Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mac-on-Linux stalling during boot *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
mark7714
n00b
n00b


Joined: 14 Aug 2006
Posts: 39
Location: London

PostPosted: Fri Sep 07, 2007 10:23 am    Post subject: Mac-on-Linux stalling during boot *solved* Reply with quote

Hey, I'm trying to get MOL working on a new Gentoo install on my Dual-G4/533. I got it to boot OS X once, but that was off of a USB drive that I forgot to unplug (I've since wiped OS X off of it, so I can't see why it worked...). Whenever I try to boot off of the OS X partition, I have no luck.

Here is the output:

Quote:
mark@PVR ~ $ startmol -X
Mac-on-Linux 0.9.72 [Sep 6 2007 10:41]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
Loading Mac-on-Linux kernel module:
/usr/lib/mol/0.9.72/modules/2.6.21-gentoo-r4/mol.ko
Creating the /dev/net/tun device node.
Loading tun driver kernel module:
/usr/lib/mol/0.9.72/modules/2.6.21-gentoo-r4/tun.ko
Running in PowerPC 7400 mode, 96 MB RAM
Timebase: 33.29 MHz, Bus: 133.16 MHz, Clock: 533 MHz
Using USB mouse on /dev/input/mice
OHCI USB controller registered
Could not open '/var/lib/mol/x11.kbd'
Fullscreen video on VT 7.
Could not open '/var/lib/mol/console.kbd'
Video driver(s): [xvideo] [console_video]

640* 480, depth 8,15,32 { 59.9 } Hz
800* 600, depth 8,15,32 { 60.3, 70.0, 72.1, 74.9, 89.9 } Hz
800* 600, depth 8,15 { 94.8 } Hz
800* 600, depth 8,15,32 { 99.9 } Hz
1024* 768, depth 8,15,32 { 60.0, 70.0 } Hz
1024* 768, depth 8,15 { 74.8 } Hz
1024* 768, depth 8,15,32 { 75.0 } Hz
1152* 768, depth 8,15,32 { 54.7 } Hz
1152* 864, depth 8,15,32 { 59.9 } Hz
1280* 854, depth 8,15,32 { 60.0 } Hz
1440* 900, depth 8,15,32 { 0.0 } Hz
1280*1024, depth 8,15 { 0.0 } Hz
1440* 960, depth 8,15 { 0.0 } Hz
1600*1024, depth 8,15 { 0.0 } Hz
1600*1200, depth 8,15 { 0.0 } Hz
1680*1050, depth 8,15 { 0.0 } Hz

Autoswitching to console
DHCP nameserver exported: 208.67.222.222
Ethernet Interface 'tun-<tun1>' @ 00:00:0D:EA:DB:EE

ip/mask: 192.168.41.2/255.255.255.0 gw: 192.168.41.1
broadcast: 192.168.41.255 nameserver: 192.168.41.1

ALSA sound driver (device 'default')

CD /dev/cdrom CD/DVD <read-only> ------
Unembedded HFS+ /dev/hda3 <read-only> 40960 MB BOOT
----> /dev/hda2 might be a boot-strap partition.
Unembedded HFS+ /dev/hda3 <rw> 40960 MB
----> (disk_open) Device /dev/hda6 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda7 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda8 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda9 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda10 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda11 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda12 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda13 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda14 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda15 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda16 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda17 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda18 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda19 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda20 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda21 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda22 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda23 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda24 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda25 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda26 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda27 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda28 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda29 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda30 is zero length, refusing to use it.: Bad file descriptor
----> (disk_open) Device /dev/hda31 is zero length, refusing to use it.: Bad file descriptor

SCSI devices:

SCSI /dev/cdrom [CDROM/DVD driver]


>> ==================================================
>> MacOS X Boot Loader 0.9.72
>> Candidate boot volume: /mol-blk@0/disk@1:0
>> /mol-blk@0/disk@1:0,\mach_kernel (4347816 bytes)
>> Old mkext timestamp (or safe-boot)
>> Loading from /mol-blk@0/disk@1:0,\System\Library\
>> ==================================================

<*> SCSI driver v1.03
<*> IRQ vectorCanBeShared 3
<*> IRQ vectorCanBeShared 4
<*> IRQ vectorCanBeShared 2
<*> IRQ vectorCanBeShared 6
<*> Block Driver v1.1
<*> IRQ vectorCanBeShared 24


It just stalls at this point (doesn't lock - I can still ^c^c out). The booting screen is up (apple-loving-penguin) and the spinny "thinking" icon is there. It just seems to be lost in some process that it can't resolve.

Repeated "ps"s show that the load on the system slowly drops (CPU load; mem load remains the same). I've tried giving it more RAM, but no good (so I'm sticking with 96 for now, since that's how much it had when it booted off the USB drive).

I've also tried with the partition mounted and unmounted in Linux (it mounts the partition automatically at boot - this wouldn't affect anything, would it?).

I've also ensured that the OS X install is still good by booting to it.

Any ideas?

*edit*

I should also probably mention that OS X is on /dev/hda3.

And here is my molrc.osx:

Code:
# -*- perl -*- (for emacs syntax coloring)
#
#  /etc/mol/molrc.osx
#
#  Mac-on-Linux master configuration file for MacOS X booting
#


#------------------------------------------------------------------------------
# Parse other config files (these files are in /etc/mol/)
#------------------------------------------------------------------------------

include      ${etc}/molrc.video   # video configuration
include      ${etc}/molrc.input   # mouse and keyboard
include      ${etc}/molrc.net   # networking
include      ${etc}/molrc.sound   # sound


#------------------------------------------------------------------------------
# Misc Settings
#------------------------------------------------------------------------------

ram_size:      96
disable_altivec:   no


#------------------------------------------------------------------------------
# OS X Volumes
#------------------------------------------------------------------------------
#
#   Volumes to be mounted in MacOS X are specified through the
#   blkdev keyword:
#
#      blkdev:      <device>   [flags]
#
#   where <device> can be a complete disk (/dev/hda), a single
#   partition (/dev/hda7) or a disk image.
#
#   The following flags are supported
#   
#      -rw/-ro      read-write / read-only [default]
#      -force      force usage of device (be careful!)
#      -boot      boot from this disk
#      -boot1      boot from this disk (ignore other -boot flags)
#      -whole      export the entire device (including
#            any non-HFS partitions). BE CAREFUL!
#      -cd      CDROM/DVD
#
#   MOL will boot from CD if it invoked through 'startmol -X --cdboot'.

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

ifempty ${altconfig} {
    # default configuration
    blkdev:      /dev/hda   -rw
#    blkdev:      /dev/hdb   -rw
#    blkdev:      /dev/sda   -rw
#    blkdev:      /dev/sdb   -rw

} else {
    # alternate configuration
#    blkdev:      /tmp/osx.image   -rw
    #blkdev:      /dev/loop0   -rw
}


#------------------------------------------------------------------------------
# SCSI configuration (also relevant for IDE CDs and other SCSI-like devices)
#------------------------------------------------------------------------------
#
# By default, MOL automatically scans for non-harddisk type SCSI devices.
# If only specified SCSI devices are to be used by mol, change the
# the autoprobe setting below.
#
# Note: IDE, firewire and USB devices typically show up as SCSI devices.


autoprobe_scsi:      yes

# If SCSI autoprobing is disabled then devices must be exported manually

#scsi_dev:      "0:0:0"      # host/channel/id
#scsi_dev:      "1:0:0"      #



#------------------------------------------------------------------------------
# USB Configuration
#------------------------------------------------------------------------------
#
# Generic USB support. Devices that are _not_ claimed by specific
# USB drivers are seen by MOL. Note: Make sure the kernel is compiled
# with 'Preliminary USB device filesystem' support. Also, for best effect,
# turn off drivers for specific USB devices (like 'USB Scanner support').

enable_usb:      yes

#------------------------------------------------------------------------------
# PCIproxy Configuration
#------------------------------------------------------------------------------
#
# MOL can be configured to make PCI devices of the host machine available to the
# guest OS. You will have to make sure the linux kernel isn't using the device
# itself by disabling/unloading the driver (if it exists). Devices to be proxied
# have an entry here that gives the pci address as first argument and a an
# optional second argument that is a filename containing a template for the
# device tree node of the device to be proxied (MOL format, get a template by
# running the ofdump utility included in the MOL package). This template can be
# used to specify address mappings by hand, setting additional properties etc.

# enable the pciproxy module
#enable_pciproxy:   yes

# Airport Extreme (Broadcom 4320) Card (Second is with optional ofdump)
#pci_proxy_device:   0001:10:12.0
#pci_proxy_device:   0001:10:12.0 ${etc}/pci80211.dnode


Last edited by mark7714 on Fri Sep 07, 2007 10:41 am; edited 1 time in total
Back to top
View user's profile Send private message
mark7714
n00b
n00b


Joined: 14 Aug 2006
Posts: 39
Location: London

PostPosted: Fri Sep 07, 2007 10:40 am    Post subject: Reply with quote

Argh! Twice in two days I've posted for help and solved it myself.

It was my molrc.osx I think. I got rid of the force -boot on /dev/hda3 (in fact, I commented out all partition stuff except for the "if" which searches hda), and it's booted in. I'm installing the sound/network stuff now. Hopefully everything will continue to work.
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