Powermac G5 won't boot after adding a PCI Ethernet Card
Mathias Breuninger
mathias.breuninger at espace29.asso.fr
Mon Aug 27 17:23:38 UTC 2012
> > I try to boot the 9.1BETA CD but I didn't succeed (LOAD BASE error)
> >
> > Do you have any clue?
> >
>
> Do you have the error handy? If the 9.1 CDs don't boot on some
> hardware, we need to fix it before the release. The PCI probing code
> has been overhauled between 9.0 and 9.1 -- it would be very nice to see
> what 9.1 did. RC1 CDs are now available or you could try a source
> upgrade of the kernel (or just copying the kernel off the CD).
> -Nathan
> _______________________________________________
> freebsd-ppc at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe at freebsd.org"
Booting the 9.1-RC1 CD-ROM was a success. I forgot that the "C" key doesn't work for me on the G5 (it works for the G4). The G5 is a Powermac 7,2 5.1.4f0 (DP 2.O GHz, PCI-X, year 2003)
So I had to enter in Openfirmware, do a "reset-all" on cold boot (else the cd was not recognized), re-enter the Openfirmware and fire "boot cd:,\ppc\loader cd:0" (not \boot\loader as stated in the 8.1 install notes on the web)
The partitioning was done in sysinstall without a problem (APM scheme). By the way, I wonder if the GPT scheme works, I'll try later.
Otherwise, the PCI card problem was resolved by disabling the WITNESS options in the GENERIC64 kernel installed by the 9-0-RELEASE. For the G4, this option is not in the GENERIC, so it works out of the box.
I installed the GENERIC64 9.1-RC1 kernel (with 9.0-RELEASE userland). The G5 boots without any error, (but the WITNESS options are now disable in the GENERIC64 configuration).
I enabled the WITNESS AND WITNESS_KDB option in the GENERIC64 kernel. It boots without the duplicate lock of same type "rman" error, so it seems that the overhaul of the PCI probing system corrected it.
Thank you for the help and the very good work!
--
Mathias
Here is dmesg output:
> dmesg
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-RC1 #0: Thu Aug 16 00:43:39 UTC 2012
root at anacreon.physics.wisc.edu:/usr/obj/usr/src/sys/GENERIC64 powerpc
cpu0: IBM PowerPC 970 revision 2.2, 2000.30 MHz
cpu0: Features dc000000<PPC32,PPC64,ALTIVEC,FPU,MMU>
cpu0: HID0 511081<NAP,DPM,NHR,TBEN,ENATTN>
real memory = 4277272576 (4079 MB)
avail memory = 4035424256 (3848 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0: dev=ff887e10 (BSP)
cpu1: dev=ff889150
kbd0 at kbdmux0
nexus0: <Open Firmware Nexus device>
cpulist0: <Open Firmware CPU Group> on nexus0
cpu0: <Open Firmware CPU> on cpulist0
cpu1: <Open Firmware CPU> on cpulist0
powermac_nvram0: <Apple NVRAM> on nexus0
powermac_nvram0: bank0 generation 925, bank1 generation 924
unin0: <Apple UniNorth System Controller> on nexus0
unin0: Version 179
iichb0: <Keywest I2C controller> mem 0xf8001000-0xf8001fff irq 42 on unin0
iicbus0: <OFW I2C bus> on iichb0
iicbus0: <unknown card> at addr 0xca
ds17750: <Temp-Monitor DS1775> at addr 0x94 on iicbus0
max66900: <Temp-Monitor MAX6690> at addr 0x98 on iicbus0
max66901: <Temp-Monitor MAX6690> at addr 0x9c on iicbus0
iicbus0: <unknown card> at addr 0xd2
fcu0: <Apple Fan Control Unit> at addr 0x15e on iicbus0
iicbus0: <unknown card> at addr 0x30
ad74170: <Supply-Monitor AD7417> at addr 0x58 on iicbus0
ad74170: 5 sensors detected.
iicbus0: <unknown card> at addr 0xa0
iicbus0: <unknown card> at addr 0x32
ad74171: <Supply-Monitor AD7417> at addr 0x5a on iicbus0
ad74171: 5 sensors detected.
iicbus0: <unknown card> at addr 0xa2
iicbus0: <unknown card> at addr 0x1c0
htpic0: <OpenPIC Interrupt Controller> mem 0xf8040000-0xf807ffff irq 184 on unin0
pcib0: <Apple U3 Host-AGP bridge> on nexus0
pci0: <OFW PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x400-0x4ff mem 0xb0000000-0xbfffffff,0xa0000000-0xa000ffff irq 176 at device 16.0 on pci0
agp0: <Apple U3 AGP Bridge> on hostb0
pcib1: <IBM CPC9X5 HyperTransport Tunnel> on nexus0
pcib1: 4 HT IRQs on device 1.0
pcib1: 4 HT IRQs on device 2.0
pcib1: 86 HT IRQs on device 3.0
pci1: <OFW PCI bus> on pcib1
pcib2: <OFW PCI-PCI bridge> at device 1.0 on pci1
pci2: <OFW PCI bus> on pcib2
pci2: <network, ethernet> at device 3.0 (no driver attached)
pcib3: <OFW PCI-PCI bridge> at device 2.0 on pci1
pci3: <OFW PCI bus> on pcib3
pcib4: <OFW PCI-PCI bridge> at device 3.0 on pci1
pci4: <OFW PCI bus> on pcib4
macio0: <K2 KeyLargo I/O Controller> mem 0x80000000-0x8007ffff at device 7.0 on pci4
openpic0: <OpenPIC Interrupt Controller> mem 0x40000-0x7ffff on macio0
macgpio0: <MacIO GPIO Controller> mem 0x50-0x8a on macio0
scc0: <Zilog Z8530 dual channel SCC> mem 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 150,133,134,151,135,136 on macio0
uart0: <z8530, channel A> on scc0
uart1: <z8530, channel B> on scc0
iichb1: <Keywest I2C controller> mem 0x18000-0x18fff irq 154 on macio0
iicbus1: <OFW I2C bus> on iichb1
iicbus1: <unknown card> at addr 0x1c0
snapper0: <Texas Instruments TAS3004 Audio Codec> at addr 0x6a on iicbus1
pcm0: <Apple I2S Audio Controller> mem 0-0xfff,0-0xff,0x100-0x1ff irq 158,129,130 on macio0
macio0: failed to reserve resource 0 - 0x1000 (0x1000) for pcm0
device_attach: pcm0 attach returned 6
pmu0: <Apple PMU99 Controller> mem 0x16000-0x17fff irq 153 on macio0
ohci0: <OHCI (generic) USB controller> mem 0x80081000-0x80081fff irq 155 at device 8.0 on pci4
usbus0 on ohci0
ohci1: <OHCI (generic) USB controller> mem 0x80080000-0x80080fff irq 156 at device 9.0 on pci4
usbus1 on ohci1
pcib5: <OFW PCI-PCI bridge> at device 4.0 on pci1
pci5: <OFW PCI bus> on pcib5
ohci2: <NEC uPD 9210 USB controller> mem 0x80102000-0x80102fff irq 191 at device 11.0 on pci5
usbus2 on ohci2
ohci3: <NEC uPD 9210 USB controller> mem 0x80101000-0x80101fff irq 191 at device 11.1 on pci5
usbus3 on ohci3
ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0x80100000-0x801000ff irq 191 at device 11.2 on pci5
usbus4: EHCI version 1.0
usbus4 on ehci0
pcib6: <OFW PCI-PCI bridge> at device 5.0 on pci1
pci6: <OFW PCI bus> on pcib6
ata0: <K2 Kauai ATA Controller> mem 0x80204000-0x80207fff irq 167 at device 13.0 on pci6
fwohci0: <1394 Open Host Controller Interface> mem 0x80200000-0x80200fff irq 168 at device 14.0 on pci6
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:0a:95:ff:fe:a8:26:0e
fwohci0: invalid speed 7 (fixed to 3).
fwohci0: Phy 1394a available S800, 3 ports.
fwohci0: Link S800, max_rec 4096 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:0a:95:a8:26:0e
fwe0: Ethernet address: 02:0a:95:a8:26:0e
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=2, CYCLEMASTER mode
pcib7: <OFW PCI-PCI bridge> at device 6.0 on pci1
pci7: <OFW PCI bus> on pcib7
gem0: <Apple K2 GMAC Ethernet> mem 0x80400000-0x805fffff irq 169 at device 15.0 on pci7
miibus0: <MII bus> on gem0
brgphy0: <BCM54K2 1000BASE-T media interface> PHY 1 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
gem0: 10kB RX FIFO, 4kB TX FIFO
gem0: Ethernet address: 00:0a:95:a8:26:0e
pcib8: <OFW PCI-PCI bridge> at device 7.0 on pci1
pci8: <OFW PCI bus> on pcib8
atapci0: <ServerWorks K2 SATA150 controller> mem 0x80600000-0x80601fff irq 128 at device 12.0 on pci8
pcib1: failed to reserve resource for pcib8
atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff).
ata2: <ATA channel> at channel 0 on atapci0
ata3: <ATA channel> at channel 1 on atapci0
ata4: <ATA channel> at channel 2 on atapci0
ata5: <ATA channel> at channel 3 on atapci0
atapci1: <ServerWorks K2 SATA150 controller> at device 12.1 on pci8
pcib1: failed to reserve resource for pcib8
atapci1: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff).
atapci1: unable to map interrupt
device_attach: atapci1 attach returned 6
sc0: <System console> on nexus0
sc0: Unknown <16 virtual consoles, flags=0x300>
Timecounter "timebase" frequency 33333333 Hz quality 0
Event timer "decrementer" frequency 33333333 Hz quality 1000
Timecounters tick every 1.000 msec
mfirewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
firewire0: bus manager 0
ax66900: 2 sensors detected.
max66901: 2 sensors detected.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
ugen0.1: <Apple> at usbus0
uhub0: <Apple OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Apple> at usbus1
uhub1: <Apple OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
ugen2.1: <NEC> at usbus2
uhub2: <NEC OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <NEC> at usbus3
uhub3: <NEC OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
usbus4: 480Mbps High Speed USB v2.0
ugen4.1: <NEC> at usbus4
uhub4: <NEC EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 3 ports with 3 removable, self powered
uhub3: 2 ports with 2 removable, self powered
fcu0: FCU initialized, RPM shift: 3
fcu0: 7 fans detected!
uhub4: 5 ports with 5 removable, self powered
ada0 at ata2 bus 0 scbus2 target 0 lun 0
ada0: <ST3160023AS 3.05> ATA-6 SATA 1.x device
ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
ada1 at ata3 bus 0 scbus3 target 0 lun 0
ada1: <WDC WD1500HLFS-01G6U4 04.04V06> ATA-8 SATA 2.x device
ada1: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
ada1: 143089MB (293046768 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad1
SMP: AP CPU #1 launched
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0: <PIONEER DVD-RW DVR-106D A606> Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ada0s3 [rw]...
ugen2.2: <Mitsumi Electric> at usbus2
uhub5: <Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 1.10/4.10, addr 2> on usbus2
ugen3.2: <American Power Conversion> at usbus3
uhub5: 3 ports with 2 removable, bus powered
ukbd0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev 1.10/4.10, addr 3> on usbus2
kbd1 at ukbd0
uhid0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev 1.10/4.10, addr 3> on usbus2
kickstart.
More information about the freebsd-ppc
mailing list