Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mol on 2.6.0-test9-benh5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
gino_rotormind
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2003
Posts: 79

PostPosted: Tue Nov 25, 2003 12:06 pm    Post subject: Mol on 2.6.0-test9-benh5 Reply with quote

I have successfully compiled mac-on-linux under the 2.6.0-test9-benh5 kernel running on a new Aluminium Powerbook G4 15". When I run startmol --loadonly it complains about there being no sheep.o kernel module. However, when I run startmol --test it runs through without a problem. Is this going to be an issue once I have it working properly??

When I run startmol proper, it loads nicely to the point where I have a disk on the screen with a ? in the middle. I can see no reference to this on the mol documentation or these forums describing what it means. Does it mean it can't find the ROM image under the MacOS X /System/ folder??

the output from MOL before it sits and stares at me with a disk with a ? is as follows:

Code:

Mac-on-Linux 0.9.69 Copyright (C) 1997-2003 Samuel Rydh
Starting MOL session 0
The kernel module '/usr/lib/mol/0.9.69/modules/2.6.0-test9-benh5/sheep.o' appears to be missing.
Unknown processor id (80020101).
Running in PowerPC 750 mode, 48 MB RAM
Timebase: 18.43 MHz, Bus: 73.72 MHz, Clock: 1249 MHz
Using USB mouse on /dev/input/mice
OHCI USB controller registered
Could not open '/var/lib/mol/x11.kbd'
Fullscreen video on VT 8.
Could not open '/var/lib/mol/console.kbd'
Cache enabled for console-video
Video driver(s): [xvideo] [console_video]
 
     640* 480, depth 8,15,32   { 59.9, 72.1, 74.9, 89.9, 99.7, 116.6 } Hz
     800* 600, depth 8,15,32   { 56.2, 60.3, 70.0, 72.1, 74.9, 89.9, 94.8, 99.9 } Hz
    1024* 768, depth 8,15,32   { 60.0, 70.0, 74.8, 75.0 } Hz
    1152* 768, depth 8,15,32   { 54.7 } Hz
    1280* 854, depth 8,15,32   { 0.0, 60.0 } Hz
    1152* 864, depth 8,32   { 0.0 } Hz
    1280*1024, depth 8,32   { 0.0 } Hz
    1600*1200, depth 8,32   { 0.0 } Hz
 
-----> Can't open /dev/sheep_net, please check module is present !
Failed to initialize the sheep-<eth0> device
DHCP nameserver exported: 132.234.123.1
Internet Software Consortium DHCP Server V3.0pl2
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/tun0/00:ff:73:d0:5e:95/192.168.40.0/24
Sending on   LPF/tun0/00:ff:73:d0:5e:95/192.168.40.0/24
Sending on   Socket/fallback/fallback-net
Ethernet Interface (port 1) 'tun-<tun0>' @ 00:00:0D:EA:DB:EE
MOL SCSI controller registered
 
    /dev/sg0 SCSI-<0:0:0> CD/DVD MATSHITA DVD-R   UJ-816   DXJ3
 
    SCSI /dev/cdrom  [skipped - handled as a generic SCSI device]
----> /dev/hda9 might be a boot-strap partition.
------> /dev/hda13 is linux-mounted with write privileges.
Could not open '/dev/hda13' with read-write permissions
------> /dev/hda14 is linux-mounted with write privileges.
Could not open '/dev/hda14' with read-write permissions
------> /dev/hda15 is linux-mounted with write privileges.
Could not open '/dev/hda15' with read-write permissions
------> /dev/hda16 is linux-mounted with write privileges.
Could not open '/dev/hda16' with read-write permissions
------> /dev/hda17 is linux-mounted with write privileges.
Could not open '/dev/hda17' with read-write permissions
    HFS+ /dev/hda19       MacOSX         <rw> 38158 MB
No volumes found in '/dev/hdb'
No volumes found in '/dev/sda'
No volumes found in '/dev/sdb'
 
USB device connect (1:2)
 
>> =============================================================
>> Mac-on-Linux OpenFirmware 0.9.12
>> Boot Disk: /pci/pci-bridge/mol-blk@0/disk@0:0 [HFS+]
>> Loading 'System Folder/Mac OS ROM' from 'MacOSX'
>> Timer calibration fix: 18.43 MHz [44562]
>> Starting ELF boot loader
>> =============================================================
 
AltiVec is disabled
AltiVec is disabled
+ Mouse Driver v1.0
+ Asynchronous Block Driver v1.4
+ Video Driver v1.12
+ SCSI SIM v1.03


This is a very cool app and would love to have it working properly so any help would be greatly appreciated. [/quote]
Back to top
View user's profile Send private message
joaopft
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 86
Location: Lisbon, Portugal

