Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems w/ MOL on G4 Mac OS 10.3 [SOLVED]
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
cuppajoe
n00b
n00b


Joined: 07 Feb 2004
Posts: 4

PostPosted: Fri Apr 02, 2004 5:41 am    Post subject: problems w/ MOL on G4 Mac OS 10.3 [SOLVED] Reply with quote

I have limited exp. w linux, and am trying to get MOL 0.9.7_rc2-r1 to run, with Portage 2.0.50-r1 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-ben2)
I have a 15 inch Ti with about a GB of ram. I followed the install test instructions at http://maconlinux.org

When running mol as root is get this:

Code:


hurndall root # mol
Mac-on-Linux 0.9.70-rc2-gentoo -gentoo  [Mar 27 2004 19:22]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 0
Loading Mac-on-Linux kernel module:
   /usr/lib/mol/0.9.70/modules/2.4.22-ben2-noav/mol.o
Warning: loading /usr/lib/mol/0.9.70/modules/2.4.22-ben2-noav/mol.o will taint t
he kernel: forced load
  See http://www.tux.org/lkml/#export-tainted for information about tainted modu
les
Module mol loaded, with warnings
The kernel module '/usr/lib/mol/0.9.70/modules/2.4.22-ben2-noav/sheep.o' appears
 to be missing.
Loading tun driver kernel module:
   /usr/lib/mol/0.9.70/modules/2.4.22-ben2-noav/tun.o
Warning: loading /usr/lib/mol/0.9.70/modules/2.4.22-ben2-noav/tun.o will taint t
he kernel: forced load
  See http://www.tux.org/lkml/#export-tainted for information about tainted modu
