From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 11 16:27:40 2010 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEFDA1065672 for ; Sun, 11 Jul 2010 16:27:40 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id A86D28FC13 for ; Sun, 11 Jul 2010 16:27:37 +0000 (UTC) Received: from alph.d.allbsd.org (p2176-ipbf406funabasi.chiba.ocn.ne.jp [124.86.72.176]) (authenticated bits=128) by mail.allbsd.org (8.14.3/8.14.3) with ESMTP id o6BGRHIk032414 for ; Mon, 12 Jul 2010 01:27:27 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.4/8.14.4) with ESMTP id o6BGRFZB027747 for ; Mon, 12 Jul 2010 01:27:16 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 12 Jul 2010 01:26:01 +0900 (JST) Message-Id: <20100712.012601.189959455.hrs@allbsd.org> To: freebsd-ppc@FreeBSD.org From: Hiroki Sato X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart0(Mon_Jul_12_01_26_01_2010_396)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Mon, 12 Jul 2010 01:27:31 +0900 (JST) X-Spam-Status: No, score=-96.8 required=13.0 tests=AWL,CONTENT_TYPE_PRESENT, FAKEDWORD_ONE, FAKEDWORD_VERTICALLINE, LONGWORDS, QENCPTR1, RCVD_IN_CHINA, RCVD_IN_CHINA_KR, RCVD_IN_PBL, RCVD_IN_TAIWAN, SPF_SOFTFAIL, USER_IN_WHITELIST, X_MAILER_PRESENT autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gatekeeper.allbsd.org Cc: Subject: Xserve G5 device attach failed 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: Sun, 11 Jul 2010 16:27:40 -0000 ----Security_Multipart0(Mon_Jul_12_01_26_01_2010_396)-- Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_Jul_12_01_26_01_2010_358)--" Content-Transfer-Encoding: 7bit ----Next_Part(Mon_Jul_12_01_26_01_2010_358)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I got an Xserve G5 and am trying to add it to allbsd.org release build cluster, but the box seems not to recognize gem(4) and ata(4) on the PCI bus properly. Can anyone track down what is wrong? The kernel is 9.0-CURRENT as of July 7 (recompiled with GENERIC + options SMP and ALT_BREAK_TO_DEBUGGER). The results of pciconf, devinfo, and dmesg.boot have been attached. -- Hiroki ----Next_Part(Mon_Jul_12_01_26_01_2010_358)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.boot" Copyright (c) 1992-2010 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.0-CURRENT #0: Wed Jul 7 08:42:09 JST 2010 hrs@build-ppc-fbsd-2.allbsd.org:/usr/obj/usr/src/sys/POWERPC powerpc WARNING: WITNESS option enabled, expect reduced performance. Preloaded elf kernel "/boot/kernel/kernel" at 0xaf2000. cpu0: IBM PowerPC 970FX revision 3.0, 2000.36 MHz cpu0: Features dc000000 cpu0: HID0 511081 real memory = 2128257024 (2029 MB) available KVA = 490614783 (467 MB) Physical memory chunk(s): 0x00018000 - 0x000fffff, 950272 bytes (232 pages) 0x01981000 - 0x01bfffff, 2617344 bytes (639 pages) 0x01c42000 - 0x03ffffff, 37478400 bytes (9150 pages) 0x08000000 - 0x7cbebfff, 1958658048 bytes (478188 pages) avail memory = 1997115392 (1904 MB) ULE: setup cpu 0 firmware: 'isp_1040' version 1: 22944 bytes loaded at 0x6286f4 ispfw: registered firmware firmware: 'isp_1040_it' version 1: 32942 bytes loaded at 0x62e094 ispfw: registered firmware firmware: 'isp_1080' version 1: 31350 bytes loaded at 0x636142 ispfw: registered firmware firmware: 'isp_1080_it' version 1: 40644 bytes loaded at 0x63dbb8 ispfw: registered firmware firmware: 'isp_12160' version 1: 28050 bytes loaded at 0x647a7c ispfw: registered firmware firmware: 'isp_12160_it' version 1: 40604 bytes loaded at 0x64e80e ispfw: registered firmware firmware: 'isp_2100' version 1: 76770 bytes loaded at 0x6586aa ispfw: registered firmware firmware: 'isp_2200' version 1: 77214 bytes loaded at 0x66b28c ispfw: registered firmware firmware: 'isp_2300' version 1: 106640 bytes loaded at 0x67e02a ispfw: registered firmware firmware: 'isp_2322' version 1: 108856 bytes loaded at 0x6980ba ispfw: registered firmware firmware: 'isp_2400' version 1: 177416 bytes loaded at 0x6b5c74 ispfw: registered firmware firmware: 'isp_2400_multi' version 1: 193652 bytes loaded at 0x6ed964 ispfw: registered firmware firmware: 'isp_2500' version 1: 140732 bytes loaded at 0x729c50 ispfw: registered firmware firmware: 'isp_2500_multi' version 1: 164528 bytes loaded at 0x75abd4 ispfw: registered firmware nfslock: pseudo-device kbd0 at kbdmux0 mem: null: random: openfirm: nexus0: cpulist0: on nexus0 cpu0: on cpulist0 pcr0: on cpu0 pcr0: No power mode data in device tree! device_attach: pcr0 attach returned 6 sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) sc1: no video adapter found. nexus0: , type memory (no driver attached) sc1: no video adapter found. nexus0: , type BootROM (no driver attached) sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) powermac_nvram0: on nexus0 powermac_nvram0: bank0 generation 434, bank1 generation 435 sc1: no video adapter found. unin0: on nexus0 unin0: Version 53 iichb0: mem 0xf8001000-0xf8001fff irq 0 on unin0 unin mapdev: start f8001000, len 4095 iichb0: [MPSAFE] iichb0: [ITHREAD] iichb0: Revision: A2 iicbus0: on iichb0 iicbus0: at addr 0xd4 iicbus0: at addr 0x98 iicbus0: at addr 0x15e iicbus0: at addr 0x30 iicbus0: at addr 0x58 iicbus0: at addr 0xa0 iicbus0: at addr 0x1c0 unin0: mem 0xf8033000-0xf8039fff (no driver attached) htpic0: mem 0xf8040000-0xf807ffff irq 312 on unin0 unin mapdev: start f8040000, len 262143 htpic0: [MPSAFE] htpic0: [FILTER] htpic0: Version 1.2, supports 4 CPUs and 124 irqs sc1: no video adapter found. pcib0: on nexus0 pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x106b, dev=0x0059, revid=0x00 domain=0, bus=0, slot=11, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0016, statreg=0x22b0, cachelnsz=8 (dwords) lattimer=0x10 (480 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) sc1: no video adapter found. 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 pci1: domain=1, physical bus=0 found-> vendor=0x1022, dev=0x7450, revid=0x12 domain=1, bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=1 cmdreg=0x0107, statreg=0x0230, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1022, dev=0x7450, revid=0x12 domain=1, bus=0, slot=2, func=0 class=06-04-00, hdrtype=0x01, mfdev=1 cmdreg=0x0107, statreg=0x0230, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x106b, dev=0x0045, revid=0x00 domain=1, bus=0, slot=3, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x106b, dev=0x0046, revid=0x00 domain=1, bus=0, slot=4, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x106b, dev=0x0047, revid=0x00 domain=1, bus=0, slot=5, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x106b, dev=0x0048, revid=0x00 domain=1, bus=0, slot=6, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x106b, dev=0x0049, revid=0x00 domain=1, bus=0, slot=7, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pcib2: at device 1.0 on pci1 pcib2: domain 1 pcib2: secondary bus 6 pcib2: subordinate bus 6 pcib2: I/O decode 0xf000-0xfff pcib2: memory decode 0x90000000-0x9fffffff pcib2: no prefetched decode pci2: on pcib2 pci2: domain=1, physical bus=6 found-> vendor=0x1000, dev=0x1960, revid=0x01 domain=1, bus=6, slot=2, func=0 class=01-04-00, hdrtype=0x00, mfdev=0 cmdreg=0x0004, statreg=0x04b0, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 2 supports D0 D3 current D0 map[10]: type Prefetchable Memory, range 32, base 0x90010000, size 16, memory disabled pcib2: requested memory range 0x90010000-0x9001ffff: good found-> vendor=0x1002, dev=0x5159, revid=0x00 domain=1, bus=6, slot=3, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0086, statreg=0x02b0, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Prefetchable Memory, range 32, base 0x98000000, size 27, enabled pcib2: requested memory range 0x98000000-0x9fffffff: good map[14]: type I/O Port, range 32, base 0, size 8, port disabled map[18]: type Memory, range 32, base 0x90080000, size 16, enabled pcib2: requested memory range 0x90080000-0x9008ffff: good pci2: at device 2.0 (no driver attached) vgapci0: mem 0x98000000-0x9fffffff,0x90080000-0x9008ffff irq 309 at device 3.0 on pci2 pcib3: at device 2.0 on pci1 pcib3: domain 1 pcib3: secondary bus 7 pcib3: subordinate bus 7 pcib3: I/O decode 0xf000-0xfff pcib3: memory decode 0xa0000000-0xa00fffff pcib3: no prefetched decode pci3: on pcib3 pci3: domain=1, physical bus=7 found-> vendor=0x14e4, dev=0x1648, revid=0x03 domain=1, bus=7, slot=4, func=0 class=02-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x02b0, cachelnsz=16 (dwords) lattimer=0x20 (960 ns), mingnt=0x40 (16000 ns), maxlat=0x00 (0 ns) intpin=a, irq=0 powerspec 2 supports D0 D3 current D0 MSI supports 8 messages, 64 bit map[10]: type Memory, range 64, base 0xa0030000, size 16, enabled pcib3: requested memory range 0xa0030000-0xa003ffff: good map[18]: type Memory, range 64, base 0xa0020000, size 16, enabled pcib3: requested memory range 0xa0020000-0xa002ffff: good found-> vendor=0x14e4, dev=0x1648, revid=0x03 domain=1, bus=7, slot=4, func=1 class=02-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x02b0, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x40 (16000 ns), maxlat=0x00 (0 ns) intpin=b, irq=0 powerspec 2 supports D0 D3 current D0 MSI supports 8 messages, 64 bit map[10]: type Memory, range 64, base 0xa0010000, size 16, enabled pcib3: requested memory range 0xa0010000-0xa001ffff: good map[18]: type Memory, range 64, base 0xa0000000, size 16, enabled pcib3: requested memory range 0xa0000000-0xa000ffff: good bge0: mem 0xa0030000-0xa003ffff,0xa0020000-0xa002ffff irq 310 at device 4.0 on pci3 cpcht mapdev: start a0030000, len 65536 bge0: CHIP ID 0x00002003; ASIC REV 0x02; CHIP REV 0x20; PCI-X miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: OUI 0x000818, model 0x0019, rev. 0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: bpf attached bge0: Ethernet address: 00:0d:93:9e:01:38 bge0: [MPSAFE] bge0: [ITHREAD] bge1: mem 0xa0010000-0xa001ffff,0xa0000000-0xa000ffff irq 313 at device 4.1 on pci3 cpcht mapdev: start a0010000, len 65536 bge1: CHIP ID 0x00002003; ASIC REV 0x02; CHIP REV 0x20; PCI-X miibus1: on bge1 brgphy1: PHY 1 on miibus1 brgphy1: OUI 0x000818, model 0x0019, rev. 0 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge1: bpf attached bge1: Ethernet address: 00:0d:93:9e:01:39 bge1: [MPSAFE] bge1: [ITHREAD] pcib4: at device 3.0 on pci1 pcib4: domain 1 pcib4: secondary bus 1 pcib4: subordinate bus 1 pcib4: I/O decode 0xf000-0xfff pcib4: memory decode 0x80000000-0x800fffff pcib4: no prefetched decode pci4: on pcib4 pci4: domain=1, physical bus=1 found-> vendor=0x106b, dev=0x0041, revid=0x60 domain=1, bus=1, slot=7, func=0 class=ff-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0200, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type Memory, range 32, base 0x80000000, size 19, enabled pcib4: requested memory range 0x80000000-0x8007ffff: good macio0: mem 0x80000000-0x8007ffff at device 7.0 on pci4 openpic0: mem 0x40000-0x7ffff on macio0 openpic0: Version 1.2, supports 4 CPUs and 120 irqs macgpio0: mem 0x50-0x8a on macio0 macgpio0: gpio 9 irq 303 (no driver attached) macgpio0: gpio 17 irq 311 (no driver attached) macgpio0: gpio 8 irq 302 (no driver attached) macgpio0: gpio 11 (no driver attached) macgpio0: gpio 12 irq 306 (no driver attached) macgpio0: gpio 13 irq 307 (no driver attached) macgpio0: gpio 21 irq 315 (no driver attached) macgpio0: gpio 23 irq 317 (no driver attached) macgpio0: gpio 28 (no driver attached) macgpio0: gpio 29 (no driver attached) macgpio0: gpio 35 irq 329 (no driver attached) macgpio0: gpio 58 (no driver attached) scc0: mem 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 278,261,262,279,263,264 on macio0 scc0: not resetting hardware scc0: [FILTER] scc0: [FILTER] uart0: on scc0 uart0: [FILTER] uart0: fast interrupt uart0: console (57600,n,8,1) uart1: on scc0 uart1: [FILTER] uart1: fast interrupt scc0: fast interrupt iichb1: mem 0x18000-0x18fff irq 282 on macio0 iichb1: [MPSAFE] iichb1: [ITHREAD] iichb1: Revision: A1 iicbus1: on iichb1 iicbus1: at addr 0x5a iicbus1: at addr 0x5c iicbus1: at addr 0x90 iicbus1: at addr 0x94 iicbus1: at addr 0x1c0 macio0: mem 0x10000-0x10fff,0x8000-0x80ff,0x8100-0x81ff irq 286,257,258 (no driver attached) pmu0: mem 0x16000-0x17fff irq 281 on macio0 pmu0: PMU child pmu0: PMU child pmu0: PMU child pmu0: registered as a time-of-day clock (resolution 1000us) pcib5: at device 4.0 on pci1 pcib5: domain 1 pcib5: secondary bus 2 pcib5: subordinate bus 2 pcib5: I/O decode 0xf000-0xfff pcib5: memory decode 0x80100000-0x801fffff pcib5: no prefetched decode pci5: on pcib5 pci5: domain=1, physical bus=2 found-> vendor=0x1033, dev=0x0035, revid=0x43 domain=1, bus=2, slot=11, func=0 class=0c-03-10, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0210, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x01 (250 ns), maxlat=0x2a (10500 ns) intpin=a, irq=0 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0x80102000, size 12, enabled pcib5: requested memory range 0x80102000-0x80102fff: good found-> vendor=0x1033, dev=0x0035, revid=0x43 domain=1, bus=2, slot=11, func=1 class=0c-03-10, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0210, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x01 (250 ns), maxlat=0x2a (10500 ns) intpin=b, irq=0 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0x80101000, size 12, enabled pcib5: requested memory range 0x80101000-0x80101fff: good found-> vendor=0x1033, dev=0x00e0, revid=0x04 domain=1, bus=2, slot=11, func=2 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0004, statreg=0x0210, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x10 (4000 ns), maxlat=0x22 (8500 ns) intpin=c, irq=0 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0x80100000, size 8, memory disabled pcib5: requested memory range 0x80100000-0x801000ff: good ohci0: mem 0x80102000-0x80102fff irq 319 at device 11.0 on pci5 cpcht mapdev: start 80102000, len 4096 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0x80101000-0x80101fff irq 319 at device 11.1 on pci5 cpcht mapdev: start 80101000, len 4096 ohci1: [MPSAFE] ohci1: [ITHREAD] usbus1: on ohci1 ehci0: mem 0x80100000-0x801000ff irq 319 at device 11.2 on pci5 cpcht mapdev: start 80100000, len 256 ehci0: [MPSAFE] ehci0: [ITHREAD] usbus2: EHCI version 1.0 usbus2: on ehci0 pcib6: at device 5.0 on pci1 pcib6: domain 1 pcib6: secondary bus 3 pcib6: subordinate bus 3 pcib6: I/O decode 0xf000-0xfff pcib6: memory decode 0x80200000-0x802fffff pcib6: no prefetched decode pci6: on pcib6 pci6: domain=1, physical bus=3 found-> vendor=0x106b, dev=0x0043, revid=0x00 domain=1, bus=3, slot=13, func=0 class=ff-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0014, statreg=0x0200, cachelnsz=8 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type Memory, range 32, base 0x80204000, size 14, memory disabled pcib6: requested memory range 0x80204000-0x80207fff: good found-> vendor=0x106b, dev=0x0042, revid=0x00 domain=1, bus=3, slot=14, func=0 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=16 (dwords) lattimer=0xf8 (7440 ns), mingnt=0x0c (3000 ns), maxlat=0x18 (6000 ns) intpin=a, irq=0 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0x80200000, size 12, enabled pcib6: requested memory range 0x80200000-0x80200fff: good cpcht mapdev: start 80204000, len 16384 ata0: mem 0x80204000-0x80207fff irq 295 at device 13.0 on pci6 ata0: reset tp1 mask=03 ostat0=00 ostat1=00 ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=00 stat1=00 devices=0x10000 ata0: [MPSAFE] ata0: [ITHREAD] fwohci0: vendor=106b, dev=42 fwohci0: vendor=106b, dev=42 fwohci0: <1394 Open Host Controller Interface> mem 0x80200000-0x80200fff irq 296 at device 14.0 on pci6 cpcht mapdev: start 80200000, len 4096 fwohci0: [MPSAFE] fwohci0: [ITHREAD] fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:14:51:ff:fe:20:e6:a0 fwohci0: invalid speed 7 (fixed to 3). fwohci0: Phy 1394a available S800, 3 ports. fwohci0: Link S800, max_rec 4096 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:14:51:20:e6:a0 fwe0: bpf attached fwe0: Ethernet address: 02:14:51:20:e6:a0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000001, SelfID Count=2, CYCLEMASTER mode pcib7: at device 6.0 on pci1 pcib7: domain 1 pcib7: secondary bus 4 pcib7: subordinate bus 4 pcib7: I/O decode 0xf000-0xfff pcib7: memory decode 0x80300000-0x805fffff pcib7: no prefetched decode pci7: on pcib7 pci7: domain=1, physical bus=4 found-> vendor=0x106b, dev=0x004c, revid=0x00 domain=1, bus=4, slot=15, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0004, statreg=0x84a0, cachelnsz=16 (dwords) lattimer=0x10 (480 ns), mingnt=0x40 (16000 ns), maxlat=0x40 (16000 ns) intpin=a, irq=255 map[10]: type Memory, range 32, base 0x80400000, size 21, memory disabled pcib7: requested memory range 0x80400000-0x805fffff: good gem0: mem 0x80400000-0x805fffff at device 15.0 on pci7 gem0: failed to allocate resources device_attach: gem0 attach returned 6 pcib8: at device 7.0 on pci1 pcib8: domain 1 pcib8: secondary bus 5 pcib8: subordinate bus 5 pcib8: I/O decode 0xf000-0xfff pcib8: memory decode 0x80600000-0x806fffff pcib8: no prefetched decode pci8: on pcib8 pci8: domain=1, physical bus=5 found-> vendor=0x1166, dev=0x0240, revid=0x00 domain=1, bus=5, slot=12, func=0 class=01-01-8f, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x10 (480 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type I/O Port, range 32, base 0, size 3, port disabled map[14]: type I/O Port, range 32, base 0, size 2, port disabled map[18]: type I/O Port, range 32, base 0, size 3, port disabled map[1c]: type I/O Port, range 32, base 0, size 2, port disabled map[20]: type I/O Port, range 32, base 0, size 4, port disabled map[24]: type Memory, range 32, base 0x80600000, size 13, enabled pcib8: requested memory range 0x80600000-0x80601fff: good found-> vendor=0x1166, dev=0x0240, revid=0x00 domain=1, bus=5, slot=12, func=1 class=01-01-85, hdrtype=0x00, mfdev=1 cmdreg=0x0004, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x10 (480 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type I/O Port, range 32, base 0, size 8, port disabled map[14]: type I/O Port, range 32, base 0, size 2, port disabled map[18]: type I/O Port, range 32, base 0, size 3, port disabled map[1c]: type I/O Port, range 32, base 0, size 2, port disabled map[20]: type I/O Port, range 32, base 0, size 4, port disabled map[24]: type Memory, range 32, base 0, size 13, memory disabled atapci0: mem 0x80600000-0x80601fff irq 256 at device 12.0 on pci8 pcib1: failed to reserve resource for atapci0 atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffff). atapci0: [MPSAFE] atapci0: [ITHREAD] cpcht mapdev: start 80600000, len 8192 ata2: on atapci0 ata2: reset tp1 mask=01 ostat0=7f ostat1=00 ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: stat0=0x7f err=0xff lsb=0xff msb=0xff ata2: reset tp2 stat0=ff stat1=00 devices=0x0 ata2: [MPSAFE] ata2: [ITHREAD] ata3: on atapci0 ata3: reset tp1 mask=01 ostat0=7f ostat1=00 ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff ata3: reset tp2 stat0=ff stat1=00 devices=0x0 ata3: [MPSAFE] ata3: [ITHREAD] ata4: on atapci0 ata4: reset tp1 mask=01 ostat0=7f ostat1=00 ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff ata4: reset tp2 stat0=ff stat1=00 devices=0x0 ata4: [MPSAFE] ata4: [ITHREAD] ata5: on atapci0 ata5: reset tp1 mask=01 ostat0=7f ostat1=00 ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: stat0=0x7f err=0xff lsb=0xff msb=0xff ata5: reset tp2 stat0=ff stat1=00 devices=0x0 ata5: [MPSAFE] ata5: [ITHREAD] atapci1: at device 12.1 on pci8 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 sc1: no video adapter found. nexus0: , type vsp (no driver attached) sc1: no video adapter found. nexus0: , type spu (no driver attached) sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) sc1: no video adapter found. nexus0: , type (unknown) (no driver attached) sc0: no video adapter found. nexus0: , type (unknown) (no driver attached) Reducing kern.maxvnodes 108741 -> 100000 procfs registered Timecounter "decrementer" frequency 33333333 Hz quality 0 Timecounters tick every 1.000 msec vlan: initialized, using hash tables with chaining lo0: bpf attached ata0: Identifying devices: 00010000 ata0: New devices: 00010000 firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me) firewire0: bus manager 1 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire acd0: setting UDMA33 acd0: CDRW drive at ata0 as master acd0: read 4133KB/s (4133KB/s) write 4133KB/s (4133KB/s), 2048KB buffer, UDMA33 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet acd0: Writes: CDR, CDRW, test write, burnproof acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc ata2: Identifying devices: 00000000 ata2: New devices: 00000000 ata3: Identifying devices: 00000000 ata3: New devices: 00000000 ata4: Identifying devices: 00000000 ata4: New devices: 00000000 ata5: Identifying devices: 00000000 ata5: New devices: 00000000 uhub1: 2 ports with 2 removable, self powered uhub0: 3 ports with 3 removable, self powered uhub2: 5 ports with 5 removable, self powered (probe0:sbp0:0:0:0): Error 22, Unretryable error (probe1:sbp0:0:1:0): Error 22, Unretryable error (probe2:sbp0:0:2:0): Error 22, Unretryable error (probe3:sbp0:0:3:0): Error 22, Unretryable error (probe4:sbp0:0:4:0): Error 22, Unretryable error (probe5:sbp0:0:5:0): Error 22, Unretryable error (probe6:sbp0:0:6:0): Error 22, Unretryable error WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from nfs:rootfs:/a/rootfs/freebsd.powerpc/9.0 NFS ROOT: 192.168.100.2:/a/rootfs/freebsd.powerpc/9.0 bge0: link UP start_init: trying /sbin/init acquiring duplicate lock of same type: "pmap" 1st pmap @ /usr/src/sys/powerpc/aim/mmu_oea64.c:1198 2nd pmap @ /usr/src/sys/powerpc/aim/mmu_oea64.c:1425 KDB: stack backtrace: 0xe09b5620: at kdb_backtrace+0x4c 0xe09b5640: at _witness_debugger+0x3c 0xe09b5660: at witness_checkorder+0x4dc 0xe09b56c0: at _mtx_lock_flags+0xc4 0xe09b56f0: at moea64_uma_page_alloc+0x78 0xe09b5720: at keg_alloc_slab+0xfc 0xe09b5770: at keg_fetch_slab+0x1c0 0xe09b57a0: at zone_fetch_slab+0x70 0xe09b57d0: at uma_zalloc_arg+0x5c0 0xe09b5830: at moea64_pvo_enter+0x234 0xe09b5890: at moea64_enter_locked+0x214 0xe09b58d0: at moea64_enter+0x90 0xe09b5910: at pmap_enter+0x98 0xe09b5940: at vm_fault+0x1824 0xe09b5a60: at trap_pfault+0x124 0xe09b5aa0: at trap+0x104 0xe09b5b60: at powerpc_interrupt+0x100 0xe09b5b90: user DSI write trap @ 0x41c01000 by 0x181af24: srr1=0xd032 r1=0x7fffdcb0 cr=0x44000088 xer=0 ctr=0x2ac sr=0x42000000 lock order reversal: 1st 0x254a6ec ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1058 2nd 0x2562c64 nfs (nfs) @ /usr/src/sys/kern/vfs_subr.c:2090 KDB: stack backtrace: 0xe91cc520: at kdb_backtrace+0x4c 0xe91cc540: at _witness_debugger+0x3c 0xe91cc560: at witness_checkorder+0x8d0 0xe91cc5c0: at __lockmgr_args+0x85c 0xe91cc640: at vop_stdlock+0x48 0xe91cc660: at VOP_LOCK1_APV+0xec 0xe91cc680: at _vn_lock+0x84 0xe91cc6d0: at vget+0xc8 0xe91cc710: at vfs_hash_get+0x114 0xe91cc750: at nfs_nget+0xd8 0xe91cc7b0: at nfs_root+0x40 0xe91cc7f0: at vfs_donmount+0x11bc 0xe91cca40: at nmount+0x84 0xe91cca70: at syscallenter+0x264 0xe91ccaa0: at trap+0x12c 0xe91ccb60: at powerpc_interrupt+0x100 0xe91ccb90: user SC trap by 0x418bd1b8: srr1=0xd032 r1=0x7fffd620 cr=0x44000044 xer=0 ctr=0x418bd1b0 ----Next_Part(Mon_Jul_12_01_26_01_2010_358)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pciconf-lv.txt" hostb0@pci0:0:11:0: class=0x060000 card=0x00000000 chip=0x0059106b rev=0x00 hdr=0x00 vendor = 'Apple Computer Inc' device = 'U3H AGP Bridge' class = bridge subclass = HOST-PCI pcib2@pci1:0:1:0: class=0x060400 card=0x00000000 chip=0x74501022 rev=0x12 hdr=0x01 vendor = 'Advanced Micro Devices (AMD)' device = 'PCI-X Bridge (AMD-8131)' class = bridge subclass = PCI-PCI pcib3@pci1:0:2:0: class=0x060400 card=0x00000000 chip=0x74501022 rev=0x12 hdr=0x01 vendor = 'Advanced Micro Devices (AMD)' device = 'PCI-X Bridge (AMD-8131)' class = bridge subclass = PCI-PCI pcib4@pci1:0:3:0: class=0x060400 card=0x00000000 chip=0x0045106b rev=0x00 hdr=0x01 vendor = 'Apple Computer Inc' device = 'K2 HT-PCI Bridge' class = bridge subclass = PCI-PCI pcib5@pci1:0:4:0: class=0x060400 card=0x00000000 chip=0x0046106b rev=0x00 hdr=0x01 vendor = 'Apple Computer Inc' device = 'K2 HT-PCI Bridge' class = bridge subclass = PCI-PCI pcib6@pci1:0:5:0: class=0x060400 card=0x00000000 chip=0x0047106b rev=0x00 hdr=0x01 vendor = 'Apple Computer Inc' device = 'K2 HT-PCI Bridge' class = bridge subclass = PCI-PCI pcib7@pci1:0:6:0: class=0x060400 card=0x00000000 chip=0x0048106b rev=0x00 hdr=0x01 vendor = 'Apple Computer Inc' device = 'K2 HT-PCI Bridge' class = bridge subclass = PCI-PCI pcib8@pci1:0:7:0: class=0x060400 card=0x00000000 chip=0x0049106b rev=0x00 hdr=0x01 vendor = 'Apple Computer Inc' device = 'K2 HT-PCI Bridge' class = bridge subclass = PCI-PCI none0@pci1:6:2:0: class=0x010400 card=0x45231000 chip=0x19601000 rev=0x01 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' device = 'MegaRAID' class = mass storage subclass = RAID vgapci0@pci1:6:3:0: class=0x030000 card=0x09081002 chip=0x51591002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'Radeon 7000 / Radeon VE (RV100)' class = display subclass = VGA bge0@pci1:7:4:0: class=0x020000 card=0x005a106b chip=0x164814e4 rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme Dual Gigabit Adapter (BCM5704)' class = network subclass = ethernet bge1@pci1:7:4:1: class=0x020000 card=0x005a106b chip=0x164814e4 rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme Dual Gigabit Adapter (BCM5704)' class = network subclass = ethernet macio0@pci1:1:7:0: class=0xff0000 card=0x00000000 chip=0x0041106b rev=0x60 hdr=0x00 vendor = 'Apple Computer Inc' device = 'K2 KeyLargo Mac/IO' ohci0@pci1:2:11:0: class=0x0c0310 card=0x00351033 chip=0x00351033 rev=0x43 hdr=0x00 vendor = 'NEC Electronics Hong Kong' device = 'Dual OHCI controllers plus Single EHCI controller (udp9210)' class = serial bus subclass = USB ohci1@pci1:2:11:1: class=0x0c0310 card=0x00351033 chip=0x00351033 rev=0x43 hdr=0x00 vendor = 'NEC Electronics Hong Kong' device = 'Dual OHCI controllers plus Single EHCI controller (udp9210)' class = serial bus subclass = USB ehci0@pci1:2:11:2: class=0x0c0320 card=0x00e01033 chip=0x00e01033 rev=0x04 hdr=0x00 vendor = 'NEC Electronics Hong Kong' device = 'uPD720100A/101 USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB ata0@pci1:3:13:0: class=0xff0000 card=0x00000000 chip=0x0043106b rev=0x00 hdr=0x00 vendor = 'Apple Computer Inc' device = 'K2 ATA/100' fwohci0@pci1:3:14:0: class=0x0c0010 card=0x5811106b chip=0x0042106b rev=0x00 hdr=0x00 vendor = 'Apple Computer Inc' device = 'K2 FireWire' class = serial bus subclass = FireWire gem0@pci1:4:15:0: class=0x020000 card=0x00000000 chip=0x004c106b rev=0x00 hdr=0x00 vendor = 'Apple Computer Inc' device = 'K2 GMAC (Sun GEM)' class = network subclass = ethernet atapci0@pci1:5:12:0: class=0x01018f card=0x02401166 chip=0x02401166 rev=0x00 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'K2 SATA' class = mass storage subclass = ATA atapci1@pci1:5:12:1: class=0x010185 card=0x02401166 chip=0x02401166 rev=0x00 hdr=0x00 vendor = 'ServerWorks (Was: Reliance Computer Corp)' device = 'K2 SATA' class = mass storage subclass = ATA ----Next_Part(Mon_Jul_12_01_26_01_2010_358)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="devinfo-rv.txt" nexus0 sc0 cpulist0 cpu0 pnpinfo name=PowerPC,G5 pcr0 unknown unknown unknown unknown unknown unknown unknown unknown unknown unknown unknown powermac_nvram0 unin0 iichb0 pnpinfo name=i2c compat=keywest-i2c Interrupt request lines: 0x0 UniNorth Device Memory: 4160753664-4160757758 iicbus0 unknown pnpinfo name=i2c-hwclock compat=pulsar-legacy-slewing at addr=0xd4 unknown pnpinfo name=temp-monitor compat=max6690 at addr=0x98 unknown pnpinfo name=fan compat=fcu at addr=0x15e unknown pnpinfo name=i2c-cpu-voltage compat=pca9556 at addr=0x30 unknown pnpinfo name=supply-monitor compat=ad7417 at addr=0x58 unknown pnpinfo name=cpuid compat=24256 at addr=0xa0 unknown pnpinfo name=cereal at addr=0x1c0 unknown pnpinfo name=dart compat=u3-dart htpic0 pnpinfo name=mpic compat=chrp,open-pic Interrupt request lines: 0x138 UniNorth Device Memory: 4161011712-4161273854 pcib0 pci0 hostb0 pnpinfo vendor=0x106b device=0x0059 subvendor=0x0000 subdevice=0x0000 class=0x060000 at slot=11 function=0 agp0 pcib1 Interrupt request lines: 0x100 0x116 0x117 0x11a 0x127 0x128 0x136 0x139 0x13f 0x13f 0x13f pci1 pcib2 pnpinfo vendor=0x1022 device=0x7450 subvendor=0x0000 subdevice=0x0000 class=0x060400 name=pci compat=pci-x at slot=1 function=0 pci2 unknown pnpinfo vendor=0x1000 device=0x1960 subvendor=0x1000 subdevice=0x4523 class=0x010400 name=LSILogic,raid compat=pci1000,4523 at slot=2 function=0 CPCHT Device Memory: 2415984640-2416050175 vgapci0 pnpinfo vendor=0x1002 device=0x5159 subvendor=0x1002 subdevice=0x0908 class=0x030000 name=ATY,BlueStar at slot=3 function=0 CPCHT Device Memory: 2416443392-2416508927 2550136832-2684354559 drm0 pcib3 pnpinfo vendor=0x1022 device=0x7450 subvendor=0x0000 subdevice=0x0000 class=0x060400 name=pci compat=pci-x at slot=2 function=0 pci3 bge0 pnpinfo vendor=0x14e4 device=0x1648 subvendor=0x106b subdevice=0x005a class=0x020000 name=bcom5704 compat=pci14e4,1648 at slot=4 function=0 CPCHT Device Memory: 2684485632-2684551167 2684551168-2684616703 miibus0 brgphy0 pnpinfo oui=0x818 model=0x19 rev=0x0 at phyno=1 bge1 pnpinfo vendor=0x14e4 device=0x1648 subvendor=0x106b subdevice=0x005a class=0x020000 name=bcom5704 compat=pci14e4,1648 at slot=4 function=1 CPCHT Device Memory: 2684354560-2684420095 2684420096-2684485631 miibus1 brgphy1 pnpinfo oui=0x818 model=0x19 rev=0x0 at phyno=1 pcib4 pnpinfo vendor=0x106b device=0x0045 subvendor=0x0000 subdevice=0x0000 class=0x060400 name=pci at slot=3 function=0 pci4 macio0 pnpinfo vendor=0x106b device=0x0041 subvendor=0x0000 subdevice=0x0000 class=0xff0000 name=mac-io compat=K2-Keylargo at slot=7 function=0 CPCHT Device Memory: 2147483648-2148007935 openpic0 pnpinfo name=mpic compat=chrp,open-pic MacIO Device Memory: 262144-524287 macgpio0 pnpinfo name=gpio compat=mac-io-gpio MacIO Device Memory: 80-138 unknown pnpinfo name=pmu-interrupt compat=pmu-interrupt unknown pnpinfo name=programmer-switch compat=programmer-switch unknown pnpinfo name=ringDetect compat=ringDetect unknown pnpinfo name=indicatorLED compat=indicatorLED unknown pnpinfo name=indicatorSwitch compat=indicatorSwitch unknown pnpinfo name=keySwitch compat=keySwitch unknown pnpinfo name=fcu-interrupt compat=fcu-interrupt unknown pnpinfo name=chip-fault compat=chip-fault unknown pnpinfo name=systemMonitorA compat=systemMonitorA unknown pnpinfo name=systemMonitorB compat=systemMonitorB unknown pnpinfo name=slewing-done compat=slewing-done unknown pnpinfo name=fcu-hw-reset compat=fcu-hw-reset scc0 pnpinfo name=escc compat=chrp,es0 MacIO Device Memory: 77824-81919 uart0 uart1 unknown unknown iichb1 pnpinfo name=i2c compat=k2-i2c MacIO Device Memory: 98304-102399 iicbus1 unknown pnpinfo name=lm87cimt compat=lm87cimt at addr=0x5a unknown pnpinfo name=lm87cimt compat=lm87cimt at addr=0x5c unknown pnpinfo name=temp-monitor compat=lm75 at addr=0x90 unknown pnpinfo name=power-supply-monitor compat=pic16c72a at addr=0x94 unknown pnpinfo name=cereal at addr=0x1c0 unknown pnpinfo name=i2s pmu0 pnpinfo name=via-pmu compat=pmu MacIO Device Memory: 90112-98303 pcib5 pnpinfo vendor=0x106b device=0x0046 subvendor=0x0000 subdevice=0x0000 class=0x060400 name=pci at slot=4 function=0 pci5 ohci0 pnpinfo vendor=0x1033 device=0x0035 subvendor=0x1033 subdevice=0x0035 class=0x0c0310 name=usb compat=pci1033,35 at slot=11 function=0 CPCHT Device Memory: 2148540416-2148544511 usbus0 uhub0 ohci1 pnpinfo vendor=0x1033 device=0x0035 subvendor=0x1033 subdevice=0x0035 class=0x0c0310 name=usb compat=pci1033,35 at slot=11 function=1 CPCHT Device Memory: 2148536320-2148540415 usbus1 uhub1 ehci0 pnpinfo vendor=0x1033 device=0x00e0 subvendor=0x1033 subdevice=0x00e0 class=0x0c0320 name=usb compat=pci1033,e0 at slot=11 function=2 CPCHT Device Memory: 2148532224-2148532479 usbus2 uhub2 pcib6 pnpinfo vendor=0x106b device=0x0047 subvendor=0x0000 subdevice=0x0000 class=0x060400 name=pci at slot=5 function=0 pci6 ata0 pnpinfo vendor=0x106b device=0x0043 subvendor=0x0000 subdevice=0x0000 class=0xff0000 name=ata-6 compat=K2-UATA at slot=13 function=0 CPCHT Device Memory: 2149597184-2149613567 acd0 fwohci0 pnpinfo vendor=0x106b device=0x0042 subvendor=0x106b subdevice=0x5811 class=0x0c0010 name=firewire compat=pci106b,5811 at slot=14 function=0 CPCHT Device Memory: 2149580800-2149584895 firewire0 sbp0 fwe0 pcib7 pnpinfo vendor=0x106b device=0x0048 subvendor=0x0000 subdevice=0x0000 class=0x060400 name=pci at slot=6 function=0 pci7 gem0 pnpinfo vendor=0x106b device=0x004c subvendor=0x0000 subdevice=0x0000 class=0x020000 at slot=15 function=0 CPCHT Device Memory: 2151677952-2153775103 pcib8 pnpinfo vendor=0x106b device=0x0049 subvendor=0x0000 subdevice=0x0000 class=0x060400 name=pci at slot=7 function=0 pci8 atapci0 pnpinfo vendor=0x1166 device=0x0240 subvendor=0x1166 subdevice=0x0240 class=0x01018f name=k2-sata-root compat=k2-s-ata at slot=12 function=0 CPCHT Device Memory: 2153775104-2153783295 ata2 at channel=0 ata3 at channel=1 ata4 at channel=2 ata5 at channel=3 atapci1 pnpinfo vendor=0x1166 device=0x0240 subvendor=0x1166 subdevice=0x0240 class=0x010185 at slot=12 function=1 unknown unknown unknown unknown ----Next_Part(Mon_Jul_12_01_26_01_2010_358)---- ----Security_Multipart0(Mon_Jul_12_01_26_01_2010_396)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkw58JkACgkQTyzT2CeTzy3zygCfbSYYhP8EfJ8auCL0TomqlpEi X9UAoI7Zynh3ezXSxKh8KqdDqUWQL0hh =0XTJ -----END PGP SIGNATURE----- ----Security_Multipart0(Mon_Jul_12_01_26_01_2010_396)---- From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 11 16:41:27 2010 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 807871065677; Sun, 11 Jul 2010 16:41:27 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id 531078FC15; Sun, 11 Jul 2010 16:41:27 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L5E00700JP2C000@smtpauth3.wiscmail.wisc.edu>; Sun, 11 Jul 2010 11:41:26 -0500 (CDT) Received: from comporellon.tachypleus.net ([unknown] [76.210.74.244]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L5E000VLJP06O40@smtpauth3.wiscmail.wisc.edu>; Sun, 11 Jul 2010 11:41:25 -0500 (CDT) Date: Sun, 11 Jul 2010 11:41:24 -0500 From: Nathan Whitehorn In-reply-to: <20100712.012601.189959455.hrs@allbsd.org> To: Hiroki Sato Message-id: <4C39F434.5070009@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.74.244 X-Spam-PmxInfo: Server=avs-11, Version=5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.7.11.162714, SenderIP=76.210.74.244 References: <20100712.012601.189959455.hrs@allbsd.org> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100627 Thunderbird/3.0.5 Cc: freebsd-ppc@FreeBSD.org Subject: Re: Xserve G5 device attach failed 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: Sun, 11 Jul 2010 16:41:27 -0000 On 07/11/10 11:26, Hiroki Sato wrote: > Hi, > > I got an Xserve G5 and am trying to add it to allbsd.org release > build cluster, but the box seems not to recognize gem(4) and ata(4) > on the PCI bus properly. Can anyone track down what is wrong? > > The kernel is 9.0-CURRENT as of July 7 (recompiled with GENERIC + > options SMP and ALT_BREAK_TO_DEBUGGER). The results of pciconf, > devinfo, and dmesg.boot have been attached. > > -- Hiroki > That's all expected, actually. There's a silicon bug in your model of K2 SATA controller that presents a phantom second function (atapci1), to which the SATA driver correspondingly fails to attach. Similarly, both actual ethernet ports are controlled by bge(4), and Apple has left a phantom gem device on the bus, to which gem(4) also fails to attach. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 12 11:07:06 2010 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCCD9106566B for ; Mon, 12 Jul 2010 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BB4198FC2A for ; Mon, 12 Jul 2010 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6CB76Np094102 for ; Mon, 12 Jul 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6CB76V7094100 for freebsd-ppc@FreeBSD.org; Mon, 12 Jul 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Jul 2010 11:07:06 GMT Message-Id: <201007121107.o6CB76V7094100@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org 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, 12 Jul 2010 11:07:06 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 9 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 12 11:19:17 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB6D8106566B; Mon, 12 Jul 2010 11:19:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 4D5E78FC08; Mon, 12 Jul 2010 11:19:17 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o6CBJGLP066735; Mon, 12 Jul 2010 07:19:16 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o6CBJGjP066730; Mon, 12 Jul 2010 11:19:16 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 12 Jul 2010 11:19:16 GMT Message-Id: <201007121119.o6CBJGjP066730@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2010 11:19:17 -0000 TB --- 2010-07-12 09:52:36 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-07-12 09:52:36 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-07-12 09:52:36 - cleaning the object tree TB --- 2010-07-12 09:52:54 - cvsupping the source tree TB --- 2010-07-12 09:52:54 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-07-12 09:54:06 - building world TB --- 2010-07-12 09:54:06 - MAKEOBJDIRPREFIX=/obj TB --- 2010-07-12 09:54:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-07-12 09:54:06 - TARGET=powerpc TB --- 2010-07-12 09:54:06 - TARGET_ARCH=powerpc TB --- 2010-07-12 09:54:06 - TZ=UTC TB --- 2010-07-12 09:54:06 - __MAKE_CONF=/dev/null TB --- 2010-07-12 09:54:06 - cd /src TB --- 2010-07-12 09:54:06 - /usr/bin/make -B buildworld >>> World build started on Mon Jul 12 09:54:06 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] load_elf32.o(.sdata+0x0): first defined here load_elf64.o(.sbss+0x0): multiple definition of `elf32_relocation_offset' load_elf32.o(.sbss+0x0): first defined here load_elf64.o(.sdata+0x4): multiple definition of `elf32_moduletype' load_elf32.o(.sdata+0x4): first defined here reloc_elf64.o(.text+0x0): In function `elf32_reloc': : multiple definition of `elf32_reloc' reloc_elf32.o(.text+0x0): first defined here *** Error code 1 Stop in /src/sys/boot/powerpc/ofw. *** Error code 1 Stop in /src/sys/boot/powerpc. *** Error code 1 Stop in /src/sys/boot. *** Error code 1 Stop in /src/sys. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-07-12 11:19:16 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-07-12 11:19:16 - ERROR: failed to build world TB --- 2010-07-12 11:19:16 - 4123.94 user 733.60 system 5199.61 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 13 17:28:53 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE6E6106567C; Tue, 13 Jul 2010 17:28:53 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 9897A8FC12; Tue, 13 Jul 2010 17:28:53 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o6DHSqq5044044; Tue, 13 Jul 2010 13:28:52 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o6DHSqXh044038; Tue, 13 Jul 2010 17:28:52 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 13 Jul 2010 17:28:52 GMT Message-Id: <201007131728.o6DHSqXh044038@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2010 17:28:53 -0000 TB --- 2010-07-13 15:53:12 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-07-13 15:53:12 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-07-13 15:53:12 - cleaning the object tree TB --- 2010-07-13 15:53:34 - cvsupping the source tree TB --- 2010-07-13 15:53:34 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-07-13 15:53:50 - building world TB --- 2010-07-13 15:53:50 - MAKEOBJDIRPREFIX=/obj TB --- 2010-07-13 15:53:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-07-13 15:53:50 - TARGET=powerpc TB --- 2010-07-13 15:53:50 - TARGET_ARCH=powerpc TB --- 2010-07-13 15:53:50 - TZ=UTC TB --- 2010-07-13 15:53:50 - __MAKE_CONF=/dev/null TB --- 2010-07-13 15:53:50 - cd /src TB --- 2010-07-13 15:53:50 - /usr/bin/make -B buildworld >>> World build started on Tue Jul 13 15:53:50 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Jul 13 17:25:04 UTC 2010 TB --- 2010-07-13 17:25:04 - generating LINT kernel config TB --- 2010-07-13 17:25:04 - cd /src/sys/powerpc/conf TB --- 2010-07-13 17:25:04 - /usr/bin/make -B LINT TB --- 2010-07-13 17:25:04 - building LINT kernel TB --- 2010-07-13 17:25:04 - MAKEOBJDIRPREFIX=/obj TB --- 2010-07-13 17:25:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-07-13 17:25:04 - TARGET=powerpc TB --- 2010-07-13 17:25:04 - TARGET_ARCH=powerpc TB --- 2010-07-13 17:25:04 - TZ=UTC TB --- 2010-07-13 17:25:04 - __MAKE_CONF=/dev/null TB --- 2010-07-13 17:25:04 - cd /src TB --- 2010-07-13 17:25:04 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jul 13 17:25:04 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_audio.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_card.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_core.c cc1: warnings being treated as errors /src/sys/dev/bktr/bktr_core.c: In function 'common_bktr_attach': /src/sys/dev/bktr/bktr_core.c:542: warning: format '%d' expects type 'int', but argument 3 has type 'long int' /src/sys/dev/bktr/bktr_core.c: In function 'video_ioctl': /src/sys/dev/bktr/bktr_core.c:1813: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-07-13 17:28:52 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-07-13 17:28:52 - ERROR: failed to build lint kernel TB --- 2010-07-13 17:28:52 - 4655.23 user 813.51 system 5740.45 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 13 21:43:26 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B09A21065674 for ; Tue, 13 Jul 2010 21:43:26 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id 869D48FC1E for ; Tue, 13 Jul 2010 21:43:26 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L5I00H06N0DSI00@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Tue, 13 Jul 2010 16:43:25 -0500 (CDT) Received: from anacreon.physics.wisc.edu (anacreon.physics.wisc.edu [128.104.160.176]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L5I00DGMN08BG50@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Tue, 13 Jul 2010 16:43:21 -0500 (CDT) Date: Tue, 13 Jul 2010 16:43:20 -0500 From: Nathan Whitehorn To: freebsd-ppc@freebsd.org Message-id: <20100713164320.40351367@anacreon.physics.wisc.edu> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; powerpc64-portbld-freebsd9.0) X-Spam-Report: AuthenticatedSender=yes, SenderIP=128.104.160.176 X-Spam-PmxInfo: Server=avs-13, Version=5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.7.13.213314, SenderIP=128.104.160.176 Subject: ANNOUNCE: powerpc64 now in -CURRENT 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: Tue, 13 Jul 2010 21:43:26 -0000 As of r210025, 64-bit PowerPC support is now present in -CURRENT. Thanks to all who tested this branch and gave feedback, in particular Patrick Kerharo and Andreas Tobler for consultation and endless testing, and to Peter Grehan for prodding me into doing this. Supported hardware: - CPUs: PowerPC 970, Cell, POWER4, POWER5, POWER6, POWER7 - Machines: Apple Power Macintosh G5, Apple iMac G5, IBM Cell Simulator, Sony Playstation 3 (coming soon) New Features: - Support for > 2 GB of RAM - ZFS (patches under review, not yet in -CURRENT) - Support for CPUs not implementing the 64-bit bridge mode, such as the Cell, POWER6, and POWER7 Caveats: - Support for ports on powerpc64 is not as good as on powerpc -- in particular, Gecko ports like thunderbird and firefox will not build at present. Some other ports require minor changes currently in uncommitted PRs: http://www.freebsd.org/cgi/query-pr-summary.cgi?text=powerpc64 Upgrade instructions: The safest way to move from a 32-bit to a 64-bit system is to reinstall the system from scratch. However, there are not yet install CDs (this should be fixed soon), and some people may not wish to do this. So, for the adventurous: cd /usr/src/sys/boot make make install cd /usr/src make buildworld buildkernel TARGET=powerpc TARGET_ARCH=powerpc64 make installkernel TARGET=powerpc TARGET_ARCH=powerpc64 DESTDIR=/ [reboot - you should now have a 64-bit kernel with a 32-bit world] cd /usr/src export UNAME_p=powerpc make installworld TARGET=powerpc TARGET_ARCH=powerpc64 DESTDIR=/ [reboot - you should now either have a fully 64-bit or a completely hosed system] mergemaster -U [reboot] -Nathan From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 14 01:46:33 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E974106567B; Wed, 14 Jul 2010 01:46:33 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id 056238FC17; Wed, 14 Jul 2010 01:46:32 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L5I00FYSY9JF990@asmtp026.mac.com>; Tue, 13 Jul 2010 18:46:32 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1007130136 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-07-14_01:2010-02-06, 2010-07-14, 2010-07-13 signatures=0 From: Marcel Moolenaar In-reply-to: <20100713164320.40351367@anacreon.physics.wisc.edu> Date: Tue, 13 Jul 2010 18:46:31 -0700 Message-id: <26F9D1F2-5502-4AA9-B1E5-1DB66D4555A3@mac.com> References: <20100713164320.40351367@anacreon.physics.wisc.edu> To: Nathan Whitehorn X-Mailer: Apple Mail (2.1081) Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Wed, 14 Jul 2010 01:46:33 -0000 On Jul 13, 2010, at 2:43 PM, Nathan Whitehorn wrote: > As of r210025, 64-bit PowerPC support is now present in -CURRENT. Well done! > [reboot - you should now either have a fully 64-bit or a completely > hosed system] :-) -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 15 00:52:38 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C092106564A; Thu, 15 Jul 2010 00:52:38 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.freebsd.org (Postfix) with ESMTP id 6D8A98FC15; Thu, 15 Jul 2010 00:52:37 +0000 (UTC) Received: from sanjayt1-lxp.hq.netapp.com (c-76-120-89-251.hsd1.co.comcast.net [76.120.89.251]) by dommail.onthenet.com.au (MOS 4.1.8-GA) with ESMTP id AOD94529 (AUTH peterg@ptree32.com.au); Thu, 15 Jul 2010 10:52:34 +1000 Message-ID: <4C3E5BCF.4010402@freebsd.org> Date: Wed, 14 Jul 2010 18:52:31 -0600 From: Peter Grehan User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Nathan Whitehorn References: <20100712.012601.189959455.hrs@allbsd.org> <4C39F434.5070009@freebsd.org> In-Reply-To: <4C39F434.5070009@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Thu, 15 Jul 2010 00:52:38 -0000 >64-bit PowerPC support is now present in -CURRENT. Congrats Nathan: to put it mildy, this is a excellent piece of work. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 15 01:18:02 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05DAB1065780; Thu, 15 Jul 2010 01:18:02 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id CC5BE8FC17; Thu, 15 Jul 2010 01:18:01 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed; delsp=yes Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L5K00G00RM1BN00@smtpauth3.wiscmail.wisc.edu>; Wed, 14 Jul 2010 20:18:01 -0500 (CDT) Received: from [10.0.2.95] ([unknown] [76.210.74.244]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L5K00ATCRLZQS30@smtpauth3.wiscmail.wisc.edu>; Wed, 14 Jul 2010 20:18:00 -0500 (CDT) Date: Wed, 14 Jul 2010 20:17:59 -0500 From: Nathan Whitehorn In-reply-to: <20100713164320.40351367@anacreon.physics.wisc.edu> To: Nathan Whitehorn Message-id: X-Mailer: Apple Mail (2.936) X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.74.244 X-Spam-PmxInfo: Server=avs-11, Version=5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.7.15.11215, SenderIP=76.210.74.244 References: <20100713164320.40351367@anacreon.physics.wisc.edu> Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Thu, 15 Jul 2010 01:18:02 -0000 On Jul 13, 2010, at 4:43 PM, Nathan Whitehorn wrote: > As of r210025, 64-bit PowerPC support is now present in -CURRENT. > Thanks to all who tested this branch and gave feedback, in particular > Patrick Kerharo and Andreas Tobler for consultation and endless > testing, and to Peter Grehan for prodding me into doing this. > > Supported hardware: > - CPUs: PowerPC 970, Cell, POWER4, POWER5, POWER6, POWER7 > - Machines: Apple Power Macintosh G5, Apple iMac G5, IBM Cell > Simulator, Sony Playstation 3 (coming soon) > > Upgrade instructions: > > The safest way to move from a 32-bit to a 64-bit system is to > reinstall > the system from scratch. However, there are not yet install CDs (this > should be fixed soon), and some people may not wish to do this. So, > for > the adventurous: Anyone interested can now download hot off the presses CDs from http://people.freebsd.org/~nwhitehorn/FreeBSD-9.0-20100715-SNAP-powerpc64 -Nathan From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 15 01:24:00 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24F6F1065674 for ; Thu, 15 Jul 2010 01:24:00 +0000 (UTC) (envelope-from gdriggs@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id EA25A8FC08 for ; Thu, 15 Jul 2010 01:23:59 +0000 (UTC) Received: by pzk7 with SMTP id 7so109395pzk.13 for ; Wed, 14 Jul 2010 18:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:references:from :content-type:x-mailer:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; bh=cSOV4x5vraZTHH/hiVkBxadnzNDWIvTtrVSU0v1l4MI=; b=OswfMpB9faNhTul8q8TioRC7eFR5m0c+HvuGPPc2hGCXGj1zzMCE6eAoUS5tllfSID RQ8kFGBqdAIosfMmSw19Z2aeHdCL+NomAKxAiKu23ToBigdDxfd1NK6u8oG6/dKCFMCK 8JW+JUhsmyMxXp/usEbF8JrPu8ZeScxMq5fYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; b=I8WYfVnySIj6M04P+zuUzT3szJh+uMvRv+0d9nBIeQ5EiPGBKa1gMjqRFGRxFhGbmF Dc0H0FDy6shrcOgej1sQHAnT/Z8lloRGURRVe9tySU7csg1qo22S+yslAsfmCuAsIcJJ 2kEOY0rixZXnugbpTWlm1ftKd3N+K2Zi4Izk4= Received: by 10.142.136.1 with SMTP id j1mr9775844wfd.325.1279157039148; Wed, 14 Jul 2010 18:23:59 -0700 (PDT) Received: from [10.30.1.242] ([166.205.141.18]) by mx.google.com with ESMTPS id 33sm529556wfg.21.2010.07.14.18.23.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Jul 2010 18:23:58 -0700 (PDT) References: <20100712.012601.189959455.hrs@allbsd.org> <4C39F434.5070009@freebsd.org> <4C3E5BCF.4010402@freebsd.org> From: Gary Driggs Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (8A293) In-Reply-To: <4C3E5BCF.4010402@freebsd.org> Message-Id: <8FC7E67F-77D0-4215-BADB-16C40789F2FF@gmail.com> Date: Wed, 14 Jul 2010 18:23:22 -0700 To: "freebsd-ppc@freebsd.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPhone Mail 8A293) Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Thu, 15 Jul 2010 01:24:00 -0000 I'd be glad to help test the forthcoming boot images. For that is there anyt= hing I can contribute to help build them? I've built my own Net and OpenBSD I= SOs in the past for Sparc architectures and I'm fairly familiar with yaboot &= grub2 from workng with PPC Linux. But perhaps there's already a build tools= et for the 32-bit installers that we could leverage? -Gary= From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 15 01:25:58 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B9F01065674; Thu, 15 Jul 2010 01:25:58 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 91E908FC13; Thu, 15 Jul 2010 01:25:56 +0000 (UTC) Received: by vws19 with SMTP id 19so608827vws.13 for ; Wed, 14 Jul 2010 18:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=1pUdUWheeOiOL/LS2vzOJguG4s1Z4iDn4Vl8UkYCCeo=; b=wY8MkMA9kJ4K2VxomJMZ9UaZbcD3mFkq/oFVixcnsB+9MTy0xEiINeLYyUZikNUzNw 177sMnGPMY+n/SvGi1EwnTa8NmlxVWNHPUqV3W/qMxRXtX9OXAHHk361lBBN/XL3bGqm OS1XwEk3ADF1AsbMc4S2X0UyQyAhunzjzC4Gc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=XZGtuPXdN9ZGBVvAg0al2Tu1KZuHgpr7soA3p8CziPrMhD+HAAFmA/SwovwlybRFWB wzDkP2+/SErflKPzAuruGp0vLroaWW1Nz+pimWi/MI/xOgk49Y41eLUoIjkEkBWIVpMk CkTZuY7hQa/8OpxtkZN39D45i5m57pl5lEQHk= Received: by 10.224.95.210 with SMTP id e18mr4841002qan.100.1279157155933; Wed, 14 Jul 2010 18:25:55 -0700 (PDT) Received: from [192.168.1.22] (216-164-48-50.c3-0.gth-ubr1.lnh-gth.md.cable.rcn.com [216.164.48.50]) by mx.google.com with ESMTPS id fb41sm2129545qcb.27.2010.07.14.18.25.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Jul 2010 18:25:55 -0700 (PDT) Message-Id: <4E985BF6-1B3C-4AB6-AC97-EB86AA3873E4@gmail.com> From: Justin Hibbits To: Nathan Whitehorn In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 14 Jul 2010 21:25:53 -0400 References: <20100713164320.40351367@anacreon.physics.wisc.edu> X-Mailer: Apple Mail (2.936) Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Thu, 15 Jul 2010 01:25:58 -0000 On Jul 14, 2010, at 9:17 PM, Nathan Whitehorn wrote: > > On Jul 13, 2010, at 4:43 PM, Nathan Whitehorn wrote: > >> As of r210025, 64-bit PowerPC support is now present in -CURRENT. >> Thanks to all who tested this branch and gave feedback, in particular >> Patrick Kerharo and Andreas Tobler for consultation and endless >> testing, and to Peter Grehan for prodding me into doing this. >> >> Supported hardware: >> - CPUs: PowerPC 970, Cell, POWER4, POWER5, POWER6, POWER7 >> - Machines: Apple Power Macintosh G5, Apple iMac G5, IBM Cell >> Simulator, Sony Playstation 3 (coming soon) >> >> Upgrade instructions: >> >> The safest way to move from a 32-bit to a 64-bit system is to >> reinstall >> the system from scratch. However, there are not yet install CDs (this >> should be fixed soon), and some people may not wish to do this. So, >> for >> the adventurous: > > Anyone interested can now download hot off the presses CDs from > http://people.freebsd.org/~nwhitehorn/FreeBSD-9.0-20100715-SNAP-powerpc64 > -Nathan This is awesome. Downloading the livefs now to test on my G5. - Justin From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 15 17:51:52 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 854501065676 for ; Thu, 15 Jul 2010 17:51:52 +0000 (UTC) (envelope-from gdriggs@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3AC7E8FC1B for ; Thu, 15 Jul 2010 17:51:51 +0000 (UTC) Received: by gxk24 with SMTP id 24so957668gxk.13 for ; Thu, 15 Jul 2010 10:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=jxvpN4OgJjsq568qNqStgQd2b2fDTnW202wJWhjpP0M=; b=GXGwN2vmWDaqNphziudJfAwn1tix/ndx3TLaYdyMycRq+2LJg1L6o0SfEzdkpJnQDA lSX+Q0iDaRaJJsGB9/kx81GEEndpAYgl/5ZEm5Y3TdAjIhOjJ8AlLRgxIuJLPLUwBeiZ xVfVn42buPkmaPEbQk4MxaUyjrtcV34TKHbmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sETJH9nWWIgy7vRuVOFNwLJ+CrdPSBGZo40/zE5ANkMjDhRuJq0z7KQXOn7CxqBLf5 b8aiEWmOtMOnVXwF73fItzRsn7h4pYo46f7mZcGajBTj65SN9JR96yqOVgvueuLVonD5 fmVArWzkLtI29Y4Kaazf7s0+r5h9Qt+9K1Cb0= MIME-Version: 1.0 Received: by 10.224.119.17 with SMTP id x17mr11356246qaq.242.1279216311217; Thu, 15 Jul 2010 10:51:51 -0700 (PDT) Received: by 10.224.60.209 with HTTP; Thu, 15 Jul 2010 10:51:51 -0700 (PDT) In-Reply-To: References: <20100713164320.40351367@anacreon.physics.wisc.edu> Date: Thu, 15 Jul 2010 10:51:51 -0700 Message-ID: From: Gary To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Thu, 15 Jul 2010 17:51:52 -0000 boot from disc one fails to find my hard drives. passing the -v flag to the boot command doesn't work either. -Gary From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 16 02:32:16 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 716E3106566B for ; Fri, 16 Jul 2010 02:32:16 +0000 (UTC) (envelope-from bryan.vyhmeister@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 073978FC12 for ; Fri, 16 Jul 2010 02:32:15 +0000 (UTC) Received: by wwj40 with SMTP id 40so125637wwj.1 for ; Thu, 15 Jul 2010 19:32:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=9yh1mLUmlCZzK6R/3N+wqK9LIgd5AUb7Myrmu77Fj94=; b=J7WZPeasqas8ziCSa1DdjpnBt+yHS1mnVwiP6sA4ticyp06pnqo91ZBmoZjd0cMFFq WCYOpRLle4bJ9JShgk1zJ9nlPyb4b26Ew7ZuxVbu81NP49Y0mPsn0/CdeLUcLVrdHlFl MBHCl/5ikSfQRBGGkbpL4qzep040EUtf0MpjI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=FDxQNhgACnjQMs6GTY0BW4nCBA/bEVAdl19xUUdDsIwQWr9mLfKzVoYdvzuhDJllUv fTh89sxw5CgxHQTynoziDzwsoL7Br7Ukh7KQcTs2w9QnudjhhM7UvIE1PDV+rPDIyCkF 6xEFHdiH9g9zKyEhIDcTiJiQS/tn+vEbEkiv4= MIME-Version: 1.0 Received: by 10.227.155.204 with SMTP id t12mr288829wbw.185.1279245967191; Thu, 15 Jul 2010 19:06:07 -0700 (PDT) Sender: bryan.vyhmeister@gmail.com Received: by 10.216.179.73 with HTTP; Thu, 15 Jul 2010 19:06:07 -0700 (PDT) In-Reply-To: References: <20100713164320.40351367@anacreon.physics.wisc.edu> Date: Thu, 15 Jul 2010 22:06:07 -0400 X-Google-Sender-Auth: 7i7QfXgot3T2NjDeZRUglBq2sK8 Message-ID: From: Bryan Vyhmeister To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Fri, 16 Jul 2010 02:32:16 -0000 On Thu, Jul 15, 2010 at 1:51 PM, Gary wrote: > boot from disc one fails to find my hard drives. passing the -v flag > to the boot command doesn't work either. I had the same experience with my Dual 2.7 GHz PowerMac G5. I also have a Dual 1.8 GHz PowerMac G5 that I can test on tomorrow or over the weekend. Bryan From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 16 14:08:40 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AE44106564A for ; Fri, 16 Jul 2010 14:08:40 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id 2DDED8FC16 for ; Fri, 16 Jul 2010 14:08:39 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed; delsp=yes Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L5N00G04LYF9B00@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Fri, 16 Jul 2010 09:08:39 -0500 (CDT) Received: from [10.0.2.99] ([unknown] [76.210.64.28]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L5N006S7LXI4880@smtpauth3.wiscmail.wisc.edu>; Fri, 16 Jul 2010 09:08:35 -0500 (CDT) Date: Fri, 16 Jul 2010 09:08:07 -0500 From: Nathan Whitehorn In-reply-to: To: Bryan Vyhmeister Message-id: X-Mailer: Apple Mail (2.936) X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.64.28 X-Spam-PmxInfo: Server=avs-14, Version=5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.7.16.135714, SenderIP=76.210.64.28 References: <20100713164320.40351367@anacreon.physics.wisc.edu> Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Fri, 16 Jul 2010 14:08:40 -0000 On Jul 15, 2010, at 9:06 PM, Bryan Vyhmeister wrote: > On Thu, Jul 15, 2010 at 1:51 PM, Gary wrote: >> boot from disc one fails to find my hard drives. passing the -v flag >> to the boot command doesn't work either. > > I had the same experience with my Dual 2.7 GHz PowerMac G5. I also > have a Dual 1.8 GHz PowerMac G5 that I can test on tomorrow or over > the weekend. Does a verbose boot provide any information from the ATA layer about why they are failing to attach? -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 16 14:33:18 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8B12106564A for ; Fri, 16 Jul 2010 14:33:18 +0000 (UTC) (envelope-from bryan.vyhmeister@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 537D68FC15 for ; Fri, 16 Jul 2010 14:33:17 +0000 (UTC) Received: by wyf22 with SMTP id 22so2181003wyf.13 for ; Fri, 16 Jul 2010 07:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=+uVYtTTqo2jtWADiLcC31kTlNAEjuUO50f9/3YCSYrw=; b=VNU2LcXA3kpsdK7clU8Lxv7ZAnGEl3fufnNI8serQpnTCignC/wBwnUfjR8HFcdk4V qAf1YXatCWIWgub800WFTv9/YbqBvgMGmSi7FN45wEbWvFoNEdeCmiXoYjqgI73Wwril xGkdw7OLZiutlGG0Rb7EOlSaPkWcve/Rs5MEM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=tpeWK/aXuk0sP+Fz/hfIoIiS2IbYToyiJ85K+PuruYvKhgnCKCzXr0mrl2oxx/0ahT GDp3dTz94UOliVRMsDWnFkQ6mROL/Jhfvw7n8Xo51V8vNUNerdMuyneE+7IvcLE5VsP5 /FGWSaVtAy99uX4c2V6oBnx/3+bSyTGLupy88= MIME-Version: 1.0 Received: by 10.227.148.79 with SMTP id o15mr979181wbv.150.1279290797223; Fri, 16 Jul 2010 07:33:17 -0700 (PDT) Sender: bryan.vyhmeister@gmail.com Received: by 10.216.179.73 with HTTP; Fri, 16 Jul 2010 07:33:17 -0700 (PDT) In-Reply-To: References: <20100713164320.40351367@anacreon.physics.wisc.edu> Date: Fri, 16 Jul 2010 10:33:17 -0400 X-Google-Sender-Auth: 3NY7cy8IyU6xdQ63WnDp_c9gT_o Message-ID: From: Bryan Vyhmeister To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Fri, 16 Jul 2010 14:33:19 -0000 On Fri, Jul 16, 2010 at 10:08 AM, Nathan Whitehorn wrote: > > On Jul 15, 2010, at 9:06 PM, Bryan Vyhmeister wrote: > >> On Thu, Jul 15, 2010 at 1:51 PM, Gary wrote: >>> >>> boot from disc one fails to find my hard drives. passing the -v flag >>> to the boot command doesn't work either. >> >> I had the same experience with my Dual 2.7 GHz PowerMac G5. I also >> have a Dual 1.8 GHz PowerMac G5 that I can test on tomorrow or over >> the weekend. > > Does a verbose boot provide any information from the ATA layer about why > they are failing to attach? I will try and determine that on the Dual 2.7. I just booted from disc1 on the Dual 1.8 and no hard drives show up with 'boot' but they do with 'boot -v'. I have been unable to use the livefs so far. I burned it to a DVD and tried to boot from it but it won't boot. The computer just spits it out when holding down C at startup. Using disc1 I was able to partition the Dual 1.8 system but I can't install the boot loader without the livefs (I think anyway). Oddly, the livefs mounts as an hfs filesystem on my Mac. Is that correct? Bryan From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 16 15:24:48 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35A4C1065670; Fri, 16 Jul 2010 15:24:48 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id ECDF88FC0C; Fri, 16 Jul 2010 15:24:47 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed; delsp=yes Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L5N00M0CPHBW600@smtpauth3.wiscmail.wisc.edu>; Fri, 16 Jul 2010 10:24:47 -0500 (CDT) Received: from [10.0.2.99] ([unknown] [76.210.64.28]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L5N00H4RPH7PG50@smtpauth3.wiscmail.wisc.edu>; Fri, 16 Jul 2010 10:24:45 -0500 (CDT) Date: Fri, 16 Jul 2010 10:24:49 -0500 From: Nathan Whitehorn In-reply-to: To: Bryan Vyhmeister Message-id: <8E571810-53D4-45CC-9A47-06DD3F44C97B@freebsd.org> X-Mailer: Apple Mail (2.936) X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.64.28 X-Spam-PmxInfo: Server=avs-12, Version=5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.7.16.150914, SenderIP=76.210.64.28 References: <20100713164320.40351367@anacreon.physics.wisc.edu> Cc: mav@freebsd.org, freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Fri, 16 Jul 2010 15:24:48 -0000 On Jul 16, 2010, at 9:33 AM, Bryan Vyhmeister wrote: > On Fri, Jul 16, 2010 at 10:08 AM, Nathan Whitehorn > wrote: >> >> On Jul 15, 2010, at 9:06 PM, Bryan Vyhmeister wrote: >> >>> On Thu, Jul 15, 2010 at 1:51 PM, Gary wrote: >>>> >>>> boot from disc one fails to find my hard drives. passing the -v >>>> flag >>>> to the boot command doesn't work either. >>> >>> I had the same experience with my Dual 2.7 GHz PowerMac G5. I also >>> have a Dual 1.8 GHz PowerMac G5 that I can test on tomorrow or over >>> the weekend. >> >> Does a verbose boot provide any information from the ATA layer >> about why >> they are failing to attach? > > I will try and determine that on the Dual 2.7. I just booted from > disc1 on the Dual 1.8 and no hard drives show up with 'boot' but they > do with 'boot -v'. I have been unable to use the livefs so far. I > burned it to a DVD and tried to boot from it but it won't boot. The > computer just spits it out when holding down C at startup. Using disc1 > I was able to partition the Dual 1.8 system but I can't install the > boot loader without the livefs (I think anyway). Oddly, the livefs > mounts as an hfs filesystem on my Mac. Is that correct? You can install the boot loader from the fixit shell on disc1 (see the guide at http://people.freebsd.org/~nwhitehorn/ppcinstall.txt using gpart from the fixit shell). The livefs should show up as HFS so that you can boot from it. This sounds very much like some kind of timing issue in the SATA driver. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 16 15:43:18 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49EAB106566C; Fri, 16 Jul 2010 15:43:18 +0000 (UTC) (envelope-from bryan.vyhmeister@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A79FD8FC0C; Fri, 16 Jul 2010 15:43:17 +0000 (UTC) Received: by wyf22 with SMTP id 22so2261127wyf.13 for ; Fri, 16 Jul 2010 08:43:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=UWrcwzLtatCTYjj1pd+uvAao51xf18aFu6pRx9+wnnQ=; b=W0/Pg74TdPYC0hEdhp/PKptotrton4olSo3GIx+Z5enchKGxxwp6oPmAFL9KeB9reB z0flkKjTihioN6SiEsMpiDxma8ryZEYW+vHrykJ7PT/CEJucESEIjAOevEo9WmupObAR A7BqjIFjwcTLsvb3kKTeoSZpYo/MVuMqIo82c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=iPU7ZFZeWw6upvUcj/xszxXUqLIIMsiT3poyHSW4PoaDR+Cr5ELVOxbwfBm90kCUoB bFLcyRRSC8I37If5unknT3vGpe3Yy/NHn/0naSIPrLv65D2Btl2e6kmrm8CVH3NP3TT5 1N85++TOlooL0+Wu1Y6qcOar0Do4aoGXKDwi0= MIME-Version: 1.0 Received: by 10.227.127.84 with SMTP id f20mr650947wbs.3.1279294996486; Fri, 16 Jul 2010 08:43:16 -0700 (PDT) Sender: bryan.vyhmeister@gmail.com Received: by 10.216.179.73 with HTTP; Fri, 16 Jul 2010 08:43:16 -0700 (PDT) In-Reply-To: <8E571810-53D4-45CC-9A47-06DD3F44C97B@freebsd.org> References: <20100713164320.40351367@anacreon.physics.wisc.edu> <8E571810-53D4-45CC-9A47-06DD3F44C97B@freebsd.org> Date: Fri, 16 Jul 2010 11:43:16 -0400 X-Google-Sender-Auth: xfpfxkvknerNI-ZMlpWcKPxP_6w Message-ID: From: Bryan Vyhmeister To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Fri, 16 Jul 2010 15:43:18 -0000 On Fri, Jul 16, 2010 at 11:24 AM, Nathan Whitehorn wrote: > > You can install the boot loader from the fixit shell on disc1 (see the guide > at http://people.freebsd.org/~nwhitehorn/ppcinstall.txt using gpart from the > fixit shell). The livefs should show up as HFS so that you can boot from it. > This sounds very much like some kind of timing issue in the SATA driver. That's exactly what I tried to do and I followed those instructions. I just get the error that /boot/boot1.hfs can't be found. Is it in a different path? I tried /mnt and /mnt2 but without ls I can't tell what's in a given directory. I'd be happy to test anything. Bryan From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 16 15:53:12 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D09A11065672 for ; Fri, 16 Jul 2010 15:53:12 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 7ED238FC19 for ; Fri, 16 Jul 2010 15:53:12 +0000 (UTC) Received: from vivi.cc.vt.edu (vivi.cc.vt.edu [198.82.163.43]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id o6GFqeAs020712; Fri, 16 Jul 2010 11:52:40 -0400 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by vivi.cc.vt.edu (MOS 4.1.8-GA FastPath queued) with ESMTP id KSY67283; Fri, 16 Jul 2010 11:52:39 -0400 (EDT) Received: from gromit.tower.lib.vt.edu (gromit.tower.lib.vt.edu [128.173.51.22]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id o6GFqc8P012315 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 16 Jul 2010 11:52:39 -0400 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Paul Mather In-Reply-To: Date: Fri, 16 Jul 2010 11:52:38 -0400 Content-Transfer-Encoding: 7bit Message-Id: <47165B7A-BF76-4C73-B44D-10076EE88673@gromit.dlib.vt.edu> References: <20100713164320.40351367@anacreon.physics.wisc.edu> <8E571810-53D4-45CC-9A47-06DD3F44C97B@freebsd.org> To: Bryan Vyhmeister X-Mailer: Apple Mail (2.1081) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu paul@gromit.dlib.vt.edu 5 none X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Status: score=10/50, host=vivi.cc.vt.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A020209.4C408048.01A3,ss=1,fgs=0, ip=0.0.0.0, so=2009-09-22 00:05:22, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Fri, 16 Jul 2010 15:53:12 -0000 On Jul 16, 2010, at 11:43 AM, Bryan Vyhmeister wrote: > I tried /mnt and /mnt2 but without ls I can't tell > what's in a given directory. I'd be happy to test anything. You can use "echo /sbin/*" to do an "ls" of /sbin, for example. Cheers, Paul. From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 16 16:02:15 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F8D61065675 for ; Fri, 16 Jul 2010 16:02:15 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id 67F278FC24 for ; Fri, 16 Jul 2010 16:02:14 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed; delsp=yes Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L5N00200R7PU500@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Fri, 16 Jul 2010 11:02:13 -0500 (CDT) Received: from [10.0.2.99] ([unknown] [76.210.64.28]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L5N00H3WR7HPG80@smtpauth3.wiscmail.wisc.edu>; Fri, 16 Jul 2010 11:02:06 -0500 (CDT) Date: Fri, 16 Jul 2010 11:02:11 -0500 From: Nathan Whitehorn In-reply-to: To: Bryan Vyhmeister Message-id: <93D37FE3-8D8D-4780-9170-AEE9413C03A2@freebsd.org> X-Mailer: Apple Mail (2.936) X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.64.28 X-Spam-PmxInfo: Server=avs-10, Version=5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.7.16.155415, SenderIP=76.210.64.28 References: <20100713164320.40351367@anacreon.physics.wisc.edu> <8E571810-53D4-45CC-9A47-06DD3F44C97B@freebsd.org> Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Fri, 16 Jul 2010 16:02:15 -0000 On Jul 16, 2010, at 10:43 AM, Bryan Vyhmeister wrote: > On Fri, Jul 16, 2010 at 11:24 AM, Nathan Whitehorn > wrote: >> >> You can install the boot loader from the fixit shell on disc1 (see >> the guide >> at http://people.freebsd.org/~nwhitehorn/ppcinstall.txt using gpart >> from the >> fixit shell). The livefs should show up as HFS so that you can boot >> from it. >> This sounds very much like some kind of timing issue in the SATA >> driver. > > That's exactly what I tried to do and I followed those instructions. I > just get the error that /boot/boot1.hfs can't be found. Is it in a > different path? I tried /mnt and /mnt2 but without ls I can't tell > what's in a given directory. I'd be happy to test anything. > > Bryan Ah, right. It's on the CD root (which is in /mnt?), not the MFS root. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 16 17:16:52 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6039E106566C for ; Fri, 16 Jul 2010 17:16:52 +0000 (UTC) (envelope-from gdriggs@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2B27D8FC1B for ; Fri, 16 Jul 2010 17:16:52 +0000 (UTC) Received: by pzk7 with SMTP id 7so840298pzk.13 for ; Fri, 16 Jul 2010 10:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:in-reply-to :mime-version:content-transfer-encoding:content-type:message-id:cc :x-mailer:from:subject:date:to; bh=m/lzcQqcNqYw9P66yy5FHoD8FGgdos2IBbFhzJ74Pxw=; b=M42wQKunRtpeogUTtcS9HLt2nDrdGZFWR4Q4HaomQKwdzsE/mS9sxruzKUkEcp4PCD MOv4UtaKlRcviR6QdzFkEGmT8ZeZEQY2W1gbzmybl8OV1pD1R0BaqRQQGEBuYkBixYFZ 6k1/7vxZsig7h+A6NfbEN6s7wJz3MBv7nhRVg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; b=jnxRy2WC98SHk1FCCokTLVaq13NH5iwGMjHTFiI/X62a5/+a069mcVoyqiYGJhl0kM K1ECRnk++EpE+NZaHg7v3q2N30N1lyauV54ijmI4aLXjnB4vt3jbTdccsc6fV6O+F0yB MvGVpLKcwc6xfgZ3WEnCI1lUFNH59n4II0dCY= Received: by 10.114.235.10 with SMTP id i10mr2027579wah.61.1279300611633; Fri, 16 Jul 2010 10:16:51 -0700 (PDT) Received: from [192.168.111.29] ([69.64.225.246]) by mx.google.com with ESMTPS id s5sm25035602wak.0.2010.07.16.10.16.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 Jul 2010 10:16:50 -0700 (PDT) References: <20100713164320.40351367@anacreon.physics.wisc.edu> In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8A306) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <6DF0A52A-9804-4D9A-849C-B4AA3EBF877B@gmail.com> X-Mailer: iPhone Mail (8A306) From: Gary Driggs Date: Fri, 16 Jul 2010 10:16:17 -0700 To: Bryan Vyhmeister Cc: "freebsd-ppc@freebsd.org" Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Fri, 16 Jul 2010 17:16:52 -0000 On Jul 16, 2010, at 7:33 AM, Bryan Vyhmeister wrote: >I have been unable to use the livefs so far. I > burned it to a DVD and tried to boot from it but it won't boot. The comput= er just spits it out when holding down C at startup. I've had the same problem with OS X discs that were burnt on darker colored d= iscs so you might try switching to a different brand. -Gary= From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 16 22:57:43 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DF341065676; Fri, 16 Jul 2010 22:57:43 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.freebsd.org (Postfix) with ESMTP id A54BB8FC12; Fri, 16 Jul 2010 22:57:42 +0000 (UTC) Received: from ingolia-lxp.hq.netapp.com (c-76-120-89-251.hsd1.co.comcast.net [76.120.89.251]) by dommail.onthenet.com.au (MOS 4.1.8-GA) with ESMTP id AOF18180 (AUTH peterg@ptree32.com.au); Sat, 17 Jul 2010 08:57:39 +1000 Message-ID: <4C40E3DB.2050305@freebsd.org> Date: Fri, 16 Jul 2010 16:57:31 -0600 From: Peter Grehan User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Nathan Whitehorn References: <20100713164320.40351367@anacreon.physics.wisc.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Fri, 16 Jul 2010 22:57:43 -0000 > http://people.freebsd.org/~nwhitehorn/FreeBSD-9.0-20100715-SNAP-powerpc64 This booted fine on the first (1.6GHz 7,2) and last (quad 2.5GHz 11,2) G5 towers. Now to try an install :) later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 17 00:19:28 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 083B3106567C; Sat, 17 Jul 2010 00:19:28 +0000 (UTC) (envelope-from bryan.vyhmeister@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9888FC14; Sat, 17 Jul 2010 00:19:26 +0000 (UTC) Received: by wyf22 with SMTP id 22so2821688wyf.13 for ; Fri, 16 Jul 2010 17:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=i7uGobijDOemkrk0HZ9dkjVTKshPzsWqymkzwnkkREU=; b=gRulZZr73oUTaFAQ0Cqtjr+7NHb8Bm3R+UqwDdP+L7fyK4kn7k4DxEgS0ruUf/bJGw DKjIZO8OvB/uL0s1dLLMUDdG9jxu4PSGlPYSpSPEyunGTVnC+I1B/vco51HUEKbeManV CAKim35ZwDG0jhtND93xa8KLjbju/LTaSs1xI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=REYkQlTMsmfeRF1UYgelwmRe/3z0lTGGBXrbQw4mdBLjnrqPAaEsVg3g0oZI0UBmtH mGSvT/ddH/3QQ8/RZGTe9+51ghlUlwDyCqTHe5w6fKZ5aH4gzwguwoY1/5FYzRP4PQNN ddm3K18QBPr5WBDkw51fZkbeUt2du7Zw04HZQ= MIME-Version: 1.0 Received: by 10.227.157.70 with SMTP id a6mr1499457wbx.163.1279325966124; Fri, 16 Jul 2010 17:19:26 -0700 (PDT) Sender: bryan.vyhmeister@gmail.com Received: by 10.216.179.73 with HTTP; Fri, 16 Jul 2010 17:19:26 -0700 (PDT) In-Reply-To: <4C40E3DB.2050305@freebsd.org> References: <20100713164320.40351367@anacreon.physics.wisc.edu> <4C40E3DB.2050305@freebsd.org> Date: Fri, 16 Jul 2010 20:19:26 -0400 X-Google-Sender-Auth: 3mgsIfzWn3LmeC-Humaze5u9WDw Message-ID: From: Bryan Vyhmeister To: Peter Grehan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Sat, 17 Jul 2010 00:19:28 -0000 On Fri, Jul 16, 2010 at 6:57 PM, Peter Grehan wrote: >> http://people.freebsd.org/~nwhitehorn/FreeBSD-9.0-20100715-SNAP-powerpc6= 4 > > =A0This booted fine on the first (1.6GHz 7,2) and last (quad 2.5GHz 11,2)= G5 > towers. Now to try an install :) Out of curiosity, how much memory was in each of these systems? I think both of my systems have 4 GB of RAM. Could that make any difference on the SATA side? Bryan From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 17 04:20:54 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0EE81065677; Sat, 17 Jul 2010 04:20:54 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 933C28FC1C; Sat, 17 Jul 2010 04:20:54 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 7FEDD582C7; Fri, 16 Jul 2010 23:20:53 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id 1O8o6CSIAJj6; Fri, 16 Jul 2010 23:20:53 -0500 (CDT) Received: from wanderer.tachypleus.net (unknown [76.210.64.28]) by mail.icecube.wisc.edu (Postfix) with ESMTP id F26C4582C5; Fri, 16 Jul 2010 23:20:52 -0500 (CDT) Message-ID: <4C412FA3.6000405@freebsd.org> Date: Fri, 16 Jul 2010 23:20:51 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100627 Thunderbird/3.0.5 MIME-Version: 1.0 To: Bryan Vyhmeister References: <20100713164320.40351367@anacreon.physics.wisc.edu> <4C40E3DB.2050305@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Peter Grehan , freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Sat, 17 Jul 2010 04:20:54 -0000 On 07/16/10 19:19, Bryan Vyhmeister wrote: > On Fri, Jul 16, 2010 at 6:57 PM, Peter Grehan wrote: > >>> http://people.freebsd.org/~nwhitehorn/FreeBSD-9.0-20100715-SNAP-powerpc64 >>> >> This booted fine on the first (1.6GHz 7,2) and last (quad 2.5GHz 11,2) G5 >> towers. Now to try an install :) >> > Out of curiosity, how much memory was in each of these systems? I > think both of my systems have 4 GB of RAM. Could that make any > difference on the SATA side? > I don't think so, especially since drive detection is a PIO operation. My work desktop has 5.5 GB, and has performed well in daily use for several months now. I strongly suspect there is some kind of timeout in ATA device detection that is ever-so-slightly too short with some controllers, and that that is causing the problem here. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 17 05:37:38 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D9F01065674; Sat, 17 Jul 2010 05:37:38 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.freebsd.org (Postfix) with ESMTP id 559AC8FC18; Sat, 17 Jul 2010 05:37:36 +0000 (UTC) Received: from petern-lxp.hq.netapp.com (c-76-120-89-251.hsd1.co.comcast.net [76.120.89.251]) by dommail.onthenet.com.au (MOS 4.1.8-GA) with ESMTP id AOF25560 (AUTH peterg@ptree32.com.au); Sat, 17 Jul 2010 15:37:23 +1000 Message-ID: <4C41418F.40808@freebsd.org> Date: Fri, 16 Jul 2010 23:37:19 -0600 From: Peter Grehan User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Bryan Vyhmeister References: <20100713164320.40351367@anacreon.physics.wisc.edu> <4C40E3DB.2050305@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Sat, 17 Jul 2010 05:37:38 -0000 Hi Bryan, > On Fri, Jul 16, 2010 at 6:57 PM, Peter Grehan wrote: >>> http://people.freebsd.org/~nwhitehorn/FreeBSD-9.0-20100715-SNAP-powerpc64 >> This booted fine on the first (1.6GHz 7,2) and last (quad 2.5GHz 11,2) G5 >> towers. Now to try an install :) > > Out of curiosity, how much memory was in each of these systems? I > think both of my systems have 4 GB of RAM. Could that make any > difference on the SATA side? The 11,2 has 4.5G, and the 7,2 has 512M. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 17 13:44:36 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1FB31065675 for ; Sat, 17 Jul 2010 13:44:36 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id B94258FC18 for ; Sat, 17 Jul 2010 13:44:36 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 55B0D582C5 for ; Sat, 17 Jul 2010 08:44:36 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id O7DGTF1x7JFe for ; Sat, 17 Jul 2010 08:44:36 -0500 (CDT) Received: from wanderer.tachypleus.net (unknown [76.210.64.28]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 07ABC582C4 for ; Sat, 17 Jul 2010 08:44:35 -0500 (CDT) Message-ID: <4C41B3C3.3000701@freebsd.org> Date: Sat, 17 Jul 2010 08:44:35 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100627 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-ppc@freebsd.org References: <20100713164320.40351367@anacreon.physics.wisc.edu> In-Reply-To: <20100713164320.40351367@anacreon.physics.wisc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ANNOUNCE: powerpc64 now in -CURRENT 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: Sat, 17 Jul 2010 13:44:37 -0000 On 07/13/10 16:43, Nathan Whitehorn wrote: > As of r210025, 64-bit PowerPC support is now present in -CURRENT. > Thanks to all who tested this branch and gave feedback, in particular > Patrick Kerharo and Andreas Tobler for consultation and endless > testing, and to Peter Grehan for prodding me into doing this. > > Supported hardware: > - CPUs: PowerPC 970, Cell, POWER4, POWER5, POWER6, POWER7 > - Machines: Apple Power Macintosh G5, Apple iMac G5, IBM Cell > Simulator, Sony Playstation 3 (coming soon) > > New Features: > - Support for> 2 GB of RAM > - ZFS (patches under review, not yet in -CURRENT) > ZFS has now transitioned from 'coming soon' to 'in -CURRENT'. Please be aware that it has had extremely limited testing so far -- I made a zfs filesystem on my desktop and then checked out a ports tree into it -- so treat it with caution for the time being. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 17 14:22:42 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 022E8106564A; Sat, 17 Jul 2010 14:22:42 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 7AAF98FC0C; Sat, 17 Jul 2010 14:22:40 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-8-131.flashcable.ch [91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id o6HEMcue081857; Sat, 17 Jul 2010 16:22:39 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4C41BCAD.4000804@fgznet.ch> Date: Sat, 17 Jul 2010 16:22:37 +0200 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.4) Gecko/20100608 Lightning/1.0b2 Thunderbird/3.1 MIME-Version: 1.0 To: Peter Grehan , FreeBSD PowerPC ML Content-Type: multipart/mixed; boundary="------------040202070802070908080903" X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: [RFC/T] fan control unit driver for PowerMac 7.2 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: Sat, 17 Jul 2010 14:22:42 -0000 This is a multi-part message in MIME format. --------------040202070802070908080903 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Peter, others Over the past few moons I've written a fcu driver (with Nathans help) which should allow to control the fans in the older PowerMac7.2. I'll post it here to get some feedback from you and others. To make it work you need to place it in sys/powerpc/powermac In the sys/conf/files.powerpc(64) you need to add this: powerpc/powermac/fcu.c optional powermac I developed the driver on the powermac64 branch. But I expect it to work also on 32-bit. But... I have one issue which is not solved yet. To make it read the i2c devices I had to increase the DELAY in kiic_writereg to 100. This might be specific to my G5, a dual 1.8GHz machine. Currently it is one big file with several sub components. I'd welcome some feedback. TIA, Andreas --------------040202070802070908080903-- From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 17 14:30:26 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53785106566B; Sat, 17 Jul 2010 14:30:26 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 04B298FC13; Sat, 17 Jul 2010 14:30:24 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-8-131.flashcable.ch [91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id o6HEULgU094394; Sat, 17 Jul 2010 16:30:22 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4C41BE7D.3060409@fgznet.ch> Date: Sat, 17 Jul 2010 16:30:21 +0200 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.4) Gecko/20100608 Lightning/1.0b2 Thunderbird/3.1 MIME-Version: 1.0 To: Peter Grehan , FreeBSD PowerPC ML References: <4C41BCAD.4000804@fgznet.ch> In-Reply-To: <4C41BCAD.4000804@fgznet.ch> Content-Type: multipart/mixed; boundary="------------080302010006090800020201" X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: Subject: Re: [RFC/T] fan control unit driver for PowerMac 7.2 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: Sat, 17 Jul 2010 14:30:26 -0000 This is a multi-part message in MIME format. --------------080302010006090800020201 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 17.07.10 16:22, Andreas Tobler wrote: > Hi Peter, others > > Over the past few moons I've written a fcu driver (with Nathans help) > which should allow to control the fans in the older PowerMac7.2. > > I'll post it here to get some feedback from you and others. > > To make it work you need to place it in sys/powerpc/powermac > In the sys/conf/files.powerpc(64) you need to add this: > > powerpc/powermac/fcu.c optional powermac > > I developed the driver on the powermac64 branch. But I expect it to work > also on 32-bit. But... > > I have one issue which is not solved yet. To make it read the i2c > devices I had to increase the DELAY in kiic_writereg to 100. This might > be specific to my G5, a dual 1.8GHz machine. > > Currently it is one big file with several sub components. > > I'd welcome some feedback. I wonder if this works better. --------------080302010006090800020201 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="fcu.c" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="fcu.c" /*- * Copyright (c) 2010 Andreas Tobler * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include __FBSDID("$FreeBSD: head/sys/powerpc/powermac/fcu.c xxxx 2010-07-15 $"); #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* FCU registers * /u3@0,f8000000/i2c@f8001000/fan@15e */ #define FCU_RPM_FAIL 0x0b /* fans states in bits 0<1-6>7 */ #define FCU_RPM_AVAILABLE 0x0c #define FCU_RPM_ACTIVE 0x0d #define FCU_RPM_READ(x) 0x11 + (x) * 2 #define FCU_RPM_SET(x) 0x10 + (x) * 2 #define FCU_PWM_FAIL 0x2b #define FCU_PWM_AVAILABLE 0x2c #define FCU_PWM_ACTIVE 0x2d #define FCU_PWM_READ(x) 0x31 + (x) * 2 #define FCU_PWM_SET(x) 0x30 + (x) * 2 struct fcu_fan { int id; cell_t min_rpm; cell_t max_rpm; char location[32]; enum { FCU_FAN_RPM, FCU_FAN_PWM } type; int setpoint; }; struct fcu_softc { device_t sc_dev; struct intr_config_hook enum_hook; uint32_t sc_addr; struct fcu_fan *sc_fans; int sc_nfans; }; static int fcu_rpm_shift; /* Regular bus attachment functions */ static int fcu_probe(device_t); static int fcu_attach(device_t); /* Utility functions */ static void fcu_attach_fans(device_t dev); static int fcu_fill_fan_prop(device_t dev); static int fcu_fan_set_rpm(device_t dev, struct fcu_fan *fan, int rpm); static int fcu_fan_get_rpm(device_t dev, struct fcu_fan *fan, int *rpm); static void fcu_start(void *xdev); /* Generic i2c read/write functions. */ static int write_i2c(device_t dev, uint32_t addr, uint8_t reg, uint8_t *buf, int len); static int read_i2c_1(device_t dev, uint32_t addr, uint8_t reg, uint8_t *data); static int read_i2c_2(device_t dev, uint32_t addr, uint8_t reg, uint16_t *data); static device_method_t fcu_methods[] = { /* Device interface */ DEVMETHOD(device_probe, fcu_probe), DEVMETHOD(device_attach, fcu_attach), { 0, 0 }, }; static driver_t fcu_driver = { "fcu", fcu_methods, sizeof(struct fcu_softc) }; static devclass_t fcu_devclass; DRIVER_MODULE(fcu, iicbus, fcu_driver, fcu_devclass, 0, 0); MALLOC_DEFINE(M_FCU, "fcu", "FCU Sensor Information"); /* Generic i2c read/write functions. */ static int write_i2c(device_t dev, uint32_t addr, uint8_t reg, uint8_t *buff, int len) { unsigned char buf[4]; struct iic_msg msg[] = { {addr, IIC_M_WR, 0, buf } }; msg[0].len = len + 1; buf[0] = reg; memcpy(buf + 1, buff, len); if (iicbus_transfer(dev, msg, 1) != 0) { device_printf(dev, "iicbus write failed\n"); return (EIO); } return (0); } static int read_i2c_1(device_t dev, uint32_t addr, uint8_t reg, uint8_t *data) { uint8_t buf[4]; struct iic_msg msg[2] = { {addr, IIC_M_WR | IIC_M_NOSTOP, 1, ®}, {addr, IIC_M_RD, 1, buf}, }; if (iicbus_transfer(dev, msg, 2) != 0) { device_printf(dev, "iicbus read failed\n"); return (EIO); } *data = *((uint8_t*)buf); return (0); } static int read_i2c_2(device_t dev, uint32_t addr, uint8_t reg, uint16_t *data) { uint8_t buf[4]; struct iic_msg msg[2] = { {addr, IIC_M_WR | IIC_M_NOSTOP, 1, ®}, {addr, IIC_M_RD, 2, buf}, }; if (iicbus_transfer(dev, msg, 2) != 0) { device_printf(dev, "iicbus read failed\n"); return (EIO); } *data = *((uint16_t*)buf); return (0); } /* FCU starts here. */ static int fcu_probe(device_t dev) { const char *name, *compatible; struct fcu_softc *sc; name = ofw_bus_get_name(dev); compatible = ofw_bus_get_compat(dev); if (!name) return (ENXIO); if (strcmp(name, "fan") != 0 || strcmp(compatible, "fcu") != 0) return (ENXIO); sc = device_get_softc(dev); sc->sc_dev = dev; sc->sc_addr = iicbus_get_addr(dev); device_set_desc(dev, "Apple Fan Control Unit"); return (0); } static int fcu_attach(device_t dev) { struct fcu_softc *sc; sc = device_get_softc(dev); sc->enum_hook.ich_func = fcu_start; sc->enum_hook.ich_arg = dev; /* We have to wait until interrupts are enabled. I2C read and write * only works if the interrupts are available. * The unin/i2c is controlled by the htpic on unin. But this is not * the master. The openpic on mac-io is controlling the htpic. * This one gets attached after the mac-io probing and then the * interrupts will be available. */ if (config_intrhook_establish(&sc->enum_hook) != 0) return (ENOMEM); return (0); } static void fcu_start(void *xdev) { unsigned char buf[1] = { 0xff }; struct fcu_softc *sc; device_t dev = (device_t)xdev; sc = device_get_softc(dev); /* Start the fcu device. */ write_i2c(sc->sc_dev, sc->sc_addr, 0xe, buf, 1); write_i2c(sc->sc_dev, sc->sc_addr, 0x2e, buf, 1); read_i2c_1(sc->sc_dev, sc->sc_addr, 0, buf); fcu_rpm_shift = (buf[0] == 1) ? 2 : 3; device_printf(dev, "FCU initialized, RPM shift: %d\n", fcu_rpm_shift); /* * Detect and attach child devices. */ fcu_attach_fans(dev); config_intrhook_disestablish(&sc->enum_hook); } /* * Sensor and fan management */ static int fcu_fan_set_rpm(device_t dev, struct fcu_fan *fan, int rpm) { uint8_t reg; struct fcu_softc *sc; unsigned char buf[2]; sc = device_get_softc(dev); /* Clamp to allowed range */ rpm = max(fan->min_rpm, rpm); rpm = min(fan->max_rpm, rpm); if (fan->type == FCU_FAN_RPM) { reg = FCU_RPM_SET(fan->id); fan->setpoint = rpm; } else if (fan->type == FCU_FAN_PWM) { reg = FCU_PWM_SET(fan->id); if (rpm > 3500) rpm = 3500; if (rpm < 500) rpm = 500; fan->setpoint = rpm; /* PWM 30: 550 rpm, PWM 255: 3400 rpm. */ rpm = (rpm * 255) / 3500; } else { device_printf(dev, "Unknown fan type: %d\n", fan->type); return (EIO); } if (fan->type == FCU_FAN_RPM) { buf[0] = rpm >> (8 - fcu_rpm_shift); buf[1] = rpm << fcu_rpm_shift; write_i2c(sc->sc_dev, sc->sc_addr, reg, buf, 2); } else { buf[0] = rpm; write_i2c(sc->sc_dev, sc->sc_addr, reg, buf, 1); } return (0); } static int fcu_fan_get_rpm(device_t dev, struct fcu_fan *fan, int *rpm) { uint8_t reg; struct fcu_softc *sc; uint8_t buff[2] = { 0, 0 }; uint8_t active = 0, avail = 0, fail = 0; sc = device_get_softc(dev); if (fan->type == FCU_FAN_RPM) { /* Check if the fan is available. */ reg = FCU_RPM_AVAILABLE; read_i2c_1(sc->sc_dev, sc->sc_addr, reg, &avail); if ((avail & (1 << fan->id)) == 0) { device_printf(dev, "RPM Fan not available ID: %d\n", fan->id); return (EIO); } /* Check if we have a failed fan. */ reg = FCU_RPM_FAIL; read_i2c_1(sc->sc_dev, sc->sc_addr, reg, &fail); if ((fail & (1 << fan->id)) != 0) { device_printf(dev, "RPM Fan failed ID: %d\n", fan->id); return (EIO); } /* Check if fan is active. */ reg = FCU_RPM_ACTIVE; read_i2c_1(sc->sc_dev, sc->sc_addr, reg, &active); if ((active & (1 << fan->id)) == 0) { device_printf(dev, "RPM Fan not active ID: %d\n", fan->id); return (ENXIO); } reg = FCU_RPM_READ(fan->id); } else if (fan->type == FCU_FAN_PWM) { /* Check if the fan is available. */ reg = FCU_PWM_AVAILABLE; read_i2c_1(sc->sc_dev, sc->sc_addr, reg, &avail); if ((avail & (1 << fan->id)) == 0) { device_printf(dev, "PWM Fan not available ID: %d\n", fan->id); return (EIO); } /* Check if we have a failed fan. */ reg = FCU_PWM_FAIL; read_i2c_1(sc->sc_dev, sc->sc_addr, reg, &fail); if ((fail & (1 << fan->id)) != 0) { device_printf(dev, "PWM Fan failed ID: %d\n", fan->id); return (EIO); } /* Check if fan is active. */ reg = FCU_PWM_ACTIVE; read_i2c_1(sc->sc_dev, sc->sc_addr, reg, &active); if ((active & (1 << fan->id)) == 0) { device_printf(dev, "PWM Fan not active ID: %d\n", fan->id); return (ENXIO); } reg = FCU_PWM_READ(fan->id); } else { device_printf(dev, "Unknown fan type: %d\n", fan->type); return (EIO); } /* It seems that we can read the fans rpm. */ read_i2c_1(sc->sc_dev, sc->sc_addr, reg, buff); *rpm = (buff[0] << (8 - fcu_rpm_shift)) | buff[1] >> fcu_rpm_shift; return (0); } /* * This function returns the number of fans. If we call it the second time * and we have allocated memory for sc->sc_fans, we fill in the properties. */ static int fcu_fill_fan_prop(device_t dev) { phandle_t child; struct fcu_softc *sc; int i = 0, j, len = 0, prop_len, prev_len = 0; sc = device_get_softc(dev); child = ofw_bus_get_node(dev); /* Fill the fan location property. */ prop_len = OF_getproplen(child, "hwctrl-location"); char location[prop_len]; OF_getprop(child, "hwctrl-location", location, sizeof(location)); while (len < prop_len) { if (sc->sc_fans != NULL) { strcpy(sc->sc_fans[i].location, location + len); } prev_len = strlen(location + len) + 1; len += prev_len; i++; } if (sc->sc_fans == NULL) return (i); /* Fill the fan type property. */ len = 0; i = 0; prev_len = 0; prop_len = OF_getproplen(child, "hwctrl-type"); char type[prop_len]; OF_getprop(child, "hwctrl-type", type, sizeof(type)); while (len < prop_len) { if (strcmp(type + len, "fan-rpm") == 0) sc->sc_fans[i].type = FCU_FAN_RPM; else sc->sc_fans[i].type = FCU_FAN_PWM; prev_len = strlen(type + len) + 1; len += prev_len; i++; } /* Fill the fan ID property. */ prop_len = OF_getproplen(child, "hwctrl-id"); u_int id[prop_len / 4]; OF_getprop(child, "hwctrl-id", id, sizeof(id)); for (j = 0; j < i; j++) sc->sc_fans[j].id = ((id[j] >> 8) & 0x0f) % 8; return (i); } static int fcu_fanrpm_sysctl(SYSCTL_HANDLER_ARGS) { device_t fcu; struct fcu_softc *sc; struct fcu_fan *fan; int rpm = 0, error; fcu = arg1; sc = device_get_softc(fcu); fan = &sc->sc_fans[arg2]; fcu_fan_get_rpm(fcu, fan, &rpm); error = sysctl_handle_int(oidp, &rpm, 0, req); if (error || !req->newptr) return (error); return (fcu_fan_set_rpm(fcu, fan, rpm)); } static void fcu_attach_fans(device_t dev) { struct fcu_softc *sc; struct sysctl_oid *oid, *fanroot_oid; struct sysctl_ctx_list *ctx; phandle_t child; char sysctl_name[32]; int i, j; sc = device_get_softc(dev); sc->sc_nfans = 0; child = ofw_bus_get_node(dev); /* Count the actual number of fans. */ sc->sc_nfans = fcu_fill_fan_prop(dev); device_printf(dev, "%d fans detected!\n", sc->sc_nfans); if (sc->sc_nfans == 0) { device_printf(dev, "WARNING: No fans detected!\n"); return; } sc->sc_fans = malloc(sc->sc_nfans * sizeof(struct fcu_fan), M_FCU, M_WAITOK | M_ZERO); ctx = device_get_sysctl_ctx(dev); fanroot_oid = SYSCTL_ADD_NODE(ctx, SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO, "fans", CTLFLAG_RD, 0, "FCU Fan Information"); /* Now we can fill the properties into the allocated struct. */ sc->sc_nfans = fcu_fill_fan_prop(dev); /* Add sysctls for the fans. */ for (i = 0; i < sc->sc_nfans; i++) { for (j = 0; j < strlen(sc->sc_fans[i].location); j++) { sysctl_name[j] = tolower(sc->sc_fans[i].location[j]); if (isspace(sysctl_name[j])) sysctl_name[j] = '_'; } sysctl_name[j] = 0; sc->sc_fans[i].min_rpm = 2400 >> fcu_rpm_shift; sc->sc_fans[i].max_rpm = 56000 >> fcu_rpm_shift; fcu_fan_get_rpm(dev, &sc->sc_fans[i], &sc->sc_fans[i].setpoint); oid = SYSCTL_ADD_NODE(ctx, SYSCTL_CHILDREN(fanroot_oid), OID_AUTO, sysctl_name, CTLFLAG_RD, 0, "Fan Information"); SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, "minrpm", CTLTYPE_INT | CTLFLAG_RD, &(sc->sc_fans[i].min_rpm), sizeof(cell_t), "Minimum allowed RPM"); SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, "maxrpm", CTLTYPE_INT | CTLFLAG_RD, &(sc->sc_fans[i].max_rpm), sizeof(cell_t), "Maximum allowed RPM"); /* I use i to pass the fan id. */ SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, "rpm", CTLTYPE_INT | CTLFLAG_RW, dev, i, fcu_fanrpm_sysctl, "I", "Fan RPM"); } /* Dump fan location, type & RPM. */ if (bootverbose) { device_printf(dev, "Fans\n"); for (i = 0; i < sc->sc_nfans; i++) { device_printf(dev, "Location: %s type: %d ID: %d RPM: %d\n", sc->sc_fans[i].location, sc->sc_fans[i].type, sc->sc_fans[i].id, sc->sc_fans[i].setpoint); } } } /* Temperature sensors stuff. */ #define FCU_ZERO_C_TO_K 2732 /* Drivebay sensor: LM75/DS1775. */ #define DS1775_TEMP 0x0 struct ds1775_sensor { char location[32]; }; static int ds1775_probe(device_t); static int ds1775_attach(device_t); static int ds1775_sensor_sysctl(SYSCTL_HANDLER_ARGS); static void ds1775_start(void *xdev); struct ds1775_softc { device_t sc_dev; struct intr_config_hook enum_hook; uint32_t sc_addr; struct ds1775_sensor *sc_sensors; }; static device_method_t ds1775_methods[] = { /* Device interface */ DEVMETHOD(device_probe, ds1775_probe), DEVMETHOD(device_attach, ds1775_attach), { 0, 0 }, }; static driver_t ds1775_driver = { "tm", ds1775_methods, sizeof(struct ds1775_softc) }; static devclass_t ds1775_devclass; DRIVER_MODULE(tm, iicbus, ds1775_driver, ds1775_devclass, 0, 0); MALLOC_DEFINE(M_TM, "tm", "Temp-Monitor DS1775"); static int ds1775_probe(device_t dev) { const char *name, *compatible; struct ds1775_softc *sc; name = ofw_bus_get_name(dev); compatible = ofw_bus_get_compat(dev); if (!name) return (ENXIO); if (strcmp(name, "temp-monitor") != 0 || strcmp(compatible, "ds1775") != 0) return (ENXIO); sc = device_get_softc(dev); sc->sc_dev = dev; sc->sc_addr = iicbus_get_addr(dev); device_set_desc(dev, "Temp-Monitor DS1755"); return (0); } static int ds1775_attach(device_t dev) { struct ds1775_softc *sc; sc = device_get_softc(dev); sc->enum_hook.ich_func = ds1775_start; sc->enum_hook.ich_arg = dev; /* We have to wait until interrupts are enabled. I2C read and write * only works if the interrupts are available. * The unin/i2c is controlled by the htpic on unin. But this is not * the master. The openpic on mac-io is controlling the htpic. * This one gets attached after the mac-io probing and then the * interrupts will be available. */ if (config_intrhook_establish(&sc->enum_hook) != 0) return (ENOMEM); return (0); } static void ds1775_start(void *xdev) { phandle_t child; struct ds1775_softc *sc; struct ds1775_sensor *sens; struct sysctl_oid *sensroot_oid; struct sysctl_ctx_list *ctx; int i; device_t dev = (device_t)xdev; sc = device_get_softc(dev); child = ofw_bus_get_node(dev); sc->sc_sensors = malloc (sizeof(struct ds1775_sensor), M_TM, M_WAITOK | M_ZERO); sens = sc->sc_sensors; ctx = device_get_sysctl_ctx(dev); sensroot_oid = device_get_sysctl_tree(dev); char sysctl_name[40], sysctl_desc[40]; const char *units; OF_getprop(child, "hwsensor-location", sens->location, sizeof(sens->location)); units = "C"; for (i = 0; i < strlen(sens->location); i++) { sysctl_name[i] = tolower(sens->location[i]); if (isspace(sysctl_name[i])) sysctl_name[i] = '_'; } sysctl_name[i] = 0; sprintf(sysctl_desc,"%s (%s)", sens->location, units); SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(sensroot_oid), OID_AUTO, sysctl_name, CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE, dev, 0, ds1775_sensor_sysctl, "IK", sysctl_desc); config_intrhook_disestablish(&sc->enum_hook); } static int ds1775_sensor_read(device_t dev, struct ds1775_sensor *sens, int *temp) { struct ds1775_softc *sc; uint16_t buf[2]; uint16_t read; sc = device_get_softc(dev); read_i2c_2(sc->sc_dev, sc->sc_addr, DS1775_TEMP, buf); read = *((int16_t *)buf); /* The default mode of the ADC is 9 bit, the resolution is 0.5 C per bit. The temperature is in tenth kelvin. */ *temp = ((int16_t)(read) >> 7) * 5; return (0); } static int ds1775_sensor_sysctl(SYSCTL_HANDLER_ARGS) { device_t dev; struct ds1775_softc *sc; struct ds1775_sensor *sens; int value; int error; unsigned int temp; dev = arg1; sc = device_get_softc(dev); sens = &sc->sc_sensors[arg2]; error = ds1775_sensor_read(dev, sens, &value); if (error != 0) return (error); temp = value + FCU_ZERO_C_TO_K; error = sysctl_handle_int(oidp, &temp, 0, req); return (error); } /* Inlet, Backside, U3 Heatsink sensor: MAX6690. */ #define MAX6690_INT_TEMP 0x0 #define MAX6690_EXT_TEMP 0x1 #define MAX6690_EEXT_TEMP 0x10 #define MAX6690_IEXT_TEMP 0x11 #define MAX6690_TEMP_MASK 0xe0 struct max6690_sensor { int id; char location[32]; }; static int max6690_probe(device_t); static int max6690_attach(device_t); static int max6690_sensor_sysctl(SYSCTL_HANDLER_ARGS); static void max6690_start(void *xdev); struct max6690_softc { device_t sc_dev; struct intr_config_hook enum_hook; uint32_t sc_addr; struct max6690_sensor *sc_sensors; int sc_nsensors; }; static device_method_t max6690_methods[] = { /* Device interface */ DEVMETHOD(device_probe, max6690_probe), DEVMETHOD(device_attach, max6690_attach), { 0, 0 }, }; static driver_t max6690_driver = { "tm1", max6690_methods, sizeof(struct max6690_softc) }; static devclass_t max6690_devclass; DRIVER_MODULE(tm1, iicbus, max6690_driver, max6690_devclass, 0, 0); MALLOC_DEFINE(M_TM1, "tm1", "Temp-Monitor MAX6690"); static int max6690_probe(device_t dev) { const char *name, *compatible; struct max6690_softc *sc; name = ofw_bus_get_name(dev); compatible = ofw_bus_get_compat(dev); if (!name) return (ENXIO); if (strcmp(name, "temp-monitor") != 0 || strcmp(compatible, "max6690") != 0) return (ENXIO); sc = device_get_softc(dev); sc->sc_dev = dev; sc->sc_addr = iicbus_get_addr(dev); device_set_desc(dev, "Temp-Monitor MAX6690"); return (0); } /* * This function returns the number of sensors. If we call it the second time * and we have allocated memory for sc->sc_sensors, we fill in the properties. */ static int max6690_fill_sensor_prop(device_t dev) { phandle_t child; struct max6690_softc *sc; int i = 0, j, len = 0, prop_len, prev_len = 0; sc = device_get_softc(dev); child = ofw_bus_get_node(dev); /* Fill the sensor location property. */ prop_len = OF_getproplen(child, "hwsensor-location"); char location[prop_len]; OF_getprop(child, "hwsensor-location", location, sizeof(location)); while (len < prop_len) { if (sc->sc_sensors != NULL) strcpy(sc->sc_sensors[i].location, location + len); prev_len = strlen(location + len) + 1; len += prev_len; i++; } if (sc->sc_sensors == NULL) return (i); /* Fill the sensor id property. */ prop_len = OF_getproplen(child, "hwsensor-id"); u_int id[prop_len / 4]; OF_getprop(child, "hwsensor-id", id, sizeof(id)); for (j = 0; j < i; j++) sc->sc_sensors[j].id = (id[j] & 0xf); return (i); } static int max6690_attach(device_t dev) { struct max6690_softc *sc; sc = device_get_softc(dev); sc->enum_hook.ich_func = max6690_start; sc->enum_hook.ich_arg = dev; /* We have to wait until interrupts are enabled. I2C read and write * only works if the interrupts are available. * The unin/i2c is controlled by the htpic on unin. But this is not * the master. The openpic on mac-io is controlling the htpic. * This one gets attached after the mac-io probing and then the * interrupts will be available. */ if (config_intrhook_establish(&sc->enum_hook) != 0) return (ENOMEM); return (0); } static void max6690_start(void *xdev) { phandle_t child; struct max6690_softc *sc; struct sysctl_oid *oid, *sensroot_oid; struct sysctl_ctx_list *ctx; char sysctl_name[32]; int i, j; device_t dev = (device_t)xdev; sc = device_get_softc(dev); sc->sc_nsensors = 0; child = ofw_bus_get_node(dev); /* Count the actual number of sensors. */ sc->sc_nsensors = max6690_fill_sensor_prop(dev); device_printf(dev, "MAX6690 # sensors: %d\n", sc->sc_nsensors); if (sc->sc_nsensors == 0) device_printf(dev, "WARNING: No MAX6690 sensors detected!\n"); sc->sc_sensors = malloc (sc->sc_nsensors * sizeof(struct max6690_sensor), M_TM1, M_WAITOK | M_ZERO); ctx = device_get_sysctl_ctx(dev); /* XXXX better name for sensor root? */ sensroot_oid = SYSCTL_ADD_NODE(ctx, SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO, "sensor", CTLFLAG_RD, 0, "MAX6690 Sensor Information"); /* Now we can fill the properties into the allocated struct. */ sc->sc_nsensors = max6690_fill_sensor_prop(dev); /* Add sysctls for the sensors. */ for (i = 0; i < sc->sc_nsensors; i++) { for (j = 0; j < strlen(sc->sc_sensors[i].location); j++) { sysctl_name[j] = tolower(sc->sc_sensors[i].location[j]); if (isspace(sysctl_name[j])) sysctl_name[j] = '_'; } sysctl_name[j] = 0; oid = SYSCTL_ADD_NODE(ctx, SYSCTL_CHILDREN(sensroot_oid), OID_AUTO, sysctl_name, CTLFLAG_RD, 0, "Sensor Information"); /* I use i to pass the sensor id. */ SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, "temp", CTLTYPE_INT | CTLFLAG_RD, dev, i % 2, max6690_sensor_sysctl, "IK", "Sensor Temp in °C"); } /* Dump sensor location & ID. */ if (bootverbose) { device_printf(dev, "Sensors\n"); for (i = 0; i < sc->sc_nsensors; i++) { device_printf(dev, "Location : %s ID: %d\n", sc->sc_sensors[i].location, sc->sc_sensors[i].id); } } config_intrhook_disestablish(&sc->enum_hook); } static int max6690_sensor_read(device_t dev, struct max6690_sensor *sens, int *temp) { uint8_t reg_int = 0, reg_ext = 0; uint8_t integer; uint8_t fraction; struct max6690_softc *sc; sc = device_get_softc(dev); /* The internal sensor id's are even, the external ar odd. */ if ((sens->id % 2) == 0) { reg_int = MAX6690_INT_TEMP; reg_ext = MAX6690_IEXT_TEMP; } else { reg_int = MAX6690_EXT_TEMP; reg_ext = MAX6690_EEXT_TEMP; } read_i2c_1(sc->sc_dev, sc->sc_addr, reg_int, &integer); read_i2c_1(sc->sc_dev, sc->sc_addr, reg_ext, &fraction); fraction &= MAX6690_TEMP_MASK; /* The temperature is in tenth kelvin, the fractional part resolution is 0.125. */ *temp = (integer * 10) + (fraction >> 5) * 10 / 8; return (0); } static int max6690_sensor_sysctl(SYSCTL_HANDLER_ARGS) { device_t dev; struct max6690_softc *sc; struct max6690_sensor *sens; int value = 0; int error; unsigned int temp; dev = arg1; sc = device_get_softc(dev); sens = &sc->sc_sensors[arg2]; error = max6690_sensor_read(dev, sens, &value); if (error != 0) return (error); temp = value + FCU_ZERO_C_TO_K; error = sysctl_handle_int(oidp, &temp, 0, req); return (error); } /* CPU A/B sensors, temp and adc: AD7417. */ #define SUPPLY_MON_A_ID 0x58 #define SUPPLY_MON_B_ID 0x5a #define AD741X_TEMP 0x00 #define AD741X_CONFIG 0x01 #define AD741X_ADC 0x04 #define AD741X_CONFIG2 0x05 #define AD741X_CONFMASK 0xe0 uint8_t adc741x_config; struct ad741x_sensor { int id; char location[32]; enum { ADC741X_TEMP_SENSOR, ADC741X_ADC_SENSOR } type; }; static int ad741x_probe(device_t); static int ad741x_attach(device_t); static int ad741x_sensor_sysctl(SYSCTL_HANDLER_ARGS); static void ad741x_start(void *xdev); struct ad741x_softc { device_t sc_dev; struct intr_config_hook enum_hook; uint32_t sc_addr; struct ad741x_sensor *sc_sensors; int sc_nsensors; }; static device_method_t ad741x_methods[] = { /* Device interface */ DEVMETHOD(device_probe, ad741x_probe), DEVMETHOD(device_attach, ad741x_attach), { 0, 0 }, }; static driver_t ad741x_driver = { "sm", ad741x_methods, sizeof(struct ad741x_softc) }; static devclass_t ad741x_devclass; DRIVER_MODULE(sm, iicbus, ad741x_driver, ad741x_devclass, 0, 0); MALLOC_DEFINE(M_SM, "sm", "Supply-Monitor AD741X"); static int ad741x_init_adc(device_t dev, uint32_t addr) { uint8_t buf; adc741x_config = 0; /* Clear Config2 */ buf = 0; write_i2c(dev, addr, AD741X_CONFIG2, &buf, 1); /* Read & cache Config1 */ buf = 0; write_i2c(dev, addr, AD741X_CONFIG, &buf, 1); read_i2c_1(dev, addr, AD741X_CONFIG, &buf); adc741x_config = (uint8_t)buf; /* Disable shutdown mode */ adc741x_config &= 0xfe; buf = adc741x_config; write_i2c(dev, addr, AD741X_CONFIG, &buf, 1); return (0); } static int ad741x_probe(device_t dev) { const char *name, *compatible; struct ad741x_softc *sc; name = ofw_bus_get_name(dev); compatible = ofw_bus_get_compat(dev); if (!name) return (ENXIO); if (strcmp(name, "supply-monitor") != 0 || strcmp(compatible, "ad7417") != 0) return (ENXIO); sc = device_get_softc(dev); sc->sc_dev = dev; sc->sc_addr = iicbus_get_addr(dev); device_set_desc(dev, "Supply-Monitor AD741X"); return (0); } /* * This function returns the number of sensors. If we call it the second time * and we have allocated memory for sc->sc_sensors, we fill in the properties. */ static int ad741x_fill_sensor_prop(device_t dev) { phandle_t child; struct ad741x_softc *sc; int i = 0, j, len = 0, prop_len, prev_len = 0; sc = device_get_softc(dev); child = ofw_bus_get_node(dev); /* Fill the sensor location property. */ prop_len = OF_getproplen(child, "hwsensor-location"); char location[prop_len]; OF_getprop(child, "hwsensor-location", location, sizeof(location)); while (len < prop_len) { if (sc->sc_sensors != NULL) strcpy(sc->sc_sensors[i].location, location + len); prev_len = strlen(location + len) + 1; len += prev_len; i++; } if (sc->sc_sensors == NULL) return (i); /* Fill the fan type property. */ len = 0; i = 0; prev_len = 0; prop_len = OF_getproplen(child, "hwsensor-type"); char type[prop_len]; OF_getprop(child, "hwsensor-type", type, sizeof(type)); while (len < prop_len) { if (strcmp(type + len, "temperature") == 0) sc->sc_sensors[i].type = ADC741X_TEMP_SENSOR; else sc->sc_sensors[i].type = ADC741X_ADC_SENSOR; prev_len = strlen(type + len) + 1; len += prev_len; i++; } /* Fill the sensor id property. Taken from OF. */ prop_len = OF_getproplen(child, "hwsensor-id"); u_int id[prop_len / 4]; OF_getprop(child, "hwsensor-id", id, sizeof(id)); for (j = 0; j < i; j++) sc->sc_sensors[j].id = id[j]; return (i); } static int ad741x_attach(device_t dev) { struct ad741x_softc *sc; sc = device_get_softc(dev); sc->enum_hook.ich_func = ad741x_start; sc->enum_hook.ich_arg = dev; /* We have to wait until interrupts are enabled. I2C read and write * only works if the interrupts are available. * The unin/i2c is controlled by the htpic on unin. But this is not * the master. The openpic on mac-io is controlling the htpic. * This one gets attached after the mac-io probing and then the * interrupts will be available. */ if (config_intrhook_establish(&sc->enum_hook) != 0) return (ENOMEM); return (0); } static void ad741x_start(void *xdev) { phandle_t child; struct ad741x_softc *sc; struct sysctl_oid *oid, *sensroot_oid; struct sysctl_ctx_list *ctx; char sysctl_name[32]; int i, j; const char *unit; const char *desc; device_t dev = (device_t)xdev; sc = device_get_softc(dev); sc->sc_nsensors = 0; child = ofw_bus_get_node(dev); /* Count the actual number of sensors. */ sc->sc_nsensors = ad741x_fill_sensor_prop(dev); device_printf(dev, "AD741X # sensors: %d\n", sc->sc_nsensors); if (sc->sc_nsensors == 0) device_printf(dev, "WARNING: No AD741X sensors detected!\n"); sc->sc_sensors = malloc (sc->sc_nsensors * sizeof(struct ad741x_sensor), M_SM, M_WAITOK | M_ZERO); ctx = device_get_sysctl_ctx(dev); /* XXXX better name for sensor root? */ sensroot_oid = SYSCTL_ADD_NODE(ctx, SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO, "sensor", CTLFLAG_RD, 0, "AD741X Sensor Information"); /* Now we can fill the properties into the allocated struct. */ sc->sc_nsensors = ad741x_fill_sensor_prop(dev); /* Add sysctls for the sensors. */ for (i = 0; i < sc->sc_nsensors; i++) { for (j = 0; j < strlen(sc->sc_sensors[i].location); j++) { sysctl_name[j] = tolower(sc->sc_sensors[i].location[j]); if (isspace(sysctl_name[j])) sysctl_name[j] = '_'; } sysctl_name[j] = 0; oid = SYSCTL_ADD_NODE(ctx, SYSCTL_CHILDREN(sensroot_oid), OID_AUTO, sysctl_name, CTLFLAG_RD, 0, "Sensor Information"); if (sc->sc_sensors[i].type == ADC741X_TEMP_SENSOR) { unit = "temp"; desc = "Sensor temp in C"; } else { unit = "volt"; desc = "Sensor Volt in V"; } /* I use i to pass the sensor id. */ SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, unit, CTLTYPE_INT | CTLFLAG_RD, dev, i, ad741x_sensor_sysctl, sc->sc_sensors[i].type == ADC741X_TEMP_SENSOR ? "IK" : "I", desc); } /* Dump sensor location, ID & type. */ if (bootverbose) { device_printf(dev, "Sensors\n"); for (i = 0; i < sc->sc_nsensors; i++) { device_printf(dev, "Location: %s ID: %d type: %d\n", sc->sc_sensors[i].location, sc->sc_sensors[i].id, sc->sc_sensors[i].type); } } config_intrhook_disestablish(&sc->enum_hook); } static int ad741x_get_temp(device_t dev, uint32_t addr, int *temp) { uint16_t buf[2]; uint16_t read; read_i2c_2(dev, addr, AD741X_TEMP, buf); read = *((int16_t*)buf); /* The ADC is 10 bit, the resolution is 0.25 C. The temperature is in tenth kelvin. */ *temp = (((int16_t)(read & 0xffc0)) >> 6) * 25 / 10; return (0); } static int ad741x_get_adc(device_t dev, uint32_t addr, unsigned int *value, uint8_t chan) { uint8_t cfg1, tmp; uint16_t read, buf[2]; read_i2c_1(dev, addr, AD741X_CONFIG, &cfg1); tmp = chan << 5; cfg1 = (cfg1 & ~AD741X_CONFMASK) | (tmp & AD741X_CONFMASK); write_i2c(dev, addr, AD741X_CONFIG, &cfg1, 1); read_i2c_2(dev, addr, AD741X_ADC, buf); read = *((uint16_t*)buf); *value = ((uint32_t)read) >> 6; return (0); } static int ad741x_sensor_read(device_t dev, struct ad741x_sensor *sens, int *temp) { struct ad741x_softc *sc; uint8_t chan; sc = device_get_softc(dev); /* Init the ADC. */ ad741x_init_adc(sc->sc_dev, sc->sc_addr); if (sens->type == ADC741X_TEMP_SENSOR) { ad741x_get_temp(sc->sc_dev, sc->sc_addr, temp); *temp += FCU_ZERO_C_TO_K; } else { switch (sens->id) { case 11: case 16: chan = 1; break; case 12: case 17: chan = 2; break; case 13: case 18: chan = 3; break; case 14: case 19: chan = 4; break; default: chan = 1; } ad741x_get_adc(sc->sc_dev, sc->sc_addr, temp, chan); } return (0); } static int ad741x_sensor_sysctl(SYSCTL_HANDLER_ARGS) { device_t dev; struct ad741x_softc *sc; struct ad741x_sensor *sens; int value = 0; int error; int temp; dev = arg1; sc = device_get_softc(dev); sens = &sc->sc_sensors[arg2]; error = ad741x_sensor_read(dev, sens, &value); if (error != 0) return (error); temp = value; error = sysctl_handle_int(oidp, &temp, 0, req); return (error); } --------------080302010006090800020201--