From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 14:41:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1143116A4CE for ; Wed, 28 Jan 2004 14:41:12 -0800 (PST) Received: from rincewind.c4inet.net (rincewind.c4inet.net [193.120.144.209]) by mx1.FreeBSD.org (Postfix) with SMTP id 10D9443D41 for ; Wed, 28 Jan 2004 14:41:09 -0800 (PST) (envelope-from sascha@rincewind.c4inet.net) Received: (qmail 1190 invoked from network); 28 Jan 2004 22:41:07 -0000 Received: from localhost.c4inet.net (HELO rincewind.c4inet.net) (127.0.0.1) by rincewind.c4inet.net with SMTP; 28 Jan 2004 22:41:07 -0000 Received: (from sascha@localhost) by rincewind.c4inet.net (8.12.10/8.12.10/Submit) id i0SMf7Kn001188; Wed, 28 Jan 2004 22:41:07 GMT (envelope-from sascha) Date: Wed, 28 Jan 2004 22:41:07 +0000 From: Sascha Luck To: wpaul@freebsd.org Message-ID: <20040128224106.GA1130@rincewind.c4inet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-RELEASE X-Mailman-Approved-At: Thu, 29 Jan 2004 05:21:06 -0800 cc: current@freebsd.org Subject: Project Evil: Dell TrueMobile 1400 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 22:41:12 -0000 Bill, I've cc'ed -current, but I am not subscribed (reading it through news GW), so it will likely fail. As for the report on the TrueMobile 1400 (Broadcom BCM4309): The ndis module works mostly fine. If the if_ndis module is loaded from /boot/loader.conf, it reproduceably panics the kernel. (I suspect this is due to if_ndis being loaded before acpi, but haven't had time to fiddle with the order of things being loaded). Performance (can only test 802.11b at the moment) is nominal, ie no visible difference to natively supported cards. One feature that doesn't work is IPv6 autoconfiguration (EUI64). rtsol runs but has no effect. Here the output of rtsol -d tmo0: saoirse# rtsol -d tmo0 checking if tmo0 is ready... tmo0 is ready send RS on tmo0, whose state is 2 send RS on tmo0, whose state is 2 send RS on tmo0, whose state is 2 No answer after sending 3 RSs stop timer for tmo0 there is no timer All in all, very good work :-). Hope the above helps you with your testing. Feel free to post to list if this fails to make it. Cheers, Sascha Luck From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 17:49:06 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11E9116A4CE for ; Wed, 28 Jan 2004 17:49:06 -0800 (PST) Received: from cust-serv-02-nic.arrownet.dk (cust-serv-02-nic.arrownet.dk [62.61.131.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73DEA43D1D for ; Wed, 28 Jan 2004 17:49:04 -0800 (PST) (envelope-from mr@midtfyn.net) Received: from 62.61.134.59.generic-hostname.arrownet.dk ([62.61.134.59] helo=culprit) by cust-serv-02-nic.arrownet.dk with smtp (Exim 4.20) id 1AlezV-0008n0-JM for freebsd-current@freebsd.org; Wed, 28 Jan 2004 02:59:41 +0100 Date: Wed, 28 Jan 2004 02:59:42 +0100 From: Michael Rasmussen To: freebsd-current@freebsd.org Message-Id: <20040128025942.75ce22bd.mr@midtfyn.net> X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 29 Jan 2004 05:21:06 -0800 Subject: libreadline X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2004 01:49:06 -0000 Hi I've noticed that libreadline (src/contrib/libreadline), although updated to 4.3, hasn't been patched with the official patches from http://ftp.gnu.org/pub/gnu/readline/readline-4.3-patches/ Shouldn't it be? /Michael From owner-freebsd-current@FreeBSD.ORG Tue Nov 18 08:35:04 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E5A616A519 for ; Tue, 18 Nov 2003 08:35:04 -0800 (PST) Received: from otter3.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6009243FBD for ; Tue, 18 Nov 2003 08:35:03 -0800 (PST) (envelope-from anderson@centtech.com) Received: from centtech.com (dhcp-171-146.centtech.com [10.177.171.146]) by otter3.centtech.com (8.12.3/8.12.3) with ESMTP id hAIGZ26T057804; Tue, 18 Nov 2003 10:35:02 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <3FBA4A2E.2060400@centtech.com> From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Edwin Culp References: <20031117201925.49640.qmail@web13009.mail.yahoo.com> In-Reply-To: <20031117201925.49640.qmail@web13009.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: Burncd is failing for me. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 18 Nov 2003 16:35:04 -0000 X-Original-Date: Tue, 18 Nov 2003 10:34:54 -0600 X-List-Received-Date: Tue, 18 Nov 2003 16:35:04 -0000 Edwin Culp wrote: >I'm running current with a cvsup, make world and new >kernel as of this morning. The test is on a Dell with >a dvd-rom >acd0: DVDROM at ata1-master >PIO4 > >I have been mounting cdrom's with no problem but >I just tried burncd and get the following error. > >Nov 17 13:52:35 kernel: acd0: FAILURE - >MODE_SENSE_BIG >status=51 sensekey=ILLEGAL REQUEST >error=4 > 935 Nov 17 13:55:36 kernel: acd0: FAILURE - >BLANK_CMD >status=51 sensekey=ILLEGAL REQUEST >error=4 > >I also noticed that I don't have a /dev/acd0c anymore >I don't know if that has anything to do with it. > >Any help will be appreciated. > > Me too - the cd burnt ok, but ended in an "input/output error". Here's my goop: # burncd -f /dev/acd0 -s max data 4.9-i386-disc1.iso fixate next writeable LBA 0 writing from file 4.9-i386-disc1.iso size 655680 KB written this track 655680 KB (100%) total 655680 KB fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error But the cd appears to function ok.. Eric -- ------------------------------------------------------------------ Eric Anderson Systems Administrator Centaur Technology All generalizations are false, including this one. ------------------------------------------------------------------ From owner-freebsd-current@FreeBSD.ORG Tue Nov 18 14:34:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 904B216A4CE for ; Tue, 18 Nov 2003 14:34:46 -0800 (PST) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B54843FA3 for ; Tue, 18 Nov 2003 14:34:45 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9p2/8.12.9) with ESMTP id hAIMYaeF091626; Tue, 18 Nov 2003 14:34:40 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200311182234.hAIMYaeF091626@gw.catspoiler.org> From: Don Lewis To: nate@root.org In-Reply-To: <20031118142911.M65367@root.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: current@FreeBSD.org Subject: Re: Updated acpi_cpu patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 18 Nov 2003 22:34:46 -0000 X-Original-Date: Tue, 18 Nov 2003 14:34:36 -0800 (PST) X-List-Received-Date: Tue, 18 Nov 2003 22:34:46 -0000 On 18 Nov, Nate Lawson wrote: > On Tue, 18 Nov 2003, Don Lewis wrote: >> On 18 Nov, Lukas Ertl wrote: >> > On Tue, 18 Nov 2003, Nate Lawson wrote: >> >> >> This excerpt from truckman@'s asl shows that 4 Cx states are only >> >> available when the AC adapter is not attached. (The C*NA memory addresses >> >> appear to be managed by the BIOS and not the AML but the PSR access is >> >> clear). >> > >> > This part of the ASL looks the one here - let me guess, is it a ThinkPad? >> > :-) >> >> Yup, a Thinkpad R40, which refuses to actually power down in ACPI mode >> when I run "shutdown -p". > > That's an old problem that Linux is also trying to work around. It > appears to be buggy hw. I wonder how Windoze does it ... From owner-freebsd-current@FreeBSD.ORG Wed Nov 19 12:34:51 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DB2316A4CF for ; Wed, 19 Nov 2003 12:34:51 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 863B943F3F for ; Wed, 19 Nov 2003 12:34:50 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 69079 invoked by uid 1000); 19 Nov 2003 20:34:51 -0000 From: Nate Lawson To: Harald Schmalzbauer In-Reply-To: <200311192113.09992@harrymail> Message-ID: <20031119123423.R69020@root.org> References: <20031119071613.O68054@root.org> <200311192113.09992@harrymail> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Robert Watson cc: current@freebsd.org Subject: Re: Updated acpi_cpu patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 19 Nov 2003 20:34:51 -0000 X-Original-Date: Wed, 19 Nov 2003 12:34:51 -0800 (PST) X-List-Received-Date: Wed, 19 Nov 2003 20:34:51 -0000 On Wed, 19 Nov 2003, Harald Schmalzbauer wrote: > On Wednesday 19 November 2003 16:31, Nate Lawson wrote: > > Ok, here's the final patch. I believe it fixes both problems. > > *SCHNIP* > > Yep, seems really final. I downloaded the acpi_cpi.c from cvs-web to be sure > to have the correct one and applied your patch. > > hw.acpi.cpu.cx_supported: C1/0 > hw.acpi.cpu.cx_lowest: 0 > hw.acpi.cpu.cx_history: 27743/0 > > No Problems at booting/rebooting Thanks for all the help. I have committed the code. -Nate From owner-freebsd-current@FreeBSD.ORG Fri Nov 21 11:33:40 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AC0916A4CF for ; Fri, 21 Nov 2003 11:33:40 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1257D43F93 for ; Fri, 21 Nov 2003 11:33:36 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id B4D6665319 for ; Thu, 20 Nov 2003 19:41:20 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 75529-01-23 for ; Thu, 20 Nov 2003 19:41:20 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 43E34652FE for ; Thu, 20 Nov 2003 19:41:20 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 674D926; Thu, 20 Nov 2003 19:41:01 +0000 (GMT) From: Bruce M Simpson To: freebsd-current@freebsd.org Message-ID: <20031120194101.GE84245@saboteur.dek.spc.org> Mail-Followup-To: freebsd-current@freebsd.org References: <20031118234031.GQ89189@saboteur.dek.spc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031118234031.GQ89189@saboteur.dek.spc.org> Subject: Re: Panic in cache_lookup() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 21 Nov 2003 19:33:40 -0000 X-Original-Date: Thu, 20 Nov 2003 19:41:01 +0000 X-List-Received-Date: Fri, 21 Nov 2003 19:33:40 -0000 On Tue, Nov 18, 2003 at 11:40:31PM +0000, Bruce M Simpson wrote: > Bleeding edge current updated around 15:00 GMT today. > > This was triggered whilst building GENERIC to test someone's patches... This was believed due to the MarkM harvesting bug, as multiple panics occurred, during interrupt context, with different call graphs. BMS From owner-freebsd-current@FreeBSD.ORG Sat Nov 22 07:34:27 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D17F616A4CE for ; Sat, 22 Nov 2003 07:34:27 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id D126243FBF for ; Sat, 22 Nov 2003 07:34:26 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id E3575651EE; Sat, 22 Nov 2003 15:34:25 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01056-07-3; Sat, 22 Nov 2003 15:34:25 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 29690651EB; Sat, 22 Nov 2003 15:34:19 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id DD0E21B; Sat, 22 Nov 2003 15:34:17 +0000 (GMT) From: Bruce M Simpson To: Anthony Ginepro Message-ID: <20031122153417.GB23796@saboteur.dek.spc.org> References: <3FBF76DE.4020706@xtaz.co.uk> <20031122151055.GB2171@renaissance.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031122151055.GB2171@renaissance.homeip.net> cc: current@freebsd.org cc: Matt Smith Subject: Re: What's changed relating to localhost then? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sat, 22 Nov 2003 15:34:27 -0000 X-Original-Date: Sat, 22 Nov 2003 15:34:17 +0000 X-List-Received-Date: Sat, 22 Nov 2003 15:34:27 -0000 On Sat, Nov 22, 2003 at 04:10:55PM +0100, Anthony Ginepro wrote: > > I've just updated to 5.2-BETA today and have noticed that my spamd is > > now rejecting all connections from spamc because they are not coming > > from 127.0.0.1 any more. It's now using my public IP address of 82.x.x.x: Known problem. We're looking into it now. BMS From owner-freebsd-current@FreeBSD.ORG Sat Nov 22 16:34:48 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0606E16A4CE for ; Sat, 22 Nov 2003 16:34:48 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 497BC43FE0 for ; Sat, 22 Nov 2003 16:34:46 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id LAA26776; Sun, 23 Nov 2003 11:34:08 +1100 From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "M. Warner Losh" In-Reply-To: <20031122.120100.16269141.imp@bsdimp.com> Message-ID: <20031123112720.J3301@gamplex.bde.org> References: <3FBD5CCE.40905@acm.org> <20031122.120100.16269141.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: bv@wjv.com cc: bms@spc.org cc: jhs@berklix.org cc: kientzle@acm.org cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: /bin and /sbin are now dynamically linked X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 23 Nov 2003 00:34:48 -0000 X-Original-Date: Sun, 23 Nov 2003 11:34:08 +1100 (EST) X-List-Received-Date: Sun, 23 Nov 2003 00:34:48 -0000 On Sat, 22 Nov 2003, M. Warner Losh wrote: > In message: <20031121010211.GD84421@saboteur.dek.spc.org> > Bruce M Simpson writes: > : On Thu, Nov 20, 2003 at 04:31:10PM -0800, Tim Kientzle wrote: > : > * /rescue/vi is currently unusable if /usr is missing because > : > the termcap database is in /usr. One possibility > : > would be to build a couple of default termcap entries > : > into ncurses or into vi. > : > : My suggested candidates are vt100 and cons25. The comconsole port installs > : an /etc/ttys entry using vt100. This is also the default terminal type for > : most dialup entries. > > Timing Solutions uses the following minimal termcap for its embedded > applications. It has a number of terminals that it supports, while > still being tiny. it is 3.5k in size, which was the goal ( < 4k block > size we were using). One could SED this down by another 140 bytes or > so. Removing the comments and the verbose names would net another 300 > odd bytes. What's wrong with FreeBSD's /usr/src/etc/termcap.small, except it is twice as large and has a weird selection of entries (zillions of variants of cons25, dosansi and pc3). Bruce From owner-freebsd-current@FreeBSD.ORG Mon Nov 24 14:34:59 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85EB916A4CE for ; Mon, 24 Nov 2003 14:34:59 -0800 (PST) Received: from freebsd.org.ru (freebsd.org.ru [194.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C37F343FBF for ; Mon, 24 Nov 2003 14:34:56 -0800 (PST) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id C9DA91FE; Tue, 25 Nov 2003 01:34:54 +0300 (MSK) From: "Sergey A. Osokin" To: freebsd-current@freebsd.org Message-ID: <20031124223454.GQ23446@freebsd.org.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.5.1i Subject: 5.2-BETA and /lib/libutil.so* X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: osa@FreeBSD.org.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Mon, 24 Nov 2003 22:34:59 -0000 X-Original-Date: Tue, 25 Nov 2003 01:34:54 +0300 X-List-Received-Date: Mon, 24 Nov 2003 22:34:59 -0000 Hello, I found some stranges after upgrade from 5.1-CURRENT to 5.2-BETA. $ ls -la /lib/libutil.so* lrwxr-xr-x 1 root wheel 12 25 ΑΧΗ 18:08 /lib/libutil.so -> libutil.so.3 -r--r--r-- 1 root wheel 43680 11 ΞΟΡ 18:08 /lib/libutil.so.3 -r--r--r-- 1 root wheel 43680 25 ΞΟΡ 04:10 /lib/libutil.so.4 $ ls -la /usr/lib/libutil.so* lrwxr-xr-x 1 root wheel 17 25 ΞΟΡ 04:10 /usr/lib/libutil.so -> /lib/libutil.so.4 Comments? -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \ From owner-freebsd-current@FreeBSD.ORG Mon Nov 24 17:34:41 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8A2716A4CE for ; Mon, 24 Nov 2003 17:34:41 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEA7E43FE0 for ; Mon, 24 Nov 2003 17:34:40 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) hAP1YU8u062539; Mon, 24 Nov 2003 17:34:30 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)hAP1YUlS062538; Mon, 24 Nov 2003 17:34:30 -0800 (PST) (envelope-from sgk) From: Steve Kargl To: Frank Mayhar Message-ID: <20031125013430.GA62414@troutmask.apl.washington.edu> References: <200311251049.18227.doconnor@gsoft.com.au> <200311250106.hAP16qNp018512@realtime.exit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311250106.hAP16qNp018512@realtime.exit.com> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org cc: Andrew Gallatin Subject: Re: 40% slowdown with dynamic /bin/sh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 25 Nov 2003 01:34:41 -0000 X-Original-Date: Mon, 24 Nov 2003 17:34:30 -0800 X-List-Received-Date: Tue, 25 Nov 2003 01:34:41 -0000 On Mon, Nov 24, 2003 at 05:06:52PM -0800, Frank Mayhar wrote: > Daniel O'Connor wrote: > > What _REAL WORLD_ task does this slow down? > > I think the point was that, in this particular "worst" case, it's a forty > percent performance hit. What's the average case? What's the case for a > "real world" pipeline with a lot of tiny little static binaries? > > I dislike this decision enough that I'm actually considering going away > from FreeBSD, something I really had never for a moment thought possible. > (snip) >> >> If it is for you then just build your world with static root. > > Kind of defeats the purpose, don't you think? > Let's see. You dislike the dynamic root decision enough that you are considering the abandonment of FreeBSD. Then when you're told that you can still build a static root if you need/want it, you make a sarcastic remark. Would you some ice cream while you eat your cake? -- Steve From owner-freebsd-current@FreeBSD.ORG Wed Nov 26 13:35:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E975016A4CE for ; Wed, 26 Nov 2003 13:35:00 -0800 (PST) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 945E443FB1 for ; Wed, 26 Nov 2003 13:34:59 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu74-159-108.nc.rr.com [24.74.159.108])hAQLYuPf002178; Wed, 26 Nov 2003 16:34:56 -0500 (EST) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) hAQLXtuY004828; Wed, 26 Nov 2003 16:33:56 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Soren Schmidt In-Reply-To: <200311262104.hAQL4ICN024652@spider.deepcore.dk> References: <200311262104.hAQL4ICN024652@spider.deepcore.dk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zDtOcJT9cQq+/kCKx7kd" Organization: MarcusCom, Inc. Message-Id: <1069882499.752.97.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on creme-brulee.marcuscom.com X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: current@FreeBSD.ORG Subject: Re: Recent ATA drivers giving problems with SATA X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 26 Nov 2003 21:35:01 -0000 X-Original-Date: Wed, 26 Nov 2003 16:34:59 -0500 X-List-Received-Date: Wed, 26 Nov 2003 21:35:01 -0000 --=-zDtOcJT9cQq+/kCKx7kd Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, 2003-11-26 at 16:04, Soren Schmidt wrote: > It seems Joe Marcus Clarke wrote: > > > There are some early issues of the SiI3112 chips that has problems th= at > > > can cause datacorruption etc etc.. > > > You can try the following patch (which btw re@ has for approval),=20 > > > otherwise I'd try another controller as there seem to be no end of th= e > > > troubles with the Sii 3112 chips (brings back to mind the horror time= s > > > from when they where called CMD and did the CMD640 disaster)... > >=20 > > On the "other controller" front, what about the Adaptec 1205SA host > > controller? >=20 > I dont know that one, and Adaptec say nothing about what hardware > they use on thier web (why does that have to be a secret until you > have bought the product, or is that exaclty why ?). >=20 > I suspect it is the same as the 1210SA RAID thing just without the > RAID part of the BIOS, ie thats also a ds3112 chip (with Adaptecs > "special" PCI id, *sigh*).. Confirmed. I found a BIOS output string in their support docs. It's the same 3112 chipset. >=20 > Go for Promise, they support us with docs and HW for development :) Sounds good to me, thanks! Joe >=20 > -S=F8ren --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-zDtOcJT9cQq+/kCKx7kd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/xRyDb2iPiv4Uz4cRAteyAJ0Z77B2flnyLBZ6QZYSO7Ht4mdAOQCeKEK2 iobB2bXCUrVy0OXWXmAxk9U= =UIGk -----END PGP SIGNATURE----- --=-zDtOcJT9cQq+/kCKx7kd-- From owner-freebsd-current@FreeBSD.ORG Wed Nov 26 19:34:56 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECAAF16A4CE for ; Wed, 26 Nov 2003 19:34:56 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B650643F93 for ; Wed, 26 Nov 2003 19:34:55 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.10/8.12.9) with ESMTP id hAR3YGvX076672; Wed, 26 Nov 2003 19:34:16 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.10/8.12.10/Submit) id hAR3YGsv076671; Wed, 26 Nov 2003 19:34:16 -0800 (PST) (envelope-from obrien) From: "David O'Brien" To: Tim Kientzle Message-ID: <20031127033416.GA76579@dragon.nuxi.com> References: <20031123042635.GB677@saboteur.dek.spc.org> <3FC16644.7070005@acm.org> <20031124114006.GA60761@dragon.nuxi.com> <3FC2655A.8080202@acm.org> <20031124224030.GB67578@dragon.nuxi.com> <3FC298E9.1050000@acm.org> <20031126025954.GC56876@dragon.nuxi.com> <3FC4F2FC.6080905@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FC4F2FC.6080905@acm.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-BETA Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: /bin and /sbin are now dynamically linked X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 27 Nov 2003 03:34:57 -0000 X-Original-Date: Wed, 26 Nov 2003 19:34:16 -0800 X-List-Received-Date: Thu, 27 Nov 2003 03:34:57 -0000 On Wed, Nov 26, 2003 at 10:37:48AM -0800, Tim Kientzle wrote: > >If we're going to add an FTP client, lets pick the one with the best > >functionality for the job -- /usr/bin/ftp. I may not know the complete > >URL to the bits I need, and if so with fetch you're still screwed. > > On the other hand, /usr/bin/ftp also has drawbacks: > It requires ncurses (one reason I am interested in dropping vi is to > shed the ncurses library and the need for a termcap file), it's > considerably larger than fetch, I don't feel like fighting the vi battle. IF we are going to expand /rescue beyond 100% compatability with /[s]bin, we need a tolerable editor. That is vi, unless we use edit(1) or import > and it doesn't support HTTP. $ /usr/bin/ftp http://www.theregister.co.uk/content/6/32524.html Requesting http://www.theregister.co.uk/content/6/32524.html 100% |*************************************| 22559 35.32 KB/s 00:00 ETA 22559 bytes retrieved in 00:00 (35.28 KB/s) NetBSD, which is where we got /usr/bin/ftp from, doesn't have fetch(1). They use their ftp client for all the things we use fetch(1) for. It makes sense as there is less code duplication and you always have the tool working identical for interactive and "batch" transfers. -- -- David (obrien@FreeBSD.org) From owner-freebsd-current@FreeBSD.ORG Thu Nov 27 16:35:10 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E0B316A4CE for ; Thu, 27 Nov 2003 16:35:10 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4184043FCB for ; Thu, 27 Nov 2003 16:35:09 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DE1E566C8E; Thu, 27 Nov 2003 16:35:08 -0800 (PST) From: Kris Kennaway To: Mikhail Teterin Message-ID: <20031128003508.GA74847@xor.obsecurity.org> References: <200311280016.hAS0G5m2073958@aldan.algebra.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <200311280016.hAS0G5m2073958@aldan.algebra.com> User-Agent: Mutt/1.4.1i cc: current@FreeBSD.org Subject: Re: lock order reversal is 5.2-BETA Nov 26 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 28 Nov 2003 00:35:10 -0000 X-Original-Date: Thu, 27 Nov 2003 16:35:08 -0800 X-List-Received-Date: Fri, 28 Nov 2003 00:35:10 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 27, 2003 at 07:16:05PM -0500, Mikhail Teterin wrote: > It did not crash or anything, but the following is printed on > console now (addresses ommitted): >=20 > lock order reversal > 1st ... UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1201 > 2nd ... system map (system map) @ /usr/src/sys/vm/vm_map.c:2210 Thanks, this was reported several times already. Kris --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/xpg8Wry0BWjoQKURAnVlAKDAqtUptrGChok0hxb6Y17DFc8SQACaA06o 78vyHVRgQv8S5hd3JNGhfOY= =tRDR -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- From owner-freebsd-current@FreeBSD.ORG Thu Nov 27 17:35:05 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3913E16A4CE for ; Thu, 27 Nov 2003 17:35:05 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EB3743FBD for ; Thu, 27 Nov 2003 17:35:03 -0800 (PST) (envelope-from freebsd-current@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1APXXC-0003hc-00 for ; Fri, 28 Nov 2003 02:35:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1APXXA-0003hK-00 for ; Fri, 28 Nov 2003 02:35:00 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1APXXA-0003Gj-00 for ; Fri, 28 Nov 2003 02:35:00 +0100 From: Jesse Guardiani Organization: WingNET Lines: 27 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: another 5.2-BETA lock order reversal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 28 Nov 2003 01:35:05 -0000 X-Original-Date: Thu, 27 Nov 2003 20:34:57 -0500 X-List-Received-Date: Fri, 28 Nov 2003 01:35:05 -0000 Checked the archive and didn't see this one listed yet: lock order reversal 1st 0xc4047134 filedesc structure (filedesc structure) @ /usr/src/sys/kern/sys_ generic.c:896 2nd 0xc0956a80 Giant (Giant) @ /usr/src/sys/fs/specfs/spec_vnops.c:377 Stack backtrace: backtrace(c089b89c,c0956a80,c0897b1f,c0897b1f,c0893352) at backtrace+0x17 witness_lock(c0956a80,8,c0893352,179,0) at witness_lock+0x672 _mtx_lock_flags(c0956a80,0,c0893352,179,c089bea3) at _mtx_lock_flags+0xba spec_poll(e476fafc,e476fb1c,c06d600c,e476fafc,c0937ca0) at spec_poll+0x134 spec_vnoperate(e476fafc,c0937ca0,c3c7e410,40,c435d680) at spec_vnoperate+0x18 vn_poll(c45992a8,40,c435d680,c43323c0,c435d680) at vn_poll+0x3c selscan(c43323c0,e476fb9c,e476fb8c,1,4) at selscan+0x141 kern_select(c43323c0,1,bfbfe890,0,bfbfe810) at kern_select+0x37f select(c43323c0,e476fd14,c08b631d,3ee,5) at select+0x66 syscall(2f,2f,2f,0,0) at syscall+0x2c0 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (93), eip = 0x2845b94f, esp = 0xbfbfe7cc, ebp = 0xbfbfe928 --- -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net From owner-freebsd-current@FreeBSD.ORG Fri Nov 28 09:34:17 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2DF716A4CF for ; Fri, 28 Nov 2003 09:34:17 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E829B43F93 for ; Fri, 28 Nov 2003 09:34:15 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hASHVbMg043575; Fri, 28 Nov 2003 12:31:37 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hASHVbb7043572; Fri, 28 Nov 2003 12:31:37 -0500 (EST) (envelope-from robert@fledge.watson.org) From: Robert Watson X-Sender: robert@fledge.watson.org To: Pawel Jakub Dawidek In-Reply-To: <20031128083538.GL76130@garage.freebsd.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: sam@errno.com cc: freebsd-current@freebsd.org Subject: Re: Panic: if_simloop: attempted use of a free mbuf! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 28 Nov 2003 17:34:17 -0000 X-Original-Date: Fri, 28 Nov 2003 12:31:36 -0500 (EST) X-List-Received-Date: Fri, 28 Nov 2003 17:34:17 -0000 Silby's patch to fix this was approved by re@ this morning, should go into the tree shortly. Basically, the assertion is slightly too agressive as some callers into BPF "mock up" mbufs to hold data submitted to BPF. No doubt this will get cleaned up, but in the mean time the fix is simply to remove the assertion. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Fri, 28 Nov 2003, Pawel Jakub Dawidek wrote: > Hello. > > I'm reaching assertion from /sys/net/if_loop.c:270. > > This is very easy to reproduce: > > First you need to put loopback into promiscuous mode: > > # tcpdump -i lo0 > > Then try to connect to loopback, for example: > > # telnet 127.0.0.1 22 > > Enjoy!:) > > -- > Pawel Jakub Dawidek pawel@dawidek.net > UNIX Systems Programmer/Administrator http://garage.freebsd.pl > Am I Evil? Yes, I Am! http://cerber.sourceforge.net > From owner-freebsd-current@FreeBSD.ORG Sat Nov 29 09:34:49 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0264016A4CE for ; Sat, 29 Nov 2003 09:34:49 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B07DA43FE5 for ; Sat, 29 Nov 2003 09:34:47 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hATHW9Mg058237; Sat, 29 Nov 2003 12:32:09 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hATHW911058234; Sat, 29 Nov 2003 12:32:09 -0500 (EST) (envelope-from robert@fledge.watson.org) From: Robert Watson X-Sender: robert@fledge.watson.org To: Justin Smith In-Reply-To: <3FC8B734.6020400@drexel.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Upgrade experience 5.1p10->5.2 Beta X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sat, 29 Nov 2003 17:34:49 -0000 X-Original-Date: Sat, 29 Nov 2003 12:32:09 -0500 (EST) X-List-Received-Date: Sat, 29 Nov 2003 17:34:49 -0000 I can't speak to most of these issues, but... On Sat, 29 Nov 2003, Justin Smith wrote: > First I tried making world and kernel from the cvsup'ed standard > supfile. This went OK. > > Then I did installkernel and installworld (in that order) and the second > step crashed with messages that shared libraries were missing. (It's as > if it installed some files before installing the shared libraries they > needed). Did you reboot between installkernel and installworld? It looks like there may be some source upgrade nits, but my understanding was that if you follow the complete directions in UPDATING, things should generally work well. The only difficulty I ran into upgrading from about 5.1-RELEASE to 5.2-JUSTBEFOREBETA a couple of weeks ago was that although the net 5.2-BETA / contents are much smaller than 5.1, during the upgrade you overlap lots of larger binaries, /rescue, and /lib, and the result is you briefly need more space rather than less space. The box in question was installed as 4.0-CURRENT, and had a very small / file system, and required a bit of manual adjustment to get forward as a result. > 1. Will the AGP performance be brought up to the level of 5.1p10 before > 5.2 is released (so I don't have to slow the AGP interface and can do > OpenGL)? Are you running with GENERIC from 5.2-BETA? If so, you may wish to recompile your kernel with WITNESS and INVARIANTS turned off and see if that helps. These debugging features are critical during the development process, but also seriously impact performance and might make the difference you're seeing. > 2. Why does the system fail in such an non-robust and uninformative > fashion? Why no error messages? Unfortunately, some classes of hardware/driver failures are very hard to convert to explicitly caught panics, especially where they involve the mechanism by which panics are displayed (system console), or low level memory management, etc. Many developers run with serial consoles so that they can still get access to console debugging information even when in X Windows, etc. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research From owner-freebsd-current@FreeBSD.ORG Sun Nov 30 11:34:44 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EC7B16A4CE for ; Sun, 30 Nov 2003 11:34:44 -0800 (PST) Received: from pandora.afflictions.org (asylum.afflictions.org [64.7.134.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id E990B43FBD for ; Sun, 30 Nov 2003 11:34:42 -0800 (PST) (envelope-from dgerow@afflictions.org) Received: from dementia.afflictions.org (dementia [172.16.0.56]) by pandora.afflictions.org (Postfix) with ESMTP id A866C5EA01 for ; Sun, 30 Nov 2003 14:51:56 -0500 (EST) Received: by dementia.afflictions.org (Postfix, from userid 1001) id 50B716D42D; Sun, 30 Nov 2003 14:34:33 -0500 (EST) From: Damian Gerow To: current@freebsd.org Message-ID: <20031130193425.GB766@afflictions.org> References: <20031129210742.GA3234@afflictions.org> <20031129214339.GB3234@afflictions.org> <20031129215122.GA9445@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 5.2-BETA on a i386 X-GPG-Fingerprint: B3D7 D901 A53A 1A99 BFD6 E6DF 9F3B 742B C288 9CC9 User-Agent: Mutt/1.5.5.1i Subject: Re: Fatal double fault with 20031116-JPSNAP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 30 Nov 2003 19:34:44 -0000 X-Original-Date: Sun, 30 Nov 2003 14:34:33 -0500 X-List-Received-Date: Sun, 30 Nov 2003 19:34:44 -0000 Thus spake Damian Gerow (dgerow@afflictions.org) [29/11/03 17:04]: > But this is a little OT. I'll find some way to update my system, and > respond back if the problem's fixed or not in a later -CURRENT. Nope: # uname -a FreeBSD 5.2-BETA-20031129-JPSNAP FreeBSD 5.2-BETA-20031129-JPSNAP #0: Sat Nov 29 02:47:57 GMT 2003 root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 # make buildworld panic: Duplicate free of item 0xc1cd8e1c from zone 0xc102e1c0(PV ENTRY) cpuid = 0; Debugger("panic") Stopped at Debugger+0x55: xchgl %ebx,in_Debugger.0 db> trace Debugger(c0898ddc,0,c08b186e,d8a11c10,100) at Debugger+0x55 panic(c08b186e,c1cd8e1c,c102e1c0,c08b66c4,c08b13a5) at panic+0x156 uma_dbg_free(c102e1c0,0,c1cd8e1c,6d0,0) at uma_dbg_free+0x111 uma_zfree_arg(c102e1c0,c1cd8e1c,0,a2f,c08968de) at uma_zfree_arg+0x123 pmap_remove_pages(c1d0ef60,0,bfc00000,11a,c08968de) at pmap_remove_pages+0x209 exit1(c4712c80,0,c08968de,65,d8a11d40) at exit1+0x66c sys_exit(c4712c80,d8a11d14,c08b6d61,3ee,1) at sys_exit+0x41 syscall(2f,2f,2f,bfbfe938,0) at syscall+0x2c0 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (1, FreeBSD ELF32, sys_exit), eip = 0x826aa63, esp = 0xbfbfe8f4, ebp = 0xbfbfe910 --- db> show pcpu 0 cpuid = 0 curthread = 0xc4712c80: pid 34357 "cc1" curpcb = 0xd8a11da0 fpcurthread = none idlethread = 0xc1cff640: pid 11 "idle: cpu0" APIC ID = 0 currentldt = 0x28 spin locks held: db> It /does/ take a bit longer to get to, and I didn't see any of the previous console-flooding messages. But the panic still happens. From owner-freebsd-current@FreeBSD.ORG Thu Dec 4 08:34:50 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 208EE16A4CE for ; Thu, 4 Dec 2003 08:34:50 -0800 (PST) Received: from catwoman.cs.moravian.edu (catwoman.cs.moravian.edu [204.186.193.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id C262843FDF for ; Thu, 4 Dec 2003 08:34:45 -0800 (PST) (envelope-from flash@cs.moravian.edu) Received: (from flash@localhost) by catwoman.cs.moravian.edu (8.11.7+Sun/8.9.3) id hB4GYhc25453; Thu, 4 Dec 2003 11:34:43 -0500 (EST) Message-Id: <200312041634.hB4GYhc25453@catwoman.cs.moravian.edu> From: Stephen Corbesero To: freebsd-current@freebsd.org Subject: vinum solution? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: corbesero@cs.moravian.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 04 Dec 2003 16:34:50 -0000 X-Original-Date: Thu, 4 Dec 2003 11:34:43 -0500 (EST) X-List-Received-Date: Thu, 04 Dec 2003 16:34:50 -0000 I saw all the talk about "vinum" issues, and I was hoping there would be some sort of resolution. What choices are there for people wishing to run FreeBSD-5 with some sort of software RAID right now and in the "release" future? -- Stephen Corbesero Associate Professor of Computer Science Moravian College, Bethlehem, PA 18018 From owner-freebsd-current@FreeBSD.ORG Sun Dec 7 02:34:17 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B6DB16A4CE; Sun, 7 Dec 2003 02:34:17 -0800 (PST) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29BA843FCB; Sun, 7 Dec 2003 02:34:16 -0800 (PST) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp id 1ASwEv-000Le2-Qb; Sun, 07 Dec 2003 12:34:13 +0200 X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: obrien@FreeBSD.org In-reply-to: Your message of Sun, 7 Dec 2003 01:52:46 -0800 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Danny Braniss Message-Id: X-Bogosity: No [0.0%] cc: amd64@FreeBSD.org cc: current@FreeBSD.org Subject: Re: I'm impressed! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 07 Dec 2003 10:34:17 -0000 X-Original-Date: Sun, 07 Dec 2003 12:34:13 +0200 X-List-Received-Date: Sun, 07 Dec 2003 10:34:17 -0000 > > Sounds like you tried the boot-only ISO. That one is to be used like > floppies were in the past -- boot it and point the sysinstall at your > favorite FTP mirror. close, i tried the 5.2-BETA-amd64-disc2.iso :-(, i chose that one because it was bigger! anyways, 5.2-BETA-amd64-miniinst.iso is installing quiet nicely. From owner-freebsd-current@FreeBSD.ORG Mon Dec 8 09:35:04 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E58CB16A4CE for ; Mon, 8 Dec 2003 09:35:04 -0800 (PST) Received: from cs143215.pp.htv.fi (cs143215.pp.htv.fi [213.243.143.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AC5843FBD for ; Mon, 8 Dec 2003 09:34:58 -0800 (PST) (envelope-from ekarkkai@pp.htv.fi) Received: from thunderbolt.my.domain (thunderbolt.my.domain [192.168.1.30]) by cs143215.pp.htv.fi (8.12.10/8.12.10) with ESMTP id hB8HYuah000249 for ; Mon, 8 Dec 2003 19:34:56 +0200 (EET) (envelope-from ekarkkai@pp.htv.fi) Received: from thunderbolt.my.domain (localhost [127.0.0.1]) hB8HYuoA000962 for ; Mon, 8 Dec 2003 19:34:56 +0200 (EET) (envelope-from ejk@thunderbolt.my.domain) Received: (from ejk@localhost) by thunderbolt.my.domain (8.12.9p1/8.12.9/Submit) id hB8HYub5000961 for current@FreeBSD.org; Mon, 8 Dec 2003 19:34:56 +0200 (EET) From: Esa Karkkainen To: current@FreeBSD.org Message-ID: <20031208173456.GA819@pp.htv.fi> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline User-Agent: Mutt/1.5.5.1i Subject: "panic: lockmgr: locking against myself" in 5.1-RELEASE-p11 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Mon, 08 Dec 2003 17:35:05 -0000 X-Original-Date: Mon, 8 Dec 2003 19:34:56 +0200 X-List-Received-Date: Mon, 08 Dec 2003 17:35:05 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi For some reason my computer running 5.1-RELEASE-p11 started to panic. I made debugging kernel and have crashdump and debugging kernel available. This panic, IMHO, seems to be related to background fsck. I have one extra fxp card which I can use in this machine and I can setup a serial console connection to this machine if need be. dmesg from "boot -v" is attached. Unfortunately dmesg is too large to fit into allocated space in kernel, so I dug relevant lines from /var/log/messages. Here is list of kernel modules loaded % kldstat Id Refs Address Size Name 1 15 0xc0100000 2c4a08 kernel 2 1 0xc03c5000 45a4 snd_ich.ko 3 2 0xc03ca000 1da98 snd_pcm.ko 4 1 0xc03e8000 495d4 acpi.ko 5 1 0xc6334000 a000 if_nv.ko 6 1 0xc653e000 f000 miibus.ko 7 1 0xc65eb000 20000 usb.ko 8 1 0xc6639000 186000 nvidia.ko 9 1 0xc67bf000 18000 linux.ko if_nv.ko is from nvnet-1.0.0261_6 nvidia.ko is from nvidia-driver-1.0.4365 Here is the backtrace (kgdb) backtrace #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238 #1 0xc01947f5 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:370 #2 0xc0194b2a in panic () at /usr/src/sys/kern/kern_shutdown.c:543 #3 0xc01232e2 in db_panic () at /usr/src/sys/ddb/db_command.c:448 #4 0xc012326e in db_command (last_cmdp=0xc02ddf40, cmd_table=0x0, aux_cmd_tablep=0xc02d9590, aux_cmd_tablep_end=0xc02d9594) at /usr/src/sys/ddb/db_command.c:346 #5 0xc0123368 in db_command_loop () at /usr/src/sys/ddb/db_command.c:470 #6 0xc0125f78 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:72 #7 0xc028bf70 in kdb_trap (type=3, code=0, regs=0xe0c054bc) at /usr/src/sys/i386/i386/db_interface.c:170 #8 0xc029cc07 in trap (frame= {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 256, tf_esi = -969791104, tf_ebp = -524266232, tf_isp = -524266264, tf_ebx = 0, tf_edx = 0, tf_ecx = 32, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1071070723, tf_cs = 8, tf_eflags = 646, tf_esp = -1070772662, tf_ss = -1070843711}) at /usr/src/sys/i386/i386/trap.c:593 #9 0xc028d808 in calltrap () at {standard input}:96 #10 0xc0194aca in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:527 #11 0xc0188700 in lockmgr (lkp=0xd29aa8cc, flags=34144290, interlkp=0x2000020, td=0xc6322980) at /usr/src/sys/kern/kern_lock.c:447 #12 0xc01ebec0 in BUF_TIMELOCK (bp=0xd29aa8cc, locktype=34144290, interlock=0x0, wmesg=0x0, catch=0, timo=0) at buf.h:319 #13 0xc01e7758 in flushbuflist (blist=0xd29aa800, flags=4, vp=0xc6d19db0, slpflag=0, slptimeo=0, errorp=0x0) at /usr/src/sys/kern/vfs_subr.c:1240 #14 0xc01e741f in vinvalbuf (vp=0xc6d19db0, flags=4, cred=0x0, td=0x0, slpflag=0, slptimeo=0) at /usr/src/sys/kern/vfs_subr.c:1153 #15 0xc0232e7b in ffs_truncate (vp=0xc6d19db0, length=0, flags=2048, cred=0x0, td=0xc6322980) at /usr/src/sys/ufs/ffs/ffs_inode.c:273 #16 0xc023664c in ffs_snapshot (mp=0xc6114800, snapfile=---Can't read userspace from dump, or kernel process--- ) at /usr/src/sys/ufs/ffs/ffs_snapshot.c:664 #17 0xc0243e5f in ffs_mount (mp=0xc6114800, path=0xc657ec80 "/usr", data=0x0, ndp=0xe0c05bf0, td=0xc6322980) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:310 #18 0xc01e462e in vfs_mount (td=0xc6322980, fstype=0xc6d72130 "ffs", fspath=0xc657ec80 "/usr", fsflags=18944000, fsdata=0x0) at /usr/src/sys/kern/vfs_mount.c:1090 #19 0xc01e3d98 in mount (td=0x0, uap=0xe0c05d14) at /usr/src/sys/kern/vfs_mount.c:846 #20 0xc029d491 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1077936704, tf_ebp = -1077936824, tf_isp = -524264076, tf_ebx = 135025830, tf_edx = -1, tf_ecx = 135025664, tf_eax = 21, tf_trapno = 12, tf_err = 2, tf_eip = 134568695, tf_cs = 31, tf_eflags = 514, tf_esp = -1077937204, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1021 #21 0xc028d85d in Xint0x80_syscall () at {standard input}:138 ---Can't read userspace from dump, or kernel process--- (kgdb) quit -- "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." -- Douglas Adams 1952 - 2001 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.from.messages" kernel boot file is /boot/kernel/kernel Copyright (c) 1992-2003 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 5.1-RELEASE-p11 #3 root@ Preloaded elf kernel "/boot/kernel/kernel" at 0xc0433000. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc0433244. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04332f0. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc043339c. Calibrating clock(s) ... i8254 clock CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz Calibrating TSC clock ... TSC clock Timecounter "TSC" frequency 2079562229 Hz CPU Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0400000 Data TLB Instruction TLB L1 data cache L1 instruction cache L2 internal cache real memory = 1073676288 (1023 MB) Physical memory chunk(s) 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x000000000045a000 - 0x000000003edc9fff, 1050083328 bytes (256368 pages) avail memory = 1038532608 (990 MB) bios32 bios32 pcibios pnpbios pnpbios Other BIOS signatures found random mem Pentium Pro MTRR support enabled null npx0 npx0 acpi0 pci_open(1) pci_open(1a) pci_cfgcheck pcibios Using $PIR table, 5 entries at 0xc00fdf10 PCI-Only Interrupts Location Bus Device Pin Link IRQs slot 1 0 8 A 0x01 3 4 5 7 9 10 11 12 14 15 slot 1 0 8 B 0x02 3 4 5 7 9 10 11 12 14 15 slot 1 0 8 C 0x03 3 4 5 7 9 10 11 12 14 15 slot 1 0 8 D 0x04 3 4 5 7 9 10 11 12 14 15 slot 2 0 12 A 0x01 3 4 5 7 9 10 11 12 14 15 slot 2 0 12 B 0x02 3 4 5 7 9 10 11 12 14 15 slot 2 0 12 C 0x03 3 4 5 7 9 10 11 12 14 15 slot 2 0 12 D 0x04 3 4 5 7 9 10 11 12 14 15 slot 3 1 6 A 0x03 3 4 5 7 9 10 11 12 14 15 slot 3 1 6 B 0x04 3 4 5 7 9 10 11 12 14 15 slot 3 1 6 C 0x01 3 4 5 7 9 10 11 12 14 15 slot 3 1 6 D 0x02 3 4 5 7 9 10 11 12 14 15 embedded 0 30 A 0x04 3 4 5 7 9 10 11 12 14 15 embedded 0 30 B 0x02 3 4 5 7 9 10 11 12 14 15 embedded 0 30 C 0x02 3 4 5 7 9 10 11 12 14 15 embedded 0 30 D 0x02 3 4 5 7 9 10 11 12 14 15 AcpiOsDerivePciId acpi0 ACPI timer looks GOOD min = 3, max = 5, width = 2 Timecounter "ACPI-fast" frequency 3579545 Hz AcpiOsDerivePciId acpi_timer0 acpi_cpu0 acpi_tz0 acpi_button0 pcib0 ---- initial configuration ------------------------ \_SB_.PCI0.LSMB irq 7 \_SB_.PCI0.LSMB irq 7 \_SB_.PCI0.LUBA irq 5 \_SB_.PCI0.LUBB irq 10 \_SB_.PCI0.LUB2 irq 11 \_SB_.PCI0.LMAC irq 11 \_SB_.PCI0.LAPU irq 7 \_SB_.PCI0.LACI irq 5 \_SB_.PCI0.LMCI irq 0 \_SB_.PCI0.LFIR irq 3 \_SB_.PCI0.LIDE irq 0 \_SB_.PCI0.LNK1 irq 0 \_SB_.PCI0.LNK2 irq 0 \_SB_.PCI0.LNK3 irq 0 \_SB_.PCI0.LNK4 irq 10 \_SB_.PCI0.LNK5 irq 0 \_SB_.PCI0.LNK5 irq 0 \_SB_.PCI0.LNK5 irq 0 \_SB_.PCI0.LNK5 irq 0 ---- before setting priority for links ------------ \_SB_.PCI0.LMCI interrupts penalty references priority \_SB_.PCI0.LIDE interrupts penalty references priority \_SB_.PCI0.LNK1 interrupts penalty references priority \_SB_.PCI0.LNK2 interrupts penalty references priority \_SB_.PCI0.LNK3 interrupts penalty references priority \_SB_.PCI0.LNK5 interrupts penalty references priority ---- before fixup boot-disabled links ------------- \_SB_.PCI0.LNK5 interrupts penalty references priority \_SB_.PCI0.LMCI interrupts penalty references priority \_SB_.PCI0.LIDE interrupts penalty references priority \_SB_.PCI0.LNK1 interrupts penalty references priority \_SB_.PCI0.LNK2 interrupts penalty references priority \_SB_.PCI0.LNK3 interrupts penalty references priority ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- \_SB_.PCI0.LSMB irq 7 \_SB_.PCI0.LSMB irq 7 \_SB_.PCI0.LUBA irq 5 \_SB_.PCI0.LUBB irq 10 \_SB_.PCI0.LUB2 irq 11 \_SB_.PCI0.LMAC irq 11 \_SB_.PCI0.LAPU irq 7 \_SB_.PCI0.LACI irq 5 \_SB_.PCI0.LMCI irq 10 \_SB_.PCI0.LFIR irq 3 \_SB_.PCI0.LIDE irq 5 \_SB_.PCI0.LNK1 irq 10 \_SB_.PCI0.LNK2 irq 5 \_SB_.PCI0.LNK3 irq 10 \_SB_.PCI0.LNK4 irq 10 \_SB_.PCI0.LNK5 irq 11 \_SB_.PCI0.LNK5 irq 11 \_SB_.PCI0.LNK5 irq 11 \_SB_.PCI0.LNK5 irq 11 pci0 pci0 map[10] found-> vendor=0x10de, dev=0x01e0, revid=0xc1 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x01eb, revid=0xc1 bus=0, slot=0, func=1 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x01ee, revid=0xc1 bus=0, slot=0, func=2 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x01ed, revid=0xc1 bus=0, slot=0, func=3 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x01ec, revid=0xc1 bus=0, slot=0, func=4 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x01ef, revid=0xc1 bus=0, slot=0, func=5 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0020, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x0060, revid=0xa4 bus=0, slot=1, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10] found-> vendor=0x10de, dev=0x0064, revid=0xa2 bus=0, slot=1, func=1 class=0c-05-00, hdrtype=0x00, mfdev=1 cmdreg=0x0001, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=a, irq=7 powerspec 2 supports D0 D3 current D0 map[10] found-> vendor=0x10de, dev=0x0067, revid=0xa4 bus=0, slot=2, func=0 class=0c-03-10, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=a, irq=5 powerspec 2 supports D0 D1 D2 D3 current D0 map[10] found-> vendor=0x10de, dev=0x0067, revid=0xa4 bus=0, slot=2, func=1 class=0c-03-10, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=b, irq=10 powerspec 2 supports D0 D1 D2 D3 current D0 map[10] found-> vendor=0x10de, dev=0x0068, revid=0xa4 bus=0, slot=2, func=2 class=0c-03-20, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=c, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10] map[14] found-> vendor=0x10de, dev=0x0066, revid=0xa1 bus=0, slot=4, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x01 (250 ns), maxlat=0x14 (5000 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10] found-> vendor=0x10de, dev=0x006b, revid=0xa2 bus=0, slot=5, func=0 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x01 (250 ns), maxlat=0x0c (3000 ns) intpin=a, irq=7 powerspec 2 supports D0 D1 D2 D3 current D0 map[10] map[14] map[18] found-> vendor=0x10de, dev=0x006a, revid=0xa1 bus=0, slot=6, func=0 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x05 (1250 ns) intpin=a, irq=5 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=0x10de, dev=0x006c, revid=0xa3 bus=0, slot=8, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x02 (500 ns) map[20] found-> vendor=0x10de, dev=0x0065, revid=0xa2 bus=0, slot=9, func=0 class=01-01-8a, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) powerspec 2 supports D0 D3 current D0 map[10] map[14] found-> vendor=0x10de, dev=0x006e, revid=0xa3 bus=0, slot=13, func=0 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x00b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x01 (250 ns) intpin=a, irq=3 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=0x10de, dev=0x01e8, revid=0xc1 bus=0, slot=30, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0220, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x0a (2500 ns), maxlat=0x00 (0 ns) pci0 pci0 pci0 pci0 pci0 isab0 isa0 pci0 pci0 pci0 pci0 pci0 pci0 pcm0 pcm0 pcm0 pcm0 pcm0 pcm0 pcib1 pcib1 pcib1 pcib1 pcib1 pcib1 ---- initial configuration ------------------------ \_SB_.PCI0.LNK3 irq 10 \_SB_.PCI0.LNK4 irq 10 \_SB_.PCI0.LNK1 irq 10 \_SB_.PCI0.LNK2 irq 5 ---- before setting priority for links ------------ ---- before fixup boot-disabled links ------------- ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- \_SB_.PCI0.LNK3 irq 10 \_SB_.PCI0.LNK4 irq 10 \_SB_.PCI0.LNK1 irq 10 \_SB_.PCI0.LNK2 irq 5 pci1 pci1 atapci0 ata0 ata0-master ata0-slave ata0 ata0-master ata0 ata0 ata1 ata1-master ata1-slave ata1 ata1 ata1 pci0 pcib2 pcib2 pcib2 pcib2 pcib2 pcib2 ---- initial configuration ------------------------ \_SB_.PCI0.LNK4 irq 10 ---- before setting priority for links ------------ ---- before fixup boot-disabled links ------------- ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- \_SB_.PCI0.LNK4 irq 10 pci3 pci3 map[10] map[14] map[18] found-> vendor=0x10de, dev=0x0251, revid=0xa3 bus=3, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x05 (1250 ns), maxlat=0x01 (250 ns) intpin=a, irq=10 powerspec 2 supports D0 D3 current D0 pci3 unknown sio0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0 unknown psmcpnp0 irq 12 on acpi0 atkbdc0 atkbd0 atkbd atkbd kbd0 at atkbd0 kbd0 psm0 psm0 psm0 psm0 psm0 unknown ata ata atkbdc sio Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 sc vga isa_probe_children isa_probe_children orm0 pmtimer0 on isa0 adv0 aha0 aic0 bt0 cs0 ed0 fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0 fe0 ie0 le0 lnc0 pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0 pcic1 ppc0 failed to probe at irq 7 on isa0 sc0 sc0 sc0 sio1 sio1 sio1 sio1 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0 sio2 sio3 sn0 vga0 fb0 fb0 fb0 fb0 vga0 VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5e 4f 50 81 53 80 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 18 18 18 18 1f 00 00 00 18 18 18 18 ff 00 00 00 00 00 00 00 ff 18 18 18 18 18 18 18 1f 18 18 18 00 00 00 00 ff 00 00 00 18 18 18 18 ff 18 18 18 18 18 1f 18 1f 18 18 18 36 36 36 36 37 36 36 36 EGA/VGA parameters to be used for mode 24 50 18 10 00 00 00 03 00 02 67 5e 4f 50 81 53 80 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff vt0 isa_probe_children Device configuration finished. procfs registered Timecounters tick every 10.000 msec lo0 ad0 ad0 ad0 ad0 ad0 GEOM ar ata1-master ata1-master acd0 acd0 acd0 acd0 acd0 acd0 acd0 pcm0 [0] f [1] f [2] f [3] f GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM GEOM Mounting root from ufs start_init nv0 nv0 nv0 miibus0 rlphy0 rlphy0 no dumps found step time server 195.197.214.99 offset 1.001395 sec ohci0 ohci0 usb0 usb0 usb0 usb0 uhub0 uhub0 ohci1 ohci1 usb1 usb1 usb1 usb1 uhub1 uhub1 ehci0 ehci0 ehci_pci_attach ehci_pci_attach usb2 usb2 usb2 usb2 uhub2 uhub2 Linux ELF exec handler installed nvidia0 nvidia0 device_probe_and_attach nvidia0 nvidia0 device_probe_and_attach nvidia0 nvidia0 device_probe_and_attach nvidia0 nvidia0 device_probe_and_attach nvidia0 nvidia0 device_probe_and_attach nvidia0 nvidia0 device_probe_and_attach nvidia0 nvidia0 device_probe_and_attach nvidia0 nvidia1 pcib2 pcib2 ntpd 4.1.1b-a Sat Nov 29 18 kernel time discipline status 2040 Squid Parent malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "4096" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "4096" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "4096" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "VM OBJECT" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "DP fakepg" with the following non-sleepablelocks held exclusive sleep mutex ctl.mtx_api r = 0 (0xc675a68c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "4096" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "32768" with the following non-sleepablelocks held exclusive sleep mutex dev.mtx_api r = 0 (0xc6517c8c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c malloc() of "DP fakepg" with the following non-sleepablelocks held exclusive sleep mutex ctl.mtx_api r = 0 (0xc675a68c) locked @ /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_subr.c --PEIAKu/WMn1b1Hv9-- From owner-freebsd-current@FreeBSD.ORG Thu Dec 11 04:34:55 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29A8116A4CE for ; Thu, 11 Dec 2003 04:34:55 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3CD943D21 for ; Thu, 11 Dec 2003 04:34:53 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id E9B52651FC; Thu, 11 Dec 2003 12:34:52 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 79706-04; Thu, 11 Dec 2003 12:34:52 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 51318651F7; Thu, 11 Dec 2003 12:34:52 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 46E9332; Thu, 11 Dec 2003 12:34:51 +0000 (GMT) From: Bruce M Simpson To: juha.nygard1@netikka.fi Message-ID: <20031211123451.GF33991@saboteur.dek.spc.org> Mail-Followup-To: juha.nygard1@netikka.fi, freebsd-current@FreeBSD.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-current@FreeBSD.org Subject: Re: audio lag in 5.2-Beta (card emu10k1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 11 Dec 2003 12:34:55 -0000 X-Original-Date: Thu, 11 Dec 2003 12:34:51 +0000 X-List-Received-Date: Thu, 11 Dec 2003 12:34:55 -0000 On Thu, Dec 11, 2003 at 12:12:01PM +0200, juha.nygard1@netikka.fi wrote: > Upgrading from 5.1 to 5.2-BETA has introduced a startup lag when starting > to play something through /dev/dsp. It takes about two seconds from pressing play > button in xmms to hearing the sound. I don't really know if this is a bug > or a feature but still it is quite annoying. I've noticed some lag with XMMS also. I was going to put it down to old ABI as I haven't recompiled since updating to 5.2-CURRENT. I will rebuild XMMS and see if the result is the same. saboteur:~ % cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at irq 11 (1p/1r/0v channels duplex default) saboteur:~ % uname -a FreeBSD saboteur.dek.spc.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Dec 8 13:35:27 GMT 2003 bms@kimchi.dek.spc.org:/usr/src/sys/i386/compile/SABOTEUR i386 BMS From owner-freebsd-current@FreeBSD.ORG Sun Dec 21 16:35:07 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69A7916A4CE for ; Sun, 21 Dec 2003 16:35:07 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id C176143D50 for ; Sun, 21 Dec 2003 16:34:57 -0800 (PST) (envelope-from adam@migus.org) Received: from ludo.migus.org ([68.55.80.136]) by comcast.net (sccrmhc11) with ESMTP id <2003122200345601100ikncpe>; Mon, 22 Dec 2003 00:34:56 +0000 Received: by ludo.migus.org (Postfix, from userid 80) id C7EF6A1018; Sun, 21 Dec 2003 19:34:56 -0500 (EST) Received: from 192.168.4.2 (SquirrelMail authenticated user adam) by mail.migus.org with HTTP; Sun, 21 Dec 2003 19:34:56 -0500 (EST) Message-ID: <59978.192.168.4.2.1072053296.squirrel@mail.migus.org> In-Reply-To: <3FE620B5.9050201@ispro.net.tr> References: <20031221084531.GB31516@cactus.homeunix.org><20031221105925.GA1713@utgard.lodz.mm.pl> <1072018131.715.10.camel@localhost><3FE5B804.6000707@ispro.net.tr> <20031221154129.GE2228@saboteur.dek.spc.org><60563.192.168.4.2.1072043423.squirrel@mail.migus.org> <3FE620B5.9050201@ispro.net.tr> From: "Adam C. Migus" To: "Evren Yurtesen" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: Bruce M Simpson cc: current@freebsd.org Subject: Re: mergemaster feature suggestion... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Mon, 22 Dec 2003 00:35:07 -0000 X-Original-Date: Sun, 21 Dec 2003 19:34:56 -0500 (EST) X-List-Received-Date: Mon, 22 Dec 2003 00:35:07 -0000 Evren Yurtesen said: > I am sorry. I didnt want to cause this kind of discussion to begin. > Don't apologize, it's not your fault it's mine. > But also, does binary upgrade remove older files from /etc? I tried > that > only 1 time and it didnt even install half of the files required in > /etc > directory :) for example sshd conf files etc. were missing. Then I > decided that I will not do that unless I absolutely need to. > > I use build/install-world because I dont want to spend so much > bandwidth > and I prefer to get latest patches etc. easily. I want to have the > possibility to go back to a date later on if I have a problem with > the > latest sources. So cvsup does that for me easily. > I usually do upgrades with the build/install method as well for the same reasons. In general I find the method easier than the binary upgrade method. To be honest I'm not sure if the binary method does remove old files but if IIRC the way it works is it saves off a copy of /etc and rebuilds a new one so it should. > About those old files, I think any old file which doesnt exist in > newer > release does not only waste space and cause confusion. Also it might > cause security problems. Considering, a problem in a file/binary > whatever which does not exist in newer versions wouldnt be fixed by > the > freebsd developers. However it is a small possibility. > > I often thought of a way to remove older files. I even considered > making > a fresh install of the latest version of FreeBSD to a test machine > and > compare the file structures to remove files from the actual > machines. > But there can be an utility to do that right? If there is an utility > to > compare the files and install (mergemaster) there can be an utility > to > remove the older files also, or this can be implemented inside > mergemaster as an option/ > While I suppose it's possible for old files to negatively impact system security I would think it would be unlikely as they'd generally be unreferenced by the new system binaries though /etc/rc.d might be one notable exception. Assuming a binary upgrade builds a new /etc and/or clobbers files in /etc an easy way to determine old ones would be the date-stamps. If that's the case using `ls' whith appropriate options would help you determine which files where new and which were old. Adam From owner-freebsd-current@FreeBSD.ORG Mon Dec 22 10:35:07 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FD5416A4CE for ; Mon, 22 Dec 2003 10:35:07 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1771043D3F for ; Mon, 22 Dec 2003 10:35:06 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id hBMIYwAS040355; Mon, 22 Dec 2003 11:34:58 -0700 (MST) (envelope-from imp@bsdimp.com) Message-Id: <20031222.113453.113103161.imp@bsdimp.com> To: freebsd-current@freebsd.org, xi@borderworlds.dk From: "M. Warner Losh" In-Reply-To: <86zndklqme.fsf_-_@borg.borderworlds.dk> References: <3FE71DA3.6020607@bis.midco.net> <20031222.100605.19956353.imp@bsdimp.com> <86zndklqme.fsf_-_@borg.borderworlds.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Debugging via firewire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Mon, 22 Dec 2003 18:35:07 -0000 X-Original-Date: Mon, 22 Dec 2003 11:34:53 -0700 (MST) X-List-Received-Date: Mon, 22 Dec 2003 18:35:07 -0000 In message: <86zndklqme.fsf_-_@borg.borderworlds.dk> Christian Laursen writes: : "M. Warner Losh" writes: : > However these days I tend to use firewire for my remote debugging : > needs. : : Is there a howto about this somewhere? I don't know. Search for dcons, as that is what is used. I think that there's a section in the handbook, but I'm not sure. shimokawa-san has a good one in japanese on his home page. Warner From owner-freebsd-current@FreeBSD.ORG Mon Dec 22 19:35:03 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 687FC16A4CE for ; Mon, 22 Dec 2003 19:35:03 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id B3A6943D55 for ; Mon, 22 Dec 2003 19:34:59 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 86358 invoked by uid 1002); 23 Dec 2003 03:34:59 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 23 Dec 2003 03:34:59 -0000 Message-ID: <3FE7B78C.7060200@freebsd.org> From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Eischen References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cg@freebsd.org cc: Robert Watson cc: current@freebsd.org Subject: Re: Looping sound output from pcm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 23 Dec 2003 03:35:03 -0000 X-Original-Date: Mon, 22 Dec 2003 20:33:32 -0700 X-List-Received-Date: Tue, 23 Dec 2003 03:35:03 -0000 Daniel Eischen wrote: > On Mon, 22 Dec 2003, Scott Long wrote: > > >>Robert Watson wrote: >> >>>I ran aim after a recent kernel update, and had a rather odd problem. I >>>got an instant message from someone which resulted in a "ding" from aim. >>>However, the ding never stopped dinging -- the sample repeated over and >>>over again, and continues as I type. Even after the aim process exited. >>>Sending additional sound output didn't make it go away either. KDE/arts, >>>etc, don't seem to be involved in the problem, so it really seems like the >>>kernel is looping the sample. When I try to unload pcm, I get: >>> >>>pcm0: unregister: channel pcm0:play:2 busy (pid 965) >>> >>>And there's no pid 965. >>> >>>paprika# cat /dev/sndstat >>>FreeBSD Audio Driver (newpcm) >>>Installed devices: >>>pcm0: at io 0xd800 irq 5 (4p/1r/0v channels duplex default) >>> >>>Any suggestions welcome; in the mean time, I'll just listen to it ding >>>away ad naueseum. >>> >>>Robert N M Watson FreeBSD Core Team, TrustedBSD Projects >>>robert@fledge.watson.org Senior Research Scientist, McAfee Research >>> >> >>As was pointed out, this is probably an interrupt problem. The sound >>hardware should have interrupted the driver to say that it was almost >>done playing what was in the _ring_ buffer, and the driver should have >>responded by either filling the buffer with new data, or turning off the >>hardware. Instead, the hardware just kept on doing what it was designed >>to do: keep on playing through the ring buffer. The same thing would >>have happened if the OS had crashed while a sample was playing. >> >>The maestro3 driver is growing more stale over time. I no longer have >>any hardware to deal with it though. If anyone knows where I can get >>an Maestro3 or Allegro-1 PCI card, I'll gladly buy it and fix start >>working on the driver again. > > > If you can get your hands on some not-so-old Dell > laptops. My Lattitude C400 at work has a Maestro3. > > > I found an Allegro-1 PCI card on eBay, hopefully it won't get bid out of my price range. Unfortunately, I don't have the cash (nor does my wife have the sanity) to buy another laptop =-) There are rumors of Maestro-3 PCI mule cards in the wild. If someone has one (Cameron?), I'll gladly purchase it. Scott From owner-freebsd-current@FreeBSD.ORG Tue Dec 23 07:34:50 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1874F16A4CE for ; Tue, 23 Dec 2003 07:34:50 -0800 (PST) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73D9543D39 for ; Tue, 23 Dec 2003 07:34:48 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 20654 invoked from network); 23 Dec 2003 15:34:47 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 23 Dec 2003 15:34:47 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id hBNFYjM0051124; Tue, 23 Dec 2003 10:34:45 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3FE782FC.5040408@bis.midco.net> From: John Baldwin To: Peter Schultz X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-current@freebsd.org cc: acpi-jp@jp.FreeBSD.org Subject: Re: new interrupts not working for me X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 23 Dec 2003 15:34:50 -0000 X-Original-Date: Tue, 23 Dec 2003 10:34:45 -0500 (EST) X-List-Received-Date: Tue, 23 Dec 2003 15:34:50 -0000 On 22-Dec-2003 Peter Schultz wrote: > John Baldwin wrote: >> On 22-Dec-2003 Peter Schultz wrote: >> >>>John Baldwin wrote: >>> >>>>On 05-Nov-2003 Peter Schultz wrote: >>>> >>>> >>>>>I have a Tyan S1832DL w/dual pii 350s and it's not able to boot. Seems >>>>>to be having trouble with my adaptec scsi controller, I get a whole >>>>>bunch of output like this hand transcribed bit, it comes after "waiting >>>>>15 seconds for scsi devices to settle": >>>>> >>>>>ahc0 timeout SCB already complete interrupts may not be functioning >>>>>Infinite interrupt loop INTSTAT=0(probe3:ahc0:0:3:0): SCB 0x6 - timed out >>>>> >>>>>Anyone else seeing this? There are probably 100+ related lines of >>>>>output, I'll have to configure serial debugging if you need to see it. >>>> >>>> >>>>The dmesg output excluding all the ahc0 errors would help figure out >>>>why your interrupts aren't working. However, I just committed a patch >>>>that might fix your problem. >>>> >>> >>>Here is the output I was able to capture: >> >> >> Disable ACPI for now. It looks like you have a buggy BIOS. >> Can you put your ASL up at a URL somewhere? >> > http://bis.midco.net/pmes/tyan_s1832dl.asl Oh... my... goodness. Go beat your BIOS writer UP! NOW! Basically, PCI interrupts are supposed to be routed differently depending on whether or not we are using the old PIC or the newer APIC mode. We tell your BIOS that by executing the _PIC method specifiying 0 for PIC and 1 for APIC. Your BIOS does have that: Name (APIC, 0x00) Method (_PIC, 1, NotSerialized) { Store (Arg0, APIC) } However, it ignores it. Instead, it always uses the APIC for Windows NT and uses the PIC for everything else: Method (_PRT, 0, NotSerialized) { ... If (MCTH (\_OS, "Microsoft Windows NT")) { Return (PIC1) } Else { Return (PIC0) } } Does this board work in SMP mode in, say, XP or Linux? From the above it seems it wouldn't. :( It needs to be testing the value of the APIC variable to determine which table to use, not the OS name. See if there's a BIOS update. If there isn't, go complain to your motherboard manufacturer to get it fixed. If you want to get your BIOS working for now, the guys on the acpi-jp@ list (cc'd) can help you patch your AML to fix this brain damage and get your machine working. This is the worst use of _OS I have seen to date myself. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ From owner-freebsd-current@FreeBSD.ORG Sun Jan 4 15:35:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5F2016A4CE for ; Sun, 4 Jan 2004 15:35:00 -0800 (PST) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 174B843D49 for ; Sun, 4 Jan 2004 15:34:52 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9p2/8.12.9) with ESMTP id i04NYi7E009950; Sun, 4 Jan 2004 15:34:48 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200401042334.i04NYi7E009950@gw.catspoiler.org> From: Don Lewis To: shoesoft@gmx.net In-Reply-To: <1073256379.801.24.camel@shoeserv.freebsd> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: current@FreeBSD.org Subject: Re: page fault panic tracked down (selwakeuppri()) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 04 Jan 2004 23:35:00 -0000 X-Original-Date: Sun, 4 Jan 2004 15:34:44 -0800 (PST) X-List-Received-Date: Sun, 04 Jan 2004 23:35:00 -0000 On 4 Jan, Stefan Ehmann wrote: > On Sun, 2004-01-04 at 23:24, Don Lewis wrote: >> On 4 Jan, Stefan Ehmann wrote: >> > I took out the debug options because it was just too slow. Put back >> > INVARIANTS (but no WITNESS) now and speed is nice again. >> >> This problem is more likely to be caught by INVARIANTS than WITNESS. >> >> > Applied your suggested changes which resulted in a panic. No >> > assertations were triggered though. >> >> Bummer! > > Updated to plain (= no patches/hacks) again, also put in the > DEBUG_VFS_LOCKS. > > For the first time I got a backtrace that ended in the soundcard module > - So maybe this is the right direction (on the other hand this might be > some newly introduced error) > > panic: bad bufsize > #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 > #1 0xc04e5198 in boot (howto=256) at > /usr/src/sys/kern/kern_shutdown.c:372 > #2 0xc04e5527 in panic () at /usr/src/sys/kern/kern_shutdown.c:550 > #3 0xc07ec648 in feed_vchan_s16 () from /boot/kernel/snd_pcm.ko > #4 0xc07e2c6d in sndbuf_feed () from /boot/kernel/snd_pcm.ko > #5 0xc07e3225 in chn_wrfeed () from /boot/kernel/snd_pcm.ko > #6 0xc07e327c in chn_wrintr () from /boot/kernel/snd_pcm.ko > #7 0xc07e3990 in chn_intr () from /boot/kernel/snd_pcm.ko > #8 0xc07fca2f in csa_intr () from /boot/kernel/snd_csa.ko > #9 0xc07fb724 in csa_intr () from /boot/kernel/snd_csa.ko > #10 0xc04d1692 in ithread_loop (arg=0xc1737b00) > at /usr/src/sys/kern/kern_intr.c:544 > #11 0xc04d0684 in fork_exit (callout=0xc04d1500 , arg=0x0, > frame=0x0) at /usr/src/sys/kern/kern_fork.c:796 I think this is an important clue. I'm guessing that the KASSERT(sndbuf_getsize(src) >= count, ("bad bufsize")) in feed_vchan_s16() is getting tripped. Notice that a bit further down we have the following code: count &= ~1; bzero(b, count); [ snip ] tmp = (int16_t *)sndbuf_getbuf(src); bzero(tmp, count); As I recall from our previous debugging efforts, the data structures that are getting corrupted are getting zeroed. I suspect that either the source or b parameters to feed_vchan_s16() are bogus, causing some unrelated part of the heap to get stomped on. Because the KASSERT() is getting triggered here, I'm more suspicious of the source parameter. From owner-freebsd-current@FreeBSD.ORG Mon Jan 12 22:34:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC82816A4CE for ; Mon, 12 Jan 2004 22:34:56 -0800 (PST) Received: from FreeBSD.csie.NCTU.edu.tw (freebsd.csie.nctu.edu.tw [140.113.17.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CAAD43D72 for ; Mon, 12 Jan 2004 22:34:52 -0800 (PST) (envelope-from ijliao@FreeBSD.csie.NCTU.edu.tw) Received: from localhost (unknown [127.0.0.1]) by FreeBSD.csie.NCTU.edu.tw (Postfix) with ESMTP id 379C0106C07; Tue, 13 Jan 2004 14:34:38 +0800 (CST) Received: from FreeBSD.csie.NCTU.edu.tw ([127.0.0.1]) by localhost (FreeBSD.csie.NCTU.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02613-04; Tue, 13 Jan 2004 14:34:37 +0800 (CST) Received: by FreeBSD.csie.NCTU.edu.tw (Postfix, from userid 1041) id 511C9106BF9; Tue, 13 Jan 2004 14:34:37 +0800 (CST) From: Ying-Chieh Liao To: toxa Message-ID: <20040113063437.GA4125@freebsd.csie.nctu.edu.tw> References: <20040112171741.16466.qmail@web41114.mail.yahoo.com> <000901c3d971$6eb344c0$0202a8c0@karputer> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <000901c3d971$6eb344c0$0202a8c0@karputer> X-Operating-System: FreeBSD 4.9-STABLE i386 X-PGP-Key-Location: http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x11C02382 X-PGP-Key-Fingerprint: 4E98 55CC 2866 7A90 EFD7 9DA5 ACC6 0165 11C0 2382 User-Agent: Mutt/1.5.5.1i cc: Randy Bush cc: freebsd-current@freebsd.org cc: Jeffrey Katcher Subject: Re: 5.2-CURRENT panic on startup after cvsup: probably recent ATA X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 13 Jan 2004 06:34:56 -0000 X-Original-Date: Tue, 13 Jan 2004 14:34:37 +0800 X-List-Received-Date: Tue, 13 Jan 2004 06:34:56 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jan 13, 2004 at 04:06:08 +0300, toxa wrote: > the same on sony vaio pcg-v505bx, cvsup 13/0/104 same on IBM R40 (2004/Jan/6 is ok) -- self-producing in perl : $_=q(print"\$_=q($_);eval;");eval; -- V Vinay --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAA5F9rMYBZRHAI4IRAmgYAKC6iIbc6WKvJf5WCj9qVr8YJ4M83gCbBt8f 9pOSt2Z/k8LKDZa8aMB0Xc0= =6Kfr -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z-- From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 09:35:02 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5617716A4CE for ; Wed, 14 Jan 2004 09:35:02 -0800 (PST) Received: from web40306.mail.yahoo.com (web40306.mail.yahoo.com [66.218.78.85]) by mx1.FreeBSD.org (Postfix) with SMTP id 7CAF443D6E for ; Wed, 14 Jan 2004 09:35:01 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040114173501.96095.qmail@web40306.mail.yahoo.com> Received: from [66.35.239.94] by web40306.mail.yahoo.com via HTTP; Wed, 14 Jan 2004 09:35:01 PST From: Maksim Yevmenkin To: Randy Bush , FreeBSD Current In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: bluetooth blues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 14 Jan 2004 17:35:02 -0000 X-Original-Date: Wed, 14 Jan 2004 09:35:01 -0800 (PST) X-List-Received-Date: Wed, 14 Jan 2004 17:35:02 -0000 Randy, > if i try to do something with bluetooth, even just rc.bluetooth, > after a suspend/resume, the system locks up and then reboots. i > suspect is is usb in general. perhaps usb is not the problem? do other usb devices show the same problem or it just bluetooth usb devices? do you suspend your laptop with bluetooth device attached and active stack? could you please try the following: 1) reboot your laptop 2) attach bluetooth device and execute rc.bluetooth start 3) verify that bluetooth works, i.e. try inquiry, l2ping etc. 4) stop the stack, i.e. execute rc.bluetooth stop 5) suspend 6) resume 7) look into /var/log/messages (just to see if you got something related to the bluetooth device) 8) start the stack, i.e. execute rc.bluetooth start if this does not crash then i would assume that it is my problem and not usb fault. thanks, max __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From owner-freebsd-current@FreeBSD.ORG Fri Jan 16 02:35:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D355916A4CE; Fri, 16 Jan 2004 02:35:04 -0800 (PST) Received: from sev.net.ua (sev.net.ua [212.86.233.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B1A443D48; Fri, 16 Jan 2004 02:35:00 -0800 (PST) (envelope-from root@umka.bear.com.ua) Received: from umka.bear.com.ua (st50.sevcity.net [212.86.245.254]) by sev.net.ua (8.12.10/8.12.9) with ESMTP id i0GAWtB9015879; Fri, 16 Jan 2004 12:32:56 +0200 (EET) (envelope-from root@umka.bear.com.ua) Received: from localhost (localhost [[UNIX: localhost]]) by umka.bear.com.ua (8.11.6/8.11.6) id i0GAWxS26170; Fri, 16 Jan 2004 12:32:59 +0200 Content-Type: text/plain; charset="koi8-r" From: Alex Lyashkov Organization: Positive Software Corporation To: hackers@freebsd.org User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200401161232.59044.shadow@psoft.net> cc: current@freebsd.org Subject: few question about vfs layer X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 16 Jan 2004 10:35:05 -0000 X-Original-Date: Fri, 16 Jan 2004 12:32:57 +0200 X-List-Received-Date: Fri, 16 Jan 2004 10:35:05 -0000 Hi List I explore vfs lookup code. and have few questions about it. what a reasone leave rootvnode as global varables, but not store it in filedesc structrure and adjust it in chroot or jail syscall ? -- With best regards, Alex From owner-freebsd-current@FreeBSD.ORG Sat Jan 17 22:35:01 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F90F16A4CE for ; Sat, 17 Jan 2004 22:35:01 -0800 (PST) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18C0C43D2F for ; Sat, 17 Jan 2004 22:34:53 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i0I6XXsm032234; Sun, 18 Jan 2004 01:33:33 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Randy Bush In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-fio69fyGG9UBex8odYyr" Organization: MarcusCom, Inc. Message-Id: <1074407690.28671.34.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on creme-brulee.marcuscom.com cc: FreeBSD Current Subject: Re: regression X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 18 Jan 2004 06:35:01 -0000 X-Original-Date: Sun, 18 Jan 2004 01:34:51 -0500 X-List-Received-Date: Sun, 18 Jan 2004 06:35:01 -0000 --=-fio69fyGG9UBex8odYyr Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2004-01-18 at 01:32, Randy Bush wrote: > thinkpad t40p > with current as of 2004.01.16 20:00gmt >=20 > booting with a cdrom drive in ata1 locks up on boot >=20 > acpictl -s3, which used to work, now locks up whether > X has been started or not. yes, locking up in suspend, > not even resume. Try a cvsup now. imp workaround some PCI issues recently. Joe >=20 > randy >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-fio69fyGG9UBex8odYyr Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBACikKb2iPiv4Uz4cRAsGTAKCJ3p78mzkSJNGKp92TkFPKBkGqtACgihzN pQ98CETs/pfq7FSOEAJqSwY= =rnEO -----END PGP SIGNATURE----- --=-fio69fyGG9UBex8odYyr-- From owner-freebsd-current@FreeBSD.ORG Sat Jan 24 06:33:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32DFF16A4CE for ; Sat, 24 Jan 2004 06:33:38 -0800 (PST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 87E1943D1D for ; Sat, 24 Jan 2004 06:33:36 -0800 (PST) (envelope-from sebastian.ssmoller@gmx.net) Received: (qmail 8802 invoked by uid 65534); 24 Jan 2004 14:33:34 -0000 Received: from pD9E820CB.dip.t-dialin.net (EHLO [217.232.32.203]) (217.232.32.203) by mail.gmx.net (mp013) with SMTP; 24 Jan 2004 15:33:34 +0100 X-Authenticated: #15005775 From: sebastian ssmoller To: FreeBSD Current Content-Type: text/plain Message-Id: <1074954876.45058.23.camel@tyrael.linnet> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 24 Jan 2004 15:34:36 +0100 Content-Transfer-Encoding: 7bit Subject: panic: fatal trap 12 - inet6 ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2004 14:33:38 -0000 hi, recently i catched the following panic on my system : fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x8:0xc05b4886 stack pointer = 0x10:0xd741ec94 frame pointer = 0x10:0xd741ecb0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 28 (swi8: tty:sio clock) kernel: type 12 trap, code = 0 stopped at nd6_slowtimo+0x46: movl 0x8(%eax),%ebx db> where nd6_slowtimo(0,0,c06ad7e6,d9,1) at nd6_slowtimo+0x46 softclock ... ithread_loop ... fork_exit ... fork_trampoline ... $ uname -a FreeBSD tyrael.linnet 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun Jan 18 21:44:24 CET 2004 seb@tyrael.linnet:/usr/obj/usr/src-current/sys/DEBUG i386 $ nm /boot/kernel/kernel | grep c05b48 c05b48f0 T nd6_output c05b4840 t nd6_slowtimo this panic occured several times a day. it does not seem to make any difference whether there is high load on the system or not. i get the same error with and without acpi. first, i thought this was a hardware problem, so i changed some of my hw-components (vga, mem) and still got this error. then i found out that nd6_slowtimo has something to do with inet6. so i disabled "option INET6" in my kernel config - et voila my system runs stable (for several days) now. anyone similar problems - or is this a PR ? regards, seb From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 07:11:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0DA016A4CE; Mon, 26 Jan 2004 07:11:18 -0800 (PST) Received: from smtp.263.net (263.net.cn [211.150.96.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59AA043D53; Mon, 26 Jan 2004 07:11:15 -0800 (PST) (envelope-from csujun@263.net) Received: from shasujunmv (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id D003734055; Mon, 26 Jan 2004 23:11:20 +0800 (CST) Received: from shasujunmv (unknown [211.161.222.144]) D0AEARcuFUCtHN6Q.1 for ; Mon, 26 Jan 2004 23:11:21 +0800 (CST) X-TEBIE-Originating-IP: [211.161.222.144] Message-ID: <009501c3e41e$9e5ea360$90dea1d3@shasujunmv> From: "Jun Su" To: "Robert Watson" References: Date: Mon, 26 Jan 2004 23:11:02 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailman-Approved-At: Tue, 27 Jan 2004 05:23:04 -0800 cc: current@freebsd.org Subject: Re: [PANIC] today's cvs with KTRACE and MUTEX_PROFILING enabled (Big Post) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 15:11:18 -0000 ----- Original Message ----- From: "Robert Watson" To: "Jun Su" Cc: Sent: Monday, January 26, 2004 10:38 PM Subject: Re: [PANIC] today's cvs with KTRACE and MUTEX_PROFILING enabled (Big Post) > > On Mon, 26 Jan 2004, Jun Su wrote: > > > I got the following panic when booting. Seems the if_data_mutex is > > corrupt by something.If you need any information, please feel free to > > let me know. Thanks. > > Are you running with kernel modules? If so, were all of them built as > part of your kernel build? Turning on mutex profiling changes the size of > the mutex structure, so if you have modules that aren't built to be aware > of mutex profiling, you will get memory corruption. When using mutex > profiling, I would generally suggest avoiding the use of kernel modules, > since it avoids the whole issue... Yes. This is the root cause. Our module building env doesn't include opt_global.h. Then the module's mtx doesn't match the one in Kernel. I think this is a requirement for MUTEX_PROFILING, not a suggestion before we complete the new building env for kernel module. I suggest to add this to man page. What is your option? Thanks, Jun Su > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Senior Research Scientist, McAfee Research > From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 07:27:05 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2340016A4CE; Mon, 26 Jan 2004 07:27:05 -0800 (PST) Received: from smtp.263.net (mx01.263.net.cn [211.150.96.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ADA543D46; Mon, 26 Jan 2004 07:25:15 -0800 (PST) (envelope-from csujun@263.net) Received: from shasujunmv (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id 731C333D75; Mon, 26 Jan 2004 23:24:38 +0800 (CST) Received: from shasujunmv (unknown [211.161.222.144]) UtAGATUxFUBqFt6Q.1 for ; Mon, 26 Jan 2004 23:24:39 +0800 (CST) X-TEBIE-Originating-IP: [211.161.222.144] Message-ID: <00ab01c3e420$797e69c0$90dea1d3@shasujunmv> From: "Jun Su" To: "Robert Watson" References: Date: Mon, 26 Jan 2004 23:24:21 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailman-Approved-At: Tue, 27 Jan 2004 05:23:04 -0800 cc: current@freebsd.org Subject: Re: [PANIC] today's cvs with KTRACE and MUTEX_PROFILING enabled (Big Post) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 15:27:05 -0000 ----- Original Message ----- From: "Robert Watson" To: "Jun Su" Cc: Sent: Monday, January 26, 2004 11:16 PM Subject: Re: [PANIC] today's cvs with KTRACE and MUTEX_PROFILING enabled (Big Post) > > On Mon, 26 Jan 2004, Jun Su wrote: > > > > On Mon, 26 Jan 2004, Jun Su wrote: > > > > > > > I got the following panic when booting. Seems the if_data_mutex is > > > > corrupt by something.If you need any information, please feel free to > > > > let me know. Thanks. > > > > > > Are you running with kernel modules? If so, were all of them built as > > > part of your kernel build? Turning on mutex profiling changes the size of > > > the mutex structure, so if you have modules that aren't built to be aware > > > of mutex profiling, you will get memory corruption. When using mutex > > > profiling, I would generally suggest avoiding the use of kernel modules, > > > since it avoids the whole issue... > > Yes. This is the root cause. Our module building env doesn't include > > opt_global.h. Then the module's mtx doesn't match the one in Kernel. I think > > this is a requirement for MUTEX_PROFILING, not a suggestion before we > > complete the new building env for kernel module. I suggest to add this to > > man page. What is your option? > > The following text appears in the NOTES section of MUTEX_PROFILING.9: > > The MUTEX_PROFILING option increases the size of struct mtx, so a > kernel built with that option will not work with modules built > without it. > > We can probably make this a little more explicit by specifically > mentioning opt_global.h. I think there is some misleading in this para. Since when we build modules, the opt_global.h will not be included. The modules build with MUTEX_PROFILING option also doesn't work. Am I right? I think I have some confused about the kernel modukes building options. Jun Su. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Senior Research Scientist, McAfee Research > > > > From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 14:31:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6278B16A4D0 for ; Mon, 26 Jan 2004 14:31:10 -0800 (PST) Received: from web40304.mail.yahoo.com (web40304.mail.yahoo.com [66.218.78.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 8313143D3F for ; Mon, 26 Jan 2004 14:31:07 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040126223107.64659.qmail@web40304.mail.yahoo.com> Received: from [66.35.239.94] by web40304.mail.yahoo.com via HTTP; Mon, 26 Jan 2004 14:31:07 PST Date: Mon, 26 Jan 2004 14:31:07 -0800 (PST) From: Maksim Yevmenkin To: current@freebsd.org, hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Tue, 27 Jan 2004 05:23:04 -0800 cc: imp@freebsd.org Subject: [PATCH] libusbhid(3) should not clear report_size field X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 22:31:10 -0000 Dear Hackers, while working on bluetooth hid implementation i found out that libusbhid(3) has minor problem. it turns out that netbsd folks already fixed this. http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libusbhid/parse.c.diff?sortby=date&r1=1.4&r2=1.5&f=u so, i'd like to commit the patch below. who is our resident USB HID expert? please speak up if there is any problem, concern or objection. thanks, max freefall% scvs diff -u src/lib/libusbhid cvs server: Diffing src/lib/libusbhid Index: src/lib/libusbhid/parse.c =================================================================== RCS file: /home/ncvs/src/lib/libusbhid/parse.c,v retrieving revision 1.8 diff -u -r1.8 parse.c --- src/lib/libusbhid/parse.c 9 Apr 2003 01:52:48 -0000 1.8 +++ src/lib/libusbhid/parse.c 26 Jan 2004 22:25:26 -0000 @@ -86,7 +86,6 @@ c->string_minimum = 0; c->string_maximum = 0; c->set_delimiter = 0; - c->report_size = 0; } hid_data_t __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 14:34:26 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B47A16A4CF; Mon, 26 Jan 2004 14:34:26 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id D412B43D46; Mon, 26 Jan 2004 14:34:24 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id i0QMYNDa009865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Mon, 26 Jan 2004 17:34:23 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id i0QMYN3Y009862; Mon, 26 Jan 2004 17:34:23 -0500 (EST) (envelope-from wollman) Date: Mon, 26 Jan 2004 17:34:23 -0500 (EST) From: Garrett Wollman Message-Id: <200401262234.i0QMYN3Y009862@khavrinen.lcs.mit.edu> To: Robert Watson In-Reply-To: References: <67153.1075136001@critter.freebsd.dk> X-Spam-Score: -9.9 () IN_REP_TO,REFERENCES X-Scanned-By: MIMEDefang 2.37 X-Mailman-Approved-At: Tue, 27 Jan 2004 05:23:04 -0800 cc: current@FreeBSD.ORG Subject: Re: Hints for precision benchmarking... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 22:34:26 -0000 < said: > On Mon, 26 Jan 2004, Poul-Henning Kamp wrote: >> * Run in single user mode. Cron(8) and and other daemons >> only add noise. > A few obvious ones just worth remembering: Quick! Someone run down a member of the doc team and get this added to the dev handbook! -GAWollman From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 15:56:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C526D16A4CE for ; Mon, 26 Jan 2004 15:56:37 -0800 (PST) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id AC33F43DA2 for ; Mon, 26 Jan 2004 15:55:27 -0800 (PST) (envelope-from sebastian.ssmoller@gmx.net) Received: (qmail 14217 invoked by uid 65534); 26 Jan 2004 23:54:41 -0000 Received: from pD9E81CDD.dip.t-dialin.net (EHLO [217.232.28.221]) (217.232.28.221) by mail.gmx.net (mp021) with SMTP; 27 Jan 2004 00:54:41 +0100 X-Authenticated: #15005775 From: sebastian ssmoller To: freebsd-current@freebsd.org In-Reply-To: <20040126231124.937DD16A4CF@hub.freebsd.org> References: <20040126231124.937DD16A4CF@hub.freebsd.org> Content-Type: text/plain Message-Id: <1075161340.2427.31.camel@tyrael.linnet> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 27 Jan 2004 00:55:41 +0100 Content-Transfer-Encoding: 7bit Subject: Re: Project Evil: The Evil Continues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 23:56:37 -0000 On Tue, 2004-01-27 at 00:11, Bill Paul wrote: > > hi, > > first of all: great work !! > > > > i tested the ndis stuff with my asus m2400n centrino notebook. i took > > the driver from the asus m2 install cd (winxp version: w70n51.inf, > > w70n51.sys). > > > > i compiled everything as described and i was able to load the if_ndis > > module successfully. i was able to change several settings of ndis0 via > > ifconfig (ssid, wepmode, mac addr) ... but when i started dhclient with > > ndis0 i got a kernel panic :( > > Uhm... is there any special reason you decided to try changing the > MAC address? Did you ever see a message on the console that said i changed the mac addr to get access to a private network which worked with ACLs based on mac addresses ;-) - but this has nothing to do with the panic. the panic occurs when running dhclient whether i did some ifconfig stuff or not ... > "ndis0: link up" before you tried to run dhclient? Can you show me no "link up" sorry :( ... the only output i got is the one u can see at the end of my dmesg output > the PRECISE set of commands you issues that led to the panic? i can reproduce the panic by executing the following commands: $ # make sure to have everything in sync $ cd /sys/modules/ndis $ make clean ; make ; make load $ cd /sys/modules/if_ndis $ ndiscvt -i w70n51.inf -s w70s51.sys -o ndis_driver_data.h $ make clean ; make ; make load $ dhclient ndis0 > > Are you _absolutely_, _positively_ sure you have all of your kernel sources > and modules in sync? Are you _absolutely_, _positively_ sure you recompiled yes. i did a cvsup && make kernel && make world some hours ago .. > both src/sys/compat/ndis and src/sys/dev/if_ndis after I tweaked them a yes. i did exactly the commands listed above. > little while ago? > > -Bill seb From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 16:31:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D86316A4CF for ; Mon, 26 Jan 2004 16:31:22 -0800 (PST) Received: from bragi.housing.ufl.edu (bragi.housing.ufl.edu [128.227.47.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0D9D43D41 for ; Mon, 26 Jan 2004 16:29:33 -0800 (PST) (envelope-from WillS@housing.ufl.edu) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Mon, 26 Jan 2004 19:29:07 -0500 Message-ID: <0E972CEE334BFE4291CD07E056C76ED8CBBE22@bragi.housing.ufl.edu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: nss_winbind support Thread-Index: AcPkVSQDfIUVU/P4ROa3qB+QTc+rIQAABgjA From: "Will Saxon" To: "Tim Aslat" cc: current@freebsd.org Subject: RE: nss_winbind support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 00:31:22 -0000 Note: long.=20 > -----Original Message----- > From: Tim Aslat [mailto:tim@spyderweb.com.au] > Sent: Monday, January 26, 2004 4:38 PM > To: Will Saxon > Cc: current@freebsd.org > Subject: Re: nss_winbind support >=20 > I'm glad someone has. Did you use the ports or install from source? I used the port, although it does not install the PAM or=20 nss_winbind modules at all, I did that by hand. >=20 > I've spent several weeks (on and off) trying to get ADS=20 > support in samba > 3 and it's driving me up the wall. Well I have been fighting with this for about the same amount of time. = My main=20 resource is a paper copy of the Official Samba-2 HOWTO and Reference = Guide, but=20 it does not seem to consider FreeBSD 5.x at all. The only FreeBSD = information I=20 saw was lumped in with Linux and was not applicable to 5.x (pam stuff). >=20 > have installed heimdal from ports, and build samba with > KRB5_HOME=3D/usr/local but any reference to net ads gives me=20 > "ADS support > not compiled in" >=20 Do you have an LDAP library installed? You must have LDAP for ADS = support to be=20 compiled in. I chose the openldap21-server port and compiled it with = -DWITH_SASL for kicks. I don't think the -DWITH_SASL ends up making any difference. I have tried the base distro of Heimdal as well as the Heimdal from = ports. I am currently using the Heimdal from ports because I wanted to try compiling = in LDAP=20 support. Samba compiled against the included Heimdal vs. the ports = Heimdal with=20 LDAP support seems to operate the same. Despite what the HOWTO indicates, I am not able to join the domain = without an /etc/krb.conf. It looks like the ldap server is detected right and it = tries to authenticate, but I get errors like this when I turn debug mode on: [2004/01/26 18:52:36, 1] libsmb/clikrb5.c:ads_krb5_mk_req(269) krb5_cc_get_principal failed (No such file or directory) [2004/01/26 18:52:36, 1] libsmb/clikrb5.c:ads_krb5_mk_req(276) krb5_get_credentials failed for machine_account$@REALM_NAME (Unknown = error -1765328343) [2004/01/26 18:52:36, 1] utils/net_ads.c:ads_startup(181) ads_connect: Operations error [2004/01/26 18:52:36, 2] utils/net.c:main(758) return code =3D -1 The 'use if you have a pre-0.6 Heimdal' skeleton krb5.conf settings they = put in the book work for me. They list it in section 6.4.2 of the HOWTO, = which is also available online I think. I also had to use the 'password server =3D ' entry in my smb.conf = file since=20 it was resolving a non-GC domain controller first and seemed to not work = when not using a GC Domain Controller. At this point, with OpenLDAP, Heimdal and Samba installed I am able to: net ads join -U and I can then join the domain. After starting nmd, smbd and winbindd I am then able to do the wbinfo = stuff as suggested by the docs.=20 > > I may have just missed it but there doesn't seem to be a lot of > > information available on how to set Samba 3 up under FreeBSD 5.x to > > use nss_winbind and pam_winbind. What information I have=20 > found doesn't > > seem to work, maybe because it focuses on joining the domain as an > > NT-style domain member vs. Active Directory-style membership. >=20 > Sorry I can't help with this one, still working it out myself.=20 Well so far I have copied the libnss_winbind.so and libnss_wins.so files = from the samba-3.0.0/source/nsswitch dir to /usr/local/lib and updated the = library=20 cache. It finds the libraries. I have edited /etc/nsswitch.conf to = include winbind as a source but it doesn't seem to work. The utility the HOWTO = suggests, getent, is not available. I tried 'pw show = '=20 instead without success.=20 When I initially started working on this, my user account name on the = samba server was the same as my account name on the domain. This was causing me to = not be able to enumerate users/groups with wbinfo no matter what I tried. However, I = WAS able to at least access the shares I had set up on the server. I changed my = user name and was then able to use wbinfo, but now I am no longer able to access = any shares. I am presented with a 'please enter username and password' dialog and = nothing I enter seems to work. I tried adding a password via smbpasswd but that did not = work either. So this is where I am: stumped. -Will From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 17:08:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA1FD16A4CF for ; Mon, 26 Jan 2004 17:08:39 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F0E943D62 for ; Mon, 26 Jan 2004 17:07:27 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) i0R153TA096450; Mon, 26 Jan 2004 17:05:03 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)i0R153SE096449; Mon, 26 Jan 2004 17:05:03 -0800 (PST) (envelope-from sgk) Date: Mon, 26 Jan 2004 17:05:03 -0800 From: Steve Kargl To: Jason Message-ID: <20040127010503.GA96433@troutmask.apl.washington.edu> References: <3FB9930B.9080800@ec.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FB9930B.9080800@ec.rr.com> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: build world question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 01:08:40 -0000 On Mon, Nov 17, 2003 at 10:33:31PM -0500, Jason wrote: > I cvsuped an hour or so ago, now when I finish make buildworld I get: > ===> usr.sbin/boot0cfg > cc -O -pipe -march=athlon-xp -Wsystem-headers -Werror -Wall > -Wno-format-y2k -Wno-uninitialized -c /usr/src/usr.sbin/boot0cfg/boot0cfg.c > cc -O -pipe -march=athlon-xp -Wsystem-headers -Werror -Wall > -Wno-format-y2k -Wno-uninitialized -o boot0cfg boot0cfg.o > gzip -cn /usr/src/usr.sbin/boot0cfg/boot0cfg.8 > boot0cfg.8.gz > ===> etc > No errors, thats it. I thought I should get this message too: > make world completed on > > Is this a problem or normal? I just don't want to be half way into an > update and have problems. Did you use the -j option to make? -- Steve From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 17:21:33 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35E9916A4CE for ; Mon, 26 Jan 2004 17:21:33 -0800 (PST) Received: from pixies.tirloni.org (pixies.tirloni.org [200.203.183.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CEA043D5A for ; Mon, 26 Jan 2004 17:20:27 -0800 (PST) (envelope-from tirloni@tirloni.org) Received: by pixies.tirloni.org (Postfix, from userid 1000) id 681161E163C; Mon, 26 Jan 2004 23:19:23 -0200 (BRST) Date: Mon, 26 Jan 2004 23:19:23 -0200 From: "Giovanni P. Tirloni" To: current@freebsd.org Message-ID: <20040127011923.GA76108@pixies.tirloni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.5.1i Subject: ip.h parse error (gcc 3.3.3, 5.2-CURRENT, 2003/01/25) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 01:21:33 -0000 Hi, I'm getting an error while trying to compile a small piece of code of mime that was compiling fine yesterday when the system was 5.1-RELEASE. These are the headers that I'm using: #include #include #include #include The only error I get is this one: > gcc -o divert_exceeded divert_exceeded.c In file included from divert_exceeded.c:4: /usr/include/netinet/ip.h:164: error: syntax error before "n_long" /usr/include/netinet/ip.h:167: error: syntax error before "n_long" > Code snippet: union ipt_timestamp { n_long ipt_time[1]; struct ipt_ta { struct in_addr ipt_addr; n_long ipt_time; } ipt_ta[1]; } ipt_timestamp; and it won't generate the binary. I'm sorry that I don't really remember the output from yesteday (5.1-RELEASE) but I'm +/- sure it was giving me the same error, altough it would finish compilation. It was gcc 3.2.3 (or 3.2.2). I couldn't find a PR about this but I thought it would be better to ask for help here before. My code only creates a socket, bind it and try to receive from. Nothing really useful. In fact, it doesn't really do anything yet because I stopped coding trying to find how to fix this error. -- Giovanni P. Tirloni Fingerprint: 8C3F BEC5 79BD 3E9B EDB8 72F4 16E8 BA5E D031 5C26 From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 17:27:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BF1B16A4CE for ; Mon, 26 Jan 2004 17:27:58 -0800 (PST) Received: from xyzzy.wireless.snsonline.net (office-fw.iexec.net.au [210.18.210.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5B8D43D80 for ; Mon, 26 Jan 2004 17:27:00 -0800 (PST) (envelope-from msergeant@snsonline.net) Received: from xyzzy.wireless.snsonline.net (localhost [127.0.0.1]) i0R1Qdot052285 for ; Tue, 27 Jan 2004 11:26:39 +1000 (EST) (envelope-from msergeant@snsonline.net) Received: (from msergeant@localhost)i0R1Qcm5052284 for current@freebsd.org; Tue, 27 Jan 2004 11:26:38 +1000 (EST) (envelope-from msergeant@snsonline.net) X-Authentication-Warning: xyzzy.wireless.snsonline.net: msergeant set sender to msergeant@snsonline.net using -f From: Mark Sergeant To: current@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-26OcgzO/+RSch9t5oMGU" Organization: SNSOnline Technical Services Message-Id: <1075166798.51606.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 27 Jan 2004 11:26:38 +1000 Subject: invalid dates in mailing list. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 01:27:58 -0000 --=-26OcgzO/+RSch9t5oMGU Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Is it just me or are a bunch of emails coming through from November 2003 ? --=20 Mark Sergeant SNSOnline Technical Services --=-26OcgzO/+RSch9t5oMGU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAFb5ObS4ZEpHb8t0RAo3pAJ4mwW6XAIlwPrIeGpq8KskP67LVTwCfaK2W s819wFDxyz3A+5BKGyCU57Y= =4ek6 -----END PGP SIGNATURE----- --=-26OcgzO/+RSch9t5oMGU-- From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 17:41:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D33D016A4CE; Mon, 26 Jan 2004 17:41:00 -0800 (PST) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 567F843D9E; Mon, 26 Jan 2004 17:39:41 -0800 (PST) (envelope-from ler@lerctr.org) Received: from lerlaptop.lerctr.org ([207.158.72.14]) by lerami.lerctr.org with asmtp (Exim 4.30) id 1AlIBh-0003Ca-92; Mon, 26 Jan 2004 19:38:45 -0600 Date: Mon, 26 Jan 2004 19:38:42 -0600 From: Larry Rosenman To: Hajimu UMEMOTO Message-ID: <73100000.1075167521@lerlaptop.lerctr.org> In-Reply-To: References: <13050000.1075079219@lerlaptop.lerctr.org> <81220000.1075141095@lerlaptop-red.iadfw.net> X-Mailer: Mulberry/3.1.1 (Linux/x86) X-PGP-Info: All other keys are old/dead. X-PGP-Key: 0x3c49bdd6 X-PGP-Fingerprint: D0D1 3C11 F42F 6B29 FA67 6BF3 AD13 4685 3C49 BDD6 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========7191390200D74DA4EDF5==========" cc: freebsd-current@freebsd.org Subject: Re: IPSec: Anything change in the last 2 weeks? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 01:41:01 -0000 --==========7191390200D74DA4EDF5========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Tuesday, January 27, 2004 03:41:07 +0900 Hajimu UMEMOTO=20 wrote: > Hi, > >>>>>> On Mon, 26 Jan 2004 12:18:16 -0600 >>>>>> Larry Rosenman said: > > ler> For reference, the last key.c commit was missing from the bad = kernel. > > I see. > > ler> RE-Cvsuping, and building a kernel seems(!) to have fixed it. I'll > be able ler> to verify for sure when I get home tonite and can try it as > well with my ler> wireless stuff. > > I'm looking forward to hear the result. Please make sure to don't > have any extra patches in your kernel. Clean tree, and it works fine with my wireless setup. Thanks for the interest. LER > > Sincerely, > > -- > Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan > ume@mahoroba.org ume@{,jp.}FreeBSD.org > http://www.imasy.org/~ume/ --=20 Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 --==========7191390200D74DA4EDF5========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAFcEkrRNGhTxJvdYRAte4AJ46IhJVYBZD4T1QhxRq+dFAebJ7wQCfXh1O VHXvPllvW3h2KyUGpBJRKGQ= =J9TZ -----END PGP SIGNATURE----- --==========7191390200D74DA4EDF5==========-- From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 17:55:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A2D916A4CE for ; Mon, 26 Jan 2004 17:55:09 -0800 (PST) Received: from Espresso.NEEBU.Net (espresso.neebu.net [66.166.158.130]) by mx1.FreeBSD.org (Postfix) with SMTP id 69A7943D64 for ; Mon, 26 Jan 2004 17:54:56 -0800 (PST) (envelope-from khuon@Espresso.NEEBU.Net) Received: from Espresso.NEEBU.Net (khuon@localhost [127.0.0.1]) by Espresso.NEEBU.Net (8.12.10/8.12.10) with ESMTP id i0R1sn7v025168 for ; Mon, 26 Jan 2004 17:54:55 -0800 (PST) Received: from Espresso.NEEBU.Net (khuon@localhost)i0R1smCL025167 for ; Mon, 26 Jan 2004 17:54:49 -0800 (PST) Message-Id: <200401270154.i0R1smCL025167@Espresso.NEEBU.Net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 From: "Jake Khuon" To: freebsd-current@freebsd.org Dcc: Action: Expires: Precedence: Priority: Normal X-Face: "(e&e|OIYrcV1x8y?txN%k1E2f[qWLjRjOn+a30)3>x`Wx%_9XiXs\IO2#G5L1m=c/|^h|z29wJ#]D/.?Ks,Mw1 X-URI: http://Espresso.NEEBU.Net/~khuon/ X-Organisation: Network Engineers for Effective Bandwidth Utilisation X-Header: /usr/include gives great headers X-System: Sun UltraSPARCstation2/2300MP running SunOS Release 5.8 X-Shell: tcsh 6.07.02 (Astron) 1996-10-27 (sparc-sun-solaris) options 8b,nls,dl,al,ng,rh X-Chtorr: History is full of revisionists. Where it used to say "THOU SHALT NOT KILL" it now says, "except as specified in section III-B, Paragraph 12, Sub-section D, Schedule 3." If that still doesn't suit you, wait till next year's commandments come out and trade it in for something that does. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 26 Jan 2004 17:54:48 -0800 Sender: khuon@Espresso.NEEBU.Net Subject: an driver lockup with linux-mozilla X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 01:55:09 -0000 This is hard to debug but it seems to be reproducable. I get a hard lockup of the machine when I'm running the latest nightly build of linux-mozilla (1.7a) and accessing a webpage with a large amount of images. This doesn't seem to happen with the native mozilla. Whatever it is, it happens so quickly that I get no kernel debug or warning messages at all. Any ideas on how I might go about further debugging? -- /*===================[ Jake Khuon ]======================+ | Packet Plumber, Network Engineers /| / [~ [~ |) | | --------------- | | for Effective Bandwidth Utilisation / |/ [_ [_ |) |_| N E T W O R K S | +=========================================================================*/ From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 21:48:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D44FF16A728 for ; Mon, 26 Jan 2004 21:48:17 -0800 (PST) Received: from smtp806.mail.sc5.yahoo.com (smtp806.mail.sc5.yahoo.com [66.163.168.185]) by mx1.FreeBSD.org (Postfix) with SMTP id 2CC9D44B8E for ; Mon, 26 Jan 2004 21:10:10 -0800 (PST) (envelope-from gdinolt@pacbell.net) Received: from unknown (HELO pacbell.net) (gdinolt@pacbell.net@67.116.7.63 with plain) by smtp806.mail.sc5.yahoo.com with SMTP; 27 Jan 2004 05:10:10 -0000 Message-ID: <4015F2B1.5070205@pacbell.net> Date: Mon, 26 Jan 2004 21:10:09 -0800 From: "George W. Dinolt" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040118 X-Accept-Language: en-us, en MIME-Version: 1.0 To: wpaul@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 27 Jan 2004 05:23:04 -0800 cc: freebsd-current@freebsd.org Subject: Re: Project Evil: The Evil Continues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 05:48:21 -0000 Hello: Reporting on a card: Linksys Wireless-G Notebook Adapter WPC54G With updated drivers from Linksys: Version 3.30.15.0 The card reports both 802.11b and 802.11g speeds and connects with my AirPort Extreme and another (unknown type) base station without problems at both 802.11b and g speeds. wicontrol reports information about the card and the -l option provides information about visible base stations. I can only set the ssid with ifconfig. I tried a transfer of a large file and got 1.5MB/sec rates actual rates using scp. The only problem at the moment is that I cannot use WEP with my AirPort Extreme. I tried to use the "hex" 128bit key provided by the MAC airport utitlities. This key works fine for the mac and for the WPC54G card under WINDOWS 2000, but does not work with the driver on FreeBSD. The "correct" key is set (as viewed by both ifconfig and wicontrol) but the station does not associate. I have tried turning WEP on using both ifconfig (wepmode on) and the hw.ndis0.WEP sysctl which is constructed by the driver. As far as I can tell no errors are reported when I "up" the device using ifconfig. Anyway, the current state is quite remarkable. Great job! Regards, George Dinolt From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 21:48:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD5E16A673 for ; Mon, 26 Jan 2004 21:48:52 -0800 (PST) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2D4C44B46 for ; Mon, 26 Jan 2004 21:02:58 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])i0R52mLE025016; Tue, 27 Jan 2004 16:02:48 +1100 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i0R52iEf025556; Tue, 27 Jan 2004 16:02:46 +1100 Date: Tue, 27 Jan 2004 16:02:45 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Maxim Sobolev In-Reply-To: <4014EFA0.4060801@portaone.com> Message-ID: <20040127153333.U4204@gamplex.bde.org> References: <20040124074052.GA12597@cirb503493.alcatel.com.au> <20040125143203.G29442@gamplex.bde.org> <4014EFA0.4060801@portaone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: =?KOI8-U?Q?Dag-Erling_Sm=3Frgrav?= cc: freebsd-current@FreeBSD.ORG cc: Peter Jeremy Subject: Re: 80386 support in -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 05:48:55 -0000 On Mon, 26 Jan 2004, Maxim Sobolev wrote: > Out of curiosity I had run the bench on my good ol' P4 2GHz notebook, > and was very surprised that it much slower than even PIII-400 in most cases: > > 212.22 cycles/call > -DNO_MPLOCKED -DI386_CPU 117.32 cycles/call > -DI386_CPU 117.19 cycles/call > -DNO_MPLOCKED 31.39 cycles/call > > So, indeed, xchg is *lot* slower on p4 in non-SMP case than cmpxchgl, I Slowness of xchg vs (unlocked) cmpxchg is normal (xchg forces a lock which is expensive). I'm going to change the xchg to a mov in the UP case. More worrying and interesting is that everything is way slower than on an Athlon-XP. Locking seems to be much more expensive than cli/sti. > > Athlon XP1600 NO_MPLOCKED: 2.02 cycles/call > > Athlon XP1600: 18.07 cycles/call > > Athlon XP1600 I386_CPU NO_MPLOCKED: 19.06 cycles/call > > Athlon XP1600 I386_CPU: 19.06 cycles/call > > Celeron 400 NO_MPLOCKED: 5.03 cycles/call > > Celeron 400: 25.36 cycles/call > > Celeron 400 I386_CPU NO_MPLOCKED: 35.27 cycles/call > > Celeron 400 I386_CPU: 35.32 cycles/call Of course the cycle counts for locked instructions are much longer on the P4, because its CPU frequency is faster and its memory frequency is much faster. However, the Athlon is running at 1532 MHz (nominally 1400MHz 266MHz FSB with everything overclocked by 1532/1400), so its frequencies are not very different from the P4. But somehow the it is 15 times faster by cycle count for the unlocked cmpxchg. Locking the cmpxchg apparently takes 16 cycles on the Athlon and 181 cycles on the P4. cli/sti locking (plus a couple of extra instructions for the i386 case) apparently takes 17 cycles on the Athlon and 86 cyles on the P4. > had tried to rewrite atomic_readandclear_int() using cmpxchg - in > non-SMP case it became more than 10 times faster than current xchg > version (15 cycles vs. 200 cycles). However, when I've hacked all atomic_readandclear_int() should be changed too. It still uses essentially my original plain-i386ish code which may have been written without understanding that xchg has an implicit lock. But it is not used much. xchg is used mainly in _release_lock_quick() for spinlocks. Non-spin locks use _release_lock() which uses cmpxchg. > functions in atomic.h to use cmpxchg instead of xchg, and run make world > benchmark on kernels without this change and with it, I found that there > was hardly any improvement in performance, despite expected decrease of > mutex unlocking operation. Does anyone know how many mutex calls there are for makeworld? I've noticed that for almost anything that you can count for makeworld, although the count may look large it only accounts for epsilon% of the time. E.g., a makeworld that took 2540 seconds did about 600000 context switches. Context switches are very expensive -- they take between 1.1 and 87.6 usec according to lmbench2. If they take 87.6 then 600000 of them take 52.5 seconds which is significant, but I suspect an average one takes closer to 1.1 usec than 87.6 (87.6 is with 16 processes writing to 64K. Bruce From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 21:49:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D958F16A8DA; Mon, 26 Jan 2004 21:49:00 -0800 (PST) Received: from cueball.rtp.FreeBSD.org (cueball.rtp.FreeBSD.org [192.58.184.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74C81440FB; Mon, 26 Jan 2004 19:52:16 -0800 (PST) (envelope-from des+tinderbox@freebsd.org) Received: from cueball.rtp.FreeBSD.org (localhost [127.0.0.1]) i0R2d5v9099339; Mon, 26 Jan 2004 21:39:05 -0500 (EST) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by cueball.rtp.FreeBSD.org (8.12.9/8.12.9/Submit) id i0R2d5cc099338; Mon, 26 Jan 2004 21:39:05 -0500 (EST) (envelope-from des+tinderbox@freebsd.org) Date: Mon, 26 Jan 2004 21:39:05 -0500 (EST) Message-Id: <200401270239.i0R2d5cc099338@cueball.rtp.FreeBSD.org> X-Authentication-Warning: cueball.rtp.FreeBSD.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, sparc64@freebsd.org Precedence: bulk Subject: [current tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 05:49:04 -0000 TB --- 2004-01-27 01:37:10 - tinderbox 2.2 running on cueball.rtp.FreeBSD.org TB --- 2004-01-27 01:37:10 - starting CURRENT tinderbox run for sparc64/sparc64 TB --- 2004-01-27 01:37:10 - cvsupping the source tree TB --- /home/des/bin/cvsup -1 -g -L 2 /home/des/tinderbox/CURRENT/sparc64/sparc64/supfile TB --- 2004-01-27 01:37:56 - building world TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make -B buildworld >>> 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.. TB --- 2004-01-27 02:33:55 - building generic kernel TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Tue Jan 27 02:33:55 GMT 2004 [...] cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ipfilter -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath/freebsd -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -mcmodel=medlow -msoft-float -ffreestanding -Werror vers.c linking kernel.debug exception.o: In function `tl0_intr': /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/sparc64/exception.S:753: undefined reference to `panic' exception.o: In function `tl1_intr': /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/sparc64/exception.S:1887: undefined reference to `panic' support.o: In function `longjmp': /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/sparc64/support.S:735: undefined reference to `panic' *** Error code 1 Stop in /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/GENERIC. *** Error code 1 Stop in /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src. TB --- 2004-01-27 02:39:04 - TB --- /usr/bin/make returned exit code 1 TB --- 2004-01-27 02:39:04 - TB --- ERROR: failed to build generic kernel TB --- 2004-01-27 02:39:04 - tinderbox aborted From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 21:49:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C62616AAAA; Mon, 26 Jan 2004 21:49:11 -0800 (PST) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id A720144A2A; Mon, 26 Jan 2004 20:52:09 -0800 (PST) (envelope-from tillman@seekingfire.com) Received: by mail.seekingfire.com (Postfix, from userid 500) id CE5EF63; Mon, 26 Jan 2004 22:52:08 -0600 (CST) Date: Mon, 26 Jan 2004 22:52:08 -0600 From: Tillman Hodgson To: current@freebsd.org Message-ID: <20040127045208.GC83558@seekingfire.com> References: <003c01c3de8d$d569edb0$471b3dd4@dual> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-GPG-Key-ID: 828AFC7B X-GPG-Fingerprint: 5584 14BA C9EB 1524 0E68 F543 0F0A 7FBC 828A FC7B X-GPG-Key: http://www.seekingfire.com/gpg_key.asc X-Urban-Legend: There is lots of hidden information in headers User-Agent: Mutt/1.5.5.1i cc: performance@freebsd.org Subject: Re: Old SUN NFS performance papers. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 05:49:13 -0000 On Sat, Jan 24, 2004 at 09:14:51PM -0500, Robert Watson wrote: > I haven't done much benchmarking on NFS lately, but something worth > remembering is that people have spent a lot of time researching and > optimizing TCP for a variety of connection types, whereas the NFS code > basically has a static implementation of RPC backoff and flow control that > hasn't evolved much. TCP is aware of things like the pathwise-mtu to the > server and adapts, whereas UDP just loses packets due to fragmentation, > especially if you are using larger block sizes. Please do post your > discoveries on performance@, and perhaps we could build an NFS performance > tuning section in the FreeBSD Handbook (or if there's not that much > content, add it to the FAQ)? I once spent a great deal of time with bonnie++, gnuplot and LaTeX generating a nice 10-page or so document on NFS tuning between various systems (the server was always a FreeBSD 4-STABLE box of the 4.7 vintage with several vinum mirrors of various speeds). Naturally, I then lost the document when my home drive disintegated a few months later. i was /just/ in the process of moving my home dir to the file server where it would have multiple levels of backup ... Anyway, I'd be willing to do some more testing and writes up the results for the Handbook (when I get back from a much-needed vacation) if I could obtain several collaborators with a variety of hardware (NFS testing takes /much/ time to cover all the variants and hardware possibilities) and a good idea from someone (such as yourself) on what sort of testing would be seen as valuable. For instance, my primary concern is remote Maildir speed and backup up several servers onto a backup host (where it can spooled out to tape via some scripts). So my access patterns are fairly specific, and likely not typical. Guidance on what a typical NFS user looks like would be precious knowledge ;-) -T -- Page 38: Be sure that, in the excitement of creating a totally rad password, you resist the temptation to tell someone just to show off how smart you are. - Harley Hahn, _The Unix Companion_ From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 21:49:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 060D616ABCC for ; Mon, 26 Jan 2004 21:49:24 -0800 (PST) Received: from p3.saignon.net (66-146-166-52.skyriver.net [66.146.166.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F2AA44B22 for ; Mon, 26 Jan 2004 20:59:50 -0800 (PST) (envelope-from tony@saign.com) Received: (qmail 75254 invoked by uid 1003); 27 Jan 2004 04:58:57 -0000 Received: from tony@saign.com by p3.saignon.net by uid 89 with qmail-scanner-1.20 (clamscan: 0.65. spamassassin: 2.61. Clear:RC:1(127.0.0.1):. Processed in 0.020517 secs); 27 Jan 2004 04:58:57 -0000 Received: from unknown (HELO p3.saignon.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2004 04:58:56 -0000 Received: from 66.146.166.53 (SquirrelMail authenticated user tony@saign.com) by p3.saignon.net with HTTP; Mon, 26 Jan 2004 20:58:56 -0800 (PST) Message-ID: <49174.66.146.166.53.1075179536.squirrel@p3.saignon.net> Date: Mon, 26 Jan 2004 20:58:56 -0800 (PST) From: tony@saign.com To: current@freeBSD.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: 5.2 -current T40 VERY impressed! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 05:49:26 -0000 So far I'd have to say VERY impressed with 5.2 running on the T40!!!!! Hats off to all the talented folks who are developing FreeBSD!!!!! So far the below have been resolved, thanks to everyone who helped; X hangs box after resume - disable glx in XF86Config Mouse doesn't work after resume add, hint.psm.0.flags="0x2000" to device.hints Fn+F4 or lid closure, doesn't initiate suspend change hw.acpi.xxxx = S1 to S3 (Got that one myself) Dhclient dumps core when trying to grab an IP address, patch from web em0 fails on resume, see http://www.scode.org/freebsdt40p.html for patch If anyone is interested in my short ordeal, I'll be posting a how to soon. I was unable to install using 5.1 or 5.2 release, but achieved success soon after installing recent 5.2 -current snapshot http://snapshots.jp.freebsd.org -Tony From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 21:49:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F0A816A845 for ; Mon, 26 Jan 2004 21:49:35 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id F387344F9B for ; Mon, 26 Jan 2004 21:42:45 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 31686 invoked by uid 1000); 27 Jan 2004 05:42:48 -0000 Date: Mon, 26 Jan 2004 21:42:48 -0800 (PST) From: Nate Lawson To: current@freebsd.org Message-ID: <20040126213228.D31623@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: getenv_string broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 05:49:42 -0000 I have a getenv_string() that is never being evaluated. I declared it as follows: static char acpi_os_name[128]; TUNABLE_STR("hw.acpi.os_name", acpi_os_name, sizeof(acpi_os_name)); The contents of acpi_os_name are never filled in from the variable I declared in /boot/loader.conf. Just to be sure, I made a loop that prints out the contents of kenvp. It does not have hw.acpi.os_name. Here is a snippet of the kenvp array, right where my tunable should be (os2 is from a test below): name: hint.vt.0.disabled=1 name: hw.acpi.os2=8 name: hw.acpi.reset_video=0 name: hw.acpi.verbose=1 name: hw.cbb.start_memory=0xc0203000 For another test, I declared a tunable int right below the string, in the same source file. It gets evaluated and assigned. static int acpi_os2 = 2; TUNABLE_INT("hw.acpi.os2", &acpi_os2); -Nate From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 22:12:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3E7C16A4CE for ; Mon, 26 Jan 2004 22:12:21 -0800 (PST) Received: from mx1.freebsdsystems.com (mx1.FreeBSDsystems.COM [216.138.197.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C235E43D6E for ; Mon, 26 Jan 2004 22:12:14 -0800 (PST) (envelope-from lnb@FreeBSDsystems.COM) Received: (qmail 92044 invoked by uid 0); 27 Jan 2004 06:10:23 -0000 Received: from unknown (HELO FreeBSDsystems.COM) (lnb@216.235.8.115) by 216.138.197.66 with SMTP; 27 Jan 2004 06:10:23 -0000 Message-ID: <401600E3.4090103@FreeBSDsystems.COM> Date: Tue, 27 Jan 2004 01:10:43 -0500 From: Lanny Baron Organization: Freedom Technologies Corporation User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Sergeant References: <1075166798.51606.3.camel@localhost> In-Reply-To: <1075166798.51606.3.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: invalid dates in mailing list. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 06:12:22 -0000 Hi, Yes I received several of them tonight with 2003 date. Lanny Mark Sergeant wrote: > Is it just me or are a bunch of emails coming through from November 2003 > ? > -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Lanny Baron Proud to be 100% FreeBSD http://www.FreeBSDsystems.COM Toll Free: 1.877.963.1900 =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 22:14:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D14916A4CE for ; Mon, 26 Jan 2004 22:14:41 -0800 (PST) Received: from endif.cjb.net (65-101-229-205.dnvr.qwest.net [65.101.229.205]) by mx1.FreeBSD.org (Postfix) with SMTP id E9CB343D6A for ; Mon, 26 Jan 2004 22:14:18 -0800 (PST) (envelope-from end@endif.cjb.net) Received: (qmail 3588 invoked from network); 27 Jan 2004 06:13:31 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 27 Jan 2004 06:13:31 -0000 Date: Mon, 26 Jan 2004 23:13:29 -0700 From: Robin Schoonover To: Mark Sergeant In-Reply-To: <1075166798.51606.3.camel@localhost> References: <1075166798.51606.3.camel@localhost> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20040127061418.E9CB343D6A@mx1.FreeBSD.org> cc: current@freebsd.org Subject: Re: invalid dates in mailing list. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 06:14:41 -0000 On Tue, 27 Jan 2004 11:26:38 +1000, Mark Sergeant wrote: > Is it just me or are a bunch of emails coming through from November 2003 > ? To put it simply, it's not just you (and I've seen a few from early December too). -- Robin Schoonover (aka End) # # While money can't buy happiness, it certainly lets you choose your own # form of misery. From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 22:16:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1483016A4CE for ; Mon, 26 Jan 2004 22:16:48 -0800 (PST) Received: from host1.spingen.net (host1.spingen.com [209.120.133.162]) by mx1.FreeBSD.org (Postfix) with SMTP id 489B843D3F for ; Mon, 26 Jan 2004 22:16:21 -0800 (PST) (envelope-from mwill@spingen.com) Received: (qmail 73745 invoked from network); 27 Jan 2004 06:15:49 -0000 Received: from 69-90-55-71.fastdsl.ca (HELO spingen.com) (69.90.55.71) by host1.spingen.com with SMTP; 27 Jan 2004 06:15:49 -0000 Message-ID: <40160214.1080605@spingen.com> Date: Tue, 27 Jan 2004 01:15:48 -0500 From: Matthew Will User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040120 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org References: <1075166798.51606.3.camel@localhost> In-Reply-To: <1075166798.51606.3.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: invalid dates in mailing list. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 06:16:48 -0000 Mark Sergeant wrote: >Is it just me or are a bunch of emails coming through from November 2003 >? > > > No it is not just you, I have recieved quite a few today. Matthew Will Spingen Solutions From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 22:29:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 953B016A4CE; Mon, 26 Jan 2004 22:29:30 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9000943D66; Mon, 26 Jan 2004 22:29:06 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i0R6RRuO088291; Tue, 27 Jan 2004 07:27:27 +0100 (CET) (envelope-from phk@phk.freebsd.dk) From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 28 Sep 2003 23:22:07 +0200." <653.1064784127@critter.freebsd.dk> Date: Tue, 27 Jan 2004 07:27:27 +0100 Message-ID: <88290.1075184847@critter.freebsd.dk> cc: arch@freebsd.org cc: current@freebsd.org Subject: Re: HEADSUP: Change of makedev() semantics. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 06:29:30 -0000 In message <653.1064784127@critter.freebsd.dk>, Poul-Henning Kamp writes: > >I am in the process of adding ref-counting and locking to dev_t, >and would very much prefer if we could get this step completed >soon before 5-STABLE gets branched. Sure I did write this, several months ago. Could whoever has a mailloop fix it ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 22:47:33 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0DA416A4CE for ; Mon, 26 Jan 2004 22:47:33 -0800 (PST) Received: from cheer.mahoroba.org (flets20-024.kamome.or.jp [218.45.20.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id C190943D54 for ; Mon, 26 Jan 2004 22:47:01 -0800 (PST) (envelope-from ume@FreeBSD.org) Received: from localhost (IDENT:kNj5KH4zlzmVxnqx9DZbuBi18XR/dN/5f4DddoKH1KAGCQeyQDMyfHS4oDTX5bsa@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0)i0R6LwZS001962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Jan 2004 15:21:58 +0900 (JST) (envelope-from ume@FreeBSD.org) Date: Tue, 27 Jan 2004 15:21:58 +0900 Message-ID: From: Hajimu UMEMOTO To: Larry Rosenman In-Reply-To: <73100000.1075167521@lerlaptop.lerctr.org> References: <13050000.1075079219@lerlaptop.lerctr.org> <81220000.1075141095@lerlaptop-red.iadfw.net> <73100000.1075167521@lerlaptop.lerctr.org> User-Agent: xcite1.38> Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.9-RELEASE MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on cheer.mahoroba.org cc: freebsd-current@freebsd.org Subject: Re: IPSec: Anything change in the last 2 weeks? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 06:47:33 -0000 Hi, >>>>> On Mon, 26 Jan 2004 19:38:42 -0600 >>>>> Larry Rosenman said: ler> Clean tree, and it works fine with my wireless setup. Thank you! -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 23:17:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6489316A4CF; Mon, 26 Jan 2004 23:17:27 -0800 (PST) Received: from cheer.mahoroba.org (flets20-024.kamome.or.jp [218.45.20.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCD3643D2D; Mon, 26 Jan 2004 23:16:50 -0800 (PST) (envelope-from ume@FreeBSD.org) Received: from localhost (IDENT:7R5ou9j/8LveXh8zJInZZYYU0m3Yy4V9rweM8+0FbSUFA1KqxB2DZCZjVOiFiiIB@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0)i0R6mOZS063147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Jan 2004 15:48:24 +0900 (JST) (envelope-from ume@FreeBSD.org) Date: Tue, 27 Jan 2004 15:48:23 +0900 Message-ID: From: Hajimu UMEMOTO To: sos@FreeBSD.org User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.9-RELEASE MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.3 required=5.0 tests=UPPERCASE_25_50 autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on cheer.mahoroba.org cc: current@FreeBSD.org Subject: Panasonic KXLC005 support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 07:17:27 -0000 Hi, I have Panasonic KXLC005 CDROM drive which is connected via PC-CARD. Unfortunately, it requires extra initialization, and is not recognized by current ATA driver. So, I made a patch. Please review it. Index: sys/dev/ata/ata-card.c diff -u -p sys/dev/ata/ata-card.c.orig sys/dev/ata/ata-card.c --- sys/dev/ata/ata-card.c.orig Thu Jan 15 15:47:27 2004 +++ sys/dev/ata/ata-card.c Wed Jan 21 23:14:44 2004 @@ -49,15 +49,22 @@ __FBSDID("$FreeBSD: src/sys/dev/ata/ata- #include #include -static const struct pccard_product ata_pccard_products[] = { - PCMCIA_CARD(FREECOM, PCCARDIDE, 0), - PCMCIA_CARD(EXP, EXPMULTIMEDIA, 0), - PCMCIA_CARD(IODATA, CBIDE2, 0), - PCMCIA_CARD(OEM2, CDROM1, 0), - PCMCIA_CARD(OEM2, IDE, 0), - PCMCIA_CARD(PANASONIC, KXLC005, 0), - PCMCIA_CARD(TEAC, IDECARDII, 0), - {NULL} +#define KME_IO 0x1 +#define KME_TIMEOUT (hz / 5) + +static const struct ata_pccard_product { + struct pccard_product prod; + int flags; +} ata_pccard_products[] = { + { PCMCIA_CARD(FREECOM, PCCARDIDE, 0), 0 }, + { PCMCIA_CARD(EXP, EXPMULTIMEDIA, 0), 0 }, + { PCMCIA_CARD(IODATA, CBIDE2, 0), 0 }, + { PCMCIA_CARD(OEM2, CDROM1, 0), 0 }, + { PCMCIA_CARD(OEM2, IDE, 0), 0 }, + { PCMCIA_CARD(PANASONIC, KXLC005, 0), KME_IO }, + { PCMCIA_CARD(PANASONIC, KXLC005_1, 0), KME_IO }, + { PCMCIA_CARD(TEAC, IDECARDII, 0), 0 }, + { {NULL}, 0 } }; MALLOC_DECLARE(M_ATA); @@ -65,7 +72,7 @@ MALLOC_DECLARE(M_ATA); static int ata_pccard_match(device_t dev) { - const struct pccard_product *pp; + const struct ata_pccard_product *pp; u_int32_t fcn = PCCARD_FUNCTION_UNSPEC; int error = 0; @@ -78,10 +85,13 @@ ata_pccard_match(device_t dev) return (0); /* match other devices here, primarily cdrom/dvd rom */ - if ((pp = pccard_product_lookup(dev, ata_pccard_products, - sizeof(ata_pccard_products[0]), NULL))) { - if (pp->pp_name) - device_set_desc(dev, pp->pp_name); + if ((pp = (const struct ata_pccard_product *)pccard_product_lookup(dev, + (const struct pccard_product *)ata_pccard_products, + sizeof(ata_pccard_products[0]), NULL))) { + if (pp->prod.pp_name) + device_set_desc(dev, pp->prod.pp_name); + if (pp->flags == KME_IO) + device_set_flags(dev, KME_IO); return (0); } return(ENXIO); @@ -103,7 +113,7 @@ ata_pccard_probe(device_t dev) { struct ata_channel *ch = device_get_softc(dev); struct resource *io, *altio; - int i, rid, len; + int i, rid, len, ts; /* allocate the io range to get start and length */ rid = ATA_IOADDR_RID; @@ -129,8 +139,11 @@ ata_pccard_probe(device_t dev) } else { rid = ATA_ALTADDR_RID; - altio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, - ATA_ALTIOSIZE, RF_ACTIVE); + len = ATA_ALTIOSIZE; + if (device_get_flags(dev) == KME_IO) + ++len; + altio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, len, + RF_ACTIVE); if (!altio) { bus_release_resource(dev, SYS_RES_IOPORT, ATA_IOADDR_RID, io); for (i = ATA_DATA; i < ATA_MAX_RES; i++) @@ -139,6 +152,12 @@ ata_pccard_probe(device_t dev) } ch->r_io[ATA_ALTSTAT].res = altio; ch->r_io[ATA_ALTSTAT].offset = 0; + if (device_get_flags(dev) == KME_IO) { + bus_space_write_1(rman_get_bustag(altio), + rman_get_bushandle(altio), 1, 0x81); + if (!cold) + tsleep(&ts, PRIBIO, "atacard", KME_TIMEOUT); + } } /* initialize softc for this channel */ Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 23:28:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 841EF16A4CE for ; Mon, 26 Jan 2004 23:28:17 -0800 (PST) Received: from hex.athame.co.uk (guru164.netsonic.fi [194.29.193.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4980243D6A for ; Mon, 26 Jan 2004 23:27:39 -0800 (PST) (envelope-from andy@athame.co.uk) Received: from hex.int.athame.co.uk ([192.168.1.1] helo=localhost.localdomain) by hex.athame.co.uk with esmtp (Exim 4.30; FreeBSD) id 1AlNcz-000I3M-RY for freebsd-current@freebsd.org; Tue, 27 Jan 2004 09:27:17 +0200 From: Andy Fawcett To: freebsd-current@freebsd.org Date: Tue, 27 Jan 2004 09:26:58 +0200 User-Agent: KMail/1.6 References: <88290.1075184847@critter.freebsd.dk> In-Reply-To: <88290.1075184847@critter.freebsd.dk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <200401270926.58924.andy@athame.co.uk> Subject: Re: HEADSUP: Change of makedev() semantics. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 07:28:17 -0000 On Tuesday 27 January 2004 08:27, Poul-Henning Kamp wrote: > In message <653.1064784127@critter.freebsd.dk>, Poul-Henning Kamp=20 writes: > >I am in the process of adding ref-counting and locking to dev_t, > >and would very much prefer if we could get this step completed > >soon before 5-STABLE gets branched. > > Sure I did write this, several months ago. Could whoever has a > mailloop fix it ? =46rom what I have seen, both here and on ports@, is that hub.freebsd.org=20 held on to some mails for 6-8 weeks before handing them on to the next=20 box for distribution. Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 9D14F16A4E7; Mon, 26 Jan 2004 15:54:04 -0800 (PST) Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A81216A4B3 for ; Wed, 22 Oct 2003 06:33:54 -0700 (PDT) Lots and lots of occurrences like that in the mails. Internal FreeBSD problem this time, it seems. =2D-=20 Andy Fawcett | andy@athame.co.uk | tap@kde.org "In an open world without walls and fences, | tap@lspace.org we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 23:30:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBF4F16A4CE for ; Mon, 26 Jan 2004 23:30:21 -0800 (PST) Received: from bim01.bimmer-edv.at (s1ip3.bimmer-edv.at [213.133.101.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97E7743D76 for ; Mon, 26 Jan 2004 23:30:08 -0800 (PST) (envelope-from freebsd.org@bimmer.at) Received: from localhost (bim01 [127.0.0.1]) by bim01.bimmer-edv.at (Postfix) with ESMTP id EBCD45F8078; Tue, 27 Jan 2004 08:29:59 +0100 (CET) Received: from bim01.bimmer-edv.at ([127.0.0.1]) by localhost (bim01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24984-04; Tue, 27 Jan 2004 08:29:28 +0100 (CET) Received: from chris (chello080110217205.114.11.wu-wien.teleweb.at [80.110.217.205]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by bim01.bimmer-edv.at (Postfix) with ESMTP id 088495F8073; Tue, 27 Jan 2004 08:29:28 +0100 (CET) From: "Christian B." To: =?iso-8859-1?Q?'Dag-Erling_Sm=F8rgrav'?= Date: Tue, 27 Jan 2004 08:29:40 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPkH/mll18nk97tRjKsArWQu+lMBgAKoMHA Message-Id: <20040127072928.088495F8073@bim01.bimmer-edv.at> X-Virus-Scanned: by amavisd-new at bimmer-edv.at cc: freebsd-current@freebsd.org Subject: RE: FreeBSD 5.2: malloc(): error: allocation failed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 07:30:21 -0000 =20 > From: Dag-Erling Sm=F8rgrav [mailto:des@des.no]=20 > > mysqld in malloc(): error: allocation failed > mysqld ran out of address space. the default limit is 512=20 > MB. you can increase it by adding e.g.=20 > kern.maxdsiz=3D"1073741824" (1 GB) to /boot/loader.conf, or=20 > with the MAXDSIZ kernel option. > (for some reason, kern.maxdsiz doesn't show up in the sysctl=20 > tree, but setting it in loader.conf will work) Thanks for your answer. The adding to /boot/loader.conf namely doesn't = had worked, but the setting MAXDSIZ in the kernel work properly. Is this value for MAXDSIZ reduced from 5.1 to 5.2? Best regards, Christian From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 23:51:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8E1716A4CE for ; Mon, 26 Jan 2004 23:51:10 -0800 (PST) Received: from anduin.net (anduin.net [212.12.46.226]) by mx1.FreeBSD.org (Postfix) with SMTP id E5BB243D3F for ; Mon, 26 Jan 2004 23:51:08 -0800 (PST) (envelope-from ltning-freebsd-current@anduin.net) Received: (qmail 88275 invoked by uid 6759); 27 Jan 2004 07:51:07 -0000 Received: from ltning-freebsd-current@anduin.net by anduin.net by uid 82 with qmail-scanner-1.20 (clamscan: 0.60. spamassassin: 2.60. Clear:RC:1(213.225.74.166):. Processed in 0.028438 secs); 27 Jan 2004 07:51:07 -0000 X-Qmail-Scanner-Mail-From: ltning-freebsd-current@anduin.net via anduin.net X-Qmail-Scanner: 1.20 (Clear:RC:1(213.225.74.166):. Processed in 0.028438 secs) Received: from eirik.unicore.no (HELO ?10.0.16.10?) (213.225.74.166) by anduin.net with SMTP; 27 Jan 2004 07:51:07 -0000 From: Eirik Oeverby To: current@freebsd.org Content-Type: text/plain Message-Id: <1075189881.76404.2.camel@eirik.unicore.no> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 27 Jan 2004 08:51:21 +0100 Content-Transfer-Encoding: 7bit Subject: Sound in 5.x X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 07:51:10 -0000 Hi all, A while ago I sent a message to this list saying that all my problems with cracks and pops and skips in sound had been resolved by moving my soundcard to an otherwise unused IRQ. I tested this on three different soundcards in two different systems. However I have since found my conclusion to be wrong. The IRQ issue might have been part of the problem, although I cannot say this for sure. The important thing I have noticed is that the problem gets worse over time! Immediately after booting up my system, sound is - from what I can tell - smooth and without (or with very few) hickups. However after a few hours it starts coming back, and at this point - after a 4-5 day uptime - it's completely impossible to listen to any kind of music. Every second or so it sounds as if the soundcard buffer is repeating itself for a fraction of a second, giving me a sort of 'rrrr' sound. It sounds just like when I close the lid of my laptop - it's as if all the hardware in the system just freezes up for 0.1 seconds. However in this case it's only the sound .. Everything else seems and feels smooth. This has been a problem since I installed FreeBSD 5.0 a long time ago, and we're now at 5.2 and the issue still hasn't been resolved. I've tested on three different sound chipsets so far (CMI, Crystal and EMU10k1), and they all display the same problem - although to a varying degree. I really hope someone can look into this (again) soon - I for one will be very happy to help debugging. Working is hard without music, especially when everyone around me is making as much noise as they usually do... :-/ I'm *not* using INVARIANTS or any other debugging options in the kernel. Still hoping ;) /Eirik From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 23:59:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D945A16A4CE for ; Mon, 26 Jan 2004 23:59:45 -0800 (PST) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37E5743D2D for ; Mon, 26 Jan 2004 23:59:43 -0800 (PST) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp id 1AlO8G-000NUb-7y for current@FreeBSD.org; Tue, 27 Jan 2004 09:59:36 +0200 X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: current@FreeBSD.org In-reply-to: Your message of Sun, 07 Dec 2003 12:34:13 +0200 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 27 Jan 2004 09:59:36 +0200 From: Danny Braniss Message-Id: Subject: Re: I'm impressed! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 07:59:46 -0000 it seems mx1.FreeBSD.org is recycling old messages :-) Received: from mx2.freebsd.org ([216.136.204.119]) by cs.huji.ac.il with esmtp id 1AlJ5s-00089C-5J for danny@cs.huji.ac.il; Tue, 27 Jan 2004 04:36:48 +0200 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id B7EC758375; Mon, 26 Jan 2004 18:36:23 -0800 (PST) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 0167216A4D2; Mon, 26 Jan 2004 18:36:20 -0800 (PST) Delivered-to: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B6DB16A4CE; Sun, 7 Dec 2003 02:34:17 -0800 (PST) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29BA843FCB; Sun, 7 Dec 2003 02:34:16 -0800 (PST) (envelope-from danny@cs.huji.ac.il) From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 00:05:26 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07AAB16A4CE for ; Tue, 27 Jan 2004 00:05:26 -0800 (PST) Received: from mailgate.mnemonic.no (mailgate.mnemonic.no [195.18.160.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 831C543D5D for ; Tue, 27 Jan 2004 00:05:19 -0800 (PST) (envelope-from ehaga@mnemonic.no) Received: from www.mnemonic.no (localhost [127.0.0.1]) by mailgate.mnemonic.no (Postfix) with SMTP id 30BB1897D9 for ; Tue, 27 Jan 2004 09:04:49 +0100 (MET) Received: from teie (unknown [10.0.1.3]) by www.mnemonic.no (Postfix) with SMTP id D222AD5CF for ; Tue, 27 Jan 2004 09:18:16 +0000 (MET) Date: Tue, 27 Jan 2004 09:00:47 +0100 (CET) From: Erik Haga To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: YBMlnZsMNoOr00e0aMUdVw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.5 SunOS 5.9 sun4u sparc Message-Id: <20040127091816.D222AD5CF@www.mnemonic.no> Subject: ath-driver (Atheros 5212) and ifconfig X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Erik Haga List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 08:05:26 -0000 hi, I am running current (Jan 22 2004). After the compiling I noticed a new problem with ifconfig . Ex : ifconfig ath0 mode <11a/11b/11g> returns the following error : ifconfig: SIOCSIFMEDIA (mode): Invalid argument Regards - Erik - ------------------------------------------------------ Erik Haga E-mail: ehaga@mnemonic.no Mnemonic AS http://mnemonic.no Waldemar Thranesgt. 77 0175 Oslo, Norway +47 22 99 97 00 Fax: +47 22 99 97 01 +47 915 88 606 From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 00:08:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A03616A4CE; Tue, 27 Jan 2004 00:08:55 -0800 (PST) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12BE543D1F; Tue, 27 Jan 2004 00:08:36 -0800 (PST) (envelope-from sos@spider.deepcore.dk) Received: from spider.deepcore.dk (localhost [127.0.0.1]) by spider.deepcore.dk (8.12.10/8.12.10) with ESMTP id i0R87LCm025833; Tue, 27 Jan 2004 09:07:21 +0100 (CET) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.10/8.12.10/Submit) id i0R87L9s025832; Tue, 27 Jan 2004 09:07:21 +0100 (CET) (envelope-from sos) Message-Id: <200401270807.i0R87L9s025832@spider.deepcore.dk> In-Reply-To: To: Hajimu UMEMOTO Date: Tue, 27 Jan 2004 09:07:21 +0100 (CET) Sender: sos@spider.deepcore.dk From: sos@deepcore.dk X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-mail-scanned: by DeepCore Virus & Spam killer v1.3 X-Mailman-Approved-At: Tue, 27 Jan 2004 05:23:04 -0800 cc: current@FreeBSD.ORG cc: sos@FreeBSD.ORG Subject: Re: Panasonic KXLC005 support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 08:08:55 -0000 It seems Hajimu UMEMOTO wrote: > Hi, > > I have Panasonic KXLC005 CDROM drive which is connected via PC-CARD. > Unfortunately, it requires extra initialization, and is not recognized > by current ATA driver. So, I made a patch. Please review it. There must be a cleaner way of doing this. if I read it right the only thing you want to have done is to write 0x81 to ALTIO+1 and wait a bit is that correct ? -Sψren > Index: sys/dev/ata/ata-card.c > diff -u -p sys/dev/ata/ata-card.c.orig sys/dev/ata/ata-card.c > --- sys/dev/ata/ata-card.c.orig Thu Jan 15 15:47:27 2004 > +++ sys/dev/ata/ata-card.c Wed Jan 21 23:14:44 2004 > @@ -49,15 +49,22 @@ __FBSDID("$FreeBSD: src/sys/dev/ata/ata- > #include > #include > > -static const struct pccard_product ata_pccard_products[] = { > - PCMCIA_CARD(FREECOM, PCCARDIDE, 0), > - PCMCIA_CARD(EXP, EXPMULTIMEDIA, 0), > - PCMCIA_CARD(IODATA, CBIDE2, 0), > - PCMCIA_CARD(OEM2, CDROM1, 0), > - PCMCIA_CARD(OEM2, IDE, 0), > - PCMCIA_CARD(PANASONIC, KXLC005, 0), > - PCMCIA_CARD(TEAC, IDECARDII, 0), > - {NULL} > +#define KME_IO 0x1 > +#define KME_TIMEOUT (hz / 5) > + > +static const struct ata_pccard_product { > + struct pccard_product prod; > + int flags; > +} ata_pccard_products[] = { > + { PCMCIA_CARD(FREECOM, PCCARDIDE, 0), 0 }, > + { PCMCIA_CARD(EXP, EXPMULTIMEDIA, 0), 0 }, > + { PCMCIA_CARD(IODATA, CBIDE2, 0), 0 }, > + { PCMCIA_CARD(OEM2, CDROM1, 0), 0 }, > + { PCMCIA_CARD(OEM2, IDE, 0), 0 }, > + { PCMCIA_CARD(PANASONIC, KXLC005, 0), KME_IO }, > + { PCMCIA_CARD(PANASONIC, KXLC005_1, 0), KME_IO }, > + { PCMCIA_CARD(TEAC, IDECARDII, 0), 0 }, > + { {NULL}, 0 } > }; > > MALLOC_DECLARE(M_ATA); > @@ -65,7 +72,7 @@ MALLOC_DECLARE(M_ATA); > static int > ata_pccard_match(device_t dev) > { > - const struct pccard_product *pp; > + const struct ata_pccard_product *pp; > u_int32_t fcn = PCCARD_FUNCTION_UNSPEC; > int error = 0; > > @@ -78,10 +85,13 @@ ata_pccard_match(device_t dev) > return (0); > > /* match other devices here, primarily cdrom/dvd rom */ > - if ((pp = pccard_product_lookup(dev, ata_pccard_products, > - sizeof(ata_pccard_products[0]), NULL))) { > - if (pp->pp_name) > - device_set_desc(dev, pp->pp_name); > + if ((pp = (const struct ata_pccard_product *)pccard_product_lookup(dev, > + (const struct pccard_product *)ata_pccard_products, > + sizeof(ata_pccard_products[0]), NULL))) { > + if (pp->prod.pp_name) > + device_set_desc(dev, pp->prod.pp_name); > + if (pp->flags == KME_IO) > + device_set_flags(dev, KME_IO); > return (0); > } > return(ENXIO); > @@ -103,7 +113,7 @@ ata_pccard_probe(device_t dev) > { > struct ata_channel *ch = device_get_softc(dev); > struct resource *io, *altio; > - int i, rid, len; > + int i, rid, len, ts; > > /* allocate the io range to get start and length */ > rid = ATA_IOADDR_RID; > @@ -129,8 +139,11 @@ ata_pccard_probe(device_t dev) > } > else { > rid = ATA_ALTADDR_RID; > - altio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, > - ATA_ALTIOSIZE, RF_ACTIVE); > + len = ATA_ALTIOSIZE; > + if (device_get_flags(dev) == KME_IO) > + ++len; > + altio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, len, > + RF_ACTIVE); > if (!altio) { > bus_release_resource(dev, SYS_RES_IOPORT, ATA_IOADDR_RID, io); > for (i = ATA_DATA; i < ATA_MAX_RES; i++) > @@ -139,6 +152,12 @@ ata_pccard_probe(device_t dev) > } > ch->r_io[ATA_ALTSTAT].res = altio; > ch->r_io[ATA_ALTSTAT].offset = 0; > + if (device_get_flags(dev) == KME_IO) { > + bus_space_write_1(rman_get_bustag(altio), > + rman_get_bushandle(altio), 1, 0x81); > + if (!cold) > + tsleep(&ts, PRIBIO, "atacard", KME_TIMEOUT); > + } > } > > /* initialize softc for this channel */ From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 00:37:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E4E016A4CE; Tue, 27 Jan 2004 00:37:31 -0800 (PST) Received: from cheer.mahoroba.org (flets20-024.kamome.or.jp [218.45.20.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E09B43D2F; Tue, 27 Jan 2004 00:37:27 -0800 (PST) (envelope-from ume@FreeBSD.org) Received: from localhost (IDENT:kYHdusYP4o1wpFtTPLWxZ/A7AQgjbhad/KcWmtjMyMXa/pKYJLwLTXoIWsDTk04e@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0)i0R8b9ZS014244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Jan 2004 17:37:09 +0900 (JST) (envelope-from ume@FreeBSD.org) Date: Tue, 27 Jan 2004 17:37:09 +0900 Message-ID: From: Hajimu UMEMOTO To: sos@deepcore.dk In-Reply-To: <200401270807.i0R87L9s025832@spider.deepcore.dk> References: <200401270807.i0R87L9s025832@spider.deepcore.dk> User-Agent: xcite1.38> Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.9-RELEASE MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on cheer.mahoroba.org cc: current@FreeBSD.ORG cc: sos@FreeBSD.ORG Subject: Re: Panasonic KXLC005 support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 08:37:31 -0000 Hi, >>>>> On Tue, 27 Jan 2004 09:07:21 +0100 (CET) >>>>> sos@deepcore.dk said: sos> There must be a cleaner way of doing this. if I read it right the only sos> thing you want to have done is to write 0x81 to ALTIO+1 and wait a bit sos> is that correct ? Yes, it's correct. Please feel free to medify it to fit your style. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 00:38:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D17D16A4CE for ; Tue, 27 Jan 2004 00:38:15 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02AA543D1F for ; Tue, 27 Jan 2004 00:38:14 -0800 (PST) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id B7296167587; Tue, 27 Jan 2004 09:38:12 +0100 (CET) Received: from gmx.net (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i0R8c0q4020048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Jan 2004 09:38:00 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) Message-ID: <40162368.7080305@gmx.net> Date: Tue, 27 Jan 2004 09:38:00 +0100 From: Michael Nottebrock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, de-de MIME-Version: 1.0 To: current@freebsd.org X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig33079014A25DEA39D8006AB8" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new cc: edwin@mavetju.org Subject: Weird locale troubles (?!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 08:38:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig33079014A25DEA39D8006AB8 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit This can't be right, can it? --- snip [lofi@lofi]:1:/home/lofi # env | grep LANG LANG=de_DE.ISO8859-15 [lofi@lofi]:0:/home/lofi # echo router | tr a-z A-Z ROΪUER --- snap I noticed this when, after updating to 5.2-R, freenet6' tspc script wouldn't create the tunnel anymore (additonally, the tspc scripts try to set the locale with LANGUAGE instead of LANG and return 0 even if no tunnel was created - bug already reported to Hexago...). -- ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --------------enig33079014A25DEA39D8006AB8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows 2000) Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org iD8DBQFAFiNoXhc68WspdLARAg3wAJ9VbcIrlEPtQi/3d4EeKecagOTCFACghRgL JMTyNuOptLrXvLiLlNmy058= =EZ0O -----END PGP SIGNATURE----- --------------enig33079014A25DEA39D8006AB8-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 00:42:03 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB84516A4CE for ; Tue, 27 Jan 2004 00:42:03 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64E7E43D53 for ; Tue, 27 Jan 2004 00:42:00 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.10/8.12.10) with ESMTP id i0R8ftOR060959; Tue, 27 Jan 2004 11:41:55 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.10/8.12.10/Submit) id i0R8fsu1060958; Tue, 27 Jan 2004 11:41:54 +0300 (MSK) (envelope-from ache) Date: Tue, 27 Jan 2004 11:41:53 +0300 From: Andrey Chernov To: Michael Nottebrock Message-ID: <20040127084153.GA60895@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Michael Nottebrock , current@FreeBSD.ORG, edwin@mavetju.org References: <40162368.7080305@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <40162368.7080305@gmx.net> User-Agent: Mutt/1.5.4i cc: edwin@mavetju.org cc: current@FreeBSD.ORG Subject: Re: Weird locale troubles (?!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 08:42:03 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 27, 2004 at 09:38:00AM +0100, Michael Nottebrock wrote: > This can't be right, can it? >=20 > --- snip >=20 > [lofi@lofi]:1:/home/lofi # env | grep LANG > LANG=3Dde_DE.ISO8859-15 > [lofi@lofi]:0:/home/lofi # echo router | tr a-z A-Z > RO?UER >=20 > --- snap This is right. --=20 Andrey Chernov | http://ache.pp.ru/ --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQCVAwUBQBYkUeJgpPLZnQjrAQF/xgP+Jxrgv5Z1rXxTwa3xZm7Wq57wEqgW2Sz7 JgJuzoqMa+RU4RT+iL8SvcA5WJVlAlfke+fN+INZ8DUbFXc25/CvUqOzS6Y2ieKu aFjloRkSC0VA5GUxDNA4q8jeas5+gUn1aDvwRVwv64F0KN6++PQb498B1oeuxVgX MoYlBcXyrhw= =/dXr -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 00:47:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B30516A4CE for ; Tue, 27 Jan 2004 00:47:15 -0800 (PST) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F0B743D3F for ; Tue, 27 Jan 2004 00:47:14 -0800 (PST) (envelope-from Peter_Losher@isc.org) Received: by farside.isc.org (Postfix, from userid 10188) id 04510A82B; Tue, 27 Jan 2004 08:47:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by farside.isc.org (Postfix) with ESMTP id 02130A829 for ; Tue, 27 Jan 2004 08:47:13 +0000 (UTC) (envelope-from plosher@isc.org) Date: Tue, 27 Jan 2004 08:47:13 +0000 (UTC) From: Peter Losher To: current@freebsd.org Message-ID: <20040127082106.L14045@farside.isc.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: spin lock panic in 5.2-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 08:47:15 -0000 So, the quad-Xeon box serving half of ftp.freebsd.org was upgraded to 5.2-RELEASE Sunday night, and a couple of hours ago it broke to gdb w/ a spin lock panic. -=- spin lock sched lock held by 0x8d2f7a00 for > 5 seconds panic: spin lock held too long cpuid = 4; Debugger("panic") Stopped at Debugger+0x55: xchgl %ebx,in_Debugger.0 db> db> db> db> [tail-] -=- We had this issue after updating to 5.1-REL, one of our techs caught this and reset the box to bring it back online, so I don't have any additional info. I am not sure if this is a revisit of those same problems, or if it's something new. Here is the kernel conf for your consideration: -=- include GENERIC ident ISC_DEBUG maxusers 512 # Normal ISC goo... options IPFIREWALL options IPFIREWALL_VERBOSE #print information about options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options IPV6FIREWALL #firewall for IPv6 options IPV6FIREWALL_VERBOSE options IPV6FIREWALL_VERBOSE_LIMIT=100 options IPV6FIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT #divert sockets options IPSTEALTH #support for stealth forwarding options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN options HZ=1000 #options NMBCLUSTERS=32768 options DUMMYNET # Esp. for sf1 options KVA_PAGES=512 options VM_KMEM_SIZE_SCALE="4" #options VM_KMEM_SIZE_MAX="(1024*1024*1024)" #options VM_KMEM_SIZE_MAX="(512*1024*1024)" #options VM_KMEM_SIZE_MAX="(768*1024*1024)" # Debugging foo makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options DDB #Enable the kernel debugger #options INVARIANTS #Enable calls of extra sanity checking #options WITNESS #Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed options ADAPTIVE_MUTEXES #options ZERO_COPY_SOCKETS -=- Thanks in advance for any suggestions - -Peter -- Peter_Losher@isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow" From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 00:49:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A78A916A4CE for ; Tue, 27 Jan 2004 00:49:21 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 304EF43D2F for ; Tue, 27 Jan 2004 00:49:20 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id A9568530A; Tue, 27 Jan 2004 09:49:18 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 4FDB45308; Tue, 27 Jan 2004 09:49:09 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id DCFA533C6A; Tue, 27 Jan 2004 09:49:08 +0100 (CET) To: "Christian B." References: <20040127072928.088495F8073@bim01.bimmer-edv.at> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Tue, 27 Jan 2004 09:49:08 +0100 In-Reply-To: <20040127072928.088495F8073@bim01.bimmer-edv.at> (Christian B.'s message of "Tue, 27 Jan 2004 08:29:40 +0100") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on flood.des.no X-Spam-Level: ss X-Spam-Status: No, hits=2.6 required=5.0 tests=RCVD_IN_DYNABLOCK, RCVD_IN_SORBS autolearn=no version=2.61 cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 5.2: malloc(): error: allocation failed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 08:49:21 -0000 "Christian B." writes: > Is this value for MAXDSIZ reduced from 5.1 to 5.2? No. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:05:07 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F59916A4CE for ; Tue, 27 Jan 2004 01:05:07 -0800 (PST) Received: from mpimail.mpi-hd.mpg.de (mpimail.mpi-hd.mpg.de [149.217.0.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8729943D1F for ; Tue, 27 Jan 2004 01:05:05 -0800 (PST) (envelope-from michael@mpimail.mpi-hd.mpg.de) Received: from mobi.dhcp.mpi-hd.mpg.de ([149.217.9.25])i0R953En019899 for ; Tue, 27 Jan 2004 10:05:03 +0100 Received: from mobi.dhcp.mpi-hd.mpg.de (localhost [127.0.0.1]) i0R94DED001299 for ; Tue, 27 Jan 2004 10:04:13 +0100 (CET) (envelope-from michael@mobi.dhcp.mpi-hd.mpg.de) Received: (from michael@localhost) by mobi.dhcp.mpi-hd.mpg.de (8.12.10/8.12.10/Submit) id i0R94DSn001298 for freebsd-current@freebsd.org; Tue, 27 Jan 2004 10:04:13 +0100 (CET) (envelope-from michael) Date: Tue, 27 Jan 2004 10:04:13 +0100 From: Michael Lestinsky To: freebsd-current@freebsd.org Message-ID: <20040127090413.GA727@mobi.dhcp.mpi-hd.mpg.de> References: <20040127091816.D222AD5CF@www.mnemonic.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040127091816.D222AD5CF@www.mnemonic.no> User-Agent: Mutt/1.4.1i Subject: Re: ath-driver (Atheros 5212) and ifconfig X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:05:07 -0000 Am 27.01.'04 schrieb Erik Haga: > ifconfig ath0 mode <11a/11b/11g> ifconfig ath0 media autoselect mode 11[abg] Bye Michael From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:07:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 645A716A4CE for ; Tue, 27 Jan 2004 01:07:12 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D35643D5C for ; Tue, 27 Jan 2004 01:06:45 -0800 (PST) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id 120D3167719; Tue, 27 Jan 2004 10:06:44 +0100 (CET) Received: from gmx.net (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i0R96Wq4020538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Jan 2004 10:06:35 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) Message-ID: <40162A18.9080703@gmx.net> Date: Tue, 27 Jan 2004 10:06:32 +0100 From: Michael Nottebrock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, de-de MIME-Version: 1.0 To: Andrey Chernov References: <40162368.7080305@gmx.net> <20040127084153.GA60895@nagual.pp.ru> In-Reply-To: <20040127084153.GA60895@nagual.pp.ru> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAF2F4574FFC919548FC84C61" X-Virus-Scanned: by amavisd-new cc: current@freebsd.org Subject: Re: Weird locale troubles (?!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:07:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAF2F4574FFC919548FC84C61 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Andrey Chernov wrote: >>[lofi@lofi]:1:/home/lofi # env | grep LANG >>LANG=de_DE.ISO8859-15 >>[lofi@lofi]:0:/home/lofi # echo router | tr a-z A-Z >>RO?UER >> >>--- snap > > This is right. Please explain? -- ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --------------enigAF2F4574FFC919548FC84C61 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows 2000) Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org iD8DBQFAFioYXhc68WspdLARAoknAJ4iUR0CEV/JOIZyhUJ8l9tsfkxWzgCfd4Oo YR5FwVI721pl1g0ffKjePoc= =03fH -----END PGP SIGNATURE----- --------------enigAF2F4574FFC919548FC84C61-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:11:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C858C16A4CE for ; Tue, 27 Jan 2004 01:11:38 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E90F43D1F for ; Tue, 27 Jan 2004 01:11:34 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.10/8.12.10) with ESMTP id i0R9BXOR061588; Tue, 27 Jan 2004 12:11:33 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.10/8.12.10/Submit) id i0R9BWLr061587; Tue, 27 Jan 2004 12:11:33 +0300 (MSK) (envelope-from ache) Date: Tue, 27 Jan 2004 12:11:30 +0300 From: Andrey Chernov To: Michael Nottebrock Message-ID: <20040127091130.GA61352@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Michael Nottebrock , current@freebsd.org References: <40162368.7080305@gmx.net> <20040127084153.GA60895@nagual.pp.ru> <40162A18.9080703@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <40162A18.9080703@gmx.net> User-Agent: Mutt/1.5.4i cc: current@freebsd.org Subject: Re: Weird locale troubles (?!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:11:38 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 27, 2004 at 10:06:32AM +0100, Michael Nottebrock wrote: > Please explain? See tr(1), c-c range. --=20 Andrey Chernov | http://ache.pp.ru/ --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQCVAwUBQBYrQuJgpPLZnQjrAQFq5AP/cfz9q2ipXf1H9prCfO9b1Ld5Yx4Fj2y9 YqXEqh1YW1veCvKj12urL2GreE+07ys+yUdK/tkJ282hLTkFRYUahUTf1VlAaXp6 DWpbQ+Ck5zbik6m2BsD0+Az3WSP+v8preArZx/QtN/L5hFuYpVtfJ9/jh9/rbpkf JLZwTYBo3VQ= =MCOV -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:18:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6096616A4CF for ; Tue, 27 Jan 2004 01:18:17 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F08D43D53 for ; Tue, 27 Jan 2004 01:18:14 -0800 (PST) (envelope-from vphom@comcast.net) Received: from c-24-6-8-84.client.comcast.net ([24.6.8.84]) by comcast.net (rwcrmhc12) with SMTP id <2004012709181301400e6mi9e> (Authid: vphom@comcast.net); Tue, 27 Jan 2004 09:18:13 +0000 From: Vanh Phom To: Doug White In-Reply-To: <20040125114141.I81485@carver.gumbysoft.com> References: <1074858990.1399.17.camel@Supra> <20040125114141.I81485@carver.gumbysoft.com> Content-Type: text/plain Message-Id: <1075166294.5705.6.camel@Supra> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 26 Jan 2004 17:18:15 -0800 Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Installing FreeBsd with X prob X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vphom@comcast.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:18:17 -0000 On Sun, 2004-01-25 at 11:43, Doug White wrote: > On Fri, 23 Jan 2004, Vanh Phom wrote: > > > After spending the last couple days installing Freebsd. I managed to get > > X up bare. Apparently the X server is up with a blank screen and no way > > to shut it down. I'm trying to run kdm,sometime it would work if I cd to > > /usr/local/bin and type kdm. Otherwise I got a blank screen. > > Any help would be appreciated. > > By blank screen, you mean the crosshatch pattern with the X cursor? > > The normal way to start X up is using 'startx'. This arranges for a > ~/.xinitrc script to run to start your window manager, or will start up a > basic twm session if that file is not present. > > Also, if you need it, the X server kill key is Ctrl-Alt-Backspace. I seem to found a solution for now. First I found that the DISPLAY variable was not set on root. That what I thought the server start up with no client connect to and C-A-B didn't work. So I recompile the kernel and thing seems to work fine for now. Vanh From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:19:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC4E016A4CE for ; Tue, 27 Jan 2004 01:19:16 -0800 (PST) Received: from oahu.WURLDLINK.NET (oahu.wurldlink.net [66.193.144.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id A663C43D46 for ; Tue, 27 Jan 2004 01:19:15 -0800 (PST) (envelope-from vince@oahu.WURLDLINK.NET) Received: from oahu.WURLDLINK.NET (vince@localhost.WURLDLINK.NET [127.0.0.1]) by oahu.WURLDLINK.NET (8.12.9/8.12.9) with ESMTP id i0R9ECOt072359; Mon, 26 Jan 2004 23:14:26 -1000 (HST) Received: from localhost (vince@localhost)i0R9EBhK072356; Mon, 26 Jan 2004 23:14:11 -1000 (HST) Date: Mon, 26 Jan 2004 23:14:11 -1000 (HST) From: Vincent Poy To: Michael Lestinsky In-Reply-To: <20040127090413.GA727@mobi.dhcp.mpi-hd.mpg.de> Message-ID: <20040126231329.Y97872-100000@oahu.WURLDLINK.NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: ath-driver (Atheros 5212) and ifconfig X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:19:17 -0000 On Tue, 27 Jan 2004, Michael Lestinsky wrote: > Am 27.01.'04 schrieb Erik Haga: > > ifconfig ath0 mode <11a/11b/11g> > > ifconfig ath0 media autoselect mode 11[abg] What's the correct way to have it connect to a certain AP with a WEP key and get the IP by DHCP? Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:20:53 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FB1B16A4CE for ; Tue, 27 Jan 2004 01:20:53 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8A1143D5C for ; Tue, 27 Jan 2004 01:20:37 -0800 (PST) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id B12791675BA; Tue, 27 Jan 2004 10:20:36 +0100 (CET) Received: from gmx.net (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i0R9Kaq4020725 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Jan 2004 10:20:36 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) Message-ID: <40162D64.40902@gmx.net> Date: Tue, 27 Jan 2004 10:20:36 +0100 From: Michael Nottebrock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, de-de MIME-Version: 1.0 To: Andrey Chernov References: <40162368.7080305@gmx.net> <20040127084153.GA60895@nagual.pp.ru> <40162A18.9080703@gmx.net> <20040127091130.GA61352@nagual.pp.ru> In-Reply-To: <20040127091130.GA61352@nagual.pp.ru> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig781CABBBC2BC90FB7584CFB9" X-Virus-Scanned: by amavisd-new cc: current@freebsd.org Subject: Re: Weird locale troubles (?!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:20:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig781CABBBC2BC90FB7584CFB9 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Andrey Chernov wrote: > On Tue, Jan 27, 2004 at 10:06:32AM +0100, Michael Nottebrock wrote: > >>Please explain? > > > See tr(1), c-c range. Does this mean that our locale is bogus or Linux'/glibc's is? -- ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --------------enig781CABBBC2BC90FB7584CFB9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows 2000) Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org iD8DBQFAFi1kXhc68WspdLARAt2gAJ94PLjNN4F+TFcW8zHqTkVa8rkQNgCghI6N 8J5ydo8AdN83adNt6ZtmMbc= =/11Q -----END PGP SIGNATURE----- --------------enig781CABBBC2BC90FB7584CFB9-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:24:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C30916A4CE for ; Tue, 27 Jan 2004 01:24:08 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6264543D5E for ; Tue, 27 Jan 2004 01:23:59 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.10/8.12.10) with ESMTP id i0R9NwOR061890; Tue, 27 Jan 2004 12:23:58 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.10/8.12.10/Submit) id i0R9NwPo061889; Tue, 27 Jan 2004 12:23:58 +0300 (MSK) (envelope-from ache) Date: Tue, 27 Jan 2004 12:23:55 +0300 From: Andrey Chernov To: Michael Nottebrock Message-ID: <20040127092354.GA61750@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Michael Nottebrock , current@freebsd.org References: <40162368.7080305@gmx.net> <20040127084153.GA60895@nagual.pp.ru> <40162A18.9080703@gmx.net> <20040127091130.GA61352@nagual.pp.ru> <40162D64.40902@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <40162D64.40902@gmx.net> User-Agent: Mutt/1.5.4i cc: current@freebsd.org Subject: Re: Weird locale troubles (?!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:24:08 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 27, 2004 at 10:20:36AM +0100, Michael Nottebrock wrote: > Does this mean that our locale is bogus or Linux'/glibc's is? Our locale is right in that area. Don't know about Linux/glibc locale or tr --=20 Andrey Chernov | http://ache.pp.ru/ --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQCVAwUBQBYuKuJgpPLZnQjrAQHV4gQAghTcNXFx/pWbT80PrR2ohACc8ZamPStj fuUWLNyO46xbR98FJ4e3+H71PHp3kBQ+QYtE5D3QnunNbDgn9yeJFU4PVetd/5o/ Sp+OS3h881NzUuk8k1/zg16fx6ZQVecVy/1bdlpsVMd6pxhm4sklHgOtLeq507fg P+qI0OorZc4= =eNxR -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:34:07 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CF5B16A4CE for ; Tue, 27 Jan 2004 01:34:07 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E1EA43D69 for ; Tue, 27 Jan 2004 01:33:52 -0800 (PST) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id 0D5DF1675BA; Tue, 27 Jan 2004 10:33:50 +0100 (CET) Received: from gmx.net (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i0R9Xoq4020877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Jan 2004 10:33:50 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) Message-ID: <4016307E.7030300@gmx.net> Date: Tue, 27 Jan 2004 10:33:50 +0100 From: Michael Nottebrock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, de-de MIME-Version: 1.0 To: Andrey Chernov References: <40162368.7080305@gmx.net> <20040127084153.GA60895@nagual.pp.ru> <40162A18.9080703@gmx.net> <20040127091130.GA61352@nagual.pp.ru> <40162D64.40902@gmx.net> <20040127092354.GA61750@nagual.pp.ru> In-Reply-To: <20040127092354.GA61750@nagual.pp.ru> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig48417A985294684FE4F63F18" X-Virus-Scanned: by amavisd-new cc: current@freebsd.org Subject: Re: Weird locale troubles (?!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:34:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig48417A985294684FE4F63F18 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Andrey Chernov wrote: > On Tue, Jan 27, 2004 at 10:20:36AM +0100, Michael Nottebrock wrote: > >>Does this mean that our locale is bogus or Linux'/glibc's is? > > > Our locale is right in that area. Don't know about Linux/glibc locale or tr That actually wasn't a serious question. The output is OBVIOUSLY bogus - it should be ROUTER, glibc's locale does the right thing (and ours breaks GNU tr as well). -- ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --------------enig48417A985294684FE4F63F18 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows 2000) Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org iD8DBQFAFjB+Xhc68WspdLARAoL7AJ49okllAdIyXUcH1Is2taoXxpjvMQCePp8d uSJWDs6qiivRq/newmzxwoE= =Mbd/ -----END PGP SIGNATURE----- --------------enig48417A985294684FE4F63F18-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:36:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2C1016A4CE for ; Tue, 27 Jan 2004 01:36:29 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB5AC43D31 for ; Tue, 27 Jan 2004 01:36:25 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.10/8.12.10) with ESMTP id i0R9aLOR062381; Tue, 27 Jan 2004 12:36:21 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.10/8.12.10/Submit) id i0R9aLsD062379; Tue, 27 Jan 2004 12:36:21 +0300 (MSK) (envelope-from ache) Date: Tue, 27 Jan 2004 12:36:20 +0300 From: Andrey Chernov To: Michael Nottebrock Message-ID: <20040127093619.GA62325@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Michael Nottebrock , current@freebsd.org References: <40162368.7080305@gmx.net> <20040127084153.GA60895@nagual.pp.ru> <40162A18.9080703@gmx.net> <20040127091130.GA61352@nagual.pp.ru> <40162D64.40902@gmx.net> <20040127092354.GA61750@nagual.pp.ru> <4016307E.7030300@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <4016307E.7030300@gmx.net> User-Agent: Mutt/1.5.4i cc: current@freebsd.org Subject: Re: Weird locale troubles (?!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:36:29 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 27, 2004 at 10:33:50AM +0100, Michael Nottebrock wrote: > it should be ROUTER No. --=20 Andrey Chernov | http://ache.pp.ru/ --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQCVAwUBQBYxE+JgpPLZnQjrAQHqqwQApr2c3M29w17BljFmU8uvjaxm1zuGsTE2 eXG81iWgpfbtk7ibtKBQRjpNSLdJP+q8yU1UNNuURZRPi2C2mnwaXiR9Ys92v7kO gBC7Z0ibH0/Wvbs3MDlLoRW5mQPrUdr7z7prsfKAiUkRfGkn+/ezBEDuetUH/DOF DgBN0BMFCJU= =pnZI -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:37:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B43F316A4CE for ; Tue, 27 Jan 2004 01:37:09 -0800 (PST) Received: from hotmail.com (law9-f94.law9.hotmail.com [64.4.9.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5719D43D72 for ; Tue, 27 Jan 2004 01:35:32 -0800 (PST) (envelope-from mrpolitics@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 27 Jan 2004 01:35:32 -0800 Received: from 65.120.111.9 by lw9fd.law9.hotmail.msn.com with HTTP; Tue, 27 Jan 2004 09:35:31 GMT X-Originating-IP: [65.120.111.9] X-Originating-Email: [mrpolitics@hotmail.com] X-Sender: mrpolitics@hotmail.com From: "Mike Schreckengost" To: peter@alastria.net Date: Tue, 27 Jan 2004 04:35:31 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Jan 2004 09:35:32.0239 (UTC) FILETIME=[E88101F0:01C3E4B8] cc: freebsd-current@freebsd.org Subject: RE: FreeBSD 5.2C: LOR - 1st 0xca738038 filedesc structure (filedescstructure) @ X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 09:37:09 -0000 Hi Peter, I also see similar LOR messages (w/ backtraces) from time to time on my FreeBSD 5.2-CURRENT system. I also use an SMP machine (2 AMD Athlon-MP 2100+ processors), I don't know if this is related to the problem or not. Anyways, if you discover any helpful information, I would be delighted if you'd share it. :) Thanks in advance, Mike >From: Peter Wood >To: freebsd-current@freebsd.org >Subject: FreeBSD 5.2C: LOR - 1st 0xca738038 filedesc structure >(filedescstructure) @ /usr/src/sys/kern/sys_generic.c:901 >Date: Mon, 26 Jan 2004 17:29:48 +0000 > >Good Evening, > >Checked nightly logs to discover that there had been two lock order >reversals >last night on my SMP 5.2C machine. > >They are listed as: > >lock order reversal > 1st 0xc7975dec vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1314 > 2nd 0xc0788d80 swap_pager swhash (swap_pager swhash) @ >/usr/src/sys/vm/swap_pager.c:1823 > 3rd 0xc1042738 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:873 >Stack backtrace: > >lock order reversal > 1st 0xca738038 filedesc structure (filedesc structure) @ >/usr/src/sys/kern/sys_generic.c:901 > 2nd 0xc0752d80 Giant (Giant) @ /usr/src/sys/fs/specfs/spec_vnops.c:377 >Stack backtrace: > >The backtrace for the second LOR was thankfully still on screen, I've taken >a >screen shot and it can be located at: > >http://parallax.alastria.net/~peter/xenon-lor1.jpg > >I'm going to cvsup to current shortly, I'm interested in trying the new >schedular. If anyone from core needs access to the machine to poke, let me >know. > >Kind regards, > >Peter. > >Machine dmesg is as follows: > >Copyright (c) 1992-2004 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 5.2-CURRENT #3: Sat Jan 17 16:15:10 GMT 2004 > pa@xenon.talbot.lan:/usr/src/sys/i386/compile/XENON >Preloaded elf kernel "/boot/kernel/kernel" at 0xc087a000. >Preloaded elf module "/boot/kernel/acpi.ko" at 0xc087a294. >Timecounter "i8254" frequency 1193182 Hz quality 0 >CPU: AMD Athlon(tm) MP 2000+ (1666.74-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 > >Features=0x383fbffOV,PAT,PSE36,MMX,FXSR,SSE> > AMD Features=0xc0480000 >real memory = 2146959360 (2047 MB) >avail memory = 2095476736 (1998 MB) >ACPI APIC Table: >FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 1 > cpu1 (AP): APIC ID: 0 >ioapic0 irqs 0-23 on motherboard >Pentium Pro MTRR support enabled >npx0: [FAST] >npx0: on motherboard >npx0: INT 16 interface >acpi0: on motherboard >pcibios: BIOS version 2.10 >acpi0: Power Button (fixed) >acpi0: Sleep Button (fixed) >Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 >acpi_cpu0: port 0x530-0x537 on acpi0 >acpi_cpu1: port 0x530-0x537 on acpi0 >acpi_button0: on acpi0 >pcib0: port 0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff >iomem > 0xd8000-0xdbfff on acpi0 >pci0: on pcib0 >agp0: port 0x1010-0x1013 mem >0xf1300000-0xf1300fff, >0xf4000000-0xf7ffffff at device 0.0 on pci0 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >pci1: at device 5.0 (no driver attached) >isab0: at device 7.0 on pci0 >isa0: on isab0 >atapci0: port 0xf000-0xf00f at device 7.1 on >pci0 >ata0: at 0x1f0 irq 14 on atapci0 >ata0: [MPSAFE] >ata1: at 0x170 irq 15 on atapci0 >ata1: [MPSAFE] >pci0: at device 7.3 (no driver attached) >pcib2: at device 9.0 on pci0 >pci2: on pcib2 >asr0: mem 0xf8000000-0xfbffffff irq 21 at >device >9.1 on pci0 >asr0: major=154 >asr0: ADAPTEC 2400A FW Rev. 370L, 4 channel, 256 CCBs, Protocol I2O >pcib3: at device 16.0 on pci0 >pci3: on pcib3 >pci3: at device 0.0 (no driver attached) >atapci1: port >0x2480-0x248f,0x2490-0x2493, >0x2498-0x249f,0x2494-0x2497,0x24a0-0x24a7 mem 0xf1000000-0xf1003fff irq 16 >at >device 4.0 on pci3 >atapci1: [MPSAFE] >ata2: at 0x24a0 on atapci1 >ata2: [MPSAFE] >ata3: at 0x2498 on atapci1 >ata3: [MPSAFE] >ahc0: port 0x2000-0x20ff mem >0xf100 >5000-0xf1005fff irq 17 at device 5.0 on pci3 >ahc0: Host Adapter Bios disabled. Using default SCSI device parameters >aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs >pcm0: port 0x2400-0x243f irq 18 at device 6.0 on pci3 >fxp0: port 0x2440-0x247f mem >0xf1020000-0xf103fff >f,0xf1006000-0xf1006fff irq 19 at device 7.0 on pci3 >fxp0: Ethernet address 00:02:b3:b4:4c:bb >miibus0: on fxp0 >inphy0: on miibus0 >inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >atkbdc0: port 0x64,0x60 irq 1 on acpi0 >atkbd0: flags 0x1 irq 1 on atkbdc0 >kbd0 at atkbd0 >sio0 port 0x3f8-0x3ff irq 4 on acpi0 >sio0: type 16550A >sio1 port 0x2f8-0x2ff irq 3 on acpi0 >sio1: type 16550A >ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 >ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode >ppc0: FIFO with 16/16/9 bytes threshold >ppbus0: on ppc0 >lpt0: on ppbus0 >lpt0: Interrupt-driven port >fdc0: port >0x3f7,0x3f0-0 >x3f5 irq 6 drq 2 on acpi0 >fdc0: FIFO enabled, 8 bytes threshold >fd0: <1440-KB 3.5" drive> on fdc0 drive 0 >orm0: G(KL^<5-W MG.8^,7[T&9XY0F!>G7IX?]M>W/XD87R1?L;MS)4^&3:<0.0Y24B;81TI(J=[ MYVL*#GA9"2/761R[2\FLF%FT_@$%B4F06SX$O<]^!")-([U>$7L.1DLS6,"H ME\%*^%3FY<>]1U)ZR?PB?=HY!"G`FP\GS2QZI$`)\/#KW=PSZ*_NZB! -$/_B[DBG"A(!&!TYP``` ` end From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 14:36:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0AB016A4CE for ; Mon, 2 Feb 2004 14:36:03 -0800 (PST) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7935843D45 for ; Mon, 2 Feb 2004 14:36:02 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 19724 invoked from network); 2 Feb 2004 22:36:01 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 2 Feb 2004 22:36:01 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i12MZYMA096425; Mon, 2 Feb 2004 17:35:56 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Ian Freislich Date: Mon, 2 Feb 2004 17:24:25 -0500 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402021724.25419.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: FreeBSD-current@FreeBSD.org Subject: Re: Panic at boot time X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 22:36:05 -0000 On Saturday 31 January 2004 09:29 am, Ian Freislich wrote: > John Baldwin wrote: > > On Thursday 29 January 2004 12:42 pm, Ian Freislich wrote: > > > Hi > > > > > > I've been getting this panic at boot time for last few weeks. The > > > last kernel that works is of around Wed Jan 7 15:23:38 SAST 2004. > > > > > > Random datapoints: > > > Gigabyte 686DLX motherboard with 2 PentiumII CPUs > > > I've noticed that ACPI has been working more and more poorly > > > with this motherboard. > > > I think this is related to ACPI brokenness because the working > > > kernel panics in exactly the same way if I set > > > hint.acpi.0.disabled="1". > > > > That means your working kernel doesn't work if ACPI is disabled which is > > what you are seeing here. Can you try kernels without SMP and see if > > ACPI and !ACPI both work? > > Yes, UP kernels work with and without ACPI. So ACPI is broken for > SMP (on this particular board)? No, you get the panic when you don't use ACPI when using SMP. See if your system has an MADT table via 'acpidump -t'. If it doesn't, see if there is a BIOS update for your BIOS. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 14:36:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B278B16A4CF for ; Mon, 2 Feb 2004 14:36:09 -0800 (PST) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9191E43D39 for ; Mon, 2 Feb 2004 14:36:05 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 32339 invoked from network); 2 Feb 2004 22:36:05 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 2 Feb 2004 22:36:05 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i12MZYMC096425; Mon, 2 Feb 2004 17:36:01 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Peter Schultz Date: Mon, 2 Feb 2004 17:26:22 -0500 User-Agent: KMail/1.5.4 References: <20040130164001.GA49968@neo.redjade.org> <200401301311.19251.jhb@FreeBSD.org> <401C0079.5080403@bis.midco.net> In-Reply-To: <401C0079.5080403@bis.midco.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402021726.22996.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Sangwoo Shim cc: current@freebsd.org Subject: Re: Interrupt storm on acpi0 occurred after madt.c change X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 22:36:09 -0000 On Saturday 31 January 2004 02:22 pm, Peter Schultz wrote: > John Baldwin wrote: > > On Friday 30 January 2004 11:40 am, Sangwoo Shim wrote: > >>Hi. > >>I've experienced interrupt storm on acpi0 after your v1.10 madt.c commit. > >>(which is located at src/sys/i386/acpica/madt.c); > >>What really makes me frustrating is this storm wasn't here before 1.10 > >>change, which is exactly stand against your commit log message. :-( > >>I've recompiled kernel with v1.9 of madt.c and the problem didn't occur. > >> > >>I'm using ASUS P2B-D with two p3-650 processors. > >>BIOS version is 1014 beta 3 (which is the last published one); > >> > >>My kernel config is stripped GENERIC, which includes > >>option CPU_FASTER_5X86_FPU > >>option CPU_ENABLE_SSE > >>device acpi # Mine hangs with acpi loaded as module. > >> > >>Attached file is my acpidump -t -d output. > >>Thanks. > > > > Can you provide a dmesg? IRQ20 on your box is a PCI interrupt and PCI > > interrupts are level/lo, not level/hi. To top it off, ACPI states that > > the SCI is supposed to always be level/lo. You must have a very broken > > BIOS to get a storm now. > > I have this problem as well, here's my verbose dmesg and ASL: > > http://bis.midco.net/pmes/dmesg.txt > http://bis.midco.net/pmes/tyan_s1832dl.asl > > I've not reverted to v1.9 of madt.c, but I'm sure it would make all the > difference it did for the others. Ugh, does Linux work ok on this motherboard? Unfortunately, I have seen BIOS's that program level/hi and some want level/lo, and apparently the tyan's want the broken level/hi, but I can't tell the difference as they both use the same exact MADT entry. BIOS writers suck. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 14:36:36 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 016E916A4CE for ; Mon, 2 Feb 2004 14:36:36 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89D1243D41 for ; Mon, 2 Feb 2004 14:36:34 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 78EE272DC9; Mon, 2 Feb 2004 14:36:34 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 762C472DC7; Mon, 2 Feb 2004 14:36:34 -0800 (PST) Date: Mon, 2 Feb 2004 14:36:34 -0800 (PST) From: Doug White To: Putinas Piliponis In-Reply-To: <02b801c3e9d7$cf629250$0464a8c0@spotripoli.local> Message-ID: <20040202143424.H75850@carver.gumbysoft.com> References: <02b801c3e9d7$cf629250$0464a8c0@spotripoli.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: atacontrol problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 22:36:36 -0000 On Mon, 2 Feb 2004, Putinas Piliponis wrote: > just playing with raids on 5.2.1-RC > atacontrol create RAID1 ad6 ad6 > ar0 created > atacontrol detach 3 > gives panic Feeding invalid configurations to ATA RAID is a good way to end up with a bloody foot. It would be nice to sanity-check something like that, though. ATARAID is known to not be wonderfully stable in the face of bizarre setups and failure; its a known limitation. The future plan is to replace the current framework with something more robust. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 14:40:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C10C216A4CF for ; Mon, 2 Feb 2004 14:40:39 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFFF243D41 for ; Mon, 2 Feb 2004 14:40:15 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id i12MeDn51752; Mon, 2 Feb 2004 17:40:13 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 2 Feb 2004 17:40:13 -0500 (EST) From: Jeff Roberson To: Melvyn Sopacua In-Reply-To: <200402021241.35427.freebsd-current@webteckies.org> Message-ID: <20040202173852.S30170-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Tue, 03 Feb 2004 05:23:39 -0800 cc: current@freebsd.org Subject: Re: SCHED_ULE and loadavg() results X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 22:40:39 -0000 On Mon, 2 Feb 2004, Melvyn Sopacua wrote: > Hi, > > following up on recent statements regarding loadavg() calculation: > I currently have a machine compiling a make release, using SCHED_ULE. > > I use WORLDARGS='-j4' and have observed the following: > * During compilation loads gets up to 15 and stays there, but I feel this has > been "set in motion" by top(1). The buildprocess already was an hour or 2 on > it's way (set it up remotely) and the first time I ran top, the load was > three. I quit top, and monitored slowly by calling uptime(1) about every > minute manually (to avoid sleep()), but the load still went up. > * changing top's refresh frequency to 5, had no impact whatsoever - load still > goes up, finally changed it to 1 and kept monitoring. > * during 'install' stage load went down to appr. 0.62 and kept lurking between > 0.62 and 1.20, still with many make(10 and sh(1) processes, but no compilers. > * during kernel build stage load went quickly up to 3 and 5, with less > compilers this time. > * it's now building ports and balancing between 1.10 and 3.50. > > I've used this machine more often lately to build dists, but never saw the > load come above 6, using SCHED_4BSD. Last time was about 1,5 weeks ago. We're tinkering with the load average reporting right now. I assure you that it is a problem with statistics and not a problem with the actual machine load. Thank you for the thorough report. I'll send a follow-up mail to current@ when we're doing tinkering with loadvg. Cheers, Jeff > > Kernel config and dmesg attached. > Full command is: > nohup make release BUILDNAME=5.2-idgnl-CURRENT \ > CHROOTDIR=/webdocs/scratch/CURRENT \ > CVSROOT=/home/ncvs DOC_LANG=en_US.ISO8859-1 -DMAKEISOS \ > RELEASEDIRFILES=/usr/ports/distfiles WORLD_FLAGS=-j4 \ > KERNELS='DBSERVER SERVER3' -DNOPORTREADMES & > > -- > Melvyn > > ======================================================= > FreeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 > CET 2004 > root@sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG > i386 > ======================================================= > From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 14:42:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5CE316A4CF; Mon, 2 Feb 2004 14:42:58 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C0843D5A; Mon, 2 Feb 2004 14:42:24 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id i12MgOt52789; Mon, 2 Feb 2004 17:42:24 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 2 Feb 2004 17:42:24 -0500 (EST) From: Jeff Roberson To: Don Lewis In-Reply-To: <200402020201.i1221h7E098722@gw.catspoiler.org> Message-ID: <20040202174022.S30170-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Tue, 03 Feb 2004 05:23:39 -0800 cc: current@freebsd.org Subject: Re: nice not nice enough with ULE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 22:42:59 -0000 On Sun, 1 Feb 2004, Don Lewis wrote: > I'm seeing the following during the java library building phase of the > lang/gcc33 port: > > > last pid: 41215; load averages: 3.82, 3.60, 3.53 up 0+05:39:11 17:53:43 > 67 processes: 4 running, 63 sleeping > CPU states: 1.5% user, 78.2% nice, 20.3% system, 0.0% interrupt, 0.0% idle > Mem: 72M Active, 624M Inact, 125M Wired, 37M Cache, 111M Buf, 139M Free > Swap: 2055M Total, 2055M Free > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 531 setiathome 139 15 16692K 15888K RUN 195:45 75.00% 75.00% setiathome > 18973 dl 76 0 2200K 1328K RUN 0:41 0.00% 0.00% top > 508 uucp 5 0 1264K 924K ttyin 0:35 0.00% 0.00% newapc > 582 dl 76 0 6004K 2296K select 0:10 0.00% 0.00% sshd > 92710 root 8 0 11616K 10596K wait 0:08 0.00% 0.00% gmake > 19272 root 8 0 12456K 11980K wait 0:07 0.00% 0.00% ruby > 98135 root 8 0 9676K 8568K wait 0:06 0.00% 0.00% gmake > 19274 root -8 0 1124K 520K piperd 0:05 0.00% 0.00% tee > 510 uucp 76 0 1240K 888K select 0:04 0.00% 0.00% upsd > 18955 dl 76 0 6004K 2320K RUN 0:03 0.00% 0.00% sshd > 514 uucp 8 0 1244K 920K nanslp 0:02 0.00% 0.00% upsmon > 7129 root 76 0 1204K 784K select 0:02 0.00% 0.00% script > 430 root 76 0 1516K 1020K select 0:02 0.00% 0.00% ntpd > 16600 dl 4 0 1152K 664K kqread 0:01 0.00% 0.00% tail > 461 root 76 0 3252K 2056K select 0:01 0.00% 0.00% sendmail > 35166 dl 8 0 1188K 868K nanslp 0:01 0.00% 0.00% vmstat > > > The port build is running at nice 0, but setiathome at nice 15 is > getting 75% of the CPU. Something unusual about this phase of the port > build is that it is using libtool, which must spawn a lot of processes, > because "last pid" in increasing by about 30 to 40 per second. The port > build should be pretty close to CPU bound because I see very litle disk > I/O. ULE Does some things on fork to try to prevent rapidly forking "interactive" threads from overwhelming the system with new non-interactive tasks. This is exactly the case with make or sh. It may be a little too aggressive. I will reproduce this scenario this weekend. Thanks for the effort that you've put into this. Cheers, Jeff > > When larger files are compiled so that individual processes hang around > for a longer period of time, I see setiathome drop down to about 11% of > the CPU. > > The machine in question is has a single Athlon XP processor and is > running rev 1.98 of sched_ule.c. > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 15:45:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8161016A4CF for ; Mon, 2 Feb 2004 15:45:57 -0800 (PST) Received: from figg.securenet.com.au (ns2.isecure.com.au [202.125.4.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id A986243D3F for ; Mon, 2 Feb 2004 15:45:54 -0800 (PST) (envelope-from carl@xena.IPAustralia.gov.au) Received: from iron.securenet.com.au (iron.isecure.com.au [202.125.4.94] (may be forged))i12Njr4D028508 for ; Tue, 3 Feb 2004 10:45:53 +1100 Received: (from uucp@localhost) by iron.securenet.com.au (8.12.6/8.12.6) id i12Njr0E008289 for ; Tue, 3 Feb 2004 10:45:53 +1100 (EST) Received: from nodnsquery(10.11.3.10) by iron.securenet.com.au via csmap (V6.0) id srcAAAUDaamq; Tue, 3 Feb 04 10:45:53 +1100 Received: from vmail.aipo.gov.au (localhost [127.0.0.1]) id i12NjqhY002423 for ; Tue, 3 Feb 2004 10:45:52 +1100 Received: from xena.aipo.gov.au (xena.aipo.gov.au [10.0.100.52]) by vmail.aipo.gov.au (8.12.6/8.12.6) with ESMTP id i12NjqZM094889 for ; Tue, 3 Feb 2004 10:45:52 +1100 (EST) (envelope-from carl@xena.IPAustralia.gov.au) Received: from xena.ipaustralia.gov.au (newton.aipo.gov.au [10.0.100.18]) by xena.aipo.gov.au (8.12.6/8.12.6) with ESMTP id i12NjpnK010438 for ; Tue, 3 Feb 2004 10:45:51 +1100 (EST) (envelope-from carl@xena.ipaustralia.gov.au) Message-ID: <401EE12F.4070005@xena.ipaustralia.gov.au> Date: Tue, 03 Feb 2004 10:45:51 +1100 From: Carl Makin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20031210 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 5-CURRENT on an IBM NAS 300G. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 23:45:57 -0000 Morning All, I've got an IBM NAS 300G which I've installed 5.2-RELEASE onto, then upgraded to CURRENT yesterday. It works very well if I disable ACPI upon boot, however it hangs at 'Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000" if I don't. Any clues on how to progress this further? What I'm really after is a way of switching the fans to low speed as at normal speed they are far too lound for a workgroup situation. Thanks, Carl. From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 15:53:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE2E616A4CE for ; Mon, 2 Feb 2004 15:53:31 -0800 (PST) Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E93E43D39 for ; Mon, 2 Feb 2004 15:53:30 -0800 (PST) (envelope-from root@techpc04.okladot.state.ok.us) Received: from notes9c.okladot.state.ok.us (notes9a.okladot.state.ok.us [10.36.36.31])RAA66422; Mon, 2 Feb 2004 17:53:29 -0600 Received: from techpc04.okladot.state.ok.us ([199.27.9.37]) by notes9c.okladot.state.ok.us (Lotus Domino Release 5.0.12) with ESMTP id 2004020217535156:510037 ; Mon, 2 Feb 2004 17:53:51 -0600 Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0) id D09185C1E; Mon, 2 Feb 2004 17:53:28 -0600 (CST) To: freebsd-current@freebsd.org From: "Paul Seniura" In-Reply-To: <20040202181010.GA89730@troutmask.apl.washington.edu> References: <20040128171448.D9EA85C34@techpc04.okladot.state.ok.us> <20040130210112.9EE7A5C34@techpc04.okladot.state.ok.us> <20040130221450.GA69755@troutmask.apl.washington.edu> <20040202162423.0752E5C36@techpc04.okladot.state.ok.us> Message-Id: <20040202235328.D09185C1E@techpc04.okladot.state.ok.us> Date: Mon, 2 Feb 2004 17:53:28 -0600 (CST) X-MIMETrack: Itemize by SMTP Server on Notes9c/ODOT(Release 5.0.12 |February 13, 2003) at 02/02/2004 05:53:51 PM,2003) at 02/02/2004 05:53:52 PM, Serialize complete at 02/02/2004 05:53:52 PM cc: Paul Seniura Subject: trap 9 with ULE also, but it did boot up all the way X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Seniura List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 23:53:32 -0000 ULE booted up all the way this time (first time!), albeit with the repeating ata1-slave lines. I could use the system for about 5 minutes before the trap 9 sprung. System was lightly-loaded as in my earlier msg on 4BSD (running links on a vt). It hit on the same instruction, slightly different addrs of course. "Stopped at atpic_handle_intr+0x4d: cmpl $0,0x4(%edi)" Both of these kernels were built with today's CTM bucket; I will test tomorrow's bucket then. From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 15:59:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F81916A4CE for ; Mon, 2 Feb 2004 15:59:12 -0800 (PST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B07243D45 for ; Mon, 2 Feb 2004 15:59:09 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from midget.dons.net.au (ppp33-156.lns1.adl1.internode.on.net [150.101.33.156])i12Nx6xC095081; Tue, 3 Feb 2004 10:29:07 +1030 (CST) Received: from chowder.gsoft.com.au (root@localhost.dons.net.au [127.0.0.1]) by midget.dons.net.au (8.12.9/8.12.9) with ESMTP id i12Nx25n018135; Tue, 3 Feb 2004 10:29:04 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: "David W. Hankins" , freebsd-current@freebsd.org Date: Tue, 3 Feb 2004 10:29:01 +1030 User-Agent: KMail/1.5.4 References: <200402021100.12106.doconnor@gsoft.com.au> <20040202173352.GA9816@isc.org> In-Reply-To: <20040202173352.GA9816@isc.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402031029.01379.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.26 (www . roaringpenguin . com / mimedefang) Subject: Re: dhclient can't get a DHCP lease.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 23:59:12 -0000 On Tuesday 03 February 2004 04:03, David W. Hankins wrote: > it would have been nice to have gotten a before-n-after on > /var/db/dhclient.leases. my only guess would be that yours was > somehow corrupted. Hmm, that sounds plausible :) > > DHCP server is FreeBSD with isc-dhcp3-3.0.1.r9 which hasn't changed for a > > while. > > just a side-note...if you had 'authoritative;' configured, it would send > a NAK upon the first REQ for an unknown address. this would send clients > back to init state much more rapidly than your experience. It is marked authoritative.. > my guess would be that after reaching the request timeout, dhclient entered > the address-selection loop (in dhclient's case, it picks the first one that > got ACK'd on the list and throws out all else), and since that NULL address > was the only lease and wasn't ACK'd, it exited the loop without picking a > lease. > > when that happens, dhclient goes back to init state to get new leases. Ahh OK. > if 'all morning' was an extended period, then i presume you were > interrupting dhclient when you realized it was not working right, or > have configured a large reboot timeout in etc/dhclient.conf. > > the default reboot timeout is 10 seconds. I haven't set a longer timeout, and I did wait longer than 10 seconds, but less than a minute or so.. Guess I probably should have just left it. Thanks for the information. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 15:59:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0B1D16A4CE; Mon, 2 Feb 2004 15:59:47 -0800 (PST) Received: from triangle.rtp.FreeBSD.Org (triangle.rtp.FreeBSD.org [192.58.184.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D43343D39; Mon, 2 Feb 2004 15:59:46 -0800 (PST) (envelope-from des+tinderbox@freebsd.org) Received: from 9ball.rtp.freebsd.org (9ball.rtp.FreeBSD.Org [172.21.1.6]) i12NxjLO089300; Mon, 2 Feb 2004 18:59:45 -0500 (EST) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by 9ball.rtp.freebsd.org (8.12.9/8.12.9/Submit) id i12Nxiru027606; Mon, 2 Feb 2004 18:59:44 -0500 (EST) (envelope-from des+tinderbox@freebsd.org) Date: Mon, 2 Feb 2004 18:59:44 -0500 (EST) Message-Id: <200402022359.i12Nxiru027606@9ball.rtp.freebsd.org> X-Authentication-Warning: 9ball.rtp.freebsd.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, ia64@freebsd.org Precedence: bulk Subject: [releng_5_2 tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 23:59:47 -0000 TB --- 2004-02-02 22:57:07 - tinderbox 2.2 running on 9ball.rtp.freebsd.org TB --- 2004-02-02 22:57:07 - starting RELENG_5_2 tinderbox run for ia64/ia64 TB --- 2004-02-02 22:57:07 - cvsupping the source tree TB --- /home/des/bin/cvsup -1 -g -L 2 /home/des/tinderbox/RELENG_5_2/ia64/ia64/supfile TB --- 2004-02-02 22:57:52 - building world TB --- cd /home/des/tinderbox/RELENG_5_2/ia64/ia64/src TB --- /usr/bin/make -B buildworld >>> 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.. [...] cc -O -pipe -o indent indent.o io.o lexi.o parse.o pr_comment.o args.o gzip -cn /vol/vol0/users/des/tinderbox/RELENG_5_2/ia64/ia64/src/usr.bin/indent/indent.1 > indent.1.gz ===> usr.bin/ipcrm cc -O -pipe -c /vol/vol0/users/des/tinderbox/RELENG_5_2/ia64/ia64/src/usr.bin/ipcrm/ipcrm.c cc -O -pipe -o ipcrm ipcrm.o gzip -cn /vol/vol0/users/des/tinderbox/RELENG_5_2/ia64/ia64/src/usr.bin/ipcrm/ipcrm.1 > ipcrm.1.gz ===> usr.bin/ipcs make: don't know how to make /home/des/tinderbox/RELENG_5_2/ia64/ia64/obj/ia64/vol/vol0/users/des/tinderbox/RELENG_5_2/ia64/ia64/srΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠΠ. Stop *** Error code 2 Stop in /vol/vol0/users/des/tinderbox/RELENG_5_2/ia64/ia64/src/usr.bin. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/RELENG_5_2/ia64/ia64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/RELENG_5_2/ia64/ia64/src. *** Error code 1 Stop in /vol/vol0/users/des/tinderbox/RELENG_5_2/ia64/ia64/src. TB --- 2004-02-02 23:59:44 - TB --- /usr/bin/make returned exit code 1 TB --- 2004-02-02 23:59:44 - TB --- ERROR: failed to build world TB --- 2004-02-02 23:59:44 - tinderbox aborted From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 16:07:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D47E16A4CE for ; Mon, 2 Feb 2004 16:07:21 -0800 (PST) Received: from clever.eusc.inter.net (clever.eusc.inter.net [213.73.101.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A334443D39 for ; Mon, 2 Feb 2004 16:07:19 -0800 (PST) (envelope-from plexus@snafu.de) Received: from pd9e0ef85.dip.t-dialin.net ([217.224.239.133] helo=snafu.de) by clever.eusc.inter.net with asmtp (Exim 3.36 #4) id 1Ano62-0006Bn-00; Tue, 03 Feb 2004 01:07:18 +0100 Message-ID: <401EE633.30902@snafu.de> Date: Tue, 03 Feb 2004 01:07:15 +0100 From: Oliver Fischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040121 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Panic on 5.2R X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 00:07:21 -0000 I got a kernel panic some minutes ago. I think it is related to the ATA subsystem. Feb 3 00:49:15 warpgondel2 kernel: wakeup from sleeping state (slept 00:31:15) Feb 3 00:49:15 warpgondel2 kernel: ata0: resetting devices .. Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=28860927 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=28860991 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=30741919 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=36384799 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=47294495 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=47294527 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=47295135 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=47295359 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=47296415 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=47296447 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=47296479 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=49551519 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=51810495 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=54818239 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=6064671 Feb 3 00:49:15 warpgondel2 kernel: ad0: FAILURE - WRITE_MUL status=51 error=4 LBA=22465695 Feb 3 00:49:15 warpgondel2 kernel: done Feb 3 00:49:15 warpgondel2 kernel: ata1: resetting devices .. Feb 3 00:49:15 warpgondel2 kernel: done Feb 3 00:49:15 warpgondel2 kernel: ums0: at uhub0 port 1 (addr 2) disconnected Feb 3 00:49:15 warpgondel2 kernel: ums0: detached Feb 3 00:49:16 warpgondel2 kernel: ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1 Feb 3 00:49:16 warpgondel2 kernel: ums0: 5 buttons and Z dir. Feb 3 00:49:17 warpgondel2 moused: unable to open /dev/ums0: Device busy Feb 3 00:50:41 warpgondel2 syslogd: kernel boot file is /boot/kernel/kernel Feb 3 00:50:41 warpgondel2 kernel: panic: initiate_write_inodeblock_ufs1: already started Feb 3 00:50:42 warpgondel2 kernel: Feb 3 00:50:42 warpgondel2 kernel: syncing disks, buffers remaining... panic: bremfree: removing a buffer not on a queue Feb 3 00:50:42 warpgondel2 kernel: Uptime: 32m18s From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 16:19:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFE8516A4CE for ; Mon, 2 Feb 2004 16:19:40 -0800 (PST) Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id B859343D2F for ; Mon, 2 Feb 2004 16:19:38 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.121.140] (port=52564 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.23:1) id 1AnoHx-000FFt-Kt for freebsd-current@freebsd.org; Tue, 03 Feb 2004 08:19:37 +0800 Received: from localhost (localhost [127.0.0.1]) by chihiro.leafy.idv.tw (Postfix) with ESMTP id EA97B709 for ; Tue, 3 Feb 2004 08:19:36 +0800 (CST) Received: from chihiro.leafy.idv.tw ([127.0.0.1]) by localhost (chihiro.leafy.idv.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 94715-06 for ; Tue, 3 Feb 2004 08:19:17 +0800 (CST) Received: by chihiro.leafy.idv.tw (Postfix, from userid 1000) id 66F934FE; Tue, 3 Feb 2004 08:19:17 +0800 (CST) Date: Tue, 3 Feb 2004 08:19:17 +0800 From: leafy To: freebsd-current@freebsd.org Message-ID: <20040203001917.GA93197@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: by amavisd-new at leafy.idv.tw Subject: buildworld failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 00:19:40 -0000 cc -O -pipe -march=pentium4 -DRESCUE -c /usr/src/sbin/mount/mount.c /usr/src/sbin/mount/mount.c: In function `prmount': /usr/src/sbin/mount/mount.c:531: error: structure has no member named `owner' *** Error code 1 Stop in /usr/src/sbin/mount. *** Error code 1 Stop in /usr/obj/usr/src/rescue/rescue. *** Error code 1 Stop in /usr/src/rescue/rescue. *** Error code 1 Stop in /usr/src/rescue. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 17:13:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A86BB16A4CE for ; Mon, 2 Feb 2004 17:13:15 -0800 (PST) Received: from msgdirector2.onetel.net.uk (msgdirector2.onetel.net.uk [212.67.96.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD03143D31 for ; Mon, 2 Feb 2004 17:13:13 -0800 (PST) (envelope-from matt@mattsnetwork.co.uk) Received: from central.local.mattsnetwork.co.uk (213-78-97-93.friaco.onetel.net.uk [213.78.97.93])3.3.6-GR) with ESMTP id AVA77850; Tue, 3 Feb 2004 01:13:10 GMT Received: from workstation1.local.mattsnetwork.co.uk (workstation1.local.mattsnetwork.co.uk [192.168.0.140])i131CfHt040946 for ; Tue, 3 Feb 2004 01:13:00 GMT (envelope-from matt@mattsnetwork.co.uk) From: Matt Dawson To: freebsd-current@freebsd.org Date: Tue, 3 Feb 2004 01:10:48 +0000 User-Agent: KMail/1.5.4 References: <200402021549.i12Fn1Nu078057@repoman.freebsd.org> <1075754712.697.3.camel@kaiser.sig11.org> In-Reply-To: <1075754712.697.3.camel@kaiser.sig11.org> MIME-Version: 1.0 Content-Description: clearsigned data Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402030110.53973.matt@mattsnetwork.co.uk> X-MattsNetwork-Mailcheck-Information: Your god for today is available at admin@mattsnetwork.co.uk X-MattsNetwork-Mailcheck: Found to be clean X-MattsNetwork-Mailcheck-SpamCheck: not spam (whitelisted), SpamAssassin (score=0.068, required 5, AWL 0.07) Subject: Re: cvs commit: src/sys/dev/ata ata-lowlevel.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 01:13:15 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 2 February 2004 8:45 pm, Matteo Riondato wrote: > This commit didn't fix the problem here. And this time I don't even get > the warnings "ata1-master: TIMEOUT - SETFEATURES SET TRANSFER MODE". > Did anyone get his liteon recognized ? Nope, just tried again after a cvsup and still hanging at the same point. I assume the commit is the same as the diff posted earlier. Interestingly, I note that with verbose boot logging enabled, the point where it fails when the ATA channel transfer mode is set also shows up my LiteOn as being on a 40 conductor cable. It's not. It and the master drive, a Pioneer DRV-104 are on an 80 conductor as recommended for all UDMA devices. The Pioneer's entry on ata1-master shows correctly an 80 conductor cable. How can this be possible? If both drives are on the same cable and one shows 80 and the other shows 40 conductors, surely something is a bit screwy? Not sure if this has any bearing, but I thought I'd point it out. - -- Matt Dawson. matt@mattsnetwork.co.uk matt@shihtzucentral.co.uk NIC Handle MD2657-RIPE OpenNIC Handle M_D9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAHvUcAmT9uY8euiIRAl2vAJ90tbi1HxRn2bLAFw6g2OuL15XBkACeJf/C WrNQtzzD55nNFkeJ1OA/KF4= =1TtK -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 19:33:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F218916A4CE for ; Mon, 2 Feb 2004 19:33:03 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-67-119-53-122.dsl.lsan03.pacbell.net [67.119.53.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 386FA43D39 for ; Mon, 2 Feb 2004 19:33:03 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D7ACA66D66; Mon, 2 Feb 2004 19:33:02 -0800 (PST) Date: Mon, 2 Feb 2004 19:33:02 -0800 From: Kris Kennaway To: current@FreeBSD.org Message-ID: <20040203033302.GA95799@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: world broken in mount X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 03:33:04 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline cc -O -pipe -DRESCUE -c /a/asami/portbuild/i386/5/src/sbin/mount/mount.c /a/asami/portbuild/i386/5/src/sbin/mount/mount.c: In function `prmount': /a/asami/portbuild/i386/5/src/sbin/mount/mount.c:531: error: structure has no member named `owner' *** Error code 1 Anyone else seeing this? Kris --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAHxZuWry0BWjoQKURAs59AKC4rxXNMpQzk1EKdVveIPx7wzN36gCg46qk h9F32NzNI3QLfgp8IaZLSp4= =g6i7 -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 19:35:42 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4812516A4CE for ; Mon, 2 Feb 2004 19:35:42 -0800 (PST) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFED743D39 for ; Mon, 2 Feb 2004 19:35:39 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i133WWsm080933; Mon, 2 Feb 2004 22:32:32 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Kris Kennaway In-Reply-To: <20040203033302.GA95799@xor.obsecurity.org> References: <20040203033302.GA95799@xor.obsecurity.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-6gOy+dXQur2ER36sFXGP" Organization: MarcusCom, Inc. Message-Id: <1075779336.47782.6.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 02 Feb 2004 22:35:37 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com cc: current@freebsd.org Subject: Re: world broken in mount X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 03:35:42 -0000 --=-6gOy+dXQur2ER36sFXGP Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-02-02 at 22:33, Kris Kennaway wrote: > cc -O -pipe -DRESCUE -c /a/asami/portbuild/i386/5/src/sbin/mount/mount.= c > /a/asami/portbuild/i386/5/src/sbin/mount/mount.c: In function `prmount': > /a/asami/portbuild/i386/5/src/sbin/mount/mount.c:531: error: structure ha= s no member named `owner' > *** Error code 1 >=20 > Anyone else seeing this? Yeah, looks like there's a typo in mount.c. ``owner'' should read ``f_owner'' I think. Joe >=20 > Kris --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-6gOy+dXQur2ER36sFXGP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAHxcIb2iPiv4Uz4cRAqllAKCWe9o8TdgsrBOL7BbjtGDfWhPp1gCeNtgR x8+/wVtmc78nyVqRyKkDSm0= =0IUN -----END PGP SIGNATURE----- --=-6gOy+dXQur2ER36sFXGP-- From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 19:47:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD77116A4CE for ; Mon, 2 Feb 2004 19:47:56 -0800 (PST) Received: from seed.net.tw (sn14.seed.net.tw [139.175.54.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C5A243D48 for ; Mon, 2 Feb 2004 19:47:55 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.121.140] (port=54188 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.23:1) id 1AnrXV-000ECc-Va for freebsd-current@freebsd.org; Tue, 03 Feb 2004 11:47:54 +0800 Received: from localhost (localhost [127.0.0.1]) by chihiro.leafy.idv.tw (Postfix) with ESMTP id 571DAC4 for ; Tue, 3 Feb 2004 11:47:53 +0800 (CST) Received: from chihiro.leafy.idv.tw ([127.0.0.1]) by localhost (chihiro.leafy.idv.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 39960-05 for ; Tue, 3 Feb 2004 11:47:34 +0800 (CST) Received: by chihiro.leafy.idv.tw (Postfix, from userid 1000) id AC43335; Tue, 3 Feb 2004 11:47:34 +0800 (CST) Date: Tue, 3 Feb 2004 11:47:34 +0800 From: leafy To: freebsd-current@freebsd.org Message-ID: <20040203034734.GA44650@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org References: <20040203033302.GA95799@xor.obsecurity.org> <1075779336.47782.6.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <1075779336.47782.6.camel@shumai.marcuscom.com> User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: by amavisd-new at leafy.idv.tw Subject: Re: world broken in mount X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 03:47:56 -0000 On Mon, Feb 02, 2004 at 10:35:37PM -0500, Joe Marcus Clarke wrote: > > Anyone else seeing this? > > Yeah, looks like there's a typo in mount.c. ``owner'' should read > ``f_owner'' I think. > > Joe I saw this too and sent patch to jdp@ Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 19:58:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CF3116A4CE for ; Mon, 2 Feb 2004 19:58:18 -0800 (PST) Received: from smtp1.andrew.cmu.edu (SMTP1.andrew.cmu.edu [128.2.10.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73AC643D1D for ; Mon, 2 Feb 2004 19:58:14 -0800 (PST) (envelope-from dpapasia@andrew.cmu.edu) Received: from DAMNLEFTIST.RES.cmu.edu (DAMNLEFTIST.RES.cmu.edu [128.2.164.41]) (user=dpapasia mech=GSSAPI (0 bits))i133wD5M027033 for ; Mon, 2 Feb 2004 22:58:13 -0500 Date: Mon, 2 Feb 2004 22:58:23 -0500 (EST) From: Daniel Papasian X-X-Sender: dpapasia@damnleftist.res.cmu.edu To: freebsd-current@freebsd.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: panic: bremfree: removing a buffer not a queue (WAS: Re:5.2-RELEASE: Possible bug in filesystem code?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 03:58:18 -0000 On Wed, 14 Jan 2004, Daniel Papasian wrote: > I really hate to potentially create some distress over something that may > be very difficult to repeat, but... But, alas, I've gotten it to repeat. It panics because bp->b_lock->lk_sharecount + bp->b_lock->lk_exclusivecount = 1, which is apparently too low, but if someone has any more insight it'd be appreciated. Thanks, Dan ------------------ >From the crashdump: ------------------ GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... panic: ffs_blkfree: freeing free block panic messages: --- panic: ffs_blkfree: freeing free block syncing disks, buffers remaining... panic: bremfree: removing a buffer not on a queue Uptime: 13m53s Dumping 511 MB 16 32 48 64 80 96 112 128 144 160 176 192 208[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 224[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 240[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 --- Reading symbols from /boot/kernel/splash_bmp.ko...done. Loaded symbols for /boot/kernel/splash_bmp.ko Reading symbols from /boot/kernel/bktr.ko...done. Loaded symbols for /boot/kernel/bktr.ko Reading symbols from /boot/kernel/bktr_mem.ko...done. Loaded symbols for /boot/kernel/bktr_mem.ko Reading symbols from /boot/kernel/nvidia.ko...done. Loaded symbols for /boot/kernel/nvidia.ko Reading symbols from /usr/src/sys/i386/compile/DAMNLEFTIST/modules/usr/src/sys/modules/linux/linux.ko.debug...done. Loaded symbols for /usr/src/sys/i386/compile/DAMNLEFTIST/modules/usr/src/sys/modules/linux/linux.ko.debug Reading symbols from /usr/src/sys/i386/compile/DAMNLEFTIST/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done. Loaded symbols for /usr/src/sys/i386/compile/DAMNLEFTIST/modules/usr/src/sys/modules/acpi/acpi.ko.debug Reading symbols from /usr/src/sys/i386/compile/DAMNLEFTIST/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug...done. Loaded symbols for /usr/src/sys/i386/compile/DAMNLEFTIST/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug #0 doadump () at ../../../kern/kern_shutdown.c:240 240 dumping++; (kgdb) bt #0 doadump () at ../../../kern/kern_shutdown.c:240 #1 0xc0537876 in boot (howto=260) at ../../../kern/kern_shutdown.c:372 #2 0xc0537ae3 in panic () at ../../../kern/kern_shutdown.c:550 #3 0xc0578917 in bremfreel (bp=0xced63cb8) at ../../../kern/vfs_bio.c:647 #4 0xc0578861 in bremfree (bp=0xced63cb8) at ../../../kern/vfs_bio.c:629 #5 0xc0581811 in vop_stdfsync () #6 0xc0501d40 in spec_fsync () #7 0xc0501268 in spec_vnoperate () #8 0xc063e879 in ffs_sync () #9 0xc058aece in sync () #10 0xc05374cc in boot (howto=256) at ../../../kern/kern_shutdown.c:281 #11 0xc0537ae3 in panic () at ../../../kern/kern_shutdown.c:550 #12 0xc06261d8 in ffs_blkfree () #13 0xc06365a4 in indir_trunc () #14 0xc0636025 in handle_workitem_freeblocks () #15 0xc06330f0 in process_worklist_item () #16 0xc0632e20 in softdep_process_worklist () #17 0xc0588438 in sched_sync () at ../../../kern/vfs_subr.c:1766 #18 0xc0525c6e in fork_exit () (kgdb) up 3 #3 0xc0578917 in bremfreel (bp=0xced63cb8) at ../../../kern/vfs_bio.c:647 647 panic("bremfree: removing a buffer not on a queue"); (kgdb) list 642 KASSERT(BUF_REFCNT(bp) == 1, ("bremfree: bp %p not locked",bp)); 643 TAILQ_REMOVE(&bufqueues[bp->b_qindex], bp, b_freelist); 644 bp->b_qindex = QUEUE_NONE; 645 } else { 646 if (BUF_REFCNT(bp) <= 1) 647 panic("bremfree: removing a buffer not on a queue"); 648 } 649 650 /* 651 * Fixup numfreebuffers count. If the buffer is invalid or not (kgdb) print *bp $2 = {b_io = {bio_cmd = 2, bio_dev = 0xc49e0500, bio_disk = 0x0, bio_offset = 12910477312, bio_bcount = 16384, bio_data = 0xd25d6000 "", bio_flags = 4, bio_error = 0, bio_resid = 0, bio_done = 0xc057c444 , bio_driver1 = 0x0, bio_driver2 = 0x0, bio_caller1 = 0x0, bio_caller2 = 0xced63cb8, bio_queue = {tqe_next = 0x0, tqe_prev = 0x0}, bio_attribute = 0x0, bio_from = 0x0, bio_to = 0x0, bio_length = 0, bio_completed = 0, bio_children = 10, bio_inbed = 0, bio_parent = 0x0, bio_t0 = {sec = 0, frac = 0}, bio_task = 0, bio_task_arg = 0x0, bio_pblkno = 0}, b_op = 0xc0723888, b_magic = 280038160, b_iodone = 0, b_blkno = 25215776, b_offset = 12910477312, b_vnbufs = {tqe_next = 0xced66e90, tqe_prev = 0xc4a30048}, b_left = 0x0, b_right = 0xced66e90, b_vflags = 1, b_freelist = {tqe_next = 0xced641e0, tqe_prev = 0xced7a2f0}, b_qindex = 0, b_flags = 536871072, b_xflags = 17 '\021', b_lock = { lk_interlock = 0xc0746e2c, lk_flags = 1024, lk_sharecount = 0, lk_waitcount = 0, lk_exclusivecount = 1, lk_prio = 80, lk_wmesg = 0xc06d94b2 "bufwait", lk_timo = 0, lk_lockholder = 0xc1d22b40, lk_newlock = 0x0}, b_bufsize = 16384, b_runningbufspace = 0, b_kvabase = 0xd25d6000 "", b_kvasize = 16384, b_lblkno = 25215776, b_vp = 0xc4a30000, b_object = 0xc1038948, b_dirtyoff = 0, b_dirtyend = 0, b_rcred = 0x0, b_wcred = 0x0, b_saveaddr = 0xd25d6000, b_pager = { pg_reqpage = 0}, b_cluster = {cluster_head = {tqh_first = 0xced64028, tqh_last = 0xcebe02e8}, cluster_entry = {tqe_next = 0xced64028, tqe_prev = 0xcebe02e8}}, b_pages = {0xc1116688, 0xc11208d0, 0xc18c2b18, 0xc18d2760, 0x0 }, b_npages = 4, b_dep = {lh_first = 0xc4db7ec0}} (kgdb) print bp->b_lock $3 = {lk_interlock = 0xc0746e2c, lk_flags = 1024, lk_sharecount = 0, lk_waitcount = 0, lk_exclusivecount = 1, lk_prio = 80, lk_wmesg = 0xc06d94b2 "bufwait", lk_timo = 0, lk_lockholder = 0xc1d22b40, lk_newlock = 0x0} ----------------------------------------------------- dmesg output follows ----------------------------------------------------- Copyright (c) 1992-2004 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 5.2-RELEASE #2: Tue Jan 13 10:02:19 EST 2004 dpapasia@damnleftist.res.cmu.edu:/usr/src/sys/i386/compile/DAMNLEFTIST Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a4b000. Preloaded elf module "/boot/kernel/splash_bmp.ko" at 0xc0a4b26c. Preloaded splash_image_data "/boot/splash.bmp" at 0xc0a4b31c. Preloaded elf module "/boot/kernel/bktr.ko" at 0xc0a4b36c. Preloaded elf module "/boot/kernel/bktr_mem.ko" at 0xc0a4b418. Preloaded elf module "/boot/kernel/nvidia.ko" at 0xc0a4b4c8. Preloaded elf module "/boot/kernel/linux.ko" at 0xc0a4b574. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a4b620. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) Processor (1394.08-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x644 Stepping = 4 Features=0x183f9ff AMD Features=0xc0440000 real memory = 536805376 (511 MB) avail memory = 511758336 (488 MB) bktr_mem: memory holder loaded Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 8 entries at 0xc00f7780 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 2 INTD is routed to irq 12 pcib0: slot 2 INTA is routed to irq 11 pcib0: slot 3 INTA is routed to irq 11 pcib0: slot 9 INTA is routed to irq 5 pcib0: slot 11 INTA is routed to irq 12 pcib0: slot 11 INTA is routed to irq 12 pcib0: slot 15 INTA is routed to irq 12 agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib0: slot 1 INTA is routed to irq 5 pcib1: slot 0 INTA is routed to irq 5 nvidia0: mem 0xc0000000-0xc7ffffff,0xce000000-0xceffffff irq 5 at device 0.0 on pci1 isab0: at device 2.0 on pci0 isa0: on isab0 ohci0: mem 0xcfffe000-0xcfffefff irq 12 at device 2.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xcffff000-0xcfffffff irq 11 at device 2.3 on pci0 usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. atapci0: port 0xff00-0xff0f at device 2.5 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] sis0: port 0xdc00-0xdcff mem 0xcfffd000-0xcfffdfff irq 11 at device 3.0 on pci0 sis0: Ethernet address: 00:07:95:57:35:cc miibus0: on sis0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xd800-0xd83f irq 5 at device 9.0 on pci0 pcm0: bktr0: mem 0xcddfe000-0xcddfefff irq 12 at device 11.0 on pci0 bktr0: AVer Media TV/FM, Philips NTSC tuner. pci0: at device 11.1 (no driver attached) fwohci0: mem 0xcfff8000-0xcfffbfff,0xcfffc800-0xcfffcfff irq 12 at device 15.0 on pci0 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 08:00:28:56:00:00:00:1f fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 0a:00:28:00:00:1f fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: cmd 3 failed at out byte 1 of 3 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 fdc0: cmd 3 failed at out byte 1 of 3 orm0:
DestinationGatewayFlagsRefsUseNetifExpire
default 192.168.1.1 UGS 0 0 rl0
localhost localhost UH 1 112 lo0
192.168.1 link#1 UC 0 0 rl0
192.168.1.1 XX:XX:XX:XX:XX:XX UHLW 1 4 rl0 1056
192.168.1.2 localhost UGHS 0 0 lo0
> On my 5.1 system, there is a little c by the flags for the router: > > UGSc > > which corresponds to > > RFT_PRCLONING Protocol-specified gnerate new routes on use > > so I tried to somehow force this c flag: > > route -v change default -cloning > U: inet 0.0.0.0; inet 0.0.0.0; RTM_CHANGE: Change Metrics or flags: len 112, > pid: 0, seq 1, errno 0, flags: > locks: inits: > sockaddrs: > default default > change net default > > but it doesn't seem to put the little c in the flags list, or change the > status of the problem. > > I'm probably overlooking something simple, but my clue is limited to that > expressed in this message. So if someone with clue could help me I would be > thankful. > > Note, that i have no problems setting up network interfaces with the same > router on another box running 5.1R, it only seems to be this new box with > 5.2R that is having trouble. Is suspect it has something to do with 5.2R. OK so this is pretty wierd. I solved this later by putting problem was wierd but resolved by putting: nameserver x.x.x.x in /etc/resolv.conf I didn't know that just touching it would work like for the other people. So I don't know, but there seems to be a couple of wierd problems with the new 5.2R. Any thoughts? iooi From owner-freebsd-current@FreeBSD.ORG Thu Feb 5 09:59:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E47216A4CE for ; Thu, 5 Feb 2004 09:59:27 -0800 (PST) Received: from smtp1.powertech.no (smtp1.powertech.no [195.159.0.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB05A43D3F for ; Thu, 5 Feb 2004 09:59:25 -0800 (PST) (envelope-from frode@nordahl.net) Received: from [195.159.148.100] (samwise.xu.nordahl.net [195.159.148.100]) by smtp1.powertech.no (Postfix) with ESMTP id 3737782F0 for ; Thu, 5 Feb 2004 18:59:24 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-Id: <0703C4CC-5805-11D8-951F-000A95A9A574@nordahl.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: current@freebsd.org From: Frode Nordahl Date: Thu, 5 Feb 2004 18:59:22 +0100 X-Mailer: Apple Mail (2.612) Subject: Re: rpc.lockd(8) seg faults on 5.2-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 17:59:27 -0000 Hello, Got an update on the rpc.lockd "hang" issue. Whenever I observe it does this, I try to kill it off using kill -SEGV before restarting it. In one of the dumps I observed this: (gdb) print *blockedlocklist_head->lh_first $1 = {nfslocklist = {le_next = 0x8099000, le_prev = 0x8099000}, filehandle = { fh_fsid = {val = {1074502253, -394432445}}, fh_fid = {fid_len = 12, fid_reserved = 0, fid_data = "?\\@\0r?\202[\0\0\0\0\0\0\0"}}, addr = 0x80751e0, client = {exclusive = 1, svid = 19869, oh = {n_len = 24, n_bytes = 0x8056520 "19869@mail7.powertech.no", '?' ...}, l_offset = 0, l_len = 0}, client_cookie = {n_len = 4, n_bytes = 0x8075290 "?\221K\001", '?' , "udp6"}, client_name = "mail7.powertech.no", '\0' , nsm_status = 0, status = 0, flags = 6, blocking = 0, locker = 0, fd = 0} (gdb) Looking at retry_blockingfilelocklist(), this kind of data in blockedlocklist_head would most likely make it loop forever. I simulated this behaviour in my own program as well. But how did le_next end up == le_prev? I also found this in send_granted(): lockd_lock.c:2161 debuglog("About to send granted on blocked lock\n"); sleep(1); debuglog("Blowing off return send\n"); Anyone know what sleep(1) is good for here? Mvh, Frode From owner-freebsd-current@FreeBSD.ORG Thu Feb 5 09:59:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DEDD16A4D1 for ; Thu, 5 Feb 2004 09:59:48 -0800 (PST) Received: from nexlab.it (danex.i-m-c.it [213.198.155.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 5533143D53 for ; Thu, 5 Feb 2004 09:59:45 -0800 (PST) (envelope-from rionda@gufi.org) Received: (qmail 13507 invoked from network); 5 Feb 2004 17:59:44 -0000 Received: from host1-47.pool80182.interbusiness.it (HELO ?80.182.47.1?) (80.182.47.1) by 0 with SMTP; 5 Feb 2004 17:59:44 -0000 From: Matteo Riondato To: freebsd-current@freebsd.org In-Reply-To: <200402051729.39751.matt@mattsnetwork.co.uk> References: <200401290057.00257.vkushnir@Alfacom.net> <1075386916.980.4.camel@kaiser.sig11.org> <200402051729.39751.matt@mattsnetwork.co.uk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nVFLTmTipyA0970XqJD4" Message-Id: <1076003978.718.3.camel@kaiser.sig11.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 05 Feb 2004 18:59:38 +0100 Subject: Re: ATA still broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rionda@gufi.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 17:59:48 -0000 --=-nVFLTmTipyA0970XqJD4 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-02-05 18:29, Matt Dawson wrote: > On Thursday 29 January 2004 2:35 pm, Matteo Riondato wrote: >=20 > > I have a LITE-ON LTR-48125W, that doesn't work but used to. Perhaps I > > can test patches, if you like. >=20 > Try putting a CD-ROM in the drive and then booting with the new kernel (a= =20 > pressed type or a burned CD-R with data on it). Bizarre, but it works. I=20 > wonder why? Uh..that's true.. Thanks for the suggestion. --=20 Rionda aka Matteo Riondato G.U.F.I Staff Member (http://www.gufi.org) BSD-FAQ-it Main Developer (http://www.gufi.org/~rionda) GPG key at: http://www.riondabsd.net/riondagpg.asc Sent from: kaiser.sig11.org running FreeBSD-5.2-CURRENT --=-nVFLTmTipyA0970XqJD4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAIoSK2Mp4pR7Fa+wRAk1yAKC2Cm4hrEAlYwVpEWJuaP8sVv+tUwCfW5u5 4g7txLkGYOog6/2rW8dth64= =akkW -----END PGP SIGNATURE----- --=-nVFLTmTipyA0970XqJD4-- From owner-freebsd-current@FreeBSD.ORG Thu Feb 5 10:01:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1AC916A4D3; Thu, 5 Feb 2004 10:00:59 -0800 (PST) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1342B43D5D; Thu, 5 Feb 2004 10:00:55 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])i15GJn5O006558; Fri, 6 Feb 2004 03:19:49 +1100 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i15GJlt4021778; Fri, 6 Feb 2004 03:19:47 +1100 Date: Fri, 6 Feb 2004 03:19:46 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Ruslan Ermilov In-Reply-To: <20040205151425.GA18523@FreeBSD.org.ua> Message-ID: <20040206030956.F11456@gamplex.bde.org> References: <20040205091634.GC13932@FreeBSD.org.ua> <20040206012805.N8113@gamplex.bde.org> <20040205151425.GA18523@FreeBSD.org.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@FreeBSD.org Subject: Re: Very long SRCS list with unusually long src/ prefix X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 18:01:00 -0000 On Thu, 5 Feb 2004, Ruslan Ermilov wrote: > On Fri, Feb 06, 2004 at 01:40:45AM +1100, Bruce Evans wrote: > > On Thu, 5 Feb 2004, Ruslan Ermilov wrote: > [...] > > % +.for f in ${DPSRCS:M*.[cS]} ${DPSRCS:M*.cc} ${DPSRCS:M*.C} ${DPSRCS:M*.cpp} \ > > % + ${DPSRCS:M*.cxx} ${DPSRCS:M*.m} > > % +_mkdep_${f}: ${f} > > % + @echo ${.ALLSRC} > > % +.endfor > > > > This seems to run echo once for each file separately. It should be deemed > > inefficient :-). > > > But that's what this patch basically does: it splits possibly very > long ${.ALLSRC} list into pieces. It's very inefficient only in > traditional mode. Run this with and without -j1 to see the diff: > > : COUNT!= jot 1000 > : > : all: > : .for foo in ${COUNT} > : @echo $$$$ >/dev/null > : .endfor That is slow too. I get 12.12 seconds with make, 2.36 with make -j1, 1.37 with a shell loop and bash-1, 1.35 with a shell loop and /bin/sh, and 0.0042 with jot 1000 >/dev/null. I wonder about all those little dependencies too. make already takes a noticeable amount of time to handle large subdirs (here it takes 0.48 seconds for a null "make depend"). > > % ${DEPENDFILE}: ${DPSRCS} > > % rm -f ${DEPENDFILE} > > % .if !empty(DPSRCS:M*.[cS]) > > % - ${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} \ > > % - ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BID]*} \ > > % - ${.ALLSRC:M*.[cS]} > > % + (cd ${.CURDIR}; ${MAKE} _mkdep_cS) | xargs env \ > > % + ${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} \ > > % + ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BID]*} > > > > make uses a real shell, so the env shouldn't be needed. > > > $ echo foo.c | xargs CC=cc mkdep > xargs: CC=cc: No such file or directory $ echo foo.c | CC=cc xargs mkdep Bruce From owner-freebsd-current@FreeBSD.ORG Thu Feb 5 10:08:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0D0916A4CE for ; Thu, 5 Feb 2004 10:08:12 -0800 (PST) Received: from mail-in.m-online.net (mail-in.m-online.net [62.245.150.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9420F43D54 for ; Thu, 5 Feb 2004 10:08:11 -0800 (PST) (envelope-from h@schmalzbauer.de) Received: from mail.m-online.net (svr14.m-online.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id 5B0251DFF7 for ; Thu, 5 Feb 2004 19:08:10 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (ppp-82-135-0-185.mnet-online.de [82.135.0.185]) by mail.m-online.net (Postfix) with ESMTP id 281274366E for ; Thu, 5 Feb 2004 19:08:10 +0100 (CET) From: Harald Schmalzbauer Date: Thu, 5 Feb 2004 19:08:09 +0100 User-Agent: KMail/1.5.4 To: freebsd-current@freebsd.org X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_JaoIAZJhicy+pus"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200402051908.09836@harrymail> Subject: Fwd: Re: How to calculate bsdlabel size X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 18:08:13 -0000 --Boundary-02=_JaoIAZJhicy+pus Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline Hi all, since I got no answer on questions@ I' mforwarding it to current@, the syst= em=20 is a 5.2.1-RC =2D--------- Forwarded Message ---------- On Wednesday 04 February 2004 21:56, Danny Pansters wrote: > On Wednesday 04 February 2004 21:31, Harald Schmalzbauer wrote: > > Hi all, > > > > I manually created disklabels with a size number of 10485760. > > I wanted to have 5 GigaByte big labels, so 5*1024*1024*1024/512=3D10485= 760. > > Now after doing a newfs and mounting the new label, df -h reports a size > > of 4.8GB. > > Can someone please enlighten me? > > > > Thanks, > > > > -Harry > > Per default, 5% of the space is reserved for root, so that in the worse > case you can always write at least *something* to it as root. When running > out of disk space you can actually get a 'df' of 106% or so because of > this. It's a FAQ. But it's not my problem. What you mean results in limited available space, but doesn't have any influence on Size summary. Btw I did a newfs with -m 0 so it can't be the reaseon. =2DHarry > HTH > > Dan =2D------------------------------------------------------ --Boundary-02=_JaoIAZJhicy+pus Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAIoaJBylq0S4AzzwRAgiMAJ9cyoHs6gHwnZaQ7CweQbzXHPuNMQCfaXQI XQr7yudGJjHyjJzN0HxOb6w= =GiPN -----END PGP SIGNATURE----- --Boundary-02=_JaoIAZJhicy+pus-- From owner-freebsd-current@FreeBSD.ORG Thu Feb 5 10:08:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7E8116A4CE; Thu, 5 Feb 2004 10:08:23 -0800 (PST) Received: from mr4.zonelabs.com (mr4.zonelabs.com [208.185.174.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDE8443D5A; Thu, 5 Feb 2004 10:08:17 -0800 (PST) (envelope-from jklein@zonelabs.com) Received: from exgate1.zonelabs.com ([172.16.211.232])i15I8E71026070; Thu, 5 Feb 2004 10:08:16 -0800 (PST) Received: from exmb2.zonelabs.com ([172.16.211.235]) by exgate1.zonelabs.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 5 Feb 2004 10:08:15 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 5 Feb 2004 10:08:14 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AE_AML_INVALID_RESOURCE_TYPE error in 5.2-CURRENT Thread-Index: AcPrYqL9wm5WvrHCR42zE5Jetcn/sgArMfIg From: "Jeff Klein" To: "John Baldwin" , X-OriginalArrivalTime: 05 Feb 2004 18:08:15.0776 (UTC) FILETIME=[06B7FA00:01C3EC13] X-Scanned-By: MIMEDefang 2.39 Subject: RE: AE_AML_INVALID_RESOURCE_TYPE error in 5.2-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 18:08:24 -0000 Thanks for the reply, John. I didn't find an option in the BIOS to allocate an IRQ for VGA. However, when I rebooted, I noticed that I am now getting an additional ACPI error in dmesg (see below). I rebooted again, just to see if it was reproducible and it is. Might this be related to the original error (which occurs earlier in the boot)? Thanks, Jeff PS I have not tried printf's yet. Could you give me an idea of which src files to look at?=20 ----------- ACPI error from dmesg ---------------- acpi_ec0: port 0xca7,0xca6 on acpi0 ACPI-0440: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.ISA0.EC0_.ECCW] (Node 0xc615f880), AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.ISA0.EC0_.SREC] (Node 0xc615f980), AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.ISA0.EC0_.SSLP] (Node 0xc615f7a0), AE_AML_NO_RETURN_VALUE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.ISA0.EC0_._REG] (Node 0xc615fc00), AE_AML_NO_RETURN_VALUE acpi_ec0: can't install address space handler for \\_SB_.PCI0.ISA0.EC0_ - AE_AML_NO_RETURN_VALUE device_probe_and_attach: acpi_ec0 attach returned 6 acpi_ec0: port 0xca7,0xca6 on acpi0 acpi_ec0: can't install address space handler for \\_SB_.PCI0.ISA0.EC0_ - AE_SAME_HANDLER device_probe_and_attach: acpi_ec0 attach returned 6 ------------------ end ACPI error from dmesg ------------------------- -----Original Message----- From: John Baldwin [mailto:jhb@FreeBSD.org]=20 Sent: Wednesday, February 04, 2004 12:57 PM To: Jeff Klein; FreeBSD-current@FreeBSD.org Subject: Re: AE_AML_INVALID_RESOURCE_TYPE error in 5.2-CURRENT On Wednesday 04 February 2004 03:35 pm, Jeff Klein wrote: > Hi All, > > I cvsup'ed to the latest and ran "make buildworld" last night (about 7pm > PST). I was previously running 5.1-RELEASE, but was having problems > with SMP support. The good news is that the SMP support (w/ device > apic) seems to be working well now, but the bad news is that I am > getting a new error in the kernel at boot time: > > can't fetch resources for \\_SB_.LN1_ - AE_AML_INVALID_RESOURCE_TYPE > > -and- > > pcib0: couldn't get PCI interrupt link device _CRS data - > AE_AML_INVALID_RESOURCE_TYPE > > This doesn't seem to be causing any serious problems so far, but I have > only been running on it for less than 24 hours, so it is too early to > tell. Does anyone know if this is serious? (and if there is a > fix/workaround?). Output from dmesg is below. >From your dmesg it doesn't appear serious. Does it go away if you tell your=20 BIOS to allocate an IRQ for the VGA device? Also, can you add a printf to=20 make it print out what the resource type is when it prints that error message=20 perhaps? > Thanks and regards, > Jeff Klein > > ------------------------- dmesg output ----------------------------- > > Copyright (c) 1992-2004 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 5.2-CURRENT #1: Tue Feb 3 23:43:49 PST 2004 > root@weckl:/usr/obj/usr/src/sys/WECKL > Preloaded elf kernel "/boot/kernel/kernel" at 0xc07ff000. Preloaded elf > module "/boot/kernel/acpi.ko" at 0xc07ff26c. > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.67-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0xf27 Stepping =3D 7 > > Features=3D0xbfebfbff ,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Hyperthreading: 2 logical CPUs > real memory =3D 1073741824 (1024 MB) > avail memory =3D 1045336064 (996 MB) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 6 > cpu3 (AP): APIC ID: 7 > ioapic0 irqs 0-15 on motherboard > ioapic1 irqs 16-31 on motherboard > Pentium Pro MTRR support enabled > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > pcibios: BIOS version 2.10 > Using $PIR table, 16 entries at 0xc00fdec0 > acpi0: Power Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > can't fetch resources for \\_SB_.LN1_ - AE_AML_INVALID_RESOURCE_TYPE > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 > acpi_cpu0: on acpi0 > acpi_cpu1: on acpi0 > acpi_cpu2: on acpi0 > acpi_cpu3: on acpi0 > acpi_button0: on acpi0 > acpi_button1: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib0: couldn't get PCI interrupt link device _CRS data - > AE_AML_INVALID_RESOURCE_TYPE > pci0: at device 2.0 (no driver attached) > fxp0: port 0x2400-0x243f mem > 0xfc000000-0xfc01ffff,0xfc021000-0xfc021fff irq 18 at device 3.0 on pci0 > fxp0: Ethernet address 00:02:b3:52:36:7b > miibus0: on fxp0 > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > isab0: at device 15.0 on pci0 > isa0: on isab0 > atapci0: port > 0x2440-0x244f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device > 15.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata0: [MPSAFE] > ata1: at 0x170 irq 15 on atapci0 > ata1: [MPSAFE] > ohci0: mem 0xfc022000-0xfc022fff irq 10 > at device 15.2 on pci0 > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 4 ports with 4 removable, self powered > pcib1: on acpi0 > pci1: on pcib1 > em0: port > 0x2460-0x247f mem 0xfc300000-0xfc31ffff,0xfc320000-0xfc33ffff irq 19 at > device 4.0 on pci1 > em0: Speed:N/A Duplex:N/A > pcib2: on acpi0 > pci2: on pcib2 > ahc0: port 0x2800-0x28ff mem > 0xfc700000-0xfc700fff irq 16 at device 9.0 on pci2 > aic7899: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs > ahc1: port 0x3000-0x30ff mem > 0xfc701000-0xfc701fff irq 17 at device 9.1 on pci2 > aic7899: Ultra160 Wide Channel B, SCSI Id=3D7, 32/253 SCBs > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model IntelliMouse Explorer, device ID 4 > sio0 port 0x3f8-0x3ff irq 4 on acpi0 > sio0: type 16550A > sio1 port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > fdc0: port > 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > acpi_ec0: port 0xca7,0xca6 on acpi0 > pmtimer0 on isa0 > orm0: