Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mac Mini & 2006.0 boot: no FW or APM/ACPI, kernel Oops etc.
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
lifeless
n00b
n00b


Joined: 31 Aug 2004
Posts: 43

PostPosted: Thu Mar 09, 2006 1:15 pm    Post subject: Mac Mini & 2006.0 boot: no FW or APM/ACPI, kernel Oops e Reply with quote

I've got a late-model 1.5 GHz G4 Mac Mini. I've been toying around with the idea of installing Gentoo on an external FireWire HD (following various tutorials here and elsewhere). I burned a PPC 2006.0 minimal livecd and booted with it. The bootup succeeded as far as giving me a shell, but several problems appeared.

First off, the firewire HD is not recognized at all. There's also a kernel Oops after the startup scripts try to identify the processor: it gets as far as saying "Processor 0 is" and then just dumps, but continues booting until the end. ACPI is not enabled, nor is APM. dmesg has tons of "IN from bad port xxx at (hex)" messages I've never seen before.

Also, trying to select the keymap doesn't work, at least for keymap 15 (Finnish). An error message indicating that a file was not found follows, but I didn't think to include it here. I've seen similar behaviour with livecd's in the past. It's not that bad, though, it just reverts to the default US layout, and I'll get by with it.

Here are various dumps and listings to facilitate debugging, let me know if you need more.

lsmod:

Code:

Module                  Size  Used by
sungem                 33860  0
sungem_phy              9728  1 sungem
airport                 6112  0
orinoco                42260  1 airport
hermes                  7744  2 airport,orinoco
uninorth_agp            9064  1
agpgart                31776  1 uninorth_agp
ohci1394               36020  0
ieee1394               99160  1 ohci1394,[permanent]



lspci -v:

Code:

00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
   Flags: bus master, 66MHz, medium devsel, latency 16
   Capabilities: [80] AGP version 1.0

00:10.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200] (rev 01) (prog-if 00 [VGA])
   Subsystem: ATI Technologies Inc RV280 [Radeon 9200]
   Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 48
   Memory at 98000000 (32-bit, prefetchable) [size=128M]
   I/O ports at f0000400 [size=256]
   Memory at 90000000 (32-bit, non-prefetchable) [size=64K]
   Expansion ROM at f1000000 [size=128K]
   Capabilities: [58] AGP version 2.0
   Capabilities: [50] Power Management version 2

0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
   Flags: bus master, 66MHz, medium devsel, latency 16

0001:10:12.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
   Subsystem: Apple Computer Inc. Unknown device 4318
   Flags: bus master, fast devsel, latency 16, IRQ 52
   Memory at 80084000 (32-bit, non-prefetchable) [disabled] [size=8K]

0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
   Flags: bus master, medium devsel, latency 16
   Memory at 80000000 (32-bit, non-prefetchable) [size=512K]

0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB (prog-if 10 [OHCI])
   Flags: medium devsel

0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB (prog-if 10 [OHCI])
   Flags: medium devsel

0001:10:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB (prog-if 10 [OHCI])
   Flags: bus master, medium devsel, latency 16, IRQ 29
   Memory at 80083000 (32-bit, non-prefetchable) [size=4K]

0001:10:1b.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
   Subsystem: NEC Corporation USB
   Flags: bus master, medium devsel, latency 16, IRQ 63
   Memory at 80082000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [40] Power Management version 2

0001:10:1b.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
   Subsystem: NEC Corporation USB
   Flags: bus master, medium devsel, latency 16, IRQ 63
   Memory at 80081000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [40] Power Management version 2

0001:10:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI])
   Subsystem: NEC Corporation USB 2.0
   Flags: bus master, medium devsel, latency 16, IRQ 63
   Memory at 80080000 (32-bit, non-prefetchable) [size=256]
   Capabilities: [40] Power Management version 2

0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
   Flags: bus master, 66MHz, medium devsel, latency 16

0002:20:0d.0 Class ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100
   Flags: bus master, medium devsel, latency 32, IRQ 39
   Memory at f5004000 (32-bit, non-prefetchable) [size=16K]

0002:20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2 FireWire (rev 81) (prog-if 10 [OHCI])
   Subsystem: Apple Computer Inc. iBook G4 2004
   Flags: bus master, medium devsel, latency 64, IRQ 40
   Memory at f5000000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [44] Power Management version 2

0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM) (rev 80)
   Flags: bus master, 66MHz, slow devsel, latency 16, IRQ 41
   Memory at f5200000 (32-bit, non-prefetchable) [size=2M]
   Expansion ROM at f5100000 [disabled] [size=1M]



mac-fdisk -l (no FireWire HD, or /dev/sda, in sight)

Code:

/dev/hda
        #                    type name                  length   base      ( size )  system
/dev/hda1     Apple_partition_map Apple                     63 @ 1         ( 31.5k)  Partition map
/dev/hda2              Apple_Free                       262144 @ 64        (128.0M)  Free space
/dev/hda3               Apple_HFS Untitled           156039270 @ 262208    ( 74.4G)  HFS
/dev/hda4              Apple_Free                           10 @ 156301478 (  5.0k)  Free space

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

/dev/hdb
        #                    type name                length   base    ( size )  system
/dev/hdb1     Apple_partition_map Apple                    2 @ 1       (  1.0k)  Partition map
/dev/hdb2               Apple_HFS Gentoo Linux 2006.0 PPC  105560 @ 16      ( 51.5M)  HFS

Block size=512, Number of Blocks=105576
DeviceType=0x1, DeviceId=0x1



And finally, /var/log/messages, which seemed more complete than just the dmesg output (which was a bit truncated at the top):

Code:

Mar  9 12:30:59 livecd syslog-ng[4960]: syslog-ng version 1.6.8 starting
Mar  9 12:30:59 livecd syslog-ng[4960]: Changing permissions on special file /dev/tty12
Mar  9 12:30:59 livecd m bad port 338 at c0258950
Mar  9 12:30:59 livecd IN from bad port 338 at c0258950
Mar  9 12:30:59 livecd IN from bad port 338 at c0258950

( ... that error message repeated over 300(!) times ... )

Mar  9 12:30:59 livecd mesh: configured for synchronous 5 MB/s
Mar  9 12:30:59 livecd usbmon: debugfs is not available
Mar  9 12:30:59 livecd PCI: Enabling device 0001:10:1b.2 (0004 -> 0006)
Mar  9 12:30:59 livecd ehci_hcd 0001:10:1b.2: EHCI Host Controller
Mar  9 12:30:59 livecd ehci_hcd 0001:10:1b.2: new USB bus registered, assigned bus number 1
Mar  9 12:30:59 livecd ehci_hcd 0001:10:1b.2: irq 63, io mem 0x80080000
Mar  9 12:30:59 livecd ehci_hcd 0001:10:1b.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
Mar  9 12:30:59 livecd hub 1-0:1.0: USB hub found
Mar  9 12:30:59 livecd hub 1-0:1.0: 5 ports detected
Mar  9 12:30:59 livecd ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Mar  9 12:30:59 livecd Apple USB OHCI 0001:10:18.0 disabled by firmware
Mar  9 12:30:59 livecd Apple USB OHCI 0001:10:19.0 disabled by firmware
Mar  9 12:30:59 livecd PCI: Enabling device 0001:10:1a.0 (0000 -> 0002)
Mar  9 12:30:59 livecd ohci_hcd 0001:10:1a.0: OHCI Host Controller
Mar  9 12:30:59 livecd ohci_hcd 0001:10:1a.0: new USB bus registered, assigned bus number 2
Mar  9 12:30:59 livecd ohci_hcd 0001:10:1a.0: irq 29, io mem 0x80083000
Mar  9 12:30:59 livecd hub 2-0:1.0: USB hub found
Mar  9 12:30:59 livecd hub 2-0:1.0: 2 ports detected
Mar  9 12:30:59 livecd PCI: Enabling device 0001:10:1b.0 (0000 -> 0002)
Mar  9 12:30:59 livecd ohci_hcd 0001:10:1b.0: OHCI Host Controller
Mar  9 12:30:59 livecd ohci_hcd 0001:10:1b.0: new USB bus registered, assigned bus number 3
Mar  9 12:30:59 livecd ohci_hcd 0001:10:1b.0: irq 63, io mem 0x80082000
Mar  9 12:30:59 livecd usb 1-2: new high speed USB device using ehci_hcd and address 2
Mar  9 12:30:59 livecd hub 3-0:1.0: USB hub found
Mar  9 12:30:59 livecd hub 3-0:1.0: 3 ports detected
Mar  9 12:30:59 livecd PCI: Enabling device 0001:10:1b.1 (0000 -> 0002)
Mar  9 12:30:59 livecd ohci_hcd 0001:10:1b.1: OHCI Host Controller
Mar  9 12:30:59 livecd ohci_hcd 0001:10:1b.1: new USB bus registered, assigned bus number 4
Mar  9 12:30:59 livecd ohci_hcd 0001:10:1b.1: irq 63, io mem 0x80081000
Mar  9 12:30:59 livecd hub 4-0:1.0: USB hub found
Mar  9 12:30:59 livecd hub 4-0:1.0: 2 ports detected
Mar  9 12:30:59 livecd hub 1-2:1.0: USB hub found
Mar  9 12:30:59 livecd hub 1-2:1.0: 4 ports detected
Mar  9 12:30:59 livecd USB Universal Host Controller Interface driver v2.3
Mar  9 12:30:59 livecd usbcore: registered new driver hiddev
Mar  9 12:30:59 livecd usb 2-1: new full speed USB device using ohci_hcd and address 2
Mar  9 12:30:59 livecd input: HID 05ac:1000 as /class/input/input2
Mar  9 12:30:59 livecd input: USB HID v1.11 Keyboard [HID 05ac:1000] on usb-0001:10:1a.0-1
Mar  9 12:30:59 livecd drivers/usb/input/hid-core.c: couldn't find an input interrupt endpoint
Mar  9 12:30:59 livecd usbcore: registered new driver usbhid
Mar  9 12:30:59 livecd drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Mar  9 12:30:59 livecd usbcore: registered new driver appletouch
Mar  9 12:30:59 livecd i2c /dev entries driver
Mar  9 12:30:59 livecd NET: Registered protocol family 2
Mar  9 12:30:59 livecd IP route cache hash table entries: 65536 (order: 6, 262144 bytes)
Mar  9 12:30:59 livecd TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
Mar  9 12:30:59 livecd TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
Mar  9 12:30:59 livecd TCP: Hash tables configured (established 262144 bind 65536)
Mar  9 12:30:59 livecd TCP reno registered
Mar  9 12:30:59 livecd TCP bic registered
Mar  9 12:30:59 livecd NET: Registered protocol family 1
Mar  9 12:30:59 livecd NET: Registered protocol family 17
Mar  9 12:30:59 livecd Freeing unused kernel memory: 200k init
Mar  9 12:30:59 livecd usb 1-2.1: new full speed USB device using ehci_hcd and address 3
Mar  9 12:30:59 livecd hub 1-2.1:1.0: USB hub found
Mar  9 12:30:59 livecd hub 1-2.1:1.0: 4 ports detected
Mar  9 12:30:59 livecd usb 1-2.1.2: new low speed USB device using ehci_hcd and address 4
Mar  9 12:30:59 livecd input: Logitech USB Receiver as /class/input/input3
Mar  9 12:30:59 livecd input: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0001:10:1b.2-2.1.2
Mar  9 12:30:59 livecd input: Logitech USB Receiver as /class/input/input4
Mar  9 12:30:59 livecd input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0001:10:1b.2-2.1.2
Mar  9 12:30:59 livecd usb 1-2.1.3: new low speed USB device using ehci_hcd and address 5
Mar  9 12:30:59 livecd input: Justcom Technology USB KVM Switch as /class/input/input5
Mar  9 12:30:59 livecd input: USB HID v1.10 Keyboard [Justcom Technology USB KVM Switch] on usb-0001:10:1b.2-2.1.3
Mar  9 12:30:59 livecd input: Justcom Technology USB KVM Switch as /class/input/input6
Mar  9 12:30:59 livecd input: USB HID v1.10 Mouse [Justcom Technology USB KVM Switch] on usb-0001:10:1b.2-2.1.3
Mar  9 12:30:59 livecd VFS: Can't find ext3 filesystem on dev hda.
Mar  9 12:30:59 livecd VFS: Can't find an ext2 filesystem on dev hda.
Mar  9 12:30:59 livecd SQUASHFS error: Can't find a SQUASHFS superblock on hda
Mar  9 12:30:59 livecd Unable to identify CD-ROM format.
Mar  9 12:30:59 livecd XFS: bad magic number
Mar  9 12:30:59 livecd XFS: SB validate failed
Mar  9 12:30:59 livecd VFS: Can't find ext3 filesystem on dev hda1.
Mar  9 12:30:59 livecd VFS: Can't find an ext2 filesystem on dev hda1.
Mar  9 12:30:59 livecd SQUASHFS error: Can't find a SQUASHFS superblock on hda1
Mar  9 12:30:59 livecd attempt to access beyond end of device
Mar  9 12:30:59 livecd hda1: rw=0, want=66, limit=63
Mar  9 12:30:59 livecd isofs_fill_super: bread failed, dev=hda1, iso_blknum=16, block=32
Mar  9 12:30:59 livecd XFS: bad magic number
Mar  9 12:30:59 livecd XFS: SB validate failed
Mar  9 12:30:59 livecd VFS: Can't find ext3 filesystem on dev hda2.
Mar  9 12:30:59 livecd VFS: Can't find an ext2 filesystem on dev hda2.
Mar  9 12:30:59 livecd SQUASHFS error: Can't find a SQUASHFS superblock on hda2
Mar  9 12:30:59 livecd Unable to identify CD-ROM format.
Mar  9 12:30:59 livecd XFS: bad magic number
Mar  9 12:30:59 livecd XFS: SB validate failed
Mar  9 12:30:59 livecd VFS: Can't find ext3 filesystem on dev hda3.
Mar  9 12:30:59 livecd VFS: Can't find an ext2 filesystem on dev hda3.
Mar  9 12:30:59 livecd SQUASHFS error: Can't find a SQUASHFS superblock on hda3
Mar  9 12:30:59 livecd Unable to identify CD-ROM format.
Mar  9 12:30:59 livecd XFS: bad magic number
Mar  9 12:30:59 livecd XFS: SB validate failed
Mar  9 12:30:59 livecd VFS: Can't find ext3 filesystem on dev hda4.
Mar  9 12:30:59 livecd VFS: Can't find an ext2 filesystem on dev hda4.
Mar  9 12:30:59 livecd SQUASHFS error: Can't find a SQUASHFS superblock on hda4
Mar  9 12:30:59 livecd attempt to access beyond end of device
Mar  9 12:30:59 livecd hda4: rw=0, want=66, limit=10
Mar  9 12:30:59 livecd isofs_fill_super: bread failed, dev=hda4, iso_blknum=16, block=32
Mar  9 12:30:59 livecd XFS: bad magic number
Mar  9 12:30:59 livecd XFS: SB validate failed
Mar  9 12:30:59 livecd VFS: Can't find ext3 filesystem on dev hdb.
Mar  9 12:30:59 livecd VFS: Can't find an ext2 filesystem on dev hdb.
Mar  9 12:30:59 livecd SQUASHFS error: Can't find a SQUASHFS superblock on hdb
Mar  9 12:30:59 livecd ISO 9660 Extensions: Microsoft Joliet Level 3
Mar  9 12:30:59 livecd Unable to load NLS charset utf8
Mar  9 12:30:59 livecd Unable to load NLS charset utf8
Mar  9 12:30:59 livecd ISO 9660 Extensions: RRIP_1991A

( ... and now the FireWire weirdness, followed by the Oops ... )
Mar  9 12:31:01 livecd ieee1394: Initialized config rom entry `ip1394'
Mar  9 12:31:01 livecd ohci1394: $Rev: 1313 $ Ben Collins <bcollins@debian.org>
Mar  9 12:31:01 livecd PCI: Enabling device 0002:20:0e.0 (0000 -> 0002)
Mar  9 12:31:01 livecd ohci1394: fw-host0: Unexpected PCI resource length of 101!
Mar  9 12:31:01 livecd __ioremap(): phys addr 00000000 is RAM lr f107196c
Mar  9 12:31:01 livecd ohci1394: Failed to remap registers - card not accessible
Mar  9 12:31:01 livecd Oops: kernel access of bad area, sig: 11 [#1]
Mar  9 12:31:01 livecd SMP NR_CPUS=8
Mar  9 12:31:01 livecd NIP: 7C0803A4 LR: C0049214 SP: EF6A7EB0 REGS: ef6a7e00 TRAP: 0400    Not tainted
Mar  9 12:31:01 livecd MSR: 40009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
Mar  9 12:31:01 livecd TASK = ef490d90[5023] 'modprobe' THREAD: ef6a6000
Mar  9 12:31:01 livecd Last syscall: 129  CPU: 0
Mar  9 12:31:01 livecd GPR00: 7C0803A6 EF6A7EB0 EF490D90 00000000 C0482A20 FFFFFFC0 C0DEDA98 0000000E
Mar  9 12:31:01 livecd GPR08: 00200200 C0370000 C04162B4 C0400000 00000000 1001E288 00000000 00000000
Mar  9 12:31:01 livecd GPR16: 00000001 00000000 00000000 10017128 00000000 00000000 00000008 10001178
Mar  9 12:31:01 livecd GPR24: 00000000 00000000 10017144 C0370000 00000080 00000000 F1075B00 C0374040
Mar  9 12:31:01 livecd NIP [7c0803a4] 0x7c0803a4
Mar  9 12:31:01 livecd LR [c0049214] sys_delete_module+0x23c/0x2b0
Mar  9 12:31:01 livecd Call trace:
Mar  9 12:31:01 livecd [c000476c] ret_from_syscall+0x0/0x4c

(... line break for clarity ... )

Mar  9 12:31:02 livecd orinoco 0.15rc3 (David Gibson <hermes@gibson.dropbear.id.au>, Pavel Roskin <proski@gnu.org>, et al)
Mar  9 12:31:02 livecd airport 0.15rc3 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
Mar  9 12:31:02 livecd ieee1394.agent[5020]: ... no drivers for IEEE1394 product 0x/0x/0x
Mar  9 12:31:02 livecd Linux agpgart interface v0.101 (c) Dave Jones
Mar  9 12:31:02 livecd agpgart: Detected Apple UniNorth 2 chipset
Mar  9 12:31:02 livecd agpgart: configuring for size idx: 4
Mar  9 12:31:02 livecd agpgart: AGP aperture is 16M @ 0x0
Mar  9 12:31:02 livecd orinoco 0.15rc3 (David Gibson <hermes@gibson.dropbear.id.au>, Pavel Roskin <proski@gnu.org>, et al)
Mar  9 12:31:02 livecd airport 0.15rc3 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)

( ... I wonder about these two ...)
Mar  9 12:31:03 livecd rc-scripts: Not Loading APM Bios support ...
Mar  9 12:31:03 livecd rc-scripts: Not Loading ACPI support ...

Mar  9 12:31:04 livecd hda: Enabling Ultra DMA 5
Mar  9 12:31:04 livecd hdb: Enabling Ultra DMA 2
Mar  9 12:31:10 livecd sungem.c:v0.98 8/24/03 David S. Miller (davem@redhat.com)
Mar  9 12:31:10 livecd PHY ID: 4061e4, addr: 0
Mar  9 12:31:10 livecd eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:11:24:e4:d7:58
Mar  9 12:31:10 livecd eth0: Found BCM5221 PHY
Mar  9 12:31:14 livecd eth0: Link is up at 10 Mbps, half-duplex.
Mar  9 12:31:14 livecd eth0: Pause is disabled
Mar  9 12:31:17 livecd pbbuttonsd: ERROR: Can't open mixer device [/dev/mixer]. No such file or directory
Mar  9 12:31:17 livecd pbbuttonsd: INFO: Soundsystem requested: OSS and at least activated: none.
Mar  9 12:31:17 livecd pbbuttonsd: INFO: saving of config enabled to /etc/pbbuttonsd.conf.
Mar  9 12:31:17 livecd pbbuttonsd: INFO: pbbuttonsd 0.7.2: Wow, later than an Titanium! ;-) (PMU version: 85)
Mar  9 12:31:18 livecd pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' launched and exited normally

( ... and a helping of these two error messages, ad nauseam, and their numbers grow steadily after logging in and using the system ...)

Mar  9 12:31:28 livecd IN from bad port 61 at c01ff2cc
Mar  9 12:31:28 livecd IN from bad port 61 at c01ff334


Disconnecting and reconnecting the FireWire drive has no effect. It does work inside Mac OS X, so it shouldn't be a hardware problem. The drive is a 2.5" 40G Seagate Momentus, the enclosure is a Mapower FireWire enclosure, recognized by Mac OS X as a Genesys device.

So there. Any ideas where to begin unraveling this mess?-)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Mar 09, 2006 7:42 pm    Post subject: Reply with quote

Did you boot with ppc32 dofirewire?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
lifeless
n00b
n00b


Joined: 31 Aug 2004
Posts: 43

PostPosted: Fri Mar 10, 2006 7:08 am    Post subject: Reply with quote

nixnut wrote:
Did you boot with ppc32 dofirewire?


Yes, and also without it. Same result both times. I also added doscsi just in case (since the FW HD would appear as an SCSI drive of sorts).
Back to top
View user's profile Send private message
lifeless
n00b
n00b


Joined: 31 Aug 2004
Posts: 43

PostPosted: Mon Mar 13, 2006 9:20 am    Post subject: Reply with quote

Bump. Anyone out there with a Mac Mini? What results have you had, and with what livecd versions?

Ubuntu's PPC livecd seems to work better, I might have to attempt installing Gentoo using it. Still, this is curious, I've found no mention of similar problems anywhere else.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Mar 13, 2006 8:33 pm    Post subject: Reply with quote

Does the firewire panic happen if you boot with the firewire drive not plugged in? If not, can you then plug it in after booting successfully? If so, have you tried removing the firewire modules and inserting them again (with modprobe)?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
lifeless
n00b
n00b


Joined: 31 Aug 2004
Posts: 43

PostPosted: Tue Mar 14, 2006 1:25 pm    Post subject: Reply with quote

JoseJX wrote:
Does the firewire panic happen if you boot with the firewire drive not plugged in? If not, can you then plug it in after booting successfully? If so, have you tried removing the firewire modules and inserting them again (with modprobe)?


The panic happens identically even without the drive plugged in, so no point in trying any further.

I find it odd that the dmesg output shows it after the FireWire bit, but it gets printed after "Processor 0 is" in the init process.

I booted into Ubuntu's PPC livecd, and everything works great, the FireWire HD is detected and mounted, etc. I'll try the Gentoo installation from here.

At the moment it seems like the 2006.0 PPC minimal livecd is quite simply broken. If the devs want more debugging dumps or the like, just tell me what to get.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Mar 14, 2006 1:41 pm    Post subject: Reply with quote

It works just fine for me, I actually created the PPC GRP on a FW installation that I did with the 2006.0 minimal liveCD, but this was with an iBook.

I'm not sure why you say that it's not worth trying any further, you didn't try removing the firewire modules and inserting them again like I suggested. Perhaps if you try turning off the device autodetect, that may help.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
lifeless
n00b
n00b


Joined: 31 Aug 2004
Posts: 43

PostPosted: Thu Mar 16, 2006 8:59 am    Post subject: Reply with quote

JoseJX wrote:
I'm not sure why you say that it's not worth trying any further, you didn't try removing the firewire modules and inserting them again like I suggested. Perhaps if you try turning off the device autodetect, that may help.


Not worth trying mainly because I've already got a livecd that works without further head-scratching (the Ubuntu one), so it's become a non-issue for me, and no one else has yet chimed in with a similar problem description. Indeed, I managed a successful Gentoo installation on the external drive using the Ubuntu CD, so this thread has pretty much served its purpose, at least until someone else runs into the same problem, in which case I suggest they try another Gentoo livecd version or opt for the Ubuntu CD to solve it.

The only "manual correction" to the booted Ubuntu environment I had to do was to rmmod the sbp2 module after boot and modprobe it again with the parameters serialize_io=1 and max_speed=2 (the latter may be unnecessary, but I included it just for safety). Otherwise, write operations to the HD hung the program that did them (mke2fs, for example). However, since the Gentoo CD panicked even without the drive connected, this is probably unrelated. I've attached those parameters to the kernel image in yaboot.conf for the installed Gentoo system (with gentoo-sources 2.6.15-r1), and all seems to be running well - no panics.

All that comes to mind is that this is some specific bug in the firewire drivers (or some related driver) in the kernel included on the livecd.
Back to top
View user's profile Send private message
cybermonkey
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 194

PostPosted: Sun Mar 19, 2006 2:07 pm    Post subject: Reply with quote

lifeless wrote:
JoseJX wrote:
I'm not sure why you say that it's not worth trying any further, you didn't try removing the firewire modules and inserting them again like I suggested. Perhaps if you try turning off the device autodetect, that may help.


Not worth trying mainly because I've already got a livecd that works without further head-scratching (the Ubuntu one), so it's become a non-issue for me, and no one else has yet chimed in with a similar problem description. Indeed, I managed a successful Gentoo installation on the external drive using the Ubuntu CD, so this thread has pretty much served its purpose, at least until someone else runs into the same problem, in which case I suggest they try another Gentoo livecd version or opt for the Ubuntu CD to solve it.

The only "manual correction" to the booted Ubuntu environment I had to do was to rmmod the sbp2 module after boot and modprobe it again with the parameters serialize_io=1 and max_speed=2 (the latter may be unnecessary, but I included it just for safety). Otherwise, write operations to the HD hung the program that did them (mke2fs, for example). However, since the Gentoo CD panicked even without the drive connected, this is probably unrelated. I've attached those parameters to the kernel image in yaboot.conf for the installed Gentoo system (with gentoo-sources 2.6.15-r1), and all seems to be running well - no panics.

All that comes to mind is that this is some specific bug in the firewire drivers (or some related driver) in the kernel included on the livecd.


I have the same problem with both my mini and my dual 867. After booting from the 2005 cd, the only diff in lsmod is that the 2006 cd doesn't load the 'scsi_mod' module, whereas the 2005 does. Also to note is that with the 2006 stage 3's theres a few groups missing from /etc/group which might stump a few peeps. cron is the most obvious which causes cron to not compile aswell as games. A simple 'groupadd cron' clears it up.

I'm just finishing off a new install on me mini at the mo, But when done i'll try booting the 2006 cd and see if scsi_mod will load manually.
Back to top
View user's profile Send private message
cybermonkey
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 194

PostPosted: Sun Mar 19, 2006 3:02 pm    Post subject: Reply with quote

Ok, Got me basic system up so please excuse the errors as i'm using w3m while i do stage2 and get gnome.
I've booted from the minimal 2006 cd with various options, Such as using the default and using :
ppc32
ppc32 dofirewire
ppc32 doscsi
ppc32 dofirewire doscsi

All cannot see my 2 firewire drives but do see my USB memory card reader.
Doing a modprobe on scsi_mod say's that it cannot find the module on the CD.
As i stated above in my other reply about the missing groups, this applies to the 'ppc' & 'G4' Stage 3's


Hope this helps both users and developers iron out the bugs.
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