From owner-freebsd-bugs Sun Mar 24 1:16:46 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id E989C37B404 for ; Sun, 24 Mar 2002 01:16:41 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 24 Mar 2002 09:16:41 +0000 (GMT) Date: Sun, 24 Mar 2002 09:16:40 +0000 From: David Malone To: Eugene Grosbein Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV Message-ID: <20020324091640.GA54099@walton.maths.tcd.ie> References: <200203240340.g2O3e3458611@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200203240340.g2O3e3458611@freefall.freebsd.org> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Mar 23, 2002 at 07:40:03PM -0800, Eugene Grosbein wrote: > I tried just now. This script makes shell segfault in the same place: I just tried the script and wasn't able to get it to segfault. This is on a version of -STABLE from about the end of Feburary, but there have been no changes to sh since. How did you invoke the script? David. > cat /tmp/boom.sh #!/bin/sh v1=no if test $v1 = yes; then else if test $var; then echo OK fi fi > /tmp/boom.sh > sh /tmp/boom.sh > uname -a FreeBSD yipyip.home 4.5-STABLE FreeBSD 4.5-STABLE #22: Sat Mar 9 12:16:42 GMT 2 002 dwmalone@yipyip.home:/usr/src/sys/compile/YIPYIP i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 1:43:21 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86]) by hub.freebsd.org (Postfix) with ESMTP id 48B0337B41A for ; Sun, 24 Mar 2002 01:43:17 -0800 (PST) Received: (from eugen@localhost) by D00015.dialonly.kemerovo.su (8.11.6/8.11.6) id g2O9fwe01703; Sun, 24 Mar 2002 16:41:58 +0700 (KRAT) (envelope-from eugen) Date: Sun, 24 Mar 2002 16:41:58 +0700 From: Eugene Grosbein To: David Malone Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV Message-ID: <20020324164158.A1638@grosbein.pp.ru> References: <200203240340.g2O3e3458611@freefall.freebsd.org> <20020324091640.GA54099@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020324091640.GA54099@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Sun, Mar 24, 2002 at 09:16:40AM +0000 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Mar 24, 2002 at 09:16:40AM +0000, David Malone wrote: > I just tried the script and wasn't able to get it to segfault. > This is on a version of -STABLE from about the end of Feburary, > but there have been no changes to sh since. > How did you invoke the script? Just say ./boom.sh Very strange. > > > cat /tmp/boom.sh > #!/bin/sh > > v1=no > if test $v1 = yes; then > else > if test $var; then > echo OK > fi > fi Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 2:51: 6 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 295D837B41A for ; Sun, 24 Mar 2002 02:50:59 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020324105058.QGVK2951.rwcrmhc53.attbi.com@blossom.cjclark.org>; Sun, 24 Mar 2002 10:50:58 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g2OAovo81062; Sun, 24 Mar 2002 02:50:57 -0800 (PST) (envelope-from cjc) Date: Sun, 24 Mar 2002 02:50:57 -0800 From: "Crist J. Clark" To: Eugene Grosbein Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV Message-ID: <20020324025057.J48968@blossom.cjclark.org> References: <200203240340.g2O3e3458611@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200203240340.g2O3e3458611@freefall.freebsd.org>; from eugen@grosbein.pp.ru on Sat, Mar 23, 2002 at 07:40:03PM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Mar 23, 2002 at 07:40:03PM -0800, Eugene Grosbein wrote: > The following reply was made to PR bin/36232; it has been noted by GNATS. > > From: Eugene Grosbein > To: David Malone > Cc: FreeBSD-gnats-submit@FreeBSD.org > Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV > Date: Sun, 24 Mar 2002 10:29:24 +0700 > > On Sun, Mar 24, 2002 at 12:09:39AM +0000, David Malone wrote: > > > > System: FreeBSD D00015.dialonly.kemerovo.su 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Mar 20 08:57:16 KRAT 2002 eu@D00015.dialonly.kemerovo.su:/usr/local/obj/usr/local/src/sys/DADV i386 > > > CPUTYPE=i686 and no other optimizations > > > > Have you tested this by rebuilding sh without i686 optimisations? > > I tried just now. This script makes shell segfault in the same place: > > #!/bin/sh > > v1=no > if test $v1 = yes; then > else > if test $var; then > echo OK > fi > fi On a FreeBSD 4.5-STABLE from yesterday's source, this script runs fine (i.e. it does nothing). $ cat /etc/make.conf # $Id: make.conf,v 1.2 2002/03/07 20:45:22 cjc Exp $ # CPUTYPE= p3 DISTDIR?= /var/tmp/ports/distfiles WRKDIRPREFIX?= /var/tmp/ports KERNCONF?= GOKU -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 5:40: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1F74937B417 for ; Sun, 24 Mar 2002 05:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2ODe2g24742; Sun, 24 Mar 2002 05:40:02 -0800 (PST) (envelope-from gnats) Received: from flake.decibel.org (flake.decibel.org [216.254.40.10]) by hub.freebsd.org (Postfix) with SMTP id ACB7437B41C for ; Sun, 24 Mar 2002 05:33:07 -0800 (PST) Received: (qmail 28290 invoked by uid 1001); 24 Mar 2002 13:33:06 -0000 Message-Id: <20020324133306.28289.qmail@flake.decibel.org> Date: 24 Mar 2002 13:33:06 -0000 From: "Jim C.Nasby" Reply-To: "Jim C.Nasby" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/36250: /dev/vinum device entries have a group of wheel instead of operator Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36250 >Category: misc >Synopsis: /dev/vinum device entries have a group of wheel instead of operator >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 24 05:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jim C. Nasby >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD flake.decibel.org 4.5-STABLE FreeBSD 4.5-STABLE #4: Sun Mar 10 02:48:04 GMT 2002 root@flake.decibel.org:/usr/obj/usr/src/sys/FLAKE i386 >Description: All of the standard disk entries in /dev have a group of operator and are group readable, presumably to facilitate the use of dump by someone other than root. Because the vinum devices are owned by the wheel group by default, I have to manually chgrp them anytime vinum re-creates them. >How-To-Repeat: Create a vinum volume. :) >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 6:23:13 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 5DA9237B400; Sun, 24 Mar 2002 06:23:08 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g2OEMmk72830; Sun, 24 Mar 2002 09:22:48 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 24 Mar 2002 09:22:47 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Terry Lambert Cc: Willie Viljoen , freebsd-fs@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: Soft update instability with heavy IO and offboard IDE controller In-Reply-To: <3C9D64EA.BBE84A89@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 23 Mar 2002, Terry Lambert wrote: > Robert Watson wrote: > > On Sat, 23 Mar 2002, Terry Lambert wrote: > > > Disable write caching on the drives. THis is a FAQ. > > > > Hmm. I thought the wc bit should only affect this sort of scenario in the > > event that the system was actually powered off; otherwise, the hard disk > > can still flush to disk gradually as it. From the description, it seems > > the system panics, but power is never removed from the drives. That said, > > I wouldn't be surprised if the problem goes away on the basis that this > > will substantially change system behavior for performance reasons, hiding > > whatever subtle bug it is :-). > > The drive lies about commiting data to stable storage. This blows away > all the hard work soft updates does trying to ensure ordering. Yes, but that failure is only exposed to the operating system if the drive fails to actually write the data, which to my understanding, occurs only when there is a power loss to the drive. Otherwise, that inconsistency is never exposed because the drive guarantees that the data eventually makes it to the disk, and the version of the data exposed to the operating system is consistent with the operating system's expectations. In the submitted scenario, it sounded like there had been a panic and a reboot, but that the power had never been shut down to the drive. In that scenario, I would expect that the drive would present a consistent view to the OS on start-up, suggesting that the software failure involved in the panic might have been involved in generating the inconsistencies, or that there is a softupdates bug (the suggestion of the submitter). I.e., I don't think write caching is involved in this particular instance. I have to say that my answer on the ATA write caching is a UPS. :-) Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 6:32:21 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from prometheus.vh.laserfence.net (prometheus.laserfence.net [196.44.73.116]) by hub.freebsd.org (Postfix) with ESMTP id 4FEF637B41A; Sun, 24 Mar 2002 06:32:07 -0800 (PST) Received: from phoenix.vh.laserfence.net ([192.168.0.10]) by prometheus.vh.laserfence.net with esmtp (Exim 3.34 #1) id 16p92C-00004e-00; Sun, 24 Mar 2002 16:31:48 +0200 Date: Sun, 24 Mar 2002 16:31:48 +0200 (SAST) From: Willie Viljoen X-X-Sender: will@phoenix.vh.laserfence.net To: Robert Watson Cc: Terry Lambert , , Subject: Re: Soft update instability with heavy IO and offboard IDE controller In-Reply-To: Message-ID: <20020324162943.L307-100000@phoenix.vh.laserfence.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Well yes, there was a panic and reboot without power loss... the system first starts exhiting odd behavour, one of the error messages I've seen is similar to free inode /usr/197492 had 28 blocks After a while, the kernel panics and attempts to sync disks, and usually gives up on several buffers. This isn't normal, I think, but the problem seems to dissapear when I turn off write caching. Once I have the time (and some extra cash) to experiment, I might try a few different IDE controllers and see if the problem occurs with all of them. I know the drive is fine, since I have several of the same model drives on other machines which do not exhibit this behavour, but which run at ATA-66 because they all have oldish controllers. Will On Sun, 24 Mar 2002, Robert Watson wrote: > > On Sat, 23 Mar 2002, Terry Lambert wrote: > > > Robert Watson wrote: > > > On Sat, 23 Mar 2002, Terry Lambert wrote: > > > > Disable write caching on the drives. THis is a FAQ. > > > > > > Hmm. I thought the wc bit should only affect this sort of scenario in the > > > event that the system was actually powered off; otherwise, the hard disk > > > can still flush to disk gradually as it. From the description, it seems > > > the system panics, but power is never removed from the drives. That said, > > > I wouldn't be surprised if the problem goes away on the basis that this > > > will substantially change system behavior for performance reasons, hiding > > > whatever subtle bug it is :-). > > > > The drive lies about commiting data to stable storage. This blows away > > all the hard work soft updates does trying to ensure ordering. > > Yes, but that failure is only exposed to the operating system if the drive > fails to actually write the data, which to my understanding, occurs only > when there is a power loss to the drive. Otherwise, that inconsistency is > never exposed because the drive guarantees that the data eventually makes > it to the disk, and the version of the data exposed to the operating > system is consistent with the operating system's expectations. In the > submitted scenario, it sounded like there had been a panic and a reboot, > but that the power had never been shut down to the drive. In that > scenario, I would expect that the drive would present a consistent view to > the OS on start-up, suggesting that the software failure involved in the > panic might have been involved in generating the inconsistencies, or that > there is a softupdates bug (the suggestion of the submitter). I.e., I > don't think write caching is involved in this particular instance. > > I have to say that my answer on the ATA write caching is a UPS. :-) > > Robert N M Watson FreeBSD Core Team, TrustedBSD Project > robert@fledge.watson.org NAI Labs, Safeport Network Services > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-fs" in the body of the message > > > -- Willie Viljoen Private IT Consultant 214 Paul Kruger Avenue Universitas Bloemfontein 9321 South Africa +27 51 522 15 60, a/h +27 51 522 44 36 +27 82 404 03 27 will@laserfence.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 7:34:22 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86]) by hub.freebsd.org (Postfix) with ESMTP id 4E3C237B404; Sun, 24 Mar 2002 07:34:11 -0800 (PST) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by D00015.dialonly.kemerovo.su (8.11.6/8.11.6) with ESMTP id g2OFWiZ01569; Sun, 24 Mar 2002 22:32:44 +0700 (KRAT) (envelope-from eugen@grosbein.pp.ru) Message-ID: <3C9DF19B.592262CF@grosbein.pp.ru> Date: Sun, 24 Mar 2002 22:32:43 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.76 [ru] (X11; U; FreeBSD 4.5-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: "Crist J. Clark" Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV References: <200203240340.g2O3e3458611@freefall.freebsd.org> <20020324025057.J48968@blossom.cjclark.org> Content-Type: multipart/mixed; boundary="------------4D5C705C439A07A67032218E" Sender: owner-freebsd-bugs@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. --------------4D5C705C439A07A67032218E Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit I've built /bin/sh with debug as per comment in src/bin/sh/Makefile, using -g -DDEBUG=2 so it writes trace file till death. It is built without CPUTYPE also. Hope this will help. Please compare with yours. --------------4D5C705C439A07A67032218E Content-Type: text/plain; charset=koi8-r; name="trace" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="trace" Tracing started. Shell args: "/bin/sh.no686" "./test1" cmdloop(1) called token newline token newline token word v1=no pipeline: entered reread token word v1=no reread token word v1=no reread token word v1=no reread token word v1=no reread token word v1=no reread token word v1=no token newline reread token newline reread token newline reread token newline evaltree(0x80c01fc: 1) called evalcommand(0x80c01fc, 0) called builtin command: token word if pipeline: entered keyword "if" recognized reread token "if" reread token "if" reread token "if" reread token "if" token word test pipeline: entered reread token word test reread token word test reread token word test reread token word test reread token word test reread token word test token word ‚v1= token word = token word yes token ";" reread token ";" reread token ";" reread token ";" token word then keyword "then" recognized reread token "then" reread token "then" keyword "else" recognized token "else" reread token "else" keyword "if" recognized token "if" pipeline: entered reread token "if" reread token "if" reread token "if" reread token "if" token word test pipeline: entered reread token word test reread token word test reread token word test reread token word test reread token word test reread token word test token word ‚var= token ";" reread token ";" reread token ";" reread token ";" token word then keyword "then" recognized reread token "then" reread token "then" token word echo pipeline: entered reread token word echo reread token word echo reread token word echo reread token word echo reread token word echo reread token word echo token word OK token newline reread token newline reread token newline reread token newline keyword "fi" recognized token "fi" reread token "fi" reread token "fi" token newline reread token newline reread token newline reread token newline keyword "fi" recognized token "fi" reread token "fi" token newline reread token newline reread token newline reread token newline evaltree(0x80c01e8: 8) called evaltree(0x80c0250: 1) called evalcommand(0x80c0250, 2) called evalcommand arg: test evalcommand arg: no evalcommand arg: = evalcommand arg: yes builtin command: "test" "no" "=" "yes" evaltree(0x80c0274: 8) called evaltree(0x80c02b4: 1) called evalcommand(0x80c02b4, 2) called evalcommand arg: test builtin command: "test" --------------4D5C705C439A07A67032218E-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 8:37:25 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86]) by hub.freebsd.org (Postfix) with ESMTP id ABE0037B417; Sun, 24 Mar 2002 08:37:17 -0800 (PST) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by D00015.dialonly.kemerovo.su (8.11.6/8.11.6) with ESMTP id g2OGVQG02080; Sun, 24 Mar 2002 23:31:26 +0700 (KRAT) (envelope-from eugen@grosbein.pp.ru) Message-ID: <3C9DFF5E.A9394AAC@grosbein.pp.ru> Date: Sun, 24 Mar 2002 23:31:26 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.76 [ru] (X11; U; FreeBSD 4.5-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: "Crist J. Clark" Cc: freebsd-bugs@FreeBSD.ORG Subject: [SOLVED] Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV References: <200203240340.g2O3e3458611@freefall.freebsd.org> <20020324025057.J48968@blossom.cjclark.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm very sorry for bothering you, folks. The PR should be closed, the case has already been resolved in 1.40 of src/bin/test.c and even MFC'd. I just used this machine to produce patches making test builtin long time ago when it was not in the base tree. And I had unpatched copy of test.c in my src/bin/sh/bltin, it has been used while compiling instead of right src/bin/test.c. Now I've cleaned src/bin/sh/bltin, rebuilt shell and it does not segfault more. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 8:46:44 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E536937B400; Sun, 24 Mar 2002 08:46:42 -0800 (PST) Received: (from maxim@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2OGkbs73330; Sun, 24 Mar 2002 08:46:37 -0800 (PST) (envelope-from maxim) Date: Sun, 24 Mar 2002 08:46:37 -0800 (PST) From: Message-Id: <200203241646.g2OGkbs73330@freefall.freebsd.org> To: eugen@grosbein.pp.ru, maxim@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/36232: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: newly instroduced builtin 'test' of /bin/sh sometimes makes SIGSEGV State-Changed-From-To: feedback->closed State-Changed-By: maxim State-Changed-When: Sun Mar 24 08:44:46 PST 2002 State-Changed-Why: Submitter reported this bug has been fixed in rev. 1.40 bin/test/test.c. http://www.freebsd.org/cgi/query-pr.cgi?pr=36232 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 9:24:23 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id 2AB4037B419 for ; Sun, 24 Mar 2002 09:24:16 -0800 (PST) Received: (qmail 79496 invoked by uid 1000); 24 Mar 2002 17:24:36 -0000 Date: Sun, 24 Mar 2002 18:24:36 +0100 From: "Karsten W. Rohrbach" To: Robert Watson Cc: freebsd-fs@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: Soft update instability with heavy IO and offboard IDE controller Message-ID: <20020324182436.B79192@mail.webmonster.de> Mail-Followup-To: "Karsten W. Rohrbach" , Robert Watson , freebsd-fs@freebsd.org, freebsd-bugs@freebsd.org References: <3C9D64EA.BBE84A89@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@freebsd.org on Sun, Mar 24, 2002 at 09:22:47AM -0500 X-Arbitrary-Number-Of-The-Day: 42 X-URL: http://www.webmonster.de/ X-Disclaimer: My opinions do not necessarily represent those of my employer X-Work-URL: http://www.ngenn.net/ X-Work-Address: nGENn GmbH, Schloss Kransberg, D-61250 Usingen-Kransberg, Germany X-Work-Phone: +49-6081-682-304 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Robert Watson(rwatson@freebsd.org)@2002.03.24 09:22:47 +0000: > I have to say that my answer on the ATA write caching is a UPS. :-) i hope, this is not meant seriously. an ups keeps your system running in case of mains power outage, true. it does not help anything in the following (common) scenarios: - the power supply blows - bad power cable - neutron bombs ;-) honestly, judging from the quality of hardware you get in .de the first two things happen more often than a real power outage, so i'd say an ups is no viable solution when enabling ata wc. it may give you a warm fuzzy feeling, but that's about it :-) just my EUR 0.02, in case something makes it a FAQ to go into the handbook... /k --=20 > Markets are self-correcting. That's why I trust markets more than > governments. Governments usually aren't self-correcting, until too late.= =20 > --Interview with Walter Wriston as reported in Wired 4.10=20 KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.n= et/ GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 B= F46 My mail is GnuPG signed -- Unsigned ones are bogus -- http://www.gnupg.org/ Please do not remove my address from To: and Cc: fields in mailing lists. 1= 0x --4bRzO86E/ozDv8r1 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 iD8DBQE8ngvUM0BPTilkv0YRAsY4AJ4h6Hk/oPo3x/OzPnI9tBLiZ1K2EwCeMBhN bendgRNcfwnJ3o4kUIAIkKo= =L7b9 -----END PGP SIGNATURE----- --4bRzO86E/ozDv8r1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 9:36:25 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id E753837B419; Sun, 24 Mar 2002 09:36:19 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g2OHaEk76910; Sun, 24 Mar 2002 12:36:15 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 24 Mar 2002 12:36:13 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Karsten W. Rohrbach" Cc: freebsd-fs@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: Soft update instability with heavy IO and offboard IDE controller In-Reply-To: <20020324182436.B79192@mail.webmonster.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 24 Mar 2002, Karsten W. Rohrbach wrote: > Robert Watson(rwatson@freebsd.org)@2002.03.24 09:22:47 +0000: > > > I have to say that my answer on the ATA write caching is a UPS. :-) > > i hope, this is not meant seriously. an ups keeps your system running in > case of mains power outage, true. it does not help anything in the > following (common) scenarios: > - the power supply blows > - bad power cable > - neutron bombs ;-) > > honestly, judging from the quality of hardware you get in .de the first > two things happen more often than a real power outage, so i'd say an ups > is no viable solution when enabling ata wc. it may give you a warm fuzzy > feeling, but that's about it :-) > > just my EUR 0.02, in case something makes it a FAQ to go into the > handbook... In my area, power grid failure is a real problem, far more likely than power supply failure, unfortunately. Obviously, in the end, it's a tradeoff regarding performance and reliability. If you want real reliability, you have to buy hardware that actually behaves the way the software expects. I don't think anyone would be surprised if a future generation of IDE disks ignored the 'write cache disable' setting to gain performance. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 9:39:39 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from prometheus.vh.laserfence.net (prometheus.laserfence.net [196.44.73.116]) by hub.freebsd.org (Postfix) with ESMTP id 628C837B404; Sun, 24 Mar 2002 09:39:18 -0800 (PST) Received: from phoenix.vh.laserfence.net ([192.168.0.10]) by prometheus.vh.laserfence.net with esmtp (Exim 3.34 #1) id 16pBxQ-0000As-00; Sun, 24 Mar 2002 19:39:04 +0200 Date: Sun, 24 Mar 2002 19:39:03 +0200 (SAST) From: Willie Viljoen X-X-Sender: will@phoenix.vh.laserfence.net To: Robert Watson Cc: "Karsten W. Rohrbach" , , Subject: Re: Soft update instability with heavy IO and offboard IDE controller In-Reply-To: Message-ID: <20020324193812.Q307-100000@phoenix.vh.laserfence.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Robert, I wouldn't be in the least surprised, but let's all hope they don't go that way, for people who don't want to dish out the cash to buy the most stable (and expensive) hardware, it would be the end of reliability. On Sun, 24 Mar 2002, Robert Watson wrote: > > On Sun, 24 Mar 2002, Karsten W. Rohrbach wrote: > > > Robert Watson(rwatson@freebsd.org)@2002.03.24 09:22:47 +0000: > > > > > I have to say that my answer on the ATA write caching is a UPS. :-) > > > > i hope, this is not meant seriously. an ups keeps your system running in > > case of mains power outage, true. it does not help anything in the > > following (common) scenarios: > > - the power supply blows > > - bad power cable > > - neutron bombs ;-) > > > > honestly, judging from the quality of hardware you get in .de the first > > two things happen more often than a real power outage, so i'd say an ups > > is no viable solution when enabling ata wc. it may give you a warm fuzzy > > feeling, but that's about it :-) > > > > just my EUR 0.02, in case something makes it a FAQ to go into the > > handbook... > > In my area, power grid failure is a real problem, far more likely than > power supply failure, unfortunately. Obviously, in the end, it's a > tradeoff regarding performance and reliability. If you want real > reliability, you have to buy hardware that actually behaves the way the > software expects. I don't think anyone would be surprised if a future > generation of IDE disks ignored the 'write cache disable' setting to gain > performance. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Project > robert@fledge.watson.org NAI Labs, Safeport Network Services > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-fs" in the body of the message > > > -- Willie Viljoen Private IT Consultant 214 Paul Kruger Avenue Universitas Bloemfontein 9321 South Africa +27 51 522 15 60, a/h +27 51 522 44 36 +27 82 404 03 27 will@laserfence.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 12:50:18 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E145C37B417 for ; Sun, 24 Mar 2002 12:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2OKo1g25107; Sun, 24 Mar 2002 12:50:01 -0800 (PST) (envelope-from gnats) Received: from server.rucus.ru.ac.za (server.rucus.ru.ac.za [146.231.115.1]) by hub.freebsd.org (Postfix) with SMTP id F31F737B400 for ; Sun, 24 Mar 2002 12:41:54 -0800 (PST) Received: (qmail 78568 invoked from network); 24 Mar 2002 20:41:51 -0000 Received: from shell-fxp1.rucus.ru.ac.za (HELO shell.rucus.ru.ac.za) (10.0.0.1) by server.rucus.ru.ac.za with SMTP; 24 Mar 2002 20:41:50 -0000 Received: (qmail 80507 invoked by uid 2425); 24 Mar 2002 20:41:50 -0000 Message-Id: <20020324204150.80506.qmail@shell.rucus.ru.ac.za> Date: 24 Mar 2002 20:41:50 -0000 From: Jonathan Hitchcock Reply-To: Jonathan Hitchcock To: FreeBSD-gnats-submit@FreeBSD.org Cc: vhata@rucus.ru.ac.za X-Send-Pr-Version: 3.113 Subject: bin/36262: [PATCH] Fixed rusers idle-time reporting to use minutes instead of seconds Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36262 >Category: bin >Synopsis: [PATCH] Fixed rusers idle-time reporting to use minutes instead of seconds >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 24 12:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jonathan Hitchcock >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD shell.rucus.ru.ac.za 4.5-STABLE FreeBSD 4.5-STABLE #0: Mon Mar 4 16:55:49 SAST 2002 drs@shell.rucus.ru.ac.za:/usr/build/obj/usr/build/src/sys/RUCUS i386 >Description: The rusers program currently reports the idle-time of a user in days, hours, minutes and seconds. However, the utmp entries work only in minutes - they are not as fine as seconds. Thus, an idle time of 60 hours will be reported as 1:00:00, and an idle time of (60*24) == 1440 hours will be reported as 1 day, 0:00:00. In addition, idle times that are greater than the time logged in are reported - programs like 'w' check this, and only report idle times less than, or equal to, the time logged in. >How-To-Repeat: Request a long list (rusers -l) from a host where a user has been idle for any length of time - this time will be reported in incorrect units, although this is only apparent if the time is longer than 24 hours, and only especially apparent if it is longer than 1440 hours... To test it, the following code will demonstrate the problem: perl -e '$t=`tty`; chomp $t; $i=time-86400; utime $i, $i, $t;' ; w $LOGNAME ; rusers -l `hostname` | grep $LOGNAME Where '86400' is replaced by the idle time desired, of course. >Fix: The patch included with this bug-report removes the "seconds" assumption, working only in days, hours and minutes (but keeping the original output format of rusers, etc). In addition, it compares the idle time reported in the utmp info with the length of time that utmp thinks the user has been logged in, and truncates the idle time if it is longer than the logged-in time. --- rusers.patch begins here --- --- usr.bin/rusers/rusers.c.orig Sun Mar 24 20:16:59 2002 +++ usr.bin/rusers/rusers.c Sun Mar 24 21:31:11 2002 @@ -92,11 +92,12 @@ rusers_reply(char *replyp, struct sockaddr_in *raddrp) { int x, idle; + time_t now; char date[32], idle_time[64], remote[64]; struct hostent *hp; utmpidlearr *up = (utmpidlearr *)replyp; char *host; - int days, hours, minutes, seconds; + int days, hours, minutes; if (search_host(raddrp->sin_addr)) return (0); @@ -120,27 +121,27 @@ sizeof(date) - 1); idle = up->utmpidlearr_val[x].ui_idle; + now = (time(NULL))/60; + if((now - idle) < (up->utmpidlearr_val[x].ui_utmp.ut_time / 60)) { + // idle time is longer than login time + idle = now - (up->utmpidlearr_val[x].ui_utmp.ut_time / 60); + } sprintf(idle_time, " :%02d", idle); if (idle == MAX_INT) strcpy(idle_time, "??"); else if (idle == 0) strcpy(idle_time, ""); else { - seconds = idle; - days = seconds / (60 * 60 * 24); - seconds %= (60 * 60 * 24); - hours = seconds / (60 * 60); - seconds %= (60 * 60); - minutes = seconds / 60; - seconds %= 60; + minutes = idle; + days = minutes / (60 * 24); + minutes %= (60 * 24); + hours = minutes / 60; + minutes %= 60; if (idle > 60) - sprintf(idle_time, "%d:%02d", minutes, seconds); - if (idle >= (60 * 60)) - sprintf(idle_time, "%d:%02d:%02d", - hours, minutes, seconds); - if (idle >= (24 * 60 * 60)) - sprintf(idle_time, "%d days, %d:%02d:%02d", - days, hours, minutes, seconds); + sprintf(idle_time, "%d:%02d", hours, minutes); + if (idle >= (24 * 60)) + sprintf(idle_time, "%d days, %02d:%02d", + days, hours, minutes); } strncpy(remote, up->utmpidlearr_val[x].ui_utmp.ut_host, --- rusers.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 14:53:32 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F079237B419; Sun, 24 Mar 2002 14:53:29 -0800 (PST) Received: (from cjc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2OMrTU46672; Sun, 24 Mar 2002 14:53:29 -0800 (PST) (envelope-from cjc) Date: Sun, 24 Mar 2002 14:53:29 -0800 (PST) From: Message-Id: <200203242253.g2OMrTU46672@freefall.freebsd.org> To: cjc@FreeBSD.org, freebsd-bugs@FreeBSD.org, grog@FreeBSD.org Subject: Re: misc/36250: /dev/vinum device entries have a group of wheel instead of operator Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: /dev/vinum device entries have a group of wheel instead of operator Responsible-Changed-From-To: freebsd-bugs->grog Responsible-Changed-By: cjc Responsible-Changed-When: Sun Mar 24 14:52:35 PST 2002 Responsible-Changed-Why: To vinum(4,8) maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=36250 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 15:40: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 11A3337B405 for ; Sun, 24 Mar 2002 15:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2ONe2D56732; Sun, 24 Mar 2002 15:40:02 -0800 (PST) (envelope-from gnats) Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id EA75C37B404 for ; Sun, 24 Mar 2002 15:33:41 -0800 (PST) Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34]) by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id 8DC03871E for ; Mon, 25 Mar 2002 00:33:40 +0100 (CET) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id 9A4652C3D1; Mon, 25 Mar 2002 00:34:08 +0100 (CET) Message-Id: <20020324233408.9A4652C3D1@melusine.cuivre.fr.eu.org> Date: Mon, 25 Mar 2002 00:34:08 +0100 (CET) From: Thomas Quinot Reply-To: Thomas Quinot To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/36268: [patch] ipmon and ipfstat pick wrong versions of headers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36268 >Category: bin >Synopsis: [patch] ipmon and ipfstat pick wrong versions of headers >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 24 15:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Thomas Quinot >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD melusine.cuivre.fr.eu.org 4.5-STABLE FreeBSD 4.5-STABLE #23: Sun Mar 24 22:06:56 CET 2002 thomas@melusine.cuivre.fr.eu.org:/usr2/obj/usr2/src/sys/MELUSINE i386 >Description: When compiled in their own subdirectories, ipmon and ipfstat will pick IPFilter include files such as netinet/ip_fil.h from /usr/include instead of /usr/src. See also PR 29384 (a fix for ipfstat has been committed on -CURRENT last september, but was never MFC'd on RELENG_4), and sbin/ipfstat/Makefile revs 1.12 and 1.14. >How-To-Repeat: mv /usr/include/netinet/ip_fil.h /usr/include/netinet/ip_fil.h- cd /usr/src/sbin/ipmon; make cd /usr/src/sbin/ipfstat; make Neither make command will succeed, although ip_fil.h is present in /usr/src/sys/contrib/ipfilter/netinet/ip_fil.h. >Fix: --- src/sbin/ipmon/Makefile.dist Thu Dec 6 23:46:50 2001 +++ src/sbin/ipmon/Makefile Sun Mar 24 19:52:40 2002 @@ -6,7 +6,7 @@ MAN= ipl.4 ipmon.8 SRCS= ipmon.c -CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter +CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter -I${.CURDIR}/../../sys/contrib/ipfilter MAINTAINER= guido@freebsd.org --- src/sbin/ipfstat/Makefile.dist Sun Mar 24 19:55:11 2002 +++ src/sbin/ipfstat/Makefile Sun Mar 24 19:55:17 2002 @@ -7,6 +7,7 @@ SRCS= fils.c parse.c opt.c kmem.c facpri.c common.c CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP CFLAGS+=-I- -I${.CURDIR}/../../sys/contrib/ipfilter/netinet +CFLAGS+=-I- -I${.CURDIR}/../../sys/contrib/ipfilter CFLAGS+=-I${.CURDIR}/../../sys CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 15:49: 2 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 1C50C37B404; Sun, 24 Mar 2002 15:48:57 -0800 (PST) Received: from pool0344.cvx40-bradley.dialup.earthlink.net ([216.244.43.89] helo=mindspring.com) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16pHjH-0003hn-00; Sun, 24 Mar 2002 15:48:51 -0800 Message-ID: <3C9E65CE.5278B5C6@mindspring.com> Date: Sun, 24 Mar 2002 15:48:30 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Watson Cc: Willie Viljoen , freebsd-fs@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: Soft update instability with heavy IO and offboard IDE controller References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Robert Watson wrote: > > The drive lies about commiting data to stable storage. This blows away > > all the hard work soft updates does trying to ensure ordering. > > Yes, but that failure is only exposed to the operating system if the drive > fails to actually write the data, which to my understanding, occurs only > when there is a power loss to the drive. It depends on when the lie is perpetrated by the hardware. > I have to say that my answer on the ATA write caching is a UPS. :-) 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 17:30: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F21BD37B405 for ; Sun, 24 Mar 2002 17:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2P1U0h79150; Sun, 24 Mar 2002 17:30:00 -0800 (PST) (envelope-from gnats) Received: from descent.robbins.dropbear.id.au (227.c.001.mel.iprimus.net.au [203.134.131.227]) by hub.freebsd.org (Postfix) with ESMTP id 1523D37B400 for ; Sun, 24 Mar 2002 17:29:10 -0800 (PST) Received: (from tim@localhost) by descent.robbins.dropbear.id.au (8.11.6/8.11.6) id g2P1QCx16439; Mon, 25 Mar 2002 12:26:13 +1100 (EST) (envelope-from tim) Message-Id: <200203250126.g2P1QCx16439@descent.robbins.dropbear.id.au> Date: Mon, 25 Mar 2002 12:26:13 +1100 (EST) From: "Tim J. Robbins" Reply-To: "Tim J. Robbins" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/36270: join(1) SYNOPSIS and usage() are misleading Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36270 >Category: bin >Synopsis: join(1) SYNOPSIS and usage() are misleading >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 24 17:30:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Tim J. Robbins >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD descent.robbins.dropbear.id.au 4.5-STABLE FreeBSD 4.5-STABLE #17: Thu Mar 21 19:48:18 EST 2002 tim@descent.robbins.dropbear.id.au:/usr/obj/usr/src/sys/DESCENT i386 >Description: The SYNOPSIS section of join(1) and the usage() function in join.c indicate that you can invoke it as "join -a 2" (for example), which does not work due to hacks added to make obsolete syntax work. >How-To-Repeat: join -a 2 foo bar >Fix: This patch corrects the documentation. According to the SUSV3 standard, we should accept both -a2 and -a 2, and error when -a is used without an argument, however. The POSIX.2 conformance claim may also need to be removed from the manual page. Index: join.1 =================================================================== RCS file: /home/ncvs/src/usr.bin/join/join.1,v retrieving revision 1.7 diff -u -r1.7 join.1 --- join.1 2001/08/15 09:09:41 1.7 +++ join.1 2002/03/25 01:23:24 @@ -44,7 +44,7 @@ .Sh SYNOPSIS .Nm .Oo -.Fl a Ar file_number | Fl v Ar file_number +.Fl a Ns Ar file_number | Fl v Ar file_number .Oc .Op Fl e Ar string .Op Fl j Ar file_number field Index: join.c =================================================================== RCS file: /home/ncvs/src/usr.bin/join/join.c,v retrieving revision 1.11 diff -u -r1.11 join.c --- join.c 2002/03/22 01:22:46 1.11 +++ join.c 2002/03/25 01:23:29 @@ -590,7 +590,7 @@ usage() { (void)fprintf(stderr, "%s %s\n%s\n", - "usage: join [-a fileno | -v fileno ] [-e string] [-1 field]", + "usage: join [-afileno | -v fileno ] [-e string] [-1 field]", "[-2 field]", " [-o list] [-t char] file1 file2"); exit(1); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Mar 24 21: 0:32 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E923F37B419 for ; Sun, 24 Mar 2002 21:00:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2P508A26781; Sun, 24 Mar 2002 21:00:08 -0800 (PST) (envelope-from gnats) Received: from poit.suddendeceleration.com (dsl-64-193-28-189.telocity.com [64.193.28.189]) by hub.freebsd.org (Postfix) with ESMTP id D8C8737B41A for ; Sun, 24 Mar 2002 20:55:00 -0800 (PST) Received: (from root@localhost) by poit.suddendeceleration.com (8.11.6/8.11.6) id g2P4tEs01009; Sun, 24 Mar 2002 22:55:14 -0600 (CST) (envelope-from dlacroix) Message-Id: <200203250455.g2P4tEs01009@poit.suddendeceleration.com> Date: Sun, 24 Mar 2002 22:55:14 -0600 (CST) From: David LaCroix Reply-To: David LaCroix To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/36274: 75GXP drive ATA tagging failure makes df bus error? Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36274 >Category: kern >Synopsis: 75GXP drive ATA tagging failure makes df bus error? >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 24 21:00:08 PST 2002 >Closed-Date: >Last-Modified: >Originator: David LaCroix >Release: FreeBSD 4.5-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD poit.suddendeceleration.com 4.5-RELEASE-p1 FreeBSD 4.5-RELEASE-p1 #2: Wed Feb 27 00:06:44 CST 2002 dlacroix@poit.suddendeceleration.com:/usr/obj/usr/src/sys/POIT i386 > sysctl -a |grep ata kern.ipc.max_datalen: 156 hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.tags: 1 hw.ata.atapi_dma: 1 hw.atamodes: pio,---,dma,---,---,---,---,---, > df Bus error > dmesg 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 4.5-RELEASE-p1 #2: Wed Feb 27 00:06:44 CST 2002 dlacroix@poit.suddendeceleration.com:/usr/obj/usr/src/sys/POIT Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 756744639 Hz CPU: AMD Athlon(tm) Processor (756.74-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> real memory = 536788992 (524208K bytes) avail memory = 519172096 (507004K bytes) Preloaded elf kernel "kernel" at 0xc034e000. Pentium Pro MTRR support enabled Using $PIR table, 9 entries at 0xc00f1720 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 5 at device 4.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ugen0: OmniVision OV511+ Camera, rev 1.00/1.00, addr 2 ums0: Microsoft Microsoft IntelliMouse\M-. Optical, rev 1.10/1.21, addr 3, iclass 3/1 ums0: 5 buttons and Z dir. uhci1: port 0xd000-0xd01f irq 5 at device 4.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcm0: port 0xb000-0xb003,0xb400-0xb403,0xb800-0xb8ff irq 3 at device 4.5 on pci0 bktr0: mem 0xd7000000-0xd7000fff irq 5 at device 9.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only smbus0: on bti2c0 bktr0: AVer Media TV/FM, Philips FR1236 NTSC FM tuner. pci0: (vendor=0x109e, dev=0x0878) at 9.1 irq 5 sym0: <875> port 0xa400-0xa4ff mem 0xd4000000-0xd4000fff,0xd4800000-0xd48000ff irq 3 at device 10.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-20, SE, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. rl0: port 0xa000-0xa0ff mem 0xd3800000-0xd38000ff irq 11 at device 12.0 on pci0 rl0: Ethernet address: 00:e0:4c:39:0d:1c miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: port 0x8400-0x843f,0x8800-0x8803,0x9000-0x9007,0x9400-0x9403,0x9800-0x9807 mem 0xd3000000-0xd301ffff irq 10 at device 17.0 on pci0 ata2: at 0x9800 on atapci1 ata3: at 0x9000 on atapci1 pcib1: on motherboard pci2: on pcib1 orm0: . 56 Removed toked UNKNOWN (I don't know why it is needed) Added new token ERROR. 67 lineno is initialized here now. 69-72 Now config file can be empty, and empty config file is not a config file with incorrect syntax, as it was before. 81 Don't use abort(), instead use YYABORT to return from yyparse(). 109 Added some cheking for perc > 100, etc. Before it was checked in apmd.c. 110 Don't use abort(), instead use YYABORT to return from yyparse(). 152 Return value from malloc() was not checked. Fixed. 165 Return value from malloc() was not checked. Fixed. 175 Added "| ERROR". 195-198 Removed completely. /usr/src/usr.sbin/apmd/apmdlex.l 38 first_time variable was removed. 40 Start condition TOP was removed, really it is not needed. 41 %option nounput was added (try to compile original apmd(8) with option -Wall) 42-48 Removed completely. 49-91 All s were removed. 85-89 Incorrect work with the return value from malloc(). Fixed. 92 Removed completely. Added ".", to catch every unknown character. 94-98 yyerror() was impruved and fixed: it was able to pass NULL argument to syslog(). /usr/src/usr.sbin/apmd.c * Everything what belong to only this file were marked as static. * Don't use any err/errx/warn/warnx function if we open syslog file. * The -t swicth was added: test config file and output its content. * The -i option was added: number of second between battery state checks (default value were and is now 10 seconds). * All assert() macros were removed. * apmd(8) cought SIGTERM signal, but doesn't terminate itself (proc_signal() and event_loop() functions). Fixed. 60-75 Complitely rewritten in function init_event_list(). Why? Because PMEV_* in are macros and not enum {}. 88 Return value from malloc() was not checked. Fixed. 130 Return value from event_cmd_default_clone() was not checked. Fixed. 137 Don't use err() -> syslog(), return NULL. 155-165 Why to use out lable? Fixed. 183 Don't use err() -> syslog(), return NULL. 212-215 Now these are checked in apmdparse.y, where they should be checked. 220 Don't use err() -> syslog(), return NULL. 228 Return value from clone_event_cmd_list() was not checked. Fixed. 249 Don't use err() -> syslog(), return NULL. 312-321 Completely was removed. Instead new function turn_events() is introduced. 324-254 Don't use stderr, use stdout instead. 366-367 Removed completely. See turn_events() function. ú77-381 Incorrect loop, which cause core dump, when apm_battery {} is used. Fixed. 387-390 Rewritten. Now turn_events() function is used and dump_config() function is not called. 398-402 Rewritten. More checks were added. 407-413 signal_fd[] and enque_signal() were removed, see below New signal hadlers for SIGCHLD, SIGHUP and SIGTERM (and SIGINT) were added. 421-448 proc_signal() was simplified. Don't call read(), instead check three volatile sig_atomic_t variables. 449-463 proc_apmevent() function was improved. More checkes were added 477 Don't use err(). 491 Don't use err(). 515-519 Improved. 529-533 Don't use signal_fd[] any more. Simplified. 537 Why SA_RESTART. Unclear for me, nevertheless I changed this. 545 Setup SIGINT handler if needed. 554 Not clear arguments in select() call. Fixed. 563-566 Rewriten, because signal_fd[] was removed. 576-619 Added two new switch -t and -i. daemon() function isn't called here, instead new bg_init() function is used: all descriptors are clos()ed, SIGTTOU, SIGTTIN and SIGTSTP are ignored stdin, stdout and sterr -> /dev/null in daemon(0, 1) call fcntl() functions set close-on-exec flags for apmnorm_fd and apmctl_fd And all code here is more clear now. File /usr/src/usr.sbin/apmd/apmd.8 * Some minor fixes (see SYNOPSIS) * Added information about two new switches -t and -i File /usr/src/usr.sbin/apmd/Makefile 13 Removed switch -n. apmd(8) knows nothing about it. Fixed name of the configuration file. -------------------------------------------------------------------------- Results: many bugs were fixed in apmd(8) and two new features were implemeted. Unfortunately I don't have any opportunity to check apmd(8) for correct work with APM. So, I can't tell anything about this. And please check it with APM. This patch also fixes problems described in following PRs (all of this PRs includes correct patches): bin/30639 bin/30640 i386/32251 (this PR also introduced new feature, which is not a part of my patch) i386/35182 (this PR also introduced some signal(SIG_DFL) calls, I'm not sure that this is needed) Comments? >How-To-Repeat: >Fix: begin 644 apmd-patch.tar.gz M'XL("-WZG#P``V%P;60M<&%T8V@N=&%R`.0\:U?;2);]5?R*:F?"V%@VEK&! MF"9I$MP)LXG#`NG'3OKX"%O&FMB2D&0(WY9#$+E7= MNN]7E6('RVDKL./)O#UUP^UO_HH?T>OL]?OB&R&LO7X'_Q6BV^-_^:/=SJ[,*W;[?>_$?V_!)OP_@=!_]L?.RC_] M^B?N874ZN[U>A?RM3K_;MY3\>QUX(*S>3G_G&]'Y$W&H_/E_+O^I.YN)5K@: MB>U5%&Y'X03_;4>7KD?*L/W._N3,W(4C,M\V6JW60RN,GYRI.`I"T>V#10\Z MSP;6ONAV.M9&L]G,@C/.[5B\`SET=T37&O1V![`&IG8WOO]>M*Q=_O MO]\0K]X.CT8_G+P=GA^*N[:_BH-5O"$V1.Q$\6"C9;0)#=&"WYEPX@E];4]\ M#PCU-IK9Y]N9"0BF[7J3Q6KJB.\NHVD["/VK]O+3\XT'&45`]H7V>1V3>(9Q M,5^)H]65L':%U1_T^X.=/(OD1.0E,:@#OX..->COI@SJ[IM[HDE_(X/:'VMD M6M_7GS3D.\/#]NB-WM[O[VLV<\\V]R>""JL#1OA-7>:W?;)!-K MN[._K>,;KL3P#8FBG3VD"/Y^QA3!L_-?1N]/ST_.X=MHB6L"\<-" M3&%#_C03I)C-Y.M1F!UQ<<3U8B>\L1?):)R`NN%]CH?GK\Y.3B].WH]H*U#A MY920VNN@'NYU3.\&*-Y`48D$#GW2K#9>U/!-B;<.,)'L>/% M;:"'UP#7?G3"2S]RQ-*?.OA@N'BDM4PT%9\\:"T3XYWOL;7L0"09['3@M\Q: M)CEWTNT-NL]2:]D!`>Z`.![P0&QO"<^/Q0)$(+:VP;VTGB3NQ8XB)XS;\^O,"Q9CJV<"^O'"\W$4+\/,J-1>Z59^=71_'4#O/(P*";WQK& M8*?"H"(%&=_;-T$@S=XSL\]FK4V\B[;CN\`IX(3C[M(I&;ZUW3B/+`R'3N2O MPDE^Q=*>S%W/06&.+UV?]]$FU$C*\QJ*R/D,]N*A.1IW=X$=1D[]QG>GC8.- M)AJ6.Z%'4^=R=35>.#?.0AR*3NZA[4`ZX?[FP",K^^A&6DMA#<:OL32]PD-` M;Q(OQK.IB8KN^>$2/L.49-)D;H?&%H:K[,*%?^4',0!\^_[U>'0\?'OTB_B# MOIR>'.L`;OP%_`L6#WHPMF-_Z4[&L0'LA/PH'L\6-F%E0IC%O=57B*?P`[Q= M3+4Y=G3G3<8(2(UE4/4]=#*$,+)]'+A3\C6'%!$0,0SOM$2;*R_,_PK#[\ MT3QKB-_%$_@@1A_>OC7%F;@W-UI@BZM)S%"5FM&7Z)\,[-W1S[\"-K^CG`I3 M#3D5Z!R/3M\-?_R5Q`,X-P'GMR[P!5!6\8[?BJ7MW3TJ1KX@5!(57(U1'7#B M>#+_A%]N8./,+H3!&E<@'^%7>`;>V`_KJ8*(K88D03,P=XK!V(V9>B*7P6TT M@>M&&=NWG)L#G1'KY"[.&L9'@.,@+2P"T10HK+%X\@26'LC'K>>>O42M?8)C M1C(Z64YU$:0/0N=?SH05\U"<(4+"J,1D])X>F:+36#?M_.)H=/SRE[/A?T.: MN'[FA_/3X>A8S:14#$))#VH"JV]V.1FK7O[A?'B6`_$8M,X_O!L^1,.KH].C MER=O80"2QC='H]>\HG4/+F"C!<;1JC:.%MGS5QI'*_4$?Y)IW&LN2.:L`J+) MQ)FN0DLOF>,XMSUG:BX4_J?.:UO.%XZ'QE2SA%>AMFP9D9W517P>C(0Z9WPUT MBH8!Z05$TSK&SN'9F2EJO&8@GBYKM"%$RW@%/D$Z,`-X:O`&8''@+Q+QI<.P M#XQJN^H/I96JI_CU@"OBSJ[9[X/^]Z`DX:I8BL[Y[&"`78+TIU)JX+STC$"7 M"\X>VY,X+Y(BNVDJP`\TD6"00[BK2`:QE@$!<0QZXT[+^$\P($=)0#0-"LH9 M&$V&81@$1"`JMR[HOZC7800FS?SP4[W1:!":$QN">J&0(,PDR`Y%4D0!V"![8$>4U;`911&:B#?-74.G(0;5H MH.0,)'%1'Y\>7;P9OSQ_,\3X6XOF-?B[-8&_`Q`R6*TIZC)*D'[14F"/&]>M M[A[A*TU&80*Q!WV"A@J,3WUB`O$*Z,",¥:;89*ZB/R+R[\7M'%,5IAEY M+38W!141^'4(WN.,E1AV&[V_.!L>O7HS/&8J$S;S8PIVDOZ"42`WE4D`59>A M8W]"N`E!39T@!B)1JR)`?(=>%3---%K&^5N%,]MF"2(*&F1EXNFJ03B9J)M, M9F*MK'4&6>L]N&70D0%\E$\9"R`%'E$$;^7,9[I:!IK]F`)30+$U"QJ%V+]^ MI;2\60`U4SRKSP*@07RL/8T^U@#O>KW")!NTEM6**)/KOV(MTECFXQ_IY8FH M4A=?[4\2_UN)8F48(>B5?D9S]I6;YX),252HQ&HM4FG@*`2%U+D[-["Z71$6 M^&$V."1C)5"R@2(=+$[U@\)$/R!O#I37D[#D$OE`_705I$$1U40C#MP*&&,= MZID:&`WF.$LH>\,[]KB2[@(+4:9*-LVOV+8B&/.B=<&XN0ZE1%N4G>>,-Z_G ML]`IR61H]`O,#1+IPER04&XO/XBH,!-&,72;Q5'T*Z;LG/=-ZYEH=JV.:67R M!,[H.5-X1*+`T\M3!4P#PHE*`:0FN3[4NW6M:P&%X\G[\=GP'\-7%V^/SB\H M%2=Y0L]MD&[8T'/OCM1O7"B-.P+T*%@ M4]"Q"I0&@B`7M8Z#BJ9SGG:8AH\5CMFT:A4!@(-ER[0'E'L*X+A0*72[?;.'QV.[S\Q> MGWL%6..J6>+0`M';7B1NH2*&K%38EZ@1Z.$8+&3.$(@Q7[]RO2NSL+Y5#L"- M>>'4C=3:-JW=ECZ2@#^W.N!N,"%VP@F(Q;YRQ',HXSLRQ]?\":^R+Z-ZLGD# M.6HU^)S!BQSXU3"[L1^&*[5!97W`91*>0(25^N6*GGDG_J?D`=DA;JQ>;+`7*9NN&1L&/: MA\YT#*.T42-9A473TF7T6/L)##\PS:?B[3N,%MG.&9[^,WYV,/EP, MSP?J^^GP[-5P=)$LU/1/I/J@0S@^P9[4V>N3T6NJ(@WU0(T2Y1H2C":$/_%" MY-`0`U%`I%E$)/V/2J)#$@%-7U#+X^&X,ZN[&4!E,%G7G!C,$L= MML*>'7K.C(%M1<@Q9(/:]L1SF?N5H!-L:59#X)- MYS<.V.0XQAQ(7T.^G`HKJI??X&^(;*/\78YK93Q5/%*M4UD$,X&5T8X MB<]\3:1K6OMX\MTSK;U\UW"%#>$'&H=8780K#VE;DV5D^H(=;N*I5.+AI`[R M6R*^//G05@IFASS28ZJUC/UD],-[8*M-_@@\?\3=-ZR*6=@)BNG&*@U!N/Q8 MHEA:"DANB9GKN='0&%5UAZ.S0_9A> MSUPG1]%JT1T4#M;`J`A8L5:XB31SXN7CPBWGID+$A)2U:UH=*$1V^GNFM2Z8O8E'H7:"SQ8SAR'Y2M\-9&.H%W/1L&RH>A-V*;!?53\2'X[J7CM MJ7ZSA?D@Y#$>-^W$W9T+WJ?YQ)U-G9DX'K[\\#J9@C3?W='!,DZA"QY(C#P# M_2FT`\CAL)M,3)?H-\1LY9$.MFG:R4QD#OHA?DYOG#+]T;R)<4JP<0.6-S(&LKW5.N4^00:,\3L;R"D M-[W)/\]#DG8?PF\]>88,SJ4*A7T^2CTD7"JF7#Z-I&,(.2E-.<8Q]I[Y`X*K M,SZZJ9"YELA-)0%UU%PZRP@+' MAAZ>\V]#U4KG_9`E"?CES*>=7.E(E1*!I6`B7$C`DNP-OC:;4F/I](=3,#=)P52$YDTX7LF"QN6T$)?= M@N]P]`;@9CH3;))+50+!=M*R%-P*C=)I$)W/3S_73&WS-(/1:$H23J9).9P" M16DBUZS$WJU&NOPT3*+]-)(HPX"@^$R1XH9YDRG9#2E32`PO2%J*6 MY6LJIG2AX-63*A#Y^3OY]RS+N-PJ--BR"7!9N(AS"2M-T]IIR$%92!C:4#TP M99J@UA1`'ZAH]8!^ZBW.-(LX4G6>'*\ M46L41,F*1(.+S+I/0GNRZ#Y9)$^,F8[KTJ814'>M4*+/A_"G]5QHTJ]4R%)M M4S=XGDZ!MXJ]A#O!Y3XH=]-H@%WA8;Y]TWA1>UH;U)8U?:[6RCDL=&E@A6IC MUKB?9-2TUJ8\FF&1!HI,5297*?[C]+Y<[==I_0-*7RXK35124AE%U+4[)P7% M!"F-)KO0:]GYTP0)Y9$Y"J+C/KUTH$%]$:$(-44J(N8-0UWJ\SK[76 MM=ZXRFRK:%KWI;J<&E;!KN[UN-&:0E40^G=IM,A6C[G'G!9GRY,T_7A,$-G& MWG[T?S]!R1!1FJ&TLH&[]9=&4#;+DM.JX/&QJ&QY<2N^AU5(JM(CM7N5+&#L M*7,#I?W\DD'-CQ,%]=*EROADSZJ,B.*JQ'P;R5%AV21U=L@'9\49#6[-]*Q] ML]?%5R]ZYNX^-V;NR[(SV>/F&IWL2);F6I)?DYI52^]E9;+!O,'R79"T$6F7W+T"W;2-_@UHY$M)K@ MI;O9:L'UWS0M'C-\X9*@G"V%K%BUI9XOHJ5201*=[!^Q4N8[I6*/@04=4#[NJ;C(F^JRK?* MF->%]X*(Y?H;1814=>'8Y#>-2LB@1D/F/:32S>X+ES+5&TY5,'-O0#T.*MW% M'1,Z]4++7/KD7)S?WEDA'ZQ3EE&0<"'&0$7[F8I'VFOKN9*'P?RV`+FD_-0UZM3`'2!^/SD M]9L/IX/*\Q3):7%YAU-E06$DT4B>\?%QB`8381TJ]L9V^CK[RD/2_%]12>06KON#?.M)U! M)H5WKZYE)%JM>=XD>.9\7YE\%`G2X65I:.9?WU/]0F[)2]-<6ONR8#??239.]0BR@A"$UZ1*C3B8E9IW4+NG%`]>;^4+-Y"@OS9NO M.Z;W'$?#GR_D2UF;:D&#SUADX:(YIXJ[F&J=>-KI?094I\YG>=9):JL>M[E@ M2;[2Q$8>JCJ<#99<*\CS69FU9V#I?32*_O2VAHY\>I*;.\/<+(4G[8Q.";53 MV@SK"C=%RSGXK=9S+>/9D>J$C-A]B`;\P;-(KPL='PW?O1W(:,>QQ')8K2MXDR;Q*DG^7 M9/W+)(5+.K+_5DRMU:MQ1Z_&I^]_&IZ-SR^.+H98F]Z2T;1M=VQ/^+(Y79][ M4>RM##X"\)+[2XWRFHE>I5-M(1GR*J!4*-FL>/VZ>*]/ M9M87>)V3KLG0RB4:I1LAP^&3&SJ+.P'^U6G#1,B_(5B#.)R(_O>&V$55(BBD M,_SR)/Z?'Q*7I/T'F@P+3'&I[H_"KXT7H,3"_LT%J<*BJ=^65P\,8V&#>!C< M84Y;N:I/Y)=9:*`8"J(Y_0\H@'I$_X=(X(1@S$L1^4!, MY(V9:>/%YM[]G=GN6NOFL_(JF M>]_FE4^VJM:J9TOK-I>>>P3?'LI3#^HZ)]VR3)^ZK/U6T:]6=\;36Z+:Z4LU M%MKI2P&/1RXMXD%]\<*122[>;&X2RM_*F?BN@AJK\UC5:<#FIN!+?$%RIH/3 MM/!%_W7!PIT!R#_^8)"E$-7]7;EO#F`]#Y%* MG4B5GA7I9CY;SB>@ZH9DH)V`J=/8?-99=3FP@E?)2PB*9\EY??`EAT79=>DA M53+TX#&5SBH*VF5):"8++:2AA3STL8FHEHG^;WO'VM76D8M:30:R0ZUTY<;H"3A,RI]QL3/V?)GW.Y!Y>(BJ/^`4#RF.Y],+CU=#5## MP47_H^'P?,R#\Z0V74774L;(3D/:7W!>I;N30>]ZB#]/!VAAR;^=\YF+/EFL MFVS`#-F]*?X!6;\7U83_$M872`AN^^>YZ40D>FU"&O5RN_>O5J>=?RHJH2L+ MR.BV]B,76E&0DNVV`UNS7_:)]Y.HFC9T-9`DN,6R%K*>-"6,8:](. M'9GG;M&,)N$\9+_B*9F5YQ39E:.,Q2?!Q/J+)(LE&)N3B$(Z<5)P1A]N4FA] M9(F/)7R%8996$;UQL3H7?E+/8UV0MP=$@>@2[3QAVY3\?=9]T>NT0-KI['-! MUU#8#Z;7[./"`Y#CD@PAES-#),R`I\!/G`/1F/]]"G"G9POP$U(S6::D)IOZ4HV49-%-$$CC'CZPW3L&NZ.!VC ML3]@;J.Y"ZL2B3$Y2P%F)@J9"5Y"`%ZY)$\PV-ET50>^=)VFLD5Z)66V.>YT`OY/AOUY:%(+DE MJ6:CNKXT$2@P(M`K+H_9&=/N^.X!OS MNL%Y(A*HD\5GUWJ;9>188=D=DW'CLV4FP'9;RFBZS_K<%[F(L$#2,BP"D3KR M(!!'[DT005PZO_QQ$IXW[[ M'=&[WLZKO0+?/^'2SB#THNA,Z4>"[^S]X9IV]KZDIN[^VS]:$Q3-J@G^_V$X MU6.:[[S9V=W9AS,IVIC`TL`Q=K9:Y+FRT@3)"*8=L\I8K(=B$J2Q>3L;:@P* M;FXT=\I7T`]?%L?5<',[UE#\/O>B/QK3S5K_I$AZV>]4__;@R-W!`QWA2W'? M26LI)WVH:I`9WE,%.P0R!&`P>@"?Q\K[M]B+T\8MOKQ!0MM^J?L*`/B*BP\I M7%REEA\UI@:%OFM2CFJ?@A-]I M=_PGAQKO*>.-^T@%!/VK#Y%2YHYG9;32L)1"7V-(7YO]Z624U\4+!??TWX]_'=$]^28+G;\LG*XNX3+EI7M<]Z-(R.I"#'_"OM#\W MUEU"[BN9-8#[C!S`H>-I>F&UM[/5`E%KJP-`W+KQZ&28M^D(S<^LC*.(;Z*H MDQ>.WM[8UC&2A/X)S:?7I?%D7.+%"S-R0[Z++2Q3`7H+DUX;>[/WTIKWU M.A4;E=>]Y/'&.Q^\?=8#3CES:.9,)\3E"1&(X5B_^F]W=GO;K7_"T&I^TNYU MMG_N>,;,&6\2!\-;6*?:ONZWY6O<.`EX"]HG5.#O")XM(U.(F8H\/_;Z87TV MVVYL[;_Y,WH116L[D;DJ%0E4PCA*&(?B3Z%PQ-]*JTU;OP!/[[[;VFIUNYA\ M;U\[.\H0I%(&\>R9Z?J7SO;L6[/8.*$UI3"F3)[U(#Z33GC2>T3>ZND=L@U_ M;/>VWK1;O[2VYFD;GJI(J"D!(2.G;B3/(S?2KS+'?+?WI=-.+A-<%4@G,W``FB]J MQID(=7$V,VK&V;Q1,\YRW9LQ134ZO@%JV`.Q!JUP^E-4WN!SBZ*J%E6M4-"\G;Q7 MS(_;R0,N5$)&3`W2MPIG*G_0J5^65ZQF<@5_M;,NURQ:[?,Z;6S.QQ'.AQ_+ MYRKZZPH2J51K72J%<$=Z@4-S"F$GQIOS]`"F;%5"*T%%:I M.E=8);::\Z(3904=BD8,@H6<%6PIR`X6%*0$*PH2@PBYI+ORM'_,@85H30-B M?.%"/YQ]'^P-_3[4Y,..R@HMHI;IV+A\K?;;;Q>"9=81C"J MEW1B$=(^*99PMMJ[NR^::!Q!>4V9UVWM[FRUW[3W7/ZWY>^6"#W_MCM8%'N! M.P]=$2K7,!8A$.KN[ORV?UZF:"@1^:)I$+C25-:Q\.3B+C\5@V7V*1AL?AH& M)\FD=<'DIV%P?AL%)2-A#/&;&)+(PA9K+5<"X5]7Q306.4+V(-*:?,H6`:,"X&A44!%`H\^!H$Z02'RF;1FR"=U%#9+$H3S"`RA&`VC0G2R0MAR*(N@20L:7U/)2R!1U,2 M:Y]!4P*/G*3BR)K\*"7)7'=I2V`6$=&C,0<-X=UER$TC[%D29$ MH@I*C%=2RJZ%EI\Q..5**)B2ZQEJW;9VMQTIU`=;`:&#'3!,H(LGE@],T92R MI@6'GR0(R9-TU>#:<'@?J0+6D)>_>/#KXE%PN)@3EM4ZZ@D(YO"'&1)54E7A M`RO/0P=``&I"*1F/X(@@4&',X:X,`975]B"]V8%K<VUACC./?EK#&E`GC7Z3D)COL.C/L[M^O)7M<9VQUK,.5:5U2Z!]JN2<=3 MDTL60`X@%<-%KAQ65O3,<-PD5U-WOV.\>^?$T>'7Q4_WQ>:WA^/#J0+^;`F% M'A6._6*V@IF$=WNO]]H_:U9(7`@,R2@$PE3`K=4S3YGP_O'VNQ\BK4)-*0^5<52+3)A(!I^FA M5SK8'"$R:1N?M$RK1K4`5(/>(-@FE\;6)Q903]USY6PG1!9,$3UU2DO705MA MXX8JV`CQBV:-J+4F33UR?U3*-=0G%=$^A4#8#0QA#PA&**R\?)5K"K24A&@Y M]A&6QG<_:)ZM'T-^EJ`&3".AFX@*NEK?W&!/ZU#M];#.^MS4OE=Z_?_%3N\-R9Y(^&=!8&R$.&EJM M%#=4$%8W3"PPW1=6R,+]YHW*,OBJ^A']?:Z$%+56[MFF[M1LW0/)Q9Y@], M=5V#(R<)_5`A.90@OR9-"3.(?97'"_-$,Q7:6713-)EHX?BY9)[31L*.`\PI M42\C>;K['.8R6DI'N5S$=B_R^`(SP=A>E5",K^"[7S:T^MR;-K@<,G'NX17P M_V<#K%MNAGBS2E?QU7"-=]R"6[D-%D[@/+:TI#<7GM!@3Y*4@NAB,LZ``[#3TZ_1H*_[B1S?\="**P`/M<_T*IA4EN?X:JT1UALP[?8<'VX2:]PL&HN!9Q'? M32@6D#315>':0BF23O(,K).:=IVI^-G0H#_M$QKA*NUZ3_83U\W/]? MXQ/;_[@"?/Z_?W:C7@Z/E=I0(1F&UT.GO,\H[?/_U488/O+_Q\_CY_'S^/E; +?/X+.(]5Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 9:10:43 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by hub.freebsd.org (Postfix) with ESMTP id F18C637B405; Wed, 27 Mar 2002 09:10:36 -0800 (PST) Received: from net2.dinoex.sub.org (dinoex@net2.dinoex.sub.org [127.0.0.1]) by net2.dinoex.sub.org (8.12.2/8.12.2) with ESMTP id g2RHA9vA012272; Wed, 27 Mar 2002 18:10:10 +0100 (CET) (envelope-from dirk.meyer@dinoex.sub.org) Received: from gate.dinoex.sub.org (dinoex@localhost) by net2.dinoex.sub.org (8.12.2/8.12.2/Submit) with BSMTP id g2RHA9Dc012259; Wed, 27 Mar 2002 18:10:09 +0100 (CET) (envelope-from dirk.meyer@dinoex.sub.org) To: FreeBSD-gnats-submit@FreeBSD.ORG, cjc@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Message-ID: <4halUCGCc2@dmeyer.dinoex.sub.org> From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Subject: Re: kern/26613: ethernet vr0 hangs Date: Wed, 27 Mar 2002 18:07:05 +0100 X-Mailer: Dinoex 1.77 References: <200203270904.g2R94T046682@freefall.freebsd.org> X-Gateway: ZCONNECT gate.dinoex.sub.org [UNIX/Connect 0.93] X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-Copyright: (C) Copyright 2001 by Dirk Meyer -- All rights reserved. X-PGP-Key-Avail: mailto:pgp-public-keys@keys.de.pgp.net Subject:GET 0x331CDA5D X-ZC-VIA: 20020327000000W+1@dinoex.sub.org X-Accept-Language: de,en X-Noad: Please don't send me ad's by mail. I'm bored by this type of mail. X-Note: sending SPAM is a violation of both german and US law and will at least trigger a complaint at your provider's postmaster. X-No-Archive: yes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > State-Changed-From-To: open->feedback > Is this still an issue with later releases of FreeBSD? Yes, The problem still hit me under 4.5 RELEASE Unfortunatly the system is down at the moment, But I have another machine with the problem, that I just can't reboot/test so often with. I use as a workaround a scrin in cron: echo "fail:" netstat -m ifconfig vr0 down netstat -m ifconfig vr0 up netstat -m to keep the system responsive. kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 9:20:17 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4783F37B405 for ; Wed, 27 Mar 2002 09:20:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RHK5V84313; Wed, 27 Mar 2002 09:20:05 -0800 (PST) (envelope-from gnats) Date: Wed, 27 Mar 2002 09:20:05 -0800 (PST) Message-Id: <200203271720.g2RHK5V84313@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Subject: Re: kern/26613: ethernet vr0 hangs Reply-To: dirk.meyer@dinoex.sub.org (Dirk Meyer) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/26613; it has been noted by GNATS. From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: FreeBSD-gnats-submit@FreeBSD.ORG, cjc@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Cc: Subject: Re: kern/26613: ethernet vr0 hangs Date: Wed, 27 Mar 2002 18:07:05 +0100 > State-Changed-From-To: open->feedback > Is this still an issue with later releases of FreeBSD? Yes, The problem still hit me under 4.5 RELEASE Unfortunatly the system is down at the moment, But I have another machine with the problem, that I just can't reboot/test so often with. I use as a workaround a scrin in cron: echo "fail:" netstat -m ifconfig vr0 down netstat -m ifconfig vr0 up netstat -m to keep the system responsive. kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 9:21:36 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from web.cs.ndsu.nodak.edu (web.cs.ndsu.NoDak.edu [134.129.125.7]) by hub.freebsd.org (Postfix) with ESMTP id 0F1AE37B41A; Wed, 27 Mar 2002 09:21:27 -0800 (PST) Received: (from tinguely@localhost) by web.cs.ndsu.nodak.edu (8.11.4/8.11.4) id g2RHLPp19372; Wed, 27 Mar 2002 11:21:25 -0600 (CST) (envelope-from tinguely) Date: Wed, 27 Mar 2002 11:21:25 -0600 (CST) From: mark tinguely Message-Id: <200203271721.g2RHLPp19372@web.cs.ndsu.nodak.edu> To: freebsd-bugs@FreeBSD.org, ru@FreeBSD.org, tinguely@web.cs.ndsu.nodak.edu Subject: Re: bin/31476: ifconfig's lladdr is ethernet specific In-Reply-To: <200203271542.g2RFgx960453@freefall.freebsd.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Responsible-Changed-From-To: freebsd-bugs->ru > Responsible-Changed-By: ru > Responsible-Changed-When: Wed Mar 27 07:36:44 PST 2002 > Responsible-Changed-Why: > MFC in 1 week. thank-you. --mark tinguely. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 11:50:22 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7022C37B41F for ; Wed, 27 Mar 2002 11:50:09 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RJo9T15932; Wed, 27 Mar 2002 11:50:09 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9BEA937B49E for ; Wed, 27 Mar 2002 11:41:19 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RJes414681; Wed, 27 Mar 2002 11:40:54 -0800 (PST) (envelope-from nobody) Message-Id: <200203271940.g2RJes414681@freefall.freebsd.org> Date: Wed, 27 Mar 2002 11:40:54 -0800 (PST) From: Alexander Haderer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/36381: ata + hw.ata.wc=1: high CPU load for large filesystems writes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36381 >Category: kern >Synopsis: ata + hw.ata.wc=1: high CPU load for large filesystems writes >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 11:50:09 PST 2002 >Closed-Date: >Last-Modified: >Originator: Alexander Haderer >Release: 4.5 Release @ i386 >Organization: Charite Hospital Berlin Germany >Environment: FreeBSD marvin08.str.charite.de 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Wed Mar 27 14:23:53 CET 2002 root@marvin08.str.charite.de:/usr/src/sys/compile/FBSD45_MARVIN i386 >Description: We are running a fileserver with 8 IDE 100GB disks setup to a raid 10 with vinum as one large drive: df -m shows: Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/vinum/marvin0 369862 353166 16695 95% /xxx All disks run at UDMA100 at four ata channels. Booting is done via a SCSI disk. /var/log/messages is silent. ASUS TUSL2 board with PIII 1,x MHz The dirs and files below /xxx are organized in a flat dir hierarchie with depth 4. All files are stored in dirs below level 4. Dirs at level 4 contain 2..2000 files (organization is given). In other words: Level 1: 10 dirs Level 2: 900 dirs Level 3: 12500 dirs Level 4: 35000 dirs Files in Level 4 dirs: approx: 1,1 million The files to be stored come in via NFS, so the problem first was noticed by high CPU load of nfsd: top shows a load avr of 8 and more with nfsd at 80% and system about 100%. By playing around with cp the effect of high CPU load for file access could be broken down to the following scenario at the server: hw.ata.wc=1 (everything local, no network access, no NFS) mkdir /xxx/scratch cd /xxx/scratch mkdir 300 dir hierarchies of depth 3 with no files at all cp -R /from/scsi/testtree /xxx/scratch Where testtree is a 3 level hierarchie with approx 200 files with 100MB total disk usage. The cp first runs fast with low cpu usage (top), but after writing some megabytes the cpu load of cp walks towards 100% as well as system jumps upto 100% and the load avr goes upto 8 and more. The whole systems becomes slow. When the fs is not "full" enough (70% cap.?) cp is fast. When disabling softupdates the effect comes a little bit later, and top's system is about 5% lower when cp runs fast (soft update penalty). When the scratch dir is empty cp is fast. Switching UFS_DIRHASH in kernel has no effect for cp (in the context given here) Mounting noatime has no effect for cp (in the context given here). Switching of ata write cache with hw.ata.wc=0 in loader.conf makes cp's CPU usage acceptable (below 10%, as well as system). Write speed goes down as follows (which is Ok for us): before: dd if=/dev/zero of=/xxx/100mb bs=1024k count=100 --> 25..30 mbyte/s cp -R /from/scsi/testtree /xxx --> 7 s after (softupdates on): dd if=/dev/zero of=/xxx/100mb bs=1024k count=100 --> 6..7 mbyte/s cp -R /from/scsi/testtree /xxx --> 18 s See also PR 35151. >How-To-Repeat: Put a large filesystem on a ata disk, fill it up to 70% or more, switch hw.ata.wc=1, cp -R dirhier with some Megabyte to the filesystem and watch top. (Probably one need a very large filesystem from todays point of view) >Fix: switch ata write-cache off with hw.ata.wc=0 in loader.conf. Write access will be slow down by factor 3, read access remains fast. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 12:10:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 646CC37B41A for ; Wed, 27 Mar 2002 12:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RKA1H22599; Wed, 27 Mar 2002 12:10:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8425837B41D for ; Wed, 27 Mar 2002 12:06:55 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RK6te22171; Wed, 27 Mar 2002 12:06:55 -0800 (PST) (envelope-from nobody) Message-Id: <200203272006.g2RK6te22171@freefall.freebsd.org> Date: Wed, 27 Mar 2002 12:06:55 -0800 (PST) From: John Fitzgibbon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/36383: sed misbehaves with 2044 char substitute patterns Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36383 >Category: bin >Synopsis: sed misbehaves with 2044 char substitute patterns >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 12:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: John Fitzgibbon >Release: 4.5-STABLE >Organization: >Environment: FreeBSD joy.jfitz.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Mar 7 11:17:05 PST 2002 fitz@joy.jfitz.com:/usr/obj/usr/src/sys/JOY i386 >Description: %sed `perl -e 'print "s/"; print "x" x 2044; print "//g"'` test.dat %sed `perl -e 'print "s/"; print "x" x 2043; print "/y/g"'` test.dat %sed `perl -e 'print "s/"; print "x" x 2042; print "/yy/g"'` test.dat The commands above all give no output, regardless of the input file. Any other total count of x's and y's in the substitute pattern will print the file test.dat without modification, (up to 2046, at which point sed appears to begin truncating the input): %sed `perl -e 'print "s/"; print "x" x 2046; print "//g"'` test.dat sed: 1: "s/xxxxxxxxxxxxxxxxxxxxx ...": unterminated substitute pattern It's a little strange that the pattern seems to work for 2045 characters, but not 2044 or 2046. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 12:51: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0D5C337B427 for ; Wed, 27 Mar 2002 12:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RKo1H31671; Wed, 27 Mar 2002 12:50:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DBDBD37B41A for ; Wed, 27 Mar 2002 12:44:03 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RKi3k30499; Wed, 27 Mar 2002 12:44:03 -0800 (PST) (envelope-from nobody) Message-Id: <200203272044.g2RKi3k30499@freefall.freebsd.org> Date: Wed, 27 Mar 2002 12:44:03 -0800 (PST) From: Alex To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/36384: Rushen local broken up Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36384 >Category: kern >Synopsis: Rushen local broken up >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 12:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Alex >Release: 4.5 >Organization: >Environment: FreeBSD UnixServer.kruij557.speed.planet.nl 4.4-RELEASE-p9 FreeBSD 4.4-RELEASE-p9 #0: Sun Mar 24 06:51:02 CET 2002 alex@UnixServer.kruij557.speed.planet.nl:/home/usr/obj/home/usr/src/sys/GENERIC i386 >Description: /usr/share/locale/ru_SU.CP866 sould point to a directory with the file LC_COLLATE install: /usr/share/locale/ru_SU.CP866/LC_COLLATE: Too many levels of symbolic links *** Error code 71 1 error *** Error code 2 1 error >How-To-Repeat: Just build the world. When you install the world the problem occurs. >Fix: Fix the symlink /usr/share/locale/ru_SU.CP866 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 13:10:36 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F3D4C37B434 for ; Wed, 27 Mar 2002 13:10:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RLA2T39055; Wed, 27 Mar 2002 13:10:02 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4B8FA37B42A for ; Wed, 27 Mar 2002 13:00:33 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RL0XY33711; Wed, 27 Mar 2002 13:00:33 -0800 (PST) (envelope-from nobody) Message-Id: <200203272100.g2RL0XY33711@freefall.freebsd.org> Date: Wed, 27 Mar 2002 13:00:33 -0800 (PST) From: Sam Leffler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36385: crunchgen does not handle Makefiles with includes properly Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36385 >Category: misc >Synopsis: crunchgen does not handle Makefiles with includes properly >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 13:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Sam Leffler >Release: 4.5 >Organization: >Environment: FreeBSD ebb.errno.com 4.5-STABLE FreeBSD 4.5-STABLE #3: Mon Mar 18 14:41:49 PST 2002 sam@ebb.errno.com:/usr/src/sys/compile/EBB i386 >Description: crunchgen does not properly handle Makefiles that have relative includes because it runs the Makefile from the current directory instead of the source directory when generating the list of object files >How-To-Repeat: Try to run crunchgen on /usr/ports/security/isakmpd; notice that it does not get the value of SRCS set properly because the .include's of features/ fail (silently because the Makefile checks if the file exists before including it). This is because crunchgen generates a temp Makefile in /tmp and then does make -f from the current working directory. >Fix: A patch can be found in http://www.errno.com/patches/crunchgen.patch. This causes the make command used to generate the obj list to be done in the srcdir. This patch also includes a -d option to aid in debugging problems like this and support for PR misc/33778. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 13:20:42 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C95B237B417 for ; Wed, 27 Mar 2002 13:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RLK1F41244; Wed, 27 Mar 2002 13:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DDC6437B481 for ; Wed, 27 Mar 2002 13:15:12 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RLFCx40144; Wed, 27 Mar 2002 13:15:12 -0800 (PST) (envelope-from nobody) Message-Id: <200203272115.g2RLFCx40144@freefall.freebsd.org> Date: Wed, 27 Mar 2002 13:15:12 -0800 (PST) From: David Bogen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36388: pkgdb/portversion/portsdb doesn't agree with pkg_info Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36388 >Category: misc >Synopsis: pkgdb/portversion/portsdb doesn't agree with pkg_info >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 13:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: David Bogen >Release: 4.5-RELEASE-p2 >Organization: >Environment: FreeBSD merlin.bogen.org 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #2: Wed Mar 27 10:43:57 PST 2002 dbogen@merlin.bogen.org:/usr/src/sys/compile/MERLIN i386 >Description: - Updated from 4.3-STABLE to 4.5-RELEASE-p2. - CVSup'd ports collection. - Installed portupgrade port. - Ran portsdb -Uu. (System panic'd during this run - seems to be something wrong with 4.5-RELEASE and k6-2; had no problems with system while running 4.3-STABLE.) - Ran portsdb -Uu again. - Ran pkgdb -F to fix many problems with duplicate ports and ports without origins. - Theoretically fixed all origin problems and duplicate ports. - Ran portversion and noticed that duplicate png and libtool were still showing in portversion. - Ran pkgdb -F again. It asks me if I want to unregister duplicate png and libtool. Answer yes. pkgdb then fails with an "unexpected next." merlin-~# pkgdb -F Checking the origin of 41upgrade-2000.11.01 Checking the origin of OpenSSH-2.2.0_1 Checking the origin of a2ps-letter-4.13 Checking the origin of apsfilter-6.1.1 Checking the origin of autoconf-2.13 Checking the origin of autoconf213-2.13.000227_1 Checking the origin of bash-2.05 Checking the origin of boehm-gc-5.3 Checking the origin of bzip2-1.0.1 Checking the origin of cclient-2000c Checking the origin of cdrecord-1.9 Checking the origin of cvsup-16.1e Checking the origin of fetchmail-5.8.17 Checking the origin of freetype2-2.0.3 Checking the origin of gd-1.8.4_4 Checking the origin of gettext-0.10.35 Checking the origin of ghostscript-nox11-6.50_6 Checking the origin of gmake-3.79.1 Checking the origin of gnupg-1.0.6_1 Checking the origin of imap-uw-2000c Checking the origin of isc-dhcp3-3.0.r8 Checking the origin of ispell-3.1.20c Checking the origin of joe-2.8 Checking the origin of jpeg-6b_1 Checking the origin of less-354 Checking the origin of libtool-1.3.4_1 Checking the origin of libtool-1.3.4_2 Checking the origin of lynx-2.8.3.1 Checking the origin of m4-1.4 Checking the origin of mkisofs-1.13_1 Checking the origin of mm-1.1.3 Checking the origin of nmap-2.54.b29 Checking the origin of ntp-4.0.99k23 Checking the origin of nut-0.45.1 Checking the origin of openldap-1.2.11_1 Checking the origin of patch-2.5 Checking the origin of pine-4.33 Checking the origin of pkg_tarup-1.2_3 Checking the origin of png-1.0.8_1 Checking the origin of png-1.2.0_1 Checking the origin of portupgrade-20020327 Checking the origin of procmail-3.21 Checking the origin of psutils-letter-1.17_1 Checking the origin of python-2.0 Checking the origin of rfc-3.0 Checking the origin of ruby-1.6.7.2002.03.13 Checking the origin of ruby-bdb1-0.1.6 Checking the origin of ruby-fnmatch-1.1b_1 Checking the origin of ruby-optparse-0.8.6 Checking the origin of samba-2.0.9 Checking the origin of snort-1.8.1_1 Checking the origin of sudo-1.6.3.7 Checking the origin of tin-1.5.6 Checking the origin of tripwire-1.2 Checking the origin of unix2dos-1.2 Checking the origin of unzip-5.41 Checking the origin of uulib-0.5.13 Checking the origin of w3m-0.1.11.p.23 Checking the origin of zip-2.3 Checking for origin duplicates Duplicated origin: graphics/png - png-1.0.8_1 png-1.2.0_1 Unregister any of them? [no] yes Unregister png-1.0.8_1 keeping the installed files intact? [no] yes -> png-1.2.0_1 is kept. --> Saving the png-1.0.8_1's +CONTENTS file as /var/db/pkg/png-1.2.0_1/+CONTENTS.png-1.0.8_1 cp: /var/db/pkg/png-1.0.8_1/+CONTENTS: No such file or directory Duplicated origin: devel/libtool - libtool-1.3.4_1 libtool-1.3.4_2 Unregister any of them? [no] yes Unregister libtool-1.3.4_1 keeping the installed files intact? [no] yes -> libtool-1.3.4_2 is kept. --> Saving the libtool-1.3.4_1's +CONTENTS file as /var/db/pkg/libtool-1.3.4_2/+CONTENTS.libtool-1.3.4_1 cp: /var/db/pkg/libtool-1.3.4_1/+CONTENTS: No such file or directory Checking 41upgrade-2000.11.01 Checking OpenSSH-2.2.0_1 Checking a2ps-letter-4.13 Checking apsfilter-6.1.1 Checking autoconf-2.13 Checking autoconf213-2.13.000227_1 Checking bash-2.05 Checking boehm-gc-5.3 Checking bzip2-1.0.1 Checking cclient-2000c Checking cdrecord-1.9 Checking cvsup-16.1e Checking fetchmail-5.8.17 Checking freetype2-2.0.3 Checking gd-1.8.4_4 Checking gettext-0.10.35 Checking ghostscript-nox11-6.50_6 Checking gmake-3.79.1 Checking gnupg-1.0.6_1 Checking imap-uw-2000c Checking isc-dhcp3-3.0.r8 Checking ispell-3.1.20c Checking joe-2.8 Checking jpeg-6b_1 Checking less-354 Checking libtool-1.3.4_1 unexpected next - mkdir /var/db/pkg/png-1.0.8_1 - cd /var/db/pkg/png-1.0.8_1; touch +COMMENTS +DESC +CONTENTS - mkdir /var/db/libtool-1.3.4_1 - cd /var/db/pkg/libtool-1.3.4_1; touch +COMMENTS +DESC +CONTENTS - run pkgdb -F again Checking the origin of 41upgrade-2000.11.01 Checking the origin of OpenSSH-2.2.0_1 Checking the origin of a2ps-letter-4.13 Checking the origin of apsfilter-6.1.1 Checking the origin of autoconf-2.13 Checking the origin of autoconf213-2.13.000227_1 Checking the origin of bash-2.05 Checking the origin of boehm-gc-5.3 Checking the origin of bzip2-1.0.1 Checking the origin of cclient-2000c Checking the origin of cdrecord-1.9 Checking the origin of cvsup-16.1e Checking the origin of fetchmail-5.8.17 Checking the origin of freetype2-2.0.3 Checking the origin of gd-1.8.4_4 Checking the origin of gettext-0.10.35 Checking the origin of ghostscript-nox11-6.50_6 Checking the origin of gmake-3.79.1 Checking the origin of gnupg-1.0.6_1 Checking the origin of imap-uw-2000c Checking the origin of isc-dhcp3-3.0.r8 Checking the origin of ispell-3.1.20c Checking the origin of joe-2.8 Checking the origin of jpeg-6b_1 Checking the origin of less-354 Checking the origin of libtool-1.3.4_1 Checking the origin of libtool-1.3.4_2 Checking the origin of lynx-2.8.3.1 Checking the origin of m4-1.4 Checking the origin of mkisofs-1.13_1 Checking the origin of mm-1.1.3 Checking the origin of nmap-2.54.b29 Checking the origin of ntp-4.0.99k23 Checking the origin of nut-0.45.1 Checking the origin of openldap-1.2.11_1 Checking the origin of patch-2.5 Checking the origin of pine-4.33 Checking the origin of pkg_tarup-1.2_3 Checking the origin of png-1.0.8_1 Checking the origin of png-1.2.0_1 Checking the origin of portupgrade-20020327 Checking the origin of procmail-3.21 Checking the origin of psutils-letter-1.17_1 Checking the origin of python-2.0 Checking the origin of rfc-3.0 Checking the origin of ruby-1.6.7.2002.03.13 Checking the origin of ruby-bdb1-0.1.6 Checking the origin of ruby-fnmatch-1.1b_1 Checking the origin of ruby-optparse-0.8.6 Checking the origin of samba-2.0.9 Checking the origin of snort-1.8.1_1 Checking the origin of sudo-1.6.3.7 Checking the origin of tin-1.5.6 Checking the origin of tripwire-1.2 Checking the origin of unix2dos-1.2 Checking the origin of unzip-5.41 Checking the origin of uulib-0.5.13 Checking the origin of w3m-0.1.11.p.23 Checking the origin of zip-2.3 Checking for origin duplicates Duplicated origin: graphics/png - png-1.0.8_1 png-1.2.0_1 Unregister any of them? [no] yes Unregister png-1.0.8_1 keeping the installed files intact? [no] yes -> png-1.2.0_1 is kept. --> Saving the png-1.0.8_1's +CONTENTS file as /var/db/pkg/png-1.2.0_1/+CONTENTS.png-1.0.8_1 --> Unregistering png-1.0.8_1 --> Done. Duplicated origin: devel/libtool - libtool-1.3.4_1 libtool-1.3.4_2 Unregister any of them? [no] yes Unregister libtool-1.3.4_1 keeping the installed files intact? [no] yes -> libtool-1.3.4_2 is kept. --> Saving the libtool-1.3.4_1's +CONTENTS file as /var/db/pkg/libtool-1.3.4_2/+CONTENTS.libtool-1.3.4_1 --> Unregistering libtool-1.3.4_1 --> Done. Checking 41upgrade-2000.11.01 Checking OpenSSH-2.2.0_1 Checking a2ps-letter-4.13 Checking apsfilter-6.1.1 Checking autoconf-2.13 Checking autoconf213-2.13.000227_1 Checking bash-2.05 Checking boehm-gc-5.3 Checking bzip2-1.0.1 Checking cclient-2000c Checking cdrecord-1.9 Checking cvsup-16.1e Checking fetchmail-5.8.17 Checking freetype2-2.0.3 Checking gd-1.8.4_4 Checking gettext-0.10.35 Checking ghostscript-nox11-6.50_6 Checking gmake-3.79.1 Checking gnupg-1.0.6_1 Checking imap-uw-2000c Checking isc-dhcp3-3.0.r8 Checking ispell-3.1.20c Checking joe-2.8 Checking jpeg-6b_1 Checking less-354 Checking libtool-1.3.4_2 Checking lynx-2.8.3.1 Checking m4-1.4 Checking mkisofs-1.13_1 Checking mm-1.1.3 Checking nmap-2.54.b29 Checking ntp-4.0.99k23 Checking nut-0.45.1 Checking openldap-1.2.11_1 Checking patch-2.5 Checking pine-4.33 Checking pkg_tarup-1.2_3 Checking png-1.2.0_1 Checking portupgrade-20020327 Checking procmail-3.21 Checking psutils-letter-1.17_1 Checking python-2.0 Checking rfc-3.0 Checking ruby-1.6.7.2002.03.13 Checking ruby-bdb1-0.1.6 Checking ruby-fnmatch-1.1b_1 Checking ruby-optparse-0.8.6 Checking samba-2.0.9 Checking snort-1.8.1_1 Checking sudo-1.6.3.7 Checking tin-1.5.6 Checking tripwire-1.2 Checking unix2dos-1.2 Checking unzip-5.41 Checking uulib-0.5.13 Checking w3m-0.1.11.p.23 Checking zip-2.3 Regenerating +REQUIRED_BY files Checking for cyclic dependencies merlin-~# portversion [Updating the portsdb in /usr/ports ... - 6364 port entries found .........1000.........2000.........3000.........4000...../usr/ports/INDEX:4540:Port info line must consist of 10 fields. /usr/ports/INDEX:4541:Port info line must consist of 10 fields. ....5000.........6000... ..... done] 41upgrade = OpenSSH < a2ps-letter < apsfilter < autoconf < autoconf213 = bash < boehm-gc < bzip2 < cclient < cdrecord < cvsup < fetchmail < freetype2 < gd < gettext < ghostscript-nox11 < gmake = gnupg < imap-uw < isc-dhcp3 < ispell < joe < jpeg = less < libtool < libtool = lynx < m4 < mkisofs < mm = nmap < ntp < nut < openldap < patch < pine < pkg_tarup = png < png < portupgrade = procmail < Duplicate libtool and png still there. pkg_info does not show these packages/ports as still being installed. Eradicating the portsdb with portsdb -fu does not help. >How-To-Repeat: Upgrade from a really old version of FreeBSD with duplicate ports and missing origins. Install portupgrade. Build ports INDEX and INDEX.db. Run pkgdb -F and attempt to fix origins and duplications. >Fix: Not known. Creating dirs and files allows pkgdb -F to fun normally but portversion still shows duplicate registrations. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 15:40:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 120EA37B416 for ; Wed, 27 Mar 2002 15:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RNe1V68553; Wed, 27 Mar 2002 15:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ECF6237B400 for ; Wed, 27 Mar 2002 15:35:10 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2RNZAx68005; Wed, 27 Mar 2002 15:35:10 -0800 (PST) (envelope-from nobody) Message-Id: <200203272335.g2RNZAx68005@freefall.freebsd.org> Date: Wed, 27 Mar 2002 15:35:10 -0800 (PST) From: lumpy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36392: cron starts before vi recover, and vi recover isnt dont securely Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36392 >Category: misc >Synopsis: cron starts before vi recover, and vi recover isnt dont securely >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 15:40:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: lumpy >Release: reading cvsweb >Organization: no bs networks >Environment: didnt test >Description: Users can race vi recover a bunch of ways by launching their scripts before vi recover runs using cron. >How-To-Repeat: zzyxxyz >Fix: i'd run the virecover chunk before inetd and cron and stuff like that get a chance to run >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 16: 9:49 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C8BCB37B400; Wed, 27 Mar 2002 16:09:42 -0800 (PST) Received: (from cjc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S09gP77062; Wed, 27 Mar 2002 16:09:42 -0800 (PST) (envelope-from cjc) Date: Wed, 27 Mar 2002 16:09:42 -0800 (PST) From: Message-Id: <200203280009.g2S09gP77062@freefall.freebsd.org> To: cjc@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ports/36388: pkgdb/portversion/portsdb doesn't agree with pkg_info Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: pkgdb/portversion/portsdb doesn't agree with pkg_info Responsible-Changed-From-To: freebsd-bugs->freebsd-ports Responsible-Changed-By: cjc Responsible-Changed-When: Wed Mar 27 16:08:44 PST 2002 Responsible-Changed-Why: Misfiled PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=36388 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 16:50:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0ECA537B41C for ; Wed, 27 Mar 2002 16:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S0o1282649; Wed, 27 Mar 2002 16:50:01 -0800 (PST) (envelope-from gnats) Received: from narcissus.net (narcissus.net [166.84.159.135]) by hub.freebsd.org (Postfix) with ESMTP id 7E7B237B428 for ; Wed, 27 Mar 2002 16:46:14 -0800 (PST) Received: by narcissus.net (Postfix, from userid 1000) id D3DE7D2DE8; Wed, 27 Mar 2002 19:46:09 -0500 (EST) Message-Id: <20020328004609.D3DE7D2DE8@narcissus.net> Date: Wed, 27 Mar 2002 19:46:09 -0500 (EST) From: To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/36397: incorrect information in ata(4) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36397 >Category: bin >Synopsis: incorrect information in ata(4) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 16:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Ben >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD example.com 4.5-STABLE FreeBSD 4.5-STABLE #6: Mon Mar 18 12:08:59 EST 2002 root@example.com:/more/obj/usr/src/sys/EXAMPLE i386 >Description: At least some of the sysctl information is ata(4) is outdated. >How-To-Repeat: % man ata | grep -C atamodes To see the devices' current access modes, use the command line: sysctl hw.atamodes [...] % sysctl hw.atamodes sysctl: unknown oid 'hw.atamodes' >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 17:50: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8F70C37B41B for ; Wed, 27 Mar 2002 17:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S1o1n01138; Wed, 27 Mar 2002 17:50:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4997437B41E for ; Wed, 27 Mar 2002 17:40:16 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S1eGE99269; Wed, 27 Mar 2002 17:40:16 -0800 (PST) (envelope-from nobody) Message-Id: <200203280140.g2S1eGE99269@freefall.freebsd.org> Date: Wed, 27 Mar 2002 17:40:16 -0800 (PST) From: "George V. Neville-Neil" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/36400: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36400 >Category: bin >Synopsis: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 17:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: George V. Neville-Neil >Release: 4.5-STABLE (CVSupped March 17th) >Organization: Neville-Neil Consulting >Environment: FreeBSD jchurch.neville-neil.com 4.5-STABLE FreeBSD 4.5-STABLE #3: Sun Mar 17 23:00:31 PST 2002 gnn@jchurch.neville-neil.com:/usr/local/src-STABLE/src/sys/compile/JCHURCH i386 >Description: After I have started xdm and X11 (XFree86 4.2) on my machine I can no longer get information on LOCAL (i.e. UNIX) domain sockets because netstat seg faults. I have built a version with debugging and traced this down to the printf() call on line 149 of unix.c in -STABLE (the same line occurs in -CURRENT). It would seem that the xsocket data structure passed to printf causes it to barf. >How-To-Repeat: Run XFree86 4.2 Run netstat by itself See sparks fly. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 18:10: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E537837B416 for ; Wed, 27 Mar 2002 18:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S2A2d07490; Wed, 27 Mar 2002 18:10:02 -0800 (PST) (envelope-from gnats) Date: Wed, 27 Mar 2002 18:10:02 -0800 (PST) Message-Id: <200203280210.g2S2A2d07490@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Giorgos Keramidas Subject: Re: bin/8295: Bug in printcap handling of mx#0 Reply-To: Giorgos Keramidas Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/8295; it has been noted by GNATS. From: Giorgos Keramidas To: jedgar@freebsd.org Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/8295: Bug in printcap handling of mx#0 Date: Thu, 28 Mar 2002 04:02:49 +0200 (EET) > State-Changed-From-To: open->feedback > State-Changed-By: jedgar > State-Changed-When: Fri Nov 16 15:04:28 PST 2001 > > Is this still a problem with recent 4.x releases? Do we need to keep this in "feedback" or "open" state anymore? It's more than 4 months that the originator hasn't replied. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 18:30:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7E16737B41B for ; Wed, 27 Mar 2002 18:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S2U1810130; Wed, 27 Mar 2002 18:30:01 -0800 (PST) (envelope-from gnats) Received: from portable.altadena.net (portable.home.altadena.net [66.127.158.100]) by hub.freebsd.org (Postfix) with ESMTP id A1C2437B41E for ; Wed, 27 Mar 2002 18:23:46 -0800 (PST) Received: (from pete@localhost) by portable.altadena.net (8.11.6/8.11.2) id g2S2Njr00520; Wed, 27 Mar 2002 18:23:45 -0800 (PST) (envelope-from pete) Message-Id: <200203280223.g2S2Njr00520@portable.altadena.net> Date: Wed, 27 Mar 2002 18:23:45 -0800 (PST) From: Pete Carah Reply-To: Pete Carah To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/36402: Another Pen drive quirk Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36402 >Category: kern >Synopsis: Another Pen drive quirk >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 18:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Pete Carah >Release: FreeBSD 4.5-STABLE i386 >Organization: Altadena Internet >Environment: System: FreeBSD portable.altadena.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Mar 27 16:08:26 PST 2002 pete@portable.altadena.net:/usr/src/sys/compile/PORT2 i386 >Description: Yet another usb device that doesn't like 6-byte commands etc ------------------- Mar 26 15:49:22 portable /kernel: da0: < USB DISK 1.05> Removable Direct Access SCSI-0 device Mar 26 15:49:22 portable /kernel: da0: 650KB/s transfers Mar 26 15:49:22 portable /kernel: da0: 124MB (253952 512 byte sectors: 64H 32S/T 124C) Mar 26 15:52:16 portable /kernel: umass0: BBB reset failed, TIMEOUT Mar 26 15:52:21 portable /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT Mar 26 15:53:01 portable /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT Mar 26 15:53:06 portable /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT Mar 26 15:53:16 portable /kernel: umass0: BBB reset failed, TIMEOUT Mar 26 15:53:21 portable /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT Mar 26 15:53:26 portable /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT Mar 26 15:53:36 portable /kernel: umass0: BBB reset failed, TIMEOUT Mar 26 15:53:41 portable /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT Mar 26 15:53:46 portable /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT Mar 26 15:53:46 portable /kernel: da0: reading primary partition table: error reading fsbn 0 Mar 26 15:53:56 portable /kernel: umass0: BBB reset failed, TIMEOUT Mar 26 15:54:01 portable /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUMar 26 15:52:26 portable /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT Mar 26 15:52:36 portable /kernel: umass0: BBB reset failed, TIMEOUT Mar 26 15:52:41 portable /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT Mar 26 15:52:46 portable /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT Mar 26 15:52:56 portable /kernel: umass0: BBB reset failed, TIMEOUT T Mar 26 15:54:06 portable /kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT Mar 26 15:54:06 portable /kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 Mar 26 15:54:16 portable /kernel: umass0: BBB reset failed, TIMEOUT Mar 26 15:54:21 portable /kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT ..... ------------------- >How-To-Repeat: Buy a Pen Drive (www.pendrive.com). Try it. >Fix: *** scsi_da.c.orig Fri Feb 22 18:37:02 2002 --- scsi_da.c Wed Mar 27 16:57:00 2002 *************** *** 317,322 **** --- 317,329 ---- {T_DIRECT, SIP_MEDIA_REMOVABLE, "NO BRAND", "PEN DRIVE", "*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE }, + { + /* + * Pen Drive + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "", "USB DISK", "*"}, + /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE + }, { /* * FujiFilm Camera ================================================================ Actually it might be interesting just to try those two flags on *any* usb-connected DA device, since they seem to be needed for most solid-state devices and many real disks. That would cut back a bunch on the quirk table, and especially on the need to figure out a device-id and recompile the kernel each time you try something new... (or arbitrarily set the appropriate flag on any device when a 6-byte read or a sync_cache gives a command error, then retry). It isn't clear from /var/log/messages just what error is reported for this case; full sense isn't in the "read" log message, only a timeout. (sync-cache is clearer...) The device works fine with my suggested diff (except that it single-threads rather badly, but one can live with that). Cool having a 128mb USB "disk" that isn't much bigger than the plug. -- Pete >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Mar 27 23:20:16 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 931BC37B41C for ; Wed, 27 Mar 2002 23:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S7K1p70568; Wed, 27 Mar 2002 23:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4640C37B419 for ; Wed, 27 Mar 2002 23:13:13 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S7DDX69612; Wed, 27 Mar 2002 23:13:13 -0800 (PST) (envelope-from nobody) Message-Id: <200203280713.g2S7DDX69612@freefall.freebsd.org> Date: Wed, 27 Mar 2002 23:13:13 -0800 (PST) From: Genya Sugiyama To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/36410: Bad mac address return from FNW-9803-T (ADMtek 983B) NIC Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36410 >Category: kern >Synopsis: Bad mac address return from FNW-9803-T (ADMtek 983B) NIC >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 23:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Genya Sugiyama >Release: FreeBSD 4.5-STABLE >Organization: >Environment: FreeBSD ak73.home 4.5-STABLE FreeBSD 4.5-STABLE #13: Thu Mar 28 15:29:48 JST 2002 genya@ak73.home:/usr/export/src/sys/compile/AK73 i386 >Description: I use FNW-9803-T ethernet card. (ADMtek 983B) It released PLANEX COMMUNICATIONS INC.(TAIWAN) in japan. it's dmesg was dc0: port 0xdc00-0xdcff \ mem 0xe5810000-0xe58103ff irq 5 at device 10.0 on pci0 dc0: Ethernet address: 08:00:08:00:08:00 it's correct mac addres is 00:90:cc:xx:xx:xx >How-To-Repeat: >Fix: I rewrited if_dc.c and if_dcreg.h. *** /usr/src/sys/pci/if_dcreg.h.org Tue Feb 26 22:35:49 2002 --- /usr/src/sys/pci/if_dcreg.h Thu Mar 28 09:29:18 2002 *************** *** 77,82 **** --- 77,84 ---- #define DC_TYPE_PNIC 0xA /* 82c168/82c169 PNIC I */ #define DC_TYPE_CONEXANT 0xC /* Conexant LANfinity RS7112 */ + #define DC_TYPE_AN983 0xFF /* ADMtek AN983B CentaurB */ + #define DC_IS_MACRONIX(x) \ (x->dc_type == DC_TYPE_98713 || \ x->dc_type == DC_TYPE_98713A || \ *************** *** 84,89 **** --- 86,92 ---- #define DC_IS_ADMTEK(x) \ (x->dc_type == DC_TYPE_AL981 || \ + x->dc_type == DC_TYPE_AN983 || \ x->dc_type == DC_TYPE_AN985) #define DC_IS_INTEL(x) (x->dc_type == DC_TYPE_21143) *** /usr/src/sys/pci/if_dc.c.org Tue Feb 26 22:35:49 2002 --- /usr/src/sys/pci/if_dc.c Thu Mar 28 09:27:06 2002 *************** *** 1669,1675 **** { int s, tmp = 0; u_char eaddr[ETHER_ADDR_LEN]; ! u_int32_t command; struct dc_softc *sc; struct ifnet *ifp; u_int32_t revision; --- 1669,1675 ---- { int s, tmp = 0; u_char eaddr[ETHER_ADDR_LEN]; ! u_int32_t command, reg; struct dc_softc *sc; struct ifnet *ifp; u_int32_t revision; *************** *** 1775,1781 **** break; case DC_DEVICEID_AN985: case DC_DEVICEID_EN2242: ! sc->dc_type = DC_TYPE_AN985; sc->dc_flags |= DC_TX_USE_TX_INTR; sc->dc_flags |= DC_TX_ADMTEK_WAR; sc->dc_pmode = DC_PMODE_MII; --- 1775,1791 ---- break; case DC_DEVICEID_AN985: case DC_DEVICEID_EN2242: ! reg = pci_read_config(dev, DC_PCI_CSID, 4); ! /* printf("CSID=%08x\n", reg); */ ! switch (reg) { ! case 0x980314ea: /* FNW-9803-T */ ! case 0xa11b1259: /* Corega */ ! sc->dc_type = DC_TYPE_AN983; ! break; ! default: ! sc->dc_type = DC_TYPE_AN985; ! break; ! } sc->dc_flags |= DC_TX_USE_TX_INTR; sc->dc_flags |= DC_TX_ADMTEK_WAR; sc->dc_pmode = DC_PMODE_MII; *************** *** 1900,1905 **** --- 1910,1916 ---- dc_read_eeprom(sc, (caddr_t)&eaddr, DC_EE_NODEADDR, 3, 0); break; case DC_TYPE_AL981: + case DC_TYPE_AN983: case DC_TYPE_AN985: dc_read_eeprom(sc, (caddr_t)&eaddr, DC_AL_EE_NODEADDR, 3, 0); break; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 0:40:18 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 375DD37B426 for ; Thu, 28 Mar 2002 00:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S8e2m89002; Thu, 28 Mar 2002 00:40:02 -0800 (PST) (envelope-from gnats) Date: Thu, 28 Mar 2002 00:40:02 -0800 (PST) Message-Id: <200203280840.g2S8e2m89002@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Maxim Konovalov Subject: Re: bin/36397: incorrect information in ata(4) Reply-To: Maxim Konovalov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/36397; it has been noted by GNATS. From: Maxim Konovalov To: float@firedrake.org Cc: bug-followup@FreeBSD.org Subject: Re: bin/36397: incorrect information in ata(4) Date: Thu, 28 Mar 2002 11:33:52 +0300 (MSK) Seems sos forgot to MFC man4/ata.4 rev.1.15: http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/ata.4.diff?r1=text&tr1=1.15&r2=text&tr2=1.13 -- Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer phone: +7 (095) 796-9079, mailto:maxim@macomnet.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 0:40:27 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6688037B421 for ; Thu, 28 Mar 2002 00:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S8e1588996; Thu, 28 Mar 2002 00:40:01 -0800 (PST) (envelope-from gnats) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 13FE737B405 for ; Thu, 28 Mar 2002 00:31:32 -0800 (PST) Received: from fokus.gmd.de (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g2S8VUL09801 for ; Thu, 28 Mar 2002 09:31:30 +0100 (MET) Received: (from root@localhost) by fokus.gmd.de (8.11.6/8.11.0) id g2S8VUK00451; Thu, 28 Mar 2002 09:31:30 +0100 (CET) (envelope-from hbb) Message-Id: <200203280831.g2S8VUK00451@fokus.gmd.de> Date: Thu, 28 Mar 2002 09:31:30 +0100 (CET) From: Hartmut Brandt Reply-To: Hartmut Brandt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/36413: the bktr driver tries to destroy device aliases and panics the kernel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36413 >Category: kern >Synopsis: the bktr driver tries to destroy device aliases and panics the kernel >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 00:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hartmut Brandt >Release: FreeBSD 5.0-CURRENT i386 >Organization: FhI Fokus >Environment: System: FreeBSD beagle.fokus.gmd.de 5.0-CURRENT FreeBSD 5.0-CURRENT #31: Wed Mar 27 14:48:19 CET 2002 hbb@beagle.fokus.gmd.de:/opt/obj/usr/src/sys/BEAGLE i386 >Description: For unit number 0 the bktr driver creates device aliases without the unit number in the name. When unloaded the driver calls destroy_dev on these aliases, although make_dev(9) explicitly states, that this should not be done. Consequently the kernel panics in the devfs code with a 'Don't do that'. >How-To-Repeat: kldload bktr kldunload bktr >Fix: Apply the following patch to bktr_os.c Index: bktr_os.c =================================================================== RCS file: /usr/ncvs/src/sys/dev/bktr/bktr_os.c,v retrieving revision 1.24 diff -u -r1.24 bktr_os.c --- bktr_os.c 4 Nov 2001 11:50:08 -0000 1.24 +++ bktr_os.c 28 Mar 2002 08:27:07 -0000 @@ -481,19 +481,11 @@ /* The memory is retained by the bktr_mem module so we can unload and */ /* then reload the main bktr driver module */ - /* Unregister the /dev/bktrN, tunerN and vbiN devices */ + /* Unregister the /dev/bktrN, tunerN and vbiN devices, + * the aliases for unit 0 are automatically destroyed */ destroy_dev(bktr->vbidev); destroy_dev(bktr->tunerdev); destroy_dev(bktr->bktrdev); - - /* If this is unit 0, then destroy the alias entries too */ -#if (__FreeBSD_version >=500000) - if (unit == 0) { - destroy_dev(bktr->vbidev_alias); - destroy_dev(bktr->tunerdev_alias); - destroy_dev(bktr->bktrdev_alias); - } -#endif /* * Deallocate resources. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 1:30:16 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A149137B41A for ; Thu, 28 Mar 2002 01:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S9U1f00250; Thu, 28 Mar 2002 01:30:01 -0800 (PST) (envelope-from gnats) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id B180637B416 for ; Thu, 28 Mar 2002 01:25:15 -0800 (PST) Received: from fokus.gmd.de (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g2S9PDL17868 for ; Thu, 28 Mar 2002 10:25:13 +0100 (MET) Received: (from root@localhost) by fokus.gmd.de (8.11.6/8.11.0) id g2S9PD413433; Thu, 28 Mar 2002 10:25:13 +0100 (CET) (envelope-from hbb) Message-Id: <200203280925.g2S9PD413433@fokus.gmd.de> Date: Thu, 28 Mar 2002 10:25:13 +0100 (CET) From: Hartmut Brandt Reply-To: Hartmut Brandt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/36415: the bktr driver incorrectly handles the setting of frame rates Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36415 >Category: kern >Synopsis: the bktr driver incorrectly handles the setting of frame rates >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 01:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hartmut Brandt >Release: FreeBSD 5.0-CURRENT i386 >Organization: FhI Fokus >Environment: System: FreeBSD beagle.fokus.gmd.de 5.0-CURRENT FreeBSD 5.0-CURRENT #31: Wed Mar 27 14:48:19 CET 2002 hbb@beagle.fokus.gmd.de:/opt/obj/usr/src/sys/BEAGLE i386 >Description: In the case when the driver captures both fields of a frame the temporal decimation register is incorrectly set. This leads to a wrong resulting frame rate. The register is set to drop frames not fields (by setting bit 7 to zero). Therefor the number of dropped items need not to be multiplied by 2 for the case when both fields are captured for a frame. The chip itself takes care for dropping both fields of the dropped frame. As a sidenote: (2) Bktr fails to compile if BT848_DUMP is defined. >How-To-Repeat: Use an application that captures full size PAL and request a frame of 12 fps from the driver. Observe the frame rate dropping to 1 fps. This is due the computation in bktr_core.c:set_fps(). When both WANT flags are 1 (capturing both fields) the difference between the maximum frame rate (25 for PAL) and the requested frame rate (12) is multiplied by two falsely assuming, that the register must contain the number of fields to drop. This yields a value of 24 and the chip drops 24 out of 25 frames resulting in a frame rate of 1. (2) Define BT848_DUMP and observe the compile to fail. >Fix: Apply the following patch. This corrects both problems: Index: bktr_core.c =================================================================== RCS file: /usr/ncvs/src/sys/dev/bktr/bktr_core.c,v retrieving revision 1.118 diff -u -r1.118 bktr_core.c --- bktr_core.c 14 Mar 2002 01:32:21 -0000 1.118 +++ bktr_core.c 28 Mar 2002 09:15:56 -0000 @@ -962,7 +962,7 @@ bktr->flags |= METEOR_OPEN; #ifdef BT848_DUMP - dump_bt848( bt848 ); + dump_bt848(bktr); #endif bktr->clr_on_start = FALSE; @@ -1640,7 +1640,7 @@ BT848_INT_VSYNC | BT848_INT_FMTCHG); #ifdef BT848_DUMP - dump_bt848( bt848 ); + dump_bt848(bktr); #endif break; @@ -2473,7 +2473,7 @@ /* * */ -#ifdef BT848_DEBUG +#if defined(BT848_DEBUG) || defined(BT848_DUMP) static int dump_bt848( bktr_ptr_t bktr ) { @@ -2493,7 +2493,7 @@ r[i], INL(bktr, r[i]), r[i+1], INL(bktr, r[i+1]), r[i+2], INL(bktr, r[i+2]), - r[i+3], INL(bktr, r[i+3]])); + r[i+3], INL(bktr, r[i+3])); } printf("%s: INT STAT %x \n", bktr_name(bktr), @@ -3657,28 +3657,26 @@ /* - * + * Set the temporal decimation register to get the desired frame rate. + * We use the 'skip frame' modus always and always start dropping on an + * odd field. */ static void set_fps( bktr_ptr_t bktr, u_short fps ) { struct format_params *fp; - int i_flag; fp = &format_params[bktr->format_params]; switch(bktr->flags & METEOR_ONLY_FIELDS_MASK) { case METEOR_ONLY_EVEN_FIELDS: bktr->flags |= METEOR_WANT_EVEN; - i_flag = 1; break; case METEOR_ONLY_ODD_FIELDS: bktr->flags |= METEOR_WANT_ODD; - i_flag = 1; break; default: bktr->flags |= METEOR_WANT_MASK; - i_flag = 2; break; } @@ -3689,7 +3687,7 @@ OUTB(bktr, BKTR_TDEC, 0); if (fps < fp->frame_rate) - OUTB(bktr, BKTR_TDEC, i_flag*(fp->frame_rate - fps) & 0x3f); + OUTB(bktr, BKTR_TDEC, (fp->frame_rate - fps) & 0x3f); else OUTB(bktr, BKTR_TDEC, 0); return; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 1:33:45 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 852BF37B41A; Thu, 28 Mar 2002 01:33:42 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S9Xgu00884; Thu, 28 Mar 2002 01:33:42 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 01:33:42 -0800 (PST) From: Message-Id: <200203280933.g2S9Xgu00884@freefall.freebsd.org> To: murray@FreeBSD.org, freebsd-bugs@FreeBSD.org, joe@FreeBSD.org Subject: Re: kern/34747: Please add USB floppy entry Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: Please add USB floppy entry Responsible-Changed-From-To: freebsd-bugs->joe Responsible-Changed-By: murray Responsible-Changed-When: Thu Mar 28 01:33:00 PST 2002 Responsible-Changed-Why: Hey Joe, is this kind of Quirk entry still necessary? Maybe only in -STABLE now? http://www.freebsd.org/cgi/query-pr.cgi?pr=34747 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 1:35:52 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B05C637B404; Thu, 28 Mar 2002 01:35:50 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S9ZoC01203; Thu, 28 Mar 2002 01:35:50 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 01:35:50 -0800 (PST) From: Message-Id: <200203280935.g2S9ZoC01203@freefall.freebsd.org> To: murray@FreeBSD.org, freebsd-bugs@FreeBSD.org, chern@FreeBSD.org Subject: Re: ports/34878: sysinstall Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: sysinstall Responsible-Changed-From-To: freebsd-bugs->chern Responsible-Changed-By: murray Responsible-Changed-When: Thu Mar 28 01:35:14 PST 2002 Responsible-Changed-Why: Hey Chern, can you please look into this? Why does the package add fail in sysinstall? http://www.freebsd.org/cgi/query-pr.cgi?pr=34878 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 1:38:22 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 32D9837B419; Thu, 28 Mar 2002 01:38:20 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S9cJf01619; Thu, 28 Mar 2002 01:38:19 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 01:38:19 -0800 (PST) From: Message-Id: <200203280938.g2S9cJf01619@freefall.freebsd.org> To: n4okg@mobis.com, murray@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/34757: Difficulty in starting x-server Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: Difficulty in starting x-server State-Changed-From-To: open->closed State-Changed-By: murray State-Changed-When: Thu Mar 28 01:36:48 PST 2002 State-Changed-Why: This is a configuration problem. Please follow up with freebsd-questions@ if you are still having trouble. http://www.freebsd.org/cgi/query-pr.cgi?pr=34757 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 1:40:30 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D7EE937B42C; Thu, 28 Mar 2002 01:40:18 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S9eII01913; Thu, 28 Mar 2002 01:40:18 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 01:40:18 -0800 (PST) From: Message-Id: <200203280940.g2S9eII01913@freefall.freebsd.org> To: murray@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-doc@FreeBSD.org Subject: Re: bin/34955: [PATCH] ps(1) is out of touch with reality Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: [PATCH] ps(1) is out of touch with reality Responsible-Changed-From-To: freebsd-bugs->freebsd-doc Responsible-Changed-By: murray Responsible-Changed-When: Thu Mar 28 01:40:11 PST 2002 Responsible-Changed-Why: docs bug. http://www.freebsd.org/cgi/query-pr.cgi?pr=34955 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 1:46:34 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EAB7A37B400; Thu, 28 Mar 2002 01:46:31 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S9kVD03181; Thu, 28 Mar 2002 01:46:31 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 01:46:31 -0800 (PST) From: Message-Id: <200203280946.g2S9kVD03181@freefall.freebsd.org> To: murray@FreeBSD.org, freebsd-bugs@FreeBSD.org, chern@FreeBSD.org Subject: Re: i386/35101: cvusupit and other packages won't extract Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: cvusupit and other packages won't extract Responsible-Changed-From-To: freebsd-bugs->chern Responsible-Changed-By: murray Responsible-Changed-When: Thu Mar 28 01:45:02 PST 2002 Responsible-Changed-Why: Hey Chern, can you please verify that the ssmtp and totd packages can not be installed from the 4.5 CDs? If these packages have the same interactive problem as cvsupit, then we need to add them to the list of bad packages in print-cdrom-packages.sh. http://www.freebsd.org/cgi/query-pr.cgi?pr=35101 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 1:50:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 830BC37B420 for ; Thu, 28 Mar 2002 01:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S9o1X04088; Thu, 28 Mar 2002 01:50:01 -0800 (PST) (envelope-from gnats) Received: from nelly.internal.irrelevant.org (irrelevant.demon.co.uk [158.152.220.121]) by hub.freebsd.org (Postfix) with ESMTP id E74B737B405 for ; Thu, 28 Mar 2002 01:44:15 -0800 (PST) Received: from simond by nelly.internal.irrelevant.org with local (Exim 3.35 #1) id 16qWS6-0000yl-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 28 Mar 2002 09:44:14 +0000 Message-Id: Date: Thu, 28 Mar 2002 09:44:14 +0000 From: Simon Dick Reply-To: Simon Dick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/36416: Addition to /etc/defaults/pccard.conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36416 >Category: conf >Synopsis: Addition to /etc/defaults/pccard.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 01:50:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Simon Dick >Release: FreeBSD 4.5-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD laptop.internal.irrelevant.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Mar 22 17:37:09 GMT 2002 root@laptop.internal.irrelevant.org:/usr/obj/usr/src/sys/LAPTOP i386 >Description: Update to recognise Integral ATA CF cards >How-To-Repeat: >Fix: Index: pccard.conf =================================================================== RCS file: /usr/nfs/ncvs/src/etc/defaults/pccard.conf,v retrieving revision 1.236 diff -u -r1.236 pccard.conf --- pccard.conf 18 Mar 2002 04:51:01 -0000 1.236 +++ pccard.conf 28 Mar 2002 09:40:23 -0000 @@ -291,6 +291,10 @@ card "/VIKING ATA/CF FLASH CARD */" "/TOR/AM */" config 0x2 "ata" ? +# Integral ATA Flash card +card "C-ONE" "/CFA .*/" + config 0x1 "ata" ? + ########## awi ########## # Generic AMD Am79c930 based card >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 2: 0: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 57BA437B400 for ; Thu, 28 Mar 2002 02:00:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SA04106084; Thu, 28 Mar 2002 02:00:04 -0800 (PST) (envelope-from gnats) Date: Thu, 28 Mar 2002 02:00:04 -0800 (PST) Message-Id: <200203281000.g2SA04106084@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Thomas Quinot Subject: Re: bin/36400: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets Reply-To: Thomas Quinot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/36400; it has been noted by GNATS. From: Thomas Quinot To: "George V. Neville-Neil" Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/36400: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets Date: Thu, 28 Mar 2002 10:54:18 +0100 Le 2002-03-28, George V. Neville-Neil écrivait : > >Synopsis: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets I had the same problem recently on a -STABLE box where I had upgraded only the kernel. Have you tried a make world? -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 2:10:23 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5FC8837B41B for ; Thu, 28 Mar 2002 02:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SAA1E11974; Thu, 28 Mar 2002 02:10:01 -0800 (PST) (envelope-from gnats) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id 70E5637B405 for ; Thu, 28 Mar 2002 02:02:47 -0800 (PST) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.11.6/8.11.6) id g2SA2hY54081; Thu, 28 Mar 2002 17:02:43 +0700 (KRAT) (envelope-from eugen) Message-Id: <200203281002.g2SA2hY54081@www.svzserv.kemerovo.su> Date: Thu, 28 Mar 2002 17:02:43 +0700 (KRAT) From: Eugene Grosbein Reply-To: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/36417: It's impossible to rebuild GENERIC kernel if world built with NOLIB=true: no libl Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36417 >Category: bin >Synopsis: It's impossible to rebuild GENERIC kernel if world built with NOLIB=true: no libl >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 02:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 4.5-STABLE i386 >Organization: Svyaz Service >Environment: System: FreeBSD www.svzserv.kemerovo.su 4.5-STABLE FreeBSD 4.5-STABLE #2: Wed Mar 20 10:19:40 KRAT 2002 eu@www.svzserv.kemerovo.su:/home3/obj/home3/src/sys/WWW i386 >Description: One can build relatively small (<64M) small world using many flags like NOSHARED=no, NOLIB=true etc. to use FreeBSD with small media (flash, old small hard drive) when PicoBSD is not an option. I built such world and custom kernel, all runs find. It was built from recent STABLE sources so I decided to rebuild GENERIC too. This host has small drive so it can only handle kernel sources so I used old kernel building method: config GENERIC; cd ../../compile/GENERIC; make depend && make But it failed because NOLIB=true disabled building of libl: make -f ../../dev/aic7xxx/aicasm/Makefile MAKESRCPATH=../../dev/aic7xxx/aicasm Warning: Object directory not changed from original /usr/src/sys/compile/GENERIC cc -O -pipe -m486 -I/usr/include -I. -o aicasm aicasm_gram.o aicasm_scan.o aicasm.o aicasm_symbol.o -ll /usr/libexec/elf/ld: cannot find -ll *** Error code 1 Stop in /usr/src/sys/compile/GENERIC. *** Error code 1 Stop in /usr/src/sys/compile/GENERIC. >How-To-Repeat: Make world with NOLIB=true, install it, run it and try to build GENERIC kernel. >Fix: Make building of libl unconditional. --- usr.bin/lex/Makefile.orig Thu Mar 28 17:00:43 2002 +++ usr.bin/lex/Makefile Thu Mar 28 17:00:59 2002 @@ -24,9 +24,7 @@ CLEANFILES= scan.c skel.c -.if !defined(NOLIB) SUBDIR= lib -.endif skel.c: mkskel.sh flex.skl sh ${.CURDIR}/mkskel.sh ${.CURDIR}/flex.skl > skel.c >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 2:10:54 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AD54F37B41E for ; Thu, 28 Mar 2002 02:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SAA1a11983; Thu, 28 Mar 2002 02:10:01 -0800 (PST) (envelope-from gnats) Received: from iMach.com (barbwire.iMach.com [206.127.77.82]) by hub.freebsd.org (Postfix) with ESMTP id E7A0A37B417 for ; Thu, 28 Mar 2002 02:09:19 -0800 (PST) Received: (from root@localhost) by iMach.com (8.11.6/8.11.6) id g2R2sJB05876; Wed, 27 Mar 2002 02:54:19 GMT (envelope-from root) Message-Id: <200203270254.g2R2sJB05876@FluxCapacitor.iMach.com> Date: Wed, 27 Mar 2002 02:54:19 GMT From: "Forrest W. Christian" Reply-To: "Forrest W. Christian" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/36418: pccardd added option to exit after probe Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36418 >Category: bin >Synopsis: pccardd added option to exit after probe >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 02:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Forrest W.Christian (forrestc@imach.com) >Release: FreeBSD 4.5-STABLE i386 >Organization: iMach, Ltd. >Environment: N/A >Description: pccardd does not contain an option to exit immediately after probing the cards. This is neccessary in low-memory embedded environments where the overhead of pccardd running after the initial probe is not wanted or needed. >How-To-Repeat: N/A >Fix: Patch is attached. I am currently re-applying this to my source tree by hand after each cvsup. I have tested this and it works (dozens of 486 8MB wireless systems floating around with this patch). I would appreciate it if a maintainer would look at this and possibly apply it to the -STABLE tree, if possible. (Both man page and source file patches are below) *** /usr/src/usr.sbin/pccard/pccardd/pccardd.c Tue Sep 4 20:51:36 2001 --- pccardd.c Wed Mar 27 02:31:39 2002 *************** *** 156,167 **** { struct slot *sp; int count, dodebug = 0; int delay = 0; int irq_arg[16]; int irq_specified = 0; int i; struct sockaddr_un sun; ! #define COM_OPTS ":Idvf:s:i:z" bzero(irq_arg, sizeof(irq_arg)); use_kern_irq = 1; --- 156,168 ---- { struct slot *sp; int count, dodebug = 0; + int probeonly = 0; int delay = 0; int irq_arg[16]; int irq_specified = 0; int i; struct sockaddr_un sun; ! #define COM_OPTS ":Idvf:s:i:zx" bzero(irq_arg, sizeof(irq_arg)); use_kern_irq = 1; *************** *** 196,201 **** --- 197,205 ---- case 's': sock = optarg; break; + case 'x': + probeonly = 1; + break; case 'z': delay = 1; break; *************** *** 224,235 **** if (doverbose) dump_config_file(); log_setup(); ! if (!dodebug && !delay) if (daemon(0, 0)) die("fork failed"); slots = readslots(); if (slots == 0) die("no PC-CARD slots"); if (delay) if (daemon(0, 0)) die("fork failed"); --- 228,241 ---- if (doverbose) dump_config_file(); log_setup(); ! if (!dodebug && !delay && !probeonly) if (daemon(0, 0)) die("fork failed"); slots = readslots(); if (slots == 0) die("no PC-CARD slots"); + if (probeonly) + exit(0); if (delay) if (daemon(0, 0)) die("fork failed"); *** /usr/src/usr.sbin/pccard/pccardd/pccardd.8 Tue Sep 4 20:51:30 2001 --- pccardd.8 Wed Mar 27 02:19:57 2002 *************** *** 35,40 **** --- 35,41 ---- .Nm .Op Fl d .Op Fl v + .Op Fl x .Op Fl z .Op Fl i Ar IRQ .Op Fl I *************** *** 134,139 **** --- 135,145 ---- .It Fl v After reading the configuration file, print out a summary of it. + .It Fl x + Exits immediately after the cards have been probed and attached. This is + primarily useful in embedded applications where it is desirable to use + pccardd to start PC-CARD devices but prohibitive memory-wise to leave + the pccardd process running. .It Fl z Delays running as a daemon until after the cards have been probed and attached. .It Fl I >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 2:20: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D283E37B405 for ; Thu, 28 Mar 2002 02:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SAK2g14022; Thu, 28 Mar 2002 02:20:02 -0800 (PST) (envelope-from gnats) Date: Thu, 28 Mar 2002 02:20:02 -0800 (PST) Message-Id: <200203281020.g2SAK2g14022@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Alexander Haderer Subject: Re: misc/35151: High NFSD load in FreeBSD 4.5R Reply-To: Alexander Haderer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/35151; it has been noted by GNATS. From: Alexander Haderer To: freebsd-gnats-submit@FreeBSD.org, anderson@centtech.com Cc: Subject: Re: misc/35151: High NFSD load in FreeBSD 4.5R Date: Thu, 28 Mar 2002 11:17:00 +0100 Sorry, I was wrong! disabling soft updates only delays the effect of eating CPU time. After long term investigations we found something other. Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=3D36381 for details. Alexander --=20 Alexander Haderer Charit=E9 Berlin - Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 2:28:47 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4645237B405; Thu, 28 Mar 2002 02:28:43 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SAShp15236; Thu, 28 Mar 2002 02:28:43 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 02:28:43 -0800 (PST) From: Message-Id: <200203281028.g2SAShp15236@freefall.freebsd.org> To: foowhat@optonline.net, murray@FreeBSD.org, freebsd-bugs@FreeBSD.org, murray@FreeBSD.org Subject: Re: i386/35599: install Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: install State-Changed-From-To: open->feedback State-Changed-By: murray State-Changed-When: Thu Mar 28 02:26:09 PST 2002 State-Changed-Why: No similar problems have been reported. Please focus more on the details when submitting PRs. It is unclear exactly what problems you experienced. Can you please elaborate on : "During the install I was getting error messages on the binary packages." and "Some of the dependancies would not load correctly." Thanks. Responsible-Changed-From-To: freebsd-bugs->murray Responsible-Changed-By: murray Responsible-Changed-When: Thu Mar 28 02:26:09 PST 2002 Responsible-Changed-Why: No similar problems have been reported. Please focus more on the details when submitting PRs. It is unclear exactly what problems you experienced. Can you please elaborate on : "During the install I was getting error messages on the binary packages." and "Some of the dependancies would not load correctly." Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=35599 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 2:34:59 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4611137B405; Thu, 28 Mar 2002 02:34:57 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SAYv216376; Thu, 28 Mar 2002 02:34:57 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 02:34:57 -0800 (PST) From: Message-Id: <200203281034.g2SAYv216376@freefall.freebsd.org> To: murray@FreeBSD.org, freebsd-bugs@FreeBSD.org, murray@FreeBSD.org Subject: Re: kern/35993: sys/dev/amr/amr.c - Compiler warnings under 5.0-CURRENT Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: sys/dev/amr/amr.c - Compiler warnings under 5.0-CURRENT Responsible-Changed-From-To: freebsd-bugs->murray Responsible-Changed-By: murray Responsible-Changed-When: Thu Mar 28 02:34:33 PST 2002 Responsible-Changed-Why: I will look into this. I'm pretty sure it was fixed on the 18th. http://www.freebsd.org/cgi/query-pr.cgi?pr=35993 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 2:56:31 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 83EB537B416; Thu, 28 Mar 2002 02:56:27 -0800 (PST) Received: (from ru@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SAuRE20278; Thu, 28 Mar 2002 02:56:27 -0800 (PST) (envelope-from ru) Date: Thu, 28 Mar 2002 02:56:27 -0800 (PST) From: Message-Id: <200203281056.g2SAuRE20278@freefall.freebsd.org> To: eugen@www.svzserv.kemerovo.su, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org, ru@FreeBSD.org Subject: Re: bin/36417: It's impossible to rebuild GENERIC kernel if world built with NOLIB=true: no libl Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: It's impossible to rebuild GENERIC kernel if world built with NOLIB=true: no libl State-Changed-From-To: open->closed State-Changed-By: ru State-Changed-When: Thu Mar 28 02:55:44 PST 2002 State-Changed-Why: Committed, thanks! Responsible-Changed-From-To: freebsd-bugs->ru Responsible-Changed-By: ru Responsible-Changed-When: Thu Mar 28 02:55:44 PST 2002 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=36417 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 3: 8: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9A5C537B416; Thu, 28 Mar 2002 03:08:06 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SB86w28238; Thu, 28 Mar 2002 03:08:06 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 03:08:06 -0800 (PST) From: Message-Id: <200203281108.g2SB86w28238@freefall.freebsd.org> To: edwin@mavetju.org, murray@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/35524: [patch] update man-page of burncd(8) to tell about the use of mkisofs before burning a cd. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: [patch] update man-page of burncd(8) to tell about the use of mkisofs before burning a cd. State-Changed-From-To: open->closed State-Changed-By: murray State-Changed-When: Thu Mar 28 03:05:07 PST 2002 State-Changed-Why: I've added some text to the examples section of the man page to mention mkisofs. I will MFC the addition in about 3 days. I didn't use your patch because we'd like to avoid the word "you" in man pages if possible. Also, you should start sentences on a new line in FreeBSD, always use lower case for command names, and use the .Xr macro to cross reference another man page. Thanks for the submission. http://www.freebsd.org/cgi/query-pr.cgi?pr=35524 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 3:18:47 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3EFB337B41D; Thu, 28 Mar 2002 03:18:28 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SBISs31785; Thu, 28 Mar 2002 03:18:28 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 03:18:28 -0800 (PST) From: Message-Id: <200203281118.g2SBISs31785@freefall.freebsd.org> To: thz@Lennartz-electronic.de, murray@FreeBSD.org, freebsd-bugs@FreeBSD.org, murray@FreeBSD.org Subject: Re: kern/36302: patch: add 4 port serial card to PUC driver Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: patch: add 4 port serial card to PUC driver State-Changed-From-To: open->analyzed State-Changed-By: murray State-Changed-When: Thu Mar 28 03:17:42 PST 2002 State-Changed-Why: Patch committed to -CURRENT, thanks! This will be MFCed in about a week, and will be present in FreeBSD 4.6. Responsible-Changed-From-To: freebsd-bugs->murray Responsible-Changed-By: murray Responsible-Changed-When: Thu Mar 28 03:17:42 PST 2002 Responsible-Changed-Why: My MFC reminder. http://www.freebsd.org/cgi/query-pr.cgi?pr=36302 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 3:25:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A311D37B43C; Thu, 28 Mar 2002 03:25:04 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SBP4m34087; Thu, 28 Mar 2002 03:25:04 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 03:25:04 -0800 (PST) From: Message-Id: <200203281125.g2SBP4m34087@freefall.freebsd.org> To: thomas@loghyr.com, murray@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/36320: inconsistent indentation levels for FTP installs on sysinstall Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: inconsistent indentation levels for FTP installs on sysinstall State-Changed-From-To: open->closed State-Changed-By: murray State-Changed-When: Thu Mar 28 03:23:10 PST 2002 State-Changed-Why: The indention is used to make the hot key stand out more. If you will notice, with a color terminal, the first key of each of the non-indented FTP sites is a different color. If you press this key, then that menu item is selected so the user does not have to scroll all the way down. The first mirror of a given letter is given the hotkey. So if you press 'T', the first Taiwan mirror is selected, etc.. Thanks for the submission. http://www.freebsd.org/cgi/query-pr.cgi?pr=36320 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 3:29: 0 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 24BA437B405; Thu, 28 Mar 2002 03:28:48 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SBSmJ35437; Thu, 28 Mar 2002 03:28:48 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 03:28:48 -0800 (PST) From: Message-Id: <200203281128.g2SBSmJ35437@freefall.freebsd.org> To: murray@FreeBSD.org, freebsd-bugs@FreeBSD.org, murray@FreeBSD.org Subject: Re: misc/36385: crunchgen does not handle Makefiles with includes properly Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: crunchgen does not handle Makefiles with includes properly Responsible-Changed-From-To: freebsd-bugs->murray Responsible-Changed-By: murray Responsible-Changed-When: Thu Mar 28 03:27:54 PST 2002 Responsible-Changed-Why: I would very much like to see something like this added so we can clean up the ugliness I added to src/sbin/dhclient/Makefile in -CURRENT. http://www.freebsd.org/cgi/query-pr.cgi?pr=36385 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 3:37:51 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E23CF37B405; Thu, 28 Mar 2002 03:37:48 -0800 (PST) Received: (from murray@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SBbmB38454; Thu, 28 Mar 2002 03:37:48 -0800 (PST) (envelope-from murray) Date: Thu, 28 Mar 2002 03:37:48 -0800 (PST) From: Message-Id: <200203281137.g2SBbmB38454@freefall.freebsd.org> To: satherrl@dssrg.curtin.edu.au, murray@FreeBSD.org, freebsd-bugs@FreeBSD.org, murray@FreeBSD.org Subject: Re: bin/34728: DHCP hostname set as Hexadecimal string Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: DHCP hostname set as Hexadecimal string State-Changed-From-To: open->feedback State-Changed-By: murray State-Changed-When: Thu Mar 28 03:35:54 PST 2002 State-Changed-Why: I don't think this is necessary. The comment at the top of that file says that a value of 'X' means that the client will print in hex only if the hostname is non-printable ASCII characters. What value is the DHCP server trying to return to the client? It sounds like the DHCP server is sending a corrupted host name or something. Responsible-Changed-From-To: freebsd-bugs->murray Responsible-Changed-By: murray Responsible-Changed-When: Thu Mar 28 03:35:54 PST 2002 Responsible-Changed-Why: I'm working on DHCP in FreeBSD. http://www.freebsd.org/cgi/query-pr.cgi?pr=34728 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 5:50:49 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NetScum.dyndns.dk (dclient217-162-168-197.hispeed.ch [217.162.168.197]) by hub.freebsd.org (Postfix) with ESMTP id 09FE037B419 for ; Thu, 28 Mar 2002 05:50:43 -0800 (PST) Received: from beerswilling.netscum.dyndns.dk (dcf77-zeit.netscum.dyndns.dk [172.27.72.27] (may be forged)) by dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NetScum.dyndns.dk (8.11.6/8.11.6) with ESMTP id g2SDod201018 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified FAIL) for ; Thu, 28 Mar 2002 14:50:41 +0100 (CET) (envelope-from bounce@netscum.dyndns.dk) Received: (from root@localhost) by beerswilling.netscum.dyndns.dk (8.11.6/8.11.6) id g2SDodU01010; Thu, 28 Mar 2002 14:50:39 +0100 (CET) (envelope-from bounce@netscum.dyndns.dk) Date: Thu, 28 Mar 2002 14:50:39 +0100 (CET) Message-Id: <200203281350.g2SDodU01010@beerswilling.netscum.dyndns.dk> Subject: Read-only `cvs' checkout with specified tag seems b0rken? From: BOUWSMA Beery To: freebsd-bugs@freebsd.org Organization: Men not wearing any pants that dont shave X-Hacked: via telnet to your port 25, what else? X-Internet-Access-Provided-By: faster Cabal Modem for a change! X-NetScum: Yes X-One-And-Only-Real-True-Fluffy: No Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [replies sent directly to me may timeout and bounce, since I'm not online as often as I should be, but I'll check the list archives] Moin, moin! It sure looks to me that even when I specify the `-R' read-only repository option to `cvs', it still wants to write into the (read-only) repository, so long as I've specified a `-r tag' ... A checkout without the `-r tag' runs happily. (Tested on -stable, didn't try -current) FWIW, I'm now in NetBSD, where the `-r tag' command is working to give me the repository, though with the NetBSD `-u' option to `cvs' that's supposed to be comparable to FreeBSD's `-R' option. And yes, the CVSR00T directory is also mounted read-only. The NetBSD source uses `nolock' set by `-u' that can be found in several more source files (such as tag.c) than the `readonlyfs' of FreeBSD that only shows in main.c and lock.c, in the src directory, if that helps. voila: bash-2.05a$ time cvs -d /mnt/cvsup/XFree86.cvs -R co -r xf-3_3-branch xc cvs [checkout aborted]: cannot write /mnt/cvsup/XFree86.cvs/CVSROOT/val-tags: Re ad-only file system real 5m54.998s user 1m14.553s sys 0m58.791s bash-2.05a$ time cvs -R -d /mnt/cvsup/XFree86.cvs co xc cvs checkout: Updating xc U xc/INSTALL.PS U xc/INSTALL.TXT [..] thanks barry bouwsma To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 6:50:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 86C6A37B405 for ; Thu, 28 Mar 2002 06:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SEo2X00878; Thu, 28 Mar 2002 06:50:02 -0800 (PST) (envelope-from gnats) Date: Thu, 28 Mar 2002 06:50:02 -0800 (PST) Message-Id: <200203281450.g2SEo2X00878@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: n4okg@mobis.com (Al Turner) Subject: Re: misc/34757: Difficulty in starting x-server Reply-To: n4okg@mobis.com (Al Turner) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/34757; it has been noted by GNATS. From: n4okg@mobis.com (Al Turner) To: , Cc: Subject: Re: misc/34757: Difficulty in starting x-server Date: Thu, 28 Mar 2002 08:47:55 -0600 This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C1D635.40C5CC40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I can not figure how it's a configuration problem. After initial = installation, or recompiling the kernel, KDE starts with no problem. It = is a progressive problem in that, with use, it takes longer and longer = to get the X-Server to initiate. The command line error message is "The = D_Cop server is failing self-test". Al Turner It seems that I have several options: (1) go back to my antiquated = machine, (2) Install some version of Linux, or (3) Revert to one of = Redmond's offerings, none of which are appealing. =20 ------=_NextPart_000_0013_01C1D635.40C5CC40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I can not figure how it's a = configuration=20 problem.  After initial installation, or recompiling the kernel, = KDE starts=20 with no problem.  It is a progressive problem in that,  with = use, it=20 takes longer and longer to get the X-Server to initiate.  The = command line=20 error message is "The D_Cop server is failing self-test".
 
