From owner-freebsd-bugs Sun Jun 6 4: 8:38 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 62A6E14F32 for ; Sun, 6 Jun 1999 04:08:35 -0700 (PDT) (envelope-from andreasd@ifi.uio.no) Received: from skidbladnir.ifi.uio.no (3034@skidbladnir.ifi.uio.no [129.240.64.76]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id NAA17864 for ; Sun, 6 Jun 1999 13:08:34 +0200 (MET DST) Received: (from andreasd@localhost) by skidbladnir.ifi.uio.no ; Sun, 6 Jun 1999 13:08:34 +0200 (MET DST) To: bugs@freebsd.org Subject: Re: kern/10411: top, vmstat, iostat show 0% cpu idle & usage on SMP system References: From: Andreas Dobloug X-Newsreader: Gnus v5.5/Emacs 20.3 Date: 06 Jun 1999 13:08:33 +0200 In-Reply-To: Message-ID: Lines: 9 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * John Cottrell | The following reply was made to PR kern/10411; it has been noted by GNATS. | Date: Thu, 03 Jun 1999 18:28:54 +0100 | Still broken in release 3.2R (Asus P2B-D + 2 * Pentium II 350) Try downgrading you bios to rev 1.006. -- Andreas Dobloug : email: andreasd@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 4:20: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3951515172 for ; Sun, 6 Jun 1999 04:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA50859; Sun, 6 Jun 1999 04:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by hub.freebsd.org (Postfix) with ESMTP id E4C5814F32 for ; Sun, 6 Jun 1999 04:15:10 -0700 (PDT) (envelope-from nick.hibma@jrc.it) Received: from elpc36.jrc.it (elpc36.jrc.it [139.191.71.36]) by mrelay.jrc.it (LMC5692) with ESMTP id NAA25144 for ; Sun, 6 Jun 1999 13:15:07 +0200 (MET DST) Received: (from n_hibma@localhost) by elpc36.jrc.it (8.9.3/8.8.7) id NAA44376; Sun, 6 Jun 1999 13:13:45 +0200 (CEST) (envelope-from n_hibma) Message-Id: <199906061113.NAA44376@elpc36.jrc.it> Date: Sun, 6 Jun 1999 13:13:45 +0200 (CEST) From: n_hibma@freebsd.org Reply-To: n_hibma@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/12049: [PATCH] searching for closed reports requires two selections Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12049 >Category: misc >Synopsis: [PATCH] searching for closed reports requires two selections >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: Sun Jun 6 04:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Nick Hibma >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: Current web pages at www.freebsd.org http://www.freebsd.org/cgi/query-pr-summary.cgi?query >Description: You can select closed in the 'State:' field, but if you want to actually see the closed ones you have to select the button 'Closed reports too' at the bottom of the page. I suggest moving that button up to below the State: field. Maybe rename the button to 'Show closed reports too'. Other option is to include Closed reports automatically if someone asks for state 'Closed'. Both patches are included. Use the chunk you like. >How-To-Repeat: >Fix: n_hibma@freefall:cgi% cvs diff query-pr-summary.cgi Index: query-pr-summary.cgi =================================================================== RCS file: /home/ncvs/www/en/cgi/query-pr-summary.cgi,v retrieving revision 1.22 diff -u -r1.22 query-pr-summary.cgi --- query-pr-summary.cgi 1999/02/26 22:05:58 1.22 +++ query-pr-summary.cgi 1999/06/06 11:13:37 @@ -203,7 +203,8 @@ # [--list-categories] [--list-responsible] [--list-submitters] # [--text=text] [--multitext=mtext] [PR] [PR]... -$query_args .= " --skip-closed" unless $input{"closedtoo"}; +$query_args .= " --skip-closed" + unless $input{"closedtoo"} or $input{"state"} eq "closed"; # Only read the appropriate PR's. foreach ("category", "originator", "priority", "class", "responsible", @@ -509,7 +510,6 @@ - Sort by: +Closed reports too: + + Text in single-line fields: @@ -529,9 +532,6 @@ Originator: - -Closed reports too: - >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 Jun 6 5: 0: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id AFA4A14C27 for ; Sun, 6 Jun 1999 05:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA52056; Sun, 6 Jun 1999 05:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sun, 6 Jun 1999 05:00:02 -0700 (PDT) Message-Id: <199906061200.FAA52056@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Nick Hibma Subject: Re: gnu/9938: NetBSD *1.4* was not defined in mdoc macro(doc-syms). Reply-To: Nick Hibma Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR gnu/9938; it has been noted by GNATS. From: Nick Hibma To: freebsd-gnats-submit@freebsd.org, yohta@bsys.tsukuba.ac.jp, Bill Fenner Cc: Subject: Re: gnu/9938: NetBSD *1.4* was not defined in mdoc macro(doc-syms). Date: Sun, 06 Jun 1999 13:58:23 +0200 This problem seems to have been solved (I cannot access any repository but it looks like Bill's suggestion has been implemented). On a 4.0-CURRENT machine I get %man usbd ... HISTORY The usbd command appeared in NetBSD 1.4. Shall we close the PR? Nick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 5: 7:59 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2897B15030; Sun, 6 Jun 1999 05:07:58 -0700 (PDT) (envelope-from n_hibma@FreeBSD.org) Received: (from n_hibma@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA52619; Sun, 6 Jun 1999 05:07:58 -0700 (PDT) (envelope-from n_hibma@FreeBSD.org) Date: Sun, 6 Jun 1999 05:07:58 -0700 (PDT) From: Message-Id: <199906061207.FAA52619@freefall.freebsd.org> To: n_hibma@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: docs/9938: NetBSD *1.4* was not defined in mdoc macro(doc-syms). Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: NetBSD *1.4* was not defined in mdoc macro(doc-syms). State-Changed-From-To: open->closed State-Changed-By: n_hibma State-Changed-When: Sun Jun 6 05:04:13 PDT 1999 State-Changed-Why: Bill Fenner's e-mail address is invalid, so I assume that he does not mind if I take over this one. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 5:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EA36B15030 for ; Sun, 6 Jun 1999 05:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA53365; Sun, 6 Jun 1999 05:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sun, 6 Jun 1999 05:20:02 -0700 (PDT) Message-Id: <199906061220.FAA53365@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Nick Hibma Subject: Re: kern/11438: clueless how to discover my NE2000 clone IRQ / MemAddr Reply-To: Nick Hibma Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/11438; it has been noted by GNATS. From: Nick Hibma To: freebsd-gnats-submit@freebsd.org, efbatey@yahoo.com Cc: Subject: Re: kern/11438: clueless how to discover my NE2000 clone IRQ / MemAddr Date: Sun, 06 Jun 1999 14:13:32 +0200 possible approaches 1) Abuse Windows'95: use the hardware overview from the control panel to detect what hardware resources the device takes. 2) use many many lines in your kernel config to check for every possible location. An NE2000 card is often somewhere in the 280-360 range. Like this (this is for a 4.0 kernel, make sure you use lines which work for you): device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 device ed0 at isa? port 0x290 irq 10 iomem 0xd8000 device ed0 at isa? port 0x300 irq 10 iomem 0xd8000 device ed0 at isa? port 0x310 irq 10 iomem 0xd8000 device ed0 at isa? port 0x320 irq 10 iomem 0xd8000 reconfig the kernel, build, install and reboot and se what dmesg reports. Use the same approach for the irq (possible locations: 3,4,5,7,9,11,12,13) 3) Check the hardware itself by ripping open the box. Maybe it has the settings written onto it next to the dip switches. if that does not solve your problem, you might want to submit your question to the freebsd-questions mailing list or check the archives at http://www.egroups.com Hope this helps. (will close this PR) Nick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 5:20: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E17A15172 for ; Sun, 6 Jun 1999 05:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA53372; Sun, 6 Jun 1999 05:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sun, 6 Jun 1999 05:20:04 -0700 (PDT) Message-Id: <199906061220.FAA53372@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Tim Vanderhoek Subject: Re: misc/12044: having tcl.h in /usr/local/include:/usr/include hoses /usr/ports installations. Reply-To: Tim Vanderhoek Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/12044; it has been noted by GNATS. From: Tim Vanderhoek To: jga@cowboy.net Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/12044: having tcl.h in /usr/local/include:/usr/include hoses /usr/ports installations. Date: Sun, 6 Jun 1999 08:18:36 -0400 On Sat, Jun 05, 1999 at 07:32:14PM -0700, jga@cowboy.net wrote: > > If I install tcl/tk by hand from sources, or symlink tcl.h to > /usr/local/include or /usr/include, I cannot install anything from the > /usr/ports area, it says I have a old file that may cause problems, > shows me the file name and path wich is anything from tcl tk in > /usr/include. That's because you have an old file that may cause problems (yes, I know you installed it yourself). To ignore the error, do NOIGNORE=t make target -- This is my .signature which gets appended to the end of my messages. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 5:23: 1 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C453815030; Sun, 6 Jun 1999 05:23:00 -0700 (PDT) (envelope-from n_hibma@FreeBSD.org) Received: (from n_hibma@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA53495; Sun, 6 Jun 1999 05:23:00 -0700 (PDT) (envelope-from n_hibma@FreeBSD.org) Date: Sun, 6 Jun 1999 05:23:00 -0700 (PDT) From: Message-Id: <199906061223.FAA53495@freefall.freebsd.org> To: efbatey@yahoo.com, n_hibma@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/11438: clueless how to discover my NE2000 clone IRQ / MemAddr Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: clueless how to discover my NE2000 clone IRQ / MemAddr State-Changed-From-To: open->closed State-Changed-By: n_hibma State-Changed-When: Sun Jun 6 05:21:34 PDT 1999 State-Changed-Why: Submitter has been advised of an answer and been given other options for further asking. This is more or less not a PR anyway, more something that belongs in freebsd-questions. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 6:10: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 14028152BC for ; Sun, 6 Jun 1999 06:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA56286; Sun, 6 Jun 1999 06:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from slarti.muc.de (slarti.muc.de [193.149.48.10]) by hub.freebsd.org (Postfix) with SMTP id 50857151BB for ; Sun, 6 Jun 1999 06:01:19 -0700 (PDT) (envelope-from jhs@jhs.muc.de) Received: (qmail 16223 invoked from network); 6 Jun 1999 13:00:42 -0000 Received: from jhs.muc.de (193.149.49.84) by slarti.muc.de with SMTP; 6 Jun 1999 13:00:42 -0000 Received: (from jhs@localhost) by jhs.muc.de (8.9.3/8.9.3) id LAA06031; Sun, 6 Jun 1999 11:18:06 GMT (envelope-from jhs) Message-Id: <199906061118.LAA06031@jhs.muc.de> Date: Sun, 6 Jun 1999 11:18:06 GMT From: jhs@freebsd.org Reply-To: jhs@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/12050: No spare /sbin/init from fixit flop to copy over damaged one. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12050 >Category: conf >Synopsis: No /sbin/init on fixit flop >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 6 06:10:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Julian H. Stacey jhs@freebsd.org >Release: FreeBSD 3.2-RELEASE i386 >Organization: >Environment: Small machine, EG laptop in hotel, no spare hard discs, no cdrom drive, no ether/slip/plip network, Just the fixit floppy available, >Description: If /sbin/init is destroyed or corrupted, boot -s fails, you have no spare init to copy in, you are stuck ! >How-To-Repeat: chmod -x /sbin/init boot -s # Fail to boot off hard disc Boot with fixit floppy, mount your hard drives find / -name init -print chmod +x /sbin/init # to rescue yourself from the simulation Now think: "how could I copy in a new init if mine was damaged ?" >Fix: Ideally, put an /sbin/init on fixit floppy, but no space: tunefs -m 0 /dev/rfd0c df /dev/rfd0c # 72 K free cp /sbin/init /tmp gzip /tmp/init # 109 K maybe there's room on the 2nd boot disc was introduced with 3.2 ? Or maybe we should introduce a fixit.extras floppy ? I suspect other files might also be needed on there ? >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 Jun 6 10:50: 9 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 799DF15783 for ; Sun, 6 Jun 1999 10:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA39467; Sun, 6 Jun 1999 10:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from megaweapon.zigg.com (megaweapon.zigg.com [206.114.60.8]) by hub.freebsd.org (Postfix) with ESMTP id 817271548A for ; Sun, 6 Jun 1999 10:48:58 -0700 (PDT) (envelope-from matt@zigg.com) Received: from torgo.zigg.local (torgo.zigg.local [192.168.1.18]) by megaweapon.zigg.com (8.9.3/8.9.3) with ESMTP id NAA28448 for ; Sun, 6 Jun 1999 13:48:57 -0400 (EDT) (envelope-from matt@torgo.zigg.local) Received: (from matt@localhost) by torgo.zigg.local (8.9.3/8.9.3) id NAA00284; Sun, 6 Jun 1999 13:48:55 -0400 (EDT) (envelope-from matt) Message-Id: <199906061748.NAA00284@torgo.zigg.local> Date: Sun, 6 Jun 1999 13:48:55 -0400 (EDT) From: matt@zigg.com Reply-To: matt@zigg.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/12052: sh type builtin appends first path component to absolute result Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12052 >Category: bin >Synopsis: sh type builtin appends first path component to absolute result >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 6 10:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Matt Behrens >Release: FreeBSD 3.2-19990531-STABLE i386 >Organization: zigg.com >Environment: FreeBSD torgo.zigg.local 3.2-19990531-STABLE FreeBSD 3.2-19990531-STABLE #0: Fri Jun 4 09:08:13 EDT 1999 matt@torgo.zigg.local:/usr/src/sys/compile/TORGO i386 >Description: When using sh's `type' builtin on a file with an absolute path, the file is reported found with the user's first PATH component and a slash prepended. (Admittedly, it may be silly to use `type' on a file with an absolute path.) >How-To-Repeat: $ export PATH=/whatever $ type /COPYRIGHT COPYRIGHT is /whatever//COPYRIGHT >Fix: Unknown. Still learning 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 Sun Jun 6 11:20:11 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id AE48115626 for ; Sun, 6 Jun 1999 11:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA41325; Sun, 6 Jun 1999 11:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from static.maxwell.syr.edu (static.maxwell.syr.edu [128.230.129.177]) by hub.freebsd.org (Postfix) with ESMTP id B5A55151D4 for ; Sun, 6 Jun 1999 11:19:11 -0700 (PDT) (envelope-from cmsedore@static.maxwell.syr.edu) Received: (from cmsedore@localhost) by static.maxwell.syr.edu (8.9.3/8.9.3) id OAA13268; Sun, 6 Jun 1999 14:20:04 GMT (envelope-from cmsedore) Message-Id: <199906061420.OAA13268@static.maxwell.syr.edu> Date: Sun, 6 Jun 1999 14:20:04 GMT From: cmsedore@maxwell.syr.edu Reply-To: cmsedore@maxwell.syr.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/12053: patches for aio to improve socket io and add aio_waitcomplete() Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12053 >Category: kern >Synopsis: fixes a few aio bugs, makes socket io better, adds aio_waitcomplete >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: Sun Jun 6 11:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Christopher M Sedore >Release: FreeBSD 4.0-19990503-CURRENT i386 >Organization: >Environment: Patches should apply cleanly to -current. >Description: These patches fix a few minor functional bugs, though they also fix at least one race condition that would allow DOS (aio_process doesn't check to make sure the file descriptor hasn't been closed). In addition to the fixes, the patches change the way that aio on sockets is done. Rather than blocking an aiod in socket routines, this changes the way that queueing works so that an aiod is awakened when the socket is readable (sowakeup and struct socket are modified). Without this patch, the aio routines are not too useful for sockets since queueing 32 reads on sockets will block all the aio routines until one completes, effectively stalling all other pending requests. Some parameter changes were made to increase the number of aio requests allowed to be queued, and also to set the minimum number of aiods to be 4. Aiod's (up to the minimum number) are created the first time that a process using aio is run. It is necessary to have them running since the socket io routines cannot start up new processes. The syscall aio_waitcomplete was added (this is not part of any standard, it is of my own creation). This system call fills what I believe to be a void in aio routines, namely a way to hand off an aio request to the system, and then have the system hand it back. This eliminates the overhead of having to track all outstanding aio requests, and is MUCH more efficient that aio_suspend since you don't have to check out all the individual requests. This code has been tested fairly extensively on SMP and non-SMP kernels without incident. Performance-wise, it works very well and has little difficulty pushing 3-4 MB/sec. Simple benchmarking of aio_read()/aio_write paired with aio_waitcomplete() vs select() shows that aio routines perform better than select() when the number of file descriptors exceed about 38. In real-world applications, the advantage lies more in the ability to use async io to avoid lags in servicing sockets when doing disk io. >How-To-Repeat: You can expose some of the aio problems by opening a file, queueing a bunch of aio requests on the opened descriptor, and closing the file before the requests have a chance to complete. This should result in a panic. >Fix: *** /mnt/sup/current/src/sys/sys/aio.h Sun Jan 17 22:33:08 1999 --- sys/aio.h Mon May 3 20:36:47 1999 *************** *** 143,150 **** --- 143,174 ---- __END_DECLS #else + /* + * Job queue item + */ + + #define AIOCBLIST_CANCELLED 0x1 + #define AIOCBLIST_RUNDOWN 0x4 + #define AIOCBLIST_ASYNCFREE 0x8 + #define AIOCBLIST_DONE 0x10 + + struct aiocblist { + TAILQ_ENTRY (aiocblist) list; /* List of jobs */ + TAILQ_ENTRY (aiocblist) plist; /* List of jobs for proc */ + int jobflags; + int jobstate; + int inputcharge, outputcharge; + struct buf *bp; /* buffer pointer */ + struct proc *userproc; /* User process */ + struct aioproclist *jobaioproc; /* AIO process descriptor */ + struct aio_liojob *lio; /* optional lio job */ + struct aiocb *uuaiocb; /* pointer in userspace of aiocb */ + struct aiocb uaiocb; /* Kernel I/O control block */ + }; void aio_proc_rundown(struct proc *p); + + void aio_swake(struct socket *,struct sockbuf *); + int aio_waitcomplete(struct aiocb **,struct timespec *); #endif *** /mnt/sup/current/src/sys/sys/socketvar.h Sun Apr 4 21:41:28 1999 --- sys/socketvar.h Fri May 7 19:48:41 1999 *************** *** 80,85 **** --- 80,86 ---- struct sigio *so_sigio; /* information for async I/O or out of band data (SIGURG) */ u_long so_oobmark; /* chars to oob mark */ + TAILQ_HEAD(, aiocblist) so_aiojobq; /* AIO ops waiting on socket */ /* * Variables for socket buffering. */ *************** *** 102,107 **** --- 103,109 ---- #define SB_ASYNC 0x10 /* ASYNC I/O, need signals */ #define SB_UPCALL 0x20 /* someone wants an upcall */ #define SB_NOINTR 0x40 /* operations not interruptible */ + #define SB_AIO 0x80 /* AIO operations queued */ void (*so_upcall) __P((struct socket *, void *, int)); void *so_upcallarg; *************** *** 169,175 **** /* * Do we need to notify the other side when I/O is possible? */ ! #define sb_notify(sb) (((sb)->sb_flags & (SB_WAIT|SB_SEL|SB_ASYNC|SB_UPCALL)) != 0) /* * How much space is there in a socket buffer (so->so_snd or so->so_rcv)? --- 171,177 ---- /* * Do we need to notify the other side when I/O is possible? */ ! #define sb_notify(sb) (((sb)->sb_flags & (SB_WAIT|SB_SEL|SB_ASYNC|SB_UPCALL|SB_AIO)) != 0) /* * How much space is there in a socket buffer (so->so_snd or so->so_rcv)? *** /mnt/sup/current/src/sys/kern/syscalls.master Wed Apr 28 11:28:49 1999 --- kern/syscalls.master Mon May 3 20:42:14 1999 *************** *** 474,476 **** --- 474,477 ---- struct sf_hdtr *hdtr, off_t *sbytes, int flags); } 337 STD BSD { int kldsym(int fileid, int cmd, void *data); } 338 STD BSD { int jail(struct jail *jail); } + 339 STD BSD { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); } *** /mnt/sup/current/src/sys/kern/uipc_socket.c Fri May 7 23:15:45 1999 --- kern/uipc_socket.c Fri May 7 19:47:39 1999 *************** *** 93,98 **** --- 93,99 ---- bzero(so, sizeof *so); so->so_gencnt = ++so_gencnt; so->so_zone = socket_zone; + TAILQ_INIT(&so->so_aiojobq); } return so; } *** /mnt/sup/current/src/sys/kern/uipc_socket2.c Fri May 7 23:15:45 1999 --- kern/uipc_socket2.c Mon May 3 20:20:07 1999 *************** *** 47,52 **** --- 47,53 ---- #include #include #include + #include /* for aio_swake proto */ /* * Primitive routines for operating on sockets and socket buffers *************** *** 322,327 **** --- 323,331 ---- pgsigio(so->so_sigio, SIGIO, 0); if (sb->sb_flags & SB_UPCALL) (*so->so_upcall)(so, so->so_upcallarg, M_DONTWAIT); + if(sb->sb_flags & SB_AIO) { + aio_swake(so,sb); + } } /* *** /mnt/sup/current/src/sys/kern/vfs_aio.c Fri May 7 23:15:46 1999 --- kern/vfs_aio.c Fri May 7 20:01:41 1999 *************** *** 33,38 **** --- 36,43 ---- #include #include #include + #include + #include #include #include #include *************** *** 77,83 **** #endif #ifndef TARGET_AIO_PROCS ! #define TARGET_AIO_PROCS 0 #endif #ifndef MAX_BUF_AIO --- 82,88 ---- #endif #ifndef TARGET_AIO_PROCS ! #define TARGET_AIO_PROCS 4 #endif #ifndef MAX_BUF_AIO *************** *** 144,173 **** /* - * Job queue item - */ - - #define AIOCBLIST_CANCELLED 0x1 - #define AIOCBLIST_RUNDOWN 0x4 - #define AIOCBLIST_ASYNCFREE 0x8 - #define AIOCBLIST_DONE 0x10 - - struct aiocblist { - TAILQ_ENTRY (aiocblist) list; /* List of jobs */ - TAILQ_ENTRY (aiocblist) plist; /* List of jobs for proc */ - int jobflags; - int jobstate; - int inputcharge, outputcharge; - struct buf *bp; /* buffer pointer */ - struct proc *userproc; /* User process */ - struct aioproclist *jobaioproc; /* AIO process descriptor */ - struct aio_liojob *lio; /* optional lio job */ - struct aiocb *uuaiocb; /* pointer in userspace of aiocb */ - struct aiocb uaiocb; /* Kernel I/O control block */ - }; - - - /* * AIO process info */ #define AIOP_FREE 0x1 /* proc on free queue */ --- 149,154 ---- *************** *** 215,220 **** --- 196,202 ---- TAILQ_HEAD (,aiocblist) kaio_jobdone; /* done queue for process */ TAILQ_HEAD (,aiocblist) kaio_bufqueue; /* buffer job queue for process */ TAILQ_HEAD (,aiocblist) kaio_bufdone; /* buffer done queue for process */ + TAILQ_HEAD (,aiocblist) kaio_sockqueue; /* queue for aios waiting on sockets */ }; #define KAIO_RUNDOWN 0x1 /* process is being run down */ *************** *** 290,296 **** --- 272,282 ---- TAILQ_INIT(&ki->kaio_bufdone); TAILQ_INIT(&ki->kaio_bufqueue); TAILQ_INIT(&ki->kaio_liojoblist); + TAILQ_INIT(&ki->kaio_sockqueue); } + + while (num_aio_procsp_aioinfo; if (ki == NULL) return; --- 392,401 ---- struct kaioinfo *ki; struct aio_liojob *lj, *ljn; struct aiocblist *aiocbe, *aiocbn; ! struct file *fp; ! struct filedesc *fdp; ! struct socket *so; ! ki = p->p_aioinfo; if (ki == NULL) return; *************** *** 419,424 **** --- 408,442 ---- break; } + /* + * We move any aio ops that are waiting on socket io to the normal job + * queues so they are cleaned up with any others. + */ + + fdp=p->p_fd; + + s = splnet(); + for ( aiocbe = TAILQ_FIRST(&ki->kaio_sockqueue); + aiocbe; + aiocbe = aiocbn) { + aiocbn = TAILQ_NEXT(aiocbe, plist); + fp=fdp->fd_ofiles[aiocbe->uaiocb.aio_fildes]; + if (fp) { + so=(struct socket *)fp->f_data; + TAILQ_REMOVE(&so->so_aiojobq,aiocbe,list); + if (TAILQ_EMPTY(&so->so_aiojobq)) { + so->so_snd.sb_flags&=~SB_AIO; + so->so_rcv.sb_flags&=~SB_AIO; + } + } + TAILQ_REMOVE(&ki->kaio_sockqueue,aiocbe,plist); + TAILQ_INSERT_HEAD(&aio_jobs,aiocbe,list); + TAILQ_INSERT_HEAD(&ki->kaio_jobqueue,aiocbe,plist); + } + splx(s); + + + restart1: for ( aiocbe = TAILQ_FIRST(&ki->kaio_jobdone); aiocbe; *************** *** 491,505 **** static struct aiocblist * aio_selectjob(struct aioproclist *aiop) { ! struct aiocblist *aiocbe; aiocbe = TAILQ_FIRST(&aiop->jobtorun); if (aiocbe) { TAILQ_REMOVE(&aiop->jobtorun, aiocbe, list); return aiocbe; ! } ! for (aiocbe = TAILQ_FIRST(&aio_jobs); aiocbe; aiocbe = TAILQ_NEXT(aiocbe, list)) { --- 509,524 ---- static struct aiocblist * aio_selectjob(struct aioproclist *aiop) { ! int s; struct aiocblist *aiocbe; aiocbe = TAILQ_FIRST(&aiop->jobtorun); if (aiocbe) { TAILQ_REMOVE(&aiop->jobtorun, aiocbe, list); return aiocbe; ! } ! ! s=splnet(); for (aiocbe = TAILQ_FIRST(&aio_jobs); aiocbe; aiocbe = TAILQ_NEXT(aiocbe, list)) { *************** *** 511,519 **** --- 530,540 ---- if (ki->kaio_active_count < ki->kaio_maxactive_count) { TAILQ_REMOVE(&aio_jobs, aiocbe, list); + splx(s); return aiocbe; } } + splx(s); return NULL; } *************** *** 550,555 **** --- 571,582 ---- fd = cb->aio_fildes; fp = fdp->fd_ofiles[fd]; + if (fp==NULL) { + cb->_aiocb_private.error=EBADF; + cb->_aiocb_private.status=-1; + return; + } + aiov.iov_base = (void *) cb->aio_buf; aiov.iov_len = cb->aio_nbytes; *************** *** 588,593 **** --- 615,621 ---- cnt -= auio.uio_resid; cb->_aiocb_private.error = error; cb->_aiocb_private.status = cnt; + return; *************** *** 625,630 **** --- 653,660 ---- aiop->aioprocflags |= AIOP_FREE; TAILQ_INIT(&aiop->jobtorun); + s=splnet(); + /* * Place thread (lightweight process) onto the AIO free thread list */ *************** *** 632,637 **** --- 662,669 ---- wakeup(&aio_freeproc); TAILQ_INSERT_HEAD(&aio_freeproc, aiop, list); + splx(s); + /* * Make up a name for the daemon */ *************** *** 679,687 **** --- 711,721 ---- * Take daemon off of free queue */ if (aiop->aioprocflags & AIOP_FREE) { + s=splnet(); TAILQ_REMOVE(&aio_freeproc, aiop, list); TAILQ_INSERT_TAIL(&aio_activeproc, aiop, list); aiop->aioprocflags &= ~AIOP_FREE; + splx(s); } aiop->aioprocflags &= ~AIOP_SCHED; *************** *** 790,795 **** --- 824,831 ---- * the just finished I/O request into the done queue for the * associated client. */ + + s=splnet(); if (aiocbe->jobflags & AIOCBLIST_ASYNCFREE) { aiocbe->jobflags &= ~AIOCBLIST_ASYNCFREE; TAILQ_INSERT_HEAD(&aio_freejobs, aiocbe, list); *************** *** 799,804 **** --- 835,841 ---- TAILQ_INSERT_TAIL(&ki->kaio_jobdone, aiocbe, plist); } + splx(s); if (aiocbe->jobflags & AIOCBLIST_RUNDOWN) { wakeup(aiocbe); *************** *** 848,858 **** --- 885,897 ---- * If we are the first to be put onto the free queue, wakeup * anyone waiting for a daemon. */ + s=splnet(); TAILQ_REMOVE(&aio_activeproc, aiop, list); if (TAILQ_EMPTY(&aio_freeproc)) wakeup(&aio_freeproc); TAILQ_INSERT_HEAD(&aio_freeproc, aiop, list); aiop->aioprocflags |= AIOP_FREE; + splx(s); /* * If daemon is inactive for a long time, allow it to exit, thereby *************** *** 860,880 **** */ if (((aiop->aioprocflags & AIOP_SCHED) == 0) && tsleep(mycp, PRIBIO, "aiordy", aiod_lifetime)) { if ((TAILQ_FIRST(&aio_jobs) == NULL) && (TAILQ_FIRST(&aiop->jobtorun) == NULL)) { if ((aiop->aioprocflags & AIOP_FREE) && (num_aio_procs > target_aio_procs)) { TAILQ_REMOVE(&aio_freeproc, aiop, list); zfree(aiop_zone, aiop); num_aio_procs--; #if defined(DIAGNOSTIC) if (mycp->p_vmspace->vm_refcnt <= 1) printf("AIOD: bad vm refcnt for exiting daemon: %d\n", mycp->p_vmspace->vm_refcnt); ! #endif exit1(mycp, 0); } } } } } --- 899,922 ---- */ if (((aiop->aioprocflags & AIOP_SCHED) == 0) && tsleep(mycp, PRIBIO, "aiordy", aiod_lifetime)) { + s=splnet(); if ((TAILQ_FIRST(&aio_jobs) == NULL) && (TAILQ_FIRST(&aiop->jobtorun) == NULL)) { if ((aiop->aioprocflags & AIOP_FREE) && (num_aio_procs > target_aio_procs)) { TAILQ_REMOVE(&aio_freeproc, aiop, list); + splx(s); zfree(aiop_zone, aiop); num_aio_procs--; #if defined(DIAGNOSTIC) if (mycp->p_vmspace->vm_refcnt <= 1) printf("AIOD: bad vm refcnt for exiting daemon: %d\n", mycp->p_vmspace->vm_refcnt); ! #endif exit1(mycp, 0); } } + splx(s); } } } *************** *** 1141,1146 **** --- 1183,1232 ---- return (error); } + void + aio_swake(struct socket *so,struct sockbuf *sb) + { + struct aiocblist *cb,*cbn; + struct proc *p; + struct kaioinfo *ki=NULL; + int opcode,wakecount=0; + struct aioproclist *aiop; + + if (sb==&so->so_snd) { + opcode=LIO_WRITE; + so->so_snd.sb_flags&=~SB_AIO; + } else { + opcode=LIO_READ; + so->so_rcv.sb_flags&=~SB_AIO; + } + + for (cb=TAILQ_FIRST(&so->so_aiojobq);cb;cb=cbn) { + cbn=TAILQ_NEXT(cb,list); + if (opcode==cb->uaiocb.aio_lio_opcode) { + p=cb->userproc; + ki=p->p_aioinfo; + TAILQ_REMOVE(&so->so_aiojobq,cb,list); + TAILQ_REMOVE(&ki->kaio_sockqueue,cb,plist); + TAILQ_INSERT_TAIL(&aio_jobs,cb,list); + TAILQ_INSERT_TAIL(&ki->kaio_jobqueue,cb,plist); + wakecount++; + if (cb->jobstate!=JOBST_JOBQGLOBAL) + panic("invalid queue value"); + } + } + + while (wakecount--) { + if ((aiop = TAILQ_FIRST(&aio_freeproc)) != 0) { + TAILQ_REMOVE(&aio_freeproc, aiop, list); + TAILQ_INSERT_TAIL(&aio_activeproc, aiop, list); + aiop->aioprocflags &= ~AIOP_FREE; + wakeup(aiop->aioproc); + } + } + + } + + /* * Queue a new AIO request. Choosing either the threaded or direct physio * VCHR technique is done in this code. *************** *** 1151,1156 **** --- 1237,1244 ---- struct filedesc *fdp; struct file *fp; unsigned int fd; + struct socket *so; + int s; int error; int opcode; *************** *** 1269,1274 **** --- 1357,1392 ---- aiocbe->lio = lj; ki = p->p_aioinfo; + if (fp->f_type==DTYPE_SOCKET) { + + /* + * Alternate queueing for socket ops: We reach down into the descriptor + * to get the socket data. We then check to see if the socket is ready + * to be read or written (based on the requested operation). + * + * If it is not ready for io, then queue the aiocbe on the socket, + * and set the flags so we get a call when sbnotify() happens. + */ + so=(struct socket *)fp->f_data; + s=splnet(); + if (((opcode==LIO_READ) && (!soreadable(so))) || + ((opcode==LIO_WRITE) && (!sowriteable(so)))) { + TAILQ_INSERT_TAIL(&so->so_aiojobq,aiocbe,list); + TAILQ_INSERT_TAIL(&ki->kaio_sockqueue,aiocbe,plist); + if (opcode==LIO_READ) { + so->so_rcv.sb_flags|=SB_AIO; + } else { + so->so_snd.sb_flags|=SB_AIO; + } + aiocbe->jobstate = JOBST_JOBQGLOBAL; /* XXX */ + ki->kaio_queue_count++; + num_queue_count++; + splx(s); + return 0; + } + splx(s); + } + if ((error = aio_qphysio(p, aiocbe)) == 0) { return 0; } else if (error > 0) { *************** *** 1287,1294 **** --- 1405,1414 ---- if (lj) { lj->lioj_queue_count++; } + s=splnet(); TAILQ_INSERT_TAIL(&ki->kaio_jobqueue, aiocbe, plist); TAILQ_INSERT_TAIL(&aio_jobs, aiocbe, list); + splx(s); aiocbe->jobstate = JOBST_JOBQGLOBAL; num_queue_count++; *************** *** 1303,1308 **** --- 1423,1429 ---- * correct thing to do. */ retryproc: + s=splnet(); if ((aiop = TAILQ_FIRST(&aio_freeproc)) != NULL) { TAILQ_REMOVE(&aio_freeproc, aiop, list); TAILQ_INSERT_TAIL(&aio_activeproc, aiop, list); *************** *** 1319,1324 **** --- 1440,1446 ---- } num_aio_resv_start--; } + splx(s); return error; } *************** *** 1367,1377 **** jobref = fuword(&ujob->_aiocb_private.kernelinfo); if (jobref == -1 || jobref == 0) return EINVAL; ! for (cb = TAILQ_FIRST(&ki->kaio_jobdone); cb; cb = TAILQ_NEXT(cb, plist)) { if (((intptr_t) cb->uaiocb._aiocb_private.kernelinfo) == jobref) { if (ujob == cb->uuaiocb) { p->p_retval[0] = cb->uaiocb._aiocb_private.status; } else { --- 1489,1501 ---- jobref = fuword(&ujob->_aiocb_private.kernelinfo); if (jobref == -1 || jobref == 0) return EINVAL; ! ! s=splnet(); for (cb = TAILQ_FIRST(&ki->kaio_jobdone); cb; cb = TAILQ_NEXT(cb, plist)) { if (((intptr_t) cb->uaiocb._aiocb_private.kernelinfo) == jobref) { + splx(s); if (ujob == cb->uuaiocb) { p->p_retval[0] = cb->uaiocb._aiocb_private.status; } else { *************** *** 1388,1394 **** return 0; } } ! s = splbio(); for (cb = TAILQ_FIRST(&ki->kaio_bufdone); cb; --- 1512,1519 ---- return 0; } } ! splx(s); ! s = splbio(); for (cb = TAILQ_FIRST(&ki->kaio_bufdone); cb; *************** *** 1466,1471 **** --- 1591,1597 ---- ijoblist[njoblist] = fuword(&cbp->_aiocb_private.kernelinfo); njoblist++; } + if (njoblist == 0) { zfree(aiol_zone, ijoblist); zfree(aiol_zone, ujoblist); *************** *** 1565,1579 **** --- 1692,1710 ---- } } + s=splnet(); + for (cb = TAILQ_FIRST(&ki->kaio_jobqueue); cb; cb = TAILQ_NEXT(cb, plist)) { if (((intptr_t) cb->uaiocb._aiocb_private.kernelinfo) == jobref) { p->p_retval[0] = EINPROGRESS; + splx(s); return 0; } } + splx(s); s = splbio(); for (cb = TAILQ_FIRST(&ki->kaio_bufdone); *************** *** 2009,2011 **** --- 2140,2215 ---- } splx(s); } + + int + aio_waitcomplete(struct proc *p, struct aio_waitcomplete_args *uap) + { + struct timeval atv; + struct timespec ts; + struct aiocb **cbptr; + struct kaioinfo *ki; + struct aiocblist *cb=NULL; + int error, s, timo; + + timo = 0; + if (uap->timeout) { + /* + * Get timespec struct + */ + error = copyin((caddr_t) uap->timeout, (caddr_t) &ts, sizeof(ts)); + if (error) + return error; + + if ((ts.tv_nsec < 0) || (ts.tv_nsec >= 1000000000)) + return (EINVAL); + + TIMESPEC_TO_TIMEVAL(&atv, &ts); + if (itimerfix(&atv)) + return (EINVAL); + timo = tvtohz(&atv); + } + + ki = p->p_aioinfo; + if (ki == NULL) + return EAGAIN; + + cbptr = uap->aiocbp; + + while (1) { + if ((cb = TAILQ_FIRST(&ki->kaio_jobdone)) != 0) { + suword(uap->aiocbp,(int)cb->uuaiocb); + p->p_retval[0] = cb->uaiocb._aiocb_private.status; + if (cb->uaiocb.aio_lio_opcode == LIO_WRITE) { + curproc->p_stats->p_ru.ru_oublock += cb->outputcharge; + cb->outputcharge = 0; + } else if (cb->uaiocb.aio_lio_opcode == LIO_READ) { + curproc->p_stats->p_ru.ru_inblock += cb->inputcharge; + cb->inputcharge = 0; + } + aio_free_entry(cb); + return 0; + } + + s=splbio(); + if (( cb = TAILQ_FIRST(&ki->kaio_bufdone)) != 0 ) { + splx(s); + suword(uap->aiocbp,(int)cb->uuaiocb); + p->p_retval[0] = cb->uaiocb._aiocb_private.status; + aio_free_entry(cb); + return 0; + } + splx(s); + + ki->kaio_flags |= KAIO_WAKEUP; + error = tsleep(p, PRIBIO|PCATCH, "aiowc", timo); + + if (error < 0) { + return error; + } else if (error == EINTR) { + return EINTR; + } else if (error == EWOULDBLOCK) { + return EAGAIN; + } + } + } + >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 Jun 6 12:10: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CA37214C3A for ; Sun, 6 Jun 1999 12:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA44518; Sun, 6 Jun 1999 12:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.12.203]) by hub.freebsd.org (Postfix) with ESMTP id D2AB014DE7 for ; Sun, 6 Jun 1999 12:07:58 -0700 (PDT) (envelope-from mi@aldan.algebra.com) Received: from rtfm.newton (rtfm.newton [10.10.0.1]) by kot.ne.mediaone.net (8.9.1a/8.9.1) with ESMTP id PAA18716; Sun, 6 Jun 1999 15:07:19 -0400 (EDT) Received: (from root@localhost) by rtfm.newton (8.9.3/8.9.1) id PAA61797; Mon, 7 Jun 1999 15:10:11 -0400 (EDT) Message-Id: <199906071910.PAA61797@rtfm.newton> Date: Mon, 7 Jun 1999 15:10:11 -0400 (EDT) From: root@aldan.algebra.com Reply-To: mi@aldan.algebra.com To: FreeBSD-gnats-submit@freebsd.org Cc: dan@rn082110.mrs.umn.edu X-Send-Pr-Version: 3.2 Subject: bin/12054: explicit -ltermcap after -lncurses causes segfaults Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12054 >Category: bin >Synopsis: explicit -ltermcap after -lncurses causes segfaults >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 Jun 6 12:10:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 3.2-STABLE i386 >Organization: Virtual Estates, Inc. >Environment: >Description: The following link line: cc -Wall -g -pipe -L/usr/local/lib -o tsiag -L../siod \ -L../common -L../siag fonts.o forminput.o window.o \ selection.o tsiag.o -lsiag -lcommon -lsiod -lncurses -lcrypt \ -L/usr/local/lib -lguile -lreadline -lm -ltcl80 -lgdbm results in a runnable executable with the following libs: tsiag: libncurses.so.3 => /usr/lib/libncurses.so.3 (0x280a9000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280ba000) libguile.so.4 => /usr/local/lib/libguile.so.4 (0x280bd000) libreadline.so.3 => /usr/lib/libreadline.so.3 (0x2811b000) libm.so.2 => /usr/lib/libm.so.2 (0x2813d000) libtcl80.so => /usr/local/lib/libtcl80.so (0x28157000) libc.so.3 => /usr/lib/libc.so.3 (0x281b9000) libmytinfo.so.2 => /usr/lib/libmytinfo.so.2 (0x28239000) libtermcap.so.2 => /usr/lib/libtermcap.so.2 (0x2824f000) If I explicitly add -ltermcap to the link-line (this library is requested by ncurses), which should NOT do any harm, the ldd's output is slightly different: tsiag: libncurses.so.3 => /usr/lib/libncurses.so.3 (0x280a9000) libtermcap.so.2 => /usr/lib/libtermcap.so.2 (0x280ba000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280bf000) libguile.so.4 => /usr/local/lib/libguile.so.4 (0x280c2000) libreadline.so.3 => /usr/lib/libreadline.so.3 (0x28120000) libtcl80.so => /usr/local/lib/libtcl80.so (0x28142000) libm.so.2 => /usr/lib/libm.so.2 (0x281a4000) libc.so.3 => /usr/lib/libc.so.3 (0x281be000) libmytinfo.so.2 => /usr/lib/libmytinfo.so.2 (0x2823e000) and the executable dies on start-up: Program received signal SIGSEGV, Segmentation fault. 0x0 in ?? () (gdb) where #0 0x0 in ?? () #1 0x280bc1c6 in tputs () from /usr/lib/libtermcap.so.2 #2 0x28245e90 in putp () from /usr/lib/libmytinfo.so.2 #3 0x280b6340 in curs_set () from /usr/lib/libncurses.so.3 #4 0x280afd63 in leaveok () from /usr/lib/libncurses.so.3 #5 0x804e5c5 in new_ncurses () at window.c:617 #6 0x804e7c6 in init_windows (b=0x8145000, argc=0xbfbfd70c, argv=0xbfbfd80c) at window.c:701 #7 0x8060baf in realmain (argc=1, argv=0xbfbfd80c) at main.c:147 #8 0x280ead7f in gh_launch_pad () from /usr/local/lib/libguile.so.4 #9 0x280ecef2 in invoke_main_func () from /usr/local/lib/libguile.so.4 #10 0x2810f8d3 in scm_internal_lazy_catch () from /usr/local/lib/libguile.so.4 #11 0x280eceae in scm_boot_guile_1 () from /usr/local/lib/libguile.so.4 #12 0x280ecc65 in scm_boot_guile () from /usr/local/lib/libguile.so.4 #13 0x280eadad in gh_enter () from /usr/local/lib/libguile.so.4 #14 0x8060db1 in main (argc=1, argv=0xbfbfd80c) at main.c:203 #15 0x804ba25 in _start () >How-To-Repeat: I'm trying to update the math/siag port to the latest Siag-3.1.16, but you can probably reproduce this with anything that uses ncurses. I do not believe this to be Siag's problem -- the -ltermcap is redundant but should be harmless, AFAIK. >Fix: Do NOT use the explicit -ltermcap, but this _may_ break some Makefiles, which do this for compatability with other systems. >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 Jun 6 12:17:34 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from laser.1sourcesolutions.com (1sourcesolutions.com [209.63.182.72]) by hub.freebsd.org (Postfix) with ESMTP id 5DC6C151D7 for ; Sun, 6 Jun 1999 12:17:31 -0700 (PDT) (envelope-from ecotechusa@yahoo.com) Received: from alserrenu (1SSPRES [195.105.15.8]) by laser.1sourcesolutions.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3) id LGM288CV; Sun, 6 Jun 1999 12:04:55 -0700 To: freebsd-bugs@FreeBSD.ORG From: "Ecotech Technologies, L.L.C." Date: Sun, 6 Jun 99 12:12:36 -0700 Subject: International Business Opportunities X-Mailer: alserrenu Message-Id: <19990606191731.5DC6C151D7@hub.freebsd.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ECOTECH TECHNOLOGIES, L.L.C. 4001 E., Broadway Road, Suite 7, Phoenix, AZ 85040, USA Tel: (602) 437 8000, Fax: (602) 437 4033 E-mail: ecotechusa@yahoo.com http://www.ecotechindia.com Dear Sir, Sub: Your Partner for Development of International Business Ecotech Technologies, L.L.C., Phoenix, USA is a subsidiary of principal company Ecotech Marketing who has been established for 7 years in International Business Development and committed to promote cleaner technologies and projects. It promotes technologies, projects, products and equipments/machinery. Our business network covers India, Oman, UAE and Egypt. To promote your products we developed a team of professionals. The team is unique mix of technical and commercial personnel from various institutes and industries. Whether you are interested in licensing your technology or looking for establishing a joint venture or your own subsidiary or offering a turnkey project, we can provide you complete services from concept to implementation level. We provide services like market research and opportunity assessment study, feasibility study, project analysis, statutory services and supervision of implementation of project. We have been trying to promote more and more sustainable and eco-friendly technologies and we are committed to it. India is one of the fastest growing and largest economy, a democratic country with very optimistic program to implement sustainable manufacturing projects and one of the leading countries who has implemented largest number of projects. You have a concept, technology or product, and we have the professional experiences to take you to international. Sincerely Bimal Das To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 13: 0: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DC8D614F25 for ; Sun, 6 Jun 1999 13:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA48404; Sun, 6 Jun 1999 13:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.12.203]) by hub.freebsd.org (Postfix) with ESMTP id 3665E15606 for ; Sun, 6 Jun 1999 12:52:12 -0700 (PDT) (envelope-from mi@aldan.algebra.com) Received: from rtfm.newton (rtfm.newton [10.10.0.1]) by kot.ne.mediaone.net (8.9.1a/8.9.1) with ESMTP id PAA18867; Sun, 6 Jun 1999 15:50:45 -0400 (EDT) Received: (from root@localhost) by rtfm.newton (8.9.3/8.9.1) id PAA72012; Mon, 7 Jun 1999 15:53:37 -0400 (EDT) Message-Id: <199906071953.PAA72012@rtfm.newton> Date: Mon, 7 Jun 1999 15:53:37 -0400 (EDT) From: root@aldan.algebra.com Reply-To: mi@aldan.algebra.com To: FreeBSD-gnats-submit@freebsd.org Cc: dread@donhm.calcasieu.com X-Send-Pr-Version: 3.2 Subject: bin/12058: does not declare some implemented functions Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12058 >Category: bin >Synopsis: does not declare some implemented functions >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 Jun 6 13:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 3.2-STABLE i386 >Organization: Virtual Estates, Inc. >Environment: >Description: The functions are implemented, but not declared. There could be more :) int dbm_error(DBM *); int dbm_clearerr(DBM *); >How-To-Repeat: >Fix: Declare them yourself... >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 Jun 6 14: 0: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6C41E15085 for ; Sun, 6 Jun 1999 14:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA52394; Sun, 6 Jun 1999 14:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 7256314C1F; Sun, 6 Jun 1999 13:51:57 -0700 (PDT) Message-Id: <19990606205157.7256314C1F@hub.freebsd.org> Date: Sun, 6 Jun 1999 13:51:57 -0700 (PDT) From: wacky@sonic.soniclink.net To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/12060: When I had freebsd 3.1 my ftp would freeze and the speed would keep going down until it stoped sending files until you reconnected and tryed to upload again teh same with with download. I currently upgraded to Freebsd 3.2 and it is giveing me th Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12060 >Category: misc >Synopsis: When I had freebsd 3.1 my ftp would freeze and the speed would keep going down until it stoped sending files until you reconnected and tryed to upload again teh same with with download. I currently upgraded to Freebsd 3.2 and it is giveing me >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 6 14:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Mike Hathaway >Release: Freebsd3.1 upgraded to Freebsd 3.2 >Organization: Shell/Webhosting server >Environment: sonic$ uname -a FreeBSD sonic.soniclink.net 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Tue May 23 17:31:59 EDT 2000 root@sonic.soniclink.net:/usr/src/sys/compile/SONICLINK i386 sonic$ >Description: Ftp keeps freezeing when your uploading or downloading. I admin a shell server and it is hard for me cause users are complaining. Even the owner lol. Im tech support and I have no idea why. I have no firewalls running. Can u please help me or tell me about a patch that might be availble thanxs. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: the same problem. I cant find any problem reports on it. Can u please help me?? I have a lot of users complaing about it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 15:55:18 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6F87114D08; Sun, 6 Jun 1999 15:55:17 -0700 (PDT) (envelope-from steve@FreeBSD.org) Received: (from steve@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA59774; Sun, 6 Jun 1999 15:55:17 -0700 (PDT) (envelope-from steve@FreeBSD.org) Date: Sun, 6 Jun 1999 15:55:17 -0700 (PDT) From: Message-Id: <199906062255.PAA59774@freefall.freebsd.org> To: dancy@franz.com, steve@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/5661: /sbin/dump never finishes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: /sbin/dump never finishes State-Changed-From-To: open->closed State-Changed-By: steve State-Changed-When: Sun Jun 6 15:54:47 PDT 1999 State-Changed-Why: Closed at maintainer's request. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 15:56:19 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 258F914D08; Sun, 6 Jun 1999 15:56:18 -0700 (PDT) (envelope-from steve@FreeBSD.org) Received: (from steve@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA59862; Sun, 6 Jun 1999 15:56:18 -0700 (PDT) (envelope-from steve@FreeBSD.org) Date: Sun, 6 Jun 1999 15:56:18 -0700 (PDT) From: Message-Id: <199906062256.PAA59862@freefall.freebsd.org> To: bill@duchess.wagill.com, steve@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/2556: Patch for calendar.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Patch for calendar.c State-Changed-From-To: open->closed State-Changed-By: steve State-Changed-When: Sun Jun 6 15:55:54 PDT 1999 State-Changed-Why: Closed at originator's request. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 16:20: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1237014D3D for ; Sun, 6 Jun 1999 16:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA61429; Sun, 6 Jun 1999 16:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from slarti.muc.de (slarti.muc.de [193.149.48.10]) by hub.freebsd.org (Postfix) with SMTP id DA7AA14BD4 for ; Sun, 6 Jun 1999 16:14:12 -0700 (PDT) (envelope-from jhs@jhs.muc.de) Received: (qmail 28667 invoked from network); 6 Jun 1999 23:13:32 -0000 Received: from jhs.muc.de (193.149.49.84) by slarti.muc.de with SMTP; 6 Jun 1999 23:13:32 -0000 Received: (from jhs@localhost) by jhs.muc.de (8.9.3/8.9.3) id XAA03419; Sun, 6 Jun 1999 23:02:19 GMT (envelope-from jhs) Message-Id: <199906062302.XAA03419@jhs.muc.de> Date: Sun, 6 Jun 1999 23:02:19 GMT From: "Julian H. Stacey Jhs@jhs.muc.de Jhs" Reply-To: jhs@freebsd.org To: FreeBSD-gnats-submit@freebsd.org Cc: nclayton@lehman.com, stuart@jhs.muc.de, gary@jhs.muc.de X-Send-Pr-Version: 3.2 Subject: kern/12062: sa tape driver with Cipher 60M SCSI QIC tape drive on 3.2 is droping last 10K block. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12062 >Category: kern >Synopsis: sa tape driver with Cipher 60M SCSI QIC tape drive on 3.2 is droping last 10K block. >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 Jun 6 16:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Julian H. Stacey jhs@jhs.muc.de >Release: FreeBSD 3.2-RELEASE i386 >Organization: >Environment: - >Description: I had intended to file a bland Category: docs "please add to docu that this drive still works on 3.2" But Not So It seems the driver software has been srambled, & last blocks are dropped on write ! Cipher tape drive Model 540 (Capacity: QIC 45M 60M tapes, Interface: SCSI 1) dmesg reports it as: Jun 6 18:48:17 wall /kernel: sa0 at aha0 bus 0 target 3 lun 0 Jun 6 18:48:17 wall /kernel: sa0: < > Removable Sequential Access SCSI-CCS device Jun 6 18:48:17 wall /kernel: sa0: 3.300MB/s transfers It started to read a tape OK, that I created 1996.01.16 on BSD (but I got impatient & didnt read whole tape, as I control C'd it, as I thought I was just verifying then) On writing a 7.7M directory with tar cvf /dev/rsa0 . at end it reported tar: only wrote 0 of 10240 bytes to /dev/rsa0 On reading same tape tar: Unexpected EOF on archive file On comparing directories, last file was different, to compare directories I used find . -type f -exec cmpd -d -v {} ../../public_html \; ( cmpd.c is written by me (compare & delete), available on http://www.freebsd.org/~jhs/src/bsd/jhs/bin/public/cmpd/ ) Historical note: This is one of the same drive type I had listed as working in From: burgess@hrd769.brooks.af.mil (Dave Burgess) Date: 13 Jan 1994 06:00:46 -0000 Newsgroups: comp.os.386bsd.announce,comp.answers,news.answers Subject: [comp.os.386bsd] BNR/2 derived BSD for PCs FAQ (Part 9 of 10) Message-ID: <386bsd-faq-9-758440818@hrd769.brooks.af.mil> Archive-name: 386bsd-faq/part9 >How-To-Repeat: I do not know if this problem materialises on other drives & densities, I have others (Tandberg & Prime 60M ) & will try them, didn't notice this on my Tandberg 525M drive. >Fix: Driver software needs fixing, meantime: Always append 10K of garbage file as last item in a tar write (this is the same horrible trick I used many years ago, that became un-necessary years ago, & now is back again - Uugh ! :-) >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 Jun 6 16:40: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 12E68150AD for ; Sun, 6 Jun 1999 16:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA62592; Sun, 6 Jun 1999 16:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sun, 6 Jun 1999 16:40:03 -0700 (PDT) Message-Id: <199906062340.QAA62592@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Matthew Jacob Subject: Re: kern/12062: sa tape driver with Cipher 60M SCSI QIC tape drive on 3.2 is droping last 10K block. Reply-To: Matthew Jacob Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/12062; it has been noted by GNATS. From: Matthew Jacob To: jhs@FreeBSD.ORG Cc: FreeBSD-gnats-submit@FreeBSD.ORG, nclayton@lehman.com, stuart@jhs.muc.de, gary@jhs.muc.de Subject: Re: kern/12062: sa tape driver with Cipher 60M SCSI QIC tape drive on 3.2 is droping last 10K block. Date: Sun, 6 Jun 1999 16:36:34 -0700 (PDT) This PR does not have sufficient information to find out what is actually going on. The same command works fine on some other QIC drives. The sa(4) man page *does* warn you about older devices... This one is *really* old- it looks looks like it doesn't have any parseable inquiry data- and I rather suspect that it's failing because it's trying to write two filemarks and is blowing chunks because of this. Because this drive doesn't report INQUIRY data to correctly quirk it sufficiently to try and write only one filemark- although you can try. You can also try and comment out these lines: /* * Default to old FreeBSD behaviour of 2 filemarks * at EOD for all (except QIC) devices. */ #ifndef SA_2FM_AT_EOD #define SA_2FM_AT_EOD 1 #endif and see what happens. Also you can try the recently updated driver/mt commands that have the 'seteotmodel' ioctl to try and make sure that attempts to write closing filemarks only write one filemark. > > - > > >Description: > > I had intended to file a bland > Category: docs > "please add to docu that this drive still works on 3.2" > But Not So > It seems the driver software has been srambled, & last blocks are dropped on write ! > > Cipher tape drive Model 540 (Capacity: QIC 45M 60M tapes, Interface: SCSI 1) > > dmesg reports it as: > Jun 6 18:48:17 wall /kernel: sa0 at aha0 bus 0 target 3 lun 0 > Jun 6 18:48:17 wall /kernel: sa0: < > Removable Sequential Access SCSI-CCS device > Jun 6 18:48:17 wall /kernel: sa0: 3.300MB/s transfers > > It started to read a tape OK, that I created 1996.01.16 on BSD > (but I got impatient & didnt read whole tape, as I control C'd it, > as I thought I was just verifying then) > > On writing a 7.7M directory with tar cvf /dev/rsa0 . at end it reported > tar: only wrote 0 of 10240 bytes to /dev/rsa0 > On reading same tape > tar: Unexpected EOF on archive file > On comparing directories, last file was different, > to compare directories I used > find . -type f -exec cmpd -d -v {} ../../public_html \; > ( cmpd.c is written by me (compare & delete), available on > http://www.freebsd.org/~jhs/src/bsd/jhs/bin/public/cmpd/ ) > > Historical note: This is one of the same drive type I had listed as working in > From: burgess@hrd769.brooks.af.mil (Dave Burgess) > Date: 13 Jan 1994 06:00:46 -0000 > Newsgroups: comp.os.386bsd.announce,comp.answers,news.answers > Subject: [comp.os.386bsd] BNR/2 derived BSD for PCs FAQ (Part 9 of 10) > Message-ID: <386bsd-faq-9-758440818@hrd769.brooks.af.mil> > > Archive-name: 386bsd-faq/part9 > > >How-To-Repeat: > > I do not know if this problem materialises on other drives & densities, I have others > (Tandberg & Prime 60M ) & will try them, didn't notice this on my Tandberg 525M drive. > > >Fix: > Driver software needs fixing, meantime: > Always append 10K of garbage file as last item in a tar write > (this is the same horrible trick I used many years ago, that became > un-necessary years ago, & now is back again - Uugh ! :-) > > >Release-Note: > >Audit-Trail: > >Unformatted: > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 19:14: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from ns.krsn.ru (unknown [195.161.70.253]) by hub.freebsd.org (Postfix) with ESMTP id 0B93D155DB for ; Sun, 6 Jun 1999 19:13:59 -0700 (PDT) (envelope-from ilia@krsn.ru) Received: from krsn.ru ([192.168.70.100]) by ns.krsn.ru (8.9.3/8.8.8) with ESMTP id KAA13989 for ; Mon, 7 Jun 1999 10:22:58 +0800 (KRSS) (envelope-from ilia@krsn.ru) Message-ID: <375A1281.E304E98A@krsn.ru> Date: Sun, 06 Jun 1999 13:17:37 +0700 From: Ilia Dreytser X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: ru,en MIME-Version: 1.0 Cc: freebsd-bugs@FreeBSD.ORG Subject: (no subject) References: <199906041120.EAA72389@freefall.freebsd.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org unsubscribe freebsd-bugs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jun 6 20:20: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 051E214EE8 for ; Sun, 6 Jun 1999 20:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA85278; Sun, 6 Jun 1999 20:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 95F15155C8; Sun, 6 Jun 1999 20:13:42 -0700 (PDT) Message-Id: <19990607031342.95F15155C8@hub.freebsd.org> Date: Sun, 6 Jun 1999 20:13:42 -0700 (PDT) From: wacky@sonic.soniclink.net To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/12067: System reboots without giveing panic or logging it. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12067 >Category: kern >Synopsis: System reboots without giveing panic or logging it. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 6 20:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Mike Hathaway >Release: FreeBSD 3.2 >Organization: Shells/web hosting >Environment: sonic$ uname -a FreeBSD sonic.soniclink.net 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Tue May 23 17:31:59 EDT 2000 root@sonic.soniclink.net:/usr/src/sys/compile/SONICLINK i386 sonic$ >Description: Well when I was picoing a file a users eggdrop.conf my telnet frozed. So i thought it was a dos attack witch when I re telneted 5 mins later the box was up and i typed uptime and it said 3mins. I pico'ed the logs and did grep root /var/log/messages. I picoed everything that it would log it to. It didnt have anything about anybody doing the reboot command it didnt say any errors or kernel panics. But before it rebooted I got something about a icmp. Please tell me what might be wrong because im keeping with FreeBSD3.2. It just reboots without giveing any msgs at all and I have no reason why. >How-To-Repeat: Dont know >Fix: none >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 Mon Jun 7 0:50: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9E0F614FE1 for ; Mon, 7 Jun 1999 00:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA12908; Mon, 7 Jun 1999 00:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 7 Jun 1999 00:50:02 -0700 (PDT) Message-Id: <199906070750.AAA12908@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Gregory Bond Subject: Re: kern/12019: Getting Error Can't Assign requested address while using UDP Reply-To: Gregory Bond Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/12019; it has been noted by GNATS. From: Gregory Bond To: freebsd-gnats-submit@freebsd.org, jainp@accsoft.com.au Cc: Subject: Re: kern/12019: Getting Error Can't Assign requested address while using UDP Date: Mon, 07 Jun 1999 17:42:26 +1000 > cln_addr.sin_addr.s_addr = inet_addr(INADDR_ANY); After trying this as cln_addr.sin_addr.s_addr = INADDR_ANY; Pawan reports that his test program works. The PR can be closed. Greg, Not a comitter! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 0:59:18 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A280152E2; Mon, 7 Jun 1999 00:58:49 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: (from ru@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA13478; Mon, 7 Jun 1999 00:58:49 -0700 (PDT) (envelope-from ru@FreeBSD.org) Date: Mon, 7 Jun 1999 00:58:49 -0700 (PDT) From: Message-Id: <199906070758.AAA13478@freefall.freebsd.org> To: dirk.meyer@dinoex.sub.org, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/6574: ipfw crash with DIAGANOSTICS Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ipfw crash with DIAGANOSTICS State-Changed-From-To: feedback->closed State-Changed-By: ru State-Changed-When: Mon Jun 7 00:58:00 PDT 1999 State-Changed-Why: Originator said: No, the 3.2-Release I installed yesterday did not sho this problem any more. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 1:54:37 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 44DA914CD1; Mon, 7 Jun 1999 01:54:36 -0700 (PDT) (envelope-from bde@FreeBSD.org) Received: (from bde@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA19865; Mon, 7 Jun 1999 01:54:36 -0700 (PDT) (envelope-from bde@FreeBSD.org) Date: Mon, 7 Jun 1999 01:54:36 -0700 (PDT) From: Message-Id: <199906070854.BAA19865@freefall.freebsd.org> To: sobomax@altavista.net, bde@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/11736: On fast machines kernel reports negative i586_bzero bandwith values due to datatype overflow Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: On fast machines kernel reports negative i586_bzero bandwith values due to datatype overflow State-Changed-From-To: open->analyzed State-Changed-By: bde State-Changed-When: Mon Jun 7 01:50:24 PDT 1999 State-Changed-Why: I believe that the problem is actually caused by using SMP or APM. Then microtime() doesn't work right when it is called early in timezero(). It still works on fast machines (ones that have bzero() and i586_bzero() bandwidths > 10^8 bytes/sec). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 6:30: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1685C15149 for ; Mon, 7 Jun 1999 06:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA44502; Mon, 7 Jun 1999 06:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mail.palmerharvey.co.uk (mail.palmerharvey.co.uk [62.172.109.58]) by hub.freebsd.org (Postfix) with ESMTP id D04EF14BD7; Mon, 7 Jun 1999 06:29:11 -0700 (PDT) (envelope-from Dom.Mitchell@palmerharvey.co.uk) Received: from ho-nt-01.pandhm.co.uk (unverified) by mail.palmerharvey.co.uk (Content Technologies SMTPRS 2.0.15) with ESMTP id ; Mon, 07 Jun 1999 14:28:26 +0100 Received: from voodoo.pandhm.co.uk (VOODOO [10.100.35.12]) by ho-nt-01.pandhm.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id MKM83JVB; Mon, 7 Jun 1999 14:20:35 +0100 Received: from dom by voodoo.pandhm.co.uk with local (Exim 2.10 #1) id 10qzX6-000B4p-00; Mon, 7 Jun 1999 14:33:44 +0100 Message-Id: Date: Mon, 7 Jun 1999 14:33:44 +0100 From: Dom Mitchell Reply-To: Dom.Mitchell@palmerharvey.co.uk To: FreeBSD-gnats-submit@freebsd.org Cc: pst@FreeBSD.org, lukem@netbsd.org X-Send-Pr-Version: 3.2 Subject: bin/12070: FTP_PASSIVE_MODE exposes bug in ftp(1). Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12070 >Category: bin >Synopsis: FTP_PASSIVE_MODE exposes bug in ftp(1). >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 7 06:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Dominic Mitchell >Release: FreeBSD 4.0-CURRENT i386 >Organization: Palmer & Harvey McLane Ltd. >Environment: FreeBSD voodoo.pandhm.co.uk 4.0-CURRENT FreeBSD 4.0-CURRENT #15: Thu Jun 3 08:51:09 BST 1999 root@voodoo.pandhm.co.uk:/usr/src/sys/compile/VOODOO i386 >Description: Since we have enabled FTP_PASSIVE_MODE in /etc/login.conf, my gate-ftp no longer works properly. It starts in non-gate mode even when called as gate-ftp. I've CC'd pst@freebsd.org as the last person to check in a change to ftp(1), and also lukem@netbsd.org as the original author. >How-To-Repeat: You can demonstrate the problem fairly easily: % env FTPSERVER=ftp-gw gate-ftp ftp> status Not connected. No proxy connection. Gate ftp: off, server ftp-gw, port 21. ^^^ Passive mode: on. Mode: ; Type: ; Form: ; Structure: . Verbose: on; Bell: off; Prompting: on; Globbing: on. Store unique: off; Receive unique: off. Preserve modification times: on. Case: off; CR stripping: on. Ntrans: off. Nmap: off. Hash mark printing: off; Mark count: 1024; Progress bar: on. Use of PORT cmds: on. Command line editing: on. >Fix: Apply this patch in /usr/src/usr.bin/ftp: --- main.c.orig Mon Jun 7 14:20:36 1999 +++ main.c Mon Jun 7 14:21:19 1999 @@ -131,7 +131,9 @@ cp = strrchr(argv[0], '/'); cp = (cp == NULL) ? argv[0] : cp + 1; - if (getenv("FTP_PASSIVE_MODE") || strcmp(cp, "pftp") == 0) + if (getenv("FTP_PASSIVE_MODE")) + passivemode = 1; + if (strcmp(cp, "pftp") == 0) passivemode = 1; else if (strcmp(cp, "gate-ftp") == 0) gatemode = 1; -- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ********************************************************************** >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 Mon Jun 7 6:40: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 737BE14D97 for ; Mon, 7 Jun 1999 06:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA45483; Mon, 7 Jun 1999 06:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from shirt.www.demon.net (shirt.www.demon.net [212.240.58.2]) by hub.freebsd.org (Postfix) with ESMTP id D570614D97 for ; Mon, 7 Jun 1999 06:37:54 -0700 (PDT) (envelope-from fanf@shirt.www.demon.net) Received: (from fanf@localhost) by shirt.www.demon.net (8.9.3/8.9.3) id NAA32673; Mon, 7 Jun 1999 13:37:08 GMT (envelope-from fanf) Message-Id: <199906071337.NAA32673@shirt.www.demon.net> Date: Mon, 7 Jun 1999 13:37:08 GMT From: fanf@demon.net Reply-To: fanf@demon.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/12071: [PATCH] large scale IP aliasing Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12071 >Category: kern >Synopsis: [PATCH] large scale IP aliasing >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: Mon Jun 7 06:40:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Tony Finch >Release: FreeBSD 3.2-STABLE-19990601 i386 >Organization: Demon Internet Ltd. >Environment: patch applies to versions of FreeBSD since 3.1 >Description: The NETALIAS patch makes it feasible to have a very large number of IP addresses on one box by making it possible to configure a CIDR network block onto an interface in one go. The additional NETBIND feature allows a program to bind a socket to one of these network aliases. The patch should be applied to a FreeBSD system with the command patch -p0 < netalias-netbind.patch You need to add ``options NETALIAS'' and ``options NETBIND'' to the kernel configuration file and recompile the kernel. You also need to recompile any userland utilities that depend on struct inpcb, in particular systat, netstat, and fstat (and also ipfilter). This can be done with (for example) cd /usr/src/usr.bin/systat make all install clean This must be done even if you only use the NETALIAS functionality because struct inpcb is changed unconditionally. You don't need to do any special compile-time definitions. After rebooting, network aliases can be configured as follows: ifconfig lo0 inet 192.168.0.0 netmask 255.255.0.0 alias Commentary: The NETALIAS patch has four components: (1) A change to ifa_ifwithaddr() in net/if.c that allows an address to match an alias on an interface if the alias is a network address (i.e. zero outside the netmask) and the address is within the network (i.e. equal to the alias when masked by the netmask). (2) A change to netinet/ip_input.c that allows destination addresses on input packets to match a netaliased interface. (This is simpler than the change to if.c because it does not nead to deal with the general form of struct sockaddr.) (3) A similar change to icmp_reflect() in netinet/ip_icmp.c that makes ping work with netalias. (4) A couple of changes to netinet/in.c that makes the automatic addition and deletion of routes work by loosening the assumption that all aliases on the loopback interface only need host routes. (We usually bring up the netaliases on the loopback interface to avoid problems with ARP. XXX: Does ARP work at all with a netaliased physical interface?) The first three parts were originally implemented by Ronald Khoo for NetBSD 1.0. The latter change was added by me for cosmetic reasons when I ported the changes to FreeBSD 3.0. The NETBIND patch has three components: (1) A change to struct inpcb in netinet/in_pcb.h so that it includes a netmask. It is initialised to INADDR_BROADCAST (i.e. 0xFFFFFFFF) in in_pcballoc() in netinet/in_pcb.c. [Note that /usr/src/sys/netinet/in_pcb.h must be installed into /usr/include/netinet/in_pcb.h, and that netstat, systat, and fstat must all be recompiled so that they know of the change to the struct inpcb.] (2) When an address is bound to a socket, in_pcbbind() in netinet/in_pcb.c checks if the interface address is a netalias, and if so it copies the netmask into the protocol control block. (3) When a protocol control block corresponding to an incoming packet is looked up, in_pcblookup_hash() only checks for a match within the netmask. (This is normally the same as complete equality because of the default netmask, but matches any address in the network for a netbound socket.) The NETBIND functionality was implemented by me. >How-To-Repeat: >Fix: --- /usr/src/sys/conf/options.orig Mon Feb 8 19:05:55 1999 +++ /usr/src/sys/conf/options Thu Feb 18 01:40:13 1999 @@ -334,3 +334,7 @@ # Include LKM compatability module LKM + +# Demon virtual hosting hacks +NETALIAS +NETBIND --- /usr/src/sys/net/if.c.orig Wed Dec 16 18:30:42 1998 +++ /usr/src/sys/net/if.c Thu Feb 18 01:39:34 1999 @@ -35,6 +35,7 @@ */ #include "opt_compat.h" +#include "opt_netalias.h" #include #include @@ -193,6 +194,26 @@ ifa = ifa->ifa_link.tqe_next) { if (ifa->ifa_addr->sa_family != addr->sa_family) continue; +#ifdef NETALIAS + if (ifa->ifa_netmask) { + register char *argaddr, *ifaddr, *mask, *maskend; + /* check to see that the part of the address outside the + * netmask is zero (i.e. it's a network rather than a host) + * and that the addresses are equal within the netmask... + * (see also ifa_ifwithnet() but I prefer these variable names) + */ + argaddr = addr->sa_data; + ifaddr = ifa->ifa_addr->sa_data; + mask = ifa->ifa_netmask->sa_data; + maskend = (char *)ifa->ifa_netmask + ifa->ifa_netmask->sa_len; + for (; mask < maskend; argaddr++, ifaddr++, mask++) + if ((*ifaddr & ~*mask) || + ((*argaddr ^ *ifaddr) & *mask)) + goto breakout; + return (ifa); + } + breakout: +#endif /* NETALIAS */ if (equal(addr, ifa->ifa_addr)) return (ifa); if ((ifp->if_flags & IFF_BROADCAST) && ifa->ifa_broadaddr && --- /usr/src/sys/netinet/in.c.orig Mon Dec 7 05:41:10 1998 +++ /usr/src/sys/netinet/in.c Thu Feb 18 01:39:34 1999 @@ -34,6 +34,8 @@ * $Id: netalias-netbind.patch,v 1.3 1999/02/18 10:04:13 fanf Exp $ */ +#include "opt_netalias.h" + #include #include #include @@ -374,7 +376,13 @@ if ((ia->ia_flags & IFA_ROUTE) == 0) return; +#ifdef NETALIAS + if (ifp->if_flags & IFF_POINTOPOINT || + (ifp->if_flags & IFF_LOOPBACK && + ia->ia_addr.sin_addr.s_addr & ia->ia_sockmask.sin_addr.s_addr)) +#else if (ifp->if_flags & (IFF_LOOPBACK|IFF_POINTOPOINT)) +#endif rtinit(&(ia->ia_ifa), (int)RTM_DELETE, RTF_HOST); else rtinit(&(ia->ia_ifa), (int)RTM_DELETE, 0); @@ -445,6 +453,9 @@ htonl(ia->ia_net | ~ ia->ia_netmask); } else if (ifp->if_flags & IFF_LOOPBACK) { ia->ia_ifa.ifa_dstaddr = ia->ia_ifa.ifa_addr; +#ifdef NETALIAS + if (i & ~ia->ia_subnetmask) +#endif flags |= RTF_HOST; } else if (ifp->if_flags & IFF_POINTOPOINT) { if (ia->ia_dstaddr.sin_family != AF_INET) --- /usr/src/sys/netinet/ip_icmp.c.orig Fri Dec 4 04:21:25 1998 +++ /usr/src/sys/netinet/ip_icmp.c Thu Feb 18 01:39:34 1999 @@ -34,6 +34,8 @@ * $Id: netalias-netbind.patch,v 1.3 1999/02/18 10:04:13 fanf Exp $ */ +#include "opt_netalias.h" + #include #include #include @@ -545,6 +547,11 @@ * to the incoming interface. */ for (ia = in_ifaddrhead.tqh_first; ia; ia = ia->ia_link.tqe_next) { +#ifdef NETALIAS + if (ntohl(IA_SIN(ia)->sin_addr.s_addr) == ia->ia_subnet && + (ntohl(t.s_addr) & ia->ia_subnetmask) == ia->ia_subnet) + goto t_ok; +#endif /* NETALIAS */ if (t.s_addr == IA_SIN(ia)->sin_addr.s_addr) break; if (ia->ia_ifp && (ia->ia_ifp->if_flags & IFF_BROADCAST) && @@ -562,6 +569,9 @@ if (ia == (struct in_ifaddr *)0) ia = in_ifaddrhead.tqh_first; t = IA_SIN(ia)->sin_addr; +#ifdef NETALIAS + t_ok: +#endif /* NETALIAS */ ip->ip_src = t; ip->ip_ttl = MAXTTL; --- /usr/src/sys/netinet/ip_input.c.orig Tue Jan 12 12:25:00 1999 +++ /usr/src/sys/netinet/ip_input.c Thu Feb 18 01:39:34 1999 @@ -42,6 +42,7 @@ #include "opt_ipdn.h" #include "opt_ipdivert.h" #include "opt_ipfilter.h" +#include "opt_netalias.h" #include @@ -469,6 +470,17 @@ for (ia = TAILQ_FIRST(&in_ifaddrhead); ia; ia = TAILQ_NEXT(ia, ia_link)) { #define satosin(sa) ((struct sockaddr_in *)(sa)) + +#ifdef NETALIAS +#ifdef notdef + printf("netalias check: iaddr %lx subnet %lx mask %lx dst %lx\n", + IA_SIN(ia)->sin_addr.s_addr, + ia->ia_subnet, ia->ia_subnetmask, ip->ip_dst.s_addr); +#endif + if (ntohl(IA_SIN(ia)->sin_addr.s_addr) == ia->ia_subnet && + (ntohl(ip->ip_dst.s_addr) & ia->ia_subnetmask) == ia->ia_subnet) + goto ours; +#endif /* NETALIAS */ if (IA_SIN(ia)->sin_addr.s_addr == ip->ip_dst.s_addr) goto ours; --- /usr/src/sys/netinet/in_pcb.c.orig Mon Dec 7 21:58:00 1998 +++ /usr/src/sys/netinet/in_pcb.c Thu Feb 18 01:42:27 1999 @@ -34,6 +34,8 @@ * $Id: netalias-netbind.patch,v 1.3 1999/02/18 10:04:13 fanf Exp $ */ +#include "opt_netbind.h" + #include #include #include @@ -135,6 +137,9 @@ bzero((caddr_t)inp, sizeof(*inp)); inp->inp_gencnt = ++pcbinfo->ipi_gencnt; inp->inp_pcbinfo = pcbinfo; +#ifdef NETBIND + inp->inp_lmask.s_addr = INADDR_BROADCAST; +#endif inp->inp_socket = so; LIST_INSERT_HEAD(pcbinfo->listhead, inp, inp_list); pcbinfo->ipi_count++; @@ -152,6 +157,7 @@ unsigned short *lastport; struct sockaddr_in *sin; struct inpcbinfo *pcbinfo = inp->inp_pcbinfo; + struct in_ifaddr *ia; u_short lport = 0; int wild = 0, reuseport = (so->so_options & SO_REUSEPORT); int error; @@ -187,8 +193,19 @@ reuseport = SO_REUSEADDR|SO_REUSEPORT; } else if (sin->sin_addr.s_addr != INADDR_ANY) { sin->sin_port = 0; /* yech... */ - if (ifa_ifwithaddr((struct sockaddr *)sin) == 0) + ia = (struct in_ifaddr *) + ifa_ifwithaddr((struct sockaddr *)sin); + if (ia == 0) return (EADDRNOTAVAIL); +#ifdef NETBIND + /* if this socket is a network address then copy the netmask into the PCB */ + if (ntohl(IA_SIN(ia)->sin_addr.s_addr) == ia->ia_subnet) + inp->inp_lmask = ia->ia_sockmask.sin_addr; +#ifdef notdef + log(LOG_DEBUG, "netbind check: in_pcbbind addr %08x mask %08x\n", + sin->sin_addr.s_addr, inp->inp_lmask.s_addr); +#endif +#endif } if (lport) { struct inpcb *t; @@ -797,8 +814,21 @@ for (inp = head->lh_first; inp != NULL; inp = inp->inp_hash.le_next) { if (inp->inp_faddr.s_addr == INADDR_ANY && inp->inp_lport == lport) { +#ifdef NETBIND +#ifdef notdef + if (inp->inp_lmask.s_addr != INADDR_BROADCAST) + log(LOG_DEBUG, + "netbind check: in_pcblookup_hash addr %08x mask %08x options %x\n", + inp->inp_laddr.s_addr, inp->inp_lmask.s_addr, inp->inp_socket->so_options); +#endif + /* allow matches to any address within netmask */ + if ((inp->inp_laddr.s_addr & inp->inp_lmask.s_addr) + == (laddr.s_addr & inp->inp_lmask.s_addr)) + return (inp); +#else if (inp->inp_laddr.s_addr == laddr.s_addr) return (inp); +#endif /* NETBIND */ else if (inp->inp_laddr.s_addr == INADDR_ANY) local_wild = inp; } --- /usr/src/sys/netinet/in_pcb.h.orig Fri May 15 00:00:00 1998 +++ /usr/src/sys/netinet/in_pcb.h Thu Feb 18 01:42:41 1999 @@ -77,6 +77,7 @@ LIST_ENTRY(inpcb) inp_portlist; /* list for this PCB's local port */ struct inpcbport *inp_phd; /* head of this list */ inp_gen_t inp_gencnt; /* generation count of this instance */ + struct in_addr inp_lmask; /* local netmask (NETBIND) */ }; /* * The range of the generation count, as used in this implementation, --- /usr/include/netinet/in_pcb.h.orig Fri May 15 00:00:00 1998 +++ /usr/include/netinet/in_pcb.h Thu Feb 18 01:42:41 1999 @@ -77,6 +77,7 @@ LIST_ENTRY(inpcb) inp_portlist; /* list for this PCB's local port */ struct inpcbport *inp_phd; /* head of this list */ inp_gen_t inp_gencnt; /* generation count of this instance */ + struct in_addr inp_lmask; /* local netmask (NETBIND) */ }; /* * The range of the generation count, as used in this implementation, >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 Mon Jun 7 8:40: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7A44D14C86 for ; Mon, 7 Jun 1999 08:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA21957; Mon, 7 Jun 1999 08:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 7 Jun 1999 08:40:02 -0700 (PDT) Message-Id: <199906071540.IAA21957@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: yohta@bsys.tsukuba.ac.jp (Yoshihiko OHTA) Subject: Re: gnu/9938: NetBSD *1.4* was not defined in mdoc macro(doc-syms). Reply-To: yohta@bsys.tsukuba.ac.jp (Yoshihiko OHTA) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR docs/9938; it has been noted by GNATS. From: yohta@bsys.tsukuba.ac.jp (Yoshihiko OHTA) To: nick.hibma@jrc.it Cc: freebsd-gnats-submit@freebsd.org, fenner@parc.xerox.com Subject: Re: gnu/9938: NetBSD *1.4* was not defined in mdoc macro(doc-syms). Date: Mon, 7 Jun 1999 23:54:57 +0900 (JST) nick.hibma@jrc.it wrote: > This problem seems to have been solved (I cannot access any repository > but it looks like Bill's suggestion has been implemented). > > On a 4.0-CURRENT machine I get > The usbd command appeared in NetBSD 1.4. > Shall we close the PR? Sorry, I neally forgot that I send the PR :-) I am using FreeBSD 3.1-stable(early in May) for these weeks, but I've never check the problem. In my environment, "1.4" was appeared in usbd(8) too. I have no reason not to close the PR. Please close it. Thank you for your imform. Yoshihiko. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 8:50: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7E60E15793 for ; Mon, 7 Jun 1999 08:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA23224; Mon, 7 Jun 1999 08:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 648FB152B2; Mon, 7 Jun 1999 08:43:59 -0700 (PDT) Message-Id: <19990607154359.648FB152B2@hub.freebsd.org> Date: Mon, 7 Jun 1999 08:43:59 -0700 (PDT) From: morimori@boo.ne.jp To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/12072: vm_fault happened in binary file transfer via ftp. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12072 >Category: kern >Synopsis: vm_fault happened in binary file transfer via ftp. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 7 08:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Takashi Mori >Release: 3.1-RELEASE >Organization: >Environment: FreeBSD popeye 3.1-RELEASE FreeBSD 3.1-RELEASE #4: Sat May 15 12:05:11 JST 1999 troot@popeye:/usr/src/sys/compile/POPEYE i386 >Description: When get the file from FreeBSD host via ftp binary mode, it always happend vm_fault. >How-To-Repeat: 1. login FreeBSD host via ftp % ftp hostname ftp> bin ftp> get filename panic and rebooting or show a vm_fault message >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 Mon Jun 7 9:10:49 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from ns.oda.ru (unknown [195.7.173.130]) by hub.freebsd.org (Postfix) with ESMTP id 8457914E17; Mon, 7 Jun 1999 09:10:34 -0700 (PDT) (envelope-from 123@aol.com) Received: from webber.oda.ru (webber.oda.ru [195.7.173.141]) by ns.oda.ru (8.8.8/8.8.5) with SMTP id NAA00466; Mon, 7 Jun 1999 13:43:17 +0400 (MSD) From: 123@aol.com Date: Mon, 7 Jun 1999 13:34:30 +0400 X-Mailer: The Bat! (v1.32) S/N BC3C033C Reply-To: 123@aol.com Organization: ANEKDOTS.ru X-Priority: 3 (Normal) Message-ID: <12565.990607@anekdots.ru> Subject: Re: Your request Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Visit http://erotic.uka.ru 100% BANNER EXCHANGE
100% BANNER EXCHANGE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 9:37:48 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B533F14FFC; Mon, 7 Jun 1999 09:37:47 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: (from des@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA28411; Mon, 7 Jun 1999 09:37:47 -0700 (PDT) (envelope-from des@FreeBSD.org) Date: Mon, 7 Jun 1999 09:37:47 -0700 (PDT) From: Message-Id: <199906071637.JAA28411@freefall.freebsd.org> To: Dom.Mitchell@palmerharvey.co.uk, des@FreeBSD.org, freebsd-bugs@FreeBSD.org, des@FreeBSD.org Subject: Re: bin/12070: FTP_PASSIVE_MODE exposes bug in ftp(1). Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: FTP_PASSIVE_MODE exposes bug in ftp(1). State-Changed-From-To: open->feedback State-Changed-By: des State-Changed-When: Mon Jun 7 09:37:08 PDT 1999 State-Changed-Why: Fixed in -current. Responsible-Changed-From-To: freebsd-bugs->des Responsible-Changed-By: des Responsible-Changed-When: Mon Jun 7 09:37:08 PDT 1999 Responsible-Changed-Why: So I remember to MFC. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 9:40:47 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0AD5114FFC; Mon, 7 Jun 1999 09:40:46 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: (from des@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA28766; Mon, 7 Jun 1999 09:40:46 -0700 (PDT) (envelope-from des@FreeBSD.org) Date: Mon, 7 Jun 1999 09:40:46 -0700 (PDT) From: Message-Id: <199906071640.JAA28766@freefall.freebsd.org> To: wacky@sonic.soniclink.net, des@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/12067: System reboots without giveing panic or logging it. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: System reboots without giveing panic or logging it. State-Changed-From-To: open->closed State-Changed-By: des State-Changed-When: Mon Jun 7 09:39:07 PDT 1999 State-Changed-Why: The PR system is for reporting actual bugs. The correct forum for tracking the cause of reboots such as you describe is questions@freebsd.org (or stable@freebsd.org if it is a -STABLE-specific problem). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 9:43:19 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 20AE014F8E; Mon, 7 Jun 1999 09:43:17 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: (from des@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA29199; Mon, 7 Jun 1999 09:43:17 -0700 (PDT) (envelope-from des@FreeBSD.org) Date: Mon, 7 Jun 1999 09:43:17 -0700 (PDT) From: Message-Id: <199906071643.JAA29199@freefall.freebsd.org> To: wacky@sonic.soniclink.net, des@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/12060: When I had freebsd 3.1 my ftp would freeze and the speed would keep going down until it stoped sending files until you reconnected and tryed to upload again teh same with with download. I currently upgraded to Freebsd 3.2 and it is giveing me Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: When I had freebsd 3.1 my ftp would freeze and the speed would keep going down until it stoped sending files until you reconnected and tryed to upload again teh same with with download. I currently upgraded to Freebsd 3.2 and it is giveing me State-Changed-From-To: open->closed State-Changed-By: des State-Changed-When: Mon Jun 7 09:42:32 PDT 1999 State-Changed-Why: The PR system is for reporting actual bugs. The correct forum for tracking down the cause of the problems you are experiencing is questions@freebsd.org (or stable@freebsd.org if it is a -STABLE-specific problem). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 9:50: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0238D14BFC for ; Mon, 7 Jun 1999 09:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA29848; Mon, 7 Jun 1999 09:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 7 Jun 1999 09:50:03 -0700 (PDT) Message-Id: <199906071650.JAA29848@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Joao Carlos Mendes Luis Subject: Re: bin/3251: xsysinfo stops refreshing and wastes CPU Reply-To: Joao Carlos Mendes Luis Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/3251; it has been noted by GNATS. From: Joao Carlos Mendes Luis To: ghelmer@cs.iastate.edu (Guy Helmer) Cc: freebsd-gnats-submit@freebsd.org, jonny@coppe.ufrj.br Subject: Re: bin/3251: xsysinfo stops refreshing and wastes CPU Date: Mon, 7 Jun 1999 13:48:21 -0300 (EST) #define quoting(Guy Helmer) // This is an acknowledged problem with all programs that directly access // kernel data structures. A proper fix would be to access kernel data via // /proc or sysctl. Since this PR is so old, can it be closed? Yes, I think so. Thanks for your attention. Jonny -- João Carlos Mendes Luís jonny@jonny.eng.br Networking Engineer jcml@ieee.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 10:29:22 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 36850152CF; Mon, 7 Jun 1999 10:29:20 -0700 (PDT) (envelope-from des@FreeBSD.org) Received: (from des@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA34509; Mon, 7 Jun 1999 10:29:20 -0700 (PDT) (envelope-from des@FreeBSD.org) Date: Mon, 7 Jun 1999 10:29:20 -0700 (PDT) From: Message-Id: <199906071729.KAA34509@freefall.freebsd.org> To: matt@zigg.com, des@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/12052: sh type builtin appends first path component to absolute result Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: sh type builtin appends first path component to absolute result State-Changed-From-To: open->analyzed State-Changed-By: des State-Changed-When: Mon Jun 7 10:28:54 PDT 1999 State-Changed-Why: Problem analyzed, no patch yet. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 10:30: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 362A7152CF for ; Mon, 7 Jun 1999 10:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA34565; Mon, 7 Jun 1999 10:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 7 Jun 1999 10:30:02 -0700 (PDT) Message-Id: <199906071730.KAA34565@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bill Fumerola Subject: Re: misc/12049: [PATCH] searching for closed reports requires two selections Reply-To: Bill Fumerola Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/12049; it has been noted by GNATS. From: Bill Fumerola To: n_hibma@FreeBSD.ORG Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: misc/12049: [PATCH] searching for closed reports requires two selections Date: Mon, 7 Jun 1999 13:26:49 -0400 (EDT) On Sun, 6 Jun 1999 n_hibma@FreeBSD.ORG wrote: > Other option is to include Closed reports automatically if someone > asks for state 'Closed'. > > Both patches are included. Use the chunk you like. I like this idea better. - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 10:30: 9 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id AA9D2152F6 for ; Mon, 7 Jun 1999 10:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA34575; Mon, 7 Jun 1999 10:30:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 7 Jun 1999 10:30:05 -0700 (PDT) Message-Id: <199906071730.KAA34575@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dag-Erling Smorgrav Subject: Re: bin/12052: sh type builtin appends first path component to absolute result Reply-To: Dag-Erling Smorgrav Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/12052; it has been noted by GNATS. From: Dag-Erling Smorgrav To: matt@zigg.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/12052: sh type builtin appends first path component to absolute result Date: 07 Jun 1999 19:28:36 +0200 matt@zigg.com writes: > >Fix: No fix yet, but an analysis: since the argument to 'type' (typecmd() in src/bin/sh/exec.c) is neither a builtin nor an alias, typecmd() calls find_command() (also in src/bin/sh/exec.c). The first thing find_command() does is check if the command contains a slash, in which case it sets the command type to CMDNORMAL and the path index to 0: /* If name contains a slash, don't use the hash table */ if (strchr(name, '/') != NULL) { entry->cmdtype = CMDNORMAL; entry->u.index = 0; return; } Here's the hitch - the caller has no way of distinguishing "a normal command which resides in the first directory in the path" from "a normal command which contains slashes". It tries to construct a full command name by calling padvance() entry->u.index times: case CMDNORMAL: { int j = entry.u.index; char *path = pathval(), *name; do { name = padvance(&path, argv[i]); stunalloc(name); out1fmt("%s\n", name); } while (--j >= 0); out1fmt(" is%s %s\n", cmdp ? " a tracked alias for" : "", name); break; } This seems to me an extremely awkward way of concatenating two strings... but never mind. To summarize, there are (at least) two bugs in the way find_command() treats command names with slashes in them: * it sets entry->u.index to 0, thus telling the caller that the command is in the first directory in the path * it does not check that the command actually exists and is executable by the current user, which results in the following: des@des ~% sh -c 'type this/file/does/not/exist' this/file/does/not/exist is /usr/home/des/bin/this/file/does/not/exist It is my humble opinion that the root of this problem lies with the use of padvance(), which is a horrible hackery. I would modify padvance() to take a numeric argument indicating which path component to use, rather than have it modify the path pointer, and to interpret -1 to mean "do not prepend anything at all". I would also modify it so it does not use a global variable (pathopt). DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 11: 0:48 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0948F14C85 for ; Mon, 7 Jun 1999 11:00:08 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA37739 for freebsd-bugs@freebsd.org; Mon, 7 Jun 1999 11:00:03 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 7 Jun 1999 11:00:03 -0700 (PDT) Message-Id: <199906071800.LAA37739@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: FreeBSD bugs list Subject: Current problem reports Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Current FreeBSD problem reports The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. Bugs can be in one of several states: o - open A problem report has been submitted, no sanity checking performed. a - analyzed The report has been examined by a team member and evaluated. f - feedback The problem has been solved, and the originator has been given a patch or a fix has been committed. The PR remains in this state pending a response from the originator. s - suspended The problem is not being worked on. This is a prime candidate for somebody who is looking for a project to do. If the problem cannot be solved at all, it will be closed, rather than suspended. c - closed A problem report is closed when any changes have been integrated, documented, and tested. Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1997/03/08] kern/2923 panic: vm_fault: fault on nofault entry, o [1997/06/01] kern/3752 peter NFS dirs under -current still have proble o [1997/06/01] kern/3753 peter "make" hangs when building in an NFS dir o [1997/07/03] kern/4021 peter Local mount of a local NFS exported direc o [1997/07/31] kern/4200 peter NFS: "vm_fault: fault on nofault entry" w o [1997/10/01] kern/4673 Two panics, now crash dumps, always in re o [1997/11/10] kern/4996 peter NFS crash, possibly related to file bigge o [1997/11/24] bin/5139 portmap does not find interfaces correctl f [1997/12/21] kern/5355 Fix for NULLFS problems o [1998/02/03] kern/5641 running processes at the IDLE priority (i o [1998/02/10] kern/5703 CDROM Media Error triggers complete syste o [1998/03/23] bin/6121 peter gethostbyname(3) no longer returns NO_DAT o [1998/05/13] bin/6627 TCP-based RPC denial-of-service attack s [1998/05/13] kern/6630 [PATCH] Fix for Cyrix I8254 bug o [1998/05/19] kern/6689 kern_physio.c splits requests breaking cd o [1998/06/14] i386/6944 icu_ipl.s does has a case commented as ca o [1998/06/23] kern/7028 Panic in vinvalbuf when appending/looking o [1998/07/12] kern/7264 gibbs Buslogic BT 950 scsi card not detected o [1998/08/15] kern/7622 Kernel panic with Fatal trap 18. o [1998/08/16] i386/7633 panic: page fault on install with boot.fl s [1998/08/17] kern/7649 fenner [MFC] /sys/netinet/if_ether.c: "permanent o [1998/09/03] kern/7822 Machine Reboots without reason o [1998/09/06] kern/7843 Unable to install FreeBSD on Tekram DC-39 o [1998/09/08] i386/7859 fatal trap 12 in midi_synth_input o [1998/09/14] kern/7927 Fatal trap 12: page fault while in kernel o [1998/09/28] kern/8074 se CAM rescan operation fatal o [1998/10/03] gnu/8138 peter gcc -pipe xxx.s hangs o [1998/10/06] i386/8179 Install failure with motherbord using SIS o [1998/10/08] i386/8214 Install 3.0-19981006-BETA fails o [1998/10/16] kern/8345 mmap(2) hangs when dealing with certain f o [1998/10/27] kern/8473 Excessive virtual memory consumption with o [1998/11/01] kern/8532 3.0-RELEASE panics with standard SMP kern o [1998/11/04] conf/8576 server goes down when client mount its fi a [1998/11/08] ports/8609 nectar eklogin service (kerberos klogind) fails o [1998/11/12] i386/8673 bug in vm_page_alloc_contig() o [1998/11/21] i386/8787 install process hangs while adding defaul o [1998/11/24] ports/8829 torstenb Fix port: security/ssh o [1998/11/24] kern/8851 mounting an unconfigured device causes a o [1998/11/25] kern/8861 under heavy (multi interface) traffic ep0 o [1998/12/01] i386/8922 can't detect wdc1 on Abit LX6 motherboard o [1998/12/05] kern/8973 trap 12: page fault while in kernel mode o [1998/12/09] kern/9036 Boot 3.0-Release hangs with BT-445S after o [1998/12/14] kern/9081 3.0-RELEASE dies starting AP on dual PPro a [1998/12/22] kern/9178 -current ipfw.ko with ELF kernel doesn't o [1998/12/30] kern/9249 Panic on 2.2.8-STABLE when accessing wcd o [1999/01/02] kern/9282 2nd IDE controller on Ali chipset motherb o [1999/01/03] kern/9294 IDE controller not being detected even wi o [1999/01/05] kern/9334 cp fails for 2048 Bytes/sector media o [1999/01/13] kern/9479 timeout while detect SCSI disks in recent o [1999/01/26] i386/9709 Kernel page faults during boot with 2GB R o [1999/01/27] kern/9742 tx driver for smc autodetects fine, but n o [1999/02/02] misc/9885 BIND 8.1.2 core dumping o [1999/02/04] kern/9909 Writing incomplete blocks to /dev/nrst0 h o [1999/02/11] bin/10035 3.0-STABLE, rc.shutdown is still ignored. o [1999/02/19] kern/10166 panic during heavy sio i/o;no coproc; ves o [1999/02/20] kern/10172 panic: cannot allocate pipe - out of kvm o [1999/02/21] i386/10188 Cannot get system to boot after Installti o [1999/02/23] kern/10224 panic: pipeinit: cannot allocate pipe -- s [1999/02/26] kern/10281 Crash of 3.1-STABLE system due to scsi er o [1999/02/26] i386/10282 PCMCIA problems in 3.1-RELEASE? o [1999/03/01] kern/10332 System freezes during certain SCSI activi o [1999/03/01] bin/10344 Core dump in gethostbyaddr for 199.93.70. o [1999/03/02] kern/10357 spontaneous crashes o [1999/03/05] kern/10397 3.1R page fault while in kernel mode, fro o [1999/03/05] i386/10400 missing some library files... o [1999/03/07] misc/10473 Incorrect aout compat libraries in XF8633 o [1999/03/09] kern/10507 Process hangs in state VM pgd o [1999/03/09] misc/10509 Cvs can hang system when used with pserve o [1999/03/09] kern/10520 can't exec files under nullfs o [1999/03/11] kern/10542 page fault while in kernel mode, not kern o [1999/03/11] kern/10545 When a fork/exec stress test is run, the o [1999/03/12] misc/10566 obrien patch dhcpc problem on /etc/pccard_ether o [1999/03/17] kern/10636 ipfw problems o [1999/03/19] i386/10683 I have a buslogic BT-948 FW controller. W o [1999/03/20] i386/10690 Installation freezes after device selecti f [1999/03/20] kern/10701 ppbus printing problems o [1999/03/22] ports/10725stb Wrong Cyrus IMAP deliver group o [1999/03/23] bin/10744 call to login() from aout/libutil.so.2.2 o [1999/03/23] kern/10752 Kernel panic (?) trap 12: page fault whil o [1999/03/27] kern/10828 3.1-STABLE freezes when writing to floppy o [1999/03/29] kern/10866 ahc2740 panic o [1999/03/30] kern/10872 Panic in sorecieve() due to NULL mbuf poi o [1999/03/31] kern/10886 kernel tries to initialize xl driver in 3 o [1999/03/31] i386/10895 kernel panic on boot o [1999/04/05] i386/10958 failed to "make world" after "cd /usr/sr o [1999/04/05] kern/10959 3.1-STABLE crashes due to a floppy mount o [1999/04/05] ports/10965obrien lcc-3.6 unable to compile anything o [1999/04/05] misc/10972 NTPv$ 92e fails to buuild on stable-3.1 p o [1999/04/08] kern/11023 Synchronous PPP not functional in leased o [1999/04/08] gnu/11038 tar needs bzip2 from ports o [1999/04/09] kern/11047 I cannot read from the kern.flp floppy I o [1999/04/13] kern/11112 Amanda on FreeBSD can wipe the _next_ tap o [1999/04/14] kern/11132 panic: ufs_dirbad: bad dir o [1999/04/16] kern/11180 boot of fresh bsd3.1 hangs o [1999/04/17] kern/11196 kernel mode page fault o [1999/04/19] misc/11216 Power fail versus Fsck changed my life. o [1999/04/19] kern/11226 Invalid files on disk after fsync o [1999/04/20] kern/11238 Synchronous PPP not functional in leased o [1999/04/20] kern/11241 Install fails after SCSI probe o [1999/04/21] ports/11263chuckr lister.lo listed twice in a2ps-4.12's lib o [1999/04/21] i386/11268 DEC FDDI PCI Adapter doesn't work... o [1999/04/22] i386/11278 FreeBSD Version 3.1 reboots repeatedly (c o [1999/04/23] i386/11298 Enabling IDE DMA on Opti Viper-M crashes o [1999/04/26] kern/11330 page fault in generic_bzero o [1999/04/26] bin/11335 find hangs in `nfsrcv' on local filesyste o [1999/04/26] conf/11343 worm; problems with installation and boot o [1999/04/26] i386/11349 Error Mounting /dev/wd0s1 on dist during o [1999/04/27] kern/11351 system reboot for error with popper and d o [1999/04/27] ports/11359ports rvplayer 5.0 (Linux) cases ncr PCI SCSI d o [1999/04/28] bin/11374 MAN program problems o [1999/04/29] kern/11380 PAO3 won't recognize a USR/Megahertz PCMC o [1999/05/01] kern/11434 can't boot from wd0s2a o [1999/05/03] kern/11470 V3 NFS problem o [1999/05/04] i386/11488 Error while starting FreeBSD o [1999/05/06] kern/11533 NFS v3 locks up on large file transfers o [1999/05/10] kern/11629 File descriptor table sharing is broken o [1999/05/12] kern/11680 server freezes, all processes stuck in "i o [1999/05/13] i386/11681 gibbs Adaptec 2940 UW SCSI Controller BIOS 1.34 o [1999/05/14] kern/11707 ncr isn't recognized in 3.1-19990512-STAB o [1999/05/16] kern/11737 MFS panics on mount in checkalias() o [1999/05/17] bin/11744 perllib fails to build o [1999/05/18] i386/11772 kern.flp gives "Disk error 0x4 No /boot/l o [1999/05/22] bin/11857 portmap can't resolv classless ip address o [1999/05/23] bin/11860 inetd is broken if kill -HUP `/var/run/in o [1999/05/24] kern/11869 Network hangging due to xl0: tx underrun o [1999/05/26] kern/11891 typo in ioconf.c o [1999/05/29] i386/11926 Boot manager only beeps at selecting boot o [1999/05/31] kern/11966 TCP copies send and receive socket buffer o [1999/06/01] kern/11984 pthread_kill cannot kill select() threads o [1999/06/02] kern/11988 recvmsg with a cmsghdr but no iovec is br o [1999/06/02] kern/11993 panic: getnewbuf: inconsistent EMPTY queu o [1999/06/05] kern/12041 Crashes on startup if Zip drive is switch o [1999/06/06] conf/12050 No /sbin/init on fixit flop o [1999/06/07] kern/12072 vm_fault happened in binary file transfer 134 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1995/03/02] misc/229 bde acos() core dump a [1995/03/20] kern/260 davidg msync and munmap don't bother to update m s [1995/05/16] kern/425 arp entries not getting removed when inte f [1995/06/17] kern/527 dufault dump causes assertion in ncr.c o [1995/07/02] kern/579 bde sio: RS_IBUFSIZE at 256 bytes serial line o [1995/10/18] bin/786 wpaul Problem with NIS and large group maps f [1996/05/26] kern/1256 ZNYX 314 mysterously looses packets o [1996/06/07] kern/1301 davidg DEC FDDI/PCI Adapter: halt code = 6 (DMA f [1996/08/03] bin/1461 Incorrect address binding of Kerberized r o [1996/08/04] kern/1467 gibbs scsi_prevent causing tape problems on clo f [1996/08/22] kern/1533 dyson Machine can be panicked by a userland pro o [1996/09/19] bin/1650 telnet encryption with char-mode and asci o [1996/09/29] kern/1689 wollman TCP extensions throttles distant connecti o [1996/10/04] kern/1726 panic in kmem_malloc (dump available) o [1996/10/08] kern/1744 peter run queue or proc list smashed 4 times in o [1996/10/15] kern/1812 dg vnodes are left in a locked state o [1996/10/15] kern/1814 cy driver gets deadlocked sometimes o [1996/10/20] kern/1848 breakpoints may be set in shared librarie f [1996/10/21] kern/1856 peter read-only nfs mount: panic leaf should be s [1996/10/26] bin/1892 install(1) removes target file s [1996/11/08] gnu/1981 ypserv handles null key incorrectly a [1996/11/13] bin/2001 vi confused about lines to display a [1996/11/14] kern/2014 sos Console keyboard lockup problem o [1996/11/18] kern/2053 peter de0 driver don't work at 100M for Compex o [1996/12/22] kern/2270 Hayes ESP serial card locks system as of a [1996/12/30] kern/2325 quota.user enlarged, no boot on 2.2-BETA o [1996/12/30] kern/2330 changing root device to sd0a - ncr0: abor f [1997/01/03] conf/2367 gibbs Buslogic SCSI driver bad probe of 742A EI o [1997/01/09] bin/2430 mountd stops on loading if subnet mask is a [1997/01/21] bin/2549 sos cdcontrol refuses to play audio CDs from o [1997/02/02] kern/2640 2.2-RELENG leaks memory (router/pppd serv s [1997/02/03] kern/2647 changing existing route to -static crashe o [1997/02/05] kern/2667 wollman bpfattach can hang the system a [1997/02/06] kern/2675 lkmcioctl() is not consistent and careful o [1997/02/07] kern/2690 asami When Using ccd in a mirror mode, file cre o [1997/02/08] kern/2695 sio1 (16540 serial port) is not recognize o [1997/02/09] kern/2698 After rewind I cannot read a tape; blocks o [1997/02/12] kern/2719 added support for magneto-optical SCSI di o [1997/02/14] bin/2736 No boot block if no FreeBSD partitions on o [1997/02/15] kern/2742 panic: leaf should be empty o [1997/02/15] bin/2747 davidn cannot submit at jobs from within an at j o [1997/02/16] gnu/2749 peter cvs export using remote cvs fails - CVS/T o [1997/02/19] kern/2768 ktrace(1) -i dumps corrupted trace data o [1997/02/19] bin/2769 fsck needs several runs to clean up bad/d o [1997/02/19] kern/2770 panic: vm_fault: fault on nofault entry o [1997/02/19] kern/2771 panic: bad dir o [1997/02/19] kern/2773 peter bad dir panic o [1997/02/20] bin/2785 wpaul callbootd uses an unitialized variable o [1997/02/20] gnu/2786 gcc version 2.7.2.1 C compiler slows down o [1997/02/22] kern/2800 DDS large data writing probrem o [1997/03/01] kern/2840 mlock+minherit+fork+munlock causes panics o [1997/03/03] kern/2858 peter FreeBSD NFS client can't mount filesystem o [1997/03/04] kern/2873 the od0 devies does not handle a Maxoptix o [1997/03/08] kern/2919 vm_fault: fault on nofault entry, addr: f o [1997/03/11] bin/2948 can't dump 640MB optical disks o [1997/03/12] kern/2965 st0 hang/fail on reading 4mm DAT tape for o [1997/03/12] bin/2973 output of iostat is wrong. o [1997/03/15] kern/2991 RTF_LLINFO routes remain when interface i o [1997/03/18] kern/3021 panic after sync during reboot o [1997/03/21] bin/3055 umount -f does not work o [1997/04/01] bin/3170 vi freaks and dump core if user doesn't e o [1997/04/05] kern/3201 peter de0 not re-enabled after hub down o [1997/04/06] kern/3216 panic: pmap_zero_page: CMAP busy o [1997/04/06] kern/3219 sppp or arnet gets looped after connectio f [1997/04/09] kern/3244 ipfw flush closes connections o [1997/04/15] bin/3305 Can't do encrypted rlogin into self o [1997/04/25] kern/3381 peter 2.2.x kernel panic on traversing and remo o [1997/04/25] kern/3384 telldir-seekdir can cause livelock o [1997/05/01] gnu/3441 obrien C++ exceptions don't work in shared libra o [1997/05/01] kern/3463 netstat -I packet count increase on sl0 w f [1997/05/04] i386/3502 Merge of if_ix* and if_ie* broke EE/16 su o [1997/05/06] bin/3524 imp rlogin doesn't read $HOSTALIASES for non- o [1997/05/07] kern/3527 peter if_de.c doesn't recognize Kingston card p o [1997/05/09] kern/3564 using MPU401 driver pagefaults kernel o [1997/05/09] kern/3569 ex0 driver doesn't work with EtherExpress o [1997/05/12] kern/3579 peter de driver doesn't support newer SMC 9332 o [1997/05/12] kern/3581 intermittent trap 12 in lockstatus() o [1997/05/12] kern/3582 panic: bad dir (mangled entry) in 2.2-STA s [1997/05/25] kern/3685 [PATCH] panic: fdesc attr o [1997/05/30] kern/3726 peter process hangs in 2.2-stable when working o [1997/05/30] kern/3727 SCSI II tape support broken o [1997/06/03] kern/3771 NFS hangs when writing to local FS re-mou o [1997/06/04] i386/3779 changing cursor to blinking block causes o [1997/06/08] gnu/3810 cvs can't handle multiple multiple-path d o [1997/06/18] kern/3899 df while unmounting floppy crashes 2.2.2 o [1997/06/19] kern/3909 joerg A patch supporting some new worm drivers o [1997/06/19] gnu/3910 sort(1) of 2.2.1R doesn't work in special o [1997/06/28] misc/3980 peter access via NFS fails during mount-operati o [1997/06/29] bin/3986 rdist seg faults when target machine is d o [1997/07/02] kern/4012 peter 2.2-RELEASE/Digital UNIX NFSv3 0 length f o [1997/07/02] misc/4013 boot floppy hangs if IDE ZIP Drive presen s [1997/07/06] gnu/4042 gdb stackframe in static library shows no o [1997/07/12] bin/4078 sos Typed password to log in on console and i o [1997/07/17] kern/4115 peter SunOS NFS file has wrong owner if creator o [1997/07/26] bin/4176 restore gets confused when run over pipe f [1997/07/27] ports/4179 fenner lmbench-1.1 dumps core after asking for m o [1997/07/28] kern/4186 peter nfsiod, panic, page fault in kernel mode o [1997/07/30] kern/4194 peter kernel pci driver for Digital 21041 Ether o [1997/08/06] kern/4240 kernel fails to recognise 2nd serial port o [1997/08/08] conf/4252 peter sendmail doesn't use smrsh by default o [1997/08/10] kern/4260 EOF handling in st(4) is broken o [1997/08/10] kern/4265 Panic in dsinit when multiple FreeBSD sli o [1997/08/10] kern/4270 ch driver does not use bounce buffers o [1997/08/12] kern/4284 le0 goes OACTIVE after some time o [1997/08/13] kern/4295 SL/IP difficulties between 2.2.1 & 2.2.2 o [1997/08/16] kern/4312 arp table gets messed up, syslog "gateway o [1997/08/17] kern/4327 peter NFS over TCP reconnect problem s [1997/08/19] kern/4338 New device driver (Cyclades Cyclom-Z) o [1997/08/22] bin/4357 wosch bug in adduser script causes duplicate UI o [1997/08/23] bin/4366 bad144 crashes if checking over 2gb o [1997/08/25] kern/4381 mount -t msdos causes panic:vm_fault o [1997/08/25] kern/4382 CURRENT kernel has a "free vnode isn't" p o [1997/09/02] kern/4454 X drops characters/locks up keyboard when o [1997/09/03] bin/4460 lpd hangs exiting (IE in ps table) o [1997/09/07] kern/4487 Kernel panic executing a directory o [1997/09/08] bin/4497 Reverse DNS fails for some CIDR *.IN-ADDR o [1997/09/10] kern/4508 peter nfs3 data integrity problems o [1997/09/11] kern/4513 System lockup appears to be VM related. o [1997/09/14] i386/4533 Server with Cyclom-Y PCI card rebooted at o [1997/09/14] kern/4544 Linux emulator problems when MAXDSIZ is i o [1997/09/19] bin/4582 integer overflow in 'sa -km' o [1997/09/20] kern/4588 peter NFS access locks up o [1997/09/21] kern/4600 peter nfs lookups might give incorrect result o [1997/09/30] kern/4663 checkalias panic o [1997/10/01] kern/4666 dfr umount -f doesn't seem to work o [1997/10/01] bin/4672 rdist does not do hard links right when t o [1997/10/03] bin/4683 imp restore doesn't correctly handle "sparse" o [1997/10/05] docs/4691 no documentation for mk_cmds(1) o [1997/10/15] kern/4772 ATAPI CD (bootable) causes kernel panic o [1997/10/16] kern/4774 trying to use IBCS2 shared libraries cras o [1997/10/16] kern/4782 Under certain conditions, several krsh's o [1997/10/24] kern/4843 48 meg double fault moved to 64 meg in 2. o [1997/10/26] kern/4859 SMP kernel panics with timeout table full o [1997/10/31] bin/4907 Oct 33* Daylight Savings Time ends; clock o [1997/10/31] kern/4909 de ethernet driver is crazy on 100base o [1997/11/01] bin/4913 peter Large mail messages can cause mail.local o [1997/11/03] kern/4927 kernel does not check any quota and permi o [1997/11/04] bin/4939 uuxqt unable to execute rnews program o [1997/11/05] kern/4945 continued failure to use the Adaptec 1460 o [1997/11/05] bin/4949 rpc.rquotad stat()s fs with quota file in o [1997/11/09] kern/4990 peter NFS hangs under FastEthernet. 1024 Bytes o [1997/11/15] conf/5062 login.access not evaluated correctly o [1997/11/18] bin/5084 wrong "term" for internal shell o [1997/11/18] kern/5085 System crash during mount command for CD o [1997/11/20] bin/5105 mount_cd9660 or mount -t cd9660 fails to o [1997/11/22] gnu/5126 C++ compiler bug (assembly output) o [1997/11/23] i386/5128 Adaptec 2940U Timeouts with QUANTUM disk s [1997/12/02] bin/5189 rcmd(3) only allows one hardcoded connect o [1997/12/03] misc/5207 Examples for /etc are not in /usr/share/e o [1997/12/06] kern/5244 F00F workaround dosn't always work on SMP s [1997/12/14] bin/5297 make incompatibility with System V style o [1997/12/19] kern/5347 peter DEC (de0) ethernet card has no buffers af o [1997/12/30] kern/5396 fdesc fs crashes system o [1997/12/31] i386/5401 peter de0 selects wrong media when reconnected f [1998/01/08] kern/5456 After writing more than 100MB to SCSI Exa o [1998/01/16] kern/5513 luigi new PnP code is BAD (soundcards) s [1998/01/19] kern/5522 [PATCH] ip_input.c & ip_output.c problems o [1998/01/26] misc/5574 bootpd gets timezone incorrectly o [1998/01/27] kern/5587 session id gets dropped o [1998/01/29] kern/5598 Support for magneto-optic SCSI devices wi s [1998/01/30] bin/5604 setenv(3) function has memory leak, other o [1998/01/30] kern/5606 Kernel Panic running Linux Binary without o [1998/01/31] kern/5611 bind does not check sockaddr->sin_family o [1998/02/01] kern/5618 kernel memory leak in routetbl. o [1998/02/01] kern/5624 dumping to tape causes scsi bus reset o [1998/02/04] kern/5643 NCR 810/815 do not handle rewind correctl o [1998/02/09] bin/5693 hoek groff -mm or groff -mmm ??? o [1998/02/10] i386/5698 des LPIP causes spurious reboots o [1998/02/12] kern/5728 peter NFS hangs o [1998/02/12] bin/5733 cp -r cannot copy un-writable directories o [1998/02/15] i386/5760 3.0-CURRENT freezes at mount root stage o o [1998/02/17] gnu/5767 man leaves partially formatted cat pages o [1998/02/19] kern/5794 Kernel Panic o [1998/02/23] kern/5827 kernel panics in current (3.0) o [1998/02/24] kern/5839 vm_page_unwire: invalid wire count: 0 f [1998/02/27] bin/5867 peter pppd or FreeBSD ? o [1998/02/28] kern/5877 sb_cc counts control data as well as data o [1998/03/01] kern/5890 peter NFS server Side say NFSERR_BAD_COOKIE (rm o [1998/03/09] bin/5959 Cannot set up clocal gettys o [1998/03/10] kern/5969 non-root user can reboot/lock up system o [1998/03/11] kern/5975 can't boot freebsd: fatal trap12: page fa o [1998/03/12] kern/5991 panic: free vnode isn't o [1998/03/14] conf/6002 peter /etc/mail/sendmail.cf.addtions seems to l o [1998/03/14] bin/6004 cron in -CURRENT sometimes fails to proce o [1998/03/14] bin/6005 -CURRENT cron dies after short periods of o [1998/03/16] kern/6035 The system "sort-of" hangs when playing b o [1998/03/19] kern/6066 lnc driver does not work correctly with A o [1998/03/20] bin/6074 imp Incremental dumps are backing up unchange o [1998/03/22] i386/6099 des LPIP to slow machine causes hang o [1998/03/22] kern/6103 panic: ffs_valloc: dup alloc o [1998/03/28] bin/6162 kinit does not default to the current use o [1998/04/03] kern/6203 kernel panics with "blkfree: freeing free o [1998/04/03] conf/6205 NFS/NIS freak out o [1998/04/04] kern/6212 Two bugs with MFS filesystems fixed, one o [1998/04/07] kern/6238 luigi Sound-driver patch for MAD16 (OPTi 928,92 o [1998/04/07] kern/6242 vnode disk driver too unstable in -STABLE o [1998/04/08] kern/6251 peter ktrace very broken when logging over NFS o [1998/04/08] kern/6252 ide cdrom hangs system when on same bus a o [1998/04/09] kern/6253 Atapi wait for command phase too short. o [1998/04/10] kern/6267 dg panic: pmap_dispose_proc: upage already m o [1998/04/14] kern/6300 System locks up in SMP mode when accessin o [1998/04/16] bin/6317 with -8E flags telnet still goes to comma o [1998/04/17] kern/6336 peter NFSv3 should support files >2GB, but does o [1998/04/18] kern/6344 cy driver is outdated o [1998/04/19] kern/6351 DPT RAID controller stops working under h o [1998/04/20] i386/6368 Stallion Easyio 8 port not detected using o [1998/04/22] bin/6383 csh - when ctrl-d is pressed, file is chm o [1998/04/25] kern/6412 peter NFS sends packets from the wrong interfac o [1998/05/03] kern/6506 system will not soft reboot f [1998/05/05] kern/6525 Coral-Draw 5 CD crashes 2.2.6-STABLE a [1998/05/06] bin/6536 pppd doesn't restore drainwait for tty o [1998/05/08] bin/6557 /bin/sh is broken o [1998/05/10] bin/6577 /bin/sh environment variables not set in o [1998/05/11] kern/6587 SMP idle cpl breaks signal forwarding o [1998/05/11] kern/6589 system panick'd with May 4th kernel o [1998/05/11] ports/6591 se KDE starts /usr/bin/kzip instead of /usr/ o [1998/05/12] kern/6603 ncr driver hangs under high load o [1998/05/12] bin/6609 gmp.h not installed o [1998/05/17] kern/6670 PANIC on boot with FreeBSD 3.0 (same comp s [1998/05/19] kern/6686 [STABLE] -stable does not support large I o [1998/05/20] kern/6706 mount_msdos+mount_null+mc=panic o [1998/05/25] kern/6751 audio cd play suddenly stops. o [1998/05/25] kern/6755 peter Tulip (if_de) driver buggy in -current o [1998/05/27] kern/6771 peter panic: Bad nfs svc reply s [1998/05/27] misc/6773 [PATCH] tempnam.c security problems o [1998/06/01] misc/6824 peter Intel EtherExpress 100+, 2.2.6 NFS troubl s [1998/06/02] bin/6830 make(1) exhibits confusing and non-standa s [1998/06/04] kern/6854 [PATCH] probing brooktree849 capture card s [1998/06/04] kern/6858 inetd in realloc(): warning: junk pointer o [1998/06/04] misc/6861 [PATCH] netboot error o [1998/06/05] kern/6865 OS crashes when exiting shell with suspen o [1998/06/10] kern/6908 kernel crash from user land o [1998/06/19] bin/6994 The netstat(1) -s generates wrong output f [1998/06/19] i386/6996 Occasional complete lockup of 2.2.5R s [1998/06/22] bin/7019 [security] pwd.db almost always contains s [1998/06/23] bin/7033 Same process notified multiple times o [1998/06/24] kern/7038 shimon Kernel panic caused by DPT driver (Got a s [1998/06/24] bin/7043 the fstat command doesn't know ISOFS, MSD o [1998/06/24] i386/7057 3Com 3C509 locks up, or has >1000ms rtt u s [1998/06/24] bin/7059 sh dumps core on this script o [1998/06/24] ports/7061 ache fspclient's grab command fails (and remov o [1998/07/05] ports/7167 ache elm cannot pgp for more than one recipien s [1998/07/05] kern/7169 cannot use accton on a append-only file o [1998/07/05] kern/7178 sos IDE Western Digital hard disk detection e s [1998/07/06] misc/7190 jkh "Invalid partition table" after new insta s [1998/07/10] kern/7237 NCR SCSI driver ch0 troubles o [1998/07/11] kern/7245 processes die with signal 6, if machine o o [1998/07/12] i386/7266 yokota PSM detection failure with Linksys consol s [1998/07/14] kern/7281 [STABLE] Multicast kludge does not work c o [1998/07/16] kern/7299 USER_LDT hangs Linux-emulated Netscape o [1998/07/18] i386/7311 "Probing devices" hangs computer with err o [1998/07/21] conf/7354 source distribution selection bug when in f [1998/07/22] kern/7367 panic: malloc: wrong bucket o [1998/07/23] ports/7383 torstenb socks5 + ssh + redirection not working o [1998/07/26] kern/7405 in pmap_changebit, pmap_pte_quick() retur s [1998/07/27] kern/7410 [PATCH] driver for arlan-655 s [1998/07/27] i386/7420 [PATCH] Maximum socket buffer size (SB_MA o [1998/07/28] kern/7424 Machine crashes do not occur very often, o [1998/07/30] bin/7446 jdp Dlopen succeed in particular cases, but i o [1998/08/04] ports/7490 ache `setenv LANG/LC_CTYPE C` makes tcsh unusa s [1998/08/10] kern/7556 sl_compress_init() will fail if called an f [1998/08/10] kern/7557 -current machine running Diablo, lockup, s [1998/08/10] kern/7561 CDROM (wcd) is prone to lock up system/pr s [1998/08/10] kern/7562 Running wine can cause other applications o [1998/08/12] bin/7587 There is no pthread_cancel() in libc_r.a! o [1998/08/13] bin/7602 df stay in disk wait o [1998/08/18] kern/7658 (1) rlogin from some host to the FreeBSD o [1998/08/18] kern/7664 scsiformat reports '0' for all parameters o [1998/08/18] conf/7665 sysinstall quits silently o [1998/08/19] kern/7678 Problems with a 386-16 o [1998/08/20] i386/7698 scotty/tkined library error s [1998/08/22] kern/7713 fenner [MFC] problem with reusing ports with mul o [1998/08/23] kern/7727 Processes get wedged in 'getblk' on 2.2.7 o [1998/08/27] kern/7754 kernel panics if NFS server uses LKM vs. o [1998/08/27] bin/7756 disklabel misbehaving on seriously sick d o [1998/08/27] kern/7764 ps(1) hangs in pfslck/lockrd - All subseq o [1998/08/27] kern/7766 de driver still buggy - random ifc death o [1998/08/27] kern/7767 de driver still buggy - power cycle of de o [1998/08/30] kern/7781 Problem with setpassent(), getpwnam() and o [1998/08/31] kern/7793 kernel wedges when netscape exits o [1998/09/01] kern/7797 System halted with "panic: pmap_release: o [1998/09/02] i386/7815 probe can't find wdc0 s [1998/09/03] gnu/7821 awk in free(): warning: chunk is already o [1998/09/03] conf/7823 sysinstall will not install XFree o [1998/09/09] bin/7872 [PATCH] mountd(8) can apply flags to wron o [1998/09/09] bin/7876 gethostbyname flags temporary failure as o [1998/09/09] bin/7877 fenner libpcap and tcpdump need updating o [1998/09/10] kern/7880 mount_cd9660 incorrect on multitrack CD-R o [1998/09/11] i386/7898 erich linux_lib-2.4 lacks libc.so.6 o [1998/09/11] kern/7902 if_de doesn't properly recognize a "Magic o [1998/09/12] conf/7908 wrong perms on objformat after upgrade o [1998/09/13] kern/7925 sendmail, inetd SIGSEGV after forking aft o [1998/09/15] ports/7931 torstenb Ssh allows root login with no password f [1998/09/15] bin/7943 des ftpd: ~ is ~root! o [1998/09/16] kern/7950 Trap 12 while executing wine o [1998/09/16] gnu/7951 The gnu readline library core dumps when o [1998/09/17] bin/7968 If /usr/libexec/yppwupdate DNE, rpc.yppas a [1998/09/19] ports/7987 ports Can't post news with TRN + NNTPCACHE o [1998/09/22] conf/8031 [patch] /etc/rc looks for /etc/sendmail.c o [1998/09/28] misc/8070 can't get a system with an NCR 810 contro o [1998/09/28] i386/8081 Problem with MULTIPORT driver and Boca BB o [1998/09/29] bin/8085 sendmail startup could be backgrounded f [1998/09/29] ports/8088 torstenb short writes using ssh-1.2.* o [1998/09/30] gnu/8099 [patch] some bugs in cpio o [1998/10/03] kern/8137 [patch] quotaoff followed by quotaon can o [1998/10/05] kern/8158 sio driver breaks in 2.2.7R in kernels wi o [1998/10/06] kern/8180 open("..",O_RDONLY|O_NONBLOCK) fails o [1998/10/07] bin/8195 ee dumps core on window resize o [1998/10/08] kern/8206 [patch] Unconected UDP socket declined, i o [1998/10/08] kern/8215 Creating 2 root partitions in sysinstall o [1998/10/11] bin/8266 [patch] nfsd should allow just nfs versio o [1998/10/11] ports/8276 hosokawa samba's WINS database gets removed during o [1998/10/12] bin/8281 writev() in libc_r causes loop o [1998/10/13] kern/8312 Under heavy load, the system panics with o [1998/10/14] bin/8322 Mail doesn't respect REPLYTO in .mailrc o [1998/10/14] kern/8324 failure to deliver SIGIO when fildes mark o [1998/10/19] conf/8379 check_rcpt returns OK for nonexistent add o [1998/10/20] kern/8380 swap_page error: out of swap space o [1998/10/20] i386/8385 2.2.7 hangs while detecting type of COM1' o [1998/10/20] ports/8394 peter rdist6 won't compile--tries to use MOUNT_ o [1998/10/21] i386/8397 Code using popen compiled on BSDI BSD/OS o [1998/10/22] i386/8414 ibcs2 emulation sets serial baud-rate inc o [1998/10/22] kern/8415 SMP kernel freezes while downloading larg s [1998/10/22] kern/8417 3.0 config(8) doesn't check that root fs o [1998/10/22] i386/8418 sh MAKEDEV all - fails to create hard lin o [1998/10/23] kern/8423 Intel PILA8461 NIC panics 2.2.7 during pr o [1998/10/24] i386/8435 boot.flp does not give shell prompt after o [1998/10/24] bin/8440 3.0-RELEASE has wrong permissions on game o [1998/10/28] misc/8480 odd Korean timedef(LC_TIME) o [1998/10/30] kern/8500 FreeBSD 3.0 thread scheduler is broken o [1998/10/31] bin/8518 freopen() in append mode followed by ftel o [1998/11/01] kern/8534 insufficient support routines for poll(2) o [1998/11/03] kern/8561 /kernel inode change time changes every r o [1998/11/03] i386/8567 Intel EtherExpress Pro/10 driver (if_ex.c o [1998/11/04] bin/8573 nvi 1.79 SIGSEGVs on any address in .exrc o [1998/11/05] kern/8580 Hanging NFS pagein in nfs_bio.c (2.2.7, w o [1998/11/06] kern/8585 bktr driver does not correctly identify I o [1998/11/07] kern/8590 kernel incorrectly recognizing Maxtor 11. o [1998/11/07] kern/8596 panic: page fault while using ping's reco o [1998/11/08] kern/8607 maxprocsperuid setting causes sybase/linu o [1998/11/08] kern/8619 EXT2FS should be in GENERIC kernel o [1998/11/08] ports/8622 peter exmh2 has problems with some date formats s [1998/11/09] misc/8623 wollman [MFC] Time zone for Japan is strange (see o [1998/11/10] bin/8646 Implement rlogind -a option o [1998/11/11] kern/8655 Umount trouble of SCSI removable device o [1998/11/11] kern/8657 nfs client hung in nfs_bwrite/vfs_busy_pa o [1998/11/12] kern/8669 aio_write() and aio_read() do not work AT o [1998/11/14] kern/8683 sos Problems with Atapi in 3.0... o [1998/11/14] bin/8685 sending a SYST by ftp client closes conne o [1998/11/17] kern/8729 SYSV Semaphore blocks all threads o [1998/11/18] bin/8739 atoi and modunload o [1998/11/18] bin/8745 wosch adduser permit adding `root' and mail ali o [1998/11/20] kern/8773 Intel AN430TX motherboard ps/2 port not r f [1998/11/20] kern/8778 gibbs Buslogic BT948 in 2 boxes upgraded from S o [1998/11/21] bin/8790 [PATCH] Buffer overrun in nvi-1.79 (explo o [1998/11/23] kern/8824 Incorrect driver unit number in IDE BusMa o [1998/11/24] kern/8834 NFS can corrupt local file cache o [1998/11/24] conf/8854 boot.flp does not probe atapi cdrom o [1998/11/24] i386/8855 can't mount CD in ATAPI drive after eject o [1998/11/25] bin/8865 syslogd hangs with serial console o [1998/11/27] i386/8870 Installworld falls over in /usr/src/sys/i o [1998/11/28] kern/8875 Patch to allow DMA IDE with generic chips o [1998/11/29] conf/8903 /etc/rc can do NFS mounts before the netw o [1998/12/01] kern/8919 using Acceleport 8r o [1998/12/01] i386/8924 File transfers. Upload is 71Kbs downloa o [1998/12/02] kern/8940 system clock runs extremely slowly (and s o [1998/12/03] kern/8952 close() blocks forever after fork() in th o [1998/12/06] kern/8981 this also fixes X crashes and sio silo ov o [1998/12/07] ports/9002 torstenb mirror reuses obsolete temporary db file o [1998/12/09] kern/9030 DMPno2 - PCCards are not being recognised o [1998/12/10] i386/9044 #.0 pkgs require libkrb o [1998/12/13] bin/9066 init ignore rc.shutdown o [1998/12/16] kern/9095 swap detect error o [1998/12/19] kern/9129 Is it miss take ? So, ep deriver dose not o [1998/12/20] i386/9140 NIS "Magic cookie" in master.passwd slays o [1998/12/21] bin/9162 [Patch] pthreads GC breaks signal handlin o [1998/12/21] kern/9163 [patch] squid does not join a multicast g o [1998/12/22] kern/9171 maxusers 1024 results in unbootable kerne f [1998/12/22] ports/9177 erich linux_lib buggy and outdated o [1998/12/24] ports/9191 obrien tcplist port dosnt work o [1998/12/27] bin/9214 kldload(8) error messages are inadequate o [1998/12/29] i386/9237 pthread_exit doesn't exit o [1998/12/30] i386/9244 2.2.8 RELEASE Fixit floppy doesn't work.. o [1998/12/31] bin/9252 [patch] login program "login" don't set K o [1999/01/03] bin/9292 Cron's logs are in /var/cron, not /var/lo o [1999/01/03] kern/9296 pps driver missing header file o [1999/01/03] kern/9297 pps driver doesn't clear ppbus control po o [1999/01/06] bin/9350 nvi incorrectly reads files with very lon o [1999/01/06] kern/9355 can't select() for writes on a bpf o [1999/01/07] bin/9362 "lpc start queue" doesn't work in 3.0-R & o [1999/01/07] bin/9379 pppd does not go through all interfaces l o [1999/01/08] kern/9391 if_addmulti doesn't check for retifma == o [1999/01/09] kern/9407 "make kernel" yields buggy kernel in cera o [1999/01/09] kern/9408 parameter reversed to a pci_cfgwrite in p o [1999/01/09] kern/9411 System crash on swapping to hole-files o [1999/01/09] kern/9413 profiling does not work with elf kernels o [1999/01/10] i386/9431 wd.c Does nto recognize certain LBA disks o [1999/01/11] bin/9440 obrien amd can't mount filesystems with type:=uf o [1999/01/11] bin/9444 mount_mfs uses lots of swap. o [1999/01/12] bin/9464 Fix for fetch ignoring FTP_PASSIVE_MODE e o [1999/01/13] kern/9478 support for running a script from kldload o [1999/01/14] kern/9487 pcm: mixer's synth and cd devices are swa o [1999/01/14] bin/9495 su doesn't look at login.cnf all the time o [1999/01/15] bin/9516 ftpd doesn't honor invalid shelll in logi o [1999/01/17] kern/9537 ep0 driver : no buffer space available o [1999/01/17] bin/9544 syntax error concerning loading vinum fro o [1999/01/17] kern/9548 UNION fs corrupts data and has undefined o [1999/01/17] kern/9550 The latest -current as of 17 January has o [1999/01/21] kern/9599 SMP hang after reseting CPU 1 o [1999/01/21] kern/9612 grog NFS mounts on dual-homed server may hang o [1999/01/22] docs/9618 hoek many typos in groff_mm(7) o [1999/01/24] ports/9665 ache cannot start apache server o [1999/01/25] kern/9673 ISO CD-ROM Problem o [1999/01/25] ports/9688 cwt The current tcl80 port has problems, does o [1999/01/26] bin/9695 a typo in /usr/obj/aout/usr/src/tmp/usr/i o [1999/01/28] i386/9759 Tar process hangs on buggy tapes o [1999/01/31] bin/9849 mknod is missing from libc_r o [1999/02/01] kern/9862 system crashes writing to msdos jaz disk o [1999/02/02] kern/9883 MGET()(and variants) return NULL with M_W o [1999/02/04] misc/9903 thread enabled program can't use popen/sy o [1999/02/04] kern/9910 Heavy traffic renders FreeBSD acting as f s [1999/02/06] kern/9927 gibbs the ahc driver doesn't correctly grok swi o [1999/02/06] i386/9933 No error reported writing to write-protec o [1999/02/06] kern/9935 vmstat reprots bad AVM values o [1999/02/08] kern/9961 When loading if_ppp_mod.o system crashes, o [1999/02/08] i386/9962 Install Panics in with integer divide fau o [1999/02/08] kern/9974 Large amounts of kernel clock drift with o [1999/02/09] kern/9980 savecore fails with large (2gig+) swap pa o [1999/02/09] bin/9982 inet_addr(3) should be return 32bit uint. o [1999/02/10] misc/10009 jdp dlopen will crash when opening some strip o [1999/02/10] kern/10013 msdos floppy disk mounts o [1999/02/11] kern/10021 MOUNTING A EXT2FS A AFTER MOUNTING AN MSD o [1999/02/11] kern/10029 many vm_fault: pager read errors o [1999/02/11] bin/10031 ypxfr does not work with Solaris master s o [1999/02/11] bin/10039 Binaries from a "fixit" CD can't find ld- o [1999/02/12] docs/10059 dillon MALLOC(9) manpage not updated to reflect o [1999/02/13] kern/10066 problem with a X-Window and syscons drive o [1999/02/14] i386/10089 ATAPI tape driver (wst) doesn't handle En a [1999/02/14] ports/10094jfitz autogeneration of msql user failed o [1999/02/15] kern/10107 interlock situation with exec_map and a p a [1999/02/17] docs/10135 doc Change to Documention Regarding Upgrades o [1999/02/18] kern/10145 ELF interpreter loading in chrooted situa o [1999/02/18] i386/10150 Compaq fxp0 Does not work on 3.0 or 3.1 b o [1999/02/18] i386/10151 ATAPI CD problem o [1999/02/19] conf/10163 init does not start when /var/msgs is a s o [1999/02/22] kern/10209 natd stopped to worked since i upgraded f o [1999/02/23] bin/10230 -T and -B not implemented on filehandles o [1999/02/25] misc/10259 FTP install hangs for 3.1-RELEASE o [1999/02/25] bin/10264 passwd(1) tryis NIS even with `-l' switch o [1999/02/25] kern/10265 file locking does not work with kernel pt o [1999/02/25] kern/10266 gibbs SCSI scanner times out when scanning o [1999/02/26] kern/10280 Display Adapters (PCI) probed wrong way - o [1999/02/28] misc/10302 installer o [1999/02/28] bin/10312 ken pciconf -l generates output incompatible o [1999/02/28] kern/10316 le0 goes OACTIVE after some time o [1999/03/01] bin/10341 memory leak in setenv(3) o [1999/03/02] bin/10353 ypserv gets segmentation violation o [1999/03/02] bin/10366 /usr/libexec/ld-elf.so.1: Invalid File Fo o [1999/03/03] ports/10373nate Increasing kernel file descriptors causes o [1999/03/03] kern/10381 hlfsd/NFS failure -- directory cached bet o [1999/03/04] kern/10387 2.2.7 hangs when trying to write on defec o [1999/03/05] kern/10411 top, vmstat, iostat show 0% cpu idle & us o [1999/03/06] misc/10418 libpam is built before libradius/libtacpl o [1999/03/07] kern/10466 resume causes crashes if BIOS extmem != R o [1999/03/07] ports/10480ports tk81 will not *compile* with threaded app o [1999/03/08] kern/10492 broadcast IP address can be set on interf o [1999/03/09] bin/10510 Remote cvs botches commits on occassion o [1999/03/09] bin/10511 incorrect return value in kvm_read(3) and o [1999/03/10] i386/10533 A bug in the meteor driver causes kernel o [1999/03/11] bin/10553 syslogd suddenly stopped logging o [1999/03/13] ports/10579phk Error with Network discovery in tkined (p o [1999/03/14] kern/10581 Kernel panic while using find on an ext2 o [1999/03/14] kern/10594 EXT2FS mount problems o [1999/03/14] bin/10596 I can't find out where someone is logged o [1999/03/15] misc/10599 [PATCH included]malloc/free breaks in cer o [1999/03/15] kern/10603 dcs Random system panics o [1999/03/15] kern/10607 Fast forwarding breaks when arp cache exp o [1999/03/16] bin/10615 make installworld DESTDIR=/some/dir o [1999/03/16] kern/10616 MSP3400C audio chip from Hauppauge WinTV- o [1999/03/16] i386/10626 RTC BIOS diagnostic error on install o [1999/03/16] bin/10633 obrien [patch] tcpslice timezone problem and upd o [1999/03/17] i386/10646 Bridge code missing from ed0 driver in 3. o [1999/03/18] ports/10665ports ports/graphics/sane needs access to /dev/ o [1999/03/19] kern/10671 setlogin(2) return EINVAL for length of n o [1999/03/19] kern/10676 3.1-RELEASE deadlocks under load with pro o [1999/03/19] ports/10681ports lessitf can't find X11 Revision 5 or high o [1999/03/20] kern/10698 de driver doesn't work with some tulip bo o [1999/03/22] gnu/10740 Fatal GCC error o [1999/03/23] kern/10747 ipfirewall `deny' rules act as `reject' f o [1999/03/24] bin/10774 sio0 doesn't work well, i belive the prob o [1999/03/24] kern/10778 "ipforward_rt" is not cleared when routin o [1999/03/24] kern/10780 executing gzipped shell scripts panics th o [1999/03/25] bin/10784 `make aout-to-elf-build' died in /usr/src o [1999/03/25] bin/10785 make aout-to-elf-install died in info tar o [1999/03/25] kern/10789 Second config of kernel doesn't overwrite o [1999/03/26] bin/10805 h2ph incorrectly deals with #error and #w o [1999/03/26] bin/10807 host(1) is broken - multiple options in o o [1999/03/27] bin/10821 des getpwent() fails on NIS clients after dro o [1999/03/29] i386/10862 wd.c STILL cannot recognize correct disk o [1999/03/30] kern/10870 eivind Kernel panic when writing to write-protec o [1999/03/30] misc/10879 Cannot build aout binaries under 3.1-RELE o [1999/03/30] bin/10880 Profiler libraries missing o [1999/04/01] bin/10912 Fix to prevent infinite loops on missing o [1999/04/03] i386/10928 su reboots the system after one day uptim o [1999/04/03] i386/10935 PCI cards detected twice o [1999/04/04] ports/10943ports "ports/print/teTeX-beta# make install" fa o [1999/04/04] ports/10946se kdm 1.1 does not work correctly - XBINDIR o [1999/04/04] conf/10947 Entering daylight time at 2am loses /etc/ o [1999/04/05] bin/10963 brian date -v dosen't quite work o [1999/04/05] i386/10969 kernel fails to compile with ccs0 o [1999/04/06] i386/10983 lnc NIC driver doesn't work o [1999/04/06] bin/10985 make .NOTPARALLEL special target is broke o [1999/04/06] bin/10991 lpd hangs system if printer not ready on f [1999/04/07] ports/11003ports wmcdplay is not capable of playing an AUD o [1999/04/07] kern/11004 Quota Issues on SMP o [1999/04/07] bin/11005 `umount -f' does not work if the NFS-serv o [1999/04/07] bin/11008 3.1 fbsdboot.exe is broken. install.bat i o [1999/04/08] misc/11024 getpwnam(3) uses incorrect #define to lim o [1999/04/10] ports/11059ache ports/security/pgp does not extract o [1999/04/11] kern/11080 fatal trap 18 while trying to mount inval o [1999/04/11] kern/11084 3.1-R kernel trap 12 with interrupts o [1999/04/13] kern/11115 Sockets die in LAST_ACK and FIN_WAIT_1 st s [1999/04/13] ports/11116billf gtk interversion compatibility never work o [1999/04/13] bin/11119 NFS quotas fail to report if alternate fi o [1999/04/14] bin/11137 /bin/ps output loses the values for all p o [1999/04/16] kern/11164 The ie network driver panics during the i o [1999/04/16] bin/11169 warning: pointer to wrong page in cron(8) o [1999/04/18] kern/11199 3.1-RELEASE kernel page fault (trap 12) u o [1999/04/18] i386/11200 AMD PCnet lnc0/lnc1 problem o [1999/04/18] kern/11208 Complete system hang/freeze. No PANIC me o [1999/04/19] bin/11221 comm doesn't obey current locale collatio s [1999/04/20] ports/11239obrien mutt 0.95.4 fails to detect sendmail loca o [1999/04/20] bin/11247 fetch doesn't notice FTP error after RETR o [1999/04/21] kern/11255 Fore System ATM Card not working o [1999/04/21] kern/11266 frequent crashes with "Page fault, fatal o [1999/04/22] bin/11283 fetch http-timeout/timestamp bug o [1999/04/23] i386/11291 anic: ffs_alloccg: map corrupted o [1999/04/23] bin/11296 fetch(1) fails to resolve names in http m o [1999/04/23] kern/11299 Recent kernels have broken symbol tables, o [1999/04/24] bin/11303 whereis(1) doesn't properly handle names o [1999/04/26] conf/11336 Broken data sent to printer through devic o [1999/04/28] kern/11366 Filesystem can cause hang/crash in certai o [1999/04/28] kern/11367 Kernel crashing after mounting read only o [1999/04/28] conf/11376 NFS mount may be happening too soon in /e o [1999/04/29] bin/11382 generated code using rpcgen with -b optio o [1999/04/29] kern/11385 PCNet/PCI Ethernet adapter works in 3.1-R o [1999/04/29] i386/11395 ghostscript5.50 does not print properly, o [1999/04/30] kern/11405 pwd_mkdb with no tmp space leads to kerne o [1999/05/01] kern/11435 IPFW had no per-uid or per-gid rule suppo o [1999/05/02] i386/11454 mkdir() and chdir() doesn't check argumen o [1999/05/03] kern/11462 CS network interface driver (for CS89XX b o [1999/05/03] bin/11464 union copies likely broken for alpha egcs o [1999/05/03] ports/11465ports The port chipmunk will not run. o [1999/05/03] misc/11472 unprivilaged user takes all file descript o [1999/05/04] kern/11490 VESA+VM86+Splash == unstable system o [1999/05/05] kern/11507 CS89XX (i386/isa/if_cs.c) fails to proper o [1999/05/05] kern/11513 cannot mount CD-ROM: Device not configure o [1999/05/05] ports/11515ports new port: net/brouted o [1999/05/05] ports/11521ports Broken openssl port & Apache 1.3.6 o [1999/05/05] misc/11523 3.1-STABLE BRIDGE option does not work o [1999/05/05] misc/11525 [PATCH] Networking patches to increase # o [1999/05/06] ports/11535ports Problems with cyrillic support. o [1999/05/07] gnu/11562 tar verification doesn't work o [1999/05/07] kern/11563 pci_unmap_int doesn't do anything o [1999/05/08] i386/11575 sio.c silo overflows during X usage o [1999/05/10] ports/11636jfitz p5-Mail-Folder missing dependencies o [1999/05/11] bin/11651 markm inetd's childs staying around after a sca o [1999/05/11] conf/11654 Linksys PCI 10/100 Ethernet cards not wok o [1999/05/11] ports/11656andreas lyx-port needs a patch until the next LyX o [1999/05/12] i386/11664 lnc1 NIC fail to work o [1999/05/12] bin/11666 ypserv fails to reply host name resolutio o [1999/05/12] kern/11675 Another quirk entry for scsi_sa.c o [1999/05/12] kern/11679 httpd and perl5 processes stuck in "nocha o [1999/05/13] kern/11686 APM: Always "Resume failure" from suspend o [1999/05/13] kern/11692 3.1-stable deadlock o [1999/05/13] bin/11696 Signal handling is broken in libc_r. o [1999/05/13] kern/11697 Disk failure hangs system o [1999/05/13] bin/11706 FreeBSD will not install with certain Ada o [1999/05/14] i386/11720 FreeBSD 2.2.8 can't load fixit disk o [1999/05/16] bin/11739 3.1-STABLE build failure (mkdep inetd fai o [1999/05/17] kern/11754 tx driver, SIOCGIFADDR ioctl does not wor o [1999/05/18] kern/11766 Can not traceroute through ipnat. o [1999/05/18] i386/11773 mouse works at setup time. Under X it go o [1999/05/19] misc/11778 mpz_get_str() in libgmp leads up to cored o [1999/05/19] kern/11782 boot -s still goes into multi-user mode o [1999/05/19] misc/11790 boot manager bug o [1999/05/20] misc/11797 Partial saves in vipw have mode rw-rw-rw- o [1999/05/20] misc/11800 gibbs Problem with scsi AHA2940 and sony SDT-20 o [1999/05/20] i386/11801 Remounting CD on IDE CDROM after eject fa o [1999/05/20] ports/11807jfitz Port update: net/ratoolset o [1999/05/20] kern/11808 read/write mounted write-protected floppi o [1999/05/21] kern/11815 mjacob SCSI tape driver fails on media type reco o [1999/05/21] kern/11821 /dev/fd0a hangs on large files, including o [1999/05/21] bin/11828 Patch for aout "ld.so" difficulties o [1999/05/22] docs/11852 jkh 3.X install requires 12MB of RAM, not 8 o [1999/05/23] ports/11865ports Xemacs 21 Packages port o [1999/05/23] kern/11867 Sound driver loses interrupts, no sound o [1999/05/28] bin/11910 new patch for from_local.c o [1999/05/28] kern/11911 3.1-R : writing file larger than floppy s o [1999/05/28] conf/11913 Problem about /stand/sysinstall and /etc/ o [1999/05/28] kern/11915 access system call says file is readable o [1999/05/28] kern/11919 kldload doesn't return error on loading a o [1999/05/28] kern/11922 missing reentrant interfaces for getpwnam o [1999/05/29] kern/11928 kldload loads kernel modules even if ther o [1999/05/29] ports/11935ports ports/audio/dap: -DBIGENDIAN is wrong on o [1999/05/29] kern/11936 linux threads are partly broken for SMP o o [1999/05/29] kern/11937 vm problems after havy memory usage o [1999/05/29] ports/11939mharo Upgrade of wmsound to 0.9.5 o [1999/05/30] conf/11950 /etc/hosts.allow confuses tcp wrapper a [1999/05/31] kern/11961 3c509b (xl0) ethernet driver unable to ma o [1999/05/31] kern/11965 kldload doesn't produce linker file upon o [1999/05/31] kern/11969 VM_fault with mmap'd CDROM data. o [1999/06/01] docs/11975 asami [PATCH] 3.2-stable upgrade kit missing fr o [1999/06/01] ports/11977ports Eterm port is unable to access .Xauthorit o [1999/06/02] i386/11991 fdisk does not assign slices to unused pa o [1999/06/02] bin/11992 /usr/src/sbin/mountd/mountd.c has '#ifdef o [1999/06/02] kern/11995 smp kernel panics when accessing cyclades o [1999/06/02] ports/11996obrien Fix for mutt sending content-type video a o [1999/06/03] ports/12015ports new postfix port o [1999/06/03] kern/12019 Getting Error Can't Assign requested addr o [1999/06/04] kern/12022 System clock timewarps o [1999/06/06] bin/12054 explicit -ltermcap after -lncurses causes o [1999/06/06] ports/12059ports math/siag port fixed, upgraded to 3.1.16 o [1999/06/06] kern/12062 sa tape driver with Cipher 60M SCSI QIC t f [1999/06/07] bin/12070 des FTP_PASSIVE_MODE exposes bug in ftp(1). 625 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- a [1995/01/11] i386/105 bde Distributed libm (msun) has non-standard s [1995/01/14] bin/115 systat iostat display doesn't scale high s [1995/05/13] bin/401 Add REMOTE_* variables a [1995/05/27] gnu/450 tar --exclude -c doesn't work s [1995/06/15] bin/517 Bad group change with 'install' o [1995/07/09] misc/605 wpaul NIS: get*bynis routine problems s [1995/08/05] gnu/655 ld -r of shared objects worked in 1.1.5, s [1995/08/07] bin/658 ifconfig alias has to be separately given s [1995/09/26] kern/742 syslog errors accessing Mac hard disks [p s [1995/10/03] kern/765 umount -f can`t umount a NFS filesystem i s [1995/11/20] kern/831 one minor complaint about the kernel visu s [1995/11/27] bin/841 stale nfs mounts cannot be umounted o [1995/11/30] bin/854 dg swapinfo shows incorrect information for o [1995/12/17] kern/900 dg ext2fs triggers divide by zero trap in vn a [1996/01/30] bin/981 fenner clnt_broadcast() is not aware of aliases s [1996/03/20] kern/1090 iostat displays incorrect sps count s [1996/03/20] bin/1093 route's diagnostic is weird o [1996/04/06] kern/1119 dg Mounted EXT2FS partition is not cleanly u s [1996/06/11] bin/1312 automounter hangs on boot s [1996/06/13] bin/1320 dump limits blocksize to 32K s [1996/07/07] bin/1375 jraynard Extraneous warning from mv(1) [PATCH] o [1996/07/24] misc/1428 ncurses doesn't always display ALTCHARSET s [1996/08/17] bin/1502 [PATCH] vmstat 'avm' field merges with pr o [1996/08/19] kern/1514 dg mlock fails on readonly regions o [1996/08/20] kern/1516 dg vm_fault.c contains dead code or too many o [1996/09/06] bin/1577 peter mail -f foo does not look in current dire s [1996/09/08] bin/1589 [PATCH] ftp fails to flush output o [1996/09/14] gnu/1611 phk groff should use "system-wide" papersize s [1996/09/19] kern/1654 [PATCH] In procfs, vattr doesn't contain o [1996/09/23] i386/1671 joerg s2 map in pcvt isn't ISO 8859-1 and claim o [1996/09/29] docs/1691 dwhite ppp server doc submission s [1996/10/13] misc/1791 syslimits.h does not allow overriding def o [1996/10/20] bin/1849 gdb sets library breakpoints on the wrong s [1996/10/24] bin/1881 file(1) misidentifies Sun3/m68k executabl s [1996/11/01] bin/1941 danny wtmp and monthly rotation s [1996/11/01] bin/1943 route(8) args s [1996/11/02] bin/1945 Out of date code/comments in dd o [1996/11/04] i386/1953 sos syscons savers have no default timeout s [1996/11/04] gnu/1961 [PATCH] uucp logging files are in /var/sp s [1996/11/06] bin/1970 csh limtail() bug s [1996/11/16] bin/2036 cpio size wraparound s [1996/11/19] bin/2061 DEBUG_FLAGS in bsd.lib.mk is broken s [1996/11/19] bin/2065 in tzsetup/sysinstall, allow user to type s [1996/11/22] bin/2090 clients may bind to FreeBSD ypserv refusi s [1996/11/28] bin/2119 [PATCH] mount lies to child about argv0, s [1996/12/02] bin/2137 vm statistics are bad o [1996/12/08] bin/2184 peter sendmail has lots of trouble with local d s [1996/12/12] kern/2199 joerg [PATCH] Got a lots of "Target Busy" messa s [1996/12/14] bin/2216 [PATCH] Ada specs not being compiled into o [1996/12/17] i386/2239 jmg some interrupts take too long (i.e. BT946 a [1996/12/21] bin/2265 guido su(1) does not call skeyaccess() o [1996/12/24] kern/2273 dufault support for POSIX.4 / POSIX.1a RT-schedul s [1996/12/26] bin/2291 [PATCH?] race condition in /etc/master.pa s [1996/12/27] kern/2298 Support for DSR/DCD swapping on serial po a [1996/12/27] misc/2302 brandon new crypt() including SHS and an extendab o [1996/12/29] bin/2315 peter tail segfaults on NFS permission denied s [1996/12/30] kern/2327 [PATCH] `Green' saver for pcvt o [1997/01/06] bin/2387 [PATCH] virtual hosting patches for inetd o [1997/01/07] kern/2393 filesystems not unmounted following shutd o [1997/01/10] bin/2442 davidn setusershell()/endusershell() missing o [1997/01/12] kern/2462 sos screen saver dosn't capture key strokes o [1997/01/14] kern/2492 AIMS Lab RadioTrack driver for FreeBSD 2. o [1997/01/26] i386/2598 ep0 in EISA mode hangs if ep0-device (ISA o [1997/01/28] bin/2603 dufault Added POSIX.4/POSIX.1b constants in unist o [1997/01/28] bin/2604 dufault Added POSIX.4/POSIX.1b shm_open()/shm_unl o [1997/02/02] gnu/2637 tar dumped core with -g option. a [1997/02/02] bin/2641 wpaul login_access.c doesn't work with NIS by d o [1997/02/05] bin/2668 modification suggested for rarpd o [1997/02/10] bin/2703 jmg vipw doesn't allow you to edit master.pas o [1997/02/10] kern/2704 Occasional failure to detect wdc1 on boot o [1997/02/11] kern/2716 od.c/sd.c non 512 byte/sector support imp o [1997/02/13] i386/2729 "make tags" in sys/kern produces barely u o [1997/02/14] bin/2737 yppasswd fails to change password on a su o [1997/02/15] misc/2745 fenner PR querry web form doesn't sort correctly o [1997/02/23] kern/2806 new kernel tags script o [1997/02/26] conf/2822 ftp install specifying URL confusing o [1997/03/02] bin/2851 script(1) sets argv[0] of the started she o [1997/03/03] kern/2857 DE500 board exhibits capture effect o [1997/03/03] bin/2859 /usr/bin/quota seems to choke on long gro o [1997/03/03] kern/2865 peter NFS client hangs on umount, ls, df when N o [1997/03/06] docs/2897 steve send-pr categories should be explained so o [1997/03/06] bin/2898 fenner arp -a -n buglet o [1997/03/10] bin/2934 sh(1) has problems with $ENV o [1997/03/10] bin/2938 hoek Add -b, -l, and -f options to du(1) o [1997/03/18] misc/3024 make reinstall in /usr/src requires writa o [1997/03/22] kern/3061 route does not accept -genmask o [1997/03/31] gnu/3157 Patches to gas and gdb to support MMX ext o [1997/04/07] bin/3221 rpc.rusersd : can't communicate with SunO o [1997/04/07] misc/3225 [PATCH] uucpd.c should normalize host nam o [1997/04/08] misc/3237 SCRIPTS addition to bsd.prog.mk o [1997/04/09] bin/3242 incorrect prototype for initgroups o [1997/04/10] bin/3251 xsysinfo stops refreshing and wastes CPU o [1997/04/14] kern/3281 errors when "rm -r"-ing in a mounted ext2 o [1997/04/14] kern/3282 ext2fs causes fs-unmount at shutdown/rebo o [1997/04/14] bin/3284 [PATCH] symorder(1): -t option doesn´t wo o [1997/04/14] bin/3286 [PATCH] missing error checking in mount_m o [1997/04/14] kern/3287 [PATCH] missing symbols in /usr/src/sys/i o [1997/04/15] kern/3299 /dev/console hangs o [1997/04/17] bin/3314 [PATCH] /etc/daily did not run on April 6 o [1997/04/27] bin/3399 mv of symbolic link can move directory in o [1997/04/29] bin/3416 ibcs emulation problems o [1997/05/05] i386/3504 [PATCH] New features (and manpage) for ne o [1997/05/05] bin/3508 FreeBSD 2.2.1 do not view SCSI disk at sw o [1997/05/08] kern/3546 ktrace works even if no read permission o [1997/05/08] gnu/3552 the -L option of tar does not work proper s [1997/05/09] kern/3571 Mounted ext2 prevents umount of filesyste o [1997/05/12] kern/3584 luigi cleanup TCP_REASS macro in tcp_input.c o [1997/05/16] bin/3608 Telnet in linemode will break apart long o [1997/05/17] kern/3611 Internal CPU cache on CyrixiInstead DX2 d o [1997/05/18] gnu/3616 permissions of /usr/libexec/uucp/uuxqt no o [1997/05/20] docs/3645 torstenb TCP_wrappers package doesn't mention wher s [1997/05/21] bin/3648 roberto [PATCH] find(1) extension for file flags s [1997/05/22] kern/3667 [PATCH] make vn LKM'able. o [1997/06/02] bin/3762 dufault Bogus return values from rtprio(1) o [1997/06/07] bin/3805 single process tftpd o [1997/06/09] bin/3826 KerberosIV sometimes hangs rcp o [1997/06/10] bin/3837 dufault new feature for rtprio o [1997/06/12] kern/3853 luigi netboot/ns8390.c breaks NS datasheet o [1997/06/14] bin/3866 rcs2log fails with eastern timezones o [1997/06/15] kern/3879 peter Can't export mounted ext2fs via NFS o [1997/06/16] conf/3886 peter install does not build sendmail host stat o [1997/06/18] kern/3901 Multicast for Intel 10/100 Ethernet Card o [1997/06/19] misc/3912 ctags(1) cannot trace some macro correctl o [1997/06/23] kern/3938 peter Problem about mmap() over NFS o [1997/06/24] kern/3944 if_le doesnt receive ether multicast pack o [1997/06/25] kern/3948 nonworking t/tcp server side a [1997/06/25] kern/3953 kern-config: options PANIC_REBOOT_WAIT_TI o [1997/06/26] i386/3962 print disk internal cache size during pro o [1997/06/27] kern/3968 Hardware probes die on Peak SBCs. o [1997/06/29] ports/3983 fenner New port: psf toolkit o [1997/07/07] kern/4051 pppd connect 'chat ...' broken s [1997/07/07] kern/4052 VJ compression drops packets with IP+TCP o [1997/07/18] bin/4116 davidn Kerberized login as .root fails to o [1997/07/23] kern/4153 New tcp initial send sequence number code s [1997/07/23] bin/4154 wish /bin/sleep handled fractions of a se s [1997/07/24] bin/4157 [PATCH] netstat atalk output should print o [1997/07/24] bin/4163 archie ftp core dumps after hitting control-C s [1997/07/26] bin/4172 suggest reconnection option added to fetc s [1997/07/28] kern/4184 [PATCH] minor nits in sys/netatalk s [1997/07/31] bin/4204 [PATCH] ac printed wrong report about tty f [1997/08/03] kern/4221 brian Kernel mode pppd doesen't update wtmp on o [1997/08/04] conf/4229 Ethernet interface unreachable on bootup o [1997/08/06] bin/4238 chpass only occasionally works in conjunc o [1997/08/07] kern/4243 file locking doesn't work for pipe o [1997/08/07] bin/4247 modification to /etc/security for FreeBSD o [1997/08/08] misc/4249 wpaul ypchsh doesn't care about changing a user a [1997/08/09] kern/4255 SMP kernel freezes on machines with >2 CP o [1997/08/12] misc/4285 SDL RISCom/N2 (ISA) a [1997/08/13] gnu/4290 ache man wrong viewed koi8-r manpages and neqn o [1997/08/13] kern/4297 dufault SIGEV_NONE and SIGEV_SIGNAL go in signal. o [1997/08/13] i386/4300 msmith The initial timeout on open("/dev/lpt0".. o [1997/08/14] ports/4304 asami Recommendation re. Ports Collection o [1997/08/22] ports/4356 erich sudo shouldn't block signals in tgetpass( o [1997/08/23] conf/4363 kernel build depend on make obj o [1997/08/29] kern/4413 No way to unmount a floppy that goes bad o [1997/08/29] misc/4414 be.iso.kbd errors in mapping o [1997/08/29] bin/4419 man can display the same man page twice o [1997/08/29] bin/4420 find -exedir doesn't chdir for first entr o [1997/09/03] bin/4459 bde No prototype for moncontrol(3) and monsta o [1997/09/04] misc/4468 dlopen is not available from static execu o [1997/09/07] bin/4484 peter sendmail is barfing o [1997/09/13] kern/4528 processes hang if the mount_portal proces a [1997/09/14] i386/4538 sos byteswapped ATAPI id strings o [1997/09/14] bin/4545 f77 will only call `cc', no com-line opti f [1997/09/15] i386/4547 luigi asc.c and pcaudio.c should use selrecord o [1997/09/16] misc/4556 make can't build executable from single F o [1997/09/21] kern/4597 Patch to pass NPX status word in signal c o [1997/09/21] kern/4601 Contrib: userconfig patch to edit SCSI co o [1997/09/25] bin/4629 calendar doesn't print all dates sometime o [1997/09/28] misc/4646 Can't fixit with an NFS-mounted CD. o [1997/09/29] conf/4654 Need to do post-ifconfig commands o [1997/10/04] bin/4688 peter sys/utsname.h SYS_NMLN 32 too small o [1997/10/05] bin/4695 pstat error o [1997/10/05] bin/4696 ping hangs on certain unresolvable hosts o [1997/10/05] bin/4697 make doesn't handle dependencies with for o [1997/10/15] gnu/4771 diff to correct misleading total bytes in o [1997/10/22] bin/4828 ypxfr makes false assumption about RPC ca o [1997/10/24] kern/4845 Boot complains about disk slices in FAT p o [1997/10/24] kern/4847 pccard stuff fails after running Win95 wi o [1997/11/01] bin/4915 peter NFS mounts to linux machine can hang syst o [1997/11/02] bin/4923 vi leaves the screen in standout mode o [1997/11/07] bin/4969 cdcontrol plays incorrect audio tracks in o [1997/11/08] bin/4975 quotaon while server very busy causes loc o [1997/11/09] kern/4992 SCSI disk scheduling disabled in 2.2.5 o [1997/11/10] kern/4997 DDB_UNATTENDED doesn't always work o [1997/11/11] kern/5009 ibcs2 emulation o [1997/11/11] kern/5011 rndcontrol -s 8 causes kernel panic o [1997/11/13] bin/5031 lpr does not remove original file if -s i o [1997/11/13] ports/5034 ache (tcsh) blocked write on named pipe sticks o [1997/11/14] gnu/5039 libdialog fails to resore terminal o [1997/11/14] kern/5040 Support for "SCSI-0" devices o [1997/11/14] kern/5048 Calling shutdown(fd,1) multiple times wil o [1997/11/15] kern/5059 peter mountd, nfsd, etc. fail when lp0 defined o [1997/11/15] kern/5060 Kernel doesn't compile with mss o [1997/11/20] kern/5108 pmap_release panics with 'freeing held pa o [1997/11/20] kern/5110 kernel crash & core in pmap_testbit durin o [1997/11/23] bin/5134 cdcontrol will eject a mounted CDROM o [1997/11/26] misc/5153 jkh release file checksums in wrong file s [1997/11/28] bin/5173 [PATCH] restore ought to deal with root s s [1997/11/30] i386/5182 bde [PATCH] A patch support high speed serial o [1997/12/09] bin/5263 sh bug (with example) s [1997/12/11] kern/5275 [PATCH] Added volume (barcode) support to o [1997/12/14] conf/5292 master.passwd -- /nonexistent vs. /sbin/n s [1997/12/14] bin/5296 slattach fails creating pidfile with ioct o [1997/12/22] kern/5362 peter mount incorrectly reports / as an NFS exp f [1997/12/30] i386/5398 silo overflows running o [1998/01/02] bin/5410 pkg_info options s [1998/01/03] bin/5419 [PATCH] timed rejects valid networks with o [1998/01/08] kern/5429 Ethernet collision during file transfers s [1998/01/08] kern/5435 [PATCH] if_fe.c for old Gateway Communica s [1998/01/08] bin/5444 [PATCH] ypserv uses wrong dns lookup orde s [1998/01/08] bin/5451 roberto [PATCH] halt/reboot does not execute /etc o [1998/01/11] bin/5483 Login(1) clears utmp entry o [1998/01/15] kern/5502 nfsd process usage doesn't get accounted o [1998/01/15] kern/5508 SCSI Message sd0: COMMAND FAILED (4 28) @ s [1998/01/16] kern/5510 sos [PATCH] Incomplete ATAPI diagnostic at bo o [1998/01/18] kern/5517 Recursive NULLFS mount causes ufs_ihashge s [1998/01/20] misc/5531 [SUBMISSION] new library function abs2rel s [1998/01/20] kern/5532 [PATCH] Dropped packet counts are inaccur o [1998/01/21] bin/5537 vi dumps core with dodgy exrc file o [1998/01/24] i386/5559 PC-Card joystick ports were not supported o [1998/01/26] kern/5577 bde Unnecessary disk I/O and noatime ffs fixe a [1998/01/28] bin/5591 Trouble with LD_PRELOAD environment varia o [1998/01/31] bin/5609 lpd cannot send long files to HP's JetDir a [1998/02/02] ports/5626 billf 'ldap' port eats all available CPU time o [1998/02/02] kern/5627 Tertiary/Quaternary IDE Ctlrs: A few kern o [1998/02/05] misc/5662 sysinstall generates short dev names for o [1998/02/06] bin/5666 ifconfig fails to add alias o [1998/02/06] kern/5672 Crash from scsi aborted command 'Overlapp o [1998/02/09] kern/5689 sysctl vm.vmmeter - bogus and unsupported o [1998/02/10] bin/5711 bin/cat code cleanup o [1998/02/10] bin/5712 /bin/chio code cleaup and option added o [1998/02/10] bin/5717 pw -D -g "" returns error o [1998/02/10] bin/5718 pkg_delete refuses to run as non-root o [1998/02/14] bin/5745 [PATCH] Add /usr/local/share/mk to defaul o [1998/02/14] bin/5746 bootparamd will not netboot sun 3 compute o [1998/02/14] bin/5747 ld.so error message o [1998/02/15] bin/5758 sys/resources.h doesn't include sys/time. o [1998/02/17] kern/5768 Shutdown aborts syncing, when sync isn't o [1998/02/18] i386/5784 ibcs2 emulation not handling ioctl(..FION o [1998/02/19] ports/5788 joerg pcemu harddisk-access fixes o [1998/02/19] kern/5789 wcd0 requires ATAPI_STATIC o [1998/02/19] kern/5795 Panic: "bremfree: removing a buffer when o [1998/02/20] misc/5803 "tab" function from "ee" not compatible w o [1998/02/25] gnu/5841 installmost or install (world) of tmac fa o [1998/02/25] bin/5847 Makeworld fails if CXXFLAGS is set. s [1998/02/25] misc/5855 /etc/services is out of date with IANA o [1998/02/26] bin/5857 non-functional lpr/lpr o [1998/02/26] kern/5863 Kernel support for sorted SHUTDOWN & SHUT o [1998/03/01] bin/5880 df -t does not support devfs o [1998/03/01] ports/5884 dburr New port: icqjava-0.981a (net/icqjava) o [1998/03/02] bin/5901 new version of `fmt' o [1998/03/03] bin/5912 kinit exits if no user name specified o [1998/03/06] kern/5931 dma errors in syslog with GUS-max o [1998/03/06] i386/5932 perfmon kernel code should check for non- o [1998/03/08] bin/5944 cvs doesn't work correct. o [1998/03/10] kern/5964 peter nfsd send interface selection seems broke o [1998/03/10] bin/5966 vi's spanish message catalog does not use o [1998/03/10] kern/5967 upg from 2.1.7.1/2.2.1 to 2.2.5-stable (a o [1998/03/10] ports/5972 andreas x11/fvwm95 requiring gsm, and rplay is a o [1998/03/11] gnu/5982 no error exit code from tar on child fail o [1998/03/12] gnu/5992 cvs y2k o [1998/03/13] bin/6000 kadmin ank uses bad default expiration of o [1998/03/15] bin/6015 indent(1) breaks source with backslash ne o [1998/03/16] kern/6032 poor TCP performance using FDDI over long s [1998/03/18] ports/6053 kuriyama new port request: korean/hanIM o [1998/03/18] misc/6060 peter Sendmail executable, not doing MASQUERADE o [1998/03/22] conf/6096 /sys/i386/conf/LINT: edit(???) sound_conf o [1998/03/22] gnu/6107 gdb should support PRINTF_HAS_LONG_LONG o [1998/03/28] bin/6156 Patches to make dump understand ENOSPC o [1998/03/28] bin/6161 2.2.6 kerberos servers are awfully visibl o [1998/03/29] ports/6170 peter another squid ports o [1998/03/30] ports/6181 dburr New port: xoj-1.0 o [1998/03/31] bin/6183 quota hangups o [1998/03/31] kern/6184 No error if resulting file pos in lseek i o [1998/04/01] bin/6187 peter mounting nfs directories with -b can caus o [1998/04/02] bin/6198 demangling C++ names breaks the Cygnus -f o [1998/04/03] bin/6200 flex can be upgraded o [1998/04/03] bin/6202 No way to detect removable media. o [1998/04/03] bin/6206 Enhancements to the shutdown program o [1998/04/04] kern/6213 peter NFS-mounted swap (via vnconfig) easily cr o [1998/04/04] bin/6214 ping sometimes cannot be killed with a Co o [1998/04/05] conf/6220 Too few ttyv devices in the -RELEASE syst s [1998/04/06] bin/6223 PST/DST bug in /bin/date o [1998/04/06] ports/6230 rse gfont_mkgdf calls wrong interpreter o [1998/04/06] bin/6234 ypserv -d is broken f [1998/04/07] kern/6247 Gravis UltraSound Classic no longer works o [1998/04/14] docs/6295 doc Reference to nonexistent file in Device D o [1998/04/14] kern/6296 IP_HDRINCL sockets force header fields to a [1998/04/14] kern/6299 vmstat -i does not show PnP device interr o [1998/04/15] docs/6307 doc sgmlfmt not `make -jN' ready s [1998/04/15] bin/6314 [PATCH] /usr/sbin/ac modification s [1998/04/16] ports/6315 kuriyama new port request: korean/htm o [1998/04/16] kern/6318 pppd does not update wtmp on hangup o [1998/04/16] misc/6320 Sometimes nohup isn't good enough. o [1998/04/17] bin/6332 bde /usr/include/time.h doesn't compile with o [1998/04/17] gnu/6338 Gnu tar not working properly with the -G o [1998/04/18] conf/6346 Kernel version strings need to relate to o [1998/04/20] bin/6359 routed does sent router discovry solicita s [1998/04/20] bin/6371 [PATCH?] fetch(1) uses HTTP_PROXY for ftp a [1998/04/27] kern/6432 IFF_NOARP does not affect ethernet interf o [1998/04/28] ports/6445 jkoshy New port: `fhist' o [1998/04/30] kern/6464 tcpdump doesn't recognize tun0 when it's o [1998/05/03] kern/6495 Need pci_unmap_mem and pci_unmap_port rou s [1998/05/04] bin/6509 [ALMOST PATCH] Allow dd to seek/skip to o s [1998/05/05] bin/6521 [MAYBE PATCH] "rmdir -p x/y/z/" fails o [1998/05/07] kern/6544 luigi Only get one channel through sound card o [1998/05/07] ports/6546 ache 3line ansi prompt in tcsh: cursor disappe o [1998/05/11] i386/6595 Old IP address persistent after change o [1998/05/12] misc/6612 bsd.man.mk can't handle man pages with ": o [1998/05/13] kern/6623 non-root user can crash system if disconn o [1998/05/13] conf/6624 davidn One class with nologin=/etc/nologin: reje o [1998/05/15] kern/6651 peter Possible NFS deadlock clue f [1998/05/16] bin/6653 The rc script sometimes produces errors w s [1998/05/16] bin/6658 [PATCH] -stable getcwd(3) performs unnece s [1998/05/17] kern/6668 [PATCH] new driver: Virtual Ethernet driv s [1998/05/18] bin/6676 [PATCH] natd doesn't respond to signals w o [1998/05/19] ports/6699 ports New port: the Generic NQS system s [1998/05/21] conf/6711 [PATCH ?] I've seen that fortune before a [1998/05/26] misc/6759 phk buggy code in libdisk.a's disk.c o [1998/05/26] kern/6760 can't compile kernel w/o networking o [1998/05/26] kern/6769 peter panic: nfs rcvunlock s [1998/05/29] kern/6781 [PATCH] exabyte changer doesn't grok LUNs s [1998/05/29] bin/6785 place for all the default dump flags f [1998/05/31] ports/6813 fenner patched audio module for vat port o [1998/06/01] ports/6815 torstenb ssh lookup ignores second IP address s [1998/06/01] kern/6819 [PATCH] pci_unmap_int (pci/pci.c) does no o [1998/06/01] kern/6820 cd9660_mount NULL pointer deref for no CD o [1998/06/06] kern/6874 accounting prevents transition to multi u o [1998/06/13] misc/6936 sysinstall: install from MS-DOS MO divece o [1998/06/18] kern/6981 CD unmount w/o CD in drive can cause pani s [1998/06/19] bin/6995 [patch] Minor flaw in fdformat s [1998/06/19] bin/6997 [patch] vnconfig "open" error message con s [1998/06/21] kern/7014 [PATCH][STABLE] Add support for SiS 5591 o [1998/06/22] bin/7021 asami Size estimation patches to pkg_* o [1998/06/22] bin/7022 asami changes to bsd.port.mk to accompany PR bi o [1998/06/22] bin/7023 asami bsd.port.(%|subdir.).mk patches for size f [1998/06/23] kern/7029 gibbs cdrecord and aic7880 troubles f [1998/06/23] i386/7031 Our RocketPort port does not support DEVF s [1998/06/24] kern/7044 [PATCH] WaveLAN (2.4G, ISA, full-length b s [1998/06/24] bin/7063 mount fails if $PWD does not exist o [1998/06/25] docs/7065 wosch FreeBSD webpages -> applications, port br f [1998/06/25] bin/7068 markm /usr/bin/perl: library path addition s [1998/06/26] kern/7085 [patch] maybe_resched() priority check co s [1998/06/28] kern/7095 [stable] Gravis MAX in 2.2.6 suffers from s [1998/06/28] i386/7100 integrate pcvt configuration into the /et s [1998/06/28] bin/7101 ru /sbin/ipfw unexpected variant treatment o s [1998/06/29] bin/7117 flex -I option is broken s [1998/07/01] bin/7136 kerberized telnetd doesn't use gettytab % s [1998/07/02] kern/7146 The PCCARD doesnt recognize cards in top s [1998/07/05] kern/7177 [PATCH] Support for "Video Highway Xtreme s [1998/07/06] bin/7184 /usr/games/robots fails to write high sco s [1998/07/08] kern/7210 [PATCH] od(4) bug fixes and enhancements, s [1998/07/10] misc/7232 Suggestion for FreeBSD installation dialo o [1998/07/10] kern/7234 yokota keyboard problems during login immediatel f [1998/07/10] misc/7239 ping(8) and traceroute(8) may report erra o [1998/07/12] kern/7259 -current: GENERIC and SMP-GENERIC out of o [1998/07/12] bin/7265 A warning flag is added to ln(1). o [1998/07/13] ports/7268 asami MASTER_SITE_OVERRIDE works more better o [1998/07/14] kern/7282 some old and rarely used drivers have app o [1998/07/14] ports/7283 ache tcsh / LC_CTYPE - obscure problem. o [1998/07/15] bin/7287 Incorrect domain name for MAP_UPDATE in m o [1998/07/16] bin/7298 Improvements to ln(1). a [1998/07/19] bin/7324 wosch Suggestions for minor modifications to ad o [1998/07/21] conf/7348 Default answer 'NO' in network configurat o [1998/07/21] bin/7352 libc generates spurious warnings when use a [1998/07/23] ports/7375 dburr New port request: audio/xsplay f [1998/07/23] kern/7377 we have a new digiboard driver supporting s [1998/07/29] i386/7426 Bugs in macro definitions of pthreads. a [1998/07/31] docs/7456 doc dialog(3) man page outdated o [1998/08/01] ports/7464 dburr New port: WMakerconf o [1998/08/03] ports/7485 vanilla New port: Xterminal-0.2 s [1998/08/09] kern/7546 [PATCH] [STABLE ?]shutdown -p - system po f [1998/08/12] kern/7589 Tulip Driver parses SROM contents wrong f [1998/08/13] conf/7606 NIS Makefile.dist: NOPUSH replaced by REM o [1998/08/13] bin/7607 GTAGS patch for nvi has posibility of buf o [1998/08/14] kern/7619 odd nfs server not responding messages ap o [1998/08/16] ports/7628 dburr new port: sajber-jukebox o [1998/08/16] bin/7632 Race condition in /stand/sysinstall o [1998/08/18] bin/7669 libalias does not IRC DCC packets under c o [1998/08/19] ports/7680 billf New port of tn5250 o [1998/08/19] conf/7682 Cron logfile in the wrong place o [1998/08/19] gnu/7687 description of default baud rate for cu c o [1998/08/20] kern/7693 Misleading warning in cblock_alloc_cblock o [1998/08/20] bin/7694 bogus error-message from route(8) o [1998/08/22] kern/7722 Changes to acct format o [1998/08/23] bin/7728 ftpd processes hang a [1998/08/25] misc/7741 enhancement to tcpdump to print LCP/PAP/C o [1998/08/27] bin/7753 arp command fails silently on invalid pro o [1998/08/27] misc/7759 proflibs installation error, libcrypt_p.a o [1998/08/28] misc/7771 Debugging putenv/getenv o [1998/08/29] ports/7774 torstenb sshd doesn't refuse to login people with o [1998/08/29] bin/7779 [PATCH] modload should detect stripped ke o [1998/08/30] kern/7782 Kernel rebuild not correctly responding t o [1998/08/30] bin/7786 quota.h has superfluous semicolon in macr a [1998/08/31] docs/7791 doc ipf(1) and ipfstat(1) should have been ip o [1998/09/01] gnu/7800 tar(1) does not recognize --gunzip option o [1998/09/02] ports/7814 andreas postgreqsl docs are broke o [1998/09/02] i386/7816 [Patch] NE2000 PnP card IDs to sys/i386/i o [1998/09/03] bin/7826 ls(1) knows too much about format of strf o [1998/09/03] bin/7828 Add a command line option to cp to make i o [1998/09/05] kern/7837 patches to add a p_auth extension pointer o [1998/09/07] ports/7845 tg Unbuffered /dev/vx0-output from Python 1. o [1998/09/07] bin/7846 /sbin/mount_* do not canonicalize the mou o [1998/09/07] misc/7850 lt_LT.* locale o [1998/09/07] bin/7855 cpp should define __ELF__ if objformat = o [1998/09/07] kern/7856 Patches to add lkm hooks to cmsg_data anc o [1998/09/08] bin/7860 Extra option to pr(1). s [1998/09/08] bin/7868 [almost patch]Morse Code Fixups o [1998/09/08] bin/7869 Improved error messages from apm o [1998/09/09] misc/7873 poor initial configuration and documentat f [1998/09/09] ports/7875 dwhite NEW PORT: lcdproc o [1998/09/11] bin/7895 multiple identical NFS mounts accepted o [1998/09/11] kern/7903 unmatched '{}' blocks. o [1998/09/13] docs/7914 doc no elf(5) manpage f [1998/09/14] conf/7928 Patch to allow execution of an IPFW shell o [1998/09/15] ports/7932 torstenb man zshall doesn't work o [1998/09/16] misc/7946 ccdconfig gives confusing error when give o [1998/09/17] bin/7962 /usr/bin/ee prompts "save changes" when f o [1998/09/18] bin/7973 lpd: Bad control file owner in case of re o [1998/09/19] kern/7990 patch - teach kernel about RB_POWEROFF fl o [1998/09/19] ports/7992 ports New port: xemacs20-stepwise (XEmacs20 hac o [1998/09/20] bin/7998 pkg_add seems to have unneeded umask o [1998/09/20] misc/8005 yokota Keyboard freezes going from KDE to text m o [1998/09/21] kern/8011 libc_r does not have pread() or pwrite() o [1998/09/21] kern/8015 [patch] Some sysctl descriptions for the o [1998/09/24] ports/8042 torstenb If pidentd dies, you must kill all telnet o [1998/09/26] bin/8060 install ignores the +X mode flag o [1998/09/27] conf/8061 profiling utilities seperate from profili o [1998/09/27] ports/8063 asami [PATCH] Add multiple CDROM support to bsd o [1998/09/29] bin/8084 NIT: non-working code in rshd o [1998/10/02] i386/8131 [patch] Support for PCI NE2000 compatible o [1998/10/03] misc/8133 markm [patch] bug in telnetd (Kerberos IV) o [1998/10/03] bin/8134 End of game is not recognised immediately o [1998/10/03] misc/8139 [patch] missing /usr/src/share/examples/d o [1998/10/04] bin/8142 freebsd 2.2.7 implementation of key(1) [s o [1998/10/04] i386/8146 [patch] kzipboot serial console setup and a [1998/10/06] bin/8163 [patch] It is impossible to assign quotas o [1998/10/06] bin/8164 [patch] repquota incorrectly reports quot o [1998/10/06] i386/8171 [patch] Intel EtherExpress Pro 100 suppor o [1998/10/07] misc/8202 semop() is not wrapped for thread safety o [1998/10/08] bin/8211 Script to search kernel for an address o [1998/10/08] ports/8217 ache www/netscape4-*: avoid `ns-install' o [1998/10/12] bin/8295 order of options in printcap causes some f [1998/10/13] bin/8301 des "ls -B" and "ls -b" misprint o [1998/10/13] conf/8303 3.0-981009-BETA can't make swap device on o [1998/10/13] kern/8311 kernel panic on de0 o [1998/10/16] misc/8346 Strftime can't generate ISO-8601 timezone o [1998/10/16] bin/8347 /usr/lib/compat build issues in 3.0 RELEA o [1998/10/16] bin/8348 [PATCH] zforce(1) is broken: fix o [1998/10/16] kern/8349 [PATCH] Changer definition for SureStore f [1998/10/17] misc/8357 Segmentation fault while making SWARM-1.3 f [1998/10/17] bin/8367 /stand/sysintall is screwing up my /etc/r o [1998/10/19] kern/8376 CLOCK_VIRTUAL not implemented o [1998/10/19] misc/8378 Is termcap not maintained enough ? o [1998/10/22] kern/8420 __getcwd() from an (forcibly) unmounted f o [1998/10/23] kern/8428 Is FreeBSD 3.0-RELEASE support 640MByte M o [1998/10/24] misc/8434 boot.flp /bin/init crashes during probe w o [1998/10/24] i386/8436 boot.flp sysinstall crashes when probing o [1998/10/24] bin/8438 ex/vi: Error: tcsetattr: Interrupted syst o [1998/10/25] kern/8444 pcvt with more than 8 virtual consoles o [1998/10/25] docs/8445 doc Update of "Installing Mathematica on Free o [1998/10/26] kern/8456 SMP kernel fails with Everex PO-6200 Dual o [1998/10/27] bin/8466 bind man pages not installed by 3.0 make a [1998/10/27] docs/8472 billf da(4) references nonexistent da(9) o [1998/10/27] i386/8474 repquota does not pick up NIS information o [1998/10/28] bin/8479 Final \'s in /etc/exports did not work in o [1998/10/30] kern/8498 Race condition between unp_gc() and accep o [1998/10/30] bin/8501 snake has a segmentation fault depending o [1998/10/30] conf/8517 rc.conf/rc fails to set ldconfig -aout o [1998/10/31] misc/8519 Murphy's Laws o [1998/10/31] ports/8521 itojun Some manpages are not usable with tiff-3. o [1998/11/01] conf/8531 sysinstall on 3.0-RELEASE (and 3.0-curren o [1998/11/03] kern/8550 strip kernel before moving it during make o [1998/11/03] bin/8553 /usr/libexec/mail.local doesn't handle "> s [1998/11/03] kern/8560 des [REMINDER] bpfilter is deprecated and sho o [1998/11/04] i386/8571 Bug in config utility in FreeBSD 2.2.6-RE o [1998/11/07] kern/8589 incorrect spelling for "dependency" and " o [1998/11/07] i386/8598 MAKEDEV fails if not run from current dir o [1998/11/08] kern/8604 ps u gets confused about process start ti o [1998/11/08] kern/8605 ipsec for ipv4, new version o [1998/11/08] ports/8620 asami New option to colorls - -K, color only to o [1998/11/09] bin/8631 pci interrupts are shown on EISA only mac o [1998/11/09] kern/8633 TCP packet via SLIP/CSLIP containing this o [1998/11/11] misc/8654 SYSV options allow WINE to run, but Netsc s [1998/11/12] kern/8661 stb sys/netatalk/at_control.c needs to correc o [1998/11/12] bin/8666 X blocks serial port with getty process o o [1998/11/13] gnu/8679 tar man page should be updated o [1998/11/14] bin/8681 other macro name that has same number is o [1998/11/15] kern/8703 NFS Freezes when copying files from 3.0 t o [1998/11/18] kern/8747 [PATCH] fixes for systags.sh o [1998/11/18] ports/8754 se KDE: KDM Display Manager has login proble o [1998/11/18] bin/8756 'pw' command additional feature request o [1998/11/19] misc/8764 pwd_mkdb is slow on many users o [1998/11/19] docs/8765 dwhite some suggested text for describing passwo o [1998/11/22] bin/8809 fdisk calls QNX-4 partitions unknown o [1998/11/22] bin/8811 Problem to use 'NLSMODE' variable in Make a [1998/11/25] ports/8864 ports useradd - system V compatible implementat o [1998/11/27] i386/8867 /stand/sysinstall core dumps (signal 11) o [1998/11/28] bin/8880 billf cp missing verbose switch o [1998/11/28] bin/8881 billf mv missing verbose switch o [1998/11/29] kern/8895 DEC 21152 PCI-PCI bridge chip isn't probe o [1998/11/29] kern/8898 PCI devices without an associated driver o [1998/11/30] bin/8913 negative time values for csh 'time' built o [1998/12/01] i386/8923 ctm 2.2.5 -> 2.2.7 error hu_HU.ISO_8859- o [1998/12/01] kern/8925 options kern file needs AWE_DEFAULT_MEM_S o [1998/12/03] i386/8953 BINFORMAT not defined in 2.2-STABLE o [1998/12/03] bin/8955 request CVS allow advisory locks on repos o [1998/12/04] kern/8960 lnc driver does not set IFF_MULTICAST o [1998/12/04] bin/8966 yp_mkdb does not accept standard automoun o [1998/12/06] misc/8986 install-info breaks installworld over nfs o [1998/12/06] bin/8989 (patch) chflags support for mtree(8) o [1998/12/08] bin/9012 route add -host hostIP -interface localIP o [1998/12/08] kern/9026 natd o [1998/12/10] conf/9051 2.2.8R boot floppy won't write to fixit f o [1998/12/11] bin/9055 When used without arguments, ``set'' and o [1998/12/12] bin/9064 [PATCH] propose adding `direct' option in o [1998/12/14] bin/9078 tunefs cant access mounted devices (vs. m o [1998/12/15] kern/9092 DELF raid volumes cause panics under CAM o [1998/12/16] i386/9102 Voxware does not provide /dev/mixer for E o [1998/12/16] ports/9107 asami Addition to bsd.port.mk for searching mul o [1998/12/17] bin/9118 default install of aout compat libs is in o [1998/12/18] bin/9123 pax can't read tar archives that contain o [1998/12/19] bin/9135 tar doesn't back up device files o [1998/12/20] kern/9144 luigi acd driver inconsistency (byte order in C o [1998/12/20] ports/9150 nate Ports depending on jdk need to know where o [1998/12/21] conf/9160 /etc/services file corruption o [1998/12/22] bin/9176 dillon placemark to split mount_ufs out of mount o [1998/12/23] kern/9183 newton chroot(2) can be broken by the superuser. o [1998/12/24] bin/9188 telnet gets stuck in ttydrain() o [1998/12/27] bin/9206 sysinstall installation should create /st f [1998/12/28] misc/9220 nvi: catalog: mistake in Russian error me o [1998/12/28] bin/9226 telnetd can log wrong IP address to utmp o [1998/12/29] bin/9233 gmp's mpq_add and mpq_sub are buggy o [1998/12/30] conf/9245 obsolete locale setting in /usr/src/etc/{ o [1998/12/30] conf/9246 allscreens_flags in /etc/rc.conf not work o [1998/12/30] bin/9250 [PATCH] allow fetch to do ftp directory l o [1998/12/31] i386/9257 fpathconf() missing from libc_r o [1998/12/31] bin/9259 allow no prompt for yes in fdformat, but o [1999/01/02] bin/9281 awk asumes memory that is returned from m o [1999/01/03] i386/9283 ioctl(SNDCTL_DSP_SETFMT) on /dev/audio (p o [1999/01/03] bin/9285 pw strips comments from group file o [1999/01/03] ports/9286 andreas Patch for games/nethack-qt to fix compila o [1999/01/03] ports/9289 kris New Port - ASPostit (Dockable version of o [1999/01/04] kern/9316 Intel PILA8461 NIC panics 2.2.7 during pr o [1999/01/04] bin/9318 vgrind(1): no JAVA support o [1999/01/04] i386/9319 D-Link DE-528CT poor performance o [1999/01/05] bin/9333 timestamp dump's progress o [1999/01/05] i386/9341 tty-level buffer overflows o [1999/01/06] bin/9349 make doesn't diagnose non-numeric argumen o [1999/01/06] docs/9352 hoek wrong macro names in groff_[ms|mm|mmse].7 o [1999/01/07] bin/9374 Improved functionality for find(1) o [1999/01/08] conf/9388 magic(5) correction for wordperfect o [1999/01/08] kern/9392 Alternate system clock OR kernel stats cl f [1999/01/10] ports/9425 se KDE starting up from xdm has problem.... o [1999/01/13] bin/9470 aout-to-elf-build broken with kerberosIV- o [1999/01/13] bin/9471 [PATCH] msgs: /var/msgs/bounds: No such f o [1999/01/13] kern/9474 "comcontrol rescan 0:8:0" hangs, causes o o [1999/01/14] bin/9494 new option to prevent mail from sending m o [1999/01/14] bin/9501 Several cvs contrib files are not Y2K com o [1999/01/14] ports/9508 andreas Update majorcool to current version 1.3.2 o [1999/01/16] misc/9524 /usr/share/examples/libvgl/demo looks lik o [1999/01/16] bin/9529 ftp filname completion can't handle space o [1999/01/17] bin/9536 make world installs aout compat libs in t o [1999/01/19] bin/9569 top(1) ignores tty EOF condition. o [1999/01/19] kern/9570 ed(4) irq config enhancement o [1999/01/19] bin/9573 ksrvtgt not working o [1999/01/20] misc/9582 configApache command doesn't work for /st o [1999/01/20] kern/9590 Clean up for -Wall warnings o [1999/01/20] kern/9591 Linux compat getrlimit/setrlimit constant o [1999/01/21] kern/9611 MFS calculates the size incorrectly when o [1999/01/22] kern/9619 Restarting mountd kills existing mounts o [1999/01/23] misc/9638 Typo error in Italian locale o [1999/01/23] misc/9639 /etc/security reports missing passwords o a [1999/01/24] ports/9657 ports Progressive Networks' RealAudio proxy por o [1999/01/25] kern/9679 fix for uninterruptible open in portal fi o [1999/01/25] kern/9689 panic in sbdrop(kern/uipc_socket2.c) o [1999/01/26] bin/9711 Fails: cd /usr/bin; gzip file ; mv file. o [1999/01/27] i386/9721 Patch for FreeBSD netboot (booting via DO o [1999/01/28] kern/9748 error in queue handling of at_shutdown() o [1999/01/28] kern/9764 allow /bin/df not to list certain entries o [1999/01/28] bin/9770 An openpty(3) auxiliary program o [1999/01/29] i386/9777 luigi Generic AD1816 sound suport in Luigi's pc o [1999/01/29] misc/9778 Need to handle conflicting pthread.h and o [1999/01/29] misc/9782 minor problem with telnet and /etc/gettyt o [1999/01/29] ports/9786 cwt tk80 port doesn't create man page links o [1999/01/30] kern/9791 enhancement for netinet/ip_icmp.c to cont o [1999/01/30] ports/9792 msmith pib coredumps in port maker mode o [1999/01/30] ports/9795 obrien The Handbook is not clear on how to deal o [1999/01/30] bin/9809 finger output format wrong f [1999/01/30] ports/9811 nectar New port: lang/gnomeguile o [1999/01/30] ports/9812 nectar New port: devel/libgtopbindings o [1999/01/31] ports/9840 asami patch allows ports to fetch their sources o [1999/01/31] conf/9845 Propose adding options to rc.conf and rc. o [1999/01/31] kern/9848 ARP proxyall extra sanity check o [1999/01/31] ports/9851 ports Port update: update R to 0.63.2 o [1999/02/01] bin/9868 Patch to add "date -a" o [1999/02/01] kern/9869 When using macros out of function, they s o [1999/02/01] conf/9874 idle-timeout facilities in /etc/login.con o [1999/02/01] kern/9877 Patch to remove some kernel compile warni o [1999/02/01] kern/9878 Some patches to remove compiler warnings o [1999/02/02] ports/9880 kris New port - x11-toolkits/gtkglarea o [1999/02/02] ports/9884 ports samba does not allow "joes" (username+pas o [1999/02/03] bin/9893 NFS umount of regular file impossible o [1999/02/03] bin/9902 error in german (and some other) locale s o [1999/02/05] ports/9921 peter exmh2 ports update o [1999/02/06] bin/9931 config gives misleading error when duplic o [1999/02/07] ports/9953 hosokawa Samba 2.0.2 update o [1999/02/07] ports/9954 ports new port devel/ACE o [1999/02/08] bin/9972 groff always built for US (letter) sized o [1999/02/09] gnu/9987 jdp wrong (for FreeBSD) ELF_DYNAMIC_INTERPRET o [1999/02/09] bin/9990 Enhancement to filename completeion in cs o [1999/02/09] i386/9991 new driver for National Instruments GPIB o [1999/02/09] ports/9993 kris New Port - graphics/libunfig o [1999/02/09] ports/9998 kris New port - graphics/mtv (MpegTV player) o [1999/02/10] i386/10004 instalation of current version from FTP s o [1999/02/10] misc/10005 Update /etc/motd o [1999/02/10] ports/10007ports Port of the mercury compiler version 0.8 o [1999/02/10] docs/10017 doc Added a site and bug fix o [1999/02/10] bin/10019 Keyinfo and keyinit may use the wrong nam o [1999/02/11] kern/10022 kernel cannot detect WinChips correctly. o [1999/02/11] ports/10023kris New port - net/gtkcookie o [1999/02/11] conf/10024 etc/mtree/BSD.local.dist: lib/perl5 no lo o [1999/02/11] bin/10030 Kerberized telnet fails to encrypt when a o [1999/02/11] docs/10038 doc Added a site and bug fix (part two) o [1999/02/12] i386/10052 Matrox Millennium II AGP device/model id o [1999/02/13] bin/10064 /bin/sh called from make dumps core o [1999/02/14] kern/10077 dd'ing a ccd stripped partition sometimes o [1999/02/14] docs/10084 doc new FreeBSD user group in Yogyakarta City o [1999/02/14] docs/10085 doc NIS Setup Tutorial o [1999/02/14] ports/10093ports Upgrade GNAT to 3.11p and fix for ELF o [1999/02/14] kern/10095 missing VGA description o [1999/02/14] docs/10098 doc Lack of overall guide for NIS setup o [1999/02/15] ports/10103ports revision of port of plugger-3.0 o [1999/02/15] gnu/10112 /usr/src/gnu/usr.bin/patch sorely out of o [1999/02/15] kern/10113 yokota [PATCH] syscons: switch to previous conso o [1999/02/15] conf/10115 /etc/login.conf still implies LOGIN_CAP_A o [1999/02/16] kern/10116 acd driver patch to support PD/CD drive. o [1999/02/16] i386/10121 Serial port parity setting problems with o [1999/02/16] ports/10124ports UNIX|STAT pr submission failed to include o [1999/02/17] ports/10129torstenb mirror/patch-ac sets /usr/local/bin/perl5 o [1999/02/17] bin/10131 bug in strptime(3) o [1999/02/18] i386/10143 Rebooted without prompting o [1999/02/18] docs/10146 jkh Release Notes and LINT for 3.1 include ha o [1999/02/18] misc/10148 atime behavior differs with empty files f o [1999/02/18] kern/10149 New PCI device o [1999/02/19] bin/10158 Reference to ncheck in quot(8) o [1999/02/19] kern/10159 Unable to unload vinum module o [1999/02/19] kern/10160 kldload of umap module panics the system o [1999/02/19] ports/10162se Fix kdmrc to add qmail usernames to NoUse o [1999/02/19] ports/10164jmz XFree86-3.3.3.1 build fails with kerberos o [1999/02/19] bin/10165 CVS does not know to ignore .So files o [1999/02/19] misc/10167 Upon exiting X11R6, monitor goes blank. o [1999/02/20] bin/10169 find -perm doesn't allow a bitwise o [1999/02/20] kern/10175 Bridging support incomplete for some netc o [1999/02/21] ports/10178torstenb USE_SOCKS=YES option broken for security/ o [1999/02/21] conf/10179 /etc/make.conf has too many entries o [1999/02/21] docs/10180 doc Another mirror site not listed... o [1999/02/21] docs/10182 doc http://www.freebsd.org/cgi/query-pr.cgi?p o [1999/02/22] ports/10196torstenb Better startup scripts for ssh o [1999/02/22] ports/10215rvb net/coda_client and net/coda_server o [1999/02/23] ports/10227peter wrong sendmail path in rdist6-port o [1999/02/23] misc/10231 inet_addr() doesn't check for illegal val o [1999/02/25] docs/10240 doc We need a script which check if our web m o [1999/02/25] conf/10244 100 character limit on any pathname in sy o [1999/02/25] kern/10255 Some more SiS chipset PCI IDs for chipset o [1999/02/26] bin/10274 make does not understand "lib(obj)" synta o [1999/02/26] bin/10283 Race condition in rc.network o [1999/02/28] bin/10300 dmesg exits on signal 10 o [1999/03/01] kern/10324 ip_fw allows divert rules even though not o [1999/03/01] misc/10325 Implementation of itoa() for libc o [1999/03/01] docs/10331 doc pccardd(8) claims FreeBSD does not suppor o [1999/03/01] bin/10342 putenv(3) unnecessarily calls strdup/free o [1999/03/01] misc/10349 For long .Dt fields, rendering is broken- o [1999/03/01] bin/10350 mail(1) has some ugly code in it... o [1999/03/02] misc/10351 /usr/share/examples/worm is out of date o [1999/03/02] bin/10358 ftp(1) has problems with long pathnames o [1999/03/02] bin/10368 'pgtok redefined' error in ps(1) o [1999/03/03] ports/10377ports `make' in ports does not honor {f,ht}tp_p a [1999/03/04] ports/10385billf New port: apache13-modperl o [1999/03/04] ports/10389kuriyama Create new port mod_jserv and JSDK 2.0 o [1999/03/05] ports/10396asami SPIN is in the wrong category o [1999/03/05] ports/10404hosokawa Samba PLIST not up to date. o [1999/03/05] ports/10407hosokawa incomplete mirrors suggested for samba o [1999/03/06] ports/10415hosokawa samba-2.0.3 port make package fails and s o [1999/03/06] kern/10440 Discard device does not set ifq_maxlen o [1999/03/06] bin/10444 avoiding lost mail when mail filesystem i o [1999/03/06] ports/10454obrien Update: emulators/spim o [1999/03/06] kern/10455 pcaudio breakage o [1999/03/07] i386/10465 Must disable ex0 to install. o [1999/03/07] ports/10469ports new port: linux-netcape-communicator-4.51 o [1999/03/07] docs/10472 doc Mailing list for discussion of Xircom dri o [1999/03/07] ports/10477ports The fakemail in lib-src fails to link (ne o [1999/03/08] docs/10488 doc Error in entry for 02/27 in calendar.hist o [1999/03/08] bin/10493 ipfw's undocumented feature s [1999/03/09] bin/10508 obrien isc-dhcp puts garbage to text options, V2 o [1999/03/09] docs/10512 doc ENOBUFS returnable from writev(2) but not o [1999/03/10] bin/10522 make world died due -Werror o [1999/03/10] bin/10524 3.1-19990309-STABLE install problem o [1999/03/10] ports/10532ports Port of GNU Pascal o [1999/03/10] kern/10537 extraneous verbose output from cam_xpt.c o [1999/03/10] bin/10538 sbin/nos-tun gives wrong usage message o [1999/03/11] bin/10546 Intel Pro/100 PC card has CIS string > CI o [1999/03/11] bin/10548 More useful default ifconfig behaviour sa o [1999/03/12] gnu/10555 jraynard [PATCH] awk dumps core o [1999/03/12] bin/10556 make(1) man page update o [1999/03/12] kern/10563 QIC 40/80 tape drive ft present in versio o [1999/03/13] bin/10568 obrien dhcp client receives garbage (dhclient pr o [1999/03/13] kern/10574 3.1-stable kernel reports k6 cpu as "\^E" o [1999/03/14] conf/10582 Makefile.upgrade fails with make -j o [1999/03/14] misc/10589 Incorrect assumptions in /etc/security o [1999/03/14] bin/10590 new option to silince confirmation but no o [1999/03/14] i386/10595 [PATCH] spanish language support for vidf o [1999/03/15] bin/10601 wosch Ownership of symlinks copied by adduser a o [1999/03/15] i386/10606 Probablue odd error message if LS-120 is o [1999/03/15] i386/10608 add Opti Viper-M PCI ID o [1999/03/15] kern/10609 adjtime bug (tv_sec > 2147) and enhanceme o [1999/03/15] bin/10610 New options to date to slowly adjust time o [1999/03/15] bin/10611 timed enhancement o [1999/03/16] bin/10622 vi does not display Russian characters pr o [1999/03/16] i386/10623 DFLTPHYS in /usr/src/sys/i386/include/par o [1999/03/16] ports/10634ports Update the hylafax port to do a client in o [1999/03/17] ports/10639rse ports/web/wml must be upgraded and unbrok o [1999/03/17] kern/10641 Default sync rate in ncr SCSI driver is s o [1999/03/17] kern/10642 exports(5) mentions KERBNFS but that's no o [1999/03/18] bin/10657 Unable to install from CDROM or DOS parti o [1999/03/18] docs/10659 doc Many syscall man pages have an IMPLEMENTA o [1999/03/18] docs/10660 doc User Group not listed o [1999/03/18] kern/10663 hpscan doesn't like 3.1's pt device o [1999/03/18] docs/10664 doc Notes on 2.2.8 -> 3.1 migration o [1999/03/18] misc/10667 Sysinstall inserts multiple # -- sysinsta o [1999/03/19] gnu/10670 cvs doesn't allow digits in local keyword o [1999/03/19] i386/10672 blank line inserted by vipw into master.p o [1999/03/19] kern/10673 Non-ASCII chars on serial console with Re o [1999/03/19] kern/10678 Printing problems using ppc bus o [1999/03/19] ports/10682asami List mirror sites in MASTER_SITE_BACKUP - f [1999/03/20] ports/10699jmacd Update to logo port a [1999/03/20] misc/10700 periodic weekly (/etc/weekly) fails to re f [1999/03/20] ports/10702ports Add NCD audio support for emiclock ports f [1999/03/21] ports/10707ports [ADD] port for doxygen o [1999/03/22] kern/10728 sos WCD driver does not recognize a recovered o [1999/03/22] ports/10734pst Update of gdb port to 4.17 o [1999/03/23] kern/10755 de driver says `invalid EESPROM checksum' o [1999/03/23] docs/10762 doc geocrawler.com mailing list archives o [1999/03/23] i386/10766 obsolete device name wcd is still left un o [1999/03/24] i386/10779 zp slot 0 sees 3Com 589 PCMCIA card but z o [1999/03/25] bin/10793 cvs update modification time check granul o [1999/03/25] i386/10796 Out of memory error during make buildworl o [1999/03/26] misc/10803 whois(1) client enchancements a [1999/03/26] misc/10804 billf whois(1) enhancement o [1999/03/26] ports/10806phk Update net/scotty to 2.1.10 o [1999/03/26] kern/10812 LINT configuration MAXDSIZ/DFLDSIZ mislea o [1999/03/26] ports/10813ports crossgo32 brokeness o [1999/03/27] bin/10825 daily script not executed or executed twi o [1999/03/28] ports/10832jfitz mSQL 2.x not freely available anymore o [1999/03/28] docs/10840 jkh [PATCH] Add pcic double-loading bug fix t f [1999/03/28] ports/10844ports New port: adagdb o [1999/03/29] docs/10850 doc submitting a documentation change for sed o [1999/03/29] bin/10856 vty's from ttyvc - ttvf (maybe more?) do o [1999/03/29] kern/10860 bpf overwrites source ethernet addresses o [1999/03/30] bin/10868 BUG in /usr/bin/calendar o [1999/03/30] misc/10871 wst0 fails with Sony SuperStation streami o [1999/03/30] ports/10874ports [PATCH] html2ps doesn't handle `file:/... o [1999/03/30] docs/10877 doc manpage for objformat incorrectly mention o [1999/03/30] bin/10878 host(1) dumps core o [1999/03/31] kern/10894 wrong error message in svctcp_create() o [1999/04/01] bin/10905 sa(8) is hard coded for 8 character user o [1999/04/01] gnu/10910 Integration of Objective C patches into g o [1999/04/01] i386/10913 Characters in console get switched to oth o [1999/04/02] ports/10916ports new port biology/molmol again o [1999/04/02] bin/10921 I wished from(1) would count the number o o [1999/04/02] bin/10923 /usr/bin/cpp is an out-of-date wrapper fo o [1999/04/02] bin/10924 Extensions to biff(1) o [1999/04/03] bin/10931 biff b o [1999/04/04] ports/10945jmz X11 "sessreg" program does not update /va o [1999/04/05] ports/10961ports gzipped manpages and .so macro in ports o [1999/04/06] bin/10980 With ctags -x no space is left between na o [1999/04/06] bin/10992 pthread_kill() doesn't deliver signals to o [1999/04/07] docs/10997 doc Problem with query-pr-summary.cgi o [1999/04/07] i386/11006 Sysinstall silently makes FreeBSD's parti o [1999/04/08] kern/11018 detection of sc0 and atkbd fails o [1999/04/08] kern/11020 popen does not honor ISO 9899 syntax o [1999/04/08] ports/11029ports Configure scripts for non ported applicat o [1999/04/08] bin/11031 [PATCH] mount and umount support for mort o [1999/04/08] bin/11032 h2ph's cpp #warning/#error directive proc o [1999/04/08] ports/11034ports New ports of crazywwwboardle o [1999/04/08] bin/11036 markm Perl does not honor -DNOMAN o [1999/04/08] bin/11037 Gencat doesn't properly handle \ddd octal o [1999/04/09] ports/11048obrien variable not initialized in fwtk-lib lead o [1999/04/09] bin/11051 ps's -U option should accept a list of us o [1999/04/09] misc/11052 [PATCH] performance bug fix to fgets() ro o [1999/04/10] conf/11058 Recent change to rc script causes hang on o [1999/04/10] misc/11074 /usr/share/mk double in the cvs o [1999/04/11] bin/11085 Per-host configuration for syslog.conf o [1999/04/11] ports/11086ports Updating AStyle port o [1999/04/11] docs/11087 doc Portland FreeBSD users group o [1999/04/11] docs/11089 doc freebsd user group, sydney o [1999/04/11] docs/11090 doc User's group in Melbourne Australia o [1999/04/11] bin/11092 readlink(1) from OpenBSD o [1999/04/11] bin/11094 lastlogin.8 from NetBSD o [1999/04/12] docs/11098 tom FAQ Update: Database systems for FreeBSD o [1999/04/12] docs/11102 tom [Patch] Handbook: Minor spelling correcti o [1999/04/12] kern/11109 ipfw.ko Makefile contains CFLAGS+= -DDIVE o [1999/04/13] misc/11111 Error opening terminal: su o [1999/04/13] bin/11114 make(1) does not work as documented with o [1999/04/13] bin/11121 w(1) cannot handle more than one user on o [1999/04/13] misc/11126 vt100 termcap entry appears broken o [1999/04/13] ports/11127ports New port: Giram o [1999/04/14] ports/11134billf existense of /usr/obj/usr/ports/shells/ba o [1999/04/14] ports/11138jmz New version of Xevil 2.01, I created a po o [1999/04/14] bin/11141 u_long is not big enough o [1999/04/15] misc/11149 Web page entry for BAFUG is incorrect o [1999/04/16] i386/11165 IBCS2 don't work correctly with PID_MAX 9 o [1999/04/16] bin/11168 pw(8) usermod does not recognize -w flag o [1999/04/16] kern/11178 [PATCH] minor fix to /usr/include/sys/mbu o [1999/04/18] i386/11201 brian mktime possible bug o [1999/04/18] i386/11204 config -g -> no kernel, only kernel.debug o [1999/04/18] bin/11205 Suggestion: move mt(1) to /bin o [1999/04/18] i386/11207 sys/i386/isa/rp.c: fixed breaking and war o [1999/04/19] kern/11213 lutimes() is the same as utimes() o [1999/04/19] kern/11222 MFS does not sync from reboot syscall o [1999/04/20] kern/11235 Need to submit new driver o [1999/04/20] bin/11236 mountd fails to properly check for kernel o [1999/04/20] conf/11243 mountd startup can lose flags o [1999/04/20] bin/11248 Shuffle o [1999/04/20] ports/11250ports PORTS: upgrade lesstif to 0.88.1 o [1999/04/21] docs/11258 doc suggestion to refine npx.4 o [1999/04/21] ports/11264chuckr a2ps-letter port installs non-listed liba o [1999/04/21] ports/11270jfitz Update to the rexx-imc port o [1999/04/22] kern/11287 rfork(RFMEM...) doesn't share LDTs set by o [1999/04/22] misc/11289 makeflp.bat suggestion: create "kernel" d o [1999/04/23] kern/11293 brian FreeBSD's PPP implementation of LQM appea o [1999/04/23] bin/11294 direct logging to other hosts (no local s o [1999/04/24] kern/11302 HP LaserJet 4L doesn't work with ppBus o [1999/04/24] ports/11304ports New port syncal-0.5, syncing of ical and o [1999/04/25] bin/11315 [PATCH] declerations missing in libatm.h o [1999/04/25] misc/11316 [PATCH] HTTP proxy support for sysinstall o [1999/04/25] ports/11317ache Update: www/lynx-current o [1999/04/25] ports/11319ports Netscape4-navigator wasn't FORTIFY'ing o [1999/04/27] ports/11353asami Feature additions to bsd.port.mk. o [1999/04/27] ports/11354jmz Port fix: x11/XFree86 o [1999/04/27] bin/11360 Allow specification of "search" in resolv o [1999/04/28] kern/11365 plip in Linux mode has trouble with some o [1999/04/28] bin/11370 more segfaults if you give it a real file o [1999/04/28] misc/11373 errata.txt for 3.1 o [1999/04/29] misc/11383 $Id$ missing in some files in etc [PATCH] o [1999/04/29] bin/11387 mount_cd9660 doesn't show rockridge filen o [1999/04/29] ports/11388torstenb patch for ircII so /window create works o [1999/04/29] bin/11399 Calendar doesn't always handle 'last' day o [1999/04/30] ports/11402jfitz Update net/mrtg o [1999/04/30] kern/11410 code typo in ad1848.c: the != operator ha o [1999/04/30] kern/11411 code typo in clones.c: "if ((mpu_config = o [1999/04/30] kern/11412 code typo in ip_fil.c: missing NULL check o [1999/04/30] kern/11413 code typo in pci.c: the != operator has h o [1999/04/30] kern/11414 code typo in pcf.c: the != operator has h o [1999/04/30] kern/11415 code typo in wst.c: the != operator has h o [1999/04/30] kern/11416 code typo in sequencer.c: "if (!processed o [1999/04/30] ports/11421jfitz upgrade p5-Date-Manip 5.33 -> 5.34 o [1999/05/01] ports/11430se incorrect int type causes floating point o [1999/05/02] misc/11443 Updated Slovak keyboard map, with cr's st o [1999/05/02] misc/11446 Central European keyboard map o [1999/05/02] misc/11447 Czech keyboard map o [1999/05/02] misc/11448 Better looking VGA font for iso2 o [1999/05/02] ports/11460erich Update to the xlispstat port o [1999/05/03] ports/11468ports New port: xcin-devel o [1999/05/03] misc/11478 Non-functional AFS support in KerberosIV o [1999/05/04] ports/11491ports new port of shujit java compiler o [1999/05/04] ports/11504chuckr Update ports math/octave o [1999/05/05] ports/11510nik new version of www/sitecopy (0.6.0) o [1999/05/05] ports/11512ports new port: x11-toolkits/wxGTK o [1999/05/05] kern/11516 NetGear 10/100 Ethernet 21140-based Ether o [1999/05/05] kern/11517 ../../kern/kern_ntptime.c:533: warning: i o [1999/05/05] kern/11518 ../../pci/if_tx.c:1376: warning: no previ o [1999/05/05] kern/11519 dead code in ncr driver o [1999/05/05] ports/11520ports Freewais port does not respect ${PREFIX} o [1999/05/06] bin/11552 sendmail local delivery (mail.local) can' o [1999/05/06] misc/11553 /usr/share/misc/latin1 (new file submissi o [1999/05/06] kern/11555 Spelling mistakes in ata-dma.c o [1999/05/07] misc/11569 Automatically run fsck when the file syst o [1999/05/07] ports/11570obrien Update: devel/xwpe o [1999/05/08] ports/11581fenner netperf port - rfc1644 forgotten o [1999/05/08] ports/11587ports inappropriate internet time calculation o [1999/05/08] docs/11589 nik Missing #includes in aio_read(2) o [1999/05/08] i386/11597 cmouse complaints: "/kernel: psmintr: out o [1999/05/08] ports/11599ports New port: japanese/xdvik-vflib o [1999/05/09] ports/11601ports new port: ifmail-os-2.14.5 o [1999/05/09] ports/11602ports new port: gup-0.4 o [1999/05/09] docs/11607 doc RLIMIT_MEMLOCK not implemented o [1999/05/09] bin/11608 vnconfig not supporting swap-backed vn de o [1999/05/09] bin/11609 vnconfig -v reports page numbers, not byt o [1999/05/09] ports/11611billf Update port: net/ntop o [1999/05/09] docs/11615 doc Handbook: linux emulation documentation o o [1999/05/09] ports/11618ports new port: editors/xemacs21 o [1999/05/10] bin/11623 quot uses 32-bit integers for its calcula o [1999/05/10] conf/11626 /var/log/kerberos is rotated o [1999/05/10] bin/11637 build of kdump fails o [1999/05/11] ports/11641ports New port: net/firewalk o [1999/05/11] docs/11643 doc handbook should state alternatives o [1999/05/11] ports/11652ports New port (net/dictd) o [1999/05/11] misc/11653 obrien patch to allow DHCP configuration of inte o [1999/05/12] bin/11669 gcc 2.7.2.1 gets bad magic error linking o [1999/05/12] misc/11670 /usr/include/arpa/nameser.h uses a C++ ke o [1999/05/12] bin/11671 "vidfont -r" fails, asking for font size o [1999/05/12] ports/11672ports New port: intel2gas-1.2 o [1999/05/12] i386/11674 can't do make imake build or anything sin o [1999/05/12] kern/11676 PCIless kernel will not compile with ATAP o [1999/05/12] kern/11677 SCSI device quirk entry. o [1999/05/13] i386/11683 olpt/nlpt name change not in man pages o [1999/05/13] misc/11689 Change "netstat" mode in daily "status-ne o [1999/05/13] ports/11699ports new port: FastCGI development kit o [1999/05/14] ports/11712ports Rosegarden Port is out to date o [1999/05/14] ports/11714ports New port: cls-1.0 (safe version of clear) o [1999/05/14] ports/11717andreas Update to sysutils/star o [1999/05/14] ports/11718ports New port: sdd o [1999/05/15] ports/11727jseger Character combinations halting bind8 o [1999/05/15] ports/11728ports WAIS support for gopher o [1999/05/16] ports/11734ports New Port: tya JIT compiler for Java a [1999/05/16] kern/11736 On fast machines kernel reports negative o [1999/05/17] ports/11742ports Problems with japanese/dvipsk* support. o [1999/05/17] ports/11743torstenb inn-2.2 (nonfatal) premature stop of buil o [1999/05/17] bin/11746 Add support for Solaris mailboxes o [1999/05/18] ports/11755ports ja-vfghostscript5.5 port has wrong md5 da o [1999/05/18] ports/11756ports update port: xchat-0.9.5 to 0.9.6 o [1999/05/18] kern/11765 performance bug: network devices fxp & de o [1999/05/18] misc/11767 sppp does not implement VJ compression o [1999/05/18] ports/11769ports please update cons port with latest chang o [1999/05/18] ports/11770ports please update cons port with latest chang o [1999/05/18] ports/11771ports Update: print/klyx o [1999/05/19] ports/11776ports Fixed port: gtk-- o [1999/05/19] ports/11781ports Option to not use X windows support where o [1999/05/19] ports/11783ports new port o [1999/05/19] ports/11786kuriyama gnupg-0.9.6 port does not install o [1999/05/19] ports/11787ports New port: gpasman-1.1.3 o [1999/05/19] misc/11788 booting problems o [1999/05/19] kern/11789 ELF machine definition missing for ARM o [1999/05/20] ports/11798ports Update of port news/newsfish to 1.1 o [1999/05/20] bin/11805 [PATCH] argument missing from kzip.1 syno o [1999/05/20] misc/11812 ftp5.freebsd.org can't find giflib-3.0 an o [1999/05/20] ports/11813ports [New port] gnuplot+ o [1999/05/21] ports/11816ports New port of mserver modem-sahring server o [1999/05/21] bin/11818 Added a feature to ping(8) o [1999/05/21] ports/11820asami bsd.port.subdir.mk does not define the `m o [1999/05/21] bin/11822 tcpd is not installed from src/contrib/tc o [1999/05/21] ports/11825ports port update: lang/squeak2 o [1999/05/21] ports/11827ports New port: quirc o [1999/05/21] i386/11829 Boot Failure (Register Dump) with MFSroot o [1999/05/22] misc/11838 xwindows configuration problem o [1999/05/22] ports/11840asami Feature fixup: bsd.port.mk o [1999/05/22] docs/11856 kris references to vadvise(2) should probably o [1999/05/22] ports/11858billf New port: libwmf o [1999/05/22] ports/11859billf Update: textproc/mswordview o [1999/05/23] ports/11861ports Update: x11-wm/icewm o [1999/05/23] ports/11862ports apache13-fp port is broken o [1999/05/23] ports/11864ports New port: wminet o [1999/05/24] ports/11879ports dclock's "-miltime" option and "*miltime" o [1999/05/24] ports/11880kris Update port: wmmon o [1999/05/24] kern/11881 when a dummynet pipe is encountered it st o [1999/05/25] ports/11885ports [NEW PORT] Squirm - redirector for squid o [1999/05/25] misc/11890 make world creates /lkm directory o [1999/05/26] ports/11893ports new port: www/thttpd o [1999/05/26] bin/11896 cap_mkdb dumps core when non-files passe o [1999/05/26] i386/11898 Connot wirte to floppy on HP OB800CT with o [1999/05/26] kern/11899 many linux programs fail after 2.2.8-R -> o [1999/05/26] bin/11900 Sed(1) fails with MALLOC_OPTIONS set to ' o [1999/05/26] ports/11903ports File descriptor leak in ports/www/tidy/ti o [1999/05/27] conf/11905 sysinstall desktop changing inconvenience o [1999/05/28] bin/11914 makewhatis during installworld uses /usr/ o [1999/05/28] i386/11920 FBSD 3.2 upgrade claims not to upgrade /u o [1999/05/28] i386/11921 /usr/X11R6/lib/aout libraries screwed up o [1999/05/29] conf/11925 rc.conf cosmetic naming inconsistencies o [1999/05/29] bin/11929 symorder doesn't work on elf format objec o [1999/05/29] conf/11933 crontab bug in 3.2-R ??? o [1999/05/29] ports/11934ports Port of GNU Nana 2.4 o [1999/05/29] kern/11941 FreeBSD box reboots itself when changing o [1999/05/30] bin/11943 pppd connection time report is wrong o [1999/05/30] kern/11945 tape problems on -stable, mt bl(ocksize), o [1999/05/30] bin/11947 kldload doesn't produce a linked file for o [1999/05/30] ports/11951ports Install from the print/apsfilter port fai o [1999/05/30] ports/11952ports poppassd security enhancements o [1999/05/30] ports/11953ports New port - Graphic Counter Language o [1999/05/31] ports/11954ports Update: japanese/bookview a [1999/05/31] docs/11955 dcs loader.8: spelling fixes o [1999/05/31] ports/11959ports Compilation error from ddd-3.1.5 port o [1999/05/31] bin/11960 inetd built in wrapping doesn't log like o [1999/05/31] ports/11963ports should update the ocaml-tk module and ins o [1999/05/31] ports/11964jmacd lang/STk port needs to be updated to STk- o [1999/05/31] ports/11967ports p5-Apache port out of date o [1999/05/31] kern/11968 kldload should call module entry point be o [1999/06/01] docs/11978 doc timed(8) manpage does not define '-F' swi o [1999/06/01] i386/11979 Vaio 505DX touchpad not detected as Glide o [1999/06/01] kern/11981 brian access to tunN devices not allowed to non o [1999/06/01] kern/11982 Three cleanup fixes for uthreads o [1999/06/01] ports/11985jmz xc/3.3.3-3.3.3.1.diff.gz md5 error ? o [1999/06/01] ports/11986andreas NTP port broken because of new nanokernel o [1999/06/02] bin/11987 vacation(1) documentation and error loggi o [1999/06/02] conf/11989 pppd(8) output misplaced o [1999/06/02] bin/11997 Enhancement for lpr o [1999/06/02] kern/11999 shmget's error handling is not consistant o [1999/06/02] ports/12001ports wmcdplay 1.0Beta1 05/09/1998 sometimes sk o [1999/06/03] ports/12002ports new port: korean/engdic o [1999/06/03] ports/12004ports [PATCH] Upgrade exim port to 3.02 o [1999/06/03] ports/12005ports fftw port upgrade to 2.1.2 (very simpel) o [1999/06/03] misc/12006 scheduler policy different define value b o [1999/06/03] ports/12009ports Add port tcpview (a visual tcpdump) o [1999/06/03] ports/12011ports Update: print/lyx o [1999/06/03] misc/12013 patch for 12012 o [1999/06/03] kern/12014 Fix SysV Semaphore handling o [1999/06/04] bin/12020 [PATCH] msgs(1) is bad about nonexistent o [1999/06/04] docs/12021 doc support.sgml Sydney UG update o [1999/06/04] docs/12023 doc cam_get_device(3) function return-value i o [1999/06/04] ports/12024ports New port of asfsm-1.0pre15 Afterstep file o [1999/06/04] ports/12025ports New port of asmem-1.1 o [1999/06/04] conf/12026 /etc/rc.diskless1 refrences non-existant a [1999/06/04] ports/12027billf update port: devel/nasm o [1999/06/05] ports/12037ports Update port: security/ssh o [1999/06/05] ports/12038ports New port: id3ed o [1999/06/05] ports/12039ports New port: spruce o [1999/06/05] ports/12040ports New port: toolbox o [1999/06/05] ports/12043ports sced-1.02 released o [1999/06/05] misc/12044 having tcl.h in /usr/local/include:/usr/i o [1999/06/06] ports/12045ports Update: audio/aumix o [1999/06/06] gnu/12046 Perl subsystem does not install all tutor o [1999/06/06] ports/12047ports Update: editors/cooledit o [1999/06/06] misc/12049 [PATCH] searching for closed reports requ a [1999/06/06] bin/12052 sh type builtin appends first path compon o [1999/06/06] kern/12053 fixes a few aio bugs, makes socket io bet o [1999/06/06] ports/12056ache [PATCH] hpack install files always in /us o [1999/06/06] ports/12057ports Perl5 library builds do not honour PREFIX o [1999/06/06] bin/12058 does not declare some implemente o [1999/06/06] ports/12061ports The apache in pkg apache-php3-1.3.6 assum o [1999/06/06] ports/12063kris Update: net/xwhois o [1999/06/06] ports/12066jseger Update: x11/xscreensaver o [1999/06/06] docs/12068 doc Typos in da(4) man page o [1999/06/06] ports/12069ports Fixed port: gqmpeg o [1999/06/07] kern/12071 [PATCH] large scale IP aliasing 1035 problems total. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jun 7 12: 0: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0EA9914FB7 for ; Mon, 7 Jun 1999 12:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA43731; Mon, 7 Jun 1999 12:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 2317714C57; Mon, 7 Jun 1999 11:51:58 -0700 (PDT) Message-Id: <19990607185158.2317714C57@hub.freebsd.org> Date: Mon, 7 Jun 1999 11:51:58 -0700 (PDT) From: doehrm@aubi.de To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/12073: make world continuously fails in vm/vnode_pager.h -> vm/vnode_pager.ph Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12073 >Category: misc >Synopsis: make world continuously fails in vm/vnode_pager.h -> vm/vnode_pager.ph >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 7 12:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Markus Doehr >Release: 4.0-CURRENT >Organization: AUBI >Environment: FreeBSD beta.aubi.de 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Fri May 21 22:07:02 CES T 1999 root@beta.aubi.de:/usr/src/sys/compile/beta i386 >Description: When making world the system always stops at point vm/vnode_pager.h -> vm/vnode_pager.ph *** Error code 1 I deleted the whole tree and re-cvsupped three times everyting but the error persists. >How-To-Repeat: cd /usr/src make world >Fix: don't know. >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 Mon Jun 7 13:36: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from halley.na-cp.rnp.br (halley.na-cp.rnp.br [200.136.100.17]) by hub.freebsd.org (Postfix) with ESMTP id A183614F80 for ; Mon, 7 Jun 1999 13:35:53 -0700 (PDT) (envelope-from jean@na-cp.rnp.br) Received: from brooks (jean@brooks.na-cp.rnp.br [200.136.100.19]) by halley.na-cp.rnp.br (8.9.2/8.9.2) with SMTP id RAA16585; Mon, 7 Jun 1999 17:35:45 -0300 (EST) Date: Mon, 7 Jun 1999 17:35:40 -0300 (EST) From: Jean Carlo Faustino X-Sender: jean@brooks To: freebsd-bugs@FreeBSD.ORG Cc: Jean Carlo Faustino Subject: IPFW and Y2k Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, Does IPFW have a year 2000 problem? Is IPFW Y2K compliant? Thanks in advanced. Jean Carlo Faustino Rede Nacional de Pesquisa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 2:50:23 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E69F6150B8 for ; Tue, 8 Jun 1999 02:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA19182; Tue, 8 Jun 1999 02:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 02:50:01 -0700 (PDT) Message-Id: <199906080950.CAA19182@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/12058: does not declare some implemented functions Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/12058; it has been noted by GNATS. From: Sheldon Hearn To: freebsd-gnats-submit@freebsd.org Cc: mi@aldan.algebra.com Subject: Re: bin/12058: does not declare some implemented functions Date: Tue, 08 Jun 1999 11:41:14 +0200 Hi Mikhail, So assuming the missing declarations are an omission and that they're _supposed_ to be available (I don't see anything in _our_ source tree that uses 'em), you'd want something like this? Ciao, Sheldon. Index: ndbm.h =================================================================== RCS file: /home/ncvs/src/include/ndbm.h,v retrieving revision 1.2 diff -u -d -r1.2 ndbm.h --- ndbm.h 1996/03/03 09:04:40 1.2 +++ ndbm.h 1999/06/08 09:38:32 @@ -63,8 +63,10 @@ #define dbm_pagfno(a) DBM_PAGFNO_NOT_AVAILABLE __BEGIN_DECLS +int dbm_clearerr __P((DBM *)); void dbm_close __P((DBM *)); int dbm_delete __P((DBM *, datum)); +int dbm_error __P((DBM *)); datum dbm_fetch __P((DBM *, datum)); datum dbm_firstkey __P((DBM *)); long dbm_forder __P((DBM *, datum)); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 3: 1:17 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6A152150B8; Tue, 8 Jun 1999 03:01:15 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA20410; Tue, 8 Jun 1999 03:01:15 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Tue, 8 Jun 1999 03:01:15 -0700 (PDT) From: Message-Id: <199906081001.DAA20410@freefall.freebsd.org> To: ru@ucb.crimea.ua, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/9471: [PATCH] msgs: /var/msgs/bounds: No such file or directory Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH] msgs: /var/msgs/bounds: No such file or directory State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Tue Jun 8 03:00:14 PDT 1999 State-Changed-Why: Superseded by PR 12020 . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 3:36:31 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 319A514BD5; Tue, 8 Jun 1999 03:36:10 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA23978; Tue, 8 Jun 1999 03:36:09 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Tue, 8 Jun 1999 03:36:09 -0700 (PDT) From: Message-Id: <199906081036.DAA23978@freefall.freebsd.org> To: aron@cs.rice.edu, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/11947: kldload doesn't produce a linked file for the module Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: kldload doesn't produce a linked file for the module State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Tue Jun 8 03:34:36 PDT 1999 State-Changed-Why: For questions like this, you want to try mailing the freebsd-questions mailing list. You do not need to subscribe for your post to be seen. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 3:37:43 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 945F614E0F; Tue, 8 Jun 1999 03:37:38 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA24224; Tue, 8 Jun 1999 03:37:38 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Tue, 8 Jun 1999 03:37:38 -0700 (PDT) From: Message-Id: <199906081037.DAA24224@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, obrien@FreeBSD.org Subject: Re: bin/11943: pppd connection time report is wrong Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: pppd connection time report is wrong Responsible-Changed-From-To: freebsd-bugs->obrien Responsible-Changed-By: sheldonh Responsible-Changed-When: Tue Jun 8 03:36:56 PDT 1999 Responsible-Changed-Why: Pppd is very much David's baby. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 3:41:25 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5B2F515021 for ; Tue, 8 Jun 1999 03:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA24428; Tue, 8 Jun 1999 03:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 03:40:02 -0700 (PDT) Message-Id: <199906081040.DAA24428@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: freebsd-gnats-submit@freebsd.org Cc: dwmalone@maths.tcd.ie Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Tue, 08 Jun 1999 12:30:31 +0200 Hi David, I don't understand your patch. You want to always log all connections, and all at allow_severity (auth.info)? What functionality does this offer us over what we've got now, given that this deprecates the '-l' option. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 3:43:57 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DF24214C01; Tue, 8 Jun 1999 03:43:36 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA24851; Tue, 8 Jun 1999 03:43:36 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Tue, 8 Jun 1999 03:43:36 -0700 (PDT) From: Message-Id: <199906081043.DAA24851@freefall.freebsd.org> To: Joel.Faedi@esial.u-nancy.fr, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/11910: new patch for from_local.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: new patch for from_local.c State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Tue Jun 8 03:42:20 PDT 1999 State-Changed-Why: Opened in error while trying to bounce received mail into an existing PR 5139 as followup. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 3:50:24 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6B14D14EF9 for ; Tue, 8 Jun 1999 03:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA25545; Tue, 8 Jun 1999 03:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 03:50:03 -0700 (PDT) Message-Id: <199906081050.DAA25545@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: David Malone To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Tue, 08 Jun 1999 11:41:01 +0100 > I don't understand your patch. You want to always log all connections, > and all at allow_severity (auth.info)? What functionality does this > offer us over what we've got now, given that this deprecates the '-l' > option. Yup - we should call syslog for every connection with allow_severity for the level. For a start this is what tcpd does, but for a second allow_severity can be changed by the call to hosts_access, to be anything you like, so it may or may not end up in a log file, depending on if your syslog.conf. For example, suppose you want to log all rlogin connections with a high priority, but don't want to log mail connections which are rejected 'cos the IP address can't be resolved. Then you can have the following lines in /etc/hosts.allow: in.rlogind rlogind: ALL : rfc931 1 : severity local0.warning : allow smtpd: UNKNOWN : severity local0.info : deny Using tcpd this produces the desired effect. Using inetd wrapping you get none of the rlogind connections logged 'cos they were all successful. Using "inetd -l" we get all the connections logged, including the smtpd ones we don't want. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 3:55:34 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A47C414E23; Tue, 8 Jun 1999 03:55:13 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA26106; Tue, 8 Jun 1999 03:55:13 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Tue, 8 Jun 1999 03:55:13 -0700 (PDT) From: Message-Id: <199906081055.DAA26106@freefall.freebsd.org> To: pam@polynet.lviv.ua, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/11822: tcpd is not installed from src/contrib/tcp_wrappers during make world Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: tcpd is not installed from src/contrib/tcp_wrappers during make world State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Tue Jun 8 03:54:00 PDT 1999 State-Changed-Why: You're not supposed to use tcpd with the base system's wrappers. See the inetd(8) manpage. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 3:59:50 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6257014E23; Tue, 8 Jun 1999 03:59:48 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA26759; Tue, 8 Jun 1999 03:59:48 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Tue, 8 Jun 1999 03:59:48 -0700 (PDT) From: Message-Id: <199906081059.DAA26759@freefall.freebsd.org> To: deuerl@indra.de, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/11744: perllib fails to build Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: perllib fails to build State-Changed-From-To: open->feedback State-Changed-By: sheldonh State-Changed-When: Tue Jun 8 03:58:58 PDT 1999 State-Changed-Why: Have you tried with more reasonable CFLAGS, like maybe "-O -pipe"? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 4:14:59 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 49E0314EDB; Tue, 8 Jun 1999 04:14:38 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA30567; Tue, 8 Jun 1999 04:14:29 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Tue, 8 Jun 1999 04:14:29 -0700 (PDT) From: Message-Id: <199906081114.EAA30567@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, peter@FreeBSD.org Subject: Re: bin/11739: 3.1-STABLE build failure (mkdep inetd fails -- missing tcpd.h) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: 3.1-STABLE build failure (mkdep inetd fails -- missing tcpd.h) Responsible-Changed-From-To: freebsd-bugs->peter Responsible-Changed-By: sheldonh Responsible-Changed-When: Tue Jun 8 04:09:42 PDT 1999 Responsible-Changed-Why: Peter, are you deliberately holding back on an MFC for Makefile.in rev 1.68 ? You fixed the broken build for CURRENT (missing tcpd.h) but it still appears to be a problem for RELENG_3. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 4:20:23 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B95D214EDB for ; Tue, 8 Jun 1999 04:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA31071; Tue, 8 Jun 1999 04:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 04:20:02 -0700 (PDT) Message-Id: <199906081120.EAA31071@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Tue, 08 Jun 1999 13:16:48 +0200 On Tue, 08 Jun 1999 11:41:01 +0100, David Malone wrote: > Yup - we should call syslog for every connection with allow_severity for > the level. For a start this is what tcpd does, but for a second > allow_severity can be changed by the call to hosts_access But that's just my point. I don't think it can, certainly not from my take on the allow_severity variable in inetd.c ... Where are you looking? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 4:30:25 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 37BB415125 for ; Tue, 8 Jun 1999 04:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA31794; Tue, 8 Jun 1999 04:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 04:30:02 -0700 (PDT) Message-Id: <199906081130.EAA31794@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: David Malone To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Tue, 08 Jun 1999 12:26:45 +0100 > On Tue, 08 Jun 1999 11:41:01 +0100, David Malone wrote: > > > Yup - we should call syslog for every connection with allow_severity for > > the level. For a start this is what tcpd does, but for a second > > allow_severity can be changed by the call to hosts_access > > But that's just my point. I don't think it can, certainly not from my > take on the allow_severity variable in inetd.c ... Where are you > looking? contrib/tcp_wrappers/options.c about line 550. This actually means we should be reseting allow_severity and deny_severity before each call to hosts_access()? David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 4:40:32 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8ED8215352 for ; Tue, 8 Jun 1999 04:40:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA32709; Tue, 8 Jun 1999 04:40:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 04:40:04 -0700 (PDT) Message-Id: <199906081140.EAA32709@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Tue, 08 Jun 1999 13:32:35 +0200 On Tue, 08 Jun 1999 12:26:45 +0100, David Malone wrote: > contrib/tcp_wrappers/options.c about line 550. This actually means we > should be reseting allow_severity and deny_severity before each call > to hosts_access()? So you wanna work on that? I foresee 6 lines of code. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 4:50: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E41B714EDB for ; Tue, 8 Jun 1999 04:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA33626; Tue, 8 Jun 1999 04:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 04:50:01 -0700 (PDT) Message-Id: <199906081150.EAA33626@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: David Malone To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Tue, 08 Jun 1999 12:44:50 +0100 > On Tue, 08 Jun 1999 12:26:45 +0100, David Malone wrote: > > > contrib/tcp_wrappers/options.c about line 550. This actually means we > > should be reseting allow_severity and deny_severity before each call > > to hosts_access()? > > So you wanna work on that? I foresee 6 lines of code. :-) How does the following look? It also includes the removal of the if(){} from around the syslog for allows. David. --- inetd.c.orig Tue Jun 8 12:34:30 1999 +++ inetd.c Tue Jun 8 12:41:14 1999 @@ -629,6 +629,8 @@ sep->se_server_name : sep->se_service, RQ_FILE, ctrl, NULL); fromhost(&req); + deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY; + allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY; denied = !hosts_access(&req); if (denied || log) { sp = getservbyport(sep->se_ctrladdr.sin_port, sep->se_proto); @@ -645,11 +647,9 @@ eval_client(&req), service, sep->se_proto); goto reject; } - if (log) { - syslog(allow_severity, - "connection from %.500s, service %s (%s)", - eval_client(&req), service, sep->se_proto); - } + syslog(allow_severity, + "connection from %.500s, service %s (%s)", + eval_client(&req), service, sep->se_proto); } #endif /* LIBWRAP */ if (sep->se_bi) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 5: 0:27 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0428214E0F for ; Tue, 8 Jun 1999 05:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA34400; Tue, 8 Jun 1999 05:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 05:00:03 -0700 (PDT) Message-Id: <199906081200.FAA34400@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Tue, 08 Jun 1999 13:58:30 +0200 The code as it stands sets the severities once. You're proposing to set the severities every time hosts_access() is called, but always to the same values that they were set to at the beginning. :-) Doesn't the tcp_wrappers library offer an interface for finding out what severity a particular service likes to be reported with? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 5:10: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8D82C14BD3 for ; Tue, 8 Jun 1999 05:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA35408; Tue, 8 Jun 1999 05:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 05:10:03 -0700 (PDT) Message-Id: <199906081210.FAA35408@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: David Malone To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Tue, 08 Jun 1999 13:07:49 +0100 > The code as it stands sets the severities once. You're proposing to set > the severities every time hosts_access() is called, but always to the > same values that they were set to at the beginning. :-) > > Doesn't the tcp_wrappers library offer an interface for finding out what > severity a particular service likes to be reported with? Calling hosts_access is the only way of finding out, 'cos the severity might depend on any of the things on which tcp wrappers can match on. I think we need to reset them each time 'cos otherwise if we don't set the severity in /etc/hosts.allow for the current service we'll just get the last used severity. I think resetting each time is the correct behavior... David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 5:10: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id F393114D8A for ; Tue, 8 Jun 1999 05:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA35403; Tue, 8 Jun 1999 05:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from huygens.uvt.ro (huygens.uvt.ro [193.226.13.85]) by hub.freebsd.org (Postfix) with ESMTP id 5888D14BD3 for ; Tue, 8 Jun 1999 05:06:42 -0700 (PDT) (envelope-from geza@huygens.uvt.ro) Received: (from root@localhost) by huygens.uvt.ro (8.9.2/8.9.2) id PAA01631; Tue, 8 Jun 1999 15:06:46 +0300 (EEST) (envelope-from geza) Message-Id: <199906081206.PAA01631@huygens.uvt.ro> Date: Tue, 8 Jun 1999 15:06:46 +0300 (EEST) From: Geza Ghemes Reply-To: geza@huygens.uvt.ro To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/12080: printing Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12080 >Category: misc >Synopsis: printing >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: Tue Jun 8 05:10:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Charlie Root >Release: FreeBSD 3.1-RELEASE i386 >Organization: Research Group in Theoretical Physics and Gravity >Environment: AMD K5-PR100 Lexmark 1000 >Description: I have an Lexmark 1000 printer. On boot time system reports: ... nlpt0: on ppbus0 nlpt0: interrupt driven port ... but when I try to print anything, even trying lptest > /dev/lpt0, when lpd was killed , only thing what I was getting it was a paper scrolling out from the printer, the same thing I obtain when I try to use the spooler. >How-To-Repeat: >Fix: Unfortunately I have no idea >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 Tue Jun 8 5:20:24 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 995D514BD3 for ; Tue, 8 Jun 1999 05:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA36454; Tue, 8 Jun 1999 05:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 05:20:03 -0700 (PDT) Message-Id: <199906081220.FAA36454@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Tue, 08 Jun 1999 14:17:53 +0200 I'm being obtuse. Next time I'll read more carefully. This looks like what we want. Do your changes work with wrapped internal services (see PR 11651)? Looks to me like your method handles both cases of forked and non-forked internals nicely. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 7: 0:26 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 379F314D6A for ; Tue, 8 Jun 1999 07:00:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA08531; Tue, 8 Jun 1999 07:00:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 07:00:04 -0700 (PDT) Message-Id: <199906081400.HAA08531@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: David Malone To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Tue, 08 Jun 1999 14:54:44 +0100 > I'm being obtuse. Next time I'll read more carefully. This looks like > what we want. Do your changes work with wrapped internal services (see > PR 11651)? Looks to me like your method handles both cases of forked and > non-forked internals nicely. I think the code makes sense in both cases. I read the PR and I can't see how this could upset the internally wrapped case. Reading the code more carefully, I think I've discovered something else which should be done all the time - calculating the service name for the syslog. I've checked all these changes on a 3.2-stable machine and it seems to do the right thing. I've an interesting tail of caution for people - if you already have services wrapped with tcpd and wonder why: in.rshd rshd: ALL : severity dshosadh.warning : deny Is alowd by inetd's tcp wrapping, but denied by tcpd's wrapping - remember inetd will be calling hosts_access with a daemon name of "tcpd"! I wonder if we should log the daemon's name when we log the rest of the info about the service - as that is what people are most likely to grep for? David. --- inetd.c Tue Jun 8 13:39:35 1999 +++ inetd.c.orig Tue Jun 8 12:34:30 1999 @@ -629,24 +629,25 @@ sep->se_server_name : sep->se_service, RQ_FILE, ctrl, NULL); fromhost(&req); - deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY; - allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY; denied = !hosts_access(&req); - sp = getservbyport(sep->se_ctrladdr.sin_port, sep->se_proto); - if (sp == NULL) { - (void)snprintf(buf, sizeof buf, "%d", - ntohs(sep->se_ctrladdr.sin_port)); - service = buf; - } else - service = sp->s_name; + if (denied || log) { + sp = getservbyport(sep->se_ctrladdr.sin_port, sep->se_proto); + if (sp == NULL) { + (void)snprintf(buf, sizeof buf, "%d", + ntohs(sep->se_ctrladdr.sin_port)); + service = buf; + } else + service = sp->s_name; + } if (denied) { syslog(deny_severity, "refused connection from %.500s, service %s (%s)", eval_client(&req), service, sep->se_proto); goto reject; - } else { + } + if (log) { syslog(allow_severity, - "connection from %.500s, service %s (%s)", + "connection from %.500s, service %s (%s)", eval_client(&req), service, sep->se_proto); } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 7:50:53 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from fantomas.sk (fantomas.fantomas.sk [195.168.5.189]) by hub.freebsd.org (Postfix) with ESMTP id 01FB614BEF for ; Tue, 8 Jun 1999 07:50:03 -0700 (PDT) (envelope-from uhlar@fantomas.sk) Received: (from uhlar@localhost) by fantomas.sk (8.9.3/8.9.3/Debian/GNU) id QAA21229 for freebsd-bugs@freebsd.org; Tue, 8 Jun 1999 16:50:02 +0200 Date: Tue, 8 Jun 1999 16:50:01 +0200 From: Matus fantomas Uhlar To: freebsd-bugs@freebsd.org Subject: system limits at system startup Message-ID: <19990608165000.A21192@fantomas.fantomas.sk> Mail-Followup-To: freebsd-bugs@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, when FreeBSD starts up, it has data segment limited to 32 MB RAM, I must use "ulimit -H -d 65536" to increase it... why that ? it ignores /etc/login.conf even. when I started ircd as "su irc -c /home/irs/startirc" it did NOT setup limits as configured in /etc/login.conf... happned on 2.2.8 now happens on 3.2 too... -- Matus "fantomas" Uhlar, sysadmin at Telenor Internet Kosice, Slovakia BIC coord for *.sk; admin of netlab.irc.sk; co-admin of irc.felk.cvut.cz The 3 biggets disasters: Hiroshima 45, Tschernobyl 86, Windows 95 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 8:16: 1 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 97026151F2; Tue, 8 Jun 1999 08:15:40 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA16303; Tue, 8 Jun 1999 08:15:40 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Tue, 8 Jun 1999 08:15:40 -0700 (PDT) From: Message-Id: <199906081515.IAA16303@freefall.freebsd.org> To: richw@yank.kitchener.on.ca, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/2736: No boot block if no FreeBSD partitions on first hard drive Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: No boot block if no FreeBSD partitions on first hard drive State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Tue Jun 8 08:14:46 PDT 1999 State-Changed-Why: Timeout on an ancient PR for a really old release on a branch for which no further releases are planned. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 9: 0: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C1B751532A for ; Tue, 8 Jun 1999 09:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA23856; Tue, 8 Jun 1999 09:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from servidor1.cursosvirtuales.com.ar (www.cursosvirtuales.com.ar [200.10.104.198]) by hub.freebsd.org (Postfix) with ESMTP id 234D015012 for ; Tue, 8 Jun 1999 08:54:41 -0700 (PDT) (envelope-from fpscha@servidor1.cursosvirtuales.com.ar) Received: (from fpscha@localhost) by servidor1.cursosvirtuales.com.ar (8.8.8/8.8.8) id MAA17606; Tue, 8 Jun 1999 12:57:18 -0300 (ART) (envelope-from fpscha) Message-Id: <199906081557.MAA17606@servidor1.cursosvirtuales.com.ar> Date: Tue, 8 Jun 1999 12:57:18 -0300 (ART) From: fpscha@cvi.com.ar Reply-To: fpscha@cvi.com.ar To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/12084: Mistake in anti spam rules for non-us domains. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12084 >Category: conf >Synopsis: Mistake in anti spam rules for non-us domains. >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: Tue Jun 8 09:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Fernando P. Schapachnik >Release: FreeBSD 2.2.8-RELEASE i386 >Organization: >Environment: I tested it only in 2.2.x as I don't have a 3.x available, but I think it's pertinent too. The anti spam rules that come in /etc/mail/sendmail.cf.additions provide a spamsites db to block known sources of spam. The sendmail rules that implement that restriction are designed to block the first every first level subdomain of the blocked domain. Example: If the database says: example.com REJECT the rule will block host1.example.com, smtp.example.com, etc. >Description: The problem arise when you want to block some non-us domain. Example: spammer.com.ar REJECT But one of the rules just search in the db "com.ar", which is not found. So the email keeps going through. If you add com.ar REJECT to the db, the every email from spammer.com.ar, goodguy.com.ar, etc. gets rejected. >How-To-Repeat: Add cavallo.org.ar REJECT to your spamsites db and connect to sendmail sending mail from user@cavallo.org.ar. The mail will pass. >Fix: Aplpy the following patch to /etc/mail/sendmail.cf.additions: --- /etc/mail/sendmail.cf.additions Mon Nov 30 02:15:29 1998 +++ sendmail.cf.additions Tue Jun 8 12:45:14 1999 @@ -38,7 +38,11 @@ # # host must NOT be in the "spamsites" database--BEGIN R$* $| $* $: <$1 $| $2> $1 -R<$*> $+.$+.$+ <$1> $3.$4 +# Uncomment the following line if you what to block +# host.domain.com having only domain.com in your db. +# Be aware that this have the side effect of having to block +# the hole com.ar in order to block domain.com.ar. +#R<$*> $+.$+.$+ <$1> $3.$4 R<$*> $+.$+ $: <$1> $(spamsites $2.$3 $) R<$*> $*.REJECT $#error $: 521 blocked. contact postmaster@$m R<$*> $* $: $1 @@ -70,7 +74,11 @@ # mail must come from a DNS resolvable host--END # mail must NOT come from a known source of spam--BEGIN R$+ @$+ $: <$1@$2> $2 -R<$*> $+.$+.$+ <$1> $3.$4 +# Uncomment the following line if you what to block +# host.domain.com having only domain.com in your db. +# Be aware that this have the side effect of having to block +# the hole com.ar in order to block domain.com.ar. +#R<$*> $+.$+.$+ <$1> $3.$4 R<$*> $* $: $(spamsites $2 $: OK $) R$+.REJECT $#error $@ 5.7.1 $: 550 $1 R<$*> $* $: $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 Tue Jun 8 9: 6:22 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1364B15364; Tue, 8 Jun 1999 09:06:20 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA25020; Tue, 8 Jun 1999 09:06:19 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Tue, 8 Jun 1999 09:06:19 -0700 (PDT) From: Message-Id: <199906081606.JAA25020@freefall.freebsd.org> To: jonny@mailhost.coppe.ufrj.br, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/3251: xsysinfo stops refreshing and wastes CPU Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: xsysinfo stops refreshing and wastes CPU State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Tue Jun 8 09:05:45 PDT 1999 State-Changed-Why: Closed on submitter's request. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 14:30: 9 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1955215580 for ; Tue, 8 Jun 1999 14:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA54797; Tue, 8 Jun 1999 14:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from portable.altadena.net (dhcp121.conference.usenix.org [209.179.127.121]) by hub.freebsd.org (Postfix) with ESMTP id 0F4DF14D26 for ; Tue, 8 Jun 1999 14:22:11 -0700 (PDT) (envelope-from pete@portable.altadena.net) Received: (from pete@localhost) by portable.altadena.net (8.9.3/8.8.8) id OAA00592; Tue, 8 Jun 1999 14:22:11 -0700 (PDT) (envelope-from pete) Message-Id: <199906082122.OAA00592@portable.altadena.net> Date: Tue, 8 Jun 1999 14:22:11 -0700 (PDT) From: pete@altadena.net Reply-To: pete@altadena.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/12088: i386 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12088 >Category: i386 >Synopsis: Enhancement to ed driver for Linksys 10/100 or DLink DFE650 >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: Tue Jun 8 14:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Pete Carah >Release: FreeBSD 3.2-STABLE i386 >Organization: Altadena Internet >Environment: 3.x (the if_ed driver appears to not have changed since 3.0-stable.) PCMCIA 10/100 ethernet. >Description: Add full functionality for Linksys 10/100 or DLink DFE650 >How-To-Repeat: Use either of these cards in a laptop >Fix: This was made up by fitting data from the linux driver into the existing if_ed.c framework. Apply diff: (debug stuff isn't really needed :-) *** if_ed.c Thu Mar 18 10:47:27 1999 --- if_ed.c.new Thu Apr 29 10:16:46 1999 *************** *** 157,162 **** --- 157,165 ---- static int ed_probe_Novell_generic __P((struct ed_softc *, int, int, int)); static int ed_probe_HP_pclanp __P((struct isa_device *)); + static int ed_probe_DL10019A __P((struct isa_device *)); + static int ed_probe_DL10019A_generic __P((struct ed_softc *, int, int, int)); + #include "pci.h" #if NPCI > 0 void *ed_attach_NE2000_pci __P((int, int)); *************** *** 221,229 **** --- 224,240 ---- u_char e; struct ed_softc *sc = &ed_softc[devi->isahd.id_unit]; + #if ED_DEBUG + printf("EDINIT called %d\n", devi->isahd.id_unit); + #endif + /* validate unit number. */ if (devi->isahd.id_unit >= NEDTOT) return(ENODEV); + + #if ED_DEBUG + printf("Unit valid, probing\n"); + #endif /* * Probe the device. If a value is returned, the * device was found at the location. *************** *** 231,242 **** --- 242,257 ---- sc->gone = 0; if (ed_probe_pccard(&devi->isahd, devi->misc) == 0) return(ENXIO); + #if ED_DEBUG + printf("Probed OK\n"); + #endif e = 0; for (i = 0; i < ETHER_ADDR_LEN; ++i) e |= devi->misc[i]; if (e) for (i = 0; i < ETHER_ADDR_LEN; ++i) sc->arpcom.ac_enaddr[i] = devi->misc[i]; + if (ed_attach_isa(&devi->isahd) == 0) return(ENXIO); *************** *** 742,748 **** sc->cr_proto = 0; } ! #if 0 printf("starting memory performance test at 0x%x, size %d...\n", sc->mem_start, memsize*16384); for (i = 0; i < 16384; i++) --- 757,763 ---- sc->cr_proto = 0; } ! #if ED_DEBUG printf("starting memory performance test at 0x%x, size %d...\n", sc->mem_start, memsize*16384); for (i = 0; i < 16384; i++) *************** *** 1158,1164 **** --- 1173,1181 ---- ed_pio_readmem(sc, 16384, test_buffer, sizeof(test_pattern)); if (bcmp(test_pattern, test_buffer, sizeof(test_pattern))) + { return (0); /* not an NE2000 either */ + } sc->type = ED_TYPE_NE2000; sc->type_str = "NE2000"; *************** *** 1288,1293 **** --- 1305,1500 ---- isa_dev->id_unit, isa_dev->id_flags); } + static int + ed_probe_DL10019A_generic(sc, port, unit, flags) + struct ed_softc *sc; + int port; + int unit; + int flags; + { + u_int memsize, n; + u_char romdata[16], tmp; + static char test_pattern[32] = "THIS is A memory TEST pattern"; + char test_buffer[32]; + u_int i, sum, c; + + sc->asic_addr = port + 0x10; + sc->nic_addr = port + 0x00; + + /* XXX - do Novell-specific probe here */ + + /* Reset the board */ + tmp = inb(sc->asic_addr + ED_NOVELL_RESET); + + /* + * I don't know if this is necessary; probably cruft leftover from + * Clarkson packet driver code. Doesn't do a thing on the boards I've + * tested. -DG [note that a outb(0x84, 0) seems to work here, and is + * non-invasive...but some boards don't seem to reset and I don't have + * complete documentation on what the 'right' thing to do is...so we + * do the invasive thing for now. Yuck.] + */ + outb(sc->asic_addr + ED_NOVELL_RESET, tmp); + DELAY(5000); + + /* + * This is needed because some NE clones apparently don't reset the + * NIC properly (or the NIC chip doesn't reset fully on power-up) XXX + * - this makes the probe invasive! ...Done against my better + * judgement. -DLG + */ + outb(sc->nic_addr + ED_P0_CR, ED_CR_RD2 | ED_CR_STP); + + DELAY(5000); + + /* Make sure that we really have an 8390 based board */ + if (!ed_probe_generic8390(sc)) + return (0); + + sc->vendor = ED_VENDOR_DL10019A; + sc->mem_shared = 0; + sc->cr_proto = ED_CR_RD2; + + /* + * Test the ability to read and write to the NIC memory. This has the + * side affect of determining if this is an NE1000 or an NE2000. + */ + + #if ED_DEBUG + printf("Checking address - "); + #endif + for(sum = 0,i = 0x14; i < 0x1c; ++i) + { + sum += (c = inb(sc->nic_addr + i)); + #if ED_DEBUG + printf("%02x:", c); + #endif + } + #if ED_DEBUG + printf(" - sum=%02x\n", sum); + #endif + + if ((sum & 0xff) != 0xff) + return 0; + + #if ED_DEBUG + printf("Getting address\n"); + #endif + + for (n = 0; n < ETHER_ADDR_LEN; n++) + sc->arpcom.ac_enaddr[n] = inb(sc->nic_addr + 0x14 + n); + + #if ED_DEBUG + printf("Structure address %02x:%02x:%02x:%02x:%02x:%02x\n", + sc->arpcom.ac_enaddr[0], sc->arpcom.ac_enaddr[1], + sc->arpcom.ac_enaddr[2], sc->arpcom.ac_enaddr[3], + sc->arpcom.ac_enaddr[4], sc->arpcom.ac_enaddr[5]); + #endif + /* + * This prevents packets from being stored in the NIC memory when the + * readmem routine turns on the start bit in the CR. + */ + + outb(sc->nic_addr + ED_P0_RCR, ED_RCR_MON); + + outb(sc->nic_addr + ED_P0_DCR, ED_DCR_WTS | ED_DCR_FT1 | ED_DCR_LS); + outb(sc->nic_addr + ED_P0_PSTART, 0 / ED_PAGE_SIZE); + outb(sc->nic_addr + ED_P0_PSTOP, 32768 / ED_PAGE_SIZE); + + sc->isa16bit = 1; + + ed_pio_writemem(sc, test_pattern, 1024, sizeof(test_pattern)); + ed_pio_readmem(sc, 1024, test_buffer, sizeof(test_pattern)); + + #if ED_DEBUG + printf("Test Pattern %-30.30s\n", test_pattern); + printf("Test as seen %-30.30s\n", test_buffer); + #endif + + if (bcmp(test_pattern, test_buffer, sizeof(test_pattern))) + { + return (0); /* not an NE2000 either */ + } + + /* try top of memory - Linksys is 32k and D-Link is 64k */ + ed_pio_writemem(sc, test_pattern, 32000, sizeof(test_pattern)); + ed_pio_readmem(sc, 32000, test_buffer, sizeof(test_pattern)); + + #if ED_DEBUG + printf("Test Pattern %-30.30s\n", test_pattern); + printf("Test as seen %-30.30s\n", test_buffer); + #endif + + if (bcmp(test_pattern, test_buffer, sizeof(test_pattern))) + { + return (0); /* not an NE2000 either */ + } + + /* try D-Link with 64k buffer */ + outb(sc->nic_addr + ED_P0_PSTOP, 65280 / ED_PAGE_SIZE); + + ed_pio_writemem(sc, test_pattern, 65200, sizeof(test_pattern)); + ed_pio_readmem(sc, 65200, test_buffer, sizeof(test_pattern)); + + #if ED_DEBUG + printf("Test Pattern %-30.30s\n", test_pattern); + printf("Test as seen %-30.30s\n", test_buffer); + #endif + + if (bcmp(test_pattern, test_buffer, sizeof(test_pattern))) + { + sc->type_str = "LinkSys"; + + /* 8k of memory plus an additional 8k if 16bit */ + memsize = 32768; + outb(sc->nic_addr + ED_P0_PSTOP, 32768 / ED_PAGE_SIZE); + + } + else + { + sc->type_str = "D-Link"; + /* More memory */ + memsize = 65280; + } + + + sc->mem_size = memsize; + + /* NIC memory doesn't start at zero on an NE board */ + /* The start address is tied to the bus width */ + sc->mem_start = 0; + sc->mem_end = sc->mem_start + memsize; + sc->tx_page_start = 0 / ED_PAGE_SIZE; + + + /* + * Use one xmit buffer if < 16k, two buffers otherwise (if not told + * otherwise). + */ + sc->txb_cnt = 2; + + sc->rec_page_start = sc->tx_page_start + sc->txb_cnt * ED_TXBUF_SIZE; + sc->rec_page_stop = sc->tx_page_start + memsize / ED_PAGE_SIZE; + + sc->mem_ring = sc->mem_start + sc->txb_cnt * ED_PAGE_SIZE * ED_TXBUF_SIZE; + + /* clear any pending interrupts that might have occurred above */ + outb(sc->nic_addr + ED_P0_ISR, 0xff); + + return (32); + } + + static int + ed_probe_DL10019A(isa_dev) + struct isa_device *isa_dev; + { + struct ed_softc *sc = &ed_softc[isa_dev->id_unit]; + + isa_dev->id_maddr = 0; + return ed_probe_DL10019A_generic(sc, isa_dev->id_iobase, + isa_dev->id_unit, isa_dev->id_flags); + } + #if NCARD > 0 /* * Probe framework for pccards. Replicates the standard framework, *************** *** 1301,1306 **** --- 1508,1517 ---- { int nports; + nports = ed_probe_DL10019A(isa_dev); + if (nports) + return(nports); + nports = ed_probe_WD80x3(isa_dev); if (nports) return (nports); *************** *** 2877,2883 **** { int maxwait = 200; /* about 240us */ ! if (sc->vendor == ED_VENDOR_NOVELL) { /* select page 0 registers */ outb(sc->nic_addr + ED_P0_CR, ED_CR_RD2 | ED_CR_STA); --- 3088,3095 ---- { int maxwait = 200; /* about 240us */ ! if (sc->vendor == ED_VENDOR_NOVELL || ! sc->vendor == ED_VENDOR_DL10019A) { /* select page 0 registers */ outb(sc->nic_addr + ED_P0_CR, ED_CR_RD2 | ED_CR_STA); *** if_edreg.h Thu Oct 8 10:20:58 1998 --- if_edreg.h.new Thu Apr 29 10:16:59 1999 *************** *** 571,576 **** --- 571,578 ---- #define ED_VENDOR_PCCARD 0x03 /* PCMCIA/PCCARD */ #define ED_VENDOR_HP 0x04 /* Hewlett Packard */ + #define ED_VENDOR_DL10019A 0x05 /* LinkSys, maybe DLINK */ + /* * Compile-time config flags */ >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 Tue Jun 8 20:50: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 63D7814FC5 for ; Tue, 8 Jun 1999 20:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA02646; Tue, 8 Jun 1999 20:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id A3A6315207; Tue, 8 Jun 1999 20:43:26 -0700 (PDT) Message-Id: <19990609034326.A3A6315207@hub.freebsd.org> Date: Tue, 8 Jun 1999 20:43:26 -0700 (PDT) From: eddart@ca.sandia.gov To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/12091: syslog packets from a remote machine are not accepted unless the address is specified as xxx.xxx.xxx.xxx/32 -- shorter masks (including defaults) cause packets to be dropped by syslogd. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12091 >Category: bin >Synopsis: syslog packets from a remote machine are not accepted unless the address is specified as xxx.xxx.xxx.xxx/32 -- shorter masks (including defaults) cause packets to be dropped by syslogd. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 8 20:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Eli Dart >Release: 3.2-RELEASE >Organization: Sandia National Labs >Environment: FreeBSD 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Tue May 18 04:05:08 GMT 1999 jkh@cathair:/usr/src/sys/compile/GENERIC i386 >Description: This problem shows up when attempting accept syslog packets from a remote machine. If syslogd is run "syslogd -a 1.2.3.4/24" (the network is a class C network, netmask 255.255.255.0) syslog packets are dropped. I have also tried this on a /27 network -- same behavior. >How-To-Repeat: Running "syslogd -d -a 1.2.3.4/24" gives the following output: allowaddr: rule 0: numeric, addr = 1.2.3.4, mask = 255.255.255.0; port = 514 off & running.... init ... [snip] ... cvthname(1.2.3.4) validate: dgram from IP 1.2.3.4, port 514, name ; rejected in rule 0 due to IP mismatch. So, it prints out that it got a udp packet from 1.2.3.4 and dropped it. In syslogd.c, line 1770, function validate() starts. In validate(), line 1793, we walk the list of allowed peers in a for loop. In that for loop, line 1800, is the comparison that is causing the problem. The source address of the udp packet is bitwise anded with the stored netmask (converted from the /24 on the command line) and compared with the stored address (gotten from the command line). Of course these are different -- the netmask (in net byte order) is 0x00ffffff. We simply nuke the first 2 bytes of the incoming packet's address. >Fix: Option 1: always use a 32-bit mask Option 2: replace this code (in syslogd.c): 1799 if (ap->isnumeric) { 1800 if ((sin->sin_addr.s_addr & ap->a_mask.s_addr) 1801 != ap->a_addr.s_addr) { 1802 dprintf("rejected in rule %d due to IP mismatch.\n", i); 1803 continue; 1804 } 1805 } else { With this code: if (ap->isnumeric) { if ((sin->sin_addr.s_addr & ap->a_mask.s_addr) != (ap->a_addr.s_addr & ap->a_mask.s_addr) ) { dprintf("rejected in rule %d due to IP mismatch.\n", i); continue; } } else { Hmmm....it says not to submit code. Oops... If this comes out garbled, let me know, and I will mail it to you. There isn't *much* 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 Tue Jun 8 22:20: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BA2B814EB3 for ; Tue, 8 Jun 1999 22:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA11205; Tue, 8 Jun 1999 22:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 8 Jun 1999 22:20:02 -0700 (PDT) Message-Id: <199906090520.WAA11205@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bill Fenner Subject: Re: bin/12091: syslog packets from a remote machine are not accepted unless the address is specified as xxx.xxx.xxx.xxx/32 -- shorter masks (including defaults) cause packets to be dropped by syslogd. Reply-To: Bill Fenner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/12091; it has been noted by GNATS. From: Bill Fenner To: eddart@ca.sandia.gov Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/12091: syslog packets from a remote machine are not accepted unless the address is specified as xxx.xxx.xxx.xxx/32 -- shorter masks (including defaults) cause packets to be dropped by syslogd. Date: Tue, 8 Jun 1999 22:19:22 -0700 Isn't the fix to simply use -a 1.2.3.0/24 on the command line? Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jun 8 23: 0: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 38E4514D5F for ; Tue, 8 Jun 1999 23:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA14446; Tue, 8 Jun 1999 23:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from bushido.phiber.com (bushido.phiber.com [204.254.246.136]) by hub.freebsd.org (Postfix) with ESMTP id 68BC814ECC for ; Tue, 8 Jun 1999 22:50:02 -0700 (PDT) (envelope-from phiber@bushido.phiber.com) Received: (from phiber@localhost) by bushido.phiber.com (8.9.3/8.9.2) id BAA00929; Wed, 9 Jun 1999 01:49:33 -0400 (EDT) (envelope-from phiber) Message-Id: <199906090549.BAA00929@bushido.phiber.com> Date: Wed, 9 Jun 1999 01:49:33 -0400 (EDT) From: phiber@phiber.com Reply-To: phiber@phiber.com To: FreeBSD-gnats-submit@freebsd.org Cc: phiber@phiber.com X-Send-Pr-Version: 3.2 Subject: kern/12092: Iomega parallel Zip drive not working Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12092 >Category: kern >Synopsis: vpo driver not working in 3.2-RELEASE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 8 23:00:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Me >Release: FreeBSD 3.2-RELEASE i386 >Organization: Here >Environment: Sony VAIO 505EX w/PAO3 patches Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-RELEASE #1: Tue Jun 8 21:42:33 EDT 1999 root@bushido.phiber.com:/usr/src/PAO3_CVS/PAO3/src/sys/compile/BUSHIDO Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P55C (quarter-micron) (233.86-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x581 Stepping=1 Features=0x8001bf real memory = 67108864 (65536K bytes) avail memory = 62312448 (60852K bytes) Preloaded elf kernel "kernel" at 0xc02da000. Probing for devices on PCI bus 0: chip0: rev 0x01 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 ELCR2 08 -> 0c ide_pci0: rev 0x01 on pci0.1.1 chip2: rev 0x01 on pci0.1.3 vga0: rev 0x01 int a irq 11 on pci0.2.0 pcic0: rev 0x01 int a irq 255 on pci0.10.0 RL5C4XX PCI Config Reg: [CSC isa irq] Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2: configured irq 10 not in bitmap of probed irqs 0 sio2 at 0x3e8-0x3ef irq 10 on isa sio2: type 16550A ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: on ppbus 0 lpt0: Interrupt-driven port vpo0: on ppbus 0 vpo0: EPP 1.9 mode lpt0: on ppbus 0 lpt0: Interrupt-driven port pcm0 at 0x220 irq 5 drq 1 flags 0x13 on isa ESS1878 (rev 11, native mode) fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 4126MB (8452080 sectors), 8944 cyls, 15 heads, 63 S/T, 512 B/S pcic0 at 0x3e0-0x3e1 irq 11 flags 0x1 on isa PC-Card ctlr(0) Ricoh RL5C465 [CardBus bridge mode] (5 mem & 2 I/O windows) pcic0: slot 0 controller I/O address 0x0 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface apm0 on isa apm: found APM BIOS version 1.2 Intel Pentium detected, installing workaround for F00F bug Waiting 15 seconds for SCSI devices to settle vpo0: VP0 error/timeout (5) vpo0: VP0 error/timeout (5) vpo0: VP0 error/timeout (5) vpo0: VP0 error/timeout (5) vpo0: VP0 error/timeout (5) changing root device to wd0s1a >Description: Very simply, my Iomega parallel port Zip drive is never detected by the kernel's SCSI subsystem. As can be seen, VP0 is timing out. Trying to do a "camcontrol devlist -v" shows no initialized SCSI targets, on any bus. The following is in my config file: # Parallel port device ppc0 at isa? port? flags 0x0 tty irq 7 controller ppbus0 device lpt0 at ppbus? #device plip0 at ppbus? #device ppi0 at ppbus? controller vpo0 at ppbus? controller scbus0 device da0 I've tried ppc0 as both tty and net, and trying to explicitly bind scbus0 to vpo0, and trying to bind da0 to a specific target, all of which should be unnecessary. Nothing worked. The BIOS setting for the parallel port is "Bidirectional". Also tried "Normal" and "ECP". Didn't help. Also tried the GENERIC kernel, no difference. Doesn't work. FWIW, this Zip drive works perfectly in Win95 on the same machine. >How-To-Repeat: Enable vpo0, scbus0, and da0 on 3.2-RELEASE. Connect a parallel port Zip drive. Boot. Watch it not work. >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 Tue Jun 8 23:20: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D845514EFD for ; Tue, 8 Jun 1999 23:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA16751; Tue, 8 Jun 1999 23:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from ns.eanetways.com (ns.eanetways.com [195.239.197.2]) by hub.freebsd.org (Postfix) with ESMTP id 01CF614EDE for ; Tue, 8 Jun 1999 23:17:58 -0700 (PDT) (envelope-from rustam@eanetways.com) Received: (from rustam@localhost) by ns.eanetways.com (8.9.3/8.9.3) id LAA60242; Wed, 9 Jun 1999 11:19:14 +0500 (UZT) Message-Id: <199906090619.LAA60242@ns.eanetways.com> Date: Wed, 9 Jun 1999 11:19:14 +0500 (UZT) From: Rustam Abdullaev Reply-To: rustam@eanetways.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/12093: /sbin/reboot does not run /etc/rc.shutdown Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12093 >Category: bin >Synopsis: /sbin/reboot does not run /etc/rc.shutdown during reboot >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 8 23:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Rustam Abdullaev >Release: FreeBSD 3.2-STABLE i386 >Organization: EurAsia NetWays ISP >Environment: >Description: when I reboot or halt my FreeBSD box using Ctrl-Alt-Del or kill 1, the init process successfully runs /etc/rc.shutdown, but when I try /sbin/reboot or /sbin/halt, the init process gets stopped and has no chance to run /etc/rc.shutdown >How-To-Repeat: /sbin/reboot >Fix: Copy the runshutdown() function from /sbin/init into /sbin/reboot and use it before stopping init. >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 Jun 9 0:10:52 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from ns.eanetways.com (ns.eanetways.com [195.239.197.2]) by hub.freebsd.org (Postfix) with ESMTP id 6333714CE9 for ; Wed, 9 Jun 1999 00:10:45 -0700 (PDT) (envelope-from rustam@eanetways.com) Received: from rustam (rustam.eanetways.com [195.239.197.12]) by ns.eanetways.com (8.9.3/8.9.3) with SMTP id MAA61015 for ; Wed, 9 Jun 1999 12:12:03 +0500 (UZT) Message-ID: <001901beb247$30986b30$0cc5efc3@rustam.eanetways.com> From: "Rustam B. Abdullaev" To: Subject: Re: bin/12093: /sbin/reboot does not run /etc/rc.shutdown Date: Wed, 9 Jun 1999 12:10:43 +0500 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: 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 Jun 9 2:13:43 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E705015117; Wed, 9 Jun 1999 02:13:41 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: (from ru@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA43156; Wed, 9 Jun 1999 02:13:41 -0700 (PDT) (envelope-from ru@FreeBSD.org) Date: Wed, 9 Jun 1999 02:13:41 -0700 (PDT) From: Message-Id: <199906090913.CAA43156@freefall.freebsd.org> To: rustam@eanetways.com, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/12093: /sbin/reboot does not run /etc/rc.shutdown during reboot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: /sbin/reboot does not run /etc/rc.shutdown during reboot State-Changed-From-To: open->closed State-Changed-By: ru State-Changed-When: Wed Jun 9 01:13:34 PDT 1999 State-Changed-Why: Not a bug. init(8) executes rc.shutdown whenever it receives SIGTERM signal. reboot(8) explicitly prevents this by sending init(8) SIGTSTP signal. You can use shutdown(8) to terminate your system gracefully. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 4: 0: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 56C1C153C6 for ; Wed, 9 Jun 1999 04:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA53547; Wed, 9 Jun 1999 04:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from camel.avias.com (camel.avias.com [195.14.38.87]) by hub.freebsd.org (Postfix) with ESMTP id 4EA4F14E77 for ; Wed, 9 Jun 1999 03:58:04 -0700 (PDT) (envelope-from camel@camel.avias.com) Received: (from camel@localhost) by camel.avias.com (8.9.3/8.9.3) id OAA62680; Wed, 9 Jun 1999 14:58:55 +0400 (MSD) (envelope-from camel) Message-Id: <199906091058.OAA62680@camel.avias.com> Date: Wed, 9 Jun 1999 14:58:55 +0400 (MSD) From: camel@avias.com Reply-To: camel@avias.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/12094: NVidia Riva128/TNT support Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12094 >Category: kern >Synopsis: NVidia Riva128/TNT support >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 Jun 9 04:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Ilya Naumov >Release: FreeBSD 4.0-CURRENT i386 >Organization: NIIAVIA >Environment: FreeBSD camel.avias.com 4.0-CURRENT FreeBSD 4.0-CURRENT #3: Fri Jun 4 16:35:25 MSD 1999 root@camel.avias.com:/usr/src/sys/compile/CAMEL i386 >Description: I have added support for NVidia Riva128 and Riva TNT chipsets into Catchcall driver for VGA devices, and I would be happy to see it in future FreeBSD kernels. the patch is provided below. by the way, I have an ability to test Vendor/Device ID pairs for some other video devices. is core develolpers team interested in it? >How-To-Repeat: >Fix: here is the patch: --- pcisupport.old Wed Jun 9 00:47:58 1999 +++ pcisupport.c Wed Jun 9 00:47:07 1999 @@ -1500,6 +1500,22 @@ chip = "PerMedia"; break; } break; + case 0x10de: + vendor = "NVidia"; + type = "graphics accelerator"; + switch (id >> 16) { + case 0x0020: + chip = "Riva TNT"; break; + } + break; + case 0x12d2: + vendor = "NVidia"; + type = "graphics accelerator"; + switch (id >> 16) { + case 0x0018: + chip = "Riva128"; break; + } + break; } if (vendor && chip) { >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 Jun 9 4:28:39 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B23B815425; Wed, 9 Jun 1999 04:28:37 -0700 (PDT) (envelope-from jseger@FreeBSD.org) Received: (from jseger@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA57673; Wed, 9 Jun 1999 04:28:37 -0700 (PDT) (envelope-from jseger@FreeBSD.org) Date: Wed, 9 Jun 1999 04:28:37 -0700 (PDT) From: Message-Id: <199906091128.EAA57673@freefall.freebsd.org> To: jseger@FreeBSD.org, freebsd-ports@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/11359: rvplayer 5.0 (Linux) cases ncr PCI SCSI driver to fail (and hang the system) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: rvplayer 5.0 (Linux) cases ncr PCI SCSI driver to fail (and hang the system) Responsible-Changed-From-To: freebsd-ports->freebsd-bugs Responsible-Changed-By: jseger Responsible-Changed-When: Wed Jun 9 04:28:18 PDT 1999 Responsible-Changed-Why: Misfiled PR. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 4:30: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 262F41543F for ; Wed, 9 Jun 1999 04:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA57835; Wed, 9 Jun 1999 04:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with SMTP id 1DD531593A for ; Wed, 9 Jun 1999 04:28:34 -0700 (PDT) (envelope-from jedgar@fxp.org) Received: (qmail 36641 invoked by uid 1003); 9 Jun 1999 11:28:29 -0000 Message-Id: <19990609112829.36640.qmail@pawn.primelocation.net> Date: 9 Jun 1999 11:28:29 -0000 From: jedgar@fxp.org Reply-To: jedgar@fxp.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/12095: [PATCH] Buggy ATAPI Zip Drive is not detected properly Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12095 >Category: kern >Synopsis: [PATCH] Buggy ATAPI Zip Drive is not detected properly >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 Jun 9 04:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Chris D. Faulhaber >Release: FreeBSD 3.2-STABLE i386 >Organization: >Environment: FreeBSD [....] 3.2-STABLE FreeBSD 3.2-STABLE #22: Mon Jun 7 12:08:27 EDT 1999 root@[....]:/usr/src/sys/compile/EARTH i386 >Description: The current revision of /usr/src/sys/i386/isa/wfd.c does not properly detect all buggy ATAPI Zip Drive firmware revisions. Currently, the driver checks to see if the drive is a Zip Drive using: if (!strcmp(ap->model, "IOMEGA ZIP 100 ATAPI")) { then sets t->maxblks = 64. I own an OEM Zip Drive (NEC) whose inquiry is: . Since this drive is not detected as a Zip Drive using the current method, and has buggy firmware, it will lock up when t->maxblks is > 64. >How-To-Repeat: 1) Attach an ATAPI Zip Drive to the system with an inquiry string slightly different than what is currently tested for, such as: versus a 'normal' Zip Drive: >Fix: Apply the following patch. This patch limits the test for a Zip Drive, to the first 11 characters using strncmp; same as Soren Schmidt's test in the new atapi-fd drivers. This patch applies to /sys/i386/isa/wfd.c revision: $Id: wfd.c,v 1.17.2.1 1999/02/18 22:06:08 ken Exp $ --- /sys/i386/isa/wfd.c.orig Thu Feb 18 17:06:08 1999 +++ /sys/i386/isa/wfd.c Tue Jun 8 07:25:20 1999 @@ -247,7 +247,7 @@ * is known to lock up if transfers > 64 blocks are * requested. */ - if (!strcmp(ap->model, "IOMEGA ZIP 100 ATAPI")) { + if (!strncmp(ap->model, "IOMEGA ZIP", 11)) { printf("wfd%d: buggy Zip drive, 64-block transfer limit set\n", t->lun); t->maxblks = 64; >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 Jun 9 4:47:45 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 586ED14BD6; Wed, 9 Jun 1999 04:47:44 -0700 (PDT) (envelope-from ache@FreeBSD.org) Received: (from ache@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA59318; Wed, 9 Jun 1999 04:47:44 -0700 (PDT) (envelope-from ache@FreeBSD.org) Date: Wed, 9 Jun 1999 04:47:44 -0700 (PDT) From: Message-Id: <199906091147.EAA59318@freefall.freebsd.org> To: camel@avias.com, ache@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/12094: NVidia Riva128/TNT support Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: NVidia Riva128/TNT support State-Changed-From-To: open->closed State-Changed-By: ache State-Changed-When: Wed Jun 9 04:47:05 PDT 1999 State-Changed-Why: Patch applied TNT2 added too To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 5: 5:23 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 43E2A14BD6; Wed, 9 Jun 1999 05:05:16 -0700 (PDT) (envelope-from cy@cschuber.net.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id FAA01360; Wed, 9 Jun 1999 05:05:15 -0700 Received: from cschuber.net.gov.bc.ca(142.31.240.113), claiming to be "cwsys.cwsent.com" via SMTP by point.osg.gov.bc.ca, id smtpda01358; Wed Jun 9 05:05:03 1999 Received: (from uucp@localhost) by cwsys.cwsent.com (8.9.3/8.9.1) id TAA01221; Tue, 8 Jun 1999 19:32:53 -0700 (PDT) Message-Id: <199906090232.TAA01221@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdIw1217; Tue Jun 8 19:32:47 1999 X-Mailer: exmh version 2.0.2 2/24/98 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 2.2.8-RELEASE X-Sender: cy To: ru@FreeBSD.org Cc: cschuber@uumail.gov.bc.ca, freebsd-bugs@FreeBSD.org Subject: Re: conf/7928: Patch to allow execution of an IPFW shell script In-reply-to: Your message of "Fri, 04 Jun 1999 16:21:13 PDT." <199906042321.QAA96332@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 08 Jun 1999 19:32:47 -0700 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199906042321.QAA96332@freefall.freebsd.org>, ru@FreeBSD.org writes: > Synopsis: Patch to allow execution of an IPFW shell script > > State-Changed-From-To: open->feedback > State-Changed-By: ru > State-Changed-When: Fri Jun 4 16:18:28 PDT 1999 > State-Changed-Why: > Why not just specify your script in ``firewall_script'' variable? > True. Please close. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Open Systems Group Internet: Cy.Schubert@uumail.gov.bc.ca ITSD Cy.Schubert@gems8.gov.bc.ca Province of BC "e**(i*pi)+1=0" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 5:11:38 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 57DF414BD6; Wed, 9 Jun 1999 05:11:37 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: (from ru@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA61064; Wed, 9 Jun 1999 05:11:36 -0700 (PDT) (envelope-from ru@FreeBSD.org) Date: Wed, 9 Jun 1999 05:11:36 -0700 (PDT) From: Message-Id: <199906091211.FAA61064@freefall.freebsd.org> To: cschuber@uumail.gov.bc.ca, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/7928: Patch to allow execution of an IPFW shell script Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Patch to allow execution of an IPFW shell script State-Changed-From-To: feedback->closed State-Changed-By: ru State-Changed-When: Wed Jun 9 05:10:17 PDT 1999 State-Changed-Why: Closed at originator's request. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 6:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1785014C13 for ; Wed, 9 Jun 1999 06:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA66986; Wed, 9 Jun 1999 06:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 06:20:02 -0700 (PDT) Message-Id: <199906091320.GAA66986@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 15:17:30 +0200 On Tue, 08 Jun 1999 14:54:44 +0100, David Malone wrote: > I've an interesting tail of caution for people - if you already have > services wrapped with tcpd and wonder why: > > in.rshd rshd: ALL : severity dshosadh.warning : deny > > Is alowd by inetd's tcp wrapping dshosadh.warning? :-) I assume you meant that this breaks if inetd.conf specifies that a program should be launched through tcpd. That's true, but I don't think we want to mung inetd so that it knows about tcpd at all. I think the first patch you sent, for honouring hosts_access severity extensions should be committed, but I don't think your second patch is desireable. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 6:30: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0683214C13 for ; Wed, 9 Jun 1999 06:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA67982; Wed, 9 Jun 1999 06:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 06:30:01 -0700 (PDT) Message-Id: <199906091330.GAA67982@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 15:21:24 +0200 On Tue, 08 Jun 1999 14:54:44 +0100, David Malone wrote: > I wonder if we should log the daemon's name when we log the rest of > the info about the service - as that is what people are most likely to > grep for? Hmmm, wait. I was too hasty with my "I don't think your second patch is desireable". Rather, how does this handle the case of internal services? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 6:30: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 560AE15275 for ; Wed, 9 Jun 1999 06:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA67995; Wed, 9 Jun 1999 06:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 06:30:03 -0700 (PDT) Message-Id: <199906091330.GAA67995@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: David Malone To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 14:25:29 +0100 > I think the first patch you sent, for honouring hosts_access severity > extensions should be committed, but I don't think your second patch is > desireable. That is all the final patch does, only it gets the service name right in the log file! > Hmmm, wait. I was too hasty with my "I don't think your second patch is > desireable". Ahh... > Rather, how does this handle the case of internal services? It is just doing the logging it would have done in the denied case, only with allow_severity - so I think it should work as well as inetd does anyway. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 7: 0:16 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B1E79154F7 for ; Wed, 9 Jun 1999 07:00:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA34635; Wed, 9 Jun 1999 07:00:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 07:00:04 -0700 (PDT) Message-Id: <199906091400.HAA34635@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 15:53:57 +0200 Okay, could you do me a favour and see if you're happy with these diffs. They're a compromise, in that you still have to run inetd -l to log successful connections. You should apply them to clean inetd sources, not whatever we've got so far. :-) These incorporate your stuff and mine from PR 11651 . Ciao, Sheldon. Index: usr.sbin/inetd/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/inetd/Makefile,v retrieving revision 1.8 diff -u -d -r1.8 Makefile --- Makefile 1999/05/07 06:48:01 1.8 +++ Makefile 1999/05/22 13:32:00 @@ -5,7 +5,7 @@ MAN8= inetd.8 MLINKS= inetd.8 inetd.conf.5 -COPTS+= -Wall -DLOGIN_CAP -DLIBWRAP +COPTS+= -Wall -DLOGIN_CAP -DLIBWRAP -DLIBWRAP_INTERNAL #COPTS+= -DSANITY_CHECK DPADD+= ${LIBUTIL} ${LIBWRAP} Index: usr.sbin/inetd/inetd.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/inetd/inetd.c,v retrieving revision 1.49 diff -u -d -r1.49 inetd.c --- inetd.c 1999/05/11 12:50:14 1.49 +++ inetd.c 1999/06/09 13:43:55 @@ -146,8 +146,8 @@ #ifndef LIBWRAP_DENY_SEVERITY # define LIBWRAP_DENY_SEVERITY LOG_WARNING #endif -int allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY; -int deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY; +int allow_severity; +int deny_severity; #endif #ifdef LOGIN_CAP @@ -556,11 +556,7 @@ ctrl = sep->se_fd; (void) sigblock(SIGBLOCK); pid = 0; -#ifdef LIBWRAP_INTERNAL - dofork = 1; -#else dofork = (sep->se_bi == 0 || sep->se_bi->bi_fork); -#endif if (dofork) { if (sep->se_count++ == 0) (void)gettimeofday(&sep->se_time, (struct timezone *)NULL); @@ -624,21 +620,13 @@ #endif if (sep->se_accept && sep->se_socktype == SOCK_STREAM) { - request_init(&req, - RQ_DAEMON, sep->se_server_name ? - sep->se_server_name : sep->se_service, - RQ_FILE, ctrl, NULL); + service = sep->se_server_name ? + sep->se_server_name : sep->se_service; + request_init(&req, RQ_DAEMON, service, RQ_FILE, ctrl, NULL); fromhost(&req); + deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY; + allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY; denied = !hosts_access(&req); - if (denied || log) { - sp = getservbyport(sep->se_ctrladdr.sin_port, sep->se_proto); - if (sp == NULL) { - (void)snprintf(buf, sizeof buf, "%d", - ntohs(sep->se_ctrladdr.sin_port)); - service = buf; - } else - service = sp->s_name; - } if (denied) { syslog(deny_severity, "refused connection from %.500s, service %s (%s)", @@ -746,7 +734,8 @@ #endif if (sep->se_socktype != SOCK_STREAM) recv(0, buf, sizeof (buf), 0); - _exit(EX_OSERR); + if (dofork) + _exit(EX_OSERR); } } if (sep->se_accept && sep->se_socktype == SOCK_STREAM) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 7:10: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 204EC14C13 for ; Wed, 9 Jun 1999 07:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA35566; Wed, 9 Jun 1999 07:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 07:10:02 -0700 (PDT) Message-Id: <199906091410.HAA35566@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: David Malone To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 15:07:12 +0100 > Okay, could you do me a favour and see if you're happy with these diffs. > They're a compromise, in that you still have to run inetd -l to log > successful connections. Two problems. First you reset deny_severity and allow_severity after calling hosts_access and before calling syslog - this means you clobber whatever hosts_access set them to. Second, with this method all connections are logged twice if you give -l, once about line 541 and once after the tcp_wrapper stuff is done. We either need to zap this first log line, or make a flag for tcpd style logging (-t?). > You should apply them to clean inetd sources, not whatever we've got so > far. :-) You want diffs for your diffs? ;-) David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 7:40: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5FD7C14D73 for ; Wed, 9 Jun 1999 07:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA39210; Wed, 9 Jun 1999 07:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 07:40:02 -0700 (PDT) Message-Id: <199906091440.HAA39210@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 16:37:38 +0200 On Wed, 09 Jun 1999 15:07:12 +0100, David Malone wrote: > Two problems. First you reset deny_severity and allow_severity after > calling hosts_access and before calling syslog Um, I'm pretty sure you've misread the diff. > Second, with this method all connections are logged twice if you give -l, > once about line 541 and once after the tcp_wrapper stuff is done. I've only just tried it with -l now. :-) I notice that if I _don't_ specify a severity in hosts.allow, I don't receive _any_ message with a stock standard syslog.conf . When I specify severity auth.notice in syslog.conf, I only get _one_ message, the one generated in the LIBWRAP code at line 637. What's up? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 8:10: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9CBF11512D for ; Wed, 9 Jun 1999 08:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA42393; Wed, 9 Jun 1999 08:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 08:10:02 -0700 (PDT) Message-Id: <199906091510.IAA42393@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: David Malone To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 16:03:21 +0100 > > Two problems. First you reset deny_severity and allow_severity after > > calling hosts_access and before calling syslog > > Um, I'm pretty sure you've misread the diff. *doh* You're right - its fine. > > Second, with this method all connections are logged twice if you give -l, > > once about line 541 and once after the tcp_wrapper stuff is done. > > I've only just tried it with -l now. :-) > > I notice that if I _don't_ specify a severity in hosts.allow, I don't > receive _any_ message with a stock standard syslog.conf . When I specify > severity auth.notice in syslog.conf, I only get _one_ message, the one > generated in the LIBWRAP code at line 637. > > What's up? The other one is logged at daemon.info. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 8:10: 8 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 051FC1522E for ; Wed, 9 Jun 1999 08:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA42398; Wed, 9 Jun 1999 08:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 08:10:03 -0700 (PDT) Message-Id: <199906091510.IAA42398@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 17:08:37 +0200 On Wed, 09 Jun 1999 15:07:12 +0100, David Malone wrote: > Second, with this method all connections are logged twice if you give -l, > once about line 541 and once after the tcp_wrapper stuff is done. Ah, okay I spot it. I must admit that I would have been comfortable with inetd spewing duplicate messages, since they're unlikely to be on the same faciliy.priority . > We either need to zap this first log line, or make a flag for tcpd > style logging (-t?). Neither, actually. One of the two should always be enabled, depending on whether LIBWRAP is defined. Remember, some people are going to want to compile out inetd _without_ libwrap support and we should be mindful of them. I suspect that the diff attached will make you _and_ non-wrapping users happy. As before, apply to clean sources. Note that this diff contains a fix for SIGHUP handling from PR 11860 (courtesy of Masachika ISHIZUKA). Feedback? Ciao, Sheldon. Index: usr.sbin/inetd/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/inetd/Makefile,v retrieving revision 1.8 diff -u -d -r1.8 Makefile --- Makefile 1999/05/07 06:48:01 1.8 +++ Makefile 1999/05/22 13:32:00 @@ -5,7 +5,7 @@ MAN8= inetd.8 MLINKS= inetd.8 inetd.conf.5 -COPTS+= -Wall -DLOGIN_CAP -DLIBWRAP +COPTS+= -Wall -DLOGIN_CAP -DLIBWRAP -DLIBWRAP_INTERNAL #COPTS+= -DSANITY_CHECK DPADD+= ${LIBUTIL} ${LIBWRAP} Index: usr.sbin/inetd/inetd.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/inetd/inetd.c,v retrieving revision 1.49 diff -u -d -r1.49 inetd.c --- inetd.c 1999/05/11 12:50:14 1.49 +++ inetd.c 1999/06/09 15:04:23 @@ -146,8 +146,8 @@ #ifndef LIBWRAP_DENY_SEVERITY # define LIBWRAP_DENY_SEVERITY LOG_WARNING #endif -int allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY; -int deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY; +int allow_severity; +int deny_severity; #endif #ifdef LOGIN_CAP @@ -538,6 +538,7 @@ close(ctrl); continue; } +#ifndef LIBWRAP if (log) { i = sizeof peer; if (getpeername(ctrl, (struct sockaddr *) @@ -552,15 +553,12 @@ sep->se_service, inet_ntoa(peer.sin_addr)); } +#endif } else ctrl = sep->se_fd; (void) sigblock(SIGBLOCK); pid = 0; -#ifdef LIBWRAP_INTERNAL - dofork = 1; -#else dofork = (sep->se_bi == 0 || sep->se_bi->bi_fork); -#endif if (dofork) { if (sep->se_count++ == 0) (void)gettimeofday(&sep->se_time, (struct timezone *)NULL); @@ -624,21 +622,13 @@ #endif if (sep->se_accept && sep->se_socktype == SOCK_STREAM) { - request_init(&req, - RQ_DAEMON, sep->se_server_name ? - sep->se_server_name : sep->se_service, - RQ_FILE, ctrl, NULL); + service = sep->se_server_name ? + sep->se_server_name : sep->se_service; + request_init(&req, RQ_DAEMON, service, RQ_FILE, ctrl, NULL); fromhost(&req); + deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY; + allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY; denied = !hosts_access(&req); - if (denied || log) { - sp = getservbyport(sep->se_ctrladdr.sin_port, sep->se_proto); - if (sp == NULL) { - (void)snprintf(buf, sizeof buf, "%d", - ntohs(sep->se_ctrladdr.sin_port)); - service = buf; - } else - service = sp->s_name; - } if (denied) { syslog(deny_severity, "refused connection from %.500s, service %s (%s)", @@ -746,7 +736,8 @@ #endif if (sep->se_socktype != SOCK_STREAM) recv(0, buf, sizeof (buf), 0); - _exit(EX_OSERR); + if (dofork) + _exit(EX_OSERR); } } if (sep->se_accept && sep->se_socktype == SOCK_STREAM) @@ -911,6 +902,7 @@ SWAP(sep->se_class, new->se_class); #endif SWAP(sep->se_server, new->se_server); + SWAP(sep->se_server_name, new->se_server_name); for (i = 0; i < MAXARGV; i++) SWAP(sep->se_argv[i], new->se_argv[i]); sigsetmask(omask); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 8:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8E4D01522E for ; Wed, 9 Jun 1999 08:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA43414; Wed, 9 Jun 1999 08:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 08:20:03 -0700 (PDT) Message-Id: <199906091520.IAA43414@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: David Malone To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 16:16:56 +0100 > I suspect that the diff attached will make you _and_ non-wrapping users > happy. As before, apply to clean sources. Note that this diff contains a > fix for SIGHUP handling from PR 11860 (courtesy of Masachika ISHIZUKA). > > Feedback? Looks good to me. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 8:20: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1A6A81507E for ; Wed, 9 Jun 1999 08:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA43409; Wed, 9 Jun 1999 08:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 08:20:01 -0700 (PDT) Message-Id: <199906091520.IAA43409@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 17:16:15 +0200 On Wed, 09 Jun 1999 17:08:37 +0200, Sheldon Hearn wrote: > I suspect that the diff attached will make you _and_ non-wrapping users > happy. Bugger, it won't make the committers happy at all, since it spews warnings for the LIBWRAP case. *grumble* Sorry about that, corrected patch attached. Ciao, Sheldon. Index: usr.sbin/inetd/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/inetd/Makefile,v retrieving revision 1.8 diff -u -d -r1.8 Makefile --- Makefile 1999/05/07 06:48:01 1.8 +++ Makefile 1999/06/09 15:13:53 @@ -5,7 +5,7 @@ MAN8= inetd.8 MLINKS= inetd.8 inetd.conf.5 -COPTS+= -Wall -DLOGIN_CAP -DLIBWRAP +COPTS+= -Wall -DLOGIN_CAP -DLIBWRAP -DLIBWRAP_INTERNAL #COPTS+= -DSANITY_CHECK DPADD+= ${LIBUTIL} ${LIBWRAP} Index: usr.sbin/inetd/inetd.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/inetd/inetd.c,v retrieving revision 1.49 diff -u -d -r1.49 inetd.c --- inetd.c 1999/05/11 12:50:14 1.49 +++ inetd.c 1999/06/09 15:13:04 @@ -146,8 +146,8 @@ #ifndef LIBWRAP_DENY_SEVERITY # define LIBWRAP_DENY_SEVERITY LOG_WARNING #endif -int allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY; -int deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY; +int allow_severity; +int deny_severity; #endif #ifdef LOGIN_CAP @@ -344,8 +344,6 @@ int tmpint, ch, dofork; pid_t pid; char buf[50]; - struct sockaddr_in peer; - int i; #ifdef LOGIN_CAP login_cap_t *lc = NULL; #endif @@ -353,6 +351,9 @@ struct request_info req; int denied; char *service = NULL; +#else + struct sockaddr_in peer; + int i; #endif @@ -538,6 +539,7 @@ close(ctrl); continue; } +#ifndef LIBWRAP if (log) { i = sizeof peer; if (getpeername(ctrl, (struct sockaddr *) @@ -552,15 +554,12 @@ sep->se_service, inet_ntoa(peer.sin_addr)); } +#endif } else ctrl = sep->se_fd; (void) sigblock(SIGBLOCK); pid = 0; -#ifdef LIBWRAP_INTERNAL - dofork = 1; -#else dofork = (sep->se_bi == 0 || sep->se_bi->bi_fork); -#endif if (dofork) { if (sep->se_count++ == 0) (void)gettimeofday(&sep->se_time, (struct timezone *)NULL); @@ -624,21 +623,13 @@ #endif if (sep->se_accept && sep->se_socktype == SOCK_STREAM) { - request_init(&req, - RQ_DAEMON, sep->se_server_name ? - sep->se_server_name : sep->se_service, - RQ_FILE, ctrl, NULL); + service = sep->se_server_name ? + sep->se_server_name : sep->se_service; + request_init(&req, RQ_DAEMON, service, RQ_FILE, ctrl, NULL); fromhost(&req); + deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY; + allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY; denied = !hosts_access(&req); - if (denied || log) { - sp = getservbyport(sep->se_ctrladdr.sin_port, sep->se_proto); - if (sp == NULL) { - (void)snprintf(buf, sizeof buf, "%d", - ntohs(sep->se_ctrladdr.sin_port)); - service = buf; - } else - service = sp->s_name; - } if (denied) { syslog(deny_severity, "refused connection from %.500s, service %s (%s)", @@ -746,7 +737,8 @@ #endif if (sep->se_socktype != SOCK_STREAM) recv(0, buf, sizeof (buf), 0); - _exit(EX_OSERR); + if (dofork) + _exit(EX_OSERR); } } if (sep->se_accept && sep->se_socktype == SOCK_STREAM) @@ -911,6 +903,7 @@ SWAP(sep->se_class, new->se_class); #endif SWAP(sep->se_server, new->se_server); + SWAP(sep->se_server_name, new->se_server_name); for (i = 0; i < MAXARGV; i++) SWAP(sep->se_argv[i], new->se_argv[i]); sigsetmask(omask); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 8:30: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DDFF91507E for ; Wed, 9 Jun 1999 08:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA44284; Wed, 9 Jun 1999 08:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 08:30:03 -0700 (PDT) Message-Id: <199906091530.IAA44284@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11960; it has been noted by GNATS. From: Sheldon Hearn To: David Malone Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Date: Wed, 09 Jun 1999 17:21:16 +0200 On Wed, 09 Jun 1999 16:16:56 +0100, David Malone wrote: > Looks good to me. Cool. I'm going to create a new PR with this patch on it and close your PR along with PR 11860 and PR 11651, pointing to the new PR as superseding them. I'll be sure to mention your name and Masachika ISHIZUKA's in the new PR, so don't worry about that. It's just that the man likely to do the commit is markm and he'd appreciate a single PR. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 8:50: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0A6E814DFE for ; Wed, 9 Jun 1999 08:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA46940; Wed, 9 Jun 1999 08:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 30F2D15988 for ; Wed, 9 Jun 1999 08:44:06 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 10rkWK-0001dd-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 09 Jun 1999 17:44:04 +0200 Message-Id: <6300.928943044@axl.noc.iafrica.com> Date: Wed, 09 Jun 1999 17:44:04 +0200 From: Sheldon Hearn Reply-To: Sheldon Hearn To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/12097: [PATCH] Various fixes for inetd with libwrap support Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12097 >Category: bin >Synopsis: [PATCH] Various fixes for inetd with libwrap support >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 9 08:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Sheldon Hearn >Release: FreeBSD 4.0-CURRENT i386 >Organization: UUNET South Africa >Environment: FreeBSD 4.0-CURRENT #2: Wed Jun 9 14:28:13 SAST 1999 i386 >Description: This PR supersedes: PR 11651 - forked inetd children for internal services don't die PR 11860 - inetd config() corrupts service names on HUP PR 11960 - inetd doesn't honour hosts_access severity extension >How-To-Repeat: See relevant PR's. >Fix: The patch attached accompishes the following: * Handle forking and non-forking internal services correctly. * On HUP, preserve server names for each service. * Handle -l option as appropriate for libwrap and non-libwrap cases. * Honour hosts_access severity options by resetting syslog facility and priority before each call to hosts_access. * Turn on wrapping for internal services because they work now. Reported by: Pierre Beyssac , Masachika , David Malone Submitted by: sheldonh, Masachika , David Malone Index: usr.sbin/inetd/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/inetd/Makefile,v retrieving revision 1.8 diff -u -d -r1.8 Makefile --- Makefile 1999/05/07 06:48:01 1.8 +++ Makefile 1999/06/09 15:13:53 @@ -5,7 +5,7 @@ MAN8= inetd.8 MLINKS= inetd.8 inetd.conf.5 -COPTS+= -Wall -DLOGIN_CAP -DLIBWRAP +COPTS+= -Wall -DLOGIN_CAP -DLIBWRAP -DLIBWRAP_INTERNAL #COPTS+= -DSANITY_CHECK DPADD+= ${LIBUTIL} ${LIBWRAP} Index: usr.sbin/inetd/inetd.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/inetd/inetd.c,v retrieving revision 1.49 diff -u -d -r1.49 inetd.c --- inetd.c 1999/05/11 12:50:14 1.49 +++ inetd.c 1999/06/09 15:13:04 @@ -146,8 +146,8 @@ #ifndef LIBWRAP_DENY_SEVERITY # define LIBWRAP_DENY_SEVERITY LOG_WARNING #endif -int allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY; -int deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY; +int allow_severity; +int deny_severity; #endif #ifdef LOGIN_CAP @@ -344,8 +344,6 @@ int tmpint, ch, dofork; pid_t pid; char buf[50]; - struct sockaddr_in peer; - int i; #ifdef LOGIN_CAP login_cap_t *lc = NULL; #endif @@ -353,6 +351,9 @@ struct request_info req; int denied; char *service = NULL; +#else + struct sockaddr_in peer; + int i; #endif @@ -538,6 +539,7 @@ close(ctrl); continue; } +#ifndef LIBWRAP if (log) { i = sizeof peer; if (getpeername(ctrl, (struct sockaddr *) @@ -552,15 +554,12 @@ sep->se_service, inet_ntoa(peer.sin_addr)); } +#endif } else ctrl = sep->se_fd; (void) sigblock(SIGBLOCK); pid = 0; -#ifdef LIBWRAP_INTERNAL - dofork = 1; -#else dofork = (sep->se_bi == 0 || sep->se_bi->bi_fork); -#endif if (dofork) { if (sep->se_count++ == 0) (void)gettimeofday(&sep->se_time, (struct timezone *)NULL); @@ -624,21 +623,13 @@ #endif if (sep->se_accept && sep->se_socktype == SOCK_STREAM) { - request_init(&req, - RQ_DAEMON, sep->se_server_name ? - sep->se_server_name : sep->se_service, - RQ_FILE, ctrl, NULL); + service = sep->se_server_name ? + sep->se_server_name : sep->se_service; + request_init(&req, RQ_DAEMON, service, RQ_FILE, ctrl, NULL); fromhost(&req); + deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY; + allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY; denied = !hosts_access(&req); - if (denied || log) { - sp = getservbyport(sep->se_ctrladdr.sin_port, sep->se_proto); - if (sp == NULL) { - (void)snprintf(buf, sizeof buf, "%d", - ntohs(sep->se_ctrladdr.sin_port)); - service = buf; - } else - service = sp->s_name; - } if (denied) { syslog(deny_severity, "refused connection from %.500s, service %s (%s)", @@ -746,7 +737,8 @@ #endif if (sep->se_socktype != SOCK_STREAM) recv(0, buf, sizeof (buf), 0); - _exit(EX_OSERR); + if (dofork) + _exit(EX_OSERR); } } if (sep->se_accept && sep->se_socktype == SOCK_STREAM) @@ -911,6 +903,7 @@ SWAP(sep->se_class, new->se_class); #endif SWAP(sep->se_server, new->se_server); + SWAP(sep->se_server_name, new->se_server_name); for (i = 0; i < MAXARGV; i++) SWAP(sep->se_argv[i], new->se_argv[i]); sigsetmask(omask); >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 Jun 9 8:54: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BF4A315038; Wed, 9 Jun 1999 08:54:04 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA47585; Wed, 9 Jun 1999 08:54:04 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Wed, 9 Jun 1999 08:54:04 -0700 (PDT) From: Message-Id: <199906091554.IAA47585@freefall.freebsd.org> To: ishizuka@ish.org, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/11860: inetd is broken if kill -HUP `/var/run/inetd.pid` Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: inetd is broken if kill -HUP `/var/run/inetd.pid` State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Wed Jun 9 08:53:35 PDT 1999 State-Changed-Why: Superseded by PR 12097 . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 8:54:56 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6E7D9151E2; Wed, 9 Jun 1999 08:54:55 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA47683; Wed, 9 Jun 1999 08:54:55 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Wed, 9 Jun 1999 08:54:55 -0700 (PDT) From: Message-Id: <199906091554.IAA47683@freefall.freebsd.org> To: dwmalone@maths.tcd.ie, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/11960: inetd built in wrapping doesn't log like tcpd does. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: inetd built in wrapping doesn't log like tcpd does. State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Wed Jun 9 08:54:22 PDT 1999 State-Changed-Why: Superseded by PR 12097 . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 8:56: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E2ECE14D89; Wed, 9 Jun 1999 08:56:04 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA47856; Wed, 9 Jun 1999 08:56:04 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Wed, 9 Jun 1999 08:56:04 -0700 (PDT) From: Message-Id: <199906091556.IAA47856@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, markm@FreeBSD.org Subject: Re: bin/12097: [PATCH] Various fixes for inetd with libwrap support Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH] Various fixes for inetd with libwrap support Responsible-Changed-From-To: freebsd-bugs->markm Responsible-Changed-By: sheldonh Responsible-Changed-When: Wed Jun 9 08:55:03 PDT 1999 Responsible-Changed-Why: Mark promised to take a look at one of the related PR's, but I'm confident he'll take an interest in the whole thing. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 9:40: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0624A151EF for ; Wed, 9 Jun 1999 09:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA51388; Wed, 9 Jun 1999 09:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 9 Jun 1999 09:40:01 -0700 (PDT) Message-Id: <199906091640.JAA51388@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11857: portmap can't resolv classless ip address and die with twist command. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11857; it has been noted by GNATS. From: Sheldon Hearn To: Masachika ISHIZUKA Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11857: portmap can't resolv classless ip address and die with twist command. Date: Wed, 09 Jun 1999 18:38:42 +0200 Hi there, I have a local user who complained of a "Bad file descriptor" problem and the patch on PR 12097 fixed it (although I don't know why!). If the patch doesn't fix your problem, let me know and I'll have a look at how inetd interacts with our friend twist. Thanks, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 12:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 14CAC153D0 for ; Wed, 9 Jun 1999 12:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA66556; Wed, 9 Jun 1999 12:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id ED52E14D1A; Wed, 9 Jun 1999 12:10:02 -0700 (PDT) Message-Id: <19990609191002.ED52E14D1A@hub.freebsd.org> Date: Wed, 9 Jun 1999 12:10:02 -0700 (PDT) From: jseo@netsol.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: i386/12102: can't boot using the installation boot diskette made by RAWRITE Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12102 >Category: i386 >Synopsis: can't boot using the installation boot diskette made by RAWRITE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 9 12:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Jeongjun Seo >Release: 3.1 >Organization: Network Solutions >Environment: Intel Pentuium II 300 Mhz with 128 MB of memory (I could not get tot he point where I can use "uname" command becasue this problem happened during the first booting for installation.) >Description: My PC runs NT 4.0. I completely shutdowned it and inserted a boot floppy to start installation. I turned on the PC with the floppy and I got the following error message during the initial load of the kernel start installation: ---- begin of error messages ----- /kernel text=0x18be72 data=0x2eb35c+0xldcc0 zf_read: fill error elf_loadexec: archsw.readin.failed Can't load 'kernel' ---- end of error messages ----- I made the boot floppy using the RAWRITE utility based on the instructions on 'The complete FreeBSD' from the 3.1 CD-ROM. The version o the loader is as follows: FreeBSD i386 bootstrap loader, Revision 0.5 638/655 32kB I would appreciate it if you would let me know how I could work around this failure. Thank you! >How-To-Repeat: Insert the boot floppy made by RAWRITE utility on the 3.1 installtion CD-ROM and reboot the machine. >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 Jun 9 13:22:40 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2DA6914D82; Wed, 9 Jun 1999 13:22:39 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA71853; Wed, 9 Jun 1999 13:22:39 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Wed, 9 Jun 1999 13:22:39 -0700 (PDT) From: Message-Id: <199906092022.NAA71853@freefall.freebsd.org> To: ish@ish.org, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, sheldonh@FreeBSD.org Subject: Re: bin/11857: portmap can't resolv classless ip address and die with twist command. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: portmap can't resolv classless ip address and die with twist command. State-Changed-From-To: open->feedback State-Changed-By: sheldonh State-Changed-When: Wed Jun 9 13:21:21 PDT 1999 State-Changed-Why: Waiting on feedback from submitter. Responsible-Changed-From-To: freebsd-bugs->sheldonh Responsible-Changed-By: sheldonh Responsible-Changed-When: Wed Jun 9 13:21:21 PDT 1999 Responsible-Changed-Why: I'm looking at the twist issue, which is definitely going to require changes to one or more of inetd and tcp_wrappers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 16:42: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 12A9C14EFC; Wed, 9 Jun 1999 16:42:06 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA88571; Wed, 9 Jun 1999 16:42:05 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Wed, 9 Jun 1999 16:42:05 -0700 (PDT) From: Message-Id: <199906092342.QAA88571@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-doc@FreeBSD.org Subject: Re: bin/11805: [PATCH] argument missing from kzip.1 synopsis Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH] argument missing from kzip.1 synopsis Responsible-Changed-From-To: freebsd-bugs->freebsd-doc Responsible-Changed-By: sheldonh Responsible-Changed-When: Wed Jun 9 16:41:41 PDT 1999 Responsible-Changed-Why: Misfiled PR. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 17:21: 2 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8334A14BF5; Wed, 9 Jun 1999 17:21:00 -0700 (PDT) (envelope-from steve@FreeBSD.org) Received: (from steve@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA91727; Wed, 9 Jun 1999 17:21:00 -0700 (PDT) (envelope-from steve@FreeBSD.org) Date: Wed, 9 Jun 1999 17:21:00 -0700 (PDT) From: Message-Id: <199906100021.RAA91727@freefall.freebsd.org> To: jainp@accsoft.com.au, steve@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/12019: Getting Error Can't Assign requested address while using UDP Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Getting Error Can't Assign requested address while using UDP State-Changed-From-To: open->closed State-Changed-By: steve State-Changed-When: Wed Jun 9 17:20:03 PDT 1999 State-Changed-Why: This problem has been resolved. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 17:21:56 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 15C4714BF5; Wed, 9 Jun 1999 17:21:56 -0700 (PDT) (envelope-from steve@FreeBSD.org) Received: (from steve@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA91805; Wed, 9 Jun 1999 17:21:55 -0700 (PDT) (envelope-from steve@FreeBSD.org) Date: Wed, 9 Jun 1999 17:21:55 -0700 (PDT) From: Message-Id: <199906100021.RAA91805@freefall.freebsd.org> To: estartu@augusta.de, steve@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/11302: HP LaserJet 4L doesn't work with ppBus Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: HP LaserJet 4L doesn't work with ppBus State-Changed-From-To: open->closed State-Changed-By: steve State-Changed-When: Wed Jun 9 17:21:15 PDT 1999 State-Changed-Why: Originator notes that upgrading to version 5.0.1 of the apsfilter has solved his problem. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 17:25: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 80CFC150C3; Wed, 9 Jun 1999 17:24:59 -0700 (PDT) (envelope-from steve@FreeBSD.org) Received: (from steve@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA92340; Wed, 9 Jun 1999 17:24:59 -0700 (PDT) (envelope-from steve@FreeBSD.org) Date: Wed, 9 Jun 1999 17:24:59 -0700 (PDT) From: Message-Id: <199906100024.RAA92340@freefall.freebsd.org> To: amagai@nue.org, steve@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/11754: tx driver, SIOCGIFADDR ioctl does not work Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: tx driver, SIOCGIFADDR ioctl does not work State-Changed-From-To: open->closed State-Changed-By: steve State-Changed-When: Wed Jun 9 17:22:24 PDT 1999 State-Changed-Why: This was fixed by semenu@freebsd.org in revision 1.3 of src/sys/pci/if_txvar.h. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 19: 0: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E8DC51513D for ; Wed, 9 Jun 1999 19:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA03673; Wed, 9 Jun 1999 19:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id B599414D9E; Wed, 9 Jun 1999 18:51:20 -0700 (PDT) Message-Id: <19990610015120.B599414D9E@hub.freebsd.org> Date: Wed, 9 Jun 1999 18:51:20 -0700 (PDT) From: tempest@ecst.csuchico.edu To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/12104: Certain cdcontrol commands don't work properly with my ATAPI CD-ROM drive Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12104 >Category: kern >Synopsis: Certain cdcontrol commands don't work properly with my ATAPI CD-ROM drive >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 9 19:00:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Ken Lui >Release: FreeBSD 3.2-RELEASE >Organization: >Environment: FreeBSD black 3.2-RELEASE FreeBSD 3.2-RELEASE #11: Tue Jun 1 21:04:12 PDT 1999 root@black.tmpest1.org:/usr/src/sys/compile/BLACK i386 >Description: Certain kernel functions for ATAPI CD-ROMs are broken. Namely close door and pause don't work. First these problems manifested themselves with wmcdplayer but they exhibit the same problem (though with more error displayed) using cdcontrol. Note that closing the door and pausing works fine under Linux 2.2.7 and the same hardware. >How-To-Repeat: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-RELEASE #11: Tue Jun 1 21:04:12 PDT 1999 root@black.tmpest1.org:/usr/src/sys/compile/BLACK Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (333.37-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x580 Stepping=0 Features=0x8001bf real memory = 100663296 (98304K bytes) avail memory = 94826496 (92604K bytes) Preloaded elf kernel "kernel" at 0xc02d1000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02d109c. Probing for devices on PCI bus 0: chip0: rev 0x04 on pci0.0.0 chip1: rev 0x04 on pci0.1.0 chip2: rev 0xb4 on pci0.7.0 ed1: rev 0x00 int a irq 9 on pci0.8.0 ed1: address 00:80:c8:fd:90:ae, type NE2000 (16 bit) ed2: rev 0x00 int a irq 9 on pci0.9.0 ed2: address 00:80:c8:fd:88:0d, type NE2000 (16 bit) adv0: rev 0x02 int a irq 9 on pci0.11.0 adv0: AdvanSys Ultra SCSI Host Adapter, SCSI ID 7, queue depth 240 ide_pci0: rev 0x20 int a i rq 0 on pci0.15.0 Probing for devices on PCI bus 1: vga0: rev 0xf3 int a irq 10 o n pci1.6.0 Probing for PnP devices: CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0 d041] pcm1 (SB16pnp sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 flags 0x10 on isa Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model MouseMan+, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A pcm0 not probed due to drq conflict with pcm1 at 1 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 wd0: 1625MB (3329424 sectors), 3303 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): , 32-bit, multi-block-16 wd1: 3079MB (6306048 sectors), 6256 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa wdc1: unit 1 (wd3): , 32-bit, multi-block-16 wd3: 4121MB (8440992 sectors), 8374 cyls, 16 heads, 63 S/T, 512 B/S wdc1: unit 0 (atapi): , removable, intr, dma, iordy acd0: drive speed 1031KB/sec, 120KB cache acd0: supported read types: CD-DA acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/1 bytes threshold lpt0: on ppbus 0 lpt0: Interrupt-driven port lpt0: on ppbus 0 lpt0: Interrupt-driven port adv0 not found at 0x330 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface apm0 on isa apm: found APM BIOS version 1.2 Waiting 5 seconds for SCSI devices to settle changing root device to wd3s1a da0 at adv0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 2047MB (4194058 512 byte sectors: 255H 63S/T 261C) ATAPI is a master on second IDE channel. su# cdcontrol -f /dev/acd0 eject black su# cdcontrol -f /dev/acd0 close # pauses before I get # prompt back but tray # doesn't close black su# cdcontrol -f /dev/acd0 play 16 black su# cdcontrol -f /dev/acd0 pause black su# cdcontrol -f /dev/acd0 resume # doesn't resume black su# echo $? 255 black su# cdcontrol -f /dev/acd0 stop black su# echo $? 0 black su# cdcontrol -f /dev/acd0 eject black su# echo $? 0 black su# cdcontrol -f /dev/acd0 close # again, pauses about 1.5secs # before I get prompt back but # tray doesn't close black su# echo $? 0 >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 Jun 9 20:43:22 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from titanium.yy.ics.keio.ac.jp (titanium.yy.ics.keio.ac.jp [131.113.47.73]) by hub.freebsd.org (Postfix) with ESMTP id C6C1914F03; Wed, 9 Jun 1999 20:43:09 -0700 (PDT) (envelope-from sanpei@sanpei.org) Received: from lavender.yy.cs.keio.ac.jp (lavender.rad.cc.keio.ac.jp [131.113.16.115]) by titanium.yy.ics.keio.ac.jp (8.8.8+3.0Wbeta13/3.7W) with ESMTP id MAA19211; Thu, 10 Jun 1999 12:42:33 +0900 (JST) Received: (from sanpei@localhost) by lavender.yy.cs.keio.ac.jp (8.9.2/3.7W) id MAA17350; Thu, 10 Jun 1999 12:42:39 +0900 (JST) Date: Thu, 10 Jun 1999 12:42:39 +0900 (JST) Message-Id: <199906100342.MAA17350@lavender.yy.cs.keio.ac.jp> To: ru@FreeBSD.ORG Cc: rustam@eanetways.com, freebsd-bugs@FreeBSD.ORG, sanpei@sanpei.org Subject: Re: bin/12093: /sbin/reboot does not run /etc/rc.shutdown during reboot In-Reply-To: Your message of "Wed, 9 Jun 1999 18:13:41 JST". <199906090913.CAA43156@freefall.freebsd.org> From: sanpei@sanpei.org (MIHIRA Yoshiro) X-Mailer: mnews [version 1.21] 1997-12/23(Tue) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ru@FreeBSD.ORG wrote: >> Synopsis: /sbin/reboot does not run /etc/rc.shutdown during reboot >> >> State-Changed-From-To: open->closed >> State-Changed-By: ru >> State-Changed-When: Wed Jun 9 01:13:34 PDT 1999 >> State-Changed-Why: >> Not a bug. >> init(8) executes rc.shutdown whenever it receives SIGTERM signal. >> reboot(8) explicitly prevents this by sending init(8) SIGTSTP signal. >> You can use shutdown(8) to terminate your system gracefully. But shutdown -h now --> not execute /etc/rc.shutdown See also http://www.freebsd.org/cgi/query-pr.cgi?pr=5451 http://www.freebsd.org/cgi/query-pr.cgi?pr=9066 http://www.freebsd.org/cgi/query-pr.cgi?pr=10035 I hope to support /etc/rc.shutdown with shutdown -h now and reboot.... But I do not have enough skill about init and related code... MIHIRA Sanpei Yoshiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 20:56:34 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from mailgate.rolta.com (unknown [206.166.229.179]) by hub.freebsd.org (Postfix) with ESMTP id 9631114F03 for ; Wed, 9 Jun 1999 20:56:31 -0700 (PDT) (envelope-from shilpa@rolta.com) Received: from mailserver.rolta.com (mailserver.rolta.com [172.16.11.3] (may be forged)) by mailgate.rolta.com (2.5 Build 2639 (Berkeley 8.8.6)/8.8.4) with SMTP id WAA03564 for ; Wed, 09 Jun 1999 22:52:14 +0100 Received: from mailserver.rolta.com by mailserver.rolta.com via smtpd (for mailgate.rolta.com [172.17.20.17]) with SMTP; 10 Jun 1999 04:03:30 UT Received: from rolta.com (rilintranet.rolta.com [172.16.10.43]) by mailserver.rolta.com (8.6.9/8.6.9) with ESMTP id JAA00960 for ; Thu, 10 Jun 1999 09:14:55 GMT Message-ID: <375F38D5.5A116A01@rolta.com> Date: Thu, 10 Jun 1999 09:32:29 +0530 From: Shilpa X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-bugs@FreeBSD.ORG Subject: BIOS Y2K compliancy Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, We have 3 systems with FreeBSD ver 2.x release 2 installed on it. Two are 386 systems with Awards and Phonix BIOS and one is 486 with AMI BIOS. What needs to be done to make the system BIOS Y2K compliant? Please advice. regards, Shilpa Patil Sr. Networking Executive Rolta India Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jun 9 21:10: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D850814E36 for ; Wed, 9 Jun 1999 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA17402; Wed, 9 Jun 1999 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id D055C14D6F; Wed, 9 Jun 1999 21:08:48 -0700 (PDT) Message-Id: <19990610040848.D055C14D6F@hub.freebsd.org> Date: Wed, 9 Jun 1999 21:08:48 -0700 (PDT) From: cgrant@labrat.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/12106: error 6: panic: cannot mount root Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12106 >Category: kern >Synopsis: error 6: panic: cannot mount root >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 9 21:10:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Chris Grant >Release: 3.2-RELEASE >Organization: LabRat.com >Environment: FreeBSD acme.labrat.com 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Tue May 18 04:05:08 GMT 1999 jkh@cathair:/usr/src/sys/compile/GENERIC i386 >Description: when I recompile the kernel with just the options I need, it panics when trying to mount the root partition. GENERIC kernel works, custom does not. I have tried using a config file that doesn't wire down the disks, and one that does with the same results. I included dmesg output and also my kernel config file. error: ... npx0: INT 16 interface changing root device to da0s1a changing root device to da0a error 6: panic: cannot mount root (2) dmesg output: avail memory = 17215488 (16812K bytes) Preloaded elf kernel "kernel.GENERIC" at 0xc0358000. ahc0: at 0x1c00-0x1cff irq 11 on eisa0 slot 1 ahc0: aic7770 >= Rev E, Single Channel A, SCSI Id=7, 4/255 SCBs Probing for PnP devices: Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x300-0x31f irq 10 maddr 0xd0000 msize 16384 on isa ed0: address 00:00:79:84:41:3d, type WD8013EBT (16 bit) atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16450 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16450 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fd0: 1.44MB 3.5in vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Waiting 15 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 532MB (1090999 512 byte sectors: 64H 32S/T 532C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 5.000MB/s transfers (5.000MHz, offset 15) da1: 203MB (416108 512 byte sectors: 64H 32S/T 203C) changing root device to da0s1a kernel config: machine "i386" cpu "I486_CPU" ident ACME maxusers 32 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor config kernel root on da0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 controller ahc0 controller scbus0 at ahc0 device da0 disk da0 at scbus0 target 0 unit 0 disk da1 at scbus0 target 1 unit 0 device sa0 device pass0 device cd0 # atkbdc0 controlls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? tty device npx0 at isa? port IO_NPX irq 13 device ed0 at isa? port 0x300 net irq 10 iomem 0xd0000 device ed1 at isa? port 0x340 net irq 12 iomem 0xcc000 pseudo-device loop pseudo-device ether pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's options SYSVSHM options SYSVMSG options SYSVSEM pseudo-device bpfilter 4 #Berkeley packet filter >How-To-Repeat: build a custom kernel >Fix: use kernel.GENERIC >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 Jun 9 21:20: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D1F2814E86 for ; Wed, 9 Jun 1999 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA18064; Wed, 9 Jun 1999 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from moose.tgsoft.com (cx20270-a.pwy1.sdca.home.com [24.0.169.3]) by hub.freebsd.org (Postfix) with SMTP id 23EAD14E86 for ; Wed, 9 Jun 1999 21:10:20 -0700 (PDT) (envelope-from thompson@tgsoft.com) Received: (qmail 19601 invoked by uid 128); 10 Jun 1999 04:10:18 -0000 Message-Id: <19990610041018.19600.qmail@moose.tgsoft.com> Date: 10 Jun 1999 04:10:18 -0000 From: thompson@tgsoft.com Reply-To: thompson@tgsoft.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/12107: new feature for dump, when -a does not work Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12107 >Category: bin >Synopsis: Add switch to dump to support multiple dumps on one tape >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 Jun 9 21:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: mark thompson >Release: FreeBSD 3.2-STABLE i386 >Organization: tgsoft >Environment: I have an older HP-by-Phillips DAT drive that is used for backups. Unfortunately, dump -a does not do the right thing on this drive, which makes it challenging to pack several filesystems on a single tape (which you want to do, since several of the filesystems are way smaller than a tape-full. >Description: When putting the n'th dump on a tape, you would like to tell dump how much tape is left, so that it will ask for a new one at an appropriate time. This patch adds the ability to say "the tape is -B blocks long, but -F blocks are already used; so ask for a new tape when this is full. The new tape will be -B blocks long". >How-To-Repeat: On my machine, with this drive and 3.2, write a tape using dump -a that extends over a tape boundary. Try to restore the resulting 2 tapes. >Fix: Simple patch enclosed. Also an example perl program to use it. ----------- PATCH ------------- --- dump.8.ORIG Wed Jun 9 08:20:52 1999 +++ dump.8 Wed Jun 9 08:22:49 1999 @@ -104,6 +104,10 @@ The number of 1 KB blocks per volume. This option overrides the calculation of tape size based on length and density. +.It Fl F Ar records +The number of 1 kB blocks that have already been written on the first volume. +Those blocks will be considered used when calculating the amount of tape +left on this volume only. .It Fl a .Dq auto-size . Bypass all tape length considerations, and enforce writing --- main.c.ORIG Wed Jun 9 08:15:24 1999 +++ main.c Wed Jun 9 13:47:55 1999 @@ -85,6 +85,7 @@ int dokerberos = 0; /* Use Kerberos authentication */ long dev_bsize = 1; /* recalculated below */ long blocksperfile; /* output blocks per file */ +long blocksthisvol; /* our position on the tape */ char *host = NULL; /* remote host (if any) */ static long numarg __P((char *, long, long)); @@ -122,9 +123,9 @@ obsolete(&argc, &argv); #ifdef KERBEROS -#define optstring "0123456789aB:b:cd:f:h:kns:T:uWw" +#define optstring "0123456789aB:b:cd:F:f:h:kns:T:uWw" #else -#define optstring "0123456789aB:b:cd:f:h:ns:T:uWw" +#define optstring "0123456789aB:b:cd:F:f:h:ns:T:uWw" #endif while ((ch = getopt(argc, argv, optstring)) != -1) #undef optstring @@ -159,6 +160,10 @@ ntrec = HIGHDENSITYTREC; break; + case 'F': /* first block number */ + blocksthisvol = numarg("starting block number", + 0L, 0L); + break; case 'f': /* output file */ tape = optarg; break; @@ -596,6 +601,7 @@ case 'b': case 'd': case 'f': + case 'F': case 'h': case 's': case 'T': --- tape.c.ORIG Wed Jun 9 08:16:37 1999 +++ tape.c Wed Jun 9 08:19:58 1999 @@ -74,7 +74,7 @@ long lastspclrec = -1; /* tape block number of last written header */ int trecno = 0; /* next record to write in current block */ extern long blocksperfile; /* number of blocks per output file */ -long blocksthisvol; /* number of blocks on current output file */ +extern long blocksthisvol; /* number of blocks on current output file */ extern int ntrec; /* blocking factor on tape */ extern int cartridge; extern char *host; @@ -619,9 +619,12 @@ enslave(); /* Share open tape file descriptor with slaves */ asize = 0; - blocksthisvol = 0; - if (top) + if (top) { newtape++; /* new tape signal */ + } + else { + blocksthisvol = 0; /* Not the first tape */ + } spcl.c_count = slp->count; /* * measure firstrec in TP_BSIZE units since restore doesn't -------- Example of usage -------------- #!/usr/bin/perl $TAPENAME="/dev/nrsa0"; $TAPELENG=1200000; # in 1K blocks $today=`date +%Y%m%d`; chomp $today; $LOGFILE="/var/log/dump.$today"; open LOG, ">>$LOGFILE"; print LOG `date`; REW1: while (1) { print "Please mount first tape\n"; $red = read STDIN, $buf, 1; $rc = system "mt -f $TAPENAME rewind"; # print "rewind: rc $rc\n"; last REW1 if (($rc & 0xffff) == 0); } $skip=1; $pos=0; $| = 1; # Immediate flush # each file system while ($ARGV[0]) { close LOG; open LOG, ">>$LOGFILE"; # prvent silly tapes $left = $TAPELENG - $pos; if ($left < 1000) { print LOG "--- new tape because $left blocks left ---\n"; print "*** Not much tape left\n"; system "mt -f $TAPENAME offline"; REW2: while (1) { print "Please mount next tape\n"; $red = read STDIN, $buf, 1; $rc = system "mt -f $TAPENAME rewind"; # print "rewind: rc $rc\n"; last REW2 if (($rc & 0xffff) == 0); } $skip = 1; $pos = 0; } # now dump it print LOG "=== $ARGV[0]: restore ifbs $TAPENAME 1 $skip ===\n"; print LOG "=== dump -0 -f $TAPENAME -B $TAPELENG -F $pos $ARGV[0] ===\n"; $pid = open DUMP, "dump -0 -f $TAPENAME -B $TAPELENG -F $pos $ARGV[0] 2>&1 > /dev/tty ) { print ; print LOG $_; if (m+DUMP: DUMP: ([0-9]*) tape blocks on ([0-9]*) volumes+) { $BLOCKS=$1; $VOLUMS=$2; } } # dump exits close DUMP; $rc = $? & 0xffff; die "Dump failed" if ($rc); print "Dump: $BLOCKS blocks $VOLUMS volumes\n"; # how much did we use $old=""; if ($VOLUMS > 1) { # tape changed in middle $pos = $BLOCKS; $old = " new"; $skip = 2; } else { $pos = $BLOCKS; $skip++; } $left = $TAPELENG - $pos; $pct = $left / ($TAPELENG/100); print LOG "--- Estimate $left blocks ($pct) on$old tape ---\n"; shift; # next } system "mt -f $TAPENAME offline"; print LOG `date`; close LOG; exit 0; ---------- Thank you for your consideration --------- >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 Jun 10 1:27:32 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 340A515260 for ; Thu, 10 Jun 1999 01:25:06 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id LAA32808; Thu, 10 Jun 1999 11:19:31 +0300 (EEST) (envelope-from ru) Date: Thu, 10 Jun 1999 11:19:31 +0300 From: Ruslan Ermilov To: MIHIRA Yoshiro Cc: rustam@eanetways.com, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/12093: /sbin/reboot does not run /etc/rc.shutdown during reboot Message-ID: <19990610111931.B27083@relay.ucb.crimea.ua> Mail-Followup-To: MIHIRA Yoshiro , rustam@eanetways.com, freebsd-bugs@FreeBSD.ORG References: <199906090913.CAA43156@freefall.freebsd.org> <199906100342.MAA17350@lavender.yy.cs.keio.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199906100342.MAA17350@lavender.yy.cs.keio.ac.jp>; from MIHIRA Yoshiro on Thu, Jun 10, 1999 at 12:42:39PM +0900 X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Jun 10, 1999 at 12:42:39PM +0900, MIHIRA Yoshiro wrote: > ru@FreeBSD.ORG wrote: > > >> Synopsis: /sbin/reboot does not run /etc/rc.shutdown during reboot > >> > >> State-Changed-From-To: open->closed > >> State-Changed-By: ru > >> State-Changed-When: Wed Jun 9 01:13:34 PDT 1999 > >> State-Changed-Why: > >> Not a bug. > >> init(8) executes rc.shutdown whenever it receives SIGTERM signal. > >> reboot(8) explicitly prevents this by sending init(8) SIGTSTP signal. > >> You can use shutdown(8) to terminate your system gracefully. > > But > shutdown -h now --> not execute /etc/rc.shutdown > It shouldn't execute /etc/rc.shutdown: shutdown(8): -h The system is halted at the specified time when shutdown executes halt(8). halt(8) is a link to reboot(8), and it acts like reboot, i.e. explicitly send init(8) SIGTSTP signal to prevent it from running /etc/rc.shutdown. There are two ways to shutdown your system gracefully: 1) Explicitly send init(8) SIGTERM signal (kill -15 1) 2) Run ``shutdown [time]'' without specifying -h -r -p switches. > See also > http://www.freebsd.org/cgi/query-pr.cgi?pr=5451 > http://www.freebsd.org/cgi/query-pr.cgi?pr=9066 > http://www.freebsd.org/cgi/query-pr.cgi?pr=10035 > Will take a look... -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 6:30:23 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 35A9C1537D; Thu, 10 Jun 1999 06:30:17 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA75860; Thu, 10 Jun 1999 06:30:15 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Thu, 10 Jun 1999 06:30:15 -0700 (PDT) From: Message-Id: <199906101330.GAA75860@freefall.freebsd.org> To: root@eyelab.psy.msu.edu, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/2822: ftp install specifying URL confusing Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ftp install specifying URL confusing State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Thu Jun 10 06:28:03 PDT 1999 State-Changed-Why: Looks like everyone else is happy with the message as it stands. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 7: 0: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 15C8214FD3 for ; Thu, 10 Jun 1999 07:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA23820; Thu, 10 Jun 1999 07:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from ns.wan (trltech.demon.co.uk [194.222.7.191]) by hub.freebsd.org (Postfix) with ESMTP id 5318E14FC0 for ; Thu, 10 Jun 1999 06:59:05 -0700 (PDT) (envelope-from richard@trltech.co.uk) Received: from rdls.sw.wan (rdls.sw.wan [192.9.200.19]) by ns.wan (8.9.2/8.9.2) with ESMTP id OAA01086 for ; Thu, 10 Jun 1999 14:58:52 +0100 (BST) (envelope-from richard@trltech.co.uk) Received: (from richard@localhost) by rdls.sw.wan (8.9.2/8.9.2) id OAA01338; Thu, 10 Jun 1999 14:57:35 +0100 (BST) (envelope-from richard) Message-Id: <199906101357.OAA01338@rdls.sw.wan> Date: Thu, 10 Jun 1999 14:57:35 +0100 (BST) From: rsmith@trltech.co.uk Reply-To: richard@jezebel.demon.co.uk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/12115: pppd reports wrong connected duration with demand option Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12115 >Category: bin >Synopsis: pppd reports wrong connected duration with demand option >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 Jun 10 07:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Richard Smith >Release: FreeBSD 3.1-RELEASE i386 >Organization: TRL Technology Ltd >Environment: FreeBSD ns.wan 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Thu Jun 3 16:11:34 BST 1999 richard@ns2.wan:/usr/src/sys/compile/GATEKEEPER i386 >Description: Using pppd for dial-on-demand over a dial-up ISDN line to our ISP. Whenever the line drops, pppd reports the connected duration in minutes using syslog(3), priority LOG_NOTICE. Unfortunately pppd calculates the duration from when pppd was started, not from when the line went up. >How-To-Repeat: Add the 'demand' keyword to the /etc/ppp/options file. >Fix: *** main.c.original Wed Jun 2 14:32:49 1999 --- main.c Wed Jun 2 14:59:51 1999 *************** *** 509,514 **** --- 509,521 ---- close(i); } + if (demand) { + /* + * dial-on-demand: connected time starts now + */ + stime = time((time_t *) NULL); + } + /* run welcome script, if any */ if (welcomer && welcomer[0]) { if (device_script(welcomer, ttyfd, ttyfd) < 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 Thu Jun 10 7:40: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id AB71A15351 for ; Thu, 10 Jun 1999 07:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA46451; Thu, 10 Jun 1999 07:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from plab.ku.dk (plab.ku.dk [130.225.105.65]) by hub.freebsd.org (Postfix) with ESMTP id 4C73115056 for ; Thu, 10 Jun 1999 07:33:28 -0700 (PDT) (envelope-from tobez@plab.ku.dk) Received: from lion.plab.ku.dk (lion.plab.ku.dk [130.225.105.49]) by plab.ku.dk (8.9.1/8.9.1) with ESMTP id QAA28018 for ; Thu, 10 Jun 1999 16:33:27 +0200 (CEST) Received: (from tobez@localhost) by lion.plab.ku.dk (8.9.3/8.9.3) id QAA68519; Thu, 10 Jun 1999 16:31:59 +0200 (CEST) (envelope-from tobez) Message-Id: <199906101431.QAA68519@lion.plab.ku.dk> Date: Thu, 10 Jun 1999 16:31:59 +0200 (CEST) From: tobez@plab.ku.dk Reply-To: tobez@plab.ku.dk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/12116: ASCII and US-ASCII locale wrongly aliased to latin lt_LN.ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12116 >Category: conf >Synopsis: ASCII and US-ASCII locale wrongly aliased to latin lt_LN.ASCII >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 Jun 10 07:40:02 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Anton Berezin >Release: FreeBSD 4.0-CURRENT i386 (and all others since 1995) >Organization: The Protein Laboratory, University of Copenhagen >Environment: Any FreeBSD version >Description: /usr/share/locale/ASCII and /usr/share/locale/US-ASCII are symlinked to lt_LN.ASCII. Thus, having one of these locales set, one gets *Latin* months names etc. I don't think it's ``intuitively correct''. :-) >How-To-Repeat: $ LANG=ASCII cal Iunius 1999 So Lu Ma Me Io Ve Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 >Fix: I don't know precisely what ASCII and US-ASCII should be symlinked to, but my educated guess is it should be en_US.ISO_8859-1. Hence, the file /usr/src/etc/locale.alias should be ASCII en_US.ISO_8859-1 US-ASCII en_US.ISO_8859-1 ru_RU.KOI8-R ru_SU.KOI8-R ru_RU.CP866 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 Thu Jun 10 8:25:50 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3BD7514FC6; Thu, 10 Jun 1999 08:25:49 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA51869; Thu, 10 Jun 1999 08:25:48 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Thu, 10 Jun 1999 08:25:48 -0700 (PDT) From: Message-Id: <199906101525.IAA51869@freefall.freebsd.org> To: fpscha@cvi.com.ar, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/12084: Mistake in anti spam rules for non-us domains. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Mistake in anti spam rules for non-us domains. State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Thu Jun 10 08:25:09 PDT 1999 State-Changed-Why: Thanks, but we don't use sendmail.cf.additions any more. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 8:27:39 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C72D414E66; Thu, 10 Jun 1999 08:27:38 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA52376; Thu, 10 Jun 1999 08:27:38 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Thu, 10 Jun 1999 08:27:38 -0700 (PDT) From: Message-Id: <199906101527.IAA52376@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, erich@FreeBSD.org Subject: Re: misc/12006: scheduler policy different define value between Linux and FreeBSD Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: scheduler policy different define value between Linux and FreeBSD Responsible-Changed-From-To: freebsd-bugs->erich Responsible-Changed-By: sheldonh Responsible-Changed-When: Thu Jun 10 08:26:55 PDT 1999 Responsible-Changed-Why: Over to linux_lib's maintainer, since this is really a wishlist item. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 8:34:34 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E9B2614E66; Thu, 10 Jun 1999 08:34:33 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA53329; Thu, 10 Jun 1999 08:34:32 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Date: Thu, 10 Jun 1999 08:34:32 -0700 (PDT) From: Message-Id: <199906101534.IAA53329@freefall.freebsd.org> To: rfg@monkeys.com, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: vacation(1) documentation and error logging both suck State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Thu Jun 10 08:31:41 PDT 1999 State-Changed-Why: If you're going to stand on the sidelines and bitch about the documentation, at least make sure you read it. Match cancelled due to lack of interest. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 8:37:29 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 2B78F14BF8; Thu, 10 Jun 1999 08:37:26 -0700 (PDT) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.1/8.9.1) id RAA41917; Thu, 10 Jun 1999 17:37:25 +0200 (CEST) (envelope-from sos) From: Soren Schmidt Message-Id: <199906101537.RAA41917@freebsd.dk> Subject: Re: misc/12006: scheduler policy different define value between Linux and FreeBSD In-Reply-To: <199906101527.IAA52376@freefall.freebsd.org> from "sheldonh@FreeBSD.ORG" at "Jun 10, 1999 8:27:38 am" To: sheldonh@FreeBSD.ORG Date: Thu, 10 Jun 1999 17:37:25 +0200 (CEST) Cc: freebsd-bugs@FreeBSD.ORG, erich@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems sheldonh@FreeBSD.ORG wrote: > Synopsis: scheduler policy different define value between Linux and FreeBSD > > Responsible-Changed-From-To: freebsd-bugs->erich > Responsible-Changed-By: sheldonh > Responsible-Changed-When: Thu Jun 10 08:26:55 PDT 1999 > Responsible-Changed-Why: > Over to linux_lib's maintainer, since this is really a wishlist item. Nope its a genuine bug in the linuxulator and it should be fixed. I'll see if I get the time soon, I have it on my list... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 8:50: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5D12614BF8 for ; Thu, 10 Jun 1999 08:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA55647; Thu, 10 Jun 1999 08:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 10 Jun 1999 08:50:02 -0700 (PDT) Message-Id: <199906101550.IAA55647@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Joerg-Henrik Wist Subject: Re: kern/10332: System freezes during certain SCSI activity Reply-To: Joerg-Henrik Wist Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/10332; it has been noted by GNATS. From: Joerg-Henrik Wist To: freebsd-gnats-submit@freebsd.org, tege@matematik.su.se Cc: Subject: Re: kern/10332: System freezes during certain SCSI activity Date: Thu, 10 Jun 1999 17:47:45 +0200 Hi, I have a similar problem, which I thought I should mention although I can't give any exact details right now (as the box is at home and I am at uni at the moment) In short: System is a K5/166, 64MB Ram, NCR53C810 SCSI controller - 2.1G Quantum Fireball (da0) - 4.5G IBM (da1) - YAMAHA CD-RW - SONY SDT7000 DD2-Tape (sa0) - FreeBSD 3.1 RELEASE (waiting for the 3.2 CDs), custom kernel The CD-RW and Tape are in an external SCSI-Case, the two harddisks in the tower. Everything is working fine, except when I try to access the tape. Writing with dump is ok, but reading with restore freezes the box and on the console I can read: nrc0 timeout ... (don't recall the exact message). Reboot is the only thing that helps. Note: I can't think of a cabling problem, as for example burning CDs works just fine. Could it be the driver for the tape? If you need any further info, please mail me and I'll try my best. Thanks, Henrik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 10:20: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 227AF15123 for ; Thu, 10 Jun 1999 10:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA65113; Thu, 10 Jun 1999 10:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 10 Jun 1999 10:20:01 -0700 (PDT) Message-Id: <199906101720.KAA65113@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11987; it has been noted by GNATS. From: Sheldon Hearn To: "Ronald F. Guilmette" Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Date: Thu, 10 Jun 1999 19:13:40 +0200 On Thu, 10 Jun 1999 08:55:51 MST, "Ronald F. Guilmette" wrote: > Hey! I paid my dues already as regards to donating time to free > software projects. Perhaps I misread the tone of your message. Regardless, mine wasn't called for. Let me offer you a more civil response: 1) Returning >0 is pretty much a standard UNIXism to the extent that a manpage that doesn't mention it can't really be said to "suck". 2) The manpage _does_ mention that erorr messages are logged through the syslog(3) interface. The manpage has always mentioned this. 3) It _is_ a good idea to log through syslog. The whole point of vacation is that it's often used by people who are _away_ from the system. Therefore it's usually best for error messages to go somewhere that the administrator will pick them up. 4) Because error messages go somewhere that is visible to the administrator, the mysterious "error 1" is easy for her to investigate. Hopefully, this provides you with the academic motivation behind my somewhat emotional response. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 10:30: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 20E3115123 for ; Thu, 10 Jun 1999 10:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA65998; Thu, 10 Jun 1999 10:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 10 Jun 1999 10:30:01 -0700 (PDT) Message-Id: <199906101730.KAA65998@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Ronald F. Guilmette" Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Reply-To: "Ronald F. Guilmette" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11987; it has been noted by GNATS. From: "Ronald F. Guilmette" To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Date: Thu, 10 Jun 1999 10:23:20 -0700 In message <70683.929034820@axl.noc.iafrica.com>, you wrote: > > >On Thu, 10 Jun 1999 08:55:51 MST, "Ronald F. Guilmette" wrote: > >> Hey! I paid my dues already as regards to donating time to free >> software projects. > >Perhaps I misread the tone of your message. Regardless, mine wasn't >called for. Let me offer you a more civil response: > >1) Returning >0 is pretty much a standard UNIXism to the extent that > a manpage that doesn't mention it can't really be said to "suck". That majority of man pages I have seen _do_ document the possible exit codes for programs. >2) The manpage _does_ mention that erorr messages are logged through the > syslog(3) interface. The manpage has always mentioned this. Hummm... You're right. I still don't see where the specific syslog facility used by the program is mentioned. That is an _important_ bit of data. (The facility used for logging is the "user" facility.) >3) It _is_ a good idea to log through syslog. The whole point of > vacation is that it's often used by people who are _away_ from the > system. Therefore it's usually best for error messages to go > somewhere that the administrator will pick them up. It is _ok_ to log through syslog, but this particular program is commonly used by ordinary end users who may not have access to ther relevant syslog files (which may be necessary in order to figure out usage problems), and thus, error messages should _also_ be written to someplace where the ordinary end user has some hope of seeing them, e.g. ~/.vacation.err or something like that. >4) Because error messages go somewhere that is visible to the > administrator, the mysterious "error 1" is easy for her to > investigate. Right. But if the sysadmin is away on a three week vacation in the Bahamas, and if the poor end user just has to figure out the problem for himself/herself then that could be impossible if (as is customary) the syslog files are tucked away in some obscure place and/or set with a mode which makes them unreadable to mere mortals. >Hopefully, this provides you with the academic motivation behind my >somewhat emotional response. Ditto. I must apologize also for _my_ emotional bug report. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 11: 0: 8 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9C43414CC3 for ; Thu, 10 Jun 1999 11:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA69193; Thu, 10 Jun 1999 11:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 10 Jun 1999 11:00:02 -0700 (PDT) Message-Id: <199906101800.LAA69193@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11987; it has been noted by GNATS. From: Sheldon Hearn To: "Ronald F. Guilmette" Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Date: Thu, 10 Jun 1999 19:58:15 +0200 On Thu, 10 Jun 1999 10:23:20 MST, "Ronald F. Guilmette" wrote: > I still don't see where the specific syslog facility used by the program > is mentioned. That is an _important_ bit of data. (The facility used > for logging is the "user" facility.) vacation(1): Fatal errors, such as calling vacation with incorrect arguments, or with non-existent logins, are logged in the system log file, using syslog(3). syslog(3): LOG_USER Messages generated by random user processes. This is the default facility identifier if none is specified. > Right. But if the sysadmin is away on a three week vacation in the > Bahamas, and if the poor end user just has to figure out the problem > for himself/herself This is not a problem specific to vacation(1). I really do think this is a simple case of reading too fast. I know it's not easy to admit, and I only feel qualified to say so because I myself am so good at it. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 11:30: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9E93414DF5 for ; Thu, 10 Jun 1999 11:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA73460; Thu, 10 Jun 1999 11:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 10 Jun 1999 11:30:02 -0700 (PDT) Message-Id: <199906101830.LAA73460@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Ronald F. Guilmette" Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Reply-To: "Ronald F. Guilmette" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11987; it has been noted by GNATS. From: "Ronald F. Guilmette" To: Sheldon Hearn Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Date: Thu, 10 Jun 1999 11:19:38 -0700 In message <72497.929037495@axl.noc.iafrica.com>, you wrote: > > >On Thu, 10 Jun 1999 10:23:20 MST, "Ronald F. Guilmette" wrote: > >> I still don't see where the specific syslog facility used by the program >> is mentioned. That is an _important_ bit of data. (The facility used >> for logging is the "user" facility.) > >vacation(1): > Fatal errors, such as calling vacation with incorrect arguments, > or with non-existent logins, are logged in the system log file, > using syslog(3). > >syslog(3): > LOG_USER Messages generated by random user processes. This > is the default facility identifier if none is > specified. That fact that "user" is the default facility for syslog, in general DOES NOT tell me that this is the facility that will be used, in fact, by this specific program. (Plenty of programs do syslog logging. Most _do_ select the facility they will use explicitly.) >> Right. But if the sysadmin is away on a three week vacation in the >> Bahamas, and if the poor end user just has to figure out the problem >> for himself/herself > >This is not a problem specific to vacation(1). How many other end-user-oriented programs write their error to syslog, rather than to stderr?? This is the *only* one that I know of. Maybe there are a few others, but this is certainly an unusual sort of a problem... i.e. an end-user-oriented utility program where the end user who uses it may not even be allowed to see the error messages it generates! >I really do think this is a simple case of reading too fast. I know it's >not easy to admit, and I only feel qualified to say so because I myself >am so good at it. In a word, no. I disagree. I do not believe that this is merely a case of me reading too fast. As I have noted (above) it requires an unjustified leap of faith to intuit from the _combination_ of the vacation(1) man page and the syslog(3) man page that in fact vacation(1) uses the "user" syslog facility. Consider: The default way of getting from place to place these days is by car. Chipmanzees do occasionally move from place to place. Therefore chipmanzees drive cars. The conclusion does not automatically follow from the premises. Also, as I have noted, vacation(1) is the _only_ end-user-oriented program I know of where the end user may not even be allowed to see the error messages produced by the program. (I think that even procmail, which in some ways has a similar sort of function, logs its errors into some file in the user's home directory so that the poor user can at least see them. Hummm... yes. I just looked in my own home directory and there is a nice big file called .procmail.log.) OK. So analogously, what I have proposed is a ~/.vacation.log file. This suggestion/request is _not_ prompted merely by an excessively speedy perusal of the relevant man pages. It is prompted by a real and legitimate need, i.e. the need of an ordinary end user to be able to see his own error messages when he invokes some end-user-oriented program. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 12: 0: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E1BE214ED0 for ; Thu, 10 Jun 1999 12:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA78236; Thu, 10 Jun 1999 12:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 02F6C14F2A; Thu, 10 Jun 1999 11:50:30 -0700 (PDT) Message-Id: <19990610185030.02F6C14F2A@hub.freebsd.org> Date: Thu, 10 Jun 1999 11:50:30 -0700 (PDT) From: gkitchen@cs.ubc.ca To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: gnu/12117: bug compiling fortune.c when NO_REGEX defined Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12117 >Category: gnu >Synopsis: bug compiling fortune.c when NO_REGEX defined >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 Jun 10 12:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Geordy Kitchen >Release: 3.1-STABLE >Organization: Computer Science, UBC >Environment: FreeBSD water.webct.com 3.1-STABLE FreeBSD 3.1-STABLE #0: Mon May 3 14:16:48 PDT 1999 varju@web4.webct.com:/home/build_3/src/sys/compile/WS25 i386 >Description: When compiling fortune.c (in /usr/src/games/fortune/fortune) with -DNO_REGEX, variable pat is undeclared on line 270. >How-To-Repeat: gcc -DNO_REGEX -c /usr/src/games/fortune/fortune/fortune.c >Fix: Move pat = NULL up about 5 lines to variable declaration and the bug is removed. >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 Jun 10 13:31:58 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from smtp13.bellglobal.com (smtp13.bellglobal.com [204.101.251.52]) by hub.freebsd.org (Postfix) with ESMTP id C824514D96; Thu, 10 Jun 1999 13:31:47 -0700 (PDT) (envelope-from vanderh@ecf.toronto.edu) Received: from localhost.nowhere (ppp18372.on.bellglobal.com [206.172.130.52]) by smtp13.bellglobal.com (8.8.5/8.8.5) with ESMTP id QAA10594; Thu, 10 Jun 1999 16:32:57 -0400 (EDT) Received: (from tim@localhost) by localhost.nowhere (8.9.3/8.9.1) id QAA01343; Thu, 10 Jun 1999 16:32:02 -0400 (EDT) (envelope-from tim) Date: Thu, 10 Jun 1999 16:32:01 -0400 From: Tim Vanderhoek To: "Ronald F. Guilmette" , sheldonh@FreeBSD.ORG Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Message-ID: <19990610163201.A1147@mad> References: <199906101730.KAA65998@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <199906101730.KAA65998@freefall.freebsd.org>; from Ronald F. Guilmette on Thu, Jun 10, 1999 at 10:30:01AM -0700 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Jun 10, 1999 at 10:30:01AM -0700, Ronald F. Guilmette wrote: > > >2) The manpage _does_ mention that erorr messages are logged through the > > syslog(3) interface. The manpage has always mentioned this. > > Hummm... You're right. > > I still don't see where the specific syslog facility used by the program > is mentioned. That is an _important_ bit of data. (The facility used > for logging is the "user" facility.) Actually, when we had our first little email exchange, I went glanced through the source and I seem to recall that it doesn't even use the "user" facility consistently. Anyways, I'll reopen the PR and assign it to myself in a moment. I can't promise you that I'll get to it anytime soon... FWIW, Ronald, I think it was the wording, not the content, of your bugreport that caused both me, sheldonh, and probably a lot of other readers, to have more-or-less the same reaction. Phrases "XXX should be done" are the type that usually need to have their words backed-up with code. More generally, we really do need a different PR state for PRs that have a fairly obvious solution that just needs to get coded. This would give us something better to point at next time some random person with unknown qualifications asks on the lists "Hi! What can I do to help FreeBSD". TBH, I have yet to see a list of this type actually succeed, but... Sheldon, since your the PR-guy of the moment... Suggestions? :-) [Maybe a webpage? Maybe assign some problems to "userland _improvements_"? I think what's been done with the ports and docs prs has worked reasonably well.] -- This is my .signature which gets appended to the end of my messages. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 13:33:53 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id AD5CA1542B; Thu, 10 Jun 1999 13:33:52 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Received: (from hoek@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA86365; Thu, 10 Jun 1999 13:33:52 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Date: Thu, 10 Jun 1999 13:33:52 -0700 (PDT) From: Message-Id: <199906102033.NAA86365@freefall.freebsd.org> To: rfg@monkeys.com, hoek@FreeBSD.org, freebsd-bugs@FreeBSD.org, hoek@FreeBSD.org Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: vacation(1) documentation and error logging both suck State-Changed-From-To: closed->open State-Changed-By: hoek State-Changed-When: Thu Jun 10 13:31:56 PDT 1999 State-Changed-Why: There's probably something we can do about this PR. Responsible-Changed-From-To: freebsd-bugs->hoek Responsible-Changed-By: hoek Responsible-Changed-When: Thu Jun 10 13:31:56 PDT 1999 Responsible-Changed-Why: Well, if I'm going to open it, I'd better take responsibility for it... Anybody who actually wants to do anything with this is more than welcome!! :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 13:37:37 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 5F52715409; Thu, 10 Jun 1999 13:37:20 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id WAA03672; Thu, 10 Jun 1999 22:36:14 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Tim Vanderhoek Cc: "Ronald F. Guilmette" , sheldonh@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck In-reply-to: Your message of "Thu, 10 Jun 1999 16:32:01 EDT." <19990610163201.A1147@mad> Date: Thu, 10 Jun 1999 22:36:14 +0200 Message-ID: <3670.929046974@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <19990610163201.A1147@mad>, Tim Vanderhoek writes: >More generally, we really do need a different PR state for PRs that >have a fairly obvious solution that just needs to get coded. This >would give us something better to point at next time some random >person with unknown qualifications asks on the lists "Hi! What can I >do to help FreeBSD". TBH, I have yet to see a list of this type >actually succeed, but... I (tried to) introduce the "[PATCH]" tag in the synopsis for PRs with a patch in them. Along this line we could add a "[EASY]" tag for things like this. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 13:49:26 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from www.value.net (www-fr.value.net [207.33.92.8]) by hub.freebsd.org (Postfix) with ESMTP id D2EC514CFD; Thu, 10 Jun 1999 13:49:24 -0700 (PDT) (envelope-from rfg@monkeys.com) Received: from monkeys.com (i180.value.net [206.14.136.180]) by www.value.net (8.8.7/8.7.3) with ESMTP id NAA15951; Thu, 10 Jun 1999 13:50:21 -0700 (PDT) Received: from monkeys.com (localhost.value.net [127.0.0.1]) by monkeys.com (8.9.3/8.9.3) with ESMTP id NAA08300; Thu, 10 Jun 1999 13:48:27 -0700 To: Tim Vanderhoek Cc: sheldonh@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck In-reply-to: Your message of Thu, 10 Jun 1999 16:32:01 -0400. <19990610163201.A1147@mad> From: "Ronald F. Guilmette" Date: Thu, 10 Jun 1999 13:48:27 -0700 Message-ID: <8298.929047707@monkeys.com> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <19990610163201.A1147@mad>, you wrote: >Anyways, I'll reopen the PR and assign it to myself in a moment. I >can't promise you that I'll get to it anytime soon... OK. >FWIW, Ronald, I think it was the wording, not the content, of your >bugreport that caused both me, sheldonh, and probably a lot of other >readers, to have more-or-less the same reaction. Phrases "XXX >should be done" are the type that usually need to have their words >backed-up with code. Agreed, and I apologize. (That moment of frustration, just after you have said to yourself ``Ah ha! So THAT'S where those damn error messages went!'' is probably not the best time to write a cool and dispassionate bugreport.) >More generally, we really do need a different PR state for PRs that >have a fairly obvious solution that just needs to get coded. This Hey! It's got my vote! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 13:52:45 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [206.67.97.83]) by hub.freebsd.org (Postfix) with ESMTP id 54BDE14C24; Thu, 10 Jun 1999 13:52:38 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: from localhost (billf@localhost) by jade.chc-chimes.com (8.8.8/8.8.8) with SMTP id QAA21145; Thu, 10 Jun 1999 16:52:05 -0400 (EDT) (envelope-from billf@jade.chc-chimes.com) Date: Thu, 10 Jun 1999 16:52:05 -0400 (EDT) From: Bill Fumerola To: Poul-Henning Kamp Cc: Tim Vanderhoek , "Ronald F. Guilmette" , sheldonh@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck In-Reply-To: <3670.929046974@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 Jun 1999, Poul-Henning Kamp wrote: > I (tried to) introduce the "[PATCH]" tag in the synopsis for PRs > with a patch in them. Along this line we could add a "[EASY]" > tag for things like this. I still like this idea. I think people still do it for non-ports PRs. - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@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 Jun 10 13:54: 8 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [206.67.97.83]) by hub.freebsd.org (Postfix) with ESMTP id 3902114D00; Thu, 10 Jun 1999 13:54:05 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: from localhost (billf@localhost) by jade.chc-chimes.com (8.8.8/8.8.8) with SMTP id QAA23008; Thu, 10 Jun 1999 16:56:56 -0400 (EDT) (envelope-from billf@jade.chc-chimes.com) Date: Thu, 10 Jun 1999 16:56:56 -0400 (EDT) From: Bill Fumerola To: "Ronald F. Guilmette" Cc: Tim Vanderhoek , sheldonh@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck In-Reply-To: <8298.929047707@monkeys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 Jun 1999, Ronald F. Guilmette wrote: > Agreed, and I apologize. (That moment of frustration, just after you have > said to yourself ``Ah ha! So THAT'S where those damn error messages went!'' > is probably not the best time to write a cool and dispassionate bugreport.) And not to belittle the proble, but.... It's just vacation(1). - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@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 Jun 10 14:41: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id C93A114DE4 for ; Thu, 10 Jun 1999 14:40:57 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 10sCYW-000LDX-00; Thu, 10 Jun 1999 23:40:12 +0200 From: Sheldon Hearn To: Tim Vanderhoek Cc: "Ronald F. Guilmette" , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck In-reply-to: Your message of "Thu, 10 Jun 1999 16:32:01 -0400." <19990610163201.A1147@mad> Date: Thu, 10 Jun 1999 23:40:12 +0200 Message-ID: <81562.929050812@axl.noc.iafrica.com> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 Jun 1999 16:32:01 -0400, Tim Vanderhoek wrote: > Anyways, I'll reopen the PR and assign it to myself in a moment. I > can't promise you that I'll get to it anytime soon... [...] > Sheldon, since your the PR-guy of the moment... Suggestions? :-) Yeah, give this untested patch a try. It ought to be backward compatible with our existing vacation. See the manpage for details. Now since you reopened the PR and assigned it to yourself, I _do_ expect feedback, y'hear? And you too, Mr Guilmette. Especially after that impressive argument on vacation being the only end-user toy to report errors to syslog(3). Now _that_ made it sound special enough to work on. ;-) Ciao, Sheldon. Index: usr.bin/vacation/vacation.1 =================================================================== RCS file: /home/ncvs/src/usr.bin/vacation/vacation.1,v retrieving revision 1.6 diff -u -d -r1.6 vacation.1 --- vacation.1 1997/02/22 19:57:38 1.6 +++ vacation.1 1999/06/10 21:29:26 @@ -40,11 +40,14 @@ .Nd return ``I am not here'' indication .Sh SYNOPSIS .Nm vacation +.Op Fl d .Fl i .Op Fl r Ar interval .Nm vacation +.Op Fl d .Fl l .Nm vacation +.Op Fl d .Op Fl a Ar alias .Ar login .Sh DESCRIPTION @@ -71,6 +74,11 @@ .Ar alias in the same manner as those received for the user's login name. +.It Fl d +Enable debugging mode. If possible, errors are logged to the file +.Pa .vacation.log +in the user's home directory. Some errors (such as invocation errors) +will be written to the standard output. .It Fl i Initialize the vacation database files. It should be used before you modify your @@ -155,16 +163,24 @@ .Dq From line automatically. .Pp -Fatal errors, such as calling +If the +.Fl d +option is not specified, fatal errors, such as calling .Nm vacation with incorrect arguments, or with non-existent .Ar login Ns Ar s , are logged in the system log file, using .Xr syslog 3 . +.Sh DIAGNOSTICS +The +.Nm +utility exits 0 on success, and >0 if an error occurs. .Sh FILES .Bl -tag -width "vacation.dirxxx" -compact .It Pa ~/.vacation.db database file +.It Pa ~/.vacation.log +debugging log .It Pa ~/.vacation.msg message to send .El Index: usr.bin/vacation/vacation.c =================================================================== RCS file: /home/ncvs/src/usr.bin/vacation/vacation.c,v retrieving revision 1.13 diff -u -d -r1.13 vacation.c --- vacation.c 1998/10/13 14:52:32 1.13 +++ vacation.c 1999/06/10 21:38:25 @@ -62,6 +62,7 @@ #include #include #include +#include #include #include #include @@ -78,6 +79,7 @@ #define MAXLINE 1024 /* max line from mail header */ #define VDB ".vacation.db" /* dbm's database */ #define VMSG ".vacation.msg" /* vacation message */ +#define LOGFILE ".vacation.log" /* debugging logfile */ typedef struct alias { struct alias *next; @@ -88,6 +90,8 @@ DB *db; char from[MAXLINE]; +FILE *logfp = NULL; +void (*msglog)(int, const char *, ...) = &syslog; static int isdelim __P((int)); static int junkmail __P((void)); @@ -99,6 +103,7 @@ static void setinterval __P((time_t)); static void setreply __P((void)); static void usage __P((void)); +static void flog __P((int, const char *, ...)); int main(argc, argv) @@ -114,7 +119,7 @@ opterr = iflag = lflag = 0; interval = -1; - while ((ch = getopt(argc, argv, "a:Iilr:")) != -1) + while ((ch = getopt(argc, argv, "a:dIilr:")) != -1) switch((char)ch) { case 'a': /* alias */ if (!(cur = (ALIAS *)malloc((u_int)sizeof(ALIAS)))) @@ -123,6 +128,9 @@ cur->next = names; names = cur; break; + case 'd': /* debug mode */ + msglog = &flog; + break; case 'I': /* backward compatible */ case 'i': /* init the database */ iflag = 1; @@ -150,25 +158,28 @@ if (!iflag && !lflag) usage(); if (!(pw = getpwuid(getuid()))) { - syslog(LOG_ERR, + msglog(LOG_ERR, "vacation: no such user uid %u.\n", getuid()); exit(1); } } else if (!(pw = getpwnam(*argv))) { - syslog(LOG_ERR, "vacation: no such user %s.\n", *argv); + msglog(LOG_ERR, "vacation: no such user %s.\n", *argv); exit(1); } if (chdir(pw->pw_dir)) { - syslog(LOG_NOTICE, + msglog(LOG_NOTICE, "vacation: no such directory %s.\n", pw->pw_dir); exit(1); } + if (msglog == &flog && !(logfp = fopen(LOGFILE, "a+"))) + printf("vacation: %s: %s\n", LOGFILE, strerror(errno)); + db = dbopen(VDB, O_CREAT|O_RDWR | (iflag ? O_TRUNC : 0), S_IRUSR|S_IWUSR, DB_HASH, NULL); if (!db) { - syslog(LOG_NOTICE, "vacation: %s: %s\n", VDB, strerror(errno)); + msglog(LOG_NOTICE, "vacation: %s: %s\n", VDB, strerror(errno)); exit(1); } @@ -263,7 +274,7 @@ if (!tome) exit(0); if (!*from) { - syslog(LOG_NOTICE, "vacation: no initial \"From\" line.\n"); + msglog(LOG_NOTICE, "vacation: no initial \"From\" line.\n"); exit(1); } } @@ -410,16 +421,16 @@ mfp = fopen(VMSG, "r"); if (mfp == NULL) { - syslog(LOG_NOTICE, "vacation: no ~%s/%s file.\n", myname, VMSG); + msglog(LOG_NOTICE, "vacation: no ~%s/%s file.\n", myname, VMSG); exit(1); } if (pipe(pvect) < 0) { - syslog(LOG_ERR, "vacation: pipe: %s", strerror(errno)); + msglog(LOG_ERR, "vacation: pipe: %s", strerror(errno)); exit(1); } i = fork(); if (i < 0) { - syslog(LOG_ERR, "vacation: fork: %s", strerror(errno)); + msglog(LOG_ERR, "vacation: fork: %s", strerror(errno)); exit(1); } if (i == 0) { @@ -428,7 +439,7 @@ close(pvect[1]); close(fileno(mfp)); execl(_PATH_SENDMAIL, "sendmail", "-f", myname, "--", from, NULL); - syslog(LOG_ERR, "vacation: can't exec %s: %s", + msglog(LOG_ERR, "vacation: can't exec %s: %s", _PATH_SENDMAIL, strerror(errno)); _exit(1); } @@ -444,7 +455,7 @@ static void usage() { - syslog(LOG_NOTICE, "uid %u: usage: vacation [-i [-rinterval]] [-l] [-a alias] login\n", + msglog(LOG_NOTICE, "uid %u: usage: vacation [-d] [-i [-rinterval]] [-l] [-a alias] login\n", getuid()); exit(1); } @@ -485,4 +496,22 @@ if (c == '_' || c == '-' || c == '.') return(0); return(1); +} + +/* + * Append a message to a logfile in the user's home directory for ease + * of debugging. + */ +static void +flog(int i, const char *fmt, ...) +{ + va_list ap; + + i = 0; /* Printing syslog priority not implemented */ + va_start(ap, fmt); + if (logfp) + fprintf(logfp, fmt, ap); + else + vfprintf(stderr, fmt, ap); + va_end(ap); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 15: 0: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9DD071506D for ; Thu, 10 Jun 1999 15:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA94665; Thu, 10 Jun 1999 15:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 10 Jun 1999 15:00:02 -0700 (PDT) Message-Id: <199906102200.PAA94665@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Chris Costello Subject: Re: kern/11359: rvplayer 5.0 (Linux) cases ncr PCI SCSI driver to fail (and hang the system) Reply-To: Chris Costello Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/11359; it has been noted by GNATS. From: Chris Costello To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: kern/11359: rvplayer 5.0 (Linux) cases ncr PCI SCSI driver to fail (and hang the system) Date: Thu, 10 Jun 1999 16:53:34 -0500 > Synopsis: rvplayer 5.0 (Linux) cases ncr PCI SCSI driver to fail (and hang the system) I don't experience this problem running -CURRENT as of May 30: Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #4: Sun May 30 04:22:23 CDT 1999 root@holly.dyndns.org:/usr/src/sys/compile/Holly Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x580 Stepping=0 Features=0x8001bf ---- ncr0: irq 10 at device 10.0 on pci0 da0 at ncr0 bus 0 target 6 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C) I, too, have rvplayer 5.0, and do not experience these problems. -- Chris Costello The purpose of computing is insight, not numbers. - Hamming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 15:34: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from smtp11.bellglobal.com (smtp11.bellglobal.com [204.101.251.53]) by hub.freebsd.org (Postfix) with ESMTP id E797714BE5 for ; Thu, 10 Jun 1999 15:34:03 -0700 (PDT) (envelope-from vanderh@ecf.toronto.edu) Received: from localhost.nowhere (ppp18395.on.bellglobal.com [206.172.130.75]) by smtp11.bellglobal.com (8.8.5/8.8.5) with ESMTP id SAA02707; Thu, 10 Jun 1999 18:36:52 -0400 (EDT) Received: (from tim@localhost) by localhost.nowhere (8.9.3/8.9.1) id SAA02038; Thu, 10 Jun 1999 18:34:19 -0400 (EDT) (envelope-from tim) Date: Thu, 10 Jun 1999 18:34:19 -0400 From: Tim Vanderhoek To: Sheldon Hearn Cc: "Ronald F. Guilmette" , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Message-ID: <19990610183419.B1476@mad> References: <19990610163201.A1147@mad> <81562.929050812@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <81562.929050812@axl.noc.iafrica.com>; from Sheldon Hearn on Thu, Jun 10, 1999 at 11:40:12PM +0200 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Jun 10, 1999 at 11:40:12PM +0200, Sheldon Hearn wrote: > > + case 'd': /* debug mode */ > + msglog = &flog; > + break; if (istty(STDERR_FILENO)) msglog = &slog; [+ appropriate manpage change] > > + if (msglog == &flog && !(logfp = fopen(LOGFILE, "a+"))) > + printf("vacation: %s: %s\n", LOGFILE, strerror(errno)); > + Any reason for not sending this to stderr with fprintf()? [I don't know what sendmail does with output to stderr]. > +/* > + * Append a message to a logfile in the user's home directory for ease > + * of debugging. > + */ > +static void > +flog(int i, const char *fmt, ...) > +{ > + va_list ap; > + > + i = 0; /* Printing syslog priority not implemented */ > + va_start(ap, fmt); > + if (logfp) > + fprintf(logfp, fmt, ap); > + else > + vfprintf(stderr, fmt, ap); > + va_end(ap); > } /* ... */ slog(int i, const char*fmt, ...) { va_list ap; va_start (ap, fmt); vfprintf(stderr, ap); va_end (ap); } [Makes life easier for people quickly checking that all is good...] Looks good. Assuming no objections from Ronald, do you want to commit this, Sheldon, or shall I? One other thing.... OpenBSD checks for a Return-Path header in addition to a From header. Is this a good thing or a bad thing? I don't know my RFC well enough. Ah, there's a malloc() in there, too, that just exits without an error message. Easy to fix that, too (not that malloc() should often fail when running vacation(1)... :-). -- This is my .signature which gets appended to the end of my messages. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 15:45:14 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from www.value.net (www-fr.value.net [207.33.92.8]) by hub.freebsd.org (Postfix) with ESMTP id 5930C1501A for ; Thu, 10 Jun 1999 15:45:13 -0700 (PDT) (envelope-from rfg@monkeys.com) Received: from monkeys.com (i180.value.net [206.14.136.180]) by www.value.net (8.8.7/8.7.3) with ESMTP id PAA29390; Thu, 10 Jun 1999 15:46:14 -0700 (PDT) Received: from monkeys.com (localhost.value.net [127.0.0.1]) by monkeys.com (8.9.3/8.9.3) with ESMTP id PAA11372; Thu, 10 Jun 1999 15:44:20 -0700 To: Tim Vanderhoek Cc: Sheldon Hearn , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck In-reply-to: Your message of Thu, 10 Jun 1999 18:34:19 -0400. <19990610183419.B1476@mad> From: "Ronald F. Guilmette" Date: Thu, 10 Jun 1999 15:44:20 -0700 Message-ID: <11370.929054660@monkeys.com> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <19990610183419.B1476@mad>, you wrote: >Looks good. Assuming no objections from Ronald, do you want to commit >this, Sheldon, or shall I? Works for me. >One other thing.... OpenBSD checks for a Return-Path header in >addition to a From header. Is this a good thing or a bad thing? I >don't know my RFC well enough. No, I think that any respectable MTA should be able to just generate an ordinary/traditional From_ header. (Excuse me if that sounds like a sendmail-centric view. It probably is.) >Ah, there's a malloc() in there, too, that just exits without an error >message. Easy to fix that, too (not that malloc() should often fail >when running vacation(1)... :-). Don't count on it. I have gotten some _really_ unexpected failures from vacation(1) recently. Sendmail has occasionally bounced stuff back with "Cannot fork". It turns out that at the exact moments when people were sending mail messages to that specific account (which had a vacation(1) autoresponder configured for it) I was also logged in to the same account and had jacked up the maxproc-cur, just so I could run some process-intensive things. But the _other_ sessions (e.g. the one running vacation1(1)) were still limited to the default maxproc-cur, which was much lower that the number of processes that I already had going over in the other session, so I was getting these weird fork failures. The moral of the story is just this: Don't assume you won't bang up against various limits. Users sometimes do the weirdest things, and then you _do_ hit them. -- Ron Guilmette, Roseville, California ---------- E-Scrub Technologies, Inc. -- Deadbolt(tm) Personal E-Mail Filter demo: http://www.e-scrub.com/deadbolt/ -- FREE Web Harvester Protection - http://www.e-scrub.com/wpoison/ - Try it! -- FREE DynamicIP Spam Filtering - http://www.imrss.org/dssl/ - TELL YOUR ISP! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 16: 2:25 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id EAB5215326 for ; Thu, 10 Jun 1999 16:02:19 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 10sDpY-000M63-00; Fri, 11 Jun 1999 01:01:52 +0200 From: Sheldon Hearn To: Tim Vanderhoek Cc: "Ronald F. Guilmette" , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck In-reply-to: Your message of "Thu, 10 Jun 1999 18:34:19 -0400." <19990610183419.B1476@mad> Date: Fri, 11 Jun 1999 01:01:52 +0200 Message-ID: <84942.929055712@axl.noc.iafrica.com> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 Jun 1999 18:34:19 -0400, Tim Vanderhoek wrote: > > + if (msglog == &flog && !(logfp = fopen(LOGFILE, "a+"))) > > + printf("vacation: %s: %s\n", LOGFILE, strerror(errno)); > > + > > Any reason for not sending this to stderr with fprintf()? [I don't > know what sendmail does with output to stderr]. Oversight. :-) > /* ... */ > slog(int i, const char*fmt, ...) > { > va_list ap; > va_start (ap, fmt); > vfprintf(stderr, ap); > va_end (ap); > } > > [Makes life easier for people quickly checking that all is good...] Now we have a situation where we write to stderr if it's connected to a terminal. If not, there are still times when we try to write to stderr. I got feedback from Ronald, in which he expressed concern about some messages going to the logfile and some to stderr. How about letting the -d option take a filename as an argument? It could be /dev/stderr or .vacation.log . Alternatively, and this is what I think would be best, scrap .vacation.log and write to stderr. It's easy enough to redirect to a file from .forward -- I'll even supply an example in the manpage. This keeps inline with the fine tradition, "keep it simple, stupid". And it just feels more UNIX. > Looks good. Assuming no objections from Ronald, do you want to commit > this, Sheldon, or shall I? Well it won't be me doing the commit; check avail. :-) Feed back to me on my suggestion above. If you agree that it's the way to go, then I'll send you a modified diff when I get back to work in about 9 hours. If you don't agree with me, then go ahead and commit. So long as whatever goes in doesn't affect people who aren't using -d. :-) > One other thing.... OpenBSD checks for a Return-Path header in > addition to a From header. Is this a good thing or a bad thing? I > don't know my RFC well enough. Well, there's no mention of _why_ they grok Return-Path. I checked their commit message and couldn't find "vacation" and "Return-Path" in the same message on _any_ of their searchable mailing list archives. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 16:11: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from www.value.net (www-fr.value.net [207.33.92.8]) by hub.freebsd.org (Postfix) with ESMTP id 4804A15223 for ; Thu, 10 Jun 1999 16:11:05 -0700 (PDT) (envelope-from rfg@monkeys.com) Received: from monkeys.com (i180.value.net [206.14.136.180]) by www.value.net (8.8.7/8.7.3) with ESMTP id QAA01348; Thu, 10 Jun 1999 16:12:06 -0700 (PDT) Received: from monkeys.com (localhost.value.net [127.0.0.1]) by monkeys.com (8.9.3/8.9.3) with ESMTP id QAA12171; Thu, 10 Jun 1999 16:10:13 -0700 To: Sheldon Hearn Cc: Tim Vanderhoek , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck In-reply-to: Your message of Fri, 11 Jun 1999 01:01:52 +0200. <84942.929055712@axl.noc.iafrica.com> From: "Ronald F. Guilmette" Date: Thu, 10 Jun 1999 16:10:13 -0700 Message-ID: <12169.929056213@monkeys.com> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <84942.929055712@axl.noc.iafrica.com>, you wrote: >Alternatively, and this is what I think would be best, scrap >.vacation.log and write to stderr. It's easy enough to redirect to a >file from .forward -- I'll even supply an example in the manpage. That's OK by me.... *if* sendmail will really honor redirection within a .forward file. > This >keeps inline with the fine tradition, "keep it simple, stupid". And it >just feels more UNIX. Well, if you REALLY wanted to take that tack the whole way, then the vacation(1) response message (addressed back to the original message sender) should be going to stdout, where it could just be piped to "sendmail -bm -t". But I suspect nobody wants to take it to THAT extreme. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 16:20:24 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 0A82914F28 for ; Thu, 10 Jun 1999 16:20:19 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 10sE72-000MHN-00; Fri, 11 Jun 1999 01:19:56 +0200 From: Sheldon Hearn To: "Ronald F. Guilmette" Cc: Tim Vanderhoek , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck In-reply-to: Your message of "Thu, 10 Jun 1999 16:10:13 MST." <12169.929056213@monkeys.com> Date: Fri, 11 Jun 1999 01:19:56 +0200 Message-ID: <85644.929056796@axl.noc.iafrica.com> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 Jun 1999 16:10:13 MST, "Ronald F. Guilmette" wrote: > Well, if you REALLY wanted to take that tack the whole way, then the > vacation(1) response message (addressed back to the original message > sender) should be going to stdout, where it could just be piped to > "sendmail -bm -t". Let's get the issue you raised here sorted out first. Then you can open up another PR for the next one. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 18:29:32 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from smtp11.bellglobal.com (smtp11.bellglobal.com [204.101.251.53]) by hub.freebsd.org (Postfix) with ESMTP id BBFBA15326 for ; Thu, 10 Jun 1999 18:29:29 -0700 (PDT) (envelope-from vanderh@ecf.toronto.edu) Received: from localhost.nowhere (Hamilton-ppp44822.sympatico.ca [206.172.76.15]) by smtp11.bellglobal.com (8.8.5/8.8.5) with ESMTP id VAA23696; Thu, 10 Jun 1999 21:32:19 -0400 (EDT) Received: (from tim@localhost) by localhost.nowhere (8.9.3/8.9.1) id VAA03596; Thu, 10 Jun 1999 21:29:46 -0400 (EDT) (envelope-from tim) Date: Thu, 10 Jun 1999 21:29:45 -0400 From: Tim Vanderhoek To: Sheldon Hearn Cc: "Ronald F. Guilmette" , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/11987: vacation(1) documentation and error logging both suck Message-ID: <19990610212945.A3398@mad> References: <19990610183419.B1476@mad> <84942.929055712@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <84942.929055712@axl.noc.iafrica.com>; from Sheldon Hearn on Fri, Jun 11, 1999 at 01:01:52AM +0200 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Jun 11, 1999 at 01:01:52AM +0200, Sheldon Hearn wrote: > > Alternatively, and this is what I think would be best, scrap > .vacation.log and write to stderr. It's easy enough to redirect to a > file from .forward -- I'll even supply an example in the manpage. This I like that far more than anything else suggested. > Well it won't be me doing the commit; check avail. :-) Man, you really got gyped. ;-) There's a rumour going around that it's actually possible to commit without being in the avail file. Talk to Robert Baron for more info. ;-) > Well, there's no mention of _why_ they grok Return-Path. I checked their > commit message and couldn't find "vacation" and "Return-Path" in the > same message on _any_ of their searchable mailing list archives. Who knows. It really only matters for the cases where From: and Return-Path: are different. I suppose it's probably correct to take the Return-Path: .... WTF is strlcpy()? (RFC 822: Return-Path: "definitive ... route back to the message's originator" From: "the identity of the person who wished this message to be sent." ) -- This is my .signature which gets appended to the end of my messages. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 19:53:59 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from ns.geng.co.jp (ns.geng.co.jp [210.160.158.98]) by hub.freebsd.org (Postfix) with ESMTP id 30F7814F90 for ; Thu, 10 Jun 1999 19:53:54 -0700 (PDT) (envelope-from boricuas167@yahoo.com) From: boricuas167@yahoo.com Reply-To: boricuas167@yahoo.com To: boricuas167@yahoo.com Subject: Get Beautiful "Mi Puerto Rico Screensaver" Message-Id: <19990611025357.30F7814F90@hub.freebsd.org> Date: Thu, 10 Jun 1999 19:53:57 -0700 (PDT) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Enjoy the beauties of the Island of Puerto Rico 32 original photos of beautiful beaches, panoramic scenes, and historic sites. The COQUI sound is included in the background. See samples photos and purchase your copy online today. Visit us at: http://www.25up.com To be removed send email to: remove@25up.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 19:54:22 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from ns.geng.co.jp (ns.geng.co.jp [210.160.158.98]) by hub.freebsd.org (Postfix) with ESMTP id 1E32315088 for ; Thu, 10 Jun 1999 19:54:19 -0700 (PDT) (envelope-from boricuas167@yahoo.com) From: boricuas167@yahoo.com Reply-To: boricuas167@yahoo.com To: boricuas167@yahoo.com Subject: Get Beautiful "Mi Puerto Rico Screensaver" Message-Id: <19990611025421.1E32315088@hub.freebsd.org> Date: Thu, 10 Jun 1999 19:54:21 -0700 (PDT) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Enjoy the beauties of the Island of Puerto Rico 32 original photos of beautiful beaches, panoramic scenes, and historic sites. The COQUI sound is included in the background. See samples photos and purchase your copy online today. Visit us at: http://www.25up.com To be removed send email to: remove@25up.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 21:10: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 82D0E1506C for ; Thu, 10 Jun 1999 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA22487; Thu, 10 Jun 1999 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from fw.bby.com.au (ns.bby.com.au [192.83.119.129]) by hub.freebsd.org (Postfix) with ESMTP id 8F83814E8F for ; Thu, 10 Jun 1999 21:03:01 -0700 (PDT) (envelope-from gnb@itga.com.au) Received: (from daemon@localhost) by fw.bby.com.au (8.8.8/8.6.9) id OAA24640 for ; Fri, 11 Jun 1999 14:03:00 +1000 (EST) Received: from lightning.itga.com.au(192.168.71.20) via SMTP by fw.bby.com.au, id smtpd024638; Fri Jun 11 04:02:59 1999 Received: from hellcat.itga.com.au (hellcat.itga.com.au [192.168.71.163]) by lightning.itga.com.au (8.9.1a/8.9.1) with ESMTP id OAA28380; Fri, 11 Jun 1999 14:02:59 +1000 (EST) Received: (from gnb@localhost) by hellcat.itga.com.au (8.9.3/8.9.1) id OAA40834; Fri, 11 Jun 1999 14:02:58 +1000 (EST) (envelope-from gnb@itga.com.au) Message-Id: <199906110402.OAA40834@hellcat.itga.com.au> Date: Fri, 11 Jun 1999 14:02:58 +1000 (EST) From: Gregory Bond Reply-To: gnb@itga.com.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/12122: cc hangs with -pipe and .s files Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12122 >Category: gnu >Synopsis: cc hangs on STDIN with -pipe and .s files >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 Jun 10 21:10:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Gregory Bond >Release: FreeBSD 3.2-STABLE i386 >Organization: ITG Australia Ltd >Environment: cc 2.7.2.1 as shipped with 3.2-STABLE (and presumably earlier) >Description: A cc command with -pipe option hangs waiting for STDIN when given a .s file to compile >How-To-Repeat: hellcat$ cc -v -pipe -c t1.s gcc version 2.7.2.1 /usr/libexec/elf/as -v -o t1.o t1.s - GNU assembler version 2.9.1 (i386-unknown-freebsdelf), using BFD version 2.9.1 This hangs until I type ^D. As can be seen, it is passing "-" to the assembler as well as the file name.... >Fix: Don't use -pipe and .s files! >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 Jun 10 21:36:49 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 72EC814F8D; Thu, 10 Jun 1999 21:36:48 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Received: (from hoek@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA24235; Thu, 10 Jun 1999 21:36:48 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Date: Thu, 10 Jun 1999 21:36:48 -0700 (PDT) From: Message-Id: <199906110436.VAA24235@freefall.freebsd.org> To: gkitchen@cs.ubc.ca, hoek@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: gnu/12117: bug compiling fortune.c when NO_REGEX defined Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: bug compiling fortune.c when NO_REGEX defined State-Changed-From-To: open->closed State-Changed-By: hoek State-Changed-When: Thu Jun 10 21:36:24 PDT 1999 State-Changed-Why: Fixed, thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Jun 10 22:40: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F5B71534F for ; Thu, 10 Jun 1999 22:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA29284; Thu, 10 Jun 1999 22:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from lion.butya.kz (butya-gw.butya.kz [194.87.112.252]) by hub.freebsd.org (Postfix) with ESMTP id 779D215332 for ; Thu, 10 Jun 1999 22:39:02 -0700 (PDT) (envelope-from bp@butya.kz) Received: from bp by lion.butya.kz with local (Exim 2.12 #1) id 10sK1k-000IdE-00 for FreeBSD-gnats-submit@freebsd.org; Fri, 11 Jun 1999 12:38:52 +0700 Message-Id: Date: Fri, 11 Jun 1999 12:38:52 +0700 From: bp@butya.kz Reply-To: bp@butya.kz To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/12126: Bug in if_ex driver Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12126 >Category: kern >Synopsis: Missing ioctl handler for IPX address family in if_ex driver >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 Jun 10 22:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Boris Popov >Release: FreeBSD 3.2-STABLE i386 >Organization: >Environment: FreeBSD 3.2-STABLE, FreeBSD 4.0 >Description: In sys/i386/isa/if_ex.c file ex_ioctl() subroutine doesn't handle ioctl request for AF_IPX address family, which makes it impossible to use this card for IPX protocol. >How-To-Repeat: ifconfig ex0 ipx 0x200 >Fix: --- if_ex.c.org Tue Nov 3 17:56:21 1998 +++ if_ex.c Thu Apr 22 09:48:30 1999 @@ -786,20 +786,10 @@ arp_ifinit((struct arpcom *) ifp, ifa); break; #endif -#ifdef IPX_NOTYET +#ifdef IPX case AF_IPX: - { - register struct ipx_addr *ina = &(IA_SIPX(ifa)->sipx_addr); - - if (ipx_nullhost(*ina)) - ina->x_host = *(union ipx_host *) (sc->arpcom.ac_enaddr); - else { - ifp->if_flags &= ~IFF_RUNNING; - bcopy((caddr_t) ina->x_host.c_host, (caddr_t) sc->arpcom.ac_enaddr, sizeof(sc->arpcom.ac_enaddr)); - } - ex_init(sc); + error = ether_ioctl(ifp, cmd, data); break; - } #endif #ifdef NS case AF_NS: >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 Jun 10 22:40:15 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E7E0715389 for ; Thu, 10 Jun 1999 22:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA29293; Thu, 10 Jun 1999 22:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 7DB9915332; Thu, 10 Jun 1999 22:39:25 -0700 (PDT) Message-Id: <19990611053925.7DB9915332@hub.freebsd.org> Date: Thu, 10 Jun 1999 22:39:25 -0700 (PDT) From: reggie@lambdawerks.org To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/12127: persistent crash on idle SMP system Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12127 >Category: kern >Synopsis: persistent crash on idle SMP system >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 10 22:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Reginald Perry >Release: 4.0 CURRENT compiled June 4, 1999 >Organization: >Environment: FreeBSD trane.lambdawerks.org 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Fri Jun 4 20:01:39 PDT 1999 root@:/usr/src/sys/compile/TRANE i386 >Description: After telnetting into the system this afternoon, I come home to find it had crashed. This has been pretty consistent, but this is the first time that I have lots of details. This is a dual pentium 166MMX system on a Tyan Tomcat III motherboard. the boot messages from the reboot before the crash is attached. I have the debug kernel and the crash dump if you want it. Ill keep it for a time in case you want it. Here is the backtrace from the crash dump: trane# gdb -k /usr/src/sys/compile/TRANE/kernel.debug ./vmcore.0 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"... SMP 2 cpus IdlePTD 3325952 initial pcb at 2aee40 panicstr: from debugger panic messages: --- Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 fault virtual address = 0xc6c fault code = supervisor read, page not present instruction pointer = 0x8:0xc0221506 stack pointer = 0x10:0xc649de3c frame pointer = 0x10:0xc649de44 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 4 (syncer) interrupt mask = net tty bio cam <- SMP: XXX panic: from debugger mp_lock = 00000002; cpuid = 0; lapic.id = 00000000 panic: from debugger mp_lock = 00000003; cpuid = 0; lapic.id = 00000000 boot() called on cpu#0 dumping to dev (4,131081), offset 280576 dump 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 --- #0 boot (howto=260) at ../../kern/kern_shutdown.c:288 288 dumppcb.pcb_cr3 = rcr3(); (kgdb) where #0 boot (howto=260) at ../../kern/kern_shutdown.c:288 #1 0xc014c7d5 in panic (fmt=0xc025fdf4 "from debugger") at ../../kern/kern_shutdown.c:451 #2 0xc012e8ed in db_panic (addr=-1071508218, have_addr=0, count=1, modif=0xc649dcb8 "") at ../../ddb/db_command.c:434 #3 0xc012e88d in db_command (last_cmdp=0xc028c050, cmd_table=0xc028beb0, aux_cmd_tablep=0xc02ac554) at ../../ddb/db_command.c:334 #4 0xc012e952 in db_command_loop () at ../../ddb/db_command.c:456 #5 0xc0130ab3 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 #6 0xc0212fbe in kdb_trap (type=12, code=0, regs=0xc649ddfc) at ../../i386/i386/db_interface.c:157 #7 0xc0225c8e in trap_fatal (frame=0xc649ddfc, eva=3180) at ../../i386/i386/trap.c:903 #8 0xc0225925 in trap_pfault (frame=0xc649ddfc, usermode=0, eva=3180) at ../../i386/i386/trap.c:801 #9 0xc022556f in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1066754304, tf_esi = -954306560, tf_ebp = -968237500, tf_isp = -968237528, tf_ebx = -957843996, tf_edx = 0, tf_ecx = 1, tf_eax = 795, tf_trapno = 12, tf_err = 0, tf_eip = -1071508218, tf_cs = 8, tf_eflags = 66071, tf_esp = -956480028, tf_ss = 0}) at ../../i386/i386/trap.c:427 #10 0xc0221506 in pmap_pte_quick (pmap=0xc71e7000, va=3337123300) at ../../i386/i386/pmap.c:708 #11 0xc022263f in pmap_remove_all (pa=240062464) at ../../i386/i386/pmap.c:1882 #12 0xc02239ee in pmap_page_protect (phys=240062464, prot=0) at ../../i386/i386/pmap.c:3149 #13 0xc016d33d in vfs_busy_pages (bp=0xc34de1b0, clear_modify=1) at ../../vm/vm_page.h:460 #14 0xc016b075 in bwrite (bp=0xc34de1b0) at ../../kern/vfs_bio.c:522 #15 0xc016f62e in vop_stdbwrite (ap=0xc649df1c) at ../../kern/vfs_default.c:309 #16 0xc016f47d in vop_defaultop (ap=0xc649df1c) at ../../kern/vfs_default.c:131 #17 0xc01f5bf1 in ufs_vnoperate (ap=0xc649df1c) at ../../ufs/ufs/ufs_vnops.c:2309 #18 0xc016bac8 in vfs_bio_awrite (bp=0xc34de1b0) at vnode_if.h:1145 #19 0xc01ef09e in ffs_fsync (ap=0xc649df74) at ../../ufs/ffs/ffs_vnops.c:210 #20 0xc01719ce in sched_sync () at vnode_if.h:499 #21 0xc013f043 in kproc_start (udata=0xc0266fa8) at ../../kern/init_main.c:294 #22 0xc0213a28 in fork_trampoline () Cannot access memory at address 0x336000. Jun 7 11:21:37 trane /kernel: Copyright (c) 1992-1999 The FreeBSD Project. Jun 7 11:21:37 trane /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993 Jun 7 11:21:37 trane /kernel: The Regents of the University of California. All rights reserved. Jun 7 11:21:37 trane /kernel: FreeBSD 4.0-CURRENT #0: Fri Jun 4 20:01:39 PDT 1999 Jun 7 11:21:37 trane /kernel: root@:/usr/src/sys/compile/TRANE Jun 7 11:21:37 trane /kernel: Timecounter "i8254" frequency 1193182 Hz Jun 7 11:21:37 trane /kernel: CPU: Pentium/P55C (586-class CPU) Jun 7 11:21:37 trane /kernel: Origin = "GenuineIntel" Id = 0x543 Stepping=3 Jun 7 11:21:37 trane /kernel: Features=0x8003bf Jun 7 11:21:37 trane /kernel: real memory = 134217728 (131072K bytes) Jun 7 11:21:37 trane /kernel: config> pnp 1 0 os enable irq0 5 drq0 1 drq1 5 port0 0x220 port1 0x330 port2 0x388 Jun 7 11:21:37 trane /kernel: config> pnp 1 1 os disable Jun 7 11:21:37 trane /kernel: config> pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20 Jun 7 11:21:37 trane /kernel: config> pnp 1 3 os disable Jun 7 11:21:37 trane /kernel: config> quit Jun 7 11:21:37 trane /kernel: sio0: system console Jun 7 11:21:37 trane /kernel: avail memory = 127332352 (124348K bytes) Jun 7 11:21:37 trane /kernel: Programming 24 pins in IOAPIC #0 Jun 7 11:21:37 trane /kernel: FreeBSD/SMP: Multiprocessor motherboard Jun 7 11:21:37 trane /kernel: cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee00000 Jun 7 11:21:37 trane /kernel: cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee00000 Jun 7 11:21:37 trane /kernel: io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Jun 7 11:21:37 trane /kernel: Preloaded elf kernel "kernel" at 0xc031a000. Jun 7 11:21:37 trane /kernel: Preloaded userconfig_script "/boot/kernel.conf" at 0xc031a0a8. Jun 7 11:21:37 trane /kernel: Intel Pentium detected, installing workaround for F00F bug Jun 7 11:21:37 trane /kernel: Probing for PnP devices: Jun 7 11:21:37 trane /kernel: CSN 1 Vendor ID: CTL009e [0x9e008c0e] Serial 0x0d9191f1 Comp ID: PNPb02f [0x2fb0d041] Jun 7 11:21:37 trane /kernel: npx0: on motherboard Jun 7 11:21:37 trane /kernel: npx0: INT 16 interface Jun 7 11:21:37 trane /kernel: pcib0: on motherboard Jun 7 11:21:37 trane /kernel: pci0: on pcib0 Jun 7 11:21:37 trane /kernel: chip0: at device 0.0 on pci0 Jun 7 11:21:37 trane /kernel: isab0: at device 7.0 on pci0 Jun 7 11:21:37 trane /kernel: ide_pci0: at device 7.1 on pci0 Jun 7 11:21:37 trane /kernel: vga-pci0: irq 18 at device 18.0 on pci0 Jun 7 11:21:37 trane /kernel: bt0: irq 17 at device 19.0 on pci0 Jun 7 11:21:37 trane /kernel: bt0: BT-958 FW Rev. 5.06I Ultra Wide SCSI Host Adapter, SCSI ID 7, 192 CCBs Jun 7 11:21:37 trane /kernel: fxp0: irq 16 at device 20.0 on pci0 Jun 7 11:21:37 trane /kernel: fxp0: Ethernet address 00:a0:c9:90:bb:52 Jun 7 11:21:37 trane /kernel: devclass_alloc_unit: bt0 already exists, using next available unit number Jun 7 11:21:37 trane /kernel: isa0: on motherboard Jun 7 11:21:37 trane /kernel: fdc0: at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 Jun 7 11:21:37 trane /kernel: fdc0: FIFO enabled, 8 bytes threshold Jun 7 11:21:37 trane /kernel: fd0: <1440-KB 3.5" drive> at fdc0 drive 0 Jun 7 11:21:37 trane /kernel: atkbdc0: at port 0x60-0x6f on isa0 Jun 7 11:21:37 trane /kernel: atkbd0: irq 1 on atkbdc0 Jun 7 11:21:37 trane /kernel: psm0: irq 12 on atkbdc0 Jun 7 11:21:37 trane /kernel: psm0: model Generic PS/2 mouse, device ID 0 Jun 7 11:21:37 trane /kernel: vga0: on isa0 Jun 7 11:21:37 trane /kernel: sc0: on isa0 Jun 7 11:21:37 trane /kernel: sc0: VGA color <16 virtual consoles, flags=0x0> Jun 7 11:21:37 trane /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Jun 7 11:21:37 trane /kernel: sio0: type 16550A, console Jun 7 11:21:37 trane /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0 Jun 7 11:21:37 trane /kernel: sio1: type 16550A Jun 7 11:21:37 trane /kernel: sio2: not probed (disabled) Jun 7 11:21:37 trane /kernel: sio3: not probed (disabled) Jun 7 11:21:37 trane /kernel: ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0 Jun 7 11:21:37 trane /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode Jun 7 11:21:37 trane /kernel: ppc0: FIFO with 16/16/15 bytes threshold Jun 7 11:21:37 trane /kernel: ppb0: IEEE1284 device found /NIBBLE/ECP Jun 7 11:21:38 trane /kernel: Probing for PnP devices on ppbus0: Jun 7 11:21:38 trane /kernel: ppbus0: MLC,PCL,PML Jun 7 11:21:38 trane /kernel: plip0: on ppbus 0 Jun 7 11:21:38 trane /kernel: lpt0: on ppbus 0 Jun 7 11:21:38 trane /kernel: lpt0: Interrupt-driven port Jun 7 11:21:38 trane /kernel: ppi0: on ppbus 0 Jun 7 11:21:38 trane /kernel: sb0 at port 0x220 irq 5 drq 1 on isa0 Jun 7 11:21:38 trane /kernel: snd0: Jun 7 11:21:38 trane /kernel: sbxvi0 at port 0xffffffff drq 5 on isa0 Jun 7 11:21:38 trane /kernel: isa_compat: didn't get ports for sbxvi Jun 7 11:21:38 trane /kernel: snd0: Jun 7 11:21:38 trane /kernel: sbmidi0 at port 0x330 on isa0 Jun 7 11:21:38 trane /kernel: snd0: Jun 7 11:21:38 trane /kernel: opl0 at port 0x388 on isa0 Jun 7 11:21:38 trane /kernel: snd0: Jun 7 11:21:38 trane /kernel: awe0 at port 0x620 on isa0 Jun 7 11:21:38 trane /kernel: awe0: Jun 7 11:21:38 trane /kernel: APIC_IO: Testing 8254 interrupt delivery Jun 7 11:21:38 trane /kernel: APIC_IO: routing 8254 via pin 2 Jun 7 11:21:38 trane /kernel: Waiting 2 seconds for SCSI devices to settle Jun 7 11:21:38 trane /kernel: SMP: AP CPU #1 Launched! Jun 7 11:21:38 trane /kernel: sa0 at bt0 bus 0 target 5 lun 0 Jun 7 11:21:38 trane /kernel: sa0: Removable Sequential Access SCSI-2 device Jun 7 11:21:38 trane /kernel: sa0: 10.000MB/s transfers (10.000MHz, offset 8) Jun 7 11:21:38 trane /kernel: da0 at bt0 bus 0 target 0 lun 0 Jun 7 11:21:38 trane /kernel: da0: Fixed Direct Access SCSI-2 device Jun 7 11:21:38 trane /kernel: da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit) Jun 7 11:21:38 trane /kernel: da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) Jun 7 11:21:38 trane /kernel: da1 at bt0 bus 0 target 4 lun 0 Jun 7 11:21:38 trane /kernel: da1: Fixed Direct Access SCSI-2 device Jun 7 11:21:38 trane /kernel: da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit) Jun 7 11:21:38 trane /kernel: da1: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) Jun 7 11:21:38 trane /kernel: changing root device to da0s1a Jun 7 11:21:38 trane /kernel: cd0 at bt0 bus 0 target 1 lun 0 Jun 7 11:21:38 trane /kernel: cd0: Removable CD-ROM SCSI-2 device Jun 7 11:21:38 trane /kernel: cd0: 10.000MB/s transfers (10.000MHz, offset 8) Jun 7 11:21:38 trane /kernel: cd0: cd present [251805 x 2048 byte records] Jun 7 11:21:38 trane savecore: no core dump Jun 7 11:21:40 trane lpd[165]: restarted # # TRANE -- Config file for Dual P5 166MMX w/ BT UW SCSI # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.172 1999/05/21 04:37:35 wpaul Exp $ machine i386 cpu I586_CPU cpu I686_CPU ident TRANE maxusers 64 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES options MFS #Memory Filesystem options MFS_ROOT #MFS usable as root device, "MFS" req'ed options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, "NFS" req'ed options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs controller isa0 controller pnp0 # PnP support for ISA controller eisa0 controller pci0 controller fdc0 at isa? port IO_FD1 irq 6 drq 2 disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 controller wdc0 at isa? port IO_WD1 irq 14 disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port IO_WD2 irq 15 disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 # ATAPI devices on wdc? device wcd0 #IDE CD-ROM device wfd0 #IDE Floppy (e.g. LS-120) device wst0 #IDE Tape (e.g. Travan) controller bt0 at isa? port ? irq ? controller scbus0 device da0 #Only need one of these, the code dynamically grows device sa0 device pass0 device cd0 # atkbdc0 controls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? #options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std device npx0 at nexus? port IO_NPX irq 13 device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port device ppc0 at isa? port? flags 0x40 irq 7 controller ppbus0 device lpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? #controller vpo0 at ppbus? # Controls all "VOXWARE" driver sound devices. See Luigi's driver # below for an alternate which may work better for some cards. # controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 device opl0 at isa? port 0x388 device awe0 at isa? port 0x620 # # The following Ethernet NICs are all PCI devices. # device de0 # DEC/Intel DC21x4x (``Tulip'') device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') #device ed0 at isa? port 0x280 net irq 10 iomem 0xc0000 pseudo-device loop pseudo-device ether pseudo-device sl 1 pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing # This provides support for System V shared memory and message queues. # options SYSVSHM options SYSVMSG options SYSVSEM # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be # aware of the legal and administrative consequences of enabling this # option. The number of devices determines the maximum number of # simultaneous BPF clients programs runnable. pseudo-device bpfilter 4 #Berkeley packet filter # USB support #controller uhci0 #controller ohci0 #controller usb0 # #device ugen0 #device uhid0 #device ukbd0 #device ulpt0 #controller umass0 #device ums0 ##################################################################### # DEBUGGING OPTIONS # # Enable the kernel debugger. # options DDB options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to #DDB, if available. # POSIX P1003.1B # Real time extensions added int the 1993 Posix # P1003_1B: Infrastructure # _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING # _KPOSIX_VERSION: Version kernel is built for options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L >How-To-Repeat: This happened on an idle system. >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 Jun 11 1:40: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7324F15133 for ; Fri, 11 Jun 1999 01:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA59744; Fri, 11 Jun 1999 01:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 11F2F14EF0; Fri, 11 Jun 1999 01:35:37 -0700 (PDT) Message-Id: <19990611083537.11F2F14EF0@hub.freebsd.org> Date: Fri, 11 Jun 1999 01:35:37 -0700 (PDT) From: pavel_roskin@geocities.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/12129: Process cannot call external functions after dlclose(self) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12129 >Category: bin >Synopsis: Process cannot call external functions after dlclose(self) >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 Jun 11 01:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Pavel Roskin >Release: 3.2-RELEASE >Organization: Contex Ltd., Saint Petersburg, Russia >Environment: FreeBSD liverpool.typhoon.spb.ru 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Tue May 18 04:05:08 GMT 1999 jkh@cathair:/usr/src/sys/compile/GENERIC i386 >Description: Executable compiled with -Wl,--export-dynamic can call dlopen(0,RTLD_LAZY) and access its own symbols. However, dlclose(handle) where handle is returned by that dlopen() makes the process behave incorrectly. Notably, the process cannot call external functions anymore, not even exit(). >How-To-Repeat: #include #include int main () { >Fix: void* handle; handle = dlopen(0, RTLD_LAZY); dlclose(handle); return 0; } Or just run "make check" in ftp://ftp.gnu.org/pub/gnu/libtool/libtool-1.3.2.tar.gz >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 Jun 11 3:25: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1126814CCB; Fri, 11 Jun 1999 03:25:04 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: (from ru@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA68756; Fri, 11 Jun 1999 03:25:04 -0700 (PDT) (envelope-from ru@FreeBSD.org) Date: Fri, 11 Jun 1999 03:25:04 -0700 (PDT) From: Message-Id: <199906111025.DAA68756@freefall.freebsd.org> To: adam@veda.is, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/3244: ipfw flush closes connections Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ipfw flush closes connections State-Changed-From-To: feedback->closed State-Changed-By: ru State-Changed-When: Fri Jun 11 03:19:08 PDT 1999 State-Changed-Why: Can't reproduce; originator doesn't respond. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 3:50: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6CF1314C4E for ; Fri, 11 Jun 1999 03:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA71448; Fri, 11 Jun 1999 03:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 11 Jun 1999 03:50:03 -0700 (PDT) Message-Id: <199906111050.DAA71448@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: kern/10747: ipfirewall `deny' rules act as `reject' for `out' packets Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/10747; it has been noted by GNATS. From: Ruslan Ermilov To: freebsd-gnats-submit@freebsd.org, ru@freebsd.org Cc: Subject: Re: kern/10747: ipfirewall `deny' rules act as `reject' for `out' packets Date: Fri, 11 Jun 1999 13:41:28 +0300 Index: ip_input.c =================================================================== RCS file: /usr/FreeBSD-CVS/src/sys/netinet/ip_input.c,v retrieving revision 1.111.2.2 diff -u -u -r1.111.2.2 ip_input.c --- ip_input.c 1999/05/04 16:23:58 1.111.2.2 +++ ip_input.c 1999/06/05 04:55:04 @@ -1510,6 +1510,9 @@ /* type, code set above */ break; + case EPERM: /* firewall rejected/denied packet */ + return; /* don't call icmp_error() twice */ + case ENETUNREACH: /* shouldn't happen, checked above */ case EHOSTUNREACH: case ENETDOWN: Index: ip_output.c =================================================================== RCS file: /usr/FreeBSD-CVS/src/sys/netinet/ip_output.c,v retrieving revision 1.85.2.3 diff -u -u -r1.85.2.3 ip_output.c --- ip_output.c 1999/05/04 16:24:00 1.85.2.3 +++ ip_output.c 1999/06/05 04:46:49 @@ -450,7 +450,7 @@ * packets in case of doubt. */ if (!m) { /* firewall said to reject */ - error = EACCES; + error = EPERM; goto done; } if (off == 0 && dst == old) /* common case */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 4:39:58 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7B4FC14D59; Fri, 11 Jun 1999 04:39:56 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: (from ru@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA78825; Fri, 11 Jun 1999 04:39:56 -0700 (PDT) (envelope-from ru@FreeBSD.org) Date: Fri, 11 Jun 1999 04:39:56 -0700 (PDT) From: Message-Id: <199906111139.EAA78825@freefall.freebsd.org> To: ghelmer@mocha.cs.iastate.edu, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org, ru@FreeBSD.org Subject: Re: kern/10324: ip_fw allows divert rules even though not built with IPDIVERT option Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ip_fw allows divert rules even though not built with IPDIVERT option State-Changed-From-To: open->closed State-Changed-By: ru State-Changed-When: Fri Jun 11 04:36:56 PDT 1999 State-Changed-Why: Fixed in -CURRENT (src/sys/netinet/ip_fw.c,v 1.113). Responsible-Changed-From-To: freebsd-bugs->ru Responsible-Changed-By: ru Responsible-Changed-When: Fri Jun 11 04:36:56 PDT 1999 Responsible-Changed-Why: So I remember to MFC. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 9:40: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DA5E8154E6 for ; Fri, 11 Jun 1999 09:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA88056; Fri, 11 Jun 1999 09:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id A401E154F7; Fri, 11 Jun 1999 09:36:44 -0700 (PDT) Message-Id: <19990611163644.A401E154F7@hub.freebsd.org> Date: Fri, 11 Jun 1999 09:36:44 -0700 (PDT) From: m.seaman@inpharmatica.co.uk To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/12136: /sbin/dhclient-script: weird route commands Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12136 >Category: bin >Synopsis: /sbin/dhclient-script: weird route commands >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 Jun 11 09:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: 3.2-STABLE of Fri Jun 11 09:31:00 BST 1999 >Organization: Inpharmatica Ltd >Environment: FreeBSD b0.farm.inpharmatica.co.uk 3.2-STABLE FreeBSD 3.2-STABLE #0: Fri Jun 11 09:31:00 BST 1999 matthew@b9.farm.inpharmatica.co.uk:/usr/src/sys/compile/FARM alpha >Description: /sbin/dhclient-script will attempt to add a route from any new interface IP address via 127.1 (or via 127.0.0.1 for aliases): route add $new_ip_address 127.1 >/dev/null 2>&1 which doesn't seem to achieve anything except causing the system log to fill up with lines like: Jun 11 02:23:43 b0 /kernel: arplookup 127.0.0.1 failed: could not allocate llinfo Jun 11 02:23:43 b0 /kernel: arpresolve: can't allocate llinfo for 127.0.0.1rt These repeat every 16 or so seconds ad-infinitum. Since there are two lines, syslogd's usual "last message repeated N times" mechanism doesn't happen either. >How-To-Repeat: Install DHCP server on network configure kernel on test machine with bpfilter touch /etc/dhclient.conf Assuming interface to be managed by dhcp is de0: cat < /etc/start_if.de0 #!/bin/sh /sbin/dhclient de0 FOO Comment out defaultrouter and ifconfig_de0 lines in /etc/rc.conf Reboot >Fix: Apply this patch. --- /sbin/dhclient-script.orig Fri Jun 11 16:37:20 1999 +++ /sbin/dhclient-script Fri Jun 11 16:51:41 1999 @@ -62,7 +62,7 @@ if [ x$reason = xPREINIT ]; then if [ x$alias_ip_address != x ]; then ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1 - route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1 + #route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1 fi ifconfig $interface inet 0.0.0.0 netmask 0.0.0.0 \ broadcast 255.255.255.255 up @@ -82,7 +82,6 @@ fi if [ x$old_ip_address != x ] && [ x$old_ip_address != x$new_ip_address ]; then ifconfig $interface inet -alias $old_ip_address $medium - route delete $old_ip_address 127.1 >/dev/null 2>&1 for router in $old_routers; do route delete default $router >/dev/null 2>&1 done @@ -99,7 +98,6 @@ [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then ifconfig $interface inet $new_ip_address $new_netmask_arg \ $new_broadcast_arg $medium - route add $new_ip_address 127.1 >/dev/null 2>&1 for router in $new_routers; do route add default $router >/dev/null 2>&1 done @@ -115,7 +113,6 @@ if [ x$new_ip_address != x$alias_ip_address ] && [ x$alias_ip_address != x ]; then ifconfig $interface inet alias $alias_ip_address $alias_subnet_arg - route add $alias_ip_address 127.0.0.1 fi echo search $new_domain_name >/etc/resolv.conf for nameserver in $new_domain_name_servers; do @@ -127,11 +124,9 @@ if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ]; then if [ x$alias_ip_address != x ]; then ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1 - route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1 fi if [ x$old_ip_address != x ]; then ifconfig $interface inet -alias $old_ip_address $medium - route delete $old_ip_address 127.1 >/dev/null 2>&1 for router in $old_routers; do route delete default $router >/dev/null 2>&1 done @@ -147,7 +142,6 @@ fi if [ x$alias_ip_address != x ]; then ifconfig $interface inet alias $alias_ip_address $alias_subnet_arg - route add $alias_ip_address 127.0.0.1 fi exit_with_hooks 0 fi @@ -155,7 +149,6 @@ if [ x$reason = xTIMEOUT ]; then if [ x$alias_ip_address != x ]; then ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1 - route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1 fi ifconfig $interface inet $new_ip_address $new_netmask_arg \ $new_broadcast_arg $medium @@ -167,9 +160,7 @@ if [ x$new_ip_address != x$alias_ip_address ] && \ [ x$alias_ip_address != x ]; then ifconfig $interface inet alias $alias_ip_address $alias_subnet_arg - route add $alias_ip_address 127.0.0.1 fi - route add $new_ip_address 127.1 >/dev/null 2>&1 for router in $new_routers; do route add default $router >/dev/null 2>&1 done >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 Jun 11 10:10: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CB96314F5D for ; Fri, 11 Jun 1999 10:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA90429; Fri, 11 Jun 1999 10:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from misha.cisco.com (misha.cisco.com [171.69.206.50]) by hub.freebsd.org (Postfix) with ESMTP id 6976C14CB5 for ; Fri, 11 Jun 1999 10:08:32 -0700 (PDT) (envelope-from mi@misha.cisco.com) Received: (from mi@localhost) by misha.cisco.com (8.9.3/8.9.1) id NAA57393; Fri, 11 Jun 1999 13:08:31 -0400 (EDT) (envelope-from mi) Message-Id: <199906111708.NAA57393@misha.cisco.com> Date: Fri, 11 Jun 1999 13:08:31 -0400 (EDT) From: Mikhail Teterin Reply-To: mi@aldan.algebra.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/12137: something wrong with shell -- functions with arithm expressions Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12137 >Category: bin >Synopsis: something wrong with shell -- functions with arithm expressions >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 Jun 11 10:10:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 3.2-STABLE i386 >Organization: Virtual Estates, Inc. >Environment: >Description: This strange method of figuring out the length of a string gives different results for the strings of the same length depending on their content: length () { echo $((0 + ${#1})) } length "abc (def [xyz])" length "abc (def (xyz))" The use of ``[]'' makes the string appear one character longer. I made the severity and priority fairly high, because this may indicate some brokenness in more important parts of sh. A more simple attempt to reproduce this: a="abc (def [xyz])" echo $((0+${#a})) b="abc (def (xyz))" echo $((0+${#b})) works as expected -- same length for both strings. So does: length () { echo ${#1} } length "abc (def [xyz])" length "abc (def (xyz))" You actually need the combination of arithmetic and function, it seems. >How-To-Repeat: Just run the script above with sh. I see: 16 15 >Fix: Use bash or ksh -- they both produce 15 for both of this lines. >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 Jun 11 10:14:27 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from misha.cisco.com (misha.cisco.com [171.69.206.50]) by hub.freebsd.org (Postfix) with ESMTP id 5062C14F9F; Fri, 11 Jun 1999 10:14:21 -0700 (PDT) (envelope-from mi@misha.cisco.com) Received: (from mi@localhost) by misha.cisco.com (8.9.3/8.9.1) id NAA58200; Fri, 11 Jun 1999 13:14:17 -0400 (EDT) (envelope-from mi) Message-Id: <199906111714.NAA58200@misha.cisco.com> Subject: Re: bin/12137: something wrong with shell -- functions with arithm expressions In-Reply-To: <199906111710.KAA90425@freefall.freebsd.org> from "gnats-admin@FreeBSD.org" at "Jun 11, 1999 10:10:01 am" To: gnats-admin@FreeBSD.org, freebsd-bugs@FreeBSD.org Date: Fri, 11 Jun 1999 13:14:17 -0400 (EDT) Reply-To: mi@aldan.algebra.com From: Mikhail Teterin X-Mailer: ELM [version 2.4ME+ PL52 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The ``-'' character is also causing troubles. The script: length () { echo $((0+${#1})) } length "abc (def [xyz])" length "abc (def (xyz))" length "abc (def -xyz-)" Produces: 16 15 17 Again, bash and ksh print out 15 for all of the strings... -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 12: 0: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4098214F01 for ; Fri, 11 Jun 1999 12:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA99361; Fri, 11 Jun 1999 12:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 478F114F01; Fri, 11 Jun 1999 11:55:04 -0700 (PDT) Message-Id: <19990611185504.478F114F01@hub.freebsd.org> Date: Fri, 11 Jun 1999 11:55:04 -0700 (PDT) From: davids@webmaster.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/12141: libc_r passes negative tv_usec values to setitimer -- crash Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12141 >Category: kern >Synopsis: libc_r passes negative tv_usec values to setitimer -- crash >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 Jun 11 12:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: David Schwartz >Release: 3.2-STABLE >Organization: WebMaster, Incorporated >Environment: FreeBSD vermithrax.youwant.to 3.2-STABLE FreeBSD 3.2-STABLE #9: Mon Jun 7 10:15:02 PDT 1999 davids@vermithrax.youwant.to:/usr/src/sys/compile/DAVIDS i386 >Description: It seems that under some circumstances, the pthreads (libc_r) library computes a negative tv_usec value which it passes to setitimer. setitimer returns EINVAL, causing the threaded program to crash. >How-To-Repeat: I'm not sure what it is specifically that's causing it. But it is happening to three of my pthreads-based programs. >Fix: This is the *wrong* fix, but it does make the problem go away. in uthread_kern.c: /* * Start the interval timer for the * calculated time interval: */ if(itimer.it_value.tv_usec<=0) itimer.it_value.tv_usec=1000; if (setitimer(_ITIMER_SCHED_TIMER, &itimer, NULL ) != 0) { The 'if' has been added to remove the problem. But the real problem is why it's computing negative values in the first place. >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 Jun 11 12:18:36 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 79A0B14FE4; Fri, 11 Jun 1999 12:18:35 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Received: (from hoek@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA00907; Fri, 11 Jun 1999 12:18:35 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Date: Fri, 11 Jun 1999 12:18:35 -0700 (PDT) From: Message-Id: <199906111918.MAA00907@freefall.freebsd.org> To: andrew@ugh.net.au, hoek@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/6711: [PATCH ?] I've seen that fortune before Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH ?] I've seen that fortune before State-Changed-From-To: suspended->closed State-Changed-By: hoek State-Changed-When: Fri Jun 11 12:12:39 PDT 1999 State-Changed-Why: Using "fortune all" won't really cause a decrease in the number of fortunes that you read twice. Examine the following, b$ fortune -f ___% /usr/share/games/fortune ___% fortunes ___% fortunes2 b$ fortune -f all ___% /usr/share/games/fortune ___% fortunes ___% fortunes2 ___% startrek ___% zippy ___% limerick b$ ls -l fortunes fortunes2 startrek zippy limerick -r--r--r-- 1 root games 582273 May 28 04:31 fortunes -r--r--r-- 1 root games 2063664 May 28 04:31 fortunes2 -r--r--r-- 1 root games 144252 May 28 04:31 limerick -r--r--r-- 1 root games 27502 May 28 04:31 startrek -r--r--r-- 1 root games 38744 May 28 04:31 zippy b$ The problem of repeated fortunes is/was most likely a result of poor randomness, which was fixed in FreeBSD 3 by using /dev/random to get better randomness. [Besides, I like to keep my star-trek and zippy quotes for special days - ]. [Note that especially once limerick is moved to limeric-o, the additional two fortune files make almost no difference to the total number of fortunes available.]. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 13: 0: 9 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 76F0714CB0 for ; Fri, 11 Jun 1999 13:00:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA03532; Fri, 11 Jun 1999 13:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 11 Jun 1999 13:00:02 -0700 (PDT) Message-Id: <199906112000.NAA03532@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Chris Costello Subject: Re: kern/12141: libc_r passes negative tv_usec values to setitimer -- crash Reply-To: Chris Costello Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/12141; it has been noted by GNATS. From: Chris Costello To: davids@webmaster.com Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/12141: libc_r passes negative tv_usec values to setitimer -- crash Date: Fri, 11 Jun 1999 14:56:57 -0500 On Fri, Jun 11, 1999, davids@webmaster.com wrote: > This is the *wrong* fix, but it does make the problem go away. > > in uthread_kern.c: > /* > * Start the interval timer for the > * calculated time interval: > */ > if(itimer.it_value.tv_usec<=0) > itimer.it_value.tv_usec=1000; > if (setitimer(_ITIMER_SCHED_TIMER, &itimer, NULL > ) != 0) { > > > The 'if' has been added to remove the problem. But the real problem is why it's computing negative values in the first place. Actually, that's even wrong for your wrong fix. The hack you probably want is more along the lines of if (itimer.it_value.tv_usec < 0) itimer.it_value.tv_usec = 1000; It's perfectly ok for tv_usec to be 0. -- Chris Costello As far as we know, our computer has never had an undetected error. - Weisert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 13:38:19 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from midten.fast.no (midten.fast.no [195.139.251.11]) by hub.freebsd.org (Postfix) with ESMTP id 9F5F615249; Fri, 11 Jun 1999 13:38:06 -0700 (PDT) (envelope-from tegge@fast.no) Received: from fast.no (IDENT:tegge@midten.fast.no [195.139.251.11]) by midten.fast.no (8.9.3/8.9.3) with ESMTP id WAA34835; Fri, 11 Jun 1999 22:37:58 +0200 (CEST) Message-Id: <199906112037.WAA34835@midten.fast.no> To: mi@aldan.algebra.com Cc: gnats-admin@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/12137: something wrong with shell -- functions with arithm expressions From: Tor.Egge@fast.no In-Reply-To: Your message of "Fri, 11 Jun 1999 13:14:17 -0400 (EDT)" References: <199906111714.NAA58200@misha.cisco.com> X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Fri_Jun_11_22:35:49_1999)--" Content-Transfer-Encoding: 7bit Date: Fri, 11 Jun 1999 22:37:57 +0200 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ----Next_Part(Fri_Jun_11_22:35:49_1999)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit > Again, bash and ksh print out 15 for all of the strings... So will /bin/sh, if you apply the enclosed patch: - Tor Egge ----Next_Part(Fri_Jun_11_22:35:49_1999)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Index: expand.c =================================================================== RCS file: /home/ncvs/src/bin/sh/expand.c,v retrieving revision 1.28 diff -u -r1.28 expand.c --- expand.c 1999/05/08 10:21:49 1.28 +++ expand.c 1999/06/11 20:34:20 @@ -679,11 +679,13 @@ if (set && subtype != VSPLUS) { /* insert the value of the variable */ if (special) { - varvalue(var, varflags & VSQUOTE, flag & EXP_FULL); if (subtype == VSLENGTH) { + varvalue(var, 0, flag & EXP_FULL); varlen = expdest - stackblock() - startloc; STADJUST(-varlen, expdest); - } + } else + varvalue(var, varflags & VSQUOTE, + flag & EXP_FULL); } else { char const *syntax = (varflags & VSQUOTE) ? DQSYNTAX : BASESYNTAX; ----Next_Part(Fri_Jun_11_22:35:49_1999)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 13:53:50 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id F26D0153E6; Fri, 11 Jun 1999 13:52:56 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: (from ru@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA08179; Fri, 11 Jun 1999 13:52:56 -0700 (PDT) (envelope-from ru@FreeBSD.org) Date: Fri, 11 Jun 1999 13:52:56 -0700 (PDT) From: Message-Id: <199906112052.NAA08179@freefall.freebsd.org> To: SteveFriedrich@Hot-Shot.com, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/9066: init ignore rc.shutdown Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: init ignore rc.shutdown State-Changed-From-To: open->closed State-Changed-By: ru State-Changed-When: Fri Jun 11 13:51:09 PDT 1999 State-Changed-Why: Superseded by PR#5451. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 13:56:42 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D468915551; Fri, 11 Jun 1999 13:55:25 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: (from ru@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA08326; Fri, 11 Jun 1999 13:55:25 -0700 (PDT) (envelope-from ru@FreeBSD.org) Date: Fri, 11 Jun 1999 13:55:25 -0700 (PDT) From: Message-Id: <199906112055.NAA08326@freefall.freebsd.org> To: philip@eilio.com, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/10035: 3.0-STABLE, rc.shutdown is still ignored. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: 3.0-STABLE, rc.shutdown is still ignored. State-Changed-From-To: open->closed State-Changed-By: ru State-Changed-When: Fri Jun 11 13:54:32 PDT 1999 State-Changed-Why: Superseded by PR#5451. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 14: 0: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 650A514C93 for ; Fri, 11 Jun 1999 14:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA08657; Fri, 11 Jun 1999 14:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 11 Jun 1999 14:00:02 -0700 (PDT) Message-Id: <199906112100.OAA08657@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "David Schwartz" Subject: Re: kern/12141: libc_r passes negative tv_usec values to setitimer -- crash Reply-To: "David Schwartz" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/12141; it has been noted by GNATS. From: "David Schwartz" To: , "David Schwartz" Cc: Subject: Re: kern/12141: libc_r passes negative tv_usec values to setitimer -- crash Date: Fri, 11 Jun 1999 13:50:44 -0700 Even that is not enough. Apparently tv_sec can be <0 too: Cannot set scheduling timer, errno=22, v.s=-1, v.us=1000 Presumable, usec was set to 1,000 by my hack. But the seconds were negative too! This crash is rarer than the one where just the usec value is negative. Here's my new hacked fix: if ( (itimer.it_value.tv_usec<0) || (itimer.it_value.tv_sec<0) ) { itimer.it_value.tv_usec=1000; itimer.it_value.tv_sec=0; } David Schwartz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 20:10: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 21C9314F02 for ; Fri, 11 Jun 1999 20:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA34969; Fri, 11 Jun 1999 20:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 11 Jun 1999 20:10:02 -0700 (PDT) Message-Id: <199906120310.UAA34969@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "David Schwartz" Subject: Re: kern/12141: libc_r passes negative tv_usec values to setitimer -- crash Reply-To: "David Schwartz" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/12141; it has been noted by GNATS. From: "David Schwartz" To: , "David Schwartz" Cc: Subject: Re: kern/12141: libc_r passes negative tv_usec values to setitimer -- crash Date: Fri, 11 Jun 1999 20:06:07 -0700 The thread that causes the problem is always waiting for a condition variable, if that helps. I'm working very hard on a program to replicate the bug. DS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 21:10: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 68B5514E9A for ; Fri, 11 Jun 1999 21:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA40098; Fri, 11 Jun 1999 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 11 Jun 1999 21:10:01 -0700 (PDT) Message-Id: <199906120410.VAA40098@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "David Schwartz" Subject: Re: kern/12141: libc_r passes negative tv_usec values to setitimer -- crash Reply-To: "David Schwartz" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/12141; it has been noted by GNATS. From: "David Schwartz" To: , "David Schwartz" Cc: Subject: Re: kern/12141: libc_r passes negative tv_usec values to setitimer -- crash Date: Fri, 11 Jun 1999 21:04:53 -0700 Wow, it was an overflow in my code causing me to call pthread_cond_timewait with an out-of-range number of nanoseconds. One billion is awfully close to the maximum an unsigned int/long can hold, so overflows are easy. So the problem really is that pthread_cond_timedwait doesn't return an EINVAL when the input timespec is out of range. Instead it lets the scheduler fault later. The fix is either to document this unusual behavior or put sanity checks in pthread_cond_timedwait. DS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Jun 11 21:40: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 85BD5150C6 for ; Fri, 11 Jun 1999 21:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA42320; Fri, 11 Jun 1999 21:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from shell2.ba.best.com (shell2.ba.best.com [206.184.139.133]) by hub.freebsd.org (Postfix) with ESMTP id 9EBC91507D for ; Fri, 11 Jun 1999 21:34:17 -0700 (PDT) (envelope-from asaddi@shell2.ba.best.com) Received: (from asaddi@localhost) by shell2.ba.best.com (8.9.3/8.9.2/best.sh) id VAA02996; Fri, 11 Jun 1999 21:33:34 -0700 (PDT) Message-Id: <199906120433.VAA02996@shell2.ba.best.com> Date: Fri, 11 Jun 1999 21:33:34 -0700 (PDT) From: asaddi@philosophysw.com To: FreeBSD-gnats-submit@freebsd.org Subject: i386/12147: Linux emulator fcntl ignores args (patch included) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12147 >Category: i386 >Synopsis: Linux emulator fcntl ignores args >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 Jun 11 21:40:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Allan Saddi >Release: FreeBSD 3.2-STABLE i386 >Organization: Philosophy SoftWorks >Environment: FreeBSD 3.2-STABLE #43: Wed May 19 21:50:31 PDT 1999 >Description: The Linux emulator's fcntl syscall ignores args for commands that shouldn't have them ignored: F_DUPFD and F_SETFD. As a result, whenever fcntl w/ the command of F_DUPFD is called, the descriptor copied is always descriptor 0. Also, fcntl w/ F_SETFD can't ever set a descriptor's close-on-exec flag. The bug was found while installing/running Scriptics' TclPro. Because descriptors failed to actually close-on-exec (i.e. pipe descriptors), closing a dup'ed copy of the descriptor did not actually close the file/ pipe. Thus, an EOF cannot be sent between the parent/child through the pipe, causing both to hang. (The child closes the pipe, thinking it's actually closed, while the parent waits, read'ing from a pipe that the child will never write to again.) >How-To-Repeat: Attempt to install Scriptics' TclPro (www.scriptics.com). Installation will hang while unzipping. >Fix: --- sys/i386/linux/linux_file.c.orig Sun Jan 10 15:15:35 1999 +++ sys/i386/linux/linux_file.c Fri Jun 11 19:19:17 1999 @@ -219,6 +219,7 @@ switch (args->cmd) { case LINUX_F_DUPFD: fcntl_args.cmd = F_DUPFD; + fcntl_args.arg = args->arg; return fcntl(p, &fcntl_args); case LINUX_F_GETFD: @@ -227,6 +228,7 @@ case LINUX_F_SETFD: fcntl_args.cmd = F_SETFD; + fcntl_args.arg = args->arg; return fcntl(p, &fcntl_args); case LINUX_F_GETFL: >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 Jun 12 2:57:52 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 57C8F14E9A; Sat, 12 Jun 1999 02:57:51 -0700 (PDT) (envelope-from sos@FreeBSD.org) Received: (from sos@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA64564; Sat, 12 Jun 1999 02:57:51 -0700 (PDT) (envelope-from sos@FreeBSD.org) Date: Sat, 12 Jun 1999 02:57:51 -0700 (PDT) From: Message-Id: <199906120957.CAA64564@freefall.freebsd.org> To: sos@FreeBSD.org, freebsd-bugs@FreeBSD.org, sos@FreeBSD.org Subject: Re: i386/12147: Linux emulator fcntl ignores args Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Linux emulator fcntl ignores args Responsible-Changed-From-To: freebsd-bugs->sos Responsible-Changed-By: sos Responsible-Changed-When: Sat Jun 12 02:57:08 PDT 1999 Responsible-Changed-Why: I'm the linuxulator guy.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Jun 12 13: 0:21 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EAC1915270 for ; Sat, 12 Jun 1999 13:00:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA34153; Sat, 12 Jun 1999 13:00:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14]) by hub.freebsd.org (Postfix) with ESMTP id 74F20150FB for ; Sat, 12 Jun 1999 12:50:15 -0700 (PDT) (envelope-from dm@home.dinoex.sub.org) Received: (from uucp@localhost) by mail.dinoex.sub.org (8.9.3/8.9.3) with UUCP id VAA17258 for FreeBSD-gnats-submit@freebsd.org; Sat, 12 Jun 1999 21:50:22 +0200 (CEST) Received: from home.dinoex.sub.org (uucp@localhost) by net2.dinoex.sub.org (8.9.3/8.9.3) with UUCP id VAA23812 for freebsd.org!FreeBSD-gnats-submit; Sat, 12 Jun 1999 21:51:31 +0200 (CEST) Received: (from dm@localhost) by home.dinoex.sub.org (8.9.3/8.9.3) id VAA83110; Sat, 12 Jun 1999 21:41:55 +0200 (CEST) Message-Id: <199906121941.VAA83110@home.dinoex.sub.org> Date: Sat, 12 Jun 1999 21:41:55 +0200 (CEST) From: dinoex.sub.org!dirk.meyer@home.dinoex.sub.org Reply-To: dinoex.sub.org!dirk.meyer@home.dinoex.sub.org To: freebsd.org!FreeBSD-gnats-submit@home.dinoex.sub.org X-Send-Pr-Version: 3.2 Subject: gnu/12175: gdb crashes with pids > 32736 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12175 >Category: gnu >Synopsis: gdb crashes with pids > 32736 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 12 13:00:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 3.2-RELEASE i386 >Organization: privat >Environment: FreeBSD 3.2-RELEASE i386 Machine: i386 OS: freebsd3.2 Compiler: cc (gcc) new pid > 32767, crashed program with pid > 32767 >Description: start "gdb /usr/local/bin/bash bash.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"... (no debugging symbols found)... Core was generated by `bash'. Program terminated with signal 11, Segmentation fault. Segmentation fault (core dumped) >How-To-Repeat: new pid > 32767, crashed porgramm with pid > 32767 >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 Jun 12 13:10: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id ACE9714C49 for ; Sat, 12 Jun 1999 13:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA34871; Sat, 12 Jun 1999 13:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from ints.ru (ints.ru [194.67.173.1]) by hub.freebsd.org (Postfix) with ESMTP id F299F152AA for ; Sat, 12 Jun 1999 12:59:55 -0700 (PDT) (envelope-from ilmar@ws-ilmar.ints.ru) Received: from ws-ilmar.ints.ru (ws-ilmar.ints.ru [194.67.173.16]) by ints.ru (8.9.2/8.9.2) with ESMTP id XAA03245 for ; Sat, 12 Jun 1999 23:59:54 +0400 (MSD) Received: (from ilmar@localhost) by ws-ilmar.ints.ru (8.9.2/8.9.1) id XAA16375; Sat, 12 Jun 1999 23:59:52 +0400 (MSD) Message-Id: <199906121959.XAA16375@ws-ilmar.ints.ru> Date: Sat, 12 Jun 1999 23:59:52 +0400 (MSD) From: ilmar@ints.ru Reply-To: ilmar@ints.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/12176: tekram390 (amd based) scsi cam driver Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12176 >Category: kern >Synopsis: tekram scsi controller new cam driver >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 Jun 12 13:10:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Ilmar S. Habibulin >Release: FreeBSD 3.1-RELEASE i386 >Organization: INTS (http://www.ints.ru) >Environment: Two pentium 200 MMX machines with 32 and 64 MB of RAM, 2 and 3.2 Gb HDD, Fujitsu MO drive 640 Mb at Tekram 390 scsi cards. Freebsd 3.1 modified to support tekram. >Description: Release notes says that tekram 390 is unsupported. That is wrong. There is driver for new scsi cam subsytem for tekram 39 card (amd based) ftp://ftp.tekram.com/SCSI/FREEBSD/pm300.zip >How-To-Repeat: ? >Fix: Include new driver in kernel. >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 Jun 12 22: 0: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A3D66150B0 for ; Sat, 12 Jun 1999 22:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA78086; Sat, 12 Jun 1999 22:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sat, 12 Jun 1999 22:00:02 -0700 (PDT) Message-Id: <199906130500.WAA78086@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Gilbert Subject: Re: kern/10535: Very poor ethernet performance with tx driver Reply-To: David Gilbert Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/10535; it has been noted by GNATS. From: David Gilbert To: Ustimenko Semen Cc: David Gilbert , freebsd-gnats-submit@freebsd.org Subject: Re: kern/10535: Very poor ethernet performance with tx driver Date: Sun, 13 Jun 1999 00:57:30 -0400 (EDT) OK... I've cvsup'd, and commented out #define EARLY_RX 1 against 3.2-STABLE. This appears to make the problem dissappear, but I have found a new quirk. I've been playing with skip, and all packets coming out of a host with a tx0 card look like the following to a tcpdump: 00:49:19.010107 truncated-ip - 120 bytes missing!sabre.velocet.net > strike.velocet.ca: ip-proto-57 184 ... and that means that the receiver is obviously not going to like them :). Can you think of anything that would cause this --- or should I just go out and buy new ethernet cards :). Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Jun 12 22:28:48 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2BC6C14DE9; Sat, 12 Jun 1999 22:28:47 -0700 (PDT) (envelope-from alc@FreeBSD.org) Received: (from alc@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA79418; Sat, 12 Jun 1999 22:28:47 -0700 (PDT) (envelope-from alc@FreeBSD.org) Date: Sat, 12 Jun 1999 22:28:47 -0700 (PDT) From: Message-Id: <199906130528.WAA79418@freefall.freebsd.org> To: klmac@baldcom.net, alc@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/9282: 2nd IDE controller on Ali chipset motherboards not working Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: 2nd IDE controller on Ali chipset motherboards not working State-Changed-From-To: open->closed State-Changed-By: alc State-Changed-When: Sat Jun 12 22:24:02 PDT 1999 State-Changed-Why: This problem was fixed by rev 1.185/1.186 of i386/isa/wd.c. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Jun 12 22:47:33 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id F0B4814CC7; Sat, 12 Jun 1999 22:47:31 -0700 (PDT) (envelope-from ken@FreeBSD.org) Received: (from ken@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA80425; Sat, 12 Jun 1999 22:47:31 -0700 (PDT) (envelope-from ken@FreeBSD.org) Date: Sat, 12 Jun 1999 22:47:31 -0700 (PDT) From: Message-Id: <199906130547.WAA80425@freefall.freebsd.org> To: ilmar@ints.ru, ken@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/12176: tekram scsi controller new cam driver Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: tekram scsi controller new cam driver State-Changed-From-To: open->closed State-Changed-By: ken State-Changed-When: Sat Jun 12 22:46:27 PDT 1999 State-Changed-Why: An updated version of Tekram's AMD driver is now in -current and should be merged into stable eventually. Thanks for your report. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message