Can't boot MacOS 9

Andreas Schwab mol-general@lists.maconlinux.org
Mon, 07 Oct 2002 22:15:33 +0200


--=-=-=

I cannot get MOL 0.9.65 to boot MacOS 9 (which is installed together with
MacOS X on the same partition).  When I start MOL without a newworld_rom
setting it crashes:


--=-=-=
Content-Disposition: inline; filename=xx

Mac-on-Linux 0.9.65 Copyright (C) 1997-2002 Samuel Rydh
Starting MOL session 1
Config dir: /etc/mol
Data dir: /usr/local/share/mol/0.9.65
Session 1. Lockfile: /var/lock/mol-1
Debugger nub disabled
The session save/restore feature is disabled
OF device tree: oftrees/oftree.nw
Timebase frequency: 24.83 MHz
128MB RAM mapped at 0x40000000
Running in PowerPC G3 mode
Using ADB keycodes
Using nvram-image '/var/local/mol/nvram.nw'
Running on VT 8.
Using usb mouse on /dev/input/mice
Cache enabled for console-video
Video module 'console_video' installed.

MODE: 1024* 768, depth 8,15,32   { 75.0 } Hz

Starting in video mode 1024*768, depth 32, 75.0 Hz  [offs:0, rb:4096]
Ethernet Interface (port 1) 'sheep-<eth0>' @ FE:FD:DE:AD:BE:EF
DHCP nameserver exported: 10.10.0.1
Ethernet Interface (port 2) 'tun-<tun1>' @ 00:00:0D:EA:DB:EE
Using /dev/dsp for sound output

HFS  images/moldisk.i MOL                <read-only>     0 MB 
HFS+ /dev/hda9        Macintosh HD       <read-write> 5120 MB 

***** SIGNAL 11 [Segmentation fault] in thread main-thread *****
   si_signo = 11, si_errno 0, si_code 00030001, si_addr 0x2a
   Last RVEC: 0x0 (0), last OSI: 0, mac_nip FFF00100
   NIP record_key_compare + 0x0
***** Backtrace *****
   7fffd2ec: print_btrace_sym + 0x114
   7fffd30c: signal_handler + 0x100
   7fffd32c: 0x0fde87f8
   7fffd35c: 0x7fffd630
   7fffd718: 0x00000000
   7fffd758: record_find_node + 0x1e4
   7fffd7a8: record_init_key + 0x90
   7fffd7e8: blockiter_init + 0x20
   7fffd808: blockiter_skip + 0x40
   7fffd828: volume_readinbuf + 0x5c
   7fffd8d8: node_cache_close + 0x28
   7fffd908: btree_node_by_index + 0x88
   7fffd938: record_extent_key_compare + 0x24
   7fffdb90: record_find_node + 0x1e4
   7fffdbe0: record_find_key + 0x1d0
   7fffdc00: record_init_file + 0x78
   7fffde20: record_init_cnid + 0x28
   7fffde30: n_search + 0xcc
   7fffe7b0: search_files + 0x1bc
   7fffec00: close_fs + 0x40
   7ffff040: load_newworld_rom + 0x50
   7ffff140: register_disk + 0xf4
   7ffff160: determine_nw_boot_volume + 0x3c
   7ffff180: blkdev_init + 0x24
   7ffff1a0: driver_mgr_init + 0x24
   7ffff1c0: ioports_init + 0x94
   7ffff1d0: main + 0xf0
   7ffff1f0: 0x0fc22140
   7ffff220: 0x00000000
cleaning up...
Terminating threads...
DONE

--=-=-=


When I copy the ELF portion of /Systemordner/Mac OS ROM over to Linux and
use that as newworld_rom, MoL hangs:


--=-=-=
Content-Disposition: inline; filename=xx2

Mac-on-Linux 0.9.65 Copyright (C) 1997-2002 Samuel Rydh
Starting MOL session 1
Config dir: /etc/mol
Data dir: /usr/local/share/mol/0.9.65
Session 1. Lockfile: /var/lock/mol-1
Debugger nub disabled
The session save/restore feature is disabled
OF device tree: oftrees/oftree.nw
Timebase frequency: 24.83 MHz
128MB RAM mapped at 0x40000000
Running in PowerPC G3 mode
Using ADB keycodes
Using nvram-image '/var/local/mol/nvram.nw'
Running on VT 8.
Using usb mouse on /dev/input/mice
Cache enabled for console-video
Video module 'console_video' installed.

MODE: 1024* 768, depth 8,15,32   { 75.0 } Hz

