From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 17 03:54:43 2011 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 91594106566B for ; Sun, 17 Jul 2011 03:54:43 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 714448FC12 for ; Sun, 17 Jul 2011 03:54:43 +0000 (UTC) Received: by pvg11 with SMTP id 11so2877558pvg.13 for ; Sat, 16 Jul 2011 20:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=ntgUILrbL/w9zaK5GENN1wkNzXux/qELG/St7DGBiNc=; b=pBXcodsOw18PtxbDJfPHzsTvemTDYcM73rw3AZXbHN6OwE3uQkC2gk1cWyJjILN3qm nEd4oRB/reKhUAUX/vH3x8AhfeZTtJGBtjtmp6uSVAn6CqtLpLyPTogd2YVL8ih74TZa hORs5uSSIddhy+AZhouyOWPMc0FWR249TO38g= MIME-Version: 1.0 Received: by 10.68.20.228 with SMTP id q4mr4484518pbe.36.1310873220608; Sat, 16 Jul 2011 20:27:00 -0700 (PDT) Received: by 10.68.59.228 with HTTP; Sat, 16 Jul 2011 20:27:00 -0700 (PDT) Date: Sat, 16 Jul 2011 23:27:00 -0400 Message-ID: From: Super Bisquit To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 Subject: Virtual termnals do not resume after exiting x 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, 17 Jul 2011 03:54:43 -0000 iMac G4 is the model. From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 17 16:16:46 2011 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 BEDAD106566C for ; Sun, 17 Jul 2011 16:16:46 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 942E98FC12 for ; Sun, 17 Jul 2011 16:16:46 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LOH00C00JVXNI00@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sun, 17 Jul 2011 11:16:45 -0500 (CDT) Received: from comporellon.tachypleus.net ([unknown] [76.210.68.180]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LOH00MTFJVWUO20@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sun, 17 Jul 2011 11:16:45 -0500 (CDT) Date: Sun, 17 Jul 2011 11:16:44 -0500 From: Nathan Whitehorn In-reply-to: To: freebsd-ppc@freebsd.org Message-id: <4E230AEC.6010902@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.68.180 X-Spam-PmxInfo: Server=avs-14, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.7.17.160914, SenderIP=76.210.68.180 References: User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110704 Thunderbird/5.0 Subject: Re: Virtual termnals do not resume after exiting x 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, 17 Jul 2011 16:16:46 -0000 On 07/16/11 22:27, Super Bisquit wrote: > iMac G4 is the model. The way we support framebuffers on powermacs is by using Open Firmware. On some graphics hardware (a small minority of what Apple shipped, but which you have), the usual OF reinit pathway doesn't work after Xorg exits due to deficiencies in the graphics card firmware. There isn't a solution except for adding real KMS support to the kernel. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 18 03:20:23 2011 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 D8544106566C for ; Mon, 18 Jul 2011 03:20:23 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id A9E838FC14 for ; Mon, 18 Jul 2011 03:20:23 +0000 (UTC) Received: by pvg11 with SMTP id 11so3532512pvg.13 for ; Sun, 17 Jul 2011 20:20:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5PsvFJObGUDxvLPH6c9nP1VHxSi1CaV5b6Uwn84cjOM=; b=unqcRwjF4JbO1+ziN/Pw3GG6VocH4LSOqe+99HEBATFkTPHivLsQdowLHLN2G79HQk 4S7+RGFu7Mt8ieDDI/pGUzhn7MqtOlMtVvUz6+NZyBo/WgayAG/S53jmTRlTVyn/h88J uU9504TiI8TvzkS34QLa/h5dqqf/zk4K/CTAo= MIME-Version: 1.0 Received: by 10.68.20.228 with SMTP id q4mr5821962pbe.36.1310959223117; Sun, 17 Jul 2011 20:20:23 -0700 (PDT) Received: by 10.68.59.228 with HTTP; Sun, 17 Jul 2011 20:20:23 -0700 (PDT) In-Reply-To: <4E230AEC.6010902@freebsd.org> References: <4E230AEC.6010902@freebsd.org> Date: Sun, 17 Jul 2011 23:20:23 -0400 Message-ID: From: Super Bisquit To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ppc@freebsd.org Subject: Re: Virtual termnals do not resume after exiting x 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, 18 Jul 2011 03:20:24 -0000 On Sun, Jul 17, 2011 at 12:16 PM, Nathan Whitehorn wrote: > On 07/16/11 22:27, Super Bisquit wrote: > >> iMac G4 is the model. >> > > The way we support framebuffers on powermacs is by using Open Firmware. On > some graphics hardware (a small minority of what Apple shipped, but which > you have), the usual OF reinit pathway doesn't work after Xorg exits due to > deficiencies in the graphics card firmware. There isn't a solution except > for adding real KMS support to the kernel. > -Nathan > ______________________________**_________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@**freebsd.org > " > Is there any way I can help with testing KMS on PowerPC? From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 18 11:07:09 2011 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 80FD01065670 for ; Mon, 18 Jul 2011 11:07:09 +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 6F5FD8FC28 for ; Mon, 18 Jul 2011 11:07:09 +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 p6IB79i3026868 for ; Mon, 18 Jul 2011 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6IB78MS026866 for freebsd-ppc@FreeBSD.org; Mon, 18 Jul 2011 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Jul 2011 11:07:08 GMT Message-Id: <201107181107.p6IB78MS026866@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, 18 Jul 2011 11:07:09 -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 6 problems total. From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 19 16:20:20 2011 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 9BEE8106564A for ; Tue, 19 Jul 2011 16:20:20 +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 511E88FC17 for ; Tue, 19 Jul 2011 16:20:20 +0000 (UTC) Received: from zidane.cc.vt.edu (zidane.cc.vt.edu [198.82.163.227]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id p6JGJ8VN003496 for ; Tue, 19 Jul 2011 12:19:49 -0400 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by zidane.cc.vt.edu (MOS 4.2.2-FCS FastPath queued) with ESMTP id PZK98447; Tue, 19 Jul 2011 12:19:49 -0400 (EDT) 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 p6JGJmAU003239 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 19 Jul 2011 12:19:49 -0400 From: Paul Mather Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jul 2011 12:19:48 -0400 Message-Id: <76CAEDC6-A527-4AEA-9CE8-1ED9B65CACB8@gromit.dlib.vt.edu> To: freebsd-ppc@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu paul@gromit.dlib.vt.edu 5 none X-Junkmail-Status: score=10/50, host=zidane.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A020201.4E25AEA5.00F3,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 Subject: "sysctl -a" hangs multiuser boot 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, 19 Jul 2011 16:20:20 -0000 I'm having problems with a kernel built today from a csup done today. = I'm using an Xserve G5 running FreeBSD/powerpc64 9-CURRENT. The system = will not boot up multiuser: it hangs at "Entropy harvesting: interrupts = ethernet point_to_point" and gets no further. I can't Ctrl-C to get the = boot past that point. It appears it is the "sysctl -a" in the entropy kickstart portion of = /etc/rc.d/initrandom that is causing the problem. If I do "sysctl -a" manually it will produce output so far and then no = further. Here are the last few lines before it stops outputting = anything more: [[...]] hw.usb.ugen.debug: 0 hw.usb.power_timeout: 30 hw.usb.uhub.debug: 0 hw.usb.no_pf: 0 hw.usb.proc.debug: 0 hw.usb.pr_recovery_delay: 250 hw.usb.pr_poll_delay: 50 hw.usb.uhid.debug: 0 hw.usb.ukbd.no_leds: 0 hw.usb.ukbd.debug: 0 hw.usb.ums.debug: 0 The system doesn't hang, but console input ceases to work and I can't = SSH into the system any more. I can still ping the machine, but ping = times vary wildly, e.g., 27 packets transmitted, 26 packets received, 3.7% packet loss round-trip min/avg/max/stddev =3D 57.076/708.818/1395.450/280.318 ms Those ping times are way higher than normal. Here is an example of = pinging the machine when it is not under the influence of doing a = "sysctl -a": 23 packets transmitted, 23 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.421/0.591/0.758/0.096 ms Also, at occasional intervals, this will be output on the console after = having done a "sysctl -a": max66900: iicbus read failed (That's the only console output I have seen since issuing "sysctl -a".) The fans will occasionally race, but eventually be brought under = control. For now, I have removed the "sysctl -a" from /etc/rc.d/initrandom so my = system can boot, but I don't think that is a desirable long-term fix. Any ideas for a good long-term solution? Cheers, Paul. From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 19 21:44:49 2011 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 8C5891065670; Tue, 19 Jul 2011 21:44:49 +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 572888FC1A; Tue, 19 Jul 2011 21:44:49 +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 p6JLimUF025358; Tue, 19 Jul 2011 17:44:48 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p6JLim99025357; Tue, 19 Jul 2011 21:44:48 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 19 Jul 2011 21:44:48 GMT Message-Id: <201107192144.p6JLim99025357@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, 19 Jul 2011 21:44:49 -0000 TB --- 2011-07-19 19:50:53 - tinderbox 2.7 running on freebsd-current.sentex.ca TB --- 2011-07-19 19:50:53 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-07-19 19:50:53 - cleaning the object tree TB --- 2011-07-19 19:51:10 - cvsupping the source tree TB --- 2011-07-19 19:51:10 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2011-07-19 19:51:23 - building world TB --- 2011-07-19 19:51:23 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-19 19:51:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-19 19:51:23 - TARGET=powerpc TB --- 2011-07-19 19:51:23 - TARGET_ARCH=powerpc TB --- 2011-07-19 19:51:23 - TZ=UTC TB --- 2011-07-19 19:51:23 - __MAKE_CONF=/dev/null TB --- 2011-07-19 19:51:23 - cd /src TB --- 2011-07-19 19:51:23 - /usr/bin/make -B buildworld >>> World build started on Tue Jul 19 19:51:24 UTC 2011 >>> 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 19 21:34:50 UTC 2011 TB --- 2011-07-19 21:34:50 - generating LINT kernel config TB --- 2011-07-19 21:34:50 - cd /src/sys/powerpc/conf TB --- 2011-07-19 21:34:50 - /usr/bin/make -B LINT TB --- 2011-07-19 21:34:50 - building LINT kernel TB --- 2011-07-19 21:34:50 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-19 21:34:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-19 21:34:50 - TARGET=powerpc TB --- 2011-07-19 21:34:50 - TARGET_ARCH=powerpc TB --- 2011-07-19 21:34:50 - TZ=UTC TB --- 2011-07-19 21:34:50 - __MAKE_CONF=/dev/null TB --- 2011-07-19 21:34:50 - cd /src TB --- 2011-07-19 21:34:50 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jul 19 21:34:50 UTC 2011 >>> 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 -Wmissing-include-dirs -fdiagnostics-show-option -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 -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net80211/ieee80211_output.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 -Wmissing-include-dirs -fdiagnostics-show-option -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 -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net80211/ieee80211_phy.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 -Wmissing-include-dirs -fdiagnostics-show-option -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 -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net80211/ieee80211_power.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 -Wmissing-include-dirs -fdiagnostics-show-option -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 -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net80211/ieee80211_proto.c /src/sys/net80211/ieee80211_proto.c: In function 'ieee80211_csa_completeswitch': /src/sys/net80211/ieee80211_proto.c:1541: error: 'vap' undeclared (first use in this function) /src/sys/net80211/ieee80211_proto.c:1541: error: (Each undeclared identifier is reported only once /src/sys/net80211/ieee80211_proto.c:1541: error: for each function it appears in.) *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-07-19 21:44:48 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-07-19 21:44:48 - ERROR: failed to build lint kernel TB --- 2011-07-19 21:44:48 - 5757.12 user 1008.16 system 6834.87 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 20 02:09:21 2011 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 112D0106564A; Wed, 20 Jul 2011 02:09:21 +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 D41598FC15; Wed, 20 Jul 2011 02:09:20 +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 p6K29K0A077570; Tue, 19 Jul 2011 22:09:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p6K29Kn2077569; Wed, 20 Jul 2011 02:09:20 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 20 Jul 2011 02:09:20 GMT Message-Id: <201107200209.p6K29Kn2077569@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: Wed, 20 Jul 2011 02:09:21 -0000 TB --- 2011-07-20 00:11:58 - tinderbox 2.7 running on freebsd-current.sentex.ca TB --- 2011-07-20 00:11:58 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-07-20 00:11:58 - cleaning the object tree TB --- 2011-07-20 00:12:11 - cvsupping the source tree TB --- 2011-07-20 00:12:11 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2011-07-20 00:12:23 - building world TB --- 2011-07-20 00:12:23 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-20 00:12:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-20 00:12:23 - TARGET=powerpc TB --- 2011-07-20 00:12:23 - TARGET_ARCH=powerpc TB --- 2011-07-20 00:12:23 - TZ=UTC TB --- 2011-07-20 00:12:23 - __MAKE_CONF=/dev/null TB --- 2011-07-20 00:12:23 - cd /src TB --- 2011-07-20 00:12:23 - /usr/bin/make -B buildworld >>> World build started on Wed Jul 20 00:12:24 UTC 2011 >>> 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 Wed Jul 20 01:59:34 UTC 2011 TB --- 2011-07-20 01:59:34 - generating LINT kernel config TB --- 2011-07-20 01:59:34 - cd /src/sys/powerpc/conf TB --- 2011-07-20 01:59:34 - /usr/bin/make -B LINT TB --- 2011-07-20 01:59:34 - building LINT kernel TB --- 2011-07-20 01:59:34 - MAKEOBJDIRPREFIX=/obj TB --- 2011-07-20 01:59:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-07-20 01:59:34 - TARGET=powerpc TB --- 2011-07-20 01:59:34 - TARGET_ARCH=powerpc TB --- 2011-07-20 01:59:34 - TZ=UTC TB --- 2011-07-20 01:59:34 - __MAKE_CONF=/dev/null TB --- 2011-07-20 01:59:34 - cd /src TB --- 2011-07-20 01:59:34 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jul 20 01:59:34 UTC 2011 >>> 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 -Wmissing-include-dirs -fdiagnostics-show-option -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 -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net80211/ieee80211_output.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 -Wmissing-include-dirs -fdiagnostics-show-option -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 -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net80211/ieee80211_phy.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 -Wmissing-include-dirs -fdiagnostics-show-option -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 -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net80211/ieee80211_power.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 -Wmissing-include-dirs -fdiagnostics-show-option -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 -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net80211/ieee80211_proto.c /src/sys/net80211/ieee80211_proto.c: In function 'ieee80211_csa_completeswitch': /src/sys/net80211/ieee80211_proto.c:1541: error: 'vap' undeclared (first use in this function) /src/sys/net80211/ieee80211_proto.c:1541: error: (Each undeclared identifier is reported only once /src/sys/net80211/ieee80211_proto.c:1541: error: for each function it appears in.) *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-07-20 02:09:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-07-20 02:09:19 - ERROR: failed to build lint kernel TB --- 2011-07-20 02:09:19 - 5821.73 user 1033.84 system 7041.79 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 21 01:52:26 2011 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 F1274106566B for ; Thu, 21 Jul 2011 01:52: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 C5D918FC0A for ; Thu, 21 Jul 2011 01:52:26 +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 <0LON00B00UJDKH00@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Wed, 20 Jul 2011 20:52:25 -0500 (CDT) Received: from comporellon.tachypleus.net ([unknown] [76.210.68.180]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LON0088ZUJBKD10@smtpauth3.wiscmail.wisc.edu>; Wed, 20 Jul 2011 20:52:24 -0500 (CDT) Date: Wed, 20 Jul 2011 20:52:23 -0500 From: Nathan Whitehorn In-reply-to: <76CAEDC6-A527-4AEA-9CE8-1ED9B65CACB8@gromit.dlib.vt.edu> To: Paul Mather Message-id: <4E278657.6040805@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.68.180 X-Spam-PmxInfo: Server=avs-11, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.7.21.13914, SenderIP=76.210.68.180 References: <76CAEDC6-A527-4AEA-9CE8-1ED9B65CACB8@gromit.dlib.vt.edu> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110704 Thunderbird/5.0 Cc: freebsd-ppc@freebsd.org Subject: Re: "sysctl -a" hangs multiuser boot 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, 21 Jul 2011 01:52:27 -0000 On 07/19/11 11:19, Paul Mather wrote: > I'm having problems with a kernel built today from a csup done today. I'm using an Xserve G5 running FreeBSD/powerpc64 9-CURRENT. The system will not boot up multiuser: it hangs at "Entropy harvesting: interrupts ethernet point_to_point" and gets no further. I can't Ctrl-C to get the boot past that point. > > It appears it is the "sysctl -a" in the entropy kickstart portion of /etc/rc.d/initrandom that is causing the problem. > > If I do "sysctl -a" manually it will produce output so far and then no further. Here are the last few lines before it stops outputting anything more: > > [[...]] > hw.usb.ugen.debug: 0 > hw.usb.power_timeout: 30 > hw.usb.uhub.debug: 0 > hw.usb.no_pf: 0 > hw.usb.proc.debug: 0 > hw.usb.pr_recovery_delay: 250 > hw.usb.pr_poll_delay: 50 > hw.usb.uhid.debug: 0 > hw.usb.ukbd.no_leds: 0 > hw.usb.ukbd.debug: 0 > hw.usb.ums.debug: 0 > > > > The system doesn't hang, but console input ceases to work and I can't SSH into the system any more. I can still ping the machine, but ping times vary wildly, e.g., > > 27 packets transmitted, 26 packets received, 3.7% packet loss > round-trip min/avg/max/stddev = 57.076/708.818/1395.450/280.318 ms > > Those ping times are way higher than normal. Here is an example of pinging the machine when it is not under the influence of doing a "sysctl -a": > > 23 packets transmitted, 23 packets received, 0.0% packet loss > round-trip min/avg/max/stddev = 0.421/0.591/0.758/0.096 ms > > > Also, at occasional intervals, this will be output on the console after having done a "sysctl -a": > > max66900: iicbus read failed > > > (That's the only console output I have seen since issuing "sysctl -a".) > > The fans will occasionally race, but eventually be brought under control. > > For now, I have removed the "sysctl -a" from /etc/rc.d/initrandom so my system can boot, but I don't think that is a desirable long-term fix. > > Any ideas for a good long-term solution? > That's no good. Looks like USB is triggering an interrupt storm. I'll take a look in the next couple days. -Nathan