Al Turner
 
It seems that I have several options: = (1) go back=20 to my antiquated machine, (2) Install some version of Linux, or (3)=20 Revert to one of Redmond's offerings, none of which are = appealing. =20
------=_NextPart_000_0013_01C1D635.40C5CC40-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 9: 5: 1 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7D31637B404; Thu, 28 Mar 2002 09:04:58 -0800 (PST) Received: (from bmah@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SH4wg34162; Thu, 28 Mar 2002 09:04:58 -0800 (PST) (envelope-from bmah) Date: Thu, 28 Mar 2002 09:04:58 -0800 (PST) From: Message-Id: <200203281704.g2SH4wg34162@freefall.freebsd.org> To: sudz@ns3g.com, bmah@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/31489: Conflict Between BPF and ssh2 protocol in openssh Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: Conflict Between BPF and ssh2 protocol in openssh State-Changed-From-To: feedback->closed State-Changed-By: bmah State-Changed-When: Thu Mar 28 09:04:20 PST 2002 State-Changed-Why: Feedback timeout (4+ months). http://www.freebsd.org/cgi/query-pr.cgi?pr=31489 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 9: 5:30 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0A5E137B419; Thu, 28 Mar 2002 09:05:26 -0800 (PST) Received: (from bmah@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SH5PP35431; Thu, 28 Mar 2002 09:05:25 -0800 (PST) (envelope-from bmah) Date: Thu, 28 Mar 2002 09:05:25 -0800 (PST) From: Message-Id: <200203281705.g2SH5PP35431@freefall.freebsd.org> To: rStark@mail.ru, bmah@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/30238: 3Com 509-Combo ISA NIC don`t work Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: 3Com 509-Combo ISA NIC don`t work State-Changed-From-To: feedback->closed State-Changed-By: bmah State-Changed-When: Thu Mar 28 09:05:05 PST 2002 State-Changed-Why: Feedback timeout (4+ months). http://www.freebsd.org/cgi/query-pr.cgi?pr=30238 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 9: 5:50 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 933AA37B405; Thu, 28 Mar 2002 09:05:48 -0800 (PST) Received: (from bmah@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SH5mL37281; Thu, 28 Mar 2002 09:05:48 -0800 (PST) (envelope-from bmah) Date: Thu, 28 Mar 2002 09:05:48 -0800 (PST) From: Message-Id: <200203281705.g2SH5mL37281@freefall.freebsd.org> To: skafte@scanner.worldgate.com, bmah@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/8349: [PATCH] Changer definition for SureStore 24x6 dds changer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: [PATCH] Changer definition for SureStore 24x6 dds changer State-Changed-From-To: feedback->closed State-Changed-By: bmah State-Changed-When: Thu Mar 28 09:05:32 PST 2002 State-Changed-Why: Feedback timeout (4+ months). http://www.freebsd.org/cgi/query-pr.cgi?pr=8349 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 10:10: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 13D1637B41E for ; Thu, 28 Mar 2002 10:10:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SIA5a54307; Thu, 28 Mar 2002 10:10:05 -0800 (PST) (envelope-from gnats) Date: Thu, 28 Mar 2002 10:10:05 -0800 (PST) Message-Id: <200203281810.g2SIA5a54307@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Thomas Quinot Subject: bin/33914 workaround Reply-To: Thomas Quinot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/33914; it has been noted by GNATS. From: Thomas Quinot To: bug-followup@freebsd.org Cc: Subject: bin/33914 workaround Date: Thu, 28 Mar 2002 19:05:37 +0100 Using ntpd 4.1.72 (from the ports) instead of the 4.1.0 from the base system suppresses the message. Action item for roberto here. ;) Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 11: 0:17 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9D8A037B41C for ; Thu, 28 Mar 2002 11:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SJ02t61384; Thu, 28 Mar 2002 11:00:02 -0800 (PST) (envelope-from gnats) Received: from reiher.informatik.uni-wuerzburg.de (wi4d22.informatik.uni-wuerzburg.de [132.187.101.122]) by hub.freebsd.org (Postfix) with ESMTP id C282E37B416 for ; Thu, 28 Mar 2002 10:56:15 -0800 (PST) Received: by reiher.informatik.uni-wuerzburg.de (Postfix, from userid 1001) id BA3F8AC42; Thu, 28 Mar 2002 19:56:13 +0100 (CET) Message-Id: <20020328185613.BA3F8AC42@reiher.informatik.uni-wuerzburg.de> Date: Thu, 28 Mar 2002 19:56:13 +0100 (CET) From: Matthias Buelow Reply-To: Matthias Buelow To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/36425: bump up SYS_NMLN in sys/utsname.h Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36425 >Category: kern >Synopsis: bump up SYS_NMLN in sys/utsname.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 11:00:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Matthias Buelow >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD reiher.informatik.uni-wuerzburg.de 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Mar 22 18:00:52 CET 2002 root@reiher.informatik.uni-wuerzburg.de:/usr/src/sys/compile/REIHER i386 >Description: The current definition of the SYS_NMLN constant, which defines the length of the entries of the utsname structure for use with uname(3) is defined in 4.5-STABLE sys/utsname.h as following: #define SYS_NMLN 32 This is probably a leftover from early days and was forgotten to update when Internet hostnames became fashionable (up to 256 characters.) As a result, one cannot reliably obtain the hostname via uname(3), other entries like the "version" field are also truncated. This has caused a problem for me lately because the nmh mailer suite was using uname(3) for obtaining the hostname and got a truncated one, resulting in some effort for identifying and working around the problem. >How-To-Repeat: >Fix: Update SYS_NMLN to at least 256. On Solaris 8, it is 257 and defined as following: #define _SYS_NMLN 257 /* 4.0 size of utsname elements */ /* Must be at least 257 to */ /* support Internet hostnames. */ On NetBSD (1.5.1) it is: #define _SYS_NMLN 256 It might also be beneficial to not make SYS_NMLN visible in certain cases but define it like the above mentioned systems with a prepended underscore, and only defining the SYS_NMLN constant when certain conditions hold, on NetBSD and Solaris, this is: #if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) #define SYS_NMLN _SYS_NMLN #endif although this is just makeup, imho (don't know what the standard has to say here but there seems to be a reason if both do it the same way.) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 12:20:28 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B35E837B416 for ; Thu, 28 Mar 2002 12:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SKK1G84652; Thu, 28 Mar 2002 12:20:01 -0800 (PST) (envelope-from gnats) Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by hub.freebsd.org (Postfix) with ESMTP id A523F37B405 for ; Thu, 28 Mar 2002 12:10:23 -0800 (PST) Received: from home.dinoex.sub.org (home [217.6.200.196]) by net2.dinoex.sub.org (8.12.2/8.12.2) with ESMTP id g2SKA3vA016797 for ; Thu, 28 Mar 2002 21:10:04 +0100 (CET) (envelope-from dm@home.dinoex.sub.org) Received: (from dm@localhost) by home.dinoex.sub.org (8.12.2/8.12.2/Submit) id g2SKA2DJ032624; Thu, 28 Mar 2002 21:10:02 +0100 (CET) (envelope-from dm) Message-Id: <200203282010.g2SKA2DJ032624@home.dinoex.sub.org> Date: Thu, 28 Mar 2002 21:10:02 +0100 (CET) From: dirk.meyer@dinoex.sub.org Reply-To: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/36431: src/secure/lib/libtelnet fails in CURRENT Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36431 >Category: bin >Synopsis: src/secure/lib/libtelnet fails in CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 12:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 4.5-STABLE i386 >Organization: privat >Environment: System: FreeBSD 4.5-STABLE i386 >Description: libtelnet can't be build. cc1: warnings being treated as errors /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.c:718: warning: non-static declaration for `encrypt_keyid' follows static >How-To-Repeat: try to buildworld current >Fix: strip -Werror from Makefiles. or fix the code. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 12:28:23 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AA5CB37B416; Thu, 28 Mar 2002 12:28:20 -0800 (PST) Received: (from cjc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SKSKi86316; Thu, 28 Mar 2002 12:28:20 -0800 (PST) (envelope-from cjc) Date: Thu, 28 Mar 2002 12:28:20 -0800 (PST) From: Message-Id: <200203282028.g2SKSKi86316@freefall.freebsd.org> To: gnn@neville-neil.com, cjc@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/36400: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets State-Changed-From-To: open->feedback State-Changed-By: cjc State-Changed-When: Thu Mar 28 12:27:31 PST 2002 State-Changed-Why: I am unable to reproduce this on -CURRENT or -STABLE. As previously requested, are your kernel and userland in sync? http://www.freebsd.org/cgi/query-pr.cgi?pr=36400 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 12:37: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3916237B400; Thu, 28 Mar 2002 12:37:04 -0800 (PST) Received: (from cjc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SKb2p87564; Thu, 28 Mar 2002 12:37:02 -0800 (PST) (envelope-from cjc) Date: Thu, 28 Mar 2002 12:37:02 -0800 (PST) From: Message-Id: <200203282037.g2SKb2p87564@freefall.freebsd.org> To: cjc@FreeBSD.org, freebsd-bugs@FreeBSD.org, imp@FreeBSD.org Subject: Re: conf/36416: Addition to /etc/defaults/pccard.conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: Addition to /etc/defaults/pccard.conf Responsible-Changed-From-To: freebsd-bugs->imp Responsible-Changed-By: cjc Responsible-Changed-When: Thu Mar 28 12:32:10 PST 2002 Responsible-Changed-Why: Over to the Primary PC Card Person. http://www.freebsd.org/cgi/query-pr.cgi?pr=36416 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 12:44:44 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id EFBBC37B404 for ; Thu, 28 Mar 2002 12:44:28 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020328204428.JNAL1147.rwcrmhc52.attbi.com@blossom.cjclark.org>; Thu, 28 Mar 2002 20:44:28 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g2SKiS598373; Thu, 28 Mar 2002 12:44:28 -0800 (PST) (envelope-from cjc) Date: Thu, 28 Mar 2002 12:44:28 -0800 From: "Crist J. Clark" To: BOUWSMA Beery Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: Read-only `cvs' checkout with specified tag seems b0rken? Message-ID: <20020328124428.E97841@blossom.cjclark.org> References: <200203281350.g2SDodU01010@beerswilling.netscum.dyndns.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200203281350.g2SDodU01010@beerswilling.netscum.dyndns.dk>; from freebsd-user@netscum.dyndns.dk on Thu, Mar 28, 2002 at 02:50:39PM +0100 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Mar 28, 2002 at 02:50:39PM +0100, BOUWSMA Beery wrote: [snip] > Moin, moin! > > It sure looks to me that even when I specify the `-R' read-only > repository option to `cvs', it still wants to write into the > (read-only) repository, so long as I've specified a `-r tag' ... > > A checkout without the `-r tag' runs happily. (Tested on -stable, > didn't try -current) This is a well known bug/feature of CVS. See the LONG "Unmoronify CVS" thread on -arch from this month, http://docs.freebsd.org/mail/archive/2002/freebsd-arch/20020317.freebsd-arch.html For why there is no really good solution to this issue. There are some workarounds explained in the thread. The easiest is to add known tags into the val-tags file manually. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 13:52:48 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from outboundx.mv.meer.net (outboundx.mv.meer.net [209.157.152.12]) by hub.freebsd.org (Postfix) with ESMTP id 7E11237B416; Thu, 28 Mar 2002 13:52:43 -0800 (PST) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) by outboundx.mv.meer.net (8.11.6/8.11.6) with ESMTP id g2SLqaC15962; Thu, 28 Mar 2002 13:52:36 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from neville-neil.com ([209.157.133.226]) by mail.meer.net (8.12.1/8.12.1/meer) with ESMTP id g2SLqbQf024846; Thu, 28 Mar 2002 13:52:42 -0800 (PST) Message-Id: <200203282152.g2SLqbQf024846@mail.meer.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: cjc@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/36400: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets In-Reply-To: Message from of "Thu, 28 Mar 2002 12:28:20 PST." <200203282028.g2SKSKi86316@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 Mar 2002 13:52:37 -0800 From: "George V. Neville-Neil" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Synopsis: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets > > State-Changed-From-To: open->feedback > State-Changed-By: cjc > State-Changed-When: Thu Mar 28 12:27:31 PST 2002 > State-Changed-Why: > I am unable to reproduce this on -CURRENT or -STABLE. As previously > requested, are your kernel and userland in sync? Checking now. Later, George -- George V. Neville-Neil gnn@neville-neil.com Neville-Neil Consulting www.neville-neil.com "Put a twenty dollar gold piece on my watch chain So you can let all the boys know I died standing pat." - St. James Infirmary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 14: 6:34 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from outboundx.mv.meer.net (outboundx.mv.meer.net [209.157.152.12]) by hub.freebsd.org (Postfix) with ESMTP id EBB1237B41E; Thu, 28 Mar 2002 14:06:22 -0800 (PST) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) by outboundx.mv.meer.net (8.11.6/8.11.6) with ESMTP id g2SM6FC16355; Thu, 28 Mar 2002 14:06:15 -0800 (PST) (envelope-from gnn@neville-neil.com) Received: from neville-neil.com ([209.157.133.226]) by mail.meer.net (8.12.1/8.12.1/meer) with ESMTP id g2SM6GQf027701; Thu, 28 Mar 2002 14:06:22 -0800 (PST) Message-Id: <200203282206.g2SM6GQf027701@mail.meer.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: cjc@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/36400: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets In-Reply-To: Message from of "Thu, 28 Mar 2002 12:28:20 PST." <200203282028.g2SKSKi86316@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 Mar 2002 14:06:17 -0800 From: "George V. Neville-Neil" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Synopsis: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets > > State-Changed-From-To: open->feedback > State-Changed-By: cjc > State-Changed-When: Thu Mar 28 12:27:31 PST 2002 > State-Changed-Why: > I am unable to reproduce this on -CURRENT or -STABLE. As previously > requested, are your kernel and userland in sync? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=36400 I have just rebuilt my kernel, it is cvsupped nightly. Now I don't even have to start X to get the problem: FreeBSD jchurch.neville-neil.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Mar 28 13:59:23 PST 2002 gnn@jchurch.neville-neil.com:/usr/local/src-STABLE/src/sy s/compile/JCHURCH i386 I will try a buildworld some time in the next few days. Later, George -- George V. Neville-Neil gnn@neville-neil.com Neville-Neil Consulting www.neville-neil.com "Put a twenty dollar gold piece on my watch chain So you can let all the boys know I died standing pat." - St. James Infirmary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 15:51:16 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F297F37B4EB for ; Thu, 28 Mar 2002 15:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SNo1e29690; Thu, 28 Mar 2002 15:50:01 -0800 (PST) (envelope-from gnats) Date: Thu, 28 Mar 2002 15:50:01 -0800 (PST) Message-Id: <200203282350.g2SNo1e29690@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garrett Wollman Subject: kern/36425: bump up SYS_NMLN in sys/utsname.h Reply-To: Garrett Wollman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/36425; it has been noted by GNATS. From: Garrett Wollman To: Matthias Buelow Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/36425: bump up SYS_NMLN in sys/utsname.h Date: Thu, 28 Mar 2002 18:44:01 -0500 (EST) < said: > 256 characters.) As a result, one cannot reliably obtain the > hostname via uname(3), This is true in general, which is why POSIX 2001 adopted the gethostname() interface. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 15:58:19 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 958FE37B419; Thu, 28 Mar 2002 15:58:16 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.6) id g2SNwFT07664; Thu, 28 Mar 2002 18:58:15 -0500 (EST) (envelope-from wollman) Date: Thu, 28 Mar 2002 18:58:15 -0500 (EST) From: Garrett Wollman Message-Id: <200203282358.g2SNwFT07664@khavrinen.lcs.mit.edu> To: "Crist J. Clark" Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: conf/36365: make world brakes up In-Reply-To: <200203271110.g2RBA4d82872@freefall.freebsd.org> References: <200203271110.g2RBA4d82872@freefall.freebsd.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org < said: > A system with _no_ version csh is not supported in the build. The > NO_TCSH flag is for people who use their own version of [t]csh and > don't want the system build to clobber it. This is a bug. (Any shell script written in csh is a bug, but to have the system build depend on one is a bug that's worth fixing.) -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 16:50:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DA22137B405 for ; Thu, 28 Mar 2002 16:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T0o2W42987; Thu, 28 Mar 2002 16:50:02 -0800 (PST) (envelope-from gnats) Date: Thu, 28 Mar 2002 16:50:02 -0800 (PST) Message-Id: <200203290050.g2T0o2W42987@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: conf/36365: make world brakes up Reply-To: "Crist J. Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR conf/36365; it has been noted by GNATS. From: "Crist J. Clark" To: Garrett Wollman Cc: bug-followup@FreeBSD.ORG Subject: Re: conf/36365: make world brakes up Date: Thu, 28 Mar 2002 16:48:45 -0800 On Thu, Mar 28, 2002 at 06:58:15PM -0500, Garrett Wollman wrote: > < said: > > > A system with _no_ version csh is not supported in the build. The > > NO_TCSH flag is for people who use their own version of [t]csh and > > don't want the system build to clobber it. > > This is a bug. (Any shell script written in csh is a bug, but to have > the system build depend on one is a bug that's worth fixing.) It's more than just the build. vgrind(1) is a csh(1) script and part of the base system! HORROR! You need a working csh(1). This _is_ a BSD-based system afterall. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 16:50:50 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7BAB737B416; Thu, 28 Mar 2002 16:50:40 -0800 (PST) Received: (from cjc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T0oep43213; Thu, 28 Mar 2002 16:50:40 -0800 (PST) (envelope-from cjc) Date: Thu, 28 Mar 2002 16:50:40 -0800 (PST) From: Message-Id: <200203290050.g2T0oep43213@freefall.freebsd.org> To: mark@zieg.com, cjc@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/29577: FreeBSD 4.3-STABLE freezes intermittently when using Linksys EtherFast LNE100TX NICs. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: FreeBSD 4.3-STABLE freezes intermittently when using Linksys EtherFast LNE100TX NICs. State-Changed-From-To: feedback->closed State-Changed-By: cjc State-Changed-When: Thu Mar 28 16:49:38 PST 2002 State-Changed-Why: Submitter no longer has access to/need for the problem hardware. http://www.freebsd.org/cgi/query-pr.cgi?pr=29577 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 16:54:33 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AC10737B419; Thu, 28 Mar 2002 16:54:30 -0800 (PST) Received: (from cjc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T0sQU44115; Thu, 28 Mar 2002 16:54:26 -0800 (PST) (envelope-from cjc) Date: Thu, 28 Mar 2002 16:54:26 -0800 (PST) From: Message-Id: <200203290054.g2T0sQU44115@freefall.freebsd.org> To: polzun@ultra.v.gz.ru, cjc@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/36365: make world brakes without a csh(1) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Old Synopsis: make world brakes up New Synopsis: make world brakes without a csh(1) State-Changed-From-To: open->closed State-Changed-By: cjc State-Changed-When: Thu Mar 28 16:53:14 PST 2002 State-Changed-Why: FreeBSD requires a /bin/csh to build world. http://www.freebsd.org/cgi/query-pr.cgi?pr=36365 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 18:20: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E522637B41B for ; Thu, 28 Mar 2002 18:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T2K2Y69289; Thu, 28 Mar 2002 18:20:02 -0800 (PST) (envelope-from gnats) Date: Thu, 28 Mar 2002 18:20:02 -0800 (PST) Message-Id: <200203290220.g2T2K2Y69289@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Hiten Pandya Subject: Re: kern/20375 (close request) Reply-To: Hiten Pandya Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/20375; it has been noted by GNATS. From: Hiten Pandya To: bug-followup@FreeBSD.org Cc: joe@FreeBSD.org Subject: Re: kern/20375 (close request) Date: Fri, 29 Mar 2002 02:09:10 +0000 Does this problem still exist? If not, we can clost this PR I think. Joe is a committer, so he can probably change the state to something like suspended. -- Hiten Pandya http://jfs4bsd.sf.net - JFS for FreeBSD (JFS4BSD) http://www.FreeBSD.org - The Power to Serve Public Key: http://www.pittgoth.com/~hiten/pubkey.asc --- 4FB9 C4A9 4925 CF97 9BF3 ADDA 861D 5DBD E4E3 03C3 --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 18:50:19 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 23ED037B400 for ; Thu, 28 Mar 2002 18:50:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T2o5w73937; Thu, 28 Mar 2002 18:50:05 -0800 (PST) (envelope-from gnats) Date: Thu, 28 Mar 2002 18:50:05 -0800 (PST) Message-Id: <200203290250.g2T2o5w73937@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Hiten Pandya Subject: Re: i386/34051 Install menu crashes Reply-To: Hiten Pandya Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/34051; it has been noted by GNATS. From: Hiten Pandya To: Tony Kemp Cc: bug-followup@FreeBSD.org Subject: Re: i386/34051 Install menu crashes Date: Fri, 29 Mar 2002 02:40:17 +0000 It has been a reasonable amount of time since the originator has not replied / followed up to this Problem Report. We can probably close it. I have CC'ed this to the Originator. -- Hiten Pandya http://jfs4bsd.sf.net - JFS for FreeBSD (JFS4BSD) http://www.FreeBSD.org - The Power to Serve Public Key: http://www.pittgoth.com/~hiten/pubkey.asc --- 4FB9 C4A9 4925 CF97 9BF3 ADDA 861D 5DBD E4E3 03C3 --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 19: 0:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D794937B41B for ; Thu, 28 Mar 2002 19:00:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T304O75237; Thu, 28 Mar 2002 19:00:04 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E9CD37B405 for ; Thu, 28 Mar 2002 18:58:32 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T2wWr74981; Thu, 28 Mar 2002 18:58:32 -0800 (PST) (envelope-from nobody) Message-Id: <200203290258.g2T2wWr74981@freefall.freebsd.org> Date: Thu, 28 Mar 2002 18:58:32 -0800 (PST) From: Hijiri Umemoto To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: i386/36451: (sys/dev/bktr) Japan IF frequency is incorrect Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36451 >Category: i386 >Synopsis: (sys/dev/bktr) Japan IF frequency is incorrect >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 19:00:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hijiri Umemoto >Release: 4.5-STABLE >Organization: >Environment: FreeBSD sarah.umemoto.org 4.5-STABLE FreeBSD 4.5-STABLE #13: Thu Mar 28 23:31:40 JST 2002 root@sarah.umemoto.org:/usr/src/sys/compile/VIDEO i386 >Description: The "bktr" driver (/usr/src/sys/dev/bktr) doesn't work fine on some TV tuners, video/audio is not exactly tuned on Japanese TV/cable bands. (drifts about 2ch higher.) >How-To-Repeat: Use Japanese domestic model of TV tuner card (such as IO-DATA's GV-BCTV4/PCI), and run "fxtv" (by "jpnbcst" and "NTSC-J" option enabled). Then, select channel 3, you'll see poor quality of channel 1's picture. >Fix: In the file "bktr_tuner.c", definitions of IF_FREQ (IF frequency) on "jpnbcst" and "jpncable" section is incorrect. (Japanese TV system uses 58.75MHz as the video carrier frequency. Many video capture cards for international market deploy multi IF (45.75 for US, 58.75 for Japan, etc.) capable tuners, so they work well even in Japan with original bktr driver. But my video capture card doesn't do so because it's for Japanese-market-only model which uses single picture IF, 58.75MHz.) Here below is a patch. *** bktr_tuner.c.orig Thu Oct 19 16:33:28 2000 --- bktr_tuner.c Fri Mar 29 09:39:32 2002 *************** *** 543,554 **** * 8: 193.25MHz - 12: 217.25MHz (VHF) * 13: 471.25MHz - 62: 765.25MHz (UHF) * - * IF freq: 45.75 mHz - * OR * IF freq: 58.75 mHz */ #define OFFSET 6.00 ! #define IF_FREQ 45.75 static int jpnbcst[] = { 62, (int)(IF_FREQ * FREQFACTOR), 0, 13, (int)(471.25 * FREQFACTOR), (int)(OFFSET * FREQFACTOR), --- 543,552 ---- * 8: 193.25MHz - 12: 217.25MHz (VHF) * 13: 471.25MHz - 62: 765.25MHz (UHF) * * IF freq: 58.75 mHz */ #define OFFSET 6.00 ! #define IF_FREQ 58.75 static int jpnbcst[] = { 62, (int)(IF_FREQ * FREQFACTOR), 0, 13, (int)(471.25 * FREQFACTOR), (int)(OFFSET * FREQFACTOR), *************** *** 570,579 **** * 22: 165.25MHz * 23: 223.25MHz - 63: 463.25MHz * ! * IF freq: 45.75 mHz */ #define OFFSET 6.00 ! #define IF_FREQ 45.75 static int jpncable[] = { 63, (int)(IF_FREQ * FREQFACTOR), 0, 23, (int)(223.25 * FREQFACTOR), (int)(OFFSET * FREQFACTOR), --- 568,577 ---- * 22: 165.25MHz * 23: 223.25MHz - 63: 463.25MHz * ! * IF freq: 58.75 mHz */ #define OFFSET 6.00 ! #define IF_FREQ 58.75 static int jpncable[] = { 63, (int)(IF_FREQ * FREQFACTOR), 0, 23, (int)(223.25 * FREQFACTOR), (int)(OFFSET * FREQFACTOR), >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 20:40:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A82E037B41A for ; Thu, 28 Mar 2002 20:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T4e1V99083; Thu, 28 Mar 2002 20:40:01 -0800 (PST) (envelope-from gnats) Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 370CF37B41D for ; Thu, 28 Mar 2002 20:34:23 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id DCBA4BDB5 for ; Thu, 28 Mar 2002 20:34:22 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id UAA30686 for ; Thu, 28 Mar 2002 20:34:22 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g2T4WuO99322; Thu, 28 Mar 2002 20:32:56 -0800 (PST) (envelope-from swear@blarg.net) Message-Id: Date: 28 Mar 2002 20:32:56 -0800 From: "Gary W. Swearingen" Reply-To: swear@blarg.net To: FreeBSD-gnats-submit@FreeBSD.org Subject: gnu/36460: cu(1) program does not work very well. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36460 >Category: gnu >Synopsis: cu(1) program does not work very well. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 20:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gary W. Swearingen >Release: FreeBSD 4.5-STABLE i386 >Organization: none >Environment: n/a ================ >Description: The cu(1) program does not work very well. In fact, the program's manual says "This program does not work very well." ================ >How-To-Repeat: n/a ================ >Fix: Determine how the program does not work very well and make it work well. Alternative: Create a new WWW page for "things we'd rather you never bother fixing but you might want to fix anyway", add this, and THEN close this PR. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Mar 28 23:30:19 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F25E837B420 for ; Thu, 28 Mar 2002 23:30:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T7U4733251; Thu, 28 Mar 2002 23:30:04 -0800 (PST) (envelope-from gnats) Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 27E5137B41D for ; Thu, 28 Mar 2002 23:27:01 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id D2431BCA3 for ; Thu, 28 Mar 2002 23:27:00 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id XAA05616 for ; Thu, 28 Mar 2002 23:27:00 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g2T7PXe01845; Thu, 28 Mar 2002 23:25:33 -0800 (PST) (envelope-from swear@blarg.net) Message-Id: Date: 28 Mar 2002 23:25:33 -0800 From: "Gary W. Swearingen" Reply-To: swear@blarg.net To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/36470: chpass(1) program has erroneous "usage" for -d and -h Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36470 >Category: bin >Synopsis: chpass(1) program has erroneous "usage" for -d and -h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 28 23:30:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gary W. Swearingen >Release: FreeBSD 4.5-STABLE i386 >Organization: none >Environment: n/a ================ >Description: The chpass(1) program has erroneous "usage": usage: chpass [-l] [-y] [-d domain [-h host]] ... ================ >How-To-Repeat: n/a ================ >Fix: Change "[-d domain [-h host]]" to "[-d domain] [-h host]". >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 0:40:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BF7CD37B429 for ; Fri, 29 Mar 2002 00:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T8e3G50807; Fri, 29 Mar 2002 00:40:03 -0800 (PST) (envelope-from gnats) Date: Fri, 29 Mar 2002 00:40:03 -0800 (PST) Message-Id: <200203290840.g2T8e3G50807@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Thomas Quinot Subject: Re: kern/35635 revised patch (for -STABLE) Reply-To: Thomas Quinot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/35635; it has been noted by GNATS. From: Thomas Quinot To: bug-followup@freebsd.org Cc: Subject: Re: kern/35635 revised patch (for -STABLE) Date: Fri, 29 Mar 2002 09:30:15 +0100 The following may be a better solution. Please review. diff -u sys/modules/libiconv/Makefile.dist sys/modules/libiconv/Makefile --- sys/modules/libiconv/Makefile.dist Thu Mar 7 18:34:52 2002 +++ sys/modules/libiconv/Makefile Fri Mar 29 09:25:50 2002 @@ -9,10 +9,4 @@ SRCS+= iconv_converter_if.c iconv_converter_if.h NOMAN= true -iconv_converter_if.h: - perl @/kern/makeobjops.pl -h @/libkern/iconv_converter_if.m - -iconv_converter_if.c: - perl @/kern/makeobjops.pl -c @/libkern/iconv_converter_if.m - .include diff -u sys/libkern/iconv_converter_if.m.dist sys/libkern/iconv_converter_if.m --- sys/libkern/iconv_converter_if.m.dist Fri Mar 29 09:26:10 2002 +++ sys/libkern/iconv_converter_if.m Fri Mar 29 09:26:58 2002 @@ -1,3 +1,4 @@ +# KOBJ # # Copyright (c) 2000-2001, Boris Popov # All rights reserved. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 0:40:36 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1C0BF37B41C for ; Fri, 29 Mar 2002 00:40:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T8e5750813; Fri, 29 Mar 2002 00:40:05 -0800 (PST) (envelope-from gnats) Date: Fri, 29 Mar 2002 00:40:05 -0800 (PST) Message-Id: <200203290840.g2T8e5750813@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Forrest W. Christian" Subject: Re: bin/36418: pccardd added option to exit after probe Reply-To: "Forrest W. Christian" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/36418; it has been noted by GNATS. From: "Forrest W. Christian" To: Peter Pentchev Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/36418: pccardd added option to exit after probe Date: Fri, 29 Mar 2002 02:34:59 +0000 (GMT) Revised Patches below.... - Forrest W. Christian (forrestc@imach.com) AC7DE ---------------------------------------------------------------------- --- /usr/src/usr.sbin/pccard/pccardd/pccardd.c Tue Sep 4 20:51:36 2001 +++ pccardd.c Thu Mar 28 01:33:51 2002 @@ -156,12 +156,13 @@ { struct slot *sp; int count, dodebug = 0; + int probeonly = 0; int delay = 0; int irq_arg[16]; int irq_specified = 0; int i; struct sockaddr_un sun; -#define COM_OPTS ":Idvf:s:i:z" +#define COM_OPTS ":Idvf:s:i:zx" bzero(irq_arg, sizeof(irq_arg)); use_kern_irq = 1; @@ -196,6 +197,9 @@ case 's': sock = optarg; break; + case 'x': + probeonly = 1; + break; case 'z': delay = 1; break; @@ -224,12 +228,14 @@ if (doverbose) dump_config_file(); log_setup(); - if (!dodebug && !delay) + if (!dodebug && !delay && !probeonly) if (daemon(0, 0)) die("fork failed"); slots = readslots(); if (slots == 0) die("no PC-CARD slots"); + if (probeonly) + exit(0); if (delay) if (daemon(0, 0)) die("fork failed"); --- /usr/src/usr.sbin/pccard/pccardd/pccardd.8 Tue Sep 4 20:51:30 2001 +++ pccardd.8 Thu Mar 28 01:31:28 2002 @@ -35,6 +35,7 @@ .Nm .Op Fl d .Op Fl v +.Op Fl x .Op Fl z .Op Fl i Ar IRQ .Op Fl I @@ -134,6 +135,14 @@ .It Fl v After reading the configuration file, print out a summary of it. +.It Fl x +Exits immediately after the cards have been probed and attached. +This is primarily useful in embedded applications where it is +desirable to use +.Nm +to start PC-CARD devices but prohibitive memory-wise to leave the +.Nm +process running. .It Fl z Delays running as a daemon until after the cards have been probed and attached. .It Fl I To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 1:20:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BF7F437B416 for ; Fri, 29 Mar 2002 01:20:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T9K7B60038; Fri, 29 Mar 2002 01:20:07 -0800 (PST) (envelope-from gnats) Date: Fri, 29 Mar 2002 01:20:07 -0800 (PST) Message-Id: <200203290920.g2T9K7B60038@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: bin/36431: src/secure/lib/libtelnet fails in CURRENT Reply-To: "Crist J. Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/36431; it has been noted by GNATS. From: "Crist J. Clark" To: dirk.meyer@dinoex.sub.org Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/36431: src/secure/lib/libtelnet fails in CURRENT Date: Fri, 29 Mar 2002 01:17:34 -0800 On Thu, Mar 28, 2002 at 09:10:02PM +0100, dirk.meyer@dinoex.sub.org wrote: > >Description: > > libtelnet can't be build. > > cc1: warnings being treated as errors > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.c:718: warning: non-static declaration for `encrypt_keyid' follows static > > >How-To-Repeat: > > try to buildworld current > > >Fix: > > strip -Werror from Makefiles. > or fix the code. A 5-CURRENT world builds fine for me on 4.5-RELEASE. cc -O -pipe -march=pentium -DENCRYPTION -DAUTHENTICATION -DSRA -I/export/freebsd/CURRENT/src/secure/lib/libtelnet/../../../crypto/telnet -I/export/freebsd/CURRENT/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet -DNO_IDEA -Werror -Wall -Wno-uninitialized -c /export/freebsd/CURRENT/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.c -o encrypt.o Can you pin down the dates on your source? -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 1:30:33 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5500637B41C for ; Fri, 29 Mar 2002 01:30:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T9U3061523; Fri, 29 Mar 2002 01:30:03 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6D82437B41B for ; Fri, 29 Mar 2002 01:25:28 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2T9PSu60783; Fri, 29 Mar 2002 01:25:28 -0800 (PST) (envelope-from nobody) Message-Id: <200203290925.g2T9PSu60783@freefall.freebsd.org> Date: Fri, 29 Mar 2002 01:25:28 -0800 (PST) From: Joshua Goodall To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/36473: Overdue MFC's in chmod/chown/chflags Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36473 >Category: bin >Synopsis: Overdue MFC's in chmod/chown/chflags >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 01:30:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Joshua Goodall >Release: 4-stable >Organization: >Environment: FreeBSD green.shallow.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Feb 1 00:19:52 EST 2002 joshua@green.shallow.net:/usr/obj/usr/src/sys/GREEN i386 >Description: The following are now very overdue MFC's: r1.17 and r1.18 of src/usr.sbin/chown/chown.c - Follow symbolic links named as command line arguments without -R. - chown -h owner symlink did not set the symlink's owner if the file the symlink points to already had that owner r1.20 r1.21 and r1.22 of src/bin/chmod/chmod.c - Follow symbolic links named as command line arguments without -R - Change noop option -h to do the real work. - chmod -h mode symlink did not set the symlink's mode if the file the symlink points to already had that mode r1.11 of src/usr.bin/chflags/chflags.c - Follow symbolic links named as command line arguments without -R >How-To-Repeat: >Fix: Attention to these permission-related details would be appreciated! Please arrange MFC. Note that there is no lchflags syscall, so changing symlink flags is not an issue (subject of an existing open PR). Joshua >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 2:30: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DE08437B417 for ; Fri, 29 Mar 2002 02:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TAU2f75311; Fri, 29 Mar 2002 02:30:02 -0800 (PST) (envelope-from gnats) Date: Fri, 29 Mar 2002 02:30:02 -0800 (PST) Message-Id: <200203291030.g2TAU2f75311@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Josef Karthauser Subject: Re: kern/20375 (close request) Reply-To: Josef Karthauser Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/20375; it has been noted by GNATS. From: Josef Karthauser To: Hiten Pandya Cc: bug-followup@FreeBSD.org Subject: Re: kern/20375 (close request) Date: Fri, 29 Mar 2002 10:23:46 +0000 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 29, 2002 at 02:09:10AM +0000, Hiten Pandya wrote: > Does this problem still exist? If not, we can clost this=20 > PR I think. Joe is a committer, so he can probably change the state to > something like suspended. I've no idea whether the problem still exists. I've not had the afore mentioned sony for 18 months. Joe --Q68bSM7Ycu6FN28Q 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 iEYEARECAAYFAjykQLEACgkQXVIcjOaxUBaRBgCg6M7huPgDYMb5nX3lW3mYH4OL G1AAoLF/Vh63t3koUBStkf8R/4Hbe587 =1f5k -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 2:30:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A0D137B41E for ; Fri, 29 Mar 2002 02:30:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TAU4U75320; Fri, 29 Mar 2002 02:30:04 -0800 (PST) (envelope-from gnats) Date: Fri, 29 Mar 2002 02:30:04 -0800 (PST) Message-Id: <200203291030.g2TAU4U75320@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Subject: Re: bin/36431: src/secure/lib/libtelnet fails in CURRENT Reply-To: dirk.meyer@dinoex.sub.org (Dirk Meyer) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/36431; it has been noted by GNATS. From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: FreeBSD-gnats-submit@FreeBSD.ORG, jc@attbi.com Cc: Subject: Re: bin/36431: src/secure/lib/libtelnet fails in CURRENT Date: Fri, 29 Mar 2002 11:20:07 +0100 > A 5-CURRENT world builds fine for me on 4.5-RELEASE. > > cc -O -pipe -march=pentium -DENCRYPTION -DAUTHENTICATION -DSRA -I/export/fre > ebsd/CURRENT/src/secure/lib/libtelnet/../../../crypto/telnet -I/export/freebsd > /CURRENT/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet -DNO_IDEA - > Werror -Wall -Wno-uninitialized -c /export/freebsd/CURRENT/src/secure/lib/lib > telnet/../../../crypto/telnet/libtelnet/encrypt.c -o encrypt.o > > Can you pin down the dates on your source? I have diffrents CFLAGS set ... Building on: FreeBSD 4.5-STABLE #0: Tue Mar 12 08:35:54 $FreeBSD: src/crypto/telnet/libtelnet/encrypt.c,v 1.8 2001/11/30 22:28:07 markm Exp $ workaround for me to build: /etc/make.conf: NO_WARNS=yes kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 2:40:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 932DE37B425 for ; Fri, 29 Mar 2002 02:40:13 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TAe3K76810; Fri, 29 Mar 2002 02:40:03 -0800 (PST) (envelope-from gnats) Date: Fri, 29 Mar 2002 02:40:03 -0800 (PST) Message-Id: <200203291040.g2TAe3K76810@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Shigio Yamaguchi" Subject: Re: misc/5531: [SUBMISSION] new library function abs2rel and rel2abs. Reply-To: "Shigio Yamaguchi" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/5531; it has been noted by GNATS. From: "Shigio Yamaguchi" To: freebsd-gnats-submit@FreeBSD.org Cc: shigio@tamacom.com Subject: Re: misc/5531: [SUBMISSION] new library function abs2rel and rel2abs. Date: Fri, 29 Mar 2002 19:32:48 +0900 > patch gone from posted url. Here you are. http://www.tamacom.com/pathconvert/pathconvert.tar.gz -- Shigio Yamaguchi - Tama Communications Corporation To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 3:10:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C902737B404 for ; Fri, 29 Mar 2002 03:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TBA1985133; Fri, 29 Mar 2002 03:10:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 07CBB37B416 for ; Fri, 29 Mar 2002 03:03:55 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TB3tQ80578; Fri, 29 Mar 2002 03:03:55 -0800 (PST) (envelope-from nobody) Message-Id: <200203291103.g2TB3tQ80578@freefall.freebsd.org> Date: Fri, 29 Mar 2002 03:03:55 -0800 (PST) From: Robert Saft To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: i386/36475: make world in /usr/src for 4.5-stable fails Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36475 >Category: i386 >Synopsis: make world in /usr/src for 4.5-stable fails >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 03:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Robert Saft >Release: 4.5-stable >Organization: >Environment: FreeBSD freya 4.5-STABLE FreeBSD 4.5-STABLE #3: Sat Mar 9 01:37:01 PST 2002 root@freya:/usr/src/sys/compile/freya-4.5 i386 >Description: Current build failure/error message is: cc -O -pipe -D_open=open -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/src/i386/usr\" -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_fbsd/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_fbsd/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../contrib/gcc.295 -I/usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../contrib/gcc.295/config -c /usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c -o mktemp.o /usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c:38: syntax error before string constant /usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c:38: warning: data definition has no type or storage class *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cc_fbsd. *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I've had repeated errors in doing a build since 4.5-release was released: prior ones were in crypto code - I wonder if there is a stable src tree that I can download and build... I've sync'd my cvs tree many times and with each new source tree, something else is broken. Happy to be flamed if I'm doing something stupid an just missing something somewhere... >How-To-Repeat: cd /usr/src; make world >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 3:49:24 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2720837B41A; Fri, 29 Mar 2002 03:49:21 -0800 (PST) Received: (from cjc@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TBnL491109; Fri, 29 Mar 2002 03:49:21 -0800 (PST) (envelope-from cjc) Date: Fri, 29 Mar 2002 03:49:21 -0800 (PST) From: Message-Id: <200203291149.g2TBnL491109@freefall.freebsd.org> To: zardoz@vampyre.com, cjc@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: i386/36475: make world in /usr/src for 4.5-stable fails Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: make world in /usr/src for 4.5-stable fails State-Changed-From-To: open->closed State-Changed-By: cjc State-Changed-When: Fri Mar 29 03:48:06 PST 2002 State-Changed-Why: For help with build problems on -STABLE, try to get some help on freebsd-stable@freebsd.org and make sure there really is a system bug before filing a PR. Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=36475 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 3:50: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6C8F337B41C for ; Fri, 29 Mar 2002 03:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TBo2s91240; Fri, 29 Mar 2002 03:50:02 -0800 (PST) (envelope-from gnats) Date: Fri, 29 Mar 2002 03:50:02 -0800 (PST) Message-Id: <200203291150.g2TBo2s91240@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: i386/36475: make world in /usr/src for 4.5-stable fails Reply-To: "Crist J. Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/36475; it has been noted by GNATS. From: "Crist J. Clark" To: Robert Saft Cc: stable@FreeBSD.ORG Subject: Re: i386/36475: make world in /usr/src for 4.5-stable fails Date: Fri, 29 Mar 2002 03:47:56 -0800 On Fri, Mar 29, 2002 at 03:03:55AM -0800, Robert Saft wrote: [snip] > Current build failure/error message is: > > cc -O -pipe -D_open=open -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/src/i386/usr\" -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_fbsd/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_fbsd/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../contrib/gcc.295 -I/usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../contrib/gcc.295/config -c /usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c -o mktemp.o > /usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c:38: syntax error before string constant > /usr/src/gnu/usr.bin/cc/cc_fbsd/../../../../lib/libc/stdio/mktemp.c:38: warning: data definition has no type or storage class The line it is complaining about, static const char rcsid[] = "$FreeBSD: src/lib/libc/stdio/mktemp.c,v 1.19.2.1 2001/01/20 09:35:24 kris Exp $"; Sure looks fine to me. > I've had repeated errors in doing a build since 4.5-release was released: > prior ones were in crypto code - I wonder if there is a stable src tree > that I can download and build... I've sync'd my cvs tree many times and > with each new source tree, something else is broken. Happy to be flamed > if I'm doing something stupid an just missing something somewhere... I've built world dozens of times since 4.5-RELEASE without significant difficulties. Do you have some customizations in make.conf(5) that might be messing with things? But this isn't really appropriate for a PR. I'll close up the PR, and you should try to get some help on freebsd-stable@freebsd.org. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 4: 0:22 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7C44837B41D for ; Fri, 29 Mar 2002 04:00:11 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TC0AC92657; Fri, 29 Mar 2002 04:00:10 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E8A7237B41B for ; Fri, 29 Mar 2002 03:58:56 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TBwrR92518; Fri, 29 Mar 2002 03:58:53 -0800 (PST) (envelope-from nobody) Message-Id: <200203291158.g2TBwrR92518@freefall.freebsd.org> Date: Fri, 29 Mar 2002 03:58:53 -0800 (PST) From: "Andrew E. Filonov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/36477: mailwrapper doesn't handle rmail calls Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36477 >Category: bin >Synopsis: mailwrapper doesn't handle rmail calls >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 04:00:10 PST 2002 >Closed-Date: >Last-Modified: >Originator: Andrew E. Filonov >Release: 4.5-STABLE >Organization: BTFOMS >Environment: FreeBSD aef 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Mar 21 17:22:13 MSK 2002 aef@aef:/usr/obj/mnt/ns/system/src/sys/KERNEL i386 >Description: /bin/rmail use '-p' flag for sendmail. This flags don't work with exim (and may be some others MTA). >How-To-Repeat: >Fix: mv /bin/rmail to /usr/libexec/sendmail/rmail ln -s /usr/sbin/mailwrapper /bin/rmail echo "rmail /usr/libexec/sendmail/rmail" >> /etc/mail/mailer.conf >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 4:11:46 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 90EEF37B419; Fri, 29 Mar 2002 04:11:44 -0800 (PST) Received: (from roam@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TCBiE01921; Fri, 29 Mar 2002 04:11:44 -0800 (PST) (envelope-from roam) Date: Fri, 29 Mar 2002 04:11:44 -0800 (PST) From: Message-Id: <200203291211.g2TCBiE01921@freefall.freebsd.org> To: roam@FreeBSD.org, freebsd-bugs@FreeBSD.org, imp@FreeBSD.org Subject: Re: bin/36418: pccardd added option to exit after probe Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: pccardd added option to exit after probe Responsible-Changed-From-To: freebsd-bugs->imp Responsible-Changed-By: roam Responsible-Changed-When: Fri Mar 29 04:11:15 PST 2002 Responsible-Changed-Why: Over to the PC-CARD code maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=36418 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 5:23:34 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from loom.intrr.org (pD951FC92.dip.t-dialin.net [217.81.252.146]) by hub.freebsd.org (Postfix) with ESMTP id EAEFC37B426 for ; Fri, 29 Mar 2002 05:23:20 -0800 (PST) Received: from localhost (intrr@localhost) by loom.intrr.org (8.9.3/8.9.3) with ESMTP id OAA11042 for ; Fri, 29 Mar 2002 14:23:18 +0100 X-Authentication-Warning: loom.intrr.org: intrr owned process doing -bs Date: Fri, 29 Mar 2002 14:23:18 +0100 (CET) From: intrr To: bugs@freebsd.org Subject: Severe filesystem/SCSI subsystem bug Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org (da0:ahc0:0:0:0): Invalidating pack (da0:ahc0:0:0:0): Invalidating pack (da0:ahc0:0:0:0): Invalidating pack (da0:ahc0:0:0:0): SCB 0x15 - timed out while idle, SEQADDR == 0x7 STACK == 0x3, 0x189, 0x149, 0x0 SXFRCTL0 == 0x80 ahc0: Dumping Card State at SEQADDR 0x7 SCSISEQ = 0x12, SBLKCTL = 0x2, SSTAT0 0x5 SCB count = 130 Kernel NEXTQSCB = 50 Card NEXTQSCB = 50 QINFIFO entries: Waiting Queue entries: Disconnected Queue entries: 2:21 QOUTFIFO entries: Sequencer Free SCB List: 13 6 7 0 4 12 5 10 15 11 9 3 8 14 1 Pending list: 21 Kernel Free SCB list: 24 17 19 52 57 7 40 121 30 66 12 46 58 36 31 35 53 47 18 8 4 0 48 51 56 42 41 3 55 22 68 10 43 67 25 5 2 20 34 39 16 49 38 14 1 59 29 6 44 54 27 37 33 69 9 15 26 11 28 23 13 45 32 65 122 123 124 125 126 127 128 129 110 111 112 113 114 115 116 117 118 119 100 101 102 103 104 105 106 107 108 109 90 91 92 93 94 95 96 97 98 99 80 81 82 83 84 85 86 87 88 89 70 71 72 73 74 75 76 77 78 79 60 61 62 63 64 120 sg[0] - Addr 0x7e44000 : Length 1024 (da0:ahc0:0:0:0): Queuing a BDR SCB (da0:ahc0:0:0:0): no longer in timeout, status = 34a (da0:ahc0:0:0:0): Invalidating pack root@almudena:/dev # dmesg > ~/t su: /root/t: Device not configured root@almudena:/dev # reboot su: /sbin/reboot: Input/output error root@almudena:/dev # Box is a IBM netfinity 4000R. After these errors, all files start to disappear, the box needs a cold boot (forced by reset switch) to make it work again. (All files reappear when the box has been rebooted.) intrr@intrr.org intrr@efnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 5:23:46 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from loom.intrr.org (pD951FC92.dip.t-dialin.net [217.81.252.146]) by hub.freebsd.org (Postfix) with ESMTP id 407A337B404 for ; Fri, 29 Mar 2002 05:23:37 -0800 (PST) Received: from localhost (intrr@localhost) by loom.intrr.org (8.9.3/8.9.3) with ESMTP id OAA11047 for ; Fri, 29 Mar 2002 14:23:36 +0100 X-Authentication-Warning: loom.intrr.org: intrr owned process doing -bs Date: Fri, 29 Mar 2002 14:23:35 +0100 (CET) From: intrr To: bugs@freebsd.org Subject: Version Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org root@almudena:/dev # uname -a FreeBSD almudena 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386 generic kernel intrr@intrr.org intrr@efnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 5:30:24 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3742037B41F for ; Fri, 29 Mar 2002 05:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TDU2l25206; Fri, 29 Mar 2002 05:30:02 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 540C037B420 for ; Fri, 29 Mar 2002 05:28:26 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TDSQv24885; Fri, 29 Mar 2002 05:28:26 -0800 (PST) (envelope-from nobody) Message-Id: <200203291328.g2TDSQv24885@freefall.freebsd.org> Date: Fri, 29 Mar 2002 05:28:26 -0800 (PST) From: Brian Candler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/36482: Multiport starfire card (sf/ukphy) doesn't work when full duplex selected Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36482 >Category: kern >Synopsis: Multiport starfire card (sf/ukphy) doesn't work when full duplex selected >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 05:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Brian Candler >Release: 4.5-RELEASE >Organization: >Environment: FreeBSD xxx.xxx.xxx 4.5-RELEASE FreeBSD 4.5-RELEASE #1: Thu Feb 14 09:33:27 GMT 2002 root@:/usr/src/sys/compile/xxx i386 >Description: Problem machine has two quad-port Adaptec starfire cards and is running 4.5-RELEASE. If you try to nail a port to 100baseTX/full-duplex then it stops working. ifconfig reports "no carrier" and "(10baseT/UTP)" The uplink is into a Cisco Catalyst 2924 whose port is configured as "duplex full", "speed 100", and has "span uplinkfast" set too, so should be no problem there. >How-To-Repeat: # ifconfig sf3 media 100baseTX mediaopt full-duplex # ifconfig sf3 ... media: Ethernet 100baseTX (10baseT/UTP) status: no carrier It remains like this indefinitely. Obviously "no carrier" is a problem, and strange it should be displaying "(10baseT/UTP)" even though I have selected 100baseTX! The dmesg output on the problem machine is: pcib2: at device 4.0 on pci0 pci1: on pcib2 sf0: port 0xec00-0xecff mem 0xfe580000-0xfe5fff ff irq 11 at device 4.0 on pci1 sf0: Ethernet address: 00:00:d1:ef:00:5d miibus0: on sf0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sf1: port 0xe800-0xe8ff mem 0xfe500000-0xfe57ff ff irq 10 at device 5.0 on pci1 sf1: Ethernet address: 00:00:d1:ef:00:5e miibus1: on sf1 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sf2: port 0xe400-0xe4ff mem 0xfe480000-0xfe4fff ff irq 5 at device 6.0 on pci1 sf2: Ethernet address: 00:00:d1:ef:00:5f miibus2: on sf2 ukphy2: on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sf3: port 0xe000-0xe0ff mem 0xfe400000-0xfe47ff ff irq 11 at device 7.0 on pci1 sf3: Ethernet address: 00:00:d1:ef:00:60 miibus3: on sf3 ukphy3: on miibus3 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib5: at device 8.0 on pci0 pci2: on pcib5 sf4: port 0xdc00-0xdcff mem 0xfe280000-0xfe2fff ff irq 10 at device 4.0 on pci2 sf4: Ethernet address: 00:00:d1:ef:00:a1 miibus4: on sf4 ukphy4: on miibus4 ukphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sf5: port 0xd800-0xd8ff mem 0xfe200000-0xfe27ff ff irq 5 at device 5.0 on pci2 sf5: Ethernet address: 00:00:d1:ef:00:a2 miibus5: on sf5 ukphy5: on miibus5 ukphy5: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sf6: port 0xd400-0xd4ff mem 0xfe180000-0xfe1fff ff irq 11 at device 6.0 on pci2 sf6: Ethernet address: 00:00:d1:ef:00:a3 miibus6: on sf6 ukphy6: on miibus6 ukphy6: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sf7: port 0xd000-0xd0ff mem 0xfe100000-0xfe17ff ff irq 10 at device 7.0 on pci2 sf7: Ethernet address: 00:00:d1:ef:00:a4 miibus7: on sf7 ukphy7: on miibus7 ukphy7: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 5:39:47 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from loom.intrr.org (pD951FC92.dip.t-dialin.net [217.81.252.146]) by hub.freebsd.org (Postfix) with ESMTP id AE11537B41E for ; Fri, 29 Mar 2002 05:39:43 -0800 (PST) Received: from localhost (intrr@localhost) by loom.intrr.org (8.9.3/8.9.3) with ESMTP id OAA11157 for ; Fri, 29 Mar 2002 14:39:42 +0100 X-Authentication-Warning: loom.intrr.org: intrr owned process doing -bs Date: Fri, 29 Mar 2002 14:39:42 +0100 (CET) From: intrr To: bugs@freebsd.org Subject: Further output Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org spec_getpages:(#da/0x20000) I/O read failure: (error=6) bp 0xc63f3390 vp 0xcbc88ec0 size: 65536, resid: 65536, a_count: 65536, valid: 0x0 nread: 0, reqpage: 0, pindex: 0, pcount: 16 spec_getpages:(#da/0x20000) I/O read failure: (error=6) bp 0xc63f3390 vp 0xcbc88ec0 size: 65536, resid: 65536, a_count: 65536, valid: 0x0 nread: 0, reqpage: 0, pindex: 0, pcount: 16 spec_getpages:(#da/0x20000) I/O read failure: (error=6) bp 0xc63f3390 vp 0xcbc88ec0 size: 65536, resid: 65536, a_count: 65536, valid: 0x0 nread: 0, reqpage: 0, pindex: 0, pcount: 16 Maybe it's also a hardware problem. intrr@intrr.org intrr@efnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 5:40: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DAFB037B400 for ; Fri, 29 Mar 2002 05:40:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TDe4P29353; Fri, 29 Mar 2002 05:40:04 -0800 (PST) (envelope-from gnats) Date: Fri, 29 Mar 2002 05:40:04 -0800 (PST) Message-Id: <200203291340.g2TDe4P29353@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Brian Candler Subject: Re: kern/36482: Multiport starfire card (sf/ukphy) doesn't work when full duplex selected Reply-To: Brian Candler Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/36482; it has been noted by GNATS. From: Brian Candler To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/36482: Multiport starfire card (sf/ukphy) doesn't work when full duplex selected Date: Fri, 29 Mar 2002 13:38:37 +0000 Just for clarity, I should add that the card _does_ work when ports are in auto-neg mode. The port only stops working when nailed to 100baseTX/FD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 5:55:43 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 04FC537B405; Fri, 29 Mar 2002 05:55:40 -0800 (PST) Received: (from roberto@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TDtd337685; Fri, 29 Mar 2002 05:55:39 -0800 (PST) (envelope-from roberto) Date: Fri, 29 Mar 2002 05:55:39 -0800 (PST) From: Message-Id: <200203291355.g2TDtd337685@freefall.freebsd.org> To: roberto@FreeBSD.org, freebsd-bugs@FreeBSD.org, roberto@FreeBSD.org Subject: Re: bin/33914: ntpd: too many recvbufs allocated. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: ntpd: too many recvbufs allocated. Responsible-Changed-From-To: freebsd-bugs->roberto Responsible-Changed-By: roberto Responsible-Changed-When: Fri Mar 29 05:55:08 PST 2002 Responsible-Changed-Why: I suppose I've got to take this one :-) http://www.freebsd.org/cgi/query-pr.cgi?pr=33914 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 6:40: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 554F537B416 for ; Fri, 29 Mar 2002 06:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TEe1v47524; Fri, 29 Mar 2002 06:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B4FD637B400 for ; Fri, 29 Mar 2002 06:30:19 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TEUJi46387; Fri, 29 Mar 2002 06:30:19 -0800 (PST) (envelope-from nobody) Message-Id: <200203291430.g2TEUJi46387@freefall.freebsd.org> Date: Fri, 29 Mar 2002 06:30:19 -0800 (PST) From: Rod Taylor To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36485: [MAINTAINER-UPDATE] gxanim WRKSRC was broken Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36485 >Category: misc >Synopsis: [MAINTAINER-UPDATE] gxanim WRKSRC was broken >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 06:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Rod Taylor >Release: 4.5 >Organization: >Environment: FreeBSD knight.zort.ca 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Sun Feb 3 22:26:40 EST 2002 root@knight.barchord.com:/usr/obj/usr/src/sys/KNIGHT i386 >Description: The WRKSRC path was broken according to Bento, so I've fixed it. >How-To-Repeat: >Fix: *** Makefile.orig Fri Mar 29 08:50:35 2002 --- Makefile Fri Mar 29 09:26:57 2002 *************** *** 11,16 **** --- 11,17 ---- MASTER_SITES= http://www.greslin.org/code/ DISTNAME= GXAnim-${PORTVERSION} EXTRACT_SUFX= .tar.bz2 + WRKSRC= ${WRKDIR}/gxanim-${PORTVERSION} MAINTAINER= rbt@zort.ca >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 7:27:28 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2EACE37B400; Fri, 29 Mar 2002 07:27:23 -0800 (PST) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TFRN058290; Fri, 29 Mar 2002 07:27:23 -0800 (PST) (envelope-from dwmalone) Date: Fri, 29 Mar 2002 07:27:23 -0800 (PST) From: Message-Id: <200203291527.g2TFRN058290@freefall.freebsd.org> To: dwmalone@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: misc/36485: [MAINTAINER-UPDATE] gxanim WRKSRC was broken Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: [MAINTAINER-UPDATE] gxanim WRKSRC was broken Responsible-Changed-From-To: freebsd-bugs->freebsd-ports Responsible-Changed-By: dwmalone Responsible-Changed-When: Fri Mar 29 07:25:50 PST 2002 Responsible-Changed-Why: Ports PR accidently owned by FreeBSD-bugs. http://www.freebsd.org/cgi/query-pr.cgi?pr=36485 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 7:30:15 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 9015F37B41A for ; Fri, 29 Mar 2002 07:30:09 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 29 Mar 2002 15:30:08 +0000 (GMT) Date: Fri, 29 Mar 2002 15:30:07 +0000 From: David Malone To: intrr Cc: bugs@freebsd.org Subject: Re: Severe filesystem/SCSI subsystem bug Message-ID: <20020329153007.GA49790@walton.maths.tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Mar 29, 2002 at 02:23:18PM +0100, intrr wrote: I'd suggest posting the SCSI error messange to the FreeBSD-scsi mailing list, where someone will be able to explain what they mean. They do kinda look like a hardware problem though. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 11:20:26 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0CB9637B416 for ; Fri, 29 Mar 2002 11:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TJK1p07275; Fri, 29 Mar 2002 11:20:01 -0800 (PST) (envelope-from gnats) Received: from grillo.net (adsl-216-103-84-67.dsl.snfc21.pacbell.net [216.103.84.67]) by hub.freebsd.org (Postfix) with ESMTP id 0FB9537B417 for ; Fri, 29 Mar 2002 11:10:03 -0800 (PST) Received: from gti.grillo.net (gti [192.168.2.154]) by grillo.net (8.9.3/8.9.3) with ESMTP id LAA50511 for ; Fri, 29 Mar 2002 11:10:02 -0800 (PST) (envelope-from grio@gti.grillo.net) Received: (from grio@localhost) by gti.grillo.net (8.11.6/8.11.1) id g2TJA9Z13867; Fri, 29 Mar 2002 11:10:09 -0800 (PST) (envelope-from grio) Message-Id: <200203291910.g2TJA9Z13867@gti.grillo.net> Date: Fri, 29 Mar 2002 11:10:09 -0800 (PST) From: Dan Grillo Reply-To: Dan Grillo To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/36501: /usr/bin/calendar can't handle recurring items in the next month Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36501 >Category: bin >Synopsis: /usr/bin/calendar can't handle recurring items in the next month >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 11:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Dan Grillo >Release: FreeBSD 4.4-RELEASE i386 >Organization: >Environment: System: FreeBSD gti.grillo.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sun Oct 28 20:35:43 PST 2001 grio@gti.grillo.net:/usr/src/sys/compile/GTI i386 Also occurs on 4.5-RELEASE >Description: calendar allows for recurring meetings (like "every Monday") to be entered in calendar file in the form: Monday Text Calendar is unable to compute the correct dates if the recurring item falls beyond the current month. >How-To-Repeat: Here's an example: ~/.calendar gti.grillo.net[28]> date Fri Mar 29 10:49:20 PST 2002 ~/.calendar gti.grillo.net[29]> cat calendar Monday This Is every Monday Apr 1 This is an April 1 meeting ~/.calendar gti.grillo.net[30]> /usr/bin/calendar -A 10 Mar 32* This Is every Monday Apr 1* This is an April 1 meeting Notice the bogus date of Mar 32, which instead should be Apr 1 also. Once we get to April the Monday meeting with correctly show as Apr 1. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 12: 0:29 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9573337B41A for ; Fri, 29 Mar 2002 12:00:10 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TK0Ad14863; Fri, 29 Mar 2002 12:00:10 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EFBF237B416 for ; Fri, 29 Mar 2002 11:57:42 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TJvg114596; Fri, 29 Mar 2002 11:57:42 -0800 (PST) (envelope-from nobody) Message-Id: <200203291957.g2TJvg114596@freefall.freebsd.org> Date: Fri, 29 Mar 2002 11:57:42 -0800 (PST) From: "Dorr H. Clark" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/36504: crash/panic vm_object_allocate under file system code w/fix Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36504 >Category: kern >Synopsis: crash/panic vm_object_allocate under file system code w/fix >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 12:00:10 PST 2002 >Closed-Date: >Last-Modified: >Originator: Dorr H. Clark >Release: 4.4 >Organization: Santa Clara University >Environment: FreeBSD 4.4 on i386, also 4.5 & current have same issue >Description: The problem is that unlike other parts of the kernel, vnode_pager_alloc assumes that the call to vm_object_allocate will succeed. If the allocation fails, the kernel crashes immediately. I have put in a defensive check for this, and also changed the error handling in the calling routine to account for the allocation failure. >How-To-Repeat: hard to do - it's intermittent under heavy load w/almost no memory >Fix: My fix touches two files, vm/vnode_pager.c and kern/vfs_default.c, I chose to minimize code changes but I think vfs_default.c could be favorably restructured a little in this area. Sorry for the grody diff but I'm on HPUX here. First file change vm/vnode_pager.c: *** 143,149 **** * And an object of the appropriate size */ object = vm_object_allocate(OBJT_VNODE, OFF_TO_IDX(round_page(s ize))); + if (object) { object->flags = 0; object->un_pager.vnp.vnp_size = size; --- 143,148 ---- *************** *** 151,157 **** object->handle = handle; vp->v_object = object; vp->v_usecount++; + } } else { object->ref_count++; vp->v_usecount++; --- 150,155 ---- Second file change kern/vfs_default.c: *************** *** 516,524 **** retry: if ((object = vp->v_object) == NULL) { if (vp->v_type == VREG || vp->v_type == VDIR) { ! if (((error = VOP_GETATTR(vp, &vat, cred, p)) != 0) || ! (!(object = vnode_pager_alloc(vp, vat.va_size, 0, 0)))) goto retn; } else if (devsw(vp->v_rdev) != NULL) { /* * This simply allocates the biggest object possible --- 518,526 ---- retry: if ((object = vp->v_object) == NULL) { if (vp->v_type == VREG || vp->v_type == VDIR) { ! if ((error = VOP_GETATTR(vp, &vat, cred, p)) != 0) goto retn; + object = vnode_pager_alloc(vp, vat.va_size, 0, 0); } else if (devsw(vp->v_rdev) != NULL) { /* * This simply allocates the biggest object possible *************** *** 525,532 **** * for a disk vnode. This should be fixed, but doesn't * cause any problems (yet). */ ! if (!(object = vnode_pager_alloc(vp, IDX_TO_OFF(INT_MAX ), 0, 0))) ! goto retn; } else { goto retn; } --- 527,533 ---- * for a disk vnode. This should be fixed, but doesn 't * cause any problems (yet). */ ! object = vnode_pager_alloc(vp, IDX_TO_OFF(INT_MAX), 0 , 0); } else { goto retn; } *************** >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 12:20:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2BC3337B41B for ; Fri, 29 Mar 2002 12:20:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TKK4321212; Fri, 29 Mar 2002 12:20:04 -0800 (PST) (envelope-from gnats) Date: Fri, 29 Mar 2002 12:20:04 -0800 (PST) Message-Id: <200203292020.g2TKK4321212@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: William Carrel Subject: Re: kern/16318: Fix for wrong interface when adding new routes Reply-To: William Carrel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/16318; it has been noted by GNATS. From: William Carrel To: freebsd-gnats-submit@freebsd.org Cc: william.a@carrel.org Subject: Re: kern/16318: Fix for wrong interface when adding new routes Date: Fri, 29 Mar 2002 12:18:30 -0800 I can confirm that this problem still occurs in RELENG_4. I'm not sure if the patch I provided is still valid. To reproduce on a system with two interfaces... ifconfig if0 10.0.1.0 -netmask 255.255.255.0 ifconfig if1 10.0.2.0 -netmask 255.255.255.0 route add 10.0.2.1 -interface if0 route add default 10.0.2.1 netstat -rnfinet will show that the default route points toward if1 even though a static route for 10.0.2.1 shows it should be going to if0. Since the route add default won't take an -interface argument it gets a little difficult to handle. The patch provided against the ancient version fixed it there. I'm not sure how much that code has changed in the past year or two. p.s. apologies for the late reply To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 12:30:42 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 1175E37B400 for ; Fri, 29 Mar 2002 12:29:57 -0800 (PST) Received: from user-33qtmbm.dialup.mindspring.com ([199.174.217.118] helo=there) by gull.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16r30S-0004R5-00 for freebsd-bugs@FreeBSD.ORG; Fri, 29 Mar 2002 12:29:52 -0800 Content-Type: text/plain; charset="iso-8859-1" From: "Michael C. Beeler" Reply-To: info@netarmor.net Organization: NetArmor, Inc. To: freebsd-bugs@FreeBSD.ORG Subject: /usr/libexec/elf/ld: cannot find -lintl Date: Fri, 29 Mar 2002 12:29:39 -0800 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm not sure what to make of this problem, so I'm hoping someone can tell me how to deal with it. I've been running nessus 1.0.10-STABLE for some time, it compiled just fine on my FreeBSD 4.4-R O/S. #>uname -a "FreeBSD ajax 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386" I decided to try the new 1.1.14-Experimental and so uninstalled 1.0.10 and attempted to install/compile (nessus-installer.sh, binary only) the 1.1.14 version. The compile failed when compiling the nessus-core with the above error: "/usr/libexec/elf/ld: cannot find -lint1". So I figured there was something wrong with the 1.1.14 version, did an uninstall-nessus, pkg_remove nessus and attempted to install/compile (nessus-installer.sh binary only) the 1.0.10 version which I had previously installed/compiled successfully. Version 1.0.10-STABLE also failed with the same error. Has there been a change in the LINT file "ld" lately............? Can anyone give me a clue on how to fix this compile error....? Thanks. Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 13:30:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E7A9137B41A for ; Fri, 29 Mar 2002 13:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2TLU1B34154; Fri, 29 Mar 2002 13:30:01 -0800 (PST) (envelope-from gnats) Received: from gracie.lbl.gov (gracie.lbl.gov [131.243.2.175]) by hub.freebsd.org (Postfix) with ESMTP id D0ABE37B41B for ; Fri, 29 Mar 2002 13:22:37 -0800 (PST) Received: (from jin@localhost) by gracie.lbl.gov (8.11.6/8.11.6) id g2TLMbD01700; Fri, 29 Mar 2002 13:22:37 -0800 (PST) (envelope-from jin) Message-Id: <200203292122.g2TLMbD01700@gracie.lbl.gov> Date: Fri, 29 Mar 2002 13:22:37 -0800 (PST) From: Jin Guojun (DSD staff) Reply-To: Jin Guojun (DSD staff) To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/36508: installation floppy bug (See description) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36508 >Category: conf >Synopsis: installation floppy bug (See description) >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 13:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jin Guojun (DSD staff) >Release: FreeBSD 4.5-SNAP i386 >Organization: >Environment: FreeBSD 4.5-20020327-STABLE, 4.5-20020329-STABLE >Description: The probing procedure seems not work properly in the lastest 4.5-xxxxxx-STABLE. (1) Probing procedure does not looking for the BIOS configuration. e.g., BIOS only enables primary IDE (ata0), but probing procedure ignores this information, and continues to configure the ata1. (2) disable command does not work well. "disable ata1" does not function correctly. ls command shows that ata1 is disabled (status changed from Yes to No). However, the installation procedure continues to configure the ata1 regardless ata1 status "Yes or No". >How-To-Repeat: disbale the secondary IDE from BIOS and try the latest installation floppies (kern.flp + mfsrot.flp). >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 17:20:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1804237B41A for ; Fri, 29 Mar 2002 17:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U1K1t82985; Fri, 29 Mar 2002 17:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F3B1437B41A for ; Fri, 29 Mar 2002 17:18:06 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U1I6W82724; Fri, 29 Mar 2002 17:18:06 -0800 (PST) (envelope-from nobody) Message-Id: <200203300118.g2U1I6W82724@freefall.freebsd.org> Date: Fri, 29 Mar 2002 17:18:06 -0800 (PST) From: Gurusamy Sarathy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/36515: SA_NOCLDWAIT has no effect when linking with -pthread Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36515 >Category: kern >Synopsis: SA_NOCLDWAIT has no effect when linking with -pthread >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 17:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gurusamy Sarathy >Release: 4.2-RELEASE >Organization: ActiveState Corp. >Environment: FreeBSD clamp 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 >Description: Merely linking a program with -pthread causes it to start producing zombies, even though the program has explicitly set the SIGCHLD disposition using SA_NOCLDWAIT. Problem does not appear when not linking with -pthread. The supplied test case should be self- explanatory. >How-To-Repeat: /* * Demonstrate that SA_NOCLDWAIT doesn't work when linking with -pthread * under FreeBSD 4.2-RELEASE. * * This program has different behavior when built with and without * -pthread. When built with -pthread, it will create zombies. * * The two variants can be built with: * * cc -o sig sig.c * cc -o sig sig.c -pthread */ #include #include #include int main(int ac, char **av) { struct sigaction sa; sa.sa_handler = SIG_IGN; sa.sa_flags = SA_NOCLDWAIT; sigemptyset(&sa.sa_mask); sigaction(SIGCHLD,&sa,NULL); while (1) { int c = fork(); if (c < 0) { fprintf(stderr, "fork() failed: %s\n", strerror(errno)); exit(1); } if (!c) { exit(0); } sleep(1); } } >Fix: Don't know of a fix, but the workaround is to install an explicit handler to reap the children. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 18:40:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6694F37B416 for ; Fri, 29 Mar 2002 18:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U2e1A99761; Fri, 29 Mar 2002 18:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CE6B337B41B for ; Fri, 29 Mar 2002 18:32:51 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U2WpU98818; Fri, 29 Mar 2002 18:32:51 -0800 (PST) (envelope-from nobody) Message-Id: <200203300232.g2U2WpU98818@freefall.freebsd.org> Date: Fri, 29 Mar 2002 18:32:51 -0800 (PST) From: "Kamal R. Prasad" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: i386/36517: sis driver can't map ports/memory for NetGear FA312 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36517 >Category: i386 >Synopsis: sis driver can't map ports/memory for NetGear FA312 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: wish >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 18:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kamal R. Prasad >Release: 4.5 STABLE >Organization: n/a >Environment: HP 8280 pavilion pc >Description: I have a NetGear FA312 ethernet interface plugged into my pc running 4.5 STABLE on 1 of the partitions and win 95/2000 on the other. I am able to use the device correctly on win2000, so there is nothing wrong with the hw installation etc. on freebsd, I saw a line on dmesg :- sis : can't map ports/memory the man page for sis says this is an initialization error, but there is no clue in there on how to fix it. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 19:19:13 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from adsl-63-198-35-122.dsl.snfc21.pacbell.net (adsl-63-198-35-122.dsl.snfc21.pacbell.net [63.198.35.122]) by hub.freebsd.org (Postfix) with ESMTP id A826E37B400; Fri, 29 Mar 2002 19:19:07 -0800 (PST) Received: from lbl.gov (localhost.pacbell.net [127.0.0.1]) by adsl-63-198-35-122.dsl.snfc21.pacbell.net (8.11.6/8.11.6) with ESMTP id g2U3KYX00327; Fri, 29 Mar 2002 19:20:34 -0800 (PST) (envelope-from j_guojun@lbl.gov) Message-ID: <3CA52F02.A4270A60@lbl.gov> Date: Fri, 29 Mar 2002 19:20:34 -0800 From: "Jin Guojun[ITG]" X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.5-RELEASE i386) X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: murray@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/27087: FreeBSD 4.3-RELEASE does not recognize GigE NIC References: <200203271152.g2RBqYx88254@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org murray@FreeBSD.org wrote: > > Synopsis: FreeBSD 4.3-RELEASE does not recognize GigE NIC > > State-Changed-From-To: feedback->closed > State-Changed-By: murray > State-Changed-When: Wed Mar 27 03:50:58 PST 2002 > State-Changed-Why: > There was no space on the kernel floppy for those drivers with 4.3 release. > > With FreeBSD 4.5, we added support for kernel modules to be placed on > the mfsroot.flp and be loaded by sysinstall(8). Both the if_ti and > if_sk modules are included on the mfsroot.flp for 4.5, so you should > be able to install without a problem. Please let us know if this is > still an issue. Sorry for the trouble with 4.3. No trouble. We just need to make FreeBSD more robust. > http://www.freebsd.org/cgi/query-pr.cgi?pr=27087 Acturally, the problem has not been fixed yet. I just retried 4.5-RELEASE, and tested 4.5-20020317-STABLE and 4.5-20020329-STABLE, neither one of them loads if_ti at installation time nor after installation. The problem may be related to what we discussed at Jan. 19, 2002. The original discussion is appended for a line in rc.conf: network_interfaces="auto" Please refer to the message below. -Jin ------------ original discussion on Jan. 19, 2002 ------------------ > A slightly cleaner way of loading the module you need is to put the > lines: > > if_sk_load="YES" > if_ti_load="YES" > > into /boot/loader.conf. This will cause the applicable module(s) to be > loaded along with the kernel. > > This doesn't help you for first-time installs though. But one way to do > this is to put the module you need on a floppy disk. sysinstall now has > the ability to load a kernel module from a floppy disk (look on the > Configure menu). This will let you do the installation; you can then > manually edit /boot/loader.conf as described above. Caveat: I haven't > tried this myself. We should have a better way to do this, because any above solution makes the option network_interfaces="auto" in /etc/default/rc.conf meaningless to any NIC drivers to use KLD module. Currently, this is a chicken-&-egg problem. Without probing the PCI device, "ifconfig -l" will not be able to list all interface names. Without a NIC name, we cannot configure a such NIC to load its module to probe the device (via network_interfaces="auto"). I do not remember what was done prior to the 4.3, this was not a problem prior to the 4.3-RELEASE. (probably not use network_interfaces="auto" .) To make auto configuration useful for loading KLD modules, the PCI probing stage need to be smart to load the KLD module when an unconfigured device presents and its module is in /modules directory. We may use a /boot/pci-modules for pci_probe_nomatch() to auto load an unknown device. For example, an entry for sk GigE module may look like: vendor=0x1148 dev=0x4300 /module/if_sk.ko When no "desc" is returned by an unknown device, check the list described in /boot/pci-modules file to see if any module is matched for this device. Load the module if the module exists. Then, "ifconfig -l" in rc.network can list all NIC names, and auto-config will work for real. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 19:20:14 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C9A4A37B41E for ; Fri, 29 Mar 2002 19:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U3K1X07751; Fri, 29 Mar 2002 19:20:01 -0800 (PST) (envelope-from gnats) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by hub.freebsd.org (Postfix) with ESMTP id 4B59137B405 for ; Fri, 29 Mar 2002 19:18:50 -0800 (PST) Received: from fwd07.sul.t-online.de by mailout02.sul.t-online.com with smtp id 16r99p-00046r-01; Sat, 30 Mar 2002 04:03:57 +0100 Received: from spirit.zuhause.stoert.net (320050403952-0001@[217.82.55.8]) by fmrl07.sul.t-online.com with esmtp id 16r99j-0B2ypMC; Sat, 30 Mar 2002 04:03:51 +0100 Received: from elevation.zuhause.stoert.net (elevation.zuhause.stoert.net [192.168.66.46]) by spirit.zuhause.stoert.net (8.11.6/8.11.6) with ESMTP id g2U33oR52399 for ; Sat, 30 Mar 2002 04:03:50 +0100 (CET) (envelope-from corecode@corecode.ath.cx) Received: (from corecode@localhost) by elevation.zuhause.stoert.net (8.11.6/8.11.6) id g2U33ki38379; Sat, 30 Mar 2002 04:03:46 +0100 (CET) (envelope-from corecode) Message-Id: <200203300303.g2U33ki38379@elevation.zuhause.stoert.net> Date: Sat, 30 Mar 2002 04:03:46 +0100 (CET) From: "Simon 'corecode' Schubert" Reply-To: "Simon 'corecode' Schubert" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/36522: stat outside procs in procfs succeeds from within a jail Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36522 >Category: kern >Synopsis: stat outside procs in procfs succeeds from within a jail >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 19:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Simon 'corecode' Schubert >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD elevation.zuhause.stoert.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Mar 22 19:08:08 CET 2002 corecode@elevation.zuhause.stoert.net:/usr/obj/i386/k7/usr/src/sys/ELEVATION i386 >Description: from within a jail: doing a stat(2) on a process' dir/file in procfs that doesn't belong to the jail returns a valid result and not ENOENT, though readdir doesn't list these directories/files >How-To-Repeat: # jail / elev 1 `which perl` \ -e 'stat "/proc/$ARGV[0]" and print "valid!\n" or print "invalid!\n"' 1 should print `invalid!', but doesn't do so. >Fix: i'm no kernel hacker, but i assume there is a PRISON_CHECK() missing; i didn't check that code, just assume that. no guarantee this will even compile neither work! --- /usr/src/sys/miscfs/procfs/procfs_vnops.c Wed Jan 23 02:00:54 2002 +++ procfs_vnops.c Sat Mar 30 04:00:51 2002 @@ -444,7 +444,7 @@ default: procp = PFIND(pfs->pfs_pid); if (procp == NULL || procp->p_cred == NULL || - procp->p_ucred == NULL) + procp->p_ucred == NULL || !PRISON_CHECK(curproc, procp)) return (ENOENT); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 19:20:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 107D437B41C for ; Fri, 29 Mar 2002 19:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U3K0p07742; Fri, 29 Mar 2002 19:20:00 -0800 (PST) (envelope-from gnats) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by hub.freebsd.org (Postfix) with ESMTP id 4774937B405 for ; Fri, 29 Mar 2002 19:18:48 -0800 (PST) Received: from fwd03.sul.t-online.de by mailout10.sul.t-online.com with smtp id 16r9OB-0004QK-01; Sat, 30 Mar 2002 04:18:47 +0100 Received: from spirit.zuhause.stoert.net (320050403952-0001@[217.82.55.8]) by fmrl03.sul.t-online.com with esmtp id 16r9Nw-183LUWC; Sat, 30 Mar 2002 04:18:32 +0100 Received: from elevation.zuhause.stoert.net (elevation.zuhause.stoert.net [192.168.66.46]) by spirit.zuhause.stoert.net (8.11.6/8.11.6) with ESMTP id g2U3IVR52651 for ; Sat, 30 Mar 2002 04:18:31 +0100 (CET) (envelope-from corecode@corecode.ath.cx) Received: (from corecode@localhost) by elevation.zuhause.stoert.net (8.11.6/8.11.6) id g2U3ITw38627; Sat, 30 Mar 2002 04:18:29 +0100 (CET) (envelope-from corecode) Message-Id: <200203300318.g2U3ITw38627@elevation.zuhause.stoert.net> Date: Sat, 30 Mar 2002 04:18:29 +0100 (CET) From: "Simon 'corecode' Schubert" Reply-To: "Simon 'corecode' Schubert" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/36521: find segfaults when called without command in -exec Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36521 >Category: bin >Synopsis: find segfaults when called without command in -exec >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 19:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Simon 'corecode' Schubert >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD elevation.zuhause.stoert.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Mar 22 19:08:08 CET 2002 corecode@elevation.zuhause.stoert.net:/usr/obj/i386/k7/usr/src/sys/ELEVATION i386 >Description: doing a find -exec ';' results in a segfault for each found file this is because this case isn't checked for and execvp gets a NULL parameter >How-To-Repeat: find . -exec ';' # look at syslog >Fix: maybe some kind of this: note! this patch was not checked, no guarantee this will compile, neither work! just to give the idea what is needed --- /usr/src/usr.bin/find/function.c Wed Oct 3 12:09:29 2001 +++ function.c Sat Mar 30 04:12:56 2002 @@ -514,6 +514,9 @@ break; } + if (ap == *argvp) + errx(1, "%s: no command given", option->name); + cnt = ap - *argvp + 1; new->e_argv = (char **)emalloc((u_int)cnt * sizeof(char *)); new->e_orig = (char **)emalloc((u_int)cnt * sizeof(char *)); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 20:10:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C223037B405 for ; Fri, 29 Mar 2002 20:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U4A1s17146; Fri, 29 Mar 2002 20:10:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3FDD537B41B for ; Fri, 29 Mar 2002 20:06:05 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U465H16531; Fri, 29 Mar 2002 20:06:05 -0800 (PST) (envelope-from nobody) Message-Id: <200203300406.g2U465H16531@freefall.freebsd.org> Date: Fri, 29 Mar 2002 20:06:05 -0800 (PST) From: Chris Pepper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36523: Typos in /usr/share/man/cat1/su.1.gz Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36523 >Category: misc >Synopsis: Typos in /usr/share/man/cat1/su.1.gz >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 20:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Chris Pepper >Release: 4.5RELEASE >Organization: The Rockefeller University >Environment: FreeBSD kra.info-mac.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 >Description: There are two typos in the sudo man page. 'as a user ID of 0' should be 'has a user ID of 0', and 'command constitutes of more than' should be 'command consists of more than'. >How-To-Repeat: man sudo >Fix: --- su.1 Fri Mar 29 22:45:49 2002 +++ su.1.fixed Fri Mar 29 22:47:55 2002 @@ -81,7 +81,7 @@ Resource limits and session priority applicable to the original user's login class (See .Xr login.conf 5 ) -are also normally retained unless the target login as a user ID of 0. +are also normally retained unless the target login has a user ID of 0. .Pp The options are as follows: .Bl -tag -width Ds @@ -208,7 +208,7 @@ .Li man . You will be asked for man's password unless your real UID is 0. .It Li "su man -c 'catman /usr/share/man /usr/local/man /usr/X11R6/man'" -Same as above, but the target command constitutes of more than a +Same as above, but the target command consists of more than a single word and hence is quoted for use with the .Fl c option being passed to the shell. (Most shells expect the argument to >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Mar 29 23:42:30 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9ADD637B404; Fri, 29 Mar 2002 23:42:27 -0800 (PST) Received: (from maxim@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U7gR856453; Fri, 29 Mar 2002 23:42:27 -0800 (PST) (envelope-from maxim) Date: Fri, 29 Mar 2002 23:42:27 -0800 (PST) From: Message-Id: <200203300742.g2U7gR856453@freefall.freebsd.org> To: gsar@ActiveState.com, maxim@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/36515: SA_NOCLDWAIT has no effect when linking with -pthread Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: SA_NOCLDWAIT has no effect when linking with -pthread State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Fri Mar 29 23:41:28 PST 2002 State-Changed-Why: Duplicates kern/19247. http://www.freebsd.org/cgi/query-pr.cgi?pr=36515 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 2:53:56 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from gnome05.sovam.com (gnome05.sovam.com [194.67.1.186]) by hub.freebsd.org (Postfix) with ESMTP id 4F0B437B41E; Sat, 30 Mar 2002 02:53:52 -0800 (PST) Received: from ts18-a128.dial.sovam.com ([195.239.5.128]:23047 "HELO mail" ident: "NO-IDENT-SERVICE[2]" whoson: "nwp22@online.ru" smtp-auth: TLS-CIPHER: TLS-PEER: ) by gnome05.sovam.com with SMTP id ; Sat, 30 Mar 2002 13:53:37 +0300 From: Èðèíêà@FreeBSD.ORG To: @Ïðèâåò.FreeBSD.ORG Subject: ß íàøëà îòëè÷íûé ïîäàðîê! X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Date: Sat, 30 Mar 2002 13:43:46 +0300 Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Message-Id: <20020330105339Z828720-134+3384@gnome05.sovam.com> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ïðèâåò! ß íàøëà îòëè÷íûé ïîäàðîê! Óâåðåíà, ÷òî òåáå ïîíðàâèòñÿ. Ñìîòðè, â èíòåðíåòå åñòü ìàãàçèí Ïîñòåðîâ. http://www.newposter.ru/?ref=mart Òàì ïðîäàþòñÿ ðàçíûå êðàñèâûå è ïðèêîëüíûå êàðòèíêè, ïðè÷åì âñå îíè óæå â ðàìêàõ è ïîä ñòåêëîì. Ñìîòðèòñÿ î÷åíü êðàñèâî è ñîëèäíî. Äà è öåíû íå âûñîêèå. ß ñåáå óæå êóïèëà äâà ïîñòåðà. Îäèí çà 450 ðóáëåé, âòîðîé çà 700 ðóáëåé. Ïðîñòî êðàñîòà. Òàê ÷òî òåïåðü âîïðîñ ñ ïîäàðêàìè ðåøåí. Äà è äîìîé ñîâåòóþ ïðèêóïèòü. Íó âñå, ÓÄÀ×È! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 3:30: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 06E0937B405 for ; Sat, 30 Mar 2002 03:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UBU1N20696; Sat, 30 Mar 2002 03:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 155FD37B404 for ; Sat, 30 Mar 2002 03:22:24 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UBMO919139; Sat, 30 Mar 2002 03:22:24 -0800 (PST) (envelope-from nobody) Message-Id: <200203301122.g2UBMO919139@freefall.freebsd.org> Date: Sat, 30 Mar 2002 03:22:24 -0800 (PST) From: Richard Arends To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36530: man dhclient.conf speaks about 'medium "media setup";' should be 'media "media setup";' Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36530 >Category: misc >Synopsis: man dhclient.conf speaks about 'medium "media setup";' should be 'media "media setup";' >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 03:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Richard Arends >Release: 4.5-STABLE >Organization: >Environment: FreeBSD firewall.unixguru.nl 4.5-STABLE FreeBSD 4.5-STABLE #15: Sat Mar 9 18:51:05 CET 2002 root@firewall.unixguru.nl:/usr/obj/usr/src/sys/FIREWALL i386 >Description: man dhclient.conf speaks about 'medium "media setup";' should be 'media "media setup";' >How-To-Repeat: man dhclient.conf >Fix: Change medium to media >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 3:48:57 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4F64437B416; Sat, 30 Mar 2002 03:48:53 -0800 (PST) Received: (from keramida@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UBmrI24426; Sat, 30 Mar 2002 03:48:53 -0800 (PST) (envelope-from keramida) Date: Sat, 30 Mar 2002 03:48:53 -0800 (PST) From: Message-Id: <200203301148.g2UBmrI24426@freefall.freebsd.org> To: pepper@mail.rockefeller.edu, keramida@FreeBSD.org, freebsd-bugs@FreeBSD.org, keramida@FreeBSD.org Subject: Re: misc/36523: Typos in /usr/share/man/cat1/su.1.gz Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: Typos in /usr/share/man/cat1/su.1.gz State-Changed-From-To: open->patched State-Changed-By: keramida State-Changed-When: Sat Mar 30 03:47:29 PST 2002 State-Changed-Why: Changes made in -CURRENT. I'll MFC them in a few days. Responsible-Changed-From-To: freebsd-bugs->keramida Responsible-Changed-By: keramida Responsible-Changed-When: Sat Mar 30 03:47:29 PST 2002 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=36523 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 5:14:15 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 283EE37B41A for ; Sat, 30 Mar 2002 05:14:04 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g2UDCtw80425 for ; Sat, 30 Mar 2002 08:12:55 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 30 Mar 2002 08:12:55 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: bugs@FreeBSD.org Subject: I think I found & fixed a FreeBSD kernel bug - what should I do? (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've e-mailed Dorr asking him to submit this as a PR or via other bugs reporting mechanisms, but I want to make sure it doesn't get lost. Unfortunately, due to a family medical emergency, I don't have time to follow through on this at this time, and probably won't be able to get to it until a week or two from now. Would be much better if someone else could pick it up. Thanks, Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services ---------- Forwarded message ---------- Date: Wed, 27 Mar 2002 15:53:33 -0800 (PST) From: "Dorr H. Clark" To: John Baldwin , Robert Watson Subject: I think I found & fixed a FreeBSD kernel bug - what should I do? Hello- I've been working with the FreeBSD 4.4 release and I believe I found and fixed a kernel bug that is still present at TOT. If I'm following the wrong process by approaching you two please forgive me, maybe you can steer me in the right direction? Also, maybe based on your insights you can explain why it's not really a bug (but I did get a real crash). I am using the changes in my own system now. Also, maybe it's real but someone can show how to fix it better than my implementation. My goal was to minimize code changes and try to match the existing style. The problem is that unlike other parts of the kernel, vnode_pager_alloc assumes that the call to vm_object_allocate will succeed. If the allocation fails, the kernel crashes immediately. I have put in a defensive check for this, and also changed the error handling in the calling routine to account for the allocation failure. My fix touches two files, vm/vnode_pager.c and kern/vfs_default.c. The changes are presented at the bottom of this email. I would welcome your advice as to how to proceed from here. Thanks, -Dorr H. Clark Here are the diffs with some code context: ORIGINAL CODE in vm/vnode_pager.c lines 147-159 (TOT version) if (object == NULL) { /* * And an object of the appropriate size */ object = vm_object_allocate(OBJT_VNODE, OFF_TO_IDX(round_page(size))); object->flags = 0; object->un_pager.vnp.vnp_size = size; object->handle = handle; vp->v_object = object; vp->v_usecount++; } else { END ORIGINAL CODE vm/vnode_pager.c MY CHANGES to this file if (object == NULL) { /* * And an object of the appropriate size */ object = vm_object_allocate(OBJT_VNODE, OFF_TO_IDX(round_page(size))); if (object) { object->flags = 0; object->un_pager.vnp.vnp_size = size; object->handle = handle; vp->v_object = object; vp->v_usecount++; } } else { END MY CHANGES vm/vnode_pager.c ORIGINAL CODE in kern/vfs_default.c lines 572-607 if ((object = vp->v_object) == NULL) { if (vp->v_type == VREG || vp->v_type == VDIR) { if ((error = VOP_GETATTR(vp, &vat, cred, td)) != 0) goto retn; object = vnode_pager_alloc(vp, vat.va_size, 0, 0); } else if (devsw(vp->v_rdev) != NULL) { /* * This simply allocates the biggest object possible * for a disk vnode. This should be fixed, but doesn't * cause any problems (yet). */ object = vnode_pager_alloc(vp, IDX_TO_OFF(INT_MAX), 0, 0); } else { goto retn; } /* * Dereference the reference we just created. This assumes * that the object is associated with the vp. */ object->ref_count--; vp->v_usecount--; } else { if (object->flags & OBJ_DEAD) { VOP_UNLOCK(vp, 0, td); tsleep(object, PVM, "vodead", 0); vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td); goto retry; } } KASSERT(vp->v_object != NULL, ("vfs_object_create: NULL object")); vp->v_flag |= VOBJBUF; retn: return (error); } END ORIGINAL CODE kern/vfs_default.c MY CHANGES to this file if ((object = vp->v_object) == NULL) { if (vp->v_type == VREG || vp->v_type == VDIR) { if (((error = VOP_GETATTR(vp, &vat, cred, p)) != 0) || (!(object = vnode_pager_alloc(vp, vat.va_size, 0, 0)))) goto retn; } else if (devsw(vp->v_rdev) != NULL) { /* * This simply allocates the biggest object possible * for a disk vnode. This should be fixed, but doesn't * cause any problems (yet). */ if (!(object = vnode_pager_alloc(vp, IDX_TO_OFF(INT_MAX), 0, 0))) goto retn; } else { goto retn; } /* * Dereference the reference we just created. This assumes * that the object is associated with the vp. */ object->ref_count--; vp->v_usecount--; } else { if (object->flags & OBJ_DEAD) { VOP_UNLOCK(vp, 0, p); tsleep(object, PVM, "vodead", 0); vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, p); goto retry; } } KASSERT(vp->v_object != NULL, ("vfs_object_create: NULL object")); vp->v_flag |= VOBJBUF; retn: return (error); } END MY CHANGES to vfs_default.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 5:21:36 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3394E37B404 for ; Sat, 30 Mar 2002 05:21:31 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UDK1e51202; Sat, 30 Mar 2002 05:20:01 -0800 (PST) (envelope-from gnats) Received: from mail3-2.kcn.ne.jp (mail3-2.kcn.ne.jp [210.170.112.82]) by hub.freebsd.org (Postfix) with ESMTP id CC25D37B416 for ; Sat, 30 Mar 2002 05:12:39 -0800 (PST) Received: from localhost (i-nar1-229.kcn.ne.jp [211.16.248.229]) by mail3-2.kcn.ne.jp (8.11.6/3.7W-KCN000911) with ESMTP id g2UDAmD01236 for ; Sat, 30 Mar 2002 22:10:48 +0900 (JST) Message-Id: <20020329.202600.74758594.nishinao@m3.kcn.ne.jp> Date: Fri, 29 Mar 2002 20:26:00 +0900 (JST) From: Naoya Nishimura To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/36532: ar_buf because it is too short, it makes "Trap 12" by cases. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36532 >Category: kern >Synopsis: ar_buf because it is too short, it makes "Trap 12" by cases. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 05:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Naoya Nishimura >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 5.0-CURRENT #0: Mon Mar 18 19:36:16 JST 2002 i386 >Description: arstrategy allocates memory for "struct ar_buf", and calls adstrategy with its pointer as "struct bio *". adstrategy calls bioqdisksort. bioqdisksort casts that pointer to "struct buf *" if the condition is equal it is. if (td && td->td_ksegrp->kg_nice > 0) { TAILQ_FOREACH(bn, &bioq->queue, bio_queue) if (BIOTOBUF(bp)->b_vp != BIOTOBUF(bn)->b_vp) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It makes Trap12 because "struct buf" is larger than "struct ar_buf". Please change ar_buf's fisrt member to "struct buf bp". >How-To-Repeat: None. >Fix: ----Next_Part(Fri_Mar_29_20:26:00_2002_364)-- Content-Type: Application/Octet-Stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ar_diff.gz" H4sICLFBpDwCA2FyX2RpZmYA1Vjrb9pIEP9s/oqpTopwjBMwj/AIUUghFVITKsJdLz2dLINNsOJg ZJtUvQv3t9/srm3W9ppH++GukYIfOzuP387+ZtaqqoIRGKrhOGezM9ezn6Rbz4Y7w4NKHcqNdrXe rtdBK5e1gqIoW1lpsraYWAsqzXa90q40mNj1NajVZqkBCv5ewPV1AX6xlzNnbVpw6X/zz19cc+1Y Z4ur9MB07Yve2i55q6Rl5wLZF/TNnQkGTOvVnll+YASCQfyfBQ4ZUEM4TNt/jvC4c5cs0CaUa+2K 1q43k3gw4Swg1QsOkDoFpC4E5NnylpZzTDjHYCJGdeYuRcI0Fg4Iz7DNg4Fgwikgaq12tcwB0aBA NIRArDxhtP8dDNRj7aKEe0Gpak1yJV5LmwLgLxqqQBeYe0Xf/sty50U/8NazAAxPx2G5BHd6b0x+ 70efe8MJvOHtl8F4JHcKKlWgXk1XZxiIvpo6z0sX9TlTo1NQuEEdw8xKgGTPoVhkYqZnv1o4Ynqv MlxBWUbtgH8iC0oXPHOlXrnzuW8FGT9mGI7lkcCKr65twqmM0hmp6cxdLwMUmi3Wy2c4hf7gN/3m YfhlkBE1MTeIa3jJGnsxcWiK3oRPGYm5Yzz5nAx9ztpwlyR8RJ3cEfiS0acgTEMgQjsHB5HoLjBE 8glEhLazsIjEcrARmkwBBKGM6z1RBR2a0f5XO5gtoEjBYdpPoNgb67f6uDfslzF944dK9PDwqXcv y/B3SHQV3NrIdFq4wyUJzRObxelKJnYlzwrW3pLckjXaiDIV6Rq96vX1h9Ht5D1zh+xJ/w8u3f+U 8cZ6zV/s47QwdzCih8m4Nxl8eCxGexl14eqTOXIkNvUs45lgxqpdo9Qi5e4CLyzmdIzsSjYst6jQ 7cLNcKSPB70+wU+V+C2d3LSXGGV6NJXUl8QwMQN5oZ45hh/oyB6gkkA/jUe/D++Gk0cZ3t6Idcij jCtiHXZuqasjrCtZ69Hkd7mzo3TEqf1bfXT/cXg/wLQ7OdlnWKGvv9pmsMjTwpax1SxpZB1bLXJl C0kh/169XGDF5J5iu2hw8+vwY394/+EHw8AdOB5QHbsW8ZJxHtaqZx07IS+gm3bvwoqnhc7ugGc3 JtJhgEhwoPYEBNJx8UvfETyhT+3I4s/oT8JqsfpGt3GJGNZKIJwdSVPXXmzPcz3C1DghHtCSAxV+ IOoI+P5AgW0OdShQTJZnXQrI9nWCS9mKEJYUc6qW5VRJ2smoWhhljp4tZXTZurJE1TItDau8Hbaa CaF05Y8kwwTeRDeW41sc4PvhQ9nNT1rDmLd7aborbh+3WB+tJX8xEkUVJNOaG2snaFNirtGDpFKr tsKegvz9WKtCVcwM39q+b6dfUjVtBIuW7fU81ZKe0No9GI9HY8YjCbFki5aSBQFyaV7rwj88b0YY ITmQM4v9pM8WxvLJMgkAJeA6E6IKuzquI4S37tZ+h0Faa1BIaxdRm0bnRp1aqIMqJUlONgdtULIW PMvH5ljtAo8Qa4i5rN45IdlGd/hmSTATmyY83vB9ZdJbGl69VtJqGF+9Tq4kQNHqVsRrnkidny4B iBei0trrP3JNJh+OoBVVJHE0AlGuE9hGERVOypVyxKsJWs1l1TQbC2ep6VIWJ9oh9JvmTcH8+GyV 3U9CeSusw+VO1FJlwDvKpTwlO/3Km8Q5FwK8s0bIsdj2HCNt9qTO5/FwMjgwd2LZdPLEOXuDOdsf 3Q/ClJWOIp394lnK4ZzOI5x8jgy7AEo9eBisVJF68DSI15hbCY1uIM2lh+GZkdwDaSwbdocnJ3iu ysFXjheBmxEJYuGIJeM4ozIt7H/+z5Uh8VFzccxHzUX2o2aZ+7rbJB87lGb0yWNDe5hEN08WnHYt 8U5DL1cdSTo/hZe1j28smNse3liO9WItg3dwel5Q+Cnr+SFTIG3lFOPvJF4zj6RTttThmL0MMMEp BXUK/wJicKlZFhgAAA== ----Next_Part(Fri_Mar_29_20:26:00_2002_364)---- >Release-Note: >Audit-Trail: >Unformatted: ----Next_Part(Fri_Mar_29_20:26:00_2002_364)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 6:37:14 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EA10A37B404; Sat, 30 Mar 2002 06:37:11 -0800 (PST) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UEWbj76319; Sat, 30 Mar 2002 06:32:37 -0800 (PST) (envelope-from dwmalone) Date: Sat, 30 Mar 2002 06:32:37 -0800 (PST) From: Message-Id: <200203301432.g2UEWbj76319@freefall.freebsd.org> To: dwmalone@FreeBSD.org, freebsd-bugs@FreeBSD.org, dwmalone@FreeBSD.org Subject: Re: bin/36470: chpass(1) program has erroneous "usage" for -d and -h Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: chpass(1) program has erroneous "usage" for -d and -h Responsible-Changed-From-To: freebsd-bugs->dwmalone Responsible-Changed-By: dwmalone Responsible-Changed-When: Sat Mar 30 06:32:17 PST 2002 Responsible-Changed-Why: Fixed in -current, will MFC shortly. http://www.freebsd.org/cgi/query-pr.cgi?pr=36470 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 8:21:53 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3E6E737B419 for ; Sat, 30 Mar 2002 08:21:49 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UGK1897526; Sat, 30 Mar 2002 08:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5DFA737B404 for ; Sat, 30 Mar 2002 08:18:21 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UGGUV97085; Sat, 30 Mar 2002 08:16:30 -0800 (PST) (envelope-from nobody) Message-Id: <200203301616.g2UGGUV97085@freefall.freebsd.org> Date: Sat, 30 Mar 2002 08:16:30 -0800 (PST) From: Al Turner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36536: Apparent mother board incompatability Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36536 >Category: misc >Synopsis: Apparent mother board incompatability >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 08:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Al Turner >Release: 4.2-Release and 4.4-Release >Organization: >Environment: N/A >Description: I have two machines, one with an ASUS P3B-F motherboard with the Intel 440BX AGP chipset with Pentium III 500Mhz processor, and the other the ASUS A7M266 Socket A motherboard with the AMD 761 Chipset and AMD Athlon 1.4 processor. Since installing both FreeBSD 4.2-Release and FreeBSD 4.4-Relaese on the newer system I have had numerous weird problems, most of which were reported as bugs. It seems now that they are more likely motherboard problems, since they disappear when I install on the older system. The problems that disappear are as follows: 1. Install must be done with "PNP OS = YES" to avoid system lock-up when device probe is invoked. 2. Kernel recognizing the FreeBSD install disk (after system has booted from that disk and the install has progressed to the point of selecting packages) as a music disk on one CDROM drive, a Creative 52X, but not on another CDROM drive, also a Creative 52X. 3. Problems starting X Server - DCOP_Server failed self-test. Repeated tries could get the server going with KDE. I re-installed with Gnome and the problem wasn't there. >How-To-Repeat: Install either FreeBSD 4.2-Release or FreeBSD 4.4-Release on the Machine with the A7M266 motherboard, AMD Athlon 1.4 processor and 266 DDR RAM. >Fix: Install either release on the machine with the P3B-F motherboard and Pentium II 500Mhz processor. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 9:40:26 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3CCB137B416 for ; Sat, 30 Mar 2002 09:40:16 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UHe1u13066; Sat, 30 Mar 2002 09:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BB2A637B416 for ; Sat, 30 Mar 2002 09:38:43 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UHcbs12872; Sat, 30 Mar 2002 09:38:37 -0800 (PST) (envelope-from nobody) Message-Id: <200203301738.g2UHcbs12872@freefall.freebsd.org> Date: Sat, 30 Mar 2002 09:38:37 -0800 (PST) From: Gurusamy Sarathy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/36539: installing a SIGCHLD handler makes libc_r coredump Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36539 >Category: kern >Synopsis: installing a SIGCHLD handler makes libc_r coredump >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 09:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gurusamy Sarathy >Release: 4.2 >Organization: ActiveState Corp. >Environment: FreeBSD clamp 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 >Description: The test case should be self-explanatory. % cc -g -o sig sig.c % ./sig Fatal error '_pq_remove: Not in priority queue' at line ? in file /usr/src/lib/libc_r/uthread/uthread_priority_queue.c (errno = ?) Abort (core dumped) % gdb ./sig ./sig.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"... Core was generated by `sig'. Program terminated with signal 6, Abort trap. Reading symbols from /usr/lib/libc_r.so.4...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x280a4320 in kill () from /usr/lib/libc_r.so.4 (gdb) bt #0 0x280a4320 in kill () from /usr/lib/libc_r.so.4 #1 0x280ee6a6 in abort () from /usr/lib/libc_r.so.4 #2 0x280baffd in _thread_exit () from /usr/lib/libc_r.so.4 #3 0x280b440e in _pq_remove () from /usr/lib/libc_r.so.4 #4 0x280b6cb5 in _thread_kern_scheduler () from /usr/lib/libc_r.so.4 #5 0x0 in ?? () (gdb) q >How-To-Repeat: /* * Demonstrate crash in libc when a SIGCHLD handler is installed * either using sigaction() or signal() on FreeBSD 4.2-RELEASE. * * This program has different behavior when built with and without * -pthread. When built with -pthread, it will coredump somewhere * in libc's uthread_priority_queue.c after running for a few * seconds. * * Build with: * cc -g -o sig sig.c -pthread */ #include #include #include #include #include #include #include void reaper(int sig) { int status; pid_t pid; int save_errno = errno; while ((pid = waitpid(-1, &status, WNOHANG)) > 0) ; errno = save_errno; return; } int main(int ac, char **av) { struct sigaction sa; sa.sa_handler = reaper; sa.sa_flags = 0; sigemptyset(&sa.sa_mask); sigaction(SIGCHLD,&sa,NULL); /*signal(SIGCHLD,reaper);*/ /* this has the same problem */ /*syscall(SYS_sigaction,SIGCHLD,&sa,NULL);*/ /* workaround */ while (1) { pid_t c = fork(); if (c < 0) { fprintf(stderr, "fork() failed: %s\n", strerror(errno)); exit(1); } if (!c) { exit(0); } usleep(1); /* slow down, don't make too many children */ } } >Fix: None known. See workaround mentioned in the test case. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 11:30:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 04B1537B41C for ; Sat, 30 Mar 2002 11:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UJU1Y37231; Sat, 30 Mar 2002 11:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F7F037B41A for ; Sat, 30 Mar 2002 11:20:05 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UJK5T36154; Sat, 30 Mar 2002 11:20:05 -0800 (PST) (envelope-from nobody) Message-Id: <200203301920.g2UJK5T36154@freefall.freebsd.org> Date: Sat, 30 Mar 2002 11:20:05 -0800 (PST) From: Chris Pepper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36541: port: make install as normal user retries sites Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36541 >Category: misc >Synopsis: port: make install as normal user retries sites >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 11:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Chris Pepper >Release: 4.5-RELEASE >Organization: The Rockefeller University >Environment: FreeBSD kra.info-mac.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 >Description: When I run 'make install' in /usr/ports/net/netatalk as unprivileged user 'pepper', make attempts to download the distfile, fails (because I don't have write permission to /usr/ports/distfiles), and then retries all the other mirrors in sequence, instead of giving up. >How-To-Repeat: cd /usr/ports/net/netatalk make install >Fix: Abort if the user doesn't have write permission on /usr/ports/distfiles, rather than retrying. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 12:40: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A87A337B41D for ; Sat, 30 Mar 2002 12:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UKe1h51613; Sat, 30 Mar 2002 12:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 73E9C37B417 for ; Sat, 30 Mar 2002 12:32:03 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UKW3M50705; Sat, 30 Mar 2002 12:32:03 -0800 (PST) (envelope-from nobody) Message-Id: <200203302032.g2UKW3M50705@freefall.freebsd.org> Date: Sat, 30 Mar 2002 12:32:03 -0800 (PST) From: eduardo viruena silva To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: i386/36546: absolute symbolic links in FreeBSD 4.5 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36546 >Category: i386 >Synopsis: absolute symbolic links in FreeBSD 4.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 12:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: eduardo viruena silva >Release: 4.5-RELEASE >Organization: esfm-ipn >Environment: FreeBSD Isabeau.esfm.ipn.mx 4.5-RELEASE FreeBSD 4.5-RELEASE #2: Thu Mar 28 23:37:37 CST 2002 root@Isabeau.esfm.ipn.mx:/usr/src/sys/compile/eviruena i386 >Description: There are several absolute symbolic links in FreeBSD 4.5-RELEASE. Even though FreeBSD can work with them, they might be a problem when an ISO image is made or when the OS is distributed to diskless systems >How-To-Repeat: Install bin distribution. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 13:50:14 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4E7B937B440 for ; Sat, 30 Mar 2002 13:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2ULo2v64921; Sat, 30 Mar 2002 13:50:02 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 609ED37B416 for ; Sat, 30 Mar 2002 13:46:44 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2ULkiL64453; Sat, 30 Mar 2002 13:46:44 -0800 (PST) (envelope-from nobody) Message-Id: <200203302146.g2ULkiL64453@freefall.freebsd.org> Date: Sat, 30 Mar 2002 13:46:44 -0800 (PST) From: Matthias Andree To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/36549: sym driver fails on Tekram DC-390U in 486 machine Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36549 >Category: kern >Synopsis: sym driver fails on Tekram DC-390U in 486 machine >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 13:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: 4.5-RELEASE >Organization: >Environment: (cannot be obtained) Cyrix 5x86/100 with UMC8881/8886 PCI chip set. 24 MB RAM. >Description: At Kernel boot time, the sym driver hangs the kernel when probing devices. The last lines I see are (not verbatim): 1. sending SCSI reset 2. waiting 15 seconds for SCSI devices to settle 3. sym0:0 ERROR (81:0) (8-0-0) (0/5) @ (mem 8:f000f7c8) 4. register dump (not copied here) It's a DC-390U card, which has a Symbios 53C875 manufactured 9752R. The DC-390U has two 50-pin (narrow SCSI) connectors. The only attached device is a Plextor PX-20 TSi CD-ROM at unit #2 (the adaptor has unit #7). PCI IRQ is unshared. The Plextor is terminated and is detected at boot time or by NetBSD 1.5. The card is fine with NetBSD 1.5 or Linux 2.2/2.4. The card is also fine in a newer main board (Gigabyte 7ZX-R, with Duron/700 and VIA KT133 chip set). >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 14:50:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9B55C37B416 for ; Sat, 30 Mar 2002 14:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UMo1W76837; Sat, 30 Mar 2002 14:50:01 -0800 (PST) (envelope-from gnats) Received: from altair.mukappabeta.net (altair.mukappabeta.net [194.145.150.157]) by hub.freebsd.org (Postfix) with ESMTP id 0551F37B419 for ; Sat, 30 Mar 2002 14:45:01 -0800 (PST) Received: by altair.mukappabeta.net (Postfix, from userid 1001) id 84E5E460; Sat, 30 Mar 2002 23:44:51 +0100 (CET) Message-Id: <20020330224451.84E5E460@altair.mukappabeta.net> Date: Sat, 30 Mar 2002 23:44:51 +0100 (CET) From: Matthias Buelow Reply-To: Matthias Buelow To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/36552: lpd doesn't delete spool files Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36552 >Category: bin >Synopsis: lpd doesn't delete spool files >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 14:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Matthias Buelow >Release: FreeBSD 4.5-20020326-STABLE i386 >Organization: >Environment: System: FreeBSD altair.mukappabeta.net 4.5-20020326-STABLE FreeBSD 4.5-20020326-STABLE #0: Sat Mar 30 03:08:40 CET 2002 root@:/usr2/src/sys/compile/ALTAIR i386 >Description: After successful printing a file on a remote printer, lpd doesn't remove the file in the spool dir, thus locking up the printing service and printing it again if the daemon is restarted. >How-To-Repeat: I've got the following printcap: ps|remote laser postscript printer:\ :sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\ :of=/usr/local/sbin/psfilt:\ :sh:rm=eps1:rp=wastebasket_p1: using a Lantronix EPS1 printer server. The /usr/local/sbin/psfilt script, used as output filter, contains the following line: gs -q -dSAFER -sDEVICE=ljet4 -sPAPERSIZE=a4 -sOutputFile=- - Printing a postscript file works but it leaves the spool file hanging around: # lpq -Pps altair.mukappabeta.net: sending to eps1 Rank Owner Job Files Total Size 1st mkb 2 test.ps 182732 bytes Posn Entry Source Node Service Port Status Source -- 192.168.0.1 WASTEBASKET_P1 Port_2 Active RLpr 2 17 192.168.0.1 WASTEBASKET_P1 N/A Queued RLpr # ls -la /var/spool/output/lpd total 192 drwxrwxr-x 2 root daemon 512 Mar 30 23:35 . drwxr-xr-x 3 root daemon 512 Mar 30 23:27 .. -rw-r----x 1 root daemon 4 Mar 30 23:34 .seq -rw-rw---- 1 daemon daemon 122 Mar 30 23:34 cfA002altair.mukappabeta.net -rw-rw---- 1 mkb daemon 182732 Mar 30 23:34 dfA002altair.mukappabeta.net -rw-rw-r-- 1 root daemon 0 Mar 30 23:34 errs.G9KhLPX -rw-rw-r-- 1 root daemon 35 Mar 30 23:35 lock -rw-rw-r-- 1 root daemon 16 Mar 30 23:34 status >Fix: No clue, except replacing the blasted BSD lpd, which is always causing trouble, with something that works, like LPRng. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 15:40:22 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2D2D037B419 for ; Sat, 30 Mar 2002 15:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2UNe3C93411; Sat, 30 Mar 2002 15:40:03 -0800 (PST) (envelope-from gnats) Received: from mail.industrialcarriers.com (mail.industrialcarriers.com [195.138.73.178]) by hub.freebsd.org (Postfix) with ESMTP id AFD5537B405 for ; Sat, 30 Mar 2002 15:32:48 -0800 (PST) Received: (from mishka@localhost) by mail.industrialcarriers.com (8.11.6/8.11.6) id g2UNWdo85282; Sun, 31 Mar 2002 01:32:39 +0200 (EET) (envelope-from mishka) Message-Id: <200203302332.g2UNWdo85282@mail.industrialcarriers.com> Date: Sun, 31 Mar 2002 01:32:39 +0200 (EET) From: Mishka Reply-To: Mishka To: FreeBSD-gnats-submit@FreeBSD.org Cc: mishka@batraq.anything3d.com X-Send-Pr-Version: 3.113 Subject: bin/36553: Two new features in newsyslog(8) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36553 >Category: bin >Synopsis: Two new features in newsyslog(8) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 15:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Mishka >Release: FreeBSD 4.5-STABLE i386 >Organization: Terabyte ACS >Environment: System: FreeBSD mail.industrialcarriers.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Mar 24 13:13:03 EET 2002 mishka@victor.terabyte.com.ua:/usr/src/sys/compile/HARLEY i386 >Description: Dear Sirs! I am very happy with FreeBSD built-in utilities. Such, in most cases i needn't any other software to solve my problems and task. Hovewer, there is posted some useful changes to newsyslog(8): 1. When time="*" and size="*" now it means that newsyslog must rotate log file with any size and at any time, when started. Early it just skip such logs. I think, if we always want to skip some logfiles, we can comment it out or just remove. 2. After all, newsyslog always tries to sent some signal (HUP by default) to some process (syslogd(8) by default) which can be not wanted sometimes. Now if path_to_pid_file="-" the newsyslog will not sent any signal to any process for this records. Few examples: /var/log/squid/access.log 644 31 * * - - /var/log/apache/access.log 644 3 8192 * Z - /var/log/maillog 644 7 * @T00 Z I take a look to ports collection before, but have not find any with such features, when my rotation scheme want to have such ones. For apply my changes please use patch provided. If you find my changes useful please inform me how can i fix it (move to ports collection or other way). -- Best regards, Mishka. >How-To-Repeat: 1. You can change time and size fields to asterisk (*) and see newer turned over logfiles. 2. You can't avoid sending signal. If you ignore path_to_pid_file field the newsyslog will sent SIGHUP to syslogd(8). Moreover, this field must be started with slash "/" character, so should be path to some pid-file. >Fix: Please use following patch: Note: This patchfile should be placed into /usr/src/usr.sbin directory. (cd /usr/sys/usr.sbin ; patch < newsyslog.patch) diff -ur /usr/src/usr.sbin/newsyslog/newsyslog.8 newsyslog/newsyslog.8 --- /usr/src/usr.sbin/newsyslog/newsyslog.8 Sun Mar 31 00:38:19 2002 +++ newsyslog/newsyslog.8 Sat Mar 30 06:34:07 2002 @@ -254,6 +254,16 @@ rotate on every 5th day of month at 6:00 hr .El .Pp +.Em Note: +if you place asterisk +.Pq Ql \&* +into both +.Ar size +and +.Ar when +fields the logfile will be turned over each time starting +.Nm . +.Pp .It Ar flags This optional field specifies if the archive should have any special processing done to the archived log files. @@ -284,9 +294,14 @@ the file name to read to find the daemon process id. If this field is present, a .Ar signal_number -is sent the process id contained in this -file. This field must start with "/" in order to be recognized -properly. +is sent the process id contained in this file; in other case +.Nm +will tries sent signal to +.Xr syslogd 8 . +Please note, all path must be absolute, (i.e. paths must start with "/" +in order to be recognized properly). Place the dash +.Ar - +here if you don't want sent any signals to any processes. .It Ar signal_number This optional field specifies the signal number will be sent to the daemon process. diff -ur /usr/src/usr.sbin/newsyslog/newsyslog.c newsyslog/newsyslog.c --- /usr/src/usr.sbin/newsyslog/newsyslog.c Sun Mar 31 00:38:21 2002 +++ newsyslog/newsyslog.c Sun Mar 31 01:03:25 2002 @@ -25,7 +25,7 @@ #ifndef lint static const char rcsid[] = -"$FreeBSD: src/usr.sbin/newsyslog/newsyslog.c,v 1.25.2.4 2001/11/14 16:58:58 obrien Exp $"; +"$Id$"; #endif /* not lint */ #define OSF @@ -67,6 +67,7 @@ #define CE_BZCOMPACT 8 /* Compact the achived log files with bzip2 */ /* status messages */ #define CE_TRIMAT 4 /* trim at a specific time */ +#define CE_SKIPNOTIFY 16 /* skip syslogd(8) notification */ #define NONE -1 @@ -167,17 +168,24 @@ ctime(&ent->trim_at)); return; } else if (verbose && ent->hours <= 0) { - printf("--> time is up\n"); + printf("time is up"); + if (ent->size < 0) + printf(" or "); + else + printf(", "); } } if (verbose && (ent->size > 0)) printf("size (Kb): %d [%d] ", size, ent->size); if (verbose && (ent->hours > 0)) printf(" age (hr): %d [%d] ", modtime, ent->hours); - if (force || ((ent->size > 0) && (size >= ent->size)) || + if (verbose && (ent->hours <= 0 && ent->size < 0)) + printf("always "); + if ( force || ((ent->size > 0) && (size >= ent->size)) || (ent->hours <= 0 && (ent->flags & CE_TRIMAT)) || - ((ent->hours > 0) && ((modtime >= ent->hours) - || (modtime < 0)))) { + ((ent->hours > 0) && ((modtime >= ent->hours) || + (modtime < 0) )) || + (ent->hours <= 0 && ent->size < 0) ) { if (verbose) printf("--> trimming log....\n"); if (noaction && !verbose) { @@ -460,6 +468,8 @@ if (q && *q) { if (*q == '/') working->pid_file = strdup(q); + else if (*q == '-') + working->flags |= CE_SKIPNOTIFY; else if (isdigit(*q)) goto got_sig; else @@ -666,7 +676,11 @@ pid = get_pid(pid_file); } if (pid) { - if (noaction) { + if (flags & CE_SKIPNOTIFY) { + notified = 1; + if (verbose) + printf("no syslogd(8) notification needed\n"); + } else if (noaction) { notified = 1; printf("kill -%d %d\n", sig, (int) pid); } else if (kill(pid, sig)) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 18:30:17 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B7ABA37B41A for ; Sat, 30 Mar 2002 18:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2V2U1R46606; Sat, 30 Mar 2002 18:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0DEB837B419 for ; Sat, 30 Mar 2002 18:26:01 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2V2Q1w46100; Sat, 30 Mar 2002 18:26:01 -0800 (PST) (envelope-from nobody) Message-Id: <200203310226.g2V2Q1w46100@freefall.freebsd.org> Date: Sat, 30 Mar 2002 18:26:01 -0800 (PST) From: Anatole Shaw To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/36556: patch: regular expressions for tcpwrappers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36556 >Category: misc >Synopsis: patch: regular expressions for tcpwrappers >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 18:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Anatole Shaw >Release: RELENG_4 >Organization: >Environment: >Description: This patch adds support to tcpwrappers for regex host patterns. Specifically, host patterns with a tilde ('~') at position [0] are interpreted as regular expressions starting from position [1]. >How-To-Repeat: >Fix: --- contrib/tcp_wrappers/hosts_access.c.orig Tue Jul 18 08:34:54 2000 +++ contrib/tcp_wrappers/hosts_access.c Thu Mar 14 06:45:02 2002 @@ -41,6 +41,7 @@ #include #include #include +#include #ifdef INET6 #include #endif @@ -93,6 +94,7 @@ static int host_match(); static int string_match(); static int masked_match(); +static int regex_match(); #ifdef INET6 static int masked_match4(); static int masked_match6(); @@ -336,6 +338,8 @@ if (tok[0] == '.') { /* suffix */ n = strlen(string) - strlen(tok); return (n > 0 && STR_EQ(tok, string + n)); + } else if (tok[0] == '~') { /* regex */ + return (regex_match(tok+1, string)); } else if (STR_EQ(tok, "ALL")) { /* all: match any */ return (YES); } else if (STR_EQ(tok, "KNOWN")) { /* not unknown */ @@ -378,6 +382,45 @@ #endif return (STR_EQ(tok, string)); } +} + +/* regex_match - match string against regular expression */ + +static int regex_match(exp, string) +char *exp; +char *string; +{ + regex_t preg; + int errn; + char errstr[256]; + + if ( *exp == '\0' ) { + tcpd_warn("null regular expression"); + return (NO); + } + errn = regcomp(&preg, exp, REG_EXTENDED | REG_ICASE | REG_NOSUB); + if ( errn != 0 ) { + regerror(errn, &preg, errstr, 256); + regfree(&preg); + tcpd_warn("error in regex: %s", errstr); + return (NO); + } + errn = regexec(&preg, string, 0, NULL, 0); + if ( errn == 0 ) { + regfree(&preg); + return (YES); + } else if ( errn == REG_NOMATCH ) { + regfree(&preg); + return (NO); + } else { + regerror(errn, &preg, errstr, 256); + regfree(&preg); + tcpd_warn("could not execute regex: %s", errstr); + return (NO); + } + /* unreached */ + regfree(&preg); + return (NO); } /* masked_match - match address against netnumber/netmask */ --- contrib/tcp_wrappers/hosts_access.5.orig Thu Feb 3 10:26:57 2000 +++ contrib/tcp_wrappers/hosts_access.5 Thu Mar 14 06:13:06 2002 @@ -103,6 +103,15 @@ zero or more lines with zero or more host name or address patterns separated by whitespace. A file name pattern can be used anywhere a host name or address pattern can be used. +.IP \(bu +A string that begins with a `~\' character. +The address (and hostname, if available) are matched +against the extended regular expression (see \fIre_format(7)\fR) +which follows the `~\' character. +For example, the pattern `~^nyc[0-9]+\\.example\\.com$\' matches the host name +`nyc23.example.com\' but neither `nyc.example.com\' nor `nyc42.example.com.au\'. +The comparison is not case-sensitive, and it is both impossible and useless +for spaces to appear in the expression. .SH WILDCARDS The access control language supports explicit wildcards: .IP ALL begin 600 tcpwrappers-regex-freebsd.patch.gz M'XL(`"MSICP``[56?U/;1A#]V_H46]H&&]E&_@F8DH&"T]`2TX(S:0=3YRRM M;17YI+D[Q="T?/;NW5FV[)`TZ4P]#)9N=]^^?;>WYTJE`G[,E0A'N\I/AG/! MD@2%W)W&4LDA\WV4LNI78Q%."OT4X</N=1K/3:D+=\SS'==W/02GT MIRF\8@)J3?#:G6:KX]4U0-TY/H9*LU9N@TO_]^#XV(&O0^Y':8#P'0K!X^KT M>7Y-HOICEFPN$@$^T8ON:E'@!.\7CN,`QW#>Z_;;^3".*AA9#^1!.#9L#AJ: MS4%SP48JID(?0JY`US2<,>5/BZ7#-8O-_[1MQN0=!BN;F[,9BKFP=:(?`6E^ M*D-;&W49C49;U]%H[)?W32'Z$XZAJ.*[&^\6CHY@N[I=@O>%0F%W!V0Z'H?W ML+/K0('#D:XH0EZTA96@DBU0M,Y>$*A2P:'(X3EX\.P97/>OAMU?M+V\D`-< MX"5=L,[\-V`D<9/`XXJ`D4+G-^[ZDZ7(BT2Q;BU+H,%A`SQ/8^ODXF*K9#)0 M`A9%'3`HP/B#K31+\5OW^M^P?NI=ONFMT'BL(.5W/)YS#644W]LWBN_7R\V6 M[63;5:L\'XJTJL%QZ<]Q,RELP22\_5Y(RB8LY-(T3AK1><+[1-`)"V/#POUH M`668+'91P^I#N7@UD?1.D3?U5OOV M4#/(^LS`FUT>>-M`NJUVEB9%,)PSP8M;/(VB)ZK9ROHFWPB]RV4WV2]-A7J5 MPOUXEA2?::9E,+5>=7\8=G_M=WMGW3/XR[R>GYY<=Q?/O(]^5K/=NS)X9>B]OKB@AP^+.WJJN*?YKI^+S0.\A+-*OCKIG[[\0N!<61;W M_Y3S$8I=>M(1.E/ELV[KUN*VILOV!8X`&E#S.O5VI[7W);=U:^.VKC4Z M7GMU6]<\A8+A"CD*&$>JNGZNDX!G,U0KV0U)TPI%%S2 M=88)$TR1KJ,'F$]#A3)A/E8!3F`<1FA#%_[@,PXCA%22/PWS^10%.L`^F20? M5'7/@VTSYIA/&!36G^(2N,AX8%+J MC&5]--@[%D9L%&$)&-5L-A@#Q\WV5E$TWBNZ%HCX$S.\*!%A,#X7.!S'@L*+ M>Z7!^(I&-DE"O3*.HRB>2X/S`;47L<9BLR0B,MHC*_SMX^_\P;_Q*@>W[F!0 M7?C0$TW-;PC$TK2H2P4=]RT%U1N9NW8FWU&J.Y3$00':8Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 22:36:24 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 62F1237B417; Sat, 30 Mar 2002 22:36:22 -0800 (PST) Received: (from matusita@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2V6aL504563; Sat, 30 Mar 2002 22:36:21 -0800 (PST) (envelope-from matusita) Date: Sat, 30 Mar 2002 22:36:21 -0800 (PST) From: Message-Id: <200203310636.g2V6aL504563@freefall.freebsd.org> To: eduardo.viruena@esfm.ipn.mx, matusita@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: absolute symbolic links in FreeBSD 4.5 State-Changed-From-To: open->feedback State-Changed-By: matusita State-Changed-When: Sat Mar 30 22:33:50 PST 2002 State-Changed-Why: Awainting examples and lists from the original submitter. http://www.freebsd.org/cgi/query-pr.cgi?pr=36546 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 22:40: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B8A6637B419 for ; Sat, 30 Mar 2002 22:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2V6e2p04998; Sat, 30 Mar 2002 22:40:02 -0800 (PST) (envelope-from gnats) Date: Sat, 30 Mar 2002 22:40:02 -0800 (PST) Message-Id: <200203310640.g2V6e2p04998@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Makoto Matsushita Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 Reply-To: Makoto Matsushita Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/36546; it has been noted by GNATS. From: Makoto Matsushita To: eduardo.viruena@esfm.ipn.mx Cc: bug-followup@FreeBSD.org Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 Date: Sun, 31 Mar 2002 15:32:32 +0900 eduardo.viruena> There are several absolute symbolic links in FreeBSD eduardo.viruena> 4.5-RELEASE. How many symlinks did you find? Is the list available for others? What's problem you encountered with such links? Any examples? -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 22:50:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AA0E337B419 for ; Sat, 30 Mar 2002 22:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2V6o2c06644; Sat, 30 Mar 2002 22:50:02 -0800 (PST) (envelope-from gnats) Date: Sat, 30 Mar 2002 22:50:02 -0800 (PST) Message-Id: <200203310650.g2V6o2c06644@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Eduardo Viruena Silva Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 Reply-To: Eduardo Viruena Silva Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/36546; it has been noted by GNATS. From: Eduardo Viruena Silva To: Makoto Matsushita Cc: , Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 Date: Sun, 31 Mar 2002 00:43:11 -0600 (CST) On Sun, 31 Mar 2002, Makoto Matsushita wrote: > Date: Sun, 31 Mar 2002 15:32:32 +0900 > From: Makoto Matsushita > To: eduardo.viruena@esfm.ipn.mx > Cc: bug-followup@FreeBSD.org > Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 > > > eduardo.viruena> There are several absolute symbolic links in FreeBSD > eduardo.viruena> 4.5-RELEASE. > > How many symlinks did you find? Is the list available for others? Hello, I found about five, try: find / -type l -exec ls -l {}\; | grep " /" > What's problem you encountered with such links? I think the real problem happened when I load a package [mtools], not with the bin distrubution itself. I was installing a diskless workstation. In the server I do not have a floppy disk driver and I did not installed mtools. In the client I had the need of using floppies. I installed the client operating system in a disk slice and mounted it in the server [let us say in "/dl" directory]. I exported "/dl" with all its directories; installed mtools and it crossed the file systems. dl/usr/local/bin/mwrite -> /usr/local/bin/mtools and I could not use mcopy in the client. > Any examples? read above. > > -- - > Makoto `MAR' Matsushita > - ______ _ * / /###\ / \ __ /\ /\ * / ./#### \ * \__|_/ | | / \/ \ | b#####| * _ | __ | | __ = .. \____ \ \_\#####/ / \| / \ | | /\_\/ = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ = \______/ _ | | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 23:10: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7471237B41B for ; Sat, 30 Mar 2002 23:10:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2V7A3M12760; Sat, 30 Mar 2002 23:10:03 -0800 (PST) (envelope-from gnats) Date: Sat, 30 Mar 2002 23:10:03 -0800 (PST) Message-Id: <200203310710.g2V7A3M12760@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Makoto Matsushita Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 Reply-To: Makoto Matsushita Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/36546; it has been noted by GNATS. From: Makoto Matsushita To: bug-followup@FreeBSD.org Cc: Eduardo Viruena Silva Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 Date: Sun, 31 Mar 2002 16:09:47 +0900 mrspock> I found about five, try: Ok, here it is the list: /etc/termcap (-> /usr/share/misc/termcap) /etc/rmt (-> /usr/sbin/rmt) /usr/bin/newaliases (-> /usr/sbin/mailwrapper) /usr/bin/mailq (-> /usr/sbin/mailwrapper) /usr/sbin/sendmail (-> /usr/sbin/mailwrapper) mrspock> I was installing a diskless workstation. In the server I do mrspock> not have a floppy disk driver and I did not installed mrspock> mtools. In the client I had the need of using floppies. I mrspock> installed the client operating system in a disk slice and mrspock> mounted it in the server [let us say in "/dl" directory]. I mrspock> exported "/dl" with all its directories; installed mtools mrspock> and it crossed the file systems. dl/usr/local/bin/mwrite -> mrspock> /usr/local/bin/mtools and I could not use mcopy in the mrspock> client. I assume that in this example, /dl is a "root" directory for this diskless workstation, right? If yes, /dl/usr/local/bin should be treated as /usr/local/bin to this diskless workstation, so this symlink should work as it should be... -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 23:30:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E738037B417 for ; Sat, 30 Mar 2002 23:30:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2V7U4t15573; Sat, 30 Mar 2002 23:30:04 -0800 (PST) (envelope-from gnats) Date: Sat, 30 Mar 2002 23:30:04 -0800 (PST) Message-Id: <200203310730.g2V7U4t15573@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Eduardo Viruena Silva Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 Reply-To: Eduardo Viruena Silva Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/36546; it has been noted by GNATS. From: Eduardo Viruena Silva To: Makoto Matsushita Cc: Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 Date: Sun, 31 Mar 2002 01:29:00 -0600 (CST) On Sun, 31 Mar 2002, Makoto Matsushita wrote: > Date: Sun, 31 Mar 2002 16:09:47 +0900 > From: Makoto Matsushita > To: bug-followup@FreeBSD.org > Cc: Eduardo Viruena Silva > Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5 > > > mrspock> I found about five, try: > > Ok, here it is the list: > > /etc/termcap (-> /usr/share/misc/termcap) > /etc/rmt (-> /usr/sbin/rmt) > /usr/bin/newaliases (-> /usr/sbin/mailwrapper) > /usr/bin/mailq (-> /usr/sbin/mailwrapper) > /usr/sbin/sendmail (-> /usr/sbin/mailwrapper) > > mrspock> I was installing a diskless workstation. In the server I do > mrspock> not have a floppy disk driver and I did not installed > mrspock> mtools. In the client I had the need of using floppies. I > mrspock> installed the client operating system in a disk slice and > mrspock> mounted it in the server [let us say in "/dl" directory]. I > mrspock> exported "/dl" with all its directories; installed mtools > mrspock> and it crossed the file systems. dl/usr/local/bin/mwrite -> > mrspock> /usr/local/bin/mtools and I could not use mcopy in the > mrspock> client. > > I assume that in this example, /dl is a "root" directory for this > diskless workstation, right? If yes, /dl/usr/local/bin should be > treated as /usr/local/bin to this diskless workstation, so this > symlink should work as it should be... Sorry, I think I make something wrong. You are right it works. Nevertheless, wouldn't be better to have relative symbolic links? > > -- - > Makoto `MAR' Matsushita > - ______ _ * / /###\ / \ __ /\ /\ * / ./#### \ * \__|_/ | | / \/ \ | b#####| * _ | __ | | __ = .. \____ \ \_\#####/ / \| / \ | | /\_\/ = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ = \______/ _ | | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 23:40:42 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B88AF37B41F for ; Sat, 30 Mar 2002 23:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2V7e1R18166; Sat, 30 Mar 2002 23:40:01 -0800 (PST) (envelope-from gnats) Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 9355137B419 for ; Sat, 30 Mar 2002 23:37:48 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 52C62BD14 for ; Sat, 30 Mar 2002 23:37:48 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id XAA10810 for ; Sat, 30 Mar 2002 23:37:48 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g2V7a7n42910; Sat, 30 Mar 2002 23:36:07 -0800 (PST) (envelope-from swear@blarg.net) Message-Id: Date: 30 Mar 2002 23:36:07 -0800 From: "Gary W. Swearingen" Reply-To: swear@blarg.net To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/36564: fdisk(8) program has misplaced NOT_NOW block in write_s0. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36564 >Category: bin >Synopsis: fdisk(8) program has misplaced NOT_NOW block in write_s0. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 23:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gary W. Swearingen >Release: FreeBSD 4.5-STABLE i386 >Organization: none >Environment: n/a ================ >Description: The fdisk(8) program has a "ifdef NOT_NOW" block in write_s0 which is placed immediately after a "return -1;" statement (while another one is before "return(0)"). It seems highly likely that the block should be moved before the return statement, but I must admit that I have no idea how "NOT_NOW" is used. I'm assuming that the block's code is not now compiled; hence the low priority on the PR. ================ >How-To-Repeat: n/a ================ >Fix: From "$FreeBSD: src/sbin/i386/fdisk/fdisk.c,v 1.36.2.10 2002/01/02 23:12:41 iedowse Exp $" --- /usr/src/sbin/i386/fdisk/fdisk.c Sat Mar 2 15:58:41 2002 +++ /tmp/fdisk.c Sat Mar 30 23:31:00 2002 @@ -826,11 +826,11 @@ if (write_disk(sector, &mboot.bootinst[sector * secsize]) == -1) { warn("can't write fdisk partition table"); - return -1; #ifdef NOT_NOW flag = 0; (void) ioctl(fd, DIOCWLABEL, &flag); #endif + return -1; } #ifdef NOT_NOW flag = 0; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Mar 30 23:50: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 06D3237B41A for ; Sat, 30 Mar 2002 23:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2V7o2p19697; Sat, 30 Mar 2002 23:50:02 -0800 (PST) (envelope-from gnats) Date: Sat, 30 Mar 2002 23:50:02 -0800 (PST) Message-Id: <200203310750.g2V7o2p19697@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Poul-Henning Kamp Subject: Re: bin/36564: fdisk(8) program has misplaced NOT_NOW block in write_s0. Reply-To: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/36564; it has been noted by GNATS. From: Poul-Henning Kamp To: swear@blarg.net Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/36564: fdisk(8) program has misplaced NOT_NOW block in write_s0. Date: Sun, 31 Mar 2002 09:47:24 +0200 In message , "Gary W. Swearingen" writes: This was recently fixed in -current. -- 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-bugs" in the body of the message