Starting in video mode 1024*768, depth 32, 75.0 Hz  [offs:0, rb:4096]
Ethernet Interface (port 1) 'sheep-<eth0>' @ FE:FD:DE:AD:BE:EF
DHCP nameserver exported: 10.10.0.1
Ethernet Interface (port 2) 'tun-<tun1>' @ 00:00:0D:EA:DB:EE
Using /dev/dsp for sound output

HFS  images/moldisk.i MOL                <read-only>     0 MB 
HFS+ /dev/hda9        Macintosh HD       <read-write> 5120 MB 

Loading 'MacOSROM' 

Mapping GC at 80800000
of_canon: /pci/@d/pci-ata@1/ata-4@0/disk@0 -- ''
**** of_call_method: cmd 'get-key-map' ih: 00000001 (2/2) Args: 
*** nop_'interpret' [1,2]   401007B2
************ WARNING, phandle == 0 ***********
of_open: node '/pci/pci-bridge/MacOnLinuxVideo:0' missing
RTAS instantiated at 00004000
extra vclaim, virt: 009B1000, size 2F000
**** of_call_method: cmd 'get-key-map' ih: 00000001 (2/2) Args: 
of_open: node '/pci/@d/pci-ata@1/ata-4@0/disk@0:5,\\:bear' missing
**** of_call_method: cmd 'read' ih: 00106E58 (4/2) Args:  00000200 00116D28
*** nop_'close' [1,0]   00106E58
Replacing old translation (EA 80816000, old-phys 0081E000)
Fixing timer calibration (00008131)
********* of_quiesce *********
Signal INT
One more to kill emulator
cleaning up...
Terminating threads...
DONE

--=-=-=


I have also tried using all but the initial part upto the ELF header as
newworld_rom, and that brought me a bit further, getting the nice Mac
greeting but no more:


--=-=-=
Content-Disposition: inline; filename=xx3

Mac-on-Linux 0.9.65 Copyright (C) 1997-2002 Samuel Rydh
Starting MOL session 1
Config dir: /etc/mol
Data dir: /usr/local/share/mol/0.9.65
Session 1. Lockfile: /var/lock/mol-1
Debugger nub disabled
The session save/restore feature is disabled
OF device tree: oftrees/oftree.nw
Timebase frequency: 24.83 MHz
128MB RAM mapped at 0x40000000
Running in PowerPC G3 mode
Using ADB keycodes
Using nvram-image '/var/local/mol/nvram.nw'
Running on VT 8.
Using usb mouse on /dev/input/mice
Cache enabled for console-video
Video module 'console_video' installed.

MODE: 1024* 768, depth 8,15,32   { 75.0 } Hz

Starting in video mode 1024*768, depth 32, 75.0 Hz  [offs:0, rb:4096]
Ethernet Interface (port 1) 'sheep-<eth0>' @ FE:FD:DE:AD:BE:EF
DHCP nameserver exported: 10.10.0.1
Ethernet Interface (port 2) 'tun-<tun1>' @ 00:00:0D:EA:DB:EE
Using /dev/dsp for sound output

HFS  images/moldisk.i MOL                <read-only>     0 MB 
HFS+ /dev/hda9        Macintosh HD       <read-write> 5120 MB 

Loading 'MacOSROM.full' 

Mapping GC at 80800000
of_canon: /pci/@d/pci-ata@1/ata-4@0/disk@0 -- ''
**** of_call_method: cmd 'get-key-map' ih: 00000001 (2/2) Args: 
*** nop_'interpret' [1,2]   401007B2
************ WARNING, phandle == 0 ***********
of_open: node '/pci/pci-bridge/MacOnLinuxVideo:0' missing
extra vclaim, virt: 009B1000, size 2F000
**** of_call_method: cmd 'get-key-map' ih: 00000001 (2/2) Args: 
of_open: node '/pci/@d/pci-ata@1/ata-4@0/disk@0:5,\\:bear' missing
**** of_call_method: cmd 'read' ih: 00106E58 (4/2) Args:  00000200 00116D28
*** nop_'close' [1,0]   00106E58
Replacing old translation (EA 80816000, old-phys 0081E000)
Fixing timer calibration (00008131)
********* of_quiesce *********
<*> kOpenCommand
adb_key: buffer overflow
adb_key: buffer overflow
adb_key: buffer overflow
adb_key: buffer overflow
adb_key: buffer overflow
Signal INT
One more to kill emulator
Signal INT
One more to kill emulator
cleaning up...
Terminating threads...
DONE

--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


Note that MacOS X boots just fine in MOL.  But Classic does not work
either, because MacOS X could not find a system folder to start it from.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

--=-=-=--