On Fri, Nov 30, 2012 at 04:25:48PM -0500, Programmingkid wrote:
On Nov 30, 2012, at 4:09 PM, Amadeusz Sławiński wrote:
Current trunk (1075) lists some files and doesn't boot at all
0 2002-07-30 11:07:00 Welcome to Mac OS X\ 0 2002-07-19 08:21:48 HFS+ Private Data\
ok 0 > boot cd:9,\:tbxi call-method slw_update_keymap: exception -21
Here is also a listing of partitions on mine boot disk,
# mac-fdisk /home/amade/emu/Mac\ OS\ 10.2\ (Disc\ 1).img /home/amade/emu/Mac OS 10.2 (Disc 1).img
Command (? for help):
Two similar (to me) things which probably still need fixing in filesystem handling are
- "boot cd:,\:tbxi" should do some kind of search through partitions
- later in boot process it goes through partitions 0,1,2 seemingly from
comments on GSOC patches expecting some of them to be ignored (http://asmblr.net/scrot/2012-11-30-211915_1366x768_scrot.png) screenshot is from bios with gsoc patches
Also I wonder if "Still waiting for root device" problem which I have with gsoc patches, isn't caused by not going properly through partitions or even expecting them to be numbered differently (but those are just speculations)
Did you try out my patch I sent to the list today? It fixes the problems with dir cd:,\ not working. It also fixes boot cd:,\:tbxi.
Yes with your patch it seems to work correctly
Welcome to OpenBIOS v1.0 built on Nov 30 2012 21:37 Trying hd:,\:tbxi... Trying hd:,\ppc\bootinfo.txt... No valid state has been set by load or init-program
0 > dir cd:,\ 82 2002-07-24 17:47:43 ._Welcome to Mac OS X 6148 2002-07-31 23:59:42 .DS_Store 0 2002-07-31 23:59:37 .Trashes\ 0 2002-07-29 03:06:27 .vol\ 0 2002-07-30 10:00:25 Applications\ 0 2002-07-31 23:43:08 bin\ 5120 2002-07-31 23:59:40 Desktop DB 25410 2002-07-31 23:59:40 Desktop DF 0 2002-07-15 06:20:41 dev\ 11 2002-07-31 23:57:11 etc 0 2002-07-30 10:14:44 Library\ 11 2002-07-31 23:57:11 mach 3678188 2002-07-28 20:19:43 mach_kernel 0 2002-07-30 10:57:00 private\ 0 2002-07-31 23:41:16 sbin\ 0 2002-07-30 10:57:38 System\ 11 2002-07-31 23:58:55 tmp 0 2002-07-30 10:03:14 usr\ 11 2002-07-31 23:58:58 var 0 2002-07-29 03:06:27 Volumes\ 0 2002-07-30 11:07:00 Welcome to Mac OS X\ 0 2002-07-19 08:21:48 HFS+ Private Data\ ok 0 > boot cd:,\:tbxi call-method slw_update_keymap: exception -21
Could you take the GSOC patch, and submit it as your own patch? You seem to have the best luck with it. Remember to add this line to the email: submitted-by: Amadeusz Sławiński amade@asmblr.net. The original author told me it is ok to use his patches.
I wonder if it can be done this way, can anyone else comment on this?