PostPosted: Wed Nov 26, 2003 8:29 pm    Post subject: Reply with quote

You have not provided a valid boot disk in your configuration files.
Check that you have configured mol properly. Edit the files:

/etc/mol/molrc.macos (read when you run 'startmol' -- boots Mac OS, versions 8.5 - 9.2)

/etc/mol/molrc.osx (read when you run startmol -X' -- boots Mac OS 10.0 - 10.3)

Mol reads information like the Mac OS boot partition from these files. You have to provide the necessary info. For instance my molrc.macos has the following
in the "HFS Volumes" section:

blkdev: /dev/cdrom -cd ${cdboot}

ifeq ${session} 0 {
# default configuration
blkdev: /dev/hdb12 -rw -boot
blkdev: /dev/hdb13 -rw
}

You should also set ram_size to an appropriate value and enable altivec (if
you have a G4).

I have created /dev/hdb12 (of type Apple_HFS). I could then boot mol from the cdrom, with the command:

startmol --cdboot

(I have used a MacOS 9 install disk). Formatted /dev/hdb12 and the installer takes care of putting the system in that partition.

You may use a partition where you already have Mac OS installed, but be advised things may not work that good if you have a lot of stuff running there. To be on the safe side, better use a fresh instalation and test drivers and apps with mol one by one.
Back to top
View user's profile Send private message
gino_rotormind
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2003
Posts: 79

PostPosted: Thu Nov 27, 2003 12:44 am    Post subject: Thanks Reply with quote

Thanks for the help, It begins to load os x now, however it repeatedly displays the following message on the console:

Code:

submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 2
USB device connect (1:4)
no such dev: 2
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 5
no such dev: 5
USB device connect (1:4)
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 3
USB device connect (1:4)
no such dev: 3
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 4
USB device connect (1:4)
no such dev: 4
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 6
USB device connect (1:4)
no such dev: 6
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
USB device connect (1:4)
no such dev: 2
no such dev: 2
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 5
no such dev: 5
USB device connect (1:4)
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 3
USB device connect (1:4)
no such dev: 3
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 4
no such dev: 4
USB device connect (1:4)
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 2
USB device connect (1:4)
no such dev: 2
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 5
no such dev: 5
USB device connect (1:4)
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 3
no such dev: 3
USB device connect (1:4)
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
USB device connect (1:4)
no such dev: 4
no such dev: 4
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 2
no such dev: 2
USB device connect (1:4)
submiturb: No such device
EN: 81 TYPE 2
USB disconnect
no such dev: 5
USB device connect (1:4)


Is this normal?? It appears to do it regardless of whether I have the enable_usb flag in the config commented out or not.

cheers
Back to top
View user's profile Send private message
joaopft
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 86
Location: Lisbon, Portugal

PostPosted: Thu Nov 27, 2003 7:55 pm    Post subject: Reply with quote

My instalation works OK, except for sound (doesn't have any). I am using
kernel 2.4.22-ben2, though. USB is working fine, with 6 USB devices connected!

The messages about USB I get from mol are just:

Using USB mouse on /dev/input/mice
OHCI USB controller registered
.... and ....
USB device connect (2:6)

Try disconnecting all USB devices except mouse and keyboard and then boot mol. If it works without USB errors/warnings, then you should recompile your kernel and enable support for all the USB devices you have disconnected.

I suppose your kernel has some USB support compiled in, otherwise you couldn't use mouse or keyboard. Anyway, check your kernel config. In the USB menu, you should have enabled:

<*> Support for USB
....
<*> OHCI (Compaq, iMacs,...) support
<*> USB human interface device support

Other drivers in the "USB Host Controler Drivers section" (EHCI, UHCI) are not needed, and you should not select them. Then you should enable the specific drivers for the USB devices you have (printer, scanner, ...)

Also, if you compile USB support as modules, make sure they are loaded at startup (edit /etc/modules.autoload and add there any modules you want loaded at startup).

If all this doesn't solve your problem, and your mol configuration files are OK, maybe it is an incompatibility between your version of mol and kernel 2.6. Try the newest mol you can find (even if it is masked). Also ckeck the forum in the mol site (www.maconlinux.org) for hints.

It may also be a bug in the 2.6 kernel proper. To be on the safe side here, check bugzilla and see if other people report the same problem.
Back to top
View user's profile Send private message
gino_rotormind
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2003
Posts: 79

PostPosted: Fri Nov 28, 2003 9:15 am    Post subject: Thanks dude Reply with quote

Cheers,

You hit it right on the head in that I hadn't properly set up and loaded the appropriate USB modules etc. works like a charm now and loads heaps quicker.

thanks again
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum