From owner-freebsd-current Sun Apr 7 0:15:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id 9E0D737B405; Sun, 7 Apr 2002 00:15:27 -0800 (PST) Received: from fwd10.sul.t-online.de by mailout04.sul.t-online.com with smtp id 16u7ov-0007yf-0A; Sun, 07 Apr 2002 10:14:41 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[80.131.114.164]) by fmrl10.sul.t-online.com with esmtp id 16u7oq-1ZjmlsC; Sun, 7 Apr 2002 10:14:36 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g378EWn4002360; Sun, 7 Apr 2002 10:14:36 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200204070814.g378EWn4002360@Magelan.Leidinger.net> Date: Sun, 7 Apr 2002 10:14:32 +0200 (CEST) From: Alexander Leidinger Subject: Re: usb lpt borked? To: julian@elischer.org Cc: scott_long@btc.adaptec.com, current@freebsd.org, joe@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 6 Apr, Julian Elischer wrote: > As I mentionned before.. usb printing worked fine for me with a December > kernel (and I think January) > in March it broke so that it printed, but crashed the machine at the final > close(). Now it hangs forever on teh initial open(). I had problems with earlier and later kernels too, but did you tried a Mar 12 kernel? It worked for me (HP Deskjet 895Cxi). > On Sat, 6 Apr 2002, Scott Long wrote: > >> On Sat, Apr 06, 2002 at 03:10:47PM +0200, Alexander Leidinger wrote: >> > On 6 Apr, Josef Karthauser wrote: >> > >> > [...] >> > >> > Go for it ("Tested by: netchild"), the system now doesn't hangs >> > anymore at shutdown. >> > >> > But now the printer hangs the system with: >> > usb_detach_wait: ulpt0 didn't detach >> > ulpt0: detached >> > when I turn it off (I tried if this fix also solved the ulpt problem, >> > even if the patch didn't looked so to me). >> >> Did usb printing work before this patch? USB printing has never worked >> for me, so when I developed this patch I didn't take it into consideration. Yes, see above. >> Joe, >> Given the number of 'me too' responses to the usb mouse problem, maybe >> you should check in this patch, and then track down the printing >> problems later. >> >> Scott Yes, this would be nice. Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 0:33:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from ns.plaut.de (ns.plaut.de [194.99.75.166]) by hub.freebsd.org (Postfix) with ESMTP id 1081A37B404 for ; Sun, 7 Apr 2002 00:33:48 -0800 (PST) Received: (from uucp@localhost) by ns.plaut.de (8.9.3/8.9.3) with UUCP id KAA59762 for current@FreeBSD.ORG; Sun, 7 Apr 2002 10:30:07 +0200 (CEST) (envelope-from root@nihil.plaut.de) Received: from localhost (root@localhost) by nihil.plaut.de (8.12.2/8.12.2) with ESMTP id g379VYDN000707 for ; Sun, 7 Apr 2002 11:31:37 +0200 (CEST) (envelope-from root@nihil.plaut.de) Date: Sun, 7 Apr 2002 11:31:34 +0200 (CEST) From: Michael Reifenberger To: FreeBSD-Current Subject: Re: usb lpt borked? In-Reply-To: <20020406162215.GA5003@hollin.btc.adaptec.com> Message-ID: <20020407113005.I673-100000@nihil> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 6 Apr 2002, Scott Long wrote: > > Go for it ("Tested by: netchild"), the system now doesn't hangs > > anymore at shutdown. Me too :-) > Given the number of 'me too' responses to the usb mouse problem, maybe > you should check in this patch, and then track down the printing > problems later. Yes please. Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 0:42:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailrelay.somewhere.net (islay.xs4all.nl [194.109.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 340FE37B416; Sun, 7 Apr 2002 00:42:00 -0800 (PST) Received: from mailhub. by mailrelay with ESMTP id g378fJp23965; Sun, 7 Apr 2002 10:41:19 +0200 (CEST) Received: from intranet by mailhub id g378fH176519; Sun, 7 Apr 2002 10:41:17 +0200 (CEST) Received: from intranet by amavis id g378fFQ76508; Sun, 7 Apr 2002 10:41:15 +0200 (CEST) Date: Sun, 7 Apr 2002 10:41:15 +0200 From: Jos Vissers To: Andrew Boothman Cc: Ian Logan , Nick Hibma , "raman@hello.to" , "stable@FreeBSD.ORG" , "current@FreeBSD.ORG" Subject: Re: Logitech iFeel Optical USB Mouse cannot be attached. Message-ID: <20020407104115.A96589@hoogehof.nl> References: <20011223124355.96775.qmail@web14003.mail.yahoo.com> <20020403125420.H398-100000@heather.van-laarhoven.org> <20020403175843.GB14447@geddy.nmsu.edu> <3CABA38F.2070007@cream.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CABA38F.2070007@cream.org>; from andrew@cream.org on Thu, Apr 04, 2002 at 01:51:27AM +0100 X-Operating-System: FreeBSD 4.5-RELEASE-p2 X-Virus-Scanned: by AMaViS perl-11 HH Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Apr 04, 2002 at 01:51:27AM +0100, Andrew Boothman wrote: > Ian Logan wrote: > > I've got an iFeel at home, plugged directly into the machine. Gives the > > exact same error. At one point last summer I started trying to look into > > it, and from what I saw in the code and what I remember it looked like > > some sort of timeout was happening while trying to talk to the mouse. > > I'll see if I can find my notes on it, or reproduce it. > > Maybe that will help someone smarter than me figure it out, if not > > sorry for the "me too". > > Sorry for this second generation "me too", but I have an iFeel Mouseman > which works completely perfectly here. > > It plugs directly into an AMD-756 OHCI USB Controller Root Hub. I have found that the iFeel Mouse does indeed work with an OHCI controller but not with a UHCI controller. I have only got one mainbord with an OHCI controller so I cannot generalise this. Jos -- Jos Vissers Veldsestraat 5 6617 AA Bergharen The Netherlands +31 487 531 521 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 0:48:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx2.datanet.hu (mx2.datanet.hu [194.149.13.163]) by hub.freebsd.org (Postfix) with ESMTP id 76B4137B405 for ; Sun, 7 Apr 2002 00:48:48 -0800 (PST) Received: from fonix.adamsfamily.xx (nilus-235.adsl.datanet.hu [195.56.48.235]) by mx2.datanet.hu (DataNet) with ESMTP id A8D645B93 for ; Sun, 7 Apr 2002 10:48:42 +0200 (CEST) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.2/8.12.2) with ESMTP id g378mqS9000720 for ; Sun, 7 Apr 2002 10:48:52 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.2/8.12.2/Submit) id g378mpUu000719 for current@FreeBSD.ORG; Sun, 7 Apr 2002 10:48:52 +0200 (CEST) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Sun, 7 Apr 2002 10:48:49 +0200 From: Szilveszter Adam To: current@FreeBSD.ORG Subject: Re: Initiate de-orbit burn for ? Message-ID: <20020407084848.GA539@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , current@FreeBSD.ORG References: <20020407025136.GD41627@lizzy.catnook.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407025136.GD41627@lizzy.catnook.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, On Sat, Apr 06, 2002 at 06:51:14PM -0800, Jos Backus wrote: > One problem with ports is that configure will cause to be used if > it exists in /usr/include (net/rsync being the latest example), causing an > annoying warning. So why not remove /usr/include/malloc.h, and patch those > ports/programs that still use it to use instead? In my opinion this situation only happens on -STABLE right now, since a properly written configure script not just test for the header's existence, but also tries to use it in a small example program. On -STABLE this works (with a warning as you say) but on -CURRENT no longer. So, configure scripts should detect that condition and act accordingly. (And most that I have seen do) With that said, ports are already being patched for this problem (because some hard-code the use of malloc.h) so this should be less of a problem by the time 5.0 hits the streets. -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 1:14:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 07ED737B41F for ; Sun, 7 Apr 2002 01:14:41 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id 254305B9; Sun, 7 Apr 2002 10:13:36 +0100 (BST) Date: Sun, 7 Apr 2002 10:13:35 +0100 From: Josef Karthauser To: current@freebsd.org Subject: Kernel debugging - what's the procedure? Message-ID: <20020407091335.GA697@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline What's the current method for debugging kernels? genius# gdb -k /usr/obj/usr/src/sys/GENIUS/kernel.debug 5d079ab35c111057dbbf8f242940bbad.core GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... IdlePTD at phsyical address 0x004b1000 kernel symbol `dumppcb' not found. Attaching to program: /usr/obj/usr/src/sys/GENIUS/kernel.debug, process 5 ptrace: Invalid argument. (kgdb) quit Is this something I'm doing wrong, or it is a bug somewhere? What's 'dumppcb'? Joe --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjywDb4ACgkQXVIcjOaxUBZnbQCgy+uOwAw9RKS1VpLVOPCuNFzT 5uwAoKXm7P7rZBlMx9KH38CEoWG1skeW =6+Zl -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 1:48:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from a96180.upc-a.chello.nl (a96180.upc-a.chello.nl [62.163.96.180]) by hub.freebsd.org (Postfix) with ESMTP id 8A26D37B405; Sun, 7 Apr 2002 01:48:21 -0800 (PST) Received: by a96180.upc-a.chello.nl (Postfix, from userid 1001) id F3C702170; Sun, 7 Apr 2002 11:48:15 +0200 (CEST) Date: Sun, 7 Apr 2002 11:48:15 +0200 From: Jeroen Ruigrok/asmodai To: "Andrey A. Chernov" Cc: cvs-committers@FreeBSD.org, current@FreeBSD.org, des@ofug.org, markm@FreeBSD.org Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407094815.GC93352@daemon.ninth-circle.org> References: <20020407045220.GB62669@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407045220.GB62669@nagual.pp.ru> User-Agent: Mutt/1.3.28i Organisation: Ninth Circle Enterprises Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -On [20020407 07:00], Andrey A. Chernov (ache@nagual.pp.ru) wrote: >So, I plan to remove all vestiges of NetBSD sort and ask to restore GNU >sort from the Attic. Reasons are: Better option: 1) leave NetBSD sort 2) unhook from build 3) add GNU sort back for now 4) fix up NetBSD sort That you are unable doesn't mean others are unable as well. :) -- Jeroen Ruigrok van der Werven / asmodai / Kita no Mono asmodai@[wxs.nl|xmach.org], finger asmodai@ninth-circle.org http://www.softweyr.com/asmodai/ | http://www.[tendra|xmach].org/ Resolve to find thyself; and to know that he who finds himself, loses his misery... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 1:58:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 4C06937B420; Sun, 7 Apr 2002 01:58:02 -0800 (PST) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g379vux7064747; Sun, 7 Apr 2002 13:57:59 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g379vtos064746; Sun, 7 Apr 2002 13:57:56 +0400 (MSD) Date: Sun, 7 Apr 2002 13:57:55 +0400 From: "Andrey A. Chernov" To: Jeroen Ruigrok/asmodai Cc: cvs-committers@FreeBSD.org, current@FreeBSD.org, des@ofug.org, markm@FreeBSD.org Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407095754.GA64692@nagual.pp.ru> References: <20020407045220.GB62669@nagual.pp.ru> <20020407094815.GC93352@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407094815.GC93352@daemon.ninth-circle.org> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 11:48:15 +0200, Jeroen Ruigrok/asmodai wrote: > -On [20020407 07:00], Andrey A. Chernov (ache@nagual.pp.ru) wrote: > >So, I plan to remove all vestiges of NetBSD sort and ask to restore GNU > >sort from the Attic. Reasons are: > > Better option: > > 1) leave NetBSD sort > 2) unhook from build > 3) add GNU sort back for now It is not better but the same as mine. I don't plan to remove inactive contrib stuff. > 4) fix up NetBSD sort > > That you are unable doesn't mean others are unable as well. :) In theory, yes, but in practice I sure that nobody ever can fix it without total code flow redesign. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 3:13:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from a96180.upc-a.chello.nl (a96180.upc-a.chello.nl [62.163.96.180]) by hub.freebsd.org (Postfix) with ESMTP id D19B237B405; Sun, 7 Apr 2002 03:13:52 -0700 (PDT) Received: by a96180.upc-a.chello.nl (Postfix, from userid 1001) id 1AFF42170; Sun, 7 Apr 2002 12:13:51 +0200 (CEST) Date: Sun, 7 Apr 2002 12:13:50 +0200 From: Jeroen Ruigrok/asmodai To: "Andrey A. Chernov" Cc: cvs-committers@FreeBSD.org, current@FreeBSD.org, des@ofug.org, markm@FreeBSD.org Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407101350.GD93352@daemon.ninth-circle.org> References: <20020407045220.GB62669@nagual.pp.ru> <20020407094815.GC93352@daemon.ninth-circle.org> <20020407095754.GA64692@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407095754.GA64692@nagual.pp.ru> User-Agent: Mutt/1.3.28i Organisation: Ninth Circle Enterprises Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -On [20020407 12:00], Andrey A. Chernov (ache@nagual.pp.ru) wrote: >On Sun, Apr 07, 2002 at 11:48:15 +0200, Jeroen Ruigrok/asmodai wrote: >> -On [20020407 07:00], Andrey A. Chernov (ache@nagual.pp.ru) wrote: >> >So, I plan to remove all vestiges of NetBSD sort and ask to restore GNU >> >sort from the Attic. Reasons are: >> >> Better option: >> >> 1) leave NetBSD sort >> 2) unhook from build >> 3) add GNU sort back for now > >It is not better but the same as mine. I don't plan to remove inactive >contrib stuff. That was not what you said in your initial suggestion: ``I plan to remove all vestiges of NetBSD sort'', that really sounds, to me, as if you were going to cvs rm it. So, to get it clear, it will remain in contrib? -- Jeroen Ruigrok van der Werven / asmodai / Kita no Mono asmodai@[wxs.nl|xmach.org], finger asmodai@ninth-circle.org http://www.softweyr.com/asmodai/ | http://www.[tendra|xmach].org/ And I'm learning the highs and lows of the fake promises... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 3:20:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 0CF2B37B400 for ; Sun, 7 Apr 2002 03:20:48 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id B506C1E9; Sun, 7 Apr 2002 11:19:43 +0100 (BST) Date: Sun, 7 Apr 2002 10:13:35 +0100 From: Josef Karthauser To: current@freebsd.org Subject: Kernel debugging - what's the procedure? Message-ID: <20020407091335.GA697@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline What's the current method for debugging kernels? genius# gdb -k /usr/obj/usr/src/sys/GENIUS/kernel.debug 5d079ab35c111057dbbf8f242940bbad.core GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... IdlePTD at phsyical address 0x004b1000 kernel symbol `dumppcb' not found. Attaching to program: /usr/obj/usr/src/sys/GENIUS/kernel.debug, process 5 ptrace: Invalid argument. (kgdb) quit Is this something I'm doing wrong, or it is a bug somewhere? What's 'dumppcb'? Joe --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjywDb4ACgkQXVIcjOaxUBZnbQCgy+uOwAw9RKS1VpLVOPCuNFzT 5uwAoKXm7P7rZBlMx9KH38CEoWG1skeW =6+Zl -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 3:22:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 0C1A037B404; Sun, 7 Apr 2002 03:22:13 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g37AM9x7064992; Sun, 7 Apr 2002 14:22:11 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g37AM90J064991; Sun, 7 Apr 2002 14:22:09 +0400 (MSD) Date: Sun, 7 Apr 2002 14:22:08 +0400 From: "Andrey A. Chernov" To: Jeroen Ruigrok/asmodai Cc: cvs-committers@FreeBSD.org, current@FreeBSD.org, des@ofug.org, markm@FreeBSD.org Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407102208.GA64942@nagual.pp.ru> References: <20020407045220.GB62669@nagual.pp.ru> <20020407094815.GC93352@daemon.ninth-circle.org> <20020407095754.GA64692@nagual.pp.ru> <20020407101350.GD93352@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407101350.GD93352@daemon.ninth-circle.org> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 12:13:50 +0200, Jeroen Ruigrok/asmodai wrote: > >It is not better but the same as mine. I don't plan to remove inactive > >contrib stuff. > > That was not what you said in your initial suggestion: > > ``I plan to remove all vestiges of NetBSD sort'', that really sounds, to me, > as if you were going to cvs rm it. > > So, to get it clear, it will remain in contrib? Sorry if I was unclear, I mean functionality. Yes, it will remains in the contrib, if somebody needs it, I am not picky about inactive stuff. If you notice my second (after give up) message, I even suggest to install it under different name, if someone wants it. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 3:30:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id 9232D37B432 for ; Sun, 7 Apr 2002 03:30:08 -0700 (PDT) Received: from pool0107.cvx22-bradley.dialup.earthlink.net ([209.179.198.107] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16u9vy-00029C-00; Sun, 07 Apr 2002 03:30:06 -0700 Message-ID: <3CB01F95.ACCDAA82@mindspring.com> Date: Sun, 07 Apr 2002 03:29:41 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Josef Karthauser Cc: current@freebsd.org Subject: Re: Kernel debugging - what's the procedure? References: <20020407091335.GA697@genius.tao.org.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Josef Karthauser wrote: > What's the current method for debugging kernels? > > genius# gdb -k /usr/obj/usr/src/sys/GENIUS/kernel.debug Running kernels? You use another machine, and connect the serial ports together. See the handbook for details. If this is against a dead kernel, etiher your dump image is bad, or it doesn't match the kernel that made the dump. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 3:44:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from treetop.robbins.dropbear.id.au (170.d.003.mel.iprimus.net.au [210.50.34.170]) by hub.freebsd.org (Postfix) with ESMTP id 409AE37B41D for ; Sun, 7 Apr 2002 03:44:12 -0700 (PDT) Received: from treetop.robbins.dropbear.id.au (localhost [127.0.0.1]) by treetop.robbins.dropbear.id.au (8.12.2/8.12.2) with ESMTP id g37AeFSu020715; Sun, 7 Apr 2002 20:40:15 +1000 (EST) (envelope-from tim@treetop.robbins.dropbear.id.au) Received: (from tim@localhost) by treetop.robbins.dropbear.id.au (8.12.2/8.12.2/Submit) id g37AeDe7020714; Sun, 7 Apr 2002 20:40:13 +1000 (EST) Date: Sun, 7 Apr 2002 20:40:13 +1000 From: "Tim J. Robbins" To: freebsd-current@FreeBSD.ORG Cc: "Andrey A. Chernov" Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407204013.A20639@treetop.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Here is a patch to make NetBSD's sort(1) sort by the locale's collating order. The table should not be called ascii[] anymore, but I can't think of a better one, and supplying a patch to change the name would be pointless. It works. It assumes the string strxfrm() outputs is the same length as its input, which is always possible, and true on FreeBSD. $ env LC_COLLATE=fr_FR.ISO8859-1 sort +#include #include static void insertcol __P((struct field *)); @@ -291,8 +292,7 @@ * Note: when sorting in forward order, to encode character zero in a key, * use \001\001; character 1 becomes \001\002. In this case, character 0 * is reserved for the field delimiter. Analagously for -r (fld_d = 255). - * Note: this is only good for ASCII sorting. For different LC 's, - * all bets are off. See also num_init in number.c + * See also num_init in number.c */ void settables(gflags) @@ -300,8 +300,20 @@ { u_char *wts; int i, incr; + static int warned; + char abuf[2], xbuf[8]; + + abuf[1] = '\0'; for (i=0; i < 256; i++) { - ascii[i] = i; + if (i != 0) { + *abuf = i; + if (strxfrm(xbuf, abuf, sizeof(xbuf)) > 1 && !warned) { + warnx("collating order too complicated"); + warned = 1; + } + ascii[i] = *xbuf; + } else + ascii[i] = 0; if (i > REC_D && i < 255 - REC_D+1) Rascii[i] = 255 - i + 1; else To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 3:55:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 98BBA37B417 for ; Sun, 7 Apr 2002 03:55:41 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g37Atcx7065228; Sun, 7 Apr 2002 14:55:40 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g37AtcGX065227; Sun, 7 Apr 2002 14:55:38 +0400 (MSD) Date: Sun, 7 Apr 2002 14:55:37 +0400 From: "Andrey A. Chernov" To: "Tim J. Robbins" Cc: freebsd-current@FreeBSD.ORG Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407105537.GA65170@nagual.pp.ru> References: <20020407204013.A20639@treetop.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407204013.A20639@treetop.robbins.dropbear.id.au> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 20:40:13 +1000, Tim J. Robbins wrote: > > It works. It assumes the string strxfrm() outputs is the same length as > its input, which is always possible, and true on FreeBSD. It seems you try follow the same path as me :-) No, it not works since breaks so many other places. Please run some tests before posting the first idea comes into mind. I suggest following test first: none,-r,-f,-n combination for all FreeBSD locales compared to GNU sort. The next test is -R option in 0.255 range for all locales. Before you end up building correct tables for ascii,Rascii,Ftable,RFtable, I can inform you that correct tables for them breaks -n badly. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 4: 1:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id A637A37B48D for ; Sun, 7 Apr 2002 04:01:03 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id F3AF05BD; Sun, 7 Apr 2002 11:59:59 +0100 (BST) Date: Sun, 7 Apr 2002 11:59:59 +0100 From: Josef Karthauser To: Terry Lambert Cc: current@freebsd.org Subject: Re: Kernel debugging - what's the procedure? Message-ID: <20020407105959.GA14407@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Terry Lambert , current@freebsd.org References: <20020407091335.GA697@genius.tao.org.uk> <3CB01F95.ACCDAA82@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <3CB01F95.ACCDAA82@mindspring.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 07, 2002 at 03:29:41AM -0700, Terry Lambert wrote: > Josef Karthauser wrote: > > What's the current method for debugging kernels? > >=20 > > genius# gdb -k /usr/obj/usr/src/sys/GENIUS/kernel.debug=20 > Running kernels? >=20 > You use another machine, and connect the serial ports together. > See the handbook for details. I'd love to ;) but no additional machine is available at the moment. =20 > If this is against a dead kernel, etiher your dump image is > bad, or it doesn't match the kernel that made the dump. That's what I'd guess too, but the kernel that crashed is the same as the kernel that I'm debugging it on - I'm pretty sure: compiled today. Joe --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjywJq8ACgkQXVIcjOaxUBaZVACghPajX1pRBFrz4bJWS4WNG3iB Q6kAoOsi27LXFDvjwuifDN7+nh1OTngc =NyLA -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 4:20:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 9B72437B416 for ; Sun, 7 Apr 2002 04:19:53 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g37BJnx7065418; Sun, 7 Apr 2002 15:19:52 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g37BJmXU065417; Sun, 7 Apr 2002 15:19:48 +0400 (MSD) Date: Sun, 7 Apr 2002 15:19:47 +0400 From: "Andrey A. Chernov" To: "Tim J. Robbins" Cc: freebsd-current@FreeBSD.ORG Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407111947.GA65367@nagual.pp.ru> References: <20020407204013.A20639@treetop.robbins.dropbear.id.au> <20020407105537.GA65170@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407105537.GA65170@nagual.pp.ru> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 14:55:37 +0400, Andrey A. Chernov wrote: > > Before you end up building correct tables for ascii,Rascii,Ftable,RFtable, > I can inform you that correct tables for them breaks -n badly. I can additionly notice that building correct tables for Ftable and RFtable is especially hard because conflicts appearse due to duplicated lower->upper characters ranges and must be resolved by additional shifting from REC_D to unknown direction which may be not possible as single pass (i.e. not overwriting REC_D again) operation for given locale. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 4:20:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com [216.136.174.114]) by hub.freebsd.org (Postfix) with SMTP id 6E73E37B400 for ; Sun, 7 Apr 2002 04:19:59 -0700 (PDT) Received: from p60-max7.adl.ihug.com.au (HELO nightshade) (chrisvdp74656@203.173.186.60 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 7 Apr 2002 11:19:57 -0000 Message-ID: <004e01c1de26$27138a00$fa00a8c0@nightshade> From: "Chris van der Pennen" To: "freebsd-current list" Subject: [ot] Quick mailer question Date: Sun, 7 Apr 2002 20:49:52 +0930 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What mail client are you using that creates emails that have two attachments in OE, a .txt file which is the body and a DAT file? Yeah I know, OE sux, I'm getting a better client soon. Chris _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 4:22: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by hub.freebsd.org (Postfix) with SMTP id 0316337B423 for ; Sun, 7 Apr 2002 04:21:21 -0700 (PDT) Received: from p60-max7.adl.ihug.com.au (HELO nightshade) (chrisvdp74656@203.173.186.60 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 7 Apr 2002 11:21:18 -0000 Message-ID: <004f01c1de26$57df9ac0$fa00a8c0@nightshade> From: "Chris van der Pennen" To: "freebsd-current list" Subject: Regarding linux binary compatibility... Date: Sun, 7 Apr 2002 20:51:13 +0930 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ...can I simply mount my linux partition and point it to the Linux drive's /lib, /usr/lib, etc.? If so, can you give me a brief overview of the pointing-to part? Thanks. Chris _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 4:31:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 2BDAA37B41A for ; Sun, 7 Apr 2002 04:31:47 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g37BVkYm013293; Sun, 7 Apr 2002 04:31:46 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g37BUV1F013174; Sun, 7 Apr 2002 04:30:31 -0700 (PDT) Date: Sun, 7 Apr 2002 04:30:31 -0700 From: "David O'Brien" To: "Andrey A. Chernov" Cc: "Tim J. Robbins" , freebsd-current@FreeBSD.ORG Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407043031.A12693@dragon.nuxi.com> Reply-To: "Andrey A. Chernov" , "Tim J. Robbins" , freebsd-current@FreeBSD.ORG Mail-Followup-To: "Andrey A. Chernov" , "Tim J. Robbins" , freebsd-current@FreeBSD.ORG References: <20020407204013.A20639@treetop.robbins.dropbear.id.au> <20020407105537.GA65170@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020407105537.GA65170@nagual.pp.ru>; from ache@nagual.pp.ru on Sun, Apr 07, 2002 at 02:55:37PM +0400 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 02:55:37PM +0400, Andrey A. Chernov wrote: > I suggest following test first: > none,-r,-f,-n combination for all FreeBSD locales compared to GNU sort. > > The next test is -R option in 0.255 range for all locales. Perhaps you could make a test suite and commit to [gnu/]usr.bin/sort/testsuite ? Try: cd /usr/src/usr.bin/bzip2 ; make all test This way one would know when you would be happy with a GNU sort replacement. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 4:33:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id E6C0E37B400 for ; Sun, 7 Apr 2002 04:33:08 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g37BX7Ym013429; Sun, 7 Apr 2002 04:33:07 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g37BVpUc013311; Sun, 7 Apr 2002 04:31:51 -0700 (PDT) Date: Sun, 7 Apr 2002 04:31:51 -0700 From: "David O'Brien" To: Josef Karthauser Cc: current@freebsd.org Subject: Re: Kernel debugging - what's the procedure? Message-ID: <20020407043151.B12693@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20020407091335.GA697@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020407091335.GA697@genius.tao.org.uk>; from joe@tao.org.uk on Sun, Apr 07, 2002 at 10:13:35AM +0100 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 10:13:35AM +0100, Josef Karthauser wrote: > What's the current method for debugging kernels? > > genius# gdb -k /usr/obj/usr/src/sys/GENIUS/kernel.debug 5d079ab35c111057dbbf8f242940bbad.core ... > > kernel symbol `dumppcb' not found. > Attaching to program: /usr/obj/usr/src/sys/GENIUS/kernel.debug, process 5 > > ptrace: Invalid argument. > (kgdb) quit You also did not read in the core file. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 4:34:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 6874B37B405 for ; Sun, 7 Apr 2002 04:34:52 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g37BYnx7065622; Sun, 7 Apr 2002 15:34:51 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g37BYnwf065621; Sun, 7 Apr 2002 15:34:49 +0400 (MSD) Date: Sun, 7 Apr 2002 15:34:48 +0400 From: "Andrey A. Chernov" To: "Tim J. Robbins" , freebsd-current@FreeBSD.ORG Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407113448.GA65563@nagual.pp.ru> References: <20020407204013.A20639@treetop.robbins.dropbear.id.au> <20020407105537.GA65170@nagual.pp.ru> <20020407043031.A12693@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407043031.A12693@dragon.nuxi.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 04:30:31 -0700, David O'Brien wrote: > On Sun, Apr 07, 2002 at 02:55:37PM +0400, Andrey A. Chernov wrote: > > I suggest following test first: > > none,-r,-f,-n combination for all FreeBSD locales compared to GNU sort. > > > > The next test is -R option in 0.255 range for all locales. > > Perhaps you could make a test suite and commit to > [gnu/]usr.bin/sort/testsuite ? > Yes, after GNU sort will be restored. I already send request to cvs@ -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 4:57:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from treetop.robbins.dropbear.id.au (170.d.003.mel.iprimus.net.au [210.50.34.170]) by hub.freebsd.org (Postfix) with ESMTP id 3DE6D37B400 for ; Sun, 7 Apr 2002 04:57:05 -0700 (PDT) Received: from treetop.robbins.dropbear.id.au (localhost [127.0.0.1]) by treetop.robbins.dropbear.id.au (8.12.2/8.12.2) with ESMTP id g37BnkSu021119; Sun, 7 Apr 2002 21:49:46 +1000 (EST) (envelope-from tim@treetop.robbins.dropbear.id.au) Received: (from tim@localhost) by treetop.robbins.dropbear.id.au (8.12.2/8.12.2/Submit) id g37Bni1a021118; Sun, 7 Apr 2002 21:49:44 +1000 (EST) Date: Sun, 7 Apr 2002 21:49:44 +1000 From: "Tim J. Robbins" To: "Andrey A. Chernov" Cc: freebsd-current@FreeBSD.ORG Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407214944.A20857@treetop.robbins.dropbear.id.au> References: <20020407204013.A20639@treetop.robbins.dropbear.id.au> <20020407105537.GA65170@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020407105537.GA65170@nagual.pp.ru>; from ache@nagual.pp.ru on Sun, Apr 07, 2002 at 02:55:37PM +0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 02:55:37PM +0400, Andrey A. Chernov wrote: > No, it not works since breaks so many other places. I guess I have to agree with you there, that it does break -n and -f and does not handle (for example) German correctly. I still do believe that a similar approach could correctly handle all the ISO8859 character sets, only it's not as simple as it seems. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 5: 2:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.demos.su (relay1.demos.su [194.87.0.16]) by hub.freebsd.org (Postfix) with ESMTP id B64ED37B41A; Sun, 7 Apr 2002 05:02:13 -0700 (PDT) Received: from [194.87.5.172] (HELO mitya.mitya.static.dol.ru) by mail.demos.su (CommuniGate Pro SMTP 3.5.7/D) with ESMTP-TLS id 19185581; Sun, 07 Apr 2002 16:02:10 +0400 Received: (from mitya@localhost) by mitya.mitya.static.dol.ru (8.11.6/8.11.6) id g37C0KV00829; Sun, 7 Apr 2002 16:00:20 +0400 (MSD) (envelope-from mitya) Date: Sun, 7 Apr 2002 16:00:19 +0400 From: Dmitry Sivachenko To: "Andrey A. Chernov" Cc: cvs-committers@FreeBSD.org, current@FreeBSD.org, des@ofug.org, markm@FreeBSD.org Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407120019.GB286@mitya.mitya.static.dol.ru> References: <20020407045220.GB62669@nagual.pp.ru> <20020407060008.GA63262@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20020407060008.GA63262@nagual.pp.ru> User-Agent: Mutt/1.3.27i WWW-Home-Page: http://mitya.pp.ru/ X-PGP-Key: http://mitya.pp.ru/mitya.asc Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 10:00:08AM +0400, Andrey A. Chernov wrote: > On Sun, Apr 07, 2002 at 08:52:21 +0400, Andrey A. Chernov wrote: > > It is sad news, but I try to do my best to l10n NetBSD sort in vain, it is > > tied to ASCII so closely so it is almost impossible to handle all possible > > cases without imbedding AI code far bigger then whole sort. > > > > So, I plan to remove all vestiges of NetBSD sort and ask to restore GNU > > sort from the Attic. Reasons are: > > For people who needs exact NetBSD sort functionality and don't needs l10n > (if they exists) NetBSD sort can be installed under different name like > "ascii_sort" or "bsort". > ... and from ports. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 5:10:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 6299A37B400 for ; Sun, 7 Apr 2002 05:10:37 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g37CAXx7066061; Sun, 7 Apr 2002 16:10:35 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g37CAWdb066060; Sun, 7 Apr 2002 16:10:32 +0400 (MSD) Date: Sun, 7 Apr 2002 16:10:32 +0400 From: "Andrey A. Chernov" To: "Tim J. Robbins" Cc: freebsd-current@FreeBSD.ORG Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407121031.GA65858@nagual.pp.ru> References: <20020407204013.A20639@treetop.robbins.dropbear.id.au> <20020407105537.GA65170@nagual.pp.ru> <20020407214944.A20857@treetop.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407214944.A20857@treetop.robbins.dropbear.id.au> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 21:49:44 +1000, Tim J. Robbins wrote: > On Sun, Apr 07, 2002 at 02:55:37PM +0400, Andrey A. Chernov wrote: > > > No, it not works since breaks so many other places. > > I guess I have to agree with you there, that it does break -n and -f and does > not handle (for example) German correctly. I still do believe that a similar > approach could correctly handle all the ISO8859 character sets, only it's not > as simple as it seems. I think so too, initially. I even have correct ascii,Rascii,Ftable,RFtable,gweights tables in my last committed variant (but not for various -R). Nope. -n broke them all because it hardcoded to ASCII but sorted in the modified (collated) order.. Back permutation table not helps because of different forms of main (collated) order corresponding to -r -f flags. Via some hacking I even made variant without -R works for -n too, but it not means it will not be broken for any future locale we can have. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 5:15:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id BF58337B416 for ; Sun, 7 Apr 2002 05:15:36 -0700 (PDT) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g37CFXu65947; Sun, 7 Apr 2002 08:15:33 -0400 (EDT) (envelope-from mwlucas) Date: Sun, 7 Apr 2002 08:15:33 -0400 From: Michael Lucas To: Chris van der Pennen Cc: freebsd-current list Subject: Re: Regarding linux binary compatibility... Message-ID: <20020407081533.A65818@blackhelicopters.org> References: <004f01c1de26$57df9ac0$fa00a8c0@nightshade> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <004f01c1de26$57df9ac0$fa00a8c0@nightshade>; from chrisvdp74656@yahoo.com.au on Sun, Apr 07, 2002 at 08:51:13PM +0930 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 08:51:13PM +0930, Chris van der Pennen wrote: > ...can I simply mount my linux partition and point it to the Linux drive's > /lib, /usr/lib, etc.? > > If so, can you give me a brief overview of the pointing-to part? I have an article on exactly this on O'Reilly: http://www.onlamp.com/pub/a/bsd/2000/11/16/Big_Scary_Daemons.html Short answer: yes, with some hoops to jump through. ==ml -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 5:55:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id D144837B400; Sun, 7 Apr 2002 05:55:11 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id D95BF530A; Sun, 7 Apr 2002 14:55:05 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Andrey A. Chernov" Cc: cvs-committers@FreeBSD.org, current@FreeBSD.org, markm@FreeBSD.org Subject: Re: NetBSD sort l10n: I give up! References: <20020407045220.GB62669@nagual.pp.ru> From: Dag-Erling Smorgrav Date: 07 Apr 2002 14:55:05 +0200 In-Reply-To: <20020407045220.GB62669@nagual.pp.ru> Message-ID: Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Andrey A. Chernov" writes: > So, I plan to remove all vestiges of NetBSD sort and ask to restore GNU > sort from the Attic. Fair enough. I don't care as long as it sorts right. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 6: 2:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 8CB7F37B400; Sun, 7 Apr 2002 06:02:36 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id AF3645309; Sun, 7 Apr 2002 15:02:34 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Andrey A. Chernov" Cc: cvs-committers@FreeBSD.org, current@FreeBSD.org, markm@FreeBSD.org Subject: Re: NetBSD sort l10n: I give up! References: <20020407045220.GB62669@nagual.pp.ru> From: Dag-Erling Smorgrav Date: 07 Apr 2002 15:02:33 +0200 In-Reply-To: Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav writes: > "Andrey A. Chernov" writes: > > So, I plan to remove all vestiges of NetBSD sort and ask to restore GNU > > sort from the Attic. > Fair enough. I don't care as long as it sorts right. I must apologize for reacting the way I did, BTW. I shouldn't have made those commits; I realize now that I was acting in anger and with prejudice, which is never a good frame of mind for doing FreeBSD work. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 6:32:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from a96180.upc-a.chello.nl (a96180.upc-a.chello.nl [62.163.96.180]) by hub.freebsd.org (Postfix) with ESMTP id 3E2F637B41C; Sun, 7 Apr 2002 06:32:20 -0700 (PDT) Received: by a96180.upc-a.chello.nl (Postfix, from userid 1001) id 12EC82154; Sun, 7 Apr 2002 15:32:18 +0200 (CEST) Date: Sun, 7 Apr 2002 15:32:18 +0200 From: Jeroen Ruigrok/asmodai To: "Andrey A. Chernov" Cc: cvs-committers@FreeBSD.org, current@FreeBSD.org Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407133218.GG93352@daemon.ninth-circle.org> References: <20020407045220.GB62669@nagual.pp.ru> <20020407094815.GC93352@daemon.ninth-circle.org> <20020407095754.GA64692@nagual.pp.ru> <20020407101350.GD93352@daemon.ninth-circle.org> <20020407102208.GA64942@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407102208.GA64942@nagual.pp.ru> User-Agent: Mutt/1.3.28i Organisation: Ninth Circle Enterprises Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -On [20020407 12:30], Andrey A. Chernov (ache@nagual.pp.ru) wrote: >Sorry if I was unclear, I mean functionality. Yes, it will remains in the >contrib, if somebody needs it, I am not picky about inactive stuff. If you >notice my second (after give up) message, I even suggest to install it >under different name, if someone wants it. Tim J Robbins whipped up some code which seems to take us to the same level as GNU sort, as far as we could see. As present the GNU sort we have doesn't seem to be able to handle multibyte and/or shift states, does it? As far as he and I could see it was only 8-bit limited. And his work gives that to the NetBSD sort as well. -- Jeroen Ruigrok van der Werven / asmodai / Kita no Mono asmodai@[wxs.nl|xmach.org], finger asmodai@ninth-circle.org http://www.softweyr.com/asmodai/ | http://www.[tendra|xmach].org/ Life can only be understood backwards, but it must be lived forwards... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 9:20:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 2455037B400; Sun, 7 Apr 2002 09:20:40 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g37GKUx87505; Sun, 7 Apr 2002 19:20:30 +0300 (EEST) (envelope-from ru) Date: Sun, 7 Apr 2002 19:20:30 +0300 From: Ruslan Ermilov To: "David E. O'Brien" Cc: current@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/cc/cc1 Makefile src/gnu/usr.bin/cc/cc1obj Makefile src/gnu/usr.bin/cc/cc1plus Makefile Message-ID: <20020407162030.GD67968@sunbay.com> References: <200204040026.g340QLB32622@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eheScQNz3K90DVRs" Content-Disposition: inline In-Reply-To: <200204040026.g340QLB32622@freefall.freebsd.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --eheScQNz3K90DVRs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 03, 2002 at 04:26:21PM -0800, David E. O'Brien wrote: > obrien 2002/04/03 16:26:21 PST >=20 > Modified files: > gnu/usr.bin/cc/cc1 Makefile=20 > gnu/usr.bin/cc/cc1obj Makefile=20 > gnu/usr.bin/cc/cc1plus Makefile=20 > Log: > Clean up the YACCing. I don't know why we cannot leave the .y's as .y'= s. > So lets see if doing so causes anyone trouble. > Also use make(1)'s assistance in using the right file. It knows the > dependency, so lets just ask it. > =20 > Revision Changes Path > 1.20 +3 -5 src/gnu/usr.bin/cc/cc1/Makefile > 1.14 +2 -4 src/gnu/usr.bin/cc/cc1obj/Makefile > 1.23 +2 -2 src/gnu/usr.bin/cc/cc1plus/Makefile >=20 Yes it does cause trouble. %%% c-parse.c c-parse.h: c-parse.in sed -e "/^ifobjc$$/,/^end ifobjc$$/d" \ -e "/^ifc$$/d" -e "/^end ifc$$/d" \ - ${GCCDIR}/c-parse.in > c-parse.y + ${.ALLSRC} > c-parse.y ${YACC} -d -o c-parse.c c-parse.y - mv c-parse.y c-parse.y.out %%% c-parse.c depends on c-parse.y (due to the standard .y.c: rule) and ${.ALLSRC} becomes "c-parse.in c-parse.y" in this case. If c-parse.y already exists but is stale, this results in sed(1) flooding your entire ${.OBJDIR} disk with c-parse.c. This created a 3G file on my machine that had the time set incorrectly. Here's the how-to-repeat: : # pwd : /usr/src/gnu/usr.bin/cc/cc1 : # make cleandir : # make cleandir : rm -f c-parse.c c-parse.h c-parse.y cc1 c-parse.o c-lang.o c-decl.o c-lex= .o : rm -f .depend /usr/src/gnu/usr.bin/cc/cc1/GPATH /usr/src/gnu/usr.bin/cc/cc : 1/GRTAGS /usr/src/gnu/usr.bin/cc/cc1/GSYMS /usr/src/gnu/usr.bin/cc/cc1/GT : AGS : # touch c-parse.y : # make -n c-parse.c : sed -e "/^ifobjc$/,/^end ifobjc$/d" -e "/^ifc$/d" -e "/^end ifc$/d" /u= sr/src/gn : u/usr.bin/cc/cc1/../../../../contrib/gcc.295/c-parse.in c-parse.y > c-par= se.y ^^^^^^^^^^^^^^^^^= ^^^^ : yacc -d -o c-parse.c c-parse.y While backing out these changes would be an option, below is the correct fi= x. While working on the fix in cc1obj, I also fixed the bug in bsd.prog.mk and bsd.lib.mk (committed now); cc1obj/Makefile has "../cc_tools" in the =2EPATH list, and this caused .if exists(${DEPENDFILE}) in bsd.prog.mk to match "../cc_tools/.depend" and miss the (needed in this case) dependency of ${OBJS} on ${SRCS:M*.h}. In anycase, ../cc_tools is not needed here so I removed it. While grep(1)ping for the "\.PATH.*\.\." under the gnu/usr.bin/cc, I noticed that you forgot to "cvs rm" cc_drv/Makefile -- it's no longer needed as of gnu/usr.bin/cc/Makefile,v 1.21. I have also cleaned up cc1plus/Makefile (with some black magic) to avoid redefining standard yacc build rules. Here's the complete patch: %%% Index: cc1/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: /home/ncvs/src/gnu/usr.bin/cc/cc1/Makefile,v retrieving revision 1.23 diff -u -r1.23 Makefile --- cc1/Makefile 4 Apr 2002 19:26:12 -0000 1.23 +++ cc1/Makefile 7 Apr 2002 16:15:04 -0000 @@ -2,10 +2,10 @@ =20 .include "../Makefile.inc" =20 -.PATH: ../cc_tools ${GCCDIR} +.PATH: ${GCCDIR} =20 PROG=3D cc1 -SRCS=3D c-parse.c c-parse.h c-lang.c +SRCS=3D c-parse.y c-lang.c # Ugh, compiled twice... SRCS+=3D c-decl.c c-lex.c BINDIR=3D /usr/libexec @@ -19,15 +19,13 @@ =20 #----------------------------------------------------------------------- # C parser -.ORDER: c-parse.c c-parse.h -c-parse.c c-parse.h: c-parse.in +c-parse.y: c-parse.in sed -e "/^ifobjc$$/,/^end ifobjc$$/d" \ -e "/^ifc$$/d" \ -e "/^end ifc$$/d" \ ${.ALLSRC} > c-parse.y - ${YACC} -d -o c-parse.c c-parse.y =20 -CLEANFILES+=3D c-parse.c c-parse.h c-parse.y # insurance +CLEANFILES=3D c-parse.y # insurance =20 #----------------------------------------------------------------------- =20 Index: cc1obj/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: /home/ncvs/src/gnu/usr.bin/cc/cc1obj/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- cc1obj/Makefile 4 Apr 2002 19:26:13 -0000 1.17 +++ cc1obj/Makefile 7 Apr 2002 16:15:04 -0000 @@ -2,10 +2,10 @@ =20 .include "../Makefile.inc" =20 -.PATH: ../cc_tools ${GCCDIR}/objc ${GCCDIR} +.PATH: ${GCCDIR}/objc ${GCCDIR} =20 PROG=3D cc1obj -SRCS=3D objc-parse.c c-parse.h objc-act.c +SRCS=3D objc-parse.y c-parse.h objc-act.c # Ugh, compiled twice... SRCS+=3D c-decl.c c-lex.c BINDIR=3D /usr/libexec @@ -19,16 +19,16 @@ =20 #----------------------------------------------------------------------- # objc parser -.ORDER: objc-parse.c c-parse.h -objc-parse.c c-parse.h: c-parse.in +objc-parse.y: c-parse.in sed -e "/^ifc$$/,/^end ifc$$/d" \ -e "/^ifobjc$$/d" \ -e "/^end ifobjc$$/d" \ ${.ALLSRC} > objc-parse.y - ${YACC} -d -o objc-parse.c objc-parse.y - mv objc-parse.h c-parse.h =20 -CLEANFILES+=3D objc-parse.c c-parse.h objc-parse.y # insurance +c-parse.h: objc-parse.h + ln -s ${.ALLSRC} ${.TARGET} + +CLEANFILES=3D c-parse.h objc-parse.y # insurance =20 #----------------------------------------------------------------------- =20 Index: cc1plus/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: /home/ncvs/src/gnu/usr.bin/cc/cc1plus/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- cc1plus/Makefile 4 Apr 2002 00:50:14 -0000 1.24 +++ cc1plus/Makefile 7 Apr 2002 16:15:04 -0000 @@ -5,7 +5,7 @@ .PATH: ${GCCDIR}/cp =20 PROG=3D cc1plus -SRCS=3D parse.c parse.h +SRCS=3D parse.y y.tab.h parse.h SRCS+=3D call.c class.c cvt.c decl.c decl2.c errfn.c error.c except.c expr= .c \ friend.c init.c lex.c method.c pt.c ptree.c repo.c rtti.c \ search.c semantics.c sig.c spew.c tree.c typeck.c typeck2.c xref.c @@ -18,12 +18,11 @@ DPADD+=3D ${LIBCC_INT}=20 LDADD+=3D ${LIBCC_INT} =20 -.ORDER: parse.c parse.h -parse.c parse.h: parse.y - ${YACC} -d -o parse.c ${.ALLSRC} - grep '^#define[ ]*YYEMPTY' parse.c >>parse.h +parse.h: y.tab.h parse.c + cp y.tab.h ${.TARGET} + grep '^#define[ ]*YYEMPTY' parse.c >>${.TARGET} =20 -CLEANFILES+=3D parse.c parse.h +CLEANFILES=3D parse.h =20 CPPHDRS=3D exception new new.h typeinfo =20 Index: cc_drv/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: cc_drv/Makefile diff -N cc_drv/Makefile --- cc_drv/Makefile 24 Jan 2000 08:44:30 -0000 1.11 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,20 +0,0 @@ -# $FreeBSD: src/gnu/usr.bin/cc/cc_drv/Makefile,v 1.11 2000/01/24 08:44:30 = obrien Exp $ - -.include "../Makefile.inc" - -.PATH: ../cc_tools ${GCCDIR} - -LIB=3D cc_drv -NOPROFILE=3D YES -NOPIC=3D YES - -SRCS=3D multilib.h choose-temp.c obstack.c prefix.c pexecute.c version.c - -CFLAGS+=3D -DIN_GCC - -install: - @true - -${OUT_OBJ}.o ${OUT_OBJ}.so: ${OUT_FILE} - -.include %%% Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --eheScQNz3K90DVRs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8sHHOUkv4P6juNwoRApmjAJ9pO/RsehIlgzj47ngk6E6yvI5SuQCfTPzK /2/pq1xeLMC+dxnYFjl3zpk= =quLY -----END PGP SIGNATURE----- --eheScQNz3K90DVRs-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 11:24:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 9F94537B405; Sun, 7 Apr 2002 11:24:48 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g37IOjx7069073; Sun, 7 Apr 2002 22:24:47 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g37IOiuq069072; Sun, 7 Apr 2002 22:24:44 +0400 (MSD) Date: Sun, 7 Apr 2002 22:24:43 +0400 From: "Andrey A. Chernov" To: Jeroen Ruigrok/asmodai Cc: cvs-committers@FreeBSD.org, current@FreeBSD.org Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407182443.GB68881@nagual.pp.ru> References: <20020407045220.GB62669@nagual.pp.ru> <20020407094815.GC93352@daemon.ninth-circle.org> <20020407095754.GA64692@nagual.pp.ru> <20020407101350.GD93352@daemon.ninth-circle.org> <20020407102208.GA64942@nagual.pp.ru> <20020407133218.GG93352@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407133218.GG93352@daemon.ninth-circle.org> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 15:32:18 +0200, Jeroen Ruigrok/asmodai wrote: > -On [20020407 12:30], Andrey A. Chernov (ache@nagual.pp.ru) wrote: > >Sorry if I was unclear, I mean functionality. Yes, it will remains in the > >contrib, if somebody needs it, I am not picky about inactive stuff. If you > >notice my second (after give up) message, I even suggest to install it > >under different name, if someone wants it. > > Tim J Robbins whipped up some code which seems to take us to the same level > as GNU sort, as far as we could see. What code you mean? If you mean the patch he post, the patch is obviously wrong and not pass even simplest tests. It reminds my very early attempts. > As present the GNU sort we have doesn't seem to be able to handle multibyte > and/or shift states, does it? As far as he and I could see it was only > 8-bit limited. And his work gives that to the NetBSD sort as well. Yes, both variants (i.e. NetBSD sort too, if it will be fixed) limited to 8bit, as 99% of other base-localized soft. Multibyte l10n is completely different thing. What his work you mean? I answer him, read this discussion to the end. He admit that his change is wrong. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 11:51:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mercury.abq.com (mail.abq.com [204.252.57.241]) by hub.freebsd.org (Postfix) with ESMTP id D23C737B405 for ; Sun, 7 Apr 2002 11:51:23 -0700 (PDT) Received: from mailtag.com (unverified [204.252.57.23]) by mercury.abq.com (Vircom SMTPRS 5.1.202) with ESMTP id for ; Sun, 7 Apr 2002 12:51:14 -0600 Message-ID: <3CB0956E.3080306@mailtag.com> Date: Sun, 07 Apr 2002 12:52:30 -0600 From: "blU_hVn@stk" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.9) Gecko/20020330 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "current@FreeBSD.ORG" Subject: Re: Logitech iFeel Optical USB Mouse cannot be attached. References: <20011223124355.96775.qmail@web14003.mail.yahoo.com> <20020403125420.H398-100000@heather.van-laarhoven.org> <20020403175843.GB14447@geddy.nmsu.edu> <3CABA38F.2070007@cream.org> <20020407104115.A96589@hoogehof.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > >I have found that the iFeel Mouse does indeed work with an OHCI controller >but not with a UHCI controller. I have only got one mainbord with an OHCI >controller so I cannot generalise this. > >Jos > The iFeel being talked about here is the 0x46d(Logitech) 0xc032(iFeel ...)? I've been playing with this mouse for a while and I've found that it doesn't work with two of the VIA south-bridges which i've owned. Does work with a Genuine Intel southbridge(IBM laptop). and does work with a generic OHCI controller. Troy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 12:57: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx2.datanet.hu (mx2.datanet.hu [194.149.13.163]) by hub.freebsd.org (Postfix) with ESMTP id 91E5A37B404 for ; Sun, 7 Apr 2002 12:57:01 -0700 (PDT) Received: from fonix.adamsfamily.xx (nilus-1612.adsl.datanet.hu [195.56.94.88]) by mx2.datanet.hu (DataNet) with ESMTP id E13955B05 for ; Sun, 7 Apr 2002 20:37:58 +0200 (CEST) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.2/8.12.2) with ESMTP id g37Ic9TT000591 for ; Sun, 7 Apr 2002 20:38:09 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.2/8.12.2/Submit) id g37Ic9ZA000590 for freebsd-current@freebsd.org; Sun, 7 Apr 2002 20:38:09 +0200 (CEST) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Sun, 7 Apr 2002 20:38:09 +0200 From: Szilveszter Adam To: freebsd-current@freebsd.org Subject: Weird login behaviour Message-ID: <20020407183809.GA476@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello everybody, I upgraded to this morning's (local time) -CURRENT as I usually do on Sundays. Everything works (this far) but there is something weird: When I log in on the console, it says login: which is OK. But when I enter my username, it does not say Password: but rather displays my username in the next line. If I enter the password there, it lets me in. So it works, but there is something wrong here... It looks like this: login: cc cc Copyright (c) 1992-2002 The FreeBSD Project <...> Instead of: login: cc Password: Copyright (c) <...> Has anyone seen this yet? (I have not played with PAM config, I use the defaults) -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 13:10:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from pozo.com (pozo.com [216.101.162.50]) by hub.freebsd.org (Postfix) with ESMTP id 23E0337B405 for ; Sun, 7 Apr 2002 13:10:55 -0700 (PDT) Received: from sgi-540.pozo.com (puesdo.pozo.com [216.101.162.53]) by pozo.com (8.12.2/8.12.2) with ESMTP id g37KAnNZ000477 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Sun, 7 Apr 2002 13:10:50 -0700 (PDT) (envelope-from null@pozo.com) Message-Id: <5.1.0.14.2.20020407130509.00ab4af8@pozo.com> X-Sender: null@pozo.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 07 Apr 2002 13:10:31 -0700 To: Szilveszter Adam , freebsd-current@FreeBSD.ORG From: Manfred Antar Subject: Re: Weird login behaviour In-Reply-To: <20020407183809.GA476@fonix.adamsfamily.xx> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 08:38 PM 4/7/2002 +0200, Szilveszter Adam wrote: >Hello everybody, > >I upgraded to this morning's (local time) -CURRENT as I usually do on >Sundays. > >Everything works (this far) but there is something weird: > >When I log in on the console, it says login: which is OK. But when I >enter my username, it does not say Password: but rather displays my >username in the next line. If I enter the password there, it lets me in. >So it works, but there is something wrong here... It looks like this: > >login: cc >cc >Copyright (c) 1992-2002 The FreeBSD Project ><...> > >Instead of: > >login: cc >Password: >Copyright (c) <...> > >Has anyone seen this yet? > >(I have not played with PAM config, I use the defaults) > >-- >Regards: > >Szilveszter ADAM >Szombathely Hungary > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message I'm seeing the same thing here for the past day. I've done a build -> install world twice with current sources with the same results. Also I restored off tape /etc from 1 month ago. Same thing. It's probably something with the pam library as /usr/src/usr.bin/login doesn't have any recent changes. I thought I was being hacked, I'm glad somebody else is seeing this. Manfred ================================== || null@pozo.com || || Ph. (415) 681-6235 || ================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 13:12:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id EB2C537B417 for ; Sun, 7 Apr 2002 13:12:20 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 950FA5309; Sun, 7 Apr 2002 22:12:18 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Szilveszter Adam Cc: freebsd-current@freebsd.org Subject: Re: Weird login behaviour References: <20020407183809.GA476@fonix.adamsfamily.xx> From: Dag-Erling Smorgrav Date: 07 Apr 2002 22:12:17 +0200 In-Reply-To: <20020407183809.GA476@fonix.adamsfamily.xx> Message-ID: Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Szilveszter Adam writes: > login: cc > cc > Copyright (c) 1992-2002 The FreeBSD Project > <...> I'll look into it at once. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 13:54:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id B386537B405 for ; Sun, 7 Apr 2002 13:54:39 -0700 (PDT) Received: from pool0113.cvx21-bradley.dialup.earthlink.net ([209.179.192.113] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16uJgG-0000Sa-00; Sun, 07 Apr 2002 13:54:32 -0700 Message-ID: <3CB0B1F0.F2D701F7@mindspring.com> Date: Sun, 07 Apr 2002 13:54:08 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Josef Karthauser Cc: current@freebsd.org Subject: Re: Kernel debugging - what's the procedure? References: <20020407091335.GA697@genius.tao.org.uk> <3CB01F95.ACCDAA82@mindspring.com> <20020407105959.GA14407@genius.tao.org.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Josef Karthauser wrote: > > You use another machine, and connect the serial ports together. > > See the handbook for details. > > I'd love to ;) but no additional machine is available at the moment. Then you install vmware, and Julian's back-to-back serial driver, and then run the kernel to be debuged in the vmware session. This lets you debug the kernel on a virtual machine (single CPU only). > > If this is against a dead kernel, etiher your dump image is > > bad, or it doesn't match the kernel that made the dump. > > That's what I'd guess too, but the kernel that crashed is the same as > the kernel that I'm debugging it on - I'm pretty sure: compiled today. Well, since this is the -current list... have you updated recently? There were some recent changes by PHK to the dump format that may have broken/fixed things, if your answer to that question is yes/no, respectively. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 14: 0:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 2008237B405 for ; Sun, 7 Apr 2002 14:00:10 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020407210009.FHMO3676.rwcrmhc52.attbi.com@InterJet.elischer.org>; Sun, 7 Apr 2002 21:00:09 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA47745; Sun, 7 Apr 2002 13:49:25 -0700 (PDT) Date: Sun, 7 Apr 2002 13:49:24 -0700 (PDT) From: Julian Elischer To: Josef Karthauser Cc: Terry Lambert , current@freebsd.org Subject: Re: Kernel debugging - what's the procedure? In-Reply-To: <20020407105959.GA14407@genius.tao.org.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 7 Apr 2002, Josef Karthauser wrote: > On Sun, Apr 07, 2002 at 03:29:41AM -0700, Terry Lambert wrote: > > > > You use another machine, and connect the serial ports together. > > See the handbook for details. > > I'd love to ;) but no additional machine is available at the moment. run it in vmware and connect it to the NMDM(4) drivers > > > If this is against a dead kernel, etiher your dump image is > > bad, or it doesn't match the kernel that made the dump. > > That's what I'd guess too, but the kernel that crashed is the same as > the kernel that I'm debugging it on - I'm pretty sure: compiled today. I'm not sure it all works right now as people have been doing things with the dump code. > > Joe > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 14:26:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 0648737B417 for ; Sun, 7 Apr 2002 14:26:16 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id E321F5309; Sun, 7 Apr 2002 23:26:13 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Manfred Antar Cc: Szilveszter Adam , freebsd-current@FreeBSD.ORG Subject: Re: Weird login behaviour References: <5.1.0.14.2.20020407130509.00ab4af8@pozo.com> From: Dag-Erling Smorgrav Date: 07 Apr 2002 23:26:13 +0200 In-Reply-To: <5.1.0.14.2.20020407130509.00ab4af8@pozo.com> Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Manfred Antar writes: > At 08:38 PM 4/7/2002 +0200, Szilveszter Adam wrote: > > When I log in on the console, it says login: which is OK. But when I > > enter my username, it does not say Password: but rather displays my > > username in the next line. > I'm seeing the same thing here for the past day. Fixed. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 14:33:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 23E6537B416 for ; Sun, 7 Apr 2002 14:33:27 -0700 (PDT) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.2/8.12.2) with ESMTP id g37LXQcR016985 for ; Sun, 7 Apr 2002 14:33:26 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.12.2/8.12.2/Submit) id g37LXQXX016984 for freebsd-current@freebsd.org; Sun, 7 Apr 2002 14:33:26 -0700 (PDT) From: "Steven G. Kargl" Message-Id: <200204072133.g37LXQXX016984@troutmask.apl.washington.edu> Subject: UMA lock order reversal To: freebsd-current@freebsd.org Date: Sun, 7 Apr 2002 14:33:26 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is probably a known lock order reversals, but I haven't seen it reported on the mailing list. lock order reversal 1st 0xc403d720 PCPU 4096 (UMA cpu) @ /usr/src/sys/vm/uma_core.c:1179 2nd 0xc403d664 4096 (UMA zone) @ /usr/src/sys/vm/uma_core.c:614 3rd 0xc082a720 PCPU KMAP ENTRY (UMA cpu) @ /usr/src/sys/vm/uma_core.c:1179 -- Steve http://troutmask.apl.washington.edu/~kargl/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 14:37:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id B7CF337B417 for ; Sun, 7 Apr 2002 14:37:23 -0700 (PDT) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.2/8.12.2) with ESMTP id g37LbNcR017031 for ; Sun, 7 Apr 2002 14:37:23 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.12.2/8.12.2/Submit) id g37LbNTf017030 for freebsd-current@freebsd.org; Sun, 7 Apr 2002 14:37:23 -0700 (PDT) From: "Steven G. Kargl" Message-Id: <200204072137.g37LbNTf017030@troutmask.apl.washington.edu> Subject: savecore: parity error ? To: freebsd-current@freebsd.org Date: Sun, 7 Apr 2002 14:37:23 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The recent changes to savecore/dumpsys are generating the following message at boot: Checking for core dump: Mediasize = 373293056 Sectorsize = 512 savecore: Parity error on last dump header on /dev/da0s2b -- Steve http://troutmask.apl.washington.edu/~kargl/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 14:57: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from pozo.com (pozo.com [216.101.162.50]) by hub.freebsd.org (Postfix) with ESMTP id B465037B404 for ; Sun, 7 Apr 2002 14:56:59 -0700 (PDT) Received: from sgi-540.pozo.com (puesdo.pozo.com [216.101.162.53]) by pozo.com (8.12.2/8.12.2) with ESMTP id g37LuuNZ012184 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Sun, 7 Apr 2002 14:56:57 -0700 (PDT) (envelope-from null@pozo.com) Message-Id: <5.1.0.14.2.20020407145633.00ab4d78@pozo.com> X-Sender: null@pozo.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 07 Apr 2002 14:56:55 -0700 To: Dag-Erling Smorgrav From: Manfred Antar Subject: Re: Weird login behaviour Cc: Szilveszter Adam , freebsd-current@FreeBSD.ORG In-Reply-To: References: <5.1.0.14.2.20020407130509.00ab4af8@pozo.com> <5.1.0.14.2.20020407130509.00ab4af8@pozo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:26 PM 4/7/2002 +0200, Dag-Erling Smorgrav wrote: >Manfred Antar writes: >> At 08:38 PM 4/7/2002 +0200, Szilveszter Adam wrote: >> > When I log in on the console, it says login: which is OK. But when I >> > enter my username, it does not say Password: but rather displays my >> > username in the next line. >> I'm seeing the same thing here for the past day. > >Fixed. > >DES >-- >Dag-Erling Smorgrav - des@ofug.org Works fine here again Thanks Manfred ================================== || null@pozo.com || || Ph. (415) 681-6235 || ================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 15: 1:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 1CC8537B41C for ; Sun, 7 Apr 2002 15:01:16 -0700 (PDT) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.2/8.12.2) with ESMTP id g37M1FcR017172; Sun, 7 Apr 2002 15:01:15 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.2/8.12.2/Submit) id g37M1Fe9017171; Sun, 7 Apr 2002 15:01:15 -0700 (PDT) Date: Sun, 7 Apr 2002 15:01:15 -0700 From: Steve Kargl To: "Steven G. Kargl" Cc: freebsd-current@FreeBSD.ORG Subject: Re: savecore: parity error ? Message-ID: <20020407150115.A17064@troutmask.apl.washington.edu> References: <200204072137.g37LbNTf017030@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200204072137.g37LbNTf017030@troutmask.apl.washington.edu>; from kargl@troutmask.apl.washington.edu on Sun, Apr 07, 2002 at 02:37:23PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 02:37:23PM -0700, Steven G. Kargl wrote: > The recent changes to savecore/dumpsys are generating > the following message at boot: > > Checking for core dump: Mediasize = 373293056 > Sectorsize = 512 > savecore: Parity error on last dump header on /dev/da0s2b > How does one clear the core file after the changes? root[207] savecore -c savecore: usage: ... -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 17:38:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from webmechanic.org.uk (host217-35-84-199.in-addr.btopenworld.com [217.35.84.199]) by hub.freebsd.org (Postfix) with ESMTP id 1957237B47E for ; Sun, 7 Apr 2002 17:38:24 -0700 (PDT) Received: from gandalf (gandalf.webmechanic.org.uk [10.1.10.1]) by webmechanic.org.uk (8.11.3nb1/8.11.3) with ESMTP id g381bCu01818 for ; Mon, 8 Apr 2002 01:37:13 GMT From: "Sam Sheridan" To: Subject: subscribe Date: Mon, 8 Apr 2002 01:38:07 +0100 Message-ID: <001601c1de95$a80afbb0$010a010a@gandalf> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0017_01C1DE9E.09CF63B0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C1DE9E.09CF63B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ------=_NextPart_000_0017_01C1DE9E.09CF63B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

------=_NextPart_000_0017_01C1DE9E.09CF63B0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 17:57:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from nnd.itfs.nsk.su (nnd.itfs.nsk.su [212.20.32.42]) by hub.freebsd.org (Postfix) with ESMTP id BA85937B400 for ; Sun, 7 Apr 2002 17:57:25 -0700 (PDT) Received: from nnd.itfs.nsk.su (localhost [127.0.0.1]) by nnd.itfs.nsk.su (8.12.2/8.12.2) with ESMTP id g380usfP009032 for ; Mon, 8 Apr 2002 07:56:54 +0700 (NOVST) (envelope-from nnd@nnd.itfs.nsk.su) Received: (from nnd@localhost) by nnd.itfs.nsk.su (8.12.2/8.12.2/Submit) id g380ushN008996; Mon, 8 Apr 2002 07:56:54 +0700 (NOVST) Date: Mon, 8 Apr 2002 07:56:54 +0700 (NOVST) Message-Id: <200204080056.g380ushN008996@nnd.itfs.nsk.su> From: nnd@mail.nsk.ru (Nickolay Dudorov) To: current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/vm vm_zone.c vm_zone.h In-Reply-To: <200204072251.g37MpIi99745@freefall.freebsd.org> User-Agent: tin/1.5.11-20020130 ("Toxicity") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <200204072251.g37MpIi99745@freefall.freebsd.org> Jeff Roberson wrote: > jeff 2002/04/07 15:51:18 PDT > > Removed files: > sys/vm vm_zone.c vm_zone.h > Log: > There should be no remaining references to these two files in the tree. If > there are, it is an error. vm_zone has been superseded by uma. > > Revision Changes Path > 1.56 +0 -579 src/sys/vm/vm_zone.c (dead) > 1.21 +0 -52 src/sys/vm/vm_zone.h (dead) My 'make buildkernel' have found at least two of the 'vm/vm_zone.h' in the 'sys/fs/smbfs/smbfs_vnops.c' and 'sys/fs/unionfs/union_subr.c'. After simply removing this "#include " lines the kernel builds up to the end. N.Dudorov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 18: 7:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 6EF3E37B41D for ; Sun, 7 Apr 2002 18:07:55 -0700 (PDT) Received: (qmail 44342 invoked by uid 1001); 6 Apr 2002 06:39:51 +0000 (GMT) To: peter@wemm.org Cc: phk@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: patch: make syslog stop spamming any root it finds... From: sthaug@nethelp.no In-Reply-To: Your message of "Fri, 05 Apr 2002 18:12:40 -0800" References: <20020406021240.5E197390B@overcee.wemm.org> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Sat, 06 Apr 2002 08:39:51 +0200 Message-ID: <44340.1018075191@verdi.nethelp.no> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > I have always hated the three lines in /etc/syslog.conf which spams > > > root with far too many and far too irrellevant syslog messages, in > > > some cases even with several copies of them. > > > > Amen to that. You got my vote. Usually when I set up a FreeBSD box, it's > > the first thing I turn off. I say commit it. > > Likewise, it's the first thing I turn off, as well as the *.emerg line > that broadcasts to all users. Same here. First things removed on a fresh FreeBSD install. Please commit. Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 18:48:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id 1EEC737B405 for ; Sun, 7 Apr 2002 18:48:24 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g381n7Q13527 for ; Sun, 7 Apr 2002 18:49:07 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id EB5673810; Sun, 7 Apr 2002 18:54:03 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Andrey A. Chernov" Cc: "Tim J. Robbins" , freebsd-current@FreeBSD.ORG Subject: Re: NetBSD sort l10n: I give up! In-Reply-To: <20020407113448.GA65563@nagual.pp.ru> Date: Sun, 07 Apr 2002 18:54:03 -0700 From: Peter Wemm Message-Id: <20020408015403.EB5673810@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Andrey A. Chernov" wrote: > On Sun, Apr 07, 2002 at 04:30:31 -0700, David O'Brien wrote: > > On Sun, Apr 07, 2002 at 02:55:37PM +0400, Andrey A. Chernov wrote: > > > I suggest following test first: > > > none,-r,-f,-n combination for all FreeBSD locales compared to GNU sort. > > > > > > The next test is -R option in 0.255 range for all locales. > > > > Perhaps you could make a test suite and commit to > > [gnu/]usr.bin/sort/testsuite ? > > > > Yes, after GNU sort will be restored. I already send request to cvs@ There is no need for cvs@ to be involved here. Just get the old pre-rm files and 'cvs add' them back again. There is nothing significant that is still on the vendor branch that is worth messing around with. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Apr 7 22:42:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 41EBC37B419 for ; Sun, 7 Apr 2002 22:42:22 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id PAA04414; Mon, 8 Apr 2002 15:42:16 +1000 Date: Mon, 8 Apr 2002 15:42:19 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Josef Karthauser Cc: current@FreeBSD.ORG Subject: Re: Kernel debugging - what's the procedure? In-Reply-To: <20020407091335.GA697@genius.tao.org.uk> Message-ID: <20020408153800.R5729-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 7 Apr 2002, Josef Karthauser wrote: > What's the current method for debugging kernels? > > genius# gdb -k /usr/obj/usr/src/sys/GENIUS/kernel.debug 5d079ab35c111057dbbf8f242940bbad.core > ... > kernel symbol `dumppcb' not found. > Attaching to program: /usr/obj/usr/src/sys/GENIUS/kernel.debug, process 5 > > ptrace: Invalid argument. > (kgdb) quit Review all commits and note the unreviewed one that blew away dumppcb? Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 2:10:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by hub.freebsd.org (Postfix) with ESMTP id B7EE837B404 for ; Mon, 8 Apr 2002 02:10:07 -0700 (PDT) Received: from fwd02.sul.t-online.de by mailout07.sul.t-online.com with smtp id 16uV7V-0003IU-04; Mon, 08 Apr 2002 11:07:25 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.83.29.148]) by fmrl02.sul.t-online.com with esmtp id 16uV7J-0mqviKC; Mon, 8 Apr 2002 11:07:13 +0200 Received: from Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.11.6/8.11.6) with ESMTP id g3897F703650 for ; Mon, 8 Apr 2002 11:07:15 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Message-ID: <3CB16BD9.9040509@Leidinger.net> Date: Mon, 08 Apr 2002 11:07:21 +0100 From: Alexander Leidinger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:0.9.9) Gecko/20020311 X-Accept-Language: de, en-us MIME-Version: 1.0 To: current@freebsd.org Subject: ld-elf.so.1 broken with world from yesterday Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, yesterday I've made a new world. After booting it, ld-elf-so.1 complains about every library (libc, libutil, ...). My -current is not usable anymore because of this. Is this fixed in a recent snapshot, and if yes, is it enough to just replace ld-elf.so.1, or do I have to replace /usr/lib/ (too) to get a working -current? Bye, Alexander. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 2:14: 0 2002 Delivered-To: freebsd-current@freebsd.org Received: from ref5.freebsd.org (ref5.FreeBSD.org [216.136.204.102]) by hub.freebsd.org (Postfix) with ESMTP id 15C3A37B405 for ; Mon, 8 Apr 2002 02:13:54 -0700 (PDT) Received: from ref5.freebsd.org (localhost [127.0.0.1]) by ref5.freebsd.org (8.12.2/8.12.2) with ESMTP id g389Dr2W019318 for ; Mon, 8 Apr 2002 02:13:53 -0700 (PDT) (envelope-from des@ref5.freebsd.org) Received: (from des@localhost) by ref5.freebsd.org (8.12.2/8.12.2/Submit) id g389Drmf019316 for current@freebsd.org; Mon, 8 Apr 2002 02:13:53 -0700 (PDT) Date: Mon, 8 Apr 2002 02:13:53 -0700 (PDT) From: Dag-Erling Smorgrav Message-Id: <200204080913.g389Drmf019316@ref5.freebsd.org> To: current@freebsd.org Subject: i386 tinderbox failure Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ===> nge ===> nmdm ===> ntfs ===> nullfs ===> pcn ===> plip ===> portalfs ===> ppbus ===> ppi ===> pps ===> procfs ===> pseudofs ===> random ===> rl ===> rp ===> sf ===> sis ===> sk ===> sn ===> snp ===> sound ===> sound/pcm ===> sound/driver ===> sound/driver/als4000 ===> sound/driver/ad1816 ===> sound/driver/cmi ===> sound/driver/cs4281 ===> sound/driver/csa ===> sound/driver/ds1 ===> sound/driver/emu10k1 ===> sound/driver/es137x ===> sound/driver/ess ===> sound/driver/fm801 ===> sound/driver/ich ===> sound/driver/maestro ===> sound/driver/maestro3 ===> sound/driver/mss ===> sound/driver/neomagic ===> sound/driver/sb16 ===> sound/driver/sb8 ===> sound/driver/sbc ===> sound/driver/solo ===> sound/driver/t4dwave ===> sound/driver/via82c686 ===> sound/driver/vibes ===> sound/driver/driver ===> sppp ===> ste ===> sym ===> syscons ===> syscons/blank ===> syscons/daemon ===> syscons/dragon ===> syscons/fade ===> syscons/fire ===> syscons/green ===> syscons/logo ===> syscons/rain ===> syscons/snake ===> syscons/star ===> syscons/warp ===> syscons/apm ===> sysvipc ===> sysvipc/sysvmsg ===> sysvipc/sysvsem ===> sysvipc/sysvshm ===> ti ===> tl ===> twe ===> tx ===> txp ===> ucom ===> udbp ===> ufm ===> ugen ===> uhid ===> ukbd ===> ulpt ===> umapfs ===> umass ===> umodem ===> ums ===> unionfs /d/home/des/tinderbox/src/sys/modules/unionfs/../../fs/unionfs/union_subr.c:58: vm/vm_zone.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /d/home/des/tinderbox/src/sys/modules/unionfs. *** Error code 1 Stop in /d/home/des/tinderbox/src/sys/modules. *** Error code 1 Stop in /tmp/des/obj/i386/d/home/des/tinderbox/src/sys/GENERIC. *** Error code 1 Stop in /d/home/des/tinderbox/src. *** Error code 1 Stop in /d/home/des/tinderbox/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 2:17:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 569F437B41A; Mon, 8 Apr 2002 02:17:53 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g389HJY9088205; Mon, 8 Apr 2002 11:17:19 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Dag-Erling Smorgrav Cc: current@FreeBSD.ORG Subject: Re: i386 tinderbox failure In-Reply-To: Your message of "Mon, 08 Apr 2002 02:13:53 PDT." <200204080913.g389Drmf019316@ref5.freebsd.org> Date: Mon, 08 Apr 2002 11:17:19 +0200 Message-ID: <88204.1018257439@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Allerede fixet. In message <200204080913.g389Drmf019316@ref5.freebsd.org>, Dag-Erling Smorgrav writes: >===> nge >===> nmdm >===> ntfs >===> nullfs >===> pcn >===> plip >===> portalfs >===> ppbus >===> ppi >===> pps >===> procfs >===> pseudofs >===> random >===> rl >===> rp >===> sf >===> sis >===> sk >===> sn >===> snp >===> sound >===> sound/pcm >===> sound/driver >===> sound/driver/als4000 >===> sound/driver/ad1816 >===> sound/driver/cmi >===> sound/driver/cs4281 >===> sound/driver/csa >===> sound/driver/ds1 >===> sound/driver/emu10k1 >===> sound/driver/es137x >===> sound/driver/ess >===> sound/driver/fm801 >===> sound/driver/ich >===> sound/driver/maestro >===> sound/driver/maestro3 >===> sound/driver/mss >===> sound/driver/neomagic >===> sound/driver/sb16 >===> sound/driver/sb8 >===> sound/driver/sbc >===> sound/driver/solo >===> sound/driver/t4dwave >===> sound/driver/via82c686 >===> sound/driver/vibes >===> sound/driver/driver >===> sppp >===> ste >===> sym >===> syscons >===> syscons/blank >===> syscons/daemon >===> syscons/dragon >===> syscons/fade >===> syscons/fire >===> syscons/green >===> syscons/logo >===> syscons/rain >===> syscons/snake >===> syscons/star >===> syscons/warp >===> syscons/apm >===> sysvipc >===> sysvipc/sysvmsg >===> sysvipc/sysvsem >===> sysvipc/sysvshm >===> ti >===> tl >===> twe >===> tx >===> txp >===> ucom >===> udbp >===> ufm >===> ugen >===> uhid >===> ukbd >===> ulpt >===> umapfs >===> umass >===> umodem >===> ums >===> unionfs >/d/home/des/tinderbox/src/sys/modules/unionfs/../../fs/unionfs/union_subr.c:58: vm/vm_zone.h: No such file or directory >mkdep: compile failed >*** Error code 1 > >Stop in /d/home/des/tinderbox/src/sys/modules/unionfs. >*** Error code 1 > >Stop in /d/home/des/tinderbox/src/sys/modules. >*** Error code 1 > >Stop in /tmp/des/obj/i386/d/home/des/tinderbox/src/sys/GENERIC. >*** Error code 1 > >Stop in /d/home/des/tinderbox/src. >*** Error code 1 > >Stop in /d/home/des/tinderbox/src. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 2:31:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 252C937B419 for ; Mon, 8 Apr 2002 02:31:24 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id C9E3D2C8; Mon, 8 Apr 2002 10:30:21 +0100 (BST) Date: Mon, 8 Apr 2002 10:30:21 +0100 From: Josef Karthauser To: Terry Lambert Cc: current@freebsd.org Subject: Re: Kernel debugging - what's the procedure? Message-ID: <20020408093021.GA54610@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Terry Lambert , current@freebsd.org References: <20020407091335.GA697@genius.tao.org.uk> <3CB01F95.ACCDAA82@mindspring.com> <20020407105959.GA14407@genius.tao.org.uk> <3CB0B1F0.F2D701F7@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <3CB0B1F0.F2D701F7@mindspring.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 07, 2002 at 01:54:08PM -0700, Terry Lambert wrote: > Josef Karthauser wrote: > > > You use another machine, and connect the serial ports together. > > > See the handbook for details. > >=20 > > I'd love to ;) but no additional machine is available at the moment. >=20 > Then you install vmware, and Julian's back-to-back serial > driver, and then run the kernel to be debuged in the vmware > session. This lets you debug the kernel on a virtual > machine (single CPU only). Yes I do have vmware, but it's not going to help me debug the usb stack is it? (I know vmware3 does usb, but not if the underlying usb stack on the host machine is also hosed). =20 > > > If this is against a dead kernel, etiher your dump image is > > > bad, or it doesn't match the kernel that made the dump. > >=20 > > That's what I'd guess too, but the kernel that crashed is the same as > > the kernel that I'm debugging it on - I'm pretty sure: compiled today. >=20 > Well, since this is the -current list... have you updated > recently? There were some recent changes by PHK to the dump > format that may have broken/fixed things, if your answer to > that question is yes/no, respectively. Yes, that's what I implied by the above paragraph. I was up-to-date with sources yesterday. Joe --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyxYy0ACgkQXVIcjOaxUBYIPwCcD77yCXzcZMh6SRJkCRcJjt/m AIoAoKWqbWTnTt+8AL/qCv5Nx+zZqn2K =L4Ug -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 2:37:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from draco.macsch.com (ns1.mscsoftware.com [192.207.69.10]) by hub.freebsd.org (Postfix) with ESMTP id 6310C37B417 for ; Mon, 8 Apr 2002 02:37:15 -0700 (PDT) Received: from mailmuc.muc.eu.mscsoftware.com (mailmuc.muc.macsch.com [161.34.37.20]) by draco.macsch.com (8.9.3/8.9.3) with ESMTP id CAA00441; Mon, 8 Apr 2002 02:37:08 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mailmuc.muc.eu.mscsoftware.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g389ZZ126375; Mon, 8 Apr 2002 11:35:35 +0200 Cc: freebsd-current@FreeBSD.ORG Content-Transfer-Encoding: 7bit Content-Type: text/plain Date: 08 Apr 2002 12:36:13 +0300 From: "Georg-W. Koltermann" In-Reply-To: Message-Id: <1018258573.4537.48.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Received: from hunter.muc.macsch.com by mailmuc.muc.eu.mscsoftware.com (AvMailGate-6.12.0.0) id 26359-4DC7F66B; Mon, 08 Apr 2002 11:35:07 +0200 References: Subject: Re: Problem with FreeBSD dc driver and Xircom PCMCIA card To: Gavin Atkinson X-AntiVirus: OK! AvMailGate Version 6.12.1.30 at mailmuc has not found any known virus in this email. X-Mailer: Evolution/1.0.1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ah, finally someone else sees what I ran into last year. Look for my posting to -current in May 2001, subject "dc0 ARP problem with CISCO". At that time, the only advice I got was to hardwire speed detection (which didn't help). My solution then was to switch hardware :-( So I'm afraid this is of no help to you, except for the "mee too" confirmation. -- Regards, Georg. Am Mi, 2002-03-27 um 21.47 schrieb Gavin Atkinson: > > [...snip...] > It's starting to look promising. I even get a (red) link light on the > card, and once an IP is configured, ifconfig can tell if the link exists > or not, though cannot establish what the speed of it is (this is into a > 100M switch). However, I still have almost no network connectivity with > it. An outbound ping loses 100% of packets, and hosts trying to ping it > cannot arp it's MAC address. However, once I have forced an entry into the > arp table of the second host, I can ping the Xircom card, albeit very > slowly (snipped down for clarity): > > PING epsilon.ury.york.ac.uk (10.0.0.109): 56 data bytes > 64 bytes from 10.0.0.109: icmp_seq=211 ttl=64 time=2020.368 ms > 64 bytes from 10.0.0.109: icmp_seq=216 ttl=64 time=3030.348 ms > 64 bytes from 10.0.0.109: icmp_seq=217 ttl=64 time=2020.406 ms > 64 bytes from 10.0.0.109: icmp_seq=223 ttl=64 time=2020.374 ms > 64 bytes from 10.0.0.109: icmp_seq=229 ttl=64 time=2020.374 ms > 64 bytes from 10.0.0.109: icmp_seq=253 ttl=64 time=7070.335 ms > 64 bytes from 10.0.0.109: icmp_seq=255 ttl=64 time=5050.412 ms > 64 bytes from 10.0.0.109: icmp_seq=286 ttl=64 time=6060.318 ms > 64 bytes from 10.0.0.109: icmp_seq=287 ttl=64 time=5050.348 ms > 64 bytes from 10.0.0.109: icmp_seq=288 ttl=64 time=4040.382 ms > --- epsilon.ury.york.ac.uk ping statistics --- > 311 packets transmitted, 139 packets received, 55% packet loss > round-trip min/avg/max/stddev = 614.382/5760.691/9090.237/2161.803 ms > > Note the large mean time, and the fact that I consistantly lose 55% of > packets. Watching the link light, the card seems to receive the packets > instantly, buffer three or four, then lose the link. WHen the link comes > back, the replies to these packets all get sent back at once. > > I'm now at a loss as to where to go. I have no idea how to progress with > this, as i'm not a kernel hacker. Has anyone seen this before? If it > helps, I am using revision 3 of the card (read using > pci_read_config(dev, DC_PCI_CFRV, 4) & 0xff), and it's on a Toshiba ToPIC > 95B cardbus bridge. > > If anyone can help, i'd be most greatful... > > Thanks, > > Gavin > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 3:12: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id A608A37B400; Mon, 8 Apr 2002 03:11:43 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g38ABdM70305; Mon, 8 Apr 2002 13:11:39 +0300 (EEST) (envelope-from ru) Date: Mon, 8 Apr 2002 13:11:39 +0300 From: Ruslan Ermilov To: Dag-Erling Smorgrav Cc: current@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c Message-ID: <20020408101138.GA68318@sunbay.com> References: <200204072043.g37KhRi76699@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <200204072043.g37KhRi76699@freefall.freebsd.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 07, 2002 at 01:43:27PM -0700, Dag-Erling Smorgrav wrote: > des 2002/04/07 13:43:27 PDT >=20 > Modified files: > lib/libpam/modules/pam_unix pam_unix.c=20 > Log: > Fix bug in previous commit that passed the wrong default value to > login_getcapstr(3). Also fix a longer-standing bug (login_close(3) > frees the string returned by login_getcapstr(3)) by reorganizing the > code a little, and use login_getpwclass(3) instead of login_getclass(3) > if we already have a struct pwd. > =20 > Sponsored by: DARPA, NAI Labs > =20 > Revision Changes Path > 1.29 +8 -6 src/lib/libpam/modules/pam_unix/pam_unix.c >=20 This change also broke the "Password:" prompt. The bug is hidden by the -Wno-uninitialized setting in bsd.sys.mk. Here's the patch: %%% Index: pam_unix.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: /home/ncvs/src/lib/libpam/modules/pam_unix/pam_unix.c,v retrieving revision 1.28 diff -u -p -r1.28 pam_unix.c --- pam_unix.c 6 Apr 2002 19:30:04 -0000 1.28 +++ pam_unix.c 8 Apr 2002 09:53:12 -0000 @@ -122,7 +122,8 @@ pam_sm_authenticate(pam_handle_t *pamh,=20 struct passwd *pwd; int retval; const char *pass, *user; - char *encrypted, *password_prompt; + char *encrypted; + const char *password_prompt; =20 pam_std_option(&options, other_options, argc, argv); =20 @@ -141,7 +142,7 @@ pam_sm_authenticate(pam_handle_t *pamh,=20 =20 lc =3D login_getclass(NULL); password_prompt =3D login_getcapstr(lc, "passwd_prompt", - password_prompt, NULL); + "Password:", NULL); login_close(lc); lc =3D NULL; =20 @@ -512,7 +513,8 @@ local_passwd(const char *user, const cha login_cap_t * lc; struct passwd *pwd; int pfd, tfd; - char *crypt_type, salt[SALTSIZE + 1]; + const char *crypt_type; + char salt[SALTSIZE + 1]; =20 pwd =3D getpwnam(user); if (pwd =3D=3D NULL) %%% But this patch won't work without the "const poisoning" lib/libutil: %%% Index: login_auth.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: /home/ncvs/src/lib/libutil/login_auth.c,v retrieving revision 1.12 diff -u -p -r1.12 login_auth.c --- login_auth.c 30 Sep 2001 22:35:07 -0000 1.12 +++ login_auth.c 8 Apr 2002 09:58:59 -0000 @@ -65,7 +65,7 @@ __FBSDID("$FreeBSD: src/lib/libutil/logi void auth_checknologin(login_cap_t *lc) { - char *file; + const char *file; =20 /* Do we ignore a nologin file? */ if (login_getcapbool(lc, "ignorenologin", 0)) Index: login_cap.3 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: /home/ncvs/src/lib/libutil/login_cap.3,v retrieving revision 1.27 diff -u -p -r1.27 login_cap.3 --- login_cap.3 1 Oct 2001 16:09:18 -0000 1.27 +++ login_cap.3 8 Apr 2002 09:58:59 -0000 @@ -52,12 +52,12 @@ .Fn login_getpwclass "const struct passwd *pwd" .Ft login_cap_t * .Fn login_getuserclass "const struct passwd *pwd" -.Ft char * -.Fn login_getcapstr "login_cap_t *lc" "const char *cap" "char *def" "char = *error" +.Ft "const char *" +.Fn login_getcapstr "login_cap_t *lc" "const char *cap" "const char *def" = "const char *error" .Ft char ** .Fn login_getcaplist "login_cap_t *lc" "const char *cap" "const char *char= s" -.Ft char * -.Fn login_getpath "login_cap_t *lc" "const char *cap" "char *error" +.Ft "const char *" +.Fn login_getpath "login_cap_t *lc" "const char *cap" "const char *error" .Ft rlim_t .Fn login_getcaptime "login_cap_t *lc" "const char *cap" "rlim_t def" "rli= m_t error" .Ft rlim_t @@ -66,8 +66,8 @@ .Fn login_getcapsize "login_cap_t *lc" "const char *cap" "rlim_t def" "rli= m_t error" .Ft int .Fn login_getcapbool "login_cap_t *lc" "const char *cap" "int def" -.Ft char * -.Fn login_getstyle "login_cap_t *lc" "char *style" "const char *auth" +.Ft "const char *" +.Fn login_getstyle "login_cap_t *lc" "const char *style" "const char *auth" .Ft const char * .Fn login_setcryptfmt "login_cap_t *lc" "const char *def" "const char *err= or" .Sh DESCRIPTION Index: login_cap.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: /home/ncvs/src/lib/libutil/login_cap.c,v retrieving revision 1.26 diff -u -p -r1.26 login_cap.c --- login_cap.c 6 Mar 2002 15:24:51 -0000 1.26 +++ login_cap.c 8 Apr 2002 09:58:59 -0000 @@ -344,8 +344,8 @@ login_getuserclass(const struct passwd * * an error string on error. */ =20 -char * -login_getcapstr(login_cap_t *lc, const char *cap, char *def, char *error) +const char * +login_getcapstr(login_cap_t *lc, const char *cap, const char *def, const c= har *error) { char *res; int ret; @@ -373,7 +373,7 @@ login_getcaplist(login_cap_t *lc, const=20 =20 if (chars =3D=3D NULL) chars =3D ", \t"; - if ((lstring =3D login_getcapstr(lc, cap, NULL, NULL)) !=3D NULL) + if ((lstring =3D (char *)login_getcapstr(lc, cap, NULL, NULL)) !=3D NU= LL) return arrayize(lstring, chars, NULL); return NULL; } @@ -387,15 +387,15 @@ login_getcaplist(login_cap_t *lc, const=20 * If there is an error of any kind, return . */ =20 -char * -login_getpath(login_cap_t *lc, const char *cap, char * error) +const char * +login_getpath(login_cap_t *lc, const char *cap, const char *error) { - char *str; + const char *str; =20 - if ((str =3D login_getcapstr(lc, (char*)cap, NULL, NULL)) =3D=3D NULL) + if ((str =3D login_getcapstr(lc, cap, NULL, NULL)) =3D=3D NULL) str =3D error; else { - char *ptr =3D str; + char *ptr =3D (char *)str; =20 while (*ptr) { int count =3D strcspn(ptr, ", \t"); @@ -764,8 +764,8 @@ login_getcapbool(login_cap_t *lc, const=20 * login_getstyle(lc, "skey", "network"); */ =20 -char * -login_getstyle(login_cap_t *lc, char *style, const char *auth) +const char * +login_getstyle(login_cap_t *lc, const char *style, const char *auth) { int i; char **authtypes =3D NULL; Index: login_cap.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: /home/ncvs/src/lib/libutil/login_cap.h,v retrieving revision 1.5 diff -u -p -r1.5 login_cap.h --- login_cap.h 21 Mar 2002 23:52:49 -0000 1.5 +++ login_cap.h 8 Apr 2002 09:58:59 -0000 @@ -102,13 +102,13 @@ login_cap_t *login_getclass(const char * login_cap_t *login_getpwclass(const struct passwd *); login_cap_t *login_getuserclass(const struct passwd *); =20 -char *login_getcapstr(login_cap_t*, const char *, char *, char *); +const char *login_getcapstr(login_cap_t*, const char *, const char *, cons= t char *); char **login_getcaplist(login_cap_t *, const char *, const char *); -char *login_getstyle(login_cap_t *, char *, const char *); +const char *login_getstyle(login_cap_t *, const char *, const char *); rlim_t login_getcaptime(login_cap_t *, const char *, rlim_t, rlim_t); rlim_t login_getcapnum(login_cap_t *, const char *, rlim_t, rlim_t); rlim_t login_getcapsize(login_cap_t *, const char *, rlim_t, rlim_t); -char *login_getpath(login_cap_t *, const char *, char *); +const char *login_getpath(login_cap_t *, const char *, const char *); int login_getcapbool(login_cap_t *, const char *, int); const char *login_setcryptfmt(login_cap_t *, const char *, const char *); =20 Index: login_class.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: /home/ncvs/src/lib/libutil/login_class.c,v retrieving revision 1.16 diff -u -p -r1.16 login_class.c --- login_class.c 30 Sep 2001 22:35:07 -0000 1.16 +++ login_class.c 8 Apr 2002 09:58:59 -0000 @@ -126,7 +126,7 @@ static struct login_vars { }; =20 static char * -substvar(char * var, const struct passwd * pwd, int hlen, int pch, int nle= n) +substvar(const char * var, const struct passwd * pwd, int hlen, int pch, i= nt nlen) { char *np =3D NULL; =20 @@ -137,12 +137,10 @@ substvar(char * var, const struct passwd =20 if (pwd !=3D NULL) { /* Count the number of ~'s in var to substitute */ - p =3D var; - for (p =3D var; (p =3D strchr(p, '~')) !=3D NULL; p++) + for (p =3D (char *)var; (p =3D strchr(p, '~')) !=3D NULL; p++) ++tildes; /* Count the number of $'s in var to substitute */ - p =3D var; - for (p =3D var; (p =3D strchr(p, '$')) !=3D NULL; p++) + for (p =3D (char *)var; (p =3D strchr(p, '$')) !=3D NULL; p++) ++dollas; } =20 @@ -197,8 +195,8 @@ setclassenvironment(login_cap_t *lc, con ++pch; =20 while (vars->tag !=3D NULL) { - char * var =3D paths ? login_getpath(lc, vars->tag, NULL) - : login_getcapstr(lc, vars->tag, NULL, NULL); + const char * var =3D paths ? login_getpath(lc, vars->tag, NULL) + : login_getcapstr(lc, vars->tag, NULL, NULL); =20 char * np =3D substvar(var, pwd, hlen, pch, nlen); =20 Index: login_crypt.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: /home/ncvs/src/lib/libutil/login_crypt.c,v retrieving revision 1.4 diff -u -p -r1.4 login_crypt.c --- login_crypt.c 30 Sep 2001 22:35:07 -0000 1.4 +++ login_crypt.c 8 Apr 2002 09:58:59 -0000 @@ -38,7 +38,7 @@ const char * login_setcryptfmt(login_cap_t *lc, const char *def, const char *error) { const char *cipher; =20 - cipher =3D login_getcapstr(lc, "passwd_format", (char *)def, NULL); + cipher =3D login_getcapstr(lc, "passwd_format", def, NULL); if (getenv("CRYPT_DEBUG") !=3D NULL) fprintf(stderr, "login_setcryptfmt: " "passwd_format =3D %s\n", cipher); %%% I will see how much breakage this adds to "buildworld". Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8sWzaUkv4P6juNwoRAunIAJ4wC0Qfenqg1nsoQO5qs+nSLPIRPACdESl9 IknCgUo9b95/azzgp87abQY= =DyX2 -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 3:15:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 5C55D37B400; Mon, 8 Apr 2002 03:15:20 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id ABEDC5309; Mon, 8 Apr 2002 12:15:18 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Ruslan Ermilov Cc: current@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c References: <200204072043.g37KhRi76699@freefall.freebsd.org> <20020408101138.GA68318@sunbay.com> From: Dag-Erling Smorgrav Date: 08 Apr 2002 12:15:17 +0200 In-Reply-To: <20020408101138.GA68318@sunbay.com> Message-ID: Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ruslan Ermilov writes: > On Sun, Apr 07, 2002 at 01:43:27PM -0700, Dag-Erling Smorgrav wrote: > > Log: > > Fix bug in previous commit that passed the wrong default value to > > login_getcapstr(3). Also fix a longer-standing bug (login_close(3) > > frees the string returned by login_getcapstr(3)) by reorganizing the > > code a little, and use login_getpwclass(3) instead of login_getclass(3) > > if we already have a struct pwd. > This change also broke the "Password:" prompt. The bug is hidden by > the -Wno-uninitialized setting in bsd.sys.mk. Here's the patch: The commit you quote *fixed* the bug you're referring to. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 4: 1:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 93EA037B400 for ; Mon, 8 Apr 2002 04:01:32 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g38B1NS75943; Mon, 8 Apr 2002 14:01:23 +0300 (EEST) (envelope-from ru) Date: Mon, 8 Apr 2002 14:01:23 +0300 From: Ruslan Ermilov To: Dag-Erling Smorgrav Cc: current@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c Message-ID: <20020408110123.GB68318@sunbay.com> References: <200204072043.g37KhRi76699@freefall.freebsd.org> <20020408101138.GA68318@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="neYutvxvOLaeuPCA" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --neYutvxvOLaeuPCA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 08, 2002 at 12:15:17PM +0200, Dag-Erling Smorgrav wrote: > Ruslan Ermilov writes: > > On Sun, Apr 07, 2002 at 01:43:27PM -0700, Dag-Erling Smorgrav wrote: > > > Log: > > > Fix bug in previous commit that passed the wrong default value to > > > login_getcapstr(3). Also fix a longer-standing bug (login_close(3) > > > frees the string returned by login_getcapstr(3)) by reorganizing the > > > code a little, and use login_getpwclass(3) instead of login_getclas= s(3) > > > if we already have a struct pwd. > > This change also broke the "Password:" prompt. The bug is hidden by > > the -Wno-uninitialized setting in bsd.sys.mk. Here's the patch: >=20 > The commit you quote *fixed* the bug you're referring to. >=20 You're right. I forgot to relink pam_ssh.so library, and the diff was against the wrong revision. I will still commit the "const poisoning" patch to libutil, as the impact turned out to be really low. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --neYutvxvOLaeuPCA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8sXiDUkv4P6juNwoRAnxZAJ986Q+shvQe4qTmcTNAqr1J1w/KrQCeMXl5 iAnMyEayeWM44AgnXHvJXOQ= =Z8rh -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 4:27: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 6840937B41B for ; Mon, 8 Apr 2002 04:26:46 -0700 (PDT) Received: from pool0083.cvx22-bradley.dialup.earthlink.net ([209.179.198.83] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16uXIA-0007EW-00; Mon, 08 Apr 2002 04:26:35 -0700 Message-ID: <3CB17E47.753ACB6@mindspring.com> Date: Mon, 08 Apr 2002 04:25:59 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Josef Karthauser Cc: current@freebsd.org Subject: Re: Kernel debugging - what's the procedure? References: <20020407091335.GA697@genius.tao.org.uk> <3CB01F95.ACCDAA82@mindspring.com> <20020407105959.GA14407@genius.tao.org.uk> <3CB0B1F0.F2D701F7@mindspring.com> <20020408093021.GA54610@genius.tao.org.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Josef Karthauser wrote: > > On Sun, Apr 07, 2002 at 01:54:08PM -0700, Terry Lambert wrote: > > Josef Karthauser wrote: > > > > You use another machine, and connect the serial ports together. > > > > See the handbook for details. > > > > > > I'd love to ;) but no additional machine is available at the moment. > > > > Then you install vmware, and Julian's back-to-back serial > > driver, and then run the kernel to be debuged in the vmware > > session. This lets you debug the kernel on a virtual > > machine (single CPU only). > > Yes I do have vmware, but it's not going to help me debug the usb stack > is it? (I know vmware3 does usb, but not if the underlying usb stack on > the host machine is also hosed). It's my understanding that you can assign resources to the vmware machine, which it can then permit to be accessed natively. Thus, if you gave your USB ports to the vmware virtual machine entirely, this would resolve the problem. The vmware3 support for usb appears (to me) to be a tunnel driver, like the standard network driver interface (e.g. it pretends to be hardware, and uses a host driver to contact the real hardware, so that its use can be multiplexed and thus the device accessed by etiher the real or the virtual machine). > > Well, since this is the -current list... have you updated > > recently? There were some recent changes by PHK to the dump > > format that may have broken/fixed things, if your answer to > > that question is yes/no, respectively. > > Yes, that's what I implied by the above paragraph. I was up-to-date > with sources yesterday. This is probably your problem. If you can back up to when the problem first appeared, or back out the kernel dump fule generation modifications, this would probably fix your problems. If you look at the -current list archives, you will see a number of posts which identify the files which have changed, and are probably what is breaking you [ comments on policy related to commits of kernel changes without corresponding commits to user space utilities elided ]. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 5:49:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id F112937B404; Mon, 8 Apr 2002 05:49:08 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 06A735309; Mon, 8 Apr 2002 14:49:04 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Ruslan Ermilov Cc: current@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c References: <200204072043.g37KhRi76699@freefall.freebsd.org> <20020408101138.GA68318@sunbay.com> <20020408110123.GB68318@sunbay.com> From: Dag-Erling Smorgrav Date: 08 Apr 2002 14:49:04 +0200 In-Reply-To: <20020408110123.GB68318@sunbay.com> Message-ID: Lines: 25 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ruslan Ermilov writes: > You're right. I forgot to relink pam_ssh.so library, and the diff was > against the wrong revision. I will still commit the "const poisoning" > patch to libutil, as the impact turned out to be really low. Thanks, const poisoning is a Good Thing [tm]. BTW, could you try to figure out a way we can split up the libpam build so the modules can depend on libpam.so? What I'd like is: 1) build static modules 2) build static and dynamic libpam 3) build dynamic modules (with dependency on libpam.so) or 1) build dynamic libpam 2) build modules (with dependency on libpam.so) 3) build static libpam or something similar. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 5:51:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id A356937B417 for ; Mon, 8 Apr 2002 05:51:46 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id B98F751E; Mon, 8 Apr 2002 13:50:44 +0100 (BST) Date: Mon, 8 Apr 2002 13:50:44 +0100 From: Josef Karthauser To: Terry Lambert Cc: current@freebsd.org Subject: Re: Kernel debugging - what's the procedure? Message-ID: <20020408125044.GC40990@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Terry Lambert , current@freebsd.org References: <20020407091335.GA697@genius.tao.org.uk> <3CB01F95.ACCDAA82@mindspring.com> <20020407105959.GA14407@genius.tao.org.uk> <3CB0B1F0.F2D701F7@mindspring.com> <20020408093021.GA54610@genius.tao.org.uk> <3CB17E47.753ACB6@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XWOWbaMNXpFDWE00" Content-Disposition: inline In-Reply-To: <3CB17E47.753ACB6@mindspring.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --XWOWbaMNXpFDWE00 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 08, 2002 at 04:25:59AM -0700, Terry Lambert wrote: >=20 > > Yes, that's what I implied by the above paragraph. I was up-to-date > > with sources yesterday. >=20 > This is probably your problem. >=20 > If you can back up to when the problem first appeared, or > back out the kernel dump fule generation modifications, > this would probably fix your problems. If you look at > the -current list archives, you will see a number of posts > which identify the files which have changed, and are probably > what is breaking you [ comments on policy related to commits > of kernel changes without corresponding commits to user space > utilities elided ]. Looking at todays commits it looks like the gdb/kernel coredump problem has been fixed, at bde's bequest. Joe --XWOWbaMNXpFDWE00 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyxkiQACgkQXVIcjOaxUBaiSACbBvrLQ1lsTyadVsySVN+TyDyw SnwAoLnSEOuhGPhMt4ndnYTBlmx80YX4 =nQEJ -----END PGP SIGNATURE----- --XWOWbaMNXpFDWE00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 6:24:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 4C26337B405 for ; Mon, 8 Apr 2002 06:24:15 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g38DMZS93159; Mon, 8 Apr 2002 16:22:35 +0300 (EEST) (envelope-from ru) Date: Mon, 8 Apr 2002 16:22:35 +0300 From: Ruslan Ermilov To: Mark Murray Cc: Dag-Erling Smorgrav , current@FreeBSD.ORG Subject: Re: 5-CURRENT source upgrade path is broken in PAM Message-ID: <20020408132235.GE68318@sunbay.com> References: <200203071716.g27HGqRV023976@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ns7jmDPpOpCD+GE/" Content-Disposition: inline In-Reply-To: <200203071716.g27HGqRV023976@grimreaper.grondar.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Ns7jmDPpOpCD+GE/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 07, 2002 at 05:16:52PM +0000, Mark Murray wrote: > > Mark Murray writes: > > > > Umm, IIRC 'make world' starts by doing a 'make includes' into > > > > /usr/obj, which should take care of this. > > > That is 'make world'. It was broken for "make obj && make depend && m= ake", > > > [...] > > > IMO, the repo-copy is the cleanest, because it solves te above proble= ms > > > in the most canonical way. > >=20 > > Please talk to Ruslan about this. I suggested doing just what you're > > thinking of about a month or two ago, and he rejected it. >=20 > Ruslan is not writing this code; we are. >=20 But Ruslan might have an idea because he has eaten a few dogs on "make world" issues. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --Ns7jmDPpOpCD+GE/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8sZmbUkv4P6juNwoRAqinAJ9RbDQa8R9mpDG0QA8kLEO0ZNX+cACfVqef D09MVEdxXDpIO2ifL/QdKII= =K49j -----END PGP SIGNATURE----- --Ns7jmDPpOpCD+GE/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 7: 5: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 1EDE137B417; Mon, 8 Apr 2002 07:04:46 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g38E4YW01835; Mon, 8 Apr 2002 17:04:34 +0300 (EEST) (envelope-from ru) Date: Mon, 8 Apr 2002 17:04:34 +0300 From: Ruslan Ermilov To: Dag-Erling Smorgrav , Mark Murray Cc: current@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c Message-ID: <20020408140434.GA94938@sunbay.com> References: <200204072043.g37KhRi76699@freefall.freebsd.org> <20020408101138.GA68318@sunbay.com> <20020408110123.GB68318@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 08, 2002 at 02:49:04PM +0200, Dag-Erling Smorgrav wrote: > Ruslan Ermilov writes: > > You're right. I forgot to relink pam_ssh.so library, and the diff was > > against the wrong revision. I will still commit the "const poisoning" > > patch to libutil, as the impact turned out to be really low. >=20 > Thanks, const poisoning is a Good Thing [tm]. >=20 > BTW, could you try to figure out a way we can split up the libpam > build so the modules can depend on libpam.so? What I'd like is: >=20 > 1) build static modules > 2) build static and dynamic libpam > 3) build dynamic modules (with dependency on libpam.so) >=20 > or >=20 > 1) build dynamic libpam > 2) build modules (with dependency on libpam.so) > 3) build static libpam >=20 > or something similar. >=20 That should be as simple as that: %%% Index: Makefile.inc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: /home/ncvs/src/lib/libpam/modules/Makefile.inc,v retrieving revision 1.10 diff -u -r1.10 Makefile.inc --- Makefile.inc 6 Apr 2002 19:32:37 -0000 1.10 +++ Makefile.inc 8 Apr 2002 14:03:39 -0000 @@ -9,11 +9,7 @@ CFLAGS+=3D -I${.CURDIR}/../../libpam WARNS?=3D 4 =20 -# This is nasty. -# For the static case, libpam.a depends on the modules. -# For the dynamic case, the modules depend on libpam.so.N -# Punt for the time being until I can figure out how to do it. -#DPADD+=3D ${LIBPAM} -#LDADD+=3D -lpam +# Break `checkdpadd' deliberately. +LDADD+=3D -lpam =20 .include "../Makefile.inc" %%% For the static case (Mark probably means building of libpam.a here), libpam.a indeed depends on the modules, but in the make(1) sense of dependency, which we (sorry, _you_ Mark :-) handle nicely with the STATIC_MODULES thingie. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8saNyUkv4P6juNwoRAgPeAJ0feB5zylwc42YULtkgdaqL4/fAHACfbc9M wHQ7VC2Saq5/Tqboql9bEUY= =8O7u -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 7:13:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id BD2D037B404; Mon, 8 Apr 2002 07:13:41 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 607675309; Mon, 8 Apr 2002 16:13:38 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Ruslan Ermilov Cc: Mark Murray , current@FreeBSD.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c References: <200204072043.g37KhRi76699@freefall.freebsd.org> <20020408101138.GA68318@sunbay.com> <20020408110123.GB68318@sunbay.com> <20020408140434.GA94938@sunbay.com> From: Dag-Erling Smorgrav Date: 08 Apr 2002 16:13:38 +0200 In-Reply-To: <20020408140434.GA94938@sunbay.com> Message-ID: Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ruslan Ermilov writes: > That should be as simple as that: > [...] Thank you very much! DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 8:59: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 53EDD37B400; Mon, 8 Apr 2002 08:58:49 -0700 (PDT) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.2/8.12.2) with ESMTP id g38FwnZG049415; Mon, 8 Apr 2002 08:58:49 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.2/8.12.2/Submit) id g38FwmFg049414; Mon, 8 Apr 2002 08:58:48 -0700 (PDT) Date: Mon, 8 Apr 2002 08:58:48 -0700 (PDT) From: David Wolfskill Message-Id: <200204081558.g38FwmFg049414@bunrab.catwhisker.org> To: joe@freebsd.org Subject: panic "sleeping without a mutex" in usb_task_thread Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On my laptop (but not the build machine; the latter may not have any USB devices) I get the following panic after builing, installing, & trying to boot -CURRENT from today. (CVSup log below panic trace.) an0: Ethernet address 00:40:96:32:19:a9 bpf: an0 attached panic: sleeping without a mutex Debugger("panic") Stopped at Debugger+0x40: xorl %eax,%eax db> trace Debugger(c03d647c) at Debugger+0x40 panic(c03d6cac,c021ffec,c8e4e000,c8e4e100,c8e4e000) at panic+0x70 msleep(c0442d98,0,5c,c03c7784,0) at msleep+0x23 usb_task_thread(0,c8e6ad48,c8e4e100,c021ffec,0) at usb_task_thread+0x23 fork_exit(c021ffec,0,c8e6ad48) at fork_exit+0x8c fork_trampoline() at fork_trampoline+0x37 db>show locks db>show witness [scrolls off screen] db> [Above was hand-transcribed; I don't have a serial console on my laptop, and I'm not running VMware.] Recent CVSup history: freebeast(4.5-S)[1] tail /var/log/cvsup-history.log CVSup begin from cvsup14.freebsd.org at Thu Apr 4 03:47:06 PST 2002 CVSup ended from cvsup14.freebsd.org at Thu Apr 4 03:53:56 PST 2002 CVSup begin from cvsup14.freebsd.org at Fri Apr 5 03:47:02 PST 2002 CVSup ended from cvsup14.freebsd.org at Fri Apr 5 03:54:13 PST 2002 CVSup begin from cvsup14.freebsd.org at Sat Apr 6 03:47:02 PST 2002 CVSup ended from cvsup14.freebsd.org at Sat Apr 6 03:54:32 PST 2002 CVSup begin from cvsup14.freebsd.org at Sun Apr 7 03:47:03 PDT 2002 CVSup ended from cvsup14.freebsd.org at Sun Apr 7 03:53:32 PDT 2002 CVSup begin from cvsup14.freebsd.org at Mon Apr 8 03:47:02 PDT 2002 CVSup ended from cvsup14.freebsd.org at Mon Apr 8 03:53:43 PDT 2002 freebeast(4.5-S)[2] I can leave it in this condition for a while, if it would be helpful to poke around at all. Cheers, david -- David H. Wolfskill david@catwhisker.org Based on my experience as a computing professional, I consider the use of Microsoft products as components of computing systems to be just as advisable as using green wood to frame a house... and expect similar results. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 9: 1:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [203.138.71.44]) by hub.freebsd.org (Postfix) with ESMTP id 4157137B417; Mon, 8 Apr 2002 09:01:20 -0700 (PDT) Received: from localhost (snowwind.kawasaki3.org [210.136.45.51]) by mbg.sphere.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id BAA07738; Tue, 9 Apr 2002 01:01:14 +0900 (JST) Date: Tue, 09 Apr 2002 01:01:08 +0900 (JST) Message-Id: <20020409.010108.74681017.kawasaki@mbg.sphere.ne.jp> To: james@floondoon.com Cc: benno@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Intel i830 driver? From: moto kawasaki In-Reply-To: <01b601c1dd2c$e6ec2620$0feba8c0@sphynx> References: <01ad01c1dd2a$6175ce80$0feba8c0@sphynx> <1018070608.391.1.camel@ratchet.jeamland.net> <01b601c1dd2c$e6ec2620$0feba8c0@sphynx> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, all From: "James Satterfield" Subject: Re: Intel i830 driver? Date: Fri, 5 Apr 2002 21:35:46 -0800 Message-ID: <01b601c1dd2c$e6ec2620$0feba8c0@sphynx> james> I have a Dell Latitude C400 with an Intel i830M graphics chip. Running james> 4.5-stable, the i810 driver complains about not finding the (I assume AGP) james> bridge device. Here's my dmesg. I am struggling the same issue too, and trying to support i830MG as /dev/agpgart on FreeBSD 4.5-STABLE. Unfortunately I have not succeeded but you can take a look at my patches at http://snowwind.kawasaki3.org/. # Please note that these patch is NOT completed. Thank you very much. moto kawasaki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 9:55:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from trot.galis.org (ool-18bd0cd9.dyn.optonline.net [24.189.12.217]) by hub.freebsd.org (Postfix) with ESMTP id C966F37B400; Mon, 8 Apr 2002 09:55:23 -0700 (PDT) Received: (from gx@localhost) by trot.galis.org (8.11.6/8.11.6) id g38Gt9j19084; Mon, 8 Apr 2002 12:55:09 -0400 Date: Mon, 8 Apr 2002 12:55:09 -0400 From: George Georgalis To: sthaug@nethelp.no Cc: peter@wemm.org, phk@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: patch: make syslog stop spamming any root it finds... Message-ID: <20020408125509.I3925@trot.haven.dom> References: <20020406021240.5E197390B@overcee.wemm.org> <44340.1018075191@verdi.nethelp.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <44340.1018075191@verdi.nethelp.no>; from sthaug@nethelp.no on Sat, Apr 06, 2002 at 08:39:51AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Apr 06, 2002 at 08:39:51AM +0200, sthaug@nethelp.no wrote: >> > > I have always hated the three lines in /etc/syslog.conf which spams >> > > root with far too many and far too irrellevant syslog messages, in >> > > some cases even with several copies of them. >> > >> > Amen to that. You got my vote. Usually when I set up a FreeBSD box, it's >> > the first thing I turn off. I say commit it. >> >> Likewise, it's the first thing I turn off, as well as the *.emerg line >> that broadcasts to all users. > >Same here. First things removed on a fresh FreeBSD install. Please >commit. > Not only the first thing I do with a new FreeBSD box, the first thing I did on FreeBSD: remove those 3 lines from syslog.conf that tell you how many people are poping their mail etc. // George -- GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229 Security Services, Web, Mail, mailto:george@galis.org File, Print, DB and DNS Servers. http://www.galis.org/george To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 10:33:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail16.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id E508337B41E for ; Mon, 8 Apr 2002 10:33:42 -0700 (PDT) Received: (qmail 3730 invoked from network); 8 Apr 2002 17:33:40 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 Apr 2002 17:33:40 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g38HYRv45448; Mon, 8 Apr 2002 13:34:27 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200204081558.g38FwmFg049414@bunrab.catwhisker.org> Date: Mon, 08 Apr 2002 12:33:40 -0400 (EDT) From: John Baldwin To: David Wolfskill Subject: RE: panic "sleeping without a mutex" in usb_task_thread Cc: current@freebsd.org, joe@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 08-Apr-2002 David Wolfskill wrote: > On my laptop (but not the build machine; the latter may not have any USB > devices) I get the following panic after builing, installing, & trying > to boot -CURRENT from today. (CVSup log below panic trace.) > > an0: Ethernet address 00:40:96:32:19:a9 > bpf: an0 attached > panic: sleeping without a mutex > Debugger("panic") > Stopped at Debugger+0x40: xorl %eax,%eax > db> trace > Debugger(c03d647c) at Debugger+0x40 > panic(c03d6cac,c021ffec,c8e4e000,c8e4e100,c8e4e000) at panic+0x70 > msleep(c0442d98,0,5c,c03c7784,0) at msleep+0x23 > usb_task_thread(0,c8e6ad48,c8e4e100,c021ffec,0) at usb_task_thread+0x23 > fork_exit(c021ffec,0,c8e6ad48) at fork_exit+0x8c > fork_trampoline() at fork_trampoline+0x37 > db>show locks > db>show witness [scrolls off screen] > db> > > [Above was hand-transcribed; I don't have a serial console on my laptop, > and I'm not running VMware.] > > Recent CVSup history: > freebeast(4.5-S)[1] tail /var/log/cvsup-history.log > CVSup begin from cvsup14.freebsd.org at Thu Apr 4 03:47:06 PST 2002 > CVSup ended from cvsup14.freebsd.org at Thu Apr 4 03:53:56 PST 2002 > CVSup begin from cvsup14.freebsd.org at Fri Apr 5 03:47:02 PST 2002 > CVSup ended from cvsup14.freebsd.org at Fri Apr 5 03:54:13 PST 2002 > CVSup begin from cvsup14.freebsd.org at Sat Apr 6 03:47:02 PST 2002 > CVSup ended from cvsup14.freebsd.org at Sat Apr 6 03:54:32 PST 2002 > CVSup begin from cvsup14.freebsd.org at Sun Apr 7 03:47:03 PDT 2002 > CVSup ended from cvsup14.freebsd.org at Sun Apr 7 03:53:32 PDT 2002 > CVSup begin from cvsup14.freebsd.org at Mon Apr 8 03:47:02 PDT 2002 > CVSup ended from cvsup14.freebsd.org at Mon Apr 8 03:53:43 PDT 2002 > freebeast(4.5-S)[2] > > I can leave it in this condition for a while, if it would be helpful to > poke around at all. show witness isn't useful to most people so I would avoid it unless someone explicitly asks for it. The problem here is likely due to the usb_task_thread() not locking Giant when it starts up. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 11: 1:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id E46CD37B41A; Mon, 8 Apr 2002 11:00:55 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id BB1B05A8; Mon, 8 Apr 2002 18:59:52 +0100 (BST) Date: Mon, 8 Apr 2002 18:59:52 +0100 From: Josef Karthauser To: John Baldwin Cc: David Wolfskill , current@freebsd.org Subject: Re: panic "sleeping without a mutex" in usb_task_thread Message-ID: <20020408175952.GA83305@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , John Baldwin , David Wolfskill , current@freebsd.org References: <200204081558.g38FwmFg049414@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 08, 2002 at 12:33:40PM -0400, John Baldwin wrote: =20 > show witness isn't useful to most people so I would avoid it unless someo= ne > explicitly asks for it. The problem here is likely due to the > usb_task_thread() not locking Giant when it starts up. We probably want this: Index: usb.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: /home/ncvs/src/sys/dev/usb/usb.c,v retrieving revision 1.75 diff -u -5 -r1.75 usb.c --- usb.c 7 Apr 2002 14:21:32 -0000 1.75 +++ usb.c 8 Apr 2002 17:58:38 -0000 @@ -423,10 +423,14 @@ usb_task_thread(void *arg) { struct usb_task *task; int s; =20 +#ifdef __FreeBSD__ + mtx_lock(&Giant); +#endif + DPRINTF(("usb_task_thread: start\n")); =20 s =3D splusb(); for (;;) { task =3D TAILQ_FIRST(&usb_all_tasks); Joe --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyx2pgACgkQXVIcjOaxUBb0hQCgiQQ9Gt1m8irSLpzrLWlT41CB RwAAn03W5saUdVDyDeJRaqdliLuvV2Qd =9pxK -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 11:37:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 6250837B416 for ; Mon, 8 Apr 2002 11:37:52 -0700 (PDT) Received: (qmail 15728 invoked from network); 8 Apr 2002 18:37:50 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 Apr 2002 18:37:50 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g38Icgv45619; Mon, 8 Apr 2002 14:38:42 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020408175952.GA83305@genius.tao.org.uk> Date: Mon, 08 Apr 2002 13:37:55 -0400 (EDT) From: John Baldwin To: Josef Karthauser Subject: Re: panic "sleeping without a mutex" in usb_task_thread Cc: current@freebsd.org, David Wolfskill Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 08-Apr-2002 Josef Karthauser wrote: > On Mon, Apr 08, 2002 at 12:33:40PM -0400, John Baldwin wrote: > >> show witness isn't useful to most people so I would avoid it unless someone >> explicitly asks for it. The problem here is likely due to the >> usb_task_thread() not locking Giant when it starts up. > > We probably want this: Probably unless some USB specific locks are added instead, but this is the easier fix for the time being. > Index: usb.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/usb/usb.c,v > retrieving revision 1.75 > diff -u -5 -r1.75 usb.c > --- usb.c 7 Apr 2002 14:21:32 -0000 1.75 > +++ usb.c 8 Apr 2002 17:58:38 -0000 > @@ -423,10 +423,14 @@ > usb_task_thread(void *arg) > { > struct usb_task *task; > int s; > > +#ifdef __FreeBSD__ > + mtx_lock(&Giant); > +#endif > + > DPRINTF(("usb_task_thread: start\n")); > > s = splusb(); > for (;;) { > task = TAILQ_FIRST(&usb_all_tasks); > > > Joe -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 11:39:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 4E64137B400; Mon, 8 Apr 2002 11:39:30 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id 925A5410; Mon, 8 Apr 2002 19:38:29 +0100 (BST) Date: Mon, 8 Apr 2002 19:38:29 +0100 From: Josef Karthauser To: John Baldwin Cc: current@freebsd.org, David Wolfskill Subject: Re: panic "sleeping without a mutex" in usb_task_thread Message-ID: <20020408183829.GB85649@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , John Baldwin , current@freebsd.org, David Wolfskill References: <20020408175952.GA83305@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 08, 2002 at 01:37:55PM -0400, John Baldwin wrote: >=20 > On 08-Apr-2002 Josef Karthauser wrote: > > On Mon, Apr 08, 2002 at 12:33:40PM -0400, John Baldwin wrote: > > =20 > >> show witness isn't useful to most people so I would avoid it unless so= meone > >> explicitly asks for it. The problem here is likely due to the > >> usb_task_thread() not locking Giant when it starts up. > >=20 > > We probably want this: >=20 > Probably unless some USB specific locks are added instead, but this is the > easier fix for the time being. >=20 Cool. I've committed this; where should I look to get a low down on what to lock, when and how? Is there anything other than source to refer to? Joe --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyx46UACgkQXVIcjOaxUBZAqQCg1oToZIx39FaVjneiNDZo2dOr ZYEAmgIXJx37w3dhK+MNObBxNrnFdeVn =ftAp -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 13:30:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 3567D37B416 for ; Mon, 8 Apr 2002 13:30:51 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g38KUnYm091460; Mon, 8 Apr 2002 13:30:49 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g38KTXHn091424; Mon, 8 Apr 2002 13:29:33 -0700 (PDT) Date: Mon, 8 Apr 2002 13:29:33 -0700 From: "David O'Brien" To: Alexander Leidinger Cc: current@freebsd.org Subject: Re: ld-elf.so.1 broken with world from yesterday Message-ID: <20020408132933.A91305@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <3CB16BD9.9040509@Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CB16BD9.9040509@Leidinger.net>; from Alexander@Leidinger.net on Mon, Apr 08, 2002 at 11:07:21AM +0100 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 08, 2002 at 11:07:21AM +0100, Alexander Leidinger wrote: > > yesterday I've made a new world. After booting it, ld-elf-so.1 complains > about every library (libc, libutil, ...). My -current is not usable > anymore because of this. Defined "complains". freebsd-current readers should know to spend EXACT error messages. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 13:47:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail17.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id AC99337B416 for ; Mon, 8 Apr 2002 13:47:09 -0700 (PDT) Received: (qmail 4943 invoked from network); 8 Apr 2002 20:47:07 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 Apr 2002 20:47:07 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g38Klvv46131; Mon, 8 Apr 2002 16:47:57 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020408183829.GB85649@genius.tao.org.uk> Date: Mon, 08 Apr 2002 16:47:00 -0400 (EDT) From: John Baldwin To: Josef Karthauser Subject: Re: panic "sleeping without a mutex" in usb_task_thread Cc: David Wolfskill , current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 08-Apr-2002 Josef Karthauser wrote: > On Mon, Apr 08, 2002 at 01:37:55PM -0400, John Baldwin wrote: >> >> On 08-Apr-2002 Josef Karthauser wrote: >> > On Mon, Apr 08, 2002 at 12:33:40PM -0400, John Baldwin wrote: >> > >> >> show witness isn't useful to most people so I would avoid it unless >> >> someone >> >> explicitly asks for it. The problem here is likely due to the >> >> usb_task_thread() not locking Giant when it starts up. >> > >> > We probably want this: >> >> Probably unless some USB specific locks are added instead, but this is the >> easier fix for the time being. >> > > Cool. I've committed this; where should I look to get a low down on > what to lock, when and how? Is there anything other than source to > refer to? Nothing besides the source really. If it's walking a list you might use a lock to protect the list for example, but then you might need to conditionally get Giant while performing an action on the list. > Joe -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Mon Apr 8 15:59:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from owa1.digisle.com (ex-owa-sj.digisle.com [165.193.27.217]) by hub.freebsd.org (Postfix) with ESMTP id C01DF37B434 for ; Mon, 8 Apr 2002 15:59:12 -0700 (PDT) Received: from digisle.net ([206.220.227.145] RDNS failed) by owa1.digisle.com over TLS secured channel with Microsoft SMTPSVC(5.0.2195.2966); Mon, 8 Apr 2002 15:59:12 -0700 Message-ID: <3CB220BF.A98DCB82@digisle.net> Date: Mon, 08 Apr 2002 15:59:11 -0700 From: Maksim Yevmenkin Organization: Digital Island X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Fatal double fault on -current Content-Type: multipart/mixed; boundary="------------F53DCFF46B83320730353000" X-OriginalArrivalTime: 08 Apr 2002 22:59:12.0145 (UTC) FILETIME=[FF958010:01C1DF50] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------F53DCFF46B83320730353000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hackers, for the last couple of days i was able to crash my -current laptop with "Fatal double fault" panic whenever i wanted. i have created a small "spherical cow" :) to demonstrate the problem (see attached). this is pretty much what my code does. just compile and load the "cow" and then try # ngctl msg cow: moo i'm suspecting m_split() and have attached tiny path that fixes problem for me. of course it might be just my fault :) and i'm missing some small thing. "... if you think you found the bug - you don't... " thanks, max --------------F53DCFF46B83320730353000 Content-Type: text/plain; charset=us-ascii; name="ng_cow.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ng_cow.c" /* * ng_cow.c * * Copyright (c) 2001-2002 Maksim Yevmenkin * 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 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 POSSIBILITY OF * SUCH DAMAGE. */ #include #include #include #include #include #include #include #include #include #define NG_COW_NODE_TYPE "cow" #define NGM_COW_COOKIE 1018303300 #define NGM_COW_MOO 1 /* MALLOC define */ #ifdef NG_SEPARATE_MALLOC MALLOC_DEFINE(M_NETGRAPH_COW, "cow", "Netgraph spherical cow"); #else #define M_NETGRAPH_COW M_NETGRAPH #endif /* NG_SEPARATE_MALLOC */ /* Netgraph node methods */ static ng_constructor_t ng_cow_constructor; static ng_rcvmsg_t ng_cow_rcvmsg; static ng_shutdown_t ng_cow_shutdown; static ng_newhook_t ng_cow_newhook; static ng_connect_t ng_cow_connect; static ng_rcvdata_t ng_cow_rcvdata; static ng_disconnect_t ng_cow_disconnect; static int ng_cow_modevent __P((module_t, int, void *)); /* Netgraph node command list */ static const struct ng_cmdlist ng_cow_cmdlist[] = { { NGM_COW_COOKIE, NGM_COW_MOO, "moo", NULL, NULL }, { 0, } }; /* Netgraph type descriptor */ static struct ng_type typestruct = { NG_ABI_VERSION, NG_COW_NODE_TYPE, /* typename */ ng_cow_modevent, /* modevent */ ng_cow_constructor, /* constructor */ ng_cow_rcvmsg, /* control message */ ng_cow_shutdown, /* destructor */ ng_cow_newhook, /* new hook */ NULL, /* find hook */ ng_cow_connect, /* connect hook */ ng_cow_rcvdata, /* data */ ng_cow_disconnect, /* disconnect hook */ ng_cow_cmdlist /* node command list */ }; NETGRAPH_INIT(cow, &typestruct); MODULE_VERSION(ng_cow, 1); static int ng_cow_moo __P((void)); static struct mbuf * ng_cow_prepend __P((struct mbuf *, int)); /***************************************************************************** ***************************************************************************** ** Netgraph node interface ***************************************************************************** *****************************************************************************/ static node_p the_node = NULL; /* * Handle loading and unloading for this node type */ static int ng_cow_modevent(mod, event, data) module_t mod; int event; void *data; { int error = 0; switch (event) { case MOD_LOAD: error = ng_make_node_common(&typestruct, &the_node); if (error != 0) break; error = ng_name_node(the_node, NG_COW_NODE_TYPE); if (error != 0) { NG_NODE_UNREF(the_node); the_node = NULL; break; } break; case MOD_UNLOAD: error = EBUSY; break; default: error = EOPNOTSUPP; break; } return (error); } /* ng_cow_modevent */ /* * Only one node is allowed and it is created when module is loaded */ static int ng_cow_constructor(node) node_p node; { return (EINVAL); } /* ng_cow_constructor */ /* * We do not allow any hook to be connected to the node. */ static int ng_cow_newhook(node, hook, name) node_p node; hook_p hook; char const *name; { return (EINVAL); } /* ng_cow_newhook */ /* * Just say NO! */ static int ng_cow_connect(hook) hook_p hook; { return (EINVAL); } /* ng_cow_connect */ /* * Hook disconnection */ static int ng_cow_disconnect(hook) hook_p hook; { return (0); } /* ng_cow_disconnect */ /* * Do local shutdown processing */ static int ng_cow_shutdown(node) node_p node; { if (ng_make_node_common(&typestruct, &the_node) != 0) { the_node = NULL; goto out; } if (ng_name_node(the_node, NG_COW_NODE_TYPE) != 0) { NG_NODE_UNREF(the_node); the_node = NULL; } out: return (0); } /* ng_cow_shutdown */ /* * Process incoming messages */ static int ng_cow_rcvmsg(node, item, hook) node_p node; item_p item; hook_p hook; { struct ng_mesg *msg = NULL; int error = 0; /* Detach message */ NGI_GET_MSG(item, msg); /* Process message */ switch (msg->header.typecookie) { case NGM_COW_COOKIE: switch (msg->header.cmd) { case NGM_COW_MOO: error = ng_cow_moo(); break; default: error = EINVAL; break; } break; default: error = EINVAL; break; } NG_FREE_MSG(msg); return (error); } /* ng_cow_rcvmsg */ /* * Receive data on a hook */ static int ng_cow_rcvdata(hook, item) hook_p hook; item_p item; { NG_FREE_ITEM(item); return (0); } /* ng_cow_rcvdata */ /* * MOO */ static int ng_cow_moo(void) { #define DATA_SIZE 4100 #define CHUNK_SIZE 128 struct mbuf *m0 = NULL, *m = NULL, *first = NULL, *last = NULL; char data[DATA_SIZE]; int error = 0; bzero(data, sizeof(data)); MGETHDR(m0, M_DONTWAIT, MT_DATA); if (m0 == NULL) return (ENOBUFS); /* Copy data into mbuf starting at +4 bytes */ m0->m_pkthdr.len = m0->m_len = 4; m_copyback(m0, m0->m_len, sizeof(data), data); /* Prepend mbuf with 4 bytes */ m0 = ng_cow_prepend(m0, 4); if (m0 == NULL) return (ENOBUFS); /* Split result mbuf into chunks and link then via m_nextpkt */ while (m0 != NULL) { int len = m0->m_pkthdr.len; if (len > CHUNK_SIZE) { m = m_split(m0, CHUNK_SIZE, M_DONTWAIT); if (m == NULL) { error = ENOBUFS; break; } } /* Prepend chunk with another 4 bytes */ m0 = ng_cow_prepend(m0, 4); if (m0 == NULL) { error = ENOBUFS; break; } /* Add chunk to the list */ m0->m_nextpkt = NULL; if (last == NULL) first = last = m0; else { last->m_nextpkt = m0; last = m0; } m0 = m; m = NULL; } NG_FREE_M(m0); NG_FREE_M(m); while (first != NULL) { m = first->m_nextpkt; m_freem(first); first = m; } return (error); } /* ng_cow_moo */ /* * prepend mbuf with size bytes */ static struct mbuf * ng_cow_prepend(m, size) struct mbuf *m; int size; { M_PREPEND(m, size, M_DONTWAIT); if (m == NULL || (m->m_len < size && (m = m_pullup(m, size)) == NULL)) return (NULL); return (m); } /* ng_cow_prepend */ --------------F53DCFF46B83320730353000 Content-Type: text/plain; charset=us-ascii; name="Makefile" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Makefile" CFLAGS+= -g KMOD= ng_cow SRCS= ng_cow.c NOMAN= .include --------------F53DCFF46B83320730353000 Content-Type: text/plain; charset=us-ascii; name="uipc_mbuf.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="uipc_mbuf.c.diff" --- uipc_mbuf.c.orig Mon Apr 8 14:40:23 2002 +++ uipc_mbuf.c Mon Apr 8 14:40:43 2002 @@ -584,6 +584,7 @@ if (remain > MHLEN) { /* m can't be the lead packet */ MH_ALIGN(n, 0); + n->m_len = 0; n->m_next = m_split(m, len, wait); if (n->m_next == NULL) { (void) m_free(n); --------------F53DCFF46B83320730353000 Content-Type: text/plain; charset=us-ascii; name="info.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="info.txt" FreeBSD beetle 5.0-CURRENT FreeBSD 5.0-CURRENT #20: Mon Apr 8 14:45:30 PDT 2002 max@beetle:/usr/src/sys/i386/compile/BEETLE i386 Fatal double fault: eip = 0xc01bb5b4 esp = 0xc9ffc000 ebp = 0xc9ffc00c panic: double fault Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #20: Mon Apr 8 14:45:30 PDT 2002 max@beetle:/usr/src/sys/i386/compile/BEETLE Preloaded elf kernel "/boot/kernel/kernel" at 0xc03ba000. Preloaded elf module "/boot/kernel/nmdm.ko" at 0xc03ba0a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 597789434 Hz CPU: Pentium III/Pentium III Xeon/Celeron (597.79-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x383f9ff real memory = 134086656 (130944K bytes) avail memory = 126636032 (123668K bytes) Pentium Pro MTRR support enabled Using $PIR table, 10 entries at 0xc00f0130 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 3.0 on pci0 isa0: on isab0 isab1: at device 5.0 on pci0 atapci0: port 0xfff0-0xffff at device 5.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xff80-0xff9f irq 11 at device 5.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.00/1.00, addr 2 uhub1: 4 ports with 4 removable, self powered pci0: at device 5.3 (no driver attached) pci0: at device 9.0 (no driver attached) pcm0: port 0xfefc-0xfeff,0xff00-0xff3f mem 0xefff8000-0xefffffff irq 11 at device 12.0 on pci0 pcm0: ac97 codec invalid or not present (id == 0) xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xfd80-0xfdff mem 0xefff7f80-0xefff7fff irq 11 at device 15.0 on pci0 xl0: Ethernet address: 00:00:39:8c:1e:26 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: