From owner-freebsd-bugs Sun Jun 8 06:10:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA12320 for bugs-outgoing; Sun, 8 Jun 1997 06:10:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA12313; Sun, 8 Jun 1997 06:10:02 -0700 (PDT) Resent-Date: Sun, 8 Jun 1997 06:10:02 -0700 (PDT) Resent-Message-Id: <199706081310.GAA12313@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, asami@FreeBSD.ORG Received: from leia.cs.berkeley.edu (leia.CS.Berkeley.EDU [128.32.38.230]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA12194 for ; Sun, 8 Jun 1997 06:06:25 -0700 (PDT) Received: (from asami2@localhost) by leia.cs.berkeley.edu (8.8.5/8.8.2) id GAA28920; Sun, 8 Jun 1997 06:06:24 -0700 (PDT) Message-Id: <199706081306.GAA28920@leia.cs.berkeley.edu> Date: Sun, 8 Jun 1997 06:06:24 -0700 (PDT) From: asami@FreeBSD.ORG Reply-To: asami@FreeBSD.ORG To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: gnu/3810: cvs can't handle multiple multiple-path directories correctly Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3810 >Category: gnu >Synopsis: cvs can't handle multiple multiple-path directories correctly >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 8 06:10:00 PDT 1997 >Last-Modified: >Originator: Satoshi Asami >Organization: The FreeBSD Ports Team >Release: FreeBSD 3.0-CURRENT i386 >Environment: make world with the latest cvs update. This bug has been there before. >Description: cvs mangles directory names when you (1) specify more than one directory, and (2) the first one has more than one path. >How-To-Repeat: >Fix: Not known. >Audit-Trail: >Unformatted: >> cd /usr/ports/editors (edit emacs/Makefile and jed/Makefile) >> cvs diff -u emacs jed 2>/dev/null | grep Index Index: emacs/patches/patch-aa Index: jed/Makefile (correct) >> cd .. >> cvs diff -u editors/emacs editors/jed 2>/dev/null | grep Index Index: editors/emacs/patches/patch-aa Index: editors/editors/jed/Makefile ^^^^^^^^^^^^^^^ You can see similar symptoms if you do "cd /usr/ports; cvs update editors/emacs editors/jed" or "cvs commit editors/emacs editors/jed"). However, "cvs diff" is the only one that is truly annoying because it confuses the hell out of "patch". From owner-freebsd-bugs Sun Jun 8 06:42:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA13036 for bugs-outgoing; Sun, 8 Jun 1997 06:42:53 -0700 (PDT) Received: from odb.rhein-main.de (odb.rhein-main.de [195.37.8.4]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id GAA13020; Sun, 8 Jun 1997 06:42:21 -0700 (PDT) Received: from panda.rhein-main.de by odb.rhein-main.de with esmtp (Smail3.2 #2) id m0waiE0-0007SwC; Sun, 8 Jun 1997 15:41:40 +0200 (MET DST) Received: (from dk@localhost) by panda.rhein-main.de (8.8.5/8.8.3) id PAA00289; Sun, 8 Jun 1997 15:09:17 +0200 (CEST) Date: Sun, 8 Jun 1997 15:09:17 +0200 (CEST) Message-Id: <199706081309.PAA00289@panda.rhein-main.de> From: Dirk Keunecke To: FreeBSD-gnats@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/3571: Mounted ext2 prevents umount of filesystems during reboot In-Reply-To: <199705100000.RAA06827@hub.freebsd.org> References: <199705092350.BAA01601@panda.rhein-main.de> <199705100000.RAA06827@hub.freebsd.org> Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk [The following is related to the problem report 'kern/3571'] Hello, The 'ext2fs' stores group descriptors, inode and block bitmaps in buffers which it "reserves" by not brelse'ing them after the data is read in. The buffer is kept 'B_BUSY' until they are released at unmount time (this is not 100% accurate, some buffers may be released at other times). If one reboots the system, 'boot()' (in kern_shutdown.c') syncs and then waits for these buffers to become unbusy. This will never happen because they are brelse'ed in 'ext2_unmount()', which is called by 'boot()' only if all buffers of all filesystems have been successfully synced (as indicated by the non-busy state of all buffers). The 'B_LOCKED' flag also seems to prevent an buffer from being reused, but without keeping the buffer busy. I've made some minor changes to 'ext2' to use 'B_LOCKED' instead of 'B_BUSY' to reserve the buffers for 'ext2'. It seems to solve 'kern/3571'. If anybody cares enough, please review these changes. Comments, suggestions, corrections are welcome. Disclaimer: I am no filesystem-, kernel- or whatever kind of a guru, just someone who wants to learn something about the FreeBSD kernel. No warranty. Regards, Dirk [The following patch was created against CURRENT as of May 30] *** /sys/gnu/ext2fs/ext2_linux_balloc.c Tue Apr 1 22:31:32 1997 --- ext2_linux_balloc.c Sun Jun 1 16:44:13 1997 *************** *** 70,75 **** --- 70,76 ---- block_group, (unsigned long) gdp->bg_block_bitmap); sb->s_block_bitmap_number[bitmap_nr] = block_group; sb->s_block_bitmap[bitmap_nr] = bh; + LCK_BUF(bh) } /* *************** *** 130,136 **** if (sb->s_loaded_block_bitmaps < EXT2_MAX_GROUP_LOADED) sb->s_loaded_block_bitmaps++; else ! brelse (sb->s_block_bitmap[EXT2_MAX_GROUP_LOADED - 1]); for (j = sb->s_loaded_block_bitmaps - 1; j > 0; j--) { sb->s_block_bitmap_number[j] = sb->s_block_bitmap_number[j - 1]; --- 131,138 ---- if (sb->s_loaded_block_bitmaps < EXT2_MAX_GROUP_LOADED) sb->s_loaded_block_bitmaps++; else ! ULCK_BUF(sb->s_block_bitmap[EXT2_MAX_GROUP_LOADED - 1]) ! for (j = sb->s_loaded_block_bitmaps - 1; j > 0; j--) { sb->s_block_bitmap_number[j] = sb->s_block_bitmap_number[j - 1]; *** /sys/gnu/ext2fs/ext2_linux_ialloc.c Tue Apr 1 22:31:33 1997 --- ext2_linux_ialloc.c Sun Jun 1 16:42:27 1997 *************** *** 121,126 **** --- 121,127 ---- block_group, (unsigned long) gdp->bg_inode_bitmap); sb->s_inode_bitmap_number[bitmap_nr] = block_group; sb->s_inode_bitmap[bitmap_nr] = bh; + LCK_BUF(bh) } /* *************** *** 184,190 **** if (sb->s_loaded_inode_bitmaps < EXT2_MAX_GROUP_LOADED) sb->s_loaded_inode_bitmaps++; else ! brelse (sb->s_inode_bitmap[EXT2_MAX_GROUP_LOADED - 1]); for (j = sb->s_loaded_inode_bitmaps - 1; j > 0; j--) { sb->s_inode_bitmap_number[j] = sb->s_inode_bitmap_number[j - 1]; --- 185,191 ---- if (sb->s_loaded_inode_bitmaps < EXT2_MAX_GROUP_LOADED) sb->s_loaded_inode_bitmaps++; else ! ULCK_BUF(sb->s_inode_bitmap[EXT2_MAX_GROUP_LOADED - 1]) for (j = sb->s_loaded_inode_bitmaps - 1; j > 0; j--) { sb->s_inode_bitmap_number[j] = sb->s_inode_bitmap_number[j - 1]; *** /sys/gnu/ext2fs/ext2_vfsops.c Mon Mar 24 23:35:55 1997 --- ext2_vfsops.c Sun Jun 1 17:28:38 1997 *************** *** 415,424 **** printf("EXT2-fs: unable to read group descriptors (%d)\n", error); return EIO; } } if(!ext2_check_descriptors(fs)) { for (j = 0; j < db_count; j++) ! brelse(fs->s_group_desc[j]); bsd_free(fs->s_group_desc, M_UFSMNT); printf("EXT2-fs: (ext2_check_descriptors failure) " "unable to read group descriptors\n"); --- 415,426 ---- printf("EXT2-fs: unable to read group descriptors (%d)\n", error); return EIO; } + /* Set the B_LOCKED flag on the buffer, then brelse() it */ + LCK_BUF(fs->s_group_desc[i]) } if(!ext2_check_descriptors(fs)) { for (j = 0; j < db_count; j++) ! ULCK_BUF(fs->s_group_desc[j]) bsd_free(fs->s_group_desc, M_UFSMNT); printf("EXT2-fs: (ext2_check_descriptors failure) " "unable to read group descriptors\n"); *************** *** 694,709 **** fs->s_es->s_state |= EXT2_VALID_FS; /* was fs_clean = 1 */ ext2_sbupdate(ump, MNT_WAIT); } /* release buffers containing group descriptors */ for(i = 0; i < fs->s_db_per_group; i++) ! brelse(fs->s_group_desc[i]); /* release cached inode/block bitmaps */ for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) if (fs->s_inode_bitmap[i]) ! brelse (fs->s_inode_bitmap[i]); for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) if (fs->s_block_bitmap[i]) ! brelse (fs->s_block_bitmap[i]); ump->um_devvp->v_specflags &= ~SI_MOUNTEDON; error = VOP_CLOSE(ump->um_devvp, ronly ? FREAD : FREAD|FWRITE, --- 696,714 ---- fs->s_es->s_state |= EXT2_VALID_FS; /* was fs_clean = 1 */ ext2_sbupdate(ump, MNT_WAIT); } + /* release buffers containing group descriptors */ for(i = 0; i < fs->s_db_per_group; i++) ! ULCK_BUF(fs->s_group_desc[i]) ! /* release cached inode/block bitmaps */ for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) if (fs->s_inode_bitmap[i]) ! ULCK_BUF(fs->s_inode_bitmap[i]) ! for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) if (fs->s_block_bitmap[i]) ! ULCK_BUF(fs->s_block_bitmap[i]) ump->um_devvp->v_specflags &= ~SI_MOUNTEDON; error = VOP_CLOSE(ump->um_devvp, ronly ? FREAD : FREAD|FWRITE, *************** *** 1109,1128 **** else bawrite(bp); ! /* write group descriptors back on disk */ ! for(i = 0; i < fs->s_db_per_group; i++) ! /* Godmar thinks: we must avoid using any of the b*write ! * functions here: we want to keep the buffer locked ! * so we use my 'housemade' write routine: */ - error |= ll_w_block(fs->s_group_desc[i], waitfor == MNT_WAIT); - - for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) - if (fs->s_inode_bitmap[i]) - ll_w_block (fs->s_inode_bitmap[i], 1); - for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) - if (fs->s_block_bitmap[i]) - ll_w_block (fs->s_block_bitmap[i], 1); return (error); } --- 1115,1125 ---- else bawrite(bp); ! /* ! * The buffers for group descriptors, inode bitmaps and block bitmaps ! * are not busy at this point and are (hopefully) written by the ! * usual sync mechanism. No need to write them here */ return (error); } *** /sys/gnu/ext2fs/fs.h Mon Feb 10 04:19:21 1997 --- fs.h Sun Jun 1 16:40:19 1997 *************** *** 155,157 **** --- 155,177 ---- #define lock_super(devvp) vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, curproc) #define unlock_super(devvp) VOP_UNLOCK(devvp, 0, curproc) + /* + * To lock a buffer, set the B_LOCKED flag and then brelse() it. To unlock, + * reset the B_LOCKED flag and brelse() the buffer back on the LRU list + */ + #define LCK_BUF(bp) { \ + int s; \ + s = splbio(); \ + (bp)->b_flags |= B_LOCKED; \ + splx(s); \ + brelse(bp); \ + } + + #define ULCK_BUF(bp) { \ + int s; \ + s = splbio(); \ + (bp)->b_flags &= ~B_LOCKED; \ + splx(s); \ + bremfree(bp); \ + brelse(bp); \ + } From owner-freebsd-bugs Sun Jun 8 07:30:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA14431 for bugs-outgoing; Sun, 8 Jun 1997 07:30:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA14425; Sun, 8 Jun 1997 07:30:04 -0700 (PDT) Resent-Date: Sun, 8 Jun 1997 07:30:04 -0700 (PDT) Resent-Message-Id: <199706081430.HAA14425@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, ivt@crocus.gamma.ru Received: from crocus.gamma.ru (crocus.gamma.ru [193.124.255.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA14337 for ; Sun, 8 Jun 1997 07:27:27 -0700 (PDT) Received: (from ivt@localhost) by crocus.gamma.ru (8.8.5/8.7.3) id SAA05800; Sun, 8 Jun 1997 18:27:08 +0400 (MSD) Message-Id: <199706081427.SAA05800@crocus.gamma.ru> Date: Sun, 8 Jun 1997 18:27:08 +0400 (MSD) From: Igor Timkin Reply-To: ivt@crocus.gamma.ru To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3811: ndc's bug Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3811 >Category: bin >Synopsis: ndc's bug >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 8 07:30:01 PDT 1997 >Last-Modified: >Originator: Igor Timkin >Organization: Gamma Ltd., Moscow, Russia >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: 2.2.2-RELEASE, bind-4.9.4 >Description: ndc (from named distibute) use /etc/sysconfig instead of /etc/rc.conf >How-To-Repeat: named.restart: Jun 8 17:56:36 crocus named[5158]: /etc/named.boot: No such file or directory >Fix: *** /usr/src/usr.sbin/ndc/ndcedit.awk.old Tue Nov 12 12:11:33 1996 --- /usr/src/usr.sbin/ndc/ndcedit.awk Sun Jun 8 18:11:37 1997 *************** *** 7,21 **** print "" print "# If there is a global system configuration file, suck it in." ! print "if [ -f /etc/sysconfig ]; then" ! print "\t. /etc/sysconfig" print "fi\n" } { if ($1 == "named") { ! printf "\t\t# $namedflags is imported from /etc/sysconfig\n" ! printf "\t\tif [ \"X${namedflags}\" != \"XNO\" ]; then\n" ! printf "\t\t\tnamed ${namedflags} && {\n" getline printf "\t%s\n", $0 getline --- 7,21 ---- print "" print "# If there is a global system configuration file, suck it in." ! print "if [ -f /etc/rc.conf ]; then" ! print "\t. /etc/rc.conf" print "fi\n" } { if ($1 == "named") { ! printf "\t\t# $named_enable and $named_flags are imported from /etc/sysconfig\n" ! printf "\t\tif [ \"X${named_enable}\" != \"XNO\" ]; then\n" ! printf "\t\t\tnamed ${named_flags} && {\n" getline printf "\t%s\n", $0 getline >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Jun 8 08:20:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA16354 for bugs-outgoing; Sun, 8 Jun 1997 08:20:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA16332; Sun, 8 Jun 1997 08:20:01 -0700 (PDT) Resent-Date: Sun, 8 Jun 1997 08:20:01 -0700 (PDT) Resent-Message-Id: <199706081520.IAA16332@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, simokawa@sat.t.u-tokyo.ac.jp Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA16274 for ; Sun, 8 Jun 1997 08:19:45 -0700 (PDT) Received: from uno.sat.t.u-tokyo.ac.jp (uno.sat.t.u-tokyo.ac.jp [133.11.70.160]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id IAA21627 for ; Sun, 8 Jun 1997 08:19:42 -0700 (PDT) Received: by uno.sat.t.u-tokyo.ac.jp (8.8.5/8.7.3) id AAA14872; Mon, 9 Jun 1997 00:19:25 +0900 (JST) Message-Id: <199706081519.AAA14872@uno.sat.t.u-tokyo.ac.jp> Date: Mon, 9 Jun 1997 00:19:25 +0900 (JST) From: Hidetoshi Shimokawa Reply-To: simokawa@sat.t.u-tokyo.ac.jp To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/3812: porting.sgml has some typo Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3812 >Category: docs >Synopsis: porting.sgml has some typo >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 8 08:20:00 PDT 1997 >Last-Modified: >Originator: Hidetoshi Shimokawa >Organization: University of Tokyo. >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD Handbook porting.sgml revison 1.71 >Description: I found this while updating Japanese version. >How-To-Repeat: NA >Fix: Index: porting.sgml =================================================================== RCS file: /pub/FreeBSD-CVS/doc/handbook/porting.sgml,v retrieving revision 1.71 diff -u -r1.71 porting.sgml --- porting.sgml 1997/05/23 08:19:19 1.71 +++ porting.sgml 1997/06/08 09:29:02 @@ -265,7 +265,7 @@ is also called the `packing list' because the package is generated by packing the files listed here. The pathnames are relative to the installation prefix (usually - /usr/local or /usr/X11R6) Also it is assumed + /usr/local or /usr/X11R6). Also it is assumed the manpages will be compressed.

Here is a small example: @@ -954,14 +954,15 @@ work subdirectory, `make clean' will nuke it completely! If you need auxiliary files that are not scripts or patches, put them in the - ${FILESDIR} subdirectory (files/ by default) + ${FILESDIR} subdirectory (files by default) and use the post-extract target to copy them to the work subdirectory. Package information -

Do include package information, i.e. COMMENT, DESCR, and PLIST, in +

Do include package information, i.e. COMMENT, + DESCR, and PLIST, in pkg. Note that these files are not used only for packaging anymore, and are mandatory now, even if ${NO_PACKAGE} is set. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Jun 8 08:50:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA17310 for bugs-outgoing; Sun, 8 Jun 1997 08:50:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA17304; Sun, 8 Jun 1997 08:50:02 -0700 (PDT) Resent-Date: Sun, 8 Jun 1997 08:50:02 -0700 (PDT) Resent-Message-Id: <199706081550.IAA17304@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, canuck@caam.rice.edu Received: (from nobody@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA16953; Sun, 8 Jun 1997 08:40:15 -0700 (PDT) Message-Id: <199706081540.IAA16953@hub.freebsd.org> Date: Sun, 8 Jun 1997 08:40:15 -0700 (PDT) From: canuck@caam.rice.edu To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/3813: make world on 2.2-STABLE dies when trying to create /usr/include/ufs/ffs Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3813 >Category: bin >Synopsis: make world on 2.2-STABLE dies when trying to create /usr/include/ufs/ffs >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 8 08:50:01 PDT 1997 >Last-Modified: >Originator: Michael Pearlman >Organization: CAAM Dept., Rice Univeristy >Release: 2.2-STABLE >Environment: FreeBSD gauss.stat.rice.edu 2.2-STABLE FreeBSD 2.2-STABLE #0: Wed Jun 4 09:58:01 CDT 1997 root@gauss.stat.rice.edu:/usr/src/sys/compile/GAUSS i386 >Description: The file /usr/include/Makefile # From: @(#)Makefile 8.2 (Berkeley) 1/4/94 # $Id: Makefile,v 1.45.2.1 1997/06/05 21:23:49 jkh Exp $ is broken it tries to create /usr/include/ufs/ffs without first creating /usr/include/ufs >How-To-Repeat: just do make world >Fix: Here is context diff between the broken Makefile and a corrected one. Note once someone does a "make world" the /usr/include structure needs to be restored to allow a make world with the corrected Makefile to work. The quick fix is cp /usr/src/sys/sys/*.h /usr/include/sys cp /usr/src/sys/i386/include/*.h /usr/include/machine Now patch the Makefile and do a "make world" diff -c Makefile.broken Makefile *** Makefile.broken Sun Jun 8 10:30:56 1997 --- Makefile Sun Jun 8 10:32:25 1997 *************** *** 86,92 **** rm -f ${DESTDIR}/usr/include/$i; \ fi .endfor ! .for i in ${LDIRS} ${UDIRS} ${LUDIR} machine if [ ! -d ${DESTDIR}/usr/include/$i ]; then \ mkdir ${DESTDIR}/usr/include/$i; \ chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$i; \ --- 86,92 ---- rm -f ${DESTDIR}/usr/include/$i; \ fi .endfor ! .for i in ${LDIRS} ${LUDIR} ${UDIRS} machine if [ ! -d ${DESTDIR}/usr/include/$i ]; then \ mkdir ${DESTDIR}/usr/include/$i; \ chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$i; \ >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Jun 8 09:46:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA22450 for bugs-outgoing; Sun, 8 Jun 1997 09:46:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA22379; Sun, 8 Jun 1997 09:45:50 -0700 (PDT) From: Masafumi NAKANE Received: (from max@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA04095; Sun, 8 Jun 1997 09:45:47 -0700 (PDT) Date: Sun, 8 Jun 1997 09:45:47 -0700 (PDT) Message-Id: <199706081645.JAA04095@freefall.freebsd.org> To: simokawa@sat.t.u-tokyo.ac.jp, max@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: docs/3812 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: porting.sgml has some typo State-Changed-From-To: open-closed State-Changed-By: max State-Changed-When: Sun Jun 8 09:45:13 PDT 1997 State-Changed-Why: Submitted fix is applied. From owner-freebsd-bugs Sun Jun 8 14:20:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA18255 for bugs-outgoing; Sun, 8 Jun 1997 14:20:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA18225; Sun, 8 Jun 1997 14:20:01 -0700 (PDT) Date: Sun, 8 Jun 1997 14:20:01 -0700 (PDT) Message-Id: <199706082120.OAA18225@hub.freebsd.org> To: freebsd-bugs Cc: From: Dirk Keunecke Subject: Re: kern/3571: Mounted ext2 prevents umount of filesystems during reboot Reply-To: Dirk Keunecke Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/3571; it has been noted by GNATS. From: Dirk Keunecke To: FreeBSD-gnats@freebsd.org, freebsd-bugs@freebsd.org Cc: Subject: Re: kern/3571: Mounted ext2 prevents umount of filesystems during reboot Date: Sun, 8 Jun 1997 15:09:17 +0200 (CEST) [The following is related to the problem report 'kern/3571'] Hello, The 'ext2fs' stores group descriptors, inode and block bitmaps in buffers which it "reserves" by not brelse'ing them after the data is read in. The buffer is kept 'B_BUSY' until they are released at unmount time (this is not 100% accurate, some buffers may be released at other times). If one reboots the system, 'boot()' (in kern_shutdown.c') syncs and then waits for these buffers to become unbusy. This will never happen because they are brelse'ed in 'ext2_unmount()', which is called by 'boot()' only if all buffers of all filesystems have been successfully synced (as indicated by the non-busy state of all buffers). The 'B_LOCKED' flag also seems to prevent an buffer from being reused, but without keeping the buffer busy. I've made some minor changes to 'ext2' to use 'B_LOCKED' instead of 'B_BUSY' to reserve the buffers for 'ext2'. It seems to solve 'kern/3571'. If anybody cares enough, please review these changes. Comments, suggestions, corrections are welcome. Disclaimer: I am no filesystem-, kernel- or whatever kind of a guru, just someone who wants to learn something about the FreeBSD kernel. No warranty. Regards, Dirk [The following patch was created against CURRENT as of May 30] *** /sys/gnu/ext2fs/ext2_linux_balloc.c Tue Apr 1 22:31:32 1997 --- ext2_linux_balloc.c Sun Jun 1 16:44:13 1997 *************** *** 70,75 **** --- 70,76 ---- block_group, (unsigned long) gdp->bg_block_bitmap); sb->s_block_bitmap_number[bitmap_nr] = block_group; sb->s_block_bitmap[bitmap_nr] = bh; + LCK_BUF(bh) } /* *************** *** 130,136 **** if (sb->s_loaded_block_bitmaps < EXT2_MAX_GROUP_LOADED) sb->s_loaded_block_bitmaps++; else ! brelse (sb->s_block_bitmap[EXT2_MAX_GROUP_LOADED - 1]); for (j = sb->s_loaded_block_bitmaps - 1; j > 0; j--) { sb->s_block_bitmap_number[j] = sb->s_block_bitmap_number[j - 1]; --- 131,138 ---- if (sb->s_loaded_block_bitmaps < EXT2_MAX_GROUP_LOADED) sb->s_loaded_block_bitmaps++; else ! ULCK_BUF(sb->s_block_bitmap[EXT2_MAX_GROUP_LOADED - 1]) ! for (j = sb->s_loaded_block_bitmaps - 1; j > 0; j--) { sb->s_block_bitmap_number[j] = sb->s_block_bitmap_number[j - 1]; *** /sys/gnu/ext2fs/ext2_linux_ialloc.c Tue Apr 1 22:31:33 1997 --- ext2_linux_ialloc.c Sun Jun 1 16:42:27 1997 *************** *** 121,126 **** --- 121,127 ---- block_group, (unsigned long) gdp->bg_inode_bitmap); sb->s_inode_bitmap_number[bitmap_nr] = block_group; sb->s_inode_bitmap[bitmap_nr] = bh; + LCK_BUF(bh) } /* *************** *** 184,190 **** if (sb->s_loaded_inode_bitmaps < EXT2_MAX_GROUP_LOADED) sb->s_loaded_inode_bitmaps++; else ! brelse (sb->s_inode_bitmap[EXT2_MAX_GROUP_LOADED - 1]); for (j = sb->s_loaded_inode_bitmaps - 1; j > 0; j--) { sb->s_inode_bitmap_number[j] = sb->s_inode_bitmap_number[j - 1]; --- 185,191 ---- if (sb->s_loaded_inode_bitmaps < EXT2_MAX_GROUP_LOADED) sb->s_loaded_inode_bitmaps++; else ! ULCK_BUF(sb->s_inode_bitmap[EXT2_MAX_GROUP_LOADED - 1]) for (j = sb->s_loaded_inode_bitmaps - 1; j > 0; j--) { sb->s_inode_bitmap_number[j] = sb->s_inode_bitmap_number[j - 1]; *** /sys/gnu/ext2fs/ext2_vfsops.c Mon Mar 24 23:35:55 1997 --- ext2_vfsops.c Sun Jun 1 17:28:38 1997 *************** *** 415,424 **** printf("EXT2-fs: unable to read group descriptors (%d)\n", error); return EIO; } } if(!ext2_check_descriptors(fs)) { for (j = 0; j < db_count; j++) ! brelse(fs->s_group_desc[j]); bsd_free(fs->s_group_desc, M_UFSMNT); printf("EXT2-fs: (ext2_check_descriptors failure) " "unable to read group descriptors\n"); --- 415,426 ---- printf("EXT2-fs: unable to read group descriptors (%d)\n", error); return EIO; } + /* Set the B_LOCKED flag on the buffer, then brelse() it */ + LCK_BUF(fs->s_group_desc[i]) } if(!ext2_check_descriptors(fs)) { for (j = 0; j < db_count; j++) ! ULCK_BUF(fs->s_group_desc[j]) bsd_free(fs->s_group_desc, M_UFSMNT); printf("EXT2-fs: (ext2_check_descriptors failure) " "unable to read group descriptors\n"); *************** *** 694,709 **** fs->s_es->s_state |= EXT2_VALID_FS; /* was fs_clean = 1 */ ext2_sbupdate(ump, MNT_WAIT); } /* release buffers containing group descriptors */ for(i = 0; i < fs->s_db_per_group; i++) ! brelse(fs->s_group_desc[i]); /* release cached inode/block bitmaps */ for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) if (fs->s_inode_bitmap[i]) ! brelse (fs->s_inode_bitmap[i]); for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) if (fs->s_block_bitmap[i]) ! brelse (fs->s_block_bitmap[i]); ump->um_devvp->v_specflags &= ~SI_MOUNTEDON; error = VOP_CLOSE(ump->um_devvp, ronly ? FREAD : FREAD|FWRITE, --- 696,714 ---- fs->s_es->s_state |= EXT2_VALID_FS; /* was fs_clean = 1 */ ext2_sbupdate(ump, MNT_WAIT); } + /* release buffers containing group descriptors */ for(i = 0; i < fs->s_db_per_group; i++) ! ULCK_BUF(fs->s_group_desc[i]) ! /* release cached inode/block bitmaps */ for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) if (fs->s_inode_bitmap[i]) ! ULCK_BUF(fs->s_inode_bitmap[i]) ! for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) if (fs->s_block_bitmap[i]) ! ULCK_BUF(fs->s_block_bitmap[i]) ump->um_devvp->v_specflags &= ~SI_MOUNTEDON; error = VOP_CLOSE(ump->um_devvp, ronly ? FREAD : FREAD|FWRITE, *************** *** 1109,1128 **** else bawrite(bp); ! /* write group descriptors back on disk */ ! for(i = 0; i < fs->s_db_per_group; i++) ! /* Godmar thinks: we must avoid using any of the b*write ! * functions here: we want to keep the buffer locked ! * so we use my 'housemade' write routine: */ - error |= ll_w_block(fs->s_group_desc[i], waitfor == MNT_WAIT); - - for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) - if (fs->s_inode_bitmap[i]) - ll_w_block (fs->s_inode_bitmap[i], 1); - for (i = 0; i < EXT2_MAX_GROUP_LOADED; i++) - if (fs->s_block_bitmap[i]) - ll_w_block (fs->s_block_bitmap[i], 1); return (error); } --- 1115,1125 ---- else bawrite(bp); ! /* ! * The buffers for group descriptors, inode bitmaps and block bitmaps ! * are not busy at this point and are (hopefully) written by the ! * usual sync mechanism. No need to write them here */ return (error); } *** /sys/gnu/ext2fs/fs.h Mon Feb 10 04:19:21 1997 --- fs.h Sun Jun 1 16:40:19 1997 *************** *** 155,157 **** --- 155,177 ---- #define lock_super(devvp) vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, curproc) #define unlock_super(devvp) VOP_UNLOCK(devvp, 0, curproc) + /* + * To lock a buffer, set the B_LOCKED flag and then brelse() it. To unlock, + * reset the B_LOCKED flag and brelse() the buffer back on the LRU list + */ + #define LCK_BUF(bp) { \ + int s; \ + s = splbio(); \ + (bp)->b_flags |= B_LOCKED; \ + splx(s); \ + brelse(bp); \ + } + + #define ULCK_BUF(bp) { \ + int s; \ + s = splbio(); \ + (bp)->b_flags &= ~B_LOCKED; \ + splx(s); \ + bremfree(bp); \ + brelse(bp); \ + } From owner-freebsd-bugs Mon Jun 9 03:00:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA14839 for bugs-outgoing; Mon, 9 Jun 1997 03:00:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA14821; Mon, 9 Jun 1997 03:00:01 -0700 (PDT) Resent-Date: Mon, 9 Jun 1997 03:00:01 -0700 (PDT) Resent-Message-Id: <199706091000.DAA14821@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, ada@not-enough.bandwidth.org Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA14513 for ; Mon, 9 Jun 1997 02:50:07 -0700 (PDT) Received: from not-enough.bandwidth.org (slmel9p58.ozemail.com.au [203.7.187.74]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id CAA23753 for ; Mon, 9 Jun 1997 02:50:04 -0700 (PDT) Received: (from ada@localhost) by not-enough.bandwidth.org (8.8.5/8.8.5) id TAA02380; Mon, 9 Jun 1997 19:48:46 +1000 (EST) Message-Id: <199706090948.TAA02380@not-enough.bandwidth.org> Date: Mon, 9 Jun 1997 19:48:46 +1000 (EST) From: Ada T Lim Reply-To: ada@not-enough.bandwidth.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/3817: broken indent manpage Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3817 >Category: docs >Synopsis: broken indent manpage >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 9 03:00:01 PDT 1997 >Last-Modified: >Originator: Ada T Lim >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: >Description: A lot of the default settings on the indent manpage don't accurately reflect the source. for example: -i8 in source, -i4 in manpage. (as default.) >How-To-Repeat: >Fix: Edit the manpage :) >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Jun 9 03:06:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA15002 for bugs-outgoing; Mon, 9 Jun 1997 03:06:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA14993; Mon, 9 Jun 1997 03:06:09 -0700 (PDT) From: "Jordan K. Hubbard" Received: (from jkh@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA08219; Mon, 9 Jun 1997 03:06:00 -0700 (PDT) Date: Mon, 9 Jun 1997 03:06:00 -0700 (PDT) Message-Id: <199706091006.DAA08219@freefall.freebsd.org> To: ivt@crocus.gamma.ru, jkh@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/3811 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: ndc's bug State-Changed-From-To: open-closed State-Changed-By: jkh State-Changed-When: Mon Jun 9 03:05:07 PDT 1997 State-Changed-Why: Already reported by Igor Vinokurov and fixed on May 27. From owner-freebsd-bugs Mon Jun 9 03:27:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA15934 for bugs-outgoing; Mon, 9 Jun 1997 03:27:46 -0700 (PDT) Received: from thorin.hway.ru (flash@thorin.hway.ru [194.87.58.130]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA15929 for ; Mon, 9 Jun 1997 03:27:36 -0700 (PDT) Received: from localhost (flash@localhost) by thorin.hway.ru (8.8.5/8.8.5) with SMTP id OAA23160 for ; Mon, 9 Jun 1997 14:27:20 +0400 (MSD) Date: Mon, 9 Jun 1997 14:27:20 +0400 (MSD) From: "Alexander V. Tischenko" To: freebsd-bugs@FreeBSD.ORG Subject: Re: i386/3776 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Guys, will somebody incorporate the patch into upcoming releases ? It really solves the problem with Intel EtherExpress cards. I tested it with two boards installed. Alexander V. Tischenko ------------------------------------------------------------------------------ Integrated Network Technologies | Tel: +7 095 978-47-37 7, Miusskaya sq., Moscow, 125047 Russia | Fax: +7 095 978-47-37 Internet: flash@hway.ru | NIC: AT55-RIPE From owner-freebsd-bugs Mon Jun 9 03:40:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA16395 for bugs-outgoing; Mon, 9 Jun 1997 03:40:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA16378; Mon, 9 Jun 1997 03:40:01 -0700 (PDT) Date: Mon, 9 Jun 1997 03:40:01 -0700 (PDT) Message-Id: <199706091040.DAA16378@hub.freebsd.org> To: freebsd-bugs Cc: From: John-Mark Gurney Subject: Re: docs/3817: broken indent manpage Reply-To: John-Mark Gurney Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR docs/3817; it has been noted by GNATS. From: John-Mark Gurney To: ada@not-enough.bandwidth.org Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: docs/3817: broken indent manpage Date: Mon, 9 Jun 1997 03:27:25 -0700 Ada T Lim scribbled this message on Jun 9: > Edit the manpage :) could you mail a patch for this?? it'll be added to my queue/stack but I don't know when I'll be able to get to it... ttyl.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD From owner-freebsd-bugs Mon Jun 9 07:40:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA25283 for bugs-outgoing; Mon, 9 Jun 1997 07:40:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA25245; Mon, 9 Jun 1997 07:40:02 -0700 (PDT) Date: Mon, 9 Jun 1997 07:40:02 -0700 (PDT) Message-Id: <199706091440.HAA25245@hub.freebsd.org> To: freebsd-bugs Cc: From: Blaz Zupan Subject: Re: bin/3374: Cannot Install FreeBSD 2.2.1 - installation hangs when copying bin to root directory Reply-To: Blaz Zupan Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3374; it has been noted by GNATS. From: Blaz Zupan To: freebsd-gnats-submit@freebsd.org, jkh@time.cdrom.com Cc: Subject: Re: bin/3374: Cannot Install FreeBSD 2.2.1 - installation hangs when copying bin to root directory Date: Mon, 09 Jun 1997 16:33:42 +0200 I was just trying to install FreeBSD on a Pentium with 32MB RAM, an Adaptec 2940UW, a 3COM 3C905 (10/100) and a Quantum Fireball 3.2 SCSI disk and a IDE disk on the IDE controller. The system installed just fine (I installed from the Internet instead of CD). After the system was installed I tried installing additional packages and after some time the system simply hung solidly. When reseting it with the reset button the Adaptec BIOS did not recognize the Quantum. I had to turn off the machine and after that the disk was again recognized. There seems to be a pattern here and appears to me there is a problem with the combination Fireball/2940UW. I have Ultra SCSI in 2940UW setup turned off (also tried with it turned on), wide negotiation turned on and off for the Fireball. I tried both with a 2.2.1 kernel (I know it has bugs in the 2940 driver) and also a 2.2.2 kernel with absolutely no change. I also tried booting the Fixit floppy and the dumping/restoring through a FIFO pipe through rmt from a remote machine. It always solidly hung the machine while trying to restore the /usr partition (which is 1.7GB) but it completed successfuly all the other partitions (which are smaller). >Hmmm. Are you absolutely sure of your SCSI termination and cabling? I am 99.99999% sure that it is. >This really seems like some sort of medium error; either that or the >CD is somehow defective. Any debugging output in the 2nd screen at >the point that it hangs? Can you enable debugging in the Options Absolutely no output for me. It simply hangs and does not accept and keyboard input after that. >screen and run it again? Perhaps the debugging output will be helpful >in at least pinpointing the failure. Will try that. Also if you need the exact revision of the Fireball I can provide that. I searched ftp.quantum.com for a firmware upgrade (like for the Atlas) but did not find anything. -- Blaz Zupan, blaz@amis.net, http://www.amis.net/staff/blaz Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia From owner-freebsd-bugs Mon Jun 9 10:07:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA02191 for bugs-outgoing; Mon, 9 Jun 1997 10:07:45 -0700 (PDT) Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA01531 for freebsd-bugs@freebsd.org; Mon, 9 Jun 1997 10:00:37 -0700 (PDT) Date: Mon, 9 Jun 1997 10:00:37 -0700 (PDT) Message-Id: <199706091700.KAA01531@hub.freebsd.org> From: FreeBSD bugmaster To: FreeBSD bugs list Subject: Current problem reports Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 Work on the problem has been postponed. This happens if a timely solution is not possible or is not cost-effective at the present time. The PR continues to exist, though a solution is not being actively sought. 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 ------------------------------------------------------------------------------- a [1995/01/11] i386/105 bde Distributed libm (msun) has non-standard o [1995/02/14] kern/216 davidg /kernel: panic: ffs_alloccg: map corrupte a [1996/01/22] kern/965 bde 2.0.5: system crashes daily because of "m o [1996/04/06] kern/1121 dyson System crashes on boot up just after the o [1996/05/07] kern/1177 dyson Machine hangs with message "vm_fork: no p f [1996/06/05] kern/1293 Fatal trap 12: page fault while in kernel o [1996/06/11] kern/1311 dyson Panic: vm_page_free while installing new a [1996/07/15] bin/1387 davidn Group file errors cause absolute havoc a [1996/08/09] kern/1487 bde bug in exec(2) o [1996/09/11] kern/1599 panic: locking against myself s [1996/09/13] conf/1608 FreeBSD's bug tracking system does not re o [1996/09/29] bin/1694 rbootd does not appear to work o [1996/09/30] kern/1698 sup from around 21:51 GMT 28th very unsta a [1996/10/08] kern/1744 run queue or proc list smashed 4 times in o [1996/10/13] kern/1790 access to /dev/kmem panics system f [1996/10/28] kern/1919 se access to files/directories fails, gives o [1996/11/01] kern/1940 TCP doesn't time out of FIN_WAIT_1 and fl o [1996/11/04] i386/1959 DELAY() won't work for fast CPUs o [1996/11/29] kern/2121 MAXBSIZE in param.h causes kernel panic i o [1996/12/14] i386/2218 cy.c XON/XOFF handling crashes kernel o [1996/12/20] bin/2258 wollman route add/delete [network] xxx.yyy.zzz.0 f [1997/01/01] ports/2352 ports wu-ftp port does not work with DES crypte o [1997/01/03] conf/2367 gibbs Buslogic SCSI driver bad probe of 742A EI f [1997/01/04] kern/2371 gibbs SCSI disk corruption o [1997/01/14] kern/2498 On installation, after selecting drivers, o [1997/01/25] bin/2581 imp security holes in libtermcap o [1997/01/27] bin/2599 Lite2 merg and critical bugfix for games/ o [1997/02/06] kern/2680 bde bind of a local domain socket does not re o [1997/02/11] kern/2717 Panic with daily script (find) o [1997/02/14] bin/2740 wpaul root-fs full erases password table ! o [1997/02/21] misc/2795 Cyclades 8YO -- Not working under 2.1.6-S o [1997/02/26] bin/2821 jkh XFree86 distributed with 2.2-GAMMA corrup o [1997/02/28] bin/2837 Globalyst550 Disk-Drive Not found!! o [1997/03/04] kern/2877 Fatal Trap 12: page fault while in kernel o [1997/03/05] kern/2890 System panic after kernel compiled for 12 o [1997/03/08] kern/2923 panic: vm_fault: fault on nofault entry, o [1997/03/13] kern/2980 2.2 crashes after accessing DAT-tape. bot o [1997/03/15] kern/3000 Kernel Panic in 2.2-CURRENT Kernel o [1997/03/16] kern/3005 can't completely install 2.1.7 release; s o [1997/03/17] kern/3017 panic: page fault as of March 11th v2.2 o [1997/03/17] bin/3019 Can't use SCSI disk (SCSI ID>3) on instal o [1997/03/23] misc/3070 Cannot do post install mods to UNIX from o [1997/03/23] kern/3072 Kernel Page Fault During Install of 2.1.7 o [1997/03/25] ports/3102 tg teTex port destroys previous contents of o [1997/03/25] kern/3103 vi large_file --> reboot without panic o [1997/03/26] ports/3106 torstenb pidentd exits with signal 6 o [1997/03/26] bin/3115 date command dumps core o [1997/03/27] kern/3128 Can't Install FreeBSD 2.2.1 o [1997/03/28] bin/3131 dlsym() does not set error on error, brea o [1997/03/30] kern/3150 Cyrix 6x86L-P200+ crashes w/ page fault o [1997/04/01] bin/3165 tex-3.14159.tgz lacks file o [1997/04/07] bin/3226 mpp vi died with a core dump o [1997/04/08] kern/3234 ipfilter.shar - integration complete o [1997/04/11] kern/3259 /bin/ps: kernel kernel, lockups, performa o [1997/04/12] kern/3267 mtime/ctime sometimes updated when a prog o [1997/04/15] i386/3300 Adaptec 2940U Problems o [1997/04/17] kern/3312 Adaptec 2940 still causes timeout using 2 o [1997/04/17] i386/3316 FOLLOWUP:Adaptec 2940U Problems->Addition o [1997/04/20] kern/3359 FreeBSD wont boot on amd p133 o [1997/04/21] kern/3366 ipx stack or ep driver o [1997/04/22] bin/3374 Cannot Install FreeBSD 2.2.1 - installati o [1997/04/26] kern/3392 System panics every few hours o [1997/04/27] ports/3394 max jp-Wnn-4.2 fails to make personal diction o [1997/04/28] kern/3404 frequent kernel panics o [1997/05/01] bin/3437 SU acting strange on 2.2.1 Release o [1997/05/01] i386/3462 using a PS/2 mouse causes kernel trap in o [1997/05/01] ports/3467 ports Update of port xgs o [1997/05/05] bin/3510 xsm does not work! o [1997/05/07] ports/3536 ports MakeTexPK calls gftopk with wron argument o [1997/05/12] misc/3586 The boot.flp file is too large to image t o [1997/05/13] kern/3594 EAGAIN and garbage data when reading sock o [1997/05/16] kern/3609 fs on remote host is mounted via NFS, rec o [1997/05/17] misc/3615 Error in /usr/src/lib/libc/gen/sigsetops. o [1997/05/21] bin/3650 Ypserv dumps core randomly. o [1997/05/23] kern/3671 SCSI tape drive with AHA 2940 locks up sy o [1997/05/24] kern/3674 NFS in 2.2 RELEASE hangs. o [1997/05/26] kern/3690 vm problems on 2.2, 2.1.7 works o [1997/05/27] kern/3696 kernel panic during wd hard disk probe if o [1997/05/27] conf/3698 sysinstall does not save parameters enter o [1997/05/27] misc/3700 FPE error in "normal" math code o [1997/05/30] kern/3721 kernel panic with netatalk o [1997/06/01] kern/3752 NFS dirs under -current still have proble o [1997/06/01] kern/3753 "make" hangs when building in an NFS dir o [1997/06/02] kern/3761 Inlel EtherExpress pro/100B more than on o [1997/06/08] bin/3813 make world on 2.2-STABLE dies when trying 85 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- a [1995/03/20] kern/260 davidg msync and munmap don't bother to update m s [1995/04/01] kern/291 se PCI devices still probe/attach after bein f [1995/05/08] bin/389 Simultaneous creation/deletion of dirs co a [1995/05/09] bin/392 Simultaneous cp and ls of files on dos f/ o [1995/05/16] kern/425 wollman arp entries not getting removed when inte a [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 f [1995/07/04] kern/587 if_le hangs on OACTIVE with 2k buffer s [1995/07/21] i386/631 if_ix does not support bpf, nor does it a s [1995/07/29] kern/638 Transmitted packets not passed to bpf in f [1995/08/11] gnu/672 Nor all ph headers get created o [1995/08/22] bin/706 jmg increased root DNS traffic and long laten f [1995/09/20] kern/730 gibbs 3Com 3C5x9 probe problem f [1995/09/27] kern/750 cd9660 confused by not-ready or I/O error a [1995/10/07] bin/771 telnet character mode not set and broken o [1995/10/18] bin/786 wpaul Problem with NIS and large group maps o [1995/11/12] kern/820 gibbs scsi tape problems f [1995/11/16] bin/826 mpp tcpmux listener in inetd does not work o [1995/12/20] i386/906 davidg /sys/i386/boot/netboot/nb8390.com cannot o [1996/01/01] bin/926 Mounting nfs disks before starting mountd o [1996/02/12] kern/1020 .Boca 16-port board still hangs o [1996/02/12] docs/1023 mpp using touch to create swap file for NFS d a [1996/02/17] bin/1030 steve /bin/sh does not pass environment variabl f [1996/02/28] bin/1050 [floppy] Process (zip) hangs (unkillable) s [1996/03/06] kern/1067 mpp panic: ufs_lock: recursive lock not expec o [1996/03/09] bin/1073 telnet -8 does not work with SunOS or Sol o [1996/03/23] kern/1098 File system corruption (2 cases) o [1996/03/30] bin/1111 scrappy mail.local will happily deliver mail to a f [1996/05/14] kern/1204 umount -f after SCSI reset -> reboot o [1996/05/24] misc/1247 bde Conflicting header files f [1996/05/26] i386/1251 aha0 and bt0(eisa) conflicts again. o [1996/05/26] kern/1256 ZNYX 314 mysterously looses packets o [1996/05/28] kern/1271 phk Kernel panic using PLIP in 27/05 current o [1996/05/31] kern/1284 dyson panic: vm_page_free: freeing busy page o [1996/06/02] i386/1288 bde wdgetctlr (wd.c) return incorrect number o [1996/06/07] kern/1301 davidg DEC FDDI/PCI Adapter: halt code = 6 (DMA o [1996/06/10] kern/1308 dyson vm_page_free: wire count > 1 in 960501-SN a [1996/06/12] bin/1315 ls(1) a [1996/06/18] kern/1333 davidg free vnode isn't: another -stable coredum f [1996/07/03] bin/1364 mpp ps(1) bugs o [1996/07/09] gnu/1379 Man command problem, when it writes into a [1996/07/18] kern/1397 bde can't send to a pipe f [1996/07/24] kern/1423 wollman route causes kernel page fault. f [1996/08/01] bin/1454 steve /bin/sh bug handling <<[n] FD processing o [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 o [1996/08/18] kern/1512 dyson Use of madvise may may cause bad memory m o [1996/08/22] kern/1533 dyson Machine can be panicked by a userland pro o [1996/08/25] misc/1541 julian fork.o in libc_r fails to compile f [1996/09/05] kern/1570 Setting SHMALL > 35000 causes panic o [1996/09/14] kern/1610 dyson mmap() of unassociated memory + mlock() c o [1996/09/16] i386/1626 MUSTEK Scanner hangs NCR SCSI controller f [1996/09/18] kern/1637 mss driver causes feedback (squeal) on so o [1996/09/19] bin/1650 telnet encryption with char-mode and asci o [1996/09/21] kern/1661 ft driver hangs uninterruptably at "bavai o [1996/09/29] kern/1689 wollman TCP extensions throttles distant connecti o [1996/09/29] kern/1692 Page fault while in kernel modem fatal tr o [1996/10/01] bin/1702 installing of tcl manpages fails from mak o [1996/10/03] kern/1715 le driver non-reentrant o [1996/10/04] kern/1723 gibbs kernel fault when doing scsi reprobe o [1996/10/04] kern/1724 gibbs HP colorado T4000S tape drive hangs syste o [1996/10/04] kern/1726 panic in kmem_malloc (dump available) o [1996/10/10] ports/1753 markm SSLeay doesn't work against Microsoft sec o [1996/10/10] kern/1754 netbooted machines freeze with ifconfig a o [1996/10/11] bin/1773 ports A NULL pointer causing segmentation core o [1996/10/13] gnu/1787 markm Diffs with Index: lines are not honored f o [1996/10/15] bin/1810 fsck -p does not check pass 0 filesystems o [1996/10/15] kern/1812 dyson vnodes are left in a locked state o [1996/10/15] kern/1814 cy driver gets deadlocked sometimes a [1996/10/18] kern/1839 mpp Multiple mfs mounts of same mount point o [1996/10/20] kern/1848 breakpoints may be set in shared librarie o [1996/10/21] kern/1856 read-only nfs mount: panic leaf should be o [1996/10/22] ports/1866 wosch popclient flushes remote mailbox even wit o [1996/10/24] kern/1880 kernel crash during boot when using 512 M o [1996/10/25] bin/1891 mountd fails to export o [1996/10/26] bin/1892 install(1) removes target file o [1996/10/29] bin/1927 User CPU time getting accounting as syste o [1996/11/07] bin/1973 jmg pppd uses /etc/ppp/options.tty after comm o [1996/11/08] gnu/1981 ypserv handles null key incorrectly o [1996/11/13] ports/2000 asami obsolete software in distfiles directory a [1996/11/13] bin/2001 mpp vi confused about lines to display o [1996/11/13] i386/2002 sio doesn't detect com port on Compaq Con o [1996/11/14] misc/2013 'make world' fails on read-only /usr/src a [1996/11/14] kern/2014 sos Console keyboard lockup problem o [1996/11/15] bin/2016 static libtcl references symbols that are o [1996/11/15] kern/2034 julian [devfs] wd* driver "slot name rejection e o [1996/11/15] gnu/2035 peter deque bug, local gnu changes to deque hea o [1996/11/18] kern/2053 de0 driver don't work at 100M for Compex o [1996/11/24] kern/2094 wd1: interrupt timeout: o [1996/11/26] bin/2107 problem building a system from cdrom. s [1996/12/03] kern/2142 FP mask not saved for signal handlers o [1996/12/03] kern/2144 kernel panic (page fault) running chgrp o [1996/12/08] kern/2181 2.2-ALPHA flickers/wavers part of the upp o [1996/12/09] bin/2187 brian ijppp: LQR is broken o [1996/12/10] misc/2189 mpp netdb.h works not with -traditonal cc fla o [1996/12/10] bin/2191 syslogd stops logging after several hours o [1996/12/13] bin/2206 NIS Makefile can't manage appletalk entri o [1996/12/17] kern/2232 MSDOSFS corrupts MSDOS partitions > 500Mb o [1996/12/18] kern/2248 Mitsumi CD-ROM driver has "timeout" probl s [1996/12/19] bin/2255 Client PPP negotiates Stacker compression o [1996/12/20] bin/2256 PPP process on port will not close when a s [1996/12/22] ports/2268 ports libc from linux emulator does not use /et o [1996/12/22] kern/2270 Hayes ESP serial card locks system as of a [1996/12/25] misc/2283 ache setlocale() in libxpg4 always returns NUL o [1996/12/29] bin/2318 /usr/libexec/rlogind doesn't work after t a [1996/12/30] kern/2325 mpp quota.user enlarged, no boot on 2.2-BETA o [1996/12/30] kern/2330 changing root device to sd0a - ncr0: abor o [1996/12/31] ports/2340 obrien gshar+gunshar needs to be updated to 4.2 o [1997/01/01] kern/2351 panic:timeout table full o [1997/01/06] kern/2388 joerg start unit command screws up some CDROM d o [1997/01/07] gnu/2394 tar will extract files even if -C command f [1997/01/07] kern/2401 joerg 2.2 RELENG sometimes locks up early on bo o [1997/01/08] kern/2425 amd driver does not reprobe devices. o [1997/01/08] conf/2426 At end of install, panic: Going nowhere w o [1997/01/09] bin/2430 mountd stops on loading if subnet mask is o [1997/01/09] i386/2431 panic: get_pv_entry: cannot get a pv_entr o [1997/01/12] i386/2471 Sound: Reset failed - Can't reopen device o [1997/01/13] misc/2479 sos NEC CD-ROM NOT RECOGNIZED; MATROX MISTIQU o [1997/01/13] bin/2489 mpp gnats mangles sections o [1997/01/16] kern/2507 Renaming DOS directories with "mv" causes o [1997/01/18] kern/2521 kernel from 2.1.6 install CD doesn't acce o [1997/01/18] bin/2527 fetch doesn't print enough of the error m o [1997/01/20] kern/2538 worm burning suddenly broken o [1997/01/20] bin/2541 cd (using /bin/sh) may leave you in the w o [1997/01/20] kern/2545 se < sd0(ncr0:6:0): COMMAND FAILED ==> Not a [1997/01/21] bin/2549 sos cdcontrol refuses to play audio CDs from f [1997/01/21] misc/2551 davidn limit too small for user root o [1997/01/23] kern/2569 route -iface breaks inet behaivour f [1997/01/24] kern/2570 fenner arpresolve: cant allocate llinfo o [1997/01/25] bin/2591 sh coredumps when passing an argv of a ce o [1997/01/26] bin/2597 everything stops when the new ld.so is in o [1997/01/29] kern/2613 ache syscons mistakes MONO for MONO VGA o [1997/01/29] misc/2614 make reinstall does not work o [1997/01/29] bin/2616 Installs very irratically from the same c o [1997/01/31] kern/2628 code clean up of sys/sys o [1997/01/31] kern/2632 enabling psm mouse causes keyboard to not o [1997/01/31] bin/2633 fsck -p in /etc/rc fails with cannot allo 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/04] ports/2664 elm methodically writes garbage into fold o [1997/02/05] kern/2667 wollman bpfattach can hang the system f [1997/02/05] bin/2670 fetch fails with HTTP_PROXY o [1997/02/05] bin/2671 Run-away processes using all CPU time 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/13] ports/2731 ports new port: Tcl 8.0A2 o [1997/02/14] kern/2732 mcopy 3.0 causes kernel hang 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/17] kern/2751 asami 2GB limitation on CCD device partitions s o [1997/02/18] bin/2762 Precedence mistake in libncurses 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 f [1997/02/19] kern/2772 gibbs panic: %s:%c:%d: Target did not send an I o [1997/02/19] kern/2773 bad dir panic o [1997/02/20] misc/2781 jkh Installation crashes if timeout in ftp tr o [1997/02/20] misc/2784 brian userland PPP rises load to 1.00 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/21] misc/2793 libc_r make fscanf failure o [1997/02/22] kern/2800 DDS large data writing probrem o [1997/02/25] kern/2815 Custom Kernel crashes o [1997/02/27] bin/2829 jkh FTP installs can only fail once o [1997/02/28] bin/2832 w treats corrupted utmp as fatal error o [1997/03/01] kern/2840 mlock+minherit+fork+munlock causes panics o [1997/03/02] bin/2844 libedit sync with NetBSD/OpenBSD o [1997/03/03] i386/2853 syscons beeps even if beeping screen is n o [1997/03/03] kern/2858 dfr FreeBSD NFS client can't mount filesystem o [1997/03/03] bin/2867 sysinstall goes into an infinite loop dur o [1997/03/04] kern/2873 the od0 devies does not handle a Maxoptix o [1997/03/04] docs/2874 The gencat command hasn't got a manual pa o [1997/03/07] bin/2915 the "-fstype ufs" option of "find" seems o [1997/03/07] ports/2918 ports Unable to pass 8+ command line arguments o [1997/03/08] kern/2919 vm_fault: fault on nofault entry, addr: f o [1997/03/09] bin/2925 non-priviledged user can crash FreeBSD!! o [1997/03/11] bin/2948 can't dump 640MB optical disks o [1997/03/11] ports/2956 ports New Port: xgospel-1.10d in ftp.freebsd.or o [1997/03/12] kern/2965 st0 hang/fail on reading 4mm DAT tape for o [1997/03/12] bin/2969 csh and/or builtin printf has problems wi o [1997/03/12] bin/2973 output of iostat is wrong. o [1997/03/15] kern/2991 RTF_LLINFO routes remain when interface i a [1997/03/15] ports/2994 ports xpm port does not build for the first tim o [1997/03/17] conf/3016 fvwm95-2 does not have system resource fi o [1997/03/18] kern/3021 panic after sync during reboot o [1997/03/18] kern/3029 typo in libc o [1997/03/19] kern/3039 higher securelevel (>0) stops X server o [1997/03/21] i386/3048 multicast support necessery in some drive o [1997/03/21] kern/3054 OPL3 sound off by one note o [1997/03/21] bin/3055 umount -f does not work o [1997/03/24] i386/3082 keyboard locks up unexpectedly o [1997/03/24] i386/3083 Toshiba XM-5702B ATAPI CDROM not detected o [1997/03/24] bin/3085 make world fails on compiling dumpfs.c o [1997/03/24] misc/3086 panic: cannot mount root - on boot, when o [1997/03/25] kern/3104 Cannot execute files on a nullfs filesyst o [1997/03/26] conf/3109 unintellible upgrade doc o [1997/03/27] kern/3122 _POSIX_SAVED_IDS not defined in 2.2 o [1997/03/27] conf/3123 /stand/sysintstall does not perform to up o [1997/03/27] i386/3124 BOOT_PROBE_KEYBOARD hangs system in bootb o [1997/03/27] bin/3126 Install with mcd0 still broken. o [1997/03/27] bin/3127 PCI Ether card slower than ISA Ether card o [1997/03/28] i386/3130 Dell Latitude keyboard lock up o [1997/03/28] misc/3133 TIOCSETD error with Cyclades 8Yo o [1997/03/30] gnu/3149 patch-2.1: files possibly created in wron o [1997/03/31] kern/3156 Copying to floppy device file locks machi o [1997/03/31] bin/3158 seg faults and cannot update links using f [1997/04/01] kern/3162 2.2 kernel from mar 25th crashes on nfs s o [1997/04/01] bin/3170 vi freaks and dump core if user doesn't e o [1997/04/02] kern/3180 mlock() causes panic: lockmgr: upgrade ex o [1997/04/04] i386/3195 ahc panic o [1997/04/05] kern/3201 de0 not re-enabled after hub down o [1997/04/05] ports/3205 jmz Mtools-3.0 attempts to flock() a disk par o [1997/04/05] kern/3209 3.0-current panics on shutdown/reboot/hal 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 o [1997/04/08] bin/3230 Unable to resolve dev conflict between ed o [1997/04/09] kern/3244 ipfw flush closes connections o [1997/04/10] bin/3246 mtree -c should escape whitespace and spe o [1997/04/11] ports/3256 ache ncftp-2.4.2 in packages-2.2 was not linke o [1997/04/11] docs/3257 make cleandepend is broken in src/ o [1997/04/12] kern/3263 gnats-admintroubles with digiboard o [1997/04/13] kern/3278 mounting MFS uses up swap space o [1997/04/14] misc/3291 md2.h, md4.h, and md5.h headers useless f o [1997/04/15] bin/3305 Can't do encrypted rlogin into self o [1997/04/16] bin/3307 Unable to Route to a different Class C wi o [1997/04/16] misc/3308 Missing "#include item' when making world o [1996/10/23] bin/1872 automounter (amd) cannot ls directories w o [1996/10/24] bin/1881 file(1) misidentifies Sun3/m68k executabl o [1996/10/26] bin/1897 Sendmail 8.8.2 requires /etc/sendmail.cw o [1996/10/27] bin/1904 /usr/bin/su is not careful enough in veri o [1996/10/27] misc/1908 jkh FTP install failed DNS lookup o [1996/10/29] bin/1924 if lpd is not running, lpc will say ``no o [1996/10/30] i386/1931 Mitsumi CDrom works well under 2.1.x, fai o [1996/10/31] ports/1939 ports exodus port doesn't build with new g++-2. o [1996/11/01] bin/1941 wtmp and monthly rotation o [1996/11/01] bin/1943 route(8) args o [1996/11/02] bin/1945 Out of date code/comments in dd o [1996/11/04] i386/1953 syscons savers have no default timeout o [1996/11/04] gnu/1961 uucp logging files are in /var/spool/uucp o [1996/11/06] bin/1968 FreeBSD has no rdate(8), here's one o [1996/11/06] bin/1970 csh limtail() bug o [1996/11/09] bin/1985 pkg_delete outputs confusing message when o [1996/11/13] kern/2004 route add -link panic o [1996/11/13] bin/2005 Poor command line argument checking and b o [1996/11/14] bin/2008 kerberos tickets from login all have the o [1996/11/15] kern/2022 Switching from X display to virtual conso o [1996/11/16] bin/2036 cpio size wraparound o [1996/11/16] ports/2038 torstenb sshd dies on FreeBSD machines if run as a o [1996/11/18] ports/2051 obrien HDF library port o [1996/11/19] bin/2061 DEBUG_FLAGS in bsd.lib.mk is broken o [1996/11/19] bin/2065 wollman in tzsetup/sysinstall, allow user to type o [1996/11/19] misc/2068 Unstable keyboard mappings on the main tt o [1996/11/20] kern/2072 ZIP drive support is available for FreeBS o [1996/11/21] ports/2079 obrien New ports supporting AWE sound driver (fo o [1996/11/21] bin/2080 The scanf family doesn't support 'q' modi o [1996/11/22] docs/2087 ifconfig.8 does not document how to remov o [1996/11/22] bin/2090 clients may bind to FreeBSD ypserv refusi o [1996/11/23] bin/2093 AMD gets sig 11 when /etc/malloc.conf is o [1996/11/24] ports/2096 tg ImageMagick outdated, lzw not supported o [1996/11/25] misc/2105 bsd.lib.mk has problems with STRIP and IN o [1996/11/26] bin/2106 Byte order problem in -current routed o [1996/11/26] i386/2108 sos [ATAPI] wcd driver may hang under certain o [1996/11/28] kern/2118 writing to virtual consoles fails to disp o [1996/11/28] bin/2119 mount lies to child about argv0, which ca o [1996/12/01] bin/2133 netstat -s overflows to negative o [1996/12/02] bin/2137 vm statistics are bad o [1996/12/02] kern/2140 FreeBSD leaves EtherExpress 16 net card i o [1996/12/03] ports/2145 ports qpopper bulletin support broken o [1996/12/03] conf/2146 wrong /dev for COM2 during installation v a [1996/12/04] docs/2153 mpp Manual page of bootparams(8) refers to a o [1996/12/06] i386/2166 psm driver locks the console o [1996/12/07] ports/2169 pst zephyr port does not completely compile o [1996/12/08] ports/2173 peter top does not compile under FBSD 2.1.6 o [1996/12/08] ports/2182 ports FreeBSD's and X-32's list of locales do n o [1996/12/08] bin/2184 sendmail has lots of trouble with local d o [1996/12/08] misc/2185 phk add ability to change partition type in l a [1996/12/10] ports/2190 asami need cross-reference to xpdf from X11 por o [1996/12/12] kern/2199 joerg Got a lots of "Target Busy" messages with o [1996/12/14] kern/2214 File System gets corrupted when mounting o [1996/12/14] bin/2216 Ada specs not being compiled into cc/gcc o [1996/12/16] bin/2227 FreeBSD does not recognize WD7000-ASC dri o [1996/12/17] i386/2234 fbsdboot.exe does not turn off floppy dri o [1996/12/17] i386/2239 some interrupts take too long (i.e. BT946 o [1996/12/18] misc/2242 Suggest add optional mt blocksize 512 o [1996/12/18] bin/2247 imp getopt should return -1 rather than EOF o [1996/12/20] bin/2260 PPP logins using PAP to Nortel/Shiva syst o [1996/12/21] ports/2264 ports latex* ports need updating a [1996/12/21] bin/2265 guido su(1) does not call skeyaccess() o [1996/12/23] kern/2271 FIONREAD on tunnel device returns incorre o [1996/12/24] kern/2273 support for POSIX.4 / POSIX.1a RT-schedul o [1996/12/24] docs/2275 no support for isdn-cards o [1996/12/25] conf/2284 Termcap ibm3163 entry has arrow keys wron o [1996/12/26] bin/2291 race condition in /etc/master.passwd lock o [1996/12/27] kern/2298 Support for DSR/DCD swapping on serial po a [1996/12/27] misc/2302 markm new crypt() including SHS and an extendab o [1996/12/28] misc/2309 Thread safe fixes to malloc, localtime, l o [1996/12/28] ports/2313 torstenb pidentd fails in 2.2-BETA o [1996/12/29] bin/2315 tail segfaults on NFS permission denied o [1996/12/29] misc/2323 FreeBSD.FAQ file in ftp.freebsd.org is lo o [1996/12/30] kern/2327 `Green' saver for pcvt o [1996/12/31] bin/2336 jkh Sysinstall won't install dists on 2nd pas o [1997/01/01] docs/2353 Changes to FAQ o [1997/01/03] bin/2366 libc does not consult /etc/services to fi o [1997/01/03] bin/2368 serial line logins "freeze" during login o [1997/01/06] bin/2382 curses.h / -lcurses incompatible with C++ o [1997/01/06] bin/2383 Inconsistent tputs(3) prototypes in curse o [1997/01/06] misc/2386 patches for new socket credential firewal o [1997/01/06] bin/2387 virtual hosting patches for inetd o [1997/01/06] kern/2390 Some CDROM drives stop audio on cdcontrol o [1997/01/07] kern/2393 filesystems not unmounted following shutd o [1997/01/07] misc/2407 dirent.h does not include sys/types.h o [1997/01/07] bin/2410 pppd(8): failing PAP doesn't force line d o [1997/01/07] kern/2412 Wine does not work o [1997/01/07] ports/2413 peter Cannot redirect "top" output o [1997/01/08] kern/2424 Pressing ALT-Fn during boot -c leave bell o [1997/01/09] kern/2429 Driver for AIMS Lab RadioTrack radio card o [1997/01/10] bin/2437 minor nits on text in 2.2-BETA install o [1997/01/10] bin/2442 davidn setusershell()/endusershell() missing o [1997/01/10] bin/2443 Fetch cannot find the correct boundary be o [1997/01/11] bin/2448 semctl() not portable -- freebsd requires o [1997/01/11] docs/2455 no description "option COMCONSOLE" MLEN o [1997/01/26] misc/2596 dd refuses to respond to SIGkill o [1997/01/26] i386/2598 ep0 in EISA mode hangs if ep0-device (ISA o [1997/01/28] bin/2603 Added POSIX.4/POSIX.1b constants in unist o [1997/01/28] bin/2604 Added POSIX.4/POSIX.1b shm_open()/shm_unl o [1997/01/28] ports/2607 max New port: Gopher-2.3 o [1997/01/28] bin/2609 Problem receiving more than 1688835 bytes o [1997/01/29] misc/2617 Utility submission - upsmon - UPS monitor o [1997/01/30] kern/2621 Patch to support Cogent EM110 fast-ethern o [1997/01/30] docs/2623 ipfirewall(4) man page is way out of date o [1997/01/30] bin/2624 kdump unaware of semsys and several other o [1997/01/31] bin/2630 xargs does excessive and inconsistent arg o [1997/01/31] bin/2631 kill interprets empty arg as PID 0 o [1997/02/02] gnu/2637 tar dumped core with -g option. f [1997/02/02] ports/2639 jkh FreeBSD 2.2 teTeX-0.4 package does not in a [1997/02/02] bin/2641 wpaul login_access.c doesn't work with NIS by d o [1997/02/03] ports/2653 pst mh-6.8.4 manpage error for slocal o [1997/02/04] bin/2657 ypserv thinks there is no computers in ne o [1997/02/04] bin/2660 When selecting BSD to boot from system ha o [1997/02/04] bin/2665 port 22 isn't being converted to ".ssh" i o [1997/02/05] bin/2668 modification suggested for rarpd o [1997/02/05] bin/2672 Problem with telnetd o [1997/02/06] kern/2681 missing prototype in s [1997/02/07] ports/2684 torstenb ircII port upgrade; 2.9_roof -> 2.9alpha1 o [1997/02/07] kern/2686 struct igmpmsg in s o [1997/02/07] misc/2687 sysinstall umounts floppy after prompting o [1997/02/10] bin/2703 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] conf/2709 FBSD 2.1.6 X-Server installation setup ut o [1997/02/11] bin/2713 ftp daemon processes don't terminate, eve o [1997/02/11] kern/2715 MSDOS-FS 1024/2048 byte/sector media supp 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/2734 jkh pkg_* uses relative paths to executables o [1997/02/14] bin/2735 jkh Add signature support (both MD5 and PGP) 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/17] bin/2752 NULL is used instead of 0 many places o [1997/02/20] docs/2780 Description of Linux emulation is out of o [1997/02/20] bin/2782 err man page is slightly wrong o [1997/02/21] misc/2789 na.phone update o [1997/02/22] ports/2797 tg New Port: qmail o [1997/02/23] kern/2806 new kernel tags script o [1997/02/23] kern/2807 pcisupport.c uses sprintf field widths, n o [1997/02/24] docs/2810 Tutorial submission detailing how to upgr o [1997/02/25] i386/2813 hard reference to /usr/src breaks make wo o [1997/02/25] ports/2817 ports New port - prodosemu is an Apple2e prodos o [1997/02/26] conf/2819 /etc/rc does not execute 'uname' when con o [1997/02/26] conf/2822 ftp install specifying URL confusing o [1997/02/27] gnu/2827 after make world genclass is not installe o [1997/02/28] docs/2833 Repeated topics on FAQ entry hardware com o [1997/03/02] bin/2845 sync with spiffy new netbsd/openbsd ftp c o [1997/03/02] misc/2848 jmg newsyslog will notify syslogd, not any ot a [1997/03/02] ports/2849 ports correction to New math/cad port (SCILAB) o [1997/03/02] docs/2850 init(8) man page does not document secure 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] misc/2863 New keymap for Latin American Keyboards o [1997/03/03] bin/2864 Using modload with -p option broken o [1997/03/03] kern/2865 dfr NFS client hangs on umount, ls, df when N o [1997/03/03] ports/2869 ports Submiting new port: tac_plus o [1997/03/03] bin/2871 showmount -e returns error o [1997/03/04] misc/2882 Duplicate line in /etc/services? o [1997/03/05] kern/2886 fenner mbuf leak in multicast code o [1997/03/06] docs/2897 mpp send-pr categories should be explained so o [1997/03/06] bin/2898 fenner arp -a -n buglet a [1997/03/06] ports/2902 ports Fix xmcd port for PACKAGE_BUILDING o [1997/03/06] ports/2903 ports New port: xdeblock o [1997/03/06] ports/2904 ports New port: wm2 a [1997/03/06] ports/2905 ports Fixed port: xshisen-1.36 o [1997/03/07] ports/2916 ports ports sysutils/top/Makefile MASTER_SITES o [1997/03/08] ports/2920 ports patch for mispositioned xv windows under o [1997/03/08] ports/2922 ports Please commit new port: viz-1.1.1 o [1997/03/09] i386/2924 syscons X keyboard gets stuck in capsmode o [1997/03/09] ports/2926 ports xmgt-2.31 port, now in pub/incoming on ft o [1997/03/10] bin/2933 sysinstall fails when adding packages thr o [1997/03/10] bin/2934 sh(1) has problems with $ENV o [1997/03/10] ports/2936 ports The teTeX port runs strup on /usr/local/b o [1997/03/10] bin/2938 Add -b, -l, and -f options to du(1) o [1997/03/10] docs/2939 `man 8 sticky` == outdated o [1997/03/10] conf/2943 standard-supfile missing src-release and o [1997/03/11] ports/2949 ports bsd.port.mk needs something like FETCH_EN o [1997/03/11] ports/2951 ports xgraph source is not on MASTER_SITE o [1997/03/11] misc/2955 pkg_add failed on xemacs via sysintall o [1997/03/12] ports/2961 ports New port(jp-vftool-1.2):japanese/virfonts o [1997/03/12] bin/2968 fmt dumps core on ^M o [1997/03/13] ports/2974 ports updated Makefile and patch-ab of jp-dvi2p o [1997/03/13] bin/2977 After enabling moused and vidcontrol and o [1997/03/13] bin/2979 GCC complains about stmt. expr. when comp o [1997/03/13] i386/2984 serial port console only prints ~ 1 char o [1997/03/14] ports/2986 ports fvwm95-2.0.43a port don't install/have ma o [1997/03/14] ports/2988 joerg vga font is not built o [1997/03/15] ports/2993 ports qmail-port-take2-proff.tar.gz in incoming o [1997/03/15] kern/3001 soundblaster8 card does not work correctl o [1997/03/16] misc/3009 packages-2.2/x11/fvwm-1.24r.tgz corrupt o o [1997/03/17] ports/3012 ports qmailanalog port in incoming o [1997/03/18] conf/3022 /etc/sysconfig was not set up with option o [1997/03/18] conf/3023 By default users have no write permission o [1997/03/18] misc/3024 make reinstall in /usr/src requires writa o [1997/03/18] bin/3025 mv to / trailed dirs prints odd error mes o [1997/03/18] bin/3028 sos add support for Glidepoint pointing devic o [1997/03/19] misc/3040 sysinstall XF86Config graphic mode YES=== o [1997/03/19] bin/3042 comm and uniq do not have a case insensit a [1997/03/21] ports/3052 ports /usr/ports/lang/expect does not find tkCo o [1997/03/22] kern/3061 route does not accept -genmask o [1997/03/24] misc/3075 2.2-R install "features" (non critical) o [1997/03/24] bin/3080 yacc produces output which doesn't compil o [1997/03/24] ports/3081 ports sitelispdir is a directory no a path in x o [1997/03/24] ports/3090 ports ircii-2.9-roof does not run. o [1997/03/25] bin/3101 "command" entry of ps -uc is too wide, ou o [1997/03/26] docs/3112 Handbook says that users should use sup o [1997/03/26] misc/3113 make libraries failed. o [1997/03/26] bin/3116 iij ppp does not provide link-down notifi o [1997/03/27] misc/3119 /usr/share/syscons/keymaps/german.iso.kbd o [1997/03/27] ports/3121 tg teTeX 0.4 package has missing links ? a [1997/03/28] misc/3136 rc.firewall should be run after interface o [1997/03/29] bin/3139 qcamcontrol has a bug where I/O errors ar o [1997/03/29] misc/3140 display message is broken on boot.flp o [1997/03/30] docs/3147 /usr/share/misc/au.postcodes o [1997/03/30] misc/3148 adjkerntz screws up during GMT/BST change o [1997/03/31] bin/3152 FreeBSD 2.2-STABLE: getty does not initia o [1997/03/31] misc/3155 Checksum mismatch o [1997/03/31] gnu/3157 Patches to gas and gdb to support MMX ext a [1997/04/01] bin/3164 mpp view copies the file into vi.recover o [1997/04/01] ports/3169 ports nn port broken o [1997/04/01] conf/3171 Typo in /etc/sysconfig o [1997/04/01] kern/3172 CS4232 support trouble for mss0 o [1997/04/03] ports/3185 tg Port submission for LPRng-3.2.1 o [1997/04/03] ports/3189 ports Update plan to version 1.6 o [1997/04/03] bin/3190 RISCom N2 card driver problem? o [1997/04/04] kern/3191 Commiting of the ppa Zip Drive driver to o [1997/04/04] bin/3194 2.2.1-RELEASE hangs when using /stand/sys o [1997/04/05] bin/3202 shutdown(8) don't work if started from an o [1997/04/05] bin/3206 su seg-faults when being invoked with an o [1997/04/06] bin/3210 routed having problems with /etc/gateways o [1997/04/06] bin/3211 ctm uses mktemp()> o [1997/04/06] bin/3212 the pkg_* tools use mktemp() o [1997/04/06] misc/3217 The rmail.c err() function will fail in m o [1997/04/06] bin/3218 syscons causes segmentation fault by repe o [1997/04/07] bin/3221 rpc.rusersd : can't communicate with SunO o [1997/04/07] misc/3225 uucpd.c should normalize host names as lo o [1997/04/08] ports/3227 ports new port(xtimer-8087) o [1997/04/08] bin/3232 XFree86 installation Problem with non-Mic o [1997/04/08] bin/3233 adduser(8) doesn't add users to the wheel o [1997/04/08] misc/3237 SCRIPTS addition to bsd.prog.mk a [1997/04/09] bin/3241 times(3) returns only stime o [1997/04/09] bin/3242 incorrect prototype for initgroups o [1997/04/09] bin/3245 variable substitution "a=${a:=}" in /bin/ o [1997/04/10] ports/3248 ports update a port o [1997/04/10] bin/3249 user ppp does not provide a linkdown hook o [1997/04/10] ports/3250 ports New CAD port: xpns o [1997/04/10] bin/3251 xsysinfo stops refreshing and wastes CPU o [1997/04/10] kern/3253 scsiconf.c: make ZIP disks use optical dr o [1997/04/11] misc/3254 Can't connect to my ISP, because my ISP u o [1997/04/12] bin/3269 exec pppd -detach ... caused a kernel pan o [1997/04/12] docs/3270 command 'cvs init' missing from cvs(1) o [1997/04/13] conf/3272 $@ is deprecated I believe, so use ${.TAR o [1997/04/13] docs/3275 mpp Some man pages has absolutely wrong date o [1997/04/13] ports/3277 ports tcp_wrapper port does not include NIS sup 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/3283 brandelf fails on files without write per o [1997/04/14] bin/3284 symorder(1): -t option doesn´t work at al o [1997/04/14] bin/3285 date option for pom(6) (phase of the moon o [1997/04/14] bin/3286 missing error checking in mount_mfs(8) ak o [1997/04/14] kern/3287 missing symbols in /usr/src/sys/i386/i386 o [1997/04/14] kern/3288 addition of a -f (force) option to "write o [1997/04/14] bin/3289 login(1) does not check /etc/skey.access o [1997/04/14] docs/3290 port option in lpd not valid o [1997/04/15] docs/3295 ATAPI CDROM not found during setup o [1997/04/15] kern/3299 /dev/console hangs o [1997/04/15] kern/3302 msdos FS bogus error o [1997/04/15] bin/3303 ftpio manpage o [1997/04/15] ports/3306 ports new port-package for ifmail o [1997/04/17] docs/3313 manpage bug in scsi(8) (cmd args are hex) o [1997/04/17] bin/3314 /etc/daily did not run on April 6, 1997 o [1997/04/17] kern/3317 odd TUBA_INCLUDE use in tcp_input.c o [1997/04/17] ports/3318 ports New port: jigsaw (Java-based HTTP server) o [1997/04/18] ports/3322 markm setlocale problem in lang/perl5 a [1997/04/19] ports/3335 ports new port request of korean/hanemacs o [1997/04/20] ports/3357 ports I make "pari-GP" ports o [1997/04/20] ports/3358 asami XFMail-1.1 has been released o [1997/04/20] bin/3360 su(1) cannot call MD4Init(3) from libskey a [1997/04/20] ports/3363 ports port of nana-1.00 for your collection o [1997/04/21] misc/3368 sysinstall upgrade should confirm before o [1997/04/23] kern/3375 Consistent 10 min. delay at boot with REL o [1997/04/24] bin/3379 mprof dumps core on FreeBSD 2.2.1 o [1997/04/25] docs/3382 bootp.8 -t option o [1997/04/25] ports/3383 ports kaffe core dumps if LD_LIBRARY_PATH not s o [1997/04/25] bin/3386 kernel 'config' wrapper 'doconfig' ala Di o [1997/04/27] ports/3396 ports update of the port of Mesa (now version 2 o [1997/04/27] bin/3397 vipw does not distinguish between rebuild o [1997/04/27] bin/3399 mv of symbolic link can move directory in o [1997/04/27] docs/3400 MAXMEM uses maths in LINT o [1997/04/27] conf/3401 sysinstall sends empty FreeBSD user regis o [1997/04/28] ports/3411 ports New port - Atari 8 bit computer emulator o [1997/04/28] ports/3412 ports New port - Apple IIGS beta release o [1997/04/29] bin/3416 ibcs emulation problems o [1997/04/29] bin/3418 pkg_create doesn't always create gzip'ed o [1997/05/01] kern/3444 Linux emulator can't find NIS users o [1997/05/01] bin/3445 chown/chgrp show wrong error message when o [1997/05/01] bin/3453 start-if.${ifn} needs to be called as a s o [1997/05/01] ports/3455 jmz mtools-3.6.tgz could have a better mtools a [1997/05/01] ports/3457 ports New ports for cutils 1.3.3 and umatrix o [1997/05/01] ports/3458 ports port of Squeak, version 1.18 o [1997/05/01] docs/3464 The ppp.8 manual page is inconsistent wrt o [1997/05/01] misc/3465 make-localhost uses %y to generate year o [1997/05/02] bin/3474 misprint in arpa/telnet.h o [1997/05/02] kern/3475 gdb(ptrace?) cause create/modify times on o [1997/05/03] misc/3476 Please add support for .cpp suffix to sta o [1997/05/03] bin/3477 top wastes 16 characters in USERNAME colu o [1997/05/03] ports/3484 ports libwww is out of date o [1997/05/04] docs/3490 mount.8 manpage refinement about Nm and X s [1997/05/04] ports/3498 ports nn-current port is out of date o [1997/05/04] ports/3499 markm exim port out of date o [1997/05/05] misc/3503 rpc.yppasswdd doesn't start due to typo i o [1997/05/05] i386/3504 New features (and manpage) for netboot o [1997/05/05] bin/3506 more did not show iso-8859-n characters o [1997/05/05] bin/3508 FreeBSD 2.2.1 do not view SCSI disk at sw o [1997/05/06] docs/3522 Man pages close(2) misses fcntl lock info o [1997/05/07] bin/3528 fsck fails to detect some illegal block n o [1997/05/07] ports/3539 ports This is a port of poppassd that should wo 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 o [1997/05/09] bin/3556 Bug with -i option in /usr/bin/lpr o [1997/05/09] bin/3558 make reinstall collapses on install-info o [1997/05/09] kern/3560 Timeout counter bug in /sys/i386/isa/wd.c o [1997/05/09] kern/3571 Mounted ext2 prevents umount of filesyste o [1997/05/10] ports/3574 ports tkgoodstuff's Dialer script has wrong pat o [1997/05/10] misc/3575 compilation of strtoq.c produces unnecess o [1997/05/11] conf/3577 eBones and OBJLINK=yes fails to build o [1997/05/12] kern/3584 cleanup TCP_REASS macro in tcp_input.c o [1997/05/13] conf/3590 Difference in ttys and FAQ o [1997/05/13] kern/3595 param counts not idential between definit f [1997/05/14] ports/3597 ports jp-groff-0.99 port macro update o [1997/05/16] ports/3607 ports FreeBSD-Logo for Fvwm95 Start-Menu 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/18] bin/3623 Extra definition of vwprintw in curses.h o [1997/05/18] ports/3627 ports New port - Atari 2600 VCS emulator o [1997/05/19] docs/3628 Submission of tutorial on how to upgrade o [1997/05/19] ports/3634 ports fvwm95-2.0.43a-i18n-port.tar.gz was put o [1997/05/19] docs/3636 No mention is made in relevant manpages a o [1997/05/19] ports/3637 erich xephem needs a chdir()? o [1997/05/20] bin/3638 /bin/w can't handle long /dev/{tty,cua}xx o [1997/05/20] bin/3639 ac doesn't know about FreeBSD's pty names o [1997/05/20] docs/3643 man page of login_getclass(3) not up-to-d o [1997/05/20] docs/3645 TCP_wrappers package doesn't mention wher o [1997/05/21] bin/3648 find(1) extension for file flags o [1997/05/21] docs/3651 ppp man page urges incorrect use of HISAD o [1997/05/21] ports/3657 ports Port of NCSA HyperNews submitted as p5-hy o [1997/05/21] ports/3658 ports midnight command devel version ports o [1997/05/22] misc/3662 Typo in fortunes2-o o [1997/05/22] i386/3663 Unable to get system printer to work o [1997/05/22] ports/3665 jmz mtools port install fails o [1997/05/22] kern/3667 patches to modularize vnode driver o [1997/05/24] docs/3675 man page of mount(2) of 2.2.2R o [1997/05/25] kern/3678 bug in IPDIVERT code in -current o [1997/05/25] docs/3680 manpage cal.1's SYNOPSIS is incorrect. o [1997/05/25] docs/3681 mapage column.1's EXAMPLE does not match o [1997/05/25] docs/3682 Macro usage in manpage ld.1 is not apropr o [1997/05/25] ports/3687 asami Gnat 3.09 Ada Compiler o [1997/05/27] misc/3695 compiled termcap.db not in distribution o [1997/05/28] docs/3704 not dump(5) man page. o [1997/05/28] bin/3705 /stand/sysinstall hangs. pkg_add also ha o [1997/05/29] docs/3709 manpage vmstat.8 has some problems o [1997/05/29] conf/3713 installation floppy bug o [1997/05/30] bin/3718 Compile of /usr/src/usr.sbin/ppp fails if o [1997/05/30] kern/3720 Addition for supported Hardware o [1997/05/30] kern/3724 sig-11 on package add in sysinstall o [1997/05/30] pending/3728gnats-adminMissing CD-R support for HP 6020 o [1997/05/31] pending/3729gnats-adminpgsql dies when initiated o [1997/05/31] conf/3730 deprecated option g of ls(1) in dot.profi o [1997/05/31] kern/3731 Addition of a PCI Bridge f [1997/05/31] bin/3733 davidn getty with 'to' option causes pppd to die o [1997/05/31] docs/3735 getlogin manpage says wrong OS o [1997/05/31] ports/3737 ports The DHCPD no longer works under FreeBSD 2 o [1997/06/01] kern/3738 Byte and packet counters in ipfw overflow o [1997/06/01] kern/3739 pause key not disabled; weird stuff when o [1997/06/01] conf/3740 use ENV file for sh(1) o [1997/06/01] bin/3741 Mention virtual terminals in MAKEDEV's ma o [1997/06/01] kern/3742 Mention option "CMD640" in manual page wd o [1997/06/01] conf/3751 Improvements to /etc/rc{,.network,.pccard o [1997/06/01] ports/3754 ports tcptrace long format causes segmentation a [1997/06/02] ports/3757 ports port of simpack (I forgott to write the n o [1997/06/02] ports/3758 ports port of SR programming language o [1997/06/02] ports/3759 tg xtem-5.23 (X11 TEx Menu) port submitted ( o [1997/06/02] bin/3762 Bogus return values from rtprio(1) o [1997/06/02] docs/3764 systat(1) -vmstat description seems to be o [1997/06/02] ports/3765 ports New port: mpd-1.0b3 o [1997/06/02] bin/3766 ping has a few missing ntohs() & ntohl() o [1997/06/03] bin/3769 strftime %C should be %c (lstart option) o [1997/06/03] ports/3773 ports Fixed port: qvwm-1.0b8a o [1997/06/04] conf/3775 Time Zone for Sri Lanka - LKT o [1997/06/04] i386/3776 Two typographical errors in the code o [1997/06/04] bin/3777 quiz dies early o [1997/06/04] bin/3778 ypbind -S domainname,server1,... does not o [1997/06/04] bin/3780 WEXITSTATUS() may return nagative value, o [1997/06/04] conf/3782 jkh /stand/sysinstall misbehaviour in rc.conf o [1997/06/04] ports/3784 ports New port: cyrproxy-1.4.1 o [1997/06/04] ports/3786 ports Fixed port: xbakuzan -> xshodo o [1997/06/04] ports/3787 ports ghostscript-3.53 has bad PLIST o [1997/06/05] ports/3788 ports Update port w3-2.2.26 (www/w3). o [1997/06/05] ports/3789 ports Update port mew-1.70 (mail/mew). o [1997/06/05] ports/3790 ports Update port mmm-0.40 (www/mmm). o [1997/06/05] ports/3791 ports Update port jp-camltk41-1.0 (japanese/cam o [1997/06/05] ports/3792 ports Update port jp-mmm-0.40 (japanese/mmm). o [1997/06/05] ports/3793 ports Update port jp-w3-2.2.26 (japanese/w3). o [1997/06/05] ports/3794 ports Update port jp-mew-1.70 (japanese/mew). o [1997/06/05] ports/3795 ports Update port camltk41-1.0 (x11/camltk41). o [1997/06/05] ports/3797 ports New port: starlanes-1.2.2 o [1997/06/06] docs/3798 typo of manpage pkg_* o [1997/06/06] bin/3801 'timed' don't work with option '-n' o [1997/06/07] bin/3805 single process tftpd o [1997/06/07] ports/3806 ports update s3mod to 1.09 o [1997/06/08] docs/3808 The manpage telnet.1 has many bugs. o [1997/06/08] ports/3814 ports xanim upgrade 2.70.6.3 --> 2.70.6.4 o [1997/06/08] ports/3815 ports port of modula 2 compiler o [1997/06/08] ports/3816 ports x11/fvwm2 Makefile contains typo 551 problems total. From owner-freebsd-bugs Mon Jun 9 11:15:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA06139 for bugs-outgoing; Mon, 9 Jun 1997 11:15:59 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA06125; Mon, 9 Jun 1997 11:15:44 -0700 (PDT) From: Andreas Klemm Received: (from andreas@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA10573; Mon, 9 Jun 1997 11:15:33 -0700 (PDT) Date: Mon, 9 Jun 1997 11:15:33 -0700 (PDT) Message-Id: <199706091815.LAA10573@freefall.freebsd.org> To: andreas@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, andreas@FreeBSD.ORG Subject: Re: conf/3511 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: fvwm95 configuration is not present. Responsible-Changed-From-To: freebsd-bugs->andreas Responsible-Changed-By: andreas Responsible-Changed-When: Mon Jun 9 20:14:41 MEST 1997 Responsible-Changed-Why: port maintainer From owner-freebsd-bugs Mon Jun 9 11:17:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA06335 for bugs-outgoing; Mon, 9 Jun 1997 11:17:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA06328; Mon, 9 Jun 1997 11:17:49 -0700 (PDT) From: Andreas Klemm Received: (from andreas@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA10813; Mon, 9 Jun 1997 11:17:37 -0700 (PDT) Date: Mon, 9 Jun 1997 11:17:37 -0700 (PDT) Message-Id: <199706091817.LAA10813@freefall.freebsd.org> To: andreas@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, andreas@FreeBSD.ORG Subject: Re: conf/3016 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: fvwm95-2 does not have system resource file. Responsible-Changed-From-To: freebsd-bugs->andreas Responsible-Changed-By: andreas Responsible-Changed-When: Mon Jun 9 20:14:41 MEST 1997 Responsible-Changed-Why: port maintainer From owner-freebsd-bugs Mon Jun 9 12:20:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA09351 for bugs-outgoing; Mon, 9 Jun 1997 12:20:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA09327; Mon, 9 Jun 1997 12:20:02 -0700 (PDT) Resent-Date: Mon, 9 Jun 1997 12:20:02 -0700 (PDT) Resent-Message-Id: <199706091920.MAA09327@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, admin@citylink.dinoex.sub.org Received: from mail.Contrib.Com (mail.Contrib.Com [194.77.12.8]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA09143 for ; Mon, 9 Jun 1997 12:16:24 -0700 (PDT) Received: from net2.dinoex.sub.org (net2.dinoex.sub.de [193.203.172.193]) by mail.Contrib.Com (8.8.4/8.8.4) with SMTP id VAA00930 for ; Mon, 9 Jun 1997 21:15:58 +0200 (MET DST) Received: from citylink.dinoex.sub.org by net2.dinoex.sub.org with UUCP (Smail3.1.29.1 #1) id m0wb9yn-000DzoC; Mon, 9 Jun 97 21:19 CEST Received: (from admin@localhost) by citylink.dinoex.sub.org (8.8.5/PMuch-B3b) id XAA27007; Sun, 8 Jun 1997 23:10:15 +0200 (CEST) Message-Id: <199706082110.XAA27007@citylink.dinoex.sub.org> Date: Sun, 8 Jun 1997 23:10:15 +0200 (CEST) From: admin@citylink.dinoex.sub.org (Maschinenwart) Reply-To: admin@citylink.dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3818: dd conv=sync makes garbage Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3818 >Category: bin >Synopsis: "dd conv=sync" makes garbage >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 9 12:20:01 PDT 1997 >Last-Modified: >Originator: Peter Much >Organization: Beyond the Future Shockwave: Convenience or Conviviality? >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: nondecident. >Description: manpage for dd says: sync Pad every input block to the input buffer size. Spaces are used for pad bytes if a block oriented conversion value is specified, otherwise NUL bytes are used. but experience shows: Not only NUL bytes are used. Often garbage is used, f.i. if bs lessthan 8k. >How-To-Repeat: $ echo test | dd conv=sync | hexdump >Fix: using osync. But osync is broken in another way: $ echo test | dd conv=osync | dd conv=osync | dd conv=osync | wc 0+1 records in 1+0 records out 512 bytes transferred in 0.001118 secs (457983 bytes/sec) 1+0 records in 2+0 records out 1024 bytes transferred in 0.001328 secs (771089 bytes/sec) 2+0 records in 3+0 records out 1536 bytes transferred in 0.068431 secs (22446 bytes/sec) 1 2 1536 regards, PM >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Jun 9 13:20:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA12432 for bugs-outgoing; Mon, 9 Jun 1997 13:20:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA12390; Mon, 9 Jun 1997 13:20:02 -0700 (PDT) Resent-Date: Mon, 9 Jun 1997 13:20:02 -0700 (PDT) Resent-Message-Id: <199706092020.NAA12390@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, joes@spiritone.com Received: from ridge.spiritone.com (ridge.spiritone.com [205.139.108.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA12083 for ; Mon, 9 Jun 1997 13:13:52 -0700 (PDT) Received: from joes.users.spiritone.com (joes.users.spiritone.com [205.139.111.224]) by ridge.spiritone.com (8.8.5/8.8.5) with ESMTP id NAA16669 for ; Mon, 9 Jun 1997 13:13:20 -0700 (PDT) Received: (from joes@localhost) by joes.users.spiritone.com (8.8.5/8.8.6.Beta4) id MAA11340; Mon, 9 Jun 1997 12:49:16 -0700 (PDT) Message-Id: <199706091949.MAA11340@joes.users.spiritone.com> Date: Mon, 9 Jun 1997 12:49:16 -0700 (PDT) From: Joseph Stein Reply-To: joes@spiritone.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/3819: passwordperiod != passwordtime in man (5) login.conf Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3819 >Category: docs >Synopsis: man (5) login.conf specifies passwordtime for password expiration >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 9 13:20:01 PDT 1997 >Last-Modified: >Originator: Joseph Stein >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: FreeBSD joes.users.spiritone.com 2.2-STABLE FreeBSD 2.2-STABLE #0: Sun Jun 8 12:04:26 PDT 1997 joes@joes.users.spiritone.com:/usr/src/sys/compile/S_ISDN i386 (binaries created just prior to this with a CVSup pull at 1900 hours or so on Sat 07 Jun 1997. and then make world.) >Description: While trying to figure out why passwords were not being set with the appropriate expiration date/time even though the appropriate lines in /etc/login.conf and login.conf.db (made with cap_mkdb), I started digging through the sources. src/usr.bin/passwd/local_passwd.c specifies that the password expiration is taken from the variable 'passwordperiod' and not passwordtime, as is specified in the manual page. >How-To-Repeat: man 5 login.conf grep password /usr/src/usr.bin/passwd/*c >Fix: change the specification to 'passwordperiod', or, change local_passwd to look for 'passwordtime' instead. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Jun 9 13:50:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA14086 for bugs-outgoing; Mon, 9 Jun 1997 13:50:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA14076; Mon, 9 Jun 1997 13:50:02 -0700 (PDT) Resent-Date: Mon, 9 Jun 1997 13:50:02 -0700 (PDT) Resent-Message-Id: <199706092050.NAA14076@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, joes@spiritone.com Received: from ridge.spiritone.com (ridge.spiritone.com [205.139.108.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA13569 for ; Mon, 9 Jun 1997 13:41:16 -0700 (PDT) Received: from joes.users.spiritone.com (joes.users.spiritone.com [205.139.111.224]) by ridge.spiritone.com (8.8.5/8.8.5) with ESMTP id NAA00781 for ; Mon, 9 Jun 1997 13:40:44 -0700 (PDT) Received: (from joes@localhost) by joes.users.spiritone.com (8.8.5/8.8.6.Beta4) id NAA11811; Mon, 9 Jun 1997 13:20:54 -0700 (PDT) Message-Id: <199706092020.NAA11811@joes.users.spiritone.com> Date: Mon, 9 Jun 1997 13:20:54 -0700 (PDT) From: Joseph Stein Reply-To: joes@spiritone.com To: FreeBSD-gnats-submit@FreeBSD.ORG, joes@joes.users.spiritone.com X-Send-Pr-Version: 3.2 Subject: bin/3820: login_cap.c (libutil) doesn't recognize [Yy][Ww] for years/weeks Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3820 >Category: bin >Synopsis: login_cap.c (libutil) doesn't recognize [Yy][Ww] for years/weeks >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 9 13:50:01 PDT 1997 >Last-Modified: >Originator: Joseph Stein >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: FreeBSD joes.users.spiritone.com 2.2-STABLE FreeBSD 2.2-STABLE #0: Sun Jun 8 12:04:26 PDT 1997 joes@joes.users.spiritone.com:/usr/src/sys/compile/S_ISDN i386 Sources CVSup'd Jun 7 circa 19:00 hrs. >Description: The login capabilities database returns the following error: Jun 9 12:53:00 joes passwd: login_getcaptime: class 'subshell' bad value passwordperiod=4w when passwords are changed. man 5 login.conf specifies that you should be able to specify weeks with [w] and years with [y]; login_cap.c specifies that you can use either [Ww] or [Yy] safely (at least right now :) >How-To-Repeat: Make your login.conf database have a 'passwordperiod' equal to a certain number of days, or years. (passwordperiod=4w). Change your password. You'll get the above error message (and your password will not expire). >Fix: The code that scans for the 'y' or 'w' falls through to the next case because it is lacking break; statements. (Is that intentional?) Index: src/lib/libutil/login_cap.c =================================================================== RCS file: /usr/cvs/src/lib/libutil/login_cap.c,v retrieving revision 1.12.2.1 diff -r1.12.2.1 login_cap.c 559a560 > break; 561a563 > break; >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Jun 9 21:00:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA06530 for bugs-outgoing; Mon, 9 Jun 1997 21:00:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA06490; Mon, 9 Jun 1997 21:00:01 -0700 (PDT) Resent-Date: Mon, 9 Jun 1997 21:00:01 -0700 (PDT) Resent-Message-Id: <199706100400.VAA06490@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, jin@iss-p1.lbl.gov Received: from iss-p1.lbl.gov (iss-p1.lbl.gov [131.243.2.47]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA06263 for ; Mon, 9 Jun 1997 20:56:36 -0700 (PDT) Received: (from jin@localhost) by iss-p1.lbl.gov (8.8.5/8.8.5) id UAA20118; Mon, 9 Jun 1997 20:56:35 -0700 (PDT) Message-Id: <199706100356.UAA20118@iss-p1.lbl.gov> Date: Mon, 9 Jun 1997 20:56:35 -0700 (PDT) From: "Jin Guojun[ITG]" Reply-To: jin@iss-p1.lbl.gov To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/3827: fopen/freopen fails on some binary files. Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3827 >Category: kern >Synopsis: fopen/freopen fails on some binary files. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 9 21:00:00 PDT 1997 >Last-Modified: >Originator: Jin Guojun[ITG] >Organization: >Release: FreeBSD 3.0-970527-SNAP i386 >Environment: FreeBSD 3.0-970527-SNAP >Description: freopen() fails on about 50% binary files. It causes application handing. The programs are used for reading images and processing for enhancement. The first part reads the header (Text). When read/fread hang, the top show that it uses all available CPU. If SMP is enabled, this hanging process will take about at least one minute to be killed. In non-SMP kernel, it can be killed immediately. In gdb, after freopen(), do "p ftell(fp)" will get bad memory error. open() has the same problem. The same application using "<" works OK. >How-To-Repeat: No regular pattern for such failure. Normally, for same reading code, keep adding more code after it (such as more subroutines), the reading code will hang at reading same binary file. >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Jun 9 21:20:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA07563 for bugs-outgoing; Mon, 9 Jun 1997 21:20:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA07526; Mon, 9 Jun 1997 21:20:02 -0700 (PDT) Resent-Date: Mon, 9 Jun 1997 21:20:02 -0700 (PDT) Resent-Message-Id: <199706100420.VAA07526@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, josh@quick.net Received: from jg.webmaster.com (josh@stanton-1-11.quick.net [207.212.170.111]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA07315 for ; Mon, 9 Jun 1997 21:15:22 -0700 (PDT) Received: (from josh@localhost) by jg.webmaster.com (8.8.6.Beta5/8.8.6.Beta5) id VAA07918; Mon, 9 Jun 1997 21:15:12 -0700 (PDT) Message-Id: <199706100415.VAA07918@jg.webmaster.com> Date: Mon, 9 Jun 1997 21:15:12 -0700 (PDT) From: josh@quick.net Reply-To: josh@quick.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/3828: intro.1 missing comma Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3828 >Category: docs >Synopsis: intro.1 missing comma >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 9 21:20:01 PDT 1997 >Last-Modified: >Originator: Josh Gilliam >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: intro.1 rev 1.9 >Description: 'file manipulation commands system status commands' -> 'file manipulation commands, system status commands' >How-To-Repeat: man 1 intro >Fix: --- intro.1.orig Tue Apr 22 02:26:43 1997 +++ intro.1 Mon Jun 9 20:49:25 1997 @@ -46,7 +46,7 @@ Some of the commands included in section one are text editors, command shell interpreters, searching and sorting tools, -file manipulation commands +file manipulation commands, system status commands, remote file copy commands, mail commands, compilers and compiler tools, >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Jun 9 21:30:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA08156 for bugs-outgoing; Mon, 9 Jun 1997 21:30:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA08147; Mon, 9 Jun 1997 21:30:02 -0700 (PDT) Resent-Date: Mon, 9 Jun 1997 21:30:02 -0700 (PDT) Resent-Message-Id: <199706100430.VAA08147@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, josh@quick.net Received: from jg.webmaster.com (josh@stanton-1-11.quick.net [207.212.170.111]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA07643 for ; Mon, 9 Jun 1997 21:21:08 -0700 (PDT) Received: (from josh@localhost) by jg.webmaster.com (8.8.6.Beta5/8.8.6.Beta5) id VAA08075; Mon, 9 Jun 1997 21:21:06 -0700 (PDT) Message-Id: <199706100421.VAA08075@jg.webmaster.com> Date: Mon, 9 Jun 1997 21:21:06 -0700 (PDT) From: josh@quick.net Reply-To: josh@quick.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3829: ftp 'Meg/s' -> 'Mbytes/s' Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3829 >Category: bin >Synopsis: ftp 'Meg/s' -> 'Mbytes/s' >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 9 21:30:01 PDT 1997 >Last-Modified: >Originator: Josh Gilliam >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: ftp.c rev 1.7 >Description: To be consistent with 'Kbytes/s', 'Meg/s' should be changed to 'Mbytes/s'. >How-To-Repeat: grep Meg ftp.c >Fix: --- ftp.c.orig Fri Aug 23 02:33:32 1996 +++ ftp.c Mon Jun 9 20:53:07 1997 @@ -1164,7 +1164,7 @@ #define nz(x) ((x) == 0 ? 1 : (x)) bs = bytes / nz(s); if(bs > ( 1024 * 1024 )) - printf("%ld bytes %s in %.2f seconds (%.2f Meg/s)\n", + printf("%ld bytes %s in %.2f seconds (%.2f Mbytes/s)\n", bytes, direction, s, bs / (1024. * 1024.)); else printf("%ld bytes %s in %.2f seconds (%.2f Kbytes/s)\n", >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Jun 9 21:30:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA08174 for bugs-outgoing; Mon, 9 Jun 1997 21:30:10 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA08160; Mon, 9 Jun 1997 21:30:04 -0700 (PDT) Resent-Date: Mon, 9 Jun 1997 21:30:04 -0700 (PDT) Resent-Message-Id: <199706100430.VAA08160@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, josh@quick.net Received: from jg.webmaster.com (josh@stanton-1-11.quick.net [207.212.170.111]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA07969 for ; Mon, 9 Jun 1997 21:27:35 -0700 (PDT) Received: (from josh@localhost) by jg.webmaster.com (8.8.6.Beta5/8.8.6.Beta5) id VAA08236; Mon, 9 Jun 1997 21:27:31 -0700 (PDT) Message-Id: <199706100427.VAA08236@jg.webmaster.com> Date: Mon, 9 Jun 1997 21:27:31 -0700 (PDT) From: josh@quick.net Reply-To: josh@quick.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3830: ppp ``show ?'' mis-aligned Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3830 >Category: bin >Synopsis: ppp ``show ?'' mis-aligned >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 9 21:30:03 PDT 1997 >Last-Modified: >Originator: Josh Gilliam >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: ... proto : Show protocol summary reconnect: Show Reconnect timer,tries redial : Show Redial timeout value ... >How-To-Repeat: ppp show ? >Fix: --- command.c.orig Mon Jun 9 01:16:17 1997 +++ command.c Mon Jun 9 20:56:58 1997 @@ -101,7 +101,7 @@ n = 0; for (cmd = plist; cmd->func; cmd++) if (cmd->name && (cmd->lauth & VarLocalAuth)) { - fprintf(VarTerm, " %-8s: %-20s\n", cmd->name, cmd->helpmes); + fprintf(VarTerm, " %-9s: %-20s\n", cmd->name, cmd->helpmes); n++; } >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Jun 9 23:21:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA12815 for bugs-outgoing; Mon, 9 Jun 1997 23:21:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA12796; Mon, 9 Jun 1997 23:20:36 -0700 (PDT) From: Masafumi NAKANE Received: (from max@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA16018; Mon, 9 Jun 1997 23:20:20 -0700 (PDT) Date: Mon, 9 Jun 1997 23:20:20 -0700 (PDT) Message-Id: <199706100620.XAA16018@freefall.freebsd.org> To: max@FreeBSD.ORG, gnats-admin@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: pending/3826 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: KerberosIV sometimes hangs rcp Responsible-Changed-From-To: gnats-admin->freebsd-bugs Responsible-Changed-By: max Responsible-Changed-When: Mon Jun 9 23:19:19 PDT 1997 Responsible-Changed-Why: Misfiled PR. From owner-freebsd-bugs Mon Jun 9 23:23:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA12894 for bugs-outgoing; Mon, 9 Jun 1997 23:23:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA12873; Mon, 9 Jun 1997 23:23:25 -0700 (PDT) From: Masafumi NAKANE Received: (from max@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA16103; Mon, 9 Jun 1997 23:23:09 -0700 (PDT) Date: Mon, 9 Jun 1997 23:23:09 -0700 (PDT) Message-Id: <199706100623.XAA16103@freefall.freebsd.org> To: max@FreeBSD.ORG, gnats-admin@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: pending/3746 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Old Synopsis: New Synopsis: daemon screen saver missing Responsible-Changed-From-To: gnats-admin->freebsd-bugs Responsible-Changed-By: max Responsible-Changed-When: Mon Jun 9 23:20:38 PDT 1997 Responsible-Changed-Why: Misfiled PR. From owner-freebsd-bugs Mon Jun 9 23:28:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA13137 for bugs-outgoing; Mon, 9 Jun 1997 23:28:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA13096; Mon, 9 Jun 1997 23:27:10 -0700 (PDT) From: Masafumi NAKANE Received: (from max@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA16186; Mon, 9 Jun 1997 23:26:54 -0700 (PDT) Date: Mon, 9 Jun 1997 23:26:54 -0700 (PDT) Message-Id: <199706100626.XAA16186@freefall.freebsd.org> To: max@FreeBSD.ORG, gnats-admin@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: pending/3799 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: make world failing on 2.2.1 Responsible-Changed-From-To: gnats-admin->freebsd-bugs Responsible-Changed-By: max Responsible-Changed-When: Mon Jun 9 23:25:48 PDT 1997 Responsible-Changed-Why: Misfiled PR. From owner-freebsd-bugs Tue Jun 10 02:20:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA21827 for bugs-outgoing; Tue, 10 Jun 1997 02:20:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA21812; Tue, 10 Jun 1997 02:20:02 -0700 (PDT) Resent-Date: Tue, 10 Jun 1997 02:20:02 -0700 (PDT) Resent-Message-Id: <199706100920.CAA21812@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, rohrbach@nacamar.net Received: from www.dino-online.de (www.dino-online.de [194.162.123.45]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA21678 for ; Tue, 10 Jun 1997 02:17:16 -0700 (PDT) Received: (from root@localhost) by www.dino-online.de (8.8.5/8.8.5) id LAA18153; Tue, 10 Jun 1997 11:16:47 GMT Message-Id: <199706101116.LAA18153@www.dino-online.de> Date: Tue, 10 Jun 1997 11:16:47 GMT From: rohrbach@nacamar.net Reply-To: rohrbach@nacamar.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3834: /stand/sysinstall dumps core while fetching package index Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3834 >Category: bin >Synopsis: /stand/sysinstall dumps core while fetching package index >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 10 02:20:01 PDT 1997 >Last-Modified: >Originator: Karsten W. Rohrbach >Organization: Nacamar Data Communications GmbH >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: ppro200, 128mb ram aha2940uw, 2*2G, 2*4G ultrawide fast scsi disks >Description: /stand/sysinstall dumps core after configure.packages, media ftp, site ftp.freebsd.org, fetching package index stop. >How-To-Repeat: try to install a package via ftp >Fix: unknown >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Jun 10 05:50:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA02364 for bugs-outgoing; Tue, 10 Jun 1997 05:50:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA02351; Tue, 10 Jun 1997 05:50:01 -0700 (PDT) From: David Greenman Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA28340; Tue, 10 Jun 1997 05:49:43 -0700 (PDT) Date: Tue, 10 Jun 1997 05:49:43 -0700 (PDT) Message-Id: <199706101249.FAA28340@freefall.freebsd.org> To: josh@quick.net, davidg@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/3829 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: ftp 'Meg/s' -> 'Mbytes/s' State-Changed-From-To: open-closed State-Changed-By: davidg State-Changed-When: Tue Jun 10 05:49:26 PDT 1997 State-Changed-Why: Patch applied. From owner-freebsd-bugs Tue Jun 10 08:31:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA11001 for bugs-outgoing; Tue, 10 Jun 1997 08:31:36 -0700 (PDT) Received: from bagpuss.visint.co.uk (bagpuss.vis.net.uk [194.207.134.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA10994 for ; Tue, 10 Jun 1997 08:31:28 -0700 (PDT) Received: from dylan.visint.co.uk (dylan.visint.co.uk [194.207.134.180]) by bagpuss.visint.co.uk (8.7.5/8.7.3) with SMTP id QAA11940 for ; Tue, 10 Jun 1997 16:31:13 +0100 (BST) Date: Tue, 10 Jun 1997 16:31:13 +0100 (BST) From: Stephen Roome To: bugs@freebsd.org Subject: blkfree.. Panic in 2.2.2-RELEASE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Mostly irrelevant, but I was just trying to install bisdn (which is a nightmare!) and while config was trying to remove the old directory ../../compile/BRIAN (as it does) it panicked.. it said something like this : panic: blkfree. while freeing block I can't give much more information on the panic as it just tried to sync and reboot and I didn't have a terminal next to me to jot down what it was saying. My disc is now apparently un-fsckable, which is nice. Unfortunately it's the generic kernel which I only installed yesterday, it's a blank system with only pine/zsh/colorls installed, I have done nothing of consequence to it apart from changing root's password and downloading some files to compile. I haven't run anything more than diff, patch, gcc,make,config, colorls,ls and cd, and pico. (you get the idea) Basically, I've done nothing out of the ordinary. I'd submit a pr, but I haven't really got the faintest idea what happened. *rantings about 2.2 - ignore* I'm installing this 2.2 release in the hope that 2.2 is a thoroughly tried and tested stable platform - but I'm having my doubts now. Until now this box had been (like the other 5 boxes here) running 3.0-970209-SNAP, which I've only managed to crash once by unloading the linux emulator while playing linux xquake. Well, anyway, in my expereince current is more stable than stable. Any suggestions whats' causing this, I can't very well stick with 2.2 if it's going to crash after a generic install, I have to use ISDN, do I start using Linux ? Or should I move back to the more stable 3.0-snapshots! Okay, I'm probably just unlucky or have broken hardware. Steve Roome. (stressed/angry/miserable person who doesn't get it) From owner-freebsd-bugs Tue Jun 10 09:03:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA13066 for bugs-outgoing; Tue, 10 Jun 1997 09:03:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA13046; Tue, 10 Jun 1997 09:02:59 -0700 (PDT) From: "Justin T. Gibbs" Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA00958; Tue, 10 Jun 1997 09:02:40 -0700 (PDT) Date: Tue, 10 Jun 1997 09:02:40 -0700 (PDT) Message-Id: <199706101602.JAA00958@freefall.freebsd.org> To: gibbs@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, gibbs@FreeBSD.ORG Subject: Re: i386/3776 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Two typographical errors in the code Responsible-Changed-From-To: freebsd-bugs->gibbs Responsible-Changed-By: gibbs Responsible-Changed-When: Tue Jun 10 09:00:42 PDT 1997 Responsible-Changed-Why: Since everyone seems to think I know something about this driver, I guess I'll take this one. Gee. You touch one EtherExpress driver they think you've touched 'em all. From owner-freebsd-bugs Tue Jun 10 10:10:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA17438 for bugs-outgoing; Tue, 10 Jun 1997 10:10:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA17428; Tue, 10 Jun 1997 10:10:02 -0700 (PDT) Resent-Date: Tue, 10 Jun 1997 10:10:02 -0700 (PDT) Resent-Message-Id: <199706101710.KAA17428@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, jin@iss-p1.lbl.gov Received: from iss-p1.lbl.gov (iss-p1.lbl.gov [131.243.2.47]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA16683 for ; Tue, 10 Jun 1997 10:01:47 -0700 (PDT) Received: (from jin@localhost) by iss-p1.lbl.gov (8.8.5/8.8.5) id KAA20826; Tue, 10 Jun 1997 10:01:46 -0700 (PDT) Message-Id: <199706101701.KAA20826@iss-p1.lbl.gov> Date: Tue, 10 Jun 1997 10:01:46 -0700 (PDT) From: "Jin Guojun[ITG]" Reply-To: jin@iss-p1.lbl.gov To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/3835: SMP kernel crash on enable "dumps on wd0" Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3835 >Category: kern >Synopsis: SMP kernel crash on enable "dumps on wd0" >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 10 10:10:01 PDT 1997 >Last-Modified: >Originator: Jin Guojun[ITG] >Organization: >Release: FreeBSD 3.0-970527-SNAP i386 >Environment: FreeBSD 3.0-970527-SNAP >Description: Once "dumps on wd0" is provided on "config kernel" line, system will not boot up. It crashs after -- (enable DDB to see) ... npx0 on motherboard npx0: INT 16 interface amp0: disabled, not probed. Fatal trap 12: page fault while in kernel mode cpunumber = 0 fault virtual address = 0xac . . . Stopped at _tsleep + 0x35: movl 0xac (%ebx),%eax >How-To-Repeat: config kernel by using config kernel root on wd0 dumps on wd0 On any dual Pentium machines with one or two CPUs. It is regardless the savecore or dumpdev in rc.conf options. It crashes before -- sio0:65 events for device with no tp Normal boot up messages: ... npx0 on motherboard npx0: INT 16 interface apm0: disabled, not probed. sio0: 65 events for device with no tp sio1: 65 events for device with no tp After dumps on wd0 used, you will see the problem in Description section. >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Jun 10 12:20:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA25814 for bugs-outgoing; Tue, 10 Jun 1997 12:20:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA25799; Tue, 10 Jun 1997 12:20:02 -0700 (PDT) Resent-Date: Tue, 10 Jun 1997 12:20:02 -0700 (PDT) Resent-Message-Id: <199706101920.MAA25799@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, muir@ping.idiom.com Received: from ping.idiom.com (idiom-frVT1-gw.sf.tlg.net [140.174.37.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA25443 for ; Tue, 10 Jun 1997 12:15:34 -0700 (PDT) Received: (from muir@localhost) by ping.idiom.com (8.8.3/8.8.3) id MAA09307; Tue, 10 Jun 1997 12:15:33 -0700 (PDT) Message-Id: <199706101915.MAA09307@ping.idiom.com> Date: Tue, 10 Jun 1997 12:15:33 -0700 (PDT) From: David Muir Sharnoff Reply-To: muir@ping.idiom.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/3836: Cannot remove HUGE directory Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3836 >Category: kern >Synopsis: Cannot remove HUGE directory >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 10 12:20:01 PDT 1997 >Last-Modified: >Originator: David Muir Sharnoff >Organization: Idiom >Release: FreeBSD 2.1.7.1-RELEASE i386 >Environment: A news system, without expire running... >Description: Quite accidently, I managed to create a directory with a large number of files in it. I'm not sure how many. The directory itself is 12MB. I suspect there are about 750,000 files in there. If I run find on that directory, the find process immediately bloats to 35MB. If I run rm on that directory, the rm process immediately bloats to 35MB. Using a simple perl program (doesn't bloat) I'm able to remove one file every two seconds or so. At this rate, it will take over four days to remove the directory! This bug report is not filed in complete seriousness. Most poeple aren't likely to run into this problem. >How-To-Repeat: Run news. Take a full feed of control. Don't run expire for two weeks. >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Jun 10 15:00:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA06357 for bugs-outgoing; Tue, 10 Jun 1997 15:00:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA06327; Tue, 10 Jun 1997 15:00:03 -0700 (PDT) Resent-Date: Tue, 10 Jun 1997 15:00:03 -0700 (PDT) Resent-Message-Id: <199706102200.PAA06327@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, luigi@iet.unipi.it Received: from prova.iet.unipi.it (prova1.iet.unipi.it [131.114.9.11]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA06028 for ; Tue, 10 Jun 1997 14:53:34 -0700 (PDT) Received: (from luigi@localhost) by prova.iet.unipi.it (8.8.5/8.8.5) id XAA01012; Tue, 10 Jun 1997 23:54:19 +0200 (CEST) Message-Id: <199706102154.XAA01012@prova.iet.unipi.it> Date: Tue, 10 Jun 1997 23:54:19 +0200 (CEST) From: Luigi Rizzo Reply-To: luigi@iet.unipi.it To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3837: new feature for rtprio Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3837 >Category: bin >Synopsis: new feature for rtprio >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 10 15:00:01 PDT 1997 >Last-Modified: >Originator: Luigi Rizzo >Organization: Dip. Ing. Informazione Univ. Pisa >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: >Description: This patch allows users listed in /etc/rtprio.conf to set realtime priorities for processes. Useful to let non-root users burn CDs. I also include the small manpage change. >How-To-Repeat: >Fix: --- rtprio.1.orig Fri Mar 7 08:45:39 1997 +++ rtprio.1 Tue Jun 10 23:47:26 1997 @@ -107,8 +107,15 @@ .Ar Pid of 0 means "the current process". .Pp -Only root is allowed to set realtime priorities. Non-root processes may +Only root or users listed in +.Ar /etc/rtprio.conf +are +allowed to set realtime priorities. Non-allowed processes may set idle priority levels for the current process only. +.Pp +.Ar /etc/rtprio.conf +must be be a regular file owned by root and not writable by other users. +It contains one username per line, starting at the beginning of the line. .Sh RETURN VALUE If .Nm rtprio --- rtprio.c.orig Sun Oct 2 05:48:21 1994 +++ rtprio.c Tue Jun 10 23:43:07 1997 @@ -46,6 +46,77 @@ static void usage(); +/* + * this module checks which modules are allowed to set rtpriority. + * Allowed users are listed in /etc/rtprio.conf, which must not be + * writable by others than root. One user per line, starting at + * the beginning. + * + */ + +#include +#include +#include + +#define _PATH_RTPRIOCONF "/etc/rtprio.conf" + +int +allowed_user() +{ + FILE *fp; + char line[BUFSIZ]; + int lineno = 0 ; + int end ; + uid_t uid; + struct passwd *pw; + struct stat sb; + + uid = getuid() ; + if (uid == 0) + return 1; /* root is always allowed */ + + if (stat(_PATH_RTPRIOCONF, &sb)) + return 0; + + /* + * the access control file must be a regular file, owned by + * root and not writable by others + * + */ + if ( (sb.st_uid != 0) || ( (sb.st_mode & S_IFMT) != S_IFREG) || + ( (sb.st_mode & (S_IWGRP | S_IWOTH)) != 0 ) ) { + syslog(LOG_ERR, "%s: bad permissions, ignoring it", + _PATH_RTPRIOCONF); + return 0 ; + } + /* should check that _PATH_RTPRIOCONF is only writable by root. */ + + if (fp = fopen(_PATH_RTPRIOCONF, "r")) { + while (fgets(line, sizeof(line), fp)) { + lineno++; + if (line[end = strlen(line) - 1] != '\n') { + syslog(LOG_ERR, "%s: line %d: missing newline or line too long", + _PATH_RTPRIOCONF, lineno); + continue; + } + while (end > 0 && isspace(line[end - 1])) + end--; + line[end] = 0; + if (line[0] == 0) + continue; + pw = getpwnam(line) ; + if ( pw && pw->pw_uid == uid ) { + fclose(fp); + return 1 ; + } + } + fclose(fp); + } + syslog(LOG_ERR, "%s: userid %d not allowed", + _PATH_RTPRIOCONF, uid); + return 0 ; +} + int main(argc, argv) int argc; @@ -55,6 +126,7 @@ int proc = 0; struct rtprio rtp; + seteuid( getuid() ); /* drop privileges immediately */ /* find basename */ if ((p = rindex(argv[0], '/')) == NULL) p = argv[0]; @@ -113,10 +185,13 @@ if (argv[2][0] == '-') proc = -atoi(argv[2]); + if (allowed_user()) + seteuid(0); /* raise privilege */ if (rtprio(RTP_SET, proc, &rtp) != 0) { perror(argv[0]); exit (1); } + seteuid(getuid()); /* lower privilege again */ if (proc == 0) { execvp(argv[2], &argv[2]); >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Jun 10 15:50:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA09551 for bugs-outgoing; Tue, 10 Jun 1997 15:50:57 -0700 (PDT) Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id PAA09546 for ; Tue, 10 Jun 1997 15:50:51 -0700 (PDT) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA08554; Tue, 10 Jun 1997 18:50:09 -0400 Received: from ponds by dg-rtp.dg.com.rtp.dg.com; Tue, 10 Jun 1997 18:50 EDT Received: from lakes.water.net (lakes [10.0.0.3]) by ponds.water.net (8.8.5/8.7.3) with ESMTP id OAA24875; Tue, 10 Jun 1997 14:29:01 -0400 (EDT) Received: (from rivers@localhost) by lakes.water.net (8.8.5/8.6.9) id OAA13277; Tue, 10 Jun 1997 14:36:51 -0400 (EDT) Date: Tue, 10 Jun 1997 14:36:51 -0400 (EDT) From: Thomas David Rivers Message-Id: <199706101836.OAA13277@lakes.water.net> To: ponds!FreeBSD.ORG!bugs, ponds!visint.co.uk!steve Subject: Re: blkfree.. Panic in 2.2.2-RELEASE Content-Type: text Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Steve - See below... Steve Roome writes: > > Mostly irrelevant, but I was just trying to install bisdn (which is a > nightmare!) and while config was trying to remove the old directory > ../../compile/BRIAN (as it does) it panicked.. > > it said something like this : > > panic: blkfree. while freeing block > > I can't give much more information on the panic as it just tried to sync > and reboot and I didn't have a terminal next to me to jot down what it > was saying. My disc is now apparently un-fsckable, which is nice. > > Unfortunately it's the generic kernel which I only installed yesterday, > it's a blank system with only pine/zsh/colorls installed, I have done > nothing of consequence to it apart from changing root's password and > downloading some files to compile. I haven't run anything more than diff, > patch, gcc,make,config, colorls,ls and cd, and pico. (you get the idea) > > Basically, I've done nothing out of the ordinary. I'd submit a pr, but I > haven't really got the faintest idea what happened. > ... > > Well, anyway, in my expereince current is more stable than stable. > > Any suggestions whats' causing this, I can't very well stick with 2.2 if > it's going to crash after a generic install, I have to use ISDN, do I > start using Linux ? Or should I move back to the more stable > 3.0-snapshots! Okay, I'm probably just unlucky or have broken hardware. > > Steve Roome. (stressed/angry/miserable person who doesn't get it) > I believe you have tripped over my "daily panic" problem, which has actually existed for some time. Can you forward the details of your system (processor, disk hardware, RAM, etc...) I'll add it to the list. For more information on the "daily panic" problem - search the mail archives for "daily panic." This has been a tough nut to crack; but, we'll get it. - Dave Rivers - From owner-freebsd-bugs Tue Jun 10 15:55:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA09847 for bugs-outgoing; Tue, 10 Jun 1997 15:55:56 -0700 (PDT) Received: from myname.my.domain (1Cust89.Max33.Boston.MA.MS.UU.NET [153.35.85.217]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA09820; Tue, 10 Jun 1997 15:55:39 -0700 (PDT) Received: from myname.my.domain (localhost [127.0.0.1]) by myname.my.domain (8.8.5/8.8.5) with SMTP id TAA00377; Tue, 10 Jun 1997 19:09:00 GMT Message-ID: <339DA64B.41C67EA6@earthlink.net> Date: Tue, 10 Jun 1997 19:08:59 +0000 From: "Michael J. Pelletier" X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG CC: freebsd-bugs@FreeBSD.ORG, ache@FreeBSD.ORG Subject: Speak Freely port... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This port is BROKEN!!! The makefile breaks complaining that the checksum does not match. When you make it with "make NO_CHECKSUM=yes" it breaks again complaining: "Ignoring previously applied (or reversed) patch. 9 out of 9 hunks ignored--saving rejects to Makefile.rej" What is going on? Can someone fix this? I will help someone if necessary. Please, I just purchased a very expensive sound card just for this application. I have installed many of your ports and I have had good luck. The few that have not installed directly were easily fixed. I have never seen this problem.... -- Michael Pelletier From owner-freebsd-bugs Tue Jun 10 17:10:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA14854 for bugs-outgoing; Tue, 10 Jun 1997 17:10:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA14843; Tue, 10 Jun 1997 17:10:02 -0700 (PDT) Date: Tue, 10 Jun 1997 17:10:02 -0700 (PDT) Message-Id: <199706110010.RAA14843@hub.freebsd.org> To: freebsd-bugs Cc: From: "Gary Palmer" Subject: Re: kern/3836: Cannot remove HUGE directory Reply-To: "Gary Palmer" Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/3836; it has been noted by GNATS. From: "Gary Palmer" To: muir@ping.idiom.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/3836: Cannot remove HUGE directory Date: Tue, 10 Jun 1997 20:04:23 -0400 David Muir Sharnoff wrote in message ID <199706101915.MAA09307@ping.idiom.com>: > Using a simple perl program (doesn't bloat) I'm able to remove > one file every two seconds or so. At this rate, it will take > over four days to remove the directory! Tried mounting the parition async? It will help (if you are on a 2.2 or later kernel) Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info From owner-freebsd-bugs Tue Jun 10 17:10:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA14875 for bugs-outgoing; Tue, 10 Jun 1997 17:10:12 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA14858; Tue, 10 Jun 1997 17:10:05 -0700 (PDT) Resent-Date: Tue, 10 Jun 1997 17:10:05 -0700 (PDT) Resent-Message-Id: <199706110010.RAA14858@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, admin@citylink.dinoex.sub.org Received: from mail.Contrib.Com (mail.Contrib.Com [194.77.12.8]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA14540 for ; Tue, 10 Jun 1997 17:07:16 -0700 (PDT) Received: from net2.dinoex.sub.org (net2.dinoex.sub.de [193.203.172.193]) by mail.Contrib.Com (8.8.4/8.8.4) with SMTP id CAA24735 for ; Wed, 11 Jun 1997 02:07:05 +0200 (MET DST) Received: from citylink.dinoex.sub.org by net2.dinoex.sub.org with UUCP (Smail3.1.29.1 #1) id m0wbVYW-000EEcC; Tue, 10 Jun 97 20:22 CEST Received: (from admin@localhost) by citylink.dinoex.sub.org (8.8.5/PMuch-B3b) id RAA21872; Tue, 10 Jun 1997 17:52:31 +0200 (CEST) Message-Id: <199706101552.RAA21872@citylink.dinoex.sub.org> Date: Tue, 10 Jun 1997 17:52:31 +0200 (CEST) From: admin@citylink.dinoex.sub.org (Maschinenwart) Reply-To: admin@citylink.dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/3838: fifos on nfs-mounted fs no longer permitted Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3838 >Category: kern >Synopsis: fifos on nfs-mounted fs no longer permitted >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 10 17:10:04 PDT 1997 >Last-Modified: >Originator: Peter Much >Organization: Beyond the Future Shockwave: Convenience or Conviviality? >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: >Description: mkfifo on a nfs-mounted filesystem will reply: "operation not permitted". This didn't happen with release 2.1.0. (No, the fs isn't mounted with nodev!) >How-To-Repeat: >Fix: Regards, PM >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Jun 10 17:10:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA14902 for bugs-outgoing; Tue, 10 Jun 1997 17:10:19 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA14880; Tue, 10 Jun 1997 17:10:13 -0700 (PDT) Resent-Date: Tue, 10 Jun 1997 17:10:13 -0700 (PDT) Resent-Message-Id: <199706110010.RAA14880@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, admin@citylink.dinoex.sub.org Received: from mail.Contrib.Com (mail.Contrib.Com [194.77.12.8]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA14517 for ; Tue, 10 Jun 1997 17:07:06 -0700 (PDT) Received: from net2.dinoex.sub.org (net2.dinoex.sub.de [193.203.172.193]) by mail.Contrib.Com (8.8.4/8.8.4) with SMTP id CAA24723 for ; Wed, 11 Jun 1997 02:06:57 +0200 (MET DST) Received: from citylink.dinoex.sub.org by net2.dinoex.sub.org with UUCP (Smail3.1.29.1 #1) id m0wbVYV-000EEZC; Tue, 10 Jun 97 20:22 CEST Received: (from admin@localhost) by citylink.dinoex.sub.org (8.8.5/PMuch-B3b) id PAA13626; Tue, 10 Jun 1997 15:28:24 +0200 (CEST) Message-Id: <199706101328.PAA13626@citylink.dinoex.sub.org> Date: Tue, 10 Jun 1997 15:28:24 +0200 (CEST) From: admin@citylink.dinoex.sub.org (Maschinenwart) Reply-To: admin@citylink.dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/3839: X startup undoes keyboard repeat rate Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3839 >Category: kern >Synopsis: X startup undoes keyboard repeat rate (pcvt) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 10 17:10:07 PDT 1997 >Last-Modified: >Originator: Peter Much >Organization: Beyond the Future Shockwave: Convenience or Conviviality? >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: XFree86 compiled and installed as contained in ports-package for 2.2.1 (just like everything else) >Description: Keyboard-repeat-rate (pcvt) is quite slow here. So I'm setting it faster with kcon from /etc/rc.local. When the X-Server starts up, repeat-rate is reset to original value - efficient both within X and on the virtual tty's. This wasn't the case with FreeBSD-2.1.0 - there the keyrepeat-rate within X did follow the kcon setting and wasn't reset. (People told me the keyrepeat-rate for X should be separately configured via XF86Config. This does not work, anyway.) >How-To-Repeat: >Fix: Use xdm. Reconfigure kcon from xdm/Xsetup, after X server startup. regards, PM >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Jun 10 17:58:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA17588 for bugs-outgoing; Tue, 10 Jun 1997 17:58:27 -0700 (PDT) Received: from TYO9.gate.nec.co.jp (TYO9.gate.nec.co.jp [203.180.98.35]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA17581 for ; Tue, 10 Jun 1997 17:58:22 -0700 (PDT) Received: from mailsv.nec.co.jp ([133.200.254.203]) by TYO9.gate.nec.co.jp (8.8.5+2.7Wbeta5/3.4Wb-NEC-TYO9) with ESMTP id JAA23703 for ; Wed, 11 Jun 1997 09:58:19 +0900 (JST) Received: from ssse15.sss.abk.nec.co.jp (ssse15.sss.abk.nec.co.jp [133.206.64.65]) by mailsv.nec.co.jp (8.8.5+2.7Wbeta5/3.4W-97042209) with ESMTP id JAA25198 for ; Wed, 11 Jun 1997 09:58:18 +0900 (JST) Received: from sssfw.sss.abk.nec.co.jp (sssfw [133.206.64.1]) by ssse15.sss.abk.nec.co.jp (8.7.5+2.6Wbeta6/CF3.3W9-SSS_M950609) with ESMTP id JAA02277 for ; Wed, 11 Jun 1997 09:58:46 +0900 (JST) Received: by sssfw.sss.abk.nec.co.jp (8.7.5+2.6Wbeta6/3.4W2) id JAA29574; Wed, 11 Jun 1997 09:57:42 +0900 (JST) Received: from p28.sss.abk.nec.co.jp by e2.sss.abk.nec.co.jp (8.7.6+2.6Wbeta7/3.3W9-NEC) id JAA09081; Wed, 11 Jun 1997 09:58:23 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by p28.sss.abk.nec.co.jp (8.8.5/3.4W403/27/97) with SMTP id JAA04150; Wed, 11 Jun 1997 09:58:22 +0900 (JST) Message-Id: <199706110058.JAA04150@p28.sss.abk.nec.co.jp> X-Authentication-Warning: p28.sss.abk.nec.co.jp: localhost [127.0.0.1] didn't use HELO protocol To: freebsd-bugs@FreeBSD.org cc: h-nokubi@nmit.mt.nec.co.jp From: h-nokubi@nmit.mt.nec.co.jp Subject: sysinstall causes segmentation fault by repeating cancel with ESC at FTP site setting Mime-Version: 1.0 (generated by tm-edit 7.53) Content-Type: text/plain; charset=US-ASCII Date: Wed, 11 Jun 1997 09:58:22 +0900 Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk PR bin/3218 which I sent is still openning. Probably, because I sent it with wrong title, or ranked it non-critical? But I believe it's obvious bug, and the patch included in the PR makes sysinstall more robust. And, I'm maintaining src/release for PC98 architecture, I'd like to make difference between AT and PC98 as small as possible. So, someone apply the patch and close the PR? Please. Thanks NOKUBI Hirotaka From owner-freebsd-bugs Tue Jun 10 18:12:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA18571 for bugs-outgoing; Tue, 10 Jun 1997 18:12:05 -0700 (PDT) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA18479; Tue, 10 Jun 1997 18:11:55 -0700 (PDT) Received: (from asami@localhost) by vader.cs.berkeley.edu (8.8.5/8.7.3) id SAA04775; Tue, 10 Jun 1997 18:11:07 -0700 (PDT) Date: Tue, 10 Jun 1997 18:11:07 -0700 (PDT) Message-Id: <199706110111.SAA04775@vader.cs.berkeley.edu> To: mjpell@earthlink.net CC: freebsd-questions@freebsd.org, freebsd-bugs@freebsd.org, ache@freebsd.org In-reply-to: <339DA64B.41C67EA6@earthlink.net> (mjpell@earthlink.net) Subject: Re: Speak Freely port... From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * CC: freebsd-bugs@freebsd.org, ache@freebsd.org Don't post questions to more than one list. That is one very good way to discourage people from answering questions. (For this one, ache and ports would have been sufficient because this is a port maintained by ache.) * This port is BROKEN!!! The makefile breaks complaining that the * checksum does not match. When you make it with "make NO_CHECKSUM=yes" * it breaks again complaining: Get the tarball from ftp.freebsd.org. "make MASTER_SITE_FREEBSD=t" should do. Remember, the distfiles dir on ftp.freebsd.org is kept relatively recent. Most of the ports in ports-current have the latest tarball there. Satoshi From owner-freebsd-bugs Tue Jun 10 19:34:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA22642 for bugs-outgoing; Tue, 10 Jun 1997 19:34:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA22602; Tue, 10 Jun 1997 19:33:59 -0700 (PDT) From: Satoshi Asami Received: (from asami@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA01858; Tue, 10 Jun 1997 19:33:56 -0700 (PDT) Date: Tue, 10 Jun 1997 19:33:56 -0700 (PDT) Message-Id: <199706110233.TAA01858@freefall.freebsd.org> To: asami@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: bin/3218 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Old Synopsis: syscons causes segmentation fault by repeating cancel with ESC at FTP site setting New Synopsis: sysinstall causes segmentation fault by repeating cancel with ESC at FTP site setting Responsible-Changed-From-To: freebsd-bugs->jkh Responsible-Changed-By: asami Responsible-Changed-When: Tue Jun 10 19:31:20 PDT 1997 Responsible-Changed-Why: Mr. sysinstall From owner-freebsd-bugs Tue Jun 10 19:50:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA23490 for bugs-outgoing; Tue, 10 Jun 1997 19:50:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA23484; Tue, 10 Jun 1997 19:50:02 -0700 (PDT) Resent-Date: Tue, 10 Jun 1997 19:50:02 -0700 (PDT) Resent-Message-Id: <199706110250.TAA23484@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, dbabler@Rigel.orionsys.com Received: from Rigel.orionsys.com (dbabler@rigel.orionsys.com [205.148.224.9]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA23250 for ; Tue, 10 Jun 1997 19:44:47 -0700 (PDT) Received: (from dbabler@localhost) by Rigel.orionsys.com (8.8.5/8.6.9) id TAA11260; Tue, 10 Jun 1997 19:44:29 -0700 (PDT) Message-Id: <199706110244.TAA11260@Rigel.orionsys.com> Date: Tue, 10 Jun 1997 19:44:29 -0700 (PDT) From: David Babler Reply-To: dbabler@Rigel.orionsys.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: gnu/3844: Missing files for 2.2.2-RELEASE Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3844 >Category: gnu >Synopsis: Missing files for 2.2.2-RELEASE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 10 19:50:01 PDT 1997 >Last-Modified: >Originator: David Babler >Organization: Orion Online >Release: FreeBSD 2.2-STABLE i386 >Environment: >Description: The Makefile in /usr/src/gnu/lib/libreadline refers to non-existant files. >How-To-Repeat: CVsup RELENG_2_2_2_RELEASE and executed 'make world'. Operations fails on: cd /usr/src/gnu/lib/libreadline && make beforeintall install -C -o bin -g bin -m 444 /usr/src/gnu/lib/libreadline/ \ ../../../contrib/libreadline/readline.h /usr/include/readline install: /usr/src/gnu/libreadline/../../../contrib/libreadline/ \ readline.h: No such file or directory ** Error code 71 >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Jun 10 20:10:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA24400 for bugs-outgoing; Tue, 10 Jun 1997 20:10:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA24392; Tue, 10 Jun 1997 20:10:01 -0700 (PDT) Date: Tue, 10 Jun 1997 20:10:01 -0700 (PDT) Message-Id: <199706110310.UAA24392@hub.freebsd.org> To: freebsd-bugs Cc: From: Bruce Evans Subject: Re: kern/3838: fifos on nfs-mounted fs no longer permitted Reply-To: Bruce Evans Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/3838; it has been noted by GNATS. From: Bruce Evans To: admin@citylink.dinoex.sub.org, FreeBSD-gnats-submit@freebsd.org Cc: dfr@freebsd.org Subject: Re: kern/3838: fifos on nfs-mounted fs no longer permitted Date: Wed, 11 Jun 1997 12:54:13 +1000 >mkfifo on a nfs-mounted filesystem will reply: "operation not permitted". >This didn't happen with release 2.1.0. (No, the fs isn't mounted with >nodev!) This was broken in the initial v3 import (rev.1.16), which is essentially the same as Lite2. There are several bugs: 1. In the v2 case, nfsrv_create() lost some special handling for fifos. suser() is always called, although mkfifo doesn't require special privileges. 2. In the v3 case, the new nfsrv_mknod() never had enough special handling for fifos. suser() is always called, except for sockets. 3. In the v3 case, after suser() fails, the error code is eventually thrown away. nfsrv_mknod() returns 0, and mkfifo() returns the bogus errno EIO. Bruce Untested fixes for (1)-(2): diff -c2 nfs_serv.c~ nfs_serv.c *** nfs_serv.c~ Wed Jun 4 11:38:41 1997 --- nfs_serv.c Wed Jun 11 12:43:03 1997 *************** *** 1428,1432 **** if (vap->va_type == VCHR && rdev == 0xffffffff) vap->va_type = VFIFO; ! if (error = suser(cred, (u_short *)0)) { vrele(nd.ni_startdir); free(nd.ni_cnd.cn_pnbuf, M_NAMEI); --- 1427,1432 ---- if (vap->va_type == VCHR && rdev == 0xffffffff) vap->va_type = VFIFO; ! if (vap->va_type == VFIFO && ! (error = suser(cred, (u_short *)0))) { vrele(nd.ni_startdir); free(nd.ni_cnd.cn_pnbuf, M_NAMEI); *************** *** 1622,1626 **** FREE(nd.ni_cnd.cn_pnbuf, M_NAMEI); } else { ! if (error = suser(cred, (u_short *)0)) { vrele(nd.ni_startdir); free((caddr_t)nd.ni_cnd.cn_pnbuf, M_NAMEI); --- 1624,1628 ---- FREE(nd.ni_cnd.cn_pnbuf, M_NAMEI); } else { ! if (vtyp != VFIFO && (error = suser(cred, (u_short *)0))) { vrele(nd.ni_startdir); free((caddr_t)nd.ni_cnd.cn_pnbuf, M_NAMEI); From owner-freebsd-bugs Tue Jun 10 20:30:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA25410 for bugs-outgoing; Tue, 10 Jun 1997 20:30:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA25390; Tue, 10 Jun 1997 20:30:02 -0700 (PDT) Date: Tue, 10 Jun 1997 20:30:02 -0700 (PDT) Message-Id: <199706110330.UAA25390@hub.freebsd.org> To: freebsd-bugs Cc: From: Steve Passe Subject: Re: kern/3835: SMP kernel crash on enable "dumps on wd0" Reply-To: Steve Passe Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/3835; it has been noted by GNATS. From: Steve Passe To: jin@iss-p1.lbl.gov Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/3835: SMP kernel crash on enable "dumps on wd0" Date: Tue, 10 Jun 1997 21:23:32 -0600 Hi, > >Number: 3835 > >Category: kern > >Synopsis: SMP kernel crash on enable "dumps on wd0" > ... > >Description: > > Once "dumps on wd0" is provided on "config kernel" line, > system will not boot up. It crashs after -- (enable DDB to see) I believe the problem is more generic, ie "dumps on sd0" also provokes it. I have not had the time to check it out, there are many things b4 this in the queue! -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-bugs Tue Jun 10 21:45:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA29982 for bugs-outgoing; Tue, 10 Jun 1997 21:45:18 -0700 (PDT) Received: (from jkh@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA29926; Tue, 10 Jun 1997 21:45:01 -0700 (PDT) Date: Tue, 10 Jun 1997 21:45:01 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199706110445.VAA29926@hub.freebsd.org> To: dbabler@Rigel.orionsys.com, jkh, freebsd-bugs Subject: Re: gnu/3844 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Missing files for 2.2.2-RELEASE State-Changed-From-To: open-closed State-Changed-By: jkh State-Changed-When: Tue Jun 10 21:44:38 PDT 1997 State-Changed-Why: This is not a bug, this is pilot error. User has no /usr/src/contrib on their machine. From owner-freebsd-bugs Tue Jun 10 22:20:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA01780 for bugs-outgoing; Tue, 10 Jun 1997 22:20:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA01748; Tue, 10 Jun 1997 22:20:04 -0700 (PDT) Resent-Date: Tue, 10 Jun 1997 22:20:04 -0700 (PDT) Resent-Message-Id: <199706110520.WAA01748@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, lew@mmasia.com Received: (from nobody@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA01477; Tue, 10 Jun 1997 22:14:01 -0700 (PDT) Message-Id: <199706110514.WAA01477@hub.freebsd.org> Date: Tue, 10 Jun 1997 22:14:01 -0700 (PDT) From: lew@mmasia.com To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/3845: cannot find named-xfer executable in 2.1.7 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3845 >Category: bin >Synopsis: cannot find named-xfer executable in 2.1.7 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 10 22:20:01 PDT 1997 >Last-Modified: >Originator: lew >Organization: mmasia >Release: 2.1.7 >Environment: FreeBSD gandalf.mmasia.com 2.1.7-RELEASE FreeBSD 2.1.7-RELEASE #0: Wed Feg 19:08:10 1997 jkh@thingy.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: document explains named-xfer but cannot find the executable on my 2.1.7 release >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Jun 10 23:19:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA04324 for bugs-outgoing; Tue, 10 Jun 1997 23:19:55 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA04318; Tue, 10 Jun 1997 23:19:43 -0700 (PDT) From: John-Mark Gurney Received: (from jmg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA02607; Tue, 10 Jun 1997 23:19:39 -0700 (PDT) Date: Tue, 10 Jun 1997 23:19:39 -0700 (PDT) Message-Id: <199706110619.XAA02607@freefall.freebsd.org> To: lew@mmasia.com, jmg@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/3845 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: cannot find named-xfer executable in 2.1.7 State-Changed-From-To: open-closed State-Changed-By: jmg State-Changed-When: Tue Jun 10 23:18:32 PDT 1997 State-Changed-Why: do a bit more work, it's in /usr/libexec. From owner-freebsd-bugs Wed Jun 11 00:30:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA07696 for bugs-outgoing; Wed, 11 Jun 1997 00:30:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA07689; Wed, 11 Jun 1997 00:30:02 -0700 (PDT) Resent-Date: Wed, 11 Jun 1997 00:30:02 -0700 (PDT) Resent-Message-Id: <199706110730.AAA07689@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, watanabe@komadori.planet.kobe-u.ac.jp Received: from crayon.planet.kobe-u.ac.jp (crayon.planet.kobe-u.ac.jp [133.30.50.177]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA07322 for ; Wed, 11 Jun 1997 00:20:05 -0700 (PDT) Received: (from watanabe@localhost) by crayon.planet.kobe-u.ac.jp (8.8.5/3.5Wpl7-sub) id QAA26419; Wed, 11 Jun 1997 16:14:06 +0900 (JST) Message-Id: <199706110714.QAA26419@crayon.planet.kobe-u.ac.jp> Date: Wed, 11 Jun 1997 16:14:06 +0900 (JST) From: Takeshi WATANABE Reply-To: watanabe@komadori.planet.kobe-u.ac.jp To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/3846: The sample /etc/amd.map has a security hole. Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3846 >Category: misc >Synopsis: The sample /etc/amd.map has a security hole. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 11 00:30:01 PDT 1997 >Last-Modified: >Originator: Takeshi WATANABE >Organization: Kobe University, Kobe, Japan >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: All machines which use "amd" with the default /etc/amd.map >Description: The default /etc/amd.map has a serious security hole. =-=-=-= /defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} * opts:=rw,grpid =-=-=-= If we use this map file, non-privileged user can mount any remote file systems that the remote machines export. If the remote file system contains dangerous SetUID excutable files or world-writable device files, the non-pricileged user can excute or read it. So, he/she can easily get root authority. When the "amd" mount point of this map file is "/net", the cracker can become root, only he/she execute following. /net/crackers.host.machine/.../setuid-shell (where crackers.host.machine exports /...) >How-To-Repeat: Always. >Fix: We should change /etc/amd.map! Following lines are one sample. =-=-=-= /defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} #my.friend.machine opts:=rw,grpid * opts:=rw,grpid,nosuid,nodev =-=-=-= We should use "nosuid" and "nodev" for "*". =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Takeshi WATANABE (watanabe@komadori.planet.kobe-u.ac.jp) Graduate School of Science and Technology, Kobe University Nada, Kobe 657, Japan >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Jun 11 03:20:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA14697 for bugs-outgoing; Wed, 11 Jun 1997 03:20:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA14669; Wed, 11 Jun 1997 03:20:02 -0700 (PDT) Resent-Date: Wed, 11 Jun 1997 03:20:02 -0700 (PDT) Resent-Message-Id: <199706111020.DAA14669@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, sk@igem.msk.su Received: (from nobody@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA14409; Wed, 11 Jun 1997 03:12:04 -0700 (PDT) Message-Id: <199706111012.DAA14409@hub.freebsd.org> Date: Wed, 11 Jun 1997 03:12:04 -0700 (PDT) From: sk@igem.msk.su To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: misc/3848: How to handle UPS? Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3848 >Category: misc >Synopsis: How to handle UPS? >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 11 03:20:00 PDT 1997 >Last-Modified: >Originator: Sergius >Organization: IGEM RAS >Release: 2.2.1 >Environment: i386(Pentium) APC Back-UPC 600 >Description: Cannot find UPS daemon. In other UNIXs there is SIGPWR signal and powerd daemon. I found nothing in FreeBSD... >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Jun 11 04:58:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA18328 for bugs-outgoing; Wed, 11 Jun 1997 04:58:50 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA18318; Wed, 11 Jun 1997 04:58:39 -0700 (PDT) From: "Jordan K. Hubbard" Received: (from jkh@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA05017; Wed, 11 Jun 1997 04:58:34 -0700 (PDT) Date: Wed, 11 Jun 1997 04:58:34 -0700 (PDT) Message-Id: <199706111158.EAA05017@freefall.freebsd.org> To: sk@igem.msk.su, jkh@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: misc/3848 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: How to handle UPS? State-Changed-From-To: open-closed State-Changed-By: jkh State-Changed-When: Wed Jun 11 04:58:04 PDT 1997 State-Changed-Why: This is not a PR, this is a question. Questions should be directed to questions@freebsd.org. From owner-freebsd-bugs Wed Jun 11 11:00:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA07272 for bugs-outgoing; Wed, 11 Jun 1997 11:00:54 -0700 (PDT) Received: from george.lbl.gov (george-2.lbl.gov [131.243.2.12]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id LAA07245; Wed, 11 Jun 1997 11:00:30 -0700 (PDT) Received: (jin@localhost) by george.lbl.gov (8.6.10/8.6.5) id LAA25666; Wed, 11 Jun 1997 11:00:27 -0700 Date: Wed, 11 Jun 1997 11:00:27 -0700 From: "Jin Guojun[ITG]" Message-Id: <199706111800.LAA25666@george.lbl.gov> To: smp@csn.net Subject: Re: ASUS P/I-P65UP5 + C-P55T2D dual Pentium MB (kern/3827) Cc: brian@mpress.com, bugs@FreeBSD.ORG, smp@FreeBSD.ORG Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > about the fopen problem, any specific program demonstrate this? I would > thing things would fall over left and right if fopen() had a problem. It will not happen if the program is small. I am working on it right now. It has the similar symptom as using libc_r under 2.2.1. I am not sure they are related, but they happen when the program growing or some libraries linked. I'd like to fix these two problems A.S.A.P. I am going to spend most of my time diring next a couple of weeks to track down the problem, and/or fix it/them. If you or some one in FreeBSD team can help me or work with me on this fixing, it will be appreciated. Thanks, -Jin From owner-freebsd-bugs Wed Jun 11 11:02:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA07354 for bugs-outgoing; Wed, 11 Jun 1997 11:02:35 -0700 (PDT) Received: from sequoia.svd.avanticorp.com (nat-30.avanti.net [207.220.204.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA07349 for ; Wed, 11 Jun 1997 11:02:33 -0700 (PDT) Received: from pc-mailhost.svd (pc-mailhost.svd.avanticorp.com [192.168.11.19]) by sequoia.svd.avanticorp.com (8.8.5/8.8.4) with SMTP id LAA17174 for ; Wed, 11 Jun 1997 11:01:50 -0700 (PDT) Received: from kitty by pc-mailhost.svd (SMI-8.6/SMI-SVR4) id LAA19165; Wed, 11 Jun 1997 11:01:50 -0700 Message-ID: <339E3F53.59E2B600@avanticorp.com> Date: Tue, 10 Jun 1997 23:02:22 -0700 From: Craig Amey Organization: Avant! Corporation X-Mailer: Mozilla 3.01 (X11; U; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: freebsd-bugs@freebsd.org Subject: Ignored read permissions on exported directory. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have an exported directory on my FreeBSD 2.2.1-RELEASE #0 machine which when accessed from a Sun Ultra-1 running Solaris 5.5.1, displays correct read write permissions if ls is run, but allows the file to be written to by the owner even if the file is read-only. If I access the same file locally to the FreeBSD machine the correct 'permission denied' message is given. Any help greatly appreciated. Regards, Craig Amey. From owner-freebsd-bugs Wed Jun 11 13:01:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA14285 for bugs-outgoing; Wed, 11 Jun 1997 13:01:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA14065; Wed, 11 Jun 1997 12:59:38 -0700 (PDT) From: Masafumi NAKANE Received: (from max@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA06664; Wed, 11 Jun 1997 12:59:30 -0700 (PDT) Date: Wed, 11 Jun 1997 12:59:30 -0700 (PDT) Message-Id: <199706111959.MAA06664@freefall.freebsd.org> To: max@FreeBSD.ORG, gnats-admin@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: pending/3849 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Existing quota tools are limited. Responsible-Changed-From-To: gnats-admin->freebsd-bugs Responsible-Changed-By: max Responsible-Changed-When: Wed Jun 11 12:57:58 PDT 1997 Responsible-Changed-Why: Misfiled PR. From owner-freebsd-bugs Wed Jun 11 19:50:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA01331 for bugs-outgoing; Wed, 11 Jun 1997 19:50:18 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA01318; Wed, 11 Jun 1997 19:50:07 -0700 (PDT) Resent-Date: Wed, 11 Jun 1997 19:50:07 -0700 (PDT) Resent-Message-Id: <199706120250.TAA01318@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, metcalf@snet.net Received: from katya.snet.net (hrfr03-sh1-port17.snet.net [204.60.8.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA00830 for ; Wed, 11 Jun 1997 19:39:54 -0700 (PDT) Received: (from jeff@localhost) by katya.snet.net (8.8.5/8.7.3) id WAA01190; Wed, 11 Jun 1997 22:39:41 -0400 (EDT) Message-Id: <199706120239.WAA01190@katya.snet.net> Date: Wed, 11 Jun 1997 22:39:41 -0400 (EDT) From: metcalf@snet.net Reply-To: metcalf@snet.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3850: /usr/bin/cmp fails with nonzero byte offsets Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3850 >Category: bin >Synopsis: /usr/bin/cmp fails with nonzero byte offsets >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 11 19:50:01 PDT 1997 >Last-Modified: >Originator: Jeffrey M. Metcalf >Organization: >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: System: FreeBSD 2.2.1-RELEASE Architecture: Intel i386 >Description: /usr/bin/cmp fails to perform according to the manual page cmp.1 in that nonzero values of skip1 and skip2 for the byte offsets results in an 'Invalid argument' error. This seems to be due to the fact that the mmap system call fails for non page aligned offsets. Also, only base 10 conversion is allowed whereas the manual page implies that octal and hexadecimal byte offsets can be entered. >How-To-Repeat: prompt% /usr/bin/cmp file1 file2 skip1 skip2 where skip1 and skip2 are nonzero byte offsets into file1 and file2 respectively. >Fix: Apply the following patch to the sources in the /usr/src/usr.bin/cmp directory: *** /usr/src/usr.bin/cmp/cmp.c Wed Jun 11 21:28:24 1997 --- cmp.c Wed Jun 11 21:36:25 1997 *************** *** 30,35 **** --- 30,46 ---- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * + * Update: + * + * Author: Jeffrey M. Metcalf + * Date : 11-Jun-97 + * Re : /usr/bin/cmp did not work as described in cmp.1 + * Nonzero values for skip1 and skip2 fail since + * the mmap function call can only deal with page + * aligned file offsets. */ + #ifndef lint static char copyright[] = *************** *** 121,126 **** } ! skip1 = argc > 2 ? strtol(argv[2], NULL, 10) : 0; ! skip2 = argc == 4 ? strtol(argv[3], NULL, 10) : 0; if (!special) { --- 132,141 ---- } ! /* ! * Make sure base in the following function is 0 so that we ! * can enter decimal, octal, and hex skip values. ! */ ! skip1 = argc > 2 ? strtol(argv[2], NULL, 0) : 0; ! skip2 = argc == 4 ? strtol(argv[3], NULL, 0) : 0; if (!special) { *** /usr/src/usr.bin/cmp/regular.c Wed Jun 11 21:28:24 1997 --- regular.c Wed Jun 11 21:40:32 1997 *************** *** 30,33 **** --- 30,43 ---- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * + * Update: + * + * Author: Jeffrey M. Metcalf + * Date : 11-Jun-97 + * Re : /usr/bin/cmp did not work as described in cmp.1 + * Nonzero values for skip1 and skip2 fail since + * the mmap function call can only deal with page + * aligned file offsets. */ *************** *** 77,92 **** if ((p1 = (u_char *)mmap(NULL, ! (size_t)length, PROT_READ, 0, fd1, skip1)) == (u_char *)-1) err(ERR_EXIT, "%s", file1); if ((p2 = (u_char *)mmap(NULL, ! (size_t)length, PROT_READ, 0, fd2, skip2)) == (u_char *)-1) err(ERR_EXIT, "%s", file2); dfound = 0; for (byte = line = 1; length--; ++p1, ++p2, ++byte) { ! if ((ch = *p1) != *p2) if (lflag) { dfound = 1; ! (void)printf("%6qd %3o %3o\n", byte, ch, *p2); } else diffmsg(file1, file2, byte, line); --- 87,103 ---- if ((p1 = (u_char *)mmap(NULL, ! (size_t)length, PROT_READ, 0, fd1, 0)) == (u_char *)-1) err(ERR_EXIT, "%s", file1); if ((p2 = (u_char *)mmap(NULL, ! (size_t)length, PROT_READ, 0, fd2, 0)) == (u_char *)-1) err(ERR_EXIT, "%s", file2); dfound = 0; for (byte = line = 1; length--; ++p1, ++p2, ++byte) { ! if ((ch = *(p1+skip1)) != *(p2+skip2)) if (lflag) { dfound = 1; ! (void)printf("%6qd %3o %3o\n", byte, ch, ! *(p2+skip2)); } else diffmsg(file1, file2, byte, line); >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Jun 12 04:20:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA23483 for bugs-outgoing; Thu, 12 Jun 1997 04:20:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA23457; Thu, 12 Jun 1997 04:20:02 -0700 (PDT) Resent-Date: Thu, 12 Jun 1997 04:20:02 -0700 (PDT) Resent-Message-Id: <199706121120.EAA23457@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, chi@rd.njk.co.jp Received: (from nobody@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA23129; Thu, 12 Jun 1997 04:11:42 -0700 (PDT) Message-Id: <199706121111.EAA23129@hub.freebsd.org> Date: Thu, 12 Jun 1997 04:11:42 -0700 (PDT) From: chi@rd.njk.co.jp To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: kern/3853: netboot/ns8390.c breaks NS datasheet Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3853 >Category: kern >Synopsis: netboot/ns8390.c breaks NS datasheet >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 12 04:20:01 PDT 1997 >Last-Modified: >Originator: Chiharu Shibata >Organization: NJK Corporation >Release: FreeBSD 2.1.0 or later >Environment: FreeBSD 2.1.0-Release i386 >Description: About DP8390 chip(NE2000 or compatible), NS datasheet claims that writing all 0 to bit3,4,5(means RD0,RD1,RD2) of Command Register is "Not Allowed". But in netboot/ns8390.c, a few statements do so. We can get the datasheet from (This datasheet is DP83902A, but according to "Features", it is 100% software compatible with DP8390) >How-To-Repeat: None >Fix: --- /usr/src/sys/i386/boot/netboot/ns8390.c.orig Thu Jun 12 13:33:50 1997 +++ /usr/src/sys/i386/boot/netboot/ns8390.c Thu Jun 12 13:36:07 1997 @@ -480,9 +480,19 @@ if (!(rstat & D8390_RSTAT_PRX)) return(0); bound = inb(eth_nic_base+D8390_P0_BOUND)+1; if (bound == eth_memsize) bound = eth_tx_start + D8390_TXBUF_SIZE; - outb(eth_nic_base+D8390_P0_COMMAND, D8390_COMMAND_PS1); + if (eth_flags & FLAG_790) + outb(eth_nic_base+D8390_P0_COMMAND, D8390_COMMAND_PS1 | + D8390_COMMAND_STA); + else + outb(eth_nic_base+D8390_P0_COMMAND, D8390_COMMAND_PS1 | + D8390_COMMAND_RD2 | D8390_COMMAND_STA); curr = inb(eth_nic_base+D8390_P1_CURR); - outb(eth_nic_base+D8390_P0_COMMAND, D8390_COMMAND_PS0); + if (eth_flags & FLAG_790) + outb(eth_nic_base+D8390_P0_COMMAND, D8390_COMMAND_PS0 | + D8390_COMMAND_STA); + else + outb(eth_nic_base+D8390_P0_COMMAND, D8390_COMMAND_PS0 | + D8390_COMMAND_RD2 | D8390_COMMAND_STA); if (curr == eth_memsize) curr=eth_tx_start + D8390_TXBUF_SIZE; if (curr == bound) return(0); if (eth_vendor == VENDOR_WD) { >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Jun 12 06:20:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA27232 for bugs-outgoing; Thu, 12 Jun 1997 06:20:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA27224; Thu, 12 Jun 1997 06:20:02 -0700 (PDT) Resent-Date: Thu, 12 Jun 1997 06:20:02 -0700 (PDT) Resent-Message-Id: <199706121320.GAA27224@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, yugawa@orleans.rim.or.jp Received: from rayearth.rim.or.jp (uucp@rayearth.rim.or.jp [202.247.130.242]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA27148 for ; Thu, 12 Jun 1997 06:17:18 -0700 (PDT) Received: (from uucp@localhost) by rayearth.rim.or.jp (8.8.5/3.5Wpl2-uucp1/RIMNET) with UUCP id WAA01899 for FreeBSD-gnats-submit@freebsd.org; Thu, 12 Jun 1997 22:17:16 +0900 (JST) Received: (from uucp@localhost) by orleans.rim.or.jp (8.8.5/3.5W-darwin.1) with UUCP id VAA29430; Thu, 12 Jun 1997 21:50:59 +0900 (JST) Received: (from yugawa@localhost) by oleo.orleans.rim.or.jp (8.8.5/3.5W-oleo.1) id KAA00530; Thu, 12 Jun 1997 10:08:25 +0900 (JST) Message-Id: <199706120108.KAA00530@oleo.orleans.rim.or.jp> Date: Thu, 12 Jun 1997 10:08:25 +0900 (JST) From: Takahiro Yugawa Reply-To: yugawa@orleans.rim.or.jp To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: yugawa@orleans.rim.or.jp X-Send-Pr-Version: 3.2 Subject: docs/3854: type in manpage rtquery.8 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3854 >Category: docs >Synopsis: type in manpage rtquery.8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 12 06:20:01 PDT 1997 >Last-Modified: >Originator: Takahiro Yugawa >Organization: personal FreeBSD user in Japan >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: FreeBSD oleo 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #0: Sat May 10 13:56:54 JST 1997 root@oleo:/usr/src/sys/compile/OLEO i386 >Description: In rtquery.8, there is a line in .Sh SEE ALSO like, Routing Information Protcol, RIPV1, RFC1058. but it must be Routing Information Protocol, RIPV1, RFC1058. ^^^^^^^^ >How-To-Repeat: % man rtquery >Fix: --- rtquery.8.orig Thu Jun 12 10:01:50 1997 +++ rtquery.8 Thu Jun 12 10:02:31 1997 @@ -121,7 +121,7 @@ .Xr gated 8 , .Xr routed 8 .Rs -.%T Routing Information Protcol, RIPV1 +.%T Routing Information Protocol, RIPV1 .%O RFC1058 .Re .Rs >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Jun 12 09:51:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA07048 for bugs-outgoing; Thu, 12 Jun 1997 09:51:07 -0700 (PDT) Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id JAA07022 for ; Thu, 12 Jun 1997 09:50:57 -0700 (PDT) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA13287; Thu, 12 Jun 1997 12:50:22 -0400 Received: from ponds by dg-rtp.dg.com.rtp.dg.com; Thu, 12 Jun 1997 12:50 EDT Received: from lakes.water.net (lakes [10.0.0.3]) by ponds.water.net (8.8.5/8.7.3) with ESMTP id IAA19885; Thu, 12 Jun 1997 08:51:19 -0400 (EDT) Received: (from rivers@localhost) by lakes.water.net (8.8.5/8.6.9) id IAA01024; Thu, 12 Jun 1997 08:59:10 -0400 (EDT) Date: Thu, 12 Jun 1997 08:59:10 -0400 (EDT) From: Thomas David Rivers Message-Id: <199706121259.IAA01024@lakes.water.net> To: dfr@nlsystems.com, ponds!polstra.com!jdp Subject: Re: kern/3771 NFS hangs when writing to local FS re-mounted via NFS Cc: ponds!hub.freebsd.org!freebsd-bugs Content-Type: text Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > On Wed, 4 Jun 1997, John Polstra wrote: > > > The following reply was made to PR kern/3771; it has been noted by GNATS. > > > > From: John Polstra > > To: freebsd-gnats-submit@freebsd.org > > Cc: Chris Timmons > > Subject: Re: kern/3771 NFS hangs when writing to local FS re-mounted via NFS > > Date: Wed, 04 Jun 1997 07:40:47 -0700 > > > > > mount localhost:/ mnt > > > cp /mnt/tmp/junkfile /tmp/junkfile.copy [this works ok > > > cp /tmp/junkfile /mnt/tmp/junkfile.dead [this hangs the system] > > > > Chris Timmons has pointed out in private mail that this looks like > > it might be caused by a more general problem with the loopback > > interface that I and others have noticed. Could you please try > > the same test again, but using your real host name instead of > > "localhost" for the mount? > > There is a deadly embrace style deadlock when you loopback mount a > filesystem using NFSv3. I don't plan to try and fix this since I don't > think loopback mounts are useful other than for trivial testing. > Ahh... but if you were doing something like "alex" - say to get to RCS/CVS files via a locally mounted NFS (user-mode) server.... then, this could be important. I just wanted to point out that the issue isn't as straight-forward as simply reading local files, there may be some name -> file translation going on in an NFS server... - Dave Rivers - From owner-freebsd-bugs Thu Jun 12 15:00:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA23349 for bugs-outgoing; Thu, 12 Jun 1997 15:00:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA23329; Thu, 12 Jun 1997 15:00:02 -0700 (PDT) Resent-Date: Thu, 12 Jun 1997 15:00:02 -0700 (PDT) Resent-Message-Id: <199706122200.PAA23329@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, metcalf@snet.net Received: from katya.snet.net (hrfr03-sh2-port80.snet.net [204.60.8.80]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA23016 for ; Thu, 12 Jun 1997 14:54:41 -0700 (PDT) Received: (from jeff@localhost) by katya.snet.net (8.8.5/8.7.3) id RAA00636; Thu, 12 Jun 1997 17:53:15 -0400 (EDT) Message-Id: <199706122153.RAA00636@katya.snet.net> Date: Thu, 12 Jun 1997 17:53:15 -0400 (EDT) From: metcalf@snet.net Reply-To: metcalf@snet.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3855: /usr/bin/cmp fails with nonzero byte offsets Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3855 >Category: bin >Synopsis: /usr/bin/cmp fails with nonzero byte offsets >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 12 15:00:01 PDT 1997 >Last-Modified: >Originator: Jeffrey M. Metcalf >Organization: Jeffrey M. Metcalf >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: System: FreeBSD 2.2.1-RELEASE Architecture: Intel i386 >Description: This is a followup to a previous send-pr, identification bin/3850. It provides a revised patch similar to the source code in /usr/bin/cmp in the FreeBSD-3.0 SNAP release. The base conversion problem is still an issue in the 3.0 code. /usr/bin/cmp fails to perform according to the manual page cmp.1 in that nonzero values of skip1 and skip2 for the byte offsets results in an 'Invalid argument' error. This seems to be due to the fact that the mmap system call fails for non page aligned offsets. Also, only base 10 conversion is allowed whereas the manual page implies that octal and hexadecimal byte offsets can be entered. >How-To-Repeat: prompt% /usr/bin/cmp file1 file2 skip1 skip2 where skip1 and skip2 are nonzero byte offsets into file1 and file2 respectively. >Fix: Apply the following patch to the sources in the /usr/src/usr.bin/cmp directory: *** /usr/src/usr.bin/cmp/cmp.c Thu Jun 12 13:03:06 1997 --- cmp.c Thu Jun 12 13:18:40 1997 *************** *** 30,33 **** --- 30,43 ---- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * Update: + * + * Author: Jeffrey M. Metcalf + * Date : 12-Jun-97 + * Re : Fix bug in 2.2-SOURCES in which cmp cannot deal with nonzero + * skip byte offsets due to mmap's inability to map non page + * aligned offsets. Also, cmp is supposed to allow byte offsets + * to be entered in decimal, hex, and octal according to cmp.1. + * Portions of 3.0-SOURCES used. */ *************** *** 121,126 **** } ! skip1 = argc > 2 ? strtol(argv[2], NULL, 10) : 0; ! skip2 = argc == 4 ? strtol(argv[3], NULL, 10) : 0; if (!special) { --- 131,141 ---- } ! /* ! * Use 0 as the base below to include hex and octal conversions. ! * JM, 12-JUN-97 ! */ ! ! skip1 = argc > 2 ? strtol(argv[2], NULL, 0) : 0; ! skip2 = argc == 4 ? strtol(argv[3], NULL, 0) : 0; if (!special) { *** /usr/src/usr.bin/cmp/regular.c Thu Jun 12 13:03:06 1997 --- regular.c Thu Jun 12 13:21:19 1997 *************** *** 30,33 **** --- 30,43 ---- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * Update: + * + * Author: Jeffrey M. Metcalf + * Date : 12-Jun-97 + * Re : Fix bug in 2.2-SOURCES in which cmp cannot deal with nonzero + * skip byte offsets due to mmap's inability to map non page + * aligned offsets. Also, cmp is supposed to allow byte offsets + * to be entered in decimal, hex, and octal according to cmp.1. + * Portions of 3.0-SOURCES used. */ *************** *** 72,75 **** --- 82,89 ---- len2 -= skip2; + pagemask = (off_t)getpagesize() - 1; + off1 = ROUNDPAGE(skip1); + off2 = ROUNDPAGE(skip2); + length = MIN(len1, len2); if (length > SIZE_T_MAX) *************** *** 77,87 **** if ((p1 = (u_char *)mmap(NULL, ! (size_t)length, PROT_READ, 0, fd1, skip1)) == (u_char *)-1) err(ERR_EXIT, "%s", file1); if ((p2 = (u_char *)mmap(NULL, ! (size_t)length, PROT_READ, 0, fd2, skip2)) == (u_char *)-1) err(ERR_EXIT, "%s", file2); dfound = 0; for (byte = line = 1; length--; ++p1, ++p2, ++byte) { if ((ch = *p1) != *p2) --- 91,103 ---- if ((p1 = (u_char *)mmap(NULL, ! (size_t)length, PROT_READ, 0, fd1, off1)) == (u_char *)-1) err(ERR_EXIT, "%s", file1); if ((p2 = (u_char *)mmap(NULL, ! (size_t)length, PROT_READ, 0, fd2, off2)) == (u_char *)-1) err(ERR_EXIT, "%s", file2); dfound = 0; + p1 += skip1 - off1; + p2 += skip2 - off2; for (byte = line = 1; length--; ++p1, ++p2, ++byte) { if ((ch = *p1) != *p2) >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Jun 12 17:13:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA29441 for bugs-outgoing; Thu, 12 Jun 1997 17:13:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA29434; Thu, 12 Jun 1997 17:13:04 -0700 (PDT) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA15224; Thu, 12 Jun 1997 17:12:46 -0700 (PDT) Date: Thu, 12 Jun 1997 17:12:46 -0700 (PDT) Message-Id: <199706130012.RAA15224@freefall.freebsd.org> To: josh@quick.net, brian@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, brian@FreeBSD.ORG Subject: Re: bin/3830 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: ppp ``show ?'' mis-aligned State-Changed-From-To: open-closed State-Changed-By: brian State-Changed-When: Thu Jun 12 17:11:39 PDT 1997 State-Changed-Why: Patches applied to RELENG_2_2 and -current - thanks. Responsible-Changed-From-To: freebsd-bugs->brian Responsible-Changed-By: brian Responsible-Changed-When: Thu Jun 12 17:11:39 PDT 1997 Responsible-Changed-Why: Fixed by brian From owner-freebsd-bugs Thu Jun 12 23:30:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA14216 for bugs-outgoing; Thu, 12 Jun 1997 23:30:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA14210; Thu, 12 Jun 1997 23:30:01 -0700 (PDT) Resent-Date: Thu, 12 Jun 1997 23:30:01 -0700 (PDT) Resent-Message-Id: <199706130630.XAA14210@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, vegold01@starbase.spd.louisville.edu Received: from moose (user-37kbmtg.dialup.mindspring.com [207.69.219.176]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA13681 for ; Thu, 12 Jun 1997 23:18:11 -0700 (PDT) Received: (from edg@localhost) by moose (8.8.5/8.7.3) id CAA00646; Fri, 13 Jun 1997 02:05:33 GMT Message-Id: <199706130205.CAA00646@moose> Date: Fri, 13 Jun 1997 02:05:33 GMT From: vegold01@starbase.spd.louisville.edu Reply-To: vegold01@starbase.spd.louisville.edu To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: i386/3856: if_ix.c improvement for autodetection of Intel EtherExpress Card Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3856 >Category: i386 >Synopsis: Improvement to autodetection logic >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 12 23:30:01 PDT 1997 >Last-Modified: >Originator: V Edward Gold, Jr. >Organization: Lockheed Martin Information Systems >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: Basic FreeBSD system with Intel EtherExpress Card(s). >Description: The Intel EtherExpress card requires a DOS configuration program be run to properly configure the card. I have a proposed improvement to the if_ix.c device driver that will enable it to locate the card without this DOS program having been run. This can also help the driver find a card that was misconfigured. The proposed improvement will first search the address specified in the kernel parameters, then it will hunt through the entire possible space of addresses in an attempt to find the card. If the card is in the system, this should find it. Using this hunting logic, its possible to support multiple cards without having to run the DOS utility. >How-To-Repeat: Place card in system and configure it to I/O address other than what the kernel expects. Driver will fail to find the card. >Fix: 144,152d143 < * Definitions for autodetect logic 12/15/96 < */ < < #define START_ADDRESS_SPACE ( 0x200 ) < #define END_ADDRESS_SPACE ( 0x37f ) < #define ADDRESS_STEP_SIZE ( 0x10 ) < < < /* 322,365c313,322 < < /* This is the normal detection of the specified address */ < idstate = inb(dvp->id_iobase + autoid) & 0x03; < for (i=0, boardid=0; i < 4; i++) { < tempid = inb(dvp->id_iobase + autoid); < boardid |= ((tempid & 0xF0) >> 4) << ((tempid & 0x03) << 2); < if ((tempid & 0x03) != (++idstate & 0x03)) { < /* out of sequence, destroy boardid and bail out */ < boardid = 0; < break; < } < } < if( boardid == BOARDID ) < found = -1; < else < found = 0; < < /* < * Lets check every possible address so maybe we can find it < */ < < j = START_ADDRESS_SPACE; < while( !found & ( j <= END_ADDRESS_SPACE ) ) < { < dvp->id_iobase = j; < idstate = inb( dvp->id_iobase + autoid ) & 0x03; < boardid = 0; < for ( i = 0 ; i < 4 ; ++i ) < { < tempid = inb( dvp->id_iobase + autoid ); < boardid |= ((tempid & 0xF0) >> 4) << ((tempid & 0x03) << 2); < if ((tempid & 0x03) != (++idstate & 0x03)) < { < /* out of sequence, destroy boardid and bail */ < boardid = 0; < break; < } < } < if( boardid == BOARDID ) < found = -1; < else < j += ADDRESS_STEP_SIZE; < } < --- > idstate = inb(dvp->id_iobase + autoid) & 0x03; > for (i=0, boardid=0; i < 4; i++) { > tempid = inb(dvp->id_iobase + autoid); > boardid |= ((tempid & 0xF0) >> 4) << ((tempid & 0x03) << 2); > if ((tempid & 0x03) != (++idstate & 0x03)) { > /* out of sequence, destroy boardid and bail out */ > boardid = 0; > break; > } > } >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Jun 13 01:10:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA17590 for bugs-outgoing; Fri, 13 Jun 1997 01:10:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA17584; Fri, 13 Jun 1997 01:10:01 -0700 (PDT) Date: Fri, 13 Jun 1997 01:10:01 -0700 (PDT) Message-Id: <199706130810.BAA17584@hub.freebsd.org> To: freebsd-bugs Cc: From: "Jeffrey M. Metcalf" Subject: Re: bin/3850: /usr/bin/cmp fails with nonzero byte offsets Reply-To: "Jeffrey M. Metcalf" Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3850; it has been noted by GNATS. From: "Jeffrey M. Metcalf" To: Cc: Subject: Re: bin/3850: /usr/bin/cmp fails with nonzero byte offsets Date: Fri, 13 Jun 1997 04:01:21 -0400 See bin/3855 for a follow up patch incorporating elements of 3.0-CURRENT sources. ----- Jeffrey M. Metcalf metcalf@snet.net http://ruddles.stat.uconn.edu/~jeff From owner-freebsd-bugs Fri Jun 13 01:20:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA17836 for bugs-outgoing; Fri, 13 Jun 1997 01:20:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA17830; Fri, 13 Jun 1997 01:20:03 -0700 (PDT) Resent-Date: Fri, 13 Jun 1997 01:20:03 -0700 (PDT) Resent-Message-Id: <199706130820.BAA17830@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, ada@not-enough.bandwidth.org Received: from polya.blah.org (slmel11p32.ozemail.com.au [203.108.200.48]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA17661 for ; Fri, 13 Jun 1997 01:13:03 -0700 (PDT) Received: (from ada@localhost) by polya.blah.org (8.8.5/8.8.5) id SAA25854; Fri, 13 Jun 1997 18:12:55 +1000 (EST) Message-Id: <199706130812.SAA25854@polya.blah.org> Date: Fri, 13 Jun 1997 18:12:55 +1000 (EST) From: Ada T Lim Reply-To: ada@not-enough.bandwidth.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: i386/3857: bios screensaver screws up screen Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3857 >Category: i386 >Synopsis: bios screensaver screws up screen >Confidential: yes >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 13 01:20:01 PDT 1997 >Last-Modified: >Originator: Ada T Lim >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: generic intel 486dx2-66 et4000w32p_rev_b - 2mb ram 12mb ram >Description: After screen enters screensaving mode (green) and then snapping back out again, the screen characters are all mucked up, as if something's overwritten the fontmap. reloading the font with vidcontrol fixes it. >How-To-Repeat: >Fix: Create a script to run vidcontrol *shrug* >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Jun 13 04:00:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA23977 for bugs-outgoing; Fri, 13 Jun 1997 04:00:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA23932; Fri, 13 Jun 1997 04:00:02 -0700 (PDT) Resent-Date: Fri, 13 Jun 1997 04:00:02 -0700 (PDT) Resent-Message-Id: <199706131100.EAA23932@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, andrew@ugh.net.au Received: from css.tuu.utas.edu.au (root@css.tuu.utas.edu.au [131.217.115.65]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA23733 for ; Fri, 13 Jun 1997 03:52:16 -0700 (PDT) Received: from sally.ugh.net.au (dialin52.hbt.utas.tassie.net.au [203.57.208.52]) by css.tuu.utas.edu.au (8.8.5/8.8.5) with ESMTP id UAA03556 for ; Fri, 13 Jun 1997 20:52:24 +1000 (EST) Received: (from andrew@localhost) by sally.ugh.net.au (8.8.5/8.8.5) id BAA01145; Tue, 10 Jun 1997 01:03:29 +1000 (EST) Message-Id: <199706091503.BAA01145@sally.ugh.net.au> Date: Tue, 10 Jun 1997 01:03:29 +1000 (EST) From: Andrew Reply-To: andrew@ugh.net.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/3858: passwd(5) man page Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3858 >Category: docs >Synopsis: passwd(5) says class field is unused >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 13 04:00:01 PDT 1997 >Last-Modified: >Originator: Andrew >Organization: UgH! >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: >Description: passwd(5) man page says class field is unused. This is incorrect. >How-To-Repeat: man 5 passwd >Fix: Remove the (unused) from the class line in passwd(5) >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Jun 13 04:00:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA24022 for bugs-outgoing; Fri, 13 Jun 1997 04:00:11 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA23975; Fri, 13 Jun 1997 04:00:06 -0700 (PDT) Resent-Date: Fri, 13 Jun 1997 04:00:06 -0700 (PDT) Resent-Message-Id: <199706131100.EAA23975@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, andrew@ugh.net.au Received: from css.tuu.utas.edu.au (root@css.tuu.utas.edu.au [131.217.115.65]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA23741 for ; Fri, 13 Jun 1997 03:52:32 -0700 (PDT) Received: from sally.ugh.net.au (dialin52.hbt.utas.tassie.net.au [203.57.208.52]) by css.tuu.utas.edu.au (8.8.5/8.8.5) with ESMTP id UAA03573 for ; Fri, 13 Jun 1997 20:52:41 +1000 (EST) Received: (from andrew@localhost) by sally.ugh.net.au (8.8.5/8.8.5) id BAA00860; Tue, 10 Jun 1997 01:21:57 +1000 (EST) Message-Id: <199706091521.BAA00860@sally.ugh.net.au> Date: Tue, 10 Jun 1997 01:21:57 +1000 (EST) From: Andrew Reply-To: andrew@ugh.net.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3859: perl and the $0 variable Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3859 >Category: bin >Synopsis: Setting the $0 variable in perl dosnt do as is expected. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 13 04:00:03 PDT 1997 >Last-Modified: >Originator: Andrew >Organization: UgH! >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: andrew@sally~/syncpass>perl -v This is perl, version 4.0 $RCSfile: perl.c,v $$Revision: 1.7 $$Date: 1996/06/30 09:47:56 $ Patch level: 36 Copyright (c) 1989, 1990, 1991, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 4.0 source kit. >Description: In perl you are meant to be able to set the "name" of the current running process as seen by ps by setting the $0 variable. Unfortunatley it the name of the process seems to be set to the value of $0 and an awful lot of spaces (they are spaces and not tabs or something - ps > file --FTP--> mac > text editor). >From memory this worked in earlier versions of FreeBSD (and whatever versions of perl they came with) such as 2.1.5. This problem effects perl 5.003 as from the ports collection as well. >How-To-Repeat: Run: perl -e '$0 = "hmm"; sleep 1000;' the suspend it and type ps -uww (the ww is so the entire command is printed, not just the first few characters). >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Jun 13 04:00:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA24034 for bugs-outgoing; Fri, 13 Jun 1997 04:00:13 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA24009; Fri, 13 Jun 1997 04:00:09 -0700 (PDT) Resent-Date: Fri, 13 Jun 1997 04:00:09 -0700 (PDT) Resent-Message-Id: <199706131100.EAA24009@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, andrew@ugh.net.au Received: from css.tuu.utas.edu.au (root@css.tuu.utas.edu.au [131.217.115.65]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA23742 for ; Fri, 13 Jun 1997 03:52:33 -0700 (PDT) Received: from sally.ugh.net.au (dialin52.hbt.utas.tassie.net.au [203.57.208.52]) by css.tuu.utas.edu.au (8.8.5/8.8.5) with ESMTP id UAA03577 for ; Fri, 13 Jun 1997 20:52:45 +1000 (EST) Received: (from andrew@localhost) by sally.ugh.net.au (8.8.5/8.8.5) id TAA00688; Sun, 8 Jun 1997 19:58:52 +1000 (EST) Message-Id: <199706080958.TAA00688@sally.ugh.net.au> Date: Sun, 8 Jun 1997 19:58:52 +1000 (EST) From: Andrew Reply-To: andrew@ugh.net.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/3860: Mention of sysconfig in man ppp Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3860 >Category: docs >Synopsis: ppp man page mentions sysconfig >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 13 04:00:07 PDT 1997 >Last-Modified: >Originator: Andrew >Organization: UgH! >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: >Description: PPP man page says to check that IP forwarding is turned on in /etc/sysconfig. It should be in /etc/rc.conf. Its in the Packet Aliasing section, around line 404. >How-To-Repeat: man ppp >Fix: Just change the page to read rc.local >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Jun 13 04:00:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA24056 for bugs-outgoing; Fri, 13 Jun 1997 04:00:17 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA24021; Fri, 13 Jun 1997 04:00:12 -0700 (PDT) Resent-Date: Fri, 13 Jun 1997 04:00:12 -0700 (PDT) Resent-Message-Id: <199706131100.EAA24021@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, andrew@ugh.net.au Received: from css.tuu.utas.edu.au (root@css.tuu.utas.edu.au [131.217.115.65]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA23750 for ; Fri, 13 Jun 1997 03:52:36 -0700 (PDT) Received: from sally.ugh.net.au (dialin52.hbt.utas.tassie.net.au [203.57.208.52]) by css.tuu.utas.edu.au (8.8.5/8.8.5) with ESMTP id UAA03580 for ; Fri, 13 Jun 1997 20:52:49 +1000 (EST) Received: (from andrew@localhost) by sally.ugh.net.au (8.8.5/8.8.5) id MAA03177; Sun, 8 Jun 1997 12:58:51 +1000 (EST) Message-Id: <199706080258.MAA03177@sally.ugh.net.au> Date: Sun, 8 Jun 1997 12:58:51 +1000 (EST) From: Andrew Reply-To: andrew@ugh.net.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/3861: Lack of rc.conf(8) Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3861 >Category: docs >Synopsis: Line 108 of rc.conf refers to rc.conf(8) which dosnt seem to exist. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 13 04:00:09 PDT 1997 >Last-Modified: >Originator: Andrew >Organization: UgH! >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: FreeBSD 2.2.2 >Description: rc.conf refers to an rc.conf man page in section 8 (the reference occurs on line 108). This man page dosnt seem to exist. Are the features in rc.conf documented anywhere? Most things you can track down what they do by reading the rest of the rc scripts but things that just control a sysctl line...unless they are documented somewhere... >How-To-Repeat: more /etc/rc.conf 108 G >Fix: Document the rc.conf features... >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Jun 13 04:00:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA24089 for bugs-outgoing; Fri, 13 Jun 1997 04:00:23 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA24060; Fri, 13 Jun 1997 04:00:18 -0700 (PDT) Resent-Date: Fri, 13 Jun 1997 04:00:18 -0700 (PDT) Resent-Message-Id: <199706131100.EAA24060@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, andrew@ugh.net.au Received: from css.tuu.utas.edu.au (root@css.tuu.utas.edu.au [131.217.115.65]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA23755 for ; Fri, 13 Jun 1997 03:52:46 -0700 (PDT) Received: from sally.ugh.net.au (dialin52.hbt.utas.tassie.net.au [203.57.208.52]) by css.tuu.utas.edu.au (8.8.5/8.8.5) with ESMTP id UAA03559 for ; Fri, 13 Jun 1997 20:52:29 +1000 (EST) Received: (from andrew@localhost) by sally.ugh.net.au (8.8.5/8.8.5) id OAA00328; Mon, 9 Jun 1997 14:28:16 +1000 (EST) Message-Id: <199706090428.OAA00328@sally.ugh.net.au> Date: Mon, 9 Jun 1997 14:28:16 +1000 (EST) From: Andrew Reply-To: andrew@ugh.net.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3862: No login prompt. Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3862 >Category: bin >Synopsis: I dont seem to get a login prompt.... >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 13 04:00:15 PDT 1997 >Last-Modified: >Originator: Andrew >Organization: UgH! >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: 386-SX-16 connected via null modem cable to a PowerMac. >Description: When booting all goes well right till then end. The date prints but no login prompt appears. I have tried ^C, ^D, return and alt-fing to other consoles but nothing works. Sometimes, such as after having reset from a no login prompt situation you do get a login prompt but cant type anything. I wondered if it was just the console so I turned on my mac to see if the srial port had a login prompt. Just as my mac finished booting a message appeared on the console: getty[148]: getty exiting due to excessive running time after which a login prompt appeared. Anything I had already typed appeared as well. The message indicates that it was just a time thing and switching on my mac was irrelevant however I have left the UNIX box sitting for a while and the prompt has never appeared. Ctrl-Alt-Delete dosnt work at this point (no login prompt) either...you have to press the reset button. >How-To-Repeat: Just switch on my UNIX box without switching on my mac. >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Jun 13 04:30:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA25123 for bugs-outgoing; Fri, 13 Jun 1997 04:30:02 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA25110; Fri, 13 Jun 1997 04:30:01 -0700 (PDT) Date: Fri, 13 Jun 1997 04:30:01 -0700 (PDT) Message-Id: <199706131130.EAA25110@hub.freebsd.org> To: freebsd-bugs Cc: From: Andrew Subject: Re: bin/3862: I dont seem to get a login prompt.... Reply-To: Andrew Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3862; it has been noted by GNATS. From: Andrew To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: bin/3862: I dont seem to get a login prompt.... Date: Fri, 13 Jun 1997 09:28:22 +1000 Despite putting in a reply to when using send-pr it seems to have been ignored...hmm warrants another pr I guess. If you want to reply to me you had better mail andrew@ugh.net.au. Andrew From owner-freebsd-bugs Fri Jun 13 12:50:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA15952 for bugs-outgoing; Fri, 13 Jun 1997 12:50:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA15946; Fri, 13 Jun 1997 12:50:01 -0700 (PDT) Date: Fri, 13 Jun 1997 12:50:01 -0700 (PDT) Message-Id: <199706131950.MAA15946@hub.freebsd.org> To: freebsd-bugs Cc: From: Ollivier Robert Subject: Re: bin/3859: perl and the $0 variable Reply-To: Ollivier Robert Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3859; it has been noted by GNATS. From: Ollivier Robert To: andrew@ugh.net.au Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/3859: perl and the $0 variable Date: Fri, 13 Jun 1997 20:01:29 +0200 According to Andrew: > In perl you are meant to be able to set the "name" of the current running > process as seen by ps by setting the $0 variable. Unfortunatley it the > name of the process seems to be set to the value of $0 and an awful lot > of spaces (they are spaces and not tabs or something - ps > file --FTP--> > mac > text editor). 5.004 seems not to be affected by this: roberto 12919 0.0 1.8 204 1104 p4 S+ 7:59PM 0:00.03 hmm (perl) PS: your lines are way too long... -- Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #18: Sun Jun 8 15:32:28 CEST 1997 From owner-freebsd-bugs Fri Jun 13 13:59:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA19536 for bugs-outgoing; Fri, 13 Jun 1997 13:59:56 -0700 (PDT) Received: from george.lbl.gov (george-2.lbl.gov [131.243.2.12]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id NAA19413; Fri, 13 Jun 1997 13:56:46 -0700 (PDT) Received: (jin@localhost) by george.lbl.gov (8.6.10/8.6.5) id NAA22863; Fri, 13 Jun 1997 13:56:40 -0700 Date: Fri, 13 Jun 1997 13:56:40 -0700 From: "Jin Guojun[ITG]" Message-Id: <199706132056.NAA22863@george.lbl.gov> To: smp@csn.net Subject: Re: (kern/3827) : was ASUS P/I-P65UP5 with C-P55T2D Cc: bugs@FreeBSD.ORG, smp@FreeBSD.ORG Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The problem has been narrowed to a very small program at below. It appears to happen at subroutine level. That is, the open/freopn works in main() program, but fails in subroutine. To replace the subroutine call at line 7 in main(), marked /* replace HERE */, with the body of openread() , then, program works. So, what can cause this problem? ---------------------------------------------- /* openread.c */ #include main(int argc, char **argv) { openread(argc > 1 ? argv[1] : "openread.c"); /* replace HERE */ } openread(char *fn) /* if put body below into main, then it works */ { FILE * fp = stdin; int c; if (!(fp=fopen(fn, "rb"))) exit(1); while( (c = fgetc(fp)) != EOF) fputc(c, stdout); if (!(fp=freopen(fn, "rb", stdin))) exit(2); while (fread(&c, sizeof(c), 1, fp) == 1) fwrite(&c, sizeof(c), 1, stdout); fclose(fp); } ------------------------------------------------ to load: cc -g openread.c -lc_r ------------------------------------------------ xxgdb can't trace this program, but gdb can. It hangs at _thread_sys_sigprocmask() call. Because I am not fimilar with thread_sys_calls(), would some one help me on solving it? Any information, hints, and comments are appreciated. thanks, -Jin ======================================= Below is the gdb tracing: gdb a.out GDB is free software and you are welcome to 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. GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc... (gdb) l 1 /* openread.c */ 2 3 #include 4 5 main(int argc, char **argv) 6 { 7 openread(argc > 1 ? argv[1] : "openread.c"); 8 } 9 10 openread(char *fn) (gdb) b 7 Breakpoint 1 at 0x1594: file openread.c, line 7. (gdb) run Starting program: /export/src/ccs-lib/tools/x11/tuner/FreeBSD/a.out Breakpoint 1, main (argc=1, argv=0xefbfda5c) at openread.c:7 7 openread(argc > 1 ? argv[1] : "openread.c"); (gdb) s openread (fn=0x1580 "openread.c") at openread.c:12 12 FILE * fp = stdin; (gdb) s 15 if (!(fp=fopen(fn, "rb"))) (gdb) s fopen (file=0x1580 "openread.c", mode=0x15b4 "rb") at /usr/src/lib/libc_r/../libc/stdio/fopen.c:57 57 if ((flags = __sflags(mode, &oflags)) == 0) (gdb) s __sflags (mode=0x15b4 "rb", optr=0xefbfda0c) at /usr/src/lib/libc_r/../libc/stdio/flags.c:63 63 switch (*mode++) { (gdb) s 66 ret = __SRD; (gdb) s 67 m = O_RDONLY; (gdb) s 68 o = 0; (gdb) s 69 break; (gdb) s 89 if (*mode == '+' || (*mode == 'b' && mode[1] == '+')) { (gdb) s 93 *optr = m | o; (gdb) s 95 } (gdb) s fopen (file=0x1580 "openread.c", mode=0x15b4 "rb") at /usr/src/lib/libc_r/../libc/stdio/fopen.c:59 59 if ((fp = __sfp()) == NULL) (gdb) s __sfp () at /usr/src/lib/libc_r/../libc/stdio/findfp.c:105 105 if (!__sdidinit) (gdb) s 106 __sinit(); (gdb) s __sinit () at /usr/src/lib/libc_r/../libc/stdio/findfp.c:173 173 __cleanup = _cleanup; /* conservative */ (gdb) s 174 __sdidinit = 1; (gdb) s 175 } (gdb) s __sfp () at /usr/src/lib/libc_r/../libc/stdio/findfp.c:107 107 for (g = &__sglue;; g = g->next) { (gdb) s 108 for (fp = g->iobs, n = g->niobs; --n >= 0; fp++) (gdb) s 109 if (fp->_flags == 0) (gdb) s 108 for (fp = g->iobs, n = g->niobs; --n >= 0; fp++) (gdb) s 109 if (fp->_flags == 0) (gdb) s 108 for (fp = g->iobs, n = g->niobs; --n >= 0; fp++) (gdb) s 109 if (fp->_flags == 0) (gdb) s 108 for (fp = g->iobs, n = g->niobs; --n >= 0; fp++) (gdb) s 111 if (g->next == NULL && (g->next = moreglue(NDYNAMIC)) == NULL) (gdb) s 107 for (g = &__sglue;; g = g->next) { (gdb) s 108 for (fp = g->iobs, n = g->niobs; --n >= 0; fp++) (gdb) s 109 if (fp->_flags == 0) (gdb) s 116 fp->_flags = 1; /* reserve this slot; caller sets real flags */ (gdb) s 117 fp->_p = NULL; /* no current pointer */ (gdb) s 118 fp->_w = 0; /* nothing to read or write */ (gdb) s 119 fp->_r = 0; (gdb) s 120 fp->_bf._base = NULL; /* no buffer */ (gdb) s 121 fp->_bf._size = 0; (gdb) s 122 fp->_lbfsize = 0; /* not line buffered */ (gdb) s 123 fp->_file = -1; /* no file */ (gdb) s 125 fp->_ub._base = NULL; /* no ungetc buffer */ (gdb) s 126 fp->_ub._size = 0; (gdb) s 127 fp->_lb._base = NULL; /* no line buffer */ (gdb) s 128 fp->_lb._size = 0; (gdb) s 130 } (gdb) s fopen (file=0x1580 "openread.c", mode=0x15b4 "rb") at /usr/src/lib/libc_r/../libc/stdio/fopen.c:61 61 if ((f = open(file, oflags, DEFFILEMODE)) < 0) { (gdb) s open (path=0x1580 "openread.c", flags=0) at /usr/src/lib/libc_r/uthread/uthread_open.c:45 45 int mode = 0; (gdb) s 50 _thread_kern_sig_block(&status); (gdb) s _thread_kern_sig_block (status=0xefbfd9ec) at /usr/src/lib/libc_r/uthread/uthread_kern.c:952 952 _thread_sys_sigprocmask(SIG_SETMASK, &sig_to_block, &oset); (gdb) s Hanging HERE !!! From owner-freebsd-bugs Fri Jun 13 14:01:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA19712 for bugs-outgoing; Fri, 13 Jun 1997 14:01:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA19682; Fri, 13 Jun 1997 14:01:04 -0700 (PDT) From: Masafumi NAKANE Received: (from max@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA21507; Fri, 13 Jun 1997 14:00:40 -0700 (PDT) Date: Fri, 13 Jun 1997 14:00:40 -0700 (PDT) Message-Id: <199706132100.OAA21507@freefall.freebsd.org> To: yugawa@orleans.rim.or.jp, max@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: docs/3854 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: type in manpage rtquery.8 State-Changed-From-To: open-closed State-Changed-By: max State-Changed-When: Fri Jun 13 14:00:06 PDT 1997 State-Changed-Why: Suggested fixed is applied in Rev.1.7. From owner-freebsd-bugs Fri Jun 13 14:16:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA20725 for bugs-outgoing; Fri, 13 Jun 1997 14:16:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA20671; Fri, 13 Jun 1997 14:15:56 -0700 (PDT) From: Masafumi NAKANE Received: (from max@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA21679; Fri, 13 Jun 1997 14:15:31 -0700 (PDT) Date: Fri, 13 Jun 1997 14:15:31 -0700 (PDT) Message-Id: <199706132115.OAA21679@freefall.freebsd.org> To: josh@quick.net, max@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: docs/3828 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: intro.1 missing comma State-Changed-From-To: open-closed State-Changed-By: max State-Changed-When: Fri Jun 13 14:13:51 PDT 1997 State-Changed-Why: Submitted fix is applied in Rev.1.10. From owner-freebsd-bugs Fri Jun 13 15:10:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA23547 for bugs-outgoing; Fri, 13 Jun 1997 15:10:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA23539; Fri, 13 Jun 1997 15:10:02 -0700 (PDT) Date: Fri, 13 Jun 1997 15:10:02 -0700 (PDT) Message-Id: <199706132210.PAA23539@hub.freebsd.org> To: freebsd-bugs Cc: From: ac199@hwcn.org Subject: Re: bin/3451: vasprintf() doesn't work. Reply-To: ac199@hwcn.org Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3451; it has been noted by GNATS. From: ac199@hwcn.org To: freebsd-gnats-submit@freebsd.org, Tim.Vanderhoek@X2296 Cc: peter@freebsd.org Subject: Re: bin/3451: vasprintf() doesn't work. Date: Fri, 13 Jun 1997 18:05:29 -0400 (EDT) [Cc'd to peter as the last to touch vasprintf.c] > Problem Report bin/3451 > > vasprintf() doesn't work. > > Fix > > >*** old.vasprintf.c Tue Apr 29 21:32:00 1997 >--- vasprintf.c Tue Apr 29 21:31:45 1997 Of course, this still isn't right... [post-patch vasprintf.c] >--- 111,118 ---- > if (h.base == NULL) /* failed to realloc in writehook */ > return (-1); > > *str = realloc(h.base, (size_t)(h.size - h.left + 1)); >+ (*str)[h.size - h.left] = '\0'; > if (*str == NULL) /* failed to realloc it to actual size */ > *str = h.base; /* return oversize buffer */ > return (ret); realloc() can fail, resulting in a null pointer dereference. That's undesirable. Try, instead, *** orig.vasprintf.c Tue Apr 29 21:32:00 1997 --- vasprintf.c Fri Jun 13 17:54:17 1997 *************** *** 111,119 **** if (h.base == NULL) /* failed to realloc in writehook */ return (-1); - h.base[h.size - h.left] = '\0'; *str = realloc(h.base, (size_t)(h.size - h.left + 1)); if (*str == NULL) /* failed to realloc it to actual size */ ! *str = h.base; /* return oversize buffer */ return (ret); } --- 111,119 ---- if (h.base == NULL) /* failed to realloc in writehook */ return (-1); *str = realloc(h.base, (size_t)(h.size - h.left + 1)); if (*str == NULL) /* failed to realloc it to actual size */ ! return (-1); ! (*str)[h.size - h.left] = '\0'; return (ret); } From owner-freebsd-bugs Fri Jun 13 15:18:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA23748 for bugs-outgoing; Fri, 13 Jun 1997 15:18:44 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id PAA23447; Fri, 13 Jun 1997 15:07:33 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA11667; Fri, 13 Jun 1997 14:59:37 -0700 From: Terry Lambert Message-Id: <199706132159.OAA11667@phaeton.artisoft.com> Subject: Re: (kern/3827) : was ASUS P/I-P65UP5 with C-P55T2D To: jin@george.lbl.gov (Jin Guojun[ITG]) Date: Fri, 13 Jun 1997 14:59:36 -0700 (MST) Cc: smp@csn.net, bugs@FreeBSD.ORG, smp@FreeBSD.ORG In-Reply-To: <199706132056.NAA22863@george.lbl.gov> from "Jin Guojun[ITG]" at Jun 13, 97 01:56:40 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > The problem has been narrowed to a very small program at below. > It appears to happen at subroutine level. That is, the open/freopn works > in main() program, but fails in subroutine. To replace the subroutine call > at line 7 in main(), marked /* replace HERE */, with the body of openread() , > then, program works. So, what can cause this problem? [ ... ] It's looks like you are hanging in the threads scheduler. When you butil your libraries, did you rebuild everything from scratch? If not, that may be your problem. I know that main is "different" in threads, but I don't understand why a subroutine call would cause it to fail when it doesn't fail in main. What happens if you link it without the threaded libc? Does it run OK? (Do you have one? Or are you running the very recently changed stuff?). If it does, there is apparently a hidden stack dependency bug which is being triggered by your code. Check the wrappers for the functions called by the functions you call. It may be that freopen() is not a happy camper in general, on the basis of descriptor locks, and you are only lucking out in main() when it works. Another thig to try is to take stdio out of the equation. I suspect that it is an implementation assumption in stdio that is biting you; it may in fact be a scheduler race which gets drawn out when you go down. If it's a race, make the variables global; if it still fails, you should then be able to migrate the code in and out of the subroutine a tine at a time to localise the error (part of this will be to compile the libc(3) pieces yourself, and migrate their function boundries as well). Sorry I can't give you an "oh, #define FROBOZZ" type soloution. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. From owner-freebsd-bugs Fri Jun 13 15:30:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA24399 for bugs-outgoing; Fri, 13 Jun 1997 15:30:31 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA24312; Fri, 13 Jun 1997 15:29:55 -0700 (PDT) Received: from george.lbl.gov (george-2.lbl.gov [131.243.2.12]) by agora.rdrop.com (8.8.5/8.8.5) with SMTP id PAA01177; Fri, 13 Jun 1997 15:29:51 -0700 (PDT) Received: (jin@localhost) by george.lbl.gov (8.6.10/8.6.5) id PAA24417; Fri, 13 Jun 1997 15:26:20 -0700 Date: Fri, 13 Jun 1997 15:26:20 -0700 From: "Jin Guojun[ITG]" Message-Id: <199706132226.PAA24417@george.lbl.gov> To: lambert.org!terry@agora.rdrop.com Subject: Re: (kern/3827) : was ASUS P/I-P65UP5 with C-P55T2D Cc: bugs@FreeBSD.ORG, smp@FreeBSD.ORG, smp@csn.net Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk }> The problem has been narrowed to a very small program at below. }> It appears to happen at subroutine level. That is, the open/freopn works }> in main() program, but fails in subroutine. To replace the subroutine call }> at line 7 in main(), marked /* replace HERE */, with the body of openread() , }> then, program works. So, what can cause this problem? } }[ ... ] } }It's looks like you are hanging in the threads scheduler. } }When you butil your libraries, did you rebuild everything from }scratch? If not, that may be your problem. I did not do anything with the libraries. They come with the 3.0-SNAP distribution. }I know that main is "different" in threads, but I don't understand }why a subroutine call would cause it to fail when it doesn't fail }in main. That is the strange part. Our most programs are not failure because they start fopen/freopen at main(), and the complicated programs are invoking the fopen/freopen in subroutines, which typically in threaded subroutines. So, at the beginning, I thought the hanging was related when the program growing in size. So, I wrote a small program -- openread -- in a main() style that works. Then, I tried to make it called from the program failed at fopen/freopen. This needs make openread() to be a subroutine. At this time, the simple program fails. So, it is not the program size issue. Since the openread.c is so small, the only thing I saw is fopen/freopen fails in subroutine. }What happens if you link it without the threaded libc? Does it }run OK? (Do you have one? Or are you running the very recently }changed stuff?). That is not the problem. The problem happens only linked to libc_r, which is defaulted to distribution of 3.0-xxx. Without -lc_r, everything is OK. }If it does, there is apparently a hidden stack dependency bug }which is being triggered by your code. Check the wrappers for }the functions called by the functions you call. It may be }that freopen() is not a happy camper in general, on the basis }of descriptor locks, and you are only lucking out in main() }when it works. } }Another thig to try is to take stdio out of the equation. I }suspect that it is an implementation assumption in stdio that }is biting you; it may in fact be a scheduler race which gets }drawn out when you go down. } }If it's a race, make the variables global; if it still fails, }you should then be able to migrate the code in and out of the }subroutine a tine at a time to localise the error (part of this }will be to compile the libc(3) pieces yourself, and migrate }their function boundries as well). } }Sorry I can't give you an "oh, #define FROBOZZ" type soloution. From owner-freebsd-bugs Fri Jun 13 15:32:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA24640 for bugs-outgoing; Fri, 13 Jun 1997 15:32:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA24618; Fri, 13 Jun 1997 15:32:37 -0700 (PDT) From: David Nugent Received: (from davidn@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA22386; Fri, 13 Jun 1997 15:32:12 -0700 (PDT) Date: Fri, 13 Jun 1997 15:32:12 -0700 (PDT) Message-Id: <199706132232.PAA22386@freefall.freebsd.org> To: joes@spiritone.com, davidn@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/3820 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: login_cap.c (libutil) doesn't recognize [Yy][Ww] for years/weeks State-Changed-From-To: open-closed State-Changed-By: davidn State-Changed-When: Sat Jun 14 08:28:32 EST 1997 State-Changed-Why: Patch applied to -current and 2.2 branches: /home/ncvs/src/lib/libutil/login_cap.c,v <-- login_cap.c new revision: 1.14; previous revision: 1.13 /home/ncvs/src/lib/libutil/login_cap.c,v <-- login_cap.c new revision: 1.12.2.2; previous revision: 1.12.2.1 From owner-freebsd-bugs Fri Jun 13 15:40:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA25287 for bugs-outgoing; Fri, 13 Jun 1997 15:40:08 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA25170; Fri, 13 Jun 1997 15:39:35 -0700 (PDT) Received: from george.lbl.gov (george-2.lbl.gov [131.243.2.12]) by agora.rdrop.com (8.8.5/8.8.5) with SMTP id PAA01659; Fri, 13 Jun 1997 15:39:26 -0700 (PDT) Received: (jin@localhost) by george.lbl.gov (8.6.10/8.6.5) id PAA24591; Fri, 13 Jun 1997 15:36:07 -0700 Date: Fri, 13 Jun 1997 15:36:07 -0700 From: "Jin Guojun[ITG]" Message-Id: <199706132236.PAA24591@george.lbl.gov> To: lambert.org!terry@agora.rdrop.com Subject: Re: (kern/3827) : was ASUS P/I-P65UP5 with C-P55T2D Cc: bugs@FreeBSD.ORG, smp@FreeBSD.ORG, smp@csn.net Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > When you butil your libraries, did you rebuild everything from > scratch? If not, that may be your problem. Just following the previous message, do you mean to build libc_r.a? I did this on 2.2.1 platform as manual page says: cd /usr/src/lib/libc_r make depend && make all && make install Is this correct? or I missed something? -Jin From owner-freebsd-bugs Fri Jun 13 16:17:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA26476 for bugs-outgoing; Fri, 13 Jun 1997 16:17:48 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA26469 for ; Fri, 13 Jun 1997 16:17:41 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.5/8.8.5) with ESMTP id RAA04972; Fri, 13 Jun 1997 17:16:30 -0600 (MDT) Message-Id: <199706132316.RAA04972@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: Terry Lambert cc: jin@george.lbl.gov (Jin Guojun[ITG]), bugs@FreeBSD.ORG Subject: Re: (kern/3827) : was ASUS P/I-P65UP5 with C-P55T2D In-reply-to: Your message of "Fri, 13 Jun 1997 14:59:36 PDT." <199706132159.OAA11667@phaeton.artisoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 13 Jun 1997 17:16:30 -0600 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, since this problem is not SMP specific would everyone please drop the smp maillist from the cc: line in future replys. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-bugs Fri Jun 13 19:01:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA03471 for bugs-outgoing; Fri, 13 Jun 1997 19:01:14 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA03466 for ; Fri, 13 Jun 1997 19:01:09 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id LAA12946; Sat, 14 Jun 1997 11:56:35 +1000 Date: Sat, 14 Jun 1997 11:56:35 +1000 From: Bruce Evans Message-Id: <199706140156.LAA12946@godzilla.zeta.org.au> To: ac199@hwcn.org, freebsd-bugs@hub.freebsd.org Subject: Re: bin/3451: vasprintf() doesn't work. Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > realloc() can fail, resulting in a null pointer dereference. That's > undesirable. > > Try, instead, >... > *str = realloc(h.base, (size_t)(h.size - h.left + 1)); > if (*str == NULL) /* failed to realloc it to actual size */ > ! return (-1); > ! (*str)[h.size - h.left] = '\0'; > return (ret); > } One more problem: realloc() can fail, resulting in a leaking the memory pointed to by h.base. Bruce From owner-freebsd-bugs Fri Jun 13 20:20:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA06052 for bugs-outgoing; Fri, 13 Jun 1997 20:20:01 -0700 (PDT) Received: from kaori.communique.net (kaori.Communique.Net [204.27.65.55]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA06029 for ; Fri, 13 Jun 1997 20:19:58 -0700 (PDT) Received: by kaori.Communique.Net with Internet Mail Service (5.0.1457.3) id ; Fri, 13 Jun 1997 22:19:26 -0500 Message-ID: From: Raul Zighelboim To: "'freebsd-bugs@freefall.freebsd.org'" Subject: Digital DC21140A Fast Ethernet - does it works ? Date: Fri, 13 Jun 1997 22:19:25 -0500 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hello there; I am trying to get a few SMC ethernet cards working with no success; on different FreeBSD releases and different companion hardware. Follows a description of the problems: (these are TP cards only). ---Under FreeBSD 2.1.7 (with the patch to accept 00:e0:29... MAC): Jun 9 09:48:29 kiyoko /kernel: de0 rev 32 int a irq 11 on pci0:14 Jun 9 09:48:29 kiyoko /kernel: de0: SMC 8432BA DC21140A [10-100Mb/s] pass 2.0 Jun 9 09:48:30 kiyoko /kernel: de0: address 00:e0:29:05:9c:c0 Jun 9 09:48:30 kiyoko /kernel: de0: enabling BNC/AUI port The card will not work. the link light on the hub goes away as sson as the previous message shows up, and will not come back. --under FreeBSD 2.2-RELEASE #0: Wed Mar 26 14:35:45 CST 1997 de0 rev 32 int a irq 10 on pci0:10 de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0 de0: address 00:00:c0:4b:6c:ef The card is working, but..... on a 100baseT network, cannot pull more that 150Kbytes/s. and, TCP sessions hang whenever there is a large amount of output to be send (ie, whenever you type 'ps aux', ' cat /var/log/messages' or 'ftp>get x' an ftp session ; you can see the transmision working 'by hicups!). --under FreeBSD 2.2.2-RELEASE #0: Fri Jun 13 13:29:27 CDT 1997 (patch for 00:e0:29 applied). de0 rev 32 int a irq 15 on pci0:17 de0: 21140A [10-100Mb/s] pass 2.0 de0: address 00:e0:29:05:9e:e4 de0: enabling 100baseTX port The card comes up and seems to work... now, this are the symptoms, ------ telnet yama login: mango password: xxxxxx ------it will hang at this point-------- or if ftp-ing to the system, commands like dir/get/put will not work, as if I had ports>1023 firewalled (I do not). this server also has a 3C509 card. disabling the SMC card and enabling the 3com card (on a different hub, of course) fixes all networking issues. I considered the possibility that my 100BaseT hub was defective, but an NT server on the same hub (and with the same wires) flyes. I also tried any and all combinations of 'ifconfig de0 [+/-]link[0/1/2] up'. Any help to fix this problem would be appreciated (or a reccomendation for -working PCI 100baseT Ethernet card with -solid- drivers for FreeBSD 2.2.2-Release). Thanks. From owner-freebsd-bugs Fri Jun 13 22:20:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA09348 for bugs-outgoing; Fri, 13 Jun 1997 22:20:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA09326; Fri, 13 Jun 1997 22:20:02 -0700 (PDT) Date: Fri, 13 Jun 1997 22:20:02 -0700 (PDT) Message-Id: <199706140520.WAA09326@hub.freebsd.org> To: freebsd-bugs Cc: From: Mamoru Iwaki Subject: Re: bin/3834: /stand/sysinstall dumps core while fetching package index Reply-To: Mamoru Iwaki Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3834; it has been noted by GNATS. From: Mamoru Iwaki To: freebsd-gnats-submit@freebsd.org, rohrbach@nacamar.net Cc: Subject: Re: bin/3834: /stand/sysinstall dumps core while fetching package index Date: Sat, 14 Jun 1997 14:15:17 +0900 Hi, I experienced the same problem when the defaultrouter is not set but routed -q is set in /etc/rc.conf. In my case, the defaultrouter should be appropriately set in the rc.conf, irrespective of routed -q, then package-install via ftp works well. --- ----- Mamoru IWAKI (iwaki@jaist.ac.jp) Japan Advanced Institute of Science and Technology, Hokuriku From owner-freebsd-bugs Sat Jun 14 01:29:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA13741 for bugs-outgoing; Sat, 14 Jun 1997 01:29:13 -0700 (PDT) Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA13685; Sat, 14 Jun 1997 01:27:52 -0700 (PDT) Received: from localhost (narvi@localhost) by haldjas.folklore.ee (8.8.4/8.8.4) with SMTP id LAA00485; Sat, 14 Jun 1997 11:27:45 +0300 (EEST) Date: Sat, 14 Jun 1997 11:27:44 +0300 (EEST) From: Narvi To: hackers@freebsd.org cc: bugs@freebsd.org Subject: libc_r problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi! The libc_r makefile in 2.2-stable does not seem to include uthread_attr_nit.c in the makefile - the result is that the function pthread_attr_init() does not get compiled in and pthreads programs fail miserable at compile time... Sander From owner-freebsd-bugs Sat Jun 14 01:30:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA13829 for bugs-outgoing; Sat, 14 Jun 1997 01:30:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA13818; Sat, 14 Jun 1997 01:30:01 -0700 (PDT) Resent-Date: Sat, 14 Jun 1997 01:30:01 -0700 (PDT) Resent-Message-Id: <199706140830.BAA13818@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, dima@tejblum.dnttm.rssi.ru Received: from helios.dnttm.ru (uutejb@[194.85.104.197]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA13626 for ; Sat, 14 Jun 1997 01:25:19 -0700 (PDT) Received: (from uutejb@localhost) by helios.dnttm.ru (8.8.5/8.8.5/IP-3) with UUCP id MAA16798 for FreeBSD-gnats-submit@freebsd.org; Sat, 14 Jun 1997 12:26:48 +0400 Received: (from dima@localhost) by tejblum.dnttm.rssi.ru (8.8.5/8.8.5) id MAA00728; Sat, 14 Jun 1997 12:17:47 +0400 (MSD) Message-Id: <199706140817.MAA00728@tejblum.dnttm.rssi.ru> Date: Sat, 14 Jun 1997 12:17:47 +0400 (MSD) From: Dmitrij Tejblum Reply-To: dima@tejblum.dnttm.rssi.ru To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3864: Incorrect usage of err(3) in mount_union.c Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3864 >Category: bin >Synopsis: Incorrect usage of err(3) in mount_union.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 14 01:30:01 PDT 1997 >Last-Modified: >Originator: Dmitrij Tejblum >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: When mount() system call in mount_union.c fails, it call err(EX_OSERR, target). It is incorrect. First, target may contain '%'... Second, the error may be related to source, not to target (for example, "No such file or directory"). >How-To-Repeat: dima@tejblum|/usr/home/dima>mount_union a%d b%d mount_union: /usr/home/dima/a-272639828: No such file or directory dima@tejblum|/usr/home/dima>mkdir misc dima@tejblum|/usr/home/dima>mount_union misc b%d mount_union: /usr/home/dima/misc: No such file or directory dima@tejblum|/usr/home/dima> >Fix: *** /usr/src/sbin/mount_union/mount_union.c Sun May 25 12:18:27 1997 --- mount_union.c Sat Jun 14 11:44:06 1997 *************** *** 127,133 **** errx(EX_OSERR, "union filesystem is not available"); if (mount(vfc.vfc_name, source, mntflags, &args)) ! err(EX_OSERR, target); exit(0); } --- 127,133 ---- errx(EX_OSERR, "union filesystem is not available"); if (mount(vfc.vfc_name, source, mntflags, &args)) ! err(EX_OSERR, NULL); exit(0); } >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Jun 14 02:40:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA15894 for bugs-outgoing; Sat, 14 Jun 1997 02:40:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA15865; Sat, 14 Jun 1997 02:40:01 -0700 (PDT) Resent-Date: Sat, 14 Jun 1997 02:40:01 -0700 (PDT) Resent-Message-Id: <199706140940.CAA15865@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, bovynf@awe.be Received: from hal9000.not4u.net (pool056-77.innet.be [194.7.11.77]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA15580 for ; Sat, 14 Jun 1997 02:32:02 -0700 (PDT) Received: (from bovynf@localhost) by hal9000.not4u.net (8.8.5/8.8.5) id LAA00413; Sat, 14 Jun 1997 11:29:39 +0200 (MET DST) Message-Id: <199706140929.LAA00413@hal9000.not4u.net> Date: Sat, 14 Jun 1997 11:29:39 +0200 (MET DST) From: bovynf@awe.be Reply-To: bovynf@awe.be To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/3865: be.iso.kbd Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3865 >Category: misc >Synopsis: syscons keymap for Belgian keyboard is not correct >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 14 02:40:00 PDT 1997 >Last-Modified: >Originator: Filip Bovyn >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: FreeBSD 2.2-STABLE from June 13 1997 >Description: ! key produces | < and > are the wrong way round control keys are wrong (control-a generated control-q etc.) >How-To-Repeat: >Fix: --- /usr/src/share/syscons/keymaps/be.iso.kbd Sat Nov 9 04:05:40 1996 +++ be.iso.kbd Thu May 8 13:29:26 1997 @@ -3,23 +3,23 @@ # code base shift cntrl shift alt shift cntrl shift state # ------------------------------------------------------------------ 000 nop nop nop nop nop nop nop nop O - 001 esc esc nop nop esc esc nop nop O + 001 esc esc esc esc esc esc nop nop O 002 '&' '1' nop nop '|' '|' nop nop O 003 233 '2' nul nul '@' '@' nul nul O 004 '"' '3' nop nop '#' '#' nop nop O 005 ''' '4' nop nop ''' '4' nop nop O 006 '(' '5' nop nop '(' '5' nop nop O - 007 167 '6' rs rs '^' '^' rs rs O + 007 167 '6' nop nop '^' '^' rs rs O 008 232 '7' nop nop 232 '7' nop nop O - 009 '|' '8' nop nop '|' '8' nop nop O + 009 '!' '8' nop nop '!' '8' nop nop O 010 231 '9' nop nop '{' '{' nop nop O 011 225 '0' nop nop '}' '}' nop nop O - 012 ')' 176 ns ns ')' 176 ns ns O + 012 ')' 176 nop nop ')' 176 ns ns O 013 '-' '_' nop nop '-' '_' nop nop O 014 bs bs del del bs bs del del O 015 ht btab nop nop ht btab nop nop O - 016 'a' 'A' dc1 dc1 'a' 'A' dc1 dc1 C - 017 'z' 'Z' etb etb 'z' 'Z' etb etb C + 016 'a' 'A' soh soh 'a' 'A' dc1 dc1 C + 017 'z' 'Z' sub sub 'z' 'Z' etb etb C 018 'e' 'E' enq enq 'e' 'E' enq enq C 019 'r' 'R' dc2 dc2 'r' 'R' dc2 dc2 C 020 't' 'T' dc4 dc4 't' 'T' dc4 dc4 C @@ -32,7 +32,7 @@ 027 '$' '*' gs gs ']' ']' gs gs O 028 cr cr nl nl cr cr nl nl O 029 lctrl lctrl lctrl lctrl lctrl lctrl lctrl lctrl O - 030 'q' 'Q' soh soh 'q' 'Q' soh soh C + 030 'q' 'Q' dc1 dc1 'q' 'Q' soh soh C 031 's' 'S' dc3 dc3 's' 'S' dc3 dc3 C 032 'd' 'D' eot eot 'd' 'D' eot eot C 033 'f' 'F' ack ack 'f' 'F' ack ack C @@ -41,18 +41,18 @@ 036 'j' 'J' nl nl 'j' 'J' nl nl C 037 'k' 'K' vt vt 'k' 'K' vt vt C 038 'l' 'L' ff ff 'l' 'L' ff ff C - 039 'm' 'M' nop nop 'm' 'M' nop nop O - 040 249 '%' nop nop ''' '"' nop nop O + 039 'm' 'M' cr cr 'm' 'M' nop nop O + 040 249 '%' nul nul ''' '"' nop nop O 041 178 nop nop nop '|' '|' nop nop O 042 lshift lshift lshift lshift lshift lshift lshift lshift O - 043 181 163 fs fs 96 96 fs fs O - 044 'w' 'W' sub sub 'w' 'W' sub sub C + 043 181 163 nop nop 96 96 fs fs O + 044 'w' 'W' etb etb 'w' 'W' sub sub C 045 'x' 'X' can can 'x' 'X' can can C 046 'c' 'C' etx etx 'c' 'C' etx etx C 047 'v' 'V' syn syn 'v' 'V' syn syn C 048 'b' 'B' stx stx 'b' 'B' stx stx C 049 'n' 'N' so so 'n' 'N' so so C - 050 ',' '?' cr cr ',' '?' cr cr C + 050 ',' '?' nop nop ',' '?' cr cr C 051 ';' '.' nop nop ';' '.' nop nop O 052 ':' '/' nop nop ':' '/' nop nop O 053 '=' '+' nop nop '~' '~' nop nop O @@ -71,8 +71,8 @@ 066 fkey08 fkey20 fkey32 fkey44 scr08 scr08 scr08 scr08 O 067 fkey09 fkey21 fkey33 fkey45 scr09 scr09 scr09 scr09 O 068 fkey10 fkey22 fkey34 fkey46 scr10 scr10 scr10 scr10 O - 069 nlock nlock nlock nlock nlock nlock nlock nlock O - 070 slock slock slock slock slock slock slock slock O + 069 nlock nlock dc3 dc3 nlock nlock nlock nlock O + 070 slock slock del del slock slock slock slock O 071 fkey49 '7' '7' '7' '7' '7' '7' '7' N 072 fkey50 '8' '8' '8' '8' '8' '8' '8' N 073 fkey51 '9' '9' '9' '9' '9' '9' '9' N @@ -86,15 +86,15 @@ 081 fkey59 '3' '3' '3' '3' '3' '3' '3' N 082 fkey60 '0' '0' '0' '0' '0' '0' '0' N 083 del '.' '.' '.' '.' '.' boot boot N - 084 ns ns ns ns ns ns ns ns O + 084 ns ns nop nop ns ns ns ns O 085 nop nop nop nop nop nop nop nop O - 086 '>' '<' nop nop '\' '\' nop nop O + 086 '<' '>' fs fs '\' '\' nop nop O 087 fkey11 fkey23 fkey35 fkey47 scr11 scr11 scr11 scr11 O 088 fkey12 fkey24 fkey36 fkey48 scr12 scr12 scr12 scr12 O 089 cr cr nl nl cr cr nl nl O 090 rctrl rctrl rctrl rctrl rctrl rctrl rctrl rctrl O 091 '/' '/' '/' '/' '/' '/' '/' '/' N - 092 nscr nop debug nop nop nop nop nop O + 092 nscr nop '*' '*' nop nop nop nop O 093 ralt ralt ralt ralt ralt ralt ralt ralt O 094 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 O 095 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 O >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Jun 14 03:04:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA16381 for bugs-outgoing; Sat, 14 Jun 1997 03:04:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA16376; Sat, 14 Jun 1997 03:04:02 -0700 (PDT) From: "Jordan K. Hubbard" Received: (from jkh@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA25669; Sat, 14 Jun 1997 03:03:33 -0700 (PDT) Date: Sat, 14 Jun 1997 03:03:33 -0700 (PDT) Message-Id: <199706141003.DAA25669@freefall.freebsd.org> To: jkh@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, ache@FreeBSD.ORG Subject: Re: misc/3865 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: syscons keymap for Belgian keyboard is not correct Responsible-Changed-From-To: freebsd-bugs->ache Responsible-Changed-By: jkh Responsible-Changed-When: Sat Jun 14 03:02:57 PDT 1997 Responsible-Changed-Why: Andrey is Mr. I18N issues and Soren has already made it plain that he won't deal with keymaps/fonts/etc so that option is out. :) From owner-freebsd-bugs Sat Jun 14 06:08:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA22290 for bugs-outgoing; Sat, 14 Jun 1997 06:08:40 -0700 (PDT) Received: from X2296 (ppp1616.on.sympatico.ca [206.172.249.80]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA22283; Sat, 14 Jun 1997 06:08:36 -0700 (PDT) Received: from localhost (tim@localhost) by X2296 (8.7.6/8.7.3) with SMTP id JAA00254; Sat, 14 Jun 1997 09:07:47 -0400 (EDT) Date: Sat, 14 Jun 1997 09:07:46 -0400 (EDT) From: Tim Vanderhoek Reply-To: ac199@hwcn.org To: Bruce Evans cc: ac199@hwcn.org, freebsd-bugs@hub.freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: bin/3451: vasprintf() doesn't work. In-Reply-To: <199706140156.LAA12946@godzilla.zeta.org.au> Message-ID: X-OS: FreeBSD 2.2 X-Mailer: Pine MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 14 Jun 1997, Bruce Evans wrote: > > *str = realloc(h.base, (size_t)(h.size - h.left + 1)); > > if (*str == NULL) /* failed to realloc it to actual size */ > > ! return (-1); > > ! (*str)[h.size - h.left] = '\0'; > > return (ret); > > } > > One more problem: realloc() can fail, resulting in a leaking the memory > pointed to by h.base. Which, of course, points us to yet another error in the original vasprintf.c... :) The test to see if str is NULL is *str == NULL.... Final patch frees h.base (as is done everywhere else) and fixes that... :) *** old.vasprintf.c Tue Apr 29 21:32:00 1997 --- vasprintf.c Sat Jun 14 08:56:41 1997 *************** *** 111,119 **** if (h.base == NULL) /* failed to realloc in writehook */ return (-1); - h.base[h.size - h.left] = '\0'; *str = realloc(h.base, (size_t)(h.size - h.left + 1)); ! if (*str == NULL) /* failed to realloc it to actual size */ ! *str = h.base; /* return oversize buffer */ return (ret); } --- 111,121 ---- if (h.base == NULL) /* failed to realloc in writehook */ return (-1); *str = realloc(h.base, (size_t)(h.size - h.left + 1)); ! if (str == NULL) { /* failed to realloc it to actual size */ ! free(h.base); ! return (-1); ! } ! (*str)[h.size - h.left] = '\0'; return (ret); } -- tIM...HOEk optimization: The theory that making your code incomprehensible by using only one-letter variable names will make it run faster. From owner-freebsd-bugs Sat Jun 14 06:10:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA22365 for bugs-outgoing; Sat, 14 Jun 1997 06:10:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA22358; Sat, 14 Jun 1997 06:10:02 -0700 (PDT) Date: Sat, 14 Jun 1997 06:10:02 -0700 (PDT) Message-Id: <199706141310.GAA22358@hub.freebsd.org> To: freebsd-bugs Cc: From: Tim Vanderhoek Subject: Re: bin/3451: vasprintf() doesn't work. Reply-To: Tim Vanderhoek Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3451; it has been noted by GNATS. From: Tim Vanderhoek To: Bruce Evans Cc: ac199@hwcn.org, freebsd-bugs@hub.freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: bin/3451: vasprintf() doesn't work. Date: Sat, 14 Jun 1997 09:07:46 -0400 (EDT) On Sat, 14 Jun 1997, Bruce Evans wrote: > > *str = realloc(h.base, (size_t)(h.size - h.left + 1)); > > if (*str == NULL) /* failed to realloc it to actual size */ > > ! return (-1); > > ! (*str)[h.size - h.left] = '\0'; > > return (ret); > > } > > One more problem: realloc() can fail, resulting in a leaking the memory > pointed to by h.base. Which, of course, points us to yet another error in the original vasprintf.c... :) The test to see if str is NULL is *str == NULL.... Final patch frees h.base (as is done everywhere else) and fixes that... :) *** old.vasprintf.c Tue Apr 29 21:32:00 1997 --- vasprintf.c Sat Jun 14 08:56:41 1997 *************** *** 111,119 **** if (h.base == NULL) /* failed to realloc in writehook */ return (-1); - h.base[h.size - h.left] = '\0'; *str = realloc(h.base, (size_t)(h.size - h.left + 1)); ! if (*str == NULL) /* failed to realloc it to actual size */ ! *str = h.base; /* return oversize buffer */ return (ret); } --- 111,121 ---- if (h.base == NULL) /* failed to realloc in writehook */ return (-1); *str = realloc(h.base, (size_t)(h.size - h.left + 1)); ! if (str == NULL) { /* failed to realloc it to actual size */ ! free(h.base); ! return (-1); ! } ! (*str)[h.size - h.left] = '\0'; return (ret); } -- tIM...HOEk optimization: The theory that making your code incomprehensible by using only one-letter variable names will make it run faster. From owner-freebsd-bugs Sat Jun 14 06:15:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA22586 for bugs-outgoing; Sat, 14 Jun 1997 06:15:22 -0700 (PDT) Received: from X2296 (ppp1616.on.sympatico.ca [206.172.249.80]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA22579; Sat, 14 Jun 1997 06:15:18 -0700 (PDT) Received: from localhost (tim@localhost) by X2296 (8.7.6/8.7.3) with SMTP id JAA00261; Sat, 14 Jun 1997 09:14:30 -0400 (EDT) Date: Sat, 14 Jun 1997 09:14:29 -0400 (EDT) From: Tim Vanderhoek Reply-To: ac199@hwcn.org To: hoek@hwcn.org cc: Bruce Evans , ac199@hwcn.org, freebsd-bugs@hub.freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: bin/3451: vasprintf() doesn't work. In-Reply-To: Message-ID: X-OS: FreeBSD 2.2 X-Mailer: Pine MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 14 Jun 1997, Tim Vanderhoek wrote: > On Sat, 14 Jun 1997, Bruce Evans wrote: > > > > *str = realloc(h.base, (size_t)(h.size - h.left + 1)); > > > if (*str == NULL) /* failed to realloc it to actual size */ > > > ! return (-1); > > > ! (*str)[h.size - h.left] = '\0'; > > > return (ret); > > Which, of course, points us to yet another error in the original > vasprintf.c... :) The test to see if str is NULL is > *str == NULL.... No, wait... That should be *str == NULL... Just ignore that patch, and just put the free(h.base) in there... Sheesh... I should really look this stuff over before I send it... :-( > ! if (str == NULL) { /* failed to realloc it to actual size */ ! if (*str == NULL) { /* failed to realloc it to actual size */ ^^^^^^^^^^^^^^^^^^^^^^^^^^ corrected. again. -- tIM...HOEk optimization: The theory that making your code incomprehensible by using only one-letter variable names will make it run faster. From owner-freebsd-bugs Sat Jun 14 06:20:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA22795 for bugs-outgoing; Sat, 14 Jun 1997 06:20:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA22763; Sat, 14 Jun 1997 06:20:02 -0700 (PDT) Date: Sat, 14 Jun 1997 06:20:02 -0700 (PDT) Message-Id: <199706141320.GAA22763@hub.freebsd.org> To: freebsd-bugs Cc: From: Tim Vanderhoek Subject: Re: bin/3451: vasprintf() doesn't work. Reply-To: Tim Vanderhoek Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3451; it has been noted by GNATS. From: Tim Vanderhoek To: hoek@hwcn.org Cc: Bruce Evans , ac199@hwcn.org, freebsd-bugs@hub.freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: bin/3451: vasprintf() doesn't work. Date: Sat, 14 Jun 1997 09:14:29 -0400 (EDT) On Sat, 14 Jun 1997, Tim Vanderhoek wrote: > On Sat, 14 Jun 1997, Bruce Evans wrote: > > > > *str = realloc(h.base, (size_t)(h.size - h.left + 1)); > > > if (*str == NULL) /* failed to realloc it to actual size */ > > > ! return (-1); > > > ! (*str)[h.size - h.left] = '\0'; > > > return (ret); > > Which, of course, points us to yet another error in the original > vasprintf.c... :) The test to see if str is NULL is > *str == NULL.... No, wait... That should be *str == NULL... Just ignore that patch, and just put the free(h.base) in there... Sheesh... I should really look this stuff over before I send it... :-( > ! if (str == NULL) { /* failed to realloc it to actual size */ ! if (*str == NULL) { /* failed to realloc it to actual size */ ^^^^^^^^^^^^^^^^^^^^^^^^^^ corrected. again. -- tIM...HOEk optimization: The theory that making your code incomprehensible by using only one-letter variable names will make it run faster. From owner-freebsd-bugs Sat Jun 14 07:20:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA24369 for bugs-outgoing; Sat, 14 Jun 1997 07:20:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA24363; Sat, 14 Jun 1997 07:20:02 -0700 (PDT) Resent-Date: Sat, 14 Jun 1997 07:20:02 -0700 (PDT) Resent-Message-Id: <199706141420.HAA24363@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, sanewo@ba2.so-net.or.jp Received: from sanewo.ba2.so-net.or.jp (pppba22.pppp.ap.so-net.or.jp [210.132.186.34]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA24198 for ; Sat, 14 Jun 1997 07:15:43 -0700 (PDT) Received: (from sanewo@localhost) by sanewo.ba2.so-net.or.jp (8.8.5/8.7.3) id XAA01691; Sat, 14 Jun 1997 23:10:43 +0900 (JST) Message-Id: <199706141410.XAA01691@sanewo.ba2.so-net.or.jp> Date: Sat, 14 Jun 1997 23:10:43 +0900 (JST) From: sanewo@ba2.so-net.or.jp Reply-To: sanewo@ba2.so-net.or.jp To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/3866: rcs2log fails with eastern timezone Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3866 >Category: bin >Synopsis: rcs2log fails with eastern timezones >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 14 07:20:01 PDT 1997 >Last-Modified: >Originator: Takanori Saneto >Organization: an individual >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD aurora 3.0-CURRENT FreeBSD 3.0-CURRENT #54: Fri Jun 13 03:06:54 JST 1997 sanewo@aurora:/usr/src/sys/compile/AURORA i386 >Description: If timezone of the system is east to the GMT, rcs2log fails. If rcs2log can't find ChangeLog file, instead of using timestamp of ChangeLog, it uses "1970-1-1", which is passed to "cvs log" command. Because there is no timezone in the string, it assumes local timezone. For GMT, time_t for 1970-1-1 0:0:0 is 0. For timezones east to GMT, the value converted to time_t becomes nagative, which causes error. >How-To-Repeat: (in the CVS controlled directory where no ChageLog file) (and make sure that you are live in eastern country) % /usr/share/examples/cvs/rcs2log cvs [log aborted]: Can't parse date/time: 1970-1-1 >Fix: --- rcs2log.sh.org Sat Jun 14 22:48:29 1997 +++ rcs2log.sh Sat Jun 14 22:48:52 1997 @@ -121,7 +121,7 @@ # log the revisions checked in since the first ChangeLog entry. case $rlog_options in '') - date=1970-01-01 + date='1970-01-01 GMT' if test -s ChangeLog then # Add 1 to seconds to avoid duplicating most recent log. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Jun 14 09:10:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA27663 for bugs-outgoing; Sat, 14 Jun 1997 09:10:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA27648; Sat, 14 Jun 1997 09:10:02 -0700 (PDT) Resent-Date: Sat, 14 Jun 1997 09:10:02 -0700 (PDT) Resent-Message-Id: <199706141610.JAA27648@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, k-horik@yk.rim.or.jp Received: from mail.yk.rim.or.jp (mail.yk.rim.or.jp [202.247.130.37]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA27579 for ; Sat, 14 Jun 1997 09:09:38 -0700 (PDT) Received: from localhost (ppp154.yk.rim.or.jp [202.247.134.154]) by mail.yk.rim.or.jp (8.8.5/3.4Wbeta6-rim1.1) with ESMTP id BAA20531; Sun, 15 Jun 1997 01:08:47 +0900 (JST) Message-Id: <199706141608.BAA20531@mail.yk.rim.or.jp> Date: Sun, 15 Jun 1997 01:07:26 +0900 From: k-horik@yk.rim.or.jp Reply-To: k-horik@yk.rim.or.jp To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/3868: manpage fsirand.8 may contain typo Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3868 >Category: docs >Synopsis: manpage fsirand.8 may contain typo >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 14 09:10:01 PDT 1997 >Last-Modified: >Originator: Kazuo Horikawa >Organization: >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: I read 2.2.2-RELEASE's fsirand.8 .\" $OpenBSD: fsirand.8,v 1.6 1997/02/23 03:58:26 millert Exp $ >Description: The manpage fsirand.8 may contain typo. Please see Fix: >How-To-Repeat: >Fix: --- fsirand.8.orig Sat Jun 14 21:42:51 1997 +++ fsirand.8 Wed Jun 11 20:07:43 1997 @@ -87,7 +87,7 @@ Since .Nm allocates enough memory to hold all the inodes in -a given cylinder group it is may use a large amount +a given cylinder group it may use a large amount of memory for large disks with few cylinder groups. .Sh SEE ALSO .Xr fs 5 , >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Jun 14 09:10:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA27675 for bugs-outgoing; Sat, 14 Jun 1997 09:10:07 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA27660; Sat, 14 Jun 1997 09:10:03 -0700 (PDT) Resent-Date: Sat, 14 Jun 1997 09:10:03 -0700 (PDT) Resent-Message-Id: <199706141610.JAA27660@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, k-horik@yk.rim.or.jp Received: from mail.yk.rim.or.jp (root@mail.yk.rim.or.jp [202.247.130.37]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA27582 for ; Sat, 14 Jun 1997 09:09:39 -0700 (PDT) Received: from localhost (ppp154.yk.rim.or.jp [202.247.134.154]) by mail.yk.rim.or.jp (8.8.5/3.4Wbeta6-rim1.1) with ESMTP id BAA20555; Sun, 15 Jun 1997 01:08:56 +0900 (JST) Message-Id: <199706141608.BAA20555@mail.yk.rim.or.jp> Date: Sun, 15 Jun 1997 01:07:32 +0900 From: k-horik@yk.rim.or.jp Reply-To: k-horik@yk.rim.or.jp To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/3869: manpage tip.1 contains typo Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3869 >Category: docs >Synopsis: manpage tip.1 contains typo >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 14 09:10:02 PDT 1997 >Last-Modified: >Originator: Kazuo Horikawa >Organization: >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: .\" @(#)tip.1 8.4 (Berkeley) 4/18/94 >Description: The manpage tip.1 contains typo. >How-To-Repeat: >Fix: --- tip.1.orig Sat Jun 14 21:44:52 1997 +++ tip.1 Sun Jun 1 22:45:31 1997 @@ -363,7 +363,7 @@ switch is on, only printable .Tn ASCII characters will be included in -the script file (those characters betwee 040 and 0177). The +the script file (those characters between 040 and 0177). The variable .Ar exceptions is used to indicate characters which are an exception to the normal >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Jun 14 12:38:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA05681 for bugs-outgoing; Sat, 14 Jun 1997 12:38:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA05669; Sat, 14 Jun 1997 12:38:25 -0700 (PDT) From: Masafumi NAKANE Received: (from max@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA01399; Sat, 14 Jun 1997 12:37:52 -0700 (PDT) Date: Sat, 14 Jun 1997 12:37:52 -0700 (PDT) Message-Id: <199706141937.MAA01399@freefall.freebsd.org> To: mph@pobox.com, max@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: misc/3662 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Typo in fortunes2-o State-Changed-From-To: open-closed State-Changed-By: max State-Changed-When: Sat Jun 14 12:37:21 PDT 1997 State-Changed-Why: Suggested correction applied. From owner-freebsd-bugs Sat Jun 14 12:49:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA06127 for bugs-outgoing; Sat, 14 Jun 1997 12:49:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA06119; Sat, 14 Jun 1997 12:49:34 -0700 (PDT) From: Masafumi NAKANE Received: (from max@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA01695; Sat, 14 Jun 1997 12:49:01 -0700 (PDT) Date: Sat, 14 Jun 1997 12:49:01 -0700 (PDT) Message-Id: <199706141949.MAA01695@freefall.freebsd.org> To: k-horik@yk.rim.or.jp, max@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: docs/3869 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: manpage tip.1 contains typo State-Changed-From-To: open-closed State-Changed-By: max State-Changed-When: Sat Jun 14 12:48:22 PDT 1997 State-Changed-Why: Suggested correction is applied.