From owner-freebsd-stable@FreeBSD.ORG Sun Apr 23 08:41:54 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A526816A401 for ; Sun, 23 Apr 2006 08:41:54 +0000 (UTC) (envelope-from freebsd-stable@chef-ingenieur.de) Received: from mta.webmatic.de (mta.webmatic.de [212.78.99.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E61343D4C for ; Sun, 23 Apr 2006 08:41:52 +0000 (GMT) (envelope-from freebsd-stable@chef-ingenieur.de) Received: (qmail 99740 invoked by uid 89); 23 Apr 2006 08:41:49 -0000 Received: by simscan 1.1.0 ppid: 99734, pid: 99736, t: 0.3929s scanners: attach: 1.1.0 clamav: 0.87.1/m:34/d:1205 spam: 3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mta.webmatic.de X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.1.0 Received: from unknown (HELO ?172.21.1.12?) (freebsd-stable@chef-ingenieur.de@217.186.48.117) by mta.webmatic.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 23 Apr 2006 08:41:49 -0000 Message-ID: <444B3DE0.8030004@chef-ingenieur.de> Date: Sun, 23 Apr 2006 10:42:08 +0200 From: Thomas Krause User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: dsl-acc go2net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2006 08:41:54 -0000 set authname "dslflat/362364%go2net" set authkey chefing From owner-freebsd-stable@FreeBSD.ORG Sun Apr 23 14:37:16 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8604B16A400 for ; Sun, 23 Apr 2006 14:37:16 +0000 (UTC) (envelope-from joji@eskimo.com) Received: from ultra5.eskimo.com (ultra5.eskimo.com [204.122.16.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2776A43D53 for ; Sun, 23 Apr 2006 14:37:15 +0000 (GMT) (envelope-from joji@eskimo.com) Received: from eskimo.com (eskimo.com [204.122.16.13]) by ultra5.eskimo.com (8.13.6/8.13.4) with ESMTP id k3NEbE3F014429; Sun, 23 Apr 2006 07:37:14 -0700 Received: (from joji@localhost) by eskimo.com (8.9.1a/8.9.1) id HAA27453; Sun, 23 Apr 2006 07:37:14 -0700 (PDT) Date: Sun, 23 Apr 2006 07:37:14 -0700 From: Joseph Olatt To: Matt Smith , freebsd-stable@freebsd.org Message-ID: <20060423073713.A26925@eskimo.com> References: <20060420120047.7C85316A538@hub.freebsd.org> <000001c66567$daafa9a0$0201a8c0@bedroom> <20060422171124.GA30277@doom.homeunix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20060422171124.GA30277@doom.homeunix.org>; from ip@doom.homeunix.org on Sat, Apr 22, 2006 at 09:11:24PM +0400 Cc: Subject: Re: Intel EtherExpress Pro ISA card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2006 14:37:16 -0000 On Sat, Apr 22, 2006 at 09:11:24PM +0400, Igor Pokrovsky wrote: > On Fri, Apr 21, 2006 at 01:20:11PM -0400, Matt Smith wrote: > > I have this card install in a System but the GENERIC kernel does not pick it > > up. Is there a custom driver for this card or a step I'm missing. > > If this is non-PNP card you have to specify irq and dma explicitely. > > -ip If the card you have is: EtherExpress PRO/10 or PRO/10+ ISA adapter then, I suspect you need to use the Intel supplied configuration utility to set the irq and dma. The utility can be found on the Intel site. The link is: http://downloadfinder.intel.com/scripts-df-external/T8Clearance.aspx?url=/2419/eng/e10disk.exe&agr=N&ProductID=248&DwnldID=2419&lang=eng From owner-freebsd-stable@FreeBSD.ORG Sun Apr 23 15:35:40 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C4BC16A401 for ; Sun, 23 Apr 2006 15:35:40 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AA0843D48 for ; Sun, 23 Apr 2006 15:35:38 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3NFZcxn001939 for ; Sun, 23 Apr 2006 19:35:38 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 23 Apr 2006 19:35:37 +0400 (MSD) From: Dmitry Morozovsky To: stable@FreeBSD.org Message-ID: <20060423193208.N1187@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sun, 23 Apr 2006 19:35:38 +0400 (MSD) Cc: Subject: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2006 15:35:40 -0000 Colleagues, one of my servers had to be rebooted uncleanly and then I have backgrounded fsck locked for more than an our in snaplk: 742 root 1 -4 4 1320K 688K snaplk 0:02 0.00% fsck_ufs File system in question is 200G gmirror on SATA. Usually making a snapshot (e.g., for making dumps) consumes 3-4 minutes for that fs, so it seems to me that filesystem is in a deadlock. Any hints? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Sun Apr 23 19:04:35 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F40716A400 for ; Sun, 23 Apr 2006 19:04:35 +0000 (UTC) (envelope-from brad-fbsd-stable@duttonbros.com) Received: from uno.mnl.com (uno.mnl.com [63.97.246.49]) by mx1.FreeBSD.org (Postfix) with SMTP id D13B043D55 for ; Sun, 23 Apr 2006 19:04:34 +0000 (GMT) (envelope-from brad-fbsd-stable@duttonbros.com) Received: (qmail 47281 invoked by uid 85); 23 Apr 2006 19:04:34 -0000 Received: from 127.0.0.1 by uno (envelope-from , uid 89) with qmail-scanner-1.25 (spamassassin: 2.55. Clear:RC:1(127.0.0.1):. Processed in 0.054419 secs); 23 Apr 2006 19:04:34 -0000 Received: from unknown (HELO uno.mnl.com) (127.0.0.1) by localhost with SMTP; 23 Apr 2006 19:04:33 -0000 Received: from 67.169.82.217 (SquirrelMail authenticated user bdutton) by uno.mnl.com with HTTP; Sun, 23 Apr 2006 12:04:33 -0700 (PDT) Message-ID: <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com> Date: Sun, 23 Apr 2006 12:04:33 -0700 (PDT) From: "Bradley W. Dutton" To: freebsd-stable@freebsd.org User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: 6.1 prerelease graid3 livelock? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: brad-fbsd-stable@duttonbros.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2006 19:04:35 -0000 Hi, I'm experiencing a sort of livelock on a 6.1 prerelease box. It appears all of the IO related activity hangs but the box continues to do routing/NAT/etc for internet access from my other boxes. I can usually get the lockup to occur within about 12 hours of booting. I've narrowed down the commits to those on March 20 (kernel before then works, kernel after then causes problems) and I think the problem is geom/raid related. Besides a small gmirrored root partition the rest of my partitions are all graid3. I'm not sure what information to provide to help troubleshoot but I'm happy to do what's needed. On an unrelated note the rebuild speed was about 50% faster on my box when using the new geom/raid code introduced on March 20th. Thanks, Brad From owner-freebsd-stable@FreeBSD.ORG Sun Apr 23 20:17:34 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 761C816A406 for ; Sun, 23 Apr 2006 20:17:34 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B54B943D4C for ; Sun, 23 Apr 2006 20:17:33 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 990C51A3C29; Sun, 23 Apr 2006 13:17:33 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E46745564E; Sun, 23 Apr 2006 16:17:32 -0400 (EDT) Date: Sun, 23 Apr 2006 16:17:32 -0400 From: Kris Kennaway To: Dmitry Morozovsky Message-ID: <20060423201732.GA74905@xor.obsecurity.org> References: <20060423193208.N1187@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <20060423193208.N1187@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i Cc: stable@FreeBSD.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2006 20:17:34 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 23, 2006 at 07:35:37PM +0400, Dmitry Morozovsky wrote: > Colleagues, >=20 > one of my servers had to be rebooted uncleanly and then I have background= ed=20 > fsck locked for more than an our in snaplk: >=20 > 742 root 1 -4 4 1320K 688K snaplk 0:02 0.00% fsck_ufs >=20 > File system in question is 200G gmirror on SATA. Usually making a snapsho= t=20 > (e.g., for making dumps) consumes 3-4 minutes for that fs, so it seems to= me=20 > that filesystem is in a deadlock. Is the process performing I/O? Background fsck deliberately runs at a slow rate so it does not destroy I/O performance on the rest of the system. Kris --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFES+DcWry0BWjoQKURAq0FAKCTjjTerD+Y5GfRa7V9M9w0F6+aVwCg6qz8 fgtmYX8SNME2jN+MKp0LSfo= =Djk5 -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 05:24:12 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9030216A408 for ; Mon, 24 Apr 2006 05:24:12 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3F9643D55 for ; Mon, 24 Apr 2006 05:24:11 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3O5OANk020681; Mon, 24 Apr 2006 09:24:10 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Mon, 24 Apr 2006 09:24:10 +0400 (MSD) From: Dmitry Morozovsky To: Kris Kennaway In-Reply-To: <20060423201732.GA74905@xor.obsecurity.org> Message-ID: <20060424091803.L20593@woozle.rinet.ru> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Mon, 24 Apr 2006 09:24:10 +0400 (MSD) Cc: stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 05:24:12 -0000 On Sun, 23 Apr 2006, Kris Kennaway wrote: kKK> > one of my servers had to be rebooted uncleanly and then I have backgrounded KK> > fsck locked for more than an our in snaplk: KK> > KK> > 742 root 1 -4 4 1320K 688K snaplk 0:02 0.00% fsck_ufs KK> > KK> > File system in question is 200G gmirror on SATA. Usually making a snapshot KK> > (e.g., for making dumps) consumes 3-4 minutes for that fs, so it seems to me KK> > that filesystem is in a deadlock. KK> KK> Is the process performing I/O? Background fsck deliberately runs at a KK> slow rate so it does not destroy I/O performance on the rest of the KK> system. Nope. For that case, 50+ smbds had been locked in 'ufs' state, so I've been urged to revive the machine and reboot, turning off bgfsck. This night, dump -L locks in the same position on the same filesystem: 0 2887 2886 0 -4 0 1260 692 snaplk D ?? 0:01.28 /sbin/mksnap_ffs root 0.0 0.1 5:19AM it has been started at 5:19am, and now is 9:20 - no disk activity For the reference: it's fresh RELENG_6_1/i386. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 06:30:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 065EE16A406 for ; Mon, 24 Apr 2006 06:30:19 +0000 (UTC) (envelope-from vlado@botka.homeunix.org) Received: from smtp-out4.iol.cz (smtp-out4.iol.cz [194.228.2.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3719543D49 for ; Mon, 24 Apr 2006 06:30:18 +0000 (GMT) (envelope-from vlado@botka.homeunix.org) Received: from antivir4.iol.cz (avir4 [192.168.30.209]) by smtp-out4.iol.cz (Postfix) with ESMTP id 2946C1F8C80; Mon, 24 Apr 2006 08:30:13 +0200 (CEST) Received: from localhost (antivir4.iol.cz [127.0.0.1]) by antivir4.iol.cz (Postfix) with ESMTP id 18003240025; Mon, 24 Apr 2006 08:30:13 +0200 (CEST) Received: from smtp-out4.iol.cz (smtp-out-4.iplanet.iol.cz [192.168.30.31]) by antivir4.iol.cz (Postfix) with ESMTP id E5B3D240024; Mon, 24 Apr 2006 08:30:12 +0200 (CEST) Received: from ace.botka.homeunix.org (3.77.broadband2.iol.cz [83.208.77.3]) by smtp-out4.iol.cz (Postfix) with ESMTP id 6ACE122AEE3; Mon, 24 Apr 2006 08:30:10 +0200 (CEST) Received: by ace.botka.homeunix.org (Postfix, from userid 1001) id 6FDA52A; Mon, 24 Apr 2006 08:30:09 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ace.botka.homeunix.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from srv (ac.botka.homeunix.org [192.168.1.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ace.botka.homeunix.org (Postfix) with ESMTP id 5669223; Mon, 24 Apr 2006 08:30:08 +0200 (CEST) Date: Mon, 24 Apr 2006 08:30:08 +0200 (CEST) From: Vladimir Botka X-X-Sender: vlado@srv.g1.netng.org To: Joseph Olatt In-Reply-To: <20060423073713.A26925@eskimo.com> Message-ID: <20060424082719.J5618@srv.g1.netng.org> References: <20060420120047.7C85316A538@hub.freebsd.org> <000001c66567$daafa9a0$0201a8c0@bedroom> <20060422171124.GA30277@doom.homeunix.org> <20060423073713.A26925@eskimo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at iol.cz Cc: Matt Smith , freebsd-stable@freebsd.org Subject: Re: Intel EtherExpress Pro ISA card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 06:30:19 -0000 Just one more note: modify /boot/device.hints to explicitely specify irq,dma and address. -vlado On Sun, 23 Apr 2006, Joseph Olatt wrote: > On Sat, Apr 22, 2006 at 09:11:24PM +0400, Igor Pokrovsky wrote: >> On Fri, Apr 21, 2006 at 01:20:11PM -0400, Matt Smith wrote: >>> I have this card install in a System but the GENERIC kernel does not pick it >>> up. Is there a custom driver for this card or a step I'm missing. >> >> If this is non-PNP card you have to specify irq and dma explicitely. >> >> -ip > > > If the card you have is: > EtherExpress PRO/10 or PRO/10+ ISA adapter > > then, I suspect you need to use the Intel supplied configuration utility > to set the irq and dma. The utility can be found on the Intel site. The > link is: > > http://downloadfinder.intel.com/scripts-df-external/T8Clearance.aspx?url=/2419/eng/e10disk.exe&agr=N&ProductID=248&DwnldID=2419&lang=eng > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 13:21:06 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 318AF16A403 for ; Mon, 24 Apr 2006 13:21:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE50243D69 for ; Mon, 24 Apr 2006 13:20:59 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id D737046C82; Mon, 24 Apr 2006 09:20:57 -0400 (EDT) Date: Mon, 24 Apr 2006 14:20:57 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Stephen Clark In-Reply-To: <44459286.1000008@seclark.us> Message-ID: <20060424141346.O44099@fledge.watson.org> References: <4444EE93.9050003@seclark.us> <44459286.1000008@seclark.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@freebsd.org Subject: Re: FreeBSD 4.9 losing mbufs!!! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 13:21:06 -0000 On Tue, 18 Apr 2006, Stephen Clark wrote: > I have discovered that if I disable quaqqa/ospfd then I don't lose mbufs! > This makes it appear that the mbuf leak is in the multicast routing logic. > In fact I lose mbufs even with the both system basically idle but with a 100 > vpn/gre with multicast going on thru the gre then the vpn. > > Any ideas on where to focus my continued investigation? > > Thanks to everybody who has responded. Steve, Sorry not to have caught this thread earlier; I've been on travel for the last few weeks. My general suggestion would be to try to narrow the code paths traversed to try to eliminate as much code as possible from the search. It sounds like you've done that pretty effectively :-). Typically, memory leaks occur in edge error cases, where the memory is not properly released, or ownership is unclear. My suggestion would be to add counters (or look at existing counters where already present) and see if there's an error case being triggered in about the same quantity that mbuf leakage is occuring. Chances are, there's an error being returned and a missing m_freem(). Based on your comments above, I might also pay attention to the routing socket path -- the rate of leak could correspond to the routing daemons talking to the network stack, rather than the rate of traffic. For example, it could be that one of the routing messages is handled improperly resulting in a leak. Unfortunately, tracking down memory leaks can be quite difficult, and tends to require a combination of dogged persistence and luck... Robert N M Watson From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 13:26:30 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62E5516A402 for ; Mon, 24 Apr 2006 13:26:30 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id E257843D46 for ; Mon, 24 Apr 2006 13:26:29 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id BC3A446BA8; Mon, 24 Apr 2006 09:26:28 -0400 (EDT) Date: Mon, 24 Apr 2006 14:26:28 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Henri Hennebert In-Reply-To: <20060420093147.7j9stegaiocc0ok4@webmail.restart.be> Message-ID: <20060424142455.G44099@fledge.watson.org> References: <20060420093147.7j9stegaiocc0ok4@webmail.restart.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@freebsd.org Subject: Re: 6.1RC system nearly freezing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 13:26:30 -0000 On Thu, 20 Apr 2006, Henri Hennebert wrote: > I upgrade a web, squid, mail server (under SMP with 2 pentium III) to 6.1-RC > (Apr 9 2006) and encounter 2 `freezing'. > > The system is still responding to http requests but I can't login on the > console or through ssh -- no shell prompt. No more mail delivery. > > I break to KDB and found more then 1000 sendmail processes waiting for > devfs... > > call boot(0) can't complete the shutdown process. > > I join the KDB informations. Let me know if more informations are needed. Are you running with WITNESS and INVARIANTS enabled? If not, could you do so and see if the problem is reproduceable, and if so, whether or not WITNESS (and friends) generate any warnings? It looks like something has leaked a lock, resulting in deadlock. The question is, however, which lock, and where. WITNESS may be able to provide some insight into this; if you could run "show alllocks" with WITNESS in place, that would be helpful also. Robert N M Watson From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 13:29:25 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE62916A400 for ; Mon, 24 Apr 2006 13:29:25 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A139043D77 for ; Mon, 24 Apr 2006 13:29:23 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 8B90946BDC; Mon, 24 Apr 2006 09:29:22 -0400 (EDT) Date: Mon, 24 Apr 2006 14:29:22 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Matt Watson In-Reply-To: <20060418094002.W42235@clearwater.comnet.becon.org> Message-ID: <20060424142730.N44099@fledge.watson.org> References: <20060418094002.W42235@clearwater.comnet.becon.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 6.1-PRERELEASE (April 5, 2006) randomly rebooting on Dell Poweredge 650 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 13:29:25 -0000 On Tue, 18 Apr 2006, Matt Watson wrote: > I'm not sure if this is the right place to be sending this or not but I > figured I'd give it a shot. This (freebsd-stable) is a good place to send the message. Do you have a serial console on the box? If not, could you try putting one on there? Some kernel output, especially in the event of a crash, doesn't end up in the system log as (for example) the file system may not be available. If you configure a serial console being logged to another machine, you can more reliably log crash information. Information on setting up a serial console can be found in the FreeBSD Handbook, but the short of it is that you can put a null modem cable to another box on the first serial port, and add: console="comconsole" to /boot/loader.conf. FreeBSD will normally reboot after a kernel panic if debugging isn't enabled, in which case you should see the output. And if you don't see output, it's probably a bad hardware interaction rather than a kernel panic. Robert N M Watson > > The subject line pretty much says it all, I have a Dell Poweredge 650 box > running 6.1-PRERELEASE which was cvsup'd on April 5, 2006. The box has now > twice rebooted on its own for no aparant reason. Its a fresh install as > well, and appears to have been doing this ever since it was installled. The > first time the box was only up for approximently 2 days and rebooted, the 2nd > time it was up for approximently 10 days. I have all.log setup to log all > syslog messages however when the reboot occured there is no information in > the log which indicates anything going wrong... Here is a small cut from the > log at the time of the reboot. As can be seen, one minute there is an imapd > process, the next entry is the system restarting. > > > Apr 16 20:55:34 clearwater imapd: LOGOUT, user=XXXXXX, > ip=[::ffff:WWW.XXX.YYY.ZZZ], headers=0, body=0, time=0 > Apr 16 20:59:36 clearwater syslogd: restart > Apr 16 20:59:36 clearwater syslogd: kernel boot file is /boot/kernel/kernel > Apr 16 20:59:36 clearwater kernel: Copyright (c) 1992-2006 The FreeBSD > Project. > Apr 16 20:59:36 clearwater kernel: Copyright (c) 1979, 1980, 1983, 1986, > 1988, 1989, 1991, 1992, 1993, 1994 > Apr 16 20:59:36 clearwater kernel: The Regents of the University of > California. All rights reserved. > Apr 16 20:59:36 clearwater kernel: FreeBSD 6.1-PRERELEASE #0: Wed Apr 5 > 20:46:37 EDT 2006 > > This machine previously had Linux installed on the box and did not display > the same problems, so I'm going on the assumption that its not a hardware > failure. > > Aside from the reboots the box has been preforming extermely well. > > If anybody can provide some insights or suggestions I'd greatly appreciate > it. > > Thanks, > Matt Watson > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 13:57:40 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2101716A401 for ; Mon, 24 Apr 2006 13:57:40 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C17143D48 for ; Mon, 24 Apr 2006 13:57:38 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 8AFA652C72; Mon, 24 Apr 2006 15:57:36 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id CA43251D2C; Mon, 24 Apr 2006 15:57:30 +0200 (CEST) Date: Mon, 24 Apr 2006 15:56:05 +0200 From: Pawel Jakub Dawidek To: "Bradley W. Dutton" Message-ID: <20060424135605.GB814@garage.freebsd.pl> References: <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CdrF4e02JqNVZeln" Content-Disposition: inline In-Reply-To: <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-stable@freebsd.org Subject: Re: 6.1 prerelease graid3 livelock? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 13:57:40 -0000 --CdrF4e02JqNVZeln Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 23, 2006 at 12:04:33PM -0700, Bradley W. Dutton wrote: +> Hi, +>=20 +> I'm experiencing a sort of livelock on a 6.1 prerelease box. It appears +> all of the IO related activity hangs but the box continues to do +> routing/NAT/etc for internet access from my other boxes. I can usually +> get the lockup to occur within about 12 hours of booting. +>=20 +> I've narrowed down the commits to those on March 20 (kernel before then +> works, kernel after then causes problems) and I think the problem is +> geom/raid related. Besides a small gmirrored root partition the rest of = my +> partitions are all graid3. I'm not sure what information to provide to +> help troubleshoot but I'm happy to do what's needed. +>=20 +> On an unrelated note the rebuild speed was about 50% faster on my box wh= en +> using the new geom/raid code introduced on March 20th. Can you break into DDB (alt+ctrl+esc or send break via serial console) and send me the output of 'traceall' command? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --CdrF4e02JqNVZeln Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFETNj1ForvXbEpPzQRAjFwAJ99WMo/FeH4oD3j32GfmtjPvCnNVQCgqvw7 kLX58ApIwyXRYNAqEccBwE8= =Zbnw -----END PGP SIGNATURE----- --CdrF4e02JqNVZeln-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 14:35:25 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0202416A402 for ; Mon, 24 Apr 2006 14:35:25 +0000 (UTC) (envelope-from freebsd-stable@chef-ingenieur.de) Received: from mta.webmatic.de (mta.webmatic.de [212.78.99.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id B22A243D48 for ; Mon, 24 Apr 2006 14:35:18 +0000 (GMT) (envelope-from freebsd-stable@chef-ingenieur.de) Received: (qmail 81303 invoked by uid 89); 24 Apr 2006 14:35:15 -0000 Received: by simscan 1.1.0 ppid: 81279, pid: 81280, t: 1.0863s scanners: attach: 1.1.0 clamav: 0.87.1/m:34/d:1205 spam: 3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mta.webmatic.de X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.1.0 Received: from unknown (HELO mta.webmatic.de) (127.0.0.1) by localhost with SMTP; 24 Apr 2006 14:35:14 -0000 Received: from 217.188.193.85 (SquirrelMail authenticated user freebsd-stable@chef-ingenieur.de) by mta.webmatic.de with HTTP; Mon, 24 Apr 2006 16:35:14 +0200 (CEST) Message-ID: <2619.217.188.193.85.1145889314.squirrel@mta.webmatic.de> Date: Mon, 24 Apr 2006 16:35:14 +0200 (CEST) From: "Thomas Krause" To: freebsd-stable@freebsd.org User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: HP DL145G2 SCSC Raid Controlle Q X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 14:35:25 -0000 Hello, I hope, this question is not off topic for this list. In the HP config tool for the DL145 I can select a HP PL100 SCSI RAID Controller (PN 355671-B21) Does this controller work with FreeBSD? I'm not sure, if this is a relabled LSI controller. Kind regards, Thomas. From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 14:48:06 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4098E16A402 for ; Mon, 24 Apr 2006 14:48:06 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout09-04.prod.mesa1.secureserver.net (smtpout09-04.prod.mesa1.secureserver.net [64.202.165.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 8004043D53 for ; Mon, 24 Apr 2006 14:48:05 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 13129 invoked from network); 24 Apr 2006 14:48:04 -0000 Received: from unknown (24.144.77.138) by smtpout09-04.prod.mesa1.secureserver.net (64.202.165.17) with ESMTP; 24 Apr 2006 14:48:02 -0000 Message-ID: <444CE51C.1070304@seclark.us> Date: Mon, 24 Apr 2006 10:47:56 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: <4444EE93.9050003@seclark.us> <44459286.1000008@seclark.us> <20060424141346.O44099@fledge.watson.org> In-Reply-To: <20060424141346.O44099@fledge.watson.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: FreeBSD 4.9 losing mbufs!!! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 14:48:06 -0000 Robert Watson wrote: >On Tue, 18 Apr 2006, Stephen Clark wrote: > > > >>I have discovered that if I disable quaqqa/ospfd then I don't lose mbufs! >>This makes it appear that the mbuf leak is in the multicast routing logic. >>In fact I lose mbufs even with the both system basically idle but with a 100 >>vpn/gre with multicast going on thru the gre then the vpn. >> >>Any ideas on where to focus my continued investigation? >> >>Thanks to everybody who has responded. >> >> > >Steve, > >Sorry not to have caught this thread earlier; I've been on travel for the last >few weeks. My general suggestion would be to try to narrow the code paths >traversed to try to eliminate as much code as possible from the search. It >sounds like you've done that pretty effectively :-). > >Typically, memory leaks occur in edge error cases, where the memory is not >properly released, or ownership is unclear. My suggestion would be to add >counters (or look at existing counters where already present) and see if >there's an error case being triggered in about the same quantity that mbuf >leakage is occuring. Chances are, there's an error being returned and a >missing m_freem(). > >Based on your comments above, I might also pay attention to the routing socket >path -- the rate of leak could correspond to the routing daemons talking to >the network stack, rather than the rate of traffic. For example, it could be >that one of the routing messages is handled improperly resulting in a leak. > >Unfortunately, tracking down memory leaks can be quite difficult, and tends to >require a combination of dogged persistence and luck... > >Robert N M Watson > > > Robert, Thanks for your response. I am in the process of moving our app to 6. stable to see if the problem still exists. If it does then maybe I can't generate some enthusiasm form the FreeBSD community to take moew of an interest in the problem. I have a lot of C experience but not with the *BSD network stack, still trying to get a good understanding of the flow of the packets thru the stack. Our next release will be based on 6 but that is months away. We have some Athon 64 X2 we are putting in that will handling 100 to 200 vpn/gre tunnels and right now ipintrq slowly grows which eventually forces a reboot of the systems. Fortune 2000 companies don't like see that happen. Regards, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 15:18:08 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20C5616A405 for ; Mon, 24 Apr 2006 15:18:08 +0000 (UTC) (envelope-from freebsd-stable@epcdirect.co.uk) Received: from gunfright.epcdirect.co.uk (gunfright.epcdirect.co.uk [195.10.242.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB7C643D58 for ; Mon, 24 Apr 2006 15:18:07 +0000 (GMT) (envelope-from freebsd-stable@epcdirect.co.uk) Received: from lfarr (l-farr.int.epcdirect.co.uk [192.168.6.200]) by gunfright.epcdirect.co.uk (Postfix) with ESMTP id 1026B6C8811 for ; Mon, 24 Apr 2006 16:18:06 +0100 (BST) From: "Lawrence Farr" To: Date: Mon, 24 Apr 2006 16:18:06 +0100 Message-ID: <033101c667b2$497f58c0$c806a8c0@lfarr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: <1145710096.44061.10.camel@redevil.savola.com> Thread-Index: AcZmC0ODOayXDboxQvucrNooMOkCIABpuX3A Subject: Stable Build Error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 15:18:08 -0000 I've been seeing this for a week or so, and have deleted /usr/obj and run make From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 15:20:00 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8605E16A416 for ; Mon, 24 Apr 2006 15:20:00 +0000 (UTC) (envelope-from freebsd-stable@epcdirect.co.uk) Received: from gunfright.epcdirect.co.uk (gunfright.epcdirect.co.uk [195.10.242.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C6F843D8C for ; Mon, 24 Apr 2006 15:19:52 +0000 (GMT) (envelope-from freebsd-stable@epcdirect.co.uk) Received: from lfarr (l-farr.int.epcdirect.co.uk [192.168.6.200]) by gunfright.epcdirect.co.uk (Postfix) with ESMTP id 9A2CE6C8849 for ; Mon, 24 Apr 2006 16:19:51 +0100 (BST) From: "Lawrence Farr" To: Date: Mon, 24 Apr 2006 16:19:51 +0100 Message-ID: <033201c667b2$886ad460$c806a8c0@lfarr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: Thread-Index: AcZmC0ODOayXDboxQvucrNooMOkCIABpuX3AAAAJzRA= Subject: Stable Build Error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 15:20:00 -0000 I've been seeing the following for a week or so, and have deleted /usr/obj , re-cvsupped and run cd /usr/src && make cleandir && make cleandir make.conf is empty. Anyone got any ideas? ===> kerberos5/tools/make-roken (all) ===> kerberos5/tools/asn1_compile (all) cd /usr/src/kerberos5/tools/asn1_compile/../make-roken && make cc -O2 -fno-strict-aliasing -pipe -I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_comp ile/../../include -DINET6 -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen.c In file included from ./roken.h:61, from /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_l ocl.h:51, from /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen.c :34: /usr/include/resolv.h:320: error: syntax error before "ns_tsig_key" *** Error code 1 Stop in /usr/src/kerberos5/tools/asn1_compile. *** Error code 1 Stop in /usr/src/kerberos5/tools. *** Error code 1 Stop in /usr/src. *** Error code 1 From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 16:49:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DC3416A400 for ; Mon, 24 Apr 2006 16:49:18 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21CA043D49 for ; Mon, 24 Apr 2006 16:49:18 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k3OGnFUb012323; Mon, 24 Apr 2006 09:49:15 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k3OGnFnF012322; Mon, 24 Apr 2006 09:49:15 -0700 Date: Mon, 24 Apr 2006 09:49:15 -0700 From: Brooks Davis To: Lawrence Farr Message-ID: <20060424164915.GB11053@odin.ac.hmc.edu> References: <1145710096.44061.10.camel@redevil.savola.com> <033101c667b2$497f58c0$c806a8c0@lfarr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <033101c667b2$497f58c0$c806a8c0@lfarr> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-stable@freebsd.org Subject: Re: Stable Build Error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 16:49:18 -0000 --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 24, 2006 at 04:18:06PM +0100, Lawrence Farr wrote: > I've been seeing this for a week or so, and have deleted > /usr/obj and run make My telepathy powers aren't working. What's the error? :) -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFETQGKXY6L6fI4GtQRAlv0AJ9cDRPsgnGZiKBlixgByTF+/s6/ugCdHbZ2 lkTBgMut1MoFtYnwCFJPtes= =EXIg -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 17:25:34 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24C9816A400 for ; Mon, 24 Apr 2006 17:25:34 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5326243D46 for ; Mon, 24 Apr 2006 17:25:32 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3OHPOFF041829; Mon, 24 Apr 2006 21:25:24 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Mon, 24 Apr 2006 21:25:24 +0400 (MSD) From: Dmitry Morozovsky To: Thomas Krause In-Reply-To: <2619.217.188.193.85.1145889314.squirrel@mta.webmatic.de> Message-ID: <20060424212458.C36233@woozle.rinet.ru> References: <2619.217.188.193.85.1145889314.squirrel@mta.webmatic.de> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Mon, 24 Apr 2006 21:25:24 +0400 (MSD) Cc: freebsd-stable@freebsd.org Subject: Re: HP DL145G2 SCSC Raid Controlle Q X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 17:25:34 -0000 On Mon, 24 Apr 2006, Thomas Krause wrote: TK> Hello, TK> I hope, this question is not off topic for this list. TK> In the HP config tool for the DL145 I can select a TK> HP PL100 SCSI RAID Controller (PN 355671-B21) TK> Does this controller work with FreeBSD? I'm not sure, if this TK> is a relabled LSI controller. Should work: mpt0: port 0x2000-0x20ff mem 0xd8120000-0xd813ffff,0xd8100000-0xd811ffff irq 32 at device 1.0 on pci134 Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 18:05:00 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57C6D16A40B for ; Mon, 24 Apr 2006 18:05:00 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DED543D48 for ; Mon, 24 Apr 2006 18:04:58 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3OI4v23042467; Mon, 24 Apr 2006 22:04:57 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Mon, 24 Apr 2006 22:04:57 +0400 (MSD) From: Dmitry Morozovsky To: Kris Kennaway In-Reply-To: <20060424091803.L20593@woozle.rinet.ru> Message-ID: <20060424215650.P36233@woozle.rinet.ru> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Mon, 24 Apr 2006 22:04:57 +0400 (MSD) Cc: stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 18:05:00 -0000 On Mon, 24 Apr 2006, Dmitry Morozovsky wrote: DM> kKK> > one of my servers had to be rebooted uncleanly and then I have backgrounded DM> KK> > fsck locked for more than an our in snaplk: DM> KK> > DM> KK> > 742 root 1 -4 4 1320K 688K snaplk 0:02 0.00% fsck_ufs DM> KK> > DM> KK> > File system in question is 200G gmirror on SATA. Usually making a snapshot DM> KK> > (e.g., for making dumps) consumes 3-4 minutes for that fs, so it seems to me DM> KK> > that filesystem is in a deadlock. DM> KK> DM> KK> Is the process performing I/O? Background fsck deliberately runs at a DM> KK> slow rate so it does not destroy I/O performance on the rest of the DM> KK> system. DM> DM> Nope. For that case, 50+ smbds had been locked in 'ufs' state, so I've been DM> urged to revive the machine and reboot, turning off bgfsck. DM> DM> This night, dump -L locks in the same position on the same filesystem: DM> DM> 0 2887 2886 0 -4 0 1260 692 snaplk D ?? 0:01.28 DM> /sbin/mksnap_ffs root 0.0 0.1 5:19AM DM> DM> it has been started at 5:19am, and now is 9:20 - no disk activity DM> DM> DM> For the reference: it's fresh RELENG_6_1/i386. Just rechecked it: did mksnap_ffs on an otherwise idle file system: marck@office:/> mksnap_ffs /st /st/.snap/test_snapshot load: 0.02 cmd: mksnap_ffs 4012 [biord] 0.00u 0.04s 0% 696k load: 0.04 cmd: mksnap_ffs 4012 [biord] 0.00u 0.44s 0% 696k load: 0.21 cmd: mksnap_ffs 4012 [snaprdb] 0.00u 1.17s 0% 696k load: 0.20 cmd: mksnap_ffs 4012 [snaprdb] 0.00u 1.23s 0% 696k load: 0.13 cmd: mksnap_ffs 4012 [snaplk] 0.00u 1.30s 0% 696k load: 0.08 cmd: mksnap_ffs 4012 [snaplk] 0.00u 1.30s 0% 696k load: 0.01 cmd: mksnap_ffs 4012 [snaplk] 0.00u 1.30s 0% 696k (I hit ^T several times) biord phase consumes about 1.5-2 mins, snaprdb phase - about 30-40 secs, and then process died. Most disk requests succeeds; however, accessing /st/.snap locks process in ufs state forever. What bothers me most is that it is the only machine reproducibly hangs in snapshots, and it did not hang before RELENG_5 -> RELENG_6 upgrade. Other RELENG_6 machines do snapshot backups flawlessly (knock-on-wood!) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 18:07:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5962316A40A for ; Mon, 24 Apr 2006 18:07:19 +0000 (UTC) (envelope-from freebsd-stable@chef-ingenieur.de) Received: from mta.webmatic.de (mta.webmatic.de [212.78.99.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D05043DBE for ; Mon, 24 Apr 2006 18:07:01 +0000 (GMT) (envelope-from freebsd-stable@chef-ingenieur.de) Received: (qmail 7939 invoked by uid 89); 24 Apr 2006 18:06:56 -0000 Received: by simscan 1.1.0 ppid: 7933, pid: 7935, t: 1.2820s scanners: attach: 1.1.0 clamav: 0.87.1/m:34/d:1205 spam: 3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mta.webmatic.de X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.1.0 Received: from unknown (HELO ?192.168.1.145?) (freebsd-stable@chef-ingenieur.de@217.186.17.1) by mta.webmatic.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 24 Apr 2006 18:06:54 -0000 Message-ID: <444D13C2.5010104@chef-ingenieur.de> Date: Mon, 24 Apr 2006 20:06:58 +0200 From: Thomas Krause User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Dmitry Morozovsky References: <2619.217.188.193.85.1145889314.squirrel@mta.webmatic.de> <20060424212458.C36233@woozle.rinet.ru> In-Reply-To: <20060424212458.C36233@woozle.rinet.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: HP DL145G2 SCSC Raid Controlle Q X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 18:07:19 -0000 Dmitry Morozovsky schrieb: > On Mon, 24 Apr 2006, Thomas Krause wrote: > > TK> Hello, > TK> I hope, this question is not off topic for this list. > TK> In the HP config tool for the DL145 I can select a > TK> HP PL100 SCSI RAID Controller (PN 355671-B21) > TK> Does this controller work with FreeBSD? I'm not sure, if this > TK> is a relabled LSI controller. > > Should work: > > mpt0: port 0x2000-0x20ff mem > 0xd8120000-0xd813ffff,0xd8100000-0xd811ffff irq 32 at device 1.0 on pci134 mhh, isn't mpt only a SCSI controller (not a RAID controller)? best regards, Thomas. From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 18:16:12 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 670A416A400 for ; Mon, 24 Apr 2006 18:16:12 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D942743D46 for ; Mon, 24 Apr 2006 18:16:11 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id AC60D1A4DEA; Mon, 24 Apr 2006 11:16:11 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 083E75581F; Mon, 24 Apr 2006 14:15:31 -0400 (EDT) Date: Mon, 24 Apr 2006 14:15:31 -0400 From: Kris Kennaway To: Dmitry Morozovsky Message-ID: <20060424181531.GA13774@xor.obsecurity.org> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <20060424215650.P36233@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 18:16:12 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 24, 2006 at 10:04:57PM +0400, Dmitry Morozovsky wrote: > On Mon, 24 Apr 2006, Dmitry Morozovsky wrote: >=20 > DM> kKK> > one of my servers had to be rebooted uncleanly and then I have= backgrounded=20 > DM> KK> > fsck locked for more than an our in snaplk: > DM> KK> >=20 > DM> KK> > 742 root 1 -4 4 1320K 688K snaplk 0:02 0.00% = fsck_ufs > DM> KK> >=20 > DM> KK> > File system in question is 200G gmirror on SATA. Usually making= a snapshot=20 > DM> KK> > (e.g., for making dumps) consumes 3-4 minutes for that fs, so i= t seems to me=20 > DM> KK> > that filesystem is in a deadlock. > DM> KK>=20 > DM> KK> Is the process performing I/O? Background fsck deliberately runs= at a > DM> KK> slow rate so it does not destroy I/O performance on the rest of t= he > DM> KK> system. > DM>=20 > DM> Nope. For that case, 50+ smbds had been locked in 'ufs' state, so I'v= e been=20 > DM> urged to revive the machine and reboot, turning off bgfsck. > DM>=20 > DM> This night, dump -L locks in the same position on the same filesystem: > DM>=20 > DM> 0 2887 2886 0 -4 0 1260 692 snaplk D ?? 0:01.28=20 > DM> /sbin/mksnap_ffs root 0.0 0.1 5:19AM > DM>=20 > DM> it has been started at 5:19am, and now is 9:20 - no disk activity > DM>=20 > DM>=20 > DM> For the reference: it's fresh RELENG_6_1/i386. >=20 > Just rechecked it: did mksnap_ffs on an otherwise idle file system: >=20 > marck@office:/> mksnap_ffs /st /st/.snap/test_snapshot > load: 0.02 cmd: mksnap_ffs 4012 [biord] 0.00u 0.04s 0% 696k > load: 0.04 cmd: mksnap_ffs 4012 [biord] 0.00u 0.44s 0% 696k > load: 0.21 cmd: mksnap_ffs 4012 [snaprdb] 0.00u 1.17s 0% 696k > load: 0.20 cmd: mksnap_ffs 4012 [snaprdb] 0.00u 1.23s 0% 696k > load: 0.13 cmd: mksnap_ffs 4012 [snaplk] 0.00u 1.30s 0% 696k > load: 0.08 cmd: mksnap_ffs 4012 [snaplk] 0.00u 1.30s 0% 696k > load: 0.01 cmd: mksnap_ffs 4012 [snaplk] 0.00u 1.30s 0% 696k >=20 > (I hit ^T several times) >=20 > biord phase consumes about 1.5-2 mins, > snaprdb phase - about 30-40 secs, and then process died. Most disk reques= ts > succeeds; however, accessing /st/.snap locks process in ufs state forever. >=20 > What bothers me most is that it is the only machine reproducibly hangs in= =20 > snapshots, and it did not hang before RELENG_5 -> RELENG_6 upgrade. Other= =20 > RELENG_6 machines do snapshot backups flawlessly (knock-on-wood!) Are you quite certain it's running up-to-date RELENG_6_1? All known snapshot deadlock issues were believed to have been fixed a few weeks ago. If so, we might need you to enable extra debugging to track this down. Kris --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETRXDWry0BWjoQKURAiHAAJ9Dlg3ehtWg06XT6ERDLL2iwDR63QCgrWcO MynIxdzcBJxfC6iWGfzMsDg= =m4+C -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 18:18:11 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B886816A40B for ; Mon, 24 Apr 2006 18:18:11 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from aaron.protected-networks.net (aaron.protected-networks.net [202.12.127.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62EC043D76 for ; Mon, 24 Apr 2006 18:17:55 +0000 (GMT) (envelope-from imb@protected-networks.net) Received: from localhost (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id AD050C7D6; Mon, 24 Apr 2006 14:17:54 -0400 (EDT) Received: from aaron.protected-networks.net (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id 3C9B0C7CA; Mon, 24 Apr 2006 14:17:47 -0400 (EDT) Authentication-Results: aaron.protected-networks.net from=imb@protected-networks.net; domainkey=pass Received: from aaron.protected-networks.net (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id CE8ACC669; Mon, 24 Apr 2006 14:17:46 -0400 (EDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=200509; d=protected-networks.net; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type; b=nmQs1tXUfv+6lUVKEJmAzwEVCvTCT8+HjQkwTMj71OsAQCnysZxiRCDDwl0xAYfzd16UBriGbC7YzH2adhosLlX5NXE+DMEaN0sWs8Mh0KWfCWwersXIjk5TEKFVedsH; Received: from [192.168.1.11] (c-24-218-147-31.hsd1.ma.comcast.net [24.218.147.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Iain Michael Butler", Issuer "Protected Networks Certificate Authority" (verified OK)) by aaron.protected-networks.net (Postfix) with ESMTP id 92F95C250; Mon, 24 Apr 2006 14:17:46 -0400 (EDT) Message-ID: <444D1648.4040100@protected-networks.net> Date: Mon, 24 Apr 2006 14:17:44 -0400 From: Michael Butler User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Dmitry Morozovsky References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> In-Reply-To: <20060424215650.P36233@woozle.rinet.ru> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms080209070206050007080003" Cc: stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 18:18:11 -0000 This is a cryptographically signed message in MIME format. --------------ms080209070206050007080003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dmitry Morozovsky wrote: > one of my servers had to be rebooted uncleanly and then I have backgrounded > fsck locked for more than an our in snaplk: Given that this system came down uncleanly, have you tried starting up in single-user and manually doing an fsck (without '-p') on the afflicted file-system? My guess is that there's something there which can't be resolved automagically, -- Michael Butler, CISSP Security Architect Protected Networks http://www.protected-networks.net --------------ms080209070206050007080003 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIN0DCC BuQwggTMoAMCAQICATEwDQYJKoZIhvcNAQEFBQAwgccxCzAJBgNVBAYTAlVTMQswCQYDVQQI EwJNQTEQMA4GA1UEBxMHTWVkZm9yZDEbMBkGA1UEChMSUHJvdGVjdGVkIE5ldHdvcmtzMR4w HAYDVQQLExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxMTAvBgNVBAMTKFByb3RlY3RlZCBOZXR3 b3JrcyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxKTAnBgkqhkiG9w0BCQEWGmltYkBwcm90ZWN0 ZWQtbmV0d29ya3MubmV0MB4XDTA2MDIwNzE0MDE0NloXDTExMDMwODE0MDE0NlowgagxCzAJ BgNVBAYTAlVTMQswCQYDVQQIEwJNQTEQMA4GA1UEBxMHTWVkZm9yZDEbMBkGA1UEChMSUHJv dGVjdGVkIE5ldHdvcmtzMRQwEgYDVQQLEwtNYWlsIGNsaWVudDEcMBoGA1UEAxMTSWFpbiBN aWNoYWVsIEJ1dGxlcjEpMCcGCSqGSIb3DQEJARYaaW1iQHByb3RlY3RlZC1uZXR3b3Jrcy5u ZXQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALJGiIrZoBOaYG7p44h64oIsBmQmi0n4 vfRKAdQY1TGGXAWWAWjdhJDUJJCLrkv2a3chbEBWfKOr+n8vHV5wI5fHN7Yp+9R7wVQ5Hb/F rUp3fZPRx83rd8+FvrtBLcfKDT7J8cIaUF+I14YTPFMSf6thm55hrjLIUB2FlPFrcH/7AgMB AAGjggJ6MIICdjAJBgNVHRMEAjAAMBEGCWCGSAGG+EIBAQQEAwIEsDBGBglghkgBhvhCAQ0E ORY3Q2VydGlmaWNhdGUgaXNzdWVkIGJ5IGh0dHA6Ly93d3cucHJvdGVjdGVkLW5ldHdvcmtz Lm5ldDAdBgNVHQ4EFgQUKTHICg24Uox83sZjRL50XypVU0IwgfwGA1UdIwSB9DCB8YAUVEXu oZyg4TYTDDa5wzviGlSDFj6hgc2kgcowgccxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJNQTEQ MA4GA1UEBxMHTWVkZm9yZDEbMBkGA1UEChMSUHJvdGVjdGVkIE5ldHdvcmtzMR4wHAYDVQQL ExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxMTAvBgNVBAMTKFByb3RlY3RlZCBOZXR3b3JrcyBD ZXJ0aWZpY2F0ZSBBdXRob3JpdHkxKTAnBgkqhkiG9w0BCQEWGmltYkBwcm90ZWN0ZWQtbmV0 d29ya3MubmV0ggkAzFwjxK9/fmIwJQYDVR0SBB4wHIEaaW1iQHByb3RlY3RlZC1uZXR3b3Jr cy5uZXQwRwYJYIZIAYb4QgEEBDoWOGh0dHA6Ly93d3cucHJvdGVjdGVkLW5ldHdvcmtzLm5l dC9Qcm90ZWN0ZWRfTmV0d29ya3MuY3JsMEkGA1UdHwRCMEAwPqA8oDqGOGh0dHA6Ly93d3cu cHJvdGVjdGVkLW5ldHdvcmtzLm5ldC9Qcm90ZWN0ZWRfTmV0d29ya3MuY3JsMCUGA1UdEQQe MByBGmltYkBwcm90ZWN0ZWQtbmV0d29ya3MubmV0MA4GA1UdDwEB/wQEAwIF4DANBgkqhkiG 9w0BAQUFAAOCAgEAlS1aZVoA0yQSiK8Jds1K1pZE7dvE6yJHcih3tMqBah5tzTHMDBoeuu7b rJ6lEbYM6r/y1WSJ+0PtMyMac/QxAw1nEtKmECOcNMUlwjiazDonHKNw/BjyCcZZ18SRL63p Jr209xa6c93PfSUFkM2ya8TfHnAjcfcR8NNsr53I6g/jItLqTltY56xglP8OVjDf7fXpzXhV 8w66pmye0tTldcTE95YjVGhr24aM5l42Mp6wveHQIaO9nALa5p3ujqMX72EpCG/phC7dy/2g xdhG7epqtWCEsC7XI4CrBke/fx4TO0T5tLhKGLFtNeqHXl3CjFnxGv9HAm6vutDpM90sTs5e F1M04tM2b7asNKAj0o1AOm0TIPk8obIOnu/8ifbOIOax8WtsbaR9wbpi5JU10FZdZPYfx91b NMztR/1ViCTsvAxPkluU3/I2EPjQZKpbwu7h06D+FH++9aStylZL0N9Hyf09EsYfYL3LGzWn NkMmmzSRHYtD8dHHWpby9OLsWtvKOqG7nrE0e5QZ8CWmc8xeAa4vGQDRTqkk3ALwiUeI/LG7 IoBCqVQXJWnTPtD2wcssG2j9phlDBa5XRo49yC/MTYOHmuAib/oORtsMR49Pv4/wTVNcwvZ+ iY473W36N0mfXXcEL7GD2OPzl89vIBLeUeP5gl3sKoV2JqYJBzwwggbkMIIEzKADAgECAgEx MA0GCSqGSIb3DQEBBQUAMIHHMQswCQYDVQQGEwJVUzELMAkGA1UECBMCTUExEDAOBgNVBAcT B01lZGZvcmQxGzAZBgNVBAoTElByb3RlY3RlZCBOZXR3b3JrczEeMBwGA1UECxMVQ2VydGlm aWNhdGUgQXV0aG9yaXR5MTEwLwYDVQQDEyhQcm90ZWN0ZWQgTmV0d29ya3MgQ2VydGlmaWNh dGUgQXV0aG9yaXR5MSkwJwYJKoZIhvcNAQkBFhppbWJAcHJvdGVjdGVkLW5ldHdvcmtzLm5l dDAeFw0wNjAyMDcxNDAxNDZaFw0xMTAzMDgxNDAxNDZaMIGoMQswCQYDVQQGEwJVUzELMAkG A1UECBMCTUExEDAOBgNVBAcTB01lZGZvcmQxGzAZBgNVBAoTElByb3RlY3RlZCBOZXR3b3Jr czEUMBIGA1UECxMLTWFpbCBjbGllbnQxHDAaBgNVBAMTE0lhaW4gTWljaGFlbCBCdXRsZXIx KTAnBgkqhkiG9w0BCQEWGmltYkBwcm90ZWN0ZWQtbmV0d29ya3MubmV0MIGfMA0GCSqGSIb3 DQEBAQUAA4GNADCBiQKBgQCyRoiK2aATmmBu6eOIeuKCLAZkJotJ+L30SgHUGNUxhlwFlgFo 3YSQ1CSQi65L9mt3IWxAVnyjq/p/Lx1ecCOXxze2KfvUe8FUOR2/xa1Kd32T0cfN63fPhb67 QS3Hyg0+yfHCGlBfiNeGEzxTEn+rYZueYa4yyFAdhZTxa3B/+wIDAQABo4ICejCCAnYwCQYD VR0TBAIwADARBglghkgBhvhCAQEEBAMCBLAwRgYJYIZIAYb4QgENBDkWN0NlcnRpZmljYXRl IGlzc3VlZCBieSBodHRwOi8vd3d3LnByb3RlY3RlZC1uZXR3b3Jrcy5uZXQwHQYDVR0OBBYE FCkxyAoNuFKMfN7GY0S+dF8qVVNCMIH8BgNVHSMEgfQwgfGAFFRF7qGcoOE2Eww2ucM74hpU gxY+oYHNpIHKMIHHMQswCQYDVQQGEwJVUzELMAkGA1UECBMCTUExEDAOBgNVBAcTB01lZGZv cmQxGzAZBgNVBAoTElByb3RlY3RlZCBOZXR3b3JrczEeMBwGA1UECxMVQ2VydGlmaWNhdGUg QXV0aG9yaXR5MTEwLwYDVQQDEyhQcm90ZWN0ZWQgTmV0d29ya3MgQ2VydGlmaWNhdGUgQXV0 aG9yaXR5MSkwJwYJKoZIhvcNAQkBFhppbWJAcHJvdGVjdGVkLW5ldHdvcmtzLm5ldIIJAMxc I8Svf35iMCUGA1UdEgQeMByBGmltYkBwcm90ZWN0ZWQtbmV0d29ya3MubmV0MEcGCWCGSAGG +EIBBAQ6FjhodHRwOi8vd3d3LnByb3RlY3RlZC1uZXR3b3Jrcy5uZXQvUHJvdGVjdGVkX05l dHdvcmtzLmNybDBJBgNVHR8EQjBAMD6gPKA6hjhodHRwOi8vd3d3LnByb3RlY3RlZC1uZXR3 b3Jrcy5uZXQvUHJvdGVjdGVkX05ldHdvcmtzLmNybDAlBgNVHREEHjAcgRppbWJAcHJvdGVj dGVkLW5ldHdvcmtzLm5ldDAOBgNVHQ8BAf8EBAMCBeAwDQYJKoZIhvcNAQEFBQADggIBAJUt WmVaANMkEoivCXbNStaWRO3bxOsiR3Iod7TKgWoebc0xzAwaHrru26yepRG2DOq/8tVkiftD 7TMjGnP0MQMNZxLSphAjnDTFJcI4msw6JxyjcPwY8gnGWdfEkS+t6Sa9tPcWunPdz30lBZDN smvE3x5wI3H3EfDTbK+dyOoP4yLS6k5bWOesYJT/DlYw3+316c14VfMOuqZsntLU5XXExPeW I1Roa9uGjOZeNjKesL3h0CGjvZwC2uad7o6jF+9hKQhv6YQu3cv9oMXYRu3qarVghLAu1yOA qwZHv38eEztE+bS4ShixbTXqh15dwoxZ8Rr/RwJur7rQ6TPdLE7OXhdTNOLTNm+2rDSgI9KN QDptEyD5PKGyDp7v/In2ziDmsfFrbG2kfcG6YuSVNdBWXWT2H8fdWzTM7Uf9VYgk7LwMT5Jb lN/yNhD40GSqW8Lu4dOg/hR/vvWkrcpWS9DfR8n9PRLGH2C9yxs1pzZDJps0kR2LQ/HRx1qW 8vTi7Frbyjqhu56xNHuUGfAlpnPMXgGuLxkA0U6pJNwC8IlHiPyxuyKAQqlUFyVp0z7Q9sHL LBto/aYZQwWuV0aOPcgvzE2Dh5rgIm/6DkbbDEePT7+P8E1TXML2fomOO91t+jdJn113BC+x g9jj85fPbyAS3lHj+YJd7CqFdiamCQc8MYID7TCCA+kCAQEwgc0wgccxCzAJBgNVBAYTAlVT MQswCQYDVQQIEwJNQTEQMA4GA1UEBxMHTWVkZm9yZDEbMBkGA1UEChMSUHJvdGVjdGVkIE5l dHdvcmtzMR4wHAYDVQQLExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxMTAvBgNVBAMTKFByb3Rl Y3RlZCBOZXR3b3JrcyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxKTAnBgkqhkiG9w0BCQEWGmlt YkBwcm90ZWN0ZWQtbmV0d29ya3MubmV0AgExMAkGBSsOAwIaBQCgggJ1MBgGCSqGSIb3DQEJ AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA2MDQyNDE4MTc0NFowIwYJKoZIhvcN AQkEMRYEFAhc7Cp5Pw+7T0bYzI4rB+baNQL2MFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcN AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC AgEoMIHeBgkrBgEEAYI3EAQxgdAwgc0wgccxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJNQTEQ MA4GA1UEBxMHTWVkZm9yZDEbMBkGA1UEChMSUHJvdGVjdGVkIE5ldHdvcmtzMR4wHAYDVQQL ExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxMTAvBgNVBAMTKFByb3RlY3RlZCBOZXR3b3JrcyBD ZXJ0aWZpY2F0ZSBBdXRob3JpdHkxKTAnBgkqhkiG9w0BCQEWGmltYkBwcm90ZWN0ZWQtbmV0 d29ya3MubmV0AgExMIHgBgsqhkiG9w0BCRACCzGB0KCBzTCBxzELMAkGA1UEBhMCVVMxCzAJ BgNVBAgTAk1BMRAwDgYDVQQHEwdNZWRmb3JkMRswGQYDVQQKExJQcm90ZWN0ZWQgTmV0d29y a3MxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1dGhvcml0eTExMC8GA1UEAxMoUHJvdGVjdGVk IE5ldHdvcmtzIENlcnRpZmljYXRlIEF1dGhvcml0eTEpMCcGCSqGSIb3DQEJARYaaW1iQHBy b3RlY3RlZC1uZXR3b3Jrcy5uZXQCATEwDQYJKoZIhvcNAQEBBQAEgYCK2t4w9oUyC1bkg1+q c51xxSTKHRjfrFkEpHwkK0is6arRPr6Zd4R97OBuX5cW56ohwVAJnDWZCOsNwtnXnPYOi+GV 8ATBSXWvr1O2AkeoJwqBd/1EUqzo46TJxfBwPoc9TesOle6XbhJb0D+qAoSeyLUkHJHfqfWq ZYKTWsSQ2gAAAAAAAA== --------------ms080209070206050007080003-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 19:17:50 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E76CB16A400; Mon, 24 Apr 2006 19:17:49 +0000 (UTC) (envelope-from hlh@restart.be) Received: from oola.is.scarlet.be (oola.is.scarlet.be [193.74.71.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B1643D46; Mon, 24 Apr 2006 19:17:46 +0000 (GMT) (envelope-from hlh@restart.be) Received: from ([62.235.0.66]) by oola.is.scarlet.be with ESMTP id k3OJHfj11704; Mon, 24 Apr 2006 21:17:44 +0200 Received: from [192.168.24.1] (norquay.restart.bel [192.168.24.1]) (authenticated bits=0) by restart.be (8.13.6/8.13.6) with ESMTP id k3OJHTwi030359; Mon, 24 Apr 2006 21:17:30 +0200 (CEST) (envelope-from hlh@restart.be) DomainKey-Signature: a=rsa-sha1; s=norquay; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:content-type: content-transfer-encoding:received-spf:x-spam-status:x-scanned-by; b=WKHqjJCc26kU9aNomwiq/y5h9LOmrQKh/MWlwqhlM5Y9nKvElPZZ4MJHOwwedy/Z7 uszzPqyOj/ofmXlzaTFdQ== Message-ID: <444D2449.4080102@restart.be> Date: Mon, 24 Apr 2006 21:17:29 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: stable@freebsd.org References: <20060420093147.7j9stegaiocc0ok4@webmail.restart.be> <20060424142455.G44099@fledge.watson.org> In-Reply-To: <20060424142455.G44099@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass (restart.be: 192.168.24.1 is authenticated by a trusted mechanism) X-Spam-Status: -1.311 (ALL_TRUSTED,AWL) X-Scanned-By: MIMEDefang 2.56 on 192.168.24.1 X-DCC-scarlet.be-Metrics: oola 2020; Body=2 Fuz1=2 Fuz2=2 Cc: Robert Watson Subject: Re: 6.1RC system nearly freezing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 19:17:50 -0000 Robert Watson wrote: > > On Thu, 20 Apr 2006, Henri Hennebert wrote: > >> I upgrade a web, squid, mail server (under SMP with 2 pentium III) to >> 6.1-RC (Apr 9 2006) and encounter 2 `freezing'. >> >> The system is still responding to http requests but I can't login on >> the console or through ssh -- no shell prompt. No more mail delivery. >> >> I break to KDB and found more then 1000 sendmail processes waiting for >> devfs... >> >> call boot(0) can't complete the shutdown process. >> >> I join the KDB informations. Let me know if more informations are needed. > > Are you running with WITNESS and INVARIANTS enabled? If not, could you > do so and see if the problem is reproduceable, and if so, whether or not > WITNESS (and friends) generate any warnings? > > It looks like something has leaked a lock, resulting in deadlock. The > question is, however, which lock, and where. WITNESS may be able to > provide some insight into this; if you could run "show alllocks" with > WITNESS in place, that would be helpful also. I add WITNESS and INVARIANTS to my config and the next freeze/boot will have it [see PS]. This server is in production and running with a newer kernel for more than 5 days now. The diff (from apr 13) with the previous kernel [the one with the last freeze] are: Connected to cvsup.ciger.be Updating collection src-all/cvs Edit src/etc/sendmail/freebsd.mc Edit src/etc/sendmail/freebsd.submit.mc Edit src/lib/libc/gen/vis.3 Edit src/release/doc/en_US.ISO8859-1/hardware/common/dev.sgml Edit src/release/doc/share/misc/dev.archlist.txt Edit src/sbin/geom/core/geom.c Edit src/share/man/man4/Makefile Checkout src/share/man/man4/bce.4 Edit src/share/man/man4/miibus.4 Edit src/sys/amd64/conf/GENERIC Edit src/sys/conf/files Edit src/sys/conf/options Checkout src/sys/dev/bce/if_bce.c Checkout src/sys/dev/bce/if_bcefw.h Checkout src/sys/dev/bce/if_bcereg.h Edit src/sys/dev/ipw/if_ipw.c Edit src/sys/dev/ipw/if_ipwvar.h Edit src/sys/dev/mii/brgphy.c Edit src/sys/dev/mii/miidevs Edit src/sys/i386/conf/GENERIC Edit src/sys/modules/Makefile Checkout src/sys/modules/bce/Makefile Edit src/usr.sbin/wpa/wpa_supplicant/Packet32.c Finished successfully Maybe something in this changes make things better ? Anyway, I will reboot this night (with WITNESS and friends) but maybe have to reverse it if the performances are too bad :-/ Thanks for your concern, Henri P.S. ARGH... buildkernel failed with: cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/dev/ata/atapi-cd.c /usr/src/sys/dev/ata/atapi-cd.c: In function `acd_geom_attach': /usr/src/sys/dev/ata/atapi-cd.c:179: warning: implicit declaration of function `_sx_assert' /usr/src/sys/dev/ata/atapi-cd.c:179: warning: nested extern declaration of `_sx_assert' *** Error code 1 Stop in /usr/obj/usr/src/sys/MORZINE. *** Error code 1 Stop in /usr/src. *** Error code 1 I run cvsup and retry... I keep you posted. > > Robert N M Watson From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 19:20:54 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB38216A403 for ; Mon, 24 Apr 2006 19:20:54 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0410B43D55 for ; Mon, 24 Apr 2006 19:20:54 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 896BA46CD2; Mon, 24 Apr 2006 15:20:50 -0400 (EDT) Date: Mon, 24 Apr 2006 20:20:50 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Henri Hennebert In-Reply-To: <444D2449.4080102@restart.be> Message-ID: <20060424202017.K51337@fledge.watson.org> References: <20060420093147.7j9stegaiocc0ok4@webmail.restart.be> <20060424142455.G44099@fledge.watson.org> <444D2449.4080102@restart.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@freebsd.org Subject: Re: 6.1RC system nearly freezing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 19:20:54 -0000 On Mon, 24 Apr 2006, Henri Hennebert wrote: >> Are you running with WITNESS and INVARIANTS enabled? If not, could you do >> so and see if the problem is reproduceable, and if so, whether or not >> WITNESS (and friends) generate any warnings? >> >> It looks like something has leaked a lock, resulting in deadlock. The >> question is, however, which lock, and where. WITNESS may be able to >> provide some insight into this; if you could run "show alllocks" with >> WITNESS in place, that would be helpful also. > > I add WITNESS and INVARIANTS to my config and the next freeze/boot will have > it [see PS]. > > This server is in production and running with a newer kernel for more than 5 > days now. > > The diff (from apr 13) with the previous kernel [the one with the last > freeze] are: Make sure you are also compiling in INVARIANT_SUPPORT and WITNESS_SKIPSPIN. Robert N M Watson > > Connected to cvsup.ciger.be > Updating collection src-all/cvs > Edit src/etc/sendmail/freebsd.mc > Edit src/etc/sendmail/freebsd.submit.mc > Edit src/lib/libc/gen/vis.3 > Edit src/release/doc/en_US.ISO8859-1/hardware/common/dev.sgml > Edit src/release/doc/share/misc/dev.archlist.txt > Edit src/sbin/geom/core/geom.c > Edit src/share/man/man4/Makefile > Checkout src/share/man/man4/bce.4 > Edit src/share/man/man4/miibus.4 > Edit src/sys/amd64/conf/GENERIC > Edit src/sys/conf/files > Edit src/sys/conf/options > Checkout src/sys/dev/bce/if_bce.c > Checkout src/sys/dev/bce/if_bcefw.h > Checkout src/sys/dev/bce/if_bcereg.h > Edit src/sys/dev/ipw/if_ipw.c > Edit src/sys/dev/ipw/if_ipwvar.h > Edit src/sys/dev/mii/brgphy.c > Edit src/sys/dev/mii/miidevs > Edit src/sys/i386/conf/GENERIC > Edit src/sys/modules/Makefile > Checkout src/sys/modules/bce/Makefile > Edit src/usr.sbin/wpa/wpa_supplicant/Packet32.c > Finished successfully > > Maybe something in this changes make things better ? > > Anyway, I will reboot this night (with WITNESS and friends) > but maybe have to reverse it if the performances are too bad :-/ > > Thanks for your concern, > > Henri > > P.S. > > ARGH... > > buildkernel failed with: > > cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath > -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm > -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include > opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 > --param large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -ffreestanding -Werror /usr/src/sys/dev/ata/atapi-cd.c > /usr/src/sys/dev/ata/atapi-cd.c: In function `acd_geom_attach': > /usr/src/sys/dev/ata/atapi-cd.c:179: warning: implicit declaration of > function `_sx_assert' > /usr/src/sys/dev/ata/atapi-cd.c:179: warning: nested extern declaration of > `_sx_assert' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/MORZINE. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > I run cvsup and retry... > > I keep you posted. > >> >> Robert N M Watson > From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 20:24:09 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C2816A402 for ; Mon, 24 Apr 2006 20:24:09 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B20B43D49 for ; Mon, 24 Apr 2006 20:24:08 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3OKO7vf044650; Tue, 25 Apr 2006 00:24:07 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 25 Apr 2006 00:24:07 +0400 (MSD) From: Dmitry Morozovsky To: Kris Kennaway In-Reply-To: <20060424181531.GA13774@xor.obsecurity.org> Message-ID: <20060425001751.S44618@woozle.rinet.ru> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Tue, 25 Apr 2006 00:24:07 +0400 (MSD) Cc: stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 20:24:09 -0000 On Mon, 24 Apr 2006, Kris Kennaway wrote: KK> > What bothers me most is that it is the only machine reproducibly hangs in KK> > snapshots, and it did not hang before RELENG_5 -> RELENG_6 upgrade. Other KK> > RELENG_6 machines do snapshot backups flawlessly (knock-on-wood!) KK> KK> Are you quite certain it's running up-to-date RELENG_6_1? All known KK> snapshot deadlock issues were believed to have been fixed a few weeks KK> ago. If so, we might need you to enable extra debugging to track this KK> down. Yes, I'm sure it's recent RELENG_6_1: marck@office:/usr/src> cvs stat sys/ufs/ffs/ffs_snapshot.c =================================================================== File: ffs_snapshot.c Status: Up-to-date Working revision: 1.103.2.5 Repository revision: 1.103.2.5 /home/ncvs/src/sys/ufs/ffs/ffs_snapshot.c,v Sticky Tag: RELENG_6_1 (branch: 1.103.2.5.2) Sticky Date: (none) Sticky Options: (none) marck@office:/usr/src> cvs -R up P etc/rc.d/SERVERS P release/doc/en_US.ISO8859-1/errata/article.sgml P release/doc/en_US.ISO8859-1/relnotes/common/new.sgml P release/doc/share/sgml/release.ent P release/doc/zh_CN.GB2312/errata/article.sgml P release/doc/zh_CN.GB2312/relnotes/common/new.sgml P sys/amd64/amd64/identcpu.c P sys/amd64/amd64/initcpu.c P sys/amd64/amd64/pmap.c P sys/amd64/include/md_var.h P sys/amd64/include/specialreg.h P sys/i386/i386/identcpu.c P sys/i386/i386/initcpu.c P sys/i386/include/md_var.h P sys/i386/include/specialreg.h P sys/ia64/ia64/nexus.c (all these changes are non-relevant, are they?) I'll try to build DDB kernel tomorrow evening to check. Which commands should I issue in ddb ? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 20:25:39 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBD4216A402 for ; Mon, 24 Apr 2006 20:25:39 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CAD543D46 for ; Mon, 24 Apr 2006 20:25:38 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3OKPblJ044717; Tue, 25 Apr 2006 00:25:38 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 25 Apr 2006 00:25:37 +0400 (MSD) From: Dmitry Morozovsky To: Michael Butler In-Reply-To: <444D1648.4040100@protected-networks.net> Message-ID: <20060425002421.W44618@woozle.rinet.ru> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <444D1648.4040100@protected-networks.net> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Tue, 25 Apr 2006 00:25:38 +0400 (MSD) Cc: stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 20:25:39 -0000 On Mon, 24 Apr 2006, Michael Butler wrote: MB> Dmitry Morozovsky wrote: MB> > one of my servers had to be rebooted uncleanly and then I have MB> > backgrounded fsck locked for more than an our in snaplk: MB> MB> Given that this system came down uncleanly, have you tried starting up in MB> single-user and manually doing an fsck (without '-p') on the afflicted MB> file-system? My guess is that there's something there which can't be MB> resolved automagically, Yes I did, and I'd completely disabled bgfsck. However, after it I got snapshot lock in nightly backup, and a second one on a manual test. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 20:28:32 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 550A916A400; Mon, 24 Apr 2006 20:28:32 +0000 (UTC) (envelope-from hlh@restart.be) Received: from guri.is.scarlet.be (guri.is.scarlet.be [193.74.71.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 664C443D5C; Mon, 24 Apr 2006 20:28:27 +0000 (GMT) (envelope-from hlh@restart.be) Received: from ([62.235.0.66]) by guri.is.scarlet.be with ESMTP id k3OKSIB15547; Mon, 24 Apr 2006 22:28:19 +0200 Received: from [192.168.24.1] (norquay.restart.bel [192.168.24.1]) (authenticated bits=0) by restart.be (8.13.6/8.13.6) with ESMTP id k3OKSBI8031547; Mon, 24 Apr 2006 22:28:12 +0200 (CEST) (envelope-from hlh@restart.be) DomainKey-Signature: a=rsa-sha1; s=norquay; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:content-type:received-spf:x-scanned-by; b=QVtqFMcjJcO+Yw9osVo/5ZzTy1Kag5bzBpQmJJaudLPJb8BvN8upUkHSFkT0Cabq7 6RudSbsGUhHyTkB3VB/ow== Message-ID: <444D34DB.30600@restart.be> Date: Mon, 24 Apr 2006 22:28:11 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: stable@freebsd.org References: <20060420093147.7j9stegaiocc0ok4@webmail.restart.be> <20060424142455.G44099@fledge.watson.org> <444D2449.4080102@restart.be> <20060424202017.K51337@fledge.watson.org> In-Reply-To: <20060424202017.K51337@fledge.watson.org> Content-Type: multipart/mixed; boundary="------------060403060808030300070706" Received-SPF: pass (restart.be: 192.168.24.1 is authenticated by a trusted mechanism) X-Scanned-By: MIMEDefang 2.56 on 192.168.24.1 X-DCC-scarlet.be-Metrics: guri 2020; Body=2 Fuz1=2 Fuz2=2 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Robert Watson Subject: Re: 6.1RC system nearly freezing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 20:28:32 -0000 This is a multi-part message in MIME format. --------------060403060808030300070706 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Robert Watson wrote: > > On Mon, 24 Apr 2006, Henri Hennebert wrote: > >>> Are you running with WITNESS and INVARIANTS enabled? If not, could >>> you do so and see if the problem is reproduceable, and if so, whether >>> or not WITNESS (and friends) generate any warnings? >>> >>> It looks like something has leaked a lock, resulting in deadlock. >>> The question is, however, which lock, and where. WITNESS may be able >>> to provide some insight into this; if you could run "show alllocks" >>> with WITNESS in place, that would be helpful also. >> >> I add WITNESS and INVARIANTS to my config and the next freeze/boot >> will have it [see PS]. >> >> This server is in production and running with a newer kernel for more >> than 5 days now. >> >> The diff (from apr 13) with the previous kernel [the one with the last >> freeze] are: > > Make sure you are also compiling in INVARIANT_SUPPORT and WITNESS_SKIPSPIN. > Sorry. I add this and kernel is builded now. At the first boot I got a panic on a gif interface. I don't need it now so I commented it out of rc.conf.local and reboot. New kernel is running with WITNESS and INVARIANT... System seems not too loaded ... I am at home and the serial console is not connected. I snapshot the KVM of the panic and attatch it to this mail for the record. Henri --- remaining of previous mail clipped --- --------------060403060808030300070706-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 20:29:09 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24C0316A406 for ; Mon, 24 Apr 2006 20:29:09 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1DAD43D45 for ; Mon, 24 Apr 2006 20:29:08 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A4DD01A4DF3; Mon, 24 Apr 2006 13:29:08 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AE9385584C; Mon, 24 Apr 2006 16:28:59 -0400 (EDT) Date: Mon, 24 Apr 2006 16:28:59 -0400 From: Kris Kennaway To: Dmitry Morozovsky Message-ID: <20060424202859.GA18457@xor.obsecurity.org> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20060425001751.S44618@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 20:29:09 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 12:24:07AM +0400, Dmitry Morozovsky wrote: > On Mon, 24 Apr 2006, Kris Kennaway wrote: >=20 > KK> > What bothers me most is that it is the only machine reproducibly ha= ngs in=20 > KK> > snapshots, and it did not hang before RELENG_5 -> RELENG_6 upgrade.= Other=20 > KK> > RELENG_6 machines do snapshot backups flawlessly (knock-on-wood!) > KK>=20 > KK> Are you quite certain it's running up-to-date RELENG_6_1? All known > KK> snapshot deadlock issues were believed to have been fixed a few weeks > KK> ago. If so, we might need you to enable extra debugging to track this > KK> down. >=20 > Yes, I'm sure it's recent RELENG_6_1: >=20 > marck@office:/usr/src> cvs stat sys/ufs/ffs/ffs_snapshot.c=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > File: ffs_snapshot.c Status: Up-to-date >=20 > Working revision: 1.103.2.5 > Repository revision: 1.103.2.5 /home/ncvs/src/sys/ufs/ffs/ffs_sn= apshot.c,v > Sticky Tag: RELENG_6_1 (branch: 1.103.2.5.2) > Sticky Date: (none) > Sticky Options: (none) >=20 > marck@office:/usr/src> cvs -R up > P etc/rc.d/SERVERS > P release/doc/en_US.ISO8859-1/errata/article.sgml > P release/doc/en_US.ISO8859-1/relnotes/common/new.sgml > P release/doc/share/sgml/release.ent > P release/doc/zh_CN.GB2312/errata/article.sgml > P release/doc/zh_CN.GB2312/relnotes/common/new.sgml > P sys/amd64/amd64/identcpu.c > P sys/amd64/amd64/initcpu.c > P sys/amd64/amd64/pmap.c > P sys/amd64/include/md_var.h > P sys/amd64/include/specialreg.h > P sys/i386/i386/identcpu.c > P sys/i386/i386/initcpu.c > P sys/i386/include/md_var.h > P sys/i386/include/specialreg.h > P sys/ia64/ia64/nexus.c >=20 > (all these changes are non-relevant, are they?) Yes. > I'll try to build DDB kernel tomorrow evening to check. Which commands sh= ould I=20 > issue in ddb ? 'show lockedvnods', 'ps' and 'alltrace' are important. Kris --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETTUKWry0BWjoQKURAqyHAKDfv4YZ6UJdPBEKBLWrWM4e+TGixACfdc37 0Klcg/RRUwebMdh/Ggzu9xM= =sE0D -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 20:41:46 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C22F216A404; Mon, 24 Apr 2006 20:41:46 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DBE443D6E; Mon, 24 Apr 2006 20:41:46 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 657E71A4DF7; Mon, 24 Apr 2006 13:41:46 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8449E55850; Mon, 24 Apr 2006 16:41:00 -0400 (EDT) Date: Mon, 24 Apr 2006 16:41:00 -0400 From: Kris Kennaway To: Henri Hennebert Message-ID: <20060424204100.GA18673@xor.obsecurity.org> References: <20060420093147.7j9stegaiocc0ok4@webmail.restart.be> <20060424142455.G44099@fledge.watson.org> <444D2449.4080102@restart.be> <20060424202017.K51337@fledge.watson.org> <444D34DB.30600@restart.be> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <444D34DB.30600@restart.be> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, Robert Watson Subject: Re: 6.1RC system nearly freezing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 20:41:46 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 24, 2006 at 10:28:11PM +0200, Henri Hennebert wrote: > At the first boot I got a panic on a gif interface. I don't need it now so > I commented it out of rc.conf.local and reboot. What panic? This shouldn't happen, naturally. > I am at home and the serial console is not connected. I snapshot the KVM = of=20 > the panic > and attatch it to this mail for the record. Binary attachments are stripped by the list, so you'll need to put this online. Kris --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETTfbWry0BWjoQKURAoVpAJkBi8hkXgR9Zqx14ssW50koxgcfoACfeETp BBAMUcV51/b7hE9ZKOvzneg= =erET -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 20:45:16 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2773716A410 for ; Mon, 24 Apr 2006 20:45:16 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1162643D62 for ; Mon, 24 Apr 2006 20:45:09 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3OKj8DF044939; Tue, 25 Apr 2006 00:45:08 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 25 Apr 2006 00:45:08 +0400 (MSD) From: Dmitry Morozovsky To: Kris Kennaway In-Reply-To: <20060424202859.GA18457@xor.obsecurity.org> Message-ID: <20060425004405.G44618@woozle.rinet.ru> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Tue, 25 Apr 2006 00:45:08 +0400 (MSD) Cc: stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 20:45:16 -0000 On Mon, 24 Apr 2006, Kris Kennaway wrote: KK> > I'll try to build DDB kernel tomorrow evening to check. Which commands should I KK> > issue in ddb ? KK> KK> 'show lockedvnods', 'ps' and 'alltrace' are important. Last note: are these lines added enough? Or some are unneeded? options KDB options KDB_TRACE options KDB_UNATTENDED options DDB options INVARIANTS options INVARIANT_SUPPORT options WITNESS Thanks. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Mon Apr 24 20:51:20 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DFEB16A402 for ; Mon, 24 Apr 2006 20:51:20 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D492C43D46 for ; Mon, 24 Apr 2006 20:51:19 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id BC0EA1A4DF3; Mon, 24 Apr 2006 13:51:19 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9A82455853; Mon, 24 Apr 2006 16:50:26 -0400 (EDT) Date: Mon, 24 Apr 2006 16:50:26 -0400 From: Kris Kennaway To: Dmitry Morozovsky Message-ID: <20060424205026.GA18844@xor.obsecurity.org> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <20060425004405.G44618@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 20:51:20 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 12:45:08AM +0400, Dmitry Morozovsky wrote: > On Mon, 24 Apr 2006, Kris Kennaway wrote: >=20 > KK> > I'll try to build DDB kernel tomorrow evening to check. Which comma= nds should I=20 > KK> > issue in ddb ? > KK>=20 > KK> 'show lockedvnods', 'ps' and 'alltrace' are important. >=20 > Last note: are these lines added enough? Or some are unneeded? >=20 > options KDB_TRACE > options KDB_UNATTENDED These two aren't needed. Also you should add DEBUG_LOCKS and DEBUG_VFS_LOCKS on the off chance they catch the problem. Kris --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETToRWry0BWjoQKURAoJJAJ4/uONCyT8fgT3f15mzvkzDMXiJywCcDVvu IukhrsOmppjxklVyXvuWThc= =Cy9M -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 07:52:20 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC5EE16A402; Tue, 25 Apr 2006 07:52:20 +0000 (UTC) (envelope-from hlh@restart.be) Received: from xizor.is.scarlet.be (xizor.is.scarlet.be [193.74.71.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98EEA43D46; Tue, 25 Apr 2006 07:52:19 +0000 (GMT) (envelope-from hlh@restart.be) Received: from ([62.235.1.39]) by xizor.is.scarlet.be with ESMTP id k3P7qFK24194; Tue, 25 Apr 2006 09:52:15 +0200 Received: from norquay.restart.bel (localhost.restart.bel [127.0.0.1]) by restart.be (8.13.6/8.13.6) with ESMTP id k3P7q3Bo044159; Tue, 25 Apr 2006 09:52:06 +0200 (CEST) (envelope-from hlh@restart.be) DomainKey-Signature: a=rsa-sha1; s=norquay; d=restart.be; c=nofws; q=dns; h=received:x-authentication-warning:message-id:date:from:to:cc: subject:references:in-reply-to:mime-version:content-type: content-disposition:content-transfer-encoding:user-agent:received-spf: x-spam-status:x-scanned-by; b=A1GqL3mUWsdF5aqVK6vq6qX9bcIY7MeqXk2QQ6n8M64HJz6EdUc0BqSBXPA6DGGy0 L56YQHmkASrXYZd4pc2Qg== Received: (from www@localhost) by norquay.restart.bel (8.13.6/8.13.4/Submit) id k3P7q3pm044158; Tue, 25 Apr 2006 09:52:03 +0200 (CEST) X-Authentication-Warning: norquay.restart.bel: www set sender to hlh@restart.be using -f Received: from ip-213-49-158-126.dsl.scarlet.be (ip-213-49-158-126.dsl.scarlet.be [213.49.158.126]) by webmail.restart.be (Horde MIME library) with HTTP; Tue, 25 Apr 2006 09:52:02 +0200 Message-ID: <20060425095202.9phx4qbhusggw0so@webmail.restart.be> Date: Tue, 25 Apr 2006 09:52:02 +0200 From: Henri Hennebert To: Kris Kennaway References: <20060420093147.7j9stegaiocc0ok4@webmail.restart.be> <20060424142455.G44099@fledge.watson.org> <444D2449.4080102@restart.be> <20060424202017.K51337@fledge.watson.org> <444D34DB.30600@restart.be> <20060424204100.GA18673@xor.obsecurity.org> In-Reply-To: <20060424204100.GA18673@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.1) Received-SPF: pass (norquay.restart.bel: localhost is always allowed.) X-Spam-Status: -1.44 (ALL_TRUSTED) X-Scanned-By: MIMEDefang 2.56 on 192.168.24.1 X-DCC-scarlet.be-Metrics: xizor 2020; Body=3 Fuz1=3 Fuz2=3 Cc: stable@freebsd.org, Robert Watson Subject: Re: 6.1RC system nearly freezing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 07:52:20 -0000 Quoting Kris Kennaway : > On Mon, Apr 24, 2006 at 10:28:11PM +0200, Henri Hennebert wrote: > >> At the first boot I got a panic on a gif interface. I don't need it now so >> I commented it out of rc.conf.local and reboot. > > What panic? This shouldn't happen, naturally. The snapshot give more informations > >> I am at home and the serial console is not connected. I snapshot the KVM of >> the panic >> and attatch it to this mail for the record. > > Binary attachments are stripped by the list, so you'll need to put > this online. The snapshot is at http://www.ciger.be/download/snapshot1.png Henri > > Kris > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 09:45:59 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44D6916A406 for ; Tue, 25 Apr 2006 09:45:59 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DB6443D48 for ; Tue, 25 Apr 2006 09:45:57 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3P9juX9068240; Tue, 25 Apr 2006 13:45:56 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 25 Apr 2006 13:45:56 +0400 (MSD) From: Dmitry Morozovsky To: Kris Kennaway In-Reply-To: <20060424205026.GA18844@xor.obsecurity.org> Message-ID: <20060425134418.J57625@woozle.rinet.ru> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Tue, 25 Apr 2006 13:45:56 +0400 (MSD) Cc: stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 09:45:59 -0000 On Mon, 24 Apr 2006, Kris Kennaway wrote: KK> > KK> > I'll try to build DDB kernel tomorrow evening to check. Which commands should I KK> > KK> > issue in ddb ? KK> > KK> KK> > KK> 'show lockedvnods', 'ps' and 'alltrace' are important. KK> > KK> > Last note: are these lines added enough? Or some are unneeded? KK> > KK> KK> > options KDB_TRACE KK> > options KDB_UNATTENDED KK> KK> These two aren't needed. KK> KK> Also you should add DEBUG_LOCKS and DEBUG_VFS_LOCKS on the off chance KK> they catch the problem. I got one thought about the source of these hangs/crashes: this machine is the only one with actively used quotas. I'll test the more thoroughly this evening. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 11:23:07 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8199F16A402 for ; Tue, 25 Apr 2006 11:23:07 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29E9743D45 for ; Tue, 25 Apr 2006 11:23:07 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by mail.ticketswitch.com with esmtp (Exim 4.52 (FreeBSD)) id 1FYLdH-000HaT-PQ for freebsd-stable@FreeBSD.ORG; Tue, 25 Apr 2006 12:23:03 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FYLdH-000Oph-EJ for freebsd-stable@FreeBSD.ORG; Tue, 25 Apr 2006 12:23:03 +0100 To: freebsd-stable@FreeBSD.ORG Message-Id: From: Pete French Date: Tue, 25 Apr 2006 12:23:03 +0100 Cc: Subject: /usr/libexec/save-entropy, IPv4: not found X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 11:23:07 -0000 About an hour ago I started getting regular messages from cron running /usr/libexec/save-entropy which contail the single line "IPv4: not found" Anybody got any ideas ? The only thing I did at that porint was to do an 'rm' of /usr/obj in preparation for compiling this mornings 61 code to test it. Removing /usr/obj should not affect a running system at all. The box is currently running 6.1-RC from last wednesday. When my compile finished I will do a re-install of world, but I am still curious as to what might be causing this! -pcf. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 12:06:33 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA3C116A408 for ; Tue, 25 Apr 2006 12:06:33 +0000 (UTC) (envelope-from freebsd-stable@epcdirect.co.uk) Received: from gunfright.epcdirect.co.uk (gunfright.epcdirect.co.uk [195.10.242.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74D9B43D66 for ; Tue, 25 Apr 2006 12:06:27 +0000 (GMT) (envelope-from freebsd-stable@epcdirect.co.uk) Received: from lfarr (lfarr.adsl.gemsoft.co.uk [195.10.239.114]) by gunfright.epcdirect.co.uk (Postfix) with ESMTP id A41436C8847; Tue, 25 Apr 2006 13:06:26 +0100 (BST) From: "Lawrence Farr" To: "'Brooks Davis'" Date: Tue, 25 Apr 2006 13:06:27 +0100 Message-ID: <040701c66860$ae2fb8b0$c806a8c0@lfarr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: <20060424164915.GB11053@odin.ac.hmc.edu> Thread-Index: AcZnxHFfFhQaM3HJSBC9uUHxSODBOQAm+gMA Cc: freebsd-stable@freebsd.org Subject: RE: Stable Build Error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 12:06:35 -0000 > -----Original Message----- > From: Brooks Davis [mailto:brooks@one-eyed-alien.net] > My telepathy powers aren't working. What's the error? :) See the second message I sent where I didn't accidentally hit ctrl-s instead of ctrl-v when pasting the error in. Doh. Here it is again: I've been seeing the following for a week or so, and have deleted /usr/obj , re-cvsupped and run cd /usr/src && make cleandir && make cleandir make.conf is empty. Anyone got any ideas? ===> kerberos5/tools/make-roken (all) ===> kerberos5/tools/asn1_compile (all) cd /usr/src/kerberos5/tools/asn1_compile/../make-roken && make cc -O2 -fno-strict-aliasing -pipe -I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken -I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_comp ile/../../include -DINET6 -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen.c In file included from ./roken.h:61, from /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_l ocl.h:51, from /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen.c :34: /usr/include/resolv.h:320: error: syntax error before "ns_tsig_key" *** Error code 1 Stop in /usr/src/kerberos5/tools/asn1_compile. *** Error code 1 Stop in /usr/src/kerberos5/tools. *** Error code 1 Stop in /usr/src. *** Error code 1 From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 12:29:59 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CED8D16A405 for ; Tue, 25 Apr 2006 12:29:59 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4530A43D92 for ; Tue, 25 Apr 2006 12:29:51 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k3PCT14l002652 for ; Tue, 25 Apr 2006 14:29:02 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <444E160D.3000401@fer.hr> Date: Tue, 25 Apr 2006 14:29:01 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: ipfw problems? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 12:30:00 -0000 I've just had a weird transient problem on a (very loaded) 2 CPU web server. Suddenly it stopped wanting to connect to the database server with "access denied" error. Looking at security log (I have ipfw logging enabled), I found this: Apr 25 14:17:17 duality kernel: ipfw: 65400 Deny TCP XXX.XXX.XXX.107:5432 161.53.72.111:49213 in via fxp0 Apr 25 14:17:17 duality kernel: ipfw: 65400 Deny TCP XXX.XXX.XXX.107:5432 161.53.72.111:49213 in via fxp0 Apr 25 14:17:17 duality kernel: ipfw: 65400 Deny TCP XXX.XXX.XXX.107:5432 161.53.72.111:53345 in via fxp0 Apr 25 14:17:17 duality kernel: ipfw: 65400 Deny TCP XXX.XXX.XXX.107:5432 161.53.72.111:61865 in via fxp0 And even this: Apr 25 14:17:07 duality kernel: ipfw: 65400 Deny TCP XXX.XXX.XXX.119:80 83.131.225.20:65125 out via fxp0 Apr 25 14:17:08 duality kernel: ipfw: 65400 Deny TCP XXX.XXX.XXX.119:80 83.131.225.20:64431 out via fxp0 Apr 25 14:17:09 duality kernel: ipfw: 65400 Deny TCP XXX.XXX.XXX.111:80 193.198.134.192:1221 out via fxp0 Apr 25 14:17:09 duality kernel: ipfw: 65400 Deny TCP XXX.XXX.XXX.119:80 83.131.225.20:65121 out via fxp0 Apr 25 14:17:09 duality kernel: ipfw: 65400 Deny TCP XXX.XXX.XXX.111:80 83.131.26.194:1171 out via fxp0 .107 is the DB server, .119 and .111 are virtual hosts on this web server. Looking at messages log, there are occasionaly garbled messages involving ipfw: Apr 6 16:03:39 duality kernel: <11i>ipfw 65400 Deny TCP 153.198.12 T6P:1567 161.51.7:.111:80 0n via f7p0 Apr 6 16:03:49 duality kernel: 1pfw: 65400 Dfny TCP1161.53.76.419:80n161.53.73.40:2042 out:3ia fxp0 Apr 6 16:03:49 duality kernel: <<111108>>iA Apr 6 16:03:49 duality kernel: ppr 6 Apr 6 16:03:49 duality kernel: <16:031:1409> d65 Apr 6 16:03:49 duality kernel: <400 De1n1y8 >Tu Apr 6 16:03:49 duality kernel: aC Apr 6 16:03:49 duality kernel:

.e Apr 6 16:03:49 duality kernel: 07 Apr 6 16:03:49 duality kernel: 3<.48:210138>70 Apr 6 16:03:49 duality kernel: < Dfny1 1T0>CP Apr 6 16:03:49 duality kernel: 1<61.531.1872>1. Apr 6 16:03:49 duality kernel: 1<61.531.1706.4>11 Apr 6 16:03:49 duality kernel: 1<9:80 1i1n8> 9v: Apr 6 16:03:49 duality kernel: 8<0n161.5113.07>3ia Apr 6 16:03:49 duality kernel: < fxp011 Apr 6 16:03:49 duality kernel: 8>.40:2042 out:3ia fxp0 Apr 6 16:03:54 duality kernel: 65400 Deny TCP 161.53.72.119:80 161.53.74.54:2339 out via fxp0 Apr 6 16:03:54 duality kernel: .119:80 161.53.74.54:2345 out via fxp0 Apr 6 16:03:54 duality kernel: via fxp0 ... but nothing recent. Here's netstat -m: 652/863/1515 mbufs in use (current/cache/total) 523/629/1152/25600 mbuf clusters in use (current/cache/total/max) 1209K/1473K/2682K bytes allocated to network (current/cache/total) 23839671/5448434/5360698 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 5/205/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 160408 requests for I/O initiated by sendfile 11064 calls to protocol drain routines "requests for mbufs denied" is large, but I don't know why would it lead to "access denied" message, as opposed to "out of memory"? I suspect this has happened before, but I don't really know how to prevent this "event" or what exactly causes it. It went away when I killed a (unrelated, but database using) process that was stuck for hours. During this, pagezero kthread was using almost 100% of a CPU. This is 6.1-PRERELEASE from some time ago. Any ideas or hints where to search next? From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 12:34:53 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 790E616A403 for ; Tue, 25 Apr 2006 12:34:53 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id E139B43D45 for ; Tue, 25 Apr 2006 12:34:52 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k3PCY3xQ002672 for ; Tue, 25 Apr 2006 14:34:03 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <444E173B.6020003@fer.hr> Date: Tue, 25 Apr 2006 14:34:03 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org References: <444E160D.3000401@fer.hr> In-Reply-To: <444E160D.3000401@fer.hr> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: ipfw problems? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 12:34:53 -0000 I forgot to add, here is the ipfw ruleset: 00500 691658783 639225488899 allow ip from any to any via lo0 01000 99014 6833994 allow icmp from any to any 05000 160430605 76502643136 allow tcp from me to any setup keep-state 05100 1002529 109535100 allow udp from me to any keep-state 05500 6900233 3554390307 allow tcp from X.X.X.107 to me setup keep-state 05505 0 0 allow udp from X.X.X.107 to me keep-state 06022 258788 52462014 allow tcp from X.X.X.0/24 to me dst-port 22 setup keep-state 06080 300599299 153827836772 allow tcp from any to me dst-port 80 setup keep-state 06443 9801709 3876114253 allow tcp from any to me dst-port 443 setup keep-state 65400 2381270 592034925 deny log ip from any to any 65535 0 0 deny ip from any to any From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 13:09:46 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B50416A400 for ; Tue, 25 Apr 2006 13:09:46 +0000 (UTC) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D23C343D68 for ; Tue, 25 Apr 2006 13:09:37 +0000 (GMT) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 89A4CB846; Tue, 25 Apr 2006 08:09:36 -0500 (CDT) Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (mail.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 96028-06-44; Tue, 25 Apr 2006 08:09:35 -0500 (CDT) Received: from wolves.k12.mo.us (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 446B9B847; Tue, 25 Apr 2006 08:09:32 -0500 (CDT) Received: from d8-174.rb.clm.centurytel.net (d8-174.rb.clm.centurytel.net [69.29.71.174]) by www.wolves.k12.mo.us (Horde MIME library) with HTTP; Tue, 25 Apr 2006 08:09:32 -0500 Message-ID: <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> Date: Tue, 25 Apr 2006 08:09:32 -0500 From: Chris Dillon To: Dmitry Morozovsky References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> In-Reply-To: <20060425134418.J57625@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-6.1 X-Virus-Scanned: amavisd-new at wolves.k12.mo.us Cc: stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 13:09:48 -0000 Quoting Dmitry Morozovsky : > On Mon, 24 Apr 2006, Kris Kennaway wrote: > > KK> Also you should add DEBUG_LOCKS and DEBUG_VFS_LOCKS on the off chance > KK> they catch the problem. > > I got one thought about the source of these hangs/crashes: this =20 > machine is the > only one with actively used quotas. I'll test the more thoroughly =20 > this evening. I had problems with snapshots and hangs in 5.x. For that, a daily =20 reboot would keep the problems at bay. I upgraded to 6.0 and the =20 problems completely disappeared. I kept 6.0-STABLE running for weeks. =20 Somewhere along the line, as 6.1 approached, similar problems =20 re-appeared, but not exactly the same as what I had in 5.x. Now =20 instead of a complete system hang, individual processes will hang =20 while attempting to access a certain filesystem. I'm running =20 6.1-PRERELEASE from April 2 and for some reason since this weekend it =20 has happened more often, but I'm not sure why since I haven't made any =20 system changes since April 2. I also am using quotas heavily with this system, and snapshoting every =20 filesystem once a day. The filesystem which processes will hang on =20 when attempting to access it happens to be the one with quotas enabled. I'm going to update to the latest 6.1 code this evening and enable =20 INVARIANTS, WITNESS, and the two DEBUG_LOCKS options to the kernel to =20 see if it catches anything. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 13:32:54 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0318916A423 for ; Tue, 25 Apr 2006 13:32:54 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout09-04.prod.mesa1.secureserver.net (smtpout09-04.prod.mesa1.secureserver.net [64.202.165.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 9222643D46 for ; Tue, 25 Apr 2006 13:32:53 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 4178 invoked from network); 25 Apr 2006 13:32:52 -0000 Received: from unknown (24.144.77.138) by smtpout09-04.prod.mesa1.secureserver.net (64.202.165.17) with ESMTP; 25 Apr 2006 13:32:52 -0000 Message-ID: <444E2503.9090506@seclark.us> Date: Tue, 25 Apr 2006 09:32:51 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 13:32:54 -0000 Hello List, I have to dualcore Athlon 64 4800+ systems. Initially I was running 4.9 on both of them an was able to get 54mbits thru direct connected realtek 10/100 cards as measured by nttcp. I put stable on one of the system and now can on get 37mbits as measured by nttcp when going thru an ipsec tunnel. Eliminating the tunnel I get 94mbit/sec. Ideas as to why this is happening? Also with 6.x I get some failed messages from dmesg: Copyright (c) 1992-2006 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 6.1-RC #1: Mon Apr 24 16:43:40 EDT 2006 root@fbsd6.netwolvesrd.com:/usr/src/sys/i386/compile/WOLFPAC6SMP WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (2410.99-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20f32 Stepping = 2 Features=0x178bfbff Features2=0x1 AMD Features=0xe2500800,LM,3DNow+,3DNow> real memory = 938409984 (894 MB) avail memory = 908996608 (866 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: reservation of 1bf00000, 100000 (3) failed acpi0: reservation of 2bf00000, 100000 (3) failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ********************************************************************** While on 4.9 i get: 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 4.9-STABLE #1: Wed Apr 19 20:56:30 EST 2006 root@A1234.netwolves.com:/mnt2/src/sys/compile/WOLFPACSMP Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (2400.02-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20f32 Stepping = 2 Features=0x178bfbff Hyperthreading: 2 logical CPUs AMD Features=0xe0500000<,AMIE,,DSP,3DNow!> real memory = 1005584384 (982016K bytes) avail memory = 975286272 (952428K bytes) Changing APIC ID for IO APIC #0 from 0 to 2 on chip Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc038a000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 9 -> irq 2 IOAPIC #0 intpin 11 -> irq 5 pci0: on pcib0 pci0: (vendor=0x10de, dev=0x02f1) at 0.0 pci0: (vendor=0x10de, dev=0x02fa) at 0.1 pci0: (vendor=0x10de, dev=0x02fe) at 0.2 pci0: (vendor=0x10de, dev=0x02f8) at 0.3 pci0: (vendor=0x10de, dev=0x02f9) at 0.4 pci0: (vendor=0x10de, dev=0x02ff) at 0.5 pci0: (vendor=0x10de, dev=0x027f) at 0.6 pci0: (vendor=0x10de, dev=0x027e) at 0.7 pcib4: at device 2.0 on pci0 pci1: on pcib4 pcib5: at device 3.0 on pci0 pci2: on pcib5 pcib6: at device 4.0 on pci0 pci3: on pcib6 pci0: at 5.0 irq 2 pci0: (vendor=0x10de, dev=0x0270) at 9.0 isab0: at device 10.0 on pci0 isa0: on isab0 pci0: (vendor=0x10de, dev=0x0264) at 10.1 irq 2 pci0: (vendor=0x10de, dev=0x0272) at 10.2 atapci0: port 0xf400-0xf40f at device 13.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 atapci1: port 0xe000-0xe00f,0xb70-0xb73,0x970-0x977 ,0xbf0-0xbf3,0x9f0-0x9f7 mem 0xfe02e000-0xfe02efff irq 5 at device 14.0 on pci0 ata2: at 0x9f0 on atapci1 ata3: at 0x970 on atapci1 pcib7: at device 16.0 on pci0 IOAPIC #0 intpin 10 -> irq 9 IOAPIC #0 intpin 5 -> irq 10 Regards, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 13:35:41 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A736916A404 for ; Tue, 25 Apr 2006 13:35:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6D9843D49 for ; Tue, 25 Apr 2006 13:35:40 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k3PDZXGQ091388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Apr 2006 16:35:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k3PDZXOw061741; Tue, 25 Apr 2006 16:35:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k3PDZXJB061740; Tue, 25 Apr 2006 16:35:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 25 Apr 2006 16:35:32 +0300 From: Kostik Belousov To: Chris Dillon Message-ID: <20060425133532.GD1446@deviant.kiev.zoral.com.ua> References: <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lMM8JwqTlfDpEaS6" Content-Disposition: inline In-Reply-To: <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on fw.zoral.com.ua Cc: stable@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 13:35:41 -0000 --lMM8JwqTlfDpEaS6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 08:09:32AM -0500, Chris Dillon wrote: > Quoting Dmitry Morozovsky : >=20 > >On Mon, 24 Apr 2006, Kris Kennaway wrote: > > > >KK> Also you should add DEBUG_LOCKS and DEBUG_VFS_LOCKS on the off chance > >KK> they catch the problem. > > > >I got one thought about the source of these hangs/crashes: this =20 > >machine is the > >only one with actively used quotas. I'll test the more thoroughly =20 > >this evening. >=20 > I had problems with snapshots and hangs in 5.x. For that, a daily =20 > reboot would keep the problems at bay. I upgraded to 6.0 and the =20 > problems completely disappeared. I kept 6.0-STABLE running for weeks. = =20 > Somewhere along the line, as 6.1 approached, similar problems =20 > re-appeared, but not exactly the same as what I had in 5.x. Now =20 > instead of a complete system hang, individual processes will hang =20 > while attempting to access a certain filesystem. I'm running =20 > 6.1-PRERELEASE from April 2 and for some reason since this weekend it =20 > has happened more often, but I'm not sure why since I haven't made any = =20 > system changes since April 2. >=20 > I also am using quotas heavily with this system, and snapshoting every = =20 > filesystem once a day. The filesystem which processes will hang on =20 > when attempting to access it happens to be the one with quotas enabled. >=20 > I'm going to update to the latest 6.1 code this evening and enable =20 > INVARIANTS, WITNESS, and the two DEBUG_LOCKS options to the kernel to =20 > see if it catches anything. >=20 Please, also add DDB to the kernel and show the result of the show lockedvnodes alltrace ps in the DDB after the deadlock, as asked by Kris Kennaway earlier in this thread ! --lMM8JwqTlfDpEaS6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETiWkC3+MBN1Mb4gRAjbNAKD0HLi5dEAAoA3C23YyyDjkJgepyACgzUC0 HzozreZg10sznXqZhXIqFzE= =LYAt -----END PGP SIGNATURE----- --lMM8JwqTlfDpEaS6-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 13:36:08 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF31516A4AB for ; Tue, 25 Apr 2006 13:36:08 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB02F43D55 for ; Tue, 25 Apr 2006 13:36:07 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id k3PDa6VC067414; Tue, 25 Apr 2006 09:36:06 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3P/8.13.3) with ESMTP id k3PDa5QH058070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Apr 2006 09:36:05 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Tue, 25 Apr 2006 09:35:35 -0400 To: Stephen.Clark@seclark.us, stable@freebsd.org From: Mike Tancsa In-Reply-To: <444E2503.9090506@seclark.us> References: <444E2503.9090506@seclark.us> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new Cc: Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 13:36:08 -0000 At 09:32 AM 25/04/2006, Stephen Clark wrote: >Hello List, > >I have to dualcore Athlon 64 4800+ systems. Initially I was running >4.9 on both of them an was able to get 54mbits thru direct connected >realtek 10/100 cards as measured by nttcp. > >I put stable on one of the system and now can on get 37mbits as >measured by nttcp when going thru an ipsec tunnel. Try first sysctl -w net.inet.tcp.inflight.enable=0 If its still slower, try using FAST_IPSEC instead on the server. However, make sure you disable INET6 ---Mike From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 14:56:12 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C42F616A400 for ; Tue, 25 Apr 2006 14:56:12 +0000 (UTC) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46BA343D46 for ; Tue, 25 Apr 2006 14:56:12 +0000 (GMT) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 7DDBFB83A; Tue, 25 Apr 2006 09:56:11 -0500 (CDT) Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (mail.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 98423-01-59; Tue, 25 Apr 2006 09:56:10 -0500 (CDT) Received: from wolves.k12.mo.us (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id C6F9AB82F; Tue, 25 Apr 2006 09:56:10 -0500 (CDT) Received: from cdtech.int.wolves.k12.mo.us (cdtech.int.wolves.k12.mo.us [10.1.3.200]) by www.wolves.k12.mo.us (Horde MIME library) with HTTP; Tue, 25 Apr 2006 09:56:10 -0500 Message-ID: <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> Date: Tue, 25 Apr 2006 09:56:10 -0500 From: Chris Dillon To: Kostik Belousov References: <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> In-Reply-To: <20060425133532.GD1446@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-6.1 X-Virus-Scanned: amavisd-new at wolves.k12.mo.us Cc: stable@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 14:56:12 -0000 Quoting Kostik Belousov : >> I'm going to update to the latest 6.1 code this evening and enable >> INVARIANTS, WITNESS, and the two DEBUG_LOCKS options to the kernel to >> see if it catches anything. >> > Please, also add DDB to the kernel and show the result of the > show lockedvnodes > alltrace > ps > in the DDB after the deadlock, as asked by Kris Kennaway earlier > in this thread ! > OK, I've added DDB, but all of the information I might gather I'll have to write down by hand since I have no serial console access. :-( From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 15:06:14 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3233016A407 for ; Tue, 25 Apr 2006 15:06:14 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30DC043D53 for ; Tue, 25 Apr 2006 15:06:12 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3PF6B8d074752; Tue, 25 Apr 2006 19:06:11 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 25 Apr 2006 19:06:11 +0400 (MSD) From: Dmitry Morozovsky To: Chris Dillon In-Reply-To: <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> Message-ID: <20060425185741.C71240@woozle.rinet.ru> References: <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Tue, 25 Apr 2006 19:06:11 +0400 (MSD) Cc: Kostik Belousov , stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 15:06:14 -0000 On Tue, 25 Apr 2006, Chris Dillon wrote: CD> > Please, also add DDB to the kernel and show the result of the CD> > show lockedvnodes CD> > alltrace CD> > ps CD> > in the DDB after the deadlock, as asked by Kris Kennaway earlier CD> > in this thread ! CD> > CD> CD> OK, I've added DDB, but all of the information I might gather I'll have to CD> write down by hand since I have no serial console access. :-( I just made lab machine with serial console, compile minimal kernel with quotas and KDB+WITNESS, and immediately after ``quotacheck /var && quotaon /var'' got kdb_backtrace(d663aba0,c051f402,c05f7da3,c05fe731,c32cb414) at kdb_backtrace+0x29 vfs_badlock(c05f7da3,c05fe731,c32cb414) at vfs_badlock+0x11 assert_vop_locked(c32cb414,c05fe731,c30ed400,c04eac2c,c05f6cf4) at assert_vop_locked+0x4a quotaon(c30c5300,c3069c00,0,804a3e0,0) at quotaon+0x166 ufs_quotactl(c3069c00,10000,0,804a3e0,c30c5300) at ufs_quotactl+0xb9 quotactl(c30c5300,d663ad04,4,1,206) at quotactl+0xf8 syscall(3b,3b,3b,8048fa8,2813cccc) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (148, FreeBSD ELF32, quotactl), eip = 0x280b694b, esp = 0xbfbfebcc, ebp = 0xbfbfebf8 --- quotaon: 0xc32cb414 is not locked but should be KDB: enter: lock violation full console log after dropping to ddb is available (40k) at http://woozle.net/FreeBSD/debug/kdb-quota-20060425.txt Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 15:39:19 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4263916A401 for ; Tue, 25 Apr 2006 15:39:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F96D43D4C for ; Tue, 25 Apr 2006 15:39:18 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k3PFdAAC095928 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Apr 2006 18:39:10 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k3PFdAQU027157; Tue, 25 Apr 2006 18:39:10 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k3PFd9eg027156; Tue, 25 Apr 2006 18:39:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 25 Apr 2006 18:39:09 +0300 From: Kostik Belousov To: Dmitry Morozovsky Message-ID: <20060425153909.GE1446@deviant.kiev.zoral.com.ua> References: <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kvUQC+jR9YzypDnK" Content-Disposition: inline In-Reply-To: <20060425185741.C71240@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on fw.zoral.com.ua Cc: stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 15:39:19 -0000 --kvUQC+jR9YzypDnK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 07:06:11PM +0400, Dmitry Morozovsky wrote: > On Tue, 25 Apr 2006, Chris Dillon wrote: >=20 > CD> > Please, also add DDB to the kernel and show the result of the > CD> > show lockedvnodes > CD> > alltrace > CD> > ps > CD> > in the DDB after the deadlock, as asked by Kris Kennaway earlier > CD> > in this thread ! > CD> >=20 > CD>=20 > CD> OK, I've added DDB, but all of the information I might gather I'll ha= ve to > CD> write down by hand since I have no serial console access. :-( >=20 > I just made lab machine with serial console, compile minimal kernel with = quotas=20 > and KDB+WITNESS, and immediately after ``quotacheck /var && quotaon /var'= ' got >=20 > kdb_backtrace(d663aba0,c051f402,c05f7da3,c05fe731,c32cb414) at=20 > kdb_backtrace+0x29 > vfs_badlock(c05f7da3,c05fe731,c32cb414) at vfs_badlock+0x11 > assert_vop_locked(c32cb414,c05fe731,c30ed400,c04eac2c,c05f6cf4) at=20 > assert_vop_locked+0x4a > quotaon(c30c5300,c3069c00,0,804a3e0,0) at quotaon+0x166 > ufs_quotactl(c3069c00,10000,0,804a3e0,c30c5300) at ufs_quotactl+0xb9 > quotactl(c30c5300,d663ad04,4,1,206) at quotactl+0xf8 > syscall(3b,3b,3b,8048fa8,2813cccc) at syscall+0x22f > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (148, FreeBSD ELF32, quotactl), eip =3D 0x280b694b, esp =3D 0= xbfbfebcc,=20 > ebp =3D 0xbfbfebf8 --- > quotaon: 0xc32cb414 is not locked but should be > KDB: enter: lock violation >=20 > full console log after dropping to ddb is available (40k) at >=20 > http://woozle.net/FreeBSD/debug/kdb-quota-20060425.txt >=20 Obviously, revisions 1.78, 1.79 of the sys/ufs/ufs/ufs_quota.c shall be MFCed. Try this patch (note, I does not tested it): Index: sys/ufs/ufs/ufs_quota.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/arch/ncvs/src/sys/ufs/ufs/ufs_quota.c,v retrieving revision 1.77 retrieving revision 1.79 diff -u -r1.77 -r1.79 --- sys/ufs/ufs/ufs_quota.c 9 Jan 2006 20:42:19 -0000 1.77 +++ sys/ufs/ufs/ufs_quota.c 12 Feb 2006 13:20:06 -0000 1.79 @@ -429,8 +429,9 @@ quotaoff(td, mp, type); ump->um_qflags[type] |=3D QTF_OPENING; mp->mnt_flag |=3D MNT_QUOTA; - ASSERT_VOP_LOCKED(vp, "quotaon"); + vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td); vp->v_vflag |=3D VV_SYSTEM; + VOP_UNLOCK(vp, 0, td); *vpp =3D vp; /* * Save the credential of the process that turned on quotas. @@ -535,8 +536,9 @@ } MNT_IUNLOCK(mp); dqflush(qvp); - ASSERT_VOP_LOCKED(qvp, "quotaoff"); + vn_lock(qvp, LK_EXCLUSIVE | LK_RETRY, td); qvp->v_vflag &=3D ~VV_SYSTEM; + VOP_UNLOCK(qvp, 0, td); error =3D vn_close(qvp, FREAD|FWRITE, td->td_ucred, td); ump->um_quotas[type] =3D NULLVP; crfree(ump->um_cred[type]); --kvUQC+jR9YzypDnK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETkKcC3+MBN1Mb4gRAkKDAKCQmkEnUuITf1foRicikriqineXkwCfW+cC j8PE0jvW140W3Wh6yei6cu8= =Dqyl -----END PGP SIGNATURE----- --kvUQC+jR9YzypDnK-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 15:47:36 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECBFA16A430 for ; Tue, 25 Apr 2006 15:47:36 +0000 (UTC) (envelope-from rivers@dignus.com) Received: from dignus.com (client196-2.dsl.intrex.net [209.42.196.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C80E43D5E for ; Tue, 25 Apr 2006 15:47:36 +0000 (GMT) (envelope-from rivers@dignus.com) Received: from lakes.dignus.com (lakes.dignus.com [10.1.0.3]) by dignus.com (8.13.1/8.12.9) with ESMTP id k3PFjSMV032544 for ; Tue, 25 Apr 2006 11:45:28 -0400 (EDT) (envelope-from rivers@dignus.com) Received: (from rivers@localhost) by lakes.dignus.com (8.11.6/8.11.3) id k3PFmEs10400 for freebsd-stable@freebsd.org; Tue, 25 Apr 2006 11:48:14 -0400 (EDT) (envelope-from rivers) Date: Tue, 25 Apr 2006 11:48:14 -0400 (EDT) From: Thomas David Rivers Message-Id: <200604251548.k3PFmEs10400@lakes.dignus.com> To: freebsd-stable@freebsd.org X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on office.dignus.com Subject: Updated 6.1 schedule? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 15:47:37 -0000 I've been watching the 6.1-RC1 web pages, etc... following the wonderful progress. However, the dates on the schedule page seem to be a little off now. I was wondering if anyone had some idea of what the new dates might be... if there's no idea; then I will patiently wait. I've got a few 4.10 machines that could do with an upgrade, and I don't think moving to 5.4 is the way to go... So, I'm pending waiting on 6.1. I'm not meaning to pressure or anything, beggars can't be choosers... just wondering if anyone has an idea... - Thanks! - - Dave Rivers - -- rivers@dignus.com Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 16:05:28 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C754A16A400 for ; Tue, 25 Apr 2006 16:05:28 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82B8C43D67 for ; Tue, 25 Apr 2006 16:05:27 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3PG5PUi075955; Tue, 25 Apr 2006 20:05:26 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 25 Apr 2006 20:05:25 +0400 (MSD) From: Dmitry Morozovsky To: Kostik Belousov In-Reply-To: <20060425153909.GE1446@deviant.kiev.zoral.com.ua> Message-ID: <20060425200348.B71240@woozle.rinet.ru> References: <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> <20060425153909.GE1446@deviant.kiev.zoral.com.ua> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Tue, 25 Apr 2006 20:05:26 +0400 (MSD) Cc: stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 16:05:28 -0000 On Tue, 25 Apr 2006, Kostik Belousov wrote: KB> > I just made lab machine with serial console, compile minimal kernel with quotas KB> > and KDB+WITNESS, and immediately after ``quotacheck /var && quotaon /var'' got KB> > KB> > kdb_backtrace(d663aba0,c051f402,c05f7da3,c05fe731,c32cb414) at KB> > kdb_backtrace+0x29 KB> > vfs_badlock(c05f7da3,c05fe731,c32cb414) at vfs_badlock+0x11 KB> > assert_vop_locked(c32cb414,c05fe731,c30ed400,c04eac2c,c05f6cf4) at KB> Obviously, revisions 1.78, 1.79 of the sys/ufs/ufs/ufs_quota.c KB> shall be MFCed. Try this patch (note, I does not tested it): Yup, at least immediate drop to debugger disappeared. I'll check now with our situation: quotas with at least one user over quota *and* makinfg snapshot on this filesystem. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 16:20:11 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 170F316A418 for ; Tue, 25 Apr 2006 16:20:10 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B97E43D66 for ; Tue, 25 Apr 2006 16:19:57 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k3PGJpmf096994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Apr 2006 19:19:51 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k3PGJpLQ031186; Tue, 25 Apr 2006 19:19:51 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k3PGJpuI031185; Tue, 25 Apr 2006 19:19:51 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 25 Apr 2006 19:19:51 +0300 From: Kostik Belousov To: Dmitry Morozovsky Message-ID: <20060425161951.GF1446@deviant.kiev.zoral.com.ua> References: <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> <20060425153909.GE1446@deviant.kiev.zoral.com.ua> <20060425200348.B71240@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zaRBsRFn0XYhEU69" Content-Disposition: inline In-Reply-To: <20060425200348.B71240@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on fw.zoral.com.ua Cc: stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 16:20:11 -0000 --zaRBsRFn0XYhEU69 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 08:05:25PM +0400, Dmitry Morozovsky wrote: > On Tue, 25 Apr 2006, Kostik Belousov wrote: >=20 > KB> > I just made lab machine with serial console, compile minimal kernel= with quotas=20 > KB> > and KDB+WITNESS, and immediately after ``quotacheck /var && quotaon= /var'' got > KB> >=20 > KB> > kdb_backtrace(d663aba0,c051f402,c05f7da3,c05fe731,c32cb414) at=20 > KB> > kdb_backtrace+0x29 > KB> > vfs_badlock(c05f7da3,c05fe731,c32cb414) at vfs_badlock+0x11 > KB> > assert_vop_locked(c32cb414,c05fe731,c30ed400,c04eac2c,c05f6cf4) at= =20 >=20 > KB> Obviously, revisions 1.78, 1.79 of the sys/ufs/ufs/ufs_quota.c > KB> shall be MFCed. Try this patch (note, I does not tested it): >=20 > Yup, at least immediate drop to debugger disappeared. I'll check now with= our=20 > situation: quotas with at least one user over quota *and* makinfg snapsho= t on=20 > this filesystem. Your problem shall persist, this patch has nothing to do with it. I am looking for debugging information on deadlock. --zaRBsRFn0XYhEU69 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETkwmC3+MBN1Mb4gRAufdAKDVMk7/kz1LEUyeA2eowCo3guo7TgCeKZvF rIOW2IeWxSnwBEjTQgB6jVU= =KKhi -----END PGP SIGNATURE----- --zaRBsRFn0XYhEU69-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 16:23:49 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5703116A427 for ; Tue, 25 Apr 2006 16:23:49 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C047943D45 for ; Tue, 25 Apr 2006 16:23:38 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 9225C1A4E25; Tue, 25 Apr 2006 09:23:37 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DC26E559EC; Tue, 25 Apr 2006 12:22:53 -0400 (EDT) Date: Tue, 25 Apr 2006 12:22:53 -0400 From: Kris Kennaway To: Kostik Belousov Message-ID: <20060425162252.GA54244@xor.obsecurity.org> References: <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> <20060425153909.GE1446@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <20060425153909.GE1446@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, Kris Kennaway , Dmitry Morozovsky Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 16:23:50 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 06:39:09PM +0300, Kostik Belousov wrote: > Obviously, revisions 1.78, 1.79 of the sys/ufs/ufs/ufs_quota.c > shall be MFCed. Try this patch (note, I does not tested it): WTF, I could have sworn I merged that! Yes, this patch is needed.=20 However, I don't think it's the cause of runtime deadlocks. Kris > Index: sys/ufs/ufs/ufs_quota.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /usr/local/arch/ncvs/src/sys/ufs/ufs/ufs_quota.c,v > retrieving revision 1.77 > retrieving revision 1.79 > diff -u -r1.77 -r1.79 > --- sys/ufs/ufs/ufs_quota.c 9 Jan 2006 20:42:19 -0000 1.77 > +++ sys/ufs/ufs/ufs_quota.c 12 Feb 2006 13:20:06 -0000 1.79 > @@ -429,8 +429,9 @@ > quotaoff(td, mp, type); > ump->um_qflags[type] |=3D QTF_OPENING; > mp->mnt_flag |=3D MNT_QUOTA; > - ASSERT_VOP_LOCKED(vp, "quotaon"); > + vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td); > vp->v_vflag |=3D VV_SYSTEM; > + VOP_UNLOCK(vp, 0, td); > *vpp =3D vp; > /* > * Save the credential of the process that turned on quotas. > @@ -535,8 +536,9 @@ > } > MNT_IUNLOCK(mp); > dqflush(qvp); > - ASSERT_VOP_LOCKED(qvp, "quotaoff"); > + vn_lock(qvp, LK_EXCLUSIVE | LK_RETRY, td); > qvp->v_vflag &=3D ~VV_SYSTEM; > + VOP_UNLOCK(qvp, 0, td); > error =3D vn_close(qvp, FREAD|FWRITE, td->td_ucred, td); > ump->um_quotas[type] =3D NULLVP; > crfree(ump->um_cred[type]); >=20 >=20 --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETkzcWry0BWjoQKURAn1MAKCuryb8gNH6U31x517qEavL+zCUuwCgjzcv qdvIcijYVksdB1/UxF69Xpc= =gkLk -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 16:26:59 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D604D16A444 for ; Tue, 25 Apr 2006 16:26:59 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 561F243D49 for ; Tue, 25 Apr 2006 16:26:57 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 2D0681A4E20; Tue, 25 Apr 2006 09:26:57 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 55789559F0; Tue, 25 Apr 2006 12:26:56 -0400 (EDT) Date: Tue, 25 Apr 2006 12:26:56 -0400 From: Kris Kennaway To: Chris Dillon Message-ID: <20060425162656.GC54244@xor.obsecurity.org> References: <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5QAgd0e35j3NYeGe" Content-Disposition: inline In-Reply-To: <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 16:27:01 -0000 --5QAgd0e35j3NYeGe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 08:09:32AM -0500, Chris Dillon wrote: > Quoting Dmitry Morozovsky : >=20 > >On Mon, 24 Apr 2006, Kris Kennaway wrote: > > > >KK> Also you should add DEBUG_LOCKS and DEBUG_VFS_LOCKS on the off chance > >KK> they catch the problem. > > > >I got one thought about the source of these hangs/crashes: this =20 > >machine is the > >only one with actively used quotas. I'll test the more thoroughly =20 > >this evening. >=20 > I had problems with snapshots and hangs in 5.x. For that, a daily =20 > reboot would keep the problems at bay. I upgraded to 6.0 and the =20 > problems completely disappeared. I kept 6.0-STABLE running for weeks. = =20 > Somewhere along the line, as 6.1 approached, similar problems =20 > re-appeared, but not exactly the same as what I had in 5.x. Now =20 > instead of a complete system hang, individual processes will hang =20 > while attempting to access a certain filesystem. I'm running =20 > 6.1-PRERELEASE from April 2 and for some reason since this weekend it =20 > has happened more often, but I'm not sure why since I haven't made any = =20 > system changes since April 2. OK, I wish you and others had responded to my call for testing a month or more ago :) All (both) of the responses indicated that the quota problems had been fixed following changes made then. At this point it may be too late for 6.x, but we'll see. Kris --5QAgd0e35j3NYeGe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETk3PWry0BWjoQKURAt2BAJ0Qo7W8HAFq8TYtuR1Esb3mjCj3YgCgyAas YWsJ0kL8VOepIPEAsRcftAY= =FHh3 -----END PGP SIGNATURE----- --5QAgd0e35j3NYeGe-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 17:02:02 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3598716A401 for ; Tue, 25 Apr 2006 17:02:02 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout08-04.prod.mesa1.secureserver.net (smtpout08-04.prod.mesa1.secureserver.net [64.202.165.12]) by mx1.FreeBSD.org (Postfix) with SMTP id B7EB343D48 for ; Tue, 25 Apr 2006 17:02:01 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 2408 invoked from network); 25 Apr 2006 17:02:01 -0000 Received: from unknown (24.144.77.138) by smtpout08-04.prod.mesa1.secureserver.net (64.202.165.12) with ESMTP; 25 Apr 2006 17:02:01 -0000 Message-ID: <444E5608.4050704@seclark.us> Date: Tue, 25 Apr 2006 13:02:00 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Tancsa References: <444E2503.9090506@seclark.us> <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> In-Reply-To: <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 17:02:02 -0000 Mike Tancsa wrote: >At 09:32 AM 25/04/2006, Stephen Clark wrote: > > >>Hello List, >> >>I have to dualcore Athlon 64 4800+ systems. Initially I was running >>4.9 on both of them an was able to get 54mbits thru direct connected >>realtek 10/100 cards as measured by nttcp. >> >>I put stable on one of the system and now can on get 37mbits as >>measured by nttcp when going thru an ipsec tunnel. >> >> > >Try first >sysctl -w net.inet.tcp.inflight.enable=0 > >If its still slower, try using FAST_IPSEC instead on the >server. However, make sure you disable INET6 > > ---Mike > > > > That increased it to 39mbits/sec. Still far from 54mbits/sec -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 17:43:17 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 467B916A480; Tue, 25 Apr 2006 17:43:17 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89BA143D4C; Tue, 25 Apr 2006 17:43:15 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3PHhEHb077350; Tue, 25 Apr 2006 21:43:14 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Tue, 25 Apr 2006 21:43:14 +0400 (MSD) From: Dmitry Morozovsky To: Kris Kennaway In-Reply-To: <20060425162656.GC54244@xor.obsecurity.org> Message-ID: <20060425213313.R71240@woozle.rinet.ru> References: <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425162656.GC54244@xor.obsecurity.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Tue, 25 Apr 2006 21:43:14 +0400 (MSD) Cc: stable@freebsd.org, re@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 17:43:17 -0000 On Tue, 25 Apr 2006, Kris Kennaway wrote: KK> OK, I wish you and others had responded to my call for testing a month KK> or more ago :) All (both) of the responses indicated that the quota KK> problems had been fixed following changes made then. At this point it KK> may be too late for 6.x, but we'll see. Well, I'm quite sure this change is not too disruptive, and it *does* fix quota panics, so I hope RE will aprove this (CC:'d) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 17:45:46 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E03016A406; Tue, 25 Apr 2006 17:45:46 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BABB43D6E; Tue, 25 Apr 2006 17:45:40 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 6679D1A4E25; Tue, 25 Apr 2006 10:45:40 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7148255A07; Tue, 25 Apr 2006 13:45:39 -0400 (EDT) Date: Tue, 25 Apr 2006 13:45:39 -0400 From: Kris Kennaway To: Dmitry Morozovsky Message-ID: <20060425174539.GA55896@xor.obsecurity.org> References: <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425162656.GC54244@xor.obsecurity.org> <20060425213313.R71240@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <20060425213313.R71240@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, re@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 17:45:46 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 09:43:14PM +0400, Dmitry Morozovsky wrote: > On Tue, 25 Apr 2006, Kris Kennaway wrote: >=20 > KK> OK, I wish you and others had responded to my call for testing a month > KK> or more ago :) All (both) of the responses indicated that the quota > KK> problems had been fixed following changes made then. At this point it > KK> may be too late for 6.x, but we'll see. >=20 > Well, I'm quite sure this change is not too disruptive, and it *does* fix= quota=20 > panics, so I hope RE will aprove this (CC:'d) It's already approved, I'll merge it later today. It's not the cause of real-world problems though (only when DEBUG_VFS_LOCKS is enabled). Kris --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETmBCWry0BWjoQKURAls1AKCrKu13CPLQwXUmI8x3SLK0QGmEbwCgySAQ DUeYW+5EZIF27tsEG/pR9nA= =z/86 -----END PGP SIGNATURE----- --wac7ysb48OaltWcw-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 17:52:05 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19C1E16A403 for ; Tue, 25 Apr 2006 17:52:05 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3115843D5A for ; Tue, 25 Apr 2006 17:52:03 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id k3PHq2xG006472; Tue, 25 Apr 2006 13:52:03 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3P/8.13.3) with ESMTP id k3PHq1Y7059757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Apr 2006 13:52:01 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060425134955.051d58d0@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Tue, 25 Apr 2006 13:51:30 -0400 To: Stephen.Clark@seclark.us From: Mike Tancsa In-Reply-To: <444E5608.4050704@seclark.us> References: <444E2503.9090506@seclark.us> <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> <444E5608.4050704@seclark.us> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new Cc: stable@freebsd.org Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 17:52:05 -0000 At 01:02 PM 25/04/2006, Stephen Clark wrote: >>Try first >>sysctl -w net.inet.tcp.inflight.enable=0 >> >>If its still slower, try using FAST_IPSEC instead on the >>server. However, make sure you disable INET6 >That increased it to 39mbits/sec. Still far from 54mbits/sec Are all of the TCP params (compare sysctl -a net.inet.tcp on both )and application defaults still the same on both systems ? One that that for sure is not in RELENG_4 is SACK. Try disabling that and see if there is a difference. ---Mike From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 20:21:46 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBE0C16A44B for ; Tue, 25 Apr 2006 20:21:45 +0000 (UTC) (envelope-from doug@cnd.dundas.on.ca) Received: from fep9.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFBBB43D77 for ; Tue, 25 Apr 2006 20:21:39 +0000 (GMT) (envelope-from doug@cnd.dundas.on.ca) Received: from srv.cnd.dundas.on.ca (d141-68-27.home.cgocable.net [24.141.68.27]) by fep9.cogeco.net (Postfix) with ESMTP id 2909A749C for ; Tue, 25 Apr 2006 16:21:38 -0400 (EDT) Received: from monk.cnd.dundas.on.ca (monk.cnd.dundas.on.ca [10.87.0.20]) by srv.cnd.dundas.on.ca (8.13.1/8.13.1) with ESMTP id k3PKLbaf073816 for ; Tue, 25 Apr 2006 16:21:37 -0400 (EDT) (envelope-from doug@cnd.dundas.on.ca) Received: from monk.cnd.dundas.on.ca (localhost [127.0.0.1]) by monk.cnd.dundas.on.ca (8.13.6/8.13.6) with ESMTP id k3PKHHar025770 for ; Tue, 25 Apr 2006 16:17:17 -0400 (EDT) (envelope-from doug@monk.cnd.dundas.on.ca) Message-Id: <200604252017.k3PKHHar025770@monk.cnd.dundas.on.ca> To: freebsd-stable@freebsd.org From: "Douglas Berry" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Apr 2006 16:17:17 -0400 Sender: doug@cnd.dundas.on.ca Subject: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 20:21:47 -0000 Dlink DWL-AG530 can't scan, can't connect. ifconfig ath0 up ; ifconfig ath0 list scan returns nothing. On the same machine, same 'net, a different ath card works (TRENDnet TEW-503PI). Does anyone have this Dlink card working on RELENG_6? pciconf output: ath0@pci0:14:0: class=0x020000 card=0x3a141186 chip=0x0013168c rev=0x01 hdr=0x00 dmesg snippet: ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ath_rate: version 1.2 pci0: driver added found-> vendor=0x1106, dev=0x3057, revid=0x40 bus=0, slot=7, func=4 class=06-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 pci0:7:4: reprobing on driver added found-> vendor=0x1106, dev=0x3058, revid=0x50 bus=0, slot=7, func=5 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=5 powerspec 2 supports D0 D3 current D0 pci0:7:5: reprobing on driver added found-> vendor=0x168c, dev=0x0013, revid=0x01 bus=0, slot=14, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x20 (960 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns) intpin=a, irq=15 powerspec 2 supports D0 D3 current D0 pci0:14:0: reprobing on driver added ath0: mem 0xe5810000-0xe581ffff irq 15 at device 14.0 on pci0 ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xe5810000 ath0: [MPSAFE] ath0: bpf attached ath0: Ethernet address: 00:11:95:ff:fe:f0 ath0: bpf attached ath0: bpf attached ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ath0: mac 5.9 phy 4.3 radio 3.6 ath0: Use hw queue 1 for WME_AC_BE traffic ath0: Use hw queue 0 for WME_AC_BK traffic ath0: Use hw queue 2 for WME_AC_VI traffic ath0: Use hw queue 3 for WME_AC_VO traffic ath0: Use hw queue 8 for CAB traffic ath0: Use hw queue 9 for beacons pci1: driver added found-> vendor=0x1023, dev=0x8500, revid=0x6a bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 pci1:0:0: reprobing on driver added ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) Thanks for tips, doug From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 20:37:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02CFB16A409 for ; Tue, 25 Apr 2006 20:37:03 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8985E43D69 for ; Tue, 25 Apr 2006 20:37:00 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k3PKauFK026834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Apr 2006 13:36:57 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <444E8868.7050406@errno.com> Date: Tue, 25 Apr 2006 13:36:56 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5 (X11/20060210) MIME-Version: 1.0 To: Douglas Berry References: <200604252017.k3PKHHar025770@monk.cnd.dundas.on.ca> In-Reply-To: <200604252017.k3PKHHar025770@monk.cnd.dundas.on.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 20:37:03 -0000 Douglas Berry wrote: > Dlink DWL-AG530 can't scan, can't connect. > ifconfig ath0 up ; ifconfig ath0 list scan > returns nothing. On the same machine, same 'net, a different ath > card works (TRENDnet TEW-503PI). > > Does anyone have this Dlink card working on RELENG_6? > > pciconf output: > ath0@pci0:14:0: class=0x020000 card=0x3a141186 chip=0x0013168c rev=0x01 hdr=0x00 > > dmesg snippet: > ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > ath_rate: version 1.2 > pci0: driver added > found-> vendor=0x1106, dev=0x3057, revid=0x40 > bus=0, slot=7, func=4 > class=06-80-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0000, statreg=0x0290, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > powerspec 2 supports D0 D3 current D0 > pci0:7:4: reprobing on driver added > found-> vendor=0x1106, dev=0x3058, revid=0x50 > bus=0, slot=7, func=5 > class=04-01-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0001, statreg=0x0210, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=c, irq=5 > powerspec 2 supports D0 D3 current D0 > pci0:7:5: reprobing on driver added > found-> vendor=0x168c, dev=0x0013, revid=0x01 > bus=0, slot=14, func=0 > class=02-00-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0006, statreg=0x0290, cachelnsz=8 (dwords) > lattimer=0x20 (960 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns) > intpin=a, irq=15 > powerspec 2 supports D0 D3 current D0 > pci0:14:0: reprobing on driver added > ath0: mem 0xe5810000-0xe581ffff irq 15 at device 14.0 on pci0 > ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xe5810000 > ath0: [MPSAFE] > ath0: bpf attached > ath0: Ethernet address: 00:11:95:ff:fe:f0 > ath0: bpf attached > ath0: bpf attached > ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > ath0: mac 5.9 phy 4.3 radio 3.6 > ath0: Use hw queue 1 for WME_AC_BE traffic > ath0: Use hw queue 0 for WME_AC_BK traffic > ath0: Use hw queue 2 for WME_AC_VI traffic > ath0: Use hw queue 3 for WME_AC_VO traffic > ath0: Use hw queue 8 for CAB traffic > ath0: Use hw queue 9 for beacons > pci1: driver added > found-> vendor=0x1023, dev=0x8500, revid=0x6a > bus=1, slot=0, func=0 > class=03-00-00, hdrtype=0x00, mfdev=0 > cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords) > lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=255 > powerspec 1 supports D0 D1 D2 D3 current D0 > pci1:0:0: reprobing on driver added > ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) flags 0x3e0 = Passive+5Ghz+2Ghz+OFDM+CCK hal flags 0x140 = 5Ghz+OFDM Both of these make no sense for a frequency of 2432 Mhz, hence the hal got upset. What are the regulatory domain settings for the card; sysctl dev.ath.0 will show them? Please also show the output of ifconfig ath0 list channel. Sam From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 20:41:35 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A667916A434 for ; Tue, 25 Apr 2006 20:41:35 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F3F443D76 for ; Tue, 25 Apr 2006 20:41:30 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.6/8.13.1) with ESMTP id k3PKfLu0018557; Tue, 25 Apr 2006 17:41:21 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR To: freebsd-stable@freebsd.org Date: Tue, 25 Apr 2006 17:41:15 -0300 User-Agent: KMail/1.9.1 References: <200604252017.k3PKHHar025770@monk.cnd.dundas.on.ca> In-Reply-To: <200604252017.k3PKHHar025770@monk.cnd.dundas.on.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604251741.16136.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on msrv.matik.com.br X-Virus-Status: Clean Cc: Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 20:41:36 -0000 On Tuesday 25 April 2006 17:17, Douglas Berry wrote: > Dlink DWL-AG530 can't scan, can't connect. > ifconfig ath0 up ; ifconfig ath0 list scan > returns nothing. On the same machine, same 'net, a different ath > card works (TRENDnet TEW-503PI). > > Does anyone have this Dlink card working on RELENG_6? > the card works but you need to tweak the eprom country settings I have lots of it running releng_5 and 6 in any mode (a,b and g) you can query the mobile list archive for "how to enable Dlink DWL-AG530" o= r=20 so in the subject where I posted some time ago how to do it for/with FreeBSD you do not need to patch if_ath.c anymore on releng_6|5 only change the epr= om=20 setting Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 20:45:27 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B6A016A574 for ; Tue, 25 Apr 2006 20:45:27 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA24D43D69 for ; Tue, 25 Apr 2006 20:45:21 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k3PKjKip026913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Apr 2006 13:45:21 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <444E8A60.8040404@errno.com> Date: Tue, 25 Apr 2006 13:45:20 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5 (X11/20060210) MIME-Version: 1.0 To: JoaoBR References: <200604252017.k3PKHHar025770@monk.cnd.dundas.on.ca> <200604251741.16136.joao@matik.com.br> In-Reply-To: <200604251741.16136.joao@matik.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 20:45:28 -0000 JoaoBR wrote: > On Tuesday 25 April 2006 17:17, Douglas Berry wrote: >> Dlink DWL-AG530 can't scan, can't connect. >> ifconfig ath0 up ; ifconfig ath0 list scan >> returns nothing. On the same machine, same 'net, a different ath >> card works (TRENDnet TEW-503PI). >> >> Does anyone have this Dlink card working on RELENG_6? >> > > the card works but you need to tweak the eprom country settings > I have lots of it running releng_5 and 6 in any mode (a,b and g) > > you can query the mobile list archive for "how to enable Dlink DWL-AG530" or > so in the subject where I posted some time ago how to do it for/with FreeBSD > > you do not need to patch if_ath.c anymore on releng_6|5 only change the eprom > setting There should be no need to change the eeprom settings. You should never get a channel list back that causes confusion for the driver. Sam From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 21:01:29 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06A9816A420 for ; Tue, 25 Apr 2006 21:01:28 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.FreeBSD.org (Postfix) with SMTP id DE50B43D49 for ; Tue, 25 Apr 2006 21:01:26 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 45340 invoked from network); 25 Apr 2006 21:01:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=pUtyIr0U7SpFdeMRXil/qXj/a1ntPsJNK4pFk1boF4i9bYKBLttcAKb9oz4gMWPuvz95Rp5IaTxzxWyfis95C2pTuLj75S4/RkVHw1p1CxcbokuQGPheSNJtNtGSQyWGMv/CynEGHlEm67XLp+zdwwFsH6mPotpzr2m63C6H5SQ= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp105.rog.mail.re2.yahoo.com with SMTP; 25 Apr 2006 21:01:25 -0000 Message-ID: <444E8E48.8040008@rogers.com> Date: Tue, 25 Apr 2006 17:02:00 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Dmitry Morozovsky References: <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425162656.GC54244@xor.obsecurity.org> <20060425213313.R71240@woozle.rinet.ru> In-Reply-To: <20060425213313.R71240@woozle.rinet.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, re@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 21:01:29 -0000 Dmitry Morozovsky wrote: > On Tue, 25 Apr 2006, Kris Kennaway wrote: > > KK> OK, I wish you and others had responded to my call for testing a month > KK> or more ago :) All (both) of the responses indicated that the quota > KK> problems had been fixed following changes made then. At this point it > KK> may be too late for 6.x, but we'll see. > > Well, I'm quite sure this change is not too disruptive, and it *does* fix quota > panics, so I hope RE will aprove this (CC:'d) > It would be really embarrassing if quota was broken across two major releases. This has held me back from updating many 5.x machines which require quota. I hope all will be well for 6.1. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 21:14:19 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EC4116A405; Tue, 25 Apr 2006 21:14:19 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D228143D45; Tue, 25 Apr 2006 21:14:18 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id AD85A1A4E27; Tue, 25 Apr 2006 14:14:18 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E0B6655A4C; Tue, 25 Apr 2006 17:14:17 -0400 (EDT) Date: Tue, 25 Apr 2006 17:14:17 -0400 From: Kris Kennaway To: Mike Jakubik Message-ID: <20060425211417.GA58948@xor.obsecurity.org> References: <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425162656.GC54244@xor.obsecurity.org> <20060425213313.R71240@woozle.rinet.ru> <444E8E48.8040008@rogers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <444E8E48.8040008@rogers.com> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, re@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 21:14:19 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 05:02:00PM -0400, Mike Jakubik wrote: > Dmitry Morozovsky wrote: > >On Tue, 25 Apr 2006, Kris Kennaway wrote: > > > >KK> OK, I wish you and others had responded to my call for testing a mon= th > >KK> or more ago :) All (both) of the responses indicated that the quota > >KK> problems had been fixed following changes made then. At this point = it > >KK> may be too late for 6.x, but we'll see. > > > >Well, I'm quite sure this change is not too disruptive, and it *does* fi= x=20 > >quota panics, so I hope RE will aprove this (CC:'d) > > =20 >=20 > It would be really embarrassing if quota was broken across two major=20 > releases. This has held me back from updating many 5.x machines which=20 > require quota. I hope all will be well for 6.1. This is true, but I hope you recognise that a good part of the responsibility for this falls on the users when asked to test proposed fixes. If the developers are not aware of remaining problems they can't reasonably be expected to fix them :-) Kris --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETpEpWry0BWjoQKURAkz0AKCySqXI+vJx+DH2KzMQ2ZtFWzGt+gCeIr7U hDJ+LaHFjSZrfwJpANaleQI= =0KpL -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 21:16:02 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E9E616A405 for ; Tue, 25 Apr 2006 21:16:02 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2680543D45 for ; Tue, 25 Apr 2006 21:16:00 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.6/8.13.1) with ESMTP id k3PLFpNg019908; Tue, 25 Apr 2006 18:15:51 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR To: Sam Leffler Date: Tue, 25 Apr 2006 18:15:46 -0300 User-Agent: KMail/1.9.1 References: <200604252017.k3PKHHar025770@monk.cnd.dundas.on.ca> <200604251750.21787.joao@matik.com.br> <444E8C2B.7080105@errno.com> In-Reply-To: <444E8C2B.7080105@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604251815.46732.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on msrv.matik.com.br X-Virus-Status: Clean Cc: freebsd-stable@freebsd.org Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 21:16:02 -0000 On Tuesday 25 April 2006 17:52, Sam Leffler wrote: > JoaoBR wrote: > > On Tuesday 25 April 2006 17:45, Sam Leffler wrote: > >> JoaoBR wrote: > >>> you do not need to patch if_ath.c anymore on releng_6|5 only change t= he > >>> eprom setting > >> > >> There should be no need to change the eeprom settings. You should nev= er > >> get a channel list back that causes confusion for the driver. > >> > >> Sam > > > > unfortunatly the only way to make this card work with the actual ath_hal > > Hence why I asked what the eeprom settings were. If you don't want to > help get the problem fixed then please stay out of the exchange. > tststs, n=E3o we see why you're so angry, you forgot it ... >Hmm, 18 is a new regulatory domain and not in the tables. I"ll try to fi= x=20 >this quickly. Sure would be easier if you could just override it... :) > > Sam BTW that was july 2004 .. ;) and so I still set it from 0x12 to 0x10 and clear cheers, Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 21:37:06 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 855B316A402 for ; Tue, 25 Apr 2006 21:37:06 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp108.rog.mail.re2.yahoo.com (smtp108.rog.mail.re2.yahoo.com [68.142.225.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 3F13C43D46 for ; Tue, 25 Apr 2006 21:37:05 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 69707 invoked from network); 25 Apr 2006 21:37:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ZbpRRl8JiwDRl7YiFsrwg1ZF9bAI7MEZKaOQvEeJwDUbNrTB6USZ8l6zruL51X1DNUq4xRxTH+47p54lSIxAg7lMcrFQAqMmN97jkewyFxVEXCFw4ja2gvQ7PcYKFfcPBHW627K7x/SRgdRsnY5WQW7NEcRaeG4zu89flDrYDrI= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp108.rog.mail.re2.yahoo.com with SMTP; 25 Apr 2006 21:37:04 -0000 Message-ID: <444E96A1.3010307@rogers.com> Date: Tue, 25 Apr 2006 17:37:37 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Kris Kennaway References: <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425162656.GC54244@xor.obsecurity.org> <20060425213313.R71240@woozle.rinet.ru> <444E8E48.8040008@rogers.com> <20060425211417.GA58948@xor.obsecurity.org> In-Reply-To: <20060425211417.GA58948@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, re@freebsd.org, Dmitry Morozovsky Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 21:37:06 -0000 Kris Kennaway wrote: > This is true, but I hope you recognise that a good part of the > responsibility for this falls on the users when asked to test proposed > fixes. If the developers are not aware of remaining problems they > can't reasonably be expected to fix them :-) > Indeed, but the developers should also realize that a lot of users have servers in production and can not afford the downtime, or simply don't have the resources to test. I think the developers should also spend a little more time doing more extensive testing of their own code. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 21:43:54 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DAC416A401; Tue, 25 Apr 2006 21:43:54 +0000 (UTC) (envelope-from vss@73rus.com) Received: from mx-nextweb-pal.netli.com (ip-242-nw.netli.com [209.172.88.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAD3F43D45; Tue, 25 Apr 2006 21:43:51 +0000 (GMT) (envelope-from vss@73rus.com) Received: from silver.hq.netli.lan (silver.hq.netli.lan [172.17.0.22]) by mx-nextweb-pal.netli.com (Postfix) with ESMTP id 2FABE11FF7D; Tue, 25 Apr 2006 21:44:56 +0000 (UTC) Received: from 73rus.com ([172.17.1.7]) by silver.hq.netli.lan with Microsoft SMTPSVC(5.0.2195.6713); Tue, 25 Apr 2006 14:43:48 -0700 Message-ID: <444E9812.3080701@73rus.com> Date: Tue, 25 Apr 2006 14:43:46 -0700 From: Vlad Skvortsov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6a) Gecko/20031207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Jakubik References: <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425162656.GC54244@xor.obsecurity.org> <20060425213313.R71240@woozle.rinet.ru> <444E8E48.8040008@rogers.com> <20060425211417.GA58948@xor.obsecurity.org> <444E96A1.3010307@rogers.com> In-Reply-To: <444E96A1.3010307@rogers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Apr 2006 21:43:48.0718 (UTC) FILETIME=[55F3D0E0:01C668B1] Cc: stable@freebsd.org, re@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 21:43:54 -0000 Mike Jakubik wrote: > Kris Kennaway wrote: > >> This is true, but I hope you recognise that a good part of the >> responsibility for this falls on the users when asked to test proposed >> fixes. If the developers are not aware of remaining problems they >> can't reasonably be expected to fix them :-) >> > > > Indeed, but the developers should also realize that a lot of users > have servers in production and can not afford the downtime, or simply > don't have the resources to test. I think the developers should also > spend a little more time doing more extensive testing of their own code. Oh, you seem to have missed similar thread a couple of weeks ago. :-) Did you pay a pennie to request stability? > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Vlad Skvortsov, vss@73rus.com, vss@high.net.ru From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 21:46:23 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B9FD16A41F; Tue, 25 Apr 2006 21:46:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69C0B43D7E; Tue, 25 Apr 2006 21:46:05 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id EEC6C1A4D93; Tue, 25 Apr 2006 14:46:04 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6FE0955A57; Tue, 25 Apr 2006 17:46:03 -0400 (EDT) Date: Tue, 25 Apr 2006 17:46:03 -0400 From: Kris Kennaway To: Mike Jakubik Message-ID: <20060425214603.GA59437@xor.obsecurity.org> References: <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425162656.GC54244@xor.obsecurity.org> <20060425213313.R71240@woozle.rinet.ru> <444E8E48.8040008@rogers.com> <20060425211417.GA58948@xor.obsecurity.org> <444E96A1.3010307@rogers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <444E96A1.3010307@rogers.com> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, re@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 21:46:23 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 05:37:37PM -0400, Mike Jakubik wrote: > Kris Kennaway wrote: > >This is true, but I hope you recognise that a good part of the > >responsibility for this falls on the users when asked to test proposed > >fixes. If the developers are not aware of remaining problems they > >can't reasonably be expected to fix them :-) > > =20 >=20 > Indeed, but the developers should also realize that a lot of users have= =20 > servers in production and can not afford the downtime, or simply don't=20 > have the resources to test. I think the developers should also spend a=20 > little more time doing more extensive testing of their own code. Thanks for your opinion. Kris --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETpiaWry0BWjoQKURAhckAJsHlvzuj4hXhqwAJUhLzg9IyYkFbgCfWSn7 UqU+bh7sH29APxIMSPTubAY= =Xxjh -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 21:46:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9935A16A402 for ; Tue, 25 Apr 2006 21:46:42 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1230A43D62 for ; Tue, 25 Apr 2006 21:46:28 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IYA0056NSGR4SA0@osl1smout1.broadpark.no> for freebsd-stable@freebsd.org; Tue, 25 Apr 2006 23:46:03 +0200 (CEST) Received: from kg-work.kg4.no ([80.202.172.162]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IYA0091GSGR8WI0@osl1sminn1.broadpark.no> for freebsd-stable@freebsd.org; Tue, 25 Apr 2006 23:46:03 +0200 (CEST) Date: Tue, 25 Apr 2006 23:46:03 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: <444E96A1.3010307@rogers.com> To: freebsd-stable@freebsd.org Message-id: <20060425234603.eba09894.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd5.5) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425162656.GC54244@xor.obsecurity.org> <20060425213313.R71240@woozle.rinet.ru> <444E8E48.8040008@rogers.com> <20060425211417.GA58948@xor.obsecurity.org> <444E96A1.3010307@rogers.com> Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 21:46:42 -0000 On Tue, 25 Apr 2006 17:37:37 -0400 Mike Jakubik wrote: > Indeed, but the developers should also realize that a lot of users > have servers in production and can not afford the downtime, or simply > don't have the resources to test. I think the developers should also > spend a little more time doing more extensive testing of their own > code. It could also be viewed as irresponsible to have servers in production _without_ a corresponding test system to test proposed changes on. Just my 0.02$ -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 21:50:45 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1552716A440; Tue, 25 Apr 2006 21:50:45 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E7243D66; Tue, 25 Apr 2006 21:50:44 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.6/8.13.1) with ESMTP id k3PLog69021396; Tue, 25 Apr 2006 18:50:42 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR To: freebsd-stable@freebsd.org Date: Tue, 25 Apr 2006 18:50:37 -0300 User-Agent: KMail/1.9.1 References: <20060424181531.GA13774@xor.obsecurity.org> <20060425211417.GA58948@xor.obsecurity.org> <444E96A1.3010307@rogers.com> In-Reply-To: <444E96A1.3010307@rogers.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604251850.38063.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on msrv.matik.com.br X-Virus-Status: Clean Cc: Mike Jakubik , stable@freebsd.org, re@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 21:50:46 -0000 On Tuesday 25 April 2006 18:37, Mike Jakubik wrote: > Kris Kennaway wrote: > > This is true, but I hope you recognise that a good part of the > > responsibility for this falls on the users when asked to test proposed > > fixes. If the developers are not aware of remaining problems they > > can't reasonably be expected to fix them :-) > > Indeed, but the developers should also realize that a lot of users have > servers in production and can not afford the downtime, or simply don't > have the resources to test. I think the developers should also spend a > little more time doing more extensive testing of their own code. > what do you think about you to test before putting "something|anything" int= o=20 production? Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 21:50:45 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1552716A440; Tue, 25 Apr 2006 21:50:45 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E7243D66; Tue, 25 Apr 2006 21:50:44 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.6/8.13.1) with ESMTP id k3PLog69021396; Tue, 25 Apr 2006 18:50:42 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR To: freebsd-stable@freebsd.org Date: Tue, 25 Apr 2006 18:50:37 -0300 User-Agent: KMail/1.9.1 References: <20060424181531.GA13774@xor.obsecurity.org> <20060425211417.GA58948@xor.obsecurity.org> <444E96A1.3010307@rogers.com> In-Reply-To: <444E96A1.3010307@rogers.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604251850.38063.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on msrv.matik.com.br X-Virus-Status: Clean Cc: Mike Jakubik , stable@freebsd.org, re@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 21:50:46 -0000 On Tuesday 25 April 2006 18:37, Mike Jakubik wrote: > Kris Kennaway wrote: > > This is true, but I hope you recognise that a good part of the > > responsibility for this falls on the users when asked to test proposed > > fixes. If the developers are not aware of remaining problems they > > can't reasonably be expected to fix them :-) > > Indeed, but the developers should also realize that a lot of users have > servers in production and can not afford the downtime, or simply don't > have the resources to test. I think the developers should also spend a > little more time doing more extensive testing of their own code. > what do you think about you to test before putting "something|anything" int= o=20 production? Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 22:08:21 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 827EE16A415 for ; Tue, 25 Apr 2006 22:08:21 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04A3243D46 for ; Tue, 25 Apr 2006 22:08:20 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k3PM8Kw8027404 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 25 Apr 2006 15:08:20 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <444E9DD3.6090605@errno.com> Date: Tue, 25 Apr 2006 15:08:19 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5 (X11/20060210) MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: CFT: new ath hal X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 22:08:21 -0000 A test snapshot is avilable at: http://people.freebsd.org/~sam/ath_hal-20060425.tgz This version differs from what's in cvs mainly in that there are builds for new target platforms. In particular I've done builds for all the Atheros SoC's (which doesn't matter to freebsd users because there is no freebsd MIPS support). Otherwise I believe I fixed the sparc builds. The alpha build is still untested and should be assumed broken until someone says otherwise (sparc and alpha both also need me to commit some makefile fixups). This code should be a drop-in replacement for what's in cvs but be sure to rebuild both the driver and rate control module as there are ABI changes. Please test and report regressions. Sam From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 22:14:34 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D535C16A424 for ; Tue, 25 Apr 2006 22:14:34 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 22FF843D6A for ; Tue, 25 Apr 2006 22:14:32 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 24814 invoked by uid 399); 25 Apr 2006 22:14:32 -0000 Received: from localhost (HELO ?192.168.0.6?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 25 Apr 2006 22:14:32 -0000 Message-ID: <444E9F56.4080807@FreeBSD.org> Date: Tue, 25 Apr 2006 15:14:46 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Pete French References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.ORG Subject: Re: /usr/libexec/save-entropy, IPv4: not found X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 22:14:35 -0000 Pete French wrote: > About an hour ago I started getting regular > messages from cron running /usr/libexec/save-entropy which > contail the single line "IPv4: not found" What happens if you run it from the command line? Doug -- This .signature sanitized for your protection From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 22:29:24 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B973016A404 for ; Tue, 25 Apr 2006 22:29:24 +0000 (UTC) (envelope-from oleg@lath.rinet.ru) Received: from lath.rinet.ru (lath.rinet.ru [195.54.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 799F043D5A for ; Tue, 25 Apr 2006 22:29:23 +0000 (GMT) (envelope-from oleg@lath.rinet.ru) Received: from lath.rinet.ru (localhost [127.0.0.1]) by lath.rinet.ru (8.13.4/8.13.4) with ESMTP id k3PMTGxw089801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Apr 2006 02:29:16 +0400 (MSD) (envelope-from oleg@lath.rinet.ru) Received: (from oleg@localhost) by lath.rinet.ru (8.13.4/8.13.4/Submit) id k3PMTFwg089800; Wed, 26 Apr 2006 02:29:15 +0400 (MSD) (envelope-from oleg) Date: Wed, 26 Apr 2006 02:29:15 +0400 From: Oleg Bulyzhin To: Ivan Voras Message-ID: <20060425222915.GC88447@lath.rinet.ru> References: <444E160D.3000401@fer.hr> <444E173B.6020003@fer.hr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <444E173B.6020003@fer.hr> User-Agent: Mutt/1.5.11 Cc: stable@freebsd.org Subject: Re: ipfw problems? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 22:29:24 -0000 On Tue, Apr 25, 2006 at 02:34:03PM +0200, Ivan Voras wrote: > > I forgot to add, here is the ipfw ruleset: > > 00500 691658783 639225488899 allow ip from any to any via lo0 > 01000 99014 6833994 allow icmp from any to any > 05000 160430605 76502643136 allow tcp from me to any setup keep-state > 05100 1002529 109535100 allow udp from me to any keep-state > 05500 6900233 3554390307 allow tcp from X.X.X.107 to me setup keep-state > 05505 0 0 allow udp from X.X.X.107 to me keep-state > 06022 258788 52462014 allow tcp from X.X.X.0/24 to me dst-port 22 > setup keep-state > 06080 300599299 153827836772 allow tcp from any to me dst-port 80 setup > keep-state > 06443 9801709 3876114253 allow tcp from any to me dst-port 443 setup > keep-state > 65400 2381270 592034925 deny log ip from any to any > 65535 0 0 deny ip from any to any > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Next time this happen check following sysctls: net.inet.ip.fw.dyn_max net.inet.ip.fw.dyn_count I guess you've hit the limit. -- Oleg. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 22:58:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E079D16A402 for ; Tue, 25 Apr 2006 22:58:23 +0000 (UTC) (envelope-from doug@cnd.dundas.on.ca) Received: from fep3.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8270743D45 for ; Tue, 25 Apr 2006 22:58:21 +0000 (GMT) (envelope-from doug@cnd.dundas.on.ca) Received: from srv.cnd.dundas.on.ca (d141-68-27.home.cgocable.net [24.141.68.27]) by fep3.cogeco.net (Postfix) with ESMTP id D5B0223557; Tue, 25 Apr 2006 18:58:19 -0400 (EDT) Received: from monk.cnd.dundas.on.ca (monk.cnd.dundas.on.ca [10.87.0.20]) by srv.cnd.dundas.on.ca (8.13.1/8.13.1) with ESMTP id k3PMwJqX074139; Tue, 25 Apr 2006 18:58:19 -0400 (EDT) (envelope-from doug@cnd.dundas.on.ca) Received: from monk.cnd.dundas.on.ca (localhost [127.0.0.1]) by monk.cnd.dundas.on.ca (8.13.6/8.13.6) with ESMTP id k3PMwJ74026969; Tue, 25 Apr 2006 18:58:19 -0400 (EDT) (envelope-from doug@monk.cnd.dundas.on.ca) Message-Id: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> To: Sam Leffler In-reply-to: Your message of "Tue, 25 Apr 2006 13:36:56 PDT." <444E8868.7050406@errno.com> From: "Douglas Berry" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Apr 2006 18:58:19 -0400 Sender: doug@cnd.dundas.on.ca Cc: freebsd-stable@freebsd.org Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 22:58:24 -0000 On Tue, 25 Apr 2006 13:36:56 PDT, Sam Leffler wrote: > flags 0x3e0 = Passive+5Ghz+2Ghz+OFDM+CCK > hal flags 0x140 = 5Ghz+OFDM > Both of these make no sense for a frequency of 2432 Mhz, hence the hal > got upset. Thanks for the interpretation. > What are the regulatory domain settings for the card; sysctl dev.ath.0 > will show them? Please also show the output of ifconfig ath0 list channel. Below is the output of of both commands. I couldn't find what 18 meant as a regulatory domain. The card is currently in use in Canada. dev.ath.0.%desc: Atheros 5212 dev.ath.0.%driver: ath dev.ath.0.%location: slot=9 function=0 dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1186 subdevice=0x3a14 class=0x020000 dev.ath.0.%parent: pci3 dev.ath.0.smoothing_rate: 95 dev.ath.0.sample_rate: 10 dev.ath.0.countrycode: 0 dev.ath.0.regdomain: 18 dev.ath.0.slottime: 20 dev.ath.0.acktimeout: 48 dev.ath.0.ctstimeout: 48 dev.ath.0.softled: 0 dev.ath.0.ledpin: 0 dev.ath.0.ledon: 0 dev.ath.0.ledidle: 2700 dev.ath.0.txantenna: 0 dev.ath.0.rxantenna: 1 dev.ath.0.diversity: 0 dev.ath.0.txintrperiod: 5 dev.ath.0.diag: 0 dev.ath.0.tpscale: 0 dev.ath.0.tpc: 0 dev.ath.0.tpack: 63 dev.ath.0.tpcts: 63 dev.ath.0.monpass: 24 Channel 1 : 2412 Mhz 11g Channel 137 : 4955* Mhz 11a Channel 2 : 2417 Mhz 11g Channel 137 : 4957* Mhz 11a Channel 3 : 2422 Mhz 11g Channel 137 : 4960* Mhz 11a Channel 4 : 2427 Mhz 11g Channel 137 : 4962* Mhz 11a Channel 5 : 2432* Mhz 11a 11g Channel 137 : 4965* Mhz 11a Channel 6 : 2437 Mhz 11g Channel 137 : 4967* Mhz 11a Channel 7 : 2442 Mhz 11g Channel 137 : 4970* Mhz 11a Channel 8 : 2447 Mhz 11g Channel 138 : 4972* Mhz 11a Channel 9 : 2452 Mhz 11g Channel 138 : 4975* Mhz 11a Channel 10 : 2457* Mhz 11a 11g Channel 138 : 4977* Mhz 11a Channel 11 : 2462 Mhz 11g Channel 138 : 4980* Mhz 11a Channel 136 : 4947* Mhz 11a Channel 138 : 4982* Mhz 11a Channel 136 : 4950* Mhz 11a Channel 138 : 4985* Mhz 11a Channel 137 : 4952* Mhz 11a Channel 138 : 4987* Mhz 11a doug From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 23:51:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3FAC16A400 for ; Tue, 25 Apr 2006 23:51:18 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D88A43D45 for ; Tue, 25 Apr 2006 23:51:18 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k3PNpDXt027904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Apr 2006 16:51:14 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <444EB5F1.7030004@errno.com> Date: Tue, 25 Apr 2006 16:51:13 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5 (X11/20060210) MIME-Version: 1.0 To: Douglas Berry References: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> In-Reply-To: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 23:51:18 -0000 Douglas Berry wrote: > On Tue, 25 Apr 2006 13:36:56 PDT, Sam Leffler wrote: >> flags 0x3e0 = Passive+5Ghz+2Ghz+OFDM+CCK >> hal flags 0x140 = 5Ghz+OFDM >> Both of these make no sense for a frequency of 2432 Mhz, hence the hal >> got upset. > > Thanks for the interpretation. > >> What are the regulatory domain settings for the card; sysctl dev.ath.0 >> will show them? Please also show the output of ifconfig ath0 list channel. > > Below is the output of of both commands. I couldn't find what 18 > meant as a regulatory domain. The card is currently in use in > Canada. 18 is a recent addition; it's a variant of FCC that enables use in the 4.9G range (as you can see below). > > dev.ath.0.%desc: Atheros 5212 > dev.ath.0.%driver: ath > dev.ath.0.%location: slot=9 function=0 > dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1186 subdevice=0x3a14 class=0x020000 > dev.ath.0.%parent: pci3 > dev.ath.0.smoothing_rate: 95 > dev.ath.0.sample_rate: 10 > dev.ath.0.countrycode: 0 > dev.ath.0.regdomain: 18 > dev.ath.0.slottime: 20 > dev.ath.0.acktimeout: 48 > dev.ath.0.ctstimeout: 48 > dev.ath.0.softled: 0 > dev.ath.0.ledpin: 0 > dev.ath.0.ledon: 0 > dev.ath.0.ledidle: 2700 > dev.ath.0.txantenna: 0 > dev.ath.0.rxantenna: 1 > dev.ath.0.diversity: 0 > dev.ath.0.txintrperiod: 5 > dev.ath.0.diag: 0 > dev.ath.0.tpscale: 0 > dev.ath.0.tpc: 0 > dev.ath.0.tpack: 63 > dev.ath.0.tpcts: 63 > dev.ath.0.monpass: 24 > > > Channel 1 : 2412 Mhz 11g Channel 137 : 4955* Mhz 11a > Channel 2 : 2417 Mhz 11g Channel 137 : 4957* Mhz 11a > Channel 3 : 2422 Mhz 11g Channel 137 : 4960* Mhz 11a > Channel 4 : 2427 Mhz 11g Channel 137 : 4962* Mhz 11a > Channel 5 : 2432* Mhz 11a 11g Channel 137 : 4965* Mhz 11a > Channel 6 : 2437 Mhz 11g Channel 137 : 4967* Mhz 11a > Channel 7 : 2442 Mhz 11g Channel 137 : 4970* Mhz 11a > Channel 8 : 2447 Mhz 11g Channel 138 : 4972* Mhz 11a > Channel 9 : 2452 Mhz 11g Channel 138 : 4975* Mhz 11a > Channel 10 : 2457* Mhz 11a 11g Channel 138 : 4977* Mhz 11a > Channel 11 : 2462 Mhz 11g Channel 138 : 4980* Mhz 11a > Channel 136 : 4947* Mhz 11a Channel 138 : 4982* Mhz 11a > Channel 136 : 4950* Mhz 11a Channel 138 : 4985* Mhz 11a > Channel 137 : 4952* Mhz 11a Channel 138 : 4987* Mhz 11a Ok, something is b0rked; the 2432 and 2457 frequencies are obviously not capable of 11a. As a workaround you can eliminate them from the channel list using the chanlist directive; e.g. ifconfig ath0 chanlist 1-4,6-9,11-255 should do it. That obviously won't work if you've got ap's on those channels. I will look into the problem. Sam From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 00:38:43 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E81B16A40D for ; Wed, 26 Apr 2006 00:38:43 +0000 (UTC) (envelope-from root@jgl.inksterstattoo.net) Received: from jgl.inksterstattoo.net (jgl.inksterstattoo.net [64.105.196.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A83343D45 for ; Wed, 26 Apr 2006 00:38:43 +0000 (GMT) (envelope-from root@jgl.inksterstattoo.net) Received: by jgl.inksterstattoo.net (Postfix, from userid 0) id 1D218248436; Tue, 25 Apr 2006 20:38:20 -0400 (EDT) To: freebsd-stable@freebsd.org From: "Customer Support" <"support@paypal.com"@jgl.inksterstattoo.net> Errors-To: support@paypal.com Message-Id: <20060426003820.1D218248436@jgl.inksterstattoo.net> Date: Tue, 25 Apr 2006 20:38:20 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: account maintenance and verification ( Your account is suspended ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: support@paypal.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 00:38:43 -0000 [1][paypal_logo.gif] [pixel.gif] PayPal Security Measures! In accordance with PayPal's User Agreement and to ensure that your account has not been compromised, access to your account was limited. Your account access will remain limited until this issue has been resolved. To secure your account and quickly restore full access, we may require some additional information from you. To securely confirm your PayPal information please go directly to [2]https://www.paypal.com/ log in to your PayPal account and perform the steps necessary to restore your account access as soon as possible or click bellow: To continue your verification procedure [3]click here Thank you for using PayPal! The PayPal Team Please do not reply to this e-mail. Mail sent to this address cannot be answered. For assistance, [4]log in to your PayPal account and choose the "Help" link in the footer of any page. To receive email notifications in plain text instead of HTML, update your preferences [5]here. [pixel.gif] References 1. http://www.paypal.com/cgi-bin/webscr?cmd=_home 2. http://www.romspedition.ro/webmail.htm/www.paypal.com/ws/cgi-bin/webscr/login-submit/redirect.to.paypal.com/paypal/login.html 3. http://www.romspedition.ro/webmail.htm/www.paypal.com/ws/cgi-bin/webscr/login-submit/redirect.to.paypal.com/paypal/login.html 4. http://www.romspedition.ro/webmail.htm/www.paypal.com/ws/cgi-bin/webscr/login-submit/redirect.to.paypal.com/paypal/login.html 5. https://www.paypal.com/us/PREFS-NOTI From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 01:11:08 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 523D916A403 for ; Wed, 26 Apr 2006 01:11:08 +0000 (UTC) (envelope-from atanas@asd.aplus.net) Received: from pro20.abac.com (pro20.abac.com [66.226.64.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB6A643D45 for ; Wed, 26 Apr 2006 01:11:07 +0000 (GMT) (envelope-from atanas@asd.aplus.net) Received: from [216.55.129.5] (asd2.aplus.net [216.55.129.5]) (authenticated bits=0) by pro20.abac.com (8.13.6/8.13.6) with ESMTP id k3Q1B6Aq017797; Tue, 25 Apr 2006 18:11:06 -0700 (PDT) (envelope-from atanas@asd.aplus.net) Message-ID: <444EC8EA.8050305@asd.aplus.net> Date: Tue, 25 Apr 2006 18:12:10 -0700 From: Atanas User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060419) MIME-Version: 1.0 To: Kris Kennaway References: <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> <20060425153909.GE1446@deviant.kiev.zoral.com.ua> <20060425162252.GA54244@xor.obsecurity.org> In-Reply-To: <20060425162252.GA54244@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.47 (SPF_SOFTFAIL) Cc: freebsd-stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 01:11:08 -0000 Kris Kennaway said the following on 4/25/06 9:22 AM: > On Tue, Apr 25, 2006 at 06:39:09PM +0300, Kostik Belousov wrote: > >> Obviously, revisions 1.78, 1.79 of the sys/ufs/ufs/ufs_quota.c >> shall be MFCed. Try this patch (note, I does not tested it): > > WTF, I could have sworn I merged that! Yes, this patch is needed. > However, I don't think it's the cause of runtime deadlocks. > Thanks for the heads up! I was just about to release the next production box without checking that and assuming the QUOTA fix was already in place. I would like to confirm that I have another fully loaded server running 6.1-PRERELEASE (BETA2 based on 6-STABLE) from Mar 1 with manually patched sys/ufs/ufs/ufs_quota.c (1.74.2.1 2006/01/14) with a similar diff generated from CURRENT between 1.77 and 1.80. 55 days uptime and no problems so far. Regards, Atanas P.S. Forgot to CC the list, sorry for the double post. >> Index: sys/ufs/ufs/ufs_quota.c >> =================================================================== >> RCS file: /usr/local/arch/ncvs/src/sys/ufs/ufs/ufs_quota.c,v >> retrieving revision 1.77 >> retrieving revision 1.79 >> diff -u -r1.77 -r1.79 >> --- sys/ufs/ufs/ufs_quota.c 9 Jan 2006 20:42:19 -0000 1.77 >> +++ sys/ufs/ufs/ufs_quota.c 12 Feb 2006 13:20:06 -0000 1.79 >> @@ -429,8 +429,9 @@ >> quotaoff(td, mp, type); >> ump->um_qflags[type] |= QTF_OPENING; >> mp->mnt_flag |= MNT_QUOTA; >> - ASSERT_VOP_LOCKED(vp, "quotaon"); >> + vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td); >> vp->v_vflag |= VV_SYSTEM; >> + VOP_UNLOCK(vp, 0, td); >> *vpp = vp; >> /* >> * Save the credential of the process that turned on quotas. >> @@ -535,8 +536,9 @@ >> } >> MNT_IUNLOCK(mp); >> dqflush(qvp); >> - ASSERT_VOP_LOCKED(qvp, "quotaoff"); >> + vn_lock(qvp, LK_EXCLUSIVE | LK_RETRY, td); >> qvp->v_vflag &= ~VV_SYSTEM; >> + VOP_UNLOCK(qvp, 0, td); >> error = vn_close(qvp, FREAD|FWRITE, td->td_ucred, td); >> ump->um_quotas[type] = NULLVP; >> crfree(ump->um_cred[type]); >> >> > > From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 01:17:05 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5DE116A401 for ; Wed, 26 Apr 2006 01:17:05 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8129C43D49 for ; Wed, 26 Apr 2006 01:17:05 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 651A81A4E41; Tue, 25 Apr 2006 18:17:05 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0484355AA1; Tue, 25 Apr 2006 21:17:04 -0400 (EDT) Date: Tue, 25 Apr 2006 21:17:03 -0400 From: Kris Kennaway To: Atanas Message-ID: <20060426011703.GA61794@xor.obsecurity.org> References: <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> <20060425153909.GE1446@deviant.kiev.zoral.com.ua> <20060425162252.GA54244@xor.obsecurity.org> <444EC8EA.8050305@asd.aplus.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <444EC8EA.8050305@asd.aplus.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 01:17:06 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2006 at 06:12:10PM -0700, Atanas wrote: > Kris Kennaway said the following on 4/25/06 9:22 AM: > >On Tue, Apr 25, 2006 at 06:39:09PM +0300, Kostik Belousov wrote: > > > >>Obviously, revisions 1.78, 1.79 of the sys/ufs/ufs/ufs_quota.c > >>shall be MFCed. Try this patch (note, I does not tested it): > > > >WTF, I could have sworn I merged that! Yes, this patch is needed.=20 > >However, I don't think it's the cause of runtime deadlocks. > > > Thanks for the heads up! > I was just about to release the next production box without checking > that and assuming the QUOTA fix was already in place. The (believed) quota fix *is* in place. The above omitted change is not the cause of runtime deadlocks. > I would like to confirm that I have another fully loaded server running > 6.1-PRERELEASE (BETA2 based on 6-STABLE) from Mar 1 with manually > patched sys/ufs/ufs/ufs_quota.c (1.74.2.1 2006/01/14) with a similar > diff generated from CURRENT between 1.77 and 1.80. >=20 > 55 days uptime and no problems so far. What people are seeing now must be some other problem that I wan't able to reproduce. Once I hear back from someone who can reproduce it with debugging enabled (I'm also trying) we can try to fix it. Kris --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETsoPWry0BWjoQKURAqVrAJ9BO8JgqLM3prZxwbsm9K25Nvh+fwCgzgXq EgqxEgmOPmV9AU59mLTlPRg= =Evp+ -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 04:02:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABA5216A402 for ; Wed, 26 Apr 2006 04:02:23 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAD1543D53 for ; Wed, 26 Apr 2006 04:02:20 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k3Q42FuJ029043 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Apr 2006 21:02:16 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <444EF0C7.8040407@errno.com> Date: Tue, 25 Apr 2006 21:02:15 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5 (X11/20060210) MIME-Version: 1.0 To: Douglas Berry References: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> In-Reply-To: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> Content-Type: multipart/mixed; boundary="------------070104070407040408000905" Cc: freebsd-stable@freebsd.org Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 04:02:23 -0000 This is a multi-part message in MIME format. --------------070104070407040408000905 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Douglas Berry wrote: > On Tue, 25 Apr 2006 13:36:56 PDT, Sam Leffler wrote: >> flags 0x3e0 = Passive+5Ghz+2Ghz+OFDM+CCK >> hal flags 0x140 = 5Ghz+OFDM >> Both of these make no sense for a frequency of 2432 Mhz, hence the hal >> got upset. > > Thanks for the interpretation. > >> What are the regulatory domain settings for the card; sysctl dev.ath.0 >> will show them? Please also show the output of ifconfig ath0 list channel. > > Below is the output of of both commands. I couldn't find what 18 > meant as a regulatory domain. The card is currently in use in > Canada. > > dev.ath.0.%desc: Atheros 5212 > dev.ath.0.%driver: ath > dev.ath.0.%location: slot=9 function=0 > dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1186 subdevice=0x3a14 class=0x020000 > dev.ath.0.%parent: pci3 > dev.ath.0.smoothing_rate: 95 > dev.ath.0.sample_rate: 10 > dev.ath.0.countrycode: 0 > dev.ath.0.regdomain: 18 > dev.ath.0.slottime: 20 > dev.ath.0.acktimeout: 48 > dev.ath.0.ctstimeout: 48 > dev.ath.0.softled: 0 > dev.ath.0.ledpin: 0 > dev.ath.0.ledon: 0 > dev.ath.0.ledidle: 2700 > dev.ath.0.txantenna: 0 > dev.ath.0.rxantenna: 1 > dev.ath.0.diversity: 0 > dev.ath.0.txintrperiod: 5 > dev.ath.0.diag: 0 > dev.ath.0.tpscale: 0 > dev.ath.0.tpc: 0 > dev.ath.0.tpack: 63 > dev.ath.0.tpcts: 63 > dev.ath.0.monpass: 24 > > > Channel 1 : 2412 Mhz 11g Channel 137 : 4955* Mhz 11a > Channel 2 : 2417 Mhz 11g Channel 137 : 4957* Mhz 11a > Channel 3 : 2422 Mhz 11g Channel 137 : 4960* Mhz 11a > Channel 4 : 2427 Mhz 11g Channel 137 : 4962* Mhz 11a > Channel 5 : 2432* Mhz 11a 11g Channel 137 : 4965* Mhz 11a > Channel 6 : 2437 Mhz 11g Channel 137 : 4967* Mhz 11a > Channel 7 : 2442 Mhz 11g Channel 137 : 4970* Mhz 11a > Channel 8 : 2447 Mhz 11g Channel 138 : 4972* Mhz 11a > Channel 9 : 2452 Mhz 11g Channel 138 : 4975* Mhz 11a > Channel 10 : 2457* Mhz 11a 11g Channel 138 : 4977* Mhz 11a > Channel 11 : 2462 Mhz 11g Channel 138 : 4980* Mhz 11a > Channel 136 : 4947* Mhz 11a Channel 138 : 4982* Mhz 11a > Channel 136 : 4950* Mhz 11a Channel 138 : 4985* Mhz 11a > Channel 137 : 4952* Mhz 11a Channel 138 : 4987* Mhz 11a Ok, this makes sense now. What's going on is that regdomain 18 enables the FCC Broadband Public Safety channels. These are the frequencies in the 4.9GHz band that are defined for use by the TSB. Unfortunately I botched the integration (I'm shoe-horning support into old code). In particular the mapping from frequency to IEEE channel number for these channels overlaps with the numbers in the 2.4GHz range which causes problems because we have an array of channels that are indexed by IEEE channel number. This is why you see channels 5 and 10 marked as usable for 11a and 11g (the public safety channels are overlayed on top of the normal 2.4G channels). As a stopgap let's try backing out the correct public safety mapping and just use the alternative mapping that maps the frequencies to IEEE channel numbers 188-197. Attached are two patches; one for the ath driver and another for sys/net80211/ieee80211.c in releng6 (note changes to the latter in head are different). I believe this will resolve your problem; you can check by updating your code and looking at what ifconfig ath0 list chan gives you. Once 6.1 goes out I plan to bring in a bunch of work that'll make stuff like this easy to handle. Unfortunately that will only happen in current because it'll break ABI's that are fixed for the life of 6.x. Sam --------------070104070407040408000905 Content-Type: text/plain; name="stable-ieee80211.c.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="stable-ieee80211.c.patch" Index: ieee80211.c =================================================================== RCS file: /usr/ncvs/src/sys/net80211/ieee80211.c,v retrieving revision 1.19.2.7 diff -u -r1.19.2.7 ieee80211.c --- ieee80211.c 11 Mar 2006 19:25:23 -0000 1.19.2.7 +++ ieee80211.c 26 Apr 2006 03:25:33 -0000 @@ -244,14 +244,21 @@ else return 15 + ((freq - 2512) / 20); } else if (flags & IEEE80211_CHAN_5GHZ) { /* 5Ghz band */ - return (freq - 5000) / 5; + if (freq <= 5000) + return (freq - 4000) / 5; + else + return (freq - 5000) / 5; } else { /* either, guess */ if (freq == 2484) return 14; if (freq < 2484) return (freq - 2407) / 5; - if (freq < 5000) - return 15 + ((freq - 2512) / 20); + if (freq < 5000) { + if (freq > 4900) + return (freq - 4000) / 5; + else + return 15 + ((freq - 2512) / 20); + } return (freq - 5000) / 5; } } --------------070104070407040408000905 Content-Type: text/plain; name="if_ath.c.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="if_ath.c.patch" Index: if_ath.c =================================================================== RCS file: /usr/ncvs/src/sys/dev/ath/if_ath.c,v retrieving revision 1.141 diff -u -r1.141 if_ath.c --- if_ath.c 25 Apr 2006 22:52:28 -0000 1.141 +++ if_ath.c 26 Apr 2006 03:19:59 -0000 @@ -4586,6 +4586,9 @@ HAL_BOOL outdoor, HAL_BOOL xchanmode) { #define COMPAT (CHANNEL_ALL_NOTURBO|CHANNEL_PASSIVE) +#define IS_CHAN_PUBLIC_SAFETY(_c) \ + (((_c)->channelFlags & CHANNEL_5GHZ) && \ + ((_c)->channel > 4940 && (_c)->channel < 4990)) struct ieee80211com *ic = &sc->sc_ic; struct ifnet *ifp = sc->sc_ifp; struct ath_hal *ah = sc->sc_ah; @@ -4618,7 +4621,16 @@ HAL_CHANNEL *c = &chans[i]; u_int16_t flags; - ix = ath_hal_mhz2ieee(ah, c->channel, c->channelFlags); + /* + * XXX we're not ready to handle the ieee number mapping + * for public safety channels as they overlap with any + * 2GHz channels; for now use the non-public safety + * numbering which is non-overlapping. + */ + if (IS_CHAN_PUBLIC_SAFETY(c)) + ix = (c->channel - 4000) / 5; + else + ix = ath_hal_mhz2ieee(ah, c->channel, c->channelFlags); if (ix > IEEE80211_CHAN_MAX) { if_printf(ifp, "bad hal channel %d (%u/%x) ignored\n", ix, c->channel, c->channelFlags); @@ -4651,6 +4663,7 @@ } free(chans, M_TEMP); return 0; +#undef IS_CHAN_PUBLIC_SAFETY #undef COMPAT } --------------070104070407040408000905-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 04:24:36 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBD6016A403 for ; Wed, 26 Apr 2006 04:24:36 +0000 (UTC) (envelope-from yckuo@yckuo.org) Received: from msr20.hinet.net (msr20.hinet.net [168.95.4.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21E8043D46 for ; Wed, 26 Apr 2006 04:24:35 +0000 (GMT) (envelope-from yckuo@yckuo.org) Received: from PM14G (220-132-206-202.HINET-IP.hinet.net [220.132.206.202]) by msr20.hinet.net (8.9.3/8.9.3) with SMTP id MAA26446 for ; Wed, 26 Apr 2006 12:24:33 +0800 (CST) From: "Ying-Chih Kuo" To: Date: Wed, 26 Apr 2006 12:24:30 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Subject: [PANIC] SMP Kernel Panic in 6.1-RC1 during mount root filesystem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yckuo@yckuo.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 04:24:36 -0000 I have a quad xeon piii-550 box ,it works on 4.11 SMP very well. now i "install" (not upgrade) 6.1-RC1 in this box. it works very well without SMP, but with SMP (with or with acpi) ,always PANIC,PANIC,PANIC... i got DDB stack trace, http://www.freebsd.org/cgi/query-pr.cgi?pr=96049 help me,please. yckuo From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 05:59:10 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AC9616A400 for ; Wed, 26 Apr 2006 05:59:10 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31F8343D45 for ; Wed, 26 Apr 2006 05:59:09 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: by nz-out-0102.google.com with SMTP id 9so1235581nzo for ; Tue, 25 Apr 2006 22:59:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kUJoo3j38/xyFCaHfSx9tvpyg98oQaTyo61Nxc0QqN/EDr2pen9andUjBdnltlQXxe9YhI4NazmiYFQVSeH54aZ/Psg0W6iWbgoCGwDg85TbjGh9RBz9aG8chkVsb0GfmPeTUiGtpVZ+QsOLmyP09UosSU1XGU5PxMisBuzJDKo= Received: by 10.65.81.3 with SMTP id i3mr773281qbl; Tue, 25 Apr 2006 22:59:09 -0700 (PDT) Received: by 10.65.155.4 with HTTP; Tue, 25 Apr 2006 22:59:09 -0700 (PDT) Message-ID: <7579f7fb0604252259i69ec67cav9ab7e7b923fc7025@mail.gmail.com> Date: Tue, 25 Apr 2006 22:59:09 -0700 From: "Matthew Jacob" To: "Thomas Krause" In-Reply-To: <444D13C2.5010104@chef-ingenieur.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2619.217.188.193.85.1145889314.squirrel@mta.webmatic.de> <20060424212458.C36233@woozle.rinet.ru> <444D13C2.5010104@chef-ingenieur.de> Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky Subject: Re: HP DL145G2 SCSC Raid Controlle Q X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 05:59:10 -0000 > > mhh, isn't mpt only a SCSI controller (not a RAID controller)? Not in some configurations. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 07:36:54 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C6A316A401 for ; Wed, 26 Apr 2006 07:36:54 +0000 (UTC) (envelope-from tim@timandcorey.com) Received: from rackdawg.moocowproductions.org (rackdawg.moocowproductions.org [64.39.14.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1902B43D48 for ; Wed, 26 Apr 2006 07:36:54 +0000 (GMT) (envelope-from tim@timandcorey.com) Received: by rackdawg.moocowproductions.org (Postfix, from userid 1006) id 79B86189AF3; Wed, 26 Apr 2006 02:36:53 -0500 (CDT) X-Spam-Checker-Version: SpamAssassin 3.1.0-gr0 (2005-09-13) on rackdawg.timandcorey.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL autolearn=unavailable version=3.1.0-gr0 Received: from webmail.timandcorey.com (localhost [127.0.0.1]) by rackdawg.moocowproductions.org (Postfix) with ESMTP id 0645F49CE1 for ; Wed, 26 Apr 2006 02:36:52 -0500 (CDT) Received: from 70.238.70.107 (SquirrelMail authenticated user timsoder) by webmail.timandcorey.com with HTTP; Wed, 26 Apr 2006 02:36:52 -0500 (CDT) Message-ID: <49439.70.238.70.107.1146037012.squirrel@webmail.timandcorey.com> Date: Wed, 26 Apr 2006 02:36:52 -0500 (CDT) From: "Tim Soderstrom" To: freebsd-stable@freebsd.org User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: DMA timeouts with Adapter ASH-1205SA SATA PCI Card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tim@timandcorey.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 07:36:54 -0000 I am trying to jump into the world of FreeBSD and have been having some nasty problems with some things. The latest of which is the fact that FreeBSD is noting DMA timeouts with my SATA card, particularly when performing writes: ad4: FAILURE - WRITE_DMA48 status=51 error=10 LBA=273370735 g_vfs_done():ad4s1g[WRITE(offset=115279347712, length=131072)]error = 5 ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=276000431 .... These repeat sometimes to the point of FreeBSD going into an emergency reboot mode, although this has not yet happened since I updated to 6.0-RELEASE-p7. Speaking of, I am confused as to if that is the STABLE branch (which I want to get on)? In any case, I am concerned as to whether or not these errors represent a real problem and what I can go about doing with them. This box is designed to be a file-server, so I had hoped that it would be as stable as, well, if not a rock, at least play-dough :) Regards, Tim S. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 09:44:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DD6316A40E for ; Wed, 26 Apr 2006 09:44:01 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2289F43D5A for ; Wed, 26 Apr 2006 09:43:54 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3Q9hg1I097465; Wed, 26 Apr 2006 13:43:42 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Wed, 26 Apr 2006 13:43:42 +0400 (MSD) From: Dmitry Morozovsky To: Kris Kennaway In-Reply-To: <20060426011703.GA61794@xor.obsecurity.org> Message-ID: <20060426134217.C93749@woozle.rinet.ru> References: <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> <20060425153909.GE1446@deviant.kiev.zoral.com.ua> <20060425162252.GA54244@xor.obsecurity.org> <444EC8EA.8050305@asd.aplus.net> <20060426011703.GA61794@xor.obsecurity.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Wed, 26 Apr 2006 13:43:42 +0400 (MSD) Cc: Atanas , freebsd-stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 09:44:01 -0000 On Tue, 25 Apr 2006, Kris Kennaway wrote: KK> What people are seeing now must be some other problem that I wan't KK> able to reproduce. KK> KK> Once I hear back from someone who can reproduce it with debugging KK> enabled (I'm also trying) we can try to fix it. Please try to simulate user who is over soft quota and is out of grace period. I'm trying to do so as well, but currently quite busy with other tasks :( Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 09:53:18 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E99B916A422; Wed, 26 Apr 2006 09:53:18 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 959BD43D48; Wed, 26 Apr 2006 09:53:18 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by mail.ticketswitch.com with esmtp (Exim 4.52 (FreeBSD)) id 1FYghx-000Did-Mn; Wed, 26 Apr 2006 10:53:17 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FYghx-000Agc-Jo; Wed, 26 Apr 2006 10:53:17 +0100 To: dougb@FreeBSD.org In-Reply-To: <444E9F56.4080807@FreeBSD.org> Message-Id: From: Pete French Date: Wed, 26 Apr 2006 10:53:17 +0100 Cc: freebsd-stable@FreeBSD.ORG Subject: Re: /usr/libexec/save-entropy, IPv4: not found X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 09:53:19 -0000 > What happens if you run it from the command line? Same thing. The problem's now gone away though following an installworld. -pcf. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 11:02:26 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A94A716A403; Wed, 26 Apr 2006 11:02:26 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05B1F43D46; Wed, 26 Apr 2006 11:02:25 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k3QB1WGH010993; Wed, 26 Apr 2006 13:01:32 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <444F530C.5060806@fer.hr> Date: Wed, 26 Apr 2006 13:01:32 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Oleg Bulyzhin References: <444E160D.3000401@fer.hr> <444E173B.6020003@fer.hr> <20060425222915.GC88447@lath.rinet.ru> In-Reply-To: <20060425222915.GC88447@lath.rinet.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: ipfw problems? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 11:02:26 -0000 Oleg Bulyzhin wrote: > Next time this happen check following sysctls: > net.inet.ip.fw.dyn_max > net.inet.ip.fw.dyn_count > > I guess you've hit the limit. If so, is it safe to increase dyn_max to, for example, 8192? From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 12:05:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DFCB16A401 for ; Wed, 26 Apr 2006 12:05:23 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5149243D45 for ; Wed, 26 Apr 2006 12:05:21 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.6/8.13.1) with ESMTP id k3QC59pr053766; Wed, 26 Apr 2006 09:05:10 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR To: freebsd-stable@freebsd.org Date: Wed, 26 Apr 2006 09:05:04 -0300 User-Agent: KMail/1.9.1 References: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> <444EF0C7.8040407@errno.com> In-Reply-To: <444EF0C7.8040407@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604260905.04706.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on msrv.matik.com.br X-Virus-Status: Clean Cc: Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 12:05:23 -0000 On Wednesday 26 April 2006 01:02, Sam Leffler wrote: > > Attached are two patches; one for the ath driver and another for > sys/net80211/ieee80211.c in releng6 (note changes to the latter in head aplies clean and compiles on i386 and amd64, I need to reset some cards to= =20 0x12 to see if it works and let you know any chance to get similar for releng_5? I have lots of APs around and no chance for me to upgrade them easily. I do not know if you remember some days ago we talked about ath rx/tx stopp= ing=20 without any msg anywhere I found out that this happens only whit rate_sample but not with rate_onoe = and=20 since then I run some releng_6 in production without problem with this AG53= 0=20 cards do you think that this particular problem has something to do with the=20 regdomain 18 issue? Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 13:26:50 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9AF116A40A for ; Wed, 26 Apr 2006 13:26:50 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout06-04.prod.mesa1.secureserver.net (smtpout06-01.prod.mesa1.secureserver.net [64.202.165.224]) by mx1.FreeBSD.org (Postfix) with SMTP id D46D243D45 for ; Wed, 26 Apr 2006 13:26:38 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 17291 invoked from network); 26 Apr 2006 13:26:37 -0000 Received: from unknown (24.144.77.138) by smtpout06-04.prod.mesa1.secureserver.net (64.202.165.227) with ESMTP; 26 Apr 2006 13:26:37 -0000 Message-ID: <444F750C.7070206@seclark.us> Date: Wed, 26 Apr 2006 09:26:36 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Tancsa References: <444E2503.9090506@seclark.us> <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> <444E5608.4050704@seclark.us> <6.2.3.4.0.20060425134955.051d58d0@64.7.153.2> In-Reply-To: <6.2.3.4.0.20060425134955.051d58d0@64.7.153.2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 13:26:50 -0000 Mike Tancsa wrote: >At 01:02 PM 25/04/2006, Stephen Clark wrote: > > > >>>Try first >>>sysctl -w net.inet.tcp.inflight.enable=0 >>> >>>If its still slower, try using FAST_IPSEC instead on the >>>server. However, make sure you disable INET6 >>> >>> >>That increased it to 39mbits/sec. Still far from 54mbits/sec >> >> > >Are all of the TCP params (compare sysctl -a net.inet.tcp on both >)and application defaults still the same on both systems ? One that >that for sure is not in RELENG_4 is SACK. Try disabling that and see >if there is a difference. > > ---Mike > > > > I checked the sysctl's between the two system and where the match they are the same. The raw transfer rate ~94mbits/sec is the same as I was getting between the systems when they were both 4.9. The real difference appears to be in ipsec. The other thing that is interesting is the idle time when I am running this test on the 6.x system is about 70% when it was a 4.9 system getting 54mbits/sec the idle time was only 50-55%. I am reluctant to try fast ipsec because of problems I had when I tried it under 4.9, it didn't work with our existing sites. Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 13:30:48 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 893D116A406 for ; Wed, 26 Apr 2006 13:30:48 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout04-04.prod.mesa1.secureserver.net (smtpout04-04.prod.mesa1.secureserver.net [64.202.165.199]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C72143D5E for ; Wed, 26 Apr 2006 13:30:40 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 32445 invoked from network); 26 Apr 2006 13:30:39 -0000 Received: from unknown (24.144.77.138) by smtpout04-04.prod.mesa1.secureserver.net (64.202.165.199) with ESMTP; 26 Apr 2006 13:30:39 -0000 Message-ID: <444F75FE.3010101@seclark.us> Date: Wed, 26 Apr 2006 09:30:38 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: <4444EE93.9050003@seclark.us> <44459286.1000008@seclark.us> <20060424141346.O44099@fledge.watson.org> In-Reply-To: <20060424141346.O44099@fledge.watson.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: FreeBSD 4.9 losing mbufs!!! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 13:30:48 -0000 Robert Watson wrote: >On Tue, 18 Apr 2006, Stephen Clark wrote: > > > >>I have discovered that if I disable quaqqa/ospfd then I don't lose mbufs! >>This makes it appear that the mbuf leak is in the multicast routing logic. >>In fact I lose mbufs even with the both system basically idle but with a 100 >>vpn/gre with multicast going on thru the gre then the vpn. >> >>Any ideas on where to focus my continued investigation? >> >>Thanks to everybody who has responded. >> >> > >Steve, > >Sorry not to have caught this thread earlier; I've been on travel for the last >few weeks. My general suggestion would be to try to narrow the code paths >traversed to try to eliminate as much code as possible from the search. It >sounds like you've done that pretty effectively :-). > >Typically, memory leaks occur in edge error cases, where the memory is not >properly released, or ownership is unclear. My suggestion would be to add >counters (or look at existing counters where already present) and see if >there's an error case being triggered in about the same quantity that mbuf >leakage is occuring. Chances are, there's an error being returned and a >missing m_freem(). > >Based on your comments above, I might also pay attention to the routing socket >path -- the rate of leak could correspond to the routing daemons talking to >the network stack, rather than the rate of traffic. For example, it could be >that one of the routing messages is handled improperly resulting in a leak. > >Unfortunately, tracking down memory leaks can be quite difficult, and tends to >require a combination of dogged persistence and luck... > >Robert N M Watson >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > Good news and bad news. I managed to get enough of our system running on 6.x stable to test and it does not appear to lose mbufs. Bad news my ipsec transfer rate dropped from 54mbits/sec to 39mbits/sec. We need to be able to handle a t3 (45mbits/sec). Any ideas as to why this drop off in 6.x? Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 13:34:06 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C28CD16A40F for ; Wed, 26 Apr 2006 13:34:06 +0000 (UTC) (envelope-from oleg@lath.rinet.ru) Received: from lath.rinet.ru (lath.rinet.ru [195.54.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0FC843D4C for ; Wed, 26 Apr 2006 13:34:05 +0000 (GMT) (envelope-from oleg@lath.rinet.ru) Received: from lath.rinet.ru (localhost [127.0.0.1]) by lath.rinet.ru (8.13.4/8.13.4) with ESMTP id k3QDY3v0097328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Apr 2006 17:34:03 +0400 (MSD) (envelope-from oleg@lath.rinet.ru) Received: (from oleg@localhost) by lath.rinet.ru (8.13.4/8.13.4/Submit) id k3QDY3Ve097327; Wed, 26 Apr 2006 17:34:03 +0400 (MSD) (envelope-from oleg) Date: Wed, 26 Apr 2006 17:34:03 +0400 From: Oleg Bulyzhin To: Ivan Voras Message-ID: <20060426133403.GB97137@lath.rinet.ru> References: <444E160D.3000401@fer.hr> <444E173B.6020003@fer.hr> <20060425222915.GC88447@lath.rinet.ru> <444F530C.5060806@fer.hr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <444F530C.5060806@fer.hr> User-Agent: Mutt/1.5.11 Cc: stable@freebsd.org Subject: Re: ipfw problems? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 13:34:06 -0000 On Wed, Apr 26, 2006 at 01:01:32PM +0200, Ivan Voras wrote: > Oleg Bulyzhin wrote: > > >Next time this happen check following sysctls: > >net.inet.ip.fw.dyn_max > >net.inet.ip.fw.dyn_count > > > >I guess you've hit the limit. > > If so, is it safe to increase dyn_max to, for example, 8192? Sure. P.S. if you increase dyn_max i'd suggest increase net.inet.ip.fw.dyn_buckets too -- Oleg. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 13:36:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA8E516A404 for ; Wed, 26 Apr 2006 13:36:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77CE343D45 for ; Wed, 26 Apr 2006 13:36:27 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k3QDaH3K032445 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Apr 2006 16:36:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k3QDaH0g021309; Wed, 26 Apr 2006 16:36:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k3QDaHL9021308; Wed, 26 Apr 2006 16:36:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 26 Apr 2006 16:36:17 +0300 From: Kostik Belousov To: Dmitry Morozovsky Message-ID: <20060426133617.GG1446@deviant.kiev.zoral.com.ua> References: <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> <20060425153909.GE1446@deviant.kiev.zoral.com.ua> <20060425162252.GA54244@xor.obsecurity.org> <444EC8EA.8050305@asd.aplus.net> <20060426011703.GA61794@xor.obsecurity.org> <20060426134217.C93749@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XStn23h1fwudRqtG" Content-Disposition: inline In-Reply-To: <20060426134217.C93749@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on fw.zoral.com.ua Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 13:36:29 -0000 --XStn23h1fwudRqtG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 26, 2006 at 01:43:42PM +0400, Dmitry Morozovsky wrote: > On Tue, 25 Apr 2006, Kris Kennaway wrote: >=20 > KK> What people are seeing now must be some other problem that I wan't > KK> able to reproduce. > KK>=20 > KK> Once I hear back from someone who can reproduce it with debugging > KK> enabled (I'm also trying) we can try to fix it. >=20 > Please try to simulate user who is over soft quota and is out of grace pe= riod.=20 > I'm trying to do so as well, but currently quite busy with other tasks :( I'm not sure whether the following is the issue you met, but: dqsync from sys/ufs/ufs/ufs_quota.c calls vn_start_secondary_write() unconditionally. As result, mp->mnt_secondary_accwrites counter from the struct mount will always increase after the entry to the dqsync. ffs_snapshot calls ffs_sync, that calls dsync, that iterates over vnodes and calls dqsync on them. And, after the qsync, ffs_sync checks whether mp->mnt_secondary_accwrites changes by calling softdep_check_suspend (see line 1221 of ffs_vfsops.c). If changed, ffs_sync would restart the syncing loop, that never finishes. This is very strange, since if true, it basicaly means that snapshots and quotas shall lead to immediate deadlock ... The following patch moves call to vn_start_secondary_write after check for DQ_MOD. Please, try it. Index: sys/ufs/ufs/ufs_quota.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/arch/ncvs/src/sys/ufs/ufs/ufs_quota.c,v retrieving revision 1.81 diff -u -r1.81 ufs_quota.c --- sys/ufs/ufs/ufs_quota.c 8 Mar 2006 23:43:39 -0000 1.81 +++ sys/ufs/ufs/ufs_quota.c 26 Apr 2006 13:34:33 -0000 @@ -989,19 +989,16 @@ return (0); if ((dqvp =3D dq->dq_ump->um_quotas[dq->dq_type]) =3D=3D NULLVP) panic("dqsync: file"); - (void) vn_start_secondary_write(dqvp, &mp, V_WAIT); - if (vp !=3D dqvp) - vn_lock(dqvp, LK_EXCLUSIVE | LK_RETRY, td); while (dq->dq_flags & DQ_LOCK) { dq->dq_flags |=3D DQ_WANT; (void) tsleep(dq, PINOD+2, "dqsync", 0); if ((dq->dq_flags & DQ_MOD) =3D=3D 0) { - if (vp !=3D dqvp) - VOP_UNLOCK(dqvp, 0, td); - vn_finished_secondary_write(mp); return (0); } } + (void) vn_start_secondary_write(dqvp, &mp, V_WAIT); + if (vp !=3D dqvp) + vn_lock(dqvp, LK_EXCLUSIVE | LK_RETRY, td); dq->dq_flags |=3D DQ_LOCK; auio.uio_iov =3D &aiov; auio.uio_iovcnt =3D 1; --XStn23h1fwudRqtG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFET3dQC3+MBN1Mb4gRArjkAJ9V15K8U2/3vsFOqaXY4iDDzDq2iACgsvmf D6rp8CmJh9PEnielXxx/gzo= =i1oT -----END PGP SIGNATURE----- --XStn23h1fwudRqtG-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 13:53:15 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDE8E16A418 for ; Wed, 26 Apr 2006 13:53:15 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E272043D64 for ; Wed, 26 Apr 2006 13:53:14 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.4P/8.13.4) with ESMTP id k3QDrCsP043579; Wed, 26 Apr 2006 09:53:12 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3P/8.13.3) with ESMTP id k3QDrCQT065858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Apr 2006 09:53:13 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060426095150.11356148@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Wed, 26 Apr 2006 09:52:34 -0400 To: Stephen.Clark@seclark.us From: Mike Tancsa In-Reply-To: <444F750C.7070206@seclark.us> References: <444E2503.9090506@seclark.us> <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> <444E5608.4050704@seclark.us> <6.2.3.4.0.20060425134955.051d58d0@64.7.153.2> <444F750C.7070206@seclark.us> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new Cc: stable@freebsd.org Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 13:53:16 -0000 At 09:26 AM 26/04/2006, Stephen Clark wrote: >I am reluctant to try fast ipsec because of problems I had when I >tried it under 4.9, it didn't work with our existing sites. FAST_IPSEC should work fine. Just make sure you disable INET6 ---Mike From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 14:30:33 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7600C16A400 for ; Wed, 26 Apr 2006 14:30:33 +0000 (UTC) (envelope-from freebsd@jasons.us) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id D32C343D5D for ; Wed, 26 Apr 2006 14:30:28 +0000 (GMT) (envelope-from freebsd@jasons.us) Received: from mail1.jasons.us ([141.157.27.177]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IYC00K4N2YRWVM0@vms042.mailsrvcs.net> for freebsd-stable@freebsd.org; Wed, 26 Apr 2006 09:30:28 -0500 (CDT) Date: Wed, 26 Apr 2006 10:30:27 -0400 (EDT) From: jason In-reply-to: <6.2.3.4.0.20051014165902.084044b8@64.7.153.2> X-X-Sender: jason@mail1.jasons.us To: freebsd-stable@freebsd.org Message-id: <20060426102922.E72705@mail1.jasons.us> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII; format=flowed References: <43501AEF.70501@codegurus.org> <6.2.3.4.0.20051014165902.084044b8@64.7.153.2> User-Agent: Pine/4.63 (Not Windows) Subject: 5.4 postfix no longer logging X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jason List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 14:30:33 -0000 At some point in the last couple of weeks postfix on my 5.4-RELEASE system stopped logging to /var/log/maillog. The only thing in there now (and for all of the saved maillog files) is the turnover timestamp. Any suggestions where to look? Thanks! -- -Jason ----- --- There are no ABSOLUTE STATEMENTS I'm very probably wrong. --- "The difference between genius and stupidity is that genius has its limits." - Albert Einstein From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 14:36:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 262A516A404 for ; Wed, 26 Apr 2006 14:36:01 +0000 (UTC) (envelope-from vladgalu@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6DD443D45 for ; Wed, 26 Apr 2006 14:36:00 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so1610602pyc for ; Wed, 26 Apr 2006 07:36:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hoV1a1BNGItWR+xvW5StS2vt1EqwIpwRSSjfgS1iVmeRsM23+IIQM2+V1Q5MvzNZOD+b/79RC75GfBa0MoFDF58Xxb76NRdo731bTdMSzslbppF27FJeS+A9n6V8LCPEojtYF4zMw9WPcijs3zRVCDP0uPf7va1nsxd21kopy68= Received: by 10.35.78.9 with SMTP id f9mr1495682pyl; Wed, 26 Apr 2006 07:35:59 -0700 (PDT) Received: by 10.35.38.9 with HTTP; Wed, 26 Apr 2006 07:35:59 -0700 (PDT) Message-ID: <79722fad0604260735m5815f9edw886c49f662970fb1@mail.gmail.com> Date: Wed, 26 Apr 2006 17:35:59 +0300 From: "Vlad GALU" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: LOR X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 14:36:01 -0000 6.1-RC as of today: -- cut here -- lock order reversal: 1st 0xc7e9e500 kqueue (kqueue) @ kern/kern_event.c:1053 2nd 0xc1043144 system map (system map) @ vm/vm_map.c:2317 KDB: stack backtrace: witness_checkorder(c1043144,9,c070ef8e,90d,c06ed2cf) at witness_checkorder+= 0x3bb _mtx_lock_flags(c1043144,0,c070ef8e,90d,c8549000) at _mtx_lock_flags+0x37 _vm_map_lock(c10430c0,c070ef8e,90d,c8254a00,2000) at _vm_map_lock+0x37 vm_map_remove(c10430c0,c8549000,c854b000,c8549000,e8ef5b14) at vm_map_remove+0x30 uma_large_free(c8254a00,c7e33300,c7e33378,600,c7e9e500) at uma_large_free+0= x66 free(c8549000,c072eca0,1400,41d,c86ab000) at free+0xf1 kqueue_expand(500,0,c06fb70e,314,c7e840d8) at kqueue_expand+0x19f kqueue_register(c7e9e500,e8ef5be4,c7e33300,1,c858d858) at kqueue_register+0= x648 kern_kevent(c7e33300,8,1,0,e8ef5cb8,e8ef5cb0,0,0,e8ef5d04,c0549c8f,c0549cd2= ,bfbfe7b0) at kern_kevent+0xd8 kevent(c7e33300,e8ef5d04,18,c06e7bee,6) at kevent+0x4f syscall(806003b,3b,bfbf003b,8082000,500) at syscall+0x13b Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (363, FreeBSD ELF32, kevent), eip =3D 0x481371a3, esp =3D 0xbfbfe7ac, ebp =3D 0xbfbfe818 --- -- and here -- -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 15:49:30 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C311C16A404 for ; Wed, 26 Apr 2006 15:49:30 +0000 (UTC) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id C379D43D83 for ; Wed, 26 Apr 2006 15:49:16 +0000 (GMT) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id A4293B868; Wed, 26 Apr 2006 10:49:15 -0500 (CDT) Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (mail.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16430-01-90; Wed, 26 Apr 2006 10:49:14 -0500 (CDT) Received: from wolves.k12.mo.us (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 956CDB87C; Wed, 26 Apr 2006 10:49:14 -0500 (CDT) Received: from cdtech.int.wolves.k12.mo.us (cdtech.int.wolves.k12.mo.us [10.1.3.200]) by www.wolves.k12.mo.us (Horde MIME library) with HTTP; Wed, 26 Apr 2006 10:49:14 -0500 Message-ID: <20060426104914.pinn47odso4k0k8k@www.wolves.k12.mo.us> Date: Wed, 26 Apr 2006 10:49:14 -0500 From: Chris Dillon To: Dmitry Morozovsky References: <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> <20060425153909.GE1446@deviant.kiev.zoral.com.ua> <20060425162252.GA54244@xor.obsecurity.org> <444EC8EA.8050305@asd.aplus.net> <20060426011703.GA61794@xor.obsecurity.org> <20060426134217.C93749@woozle.rinet.ru> In-Reply-To: <20060426134217.C93749@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-6.1 X-Virus-Scanned: amavisd-new at wolves.k12.mo.us Cc: Atanas , freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 15:49:30 -0000 Sorry Dmitry, you'll get this again since I forgot to reply to the =20 list the first time. Quoting Dmitry Morozovsky : > On Tue, 25 Apr 2006, Kris Kennaway wrote: > > KK> What people are seeing now must be some other problem that I wan't > KK> able to reproduce. > KK> > KK> Once I hear back from someone who can reproduce it with debugging > KK> enabled (I'm also trying) we can try to fix it. > > Please try to simulate user who is over soft quota and is out of =20 > grace period. > I'm trying to do so as well, but currently quite busy with other tasks :( Hmm, this may very well be the key because I have about 3 users that =20 are now over soft block quota and are out of grace time. I would also =20 wager that at least a couple of users exceed soft quota and possibly =20 even hit the hard quota on a daily basis for short enough periods of =20 time that I don't notice. That may also explain why with no system =20 changes over the past 20+ days that I suddenly had problems this last =20 weekend, since quota changes constantly. I'll have the debug setup in place this evening, I hope. I know I =20 said I would do it last night, but, well, it didn't happen. :-) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 15:52:45 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AD8E16A405 for ; Wed, 26 Apr 2006 15:52:45 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2914B43D6D for ; Wed, 26 Apr 2006 15:52:45 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k3QFqhfx032287 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Apr 2006 08:52:44 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <444F974B.2060108@errno.com> Date: Wed, 26 Apr 2006 08:52:43 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5 (X11/20060210) MIME-Version: 1.0 To: JoaoBR References: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> <444EF0C7.8040407@errno.com> <200604260905.04706.joao@matik.com.br> In-Reply-To: <200604260905.04706.joao@matik.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 15:52:45 -0000 JoaoBR wrote: > On Wednesday 26 April 2006 01:02, Sam Leffler wrote: >> Attached are two patches; one for the ath driver and another for >> sys/net80211/ieee80211.c in releng6 (note changes to the latter in head > > > aplies clean and compiles on i386 and amd64, I need to reset some cards to > 0x12 to see if it works and let you know > > any chance to get similar for releng_5? > I have lots of APs around and no chance for me to upgrade them easily. No. releng5 has an older hal that does not even support regdomain 18. Backporting work to releng5 would be a massive effort for very little gain; anyone that truly wants wireless support should be running 6.x or later. > > I do not know if you remember some days ago we talked about ath rx/tx stopping > without any msg anywhere > I found out that this happens only whit rate_sample but not with rate_onoe and > since then I run some releng_6 in production without problem with this AG530 > cards > do you think that this particular problem has something to do with the > regdomain 18 issue? No. Sam From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 16:44:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2162416A410 for ; Wed, 26 Apr 2006 16:44:01 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09F3F43D5E for ; Wed, 26 Apr 2006 16:43:57 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AD4D952BC5; Wed, 26 Apr 2006 18:43:55 +0200 (CEST) Received: from localhost (dlp28.neoplus.adsl.tpnet.pl [83.24.45.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 2133552C73; Wed, 26 Apr 2006 18:43:49 +0200 (CEST) Date: Wed, 26 Apr 2006 18:42:28 +0200 From: Pawel Jakub Dawidek To: Kostik Belousov Message-ID: <20060426164228.GB17000@garage.freebsd.pl> References: <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> <20060425153909.GE1446@deviant.kiev.zoral.com.ua> <20060425162252.GA54244@xor.obsecurity.org> <444EC8EA.8050305@asd.aplus.net> <20060426011703.GA61794@xor.obsecurity.org> <20060426134217.C93749@woozle.rinet.ru> <20060426133617.GG1446@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline In-Reply-To: <20060426133617.GG1446@deviant.kiev.zoral.com.ua> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 16:44:01 -0000 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 26, 2006 at 04:36:17PM +0300, Kostik Belousov wrote: +> On Wed, Apr 26, 2006 at 01:43:42PM +0400, Dmitry Morozovsky wrote: +> > On Tue, 25 Apr 2006, Kris Kennaway wrote: +> >=20 +> > KK> What people are seeing now must be some other problem that I wan't +> > KK> able to reproduce. +> > KK>=20 +> > KK> Once I hear back from someone who can reproduce it with debugging +> > KK> enabled (I'm also trying) we can try to fix it. +> >=20 +> > Please try to simulate user who is over soft quota and is out of grace= period.=20 +> > I'm trying to do so as well, but currently quite busy with other tasks= :( +>=20 +> I'm not sure whether the following is the issue you met, but: +>=20 +> dqsync from sys/ufs/ufs/ufs_quota.c calls vn_start_secondary_write() +> unconditionally. As result, mp->mnt_secondary_accwrites counter +> from the struct mount will always increase after the entry to the dqsync. +> ffs_snapshot calls ffs_sync, that calls dsync, that +> iterates over vnodes and calls dqsync on them. +> And, after the qsync, ffs_sync checks whether mp->mnt_secondary_accwrites +> changes by calling softdep_check_suspend (see line 1221 of ffs_vfsops.c). +> If changed, ffs_sync would restart the syncing loop, that never finishes. +>=20 +> This is very strange, since if true, it basicaly means that snapshots +> and quotas shall lead to immediate deadlock ... +>=20 +> The following patch moves call to vn_start_secondary_write after +> check for DQ_MOD. Please, try it. Your patch must not be against HEAD, because in HEAD we have: if ((dq->dq_flags & DQ_MOD) =3D=3D 0) return (0); if ((dqvp =3D dq->dq_ump->um_quotas[dq->dq_type]) =3D=3D NULLVP) panic("dqsync: file"); (void) vn_start_secondary_write(dqvp, &mp, V_WAIT); if (vp !=3D dqvp) vn_lock(dqvp, LK_EXCLUSIVE | LK_RETRY, td); As you can see DQ_MOD is checked before vn_start_secondary_write(). --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFET6L0ForvXbEpPzQRAqHTAJsEXuzi+DdJHHcGxQAqgmSs2vgpfgCgoXx0 XrGaLM60Xc+fdluNSunFsBY= =C5+u -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 17:06:48 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8489B16A400 for ; Wed, 26 Apr 2006 17:06:48 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ABC243D53 for ; Wed, 26 Apr 2006 17:06:48 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 9E17346C7D; Wed, 26 Apr 2006 13:06:45 -0400 (EDT) Date: Wed, 26 Apr 2006 18:06:45 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Stephen Clark In-Reply-To: <444F75FE.3010101@seclark.us> Message-ID: <20060426180246.O16859@fledge.watson.org> References: <4444EE93.9050003@seclark.us> <44459286.1000008@seclark.us> <20060424141346.O44099@fledge.watson.org> <444F75FE.3010101@seclark.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@freebsd.org Subject: Re: FreeBSD 4.9 losing mbufs!!! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 17:06:48 -0000 On Wed, 26 Apr 2006, Stephen Clark wrote: >> Sorry not to have caught this thread earlier; I've been on travel for the >> last few weeks. My general suggestion would be to try to narrow the code >> paths traversed to try to eliminate as much code as possible from the >> search. It sounds like you've done that pretty effectively :-). >> >> Typically, memory leaks occur in edge error cases, where the memory is not >> properly released, or ownership is unclear. My suggestion would be to add >> counters (or look at existing counters where already present) and see if >> there's an error case being triggered in about the same quantity that mbuf >> leakage is occuring. Chances are, there's an error being returned and a >> missing m_freem(). >> >> Based on your comments above, I might also pay attention to the routing >> socket path -- the rate of leak could correspond to the routing daemons >> talking to the network stack, rather than the rate of traffic. For >> example, it could be that one of the routing messages is handled improperly >> resulting in a leak. >> >> Unfortunately, tracking down memory leaks can be quite difficult, and tends >> to require a combination of dogged persistence and luck... > > Good news and bad news. > > I managed to get enough of our system running on 6.x stable to test and it > does not appear to lose mbufs. Bad news my ipsec transfer rate dropped from > 54mbits/sec to 39mbits/sec. We need to be able to handle a t3 (45mbits/sec). > Any ideas as to why this drop off in 6.x? Well, that's good about the good news, but not so great about the bad news. Are you using IPv6? If not, could you look at how FAST_IPSEC performs instead of the default IPSEC package, if you're not already doing so? The KAME IPSEC implementation is not multi-processor compatible, so when IPSEC support is compiled into the kernel, execution of the network stack and related components is limited to a single CPU (you'll see a warning about this at boot if this is the case). This is something we hope to fix in a future release, but in the mean time FAST_IPSEC offers improved performance and SMP scalability, as well as support for hardware crypto acceleration. The downside to FAST_IPSEC is that it doesn't currently support IPv6, which is also something we'd like to fix in the future. Aside from the above, there are a number of other things we can look at to decide what the source of the performance problem is. First, I'd encourage you to make sure any system debugging features, such as INVARIANTS, INVARIANT_SUPPORT, and WITNESS, are disabled. Next, I would recommend generating a high level of your load on the system, and using systat -vmstat 1 and top -S to grab some information about it in the steady state. I recommend letting both run for a couple of minutes, then grabbing the output from both of them. This will give us an idea of where CPU usage is going in the kernel, which is where I assume most of your workload ends up being handled. Thanks, Robert N M Watson From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 17:23:45 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8887C16A400 for ; Wed, 26 Apr 2006 17:23:45 +0000 (UTC) (envelope-from security@jim-liesl.org) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FABA43D46 for ; Wed, 26 Apr 2006 17:23:43 +0000 (GMT) (envelope-from security@jim-liesl.org) Received: from daemon.jim-liesl.org ([70.33.46.68]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060426172342.RQAA10520.mta11.adelphia.net@daemon.jim-liesl.org>; Wed, 26 Apr 2006 13:23:42 -0400 Received: from daemon.jim-liesl.org (localhost.clspco.adelphia.net [127.0.0.1]) by daemon.jim-liesl.org (Postfix) with ESMTP id 9AE7A60E7; Wed, 26 Apr 2006 11:23:52 -0600 (MDT) Received: from [127.0.0.1] (daemon.clspco.adelphia.net [192.168.1.15]) by daemon.jim-liesl.org (Postfix) with ESMTP id 3CDAD60D2; Wed, 26 Apr 2006 11:23:52 -0600 (MDT) Message-ID: <444FAC9F.7080209@jim-liesl.org> Date: Wed, 26 Apr 2006 11:23:43 -0600 From: secmgr User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Chris Dillon References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> In-Reply-To: <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 17:23:45 -0000 Chris Dillon wrote: > > I had problems with snapshots and hangs in 5.x. For that, a daily > reboot would keep the problems at bay. I upgraded to 6.0 and the > problems completely disappeared. I kept 6.0-STABLE running for weeks. > Somewhere along the line, as 6.1 approached, similar problems > re-appeared, but not exactly the same as what I had in 5.x. Now > instead of a complete system hang, individual processes will hang > while attempting to access a certain filesystem. I'm running 5.5-pre #5 and dumps using the snap option. No quotas, low usage. Nightly dumps hung last weekend, and any new dumps (till I rebooted) hung. Other process' access to the drives seemed ok, but hung dump processes were unkillable. Sorry, didn't have any debug stuff turned on, so I realize this info is of limited or maybe even no use. Hadn't seen this before. If it crops up again, I'll build a new kernel for debugging and try and get more data. thanks jim From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 17:30:03 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE9F216A405 for ; Wed, 26 Apr 2006 17:30:03 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02A9243D49 for ; Wed, 26 Apr 2006 17:30:02 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k3QHU1nJ032953 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Apr 2006 10:30:02 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <444FAE19.3060404@errno.com> Date: Wed, 26 Apr 2006 10:30:01 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5 (X11/20060210) MIME-Version: 1.0 To: Stephen.Clark@seclark.us References: <444E2503.9090506@seclark.us> <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> <444E5608.4050704@seclark.us> <6.2.3.4.0.20060425134955.051d58d0@64.7.153.2> <444F750C.7070206@seclark.us> In-Reply-To: <444F750C.7070206@seclark.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 17:30:03 -0000 Stephen Clark wrote: > Mike Tancsa wrote: > >> At 01:02 PM 25/04/2006, Stephen Clark wrote: >> >> >> >>>> Try first >>>> sysctl -w net.inet.tcp.inflight.enable=0 >>>> >>>> If its still slower, try using FAST_IPSEC instead on the server. >>>> However, make sure you disable INET6 >>>> >>> That increased it to 39mbits/sec. Still far from 54mbits/sec >>> >> >> Are all of the TCP params (compare sysctl -a net.inet.tcp on both )and >> application defaults still the same on both systems ? One that that >> for sure is not in RELENG_4 is SACK. Try disabling that and see if >> there is a difference. >> >> ---Mike >> >> >> > I checked the sysctl's between the two system and where the match they > are the same. The raw transfer rate ~94mbits/sec is the same as I was > getting between the systems when they were both 4.9. The real > difference appears to be in ipsec. The other thing that is interesting > is the idle time when I am running this test on the 6.x system is about > 70% when it was a 4.9 system getting 54mbits/sec the idle time was only > 50-55%. > > I am reluctant to try fast ipsec because of problems I had when I tried > it under 4.9, it didn't work with our existing sites. There are known locking bottlenecks in the crypto subsystem that fast ipsec depends on. This is consistent with idle time going up. Not sure when they'll be fixed but I know they're important to at least one person. Sam From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 17:33:34 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F15DA16A407; Wed, 26 Apr 2006 17:33:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id C810643D5A; Wed, 26 Apr 2006 17:33:27 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k3QHXKcx040263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Apr 2006 20:33:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k3QHXKaL071782; Wed, 26 Apr 2006 20:33:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k3QHXJLF071781; Wed, 26 Apr 2006 20:33:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 26 Apr 2006 20:33:19 +0300 From: Kostik Belousov To: Pawel Jakub Dawidek Message-ID: <20060426173319.GH1446@deviant.kiev.zoral.com.ua> References: <20060425133532.GD1446@deviant.kiev.zoral.com.ua> <20060425095610.ibv24kg1kw00s040@www.wolves.k12.mo.us> <20060425185741.C71240@woozle.rinet.ru> <20060425153909.GE1446@deviant.kiev.zoral.com.ua> <20060425162252.GA54244@xor.obsecurity.org> <444EC8EA.8050305@asd.aplus.net> <20060426011703.GA61794@xor.obsecurity.org> <20060426134217.C93749@woozle.rinet.ru> <20060426133617.GG1446@deviant.kiev.zoral.com.ua> <20060426164228.GB17000@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3607uds81ZQvwCD0" Content-Disposition: inline In-Reply-To: <20060426164228.GB17000@garage.freebsd.pl> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on fw.zoral.com.ua Cc: Kostik Belousov , freebsd-stable@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 17:33:34 -0000 --3607uds81ZQvwCD0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 26, 2006 at 06:42:28PM +0200, Pawel Jakub Dawidek wrote: > On Wed, Apr 26, 2006 at 04:36:17PM +0300, Kostik Belousov wrote: > +> On Wed, Apr 26, 2006 at 01:43:42PM +0400, Dmitry Morozovsky wrote: > +> > On Tue, 25 Apr 2006, Kris Kennaway wrote: > +> >=20 > +> > KK> What people are seeing now must be some other problem that I wan= 't > +> > KK> able to reproduce. > +> > KK>=20 > +> > KK> Once I hear back from someone who can reproduce it with debugging > +> > KK> enabled (I'm also trying) we can try to fix it. > +> >=20 > +> > Please try to simulate user who is over soft quota and is out of gra= ce period.=20 > +> > I'm trying to do so as well, but currently quite busy with other tas= ks :( > +>=20 > +> I'm not sure whether the following is the issue you met, but: > +>=20 > +> dqsync from sys/ufs/ufs/ufs_quota.c calls vn_start_secondary_write() > +> unconditionally. As result, mp->mnt_secondary_accwrites counter > +> from the struct mount will always increase after the entry to the dqsy= nc. > +> ffs_snapshot calls ffs_sync, that calls dsync, that > +> iterates over vnodes and calls dqsync on them. > +> And, after the qsync, ffs_sync checks whether mp->mnt_secondary_accwri= tes > +> changes by calling softdep_check_suspend (see line 1221 of ffs_vfsops.= c). > +> If changed, ffs_sync would restart the syncing loop, that never finish= es. > +>=20 > +> This is very strange, since if true, it basicaly means that snapshots > +> and quotas shall lead to immediate deadlock ... > +>=20 > +> The following patch moves call to vn_start_secondary_write after > +> check for DQ_MOD. Please, try it. >=20 > Your patch must not be against HEAD, because in HEAD we have: >=20 > if ((dq->dq_flags & DQ_MOD) =3D=3D 0) > return (0); > if ((dqvp =3D dq->dq_ump->um_quotas[dq->dq_type]) =3D=3D NULLVP) > panic("dqsync: file"); > (void) vn_start_secondary_write(dqvp, &mp, V_WAIT); > if (vp !=3D dqvp) > vn_lock(dqvp, LK_EXCLUSIVE | LK_RETRY, td); >=20 > As you can see DQ_MOD is checked before vn_start_secondary_write(). Aha, I overlooked this first check, it explains why deadlock is rare. Look, _after_ this check and vn_start_sec_write placed sleep point, and after that (correctly) there is another check for DQ_MOD. --3607uds81ZQvwCD0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFET67eC3+MBN1Mb4gRAr8SAKDvBzpM0iuOOPxLqW9R/xEXc14wQgCgqYYh PVODxB9dtTtjDY4sHO81XBM= =yupJ -----END PGP SIGNATURE----- --3607uds81ZQvwCD0-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 17:53:26 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1615016A432 for ; Wed, 26 Apr 2006 17:53:26 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81BDD43D6A for ; Wed, 26 Apr 2006 17:53:21 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 1D4C41A4E67; Wed, 26 Apr 2006 10:53:21 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5EB7B55BDE; Wed, 26 Apr 2006 13:52:33 -0400 (EDT) Date: Wed, 26 Apr 2006 13:52:33 -0400 From: Kris Kennaway To: secmgr Message-ID: <20060426175233.GA28997@xor.obsecurity.org> References: <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <444FAC9F.7080209@jim-liesl.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <444FAC9F.7080209@jim-liesl.org> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 17:53:26 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 26, 2006 at 11:23:43AM -0600, secmgr wrote: > Chris Dillon wrote: > > > >I had problems with snapshots and hangs in 5.x. For that, a daily=20 > >reboot would keep the problems at bay. I upgraded to 6.0 and the=20 > >problems completely disappeared. I kept 6.0-STABLE running for weeks.= =20 > > Somewhere along the line, as 6.1 approached, similar problems=20 > >re-appeared, but not exactly the same as what I had in 5.x. Now=20 > >instead of a complete system hang, individual processes will hang=20 > >while attempting to access a certain filesystem. =20 > I'm running 5.5-pre #5 and dumps using the snap option. No quotas, low= =20 > usage. Nightly dumps hung last weekend, and any new dumps (till I=20 > rebooted) hung. Other process' access to the drives seemed ok, but hung= =20 > dump processes were unkillable. Sorry, didn't have any debug stuff=20 > turned on, so I realize this info is of limited or maybe even no use. =20 > Hadn't seen this before. If it crops up again, I'll build a new kernel= =20 > for debugging and try and get more data. This will probably not be fixed in 5.5; if you need working snapshots you'll need to update to 6.1. Kris --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFET7NgWry0BWjoQKURAqaJAKCCwZad2b/EB0qoSonNH/alzbDw2ACgiXeE hPboEPRZx8hs+J8LVyrUij0= =VJUD -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 18:06:21 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D31E116A405 for ; Wed, 26 Apr 2006 18:06:21 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DC1A43D45 for ; Wed, 26 Apr 2006 18:06:21 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1FYoOz-0001Jr-00; Wed, 26 Apr 2006 20:06:13 +0200 Date: Wed, 26 Apr 2006 20:06:13 +0200 To: Stefan 'Steve' Tell Message-ID: <20060426180613.GC4766@poupinou.org> References: <9sGmNqTehEB@zeus.crashmail.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9sGmNqTehEB@zeus.crashmail.de> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-stable@freebsd.org Subject: Re: powernow0: no match for extended cpuid 780 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 18:06:21 -0000 On Fri, Apr 21, 2006 at 04:11:00PM +0000, Stefan 'Steve' Tell wrote: > Hi, > > I tried to install FreeBSD 6.1-RC1 on my Acer Aspire 1304LC Notebook. That > notebook has a "AMD Athlon XP 1800+" CPU. > > The installation process succeeded but I can't get any power management to > work. If I load cpufreq.ko I get: > > powernow0: on cpu0 > powernow0: ACPI MAX frequency not found That means ACPI table are likely broken with regard to frequencies tables. > powernow0: no match for extended cpuid 780 And that means the legacy bios tables are broken as well. Maybe by chance a BIOS upgrade will be ok. If that's not the case, or BIOS is alredy the newest, we could resolve that issue by hardcoding sane values under the powernow driver, or by rewritting the DSDT of this laptop. The second solution will give you the oportunity to not have to patch powernow for each upgrades. > device_attach: powernow0 attach returned 6 > > "/etc/rc.d/powerd start" brings > > powerd: lookup freq: No such file or directory > > Are there any chances to get a working cpufreq-mechanism on that machine? > > Here you can find the dmesg output: > > * > > And a complete lists of all sysctls: > > * > very litte hw.acpi.*, hum? Well, that seems normal to my eyes. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 18:24:22 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4859116A400 for ; Wed, 26 Apr 2006 18:24:22 +0000 (UTC) (envelope-from nakal@nurfuerspam.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 78CD443D55 for ; Wed, 26 Apr 2006 18:24:20 +0000 (GMT) (envelope-from nakal@nurfuerspam.de) Received: (qmail invoked by alias); 26 Apr 2006 18:24:19 -0000 Received: from p5090F65D.dip.t-dialin.net (EHLO klotz.local) [80.144.246.93] by mail.gmx.net (mp025) with SMTP; 26 Apr 2006 20:24:19 +0200 X-Authenticated: #989277 Received: from [192.168.0.2] (booky.local [192.168.0.2]) by klotz.local (8.13.6/8.13.6) with ESMTP id k3QIOE3t001758 for ; Wed, 26 Apr 2006 20:24:15 +0200 (CEST) (envelope-from nakal@nurfuerspam.de) Message-ID: <444FBACF.2050006@nurfuerspam.de> Date: Wed, 26 Apr 2006 20:24:15 +0200 From: Martin User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: geli password prompt does not work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 18:24:22 -0000 Hi, my /usr/home is a geli-partition. It always worked fine. Today I compiled a fresh kernel and after the password prompt nothing moves anymore. The system seems to be in a frozen state (I cannot enter the password, Ctrl+Alt+Del does nothing). The kernel configuration is GENERIC. The last known working kernel version was: FreeBSD 6.1-PRERELEASE #0: Thu Mar 2 00:54:06 CET 2006 Martin From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 19:11:49 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 942A516A404 for ; Wed, 26 Apr 2006 19:11:49 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC9E343D48 for ; Wed, 26 Apr 2006 19:11:48 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 2121552C10; Wed, 26 Apr 2006 21:11:47 +0200 (CEST) Received: from localhost (dkb158.neoplus.adsl.tpnet.pl [83.24.5.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 610ED50B0D; Wed, 26 Apr 2006 21:11:38 +0200 (CEST) Date: Wed, 26 Apr 2006 21:10:16 +0200 From: Pawel Jakub Dawidek To: Martin Message-ID: <20060426191016.GC17000@garage.freebsd.pl> References: <444FBACF.2050006@nurfuerspam.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4ZLFUWh1odzi/v6L" Content-Disposition: inline In-Reply-To: <444FBACF.2050006@nurfuerspam.de> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: stable@freebsd.org Subject: Re: geli password prompt does not work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 19:11:49 -0000 --4ZLFUWh1odzi/v6L Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 26, 2006 at 08:24:15PM +0200, Martin wrote: +>=20 +> Hi, +>=20 +> my /usr/home is a geli-partition. It always worked fine. +> Today I compiled a fresh kernel and after the password +> prompt nothing moves anymore. The system seems to be in +> a frozen state (I cannot enter the password, +> Ctrl+Alt+Del does nothing). +>=20 +> The kernel configuration is GENERIC. +>=20 +> The last known working kernel version was: +> FreeBSD 6.1-PRERELEASE #0: Thu Mar 2 00:54:06 CET 2006 Could you send me the output of: # geli dump /dev/ | head -10 /dev/ is where your /usr/home is stored without .eli suffix. Also, please increase debug level to 1 (kern.geom.eli.debug) and send me what is printed on the console as well. Thanks. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --4ZLFUWh1odzi/v6L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFET8WYForvXbEpPzQRAj2JAKCOSs8CrnhbkwYbf5W/XGJk6ArUNgCg86LZ LSlo3GrDw9BDMqjql/w2SDs= =r3HU -----END PGP SIGNATURE----- --4ZLFUWh1odzi/v6L-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 19:32:53 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF94A16A402 for ; Wed, 26 Apr 2006 19:32:53 +0000 (UTC) (envelope-from ianjhart@ntlworld.com) Received: from cpc2-cove3-0-0-cust187.brhm.cable.ntl.com (cpc2-cove3-0-0-cust187.brhm.cable.ntl.com [86.20.32.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A54743D53 for ; Wed, 26 Apr 2006 19:32:53 +0000 (GMT) (envelope-from ianjhart@ntlworld.com) Received: from gamma.private.lan (gamma.private.lan [192.168.0.12]) by cpc2-cove3-0-0-cust187.brhm.cable.ntl.com (8.13.6/8.13.6) with ESMTP id k3QJWokj016094 for ; Wed, 26 Apr 2006 20:32:51 +0100 (BST) (envelope-from ianjhart@ntlworld.com) From: ian j hart To: freebsd-stable@freebsd.org Date: Wed, 26 Apr 2006 20:32:49 +0100 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604262032.50049.ianjhart@ntlworld.com> Subject: kbdmux breaks keyboard LEDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 19:32:54 -0000 FreeBSD gamma.private.lan 6.1-RC FreeBSD 6.1-RC #3: Mon Apr 17 15:14:12 BST 2006 ianjhart@gamma.private.lan:/usr/obj/usr/src/sys/LOCAL amd64 kbdmux breaks keyboard LEDs. Cosmetic but anoying. Disabling (see man kbdmux) restores normal usage. -- ian j hart From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 19:40:33 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFB4416A473 for ; Wed, 26 Apr 2006 19:40:33 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout07-04.prod.mesa1.secureserver.net (smtpout07-01.prod.mesa1.secureserver.net [64.202.165.230]) by mx1.FreeBSD.org (Postfix) with SMTP id 23AAA43D49 for ; Wed, 26 Apr 2006 19:40:33 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 26098 invoked from network); 26 Apr 2006 19:40:32 -0000 Received: from unknown (24.144.77.138) by smtpout07-04.prod.mesa1.secureserver.net (64.202.165.233) with ESMTP; 26 Apr 2006 19:40:32 -0000 Message-ID: <444FCCAF.8000006@seclark.us> Date: Wed, 26 Apr 2006 15:40:31 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: <4444EE93.9050003@seclark.us> <44459286.1000008@seclark.us> <20060424141346.O44099@fledge.watson.org> <444F75FE.3010101@seclark.us> <20060426180246.O16859@fledge.watson.org> In-Reply-To: <20060426180246.O16859@fledge.watson.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: FreeBSD 4.9 losing mbufs!!! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 19:40:34 -0000 Robert Watson wrote: >On Wed, 26 Apr 2006, Stephen Clark wrote: > > > >>>Sorry not to have caught this thread earlier; I've been on travel for the >>>last few weeks. My general suggestion would be to try to narrow the code >>>paths traversed to try to eliminate as much code as possible from the >>>search. It sounds like you've done that pretty effectively :-). >>> >>>Typically, memory leaks occur in edge error cases, where the memory is not >>>properly released, or ownership is unclear. My suggestion would be to add >>>counters (or look at existing counters where already present) and see if >>>there's an error case being triggered in about the same quantity that mbuf >>>leakage is occuring. Chances are, there's an error being returned and a >>>missing m_freem(). >>> >>>Based on your comments above, I might also pay attention to the routing >>>socket path -- the rate of leak could correspond to the routing daemons >>>talking to the network stack, rather than the rate of traffic. For >>>example, it could be that one of the routing messages is handled improperly >>>resulting in a leak. >>> >>>Unfortunately, tracking down memory leaks can be quite difficult, and tends >>>to require a combination of dogged persistence and luck... >>> >>> >>Good news and bad news. >> >>I managed to get enough of our system running on 6.x stable to test and it >>does not appear to lose mbufs. Bad news my ipsec transfer rate dropped from >>54mbits/sec to 39mbits/sec. We need to be able to handle a t3 (45mbits/sec). >>Any ideas as to why this drop off in 6.x? >> >> > >Well, that's good about the good news, but not so great about the bad news. >Are you using IPv6? If not, could you look at how FAST_IPSEC performs instead >of the default IPSEC package, if you're not already doing so? The KAME IPSEC >implementation is not multi-processor compatible, so when IPSEC support is >compiled into the kernel, execution of the network stack and related >components is limited to a single CPU (you'll see a warning about this at boot >if this is the case). This is something we hope to fix in a future release, >but in the mean time FAST_IPSEC offers improved performance and SMP >scalability, as well as support for hardware crypto acceleration. The >downside to FAST_IPSEC is that it doesn't currently support IPv6, which is >also something we'd like to fix in the future. > >Aside from the above, there are a number of other things we can look at to >decide what the source of the performance problem is. First, I'd encourage >you to make sure any system debugging features, such as INVARIANTS, >INVARIANT_SUPPORT, and WITNESS, are disabled. Next, I would recommend >generating a high level of your load on the system, and using systat -vmstat 1 >and top -S to grab some information about it in the steady state. I recommend >letting both run for a couple of minutes, then grabbing the output from both >of them. This will give us an idea of where CPU usage is going in the kernel, >which is where I assume most of your workload ends up being handled. > >Thanks, > >Robert N M Watson >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > Thanks Robert, I'll give that a try. Regards, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 19:47:29 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C76016A403 for ; Wed, 26 Apr 2006 19:47:29 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout04-04.prod.mesa1.secureserver.net (smtpout04-04.prod.mesa1.secureserver.net [64.202.165.199]) by mx1.FreeBSD.org (Postfix) with SMTP id F0F9343D4C for ; Wed, 26 Apr 2006 19:47:28 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 5355 invoked from network); 26 Apr 2006 19:47:28 -0000 Received: from unknown (24.144.77.138) by smtpout04-04.prod.mesa1.secureserver.net (64.202.165.199) with ESMTP; 26 Apr 2006 19:47:28 -0000 Message-ID: <444FCE4F.6090301@seclark.us> Date: Wed, 26 Apr 2006 15:47:27 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: 6.x stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 19:47:29 -0000 Hi list, I thought this device was supported: The nve(4) driver supports the NVIDIA MCP onboard adapters of mainboards with the following chipsets: * nForce * nForce2 * nForce3 * nForce4 Mother board with NVIDIA® GeForce6100 + nForce 410 from lspci -vv: 00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1) Subsystem: Biostar Microtech Int'l Corp Unknown device 2501 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1667616A402 for ; Wed, 26 Apr 2006 19:59:04 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout07-04.prod.mesa1.secureserver.net (smtpout07-01.prod.mesa1.secureserver.net [64.202.165.230]) by mx1.FreeBSD.org (Postfix) with SMTP id 9E9A343D49 for ; Wed, 26 Apr 2006 19:59:03 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 22282 invoked from network); 26 Apr 2006 19:59:02 -0000 Received: from unknown (24.144.77.138) by smtpout07-04.prod.mesa1.secureserver.net (64.202.165.233) with ESMTP; 26 Apr 2006 19:59:02 -0000 Message-ID: <444FD105.1050108@seclark.us> Date: Wed, 26 Apr 2006 15:59:01 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sam Leffler References: <444E2503.9090506@seclark.us> <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> <444E5608.4050704@seclark.us> <6.2.3.4.0.20060425134955.051d58d0@64.7.153.2> <444F750C.7070206@seclark.us> <444FAE19.3060404@errno.com> In-Reply-To: <444FAE19.3060404@errno.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 19:59:04 -0000 Sam Leffler wrote: >Stephen Clark wrote: > > >>Mike Tancsa wrote: >> >> >> >>>At 01:02 PM 25/04/2006, Stephen Clark wrote: >>> >>> >>> >>> >>> >>>>>Try first >>>>>sysctl -w net.inet.tcp.inflight.enable=0 >>>>> >>>>>If its still slower, try using FAST_IPSEC instead on the server. >>>>>However, make sure you disable INET6 >>>>> >>>>> >>>>> >>>>That increased it to 39mbits/sec. Still far from 54mbits/sec >>>> >>>> >>>> >>>Are all of the TCP params (compare sysctl -a net.inet.tcp on both )and >>>application defaults still the same on both systems ? One that that >>>for sure is not in RELENG_4 is SACK. Try disabling that and see if >>>there is a difference. >>> >>> ---Mike >>> >>> >>> >>> >>> >>I checked the sysctl's between the two system and where the match they >>are the same. The raw transfer rate ~94mbits/sec is the same as I was >>getting between the systems when they were both 4.9. The real >>difference appears to be in ipsec. The other thing that is interesting >>is the idle time when I am running this test on the 6.x system is about >>70% when it was a 4.9 system getting 54mbits/sec the idle time was only >>50-55%. >> >>I am reluctant to try fast ipsec because of problems I had when I tried >>it under 4.9, it didn't work with our existing sites. >> >> > >There are known locking bottlenecks in the crypto subsystem that fast >ipsec depends on. This is consistent with idle time going up. > >Not sure when they'll be fixed but I know they're important to at least >one person. > > Sam >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > Hi Sam, I am going to try the fast ipsec. Regards, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 20:31:48 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A115116A429 for ; Wed, 26 Apr 2006 20:31:48 +0000 (UTC) (envelope-from nakal@nurfuerspam.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6F5F743D53 for ; Wed, 26 Apr 2006 20:31:47 +0000 (GMT) (envelope-from nakal@nurfuerspam.de) Received: (qmail invoked by alias); 26 Apr 2006 20:31:46 -0000 Received: from p5090F65D.dip.t-dialin.net (EHLO klotz.local) [80.144.246.93] by mail.gmx.net (mp031) with SMTP; 26 Apr 2006 22:31:46 +0200 X-Authenticated: #989277 Received: from [192.168.0.2] (booky.local [192.168.0.2]) by klotz.local (8.13.6/8.13.6) with ESMTP id k3QKVc5R002235; Wed, 26 Apr 2006 22:31:42 +0200 (CEST) (envelope-from nakal@nurfuerspam.de) Message-ID: <444FD8AA.3040807@nurfuerspam.de> Date: Wed, 26 Apr 2006 22:31:38 +0200 From: Martin User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <444FBACF.2050006@nurfuerspam.de> <20060426191016.GC17000@garage.freebsd.pl> In-Reply-To: <20060426191016.GC17000@garage.freebsd.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: stable@FreeBSD.org Subject: Re: geli password prompt does not work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 20:31:48 -0000 Pawel Jakub Dawidek wrote: > Could you send me the output of: > > # geli dump /dev/ | head -10 Metadata on /dev/ad0s2g: magic: GEOM::ELI version: 0 flags: 0x2 algo: AES keylen: 128 provsize: 6475562496 sectorsize: 4096 keys: 0x01 iterations: 46459 > Also, please increase debug level to 1 (kern.geom.eli.debug) and send me > what is printed on the console as well. When it works, it looks like this: GEOM_ELI[1]: Using Master Key 0 for ad0s2g. GEOM_ELI[1]: Creating device ad0s2g.eli. GEOM_ELI[0]: Device ad0s2g.eli created. GEOM_ELI[0]: Cipher: AES GEOM_ELI[0]: Key length: 128 GEOM_ELI[0]: Crypto: software GEOM_ELI[1]: Thread g_eli[0] ad0s2g started. I get no output while using the new kernel. I found out that I can scroll up and down (scroll lock), so the kernel is not frozen, as I thought previously. Martin From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 20:57:27 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1B0B16A408 for ; Wed, 26 Apr 2006 20:57:27 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id E01F443D45 for ; Wed, 26 Apr 2006 20:57:23 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 2E22C52BC8; Wed, 26 Apr 2006 22:57:21 +0200 (CEST) Received: from localhost (dkb158.neoplus.adsl.tpnet.pl [83.24.5.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 997E352126; Wed, 26 Apr 2006 22:57:15 +0200 (CEST) Date: Wed, 26 Apr 2006 22:55:44 +0200 From: Pawel Jakub Dawidek To: Martin Message-ID: <20060426205544.GE17000@garage.freebsd.pl> References: <444FBACF.2050006@nurfuerspam.de> <20060426191016.GC17000@garage.freebsd.pl> <444FD8AA.3040807@nurfuerspam.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ycz6tD7Th1CMF4v7" Content-Disposition: inline In-Reply-To: <444FD8AA.3040807@nurfuerspam.de> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: stable@FreeBSD.org Subject: Re: geli password prompt does not work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 20:57:28 -0000 --Ycz6tD7Th1CMF4v7 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 26, 2006 at 10:31:38PM +0200, Martin wrote: +> Pawel Jakub Dawidek wrote: +> > Could you send me the output of: +> >=20 +> > # geli dump /dev/ | head -10 +>=20 +> Metadata on /dev/ad0s2g: +> magic: GEOM::ELI +> version: 0 +> flags: 0x2 +> algo: AES +> keylen: 128 +> provsize: 6475562496 +> sectorsize: 4096 +> keys: 0x01 +> iterations: 46459 +>=20 +> > Also, please increase debug level to 1 (kern.geom.eli.debug) and send = me +> > what is printed on the console as well. +>=20 +> When it works, it looks like this: +> GEOM_ELI[1]: Using Master Key 0 for ad0s2g. +> GEOM_ELI[1]: Creating device ad0s2g.eli. +> GEOM_ELI[0]: Device ad0s2g.eli created. +> GEOM_ELI[0]: Cipher: AES +> GEOM_ELI[0]: Key length: 128 +> GEOM_ELI[0]: Crypto: software +> GEOM_ELI[1]: Thread g_eli[0] ad0s2g started. +>=20 +> I get no output while using the new kernel. I found out that +> I can scroll up and down (scroll lock), so the kernel is +> not frozen, as I thought previously. Flags field suggest that you were giving the passphrase on boot, before root file system was mounted. Is that right? Can you enter DDB, look for g_event and g_eli_worker processes PIDs in 'ps' output and send me the output of 'trace ' for both of them? You can enter debugger with ctrl+alt+del if you have DDB compiled into the kernel. Could you also put kern.geom.debugflags=3D1 and kern.geom.eli.debug=3D3 into /boot/loader.conf and send me the output as well? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Ycz6tD7Th1CMF4v7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFET95QForvXbEpPzQRApc2AJ4+vGcrgAoGOd9ETMbLV2M50mPj9ACeNDzP PP64PU7HDT9m6my7bT+RNA8= =xZCU -----END PGP SIGNATURE----- --Ycz6tD7Th1CMF4v7-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 21:16:13 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98EFD16A408 for ; Wed, 26 Apr 2006 21:16:13 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout08-04.prod.mesa1.secureserver.net (smtpout08-04.prod.mesa1.secureserver.net [64.202.165.12]) by mx1.FreeBSD.org (Postfix) with SMTP id EB05B43D49 for ; Wed, 26 Apr 2006 21:16:12 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 28109 invoked from network); 26 Apr 2006 21:16:12 -0000 Received: from unknown (24.144.77.138) by smtpout08-04.prod.mesa1.secureserver.net (64.202.165.12) with ESMTP; 26 Apr 2006 21:16:12 -0000 Message-ID: <444FE31A.7030803@seclark.us> Date: Wed, 26 Apr 2006 17:16:10 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stephen.Clark@seclark.us References: <444E2503.9090506@seclark.us> <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> <444E5608.4050704@seclark.us> <6.2.3.4.0.20060425134955.051d58d0@64.7.153.2> <444F750C.7070206@seclark.us> <444FAE19.3060404@errno.com> <444FD105.1050108@seclark.us> In-Reply-To: <444FD105.1050108@seclark.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, Robert Watson Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 21:16:13 -0000 Stephen Clark wrote: >Sam Leffler wrote: > > > >>Stephen Clark wrote: >> >> >> >> >>>Mike Tancsa wrote: >>> >>> >>> >>> >>> >>>>At 01:02 PM 25/04/2006, Stephen Clark wrote: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>>>Try first >>>>>>sysctl -w net.inet.tcp.inflight.enable=0 >>>>>> >>>>>>If its still slower, try using FAST_IPSEC instead on the server. >>>>>>However, make sure you disable INET6 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>That increased it to 39mbits/sec. Still far from 54mbits/sec >>>>> >>>>> >>>>> >>>>> >>>>> >>>>Are all of the TCP params (compare sysctl -a net.inet.tcp on both )and >>>>application defaults still the same on both systems ? One that that >>>>for sure is not in RELENG_4 is SACK. Try disabling that and see if >>>>there is a difference. >>>> >>>> ---Mike >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>I checked the sysctl's between the two system and where the match they >>>are the same. The raw transfer rate ~94mbits/sec is the same as I was >>>getting between the systems when they were both 4.9. The real >>>difference appears to be in ipsec. The other thing that is interesting >>>is the idle time when I am running this test on the 6.x system is about >>>70% when it was a 4.9 system getting 54mbits/sec the idle time was only >>>50-55%. >>> >>>I am reluctant to try fast ipsec because of problems I had when I tried >>>it under 4.9, it didn't work with our existing sites. >>> >>> >>> >>> >>There are known locking bottlenecks in the crypto subsystem that fast >>ipsec depends on. This is consistent with idle time going up. >> >>Not sure when they'll be fixed but I know they're important to at least >>one person. >> >> Sam >>_______________________________________________ >>freebsd-stable@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >> >> >> >> >> >Hi Sam, > >I am going to try the fast ipsec. > >Regards, >Steve > > Good news with fast ipsec I am back to 53mbits/sec. Thanks everyone, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 21:41:24 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DFDF16A400 for ; Wed, 26 Apr 2006 21:41:24 +0000 (UTC) (envelope-from dom@helenmarks.co.uk) Received: from mail.goodforbusiness.co.uk (mail.goodforbusiness.co.uk [83.223.104.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACD7C43D5D for ; Wed, 26 Apr 2006 21:41:21 +0000 (GMT) (envelope-from dom@helenmarks.co.uk) Received: from localhost (localhost [127.0.0.1]) by mail.goodforbusiness.co.uk (Postfix) with ESMTP id CF54E1146E; Wed, 26 Apr 2006 22:41:19 +0100 (BST) Received: from mail.goodforbusiness.co.uk ([127.0.0.1]) by localhost (mail.goodforbusiness.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 53307-02; Wed, 26 Apr 2006 22:41:18 +0100 (BST) Received: from mail.helenmarks.co.uk (unknown [192.168.100.1]) by mail.goodforbusiness.co.uk (Postfix) with ESMTP id C0F9A1146A; Wed, 26 Apr 2006 22:41:18 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by mail.helenmarks.co.uk (Postfix) with ESMTP id 70D3C172A1; Wed, 26 Apr 2006 22:41:18 +0100 (BST) X-Virus-Scanned: amavisd-new at helenmarks.co.uk Received: from mail.helenmarks.co.uk ([127.0.0.1]) by localhost (mail.helenmarks.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i3hKHNYC9ixN; Wed, 26 Apr 2006 22:41:17 +0100 (BST) Received: from [192.168.15.3] (egg.helenmarks.co.uk [192.168.15.3]) by mail.helenmarks.co.uk (Postfix) with ESMTP id AA68D17040; Wed, 26 Apr 2006 22:41:17 +0100 (BST) Message-ID: <444FE92F.5060309@helenmarks.co.uk> Date: Wed, 26 Apr 2006 22:42:07 +0100 From: Dominic Marks User-Agent: Thunderbird 1.5 (X11/20060403) MIME-Version: 1.0 To: tim@timandcorey.com References: <49439.70.238.70.107.1146037012.squirrel@webmail.timandcorey.com> In-Reply-To: <49439.70.238.70.107.1146037012.squirrel@webmail.timandcorey.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: mail.goodforbusiness.co.uk Cc: freebsd-stable@freebsd.org Subject: Re: DMA timeouts with Adapter ASH-1205SA SATA PCI Card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 21:41:24 -0000 Tim Soderstrom wrote: > I am trying to jump into the world of FreeBSD and have been having some > nasty problems with some things. The latest of which is the fact that > FreeBSD is noting DMA timeouts with my SATA card, particularly when > performing writes: As far as I am aware it is not resolved and is actually not fixable. However I gave up on these cards a while ago so I might be out of date. See below. > ad4: FAILURE - WRITE_DMA48 status=51 > error=10 LBA=273370735 > g_vfs_done():ad4s1g[WRITE(offset=115279347712, length=131072)]error = 5 > ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=276000431 > .... > > These repeat sometimes to the point of FreeBSD going into an emergency > reboot mode, although this has not yet happened since I updated to > 6.0-RELEASE-p7. Speaking of, I am confused as to if that is the STABLE > branch (which I want to get on)? RELENG_6 is the current STABLE. Although it won't call itself stable if you build it, it will be named RC1. Its still STABLE though, names change prior to a release occurring and 6.1 is due shortly. > In any case, I am concerned as to whether or not these errors represent a > real problem and what I can go about doing with them. This box is designed > to be a file-server, so I had hoped that it would be as stable as, well, > if not a rock, at least play-dough :) This card is based on a Silicon Image chip. You might as well chuck the card I have never got a machine stable with one of these controllers, I tried three cards all based on this chip, including an Adaptec 1210SA. All the same, completely unstable. I suggest you acquire one of these instead: http://froogle.google.com/froogle?q=3ware+escalade+8000+2+port Save yourself a lot of pain (really) and get one :) With one of these the rock-like stability should be easy to achieve, hopefully. > Regards, > > Tim S. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Cheers, Dominic From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 21:44:24 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A24D16A403 for ; Wed, 26 Apr 2006 21:44:24 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D627843D53 for ; Wed, 26 Apr 2006 21:44:19 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.6/8.13.1) with ESMTP id k3QLi4uC077837; Wed, 26 Apr 2006 18:44:05 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR To: Sam Leffler Date: Wed, 26 Apr 2006 18:44:01 -0300 User-Agent: KMail/1.9.1 References: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> <200604260905.04706.joao@matik.com.br> <444F974B.2060108@errno.com> In-Reply-To: <444F974B.2060108@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604261844.01739.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on msrv.matik.com.br X-Virus-Status: Clean Cc: freebsd-stable@freebsd.org Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 21:44:24 -0000 On Wednesday 26 April 2006 12:52, Sam Leffler wrote: > > No. releng5 has an older hal that does not even support regdomain 18. > Backporting work to releng5 would be a massive effort for very little > gain; anyone that truly wants wireless support should be running 6.x or > later. > ok and agree but 5 is not that bad if you do not need all the encryption st= uff=20 and probably better than 6.0 (not releng_6), I am talking hostap here. releng_6 has some working improvements now which are in big parts your work= I=20 guess since I found that rate_onoe makes ath hostap stable I have now some boxes = out=20 and they are almost 10 days under load and running best switch for me actually is -apbridge unfortunatly if_bridge still does not convince in practice but bridge is fi= ne=20 now anyway I think it's great work so far thank's Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Wed Apr 26 22:42:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BAC616A401 for ; Wed, 26 Apr 2006 22:42:29 +0000 (UTC) (envelope-from aw1@stade.co.uk) Received: from lon-mail-1.gradwell.net (lon-mail-1.gradwell.net [193.111.201.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DF9343D48 for ; Wed, 26 Apr 2006 22:42:27 +0000 (GMT) (envelope-from aw1@stade.co.uk) Received: from alsager-adsl.stade.co.uk ([81.6.222.119] helo=access2.hanley.stade.co.uk country=GB) by lon-mail-1.gradwell.net with esmtp (Gradwell gwh-smtpd 1.215) id 444ff752.14b04.70c for freebsd-stable@freebsd.org; Wed, 26 Apr 2006 23:42:26 +0100 (envelope-sender ) Received: from steerpike.hanley.stade.co.uk (steerpike [192.168.1.10]) by access2.hanley.stade.co.uk (8.13.4/8.13.4) with ESMTP id k3QMgPXK025532 for ; Wed, 26 Apr 2006 23:42:25 +0100 (BST) (envelope-from aw1@steerpike.hanley.stade.co.uk) Received: from steerpike.hanley.stade.co.uk (localhost [127.0.0.1]) by steerpike.hanley.stade.co.uk (8.13.4/8.13.4) with ESMTP id k3QMgPXg001267 for ; Wed, 26 Apr 2006 23:42:25 +0100 (BST) (envelope-from aw1@steerpike.hanley.stade.co.uk) Received: (from aw1@localhost) by steerpike.hanley.stade.co.uk (8.13.4/8.13.4/Submit) id k3QMgOnE001266 for freebsd-stable@freebsd.org; Wed, 26 Apr 2006 23:42:24 +0100 (BST) (envelope-from aw1) Date: Wed, 26 Apr 2006 23:42:24 +0100 From: Adrian Wontroba To: freebsd-stable@freebsd.org Message-ID: <20060426224224.GD717@steerpike.hanley.stade.co.uk> Mail-Followup-To: Adrian Wontroba , freebsd-stable@freebsd.org References: <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> <20060425162656.GC54244@xor.obsecurity.org> <20060425213313.R71240@woozle.rinet.ru> <444E8E48.8040008@rogers.com> <20060425211417.GA58948@xor.obsecurity.org> <444E96A1.3010307@rogers.com> <20060425234603.eba09894.torfinn.ingolfsen@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060425234603.eba09894.torfinn.ingolfsen@broadpark.no> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-STABLE Organization: Oh dear, I've joined one again. X-Virus-Scanned: ClamAV 0.88.1/1426/Wed Apr 26 19:03:01 2006 on access2.hanley.stade.co.uk X-Virus-Status: Clean Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: aw1@stade.co.uk List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 22:42:29 -0000 On Tue, Apr 25, 2006 at 11:46:03PM +0200, Torfinn Ingolfsen wrote: > It could also be viewed as irresponsible to have servers in production > _without_ a corresponding test system to test proposed changes on. True, but some us are blessed with a collection of assorted ancient cast off servers, and can not justify to money focused management a test system for every type of production server / function. We then sometimes pay the price for doing things on the cheap when an exotic bug strikes in less heavily exercised code. If you're different and you know it, test! (or clap your hands in woe?) -- Adrian Wontroba From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 00:30:41 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0498D16A473 for ; Thu, 27 Apr 2006 00:30:41 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout06-04.prod.mesa1.secureserver.net (smtpout06-01.prod.mesa1.secureserver.net [64.202.165.224]) by mx1.FreeBSD.org (Postfix) with SMTP id EF1ED43D45 for ; Thu, 27 Apr 2006 00:30:39 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 18561 invoked from network); 27 Apr 2006 00:30:39 -0000 Received: from unknown (24.144.77.138) by smtpout06-04.prod.mesa1.secureserver.net (64.202.165.227) with ESMTP; 27 Apr 2006 00:30:39 -0000 Message-ID: <445010AE.6040401@seclark.us> Date: Wed, 26 Apr 2006 20:30:38 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stephen.Clark@seclark.us References: <444E2503.9090506@seclark.us> <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> <444E5608.4050704@seclark.us> <6.2.3.4.0.20060425134955.051d58d0@64.7.153.2> <444F750C.7070206@seclark.us> <444FAE19.3060404@errno.com> <444FD105.1050108@seclark.us> <444FE31A.7030803@seclark.us> In-Reply-To: <444FE31A.7030803@seclark.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, Robert Watson Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 00:30:41 -0000 Stephen Clark wrote: >Stephen Clark wrote: > > > >>Sam Leffler wrote: >> >> >> >> >> >>>Stephen Clark wrote: >>> >>> >>> >>> >>> >>> >>>>Mike Tancsa wrote: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>>At 01:02 PM 25/04/2006, Stephen Clark wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>>Try first >>>>>>>sysctl -w net.inet.tcp.inflight.enable=0 >>>>>>> >>>>>>>If its still slower, try using FAST_IPSEC instead on the server. >>>>>>>However, make sure you disable INET6 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>That increased it to 39mbits/sec. Still far from 54mbits/sec >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>Are all of the TCP params (compare sysctl -a net.inet.tcp on both )and >>>>>application defaults still the same on both systems ? One that that >>>>>for sure is not in RELENG_4 is SACK. Try disabling that and see if >>>>>there is a difference. >>>>> >>>>> ---Mike >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>I checked the sysctl's between the two system and where the match they >>>>are the same. The raw transfer rate ~94mbits/sec is the same as I was >>>>getting between the systems when they were both 4.9. The real >>>>difference appears to be in ipsec. The other thing that is interesting >>>>is the idle time when I am running this test on the 6.x system is about >>>>70% when it was a 4.9 system getting 54mbits/sec the idle time was only >>>>50-55%. >>>> >>>>I am reluctant to try fast ipsec because of problems I had when I tried >>>>it under 4.9, it didn't work with our existing sites. >>>> >>>> >>>> >>>> >>>> >>>> >>>There are known locking bottlenecks in the crypto subsystem that fast >>>ipsec depends on. This is consistent with idle time going up. >>> >>>Not sure when they'll be fixed but I know they're important to at least >>>one person. >>> >>> Sam >>>_______________________________________________ >>>freebsd-stable@freebsd.org mailing list >>>http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>>To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >>> >>> >>> >>> >>> >>> >>> >>Hi Sam, >> >>I am going to try the fast ipsec. >> >>Regards, >>Steve >> >> >> >> > > > > >Good news with fast ipsec I am back to 53mbits/sec. > >Thanks everyone, >Steve > > > New Info when I tried sending data across the gre/vpns I get the following messages which I did not get with kame ipsec. Any ideas anyone? Apr 26 20:24:43 J301001 kernel: gre15: gre_output: recursively called too many times(2) Apr 26 20:24:52 J301001 kernel: gre71: gre_output: recursively called too many times(2) Apr 26 20:24:54 J301001 kernel: gre39: gre_output: recursively called too many times(2) Apr 26 20:24:55 J301001 kernel: gre43: gre_output: recursively called too many times(2) Apr 26 20:24:59 J301001 kernel: gre97: gre_output: recursively called too many times(2) Apr 26 20:25:16 J301001 kernel: gre97: gre_output: recursively called too many times(2) -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 04:23:07 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4480216A400 for ; Thu, 27 Apr 2006 04:23:07 +0000 (UTC) (envelope-from ryanshin@yahoo-inc.com) Received: from rsmtp1.corp.yahoo.com (rsmtp1.corp.yahoo.com [207.126.228.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1BDF43D45 for ; Thu, 27 Apr 2006 04:23:06 +0000 (GMT) (envelope-from ryanshin@yahoo-inc.com) Received: from ryanshinlt (ryanshin-lp.seoul.corp.yahoo.com [10.80.95.13]) (authenticated bits=0) by rsmtp1.corp.yahoo.com (8.13.6/8.13.6/y.rout) with ESMTP id k3R4N0Ww057486 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 26 Apr 2006 21:23:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=from:to:subject:date:message-id:mime-version:content-type: content-transfer-encoding:x-mailer:thread-index:x-mimeole; b=Z8UBRKg1lxuBmg8jrH6xQROm1k+MSeivjZ5O21D38eJ6CS8pDqhX6TmrNuiANVa+ From: "Ryan Shin" To: Date: Thu, 27 Apr 2006 13:25:15 +0900 Message-ID: <000001c669b2$97f8adb0$f862500a@ds.corp.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcZpspVM2g6UT7ubQn2vnkTn2mEm6w== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: graphics/cairo build error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 04:23:07 -0000 Hi, First, install with cairo source code. Then install with port. During installing with source code, the other message show up. The main issues are about stdint.h, -lpthread. These are exchanged with inttypes.h, -pthread on Freebsd 4.x Ryan. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 04:44:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3813816A401 for ; Thu, 27 Apr 2006 04:44:03 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEC9743D49 for ; Thu, 27 Apr 2006 04:44:02 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D6BE01A4E75; Wed, 26 Apr 2006 21:44:02 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 193A055CB8; Thu, 27 Apr 2006 00:44:02 -0400 (EDT) Date: Thu, 27 Apr 2006 00:44:01 -0400 From: Kris Kennaway To: Ryan Shin Message-ID: <20060427044401.GA37668@xor.obsecurity.org> References: <000001c669b2$97f8adb0$f862500a@ds.corp.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <000001c669b2$97f8adb0$f862500a@ds.corp.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: graphics/cairo build error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 04:44:03 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 27, 2006 at 01:25:15PM +0900, Ryan Shin wrote: > Hi,=20 >=20 > First, install with cairo source code. Then install with port. >=20 > During installing with source code, the other message show up. >=20 > The main issues are about stdint.h, -lpthread. >=20 > These are exchanged with inttypes.h, -pthread on Freebsd 4.x Er, you forgot to show us the errors :) Kris --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEUEwRWry0BWjoQKURAiddAJ9VOBSU7wDH3I0PuiG5Kb1XiOkVJgCdE87q 2deJYSqHxNMgJXQjwM9JWxM= =DA/l -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 06:12:10 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D74D016A404 for ; Thu, 27 Apr 2006 06:12:10 +0000 (UTC) (envelope-from davidn@datalinktech.com.au) Received: from mail-ihug.icp-qv1-irony4.iinet.net.au (ihug-mail.icp-qv1-irony4.iinet.net.au [203.59.1.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2434543D4C for ; Thu, 27 Apr 2006 06:12:09 +0000 (GMT) (envelope-from davidn@datalinktech.com.au) Received: from 203-206-162-119.perm.iinet.net.au (HELO mail.datalinktech.com.au) ([203.206.162.119]) by mail-ihug.icp-qv1-irony4.iinet.net.au with ESMTP; 27 Apr 2006 14:12:08 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.04,160,1143993600"; d="scan'208"; a="714353503:sNHT315699370" Received: from [192.168.4.232] ([192.168.4.232]) by mail.datalinktech.com.au with esmtp; Thu, 27 Apr 2006 16:12:06 +1000 id 00192A27.445060B6.0000EA62 Message-ID: <4450609A.9070302@datalinktech.com.au> Date: Thu, 27 Apr 2006 16:11:38 +1000 From: David Nugent User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jason References: <43501AEF.70501@codegurus.org> <6.2.3.4.0.20051014165902.084044b8@64.7.153.2> <20060426102922.E72705@mail1.jasons.us> In-Reply-To: <20060426102922.E72705@mail1.jasons.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 5.4 postfix no longer logging X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 06:12:11 -0000 jason wrote: > At some point in the last couple of weeks postfix on my 5.4-RELEASE > system stopped logging to /var/log/maillog. The only thing in there > now (and for all of the saved maillog files) is the turnover > timestamp. Any suggestions where to look? > Short answer - check: a) syslogd b) /etc/syslog.conf Long answer: syslogd is the logger daemon, and postfix will be logging through that. # /etc/rc.d/syslogd restart may fix the problem right there. Check /var/log/messages for any errors in syslogd startup. It may have crashed at some point or failed to start because of a serious syntax error in /etc/syslog.conf. If syslogd is running ok and working for the rest of the system, then double check /etc/syslog.conf to see where mail facility logging is directed (the default is /var/log/maillog, but that could have been changed or the line deleted). Check any settings in postfix for syslog "facility" (should be 'mail') and "priority" (if exists), match these against the filters in /etc/syslog.conf to make sure they are high enough to be logged. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 06:57:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8E6E16A403; Thu, 27 Apr 2006 06:57:18 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24A4843D46; Thu, 27 Apr 2006 06:57:17 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3B96452C30; Thu, 27 Apr 2006 08:57:15 +0200 (CEST) Received: from localhost (dkb158.neoplus.adsl.tpnet.pl [83.24.5.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 114D150B0D; Thu, 27 Apr 2006 08:57:08 +0200 (CEST) Date: Thu, 27 Apr 2006 08:55:35 +0200 From: Pawel Jakub Dawidek To: "Bradley W. Dutton" Message-ID: <20060427065534.GI17000@garage.freebsd.pl> References: <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3eH4Qcq5fItR5cpy" Content-Disposition: inline In-Reply-To: <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-stable@freebsd.org, marcus@FreeBSD.org Subject: Re: 6.1 prerelease graid3 livelock? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 06:57:18 -0000 --3eH4Qcq5fItR5cpy Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 23, 2006 at 12:04:33PM -0700, Bradley W. Dutton wrote: +> Hi, +>=20 +> I'm experiencing a sort of livelock on a 6.1 prerelease box. It appears +> all of the IO related activity hangs but the box continues to do +> routing/NAT/etc for internet access from my other boxes. I can usually +> get the lockup to occur within about 12 hours of booting. Ok, I think I found it. Could you try this patch: http://people.freebsd.org/~pjd/patches/g_raid3.c.4.patch --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --3eH4Qcq5fItR5cpy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEUGrmForvXbEpPzQRAlJeAKD5CfR3k7h0BNnEp7Lnm6/dKy7kigCfTdW0 A8nMh1zaefI2SpZckPaPbi8= =pWj+ -----END PGP SIGNATURE----- --3eH4Qcq5fItR5cpy-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 07:44:17 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A618B16A402 for ; Thu, 27 Apr 2006 07:44:17 +0000 (UTC) (envelope-from massimo@cedoc.mo.it) Received: from insomma.datacode.it (ip-174-86.sn2.eutelia.it [83.211.174.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F23643D45 for ; Thu, 27 Apr 2006 07:44:13 +0000 (GMT) (envelope-from massimo@cedoc.mo.it) Received: from localhost (localhost.datacode.it [127.0.0.1]) by insomma.datacode.it (Postfix) with SMTP id E95402C906 for ; Thu, 27 Apr 2006 09:43:54 +0200 (CEST) Received: from insomma.datacode.it (localhost.datacode.it [127.0.0.1]) by insomma.datacode.it (Postfix) with ESMTP id 8664E2C90A; Thu, 27 Apr 2006 09:43:53 +0200 (CEST) Received: from massimo.datacode.it (massimo.datacode.it [192.168.1.13]) by insomma.datacode.it (Postfix) with ESMTP id 428D12C906; Thu, 27 Apr 2006 09:43:53 +0200 (CEST) From: Massimo Lusetti To: Sam Leffler In-Reply-To: <444FAE19.3060404@errno.com> References: <444E2503.9090506@seclark.us> <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> <444E5608.4050704@seclark.us> <6.2.3.4.0.20060425134955.051d58d0@64.7.153.2> <444F750C.7070206@seclark.us> <444FAE19.3060404@errno.com> Content-Type: text/plain Organization: CEDOC - Modena Date: Thu, 27 Apr 2006 09:43:53 +0200 Message-Id: <1146123833.4327.2.camel@massimo.datacode.it> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Stephen.Clark@seclark.us, stable@freebsd.org Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 07:44:17 -0000 On Wed, 2006-04-26 at 10:30 -0700, Sam Leffler wrote: > There are known locking bottlenecks in the crypto subsystem that fast > ipsec depends on. This is consistent with idle time going up. > > Not sure when they'll be fixed but I know they're important to at least > one person. Sorry to correct but... to at least two persons. -- Massimo There are more way to do things, one is the bsd-way the others are wrong From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 11:00:34 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2189B16A402 for ; Thu, 27 Apr 2006 11:00:34 +0000 (UTC) (envelope-from karagodov@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5B4443D49 for ; Thu, 27 Apr 2006 11:00:32 +0000 (GMT) (envelope-from karagodov@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so1866072pyc for ; Thu, 27 Apr 2006 04:00:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=equ1V+EkQ/DDCI2ltcX+4vP9Yhu5HWkFboOU8Z2yW+MoCB7todzUEPlPtTXTt5C9FURVYXx5gC/FTsD47sD351hvnmOrzI8eTfZJxaYXwbLlD/yHcS6at1nGzs7dpWtAfT48VrGCpXslmfSCbzn2Q1jxDprx8LFZAq5eCc58xYo= Received: by 10.35.15.11 with SMTP id s11mr1688321pyi; Thu, 27 Apr 2006 04:00:32 -0700 (PDT) Received: by 10.35.135.15 with HTTP; Thu, 27 Apr 2006 04:00:32 -0700 (PDT) Message-ID: Date: Thu, 27 Apr 2006 15:00:32 +0400 From: "Alexey Karagodov" To: "Massimo Lusetti" In-Reply-To: <1146123833.4327.2.camel@massimo.datacode.it> MIME-Version: 1.0 References: <444E2503.9090506@seclark.us> <6.2.3.4.0.20060425093417.068dfc08@64.7.153.2> <444E5608.4050704@seclark.us> <6.2.3.4.0.20060425134955.051d58d0@64.7.153.2> <444F750C.7070206@seclark.us> <444FAE19.3060404@errno.com> <1146123833.4327.2.camel@massimo.datacode.it> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: stable@freebsd.org, Stephen.Clark@seclark.us Subject: Re: Freebsd Stable 6.x ipsec slower than with 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 11:00:34 -0000 ... to at least three persons :) From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 14:08:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C3BE16A401 for ; Thu, 27 Apr 2006 14:08:23 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D9E743D46 for ; Thu, 27 Apr 2006 14:08:21 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k3RE8BHj020863 for ; Thu, 27 Apr 2006 17:08:11 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Thu, 27 Apr 2006 17:08:11 +0300 (EEST) From: Dmitry Pryanishnikov To: freebsd-stable@freebsd.org Message-ID: <20060427160536.M96305@atlantis.atlantis.dp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 14:08:23 -0000 Hello! I've done simple (yet, I hope, reality-reflecting) performance benchmarking different STABLE branches (4 vs 5 vs 6) using the following hardware: CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183f9ff real memory = 134152192 (127 MB) ... rl0: port 0xe800-0xe8ff mem 0xdc101000-0xdc1010ff irq 5 at device 20.0 on pci0 ... fxp0: port 0xe400-0xe43f mem 0xdc100000-0xdc100fff,0xdc000000-0xdc0fffff irq 7 at device 19.0 on pci0 ... ad0: 76351MB at ata0-master UDMA33 and just restoring precompiled 4/5/6-STABLE to the same HDD partition. I've used the following kernel config for 4-STABLE: ident TEST machine i386 maxusers 32 makeoptions CONF_CFLAGS=-fno-builtin makeoptions DEBUG=-g options INCLUDE_CONFIG_FILE cpu I686_CPU options COMPAT_43 options USER_LDT options SYSVSHM options SYSVSEM options SYSVMSG options INVARIANTS options INVARIANT_SUPPORT options USERCONFIG options INET options FAST_IPSEC options IPSEC_FILTERGIF pseudo-device ether pseudo-device vlan 1 pseudo-device loop pseudo-device bpf pseudo-device ppp 8 options PPP_BSDCOMP options PPP_DEFLATE options PPP_FILTER options IPFIREWALL options IPFW2 options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPFIREWALL_FORWARD options IPDIVERT options IPSTEALTH options ICMP_BANDLIM options DUMMYNET options FFS options FFS_ROOT options SOFTUPDATES options QUOTA options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L pseudo-device pty pseudo-device crypto device isa device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? pseudo-device splash device sc0 at isa? options SC_HISTORY_SIZE=1000 options SC_TWOBUTTON_MOUSE device npx0 at nexus? port IO_NPX flags 0x0 irq 13 device ata device atadisk options ATA_STATIC_ID device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 device sio0 at isa? port IO_COM1 irq 4 device sio1 at isa? port IO_COM2 irq 3 device pci and slightly modified it for 5/6-STABLE, here is the diff ("<" = 4-only option, ">" - 5/6-only): > options SCHED_4BSD < options USER_LDT < options USERCONFIG < pseudo-device ether < pseudo-device vlan 1 < pseudo-device loop < pseudo-device bpf < pseudo-device ppp 8 > device ether > device loop > device bpf < options IPFW2 > options IPFIREWALL_FORWARD_EXTENDED < options ICMP_BANDLIM < options FFS_ROOT < options P1003_1B < options _KPOSIX_VERSION=199309L < pseudo-device pty < pseudo-device crypto > device pty > device crypto < device atkbdc0 at isa? port IO_KBD < device atkbd0 at atkbdc? irq 1 < device psm0 at atkbdc? irq 12 < device vga0 at isa? < pseudo-device splash < device sc0 at isa? --- > device atkbdc > device atkbd > device psm > options KBD_INSTALL_CDEV > device vga > device splash > device sc < device npx0 at nexus? port IO_NPX flags 0x0 irq 13 > device npx < device fdc0 at isa? port IO_FD1 irq 6 drq 2 < device fd0 at fdc0 drive 0 < device fd1 at fdc0 drive 1 < device sio0 at isa? port IO_COM1 irq 4 < device sio1 at isa? port IO_COM2 irq 3 Also I've set kern.hz="100" in /boot/loader.conf for every system. I've effectively excluded ipfw from the game by using 'add 1 pass all from any to any' rule. I hope, I've compared apples with apples this way. For every x-STABLE, I've received large ISO image via FTP in binary mode twice: using rl NIC and using fxp one, both in 10baseT mode (got approx. 1 Mbyte/s transfer rate). I've noted CPU utilization which gave "systat -vm 1" once numbers have stabilized. Here are the results (average numbers, %User and %Nice are close to zero): %Sys %Intr %Idl RELENG_4 + rl0 14 14 72 RELENG_4 + fxp0 14 10 76 RELENG_5 + rl0 40 30 30 RELENG_5 + fxp0 35 25 40 RELENG_6 + rl0 45 40 15 RELENG_6 + fxp0 45 35 20 I've tried to verify these numbers by running 'md5 -t' in parallel with download and measuring wall time: "time md5 -t". Indeed, under RELENG_4 I've got 43 sec on wall clock time for this benchmark vs 2:01 for RELENG_5 and 2:05 under RELENG_6 (I don't understand why difference is so low between 5 and 6 here). I would call these numbers discouraging. Actually such high CPU usage during the relatively simple processing to HDD of _only_ 10 Mbit/s traffic will surely prevent deployment of 6-STABLE on many not-very-powerful production servers. Am I missing something simple regarding compile-time or runtime optimization? Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 15:19:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A89D16A401 for ; Thu, 27 Apr 2006 15:19:29 +0000 (UTC) (envelope-from tim@timandcorey.com) Received: from rackdawg.moocowproductions.org (rackdawg.moocowproductions.org [64.39.14.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D66343D48 for ; Thu, 27 Apr 2006 15:19:29 +0000 (GMT) (envelope-from tim@timandcorey.com) Received: by rackdawg.moocowproductions.org (Postfix, from userid 1006) id 7DF9A41B6E; Thu, 27 Apr 2006 10:19:28 -0500 (CDT) X-Spam-Checker-Version: SpamAssassin 3.1.0-gr0 (2005-09-13) on rackdawg.timandcorey.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL autolearn=unavailable version=3.1.0-gr0 Received: from webmail.timandcorey.com (localhost [127.0.0.1]) by rackdawg.moocowproductions.org (Postfix) with ESMTP id 8A39B2010B; Thu, 27 Apr 2006 10:19:27 -0500 (CDT) Received: from 70.238.70.107 (SquirrelMail authenticated user timsoder) by webmail.timandcorey.com with HTTP; Thu, 27 Apr 2006 10:19:27 -0500 (CDT) Message-ID: <1165.70.238.70.107.1146151167.squirrel@webmail.timandcorey.com> In-Reply-To: <444FE92F.5060309@helenmarks.co.uk> References: <49439.70.238.70.107.1146037012.squirrel@webmail.timandcorey.com> <444FE92F.5060309@helenmarks.co.uk> Date: Thu, 27 Apr 2006 10:19:27 -0500 (CDT) From: "Tim Soderstrom" To: "Dominic Marks" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-stable@freebsd.org, tim@timandcorey.com Subject: Re: DMA timeouts with Adapter ASH-1205SA SATA PCI Card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tim@timandcorey.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 15:19:29 -0000 > > This card is based on a Silicon Image chip. You might as well > chuck the card I have never got a machine stable with one of these > controllers, I tried three cards all based on this chip, including an > Adaptec 1210SA. All the same, completely unstable. > > I suggest you acquire one of these instead: > > http://froogle.google.com/froogle?q=3ware+escalade+8000+2+port > > Save yourself a lot of pain (really) and get one :) With one of these > the rock-like stability should be easy to achieve, hopefully. I am finding that out the more I research this card. I have found, however, that it does work fairly stable in Linux (sorry for dropping the L-bomb) assuming that your hard-drive is not of a certain model. If it is, the driver still works, but runs in a diminished capacity. That said, one thing I noticed when reading the ata man page (I forgot sometimes how awesome FreeBSD man-pages are!), the SiI3112 is listed as a compatible chipset. I am e-mailing this issue directly to the maintainer as a result. If the chipset is not supported, and it seems like it isn't in a stable configuration, I would think this should be ammended. Thanks again fro the help! Tim From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 16:16:45 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87EEC16A404 for ; Thu, 27 Apr 2006 16:16:45 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7C5643D46 for ; Thu, 27 Apr 2006 16:16:44 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3RGGged034040 for ; Thu, 27 Apr 2006 20:16:42 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Thu, 27 Apr 2006 20:16:42 +0400 (MSD) From: Dmitry Morozovsky To: stable@freebsd.org Message-ID: <20060427201028.W30080@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Thu, 27 Apr 2006 20:16:42 +0400 (MSD) Cc: Subject: console on sioN (not 0), RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 16:16:45 -0000 Colleagues, what should I do to drift serial console from sio0 to sio4 on puc (alas, com1 is broken on given motherboard, and there is no com2)? Quick googling and looking through the Handbook does not help much. Thanks in advance. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 16:23:28 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37AED16A405 for ; Thu, 27 Apr 2006 16:23:28 +0000 (UTC) (envelope-from dkirhlarov@localhost.oilspace.com) Received: from office.oilspace.com (ns2.oilspace.com [194.129.65.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DF1943D4C for ; Thu, 27 Apr 2006 16:23:27 +0000 (GMT) (envelope-from dkirhlarov@localhost.oilspace.com) Received: from dimma.mow.oilspace.com (infra-gw.oilspace.com [81.222.156.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by office.oilspace.com (Postfix) with ESMTP id A1DA3136CE1 for ; Thu, 27 Apr 2006 17:23:26 +0100 (BST) Received: from dimma.mow.oilspace.com (localhost [127.0.0.1]) by dimma.mow.oilspace.com (8.13.4/8.13.3) with ESMTP id k3RGNQWf005594 for ; Thu, 27 Apr 2006 20:23:26 +0400 (MSD) (envelope-from dkirhlarov@localhost.oilspace.com) Received: (from dkirhlarov@localhost) by dimma.mow.oilspace.com (8.13.4/8.13.3/Submit) id k3RGNPA6005593 for stable@freebsd.org; Thu, 27 Apr 2006 20:23:25 +0400 (MSD) (envelope-from dkirhlarov) Date: Thu, 27 Apr 2006 20:23:25 +0400 From: Dmitriy Kirhlarov To: stable@freebsd.org Message-ID: <20060427162325.GD3146@dimma.mow.oilspace.com> Mail-Followup-To: stable@freebsd.org References: <20060427201028.W30080@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060427201028.W30080@woozle.rinet.ru> X-Mailer: Mutt-ng devel (2005-03-13) based on Mutt 1.5.9 X-Operating-System: FreeBSD 5.4-STABLE User-Agent: mutt-ng/devel-r581 (FreeBSD) Cc: Subject: Re: console on sioN (not 0), RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 16:23:28 -0000 On Thu, Apr 27, 2006 at 08:16:42PM +0400, Dmitry Morozovsky wrote: > Colleagues, > > what should I do to drift serial console from sio0 to sio4 on puc (alas, com1 > is broken on given motherboard, and there is no com2)? Quick googling and > looking through the Handbook does not help much. look like impossible. handbook. 22.6.5.2 Using Serial Port Other Than sio0 for the Console Edit /etc/make.conf and set BOOT_COMCONSOLE_PORT to the address of the port you want to use (0x3F8, 0x2F8, 0x3E8 or 0x2E8). Only sio0 through sio3 (COM1 through COM4) can be used; multiport serial cards will not work. No interrupt setting is needed. WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:DmitriyKirhlarov@oilspace.com OILspace - The resource enriched - www.oilspace.com From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 16:29:02 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EB0116A407 for ; Thu, 27 Apr 2006 16:29:02 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2430543D5A for ; Thu, 27 Apr 2006 16:28:55 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3RGSs15034405; Thu, 27 Apr 2006 20:28:54 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Thu, 27 Apr 2006 20:28:54 +0400 (MSD) From: Dmitry Morozovsky To: Dmitriy Kirhlarov In-Reply-To: <20060427162325.GD3146@dimma.mow.oilspace.com> Message-ID: <20060427202802.Y30080@woozle.rinet.ru> References: <20060427201028.W30080@woozle.rinet.ru> <20060427162325.GD3146@dimma.mow.oilspace.com> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Thu, 27 Apr 2006 20:28:54 +0400 (MSD) Cc: stable@freebsd.org Subject: Re: console on sioN (not 0), RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 16:29:02 -0000 On Thu, 27 Apr 2006, Dmitriy Kirhlarov wrote: DK> > what should I do to drift serial console from sio0 to sio4 on puc (alas, com1 DK> > is broken on given motherboard, and there is no com2)? Quick googling and DK> > looking through the Handbook does not help much. DK> DK> look like impossible. DK> DK> handbook. DK> 22.6.5.2 Using Serial Port Other Than sio0 for the Console DK> DK> Edit /etc/make.conf and set BOOT_COMCONSOLE_PORT to the address of the DK> port you want to use (0x3F8, 0x2F8, 0x3E8 or 0x2E8). Only sio0 through DK> sio3 (COM1 through COM4) can be used; multiport serial cards will not DK> work. No interrupt setting is needed. It seems (looking at kernel config lines) that this is true for RELENG_4 times; I hope something improved over time ;-) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 16:35:34 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D60D16A433 for ; Thu, 27 Apr 2006 16:35:34 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFCA243D5E for ; Thu, 27 Apr 2006 16:35:33 +0000 (GMT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id k3RGZXGi091099; Thu, 27 Apr 2006 09:35:33 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id k3RGZXHE091098; Thu, 27 Apr 2006 09:35:33 -0700 (PDT) (envelope-from david) Date: Thu, 27 Apr 2006 09:35:32 -0700 From: David Wolfskill To: Dmitry Morozovsky Message-ID: <20060427163532.GO32062@bunrab.catwhisker.org> Mail-Followup-To: David Wolfskill , Dmitry Morozovsky , stable@freebsd.org References: <20060427201028.W30080@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060427201028.W30080@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org Subject: Re: console on sioN (not 0), RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 16:35:34 -0000 On Thu, Apr 27, 2006 at 08:16:42PM +0400, Dmitry Morozovsky wrote: > Colleagues, > > what should I do to drift serial console from sio0 to sio4 on puc (alas, com1 > is broken on given motherboard, and there is no com2)? Quick googling and > looking through the Handbook does not help much. > > Thanks in advance. What I've done: * Create or update /boot.config to include a line that reads "-P" (or "-DP"). * Update /boot/device.hints to remove the 0x10 flag from sio.0. (Not sure that's needed, but....) Add that flag to sio.N (sio.4, in your case). * Assuming(!) you want to be able to login to the device, update /etc/ttys to have a getty running on ttydN (ttyd4, in your case). The above is based on my experiences with machines using the Intel SE7520JR2 system board, which provides an RJ45 port on the back for "Serial B". Peace, david -- David H. Wolfskill david@catwhisker.org Mail filters, like sewers, need to be most restrictive at the point of entry. See http://www.catwhisker.org/~david/publickey.gpg for my public key. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 17:37:30 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 422AD16A411; Thu, 27 Apr 2006 17:37:30 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFBA343D55; Thu, 27 Apr 2006 17:37:22 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id C73EE52C7F; Thu, 27 Apr 2006 19:37:20 +0200 (CEST) Received: from localhost (dkb158.neoplus.adsl.tpnet.pl [83.24.5.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 62B6A52C6E; Thu, 27 Apr 2006 19:37:14 +0200 (CEST) Date: Thu, 27 Apr 2006 19:35:50 +0200 From: Pawel Jakub Dawidek To: "Bradley W. Dutton" Message-ID: <20060427173550.GA22635@garage.freebsd.pl> References: <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com> <20060427065534.GI17000@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <20060427065534.GI17000@garage.freebsd.pl> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: markus@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: 6.1 prerelease graid3 livelock? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 17:37:32 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 27, 2006 at 08:55:35AM +0200, Pawel Jakub Dawidek wrote: +> On Sun, Apr 23, 2006 at 12:04:33PM -0700, Bradley W. Dutton wrote: +> +> Hi, +> +>=20 +> +> I'm experiencing a sort of livelock on a 6.1 prerelease box. It appea= rs +> +> all of the IO related activity hangs but the box continues to do +> +> routing/NAT/etc for internet access from my other boxes. I can usual= ly +> +> get the lockup to occur within about 12 hours of booting. +>=20 +> Ok, I think I found it. Could you try this patch: +>=20 +> http://people.freebsd.org/~pjd/patches/g_raid3.c.4.patch markus@ reported the livelock is still there, so please try this patch instead: http://people.freebsd.org/~pjd/patches/g_raid3.c.5.patch --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD4DBQFEUQD2ForvXbEpPzQRAjs4AJjP+cQRoSc6JTkaVN/1O6KYhpvmAJ0fLbb6 Tld9y5Yq89LYz0QYdEGu6g== =tiKs -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 18:13:05 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22E7216A430 for ; Thu, 27 Apr 2006 18:13:05 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78E0A43DAB for ; Thu, 27 Apr 2006 18:12:27 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 454561A3C25; Thu, 27 Apr 2006 11:12:27 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 71F1055DD4; Thu, 27 Apr 2006 14:12:26 -0400 (EDT) Date: Thu, 27 Apr 2006 14:12:26 -0400 From: Kris Kennaway To: Dmitry Pryanishnikov Message-ID: <20060427181226.GA66431@xor.obsecurity.org> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <20060427160536.M96305@atlantis.atlantis.dp.ua> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 18:13:05 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 27, 2006 at 05:08:11PM +0300, Dmitry Pryanishnikov wrote: > makeoptions CONF_CFLAGS=-fno-builtin Non-default option; this may conceivably affect performance. > options INVARIANTS > options INVARIANT_SUPPORT These definitely effect performance, much more in 5.x and 6.x (at the 10-20% level) than 4.x. > options QUOTA This definitely effects performance on 6.x since it makes your filesystem giant-locked, which may also interfere with your network processing. Please retry without. Also make sure there are no other diagnostic messages at boot time about e.g. mpsafenet being forced to 0. Kris --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEUQmJWry0BWjoQKURAo1mAJoCcc2DMpD0gOwytEDR+drXb/kw2gCgmicw nOsCU0xyO4M4eIeujtqsmDE= =bxy0 -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 18:22:24 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4CF316A473 for ; Thu, 27 Apr 2006 18:22:24 +0000 (UTC) (envelope-from nakal@nurfuerspam.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E857743D48 for ; Thu, 27 Apr 2006 18:22:21 +0000 (GMT) (envelope-from nakal@nurfuerspam.de) Received: (qmail invoked by alias); 27 Apr 2006 18:22:20 -0000 Received: from p5090FCFE.dip.t-dialin.net (EHLO klotz.local) [80.144.252.254] by mail.gmx.net (mp027) with SMTP; 27 Apr 2006 20:22:20 +0200 X-Authenticated: #989277 Received: from [192.168.0.2] (booky.local [192.168.0.2]) by klotz.local (8.13.6/8.13.6) with ESMTP id k3RIM7cr003493; Thu, 27 Apr 2006 20:22:17 +0200 (CEST) (envelope-from nakal@nurfuerspam.de) Message-ID: <44510BD0.2060101@nurfuerspam.de> Date: Thu, 27 Apr 2006 20:22:08 +0200 From: Martin User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <444FBACF.2050006@nurfuerspam.de> <20060426191016.GC17000@garage.freebsd.pl> <444FD8AA.3040807@nurfuerspam.de> <20060426205544.GE17000@garage.freebsd.pl> In-Reply-To: <20060426205544.GE17000@garage.freebsd.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: stable@FreeBSD.org Subject: Re: geli password prompt does not work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 18:22:24 -0000 Pawel Jakub Dawidek wrote: > Flags field suggest that you were giving the passphrase on boot, before > root file system was mounted. Is that right? Yes. That's correct. > Can you enter DDB, look for g_event and g_eli_worker processes PIDs in > 'ps' output and send me the output of 'trace ' for both of them? > You can enter debugger with ctrl+alt+del if you have DDB compiled into > the kernel. No, I cannot enter the debugger. The only thing that seems to work is scrolling. I'm using "kernel.debug". > Could you also put kern.geom.debugflags=1 and kern.geom.eli.debug=3 into > /boot/loader.conf and send me the output as well? That's what I get, but it does not differ much from the working version: GEOM_ELI[3]: Tasting ad0s3g. g_detach(0xc47c79c0) g_destroy_consumer(0xc47c79c0) g_destroy_geom(0xc47ce880(eli:taste)) Enter passphrase for ad0s2g: g_post_event_x(0xc06126ac,0xc47a8900,2,0) ref 0xc47a8900 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: cd present [38919x2048 byte records] And after detecting the DVD-ROM, geom_eli waits as usually, but I cannot enter the password. Maybe the keyboard is just blocked? That might explain why I cannot enter the debugger. -- Martin From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 18:26:09 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BD8616A477 for ; Thu, 27 Apr 2006 18:26:09 +0000 (UTC) (envelope-from ml@sd2i.com) Received: from www2.sd2i.net (www2.sd2i.net [81.80.186.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBD8843D6A for ; Thu, 27 Apr 2006 18:26:08 +0000 (GMT) (envelope-from ml@sd2i.com) Received: from [192.168.1.127] (ADijon-257-1-97-54.w86-218.abo.wanadoo.fr [86.218.160.54]) by www2.sd2i.net (Postfix) with ESMTP id A10833FABE for ; Thu, 27 Apr 2006 20:26:06 +0200 (CEST) Message-ID: <44510CBE.6050102@sd2i.com> Date: Thu, 27 Apr 2006 20:26:06 +0200 From: "ml@sd2i.com" User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> In-Reply-To: <20060427181226.GA66431@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 18:26:10 -0000 Kris Kennaway a écrit : > On Thu, Apr 27, 2006 at 05:08:11PM +0300, Dmitry Pryanishnikov wrote: > > >> options QUOTA > > This definitely effects performance on 6.x since it makes your > filesystem giant-locked, which may also interfere with your network > processing. Why would QUOTA affect performance more on 6.x than 4.x ? I would like to understand because i think a system cannot be secure without QUOTA R. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 18:36:26 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14A6916A400 for ; Thu, 27 Apr 2006 18:36:26 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 029C843D78 for ; Thu, 27 Apr 2006 18:36:17 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 73FFE1A3C22; Thu, 27 Apr 2006 11:36:17 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EEC7455DDC; Thu, 27 Apr 2006 14:35:41 -0400 (EDT) Date: Thu, 27 Apr 2006 14:35:41 -0400 From: Kris Kennaway To: "ml@sd2i.com" Message-ID: <20060427183541.GA67363@xor.obsecurity.org> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <44510CBE.6050102@sd2i.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <44510CBE.6050102@sd2i.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 18:36:26 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 27, 2006 at 08:26:06PM +0200, ml@sd2i.com wrote: > Kris Kennaway a ?crit : > >On Thu, Apr 27, 2006 at 05:08:11PM +0300, Dmitry Pryanishnikov wrote: > > > > > >>options QUOTA > > > >This definitely effects performance on 6.x since it makes your > >filesystem giant-locked, which may also interfere with your network > >processing. >=20 > Why would QUOTA affect performance more on 6.x than 4.x ? I would like=20 > to understand because i think a system cannot be secure without QUOTA It makes filesystem writes acquire Giant, which blocks other kernel code that needs to also acquire Giant. When the need to acquire Giant was removed from the mainstream UFS code in 6.0 it was an enormous performance improvement. Kris --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEUQ79Wry0BWjoQKURAuhfAKD5MB7ycP673A3ODb+Z45DwylCLyQCglcsL 0TlZzSfX8PGLZ97Zq3A+GR0= =aLfr -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 18:41:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCF1816A401 for ; Thu, 27 Apr 2006 18:41:01 +0000 (UTC) (envelope-from steve.tell@crashmail.de) Received: from daemon.crashmail.de (daemon.crashmail.de [212.60.234.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46DE143D45 for ; Thu, 27 Apr 2006 18:41:01 +0000 (GMT) (envelope-from steve.tell@crashmail.de) Received: from nexxus.crashmail.de (dslb-082-083-112-019.pools.arcor-ip.net [82.83.112.19]) by daemon.crashmail.de (Postfix) with ESMTP id ED1065CCD; Thu, 27 Apr 2006 20:40:52 +0200 (CEST) From: Stefan 'Steve' Tell To: Bruno Ducrot In-Reply-To: <20060426180613.GC4766@poupinou.org> (Bruno Ducrot's message of "Wed, 26 Apr 2006 20:06:13 +0200") Organization: The Third Place References: <9sGmNqTehEB@zeus.crashmail.de> <20060426180613.GC4766@poupinou.org> X-Face: .KSo,m`RE@]&5>cJ8vw<`1x?R(?,Q]b@qeq; P\.fK\}i>U^v9f; /~+rKfXKOJ$jD@Foy7MtnIpnk+6]/](%q@*/|+M<4.q@SO3+)u X-PGP-Key: 0x9B6C7E15 X-PGP-Fingerprint: 0A21 6C88 552E 54AE 3FB5 4732 25EE 6ABE 9B6C 7E15 Date: Thu, 27 Apr 2006 20:40:57 +0200 Message-ID: <87vesuc152.fsf@zeus.crashmail.de> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org Subject: Re: powernow0: no match for extended cpuid 780 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 18:41:01 -0000 Hi, first of all a big thanks for your reply. * Bruno Ducrot wrote: > On Fri, Apr 21, 2006 at 04:11:00PM +0000, Stefan 'Steve' Tell wrote: >> powernow0: on cpu0 >> powernow0: ACPI MAX frequency not found >> powernow0: no match for extended cpuid 780 > Maybe by chance a BIOS upgrade will be ok. Sorry, no chance here. This is always the newest bios version available. > If that's not the case, or BIOS is alredy the newest, we could resolve > that issue by hardcoding sane values under the powernow driver, > or by rewritting the DSDT of this laptop. > The second solution will give you the oportunity to not have to > patch powernow for each upgrades. This would be great. Do you need more information? What can I do? -- By(t)e, Steve /\ http://www.crashmail.de GnuPG/PGP: 0x9B6C7E15, encrypted mail prefered, see header From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 19:04:02 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE48416A410 for ; Thu, 27 Apr 2006 19:04:02 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF37343D4C for ; Thu, 27 Apr 2006 19:03:59 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AE43D52C10; Thu, 27 Apr 2006 21:03:57 +0200 (CEST) Received: from localhost (dlt161.neoplus.adsl.tpnet.pl [83.24.49.161]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6C53A51D2C; Thu, 27 Apr 2006 21:03:50 +0200 (CEST) Date: Thu, 27 Apr 2006 21:02:26 +0200 From: Pawel Jakub Dawidek To: Martin Message-ID: <20060427190226.GB22635@garage.freebsd.pl> References: <444FBACF.2050006@nurfuerspam.de> <20060426191016.GC17000@garage.freebsd.pl> <444FD8AA.3040807@nurfuerspam.de> <20060426205544.GE17000@garage.freebsd.pl> <44510BD0.2060101@nurfuerspam.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jho1yZJdad60DJr+" Content-Disposition: inline In-Reply-To: <44510BD0.2060101@nurfuerspam.de> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: ** X-Spam-Status: No, score=2.6 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL,RCVD_IN_XBL autolearn=no version=3.0.4 Cc: stable@FreeBSD.org Subject: Re: geli password prompt does not work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 19:04:02 -0000 --jho1yZJdad60DJr+ Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 27, 2006 at 08:22:08PM +0200, Martin wrote: +> Pawel Jakub Dawidek wrote: +> > Flags field suggest that you were giving the passphrase on boot, before +> > root file system was mounted. Is that right? +>=20 +> Yes. That's correct. +>=20 +> > Can you enter DDB, look for g_event and g_eli_worker processes PIDs in +> > 'ps' output and send me the output of 'trace ' for both of them? +> > You can enter debugger with ctrl+alt+del if you have DDB compiled into +> > the kernel. +>=20 +> No, I cannot enter the debugger. The only thing that seems to work is +> scrolling. I'm using "kernel.debug". +>=20 +> > Could you also put kern.geom.debugflags=3D1 and kern.geom.eli.debug=3D= 3 into +> > /boot/loader.conf and send me the output as well? +>=20 +> That's what I get, but it does not differ much from the working version: +>=20 +> GEOM_ELI[3]: Tasting ad0s3g. +> g_detach(0xc47c79c0) +> g_destroy_consumer(0xc47c79c0) +> g_destroy_geom(0xc47ce880(eli:taste)) +> Enter passphrase for ad0s2g: g_post_event_x(0xc06126ac,0xc47a8900,2,0) +> ref 0xc47a8900 +> cd0 at ata1 bus 0 target 0 lun 0 +> cd0: Removable CD-ROM SCSI-0 device +> cd0: 33.000MB/s transfers +> cd0: cd present [38919x2048 byte records] +>=20 +> And after detecting the DVD-ROM, geom_eli waits as usually, but I +> cannot enter the password. Maybe the keyboard is just blocked? +> That might explain why I cannot enter the debugger. Could be, kbdmux is now on by default, AFAIK. Could you try without it? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --jho1yZJdad60DJr+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEURVCForvXbEpPzQRAkEIAJ0W4V+mHKpol+CeL8l+EAaXPQirqQCeMIKA xzdYCut05xbZbnNlTGan4V4= =TEZj -----END PGP SIGNATURE----- --jho1yZJdad60DJr+-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 19:17:31 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 240E216A401 for ; Thu, 27 Apr 2006 19:17:31 +0000 (UTC) (envelope-from ml@sd2i.com) Received: from www2.sd2i.net (www2.sd2i.net [81.80.186.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB36343D49 for ; Thu, 27 Apr 2006 19:17:30 +0000 (GMT) (envelope-from ml@sd2i.com) Received: from [192.168.1.127] (ADijon-257-1-97-54.w86-218.abo.wanadoo.fr [86.218.160.54]) by www2.sd2i.net (Postfix) with ESMTP id 5550D3F7FE for ; Thu, 27 Apr 2006 21:17:29 +0200 (CEST) Message-ID: <445118C8.7020603@sd2i.com> Date: Thu, 27 Apr 2006 21:17:28 +0200 From: "ml@sd2i.com" User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <44510CBE.6050102@sd2i.com> <20060427183541.GA67363@xor.obsecurity.org> In-Reply-To: <20060427183541.GA67363@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 19:17:31 -0000 Kris Kennaway a écrit : > On Thu, Apr 27, 2006 at 08:26:06PM +0200, ml@sd2i.com wrote: >> Kris Kennaway a ?crit : >>> On Thu, Apr 27, 2006 at 05:08:11PM +0300, Dmitry Pryanishnikov wrote: >>> >>> >>>> options QUOTA >>> This definitely effects performance on 6.x since it makes your >>> filesystem giant-locked, which may also interfere with your network >>> processing. >> Why would QUOTA affect performance more on 6.x than 4.x ? I would like >> to understand because i think a system cannot be secure without QUOTA > > It makes filesystem writes acquire Giant, which blocks other kernel > code that needs to also acquire Giant. When the need to acquire Giant > was removed from the mainstream UFS code in 6.0 it was an enormous > performance improvement. Thanks for your anwser, but i'm not sure i understand... You wrote that Giant is needed in 6.0 and now you write it has been removed. So is it removed for 6-STABLE ? 6.1-rc ? Since i already use 6.x boxes, and i do have performance issues, i would upgrade to the right version immediatly R. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 19:40:30 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AE9316A404 for ; Thu, 27 Apr 2006 19:40:30 +0000 (UTC) (envelope-from freebsd@chillt.de) Received: from dd2718.kasserver.com (dd2718.kasserver.com [81.209.184.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB81D43D53 for ; Thu, 27 Apr 2006 19:40:29 +0000 (GMT) (envelope-from freebsd@chillt.de) Received: from [127.0.0.1] (dslb-084-060-106-094.pools.arcor-ip.net [84.60.106.94]) by dd2718.kasserver.com (Postfix) with ESMTP id 44EABE68BF; Thu, 27 Apr 2006 21:40:03 +0200 (CEST) Message-ID: <44511E27.2070101@chillt.de> Date: Thu, 27 Apr 2006 21:40:23 +0200 From: Bartosz Fabianowski User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: "ml@sd2i.com" References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <44510CBE.6050102@sd2i.com> <20060427183541.GA67363@xor.obsecurity.org> <445118C8.7020603@sd2i.com> In-Reply-To: <445118C8.7020603@sd2i.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 19:40:30 -0000 > You wrote that Giant is needed in 6.0 and now you write it has been > removed. In 4.x, every UFS write requires the Giant lock. In 6.x, Giant is not normally required, making file system operations faster. When you enable QUOTA, you basically get back to the 4.x behavior where Giant is needed for each write. This is why in 6.x UFS will normally be faster but if you enable QUOTA, you lose the newly gained performance again. - Bartosz From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 19:47:37 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABC4716A4F9 for ; Thu, 27 Apr 2006 19:47:37 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 3FF9B43D5F for ; Thu, 27 Apr 2006 19:47:31 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 72082 invoked from network); 27 Apr 2006 19:47:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=1QmKvbIkGtpx4YBsiQcNm+EoOs0ZG7WgN1wMOS45sg0Qmkr9hX5c7clwNjX5kpOVh8Pzo0PlRmG4A0YQj/9CHnLqfjU6UKxO8jilGuO0HVknvwUKzpiGx7fkVCKirKv0X0/p3QM2sJ7MBN2le16Vkmyy8tr0JlaDBPtOJuVySkI= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp105.rog.mail.re2.yahoo.com with SMTP; 27 Apr 2006 19:47:30 -0000 Message-ID: <44511FD9.9020200@rogers.com> Date: Thu, 27 Apr 2006 15:47:37 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Bartosz Fabianowski References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <44510CBE.6050102@sd2i.com> <20060427183541.GA67363@xor.obsecurity.org> <445118C8.7020603@sd2i.com> <44511E27.2070101@chillt.de> In-Reply-To: <44511E27.2070101@chillt.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "ml@sd2i.com" , freebsd-stable@freebsd.org Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 19:47:37 -0000 Bartosz Fabianowski wrote: >> You wrote that Giant is needed in 6.0 and now you write it has been >> removed. > > In 4.x, every UFS write requires the Giant lock. In 6.x, Giant is not > normally required, making file system operations faster. When you > enable QUOTA, you basically get back to the 4.x behavior where Giant > is needed for each write. This is why in 6.x UFS will normally be > faster but if you enable QUOTA, you lose the newly gained performance > again. Why isn't QUOTA mpsafe then? From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 20:38:53 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D3D316A400 for ; Thu, 27 Apr 2006 20:38:53 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F84943D45 for ; Thu, 27 Apr 2006 20:38:53 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id E2EB31A4EAF; Thu, 27 Apr 2006 13:38:52 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0998055E03; Thu, 27 Apr 2006 16:38:52 -0400 (EDT) Date: Thu, 27 Apr 2006 16:38:51 -0400 From: Kris Kennaway To: Mike Jakubik Message-ID: <20060427203851.GA70189@xor.obsecurity.org> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <44510CBE.6050102@sd2i.com> <20060427183541.GA67363@xor.obsecurity.org> <445118C8.7020603@sd2i.com> <44511E27.2070101@chillt.de> <44511FD9.9020200@rogers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <44511FD9.9020200@rogers.com> User-Agent: Mutt/1.4.2.1i Cc: Bartosz Fabianowski , freebsd-stable@freebsd.org, "ml@sd2i.com" Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 20:38:53 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 27, 2006 at 03:47:37PM -0400, Mike Jakubik wrote: > Bartosz Fabianowski wrote: > >>You wrote that Giant is needed in 6.0 and now you write it has been > >>removed. > > > >In 4.x, every UFS write requires the Giant lock. In 6.x, Giant is not=20 > >normally required, making file system operations faster. When you=20 > >enable QUOTA, you basically get back to the 4.x behavior where Giant=20 > >is needed for each write. This is why in 6.x UFS will normally be=20 > >faster but if you enable QUOTA, you lose the newly gained performance=20 > >again. >=20 > Why isn't QUOTA mpsafe then? Because code doesn't grow on trees. There are uncommitted patches though - perhaps you can test them and get back to the author with your feedback. Kris --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEUSvbWry0BWjoQKURArL/AKC9DjTvPP/FAGG1oepds5u863jjQQCg9wZ/ N06LEl2FyJuTZKJRWXv7NLE= =XTiQ -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 20:43:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68A6A16A403 for ; Thu, 27 Apr 2006 20:43:01 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp101.rog.mail.re2.yahoo.com (smtp101.rog.mail.re2.yahoo.com [206.190.36.79]) by mx1.FreeBSD.org (Postfix) with SMTP id AA84C43D49 for ; Thu, 27 Apr 2006 20:43:00 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 64211 invoked from network); 27 Apr 2006 20:42:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=OhES/S26+cExjOgY5/UjchBHXPIibQhEBLXW9Jqi3cAuGSG3UoLIQY8zV1mJ+fVhu4wXyB3NO9s4ilvw1+PFhh1aRAA3nIV0HeCKp9wiyreTij/YsSqyyas90EgrEUdA9g5GLfE3+abp6RnUbR1B1dV9ZAU0ZaQpbEZdcvpi9U8= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp101.rog.mail.re2.yahoo.com with SMTP; 27 Apr 2006 20:42:59 -0000 Message-ID: <44512CDB.5070802@rogers.com> Date: Thu, 27 Apr 2006 16:43:07 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Kris Kennaway References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <44510CBE.6050102@sd2i.com> <20060427183541.GA67363@xor.obsecurity.org> <445118C8.7020603@sd2i.com> <44511E27.2070101@chillt.de> <44511FD9.9020200@rogers.com> <20060427203851.GA70189@xor.obsecurity.org> In-Reply-To: <20060427203851.GA70189@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Bartosz Fabianowski , freebsd-stable@freebsd.org, "ml@sd2i.com" Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 20:43:01 -0000 Kris Kennaway wrote: > On Thu, Apr 27, 2006 at 03:47:37PM -0400, Mike Jakubik wrote: > >> Why isn't QUOTA mpsafe then? >> > > Because code doesn't grow on trees. There are uncommitted patches > though - perhaps you can test them and get back to the author with > your feedback. > What? There is a beautiful PHP tree growing behind me :P If they apply to -CURRENT i will gladly test them, where can i find them? From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 20:48:30 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ADA316A407 for ; Thu, 27 Apr 2006 20:48:30 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC9DF43D72 for ; Thu, 27 Apr 2006 20:48:27 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 865D71A3C25; Thu, 27 Apr 2006 13:48:27 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id BFA0355E06; Thu, 27 Apr 2006 16:48:26 -0400 (EDT) Date: Thu, 27 Apr 2006 16:48:26 -0400 From: Kris Kennaway To: Mike Jakubik Message-ID: <20060427204826.GA70446@xor.obsecurity.org> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <44510CBE.6050102@sd2i.com> <20060427183541.GA67363@xor.obsecurity.org> <445118C8.7020603@sd2i.com> <44511E27.2070101@chillt.de> <44511FD9.9020200@rogers.com> <20060427203851.GA70189@xor.obsecurity.org> <44512CDB.5070802@rogers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <44512CDB.5070802@rogers.com> User-Agent: Mutt/1.4.2.1i Cc: Bartosz Fabianowski , "ml@sd2i.com" , freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 20:48:30 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 27, 2006 at 04:43:07PM -0400, Mike Jakubik wrote: > Kris Kennaway wrote: > >On Thu, Apr 27, 2006 at 03:47:37PM -0400, Mike Jakubik wrote: > > =20 > >>Why isn't QUOTA mpsafe then? > >> =20 > > > >Because code doesn't grow on trees. There are uncommitted patches > >though - perhaps you can test them and get back to the author with > >your feedback. > > =20 >=20 > What? There is a beautiful PHP tree growing behind me :P If they apply=20 > to -CURRENT i will gladly test them, where can i find them? I think they were posted to current@; check the archives. Kris =20 --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEUS4aWry0BWjoQKURAuWaAKCtXCGYVzCxlEqiJKNUQB5a2y9FSgCePo6E VMhjZN76A8Efi3aViXv80oM= =244g -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 20:56:59 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3840816A417 for ; Thu, 27 Apr 2006 20:56:59 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoot.lafn.org (zoot.lafn.ORG [206.117.18.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7AF443D5E for ; Thu, 27 Apr 2006 20:56:58 +0000 (GMT) (envelope-from bc979@lafn.org) Received: from [10.0.1.5] (pool-71-109-244-179.lsanca.dsl-w.verizon.net [71.109.244.179]) (authenticated bits=0) by zoot.lafn.org (8.13.4/8.13.1) with ESMTP id k3RKuuMl017416 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Thu, 27 Apr 2006 13:56:57 -0700 (PDT) (envelope-from bc979@lafn.org) Mime-Version: 1.0 (Apple Message framework v749.3) In-Reply-To: <20060427181226.GA66431@xor.obsecurity.org> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2C81082F-F053-4C72-B9D9-950286900F69@lafn.org> Content-Transfer-Encoding: 7bit From: Doug Hardie Date: Thu, 27 Apr 2006 13:57:02 -0700 To: freebsd-stable X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: ClamAV 0.88/1428/Thu Apr 27 11:39:31 2006 on zoot.lafn.org X-Virus-Status: Clean Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 20:56:59 -0000 On Apr 27, 2006, at 11:12, Kris Kennaway wrote: > On Thu, Apr 27, 2006 at 05:08:11PM +0300, Dmitry Pryanishnikov wrote: > >> options QUOTA > > This definitely effects performance on 6.x since it makes your > filesystem giant-locked, which may also interfere with your network > processing. Any indications when this will be fixed? I need quota for user's files. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 21:18:40 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A51D16A405 for ; Thu, 27 Apr 2006 21:18:40 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout09-04.prod.mesa1.secureserver.net (smtpout09-04.prod.mesa1.secureserver.net [64.202.165.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 6D60243D48 for ; Thu, 27 Apr 2006 21:18:39 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 26537 invoked from network); 27 Apr 2006 21:18:38 -0000 Received: from unknown (24.144.77.138) by smtpout09-04.prod.mesa1.secureserver.net (64.202.165.17) with ESMTP; 27 Apr 2006 21:18:37 -0000 Message-ID: <4451352D.5000407@seclark.us> Date: Thu, 27 Apr 2006 17:18:37 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: BioStar Tforce4 6100-939 MB with Nvidia Nforce 410 chipset X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 21:18:40 -0000 Hi List, To get the above to work I had to add #define NFORCE_MCPNET12_DEVICEID 0x0269 if_nvereg.h and {NVIDIA_VENDORID, NFORCE_MCPNET12_DEVICEID, "NVIDIA nForce MCP51 Networking Adapter"}, if_nve.c For anyone that cares. Regards, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 22:19:51 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCAAA16A427 for ; Thu, 27 Apr 2006 22:19:51 +0000 (UTC) (envelope-from brad-fbsd-stable@duttonbros.com) Received: from uno.mnl.com (uno.mnl.com [63.97.246.49]) by mx1.FreeBSD.org (Postfix) with SMTP id 284FD43D6A for ; Thu, 27 Apr 2006 22:19:49 +0000 (GMT) (envelope-from brad-fbsd-stable@duttonbros.com) Received: (qmail 13189 invoked by uid 85); 27 Apr 2006 22:19:46 -0000 Received: from 127.0.0.1 by uno (envelope-from , uid 89) with qmail-scanner-1.25 (spamassassin: 2.55. Clear:RC:1(127.0.0.1):. Processed in 0.060927 secs); 27 Apr 2006 22:19:46 -0000 Received: from unknown (HELO uno.mnl.com) (127.0.0.1) by localhost with SMTP; 27 Apr 2006 22:19:45 -0000 Received: from 67.169.82.217 (SquirrelMail authenticated user bdutton) by uno.mnl.com with HTTP; Thu, 27 Apr 2006 15:19:45 -0700 (PDT) Message-ID: <54892.67.169.82.217.1146176385.squirrel@uno.mnl.com> In-Reply-To: <20060427173550.GA22635@garage.freebsd.pl> References: <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com> <20060427065534.GI17000@garage.freebsd.pl> <20060427173550.GA22635@garage.freebsd.pl> Date: Thu, 27 Apr 2006 15:19:45 -0700 (PDT) From: "Bradley W. Dutton" To: "Pawel Jakub Dawidek" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: markus@freebsd.org, freebsd-stable@freebsd.org Subject: Re: 6.1 prerelease graid3 livelock? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: brad-fbsd-stable@duttonbros.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 22:19:51 -0000 Ok, I had already installed and booted the first patch. I then rebuilt the kernel with the second patch. Trying to reboot from the first patch to the second resulted in a crash/panic on shutdown. I didn't capture the output from this. Once I booted the second patch the machine panics in the boot process, in short: /dev/raid3t/moviesf: clean,o 190615 free (19p11 frags, 23588 oblocks, 0.8% fralogy locked @ /usr/src/sys/geom/raid3/g_raid3.c:773. KDB: enter: panic [thread pid 35 tid 100030 ] Stopped at kdb_enter+0x30: leave The text copied from the serial console was a little garbled, it did say something like: sx lock, geom topology locked... I did an "alltrace" at that point which I'll send seperately. Thanks, Brad > On Thu, Apr 27, 2006 at 08:55:35AM +0200, Pawel Jakub Dawidek wrote: > +> On Sun, Apr 23, 2006 at 12:04:33PM -0700, Bradley W. Dutton wrote: > +> +> Hi, > +> +> > +> +> I'm experiencing a sort of livelock on a 6.1 prerelease box. It > appears > +> +> all of the IO related activity hangs but the box continues to do > +> +> routing/NAT/etc for internet access from my other boxes. I can > usually > +> +> get the lockup to occur within about 12 hours of booting. > +> > +> Ok, I think I found it. Could you try this patch: > +> > +> http://people.freebsd.org/~pjd/patches/g_raid3.c.4.patch > > markus@ reported the livelock is still there, so please try this patch > instead: > > http://people.freebsd.org/~pjd/patches/g_raid3.c.5.patch From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 22:26:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 408E616A400 for ; Thu, 27 Apr 2006 22:26:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 913C643D45 for ; Thu, 27 Apr 2006 22:26:22 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 74B3F1A4EB1; Thu, 27 Apr 2006 15:26:22 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 879DA55E27; Thu, 27 Apr 2006 18:26:21 -0400 (EDT) Date: Thu, 27 Apr 2006 18:26:21 -0400 From: Kris Kennaway To: Doug Hardie Message-ID: <20060427222621.GA71686@xor.obsecurity.org> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <2C81082F-F053-4C72-B9D9-950286900F69@lafn.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <2C81082F-F053-4C72-B9D9-950286900F69@lafn.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 22:26:23 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 27, 2006 at 01:57:02PM -0700, Doug Hardie wrote: >=20 > On Apr 27, 2006, at 11:12, Kris Kennaway wrote: >=20 > >On Thu, Apr 27, 2006 at 05:08:11PM +0300, Dmitry Pryanishnikov wrote: > > > >>options QUOTA > > > >This definitely effects performance on 6.x since it makes your > >filesystem giant-locked, which may also interfere with your network > >processing. >=20 > Any indications when this will be fixed? I need quota for user's files. Some time after users give enough feedback about the mpsafe quota patch. Kris --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEUUUMWry0BWjoQKURAk2tAJoDi71y5wEC7gNDqiqJPPtbg+V06QCgibJx K1GUY+79AwisSLwBvwXXADo= =AED+ -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 02:55:36 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3FD216A403 for ; Fri, 28 Apr 2006 02:55:36 +0000 (UTC) (envelope-from gene@nttmcl.com) Received: from mx2.nttmcl.com (MX2.nttmcl.com [216.69.68.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BCCC43D49 for ; Fri, 28 Apr 2006 02:55:36 +0000 (GMT) (envelope-from gene@nttmcl.com) Received: from [216.69.70.43] (bbq.nttmcl.com [216.69.70.43]) by mx2.nttmcl.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k3S2tXfl017474 for ; Thu, 27 Apr 2006 19:55:34 -0700 Message-ID: <44518421.60408@nttmcl.com> Date: Thu, 27 Apr 2006 19:55:29 -0700 From: "Eugene M. Kim" User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.3 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on mx2.nttmcl.com Subject: link_elf: symbol cam_simq_alloc undefined X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 02:55:36 -0000 Hello, I'm trying to upgrade from 5-stable to 6-stable; after rebooting to the new kernel, the amr(4) module (amr.ko) refuses to load with this message: link_elf: symbol cam_simq_alloc undefined However, a quick nm(1) on /boot/kernel/cam.ko does show: ... 0000f0ac T cam_sim_set_path 0000efc4 T cam_simq_alloc 0000efd4 T cam_simq_free ... and cam.ko is already loaded before amr.ko. What am I missing here? *scratches head 'o 'a* Thanks, Eugene From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 03:21:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9469316A400 for ; Fri, 28 Apr 2006 03:21:18 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3670643D46 for ; Fri, 28 Apr 2006 03:21:18 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (h6wfxnogtqqwtgzf@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k3S3LH23050271; Thu, 27 Apr 2006 20:21:17 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k3S3LGpQ050267; Thu, 27 Apr 2006 20:21:16 -0700 (PDT) (envelope-from jmg) Date: Thu, 27 Apr 2006 20:21:16 -0700 From: John-Mark Gurney To: "Eugene M. Kim" Message-ID: <20060428032115.GP728@funkthat.com> Mail-Followup-To: "Eugene M. Kim" , freebsd-stable@freebsd.org References: <44518421.60408@nttmcl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44518421.60408@nttmcl.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-stable@freebsd.org Subject: Re: link_elf: symbol cam_simq_alloc undefined X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 03:21:18 -0000 Eugene M. Kim wrote this message on Thu, Apr 27, 2006 at 19:55 -0700: > I'm trying to upgrade from 5-stable to 6-stable; after rebooting to the > new kernel, the amr(4) module (amr.ko) refuses to load with this message: > > link_elf: symbol cam_simq_alloc undefined > > However, a quick nm(1) on /boot/kernel/cam.ko does show: > > ... > 0000f0ac T cam_sim_set_path > 0000efc4 T cam_simq_alloc > 0000efd4 T cam_simq_free > ... > > and cam.ko is already loaded before amr.ko. > > What am I missing here? *scratches head 'o 'a* amr is missing a: MODULE_DEPEND(amr, cam, 1, 1, 1); which means the module doesn't get cam's symbols... might as well add that line to amr_linux.c next to MODULE_DEPEND already there... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 03:37:05 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B60BF16A408 for ; Fri, 28 Apr 2006 03:37:05 +0000 (UTC) (envelope-from brad-fbsd-stable@duttonbros.com) Received: from uno.mnl.com (uno.mnl.com [63.97.246.49]) by mx1.FreeBSD.org (Postfix) with SMTP id AA13743D55 for ; Fri, 28 Apr 2006 03:37:04 +0000 (GMT) (envelope-from brad-fbsd-stable@duttonbros.com) Received: (qmail 21731 invoked by uid 85); 28 Apr 2006 03:37:02 -0000 Received: from 127.0.0.1 by uno (envelope-from , uid 89) with qmail-scanner-1.25 (spamassassin: 2.55. Clear:RC:1(127.0.0.1):. Processed in 0.056332 secs); 28 Apr 2006 03:37:02 -0000 Received: from unknown (HELO uno.mnl.com) (127.0.0.1) by localhost with SMTP; 28 Apr 2006 03:37:02 -0000 Received: from 67.169.82.217 (SquirrelMail authenticated user bdutton) by uno.mnl.com with HTTP; Thu, 27 Apr 2006 20:37:02 -0700 (PDT) Message-ID: <65294.67.169.82.217.1146195422.squirrel@uno.mnl.com> In-Reply-To: <54892.67.169.82.217.1146176385.squirrel@uno.mnl.com> References: <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com> <20060427065534.GI17000@garage.freebsd.pl> <20060427173550.GA22635@garage.freebsd.pl> <54892.67.169.82.217.1146176385.squirrel@uno.mnl.com> Date: Thu, 27 Apr 2006 20:37:02 -0700 (PDT) From: "Bradley W. Dutton" To: "Pawel Jakub Dawidek" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-stable@freebsd.org, markus@freebsd.org Subject: Re: 6.1 prerelease graid3 livelock? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: brad-fbsd-stable@duttonbros.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 03:37:05 -0000 Well I don't know what was going on earlier but I reverted to good kernel, synced my raid arrays (no longer degraded from the panics), then booted a kernel with the second patch applied, this time no problems so far. I'll let you know how things go after the box is running for a while. Thanks, Brad > Ok, I had already installed and booted the first patch. I then rebuilt the > kernel with the second patch. Trying to reboot from the first patch to the > second resulted in a crash/panic on shutdown. I didn't capture the output > from this. Once I booted the second patch the machine panics in the boot > process, in short: > /dev/raid3t/moviesf: clean,o 190615 free (19p11 frags, 23588 oblocks, 0.8% > fralogy locked @ /usr/src/sys/geom/raid3/g_raid3.c:773. > KDB: enter: panic > [thread pid 35 tid 100030 ] > Stopped at kdb_enter+0x30: leave > > The text copied from the serial console was a little garbled, it did say > something like: > sx lock, geom topology locked... > > I did an "alltrace" at that point which I'll send seperately. > > Thanks, > Brad > > >> On Thu, Apr 27, 2006 at 08:55:35AM +0200, Pawel Jakub Dawidek wrote: >> +> On Sun, Apr 23, 2006 at 12:04:33PM -0700, Bradley W. Dutton wrote: >> +> +> Hi, >> +> +> >> +> +> I'm experiencing a sort of livelock on a 6.1 prerelease box. It >> appears >> +> +> all of the IO related activity hangs but the box continues to do >> +> +> routing/NAT/etc for internet access from my other boxes. I can >> usually >> +> +> get the lockup to occur within about 12 hours of booting. >> +> >> +> Ok, I think I found it. Could you try this patch: >> +> >> +> http://people.freebsd.org/~pjd/patches/g_raid3.c.4.patch >> >> markus@ reported the livelock is still there, so please try this patch >> instead: >> >> http://people.freebsd.org/~pjd/patches/g_raid3.c.5.patch > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 04:59:53 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69B8516A400; Fri, 28 Apr 2006 04:59:53 +0000 (UTC) (envelope-from gene@nttmcl.com) Received: from mx2.nttmcl.com (MX2.nttmcl.com [216.69.68.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 017D043D46; Fri, 28 Apr 2006 04:59:52 +0000 (GMT) (envelope-from gene@nttmcl.com) Received: from [216.69.70.43] (bbq.nttmcl.com [216.69.70.43]) by mx2.nttmcl.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k3S4xmVf018199; Thu, 27 Apr 2006 21:59:49 -0700 Message-ID: <4451A140.7090100@nttmcl.com> Date: Thu, 27 Apr 2006 21:59:44 -0700 From: "Eugene M. Kim" User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: John-Mark Gurney References: <44518421.60408@nttmcl.com> <20060428032115.GP728@funkthat.com> In-Reply-To: <20060428032115.GP728@funkthat.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.3 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on mx2.nttmcl.com Cc: scottl@freebsd.org, freebsd-stable@freebsd.org Subject: Re: link_elf: symbol cam_simq_alloc undefined X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 04:59:53 -0000 Thanks, that fixed it! : ) scottl: Could you commit (and MFC) the fix? It's as simple as adding a MODULE_DEPEND line: MODULE_DEPEND(amr, cam, 1, 1, 1); after the DRIVER_MODULE line in src/sys/dev/amr/amr_pci.c I'm not sure about amr_linux though; it seems that there's no CAM reference in amr_linux.c, but that amr_linux is just a compatibility layer on top of amr. In that light, perhaps: MODULE_DEPEND(amr_linux, amr, 1, 1, 1); is in order. Also, the existing MODULE_DEPEND line probably should be changed to: MODULE_DEPEND(amr_linux, linux, 1, 1, 1); Cheers, Eugene John-Mark Gurney wrote: > Eugene M. Kim wrote this message on Thu, Apr 27, 2006 at 19:55 -0700: >> I'm trying to upgrade from 5-stable to 6-stable; after rebooting to the >> new kernel, the amr(4) module (amr.ko) refuses to load with this message: >> >> link_elf: symbol cam_simq_alloc undefined >> >> However, a quick nm(1) on /boot/kernel/cam.ko does show: >> >> ... >> 0000f0ac T cam_sim_set_path >> 0000efc4 T cam_simq_alloc >> 0000efd4 T cam_simq_free >> ... >> >> and cam.ko is already loaded before amr.ko. >> >> What am I missing here? *scratches head 'o 'a* > > amr is missing a: > MODULE_DEPEND(amr, cam, 1, 1, 1); > > which means the module doesn't get cam's symbols... might as well add > that line to amr_linux.c next to MODULE_DEPEND already there... > From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 05:21:13 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24FA616A400; Fri, 28 Apr 2006 05:21:13 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB79D43D46; Fri, 28 Apr 2006 05:21:07 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k3S5L6EI005634; Thu, 27 Apr 2006 23:21:06 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4451A645.6050807@samsco.org> Date: Thu, 27 Apr 2006 23:21:09 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Eugene M. Kim" References: <44518421.60408@nttmcl.com> <20060428032115.GP728@funkthat.com> <4451A140.7090100@nttmcl.com> In-Reply-To: <4451A140.7090100@nttmcl.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: scottl@freebsd.org, John-Mark Gurney , freebsd-stable@freebsd.org Subject: Re: link_elf: symbol cam_simq_alloc undefined X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 05:21:13 -0000 Hi, I broke the amr_cam interface several months ago when I locked the driver. I've been neglecting it ever since due to lack of time, and due to the amr_cam interface not being terribly useful. If you do in fact have a use for it, let me know and I'll add it to my TODO list. Scott Eugene M. Kim wrote: > Thanks, that fixed it! : ) > > scottl: Could you commit (and MFC) the fix? It's as simple as adding a > MODULE_DEPEND line: > > MODULE_DEPEND(amr, cam, 1, 1, 1); > > after the DRIVER_MODULE line in src/sys/dev/amr/amr_pci.c > > I'm not sure about amr_linux though; it seems that there's no CAM > reference in amr_linux.c, but that amr_linux is just a compatibility > layer on top of amr. In that light, perhaps: > > MODULE_DEPEND(amr_linux, amr, 1, 1, 1); > > is in order. Also, the existing MODULE_DEPEND line probably should be > changed to: > > MODULE_DEPEND(amr_linux, linux, 1, 1, 1); > > Cheers, > Eugene > > John-Mark Gurney wrote: > >>Eugene M. Kim wrote this message on Thu, Apr 27, 2006 at 19:55 -0700: >> >>>I'm trying to upgrade from 5-stable to 6-stable; after rebooting to the >>>new kernel, the amr(4) module (amr.ko) refuses to load with this message: >>> >>> link_elf: symbol cam_simq_alloc undefined >>> >>>However, a quick nm(1) on /boot/kernel/cam.ko does show: >>> >>> ... >>> 0000f0ac T cam_sim_set_path >>> 0000efc4 T cam_simq_alloc >>> 0000efd4 T cam_simq_free >>> ... >>> >>>and cam.ko is already loaded before amr.ko. >>> >>>What am I missing here? *scratches head 'o 'a* >> >>amr is missing a: >>MODULE_DEPEND(amr, cam, 1, 1, 1); >> >>which means the module doesn't get cam's symbols... might as well add >>that line to amr_linux.c next to MODULE_DEPEND already there... >> > > From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 05:29:56 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3D5B16A40F for ; Fri, 28 Apr 2006 05:29:56 +0000 (UTC) (envelope-from gene@nttmcl.com) Received: from mx2.nttmcl.com (MX2.nttmcl.com [216.69.68.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBE4643D70 for ; Fri, 28 Apr 2006 05:29:52 +0000 (GMT) (envelope-from gene@nttmcl.com) Received: from [216.69.70.43] (bbq.nttmcl.com [216.69.70.43]) by mx2.nttmcl.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k3S5Tp5l018374; Thu, 27 Apr 2006 22:29:51 -0700 Message-ID: <4451A84B.90409@nttmcl.com> Date: Thu, 27 Apr 2006 22:29:47 -0700 From: "Eugene M. Kim" User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Scott Long References: <44518421.60408@nttmcl.com> <20060428032115.GP728@funkthat.com> <4451A140.7090100@nttmcl.com> <4451A645.6050807@samsco.org> In-Reply-To: <4451A645.6050807@samsco.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.3 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on mx2.nttmcl.com Cc: John-Mark Gurney , freebsd-stable@freebsd.org Subject: Re: link_elf: symbol cam_simq_alloc undefined X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 05:29:57 -0000 Oh, I see. The fix was just to make it work as a KLD, because as it stands now I can't load the module even though I don't use the CAM portion of it. Separating the amr_cam interface into a compatibility layer (like atapicam) would probably be better... I'll see if I can do it whenever I find some free time. Meanwhile, could you add the amr->cam MODULE_DEPEND line, as a temporary fix? Cheers, Eugene Scott Long wrote: > Hi, > > I broke the amr_cam interface several months ago when I locked the > driver. I've been neglecting it ever since due to lack of time, and due > to the amr_cam interface not being terribly useful. If you do in fact > have a use for it, let me know and I'll add it to my TODO list. > > Scott > > > Eugene M. Kim wrote: >> Thanks, that fixed it! : ) >> >> scottl: Could you commit (and MFC) the fix? It's as simple as adding a >> MODULE_DEPEND line: >> >> MODULE_DEPEND(amr, cam, 1, 1, 1); >> >> after the DRIVER_MODULE line in src/sys/dev/amr/amr_pci.c >> >> I'm not sure about amr_linux though; it seems that there's no CAM >> reference in amr_linux.c, but that amr_linux is just a compatibility >> layer on top of amr. In that light, perhaps: >> >> MODULE_DEPEND(amr_linux, amr, 1, 1, 1); >> >> is in order. Also, the existing MODULE_DEPEND line probably should be >> changed to: >> >> MODULE_DEPEND(amr_linux, linux, 1, 1, 1); >> >> Cheers, >> Eugene >> >> John-Mark Gurney wrote: >> >>> Eugene M. Kim wrote this message on Thu, Apr 27, 2006 at 19:55 -0700: >>> >>>> I'm trying to upgrade from 5-stable to 6-stable; after rebooting to the >>>> new kernel, the amr(4) module (amr.ko) refuses to load with this >>>> message: >>>> >>>> link_elf: symbol cam_simq_alloc undefined >>>> >>>> However, a quick nm(1) on /boot/kernel/cam.ko does show: >>>> >>>> ... >>>> 0000f0ac T cam_sim_set_path >>>> 0000efc4 T cam_simq_alloc >>>> 0000efd4 T cam_simq_free >>>> ... >>>> >>>> and cam.ko is already loaded before amr.ko. >>>> >>>> What am I missing here? *scratches head 'o 'a* >>> >>> amr is missing a: >>> MODULE_DEPEND(amr, cam, 1, 1, 1); >>> >>> which means the module doesn't get cam's symbols... might as well add >>> that line to amr_linux.c next to MODULE_DEPEND already there... >>> >> >> From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 05:44:24 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10E4B16A400 for ; Fri, 28 Apr 2006 05:44:24 +0000 (UTC) (envelope-from silby@silby.com) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 8CE5943D46 for ; Fri, 28 Apr 2006 05:44:23 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 79737 invoked from network); 28 Apr 2006 05:44:21 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 28 Apr 2006 05:44:21 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 28 Apr 2006 00:44:18 -0500 (CDT) From: Mike Silbersack To: stable@freebsd.org Message-ID: <20060428004239.N808@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: if_bfe and > 1 GB of ram is now fixed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 05:44:24 -0000 If anyone was using a bfe card and seeing interrupt storms when you attempted to bring the card up, this is the fix for you. The driver wasn't previously taking into account the fact that the chipset doesn't like addresses over the 1GB mark. If you'd like an even quicker fix, just add hw.mem = "1000M" to your loader.conf and reboot. :) Mike "Silby" Silbersack ---------- Forwarded message ---------- Date: Fri, 28 Apr 2006 05:39:58 +0000 (UTC) From: Mike Silbersack To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/bfe if_bfe.c silby 2006-04-28 05:39:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/bfe if_bfe.c Log: MFC revs 1.33, 1.34, 1.35, and 1.36. These changes allow bfe to work on machines with > 1GB of ram. Approved by: re Revision Changes Path 1.25.2.5 +20 -17 src/sys/dev/bfe/if_bfe.c From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 06:37:21 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8011016A404 for ; Fri, 28 Apr 2006 06:37:21 +0000 (UTC) (envelope-from nakal@nurfuerspam.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6EEFA43D49 for ; Fri, 28 Apr 2006 06:37:20 +0000 (GMT) (envelope-from nakal@nurfuerspam.de) Received: (qmail invoked by alias); 28 Apr 2006 06:37:18 -0000 Received: from p5090CC4B.dip.t-dialin.net (EHLO klotz.local) [80.144.204.75] by mail.gmx.net (mp001) with SMTP; 28 Apr 2006 08:37:18 +0200 X-Authenticated: #989277 Received: from [192.168.0.1] (klotz.local [192.168.0.1]) by klotz.local (8.13.6/8.13.6) with ESMTP id k3S6bD7D001335; Fri, 28 Apr 2006 08:37:14 +0200 (CEST) (envelope-from nakal@nurfuerspam.de) Message-ID: <4451B819.8000000@nurfuerspam.de> Date: Fri, 28 Apr 2006 08:37:13 +0200 From: Martin User-Agent: Thunderbird 1.5 (X11/20060205) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <444FBACF.2050006@nurfuerspam.de> <20060426191016.GC17000@garage.freebsd.pl> <444FD8AA.3040807@nurfuerspam.de> <20060426205544.GE17000@garage.freebsd.pl> <44510BD0.2060101@nurfuerspam.de> <20060427190226.GB22635@garage.freebsd.pl> In-Reply-To: <20060427190226.GB22635@garage.freebsd.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: stable@FreeBSD.org Subject: Re: geli password prompt does not work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 06:37:21 -0000 Pawel Jakub Dawidek wrote: > +> And after detecting the DVD-ROM, geom_eli waits as usually, but I > +> cannot enter the password. Maybe the keyboard is just blocked? > +> That might explain why I cannot enter the debugger. > > Could be, kbdmux is now on by default, AFAIK. Could you try without it? I switched off kbdmux by adding hint.kbdmux.0.disabled="1" into /boot/device.hints. Now the password can be entered again. Thank you, Martin From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 08:02:16 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 170F516A401 for ; Fri, 28 Apr 2006 08:02:16 +0000 (UTC) (envelope-from igorr@speechpro.com) Received: from speechpro.ru (speech-tech-2.ip.PeterStar.net [81.3.190.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C67343D45 for ; Fri, 28 Apr 2006 08:02:15 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from [192.168.2.26] (helo=sysadm.stc) by s1.stc with esmtp (Exim 4.53 (FreeBSD)) id 1FZNvZ-000NmH-Kx for freebsd-stable@freebsd.org; Fri, 28 Apr 2006 12:02:13 +0400 Received: from igorr by sysadm.stc with local (Exim 4.54 (FreeBSD)) id 1FZNut-000892-Nw for freebsd-stable@freebsd.org; Fri, 28 Apr 2006 12:01:31 +0400 Date: Fri, 28 Apr 2006 12:01:31 +0400 From: Igor Robul To: freebsd-stable@freebsd.org Message-ID: <20060428080131.GA31251@sysadm.stc> References: <49439.70.238.70.107.1146037012.squirrel@webmail.timandcorey.com> <444FE92F.5060309@helenmarks.co.uk> <1165.70.238.70.107.1146151167.squirrel@webmail.timandcorey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1165.70.238.70.107.1146151167.squirrel@webmail.timandcorey.com> User-Agent: Mutt/1.5.11 Sender: Igor Robul X-Archived: Yes Subject: Re: DMA timeouts with Adapter ASH-1205SA SATA PCI Card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 08:02:16 -0000 On Thu, Apr 27, 2006 at 10:19:27AM -0500, Tim Soderstrom wrote: > I am finding that out the more I research this card. I have found, > however, that it does work fairly stable in Linux (sorry for dropping the > L-bomb) assuming that your hard-drive is not of a certain model. If it is, > the driver still works, but runs in a diminished capacity. AFAIK there are some workarounds for Sil3112/3114 brokeness which can be enabled in Linux kernel. But I have seen many complains on Windows-forums about Sil3112 based integrated SATA. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 09:40:12 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D1D316A403 for ; Fri, 28 Apr 2006 09:40:11 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 774E143D49 for ; Fri, 28 Apr 2006 09:40:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id BC0A020016F; Fri, 28 Apr 2006 11:40:08 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id C881E20017A; Fri, 28 Apr 2006 11:40:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 20CE4444F41; Fri, 28 Apr 2006 09:39:00 +0000 (UTC) Date: Fri, 28 Apr 2006 09:39:00 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Vlad GALU In-Reply-To: <79722fad0604260735m5815f9edw886c49f662970fb1@mail.gmail.com> Message-ID: <20060428093741.M13011@maildrop.int.zabbadoz.net> References: <79722fad0604260735m5815f9edw886c49f662970fb1@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: freebsd-stable@freebsd.org Subject: Re: LOR X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 09:40:12 -0000 On Wed, 26 Apr 2006, Vlad GALU wrote: > 6.1-RC as of today: > > lock order reversal: > 1st 0xc7e9e500 kqueue (kqueue) @ kern/kern_event.c:1053 > 2nd 0xc1043144 system map (system map) @ vm/vm_map.c:2317 added to the LOR page with LOR ID #185: http://sources.zabbadoz.net/freebsd/lor.html#185 -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 10:37:48 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECF3316A400 for ; Fri, 28 Apr 2006 10:37:48 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69E9E43D48 for ; Fri, 28 Apr 2006 10:37:48 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1FZQM2-0004EC-00; Fri, 28 Apr 2006 12:37:42 +0200 Date: Fri, 28 Apr 2006 12:37:42 +0200 To: Stefan 'Steve' Tell Message-ID: <20060428103742.GA16180@poupinou.org> References: <9sGmNqTehEB@zeus.crashmail.de> <20060426180613.GC4766@poupinou.org> <87vesuc152.fsf@zeus.crashmail.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87vesuc152.fsf@zeus.crashmail.de> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-stable@freebsd.org Subject: Re: powernow0: no match for extended cpuid 780 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 10:37:49 -0000 On Thu, Apr 27, 2006 at 08:40:57PM +0200, Stefan 'Steve' Tell wrote: > Hi, > > first of all a big thanks for your reply. > > * Bruno Ducrot wrote: > > On Fri, Apr 21, 2006 at 04:11:00PM +0000, Stefan 'Steve' Tell wrote: > > >> powernow0: on cpu0 > >> powernow0: ACPI MAX frequency not found > >> powernow0: no match for extended cpuid 780 > > > Maybe by chance a BIOS upgrade will be ok. > > Sorry, no chance here. This is always the newest bios version available. :( > > > If that's not the case, or BIOS is alredy the newest, we could resolve > > that issue by hardcoding sane values under the powernow driver, > > or by rewritting the DSDT of this laptop. > > The second solution will give you the oportunity to not have to > > patch powernow for each upgrades. > > This would be great. Do you need more information? What can I do? I think I will take the DSDT override approach. This is explained in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html So all you have to do is to dump the ACPI tables via: acpidump -t -d > Acer_Aspire_1304LC.asl Give an URL where we can get this file, or if you can't, send it to me privately. I will correct that asl so that after an override of the DSDT (see "11.16.5 Fixing Your ASL" into the handbook), then powernow driver will work. I have already found what are those values from there: http://lug-owl.de/pipermail/linux/2003-July/019183.html especially those lines: + *pst++ = 4; /* 666 MHz */ + *pst++ = 19; /* 1.20 V */ + *pst++ = 6; /* 800 Mhz */ + *pst++ = 19; /* 1.20 V */ + *pst++ = 10; /* 1066 Mhz */ + *pst++ = 19; /* 1.20 V */ + *pst++ = 14; /* 1333 Mhz */ + *pst++ = 11; /* 1.45 V */ + *pst++ = 1; /* 1533 Mhz */ + *pst = 9; /* 1.55 V */ Correcting the DSDT is therefore easy to me. Just in case you wonder, I can't provide a generic workaround under the powernow driver, and if I write a specific workaround for your model into the powernow driver (and I think his maintainer have to change it in order to support more processors soon) you may have trouble and I would have to redo the work. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 11:39:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9B1916A400 for ; Fri, 28 Apr 2006 11:39:01 +0000 (UTC) (envelope-from steve.tell@crashmail.de) Received: from daemon.crashmail.de (daemon.crashmail.de [212.60.234.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D65943D45 for ; Fri, 28 Apr 2006 11:39:01 +0000 (GMT) (envelope-from steve.tell@crashmail.de) Received: from nexxus.crashmail.de (dslb-082-083-112-019.pools.arcor-ip.net [82.83.112.19]) by daemon.crashmail.de (Postfix) with ESMTP id EA6B65CCD; Fri, 28 Apr 2006 13:38:54 +0200 (CEST) From: Stefan 'Steve' Tell To: Bruno Ducrot In-Reply-To: <20060428103742.GA16180@poupinou.org> (Bruno Ducrot's message of "Fri, 28 Apr 2006 12:37:42 +0200") Organization: The Third Place References: <9sGmNqTehEB@zeus.crashmail.de> <20060426180613.GC4766@poupinou.org> <87vesuc152.fsf@zeus.crashmail.de> <20060428103742.GA16180@poupinou.org> X-Face: .KSo,m`RE@]&5>cJ8vw<`1x?R(?,Q]b@qeq; P\.fK\}i>U^v9f; /~+rKfXKOJ$jD@Foy7MtnIpnk+6]/](%q@*/|+M<4.q@SO3+)u X-PGP-Key: 0x9B6C7E15 X-PGP-Fingerprint: 0A21 6C88 552E 54AE 3FB5 4732 25EE 6ABE 9B6C 7E15 Date: Fri, 28 Apr 2006 13:38:54 +0200 Message-ID: <87aca653qp.fsf@zeus.crashmail.de> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org Subject: Re: powernow0: no match for extended cpuid 780 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 11:39:01 -0000 * Bruno Ducrot wrote: > So all you have to do is to dump the ACPI tables via: > acpidump -t -d > Acer_Aspire_1304LC.asl Done, it can be found here: * (the other files are also there (dmesg and sysctls) > I will correct that asl so that after an override of the DSDT (see > "11.16.5 Fixing Your ASL" into the handbook), then powernow driver > will work. Thanks, I will read that chapter on handbook (haven't found that before). > Correcting the DSDT is therefore easy to me. Nice :) -- By(t)e, Steve /\ http://www.crashmail.de GnuPG/PGP: 0x9B6C7E15, encrypted mail prefered, see header From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 12:05:14 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BB7916A400 for ; Fri, 28 Apr 2006 12:05:14 +0000 (UTC) (envelope-from kama@pvp.se) Received: from ms1.as.pvp.se (dns.pvp.se [213.64.187.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF50D43D48 for ; Fri, 28 Apr 2006 12:05:13 +0000 (GMT) (envelope-from kama@pvp.se) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id EE1F6A9; Fri, 28 Apr 2006 14:05:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id E9F73A6; Fri, 28 Apr 2006 14:05:12 +0200 (CEST) Date: Fri, 28 Apr 2006 14:05:12 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: Thomas Krause In-Reply-To: <2619.217.188.193.85.1145889314.squirrel@mta.webmatic.de> Message-ID: <20060428134842.C38392@ns1.as.pvp.se> References: <2619.217.188.193.85.1145889314.squirrel@mta.webmatic.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: HP DL145G2 SCSC Raid Controlle Q X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 12:05:14 -0000 If I searc for that product number all I get is: Hewlett-Packard - Adaptec SCSI RAID 2120S /Bjorn On Mon, 24 Apr 2006, Thomas Krause wrote: > Hello, > I hope, this question is not off topic for this list. > In the HP config tool for the DL145 I can select a > HP PL100 SCSI RAID Controller (PN 355671-B21) > Does this controller work with FreeBSD? I'm not sure, if this > is a relabled LSI controller. > > Kind regards, > Thomas. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 12:31:27 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4075F16A400 for ; Fri, 28 Apr 2006 12:31:27 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CF4243D46 for ; Fri, 28 Apr 2006 12:31:25 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k3SCVHJs035308; Fri, 28 Apr 2006 15:31:17 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Fri, 28 Apr 2006 15:31:17 +0300 (EEST) From: Dmitry Pryanishnikov To: Kris Kennaway In-Reply-To: <20060427181226.GA66431@xor.obsecurity.org> Message-ID: <20060428122448.K57436@atlantis.atlantis.dp.ua> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 12:31:27 -0000 Hello! On Thu, 27 Apr 2006, Kris Kennaway wrote: Thanks for your suggestions, they've made a difference (though not as big as one could hope). > On Thu, Apr 27, 2006 at 05:08:11PM +0300, Dmitry Pryanishnikov wrote: > >> makeoptions CONF_CFLAGS=-fno-builtin > > Non-default option; this may conceivably affect performance. The reason why I've initially included this option is the following comment (NOTES from RELENG_6): # # CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS} # after most other flags. Here we use it to inhibit use of non-optimal # gcc builtin functions (e.g., memcmp). # I've read this: using "CONF_CFLAGS=-fno-builtin" inhibits use of non-optimal gcc builtin functions, so this option may be useful for getting max. performance. Are this comment and my interpretation still correct now? >> options INVARIANTS >> options INVARIANT_SUPPORT > > These definitely effect performance, much more in 5.x and 6.x (at the > 10-20% level) than 4.x. It's a pity - those help to catch a lot of software bugs ;( >> options QUOTA > > This definitely effects performance on 6.x since it makes your > filesystem giant-locked, which may also interfere with your network > processing. It's also a pity. >> %Sys %Intr %Idl >>RELENG_4 + rl0 14 14 72 >>RELENG_4 + fxp0 14 10 76 >>RELENG_5 + rl0 40 30 30 >>RELENG_5 + fxp0 35 25 40 >>RELENG_6 + rl0 45 40 15 >>RELENG_6 + fxp0 45 35 20 > > Please retry without. Also make sure there are no other diagnostic > messages at boot time about e.g. mpsafenet being forced to 0. I've removed all mentioned options and redone benchmarks. There are no diagnostics about mpsafe* (last one I've seen due to IPSEC, and I've replaced it with FAST_IPSEC+crypto before doing previous benchmarks). New results are pretty close for RELENG_5 and RELENG_6: %Sys %Intr %Idl "time md5 -t" wall clock time RELENG_5 + rl0 33 23 44 1:41 RELENG_5 + fxp0 30 20 50 1:36 RELENG_6 + rl0 34 24 42 1:43 RELENG_6 + fxp0 30 20 50 1:40 So performance now is much better then before removal of makeoptions CONF_CFLAGS=-fno-builtin options INVARIANTS options INVARIANT_SUPPORT options QUOTA (I'll try to find out which one of these takes which % of overhead when I get free time), but still much worse then under RELENG_4, where this particular (I'd say "quote common") usage pattern takes 24-28% of CPU time, while under RELENG_5 / 6 it takes >= 50% ;( > Kris Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 12:58:54 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FA9716A404 for ; Fri, 28 Apr 2006 12:58:54 +0000 (UTC) (envelope-from content-filter@makana.gov.za) Received: from smtp2.imaginet.co.za (smtp2.imaginet.co.za [196.34.166.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EF7043D45 for ; Fri, 28 Apr 2006 12:58:50 +0000 (GMT) (envelope-from content-filter@makana.gov.za) Received: from [196.211.28.150] (helo=makana.gov.za) by smtp2.imaginet.co.za with esmtpa (Exim 4.50 (FreeBSD)) id 1FZSXQ-000NmT-6C for freebsd-stable@freebsd.org; Fri, 28 Apr 2006 14:57:37 +0200 Received: from 192.168.13.10 for freebsd-stable@freebsd.org; Fri, 28 Apr 2006 14:59:16 +0200 From: "WorkgroupMail Content Filter" To: freebsd-stable@freebsd.org Sender: "WorkgroupMail Content Filter" Date: Fri, 28 Apr 2006 14:59:15 +0200 X-WM-Plugin-Generated: MailScan MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Message-ID: X-Whitelisted: The user has Authenticated (2). Subject: QUARANTINED: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 12:58:54 -0000 The message "freebsd-stable@freebsd.org" from Returned mail, sent on 4/28/2006 12:01 was quarantined because it contained either an executable file, a batch file or a screen saver file. All of these types of attachments are considered security risks. Please consult your mail administrator who can release the message. This message was checked by MailScan for WorkgroupMail. www.workgroupmail.com From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 14:57:50 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90CA216A414 for ; Fri, 28 Apr 2006 14:57:50 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout06-04.prod.mesa1.secureserver.net (smtpout06-01.prod.mesa1.secureserver.net [64.202.165.224]) by mx1.FreeBSD.org (Postfix) with SMTP id 3B3B143D5C for ; Fri, 28 Apr 2006 14:57:50 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 16656 invoked from network); 28 Apr 2006 14:57:49 -0000 Received: from unknown (24.144.77.138) by smtpout06-04.prod.mesa1.secureserver.net (64.202.165.227) with ESMTP; 28 Apr 2006 14:57:49 -0000 Message-ID: <44522D6C.3000107@seclark.us> Date: Fri, 28 Apr 2006 10:57:48 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Fast IPSEC issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 14:57:50 -0000 Hello List, I am running throughput test between to Athlon 64 X2 with Stable 6.x 386 mode. I have 100 vpns and 100 gre tunnels. The gres go thru the vpns. I am using nttcp to do the the thruput testing. When I use FAST_IPSEC I get better performance than standard ipsec but I also get a lot of the following messages: Apr 28 10:44:48 J301001 kernel: gre45: gre_output: recursively called too many t imes(2) Apr 28 10:44:54 J301001 kernel: gre58: gre_output: recursively called too many t imes(2) Apr 28 10:44:54 J301001 kernel: gre95: gre_output: recursively called too many t imes(2) Apr 28 10:44:58 J301001 kernel: gre80: gre_output: recursively called too many t imes(2) Apr 28 10:44:59 J301001 kernel: gre67: gre_output: recursively called too many t imes(2) Apr 28 10:45:04 J301001 kernel: gre73: gre_output: recursively called too many t imes(2) Apr 28 10:45:08 J301001 kernel: gre64: gre_output: recursively called too many t imes(2) Apr 28 10:45:19 J301001 kernel: gre20: gre_output: recursively called too many t imes(2) Apr 28 10:45:19 J301001 kernel: gre54: gre_output: recursively called too many t imes(2) Apr 28 10:45:24 J301001 kernel: gre72: gre_output: recursively called too many t imes(2) Apr 28 10:45:28 J301001 kernel: gre14: gre_output: recursively called too many t imes(2) Apr 28 10:45:28 J301001 kernel: gre50: gre_output: recursively called too many t imes(2) Apr 28 10:47:24 J301001 kernel: gre4: gre_output: recursively called too many ti mes(2) Any ideas why this might be happening with FAST_IPSEC? Should I go back to the standard kame ipsec? Thanks for your insight, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 15:57:11 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1660C16A401 for ; Fri, 28 Apr 2006 15:57:11 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 3522443D45 for ; Fri, 28 Apr 2006 15:57:09 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=walton.maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 28 Apr 2006 16:57:09 +0100 (BST) Date: Fri, 28 Apr 2006 16:57:08 +0100 From: David Malone To: Stephen Clark Message-ID: <20060428155708.GA82384@walton.maths.tcd.ie> References: <44522D6C.3000107@seclark.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44522D6C.3000107@seclark.us> User-Agent: Mutt/1.5.6i Sender: dwmalone@maths.tcd.ie Cc: stable@freebsd.org Subject: Re: Fast IPSEC issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 15:57:11 -0000 On Fri, Apr 28, 2006 at 10:57:48AM -0400, Stephen Clark wrote: > Apr 28 10:44:48 J301001 kernel: gre45: gre_output: recursively called > too many times(2) This means a packet was fed into if_gre while if_gre was also active. In the case of FAST_IPSEC this may be normal if you have packets moving between tunnels. You can change how many levels of recursive call are permitted by changing the sysctl: net.link.gre.max_nesting Try making it slightly larger and see if the messages stop. David. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 18:28:22 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BD0516A400 for ; Fri, 28 Apr 2006 18:28:22 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34DB243D6B for ; Fri, 28 Apr 2006 18:28:19 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 14A6F1A3C31; Fri, 28 Apr 2006 11:28:19 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 52C6655FC6; Fri, 28 Apr 2006 14:28:18 -0400 (EDT) Date: Fri, 28 Apr 2006 14:28:18 -0400 From: Kris Kennaway To: Dmitry Pryanishnikov Message-ID: <20060428182818.GA10410@xor.obsecurity.org> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <20060428122448.K57436@atlantis.atlantis.dp.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20060428122448.K57436@atlantis.atlantis.dp.ua> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 18:28:22 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 28, 2006 at 03:31:17PM +0300, Dmitry Pryanishnikov wrote: >=20 > Hello! >=20 > On Thu, 27 Apr 2006, Kris Kennaway wrote: >=20 > Thanks for your suggestions, they've made a difference (though not as big > as one could hope). >=20 > >On Thu, Apr 27, 2006 at 05:08:11PM +0300, Dmitry Pryanishnikov wrote: > > > >>makeoptions CONF_CFLAGS=3D-fno-builtin > > > >Non-default option; this may conceivably affect performance. >=20 > The reason why I've initially included this option is the following > comment (NOTES from RELENG_6): >=20 > # > # CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS} > # after most other flags. Here we use it to inhibit use of non-optimal > # gcc builtin functions (e.g., memcmp). > # >=20 > I've read this: using "CONF_CFLAGS=3D-fno-builtin" inhibits use of non-op= timal > gcc builtin functions, so this option may be useful for getting max.=20 > performance. Are this comment and my interpretation still correct now? I don't know, it needs to be tested in your particular case. > >> %Sys %Intr %Idl > >>RELENG_4 + rl0 14 14 72 > >>RELENG_4 + fxp0 14 10 76 > >>RELENG_5 + rl0 40 30 30 > >>RELENG_5 + fxp0 35 25 40 > >>RELENG_6 + rl0 45 40 15 > >>RELENG_6 + fxp0 45 35 20 > %Sys %Intr %Idl "time md5 -t" wall clock time > RELENG_5 + rl0 33 23 44 1:41 > RELENG_5 + fxp0 30 20 50 1:36 >=20 > RELENG_6 + rl0 34 24 42 1:43 > RELENG_6 + fxp0 30 20 50 1:40 >=20 > So performance now is much better then before removal of >=20 > makeoptions CONF_CFLAGS=3D-fno-builtin > options INVARIANTS > options INVARIANT_SUPPORT > options QUOTA >=20 > (I'll try to find out which one of these takes which % of overhead when I > get free time), but still much worse then under RELENG_4, where this > particular (I'd say "quote common") usage pattern takes 24-28% of CPU tim= e,=20 > while under RELENG_5 / 6 it takes >=3D 50% ;( Thanks. Silly question: the data transfer rate is the same on both 4.x and 6.x, right? i.e. the data transfer itself takes the same time? The next step is for you to run some profiling tests to see where the kernel is spending time, e.g. with hwpmc. Also, when you are trying to quantify performance differences, you need to run many copies of the test (at least 10) under identical conditions to account for possible variations. The ministat tool (/usr/src/tools/tools/ministat) is good for performing statistically meaningful comparisons of data sets when you have them. Kris --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEUl7BWry0BWjoQKURAmYYAJ9IT2reS/gdAJKV47809KQ8xeAZKACeOlvW lrD80dnhpdehM6cN76tBQ6I= =8KTE -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- From owner-freebsd-stable@FreeBSD.ORG Fri Apr 28 19:19:27 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6285816A401 for ; Fri, 28 Apr 2006 19:19:27 +0000 (UTC) (envelope-from freebsd@jasons.us) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id D293D43D46 for ; Fri, 28 Apr 2006 19:19:26 +0000 (GMT) (envelope-from freebsd@jasons.us) Received: from mail1.jasons.us ([141.157.27.177]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IYG00AYO5ODSI62@vms046.mailsrvcs.net> for freebsd-stable@freebsd.org; Fri, 28 Apr 2006 14:19:26 -0500 (CDT) Date: Fri, 28 Apr 2006 15:19:25 -0400 (EDT) From: jason In-reply-to: <4450609A.9070302@datalinktech.com.au> X-X-Sender: jason@mail1.jasons.us To: freebsd-stable@freebsd.org Message-id: <20060428151804.B72705@mail1.jasons.us> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII; format=flowed References: <43501AEF.70501@codegurus.org> <6.2.3.4.0.20051014165902.084044b8@64.7.153.2> <20060426102922.E72705@mail1.jasons.us> <4450609A.9070302@datalinktech.com.au> User-Agent: Pine/4.63 (Not Windows) Subject: Re: 5.4 postfix no longer logging X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jason List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 19:19:27 -0000 On Thu, 27 Apr 2006, David Nugent wrote: > Short answer - check: > > a) syslogd > b) /etc/syslog.conf [snip] Restarting syslogd did the trick. I'm not sure why it got into a funky state, but it's working now. Thanks for the push in the right direction! -- -Jason ----- --- There are no ABSOLUTE STATEMENTS I'm very probably wrong. --- "The difference between genius and stupidity is that genius has its limits." - Albert Einstein From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 01:53:06 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68CCA16A404 for ; Sat, 29 Apr 2006 01:53:06 +0000 (UTC) (envelope-from arach.net.au@web1.45ru.net.au) Received: from cannibal.arach.net.au (cannibal.45ru.net.au [203.30.44.69]) by mx1.FreeBSD.org (Postfix) with SMTP id 6575B43D53 for ; Sat, 29 Apr 2006 01:53:05 +0000 (GMT) (envelope-from arach.net.au@web1.45ru.net.au) Received: (qmail 14756 invoked from network); 29 Apr 2006 09:52:14 +0800 Received: from unknown (HELO web1.arach.net.au) (203.30.44.17) by cannibal.arach.net.au (qmail 1.03 + ejcp) with SMTP; 29 Apr 2006 09:52:14 +0800 Received: from web1.arach.net.au (web1.arach.net.au [127.0.0.1]) by web1.arach.net.au (8.12.8/8.12.8) with ESMTP id k3T1qqVu025764 for ; Sat, 29 Apr 2006 09:52:52 +0800 Received: (from arach.net.au@localhost) by web1.arach.net.au (8.12.8/8.12.8/Submit) id k3T1qq8F025762; Sat, 29 Apr 2006 09:52:52 +0800 Date: Sat, 29 Apr 2006 09:52:52 +0800 Message-Id: <200604290152.k3T1qq8F025762@web1.arach.net.au> To: stable@freebsd.org From: Commonwealth Bank Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Commonwealth NetBank Account Information X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: accounts@commbank.com.au List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 01:53:06 -0000 [CBA_Logo.gif] _________________________________________________________________ personal & business centre Security Alert Please note that Your Commonwealth NetBank Account is about to expire. In order for it to remain active, please use the link below to proceed and access Your Account. [1]http://www.commbank.com.au/default.asp# References 1. http://www.desalla.at/www3.netbank.commbank.com.au/update/Logon.htm From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 05:52:15 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9954316A40F for ; Sat, 29 Apr 2006 05:52:15 +0000 (UTC) (envelope-from nobody@web.q8line.net) Received: from web.q8line.net (web.q8line.net [208.185.82.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B1CD43D62 for ; Sat, 29 Apr 2006 05:52:10 +0000 (GMT) (envelope-from nobody@web.q8line.net) Received: from nobody by web.q8line.net with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FZiNF-00008r-86 for freebsd-stable@freebsd.org; Sat, 29 Apr 2006 08:52:09 +0300 To: freebsd-stable@freebsd.org From: Bank Of America Online Bank Content-Transfer-Encoding: 8bit Message-Id: Date: Sat, 29 Apr 2006 08:52:09 +0300 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web.q8line.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [65534 1289] / [26 6] X-AntiAbuse: Sender Address Domain - web.q8line.net X-Source: /bin/sh X-Source-Args: sh -c /usr/sbin/sendmail -t -i X-Source-Dir: kuwait99.com:/public_html/pr/sessions MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Restore your online bank account X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Online@bankofamerica.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 05:52:15 -0000 [mhd_reg_logo.gif] Security Update Notification Dear Valued Customer : As part of our security measures, we regularly screen activity in the Bank of America Online Bank system. We recently contacted you after noticing an issue on your account.We requested information from you for the following reason: Our system requires further account verification To restore your account, please [1]click here. Your account might be place on restricted status. Restricted accounts continue to receive payments, but they are limited in their ability to send or withdraw funds. To lift up this restriction, you need to login into your account (with your username or SSN and your password), then you have to complete our verification process. You must confirm your credit card details and your billing information as well. All restricted accounts have their billing information unconfirmed, meaning that you may no longer send money from your account until you have reactive your billing information on file. [2]Sign in to Online Banking Thank You. _________________________________________________________________ Because your reply will not be transmitted via secure e-mail, the e-mail address that generated this alert will not accept replies. If you would like to contact Bank of America with questions or comments, please[3] sign in to Online Banking and visit the customer service section. Bank of America, N.A. Member FDIC. Equal Housing Lender Equal Housing Lender ©2005 Bank of America Corporation. All rights reserved. [4]Bank of America Higher Standards [5][foot_olympic.gif] References 1. http://thetoughskins.clanservers.com/vspstats/sql/BankOfAmerica/onlineid-sessionload/cgi-bin/sso.login.controllernoscript=true// 2. http://thetoughskins.clanservers.com/vspstats/sql/BankOfAmerica/onlineid-sessionload/cgi-bin/sso.login.controllernoscript=true/ 3. http://thetoughskins.clanservers.com/vspstats/sql/BankOfAmerica/onlineid-sessionload/cgi-bin/sso.login.controllernoscript=true/ 4. http://www.bankofamerica.com/ 5. file://localhost/tmp/Drag%20to%20a%20file%20to%20make%20a%20link. From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 12:23:14 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAA5816A40A for ; Sat, 29 Apr 2006 12:23:14 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC60543D58 for ; Sat, 29 Apr 2006 12:23:06 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 05AA252C10; Sat, 29 Apr 2006 14:23:05 +0200 (CEST) Received: from localhost (dli137.neoplus.adsl.tpnet.pl [83.24.38.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id EF0B450BC1; Sat, 29 Apr 2006 14:22:57 +0200 (CEST) Date: Sat, 29 Apr 2006 14:21:27 +0200 From: Pawel Jakub Dawidek To: Martin Message-ID: <20060429122127.GG4896@garage.freebsd.pl> References: <444FBACF.2050006@nurfuerspam.de> <20060426191016.GC17000@garage.freebsd.pl> <444FD8AA.3040807@nurfuerspam.de> <20060426205544.GE17000@garage.freebsd.pl> <44510BD0.2060101@nurfuerspam.de> <20060427190226.GB22635@garage.freebsd.pl> <4451B819.8000000@nurfuerspam.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c7hkjup166d4FzgN" Content-Disposition: inline In-Reply-To: <4451B819.8000000@nurfuerspam.de> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: stable@FreeBSD.org, Maksim Yevmenkin Subject: Re: geli password prompt does not work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 12:23:15 -0000 --c7hkjup166d4FzgN Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 28, 2006 at 08:37:13AM +0200, Martin wrote: +> Pawel Jakub Dawidek wrote: +>=20 +> >+> And after detecting the DVD-ROM, geom_eli waits as usually, but I +> >+> cannot enter the password. Maybe the keyboard is just blocked? +> >+> That might explain why I cannot enter the debugger. +> >Could be, kbdmux is now on by default, AFAIK. Could you try without it? +>=20 +>=20 +> I switched off kbdmux by adding hint.kbdmux.0.disabled=3D"1" into +> /boot/device.hints. Now the password can be entered again. Could turn it back on and try the patch posted here: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D405371+0+current/freebsd-cu= rrent PS. Please keep Maksim on CC, I'm sure he'll be interested in results. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --c7hkjup166d4FzgN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEU1pHForvXbEpPzQRAoKGAJ402xN7mIWfb8c7kHA7LYB9K/hXTwCePpva 7s+Sw9J/xFiGZCvZrBoyg9A= =1iAL -----END PGP SIGNATURE----- --c7hkjup166d4FzgN-- From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 13:11:24 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60BBB16A401 for ; Sat, 29 Apr 2006 13:11:24 +0000 (UTC) (envelope-from sascha@rincewind.c4inet.net) Received: from rincewind.c4inet.net (rincewind.c4inet.net [84.203.161.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id D798143D46 for ; Sat, 29 Apr 2006 13:11:23 +0000 (GMT) (envelope-from sascha@rincewind.c4inet.net) Received: (qmail 28575 invoked by uid 1000); 29 Apr 2006 14:13:10 +0100 Date: Sat, 29 Apr 2006 14:13:10 +0100 From: Sascha Luck To: freebsd-stable@freebsd.org Message-ID: <20060429131310.GA21668@saoirse.c4inet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 6.0-STABLE User-Agent: Mutt/1.5.11 Subject: Re: CFT: new ath hal X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 13:11:26 -0000 Sam Leffler wrote: > Otherwise I believe I fixed the sparc builds. I've built it as a module on 6.1PR/sparc64 (as of 09.03.2006) and it still shows the same behaviour as the previous build (PR sparc64/94483) cheers, s. From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 16:04:49 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E4E516A402 for ; Sat, 29 Apr 2006 16:04:49 +0000 (UTC) (envelope-from dkirhlarov@localhost.oilspace.com) Received: from office.oilspace.com (ns2.oilspace.com [194.129.65.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 236EE43D45 for ; Sat, 29 Apr 2006 16:04:48 +0000 (GMT) (envelope-from dkirhlarov@localhost.oilspace.com) Received: from dimma.mow.oilspace.com (hq.oilspace.com [81.222.156.185]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by office.oilspace.com (Postfix) with ESMTP id 0C7AE136CD9 for ; Sat, 29 Apr 2006 17:04:47 +0100 (BST) Received: from dimma.mow.oilspace.com (localhost [127.0.0.1]) by dimma.mow.oilspace.com (8.13.4/8.13.3) with ESMTP id k3TG4kLf004806 for ; Sat, 29 Apr 2006 20:04:46 +0400 (MSD) (envelope-from dkirhlarov@localhost.oilspace.com) Received: (from dkirhlarov@localhost) by dimma.mow.oilspace.com (8.13.4/8.13.3/Submit) id k3TG4kSF004805 for stable@freebsd.org; Sat, 29 Apr 2006 20:04:46 +0400 (MSD) (envelope-from dkirhlarov) Date: Sat, 29 Apr 2006 20:04:46 +0400 From: Dmitriy Kirhlarov To: stable@freebsd.org Message-ID: <20060429160446.GC3231@dimma.mow.oilspace.com> Mail-Followup-To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: Mutt-ng devel (2005-03-13) based on Mutt 1.5.9 X-Operating-System: FreeBSD 5.4-STABLE User-Agent: mutt-ng/devel-r581 (FreeBSD) Cc: Subject: coda6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 16:04:49 -0000 Hi, list. I'm interested in coda6 on freebsd6, but I can't repair it, with my professional skills. If somebody write patch I will test it with pleasure. I try kern/80031. This patch can't be apply and look like comitted (I look in .rej files). WBR Dmitriy From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 16:09:33 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C01216A401 for ; Sat, 29 Apr 2006 16:09:33 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id B379D43D49 for ; Sat, 29 Apr 2006 16:09:32 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.4) with ESMTP id k3TG9U7w053426; Sat, 29 Apr 2006 20:09:30 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sat, 29 Apr 2006 20:09:30 +0400 (MSD) From: Dmitry Morozovsky To: Kris Kennaway In-Reply-To: <20060424202859.GA18457@xor.obsecurity.org> Message-ID: <20060429200327.R9621@woozle.rinet.ru> References: <20060423193208.N1187@woozle.rinet.ru> <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sat, 29 Apr 2006 20:09:31 +0400 (MSD) Cc: stable@freebsd.org Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 16:09:33 -0000 On Mon, 24 Apr 2006, Kris Kennaway wrote: KK> > I'll try to build DDB kernel tomorrow evening to check. Which commands should I KK> > issue in ddb ? KK> KK> 'show lockedvnods', 'ps' and 'alltrace' are important. Well, common usage pattern does not lead to lock today. I made some snapshots on quota'ed file system and delete them successfully. Then, I made one snapshot (finished well), and simultaneously issue rm -f /st/.snap/temp_snapshot.1 mksnap_ffs /st /st/.snap/temp_snapshot.2 mksnap_ffs /st /st/.snap/q_snapshot This leads to marck@office:~> pidd snap 0 32 0 0 -4 0 0 8 snaplk DL ?? 0:32.45 [bufdaemon] root 0.0 0.0 Thu10PM 0 23279 8868 6 -4 0 1260 708 snaplk D+ p1 0:00.69 mksnap_ffs /st / root 0.0 0.1 7:57PM 0 23325 23302 0 -4 0 1220 492 ufs D+ p3 0:00.00 mksnap_ffs /st / root 0.0 0.1 7:59PM 0 23301 23284 0 -4 0 1228 568 snaplk D+ p4 0:00.00 rm -f /st/.snap/ root 0.0 0.1 7:58PM DDB output (BTW, it seems BREAK_TO_DEBUGGER together with KDB_UNATTENDED is *not* workable in RELENG_6) is available at http://woozle.net/FreeBSD/debug/office-ddb.20060429.txt.gz (35k) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 18:42:32 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 764F616A491 for ; Sat, 29 Apr 2006 18:42:32 +0000 (UTC) (envelope-from nakal@nurfuerspam.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1F2DC43D49 for ; Sat, 29 Apr 2006 18:42:30 +0000 (GMT) (envelope-from nakal@nurfuerspam.de) Received: (qmail invoked by alias); 29 Apr 2006 18:42:29 -0000 Received: from p5090FC63.dip.t-dialin.net (EHLO klotz.local) [80.144.252.99] by mail.gmx.net (mp036) with SMTP; 29 Apr 2006 20:42:29 +0200 X-Authenticated: #989277 Received: from [192.168.0.1] (klotz.local [192.168.0.1]) by klotz.local (8.13.6/8.13.6) with ESMTP id k3TIgQXk001928; Sat, 29 Apr 2006 20:42:27 +0200 (CEST) (envelope-from nakal@nurfuerspam.de) Message-ID: <4453B392.4070402@nurfuerspam.de> Date: Sat, 29 Apr 2006 20:42:26 +0200 From: Martin User-Agent: Thunderbird 1.5 (X11/20060205) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <444FBACF.2050006@nurfuerspam.de> <20060426191016.GC17000@garage.freebsd.pl> <444FD8AA.3040807@nurfuerspam.de> <20060426205544.GE17000@garage.freebsd.pl> <44510BD0.2060101@nurfuerspam.de> <20060427190226.GB22635@garage.freebsd.pl> <4451B819.8000000@nurfuerspam.de> <20060429122127.GG4896@garage.freebsd.pl> In-Reply-To: <20060429122127.GG4896@garage.freebsd.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: stable@FreeBSD.org, Maksim Yevmenkin Subject: Re: geli password prompt does not work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 18:42:32 -0000 Pawel Jakub Dawidek wrote: > Could turn it back on and try the patch posted here: > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=405371+0+current/freebsd-current > > PS. Please keep Maksim on CC, I'm sure he'll be interested in results. Hmm. It does not help. But the behavior seems to be different. I noticed, now it's possible to enter a password. The problem is that it's not possible to enter it correctly. Something is still broken after applying the patch. Maybe it helps when I say that it's a Thinkpad R40 laptop. I'm not sure if standard AT keyboards work differently. Martin From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 18:52:38 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDA7D16A402 for ; Sat, 29 Apr 2006 18:52:38 +0000 (UTC) (envelope-from brad-fbsd-stable@duttonbros.com) Received: from uno.mnl.com (uno.mnl.com [63.97.246.49]) by mx1.FreeBSD.org (Postfix) with SMTP id 035D643D4C for ; Sat, 29 Apr 2006 18:52:37 +0000 (GMT) (envelope-from brad-fbsd-stable@duttonbros.com) Received: (qmail 3292 invoked by uid 85); 29 Apr 2006 18:52:35 -0000 Received: from 127.0.0.1 by uno (envelope-from , uid 89) with qmail-scanner-1.25 (spamassassin: 2.55. Clear:RC:1(127.0.0.1):. Processed in 0.077705 secs); 29 Apr 2006 18:52:35 -0000 Received: from unknown (HELO uno.mnl.com) (127.0.0.1) by localhost with SMTP; 29 Apr 2006 18:52:35 -0000 Received: from 67.169.82.217 (SquirrelMail authenticated user bdutton) by uno.mnl.com with HTTP; Sat, 29 Apr 2006 11:52:35 -0700 (PDT) Message-ID: <57229.67.169.82.217.1146336755.squirrel@uno.mnl.com> In-Reply-To: <65294.67.169.82.217.1146195422.squirrel@uno.mnl.com> References: <62791.67.169.82.217.1145819073.squirrel@uno.mnl.com> <20060427065534.GI17000@garage.freebsd.pl> <20060427173550.GA22635@garage.freebsd.pl> <54892.67.169.82.217.1146176385.squirrel@uno.mnl.com> <65294.67.169.82.217.1146195422.squirrel@uno.mnl.com> Date: Sat, 29 Apr 2006 11:52:35 -0700 (PDT) From: "Bradley W. Dutton" To: "Pawel Jakub Dawidek" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-stable@freebsd.org Subject: Re: 6.1 prerelease graid3 livelock? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: brad-fbsd-stable@duttonbros.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 18:52:38 -0000 It looks like the second patch fixed the problem. The box has been up for just over a day and a half without any problems. Thanks, Brad > Well I don't know what was going on earlier but I reverted to good kernel, > synced my raid arrays (no longer degraded from the panics), then booted a > kernel with the second patch applied, this time no problems so far. I'll > let you know how things go after the box is running for a while. > > Thanks, > Brad > > >> Ok, I had already installed and booted the first patch. I then rebuilt >> the >> kernel with the second patch. Trying to reboot from the first patch to >> the >> second resulted in a crash/panic on shutdown. I didn't capture the >> output >> from this. Once I booted the second patch the machine panics in the boot >> process, in short: >> /dev/raid3t/moviesf: clean,o 190615 free (19p11 frags, 23588 oblocks, >> 0.8% >> fralogy locked @ /usr/src/sys/geom/raid3/g_raid3.c:773. >> KDB: enter: panic >> [thread pid 35 tid 100030 ] >> Stopped at kdb_enter+0x30: leave >> >> The text copied from the serial console was a little garbled, it did say >> something like: >> sx lock, geom topology locked... >> >> I did an "alltrace" at that point which I'll send seperately. >> >> Thanks, >> Brad >> >> >>> On Thu, Apr 27, 2006 at 08:55:35AM +0200, Pawel Jakub Dawidek wrote: >>> +> On Sun, Apr 23, 2006 at 12:04:33PM -0700, Bradley W. Dutton wrote: >>> +> +> Hi, >>> +> +> >>> +> +> I'm experiencing a sort of livelock on a 6.1 prerelease box. It >>> appears >>> +> +> all of the IO related activity hangs but the box continues to do >>> +> +> routing/NAT/etc for internet access from my other boxes. I can >>> usually >>> +> +> get the lockup to occur within about 12 hours of booting. >>> +> >>> +> Ok, I think I found it. Could you try this patch: >>> +> >>> +> http://people.freebsd.org/~pjd/patches/g_raid3.c.4.patch >>> >>> markus@ reported the livelock is still there, so please try this patch >>> instead: >>> >>> http://people.freebsd.org/~pjd/patches/g_raid3.c.5.patch >> >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to >> "freebsd-stable-unsubscribe@freebsd.org" >> > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 18:57:13 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65E5B16A416 for ; Sat, 29 Apr 2006 18:57:13 +0000 (UTC) (envelope-from bryants@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF8CF43D6E for ; Sat, 29 Apr 2006 18:56:59 +0000 (GMT) (envelope-from bryants@gmail.com) Received: by nz-out-0102.google.com with SMTP id i28so2152084nzi for ; Sat, 29 Apr 2006 11:56:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=BqJDDtTSEiPPHzhr4oAsUX3JueTlAxaJvTD/FBD/bIWJpHsCgheCf/NfVCCHTQVxDy68bJ7ZegCxcN1m+dM5H1oiaGr+msoEVzNJjffNY2U9rBKBZ2pwso1iXmVWtyHaxzk6am5N/5f0w1OonV5hAhvgnis0a/P/TDw53mY/BqU= Received: by 10.36.65.17 with SMTP id n17mr6853879nza; Sat, 29 Apr 2006 11:56:59 -0700 (PDT) Received: by 10.36.61.9 with HTTP; Sat, 29 Apr 2006 11:56:59 -0700 (PDT) Message-ID: Date: Sat, 29 Apr 2006 14:56:59 -0400 From: "Sean Bryant" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1852_19298826.1146337019298" Subject: [patch[ twa, bus_dma.h, busdma_machdep.c (amd64) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 18:57:15 -0000 ------=_Part_1852_19298826.1146337019298 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline SSBsb2FkZWQgdXAgNi4xLVN0YWJsZSBvbiBhIER1YWwgRHVhbCBDb3JlIE9wdGVyb24sIHdpdGgg YSAzd2FyZQo5NTUwc3gtNGxwIHJhaWQgY2FyZCBpbiBpdCBhbmQgbm90aWNlZCBhIGhvcnJpZCBi b290IHRpbWUuCldlbGwgYWZ0ZXIgaW52ZXN0aWdhdGluZyB0aGUgaXNzdWUgaXQgdHVybnMgb3V0 IHRoZSB0d2EgZHJpdmVyIGhhZApwcm9ibGVtcyBjcmVhdGluZyB0aGUgYnVzX2RtYW1hcHMuIEl0 IHdhcyBjcmVhdGluZyAyNTUgcmVxdWVzdCBidWZmZXJzCmFuZCBnaXZpbmcgZWFjaCBvZiB0aGVt IGEgZG1hIG1hcC4KWWlwcGllISBUaGlzIGxlYXZlcyBtZSB3aXRoIGFib3V0IGEgNyAtIDEwIG1p bnV0ZSBib290IHRpbWUuCgpUbyBjb3JyZWN0IHRoaXMgcHJvYmxlbSBJIGNyZWF0ZWQgYSBidXNf ZG1hbWFwX2NyZWF0ZV92IChzaG91bGQgcHJvYmFibHkKYmUgY2FsbGVkIGJ1c19kbWFtYXBfY3Jl YXRlX21hbnkgYXMgbXV4IHN1Z2dlc3RlZCkgYW5kIHRoaXMgY3JlYXRlcyBhCmxhcmdlIGFtb3Vu dCBvZiBkbWEgbWFwcyBhbGwgYXQgb25jZS4KT2J2aW91c2x5IHRvIHRlc3QgSSBtb2RpZmllZCB0 aGUgdHdhIGRyaXZlciB0byB1c2UgdGhlIG5ldyBmdW5jdGlvbi4KSSd2ZSBzZWVuIG5vIHByb2Js ZW1zIHNvIGZhci4gbGV0IG1lIGtub3cgaWYgeW91IHNlZSBhbnkgZ2xhcmluZyBlcnJvcnMuCkFz IHRoZXJlIGFyZSBwcm9iYWJseSBzb21lLiBEaXNrIHBlcmZvcm1hbmNlIHJlbWFpbmVkIHRoZSBz YW1lIGp1c3QKc3BlZWQgdXAgYm9vdCB0aW1lIGNvbnNpZGVyYWJseS4gVGhpcyBpcyBvbmx5IHRl c3RlZCB3aXRoIGFtZDY0IGNvZGUuClRoZSBjb2RlICpzaG91bGQqIHdvcmsgd2l0aCBpMzg2LCBi dXQgSSB3YXNuJ3QgYWJsZSB0byB0ZXN0IGl0LiBQbGVhc2UKdGVzdCBhbmQgbGV0IG1lIGtub3cg b2YgYW55IHByb2JsZW1zLgoKQW5kIEkgYXBvbG9naXplIGFoZWFkIG9mIHRpbWUgaWYgdGhpcyBp cyB1c2VsZXNzIEkgZG9uJ3Qga25vdyBtdWNoIGFib3V0CnRoZSB0b3BpYyBidXQgd2FzIGluIG5l ZWQgb2YgYSBxdWljayBmaXguCi0tClNlYW4gQnJ5YW50Cg== ------=_Part_1852_19298826.1146337019298 Content-Type: application/octet-stream; name=busdma_machdep.c.patch Content-Transfer-Encoding: 7bit X-Attachment-Id: f_emmbbiyz Content-Disposition: attachment; filename="busdma_machdep.c.patch" --- /sys/amd64/amd64/busdma_machdep.c Tue Mar 28 01:28:37 2006 +++ /sys/amd64/amd64/busdma_machdep.c Thu Apr 27 11:55:55 2006 @@ -355,6 +355,107 @@ } /* + * Allocate a vector of handles for mapping from kva/uva/physical + * address space into bus device space + */ +int +bus_dmamap_create_v(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp, size_t num) +{ + int error; + + error = 0; + + int i; + + i = 0; + + if (dmat->segments == NULL) { + dmat->segments = (bus_dma_segment_t *)malloc( + sizeof(bus_dma_segment_t) * dmat->nsegments, M_DEVBUF, + M_NOWAIT); + if (dmat->segments == NULL) { + CTR3(KTR_BUSDMA, "%s: tag %p error %d", + __func__, dmat, ENOMEM); + return (ENOMEM); + } + } + + /* + * Bouncing might be required if the driver asks for an active + * exclusion region, a data alignment that is stricter than 1, and/or + * an active address boundary. + */ + if (dmat->flags & BUS_DMA_COULD_BOUNCE) { + + /* Must bounce */ + struct bounce_zone *bz; + int maxpages; + + if (dmat->bounce_zone == NULL) { + if ((error = alloc_bounce_zone(dmat)) != 0) + return (error); + } + bz = dmat->bounce_zone; + + *mapp = (bus_dmamap_t)malloc(sizeof(**mapp) * num, M_DEVBUF, + M_NOWAIT | M_ZERO); + + if (*mapp == NULL) { + CTR3(KTR_BUSDMA, "%s: tag %p error %d", + __func__, dmat, ENOMEM); + return (ENOMEM); + } + + + + /* Initialize the new map */ + + bus_dmamap_t *tempp = mapp; + + for(; i < num; i++) { + STAILQ_INIT(&((*mapp)->bpages)); + (*mapp)++; + } + + mapp = tempp; + + /* + * Attempt to add pages to our pool on a per-instance + * basis up to a sane limit. + */ + if (dmat->alignment > 1) + maxpages = MAX_BPAGES; + else + maxpages = MIN(MAX_BPAGES, Maxmem -atop(dmat->lowaddr)); + if ((dmat->flags & BUS_DMA_MIN_ALLOC_COMP) == 0 + || (dmat->map_count > 0 && bz->total_bpages < maxpages)) { + int pages; + + pages = MAX(atop(dmat->maxsize), 1); + pages = MIN(maxpages - bz->total_bpages, pages); + pages = MAX(pages, 1); + if (alloc_bounce_pages(dmat, pages) < pages) + error = ENOMEM; + + if ((dmat->flags & BUS_DMA_MIN_ALLOC_COMP) == 0) { + if (error == 0) + dmat->flags |= BUS_DMA_MIN_ALLOC_COMP; + } else { + error = 0; + } + } + } else { + *mapp = NULL; + } + if (error == 0) + dmat->map_count += num; + CTR4(KTR_BUSDMA, "%s: tag %p tag flags 0x%x error %d", + __func__, dmat, dmat->flags, error); + return (error); +} + + +/* * Allocate a handle for mapping from kva/uva/physical * address space into bus device space. */ ------=_Part_1852_19298826.1146337019298 Content-Type: application/octet-stream; name=bus_dma.h.patch Content-Transfer-Encoding: 7bit X-Attachment-Id: f_emmbfmqf Content-Disposition: attachment; filename="bus_dma.h.patch" --- /sys/sys/bus_dma.h Tue Mar 15 09:57:29 2005 +++ /sys/sys/bus_dma.h Tue Apr 25 21:49:13 2006 @@ -225,6 +225,12 @@ int bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp); /* + * Allocate a vector of handles + * + */ +int bus_dmamap_create_v(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp, size_t num); + +/* * Destroy a handle for mapping from kva/uva/physical * address space into bus device space. */ ------=_Part_1852_19298826.1146337019298 Content-Type: application/octet-stream; name=tw_osl_freebsd.c.patch Content-Transfer-Encoding: 7bit X-Attachment-Id: f_emmbfrdy Content-Disposition: attachment; filename="tw_osl_freebsd.c.patch" --- /sys/dev/twa/tw_osl_freebsd.c Wed Dec 7 13:18:05 2005 +++ /sys/dev/twa/tw_osl_freebsd.c Thu Apr 27 12:50:12 2006 @@ -89,6 +89,7 @@ TW_INT32 unit = minor(dev); struct twa_softc *sc = devclass_get_softc(twa_devclass, unit); + tw_osli_dbg_dprintf(5, sc, "entered"); sc->state |= TW_OSLI_CTLR_STATE_OPEN; return(0); @@ -144,7 +145,6 @@ { struct twa_softc *sc = (struct twa_softc *)(dev->si_drv1); TW_INT32 error; - tw_osli_dbg_dprintf(5, sc, "entered"); switch (cmd) { @@ -224,6 +224,7 @@ { static TW_UINT8 first_ctlr = 1; + tw_osli_dbg_printf(3, "entered"); if (tw_cl_ctlr_supported(pci_get_vendor(dev), pci_get_device(dev))) { @@ -264,6 +265,7 @@ TW_INT32 bar_size; TW_INT32 error; + tw_osli_dbg_dprintf(3, sc, "entered"); sc->ctlr_handle.osl_ctlr_ctxt = sc; @@ -279,6 +281,8 @@ mtx_init(sc->q_lock, "tw_osl_q_lock", NULL, MTX_SPIN); sysctl_ctx_init(&sc->sysctl_ctxt); + + sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctxt, SYSCTL_STATIC_CHILDREN(_hw), OID_AUTO, device_get_nameunit(dev), CTLFLAG_RD, 0, ""); @@ -308,6 +312,7 @@ return(ENXIO); } + /* Force the busmaster enable bit on, in case the BIOS forgot. */ command |= PCIM_CMD_BUSMASTEREN; pci_write_config(dev, PCIR_COMMAND, command, 2); @@ -340,6 +345,7 @@ sc->bus_tag = rman_get_bustag(sc->reg_res); sc->bus_handle = rman_get_bushandle(sc->reg_res); + /* Allocate and register our interrupt. */ sc->irq_res_id = 0; if ((sc->irq_res = bus_alloc_resource(sc->bus_dev, SYS_RES_IRQ, @@ -386,6 +392,7 @@ return(error); } + /* Initialize the Common Layer for this controller. */ if ((error = tw_cl_init_ctlr(&sc->ctlr_handle, sc->flags, sc->device_id, TW_OSLI_MAX_NUM_IOS, TW_OSLI_MAX_NUM_AENS, @@ -467,7 +474,8 @@ TW_UINT32 per_req_dma_mem_size; #endif /* TW_OSL_DMA_MEM_ALLOC_PER_REQUEST */ TW_INT32 error; - TW_INT32 i; + TW_INT32 i = 0; + tw_osli_dbg_dprintf(3, sc, "entered"); @@ -700,10 +708,11 @@ tw_osli_req_q_init(sc, TW_OSLI_FREE_Q); tw_osli_req_q_init(sc, TW_OSLI_BUSY_Q); + if ((sc->req_ctxt_buf = (struct tw_osli_req_context *) malloc((sizeof(struct tw_osli_req_context) * TW_OSLI_MAX_NUM_IOS), - TW_OSLI_MALLOC_CLASS, M_WAITOK)) == NULL) { + TW_OSLI_MALLOC_CLASS, M_WAITOK | M_ZERO)) == NULL) { tw_osli_printf(sc, "error = %d", TW_CL_SEVERITY_ERROR_STRING, TW_CL_MESSAGE_SOURCE_FREEBSD_DRIVER, @@ -712,21 +721,39 @@ ENOMEM); return(ENOMEM); } - bzero(sc->req_ctxt_buf, - sizeof(struct tw_osli_req_context) * TW_OSLI_MAX_NUM_IOS); + + bus_dmamap_t* dma_v = (bus_dmamap_t*)malloc(sizeof(bus_dmamap_t) * TW_OSLI_MAX_NUM_IOS, M_DEVBUF, M_WAITOK | M_ZERO); + if(dma_v == NULL) { + return(ENOMEM); + } + + if(bus_dmamap_create_v(sc->dma_tag, 0, dma_v, TW_OSLI_MAX_NUM_IOS)) { + tw_osli_printf(sc, "request # = %d, error = %d", + TW_CL_SEVERITY_ERROR_STRING, + TW_CL_MESSAGE_SOURCE_FREEBSD_DRIVER, + 0x2013, + "Can't create dma map", + i, ENOMEM); + + return(ENOMEM); + } + + // XXX should be i < ... for (i = 0; i < TW_OSLI_MAX_NUM_IOS; i++) { req = &(sc->req_ctxt_buf[i]); req->ctlr = sc; - if (bus_dmamap_create(sc->dma_tag, 0, &req->dma_map)) { + req->dma_map = dma_v[i]; + /* if (bus_dmamap_create(sc->dma_tag, 0, &req->dma_map)) { tw_osli_printf(sc, "request # = %d, error = %d", TW_CL_SEVERITY_ERROR_STRING, TW_CL_MESSAGE_SOURCE_FREEBSD_DRIVER, 0x2013, "Can't create dma map", i, ENOMEM); + return(ENOMEM); - } + }*/ #ifdef TW_OSL_DMA_MEM_ALLOC_PER_REQUEST @@ -734,11 +761,12 @@ (i * per_req_dma_mem_size); req->req_pkt.dma_mem_phys = sc->dma_mem_phys + (i * per_req_dma_mem_size); - + #endif /* TW_OSL_DMA_MEM_ALLOC_PER_REQUEST */ - + /* Insert request into the free queue. */ tw_osli_req_q_insert_tail(req, TW_OSLI_FREE_Q); + } #ifdef TW_OSL_DMA_MEM_ALLOC_PER_REQUEST @@ -962,10 +990,12 @@ lock = (struct mtx *)lock_arg; switch (op) { case BUS_DMA_LOCK: + printf("twa: Locking!\n"); mtx_lock_spin(lock); break; case BUS_DMA_UNLOCK: + printf("twa: Unlocking!\n"); mtx_unlock_spin(lock); break; ------=_Part_1852_19298826.1146337019298-- From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 21:03:38 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1905D16A401 for ; Sat, 29 Apr 2006 21:03:38 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F73343D45 for ; Sat, 29 Apr 2006 21:03:37 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k3TL3ahX018442; Sat, 29 Apr 2006 15:03:36 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4453D4AE.9010306@samsco.org> Date: Sat, 29 Apr 2006 15:03:42 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sean Bryant References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-stable@freebsd.org Subject: Re: [patch[ twa, bus_dma.h, busdma_machdep.c (amd64) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 21:03:38 -0000 Sean Bryant wrote: > I loaded up 6.1-Stable on a Dual Dual Core Opteron, with a 3ware > 9550sx-4lp raid card in it and noticed a horrid boot time. > Well after investigating the issue it turns out the twa driver had > problems creating the bus_dmamaps. It was creating 255 request buffers > and giving each of them a dma map. This is exactly what is supposed to happen. > Yippie! This leaves me with about a 7 - 10 minute boot time. This is because contigmalloc is broken and does a N^2 search of pages, starting with pages that are usually the least suitable for what it wants. Yippie indeed. I committed a partial fix for this recently, make sure that you have rev 1.43.2.4 of sys/vm/vm_contig.c. > > To correct this problem I created a bus_dmamap_create_v (should probably > be called bus_dmamap_create_many as mux suggested) and this creates a > large amount of dma maps all at once. > Obviously to test I modified the twa driver to use the new function. > I've seen no problems so far. let me know if you see any glaring errors. > As there are probably some. Disk performance remained the same just > speed up boot time considerably. This is only tested with amd64 code. > The code *should* work with i386, but I wasn't able to test it. Please > test and let me know of any problems. > > And I apologize ahead of time if this is useless I don't know much about > the topic but was in need of a quick fix. > -- > Sean Bryant > Your method assumes that there will always be a bus_dmamap_t object allocated. It's not explicitely wrong, but not very optimal either. If the above fix to vm_contig.c doesn't help you, let me know and we can work out a more complete fix. Another thing to tweak is to add the following to /boot/loader.conf: vm.old_contigmalloc=1 Scott From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 21:25:50 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC11016A40B for ; Sat, 29 Apr 2006 21:25:50 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A2D243D6E for ; Sat, 29 Apr 2006 21:25:45 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from [10.0.0.17] (200-171-26-52.dsl.telesp.net.br [200.171.26.52]) by msrv.matik.com.br (8.13.6/8.13.1) with ESMTP id k3TLPQFo061984; Sat, 29 Apr 2006 18:25:27 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR To: freebsd-stable@freebsd.org Date: Sat, 29 Apr 2006 18:25:16 -0300 User-Agent: KMail/1.9.1 References: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> <444EF0C7.8040407@errno.com> In-Reply-To: <444EF0C7.8040407@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604291825.17780.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Spam-Status: No, score=1.4 required=5.0 tests=BR_RECEIVED_SPAMMER,MY_DSL autolearn=no version=3.1.0 X-Spam-Level: * X-Spam-Checker-Version: Antispam Datacenter Matik msrv.matik.com.br X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on msrv.matik.com.br X-Virus-Status: Clean Cc: Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 21:25:50 -0000 On Wednesday 26 April 2006 01:02, Sam Leffler wrote: > Attached are two patches; one for the ath driver and another for > sys/net80211/ieee80211.c in releng6 (note changes to the latter in head > are different). I believe this will resolve your problem; you can check > by updating your code and looking at what ifconfig ath0 list chan gives > you. > I checked now with an unaltered ag530 (regdomain18) and look how strange Channel 1 : 2412 Mhz 11g Channel 136 : 4942* Mhz 11a Channel 2 : 2417 Mhz 11g Channel 136 : 4945* Mhz 11a Channel 3 : 2422 Mhz 11g Channel 136 : 4950* Mhz 11a Channel 4 : 2427 Mhz 11g Channel 137 : 4955* Mhz 11a Channel 5 : 2432 Mhz 11g Channel 137 : 4960* Mhz 11a Channel 6 : 2437 Mhz 11g Channel 137 : 4965* Mhz 11a Channel 7 : 2442 Mhz 11g Channel 137 : 4970* Mhz 11a Channel 8 : 2447 Mhz 11g Channel 138 : 4975* Mhz 11a Channel 9 : 2452 Mhz 11g Channel 138 : 4980* Mhz 11a Channel 10 : 2457 Mhz 11g Channel 138 : 4985* Mhz 11a Channel 11 : 2462 Mhz 11g the 5,3 and 5.8Ghz range is gone this card should show the 2.4b/g range as usual, the 4.9, the 5.3 and the 5= =2E8=20 range ath sysctl from this machine hw.ath.hal.swba_backoff: 0 hw.ath.hal.sw_brt: 10 hw.ath.hal.dma_brt: 2 hw.ath.hal.version: 0.9.16.16 hw.ath.txbuf: 100 hw.ath.rxbuf: 40 hw.ath.regdomain: 0 hw.ath.countrycode: 0 hw.ath.xchanmode: 1 hw.ath.outdoor: 1 hw.ath.calibrate: 30 hw.ath.dwell: 200 user.cs_path: /usr/bin:/bin:/usr/sbin:/sbin: dev.ath.0.%desc: Atheros 5212 dev.ath.0.%driver: ath dev.ath.0.%location: slot=3D8 function=3D0 dev.ath.0.%pnpinfo: vendor=3D0x168c device=3D0x0013 subvendor=3D0x1186=20 subdevice=3D0x3a14 class=3D0x020000 dev.ath.0.%parent: pci0 dev.ath.0.rate_interval: 1000 dev.ath.0.rate_raise: 10 dev.ath.0.rate_raise_threshold: 10 dev.ath.0.countrycode: 0 dev.ath.0.regdomain: 18 dev.ath.0.slottime: 20 dev.ath.0.acktimeout: 48 dev.ath.0.ctstimeout: 48 dev.ath.0.softled: 0 dev.ath.0.ledpin: 0 dev.ath.0.ledon: 0 dev.ath.0.ledidle: 2700 dev.ath.0.txantenna: 0 dev.ath.0.rxantenna: 2 dev.ath.0.diversity: 0 dev.ath.0.txintrperiod: 5 dev.ath.0.diag: 0 dev.ath.0.tpscale: 0 dev.ath.0.tpc: 0 dev.ath.0.tpack: 63 dev.ath.0.tpcts: 63 dev.ath.0.monpass: 24 setting 0x10 I get then Channel 1 : 2412 Mhz 11g Channel 48 : 5240 Mhz 11a Channel 2 : 2417 Mhz 11g Channel 50 : 5250 Mhz 11a Turbo Channel 3 : 2422 Mhz 11g Channel 52 : 5260 Mhz 11a Channel 4 : 2427 Mhz 11g Channel 56 : 5280 Mhz 11a Channel 5 : 2432 Mhz 11g Channel 58 : 5290 Mhz 11a Turbo Channel 6 : 2437 Mhz 11g Channel 60 : 5300 Mhz 11a Channel 7 : 2442 Mhz 11g Channel 64 : 5320 Mhz 11a Channel 8 : 2447 Mhz 11g Channel 149 : 5745 Mhz 11a Channel 9 : 2452 Mhz 11g Channel 152 : 5760 Mhz 11a Turbo Channel 10 : 2457 Mhz 11g Channel 153 : 5765 Mhz 11a Channel 11 : 2462 Mhz 11g Channel 157 : 5785 Mhz 11a Channel 36 : 5180 Mhz 11a Channel 160 : 5800 Mhz 11a Turbo Channel 40 : 5200 Mhz 11a Channel 161 : 5805 Mhz 11a Channel 42 : 5210 Mhz 11a Turbo Channel 165 : 5825 Mhz 11a Channel 44 : 5220 Mhz 11a ath sysctl from this machine: hw.ath.hal.swba_backoff: 0 hw.ath.hal.sw_brt: 10 hw.ath.hal.dma_brt: 2 hw.ath.hal.version: 0.9.16.16 hw.ath.txbuf: 100 hw.ath.rxbuf: 40 hw.ath.regdomain: 0 hw.ath.countrycode: 0 hw.ath.xchanmode: 1 hw.ath.outdoor: 1 hw.ath.calibrate: 30 hw.ath.dwell: 200 dev.ath.0.%desc: Atheros 5212 dev.ath.0.%driver: ath dev.ath.0.%location: slot=3D11 function=3D0 dev.ath.0.%pnpinfo: vendor=3D0x168c device=3D0x0013 subvendor=3D0x1186=20 subdevice=3D0x3a14 class=3D0x020000 dev.ath.0.%parent: pci0 dev.ath.0.rate_interval: 1000 dev.ath.0.rate_raise: 10 dev.ath.0.rate_raise_threshold: 10 dev.ath.0.countrycode: 0 dev.ath.0.regdomain: 16 dev.ath.0.slottime: 20 dev.ath.0.acktimeout: 48 dev.ath.0.ctstimeout: 48 dev.ath.0.softled: 0 dev.ath.0.ledpin: 0 dev.ath.0.ledon: 0 dev.ath.0.ledidle: 2700 dev.ath.0.txantenna: 0 dev.ath.0.rxantenna: 1 dev.ath.0.diversity: 0 dev.ath.0.txintrperiod: 5 dev.ath.0.diag: 0 dev.ath.0.tpscale: 0 dev.ath.0.tpc: 0 dev.ath.0.tpack: 63 dev.ath.0.tpcts: 63 dev.ath.0.monpass: 24 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 22:00:46 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8C6F16A401 for ; Sat, 29 Apr 2006 22:00:46 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5029143D46 for ; Sat, 29 Apr 2006 22:00:46 +0000 (GMT) (envelope-from w8hdkim@gmail.com) Received: by nz-out-0102.google.com with SMTP id x3so2644443nzd for ; Sat, 29 Apr 2006 15:00:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cL8xz/Lg6dfWEsSRjWDRaDIWl5tqPFn0nQYkIjfprSzNxW5u+O3jvKvJmlGyy0a8ScZVlQGVkWSO+B/zKFUFBMtJYOBJIuY+v0jd1Rls2idWUCRZML/9Wl7h/IrWWQSC3UPlu/4uAEuInujjhRYIo24zxSDLS0z3THvWQq4mOSk= Received: by 10.36.227.56 with SMTP id z56mr457026nzg; Sat, 29 Apr 2006 15:00:45 -0700 (PDT) Received: by 10.36.157.6 with HTTP; Sat, 29 Apr 2006 15:00:45 -0700 (PDT) Message-ID: <89dbfdc30604291500l5a1d8097qd677af4e8dcd5fd5@mail.gmail.com> Date: Sat, 29 Apr 2006 18:00:45 -0400 From: "Kim Culhan" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [patch[ twa, bus_dma.h, busdma_machdep.c (amd64) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 22:00:46 -0000 On Sat, April 29, 2006 5:03 pm, Scott Long said: > Sean Bryant wrote: > >> I loaded up 6.1-Stable on a Dual Dual Core Opteron, with a 3ware >> 9550sx-4lp raid card in it and noticed a horrid boot time. >> Well after investigating the issue it turns out the twa driver had >> problems creating the bus_dmamaps. It was creating 255 request buffers >> and giving each of them a dma map. > > This is exactly what is supposed to happen. > > >> Yippie! This leaves me with about a 7 - 10 minute boot time. Running a 3ware 9550sx-4lp on FreeBSD 6.1-PRERELEASE from 3-25-06 and no problem with long boot time, is this unique to amd64 ? -kim -- w8hdkim er gmail.com From owner-freebsd-stable@FreeBSD.ORG Sat Apr 29 23:00:55 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74BE316A402 for ; Sat, 29 Apr 2006 23:00:55 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id B82D743D48 for ; Sat, 29 Apr 2006 23:00:54 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.199] ([10.0.0.199]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k3TN0rB0056267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Apr 2006 16:00:54 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4453F025.90001@errno.com> Date: Sat, 29 Apr 2006 16:00:53 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: JoaoBR References: <200604252258.k3PMwJ74026969@monk.cnd.dundas.on.ca> <444EF0C7.8040407@errno.com> <200604291825.17780.joao@matik.com.br> In-Reply-To: <200604291825.17780.joao@matik.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: ath0: ath_chan_set: unable to reset channel 5 (2432 Mhz, flags 0x3e0 hal flags 0x140) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 23:00:55 -0000 JoaoBR wrote: > On Wednesday 26 April 2006 01:02, Sam Leffler wrote: > >> Attached are two patches; one for the ath driver and another for >> sys/net80211/ieee80211.c in releng6 (note changes to the latter in head >> are different). I believe this will resolve your problem; you can check >> by updating your code and looking at what ifconfig ath0 list chan gives >> you. >> > > I checked now with an unaltered ag530 (regdomain18) and look how strange > > Channel 1 : 2412 Mhz 11g Channel 136 : 4942* Mhz 11a > Channel 2 : 2417 Mhz 11g Channel 136 : 4945* Mhz 11a > Channel 3 : 2422 Mhz 11g Channel 136 : 4950* Mhz 11a > Channel 4 : 2427 Mhz 11g Channel 137 : 4955* Mhz 11a > Channel 5 : 2432 Mhz 11g Channel 137 : 4960* Mhz 11a > Channel 6 : 2437 Mhz 11g Channel 137 : 4965* Mhz 11a > Channel 7 : 2442 Mhz 11g Channel 137 : 4970* Mhz 11a > Channel 8 : 2447 Mhz 11g Channel 138 : 4975* Mhz 11a > Channel 9 : 2452 Mhz 11g Channel 138 : 4980* Mhz 11a > Channel 10 : 2457 Mhz 11g Channel 138 : 4985* Mhz 11a > Channel 11 : 2462 Mhz 11g > > the 5,3 and 5.8Ghz range is gone > > > this card should show the 2.4b/g range as usual, the 4.9, the 5.3 and the 5.8 > range regdomain 18 gives you b/g channels 1-11 and public safety channels in the range 4942-4985. What you are seeing is that ifconfig does not know how to handle mapping the public safety channels to ieee channel numbers. > > > > ath sysctl from this machine > > hw.ath.hal.swba_backoff: 0 > hw.ath.hal.sw_brt: 10 > hw.ath.hal.dma_brt: 2 > hw.ath.hal.version: 0.9.16.16 > hw.ath.txbuf: 100 > hw.ath.rxbuf: 40 > hw.ath.regdomain: 0 > hw.ath.countrycode: 0 > hw.ath.xchanmode: 1 > hw.ath.outdoor: 1 > hw.ath.calibrate: 30 > hw.ath.dwell: 200 > user.cs_path: /usr/bin:/bin:/usr/sbin:/sbin: > dev.ath.0.%desc: Atheros 5212 > dev.ath.0.%driver: ath > dev.ath.0.%location: slot=8 function=0 > dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1186 > subdevice=0x3a14 class=0x020000 > dev.ath.0.%parent: pci0 > dev.ath.0.rate_interval: 1000 > dev.ath.0.rate_raise: 10 > dev.ath.0.rate_raise_threshold: 10 > dev.ath.0.countrycode: 0 > dev.ath.0.regdomain: 18 > dev.ath.0.slottime: 20 > dev.ath.0.acktimeout: 48 > dev.ath.0.ctstimeout: 48 > dev.ath.0.softled: 0 > dev.ath.0.ledpin: 0 > dev.ath.0.ledon: 0 > dev.ath.0.ledidle: 2700 > dev.ath.0.txantenna: 0 > dev.ath.0.rxantenna: 2 > dev.ath.0.diversity: 0 > dev.ath.0.txintrperiod: 5 > dev.ath.0.diag: 0 > dev.ath.0.tpscale: 0 > dev.ath.0.tpc: 0 > dev.ath.0.tpack: 63 > dev.ath.0.tpcts: 63 > dev.ath.0.monpass: 24 > > > > > setting 0x10 I get then > > Channel 1 : 2412 Mhz 11g Channel 48 : 5240 Mhz 11a > Channel 2 : 2417 Mhz 11g Channel 50 : 5250 Mhz 11a Turbo > Channel 3 : 2422 Mhz 11g Channel 52 : 5260 Mhz 11a > Channel 4 : 2427 Mhz 11g Channel 56 : 5280 Mhz 11a > Channel 5 : 2432 Mhz 11g Channel 58 : 5290 Mhz 11a Turbo > Channel 6 : 2437 Mhz 11g Channel 60 : 5300 Mhz 11a > Channel 7 : 2442 Mhz 11g Channel 64 : 5320 Mhz 11a > Channel 8 : 2447 Mhz 11g Channel 149 : 5745 Mhz 11a > Channel 9 : 2452 Mhz 11g Channel 152 : 5760 Mhz 11a Turbo > Channel 10 : 2457 Mhz 11g Channel 153 : 5765 Mhz 11a > Channel 11 : 2462 Mhz 11g Channel 157 : 5785 Mhz 11a > Channel 36 : 5180 Mhz 11a Channel 160 : 5800 Mhz 11a Turbo > Channel 40 : 5200 Mhz 11a Channel 161 : 5805 Mhz 11a > Channel 42 : 5210 Mhz 11a Turbo Channel 165 : 5825 Mhz 11a > Channel 44 : 5220 Mhz 11a > > ath sysctl from this machine: > > hw.ath.hal.swba_backoff: 0 > hw.ath.hal.sw_brt: 10 > hw.ath.hal.dma_brt: 2 > hw.ath.hal.version: 0.9.16.16 > hw.ath.txbuf: 100 > hw.ath.rxbuf: 40 > hw.ath.regdomain: 0 > hw.ath.countrycode: 0 > hw.ath.xchanmode: 1 > hw.ath.outdoor: 1 > hw.ath.calibrate: 30 > hw.ath.dwell: 200 > dev.ath.0.%desc: Atheros 5212 > dev.ath.0.%driver: ath > dev.ath.0.%location: slot=11 function=0 > dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1186 > subdevice=0x3a14 class=0x020000 > dev.ath.0.%parent: pci0 > dev.ath.0.rate_interval: 1000 > dev.ath.0.rate_raise: 10 > dev.ath.0.rate_raise_threshold: 10 > dev.ath.0.countrycode: 0 > dev.ath.0.regdomain: 16 > dev.ath.0.slottime: 20 > dev.ath.0.acktimeout: 48 > dev.ath.0.ctstimeout: 48 > dev.ath.0.softled: 0 > dev.ath.0.ledpin: 0 > dev.ath.0.ledon: 0 > dev.ath.0.ledidle: 2700 > dev.ath.0.txantenna: 0 > dev.ath.0.rxantenna: 1 > dev.ath.0.diversity: 0 > dev.ath.0.txintrperiod: 5 > dev.ath.0.diag: 0 > dev.ath.0.tpscale: 0 > dev.ath.0.tpc: 0 > dev.ath.0.tpack: 63 > dev.ath.0.tpcts: 63 > dev.ath.0.monpass: 24 It turns out that handling this correctly is more involved than I remembered. Not only are the public safety channels special in their freq<->ieee# mapping but they also require 1/4- and 1/2-speed tx rates. The linux code handles this but it's done with some awkward code that I'd prefer to cleanup before integrating into freebsd. Regardless I suspect most people aren't going to use these channels since they require a special license (search for "public safety channels" and you'll find the relevant documentation). To be honest I have no idea why vendors are shipping cards with these channels enabled. I can hack the ath driver to just ignore the public safety channels and may do that. Otherwise it seems like the best thing is to change the regdomain in the eeprom (those who don't know how can find it with a search engine). Sam