From owner-freebsd-ppc@FreeBSD.ORG Mon Aug 27 17:23:38 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A9761065675 for ; Mon, 27 Aug 2012 17:23:38 +0000 (UTC) (envelope-from mathias.breuninger@espace29.asso.fr) Received: from smtp-out05.msg.oleane.net (smtp-out05.msg.oleane.net [62.161.7.3]) by mx1.freebsd.org (Postfix) with ESMTP id 162958FC1C for ; Mon, 27 Aug 2012 17:23:37 +0000 (UTC) Received: from smtp28.msg.oleane.net (smtp28.mail.priv [172.17.20.150]) by smtp-out05.msg.oleane.net with ESMTP id q7RAKmUr001748 for ; Mon, 27 Aug 2012 12:20:48 +0200 Received: from formation5 (201-98.83-90.static-ip.oleane.fr [90.83.98.201]) (authenticated) by smtp28.msg.oleane.net (MSA) with ESMTP id q7RA0O3X032502 for ; Mon, 27 Aug 2012 12:00:24 +0200 X-Oleane-Rep: REPA From: "Mathias Breuninger" To: References: <00da01cd806d$f19c37f0$d4d4a7d0$%breuninger@espace29.asso.fr> <503A599E.8030104@freebsd.org> In-Reply-To: <503A599E.8030104@freebsd.org> Date: Mon, 27 Aug 2012 12:00:23 +0200 Organization: Espace Associatif Message-ID: <008a01cd843a$c6e5f020$54b1d060$@breuninger@espace29.asso.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 thread-index: Ac2DttmAOl33YjVJTTOitG6RZaybNgAaZJMw Content-Language: fr X-Spam-Flag: NO X-PMX-Spam: Probability=8% X-PFSI-Info: PMX 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.8.27.94516 (no antivirus check) X-Orange-Auth: bWF0aGlhcy5icmV1bmluZ2VyQGVzcGFjZTI5LmFzc28uZnI= Subject: RE: Powermac G5 won't boot after adding a PCI Ethernet Card X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2012 17:23:38 -0000 > > I try to boot the 9.1BETA CD but I didn't succeed (LOAD BASE error) > > > > Do you have any clue? > > >=20 > 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@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.=20 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@anacreon.physics.wisc.edu:/usr/obj/usr/src/sys/GENERIC64 = powerpc cpu0: IBM PowerPC 970 revision 2.2, 2000.30 MHz cpu0: Features dc000000 cpu0: HID0 511081 real memory =3D 4277272576 (4079 MB) avail memory =3D 4035424256 (3848 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: dev=3Dff887e10 (BSP) cpu1: dev=3Dff889150 kbd0 at kbdmux0 nexus0: cpulist0: on nexus0 cpu0: on cpulist0 cpu1: on cpulist0 powermac_nvram0: on nexus0 powermac_nvram0: bank0 generation 925, bank1 generation 924 unin0: on nexus0 unin0: Version 179 iichb0: mem 0xf8001000-0xf8001fff irq 42 on = unin0 iicbus0: on iichb0 iicbus0: at addr 0xca ds17750: at addr 0x94 on iicbus0 max66900: at addr 0x98 on iicbus0 max66901: at addr 0x9c on iicbus0 iicbus0: at addr 0xd2 fcu0: at addr 0x15e on iicbus0 iicbus0: at addr 0x30 ad74170: at addr 0x58 on iicbus0 ad74170: 5 sensors detected. iicbus0: at addr 0xa0 iicbus0: at addr 0x32 ad74171: at addr 0x5a on iicbus0 ad74171: 5 sensors detected. iicbus0: at addr 0xa2 iicbus0: at addr 0x1c0 htpic0: mem 0xf8040000-0xf807ffff irq 184 = on unin0 pcib0: on nexus0 pci0: on pcib0 vgapci0: port 0x400-0x4ff mem = 0xb0000000-0xbfffffff,0xa0000000-0xa000ffff irq 176 at device 16.0 on = pci0 agp0: on hostb0 pcib1: 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: on pcib1 pcib2: at device 1.0 on pci1 pci2: on pcib2 pci2: at device 3.0 (no driver attached) pcib3: at device 2.0 on pci1 pci3: on pcib3 pcib4: at device 3.0 on pci1 pci4: on pcib4 macio0: mem 0x80000000-0x8007ffff at device = 7.0 on pci4 openpic0: mem 0x40000-0x7ffff on macio0 macgpio0: mem 0x50-0x8a on macio0 scc0: mem = 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff = irq 150,133,134,151,135,136 on macio0 uart0: on scc0 uart1: on scc0 iichb1: mem 0x18000-0x18fff irq 154 on macio0 iicbus1: on iichb1 iicbus1: at addr 0x1c0 snapper0: at addr 0x6a on = iicbus1 pcm0: 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: mem 0x16000-0x17fff irq 153 on macio0 ohci0: mem 0x80081000-0x80081fff irq 155 = at device 8.0 on pci4 usbus0 on ohci0 ohci1: mem 0x80080000-0x80080fff irq 156 = at device 9.0 on pci4 usbus1 on ohci1 pcib5: at device 4.0 on pci1 pci5: on pcib5 ohci2: mem 0x80102000-0x80102fff irq 191 = at device 11.0 on pci5 usbus2 on ohci2 ohci3: mem 0x80101000-0x80101fff irq 191 = at device 11.1 on pci5 usbus3 on ohci3 ehci0: mem 0x80100000-0x801000ff irq = 191 at device 11.2 on pci5 usbus4: EHCI version 1.0 usbus4 on ehci0 pcib6: at device 5.0 on pci1 pci6: on pcib6 ata0: 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=3D0) 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: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:0a:95:a8:26:0e fwe0: Ethernet address: 02:0a:95:a8:26:0e sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=3D0x00000000, SelfID Count=3D2, = CYCLEMASTER mode pcib7: at device 6.0 on pci1 pci7: on pcib7 gem0: mem 0x80400000-0x805fffff irq 169 at = device 15.0 on pci7 miibus0: on gem0 brgphy0: 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: at device 7.0 on pci1 pci8: on pcib8 atapci0: 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: at channel 0 on atapci0 ata3: at channel 1 on atapci0 ata4: at channel 2 on atapci0 ata5: at channel 3 on atapci0 atapci1: 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: on nexus0 sc0: Unknown <16 virtual consoles, flags=3D0x300> 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 <=3D 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: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 usbus4: 480Mbps High Speed USB v2.0 ugen4.1: at usbus4 uhub4: 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: 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: 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: 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: at usbus2 uhub5: on usbus2 ugen3.2: at usbus3 uhub5: 3 ports with 2 removable, bus powered ukbd0: on usbus2 kbd1 at ukbd0 uhid0: on usbus2 kickstart.