From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 29 11:07:07 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 D0BD210656A6 for ; Mon, 29 Nov 2010 11:07:07 +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 BA4448FC16 for ; Mon, 29 Nov 2010 11:07:07 +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 oATB77Ca053163 for ; Mon, 29 Nov 2010 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oATB76M9053161 for freebsd-ppc@FreeBSD.org; Mon, 29 Nov 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Nov 2010 11:07:06 GMT Message-Id: <201011291107.oATB76M9053161@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, 29 Nov 2010 11:07:08 -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/149009 ppc sysinstall(8) on powerpc fails to install manpages, so 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/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 7 problems total. From owner-freebsd-ppc@FreeBSD.ORG Wed Dec 1 14:00:31 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 9DFD910656A3 for ; Wed, 1 Dec 2010 14:00:31 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 58DDA8FC13 for ; Wed, 1 Dec 2010 14:00:31 +0000 (UTC) Received: by qyk8 with SMTP id 8so2488638qyk.13 for ; Wed, 01 Dec 2010 06:00:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=5KN1M0aXpr4Cyv6jeRBX2BPiH4VnssejjAXTwo3tm1k=; b=Tt5EACanwYhIkMkS39/Axmzmv3rWSUGzbXSLhEJaTyzqqTfRMdHdmpky4FEXOxyLdR dW6TFYajfoh4ov8TqZl+xv8sDcEEzCftXs4p3NOqEMrahoZd1AvTVxqCiRNsFNbv5+Z1 7V4MEowvYm922G01L4SuBndUnw3hmm8gRsqKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tXUukFSkDjIyr8oJvol0LeevjyiohdmDaU59/k/ADJirG4q2rXHKZl35paSCPx/ejL Ikvjl70MmxSogtcrx8CIT/UG+KKf1Pz7RCfP7z935Ep3Mc+VjPaqtRomISNNLZEa7wet XsASOug//RoyZxz2yb1fH/oISC0DUrzICdvZU= MIME-Version: 1.0 Received: by 10.229.214.5 with SMTP id gy5mr6927275qcb.245.1291212030499; Wed, 01 Dec 2010 06:00:30 -0800 (PST) Received: by 10.220.194.131 with HTTP; Wed, 1 Dec 2010 06:00:30 -0800 (PST) Date: Wed, 1 Dec 2010 09:00:30 -0500 Message-ID: From: Super Bisquit To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Open firmware setenv variable question 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, 01 Dec 2010 14:00:31 -0000 If pci-probe-mask is set to 0 instead of default -1, will it probe the MTRX, Toucan on pci@f2000000 ..@slot 1- It gives the value of @15 as a pci-bridge. Last time I tried this, I gave it a value of 1 and jibbied the system for a little while. From owner-freebsd-ppc@FreeBSD.ORG Thu Dec 2 19:30:29 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 4D36210656CF; Thu, 2 Dec 2010 19:30:29 +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 CE9998FC18; Thu, 2 Dec 2010 19:30:28 +0000 (UTC) Received: from steiner.cc.vt.edu (steiner.cc.vt.edu [198.82.163.51]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id oB2JTuHe010780; Thu, 2 Dec 2010 14:29:58 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by steiner.cc.vt.edu (MOS 4.2.2-FCS FastPath queued) with ESMTP id MLO90232; Thu, 02 Dec 2010 14:29:57 -0500 (EST) Received: from pmather.tower.lib.vt.edu (pmather.tower.lib.vt.edu [128.173.51.28]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id oB2JTvbU003284 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 2 Dec 2010 14:29:57 -0500 Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Paul Mather In-Reply-To: <4CEBDB9D.2010309@freebsd.org> Date: Thu, 2 Dec 2010 14:29:57 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <15A958D9-5CBE-4830-B72C-CC4DF2192BC0@gromit.dlib.vt.edu> References: <5A677521-DE86-4BA9-BA85-8003957551B5@freebsd.org> <4CEBDB9D.2010309@freebsd.org> To: Nathan Whitehorn X-Mailer: Apple Mail (2.1082) 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=steiner.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A020208.4CF7F3B6.0012,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Cc: yongari@freebsd.org, freebsd-ppc@freebsd.org Subject: Re: New powerpc64 snapshot 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, 02 Dec 2010 19:30:29 -0000 On Nov 23, 2010, at 10:19 AM, Nathan Whitehorn wrote: > On 11/22/10 14:34, Paul Mather wrote: >> On Nov 18, 2010, at 9:50 AM, Nathan Whitehorn wrote: >>=20 >>> I've prepared some new powerpc64 snapshot ISOs which can be found >>> at >>> = http://people.freebsd.org/~nwhitehorn/FreeBSD-9.0-20101118-SNAP-powerpc64/= >>>=20 >>>=20 >>>=20 >>=20 >> I was able successfully to install this snapshot today on an Xserve >> G5. I had several problems, though: >>=20 >> 1) I could not boot from the bootloader script after the install was >> complete; I had forcibly to "setenv boot-device hd:,\ppc\boot1.elf" >> for the system to boot into FreeBSD from power-on. (I did remember >> the "gpart bootcode ..." step, too.) >=20 > I'm guessing you are booting on a serial console? I don't have the = Forth > skills to make the bootinfo script detect where the 'screen' device > exists, so it defaults to that. It's not really a big problem because the workaround functions = flawlessly. >> 2) Usually, the system will not boot multi-user as it is unable to >> mount the root partition after booting the kernel. Dropping into the >> debugger and issuing a "reboot" to do a warm boot will allow the >> system then to boot multi-user successfully. >=20 > Could you do a verbose boot (boot -v at the boot prompt) and send the > resulting dmesg? There is some issue with the built-in serverworks = SATA > controller and some hard drives that no one has been able to track = down > yet. It doesn't affect anything once the machine has booted. Since I built a new kernel using updated sources I haven't really = noticed the problem as much. My rebuilt kernel does have WITNESS = disabled. Verbose boot output is included at the end of this message. >> 3) The system is LOUD! It sounds like the fans are running high >> pretty much all the time---running much higher than Mac OS X 10.5 >> runs them. I notice a "fcu" fan-related device during boot. Is >> there any way to force the fans to run at a lower speed? I'm going >> to go deaf at this rate. :-) >=20 > Andreas Tobler has some in-flight thermal monitoring code he posted to > the list a while ago, and one thermal monitor chip is still not in the > tree. Even without the patches, you can turn down the fans by hand = with > sysctls on dev.fcu. The fan situation is bizarre. I couldn't find a man page for device fcu = so I looked at the sysctls. There are a bunch of = dev.fcu.0.fans.*.{minrpm,maxrpm,rpm} sysctls associated with cpu_a, = cpu_b, sys_ctrlr_fan and pci_fan. I initially figured that lowering = dev.fcu.0.fans.*.maxrpm from the 14000 shown would limit the noise. = However, that sysctl is read-only, and trying to set it in = /boot/loader.conf appeared to have no effect: the values stayed = resolutely at 14000. Is there some other way to set this, or is it = hard-coded? I could set a value for dev.fcu.0.fans.*.rpm though it wasn't clear what = the precise correlation was between the value set and the resultant fan = RPM. It did have some effect. In any case, the value didn't stay at = the set value, and the fans eventually began racing again. Actually, = when I say "the fans" it seemed only to be sys_ctrlr_fan and pci_fan. = The various CPU fans appeared to hover around ~6000 rpm according to the = sysctls. The really bizarre thing, though, is that when the fans begin racing and = the noise is loud, simply executing "sysctl dev.fcu.0.fans" is enough to = calm them down to a more manageable 5600--6400 RPM! So, as a temporary = workaround (to preserve my hearing whilst working on the system:) I've = added this to /etc/crontab: # Try and keep the fans from racing */2 * * * * root /sbin/sysctl = dev.fcu.0.fans > /dev/null 2>&1 Does anyone have any information as to the correct way of wrangling the = fan RPM? Using the bizarre crontab entry above keeps the noise at a = reasonable level and the temperature at this fairly steady value: dev.max6690.0.sensor.sys_ctrlr_ambient.temp: 35.6C dev.max6690.0.sensor.sys_ctrlr_internal.temp: 49.2C But, like I said, it seems like a bizarre solution. >> 4) After a while, my system fell of the network with "bge0: watchdog >> timeout -- resetting" being output on the console periodically. >=20 > Odd. I've CC'ed Pyun Yong Hyeon, who maintains the bge driver. Maybe = he > has some ideas. Touch wood, but since rebuilding the kernel with newer sources I've not = noticed this problem again. >> 5) A minor thing, but the "locate" command doesn't work properly. >> Either it doesn't find something I know is there, or it finds >> something but prints out incorrect gibberish as a result (e.g., just >> printing out lines of "/" in response to a "locate etc"). >=20 > I just fixed this in svn. You'll need to update your sources to get = the > fixed version. Many thanks! It's working properly now. >> I realise the FreeBSD/powerpc64 port is experimental at this point. >> Can anyone tell me if the above symptoms afflict the 32-bit >> FreeBSD/powerpc 8-STABLE port? Although I like the idea of the >> powerpc64 port allowing me to use all of the 3.5 GB RAM in this >> machine, at this point it is more important for me to trade away the >> extra RAM for stability (and *quietness*:). If FreeBSD/powerpc >> 8-STABLE is more solid, I'd rather switch to that, as I'd like to get >> this machine back into service. >>=20 >> (I would be more prepared to soldier on with FreeBSD/powerpc64 if I >> could get the fan noise problem under control. That would let me do >> more testing without going crazy from the noise.:) >=20 > All of the problems you mentioned above are also present with a 32-bit > system. I'll keep on with FreeBSD/powerpc64, then. Is ZFS supported? Is = booting from a ZFS pool supported, or do you need to do the /boot-on-UFS = workaround from before the boot loader could boot from ZFS pools to get = a largely ZFS-only system? Cheers, Paul. =3D=3D=3D=3D=3D 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: Mon Nov 29 13:57:07 EST 2010 pmather@bunty.dlib.vt.edu:/usr/obj/usr/src/sys/BUNTY powerpc Preloaded elf kernel "/boot/kernel/kernel" at 0xa0e000. cpu0: IBM PowerPC 970FX revision 3.0, 2300.26 MHz cpu0: Features dc000000 cpu0: HID0 511081 real memory =3D 4276629504 (4078 MB) available KVA =3D 7461375999 (7115 MB) Physical memory chunk(s): 0x 18000 - 0x fffff, 950272 bytes (232 pages) 0x e1d000 - 0x 17fffff, 10366976 bytes (2531 pages) 0x 1813000 - 0x 1bfffff, 4116480 bytes (1005 pages) 0x 32bc000 - 0x 3ffffff, 13910016 bytes (3396 pages) 0x 8000000 - 0x 7f7effff, 2004811776 bytes (489456 pages) 0x 100000000 - 0x 174bcffff, 1958543360 bytes (478160 pages) avail memory =3D 3974053888 (3789 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: dev=3Dff88ed18 (BSP) cpu1: dev=3Dff890150 ULE: setup cpu 0 ULE: setup cpu 1 null: random: openfirm: kbd0 at kbdmux0 mem: nfslock: pseudo-device nexus0: cpulist0: on nexus0 cpu0: on cpulist0 pcr0: on cpu0 pcr0: No power mode data in device tree! device_attach: pcr0 attach returned 6 cpu1: on cpulist0 pcr1: on cpu1 pcr1: No power mode data in device tree! device_attach: pcr1 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) sc1: no video adapter found. nexus0: , type nvram (no driver attached) 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: Revision: A2 iicbus0: on iichb0 iicbus0: at addr 0xd4 max66900: at addr 0x98 on iicbus0 fcu0: at addr 0x15e on iicbus0 iicbus0: at addr 0x30 iicbus0: at addr 0x58 iicbus0: at addr 0xa0 iicbus0: at addr 0x32 iicbus0: at addr 0x5a iicbus0: at addr 0xa2 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: Version 1.2, supports 4 CPUs and 124 irqs sc1: no video adapter found. pcib0: on nexus0 pci0: on pcib0 pci0: domain=3D0, physical bus=3D0 found-> vendor=3D0x106b, dev=3D0x0059, revid=3D0x00 domain=3D0, bus=3D0, slot=3D11, func=3D0 class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0016, statreg=3D0x22b0, cachelnsz=3D8 (dwords) lattimer=3D0x10 (480 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 = ns) agp0: on hostb0 agp0: allocating GATT for aperture of size 256M 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=3D1, physical bus=3D0 found-> vendor=3D0x1022, dev=3D0x7450, revid=3D0x12 domain=3D1, bus=3D0, slot=3D1, func=3D0 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D1 cmdreg=3D0x0107, statreg=3D0x0230, cachelnsz=3D0 (dwords) lattimer=3D0x20 (960 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 = ns) found-> vendor=3D0x1022, dev=3D0x7450, revid=3D0x12 domain=3D1, bus=3D0, slot=3D2, func=3D0 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D1 cmdreg=3D0x0107, statreg=3D0x0230, cachelnsz=3D0 (dwords) lattimer=3D0x20 (960 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 = ns) found-> vendor=3D0x106b, dev=3D0x0045, revid=3D0x00 domain=3D1, bus=3D0, slot=3D3, func=3D0 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0 cmdreg=3D0x0107, statreg=3D0x0010, cachelnsz=3D16 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 = ns) found-> vendor=3D0x106b, dev=3D0x0046, revid=3D0x00 domain=3D1, bus=3D0, slot=3D4, func=3D0 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D16 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 = ns) found-> vendor=3D0x106b, dev=3D0x0047, revid=3D0x00 domain=3D1, bus=3D0, slot=3D5, func=3D0 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D16 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 = ns) found-> vendor=3D0x106b, dev=3D0x0048, revid=3D0x00 domain=3D1, bus=3D0, slot=3D6, func=3D0 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D16 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 = ns) found-> vendor=3D0x106b, dev=3D0x0049, revid=3D0x00 domain=3D1, bus=3D0, slot=3D7, func=3D0 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D16 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (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: no prefetched decode pci2: on pcib2 pci2: domain=3D1, physical bus=3D6 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 0x90000000-0x900fffff pcib3: no prefetched decode pci3: on pcib3 pci3: domain=3D1, physical bus=3D7 found-> vendor=3D0x14e4, dev=3D0x1648, revid=3D0x03 domain=3D1, bus=3D7, slot=3D4, func=3D0 class=3D02-00-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x02b0, cachelnsz=3D16 (dwords) lattimer=3D0x10 (480 ns), mingnt=3D0x40 (16000 ns), maxlat=3D0x00 = (0 ns) intpin=3Da, irq=3D0 powerspec 2 supports D0 D3 current D0 MSI supports 8 messages, 64 bit map[10]: type Memory, range 64, base 0x90030000, size 16, = enabled pcib3: requested memory range 0x90030000-0x9003ffff: good map[18]: type Memory, range 64, base 0x90020000, size 16, = enabled pcib3: requested memory range 0x90020000-0x9002ffff: good found-> vendor=3D0x14e4, dev=3D0x1648, revid=3D0x03 domain=3D1, bus=3D7, slot=3D4, func=3D1 class=3D02-00-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x02b0, cachelnsz=3D16 (dwords) lattimer=3D0x10 (480 ns), mingnt=3D0x40 (16000 ns), maxlat=3D0x00 = (0 ns) intpin=3Db, irq=3D0 powerspec 2 supports D0 D3 current D0 MSI supports 8 messages, 64 bit map[10]: type Memory, range 64, base 0x90010000, size 16, = enabled pcib3: requested memory range 0x90010000-0x9001ffff: good map[18]: type Memory, range 64, base 0x90000000, size 16, = enabled pcib3: requested memory range 0x90000000-0x9000ffff: good bge0: mem = 0x90030000-0x9003ffff,0x90020000-0x9002ffff irq 310 at device 4.0 on = pci3 cpcht mapdev: start 90030000, 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-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: bpf attached bge0: Ethernet address: 00:0d:93:9d:2f:82 bge1: mem = 0x90010000-0x9001ffff,0x90000000-0x9000ffff irq 313 at device 4.1 on = pci3 cpcht mapdev: start 90010000, 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-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge1: bpf attached bge1: Ethernet address: 00:0d:93:9d:2f:83 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=3D1, physical bus=3D1 found-> vendor=3D0x106b, dev=3D0x0041, revid=3D0x60 domain=3D1, bus=3D1, slot=3D7, func=3D0 class=3Dff-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0200, cachelnsz=3D16 (dwords) lattimer=3D0x10 (480 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (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 uart0: on scc0 uart0: fast interrupt uart0: console (57600,n,8,1) uart1: on scc0 uart1: fast interrupt scc0: fast interrupt iichb1: mem 0x18000-0x18fff irq 282 on macio0 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, adjustment = 0.000500000s) 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=3D1, physical bus=3D2 found-> vendor=3D0x1033, dev=3D0x0035, revid=3D0x43 domain=3D1, bus=3D2, slot=3D11, func=3D0 class=3D0c-03-10, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D16 (dwords) lattimer=3D0x10 (480 ns), mingnt=3D0x01 (250 ns), maxlat=3D0x2a = (10500 ns) intpin=3Da, irq=3D0 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=3D0x1033, dev=3D0x0035, revid=3D0x43 domain=3D1, bus=3D2, slot=3D11, func=3D1 class=3D0c-03-10, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D16 (dwords) lattimer=3D0x10 (480 ns), mingnt=3D0x01 (250 ns), maxlat=3D0x2a = (10500 ns) intpin=3Db, irq=3D0 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=3D0x1033, dev=3D0x00e0, revid=3D0x04 domain=3D1, bus=3D2, slot=3D11, func=3D2 class=3D0c-03-20, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0004, statreg=3D0x0210, cachelnsz=3D16 (dwords) lattimer=3D0x10 (480 ns), mingnt=3D0x10 (4000 ns), maxlat=3D0x22 = (8500 ns) intpin=3Dc, irq=3D0 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 usbus0: on ohci0 usbus0: bpf attached ohci0: usbpf attached ohci1: mem 0x80101000-0x80101fff irq 319 = at device 11.1 on pci5 cpcht mapdev: start 80101000, len 4096 usbus1: on ohci1 usbus1: bpf attached ohci1: usbpf attached ehci0: mem 0x80100000-0x801000ff irq = 319 at device 11.2 on pci5 cpcht mapdev: start 80100000, len 256 usbus2: EHCI version 1.0 usbus2: on ehci0 usbus2: bpf attached ehci0: usbpf attached 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=3D1, physical bus=3D3 found-> vendor=3D0x106b, dev=3D0x0043, revid=3D0x00 domain=3D1, bus=3D3, slot=3D13, func=3D0 class=3Dff-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0014, statreg=3D0x0200, cachelnsz=3D8 (dwords) lattimer=3D0x20 (960 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 = ns) map[10]: type Memory, range 32, base 0x80204000, size 14, memory = disabled pcib6: requested memory range 0x80204000-0x80207fff: good found-> vendor=3D0x106b, dev=3D0x0042, revid=3D0x00 domain=3D1, bus=3D3, slot=3D14, func=3D0 class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0290, cachelnsz=3D16 (dwords) lattimer=3D0xf8 (7440 ns), mingnt=3D0x0c (3000 ns), maxlat=3D0x18 = (6000 ns) intpin=3Da, irq=3D0 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=3D03 ostat0=3D00 ostat1=3D00 ata0: stat0=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb ata0: stat1=3D0x00 err=3D0x00 lsb=3D0x00 msb=3D0x00 ata0: reset tp2 stat0=3D00 stat1=3D00 devices=3D0x10000 fwohci0: vendor=3D106b, dev=3D42 fwohci0: vendor=3D106b, dev=3D42 fwohci0: <1394 Open Host Controller Interface> mem 0x80200000-0x80200fff = irq 296 at device 14.0 on pci6 cpcht mapdev: start 80200000, len 4096 fwohci0: OHCI version 1.0 (ROM=3D0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:0d:93:ff:fe:c5:cd:50 fwohci0: invalid speed 7 (fixed to 3). fwohci0: Phy 1394a available S800, 3 ports. fwohci0: Link S800, max_rec 4096 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:0d:93:c5:cd:50 fwe0: bpf attached fwe0: Ethernet address: 02:0d:93:c5:cd:50 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=3D0x00000001, SelfID Count=3D2, = 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=3D1, physical bus=3D4 found-> vendor=3D0x106b, dev=3D0x004c, revid=3D0x00 domain=3D1, bus=3D4, slot=3D15, func=3D0 class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0004, statreg=3D0x84a0, cachelnsz=3D16 (dwords) lattimer=3D0x10 (480 ns), mingnt=3D0x40 (16000 ns), maxlat=3D0x40 = (16000 ns) intpin=3Da, irq=3D255 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=3D1, physical bus=3D5 found-> vendor=3D0x1166, dev=3D0x0240, revid=3D0x00 domain=3D1, bus=3D5, slot=3D12, func=3D0 class=3D01-01-8f, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0200, cachelnsz=3D0 (dwords) lattimer=3D0x10 (480 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (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=3D0x1166, dev=3D0x0240, revid=3D0x00 domain=3D1, bus=3D5, slot=3D12, func=3D1 class=3D01-01-85, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0004, statreg=3D0x0200, cachelnsz=3D0 (dwords) lattimer=3D0x10 (480 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (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 atapci0: Lazy allocation of 0x10 bytes rid 0x20 type 4 at 0 cpcht mapdev: start f4000000, len 16 cpcht mapdev: start 80600000, len 8192 ata2: on atapci0 ata2: hardware reset ... ata2: SATA connect time=3D10ms status=3D00000113 ata2: reset tp1 mask=3D01 ostat0=3Dd0 ostat1=3D00 ata2: stat0=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata2: reset tp2 stat0=3D50 stat1=3D00 devices=3D0x1 ata3: on atapci0 ata3: hardware reset ... ata3: SATA connect timeout status=3D00000004 ata4: on atapci0 ata4: hardware reset ... ata4: SATA connect timeout status=3D00000004 ata5: on atapci0 ata5: hardware reset ... ata5: SATA connect timeout status=3D00000004 atapci1: at device 12.1 on pci8 pcib1: failed to reserve resource for atapci1 atapci1: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). atapci1: unable to map interrupt device_attach: atapci1 attach returned 6 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) procfs registered Timecounter "timebase" frequency 33333333 Hz quality 0 Event timer "decrementer" frequency 33333333 Hz quality 1000 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 <=3D 1 cable IRM irm(1) (me)=20 firewire0: bus manager 1=20 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=3DPIO4 wdma=3DWDMA2 udma=3DUDMA33 cable=3D40 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=20 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: 00000001 ata2: New devices: 00000001 ata2-master: pio=3DPIO4 wdma=3DWDMA2 udma=3DUDMA100 cable=3D40 wire ad0: setting UDMA100 ad0: 78533MB at ata2-master UDMA100 = SATA 1.5Gb/s ad0: 160836480 sectors [159560C/16H/63S] 16 sectors/interrupt 1 depth = queue ata3: Identifying devices: 00000000 ata3: New devices: 00000000 ata4: Identifying devices: 00000000 ata4: New devices: 00000000 ata5: Identifying devices: 00000000 ata5: New devices: 00000000 max66900: 2 sensors detected. max66900: Sensors max66900: Location : SYS CTRLR AMBIENT ID: 0 max66900: Location : SYS CTRLR INTERNAL ID: 1 fcu0: FCU initialized, RPM shift: 2 fcu0: 8 fans detected! fcu0: Fans fcu0: Location: CPU A 1 type: 0 ID: 1 RPM: 5952 fcu0: Location: CPU A 2 type: 0 ID: 2 RPM: 5952 fcu0: Location: CPU A 3 type: 0 ID: 3 RPM: 5952 fcu0: Location: CPU B 1 type: 0 ID: 4 RPM: 6016 fcu0: Location: CPU B 2 type: 0 ID: 5 RPM: 5952 fcu0: Location: CPU B 3 type: 0 ID: 6 RPM: 5952 fcu0: Location: SYS CTRLR FAN type: 1 ID: 1 RPM: 6336 fcu0: Location: PCI FAN type: 1 ID: 2 RPM: 5568 uhub1: 2 ports with 2 removable, self powered uhub0: 3 ports with 3 removable, self powered GEOM: new disk ad0 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 Waking up CPU 1 (dev=3Dff890150) Adding CPU 1, pir=3D2, awake=3D1 Adding CPU 0, pir=3D0, awake=3D1 SMP: AP CPU #1 launched Trying to mount root from ufs:/dev/ad0s3 [rw]... start_init: trying /sbin/init From owner-freebsd-ppc@FreeBSD.ORG Thu Dec 2 19:45:41 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 C29E91065697 for ; Thu, 2 Dec 2010 19:45:41 +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 933E58FC15 for ; Thu, 2 Dec 2010 19:45:41 +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 <0LCT0050CG841C00@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Thu, 02 Dec 2010 13:45:40 -0600 (CST) 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 <0LCT000Q1G83EZ30@smtpauth3.wiscmail.wisc.edu>; Thu, 02 Dec 2010 13:45:40 -0600 (CST) Date: Thu, 02 Dec 2010 13:45:37 -0600 From: Nathan Whitehorn In-reply-to: <15A958D9-5CBE-4830-B72C-CC4DF2192BC0@gromit.dlib.vt.edu> To: Paul Mather Message-id: <20101202134537.5fee174a@anacreon.physics.wisc.edu> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.1; powerpc64-portbld-freebsd9.0) X-Spam-Report: AuthenticatedSender=yes, SenderIP=128.104.160.176 X-Spam-PmxInfo: Server=avs-14, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.12.2.193323, SenderIP=128.104.160.176 References: <5A677521-DE86-4BA9-BA85-8003957551B5@freebsd.org> <4CEBDB9D.2010309@freebsd.org> <15A958D9-5CBE-4830-B72C-CC4DF2192BC0@gromit.dlib.vt.edu> Cc: freebsd-ppc@freebsd.org Subject: Re: New powerpc64 snapshot 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, 02 Dec 2010 19:45:41 -0000 On Thu, 2 Dec 2010 14:29:57 -0500 Paul Mather wrote: > On Nov 23, 2010, at 10:19 AM, Nathan Whitehorn wrote: > > > On 11/22/10 14:34, Paul Mather wrote: > >> 2) Usually, the system will not boot multi-user as it is unable to > >> mount the root partition after booting the kernel. Dropping into > >> the debugger and issuing a "reboot" to do a warm boot will allow > >> the system then to boot multi-user successfully. > > > > Could you do a verbose boot (boot -v at the boot prompt) and send > > the resulting dmesg? There is some issue with the built-in > > serverworks SATA controller and some hard drives that no one has > > been able to track down yet. It doesn't affect anything once the > > machine has booted. > > Since I built a new kernel using updated sources I haven't really > noticed the problem as much. My rebuilt kernel does have WITNESS > disabled. > > Verbose boot output is included at the end of this message. Thanks! I'll see what I can glean from that. > >> 4) After a while, my system fell of the network with "bge0: > >> watchdog timeout -- resetting" being output on the console > >> periodically. > > > > Odd. I've CC'ed Pyun Yong Hyeon, who maintains the bge driver. > > Maybe he has some ideas. > > Touch wood, but since rebuilding the kernel with newer sources I've > not noticed this problem again. Weird. Glad it went away :) > >> I realise the FreeBSD/powerpc64 port is experimental at this point. > >> Can anyone tell me if the above symptoms afflict the 32-bit > >> FreeBSD/powerpc 8-STABLE port? Although I like the idea of the > >> powerpc64 port allowing me to use all of the 3.5 GB RAM in this > >> machine, at this point it is more important for me to trade away > >> the extra RAM for stability (and *quietness*:). If FreeBSD/powerpc > >> 8-STABLE is more solid, I'd rather switch to that, as I'd like to > >> get this machine back into service. > >> > >> (I would be more prepared to soldier on with FreeBSD/powerpc64 if I > >> could get the fan noise problem under control. That would let me > >> do more testing without going crazy from the noise.:) > > > > All of the problems you mentioned above are also present with a > > 32-bit system. > > > I'll keep on with FreeBSD/powerpc64, then. Is ZFS supported? Is > booting from a ZFS pool supported, or do you need to do > the /boot-on-UFS workaround from before the boot loader could boot > from ZFS pools to get a largely ZFS-only system? > ZFS is supported, but booting from a ZFS pool is not, so you'll need to do the /boot-on-UFS thing. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Thu Dec 2 20:37:11 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 EC172106567A; Thu, 2 Dec 2010 20:37:11 +0000 (UTC) (envelope-from andreast@FreeBSD.org) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 984A28FC08; Thu, 2 Dec 2010 20:37:10 +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 oB2K11YI006795; Thu, 2 Dec 2010 21:01:01 +0100 (CET) (envelope-from andreast@FreeBSD.org) Message-ID: <4CF7FAFD.2030607@FreeBSD.org> Date: Thu, 02 Dec 2010 21:01:01 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: Paul Mather References: <5A677521-DE86-4BA9-BA85-8003957551B5@freebsd.org> <4CEBDB9D.2010309@freebsd.org> <15A958D9-5CBE-4830-B72C-CC4DF2192BC0@gromit.dlib.vt.edu> In-Reply-To: <15A958D9-5CBE-4830-B72C-CC4DF2192BC0@gromit.dlib.vt.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@FreeBSD.org, Nathan Whitehorn , yongari@FreeBSD.org Subject: Re: New powerpc64 snapshot 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, 02 Dec 2010 20:37:12 -0000 Hi! I'll take the opportunity to comment on the fans situation. On 02.12.10 20:29, Paul Mather wrote: >>> 3) The system is LOUD! It sounds like the fans are running high >>> pretty much all the time---running much higher than Mac OS X >>> 10.5 runs them. I notice a "fcu" fan-related device during boot. >>> Is there any way to force the fans to run at a lower speed? I'm >>> going to go deaf at this rate. :-) >> >> Andreas Tobler has some in-flight thermal monitoring code he posted >> to the list a while ago, and one thermal monitor chip is still not >> in the tree. Even without the patches, you can turn down the fans >> by hand with sysctls on dev.fcu. > > The fan situation is bizarre. I couldn't find a man page for device > fcu so I looked at the sysctls. There are a bunch of > dev.fcu.0.fans.*.{minrpm,maxrpm,rpm} sysctls associated with cpu_a, > cpu_b, sys_ctrlr_fan and pci_fan. I initially figured that lowering > dev.fcu.0.fans.*.maxrpm from the 14000 shown would limit the noise. > However, that sysctl is read-only, and trying to set it in > /boot/loader.conf appeared to have no effect: the values stayed > resolutely at 14000. Is there some other way to set this, or is it > hard-coded? First, there is no man page yet. Second, the minrpm and the maxrpm are the edge values, these are fix. You can't change them. The only parameter you can influence is the dev.fcu.0.fans.*.rpm=. > I could set a value for dev.fcu.0.fans.*.rpm though it wasn't clear > what the precise correlation was between the value set and the > resultant fan RPM. It did have some effect. In any case, the value > didn't stay at the set value, and the fans eventually began racing > again. Actually, when I say "the fans" it seemed only to be > sys_ctrlr_fan and pci_fan. The various CPU fans appeared to hover > around ~6000 rpm according to the sysctls. I have to admit, the machine I wrote this driver for was a PowerMac7,2 and your machine is an Xserve, right? They share some fan properties but not all. So I guess the sys_ctrlr_fan and the pci_fan are not supported yet. Should not be a big deal to add support for them. > The really bizarre thing, though, is that when the fans begin racing > and the noise is loud, simply executing "sysctl dev.fcu.0.fans" is > enough to calm them down to a more manageable 5600--6400 RPM! So, as > a temporary workaround (to preserve my hearing whilst working on the > system:) I've added this to /etc/crontab: > > # Try and keep the fans from racing */2 * * * * root /sbin/sysctl > dev.fcu.0.fans> /dev/null 2>&1 > > > Does anyone have any information as to the correct way of wrangling > the fan RPM? Using the bizarre crontab entry above keeps the noise > at a reasonable level and the temperature at this fairly steady > value: > > dev.max6690.0.sensor.sys_ctrlr_ambient.temp: 35.6C > dev.max6690.0.sensor.sys_ctrlr_internal.temp: 49.2C > > But, like I said, it seems like a bizarre solution. For now it is the 'correct' solution. The idea is to have a user land application which controls the fan speed with the information from the temp sensors. As Nathan already pointed out, there is at least one driver missing in the repo. And I see in your verbose log that there must be some more sensors missing. The one I have local is the AD7417 and the one I expect to be missing on your system is the LM75 or so. max66900: at addr 0x98 on iicbus0 fcu0: at addr 0x15e on iicbus0 iicbus0: at addr 0x30 iicbus0: at addr 0x58 <---- AD7417 iicbus0: at addr 0xa0 iicbus0: at addr 0x32 iicbus0: at addr 0x5a <---- AD7417 iicbus0: at addr 0xa2 iicbus0: at addr 0x1c0 The other addresses I need to check. Could you provide me with a 'devinfo -v' from both iichb's (0|1) On my PowerMac I have the same crontab entry as you have above. It is necessary to 'tickle' the HW that it knows the current setting is still valid. In case your machine freezes, the tickling will not happen and the HW can speed up the fans to make sure no HW damage will happen. I have a little shell scripts which sets the fan speed for compilation jobs. Means, if I heavily use the machine I drill up the speed to make sure the temperature will stay at a 'normal' level. [bohrium:~] andreast% cat fan_set.sh #!/bin/sh /sbin/sysctl dev.fcu.0.fans.cpu_a_intake.rpm=1500 > /dev/null /sbin/sysctl dev.fcu.0.fans.cpu_b_intake.rpm=1500 > /dev/null /sbin/sysctl dev.fcu.0.fans.cpu_a_exhaust.rpm=1500 > /dev/null /sbin/sysctl dev.fcu.0.fans.cpu_b_exhaust.rpm=1500 > /dev/null /sbin/sysctl dev.fcu.0.fans.drive_bay.rpm=1500 > /dev/null /sbin/sysctl dev.fcu.0.fans.slot.rpm=2500 > /dev/null /sbin/sysctl dev.fcu.0.fans.backside.rpm=2000 > /dev/null Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Thu Dec 2 20:49:23 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 1564A1065673 for ; Thu, 2 Dec 2010 20:49:23 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id C70128FC14 for ; Thu, 2 Dec 2010 20:49:22 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id B6B4611DD3 for ; Fri, 3 Dec 2010 06:30:16 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (c-71-237-45-80.hsd1.co.comcast.net [71.237.45.80]) by dommail.onthenet.com.au (MOS 4.1.8-GA) with ESMTP id ART47119 (AUTH peterg@ptree32.com.au); Fri, 3 Dec 2010 06:29:57 +1000 Message-ID: <4CF801D5.6090007@freebsd.org> Date: Thu, 02 Dec 2010 13:30:13 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-ppc@freebsd.org References: <5A677521-DE86-4BA9-BA85-8003957551B5@freebsd.org> <4CEBDB9D.2010309@freebsd.org> <15A958D9-5CBE-4830-B72C-CC4DF2192BC0@gromit.dlib.vt.edu> In-Reply-To: <15A958D9-5CBE-4830-B72C-CC4DF2192BC0@gromit.dlib.vt.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: New powerpc64 snapshot 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, 02 Dec 2010 20:49:23 -0000 > The really bizarre thing, though, is that when the fans begin racing > and the noise is loud, simply executing "sysctl dev.fcu.0.fans" is > enough to calm them down to a more manageable 5600--6400 RPM! Fan control is handled by a microcontroller. If it doesn't see any communication, it assumes that the main CPU has gone away and winds up the fans to full-bore (you can see this if you sit at the FreeBSD loader prompt for a short time). Reading the fan speed is probably enough to fool the micro into thinking that something might be happening, so it will turn the fan speed back to normal and start it's timeout again. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Fri Dec 3 01:55:52 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 D12AA106566B; Fri, 3 Dec 2010 01:55:52 +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 A47118FC18; Fri, 3 Dec 2010 01:55:52 +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 oB31tp2K066132; Thu, 2 Dec 2010 20:55:51 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oB31tpK0066131; Fri, 3 Dec 2010 01:55:51 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 3 Dec 2010 01:55:51 GMT Message-Id: <201012030155.oB31tpK0066131@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: Fri, 03 Dec 2010 01:55:52 -0000 TB --- 2010-12-03 00:10:39 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-12-03 00:10:39 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-12-03 00:10:39 - cleaning the object tree TB --- 2010-12-03 00:11:01 - cvsupping the source tree TB --- 2010-12-03 00:11:01 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-12-03 00:11:15 - building world TB --- 2010-12-03 00:11:15 - MAKEOBJDIRPREFIX=/obj TB --- 2010-12-03 00:11:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-12-03 00:11:15 - TARGET=powerpc TB --- 2010-12-03 00:11:15 - TARGET_ARCH=powerpc TB --- 2010-12-03 00:11:15 - TZ=UTC TB --- 2010-12-03 00:11:15 - __MAKE_CONF=/dev/null TB --- 2010-12-03 00:11:15 - cd /src TB --- 2010-12-03 00:11:15 - /usr/bin/make -B buildworld >>> World build started on Fri Dec 3 00:11:15 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 Fri Dec 3 01:51:05 UTC 2010 TB --- 2010-12-03 01:51:05 - generating LINT kernel config TB --- 2010-12-03 01:51:05 - cd /src/sys/powerpc/conf TB --- 2010-12-03 01:51:05 - /usr/bin/make -B LINT TB --- 2010-12-03 01:51:05 - building LINT kernel TB --- 2010-12-03 01:51:05 - MAKEOBJDIRPREFIX=/obj TB --- 2010-12-03 01:51:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-12-03 01:51:05 - TARGET=powerpc TB --- 2010-12-03 01:51:05 - TARGET_ARCH=powerpc TB --- 2010-12-03 01:51:05 - TZ=UTC TB --- 2010-12-03 01:51:05 - __MAKE_CONF=/dev/null TB --- 2010-12-03 01:51:05 - cd /src TB --- 2010-12-03 01:51:05 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Dec 3 01:51:05 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/en/if_en_pci.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/en/midway.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/ep/if_ep.c cc1: warnings being treated as errors /src/sys/dev/ep/if_ep.c: In function 'epstart_locked': /src/sys/dev/ep/if_ep.c:542: warning: suggest parentheses around comparison in operand of & /src/sys/dev/ep/if_ep.c: In function 'epread': /src/sys/dev/ep/if_ep.c:794: warning: suggest parentheses around comparison in operand of & *** 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-12-03 01:55:51 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-12-03 01:55:51 - ERROR: failed to build lint kernel TB --- 2010-12-03 01:55:51 - 4889.17 user 883.39 system 6311.87 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Fri Dec 3 05:28:45 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 2915D1065697 for ; Fri, 3 Dec 2010 05:28:45 +0000 (UTC) (envelope-from jwbacon@tds.net) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id DAB828FC16 for ; Fri, 3 Dec 2010 05:28:44 +0000 (UTC) Received: by qwj9 with SMTP id 9so3691464qwj.13 for ; Thu, 02 Dec 2010 21:28:44 -0800 (PST) Received: by 10.229.225.213 with SMTP id it21mr865515qcb.90.1291352225463; Thu, 02 Dec 2010 20:57:05 -0800 (PST) Received: from sculpin.jbacon.dyndns.org (h69-131-29-165.nwblwi.broadband.dynamic.tds.net [69.131.29.165]) by mx.google.com with ESMTPS id u2sm940597qcq.43.2010.12.02.20.57.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Dec 2010 20:57:04 -0800 (PST) Message-ID: <4CF8789E.3030409@tds.net> Date: Thu, 02 Dec 2010 22:57:02 -0600 From: Jason Bacon User-Agent: Thunderbird 2.0.0.23 (X11/20091021) MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: iBook touch pad 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, 03 Dec 2010 05:28:45 -0000 Hi all, I just hacked the development version of my desktop-installer script for powerpc using an iBook G4. After a period of testing, I'll do a maintainer update, but in the meantime, if anyone is interested, it's available at http://personalpages.tds.net/~jwbacon/Ports/. I was delightfully surprised how few limitations there are with this platform. Installation was a little rough on the edges, but thanks to the info on the wiki, it was easy to work around the glitches, and I now have a seemingly stable XFCE setup. The one thing I really lament is a functioning touch pad. I found a brief thread suggesting porting the netbsd driver, so I was wondering if anyone has been working quietly on that since the post, or if there's another solution available. There are a few more bugs to iron out before desktop-installer will produce a fully-functional powerpc system without intervention, but I'm pretty confident that it won't be too difficult. Thanks for all the hard work, and TIA for any tips on the touch pad. Jason -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jason W. Bacon jwbacon@tds.net http://personalpages.tds.net/~jwbacon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-freebsd-ppc@FreeBSD.ORG Fri Dec 3 07:08:32 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 D143310656CA; Fri, 3 Dec 2010 07:08:32 +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 A2A178FC21; Fri, 3 Dec 2010 07:08:32 +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 oB378VW5065999; Fri, 3 Dec 2010 02:08:31 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oB378V7h065992; Fri, 3 Dec 2010 07:08:31 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 3 Dec 2010 07:08:31 GMT Message-Id: <201012030708.oB378V7h065992@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: Fri, 03 Dec 2010 07:08:32 -0000 TB --- 2010-12-03 05:17:01 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-12-03 05:17:01 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-12-03 05:17:01 - cleaning the object tree TB --- 2010-12-03 05:17:30 - cvsupping the source tree TB --- 2010-12-03 05:17:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-12-03 05:18:11 - building world TB --- 2010-12-03 05:18:11 - MAKEOBJDIRPREFIX=/obj TB --- 2010-12-03 05:18:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-12-03 05:18:11 - TARGET=powerpc TB --- 2010-12-03 05:18:11 - TARGET_ARCH=powerpc TB --- 2010-12-03 05:18:11 - TZ=UTC TB --- 2010-12-03 05:18:11 - __MAKE_CONF=/dev/null TB --- 2010-12-03 05:18:11 - cd /src TB --- 2010-12-03 05:18:11 - /usr/bin/make -B buildworld >>> World build started on Fri Dec 3 05:18:12 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 Fri Dec 3 07:03:34 UTC 2010 TB --- 2010-12-03 07:03:34 - generating LINT kernel config TB --- 2010-12-03 07:03:34 - cd /src/sys/powerpc/conf TB --- 2010-12-03 07:03:34 - /usr/bin/make -B LINT TB --- 2010-12-03 07:03:34 - building LINT kernel TB --- 2010-12-03 07:03:34 - MAKEOBJDIRPREFIX=/obj TB --- 2010-12-03 07:03:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-12-03 07:03:34 - TARGET=powerpc TB --- 2010-12-03 07:03:34 - TARGET_ARCH=powerpc TB --- 2010-12-03 07:03:34 - TZ=UTC TB --- 2010-12-03 07:03:34 - __MAKE_CONF=/dev/null TB --- 2010-12-03 07:03:34 - cd /src TB --- 2010-12-03 07:03:34 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Dec 3 07:03:34 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/en/if_en_pci.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/en/midway.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/ep/if_ep.c cc1: warnings being treated as errors /src/sys/dev/ep/if_ep.c: In function 'epstart_locked': /src/sys/dev/ep/if_ep.c:542: warning: suggest parentheses around comparison in operand of & /src/sys/dev/ep/if_ep.c: In function 'epread': /src/sys/dev/ep/if_ep.c:794: warning: suggest parentheses around comparison in operand of & *** 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-12-03 07:08:31 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-12-03 07:08:31 - ERROR: failed to build lint kernel TB --- 2010-12-03 07:08:31 - 4889.82 user 875.10 system 6690.20 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Fri Dec 3 20:41: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 6AFEC106564A; Fri, 3 Dec 2010 20:41:18 +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 1BDEB8FC17; Fri, 3 Dec 2010 20:41:17 +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 oB3KelHx018486; Fri, 3 Dec 2010 15:40:47 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by vivi.cc.vt.edu (MOS 4.2.2-FCS FastPath queued) with ESMTP id OMS76481; Fri, 03 Dec 2010 15:40:46 -0500 (EST) Received: from pmather.tower.lib.vt.edu (pmather.tower.lib.vt.edu [128.173.51.28]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id oB3KekvK013495 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 3 Dec 2010 15:40:46 -0500 Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Paul Mather In-Reply-To: <4CF7FAFD.2030607@FreeBSD.org> Date: Fri, 3 Dec 2010 15:40:46 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <3853126F-041B-4CA9-A3FC-417CB000E21C@gromit.dlib.vt.edu> References: <5A677521-DE86-4BA9-BA85-8003957551B5@freebsd.org> <4CEBDB9D.2010309@freebsd.org> <15A958D9-5CBE-4830-B72C-CC4DF2192BC0@gromit.dlib.vt.edu> <4CF7FAFD.2030607@FreeBSD.org> To: Andreas Tobler X-Mailer: Apple Mail (2.1082) 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-Signature-Raw: score=unknown, refid=str=0001.0A020202.4CF955CF.0060,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Cc: freebsd-ppc@FreeBSD.org, Nathan Whitehorn , yongari@FreeBSD.org Subject: Re: New powerpc64 snapshot 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, 03 Dec 2010 20:41:18 -0000 On Dec 2, 2010, at 3:01 PM, Andreas Tobler wrote: > Hi! >=20 > I'll take the opportunity to comment on the fans situation. >=20 > On 02.12.10 20:29, Paul Mather wrote: >=20 >>>> 3) The system is LOUD! It sounds like the fans are running high >>>> pretty much all the time---running much higher than Mac OS X >>>> 10.5 runs them. I notice a "fcu" fan-related device during boot. >>>> Is there any way to force the fans to run at a lower speed? I'm >>>> going to go deaf at this rate. :-) >>>=20 >>> Andreas Tobler has some in-flight thermal monitoring code he posted >>> to the list a while ago, and one thermal monitor chip is still not >>> in the tree. Even without the patches, you can turn down the fans >>> by hand with sysctls on dev.fcu. >>=20 >> The fan situation is bizarre. I couldn't find a man page for device >> fcu so I looked at the sysctls. There are a bunch of >> dev.fcu.0.fans.*.{minrpm,maxrpm,rpm} sysctls associated with cpu_a, >> cpu_b, sys_ctrlr_fan and pci_fan. I initially figured that lowering >> dev.fcu.0.fans.*.maxrpm from the 14000 shown would limit the noise. >> However, that sysctl is read-only, and trying to set it in >> /boot/loader.conf appeared to have no effect: the values stayed >> resolutely at 14000. Is there some other way to set this, or is it >> hard-coded? >=20 > First, there is no man page yet. > Second, the minrpm and the maxrpm are the edge values, these are fix. = You can't change them. The only parameter you can influence is the = dev.fcu.0.fans.*.rpm=3D. >=20 >> I could set a value for dev.fcu.0.fans.*.rpm though it wasn't clear >> what the precise correlation was between the value set and the >> resultant fan RPM. It did have some effect. In any case, the value >> didn't stay at the set value, and the fans eventually began racing >> again. Actually, when I say "the fans" it seemed only to be >> sys_ctrlr_fan and pci_fan. The various CPU fans appeared to hover >> around ~6000 rpm according to the sysctls. >=20 > I have to admit, the machine I wrote this driver for was a PowerMac7,2 = and your machine is an Xserve, right? They share some fan properties but = not all. So I guess the sys_ctrlr_fan and the pci_fan are not supported = yet. Should not be a big deal to add support for them. Yes, I am using an Xserve G5. >> The really bizarre thing, though, is that when the fans begin racing >> and the noise is loud, simply executing "sysctl dev.fcu.0.fans" is >> enough to calm them down to a more manageable 5600--6400 RPM! So, as >> a temporary workaround (to preserve my hearing whilst working on the >> system:) I've added this to /etc/crontab: >>=20 >> # Try and keep the fans from racing */2 * * * = * root /sbin/sysctl >> dev.fcu.0.fans> /dev/null 2>&1 >>=20 >>=20 >> Does anyone have any information as to the correct way of wrangling >> the fan RPM? Using the bizarre crontab entry above keeps the noise >> at a reasonable level and the temperature at this fairly steady >> value: >>=20 >> dev.max6690.0.sensor.sys_ctrlr_ambient.temp: 35.6C >> dev.max6690.0.sensor.sys_ctrlr_internal.temp: 49.2C >>=20 >> But, like I said, it seems like a bizarre solution. >=20 > For now it is the 'correct' solution. The idea is to have a user land = application which controls the fan speed with the information from the = temp sensors. As Nathan already pointed out, there is at least one = driver missing in the repo. And I see in your verbose log that there = must be some more sensors missing. The one I have local is the AD7417 = and the one I expect to be missing on your system is the LM75 or so. >=20 > max66900: at addr 0x98 on iicbus0 > fcu0: at addr 0x15e on iicbus0 > iicbus0: at addr 0x30 > iicbus0: at addr 0x58 <---- AD7417 > iicbus0: at addr 0xa0 > iicbus0: at addr 0x32 > iicbus0: at addr 0x5a <---- AD7417 > iicbus0: at addr 0xa2 > iicbus0: at addr 0x1c0 >=20 > The other addresses I need to check. >=20 > Could you provide me with a 'devinfo -v' from both iichb's (0|1) Hopefully, this is the info you requested (if not, I can e-mail the = whole devinfo -v output): iichb0 pnpinfo name=3Di2c compat=3Dkeywest-i2c iicbus0 unknown pnpinfo name=3Di2c-hwclock compat=3Dpulsar-legacy-slewing = at addr=3D0xd4 max66900 pnpinfo name=3Dtemp-monitor compat=3Dmax6690 at = addr=3D0x98 fcu0 pnpinfo name=3Dfan compat=3Dfcu at addr=3D0x15e unknown pnpinfo name=3Di2c-cpu-voltage compat=3Dpca9556 at = addr=3D0x30 unknown pnpinfo name=3Dsupply-monitor compat=3Dad7417 at = addr=3D0x58 unknown pnpinfo name=3Dcpuid compat=3D24256 at addr=3D0xa0 unknown pnpinfo name=3Di2c-cpu-voltage compat=3Dpca9556 at = addr=3D0x32 unknown pnpinfo name=3Dsupply-monitor compat=3Dad7417 at = addr=3D0x5a unknown pnpinfo name=3Dcpuid compat=3D24256 at addr=3D0xa2 unknown pnpinfo name=3Dcereal at addr=3D0x1c0 iichb1 pnpinfo name=3Di2c compat=3Dk2-i2c iicbus1 unknown pnpinfo name=3Dlm87cimt compat=3Dlm87cimt at = addr=3D0x5a unknown pnpinfo name=3Dlm87cimt compat=3Dlm87cimt at = addr=3D0x5c unknown pnpinfo name=3Dtemp-monitor compat=3Dlm75 at = addr=3D0x90 unknown pnpinfo name=3Dpower-supply-monitor = compat=3Dpic16c72a at addr=3D0x94 unknown pnpinfo name=3Dcereal at addr=3D0x1c0 > On my PowerMac I have the same crontab entry as you have above. It is = necessary to 'tickle' the HW that it knows the current setting is still = valid. In case your machine freezes, the tickling will not happen and = the HW can speed up the fans to make sure no HW damage will happen. >=20 > I have a little shell scripts which sets the fan speed for compilation = jobs. Means, if I heavily use the machine I drill up the speed to make = sure the temperature will stay at a 'normal' level. >=20 > [bohrium:~] andreast% cat fan_set.sh > #!/bin/sh > /sbin/sysctl dev.fcu.0.fans.cpu_a_intake.rpm=3D1500 > /dev/null > /sbin/sysctl dev.fcu.0.fans.cpu_b_intake.rpm=3D1500 > /dev/null > /sbin/sysctl dev.fcu.0.fans.cpu_a_exhaust.rpm=3D1500 > /dev/null > /sbin/sysctl dev.fcu.0.fans.cpu_b_exhaust.rpm=3D1500 > /dev/null > /sbin/sysctl dev.fcu.0.fans.drive_bay.rpm=3D1500 > /dev/null > /sbin/sysctl dev.fcu.0.fans.slot.rpm=3D2500 > /dev/null > /sbin/sysctl dev.fcu.0.fans.backside.rpm=3D2000 > /dev/null >=20 > Thanks, > Andreas >=20 My thanks to you (and others) for the explanation. On my system, setting a *.rpm sysctl to a value does not always have = direct correlation with the value subsequently reported. This is = particularly true of dev.fcu.0.fans.sys_ctrlr_fan.rpm and = dev.fcu.0.fans.pci_fan.maxrpm. For example, if I set sys_ctrlr_fan RPM = to 6000, it will race up immediately to ~13000--14000 RPM. To get it to = maintain a reported ~6000 RPM I need to set it to ~1100--1200 RPM with = the sysctl. Cheers, Paul. From owner-freebsd-ppc@FreeBSD.ORG Sat Dec 4 07:04:48 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 21DD31065670; Sat, 4 Dec 2010 07:04:48 +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 E8A268FC12; Sat, 4 Dec 2010 07:04:47 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id oB474lmG086588; Sat, 4 Dec 2010 02:04:47 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id oB474lo5086587; Sat, 4 Dec 2010 07:04:47 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 4 Dec 2010 07:04:47 GMT Message-Id: <201012040704.oB474lo5086587@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: Sat, 04 Dec 2010 07:04:48 -0000 TB --- 2010-12-04 05:24:03 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-12-04 05:24:03 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-12-04 05:24:03 - cleaning the object tree TB --- 2010-12-04 05:24:15 - cvsupping the source tree TB --- 2010-12-04 05:24:15 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-12-04 05:24:30 - building world TB --- 2010-12-04 05:24:30 - MAKEOBJDIRPREFIX=/obj TB --- 2010-12-04 05:24:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-12-04 05:24:30 - TARGET=powerpc TB --- 2010-12-04 05:24:30 - TARGET_ARCH=powerpc TB --- 2010-12-04 05:24:30 - TZ=UTC TB --- 2010-12-04 05:24:30 - __MAKE_CONF=/dev/null TB --- 2010-12-04 05:24:30 - cd /src TB --- 2010-12-04 05:24:30 - /usr/bin/make -B buildworld >>> World build started on Sat Dec 4 05:24:30 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 Sat Dec 4 07:00:14 UTC 2010 TB --- 2010-12-04 07:00:14 - generating LINT kernel config TB --- 2010-12-04 07:00:14 - cd /src/sys/powerpc/conf TB --- 2010-12-04 07:00:14 - /usr/bin/make -B LINT TB --- 2010-12-04 07:00:14 - building LINT kernel TB --- 2010-12-04 07:00:14 - MAKEOBJDIRPREFIX=/obj TB --- 2010-12-04 07:00:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-12-04 07:00:14 - TARGET=powerpc TB --- 2010-12-04 07:00:14 - TARGET_ARCH=powerpc TB --- 2010-12-04 07:00:14 - TZ=UTC TB --- 2010-12-04 07:00:14 - __MAKE_CONF=/dev/null TB --- 2010-12-04 07:00:14 - cd /src TB --- 2010-12-04 07:00:14 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Dec 4 07:00:14 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/de/if_de.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/dpt/dpt_pci.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/dpt/dpt_scsi.c awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/eisa/eisa_if.m -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 eisa_if.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/e1000/if_em.c -I/src/sys/dev/e1000 cc1: warnings being treated as errors /src/sys/dev/e1000/if_em.c: In function 'em_rx_discard': /src/sys/dev/e1000/if_em.c:4306: warning: unused variable 'adapter' *** 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-12-04 07:04:47 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-12-04 07:04:47 - ERROR: failed to build lint kernel TB --- 2010-12-04 07:04:47 - 4871.93 user 813.50 system 6043.38 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Dec 4 20:08: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 844DE106564A; Sat, 4 Dec 2010 20:08:43 +0000 (UTC) (envelope-from andreast@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 30BA18FC2C; Sat, 4 Dec 2010 20:08:42 +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 oB4JYMuU084589; Sat, 4 Dec 2010 20:34:25 +0100 (CET) (envelope-from andreast@fgznet.ch) Message-ID: <4CFA97BE.3050901@fgznet.ch> Date: Sat, 04 Dec 2010 20:34:22 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.11) Gecko/20101013 Lightning/1.0b2 Thunderbird/3.1.5 MIME-Version: 1.0 To: Paul Mather References: <5A677521-DE86-4BA9-BA85-8003957551B5@freebsd.org> <4CEBDB9D.2010309@freebsd.org> <15A958D9-5CBE-4830-B72C-CC4DF2192BC0@gromit.dlib.vt.edu> <4CF7FAFD.2030607@FreeBSD.org> <3853126F-041B-4CA9-A3FC-417CB000E21C@gromit.dlib.vt.edu> In-Reply-To: <3853126F-041B-4CA9-A3FC-417CB000E21C@gromit.dlib.vt.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@FreeBSD.org, Nathan Whitehorn , yongari@FreeBSD.org Subject: Re: New powerpc64 snapshot 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, 04 Dec 2010 20:08:43 -0000 On 03.12.10 21:40, Paul Mather wrote: > On Dec 2, 2010, at 3:01 PM, Andreas Tobler wrote: > Hopefully, this is the info you requested (if not, I can e-mail the > whole devinfo -v output): > > iichb0 pnpinfo name=i2c compat=keywest-i2c iicbus0 unknown pnpinfo > name=i2c-hwclock compat=pulsar-legacy-slewing at addr=0xd4 max66900 > pnpinfo name=temp-monitor compat=max6690 at addr=0x98 fcu0 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=i2c-cpu-voltage compat=pca9556 at addr=0x32 unknown pnpinfo > name=supply-monitor compat=ad7417 at addr=0x5a unknown pnpinfo > name=cpuid compat=24256 at addr=0xa2 unknown pnpinfo name=cereal at > addr=0x1c0 Yes, that is exactly what I was looking for. I have to think about how I can provide some better support. In the above we see that there are two AD7417, where the driver already exists. And below we have an LM75, which should be similar, if not equal, to the DS1775 (This one is available in the tree, but not yet used on your machine.) The real missing part is the LM87. Here we might need to write a new driver. But these missing drivers have no direct effect on the fan speed. They only help you to determine the right speed to keep the machine cool. Sure, we need them when we have a user land app which controls the whole stuff. But for now you (we) play the user land app :) > iichb1 pnpinfo name=i2c compat=k2-i2c 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 > My thanks to you (and others) for the explanation. > > On my system, setting a *.rpm sysctl to a value does not always have > direct correlation with the value subsequently reported. This is > particularly true of dev.fcu.0.fans.sys_ctrlr_fan.rpm and > dev.fcu.0.fans.pci_fan.maxrpm. For example, if I set sys_ctrlr_fan > RPM to 6000, it will race up immediately to ~13000--14000 RPM. To > get it to maintain a reported ~6000 RPM I need to set it to > ~1100--1200 RPM with the sysctl. Hehe, these two fans are PWM controlled while the others re controlled by RPM (see the verbose log and in the source, type 0 is RPM, type 1 is PWM). It is possible that my formula to calculate the RPM is not working properly. I'll have a look at and see what I can improve. Thank you for the feedback. Andreas