les
Module tun loaded, with warnings
Running in PowerPC 7400 mode, 48 MB RAM
Timebase: 24.96 MHz, Bus: 99.86 MHz, Clock: 550 MHz
Using USB mouse on /dev/input/mice
OHCI USB controller registered
Could not open '/var/lib/mol/x11.kbd'
Video driver(s): [xvideo]

     640* 480, depth 8,32   { 0.0 } Hz
     800* 600, depth 8,32   { 0.0 } Hz
    1024* 768, depth 8,32   { 0.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

No video mode match the default one.
-----> Can't open /dev/sheep_net, please check module is present !
Failed to initialize the sheep-<eth0> device
DHCP nameserver exported: 192.168.1.10
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
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory
--
  check for failed database rewrite attempt!
Please read the dhcpd.leases manual page if you
don't know what to do about this.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
Ethernet Interface (port 1) 'tun-<tun0>' @ 00:00:0D:EA:DB:EE
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device o
r resource busy
OSS sound device unavailable (will be used anyway)
OSS sound driver
MOL SCSI controller registered


    <No SCSI Devices>

    CD   /dev/cdrom       CD-ROM         <read-only>   ------
----> /dev/hda2 might be a boot-strap partition.
    Unembedded HFS+ /dev/hda5                       <rw> 20223 MB
No volumes found in '/dev/hdb'
No volumes found in '/dev/sda'
No volumes found in '/dev/sdb'


>> =============================================================
>> Mac-on-Linux OpenFirmware 0.9.12
>> os_seek error

>> --- No bootable disk was found! -----------------------------
>> If this is an oldworld machine, try booting from the MacOS
>> install CD and install MacOS from within MOL.
>> -------------------------------------------------------------
cleaning up...
Terminating threads...
DONE
hurndall root #



My hard drive looks like this:

Code:

/dev/hda
        #  type name length base ( size )  system
dump: name /dev/hda len 8
/dev/hda1 Apple_partition_map Apple 63 @ 1( 31.5k)  Partition map
/dev/hda2 Apple_Bootstrap bootstrap1600 @ 64       (800.0k)  NewWorld bootblock
/dev/hda3 Apple_UNIX_SVR2 swap 1048576 @ 1664     (512.0M)  Linux swap
/dev/hda4 Apple_UNIX_SVR2 root 35671296 @ 1050240  ( 17.0G)  Linux native
/dev/hda5 Apple_HFS Apple_HFS_Untitled_5 41418608 @ 36721536 ( 19.7G)  HFS
/dev/hda6 Apple_Free 16 @ 78140144 (  8.0k)  Free space

Block size=512, Number of Blocks=78140160
DeviceType=0x0, DeviceId=0x0



From another forum post I read that i had to point a mol rc file to the Mac OS boot partition, which I think I did, pointing to /dev/hda2

When I start mol (by typing mol in a terminal window under KDE 3.1.4) I get the above messages scrolling by, then a glimpse of the X window starting up with the maconlinux mascot. This disappears and mol ends.

Any advice would be appreciated, as this will help me continue to learn linux by doing while still functioning in our workplace Mac OS environment.

thanks[/url]
Back to top
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Fri Apr 02, 2004 2:46 pm    Post subject: Reply with quote

Quote:
The kernel module '/usr/lib/mol/0.9.70/modules/2.4.22-ben2-noav/sheep.o' appears
to be missing.


Did you compile this module into your kernel? It appears to be a sort of ethernet device module. I'm not sure this is related to your problem, but it might be worth a shot to investigate it.

It looks like it detects both /dev/hda2 and /dev/hda5 correctly (as a boot-strap partition and an hfs+ partition). However, try telling it to use /dev/hda5 as the boot partition. It might refer to a bootable flag, not necessarily to the bootstrap partition itself. I'm not familiar with the details of MOL, however, so I could be wrong. Hope this helps.
_________________
"No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw
Back to top
View user's profile Send private message
skychum
n00b
n00b


Joined: 03 Dec 2003
Posts: 30

PostPosted: Fri Apr 02, 2004 8:18 pm    Post subject: Reply with quote

MOL doesn't work with 10.3, at least not yet. 10.2.8 will work, though. And you should probably use the tun driver, it's easier to use, but make sure you have iptables and dhcpd installed.

Also, to run mol, use the "startmol -X" command. The -X means use the load script for OSX.
Back to top
View user's profile Send private message
clar77
Apprentice
Apprentice


Joined: 02 Feb 2004
Posts: 210
Location: Charm City, MD

PostPosted: Fri Apr 02, 2004 9:29 pm    Post subject: Reply with quote

mol -X works for me with 10.3.3

Chris
Back to top
View user's profile Send private message
cuppajoe
n00b
n00b


Joined: 07 Feb 2004
Posts: 4

PostPosted: Sat Apr 03, 2004 4:06 am    Post subject: Reply with quote

I pointed /etc/mol/ molrc.osx to /dev/hda5 and it pulled up the mol X window, then a looping message began scrolling in the term window from which I ran mol:
Code:

***** Backtrace *****
   7fffef10: backtrace + 0x3c
   7fffef30: signal_handler + 0x170
   7fffef50: 0x0fd36cb0
   7fffef80: 0x7ffff2d8
   7ffff5d0: do_rvec_jump + 0x3c
   7ffff770: mainloop_start + 0xac
   7ffff790: main + 0x1b8
   7ffff7b0: 0x0fb552a4
   7ffff7f0: 0x00000000
   si_signo = 5, si_errno 0, si_code 00000000, si_addr (nil)
   Last RVEC: 0x0 (0), last OSI: 76, mac_nip 00080D10
   NIP rvec_enable_altivec + 0x8
***** Backtrace *****
   7fffef10: backtrace + 0x3c
   7fffef30: signal_handler + 0x170
   7fffef50: 0x0fd36cb0
   7fffef80: 0x7ffff2d8
   7ffff5d0: do_rvec_jump + 0x3c
   7ffff770: mainloop_start + 0xac
   7ffff790: main + 0x1b8
   7ffff7b0: 0x0fb552a4
   7ffff7f0: 0x00000000
   si_signo = 5, si_errno 0, si_code 00000000, si_addr (nil)
   Last RVEC: 0x0 (0), last OSI: 76, mac_nip 00080D10
   NIP rvec_enable_altivec + 0x8
***** Backtrace *****


thanks for the advice. I will continue to experiment.[/code]
Back to top
View user's profile Send private message
blatch
n00b
n00b


Joined: 15 Oct 2002
Posts: 59
Location: bloomington, in

PostPosted: Fri Apr 23, 2004 11:08 pm    Post subject: Reply with quote

So I MUST have a separate partition for Mac-On-Linux to run OSX?
_________________
blatch.net
Back to top
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Sat Apr 24, 2004 1:07 am    Post subject: Reply with quote

you must have a separate partition, with a filesystem that macos understands (hfs, hfs+, ufs) with os x(or whatever) installed on that partition. mac on linux isnt an emulator. it starts up os x inside linux, but it needs a valid install of the mac os to run.


killfire
Back to top
View user's profile Send private message
benoitc
n00b
n00b


Joined: 02 Aug 2003
Posts: 43
Location: Paris (France)

PostPosted: Wed Apr 28, 2004 5:15 pm    Post subject: use dd Reply with quote

You could also create an image disk with on witch you will install macosx. Slower than a relal partion but better when you have already installed linux on a full partition ;)
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