Re: So close I can taste it: mol-0.9.40 on 603 machine


Subject: Re: So close I can taste it: mol-0.9.40 on 603 machine
From: Keith Clayton (kclayton@jps.net)
Date: Fri Feb 11 2000 - 10:15:03 MST


Alright . . progress. I'm at work now but I'll be hacking away
tonight. I'll see if I can make any more progress too. You're right .
. we're so close we can taste it . . I'm going to play around with
console vs. xwindow and see what I can come up with

I'll write with my successes or failures

Keith Clayton
kclayton@jps.net

Ed Jaeger wrote:
>
> I recompiled the kernel, turning off module versions, rather than adding
> the module version to the mol code.
>
> OH MY GOD IT ALMOST WORKS!
>
> See the following:
>
> Script started on Fri Feb 11 08:25:38 2000
> [ed_j@laura ed_j]$ startmol
> Using MOL library directory /usr/lib/mol
> Trying to load the Mac-on-Linux kernel module.
>
> The Mac-on-Linux kernel module is not loaded. Please run 'startmol' as root
> [ed_j@laura ed_j]$ su -
> Password:
> [root@laura /root]# startmol
> Using MOL library directory /usr/lib/mol
> Trying to load the Mac-on-Linux kernel module.
>
> Removing stale lockfile /var/lock/mol
> Mac-on-Linux 0.9.40
> (C) 1997-2000 Samuel Rydh, <samuel@ibrium.se>
> Using resource file '/etc/molrc'
> MOL kernel module 1.1.40
> Loading OF device tree from 'oftrees/oftree.powerbase.200'
> 64MB RAM mapped at 0x20000000
> 4096K ROM mapped at 0x4fc00000 from 'rom/rom.pb200'
> ROM checksum = 0xf9
> Running in PowerPC 604 mode
> DEC frequency: 0x00989680 (10 MHx), 1000:100 mticks/usec
> PCI-bridge 'bandit' (bus 0..0) installed at 0xf2000000
> OHare, (0:16) found
> Using nvram-image 'nvram/nvram.8500.image'
> Swim3 floppy driver installed
> xvideo: Could not connect to X server
> Video module 'xvideo' not installed.
> Running on VT 8.
> Using adb mouse on /dev/adbmouse
> Video module 'console_video' installed.
> MODE: 640*480, depth 8,15,32, 59.9 Hz
> MODE: 640*480, depth 8,15,32, 72.1 Hz
> MODE: 640*480, depth 8,15,32, 74.9 Hz
> MODE: 640*480, depth 8,15,32, 89.9 Hz
> MODE: 640*480, depth 8,15,32, 99.7 Hz
> MODE: 800*600, depth 8,15,32, 56.2 Hz
> MODE: 800*600, depth 8,15,32, 60.3 Hz
> MODE: 800*600, depth 8,15,32, 70.0 Hz
> MODE: 800*600, depth 8,15,32, 72.1 Hz
> MODE: 800*600, depth 8,15,32, 74.9 Hz
> MODE: 800*600, depth 8,15,32, 89.9 Hz
> MODE: 800*600, depth 8,15,32, 99.9 Hz
> MODE: 1024*768, depth 8,15, 60.0 Hz
> MODE: 1024*768, depth 8,15, 70.0 Hz
> MODE: 1024*768, depth 8,15, 75.0 Hz
> MODE: 1152*864, depth 8,15, 59.9 Hz
> MODE: 1280*1024, depth 8, 60.0 Hz
> No video mode match the default one.
> Starting in video mode 640*480, depth 8, 59.9 Hz [offs:0, rb:640]
> Autoswitching to console
> osi_enet: Attached to network interface <eth0>
> osi_enet: Ethernet address is: 00 00 c5 53 55 ce
> osi_scsi: *** OSI SCSI DISABLED **
> MESH SCSI-driver installed (IRQs 12/12)
>
> HFS disk: 1995 MB, /dev/hda5 [read-only]
>
> SCSI-Disk (hw-0): 0 MB
>
> Starting emulation...
>
> --- At this ppoint it switches to VT8, which is blank.
> --- After a few minutes I switch back to VT7 & ^C
>
> Signal INT
> One more to kill emulator
> cleaning up...
> Terminating threads...
> thread 'SWIM-thread' is active!
> DONE
>
> [root@laura /root]#
> [root@laura /root]# logout
>
> --- Back as regular user, I set the DISPLAY variable & try again....
>
> [ed_j@laura ed_j]$ export DISPLAY=laura:0.0
> [ed_j@laura ed_j]$ startmol
> Using MOL library directory /usr/lib/mol
> Mac-on-Linux 0.9.40
> (C) 1997-2000 Samuel Rydh, <samuel@ibrium.se>
> Using resource file '/etc/molrc'
> MOL kernel module 1.1.40
> Loading OF device tree from 'oftrees/oftree.powerbase.200'
> 64MB RAM mapped at 0x20000000
> 4096K ROM mapped at 0x4fc00000 from 'rom/rom.pb200'
> ROM checksum = 0xf9
> Running in PowerPC 604 mode
> DEC frequency: 0x00989680 (10 MHx), 1000:100 mticks/usec
> PCI-bridge 'bandit' (bus 0..0) installed at 0xf2000000
> OHare, (0:16) found
> Using nvram-image 'nvram/nvram.8500.image'
> Swim3 floppy driver installed
> Video module 'xvideo' installed.
> Running on VT 8.
> Using adb mouse on /dev/adbmouse
> Video module 'console_video' installed.
> MODE: 640*480, depth 8,15,32, 59.9 Hz
> MODE: 640*480, depth 8,15,32, 72.1 Hz
> MODE: 640*480, depth 8,15,32, 74.9 Hz
> MODE: 640*480, depth 8,15,32, 89.9 Hz
> MODE: 640*480, depth 8,15,32, 99.7 Hz
> MODE: 800*600, depth 8,15,32, 56.2 Hz
> MODE: 800*600, depth 8,15,32, 60.3 Hz
> MODE: 800*600, depth 8,15,32, 70.0 Hz
> MODE: 800*600, depth 8,15,32, 72.1 Hz
> MODE: 800*600, depth 8,15,32, 74.9 Hz
> MODE: 800*600, depth 8,15,32, 89.9 Hz
> MODE: 800*600, depth 8,15,32, 99.9 Hz
> MODE: 1024*768, depth 8,15, 60.0 Hz
> MODE: 1024*768, depth 8,15, 70.0 Hz
> MODE: 1024*768, depth 8,15, 75.0 Hz
> MODE: 1152*864, depth 8,15, 59.9 Hz
> MODE: 1280*1024, depth 8,15, 60.0 Hz
> MODE: 1600*1200, depth 8,15, 0.0 Hz
> No video mode match the default one.
> Starting in video mode 640*480, depth 8, 59.9 Hz [offs:0, rb:640]
> osi_enet: Attached to network interface <eth0>
> osi_enet: Ethernet address is: 00 00 c5 53 55 ce
> osi_scsi: *** OSI SCSI DISABLED **
> MESH SCSI-driver installed (IRQs 12/12)
>
> HFS disk: 1995 MB, /dev/hda5 [read-only]
>
> SCSI-Disk (hw-0): 0 MB
>
> Starting emulation...
>
> --- At this point I get a 640x480 window on my 1152x870 X server.
> --- The window is titled "Mac-on-Linux (Slow Video)"
> --- But it remains black. After about 5 minutes I try to kill it w/^C
>
> /usr/bin/startmol: kill: (720) - Not owner
> /usr/bin/startmol: kill: (720) - Not owner
> /usr/bin/startmol: kill: (720) - Not owner
> /usr/bin/startmol: kill: (720) - Not owner
> /usr/bin/startmol: kill: (720) - Not owner
>
> --- So I kill the window.....
>
> X connection to laura:0.0 broken (explicit kill or server shutdown).
> cleaning up...
> WARNING: redraw_thread_not idle
> [ed_j@laura ed_j]$ exit
>
> Script done on Fri Feb 11 08:29:59 2000
>
> So now I need to figure out why it won't boot MacOS.Im using MacOS
> 8.1, with a ROM grabbed from the machine I'm running in. I've tried
> processor types 3, 4 and 8. My MacOS boot volume is /dev/hda5, which is
> set in /etc/molrc. I'm back in MacOS for the day, so more research will
> have to wait....
>
> Keith Clayton wrote:
> >
> > It appears that setting module versions is the problem. If I append the
> > version number to mol_interface symbol (mol_interface_Rb923c717 for me) in
> > the get_module_symbols call in init.c then the code does return a pointer
> > to the molif struct. It also gets significantly further before failing
> > with unresolved symbols for Hash, Hash_mark, handle_mm_fault
> > next_mmu_context and last_task_used_math.
> --
> Ed Jaeger, CFO, Bohlender Graebener Corporation
> ed.jaeger@bgcorp.com
> http://www.bgcorp.com
> ---
> "A man never discloses his own character so clearly as when he describes another's."
>
> -- Jean Paul Richter (1763-1825)
>
> ** Sent via the linuxppc-user mail list. See http://lists.linuxppc.org/



This archive was generated by hypermail 2a24 : Wed Mar 01 2000 - 00:06:20 MST