From owner-freebsd-stable@FreeBSD.ORG Sun Jun 18 02:31:49 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8085E16A479 for ; Sun, 18 Jun 2006 02:31:49 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28C6343D45 for ; Sun, 18 Jun 2006 02:31:49 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k5I2Vm2w023087; Sat, 17 Jun 2006 21:31:48 -0500 (CDT) (envelope-from dan) Date: Sat, 17 Jun 2006 21:31:48 -0500 From: Dan Nelson To: "Marc G. Fournier" Message-ID: <20060618023148.GJ74191@dan.emsphone.com> References: <20060617164334.K1114@ganymede.hub.org> <20060617165626.V1114@ganymede.hub.org> <20060617200755.GG74191@dan.emsphone.com> <20060617182336.O1114@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060617182336.O1114@ganymede.hub.org> X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: 6.1: kern.ipc.maxpipekva X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 02:31:49 -0000 In the last episode (Jun 17), Marc G. Fournier said: > On Sat, 17 Jun 2006, Dan Nelson wrote: > >In the last episode (Jun 17), Marc G. Fournier said: > >>On Sat, 17 Jun 2006, Marc G. Fournier wrote: > >>>Jun 17 16:00:03 pluto kernel: kern.ipc.maxpipekva exceeded; see tuning(7) > >>>Jun 17 16:00:04 pluto kernel: kern.ipc.maxpipekva exceeded; see tuning(7) > >>> > >>>but I can't seem to find anything in tuning(7) about it ... so, > >>>what is it and how do I monitor for it? > >> > >>More on this: > >> > >># sysctl -a | grep pipekva > >>kern.ipc.maxpipekva: 16777216 > >>kern.ipc.pipekva: 15122432 > >> > >>and I just rebooted the server ... > >> > >>so obviously I've been living on the edge ... not sure what to > >>increase it to, since not sure what it affects, so will wait on > >>responses ... > > > >Try also running "sysctl kern.ipc | grep pipe", which will also tell > >you how many pipes are in use, plus some other counters. The > >comment at the top of sys/kern/sys_pipe.c explains how pipes are > >given memory. > > What uses all of these pipes? right now, with 97 jails running: > > kern.ipc.maxpipekva: 25165824 > kern.ipc.pipes: 7038 > kern.ipc.pipekva: 22179840 > kern.ipc.pipefragretry: 0 > kern.ipc.pipeallocfail: 0 > kern.ipc.piperesizefail: 0 > kern.ipc.piperesizeallowed: 1 > > That is an average of 7 pipes per process: > > pluto# ps aux | wc -l > 1326 "fstat | grep pipe" will tell you what processes have them open on what fds. pipes on fds 0, 1 and 2 are probably from shell pipelines. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-stable@FreeBSD.ORG Sun Jun 18 03:49:15 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D875B16A479 for ; Sun, 18 Jun 2006 03:49:15 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A40343D45 for ; Sun, 18 Jun 2006 03:49:15 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id C46D6290C20; Sun, 18 Jun 2006 00:49:13 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 41929-02; Sun, 18 Jun 2006 00:49:13 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 4D41C290C1F; Sun, 18 Jun 2006 00:49:13 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 6F3BC3C73F; Sun, 18 Jun 2006 00:49:12 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 6AB1C3C3DA; Sun, 18 Jun 2006 00:49:12 -0300 (ADT) Date: Sun, 18 Jun 2006 00:49:12 -0300 (ADT) From: "Marc G. Fournier" To: Dan Nelson In-Reply-To: <20060618023148.GJ74191@dan.emsphone.com> Message-ID: <20060618004833.N1114@ganymede.hub.org> References: <20060617164334.K1114@ganymede.hub.org> <20060617165626.V1114@ganymede.hub.org> <20060617200755.GG74191@dan.emsphone.com> <20060617182336.O1114@ganymede.hub.org> <20060618023148.GJ74191@dan.emsphone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: 6.1: kern.ipc.maxpipekva X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 03:49:15 -0000 On Sat, 17 Jun 2006, Dan Nelson wrote: > "fstat | grep pipe" will tell you what processes have them open on what > fds. pipes on fds 0, 1 and 2 are probably from shell pipelines. Yowch, everything uses a pipe ... most of it is postfix related stuff, mind you ... pluto# fstat | grep pipe | awk '{print $2}' | sort -u anvil cleanup csh flush fstat grep httpd imapd inetd java lmtp lmtpd local master nsd perl5.8.8 php pickup pop3d proxymap qmgr sh smtp smtpd sshd trivial-rewrite pluto# fstat | grep pipe | awk '{print $2}' | wc -l 8707 ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Sun Jun 18 06:29:04 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26E4416A479 for ; Sun, 18 Jun 2006 06:29:04 +0000 (UTC) (envelope-from silby@silby.com) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.FreeBSD.org (Postfix) with SMTP id A709C43D48 for ; Sun, 18 Jun 2006 06:29:03 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 71942 invoked from network); 18 Jun 2006 06:29:02 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 18 Jun 2006 06:29:02 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sun, 18 Jun 2006 01:29:00 -0500 (CDT) From: Mike Silbersack To: stable@freebsd.org Message-ID: <20060618012359.Q892@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Please watch for "bus_dmamem_alloc failed to align memory properly" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 06:29:04 -0000 I just merged a change to the busdma implementation which tightens up how busdma aligns memory and warns when busdma fails to align memory properly. This allows the bfe driver to work properly on machines of all memory sizes, but it also caused machines with the mpt driver to trip the same check due to the overly large alignment mpt was asking for. So, if you see the message "bus_dmamem_alloc failed to align memory properly" start showing up on your console, please contact me ASAP so that we can find out whether busdma is failing you, or whether we have a driver that is asking busdma for an infeasible alignment. Thanks, Mike "Silby" Silbersack From owner-freebsd-stable@FreeBSD.ORG Sun Jun 18 09:45:06 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68D4816A474 for ; Sun, 18 Jun 2006 09:45:06 +0000 (UTC) (envelope-from vladgalu@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id E81A543D45 for ; Sun, 18 Jun 2006 09:45:05 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: by wr-out-0506.google.com with SMTP id i23so847021wra for ; Sun, 18 Jun 2006 02:45:05 -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=RAlIvtx2XEUSWfrhXbAXFgx4JQk5NusFAkvs7chTG6vagVi2jDN6wh7Wmw/CUc+7da0cSc5wE4PtT4m9yed32VSI83fyQcccqE1oGTTfuTs3SpoB6sDETNAnXHH+tzYbU0bjPBi9eoTDqMTDaEOITwOZ72WHo5nLcdCdE4E4HyM= Received: by 10.54.84.17 with SMTP id h17mr3479758wrb; Sun, 18 Jun 2006 02:45:05 -0700 (PDT) Received: by 10.54.129.18 with HTTP; Sun, 18 Jun 2006 02:43:57 -0700 (PDT) Message-ID: <79722fad0606180243xd8f5c98s9e713e9131792d07@mail.gmail.com> Date: Sun, 18 Jun 2006 12:43:57 +0300 From: "Vlad GALU" To: freebsd-stable@freebsd.org In-Reply-To: <79722fad0606161337p9edbe79u1189c25ae7b45996@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: <79722fad0606161337p9edbe79u1189c25ae7b45996@mail.gmail.com> Subject: Re: RELENG_6 frequent crashes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 09:45:06 -0000 On 6/16/06, Vlad GALU wrote: [...] I wonder why the page's wired refcounter reaches 0 and yet the page is on the wired list. It looks like this happens when the VM subsystem tries to move the page to a different queue. Am I wrong ? -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. From owner-freebsd-stable@FreeBSD.ORG Sun Jun 18 13:00:31 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ADCE16A47A for ; Sun, 18 Jun 2006 13:00:31 +0000 (UTC) (envelope-from greg.lane@internode.on.net) Received: from ash25e.internode.on.net (ash25e.internode.on.net [203.16.214.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 555FD43D46 for ; Sun, 18 Jun 2006 13:00:30 +0000 (GMT) (envelope-from greg.lane@internode.on.net) Received: from router.lane.family (ozlane.net [150.101.115.95]) by ash25e.internode.on.net (8.13.6/8.13.5) with ESMTP id k5ID0KZu072737; Sun, 18 Jun 2006 22:30:21 +0930 (CST) (envelope-from greg.lane@internode.on.net) Received: from router.lane.family (localhost.lane.family [127.0.0.1]) by router.lane.family (8.13.6/8.13.6) with ESMTP id k5ID0Kku012245; Sun, 18 Jun 2006 23:00:20 +1000 (EST) (envelope-from gjl103@router.lane.family) Received: (from gjl103@localhost) by router.lane.family (8.13.6/8.13.6/Submit) id k5ID0GG1012244; Sun, 18 Jun 2006 23:00:16 +1000 (EST) (envelope-from gjl103) Date: Sun, 18 Jun 2006 23:00:16 +1000 From: Greg Lane To: Christopher Sean Hilton Message-ID: <20060618130016.GA11201@router.lane.family> References: <20060612055143.GA10925@router.lane.family> <448D30EC.1070400@quip.cz> <20060612113725.GA10678@router.lane.family> <20060614131804.GA1920@dagobah.vindaloo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060614131804.GA1920@dagobah.vindaloo.com> User-Agent: Mutt/1.4.2.1i Cc: msoulier@digitaltorque.ca, stable@freebsd.org, "olli @ lurza. secnetix. de Miroslav Lachman" <000.fbsd@quip.cz> Subject: Re: kernel panic(?) trying to copy data off failed drive with dd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: greg.lane@internode.on.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 13:00:31 -0000 Hi everyone, Thanks to all who responded to my request for help. I tried the drive in three FreeBSD machines running 5, 6-stable and current. It brought all of them down hard, whether using dd, cpdup or other utilities. I can only conclude it was hardware locking things up. I could not find an external SATA enclosure to try, so I cannot report success or failure with that. Fortunately I had a relatively recent backup and, after failing to image the partition, I took the risk of mounting the partition as is, without fsck'ing it. All the files that had been changed since the backup were on good parts of the disk, so I managed to get a complete copy back together in the end. The drive is on its way to that place where all old drives go..... my kids are pulling it apart with a screwdriver and pliers! Although they prefer to pull apart old keyboards! Thanks again, Greg From owner-freebsd-stable@FreeBSD.ORG Sun Jun 18 15:02:15 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4062E16A479 for ; Sun, 18 Jun 2006 15:02:15 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2DFA43D5F for ; Sun, 18 Jun 2006 15:02:10 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Frymv-000BJh-KG for stable@freebsd.org; Sun, 18 Jun 2006 18:02:09 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 Jun 2006 18:02:09 +0300 From: Danny Braniss Message-ID: Cc: Subject: acpi: bad write to port X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 15:02:15 -0000 hi, some recent acpi changes seem to have provoked this: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-STABLE #7: Fri Jun 16 14:09:18 IDT 2006 danny@bsd:/r+d/obj/bsd/i386/r+d/6.1/src/sys/HUJI Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (730.97-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 266493952 (254 MB) avail memory = 251117568 (239 MB) kbd1 at kbdmux0 acpi0: on motherboard acpi: bad write to port 0x070 (8), val 0x55 acpi: bad read from port 0x071 (8) .... .... any suggestions? danny From owner-freebsd-stable@FreeBSD.ORG Sun Jun 18 15:14:16 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4E2616A47E for ; Sun, 18 Jun 2006 15:14:16 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id D413643D72 for ; Sun, 18 Jun 2006 15:14:08 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id k5IFHt4F007039 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Jun 2006 11:18:01 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-stable@freebsd.org Date: Sun, 18 Jun 2006 11:13:55 -0400 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1464934.38S1oUu9Sa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606181114.12125.mistry.7@osu.edu> X-Spam-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED,BAYES_80, MYFREEBSD2 autolearn=no version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.2/1549/Sat Jun 17 18:20:39 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: Subject: Re: acpi: bad write to port X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 15:14:16 -0000 --nextPart1464934.38S1oUu9Sa Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 18 June 2006 11:02, Danny Braniss wrote: > hi, > some recent acpi changes seem to have provoked this: > > Copyright (c) 1992-2006 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 The Regents of the University of California. All rights > reserved. FreeBSD 6.1-STABLE #7: Fri Jun 16 14:09:18 IDT 2006 > danny@bsd:/r+d/obj/bsd/i386/r+d/6.1/src/sys/HUJI > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel Pentium III (730.97-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x686 Stepping =3D 6 > =20 > Features=3D0x383f9ffMCA,CMOV,P AT,PSE36,MMX,FXSR,SSE> > real memory =3D 266493952 (254 MB) > avail memory =3D 251117568 (239 MB) > kbd1 at kbdmux0 > acpi0: on motherboard > acpi: bad write to port 0x070 (8), val 0x55 > acpi: bad read from port 0x071 (8) Unless you're seeing any functional changes it shouldn't be a problem. =20 ACPI is just being more verbose about the BIOS doing bad things. If=20 you have Windows installed you should see a similar error message in=20 the system log. =2D-=20 Anish Mistry --nextPart1464934.38S1oUu9Sa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBElW3ExqA5ziudZT0RAoWvAJ9aqFpfpyHR3D8QwTe/w+URyRcdTwCeKKM+ QSDGCC+YQFPXkCZYzZ64c5A= =jnUj -----END PGP SIGNATURE----- --nextPart1464934.38S1oUu9Sa-- From owner-freebsd-stable@FreeBSD.ORG Sun Jun 18 15:25:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CEDB16A47A for ; Sun, 18 Jun 2006 15:25:03 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0348B43D49 for ; Sun, 18 Jun 2006 15:25:02 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Frz93-000Brp-R3; Sun, 18 Jun 2006 18:25:01 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Anish Mistry In-reply-to: <200606181114.12125.mistry.7@osu.edu> References: <200606181114.12125.mistry.7@osu.edu> Comments: In-reply-to Anish Mistry message dated "Sun, 18 Jun 2006 11:13:55 -0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 Jun 2006 18:25:01 +0300 From: Danny Braniss Message-ID: Cc: freebsd-stable@freebsd.org Subject: Re: acpi: bad write to port X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 15:25:03 -0000 > --nextPart1464934.38S1oUu9Sa > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > On Sunday 18 June 2006 11:02, Danny Braniss wrote: > > hi, > > some recent acpi changes seem to have provoked this: > > > > Copyright (c) 1992-2006 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > > 1994 The Regents of the University of California. All rights > > reserved. FreeBSD 6.1-STABLE #7: Fri Jun 16 14:09:18 IDT 2006 > > danny@bsd:/r+d/obj/bsd/i386/r+d/6.1/src/sys/HUJI > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Intel Pentium III (730.97-MHz 686-class CPU) > > Origin =3D "GenuineIntel" Id =3D 0x686 Stepping =3D 6 > > =20 > > Features=3D0x383f9ff >MCA,CMOV,P AT,PSE36,MMX,FXSR,SSE> > > real memory =3D 266493952 (254 MB) > > avail memory =3D 251117568 (239 MB) > > kbd1 at kbdmux0 > > acpi0: on motherboard > > acpi: bad write to port 0x070 (8), val 0x55 > > acpi: bad read from port 0x071 (8) > Unless you're seeing any functional changes it shouldn't be a problem. =20 > ACPI is just being more verbose about the BIOS doing bad things. If=20 > you have Windows installed you should see a similar error message in=20 > the system log. no windows :-), but it seems to be working ok. thanks, danny From owner-freebsd-stable@FreeBSD.ORG Sun Jun 18 22:56:37 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8766F16A479 for ; Sun, 18 Jun 2006 22:56:37 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECC6243D45 for ; Sun, 18 Jun 2006 22:56:36 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.6) with ESMTP id k5IMuZVH019351 for ; Mon, 19 Jun 2006 02:56:35 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Mon, 19 Jun 2006 02:56:35 +0400 (MSD) From: Dmitry Morozovsky To: stable@FreeBSD.org Message-ID: <20060619024759.I13558@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Mon, 19 Jun 2006 02:56:35 +0400 (MSD) Cc: Subject: puc and sio X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 22:56:37 -0000 Dear colelagues, playing with puc compatible MOXA card I found that it's rather useless with contemporary DEFAULT kernel: - sio compiled in, puc as module - puc identified, but no sio ports detected, even when puc.ko is loaded by loader - sio and puc both loaded as modules - all sio ports detected, but comconsole cannot be activated - sio and puc compiled in kernel - all work flawlessly Maybe it's time to consider including puc in GENERIC? Other question is that PUC_FASTINTR is not enabled by default, but this may require checking for pci resources after card initializing... Any thoughts? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 08:08:54 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B289216A47A; Mon, 19 Jun 2006 08:08:54 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from relay-er5.mbrd.ru (relay-er5.mbrd.ru [194.117.71.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4114D440EB; Mon, 19 Jun 2006 08:08:54 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from msd.mbrd.ru ([172.16.33.193]) by relay-er5.mbrd.ru with esmtpa (Exim 4.x) id 1FsEoW-000Ph6-Ob; Mon, 19 Jun 2006 12:08:52 +0400 Message-ID: <44965B94.5090802@FreeBSD.org> Date: Mon, 19 Jun 2006 12:08:52 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-sparc64@FreeBSD.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org Subject: 6.1-RELEASE disk hangs after loading kernel on sparc64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 08:08:54 -0000 I've downloaded 6.1-RELEASE-sparc64-disc1.iso and try to boot. loader boots kernel and hangs on message: jumping to kernel entry at 0x... What can I do? PS. It's sun 480 with 4 CPU. I have no complete info on the configuration. -- Dixi. Sem. From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 10:03:07 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C50F16A479; Mon, 19 Jun 2006 10:03:07 +0000 (UTC) (envelope-from technix@mediana.net.ua) Received: from relay1-zp.express.net.ua (relay1-zp.express.net.ua [194.44.120.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 884E843D45; Mon, 19 Jun 2006 10:03:06 +0000 (GMT) (envelope-from technix@mediana.net.ua) Received: by mail.express.net.ua (Postfix, from userid 426) id 44579712450; Mon, 19 Jun 2006 13:03:04 +0300 (EEST) Received: from localhost (unknown [80.254.7.254]) by mail.express.net.ua (Postfix) with SMTP id 8DA2871244C; Mon, 19 Jun 2006 13:02:50 +0300 (EEST) Date: Mon, 19 Jun 2006 13:02:23 +0300 From: Sergei Mozhaisky To: Doug Barton Message-Id: <20060619130223.5db916bb.technix@mediana.net.ua> In-Reply-To: <44867289.2080804@FreeBSD.org> References: <20060517145640.369c4f1c.technix@mediana.net.ua> <84dead720605170756t418ba83cm5defbeecc393e784@mail.gmail.com> <20060517180050.44c75bfd.technix@mediana.net.ua> <84dead720605170836p410c4203gd114339761cfc4a5@mail.gmail.com> <20060607085815.f1ce836f.technix@mediana.net.ua> <44867289.2080804@FreeBSD.org> Organization: Mediana ISP X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, joseph.koshy@gmail.com Subject: Re: Messages from rc-scripts are not displayed at all X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 10:03:07 -0000 Hello. Yesss!!! At last we found the source of problem! The problem with displaying messages from rc-scripts caused by option "dcons_crom" in kernel (dumb console on Firewire). When it is enabled on PC with FireWire port, all output goes there instead of system console. Disabling this option solved the problem. So I have one more question - why this option causes so strange effect? This is a bug or a feature? -- .O. | Sergei Mozhaisky ..O | http://frenzy.org.ua/ OOO | http://frenzytechnix.livejournal.com/ From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 11:18:39 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37B3F16A47A; Mon, 19 Jun 2006 11:18:39 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw4.york.ac.uk (mail-gw4.york.ac.uk [144.32.128.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18F9143D73; Mon, 19 Jun 2006 11:18:34 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw4.york.ac.uk (8.13.6/8.13.6) with ESMTP id k5JBIVAu019959; Mon, 19 Jun 2006 12:18:31 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.6/8.13.6) with ESMTP id k5JBIVBP047282; Mon, 19 Jun 2006 12:18:31 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.6/8.13.6/Submit) id k5JBIVr1047281; Mon, 19 Jun 2006 12:18:31 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: Sergey Matveychuk In-Reply-To: <44965B94.5090802@FreeBSD.org> References: <44965B94.5090802@FreeBSD.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 19 Jun 2006 12:18:30 +0100 Message-Id: <1150715910.47111.0.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: freebsd-stable@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: 6.1-RELEASE disk hangs after loading kernel on sparc64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 11:18:39 -0000 On Mon, 2006-06-19 at 12:08 +0400, Sergey Matveychuk wrote: > I've downloaded 6.1-RELEASE-sparc64-disc1.iso and try to boot. > loader boots kernel and hangs on message: > jumping to kernel entry at 0x... > > What can I do? > > PS. It's sun 480 with 4 CPU. I have no complete info on the configuration. The Sun 480 is Ultrasparc-III processors and is not supported at this time. Gavin From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 11:32:33 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7776F16A47B; Mon, 19 Jun 2006 11:32:33 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from relay-er5.mbrd.ru (relay-er5.mbrd.ru [194.117.71.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id E396B43D48; Mon, 19 Jun 2006 11:32:32 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from msd.mbrd.ru ([172.16.33.193]) by relay-er5.mbrd.ru with esmtpa (Exim 4.x) id 1FsHza-000Eci-LP; Mon, 19 Jun 2006 15:32:30 +0400 Message-ID: <44968B4E.9020002@FreeBSD.org> Date: Mon, 19 Jun 2006 15:32:30 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Gavin Atkinson References: <44965B94.5090802@FreeBSD.org> <1150715910.47111.0.camel@buffy.york.ac.uk> In-Reply-To: <1150715910.47111.0.camel@buffy.york.ac.uk> X-Enigmail-Version: 0.93.2.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: 6.1-RELEASE disk hangs after loading kernel on sparc64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 11:32:33 -0000 Gavin Atkinson wrote: > On Mon, 2006-06-19 at 12:08 +0400, Sergey Matveychuk wrote: >> I've downloaded 6.1-RELEASE-sparc64-disc1.iso and try to boot. >> loader boots kernel and hangs on message: >> jumping to kernel entry at 0x... >> >> What can I do? >> >> PS. It's sun 480 with 4 CPU. I have no complete info on the configuration. > > The Sun 480 is Ultrasparc-III processors and is not supported at this > time. And CURRENT too? -- Dixi. Sem. From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 11:37:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAED516A474; Mon, 19 Jun 2006 11:37:42 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from relay-er5.mbrd.ru (relay-er5.mbrd.ru [194.117.71.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31B2743D46; Mon, 19 Jun 2006 11:37:42 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from msd.mbrd.ru ([172.16.33.193]) by relay-er5.mbrd.ru with esmtpa (Exim 4.x) id 1FsI4a-000EzV-Nr; Mon, 19 Jun 2006 15:37:40 +0400 Message-ID: <44968C84.5010700@FreeBSD.org> Date: Mon, 19 Jun 2006 15:37:40 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Sergey Matveychuk References: <44965B94.5090802@FreeBSD.org> <1150715910.47111.0.camel@buffy.york.ac.uk> <44968B4E.9020002@FreeBSD.org> In-Reply-To: <44968B4E.9020002@FreeBSD.org> X-Enigmail-Version: 0.93.2.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: 6.1-RELEASE disk hangs after loading kernel on sparc64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 11:37:42 -0000 Sergey Matveychuk wrote: > Gavin Atkinson wrote: >> On Mon, 2006-06-19 at 12:08 +0400, Sergey Matveychuk wrote: >>> I've downloaded 6.1-RELEASE-sparc64-disc1.iso and try to boot. >>> loader boots kernel and hangs on message: >>> jumping to kernel entry at 0x... >>> >>> What can I do? >>> >>> PS. It's sun 480 with 4 CPU. I have no complete info on the configuration. >> The Sun 480 is Ultrasparc-III processors and is not supported at this >> time. > > And CURRENT too? > Sorry, found the info on web site. BTW OpenBSD supports UltraSparc III. (http://kerneltrap.org/node/6668) -- Dixi. Sem. From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 14:57:48 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B39C616A479 for ; Mon, 19 Jun 2006 14:57:48 +0000 (UTC) (envelope-from efinleywork@efinley.com) Received: from postmaster.etv.net (postmaster.etv.net [208.14.190.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7882A4484C for ; Mon, 19 Jun 2006 14:57:48 +0000 (GMT) (envelope-from efinleywork@efinley.com) Received: from work.efinley.com ([205.161.203.55] helo=elliotdevelop) by postmaster.etv.net with smtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FsLCF-000E2w-Bs for freebsd-stable@freebsd.org; Mon, 19 Jun 2006 08:57:47 -0600 Message-ID: <0bcc01c693b0$ba32b3d0$37cba1cd@emerytelcom.com> From: "Elliot Finley" To: Date: Mon, 19 Jun 2006 08:57:46 -0600 Organization: Emery Telcom MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Subject: portupgrade failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Elliot Finley List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 14:57:48 -0000 After upgrading to the latest portupgrade: dns root:~#>portupgrade -v portupgrade 2.0.1 (2006/06/18) I got a failure on 2 out of 4 boxes. Now when I use portversion, portupgrade, or pkgdb I get: backup root:/usr/ports#>portversion [Updating the pkgdb in /var/db/pkg ... - 34 packages found (-0 +0) Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ Any pointers on how to fix this would be appreciated. Thanks Elliot From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 15:08:56 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C27F216A4A5 for ; Mon, 19 Jun 2006 15:08:56 +0000 (UTC) (envelope-from todor.dragnev@gmail.com) Received: from mail.sistechnology.com (torro.sistechnology.com [217.79.65.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DDDE44036 for ; Mon, 19 Jun 2006 14:40:05 +0000 (GMT) (envelope-from todor.dragnev@gmail.com) Received: from localhost (localhost [127.0.0.1]) by mail.sistechnology.com (Postfix) with ESMTP id AC2A646C13 for ; Mon, 19 Jun 2006 17:40:02 +0300 (EEST) Received: from mail.sistechnology.com ([217.79.65.130]) by localhost (torro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08827-10 for ; Mon, 19 Jun 2006 17:39:59 +0300 (EEST) Received: from [192.168.7.3] (tdragnev [192.168.7.3]) by mail.sistechnology.com (Postfix) with ESMTP id B034246C10 for ; Mon, 19 Jun 2006 17:39:59 +0300 (EEST) From: Todor Dragnev To: freebsd-stable@freebsd.org Date: Mon, 19 Jun 2006 17:38:43 +0300 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606191738.43641.todor.dragnev@gmail.com> X-Virus-Scanned: by the vKeeper at sistechnology.com Subject: bridge.ko, sysctrl.conf and ifconfig_XXX_name, SCSI as a boot device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 15:08:58 -0000 Hello list, I have two minor problems: First one: I want to make bridging on two of my interfaces but have problem when I use ifconfig_XXX_name directrive in rc.conf . After each restart of machine I must enter manually commands for sysctrl to enable bridging. After reboot dmesg shows: interface net0 Not found in bridge interface net2 Not found in bridge /etc/rc.conf: ifconfig_rl0_name="net0" ifconfig_rl1_name="net1" ifconfig_rl2_name="net2" /etc/sysctrl.conf: net.link.ether.bridge.enable=1 net.link.ether.bridge.config=net0,net2 Second problem: I have SCSI controller with 40GB hard disk and two ATA disks. My FreeBSD is installed on da0 (SCSI). Last night I connect USB stick to the box and transfer some files. On morning I found that machine is restarted because of power outage and refuse to boot. After first wave of panic I found that USB Flash Disk is still attached and kernel change naming order of SCSI devices: Now ad0 was USB Flash, SCSI -FUJITSU - ad1. I thing that is not good idea to naming USB devices first and after this real SCSI devices. So, what is the right workaround of these problems? Regards, Todor Dragnev ad0: 238475MB at ata0-master UDMA100 ad2: 152627MB at ata1-master UDMA100 da0 at sym0 bus 0 target 15 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled da0: 35046MB (71775284 512 byte sectors: 255H 63S/T 4467C) umass0: Generic Mass Storage Device, rev 2.00/1.02, addr 2 da1 at umass-sim0 bus 0 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 982MB (2012160 512 byte sectors: 64H 32S/T 982C) From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 16:42:08 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E658216A49A for ; Mon, 19 Jun 2006 16:42:08 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw4.york.ac.uk (mail-gw4.york.ac.uk [144.32.128.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id E091F43D66 for ; Mon, 19 Jun 2006 16:42:05 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw4.york.ac.uk (8.13.6/8.13.6) with ESMTP id k5JGg2AV014080; Mon, 19 Jun 2006 17:42:02 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.6/8.13.6) with ESMTP id k5JGg2T3048246; Mon, 19 Jun 2006 17:42:02 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.6/8.13.6/Submit) id k5JGg2Mn048245; Mon, 19 Jun 2006 17:42:02 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: Dmitry Morozovsky In-Reply-To: <20060619024759.I13558@woozle.rinet.ru> References: <20060619024759.I13558@woozle.rinet.ru> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 19 Jun 2006 17:42:01 +0100 Message-Id: <1150735321.47111.16.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: stable@freebsd.org Subject: Re: puc and sio X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 16:42:09 -0000 On Mon, 2006-06-19 at 02:56 +0400, Dmitry Morozovsky wrote: > Dear colelagues, > > playing with puc compatible MOXA card I found that it's rather useless with > contemporary DEFAULT kernel: > > - sio compiled in, puc as module - puc identified, but no sio ports detected, > even when puc.ko is loaded by loader > - sio and puc both loaded as modules - all sio ports detected, but comconsole > cannot be activated > - sio and puc compiled in kernel - all work flawlessly > > Maybe it's time to consider including puc in GENERIC? Yes - this has been brought up a few times before. Another alternative is the patch in http://lists.freebsd.org/pipermail/freebsd-current/2005-December/058909.html - but there was at least one objection to it. I'm not convinced the current status quo is acceptable, though. Gavin From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 17:21:27 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6247F16A47E for ; Mon, 19 Jun 2006 17:21:27 +0000 (UTC) (envelope-from dalroi@solfertje.student.utwente.nl) Received: from solfertje.student.utwente.nl (solfertje.student.utwente.nl [130.89.167.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E4AE43D6D for ; Mon, 19 Jun 2006 17:21:20 +0000 (GMT) (envelope-from dalroi@solfertje.student.utwente.nl) Received: from localhost (localhost.internal [127.0.0.1]) by solfertje.student.utwente.nl (Postfix) with SMTP id A9507802E for ; Mon, 19 Jun 2006 19:22:05 +0200 (CEST) Received: from [10.236.150.4] (hollewijn.internal [10.236.150.4]) by solfertje.student.utwente.nl (Postfix) with ESMTP id 37FAA8020; Mon, 19 Jun 2006 19:22:04 +0200 (CEST) In-Reply-To: <200606191738.43641.todor.dragnev@gmail.com> References: <200606191738.43641.todor.dragnev@gmail.com> Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <86F6E875-57E0-478C-AD61-198E1585360D@solfertje.student.utwente.nl> Content-Transfer-Encoding: 7bit From: Alban Date: Mon, 19 Jun 2006 19:21:16 +0200 To: Todor Dragnev X-Mailer: Apple Mail (2.749.3) X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Jun 19 19:22:05 2006 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 74,4496dd3d333521941817249 X-DSPAM-Factors: 27, but, 0.40000, From*Alban, 0.40000, right, 0.40000, 4+38, 0.40000, Mime-Version*Message, 0.40000, Date*21+16, 0.40000, Message-Id*AD61, 0.40000, In-Reply-To*<200606191738.43641.todor.dragnev+gmail.com>, 0.40000, of, 0.40000, of, 0.40000, Received*ESMTP, 0.40000, Sometimes+you, 0.40000, Cc*freebsd+stable, 0.40000, ), 0.40000, Date*16, 0.40000, 38+PM, 0.40000, Date*Mon, 0.40000, use, 0.40000, Mime-Version*v749.3), 0.40000, you+wake, 0.40000, no, 0.40000, rc+conf, 0.40000, 2006+at, 0.40000, References*<200606191738.43641.todor.dragnev+gmail.com>, 0.40000, Message-Id*478C, 0.40000, >+I, 0.40000, Received*19+Jun, 0.40000 Cc: freebsd-stable@freebsd.org Subject: Re: bridge.ko, sysctrl.conf and ifconfig_XXX_name, SCSI as a boot device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 17:21:27 -0000 On Jun 19, 2006, at 4:38 PM, Todor Dragnev wrote: > First one: > > I want to make bridging on two of my interfaces but have problem > when I use > ifconfig_XXX_name directrive in rc.conf . After each restart of > machine I > must enter manually commands for sysctrl to enable bridging. > /etc/sysctrl.conf: There's no 'r' in sysctl. Maybe that's why? ;) -- Alban Hertroys Sometimes you wake up and you think: "Galileo was right, the world does turn" !DSPAM:74,4496dd3d333521941817249! From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 17:57:35 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1374716A479; Mon, 19 Jun 2006 17:57:35 +0000 (UTC) (envelope-from nate@root.org) Received: from pimout7-ext.prodigy.net (pimout7-ext.prodigy.net [207.115.63.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71E0343D46; Mon, 19 Jun 2006 17:57:34 +0000 (GMT) (envelope-from nate@root.org) X-ORBL: [67.119.74.222] Received: from [10.0.0.53] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by pimout7-ext.prodigy.net (8.13.6 out.dk/8.13.6) with ESMTP id k5JHvVIE093306; Mon, 19 Jun 2006 13:57:32 -0400 Message-ID: <4496E51E.1070607@root.org> Date: Mon, 19 Jun 2006 10:55:42 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: current , FreeBSD Stable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org Subject: HEADSUP: default for hw.acpi.reset_video changed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 17:57:35 -0000 I thought this would be a small change (since the default was already supposed to be this way) but as usual with acpi, there is a lot of variation out there. I think it's split about 50/50 between systems where enabling this feature is helpful/neutral and those that it is harmful. The default value of the tunable/sysctl for hw.acpi.reset_video has changed from 1 to 0 (off). This means the BIOS video reset method will not be called automatically on resume. If you want the previous behavior, set hw.acpi.reset_video="1" in /boot/loader.conf or /etc/sysctl.conf. If a committer could throw the 2nd paragraph in UPDATING, that would be nice, thanks. Thanks, -- Nate From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 18:14:52 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84AC516A508 for ; Mon, 19 Jun 2006 18:14:52 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 388DB43D45 for ; Mon, 19 Jun 2006 18:14:52 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k5JIEpbA020290; Mon, 19 Jun 2006 11:14:51 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k5JIEpin020287; Mon, 19 Jun 2006 11:14:51 -0700 Date: Mon, 19 Jun 2006 11:14:51 -0700 From: Brooks Davis To: Todor Dragnev Message-ID: <20060619181451.GC4027@odin.ac.hmc.edu> References: <200606191738.43641.todor.dragnev@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WplhKdTI2c8ulnbP" Content-Disposition: inline In-Reply-To: <200606191738.43641.todor.dragnev@gmail.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: freebsd-stable@freebsd.org Subject: Re: bridge.ko, sysctrl.conf and ifconfig_XXX_name, SCSI as a boot device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 18:14:52 -0000 --WplhKdTI2c8ulnbP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 19, 2006 at 05:38:43PM +0300, Todor Dragnev wrote: > Hello list, > I have two minor problems: >=20 > First one:=20 >=20 > I want to make bridging on two of my interfaces but have problem when I u= se=20 > ifconfig_XXX_name directrive in rc.conf . After each restart of machine I= =20 > must enter manually commands for sysctrl to enable bridging. >=20 > After reboot dmesg shows: > interface net0 Not found in bridge > interface net2 Not found in bridge >=20 > /etc/rc.conf: > ifconfig_rl0_name=3D"net0" > ifconfig_rl1_name=3D"net1" > ifconfig_rl2_name=3D"net2" >=20 > /etc/sysctrl.conf: > net.link.ether.bridge.enable=3D1 > net.link.ether.bridge.config=3Dnet0,net2 /etc/sysctl.conf is processed really early in the startup process so the renaming hasn't happend yet. Using the origional names would work, but would be confusing. If you want the naming, I'd suggest switching to if_bridge which can be configured entierly using rc.conf variables. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --WplhKdTI2c8ulnbP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFElumaXY6L6fI4GtQRAokuAJ48Vmwl5wT9FjPnpUTVGPxlWLoPgQCglXof KkHGVLZPk7VNyw+lAneiXzs= =WkvY -----END PGP SIGNATURE----- --WplhKdTI2c8ulnbP-- From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 18:43:45 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5549516A482; Mon, 19 Jun 2006 18:43:45 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CF3143D55; Mon, 19 Jun 2006 18:43:43 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb.matik.com.br (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.6/8.13.1) with ESMTP id k5JIhfrZ077969; Mon, 19 Jun 2006 15:43:42 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-stable@freebsd.org Date: Mon, 19 Jun 2006 15:43:39 -0300 User-Agent: KMail/1.9.1 References: <200606061153.31277.joao@matik.com.br> <20060610210049.GA24815@heff.fud.org.nz> In-Reply-To: <20060610210049.GA24815@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606191543.39430.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on msrv.matik.com.br X-Virus-Status: Clean Cc: Andrew Thompson Subject: Re: ath problems when in if_bridge mode X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 18:43:45 -0000 On Saturday 10 June 2006 18:00, Andrew Thompson wrote: > On Tue, Jun 06, 2006 at 11:53:30AM -0300, JoaoBR wrote: > > Hi > > > > I find some problems when running ath cards in if_bridge mode. > > > > I have continuous UP/DOWN events on the uplink card. The connection is > > really interrupted for a second or so which results in dns lookup errors > > downloads are going through, only the download speed is not stable > > > > please look close, the problem is not on the hostap card > > > > the problem is not hw related, I can switch both cards and the problem > > stays on the uplink card > > > > I can take the bridge off and stay connected without UP/DOWN events (sa= me > > machine/same HW) > > Bridging a wireless client is not supported, you can read this thread > for more into (especially the last couple of posts) > sorry for the delay I was underway seems I posted the wrong ifconfig output but setting the uplink card into=20 adhoc mode the same thing happens I am not sure if this belongs to you Andrew but if I do not set the cards i= n=20 bridge mode then the device up/down event do *not* appear, the uplink card= =20 stays connected without a word soon I put it in if_bridge mode I have this continuous up/down events=20 Jo=E3o =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 19:27:31 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C14916A47A for ; Mon, 19 Jun 2006 19:27:31 +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 B576043D67 for ; Mon, 19 Jun 2006 19:27:30 +0000 (GMT) (envelope-from lreid@cs.okstate.edu) Received: from [192.168.142.69] (unknown [164.58.79.195]) by a.cs.okstate.edu (Postfix) with ESMTP id E8FA9A063C; Mon, 19 Jun 2006 14:27:29 -0500 (CDT) Message-ID: <4496FAA1.90900@cs.okstate.edu> Date: Mon, 19 Jun 2006 14:27:29 -0500 From: Reid Linnemann User-Agent: Thunderbird 1.5.0.2 (X11/20060526) MIME-Version: 1.0 To: Sam Leffler References: <20060615225419.D0494A0631@a.cs.okstate.edu> <4493737D.80704@errno.com> In-Reply-To: <4493737D.80704@errno.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-stable@freebsd.org" Subject: Re: atheros 'device timeout' X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 19:27:31 -0000 As was spoken by Sam Leffler on 06/16/06 22:14~ > Reid Linnemann wrote: >> On 6/14/2006, "Sam Leffler" wrote: >>> Reid Linnemann wrote: >>>> Thanks Sam, I've disabled power save mode in both wireless windows >>>> clients and I'll see if the problem lightens up. Also, do you know why >>>> device timeouts would be spat out by the driver when no stations are >>>> associated with the AP? The device timeouts persisted after my clients >>>> were shut down, and no other stations appear to be in the area. >>> No idea. The problem with buffered mcast frames is because the h/w xmit >>> queue for the frames stops running and blocks the lower priority queues >>> causing the watchdog timer to fire (and generate the device timeout >>> msg). I'm pretty sure this is a race between ath_tx_start and >>> ath_beacon_proc but I've not had time to rework the code and test (this >>> problem does not exist in the linux version but it's structured very >>> differently). If no clients are associated (or associated w/ power save >>> enabled) then no frames should be buffered and this problem should not >>> occur. To debug you can enable reset msgs in the driver (athdebug >>> reset) and look to see what h/w q the frame(s) were on when the reset >>> was done. Note that to do that you must enable ATH_DEBUG. >>> >>> Sam Sam, I grabbed a clean 6-STABLE tree today, recompile, and I got another timeout captured. The debug output does look slightly different: ath0: device timeout ath_draintxq: beacon queue 0x3e9ab000 ath_tx_stopdma: tx queue [0] 0, link 0 ath_tx_stopdma: tx queue [1] 0x3e9af0c0, link 0xed0d80f0 ath_tx_stopdma: tx queue [2] 0, link 0 ath_tx_stopdma: tx queue [3] 0, link 0 ath_tx_stopdma: tx queue [8] 0, link 0 Q1[ 0] (DS.V:0xed0dd700 DS.P:0x3e9b4700) L:3e9b4730 D:3e624836 F:043 01240110 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0dd730 DS.P:0x3e9b4730) L:3e9b4e80 D:30bcf00e F:043 00000000 000000ec 00010000 0000001b f1710001 0000c6d1 Q1[ 1] (DS.V:0xed0dde80 DS.P:0x3e9b4e80) L:3e9b4eb0 D:312f2036 F:043 0124011f 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0ddeb0 DS.P:0x3e9b4eb0) L:3e9b6500 D:307f500e F:043 00000000 000000fb 00010000 0000001b e5f20001 0000e883 Q1[ 2] (DS.V:0xed0df500 DS.P:0x3e9b6500) L:3e9b6530 D:3e76b236 F:043 0124011f 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0df530 DS.P:0x3e9b6530) L:3e9b5ba0 D:310c800e F:043 00000000 000000fb 00010000 0000001b e5f50001 0000e885 Q1[ 3] (DS.V:0xed0deba0 DS.P:0x3e9b5ba0) L:3e9b5bd0 D:30639836 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0debd0 DS.P:0x3e9b5bd0) L:3e9b5d80 D:3e62433e F:043 00000000 00000060 00010000 0000001b e6110001 0000e887 Q1[ 4] (DS.V:0xed0ded80 DS.P:0x3e9b5d80) L:3e9b5db0 D:3e6aac36 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0dedb0 DS.P:0x3e9b5db0) L:3e9b6e60 D:3e76b43e F:043 00000000 00000060 00010000 0000001b e6130001 0000e889 Q1[ 5] (DS.V:0xed0dfe60 DS.P:0x3e9b6e60) L:3e9b6e90 D:3e607136 F:0413 21240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0dfe90 DS.P:0x3e9b6e90) L:3e9b59c0 D:3e60733e F:0413 00000000 00000060 00010000 0000001b e6140001 0000e88b Q1[ 6] (DS.V:0xed0de9c0 DS.P:0x3e9b59c0) L:3e9b59f0 D:3e569336 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0de9f0 DS.P:0x3e9b59f0) L:3e9b6320 D:3e72583e F:043 00000000 00000060 00010000 0000001b e6150001 0000e88d Q1[ 7] (DS.V:0xed0df320 DS.P:0x3e9b6320) L:3e9b6350 D:3e569936 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0df350 DS.P:0x3e9b6350) L:3e9b6c80 D:30b3e03e F:043 00000000 00000060 00010000 0000001b e6160001 0000e88f Q1[ 8] (DS.V:0xed0dfc80 DS.P:0x3e9b6c80) L:3e9b6cb0 D:3077a136 F:043 0124011f 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0dfcb0 DS.P:0x3e9b6cb0) L:3e9b79a0 D:30eca80e F:043 00000000 000000fb 00010000 0000001b e6190001 0000e891 Q1[ 9] (DS.V:0xed0e09a0 DS.P:0x3e9b79a0) L:3e9b79d0 D:3e725b36 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0e09d0 DS.P:0x3e9b79d0) L:3e9b7040 D:3e60783e F:043 00000000 00000060 00010000 0000001b edb70001 00002893 Q1[ 10] (DS.V:0xed0e0040 DS.P:0x3e9b7040) L:3e9b7070 D:3e607036 F:0413 21240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0e0070 DS.P:0x3e9b7070) L:3e9acb40 D:3e76b13e F:0413 00000000 00000060 00010000 0000001b edb80001 00002895 Q1[ 11] (DS.V:0xed0d5b40 DS.P:0x3e9acb40) L:3e9acb70 D:3e725636 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d5b70 DS.P:0x3e9acb70) L:3e9ac1e0 D:3e4a803e F:043 00000000 00000060 00010000 0000001b edb90001 00002897 Q1[ 12] (DS.V:0xed0d51e0 DS.P:0x3e9ac1e0) L:3e9ac210 D:3e624736 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d5210 DS.P:0x3e9ac210) L:3e9b77c0 D:3e569d3e F:043 00000000 00000060 00010000 0000001b edba0001 00002899 Q1[ 13] (DS.V:0xed0e07c0 DS.P:0x3e9b77c0) L:3e9b77f0 D:3e569536 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0e07f0 DS.P:0x3e9b77f0) L:3e9ad680 D:3e6aae3e F:043 00000000 00000060 00010000 0000001b edbc0001 0000289b Q1[ 14] (DS.V:0xed0d6680 DS.P:0x3e9ad680) L:3e9ad6b0 D:3e6aad36 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d66b0 DS.P:0x3e9ad6b0) L:3e9ac780 D:3e6aa53e F:043 00000000 00000060 00010000 0000001b edbd0001 0000289d Q1[ 15] (DS.V:0xed0d5780 DS.P:0x3e9ac780) L:3e9ac7b0 D:3e624d36 F:0413 21240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d57b0 DS.P:0x3e9ac7b0) L:3e9ac960 D:3e6aa43e F:0413 00000000 00000060 00010000 0000001b edbe0001 0000289f Q1[ 16] (DS.V:0xed0d5960 DS.P:0x3e9ac960) L:3e9ac990 D:3e4a8936 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d5990 DS.P:0x3e9ac990) L:3e9ada40 D:3e4a8a3e F:043 00000000 00000060 00010000 0000001b edbf0001 000028a1 Q1[ 17] (DS.V:0xed0d6a40 DS.P:0x3e9ada40) L:3e9ada70 D:31096036 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d6a70 DS.P:0x3e9ada70) L:3e9ad2c0 D:3e4a823e F:043 00000000 00000060 00010000 0000001b edc10001 000028a3 Q1[ 18] (DS.V:0xed0d62c0 DS.P:0x3e9ad2c0) L:3e9ad2f0 D:3e607e36 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d62f0 DS.P:0x3e9ad2f0) L:3e9ad4a0 D:3e56643e F:043 00000000 00000060 00010000 0000001b edc20001 000028a5 Q1[ 19] (DS.V:0xed0d64a0 DS.P:0x3e9ad4a0) L:3e9ad4d0 D:3e4a8536 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d64d0 DS.P:0x3e9ad4d0) L:3e9ae580 D:308fb43e F:043 00000000 00000060 00010000 0000001b f55a0001 0000c8a7 Q1[ 20] (DS.V:0xed0d7580 DS.P:0x3e9ae580) L:3e9ae5b0 D:3e624e36 F:0413 21240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d75b0 DS.P:0x3e9ae5b0) L:3e9ae3a0 D:3e62493e F:0413 00000000 00000060 00010000 0000001b f55b0001 0000c8a9 Q1[ 21] (DS.V:0xed0d73a0 DS.P:0x3e9ae3a0) L:3e9ae3d0 D:3e725136 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d73d0 DS.P:0x3e9ae3d0) L:3e9ae1c0 D:3e4a8b3e F:043 00000000 00000060 00010000 0000001b f55c0001 0000c8ab Q1[ 22] (DS.V:0xed0d71c0 DS.P:0x3e9ae1c0) L:3e9ae1f0 D:3e4c3936 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d71f0 DS.P:0x3e9ae1f0) L:3e9af0c0 D:30fef93e F:043 00000000 00000060 00010000 0000001b f55d0001 0000c8ad Q1[ 23] (DS.V:0xed0d80c0 DS.P:0x3e9af0c0) L:3e9af0f0 D:3e569636 F:043 01240084 01001020 00010000 0000001b 00000000 00000000 (DS.V:0xed0d80f0 DS.P:0x3e9af0f0) L:00000000 D:311ae13e F:043 00000000 00000060 00010000 0000001b f55f0001 0000c8af ath_stoprecv: rx queue 0x3e9c5750, link 0xed0c9750 R[ 0] (DS.V:0xed0c9000 DS.P:0x3e9c5000) L:3e9c5030 D:30de9800 ! 00000000 00000800 1fed8000 58c31911 R[ 1] (DS.V:0xed0c9030 DS.P:0x3e9c5030) L:3e9c5060 D:30dd1800 ! 00000000 00000800 102d8000 59761911 R[ 2] (DS.V:0xed0c9060 DS.P:0x3e9c5060) L:3e9c5090 D:30e57000 ! 00000000 00000800 102d8000 5ae21911 R[ 3] (DS.V:0xed0c9090 DS.P:0x3e9c5090) L:3e9c50c0 D:30a57000 ! 00000000 00000800 100d8000 4e9d1911 R[ 4] (DS.V:0xed0c90c0 DS.P:0x3e9c50c0) L:3e9c50f0 D:31129000 ! 00000000 00000800 101d8000 611c1911 R[ 5] (DS.V:0xed0c90f0 DS.P:0x3e9c50f0) L:3e9c5120 D:30b1e000 ! 00000000 00000800 1ffd8000 61c61911 R[ 6] (DS.V:0xed0c9120 DS.P:0x3e9c5120) L:3e9c5150 D:30c84800 ! 00000000 00000800 100d8000 62761911 R[ 7] (DS.V:0xed0c9150 DS.P:0x3e9c5150) L:3e9c5180 D:307d5000 ! 00000000 00000800 102d8000 63af1911 R[ 8] (DS.V:0xed0c9180 DS.P:0x3e9c5180) L:3e9c51b0 D:310b3800 ! 00000000 00000800 102d8000 750c1911 R[ 9] (DS.V:0xed0c91b0 DS.P:0x3e9c51b0) L:3e9c51e0 D:30cc8000 ! 00000000 00000800 100d8000 75fb1911 R[10] (DS.V:0xed0c91e0 DS.P:0x3e9c51e0) L:3e9c5210 D:30d2b800 ! 00000000 00000800 1ffd8000 76b21911 R[11] (DS.V:0xed0c9210 DS.P:0x3e9c5210) L:3e9c5240 D:31070000 ! 00000000 00000800 100d8000 77de1911 R[12] (DS.V:0xed0c9240 DS.P:0x3e9c5240) L:3e9c5270 D:309bd800 ! 00000000 00000800 100d8000 18c71911 R[13] (DS.V:0xed0c9270 DS.P:0x3e9c5270) L:3e9c52a0 D:30afe000 ! 00000000 00000800 1fcd8000 1b1f1911 R[14] (DS.V:0xed0c92a0 DS.P:0x3e9c52a0) L:3e9c52d0 D:312d2000 ! 00000000 00000800 100d8000 070f1911 R[15] (DS.V:0xed0c92d0 DS.P:0x3e9c52d0) L:3e9c5300 D:309dc800 ! 00000000 00000800 1ffd8000 07be1911 R[16] (DS.V:0xed0c9300 DS.P:0x3e9c5300) L:3e9c5330 D:310e4000 ! 00000000 00000800 101d8000 08f11911 R[17] (DS.V:0xed0c9330 DS.P:0x3e9c5330) L:3e9c5360 D:30d38000 ! 00000000 00000800 1fed8000 09991911 R[18] (DS.V:0xed0c9360 DS.P:0x3e9c5360) L:3e9c5390 D:30c8c000 ! 00000000 00000800 1ffd8000 00c21911 R[19] (DS.V:0xed0c9390 DS.P:0x3e9c5390) L:3e9c53c0 D:30c53800 ! 00000000 00000800 101d8000 01ad1911 R[20] (DS.V:0xed0c93c0 DS.P:0x3e9c53c0) L:3e9c53f0 D:306f4800 ! 00000000 00000800 102d8000 027b1911 R[21] (DS.V:0xed0c93f0 DS.P:0x3e9c53f0) L:3e9c5420 D:30eea800 ! 00000000 00000800 102d8000 035a1911 R[22] (DS.V:0xed0c9420 DS.P:0x3e9c5420) L:3e9c5450 D:30c36000 ! 00000000 00000800 101d8000 27c11911 R[23] (DS.V:0xed0c9450 DS.P:0x3e9c5450) L:3e9c5480 D:311c6000 ! 00000000 00000800 102d8000 29651911 R[24] (DS.V:0xed0c9480 DS.P:0x3e9c5480) L:3e9c54b0 D:31070800 ! 00000000 00000800 102d8000 2a721911 R[25] (DS.V:0xed0c94b0 DS.P:0x3e9c54b0) L:3e9c54e0 D:30c67000 ! 00000000 00000800 102d8000 10901911 R[26] (DS.V:0xed0c94e0 DS.P:0x3e9c54e0) L:3e9c5510 D:3126a800 ! 00000000 00000800 101d8000 11cf1911 R[27] (DS.V:0xed0c9510 DS.P:0x3e9c5510) L:3e9c5540 D:30e9b800 ! 00000000 00000800 102d8000 12ce1911 R[28] (DS.V:0xed0c9540 DS.P:0x3e9c5540) L:3e9c5570 D:310a8800 ! 00000000 00000800 102d8000 13861911 R[29] (DS.V:0xed0c9570 DS.P:0x3e9c5570) L:3e9c55a0 D:30bbf000 ! 00000000 00000800 1fed8000 7eb91911 R[30] (DS.V:0xed0c95a0 DS.P:0x3e9c55a0) L:3e9c55d0 D:30c35800 ! 00000000 00000800 1ffd8000 30ef1911 R[31] (DS.V:0xed0c95d0 DS.P:0x3e9c55d0) L:3e9c5600 D:30dc9000 ! 00000000 00000800 100d8000 31b81911 R[32] (DS.V:0xed0c9600 DS.P:0x3e9c5600) L:3e9c5630 D:30eea000 ! 00000000 00000800 100d8000 32861911 R[33] (DS.V:0xed0c9630 DS.P:0x3e9c5630) L:3e9c5660 D:30f1c800 ! 00000000 00000800 101d8000 332e1911 R[34] (DS.V:0xed0c9660 DS.P:0x3e9c5660) L:3e9c5690 D:30c94000 ! 00000000 00000800 102d8000 33f41911 R[35] (DS.V:0xed0c9690 DS.P:0x3e9c5690) L:3e9c56c0 D:30baf800 ! 00000000 00000800 1fed8000 09f41911 R[36] (DS.V:0xed0c96c0 DS.P:0x3e9c56c0) L:3e9c56f0 D:30a37000 ! 00000000 00000800 1ffd8000 50c91915 R[37] (DS.V:0xed0c96f0 DS.P:0x3e9c56f0) L:3e9c5720 D:310ac000 ! 00000000 00000800 102d8000 52791915 R[38] (DS.V:0xed0c9720 DS.P:0x3e9c5720) L:3e9c5750 D:30ef2800 ! 00000000 00000800 1fed8000 53261915 R[39] (DS.V:0xed0c9750 DS.P:0x3e9c5750) L:3e9c5750 D:30f3c800 ! 00000000 00000800 1fed8000 17861911 -- Reid Linnemann Senior Systems Analyst Oklahoma Department of CareerTech 405-743-5422 rlinn@okcareertech.org -Ars longa, vita brevis- From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 22:42:51 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD07916A482 for ; Mon, 19 Jun 2006 22:42:51 +0000 (UTC) (envelope-from todor.dragnev@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 4F0C843D46 for ; Mon, 19 Jun 2006 22:42:51 +0000 (GMT) (envelope-from todor.dragnev@gmail.com) Received: by py-out-1112.google.com with SMTP id m51so1823393pye for ; Mon, 19 Jun 2006 15:42:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=KXI2U6WS3mwTrrlcyMywZGE3ckUCKtborrocsVgDKNfCrBDZrID4nyWzGn7klPzytQNT0svO8WNLfRNQoq1lDFWI+vOkJoKosjuNRvQPbwpjUPE8nhzrYtUlBEiSqv8sHa1Js8Y51hror0l/hnfF4zvILsOBNcp58fYTsQjL0fk= Received: by 10.35.101.9 with SMTP id d9mr6064596pym; Mon, 19 Jun 2006 15:16:01 -0700 (PDT) Received: by 10.35.61.12 with HTTP; Mon, 19 Jun 2006 15:16:00 -0700 (PDT) Message-ID: Date: Tue, 20 Jun 2006 01:16:00 +0300 From: "Todor Dragnev" To: "Brooks Davis" In-Reply-To: <20060619181451.GC4027@odin.ac.hmc.edu> MIME-Version: 1.0 References: <200606191738.43641.todor.dragnev@gmail.com> <20060619181451.GC4027@odin.ac.hmc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: bridge.ko, sysctrl.conf and ifconfig_XXX_name, SCSI as a boot device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 22:42:51 -0000 Thanks, I will use if_bridge from now. Anyone have ideas about second problem? Maybe I must remove "device usb" from GENERIC config and recompile kernel ? On 6/19/06, Brooks Davis wrote: > /etc/sysctl.conf is processed really early in the startup process so the > renaming hasn't happend yet. Using the origional names would work, but > would be confusing. If you want the naming, I'd suggest switching to > if_bridge which can be configured entierly using rc.conf variables. > > -- Brooks > > -- > Any statement of the form "X is the one, true Y" is FALSE. > PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 > > > -- There are no answers, only cross references From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 00:47:55 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37FBF16A474 for ; Tue, 20 Jun 2006 00:47:55 +0000 (UTC) (envelope-from plosher-keyword-freebsd.a36e57@plosh.net) Received: from luftpost.plosh.net (luftpost.plosh.net [204.152.186.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1F8143D46 for ; Tue, 20 Jun 2006 00:47:54 +0000 (GMT) (envelope-from plosher-keyword-freebsd.a36e57@plosh.net) Received: by luftpost.plosh.net (Postfix, from userid 1001) id 287FB328EC; Mon, 19 Jun 2006 17:47:52 -0700 (PDT) Received: from [204.152.187.37] (tardis.isc.org [204.152.187.37]) by luftpost.plosh.net (tmda-ofmipd) with ESMTP; Mon, 19 Jun 2006 17:47:50 -0700 (PDT) Message-ID: <449745B7.8010205@plosh.net> Date: Mon, 19 Jun 2006 17:47:51 -0700 User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060530) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF54EB53F4C7E01F5E776B826" From: Peter Losher X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) Subject: make rerelease broken at camcontrol... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 00:47:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF54EB53F4C7E01F5E776B826 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks to all who answered my 'make release' questions; now that I have done the initial release cut, now I am trying out 'make rerelease', and it's bombing at the "stage 4.4: building everything" stage. -=3D- =3D=3D=3D> sbin/camcontrol (all) cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o camcontrol camcontrol.o util.o modeedit.o -lcam -lsbuf modeedit.o(.text+0xd14): In function `mode_edit': : undefined reference to `mode_sense' modeedit.o(.text+0xd5c): In function `mode_edit': : undefined reference to `mode_sense' modeedit.o(.text+0xdf9): In function `mode_edit': : undefined reference to `mode_sense' modeedit.o(.text+0xe86): In function `mode_edit': : undefined reference to `mode_select' modeedit.o(.text+0xebf): In function `mode_edit': : undefined reference to `mode_sense' modeedit.o(.text+0x11ec): In function `mode_list': : undefined reference to `mode_sense' *** Error code 1 Stop in /usr/src/sbin/camcontrol. *** Error code 1 Stop in /usr/src/sbin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. + exit 1 + umount /dev *** Error code 1 (ignored) -=3D- Looking in CVS; modeedit.c hasn't changed in two years, so I am perplexed at what is going on here. Any ideas? The make rerelease command used is: make -i rerelease NODOC=3DYES NO_FLOPPIES=3DYES CHROOTDIR=3D/hog/release = \ BUILDNAME=3D6.1-RELEASE-p2 CVSROOT=3D/hog/FreeBSD-CVS RELEASETAG=3DRELENG= _6_1 (no optimizations, etc.) Thanks - Peter --------------enigF54EB53F4C7E01F5E776B826 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFEl0W3uffIhmkXw7kRAhH8AKC9JFjOlOCDyd52zAnKzwSvrCoCqACdGM1E MGbQEdODyZ1LWtY4rSK2Odo= =3RGV -----END PGP SIGNATURE----- --------------enigF54EB53F4C7E01F5E776B826-- From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 02:15:54 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DBC716A47A for ; Tue, 20 Jun 2006 02:15:54 +0000 (UTC) (envelope-from Brian.Scott@det.nsw.edu.au) Received: from hplmx2.det.nsw.edu.au (hplmx2.det.nsw.edu.au [153.107.105.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 601D743D49 for ; Tue, 20 Jun 2006 02:15:53 +0000 (GMT) (envelope-from Brian.Scott@det.nsw.edu.au) Received: from itfsmtp1.central.det.win (externalmail.det.nsw.edu.au [153.107.8.159]) by hplmx2.det.nsw.edu.au (8.13.1/8.13.1) with ESMTP id k5K2QTap016806; Tue, 20 Jun 2006 12:26:29 +1000 Received: from itfexhub4.central.det.win (Not Verified[153.107.9.31]) by itfsmtp1.central.det.win with NetIQ MailMarshal id ; Tue, 20 Jun 2006 12:15:50 +1000 Received: from ALF6.riverina.det.win ([172.18.8.14]) by itfexhub4.central.det.win with Microsoft SMTPSVC(6.0.3790.1830); Tue, 20 Jun 2006 12:15:50 +1000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 20 Jun 2006 12:15:50 +1000 Message-ID: <93F091C9B5CFAF409180B07728D682E9165A93@ALF6.riverina.det.win> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: save-entropy Thread-Index: AcaRCF9bQvF4hsAERMiSXStH6nuDAgDBPi8g From: "Scott, Brian" To: "olivier.taylor" X-OriginalArrivalTime: 20 Jun 2006 02:15:50.0519 (UTC) FILETIME=[73394070:01C6940F] Cc: freebsd-stable@freebsd.org Subject: RE: save-entropy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 02:15:54 -0000 Olivier, That process is meant to be there. I don't know why it has the '--' argum= ent but it isn't likely to be a symptom of the problem you are having. Try =09sh -x /usr/libexec/save-entropy To get more insight into when it is failing. This will show you surroundi= ng commands which will give you a better chance of working out what is fa= iling in the script. At least 20% of my students run into this sort of problem when I have the= m configure FreeBSD systems. While normally its their rc.conf file that g= ets messed up, in your case it apparently isn't so I suppose I'm still su= ggesting ways of finding out what file/line has the problem. Good luck, Brian -----Original Message----- From: olivier.taylor [mailto:olivier.taylor@gmail.com]=20 Sent: Friday, 16 June 2006 3:47 PM To: Scott, Brian Cc: freebsd-stable@freebsd.org Subject: Re: save-entropy Thanks Scott, But unfortunately, that's not the case... With ps ax I found a process =201 ?? ILs 0:00.00 /sbin/init -- Strange stuff, grrr The server is on a datacenter, I don't see the startup messages... Olivier Scott, Brian a =E9crit : > That would be the old 'accidentally deleted a # from a line in rc.conf'= =20problem. There are likely to be several lines beginning '# -- ' in the= =20file. New users often accidentally remove the # making the '--' into a= =20command. There will also be a few messages during startup that will al= so complain about the '--' command but most people ignore these.=20 > > -----Original Message----- > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@fre= ebsd.org] On Behalf Of olivier.taylor > Sent: Thursday, 15 June 2006 8:59 PM > To: davids@webmaster.com > Cc: freebsd-stable@freebsd.org > Subject: Re: save-entropy > > > freebsd 5.4 > #!/bin/sh > # > # Copyright (c) 2001-2005 Douglas Barton, [1]DougB@FreeBSD.org > # All rights reserved. > # > # Redistribution and use in source and binary forms, with or without= > # modification, are permitted provided that the following conditions= > # are met: > # 1. Redistributions of source code must retain the above copyright > # notice, this list of conditions and the following disclaimer. > # 2. Redistributions in binary form must reproduce the above copyrig= ht > # notice, this list of conditions and the following disclaimer in= > the > # documentation and/or other materials provided with the > distribution. > # > # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS''= > AND > # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, > THE > # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR= > PURPOSE > # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE > LIABLE > # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR > CONSEQUENTIAL > # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE > GOODS > # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS > INTERRUPTION) > # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT= , > STRICT > # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN > ANY WAY > # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILIT= Y > OF > # SUCH DAMAGE. > # > # $FreeBSD: src/libexec/save-entropy/save-entropy.sh,v 1.2.12.1 > 2005/04/14 21:49:13 dougb Exp $ > # This script is called by cron to store bits of randomness which ar= e > # then used to seed /dev/random on boot. > # Originally developed by Doug Barton, [2]DougB@FreeBSD.org > PATH=3D/bin:/usr/bin > # If there is a global system configuration file, suck it in. > # > if [ -r /etc/defaults/rc.conf ]; then > . /etc/defaults/rc.conf > source_rc_confs > elif [ -r /etc/rc.conf ]; then > . /etc/rc.conf > fi > case ${entropy_dir} in > [Nn][Oo]) > exit 0 > ;; > *) > entropy_dir=3D${entropy_dir:-/var/db/entropy} > ;; > esac > entropy_save_sz=3D${entropy_save_sz:-2048} > entropy_save_num=3D${entropy_save_num:-8} > if [ ! -d "${entropy_dir}" ]; then > umask 077 > mkdir "${entropy_dir}" || { > logger -is -t "$0" The entropy directory "${entropy_dir}" do= es > not \ > exist, and cannot be created. Therefore no entropy can be saved. ; > exit 1;} > /usr/sbin/chown operator:operator "${entropy_dir}" > chmod 0700 "${entropy_dir}" > fi > umask 377 > for file_num in `jot ${entropy_save_num} ${entropy_save_num} 1`; do > if [ -e "${entropy_dir}/saved-entropy.${file_num}" ]; then > if [ -f "${entropy_dir}/saved-entropy.${file_num}" ]; then > new_num=3D$(($file_num + 1)) > if [ "${new_num}" -gt "${entropy_save_num}" ]; then > rm -f "${entropy_dir}/saved-entropy.${file_num}" > else > mv "${entropy_dir}/saved-entropy.${file_num}" \ > "${entropy_dir}/saved-entropy.${new_num}" > fi > else > logger -is -t "$0" \ > "${entropy_dir}/saved-entropy.${file_num} is not a regular file, and= > therefore \ > it will not be rotated. Entropy file harvesting is aborted." > exit 1 > fi > fi > done > dd if=3D/dev/random of=3D"${entropy_dir}/saved-entropy.1" \ > bs=3D"$entropy_save_sz" count=3D1 2> /dev/null > exit 0 > David Schwartz a =E9crit : > > Since a few days, I receive this in /var/mail/root > Any idea? > > Olivier > > From [3]operator@xxx.be Thu Jun 15 11:11:00 2006 > Return-Path: [4] > Received: from xxx.be (localhost [127.0.0.1]) > by finalcut.be (8.13.3/8.13.3) with ESMTP id k5F9B0Pu051577 > for [5]; Thu, 15 Jun 2006 11:11:00 +0200 (CEST) > (envelope-from [6]operator@xxx.be) > Received: (from operator@localhost) > by finalcut.be (8.13.3/8.13.3/Submit) id k5F9B0jf051566; > Thu, 15 Jun 2006 11:11:00 +0200 (CEST) > (envelope-from operator) > Date: Thu, 15 Jun 2006 11:11:00 +0200 (CEST) > Message-Id: [7]<200606150911.k5F9B0jf051566@xxx.be> > From: [8]operator@xxx.be (Cron Daemon) > To: [9]operator@xxx.be > Subject: Cron /usr/libexec/save-entropy > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > > --: not found > > > > FreeBSD version? Contents of /usr/libexec/save-entropy? > > DS > > > _______________________________________________ > [10]freebsd-stable@freebsd.org mailing list > [11]http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to [12]"freebsd-stable-unsubscribe@freebs= d.org" > > References > > 1. mailto:DougB@FreeBSD.org > 2. mailto:DougB@FreeBSD.org > 3. mailto:operator@xxx.be > 4. mailto:operator@xxx.be > 5. mailto:operator@xxx.be > 6. mailto:operator@xxx.be > 7. mailto:200606150911.k5F9B0jf051566@xxx.be > 8. mailto:operator@xxx.be > 9. mailto:operator@xxx.be > 10. mailto:freebsd-stable@freebsd.org > 11. http://lists.freebsd.org/mailman/listinfo/freebsd-stable > 12. mailto:freebsd-stable-unsubscribe@freebsd.org > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g" > ********************************************************************** > This message is intended for the addressee named and may contain > privileged information or confidential information or both. If you > are not the intended recipient please delete it and notify the sender. > ********************************************************************** > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g" > > =20 ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ********************************************************************** From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 02:32:33 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B616416A479 for ; Tue, 20 Jun 2006 02:32:33 +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 F0CB343D49 for ; Tue, 20 Jun 2006 02:32:30 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k5K2WOYY093409; Mon, 19 Jun 2006 20:32:29 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44975E38.4090708@samsco.org> Date: Mon, 19 Jun 2006 20:32:24 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Losher References: <449745B7.8010205@plosh.net> In-Reply-To: <449745B7.8010205@plosh.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-stable@freebsd.org Subject: Re: make rerelease broken at camcontrol... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 02:32:33 -0000 Peter Losher wrote: > Thanks to all who answered my 'make release' questions; now that I have > done the initial release cut, now I am trying out 'make rerelease', and > it's bombing at the "stage 4.4: building everything" stage. > > -=- > ===> sbin/camcontrol (all) > cc -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o > camcontrol camcontrol.o util.o modeedit.o -lcam -lsbuf > modeedit.o(.text+0xd14): In function `mode_edit': > : undefined reference to `mode_sense' > modeedit.o(.text+0xd5c): In function `mode_edit': > : undefined reference to `mode_sense' > modeedit.o(.text+0xdf9): In function `mode_edit': > : undefined reference to `mode_sense' > modeedit.o(.text+0xe86): In function `mode_edit': > : undefined reference to `mode_select' > modeedit.o(.text+0xebf): In function `mode_edit': > : undefined reference to `mode_sense' > modeedit.o(.text+0x11ec): In function `mode_list': > : undefined reference to `mode_sense' > *** Error code 1 > > Stop in /usr/src/sbin/camcontrol. > *** Error code 1 > > Stop in /usr/src/sbin. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > + exit 1 > + umount /dev > *** Error code 1 (ignored) > -=- > > Looking in CVS; modeedit.c hasn't changed in two years, so I am > perplexed at what is going on here. Any ideas? > > The make rerelease command used is: > > make -i rerelease NODOC=YES NO_FLOPPIES=YES CHROOTDIR=/hog/release \ > BUILDNAME=6.1-RELEASE-p2 CVSROOT=/hog/FreeBSD-CVS RELEASETAG=RELENG_6_1 > > (no optimizations, etc.) > > Thanks - Peter > camcontrol.o probably got truncated or corrupted. Remove it and the build should work. Scott From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 12:48:38 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70AA616A47C for ; Tue, 20 Jun 2006 12:48:38 +0000 (UTC) (envelope-from todor.dragnev@gmail.com) Received: from mail.sistechnology.com (torro.sistechnology.com [217.79.65.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECF7E43D53 for ; Tue, 20 Jun 2006 12:48:37 +0000 (GMT) (envelope-from todor.dragnev@gmail.com) Received: from localhost (localhost [127.0.0.1]) by mail.sistechnology.com (Postfix) with ESMTP id 12C6946C47; Tue, 20 Jun 2006 15:48:35 +0300 (EEST) Received: from mail.sistechnology.com ([217.79.65.130]) by localhost (torro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07013-10; Tue, 20 Jun 2006 15:48:33 +0300 (EEST) Received: from [192.168.7.3] (tdragnev [192.168.7.3]) by mail.sistechnology.com (Postfix) with ESMTP id 8F0F646C08; Tue, 20 Jun 2006 15:48:33 +0300 (EEST) From: Todor Dragnev To: freebsd-stable@freebsd.org, Elliot Finley Date: Tue, 20 Jun 2006 15:47:15 +0300 User-Agent: KMail/1.7.2 References: <0bcc01c693b0$ba32b3d0$37cba1cd@emerytelcom.com> In-Reply-To: <0bcc01c693b0$ba32b3d0$37cba1cd@emerytelcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606201547.15511.todor.dragnev@gmail.com> X-Virus-Scanned: by the vKeeper at sistechnology.com Cc: Subject: Re: portupgrade failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 12:48:38 -0000 Hi, I have similar problem and find solution in portupgrade man page: -- Sometimes a database may get corrupt and the pkgtools commands start to abort due to segmentation fault. In such cases, run ``pkgdb -fu'' to rebuild the database, and the problems will go away. If the command failed itself, remove a database file (/var/db/pkg/pkgdb.db) and run it again. -- On Monday 19 June 2006 17:57, Elliot Finley wrote: > After upgrading to the latest portupgrade: > > dns root:~#>portupgrade -v > portupgrade 2.0.1 (2006/06/18) > > I got a failure on 2 out of 4 boxes. Now when I use portversion, > portupgrade, or pkgdb I get: > > backup root:/usr/ports#>portversion > [Updating the pkgdb in /var/db/pkg ... - 34 packages > found (-0 +0) Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ > > Any pointers on how to fix this would be appreciated. > > Thanks > Elliot > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 12:56:54 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCDAA16A474 for ; Tue, 20 Jun 2006 12:56:54 +0000 (UTC) (envelope-from valqk@lozenetz.org) Received: from logos.webreality.org (logos.webreality.org [80.72.64.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54E7A43D46 for ; Tue, 20 Jun 2006 12:56:54 +0000 (GMT) (envelope-from valqk@lozenetz.org) Received: from [10.10.10.3] (unknown [10.10.10.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by logos.webreality.org (Postfix) with ESMTP id BBB4EC9536 for ; Tue, 20 Jun 2006 16:02:58 +0300 (EEST) Message-ID: <4497F190.4040406@lozenetz.org> Date: Tue, 20 Jun 2006 16:01:04 +0300 From: Anton - Valqk User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-webreality-MailScanner-Information: Please contact the ISP for more information X-webreality-MailScanner: Found to be clean X-webreality-MailScanner-From: valqk@lozenetz.org Subject: if_ndis values setting problem. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 12:56:54 -0000 Hello there, I have problem setting params to the if_ndis card. I'm using asus wl138g which is marvel chipset card. I've compiled the driver using ndisgen and the dmesg says the card is ok. When I try to do ifconfig ndis0 ssid SESS .... etc (with wep 128bit encryption) the led on the card blinks for a second and after that nothing happens. The ssid is empty, the encryption is WEP and all the values seems to be ok. #>ifconfig ndis0 ssid MYSESS nwkey ...key here... mode shared Any ideas how ot fix that? I'm using fbsd-stable. 10x in advance! -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:12:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7034016A492 for ; Tue, 20 Jun 2006 16:12:18 +0000 (UTC) (envelope-from webmaster@hirsch.it) Received: from server1.hirsch.it (server1.hirsch.it [213.239.214.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5AE243D45 for ; Tue, 20 Jun 2006 16:12:17 +0000 (GMT) (envelope-from webmaster@hirsch.it) Received: from hsi-kbw-085-216-025-126.hsi.kabelbw.de ([85.216.25.126] helo=[192.168.101.121]) by server1.hirsch.it with esmtpa (Exim 4.50) id 1Fsipn-0004Gi-Rp for freebsd-stable@freebsd.org; Tue, 20 Jun 2006 18:12:15 +0200 Message-ID: <44981E5B.8090708@hirsch.it> Date: Tue, 20 Jun 2006 18:12:11 +0200 From: "M.Hirsch" User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "server1.hirsch.it", 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: Hello everybody, Before FreeBSD 6.1, I was able to write a rc script which modifies the rc.conf file. All rc scripts exectuted after this first one would use the new rc.conf then. To make this work, I put the script in /etc/rc.d/ and "tagged" it with "BEFORE: rcconf". [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- Subject: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 16:12:18 -0000 Hello everybody, Before FreeBSD 6.1, I was able to write a rc script which modifies the rc.conf file. All rc scripts exectuted after this first one would use the new rc.conf then. To make this work, I put the script in /etc/rc.d/ and "tagged" it with "BEFORE: rcconf". Unfortunately, rcconf has been removed in FreeBSD 6.1 (or -STABLE?). I have tried many different ways, like "BEFORE:NETWORKING", and others. But none seems to work. I even overwrote "rc.diskless", but still no luck. What is the correct way for 6-STABLE to achieve what I want to do? (i.e. write the rc.conf from a rc script) Thanks in advance, M. From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:26:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95D6916A479 for ; Tue, 20 Jun 2006 16:26:19 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0204B43D4C for ; Tue, 20 Jun 2006 16:26:16 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by mail.ticketswitch.com with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1Fsj3P-0008Qu-F1 for freebsd-stable@freebsd.org; Tue, 20 Jun 2006 17:26:15 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fsj3P-0007mN-BE for freebsd-stable@freebsd.org; Tue, 20 Jun 2006 17:26:15 +0100 To: freebsd-stable@freebsd.org Message-Id: From: Pete French Date: Tue, 20 Jun 2006 17:26:15 +0100 Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 16:26:19 -0000 > What is the correct way for 6-STABLE to achieve what I want to do? > (i.e. write the rc.conf from a rc script) I thought rc.conf was simply a script that set some variables. If this is the case then you don't need to overwrite it - you simply need to make your script set the appropriate variables and then drop it in as a repplacement for rc.conf - hence no need to rewrite rc.conf at all. -pcf. From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:34:58 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DDCD16A47B for ; Tue, 20 Jun 2006 16:34:58 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 880AC43D46 for ; Tue, 20 Jun 2006 16:34:57 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 20 Jun 2006 16:34:56 -0000 Received: from p54A7EDE1.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.237.225] by mail.gmx.net (mp037) with SMTP; 20 Jun 2006 18:34:56 +0200 X-Authenticated: #5465401 Message-ID: <449823A0.2020602@gmx.de> Date: Tue, 20 Jun 2006 18:34:40 +0200 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5.0.4 (X11/20060605) MIME-Version: 1.0 To: Pete French , webmaster@hirsch.it References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 16:34:58 -0000 Pete French wrote: >> What is the correct way for 6-STABLE to achieve what I want to do? >> (i.e. write the rc.conf from a rc script) > > I thought rc.conf was simply a script that set some variables. If > this is the case then you don't need to overwrite it - you simply need to > make your script set the appropriate variables and then drop it in as > a repplacement for rc.conf - hence no need to rewrite rc.conf at all. > > -pcf. If your scripts name ends with .sh it will be sourced into the process and all variables set there will prevail (this feature only works in /etc/rc.d). If you do this you must not use the exit command anywhere in your script. From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:38:07 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F90316A47A for ; Tue, 20 Jun 2006 16:38:07 +0000 (UTC) (envelope-from M.Hirsch@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 5543C43D48 for ; Tue, 20 Jun 2006 16:38:06 +0000 (GMT) (envelope-from M.Hirsch@gmx.de) Received: (qmail invoked by alias); 20 Jun 2006 16:38:05 -0000 Received: from HSI-KBW-085-216-025-126.hsi.kabelbw.de (EHLO [192.168.101.121]) [85.216.25.126] by mail.gmx.net (mp023) with SMTP; 20 Jun 2006 18:38:05 +0200 X-Authenticated: #820862 Message-ID: <44982469.9050008@gmx.de> Date: Tue, 20 Jun 2006 18:38:01 +0200 From: "M.Hirsch" User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: stable@FreeBSD.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Pete French Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 16:38:07 -0000 I have investigated a bit more. Setting the variables can't work. As far as I can see, rc.conf is sourced from rc.subr. And every single script in /etc/rc.d/ sources rc.subr, so they reload the rc.conf file for each call. The "rc" scripts are being executed in a sub-shell though. So overwriting variables in any of them will have no effect on the following files. It does work for /usr/local/etc/rc.d though, but I really need it to execute before anything else. I made it work by overwriting rc.diskless (again). Stupid /me, rc.diskless does not follow the syntax for rc scripts. It's just a "normal" shell script :) Anyways, I would still be interested in the "correct" way to do it. M. Pete French schrieb: >I thought rc.conf was simply a script that set some variables. If >this is the case then you don't need to overwrite it - you simply need to >make your script set the appropriate variables and then drop it in as >a repplacement for rc.conf - hence no need to rewrite rc.conf at all. > >-pcf. > > From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:41:36 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD52816A474 for ; Tue, 20 Jun 2006 16:41:36 +0000 (UTC) (envelope-from M.Hirsch@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id CE85B43D6E for ; Tue, 20 Jun 2006 16:41:32 +0000 (GMT) (envelope-from M.Hirsch@gmx.de) Received: (qmail invoked by alias); 20 Jun 2006 16:41:31 -0000 Received: from HSI-KBW-085-216-025-126.hsi.kabelbw.de (EHLO [192.168.101.121]) [85.216.25.126] by mail.gmx.net (mp023) with SMTP; 20 Jun 2006 18:41:31 +0200 X-Authenticated: #820862 Message-ID: <44982538.3000807@gmx.de> Date: Tue, 20 Jun 2006 18:41:28 +0200 From: "M.Hirsch" User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 References: <449823A0.2020602@gmx.de> In-Reply-To: <449823A0.2020602@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: "\[LoN\]Kamikaze" , freebsd-stable@freebsd.org Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 16:41:36 -0000 Yes, I think this is the solution. It seems to depend on the filename, specifically the ".sh" extension. CODE (in /etc/rc): /etc/rc.d/*.sh) # run in current shell Thanks, I am testing this now. I'll post back as soon as I got results (1h or so...) M. [LoN]Kamikaze schrieb: >If your scripts name ends with .sh it will be sourced into the process and all variables set there will prevail (this feature only works in /etc/rc.d). If you do this you must not use the exit command anywhere in your script. > > From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:50:45 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B43316A474 for ; Tue, 20 Jun 2006 16:50:45 +0000 (UTC) (envelope-from M.Hirsch@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 8157643D46 for ; Tue, 20 Jun 2006 16:50:44 +0000 (GMT) (envelope-from M.Hirsch@gmx.de) Received: (qmail invoked by alias); 20 Jun 2006 16:50:43 -0000 Received: from HSI-KBW-085-216-025-126.hsi.kabelbw.de (EHLO [192.168.101.121]) [85.216.25.126] by mail.gmx.net (mp023) with SMTP; 20 Jun 2006 18:50:43 +0200 X-Authenticated: #820862 Message-ID: <4498275F.3060901@gmx.de> Date: Tue, 20 Jun 2006 18:50:39 +0200 From: "M.Hirsch" User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <449823A0.2020602@gmx.de> <44982538.3000807@gmx.de> In-Reply-To: <44982538.3000807@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 16:50:45 -0000 One question remains though: How can I make my script to be the very first rc script to be executed? M. From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:53:06 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8906E16A47A for ; Tue, 20 Jun 2006 16:53:06 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32F0D43D92 for ; Tue, 20 Jun 2006 16:52:37 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k5KGqbX2010756; Tue, 20 Jun 2006 09:52:37 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k5KGqbq5010755; Tue, 20 Jun 2006 09:52:37 -0700 Date: Tue, 20 Jun 2006 09:52:37 -0700 From: Brooks Davis To: "M.Hirsch" Message-ID: <20060620165237.GA10659@odin.ac.hmc.edu> References: <449823A0.2020602@gmx.de> <44982538.3000807@gmx.de> <4498275F.3060901@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <4498275F.3060901@gmx.de> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: freebsd-stable@freebsd.org Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 16:53:06 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 20, 2006 at 06:50:39PM +0200, M.Hirsch wrote: > One question remains though: >=20 > How can I make my script to be the very first rc script to be executed? Add appropriate BEFORE entries so it is before all unparented scripts. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEmCfUXY6L6fI4GtQRAnX+AJsFeOJLua6y6YN59F0CyRXJzfh+sQCgwN3g jP3bwKYCoSV9fy4x73RHylw= =BYMo -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0-- From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:58:20 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA5ED16A47C for ; Tue, 20 Jun 2006 16:58:20 +0000 (UTC) (envelope-from M.Hirsch@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id B527843D55 for ; Tue, 20 Jun 2006 16:58:19 +0000 (GMT) (envelope-from M.Hirsch@gmx.de) Received: (qmail invoked by alias); 20 Jun 2006 16:58:18 -0000 Received: from HSI-KBW-085-216-025-126.hsi.kabelbw.de (EHLO [192.168.101.121]) [85.216.25.126] by mail.gmx.net (mp025) with SMTP; 20 Jun 2006 18:58:18 +0200 X-Authenticated: #820862 Message-ID: <44982927.7050101@gmx.de> Date: Tue, 20 Jun 2006 18:58:15 +0200 From: "M.Hirsch" User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Brooks Davis References: <449823A0.2020602@gmx.de> <44982538.3000807@gmx.de> <4498275F.3060901@gmx.de> <20060620165237.GA10659@odin.ac.hmc.edu> In-Reply-To: <20060620165237.GA10659@odin.ac.hmc.edu> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 16:58:21 -0000 As stated in my initial post, I used "BEFORE: rcconf" up to and including 6.0. So what is an "appropriate BEFORE entry" for 6-STABLE? Sorry, I really can't find any documentation on this issue, not in UPDATING and not in the mailing list archives either. Thanks, M. Brooks Davis schrieb: >Add appropriate BEFORE entries so it is before all unparented scripts. > >-- Brooks > > > From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 16:59:23 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D353E16A47D for ; Tue, 20 Jun 2006 16:59:23 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 782F943D48 for ; Tue, 20 Jun 2006 16:59:23 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by mail.ticketswitch.com with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FsjZS-0008rF-LT; Tue, 20 Jun 2006 17:59:22 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FsjZS-0007q0-1n; Tue, 20 Jun 2006 17:59:22 +0100 To: M.Hirsch@gmx.de, stable@FreeBSD.org In-Reply-To: <44982469.9050008@gmx.de> Message-Id: From: Pete French Date: Tue, 20 Jun 2006 17:59:22 +0100 Cc: Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 16:59:23 -0000 > Setting the variables can't work. As far as I can see, rc.conf is > sourced from rc.subr. And every single script in /etc/rc.d/ sources > rc.subr, so they reload the rc.conf file for each call. Actually I was suggesting you overwrite rc.conf *itself* with the variable setting code - so every script which reloads it gets the variables set. Surely that would work ? Though it would mean your code would be run multiple times... -pete. From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 17:03:44 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A69616A47A for ; Tue, 20 Jun 2006 17:03:44 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2541743D6B for ; Tue, 20 Jun 2006 17:03:39 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k5KH3cqc011565; Tue, 20 Jun 2006 10:03:38 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k5KH3cm1011564; Tue, 20 Jun 2006 10:03:38 -0700 Date: Tue, 20 Jun 2006 10:03:38 -0700 From: Brooks Davis To: "M.Hirsch" Message-ID: <20060620170338.GB10659@odin.ac.hmc.edu> References: <449823A0.2020602@gmx.de> <44982538.3000807@gmx.de> <4498275F.3060901@gmx.de> <20060620165237.GA10659@odin.ac.hmc.edu> <44982927.7050101@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5/uDoXvLw7AC5HRs" Content-Disposition: inline In-Reply-To: <44982927.7050101@gmx.de> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: freebsd-stable@freebsd.org Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 17:03:44 -0000 --5/uDoXvLw7AC5HRs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 20, 2006 at 06:58:15PM +0200, M.Hirsch wrote: > As stated in my initial post, I used "BEFORE: rcconf" up to and=20 > including 6.0. >=20 > So what is an "appropriate BEFORE entry" for 6-STABLE? >=20 > Sorry, I really can't find any documentation on this issue, not in=20 > UPDATING and not in the mailing list archives either. This no documentation because this isn't a supported action. Just start at the top of the output of "rcorder /etc/rc.d.*" and look at the scripts to see which ones of them aren't required by anything. Add BEFORE entries for all of them. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --5/uDoXvLw7AC5HRs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEmCppXY6L6fI4GtQRAoVlAJ49HP6JKub4+RKa99ybWoLRUBPlTACgzpq2 Y57ng6U/kub0eAgbNvjReyc= =pgNr -----END PGP SIGNATURE----- --5/uDoXvLw7AC5HRs-- From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 17:11:49 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DF5B16A474 for ; Tue, 20 Jun 2006 17:11:49 +0000 (UTC) (envelope-from M.Hirsch@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 454BC43D49 for ; Tue, 20 Jun 2006 17:11:45 +0000 (GMT) (envelope-from M.Hirsch@gmx.de) Received: (qmail invoked by alias); 20 Jun 2006 17:11:44 -0000 Received: from HSI-KBW-085-216-025-126.hsi.kabelbw.de (EHLO [192.168.101.121]) [85.216.25.126] by mail.gmx.net (mp039) with SMTP; 20 Jun 2006 19:11:44 +0200 X-Authenticated: #820862 Message-ID: <44982C4A.9030107@gmx.de> Date: Tue, 20 Jun 2006 19:11:38 +0200 From: "M.Hirsch" User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Pete French Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 17:11:49 -0000 This is what I initially tried, but it didn't work due to a wrong "BEFORE:" tag. "rcconf" was removed from 6-STABLE, so my scripts didn't start at all anymore. Invalid dependencies seem to make rc-scripts not execute *at all* in 6-STABLE. (note taken) So far I think I got it working now. Thanks for your input! M. Pete French schrieb: >Actually I was suggesting you overwrite rc.conf *itself* with the variable >setting code - so every script which reloads it gets the variables set. >Surely that would work ? Though it would mean your code would be run >multiple times... > >-pete. > > From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 17:19:14 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04CFC16A47A for ; Tue, 20 Jun 2006 17:19:14 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9325E43D46 for ; Tue, 20 Jun 2006 17:19:13 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k5KHJDrF012774; Tue, 20 Jun 2006 10:19:13 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k5KHJDSG012773; Tue, 20 Jun 2006 10:19:13 -0700 Date: Tue, 20 Jun 2006 10:19:13 -0700 From: Brooks Davis To: "M.Hirsch" Message-ID: <20060620171912.GA12657@odin.ac.hmc.edu> References: <44982C4A.9030107@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <44982C4A.9030107@gmx.de> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: freebsd-stable@freebsd.org, Pete French Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 17:19:14 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 20, 2006 at 07:11:38PM +0200, M.Hirsch wrote: > Pete French schrieb: >=20 > >Actually I was suggesting you overwrite rc.conf *itself* with the variab= le > >setting code - so every script which reloads it gets the variables set. > >Surely that would work ? Though it would mean your code would be run > >multiple times... > > This is what I initially tried, but it didn't work due to a wrong=20 > "BEFORE:" tag. > "rcconf" was removed from 6-STABLE, so my scripts didn't start at all=20 > anymore. Pete is suggested that you put the code in /etc/rc.conf. It's just another shell script. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEmC4QXY6L6fI4GtQRAl6hAKDhDw0MpnVJvqBFE2+UmDQYk62S9QCdEmk4 yV+25CYOb3xxnC4BDQg2ct8= =gSe5 -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g-- From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 17:21:26 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBD9116A47B for ; Tue, 20 Jun 2006 17:21:26 +0000 (UTC) (envelope-from M.Hirsch@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id C774743D46 for ; Tue, 20 Jun 2006 17:21:25 +0000 (GMT) (envelope-from M.Hirsch@gmx.de) Received: (qmail invoked by alias); 20 Jun 2006 17:21:24 -0000 Received: from HSI-KBW-085-216-025-126.hsi.kabelbw.de (EHLO [192.168.101.121]) [85.216.25.126] by mail.gmx.net (mp035) with SMTP; 20 Jun 2006 19:21:24 +0200 X-Authenticated: #820862 Message-ID: <44982E8C.50509@gmx.de> Date: Tue, 20 Jun 2006 19:21:16 +0200 From: "M.Hirsch" User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Brooks Davis References: <44982C4A.9030107@gmx.de> <20060620171912.GA12657@odin.ac.hmc.edu> In-Reply-To: <20060620171912.GA12657@odin.ac.hmc.edu> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 17:21:26 -0000 Ah, ok. I didn't get that correctly before. "It's just another shell script" - nice hack, thanks ;) M. Brooks Davis schrieb: >Pete is suggested that you put the code in /etc/rc.conf. It's just >another shell script. > >-- Brooks > > > From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 18:00:32 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C3A416A474 for ; Tue, 20 Jun 2006 18:00:32 +0000 (UTC) (envelope-from M.Hirsch@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 8F47D43D45 for ; Tue, 20 Jun 2006 18:00:31 +0000 (GMT) (envelope-from M.Hirsch@gmx.de) Received: (qmail invoked by alias); 20 Jun 2006 18:00:30 -0000 Received: from HSI-KBW-085-216-025-126.hsi.kabelbw.de (EHLO [192.168.101.121]) [85.216.25.126] by mail.gmx.net (mp028) with SMTP; 20 Jun 2006 20:00:30 +0200 X-Authenticated: #820862 Message-ID: <449837BB.5070202@gmx.de> Date: Tue, 20 Jun 2006 20:00:27 +0200 From: "M.Hirsch" User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <449823A0.2020602@gmx.de> <44982538.3000807@gmx.de> <4498275F.3060901@gmx.de> <44982C57.9040301@gmx.de> In-Reply-To: <44982C57.9040301@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: "\[LoN\]Kamikaze" Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 18:00:32 -0000 Another problem solved :) So when my script overwrote rc.conf, the file was already loaded and thus overwriting it had no effect. That's why it didn't work. (not with "BEFORE: initrandom" either). This must have changed somewhen between 6.0 and 6-STABLE because it did work in 6.0. Thanks vm. I'm going to publish a "freebsd 6 remote deployment" article on my blog after I got it working 100%. There really don't seem to be any good and recent guides for that out there... M. [LoN]Kamikaze schrieb: >BTW, rc.subr only loads rc.conf if it hasn't already been loaded. > > > From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 20:31:10 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C17A316A47C for ; Tue, 20 Jun 2006 20:31:10 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBA7C43D92 for ; Tue, 20 Jun 2006 20:30:50 +0000 (GMT) (envelope-from zbeeble@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1500247uge for ; Tue, 20 Jun 2006 13:30:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=IZvwqj5dMis+Ct2VU70LcCP8rnz84bmg8tu9VNlMW68dFtUvIXjJE4hq/+y2mhXXkLNryxZqumpXhVc8uC7gaOFzRQ05hgh28ZsdZzlHi7w1TTdLoVi683AIczhb0d6LsSF/TnjgG6lWmHB3bdxzmwhvMwxbpYgRrqxt73Q4xo8= Received: by 10.67.97.7 with SMTP id z7mr6984853ugl; Tue, 20 Jun 2006 13:30:48 -0700 (PDT) Received: by 10.67.96.5 with HTTP; Tue, 20 Jun 2006 13:30:48 -0700 (PDT) Message-ID: <5f67a8c40606201330q68dba20cyd36f83b5a57e2322@mail.gmail.com> Date: Tue, 20 Jun 2006 16:30:48 -0400 From: "Zaphod Beeblebrox" To: "Todor Dragnev" In-Reply-To: MIME-Version: 1.0 References: <200606191738.43641.todor.dragnev@gmail.com> <20060619181451.GC4027@odin.ac.hmc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: bridge.ko, sysctrl.conf and ifconfig_XXX_name, SCSI as a boot device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 20:31:10 -0000 On 6/19/06, Todor Dragnev wrote: > > Thanks, I will use if_bridge from now. > > Anyone have ideas about second problem? Maybe I must remove "device usb" > from GENERIC config and recompile kernel ? This really is an FAQ. There are many ways. You can use the device.hintsfile to tie down where scsibus0 goes so that your SCSI disks are probed first. You can dynamically load umass.ko when you're using it. You can also take advantage of geom_label.ko (if you create labels on your filesystems (tunefs -L foo /dev/da0s1a, etc), then /dev/ufs/foo will appear. If you used almost any geom class, actually, the name of the disk gets virtualized to some extent. From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 21:05:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A978D16A47A for ; Tue, 20 Jun 2006 21:05:03 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4866C43D6E for ; Tue, 20 Jun 2006 21:05:01 +0000 (GMT) (envelope-from pbowen@fastmail.fm) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 498C3D7FE41 for ; Tue, 20 Jun 2006 17:05:00 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by frontend3.internal (MEProxy); Tue, 20 Jun 2006 17:05:04 -0400 X-Sasl-enc: ymhmePGYcBaeogJWcIOrJvqub4oOkD9KNJqxdf4P63Cp 1150837501 Received: from [192.168.1.87] (unknown [205.246.14.234]) by mail.messagingengine.com (Postfix) with ESMTP id EB8D27FF8 for ; Tue, 20 Jun 2006 17:04:59 -0400 (EDT) Message-ID: <449862F4.7090207@fastmail.fm> Date: Tue, 20 Jun 2006 16:04:52 -0500 From: Patrick Bowen User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: if_ndis for Marvell X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 21:05:03 -0000 Hello: I have two questions. The first regards support for the Broadcom BCM94318 wireless LAN adapter. When trying to compile the module for if_ndis using bcmwl5.inf and bcmwl5.sys, I get the following error; In file included from /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66: @/sys/bus.h:461:23: device_if.h: No such file or directory @/sys/bus.h:462:20: bus_if.h: No such file or directory In file included from /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75: @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or directory Have these three files been removed from the source tree? Second, while googling for info on FreeBSD drivers for the Marvell Semiconductor 88E8036 Yukon PCI-E fast ethernet controller, I found reference to a if_myk.ko module, which I also don't find in the source tree. (pertinent information) [pbowen@sg1 ~]$ uname -a FreeBSD sg1.sgc.org 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 [pbowen@sg1 ~]$ pciconf -lv ... none3@pci2:0:0: class=0x020000 card=0x0365107b chip=0x435111ab rev=0x10 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = '88E8036 Yukon PCI-E Fast Ethernet Controller' class = network subclass = ethernet none4@pci6:4:0: class=0x028000 card=0x000617f9 chip=0x431814e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' class = network ... Any pointers, help, or explainations would be greatly appreciated. TIA, Patrick From owner-freebsd-stable@FreeBSD.ORG Tue Jun 20 22:47:59 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F9E816A479 for ; Tue, 20 Jun 2006 22:47:59 +0000 (UTC) (envelope-from plosher-keyword-freebsd.a36e57@plosh.net) Received: from luftpost.plosh.net (luftpost.plosh.net [204.152.186.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id B435E43D69 for ; Tue, 20 Jun 2006 22:47:58 +0000 (GMT) (envelope-from plosher-keyword-freebsd.a36e57@plosh.net) Received: by luftpost.plosh.net (Postfix, from userid 1001) id B9410328ED; Tue, 20 Jun 2006 15:48:00 -0700 (PDT) Received: from [204.152.187.37] (tardis.isc.org [204.152.187.37]) by luftpost.plosh.net (tmda-ofmipd) with ESMTP; Tue, 20 Jun 2006 15:47:57 -0700 (PDT) Message-ID: <44987B15.7060006@plosh.net> Date: Tue, 20 Jun 2006 15:47:49 -0700 User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060530) MIME-Version: 1.0 To: Andrew Li References: <448E4A88.2000102@plosh.net> <20060615003009.GU6198@andrew> In-Reply-To: <20060615003009.GU6198@andrew> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3C5F752B66E1BE70D69E577B" X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Peter Losher Cc: freebsd-stable@freebsd.org Subject: Re: 'make release' questions... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 22:47:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3C5F752B66E1BE70D69E577B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Andrew Li wrote: >> First, is there any way to instruct 'make release' to just build certa= in >> packages (and their dependencies) for inclusion in the release instead= >> of a blanket NOPORTS? There's no need for us spend two/three days >=20 >>From my experience with playing with make release, you can do it. > First build your packages with "make package" or "pkg_create" to get a = > package tarball. Then put the packages into your_path/release/R/cdrom/d= isc1 > into a directory call "packages". Create the package directory structur= e, > like packages/All, packages/your_package_category, ...=20 O.k. did that (and generated a new INDEX file using scrubindex.pl) However in sysinstall, after selecting the packages and selecting "Install" it remarks that: "This is disc 1. Package $package_name is on Disc 0. Would you like to switch discs now?" Disk 0? > After that, modify the INDEX file so it only contain your packages=20 > (plus dependencies). Then run mkisomages.sh to create your ISO. So I have used scrubindex.pl to generate a INDEX of just our packages, however, I have to generate a new master INDEX-6 file to account for the fact that we build our packages w/o x11 support and with GSSAPI. (so scrubindex.pl can then strip the rest out) However after a 'make index' things like mtr-nox11 are included into INDEX-6, but not openssh-gssapi? The only difference is that the -gssapi moniker is declared as a GSSAPI_SUFFIX make varaible vs. the normal PKGNAMESUFFIX. I'll send a version of this email to ports@ to get their input. > That's all from memory, may contain rough edges, hope it helps anyway. Thanks... The base release is done, it's just the pesky frills that take forever to resolve... :) Best Wishes - Peter --------------enig3C5F752B66E1BE70D69E577B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFEmHsauffIhmkXw7kRAqSIAJ9ueM33q4rN7hZFHSFsGKwNtXWxEgCcDAKS MghaCdfIn4bCQrvnW70RE/k= =VdaP -----END PGP SIGNATURE----- --------------enig3C5F752B66E1BE70D69E577B-- From owner-freebsd-stable@FreeBSD.ORG Wed Jun 21 00:00:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B147116A4C8 for ; Wed, 21 Jun 2006 00:00:42 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2537F43D62 for ; Wed, 21 Jun 2006 00:00:38 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so31810nzi for ; Tue, 20 Jun 2006 17:00:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=ETZwVlxLb3JIz5hbCiYPlqQ7BpKgNSqtkjVLD7S47sB0EOuZLI/6A1ZdB7WafPv7sPBV2mTVJGgV8NsrGG3E4mcsG7dmu5k/kTwq1aqjxU8DLIkSVCVQi84XGeSpfCuYJYucSGtAu7X7/N39vlfDGwgeX93/caEpWGqqeLE/Ii8= Received: by 10.37.14.27 with SMTP id r27mr42541nzi; Tue, 20 Jun 2006 17:00:37 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 7sm75963nzn.2006.06.20.17.00.35; Tue, 20 Jun 2006 17:00:37 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id k5L00wh4013285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Jun 2006 09:00:58 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k5L00ueQ013284; Wed, 21 Jun 2006 09:00:56 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 21 Jun 2006 09:00:56 +0900 From: Pyun YongHyeon To: Patrick Bowen Message-ID: <20060621000056.GA13097@cdnetworks.co.kr> References: <449862F4.7090207@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <449862F4.7090207@fastmail.fm> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: if_ndis for Marvell X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 00:00:42 -0000 On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote: > Hello: > > I have two questions. > > The first regards support for the Broadcom BCM94318 wireless LAN > adapter. When trying to compile the module for if_ndis using bcmwl5.inf > and bcmwl5.sys, I get the following error; > > In file included from > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66: > @/sys/bus.h:461:23: device_if.h: No such file or directory > @/sys/bus.h:462:20: bus_if.h: No such file or directory > In file included from > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75: > @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or directory > > Have these three files been removed from the source tree? > > Second, while googling for info on FreeBSD drivers for the Marvell > Semiconductor 88E8036 Yukon PCI-E fast ethernet controller, I found > reference to a if_myk.ko module, which I also don't find in the source tree. > http://lists.freebsd.org/pipermail/freebsd-net/2006-January/009543.html It seems that the driver is not stable but it's the only driver for Yukon II. -- Regards, Pyun YongHyeon From owner-freebsd-stable@FreeBSD.ORG Wed Jun 21 01:04:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 765D016A479 for ; Wed, 21 Jun 2006 01:04:23 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07F9643D45 for ; Wed, 21 Jun 2006 01:04:22 +0000 (GMT) (envelope-from pbowen@fastmail.fm) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 911FDD803D8 for ; Tue, 20 Jun 2006 21:04:20 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by frontend3.internal (MEProxy); Tue, 20 Jun 2006 21:04:24 -0400 X-Sasl-enc: zLWMKWSQCKyk63TX6/nU0S77RSttfbE4QlbWSQ8DugOl 1150851862 Received: from [192.168.1.88] (unknown [205.246.14.234]) by mail.messagingengine.com (Postfix) with ESMTP id 6F13EB43 for ; Tue, 20 Jun 2006 21:04:18 -0400 (EDT) Message-ID: <44989B07.6080404@fastmail.fm> Date: Tue, 20 Jun 2006 20:04:07 -0500 From: Patrick Bowen User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <449862F4.7090207@fastmail.fm> <20060621000056.GA13097@cdnetworks.co.kr> In-Reply-To: <20060621000056.GA13097@cdnetworks.co.kr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: if_ndis for Marvell X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 01:04:23 -0000 Pyun YongHyeon wrote: >On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote: > > Hello: > > > > I have two questions. > > > > The first regards support for the Broadcom BCM94318 wireless LAN > > adapter. When trying to compile the module for if_ndis using bcmwl5.inf > > and bcmwl5.sys, I get the following error; > > > > In file included from > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66: > > @/sys/bus.h:461:23: device_if.h: No such file or directory > > @/sys/bus.h:462:20: bus_if.h: No such file or directory > > In file included from > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75: > > @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or directory > > > > Have these three files been removed from the source tree? > > > > Second, while googling for info on FreeBSD drivers for the Marvell > > Semiconductor 88E8036 Yukon PCI-E fast ethernet controller, I found > > reference to a if_myk.ko module, which I also don't find in the source tree. > > > >http://lists.freebsd.org/pipermail/freebsd-net/2006-January/009543.html > >It seems that the driver is not stable but it's the only driver >for Yukon II. > > Thanks! That takes care of the wired connection. Now all I have to do is get the wireless to work. Regarding the original subject line, the "ndis" was, of course, for the Broadcom device. I tried a different .inf file after googling some more (bcmwl5a.inf), and this time I was able to produce an if_ndis.ko file. I loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip, zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be doing something wrong... Patrick From owner-freebsd-stable@FreeBSD.ORG Wed Jun 21 06:54:37 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAC4E16A479 for ; Wed, 21 Jun 2006 06:54:37 +0000 (UTC) (envelope-from ianchov@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 160E843D46 for ; Wed, 21 Jun 2006 06:54:36 +0000 (GMT) (envelope-from ianchov@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1686548uge for ; Tue, 20 Jun 2006 23:54: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:in-reply-to:mime-version:content-type:references; b=syACjoPj15ebivrOo9iXV5gW4eK/oT8DbZtpO4a/ck5hmszpq12dhgvKj0ttl1bQwkUUcrNwDdN4k1B6gb6zTMGyTnNrzYab8Lppm/tMUmnA80Izr6IkZxNujY8vucTlJ7jXMh04xKRaE580gOp7gGPHRk4o248gdSMEencG8+E= Received: by 10.78.23.16 with SMTP id 16mr3159316huw; Tue, 20 Jun 2006 23:48:09 -0700 (PDT) Received: by 10.78.23.7 with HTTP; Tue, 20 Jun 2006 23:48:09 -0700 (PDT) Message-ID: <18e02bd30606202348w5d11a09bqd5e9418d2ed7b577@mail.gmail.com> Date: Wed, 21 Jun 2006 09:48:09 +0300 From: "Iantcho Vassilev" To: "freebsd-stable@freebsd.org" In-Reply-To: <449837BB.5070202@gmx.de> MIME-Version: 1.0 References: <449823A0.2020602@gmx.de> <44982538.3000807@gmx.de> <4498275F.3060901@gmx.de> <44982C57.9040301@gmx.de> <449837BB.5070202@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 06:54:38 -0000 On 6/20/06, M.Hirsch wrote: > > Another problem solved :) > > So when my script overwrote rc.conf, the file was already loaded and > thus overwriting it had no effect. > That's why it didn't work. (not with "BEFORE: initrandom" either). > > This must have changed somewhen between 6.0 and 6-STABLE because it did > work in 6.0. > > Thanks vm. > > I'm going to publish a "freebsd 6 remote deployment" article on my blog > after I got it working 100%. > There really don't seem to be any good and recent guides for that out > there... Looking for that..... From owner-freebsd-stable@FreeBSD.ORG Wed Jun 21 07:08:17 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61FBC16A502; Wed, 21 Jun 2006 07:08:17 +0000 (UTC) (envelope-from frank@pinky.sax.de) Received: from pinky.frank-behrens.de (pinky.frank-behrens.de [82.139.199.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73D6243D49; Wed, 21 Jun 2006 07:08:16 +0000 (GMT) (envelope-from frank@pinky.sax.de) Received: from [192.168.20.32] (sun.behrens [192.168.20.32]) by pinky.frank-behrens.de (8.13.6/8.13.4) with ESMTP id k5L78BhS099516; Wed, 21 Jun 2006 09:08:11 +0200 (CEST) (envelope-from frank@pinky.sax.de) Message-Id: <200606210708.k5L78BhS099516@pinky.frank-behrens.de> From: "Frank Behrens" To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Date: Wed, 21 Jun 2006 09:08:24 +0200 MIME-Version: 1.0 Priority: normal In-reply-to: <20060320013605.GA75153@cdnetworks.co.kr> References: <200603171426.k2HEQJ9L085859@pinky.frank-behrens.de> X-mailer: Pegasus Mail for Windows (4.31, DE v4.31 R1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Cc: pyunyh@gmail.com Subject: Re: call for sk(4) testers X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 07:08:17 -0000 [ This is a crosspost, because it's meant as a kind of announcement, not to discuss this topic in two lists. ] I want to thank Pyun YongHyeon for his great work on sk(4) driver. In the past I had a lot of trouble with "watchdog timeouts", but this seems to be solved now. Pyun YongHyeon improved the driver continuously and sent me a lot of patches in the last months. I saw it was not easy to fix the problem. Now I'm happy to say, that IMHO FreeBSD HEAD and RELENG_6 contain the best sk(4) driver ever - the dog watching the time is quiet. :-) Regards, Frank -- Frank Behrens, Osterwieck, Germany PGP-key 0x5B7C47ED on public servers available. From owner-freebsd-stable@FreeBSD.ORG Wed Jun 21 09:13:55 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F2F916A4A6 for ; Wed, 21 Jun 2006 09:13:55 +0000 (UTC) (envelope-from valqk@lozenetz.org) Received: from logos.webreality.org (logos.webreality.org [80.72.64.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 830AC43D80 for ; Wed, 21 Jun 2006 09:13:46 +0000 (GMT) (envelope-from valqk@lozenetz.org) Received: from [192.168.15.38] (host80.cnsys.bg [213.16.36.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by logos.webreality.org (Postfix) with ESMTP id CCF09C9535 for ; Wed, 21 Jun 2006 12:20:14 +0300 (EEST) Message-ID: <44990EC1.5050206@lozenetz.org> Date: Wed, 21 Jun 2006 12:17:53 +0300 From: Anton - Valqk User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-webreality-MailScanner-Information: Please contact the ISP for more information X-webreality-MailScanner: Found to be clean X-webreality-MailScanner-From: valqk@lozenetz.org Cc: Subject: if_ndis values setting problem. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 09:13:55 -0000 Hello there, I have problem setting params to the if_ndis card. I'm using asus wl138g which is marvel chipset card. I've compiled the driver using ndisgen and the dmesg says the card is ok. When I try to do ifconfig ndis0 ssid SESS .... etc (with wep 128bit encryption) the led on the card blinks for a second and after that nothing happens. The ssid is empty, the encryption is WEP and all the values seems to be ok. #>ifconfig ndis0 ssid MYSESS nwkey ...key here... mode shared Any ideas how ot fix that? I'm using fbsd-stable. 10x in advance! -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-stable@FreeBSD.ORG Wed Jun 21 12:42:02 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D877616A49A for ; Wed, 21 Jun 2006 12:42:01 +0000 (UTC) (envelope-from gexlie@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 A45324461B for ; Wed, 21 Jun 2006 12:17:05 +0000 (GMT) (envelope-from gexlie@gmail.com) Received: by py-out-1112.google.com with SMTP id m51so2381831pye for ; Wed, 21 Jun 2006 05:17:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=P/u6QL9hWJE5essE+H28rTWYBRcDnH2oVqLhGZDeMdjxC1j1FYUEIxZlONkOUoqypKjuuxQ1JI5IzQQ27JfB4am8YgD0MJUgwX2jm8WnPvAZIl88v3onSv8vSu1Xn9vvgkGQYQ/1DVDuCxkdctJJuupQCIHp/Q8k1y6mF338Of0= Received: by 10.35.106.15 with SMTP id i15mr10943640pym; Wed, 21 Jun 2006 05:15:20 -0700 (PDT) Received: by 10.35.100.8 with HTTP; Wed, 21 Jun 2006 05:15:19 -0700 (PDT) Message-ID: <53cc795f0606210515q1d6411a6v4a783bc9eed1e284@mail.gmail.com> Date: Wed, 21 Jun 2006 16:15:19 +0400 From: sekes To: "Frank Behrens" In-Reply-To: <200606210708.k5L78BhS099516@pinky.frank-behrens.de> MIME-Version: 1.0 References: <200603171426.k2HEQJ9L085859@pinky.frank-behrens.de> <20060320013605.GA75153@cdnetworks.co.kr> <200606210708.k5L78BhS099516@pinky.frank-behrens.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: pyunyh@gmail.com, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: call for sk(4) testers X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 12:42:03 -0000 cool. many thanks to you ;-) On 6/21/06, Frank Behrens wrote: > > [ This is a crosspost, because it's meant as a kind of announcement, not > to discuss this topic > in two lists. ] > > I want to thank Pyun YongHyeon for his great work on sk(4) driver. In the > past I had a lot of > trouble with "watchdog timeouts", but this seems to be solved now. Pyun > YongHyeon > improved the driver continuously and sent me a lot of patches in the last > months. I saw it was > not easy to fix the problem. > > Now I'm happy to say, that IMHO FreeBSD HEAD and RELENG_6 contain the best > sk(4) > driver ever - the dog watching the time is quiet. :-) > > Regards, > Frank > -- > Frank Behrens, Osterwieck, Germany > PGP-key 0x5B7C47ED on public servers available. > > _______________________________________________ > 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-stable@FreeBSD.ORG Wed Jun 21 13:04:55 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D9B016A474 for ; Wed, 21 Jun 2006 13:04:55 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D101543D4C for ; Wed, 21 Jun 2006 13:04:54 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Ft2O5-000OAS-A8 for freebsd-stable@freebsd.org; Wed, 21 Jun 2006 16:04:53 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Jun 2006 16:04:53 +0300 From: Danny Braniss Message-ID: Subject: hp-dx5150/panic on boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 13:04:55 -0000 hi, this box (HP-dx5150/amd dual core) panics with panic: ohci_add_done: addr 0x000cdc30 not found in both 32/64bit mode with a very resent 6.1. the verbose boot is in: ftp://ftp/users/danny/freebsd/hp-dx5150.cons thanks, danny From owner-freebsd-stable@FreeBSD.ORG Wed Jun 21 18:33:53 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D984716A474; Wed, 21 Jun 2006 18:33:53 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 202C143D46; Wed, 21 Jun 2006 18:33:52 +0000 (GMT) (envelope-from mb@imp.ch) Received: from godot.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.7/8.13.7/Submit) with ESMTP id k5LIXlkJ098629; Wed, 21 Jun 2006 20:33:50 +0200 (CEST) (envelope-from mb@imp.ch) Date: Wed, 21 Jun 2006 20:33:47 +0200 (CEST) From: Martin Blapp To: freebsd-stable@freebsd.org Message-ID: <20060621202508.S17514@godot.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 157.161.9.65 Cc: rwatson@freebsd.org, Patrick Guelat Subject: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 18:33:53 -0000 Hi Robert and others, I just upgraded from 5.5 (stable btw.) to 6.1 and after 10 hours I got a nice panic. Does this look like some tty problem ? This is the machine which made that many problems with PREEMTION enabled in earlier releases of 5.x. Is it possible that I'm hitting now again the same bugs or is it clearly a tty related problem ? kgdb /var/core/kernel.debug /var/core/vmcore.6 #0 0xc0663002 in doadump () #1 0xc066355e in boot () #2 0xc06638b5 in panic () #3 0xc085c6b6 in trap_fatal () #4 0xc085c3bf in trap_pfault () #5 0xc085bfb5 in trap () #6 0xc0848bea in calltrap () #7 0xc0693b51 in ttymodem () #8 0xc0698362 in ptcclose () #9 0xc0638a6f in giant_close () #10 0xc06162bf in devfs_close () #11 0xc086dc1c in VOP_CLOSE_APV () #12 0xc06c87e2 in vn_close () #13 0xc06c974a in vn_closefile () #14 0xc06162e7 in devfs_close_f () #15 0xc0642cdc in fdrop_locked () #16 0xc0642c29 in fdrop () #17 0xc06411c7 in closef () #18 0xc063e329 in close () #19 0xc085c9f7 in syscall () #20 0xc0848c3f in Xint0x80_syscall () #21 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) Unfortunaltly I get this with the debug kernel. Does one have to boot with the debug.kernel itself to get a trace which is usable ? kgdb /var/core/kernel.debug /var/core/vmcore.6 kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) kgdb: kvm_read: invalid address (0x21) Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Wed Jun 21 18:43:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6571916A474; Wed, 21 Jun 2006 18:43:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1EAC43D45; Wed, 21 Jun 2006 18:43:18 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 6E27D46BA4; Wed, 21 Jun 2006 14:43:15 -0400 (EDT) Date: Wed, 21 Jun 2006 19:43:15 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Martin Blapp In-Reply-To: <20060621202508.S17514@godot.imp.ch> Message-ID: <20060621193941.Y8526@fledge.watson.org> References: <20060621202508.S17514@godot.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Patrick Guelat , freebsd-stable@freebsd.org, dunstan@FreeBSD.org Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 18:43:19 -0000 On Wed, 21 Jun 2006, Martin Blapp wrote: > I just upgraded from 5.5 (stable btw.) to 6.1 and after 10 hours I got a > nice panic. Does this look like some tty problem ? It looks like a tty or devfs problem. > This is the machine which made that many problems with PREEMTION enabled in > earlier releases of 5.x. Is it possible that I'm hitting now again the same > bugs or is it clearly a tty related problem ? I'm not sure there's evidence it's caused by preemption, but it's not impossible that preemption makes it more likely to happen, or facilitates it happening on non-SMP systems. Wojciech Koszek has recently been looking into devfs-related races that trigger for pty's, which could be relevant to what you're seeing, so I've CC'd him. Robert N M Watson Computer Laboratory University of Cambridge > > kgdb /var/core/kernel.debug /var/core/vmcore.6 > > #0 0xc0663002 in doadump () > #1 0xc066355e in boot () > #2 0xc06638b5 in panic () > #3 0xc085c6b6 in trap_fatal () > #4 0xc085c3bf in trap_pfault () > #5 0xc085bfb5 in trap () > #6 0xc0848bea in calltrap () > #7 0xc0693b51 in ttymodem () > #8 0xc0698362 in ptcclose () > #9 0xc0638a6f in giant_close () > #10 0xc06162bf in devfs_close () > #11 0xc086dc1c in VOP_CLOSE_APV () > #12 0xc06c87e2 in vn_close () > #13 0xc06c974a in vn_closefile () > #14 0xc06162e7 in devfs_close_f () > #15 0xc0642cdc in fdrop_locked () > #16 0xc0642c29 in fdrop () > #17 0xc06411c7 in closef () > #18 0xc063e329 in close () > #19 0xc085c9f7 in syscall () > #20 0xc0848c3f in Xint0x80_syscall () > #21 0x00000033 in ?? () > Previous frame inner to this frame (corrupt stack?) > > Unfortunaltly I get this with the debug kernel. > Does one have to boot with the debug.kernel itself > to get a trace which is usable ? > > kgdb /var/core/kernel.debug /var/core/vmcore.6 > > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > kgdb: kvm_read: invalid address (0x21) > > Martin Blapp, > ------------------------------------------------------------------ > ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH > Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 > PGP: > PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E > ------------------------------------------------------------------ > From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 02:41:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3849D16A47A for ; Thu, 22 Jun 2006 02:41:23 +0000 (UTC) (envelope-from djp@polands.org) Received: from corinth.polands.org (CPE-72-129-222-120.new.res.rr.com [72.129.222.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C78143D46 for ; Thu, 22 Jun 2006 02:41:20 +0000 (GMT) (envelope-from djp@polands.org) Received: from jericho.polands.org (jericho.polands.org [172.16.1.35]) by corinth.polands.org (8.13.6/8.13.6) with ESMTP id k5M2fJaP024697 for ; Wed, 21 Jun 2006 21:41:19 -0500 (CDT) (envelope-from djp@polands.org) Received: from jericho.polands.org (localhost [127.0.0.1]) by jericho.polands.org (8.13.6/8.13.6) with ESMTP id k5M2fJHS034830 for ; Wed, 21 Jun 2006 21:41:19 -0500 (CDT) (envelope-from djp@jericho.polands.org) Received: (from djp@localhost) by jericho.polands.org (8.13.6/8.13.6/Submit) id k5M2fIKR034829 for freebsd-stable@freebsd.org; Wed, 21 Jun 2006 21:41:18 -0500 (CDT) (envelope-from djp) Date: Wed, 21 Jun 2006 21:41:18 -0500 From: Doug Poland To: freebsd-stable@freebsd.org Message-ID: <20060622024118.GA34796@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV 0.87/1559/Wed Jun 21 09:23:13 2006 on corinth.polands.org X-Virus-Status: Clean Subject: Upgrading i386 box from 5.5-STABLE to 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 02:41:23 -0000 Hello, I'm in the middle of an attempt to upgrade an i386 box from 5.5-STABLE to 6.1-STABLE. Just in case it's apropos, the box was recently upgraded from 5.2.1-RELEASE to 5.5-STABLE. I am following the handbook's "The Canonical Way to Update Your System" and have sucessfully cvsup'd RELENG_6 and run make buildworld. The problem I'm having is during make buildkernel. This is the error: /usr/src/sys/dev/mii/dcphy.c: In function `dcphy_attach': /usr/src/sys/dev/mii/dcphy.c:172: error: `DC_PCI_CSID' undeclared (first use in this function) /usr/src/sys/dev/mii/dcphy.c:172: error: (Each undeclared identifier is reported only once /usr/src/sys/dev/mii/dcphy.c:172: error: for each function it appears in.) *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I've read /usr/src/UPDATING, google'd and searched the web but to no avail. Any help would be appreciated. -- Regards, Doug From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 02:57:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 795F516A47A for ; Thu, 22 Jun 2006 02:57:23 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from ms-smtp-01.rdc-nyc.rr.com (ms-smtp-01.rdc-nyc.rr.com [24.29.109.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B934143D45 for ; Thu, 22 Jun 2006 02:57:22 +0000 (GMT) (envelope-from scottro@nyc.rr.com) Received: from localhost (cpe-68-175-68-211.nyc.res.rr.com [68.175.68.211]) by ms-smtp-01.rdc-nyc.rr.com (8.13.6/8.13.6) with ESMTP id k5M2vK43024599 for ; Wed, 21 Jun 2006 22:57:21 -0400 (EDT) Date: Wed, 21 Jun 2006 22:57:20 -0400 From: Scott Robbins To: freebsd-stable@freebsd.org Message-ID: <20060622025720.GA36546@mail.scottro.net> Mail-Followup-To: freebsd-stable@freebsd.org References: <20060622024118.GA34796@polands.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20060622024118.GA34796@polands.org> User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: Upgrading i386 box from 5.5-STABLE to 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 02:57:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Jun 21, 2006 at 09:41:18PM -0500, Doug Poland wrote: > Hello, > > I'm in the middle of an attempt to upgrade an i386 box from 5.5-STABLE > to 6.1-STABLE. Just in case it's apropos, the box was recently upgraded > from 5.2.1-RELEASE to 5.5-STABLE. > > I am following the handbook's "The Canonical Way to Update Your System" > and have sucessfully cvsup'd RELENG_6 and run make buildworld. > > The problem I'm having is during make buildkernel. This is the error: > > > /usr/src/sys/dev/mii/dcphy.c: In function `dcphy_attach': > /usr/src/sys/dev/mii/dcphy.c:172: error: `DC_PCI_CSID' undeclared (first use in this function) > /usr/src/sys/dev/mii/dcphy.c:172: error: (Each undeclared identifier is reported only once > /usr/src/sys/dev/mii/dcphy.c:172: error: for each function it appears in.) > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. I just ran into the same problem, upgrading a 6.1 box that was last upgraded a few weeks ago. I hadn't posted because I was hoping to test another box tomorrow to see if it was just that one machine, nor had I had time to do any serious troubleshooting. Not that this helps, but at least you know you're not alone, and the problem isn't necessarily limited to a 5.x-6.x upgrade. > > I've read /usr/src/UPDATING, google'd and searched the web but to no avail. > Any help would be appreciated. I don't think we've missed anything in UPDATING (but I've been wrong about that before.) :) - -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Willow: The school paper is edging on depressing lately. Have you guys noticed that? Oz: I don't know. I always go straight to the obits. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEmgcQ+lTVdes0Z9YRAgYiAJ98+sE0RK7iG0kBBU+jHwePsRMZYwCfYQz0 KkTEx05cBTJDZbp7T6Mnhsw= =JYRX -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 03:07:13 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5742616A47D for ; Thu, 22 Jun 2006 03:07:13 +0000 (UTC) (envelope-from vyeperman@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9831C43D46 for ; Thu, 22 Jun 2006 03:07:12 +0000 (GMT) (envelope-from vyeperman@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so310936nzi for ; Wed, 21 Jun 2006 20:07: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:in-reply-to:mime-version:content-type:references; b=jx2ojyFJ142+Wbz/foWyEKrkabPwIwuRkw4ymiH2SYGg7Q8QQWt0iGXLS6bSkGHhJt0fAQ4X2tGQ4i4l7JSjDpTPQUzqtgEY4qLPZPqqhl3mcYejAlXMHMf7Pwfws99jqCSOjNzs7IuV6lCX9QnhgfW9IEm3QIn1GZmOVy3DYrc= Received: by 10.36.247.57 with SMTP id u57mr1255534nzh; Wed, 21 Jun 2006 20:07:12 -0700 (PDT) Received: by 10.36.56.4 with HTTP; Wed, 21 Jun 2006 20:07:12 -0700 (PDT) Message-ID: <6c3c36d00606212007g43647eb4ye06e770b4d1957a3@mail.gmail.com> Date: Wed, 21 Jun 2006 20:07:12 -0700 From: "Vye Wilson" To: freebsd-stable@freebsd.org In-Reply-To: <20060622024118.GA34796@polands.org> MIME-Version: 1.0 References: <20060622024118.GA34796@polands.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Upgrading i386 box from 5.5-STABLE to 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 03:07:13 -0000 Hey, I am also having this problem on 6.1-STABLE FreeBSD amd64. I haven't made any major changes on this server and recently I started getting core dumps, so I figured after looking at /usr/src/UPDATING and checking the mailing list I could sync it up and hope for the best... I get this error when building my kernel /usr/src/sys/dev/mii/dcphy.c: In function `dcphy_attach': /usr/src/sys/dev/mii/dcphy.c:172: error: `DC_PCI_CSID' undeclared (first use in this function) /usr/src/sys/dev/mii/dcphy.c:172: error: (Each undeclared identifier is reported only once /usr/src/sys/dev/mii/dcphy.c:172: error: for each function it appears in.) *** Error code 1 Stop in /usr/obj/usr/src/sys/GIGAKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Here is a diff of my kernel from GENERIC diff GIGAKERNEL GENERIC 30,36d29 < # Firewall Options < options IPFILTER # IPFilter support < options IPFILTER_LOG # IPFilter logging support < options IPFILTER_DEFAULT_BLOCK # Block all packets by default < < < options QUOTA # QUOTA! Thanks in advance On 6/21/06, Doug Poland wrote: > > Hello, > > I'm in the middle of an attempt to upgrade an i386 box from 5.5-STABLE > to 6.1-STABLE. Just in case it's apropos, the box was recently upgraded > from 5.2.1-RELEASE to 5.5-STABLE. > > I am following the handbook's "The Canonical Way to Update Your System" > and have sucessfully cvsup'd RELENG_6 and run make buildworld. > > The problem I'm having is during make buildkernel. This is the error: > > > /usr/src/sys/dev/mii/dcphy.c: In function `dcphy_attach': > /usr/src/sys/dev/mii/dcphy.c:172: error: `DC_PCI_CSID' undeclared (first > use in this function) > /usr/src/sys/dev/mii/dcphy.c:172: error: (Each undeclared identifier is > reported only once > /usr/src/sys/dev/mii/dcphy.c:172: error: for each function it appears in.) > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > I've read /usr/src/UPDATING, google'd and searched the web but to no > avail. > Any help would be appreciated. > > > -- > Regards, > Doug > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- --Vye From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 03:20:00 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B97016A474 for ; Thu, 22 Jun 2006 03:20:00 +0000 (UTC) (envelope-from djp@polands.org) Received: from corinth.polands.org (CPE-72-129-222-120.new.res.rr.com [72.129.222.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7AAD43D55 for ; Thu, 22 Jun 2006 03:19:59 +0000 (GMT) (envelope-from djp@polands.org) Received: from jericho.polands.org (jericho.polands.org [172.16.1.35]) by corinth.polands.org (8.13.6/8.13.6) with ESMTP id k5M3Jwv2024823 for ; Wed, 21 Jun 2006 22:19:58 -0500 (CDT) (envelope-from djp@polands.org) Received: from jericho.polands.org (localhost [127.0.0.1]) by jericho.polands.org (8.13.6/8.13.6) with ESMTP id k5M3JwLr035021 for ; Wed, 21 Jun 2006 22:19:58 -0500 (CDT) (envelope-from djp@jericho.polands.org) Received: (from djp@localhost) by jericho.polands.org (8.13.6/8.13.6/Submit) id k5M3JwG3035020 for freebsd-stable@freebsd.org; Wed, 21 Jun 2006 22:19:58 -0500 (CDT) (envelope-from djp) Date: Wed, 21 Jun 2006 22:19:58 -0500 From: Doug Poland To: freebsd-stable@freebsd.org Message-ID: <20060622031958.GA35002@polands.org> References: <20060622024118.GA34796@polands.org> <20060622025720.GA36546@mail.scottro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060622025720.GA36546@mail.scottro.net> User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV 0.87/1559/Wed Jun 21 09:23:13 2006 on corinth.polands.org X-Virus-Status: Clean Subject: Re: Upgrading i386 box from 5.5-STABLE to 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 03:20:00 -0000 On Wed, Jun 21, 2006 at 10:57:20PM -0400, Scott Robbins wrote: > On Wed, Jun 21, 2006 at 09:41:18PM -0500, Doug Poland wrote: > > Hello, > > > > I'm in the middle of an attempt to upgrade an i386 box from 5.5-STABLE > > to 6.1-STABLE. Just in case it's apropos, the box was recently upgraded > > from 5.2.1-RELEASE to 5.5-STABLE. > > > > /usr/src/sys/dev/mii/dcphy.c: In function `dcphy_attach': > > /usr/src/sys/dev/mii/dcphy.c:172: error: `DC_PCI_CSID' undeclared (first use in this function) > > /usr/src/sys/dev/mii/dcphy.c:172: error: (Each undeclared identifier is reported only once > > /usr/src/sys/dev/mii/dcphy.c:172: error: for each function it appears in.) > > *** Error code 1 > > > > I just ran into the same problem, upgrading a 6.1 box that was last > upgraded a few weeks ago. > > I hadn't posted because I was hoping to test another box tomorrow to > see if it was just that one machine, nor had I had time to do any > serious troubleshooting. > > Not that this helps, but at least you know you're not alone, and the > problem isn't necessarily limited to a 5.x-6.x upgrade. > Curious development. I'm actually doing this on two different machines, and one box failed, hence the post. The box that failed retrieved sources from cvsup15.freebsd.org 21 Jun 2006 16:11 CDT. The box that just finished make buildkernel got it's sources from cvsup8.us.freebsd.org at 21 Jun 2006 19:06 CDT. I'm gonna re-cvsup from cvsup8.us.freebsd and try again. IIRC, I've had problems with cvsup15.freebsd.org in the past. -- Regards, Doug From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 03:20:43 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B84916A474 for ; Thu, 22 Jun 2006 03:20:43 +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 053E543D53 for ; Thu, 22 Jun 2006 03:20:40 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k5M3KXdM014466; Wed, 21 Jun 2006 21:20:39 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <449A0C7F.70301@samsco.org> Date: Wed, 21 Jun 2006 21:20:31 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Poland References: <20060622024118.GA34796@polands.org> In-Reply-To: <20060622024118.GA34796@polands.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-stable@freebsd.org Subject: Re: Upgrading i386 box from 5.5-STABLE to 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 03:20:43 -0000 Doug Poland wrote: > Hello, > > I'm in the middle of an attempt to upgrade an i386 box from 5.5-STABLE > to 6.1-STABLE. Just in case it's apropos, the box was recently upgraded > from 5.2.1-RELEASE to 5.5-STABLE. > > I am following the handbook's "The Canonical Way to Update Your System" > and have sucessfully cvsup'd RELENG_6 and run make buildworld. > > The problem I'm having is during make buildkernel. This is the error: > > > /usr/src/sys/dev/mii/dcphy.c: In function `dcphy_attach': > /usr/src/sys/dev/mii/dcphy.c:172: error: `DC_PCI_CSID' undeclared (first use in this function) > /usr/src/sys/dev/mii/dcphy.c:172: error: (Each undeclared identifier is reported only once > /usr/src/sys/dev/mii/dcphy.c:172: error: for each function it appears in.) > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > I've read /usr/src/UPDATING, google'd and searched the web but to no avail. > Any help would be appreciated. > > An incomplete and untested commit was done to the stable branch. I'll fix it as soon as I have the patch tested. Scott From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 03:22:35 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCC7C16A474 for ; Thu, 22 Jun 2006 03:22:35 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from ms-smtp-02.rdc-nyc.rr.com (ms-smtp-02.rdc-nyc.rr.com [24.29.109.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6830B43D53 for ; Thu, 22 Jun 2006 03:22:35 +0000 (GMT) (envelope-from scottro@nyc.rr.com) Received: from localhost (cpe-68-175-68-211.nyc.res.rr.com [68.175.68.211]) by ms-smtp-02.rdc-nyc.rr.com (8.13.6/8.13.6) with ESMTP id k5M3MXS7003061 for ; Wed, 21 Jun 2006 23:22:34 -0400 (EDT) Date: Wed, 21 Jun 2006 23:22:33 -0400 From: Scott Robbins To: freebsd-stable@freebsd.org Message-ID: <20060622032233.GA43304@mail.scottro.net> Mail-Followup-To: freebsd-stable@freebsd.org References: <20060622024118.GA34796@polands.org> <6c3c36d00606212007g43647eb4ye06e770b4d1957a3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <6c3c36d00606212007g43647eb4ye06e770b4d1957a3@mail.gmail.com> User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: Upgrading i386 box from 5.5-STABLE to 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 03:22:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Jun 21, 2006 at 08:07:12PM -0700, Vye Wilson wrote: > Hey, > > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GIGAKERNEL. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Here is a diff of my kernel from GENERIC > > diff GIGAKERNEL GENERIC > 30,36d29 > < # Firewall Options > < options IPFILTER # IPFilter support > < options IPFILTER_LOG # IPFilter logging support > < options IPFILTER_DEFAULT_BLOCK # Block all packets by default > < > < > < options QUOTA # QUOTA! > > Thanks in advance I should have added that mine is a standard single processor i386 architecture, and that after I first got the error with a custom kernel, I got the same error using GENERIC. - -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Angel: It's complicated how this all happened, Buffy, you know. It's kind of a long story. Buffy: Your new sidekick had a vision, I was in it, you came to Sunnydale? Angel: Okay, maybe not that long. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEmgz5+lTVdes0Z9YRAnZcAJwKm7Byi6vnb/HF+Oh5qtWK1x+qQQCgqkYr bajuPu9luseVKUInAnBe5J4= =fHSd -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 04:54:31 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E95216A47A for ; Thu, 22 Jun 2006 04:54:31 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACC2543DA4 for ; Thu, 22 Jun 2006 04:54:23 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k5M4sGHu082076 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Jun 2006 14:24:17 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Thu, 22 Jun 2006 14:24:06 +0930 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2864263.d5seoyaOTj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606221424.14380.doconnor@gsoft.com.au> X-Spam-Score: -1.36 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Subject: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 04:54:31 -0000 --nextPart2864263.d5seoyaOTj Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have 2 Asus A8V motherboards running FreeBSD 6.0 and 6.1 (amd64) and I se= e=20 the following in dmesg.. sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acp= i0 sio0: type 16550A sio1: configured irq 4 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 sio1: type 16550A The ports are enabled in the BIOS and do seem to work.. mostly. I have had = odd=20 problems trying to talk to stuff connected to the on occasion though. I have another [custom] driver that is based on sio.c and it shows the same= =20 warning (it is a PCI RS485 card). I have tried playing with various ACPI & ATPIC settings in the BIOS but no= =20 change. If I disable ACPI in the kernel the IDE driver fails to activate it= 's=20 IRQ and then panics a bit later... I have updated to the latest BIOS but it had made no change. Hmm actually I just looked through the code.. It appears that this happens= =20 because isa_irq_pending() is a noop unless isa is in the kernel, and it isn= 't=20 in GENERIC. Perhaps those tests in sio.c should be conditionalised on isa=20 too? =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2864263.d5seoyaOTj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEmiJ25ZPcIHs/zowRAv0uAJ4qUTEo0pMnw3tOFOpP49Vsj5n5mACgkiUT 81ue+TGFGKtpPLkkvU4ynbU= =c15Q -----END PGP SIGNATURE----- --nextPart2864263.d5seoyaOTj-- From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 05:23:10 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 533D216A47A for ; Thu, 22 Jun 2006 05:23:10 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F1034467D for ; Thu, 22 Jun 2006 05:23:09 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k5M5N7E9082565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Jun 2006 14:53:08 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Thu, 22 Jun 2006 14:53:04 +0930 User-Agent: KMail/1.9.3 References: <200606221424.14380.doconnor@gsoft.com.au> In-Reply-To: <200606221424.14380.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1881842.Jl3SDcfxq8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606221453.05404.doconnor@gsoft.com.au> X-Spam-Score: -1.36 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 05:23:10 -0000 --nextPart1881842.Jl3SDcfxq8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 22 June 2006 14:24, Daniel O'Connor wrote: > Hmm actually I just looked through the code.. It appears that this happens > because isa_irq_pending() is a noop unless isa is in the kernel, and it > isn't in GENERIC. Perhaps those tests in sio.c should be conditionalised = on > isa too? =2E. although adding ISA to the kernel config made no difference to message= =20 displayed. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1881842.Jl3SDcfxq8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEmik55ZPcIHs/zowRAhyEAJ93oFg+6caLQg+hDRhTwgpTSBgsIwCghWyl aeld7rTyJf4dbU46CmG4MRI= =l6aa -----END PGP SIGNATURE----- --nextPart1881842.Jl3SDcfxq8-- From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 05:41:36 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDF0316A47B for ; Thu, 22 Jun 2006 05:41:36 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DE7F43D53 for ; Thu, 22 Jun 2006 05:41:36 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1FtHwd-0005Y9-GR for freebsd-stable@freebsd.org; Thu, 22 Jun 2006 08:41:35 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-stable@freebsd.org In-reply-to: Your message of Wed, 21 Jun 2006 16:04:53 +0300 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Jun 2006 08:41:35 +0300 From: Danny Braniss Message-ID: Subject: Re: hp-dx5150/panic on boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 05:41:36 -0000 > hi, > this box (HP-dx5150/amd dual core) panics with > panic: ohci_add_done: addr 0x000cdc30 not found > in both 32/64bit mode with a very resent 6.1. > the verbose boot is in: > ftp://ftp/users/danny/freebsd/hp-dx5150.cons sould be: ftp://ftp.cs.huji.ac.il/users/danny/freebsd/hp-dx5150.cons > > thanks, > danny From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 06:55:10 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6ED916A47A for ; Thu, 22 Jun 2006 06:55:10 +0000 (UTC) (envelope-from vyeperman@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2529544617 for ; Thu, 22 Jun 2006 06:55:10 +0000 (GMT) (envelope-from vyeperman@gmail.com) Received: by nz-out-0102.google.com with SMTP id i28so325070nzi for ; Wed, 21 Jun 2006 23:55:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=CDT7r8LitKDn9lgVF1rxz5AwIiOCbYHrapx7JeLCYHa35AMG9NpKLbl5hZH1Pby6D+yxzknh1vhMxUwqABcCCqzJAB6QbuHaH6up8630wMCzZBgyI7t1DQnHd4WvIQ7he9Uhd6uG/OaNv9mf9H9lEK+CcQHliaE5T+9xa0zYrq8= Received: by 10.36.227.78 with SMTP id z78mr1512292nzg; Wed, 21 Jun 2006 23:55:09 -0700 (PDT) Received: by 10.36.56.4 with HTTP; Wed, 21 Jun 2006 23:55:09 -0700 (PDT) Message-ID: <6c3c36d00606212355m4104f2eej5904a9c4df14a1ec@mail.gmail.com> Date: Wed, 21 Jun 2006 23:55:09 -0700 From: "Vye Wilson" To: freebsd-stable@freebsd.org In-Reply-To: <20060622032233.GA43304@mail.scottro.net> MIME-Version: 1.0 References: <20060622024118.GA34796@polands.org> <6c3c36d00606212007g43647eb4ye06e770b4d1957a3@mail.gmail.com> <20060622032233.GA43304@mail.scottro.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Upgrading i386 box from 5.5-STABLE to 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 06:55:10 -0000 Update: I synced up to cvsup4.us.freebsd.org at around 11:45 PST and my kernel built fine. On 6/21/06, Scott Robbins wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, Jun 21, 2006 at 08:07:12PM -0700, Vye Wilson wrote: > > Hey, > > > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/GIGAKERNEL. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > > > Here is a diff of my kernel from GENERIC > > > > diff GIGAKERNEL GENERIC > > 30,36d29 > > < # Firewall Options > > < options IPFILTER # IPFilter support > > < options IPFILTER_LOG # IPFilter logging support > > < options IPFILTER_DEFAULT_BLOCK # Block all packets by default > > < > > < > > < options QUOTA # QUOTA! > > > > Thanks in advance > > I should have added that mine is a standard single processor i386 > architecture, and that after I first got the error with a custom kernel, > I got the same error using GENERIC. > > > - -- > > Scott Robbins > > PGP keyID EB3467D6 > ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) > gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 > > Angel: It's complicated how this all happened, Buffy, you > know. It's kind of a long story. > Buffy: Your new sidekick had a vision, I was in it, you came to > Sunnydale? > Angel: Okay, maybe not that long. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (FreeBSD) > > iD8DBQFEmgz5+lTVdes0Z9YRAnZcAJwKm7Byi6vnb/HF+Oh5qtWK1x+qQQCgqkYr > bajuPu9luseVKUInAnBe5J4= > =fHSd > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- --Vye From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 07:43:40 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 319C516A474 for ; Thu, 22 Jun 2006 07:43:40 +0000 (UTC) (envelope-from johan@stromnet.org) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB68A43D53 for ; Thu, 22 Jun 2006 07:43:39 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from elfi.stromnet.org (213.67.205.103) by pne-smtpout1-sn2.hy.skanova.net (7.2.072.1) id 4499398D000379B8 for freebsd-stable@freebsd.org; Thu, 22 Jun 2006 09:43:38 +0200 Received: from localhost (localhost [127.0.0.1]) by elfi.stromnet.org (Postfix) with ESMTP id 2F50361CBF for ; Thu, 22 Jun 2006 09:43:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at stromnet.org Received: from elfi.stromnet.org ([127.0.0.1]) by localhost (elfi.stromnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id szMxnD226KG7 for ; Thu, 22 Jun 2006 09:43:36 +0200 (CEST) Received: from [IPv6:2001:16d8:ff20:2:211:24ff:fea2:8e01] (unknown [IPv6:2001:16d8:ff20:2:211:24ff:fea2:8e01]) by elfi.stromnet.org (Postfix) with ESMTP id C969A61C3A for ; Thu, 22 Jun 2006 09:43:35 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v750) Content-Transfer-Encoding: quoted-printable Message-Id: Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: freebsd-stable@freebsd.org From: =?ISO-8859-1?Q?Johan_Str=F6m?= Date: Thu, 22 Jun 2006 09:44:19 +0200 X-Mailer: Apple Mail (2.750) Subject: maxproc limit exceeded by uid 0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 07:43:40 -0000 Hi Today I woke up and was not able to log in to my system (ssh). Some =20 stuff worked (DNS for example, this box runs bind), altough the IMAP =20 server didnt work to well... Anyway, I checked out local console: maxproc limit exceeded by uid 0, please see tuning(7) and login.conf(5). Repeated 23 times... I was not able to do anything, neither local or remote, ACPI didnt =20 work very well except for giving me acpi: suspend request ignored (not ready yet) the second time I pressed the power button... So a hard reboot it was. Anyway.. I'm using default login.conf, which have unlimited for all =20 resource limits.. So wtf is this? As far as I know there shouldnt be any processes running away but you =20= never know... The only thing would be a "umount -f /some/nfs" and a =20 "df -h" running (the umount as root) but both hanged since the NFS =20 volume was unreachable, but why would this fork like this? Dunno what more info could be useable, doesnt have much more in logs... Str=F6m= From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 08:25:26 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6F7716A4E0 for ; Thu, 22 Jun 2006 08:25:26 +0000 (UTC) (envelope-from johan@stromnet.org) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F4CB445CB for ; Thu, 22 Jun 2006 08:06:59 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from elfi.stromnet.org (213.67.205.103) by pne-smtpout1-sn2.hy.skanova.net (7.2.072.1) id 4499398D0003992F for freebsd-stable@freebsd.org; Thu, 22 Jun 2006 10:06:58 +0200 Received: from localhost (localhost [127.0.0.1]) by elfi.stromnet.org (Postfix) with ESMTP id 37C2661D41 for ; Thu, 22 Jun 2006 10:06:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at stromnet.org Received: from elfi.stromnet.org ([127.0.0.1]) by localhost (elfi.stromnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uPHF36SRp4qT for ; Thu, 22 Jun 2006 10:06:58 +0200 (CEST) Received: from [IPv6:2001:16d8:ff20:2:211:24ff:fea2:8e01] (unknown [IPv6:2001:16d8:ff20:2:211:24ff:fea2:8e01]) by elfi.stromnet.org (Postfix) with ESMTP id 007C161D31 for ; Thu, 22 Jun 2006 10:06:57 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: <449A4D78.5000106@gmx.de> References: <449A4D78.5000106@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <6E52A605-0A6E-451B-AC25-33610E0D3838@stromnet.org> Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Johan_Str=F6m?= Date: Thu, 22 Jun 2006 10:07:42 +0200 To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.750) Subject: Re: maxproc limit exceeded by uid 0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 08:25:26 -0000 On 22 jun 2006, at 09.57, [LoN]Kamikaze wrote: > Johan Str=F6m wrote: >> Anyway.. I'm using default login.conf, which have unlimited for all >> resource limits.. So wtf is this? > > Look at > > # sysctl kern.maxproc Okay, 4096 procs... But what was those 4k procs...On my newly booted =20 i got 127... Well I guess there is now way to find out now.= From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 08:25:50 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E949216A543 for ; Thu, 22 Jun 2006 08:25:50 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 6B26A443C9 for ; Thu, 22 Jun 2006 07:58:02 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 22 Jun 2006 07:58:00 -0000 Received: from p54A7EDF0.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.237.240] by mail.gmx.net (mp035) with SMTP; 22 Jun 2006 09:58:00 +0200 X-Authenticated: #5465401 Message-ID: <449A4D78.5000106@gmx.de> Date: Thu, 22 Jun 2006 09:57:44 +0200 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5.0.4 (X11/20060605) MIME-Version: 1.0 To: =?UTF-8?B?Sm9oYW4gU3Ryw7Zt?= References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org Subject: Re: maxproc limit exceeded by uid 0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 08:25:51 -0000 Johan Ström wrote: > Anyway.. I'm using default login.conf, which have unlimited for all > resource limits.. So wtf is this? Look at # sysctl kern.maxproc From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 11:23:11 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A85FF16A474 for ; Thu, 22 Jun 2006 11:23:11 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp2.utsp.utwente.nl [130.89.2.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08D3B43D53 for ; Thu, 22 Jun 2006 11:23:10 +0000 (GMT) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id k5MBN18l012169; Thu, 22 Jun 2006 13:23:01 +0200 From: Pieter de Goeje To: freebsd-stable@freebsd.org Date: Thu, 22 Jun 2006 13:23:01 +0200 User-Agent: KMail/1.9.3 References: <200606221424.14380.doconnor@gsoft.com.au> In-Reply-To: <200606221424.14380.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606221323.01249.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 11:23:11 -0000 On Thursday 22 June 2006 06:54, Daniel O'Connor wrote: > I have 2 Asus A8V motherboards running FreeBSD 6.0 and 6.1 (amd64) and I > see the following in dmesg.. > > sio0: configured irq 3 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on > acpi0 sio0: type 16550A > sio1: configured irq 4 not in bitmap of probed irqs 0 > sio1: port may not be enabled > sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 > sio1: type 16550A I have the same board and it's also running FreeBSD 6.1 amd64: sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled Only the first port is enabled in the bios. > > The ports are enabled in the BIOS and do seem to work.. mostly. I have had > odd problems trying to talk to stuff connected to the on occasion though. Never had any problems with it. I use it for a serial console at 115200 baud. > > I have another [custom] driver that is based on sio.c and it shows the same > warning (it is a PCI RS485 card). > > I have tried playing with various ACPI & ATPIC settings in the BIOS but no > change. If I disable ACPI in the kernel the IDE driver fails to activate > it's IRQ and then panics a bit later... I booted once with ACPI disabled, all seemed to work except that it didn't detect the dual core cpu properly. > > I have updated to the latest BIOS but it had made no change. > > Hmm actually I just looked through the code.. It appears that this happens > because isa_irq_pending() is a noop unless isa is in the kernel, and it > isn't in GENERIC. Perhaps those tests in sio.c should be conditionalised on > isa too? AFAIK there's no such thing as a real ISA bus on amd64, including it in the kernel would make little sense. Pieter de Goeje From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 11:35:56 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6302316A474 for ; Thu, 22 Jun 2006 11:35:56 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0D2F43D55 for ; Thu, 22 Jun 2006 11:35:55 +0000 (GMT) (envelope-from mb@imp.ch) Received: from godot.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.7/8.13.7/Submit) with ESMTP id k5MBZoKH028905 for ; Thu, 22 Jun 2006 13:35:53 +0200 (CEST) (envelope-from mb@imp.ch) Date: Thu, 22 Jun 2006 13:35:50 +0200 (CEST) From: Martin Blapp To: freebsd-stable@freebsd.org In-Reply-To: <20060621202508.S17514@godot.imp.ch> Message-ID: <20060622133327.H17514@godot.imp.ch> References: <20060621202508.S17514@godot.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 157.161.9.65 Subject: Hardlock with Reboot option in beastie.4th X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 11:35:56 -0000 Hi, Yesterday I've installed 6.1. After rebooting, I got the beastie loader screen. I've typed 8 (reboot) to get into the raid bios again, but then the server freezed. Does this happen only to me or is it a common problem ? The server affected is a IBM 346 X-Series server with 2 CPUS. Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 12:35:37 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C806716A662 for ; Thu, 22 Jun 2006 12:35:36 +0000 (UTC) (envelope-from creep@desk.pl) Received: from hera.desk.pl (hera.desk.pl [195.137.189.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74F8F4455D for ; Thu, 22 Jun 2006 12:08:57 +0000 (GMT) (envelope-from creep@desk.pl) Received: from localhost (hera.local [127.0.0.1]) by hera.desk.pl (Postfix) with ESMTP id 89D6675C366 for ; Thu, 22 Jun 2006 14:08:53 +0200 (CEST) Received: from hera.desk.pl ([127.0.0.1]) by localhost (hera [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26473-10 for ; Thu, 22 Jun 2006 14:08:51 +0200 (CEST) Received: from [10.6.14.1] (sifr.dembego6.waw.pl [89.171.73.18]) by hera.desk.pl (Postfix) with ESMTP id 4DB8E75C365 for ; Thu, 22 Jun 2006 14:08:51 +0200 (CEST) Message-ID: <449A8834.10902@desk.pl> Date: Thu, 22 Jun 2006 14:08:20 +0200 From: Marcin Koziej User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Skaner Antywirusowy DESK.pl Subject: Poor swapping performance -- lot's of unused free memory. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 12:35:37 -0000 Hello, I use FreeBSD 6.1-STABLE #0: Mon Jun 12 18:00:56 CEST 2006 for a desktop (Launch several apps at the start and mostly nothing else, except when compiling). I've got 512 MB of ram. From some time, I've noticed poor swapping performance -- this can be very annoying when memory needs to be swapped in and the whole systems chokes on disk I/O. Most frequently when launching a big application or clicking on recently not used application window. What I notice, is that top(1) reports: 60 MB free, and 150 MB on the swap, which means these 60 mb are just sitting there doing nothing. I remember in older versions of FreeBSD tried to keep swap as little used as possible, leaving 3-4 mb ram free. This is just a feeling, of course, but it feels like it's slower now. Can anybody comment on this? Maybe there is a sysctl which can tune this ? (I've searched for such, but found nothing). Best regards, Marcin Koziej From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 14:43:08 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FC8C16A479 for ; Thu, 22 Jun 2006 14:43:08 +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 1E2B843D53 for ; Thu, 22 Jun 2006 14:43:07 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k5MEgxdJ079836; Thu, 22 Jun 2006 08:43:06 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <449AAC71.1020109@samsco.org> Date: Thu, 22 Jun 2006 08:42:57 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Poland References: <20060622024118.GA34796@polands.org> In-Reply-To: <20060622024118.GA34796@polands.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-stable@freebsd.org Subject: Re: Upgrading i386 box from 5.5-STABLE to 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 14:43:08 -0000 Doug Poland wrote: > Hello, > > I'm in the middle of an attempt to upgrade an i386 box from 5.5-STABLE > to 6.1-STABLE. Just in case it's apropos, the box was recently upgraded > from 5.2.1-RELEASE to 5.5-STABLE. > > I am following the handbook's "The Canonical Way to Update Your System" > and have sucessfully cvsup'd RELENG_6 and run make buildworld. > > The problem I'm having is during make buildkernel. This is the error: > > > /usr/src/sys/dev/mii/dcphy.c: In function `dcphy_attach': > /usr/src/sys/dev/mii/dcphy.c:172: error: `DC_PCI_CSID' undeclared (first use in this function) > /usr/src/sys/dev/mii/dcphy.c:172: error: (Each undeclared identifier is reported only once > /usr/src/sys/dev/mii/dcphy.c:172: error: for each function it appears in.) > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > I've read /usr/src/UPDATING, google'd and searched the web but to no avail. > Any help would be appreciated. > > The problem is fixed now. Doing a cvsup should get you going again. Scott From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 15:17:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15DED16A479 for ; Thu, 22 Jun 2006 15:17:18 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id A183A44606 for ; Thu, 22 Jun 2006 15:17:17 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 36C9A290C46 for ; Thu, 22 Jun 2006 12:17:16 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 96124-01 for ; Thu, 22 Jun 2006 12:17:16 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 67895290C35 for ; Thu, 22 Jun 2006 12:17:15 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 31A015C130; Thu, 22 Jun 2006 12:17:12 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 2BAAD48F63 for ; Thu, 22 Jun 2006 12:17:12 -0300 (ADT) Date: Thu, 22 Jun 2006 12:17:12 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-stable@freebsd.org Message-ID: <20060622121421.X1114@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: kern.ipc.maxpipekva ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 15:17:18 -0000 I've read the comments in /usr/src/sys/kern/sys_pipe.c, but couldn't see anything in there ... I'm up to 32M (as set through /boot/loader.conf) and am still hitting the max after a period of time (latest was 7 hours) ... Figuring that the last time I checked, I was using something like 7000 pipes, @ 16k each, I should be setting it closer to 128M, and that is assuming no 64k pipes ... So, is there an 'upper max' that it won't allow me to set it past? Thanks ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 15:43:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E8B716A47B for ; Thu, 22 Jun 2006 15:43:01 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D9B143D94 for ; Thu, 22 Jun 2006 15:42:59 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k5MFgeEU068210; Thu, 22 Jun 2006 10:42:40 -0500 (CDT) (envelope-from dan) Date: Thu, 22 Jun 2006 10:42:40 -0500 From: Dan Nelson To: Johan =?utf-8?B?U3Ryw7Zt?= Message-ID: <20060622154240.GK9539@dan.emsphone.com> References: <449A4D78.5000106@gmx.de> <6E52A605-0A6E-451B-AC25-33610E0D3838@stromnet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6E52A605-0A6E-451B-AC25-33610E0D3838@stromnet.org> X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: maxproc limit exceeded by uid 0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 15:43:01 -0000 In the last episode (Jun 22), Johan Strm said: > On 22 jun 2006, at 09.57, [LoN]Kamikaze wrote: > >Johan Ström wrote: > >>Anyway.. I'm using default login.conf, which have unlimited for all > >>resource limits.. So wtf is this? > > > >Look at > > > ># sysctl kern.maxproc > > Okay, 4096 procs... But what was those 4k procs...On my newly booted > i got 127... Well I guess there is now way to find out now. If it ever happens again, you can drop to the debugger with Ctrl-Alt-ESC and run "ps" to get a list of running processes. You might even be able to recover by killing some offending processes with "kill 9 ", then continue with "c". -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 15:58:08 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDD8416A479 for ; Thu, 22 Jun 2006 15:58:08 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CCE943D58 for ; Thu, 22 Jun 2006 15:58:08 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k5MFvkdG099601; Thu, 22 Jun 2006 10:57:46 -0500 (CDT) (envelope-from dan) Date: Thu, 22 Jun 2006 10:57:46 -0500 From: Dan Nelson To: Marcin Koziej Message-ID: <20060622155746.GL9539@dan.emsphone.com> References: <449A8834.10902@desk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <449A8834.10902@desk.pl> X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: Poor swapping performance -- lot's of unused free memory. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 15:58:08 -0000 In the last episode (Jun 22), Marcin Koziej said: > I use FreeBSD 6.1-STABLE #0: Mon Jun 12 18:00:56 CEST 2006 for a > desktop (Launch several apps at the start and mostly nothing else, > except when compiling). I've got 512 MB of ram. > > From some time, I've noticed poor swapping performance -- this can be > very annoying when memory needs to be swapped in and the whole > systems chokes on disk I/O. Most frequently when launching a big > application or clicking on recently not used application window. > > What I notice, is that top(1) reports: 60 MB free, and 150 MB on the > swap, which means these 60 mb are just sitting there doing nothing. I > remember in older versions of FreeBSD tried to keep swap as little > used as possible, leaving 3-4 mb ram free. This is just a feeling, of > course, but it feels like it's slower now. That 60MB might be free due to a large process that recently exited; you'd have to run top for a while and see what the trends are. Note that if you're asking for freebsd to pre-emptively pull some stuff back into RAM from swap, there's no way for the OS to know which blocks will be needed, if any. That 150MB swap might be truly unused data in long-lived processes that will never get swapped back in, in which case it's better for the system to leave that 60MB alone, for disk cache or memory for new processes. > Can anybody comment on this? Maybe there is a sysctl which can tune > this ? (I've searched for such, but found nothing). Putting swap on a different disk from the rest of the OS should help. It's probably jumping between the swap partition and your filesystem, alternately paging in private data from swap and shared library/executable code from /usr. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 16:24:34 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C43FC16A479 for ; Thu, 22 Jun 2006 16:24:34 +0000 (UTC) (envelope-from cs@schug.net) Received: from schug.net (schug.net [195.27.130.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DAFA44317 for ; Thu, 22 Jun 2006 16:24:34 +0000 (GMT) (envelope-from cs@schug.net) Received: by schug.net (Postfix, from userid 10000) id A6027C56A8; Thu, 22 Jun 2006 18:25:08 +0200 (CEST) Date: Thu, 22 Jun 2006 18:25:08 +0200 From: Christoph Schug To: "M.Hirsch" Message-ID: <20060622162508.GA30833@voodoo.schug.net> References: <449823A0.2020602@gmx.de> <44982538.3000807@gmx.de> <4498275F.3060901@gmx.de> <20060620165237.GA10659@odin.ac.hmc.edu> <44982927.7050101@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44982927.7050101@gmx.de> User-Agent: Mutt/1.4.2.1i Organization: SpaceNet AG Cc: freebsd-stable@freebsd.org Subject: Re: Question about current rc scripts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 16:24:34 -0000 On Tue, Jun 20, 2006, M.Hirsch wrote: > As stated in my initial post, I used "BEFORE: rcconf" up to and > including 6.0. > > So what is an "appropriate BEFORE entry" for 6-STABLE? This might be a crude hack but _should_ (untested) work. What about wrapping rcorder like this ... /usr/local/sbin/rcorder.local | #!/bin/sh | echo '/very/first/rcscript' | exec /sbin/rcorder "$@" and inject it using an alias in rc.conf rc.conf: : | alias rcorder='/usr/local/sbin/rcorder.local' : Since /very/first/rcscript will be called during system shutdown as well, it might be reasonable to have a 'faststart' case statement in place | case "$1" in | faststart ) ... ;; | esac Hope this helps (and actually works) -cs From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 16:28:26 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56A5816A4A9 for ; Thu, 22 Jun 2006 16:28:26 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from mail11.simplicato.com (host70.simplicato.com [207.99.47.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC0FD43F64 for ; Thu, 22 Jun 2006 16:04:22 +0000 (GMT) (envelope-from scottro@nyc.rr.com) Received: from mail11.simplicato.com (localhost.simplicato.com [127.0.0.1]) by mail11.simplicato.com (Postfix) with ESMTP id 74204D46A31 for ; Thu, 22 Jun 2006 12:04:14 -0400 (EDT) Received: from uws1.starlofashions.com (unknown [12.44.50.124]) by mail11.simplicato.com (Postfix) with ESMTP id 1D44DD47A68 for ; Thu, 22 Jun 2006 12:04:14 -0400 (EDT) Received: by uws1.starlofashions.com (sSMTP sendmail emulation); Thu, 22 Jun 2006 12:04:18 -0400 Date: Thu, 22 Jun 2006 12:04:18 -0400 From: Scott Robbins To: freebsd-stable@freebsd.org Message-ID: <20060622160418.GA26947@uws1.starlofashions.com> Mail-Followup-To: freebsd-stable@freebsd.org References: <20060622024118.GA34796@polands.org> <449AAC71.1020109@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <449AAC71.1020109@samsco.org> User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: Re: Upgrading i386 box from 5.5-STABLE to 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 16:28:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Jun 22, 2006 at 08:42:57AM -0600, Scott Long wrote: > Doug Poland wrote: > >I am following the handbook's "The Canonical Way to Update Your System" > >and have sucessfully cvsup'd RELENG_6 and run make buildworld. > >The problem I'm having is during make buildkernel. This is the error: > >/usr/src/sys/dev/mii/dcphy.c: In function `dcphy_attach': > >/usr/src/sys/dev/mii/dcphy.c:172: error: `DC_PCI_CSID' undeclared (first > >use in this function) > >/usr/src/sys/dev/mii/dcphy.c:172: error: (Each undeclared identifier is > >reported only once > >/usr/src/sys/dev/mii/dcphy.c:172: error: for each function it appears > >in.) > >*** Error code 1 > >Stop in /usr/obj/usr/src/sys/GENERIC. > > The problem is fixed now. Doing a cvsup should get you going again. > > Scott Thanks for your quick work--I tried an upgrade this morning and it went without problems. Thank you. - -- Scott GPG KeyID EB3467D6 ( 1B848 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Buffy: Mom, dead people are talking to you. Do the math! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEmr+C+lTVdes0Z9YRAna7AJ9sAC3rFX4f80IOwxgurdpdLvNQRQCfXKK8 k1nGVOOkmOaBXIk9N6rGTMw= =AQRj -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 16:28:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 933D016A4A7 for ; Thu, 22 Jun 2006 16:28:29 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F27E43F5E for ; Thu, 22 Jun 2006 16:04:19 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 4F45F290C46; Thu, 22 Jun 2006 13:04:18 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 00289-10; Thu, 22 Jun 2006 13:04:18 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 964C8290C35; Thu, 22 Jun 2006 13:04:16 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 78B46492D4; Thu, 22 Jun 2006 13:04:15 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 70E5A46E19; Thu, 22 Jun 2006 13:04:15 -0300 (ADT) Date: Thu, 22 Jun 2006 13:04:15 -0300 (ADT) From: "Marc G. Fournier" To: Dan Nelson In-Reply-To: <20060622154240.GK9539@dan.emsphone.com> Message-ID: <20060622130122.V1114@ganymede.hub.org> References: <449A4D78.5000106@gmx.de> <6E52A605-0A6E-451B-AC25-33610E0D3838@stromnet.org> <20060622154240.GK9539@dan.emsphone.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1784715966-1150992255=:1114" Cc: Johan =?utf-8?B?U3Ryw7Zt?= , freebsd-stable@freebsd.org Subject: Re: maxproc limit exceeded by uid 0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 16:28:29 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1784715966-1150992255=:1114 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 22 Jun 2006, Dan Nelson wrote: > In the last episode (Jun 22), Johan Strm said: >> On 22 jun 2006, at 09.57, [LoN]Kamikaze wrote: >>> Johan Str=C3=B6m wrote: >>>> Anyway.. I'm using default login.conf, which have unlimited for all >>>> resource limits.. So wtf is this? >>> >>> Look at >>> >>> # sysctl kern.maxproc >> >> Okay, 4096 procs... But what was those 4k procs...On my newly booted >> i got 127... Well I guess there is now way to find out now. > > If it ever happens again, you can drop to the debugger with > Ctrl-Alt-ESC and run "ps" to get a list of running processes. You > might even be able to recover by killing some offending processes with > "kill 9 ", then continue with "c". Actually, I got this here today on my 6-STABLE box ... in my case, maxproc= =20 is 6164, but mine started with the maxpipekva errors in=20 /var/log/messsages, and then wen to maxproc also: Jun 22 11:00:01 pluto kernel: fxp0: promiscuous mode enabled Jun 22 11:00:01 pluto kernel: kern.ipc.maxpipekva exceeded; see tuning(7) Jun 22 11:00:04 pluto kernel: kern.ipc.maxpipekva exceeded; see tuning(7) Jun 22 11:02:00 pluto last message repeated 2 times Jun 22 11:12:00 pluto last message repeated 26 times Jun 22 11:22:33 pluto last message repeated 38 times Jun 22 11:30:00 pluto last message repeated 46 times Jun 22 11:30:00 pluto kernel: maxproc limit exceeded by uid 0, please see t= uning(7) and login.conf(5). Jun 22 11:30:01 pluto kernel: fxp0: promiscuous mode disabled I just raised my maxpipekva to 64M .. see if it doesn't lock up yet again .= =2E. Oh, and with all vServers running on this machine, I have, right now: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D kern.ipc.maxpipekva: 67108864 - kern.ipc.pipekva: 39698432 running processes: 1549 ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 --0-1784715966-1150992255=:1114-- From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 16:28:32 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4DF516A588 for ; Thu, 22 Jun 2006 16:28:32 +0000 (UTC) (envelope-from johan@stromnet.org) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DA0D43F8A for ; Thu, 22 Jun 2006 16:04:58 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from elfi.stromnet.org (213.67.205.103) by pne-smtpout1-sn2.hy.skanova.net (7.2.072.1) id 449A7EFE000114DC; Thu, 22 Jun 2006 18:04:51 +0200 Received: from localhost (localhost [127.0.0.1]) by elfi.stromnet.org (Postfix) with ESMTP id 6748F61D47; Thu, 22 Jun 2006 18:04:50 +0200 (CEST) X-Virus-Scanned: amavisd-new at stromnet.org Received: from elfi.stromnet.org ([127.0.0.1]) by localhost (elfi.stromnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M4lnzpeIJrvk; Thu, 22 Jun 2006 18:04:49 +0200 (CEST) Received: from [IPv6:2001:16d8:ff20:2:211:24ff:fea2:8e01] (unknown [IPv6:2001:16d8:ff20:2:211:24ff:fea2:8e01]) by elfi.stromnet.org (Postfix) with ESMTP id CF7C661D43; Thu, 22 Jun 2006 18:04:49 +0200 (CEST) In-Reply-To: <20060622154240.GK9539@dan.emsphone.com> References: <449A4D78.5000106@gmx.de> <6E52A605-0A6E-451B-AC25-33610E0D3838@stromnet.org> <20060622154240.GK9539@dan.emsphone.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: =?ISO-8859-1?Q?Johan_Str=F6m?= Date: Thu, 22 Jun 2006 18:05:33 +0200 To: Dan Nelson X-Mailer: Apple Mail (2.750) Cc: freebsd-stable@freebsd.org Subject: Re: maxproc limit exceeded by uid 0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 16:28:33 -0000 On 22 jun 2006, at 17.42, Dan Nelson wrote: > > If it ever happens again, you can drop to the debugger with > Ctrl-Alt-ESC and run "ps" to get a list of running processes. You > might even be able to recover by killing some offending processes with > "kill 9 ", then continue with "c". > Hm, I tried this on a 6.1 GENERIC box just now, ctrl-alt-esc doesnt seem to give me any debugger... I suppose I have to recompile with DDB for this? Is this recommended for servers where I normally dont need DDB? Johan From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 16:35:45 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF87916A479 for ; Thu, 22 Jun 2006 16:35:45 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D74043D55 for ; Thu, 22 Jun 2006 16:35:45 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 749B65DF9; Thu, 22 Jun 2006 12:35:44 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O2zxw+3nvRsB; Thu, 22 Jun 2006 12:35:41 -0400 (EDT) Received: from [192.168.1.251] (pool-68-160-201-170.ny325.east.verizon.net [68.160.201.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 732165D3A; Thu, 22 Jun 2006 12:35:41 -0400 (EDT) Message-ID: <449AC6D2.5020601@mac.com> Date: Thu, 22 Jun 2006 12:35:30 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: "Marc G. Fournier" References: <20060622121421.X1114@ganymede.hub.org> In-Reply-To: <20060622121421.X1114@ganymede.hub.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: kern.ipc.maxpipekva ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 16:35:45 -0000 Marc G. Fournier wrote: [ ... ] > Figuring that the last time I checked, I was using something like 7000 > pipes, @ 16k each, I should be setting it closer to 128M, and that is > assuming no 64k pipes ... > > So, is there an 'upper max' that it won't allow me to set it past? Read "man tuning" about KVA. -- -Chuck From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 16:46:17 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B67416A479 for ; Thu, 22 Jun 2006 16:46:17 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33EFE43D55 for ; Thu, 22 Jun 2006 16:46:16 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k5MGjvuF095966; Thu, 22 Jun 2006 11:45:57 -0500 (CDT) (envelope-from dan) Date: Thu, 22 Jun 2006 11:45:57 -0500 From: Dan Nelson To: Johan =?utf-8?B?U3Ryw7Zt?= Message-ID: <20060622164557.GA74589@dan.emsphone.com> References: <449A4D78.5000106@gmx.de> <6E52A605-0A6E-451B-AC25-33610E0D3838@stromnet.org> <20060622154240.GK9539@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: maxproc limit exceeded by uid 0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 16:46:17 -0000 In the last episode (Jun 22), Johan Strm said: > On 22 jun 2006, at 17.42, Dan Nelson wrote: > > If it ever happens again, you can drop to the debugger with > > Ctrl-Alt-ESC and run "ps" to get a list of running processes. You > > might even be able to recover by killing some offending processes > > with "kill 9 ", then continue with "c". > > Hm, I tried this on a 6.1 GENERIC box just now, ctrl-alt-esc doesnt > seem to give me any debugger... I suppose I have to recompile with > DDB for this? Is this recommended for servers where I normally dont > need DDB? Right; DDB isn't in GENERIC. The problem with not including DDB on servers you don't think you'll need it on is: the one time you need it, it's not there :) -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 16:51:21 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79AB716A481 for ; Thu, 22 Jun 2006 16:51:21 +0000 (UTC) (envelope-from johan@stromnet.org) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 596B843D5D for ; Thu, 22 Jun 2006 16:50:48 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from elfi.stromnet.org (213.67.205.103) by pne-smtpout1-sn2.hy.skanova.net (7.2.072.1) id 449A7EFE000139DD; Thu, 22 Jun 2006 18:50:39 +0200 Received: from localhost (localhost [127.0.0.1]) by elfi.stromnet.org (Postfix) with ESMTP id 30AE461D43; Thu, 22 Jun 2006 18:50:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at stromnet.org Received: from elfi.stromnet.org ([127.0.0.1]) by localhost (elfi.stromnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DwT6LlcEqh+G; Thu, 22 Jun 2006 18:50:36 +0200 (CEST) Received: from [IPv6:2001:16d8:ff20:2:211:24ff:fea2:8e01] (unknown [IPv6:2001:16d8:ff20:2:211:24ff:fea2:8e01]) by elfi.stromnet.org (Postfix) with ESMTP id D4CB561D31; Thu, 22 Jun 2006 18:50:35 +0200 (CEST) In-Reply-To: <20060622164557.GA74589@dan.emsphone.com> References: <449A4D78.5000106@gmx.de> <6E52A605-0A6E-451B-AC25-33610E0D3838@stromnet.org> <20060622154240.GK9539@dan.emsphone.com> <20060622164557.GA74589@dan.emsphone.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: =?ISO-8859-1?Q?Johan_Str=F6m?= Date: Thu, 22 Jun 2006 18:51:19 +0200 To: Dan Nelson X-Mailer: Apple Mail (2.750) Cc: freebsd-stable@freebsd.org Subject: Re: maxproc limit exceeded by uid 0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 16:51:21 -0000 On 22 jun 2006, at 18.45, Dan Nelson wrote: > In the last episode (Jun 22), Johan Strm said: >> On 22 jun 2006, at 17.42, Dan Nelson wrote: >>> If it ever happens again, you can drop to the debugger with >>> Ctrl-Alt-ESC and run "ps" to get a list of running processes. You >>> might even be able to recover by killing some offending processes >>> with "kill 9 ", then continue with "c". >> >> Hm, I tried this on a 6.1 GENERIC box just now, ctrl-alt-esc doesnt >> seem to give me any debugger... I suppose I have to recompile with >> DDB for this? Is this recommended for servers where I normally dont >> need DDB? > > Right; DDB isn't in GENERIC. The problem with not including DDB on > servers you don't think you'll need it on is: the one time you need > it, it's not there :) Very true.. ;) But are there any reasons NOT to have it on my servers? -- Johan From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 17:43:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9690616A479 for ; Thu, 22 Jun 2006 17:43:03 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAE1344650 for ; Thu, 22 Jun 2006 17:42:56 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wx-out-0102.google.com with SMTP id h30so321996wxd for ; Thu, 22 Jun 2006 10:42:56 -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=hm9ILtQoSmKwv1/7Sn/7LpHFp6AvvgGRH0WTqBSRtjK+Q7gP2W+6wIXdIg1XbuSd5CWQ3tPN34+UBxyNaqHb4Rf+UYM+MrfBv/Fmd14VqRlGcHGgWnCR1G5i+KgXAP4ckKwvTzStHE5gz/ObxnMtBTyJqn8ZAMVJytOlhhPc9SA= Received: by 10.70.94.1 with SMTP id r1mr3491707wxb; Thu, 22 Jun 2006 10:42:56 -0700 (PDT) Received: by 10.70.54.4 with HTTP; Thu, 22 Jun 2006 10:42:56 -0700 (PDT) Message-ID: <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com> Date: Thu, 22 Jun 2006 12:42:56 -0500 From: "Scot Hetzel" To: "Patrick Bowen" In-Reply-To: <44989B07.6080404@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <449862F4.7090207@fastmail.fm> <20060621000056.GA13097@cdnetworks.co.kr> <44989B07.6080404@fastmail.fm> Cc: freebsd-stable@freebsd.org Subject: Re: if_ndis for Marvell X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 17:43:03 -0000 On 6/20/06, Patrick Bowen wrote: > Pyun YongHyeon wrote: > > >On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote: > > > Hello: > > > > > > I have two questions. > > > > > > The first regards support for the Broadcom BCM94318 wireless LAN > > > adapter. When trying to compile the module for if_ndis using bcmwl5.inf > > > and bcmwl5.sys, I get the following error; > > > > > > In file included from > > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66: > > > @/sys/bus.h:461:23: device_if.h: No such file or directory > > > @/sys/bus.h:462:20: bus_if.h: No such file or directory > > > In file included from > > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75: > > > @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or directory > > > > > > Have these three files been removed from the source tree? > > > > Thanks! That takes care of the wired connection. Now all I have to do is > get the wireless to work. > > Regarding the original subject line, the "ndis" was, of course, for the > Broadcom device. I tried a different .inf file after googling some more > (bcmwl5a.inf), and this time I was able to produce an if_ndis.ko file. I > loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip, > zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be > doing something wrong... > Did you use ndisgen to build the NDIS bcmwl5_sys.ko kernel module from the windows driver? bcmwl5_sys.ko is what you need to load to get your wireless card to work with the NDIS module. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 17:46:52 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9B5316A481 for ; Thu, 22 Jun 2006 17:46:52 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDB2C4470B for ; Thu, 22 Jun 2006 17:46:49 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 9AAE9290C46; Thu, 22 Jun 2006 14:46:47 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 17190-05; Thu, 22 Jun 2006 14:46:48 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 1019A290C35; Thu, 22 Jun 2006 14:46:47 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 4EF5A494E3; Thu, 22 Jun 2006 14:46:47 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 4DC7E3464E; Thu, 22 Jun 2006 14:46:47 -0300 (ADT) Date: Thu, 22 Jun 2006 14:46:47 -0300 (ADT) From: "Marc G. Fournier" To: Chuck Swiger In-Reply-To: <449AC6D2.5020601@mac.com> Message-ID: <20060622144626.A1114@ganymede.hub.org> References: <20060622121421.X1114@ganymede.hub.org> <449AC6D2.5020601@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: kern.ipc.maxpipekva ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 17:46:53 -0000 On Thu, 22 Jun 2006, Chuck Swiger wrote: > Marc G. Fournier wrote: > [ ... ] >> Figuring that the last time I checked, I was using something like 7000 >> pipes, @ 16k each, I should be setting it closer to 128M, and that is >> assuming no 64k pipes ... >> >> So, is there an 'upper max' that it won't allow me to set it past? > > Read "man tuning" about KVA. there is nothing in 'man tuning' about KVA :( I've tried searching for both upper and lower case ... nadda ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 18:57:27 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BDAA16A492; Thu, 22 Jun 2006 18:57:27 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51A0C449C1; Thu, 22 Jun 2006 18:57:26 +0000 (GMT) (envelope-from dunstan@freebsd.czest.pl) Received: from laptop.freebsd.czest.pl (gw98.internetdsl.tpnet.pl [80.53.74.98]) by freebsd.czest.pl (8.13.4/8.12.9) with ESMTP id k5MJC4rM053838; Thu, 22 Jun 2006 19:12:05 GMT (envelope-from dunstan@freebsd.czest.pl) Received: from laptop.freebsd.czest.pl (localhost [127.0.0.1]) by laptop.freebsd.czest.pl (8.13.6/8.13.6) with ESMTP id k5MKw7ld006661; Thu, 22 Jun 2006 20:58:07 GMT (envelope-from dunstan@laptop.freebsd.czest.pl) Received: (from dunstan@localhost) by laptop.freebsd.czest.pl (8.13.6/8.13.4/Submit) id k5MKw67i006660; Thu, 22 Jun 2006 20:58:06 GMT (envelope-from dunstan) Date: Thu, 22 Jun 2006 20:58:06 +0000 From: "Wojciech A. Koszek" To: Robert Watson Message-ID: <20060622205806.GA6542@FreeBSD.czest.pl> Mail-Followup-To: Robert Watson , Martin Blapp , Patrick Guelat , freebsd-stable@freebsd.org References: <20060621202508.S17514@godot.imp.ch> <20060621193941.Y8526@fledge.watson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060621193941.Y8526@fledge.watson.org> User-Agent: Mutt/1.5.11 X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (freebsd.czest.pl [80.48.250.4]); Thu, 22 Jun 2006 19:12:05 +0000 (UTC) Cc: freebsd-stable@freebsd.org, Martin Blapp , Patrick Guelat Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 18:57:27 -0000 On ¶ro, cze 21, 2006 at 07:43:15 +0100, Robert Watson wrote: > On Wed, 21 Jun 2006, Martin Blapp wrote: > > >I just upgraded from 5.5 (stable btw.) to 6.1 and after 10 hours I got a > >nice panic. Does this look like some tty problem ? > > It looks like a tty or devfs problem. > > >This is the machine which made that many problems with PREEMTION enabled > >in earlier releases of 5.x. Is it possible that I'm hitting now again the > >same bugs or is it clearly a tty related problem ? > > I'm not sure there's evidence it's caused by preemption, but it's not > impossible that preemption makes it more likely to happen, or facilitates > it happening on non-SMP systems. Wojciech Koszek has recently been looking > into devfs-related races that trigger for pty's, which could be relevant to > what you're seeing, so I've CC'd him. Robert, Thanks for CCing me, even with wrong address ;-) I'll look into that. > >kgdb /var/core/kernel.debug /var/core/vmcore.6 > > > >#0 0xc0663002 in doadump () > >#1 0xc066355e in boot () > >#2 0xc06638b5 in panic () > >#3 0xc085c6b6 in trap_fatal () > >#4 0xc085c3bf in trap_pfault () > >#5 0xc085bfb5 in trap () > >#6 0xc0848bea in calltrap () > >#7 0xc0693b51 in ttymodem () > >#8 0xc0698362 in ptcclose () > >#9 0xc0638a6f in giant_close () > >#10 0xc06162bf in devfs_close () > >#11 0xc086dc1c in VOP_CLOSE_APV () > >#12 0xc06c87e2 in vn_close () > >#13 0xc06c974a in vn_closefile () > >#14 0xc06162e7 in devfs_close_f () > >#15 0xc0642cdc in fdrop_locked () > >#16 0xc0642c29 in fdrop () > >#17 0xc06411c7 in closef () > >#18 0xc063e329 in close () > >#19 0xc085c9f7 in syscall () > >#20 0xc0848c3f in Xint0x80_syscall () > >#21 0x00000033 in ?? () > >Previous frame inner to this frame (corrupt stack?) > > > >Unfortunaltly I get this with the debug kernel. > >Does one have to boot with the debug.kernel itself > >to get a trace which is usable ? I think your problem is that one I wanted to know more about. > >kgdb /var/core/kernel.debug /var/core/vmcore.6 > > > >kgdb: kvm_read: invalid address (0x21) [..] > >kgdb: kvm_read: invalid address (0x21) > > Martin, Could you make sure your kernel and kernel.debug are in sync? It look like you have kernel and kernel.debug compiled from different sources or different configuration files. After 'bt' typed in kgdb you should get a backtrace. Thanks, -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/ From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 21:45:46 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E007316A63A; Thu, 22 Jun 2006 21:45:45 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3352A455DD; Thu, 22 Jun 2006 21:27:43 +0000 (GMT) (envelope-from mb@imp.ch) Received: from godot.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.7/8.13.7/Submit) with ESMTP id k5MLRcff018024; Thu, 22 Jun 2006 23:27:40 +0200 (CEST) (envelope-from mb@imp.ch) Date: Thu, 22 Jun 2006 23:27:38 +0200 (CEST) From: Martin Blapp To: "Wojciech A. Koszek" In-Reply-To: <20060622205806.GA6542@FreeBSD.czest.pl> Message-ID: <20060622223630.V17514@godot.imp.ch> References: <20060621202508.S17514@godot.imp.ch> <20060621193941.Y8526@fledge.watson.org> <20060622205806.GA6542@FreeBSD.czest.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 157.161.9.65 Cc: Patrick Guelat , Robert Watson , freebsd-stable@freebsd.org Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 21:45:46 -0000 Hi, >>> Unfortunaltly I get this with the debug kernel. >>> Does one have to boot with the debug.kernel itself >>> to get a trace which is usable ? Sigh. A recompile helped ! (kgdb) where #0 doadump () at pcpu.h:165 #1 0xc066355e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc06638b5 in panic (fmt=0xc0891732 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0xc085c6b6 in trap_fatal (frame=0xed6e4ab8, eva=4) at /usr/src/sys/i386/i386/trap.c:836 #4 0xc085c3bf in trap_pfault (frame=0xed6e4ab8, usermode=0, eva=4) at /usr/src/sys/i386/i386/trap.c:744 #5 0xc085bfb5 in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = -1063714776, tf_edi = -1064042304, tf_esi = 0, tf_ebp = -311538944, tf_isp = -311538972, tf_ebx = -967615488, tf_edx = -1063651212, tf_ecx = -941099136, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1066845359, tf_cs = 32, tf_eflags = 66194, tf_esp = -967615488, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:434 #6 0xc0848bea in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc0693b51 in ttymodem (tp=0xc6535c00, flag=-1063651212) at /usr/src/sys/kern/tty.c:1659 #8 0xc0698362 in ptcclose (dev=0x0, flags=3, fmt=8192, td=0xc7e7f780) at linedisc.h:136 #9 0xc0638a6f in giant_close (dev=0xcb3c1100, fflag=3, devtype=8192, td=0xc7e7f780) at /usr/src/sys/kern/kern_conf.c:266 #10 0xc06162bf in devfs_close (ap=0xed6e4b7c) at /usr/src/sys/fs/devfs/devfs_vnops.c:287 #11 0xc086dc1c in VOP_CLOSE_APV (vop=0x0, a=0xc099f874) at vnode_if.c:426 #12 0xc06c87e2 in vn_close (vp=0xc9cdf660, flags=3, file_cred=0x0, td=0xc7e7f780) at vnode_if.h:227 #13 0xc06c974a in vn_closefile (fp=0xc6fc5438, td=0xc7e7f780) at /usr/src/sys/kern/vfs_vnops.c:865 #14 0xc06162e7 in devfs_close_f (fp=0xc6fc5438, td=0xc7e7f780) at /usr/src/sys/fs/devfs/devfs_vnops.c:297 #15 0xc0642cdc in fdrop_locked (fp=0xc6fc5438, td=0xc7e7f780) at file.h:295 #16 0xc0642c29 in fdrop (fp=0xc6fc5438, td=0xc7e7f780) at /usr/src/sys/kern/kern_descrip.c:2122 #17 0xc06411c7 in closef (fp=0xc6fc5438, td=0xc7e7f780) at /usr/src/sys/kern/kern_descrip.c:1942 #18 0xc063e329 in close (td=0xc7e7f780, uap=0x0) at /usr/src/sys/kern/kern_descrip.c:1007 #19 0xc085c9f7 in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 0, tf_esi = 673925920, tf_ebp = -1077941928, tf_isp = -311538332, tf_ebx = 673852332, tf_edx = 673925920, tf_ecx = 673925920, tf_eax = 6, tf_trapno = 12, tf_err = 2, tf_eip = 673354727, tf_cs = 51, tf_eflags = 518, tf_esp = -1077941956, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:981 #20 0xc0848c3f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 #21 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) (kgdb) frame 5 #5 0xc085bfb5 in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = -1063714776, tf_edi = -1064042304, tf_esi = 0, tf_ebp = -311538944, tf_isp = -311538972, tf_ebx = -967615488, tf_edx = -1063651212, tf_ecx = -941099136, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1066845359, tf_cs = 32, tf_eflags = 66194, tf_esp = -967615488, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:434 (kgdb) frame 8 #8 0xc0698362 in ptcclose (dev=0x0, flags=3, fmt=8192, td=0xc7e7f780) at linedisc.h:136 136 return ((*linesw[tp->t_line]->l_modem)(tp, flag)); (kgdb) list 131 132 static __inline int 133 ttyld_modem(struct tty *tp, int flag) 134 { 135 136 return ((*linesw[tp->t_line]->l_modem)(tp, flag)); 137 } 138 139 #endif /* _KERNEL */ (kgdb) frame 7 (kgdb) p *tp->t_session Cannot access memory at address 0x0 (kgdb) frame 7 #7 0xc0693b51 in ttymodem (tp=0xc6535c00, flag=-1063651212) at /usr/src/sys/kern/tty.c:1659 1659 if (tp->t_session->s_leader) { (kgdb) list 1654 !ISSET(tp->t_cflag, CLOCAL)) { 1655 SET(tp->t_state, TS_ZOMBIE); 1656 CLR(tp->t_state, TS_CONNECTED); 1657 if (tp->t_session) { 1658 sx_slock(&proctree_lock); 1659 if (tp->t_session->s_leader) { 1660 struct proc *p; 1661 1662 p = tp->t_session->s_leader; 1663 PROC_LOCK(p); (kgdb) p *tp->t_session Cannot access memory at address 0x0 So here the problem is. Why is tp->t_session empty ? Maybe it has been already free() earlier and we have some race here ? Martin From owner-freebsd-stable@FreeBSD.ORG Thu Jun 22 22:53:04 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94D1216A5D2 for ; Thu, 22 Jun 2006 22:53:04 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20557441EA for ; Thu, 22 Jun 2006 21:52:05 +0000 (GMT) (envelope-from pbowen@fastmail.fm) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 80167D85EDD for ; Thu, 22 Jun 2006 17:52:03 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by frontend3.internal (MEProxy); Thu, 22 Jun 2006 17:52:04 -0400 X-Sasl-enc: ck/4shWcE2T/VHh2NIPlozTZtt8LTnYGOxFilzmkQAik 1151013115 Received: from [192.168.1.87] (unknown [205.246.14.236]) by mail.messagingengine.com (Postfix) with ESMTP id D754E49C6 for ; Thu, 22 Jun 2006 17:51:53 -0400 (EDT) Message-ID: <449B10FD.2040304@fastmail.fm> Date: Thu, 22 Jun 2006 16:51:57 -0500 From: Patrick Bowen User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <449862F4.7090207@fastmail.fm> <20060621000056.GA13097@cdnetworks.co.kr> <44989B07.6080404@fastmail.fm> <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com> In-Reply-To: <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com> Content-Type: multipart/mixed; boundary="------------070108060202070600060809" Subject: Re: if_ndis for Marvell X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 22:53:04 -0000 This is a multi-part message in MIME format. --------------070108060202070600060809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Scot Hetzel wrote: > On 6/20/06, Patrick Bowen wrote: > >> Pyun YongHyeon wrote: >> >> >On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote: >> > > Hello: >> > > >> > > I have two questions. >> > > >> > > The first regards support for the Broadcom BCM94318 wireless LAN >> > > adapter. When trying to compile the module for if_ndis using >> bcmwl5.inf >> > > and bcmwl5.sys, I get the following error; >> > > >> > > In file included from >> > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66: >> > > @/sys/bus.h:461:23: device_if.h: No such file or directory >> > > @/sys/bus.h:462:20: bus_if.h: No such file or directory >> > > In file included from >> > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75: >> > > @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or >> directory >> > > >> > > Have these three files been removed from the source tree? >> > > >> Thanks! That takes care of the wired connection. Now all I have to do is >> get the wireless to work. >> >> Regarding the original subject line, the "ndis" was, of course, for the >> Broadcom device. I tried a different .inf file after googling some more >> (bcmwl5a.inf), and this time I was able to produce an if_ndis.ko file. I >> loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip, >> zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be >> doing something wrong... >> > > Did you use ndisgen to build the NDIS bcmwl5_sys.ko kernel module from > the windows driver? > > bcmwl5_sys.ko is what you need to load to get your wireless card to > work with the NDIS module. > > Scot > Scot; Tried both ways. Ndiscvt doesn't complain, but also doesn't give the bcmwl5_sys.ko module. Ndisgen takes the .inf and .sys files but gives a huge error, which I've attached. Maybe it will help. If I can provide anything else, please let me know. Thanks, Patrick --------------070108060202070600060809 Content-Type: text/plain; name="test.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test.txt" Script started on Thu Jun 22 16:29:16 2006 sg1# ndisgetn  ================================================================== ------------------ Windows(r) driver converter ------------------- ================================================================== This script is designed to guide you through the process of converting a Windows(r) binary driver module and .INF specification file into a FreeBSD ELF kernel module for use with the NDIS compatibility system. The following options are available: 1] Learn about the NDIS compatibility system 2] Convert individual firmware files 3] Convert driver 4] Exit Enter your selection here and press return: 3  ================================================================== ------------------ Windows(r) driver converter ------------------- ================================================================== INF file validation A .INF file is most often provided as an ASCII file, however files with multilanguage support are provided in Unicode format. Please type in the path to your .INF file now. > bcmwl5a.inf This .INF file appears to be ASCII. Press return to continue...  ================================================================== ------------------ Windows(r) driver converter ------------------- ================================================================== Driver file validation Now you need to specify the name of the Windows(r) driver .SYS file for your device. Note that if you are running FreeBSD/amd64, then you must provide a driver that has been compiled for the 64-bit Windows(r) platform. If a 64-bit driver is not available for your device, you must install FreeBSD/i386 and use the 32-bit driver instead. Please type in the path to the Windows(r) driver .SYS file now. > bcmwl5.sys This .SYS file appears to be in Windows(r) PE format. Press return to continue...  ================================================================== ------------------ Windows(r) driver converter ------------------- ================================================================== Driver file conversion The script will now try to convert the .INF and .SYS files using the ndiscvt(1) utility. This utility can handle most .INF files; however, occasionally it can fail to parse some files due to subtle syntax issues: the .INF syntax is very complex, and the Windows(r) parser will sometimes allow files with small syntax errors to be processed correctly which ndiscvt(1) will not. If the conversion fails, you may have to edit the .INF file by hand to remove the offending lines. Press enter to try converting the files now: Conversion was successful. Press enter to continue...  ================================================================== ------------------ Windows(r) driver converter ------------------- ================================================================== Firmware file conversion If your driver uses additional firmware files, please list them below. When you're finished, just press enter to continue. (If your driver doesn't need any extra firmware files, just press enter to move to the next step.) >  ================================================================== ------------------ Windows(r) driver converter ------------------- ================================================================== List of files converted firmware files: Press enter to continue...  ================================================================== ------------------ Windows(r) driver converter ------------------- ================================================================== Kernel module generation The script will now try to generate the kernel driver module. This is the last step. Once this module is generated, you should be able to load it just like any other FreeBSD driver module. Press enter to compile the stub module and generate the driver module now: Generating Makefile... done. Building kernel module... In file included from /usr/share/misc/windrv_stub.c:57: ./windrv.h:821: error: excess elements in char array initializer ./windrv.h:821: error: (near initialization for `ndis_regvals[262].nc_val') ./windrv.h:822: warning: braces around scalar initializer ./windrv.h:822: warning: (near initialization for `ndis_regvals[262].nc_val[0]') ./windrv.h:822: warning: initialization makes integer from pointer without a cast ./windrv.h:822: error: initializer element is not computable at load time ./windrv.h:822: error: (near initialization for `ndis_regvals[262].nc_val[0]') ./windrv.h:822: error: excess elements in struct initializer ./windrv.h:822: error: (near initialization for `ndis_regvals[262].nc_val') ./windrv.h:822: error: excess elements in struct initializer ./windrv.h:822: error: (near initialization for `ndis_regvals[262].nc_val') ./windrv.h:823: warning: braces around scalar initializer ./windrv.h:823: warning: (near initialization for `ndis_regvals[262].nc_idx') ./windrv.h:823: warning: initialization makes integer from pointer without a cast ./windrv.h:824: warning: excess elements in scalar initializer ./windrv.h:824: warning: (near initialization for `ndis_regvals[262].nc_idx') ./windrv.h:825: warning: braces around scalar initializer ./windrv.h:825: warning: (near initialization for `ndis_regvals[262].nc_idx') ./windrv.h:825: warning: initialization makes integer from pointer without a cast ./windrv.h:825: warning: excess elements in scalar initializer ./windrv.h:825: warning: (near initialization for `ndis_regvals[262].nc_idx') ./windrv.h:825: warning: excess elements in scalar initializer ./windrv.h:825: warning: (near initialization for `ndis_regvals[262].nc_idx') ./windrv.h:826: error: extra brace group at end of initializer ./windrv.h:826: error: (near initialization for `ndis_regvals[262]') ./windrv.h:828: error: extra brace group at end of initializer ./windrv.h:828: error: (near initialization for `ndis_regvals[262]') ./windrv.h:828: warning: excess elements in struct initializer ./windrv.h:828: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:829: error: extra brace group at end of initializer ./windrv.h:829: error: (near initialization for `ndis_regvals[262]') ./windrv.h:831: error: extra brace group at end of initializer ./windrv.h:831: error: (near initialization for `ndis_regvals[262]') ./windrv.h:831: warning: excess elements in struct initializer ./windrv.h:831: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:832: error: extra brace group at end of initializer ./windrv.h:832: error: (near initialization for `ndis_regvals[262]') ./windrv.h:834: error: extra brace group at end of initializer ./windrv.h:834: error: (near initialization for `ndis_regvals[262]') ./windrv.h:834: warning: excess elements in struct initializer ./windrv.h:834: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:835: error: extra brace group at end of initializer ./windrv.h:835: error: (near initialization for `ndis_regvals[262]') ./windrv.h:837: error: extra brace group at end of initializer ./windrv.h:837: error: (near initialization for `ndis_regvals[262]') ./windrv.h:837: warning: excess elements in struct initializer ./windrv.h:837: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:838: error: extra brace group at end of initializer ./windrv.h:838: error: (near initialization for `ndis_regvals[262]') ./windrv.h:840: error: extra brace group at end of initializer ./windrv.h:840: error: (near initialization for `ndis_regvals[262]') ./windrv.h:840: warning: excess elements in struct initializer ./windrv.h:840: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:841: error: extra brace group at end of initializer ./windrv.h:841: error: (near initialization for `ndis_regvals[262]') ./windrv.h:843: error: extra brace group at end of initializer ./windrv.h:843: error: (near initialization for `ndis_regvals[262]') ./windrv.h:843: warning: excess elements in struct initializer ./windrv.h:843: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:844: error: extra brace group at end of initializer ./windrv.h:844: error: (near initialization for `ndis_regvals[262]') ./windrv.h:846: error: extra brace group at end of initializer ./windrv.h:846: error: (near initialization for `ndis_regvals[262]') ./windrv.h:846: warning: excess elements in struct initializer ./windrv.h:846: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:847: error: extra brace group at end of initializer ./windrv.h:847: error: (near initialization for `ndis_regvals[262]') ./windrv.h:849: error: extra brace group at end of initializer ./windrv.h:849: error: (near initialization for `ndis_regvals[262]') ./windrv.h:849: warning: excess elements in struct initializer ./windrv.h:849: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:850: error: extra brace group at end of initializer ./windrv.h:850: error: (near initialization for `ndis_regvals[262]') ./windrv.h:852: error: extra brace group at end of initializer ./windrv.h:852: error: (near initialization for `ndis_regvals[262]') ./windrv.h:852: warning: excess elements in struct initializer ./windrv.h:852: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:853: error: extra brace group at end of initializer ./windrv.h:853: error: (near initialization for `ndis_regvals[262]') ./windrv.h:855: error: extra brace group at end of initializer ./windrv.h:855: error: (near initialization for `ndis_regvals[262]') ./windrv.h:855: warning: excess elements in struct initializer ./windrv.h:855: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:856: error: extra brace group at end of initializer ./windrv.h:856: error: (near initialization for `ndis_regvals[262]') ./windrv.h:858: error: extra brace group at end of initializer ./windrv.h:858: error: (near initialization for `ndis_regvals[262]') ./windrv.h:858: warning: excess elements in struct initializer ./windrv.h:858: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:859: error: extra brace group at end of initializer ./windrv.h:859: error: (near initialization for `ndis_regvals[262]') ./windrv.h:861: error: extra brace group at end of initializer ./windrv.h:861: error: (near initialization for `ndis_regvals[262]') ./windrv.h:861: warning: excess elements in struct initializer ./windrv.h:861: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:862: error: extra brace group at end of initializer ./windrv.h:862: error: (near initialization for `ndis_regvals[262]') ./windrv.h:864: error: extra brace group at end of initializer ./windrv.h:864: error: (near initialization for `ndis_regvals[262]') ./windrv.h:864: warning: excess elements in struct initializer ./windrv.h:864: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:865: error: extra brace group at end of initializer ./windrv.h:865: error: (near initialization for `ndis_regvals[262]') ./windrv.h:867: error: extra brace group at end of initializer ./windrv.h:867: error: (near initialization for `ndis_regvals[262]') ./windrv.h:867: warning: excess elements in struct initializer ./windrv.h:867: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:868: error: extra brace group at end of initializer ./windrv.h:868: error: (near initialization for `ndis_regvals[262]') ./windrv.h:870: error: extra brace group at end of initializer ./windrv.h:870: error: (near initialization for `ndis_regvals[262]') ./windrv.h:870: warning: excess elements in struct initializer ./windrv.h:870: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:871: error: extra brace group at end of initializer ./windrv.h:871: error: (near initialization for `ndis_regvals[262]') ./windrv.h:873: error: extra brace group at end of initializer ./windrv.h:873: error: (near initialization for `ndis_regvals[262]') ./windrv.h:873: warning: excess elements in struct initializer ./windrv.h:873: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:874: error: extra brace group at end of initializer ./windrv.h:874: error: (near initialization for `ndis_regvals[262]') ./windrv.h:876: error: extra brace group at end of initializer ./windrv.h:876: error: (near initialization for `ndis_regvals[262]') ./windrv.h:876: warning: excess elements in struct initializer ./windrv.h:876: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:877: error: extra brace group at end of initializer ./windrv.h:877: error: (near initialization for `ndis_regvals[262]') ./windrv.h:879: error: extra brace group at end of initializer ./windrv.h:879: error: (near initialization for `ndis_regvals[262]') ./windrv.h:879: warning: excess elements in struct initializer ./windrv.h:879: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:880: error: extra brace group at end of initializer ./windrv.h:880: error: (near initialization for `ndis_regvals[262]') ./windrv.h:882: error: extra brace group at end of initializer ./windrv.h:882: error: (near initialization for `ndis_regvals[262]') ./windrv.h:882: warning: excess elements in struct initializer ./windrv.h:882: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:883: error: extra brace group at end of initializer ./windrv.h:883: error: (near initialization for `ndis_regvals[262]') ./windrv.h:885: error: extra brace group at end of initializer ./windrv.h:885: error: (near initialization for `ndis_regvals[262]') ./windrv.h:885: warning: excess elements in struct initializer ./windrv.h:885: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:886: error: extra brace group at end of initializer ./windrv.h:886: error: (near initialization for `ndis_regvals[262]') ./windrv.h:888: error: extra brace group at end of initializer ./windrv.h:888: error: (near initialization for `ndis_regvals[262]') ./windrv.h:888: warning: excess elements in struct initializer ./windrv.h:888: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:889: error: extra brace group at end of initializer ./windrv.h:889: error: (near initialization for `ndis_regvals[262]') ./windrv.h:891: error: extra brace group at end of initializer ./windrv.h:891: error: (near initialization for `ndis_regvals[262]') ./windrv.h:891: warning: excess elements in struct initializer ./windrv.h:891: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:892: error: extra brace group at end of initializer ./windrv.h:892: error: (near initialization for `ndis_regvals[262]') ./windrv.h:894: error: extra brace group at end of initializer ./windrv.h:894: error: (near initialization for `ndis_regvals[262]') ./windrv.h:894: warning: excess elements in struct initializer ./windrv.h:894: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:895: error: extra brace group at end of initializer ./windrv.h:895: error: (near initialization for `ndis_regvals[262]') ./windrv.h:897: error: extra brace group at end of initializer ./windrv.h:897: error: (near initialization for `ndis_regvals[262]') ./windrv.h:897: warning: excess elements in struct initializer ./windrv.h:897: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:898: error: extra brace group at end of initializer ./windrv.h:898: error: (near initialization for `ndis_regvals[262]') ./windrv.h:900: error: extra brace group at end of initializer ./windrv.h:900: error: (near initialization for `ndis_regvals[262]') ./windrv.h:900: warning: excess elements in struct initializer ./windrv.h:900: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:901: error: extra brace group at end of initializer ./windrv.h:901: error: (near initialization for `ndis_regvals[262]') ./windrv.h:903: error: extra brace group at end of initializer ./windrv.h:903: error: (near initialization for `ndis_regvals[262]') ./windrv.h:903: warning: excess elements in struct initializer ./windrv.h:903: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:904: error: extra brace group at end of initializer ./windrv.h:904: error: (near initialization for `ndis_regvals[262]') ./windrv.h:906: error: extra brace group at end of initializer ./windrv.h:906: error: (near initialization for `ndis_regvals[262]') ./windrv.h:906: warning: excess elements in struct initializer ./windrv.h:906: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:907: error: extra brace group at end of initializer ./windrv.h:907: error: (near initialization for `ndis_regvals[262]') ./windrv.h:909: error: extra brace group at end of initializer ./windrv.h:909: error: (near initialization for `ndis_regvals[262]') ./windrv.h:909: warning: excess elements in struct initializer ./windrv.h:909: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:910: error: extra brace group at end of initializer ./windrv.h:910: error: (near initialization for `ndis_regvals[262]') ./windrv.h:912: error: extra brace group at end of initializer ./windrv.h:912: error: (near initialization for `ndis_regvals[262]') ./windrv.h:912: warning: excess elements in struct initializer ./windrv.h:912: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:913: error: extra brace group at end of initializer ./windrv.h:913: error: (near initialization for `ndis_regvals[262]') ./windrv.h:915: error: extra brace group at end of initializer ./windrv.h:915: error: (near initialization for `ndis_regvals[262]') ./windrv.h:915: warning: excess elements in struct initializer ./windrv.h:915: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:916: error: extra brace group at end of initializer ./windrv.h:916: error: (near initialization for `ndis_regvals[262]') ./windrv.h:918: error: extra brace group at end of initializer ./windrv.h:918: error: (near initialization for `ndis_regvals[262]') ./windrv.h:918: warning: excess elements in struct initializer ./windrv.h:918: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:919: error: extra brace group at end of initializer ./windrv.h:919: error: (near initialization for `ndis_regvals[262]') ./windrv.h:921: error: extra brace group at end of initializer ./windrv.h:921: error: (near initialization for `ndis_regvals[262]') ./windrv.h:921: warning: excess elements in struct initializer ./windrv.h:921: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:922: error: extra brace group at end of initializer ./windrv.h:922: error: (near initialization for `ndis_regvals[262]') ./windrv.h:924: error: extra brace group at end of initializer ./windrv.h:924: error: (near initialization for `ndis_regvals[262]') ./windrv.h:924: warning: excess elements in struct initializer ./windrv.h:924: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:925: error: extra brace group at end of initializer ./windrv.h:925: error: (near initialization for `ndis_regvals[262]') ./windrv.h:927: error: extra brace group at end of initializer ./windrv.h:927: error: (near initialization for `ndis_regvals[262]') ./windrv.h:927: warning: excess elements in struct initializer ./windrv.h:927: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:928: error: extra brace group at end of initializer ./windrv.h:928: error: (near initialization for `ndis_regvals[262]') ./windrv.h:930: error: extra brace group at end of initializer ./windrv.h:930: error: (near initialization for `ndis_regvals[262]') ./windrv.h:930: warning: excess elements in struct initializer ./windrv.h:930: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:931: error: extra brace group at end of initializer ./windrv.h:931: error: (near initialization for `ndis_regvals[262]') ./windrv.h:933: error: extra brace group at end of initializer ./windrv.h:933: error: (near initialization for `ndis_regvals[262]') ./windrv.h:933: warning: excess elements in struct initializer ./windrv.h:933: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:934: error: extra brace group at end of initializer ./windrv.h:934: error: (near initialization for `ndis_regvals[262]') ./windrv.h:936: error: extra brace group at end of initializer ./windrv.h:936: error: (near initialization for `ndis_regvals[262]') ./windrv.h:936: warning: excess elements in struct initializer ./windrv.h:936: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:937: error: extra brace group at end of initializer ./windrv.h:937: error: (near initialization for `ndis_regvals[262]') ./windrv.h:939: error: extra brace group at end of initializer ./windrv.h:939: error: (near initialization for `ndis_regvals[262]') ./windrv.h:939: warning: excess elements in struct initializer ./windrv.h:939: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:940: error: extra brace group at end of initializer ./windrv.h:940: error: (near initialization for `ndis_regvals[262]') ./windrv.h:942: error: extra brace group at end of initializer ./windrv.h:942: error: (near initialization for `ndis_regvals[262]') ./windrv.h:942: warning: excess elements in struct initializer ./windrv.h:942: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:943: error: extra brace group at end of initializer ./windrv.h:943: error: (near initialization for `ndis_regvals[262]') ./windrv.h:945: error: extra brace group at end of initializer ./windrv.h:945: error: (near initialization for `ndis_regvals[262]') ./windrv.h:945: warning: excess elements in struct initializer ./windrv.h:945: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:946: error: extra brace group at end of initializer ./windrv.h:946: error: (near initialization for `ndis_regvals[262]') ./windrv.h:948: error: extra brace group at end of initializer ./windrv.h:948: error: (near initialization for `ndis_regvals[262]') ./windrv.h:948: warning: excess elements in struct initializer ./windrv.h:948: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:949: error: extra brace group at end of initializer ./windrv.h:949: error: (near initialization for `ndis_regvals[262]') ./windrv.h:951: error: extra brace group at end of initializer ./windrv.h:951: error: (near initialization for `ndis_regvals[262]') ./windrv.h:951: warning: excess elements in struct initializer ./windrv.h:951: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:952: error: extra brace group at end of initializer ./windrv.h:952: error: (near initialization for `ndis_regvals[262]') ./windrv.h:954: error: extra brace group at end of initializer ./windrv.h:954: error: (near initialization for `ndis_regvals[262]') ./windrv.h:956: error: extra brace group at end of initializer ./windrv.h:956: error: (near initialization for `ndis_regvals[262]') ./windrv.h:957: error: extra brace group at end of initializer ./windrv.h:957: error: (near initialization for `ndis_regvals[262]') ./windrv.h:959: error: extra brace group at end of initializer ./windrv.h:959: error: (near initialization for `ndis_regvals[262]') ./windrv.h:960: error: extra brace group at end of initializer ./windrv.h:960: error: (near initialization for `ndis_regvals[262]') ./windrv.h:962: error: extra brace group at end of initializer ./windrv.h:962: error: (near initialization for `ndis_regvals[262]') ./windrv.h:963: error: extra brace group at end of initializer ./windrv.h:963: error: (near initialization for `ndis_regvals[262]') ./windrv.h:965: error: extra brace group at end of initializer ./windrv.h:965: error: (near initialization for `ndis_regvals[262]') ./windrv.h:966: error: extra brace group at end of initializer ./windrv.h:966: error: (near initialization for `ndis_regvals[262]') ./windrv.h:968: error: extra brace group at end of initializer ./windrv.h:968: error: (near initialization for `ndis_regvals[262]') ./windrv.h:969: error: extra brace group at end of initializer ./windrv.h:969: error: (near initialization for `ndis_regvals[262]') ./windrv.h:971: error: extra brace group at end of initializer ./windrv.h:971: error: (near initialization for `ndis_regvals[262]') ./windrv.h:972: error: extra brace group at end of initializer ./windrv.h:972: error: (near initialization for `ndis_regvals[262]') ./windrv.h:974: error: extra brace group at end of initializer ./windrv.h:974: error: (near initialization for `ndis_regvals[262]') ./windrv.h:975: error: extra brace group at end of initializer ./windrv.h:975: error: (near initialization for `ndis_regvals[262]') ./windrv.h:977: error: extra brace group at end of initializer ./windrv.h:977: error: (near initialization for `ndis_regvals[262]') ./windrv.h:978: error: extra brace group at end of initializer ./windrv.h:978: error: (near initialization for `ndis_regvals[262]') ./windrv.h:980: error: extra brace group at end of initializer ./windrv.h:980: error: (near initialization for `ndis_regvals[262]') ./windrv.h:981: error: extra brace group at end of initializer ./windrv.h:981: error: (near initialization for `ndis_regvals[262]') ./windrv.h:983: error: extra brace group at end of initializer ./windrv.h:983: error: (near initialization for `ndis_regvals[262]') ./windrv.h:984: error: extra brace group at end of initializer ./windrv.h:984: error: (near initialization for `ndis_regvals[262]') ./windrv.h:986: error: extra brace group at end of initializer ./windrv.h:986: error: (near initialization for `ndis_regvals[262]') ./windrv.h:987: error: extra brace group at end of initializer ./windrv.h:987: error: (near initialization for `ndis_regvals[262]') ./windrv.h:989: error: extra brace group at end of initializer ./windrv.h:989: error: (near initialization for `ndis_regvals[262]') ./windrv.h:990: error: extra brace group at end of initializer ./windrv.h:990: error: (near initialization for `ndis_regvals[262]') ./windrv.h:992: error: extra brace group at end of initializer ./windrv.h:992: error: (near initialization for `ndis_regvals[262]') ./windrv.h:993: error: extra brace group at end of initializer ./windrv.h:993: error: (near initialization for `ndis_regvals[262]') ./windrv.h:995: error: extra brace group at end of initializer ./windrv.h:995: error: (near initialization for `ndis_regvals[262]') ./windrv.h:996: error: extra brace group at end of initializer ./windrv.h:996: error: (near initialization for `ndis_regvals[262]') ./windrv.h:998: error: extra brace group at end of initializer ./windrv.h:998: error: (near initialization for `ndis_regvals[262]') ./windrv.h:999: error: extra brace group at end of initializer ./windrv.h:999: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1001: error: extra brace group at end of initializer ./windrv.h:1001: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1002: error: extra brace group at end of initializer ./windrv.h:1002: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1004: error: extra brace group at end of initializer ./windrv.h:1004: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1005: error: extra brace group at end of initializer ./windrv.h:1005: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1007: error: extra brace group at end of initializer ./windrv.h:1007: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1008: error: extra brace group at end of initializer ./windrv.h:1008: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1010: error: extra brace group at end of initializer ./windrv.h:1010: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1011: error: extra brace group at end of initializer ./windrv.h:1011: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1013: error: extra brace group at end of initializer ./windrv.h:1013: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1014: error: extra brace group at end of initializer ./windrv.h:1014: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1016: error: extra brace group at end of initializer ./windrv.h:1016: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1017: error: extra brace group at end of initializer ./windrv.h:1017: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1019: error: extra brace group at end of initializer ./windrv.h:1019: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1020: error: extra brace group at end of initializer ./windrv.h:1020: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1022: error: extra brace group at end of initializer ./windrv.h:1022: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1023: error: extra brace group at end of initializer ./windrv.h:1023: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1025: error: extra brace group at end of initializer ./windrv.h:1025: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1026: error: extra brace group at end of initializer ./windrv.h:1026: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1028: error: extra brace group at end of initializer ./windrv.h:1028: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1029: error: extra brace group at end of initializer ./windrv.h:1029: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1031: error: extra brace group at end of initializer ./windrv.h:1031: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1032: error: extra brace group at end of initializer ./windrv.h:1032: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1034: error: extra brace group at end of initializer ./windrv.h:1034: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1035: error: extra brace group at end of initializer ./windrv.h:1035: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1037: error: extra brace group at end of initializer ./windrv.h:1037: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1038: error: extra brace group at end of initializer ./windrv.h:1038: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1040: error: extra brace group at end of initializer ./windrv.h:1040: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1041: error: extra brace group at end of initializer ./windrv.h:1041: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1043: error: extra brace group at end of initializer ./windrv.h:1043: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1044: error: extra brace group at end of initializer ./windrv.h:1044: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1046: error: extra brace group at end of initializer ./windrv.h:1046: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1047: error: extra brace group at end of initializer ./windrv.h:1047: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1049: error: extra brace group at end of initializer ./windrv.h:1049: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1050: error: extra brace group at end of initializer ./windrv.h:1050: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1052: error: extra brace group at end of initializer ./windrv.h:1052: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1053: error: extra brace group at end of initializer ./windrv.h:1053: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1055: error: extra brace group at end of initializer ./windrv.h:1055: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1056: error: extra brace group at end of initializer ./windrv.h:1056: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1058: error: extra brace group at end of initializer ./windrv.h:1058: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1059: error: extra brace group at end of initializer ./windrv.h:1059: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1061: error: extra brace group at end of initializer ./windrv.h:1061: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1062: error: extra brace group at end of initializer ./windrv.h:1062: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1064: error: extra brace group at end of initializer ./windrv.h:1064: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1065: error: extra brace group at end of initializer ./windrv.h:1065: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1067: error: extra brace group at end of initializer ./windrv.h:1067: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1068: error: extra brace group at end of initializer ./windrv.h:1068: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1070: error: extra brace group at end of initializer ./windrv.h:1070: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1071: error: extra brace group at end of initializer ./windrv.h:1071: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1073: error: extra brace group at end of initializer ./windrv.h:1073: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1074: error: extra brace group at end of initializer ./windrv.h:1074: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1076: error: extra brace group at end of initializer ./windrv.h:1076: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1077: error: extra brace group at end of initializer ./windrv.h:1077: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1079: error: extra brace group at end of initializer ./windrv.h:1079: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1080: error: extra brace group at end of initializer ./windrv.h:1080: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1082: error: extra brace group at end of initializer ./windrv.h:1082: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1083: error: extra brace group at end of initializer ./windrv.h:1083: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1085: error: extra brace group at end of initializer ./windrv.h:1085: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1086: error: extra brace group at end of initializer ./windrv.h:1086: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1088: error: extra brace group at end of initializer ./windrv.h:1088: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1089: error: extra brace group at end of initializer ./windrv.h:1089: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1091: error: extra brace group at end of initializer ./windrv.h:1091: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1092: error: extra brace group at end of initializer ./windrv.h:1092: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1094: error: extra brace group at end of initializer ./windrv.h:1094: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1095: error: extra brace group at end of initializer ./windrv.h:1095: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1097: error: extra brace group at end of initializer ./windrv.h:1097: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1098: error: extra brace group at end of initializer ./windrv.h:1098: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1100: error: extra brace group at end of initializer ./windrv.h:1100: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1101: error: extra brace group at end of initializer ./windrv.h:1101: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1103: error: extra brace group at end of initializer ./windrv.h:1103: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1104: error: extra brace group at end of initializer ./windrv.h:1104: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1106: error: extra brace group at end of initializer ./windrv.h:1106: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1107: error: extra brace group at end of initializer ./windrv.h:1107: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1109: error: extra brace group at end of initializer ./windrv.h:1109: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1110: error: extra brace group at end of initializer ./windrv.h:1110: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1112: error: extra brace group at end of initializer ./windrv.h:1112: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1113: error: extra brace group at end of initializer ./windrv.h:1113: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1115: error: extra brace group at end of initializer ./windrv.h:1115: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1116: error: extra brace group at end of initializer ./windrv.h:1116: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1118: error: extra brace group at end of initializer ./windrv.h:1118: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1119: error: extra brace group at end of initializer ./windrv.h:1119: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1121: error: extra brace group at end of initializer ./windrv.h:1121: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1122: error: extra brace group at end of initializer ./windrv.h:1122: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1124: error: extra brace group at end of initializer ./windrv.h:1124: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1125: error: extra brace group at end of initializer ./windrv.h:1125: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1127: error: extra brace group at end of initializer ./windrv.h:1127: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1128: error: extra brace group at end of initializer ./windrv.h:1128: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1130: error: extra brace group at end of initializer ./windrv.h:1130: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1131: error: extra brace group at end of initializer ./windrv.h:1131: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1133: error: extra brace group at end of initializer ./windrv.h:1133: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1134: error: extra brace group at end of initializer ./windrv.h:1134: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1136: error: extra brace group at end of initializer ./windrv.h:1136: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1137: error: extra brace group at end of initializer ./windrv.h:1137: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1139: error: extra brace group at end of initializer ./windrv.h:1139: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1140: error: extra brace group at end of initializer ./windrv.h:1140: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1142: error: extra brace group at end of initializer ./windrv.h:1142: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1143: error: extra brace group at end of initializer ./windrv.h:1143: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1145: error: extra brace group at end of initializer ./windrv.h:1145: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1146: error: extra brace group at end of initializer ./windrv.h:1146: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1148: error: extra brace group at end of initializer ./windrv.h:1148: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1149: error: extra brace group at end of initializer ./windrv.h:1149: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1151: error: extra brace group at end of initializer ./windrv.h:1151: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1152: error: extra brace group at end of initializer ./windrv.h:1152: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1154: error: extra brace group at end of initializer ./windrv.h:1154: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1155: error: extra brace group at end of initializer ./windrv.h:1155: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1157: error: extra brace group at end of initializer ./windrv.h:1157: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1158: error: extra brace group at end of initializer ./windrv.h:1158: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1160: error: extra brace group at end of initializer ./windrv.h:1160: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1161: error: extra brace group at end of initializer ./windrv.h:1161: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1163: error: extra brace group at end of initializer ./windrv.h:1163: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1164: error: extra brace group at end of initializer ./windrv.h:1164: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1166: error: extra brace group at end of initializer ./windrv.h:1166: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1167: error: extra brace group at end of initializer ./windrv.h:1167: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1169: error: extra brace group at end of initializer ./windrv.h:1169: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1170: error: extra brace group at end of initializer ./windrv.h:1170: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1172: error: extra brace group at end of initializer ./windrv.h:1172: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1173: error: extra brace group at end of initializer ./windrv.h:1173: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1175: error: extra brace group at end of initializer ./windrv.h:1175: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1176: error: extra brace group at end of initializer ./windrv.h:1176: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1178: error: extra brace group at end of initializer ./windrv.h:1178: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1179: error: extra brace group at end of initializer ./windrv.h:1179: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1181: error: extra brace group at end of initializer ./windrv.h:1181: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1182: error: extra brace group at end of initializer ./windrv.h:1182: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1184: error: extra brace group at end of initializer ./windrv.h:1184: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1185: error: extra brace group at end of initializer ./windrv.h:1185: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1185: error: extra brace group at end of initializer ./windrv.h:1185: error: (near initialization for `ndis_regvals[262]') ./windrv.h:1186: warning: excess elements in struct initializer ./windrv.h:1186: warning: (near initialization for `ndis_regvals[262]') ./windrv.h:1186: error: syntax error before ';' token /usr/share/misc/windrv_stub.c:74: error: elements of array `ndis_devs_pci' have incomplete type /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[0]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[0]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[0]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[0]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[1]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[1]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[1]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[1]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[2]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[2]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[2]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[2]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[3]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[3]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[3]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[3]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[4]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[4]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[4]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[4]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[5]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[5]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[5]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[5]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[6]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[6]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[6]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[6]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[7]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[7]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[7]') /usr/share/misc/windrv_stub.c:75: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:75: warning: (near initialization for `ndis_devs_pci[7]') /usr/share/misc/windrv_stub.c:76: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:76: warning: (near initialization for `ndis_devs_pci[8]') /usr/share/misc/windrv_stub.c:76: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:76: warning: (near initialization for `ndis_devs_pci[8]') /usr/share/misc/windrv_stub.c:76: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:76: warning: (near initialization for `ndis_devs_pci[8]') /usr/share/misc/windrv_stub.c:76: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:76: warning: (near initialization for `ndis_devs_pci[8]') /usr/share/misc/windrv_stub.c:81: error: elements of array `ndis_devs_pccard' have incomplete type /usr/share/misc/windrv_stub.c:82: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:82: warning: (near initialization for `ndis_devs_pccard[0]') /usr/share/misc/windrv_stub.c:82: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:82: warning: (near initialization for `ndis_devs_pccard[0]') /usr/share/misc/windrv_stub.c:82: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:82: warning: (near initialization for `ndis_devs_pccard[0]') /usr/share/misc/windrv_stub.c:82: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:82: warning: (near initialization for `ndis_devs_pccard[1]') /usr/share/misc/windrv_stub.c:82: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:82: warning: (near initialization for `ndis_devs_pccard[1]') /usr/share/misc/windrv_stub.c:82: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:82: warning: (near initialization for `ndis_devs_pccard[1]') /usr/share/misc/windrv_stub.c:83: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:83: warning: (near initialization for `ndis_devs_pccard[2]') /usr/share/misc/windrv_stub.c:83: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:83: warning: (near initialization for `ndis_devs_pccard[2]') /usr/share/misc/windrv_stub.c:83: warning: excess elements in struct initializer /usr/share/misc/windrv_stub.c:83: warning: (near initialization for `ndis_devs_pccard[2]') build failed. Exiting. sg1# ^Dexit Script done on Thu Jun 22 16:29:52 2006 --------------070108060202070600060809-- From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 00:57:57 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45BD816A482 for ; Fri, 23 Jun 2006 00:57:57 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id C375743D55 for ; Fri, 23 Jun 2006 00:57:55 +0000 (GMT) (envelope-from pbowen@fastmail.fm) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 794EED857BB for ; Thu, 22 Jun 2006 20:57:54 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by frontend3.internal (MEProxy); Thu, 22 Jun 2006 20:57:55 -0400 X-Sasl-enc: JhEXPzVUf+aXQC/K6BFfEXSTageYtkTtlWkYC5V0Zsec 1151024274 Received: from [192.168.1.87] (unknown [205.246.14.236]) by mail.messagingengine.com (Postfix) with ESMTP id 490C05395 for ; Thu, 22 Jun 2006 20:57:51 -0400 (EDT) Message-ID: <449B3C90.405@fastmail.fm> Date: Thu, 22 Jun 2006 19:57:52 -0500 From: Patrick Bowen User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <449862F4.7090207@fastmail.fm> <20060621000056.GA13097@cdnetworks.co.kr> <44989B07.6080404@fastmail.fm> <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com> In-Reply-To: <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: if_ndis for Marvell X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 00:57:57 -0000 Scot Hetzel wrote: > On 6/20/06, Patrick Bowen wrote: > >> Pyun YongHyeon wrote: >> >> >On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote: >> > > Hello: >> > > >> > > I have two questions. >> > > >> > > The first regards support for the Broadcom BCM94318 wireless LAN >> > > adapter. When trying to compile the module for if_ndis using >> bcmwl5.inf >> > > and bcmwl5.sys, I get the following error; >> > > >> > > In file included from >> > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66: >> > > @/sys/bus.h:461:23: device_if.h: No such file or directory >> > > @/sys/bus.h:462:20: bus_if.h: No such file or directory >> > > In file included from >> > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75: >> > > @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or >> directory >> > > >> > > Have these three files been removed from the source tree? >> > > >> Thanks! That takes care of the wired connection. Now all I have to do is >> get the wireless to work. >> >> Regarding the original subject line, the "ndis" was, of course, for the >> Broadcom device. I tried a different .inf file after googling some more >> (bcmwl5a.inf), and this time I was able to produce an if_ndis.ko file. I >> loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip, >> zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be >> doing something wrong... >> > > Did you use ndisgen to build the NDIS bcmwl5_sys.ko kernel module from > the windows driver? > > bcmwl5_sys.ko is what you need to load to get your wireless card to > work with the NDIS module. > > Scot > Here's an interesting data point. I used ndisgen on Windows drivers from HP, and it produced module BCMWL5_SYS.ko. (my machine is a Gateway MX6121). Unfortunately, after loading the module, the device didn't show up in dmesg or ifconfig. Now I'm wondering if the card isn't ferschimmeled... Patrick From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 01:55:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E47016A51F for ; Fri, 23 Jun 2006 01:55:23 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16AA74410C for ; Fri, 23 Jun 2006 01:34:40 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k5N1YVal029822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Jun 2006 11:04:32 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Pieter de Goeje Date: Fri, 23 Jun 2006 11:04:30 +0930 User-Agent: KMail/1.9.3 References: <200606221424.14380.doconnor@gsoft.com.au> <200606221323.01249.pieter@degoeje.nl> In-Reply-To: <200606221323.01249.pieter@degoeje.nl> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4296016.IpCFV82Tie"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606231104.31514.doconnor@gsoft.com.au> X-Spam-Score: -1.36 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: freebsd-stable@freebsd.org Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 01:55:23 -0000 --nextPart4296016.IpCFV82Tie Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 22 June 2006 20:53, Pieter de Goeje wrote: > > The ports are enabled in the BIOS and do seem to work.. mostly. I have > > had odd problems trying to talk to stuff connected to the on occasion > > though. > > Never had any problems with it. I use it for a serial console at 115200 > baud. Hmm, well I was testing it with a new type of UPS so I may have it confused= in=20 my head. Certainly my more recent testing didn't show anything up.. I am just parano= id=20 as it's about to get shipped to the Antarctic :) > I booted once with ACPI disabled, all seemed to work except that it didn't > detect the dual core cpu properly. Hmm OK.. I would prefer to boot with ACPI anyway. > AFAIK there's no such thing as a real ISA bus on amd64, including it in t= he > kernel would make little sense. Well you can probably get a PCI<->ISA bridge and a passive backplane ;) I think a better option would be to remove the test in sio.c for the AMD64= =20 case since isa_irq_pending() won't do anything. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart4296016.IpCFV82Tie Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEm0Un5ZPcIHs/zowRAuhcAJ9RguMTI43CDJDxi47PaH3yRgNo0QCdHp4F 1wIPp9YTFIJK3TJprUp0p6Y= =mmfe -----END PGP SIGNATURE----- --nextPart4296016.IpCFV82Tie-- From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 02:45:21 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3918F16A49A for ; Fri, 23 Jun 2006 02:45:21 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB6F2444C8 for ; Thu, 22 Jun 2006 20:12:41 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 54B82291B0A for ; Thu, 22 Jun 2006 17:12:38 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 35943-03 for ; Thu, 22 Jun 2006 17:12:24 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 743E8291B09 for ; Thu, 22 Jun 2006 17:12:21 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 55C894AAD9; Thu, 22 Jun 2006 17:12:22 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 54D8A4AA01 for ; Thu, 22 Jun 2006 17:12:22 -0300 (ADT) Date: Thu, 22 Jun 2006 17:12:22 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-stable@freebsd.org Message-ID: <20060622170836.Q1114@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: FreeBSD 6-STABLE freezing up ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 02:45:21 -0000 'k, I was thinking / hoping it was just maxpipekva causing me issues, but apparently that isn't it ... it just froze up again with only 40 out of 60M of allocated space used: ============================== kern.ipc.maxpipekva: 67108864 - kern.ipc.pipekva: 39272448 running processes: 1631 ============================== ps shows processes are still running: last pid: 84729; load averages: 0.29, 0.61, 3.972 up 0+04:42:36 17:07:12 3657 processes:3656 sleeping, 1 zombie CPU states: 1.3% user, 0.0% nice, 2.9% system, 0.2% interrupt, 95.7% idle Mem: 3105M Active, 341M Inact, 350M Wired, 118M Cache, 112M Buf, 24M Free Swap: 8192M Total, 728M Used, 7464M Free, 8% Inuse, 24K In Number of processes to show: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 34702 www 1 20 0 22552K 14832K lockf 0 0:14 0.78% httpd 15113 www 1 4 0 23980K 12944K sbwait 0 0:02 0.44% httpd 8903 www 1 20 0 22312K 14560K lockf 0 0:14 0.34% httpd 25356 www 1 4 0 18236K 7352K sbwait 1 0:10 0.10% httpd 6324 60 1 4 0 3592K 1068K select 0 9:45 0.00% master 6204 root 1 4 0 1300K 680K select 1 4:52 0.00% syslogd 10824 www 1 96 0 754M 144M select 0 4:03 0.00% java 22816 www 13 20 0 636M 65200K kserel 1 3:08 0.00% java 24527 501 15 20 0 202M 159M kserel 0 1:45 0.00% nsd 25038 nobody 13 20 0 151M 117M kserel 1 1:12 0.00% nsd 28812 ipaudit 14 20 0 160M 126M kserel 1 1:10 0.00% nsd 5191 www 6 20 0 1157M 25428K kserel 0 1:00 0.00% java 2945 nobody 13 20 0 131M 84284K kserel 0 0:58 0.00% nsd 16014 root 6 20 0 1130M 36852K kserel 0 0:58 0.00% java 8938 www 6 20 0 1141M 40336K kserel 0 0:54 0.00% java 22535 www 6 20 0 1139M 29412K kserel 0 0:53 0.00% java 19295 ipaudit 16 20 0 188M 123M kserel 1 0:51 0.00% nsd 19251 88 8 20 0 59340K 5572K kserel 0 0:44 0.00% mysqld 17287 ipaudit 14 20 0 83388K 31688K kserel 0 0:43 0.00% nsd 17279 ipaudit 13 20 0 107M 67680K kserel 1 0:37 0.00% nsd 17243 ipaudit 12 20 0 90740K 52000K kserel 1 0:35 0.00% nsd 25487 nobody 22 20 0 85652K 63688K kserel 1 0:33 0.00% nsd 31657 nobody 12 20 0 40612K 26380K kserel 1 0:31 0.00% nsd 17255 ipaudit 14 20 0 61108K 28044K kserel 0 0:30 0.00% nsd 17262 ipaudit 13 20 0 53144K 20444K kserel 1 0:30 0.00% nsd 17270 ipaudit 13 20 0 54772K 20524K kserel 0 0:28 0.00% nsd 8743 nobody 22 20 0 40984K 11016K kserel 0 0:27 0.00% nsd 15110 88 6 20 0 57772K 4720K kserel 1 0:20 0.00% mysqld 5651 88 6 20 0 57132K 1652K kserel 1 0:18 0.00% mysqld 6323 88 6 20 0 57016K 1652K kserel 1 0:18 0.00% mysqld I'm at a loss as to what to look at though ... other then the fact that I've hit the limit as far as 'overloading the system' is concerned :( ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 03:22:41 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B75416A482 for ; Fri, 23 Jun 2006 03:22:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24C9643D55 for ; Fri, 23 Jun 2006 03:22:39 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k5N3MXNf026884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Jun 2006 06:22:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k5N3MWQR032042; Fri, 23 Jun 2006 06:22:32 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k5N3MVf2032041; Fri, 23 Jun 2006 06:22:31 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 23 Jun 2006 06:22:31 +0300 From: Konstantin Belousov To: "Marc G. Fournier" Message-ID: <20060623032231.GE5115@deviant.kiev.zoral.com.ua> References: <20060622170836.Q1114@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AsxXAMtlQ5JHofzM" Content-Disposition: inline In-Reply-To: <20060622170836.Q1114@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=ALL_TRUSTED,SPF_NEUTRAL autolearn=failed version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on fw.zoral.com.ua Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 6-STABLE freezing up ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 03:22:41 -0000 --AsxXAMtlQ5JHofzM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 22, 2006 at 05:12:22PM -0300, Marc G. Fournier wrote: >=20 > 'k, I was thinking / hoping it was just maxpipekva causing me issues, but= =20 > apparently that isn't it ... it just froze up again with only 40 out of= =20 > 60M of allocated space used: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > kern.ipc.maxpipekva: 67108864 - kern.ipc.pipekva: 39272448 > running processes: 1631 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >=20 > ps shows processes are still running: >=20 > last pid: 84729; load averages: 0.29, 0.61, 3.972 up 0+04:42:36 =20 > 17:07:12 > 3657 processes:3656 sleeping, 1 zombie > CPU states: 1.3% user, 0.0% nice, 2.9% system, 0.2% interrupt, 95.7%= =20 > idle > Mem: 3105M Active, 341M Inact, 350M Wired, 118M Cache, 112M Buf, 24M Free > Swap: 8192M Total, 728M Used, 7464M Free, 8% Inuse, 24K In > Number of processes to show: > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 34702 www 1 20 0 22552K 14832K lockf 0 0:14 0.78% httpd > 15113 www 1 4 0 23980K 12944K sbwait 0 0:02 0.44% httpd > 8903 www 1 20 0 22312K 14560K lockf 0 0:14 0.34% httpd > 25356 www 1 4 0 18236K 7352K sbwait 1 0:10 0.10% httpd > 6324 60 1 4 0 3592K 1068K select 0 9:45 0.00% master > 6204 root 1 4 0 1300K 680K select 1 4:52 0.00% syslogd > 10824 www 1 96 0 754M 144M select 0 4:03 0.00% java > 22816 www 13 20 0 636M 65200K kserel 1 3:08 0.00% java > 24527 501 15 20 0 202M 159M kserel 0 1:45 0.00% nsd > 25038 nobody 13 20 0 151M 117M kserel 1 1:12 0.00% nsd > 28812 ipaudit 14 20 0 160M 126M kserel 1 1:10 0.00% nsd > 5191 www 6 20 0 1157M 25428K kserel 0 1:00 0.00% java > 2945 nobody 13 20 0 131M 84284K kserel 0 0:58 0.00% nsd > 16014 root 6 20 0 1130M 36852K kserel 0 0:58 0.00% java > 8938 www 6 20 0 1141M 40336K kserel 0 0:54 0.00% java > 22535 www 6 20 0 1139M 29412K kserel 0 0:53 0.00% java > 19295 ipaudit 16 20 0 188M 123M kserel 1 0:51 0.00% nsd > 19251 88 8 20 0 59340K 5572K kserel 0 0:44 0.00% mysqld > 17287 ipaudit 14 20 0 83388K 31688K kserel 0 0:43 0.00% nsd > 17279 ipaudit 13 20 0 107M 67680K kserel 1 0:37 0.00% nsd > 17243 ipaudit 12 20 0 90740K 52000K kserel 1 0:35 0.00% nsd > 25487 nobody 22 20 0 85652K 63688K kserel 1 0:33 0.00% nsd > 31657 nobody 12 20 0 40612K 26380K kserel 1 0:31 0.00% nsd > 17255 ipaudit 14 20 0 61108K 28044K kserel 0 0:30 0.00% nsd > 17262 ipaudit 13 20 0 53144K 20444K kserel 1 0:30 0.00% nsd > 17270 ipaudit 13 20 0 54772K 20524K kserel 0 0:28 0.00% nsd > 8743 nobody 22 20 0 40984K 11016K kserel 0 0:27 0.00% nsd > 15110 88 6 20 0 57772K 4720K kserel 1 0:20 0.00% mysqld > 5651 88 6 20 0 57132K 1652K kserel 1 0:18 0.00% mysqld > 6323 88 6 20 0 57016K 1652K kserel 1 0:18 0.00% mysqld >=20 > I'm at a loss as to what to look at though ... other then the fact that= =20 > I've hit the limit as far as 'overloading the system' is concerned :( What exactly happens ? Are you sure that the _system_ freezes ? Could it be that only your application has some troubles ? Basically, you did not say whether you could log in the failed machine, are existing shells responsible, etc. For reporting kernel deadlocks, see http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kernel= debug-deadlocks.html --AsxXAMtlQ5JHofzM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEm152C3+MBN1Mb4gRAu03AKDiGAPBDOKzkGfRZpBJatlBeJy3CACeLT26 TJNqeZWZM8Fvl1vAMMD424M= =rC0C -----END PGP SIGNATURE----- --AsxXAMtlQ5JHofzM-- From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 03:44:46 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62CAA16A47B for ; Fri, 23 Jun 2006 03:44:46 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDB7643D45 for ; Fri, 23 Jun 2006 03:44:45 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id BF322290C6D; Fri, 23 Jun 2006 00:44:44 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 34891-01; Fri, 23 Jun 2006 00:44:44 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 4DDFC290C20; Fri, 23 Jun 2006 00:44:44 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id EA8A24A1D1; Fri, 23 Jun 2006 00:44:43 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id E449949973; Fri, 23 Jun 2006 00:44:43 -0300 (ADT) Date: Fri, 23 Jun 2006 00:44:43 -0300 (ADT) From: "Marc G. Fournier" To: Konstantin Belousov In-Reply-To: <20060623032231.GE5115@deviant.kiev.zoral.com.ua> Message-ID: <20060623004037.T1114@ganymede.hub.org> References: <20060622170836.Q1114@ganymede.hub.org> <20060623032231.GE5115@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 6-STABLE freezing up ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 03:44:46 -0000 On Fri, 23 Jun 2006, Konstantin Belousov wrote: > What exactly happens ? Are you sure that the _system_ freezes ? Could it > be that only your application has some troubles ? Nothing works ... I can ping the server, and that is about it ... the last time it happened, I had a vmstat process running in an xterm, to see, and I suspect that there is a process (or two) starting up hitting the hard drive extra hard, as the drives go from an ~5 busy, to 45 busy, and stays like that ... the fun part is figuring out what is killing the drives ;( 23 135 0 10376972 214284 14380 26 19 7 11694 7527 331 0 1159 17515 5402 34 58 8 1 46 0 10125776 265236 7154 17 10 0 8789 0 204 0 1020 12767 3952 47 42 11 3 45 0 10084704 260780 1465 0 6 6 1371 0 147 0 843 6761 4960 25 22 53 3 44 0 10061384 253684 801 1 1 0 678 0 55 0 573 5647 1598 16 10 74 I'm working on reducing the # of vServers running on that server, as I suspect I'm just overloading it :( ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 04:15:09 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5994E16A481 for ; Fri, 23 Jun 2006 04:15:09 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDF1C43D48 for ; Fri, 23 Jun 2006 04:15:08 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k5N4F84w011672; Thu, 22 Jun 2006 23:15:08 -0500 (CDT) (envelope-from dan) Date: Thu, 22 Jun 2006 23:15:08 -0500 From: Dan Nelson To: "Marc G. Fournier" Message-ID: <20060623041508.GC95588@dan.emsphone.com> References: <20060622170836.Q1114@ganymede.hub.org> <20060623032231.GE5115@deviant.kiev.zoral.com.ua> <20060623004037.T1114@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060623004037.T1114@ganymede.hub.org> X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: Konstantin Belousov , freebsd-stable@freebsd.org Subject: Re: FreeBSD 6-STABLE freezing up ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 04:15:09 -0000 In the last episode (Jun 23), Marc G. Fournier said: > On Fri, 23 Jun 2006, Konstantin Belousov wrote: > >What exactly happens ? Are you sure that the _system_ freezes ? > >Could it be that only your application has some troubles ? > > Nothing works ... I can ping the server, and that is about it ... the > last time it happened, I had a vmstat process running in an xterm, to > see, and I suspect that there is a process (or two) starting up > hitting the hard drive extra hard, as the drives go from an ~5 busy, > to 45 busy, and stays like that ... the fun part is figuring out what > is killing the drives ;( Hit "m" in top to switch to I/O mode, and enter "ototal" to sort by I/O instead of CPU. As long as whatever's doing the I/O lasts longer than top's refresh interval it should show up. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 04:23:05 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A37FF16A492 for ; Fri, 23 Jun 2006 04:23:05 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96EC643D4C for ; Fri, 23 Jun 2006 04:23:04 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id E5A37290C6D; Fri, 23 Jun 2006 01:23:02 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 35848-06; Fri, 23 Jun 2006 01:23:03 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 59DA4290C20; Fri, 23 Jun 2006 00:56:41 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 32B1E49B0C; Fri, 23 Jun 2006 00:56:41 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 314B349645; Fri, 23 Jun 2006 00:56:41 -0300 (ADT) Date: Fri, 23 Jun 2006 00:56:41 -0300 (ADT) From: "Marc G. Fournier" To: Konstantin Belousov In-Reply-To: <20060623032231.GE5115@deviant.kiev.zoral.com.ua> Message-ID: <20060623005559.V1114@ganymede.hub.org> References: <20060622170836.Q1114@ganymede.hub.org> <20060623032231.GE5115@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 6-STABLE freezing up ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 04:23:05 -0000 On Fri, 23 Jun 2006, Konstantin Belousov wrote: > For reporting kernel deadlocks, see > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-deadlocks.html The problem (ie. nightmare) is that I don't have access to the console (remote server), so DDB debugging isn't an option on this *sigh* ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 04:32:44 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DF3916A47E for ; Fri, 23 Jun 2006 04:32:44 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF92C43D4C for ; Fri, 23 Jun 2006 04:32:42 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 287B8290C6D for ; Fri, 23 Jun 2006 01:32:41 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 33410-09 for ; Fri, 23 Jun 2006 01:32:41 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 72816290C20 for ; Fri, 23 Jun 2006 01:32:40 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id C9BBD48E1B; Fri, 23 Jun 2006 01:32:40 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id C3B4C3D95F for ; Fri, 23 Jun 2006 01:32:40 -0300 (ADT) Date: Fri, 23 Jun 2006 01:32:40 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-stable@freebsd.org Message-ID: <20060623012053.R1114@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: FreeBSD 6.x on Dual PIII server only seeing one CPU ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 04:32:44 -0000 Are there any known problems with FreeBSD 6.x and Dual PIII motherboards? My source tree is from May 25th ... I just noticed something while looking around my server, and there is no CPU1 running, only CPU0 ... I definitely have SMP enabled in my kernel: # strings /boot/kernel/kernel | grep SMP SMP_prvspace SMPpt Correcting Natoma config for SMP Kernel SMP SMP has been disabled from the loader FreeBSD/SMP: Multiprocessor System Detected: %d CPUs SMP: CPU %d exceeds maximum CPU %d, ignoring SMP: Added CPU %d (%s) SMP: cpuid = %d SMP: actual apic_id = %d SMP: correct apic_id = %d SMP: AP CPU #%d Launched! SMP: tlb shootdown to %d other cpus (only have %d) Indicates whether the TSC is safe to use in SMP mode npx0 cannot use IRQ 13 on an SMP system npx0 cannot be emulated on an SMP system but, as dmesg shows, no 2nd CPU is even being attempted to start: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-STABLE #1: Sun Jun 18 00:01:02 ADT 2006 root@pluto.hub.org:/usr/obj/usr/src/sys/kernel acpi_alloc_wakeup_handler: can't alloc wake memory ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU - S 1266MHz (1263.45-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b4 Stepping = 4 Features=0x383fbff real memory = 4227792896 (4031 MB) avail memory = 4144308224 (3952 MB) ACPI-0698: *** Warning: Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [MLIB] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [SB__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [ICNT] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [ACPI] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [LEDP] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [WUES] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [WUSE] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [CSB5] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [BIOS] had invalid type (Integer) for Scope operator, changed to (Scope) ACPI-0698: *** Warning: Type override - [CMOS] had invalid type (Integer) for Scope operator, changed to (Scope) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard lapic3: Forcing LINT1 to edge trigger kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 2.0 (no driver attached) fxp0: port 0x1480-0x14bf mem 0xfe790000-0xfe790fff,0xfe760000-0xfe77ffff irq 21 at device 3.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:03:47:bd:67:66 fxp1: port 0x14c0-0x14ff mem 0xfeac0000-0xfeac0fff,0xfeaa0000-0xfeabffff irq 20 at device 4.0 on pci0 miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:03:47:bd:67:67 pci0: at device 12.0 (no driver attached) isab0: at device 15.0 on pci0 isa0: on isab0 pci0: at device 15.1 (no driver attached) pci0: at device 15.2 (no driver attached) pcib1: on acpi0 pci1: on pcib1 iir0: mem 0xfc8f0000-0xfc8f3fff irq 30 at device 9.0 on pci1 iir0: [GIANT-LOCKED] pcib2: on acpi0 pci2: on pcib2 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xd0fff,0xd1000-0xd27ff,0xd2800-0xd3fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] Timecounter "TSC" frequency 1263452709 Hz quality 800 Timecounters tick every 1.000 msec Waiting 5 seconds for SCSI devices to settle ses0 at iir0 bus 1 target 6 lun 0 ses0: Fixed Processor SCSI-2 device ses0: SAF-TE Compliant Device da0 at iir0 bus 2 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 174848MB (358088850 512 byte sectors: 255H 63S/T 22290C) Trying to mount root from ufs:/dev/da0s1a ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 05:02:24 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2364F16A4A0 for ; Fri, 23 Jun 2006 05:02:24 +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 BDBEB43D46 for ; Fri, 23 Jun 2006 05:02:23 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5N4xlqB030918; Thu, 22 Jun 2006 22:59:47 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 22 Jun 2006 22:59:47 -0600 (MDT) Message-Id: <20060622.225947.635732173.imp@bsdimp.com> To: gavin.atkinson@ury.york.ac.uk From: "M. Warner Losh" In-Reply-To: <1150735321.47111.16.camel@buffy.york.ac.uk> References: <20060619024759.I13558@woozle.rinet.ru> <1150735321.47111.16.camel@buffy.york.ac.uk> 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 Cc: stable@freebsd.org, marck@rinet.ru Subject: Re: puc and sio X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 05:02:24 -0000 In message: <1150735321.47111.16.camel@buffy.york.ac.uk> Gavin Atkinson writes: : On Mon, 2006-06-19 at 02:56 +0400, Dmitry Morozovsky wrote: : > Dear colelagues, : > : > playing with puc compatible MOXA card I found that it's rather useless with : > contemporary DEFAULT kernel: : > : > - sio compiled in, puc as module - puc identified, but no sio ports detected, : > even when puc.ko is loaded by loader : > - sio and puc both loaded as modules - all sio ports detected, but comconsole : > cannot be activated : > - sio and puc compiled in kernel - all work flawlessly : > : > Maybe it's time to consider including puc in GENERIC? : : Yes - this has been brought up a few times before. Another alternative : is the patch in : http://lists.freebsd.org/pipermail/freebsd-current/2005-December/058909.html - but there was at least one objection to it. I'm not convinced the current status quo is acceptable, though. This patch is bad and should not be committed. It makes puc a special case when it comes to attachments. The problem is somewhat more wide-ranging than just puc, and fixing it generally would massively bloatify static kernels. Warner From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 05:05:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F157816A494 for ; Fri, 23 Jun 2006 05:05:18 +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 9D6E743D6D for ; Fri, 23 Jun 2006 05:05:18 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5N54Yma030970; Thu, 22 Jun 2006 23:04:38 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 22 Jun 2006 23:04:33 -0600 (MDT) Message-Id: <20060622.230433.24902227.imp@bsdimp.com> To: doconnor@gsoft.com.au From: "M. Warner Losh" In-Reply-To: <200606221424.14380.doconnor@gsoft.com.au> References: <200606221424.14380.doconnor@gsoft.com.au> 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 Cc: freebsd-stable@freebsd.org Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 05:05:19 -0000 In message: <200606221424.14380.doconnor@gsoft.com.au> "Daniel O'Connor" writes: : I have 2 Asus A8V motherboards running FreeBSD 6.0 and 6.1 (amd64) and I see : the following in dmesg.. : : sio0: configured irq 3 not in bitmap of probed irqs 0 : sio0: port may not be enabled : sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 : sio0: type 16550A : sio1: configured irq 4 not in bitmap of probed irqs 0 : sio1: port may not be enabled : sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 : sio1: type 16550A : : The ports are enabled in the BIOS and do seem to work.. mostly. I have had odd : problems trying to talk to stuff connected to the on occasion though. : : I have another [custom] driver that is based on sio.c and it shows the same : warning (it is a PCI RS485 card). : : I have tried playing with various ACPI & ATPIC settings in the BIOS but no : change. If I disable ACPI in the kernel the IDE driver fails to activate it's : IRQ and then panics a bit later... : : I have updated to the latest BIOS but it had made no change. : : Hmm actually I just looked through the code.. It appears that this happens : because isa_irq_pending() is a noop unless isa is in the kernel, and it isn't : in GENERIC. Perhaps those tests in sio.c should be conditionalised on isa : too? isa_irq_pending can only really be called on isa bus attachments... Why don't you have ISA in your kernel. I thought it was still required. Warner From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 05:11:31 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C59BC16A4A9 for ; Fri, 23 Jun 2006 05:11:31 +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 6DAF543D49 for ; Fri, 23 Jun 2006 05:11:31 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5N59FfS031080; Thu, 22 Jun 2006 23:09:16 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 22 Jun 2006 23:09:15 -0600 (MDT) Message-Id: <20060622.230915.-494097173.imp@bsdimp.com> To: pieter@degoeje.nl From: "M. Warner Losh" In-Reply-To: <200606221323.01249.pieter@degoeje.nl> References: <200606221424.14380.doconnor@gsoft.com.au> <200606221323.01249.pieter@degoeje.nl> 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 Cc: freebsd-stable@freebsd.org Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 05:11:31 -0000 In message: <200606221323.01249.pieter@degoeje.nl> Pieter de Goeje writes: : > Hmm actually I just looked through the code.. It appears that this happens : > because isa_irq_pending() is a noop unless isa is in the kernel, and it : > isn't in GENERIC. Perhaps those tests in sio.c should be conditionalised on : > isa too? : : AFAIK there's no such thing as a real ISA bus on amd64, including it in the : kernel would make little sense. There is a real ISA bus on amd64. There's no ISA expansion slots, and the ISA bus in amd64 most likely really is a LPC bus, but the LPC bus is handled with the ISA bus code because to the software they are the same thing. However, unless you have 'nodevice isa' in your kernel config file, the conf/DEFAULTS file will pull in the isa bus. As to the underlying problem, it appears that we cannot properly detect when a device has interrupted. The test is in place to deal with very old ISA add-in cards that were jumpered for IRQ x, but the kernel was configured for IRQ y. In the interrum, a number of embedded boards have extra serial ports, but they bogusly do not list them in the PNPBIOS or ACPI tables, so they have to be 'hinted' to do the right thing. The IRQ for these hints is very easy to get wrong. If the serial port works, then ignore the warning... It is there to indicate a possible problem, not necessarily an actual one. That's what makes it a warning and not an error :-) Warner From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 05:17:50 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A958F16A482 for ; Fri, 23 Jun 2006 05:17:50 +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 3D45543D49 for ; Fri, 23 Jun 2006 05:17:50 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5N5ESXs031131; Thu, 22 Jun 2006 23:14:28 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 22 Jun 2006 23:14:28 -0600 (MDT) Message-Id: <20060622.231428.790460912.imp@bsdimp.com> To: doconnor@gsoft.com.au From: "M. Warner Losh" In-Reply-To: <200606231104.31514.doconnor@gsoft.com.au> References: <200606221424.14380.doconnor@gsoft.com.au> <200606221323.01249.pieter@degoeje.nl> <200606231104.31514.doconnor@gsoft.com.au> 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 Cc: pieter@degoeje.nl, freebsd-stable@freebsd.org Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 05:17:50 -0000 In message: <200606231104.31514.doconnor@gsoft.com.au> "Daniel O'Connor" writes: : I think a better option would be to remove the test in sio.c for the AMD64 : case since isa_irq_pending() won't do anything. I hate #ifdef __amd64__ code. It is evil and should be avoided. Maybe the right answer is to have a separate ACPI probe routine that does something similar to the pccard case where we pass 'noprobe = 1' to the sioprobe routine. If ACPI says there's a sio there, we don't need to probe for it... Warner From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 05:39:45 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7FF816A47B for ; Fri, 23 Jun 2006 05:39:45 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A61043D53 for ; Fri, 23 Jun 2006 05:39:44 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k5N5dYNb039597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Jun 2006 15:09:34 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: "M. Warner Losh" Date: Fri, 23 Jun 2006 15:09:21 +0930 User-Agent: KMail/1.9.3 References: <200606221424.14380.doconnor@gsoft.com.au> <20060622.230433.24902227.imp@bsdimp.com> In-Reply-To: <20060622.230433.24902227.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1284354.uDnmJJ3PFh"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606231509.29720.doconnor@gsoft.com.au> X-Spam-Score: -1.36 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: freebsd-stable@freebsd.org Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 05:39:45 -0000 --nextPart1284354.uDnmJJ3PFh Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 23 June 2006 14:34, M. Warner Losh wrote: > isa_irq_pending can only really be called on isa bus attachments... > > Why don't you have ISA in your kernel. I thought it was still required. It's not in GENERIC on 6.1. atpic has isa_irq_pending, however if you don't have atpic in your kernel a= =20 stub is built in machdep.c. =2E. although that only happens if DEV_ISA is defined.. I don't understand how=20 sio.c can link if you don't have isa in your kernel because there won't be= =20 any isa_irq_pending() defined anywhere. WTF? =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1284354.uDnmJJ3PFh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEm36R5ZPcIHs/zowRAnTqAJ9/1s/X7Qf+B075qUITG4IOuO6gXQCfQqk7 Ay8SeFNsXKoCIeyDHKk/9HI= =ccvL -----END PGP SIGNATURE----- --nextPart1284354.uDnmJJ3PFh-- From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 06:09:32 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE02116A54E for ; Fri, 23 Jun 2006 06:09:32 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD04443D46 for ; Fri, 23 Jun 2006 06:09:31 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k5N69CAZ040033 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Jun 2006 15:39:12 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: "M. Warner Losh" Date: Fri, 23 Jun 2006 15:39:08 +0930 User-Agent: KMail/1.9.3 References: <200606221424.14380.doconnor@gsoft.com.au> <200606231104.31514.doconnor@gsoft.com.au> <20060622.231428.790460912.imp@bsdimp.com> In-Reply-To: <20060622.231428.790460912.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5209481.GZX5Gb0luM"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606231539.09594.doconnor@gsoft.com.au> X-Spam-Score: -1.36 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: pieter@degoeje.nl, freebsd-stable@freebsd.org Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 06:09:32 -0000 --nextPart5209481.GZX5Gb0luM Content-Type: multipart/mixed; boundary="Boundary-01=_FW4mEsOyYbTAyuJ" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_FW4mEsOyYbTAyuJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 23 June 2006 14:44, M. Warner Losh wrote: > : I think a better option would be to remove the test in sio.c for the > : AMD64 case since isa_irq_pending() won't do anything. > > I hate #ifdef __amd64__ code. It is evil and should be avoided. > Maybe the right answer is to have a separate ACPI probe routine that > does something similar to the pccard case where we pass 'noprobe =3D 1' > to the sioprobe routine. If ACPI says there's a sio there, we don't > need to probe for it... That sounds like a good solution! Better than an ifdef for sure :) How's this diff? Note that I just mangled the uart ACPI attachment and the sio PCCARD one.. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --Boundary-01=_FW4mEsOyYbTAyuJ Content-Type: text/x-diff; charset="iso-8859-1"; name="sio-acpi.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="sio-acpi.diff" Index: sys/conf/files =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/CVS-Repository/src/sys/conf/files,v retrieving revision 1.1104 diff -u -r1.1104 files =2D-- sys/conf/files 23 Mar 2006 23:06:14 -0000 1.1104 +++ sys/conf/files 23 Jun 2006 05:46:57 -0000 @@ -828,6 +828,7 @@ dev/si/si_eisa.c optional si eisa dev/si/si_isa.c optional si isa dev/si/si_pci.c optional si pci +dev/sio/sio_acpi.c optional sio acpi dev/sio/sio_pccard.c optional sio pccard dev/sio/sio_pci.c optional sio pci dev/sio/sio_puc.c optional sio puc pci Index: sys/modules/sio/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/CVS-Repository/src/sys/modules/sio/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile =2D-- sys/modules/sio/Makefile 14 Oct 2005 23:30:15 -0000 1.9 +++ sys/modules/sio/Makefile 23 Jun 2006 05:46:32 -0000 @@ -8,7 +8,7 @@ KMOD=3D sio SRCS=3D bus_if.h card_if.h device_if.h isa_if.h pci_if.h \ opt_comconsole.h opt_compat.h opt_gdb.h opt_kdb.h opt_sio.h \ =2D sio.c sio_pccard.c sio_pci.c sio_puc.c pccarddevs.h + sio.c sio_acpi.c sio_pccard.c sio_pci.c sio_puc.c pccarddevs.h .if ${MACHINE} =3D=3D "pc98" SRCS+=3D sio_cbus.c .else Index: sys/dev/sio/sio_acpi.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: sys/dev/sio/sio_acpi.c diff -N sys/dev/sio/sio_acpi.c =2D-- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sys/dev/sio/sio_acpi.c 23 Jun 2006 05:57:03 -0000 @@ -0,0 +1,98 @@ +/*- + * Copyright (c) 2006 Daniel O'Connor. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTI= ES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF US= E, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include +__FBSDID("$FreeBSD$"); + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include + +static int sio_acpi_attach(device_t dev); +static int sio_acpi_probe(device_t dev); + +static device_method_t sio_acpi_methods[] =3D { + /* Device interface */ + DEVMETHOD(device_probe, sio_acpi_probe), + DEVMETHOD(device_attach, sio_acpi_attach), + DEVMETHOD(device_detach, siodetach), + + { 0, 0 } +}; + +static driver_t sio_acpi_driver =3D { + sio_driver_name, + sio_acpi_methods, + 0, +}; + +static struct isa_pnp_id sio_acpi_ids[] =3D { + {0x0005d041, "Standard PC COM port"}, /* PNP0500 */ + {0x0105d041, "16550A-compatible COM port"}, /* PNP0501 */ + {0} +}; + +static int +sio_acpi_probe(dev) + device_t dev; +{ + device_t parent; +=09 + parent =3D device_get_parent(dev); + + if (!ISA_PNP_PROBE(parent, dev, sio_acpi_ids)) + return (sioprobe(dev, 0, 0UL, 2)); + + /* Add checks for non-ns8250 IDs here. */ + return (ENXIO); + +} + +static int +sio_acpi_attach(dev) + device_t dev; +{ + int err; +=09 + /* Do not probe IRQ - if ACPI says it's there, it is */ + if ((err =3D sioprobe(dev, 0, 0UL, 1)) !=3D 0) + return (err); + return (sioattach(dev, 0, 0UL)); +} + +DRIVER_MODULE(sio, acpi, sio_acpi_driver, sio_devclass, 0, 0); Index: sys/dev/sio/sio_isa.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/CVS-Repository/src/sys/dev/sio/sio_isa.c,v retrieving revision 1.16 diff -u -r1.16 sio_isa.c =2D-- sys/dev/sio/sio_isa.c 29 May 2005 04:42:25 -0000 1.16 +++ sys/dev/sio/sio_isa.c 23 Jun 2006 05:46:11 -0000 @@ -167,4 +167,3 @@ } =20 DRIVER_MODULE(sio, isa, sio_isa_driver, sio_devclass, 0, 0); =2DDRIVER_MODULE(sio, acpi, sio_isa_driver, sio_devclass, 0, 0); Index: sys/dev/sio/sio.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/CVS-Repository/src/sys/dev/sio/sio.c,v retrieving revision 1.464 diff -u -r1.464 sio.c =2D-- sys/dev/sio/sio.c 22 Feb 2006 18:16:25 -0000 1.464 +++ sys/dev/sio/sio.c 23 Jun 2006 06:03:59 -0000 @@ -716,10 +716,12 @@ failures[1] =3D sio_getreg(com, com_ier) - IER_ETXRDY; failures[2] =3D sio_getreg(com, com_mcr) - mcr_image; DELAY(10000); /* Some internal modems need this time */ =2D irqmap[1] =3D isa_irq_pending(); + if (noprobe < 2) + irqmap[1] =3D isa_irq_pending(); failures[4] =3D (sio_getreg(com, com_iir) & IIR_IMASK) - IIR_TXRDY; DELAY(1000); /* XXX */ =2D irqmap[2] =3D isa_irq_pending(); + if (noprobe < 2) + irqmap[2] =3D isa_irq_pending(); failures[6] =3D (sio_getreg(com, com_iir) & IIR_IMASK) - IIR_NOPEND; =20 /* @@ -735,26 +737,30 @@ sio_setreg(com, com_cfcr, CFCR_8BITS); /* dummy to avoid bus echo */ failures[7] =3D sio_getreg(com, com_ier); DELAY(1000); /* XXX */ =2D irqmap[3] =3D isa_irq_pending(); + if (noprobe < 2) + irqmap[3] =3D isa_irq_pending(); failures[9] =3D (sio_getreg(com, com_iir) & IIR_IMASK) - IIR_NOPEND; =20 mtx_unlock_spin(&sio_lock); =20 =2D irqs =3D irqmap[1] & ~irqmap[0]; =2D if (bus_get_resource(idev, SYS_RES_IRQ, 0, &xirq, NULL) =3D=3D 0 && =2D ((1 << xirq) & irqs) =3D=3D 0) { + if (noprobe < 2) { + irqs =3D irqmap[1] & ~irqmap[0]; + if (bus_get_resource(idev, SYS_RES_IRQ, 0, &xirq, NULL) =3D=3D 0 && + ((1 << xirq) & irqs) =3D=3D 0) { printf( =2D "sio%d: configured irq %ld not in bitmap of probed irqs %#x\n", + "sio%d: configured irq %ld not in bitmap of probed irqs %#x\n", device_get_unit(dev), xirq, irqs); printf( =2D "sio%d: port may not be enabled\n", + "sio%d: port may not be enabled\n", device_get_unit(dev)); =2D } =2D if (bootverbose) + } + + if (bootverbose) printf("sio%d: irq maps: %#x %#x %#x %#x\n", =2D device_get_unit(dev), =2D irqmap[0], irqmap[1], irqmap[2], irqmap[3]); + device_get_unit(dev), + irqmap[0], irqmap[1], irqmap[2], irqmap[3]); =20 + } result =3D 0; for (fn =3D 0; fn < sizeof failures; ++fn) if (failures[fn]) { --Boundary-01=_FW4mEsOyYbTAyuJ-- --nextPart5209481.GZX5Gb0luM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEm4WF5ZPcIHs/zowRArSBAJoDdtbVJwMmPwlAH6SKfMJU82lcYgCgpi6X TUAZixZBbRW3zSBNdGyhym0= =pTy/ -----END PGP SIGNATURE----- --nextPart5209481.GZX5Gb0luM-- From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 06:35:24 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBBDA16A492 for ; Fri, 23 Jun 2006 06:35:24 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B805143D55 for ; Fri, 23 Jun 2006 06:35:23 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k5N6ZB4B040546 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Jun 2006 16:05:12 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Fri, 23 Jun 2006 16:05:09 +0930 User-Agent: KMail/1.9.3 References: <200606221424.14380.doconnor@gsoft.com.au> <200606221323.01249.pieter@degoeje.nl> <20060622.230915.-494097173.imp@bsdimp.com> In-Reply-To: <20060622.230915.-494097173.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1211493.CtIB0J39V9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606231605.11119.doconnor@gsoft.com.au> X-Spam-Score: -1.36 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: pieter@degoeje.nl Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 06:35:24 -0000 --nextPart1211493.CtIB0J39V9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 23 June 2006 14:39, M. Warner Losh wrote: > However, unless you have 'nodevice isa' in your kernel config file, > the conf/DEFAULTS file will pull in the isa bus. Ahh.. > If the serial port works, then ignore the warning... It is there to > indicate a possible problem, not necessarily an actual one. That's > what makes it a warning and not an error :-) Yeah but it's uuugly. :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1211493.CtIB0J39V9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEm4uf5ZPcIHs/zowRAiQNAJsFo/86nzH/IZr5EOmXS2KQqvn6hQCfd706 K8XBOxIFGZ+3Y/vCMTEvXdc= =rt2K -----END PGP SIGNATURE----- --nextPart1211493.CtIB0J39V9-- From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 06:55:53 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E446B16A47B for ; Fri, 23 Jun 2006 06:55:53 +0000 (UTC) (envelope-from vyeperman@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6443843D45 for ; Fri, 23 Jun 2006 06:55:53 +0000 (GMT) (envelope-from vyeperman@gmail.com) Received: by nz-out-0102.google.com with SMTP id o1so687662nzf for ; Thu, 22 Jun 2006 23:55: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:references; b=EHoDI6BKEhIv2qbT4osmWpBheuGt5qqYTNUj/IzmXnu8/ptSDpYm0UbqQ/yolLVok1KT0rHOF+iE3OVWl6XFfeFwOoG5mCmRb0upkykty46U6Gc2oxgCyo/lQ+AZqbBtEKkvQD0zlRrgX760AH3kQm7i2Cfzl5WPQanndO2Fkm8= Received: by 10.36.221.9 with SMTP id t9mr3307216nzg; Thu, 22 Jun 2006 23:55:52 -0700 (PDT) Received: by 10.36.56.4 with HTTP; Thu, 22 Jun 2006 23:55:52 -0700 (PDT) Message-ID: <6c3c36d00606222355w822c82k168a0f0106ff0bf@mail.gmail.com> Date: Thu, 22 Jun 2006 23:55:52 -0700 From: "Vye Wilson" To: freebsd-stable@freebsd.org In-Reply-To: <20060622160418.GA26947@uws1.starlofashions.com> MIME-Version: 1.0 References: <20060622024118.GA34796@polands.org> <449AAC71.1020109@samsco.org> <20060622160418.GA26947@uws1.starlofashions.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Upgrading i386 box from 5.5-STABLE to 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 06:55:54 -0000 Yes, thank you. I updated just a few minutes ago, works like a charm. On 6/22/06, Scott Robbins wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thu, Jun 22, 2006 at 08:42:57AM -0600, Scott Long wrote: > > Doug Poland wrote: > > > > >I am following the handbook's "The Canonical Way to Update Your System" > > >and have sucessfully cvsup'd RELENG_6 and run make buildworld. > > >The problem I'm having is during make buildkernel. This is the error: > > >/usr/src/sys/dev/mii/dcphy.c: In function `dcphy_attach': > > >/usr/src/sys/dev/mii/dcphy.c:172: error: `DC_PCI_CSID' undeclared > (first > > >use in this function) > > >/usr/src/sys/dev/mii/dcphy.c:172: error: (Each undeclared identifier is > > >reported only once > > >/usr/src/sys/dev/mii/dcphy.c:172: error: for each function it appears > > >in.) > > >*** Error code 1 > > >Stop in /usr/obj/usr/src/sys/GENERIC. > > > > > The problem is fixed now. Doing a cvsup should get you going again. > > > > Scott > > > Thanks for your quick work--I tried an upgrade this morning and it went > without problems. Thank you. > > > > - -- > > Scott > > GPG KeyID EB3467D6 > ( 1B848 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6) > gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 > > Buffy: Mom, dead people are talking to you. Do the math! > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (FreeBSD) > > iD8DBQFEmr+C+lTVdes0Z9YRAna7AJ9sAC3rFX4f80IOwxgurdpdLvNQRQCfXKK8 > k1nGVOOkmOaBXIk9N6rGTMw= > =AQRj > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- --Vye From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 08:19:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FAEB16A492 for ; Fri, 23 Jun 2006 08:19:23 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD8A943D77 for ; Fri, 23 Jun 2006 08:19:11 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Ftgsf-000GJc-TM for freebsd-stable@freebsd.org; Fri, 23 Jun 2006 11:19:09 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-stable@freebsd.org In-reply-to: Your message of Thu, 22 Jun 2006 08:41:35 +0300 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Jun 2006 11:19:09 +0300 From: Danny Braniss Message-ID: Subject: Re: hp-dx5150/panic on boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 08:19:23 -0000 > > hi, > > this box (HP-dx5150/amd dual core) panics with > > panic: ohci_add_done: addr 0x000cdc30 not found > > in both 32/64bit mode with a very resent 6.1. > > the verbose boot is in: > > ftp://ftp/users/danny/freebsd/hp-dx5150.cons > sould be: > ftp://ftp.cs.huji.ac.il/users/danny/freebsd/hp-dx5150.cons > > problem solved, hear are the soulutions: o- simple/dirty: disable usb legacy support. (this disables the usb boot, more later) or: o- update bios. danny From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 09:00:34 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E263D16A4A9 for ; Fri, 23 Jun 2006 09:00:34 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA1AC43D46 for ; Fri, 23 Jun 2006 09:00:21 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1FthWW-000Hp9-L3 for freebsd-stable@freebsd.org; Fri, 23 Jun 2006 12:00:20 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-stable@freebsd.org In-reply-to: Your message of Fri, 23 Jun 2006 11:19:09 +0300 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Jun 2006 12:00:20 +0300 From: Danny Braniss Message-ID: Subject: Re: hp-dx5150/panic on boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 09:00:35 -0000 > > > hi, > > > this box (HP-dx5150/amd dual core) panics with > > > panic: ohci_add_done: addr 0x000cdc30 not found > > > in both 32/64bit mode with a very resent 6.1. > > > the verbose boot is in: > > > ftp://ftp/users/danny/freebsd/hp-dx5150.cons > > sould be: > > ftp://ftp.cs.huji.ac.il/users/danny/freebsd/hp-dx5150.cons > > > > > problem solved, hear are the soulutions: s/hear/here & s/soulutions/solutions/ (drink coffee before putting foot in mouth :( > o- simple/dirty: disable usb legacy support. > (this disables the usb boot, more later) > or: > o- update bios. > > danny > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 09:59:06 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E37C016A494; Fri, 23 Jun 2006 09:59:06 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw4.york.ac.uk (mail-gw4.york.ac.uk [144.32.128.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 563D343D45; Fri, 23 Jun 2006 09:59:06 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw4.york.ac.uk (8.13.6/8.13.6) with ESMTP id k5N9x2kS024825; Fri, 23 Jun 2006 10:59:02 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.6/8.13.6) with ESMTP id k5N9wrkb062872; Fri, 23 Jun 2006 10:58:53 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.6/8.13.6/Submit) id k5N9wpNk062871; Fri, 23 Jun 2006 10:58:51 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: Martin Blapp In-Reply-To: <20060622223630.V17514@godot.imp.ch> References: <20060621202508.S17514@godot.imp.ch> <20060621193941.Y8526@fledge.watson.org> <20060622205806.GA6542@FreeBSD.czest.pl> <20060622223630.V17514@godot.imp.ch> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 23 Jun 2006 10:58:50 +0100 Message-Id: <1151056731.62769.2.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: Robert Watson , Patrick Guelat , "Wojciech A. Koszek" , freebsd-stable@freebsd.org Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 09:59:07 -0000 On Thu, 2006-06-22 at 23:27 +0200, Martin Blapp wrote: > Hi, > > >>> Unfortunaltly I get this with the debug kernel. > >>> Does one have to boot with the debug.kernel itself > >>> to get a trace which is usable ? > > Sigh. A recompile helped ! > > (kgdb) where > #0 doadump () at pcpu.h:165 > #1 0xc066355e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 > #2 0xc06638b5 in panic (fmt=0xc0891732 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 > #3 0xc085c6b6 in trap_fatal (frame=0xed6e4ab8, eva=4) at /usr/src/sys/i386/i386/trap.c:836 > #4 0xc085c3bf in trap_pfault (frame=0xed6e4ab8, usermode=0, eva=4) at /usr/src/sys/i386/i386/trap.c:744 > #5 0xc085bfb5 in trap (frame= > {tf_fs = 8, tf_es = 40, tf_ds = -1063714776, tf_edi = -1064042304, tf_esi > = 0, tf_ebp = -311538944, tf_isp = -311538972, tf_ebx = -967615488, tf_edx = > -1063651212, tf_ecx = -941099136, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1066845359, tf_cs > = 32, tf_eflags = 66194, tf_esp = -967615488, tf_ss = 0}) > at /usr/src/sys/i386/i386/trap.c:434 > #6 0xc0848bea in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > #7 0xc0693b51 in ttymodem (tp=0xc6535c00, flag=-1063651212) at /usr/src/sys/kern/tty.c:1659 > #8 0xc0698362 in ptcclose (dev=0x0, flags=3, fmt=8192, td=0xc7e7f780) at linedisc.h:136 > #9 0xc0638a6f in giant_close (dev=0xcb3c1100, fflag=3, devtype=8192, td=0xc7e7f780) at /usr/src/sys/kern/kern_conf.c:266 > #10 0xc06162bf in devfs_close (ap=0xed6e4b7c) at /usr/src/sys/fs/devfs/devfs_vnops.c:287 > #11 0xc086dc1c in VOP_CLOSE_APV (vop=0x0, a=0xc099f874) at vnode_if.c:426 > #12 0xc06c87e2 in vn_close (vp=0xc9cdf660, flags=3, file_cred=0x0, td=0xc7e7f780) at vnode_if.h:227 > #13 0xc06c974a in vn_closefile (fp=0xc6fc5438, td=0xc7e7f780) at /usr/src/sys/kern/vfs_vnops.c:865 > #14 0xc06162e7 in devfs_close_f (fp=0xc6fc5438, td=0xc7e7f780) at /usr/src/sys/fs/devfs/devfs_vnops.c:297 > #15 0xc0642cdc in fdrop_locked (fp=0xc6fc5438, td=0xc7e7f780) at file.h:295 > #16 0xc0642c29 in fdrop (fp=0xc6fc5438, td=0xc7e7f780) at /usr/src/sys/kern/kern_descrip.c:2122 > #17 0xc06411c7 in closef (fp=0xc6fc5438, td=0xc7e7f780) at /usr/src/sys/kern/kern_descrip.c:1942 > #18 0xc063e329 in close (td=0xc7e7f780, uap=0x0) at /usr/src/sys/kern/kern_descrip.c:1007 > #19 0xc085c9f7 in syscall (frame= > {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 0, tf_esi = 673925920, > tf_ebp = -1077941928, tf_isp = -311538332, tf_ebx = 673852332, tf_edx = > 673925920, tf_ecx = 673925920, > tf_eax = 6, tf_trapno = 12, tf_err = 2, tf_eip = 673354727, tf_cs = 51, > tf_eflags = 518, tf_esp = -1077941956, tf_ss = 59}) at > /usr/src/sys/i386/i386/trap.c:981 > #20 0xc0848c3f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 > #21 0x00000033 in ?? () > Previous frame inner to this frame (corrupt stack?) > (kgdb) > > (kgdb) frame 5 > #5 0xc085bfb5 in trap (frame= > {tf_fs = 8, tf_es = 40, tf_ds = -1063714776, tf_edi = -1064042304, tf_esi > = 0, tf_ebp = -311538944, tf_isp = -311538972, tf_ebx = -967615488, tf_edx = > -1063651212, tf_ecx = > -941099136, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1066845359, tf_cs > = 32, tf_eflags = 66194, tf_esp = -967615488, tf_ss = 0}) > at /usr/src/sys/i386/i386/trap.c:434 > > (kgdb) frame 8 > #8 0xc0698362 in ptcclose (dev=0x0, flags=3, fmt=8192, td=0xc7e7f780) at > linedisc.h:136 > > 136 return ((*linesw[tp->t_line]->l_modem)(tp, flag)); > (kgdb) list > 131 > 132 static __inline int > 133 ttyld_modem(struct tty *tp, int flag) > 134 { > 135 > 136 return ((*linesw[tp->t_line]->l_modem)(tp, flag)); > 137 } > 138 > 139 #endif /* _KERNEL */ > > (kgdb) frame 7 > > (kgdb) p *tp->t_session > Cannot access memory at address 0x0 > > (kgdb) frame 7 > #7 0xc0693b51 in ttymodem (tp=0xc6535c00, flag=-1063651212) at /usr/src/sys/kern/tty.c:1659 > 1659 if (tp->t_session->s_leader) { > (kgdb) list > 1654 !ISSET(tp->t_cflag, CLOCAL)) { > 1655 SET(tp->t_state, TS_ZOMBIE); > 1656 CLR(tp->t_state, TS_CONNECTED); > 1657 if (tp->t_session) { > 1658 sx_slock(&proctree_lock); > 1659 if (tp->t_session->s_leader) { > 1660 struct proc *p; > 1661 > 1662 p = tp->t_session->s_leader; > 1663 PROC_LOCK(p); > > (kgdb) p *tp->t_session > Cannot access memory at address 0x0 > > So here the problem is. Why is tp->t_session empty ? Maybe it has been already > free() earlier and we have some race here ? "Race" was exactly my conclusion last time I looked into this. http://docs.FreeBSD.org/cgi/mid.cgi?20041204110815.E80797 Something, somewhere is playing with t_session without locking... Gavin From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 11:03:05 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AB5A16A492; Fri, 23 Jun 2006 11:03:05 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3D2343D45; Fri, 23 Jun 2006 11:03:04 +0000 (GMT) (envelope-from mb@imp.ch) Received: from godot.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.7/8.13.7/Submit) with ESMTP id k5NB2wDE048831; Fri, 23 Jun 2006 13:03:00 +0200 (CEST) (envelope-from mb@imp.ch) Date: Fri, 23 Jun 2006 13:02:58 +0200 (CEST) From: Martin Blapp To: Gavin Atkinson In-Reply-To: <1151056731.62769.2.camel@buffy.york.ac.uk> Message-ID: <20060623120536.J14714@godot.imp.ch> References: <20060621202508.S17514@godot.imp.ch> <20060621193941.Y8526@fledge.watson.org> <20060622205806.GA6542@FreeBSD.czest.pl> <20060622223630.V17514@godot.imp.ch> <1151056731.62769.2.camel@buffy.york.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 157.161.9.65 Cc: Robert Watson , Patrick Guelat , "Wojciech A. Koszek" , freebsd-stable@freebsd.org Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 11:03:05 -0000 Hi, >> (kgdb) p *tp->t_session >> Cannot access memory at address 0x0 >> >> So here the problem is. Why is tp->t_session empty ? Maybe it has been already >> free() earlier and we have some race here ? > > "Race" was exactly my conclusion last time I looked into this. > http://docs.FreeBSD.org/cgi/mid.cgi?20041204110815.E80797 > > Something, somewhere is playing with t_session without locking... > Any idea how we can track this down ? It's a very bad thing to have in 61. And yes, the serial output is going over a serial console. Martin From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 11:46:20 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0CB516A494; Fri, 23 Jun 2006 11:46:20 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 028F043D46; Fri, 23 Jun 2006 11:46:19 +0000 (GMT) (envelope-from mb@imp.ch) Received: from godot.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.7/8.13.7/Submit) with ESMTP id k5NBkEKP028063; Fri, 23 Jun 2006 13:46:17 +0200 (CEST) (envelope-from mb@imp.ch) Date: Fri, 23 Jun 2006 13:46:14 +0200 (CEST) From: Martin Blapp To: Gavin Atkinson In-Reply-To: <1151056731.62769.2.camel@buffy.york.ac.uk> Message-ID: <20060623133915.S14714@godot.imp.ch> References: <20060621202508.S17514@godot.imp.ch> <20060621193941.Y8526@fledge.watson.org> <20060622205806.GA6542@FreeBSD.czest.pl> <20060622223630.V17514@godot.imp.ch> <1151056731.62769.2.camel@buffy.york.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 157.161.9.65 Cc: Robert Watson , Patrick Guelat , "Wojciech A. Koszek" , freebsd-stable@freebsd.org Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 11:46:20 -0000 Hi, Maybe this is the solution ? IMHO there is a race window open between the first tp->t_session test and the locking of the proc tree. Martin +++ src/sys/kern/tty.c --- src/sys/kern/tty.c + sx_slock(&proctree_lock); if (tp->t_session) { - sx_slock(&proctree_lock); if (tp->t_session->s_leader) { struct proc *p; p = tp->t_session->s_leader; PROC_LOCK(p); psignal(p, SIGHUP); PROC_UNLOCK(p); } - sx_sunlock(&proctree_lock); } + sx_sunlock(&proctree_lock); From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 11:47:02 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A14316A4A9 for ; Fri, 23 Jun 2006 11:47:02 +0000 (UTC) (envelope-from jason.thomson@mintel.com) Received: from rocky.mintel.co.uk (rocky2.mintel.com [217.206.187.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E7A043D55 for ; Fri, 23 Jun 2006 11:46:59 +0000 (GMT) (envelope-from jason.thomson@mintel.com) Received: from [10.0.62.5] ([10.0.62.5]) by rocky.mintel.co.uk (8.13.4/8.13.4) with ESMTP id k5NBkvnd080757; Fri, 23 Jun 2006 12:46:57 +0100 (BST) (envelope-from jason.thomson@mintel.com) Message-ID: <449BD4B1.8060202@mintel.com> Date: Fri, 23 Jun 2006 12:46:57 +0100 From: Jason Thomson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en, en-us MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: multipart/mixed; boundary="------------000106020702000607000200" X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang) Subject: FreeBSD 6-STABLE. Route specific send & receive buffer sizes not working? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 11:47:02 -0000 This is a multi-part message in MIME format. --------------000106020702000607000200 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit or am I missing something? See attached file below. route add -sendpipe -recvpipe works on FreeBSD 4.x, but not on 6-STABLE (or on 5.4 either - although that's not shown). I'm trying to set the parameters for specific routes so that I can properly account for the bw delay product. (I don't want to do it for every connection using the global sysctls because these servers can have many concurrent connections). Am I doing something wrong? Or is this a bug? If it's a bug, I'll file a PR. --------------000106020702000607000200 Content-Type: text/plain; name="routesendrecvpipe.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="routesendrecvpipe.txt" starbug# uname -a FreeBSD starbug 6.1-STABLE FreeBSD 6.1-STABLE #5: Mon May 29 14:19:48 BST 2006 @starbug:/usr/obj/usr/src/sys/STARBUG i386 starbug# route get rhino route to: rhino destination: default mask: default gateway: dellboy interface: em0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 starbug# route add rhino dellboy -recvpipe 196608 -sendpipe 196608 -rtt 100 add host rhino: gateway dellboy starbug# route get rhino route to: rhino destination: rhino gateway: dellboy interface: em0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 starbug> $ scp zeros rhino:/tmp zeros 100% 10MB 330.3KB/s 00:31 boycie# uname -a FreeBSD boycie 4.11-STABLE FreeBSD 4.11-STABLE #2: Fri Jul 15 09:46:13 BST 2005 @boycie:/usr/obj/usr/src/sys/BOYCIE i386 boycie# route get rhino route to: rhino destination: default mask: default gateway: dellboy interface: sis0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 boycie# route add rhino dellboy -recvpipe 196608 -sendpipe 196608 -rtt 100 add host rhino: gateway dellboy boycie# route get rhino route to: rhino destination: rhino gateway: dellboy interface: sis0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 196608 196608 0 0 0 0 1500 0 boycie>scp zeros rhino:/tmp zeros 100% |*****************************| 10240 KB 00:16 boycie#route delete rhino delete host rhino boycie>scp zeros rhino:/tmp zeros 100% |*****************************| 10240 KB 00:31 --------------000106020702000607000200-- From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 13:22:26 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 621BC16A47B for ; Fri, 23 Jun 2006 13:22:26 +0000 (UTC) (envelope-from arcade@synergetica.dn.ua) Received: from nora.synergetica.dn.ua (synergetica.dn.ua [82.207.115.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DD5A43D49 for ; Fri, 23 Jun 2006 13:22:24 +0000 (GMT) (envelope-from arcade@synergetica.dn.ua) Received: from [172.30.0.209] (yarn.lan [172.30.0.209]) (authenticated bits=0) by nora.synergetica.dn.ua (8.13.7/8.13.7) with ESMTP id k5NDMLXi071453 for ; Fri, 23 Jun 2006 16:22:22 +0300 (EEST) (envelope-from arcade@synergetica.dn.ua) Message-ID: <449BEB0D.4050708@synergetica.dn.ua> Date: Fri, 23 Jun 2006 16:22:21 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.8.0.4) Gecko/20060605 SeaMonkey/1.0.2 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: ahd(4) poor performance X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 13:22:26 -0000 Hi all. > uname -a FreeBSD someserver 6.1-STABLE FreeBSD 6.1-STABLE #13: Thu Jun 22 20:55:06 UTC 2006 arcade@someserver:/usr/obj/usr/src/sys/OGRE i386 I have: ahd0: port 0xdc00-0xdcff,0xd800-0xd8ff mem 0xdfbfe000-0xdfbfffff irq 66 at device 7.0 on pci3 ahd0: [GIANT-LOCKED] aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs ahd1: port 0xd400-0xd4ff,0xd000-0xd0ff mem 0xdfbfc000-0xdfbfdfff irq 67 at device 7.1 on pci3 ahd1: [GIANT-LOCKED] aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs da0 at ahd0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 70007MB (143374650 512 byte sectors: 255H 63S/T 8924C) da1 at ahd0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 70007MB (143374650 512 byte sectors: 255H 63S/T 8924C) cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Booting machine also results in: ahd0: Invalid Sequencer interrupt occurred. >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< ahd0: Dumping Card State at program address 0x23b Mode 0x0 Card was paused INTSTAT[0x0] SELOID[0x1] SELID[0x0] HS_MAILBOX[0x0] INTCTL[0x80] SEQINTSTAT[0x0] SAVED_MODE[0x11] DFFSTAT[0x33] SCSISIGI[0x0] SCSIPHASE[0x0] SCSIBUS[0x0] LASTPHASE[0x1] SCSISEQ0[0x0] SCSISEQ1[0x12] SEQCTL0[0x0] SEQINTCTL[0x6] SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x2] KERNEL_QFREEZE_COUNT[0x2] MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] SSTAT0[0x0] SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4] LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x0] SCB Count = 16 CMDS_PENDING = 0 LASTSCB 0xffff CURRSCB 0x8 NEXTSCB 0xff00 qinstart = 29 qinfifonext = 29 QINFIFO: WAITING_TID_QUEUES: Pending list: Total 0 Kernel Free SCB list: 8 15 1 2 3 4 5 6 7 9 10 11 12 13 14 0 Sequencer Complete DMA-inprog list: Sequencer Complete list: Sequencer DMA-Up and Complete list: Sequencer On QFreeze and Complete list: ahd0: FIFO0 Free, LONGJMP == 0x8000, SCB 0xf SEQIMODE[0x3f] SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89] SG_CACHE_SHADOW[0x2] SG_STATE[0x0] DFFSXFRCTL[0x0] SOFFCNT[0x0] MDFFSTAT[0x5] SHADDR = 0x00, SHCNT = 0x0 HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10] ahd0: FIFO1 Free, LONGJMP == 0x8063, SCB 0x8 SEQIMODE[0x3f] SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89] SG_CACHE_SHADOW[0x2] SG_STATE[0x0] DFFSXFRCTL[0x0] SOFFCNT[0x0] MDFFSTAT[0x5] SHADDR = 0x00, SHCNT = 0x0 HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10] LQIN: 0x8 0x0 0x0 0xf 0x0 0x2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 ahd0: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x42 ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1 ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0 SIMODE0[0xc] CCSCBCTL[0x4] ahd0: REG0 == 0xb960, SINDEX = 0x10e, DINDEX = 0x104 ahd0: SCBPTR == 0xf, SCB_NEXT == 0xff00, SCB_NEXT2 == 0xff20 CDB 12 40 0 80 88 86 STACK: 0x236 0x2 0x0 0x0 0x0 0x0 0x0 0x0 <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x29 0x2 0x2 0x0 0x0 0x0 Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x29 0x2 0x2 0x0 0x0 0x0 Performance of SCSI drives is very good on copying files, etc. But it is very poor at large scale operations. For example, loading MySQL or PgSQL with INSERT's results in: 2 users Load 0.02 0.10 0.07 21 чер 21:12 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 106448 13964 378720 29372 1859780 count All 186516 20436 72438316 46856 pages 129 zfod Interrupts Proc:r p d s w Csw Trp Sys Int Sof Flt 96 cow 8134 total 22114 2807 598 5379 876 29 396 72152 wire 18 4: sio0 87364 act 14: ata 1.5%Sys 0.0%Intr 0.4%User 0.0%Nice 98.1%Idl 31312 inact 2 16: uhc | | | | | | | | | | 20 cache 19: uhc = 1859760 free 20: em1 daefr 23: ehc Namei Name-cache Dir-cache 380 prcfr 2 32: em0 Calls hits % hits % react 94 66: ahd 867 835 96 pdwak 67: ahd pdpgs 2004 cpu0: time Disks da0 da1 cd0 pass0 pass1 pass2 intrn 2005 cpu3: time KB/t 16.19 0.00 0.00 0.00 0.00 0.00 53808 buf 2004 cpu1: time tps 94 0 0 0 0 0 81 dirty 2005 cpu2: time MB/s 1.48 0.00 0.00 0.00 0.00 0.00 100000 desiredvnodes % busy 100 0 0 0 0 0 1733 numvnodes 345 freevnodes ^^^^^^^^^^^ and it gives me write speed near 3 Mb/s Here is a sample speed test: > dd if=/dev/zero of=somefile count=128 128+0 records in 128+0 records out 65536 bytes transferred in 0.004415 secs (14844624 bytes/sec) > dd if=/dev/zero of=somefile count=1024 1024+0 records in 1024+0 records out 524288 bytes transferred in 0.007078 secs (74073610 bytes/sec) > dd if=/dev/zero of=somefile count=10240 10240+0 records in 10240+0 records out 5242880 bytes transferred in 0.494883 secs (10594180 bytes/sec) > dd if=/dev/zero of=somefile count=20480 20480+0 records in 20480+0 records out 10485760 bytes transferred in 1.435380 secs (7305215 bytes/sec) > dd if=somefile of=/dev/null count=20480 20480+0 records in 20480+0 records out 10485760 bytes transferred in 0.065061 secs (161167906 bytes/sec) On the same hardware Linux runs perfectly. The problem can be reproduced on GENERIC/SMP kernel. Any thoughts? Am I just too dumb to miss something important? -- [WBR], Arcade. From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 15:29:37 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 309C616A47C for ; Fri, 23 Jun 2006 15:29:37 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw4.york.ac.uk (mail-gw4.york.ac.uk [144.32.128.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA71343D77 for ; Fri, 23 Jun 2006 15:29:27 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw4.york.ac.uk (8.13.6/8.13.6) with ESMTP id k5NFT0E6014228; Fri, 23 Jun 2006 16:29:00 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.6/8.13.6) with ESMTP id k5NFSoiq070765; Fri, 23 Jun 2006 16:28:55 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.6/8.13.6/Submit) id k5NFSoke070764; Fri, 23 Jun 2006 16:28:50 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: David Wolfskill In-Reply-To: <20060615232240.GX32476@bunrab.catwhisker.org> References: <20060615232240.GX32476@bunrab.catwhisker.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 23 Jun 2006 16:28:49 +0100 Message-Id: <1151076529.62769.17.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: stable@freebsd.org Subject: Re: Help? 6.1-S: Fatal trap 12: page fault while in kernel mode X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 15:29:37 -0000 On Thu, 2006-06-15 at 16:22 -0700, David Wolfskill wrote: > I had one of these a couple of weeks ago or so; I had been distracted by > some more urgent matters that came up (the panic was on a machine under > test; the more urgent matters were little things like needing to deploy > a handful of resolvers on our network because existing ones were running > on systems that had provided evidence of being prone to imminent > failure). > > Anyway: I updated the 2 boxen under test to 6.1-STABLE as of this > morning, and finally(!) had a chance to re-try the failing operation. > > It went "kaboom!" again. :-{ (Well, there's something to be said for > consistency. :-}) > > It seems to run OK (albeit slowly) for a couple of minutes; then the > serial console reports: > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 06 > fault virtual address = 0x0 > fault code = supervisor read, page not present > instruction pointer = 0x20:0x0 > stack pointer = 0x28:0xf09b3b98 > frame pointer = 0x28:0xf09b3bcc > 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 = 23782 (ecelerity) > [thread pid 23782 tid 100120 ] > Stopped at 0: *** error reading from address 0 *** > db> trace > Tracing pid 23782 tid 100120 td 0xcc445180 > db> OK, seeing as nobody has offered any advice, I'll have a go. Have you got a debug kernel? If so, get a kernel dump. Load it into kgdb. Chances are "bt" won't work as the instruction pointer is zero, so instead you need to display the stack directly: (kgdb) x/80xw 0xf09b3b98 Look for any addresses in the 0xc0xxxxxx range - these will probably be pointers to kernel functions. Drop out of kgdb, and try to find out which functions these belong to: addr2line 0xc0639bd6 -e kernel.debug /usr/src/sys/kern/tty.c:1653 You can build up a backtrace and knowledge of atguments given to functions this way. Gavin From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 15:32:30 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87E2616A47C for ; Fri, 23 Jun 2006 15:32:30 +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 160C043D45 for ; Fri, 23 Jun 2006 15:32:30 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5NFUnmR042841; Fri, 23 Jun 2006 09:30:51 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 23 Jun 2006 09:30:48 -0600 (MDT) Message-Id: <20060623.093048.-365730499.imp@bsdimp.com> To: doconnor@gsoft.com.au From: "M. Warner Losh" In-Reply-To: <200606231509.29720.doconnor@gsoft.com.au> References: <200606221424.14380.doconnor@gsoft.com.au> <20060622.230433.24902227.imp@bsdimp.com> <200606231509.29720.doconnor@gsoft.com.au> 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 Cc: freebsd-stable@freebsd.org Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 15:32:30 -0000 In message: <200606231509.29720.doconnor@gsoft.com.au> "Daniel O'Connor" writes: : On Friday 23 June 2006 14:34, M. Warner Losh wrote: : > isa_irq_pending can only really be called on isa bus attachments... : > : > Why don't you have ISA in your kernel. I thought it was still required. : : It's not in GENERIC on 6.1. : : atpic has isa_irq_pending, however if you don't have atpic in your kernel a : stub is built in machdep.c. : : .. : although that only happens if DEV_ISA is defined.. I don't understand how : sio.c can link if you don't have isa in your kernel because there won't be : any isa_irq_pending() defined anywhere. : : WTF? The 'F' here is src/sys/amd64/conf/DEFAULTS contains isa. Warner From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 16:04:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBB1816A47B; Fri, 23 Jun 2006 16:04:01 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw4.york.ac.uk (mail-gw4.york.ac.uk [144.32.128.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0324E43D46; Fri, 23 Jun 2006 16:04:00 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw4.york.ac.uk (8.13.6/8.13.6) with ESMTP id k5NG3vP5019491; Fri, 23 Jun 2006 17:03:57 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.6/8.13.6) with ESMTP id k5NG3rgu070878; Fri, 23 Jun 2006 17:03:57 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.6/8.13.6/Submit) id k5NG3rWF070877; Fri, 23 Jun 2006 17:03:53 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: Martin Blapp In-Reply-To: <20060623133915.S14714@godot.imp.ch> References: <20060621202508.S17514@godot.imp.ch> <20060621193941.Y8526@fledge.watson.org> <20060622205806.GA6542@FreeBSD.czest.pl> <20060622223630.V17514@godot.imp.ch> <1151056731.62769.2.camel@buffy.york.ac.uk> <20060623133915.S14714@godot.imp.ch> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 23 Jun 2006 17:03:52 +0100 Message-Id: <1151078632.62769.30.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: Robert Watson , Patrick Guelat , "Wojciech A. Koszek" , freebsd-stable@freebsd.org Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 16:04:01 -0000 On Fri, 2006-06-23 at 13:46 +0200, Martin Blapp wrote: > Hi, > > Maybe this is the solution ? IMHO there is a race window > open between the first tp->t_session test and the locking > of the proc tree. I'm not sure if t_session is supposed to be protected by the proctree lock though. With an initial glance of the code, it would seem odd to be protected by the proctree lock, although I can't see any other locks Someone with more knowledge of this code will probably know the answer to this. There does seem to be a worrying comment above tty_close (which is the only place that t_session seems to be set to NULL): * XXX our caller should have done `spltty(); l_close(); tty_close();' * and l_close() should have flushed, but we repeat the spltty() and * the flush in case there are buggy callers. As I understand it, spltty() is now a no-op. Does this mean that this code is now essentially running without any locks that were used to serialise changes to struct tty in days gone by? Or is the whole tty subsystem still running under Giant? Gavin > > +++ src/sys/kern/tty.c > --- src/sys/kern/tty.c > > + sx_slock(&proctree_lock); > if (tp->t_session) { > - sx_slock(&proctree_lock); > if (tp->t_session->s_leader) { > struct proc *p; > > p = tp->t_session->s_leader; > PROC_LOCK(p); > psignal(p, SIGHUP); > PROC_UNLOCK(p); > } > - sx_sunlock(&proctree_lock); > } > + sx_sunlock(&proctree_lock); From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 16:11:26 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2951816A49E; Fri, 23 Jun 2006 16:11:26 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACD1B43D68; Fri, 23 Jun 2006 16:11:20 +0000 (GMT) (envelope-from mb@imp.ch) Received: from godot.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.7/8.13.7/Submit) with ESMTP id k5NGBFIu011491; Fri, 23 Jun 2006 18:11:18 +0200 (CEST) (envelope-from mb@imp.ch) Date: Fri, 23 Jun 2006 18:11:15 +0200 (CEST) From: Martin Blapp To: Gavin Atkinson In-Reply-To: <1151078632.62769.30.camel@buffy.york.ac.uk> Message-ID: <20060623181014.S14714@godot.imp.ch> References: <20060621202508.S17514@godot.imp.ch> <20060621193941.Y8526@fledge.watson.org> <20060622205806.GA6542@FreeBSD.czest.pl> <20060622223630.V17514@godot.imp.ch> <1151056731.62769.2.camel@buffy.york.ac.uk> <20060623133915.S14714@godot.imp.ch> <1151078632.62769.30.camel@buffy.york.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 157.161.9.65 Cc: Robert Watson , Patrick Guelat , "Wojciech A. Koszek" , freebsd-stable@freebsd.org Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 16:11:26 -0000 Hi, > I'm not sure if t_session is supposed to be protected by the proctree Correct. > lock though. With an initial glance of the code, it would seem odd to > be protected by the proctree lock, although I can't see any other locks > Someone with more knowledge of this code will probably know the answer > to this. > > There does seem to be a worrying comment above tty_close (which is the > only place that t_session seems to be set to NULL): > > * XXX our caller should have done `spltty(); l_close(); tty_close();' > * and l_close() should have flushed, but we repeat the spltty() and > * the flush in case there are buggy callers. > > As I understand it, spltty() is now a no-op. Does this mean that this > code is now essentially running without any locks that were used to > serialise changes to struct tty in days gone by? Or is the whole tty > subsystem still running under Giant? I thought this too. Maybe Robert knows more. Martin From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 16:26:31 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAC3216A47B; Fri, 23 Jun 2006 16:26:31 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4561843D48; Fri, 23 Jun 2006 16:26:31 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 6F40546C72; Fri, 23 Jun 2006 12:26:30 -0400 (EDT) Date: Fri, 23 Jun 2006 17:26:30 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Martin Blapp In-Reply-To: <20060623181014.S14714@godot.imp.ch> Message-ID: <20060623172443.H12942@fledge.watson.org> References: <20060621202508.S17514@godot.imp.ch> <20060621193941.Y8526@fledge.watson.org> <20060622205806.GA6542@FreeBSD.czest.pl> <20060622223630.V17514@godot.imp.ch> <1151056731.62769.2.camel@buffy.york.ac.uk> <20060623133915.S14714@godot.imp.ch> <1151078632.62769.30.camel@buffy.york.ac.uk> <20060623181014.S14714@godot.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Patrick Guelat , "Wojciech A. Koszek" , freebsd-stable@freebsd.org Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 16:26:31 -0000 On Fri, 23 Jun 2006, Martin Blapp wrote: >> As I understand it, spltty() is now a no-op. Does this mean that this code >> is now essentially running without any locks that were used to serialise >> changes to struct tty in days gone by? Or is the whole tty subsystem still >> running under Giant? > > I thought this too. Maybe Robert knows more. I appreciate your confidence in my knowledge, but in fact, I know little about the tty subsystem. I do know that the tty code does currently require Giant, but the tricky bits of a non-MPSAFE subsystem generally aren't the middle bits, but the edges where it interacts with other subsystems. It might be productive to slap GIANT_REQUIRED all over the tty code and see if the assertion fires with INVARIANTS. It would be nice if the answer were simple, but I suspect that it will be more complicated. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 17:29:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A70D16A494; Fri, 23 Jun 2006 17:29:03 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DDD143D45; Fri, 23 Jun 2006 17:29:01 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.181.119] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1FtpSl3zdd-0001SI; Fri, 23 Jun 2006 19:29:00 +0200 From: Max Laier Organization: FreeBSD To: freebsd-stable@freebsd.org Date: Fri, 23 Jun 2006 19:28:48 +0200 User-Agent: KMail/1.9.1 References: <20060621202508.S17514@godot.imp.ch> <20060623133915.S14714@godot.imp.ch> <1151078632.62769.30.camel@buffy.york.ac.uk> In-Reply-To: <1151078632.62769.30.camel@buffy.york.ac.uk> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4714497.KMY0BdFFgL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606231928.58063.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: "Wojciech A. Koszek" , csjp@freebsd.org, Martin Blapp , Robert Watson , Patrick Guelat Subject: Re: Crash with FreeBSD 6.1 STABLE of today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 17:29:03 -0000 --nextPart4714497.KMY0BdFFgL Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 23 June 2006 18:03, Gavin Atkinson wrote: > On Fri, 2006-06-23 at 13:46 +0200, Martin Blapp wrote: > > Hi, > > > > Maybe this is the solution ? IMHO there is a race window > > open between the first tp->t_session test and the locking > > of the proc tree. > > I'm not sure if t_session is supposed to be protected by the proctree > lock though. With an initial glance of the code, it would seem odd to > be protected by the proctree lock, although I can't see any other locks > Someone with more knowledge of this code will probably know the answer > to this. > > There does seem to be a worrying comment above tty_close (which is the > only place that t_session seems to be set to NULL): > > * XXX our caller should have done `spltty(); l_close(); tty_close();' > * and l_close() should have flushed, but we repeat the spltty() and > * the flush in case there are buggy callers. > > As I understand it, spltty() is now a no-op. Does this mean that this > code is now essentially running without any locks that were used to > serialise changes to struct tty in days gone by? Or is the whole tty > subsystem still running under Giant? Just as a random note. I remember looking at a somewhat similar problem=20 during the 6.0 release cycle and comming up with a patch[1]. Somehow the=20 problem went away and I lost track of the patch. Can't remember who was=20 testing it. I think I talked with Christan about it, though [CC-list++] Note, I am not sure if the patch still applies or is correct at all, but fr= om=20 looking at it (and the name of the file) I seem to remember that there was = a=20 problem with t_pgrp and t_session being accessed unlocked in some places. = =20 Maybe it helps, maybe it doesn't. [1] http://people.freebsd.org/~mlaier/tty.t_pgrp.diff =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart4714497.KMY0BdFFgL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEnCTaXyyEoT62BG0RAqicAJ99MNWRCj8xsQmFuUi2B304EyxpuACfTEsv V9ehBvanTSwgvdSN4UNKgRI= =y6go -----END PGP SIGNATURE----- --nextPart4714497.KMY0BdFFgL-- From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 20:44:33 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B48516A4A6 for ; Fri, 23 Jun 2006 20:44:33 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEA9143D46 for ; Fri, 23 Jun 2006 20:44:30 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 0E73B290C6E for ; Fri, 23 Jun 2006 17:44:27 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 10183-10 for ; Fri, 23 Jun 2006 17:44:29 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 44A96290C6D for ; Fri, 23 Jun 2006 17:44:26 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id EF0755C24E; Fri, 23 Jun 2006 17:44:28 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id EA4B65C19E for ; Fri, 23 Jun 2006 17:44:28 -0300 (ADT) Date: Fri, 23 Jun 2006 17:44:28 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-stable@freebsd.org Message-ID: <20060623172557.H1114@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 20:44:33 -0000 The machine doesn't appear to have hung yet, but: procs memory page disks faults cpu r b w avm fre flt re pi po fr sr da0 pa0 in sy cs us sy id 1 42 1 10249060 161668 1290 54 12 3 1409 2202 102 0 751 6416 3350 24 15 61 0 39 0 10148976 148104 654 10 5 2 660 0 49 0 615 4440 2584 18 9 73 the last time it hung, it hit about 45 ... about 6 hours ago, it was at ~5-10 ... anything I should look at to figure out where those 39+ are 'busy'? The system is running a May 25th kernel of FreeBSD 6-STABLE .. Dual-PIII ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 20:44:58 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95AB016A47E for ; Fri, 23 Jun 2006 20:44:58 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72E8043D46 for ; Fri, 23 Jun 2006 20:44:57 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 65324290C6E for ; Fri, 23 Jun 2006 17:44:53 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 12960-02 for ; Fri, 23 Jun 2006 17:44:56 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 531D0290C6D for ; Fri, 23 Jun 2006 17:44:51 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 41CF55C264; Fri, 23 Jun 2006 17:44:54 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 40CEE5C25A for ; Fri, 23 Jun 2006 17:44:54 -0300 (ADT) Date: Fri, 23 Jun 2006 17:44:54 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-stable@freebsd.org In-Reply-To: <20060623012053.R1114@ganymede.hub.org> Message-ID: <20060623174440.A1114@ganymede.hub.org> References: <20060623012053.R1114@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: FreeBSD 6.x on Dual PIII server only seeing one CPU ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 20:44:58 -0000 Now, looking back in my /var/log/messages files, I was right, it did see two CPUs when I first installed the OS: May 26 20:47:23 pluto kernel: cpu0 (BSP): APIC ID: 3 May 26 20:47:23 pluto kernel: cpu1 (AP): APIC ID: 0 Now, on June 10th, I'm seeing: Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 1: MPI returned 0x0000004B Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 3: MPI returned 0x0000004B Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 2: MPI returned 0x0000004B Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 3: MPI returned 0x0000004B Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 2: MPI returned 0x0000004B Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 3: MPI returned 0x0000004B And on the 22nd, I'm still seeing 2 CPUs ... Jun 22 02:39:09 pluto kernel: cpu0 (BSP): APIC ID: 3 Jun 22 02:39:09 pluto kernel: cpu1 (AP): APIC ID: 0 It looks like yesterday around 17:58's crash/reboot is when I lost the 2nd CPU :( I haven't seen any errors from iir0 since the 10th though ... does anyone know what those mean? On Fri, 23 Jun 2006, Marc G. Fournier wrote: > > Are there any known problems with FreeBSD 6.x and Dual PIII motherboards? > > My source tree is from May 25th ... > > I just noticed something while looking around my server, and there is no CPU1 > running, only CPU0 ... I definitely have SMP enabled in my kernel: > > # strings /boot/kernel/kernel | grep SMP > SMP_prvspace > SMPpt > Correcting Natoma config for SMP > Kernel SMP > SMP has been disabled from the loader > FreeBSD/SMP: Multiprocessor System Detected: %d CPUs > SMP: CPU %d exceeds maximum CPU %d, ignoring > SMP: Added CPU %d (%s) > SMP: cpuid = %d > SMP: actual apic_id = %d > SMP: correct apic_id = %d > SMP: AP CPU #%d Launched! > SMP: tlb shootdown to %d other cpus (only have %d) > Indicates whether the TSC is safe to use in SMP mode > npx0 cannot use IRQ 13 on an SMP system > npx0 cannot be emulated on an SMP system > > but, as dmesg shows, no 2nd CPU is even being attempted to start: > > Copyright (c) 1992-2006 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 6.1-STABLE #1: Sun Jun 18 00:01:02 ADT 2006 > root@pluto.hub.org:/usr/obj/usr/src/sys/kernel > acpi_alloc_wakeup_handler: can't alloc wake memory > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) III CPU - S 1266MHz (1263.45-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0x6b4 Stepping = 4 > Features=0x383fbff > real memory = 4227792896 (4031 MB) > avail memory = 4144308224 (3952 MB) > ACPI-0698: *** Warning: Type override - [DEB_] had invalid type (Integer) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [MLIB] had invalid type (Integer) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [DATA] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [SIO_] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [SB__] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [ICNT] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [ACPI] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [LEDP] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [WUES] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [WUSE] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [CSB5] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [BIOS] had invalid type (Integer) > for Scope operator, changed to (Scope) > ACPI-0698: *** Warning: Type override - [CMOS] had invalid type (Integer) > for Scope operator, changed to (Scope) > MADT: Forcing active-low polarity and level trigger for SCI > ioapic0 irqs 0-15 on motherboard > ioapic1 irqs 16-31 on motherboard > lapic3: Forcing LINT1 to edge trigger > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 > cpu0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci0: at device 2.0 (no driver attached) > fxp0: port 0x1480-0x14bf mem > 0xfe790000-0xfe790fff,0xfe760000-0xfe77ffff irq 21 at device 3.0 on pci0 > miibus0: on fxp0 > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp0: Ethernet address: 00:03:47:bd:67:66 > fxp1: port 0x14c0-0x14ff mem > 0xfeac0000-0xfeac0fff,0xfeaa0000-0xfeabffff irq 20 at device 4.0 on pci0 > miibus1: on fxp1 > inphy1: on miibus1 > inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp1: Ethernet address: 00:03:47:bd:67:67 > pci0: at device 12.0 (no driver attached) > isab0: at device 15.0 on pci0 > isa0: on isab0 > pci0: at device 15.1 (no driver attached) > pci0: at device 15.2 (no driver attached) > pcib1: on acpi0 > pci1: on pcib1 > iir0: mem 0xfc8f0000-0xfc8f3fff irq 30 at > device 9.0 on pci1 > iir0: [GIANT-LOCKED] > pcib2: on acpi0 > pci2: on pcib2 > orm0: at iomem > 0xc0000-0xc7fff,0xc8000-0xd0fff,0xd1000-0xd27ff,0xd2800-0xd3fff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > Timecounter "TSC" frequency 1263452709 Hz quality 800 > Timecounters tick every 1.000 msec > Waiting 5 seconds for SCSI devices to settle > ses0 at iir0 bus 1 target 6 lun 0 > ses0: Fixed Processor SCSI-2 device ses0: SAF-TE > Compliant Device > da0 at iir0 bus 2 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device da0: Tagged > Queueing Enabled > da0: 174848MB (358088850 512 byte sectors: 255H 63S/T 22290C) > Trying to mount root from ufs:/dev/da0s1a > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email . scrappy@hub.org MSN . scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 21:47:46 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B24116A492 for ; Fri, 23 Jun 2006 21:47:46 +0000 (UTC) (envelope-from vinny@tellurian.com) Received: from mail1.tellurian.net (mail1.tellurian.net [216.182.1.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34DA643D62 for ; Fri, 23 Jun 2006 21:47:40 +0000 (GMT) (envelope-from vinny@tellurian.com) Received: from cactus.tellurian.com (cactus.tellurian.net [216.182.1.34]) by mail1.tellurian.net ([216.182.1.23] Tellurian Networks Mail Server version 3.7c-20) with ESMTP id 424188146 for multiple; Fri, 23 Jun 2006 17:47:39 -0400 Message-Id: <7.0.1.0.2.20060623174638.0494ceb0@tellurian.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Fri, 23 Jun 2006 17:47:39 -0400 To: "Marc G. Fournier" ,freebsd-stable@freebsd.org From: Vinny Abello In-Reply-To: <20060623174440.A1114@ganymede.hub.org> References: <20060623012053.R1114@ganymede.hub.org> <20060623174440.A1114@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Authenticated-User: vinny@tellurian.com X-Ultimate-Internet-Connection: Tellurian Networks Cc: Subject: Re: FreeBSD 6.x on Dual PIII server only seeing one CPU ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 21:47:46 -0000 I would double check the second CPU is still functioning. Perhaps the cause of your crash/reboot is the CPU failing and now there is only one functional CPU in the system. Check the POST when the system boots. At 04:44 PM 6/23/2006, Marc G. Fournier wrote: >Now, looking back in my /var/log/messages files, I was right, it did see >two CPUs when I first installed the OS: > >May 26 20:47:23 pluto kernel: cpu0 (BSP): APIC ID: 3 >May 26 20:47:23 pluto kernel: cpu1 (AP): APIC ID: 0 > >Now, on June 10th, I'm seeing: > >Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 1: MPI returned 0x0000004B >Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 3: MPI returned 0x0000004B >Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 2: MPI returned 0x0000004B >Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 3: MPI returned 0x0000004B >Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 2: MPI returned 0x0000004B >Jun 10 01:17:03 pluto kernel: iir0: SCSI-B, ID 3: MPI returned 0x0000004B > >And on the 22nd, I'm still seeing 2 CPUs ... > >Jun 22 02:39:09 pluto kernel: cpu0 (BSP): APIC ID: 3 >Jun 22 02:39:09 pluto kernel: cpu1 (AP): APIC ID: 0 > >It looks like yesterday around 17:58's crash/reboot is when I lost the 2nd >CPU :( > >I haven't seen any errors from iir0 since the 10th though ... does anyone >know what those mean? > > > >On Fri, 23 Jun 2006, Marc G. Fournier wrote: > >> >>Are there any known problems with FreeBSD 6.x and Dual PIII motherboards? >> >>My source tree is from May 25th ... >> >>I just noticed something while looking around my server, and there >>is no CPU1 running, only CPU0 ... I definitely have SMP enabled in my kernel: >> >># strings /boot/kernel/kernel | grep SMP >>SMP_prvspace >>SMPpt >>Correcting Natoma config for SMP >>Kernel SMP >>SMP has been disabled from the loader >>FreeBSD/SMP: Multiprocessor System Detected: %d CPUs >>SMP: CPU %d exceeds maximum CPU %d, ignoring >>SMP: Added CPU %d (%s) >>SMP: cpuid = %d >>SMP: actual apic_id = %d >>SMP: correct apic_id = %d >>SMP: AP CPU #%d Launched! >>SMP: tlb shootdown to %d other cpus (only have %d) >>Indicates whether the TSC is safe to use in SMP mode >>npx0 cannot use IRQ 13 on an SMP system >>npx0 cannot be emulated on an SMP system >> >>but, as dmesg shows, no 2nd CPU is even being attempted to start: >> >>Copyright (c) 1992-2006 The FreeBSD Project. >>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >>FreeBSD 6.1-STABLE #1: Sun Jun 18 00:01:02 ADT 2006 >> root@pluto.hub.org:/usr/obj/usr/src/sys/kernel >>acpi_alloc_wakeup_handler: can't alloc wake memory >>ACPI APIC Table: >>Timecounter "i8254" frequency 1193182 Hz quality 0 >>CPU: Intel(R) Pentium(R) III CPU - S 1266MHz (1263.45-MHz >>686-class CPU) >> Origin = "GenuineIntel" Id = 0x6b4 Stepping = 4 >> >>Features=0x383fbff >>real memory = 4227792896 (4031 MB) >>avail memory = 4144308224 (3952 MB) >> ACPI-0698: *** Warning: Type override - [DEB_] had invalid type >> (Integer) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [MLIB] had invalid type >> (Integer) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [DATA] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [SIO_] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [SB__] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [PM__] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [ICNT] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [ACPI] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [LEDP] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [WUES] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [WUSE] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [CSB5] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [PM__] had invalid type >> (String) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [BIOS] had invalid type >> (Integer) for Scope operator, changed to (Scope) >> ACPI-0698: *** Warning: Type override - [CMOS] had invalid type >> (Integer) for Scope operator, changed to (Scope) >>MADT: Forcing active-low polarity and level trigger for SCI >>ioapic0 irqs 0-15 on motherboard >>ioapic1 irqs 16-31 on motherboard >>lapic3: Forcing LINT1 to edge trigger >>kbd1 at kbdmux0 >>acpi0: on motherboard >>acpi0: Power Button (fixed) >>Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 >>acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 >>cpu0: on acpi0 >>pcib0: port 0xcf8-0xcff on acpi0 >>pci0: on pcib0 >>pci0: at device 2.0 (no driver attached) >>fxp0: port 0x1480-0x14bf mem >>0xfe790000-0xfe790fff,0xfe760000-0xfe77ffff irq 21 at device 3.0 on pci0 >>miibus0: on fxp0 >>inphy0: on miibus0 >>inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >>fxp0: Ethernet address: 00:03:47:bd:67:66 >>fxp1: port 0x14c0-0x14ff mem >>0xfeac0000-0xfeac0fff,0xfeaa0000-0xfeabffff irq 20 at device 4.0 on pci0 >>miibus1: on fxp1 >>inphy1: on miibus1 >>inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >>fxp1: Ethernet address: 00:03:47:bd:67:67 >>pci0: at device 12.0 (no driver attached) >>isab0: at device 15.0 on pci0 >>isa0: on isab0 >>pci0: at device 15.1 (no driver attached) >>pci0: at device 15.2 (no driver attached) >>pcib1: on acpi0 >>pci1: on pcib1 >>iir0: mem 0xfc8f0000-0xfc8f3fff >>irq 30 at device 9.0 on pci1 >>iir0: [GIANT-LOCKED] >>pcib2: on acpi0 >>pci2: on pcib2 >>orm0: at iomem >>0xc0000-0xc7fff,0xc8000-0xd0fff,0xd1000-0xd27ff,0xd2800-0xd3fff on isa0 >>sc0: at flags 0x100 on isa0 >>sc0: VGA <16 virtual consoles, flags=0x300> >>vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >>atkbdc0: at port 0x60,0x64 on isa0 >>atkbd0: irq 1 on atkbdc0 >>kbd0 at atkbd0 >>atkbd0: [GIANT-LOCKED] >>Timecounter "TSC" frequency 1263452709 Hz quality 800 >>Timecounters tick every 1.000 msec >>Waiting 5 seconds for SCSI devices to settle >>ses0 at iir0 bus 1 target 6 lun 0 >>ses0: Fixed Processor SCSI-2 device >>ses0: SAF-TE Compliant Device >>da0 at iir0 bus 2 target 0 lun 0 >>da0: Fixed Direct Access SCSI-2 device >>da0: Tagged Queueing Enabled >>da0: 174848MB (358088850 512 byte sectors: 255H 63S/T 22290C) >>Trying to mount root from ufs:/dev/da0s1a >> >>---- >>Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) >>Email . scrappy@hub.org MSN . scrappy@hub.org >>Yahoo . yscrappy Skype: hub.org ICQ . 7615664 >>_______________________________________________ >>freebsd-stable@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >---- >Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) >Email . scrappy@hub.org MSN . scrappy@hub.org >Yahoo . yscrappy Skype: hub.org ICQ . 7615664 >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Vinny Abello Network Engineer Server Management vinny@tellurian.com (973)300-9211 x 125 (973)940-6125 (Direct) PGP Key Fingerprint: 3BC5 9A48 FC78 03D3 82E0 E935 5325 FBCB 0100 977A Tellurian Networks - The Ultimate Internet Connection http://www.tellurian.com (888)TELLURIAN "Courage is resistance to fear, mastery of fear - not absence of fear" -- Mark Twain From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 22:08:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D29616A492 for ; Fri, 23 Jun 2006 22:08:18 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D89D643D49 for ; Fri, 23 Jun 2006 22:08:17 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 1936F60EB; Fri, 23 Jun 2006 18:08:17 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EStbnRAdrnsX; Fri, 23 Jun 2006 18:08:16 -0400 (EDT) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 27F7F60C3; Fri, 23 Jun 2006 18:08:16 -0400 (EDT) In-Reply-To: <20060623172557.H1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Fri, 23 Jun 2006 18:08:14 -0400 To: Marc G. Fournier X-Mailer: Apple Mail (2.750) Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 22:08:18 -0000 On Jun 23, 2006, at 4:44 PM, Marc G. Fournier wrote: > procs memory page disks > faults cpu > r b w avm fre flt re pi po fr sr da0 pa0 in sy > cs us sy id > 1 42 1 10249060 161668 1290 54 12 3 1409 2202 102 0 751 > 6416 3350 24 15 61 > 0 39 0 10148976 148104 654 10 5 2 660 0 49 0 615 4440 > 2584 18 9 73 > > the last time it hung, it hit about 45 ... about 6 hours ago, it > was at ~5-10 ... anything I should look at to figure out where > those 39+ are 'busy'? 'b' stands for "blocked", not "busy". Judging by your page fault rate and the high number of frees and pages being scanned, you're probably swapping tasks in and out and are waiting on disk. Take a look at "vmstat -s", and consider adding more RAM if this is correct... > The system is running a May 25th kernel of FreeBSD 6-STABLE .. Dual- > PIII ... -- -Chuck From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 22:12:53 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EE2616A4A6 for ; Fri, 23 Jun 2006 22:12:53 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF69C43D46 for ; Fri, 23 Jun 2006 22:12:52 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 483AE290C6F; Fri, 23 Jun 2006 19:12:48 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 21003-08; Fri, 23 Jun 2006 19:12:51 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id BC439290C6E; Fri, 23 Jun 2006 19:12:47 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 336A548E1B; Fri, 23 Jun 2006 19:12:54 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 2B3F93E7DF; Fri, 23 Jun 2006 19:12:54 -0300 (ADT) Date: Fri, 23 Jun 2006 19:12:54 -0300 (ADT) From: "Marc G. Fournier" To: Charles Swiger In-Reply-To: <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> Message-ID: <20060623191131.C1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 22:12:53 -0000 On Fri, 23 Jun 2006, Charles Swiger wrote: > On Jun 23, 2006, at 4:44 PM, Marc G. Fournier wrote: >> procs memory page disks faults cpu >> r b w avm fre flt re pi po fr sr da0 pa0 in sy cs us sy >> id >> 1 42 1 10249060 161668 1290 54 12 3 1409 2202 102 0 751 6416 3350 24 >> 15 61 >> 0 39 0 10148976 148104 654 10 5 2 660 0 49 0 615 4440 2584 18 >> 9 73 >> >> the last time it hung, it hit about 45 ... about 6 hours ago, it was at >> ~5-10 ... anything I should look at to figure out where those 39+ are >> 'busy'? > > 'b' stands for "blocked", not "busy". Judging by your page fault rate and > the high number of frees and pages being scanned, you're probably swapping > tasks in and out and are waiting on disk. Take a look at "vmstat -s", and > consider adding more RAM if this is correct... 'k, I will keep an eye on things and check vmstat -s as those numbers grow higher ... thanks for hte clarification on 'blocked' vs 'busy' :( What specifically should I be looking at in vmstat -s? note that the server just rebooted, 0 swap is used: # pstat -s Device 1K-blocks Used Avail Capacity /dev/da0s1b 8388608 0 8388608 0% and vmstat -s is showing: # vmstat -s 8434656 cpu context switches 2554513 device interrupts 430486 software interrupts 4353484 traps 21299255 system calls 36 kernel threads created 28399 fork() calls 1708 vfork() calls 0 rfork() calls 0 swap pager pageins 0 swap pager pages paged in 0 swap pager pageouts 0 swap pager pages paged out 31750 vnode pager pageins 209538 vnode pager pages paged in 15954 vnode pager pageouts 219494 vnode pager pages paged out 20 page daemon wakeups 648514 pages examined by the page daemon 16508 pages reactivated 1014412 copy-on-write faults 5389 copy-on-write optimized faults 1982109 zero fill pages zeroed 1070481 zero fill pages prezeroed 1626 intransit blocking page faults 3786729 total VM faults taken 0 pages affected by kernel thread creation 2344822 pages affected by fork() 299231 pages affected by vfork() 0 pages affected by rfork() 3360377 pages freed 0 pages freed by daemon 1672560 pages freed by exiting processes 618892 pages active 275063 pages inactive 42967 pages in VM cache 66898 pages wired down 6398 pages free 4096 bytes per page 36972009 total name lookups cache hits (97% pos + 0% neg) system 0% per-directory deletions 0%, falsehits 0%, toolong 0% thx ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 23:11:27 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5189D16A494 for ; Fri, 23 Jun 2006 23:11:27 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEFB643D5D for ; Fri, 23 Jun 2006 23:11:25 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 912883E1; Fri, 23 Jun 2006 18:11:22 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id C45BE61C32; Fri, 23 Jun 2006 18:11:21 -0500 (CDT) Date: Fri, 23 Jun 2006 18:11:21 -0500 From: "Matthew D. Fuller" To: "Marc G. Fournier" Message-ID: <20060623231121.GL83482@over-yonder.net> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060623191131.C1114@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060623191131.C1114@ganymede.hub.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 23:11:27 -0000 On Fri, Jun 23, 2006 at 07:12:54PM -0300 I heard the voice of Marc G. Fournier, and lo! it spake thus: > > 31750 vnode pager pageins > 209538 vnode pager pages paged in > 15954 vnode pager pageouts > 219494 vnode pager pages paged out This may be something to look at. My workstation (~3.5 day uptime) has a fraction of that: 7204 vnode pager pageins 37609 vnode pager pages paged in 1 vnode pager pageouts 1 vnode pager pages paged out Compare to the number of processes spawned (I'm at 10x yours): > 28399 fork() calls > 1708 vfork() calls > 0 rfork() calls 282510 fork() calls 22164 vfork() calls 0 rfork() calls That sounds like hefty memory pressure. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 01:02:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F09FE16A4A9 for ; Sat, 24 Jun 2006 01:02:29 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 142AD43D5A for ; Sat, 24 Jun 2006 01:02:20 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 700DC290C6E; Fri, 23 Jun 2006 22:02:14 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 45775-08; Fri, 23 Jun 2006 22:02:19 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id C75B2290C6D; Fri, 23 Jun 2006 22:02:13 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 331024A277; Fri, 23 Jun 2006 22:02:23 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 320054A271; Fri, 23 Jun 2006 22:02:23 -0300 (ADT) Date: Fri, 23 Jun 2006 22:02:22 -0300 (ADT) From: "Marc G. Fournier" To: "Matthew D. Fuller" In-Reply-To: <20060623231121.GL83482@over-yonder.net> Message-ID: <20060623220204.L1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060623191131.C1114@ganymede.hub.org> <20060623231121.GL83482@over-yonder.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 01:02:30 -0000 On Fri, 23 Jun 2006, Matthew D. Fuller wrote: > On Fri, Jun 23, 2006 at 07:12:54PM -0300 I heard the voice of > Marc G. Fournier, and lo! it spake thus: >> >> 31750 vnode pager pageins >> 209538 vnode pager pages paged in >> 15954 vnode pager pageouts >> 219494 vnode pager pages paged out > > This may be something to look at. My workstation (~3.5 day uptime) > has a fraction of that: > > 7204 vnode pager pageins > 37609 vnode pager pages paged in > 1 vnode pager pageouts > 1 vnode pager pages paged out > > Compare to the number of processes spawned (I'm at 10x yours): > >> 28399 fork() calls >> 1708 vfork() calls >> 0 rfork() calls > > 282510 fork() calls > 22164 vfork() calls > 0 rfork() calls > > > That sounds like hefty memory pressure. Which is odd, no, if I'm hardly swapping? # pstat -s Device 1K-blocks Used Avail Capacity /dev/da0s1b 8388608 3396 8385212 0% ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 01:33:07 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73AA116A47B for ; Sat, 24 Jun 2006 01:33:07 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2636143D45 for ; Sat, 24 Jun 2006 01:33:06 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 52E463E1; Fri, 23 Jun 2006 20:33:06 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 8745261C2B; Fri, 23 Jun 2006 20:33:05 -0500 (CDT) Date: Fri, 23 Jun 2006 20:33:05 -0500 From: "Matthew D. Fuller" To: "Marc G. Fournier" Message-ID: <20060624013305.GN83482@over-yonder.net> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060623191131.C1114@ganymede.hub.org> <20060623231121.GL83482@over-yonder.net> <20060623220204.L1114@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060623220204.L1114@ganymede.hub.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 01:33:07 -0000 On Fri, Jun 23, 2006 at 10:02:22PM -0300 I heard the voice of Marc G. Fournier, and lo! it spake thus: > > Which is odd, no, if I'm hardly swapping? Well, > >> 31750 vnode pager pageins > >> 15954 vnode pager pageouts It's the vnode pager, not the swap pager. AIUI, that's mostly paging in and out pages of running binaries (from the image on disk), not moving stuff in and out of swapspace. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 02:02:33 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E94216A494 for ; Sat, 24 Jun 2006 02:02:33 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47B4343D53 for ; Sat, 24 Jun 2006 02:02:32 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 77318290C6E; Fri, 23 Jun 2006 23:02:25 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 54107-03; Fri, 23 Jun 2006 23:02:30 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id EA91B290C6D; Fri, 23 Jun 2006 23:02:24 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id A81C14636C; Fri, 23 Jun 2006 23:02:35 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id A2E953CE09; Fri, 23 Jun 2006 23:02:35 -0300 (ADT) Date: Fri, 23 Jun 2006 23:02:35 -0300 (ADT) From: "Marc G. Fournier" To: "Matthew D. Fuller" In-Reply-To: <20060624013305.GN83482@over-yonder.net> Message-ID: <20060623225437.C1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060623191131.C1114@ganymede.hub.org> <20060623231121.GL83482@over-yonder.net> <20060623220204.L1114@ganymede.hub.org> <20060624013305.GN83482@over-yonder.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 02:02:33 -0000 On Fri, 23 Jun 2006, Matthew D. Fuller wrote: > On Fri, Jun 23, 2006 at 10:02:22PM -0300 I heard the voice of > Marc G. Fournier, and lo! it spake thus: >> >> Which is odd, no, if I'm hardly swapping? > > Well, > >>>> 31750 vnode pager pageins >>>> 15954 vnode pager pageouts > > It's the vnode pager, not the swap pager. AIUI, that's mostly paging > in and out pages of running binaries (from the image on disk), not > moving stuff in and out of swapspace. ah, okay ... I've been talking with the on-site tech, and there are more issues then just what I'm seeing with vmstat ... the fact that one of the CPUs died yesterday being one of them :( Just bothers me that its been running 4.x for 3 years now, no problems and as soon as I upgrade it to 6.x, all the headaches start :( ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 02:08:15 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5B0716A49A for ; Sat, 24 Jun 2006 02:08:15 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87FBF43D4C for ; Sat, 24 Jun 2006 02:08:15 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 459C62D1B; Fri, 23 Jun 2006 21:08:15 -0500 (CDT) Date: Fri, 23 Jun 2006 21:08:15 -0500 To: "Marc G. Fournier" Message-ID: <20060624020815.GB6265@soaustin.net> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060623191131.C1114@ganymede.hub.org> <20060623231121.GL83482@over-yonder.net> <20060623220204.L1114@ganymede.hub.org> <20060624013305.GN83482@over-yonder.net> <20060623225437.C1114@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060623225437.C1114@ganymede.hub.org> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) Cc: freebsd-stable@freebsd.org, "Matthew D. Fuller" Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 02:08:15 -0000 On Fri, Jun 23, 2006 at 11:02:35PM -0300, Marc G. Fournier wrote: > Just bothers me that its been running 4.x for 3 years now, no problems > and as soon as I upgrade it to 6.x, all the headaches start :( I am well familiar with Mr. Murphy and all his works :-) mcl From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 02:21:52 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D357E16A49A for ; Sat, 24 Jun 2006 02:21:52 +0000 (UTC) (envelope-from robertames@hotmail.com) Received: from hotmail.com (bay123-f31.bay123.hotmail.com [207.46.11.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D7E043D53 for ; Sat, 24 Jun 2006 02:21:52 +0000 (GMT) (envelope-from robertames@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 Jun 2006 19:21:52 -0700 Message-ID: Received: from 207.46.11.123 by by123fd.bay123.hotmail.msn.com with HTTP; Sat, 24 Jun 2006 02:21:48 GMT X-Originating-IP: [71.236.16.2] X-Originating-Email: [robertames@hotmail.com] X-Sender: robertames@hotmail.com From: "Robert Ames" To: freebsd-stable@freebsd.org Date: Fri, 23 Jun 2006 22:21:48 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 24 Jun 2006 02:21:52.0418 (UTC) FILETIME=[F495A820:01C69734] Subject: kernel can't find root filesystem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 02:21:53 -0000 I have an ancient machine that used to run 5.4-RELEASE. I installed 6.1-RELEASE and since the install the kernel has trouble finding the root filesystem when it boots and prompts me for it each time. After I type in the root filesystem specification at the mountroot prompt it boots up and runs fine. I've tried repeating the install but it always ends up like this. What do I need to do to avoid this manual step in the boot process? Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE #2: Wed Jun 21 18:50:21 CDT 2006 root@foo.example.com:/usr/src/sys/i386/compile/FOO Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Cyrix 6x86 (486-class CPU) Origin = "CyrixInstead" DIR=0x1531 Stepping=1 Revision=5 CPU cache: write-through mode real memory = 67108864 (64 MB) avail memory = 60329984 (57 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at device 7.1 (no driver attached) pci0: at device 17.0 (no driver attached) de0: port 0x6200-0x627f mem 0xe1001000-0xe100107f irq 10 at device 19.0 on pci0 de0: SMC 21041 [10Mb/s] pass 1.1 de0: Ethernet address: 00:e0:29:05:bd:1a pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xdc000-0xdffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 fd1: <1200-KB 5.25" drive> on fdc0 drive 1 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 aha1 at port 0x330-0x333 irq 11 drq 5 on isa0 aha1: AHA-1542CF FW Rev. B.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs aha1: [GIANT-LOCKED] unknown: can't assign resources (port) speaker0: at port 0x61 on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounters tick every 1.000 msec de0: enabling 10baseT port Waiting 15 seconds for SCSI devices to settle cd0 at aha1 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present da0 at aha1 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 2048MB (4194304 512 byte sectors: 64H 32S/T 2048C) da1 at aha1 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 3.300MB/s transfers da1: 2048MB (4194304 512 byte sectors: 64H 32S/T 2048C) Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> ufs:da0s1a Trying to mount root from ufs:da0s1a It starts executing /etc/rc here and continues without any problems. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 03:38:49 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3F9A16A49E for ; Sat, 24 Jun 2006 03:38:49 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF05E43D58 for ; Sat, 24 Jun 2006 03:38:48 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 5C2206106; Fri, 23 Jun 2006 23:38:48 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6rJ6ONuFLx+X; Fri, 23 Jun 2006 23:38:47 -0400 (EDT) Received: from [192.168.1.251] (pool-68-160-201-170.ny325.east.verizon.net [68.160.201.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 4469F60EB; Fri, 23 Jun 2006 23:38:47 -0400 (EDT) Message-ID: <449CB3C4.2060509@mac.com> Date: Fri, 23 Jun 2006 23:38:44 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: "Marc G. Fournier" References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060623191131.C1114@ganymede.hub.org> <20060623231121.GL83482@over-yonder.net> <20060623220204.L1114@ganymede.hub.org> <20060624013305.GN83482@over-yonder.net> <20060623225437.C1114@ganymede.hub.org> In-Reply-To: <20060623225437.C1114@ganymede.hub.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, "Matthew D. Fuller" Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 03:38:49 -0000 Marc G. Fournier wrote: [ ... ] >>>>> 31750 vnode pager pageins >>>>> 15954 vnode pager pageouts >> >> It's the vnode pager, not the swap pager. AIUI, that's mostly paging >> in and out pages of running binaries (from the image on disk), not >> moving stuff in and out of swapspace. > > ah, okay ... Yeah-- it's more common for a system to need more RAM for dynamicly allocated content which would be placed into the swapfile then it uses binary executable pages, it's possible to go the other way, too. -- -Chuck From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 05:45:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEC7D16A492 for ; Sat, 24 Jun 2006 05:45:17 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43B4643D45 for ; Sat, 24 Jun 2006 05:45:17 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id C0E6D290C6E; Sat, 24 Jun 2006 02:45:14 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 82596-09; Sat, 24 Jun 2006 02:45:15 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id BDF2B290C6D; Sat, 24 Jun 2006 02:45:13 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id C497546E50; Sat, 24 Jun 2006 02:45:14 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id C1DD546E19; Sat, 24 Jun 2006 02:45:14 -0300 (ADT) Date: Sat, 24 Jun 2006 02:45:14 -0300 (ADT) From: "Marc G. Fournier" To: Charles Swiger In-Reply-To: <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> Message-ID: <20060624022227.X1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 05:45:18 -0000 On Fri, 23 Jun 2006, Charles Swiger wrote: > On Jun 23, 2006, at 4:44 PM, Marc G. Fournier wrote: >> procs memory page disks faults cpu >> r b w avm fre flt re pi po fr sr da0 pa0 in sy cs us sy >> id >> 1 42 1 10249060 161668 1290 54 12 3 1409 2202 102 0 751 6416 3350 24 >> 15 61 >> 0 39 0 10148976 148104 654 10 5 2 660 0 49 0 615 4440 2584 18 >> 9 73 >> >> the last time it hung, it hit about 45 ... about 6 hours ago, it was at >> ~5-10 ... anything I should look at to figure out where those 39+ are >> 'busy'? > > 'b' stands for "blocked", not "busy". Judging by your page fault rate and > the high number of frees and pages being scanned, you're probably swapping > tasks in and out and are waiting on disk. Take a look at "vmstat -s", and > consider adding more RAM if this is correct... is there a way of finding out what processes are blocked? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 07:55:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9BC716A49E for ; Sat, 24 Jun 2006 07:55:29 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BD7743D49 for ; Sat, 24 Jun 2006 07:55:28 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.6) with ESMTP id k5O7tQw7008957; Sat, 24 Jun 2006 11:55:26 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sat, 24 Jun 2006 11:55:26 +0400 (MSD) From: Dmitry Morozovsky To: "Marc G. Fournier" In-Reply-To: <20060624022227.X1114@ganymede.hub.org> Message-ID: <20060624115505.E14669@woozle.rinet.ru> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sat, 24 Jun 2006 11:55:27 +0400 (MSD) Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 07:55:29 -0000 On Sat, 24 Jun 2006, Marc G. Fournier wrote: MGF> > 'b' stands for "blocked", not "busy". Judging by your page fault rate MGF> > and the high number of frees and pages being scanned, you're probably MGF> > swapping tasks in and out and are waiting on disk. Take a look at MGF> > "vmstat -s", and consider adding more RAM if this is correct... MGF> MGF> is there a way of finding out what processes are blocked? Aren't they in 'D' status by ps? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 08:47:44 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 476FD16A4A0 for ; Sat, 24 Jun 2006 08:47:44 +0000 (UTC) (envelope-from M.Hirsch@hirsch.it) Received: from server1.hirsch.it (server1.hirsch.it [213.239.214.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A4ED43D48 for ; Sat, 24 Jun 2006 08:47:43 +0000 (GMT) (envelope-from M.Hirsch@hirsch.it) Received: from hsi-kbw-085-216-025-126.hsi.kabelbw.de ([85.216.25.126] helo=[192.168.101.121]) by server1.hirsch.it with esmtpa (Exim 4.50) id 1Fu3nk-0005Gm-PW; Sat, 24 Jun 2006 10:47:41 +0200 Message-ID: <449CFC28.5050100@hirsch.it> Date: Sat, 24 Jun 2006 10:47:36 +0200 From: "M.Hirsch" User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Robert Ames References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Spam-Report: Spam detection software, running on the system "server1.hirsch.it", 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: I had the same problem with 6.1. But only on some occasions, not always (iirc). The installations I made over the last weeks had all very different environments and deployment methods. I can't tell anymore when it happens and when not because I simply added the below loader.conf setting to my postinstall-script. [...] Content analysis details: (0.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.3 AWL AWL: From: address is in the auto white-list Cc: freebsd-stable@freebsd.org Subject: Re: kernel can't find root filesystem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 08:47:44 -0000 I had the same problem with 6.1. But only on some occasions, not always (iirc). The installations I made over the last weeks had all very different environments and deployment methods. I can't tell anymore when it happens and when not because I simply added the below loader.conf setting to my postinstall-script. Add "vfs.root.mountfrom=ufs:da0s1" to /boot/loader.conf to fix it. HTH, Manuel From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 09:07:05 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70A3116A492 for ; Sat, 24 Jun 2006 09:07:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 317D143D55 for ; Sat, 24 Jun 2006 09:07:03 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k5O96vqr083731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Jun 2006 12:06:57 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k5O96v9a052161; Sat, 24 Jun 2006 12:06:57 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k5O96u6u052160; Sat, 24 Jun 2006 12:06:56 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 24 Jun 2006 12:06:56 +0300 From: Kostik Belousov To: Dmitry Morozovsky Message-ID: <20060624090656.GB79678@deviant.kiev.zoral.com.ua> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <20060624115505.E14669@woozle.rinet.ru> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=0.4 required=5.0 tests=ALL_TRUSTED, DNS_FROM_RFC_ABUSE,SPF_NEUTRAL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on fw.zoral.com.ua Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 09:07:05 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 24, 2006 at 11:55:26AM +0400, Dmitry Morozovsky wrote: > On Sat, 24 Jun 2006, Marc G. Fournier wrote: >=20 > MGF> > 'b' stands for "blocked", not "busy". Judging by your page fault = rate > MGF> > and the high number of frees and pages being scanned, you're proba= bly > MGF> > swapping tasks in and out and are waiting on disk. Take a look at > MGF> > "vmstat -s", and consider adding more RAM if this is correct... > MGF>=20 > MGF> is there a way of finding out what processes are blocked? >=20 > Aren't they in 'D' status by ps? Use ps axlww. In this way, at least actual blocking points are shown. --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEnQCvC3+MBN1Mb4gRAkt6AJ92EcBenl38NFcR5/X31k5bS/BF/QCeN5F0 z7nfOZhPalnTuzrLySUAbpw= =nNqs -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 11:43:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97AD516A4CA for ; Sat, 24 Jun 2006 11:43:01 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 988D643D53 for ; Sat, 24 Jun 2006 11:43:00 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.6) with ESMTP id k5OBgwco037142; Sat, 24 Jun 2006 15:42:59 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sat, 24 Jun 2006 15:42:58 +0400 (MSD) From: Dmitry Morozovsky To: Kostik Belousov In-Reply-To: <20060624090656.GB79678@deviant.kiev.zoral.com.ua> Message-ID: <20060624154017.E30039@woozle.rinet.ru> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sat, 24 Jun 2006 15:42:59 +0400 (MSD) Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 11:43:01 -0000 On Sat, 24 Jun 2006, Kostik Belousov wrote: KB> > MGF> > 'b' stands for "blocked", not "busy". Judging by your page fault rate KB> > MGF> > and the high number of frees and pages being scanned, you're probably KB> > MGF> > swapping tasks in and out and are waiting on disk. Take a look at KB> > MGF> > "vmstat -s", and consider adding more RAM if this is correct... KB> > MGF> KB> > MGF> is there a way of finding out what processes are blocked? KB> > KB> > Aren't they in 'D' status by ps? KB> Use ps axlww. In this way, at least actual blocking points are shown. /me knows ;-) OTOH, I'm faurly sure scrappy@ should know this very well... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 13:26:57 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EE9216A47B for ; Sat, 24 Jun 2006 13:26:57 +0000 (UTC) (envelope-from robertames@hotmail.com) Received: from hotmail.com (bay123-f16.bay123.hotmail.com [207.46.11.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD4E443D55 for ; Sat, 24 Jun 2006 13:26:56 +0000 (GMT) (envelope-from robertames@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 24 Jun 2006 06:26:56 -0700 Message-ID: Received: from 207.46.11.123 by by123fd.bay123.hotmail.msn.com with HTTP; Sat, 24 Jun 2006 13:26:51 GMT X-Originating-IP: [71.236.16.2] X-Originating-Email: [robertames@hotmail.com] X-Sender: robertames@hotmail.com In-Reply-To: <449CFC28.5050100@hirsch.it> From: "Robert Ames" To: M.Hirsch@hirsch.it Date: Sat, 24 Jun 2006 09:26:51 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 24 Jun 2006 13:26:56.0710 (UTC) FILETIME=[DD656660:01C69791] Cc: freebsd-stable@freebsd.org Subject: Re: kernel can't find root filesystem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 13:26:57 -0000 >From: "M.Hirsch" > >I had the same problem with 6.1. But only on some occasions, not always >(iirc). >The installations I made over the last weeks had all very different >environments and deployment methods. >I can't tell anymore when it happens and when not because I simply added >the below loader.conf setting to my postinstall-script. > >Add "vfs.root.mountfrom=ufs:da0s1" to /boot/loader.conf to fix it. Thank you. That solves my problem even though it seems more like a workaround than an actual solution. But I'll take it. :-) Also, someone responded asking if I had a valid entry in /etc/fstab for the root filesystem. foo# cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1a / ufs rw 1 1 /dev/da0s1b none swap sw 0 0 /dev/da1s1d /local ufs rw 2 2 /dev/cd0 /cdrom cd9660 ro,noauto 0 0 _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 17:08:32 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2AA916A4A0 for ; Sat, 24 Jun 2006 17:08:32 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id C588343D45 for ; Sat, 24 Jun 2006 17:08:31 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id C126D3E1; Sat, 24 Jun 2006 12:08:30 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id BBDA761C2B; Sat, 24 Jun 2006 12:08:29 -0500 (CDT) Date: Sat, 24 Jun 2006 12:08:29 -0500 From: "Matthew D. Fuller" To: Chuck Swiger Message-ID: <20060624170829.GO83482@over-yonder.net> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060623191131.C1114@ganymede.hub.org> <20060623231121.GL83482@over-yonder.net> <20060623220204.L1114@ganymede.hub.org> <20060624013305.GN83482@over-yonder.net> <20060623225437.C1114@ganymede.hub.org> <449CB3C4.2060509@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <449CB3C4.2060509@mac.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 17:08:33 -0000 On Fri, Jun 23, 2006 at 11:38:44PM -0400 I heard the voice of Chuck Swiger, and lo! it spake thus: > > Yeah-- it's more common for a system to need more RAM for dynamicly > allocated content which would be placed into the swapfile then it > uses binary executable pages, it's possible to go the other way, > too. Yeah, and it's WAY the other way. 0 swap pager pageins 0 swap pager pageouts 31750 vnode pager pageins 15954 vnode pager pageouts That speaks of HUGE memory pressure in program text; plenty for the 'data' of the programs, but really really tight for the programs themselves. That'll also lead to a lot of disk thrashing. And there aren't even all that many fork() calls, relative to my box (of course, mine does things like ports builds that spawn of totally stupid numbers of processes, so that may be a quirk here rather than there). Perhaps rebuilding a bunch of stuff with -Os will gain you some breathing room, but more memory or less load is probably the only real answer. And I think you already had 4 gig in an i386 box, so you're kinda in trouble on the memory side. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 17:11:16 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55BA716A49A for ; Sat, 24 Jun 2006 17:11:16 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3B9543D45 for ; Sat, 24 Jun 2006 17:11:15 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id A32873E1; Sat, 24 Jun 2006 12:11:15 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id EBECA61C2B; Sat, 24 Jun 2006 12:11:14 -0500 (CDT) Date: Sat, 24 Jun 2006 12:11:14 -0500 From: "Matthew D. Fuller" To: "Marc G. Fournier" Message-ID: <20060624171114.GP83482@over-yonder.net> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060623191131.C1114@ganymede.hub.org> <20060623231121.GL83482@over-yonder.net> <20060623220204.L1114@ganymede.hub.org> <20060624013305.GN83482@over-yonder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060624013305.GN83482@over-yonder.net> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 17:11:16 -0000 On Fri, Jun 23, 2006 at 08:33:05PM -0500 I heard the voice of Matthew D. Fuller, and lo! it spake thus: > > It's the vnode pager, not the swap pager. AIUI, that's mostly > paging in and out pages of running binaries (from the image on > disk), not moving stuff in and out of swapspace. Actually, as I think of it, I think the vnode pager would also be the part used faulting pages in and out of mmap()'d files, which could point at the database. Memory pressure from that wouldn't result in swapping, since clean pages would just get tossed and dirty pages would be synced and tossed. In that case it may not be so much a 'problem', as just 'normal' for your case, and your actual problem may be somewhat elsewhere. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 17:53:08 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C12C116A49A for ; Sat, 24 Jun 2006 17:53:08 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBE7D43D5C for ; Sat, 24 Jun 2006 17:53:07 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id A2D96290C29; Sat, 24 Jun 2006 14:53:05 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 12671-06; Sat, 24 Jun 2006 14:53:06 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 25FB5290C1E; Sat, 24 Jun 2006 14:53:05 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 91C654897F; Sat, 24 Jun 2006 14:53:06 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 7A93947E8E; Sat, 24 Jun 2006 14:53:06 -0300 (ADT) Date: Sat, 24 Jun 2006 14:53:06 -0300 (ADT) From: "Marc G. Fournier" To: "Matthew D. Fuller" In-Reply-To: <20060624170829.GO83482@over-yonder.net> Message-ID: <20060624145059.Y1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060623191131.C1114@ganymede.hub.org> <20060623231121.GL83482@over-yonder.net> <20060623220204.L1114@ganymede.hub.org> <20060624013305.GN83482@over-yonder.net> <20060623225437.C1114@ganymede.hub.org> <449CB3C4.2060509@mac.com> <20060624170829.GO83482@over-yonder.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 17:53:08 -0000 On Sat, 24 Jun 2006, Matthew D. Fuller wrote: > On Fri, Jun 23, 2006 at 11:38:44PM -0400 I heard the voice of > Chuck Swiger, and lo! it spake thus: >> >> Yeah-- it's more common for a system to need more RAM for dynamicly >> allocated content which would be placed into the swapfile then it >> uses binary executable pages, it's possible to go the other way, >> too. > > Yeah, and it's WAY the other way. > > 0 swap pager pageins > 0 swap pager pageouts > 31750 vnode pager pageins > 15954 vnode pager pageouts > > That speaks of HUGE memory pressure in program text; plenty for the > 'data' of the programs, but really really tight for the programs > themselves. That'll also lead to a lot of disk thrashing. And there > aren't even all that many fork() calls, relative to my box (of course, > mine does things like ports builds that spawn of totally stupid > numbers of processes, so that may be a quirk here rather than there). > > Perhaps rebuilding a bunch of stuff with -Os will gain you some > breathing room, but more memory or less load is probably the only real > answer. And I think you already had 4 gig in an i386 box, so you're > kinda in trouble on the memory side. Would having only 1 CPU (1 died, used to be two) cause this, or pure memory? And, if things are *that* tight, shouldn't it be doing more swapping? pluto# pstat -s Device 1K-blocks Used Avail Capacity /dev/da0s1b 8388608 7324 8381284 0% pluto# uptime 2:52PM up 20:17, 5 users, load averages: 1.26, 4.08, 5.64 pluto# >From top: last pid: 46611; load averages: 1.09, 3.86, 5.53 up 0+20:17:38 14:52:16 1311 processes:9 running, 1301 sleeping, 1 zombie CPU states: 1.1% user, 0.0% nice, 3.0% system, 0.4% interrupt, 95.6% idle Mem: 3088M Active, 349M Inact, 313M Wired, 165M Cache, 112M Buf, 27M Free Swap: 8192M Total, 7268K Used, 8185M Free ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 17:57:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A629116A494 for ; Sat, 24 Jun 2006 17:57:29 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CCB243D53 for ; Sat, 24 Jun 2006 17:57:28 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 0F409290C29; Sat, 24 Jun 2006 14:57:26 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 12710-04; Sat, 24 Jun 2006 14:57:27 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 7AD3C290C1E; Sat, 24 Jun 2006 14:57:25 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 9B26A49606; Sat, 24 Jun 2006 14:57:27 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 9202047E8E; Sat, 24 Jun 2006 14:57:27 -0300 (ADT) Date: Sat, 24 Jun 2006 14:57:27 -0300 (ADT) From: "Marc G. Fournier" To: Kostik Belousov In-Reply-To: <20060624090656.GB79678@deviant.kiev.zoral.com.ua> Message-ID: <20060624145432.A1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 17:57:29 -0000 On Sat, 24 Jun 2006, Kostik Belousov wrote: > On Sat, Jun 24, 2006 at 11:55:26AM +0400, Dmitry Morozovsky wrote: >> On Sat, 24 Jun 2006, Marc G. Fournier wrote: >> >> MGF> > 'b' stands for "blocked", not "busy". Judging by your page fault rate >> MGF> > and the high number of frees and pages being scanned, you're probably >> MGF> > swapping tasks in and out and are waiting on disk. Take a look at >> MGF> > "vmstat -s", and consider adding more RAM if this is correct... >> MGF> >> MGF> is there a way of finding out what processes are blocked? >> >> Aren't they in 'D' status by ps? > Use ps axlww. In this way, at least actual blocking points are shown. 'k, stupid question then ... what am I searching for? # ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr 654 select 230 lockf 166 wait 85 - 80 piperd 71 nanslp 33 kserel 22 user 10 pause 9 ttyin 5 sbwait 3 psleep 3 accept 2 kqread 2 Giant 1 vlruwt 1 syncer 1 sdflus 1 ppwait 1 ktrace 1 MWCHAN According to vmstat, I'm holding at '4 blocked' for the most part ... sbwwait is socket related, not disk ... and none of the others look right ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 17:58:37 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D81E16A4A0 for ; Sat, 24 Jun 2006 17:58:37 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11AEF43D86 for ; Sat, 24 Jun 2006 17:58:24 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 58AC5290C2B; Sat, 24 Jun 2006 14:58:22 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 17287-01; Sat, 24 Jun 2006 14:58:23 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id CBD9A290C1E; Sat, 24 Jun 2006 14:58:21 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id DBEDC49606; Sat, 24 Jun 2006 14:58:23 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id D9C3B47E8E; Sat, 24 Jun 2006 14:58:23 -0300 (ADT) Date: Sat, 24 Jun 2006 14:58:23 -0300 (ADT) From: "Marc G. Fournier" To: Dmitry Morozovsky In-Reply-To: <20060624154017.E30039@woozle.rinet.ru> Message-ID: <20060624145733.H1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> <20060624154017.E30039@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Kostik Belousov , freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 17:58:37 -0000 On Sat, 24 Jun 2006, Dmitry Morozovsky wrote: > On Sat, 24 Jun 2006, Kostik Belousov wrote: > > KB> > MGF> > 'b' stands for "blocked", not "busy". Judging by your page fault rate > KB> > MGF> > and the high number of frees and pages being scanned, you're probably > KB> > MGF> > swapping tasks in and out and are waiting on disk. Take a look at > KB> > MGF> > "vmstat -s", and consider adding more RAM if this is correct... > KB> > MGF> > KB> > MGF> is there a way of finding out what processes are blocked? > KB> > > KB> > Aren't they in 'D' status by ps? > KB> Use ps axlww. In this way, at least actual blocking points are shown. > > /me knows ;-) OTOH, I'm faurly sure scrappy@ should know this very > well... Considering I thought it was 'busy' and not 'blocked', I'm in new territory here :) ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 18:17:09 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC83E16A4A7 for ; Sat, 24 Jun 2006 18:17:09 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0EF543D46 for ; Sat, 24 Jun 2006 18:17:08 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.6) with ESMTP id k5OIH7en025599; Sat, 24 Jun 2006 22:17:07 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sat, 24 Jun 2006 22:17:07 +0400 (MSD) From: Dmitry Morozovsky To: "Marc G. Fournier" In-Reply-To: <20060624145432.A1114@ganymede.hub.org> Message-ID: <20060624221556.O30039@woozle.rinet.ru> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> <20060624145432.A1114@ganymede.hub.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sat, 24 Jun 2006 22:17:07 +0400 (MSD) Cc: Kostik Belousov , freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 18:17:09 -0000 On Sat, 24 Jun 2006, Marc G. Fournier wrote: MGF> > > MGF> is there a way of finding out what processes are blocked? MGF> > > MGF> > > Aren't they in 'D' status by ps? MGF> > Use ps axlww. In this way, at least actual blocking points are shown. MGF> MGF> 'k, stupid question then ... what am I searching for? MGF> MGF> # ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr Well, try ps axlww | awk '$10 ~ /^D[^L]/' which should give you a list of blocked-in-uninterruptible-syscall processes excluding kernel threads... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 18:27:25 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C24FF16A4AB for ; Sat, 24 Jun 2006 18:27:25 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11DB843D58 for ; Sat, 24 Jun 2006 18:27:25 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 9ED03290C29; Sat, 24 Jun 2006 15:27:22 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 20710-02; Sat, 24 Jun 2006 15:27:24 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 26F6E290C1E; Sat, 24 Jun 2006 15:27:22 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id C3398486BF; Sat, 24 Jun 2006 15:27:24 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id BCFF73C5C4; Sat, 24 Jun 2006 15:27:24 -0300 (ADT) Date: Sat, 24 Jun 2006 15:27:24 -0300 (ADT) From: "Marc G. Fournier" To: Dmitry Morozovsky In-Reply-To: <20060624221556.O30039@woozle.rinet.ru> Message-ID: <20060624152525.D1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> <20060624145432.A1114@ganymede.hub.org> <20060624221556.O30039@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Kostik Belousov , freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 18:27:25 -0000 On Sat, 24 Jun 2006, Dmitry Morozovsky wrote: > On Sat, 24 Jun 2006, Marc G. Fournier wrote: > > MGF> > > MGF> is there a way of finding out what processes are blocked? > MGF> > > > MGF> > > Aren't they in 'D' status by ps? > MGF> > Use ps axlww. In this way, at least actual blocking points are shown. > MGF> > MGF> 'k, stupid question then ... what am I searching for? > MGF> > MGF> # ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr > > Well, try > > ps axlww | awk '$10 ~ /^D[^L]/' > > which should give you a list of blocked-in-uninterruptible-syscall processes > excluding kernel threads... Nadda: pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# yet vmstat shows 4: 0 4 0 7248532 229668 545 0 0 0 735 0 5 0 365 3308 1529 15 8 78 0 4 0 7239388 222364 127 8 2 0 158 0 27 0 412 2324 1075 8 5 87 if I do it repeatedly, fairly often, I can occasionally get one or two: pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' 0 18886 1 0 96 0 10316 5968 proctr DsJ ?? 0:02.81 /usr/local/sbin/httpd 0 19673 1 0 96 0 13776 6688 proctr DsJ ?? 0:02.88 /usr/local/sbin/httpd -DSSL 0 46540 46538 1 8 0 5020 2396 ppwait Ds p4 0:00.07 -csh (csh) pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' 0 55163 55160 6 96 0 0 8 proctr DE ?? 0:00.00 uptime 0 46540 46538 1 96 0 5020 2396 proctr Ds p4 0:00.07 -csh (csh) pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' 0 46540 46538 40 8 0 5020 2396 ppwait Ds p4 0:00.08 -csh (csh) pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' pluto# ps axlww | awk '$10 ~ /^D[^L]/' But its definitely not 'a consistent 4' ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 18:52:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BBBA16A494 for ; Sat, 24 Jun 2006 18:52:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DCBE43D53 for ; Sat, 24 Jun 2006 18:52:09 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k5OIq4Lw096719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Jun 2006 21:52:04 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k5OIq4SE093798; Sat, 24 Jun 2006 21:52:04 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k5OIq3Lw093797; Sat, 24 Jun 2006 21:52:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 24 Jun 2006 21:52:03 +0300 From: Kostik Belousov To: "Marc G. Fournier" Message-ID: <20060624185203.GC79678@deviant.kiev.zoral.com.ua> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> <20060624145432.A1114@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rJwd6BRFiFCcLxzm" Content-Disposition: inline In-Reply-To: <20060624145432.A1114@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=0.4 required=5.0 tests=ALL_TRUSTED, DNS_FROM_RFC_ABUSE,SPF_NEUTRAL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on fw.zoral.com.ua Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 18:52:19 -0000 --rJwd6BRFiFCcLxzm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 24, 2006 at 02:57:27PM -0300, Marc G. Fournier wrote: > On Sat, 24 Jun 2006, Kostik Belousov wrote: >=20 > >On Sat, Jun 24, 2006 at 11:55:26AM +0400, Dmitry Morozovsky wrote: > >>On Sat, 24 Jun 2006, Marc G. Fournier wrote: > >> > >>MGF> > 'b' stands for "blocked", not "busy". Judging by your page faul= t=20 > >>rate > >>MGF> > and the high number of frees and pages being scanned, you're=20 > >>probably > >>MGF> > swapping tasks in and out and are waiting on disk. Take a look = at > >>MGF> > "vmstat -s", and consider adding more RAM if this is correct... > >>MGF> > >>MGF> is there a way of finding out what processes are blocked? > >> > >>Aren't they in 'D' status by ps? > >Use ps axlww. In this way, at least actual blocking points are shown. >=20 > 'k, stupid question then ... what am I searching for? >=20 > # ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr > 654 select > 230 lockf > 166 wait > 85 - > 80 piperd > 71 nanslp > 33 kserel > 22 user > 10 pause > 9 ttyin > 5 sbwait > 3 psleep > 3 accept > 2 kqread > 2 Giant > 1 vlruwt > 1 syncer > 1 sdflus > 1 ppwait > 1 ktrace > 1 MWCHAN >=20 > According to vmstat, I'm holding at '4 blocked' for the most part ...=20 > sbwwait is socket related, not disk ... and none of the others look right= =20 > ... I would say, using big magic cristall ball, that you problems are not kernel-related. I see only too suspicious points: 1. high number of pipe readers and waiters for file locks. It may be=20 normal for your load. 2. 2 Giant holders/lockers. Is it constant ? Are the processes holding/wait= ing for Giant are the same ? Anyway, being in your shoes, I would start looking at applications. Ah, and does dmesg show anything ? --rJwd6BRFiFCcLxzm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEnYnSC3+MBN1Mb4gRAnN9AKC2QC7eccNqP29IG0ItUCYDosRF8gCgxqZP RqwMVhpBSYwlwpp7KecyU3U= =gZ7M -----END PGP SIGNATURE----- --rJwd6BRFiFCcLxzm-- From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 19:09:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF11016A4C4 for ; Sat, 24 Jun 2006 19:09:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87B5743D58 for ; Sat, 24 Jun 2006 19:09:18 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k5OJ9DQR097058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Jun 2006 22:09:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k5OJ9Dc4094184; Sat, 24 Jun 2006 22:09:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k5OJ9Cqr094183; Sat, 24 Jun 2006 22:09:12 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 24 Jun 2006 22:09:12 +0300 From: Kostik Belousov To: "Marc G. Fournier" Message-ID: <20060624190912.GD79678@deviant.kiev.zoral.com.ua> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> <20060624145432.A1114@ganymede.hub.org> <20060624185203.GC79678@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jousvV0MzM2p6OtC" Content-Disposition: inline In-Reply-To: <20060624185203.GC79678@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=0.4 required=5.0 tests=ALL_TRUSTED, DNS_FROM_RFC_ABUSE,SPF_NEUTRAL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on fw.zoral.com.ua Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 19:09:19 -0000 --jousvV0MzM2p6OtC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 24, 2006 at 09:52:03PM +0300, Kostik Belousov wrote: > On Sat, Jun 24, 2006 at 02:57:27PM -0300, Marc G. Fournier wrote: > > On Sat, 24 Jun 2006, Kostik Belousov wrote: > >=20 > > >On Sat, Jun 24, 2006 at 11:55:26AM +0400, Dmitry Morozovsky wrote: > > >>On Sat, 24 Jun 2006, Marc G. Fournier wrote: > > >> > > >>MGF> > 'b' stands for "blocked", not "busy". Judging by your page fa= ult=20 > > >>rate > > >>MGF> > and the high number of frees and pages being scanned, you're= =20 > > >>probably > > >>MGF> > swapping tasks in and out and are waiting on disk. Take a loo= k at > > >>MGF> > "vmstat -s", and consider adding more RAM if this is correct... > > >>MGF> > > >>MGF> is there a way of finding out what processes are blocked? > > >> > > >>Aren't they in 'D' status by ps? > > >Use ps axlww. In this way, at least actual blocking points are shown. > >=20 > > 'k, stupid question then ... what am I searching for? > >=20 > > # ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr > > 654 select > > 230 lockf > > 166 wait > > 85 - > > 80 piperd > > 71 nanslp > > 33 kserel > > 22 user > > 10 pause > > 9 ttyin > > 5 sbwait > > 3 psleep > > 3 accept > > 2 kqread > > 2 Giant > > 1 vlruwt > > 1 syncer > > 1 sdflus > > 1 ppwait > > 1 ktrace > > 1 MWCHAN > >=20 > > According to vmstat, I'm holding at '4 blocked' for the most part ...= =20 > > sbwwait is socket related, not disk ... and none of the others look rig= ht=20 > > ... > I would say, using big magic cristall ball, that you problems are > not kernel-related. I see only too suspicious points: >=20 > 1. high number of pipe readers and waiters for file locks. It may be=20 > normal for your load. >=20 > 2. 2 Giant holders/lockers. Is it constant ? Are the processes holding/wa= iting > for Giant are the same ? >=20 > Anyway, being in your shoes, I would start looking at applications. >=20 > Ah, and does dmesg show anything ? And another question: what are the processes in the state "user" ? I never see that state. More, search thru the sources does not show what this could be. --jousvV0MzM2p6OtC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEnY3XC3+MBN1Mb4gRAiA9AKDLjmE0r1YtEHQUcwX/gkX6Mse4VwCfbzPC yod9lPAKIpqBucGp3P18rjQ= =4QRz -----END PGP SIGNATURE----- --jousvV0MzM2p6OtC-- From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 19:42:47 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BE2616A492 for ; Sat, 24 Jun 2006 19:42:47 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4401443D48 for ; Sat, 24 Jun 2006 19:42:45 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 536FF290C6D; Sat, 24 Jun 2006 16:42:42 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 51676-02; Sat, 24 Jun 2006 16:42:44 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id D6D5F290C2B; Sat, 24 Jun 2006 16:42:41 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 46D9A48F4F; Sat, 24 Jun 2006 16:42:45 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 406A24865B; Sat, 24 Jun 2006 16:42:45 -0300 (ADT) Date: Sat, 24 Jun 2006 16:42:45 -0300 (ADT) From: "Marc G. Fournier" To: Kostik Belousov In-Reply-To: <20060624185203.GC79678@deviant.kiev.zoral.com.ua> Message-ID: <20060624163845.L1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> <20060624145432.A1114@ganymede.hub.org> <20060624185203.GC79678@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 19:42:47 -0000 On Sat, 24 Jun 2006, Kostik Belousov wrote: > 2. 2 Giant holders/lockers. Is it constant ? Are the processes holding/waiting > for Giant are the same ? Mostly appears to be 'clock' ... pluto# ps axlww | grep Giant | grep -v grep 0 12 0 0 -32 0 0 8 Giant LL ?? 3:07.03 [swi4: clock] pluto# ps axlww | grep Giant | grep -v grep 0 12 0 0 -32 0 0 8 Giant LL ?? 3:07.03 [swi4: clock] pluto# ps axlww | grep Giant | grep -v grep 0 12 0 0 -32 0 0 8 Giant LL ?? 3:07.03 [swi4: clock] pluto# ps axlww | grep Giant | grep -v grep pluto# ps axlww | grep Giant | grep -v grep 0 12 0 0 -32 0 0 8 Giant LL ?? 3:07.03 [swi4: clock] pluto# ps axlww | grep Giant | grep -v grep pluto# ps axlww | grep Giant | grep -v grep 0 12 0 0 -32 0 0 8 Giant LL ?? 3:07.03 [swi4: clock] pluto# ps axlww | grep Giant | grep -v grep pluto# ps axlww | grep Giant | grep -v grep 0 92517 46540 114 110 0 5032 2412 Giant LV+ p4 0:00.00 -csh (csh) pluto# ps axlww | grep Giant | grep -v grep 0 12 0 0 -32 0 0 8 Giant LL ?? 3:07.04 [swi4: clock] 1001 14098 1 0 96 0 3308 1324 Giant LsJ ?? 0:04.98 /usr/local/libexec/postfix/master pluto# ps axlww | grep Giant | grep -v grep pluto# ps axlww | grep Giant | grep -v grep 0 12 0 0 -32 0 0 8 Giant LL ?? 3:07.04 [swi4: clock] pluto# ps axlww | grep Giant | grep -v grep pluto# And I suspect that the master is disk i/o, since the iir driver is listed as still GIANT-LOCKED: iir0: mem 0xfc8f0000-0xfc8f3fff irq 30 at device 9.0 on pci1 iir0: [GIANT-LOCKED] > Ah, and does dmesg show anything ? Anything (other then the iir driver) that I'd be looking for in there? Or could that be what is compounding the problem? Too many things trying to acquire GIANT over the drive(s), creating a deadlock? Long shot there ... ? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 19:45:50 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C82516A49E for ; Sat, 24 Jun 2006 19:45:50 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3037043D5C for ; Sat, 24 Jun 2006 19:45:49 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 1B4E0290C29; Sat, 24 Jun 2006 16:45:46 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 50654-03; Sat, 24 Jun 2006 16:45:48 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 4034C290C1E; Sat, 24 Jun 2006 16:45:45 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 6169148F4F; Sat, 24 Jun 2006 16:45:49 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 603134865B; Sat, 24 Jun 2006 16:45:49 -0300 (ADT) Date: Sat, 24 Jun 2006 16:45:49 -0300 (ADT) From: "Marc G. Fournier" To: Kostik Belousov In-Reply-To: <20060624190912.GD79678@deviant.kiev.zoral.com.ua> Message-ID: <20060624164343.V1114@ganymede.hub.org> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> <20060624145432.A1114@ganymede.hub.org> <20060624185203.GC79678@deviant.kiev.zoral.com.ua> <20060624190912.GD79678@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 19:45:50 -0000 On Sat, 24 Jun 2006, Kostik Belousov wrote: > On Sat, Jun 24, 2006 at 09:52:03PM +0300, Kostik Belousov wrote: >> On Sat, Jun 24, 2006 at 02:57:27PM -0300, Marc G. Fournier wrote: >>> On Sat, 24 Jun 2006, Kostik Belousov wrote: >>> >>>> On Sat, Jun 24, 2006 at 11:55:26AM +0400, Dmitry Morozovsky wrote: >>>>> On Sat, 24 Jun 2006, Marc G. Fournier wrote: >>>>> >>>>> MGF> > 'b' stands for "blocked", not "busy". Judging by your page fault >>>>> rate >>>>> MGF> > and the high number of frees and pages being scanned, you're >>>>> probably >>>>> MGF> > swapping tasks in and out and are waiting on disk. Take a look at >>>>> MGF> > "vmstat -s", and consider adding more RAM if this is correct... >>>>> MGF> >>>>> MGF> is there a way of finding out what processes are blocked? >>>>> >>>>> Aren't they in 'D' status by ps? >>>> Use ps axlww. In this way, at least actual blocking points are shown. >>> >>> 'k, stupid question then ... what am I searching for? >>> >>> # ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr >>> 654 select >>> 230 lockf >>> 166 wait >>> 85 - >>> 80 piperd >>> 71 nanslp >>> 33 kserel >>> 22 user >>> 10 pause >>> 9 ttyin >>> 5 sbwait >>> 3 psleep >>> 3 accept >>> 2 kqread >>> 2 Giant >>> 1 vlruwt >>> 1 syncer >>> 1 sdflus >>> 1 ppwait >>> 1 ktrace >>> 1 MWCHAN >>> >>> According to vmstat, I'm holding at '4 blocked' for the most part ... >>> sbwwait is socket related, not disk ... and none of the others look right >>> ... >> I would say, using big magic cristall ball, that you problems are >> not kernel-related. I see only too suspicious points: >> >> 1. high number of pipe readers and waiters for file locks. It may be >> normal for your load. >> >> 2. 2 Giant holders/lockers. Is it constant ? Are the processes holding/waiting >> for Giant are the same ? >> >> Anyway, being in your shoes, I would start looking at applications. >> >> Ah, and does dmesg show anything ? > > And another question: what are the processes in the state "user" ? > I never see that state. More, search thru the sources does not show > what this could be. Odd, I'm not finding any, but, I did get a Giant on a grep of the ps listing:: pluto# ps axlww | grep " user " 0 93055 46540 0 96 0 348 212 Giant L+ p4 0:00.00 grep user Not sure where those 'user' came from though ... just ran the above again: # ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr 603 select 231 lockf 71 nanslp 33 - 30 kserel 23 wait 9 ttyin 9 sbwait 7 pause 6 accept 4 piperd 3 psleep 3 kqread 3 Giant 1 syncer 1 sdflus 1 ppwait 1 pgzero 1 ktrace 1 MWCHAN And nothing ... Got a Giant lock on sshd too? pluto# ps axlww | grep Giant 0 693 556 1 96 0 6096 2080 Giant Ls ?? 0:02.18 sshd: root@ttyp0 (sshd) 0 94334 46540 0 96 0 348 208 - R+ p4 0:00.00 grep Giant ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 19:56:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA3C516A49A for ; Sat, 24 Jun 2006 19:56:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF6743D6A for ; Sat, 24 Jun 2006 19:56:14 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k5OJu9dk098153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Jun 2006 22:56:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k5OJu9KQ001715; Sat, 24 Jun 2006 22:56:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k5OJu81D001714; Sat, 24 Jun 2006 22:56:08 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 24 Jun 2006 22:56:08 +0300 From: Kostik Belousov To: "Marc G. Fournier" Message-ID: <20060624195608.GE79678@deviant.kiev.zoral.com.ua> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> <20060624145432.A1114@ganymede.hub.org> <20060624185203.GC79678@deviant.kiev.zoral.com.ua> <20060624190912.GD79678@deviant.kiev.zoral.com.ua> <20060624164343.V1114@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DrWhICOqskFTAXiy" Content-Disposition: inline In-Reply-To: <20060624164343.V1114@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=0.4 required=5.0 tests=ALL_TRUSTED, DNS_FROM_RFC_ABUSE,SPF_NEUTRAL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on fw.zoral.com.ua Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 19:56:29 -0000 --DrWhICOqskFTAXiy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 24, 2006 at 04:45:49PM -0300, Marc G. Fournier wrote: > On Sat, 24 Jun 2006, Kostik Belousov wrote: >=20 > >On Sat, Jun 24, 2006 at 09:52:03PM +0300, Kostik Belousov wrote: > >>On Sat, Jun 24, 2006 at 02:57:27PM -0300, Marc G. Fournier wrote: > >>>On Sat, 24 Jun 2006, Kostik Belousov wrote: > >>> > >>>>On Sat, Jun 24, 2006 at 11:55:26AM +0400, Dmitry Morozovsky wrote: > >>>>>On Sat, 24 Jun 2006, Marc G. Fournier wrote: > >>>>> > >>>>>MGF> > 'b' stands for "blocked", not "busy". Judging by your page= =20 > >>>>>fault > >>>>>rate > >>>>>MGF> > and the high number of frees and pages being scanned, you're > >>>>>probably > >>>>>MGF> > swapping tasks in and out and are waiting on disk. Take a lo= ok=20 > >>>>>at > >>>>>MGF> > "vmstat -s", and consider adding more RAM if this is correct.= .. > >>>>>MGF> > >>>>>MGF> is there a way of finding out what processes are blocked? > >>>>> > >>>>>Aren't they in 'D' status by ps? > >>>>Use ps axlww. In this way, at least actual blocking points are shown. > >>> > >>>'k, stupid question then ... what am I searching for? > >>> > >>># ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr > >>> 654 select > >>> 230 lockf > >>> 166 wait > >>> 85 - > >>> 80 piperd > >>> 71 nanslp > >>> 33 kserel > >>> 22 user > >>> 10 pause > >>> 9 ttyin > >>> 5 sbwait > >>> 3 psleep > >>> 3 accept > >>> 2 kqread > >>> 2 Giant > >>> 1 vlruwt > >>> 1 syncer > >>> 1 sdflus > >>> 1 ppwait > >>> 1 ktrace > >>> 1 MWCHAN > >>> > >>>According to vmstat, I'm holding at '4 blocked' for the most part ... > >>>sbwwait is socket related, not disk ... and none of the others look ri= ght > >>>... > >>I would say, using big magic cristall ball, that you problems are > >>not kernel-related. I see only too suspicious points: > >> > >>1. high number of pipe readers and waiters for file locks. It may be > >>normal for your load. > >> > >>2. 2 Giant holders/lockers. Is it constant ? Are the processes=20 > >>holding/waiting > >>for Giant are the same ? > >> > >>Anyway, being in your shoes, I would start looking at applications. > >> > >>Ah, and does dmesg show anything ? > > > >And another question: what are the processes in the state "user" ? > >I never see that state. More, search thru the sources does not show > >what this could be. >=20 > Odd, I'm not finding any, but, I did get a Giant on a grep of the ps=20 > listing:: >=20 > pluto# ps axlww | grep " user " > 0 93055 46540 0 96 0 348 212 Giant L+ p4 0:00.00 grep = =20 > user >=20 > Not sure where those 'user' came from though ... just ran the above again: >=20 > # ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr > 603 select > 231 lockf > 71 nanslp > 33 - > 30 kserel > 23 wait > 9 ttyin > 9 sbwait > 7 pause > 6 accept > 4 piperd > 3 psleep > 3 kqread > 3 Giant > 1 syncer > 1 sdflus > 1 ppwait > 1 pgzero > 1 ktrace > 1 MWCHAN >=20 > And nothing ... >=20 > Got a Giant lock on sshd too? >=20 > pluto# ps axlww | grep Giant > 0 693 556 1 96 0 6096 2080 Giant Ls ?? 0:02.18 sshd:= =20 > root@ttyp0 (sshd) > 0 94334 46540 0 96 0 348 208 - R+ p4 0:00.00 grep= =20 > Giant Everything looks normal, transient Giant aquire/contention is quite normal, esp. when you have several Giant-locked kernel parts. I strongly suggest to move point of investigation to the application(s) itself. Kernel seems to be innocent. [Deadlock due to disk driver/Giant/fs immediately shows as HUGE number of processes in D state with completely different set of wait states. All your processes do select/wait for file lock/read from pipe/something threaded.] --DrWhICOqskFTAXiy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEnZjXC3+MBN1Mb4gRAp/nAJ0V6e9QPMbviL/6i16aFiqfLFF1ZwCg6UTk TAowGAe4xjgBMEpbsztNquQ= =KWPd -----END PGP SIGNATURE----- --DrWhICOqskFTAXiy-- From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 22:08:39 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14FEF16A47B for ; Sat, 24 Jun 2006 22:08:39 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 352E043D5A for ; Sat, 24 Jun 2006 22:08:38 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so1065425nzp for ; Sat, 24 Jun 2006 15:08:37 -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=IvYWaZVFQpEllEj7TIhIRyllRhP6oDQY9hG7N+o5bVyeqF8ThQjaVVB0ylIBKaven4GwhPRwQOvlt6ZC8TbQSIP4yhnuXm7mBM0a/6vi8fC1Kik2Ud246yWvxGtd60x3tL6hZ3PynrdkxbjAi9MN37v4+hMRuILax3ohcS2qAK0= Received: by 10.37.18.44 with SMTP id v44mr5754747nzi; Sat, 24 Jun 2006 15:08:37 -0700 (PDT) Received: by 10.36.12.11 with HTTP; Sat, 24 Jun 2006 15:08:37 -0700 (PDT) Message-ID: Date: Sat, 24 Jun 2006 15:08:37 -0700 From: "Nikolas Britton" To: "FreeBSD Mailing List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: bug in systat: ifstat? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 22:08:39 -0000 Now it shows: 13228401022664.000 b (12TB)... Which means I transferred 3.226TB in 330 minutes... or 170.84MB/s, which is not possible using a gigabit Ethernet link to say the least. On 6/24/06, Nikolas Britton wrote: > Look at the Totals column (gmail may wrap it): > > /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 > Load Average |||| > > Interface Traffic Peak Total > > > lo0 in 0.000 KB/s 0.000 KB/s 9.446 KB > out 0.000 KB/s 0.000 KB/s 9.446 KB > > sk0 in 29.485 MB/s 34.525 MB/s 9681495918456.000 b > out 753.799 KB/s 889.657 KB/s 29.710 GB > -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 23:31:49 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A59D216A4AB; Sat, 24 Jun 2006 23:31:49 +0000 (UTC) (envelope-from lou@titanium.Nuc.Berkeley.EDU) Received: from titanium.Nuc.Berkeley.EDU (nitrogen.Nuc.Berkeley.EDU [128.32.82.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45F1143D49; Sat, 24 Jun 2006 23:31:45 +0000 (GMT) (envelope-from lou@titanium.Nuc.Berkeley.EDU) Received: from titanium.Nuc.Berkeley.EDU (localhost [127.0.0.1]) by titanium.Nuc.Berkeley.EDU (8.12.10/8.12.10) with ESMTP id k5ONQwEo025356; Sat, 24 Jun 2006 16:26:58 -0700 (PDT) Received: from localhost (lou@localhost) by titanium.Nuc.Berkeley.EDU (8.12.10/8.12.10/Submit) with ESMTP id k5ONQvLt025353; Sat, 24 Jun 2006 16:26:58 -0700 (PDT) Date: Sat, 24 Jun 2006 16:26:57 -0700 (PDT) From: Tak Pui Lou To: silby@silby.com, sos@freebsd.org, freebsd-stable@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: RE: Please watch for "bus_dmamem_alloc fail to align memory properly" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 23:31:49 -0000 Hi, I have a on my HP Special Edition L2000 which won't operate with WDMA2 mode even if I set the hw.ata.atapi_dma=1 in my /boot/loader.conf. I can change it to WDMA2 mode with atacontrol. I updated the src tree to 6-stable last night and recompiled. I found this "bus_dmamem_alloc fail to align memory properly.cd0 at ata1 bus 0 target 0 lun 0" I don't subscribe to the mailing list. So, please reply directly to me if you need any additional information about my machine. --- Lou From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 23:40:52 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CA7E16A504 for ; Sat, 24 Jun 2006 23:40:52 +0000 (UTC) (envelope-from pbowen@fastmail.fm) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B7243D46 for ; Sat, 24 Jun 2006 23:40:51 +0000 (GMT) (envelope-from pbowen@fastmail.fm) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 23D3ED85E54 for ; Sat, 24 Jun 2006 19:40:50 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by frontend3.internal (MEProxy); Sat, 24 Jun 2006 19:40:51 -0400 X-Sasl-enc: pZTFR8ZN1LoB/Rgknqie6BF99AgJKl26bVZxPEyEed3F 1151192451 Received: from [192.168.217.82] (unknown [12.167.136.2]) by mail.messagingengine.com (Postfix) with ESMTP id 0555B3441 for ; Sat, 24 Jun 2006 19:40:50 -0400 (EDT) Message-ID: <449DCD87.7040306@fastmail.fm> Date: Sat, 24 Jun 2006 18:40:55 -0500 From: Patrick Bowen User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <449862F4.7090207@fastmail.fm> <20060621000056.GA13097@cdnetworks.co.kr> <44989B07.6080404@fastmail.fm> <790a9fff0606221042y539804atd2e12594595163c2@mail.gmail.com> <449B3C90.405@fastmail.fm> In-Reply-To: <449B3C90.405@fastmail.fm> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: if_ndis for Marvell X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 23:40:52 -0000 Patrick Bowen wrote: > Scot Hetzel wrote: > >> On 6/20/06, Patrick Bowen wrote: >> >>> Pyun YongHyeon wrote: >>> >>> >On Tue, Jun 20, 2006 at 04:04:52PM -0500, Patrick Bowen wrote: >>> > > Hello: >>> > > >>> > > I have two questions. >>> > > >>> > > The first regards support for the Broadcom BCM94318 wireless LAN >>> > > adapter. When trying to compile the module for if_ndis using >>> bcmwl5.inf >>> > > and bcmwl5.sys, I get the following error; >>> > > >>> > > In file included from >>> > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:66: >>> > > @/sys/bus.h:461:23: device_if.h: No such file or directory >>> > > @/sys/bus.h:462:20: bus_if.h: No such file or directory >>> > > In file included from >>> > > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:75: >>> > > @/dev/pci/pcivar.h:165:20: pci_if.h: No such file or >>> directory >>> > > >>> > > Have these three files been removed from the source tree? >>> > > >>> Thanks! That takes care of the wired connection. Now all I have to >>> do is >>> get the wireless to work. >>> >>> Regarding the original subject line, the "ndis" was, of course, for the >>> Broadcom device. I tried a different .inf file after googling some more >>> (bcmwl5a.inf), and this time I was able to produce an if_ndis.ko >>> file. I >>> loaded both the ndis.ko and if_ndis.ko modules, but got nothing...zip, >>> zilch, zero. Nothing in dmesg, nothing in ifconfig...I must still be >>> doing something wrong... >>> >> >> Did you use ndisgen to build the NDIS bcmwl5_sys.ko kernel module from >> the windows driver? >> >> bcmwl5_sys.ko is what you need to load to get your wireless card to >> work with the NDIS module. >> >> Scot >> > > Here's an interesting data point. I used ndisgen on Windows drivers > from HP, and it produced module BCMWL5_SYS.ko. (my machine is a > Gateway MX6121). > > Unfortunately, after loading the module, the device didn't show up in > dmesg or ifconfig. Now I'm wondering if the card isn't ferschimmeled... > > Patrick > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > One last data point on this; I downloaded the R102320.EXE driver package from Dell (for the U.S.), ran ndisgen on the bcmwl5.inf/.sys files, and got a bcmwl5_sys.ko module that would load, but wouldn't associate. Just for grins, I also got the R90507.EXE package (non-U.S or Japan), built the module, which loads, and associates, and works just fine, thank you very much. As a matter of fact, I'm using it now. Remember, my laptop is a Gateway MX6121 with a Broadcom BCM94318 mini-PCI card. this is what I see for the card in dmesg; ndis0: mem 0xb8004000-0xb8005fff irq 17 at device 4.0 on pci6 ndis0: NDIS API version: 5.1 Go figure... Patrick