From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 00:31:42 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EC4A16A403 for ; Sun, 10 Sep 2006 00:31:42 +0000 (UTC) (envelope-from umbilical.blisters@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62DFC43D45 for ; Sun, 10 Sep 2006 00:31:41 +0000 (GMT) (envelope-from umbilical.blisters@gmail.com) Received: by py-out-1112.google.com with SMTP id e30so1164849pya for ; Sat, 09 Sep 2006 17:31:41 -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=lv5u88RjA+DjBPdFyJ7hY1xWFoRoRdYoy0VVtlKRUCi9/5pMdlSGTEJIOtCHOP304Wbz5qf16Oxpw0edBQ4cTsgVPtTt2KENk8Nz2tJkkPH8s6wcm5bb259J32uCrY6hUImSEQlLpk6tERpgda68eacLPa4xXC6jS8oyCJ8dGro= Received: by 10.35.54.1 with SMTP id g1mr5804844pyk; Sat, 09 Sep 2006 17:31:40 -0700 (PDT) Received: by 10.35.126.16 with HTTP; Sat, 9 Sep 2006 17:31:40 -0700 (PDT) Message-ID: <40c4bb930609091731q81d4e4agb0418e3b60d519c1@mail.gmail.com> Date: Sat, 9 Sep 2006 19:31:40 -0500 From: "Alex Salazar" To: "Matthew Jacob" In-Reply-To: <7579f7fb0609091127o2962d4dcxa0d658cd09899156@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <40c4bb930609020223h50c43537n1c8b32081ef5c1bf@mail.gmail.com> <7579f7fb0609021220y2d530c93pebb59bb2c0a70945@mail.gmail.com> <40c4bb930609081046m1e94266al6be8873e2149c607@mail.gmail.com> <7579f7fb0609091125j7f8abcebq3075d4bd474f21d@mail.gmail.com> <7579f7fb0609091127o2962d4dcxa0d658cd09899156@mail.gmail.com> X-Mailman-Approved-At: Sun, 10 Sep 2006 02:59:52 +0000 Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Several issues on Dell 1950/2950 servers (6-STABLE and 7-CURRENT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 00:31:42 -0000 On 9/9/06, Matthew Jacob wrote: > Oops- mangled reply. > > > > On 9/9/06, Matthew Jacob wrote: > > > > > > is gone, but a new error message appears as often as the former, > > > and under the same circumstances: > > > > > > > mpt0: QUEUE_FULL: Bus 0x00 Target 0x00 Depth 128 > > > > Do you see these all the time? If so I'll have to connect up some > logic to take and shut down openings to match the Depth field- > although this is a step I've been resisting. > If by "all the time" you mean every time certain disk operations are performed (tarball extraction, files download...), then, yes. All the time. Otherwise, no error shows up. > > Insofar as the Error 22- that's normal to see those for verbose > booting. They should be more informative as to why those are > occurring. > You're right. Those messages are evident only while verbose booting, so, I'm not really concerned about them but the huge delay on booting (up to 18 min) they represent on 6-STABLE. -- Alex From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 02:49:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4625516A403 for ; Sun, 10 Sep 2006 02:49:14 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCBCC43D45 for ; Sun, 10 Sep 2006 02:49:13 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1152624wxd for ; Sat, 09 Sep 2006 19:49:13 -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=SgTKCZSte/rTqwm8nyqFzxpnqo4HlZaOsnSGkg4zN3nfMVdgoGSdcADueFWTLZvSzLvw3l3aGoEpwjxZGdzctIH5r/L1+EwVrLl/4eNktenQHTg/pdruS8p7Ox3U4Y2aDhPBaXufst7TPN2E67O6bZ3l4KVwXf+MUWwpU1R4ubs= Received: by 10.90.118.12 with SMTP id q12mr1290041agc; Sat, 09 Sep 2006 19:42:27 -0700 (PDT) Received: by 10.90.70.6 with HTTP; Sat, 9 Sep 2006 19:42:26 -0700 (PDT) Message-ID: <7579f7fb0609091942p2f52d710v3daa0ccb291e67e4@mail.gmail.com> Date: Sat, 9 Sep 2006 19:42:26 -0700 From: "Matthew Jacob" To: "Alex Salazar" In-Reply-To: <40c4bb930609091731q81d4e4agb0418e3b60d519c1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <40c4bb930609020223h50c43537n1c8b32081ef5c1bf@mail.gmail.com> <7579f7fb0609021220y2d530c93pebb59bb2c0a70945@mail.gmail.com> <40c4bb930609081046m1e94266al6be8873e2149c607@mail.gmail.com> <7579f7fb0609091125j7f8abcebq3075d4bd474f21d@mail.gmail.com> <7579f7fb0609091127o2962d4dcxa0d658cd09899156@mail.gmail.com> <40c4bb930609091731q81d4e4agb0418e3b60d519c1@mail.gmail.com> X-Mailman-Approved-At: Sun, 10 Sep 2006 03:00:00 +0000 Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Several issues on Dell 1950/2950 servers (6-STABLE and 7-CURRENT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 02:49:14 -0000 > If by "all the time" you mean every time certain disk operations > are performed (tarball extraction, files download...), then, yes. > All the time. Otherwise, no error shows up. Hmm. Okay. I'll work on this. > > > > > > Insofar as the Error 22- that's normal to see those for verbose > > booting. They should be more informative as to why those are > > occurring. > > > > You're right. Those messages are evident only while verbose booting, > so, I'm not really concerned about them but the huge delay on booting > (up to 18 min) they represent on 6-STABLE. > Hmm. I'll have to dig back thru the mail here but I don't get this. From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 08:24:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C846F16A412 for ; Sun, 10 Sep 2006 08:24:59 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C22E43D53 for ; Sun, 10 Sep 2006 08:24:54 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 41A095E04; Sun, 10 Sep 2006 12:24:53 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 20CEC5DEC; Sun, 10 Sep 2006 12:24:53 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k8A8Ou1P065625; Sun, 10 Sep 2006 12:24:56 +0400 (MSD) (envelope-from ru) Date: Sun, 10 Sep 2006 12:24:56 +0400 From: Ruslan Ermilov To: Angelo Turetta Message-ID: <20060910082456.GA48789@rambler-co.ru> References: <4502CA73.5040100@commit.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <4502CA73.5040100@commit.it> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: freebsd-current@freebsd.org Subject: Re: make release cross-platform: Malformed conditional (${MK_SENDMAIL} != "no") X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 08:24:59 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 09, 2006 at 04:06:43PM +0200, Angelo Turetta wrote: > I'm trying to build a -CURRENT install cdrom, using the following command: >=20 > make release CHROOTDIR=3D/usr/current \ > EXTPORTSDIR=3D/usr/ports \ > CVSROOT=3D"/home/ncvs" NO_FLOPPIES=3DYES \ > NODOC=3DYES NOPORTS=3DYES MAKE_ISOS=3DYES \ > KERNELS_BASE=3DGENERIC TARGET_ARCH=3Damd64 \ > BUILDNAME=3D7.0-20060909-SNAP >=20 >=20 > from a XEON server running 6.1-STABLE FreeBSD Thu Sep 7 13:42:16 CEST 20= 06 >=20 > First question (reality check): is it possible to build 7-CURRENT(amd64)= =20 > on 6-STABLE(i386)? >=20 Should be. > If yes, do you know what may be the cause of the error I get after the=20 > 'build world' phase? (please see attachment for make output) > cd /usr/src/release/../etc && make distrib-dirs=20 > DESTDIR=3D/R/stage/trees/base > "Makefile", line 6: Malformed conditional (${MK_SENDMAIL} !=3D "no") > "Makefile", line 8: if-less endif >=20 >=20 A bug in release/Makefile? Try changing this line: cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=3D${RD}/trees/base to: cd ${.CURDIR}/.. && ${CROSSMAKE} distrib-dirs DESTDIR=3D${RD}/trees= /base Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFA8vYqRfpzJluFF4RAiE2AJ45mCPraN4objAGncAh+Lz2S2pDWQCeOiPA m6CVzqYjDMN0SpJO/T/0i0M= =8+N1 -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3-- From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 04:28:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B73516A416 for ; Sun, 10 Sep 2006 04:28:14 +0000 (UTC) (envelope-from umbilical.blisters@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65E1C43D45 for ; Sun, 10 Sep 2006 04:28:13 +0000 (GMT) (envelope-from umbilical.blisters@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1445690pye for ; Sat, 09 Sep 2006 21:28:12 -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=tWdjFBEQVjzMw0MFvTfOvq3uHu3K+trV4kMHFDXXVjlJFI0Q6dJPM6yHIbHeggXzxKaeQMo7pwRxXR0Yx7366cChrSHkMBpRf1T9+EhPvPXV8l0O25gkRjeNbfhVM9uzvcDVQqD92TU3fDVifNr03d8gdR7whRKDiJpinT1mDQ0= Received: by 10.35.50.1 with SMTP id c1mr6122028pyk; Sat, 09 Sep 2006 21:28:12 -0700 (PDT) Received: by 10.35.126.16 with HTTP; Sat, 9 Sep 2006 21:28:12 -0700 (PDT) Message-ID: <40c4bb930609092128l104cc3femb53e810b3f719dc2@mail.gmail.com> Date: Sat, 9 Sep 2006 23:28:12 -0500 From: "Alex Salazar" To: "Matthew Jacob" In-Reply-To: <7579f7fb0609091942p2f52d710v3daa0ccb291e67e4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <40c4bb930609020223h50c43537n1c8b32081ef5c1bf@mail.gmail.com> <7579f7fb0609021220y2d530c93pebb59bb2c0a70945@mail.gmail.com> <40c4bb930609081046m1e94266al6be8873e2149c607@mail.gmail.com> <7579f7fb0609091125j7f8abcebq3075d4bd474f21d@mail.gmail.com> <7579f7fb0609091127o2962d4dcxa0d658cd09899156@mail.gmail.com> <40c4bb930609091731q81d4e4agb0418e3b60d519c1@mail.gmail.com> <7579f7fb0609091942p2f52d710v3daa0ccb291e67e4@mail.gmail.com> X-Mailman-Approved-At: Sun, 10 Sep 2006 11:22:25 +0000 Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Several issues on Dell 1950/2950 servers (6-STABLE and 7-CURRENT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 04:28:15 -0000 On 9/9/06, Matthew Jacob wrote: > > > > > > Insofar as the Error 22- that's normal to see those for verbose > > > booting. They should be more informative as to why those are > > > occurring. > > > > > > > You're right. Those messages are evident only while verbose booting, > > so, I'm not really concerned about them but the huge delay on booting > > (up to 18 min) they represent on 6-STABLE. > > > > Hmm. I'll have to dig back thru the mail here but I don't get this. > On 6-STABLE, those "Error 22" messages on boot, show up too slowly, one character at a time, at about one line every 30 seconds, which delays the boot process on almost 20 (twenty) minutes. After that huge delay, the disc information is shown and the file system is fsck'ed, as usually. However, disabling APIC, eliminates this delay. On 7-CURRENT, there is not such delay, even though APIC was enabled. Regards. -- Alex From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 07:06:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2E3416A417 for ; Sun, 10 Sep 2006 07:06:37 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49EE243D46 for ; Sun, 10 Sep 2006 07:06:37 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1199033wxd for ; Sun, 10 Sep 2006 00:06:36 -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=qBpPzUeK5JPD+ee4mLVRAU2MVIlXNXy756KH/+Jn66ZX6q8TPAjOb0z/YQfv1zi1LbQU/PVlRwHgZZTweT5FBd/lwW7hBQ7vD3YcsvtHxYDFC2V0QODD3klnDH1A3hKNv03qCyN+aIPwakibkLmVcan/fpHc0gCToW8Cr/JRpuM= Received: by 10.90.28.12 with SMTP id b12mr1294196agb; Sat, 09 Sep 2006 23:59:32 -0700 (PDT) Received: by 10.90.70.6 with HTTP; Sat, 9 Sep 2006 23:59:31 -0700 (PDT) Message-ID: <7579f7fb0609092359k58ed21c2tbe52eb81f453dbb4@mail.gmail.com> Date: Sat, 9 Sep 2006 23:59:31 -0700 From: "Matthew Jacob" To: "Alex Salazar" In-Reply-To: <40c4bb930609092128l104cc3femb53e810b3f719dc2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <40c4bb930609020223h50c43537n1c8b32081ef5c1bf@mail.gmail.com> <7579f7fb0609021220y2d530c93pebb59bb2c0a70945@mail.gmail.com> <40c4bb930609081046m1e94266al6be8873e2149c607@mail.gmail.com> <7579f7fb0609091125j7f8abcebq3075d4bd474f21d@mail.gmail.com> <7579f7fb0609091127o2962d4dcxa0d658cd09899156@mail.gmail.com> <40c4bb930609091731q81d4e4agb0418e3b60d519c1@mail.gmail.com> <7579f7fb0609091942p2f52d710v3daa0ccb291e67e4@mail.gmail.com> <40c4bb930609092128l104cc3femb53e810b3f719dc2@mail.gmail.com> X-Mailman-Approved-At: Sun, 10 Sep 2006 11:22:49 +0000 Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Several issues on Dell 1950/2950 servers (6-STABLE and 7-CURRENT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 07:06:37 -0000 > On 6-STABLE, those "Error 22" messages on boot, show up too slowly, > one character at a time, at about one line every 30 seconds, which delays > the boot process on almost 20 (twenty) minutes. After that huge delay, the > disc information is shown and the file system is fsck'ed, as usually. However, > disabling APIC, eliminates this delay. > > On 7-CURRENT, there is not such delay, even though APIC was enabled. Oh, okay. Not an mpt issue (I'm somewhat narrowly focussed). From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 13:09:31 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EC4516A40F for ; Sun, 10 Sep 2006 13:09:31 +0000 (UTC) (envelope-from matthieu.michaud@epita.info) Received: from marge.cload.net (marge.cload.net [88.191.31.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7376A43D45 for ; Sun, 10 Sep 2006 13:09:30 +0000 (GMT) (envelope-from matthieu.michaud@epita.info) Received: (qmail 17765 invoked from network); 10 Sep 2006 13:09:26 -0000 Received: from unknown (HELO moe.cload.net) (192.168.2.16) by 0 with ESMTP; 10 Sep 2006 13:09:26 -0000 From: Matthieu Michaud To: current@freebsd.org Content-Type: text/plain Organization: EPITA SRS 2007 - Adaptive Hacking Date: Sun, 10 Sep 2006 15:09:21 +0200 Message-Id: <1157893761.28012.24.camel@moe.cload.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 10 Sep 2006 13:35:13 +0000 Cc: Subject: nfsv4 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 13:09:31 -0000 >From the April-June status report : "Robert Watson and Chuck Lever held a discussion about the future of the in-kernel NFSv4 client during BSDCan 2006. The current NFSv4 client is unmaintained. Chuck also pointed out the long series of unfixed PRs against the legacy client (NFSv2/3). These are at the top of his priority list. Robert is also interested in making NFSv4-style ACLs the lingua franca for FreeBSD file systems. There was some discussion about integrating Rick Maclem's NFSv4 server into 7.x." Is there any news about that ? I am very intersted in the NFSv4 support into FreeBSD. -- Matthieu Michaud EPITA SRS 2007 - Adaptive Hacking From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 15:42:20 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0787B16A416 for ; Sun, 10 Sep 2006 15:42:20 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFCE043D45 for ; Sun, 10 Sep 2006 15:42:18 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1630638pye for ; Sun, 10 Sep 2006 08:42:18 -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=d+o5HETsXWL2Y9Uggf5ZLJjVHNV8u8KKx39X0IgDhVEzW4YKdFXKFbOb3F+iLlNQjCOoWfAu+LHocVrCeaiZ28jmcnzTAhhc98HRBliZacGf+iyTYc/t22VKTbyzr2wYrRCeLgtOJMxS+5vaMXkPWYF06da6BzU9+e1xibg7aNY= Received: by 10.35.72.6 with SMTP id z6mr6990195pyk; Sun, 10 Sep 2006 08:42:18 -0700 (PDT) Received: by 10.35.114.2 with HTTP; Sun, 10 Sep 2006 08:42:18 -0700 (PDT) Message-ID: <70e8236f0609100842v2d10408blca90b966a1f5ff7@mail.gmail.com> Date: Sun, 10 Sep 2006 16:42:18 +0100 From: "Joao Barros" To: freebsd-current@freebsd.org In-Reply-To: <20060909200549.GA66552@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <70e8236f0609090456l31cb39d8if9bdf2d664886a13@mail.gmail.com> <200609091907.06716.max@love2party.net> <70e8236f0609091302i1c98f8f7t6ad32cd602b054c@mail.gmail.com> <20060909200549.GA66552@xor.obsecurity.org> X-Mailman-Approved-At: Sun, 10 Sep 2006 15:59:31 +0000 Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: panic: integer divide fault on 6.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 15:42:20 -0000 On 9/9/06, Kris Kennaway wrote: > On Sat, Sep 09, 2006 at 09:02:35PM +0100, Joao Barros wrote: > > On 9/9/06, Max Laier wrote: > > > > > >Can you try to get a dump, trace, or at least figure out which function > > >the IP is refering to? > > > > > > > Well, the problem only occurs when I boot from the disk and the > > installed kernel doesn't have debug support. > > Does 'set dumpdev=' work from the boot loader? I tried some > > combinations with no success. > > No. > > > I can try and install a 6-STABLE snapshot if there's no way of getting > > the info needed. > > You can either try to install a new kernel with DDB support, or follow > the "instruction pointer" method in the developers handbook chapter on > kernel debugging. I copied a CURRENT kernel from a 200608 snapshot and the problem also occurs thus I'm adding current@. My current laptop doesn't have a serial port so I'm copying this by hand: Fatal trap 18: integer divide fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xc08a1fb7 stack pointer = 0x28:0xc0c20b14 frame pointer = 0x28:0xc0c20b9c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) [thread pid 0 tid 0 ] Stopped at __qdivrem+0x3b: divl %ecx,%eax db> bt Tracing pid 0 tid0 td 0xc0a0c818 __qdivrem(37fdfa0,0,0,0,0,...) at __qdivrem+0x3b __udivdi3(37fdfa0,0,0,0) at __udivdi3+0x16 ata_raid_promise_read_meta(c37a5000,c09f4a80,1,8086,c37a5000,...) at ata_raid_promise_read_meta+0x9b ata_raid_read_metadata(c37a5000,c37a5000,c0c20c70,c06b58a4,c37a5000,...) at ata_raid_metadata+0x2be ata_raid_subdisk_attach(c37a5000) at ata_raid_subdisk_attach+0x33 device_attach(c37a5000,c37a5180,c37a5000,c36885c0,0,...) at device_attach+0x58 device_probe_and_attach(c37a5200,c37a5200,c08ec9a9,0,c37a5180,...) at bus_generic_attach+0x16 ad_attach(c37a5200) at ad_attach+0x2c8 device_attach(c37a5200,c095f2d0,c37a5200,0,c368d800,...) at device_attach+0x58 device_probe_and_attach(c37a5200) at device_probe_and_atach+0xe0 bus_generic_attach(c3659080,c3659080,ffffffff,0,c37a5200,...) at bus_generic_attach+0x16 ata_identify(c3659080) at ata_identify+0x1c8 ata_boot_attach(0xc0a11d80,0,c09212e7,47,...) at ata_boot_attach+0x3e run_interrupt_drive_config_hooks(0,c1ec00,c1e000,0,c0451065,...) at run_interrupt_drive_config_hooks+0x43 mi_startup() at mi_startup+0x96 begin() at begin+0x2c This board has a Promise SATA raid controller and it is disabled in the BIOS. I even tried disabling it through a jumper but it still stops. -- Joao Barros From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 16:16:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C69B116A403; Sun, 10 Sep 2006 16:16:19 +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 4D22843D4C; Sun, 10 Sep 2006 16:16:19 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.2] ([10.0.0.2]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k8AGGI82092996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 10 Sep 2006 09:16:18 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <45043A4F.3010308@errno.com> Date: Sun, 10 Sep 2006 09:16:15 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Joao Barros References: <70e8236f0609090456l31cb39d8if9bdf2d664886a13@mail.gmail.com> <200609091907.06716.max@love2party.net> <70e8236f0609091302i1c98f8f7t6ad32cd602b054c@mail.gmail.com> <20060909200549.GA66552@xor.obsecurity.org> <70e8236f0609100842v2d10408blca90b966a1f5ff7@mail.gmail.com> In-Reply-To: <70e8236f0609100842v2d10408blca90b966a1f5ff7@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 10 Sep 2006 16:33:19 +0000 Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: panic: integer divide fault on 6.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 16:16:20 -0000 Joao Barros wrote: > On 9/9/06, Kris Kennaway wrote: >> On Sat, Sep 09, 2006 at 09:02:35PM +0100, Joao Barros wrote: >> > On 9/9/06, Max Laier wrote: >> > > >> > >Can you try to get a dump, trace, or at least figure out which >> function >> > >the IP is refering to? >> > > >> > >> > Well, the problem only occurs when I boot from the disk and the >> > installed kernel doesn't have debug support. >> > Does 'set dumpdev=' work from the boot loader? I tried some >> > combinations with no success. >> >> No. >> >> > I can try and install a 6-STABLE snapshot if there's no way of getting >> > the info needed. >> >> You can either try to install a new kernel with DDB support, or follow >> the "instruction pointer" method in the developers handbook chapter on >> kernel debugging. > > I copied a CURRENT kernel from a 200608 snapshot and the problem also > occurs thus I'm adding current@. > My current laptop doesn't have a serial port so I'm copying this by hand: > > Fatal trap 18: integer divide fault while in kernel mode > cpuid = 0; apic id = 00 > instruction pointer = 0x20:0xc08a1fb7 > stack pointer = 0x28:0xc0c20b14 > frame pointer = 0x28:0xc0c20b9c > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 0 (swapper) > [thread pid 0 tid 0 ] > Stopped at __qdivrem+0x3b: divl %ecx,%eax > > db> bt > Tracing pid 0 tid0 td 0xc0a0c818 > __qdivrem(37fdfa0,0,0,0,0,...) at __qdivrem+0x3b > __udivdi3(37fdfa0,0,0,0) at __udivdi3+0x16 > ata_raid_promise_read_meta(c37a5000,c09f4a80,1,8086,c37a5000,...) at > ata_raid_promise_read_meta+0x9b > ata_raid_read_metadata(c37a5000,c37a5000,c0c20c70,c06b58a4,c37a5000,...) > at ata_raid_metadata+0x2be > ata_raid_subdisk_attach(c37a5000) at ata_raid_subdisk_attach+0x33 > device_attach(c37a5000,c37a5180,c37a5000,c36885c0,0,...) at > device_attach+0x58 > device_probe_and_attach(c37a5200,c37a5200,c08ec9a9,0,c37a5180,...) at > bus_generic_attach+0x16 > ad_attach(c37a5200) at ad_attach+0x2c8 > device_attach(c37a5200,c095f2d0,c37a5200,0,c368d800,...) at > device_attach+0x58 > device_probe_and_attach(c37a5200) at device_probe_and_atach+0xe0 > bus_generic_attach(c3659080,c3659080,ffffffff,0,c37a5200,...) at > bus_generic_attach+0x16 > ata_identify(c3659080) at ata_identify+0x1c8 > ata_boot_attach(0xc0a11d80,0,c09212e7,47,...) at ata_boot_attach+0x3e > run_interrupt_drive_config_hooks(0,c1ec00,c1e000,0,c0451065,...) at > run_interrupt_drive_config_hooks+0x43 > mi_startup() at mi_startup+0x96 > begin() at begin+0x2c > > This board has a Promise SATA raid controller and it is disabled in > the BIOS. I even tried disabling it through a jumper but it still > stops. > In sys/dev/ata/ata-raid.h the PROMISE_LBA macro does an unchecked calculation that apparently can divide by zero. Soren would likely understand the root cause of this problem but until then you can patch the driver to workaround the problem. Sam From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 17:45:24 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 495A416A415 for ; Sun, 10 Sep 2006 17:45:24 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id C450F43D46 for ; Sun, 10 Sep 2006 17:45:23 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5ED98.dip.t-dialin.net [84.165.237.152]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8AHNr8n082343 for ; Sun, 10 Sep 2006 19:23:54 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8AHjHNC086755 for ; Sun, 10 Sep 2006 19:45:18 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 10 Sep 2006 19:45:36 +0200 From: Alexander Leidinger To: current@freebsd.org Message-ID: <20060910194536.1b699733@Magellan.Leidinger.net> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Subject: panic: System call old.recv returning with 1 locks held X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 17:45:24 -0000 Hi, while running the Linux Test Project (ltp.sf.net) testsuite to check for bugs in our linuxolator, I got the panic mentioned in the subject. LTP was executing the semop5 testcase. The kernel dump doesn't look as if it is helpful: ---snip--- Unread portion of the kernel message buffer: panic: System call old.recv returning with 1 locks held Uptime: 3h51m44s Physical memory: 503 MB Dumping 101 MB: 86 70 54 (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to abort) 38 (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to abort) 22 6 #0 doadump () at pcpu.h:166 166 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) kldsyms add symbol table from file "/big/usr/src/sys/i386/compile/WORK/modules/big/usr/src/sys/modules/accf_data/accf_data.ko.debug" at .text_addr = 0xc078e498 [...] add symbol table from file "/big/usr/src/sys/i386/compile/WORK/modules/big/usr/src/sys/modules/sysvipc/sysvmsg/sysvmsg.ko.debug" at .text_addr = 0xc07e33dc .data_addr = 0xc07e5900 .bss_addr = 0xc07e5e88 add symbol table from file "/big/usr/src/sys/i386/compile/WORK/modules/big/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko.debug" at .text_addr = 0xc07e9790 .data_addr = 0xc07ec280 .bss_addr = 0xc07ec8a4 add symbol table from file "/big/usr/src/sys/i386/compile/WORK/modules/big/usr/src/sys/modules/sysvipc/sysvshm/sysvshm.ko.debug" at .text_addr = 0xc07ef4dc .data_addr = 0xc07f16a0 .bss_addr = 0xc07f1c6c [...] add symbol table from file "/big/usr/src/sys/i386/compile/WORK/modules/big/usr/src/sys/modules/linux/linux.ko.debug" at .text_addr = 0xc2a2b248 .data_addr = 0xc2a3b000 .bss_addr = 0xc2a3d780 [...] (kgdb) bt #0 doadump () at pcpu.h:166 During symbol reading, Incomplete CFI data; unspecified registers at 0xc04945a2.#1 0xc0494c72 in boot (howto=0x104) at ../../../kern/kern_shutdown.c:409 #2 0xc04947c1 in panic (fmt=0xc05c43b9 "System call %s returning with %d locks held") at ../../../kern/kern_shutdown.c:565 #3 0xc0588f7b in syscall (frame= {tf_fs = 0x3b, tf_es = 0x3b, tf_ds = 0x3b, tf_edi = 0x28060ca0, tf_esi = 0x0, tf_ebp = 0xbfbfea28, tf_isp = 0xd5b4ed64, tf_ebx = 0x9, tf_edx = 0x2817bff4, tf_ecx = 0xbfbfea00, tf_eax = 0xffffffa6, tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0x28120706, tf_cs = 0x33, tf_eflags = 0x247, tf_esp = 0xbfbfe9fc, tf_ss = 0x3b}) at ../../../i386/i386/trap.c:1060 #4 0xc057a7ff in Xint0x80_syscall () at ../../../i386/i386/exception.s:191 #5 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) ---snip--- Any ideas how to get more helpful info out of this? Bye, Alexander. -- "man hier" will explain the way FreeBSD filesystems are normally laid out. -- David Scheidt http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 17:28:32 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A81B616A407 for ; Sun, 10 Sep 2006 17:28:32 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77A0A43D49 for ; Sun, 10 Sep 2006 17:28:31 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1657942pye for ; Sun, 10 Sep 2006 10:28:31 -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=JitDUxjYNBDp+0bhzs1KYpXQTX0fEO4YxdAe8Adw64UPe1FtgYeO2WCMFKw3rWD/JiDoljDWLZyvlAAcc5tZy9vwPRlIzyjQ8n0MDdWP94WAoHpl7gUZw6yCwXqgGlUxTZC/Xz5f/ZWc3Kp3AHLKO9bp2Z0fop8vrH5CgLQQYZQ= Received: by 10.35.96.7 with SMTP id y7mr7152873pyl; Sun, 10 Sep 2006 10:28:30 -0700 (PDT) Received: by 10.35.114.2 with HTTP; Sun, 10 Sep 2006 10:28:30 -0700 (PDT) Message-ID: <70e8236f0609101028i20b0069dl5501d0fbb0647741@mail.gmail.com> Date: Sun, 10 Sep 2006 18:28:30 +0100 From: "Joao Barros" To: "Sam Leffler" In-Reply-To: <45043A4F.3010308@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <70e8236f0609090456l31cb39d8if9bdf2d664886a13@mail.gmail.com> <200609091907.06716.max@love2party.net> <70e8236f0609091302i1c98f8f7t6ad32cd602b054c@mail.gmail.com> <20060909200549.GA66552@xor.obsecurity.org> <70e8236f0609100842v2d10408blca90b966a1f5ff7@mail.gmail.com> <45043A4F.3010308@errno.com> X-Mailman-Approved-At: Sun, 10 Sep 2006 18:04:17 +0000 Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: panic: integer divide fault on 6.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 17:28:32 -0000 On 9/10/06, Sam Leffler wrote: > Joao Barros wrote: > > On 9/9/06, Kris Kennaway wrote: > >> On Sat, Sep 09, 2006 at 09:02:35PM +0100, Joao Barros wrote: > >> > On 9/9/06, Max Laier wrote: > >> > > > >> > >Can you try to get a dump, trace, or at least figure out which > >> function > >> > >the IP is refering to? > >> > > > >> > > >> > Well, the problem only occurs when I boot from the disk and the > >> > installed kernel doesn't have debug support. > >> > Does 'set dumpdev=' work from the boot loader? I tried some > >> > combinations with no success. > >> > >> No. > >> > >> > I can try and install a 6-STABLE snapshot if there's no way of getting > >> > the info needed. > >> > >> You can either try to install a new kernel with DDB support, or follow > >> the "instruction pointer" method in the developers handbook chapter on > >> kernel debugging. > > > > I copied a CURRENT kernel from a 200608 snapshot and the problem also > > occurs thus I'm adding current@. > > My current laptop doesn't have a serial port so I'm copying this by hand: > > > > Fatal trap 18: integer divide fault while in kernel mode > > cpuid = 0; apic id = 00 > > instruction pointer = 0x20:0xc08a1fb7 > > stack pointer = 0x28:0xc0c20b14 > > frame pointer = 0x28:0xc0c20b9c > > code segment = base 0x0, limit 0xfffff, type 0x1b > > = DPL 0, pres 1, def32 1, gran 1 > > processor eflags = interrupt enabled, resume, IOPL = 0 > > current process = 0 (swapper) > > [thread pid 0 tid 0 ] > > Stopped at __qdivrem+0x3b: divl %ecx,%eax > > > > db> bt > > Tracing pid 0 tid0 td 0xc0a0c818 > > __qdivrem(37fdfa0,0,0,0,0,...) at __qdivrem+0x3b > > __udivdi3(37fdfa0,0,0,0) at __udivdi3+0x16 > > ata_raid_promise_read_meta(c37a5000,c09f4a80,1,8086,c37a5000,...) at > > ata_raid_promise_read_meta+0x9b > > ata_raid_read_metadata(c37a5000,c37a5000,c0c20c70,c06b58a4,c37a5000,...) > > at ata_raid_metadata+0x2be > > ata_raid_subdisk_attach(c37a5000) at ata_raid_subdisk_attach+0x33 > > device_attach(c37a5000,c37a5180,c37a5000,c36885c0,0,...) at > > device_attach+0x58 > > device_probe_and_attach(c37a5200,c37a5200,c08ec9a9,0,c37a5180,...) at > > bus_generic_attach+0x16 > > ad_attach(c37a5200) at ad_attach+0x2c8 > > device_attach(c37a5200,c095f2d0,c37a5200,0,c368d800,...) at > > device_attach+0x58 > > device_probe_and_attach(c37a5200) at device_probe_and_atach+0xe0 > > bus_generic_attach(c3659080,c3659080,ffffffff,0,c37a5200,...) at > > bus_generic_attach+0x16 > > ata_identify(c3659080) at ata_identify+0x1c8 > > ata_boot_attach(0xc0a11d80,0,c09212e7,47,...) at ata_boot_attach+0x3e > > run_interrupt_drive_config_hooks(0,c1ec00,c1e000,0,c0451065,...) at > > run_interrupt_drive_config_hooks+0x43 > > mi_startup() at mi_startup+0x96 > > begin() at begin+0x2c > > > > This board has a Promise SATA raid controller and it is disabled in > > the BIOS. I even tried disabling it through a jumper but it still > > stops. > > > > In sys/dev/ata/ata-raid.h the PROMISE_LBA macro does an unchecked > calculation that apparently can divide by zero. Soren would likely > understand the root cause of this problem but until then you can patch > the driver to workaround the problem. > > Sam > > Thanks for narrowing it down! -- Joao Barros From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 18:44:01 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5622416A415 for ; Sun, 10 Sep 2006 18:44:01 +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 E2C4843D6A for ; Sun, 10 Sep 2006 18:44:00 +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 807AF1A3C20; Sun, 10 Sep 2006 11:44:00 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B3CDC513F0; Sun, 10 Sep 2006 14:43:59 -0400 (EDT) Date: Sun, 10 Sep 2006 14:43:59 -0400 From: Kris Kennaway To: Alexander Leidinger Message-ID: <20060910184359.GA7152@xor.obsecurity.org> References: <20060910194536.1b699733@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <20060910194536.1b699733@Magellan.Leidinger.net> User-Agent: Mutt/1.4.2.2i Cc: current@freebsd.org Subject: Re: panic: System call old.recv returning with 1 locks held X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 18:44:01 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 10, 2006 at 07:45:36PM +0200, Alexander Leidinger wrote: > Hi, >=20 > while running the Linux Test Project (ltp.sf.net) testsuite to check > for bugs in our linuxolator, I got the panic mentioned in the subject. >=20 > LTP was executing the semop5 testcase. >=20 > The kernel dump doesn't look as if it is helpful: > ---snip--- > Unread portion of the kernel message buffer: > panic: System call old.recv returning with 1 locks held > Uptime: 3h51m44s > Physical memory: 503 MB > Dumping 101 MB: 86 70 54 (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to= abort) 38 (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to abort) 22 6 >=20 > #0 doadump () at pcpu.h:166 > 166 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); > (kgdb) kldsyms > add symbol table from file > "/big/usr/src/sys/i386/compile/WORK/modules/big/usr/src/sys/modules/accf_= data/accf_data.ko.debug" > at .text_addr =3D 0xc078e498 > [...] > add symbol table from file > "/big/usr/src/sys/i386/compile/WORK/modules/big/usr/src/sys/modules/sysvi= pc/sysvmsg/sysvmsg.ko.debug" > at .text_addr =3D 0xc07e33dc .data_addr =3D 0xc07e5900 > .bss_addr =3D 0xc07e5e88 > add symbol table from file > "/big/usr/src/sys/i386/compile/WORK/modules/big/usr/src/sys/modules/sysvi= pc/sysvsem/sysvsem.ko.debug" > at .text_addr =3D 0xc07e9790 .data_addr =3D 0xc07ec280 > .bss_addr =3D 0xc07ec8a4 > add symbol table from file > "/big/usr/src/sys/i386/compile/WORK/modules/big/usr/src/sys/modules/sysvi= pc/sysvshm/sysvshm.ko.debug" > at .text_addr =3D 0xc07ef4dc .data_addr =3D 0xc07f16a0 > .bss_addr =3D 0xc07f1c6c > [...] > add symbol table from file > "/big/usr/src/sys/i386/compile/WORK/modules/big/usr/src/sys/modules/linux= /linux.ko.debug" > at .text_addr =3D 0xc2a2b248 .data_addr =3D 0xc2a3b000 > .bss_addr =3D 0xc2a3d780 > [...] > (kgdb) bt > #0 doadump () at pcpu.h:166 > During symbol reading, Incomplete CFI data; unspecified registers at > 0xc04945a2.#1 0xc0494c72 in boot (howto=3D0x104) > at ../../../kern/kern_shutdown.c:409 #2 0xc04947c1 in panic > (fmt=3D0xc05c43b9 "System call %s returning with %d locks held") > at ../../../kern/kern_shutdown.c:565 #3 0xc0588f7b in syscall (frame=3D > {tf_fs =3D 0x3b, tf_es =3D 0x3b, tf_ds =3D 0x3b, tf_edi =3D 0x28060ca0, t= f_esi > =3D 0x0, tf_ebp =3D 0xbfbfea28, tf_isp =3D 0xd5b4ed64, tf_ebx =3D 0x9, tf= _edx =3D > 0x2817bff4, tf_ecx =3D 0xbfbfea00, tf_eax =3D 0xffffffa6, tf_trapno =3D 0= xc, > tf_err =3D 0x2, tf_eip =3D 0x28120706, tf_cs =3D 0x33, tf_eflags =3D 0x24= 7, > tf_esp =3D 0xbfbfe9fc, tf_ss =3D 0x3b}) at ../../../i386/i386/trap.c:1060 > #4 0xc057a7ff in Xint0x80_syscall () > at ../../../i386/i386/exception.s:191 #5 0x00000033 in ?? () Previous > frame inner to this frame (corrupt stack?) > ---snip--- >=20 > Any ideas how to get more helpful info out of this? Enable DEBUG_LOCKS and DEBUG_VFS_LOCKS then run 'show lockedvnods' from DDB to find out where the lockmgr lock was acquired. Kris --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFBFzvWry0BWjoQKURAnufAKCr/vDi8eiszgYVwUAquSez+QhjUgCghSjK GbhlxiTDEIObwClYHaeOQ70= =7wOv -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 19:02:34 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 843C616A53A for ; Sun, 10 Sep 2006 19:02:34 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id C97F743D4C for ; Sun, 10 Sep 2006 19:02:33 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1354087wxd for ; Sun, 10 Sep 2006 12:02:33 -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=azH6TPkyeiUlrOB/ucOZpndKme2eywaLZSTpBOW3UJYRI47xM/50wfsuwSEk6/NBM9w87j4REu6ixny8/6CY2zDvx8u8ACM0BMbPJ2HjxTNkkCTK4c6ly+isRt/M2xFMhZrlX3MpXf/yw9ao5XQP5gi4lTZKncP42hgFjLDkElU= Received: by 10.90.116.6 with SMTP id o6mr1378803agc; Sun, 10 Sep 2006 11:55:36 -0700 (PDT) Received: by 10.90.70.6 with HTTP; Sun, 10 Sep 2006 11:55:36 -0700 (PDT) Message-ID: <7579f7fb0609101155t4540f6fv461c88c012564745@mail.gmail.com> Date: Sun, 10 Sep 2006 11:55:36 -0700 From: "Matthew Jacob" To: "Oleg Bulyzhin" In-Reply-To: <20060908084607.GA14414@lath.rinet.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7579f7fb0609071142t55ed3d6bib8c31db807cde0f7@mail.gmail.com> <20060908084607.GA14414@lath.rinet.ru> Cc: David Christensen , LI Xin , "Simon L. Nielsen" , freebsd-current@freebsd.org Subject: Re: Speaking of BGE(4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 19:02:34 -0000 Alas no, the patch didn't work. Going back to 1.140 did. From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 20:59:49 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAD9316A403 for ; Sun, 10 Sep 2006 20:59:49 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3343D43D4C for ; Sun, 10 Sep 2006 20:59:48 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E294.dip.t-dialin.net [84.165.226.148]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8AKcHWl083006; Sun, 10 Sep 2006 22:38:18 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8AKxirq014197; Sun, 10 Sep 2006 22:59:44 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 10 Sep 2006 23:00:03 +0200 From: Alexander Leidinger To: Kris Kennaway Message-ID: <20060910230003.28fbc780@Magellan.Leidinger.net> In-Reply-To: <20060910184359.GA7152@xor.obsecurity.org> References: <20060910194536.1b699733@Magellan.Leidinger.net> <20060910184359.GA7152@xor.obsecurity.org> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new Cc: current@freebsd.org Subject: Re: panic: System call old.recv returning with 1 locks held X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 20:59:49 -0000 Quoting Kris Kennaway (Sun, 10 Sep 2006 14:43:59 -0400): > Enable DEBUG_LOCKS and DEBUG_VFS_LOCKS then run 'show lockedvnods' > from DDB to find out where the lockmgr lock was acquired. I've enabled them (and WITNESS, INVARIANTS and DIAGNOSTICS) and rebuild the kernel. Not much files where rebuild. show lockedvnods did not show any locks. Other show XXX commands did show nothing too. show lockchain showed a process. It's send01 (a LTP testcase). The ddb bt command showed not much more. I got "syscall -90" (dup2?) and the registers eip=0x28120706, esp=0xbfbfe9fc and ebp=0xbfbfea28. While rebooting I got another panic: ---snip--- <118> log ICMP redirect=YES <118>. <118>Mounting NFS file systems: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x7572747b fault code = supervisor read, page not present instruction pointer = 0x20:0xc04e3035 stack pointer = 0x28:0xd494988c frame pointer = 0x28:0xd4949898 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 427 (mount_nfs) trap number = 12 panic: page fault Uptime: 47s Physical memory: 503 MB (kgdb) bt #0 doadump () at pcpu.h:166 During symbol reading, Incomplete CFI data; unspecified registers at 0xc049569e.#1 0xc0495dc1 in boot (howto=0x104) at ../../../kern/kern_shutdown.c:409 #2 0xc04958bd in panic (fmt=0xc05a5d32 "%s") at ../../../kern/kern_shutdown.c:565 #3 0xc058db72 in trap_fatal (frame=0xd494984c, eva=0x7572747b) at ../../../i386/i386/trap.c:867 #4 0xc058dcdd in trap_pfault (frame=0xd494984c, usermode=0x0, eva=0x7572747b) at ../../../i386/i386/trap.c:776 #5 0xc058e04f in trap (frame= {tf_fs = 0x8, tf_es = 0x28, tf_ds = 0x28, tf_edi = 0x75727473, tf_esi = 0xc27fa5a8, tf_ebp = 0xd4949898, tf_isp = 0xd4949878, tf_ebx = 0xc05ef780, tf_edx = 0x10000000, tf_ecx = 0x4, tf_eax = 0xc05b95d6, tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xc04e3035, tf_cs = 0x20, tf_eflags = 0x10202, tf_esp = 0xc05ef780, tf_ss = 0xc27fa5a8}) at ../../../i386/i386/trap.c:461 #6 0xc057fefa in calltrap () at ../../../i386/i386/exception.s:138 #7 0xc04e3035 in vfs_filteropt (opts=0xc05b95d6, legal=0xc2960ae4) at ../../../kern/vfs_mount.c:1648 #8 0xc2949dd9 in ?? () #9 0xc05b95d6 in ?? () #10 0xc2960ae4 in ?? () #11 0x000003a1 in ?? () #12 0x00000008 in ?? () #13 0xc0607758 in w_lock_list_free () #14 0xc05b46a4 in ?? () #15 0xc05aff94 in ?? () #16 0xc2460010 in ?? () #17 0xd49498d8 in ?? () #18 0xc04ba3fb in fixup_filename (file=0xc05ef780 " �^�") at ../../../kern/subr_witness.c:764 #19 0xc04e2244 in vfs_donmount (td=0xc26c66c0, fsflags=0xc292d000, fsoptions=0xd4949bb4) at ../../../kern/vfs_mount.c:947 #20 0xc04e3962 in kernel_mount (ma=0xc26c3610, flags=0x10000000) at pcpu.h:163 #21 0xc2949671 in ?? () #22 0xc26c3610 in ?? () #23 0x10000000 in ?? () #24 0xc26c3610 in ?? () #25 0xc295dd48 in ?? () #26 0xd4949bfc in ?? () #27 0x00000058 in ?? () #28 0x00000003 in ?? () #29 0x082081b0 in ?? () #30 0x00000010 in ?? () #31 0x00000002 in ?? () #32 0x00000000 in ?? () #33 0x082d0120 in ?? () #34 0x0000001c in ?? () #35 0x00008240 in ?? () #36 0x00002000 in ?? () #37 0x00002000 in ?? () #38 0x00002000 in ?? () #39 0x0000000a in ?? () #40 0x0000000a in ?? () #41 0x00000010 in ?? () #42 0x00000001 in ?? () #43 0x00000000 in ?? () #44 0x00000009 in ?? () #45 0x0804c8a0 in ?? () #46 0x00000003 in ?? () #47 0x0000003c in ?? () #48 0x0000001e in ?? () #49 0x0000003c in ?? () #50 0xc04e37cb in mount (td=0xc26c3610, uap=0xd4949bfc) at ../../../kern/vfs_mount.c:767 #51 0xc04e37e0 in mount (td=0xc26c66c0, uap=0xc26c38a0) at ../../../kern/vfs_mount.c:769 #52 0xc058e520 in syscall (frame= {tf_fs = 0x3b, tf_es = 0x3b, tf_ds = 0x3b, tf_edi = 0xbfbfef77, tf_esi = 0xbfbfedec, tf_ebp = 0xbfbfee58, tf_isp = 0xd4949d64, tf_ebx = 0xbfbfe9ec, tf_edx = 0xbfbfe9ec, tf_ecx = 0xbfbfe96c, tf_eax = 0x15, tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0x280c37a7, tf_cs = 0x33, tf_eflags = 0x246, tf_esp = 0xbfbfe9c4, tf_ss = 0x3b}) at ../../../i386/i386/trap.c:1006 #53 0xc057ff4f in Xint0x80_syscall () at ../../../i386/i386/exception.s:191 #54 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) ---snip--- Does not look very promising to me... And while I'm at it: "WITNESS: spin lock pps not in order list" Tomorrow I will comment out the send01 test and try again if it still panics. If it doesn't we can at least have a look what send01 does. Bye, Alexander. -- 25: Multithreaded Wir mußten ein Flußdiagramm malen, um es zu debuggen. (Kristian Köhntopp) http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 21:10:26 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8180916A407 for ; Sun, 10 Sep 2006 21:10:26 +0000 (UTC) (envelope-from jos@catnook.com) Received: from lizzy.dyndns.org (209-204-181-78.dsl.static.sonic.net [209.204.181.78]) by mx1.FreeBSD.org (Postfix) with SMTP id 0CF4043D45 for ; Sun, 10 Sep 2006 21:10:25 +0000 (GMT) (envelope-from jos@catnook.com) Received: (qmail 1249 invoked by uid 1000); 10 Sep 2006 21:10:47 -0000 Date: Sun, 10 Sep 2006 14:10:25 -0700 From: Jos Backus To: freebsd-current@FreeBSD.org Message-ID: <20060910211047.GA1216@lizzy.catnook.local> Mail-Followup-To: freebsd-current@FreeBSD.org References: <20060829170124.GA1818@lizzy.catnook.local> <20060901151404.C18193@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060901151404.C18193@fledge.watson.org> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Re: Retrieving info from panics while in X X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jos@catnook.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 21:10:26 -0000 So this panic happened again. Here's some information about it: lizzy:~% sudo kgdb /usr/obj/usr/src/sys/LIZZY/kernel.debug crash/vmcore.0 kgdb: kvm_nlist(_stopped_cpus): kgdb: kvm_nlist(_stoppcbs): [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: Slab at 0xc4d1efa8, freei 8 = 0. panic: Duplicate free of item 0xc4d1e800 from zone 0xc0c45080(mbuf_packet) Uptime: 8h43m17s Physical memory: 1018 MB Dumping 172 MB: 157 141 125 109 93 77 61 45 29 13 #0 doadump () at pcpu.h:166 166 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:166 #1 0xc04c4250 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc04c44fb in panic ( fmt=0xc0610aa7 "Duplicate free of item %p from zone %p(%s)\n") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0xc058cc0c in uma_dbg_free (zone=0xc0c45080, slab=0xc4d1efa8, item=0xc4d1e800) at /usr/src/sys/vm/uma_dbg.c:302 #4 0xc058b43f in uma_zfree_arg (zone=0xc0c45080, item=0xc4d1e800, udata=0x0) at /usr/src/sys/vm/uma_core.c:2269 #5 0xc04ff1c1 in mb_free_ext (m=0xc4d1e800) at uma.h:303 #6 0xc04ff02e in m_freem (mb=0x0) at mbuf.h:446 #7 0xc0723b4c in ?? () #8 0xc4d1e800 in ?? () #9 0xc30ae800 in ?? () #10 0x00000100 in ?? () #11 0xc3080000 in ?? () #12 0xc3080000 in ?? () #13 0xc30801cc in ?? () #14 0x00000018 in ?? () #15 0xe35bdcc8 in ?? () #16 0xc072852b in ?? () #17 0xc30801cc in ?? () #18 0x00000000 in ?? () #19 0xc0733ae5 in ?? () #20 0x000004e9 in ?? () #21 0xc3032780 in ?? () #22 0x00000001 in ?? () #23 0xe35bdca8 in ?? () #24 0xc04d9bcf in critical_exit () at kern_switch.c:625 Previous frame inner to this frame (corrupt stack?) (kgdb) Let me know what other bits of info you need in order to debug this. -- Jos Backus jos at catnook.com From owner-freebsd-current@FreeBSD.ORG Sun Sep 10 21:15:57 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FB3216A403 for ; Sun, 10 Sep 2006 21:15:57 +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 4369D43D45 for ; Sun, 10 Sep 2006 21:15: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 27C8E1A3C20; Sun, 10 Sep 2006 14:15:57 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 903D751486; Sun, 10 Sep 2006 17:15:56 -0400 (EDT) Date: Sun, 10 Sep 2006 17:15:56 -0400 From: Kris Kennaway To: Alexander Leidinger Message-ID: <20060910211556.GA9924@xor.obsecurity.org> References: <20060910194536.1b699733@Magellan.Leidinger.net> <20060910184359.GA7152@xor.obsecurity.org> <20060910230003.28fbc780@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <20060910230003.28fbc780@Magellan.Leidinger.net> User-Agent: Mutt/1.4.2.2i Cc: current@freebsd.org, Kris Kennaway Subject: Re: panic: System call old.recv returning with 1 locks held X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 21:15:57 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 10, 2006 at 11:00:03PM +0200, Alexander Leidinger wrote: > Quoting Kris Kennaway (Sun, 10 Sep 2006 14:43:59 -0= 400): >=20 > > Enable DEBUG_LOCKS and DEBUG_VFS_LOCKS then run 'show lockedvnods' > > from DDB to find out where the lockmgr lock was acquired. >=20 > I've enabled them (and WITNESS, INVARIANTS and DIAGNOSTICS) and rebuild > the kernel. Not much files where rebuild. That's a warning sign; almost every file in the kernel should have been rebuilt when you turned on WITNESS and INVARIANTS. Perhaps you didn't run 'make depend'? > show lockedvnods did not show any locks. Odd, I thought your initial panic was from a held lockmgr lock, so it should have showed up here. > Other show XXX commands did > show nothing too. show lockchain showed a process. It's send01 (a LTP > testcase). The ddb bt command showed not much more. I got "syscall > -90" (dup2?) and the registers eip=3D0x28120706, esp=3D0xbfbfe9fc and > ebp=3D0xbfbfea28. >=20 > While rebooting I got another panic: This panic also looks like a symptom of an inconsistent kernel: > at ../../../i386/i386/trap.c:461 #6 0xc057fefa in calltrap () > at ../../../i386/i386/exception.s:138 #7 0xc04e3035 in vfs_filteropt > (opts=3D0xc05b95d6, legal=3D0xc2960ae4) at ../../../kern/vfs_mount.c:1648 > #8 0xc2949dd9 in ?? () #9 0xc05b95d6 in ?? () #10 0xc2960ae4 in ?? () > #11 0x000003a1 in ?? () #12 0x00000008 in ?? () #13 0xc0607758 in > w_lock_list_free () #14 0xc05b46a4 in ?? () #15 0xc05aff94 in ?? () #16 > 0xc2460010 in ?? () #17 0xd49498d8 in ?? () #18 0xc04ba3fb in > fixup_filename (file=3D0xc05ef780 " ???^???") > at ../../../kern/subr_witness.c:764 #19 0xc04e2244 in vfs_donmount > (td=3D0xc26c66c0, fsflags=3D0xc292d000, fsoptions=3D0xd4949bb4) > at ../../../kern/vfs_mount.c:947 #20 0xc04e3962 in kernel_mount > (ma=3D0xc26c3610, flags=3D0x10000000) at pcpu.h:163 #21 0xc2949671 in ?? = () Kris --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFBICMWry0BWjoQKURAjs/AJ9scyW8eS5CeqD3B6oYj4xJ2dFj7wCfQ7cp RAykjxqa8VyWxLMhkRpcD6U= =3old -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 04:45:32 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9589E16A407 for ; Mon, 11 Sep 2006 04:45:32 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADD2643D45 for ; Mon, 11 Sep 2006 04:45:30 +0000 (GMT) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from ednmsw501.dsto.defence.gov.au (ednmsw501.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au with ESMTP id k8B4hYlA008308 for ; Mon, 11 Sep 2006 14:13:34 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by ednmsw501.dsto.defence.gov.au (Content Technologies SMTPRS 4.3.17) with ESMTP id for ; Mon, 11 Sep 2006 14:15:24 +0930 Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au [131.185.2.170]) by muttley.dsto.defence.gov.au (8.11.3/8.11.3) with ESMTP id k8B4Xd702028 for ; Mon, 11 Sep 2006 14:03:39 +0930 (CST) Received: from obelix.dsto.defence.gov.au ([203.6.60.208]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC (6.0.3790.1830); Mon, 11 Sep 2006 14:03:39 +0930 Received: from obelix.dsto.defence.gov.au (localhost [127.0.0.1]) by obelix.dsto.defence.gov.au (8.13.7/8.13.7) with ESMTP id k8B4X7Lc012936 for ; Mon, 11 Sep 2006 12:33:07 +0800 (WST) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by obelix.dsto.defence.gov.au (8.13.7/8.13.8/Submit) id k8B4X6pZ012935 for freebsd-current@freebsd.org; Mon, 11 Sep 2006 12:33:06 +0800 (WST) (envelope-from wilkinsa) Date: Mon, 11 Sep 2006 12:33:06 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org Message-ID: <20060911043306.GH12286@obelix.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.12-2006-07-14 X-OriginalArrivalTime: 11 Sep 2006 04:33:39.0337 (UTC) FILETIME=[741BFF90:01C6D55B] X-TM-AS-Product-Ver: SMEX-7.0.0.1345-3.6.1039-14680.000 X-TM-AS-Result: No-0.322400-0.000000-31 Subject: mount: Abort trap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 04:45:32 -0000 Hi all, Does anyone whatsup here: # mount hostname:/mnt/tmp /mnt/tmp mount: /mnt/tmp: Abort trap Truss OutPut: mmap(0x0,4096,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 672460800 (0x2814f000) break(0x804f000) = 0 (0x0) break(0x8050000) = 0 (0x0) fork() = 59817 (0xe9a9) wait4(0xe9a9,0xbfbfdf38,0x0,0x0) = 59817 (0xe9a9) mount: write(2,0xbfbfd8e0,7) = 7 (0x7) /mnt/tmp: Abort trapwrite(2,0xbfbfd900,20) = 20 (0x14) write(2,0x2813a333,1) = 1 (0x1) exit(0x1) process exit, rval = 256 Mounting over NFS from FreeBSD-CURRENT to FreeBSD-6.1-RELEASE. -aW From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 05:46:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D9BD16A403; Mon, 11 Sep 2006 05:46:59 +0000 (UTC) (envelope-from if@hetzner.co.za) Received: from hetzner.co.za (office.cpt2.host-h.net [196.7.147.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 973B943D49; Mon, 11 Sep 2006 05:46:57 +0000 (GMT) (envelope-from if@hetzner.co.za) Received: from localhost ([127.0.0.1] helo=ian.hetzner.africa) by hetzner.co.za with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GMedA-0003eD-Vj; Mon, 11 Sep 2006 07:46:52 +0200 To: Prafulla Deuskar From: Ian FREISLICH In-Reply-To: Message from Prafulla Deuskar of "Sat, 09 Sep 2006 07:00:15 GMT." <20060909070015.GA71855@hub.freebsd.org> X-Attribution: BOFH Date: Mon, 11 Sep 2006 07:46:52 +0200 Message-Id: Cc: Pyun YongHyeon , freebsd-net , freebsd-current , Jack Vogel Subject: Re: RFC: TSO patch for current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 05:46:59 -0000 Prafulla Deuskar wrote: > Pyun YongHyeon [pyunyh@gmail.com] wrote: > >What happen if users disable hardware > > VLAN tag insertion with ifconfig(8)? > > TSO requires that VLAN tag insertion is done by hardware This is bad news. I use CARP interfaces in all my VLANs which places the interface in promiscuous mode. I've noted that the em driver stops tagging ethernet frames when hardware tag insertion is enabled and the interface is in promiscuous mode. I don't know enough to determine whether this is a hardware or software bug. Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 10:02:37 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0C4B16A403 for ; Mon, 11 Sep 2006 10:02:37 +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 E286143DE7 for ; Mon, 11 Sep 2006 10:01:37 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id B616148A2B; Mon, 11 Sep 2006 12:01:31 +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 03DFE48A26; Mon, 11 Sep 2006 12:01:26 +0200 (CEST) Date: Mon, 11 Sep 2006 12:01:18 +0200 From: Pawel Jakub Dawidek To: Kris Kennaway Message-ID: <20060911100117.GA92022@garage.freebsd.pl> References: <20060910194536.1b699733@Magellan.Leidinger.net> <20060910184359.GA7152@xor.obsecurity.org> <20060910230003.28fbc780@Magellan.Leidinger.net> <20060910211556.GA9924@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <20060910211556.GA9924@xor.obsecurity.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (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: Alexander Leidinger , current@freebsd.org Subject: Re: panic: System call old.recv returning with 1 locks held X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 10:02:37 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 10, 2006 at 05:15:56PM -0400, Kris Kennaway wrote: > On Sun, Sep 10, 2006 at 11:00:03PM +0200, Alexander Leidinger wrote: > > Quoting Kris Kennaway (Sun, 10 Sep 2006 14:43:59 = -0400): > >=20 > > > Enable DEBUG_LOCKS and DEBUG_VFS_LOCKS then run 'show lockedvnods' > > > from DDB to find out where the lockmgr lock was acquired. > >=20 > > I've enabled them (and WITNESS, INVARIANTS and DIAGNOSTICS) and rebuild > > the kernel. Not much files where rebuild. >=20 > That's a warning sign; almost every file in the kernel should have > been rebuilt when you turned on WITNESS and INVARIANTS. Perhaps you > didn't run 'make depend'? >=20 > > show lockedvnods did not show any locks. >=20 > Odd, I thought your initial panic was from a held lockmgr lock, so it > should have showed up here. In HEAD (not sure if it was MFCed) jhb@ added code to track number of mutexes/sx-locks acquired/released. So bascially this panic can happen when you leak a lock of any kind. 'show alllocks' has to show them when the kernel (and modules) is compiled with WITNESS. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFBTPtForvXbEpPzQRAg8nAKDwE3ouyO+VRPGlwpVo2kb6ojsyWgCdEuxZ Hm6amt0U6zzvWb8jUjIma5I= =cgtA -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 14:14:01 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46D3C16A403 for ; Mon, 11 Sep 2006 14:14:01 +0000 (UTC) (envelope-from bkoenig@cs.tu-berlin.de) Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC1D843D46 for ; Mon, 11 Sep 2006 14:14:00 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-42-252.dynamic.qsc.de [212.202.42.252]) by efacilitas.de (Postfix) with ESMTP id A480C4D401 for ; Mon, 11 Sep 2006 16:13:55 +0200 (CEST) Received: from [192.168.1.2] (muhkuh.local [192.168.1.2]) by eurystheus.local (Postfix) with ESMTP id BC6FC5285D for ; Mon, 11 Sep 2006 16:13:53 +0200 (CEST) Message-ID: <45056F34.2020208@cs.tu-berlin.de> Date: Mon, 11 Sep 2006 16:14:12 +0200 From: =?ISO-8859-15?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Subject: setting a password expiry date in login.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 14:14:01 -0000 Hello, I submitted a patch seven months ago (bin/93473) that adds a new functionality to pam_unix(8). It allows you to use a password expiry date in login.conf. It would be nice if someone can have a look at it, test it or even commit it. I have the feeling that it got lost. :-) http://www.freebsd.org/cgi/query-pr.cgi?pr=93473 Regards Bjrn From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 17:47:30 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 957D416A47B; Mon, 11 Sep 2006 17:47:30 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16BB943D49; Mon, 11 Sep 2006 17:47:23 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E294.dip.t-dialin.net [84.165.226.148]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8BHPgYZ087854; Mon, 11 Sep 2006 19:25:42 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8BHlJ3Y089591; Mon, 11 Sep 2006 19:47:19 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 11 Sep 2006 19:47:40 +0200 From: Alexander Leidinger To: Pawel Jakub Dawidek Message-ID: <20060911194740.0c671c28@Magellan.Leidinger.net> In-Reply-To: <20060911100117.GA92022@garage.freebsd.pl> References: <20060910194536.1b699733@Magellan.Leidinger.net> <20060910184359.GA7152@xor.obsecurity.org> <20060910230003.28fbc780@Magellan.Leidinger.net> <20060910211556.GA9924@xor.obsecurity.org> <20060911100117.GA92022@garage.freebsd.pl> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: current@freebsd.org, Kris Kennaway Subject: Re: panic: System call old.recv returning with 1 locks held X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 17:47:30 -0000 Quoting Pawel Jakub Dawidek (Mon, 11 Sep 2006 12:01:18 +0200): > In HEAD (not sure if it was MFCed) jhb@ added code to track number of > mutexes/sx-locks acquired/released. So bascially this panic can happen > when you leak a lock of any kind. > > 'show alllocks' has to show them when the kernel (and modules) is > compiled with WITNESS. exclusive sleep mutex so_snd r=0 (0xc2b204c4) locked @ kern/uipc_socket.c:984 ---snip--- (kgdb) bt #0 doadump () at pcpu.h:166 During symbol reading, Incomplete CFI data; unspecified registers at 0xc049569e.#1 0xc043c4a5 in db_fncall (dummy1=0xc04b058b, dummy2=0x0, dummy3=0xffffffff, dummy4=0xd5f34a7c "") at ../../../ddb/db_command.c:481 #2 0xc043c77c in db_command_loop () at ../../../ddb/db_command.c:396 #3 0xc043dfce in db_trap (type=0x3, code=0x0) at ../../../ddb/db_main.c:221 #4 0xc04b08d7 in kdb_trap (type=0x3, code=0x0, tf=0x0) at ../../../kern/subr_kdb.c:502 #5 0xc058e1a4 in trap (frame= {tf_fs = 0x8, tf_es = 0x28, tf_ds = 0x28, tf_edi = 0x100, tf_esi = 0xc05b4a30, tf_ebp = 0xd5f34c3c, tf_isp = 0xd5f34c28, tf_ebx = 0xd5f34c64, tf_edx = 0xc05b03be, tf_ecx = 0xc05b2a79, tf_eax = 0xc05b2a69, tf_trapno = 0x3, tf_err = 0x0, tf_eip = 0xc04b058b, tf_cs = 0x20, tf_eflags = 0x282, tf_esp = 0xd5f34c58, tf_ss = 0xc0495870}) at ../../../i386/i386/trap.c:620 #6 0xc057fefa in calltrap () at ../../../i386/i386/exception.s:138 #7 0xc04b058b in kdb_enter (msg=0xc05b2a69 "KDB: enter: %s\n") at cpufunc.h:60 #8 0xc0495870 in panic (fmt=0xc05b4a30 "witness_warn") at ../../../kern/kern_shutdown.c:549 #9 0xc04bac2e in witness_warn (flags=0x1, lock=0x0, fmt=0xc05cc56b "System call %s returning") at ../../../kern/subr_witness.c:1358 #10 0xc058e61f in syscall (frame= {tf_fs = 0x3b, tf_es = 0x3b, tf_ds = 0x3b, tf_edi = 0x28060ca0, tf_esi = 0x0, tf_ebp = 0xbfbfea28, tf_isp = 0xd5f34d64, tf_ebx = 0x9, tf_edx = 0x2817bff4, tf_ecx = 0xbfbfea00, tf_eax = 0xffffffa6, tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0x28120706, tf_cs = 0x33, tf_eflags = 0x247, tf_esp = 0xbfbfe9fc, tf_ss = 0x3b}) at ../../../i386/i386/trap.c:1055 #11 0xc057ff4f in Xint0x80_syscall () at ../../../i386/i386/exception.s:191 #12 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) ---snip--- How to track this down? The LTP test which causes this is send01 ("Verify that send() returns the proper errno for various failure cases") executed as a linux program: http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/syscalls/send/send01.c?revision=1.6&view=markup Bye, Alexander. -- Love sometimes expresses itself in sacrifice. -- Kirk, "Metamorphosis", stardate 3220.3 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 18:02:32 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25D8D16A47E; Mon, 11 Sep 2006 18:02:32 +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 6EE2643D58; Mon, 11 Sep 2006 18:02:30 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id EE2A048A31; Mon, 11 Sep 2006 20:02:28 +0200 (CEST) Received: from localhost (dlg59.neoplus.adsl.tpnet.pl [83.24.36.59]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6128545696; Mon, 11 Sep 2006 20:02:15 +0200 (CEST) Date: Mon, 11 Sep 2006 20:02:05 +0200 From: Pawel Jakub Dawidek To: Alexander Leidinger Message-ID: <20060911180205.GA44856@garage.freebsd.pl> References: <20060910194536.1b699733@Magellan.Leidinger.net> <20060910184359.GA7152@xor.obsecurity.org> <20060910230003.28fbc780@Magellan.Leidinger.net> <20060910211556.GA9924@xor.obsecurity.org> <20060911100117.GA92022@garage.freebsd.pl> <20060911194740.0c671c28@Magellan.Leidinger.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <20060911194740.0c671c28@Magellan.Leidinger.net> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (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: rwatson@FreeBSD.org, current@freebsd.org, Kris Kennaway Subject: Re: panic: System call old.recv returning with 1 locks held X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 18:02:32 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 11, 2006 at 07:47:40PM +0200, Alexander Leidinger wrote: > Quoting Pawel Jakub Dawidek (Mon, 11 Sep 2006 12:01:18 = +0200): >=20 > > In HEAD (not sure if it was MFCed) jhb@ added code to track number of > > mutexes/sx-locks acquired/released. So bascially this panic can happen > > when you leak a lock of any kind. > >=20 > > 'show alllocks' has to show them when the kernel (and modules) is > > compiled with WITNESS. >=20 > exclusive sleep mutex so_snd r=3D0 (0xc2b204c4) locked @ kern/uipc_socket= =2Ec:984 [...] Much easier now. > How to track this down? Try this patch: http://people.freebsd.org/~pjd/patches/uipc_socket.c.2.patch PS. CCing rwatson@ as he might be interested. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFBaSdForvXbEpPzQRAunTAKDMegqoUoNnf/tqHRaFmQ51TUyPhQCfeNPb g7QvbefCskmQXq+S79ZBwEY= =v2/y -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE-- From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 18:59:40 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E847E16A403; Mon, 11 Sep 2006 18:59:40 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B804243D64; Mon, 11 Sep 2006 18:59:36 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E294.dip.t-dialin.net [84.165.226.148]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8BIbsSf088090; Mon, 11 Sep 2006 20:37:55 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8BIxWIo099766; Mon, 11 Sep 2006 20:59:32 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 11 Sep 2006 20:59:53 +0200 From: Alexander Leidinger To: Pawel Jakub Dawidek Message-ID: <20060911205953.78b2e31a@Magellan.Leidinger.net> In-Reply-To: <20060911180205.GA44856@garage.freebsd.pl> References: <20060910194536.1b699733@Magellan.Leidinger.net> <20060910184359.GA7152@xor.obsecurity.org> <20060910230003.28fbc780@Magellan.Leidinger.net> <20060910211556.GA9924@xor.obsecurity.org> <20060911100117.GA92022@garage.freebsd.pl> <20060911194740.0c671c28@Magellan.Leidinger.net> <20060911180205.GA44856@garage.freebsd.pl> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: rwatson@freebsd.org, current@freebsd.org, Kris Kennaway Subject: Re: panic: System call old.recv returning with 1 locks held X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 18:59:41 -0000 Quoting Pawel Jakub Dawidek (Mon, 11 Sep 2006 20:02:05 +0200): > On Mon, Sep 11, 2006 at 07:47:40PM +0200, Alexander Leidinger wrote: > > Quoting Pawel Jakub Dawidek (Mon, 11 Sep 2006 12:01:18 +0200): > > > > > In HEAD (not sure if it was MFCed) jhb@ added code to track number of > > > mutexes/sx-locks acquired/released. So bascially this panic can happen > > > when you leak a lock of any kind. > > > > > > 'show alllocks' has to show them when the kernel (and modules) is > > > compiled with WITNESS. > > > > exclusive sleep mutex so_snd r=0 (0xc2b204c4) locked @ kern/uipc_socket.c:984 > [...] > > Much easier now. > > > How to track this down? > > Try this patch: > > http://people.freebsd.org/~pjd/patches/uipc_socket.c.2.patch Works (send01 runs, but I start a complete test now). Thanks! I'm going ahead and suggest to have at least rev 1.281 of uipc_socket.c in the linuxolator-wiki. Now... anyone up to porting the ltp to FreeBSD (or at least having a look at the testcases and adopting them to our regression test)? BTW: your key is expired. Bye, Alexander. -- The slowest checker is always at the quick-check-out lane. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 19:09:36 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D59C16A403 for ; Mon, 11 Sep 2006 19:09:36 +0000 (UTC) (envelope-from alexjeffburke@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9894343D46 for ; Mon, 11 Sep 2006 19:09:35 +0000 (GMT) (envelope-from alexjeffburke@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2126396pye for ; Mon, 11 Sep 2006 12:09:35 -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=D7V/PUiLFGM3swlhWd5v5bMdWKfcU2lB8nhOmBfEHIKFXWoq/uTHalcPjk71+eoME5vGNXl2FZVYNFBZOl3krjzeIO+n/u73oCJE8zBDJlr9WaxQpg9YaRrdqlM5GZPfQsWw/4fzElf1uh4PrixMblheYFt4L3bjzGKvXukaXZg= Received: by 10.35.54.1 with SMTP id g1mr9436699pyk; Mon, 11 Sep 2006 12:09:34 -0700 (PDT) Received: by 10.35.49.18 with HTTP; Mon, 11 Sep 2006 12:09:34 -0700 (PDT) Message-ID: Date: Mon, 11 Sep 2006 20:09:34 +0100 From: "Alex Burke" To: "FreeBSD CURRENT" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Removing ports based on library dependency X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 19:09:36 -0000 Hi, Apologies if this would seem to be the wrong list for this post. I want to upgrade one of my FreeBSD boxes running 6.0 to CURRENT. I know that this involves rebuilding ports so they link against libc.so.7 and all associated libraries. I guess the small problem is that I really only want to upgrade certain ports, since the machine has a ton of stuff I really would like to get rid of. I can set those individual port upgrades off myself with portmaster. However, I would then want to delete all the ports that I didn't upgrade...and presumably that would mean checking what was still compiled against libc.so.6 The problem is, I have NO idea what the incantation would be to get a list of each installed port's dependencies...but once i have that, I can probably do a pkg_delete on it...and with CURRENT I could probably clean up with delete-old-libs target? I would greatly appreciate if somebody could advise me how to go about this....and although I know it would probably be more efficient to reinstall the machine from scratch, I'm trying to avoid the data shifting and inability to use the system that alternative causes. One extra little point, is symbol versioning reobust enough to be enabled for the entire system? Are there any bebefits/drawbacks to that approach? Thanks in advance, Alex J Burke. From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 19:44:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16BF216A40F for ; Mon, 11 Sep 2006 19:44:47 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 7F3AC43D5A for ; Mon, 11 Sep 2006 19:44:44 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 3198 invoked by uid 399); 11 Sep 2006 19:44:43 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 11 Sep 2006 19:44:43 -0000 Message-ID: <4505BCA8.4000708@FreeBSD.org> Date: Mon, 11 Sep 2006 12:44:40 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: Alex Burke References: In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD CURRENT Subject: Re: Removing ports based on library dependency X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 19:44:47 -0000 Alex Burke wrote: > Hi, > > Apologies if this would seem to be the wrong list for this post. > > I want to upgrade one of my FreeBSD boxes running 6.0 to CURRENT. I > know that this involves rebuilding ports so they link against > libc.so.7 and all associated libraries. > > I guess the small problem is that I really only want to upgrade > certain ports, since the machine has a ton of stuff I really would > like to get rid of. I can set those individual port upgrades off > myself with portmaster. However, I would then want to delete all the > ports that I didn't upgrade...and presumably that would mean checking > what was still compiled against libc.so.6 The traditional way to handle a major version upgrade for ports is to delete all the installed ports, then start over again from scratch (with just the ports, not reinstalling the whole system). Given what you described above, I would say that would be the most efficient way to handle your situation anyways. What you might want to do is run portmaster -l now, then save the lists of root and leaf ports. If you then use portmaster to reinstall the ports from those 2 lists that you are sure you want on your -current system, it will handle the libraries for you. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 01:40:13 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9399016A403 for ; Tue, 12 Sep 2006 01:40:13 +0000 (UTC) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1380843D49 for ; Tue, 12 Sep 2006 01:40:13 +0000 (GMT) (envelope-from wsk@gddsn.org.cn) Received: from [192.168.168.158] (unknown [192.168.168.158]) by gddsn.org.cn (Postfix) with ESMTP id E87BC38CB73 for ; Tue, 12 Sep 2006 09:40:10 +0800 (CST) Message-ID: <45060FC4.2090308@gddsn.org.cn> Date: Tue, 12 Sep 2006 09:39:16 +0800 From: wsk User-Agent: Thunderbird 1.5.0.2 (X11/20060515) MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 12 Sep 2006 04:26:02 +0000 Cc: Subject: pccard modem don't work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 01:40:13 -0000 hello, on Aug 30' CURRENT i'm getting following err when i insert my pccard modem: pccard0:Allocation failed for cfe 13 sio4: at port 0x2f8-0x2ff irq 11 function 0 config 21 on pccard0 device_attach: sio4 attach returned -19 It seems sio didn't attach with error. any reply with appreciates From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 06:24:00 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2429E16A412 for ; Tue, 12 Sep 2006 06:24:00 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A594343D58 for ; Tue, 12 Sep 2006 06:23:59 +0000 (GMT) (envelope-from vova@sw.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GN1gb-0000PS-2d for current@freebsd.org; Tue, 12 Sep 2006 10:23:57 +0400 From: Vladimir Grebenschikov To: current Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Tue, 12 Sep 2006 10:23:54 +0400 Message-Id: <1158042234.1492.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: Subject: multiple 'calcru: runtime went backwards ...' just after boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 06:24:00 -0000 Hi current Just after boot, ad just after login into Gnome desktop I've get multiple 'calcru: runtime went backwards ...'. Looks like that every process gets such message. As I remember issue was solved several times in past, but now it hits again. It is notebook with powerd running. Any hints ? % fgrep -i cpu /var/run/dmesg.boot CPU: Intel(R) Pentium(R) M processor 1700MHz (595.40-MHz 686-class CPU) cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu0: Cx states changed % just after boot: Sep 12 10:13:23 vbook kernel: calcru: runtime went backwards from 94723 usec to 82391 usec for pid 912 (cupsd) Sep 12 10:13:23 vbook kernel: calcru: runtime went backwards from 2999 usec to 2742 usec for pid 889 (exim-4.63-0) Sep 12 10:13:23 vbook kernel: calcru: runtime went backwards from 1831 usec to 1229 usec for pid 847 (hcsecd) Sep 12 10:13:23 vbook kernel: calcru: runtime went backwards from 176225 usec to 121011 usec for pid 764 (named) Sep 12 10:13:23 vbook kernel: calcru: runtime went backwards from 20229 usec to 16743 usec for pid 691 (syslogd) Sep 12 10:13:23 vbook kernel: calcru: runtime went backwards from 324 usec to 217 usec for pid 417 (moused) Sep 12 10:13:23 vbook kernel: calcru: runtime went backwards from 232 usec to 219 usec for pid 336 (dhclient) Sep 12 10:13:23 vbook kernel: calcru: runtime went backwards from 5686 usec to 3817 usec for pid 289 (dhclient) ... just after login to Gnome: Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 1279 usec to 888 usec for pid 1228 (sleep) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 481814 usec to 334777 usec for pid 1222 (evolution-exchange-) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 141758 usec to 100110 usec for pid 1216 (evolution-data-serv) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 5651 usec to 3926 usec for pid 1214 (gnome-screensaver) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 17652 usec to 12265 usec for pid 1205 (mapping-daemon) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 9659 usec to 6711 usec for pid 1196 (xbindkeys) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 22945 usec to 15943 usec for pid 1187 (sh) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 68943 usec to 47903 usec for pid 1187 (sh) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 61009 usec to 42391 usec for pid 1184 (devilspie) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 20544 usec to 14275 usec for pid 1177 (x2x) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 4025918 usec to 2798141 usec for pid 1175 (skype_bin) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 40301 usec to 28002 usec for pid 1173 (gnome-vfs-daemon) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 722 usec to 501 usec for pid 1173 (gnome-vfs-daemon) Sep 12 10:13:46 vbook kernel: calcru: runtime went backwards from 433026 usec to 300878 usec for pid 1171 (evolution-alarm-not) ... -- Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 09:47:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D26316A417 for ; Tue, 12 Sep 2006 09:47:10 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6764C43D4C for ; Tue, 12 Sep 2006 09:47:08 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail07.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k8C9l6uR014504 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 12 Sep 2006 19:47:07 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k8C9l65U001364; Tue, 12 Sep 2006 19:47:06 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k8C9l6Pi001363; Tue, 12 Sep 2006 19:47:06 +1000 (EST) (envelope-from peter) Date: Tue, 12 Sep 2006 19:47:06 +1000 From: Peter Jeremy To: Alex Burke Message-ID: <20060912094706.GC724@turion.vk2pj.dyndns.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.12-2006-07-14 Cc: FreeBSD CURRENT Subject: Re: Removing ports based on library dependency X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 09:47:10 -0000 --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 2006-Sep-11 20:09:34 +0100, Alex Burke wrote: >I want to upgrade one of my FreeBSD boxes running 6.0 to CURRENT. I >know that this involves rebuilding ports so they link against >libc.so.7 and all associated libraries. I'll second Doug's suggestion of "delete the lot and re-install what you really want". I'll add a few comments though: A number of ports will build differently depending on the ports that exist when they are compiled (mozilla and xmms come to mind here). There are also a variety of ports where different versions are available that are functionally similar (so any version would satisfy dependencies). If you want to install particular subordinate ports (eg you have a MySQL database of a particular version), you should probably explicitly install them, rather than rely on root/leaf port dependencies. --=20 Peter Jeremy --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFBoIa/opHv/APuIcRArzcAJ9EXLHohHm4mAET+N4u7oKadj3EtgCcCRm/ difqn7iV3QqR95jxspagCPM= =arS6 -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR-- From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 10:36:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C46C16A5D0; Tue, 12 Sep 2006 10:36:28 +0000 (UTC) (envelope-from aturetta@commit.it) Received: from mail.logital.it (85-18-201-99.ip.fastwebnet.it [85.18.201.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 478E943D46; Tue, 12 Sep 2006 10:36:26 +0000 (GMT) (envelope-from aturetta@commit.it) Received: from [192.168.42.11] ([192.168.42.11]) (authenticated bits=0) by mail.logital.it (8.13.8/8.13.8) with ESMTP id k8CAaKda028653; Tue, 12 Sep 2006 12:36:23 +0200 (CEST) (envelope-from aturetta@commit.it) Message-ID: <45068D9D.6070003@commit.it> Date: Tue, 12 Sep 2006 12:36:13 +0200 From: Angelo Turetta User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060821 SeaMonkey/1.1a MIME-Version: 1.0 To: Ruslan Ermilov , freebsd-current@freebsd.org References: <4502CA73.5040100@commit.it> <20060910082456.GA48789@rambler-co.ru> <20060911131646.GB13231@rambler-co.ru> In-Reply-To: <20060911131646.GB13231@rambler-co.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on mail.logital.it X-Virus-Status: Clean Cc: Subject: Re: make release cross-platform: Malformed conditional (${MK_SENDMAIL} != "no") X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 10:36:28 -0000 Ruslan Ermilov wrote: > On Sun, Sep 10, 2006 at 12:24:56PM +0400, Ruslan Ermilov wrote: >> On Sat, Sep 09, 2006 at 04:06:43PM +0200, Angelo Turetta wrote: >>> what may be the cause of the error I get after the >>> 'build world' phase? (please see attachment for make output) >>> cd /usr/src/release/../etc && make distrib-dirs >>> DESTDIR=/R/stage/trees/base >>> "Makefile", line 6: Malformed conditional (${MK_SENDMAIL} != "no") >>> "Makefile", line 8: if-less endif >>> >> A bug in release/Makefile? Try changing this line: >> cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/base >> to: >> cd ${.CURDIR}/.. && ${CROSSMAKE} distrib-dirs DESTDIR=${RD}/trees/base >> > This was necessary but not enough; it broke later in release.4 stage. > I've fixed it in src/release/Makefile,v 1.914. Ruslan, many thanks. I found the later error and tried to correct it but I finally succeeded only *after* your commit. Angelo. (Replying also to -current for the sake of the mail archive.) From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 11:12:05 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 841F616A415 for ; Tue, 12 Sep 2006 11:12:05 +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 0750843D53 for ; Tue, 12 Sep 2006 11:12:04 +0000 (GMT) (envelope-from kama@pvp.se) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id 043BDA9; Tue, 12 Sep 2006 13:12:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id 00305A7 for ; Tue, 12 Sep 2006 13:12:02 +0200 (CEST) Date: Tue, 12 Sep 2006 13:12:02 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: freebsd-current@freebsd.org Message-ID: <20060912130944.A87498@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 6.2? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 11:12:05 -0000 I just updated the sources on two of my machines and found: $ uname -sr FreeBSD 6.2-PRERELEASE Is this a mistake or is it actually a prerelease? Why isnt there any notice about it on the webpage or on this mailing list? /Bjorn From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 11:25:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0C3216A403; Tue, 12 Sep 2006 11:25:54 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [210.51.165.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3433D43D4C; Tue, 12 Sep 2006 11:25:53 +0000 (GMT) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Tue, 12 Sep 2006 19:25:52 +0800 id 0010E407.45069940.000145AF References: <200609100956.k8A9uD0P094639@repoman.freebsd.org> <20060911193600.7ab43fb6@Magellan.Leidinger.net> <200609111528.49054.jhb@freebsd.org> <20060912073021.pvw7p0mit4w4cs8s@webmail.leidinger.net> <3bbf2fe10609120130l55c4590eha3628e7f1c21d8a7@mail.gmail.com> <3bbf2fe10609120147p343f48a4yeef4ad42a8bbb337@mail.gmail.com> In-Reply-To: <3bbf2fe10609120147p343f48a4yeef4ad42a8bbb337@mail.gmail.com> From: "Intron is my alias on the Internet" To: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Date: Tue, 12 Sep 2006 19:25:52 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Cc: Attilio Rao , Alexander Leidinger Subject: [Updated on 2006-9-12] Linux AIO module, Re: PERFORCE change 105930 for review X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 11:25:55 -0000 Download: http://ftp.intron.ac/tmp/linux_aio-20060912.tar.bz2 This update includes: 1. Some minor modifications in comments and debugging messages. 2. Calling uma_zcreate() without the flag UMA_ZONE_NOFREE. Alexander, please commit the only modified file "linux_aio.c" to the Perforce repository. When you commit my module to the CVS repository, please remove the two problems listed in my previous "readme.txt". ------------------------------------------------------------------------ From Beijing, China Attilio Rao wrote: > 2006/9/12, Attilio Rao : >> 2006/9/12, Alexander Leidinger : >> > Quoting John Baldwin (from Mon, 11 Sep 2006 15:28:48 >> -0400): >> > >> > > I've only gotten this message when I've leaked memory in a zone. Do >> you have >> > > an example self-contained kernel module that produces this? >> > >> > Download >> > http://www.Leidinger.net/FreeBSD/linuxolator/linuxolator-p4.diff (or >> > check out the p4-branch) and recompile the aio and linux modules. >> >> You might put the code under "Initialize the new context" >> (linux_io_setup) into the init function for your UMA object, and so >> the destructive pair. >> >> It might not solve your problem, but it is more elegant. > > BTW, the error that you receive effectively happens only on memory leak. > This is called from the keg destructor (uma_core.c). > > Attilio > > > -- > Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 13:48:48 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F0DF16A403 for ; Tue, 12 Sep 2006 13:48:48 +0000 (UTC) (envelope-from if@hetzner.co.za) Received: from hetzner.co.za (office.cpt2.host-h.net [196.7.147.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA35643D69 for ; Tue, 12 Sep 2006 13:48:47 +0000 (GMT) (envelope-from if@hetzner.co.za) Received: from localhost ([127.0.0.1] helo=ian.hetzner.africa) by hetzner.co.za with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GN5FA-00085C-CJ for current@freebsd.org; Tue, 12 Sep 2006 12:11:52 +0200 To: current@freebsd.org From: Ian FREISLICH X-Attribution: BOFH Date: Tue, 12 Sep 2006 12:11:52 +0200 Message-Id: Cc: Subject: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 13:48:48 -0000 Hi I've noticed that after an apparently random period of time something goes wierd with my networking. A tcpdump shows traffic is recieved, but trussing a daemon (sshd for instance) shows the packets are not making it that far. Also, no packets are transmitted either. Here's an ifconfig of the interface while it doesn't transmit or recieve packets, note the OACTIVE: em0: flags=8c43 mtu 1500 options=3cb inet 41.204.193.40 netmask 0xfffffff0 broadcast 41.204.193.47 ether 00:04:23:d4:12:2e media: Ethernet autoselect (100baseTX ) status: active If I disable and re-enable TSO, the interface cames back, but probably because of an interface reset. It comes back without the OACTIVE flag and then all works well for some time. Here's the pciconf output for the ethernet device. em0@pci3:4:0: class=0x020000 card=0x10798086 chip=0x10798086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82546EB Dual Port Gigabit Ethernet Controller' class = network subclass = ethernet So far, it hasn't happened again with TSO disabled over a period where it happened twice. Let me know if there's any debugging I can do for you. Interestingly, I have 4 more of these dual NICs running on the same version of the source without ony problems, but the working cards are on UP machines. Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 14:03:26 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 140B516A417 for ; Tue, 12 Sep 2006 14:03:26 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5531543D45 for ; Tue, 12 Sep 2006 14:03:25 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 12282 invoked from network); 12 Sep 2006 13:47:19 -0000 Received: from dotat.atdotat.at (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 12 Sep 2006 13:47:19 -0000 Message-ID: <4506BE2C.1050903@freebsd.org> Date: Tue, 12 Sep 2006 16:03:24 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: Ian FREISLICH References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, jfvogel@gmail.com Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 14:03:26 -0000 Ian FREISLICH wrote: > Hi > > I've noticed that after an apparently random period of time something > goes wierd with my networking. A tcpdump shows traffic is recieved, > but trussing a daemon (sshd for instance) shows the packets are not > making it that far. Also, no packets are transmitted either. > > Here's an ifconfig of the interface while it doesn't transmit or > recieve packets, note the OACTIVE: OACTIVE means the interface is stuck. This looks like a bug in the em(4) driver. I've copied Jack Vogel, the driver maintainer from Intel, into this email. -- Andre > em0: flags=8c43 mtu 1500 > options=3cb > inet 41.204.193.40 netmask 0xfffffff0 broadcast 41.204.193.47 > ether 00:04:23:d4:12:2e > media: Ethernet autoselect (100baseTX ) > status: active > > If I disable and re-enable TSO, the interface cames back, but > probably because of an interface reset. It comes back without the > OACTIVE flag and then all works well for some time. > > Here's the pciconf output for the ethernet device. > > em0@pci3:4:0: class=0x020000 card=0x10798086 chip=0x10798086 rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = '82546EB Dual Port Gigabit Ethernet Controller' > class = network > subclass = ethernet > > So far, it hasn't happened again with TSO disabled over a period > where it happened twice. Let me know if there's any debugging I > can do for you. Interestingly, I have 4 more of these dual NICs > running on the same version of the source without ony problems, but > the working cards are on UP machines. > > Ian > > -- > Ian Freislich > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 15:02:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2F7F16A403 for ; Tue, 12 Sep 2006 15:02:15 +0000 (UTC) (envelope-from cms01@tampabay.rr.com) Received: from ms-smtp-04.tampabay.rr.com (ms-smtp-04.tampabay.rr.com [65.32.5.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89BDF43D53 for ; Tue, 12 Sep 2006 15:02:15 +0000 (GMT) (envelope-from cms01@tampabay.rr.com) Received: from [192.168.0.100] (2492160hfc76.tampabay.res.rr.com [24.92.160.76]) by ms-smtp-04.tampabay.rr.com (8.13.6/8.13.6) with ESMTP id k8CF2Cnv018236 for ; Tue, 12 Sep 2006 11:02:14 -0400 (EDT) From: Richard Organization: CMS To: freebsd-current@freebsd.org Date: Tue, 12 Sep 2006 11:02:12 -0400 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609121102.12577.cms01@tampabay.rr.com> X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cms01@tampabay.rr.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 15:02:16 -0000 Been thinking of installing FreeBSD, however... needed to know if there support for BCM4318 wireless card. -- Second, what gui does freebsd install by default.? (KDE or ) Thanks - Rich From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 15:11:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 125B916A4A0 for ; Tue, 12 Sep 2006 15:11:14 +0000 (UTC) (envelope-from arindam.mukerjee@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19AC743D6D for ; Tue, 12 Sep 2006 15:09:56 +0000 (GMT) (envelope-from arindam.mukerjee@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2515956pye for ; Tue, 12 Sep 2006 08:09:55 -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=ZvtWfdtnLEJFgMSW1oGnb7mXh+gsh7SMp5ucm6EcIqc/ZiAt/BWU2CX2UpN+Hq0pKHy+M2Ew/AfC+iw1kYXWta0el6G2INfYaR15i9Muj22pPm2ZfiBrn1pztkKLcAzQs+SUKZnHDs2KxBJrJgtMIUYGgtXFyaX+kQR/zs3VbmI= Received: by 10.35.97.17 with SMTP id z17mr11017995pyl; Tue, 12 Sep 2006 08:09:55 -0700 (PDT) Received: by 10.35.13.20 with HTTP; Tue, 12 Sep 2006 08:09:49 -0700 (PDT) Message-ID: Date: Tue, 12 Sep 2006 20:39:49 +0530 From: Arindam To: cms01@tampabay.rr.com In-Reply-To: <200609121102.12577.cms01@tampabay.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200609121102.12577.cms01@tampabay.rr.com> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 15:11:14 -0000 > Been thinking of installing FreeBSD, however... > needed to know if there support for BCM4318 wireless card. > > -- > Second, what gui does freebsd install by default.? (KDE or ) No KDE and stuff. You got to install it as part of the ports. You get fairly minimalistic Window Managers which too you can only optionally install. I guess WindowMaker, metacity, fvwm and afterstep are available on the second CD if you happen to have it. Else KDE, GNOME, enlightenment and (someone told me of this one) ratpoison (supposedly keyboard friendly) are available too ... so go ahead and download. Btw, moi a newbie too ... so not seen a running desktop on my box yet. But I want a break from KDE and GNOME. Cheers, Andy From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 15:16:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3713616A407 for ; Tue, 12 Sep 2006 15:16:27 +0000 (UTC) (envelope-from cristiano.deana@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2DC943D55 for ; Tue, 12 Sep 2006 15:16:26 +0000 (GMT) (envelope-from cristiano.deana@gmail.com) Received: by wr-out-0506.google.com with SMTP id i21so529217wra for ; Tue, 12 Sep 2006 08:16:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EGEstMBP2NRGBNup9bF2X7Se8C1STG5rZljyYZVgswCGysb532+8x6JE5nHtS48M3gD916UIFPQFa5pHpvixvAKbQTAJ+YgNOElxYU8AzOdqhr4F54zv2zvgBQj6dIidvBBJoPnRWA+Mwe0KdbIf2Gr/3QpRIlub3PRsMiuchGU= Received: by 10.90.56.14 with SMTP id e14mr2162051aga; Tue, 12 Sep 2006 08:16:26 -0700 (PDT) Received: by 10.90.81.5 with HTTP; Tue, 12 Sep 2006 08:16:24 -0700 (PDT) Message-ID: Date: Tue, 12 Sep 2006 17:16:24 +0200 From: "Cristiano Deana" To: freebsd-current@freebsd.org In-Reply-To: <200609121102.12577.cms01@tampabay.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200609121102.12577.cms01@tampabay.rr.com> Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 15:16:27 -0000 2006/9/12, Richard : > Been thinking of installing FreeBSD, however... http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ > needed to know if there support for BCM4318 wireless card. http://www.freebsd.org/releases/6.1R/hardware.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html > Second, what gui does freebsd install by default.? (KDE or ) The second one. p.s. this is "-current" mailing list, i suggest to read: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/ From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 15:25:30 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B3D716A4E6 for ; Tue, 12 Sep 2006 15:25:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07D5143D70 for ; Tue, 12 Sep 2006 15:25:21 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k8CFP9qf026766; Tue, 12 Sep 2006 11:25:17 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 12 Sep 2006 11:02:42 -0400 User-Agent: KMail/1.9.1 References: <20060912130944.A87498@ns1.as.pvp.se> In-Reply-To: <20060912130944.A87498@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609121102.42971.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 12 Sep 2006 11:25:17 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1871/Tue Sep 12 09:28:18 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: kama Subject: Re: 6.2? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 15:25:30 -0000 On Tuesday 12 September 2006 07:12, kama wrote: > > I just updated the sources on two of my machines and found: > > $ uname -sr > FreeBSD 6.2-PRERELEASE > > Is this a mistake or is it actually a prerelease? Why isnt there any > notice about it on the webpage or on this mailing list? The notice would be sent to stable@, not current@ as RELENG_6 is a stable branch. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 15:41:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C944116A532 for ; Tue, 12 Sep 2006 15:41:13 +0000 (UTC) (envelope-from cms01@tampabay.rr.com) Received: from ms-smtp-02.tampabay.rr.com (ms-smtp-02.tampabay.rr.com [65.32.5.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id A341943D55 for ; Tue, 12 Sep 2006 15:41:11 +0000 (GMT) (envelope-from cms01@tampabay.rr.com) Received: from [192.168.0.100] (2492160hfc76.tampabay.res.rr.com [24.92.160.76]) by ms-smtp-02.tampabay.rr.com (8.13.6/8.13.6) with ESMTP id k8CFf9ix000555 for ; Tue, 12 Sep 2006 11:41:10 -0400 (EDT) From: Richard Organization: CMS To: freebsd-current@freebsd.org Date: Tue, 12 Sep 2006 11:41:09 -0400 User-Agent: KMail/1.9.4 References: <200609121102.12577.cms01@tampabay.rr.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609121141.09204.cms01@tampabay.rr.com> X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cms01@tampabay.rr.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 15:41:13 -0000 it would seem freebsd doesn't support BCM4318 wireless card. Rich On Tuesday 12 September 2006 11:16 am, Cristiano Deana wrote: > > needed to know if there support for BCM4318 wireless card. > > http://www.freebsd.org/releases/6.1R/hardware.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html > From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 15:46:43 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25D8F16A407 for ; Tue, 12 Sep 2006 15:46:43 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24E8343D60 for ; Tue, 12 Sep 2006 15:46:31 +0000 (GMT) (envelope-from jfvogel@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2529229pye for ; Tue, 12 Sep 2006 08:46:31 -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=gOQeA/6CTtienk3vzs5EKZ4mCgrYp86MEeIeCxSdjI+ML2p+prN048lgnlkZHx3v7mqDr4zymiusPz21BHqTA4m+5anEoMZGwHBjdUaCILco407+pLVOpomyjbh8KJVuAjL8Hj/x+vfaRxgDPWoWnErhCWKW+Ouin1tjXEZWass= Received: by 10.35.114.16 with SMTP id r16mr11738246pym; Tue, 12 Sep 2006 08:46:30 -0700 (PDT) Received: by 10.35.119.1 with HTTP; Tue, 12 Sep 2006 08:46:30 -0700 (PDT) Message-ID: <2a41acea0609120846i32fd682wd834e0373c23d557@mail.gmail.com> Date: Tue, 12 Sep 2006 08:46:30 -0700 From: "Jack Vogel" To: "Andre Oppermann" In-Reply-To: <4506BE2C.1050903@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4506BE2C.1050903@freebsd.org> Cc: Ian FREISLICH , current@freebsd.org Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 15:46:43 -0000 On 9/12/06, Andre Oppermann wrote: > Ian FREISLICH wrote: > > Hi > > > > I've noticed that after an apparently random period of time something > > goes wierd with my networking. A tcpdump shows traffic is recieved, > > but trussing a daemon (sshd for instance) shows the packets are not > > making it that far. Also, no packets are transmitted either. > > > > Here's an ifconfig of the interface while it doesn't transmit or > > recieve packets, note the OACTIVE: > > OACTIVE means the interface is stuck. This looks like a bug in the > em(4) driver. I've copied Jack Vogel, the driver maintainer from Intel, > into this email. > > -- > Andre > > > em0: flags=8c43 mtu 1500 > > options=3cb > > inet 41.204.193.40 netmask 0xfffffff0 broadcast 41.204.193.47 > > ether 00:04:23:d4:12:2e > > media: Ethernet autoselect (100baseTX ) > > status: active > > > > If I disable and re-enable TSO, the interface cames back, but > > probably because of an interface reset. It comes back without the > > OACTIVE flag and then all works well for some time. > > > > Here's the pciconf output for the ethernet device. > > > > em0@pci3:4:0: class=0x020000 card=0x10798086 chip=0x10798086 rev=0x03 hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82546EB Dual Port Gigabit Ethernet Controller' > > class = network > > subclass = ethernet > > > > So far, it hasn't happened again with TSO disabled over a period > > where it happened twice. Let me know if there's any debugging I > > can do for you. Interestingly, I have 4 more of these dual NICs > > running on the same version of the source without ony problems, but > > the working cards are on UP machines. Hmm, so if memory serves Linux disallows TSO when you are only at 100Mb, I dont recall why, I will have to look into that and perhaps have that same limitation in our driver. Any other data you can give me? Cheers, Jack From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 15:48:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B852116A407 for ; Tue, 12 Sep 2006 15:48:47 +0000 (UTC) (envelope-from cristiano.deana@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 349B843D7C for ; Tue, 12 Sep 2006 15:48:33 +0000 (GMT) (envelope-from cristiano.deana@gmail.com) Received: by wr-out-0506.google.com with SMTP id i21so541217wra for ; Tue, 12 Sep 2006 08:48:33 -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=Dn0eIG4Jq5sNumeKETDkxXqVOehVruOBpi0JDu+k4u7k3KNzzPPXdiHfV9Uz+LfuaA0fc9qwneX6+mbEV+64lrkE9XE8HgCENQNYQacYchy9EsVNyPmG8wh+ANIcS8aHCrTiEcI2BiwkBJR5bqCEiEcIBIAdytanlZbGmozt8uA= Received: by 10.90.100.2 with SMTP id x2mr2204681agb; Tue, 12 Sep 2006 08:48:32 -0700 (PDT) Received: by 10.90.81.5 with HTTP; Tue, 12 Sep 2006 08:48:27 -0700 (PDT) Message-ID: Date: Tue, 12 Sep 2006 17:48:27 +0200 From: "Cristiano Deana" To: cms01@tampabay.rr.com In-Reply-To: <200609121141.09204.cms01@tampabay.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 15:48:47 -0000 2006/9/12, Richard : > it would seem freebsd doesn't support BCM4318 wireless card. read ALL http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html look for "ndis" -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/ From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 15:52:55 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A590C16A494 for ; Tue, 12 Sep 2006 15:52:55 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D619D43D79 for ; Tue, 12 Sep 2006 15:52:49 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 13144 invoked from network); 12 Sep 2006 15:36:43 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 12 Sep 2006 15:36:43 -0000 Message-ID: <4506D7D2.5030404@freebsd.org> Date: Tue, 12 Sep 2006 17:52:50 +0200 From: Andre Oppermann User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Jack Vogel References: <4506BE2C.1050903@freebsd.org> <2a41acea0609120846i32fd682wd834e0373c23d557@mail.gmail.com> In-Reply-To: <2a41acea0609120846i32fd682wd834e0373c23d557@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ian FREISLICH , current@freebsd.org Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 15:52:55 -0000 Jack Vogel wrote: > > Hmm, so if memory serves Linux disallows TSO when you are only > at 100Mb, I dont recall why, I will have to look into that and perhaps > have that same limitation in our driver. That would be a serious limitation and make the whole TSO stuff way more complex. I hope this is not the case with your hardware. -- Andre From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 15:59:22 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42FC716A40F; Tue, 12 Sep 2006 15:59:22 +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 734CC43D53; Tue, 12 Sep 2006 15:59:05 +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.8/8.13.8) with ESMTP id k8CFx47E059765; Tue, 12 Sep 2006 11:59:04 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.6/8.13.3) with ESMTP id k8CFx4pm050891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Sep 2006 11:59:04 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <7.0.1.0.0.20060912115424.16c29b50@sentex.net> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Tue, 12 Sep 2006 11:59:04 -0400 To: "Jack Vogel" , "Andre Oppermann" From: Mike Tancsa In-Reply-To: <2a41acea0609120846i32fd682wd834e0373c23d557@mail.gmail.com > References: <4506BE2C.1050903@freebsd.org> <2a41acea0609120846i32fd682wd834e0373c23d557@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Ian FREISLICH , current@freebsd.org Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 15:59:22 -0000 At 11:46 AM 9/12/2006, Jack Vogel wrote: >Hmm, so if memory serves Linux disallows TSO when you are only >at 100Mb, I dont recall why, I will have to look into that and perhaps >have that same limitation in our driver. > >Any other data you can give me? I have tripped over this in the past as well. Try http://www.google.com/bsd?hl=en&lr=&q=em0+vlan+promisc* There is a lot of chatter and analysis in the past. ---Mike From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 16:43:41 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9074F16A407 for ; Tue, 12 Sep 2006 16:43:41 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B3A43D49 for ; Tue, 12 Sep 2006 16:43:40 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 13517 invoked from network); 12 Sep 2006 16:27:33 -0000 Received: from dotat.atdotat.at (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 12 Sep 2006 16:27:33 -0000 Message-ID: <4506E3BB.9010201@freebsd.org> Date: Tue, 12 Sep 2006 18:43:39 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: Mike Tancsa References: <4506BE2C.1050903@freebsd.org> <2a41acea0609120846i32fd682wd834e0373c23d557@mail.gmail.com> <7.0.1.0.0.20060912115424.16c29b50@sentex.net> In-Reply-To: <7.0.1.0.0.20060912115424.16c29b50@sentex.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ian FREISLICH , Jack Vogel , current@freebsd.org Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 16:43:41 -0000 Mike Tancsa wrote: > At 11:46 AM 9/12/2006, Jack Vogel wrote: > >> Hmm, so if memory serves Linux disallows TSO when you are only >> at 100Mb, I dont recall why, I will have to look into that and perhaps >> have that same limitation in our driver. >> >> Any other data you can give me? > > > I have tripped over this in the past as well. Try > > http://www.google.com/bsd?hl=en&lr=&q=em0+vlan+promisc* > > There is a lot of chatter and analysis in the past. TSO != (vlan && promisc) -- Andre From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 17:06:10 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F18216A40F; Tue, 12 Sep 2006 17:06:10 +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 5092643D5D; Tue, 12 Sep 2006 17:06:04 +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.8/8.13.8) with ESMTP id k8CH62MD071078; Tue, 12 Sep 2006 13:06:02 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.6/8.13.3) with ESMTP id k8CH6239051156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Sep 2006 13:06:02 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Tue, 12 Sep 2006 13:06:02 -0400 To: Andre Oppermann From: Mike Tancsa In-Reply-To: <4506E3BB.9010201@freebsd.org> References: <4506BE2C.1050903@freebsd.org> <2a41acea0609120846i32fd682wd834e0373c23d557@mail.gmail.com> <7.0.1.0.0.20060912115424.16c29b50@sentex.net> <4506E3BB.9010201@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Ian FREISLICH , Jack Vogel , current@freebsd.org Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 17:06:10 -0000 At 12:43 PM 9/12/2006, Andre Oppermann wrote: >TSO != (vlan && promisc) Sorry, the commonality I was referring to was VLAN hardware tagging and how it must be enabled for TSO, but that breaks other things. See a few messages ago http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html ---Mike >-- >Andre > >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 18:06:04 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2B9B16A403 for ; Tue, 12 Sep 2006 18:06:04 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from a.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F3D543D49 for ; Tue, 12 Sep 2006 18:06:04 +0000 (GMT) (envelope-from lreid@cs.okstate.edu) Received: from [192.168.220.20] (unknown [164.58.79.195]) by a.cs.okstate.edu (Postfix) with ESMTP id C307AA0630; Tue, 12 Sep 2006 13:06:03 -0500 (CDT) Message-ID: <4506F6DF.5010900@cs.okstate.edu> Date: Tue, 12 Sep 2006 13:05:19 -0500 From: Reid Linnemann User-Agent: Thunderbird 1.5.0.4 (X11/20060725) MIME-Version: 1.0 To: cms01@tampabay.rr.com References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> In-Reply-To: <200609121141.09204.cms01@tampabay.rr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 18:06:05 -0000 Written by Richard on 09/12/06 10:41>> > it would seem freebsd doesn't support BCM4318 wireless card. > Rich > > I find it highly unlikely that there is a FreeBSD (or Linux for that matter) driver for any broadcom wireless chips. The best (read: only) way to get a broadcom wifi chip running is to use an NDIS wrapper layer, as has been hinted. FreeBSD has a very complete NDIS wrapper layer available, and you can generate wrapped loadable driver modules for your kernel using the interactive ndisgen utility. Documentation for using ndis drivers can be found in the handbook, here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html#CONFIG-NETWORK-NDIS From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 18:37:16 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C465316A40F for ; Tue, 12 Sep 2006 18:37:16 +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 7587743D45 for ; Tue, 12 Sep 2006 18:37:16 +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 k8CIbDos061302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Sep 2006 11:37:14 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4506FE59.6000600@errno.com> Date: Tue, 12 Sep 2006 11:37:13 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5.0.4 (X11/20060724) MIME-Version: 1.0 To: Reid Linnemann References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> <4506F6DF.5010900@cs.okstate.edu> In-Reply-To: <4506F6DF.5010900@cs.okstate.edu> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, cms01@tampabay.rr.com Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 18:37:16 -0000 Reid Linnemann wrote: > Written by Richard on 09/12/06 10:41>> >> it would seem freebsd doesn't support BCM4318 wireless card. >> Rich >> >> > > I find it highly unlikely that there is a FreeBSD (or Linux for that > matter) driver for any broadcom wireless chips. The best (read: only) > way to get a broadcom wifi chip running is to use an NDIS wrapper layer, > as has been hinted. FreeBSD has a very complete NDIS wrapper layer > available, and you can generate wrapped loadable driver modules for your > kernel using the interactive ndisgen utility. Linux folks reverse-engineered the bcm43xx driver and have a GPL driver (added in 2.6.17 I believe). There was an SoC proposal to port that driver to freebsd but it did not get accepted. I'd like to see support for these parts 'cuz they appear frequently in laptops; often with bios locking which makes swapping cards problematic. Sam From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 18:45:21 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C062116A407 for ; Tue, 12 Sep 2006 18:45:08 +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 A5F5343D45 for ; Tue, 12 Sep 2006 18:45:07 +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 8FA98C584; Tue, 12 Sep 2006 14:45:06 -0400 (EDT) Received: from aaron.protected-networks.net (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id 050AEC4F2; Tue, 12 Sep 2006 14:44:52 -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 7DEFAC4EC; Tue, 12 Sep 2006 14:44:51 -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:X-Enigmail-Version:OpenPGP:Content-Type:Content-Transfer-Encoding; b=DhoaB22gb8D4gJJxF1ZuaGm8QH88hf6N1YdsfXL30LJoS1v9n2xO/KagtADzCdS5ZO6ZWQveVdS8v4wEI7f4ZcNuc5GyrEgYvQOcdpxutohJdBEP6UEvxU4zFqu2lfv4; Received: from [192.168.1.10] (socker.hsd1.ma.comcast.net [24.218.145.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Iain Michael Butler", Issuer "Protected Networks Certificate Authority" (verified OK)) (Authenticated sender: imb@protected-networks.net) by aaron.protected-networks.net (Postfix) with ESMTP id ECEFAC1F6; Tue, 12 Sep 2006 14:44:50 -0400 (EDT) Message-ID: <45070021.3000606@protected-networks.net> Date: Tue, 12 Sep 2006 14:44:49 -0400 From: Michael Butler User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: Sam Leffler References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> <4506F6DF.5010900@cs.okstate.edu> <4506FE59.6000600@errno.com> In-Reply-To: <4506FE59.6000600@errno.com> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 18:45:21 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sam Leffler wrote: | I'd like to see support for these parts 'cuz they appear frequently | in laptops; often with bios locking which makes swapping cards | problematic. Is this as a consequence of the manufacturers paranoia that open-source developers won't comply with wifi regulatory requirements (i.e. channel and power restrictions by country) or some other reason? (not that you can't just plug in any other card into the pcmcia slot ..), Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFBwAhQv9rrgRC1JIRAikeAJ4phcRxVQyaKfcv0ftKuES+CZ3ZbACeJ/m/ kE0Etz0tSeOGjlQ42234PzU= =lUIC -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 19:44:36 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2386F16A40F for ; Tue, 12 Sep 2006 19:44:36 +0000 (UTC) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A0FE43D69 for ; Tue, 12 Sep 2006 19:44:26 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.7/8.13.7) with ESMTP id k8CJhnVa036505; Tue, 12 Sep 2006 12:43:50 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.7/8.13.7/Submit) id k8CJhnpv036504; Tue, 12 Sep 2006 12:43:49 -0700 (PDT) (envelope-from obrien) Date: Tue, 12 Sep 2006 12:43:49 -0700 From: "David O'Brien" To: Sam Leffler Message-ID: <20060912194349.GA36471@dragon.NUXI.org> Mail-Followup-To: freebsd-current@freebsd.org, Sam Leffler , Reid Linnemann , cms01@tampabay.rr.com References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> <4506F6DF.5010900@cs.okstate.edu> <4506FE59.6000600@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4506FE59.6000600@errno.com> X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org, Reid Linnemann , cms01@tampabay.rr.com Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 19:44:36 -0000 On Tue, Sep 12, 2006 at 11:37:13AM -0700, Sam Leffler wrote: > I'd like to see support > for these parts 'cuz they appear frequently in laptops; often with bios > locking which makes swapping cards problematic. Scary. I've always assumed I could buy a laptop with any wireless NIC and change it. Do you know which laptop vendors do this? Can you say anything more on the "bios locking"? -- -- David (obrien@FreeBSD.org) From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 19:45:34 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 577DA16A40F for ; Tue, 12 Sep 2006 19:45:34 +0000 (UTC) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20B2B43D6B for ; Tue, 12 Sep 2006 19:45:27 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.7/8.13.7) with ESMTP id k8CJjH7B036554; Tue, 12 Sep 2006 12:45:17 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.7/8.13.7/Submit) id k8CJjH9B036553; Tue, 12 Sep 2006 12:45:17 -0700 (PDT) (envelope-from obrien) Date: Tue, 12 Sep 2006 12:45:16 -0700 From: "David O'Brien" To: Alex Burke Message-ID: <20060912194516.GB36471@dragon.NUXI.org> Mail-Followup-To: freebsd-current@freebsd.org, Alex Burke References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.11 Cc: FreeBSD CURRENT Subject: Re: Removing ports based on library dependency X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 19:45:34 -0000 On Mon, Sep 11, 2006 at 08:09:34PM +0100, Alex Burke wrote: > The problem is, I have NO idea what the incantation would be to get a > list of each installed port's dependencies... ldd /usr/local/bin/* /usr/X11R6/bin/* -- -- David (obrien@FreeBSD.org) From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 19:52:24 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F017416A415 for ; Tue, 12 Sep 2006 19:52:24 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from ns2.pil.dk (ns2.pil.dk [195.41.47.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FEF043D6E for ; Tue, 12 Sep 2006 19:52:23 +0000 (GMT) (envelope-from henrik@brixandersen.dk) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by ns2.pil.dk (Postfix) with ESMTP id 5788E7BA7D4 for ; Tue, 12 Sep 2006 21:52:22 +0200 (CEST) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 33329B937; Tue, 12 Sep 2006 21:52:09 +0200 (CEST) Date: Tue, 12 Sep 2006 21:52:08 +0200 From: Henrik Brix Andersen To: freebsd-current@freebsd.org Message-ID: <20060912195208.GB4099@tirith.brixandersen.dk> Mail-Followup-To: freebsd-current@freebsd.org References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> <4506F6DF.5010900@cs.okstate.edu> <4506FE59.6000600@errno.com> <45070021.3000606@protected-networks.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: <45070021.3000606@protected-networks.net> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 19:52:25 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 12, 2006 at 02:44:49PM -0400, Michael Butler wrote: > Is this as a consequence of the manufacturers paranoia that open-source > developers won't comply with wifi regulatory requirements (i.e. channel > and power restrictions by country) or some other reason? (not that you > can't just plug in any other card into the pcmcia slot ..), It's not manufacturers paranoia - it a requirement from the FCC (among others) that radio control must not take place in user-accessible software. Regards, Brix --=20 Henrik Brix Andersen --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: GnuPG signed iD8DBQFFBw/nv+Q4flTiePgRAnLyAJ0Y/GxUtq65oPu3VBGIp/1TOVPOmQCfZjff C9PTlBHp5dGwlN9iM5fl9BY= =8CDY -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl-- From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 21:11:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A16716A412 for ; Tue, 12 Sep 2006 21:11:26 +0000 (UTC) (envelope-from grtodd@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B6B243D7C for ; Tue, 12 Sep 2006 21:11:16 +0000 (GMT) (envelope-from grtodd@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so2158019wxd for ; Tue, 12 Sep 2006 14:11:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding:sender; b=q+pQQE0vgDOFr3hKO9UIVyEMr3QcPIW8HVb43UV3WLs24jfqfrWQI4BLh6fJREW3x6fKG1pL/rOYYEHHf/UgMRR2A8vjN1jpHAsqHY22D1S/MQAApoUQlFIwC0smNBvlvSn5mtlEJKXt85bk2SKpJ8iz0MDPz0YWzHniYXC/5Is= Received: by 10.70.22.10 with SMTP id 10mr1381122wxv; Tue, 12 Sep 2006 14:11:15 -0700 (PDT) Received: from ?10.10.10.24? ( [198.62.158.205]) by mx.gmail.com with ESMTP id i15sm2934776wxd.2006.09.12.14.11.15; Tue, 12 Sep 2006 14:11:15 -0700 (PDT) Message-ID: <45072272.5040606@bellanet.org> Date: Tue, 12 Sep 2006 17:11:14 -0400 From: Graham Todd User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> <4506F6DF.5010900@cs.okstate.edu> <4506FE59.6000600@errno.com> <45070021.3000606@protected-networks.net> <20060912195208.GB4099@tirith.brixandersen.dk> In-Reply-To: <20060912195208.GB4099@tirith.brixandersen.dk> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: "G. Robert Todd" Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 21:11:26 -0000 Henrik Brix Andersen wrote: > On Tue, Sep 12, 2006 at 02:44:49PM -0400, Michael Butler wrote: >> Is this as a consequence of the manufacturers paranoia that open-source >> developers won't comply with wifi regulatory requirements (i.e. channel >> and power restrictions by country) or some other reason? (not that you >> can't just plug in any other card into the pcmcia slot ..), > > It's not manufacturers paranoia - it a requirement from the FCC (among > others) that radio control must not take place in user-accessible > software. How does the FCC define a "user" I wonder? Is there a difference between the "user" of software installed on a laptop and the user of the included hardware and radio equipment that develops said software. Does someone who writes a loadable kernel module that accesses radio hardware so that "user" applications can access the Internet have to assure the regulator of compliance in some way? It seems like an engineer to engineer sort of matter that might require lawyer to lawyer interaction :-\ -- Graham Todd - bellanet.org 613.236.6163 #2443 From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 21:39:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEF6516A403 for ; Tue, 12 Sep 2006 21:39:26 +0000 (UTC) (envelope-from grtodd@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 151A843D46 for ; Tue, 12 Sep 2006 21:39:25 +0000 (GMT) (envelope-from grtodd@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so2165702wxd for ; Tue, 12 Sep 2006 14:39:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding:sender; b=ti3TDxDyRv6lnwbzppxd+2SHsq04s6OO5jqxWfx3vgjfhXr8bpDgbjjLDk1QYL90uA2qPxhfbyHGOJ6KM1mDReZpYBvnXjkFOSo4gZDqYaBt+DohWvxzOr8L1O3k/wH9YyznWk3O1fV0HwYFLVDiJLhzh7E/1px17yuOGg6cORQ= Received: by 10.70.72.11 with SMTP id u11mr9098699wxa; Tue, 12 Sep 2006 14:39:25 -0700 (PDT) Received: from ?10.10.10.24? ( [198.62.158.205]) by mx.gmail.com with ESMTP id h36sm7244297wxd.2006.09.12.14.39.24; Tue, 12 Sep 2006 14:39:25 -0700 (PDT) Message-ID: <45072910.7040008@bellanet.org> Date: Tue, 12 Sep 2006 17:39:28 -0400 From: Graham Todd User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> <4506F6DF.5010900@cs.okstate.edu> <4506FE59.6000600@errno.com> <45070021.3000606@protected-networks.net> <20060912195208.GB4099@tirith.brixandersen.dk> <45072272.5040606@bellanet.org> In-Reply-To: <45072272.5040606@bellanet.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: "G. Robert Todd" Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 21:39:26 -0000 gaak - just realized I am way OT here. Sorry Graham Todd wrote: > Henrik Brix Andersen wrote: >> On Tue, Sep 12, 2006 at 02:44:49PM -0400, Michael Butler wrote: >>> Is this as a consequence of the manufacturers paranoia that open-source >>> developers won't comply with wifi regulatory requirements (i.e. channel >>> and power restrictions by country) or some other reason? (not that you >>> can't just plug in any other card into the pcmcia slot ..), >> It's not manufacturers paranoia - it a requirement from the FCC (among >> others) that radio control must not take place in user-accessible >> software. > > How does the FCC define a "user" I wonder? Is there a difference > between the "user" of software installed on a laptop and the user of the > included hardware and radio equipment that develops said software. > > Does someone who writes a loadable kernel module that accesses radio > hardware so that "user" applications can access the Internet have to > assure the regulator of compliance in some way? > > It seems like an engineer to engineer sort of matter that might require > lawyer to lawyer interaction :-\ -- Graham Todd - bellanet.org 613.236.6163 #2443 From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 22:12:48 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DA5516A4DE for ; Tue, 12 Sep 2006 22:12:48 +0000 (UTC) (envelope-from schwabe@uni-paderborn.de) Received: from dagobah.rfc1149.org (dagobah.rfc1149.org [217.160.170.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A92843D58 for ; Tue, 12 Sep 2006 22:12:43 +0000 (GMT) (envelope-from schwabe@uni-paderborn.de) Received: from dslb-084-061-187-013.pools.arcor-ip.net ([84.61.187.13] helo=[192.168.0.42]) by dagobah.rfc1149.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GNGUf-000Lnx-4t; Wed, 13 Sep 2006 00:12:39 +0200 Message-ID: <450730CD.301@uni-paderborn.de> Date: Wed, 13 Sep 2006 00:12:29 +0200 From: Arne Schwabe User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: freebsd-current@freebsd.org, Sam Leffler , Reid Linnemann , cms01@tampabay.rr.com References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> <4506F6DF.5010900@cs.okstate.edu> <4506FE59.6000600@errno.com> <20060912194349.GA36471@dragon.NUXI.org> In-Reply-To: <20060912194349.GA36471@dragon.NUXI.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-RFC-Spam-Report: Spam detection software, running on the system "dagobah.rfc1149.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: David O'Brien schrieb: > On Tue, Sep 12, 2006 at 11:37:13AM -0700, Sam Leffler wrote: > >> I'd like to see support >> for these parts 'cuz they appear frequently in laptops; often with bios >> locking which makes swapping cards problematic. >> > > Scary. I've always assumed I could buy a laptop with any wireless NIC > and change it. Do you know which laptop vendors do this? Can you say > anything more on the "bios locking"? > For example IBM Thinkpad simply won't boot (BIOS Error Message) if you insert a non IBM WLAN Card. [...] Content analysis details: (-3.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.5 AWL AWL: From: address is in the auto white-list X-RFC-Spam-Score: -3.9 (---) X-Mailman-Approved-At: Tue, 12 Sep 2006 23:10:15 +0000 Cc: Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 22:12:48 -0000 David O'Brien schrieb: > On Tue, Sep 12, 2006 at 11:37:13AM -0700, Sam Leffler wrote: > >> I'd like to see support >> for these parts 'cuz they appear frequently in laptops; often with bios >> locking which makes swapping cards problematic. >> > > Scary. I've always assumed I could buy a laptop with any wireless NIC > and change it. Do you know which laptop vendors do this? Can you say > anything more on the "bios locking"? > For example IBM Thinkpad simply won't boot (BIOS Error Message) if you insert a non IBM WLAN Card. Arne From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 23:14:31 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C78A16A412 for ; Tue, 12 Sep 2006 23:14:31 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8AC143D46 for ; Tue, 12 Sep 2006 23:14:30 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 16488 invoked from network); 12 Sep 2006 22:58:20 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 12 Sep 2006 22:58:20 -0000 Message-ID: <45073F58.6080900@freebsd.org> Date: Wed, 13 Sep 2006 01:14:32 +0200 From: Andre Oppermann User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Mike Tancsa References: <4506BE2C.1050903@freebsd.org> <2a41acea0609120846i32fd682wd834e0373c23d557@mail.gmail.com> <7.0.1.0.0.20060912115424.16c29b50@sentex.net> <4506E3BB.9010201@freebsd.org> <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> In-Reply-To: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ian FREISLICH , Jack Vogel , current@freebsd.org Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 23:14:31 -0000 Mike Tancsa wrote: > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > >> TSO != (vlan && promisc) > > Sorry, the commonality I was referring to was VLAN hardware tagging and > how it must be enabled for TSO, but that breaks other things. See a few > messages ago > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html I'm sure we can find a workaround for that. -- Andre From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 00:59:27 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBBA716A407 for ; Wed, 13 Sep 2006 00:59:27 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9CED43D53 for ; Wed, 13 Sep 2006 00:59:24 +0000 (GMT) (envelope-from jfvogel@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2679195pye for ; Tue, 12 Sep 2006 17:59:24 -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=tF5jY9y8YDvg0u7CBa6hPbwL08qn+PzFImHjxG6lONtixwNNa4PH025clcZm6I3/xFiTRz/gV8Xbs21G5GNCTjkpr3bQkw/ZbnzNZM0JtUm1BtNb9GELvTgYTrj5IFKBVDNW3Gd5rmPf4ozMNl5bvf7gQzE8v2QCFlEYPj1adeA= Received: by 10.35.93.19 with SMTP id v19mr11931639pyl; Tue, 12 Sep 2006 17:59:24 -0700 (PDT) Received: by 10.35.119.1 with HTTP; Tue, 12 Sep 2006 17:59:23 -0700 (PDT) Message-ID: <2a41acea0609121759l4684b047r350fb0763d0ccc84@mail.gmail.com> Date: Tue, 12 Sep 2006 17:59:24 -0700 From: "Jack Vogel" To: "Andre Oppermann" In-Reply-To: <45073F58.6080900@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4506BE2C.1050903@freebsd.org> <2a41acea0609120846i32fd682wd834e0373c23d557@mail.gmail.com> <7.0.1.0.0.20060912115424.16c29b50@sentex.net> <4506E3BB.9010201@freebsd.org> <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> <45073F58.6080900@freebsd.org> Cc: Ian FREISLICH , current@freebsd.org, Mike Tancsa Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 00:59:28 -0000 On 9/12/06, Andre Oppermann wrote: > Mike Tancsa wrote: > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > > > >> TSO != (vlan && promisc) > > > > Sorry, the commonality I was referring to was VLAN hardware tagging and > > how it must be enabled for TSO, but that breaks other things. See a few > > messages ago > > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html > > I'm sure we can find a workaround for that. Not sure what you are referring to Andre, working around which part? From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 04:27:31 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B401516A40F for ; Wed, 13 Sep 2006 04:27:31 +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 5738043D4C for ; Wed, 13 Sep 2006 04:27:31 +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 k8D4RS9P064305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Sep 2006 21:27:28 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <450788B0.1030100@errno.com> Date: Tue, 12 Sep 2006 21:27:28 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5.0.4 (X11/20060724) MIME-Version: 1.0 To: freebsd-current@freebsd.org, Reid Linnemann , cms01@tampabay.rr.com References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> <4506F6DF.5010900@cs.okstate.edu> <4506FE59.6000600@errno.com> <20060912194349.GA36471@dragon.NUXI.org> In-Reply-To: <20060912194349.GA36471@dragon.NUXI.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 04:27:31 -0000 David O'Brien wrote: > On Tue, Sep 12, 2006 at 11:37:13AM -0700, Sam Leffler wrote: >> I'd like to see support >> for these parts 'cuz they appear frequently in laptops; often with bios >> locking which makes swapping cards problematic. > > Scary. I've always assumed I could buy a laptop with any wireless NIC > and change it. Do you know which laptop vendors do this? Can you say > anything more on the "bios locking"? > Regulatory compliance certification is done with unit testing (wireless card + pigtails + antennae). Allowing arbitrary combinations can theoretically leave the laptop vendor open to heavy fines; hence some vendors have taken to disabling a laptop booted with a wireless card that's not been certified (the bios checks the pci device id and will not allow the machine to boot if the card isn't on it's approved list). In practice this bios locking is simple to workaround for cards that get their pci device id from eeprom--if you're so inclined. A bit of searching will find articles by people that have done it. I've seen bios locking done by ibm and hp. Wouldn't be surprised if many others do it. Sam From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 05:37:50 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B851C16A40F; Wed, 13 Sep 2006 05:37:50 +0000 (UTC) (envelope-from if@hetzner.co.za) Received: from hetzner.co.za (office.cpt2.host-h.net [196.7.147.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1B1A43D46; Wed, 13 Sep 2006 05:37:49 +0000 (GMT) (envelope-from if@hetzner.co.za) Received: from localhost ([127.0.0.1] helo=ian.hetzner.africa) by hetzner.co.za with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GNNRO-000BKY-S1; Wed, 13 Sep 2006 07:37:42 +0200 To: "Jack Vogel" From: Ian FREISLICH In-Reply-To: Message from "Jack Vogel" of "Tue, 12 Sep 2006 17:59:24 MST." <2a41acea0609121759l4684b047r350fb0763d0ccc84@mail.gmail.com> X-Attribution: BOFH Date: Wed, 13 Sep 2006 07:37:42 +0200 Message-Id: Cc: Andre Oppermann , current@freebsd.org, Mike Tancsa Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 05:37:50 -0000 "Jack Vogel" wrote: > On 9/12/06, Andre Oppermann wrote: > > Mike Tancsa wrote: > > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > > > > > >> TSO != (vlan && promisc) > > > > > > Sorry, the commonality I was referring to was VLAN hardware tagging and > > > how it must be enabled for TSO, but that breaks other things. See a few > > > messages ago > > > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html > > > > I'm sure we can find a workaround for that. > > Not sure what you are referring to Andre, working around which part? EM + CARP + VLAN + TSO is an unworkable combination since VLANHWTAG gets broken by PROMISC required by CARP. TSO requires VLANHWTAG. Is the VLANHWTAG + PROMISC problem a driver or hardware problem? Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 06:11:02 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F76716A417 for ; Wed, 13 Sep 2006 06:11:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD9B043D49 for ; Wed, 13 Sep 2006 06:11:00 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k8D687Uc043135; Wed, 13 Sep 2006 00:08:10 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 13 Sep 2006 00:08:09 -0600 (MDT) Message-Id: <20060913.000809.-1540392387.imp@bsdimp.com> To: wsk@gddsn.org.cn From: "M. Warner Losh" In-Reply-To: <45060FC4.2090308@gddsn.org.cn> References: <45060FC4.2090308@gddsn.org.cn> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 13 Sep 2006 00:08:10 -0600 (MDT) Cc: current@FreeBSD.ORG Subject: Re: pccard modem don't work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 06:11:02 -0000 In message: <45060FC4.2090308@gddsn.org.cn> wsk writes: : hello, : on Aug 30' CURRENT i'm getting following err when i insert my pccard modem: : : pccard0:Allocation failed for cfe 13 : sio4: at port 0x2f8-0x2ff irq 11 : function 0 config 21 on pccard0 : device_attach: sio4 attach returned -19 : : It seems sio didn't attach with error. : any reply with appreciates Please post an enitre dmesg booted -v with the tunables 'hw.pccard.debug=1' and 'hw.pccard.cis_debug=1' It appears that sio didn't like this card for some reason, and bootverbose and/or the pccard debugs will help track down why. Warner From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 06:41:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAB3416A412 for ; Wed, 13 Sep 2006 06:41:57 +0000 (UTC) (envelope-from jos@catnook.com) Received: from lizzy.dyndns.org (209-204-181-78.dsl.static.sonic.net [209.204.181.78]) by mx1.FreeBSD.org (Postfix) with SMTP id 8A61E43D49 for ; Wed, 13 Sep 2006 06:41:57 +0000 (GMT) (envelope-from jos@catnook.com) Received: (qmail 69993 invoked by uid 1000); 13 Sep 2006 06:42:16 -0000 Date: Tue, 12 Sep 2006 23:41:54 -0701 From: Jos Backus To: freebsd-current@freebsd.org Message-ID: <20060913064216.GA68192@lizzy.catnook.local> Mail-Followup-To: freebsd-current@freebsd.org References: <20060829170124.GA1818@lizzy.catnook.local> <20060901151404.C18193@fledge.watson.org> <20060910211047.GA1216@lizzy.catnook.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060910211047.GA1216@lizzy.catnook.local> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Retrieving info from panics while in X X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jos@catnook.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 06:41:57 -0000 Paniced again, twice today. Filed as kern/103198. -- Jos Backus jos at catnook.com From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 08:46:29 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB67F16A40F for ; Wed, 13 Sep 2006 08:46:29 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from ns2.pil.dk (ns2.pil.dk [195.41.47.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AD8043D72 for ; Wed, 13 Sep 2006 08:46:25 +0000 (GMT) (envelope-from henrik@brixandersen.dk) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by ns2.pil.dk (Postfix) with ESMTP id BC25D7BAA66 for ; Wed, 13 Sep 2006 10:46:24 +0200 (CEST) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 233FEB93F; Wed, 13 Sep 2006 10:46:11 +0200 (CEST) Date: Wed, 13 Sep 2006 10:46:10 +0200 From: Henrik Brix Andersen To: freebsd-current@freebsd.org Message-ID: <20060913084610.GA14957@tirith.brixandersen.dk> Mail-Followup-To: freebsd-current@freebsd.org References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> <4506F6DF.5010900@cs.okstate.edu> <4506FE59.6000600@errno.com> <20060912194349.GA36471@dragon.NUXI.org> <450730CD.301@uni-paderborn.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <450730CD.301@uni-paderborn.de> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 08:46:29 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 13, 2006 at 12:12:29AM +0200, Arne Schwabe wrote: > For example IBM Thinkpad simply won't boot (BIOS Error Message) if you > insert a non IBM WLAN Card. That can easily be circumvented, though. Regards, Brix --=20 Henrik Brix Andersen --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: GnuPG signed iD8DBQFFB8VSv+Q4flTiePgRAtCdAJoCy/BncAx548iTR/WRfT9ADDBGxgCguBwF L0n9ok3Ar8KxOO1d2MXyRnk= =px56 -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 08:11:56 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A28FC16A40F for ; Wed, 13 Sep 2006 08:11:56 +0000 (UTC) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id C554A43D76 for ; Wed, 13 Sep 2006 08:11:50 +0000 (GMT) (envelope-from wsk@gddsn.org.cn) Received: from [192.168.168.158] (unknown [192.168.168.158]) by gddsn.org.cn (Postfix) with ESMTP id 2F1AE38CB73; Wed, 13 Sep 2006 16:11:45 +0800 (CST) Message-ID: <4507BD0A.40408@gddsn.org.cn> Date: Wed, 13 Sep 2006 16:10:50 +0800 From: wsk User-Agent: Thunderbird 1.5.0.2 (X11/20060515) MIME-Version: 1.0 To: "M. Warner Losh" , current@freebsd.org References: <45060FC4.2090308@gddsn.org.cn> <20060913.000809.-1540392387.imp@bsdimp.com> In-Reply-To: <20060913.000809.-1540392387.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 13 Sep 2006 11:23:37 +0000 Cc: Subject: Re: pccard modem don't work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 08:11:56 -0000 M. Warner Losh wrote: > In message: <45060FC4.2090308@gddsn.org.cn> > wsk writes: > : hello, > : on Aug 30' CURRENT i'm getting following err when i insert my pccard modem: > : > : pccard0:Allocation failed for cfe 13 > : sio4: at port 0x2f8-0x2ff irq 11 > : function 0 config 21 on pccard0 > : device_attach: sio4 attach returned -19 > : > : It seems sio didn't attach with error. > : any reply with appreciates > > Please post an enitre dmesg booted -v with the tunables > 'hw.pccard.debug=1' and 'hw.pccard.cis_debug=1' > > It appears that sio didn't like this card for some reason, and > bootverbose and/or the pccard debugs will help track down why. > > Warner > > here's my dmesg with attach pccard modem and thanks your reply Pentium Pro MTRR support enabled null: nfslock: pseudo-device random: io: VESA: information block 56 45 53 41 00 02 00 01 00 01 01 00 00 00 22 00 00 01 ff 00 00 01 19 01 00 01 2f 01 00 01 34 01 00 01 82 01 0d 01 0e 01 0f 01 20 01 92 01 93 01 94 01 95 01 96 01 a2 01 a3 01 a4 01 a5 01 a6 01 VESA: 60 mode(s) found VESA: v2.0, 16320k memory, flags:0x1, mode table:0xc07f90e2 (1000022) VESA: ATI MOBILITY RADEON 7500 VESA: ATI Technologies Inc. P7 01.00 npx0: INT 16 interface acpi0: on motherboard acpi0: [MPSAFE] acpi_ec0: port 0x62,0x66 on acpi0 pci_open(1): mode 1 addr port (0x0cf8) is 0x8000f904 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=1a308086) pcibios: BIOS version 2.10 Found $PIR table, 14 entries at 0xc00fdeb0 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 0 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 0 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 0 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 0 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 1 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 1 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 1 0 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 1 0 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 30 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 30 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 30 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 30 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 2 0 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 2 0 B 0x61 3 4 5 6 7 9 10 11 12 14 15 slot 1 2 2 A 0x62 3 4 5 6 7 9 10 11 12 14 15 slot 1 2 2 B 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 2 3 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 2 3 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 2 3 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 2 3 D 0x63 3 4 5 6 7 9 10 11 12 14 15 slot 2 9 0 A 0x60 3 4 5 6 7 9 10 11 12 14 15 slot 2 9 0 B 0x61 3 4 5 6 7 9 10 11 12 14 15 slot 2 9 0 C 0x62 3 4 5 6 7 9 10 11 12 14 15 slot 2 9 0 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 9 1 A 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 9 2 A 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 9 2 B 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 2 8 A 0x68 3 4 5 6 7 9 10 11 12 14 15 embedded 0 29 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 29 B 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 29 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 29 D 0x6b 3 4 5 6 7 9 10 11 12 14 15 embedded 0 31 A 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 31 B 0x61 3 4 5 6 7 9 10 11 12 14 15 AcpiOsDerivePciId: bus 0 dev 31 func 0 AcpiOsDerivePciId: bus 0 dev 0 func 0 AcpiOsDerivePciId: bus 2 dev 0 func 0 AcpiOsDerivePciId: bus 2 dev 0 func 1 acpi0: Power Button (fixed) acpi0: wakeup code va 0xd73a3000 pa 0x9e000 atpic: Programming IRQ9 as level/low ACPI timer: 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 -> 10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 pci_link0: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 pci_link0: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 pci_link0: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link1: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 pci_link1: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 pci_link1: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link2: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 pci_link2: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 pci_link2: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link3: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 pci_link3: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 pci_link3: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link4: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 pci_link4: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 3 4 5 6 7 9 10 11 pci_link4: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link5: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link5: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link5: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link6: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link6: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link6: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link7: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link7: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 pci_link7: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 cpu0: on acpi0 acpi_perf0: on cpu0 acpi_throttle0: on cpu0 acpi_throttle0: P_CNT from P_BLK 0x1010 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ACPI: Found matching pin for 0.29.INTA at func 0: 11 ACPI: Found matching pin for 0.29.INTB at func 1: 11 ACPI: Found matching pin for 0.29.INTC at func 2: 11 ACPI: Found matching pin for 0.31.INTA at func 1: 255 ACPI: Found matching pin for 0.31.INTB at func 3: 11 pci0: on pcib0 pci0: physical bus=0 found-> vendor=0x8086, dev=0x1a30, revid=0x04 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0106, statreg=0x2090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 3, range 32, base e0000000, size 26, enabled found-> vendor=0x8086, dev=0x1a31, revid=0x04 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x00a0, cachelnsz=0 (dwords) lattimer=0x60 (2880 ns), mingnt=0x0c (3000 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x2482, revid=0x02 bus=0, slot=29, func=0 class=0c-03-00, hdrtype=0x00, mfdev=1 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 map[20]: type 4, range 32, base 00001800, size 5, enabled pcib0: matched entry for 0.29.INTA (src \\_SB_.LNKA:0) pcib0: slot 29 INTA routed to irq 11 via \\_SB_.LNKA found-> vendor=0x8086, dev=0x2484, revid=0x02 bus=0, slot=29, func=1 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=11 map[20]: type 4, range 32, base 00001820, size 5, enabled pcib0: matched entry for 0.29.INTB (src \\_SB_.LNKD:0) pcib0: slot 29 INTB routed to irq 11 via \\_SB_.LNKD found-> vendor=0x8086, dev=0x2487, revid=0x02 bus=0, slot=29, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=11 map[20]: type 4, range 32, base 00001840, size 5, enabled pcib0: matched entry for 0.29.INTC (src \\_SB_.LNKC:0) pcib0: slot 29 INTC routed to irq 11 via \\_SB_.LNKC found-> vendor=0x8086, dev=0x2448, revid=0x42 bus=0, slot=30, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0080, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x248c, revid=0x02 bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x248a, revid=0x02 bus=0, slot=31, func=1 class=01-01-8a, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 map[20]: type 4, range 32, base 00001860, size 4, enabled map[24]: type 1, range 32, base 00000000, size 10, memory disabled found-> vendor=0x8086, dev=0x2483, revid=0x02 bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=11 map[20]: type 4, range 32, base 00001880, size 5, enabled pcib0: matched entry for 0.31.INTB (src \\_SB_.LNKB:0) pcib0: slot 31 INTB routed to irq 11 via \\_SB_.LNKB found-> vendor=0x8086, dev=0x2485, revid=0x02 bus=0, slot=31, func=5 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=11 map[10]: type 4, range 32, base 00001c00, size 8, enabled map[14]: type 4, range 32, base 000018c0, size 6, enabled pcib0: matched entry for 0.31.INTB (src \\_SB_.LNKB:0) pcib0: slot 31 INTB routed to irq 11 via \\_SB_.LNKB found-> vendor=0x8086, dev=0x2486, revid=0x02 bus=0, slot=31, func=6 class=07-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=11 map[10]: type 4, range 32, base 00002400, size 8, enabled map[14]: type 4, range 32, base 00002000, size 7, enabled pcib0: matched entry for 0.31.INTB (src \\_SB_.LNKB:0) pcib0: slot 31 INTB routed to irq 11 via \\_SB_.LNKB agp0: on hostb0 hostb0: Reserved 0x4000000 bytes for rid 0x10 type 3 at 0xe0000000 agp0: allocating GATT for aperture of size 64M pcib1: at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0x3000-0x3fff pcib1: memory decode 0xd0100000-0xd01fffff pcib1: prefetched decode 0xe8000000-0xefffffff ACPI: Found matching pin for 1.0.INTA at func 0: 11 pci1: on pcib1 pci1: physical bus=1 found-> vendor=0x1002, dev=0x4c57, revid=0x00 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0387, statreg=0x02b0, cachelnsz=8 (dwords) lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 3, range 32, base e8000000, size 27, enabled pcib1: (null) requested memory range 0xe8000000-0xefffffff: good map[14]: type 4, range 32, base 00003000, size 8, enabled pcib1: (null) requested I/O range 0x3000-0x30ff: in range map[18]: type 1, range 32, base d0100000, size 16, enabled pcib1: (null) requested memory range 0xd0100000-0xd010ffff: good pcib1: matched entry for 1.0.INTA (src \\_SB_.LNKA:0) pcib1: slot 0 INTA routed to irq 11 via \\_SB_.LNKA vgapci0: port 0x3000-0x30ff mem 0xe8000000-0xefffffff,0xd0100000-0xd010ffff irq 11 at device 0.0 on pci1 uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1800 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 uhci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1820 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1840 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pcib2: secondary bus 2 pcib2: subordinate bus 8 pcib2: I/O decode 0x4000-0x8fff pcib2: memory decode 0xd0200000-0xdfffffff pcib2: prefetched decode 0xf0000000-0xf7ffffff pcib2: Subtractively decoded bridge. ACPI: Found matching pin for 2.0.INTA at func 0: 11 ACPI: Found matching pin for 2.0.INTB at func 1: 11 ACPI: Found matching pin for 2.8.INTA at func 0: 11 pci2: on pcib2 pci2: physical bus=2 found-> vendor=0x104c, dev=0xac55, revid=0x01 bus=2, slot=0, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0107, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 50000000, size 12, enabled pcib2: (null) requested memory range 0x50000000-0x50000fff: good pcib2: matched entry for 2.0.INTA (src \\_SB_.LNKA:0) pcib2: slot 0 INTA routed to irq 11 via \\_SB_.LNKA found-> vendor=0x104c, dev=0xac55, revid=0x01 bus=2, slot=0, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0107, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=b, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 51000000, size 12, enabled pcib2: (null) requested memory range 0x51000000-0x51000fff: good pcib2: matched entry for 2.0.INTB (src \\_SB_.LNKB:0) pcib2: slot 0 INTB routed to irq 11 via \\_SB_.LNKB found-> vendor=0x8086, dev=0x1031, revid=0x42 bus=2, slot=8, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0117, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns) intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base d0200000, size 12, enabled pcib2: (null) requested memory range 0xd0200000-0xd0200fff: good map[14]: type 4, range 32, base 00008000, size 6, enabled pcib2: (null) requested I/O range 0x8000-0x803f: in range pcib2: matched entry for 2.8.INTA (src \\_SB_.LNKE:0) pcib2: slot 8 INTA routed to irq 11 via \\_SB_.LNKE cbb0: mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2 cbb0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x50000000 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [MPSAFE] cbb0: PCI Configuration space: 0x00: 0xac55104c 0x02100107 0x06070001 0x00824008 0x10: 0x50000000 0x020000a0 0xb0050302 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 0x30: 0x00000000 0xfffffffc 0x00000000 0x0740010b 0x40: 0x05121014 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x0844f071 0x00000000 0x00000000 0x01d21022 0x90: 0x406422c0 0x00000000 0x00000000 0x00000000 0xa0: 0xfe120001 0x00c00000 0x00000813 0x0000000f 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 cbb1: mem 0x51000000-0x51000fff irq 11 at device 0.1 on pci2 cbb1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x51000000 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [MPSAFE] cbb1: PCI Configuration space: 0x00: 0xac55104c 0x02100107 0x06070001 0x00824008 0x10: 0x51000000 0x020000a0 0xb0080602 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 0x30: 0x00000000 0xfffffffc 0x00000000 0x0740020b 0x40: 0x05121014 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x0844d071 0x00000000 0x00000000 0x01d21022 0x90: 0x406422c0 0x00000000 0x00000000 0x00000000 0xa0: 0xfe120001 0x00c00000 0x00000813 0x0000000f 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 fxp0: port 0x8000-0x803f mem 0xd0200000-0xd0200fff irq 11 at device 8.0 on pci2 fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xd0200000 fxp0: using memory space register mapping fxp0: PCI IDs: 8086 1031 1014 0209 0042 fxp0: Dynamic Standby mode is disabled miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: bpf attached fxp0: Ethernet address: 00:0d:60:39:46:18 fxp0: [MPSAFE] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x1860 ata0: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: [MPSAFE] ata1: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: reset tp2 stat0=00 stat1=00 devices=0xc ata1: [MPSAFE] ichsmb0: port 0x1880-0x189f irq 11 at device 31.3 on pci0 ichsmb0: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1880 ichsmb0: [GIANT-LOCKED] smbus0: on ichsmb0 smb0: on smbus0 pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff irq 11 at device 31.5 on pci0 pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x1c00 pcm0: Reserved 0x40 bytes for rid 0x14 type 4 at 0x18c0 pcm0: [MPSAFE] pcm0: pcm0: Codec features headphone, 6 bit master volume, Analog Devices Phat Stereo pcm0: Primary codec extended features variable rate PCM pcm0: ac97 codec dac ready count: 0 pcm0: sndbuf_setmap 3e6c5000, 4000; 0xe3c15000 -> 3e6c5000 pcm0: sndbuf_setmap 3e6bf000, 4000; 0xe3c19000 -> 3e6bf000 pci0: at device 31.6 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x54ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 atkbd0: [GIANT-LOCKED] psm0: unable to allocate IRQ psmcpnp0: irq 12 on acpi0 psm0: current command byte:0047 psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000008, packet size:3 psm0: syncmask:c0, syncbits:00 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: ic_type 90 part_id 73 fdc0: [MPSAFE] fdc0: [FAST] sio0: irq maps: 0x201 0x211 0x201 0x201 sio0: irq maps: 0x201 0x211 0x201 0x201 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FAST] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: irq maps: 0x201 0x201 0x201 0x201 sio1: probe failed test(s): 0 1 2 4 6 7 9 battery0: on acpi0 acpi_acad0: on acpi0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: irq maps: 0x201 0x201 0x201 0x201 sio1: probe failed test(s): 0 1 2 4 6 7 9 ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it fdc: fdc0 already exists; skipping it sio: sio0 already exists; skipping it pnp_identify: Trying Read_Port at 203 pnp_identify: Trying Read_Port at 243 pnp_identify: Trying Read_Port at 283 pnp_identify: Trying Read_Port at 2c3 pnp_identify: Trying Read_Port at 303 pnp_identify: Trying Read_Port at 343 pnp_identify: Trying Read_Port at 383 pnp_identify: Trying Read_Port at 3c3 PNP Identify complete sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices pmtimer0 on isa0 orm0: at iomem 0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff pnpid ORM0000 on isa0 adv0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) bt0: not probed (disabled) cs0: not probed (disabled) ed0: not probed (disabled) fe0: not probed (disabled) ie0: not probed (disabled) le0: not probed (disabled) ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: ECP SPP ECP+EPP SPP ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 plip0: bpf attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: irq maps: 0x201 0x201 0x201 0x201 sio1: probe failed test(s): 0 1 2 4 6 7 9 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0 sio2: not probed (disabled) sio3: not probed (disabled) sn0: not probed (disabled) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 vt0: not probed (disabled) isa_probe_children: probing PnP devices ums0: on uhub1ums0: 3 buttons and Z dir. Device configuration finished. procfs registered Timecounter "TSC" frequency 1196124560 Hz quality 800 Timecounters tick every 1.000 msec lo0: bpf attached pccard0: chip_socket_enable ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire ad0: setting PIO4 on ICH3 chip ad0: setting UDMA100 on ICH3 chip ad0: 38154MB at ata0-master UDMA100 ad0: 78140160 sectors [77520C/16H/63S] 16 sectors/interrupt 1 depth queue ad0: Intel check1 failed ad0: Adaptec check1 failed ad0: LSI (v3) check1 failed ad0: LSI (v2) check1 failed ad0: FreeBSD check1 failed fdc0: output ready timeout fdc0: output ready timeout fdc0: output ready timeout fdc0: output ready timeout fdc0: output ready timeout fdc0: output ready timeout fdc0: output ready timeout GEOM: new disk ad0 battery0: battery initialization start acpi_acad0: acline initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times pccard0: read_cis ata1: reiniting channel .. ata1: reset tp1 mask=03 ostat0=00 ostat1=00 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: reset tp2 stat0=00 stat1=00 devices=0xc ata1: reinit done .. pcib2: pccard0 requested memory range 0xd0200000-0xdfffffff: good cis mem map 0xe3c42000 (resource: 0xd0210000) pccard0: CIS tuple chain: CISTPL_DEVICE type=null speed=null 01 03 00 00 ff CISTPL_DEVICE_A type=funcspec speed=200ns 17 03 d2 3a ff unhandled CISTPL 14 CISTPL_NO_LINK 14 00 CISTPL_MANFID 20 04 00 00 00 00 CISTPL_FUNCID 21 02 02 01 CISTPL_FUNCE 22 04 00 02 0f 7f CISTPL_VERS_1 15 26 05 00 42 6f 72 61 20 54 65 6c 65 63 6f 6d 20 49 6e 63 00 42 6f 72 61 20 33 36 30 30 20 52 65 76 20 31 2e 31 00 ff CISTPL_CONFIG 1a 05 01 2d 00 01 03 ran out of space before TCPE_MI CISTPL_CFTABLE_ENTRY 1b 15 cd 41 99 7f b5 1e 35 b5 3c 1d 2d 2c 22 aa 60 f8 03 07 30 ff ff ran out of space before TCPE_MI CISTPL_CFTABLE_ENTRY 1b 15 d5 41 99 7f b5 1e 35 b5 3c 1d 2d 2c 22 aa 60 f8 02 07 30 ff ff ran out of space before TCPE_MI CISTPL_CFTABLE_ENTRY 1b 15 dd 41 99 7f b5 1e 35 b5 3c 5d 00 2c 22 aa 60 e8 03 07 30 ff ff ran out of space before TCPE_MI CISTPL_CFTABLE_ENTRY 1b 15 e5 41 99 7f b5 1e 35 b5 3c 1d 2d 2c 22 aa 60 e8 02 07 30 ff ff ran out of space before TCPE_MI CISTPL_CFTABLE_ENTRY 1b 11 ed 41 99 7f b5 1e 35 b5 3c 1d 2d 2c 22 23 30 ff ff CISTPL_CFTABLE_ENTRY 1b 05 2d 01 01 b5 1e CISTPL_END ff *pccard0: check_cis_quirks pccard0: CIS version PC Card Standard 5.0 pccard0: CIS info: Bora Telecom Inc, Bora 3600 Rev 1.1 pccard0: Manufacturer code 0x0, product 0x0 pccard0: function 0: serial port, ccr addr 100 mask 3 pccard0: function 0, config table entry 13: I/O card; irq mask ffff; iomask a, iospace 3f8-3ff; rdybsy_active io8 irqlevel pccard0: function 0, config table entry 21: I/O card; irq mask ffff; iomask a, iospace 2f8-2ff; rdybsy_active io8 irqlevel pccard0: function 0, config table entry 29: I/O card; irq mask ffff; iomask a, iospace 3e8-3ef; rdybsy_active io8 irqlevel pccard0: function 0, config table entry 37: I/O card; irq mask ffff; iomask a, iospace 2e8-2ef; rdybsy_active io8 irqlevel pccard0: function 0, config table entry 45: I/O card; irq mask ffff; iomask 3, iospace 0-7; rdybsy_active io8 irqlevel pccard0: functions scanning pccard0: Card has 1 functions. pccard_mfc is 0 pccard0: I/O rid 0 start 3f8 end 3ff pcib2: pccard0 requested I/O range 0x3f8-0x3ff: in range pccard0: Allocation failed for cfe 13 pccard0: I/O rid 0 start 2f8 end 2ff pcib2: pccard0 requested I/O range 0x2f8-0x2ff: in range pcib2: pccard0 requested memory range 0xd0200000-0xdfffffff: good pccard0: ccr_res == d0201000-d02013ff, base=100 pccard0: function 0 CCR at 0 offset 100: 55 20 b5 3c, 0 2c 22 aa, 60 sio4: at port 0x2f8-0x2ff irq 11 function 0 config 21 on pccard0 device_attach: sio4 attach returned -19* ata1: reiniting channel .. ata1: reset tp1 mask=03 ostat0=00 ostat1=00 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: reset tp2 stat0=00 stat1=00 devices=0xc ata1: reinit done .. fdc0: output ready timeout ata1-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=40 wire acd0: setting PIO4 on ICH3 chip acd0: setting UDMA33 on ICH3 chip fdc0: input ready timeout fdc0: input ready timeout fdc0: output ready timeout fdc0: input ready timeout fdc0: input ready timeout fdc0: output ready timeout fdc0: input ready timeout fdc0: input ready timeout fdc0: output ready timeout fdc0: input ready timeout fdc0: input ready timeout acd0: CDRW drive at ata1 as master acd0: read 4134KB/s (4134KB/s) write 1377KB/s (1377KB/s), 2048KB buffer, UDMA33 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, DVDRAM, packet acd0: Writes: CDR, CDRW, test write, burnproof acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc pcm0: measured ac97 link rate at 47999 Hz, will use 48000 Hz ATA PseudoRAID loaded Trying to mount root from ufs:/dev/ad0s1a start_init: trying /sbin/init Linux ELF exec handler installed drm0: on vgapci0 info: [drm] AGP at 0xe0000000 64MB info: [drm] Initialized radeon 1.24.0 20060225 vgapci0: Reserved 0x10000 bytes for rid 0x18 type 3 at 0xd0100000 vgapci0: Reserved 0x8000000 bytes for rid 0x10 type 3 at 0xe8000000 agp0: Setting AGP v2 mode 1 info: [drm] Setting GART location based on old memory map info: [drm] writeback test succeeded in 1 usecs drm0: [MPSAFE] From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 15:09:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 723A516A40F; Wed, 13 Sep 2006 15:09:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7EC843D6E; Wed, 13 Sep 2006 15:09:25 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k8DF993i035269; Wed, 13 Sep 2006 11:09:09 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 13 Sep 2006 11:08:44 -0400 User-Agent: KMail/1.9.1 References: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> <45073F58.6080900@freebsd.org> In-Reply-To: <45073F58.6080900@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609131108.45382.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 13 Sep 2006 11:09:20 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1875/Wed Sep 13 05:19:58 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: current@freebsd.org, Ian FREISLICH , Andre Oppermann , Jack Vogel , Mike Tancsa Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 15:09:26 -0000 On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: > Mike Tancsa wrote: > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > > > >> TSO != (vlan && promisc) > > > > Sorry, the commonality I was referring to was VLAN hardware tagging and > > how it must be enabled for TSO, but that breaks other things. See a few > > messages ago > > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html > > I'm sure we can find a workaround for that. Well, you could have the em(4) driver manually handle TSO in software, which is what it does to workaround the VLAN tag problem. (It does VLAN encapsulation in the driver.) While VLAN insertion may be trivial, re-implementing TCP segmentation in the driver might be a good bit less trivial to do. There's not going to be a simple easy workaround for this hardware bug. :( -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 15:09:26 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 723A516A40F; Wed, 13 Sep 2006 15:09:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7EC843D6E; Wed, 13 Sep 2006 15:09:25 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k8DF993i035269; Wed, 13 Sep 2006 11:09:09 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 13 Sep 2006 11:08:44 -0400 User-Agent: KMail/1.9.1 References: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> <45073F58.6080900@freebsd.org> In-Reply-To: <45073F58.6080900@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609131108.45382.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 13 Sep 2006 11:09:20 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1875/Wed Sep 13 05:19:58 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: current@freebsd.org, Ian FREISLICH , Andre Oppermann , Jack Vogel , Mike Tancsa Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 15:09:26 -0000 On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: > Mike Tancsa wrote: > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > > > >> TSO != (vlan && promisc) > > > > Sorry, the commonality I was referring to was VLAN hardware tagging and > > how it must be enabled for TSO, but that breaks other things. See a few > > messages ago > > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html > > I'm sure we can find a workaround for that. Well, you could have the em(4) driver manually handle TSO in software, which is what it does to workaround the VLAN tag problem. (It does VLAN encapsulation in the driver.) While VLAN insertion may be trivial, re-implementing TCP segmentation in the driver might be a good bit less trivial to do. There's not going to be a simple easy workaround for this hardware bug. :( -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 15:46:57 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 365F116A582; Wed, 13 Sep 2006 15:46:57 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CEF743D5F; Wed, 13 Sep 2006 15:46:53 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20060913154646m9100smegse>; Wed, 13 Sep 2006 15:46:52 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.6/8.13.6) with ESMTP id k8DFkhdG075301; Wed, 13 Sep 2006 10:46:44 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.6/8.13.6/Submit) id k8DFkMqY075300; Wed, 13 Sep 2006 10:46:22 -0500 (CDT) (envelope-from brooks) Date: Wed, 13 Sep 2006 10:46:22 -0500 From: Brooks Davis To: John Baldwin Message-ID: <20060913154622.GA52716@lor.one-eyed-alien.net> References: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> <45073F58.6080900@freebsd.org> <200609131108.45382.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <200609131108.45382.jhb@freebsd.org> User-Agent: Mutt/1.5.11 Cc: Andre Oppermann , current@freebsd.org, Mike Tancsa , Ian FREISLICH , freebsd-current@freebsd.org, Jack Vogel Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 15:46:57 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 13, 2006 at 11:08:44AM -0400, John Baldwin wrote: > On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: > > Mike Tancsa wrote: > > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > > >=20 > > >> TSO !=3D (vlan && promisc) > > >=20 > > > Sorry, the commonality I was referring to was VLAN hardware tagging a= nd=20 > > > how it must be enabled for TSO, but that breaks other things. See a = few=20 > > > messages ago > > >=20 > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.= html=20 > >=20 > > I'm sure we can find a workaround for that. >=20 > Well, you could have the em(4) driver manually handle TSO in software, wh= ich=20 > is what it does to workaround the VLAN tag problem. (It does VLAN=20 > encapsulation in the driver.) While VLAN insertion may be trivial,=20 > re-implementing TCP segmentation in the driver might be a good bit less= =20 > trivial to do. There's not going to be a simple easy workaround for this= =20 > hardware bug. :( I'm not sure it's worth worrying about with GbE hardware. Just disable TSO in promiscuous mode. Where TSO is going to really matter is 10GbE. No supporting TSO in some configurations with GbE doesn't seem like a big deal to me. -- Brooks --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCCfNXY6L6fI4GtQRAsM/AJ9k7snMNGRUDq+0Ow0d2SyroGn7GQCgoGTZ DCElhWksL2WnykQFJeUfNnc= =3Ijl -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz-- From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 15:46:57 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 365F116A582; Wed, 13 Sep 2006 15:46:57 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CEF743D5F; Wed, 13 Sep 2006 15:46:53 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20060913154646m9100smegse>; Wed, 13 Sep 2006 15:46:52 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.6/8.13.6) with ESMTP id k8DFkhdG075301; Wed, 13 Sep 2006 10:46:44 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.6/8.13.6/Submit) id k8DFkMqY075300; Wed, 13 Sep 2006 10:46:22 -0500 (CDT) (envelope-from brooks) Date: Wed, 13 Sep 2006 10:46:22 -0500 From: Brooks Davis To: John Baldwin Message-ID: <20060913154622.GA52716@lor.one-eyed-alien.net> References: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> <45073F58.6080900@freebsd.org> <200609131108.45382.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <200609131108.45382.jhb@freebsd.org> User-Agent: Mutt/1.5.11 Cc: Andre Oppermann , current@freebsd.org, Mike Tancsa , Ian FREISLICH , freebsd-current@freebsd.org, Jack Vogel Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 15:46:57 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 13, 2006 at 11:08:44AM -0400, John Baldwin wrote: > On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: > > Mike Tancsa wrote: > > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > > >=20 > > >> TSO !=3D (vlan && promisc) > > >=20 > > > Sorry, the commonality I was referring to was VLAN hardware tagging a= nd=20 > > > how it must be enabled for TSO, but that breaks other things. See a = few=20 > > > messages ago > > >=20 > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.= html=20 > >=20 > > I'm sure we can find a workaround for that. >=20 > Well, you could have the em(4) driver manually handle TSO in software, wh= ich=20 > is what it does to workaround the VLAN tag problem. (It does VLAN=20 > encapsulation in the driver.) While VLAN insertion may be trivial,=20 > re-implementing TCP segmentation in the driver might be a good bit less= =20 > trivial to do. There's not going to be a simple easy workaround for this= =20 > hardware bug. :( I'm not sure it's worth worrying about with GbE hardware. Just disable TSO in promiscuous mode. Where TSO is going to really matter is 10GbE. No supporting TSO in some configurations with GbE doesn't seem like a big deal to me. -- Brooks --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCCfNXY6L6fI4GtQRAsM/AJ9k7snMNGRUDq+0Ow0d2SyroGn7GQCgoGTZ DCElhWksL2WnykQFJeUfNnc= =3Ijl -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz-- From owner-freebsd-current@FreeBSD.ORG Wed Sep 13 18:24:03 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8563016A403 for ; Wed, 13 Sep 2006 18:24:03 +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 AE2F943D6B for ; Wed, 13 Sep 2006 18:24:00 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (3owubv2q9r3dv2tj@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k8DINxPe076702; Wed, 13 Sep 2006 11:23:59 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k8DINu3I076701; Wed, 13 Sep 2006 11:23:56 -0700 (PDT) (envelope-from jmg) Date: Wed, 13 Sep 2006 11:23:56 -0700 From: John-Mark Gurney To: wsk Message-ID: <20060913182356.GX9421@funkthat.com> Mail-Followup-To: wsk , current@freebsd.org References: <45060FC4.2090308@gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45060FC4.2090308@gddsn.org.cn> 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: current@freebsd.org Subject: Re: pccard modem don't work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 18:24:03 -0000 wsk wrote this message on Tue, Sep 12, 2006 at 09:39 +0800: > on Aug 30' CURRENT i'm getting following err when i insert my pccard modem: > > pccard0:Allocation failed for cfe 13 > sio4: at port 0x2f8-0x2ff irq 11 > function 0 config 21 on pccard0 > device_attach: sio4 attach returned -19 > > It seems sio didn't attach with error. > any reply with appreciates Yes, it does appear that it attached without an error, have you attempted to use it? negative attach returns indicate it's part of the bidding process, and not an error.. only values >0 are an error for an attach... what does: ls -l /dev/ttyd4* return? -- 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-current@FreeBSD.ORG Wed Sep 13 21:08:39 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B39B516A407 for ; Wed, 13 Sep 2006 21:08:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B1E943D86 for ; Wed, 13 Sep 2006 21:08:29 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k8DL8OTV037367 for ; Wed, 13 Sep 2006 17:08:27 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: current@freebsd.org Date: Wed, 13 Sep 2006 17:08:23 -0400 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: <200609131708.24143.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 13 Sep 2006 17:08:27 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1878/Wed Sep 13 15:19:52 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: intpm(4) fixes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 21:08:39 -0000 Can folks with intpm(4) hardware please test the patch at http://www.FreeBSD.org/~jhb/patches/intpm.patch It cleans up the intpm(4) driver (actually intsmb(4)) and adds locking (I plan to add locking to all the smbus host drivers so I can eventually make /dev/smb no longer require Giant). The only difference you will see is that there is no longer and intpm0 device, and instead intsmb0 now attaches directly to the PCI bus like other SMBus drivers. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 01:09:08 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C6A716A40F for ; Thu, 14 Sep 2006 01:09:08 +0000 (UTC) (envelope-from barnaclewes@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AE1843D4C for ; Thu, 14 Sep 2006 01:09:07 +0000 (GMT) (envelope-from barnaclewes@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so1974580nfc for ; Wed, 13 Sep 2006 18:09:06 -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=kJU1g1vhhzF4i7YWbwurvnzhFxd431pc5YO3Csv0RiVZUscVqNlzQwphqZhY9AIqscaZqC1fqTzGo9oayFe5wl7zzloGyCVQybU1Z3qBbazM6xSM//n+EaKfhZ8sb/oReJIdxRwiIV+kXnz8YIDTICUEId6BraS+g16CfjpaO+U= Received: by 10.49.8.1 with SMTP id l1mr11525385nfi; Wed, 13 Sep 2006 18:09:06 -0700 (PDT) Received: by 10.48.238.11 with HTTP; Wed, 13 Sep 2006 18:09:05 -0700 (PDT) Message-ID: Date: Wed, 13 Sep 2006 18:09:05 -0700 From: "Wes Peters" To: "Graham Todd" In-Reply-To: <45072272.5040606@bellanet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200609121102.12577.cms01@tampabay.rr.com> <200609121141.09204.cms01@tampabay.rr.com> <4506F6DF.5010900@cs.okstate.edu> <4506FE59.6000600@errno.com> <45070021.3000606@protected-networks.net> <20060912195208.GB4099@tirith.brixandersen.dk> <45072272.5040606@bellanet.org> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD inquire X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 01:09:08 -0000 On 9/12/06, Graham Todd wrote: > Henrik Brix Andersen wrote: > > On Tue, Sep 12, 2006 at 02:44:49PM -0400, Michael Butler wrote: > >> Is this as a consequence of the manufacturers paranoia that open-source > >> developers won't comply with wifi regulatory requirements (i.e. channel > >> and power restrictions by country) or some other reason? (not that you > >> can't just plug in any other card into the pcmcia slot ..), > > > > It's not manufacturers paranoia - it a requirement from the FCC (among > > others) that radio control must not take place in user-accessible > > software. > > How does the FCC define a "user" I wonder? Pretty much "not the manufacturer." > Is there a difference > between the "user" of software installed on a laptop and the user of the > included hardware and radio equipment that develops said software. If you're not the manufacturer of the "device", the laptop in this case, you are a user. When the manus sold laptops with slots and let you pick your wireless card, the wireless card was the device and YOU were responsible for an interference caused. > It seems like an engineer to engineer sort of matter that might require > lawyer to lawyer interaction :-\ Reading FCC regulations IS part of engineering, out there in the big bad REAL world. It's important not to confuse "software" with "engineering." ;^) -- Against stupidity the very gods Themselves contend in vain. Friedrich Schiller From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 00:58:31 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C9BB16A40F for ; Thu, 14 Sep 2006 00:58:31 +0000 (UTC) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 961EF43D45 for ; Thu, 14 Sep 2006 00:58:30 +0000 (GMT) (envelope-from wsk@gddsn.org.cn) Received: from [192.168.168.158] (unknown [192.168.168.158]) by gddsn.org.cn (Postfix) with ESMTP id 69D9C38CB88; Thu, 14 Sep 2006 08:58:28 +0800 (CST) Message-ID: <4508A8FD.3090106@gddsn.org.cn> Date: Thu, 14 Sep 2006 08:57:33 +0800 From: wsk User-Agent: Thunderbird 1.5.0.2 (X11/20060515) MIME-Version: 1.0 To: John-Mark Gurney , current@freebsd.org References: <45060FC4.2090308@gddsn.org.cn> <20060913182356.GX9421@funkthat.com> In-Reply-To: <20060913182356.GX9421@funkthat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 14 Sep 2006 01:15:09 +0000 Cc: Subject: Re: pccard modem don't work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 00:58:31 -0000 John-Mark Gurney wrote: > wsk wrote this message on Tue, Sep 12, 2006 at 09:39 +0800: > >> on Aug 30' CURRENT i'm getting following err when i insert my pccard modem: >> >> pccard0:Allocation failed for cfe 13 >> sio4: at port 0x2f8-0x2ff irq 11 >> function 0 config 21 on pccard0 >> device_attach: sio4 attach returned -19 >> >> It seems sio didn't attach with error. >> any reply with appreciates >> > > Yes, it does appear that it attached without an error, have you > attempted to use it? negative attach returns indicate it's part > of the bidding process, and not an error.. only values >0 are an > error for an attach... > > what does: > ls -l /dev/ttyd4* > > return? > > coz it didn't attach the sio driver ls -l /dev/tty4* /dev/cuad4* it retured No such file or directory.but this card works about a months ago From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 03:48:14 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7278516A5EF for ; Thu, 14 Sep 2006 03:48:14 +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 AA43243D49 for ; Thu, 14 Sep 2006 03:48:13 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (dy9qnj6a5ls1b2pt@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k8E3mB5r086335; Wed, 13 Sep 2006 20:48:12 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k8E3m9Qa086334; Wed, 13 Sep 2006 20:48:09 -0700 (PDT) (envelope-from jmg) Date: Wed, 13 Sep 2006 20:48:09 -0700 From: John-Mark Gurney To: wsk Message-ID: <20060914034809.GZ9421@funkthat.com> Mail-Followup-To: wsk , current@freebsd.org References: <45060FC4.2090308@gddsn.org.cn> <20060913182356.GX9421@funkthat.com> <4508A8FD.3090106@gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4508A8FD.3090106@gddsn.org.cn> 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: current@freebsd.org Subject: Re: pccard modem don't work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 03:48:14 -0000 wsk wrote this message on Thu, Sep 14, 2006 at 08:57 +0800: > John-Mark Gurney wrote: > >wsk wrote this message on Tue, Sep 12, 2006 at 09:39 +0800: > > > >>on Aug 30' CURRENT i'm getting following err when i insert my pccard > >>modem: > >> > >>pccard0:Allocation failed for cfe 13 > >>sio4: at port 0x2f8-0x2ff irq 11 > >>function 0 config 21 on pccard0 > >>device_attach: sio4 attach returned -19 > >> > >>It seems sio didn't attach with error. > >>any reply with appreciates Now if Warner or I had read closer the first time, then we'd realize that -19 is an "impossible" return code for an error... and we'd of looked closer at sio_pccard_attach, and realized that it can't handle the valid negative values returned by sioprobe, and thinks it is an error instead... The attached patch will fix your issue... I have gone ahead and committed it... -- 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-current@FreeBSD.ORG Thu Sep 14 04:21:43 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1C0216A407 for ; Thu, 14 Sep 2006 04:21:43 +0000 (UTC) (envelope-from phillip@sofsis.cl) Received: from freebsd.cl (freebsd.cl [200.54.68.60]) by mx1.FreeBSD.org (Postfix) with SMTP id B3D9E43D4C for ; Thu, 14 Sep 2006 04:21:42 +0000 (GMT) (envelope-from phillip@sofsis.cl) Received: (qmail 63948 invoked from network); 14 Sep 2006 04:22:37 -0000 Received: from 201.215.200.251 by beasty.freebsd.cl (envelope-from , uid 82) with qmail-scanner-1.25st (spamassassin: 3.1.0. perlscan: 1.25st. Clear:RC:0(201.215.200.251):SA:0(0.0/5.0):. Processed in 0.182074 secs); 14 Sep 2006 04:22:37 -0000 X-Spam-Status: No, hits=0.0 required=5.0 X-Spam-Report: SA TESTS _SUMMARY_ X-AntiSpam-FreeBSD.cl-Mail-From: phillip@sofsis.cl via beasty.freebsd.cl X-AntiSpam-FreeBSD.cl: 1.25st (Clear:RC:0(201.215.200.251):SA:0(0.0/5.0):. Processed in 0.182074 secs Process 63940) Received: from unknown (HELO monkey.sofsis.cl) (phillip@201.215.200.251) by freebsd.cl with SMTP; 14 Sep 2006 04:22:36 -0000 From: Phillip Neumann To: freebsd-current@freebsd.org Content-Type: text/plain Date: Thu, 14 Sep 2006 00:21:40 -0400 Message-Id: <1158207700.23227.18.camel@monkey.sofsis.cl> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: GMirror X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 04:21:43 -0000 Hello all. I wonder if anyone has notice that there is something wired going on with mirror on current/amd64. I got 2 250G disks that im trying to use gmirror with. After inizializing the raid, when i "gmirror insert" the other drive in, and the sincronizacion process begins, gmirror begin to read the source drive wich has the gmirror on, and never stops. the other disks never gets a write. iostat shows me this: 0 309 64.00 2025 126.56 0.00 0 0.00 0.00 0 0.00 0 0 1 0 99 the same for quite some hours. I know this is some vague information. What could be more useful to file a bug or something? This is a wired behaviour, right? good luck. -- __________________ KillFill BSD Chile http://www.bsd.cl From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 11:18:07 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B7B616A417; Thu, 14 Sep 2006 11:18:07 +0000 (UTC) (envelope-from aturetta@commit.it) Received: from mail.logital.it (85-18-201-99.ip.fastwebnet.it [85.18.201.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id D71A043D72; Thu, 14 Sep 2006 11:18:03 +0000 (GMT) (envelope-from aturetta@commit.it) Received: from [192.168.33.30] (85-18-250-113.ip.fastwebnet.it [85.18.250.113]) (authenticated bits=0) by mail.logital.it (8.13.8/8.13.8) with ESMTP id k8EBGwuS010442; Thu, 14 Sep 2006 13:17:07 +0200 (CEST) (envelope-from aturetta@commit.it) Message-ID: <45093A25.40401@commit.it> Date: Thu, 14 Sep 2006 13:16:53 +0200 From: Angelo Turetta User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060821 SeaMonkey/1.1a MIME-Version: 1.0 To: freebsd-amd64@freebsd.org References: <200608200300.k7K30eH5092848@freefall.freebsd.org> <44F09E9B.5090303@commit.it> <44F10396.6000903@undermydesk.org> <44F2C9C6.7040907@commit.it> <44FDF4EC.50800@commit.it> <44F7D529.2070503@undermydesk.org> In-Reply-To: <44F7D529.2070503@undermydesk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.5 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on mail.logital.it X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on mail.logital.it X-Virus-Status: Clean Cc: Frank Reppin , freebsd-current@freebsd.org Subject: [SOLVED IN -CURRENT] Interrupt storm on ASUS M2N-E X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 11:18:07 -0000 Frank Reppin wrote: > Angelo Turetta wrote: >> Could you please post the result of 'vmstat -i' from -CURRENT ? > > interrupt total rate > irq23: atapci1 242237559 218625 <= Arrr! > cpu0: timer 2214521 1998 > cpu1: timer 2214030 1998 > Total 246693998 222648 > I've not had the time to identify any committer to thank in particular, but I inform you that a 7-CURRENT release CD home-built on 2006-09-11 does not show this interrupt storm anymore on my motherboard. I'll try 6-STABLE this evening and will report back. Thanks to all involved. Angelo. From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 04:10:29 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E239C16A403 for ; Thu, 14 Sep 2006 04:10:29 +0000 (UTC) (envelope-from phillip@sofsis.cl) Received: from freebsd.cl (freebsd.cl [200.54.68.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 194E343D45 for ; Thu, 14 Sep 2006 04:10:28 +0000 (GMT) (envelope-from phillip@sofsis.cl) Received: (qmail 63530 invoked from network); 14 Sep 2006 04:11:22 -0000 Received: from 201.215.200.251 by beasty.freebsd.cl (envelope-from , uid 82) with qmail-scanner-1.25st (spamassassin: 3.1.0. perlscan: 1.25st. Clear:RC:0(201.215.200.251):SA:0(0.0/5.0):. Processed in 0.181033 secs); 14 Sep 2006 04:11:22 -0000 X-Spam-Status: No, hits=0.0 required=5.0 X-Spam-Report: SA TESTS _SUMMARY_ X-AntiSpam-FreeBSD.cl-Mail-From: phillip@sofsis.cl via beasty.freebsd.cl X-AntiSpam-FreeBSD.cl: 1.25st (Clear:RC:0(201.215.200.251):SA:0(0.0/5.0):. Processed in 0.181033 secs Process 63522) Received: from unknown (HELO monkey.sofsis.cl) (phillip@201.215.200.251) by freebsd.cl with SMTP; 14 Sep 2006 04:11:22 -0000 From: Phillip Neumann To: current@freebsd.org Content-Type: text/plain Date: Thu, 14 Sep 2006 00:10:25 -0400 Message-Id: <1158207025.23227.15.camel@monkey.sofsis.cl> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 14 Sep 2006 11:18:40 +0000 Cc: Subject: GMirror X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 04:10:30 -0000 Hello all. I wonder if anyone has notice that there is something wired going on with mirror on current/amd64. i got 2 250G disks, im trying to use gmirror with. after inizializing the raid, when i "gmirror insert" the other drive in, and the sincronizacion process begins, gmirror begin to read the source drive wich has the gmirror on, and never stops. the other disks never gets a write. iostat shows me this: 0 309 64.00 2025 126.56 0.00 0 0.00 0.00 0 0.00 0 0 1 0 99 the same for quite some hours. I know this is some vague information. What could be more useful to file a bug or something? This is a wired behaviour, right? good luck. -- __________________ KillFill From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 10:42:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C4D16A40F for ; Thu, 14 Sep 2006 10:42:34 +0000 (UTC) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4C3543D66 for ; Thu, 14 Sep 2006 10:42:29 +0000 (GMT) (envelope-from wsk@gddsn.org.cn) Received: from [192.168.168.158] (unknown [192.168.168.158]) by gddsn.org.cn (Postfix) with ESMTP id 023FD38CB77 for ; Thu, 14 Sep 2006 18:42:26 +0800 (CST) Message-ID: <450931DC.3060601@gddsn.org.cn> Date: Thu, 14 Sep 2006 18:41:32 +0800 From: wsk User-Agent: Thunderbird 1.5.0.2 (X11/20060515) MIME-Version: 1.0 To: current@freebsd.org Content-Type: multipart/mixed; boundary="------------020309010900070400080408" X-Mailman-Approved-At: Thu, 14 Sep 2006 11:19:08 +0000 Cc: Subject: Re: pccard modem don't work] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 10:42:34 -0000 This is a multi-part message in MIME format. --------------020309010900070400080408 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------020309010900070400080408 Content-Type: message/rfc822; name="Re: pccard modem don't work" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: pccard modem don't work" Message-ID: <450931C0.80704@gddsn.org.cn> Date: Thu, 14 Sep 2006 18:41:04 +0800 From: wsk User-Agent: Thunderbird 1.5.0.2 (X11/20060515) MIME-Version: 1.0 To: John-Mark Gurney Subject: Re: pccard modem don't work References: <45060FC4.2090308@gddsn.org.cn> <20060913182356.GX9421@funkthat.com> <4508A8FD.3090106@gddsn.org.cn> <20060914034809.GZ9421@funkthat.com> In-Reply-To: <20060914034809.GZ9421@funkthat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit John-Mark Gurney wrote: > wsk wrote this message on Thu, Sep 14, 2006 at 08:57 +0800: > >> John-Mark Gurney wrote: >> >>> wsk wrote this message on Tue, Sep 12, 2006 at 09:39 +0800: >>> >>> >>>> on Aug 30' CURRENT i'm getting following err when i insert my pccard >>>> modem: >>>> >>>> pccard0:Allocation failed for cfe 13 >>>> sio4: at port 0x2f8-0x2ff irq 11 >>>> function 0 config 21 on pccard0 >>>> device_attach: sio4 attach returned -19 >>>> >>>> It seems sio didn't attach with error. >>>> any reply with appreciates >>>> > > Now if Warner or I had read closer the first time, then we'd realize > that -19 is an "impossible" return code for an error... and we'd of > looked closer at sio_pccard_attach, and realized that it can't handle > the valid negative values returned by sioprobe, and thinks it is an > error instead... > > The attached patch will fix your issue... I have gone ahead and > committed it... > > yup u r right.it works and thanks again :-) --------------020309010900070400080408-- From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 14:21:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB8E116A415 for ; Thu, 14 Sep 2006 14:21:19 +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 C153343D53 for ; Thu, 14 Sep 2006 14:21:15 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 6A2D9487FD; Thu, 14 Sep 2006 16:21:14 +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 854AA487F2; Thu, 14 Sep 2006 16:21:10 +0200 (CEST) Date: Thu, 14 Sep 2006 16:20:57 +0200 From: Pawel Jakub Dawidek To: Phillip Neumann Message-ID: <20060914142057.GE76051@garage.freebsd.pl> References: <1158207700.23227.18.camel@monkey.sofsis.cl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gMR3gsNFwZpnI/Ts" Content-Disposition: inline In-Reply-To: <1158207700.23227.18.camel@monkey.sofsis.cl> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (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-current@freebsd.org Subject: Re: GMirror X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 14:21:19 -0000 --gMR3gsNFwZpnI/Ts Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 14, 2006 at 12:21:40AM -0400, Phillip Neumann wrote: > Hello all. >=20 > I wonder if anyone has notice that there is something wired going on > with mirror on current/amd64. >=20 > I got 2 250G disks that im trying to use gmirror with. >=20 > After inizializing the raid, when i "gmirror insert" the other drive in, > and the sincronizacion process begins, gmirror begin to read the source > drive wich has the gmirror on, and never stops. the other disks never > gets a write. >=20 > iostat shows me this: >=20 > 0 309 64.00 2025 126.56 0.00 0 0.00 0.00 0 0.00 0 0 1 > 0 99 >=20 > the same for quite some hours. >=20 > I know this is some vague information.=20 > What could be more useful to file a bug or something? >=20 > This is a wired behaviour, right? This is a bug and is already fixed, please cvsup and rebuild your kernel or geom_mirror.ko module. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --gMR3gsNFwZpnI/Ts Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFCWVJForvXbEpPzQRAlvSAJ9ecWsGYW18YOpbblSSB4jNRHGJjgCg9MKA xE7cHazGIWF0VJOYeVFB9CQ= =uzkH -----END PGP SIGNATURE----- --gMR3gsNFwZpnI/Ts-- From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 14:43:26 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED15A16A40F; Thu, 14 Sep 2006 14:43:26 +0000 (UTC) (envelope-from doublef-ctm@yandex.ru) Received: from smtp1.yandex.ru (smtp1.yandex.ru [213.180.223.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD15543D62; Thu, 14 Sep 2006 14:43:13 +0000 (GMT) (envelope-from doublef-ctm@yandex.ru) Received: from [83.239.189.170] ([83.239.189.170]:63989 "EHLO shark" smtp-auth: "doublef-ctm" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S2077302AbWINOnD (ORCPT + 2 others); Thu, 14 Sep 2006 18:43:03 +0400 X-Comment: RFC 2476 MSA function at smtp1.yandex.ru logged sender identity as: doublef-ctm Received: by shark (Postfix, from userid 1000) id 4A7EA172D1; Thu, 14 Sep 2006 18:40:05 +0400 (MSD) Date: Thu, 14 Sep 2006 18:40:05 +0400 From: Sergey Zaharchenko To: Robert Watson Message-ID: <20060914144005.GA90248@shark.localdomain> References: <20060618192011.GF715@turion.vk2pj.dyndns.org> <44960E61.5000808@FreeBSD.org> <20060619092805.F8526@fledge.watson.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: <20060619092805.F8526@fledge.watson.org> X-Listening-To: Silence User-Agent: Mutt/1.5.11 Cc: Peter Jeremy , "Christian S.J. Peron" , current@freebsd.org Subject: Re: NULL pointer dereference panic [resurrected] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 14:43:27 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Robert! Mon, Jun 19, 2006 at 09:29:25AM +0100 you wrote: > Wojciech Koszek has been doing some work to debug a related pty/pts/devfs= =20 > problem, and mentioned to me a day or so ago that he may have identified = a=20 > workaround (and maybe a fix)? If this panic is a result of the same or a= =20 > related problem, his work may be relevant. I've CC'd him. I've observed this same panic on a fresh(er) -CURRENT (and, certainly, have a dump). This is on a UP system. (kgdb) frame 14 #14 0xc06f5f24 in vop_stdgetwritemount (ap=3D0xd5c9aa2c) at /src/usr.src/sys/kern/vfs_default.c:356 356 vfs_ref(mp); (kgdb) l 351 * will be set to NULL. We only have to prevent this call = =66rom 352 * returning with a ref to an incorrect mountpoint. It is = not 353 * harmful to return with a ref to our previous mountpoint. 354 */ 355 mp =3D ap->a_vp->v_mount; 356 vfs_ref(mp); 357 if (mp !=3D ap->a_vp->v_mount) { 358 vfs_rel(mp); 359 mp =3D NULL; 360 } (kgdb) print ap->a_vp->v_mount $3 =3D (struct mount *) 0x0 Is there any progress in this area? --=20 DoubleF No virus detected in this message. Ehrm, wait a minute... /kernel: pid 56921 (antivirus), uid 32000: exited on signal 9 Oh yes, no virus:) --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCWnFwo7hT/9lVdwRAkdXAJ9CZHsdSSsmWNH7sUBKun6lSU9jzACfcVHi w6EV3AIxTnW8LnoK32yrnRg= =OT4/ -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE-- From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 19:08:21 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A4E316A412 for ; Thu, 14 Sep 2006 19:08:21 +0000 (UTC) (envelope-from neshort@yahoo.com) Received: from web56513.mail.re3.yahoo.com (web56513.mail.re3.yahoo.com [66.196.97.42]) by mx1.FreeBSD.org (Postfix) with SMTP id F069343D68 for ; Thu, 14 Sep 2006 19:07:57 +0000 (GMT) (envelope-from neshort@yahoo.com) Received: (qmail 91938 invoked by uid 60001); 14 Sep 2006 19:07:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zXyB39tFmtCmzI69KCnZoHReWiSxFYDTz0QbsWlCxpW199lB+LafC3zlI+537nK92VViGylBcdkSX7dWrrKu372nw7ErelKctswAxm2rUBL4V0FrCkOk15d2PVCG30cj7qdZazjjXQ/DxBu8t2nBgipEwjoJ3jScVH+KXtMVaEY= ; Message-ID: <20060914190757.91936.qmail@web56513.mail.re3.yahoo.com> Received: from [24.221.134.150] by web56513.mail.re3.yahoo.com via HTTP; Thu, 14 Sep 2006 12:07:57 PDT Date: Thu, 14 Sep 2006 12:07:57 -0700 (PDT) From: Neil Short To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: uhub1: device problem (IOERROR), disabling port 6 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 19:08:21 -0000 Running current. NVidia motherboard. A new issue has arisen and, seeing how it has not been fixed in 8 or so weeks I think I'd better report it. This problem cropped up on two different machines. When I insert a umass usb device I get an error to stdout: uhub1: device problem (IOERROR), disabling port 6 I'm used to getting a message that says something to the effect that "umass device assigned to device da?." also getting a cureous message on the boot that seems to not affect performance: This machine has one of them universal flash card reders on it too - which accounts for some (all?) of the umass errors in the boot. Sep 14 12:49:28 turandot kernel: stray irq7 some output: $ uname -a FreeBSD turandot.opera 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Thu Sep 14 11:56:13 MST 2006 root@turandot.opera:/usr/obj/usr/src/sys/TURANDOT i386 $ dmesg | tail (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 -> 6 Trying to mount root from ufs:/dev/ad1s1a bridge0: Ethernet address: 52:ef:c4:6c:69:eb stray irq7 stray irq7 uhub1: device problem (IOERROR), disabling port 6 $ 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 7.0-CURRENT #2: Thu Sep 14 11:56:13 MST 2006 root@turandot.opera:/usr/obj/usr/src/sys/TURANDOT Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3500+ (2204.61-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20ff2 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 938409984 (894 MB) avail memory = 904851456 (862 MB) kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) 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 acpi_bus_number: can't get _ADR Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) pci0: at device 0.6 (no driver attached) pci0: at device 0.7 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci2: on pcib2 pcib3: at device 4.0 on pci0 pci3: on pcib3 nvidia0: mem 0xfc000000-0xfcffffff,0xd0000000-0xdfffffff,0xfd0000 00-0xfdffffff irq 11 at device 5.0 on pci0 nvidia0: [GIANT-LOCKED] pci0: at device 9.0 (no driver attached) isab0: at device 10.0 on pci0 isa0: on isab0 pci0: at device 10.1 (no driver attached) pci0: at device 10.2 (no driver attached) ohci0: mem 0xfebff000-0xfebfffff irq 5 at device 11.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 8 ports with 8 removable, self powered ehci0: mem 0xfebfe000-0xfebfe0ff irq 11 at device 11.1 on pci0 ehci0: [GIANT-LOCKED] usb1: EHCI version 1.0 usb1: companion controller, 8 ports each: usb0 usb1: on ehci0 usb1: USB revision 2.0 uhub1: on usb1 uhub1: 8 ports with 8 removable, self powered uhub1: device problem (IOERROR), disabling port 8 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at device 13.0 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f mem 0xfebfd000-0xfebfdfff irq 11 at device 14.0 on pci0 ata2: on atapci1 ata3: on atapci1 pcib4: at device 16.0 on pci0 pci4: on pcib4 fwohci0: mem 0xfe7ff000-0xfe7ff7ff,0xfe7f8000-0xfe7fbfff irq 5 at device 6.0 on pci4 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:01:6c:20:00:13:3b:b2 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ath0: mem 0xfe7e0000-0xfe7effff irq 5 at device 7.0 on pci4 ath0: Ethernet address: 00:0f:b5:f9:44:20 ath0: mac 7.9 phy 4.5 radio 5.6 pci4: at device 8.0 (no driver attached) pci4: at device 8.1 (no driver attached) pcm0: port 0xdc00-0xdcff,0xd800-0xd8ff mem 0xfebfc000-0xfebfcfff irq 11 at device 16.2 on pci0 pcm0: nve0: port 0xd400-0xd407 mem 0xfebfb000-0xfebfbfff irq 10 at device 20.0 on pci0 nve0: Ethernet address 00:15:58:0e:88:2d miibus0: on nve0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto nve0: Ethernet address: 00:15:58:0e:88:2d acpi_tz0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xd0000-0xd3fff,0xd4000-0xd57ff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FAST] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: on uhub0 kbd2 at ukbd0 ums0: on uhub0 ums0: 5 buttons and Z dir. umass0: on uhub0 Timecounter "TSC" frequency 2204610932 Hz quality 800 Timecounters tick every 1.000 msec ad0: 38166MB at ata0-master UDMA100 ad1: 190782MB at ata0-slave UDMA100 acd0: DVDR at ata1-master UDMA66 acd1: DVDROM at ata1-slave UDMA66 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 66.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at ata1 bus 0 target 1 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 66.000MB/s transfers cd1: cd present [158396 x 2048 byte records] da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 1.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 3 da3: Removable Direct Access SCSI-0 device da3: 1.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 -> 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 -> 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 -> 6 (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:2): SCSI Status: Check Condition (da2:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (da2:umass-sim0:0:0:2): Medium not present (da2:umass-sim0:0:0:2): Unretryable error Opened disk da2 -> 6 (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:2): SCSI Status: Check Condition (da2:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (da2:umass-sim0:0:0:2): Medium not present (da2:umass-sim0:0:0:2): Unretryable error Opened disk da2 -> 6 (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:2): SCSI Status: Check Condition (da2:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (da2:umass-sim0:0:0:2): Medium not present (da2:umass-sim0:0:0:2): Unretryable error Opened disk da2 -> 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 -> 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 -> 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 -> 6 Trying to mount root from ufs:/dev/ad1s1a bridge0: Ethernet address: 52:ef:c4:6c:69:eb stray irq7 stray irq7 uhub1: device problem (IOERROR), disabling port 6 ====== Now I, Nebuchadnezzar, praise and extol and honor the King of heaven, for all his works are truth, and his ways are justice; and he is able to bring low those who walk in pride. Daniel 4:37 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 20:59:53 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A1B116A403 for ; Thu, 14 Sep 2006 20:59:53 +0000 (UTC) (envelope-from prvs=julian=4054a8e64@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCAE643D4C for ; Thu, 14 Sep 2006 20:59:52 +0000 (GMT) (envelope-from prvs=julian=4054a8e64@elischer.org) Received: from unknown (HELO [192.168.2.6]) ([10.251.60.95]) by a50.ironport.com with ESMTP; 14 Sep 2006 13:59:51 -0700 Message-ID: <4509C2C7.10503@elischer.org> Date: Thu, 14 Sep 2006 13:59:51 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 20:59:53 -0000 I'm looking at trying to make a -current nanobsd image I can put on a USB dongle. Looking at: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/howto.html Using the config file example in the web site fails with ===> usr.bin/lex (install) install -s -o root -g wheel -m 555 lex /usr/obj/nanobsd.julian//_.w/usr/bin install -C -o root -g wheel -m 444 /usr/src/usr.bin/lex/FlexLexer.h /usr/obj/nanobsd.julian//_.w/usr/include ===> usr.bin/lex/lib (install) install -C -o root -g wheel -m 444 libln_p.a /usr/obj/nanobsd.julian//_.w/usr/lib /usr/obj/nanobsd.julian//_.w/usr/lib/libl.a -> /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a ln: /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a: No such file or directory *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 has anyone used it recently? also, the docs are not very helpful in how to cut down the size of the image the example uses a lot of lines such as: NO_MODULES=YES is there a place where all these can be found? I've looked in make.conf and /usr/src/Makefile.inc1 but there doesn't seem to be an exhaustive list anywhere. I want to slim it down to fit on a 64 MB usb key but it's not immediatly how to do this from the 'docs' I'm resorting to reading the scripts and then the Makefiles but if anyone has this alreay all written down somewhere that would be good. From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 19:34:44 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DEF116A403 for ; Thu, 14 Sep 2006 19:34:44 +0000 (UTC) (envelope-from martin.ziegler@cevibasel.ch) Received: from swip.net (mailfe13.tele2.ch [212.247.155.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FE0843D46 for ; Thu, 14 Sep 2006 19:34:42 +0000 (GMT) (envelope-from martin.ziegler@cevibasel.ch) X-T2-Posting-ID: Vhh8O4Gy8ax+jW3qS2uNNWdfYolxr5jbZsTtOfzpVco= X-Cloudmark-Score: 0.000000 [] Received: from [83.176.57.184] (HELO mapleleaf1) by mailfe13.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 110837036 for freebsd-current@freebsd.org; Thu, 14 Sep 2006 21:34:41 +0200 From: "Martin Ziegler" To: Date: Thu, 14 Sep 2006 21:34:38 +0200 Message-ID: <000c01c6d834$d168c080$0213a8c0@mapleleaf1> 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.2962 Thread-Index: AcbYNNDjEUHk9uGpRJ65hqL+Pxj9AQ== X-Mailman-Approved-At: Thu, 14 Sep 2006 21:00:16 +0000 Subject: 6.0-RC1 on Promise SX4060 (SETFEATURES FAILURE, READ timed out) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 19:34:44 -0000 Hi Mark Did you solve your problem about the promise sx4060 (http://lists.freebsd.org/pipermail/freebsd-current/2005-November/057621.htm l )? Google doesn't show me a solution :( I've got the same error messages (FAILURE - SET FEATURES TRANSFER MODE timed out...)with FreeBSD 6.1-Release on a HP X2000 (Workstation) with the promise sx4060 and two Seagates ST3160012A drives. Even if I only connect one drive to the sx4060 the system produce the same errors. On the internal ata-controller everything (both drives) runs fine. I've tried FreeBSD 5.4, 5.5, 6.1, 6-Stable 200609 and 7-Current 200609. Thanks Martin Ziegler From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 21:06:07 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35F3116A4D1 for ; Thu, 14 Sep 2006 21:06:07 +0000 (UTC) (envelope-from jmelo@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id EFBAC43D45 for ; Thu, 14 Sep 2006 21:06:04 +0000 (GMT) (envelope-from jmelo@freebsdbrasil.com.br) Received: (qmail 85058 invoked by uid 0); 14 Sep 2006 18:06:06 -0300 Received: from jmelo@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(201.17.132.187):. Processed in 0.514389 secs); 14 Sep 2006 21:06:06 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=capeta; d=freebsdbrasil.com.br; b=CX6aDaLLNfitfB1Ymd0zEnFsiCdZU12cZO6ng2kwADWH2aG8GyF0jA4h8bI/AlsAOzQ3McUcdjShFDBwbmNibN/YUuOY85vvFl2E2b/RX3ts6llTCu1JoBKPGyIohopY ; Received: from unknown (HELO ?10.69.69.66?) (jmelo@201.17.132.187) by capeta.freebsdbrasil.com.br with SMTP; 14 Sep 2006 18:06:05 -0300 Message-ID: <4509C451.4040006@freebsdbrasil.com.br> Date: Thu, 14 Sep 2006 18:06:25 -0300 From: Jean Milanez Melo User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Julian Elischer References: <4509C2C7.10503@elischer.org> In-Reply-To: <4509C2C7.10503@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 21:06:07 -0000 Julian Elischer wrote: > I'm looking at trying to make a -current nanobsd image I can put on a > USB dongle. > > Looking at: > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/howto.html > > Using the config file example in the web site fails with > > ===> usr.bin/lex (install) > install -s -o root -g wheel -m 555 lex > /usr/obj/nanobsd.julian//_.w/usr/bin > install -C -o root -g wheel -m 444 /usr/src/usr.bin/lex/FlexLexer.h > /usr/obj/nanobsd.julian//_.w/usr/include > ===> usr.bin/lex/lib (install) > install -C -o root -g wheel -m 444 libln_p.a > /usr/obj/nanobsd.julian//_.w/usr/lib > /usr/obj/nanobsd.julian//_.w/usr/lib/libl.a -> > /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a > ln: /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a: No such file or directory > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > > has anyone used it recently? > > also, the docs are not very helpful in how to cut down the size of the > image > > the example uses a lot of lines such as: > NO_MODULES=YES > > is there a place where all these can be found? > > I've looked in make.conf and /usr/src/Makefile.inc1 but there doesn't > seem to be an > exhaustive list anywhere. > > I want to slim it down to fit on a 64 MB usb key but it's not immediatly > how to do this from the 'docs' > I'm resorting to reading the scripts and then the Makefiles but if > anyone has this alreay all written down somewhere > that would be good. > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Hi Julian, Try to use TinyBSD, www.tinybsd.org or in ports collection sysutils/tinybsd. If you have any doubt tell me ;) -- Jean From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 21:11:02 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC5AF16A40F for ; Thu, 14 Sep 2006 21:11:02 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0985043D64 for ; Thu, 14 Sep 2006 21:10:56 +0000 (GMT) (envelope-from danger@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id 24AE210E639; Thu, 14 Sep 2006 23:10:34 +0200 (CEST) X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d4yUSp+zuGb2; Thu, 14 Sep 2006 23:10:32 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id C4BF810E5B7; Thu, 14 Sep 2006 23:10:32 +0200 (CEST) Date: Thu, 14 Sep 2006 23:10:54 +0200 From: Daniel Gerzo Organization: The FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1658292353.20060914231054@rulez.sk> To: Julian Elischer In-Reply-To: <4509C2C7.10503@elischer.org> References: <4509C2C7.10503@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 21:11:03 -0000 Hello Julian, Thursday, September 14, 2006, 10:59:51 PM, you wrote: > I'm looking at trying to make a -current nanobsd image I can put on a > USB dongle. > Looking at: > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/howto.html > Using the config file example in the web site fails with > /usr/obj/nanobsd.julian//_.w/usr/lib/libl.a -> > /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a > ln: /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a: No such file or directory > *** Error code 1 Not sure about this, try to ask phk@ maybe. > has anyone used it recently? > also, the docs are not very helpful in how to cut down the size of the image > the example uses a lot of lines such as: > NO_MODULES=YES > is there a place where all these can be found? make.conf(5) manual page I would say. > I've looked in make.conf and /usr/src/Makefile.inc1 but there doesn't > seem to be an > exhaustive list anywhere. > I want to slim it down to fit on a 64 MB usb key but it's not immediatly > how to do this from the 'docs' > I'm resorting to reading the scripts and then the Makefiles but if > anyone has this alreay all written down somewhere > that would be good. I think that triming it down to 64mb will be a bit of "fun", since I think you will have to create some custom functions to remove all the unneeded binaries from the image. -- Best regards, Daniel mailto:danger@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 21:26:03 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0043616A407; Thu, 14 Sep 2006 21:26:02 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id A200C43D46; Thu, 14 Sep 2006 21:26:02 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 15ACD170C5; Thu, 14 Sep 2006 21:25:59 +0000 (UTC) To: Daniel Gerzo From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 14 Sep 2006 23:10:54 +0200." <1658292353.20060914231054@rulez.sk> Date: Thu, 14 Sep 2006 21:25:53 +0000 Message-ID: <27719.1158269153@critter.freebsd.dk> Cc: Julian Elischer , current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 21:26:03 -0000 In message <1658292353.20060914231054@rulez.sk>, Daniel Gerzo writes: >> I'm looking at trying to make a -current nanobsd image I can put on a >> USB dongle. > >> Looking at: >> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/howto.html > >> Using the config file example in the web site fails with > >> /usr/obj/nanobsd.julian//_.w/usr/lib/libl.a -> >> /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a >> ln: /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a: No such file or directory >> *** Error code 1 > >Not sure about this, try to ask phk@ maybe. Dunno. Finding the right set of build-reducing options can be a bit of hit/miss. Quite often I have had to to fix Makefiles as a sideeffect to keep the reducing options working properly. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 21:31:49 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E67F16A49E for ; Thu, 14 Sep 2006 21:31:49 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAD2C43D4C for ; Thu, 14 Sep 2006 21:31:48 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id C1CD95C4B; Fri, 15 Sep 2006 01:31:47 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 9E8795C0E; Fri, 15 Sep 2006 01:31:47 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k8ELVqvU084148; Fri, 15 Sep 2006 01:31:52 +0400 (MSD) (envelope-from ru) Date: Fri, 15 Sep 2006 01:31:52 +0400 From: Ruslan Ermilov To: Julian Elischer Message-ID: <20060914213152.GA84107@rambler-co.ru> References: <4509C2C7.10503@elischer.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <4509C2C7.10503@elischer.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 21:31:49 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Julian, On Thu, Sep 14, 2006 at 01:59:51PM -0700, Julian Elischer wrote: [...] > also, the docs are not very helpful in how to cut down the size of the im= age >=20 > the example uses a lot of lines such as: > NO_MODULES=3DYES >=20 > is there a place where all these can be found? >=20 > I've looked in make.conf and /usr/src/Makefile.inc1 but there doesn't=20 > seem to be an > exhaustive list anywhere. >=20 > I want to slim it down to fit on a 64 MB usb key but it's not immediatly= =20 > how to do this from the 'docs' > I'm resorting to reading the scripts and then the Makefiles but if=20 > anyone has this alreay all written down somewhere > that would be good. >=20 NO*'s are still provided for compatibility, but the modern syntax is WITH/WITHOUT, please see the src.conf(5) manpage for details. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCcpIqRfpzJluFF4RAigTAJ9bEGto3wiQIHm9N0ipkhVcBTo3+ACgiZp8 6jLtKhaR3uIoNbLtyChIo+0= =cIoo -----END PGP SIGNATURE----- --wac7ysb48OaltWcw-- From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 21:35:49 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBCFD16A403; Thu, 14 Sep 2006 21:35:49 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B0843D72; Thu, 14 Sep 2006 21:35:48 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 3C3DA5CFA; Fri, 15 Sep 2006 01:35:47 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 1B7E15CF1; Fri, 15 Sep 2006 01:35:47 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k8ELZqed084187; Fri, 15 Sep 2006 01:35:52 +0400 (MSD) (envelope-from ru) Date: Fri, 15 Sep 2006 01:35:52 +0400 From: Ruslan Ermilov To: Poul-Henning Kamp Message-ID: <20060914213552.GB84107@rambler-co.ru> References: <1658292353.20060914231054@rulez.sk> <27719.1158269153@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline In-Reply-To: <27719.1158269153@critter.freebsd.dk> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: Daniel Gerzo , Julian Elischer , current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 21:35:50 -0000 --Fba/0zbH8Xs+Fj9o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 14, 2006 at 09:25:53PM +0000, Poul-Henning Kamp wrote: > In message <1658292353.20060914231054@rulez.sk>, Daniel Gerzo writes: >=20 > >> I'm looking at trying to make a -current nanobsd image I can put on a= =20 > >> USB dongle. > > > >> Looking at: > >> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/howto.html > > > >> Using the config file example in the web site fails with > > > >> /usr/obj/nanobsd.julian//_.w/usr/lib/libl.a ->=20 > >> /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a > >> ln: /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a: No such file or dire= ctory > >> *** Error code 1 > > > >Not sure about this, try to ask phk@ maybe. >=20 > Dunno. Finding the right set of build-reducing options can be a > bit of hit/miss. >=20 > Quite often I have had to to fix Makefiles as a sideeffect to keep > the reducing options working properly. >=20 The example on that webpage bogusly lists NO_INSTALLLIB, which is for internal usage for makefiles that use bsd.lib.mk. While using it maybe appropriate at install time, using it at build time will almost certainly result in no .a libraries being installed, which is what Julian is observing (the Lex's library is not installed). Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCcs4qRfpzJluFF4RAsi4AKCcjumWAHfLxyMFC6EDgVHSJygLpACfYlr2 bk1QyQiYht5qHliV/Wo9ZIE= =E/oo -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o-- From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 21:56:36 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B63F16A415; Thu, 14 Sep 2006 21:56:36 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45D9843D72; Thu, 14 Sep 2006 21:56:28 +0000 (GMT) (envelope-from danger@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id 1565610E57B; Thu, 14 Sep 2006 23:56:06 +0200 (CEST) X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I4ryXx8T1+vA; Thu, 14 Sep 2006 23:56:04 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id 96E3110E57A; Thu, 14 Sep 2006 23:56:04 +0200 (CEST) Date: Thu, 14 Sep 2006 23:56:26 +0200 From: Daniel Gerzo Organization: The FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1824742801.20060914235626@rulez.sk> To: Ruslan Ermilov In-Reply-To: <20060914213152.GA84107@rambler-co.ru> References: <4509C2C7.10503@elischer.org> <20060914213152.GA84107@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Julian Elischer , current@freebsd.org Subject: Re[2]: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 21:56:36 -0000 Hello Ruslan, Thursday, September 14, 2006, 11:31:52 PM, you wrote: > Hi Julian, > On Thu, Sep 14, 2006 at 01:59:51PM -0700, Julian Elischer wrote: > [...] >> also, the docs are not very helpful in how to cut down the size of the image >> >> the example uses a lot of lines such as: >> NO_MODULES=YES >> >> is there a place where all these can be found? >> >> I've looked in make.conf and /usr/src/Makefile.inc1 but there doesn't >> seem to be an >> exhaustive list anywhere. >> >> I want to slim it down to fit on a 64 MB usb key but it's not immediatly >> how to do this from the 'docs' >> I'm resorting to reading the scripts and then the Makefiles but if >> anyone has this alreay all written down somewhere >> that would be good. >> > NO*'s are still provided for compatibility, but the modern syntax is > WITH/WITHOUT, please see the src.conf(5) manpage for details. src.conf(5) is only in HEAD though. > Cheers, -- Best regards, Daniel mailto:danger@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 21:57:46 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A5B516A492 for ; Thu, 14 Sep 2006 21:57:46 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6155843D64 for ; Thu, 14 Sep 2006 21:57:39 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GNzD1-00027s-ML for freebsd-current@freebsd.org; Thu, 14 Sep 2006 23:57:23 +0200 Received: from 63.110.228.62 ([63.110.228.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Sep 2006 23:57:23 +0200 Received: from atkin901 by 63.110.228.62 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Sep 2006 23:57:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: othermark Date: Thu, 14 Sep 2006 14:57:02 -0700 Lines: 48 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 63.110.228.62 User-Agent: KNode/0.10.4 Sender: news Subject: devices disappear after bsdlabel -B X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 21:57:46 -0000 Hi, I need some help here: I had two machines running on a April version of -current that I upgraded recently to the lastest iteration. After installing and rebooting however, the serial console settings reverted to 9600 for the kernel. "No big deal," I thought, and I reapplied the bootstrap code with bsdlabel -B. The command I ran was 'bsdlabel -B /dev/ad6s1', and when I rebooted the serial speed setting was the correct one compiled into the bootstrap. However I was presented with: Trying to mount root from ufs:/dev/ad6s1a Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> Eventually I found 'ufs:ad6' was able to mount as root, but now I had no access to the swap partition which used to be on ad6s1b. Now the only /dev entry is /dev/ad6. So, two questions: - where the heck did the partition info/devices on s1a and s1b go? - how do I fix it? Some 'glabel' magic? Additional info: $ bsdlabel /dev/ad6 # /dev/ad6: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 152205312 0 4.2BSD 2048 16384 28552 b: 4096176 152205312 swap c: 156301488 0 unused 0 0 # "raw" part, don't edit [root@pogo-4 ~]# diskinfo /dev/ad6 /dev/ad6 512 80026361856 156301488 155061 16 63 -- othermark atkin901 at nospam dot yahoo dot com (!wired)?(coffee++):(wired); From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 22:05:40 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88B2716A40F; Thu, 14 Sep 2006 22:05:40 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id C042543D45; Thu, 14 Sep 2006 22:05:39 +0000 (GMT) (envelope-from danger@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id C360B10E617; Fri, 15 Sep 2006 00:05:17 +0200 (CEST) X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w+jBiI2fQwjr; Fri, 15 Sep 2006 00:05:16 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id 467A910E57B; Fri, 15 Sep 2006 00:05:16 +0200 (CEST) Date: Fri, 15 Sep 2006 00:05:37 +0200 From: Daniel Gerzo Organization: The FreeBSD Project X-Priority: 3 (Normal) Message-ID: <733674746.20060915000537@rulez.sk> To: Ruslan Ermilov In-Reply-To: <20060914213552.GB84107@rambler-co.ru> References: <1658292353.20060914231054@rulez.sk> <27719.1158269153@critter.freebsd.dk> <20060914213552.GB84107@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Poul-Henning Kamp , Daniel Gerzo , Julian Elischer Subject: Re[2]: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 22:05:40 -0000 Hello Ruslan, Thursday, September 14, 2006, 11:35:52 PM, you wrote: > On Thu, Sep 14, 2006 at 09:25:53PM +0000, Poul-Henning Kamp wrote: >> In message <1658292353.20060914231054@rulez.sk>, Daniel Gerzo writes: >> >> >> I'm looking at trying to make a -current nanobsd image I can put on a >> >> USB dongle. >> > >> >> Looking at: >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/howto.html >> > >> >> Using the config file example in the web site fails with >> > >> >> /usr/obj/nanobsd.julian//_.w/usr/lib/libl.a -> >> >> /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a >> >> ln: /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a: No such file or directory >> >> *** Error code 1 >> > >> >Not sure about this, try to ask phk@ maybe. >> >> Dunno. Finding the right set of build-reducing options can be a >> bit of hit/miss. >> >> Quite often I have had to to fix Makefiles as a sideeffect to keep >> the reducing options working properly. >> > The example on that webpage bogusly lists NO_INSTALLLIB, which is > for internal usage for makefiles that use bsd.lib.mk. While using > it maybe appropriate at install time, using it at build time will > almost certainly result in no .a libraries being installed, which > is what Julian is observing (the Lex's library is not installed). Actually, the NO_INSTALLLIB option is listed in CONF_INSTALL which presents arguments passed to the installworld stage of the build. It looks like you contradict here with above statements :-) or did I miss something? -- Best regards, Daniel mailto:danger@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 22:11:56 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C87F316A403 for ; Thu, 14 Sep 2006 22:11:56 +0000 (UTC) (envelope-from freebsd.ruomad@free.fr) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B7EE43D45 for ; Thu, 14 Sep 2006 22:11:56 +0000 (GMT) (envelope-from freebsd.ruomad@free.fr) Received: from [192.168.0.100] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by smtp3-g19.free.fr (Postfix) with ESMTP id 1734948F60 for ; Fri, 15 Sep 2006 00:11:54 +0200 (CEST) Message-ID: <4509D3AF.70604@free.fr> Date: Fri, 15 Sep 2006 00:11:59 +0200 From: Bruno Damour User-Agent: Thunderbird 1.5.0.5 (X11/20060730) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20060914190757.91936.qmail@web56513.mail.re3.yahoo.com> In-Reply-To: <20060914190757.91936.qmail@web56513.mail.re3.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: uhub1: device problem (IOERROR), disabling port 6 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 22:11:57 -0000 Neil Short wrote: > Running current. > NVidia motherboard. > > A new issue has arisen and, seeing how it has not been > fixed in 8 or so weeks I think I'd better report it. > > This problem cropped up on two different machines. > > When I insert a umass usb device I get an error to > stdout: > > uhub1: device problem (IOERROR), disabling port 6 > > I'm used to getting a message that says something to > the effect that "umass device assigned to device da?." > > also getting a cureous message on the boot that seems > to not affect performance: > > This machine has one of them universal flash card > reders on it too - which accounts for some (all?) of > the umass errors in the boot. > > Sep 14 12:49:28 turandot kernel: stray irq7 > > > some output: > > $ uname -a > FreeBSD turandot.opera 7.0-CURRENT FreeBSD 7.0-CURRENT > #2: Thu Sep 14 11:56:13 MST 2006 > root@turandot.opera:/usr/obj/usr/src/sys/TURANDOT > i386 > > $ dmesg | tail > (da3:umass-sim0:0:0:3): SCSI Status: Check Condition > (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da3:umass-sim0:0:0:3): Medium not present > (da3:umass-sim0:0:0:3): Unretryable error > Opened disk da3 -> 6 > Trying to mount root from ufs:/dev/ad1s1a > bridge0: Ethernet address: 52:ef:c4:6c:69:eb > stray irq7 > stray irq7 > uhub1: device problem (IOERROR), disabling port 6 > > > > $ 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 7.0-CURRENT #2: Thu Sep 14 11:56:13 MST 2006 > root@turandot.opera:/usr/obj/usr/src/sys/TURANDOT > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: AMD Athlon(tm) 64 Processor 3500+ (2204.61-MHz > 686-class CPU) > Origin = "AuthenticAMD" Id = 0x20ff2 Stepping = 2 > > Features=0x78bfbff > Features2=0x1 > AMD > Features=0xe2500800 > AMD Features2=0x1 > real memory = 938409984 (894 MB) > avail memory = 904851456 (862 MB) > kbd1 at kbdmux0 > ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, > RF5112, RF2413, RF5413) > 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 > acpi_bus_number: can't get _ADR > Timecounter "ACPI-fast" frequency 3579545 Hz quality > 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port > 0x1008-0x100b on acpi0 > cpu0: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on > acpi0 > pci0: on pcib0 > pci0: at device 0.0 (no driver attached) > pci0: at device 0.1 (no driver attached) > pci0: at device 0.2 (no driver attached) > pci0: at device 0.3 (no driver attached) > pci0: at device 0.4 (no driver attached) > pci0: at device 0.5 (no driver attached) > pci0: at device 0.6 (no driver attached) > pci0: at device 0.7 (no driver attached) > pcib1: at device 2.0 on pci0 > pci1: on pcib1 > pcib2: at device 3.0 on pci0 > pci2: on pcib2 > pcib3: at device 4.0 on pci0 > pci3: on pcib3 > nvidia0: mem > 0xfc000000-0xfcffffff,0xd0000000-0xdfffffff,0xfd0000 > 00-0xfdffffff irq 11 at device 5.0 on pci0 > nvidia0: [GIANT-LOCKED] > pci0: at device 9.0 (no driver attached) > isab0: at device 10.0 on pci0 > isa0: on isab0 > pci0: at device 10.1 (no driver > attached) > pci0: at device 10.2 (no driver > attached) > ohci0: mem > 0xfebff000-0xfebfffff irq 5 at device 11.0 on pci0 > ohci0: [GIANT-LOCKED] > usb0: OHCI version 1.0, legacy support > usb0: SMM does not respond, resetting > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: 1.00/1.00, addr 1> on usb0 > uhub0: 8 ports with 8 removable, self powered > ehci0: mem > 0xfebfe000-0xfebfe0ff irq 11 at device 11.1 on pci0 > ehci0: [GIANT-LOCKED] > usb1: EHCI version 1.0 > usb1: companion controller, 8 ports each: usb0 > usb1: on ehci0 > usb1: USB revision 2.0 > uhub1: 2.00/1.00, addr 1> on usb1 > uhub1: 8 ports with 8 removable, self powered > uhub1: device problem (IOERROR), disabling port 8 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at > device 13.0 on pci0 > ata0: on atapci0 > ata1: on atapci0 > atapci1: port > 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f > mem 0xfebfd000-0xfebfdfff irq 11 at device 14.0 on > pci0 > ata2: on atapci1 > ata3: on atapci1 > pcib4: at device 16.0 on pci0 > pci4: on pcib4 > fwohci0: mem > 0xfe7ff000-0xfe7ff7ff,0xfe7f8000-0xfe7fbfff irq 5 at > device 6.0 on pci4 > fwohci0: OHCI version 1.10 (ROM=1) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:01:6c:20:00:13:3b:b2 > fwohci0: Phy 1394a available S400, 3 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > sbp0: on firewire0 > fwohci0: Initiate bus reset > fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > firewire0: bus manager 0 (me) > ath0: mem 0xfe7e0000-0xfe7effff irq 5 > at device 7.0 on pci4 > ath0: Ethernet address: 00:0f:b5:f9:44:20 > ath0: mac 7.9 phy 4.5 radio 5.6 > pci4: at device 8.0 (no driver > attached) > pci4: at device 8.1 (no driver attached) > pcm0: port > 0xdc00-0xdcff,0xd800-0xd8ff mem 0xfebfc000-0xfebfcfff > irq 11 at device 16.2 on pci0 > pcm0: > nve0: port > 0xd400-0xd407 mem 0xfebfb000-0xfebfbfff irq 10 at > device 20.0 on pci0 > nve0: Ethernet address 00:15:58:0e:88:2d > miibus0: on nve0 > ukphy0: on > miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, > 100baseTX-FDX, auto > nve0: Ethernet address: 00:15:58:0e:88:2d > acpi_tz0: on acpi0 > pmtimer0 on isa0 > orm0: at iomem > 0xd0000-0xd3fff,0xd4000-0xd57ff pnpid ORM0000 on isa0 > atkbdc0: at port > 0x60,0x64 on isa0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 8250 or not responding > sio0: [FAST] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem > 0xa0000-0xbffff on isa0 > ukbd0: addr 2> on uhub0 > kbd2 at ukbd0 > ums0: addr 2> on uhub0 > ums0: 5 buttons and Z dir. > umass0: 1.10/1.00, addr 3> on uhub0 > Timecounter "TSC" frequency 2204610932 Hz quality 800 > Timecounters tick every 1.000 msec > ad0: 38166MB at ata0-master > UDMA100 > ad1: 190782MB at > ata0-slave UDMA100 > acd0: DVDR at > ata1-master UDMA66 > acd1: DVDROM at > ata1-slave UDMA66 > cd0 at ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM > SCSI-0 device > cd0: 66.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, > Medium not present > cd1 at ata1 bus 0 target 1 lun 0 > cd1: Removable CD-ROM > SCSI-0 device > cd1: 66.000MB/s transfers > cd1: cd present [158396 x 2048 byte records] > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct > Access SCSI-0 device > da0: 1.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, > Medium not present > da1 at umass-sim0 bus 0 target 0 lun 1 > da1: Removable Direct > Access SCSI-0 device > da1: 1.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, > Medium not present > da2 at umass-sim0 bus 0 target 0 lun 2 > da2: Removable Direct > Access SCSI-0 device > da2: 1.000MB/s transfers > da2: Attempt to query device size failed: NOT READY, > Medium not present > da3 at umass-sim0 bus 0 target 0 lun 3 > da3: Removable Direct > Access SCSI-0 device > da3: 1.000MB/s transfers > da3: Attempt to query device size failed: NOT READY, > Medium not present > (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 > 0 0 0 0 0 > (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > (da0:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da0:umass-sim0:0:0:0): Medium not present > (da0:umass-sim0:0:0:0): Unretryable error > Opened disk da0 -> 6 > (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 > 0 0 0 0 0 > (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > (da0:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da0:umass-sim0:0:0:0): Medium not present > (da0:umass-sim0:0:0:0): Unretryable error > Opened disk da0 -> 6 > (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 > 0 0 0 0 0 > (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > (da0:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da0:umass-sim0:0:0:0): Medium not present > (da0:umass-sim0:0:0:0): Unretryable error > Opened disk da0 -> 6 > (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 > 0 0 0 0 0 0 > (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error > (da1:umass-sim0:0:0:1): SCSI Status: Check Condition > (da1:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da1:umass-sim0:0:0:1): Medium not present > (da1:umass-sim0:0:0:1): Unretryable error > Opened disk da1 -> 6 > (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 > 0 0 0 0 0 0 > (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error > (da1:umass-sim0:0:0:1): SCSI Status: Check Condition > (da1:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da1:umass-sim0:0:0:1): Medium not present > (da1:umass-sim0:0:0:1): Unretryable error > Opened disk da1 -> 6 > (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 > 0 0 0 0 0 0 > (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error > (da1:umass-sim0:0:0:1): SCSI Status: Check Condition > (da1:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da1:umass-sim0:0:0:1): Medium not present > (da1:umass-sim0:0:0:1): Unretryable error > Opened disk da1 -> 6 > (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 > 0 0 0 0 0 0 > (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error > (da2:umass-sim0:0:0:2): SCSI Status: Check Condition > (da2:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da2:umass-sim0:0:0:2): Medium not present > (da2:umass-sim0:0:0:2): Unretryable error > Opened disk da2 -> 6 > (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 > 0 0 0 0 0 0 > (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error > (da2:umass-sim0:0:0:2): SCSI Status: Check Condition > (da2:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da2:umass-sim0:0:0:2): Medium not present > (da2:umass-sim0:0:0:2): Unretryable error > Opened disk da2 -> 6 > (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 > 0 0 0 0 0 0 > (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error > (da2:umass-sim0:0:0:2): SCSI Status: Check Condition > (da2:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da2:umass-sim0:0:0:2): Medium not present > (da2:umass-sim0:0:0:2): Unretryable error > Opened disk da2 -> 6 > (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 > 0 0 0 0 0 0 > (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error > (da3:umass-sim0:0:0:3): SCSI Status: Check Condition > (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da3:umass-sim0:0:0:3): Medium not present > (da3:umass-sim0:0:0:3): Unretryable error > Opened disk da3 -> 6 > (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 > 0 0 0 0 0 0 > (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error > (da3:umass-sim0:0:0:3): SCSI Status: Check Condition > (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da3:umass-sim0:0:0:3): Medium not present > (da3:umass-sim0:0:0:3): Unretryable error > Opened disk da3 -> 6 > (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 > 0 0 0 0 0 0 > (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error > (da3:umass-sim0:0:0:3): SCSI Status: Check Condition > (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 > asc:3a,0 > (da3:umass-sim0:0:0:3): Medium not present > (da3:umass-sim0:0:0:3): Unretryable error > Opened disk da3 -> 6 > Trying to mount root from ufs:/dev/ad1s1a > bridge0: Ethernet address: 52:ef:c4:6c:69:eb > stray irq7 > stray irq7 > uhub1: device problem (IOERROR), disabling port 6 > > > ====== > Now I, Nebuchadnezzar, praise and extol and honor the King of heaven, for all his works are truth, and his ways are justice; and he is able to bring low those who walk in pride. > Daniel 4:37 > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > More or less same problem here with freebsd-current and an Asus MN2PV-VM (Nforce430+GeForce 6150 integrated chipset) USB mouse works but not usb storage (umass). Same message in dmesg and when I plug my usb key. Bruno From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 23:04:35 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FFF716A407; Thu, 14 Sep 2006 23:04:35 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CDEF43D45; Thu, 14 Sep 2006 23:04:33 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 730CF5D08; Fri, 15 Sep 2006 03:04:30 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 51CF95CF1; Fri, 15 Sep 2006 03:04:30 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k8EN4ZCF084852; Fri, 15 Sep 2006 03:04:35 +0400 (MSD) (envelope-from ru) Date: Fri, 15 Sep 2006 03:04:34 +0400 From: Ruslan Ermilov To: Daniel Gerzo Message-ID: <20060914230434.GA84689@rambler-co.ru> References: <4509C2C7.10503@elischer.org> <20060914213152.GA84107@rambler-co.ru> <1824742801.20060914235626@rulez.sk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <1824742801.20060914235626@rulez.sk> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: Julian Elischer , current@FreeBSD.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 23:04:35 -0000 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 14, 2006 at 11:56:26PM +0200, Daniel Gerzo wrote: > Hello Ruslan, >=20 > Thursday, September 14, 2006, 11:31:52 PM, you wrote: >=20 > > Hi Julian, >=20 > > On Thu, Sep 14, 2006 at 01:59:51PM -0700, Julian Elischer wrote: > > [...] > >> also, the docs are not very helpful in how to cut down the size of the= image > >>=20 > >> the example uses a lot of lines such as: > >> NO_MODULES=3DYES > >>=20 > >> is there a place where all these can be found? > >>=20 > >> I've looked in make.conf and /usr/src/Makefile.inc1 but there doesn't= =20 > >> seem to be an > >> exhaustive list anywhere. > >>=20 > >> I want to slim it down to fit on a 64 MB usb key but it's not immediat= ly=20 > >> how to do this from the 'docs' > >> I'm resorting to reading the scripts and then the Makefiles but if=20 > >> anyone has this alreay all written down somewhere > >> that would be good. > >>=20 > > NO*'s are still provided for compatibility, but the modern syntax is > > WITH/WITHOUT, please see the src.conf(5) manpage for details. >=20 > src.conf(5) is only in HEAD though. >=20 julian> I'm looking at trying to make a -current nanobsd image I can put on= a ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCeACqRfpzJluFF4RAqMBAKCAUpANNxcfHRumHUWnnYAZucQ4IgCfcM3l CsDMmETkn96lxRzIpzRKH8A= =So8F -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+-- From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 23:05:14 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D15316A417; Thu, 14 Sep 2006 23:05:14 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 183AE43D4C; Thu, 14 Sep 2006 23:05:13 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 3CDED5D5F; Fri, 15 Sep 2006 03:05:12 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 1D5125D2E; Fri, 15 Sep 2006 03:05:12 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k8EN5GZi085055; Fri, 15 Sep 2006 03:05:16 +0400 (MSD) (envelope-from ru) Date: Fri, 15 Sep 2006 03:05:16 +0400 From: Ruslan Ermilov To: Daniel Gerzo Message-ID: <20060914230516.GB84689@rambler-co.ru> References: <1658292353.20060914231054@rulez.sk> <27719.1158269153@critter.freebsd.dk> <20060914213552.GB84107@rambler-co.ru> <733674746.20060915000537@rulez.sk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yNb1oOkm5a9FJOVX" Content-Disposition: inline In-Reply-To: <733674746.20060915000537@rulez.sk> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: Poul-Henning Kamp , Julian Elischer , current@FreeBSD.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 23:05:14 -0000 --yNb1oOkm5a9FJOVX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 15, 2006 at 12:05:37AM +0200, Daniel Gerzo wrote: > Hello Ruslan, >=20 > Thursday, September 14, 2006, 11:35:52 PM, you wrote: >=20 > > On Thu, Sep 14, 2006 at 09:25:53PM +0000, Poul-Henning Kamp wrote: > >> In message <1658292353.20060914231054@rulez.sk>, Daniel Gerzo writes: > >>=20 > >> >> I'm looking at trying to make a -current nanobsd image I can put on= a=20 > >> >> USB dongle. > >> > > >> >> Looking at: > >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/howto.h= tml > >> > > >> >> Using the config file example in the web site fails with > >> > > >> >> /usr/obj/nanobsd.julian//_.w/usr/lib/libl.a ->=20 > >> >> /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a > >> >> ln: /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a: No such file or d= irectory > >> >> *** Error code 1 > >> > > >> >Not sure about this, try to ask phk@ maybe. > >>=20 > >> Dunno. Finding the right set of build-reducing options can be a > >> bit of hit/miss. > >>=20 > >> Quite often I have had to to fix Makefiles as a sideeffect to keep > >> the reducing options working properly. > >>=20 > > The example on that webpage bogusly lists NO_INSTALLLIB, which is > > for internal usage for makefiles that use bsd.lib.mk. While using > > it maybe appropriate at install time, using it at build time will > > almost certainly result in no .a libraries being installed, which > > is what Julian is observing (the Lex's library is not installed). >=20 > Actually, the NO_INSTALLLIB option is listed in CONF_INSTALL which > presents arguments passed to the installworld stage of the build. It > looks like you contradict here with above statements :-) or did I miss > something? >=20 You're right; then it shouldn't fail. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --yNb1oOkm5a9FJOVX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCeAsqRfpzJluFF4RAiK0AJ45id2BVgphkRZ1mdA7QXdc2T0dZACfWc+W YJ+910lM+9hP9c7anj8d4tk= =C2qT -----END PGP SIGNATURE----- --yNb1oOkm5a9FJOVX-- From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 01:22:05 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 356BA16A40F for ; Fri, 15 Sep 2006 01:22:05 +0000 (UTC) (envelope-from prvs=julian=4062b6196@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id D189843D4C for ; Fri, 15 Sep 2006 01:22:04 +0000 (GMT) (envelope-from prvs=julian=4062b6196@elischer.org) Received: from unknown (HELO [192.168.2.6]) ([10.251.60.41]) by a50.ironport.com with ESMTP; 14 Sep 2006 18:22:04 -0700 Message-ID: <450A003B.500@elischer.org> Date: Thu, 14 Sep 2006 18:22:03 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jean Milanez Melo References: <4509C2C7.10503@elischer.org> <4509C451.4040006@freebsdbrasil.com.br> In-Reply-To: <4509C451.4040006@freebsdbrasil.com.br> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 01:22:05 -0000 I tried with today's -current using minimal but it failed to build... > > Hi Julian, > > Try to use TinyBSD, www.tinybsd.org or in ports collection > sysutils/tinybsd. > > If you have any doubt tell me ;) > From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 01:24:52 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F46116A403 for ; Fri, 15 Sep 2006 01:24:52 +0000 (UTC) (envelope-from prvs=julian=4062b6196@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70BF143D68 for ; Fri, 15 Sep 2006 01:24:49 +0000 (GMT) (envelope-from prvs=julian=4062b6196@elischer.org) Received: from unknown (HELO [192.168.2.6]) ([10.251.60.41]) by a50.ironport.com with ESMTP; 14 Sep 2006 18:24:42 -0700 Message-ID: <450A00D9.6020902@elischer.org> Date: Thu, 14 Sep 2006 18:24:41 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: <4509C2C7.10503@elischer.org> <4509C451.4040006@freebsdbrasil.com.br> <450A003B.500@elischer.org> In-Reply-To: <450A003B.500@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jean Milanez Melo , current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 01:24:52 -0000 Julian Elischer wrote: > I tried with today's -current using minimal > but it failed to build... > ==> ce (all) cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/TINYBSD/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -I/usr/obj/usr/src/sys/TINYBSD -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -c /usr/src/sys/modules/ce/../../dev/ce/if_ce.c /usr/src/sys/modules/ce/../../dev/ce/if_ce.c:846:36: "DEV_BPF" is not defined *** Error code 1 Stop in /usr/src/sys/modules/ce. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/TINYBSD. *** Error code 1 I'll try again later in case it's a temporary breakage. >> >> Hi Julian, >> >> Try to use TinyBSD, www.tinybsd.org or in ports collection >> sysutils/tinybsd. >> >> If you have any doubt tell me ;) >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 05:35:18 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97B5F16A415 for ; Fri, 15 Sep 2006 05:35:18 +0000 (UTC) (envelope-from phillip@sofsis.cl) Received: from freebsd.cl (freebsd.cl [200.54.68.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 768AA43D4C for ; Fri, 15 Sep 2006 05:35:17 +0000 (GMT) (envelope-from phillip@sofsis.cl) Received: (qmail 22800 invoked from network); 15 Sep 2006 05:36:16 -0000 Received: from 201.215.200.251 by beasty.freebsd.cl (envelope-from , uid 82) with qmail-scanner-1.25st (spamassassin: 3.1.0. perlscan: 1.25st. Clear:RC:0(201.215.200.251):SA:0(0.0/5.0):. Processed in 0.155409 secs); 15 Sep 2006 05:36:16 -0000 X-Spam-Status: No, hits=0.0 required=5.0 X-Spam-Report: SA TESTS _SUMMARY_ X-AntiSpam-FreeBSD.cl-Mail-From: phillip@sofsis.cl via beasty.freebsd.cl X-AntiSpam-FreeBSD.cl: 1.25st (Clear:RC:0(201.215.200.251):SA:0(0.0/5.0):. Processed in 0.155409 secs Process 22792) Received: from unknown (HELO monkey.sofsis.cl) (phillip@201.215.200.251) by freebsd.cl with SMTP; 15 Sep 2006 05:36:16 -0000 From: Phillip Neumann To: Pawel Jakub Dawidek In-Reply-To: <20060914142057.GE76051@garage.freebsd.pl> References: <1158207700.23227.18.camel@monkey.sofsis.cl> <20060914142057.GE76051@garage.freebsd.pl> Content-Type: text/plain; charset=utf-8 Date: Fri, 15 Sep 2006 01:35:14 -0400 Message-Id: <1158298514.7481.5.camel@monkey.sofsis.cl> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: GMirror X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 05:35:18 -0000 El jue, 14-09-2006 a las 16:20 +0200, Pawel Jakub Dawidek escribió: > This is a bug and is already fixed, please cvsup and rebuild your > kernel > or geom_mirror.ko module. Greate! thanks. -- __________________ KillFill From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 10:22:39 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06DD616A40F; Fri, 15 Sep 2006 10:22:39 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D13B43D45; Fri, 15 Sep 2006 10:22:37 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k8FAMUuB078965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Sep 2006 14:22:30 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k8FAMSwO078964; Fri, 15 Sep 2006 14:22:28 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 15 Sep 2006 14:22:28 +0400 From: Gleb Smirnoff To: Brooks Davis Message-ID: <20060915102228.GK27667@FreeBSD.org> References: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> <45073F58.6080900@freebsd.org> <200609131108.45382.jhb@freebsd.org> <20060913154622.GA52716@lor.one-eyed-alien.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060913154622.GA52716@lor.one-eyed-alien.net> User-Agent: Mutt/1.5.6i Cc: Andre Oppermann , current@FreeBSD.org, John Baldwin , Mike Tancsa , Ian FREISLICH , freebsd-current@FreeBSD.org, Jack Vogel Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 10:22:39 -0000 On Wed, Sep 13, 2006 at 10:46:22AM -0500, Brooks Davis wrote: B> On Wed, Sep 13, 2006 at 11:08:44AM -0400, John Baldwin wrote: B> > On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: B> > > Mike Tancsa wrote: B> > > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: B> > > > B> > > >> TSO != (vlan && promisc) B> > > > B> > > > Sorry, the commonality I was referring to was VLAN hardware tagging and B> > > > how it must be enabled for TSO, but that breaks other things. See a few B> > > > messages ago B> > > > B> > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html B> > > B> > > I'm sure we can find a workaround for that. B> > B> > Well, you could have the em(4) driver manually handle TSO in software, which B> > is what it does to workaround the VLAN tag problem. (It does VLAN B> > encapsulation in the driver.) While VLAN insertion may be trivial, B> > re-implementing TCP segmentation in the driver might be a good bit less B> > trivial to do. There's not going to be a simple easy workaround for this B> > hardware bug. :( B> B> I'm not sure it's worth worrying about with GbE hardware. Just disable B> TSO in promiscuous mode. Where TSO is going to really matter is 10GbE. B> No supporting TSO in some configurations with GbE doesn't seem like a B> big deal to me. Yes, makeing TSO and promisc mutually exclusive would be fine. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 10:23:14 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78BE416A407 for ; Fri, 15 Sep 2006 10:23:14 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7323343D49 for ; Fri, 15 Sep 2006 10:23:13 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k8FAMUuB078965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Sep 2006 14:22:30 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k8FAMSwO078964; Fri, 15 Sep 2006 14:22:28 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 15 Sep 2006 14:22:28 +0400 From: Gleb Smirnoff To: Brooks Davis Message-ID: <20060915102228.GK27667@FreeBSD.org> References: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> <45073F58.6080900@freebsd.org> <200609131108.45382.jhb@freebsd.org> <20060913154622.GA52716@lor.one-eyed-alien.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060913154622.GA52716@lor.one-eyed-alien.net> User-Agent: Mutt/1.5.6i Cc: Andre Oppermann , current@FreeBSD.org, John Baldwin , Mike Tancsa , Ian FREISLICH , freebsd-current@FreeBSD.org, Jack Vogel Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 10:23:14 -0000 On Wed, Sep 13, 2006 at 10:46:22AM -0500, Brooks Davis wrote: B> On Wed, Sep 13, 2006 at 11:08:44AM -0400, John Baldwin wrote: B> > On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: B> > > Mike Tancsa wrote: B> > > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: B> > > > B> > > >> TSO != (vlan && promisc) B> > > > B> > > > Sorry, the commonality I was referring to was VLAN hardware tagging and B> > > > how it must be enabled for TSO, but that breaks other things. See a few B> > > > messages ago B> > > > B> > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html B> > > B> > > I'm sure we can find a workaround for that. B> > B> > Well, you could have the em(4) driver manually handle TSO in software, which B> > is what it does to workaround the VLAN tag problem. (It does VLAN B> > encapsulation in the driver.) While VLAN insertion may be trivial, B> > re-implementing TCP segmentation in the driver might be a good bit less B> > trivial to do. There's not going to be a simple easy workaround for this B> > hardware bug. :( B> B> I'm not sure it's worth worrying about with GbE hardware. Just disable B> TSO in promiscuous mode. Where TSO is going to really matter is 10GbE. B> No supporting TSO in some configurations with GbE doesn't seem like a B> big deal to me. Yes, makeing TSO and promisc mutually exclusive would be fine. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 10:45:58 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22C8216A4DE for ; Fri, 15 Sep 2006 10:45:58 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BB5843D53 for ; Fri, 15 Sep 2006 10:45:56 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 42913 invoked from network); 15 Sep 2006 10:29:18 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 15 Sep 2006 10:29:18 -0000 Message-ID: <450A8467.5050405@freebsd.org> Date: Fri, 15 Sep 2006 12:45:59 +0200 From: Andre Oppermann User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Gleb Smirnoff References: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> <45073F58.6080900@freebsd.org> <200609131108.45382.jhb@freebsd.org> <20060913154622.GA52716@lor.one-eyed-alien.net> <20060915102228.GK27667@FreeBSD.org> In-Reply-To: <20060915102228.GK27667@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org, John Baldwin , Mike Tancsa , Ian FREISLICH , freebsd-current@FreeBSD.org, Jack Vogel Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 10:45:58 -0000 Gleb Smirnoff wrote: > On Wed, Sep 13, 2006 at 10:46:22AM -0500, Brooks Davis wrote: > B> On Wed, Sep 13, 2006 at 11:08:44AM -0400, John Baldwin wrote: > B> > On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: > B> > > Mike Tancsa wrote: > B> > > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > B> > > > > B> > > >> TSO != (vlan && promisc) > B> > > > > B> > > > Sorry, the commonality I was referring to was VLAN hardware tagging and > B> > > > how it must be enabled for TSO, but that breaks other things. See a few > B> > > > messages ago > B> > > > > B> > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html > B> > > > B> > > I'm sure we can find a workaround for that. > B> > > B> > Well, you could have the em(4) driver manually handle TSO in software, which > B> > is what it does to workaround the VLAN tag problem. (It does VLAN > B> > encapsulation in the driver.) While VLAN insertion may be trivial, > B> > re-implementing TCP segmentation in the driver might be a good bit less > B> > trivial to do. There's not going to be a simple easy workaround for this > B> > hardware bug. :( > B> > B> I'm not sure it's worth worrying about with GbE hardware. Just disable > B> TSO in promiscuous mode. Where TSO is going to really matter is 10GbE. > B> No supporting TSO in some configurations with GbE doesn't seem like a > B> big deal to me. > > Yes, makeing TSO and promisc mutually exclusive would be fine. There is no point in disabling TSO in when the card is in promisc mode. Promisc mode only affects the receive path where TSO doesn't do a thing, it is only used on the send path. -- Andre From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 10:45:58 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25BEA16A4E0 for ; Fri, 15 Sep 2006 10:45:58 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30C2B43D4C for ; Fri, 15 Sep 2006 10:45:56 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 42913 invoked from network); 15 Sep 2006 10:29:18 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 15 Sep 2006 10:29:18 -0000 Message-ID: <450A8467.5050405@freebsd.org> Date: Fri, 15 Sep 2006 12:45:59 +0200 From: Andre Oppermann User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Gleb Smirnoff References: <7.0.1.0.0.20060912125903.15bdb7a0@sentex.net> <45073F58.6080900@freebsd.org> <200609131108.45382.jhb@freebsd.org> <20060913154622.GA52716@lor.one-eyed-alien.net> <20060915102228.GK27667@FreeBSD.org> In-Reply-To: <20060915102228.GK27667@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org, John Baldwin , Mike Tancsa , Ian FREISLICH , freebsd-current@FreeBSD.org, Jack Vogel Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 10:45:58 -0000 Gleb Smirnoff wrote: > On Wed, Sep 13, 2006 at 10:46:22AM -0500, Brooks Davis wrote: > B> On Wed, Sep 13, 2006 at 11:08:44AM -0400, John Baldwin wrote: > B> > On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: > B> > > Mike Tancsa wrote: > B> > > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > B> > > > > B> > > >> TSO != (vlan && promisc) > B> > > > > B> > > > Sorry, the commonality I was referring to was VLAN hardware tagging and > B> > > > how it must be enabled for TSO, but that breaks other things. See a few > B> > > > messages ago > B> > > > > B> > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html > B> > > > B> > > I'm sure we can find a workaround for that. > B> > > B> > Well, you could have the em(4) driver manually handle TSO in software, which > B> > is what it does to workaround the VLAN tag problem. (It does VLAN > B> > encapsulation in the driver.) While VLAN insertion may be trivial, > B> > re-implementing TCP segmentation in the driver might be a good bit less > B> > trivial to do. There's not going to be a simple easy workaround for this > B> > hardware bug. :( > B> > B> I'm not sure it's worth worrying about with GbE hardware. Just disable > B> TSO in promiscuous mode. Where TSO is going to really matter is 10GbE. > B> No supporting TSO in some configurations with GbE doesn't seem like a > B> big deal to me. > > Yes, makeing TSO and promisc mutually exclusive would be fine. There is no point in disabling TSO in when the card is in promisc mode. Promisc mode only affects the receive path where TSO doesn't do a thing, it is only used on the send path. -- Andre From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 05:52:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE5A916A407; Fri, 15 Sep 2006 05:52:54 +0000 (UTC) (envelope-from frank@undermydesk.org) Received: from amazone.undermydesk.org (amazone.undermydesk.org [212.21.74.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 710F143D5F; Fri, 15 Sep 2006 05:52:53 +0000 (GMT) (envelope-from frank@undermydesk.org) Received: from localhost (localhost [127.0.0.1]) by amazone.undermydesk.org (Postfix) with ESMTP id B71EC934; Fri, 15 Sep 2006 07:52:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at undermydesk.org Received: from amazone.undermydesk.org ([212.21.74.135]) by localhost (amazone.undermydesk.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2y-zMdy17Zy7; Fri, 15 Sep 2006 07:52:37 +0200 (CEST) Received: from [212.21.74.168] (minax.undermydesk.org [212.21.74.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by amazone.undermydesk.org (Postfix) with ESMTP id CF87B6BF; Fri, 15 Sep 2006 07:52:36 +0200 (CEST) Message-ID: <450A3FB0.70701@undermydesk.org> Date: Fri, 15 Sep 2006 07:52:48 +0200 From: Frank Reppin User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Angelo Turetta References: <200608200300.k7K30eH5092848@freefall.freebsd.org> <44F09E9B.5090303@commit.it> <44F10396.6000903@undermydesk.org> <44F2C9C6.7040907@commit.it> <44FDF4EC.50800@commit.it> <44F7D529.2070503@undermydesk.org> <45093A25.40401@commit.it> In-Reply-To: <45093A25.40401@commit.it> X-Enigmail-Version: 0.94.1.0 OpenPGP: id=92B1C0EC; url=https://www.undermydesk.org/frank__AT__opengroupware.org-pubkey.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 15 Sep 2006 11:35:03 +0000 Cc: freebsd-current@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: [SOLVED IN -CURRENT] Interrupt storm on ASUS M2N-E X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 05:52:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Angelo Turetta wrote: [...] > I've not had the time to identify any committer to thank in particular, > but I inform you that a 7-CURRENT release CD home-built on 2006-09-11 > does not show this interrupt storm anymore on my motherboard. > > I'll try 6-STABLE this evening and will report back. > > Thanks to all involved. Aye - thankyou for this information. I've cvsup'ed current as of yesterday and can confirm this as well now. cheers, frank - -- 43rd Law of Computing: Anything that can go wr fortune: Segmentation violation -- Core dumped -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFCj+w9Atrv5KxwOwRAhY+AJsFJTIVizMh+9d0BxXLyvz1MJJtBQCfVXsK woHbSVRjavbiFgK/0TV7JaM= =eTH+ -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 12:38:46 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC49116A417 for ; Fri, 15 Sep 2006 12:38:46 +0000 (UTC) (envelope-from jmelo@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 81ED843D60 for ; Fri, 15 Sep 2006 12:38:44 +0000 (GMT) (envelope-from jmelo@freebsdbrasil.com.br) Received: (qmail 39910 invoked by uid 0); 15 Sep 2006 09:38:45 -0300 Received: from jmelo@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(201.17.132.187):. Processed in 0.558505 secs); 15 Sep 2006 12:38:45 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=capeta; d=freebsdbrasil.com.br; b=x0ztPIIJxTG0cQT9CcI8zLjDoG2JatkDhJhlM0RMtZy+q57zehPF1Ck9ppTgcKL3YxoL4xnXgNyfCYfEDgVo8MnP4hVOg/f7rE/r9EwOTd+nRVqjNH3qncQ1fBn9+nGU ; Received: from unknown (HELO ?10.69.69.66?) (jmelo@201.17.132.187) by capeta.freebsdbrasil.com.br with SMTP; 15 Sep 2006 09:38:44 -0300 Message-ID: <450A9EE7.4030401@freebsdbrasil.com.br> Date: Fri, 15 Sep 2006 09:39:03 -0300 From: Jean Milanez Melo User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Julian Elischer References: <4509C2C7.10503@elischer.org> <4509C451.4040006@freebsdbrasil.com.br> <450A003B.500@elischer.org> <450A00D9.6020902@elischer.org> In-Reply-To: <450A00D9.6020902@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 12:38:46 -0000 Julian Elischer wrote: > Julian Elischer wrote: > >> I tried with today's -current using minimal >> but it failed to build... >> > > ==> ce (all) > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE > -std=c99 -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/TINYBSD/opt_global.h -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -I/usr/obj/usr/src/sys/TINYBSD > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -fformat-extensions -c /usr/src/sys/modules/ce/../../dev/ce/if_ce.c > /usr/src/sys/modules/ce/../../dev/ce/if_ce.c:846:36: "DEV_BPF" is not > defined > *** Error code 1 > > Stop in /usr/src/sys/modules/ce. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/TINYBSD. > *** Error code 1 > > > > I'll try again later in case it's a temporary breakage. > >>> Hi Julian, Yes, i think it's a temporary breakage. Another thing that i forgot to say is, with TinyBSD you can build a minimal image with 22MB. Cheers, Jean From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 13:13:00 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6C1A16A415 for ; Fri, 15 Sep 2006 13:13:00 +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 282B743D4C for ; Fri, 15 Sep 2006 13:12:59 +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 911C3C494 for ; Fri, 15 Sep 2006 09:12:58 -0400 (EDT) Received: from aaron.protected-networks.net (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id 0E510C3B4 for ; Fri, 15 Sep 2006 09:12:54 -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 941F3C2CE for ; Fri, 15 Sep 2006 09:12:53 -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:Subject:X-Enigmail-Version:OpenPGP:Content-Type:Content-Transfer-Encoding; b=NdsfcZ2fVnUYktTGJKGNgwB+zSMmOKgQgybmHOR7V/uZ0La+J3DaMH8RtG6PQs7yUTC2ybXiMHspBt1DP88Ak+VbWNnxX/VPba6zLVrLbw5b1dEWL3/tMZqBuP5pJ6sK; Received: from [192.168.1.10] (socker.hsd1.ma.comcast.net [24.218.145.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Iain Michael Butler", Issuer "Protected Networks Certificate Authority" (verified OK)) (Authenticated sender: imb@protected-networks.net) by aaron.protected-networks.net (Postfix) with ESMTP id 451F0C1CF for ; Fri, 15 Sep 2006 09:12:53 -0400 (EDT) Message-ID: <450AA6D4.3050009@protected-networks.net> Date: Fri, 15 Sep 2006 09:12:52 -0400 From: Michael Butler User-Agent: Thunderbird 1.5.0.7 (X11/20060914) MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: PQ_CACHESIZE now too small? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 13:13:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I note in /sys/vm/vm_page.h we have .. /* Backward compatibility for existing PQ_*CACHE config options. */ #if !defined(PQ_CACHESIZE) #if defined(PQ_HUGECACHE) #define PQ_CACHESIZE 1024 #elif defined(PQ_LARGECACHE) #define PQ_CACHESIZE 512 #elif defined(PQ_MEDIUMCACHE) #define PQ_CACHESIZE 256 #elif defined(PQ_NORMALCACHE) #define PQ_CACHESIZE 64 #elif defined(PQ_NOOPT) #define PQ_CACHESIZE 0 #else #define PQ_CACHESIZE 128 #endif #endif /* !defined(PQ_CACHESIZE) */ #if PQ_CACHESIZE >= 1024 #define PQ_PRIME1 31 /* Prime number somewhat less than PQ_L2_SIZE */ #define PQ_PRIME2 23 /* Prime number somewhat less than PQ_L2_SIZE */ #define PQ_L2_SIZE 256 /* A number of colors opt for 1M cache */ #elif PQ_CACHESIZE >= 512 [ .. snip .. ] .. given the ever-increasing availability of L2 cache (even my core duo laptop has 2MB of unified cache between two cores), are these numbers now too small? Alternatively, are these parameters subject to the laws of diminishing returns? Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCqbUQv9rrgRC1JIRArorAJ9bWRe/qfKZlQ+LvWk8JrRYMP1xGACgxUEy QNnjFa+Iv6B3Lxosjq4OaG4= =EWMf -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 14:10:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F5DB16A407 for ; Fri, 15 Sep 2006 14:10:11 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 767C243D45 for ; Fri, 15 Sep 2006 14:10:09 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D5B2.dip.t-dialin.net [84.165.213.178]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8FDlfoG021822; Fri, 15 Sep 2006 15:47:42 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8FEA5jV069962; Fri, 15 Sep 2006 16:10:05 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 15 Sep 2006 16:09:53 +0200 Message-ID: <20060915160953.s9fij7r2so8cggkk@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 15 Sep 2006 16:09:53 +0200 From: Alexander Leidinger To: Michael Butler References: <450AA6D4.3050009@protected-networks.net> In-Reply-To: <450AA6D4.3050009@protected-networks.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org Subject: Re: PQ_CACHESIZE now too small? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 14:10:11 -0000 Quoting Michael Butler (from Fri, 15 Sep =20 2006 09:12:52 -0400): > I note in /sys/vm/vm_page.h we have .. > > /* Backward compatibility for existing PQ_*CACHE config options. */ > #if !defined(PQ_CACHESIZE) > #if defined(PQ_HUGECACHE) > #define PQ_CACHESIZE 1024 If you post to current@, you should quote code from -current... while =20 the numbers are still the same, the corresponding code has switched to =20 auto-tuning at boot time instead from the the fixed tuning at compile =20 time you presented here. > .. given the ever-increasing availability of L2 cache (even my core duo > laptop has 2MB of unified cache between two cores), are these numbers > now too small? > > Alternatively, are these parameters subject to the laws of diminishing > returns? I was told there are other ways of doing the page coloring which don't =20 depend on such magic numbers which need to be reviewed from time to =20 time. Bye, Alexander. --=20 I'm sorry I missed. =09=09-- Squeaky Fromme http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 14:15:25 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B76416A403; Fri, 15 Sep 2006 14:15:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 627AE43D49; Fri, 15 Sep 2006 14:15:24 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k8FEFBsp051211; Fri, 15 Sep 2006 10:15:11 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Andre Oppermann Date: Fri, 15 Sep 2006 10:14:35 -0400 User-Agent: KMail/1.9.1 References: <20060915102228.GK27667@FreeBSD.org> <450A8467.5050405@freebsd.org> In-Reply-To: <450A8467.5050405@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609151014.36785.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Fri, 15 Sep 2006 10:15:12 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1885/Fri Sep 15 07:19:10 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: current@freebsd.org, freebsd-current@freebsd.org, Mike Tancsa , Ian FREISLICH , Gleb Smirnoff , Jack Vogel Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 14:15:25 -0000 On Friday 15 September 2006 06:45, Andre Oppermann wrote: > Gleb Smirnoff wrote: > > On Wed, Sep 13, 2006 at 10:46:22AM -0500, Brooks Davis wrote: > > B> On Wed, Sep 13, 2006 at 11:08:44AM -0400, John Baldwin wrote: > > B> > On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: > > B> > > Mike Tancsa wrote: > > B> > > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > > B> > > > > > B> > > >> TSO != (vlan && promisc) > > B> > > > > > B> > > > Sorry, the commonality I was referring to was VLAN hardware tagging and > > B> > > > how it must be enabled for TSO, but that breaks other things. See a few > > B> > > > messages ago > > B> > > > > > B> > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html > > B> > > > > B> > > I'm sure we can find a workaround for that. > > B> > > > B> > Well, you could have the em(4) driver manually handle TSO in software, which > > B> > is what it does to workaround the VLAN tag problem. (It does VLAN > > B> > encapsulation in the driver.) While VLAN insertion may be trivial, > > B> > re-implementing TCP segmentation in the driver might be a good bit less > > B> > trivial to do. There's not going to be a simple easy workaround for this > > B> > hardware bug. :( > > B> > > B> I'm not sure it's worth worrying about with GbE hardware. Just disable > > B> TSO in promiscuous mode. Where TSO is going to really matter is 10GbE. > > B> No supporting TSO in some configurations with GbE doesn't seem like a > > B> big deal to me. > > > > Yes, makeing TSO and promisc mutually exclusive would be fine. > > There is no point in disabling TSO in when the card is in promisc mode. > Promisc mode only affects the receive path where TSO doesn't do a thing, > it is only used on the send path. The real fix is that the network stack including bpf(4) needs to be aware of VLANs that aren't stored in the packet data (mtag, mbuf header, wherever). If you fixed bridging and bpf to recoginize VLAN IDs in metadata and handle them then em(4) wouldn't need this hack. Also, if my understanding is correct, this hack is really needed for _any_ ethernet driver that supports vlan tagging in hardware unless we fix the stack consumers. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 14:15:25 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B76416A403; Fri, 15 Sep 2006 14:15:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 627AE43D49; Fri, 15 Sep 2006 14:15:24 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k8FEFBsp051211; Fri, 15 Sep 2006 10:15:11 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Andre Oppermann Date: Fri, 15 Sep 2006 10:14:35 -0400 User-Agent: KMail/1.9.1 References: <20060915102228.GK27667@FreeBSD.org> <450A8467.5050405@freebsd.org> In-Reply-To: <450A8467.5050405@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609151014.36785.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Fri, 15 Sep 2006 10:15:12 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1885/Fri Sep 15 07:19:10 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: current@freebsd.org, freebsd-current@freebsd.org, Mike Tancsa , Ian FREISLICH , Gleb Smirnoff , Jack Vogel Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 14:15:25 -0000 On Friday 15 September 2006 06:45, Andre Oppermann wrote: > Gleb Smirnoff wrote: > > On Wed, Sep 13, 2006 at 10:46:22AM -0500, Brooks Davis wrote: > > B> On Wed, Sep 13, 2006 at 11:08:44AM -0400, John Baldwin wrote: > > B> > On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: > > B> > > Mike Tancsa wrote: > > B> > > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: > > B> > > > > > B> > > >> TSO != (vlan && promisc) > > B> > > > > > B> > > > Sorry, the commonality I was referring to was VLAN hardware tagging and > > B> > > > how it must be enabled for TSO, but that breaks other things. See a few > > B> > > > messages ago > > B> > > > > > B> > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html > > B> > > > > B> > > I'm sure we can find a workaround for that. > > B> > > > B> > Well, you could have the em(4) driver manually handle TSO in software, which > > B> > is what it does to workaround the VLAN tag problem. (It does VLAN > > B> > encapsulation in the driver.) While VLAN insertion may be trivial, > > B> > re-implementing TCP segmentation in the driver might be a good bit less > > B> > trivial to do. There's not going to be a simple easy workaround for this > > B> > hardware bug. :( > > B> > > B> I'm not sure it's worth worrying about with GbE hardware. Just disable > > B> TSO in promiscuous mode. Where TSO is going to really matter is 10GbE. > > B> No supporting TSO in some configurations with GbE doesn't seem like a > > B> big deal to me. > > > > Yes, makeing TSO and promisc mutually exclusive would be fine. > > There is no point in disabling TSO in when the card is in promisc mode. > Promisc mode only affects the receive path where TSO doesn't do a thing, > it is only used on the send path. The real fix is that the network stack including bpf(4) needs to be aware of VLANs that aren't stored in the packet data (mtag, mbuf header, wherever). If you fixed bridging and bpf to recoginize VLAN IDs in metadata and handle them then em(4) wouldn't need this hack. Also, if my understanding is correct, this hack is really needed for _any_ ethernet driver that supports vlan tagging in hardware unless we fix the stack consumers. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 14:42:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5033716A403 for ; Fri, 15 Sep 2006 14:42:27 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CED943D4C for ; Fri, 15 Sep 2006 14:42:26 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 46599 invoked from network); 15 Sep 2006 14:25:46 -0000 Received: from dotat.atdotat.at (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 15 Sep 2006 14:25:46 -0000 Message-ID: <450ABBD1.4020609@freebsd.org> Date: Fri, 15 Sep 2006 16:42:25 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: John Baldwin References: <20060915102228.GK27667@FreeBSD.org> <450A8467.5050405@freebsd.org> <200609151014.36785.jhb@freebsd.org> In-Reply-To: <200609151014.36785.jhb@freebsd.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Ian FREISLICH , freebsd-current@freebsd.org, Gleb Smirnoff , Jack Vogel , Mike Tancsa Subject: Re: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 14:42:27 -0000 John Baldwin wrote: > On Friday 15 September 2006 06:45, Andre Oppermann wrote: > >>Gleb Smirnoff wrote: >> >>>On Wed, Sep 13, 2006 at 10:46:22AM -0500, Brooks Davis wrote: >>>B> On Wed, Sep 13, 2006 at 11:08:44AM -0400, John Baldwin wrote: >>>B> > On Tuesday 12 September 2006 19:14, Andre Oppermann wrote: >>>B> > > Mike Tancsa wrote: >>>B> > > > At 12:43 PM 9/12/2006, Andre Oppermann wrote: >>>B> > > > >>>B> > > >> TSO != (vlan && promisc) >>>B> > > > >>>B> > > > Sorry, the commonality I was referring to was VLAN hardware tagging and >>>B> > > > how it must be enabled for TSO, but that breaks other things. See a few >>>B> > > > messages ago >>>B> > > > >>>B> > http://lists.freebsd.org/pipermail/freebsd-current/2006-September/065818.html >>>B> > > >>>B> > > I'm sure we can find a workaround for that. >>>B> > >>>B> > Well, you could have the em(4) driver manually handle TSO in software, which >>>B> > is what it does to workaround the VLAN tag problem. (It does VLAN >>>B> > encapsulation in the driver.) While VLAN insertion may be trivial, >>>B> > re-implementing TCP segmentation in the driver might be a good bit less >>>B> > trivial to do. There's not going to be a simple easy workaround for this >>>B> > hardware bug. :( >>>B> >>>B> I'm not sure it's worth worrying about with GbE hardware. Just disable >>>B> TSO in promiscuous mode. Where TSO is going to really matter is 10GbE. >>>B> No supporting TSO in some configurations with GbE doesn't seem like a >>>B> big deal to me. >>> >>>Yes, makeing TSO and promisc mutually exclusive would be fine. >> >>There is no point in disabling TSO in when the card is in promisc mode. >>Promisc mode only affects the receive path where TSO doesn't do a thing, >>it is only used on the send path. > > > The real fix is that the network stack including bpf(4) needs to be aware > of VLANs that aren't stored in the packet data (mtag, mbuf header, > wherever). If you fixed bridging and bpf to recoginize VLAN IDs in metadata > and handle them then em(4) wouldn't need this hack. Also, if my understanding > is correct, this hack is really needed for _any_ ethernet driver that supports > vlan tagging in hardware unless we fix the stack consumers. OK, I'll give it a try to fix the stack. -- Andre From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 16:16:18 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAF1E16A5C1 for ; Fri, 15 Sep 2006 16:16:18 +0000 (UTC) (envelope-from fbsd@lurkie.xs4all.nl) Received: from lurkie.xs4all.nl (lurkie.xs4all.nl [194.109.236.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E0FD43D49 for ; Fri, 15 Sep 2006 16:16:17 +0000 (GMT) (envelope-from fbsd@lurkie.xs4all.nl) Received: from lurkie.xs4all.nl (fbsd@localhost.lurkie.org [127.0.0.1]) by lurkie.xs4all.nl (8.13.4/8.13.4) with ESMTP id k8FGGGc7013580 for ; Fri, 15 Sep 2006 18:16:16 +0200 (CEST) Received: (from fbsd@localhost) by lurkie.xs4all.nl (8.13.4/8.13.4/Submit) id k8FGGFQJ003803 for current@freebsd.org; Fri, 15 Sep 2006 18:16:15 +0200 (CEST) Date: Fri, 15 Sep 2006 18:16:15 +0200 From: Marc Veldman To: current@freebsd.org Message-ID: <20060915161615.GA18853@lurkie.xs4all.nl> References: <4509C2C7.10503@elischer.org> <20060914213152.GA84107@rambler-co.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <20060914213152.GA84107@rambler-co.ru> User-Agent: Mutt/1.4.2i Cc: Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 16:16:18 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Sep 15, 2006 at 01:31:52AM +0400, Ruslan Ermilov wrote: > > I want to slim it down to fit on a 64 MB usb key but it's not immediatly > > how to do this from the 'docs' > > I'm resorting to reading the scripts and then the Makefiles but if > > anyone has this alreay all written down somewhere > > that would be good. > > > NO*'s are still provided for compatibility, but the modern syntax is > WITH/WITHOUT, please see the src.conf(5) manpage for details. I have changed the nanobsd.sh script to use an src.conf as well as a make.conf file. This should bring it more into line with the -current way of making world. Diff is attached, as well as a sample conf file. If it is useful, maybe someone could commit it. Cheers, Marc Veldman. --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="nanobsd.sh.diff" *** nanobsd.sh Tue Aug 15 23:59:33 2006 --- nanobsd.src.sh Fri Sep 15 18:01:11 2006 *************** *** 130,138 **** make_conf_build ( ) ( echo "## Construct build make.conf ($NANO_MAKE_CONF)" - echo "${CONF_WORLD}" > ${NANO_MAKE_CONF} echo "${CONF_BUILD}" >> ${NANO_MAKE_CONF} ) build_world ( ) ( --- 130,142 ---- make_conf_build ( ) ( echo "## Construct build make.conf ($NANO_MAKE_CONF)" echo "${CONF_WORLD}" > ${NANO_MAKE_CONF} echo "${CONF_BUILD}" >> ${NANO_MAKE_CONF} + + echo "## Construct build src.conf ($NANO_SRC_CONF)" + echo "${SRC_WORLD}" > ${NANO_SRC_CONF} + echo "${SRC_BUILD}" >> ${NANO_SRC_CONF} + ) build_world ( ) ( *************** *** 140,147 **** echo "### log: ${MAKEOBJDIRPREFIX}/_.bw" cd ${NANO_SRC} ! ${NANO_PMAKE} __MAKE_CONF=${NANO_MAKE_CONF} buildworld \ ! > ${MAKEOBJDIRPREFIX}/_.bw 2>&1 ) build_kernel ( ) ( --- 144,151 ---- echo "### log: ${MAKEOBJDIRPREFIX}/_.bw" cd ${NANO_SRC} ! ${NANO_PMAKE} __MAKE_CONF=${NANO_MAKE_CONF} SRCCONF=${NANO_SRC_CONF} \ ! buildworld > ${MAKEOBJDIRPREFIX}/_.bw 2>&1 ) build_kernel ( ) ( *************** *** 155,161 **** cd ${NANO_SRC} ${NANO_PMAKE} buildkernel \ __MAKE_CONF=${NANO_MAKE_CONF} KERNCONF=${NANO_KERNEL} \ ! > ${MAKEOBJDIRPREFIX}/_.bk 2>&1 ) clean_world ( ) ( --- 159,165 ---- cd ${NANO_SRC} ${NANO_PMAKE} buildkernel \ __MAKE_CONF=${NANO_MAKE_CONF} KERNCONF=${NANO_KERNEL} \ ! SRCCONF=${NANO_SRC_CONF} > ${MAKEOBJDIRPREFIX}/_.bk 2>&1 ) clean_world ( ) ( *************** *** 171,179 **** make_conf_install ( ) ( echo "## Construct install make.conf ($NANO_MAKE_CONF)" - echo "${CONF_WORLD}" > ${NANO_MAKE_CONF} echo "${CONF_INSTALL}" >> ${NANO_MAKE_CONF} ) install_world ( ) ( --- 175,186 ---- make_conf_install ( ) ( echo "## Construct install make.conf ($NANO_MAKE_CONF)" echo "${CONF_WORLD}" > ${NANO_MAKE_CONF} echo "${CONF_INSTALL}" >> ${NANO_MAKE_CONF} + + echo "## Construct install src.conf ($NANO_SRC_CONF)" + echo "${SRC_WORLD}" > ${NANO_SRC_CONF} + echo "${SRC_INSTALL}" >> ${NANO_SRC_CONF} ) install_world ( ) ( *************** *** 181,188 **** echo "### log: ${MAKEOBJDIRPREFIX}/_.iw" cd ${NANO_SRC} ! ${NANO_PMAKE} __MAKE_CONF=${NANO_MAKE_CONF} installworld \ ! DESTDIR=${NANO_WORLDDIR} \ > ${MAKEOBJDIRPREFIX}/_.iw 2>&1 chflags -R noschg ${NANO_WORLDDIR} ) --- 188,195 ---- echo "### log: ${MAKEOBJDIRPREFIX}/_.iw" cd ${NANO_SRC} ! ${NANO_PMAKE} __MAKE_CONF=${NANO_MAKE_CONF} SRCCONF=${NANO_SRC_CONF} \ ! installworld DESTDIR=${NANO_WORLDDIR} \ > ${MAKEOBJDIRPREFIX}/_.iw 2>&1 chflags -R noschg ${NANO_WORLDDIR} ) *************** *** 193,200 **** echo "### log: ${MAKEOBJDIRPREFIX}/_.etc" cd ${NANO_SRC} ! ${NANO_PMAKE} __MAKE_CONF=${NANO_MAKE_CONF} distribution \ ! DESTDIR=${NANO_WORLDDIR} \ > ${MAKEOBJDIRPREFIX}/_.etc 2>&1 ) --- 200,207 ---- echo "### log: ${MAKEOBJDIRPREFIX}/_.etc" cd ${NANO_SRC} ! ${NANO_PMAKE} __MAKE_CONF=${NANO_MAKE_CONF} SRCCONF=${NANO_SRC_CONF} \ ! distribution DESTDIR=${NANO_WORLDDIR} \ > ${MAKEOBJDIRPREFIX}/_.etc 2>&1 ) *************** *** 204,211 **** cd ${NANO_SRC} ${NANO_PMAKE} installkernel \ ! DESTDIR=${NANO_WORLDDIR} \ ! __MAKE_CONF=${NANO_MAKE_CONF} KERNCONF=${NANO_KERNEL} \ > ${MAKEOBJDIRPREFIX}/_.ik 2>&1 ) --- 211,218 ---- cd ${NANO_SRC} ${NANO_PMAKE} installkernel \ ! DESTDIR=${NANO_WORLDDIR} __MAKE_CONF=${NANO_MAKE_CONF} \ ! SRCCONF=${NANO_SRC_CONF} KERNCONF=${NANO_KERNEL} \ > ${MAKEOBJDIRPREFIX}/_.ik 2>&1 ) *************** *** 543,548 **** --- 550,556 ---- NANO_WORLDDIR=${MAKEOBJDIRPREFIX}/_.w NANO_MAKE_CONF=${MAKEOBJDIRPREFIX}/make.conf + NANO_SRC_CONF=${MAKEOBJDIRPREFIX}/src.conf if [ -d ${NANO_TOOLS} ] ; then true *************** *** 564,569 **** --- 572,578 ---- export NANO_HEADS export NANO_IMAGES export NANO_MAKE_CONF + export NANO_SRC_CONF export NANO_MEDIASIZE export NANO_NAME export NANO_NEWFS --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="4521.conf" NANO_NAME=custom NANO_SRC=/usr/src NANO_KERNEL=SOEKRIS4521 NANO_IMAGES=2 SRC_BUILD=' WITHOUT_KLDLOAD=YES WITHOUT_NETGRAPH=YES WITHOUT_PAM=YES ' SRC_INSTALL=' WITHOUT_ACPI=YES WITHOUT_BLUETOOTH=YES WITHOUT_CVS=YES WITHOUT_FORTRAN=YES WITHOUT_HTML=YES WITHOUT_LPR=YES WITHOUT_MAN=YES WITHOUT_SENDMAIL=YES WITHOUT_SHAREDOCS=YES WITHOUT_EXAMPLES=YES WITHOUT_INSTALLLIB=YES WITHOUT_CALENDAR=YES WITHOUT_MISC=YES WITHOUT_SHARE=YES ' SRC_WORLD=' WITHOUT_BIND=YES WITHOUT_MODULES=YES WITHOUT_KERBEROS=YES WITHOUT_GAMES=YES WITHOUT_RESCUE=YES WITHOUT_LOCALES=YES WITHOUT_SYSCONS=YES WITHOUT_INFO=YES ' FlashDevice SanDisk 1G --LQksG6bCIzRHxTLp-- From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 16:36:21 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 775A516A412 for ; Fri, 15 Sep 2006 16:36:21 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06AB443D58 for ; Fri, 15 Sep 2006 16:36:19 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from zappa.Chelsea-Ct.Org (pool-71-254-64-121.ronkva.east.verizon.net [71.254.64.121]) by gromit.dlib.vt.edu (8.13.6/8.13.4) with ESMTP id k8FGaIis089383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Sep 2006 12:36:19 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: from zappa.Chelsea-Ct.Org (localhost [127.0.0.1]) by zappa.Chelsea-Ct.Org (8.13.8/8.13.8) with ESMTP id k8FGaH87003500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Sep 2006 12:36:18 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: (from paul@localhost) by zappa.Chelsea-Ct.Org (8.13.8/8.13.8/Submit) id k8FGaH5h003499 for freebsd-current@freebsd.org; Fri, 15 Sep 2006 12:36:17 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) From: Paul Mather To: freebsd-current@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 15 Sep 2006 12:36:15 -0400 Message-Id: <1158338175.3415.15.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-2.0.2 (gromit.dlib.vt.edu [128.173.49.29]); Fri, 15 Sep 2006 12:36:19 -0400 (EDT) Subject: /etc/rc.d/mountlate runs when no file systems marked as late X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 16:36:21 -0000 On two -CURRENT systems I run, for some reason the root file system is attempted to be mounted as a "late" filesystem, even though it is not marked as "late" in /etc/fstab. I get a slightly different error on each system. On one (FreeBSD 7.0-CURRENT #0: Thu Sep 7 17:50:03 EDT 2006 i386), I get: =====>===== Mounting late file systems: mount: /dev/mirror/raid1a : No buffer space available . =====<===== and on the other (FreeBSD 7.0-CURRENT #0: Thu Sep 7 17:46:03 EDT 2006 i386) I get: =====>===== Mounting late file systems: mount: /dev/mirror/raid1a : Bad address . =====<===== Both are listed as below in their respective system /etc/fstab: =====>===== /dev/mirror/raid1a / ufs rw 1 1 =====<===== I don't get this problem on a gmirrored 6-STABLE system I run. Any ideas as to why this is happening? Both systems finish booting successfully, so the problem is not serious. It just struck me as odd. Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 16:50:45 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47BA616A403 for ; Fri, 15 Sep 2006 16:50:45 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9149943D55 for ; Fri, 15 Sep 2006 16:50:44 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id B15AF170C5; Fri, 15 Sep 2006 16:50:42 +0000 (UTC) To: Marc Veldman From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 15 Sep 2006 18:16:15 +0200." <20060915161615.GA18853@lurkie.xs4all.nl> Date: Fri, 15 Sep 2006 16:50:33 +0000 Message-ID: <9682.1158339033@critter.freebsd.dk> Cc: current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 16:50:45 -0000 In message <20060915161615.GA18853@lurkie.xs4all.nl>, Marc Veldman writes: > >I have changed the nanobsd.sh script to use an src.conf as well as a >make.conf file. This is wrong IMO, and contrary to the intended use of src.conf. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 16:53:54 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE7A616A415 for ; Fri, 15 Sep 2006 16:53:54 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from ms-dienst.rz.rwth-aachen.de (ms-1.rz.RWTH-Aachen.DE [134.130.3.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2753543D4C for ; Fri, 15 Sep 2006 16:53:53 +0000 (GMT) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe (circe.rz.RWTH-Aachen.DE [134.130.3.36]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0J5N00H7D89SHQ@ms-dienst.rz.rwth-aachen.de> for current@freebsd.org; Fri, 15 Sep 2006 18:53:53 +0200 (MEST) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Fri, 15 Sep 2006 18:53:52 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.7/8.13.1/1) with ESMTP id k8FGrqpa025647 for ; Fri, 15 Sep 2006 18:53:52 +0200 Received: from haakonia.hitnet.rwth-aachen.de ([137.226.181.92]) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GOGwq-0008HW-59 for current@freebsd.org; Fri, 15 Sep 2006 18:53:52 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id D641F3F41B; Fri, 15 Sep 2006 18:53:51 +0200 (CEST) Date: Fri, 15 Sep 2006 18:53:51 +0200 From: Christian Brueffer To: current@freebsd.org Message-id: <20060915165351.GC2020@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; boundary=F8dlzb82+Fcn6AgP; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.11 X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D Cc: Subject: em(4) interface wedges X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 16:53:54 -0000 --F8dlzb82+Fcn6AgP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, with the latest em(4) code in current (sans the printf/device_printf change), my interface wedges every few hours. It can be resurrected by bringing it down and up again. The device in question is a E1000_DEV_ID_82540EP_LP built into my Thinkpad. Anyone else seeing this? - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --F8dlzb82+Fcn6AgP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCtqfbHYXjKDtmC0RApGqAKD1s6Do2tvHB5EJ3DdXuQxKucELfgCg90aj MTJhYsRIr04jxOAX4D8oF/4= =dAFg -----END PGP SIGNATURE----- --F8dlzb82+Fcn6AgP-- From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 17:09:58 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 393D516A403; Fri, 15 Sep 2006 17:09:58 +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 A3FBC43D72; Fri, 15 Sep 2006 17:09:57 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([165.236.175.187]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k8FH9mfj045680; Fri, 15 Sep 2006 11:09:53 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <450ADE55.7090509@samsco.org> Date: Fri, 15 Sep 2006 11:09:41 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christian Brueffer References: <20060915165351.GC2020@haakonia.hitnet.RWTH-Aachen.DE> In-Reply-To: <20060915165351.GC2020@haakonia.hitnet.RWTH-Aachen.DE> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: current@freebsd.org Subject: Re: em(4) interface wedges X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 17:09:58 -0000 Christian Brueffer wrote: > Hi, > > with the latest em(4) code in current (sans the printf/device_printf > change), my interface wedges every few hours. It can be resurrected > by bringing it down and up again. > > The device in question is a E1000_DEV_ID_82540EP_LP built into my > Thinkpad. > > Anyone else seeing this? > > - Christian > Yes. It's also almost guaranteed to wedge the first time I do a remote CVS operation after boot. Scott From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 18:09:29 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CDF016A40F for ; Fri, 15 Sep 2006 18:09:29 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DB3943D6E for ; Fri, 15 Sep 2006 18:09:22 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 48140 invoked from network); 15 Sep 2006 17:52:41 -0000 Received: from dotat.atdotat.at (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 15 Sep 2006 17:52:40 -0000 Message-ID: <450AEC50.2060404@freebsd.org> Date: Fri, 15 Sep 2006 20:09:20 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: Scott Long References: <20060915165351.GC2020@haakonia.hitnet.RWTH-Aachen.DE> <450ADE55.7090509@samsco.org> In-Reply-To: <450ADE55.7090509@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Christian Brueffer Subject: Re: em(4) interface wedges X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 18:09:29 -0000 Scott Long wrote: > Christian Brueffer wrote: > >> Hi, >> >> with the latest em(4) code in current (sans the printf/device_printf >> change), my interface wedges every few hours. It can be resurrected >> by bringing it down and up again. >> >> The device in question is a E1000_DEV_ID_82540EP_LP built into my >> Thinkpad. >> >> Anyone else seeing this? >> >> - Christian >> > > Yes. It's also almost guaranteed to wedge the first time I do a remote > CVS operation after boot. When the interface wedges does it show the OACTIVE flag in ifconfig output? This is an important hint. If you are running at 100Mbit there seems to be bug in the em(4) harware with TSO. Try disabling TSO on it with 'ifconfig em0 -tso'. -- Andre From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 19:10:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D42DA16A407 for ; Fri, 15 Sep 2006 19:10:27 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 447CE43D5D for ; Fri, 15 Sep 2006 19:10:26 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id k8FJAPBc008627 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 15 Sep 2006 15:10:25 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id k8FJAKf8020933; Fri, 15 Sep 2006 15:10:20 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17674.64156.166629.417557@grasshopper.cs.duke.edu> Date: Fri, 15 Sep 2006 15:10:20 -0400 (EDT) To: freebsd-current@freebsd.org X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: multicast panic in -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 19:10:27 -0000 When running sources cvsupped on Monday on amd64, I hit the following panic when attempting to add a multicast address. I don't have a stack trace, but I do have a ddb trace. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x68 fault code = supervisor read, page not present instruction pointer = 0x8:0xffffffff80343402 stack pointer = 0x10:0xffffffff9399b830 frame pointer = 0x10:0xffffffff9399b8e0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1615 (multicast) [thread pid 1615 tid 100073 ] Stopped at ip_output+0x352: testb $0x5,0x68(%rdx) db> tr Tracing pid 1615 tid 100073 td 0xffffff0013d09000 ip_output() at ip_output+0x352 igmp_sendpkt() at igmp_sendpkt+0x123 igmp_joingroup() at igmp_joingroup+0xa1 in_addmulti() at in_addmulti+0x19f ip_ctloutput() at ip_ctloutput+0xfc6 sosetopt() at sosetopt+0x178 kern_setsockopt() at kern_setsockopt+0x111 setsockopt() at setsockopt+0x22 syscall() at syscall+0x272 Xfast_syscall() at Xfast_syscall+0xa8 --- syscall (105, FreeBSD ELF64, setsockopt), rip = 0x8006c0e8c, rsp = 0x7fffffffe668, rbp = 0x3 --- db> >From gdb after the reboot: (gdb) l *ip_output+0x352 0xffffffff80343402 is in ip_output (../../../netinet/ip_output.c:249). 244 } 245 /* 246 * Calculate MTU. If we have a route that is up, use that, 247 * otherwise use the interface's MTU. 248 */ 249 if (ro->ro_rt->rt_flags & (RTF_UP | RTF_HOST)) { 250 /* 251 * This case can happen if the user changed the MTU 252 * of an interface after enabling IP on it. Because 253 * most netifs don't keep track of routes pointing to 0xffffffff80337613 is in igmp_sendpkt (../../../netinet/igmp.c:510). 505 * XXX 506 * Do we have to worry about reentrancy here? Don't think so. 507 */ 508 ip_output(m, router_alert, &igmprt, 0, &imo, NULL); 509 510 ++igmpstat.igps_snd_reports; 511 } Drew From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 19:12:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D9CB16A403; Fri, 15 Sep 2006 19:12:34 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from ms-dienst.rz.rwth-aachen.de (ms-1.rz.RWTH-Aachen.DE [134.130.3.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D6B443D64; Fri, 15 Sep 2006 19:12:26 +0000 (GMT) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe (circe.rz.RWTH-Aachen.DE [134.130.3.36]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0J5N00H3KEKYHQ@ms-dienst.rz.rwth-aachen.de>; Fri, 15 Sep 2006 21:10:10 +0200 (MEST) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Fri, 15 Sep 2006 21:10:09 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.7/8.13.1/1) with ESMTP id k8FJA9G1007206; Fri, 15 Sep 2006 21:10:09 +0200 Received: from haakonia.hitnet.rwth-aachen.de ([137.226.181.92]) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GOJ4j-0003N0-Fa; Fri, 15 Sep 2006 21:10:09 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id 3A6F03F41B; Fri, 15 Sep 2006 21:10:09 +0200 (CEST) Date: Fri, 15 Sep 2006 21:10:09 +0200 From: Christian Brueffer In-reply-to: <450AEC50.2060404@freebsd.org> To: Andre Oppermann Message-id: <20060915191008.GE2020@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; boundary=4f28nU6agdXSinmL; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.11 X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <20060915165351.GC2020@haakonia.hitnet.RWTH-Aachen.DE> <450ADE55.7090509@samsco.org> <450AEC50.2060404@freebsd.org> Cc: current@freebsd.org Subject: Re: em(4) interface wedges X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 19:12:34 -0000 --4f28nU6agdXSinmL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 15, 2006 at 08:09:20PM +0200, Andre Oppermann wrote: > Scott Long wrote: > >Christian Brueffer wrote: > > > >>Hi, > >> > >>with the latest em(4) code in current (sans the printf/device_printf > >>change), my interface wedges every few hours. It can be resurrected > >>by bringing it down and up again. > >> > >>The device in question is a E1000_DEV_ID_82540EP_LP built into my > >>Thinkpad. > >> > >>Anyone else seeing this? > >> > >>- Christian > >> > > > >Yes. It's also almost guaranteed to wedge the first time I do a remote > >CVS operation after boot. >=20 > When the interface wedges does it show the OACTIVE flag in ifconfig outpu= t? > This is an important hint. >=20 Yeah, OACTIVE is set. > If you are running at 100Mbit there seems to be bug in the em(4) harware > with TSO. Try disabling TSO on it with 'ifconfig em0 -tso'. >=20 Correct, I'm using it at 100Mbit and disabling TSO works around the issue. - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --4f28nU6agdXSinmL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCvqQbHYXjKDtmC0RAuLKAKC+g0SkJmvHwkUYvaejoOowDhkAswCgiKyl rKprCTXoGNeqXgjQmA6uevY= =vPlw -----END PGP SIGNATURE----- --4f28nU6agdXSinmL-- From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 19:24:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90D7916A40F for ; Fri, 15 Sep 2006 19:24:22 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DF5043D45 for ; Fri, 15 Sep 2006 19:24:22 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id D5F835CDF; Fri, 15 Sep 2006 23:24:20 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id B4BF45CD8; Fri, 15 Sep 2006 23:24:20 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k8FJOKrc003707; Fri, 15 Sep 2006 23:24:20 +0400 (MSD) (envelope-from ru) Date: Fri, 15 Sep 2006 23:24:20 +0400 From: Ruslan Ermilov To: Andrew Gallatin Message-ID: <20060915192420.GE3291@rambler-co.ru> References: <17674.64156.166629.417557@grasshopper.cs.duke.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C94crkcyjafcjHxo" Content-Disposition: inline In-Reply-To: <17674.64156.166629.417557@grasshopper.cs.duke.edu> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: freebsd-current@freebsd.org Subject: Re: multicast panic in -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 19:24:22 -0000 --C94crkcyjafcjHxo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 15, 2006 at 03:10:20PM -0400, Andrew Gallatin wrote: >=20 > When running sources cvsupped on Monday on amd64, > I hit the following panic when attempting to add > a multicast address. I don't have a stack trace, > but I do have a ddb trace. >=20 But today is Friday. :-) : RCS file: /home/ncvs/src/sys/netinet/ip_output.c,v : Working file: ip_output.c : head: 1.263 : branch: : locks: strict : access list: : keyword substitution: kv : total revisions: 371; selected revisions: 1 : description: : ---------------------------- : revision 1.263 : date: 2006/09/11 19:56:10; author: andre; state: Exp; lines: +1 -1 : Fix a NULL pointer dereference of ro->ro_rt->rt_flags by checking for the : validity of ro->ro_rt first. This prevents crashing on any non-normally : routed IP packet. :=20 : Coverity CID: 162 (incorrectly, it was re-introduced by previous commit) > Fatal trap 12: page fault while in kernel mode > fault virtual address =3D 0x68 > fault code =3D supervisor read, page not present > instruction pointer =3D 0x8:0xffffffff80343402 > stack pointer =3D 0x10:0xffffffff9399b830 > frame pointer =3D 0x10:0xffffffff9399b8e0 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 1615 (multicast) > [thread pid 1615 tid 100073 ] > Stopped at ip_output+0x352: testb $0x5,0x68(%rdx) > db> tr > Tracing pid 1615 tid 100073 td 0xffffff0013d09000 > ip_output() at ip_output+0x352 > igmp_sendpkt() at igmp_sendpkt+0x123 > igmp_joingroup() at igmp_joingroup+0xa1 > in_addmulti() at in_addmulti+0x19f > ip_ctloutput() at ip_ctloutput+0xfc6 > sosetopt() at sosetopt+0x178 > kern_setsockopt() at kern_setsockopt+0x111 > setsockopt() at setsockopt+0x22 > syscall() at syscall+0x272 > Xfast_syscall() at Xfast_syscall+0xa8 > --- syscall (105, FreeBSD ELF64, setsockopt), rip =3D 0x8006c0e8c, rsp =3D > 0x7fffffffe668, rbp =3D 0x3 --- > db>=20 >=20 > >From gdb after the reboot: >=20 > (gdb) l *ip_output+0x352=20 > 0xffffffff80343402 is in ip_output (../../../netinet/ip_output.c:249). > 244 } > 245 /* > 246 * Calculate MTU. If we have a route that is up, use tha= t, > 247 * otherwise use the interface's MTU. > 248 */ > 249 if (ro->ro_rt->rt_flags & (RTF_UP | RTF_HOST)) { > 250 /* > 251 * This case can happen if the user changed the M= TU > 252 * of an interface after enabling IP on it. Beca= use > 253 * most netifs don't keep track of routes pointin= g to >=20 > 0xffffffff80337613 is in igmp_sendpkt (../../../netinet/igmp.c:510). > 505 * XXX > 506 * Do we have to worry about reentrancy here? Don't thin= k so. > 507 */ > 508 ip_output(m, router_alert, &igmprt, 0, &imo, NULL); > 509 > 510 ++igmpstat.igps_snd_reports; > 511 } >=20 >=20 > Drew > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --C94crkcyjafcjHxo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCv3kqRfpzJluFF4RAvT2AJ9R6PQSjmF4+WV+rJRTXWHKWzKaHQCZAdNb WU4UErhtQ1Rh6gA01+OrOrA= =aJr0 -----END PGP SIGNATURE----- --C94crkcyjafcjHxo-- From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 19:26:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4707D16A403; Fri, 15 Sep 2006 19:26:33 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D829543D46; Fri, 15 Sep 2006 19:26:32 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id k8FJQWbS011333 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 15 Sep 2006 15:26:32 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id k8FJQRDg020949; Fri, 15 Sep 2006 15:26:27 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17674.65123.151116.71542@grasshopper.cs.duke.edu> Date: Fri, 15 Sep 2006 15:26:27 -0400 (EDT) To: Ruslan Ermilov In-Reply-To: <20060915192420.GE3291@rambler-co.ru> References: <17674.64156.166629.417557@grasshopper.cs.duke.edu> <20060915192420.GE3291@rambler-co.ru> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Cc: freebsd-current@freebsd.org Subject: Re: multicast panic in -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 19:26:33 -0000 Ruslan Ermilov writes: > On Fri, Sep 15, 2006 at 03:10:20PM -0400, Andrew Gallatin wrote: > > > > When running sources cvsupped on Monday on amd64, > > I hit the following panic when attempting to add > > a multicast address. I don't have a stack trace, > > but I do have a ddb trace. > > > But today is Friday. :-) > So, does that mean that its fixed? I don't have a huge amount of time for FreeBSD anymore, and can't follow all the lists and cvsup things every hour. Drew From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 19:39:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 876F616A529; Fri, 15 Sep 2006 19:39:33 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E98443D5D; Fri, 15 Sep 2006 19:39:00 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id k8FJcxcs013747 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 15 Sep 2006 15:38:59 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id k8FJcrFj020958; Fri, 15 Sep 2006 15:38:53 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17675.333.471684.925967@grasshopper.cs.duke.edu> Date: Fri, 15 Sep 2006 15:38:53 -0400 (EDT) To: Ruslan Ermilov In-Reply-To: <20060915192420.GE3291@rambler-co.ru> References: <17674.64156.166629.417557@grasshopper.cs.duke.edu> <20060915192420.GE3291@rambler-co.ru> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Cc: freebsd-current@freebsd.org Subject: Re: multicast panic in -current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 19:39:33 -0000 Ruslan Ermilov writes: > On Fri, Sep 15, 2006 at 03:10:20PM -0400, Andrew Gallatin wrote: > > > > When running sources cvsupped on Monday on amd64, > > I hit the following panic when attempting to add > > a multicast address. I don't have a stack trace, > > but I do have a ddb trace. > > This seems to be fixed in a cvsup from this afternoon. Sorry for the noise. Drew From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 21:21:55 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E774B16A403 for ; Fri, 15 Sep 2006 21:21:55 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 412AE43D46 for ; Fri, 15 Sep 2006 21:21:55 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so222360uge for ; Fri, 15 Sep 2006 14:21:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition; b=G5ASJ//bb0724Gf8phPjLsP8QkSYV6TJYhL3ROL79wZgl4fFYlSaaK+Uuojcwf+P1hkxfbW+DhoPXLt2JJNbsOoqNNTuMeE2Ql6ypw58BgslGM39zneDiUDe4V4LCAyzdn1Ce7qs6nj0IhURYusgtJyGnfALLhbycMBoxZlSOAs= Received: by 10.66.216.20 with SMTP id o20mr5637180ugg; Fri, 15 Sep 2006 14:21:53 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.137.236]) by mx.gmail.com with ESMTP id b35sm451064ugd.2006.09.15.14.21.52; Fri, 15 Sep 2006 14:21:53 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k8FLLpxm094173 for ; Fri, 15 Sep 2006 23:21:51 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k8AJHpSa002294 for current@freebsd.org; Sun, 10 Sep 2006 21:17:51 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Sun, 10 Sep 2006 21:17:51 +0200 From: Ulrich Spoerlein To: current@freebsd.org Message-ID: <20060910191751.GA2271@roadrunner.buck.local> Mail-Followup-To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: Subject: msdosfs: VFAT support on FAT16 filesystems? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 21:21:56 -0000 Hi current@, I own a crappy MP3-Stick that requires a FAT16 filesystem. The big problem is that FreeBSD truncates all files created on that filesystem to 8.3 characters. You can imagine that this sucks, if you're trying to copy several MP3s by the same artist to a directory on the disk. The question is thus, why does it do that? I think this used to work just fine in the 5.x line. "What happen?" Ulrich Spoerlein -- A: Yes. >Q: Are you sure? > >A: Because it reverses the logical flow of conversation. > >>Q: Why is top posting frowned upon? From owner-freebsd-current@FreeBSD.ORG Fri Sep 15 21:30:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B762F16A4C2 for ; Fri, 15 Sep 2006 21:30:22 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 6785C43D5E for ; Fri, 15 Sep 2006 21:30:15 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 17379 invoked by uid 399); 15 Sep 2006 21:30:14 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 15 Sep 2006 21:30:14 -0000 Message-ID: <450B1B6A.5080800@FreeBSD.org> Date: Fri, 15 Sep 2006 14:30:18 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Experience with Lenovo Thinkpad z61m or z61t? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 21:30:22 -0000 Howdy, I'm considering the z61m, or possibly the z61t for my next laptop, and I was wondering if anyone has experience with them, good or bad. I do know that there is an issue with the wireless (3945abg), but I was also wondering if anyone has got the "beta driver" for that card working with either box. Thanks! Doug -- This .signature sanitized for your protection From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 01:51:16 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9700516A412 for ; Sat, 16 Sep 2006 01:51:16 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 340E343D70 for ; Sat, 16 Sep 2006 01:51:07 +0000 (GMT) (envelope-from jfvogel@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so3996176pye for ; Fri, 15 Sep 2006 18:51:06 -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=acWmuFwAJwuG7gFv4vd82viI+dIuEKUXd3DCMeFMy25Dz8Va8Y+pQgmUsi/qKGjEc8EqYaOQ9k+ZDKNRC89hTv6ge7Izc1FkMusWYnCQTuQj/PV6FKdpe7xrUH0yPBn+/9T/cmxJ6Haph1UyfOyVBqsOQXuAd2Fu9Nwg/3+kLc0= Received: by 10.35.15.11 with SMTP id s11mr18491422pyi; Fri, 15 Sep 2006 18:51:06 -0700 (PDT) Received: by 10.35.119.1 with HTTP; Fri, 15 Sep 2006 18:51:06 -0700 (PDT) Message-ID: <2a41acea0609151851u6be96fe3ice86b39acfed9660@mail.gmail.com> Date: Fri, 15 Sep 2006 18:51:06 -0700 From: "Jack Vogel" To: "Christian Brueffer" In-Reply-To: <20060915191008.GE2020@haakonia.hitnet.RWTH-Aachen.DE> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060915165351.GC2020@haakonia.hitnet.RWTH-Aachen.DE> <450ADE55.7090509@samsco.org> <450AEC50.2060404@freebsd.org> <20060915191008.GE2020@haakonia.hitnet.RWTH-Aachen.DE> Cc: Andre Oppermann , current@freebsd.org Subject: Re: em(4) interface wedges X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 01:51:16 -0000 On 9/15/06, Christian Brueffer wrote: > On Fri, Sep 15, 2006 at 08:09:20PM +0200, Andre Oppermann wrote: > > Scott Long wrote: > > >Christian Brueffer wrote: > > > > > >>Hi, > > >> > > >>with the latest em(4) code in current (sans the printf/device_printf > > >>change), my interface wedges every few hours. It can be resurrected > > >>by bringing it down and up again. > > >> > > >>The device in question is a E1000_DEV_ID_82540EP_LP built into my > > >>Thinkpad. > > >> > > >>Anyone else seeing this? > > >> > > >>- Christian > > >> > > > > > >Yes. It's also almost guaranteed to wedge the first time I do a remote > > >CVS operation after boot. > > > > When the interface wedges does it show the OACTIVE flag in ifconfig output? > > This is an important hint. > > > > Yeah, OACTIVE is set. > > > If you are running at 100Mbit there seems to be bug in the em(4) harware > > with TSO. Try disabling TSO on it with 'ifconfig em0 -tso'. > > > > Correct, I'm using it at 100Mbit and disabling TSO works around the > issuue. That NIC should not be TSO capable so I'm confused by disabling it in this case would have an effect... hmmmm.... Jack From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 05:50:56 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6C7E16A403 for ; Sat, 16 Sep 2006 05:50:56 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE0A643D4C for ; Sat, 16 Sep 2006 05:50:55 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so3331676wxd for ; Fri, 15 Sep 2006 22:50:55 -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=uTCOQaay5YRQcLyxX7FUf0qIsRssngFPksww2m7yPxBJfN11uwA2xxnVL/RcnI8marlpsIshFh0Pwg19Lft9z/akDdjUqhlDMMpGE32JOqvl45KtJd8E/Hj3DCu6fzhVFoV2iVa2LMfnjJq8tZ6fCBZjw/loVCDnNV3FvizQwEU= Received: by 10.90.49.20 with SMTP id w20mr4102591agw; Fri, 15 Sep 2006 22:50:55 -0700 (PDT) Received: by 10.90.70.14 with HTTP; Fri, 15 Sep 2006 22:50:54 -0700 (PDT) Message-ID: <7579f7fb0609152250g4d488f58v511fc2ee3e1e6d98@mail.gmail.com> Date: Fri, 15 Sep 2006 22:50:54 -0700 From: "Matthew Jacob" To: "Jack Vogel" In-Reply-To: <2a41acea0609151851u6be96fe3ice86b39acfed9660@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060915165351.GC2020@haakonia.hitnet.RWTH-Aachen.DE> <450ADE55.7090509@samsco.org> <450AEC50.2060404@freebsd.org> <20060915191008.GE2020@haakonia.hitnet.RWTH-Aachen.DE> <2a41acea0609151851u6be96fe3ice86b39acfed9660@mail.gmail.com> Cc: Andre Oppermann , current@freebsd.org, Christian Brueffer Subject: Re: em(4) interface wedges X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 05:50:57 -0000 I'm having the same problem and disabling TSO helps as well. From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 14:19:25 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC59D16A403 for ; Sat, 16 Sep 2006 14:19:25 +0000 (UTC) (envelope-from eculp@bafirst.com) Received: from bafirst.com (72-12-2-214.wan.networktel.net [72.12.2.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id E712E43D77 for ; Sat, 16 Sep 2006 14:19:23 +0000 (GMT) (envelope-from eculp@bafirst.com) Received: from localhost (localhost [127.0.0.1]) (uid 80) by bafirst.com with local; Sat, 16 Sep 2006 09:19:22 -0500 id 00095801.450C07EA.00002F7C Received: from dsl-189-129-2-180.prod-infinitum.com.mx (dsl-189-129-2-180.prod-infinitum.com.mx [189.129.2.180]) by mail.bafirst.com (Horde MIME library) with HTTP; Sat, 16 Sep 2006 09:19:22 -0500 Message-ID: <20060916091922.th5jexmjdws8go88@mail.bafirst.com> Date: Sat, 16 Sep 2006 09:19:22 -0500 From: eculp@bafirst.com To: freebsd-current@freebsd.org References: <40c4bb930609020223h50c43537n1c8b32081ef5c1bf@mail.gmail.com> <20060904054721.GF34840@freenix.no> <20060904061139.GG34840@freenix.no> <40c4bb930609041234s6523944auc131dbc374525cf8@mail.gmail.com> <20060905054425.GH34840@freenix.no> In-Reply-To: <20060905054425.GH34840@freenix.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.1-cvs Subject: Re: Several issues on Dell 1950/2950 servers (6-STABLE and 7-CURRENT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 14:19:25 -0000 Quoting "Morten A. Middelthon" : > On Mon, Sep 04, 2006 at 02:34:14PM -0500, Alex Salazar wrote: >> On 9/4/06, Morten A. Middelthon wrote: >> Hi, Morten. >> >> According to your dmesg output, yours are Dell PERC 5/i adapters and doing >> RAID. >> This configuration is well supported by mfi driver, AFAIK. >> >> mfi0: mem 0xd80f0000-0xd80fffff,0xfc4e0000-0xfc4fffff >> irq 78 at device 14.0 on pci2 >> >> >> Mine is a LSI Logic SAS 5/i (no RAID) controller, which is supported >> by the mpt driver, >> wich seems to need some fixing. > > Ah, good point :) > Have any changes been made after this thread that get the mpt driver reliably booting and running on current? mpt0: port 0xec00-0xecff mem 0xdfdf0000-0xdfdfffff,0xdfde0000-0xdfdeffff irq 34 at device 5.0 on pci2 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.2.12.0 If I have missed them, I apologize. Thanks for any info or workarounds that you may be using. ed From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 14:22:23 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9832816A40F for ; Sat, 16 Sep 2006 14:22:23 +0000 (UTC) (envelope-from eculp@bafirst.com) Received: from bafirst.com (72-12-2-214.wan.networktel.net [72.12.2.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DB9043D69 for ; Sat, 16 Sep 2006 14:22:22 +0000 (GMT) (envelope-from eculp@bafirst.com) Received: from localhost (localhost [127.0.0.1]) (uid 80) by bafirst.com with local; Sat, 16 Sep 2006 09:22:22 -0500 id 00095801.450C089E.00002F97 Received: from dsl-189-129-2-180.prod-infinitum.com.mx (dsl-189-129-2-180.prod-infinitum.com.mx [189.129.2.180]) by mail.bafirst.com (Horde MIME library) with HTTP; Sat, 16 Sep 2006 09:22:22 -0500 Message-ID: <20060916092222.ebf8kst9ko4kk8ko@mail.bafirst.com> Date: Sat, 16 Sep 2006 09:22:22 -0500 From: eculp@bafirst.com To: freebsd-current@freebsd.org References: <1157154024.835.6.camel@atomizer.opensourcebeef.net> <7579f7fb0609011848p1ecc9d4dh47eb259cc3441ddb@mail.gmail.com> <1157164264.835.14.camel@atomizer.opensourcebeef.net> <7579f7fb0609012009i557cf4baid07ce14c294241ad@mail.gmail.com> <1157210850.939.0.camel@atomizer.opensourcebeef.net> <7579f7fb0609021152p5eb9eec7waca10f78fd0eb5cf@mail.gmail.com> In-Reply-To: <7579f7fb0609021152p5eb9eec7waca10f78fd0eb5cf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.1-cvs Subject: Re: LSI 1030 mpt doesn't work if I build a new kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 14:22:23 -0000 Quoting Matthew Jacob : > Darn! > > On 9/2/06, Rod Person wrote: >> On Fri, 2006-09-01 at 20:09 -0700, Matthew Jacob wrote: >> > All who are having this issue- try the attached patch and see if it helps. >> >> I applied the patch like this: >> path mpt.c CHANGE >> >> rebuilt the kernel but still no luck. Same errors... Is there new information or has anyone found a solutation or workaround for this problem? My dmesg: mpt0: port 0xec00-0xecff mem 0xdfdf0000-0xdfdfffff,0xdfde0000-0xdfdeffff irq 34 at device 5.0 on pci2 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.2.12.0 Thanks, ed From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 14:57:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 302AA16A403 for ; Sat, 16 Sep 2006 14:57:10 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E3DB43D58 for ; Sat, 16 Sep 2006 14:57:09 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GObbL-0006yZ-9Z for freebsd-current@freebsd.org; Sat, 16 Sep 2006 16:57:03 +0200 Received: from cmung2026.cmu.carnet.hr ([193.198.135.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Sep 2006 16:57:03 +0200 Received: from ivoras by cmung2026.cmu.carnet.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Sep 2006 16:57:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Sat, 16 Sep 2006 16:56:56 +0200 Lines: 24 Message-ID: References: <20060910191751.GA2271@roadrunner.buck.local> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cmung2026.cmu.carnet.hr User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) In-Reply-To: <20060910191751.GA2271@roadrunner.buck.local> X-Enigmail-Version: 0.94.1.0 Sender: news Subject: Re: msdosfs: VFAT support on FAT16 filesystems? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 14:57:10 -0000 Ulrich Spoerlein wrote: > The question is thus, why does it do that? I think this used to work > just fine in the 5.x line. > > "What happen?" Sometimes "long filename" recognition doesn't work (also on 5.x), so you must use a command line switch / argument to mount_msdosfs. -o options Use the specified mount options, as described in mount(8). The following MSDOS file system-specific options are available: longnames Force Windows 95 long filenames to be visible. shortnames Force only the old MS-DOS 8.3 style filenames to be visi- ble. nowin95 Completely ignore Windows 95 extended file information. From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 14:16:53 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C710216A412 for ; Sat, 16 Sep 2006 14:16:53 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EFA343D5A for ; Sat, 16 Sep 2006 14:16:52 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so4204764pye for ; Sat, 16 Sep 2006 07:16:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hbi6wTh3mmqIyiEonE/hEslq5/icPWF+AbKYBmUJW3CgbUvsAtjr9x+ffiuetp/amyQY5j9+tQKbfyqzyIGxdCnY9cKNjnifBPlJym/GAwHFRrZn5W/3VH0yYTle1o7vA7t/JK1PpMDq9zgug8hYcrLUc8u3AKJyx6jtdzlU52g= Received: by 10.35.18.3 with SMTP id v3mr19543838pyi; Sat, 16 Sep 2006 07:16:51 -0700 (PDT) Received: by 10.35.112.18 with HTTP; Sat, 16 Sep 2006 07:16:51 -0700 (PDT) Message-ID: <70e8236f0609160716y56f2a8a6lfabc60966feb1a43@mail.gmail.com> Date: Sat, 16 Sep 2006 15:16:51 +0100 From: "Joao Barros" To: current@freebsd.org, stable@freebsd.org, Chris , "=?ISO-8859-1?Q?S=F8ren_Schmidt?=" In-Reply-To: <70e8236f0609141204k57cc16e8v640a692783cdbb77@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <70e8236f0609090456l31cb39d8if9bdf2d664886a13@mail.gmail.com> <200609091907.06716.max@love2party.net> <70e8236f0609091302i1c98f8f7t6ad32cd602b054c@mail.gmail.com> <20060909200549.GA66552@xor.obsecurity.org> <70e8236f0609100842v2d10408blca90b966a1f5ff7@mail.gmail.com> <45043A4F.3010308@errno.com> <70e8236f0609121614h7457f75cufcd232555e0ae5c@mail.gmail.com> <4507A35B.6080205@deepcore.dk> <70e8236f0609130336q66d426dcwa11cede423bcc6f0@mail.gmail.com> <70e8236f0609141204k57cc16e8v640a692783cdbb77@mail.gmail.com> X-Mailman-Approved-At: Sat, 16 Sep 2006 16:05:57 +0000 Cc: Subject: panic: integer divide fault on 6.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 14:16:53 -0000 Hi all, I was contacted by Chris who had the same problem. Since I didn't follow up on my problem he asked me if it was solved and indeed it was solved by S=F8ren and the fix has been committed to CURRENT: http://lists.freebsd.org/pipermail/cvs-all/2006-September/188353.html I'm hoping this gets MFC'ed in time for 6.2 My conversation with S=F8ren is bellow: ---------- Forwarded message ---------- From: Joao Barros Date: Sep 14, 2006 8:04 PM Subject: Re: Fwd: panic: integer divide fault on 6.1 To: S=F8ren Schmidt On 9/13/06, Joao Barros wrote: > On 9/13/06, S=F8ren Schmidt wrote: > > Joao Barros wrote: > > > ---------- Forwarded message ---------- > > > From: Sam Leffler > > > Date: Sep 10, 2006 5:16 PM > > > Subject: Re: panic: integer divide fault on 6.1 > > > To: Joao Barros > > > Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, Kris > > > Kennaway > > > > > > > > > Joao Barros wrote: > > >> On 9/9/06, Kris Kennaway wrote: > > >>> On Sat, Sep 09, 2006 at 09:02:35PM +0100, Joao Barros wrote: > > >>> > On 9/9/06, Max Laier wrote: > > >>> > > > > >>> > >Can you try to get a dump, trace, or at least figure out which > > >>> function > > >>> > >the IP is refering to? > > >>> > > > > >>> > > > >>> > Well, the problem only occurs when I boot from the disk and the > > >>> > installed kernel doesn't have debug support. > > >>> > Does 'set dumpdev=3D' work from the boot loader? I tried some > > >>> > combinations with no success. > > >>> > > >>> No. > > >>> > > >>> > I can try and install a 6-STABLE snapshot if there's no way of > > >>> getting > > >>> > the info needed. > > >>> > > >>> You can either try to install a new kernel with DDB support, or fol= low > > >>> the "instruction pointer" method in the developers handbook chapter= on > > >>> kernel debugging. > > >> > > >> I copied a CURRENT kernel from a 200608 snapshot and the problem als= o > > >> occurs thus I'm adding current@. > > >> My current laptop doesn't have a serial port so I'm copying this by > > >> hand: > > >> > > >> Fatal trap 18: integer divide fault while in kernel mode > > >> cpuid =3D 0; apic id =3D 00 > > >> instruction pointer =3D 0x20:0xc08a1fb7 > > >> stack pointer =3D 0x28:0xc0c20b14 > > >> frame pointer =3D 0x28:0xc0c20b9c > > >> code segment =3D base 0x0, limit 0xfffff, type 0x1b > > >> =3D DPL 0, pres 1, def32 1, gran 1 > > >> processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > > >> current process =3D 0 (swapper) > > >> [thread pid 0 tid 0 ] > > >> Stopped at __qdivrem+0x3b: divl %ecx,%eax > > >> > > >> db> bt > > >> Tracing pid 0 tid0 td 0xc0a0c818 > > >> __qdivrem(37fdfa0,0,0,0,0,...) at __qdivrem+0x3b > > >> __udivdi3(37fdfa0,0,0,0) at __udivdi3+0x16 > > >> ata_raid_promise_read_meta(c37a5000,c09f4a80,1,8086,c37a5000,...) at > > >> ata_raid_promise_read_meta+0x9b > > >> ata_raid_read_metadata(c37a5000,c37a5000,c0c20c70,c06b58a4,c37a5000,= ...) > > >> at ata_raid_metadata+0x2be > > >> ata_raid_subdisk_attach(c37a5000) at ata_raid_subdisk_attach+0x33 > > >> device_attach(c37a5000,c37a5180,c37a5000,c36885c0,0,...) at > > >> device_attach+0x58 > > >> device_probe_and_attach(c37a5200,c37a5200,c08ec9a9,0,c37a5180,...) a= t > > >> bus_generic_attach+0x16 > > >> ad_attach(c37a5200) at ad_attach+0x2c8 > > >> device_attach(c37a5200,c095f2d0,c37a5200,0,c368d800,...) at > > >> device_attach+0x58 > > >> device_probe_and_attach(c37a5200) at device_probe_and_atach+0xe0 > > >> bus_generic_attach(c3659080,c3659080,ffffffff,0,c37a5200,...) at > > >> bus_generic_attach+0x16 > > >> ata_identify(c3659080) at ata_identify+0x1c8 > > >> ata_boot_attach(0xc0a11d80,0,c09212e7,47,...) at ata_boot_attach+0x3= e > > >> run_interrupt_drive_config_hooks(0,c1ec00,c1e000,0,c0451065,...) at > > >> run_interrupt_drive_config_hooks+0x43 > > >> mi_startup() at mi_startup+0x96 > > >> begin() at begin+0x2c > > >> > > >> This board has a Promise SATA raid controller and it is disabled in > > >> the BIOS. I even tried disabling it through a jumper but it still > > >> stops. > > >> > > > > > > In sys/dev/ata/ata-raid.h the PROMISE_LBA macro does an unchecked > > > calculation that apparently can divide by zero. Soren would likely > > > understand the root cause of this problem but until then you can patc= h > > > the driver to workaround the problem. > > > > > > Sam > > > > > > > > > Hi S=F8ren, > > > > > > I don't know if you bumped into this thread but this should definitel= y > > > be fixed. > > > Do you want me to open a PR? > > > > > Hmm, the problem seems to be that the geometry thats gotten from the > > disk has (all) zero's in it, which we cannot handle. > > Its most likely because your BIOS put invalid or no current geometry > > info in the disks parameters page. > > > > If you are up to a little debugging, you could try this patch: > > > > diff -u -r1.189.2.4 ata-disk.c > > --- ata-disk.c 4 Apr 2006 16:07:42 -0000 1.189.2.4 > > +++ ata-disk.c 13 Sep 2006 06:18:59 -0000 > > @@ -97,7 +97,8 @@ > > } > > device_set_ivars(dev, adp); > > > > - if (atadev->param.atavalid & ATA_FLAG_54_58) { > > + if ((atadev->param.atavalid & ATA_FLAG_54_58) && > > + atadev->param.current_heads && atadev->param.current_sectors) { > > adp->heads =3D atadev->param.current_heads; > > adp->sectors =3D atadev->param.current_sectors; > > adp->total_secs =3D (u_int32_t)atadev->param.current_size_1 | > > > > > > -S=F8ren > > > > Sure, I'll test it when I get home later today and start building a > kernel on another machine that's currently off. > I'll give you feedback tomorrow. > Thanks, > > -- > Joao Barros > I'm happy to report that your patch did the trick. The machine happily boot a today's CURRENT+patch :) Tell me if you need to test something more. Thanks! -- Joao Barros From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 16:19:11 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7805416A403 for ; Sat, 16 Sep 2006 16:19:11 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 317F543D45 for ; Sat, 16 Sep 2006 16:19:11 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.201.244]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J5P00LBM1BTDW30@vms042.mailsrvcs.net> for current@freebsd.org; Sat, 16 Sep 2006 11:19:06 -0500 (CDT) Date: Sat, 16 Sep 2006 12:18:36 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <20060910191751.GA2271@roadrunner.buck.local> To: Ulrich Spoerlein Message-id: <1158423516.946.2.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <20060910191751.GA2271@roadrunner.buck.local> Cc: current@freebsd.org Subject: Re: msdosfs: VFAT support on FAT16 filesystems? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 16:19:11 -0000 On Sun, 2006-09-10 at 21:17 +0200, Ulrich Spoerlein wrote: > Hi current@, > > I own a crappy MP3-Stick that requires a FAT16 filesystem. The big > problem is that FreeBSD truncates all files created on that filesystem > to 8.3 characters. You can imagine that this sucks, if you're trying to > copy several MP3s by the same artist to a directory on the disk. > > The question is thus, why does it do that? I think this used to work > just fine in the 5.x line. > > "What happen?" > > Ulrich Spoerlein RabbitsDen# mount -t msdos -o longnames /dev/da0s1 /mnt RabbitsDen# ls -l /mnt ls: ???????: Invalid argument total 48 drwxr-xr-x 1 root wheel 16384 Sep 5 09:46 .Trash-sunny drwxr-xr-x 1 root wheel 16384 Sep 15 15:43 KIPELOV drwxr-xr-x 1 root wheel 16384 Sep 10 10:20 Pictures RabbitsDen# touch '/mnt/This is one long name with spaces' RabbitsDen# ls -l /mnt ls: ???????: Invalid argument total 48 drwxr-xr-x 1 root wheel 16384 Sep 5 09:46 .Trash-sunny drwxr-xr-x 1 root wheel 16384 Sep 15 15:43 KIPELOV drwxr-xr-x 1 root wheel 16384 Sep 10 10:20 Pictures -rwxr-xr-x 1 root wheel 0 Sep 16 12:17 This is one long name with spaces RabbitsDen# umount /mnt ... or am I missing something? -- Alexandre Kovalenko (Олександр Коваленко) From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 16:11:19 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BBA516A407; Sat, 16 Sep 2006 16:11:19 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BF1343D45; Sat, 16 Sep 2006 16:11:18 +0000 (GMT) (envelope-from sos@deepcore.dk) Received: from [194.192.25.130] (sos.deepcore.dk [194.192.25.130]) by spider.deepcore.dk (8.13.6/8.13.4) with ESMTP id k8GGBHsA001017; Sat, 16 Sep 2006 18:11:17 +0200 (CEST) (envelope-from sos@deepcore.dk) Message-ID: <450C2227.7090002@deepcore.dk> Date: Sat, 16 Sep 2006 18:11:19 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Thunderbird 1.5.0.2 (X11/20060531) MIME-Version: 1.0 To: Joao Barros References: <70e8236f0609090456l31cb39d8if9bdf2d664886a13@mail.gmail.com> <200609091907.06716.max@love2party.net> <70e8236f0609091302i1c98f8f7t6ad32cd602b054c@mail.gmail.com> <20060909200549.GA66552@xor.obsecurity.org> <70e8236f0609100842v2d10408blca90b966a1f5ff7@mail.gmail.com> <45043A4F.3010308@errno.com> <70e8236f0609121614h7457f75cufcd232555e0ae5c@mail.gmail.com> <4507A35B.6080205@deepcore.dk> <70e8236f0609130336q66d426dcwa11cede423bcc6f0@mail.gmail.com> <70e8236f0609141204k57cc16e8v640a692783cdbb77@mail.gmail.com> <70e8236f0609160716y56f2a8a6lfabc60966feb1a43@mail.gmail.com> In-Reply-To: <70e8236f0609160716y56f2a8a6lfabc60966feb1a43@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v2.0beta X-Mailman-Approved-At: Sat, 16 Sep 2006 16:29:01 +0000 Cc: Chris , stable@freebsd.org, current@freebsd.org Subject: Re: panic: integer divide fault on 6.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 16:11:19 -0000 Joao Barros wrote: > Hi all, > > I was contacted by Chris who had the same problem. > Since I didn't follow up on my problem he asked me if it was solved > and indeed it was solved by Sren and the fix has been committed to > CURRENT: > http://lists.freebsd.org/pipermail/cvs-all/2006-September/188353.html > > I'm hoping this gets MFC'ed in time for 6.2 It will be, I'm collecting fixes in -current that I'll get MFC'd soon... -Sren From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 16:55:04 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6197316A415 for ; Sat, 16 Sep 2006 16:55:04 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30D1643D55 for ; Sat, 16 Sep 2006 16:55:02 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so3444234wxd for ; Sat, 16 Sep 2006 09:55:02 -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=h3u7vUJOOP6NMzOciNQpRMDhQpXFRFZC+KZn21fsXSK76nJwdPFgibeLhx2n7cSQWb57tdka1DAWt6D+Y+4+tM4wD7q3ND1I0ssH+xCA+rdGExH/ubaElXJRAv1NqHreiysukHuIm9qejZLxPBT3wk1tRhSXnrak1hCAnoigcws= Received: by 10.90.49.19 with SMTP id w19mr4124653agw; Sat, 16 Sep 2006 09:55:02 -0700 (PDT) Received: by 10.90.70.14 with HTTP; Sat, 16 Sep 2006 09:55:01 -0700 (PDT) Message-ID: <7579f7fb0609160955r46257a9ckf93ae42b1e7b875f@mail.gmail.com> Date: Sat, 16 Sep 2006 09:55:01 -0700 From: "Matthew Jacob" To: "eculp@bafirst.com" In-Reply-To: <20060916092222.ebf8kst9ko4kk8ko@mail.bafirst.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1157154024.835.6.camel@atomizer.opensourcebeef.net> <7579f7fb0609011848p1ecc9d4dh47eb259cc3441ddb@mail.gmail.com> <1157164264.835.14.camel@atomizer.opensourcebeef.net> <7579f7fb0609012009i557cf4baid07ce14c294241ad@mail.gmail.com> <1157210850.939.0.camel@atomizer.opensourcebeef.net> <7579f7fb0609021152p5eb9eec7waca10f78fd0eb5cf@mail.gmail.com> <20060916092222.ebf8kst9ko4kk8ko@mail.bafirst.com> Cc: freebsd-current@freebsd.org Subject: Re: LSI 1030 mpt doesn't work if I build a new kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 16:55:04 -0000 Like I said- this one sounds more like an ACPI/interrupt related problem. Try disabling ACPI? On 9/16/06, eculp@bafirst.com wrote: > Quoting Matthew Jacob : > > > Darn! > > > > On 9/2/06, Rod Person wrote: > >> On Fri, 2006-09-01 at 20:09 -0700, Matthew Jacob wrote: > >> > All who are having this issue- try the attached patch and see if it helps. > >> > >> I applied the patch like this: > >> path mpt.c CHANGE > >> > >> rebuilt the kernel but still no luck. Same errors... > > Is there new information or has anyone found a solutation or workaround > for this problem? > > My dmesg: > mpt0: port 0xec00-0xecff mem > 0xdfdf0000-0xdfdfffff,0xdfde0000-0xdfdeffff irq 34 at device 5.0 on pci2 > mpt0: [GIANT-LOCKED] > mpt0: MPI Version=1.2.12.0 > > Thanks, > > ed > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 17:23:30 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC91016A403 for ; Sat, 16 Sep 2006 17:23:30 +0000 (UTC) (envelope-from eculp@bafirst.com) Received: from bafirst.com (72-12-2-214.wan.networktel.net [72.12.2.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A8EB43D4C for ; Sat, 16 Sep 2006 17:23:30 +0000 (GMT) (envelope-from eculp@bafirst.com) Received: from localhost (localhost [127.0.0.1]) (uid 80) by bafirst.com with local; Sat, 16 Sep 2006 12:23:29 -0500 id 00095803.450C3311.00003531 Received: from dsl-189-129-2-180.prod-infinitum.com.mx (dsl-189-129-2-180.prod-infinitum.com.mx [189.129.2.180]) by mail.bafirst.com (Horde MIME library) with HTTP; Sat, 16 Sep 2006 12:23:29 -0500 Message-ID: <20060916122329.uo0gm6k6iw4k8wc0@mail.bafirst.com> Date: Sat, 16 Sep 2006 12:23:29 -0500 From: eculp@bafirst.com To: freebsd-current@freebsd.org References: <1157154024.835.6.camel@atomizer.opensourcebeef.net> <7579f7fb0609011848p1ecc9d4dh47eb259cc3441ddb@mail.gmail.com> <1157164264.835.14.camel@atomizer.opensourcebeef.net> <7579f7fb0609012009i557cf4baid07ce14c294241ad@mail.gmail.com> <1157210850.939.0.camel@atomizer.opensourcebeef.net> <7579f7fb0609021152p5eb9eec7waca10f78fd0eb5cf@mail.gmail.com> <20060916092222.ebf8kst9ko4kk8ko@mail.bafirst.com> <7579f7fb0609160955r46257a9ckf93ae42b1e7b875f@mail.gmail.com> In-Reply-To: <7579f7fb0609160955r46257a9ckf93ae42b1e7b875f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.1-cvs Subject: Re: LSI 1030 mpt doesn't work if I build a new kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 17:23:30 -0000 Quoting Matthew Jacob : > Like I said- this one sounds more like an ACPI/interrupt related > problem. Try disabling ACPI? Thanks a lot, Matthew. I was sort of waiting for someone with a local server to see if that or something else had solved it for them. This is an inhereted server that is in another country, about 2,500 miles away, but a CR/sales person will be visiting them next week so I will try to prepare him to reboot kernel.old if it doesn't work. I probably need a little more exitement in my life but I'm not sure that he does :D Have a great weekend. ed > > On 9/16/06, eculp@bafirst.com wrote: >> Quoting Matthew Jacob : >> >> > Darn! >> > >> > On 9/2/06, Rod Person wrote: >> >> On Fri, 2006-09-01 at 20:09 -0700, Matthew Jacob wrote: >> >> > All who are having this issue- try the attached patch and see >> if it helps. >> >> >> >> I applied the patch like this: >> >> path mpt.c CHANGE >> >> >> >> rebuilt the kernel but still no luck. Same errors... >> >> Is there new information or has anyone found a solutation or workaround >> for this problem? >> >> My dmesg: >> mpt0: port 0xec00-0xecff mem >> 0xdfdf0000-0xdfdfffff,0xdfde0000-0xdfdeffff irq 34 at device 5.0 on pci2 >> mpt0: [GIANT-LOCKED] >> mpt0: MPI Version=1.2.12.0 >> >> Thanks, >> >> ed From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 17:29:44 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C26DB16A47C for ; Sat, 16 Sep 2006 17:29:44 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from ems01.seccuris.com (ems01.seccuris.com [204.112.0.35]) by mx1.FreeBSD.org (Postfix) with SMTP id CC7FD43D5D for ; Sat, 16 Sep 2006 17:29:43 +0000 (GMT) (envelope-from csjp@FreeBSD.org) Received: (qmail 86158 invoked by uid 86); 16 Sep 2006 18:05:56 -0000 Received: from unknown (HELO ?127.0.0.1?) (204.112.0.40) by ems01.seccuris.com with SMTP; 16 Sep 2006 18:05:56 -0000 Message-ID: <450C3487.6050104@FreeBSD.org> Date: Sat, 16 Sep 2006 12:29:43 -0500 From: "Christian S.J. Peron" User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: Christian Brueffer References: <20060915165351.GC2020@haakonia.hitnet.RWTH-Aachen.DE> <450ADE55.7090509@samsco.org> <450AEC50.2060404@freebsd.org> <20060915191008.GE2020@haakonia.hitnet.RWTH-Aachen.DE> In-Reply-To: <20060915191008.GE2020@haakonia.hitnet.RWTH-Aachen.DE> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Andre Oppermann , current@freebsd.org Subject: Re: em(4) interface wedges X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 17:29:44 -0000 Are you using dhclient (or do you have any other BPF peers attached to the network interface?) Christian Brueffer wrote: > On Fri, Sep 15, 2006 at 08:09:20PM +0200, Andre Oppermann wrote: > >> Scott Long wrote: >> >>> Christian Brueffer wrote: >>> >>> >>>> Hi, >>>> >>>> with the latest em(4) code in current (sans the printf/device_printf >>>> change), my interface wedges every few hours. It can be resurrected >>>> by bringing it down and up again. >>>> >>>> The device in question is a E1000_DEV_ID_82540EP_LP built into my >>>> Thinkpad. >>>> >>>> Anyone else seeing this? >>>> >>>> - Christian >>>> >>>> >>> Yes. It's also almost guaranteed to wedge the first time I do a remote >>> CVS operation after boot. >>> >> When the interface wedges does it show the OACTIVE flag in ifconfig output? >> This is an important hint. >> >> > > Yeah, OACTIVE is set. > > >> If you are running at 100Mbit there seems to be bug in the em(4) harware >> with TSO. Try disabling TSO on it with 'ifconfig em0 -tso'. >> >> > > Correct, I'm using it at 100Mbit and disabling TSO works around the > issue. > > - Christian > > -- Christian S.J. Peron csjp@FreeBSD.ORG FreeBSD Committer FreeBSD Security Team From owner-freebsd-current@FreeBSD.ORG Sat Sep 16 23:45:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9072E16A417 for ; Sat, 16 Sep 2006 23:45:26 +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 F1D4B43D4C for ; Sat, 16 Sep 2006 23:45:25 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k8GNjEL8055169; Sat, 16 Sep 2006 17:45:19 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <450C8C89.1080906@samsco.org> Date: Sat, 16 Sep 2006 17:45:13 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: eculp@bafirst.com References: <1157154024.835.6.camel@atomizer.opensourcebeef.net> <7579f7fb0609011848p1ecc9d4dh47eb259cc3441ddb@mail.gmail.com> <1157164264.835.14.camel@atomizer.opensourcebeef.net> <7579f7fb0609012009i557cf4baid07ce14c294241ad@mail.gmail.com> <1157210850.939.0.camel@atomizer.opensourcebeef.net> <7579f7fb0609021152p5eb9eec7waca10f78fd0eb5cf@mail.gmail.com> <20060916092222.ebf8kst9ko4kk8ko@mail.bafirst.com> In-Reply-To: <20060916092222.ebf8kst9ko4kk8ko@mail.bafirst.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: freebsd-current@freebsd.org Subject: Re: LSI 1030 mpt doesn't work if I build a new kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Sep 2006 23:45:26 -0000 eculp@bafirst.com wrote: > Quoting Matthew Jacob : > >> Darn! >> >> On 9/2/06, Rod Person wrote: >> >>> On Fri, 2006-09-01 at 20:09 -0700, Matthew Jacob wrote: >>> > All who are having this issue- try the attached patch and see if it >>> helps. >>> >>> I applied the patch like this: >>> path mpt.c CHANGE >>> >>> rebuilt the kernel but still no luck. Same errors... > > > Is there new information or has anyone found a solutation or workaround > for this problem? > > My dmesg: > mpt0: port 0xec00-0xecff mem > 0xdfdf0000-0xdfdfffff,0xdfde0000-0xdfdeffff irq 34 at device 5.0 on pci2 > mpt0: [GIANT-LOCKED] > mpt0: MPI Version=1.2.12.0 > > Thanks, > Is the LSI-MPT BIOS disabled on your machine? I found that I had to start enabling it, otherwise the driver does something at boot that makes the MPT chip stop responding. It didn't use to be that way. Scott