PowerMac G5 and FreeBSD 9.0-current: no disks?

Paul Mather paul at gromit.dlib.vt.edu
Sun Jan 23 15:14:27 UTC 2011


On Jan 22, 2011, at 6:38 PM, Torfinn Ingolfsen wrote:

> Hi,
> 
> Nathan's BSDinstaller snapshot[1] for PowerPC is the first image that I have managed to 
> boot on my PowerMac G5[2]. This made it possible for me to get dmesg output from
> the machine, see the FreeBSD page[3].
> When I am looking at the the dmesg, I can see that the hard drive isn't detected. Partial output:
> atapci0: <ServerWorks K2 SATA150 controller> mem 0x80600000-0x80601fff irq 256 at device 12.0 on pci6
> ata2: <ATA channel 0> on atapci0
> ata3: <ATA channel 1> on atapci0
> ata4: <ATA channel 2> on atapci0
> ata5: <ATA channel 3> on atapci0
> atapci1: <ServerWorks K2 SATA150 controller> at device 12.1 on pci6
> pcib1: failed to reserve resource for atapci1
> atapci1: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffff).
> atapci1: unable to map interrupt
> device_attach: atapci1 attach returned 6

Is the hard drive not detected every boot?  FWIW, on the Xserve G5 I run FreeBSD/powerpc64 9-CURRENT on, sometimes during boot the hard (ad0) drive will fail to be probed and hence the system will fail to find and mount the root file system.  However, if I drop to the debugger and issue a "reboot" at that point then on the subsequent boot the hard drive will usually be probed correctly and the system will boot fully.  (Sometimes I have to iterate this a few times, but eventually the hard drive is probed and the system can boot.)

My dmesg output is almost identical to the one you have above:

atapci0: <ServerWorks K2 SATA150 controller> mem 0x80600000-0x80601fff irq 256 at device 12.0 on pci8
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
atapci1: <ServerWorks K2 SATA150 controller> at device 12.1 on pci8
pcib1: failed to reserve resource for atapci1
atapci1: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff).
atapci1: unable to map interrupt
device_attach: atapci1 attach returned 6

It would be nice if the hard drive probed reliably every time, because as it stands it makes remote restarts a bit of a crap shoot.

Cheers,

Paul.



More information about the freebsd-ppc mailing list