From owner-freebsd-bugs Sun Sep 8 03:11:22 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA00466 for bugs-outgoing; Sun, 8 Sep 1996 03:11:22 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA00447 for ; Sun, 8 Sep 1996 03:11:19 -0700 (PDT) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id DAA00212 for ; Sun, 8 Sep 1996 03:01:46 -0700 (PDT) Received: from cheops.anu.edu.au by mail.crl.com with SMTP id AA16234 (5.65c/IDA-1.5 for ); Sun, 8 Sep 1996 03:00:04 -0700 Message-Id: <199609081000.AA16234@mail.crl.com> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA238536681; Sun, 8 Sep 1996 19:58:01 +1000 From: Darren Reed Subject: more on T130 card + 2.1.5 To: freebsd-bugs@FreeBSD.org Date: Sun, 8 Sep 1996 19:58:01 +1000 (EST) Cc: avalon@cheops.anu.edu.au (Darren Reed) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk I rebooted, and being a sucker for punishment, did an "mt status" with no tape in the drive. On the console: # mt status st0: not ready mt: /dev/nrst0: Device busy st0(nca0:4:0): NOT READY asc:3a,0 Medium not prsent push the tape in, wait a few seconds, and try again: # mt status st0: not ready mt: /dev/nrst0: Device busy st0(nca0:4:0): NOT READY asc:4,1 st0(nca0:4:0): Logical unit is in process of becoming ready wait until the light has gone out, and try again and: # mt status Present Mode: Density = 0x00 Blocksize variable ---------available modes--------- Mode 0: Density = 0x00 Blocksize variable Mode 1: Density = 0x00 Blocksize variable Mode 2: Density = 0x00 Blocksize variable Mode 3: Density = 0x00 Blocksize variable nca0/4/0 (st0) timed out nca0/4/0 (st0) timed out [this time I didn't try eject the tape while it was `working'] But, the next command I did was an "mt offl" (tape still in the drive) and it panic'd straight away, in the same was as before. nca0 at 0x358-0x35f irq 7 on isa nca0: type NCR-5380 (nca0:4:0): "WANGTEK 6130-HS 4G16" type 1 removable SCSI 2 st0(nca0:4:0): Sequential-Access density code 0x13, drive empty controller nca0 at isa? port 0x358 bio irq 7 vector ncaintr controller scbus0 #base SCSI code device st0 #SCSI tapes I'm going to try again with SCSIDEBUG & SCSI_REPORT_GEOMETRY. Darren From owner-freebsd-bugs Sun Sep 8 03:11:25 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA00476 for bugs-outgoing; Sun, 8 Sep 1996 03:11:25 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA00454 for ; Sun, 8 Sep 1996 03:11:20 -0700 (PDT) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id DAA00255 for ; Sun, 8 Sep 1996 03:06:57 -0700 (PDT) Received: from cheops.anu.edu.au by mail.crl.com with SMTP id AA14222 (5.65c/IDA-1.5 for ); Sun, 8 Sep 1996 02:29:51 -0700 Message-Id: <199609080929.AA14222@mail.crl.com> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA232984797; Sun, 8 Sep 1996 19:26:37 +1000 From: Darren Reed Subject: 2.1.5 panic. To: freebsd-bugs@FreeBSD.org Date: Sun, 8 Sep 1996 19:26:36 +1000 (EST) Cc: avalon@cheops.anu.edu.au (Darren Reed) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Trying to use a Trantor T130 scsi card: nca0/4/0 (st0) timed out nca0/4/0 (st0) timed out Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01bb2e3 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1325 (mt) interrupt mask = bio kernel: type 12 trap, code=0 Stopped at _nca_start+0x27: movl 0x8(%eax),%edx db> t _nca_start(f01eaf0c) at _nca_start+0x27 _nca_scsi_cmd(f08d7880,40,efbffd40,f08d7900,efbffd48) at _nca_scsi_cmd+0x17d _scsi_scsi_cmd(f08d7900,efbffd40,6,0,0) at _scsi_scsi_cmd+0x168 _scsi_test_unit_ready(f08d7900,40,f08d7900,f01d533cc,e01) at scsi_test_unit_ready+0x35 _st_open(e01,1,2000,f0d42d00,f08d7900) at _st_open+0x52 _scsi_open(e01,1,2000,f0d42d00,f08d7900) at _scsi_open+0x94 _stopen(e01,1,2000,f0d42d00,0) at _stopen+0x19 _spec_open(efbffe10,0,efbfff94,f0d42d00,f0d59f00) at _spec_open+0x12b _vn_open(efbffedc,1,8bc,efbfda24,f01d1308) at _vn_open+0x3a3 _open(f0d42d00,efbfff94,efbfff8c,efbfdacc,1) at _open+0x97 _syscall(27,27,31f8,1,efbfda94) at _syscall+0x147 _syscall() at _Xsyscall+0x2b --- syscall 5, eip = 0x805b246, ebp 0xefbfda94 I can probably make this happen again, scenario as follows: 32MB, P-100, sound card conflicting at IRQ 7 with T130 (only parameter which conflicts) but sound card not configured in kernel. T130 works under Linux using the "port mode" config. option. had a DAT tape in the drive, was compiling a kernel, did an "mt" on the drive but that hung, so I did anohter, that hung. sent both TERM & KILL signals to each, but still nothing. ran anohter "mt" in the background and decided to make something happen and pressed the eject button on the tape drive. The tape is now sticky partway out (ejected) and my kernel is dead. From owner-freebsd-bugs Sun Sep 8 03:24:54 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA01163 for bugs-outgoing; Sun, 8 Sep 1996 03:24:54 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA01143; Sun, 8 Sep 1996 03:24:51 -0700 (PDT) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id DAA00299 ; Sun, 8 Sep 1996 03:24:51 -0700 (PDT) Received: from cheops.anu.edu.au by mail.crl.com with SMTP id AA08048 (5.65c/IDA-1.5); Sun, 8 Sep 1996 01:11:52 -0700 Message-Id: <199609080811.AA08048@mail.crl.com> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA213880044; Sun, 8 Sep 1996 18:07:24 +1000 From: Darren Reed Subject: no more mbufs! To: freebsd-bugs@freebsd.org Date: Sun, 8 Sep 1996 18:07:23 +1000 (EST) Cc: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I just made my 2.1.5 box run out of mbufs: kernel: Out of mbuf clusters - increase maxusers! so I thought I'd let it rest and wait for things to expire... (a reboot is going to be necessary, I can see...) however, netstat -m now looks like this: 1038 mbufs in use: 1025 mbufs allocated to data 2 mbufs allocated to packet headers 3 mbufs allocated to protocol control blocks 8 mbufs allocated to socket names and addresses 1024/1024 mbuf clusters in use 2177 Kbytes allocated to network (100% in use) 0 requests for memory deined 0 requests for memory delayed 0 calls to protocol drain queues there appear to be no outstanding connections in netstat -an output. To get the machine in this state, I was using it as the source of running iptest against an UltraSparc2 (making heavy use of sending packets out via BPF). Some minutes later, "netstat -m" still reports the same. Reboot time I guess: new kernel and has been up less than half an hour. Darren From owner-freebsd-bugs Sun Sep 8 03:50:08 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA02189 for bugs-outgoing; Sun, 8 Sep 1996 03:50:08 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA02160; Sun, 8 Sep 1996 03:50:05 -0700 (PDT) Resent-Date: Sun, 8 Sep 1996 03:50:05 -0700 (PDT) Resent-Message-Id: <199609081050.DAA02160@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, phk@critter.tfs.com Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA02000 for ; Sun, 8 Sep 1996 03:47:58 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.177]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id DAA00406 for ; Sun, 8 Sep 1996 03:47:55 -0700 (PDT) Received: (from phk@localhost) by critter.tfs.com (8.7.5/8.7.3) id MAA08034; Sun, 8 Sep 1996 12:46:26 +0200 (MET DST) Message-Id: <199609081046.MAA08034@critter.tfs.com> Date: Sun, 8 Sep 1996 12:46:26 +0200 (MET DST) From: Poul-Henning Kamp Reply-To: phk@critter.tfs.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/1580: make & /usr/obj is bogus. Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1580 >Category: conf >Synopsis: make & /usr/obj is bogus. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 8 03:50:01 PDT 1996 >Last-Modified: >Originator: Poul-Henning Kamp >Organization: >Release: FreeBSD 2.2-CURRENT i386 >Environment: >Description: On my system /usr/src -> ../a/src so when I "make world" I get obj directories: /usr/obj/./a/src/usr.sbin/watch Whats even more bogus is that if I cd /usr/src/usr.sbin/ncrcontrol make obj then it makes /usr/obj/usr/src/usr.sbin/ncrcontrol >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Sep 8 04:30:16 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA03231 for bugs-outgoing; Sun, 8 Sep 1996 04:30:16 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA03225 for freebsd-bugs; Sun, 8 Sep 1996 04:30:15 -0700 (PDT) Date: Sun, 8 Sep 1996 04:30:15 -0700 (PDT) From: Paul Traina Message-Id: <199609081130.EAA03225@freefall.freebsd.org> To: freebsd-bugs Subject: active bugs 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 fo FreeBSD including experimental development code and obsolete releases. Bugs can be in one of several states: open A problem report has been submitted, no sanity checking performed analyzed The report has been examined by a team member and evaluated 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. suspended Work on the problem has been postponsed. 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. closed A problem report is closed when any changes have been integrated, documented, and tested. Critical problems S Submitted Tracker Engr. 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 f [1995/05/28] kern/452 davidg vnode swapping panics f [1995/11/11] bin/817 fenner Wrong route to remote network f [1995/11/27] kern/840 peter Kernel page directory invalid o [1995/12/03] kern/863 davidg panic on kernel page fault, NULL curproc o [1995/12/08] kern/876 mpp NFS allows bogus accesses to cached data o [1996/01/09] kern/940 panic: free vnode isn't a [1996/01/22] kern/965 bde 2.0.5: system crashes daily because of "m o [1996/01/29] kern/978 se Three deadlocks in row o [1996/02/08] kern/1008 Daily crash while writing network backups a [1996/03/04] kern/1059 hsu null fs panics system o [1996/04/06] kern/1121 dyson System crashes on boot up just after the o [1996/04/29] kern/1163 2.2-960323-SNAP: fatal trap 12 o [1996/05/07] kern/1177 dyson Machine hangs with message "vm_fork: no p o [1996/05/19] kern/1217 separating to hardrives to two IDE channe o [1996/05/26] kern/1257 dyson System got blown away by "vm_pageout_scan o [1996/06/01] kern/1286 cluster_read() calls strategy routine wit o [1996/06/08] kern/1302 3COM 3c590 can't receive packets o [1996/06/11] kern/1311 Panic: vm_page_free while installing new o [1996/07/15] bin/1387 Group file errors cause absolute havoc o [1996/07/21] misc/1413 Missing library libgcc.261 o [1996/07/21] i386/1414 3c595 ceases to work aftern installation. o [1996/07/25] kern/1432 Rexmit timeout for TCP too short o [1996/08/12] bin/1492 perror ("") does not prepend ": " o [1996/08/15] kern/1498 system hangs during inactivity o [1996/08/20] bin/1519 chpass creates an NIS security hole o [1996/08/25] kern/1540 panic: ufs_unlock NOT LOCKED o [1996/08/30] bin/1554 routed kills default permanently 29 problems total. Serious problems S Submitted Tracker Engr. Description ------------------------------------------------------------------------------- o [1994/11/30] kern/34 davidg nullfs and union mounts can result in wil o [1995/01/10] bin/104 pax -rwl may corrupt filesystem o [1995/01/24] gnu/183 bde can't resolve "operator <<" overload a [1995/03/20] kern/260 davidg msync and munmap don't bother to update m a [1995/03/20] docs/264 paul There are no manual pages for the forms l a [1995/03/22] kern/267 davidg NFS code gives error messages, systems ja o [1995/04/01] kern/291 se PCI devices still probe/attach after bein o [1995/04/20] kern/353 se xcdplayer crashes machine (with NCR810 SC o [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 f [1995/05/25] kern/443 65 sendmails crashes system o [1995/05/26] kern/446 phk unable to diskless-boot a PC when the ser a [1995/06/17] kern/527 dufault dump causes assertion in ncr.c o [1995/06/17] kern/528 bde slow 386 reports excessive interrupt-leve o [1995/07/02] kern/579 bde sio: RS_IBUFSIZE at 256 bytes serial line o [1995/08/01] bin/648 bde printf format conversion incorrect (dupli o [1995/08/15] i386/692 bde My modem is not found if my external cach o [1995/08/21] kern/703 amurai ppp not always deleting route properly wh o [1995/08/22] bin/706 increased root DNS traffic and long laten f [1995/09/20] kern/730 gibbs 3Com 3C5x9 probe problem o [1995/09/26] bin/739 Some problems when an output filter reads o [1995/09/27] kern/745 se occasional filesystem inconsistencies, an o [1995/09/27] bin/747 date(1) gives weird time zones and interp o [1995/09/27] kern/750 cd9660 confused by not-ready or I/O error o [1995/10/05] misc/767 Configure-time does time-warp on non-UTC a [1995/10/07] bin/771 wollman telnet character mode not set and broken o [1995/10/09] kern/774 dump fails with "slave couldn't reopen di o [1995/10/11] bin/777 patch doesn't realize stdin is closed and o [1995/10/12] bin/778 tar complains "EOF not on block boundary" a [1995/10/15] kern/782 davidg chmod does a null pointer dereference o [1995/10/18] bin/786 wpaul Problem with NIS and large group maps a [1995/10/26] kern/794 swap partition at offset 0 still broken o [1995/11/12] kern/820 gibbs scsi tape problems o [1995/11/16] bin/826 tcpmux listener in inetd does not work o [1995/11/28] bin/850 dump treats write-protect as an EOT & spo o [1995/12/01] bin/859 joerg /bin/sh -c does not ignore SIGINT o [1995/12/02] kern/860 msmith visual mode in kernel -c is too restricti a [1995/12/04] i386/867 nate Notebook with APM and 3C589C in PCMCIA fr f [1995/12/07] bin/873 fenner Invalid route to remote network o [1995/12/20] i386/906 davidg /sys/i386/boot/netboot/nb8390.com cannot o [1995/12/29] kern/920 bde sio output looses chars in fifo on close( o [1996/01/01] bin/926 Mounting nfs disks before starting mountd o [1996/01/02] kern/927 VGA mode not restored o [1996/01/06] kern/932 de0 occasionally enables 100baseTX when p o [1996/01/12] misc/942 X11 mono server dumps core on supported v o [1996/01/16] kern/949 panic, undebugable dump? o [1996/01/17] kern/951 -current kernel crashes with devfs error o [1996/01/19] kern/956 Kernel page fault, null callp o [1996/01/25] kern/971 Default limits for number of processes pe f [1996/01/27] kern/974 ktrace causes panic: freeing busy page o [1996/01/28] kern/976 se NCR SCSI driver gives assertion errors an o [1996/02/01] bin/986 problems make-ing with cd in the rule o [1996/02/06] kern/998 bde badness in file system silently crashes m o [1996/02/10] kern/1016 dyson panic: vm_page_free: freeing free page, s o [1996/02/10] kern/1017 dyson ssh stopped working between 15th Jan and o [1996/02/12] kern/1018 dyson panic: unwire: page not in pmap o [1996/02/12] bin/1019 joerg getty cannot detect ppp logins 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 joerg /bin/sh does not pass environment variabl o [1996/02/27] kern/1045 Lockup: b_to_q to a clist with no reserve o [1996/02/28] i386/1048 ep driver fails to detect card when told f [1996/02/28] kern/1049 fenner /kernel: arpresolve: can't allocate llinf o [1996/02/28] bin/1050 Process (zip) hangs (unkillable) after fl o [1996/03/05] kern/1064 Recursive panic? o [1996/03/06] kern/1065 wt could crash reading short blocks a [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/11] conf/1076 'make install' fails for /usr/src/share/e o [1996/03/16] kern/1081 Fatal double fault o [1996/03/17] kern/1087 Device close entry is not called when unm o [1996/03/21] bin/1095 make's continuation line handling buggy w f [1996/03/21] i386/1097 gibbs system hang during tape rewind/aic7870 co o [1996/03/23] kern/1098 File system corruption (2 cases) o [1996/03/26] kern/1102 smpatel Differentiation of FreeBSD & Linux ELF bi o [1996/03/30] bin/1111 mail.local will happily deliver mail to a o [1996/04/05] kern/1118 panic: setrunqueue encountered when wine o [1996/04/07] kern/1122 Kernel (current) does not see all memory o [1996/04/11] kern/1134 se PPB support is broken for multiple/unknow o [1996/04/11] kern/1135 starting an extra mountd and then killing f [1996/04/14] kern/1140 fenner arpresolve does a null pointer dereferenc o [1996/04/24] kern/1157 SCSI Disk Timeouts (ahc0) o [1996/04/28] kern/1160 Panic: bad dir o [1996/04/29] kern/1164 machine locks up o [1996/04/30] kern/1166 pmap panic (dump available) o [1996/05/02] kern/1171 panic: setrunnable after touching long id o [1996/05/08] kern/1180 freeing held page, count=%d o [1996/05/10] misc/1187 pppd dies with a segv o [1996/05/11] kern/1190 panic: page fault (wild pointer?) o [1996/05/14] kern/1204 umount -f after SCSI reset -> reboot o [1996/05/16] kern/1208 Rebooting nfs server results "Permission o [1996/05/17] gnu/1210 gcc (v2.6.3) -O and -O2 compile-time bus o [1996/05/18] bin/1212 ppp eventually runs out of file descripto o [1996/05/18] kern/1213 kernel page fault o [1996/05/21] kern/1227 dyson vm_page_activate: already active (new vm o [1996/05/21] kern/1228 probe doesn't find P-n-P modem o [1996/05/21] bin/1231 make(1) execution of ``.BEGIN'' does not o [1996/05/24] misc/1247 Conflicting header files o [1996/05/24] bin/1248 joerg /bin/sh has trouble with arguments past 9 o [1996/05/26] i386/1251 aha0 and bt0(eisa) conflicts again. o [1996/05/26] kern/1252 Heavy activity on a CD causes panic o [1996/05/26] kern/1256 ZNYX 314 mysterously looses packets o [1996/05/27] kern/1258 dyson new vm code: freeing held page o [1996/05/27] kern/1269 dyson vm_pageout_scan: page not inactive? (loop o [1996/05/28] conf/1270 /etc/ttys does not list all valid ptys (b o [1996/05/28] kern/1271 phk Kernel panic using PLIP in 27/05 current o [1996/05/28] kern/1274 Kernel panics with filesystem error o [1996/05/29] kern/1278 SUN Solaris clients gets host not respond o [1996/05/31] kern/1284 dyson panic: vm_page_free: freeing busy page o [1996/05/31] conf/1285 route_multicast and route_loopback lines o [1996/06/02] i386/1288 bde wdgetctlr (wd.c) return incorrect number o [1996/06/05] kern/1293 Fatal trap 12: page fault while in kernel o [1996/06/06] misc/1299 National charecter problem in XFree86 o [1996/06/07] kern/1301 davidg DEC FDDI/PCI Adapter: halt code = 6 (DMA o [1996/06/09] bin/1305 dc miscomputes remainder o [1996/06/10] kern/1307 vm_page_free: freeing busy page o [1996/06/10] kern/1308 vm_page_free: wire count > 1 in 960501-SN o [1996/06/14] bin/1322 savecore does not take minfree into accou o [1996/06/14] kern/1323 nate 960612's psm driver does not see the mous o [1996/06/15] kern/1326 defvs panic: cleaned vnode isn't o [1996/06/16] kern/1327 joerg keyboard probe in -current fails, X reboo o [1996/06/18] kern/1333 free vnode isn't: another -stable coredum o [1996/06/19] kern/1336 Permission for .. in NFS mounts is somewh o [1996/06/22] kern/1345 kernel page fault, NULL pointer dereferen o [1996/06/25] bin/1350 sed continuation lines in text don't work o [1996/06/25] bin/1351 security problem with mv(1) o [1996/06/26] conf/1352 jkh Missing files from /usr/share/info o [1996/07/06] kern/1371 kernel doesn't flush all its buffers when o [1996/07/09] bin/1377 mv(1) retains the setuid bit when it is u o [1996/07/09] gnu/1379 Man command problem, when it writes into o [1996/07/09] misc/1380 Year 2000 breakage with tm_year o [1996/07/16] bin/1392 PPP silently fails to work when CTS/RTS i o [1996/07/18] kern/1397 can't send to a pipe o [1996/07/18] bin/1398 .OBJDIR modifications to tree broke make o [1996/07/19] gnu/1407 ld computes wrong size of common (global o [1996/07/20] bin/1410 /usr/bin/login is suid, with little requi o [1996/07/20] bin/1411 vi dumps core when scrolling through file o [1996/07/21] ports/1415 Installing gnats package makes send-pr fa o [1996/07/22] bin/1418 tclsh Makefile does not work o [1996/07/23] kern/1420 panic vrele: negative reference count f [1996/07/24] kern/1423 wollman route causes kernel page fault. f [1996/08/01] bin/1454 joerg /bin/sh bug handling <<[n] FD processing o [1996/08/03] bin/1461 Incorrect address binding of Kerberized r o [1996/08/03] bin/1463 make world memory fault in gnu/usr.bin/pe o [1996/08/04] kern/1467 scsi_prevent causing tape problems on clo o [1996/08/08] kern/1478 pci/pcisupport.c does not compile o [1996/08/08] bin/1479 libc.so.2.2 o [1996/08/09] kern/1480 terminal "cons25" resize problem o [1996/08/09] bin/1485 makeinfo randomly gets aborted by signal o [1996/08/16] kern/1500 times system call returning zero user tim o [1996/08/18] ports/1510 socks 0.16.4 no longer on ftp.net.com o [1996/08/18] kern/1512 dyson Use of madvise may may cause bad memory m o [1996/08/19] misc/1515 Unable to install 2.1.5 from CD-ROM. o [1996/08/21] bin/1522 dump | restore of filesystem corrupted fi o [1996/08/22] kern/1531 Machine hangs, unable to either fork or e o [1996/08/22] kern/1533 Machine can be panicked by a userland pro o [1996/08/22] i386/1534 Installing from Mitsumi FX001D CD-ROM dri o [1996/08/24] ports/1539 Attempts to run Linux elf binaries using o [1996/08/25] misc/1541 fork.o in libc_r fails to compile o [1996/08/29] bin/1552 moused has no manual page (and -s option o [1996/08/30] kern/1555 nfsd send error 55 o [1996/08/31] bin/1557 pkg_add's auto dependency get .. doesn't o [1996/08/31] bin/1560 inconsistancy between termcap.h and *curs o [1996/09/02] bin/1563 Curses let letters fall away sometimes o [1996/09/02] bin/1564 Install media query gets sig 11 o [1996/09/05] kern/1570 Setting SHMALL > 35000 causes panic o [1996/09/05] kern/1574 Panic: privileged instruction fault o [1996/09/07] kern/1579 panic: ufs_unlock NOT LOCKED o [1996/09/08] conf/1580 make & /usr/obj is bogus. 170 problems total. Non-critical problems S Submitted Tracker Engr. Description ------------------------------------------------------------------------------- a [1994/12/01] kern/35 bde mount -t union -o -b : lower layer not se o [1995/01/14] bin/115 bde systat iostat display doesn't scale high o [1995/01/14] bin/129 davidg fsck cannot take a mount point as an argu o [1995/01/15] bin/146 version of compress is kinda old and slow o [1995/01/21] bin/174 Poor error message from stty o [1995/01/22] kern/176 peter EIDRM not defined in errno.h o [1995/01/24] bin/184 pst send-pr says "Aborting ..." and happily r o [1995/01/30] bin/198 asami 1.1.5.1 pine binary loops; top shows fanc o [1995/03/28] kern/281 Messages printed when checking CD ROM dev o [1995/03/28] kern/282 gibbs buslogic adapter information WAY too verb a [1995/04/09] bin/326 Weekly cron generates some usage and erro o [1995/04/20] misc/355 policy on /usr/local permission in base r o [1995/05/12] bin/398 scrappy VI doesnt do the correct thing o [1995/05/13] bin/401 wollman Add REMOTE_* variables o [1995/05/15] misc/423 Sound devices are too insecure o [1995/05/23] i386/440 sos want vidcontrol option to apply settings a [1995/05/27] gnu/450 scrappy tar --exclude -c doesn't work o [1995/06/15] bin/517 wpaul Bad group change with 'install' o [1995/07/05] bin/591 phk SPAP request REJexted in stead of NAKed o [1995/08/05] gnu/655 jdp ld -r of shared objects worked in 1.1.5, o [1995/08/07] bin/658 wollman ifconfig alias has to be separately given o [1995/08/07] bin/661 Hercules is not capable of having a ISO-L o [1995/08/11] ports/673 joerg /bin/sh + inn1.4 innwatch going belly up o [1995/08/11] bin/675 make does unnecessary rebuilds o [1995/08/12] kern/677 dyson X gets a bus error when calling mmap() o [1995/08/13] bin/680 joerg 2.0.5's tip using termios doesn't act the o [1995/08/18] kern/700 fenner The comments in /sys/net/if.h are confusi o [1995/08/29] bin/715 ache ls gives weird tabular form o [1995/09/23] docs/735 wollman missing description for mount options in o [1995/09/26] kern/742 dyson syslog errors accessing Mac hard disks [p o [1995/09/27] bin/743 scrappy vi cannot edit a file where the name star o [1995/09/28] kern/752 wollman setting multiple addresses for a single i o [1995/09/28] kern/753 joerg my archive scsi tape drive does not work o [1995/09/28] docs/754 nate there is no man page for the psm(4) mouse o [1995/10/03] kern/765 phk umount -f can`t umount a NFS filesystem i o [1995/10/14] kern/781 bde OPEN_MAX in kernel config and FD_SETSIZE o [1995/10/25] kern/792 dyson cd9660 very slow. o [1995/10/29] docs/801 mpp rlogind k, v, and x options are not docum o [1995/10/31] bin/803 bsd m4 chokes and dies while FSF m4 works o [1995/11/11] bin/815 mountd reports unknown hosts with non-inf o [1995/11/13] kern/821 Config doesn't properly trap signals o [1995/11/20] kern/831 one minor complaint about the kernel visu o [1995/11/22] kern/835 davidg ed panics with SMC ultra with iomem, if n o [1995/11/25] bin/839 by default, use of "at" is overly restric o [1995/11/27] bin/841 stale nfs mounts cannot be umounted o [1995/11/28] misc/848 jkh Inst gripes about geometry but won't acce o [1995/11/30] bin/854 swapinfo shows incorrect information for o [1995/11/30] ports/857 asami Need ANSI_C define to not declare some fu o [1995/12/03] kern/861 sb16 support in 2.1 is erratic and has co o [1995/12/06] ports/871 asami port.subdir.mk DEBUG_FLAGS is not used fo o [1995/12/17] kern/900 dyson ext2fs triggers divide by zero trap in vn o [1995/12/25] bin/914 hayes dialer for tip fails 1st attempt to a [1995/12/29] misc/922 From line handling incorrect in mail.loca o [1995/12/31] kern/924 EISA devices have disappeared from vmstat o [1996/01/06] misc/934 amurai ppp dies with Bus Error when processing l o [1996/01/15] kern/946 divide-by-zero in kernel on bad disk info o [1996/01/19] bin/958 ttys file does not include all ptys o [1996/01/21] bin/961 'more $file', incorrect CRLF compacting. o [1996/01/23] ports/968 asami Netscape & cern_httpd ports out of date/d o [1996/01/28] kern/975 bde getrusage returns negative deltas a [1996/01/30] bin/981 fenner clnt_broadcast() is not aware of aliases o [1996/02/03] bin/993 g++ complains about /usr/include/machine/ o [1996/02/07] bin/999 peter /usr/share/mk/sys.mk missing common $(RM) o [1996/02/07] kern/1001 bde M_NAMEI malloc leak in the kernel o [1996/02/09] kern/1012 vnode_pager_putpages: attempt to write me o [1996/02/12] bin/1021 phk pppd doesn't handle PAP-only authenticati o [1996/02/14] kern/1026 deadlocks if parent vfork and child has c o [1996/02/14] bin/1028 shutdown -r does not seem to always compl o [1996/02/15] bin/1029 cd behaves erraticly if cwd is a mount-po o [1996/02/19] bin/1035 ls to terminal always uses ? for non-prin o [1996/02/19] docs/1036 mpp List of dead xrefs in man pages o [1996/02/19] bin/1037 2.x telnetd handles CTRL-M differently th o [1996/02/25] i386/1042 bde Warning from sio driver reports wrong dev o [1996/02/26] misc/1043 dyson vm_bounce_alloc error on 2.1 install with o [1996/02/27] gnu/1047 send-pr: Aborting... o [1996/02/29] kern/1051 zip fails on dos partition o [1996/03/02] bin/1056 pppd fails if -detach o [1996/03/08] bin/1068 man ignores -P option when combined with o [1996/03/08] ports/1069 TkMan acts erroneusly on apropos o [1996/03/09] bin/1074 tty rows & columns settings sometimes res o [1996/03/18] docs/1089 stat manpage unclear about st_mtime & fri o [1996/03/20] kern/1090 iostat displays incorrect sps count o [1996/03/20] bin/1093 wollman route's diagnostic is weird o [1996/03/28] bin/1105 Bug in find command o [1996/03/28] ports/1109 asami mods to vim-3.0 port o [1996/04/06] kern/1119 dyson Mounted EXT2FS partition is not cleanly u o [1996/04/14] bin/1139 uname.1 and uname.c disagree about displa o [1996/04/14] docs/1141 mpp pcvt(4) references non-existent man page. o [1996/04/15] kern/1144 sig{add, del}set and sigismember fns don' o [1996/04/15] bin/1145 tftpd should support -s o [1996/04/19] docs/1151 mpp intro(3) references libc(3) and plot(3), o [1996/04/22] bin/1154 Configure tunN device for ip-over-ip tunn o [1996/04/23] ports/1155 systat or top display disagreeing informa o [1996/05/02] docs/1169 mpp bogus reference to keysu(1) in key(1) and o [1996/05/09] bin/1181 fsck displays wrong char in "option?" dia o [1996/05/09] bin/1182 timed records improper entry in wtmp o [1996/05/09] bin/1184 scrappy ls + xterm + nvi + columns != 80 + ^Z = m o [1996/05/13] ports/1200 asami pop3 requests may crash client o [1996/05/13] kern/1201 FreeBSD SCSI changer driver leaves a bit o [1996/05/15] bin/1206 joerg /bin/sh + emacs + ^G = ruined terminal o [1996/05/16] gnu/1209 send-pr should refuse PR's without subjec o [1996/05/19] kern/1216 Support for i586 clock clibration is not o [1996/05/20] bin/1221 new gcc-2.7.2 gives a LOT of warnings, an o [1996/05/20] ports/1222 Header files conflict o [1996/05/21] bin/1229 redundant redeclaration of `lseek' o [1996/05/21] bin/1230 make ``.for'' loops iterate backwards o [1996/05/22] kern/1236 joerg some #def's in pcvt_conf.h not braketed b o [1996/05/25] docs/1249 incorrect manpages o [1996/05/27] conf/1264 panic with two new Quantum FireBall 1280 o [1996/05/28] docs/1272 document the -o option for f2c o [1996/05/28] bin/1273 remote hostname gets corrupted in rshd o [1996/06/11] bin/1312 automounter hangs on boot o [1996/06/12] bin/1316 10 tunnel device limit o [1996/06/12] conf/1319 muldi3 is not included into kernel's Make o [1996/06/13] bin/1320 dump limits blocksize to 32K o [1996/06/18] i386/1331 changes and bug in ft driver o [1996/06/18] bin/1332 changes to amd and possible nfs lkm bug? o [1996/06/19] misc/1335 /etc/security generates an error with fil o [1996/06/20] bin/1337 Yacc skeleton parser generates warning wi o [1996/07/04] i386/1367 reprobe a device that does not exist = pa o [1996/07/04] misc/1369 Need SC_MORE_LUS for Emulex MD23 also o [1996/07/06] misc/1372 compile time error with cc -ansi and RPC o [1996/07/06] misc/1373 RPC include lacks prototypes o [1996/07/06] docs/1374 mpp the default listed in the newfs -i man pa o [1996/07/07] bin/1375 Extraneous warning from mv(1) o [1996/07/07] misc/1376 if_tun.c does not set if_ibytes and if_ob o [1996/07/13] conf/1382 FreeBSD has minor year 2000 problem in di o [1996/07/14] docs/1383 ppp(8) man page suggests using shell scri o [1996/07/15] misc/1388 libftpio: some problems with ftpGet() fix o [1996/07/16] misc/1390 feedback from 2.1.5R update over 2.1-stab o [1996/07/16] bin/1391 cpio -O ignores umask o [1996/07/18] kern/1399 invoking setuid programs over NFS case vn o [1996/07/19] docs/1404 send-pr manual pages lacks version number o [1996/07/21] conf/1412 installscript doesn't allow 2nd ftp site o [1996/07/21] ports/1416 cflow(1) doesn't parse GNU C __attribute_ o [1996/07/23] kern/1421 Non-bug in sosend() o [1996/07/23] ports/1422 make in /usr/ports doens't doesn't notice o [1996/07/24] bin/1425 doing :numbers on systat -netstat doesn't o [1996/07/24] bin/1427 yacc-generated parser generates warnings o [1996/07/24] misc/1428 ncurses doesn't always display ALTCHARSET o [1996/07/28] docs/1437 bsd.doc.mk sees PRINTER and spews o [1996/07/29] conf/1441 On re-install, says it didn't touch etc f o [1996/07/30] ports/1444 asami There is no port of slnr o [1996/08/03] kern/1462 nfsstat doesn't work if using LKM'ed vers o [1996/08/06] bin/1469 it is difficult to run /usr/sbin/ppp from o [1996/08/07] ports/1470 need more info in the ports structure o [1996/08/07] gnu/1471 send-pr needs configurable Reply-To field o [1996/08/07] gnu/1472 send-pr could have a configurable Reply-T o [1996/08/07] docs/1474 wrong data on EXB-8505 in handbook a [1996/08/08] ports/1476 new port -- lsof o [1996/08/09] bin/1481 Error in sed branch or label command o [1996/08/09] bin/1482 vidcontrol -f fnt-size file-with-wrong-fn o [1996/08/12] docs/1493 incomplete prototypes in man pages for mm o [1996/08/12] bin/1494 some patches to ijppp o [1996/08/14] ports/1495 more tkdesk patches... o [1996/08/17] kern/1501 vmstat reports impossible avm after start o [1996/08/17] bin/1502 vmstat 'avm' field merges with procs 'w' o [1996/08/17] ports/1503 chuckr new port -- cxterm (updated chinese xterm o [1996/08/17] ports/1504 latex port completely failes o [1996/08/17] misc/1505 make world looks for /usr/share/dict/eign o [1996/08/17] ports/1506 new port -- celvis (Chinese vi) o [1996/08/17] kern/1508 syscons should protect against useless DD o [1996/08/17] docs/1509 handbook typo (hw.sgml, scsi.sgml) o [1996/08/19] kern/1514 dyson mlock fails on readonly regions o [1996/08/20] kern/1516 dyson vm_fault.c contains dead code or too many o [1996/08/20] ports/1517 What is InterViews ??!?! o [1996/08/20] ports/1518 No man pages in audio/mpegaudio port o [1996/08/21] ports/1520 sudo dosn't recognise certain passwords a o [1996/08/21] bin/1521 send-pr apparently gets the OS version wr o [1996/08/21] bin/1523 "cvs update -d -P" prunes unchecked-in di o [1996/08/21] ports/1524 New port -- xtem-5.18beta o [1996/08/21] ports/1525 asami xvnews-2.3.2 o [1996/08/21] ports/1526 asami xtar-1.4 o [1996/08/21] ports/1527 asami xmaddressbook-1.5.3 o [1996/08/21] ports/1528 New port -- imp-0.54.1 o [1996/08/21] ports/1529 New port -- bricons-3.0 o [1996/08/22] ports/1530 New port of poppassd o [1996/08/23] misc/1536 WWW query-pr interface sometimes messes u o [1996/08/23] ports/1537 new port -- tin 1.3unoff o [1996/08/24] misc/1538 enhanced /etc/security script o [1996/08/26] kern/1543 my load sticks at about 0.8 while not in o [1996/08/27] bin/1547 ncrcontrol won't work with FAILSAFE kerne o [1996/08/27] bin/1548 ncrcontrol -i queries don't work for mere o [1996/08/27] ports/1549 Port submission for gdbtk o [1996/08/28] ports/1550 "make install" needs to know how to updat o [1996/08/29] docs/1551 manpage of zgrep not installed in 2.1.5R o [1996/08/29] ports/1553 submittal of cops port o [1996/08/30] i386/1556 ATAPI CDROM probes ok, but will not 'moun o [1996/08/31] bin/1559 ftpd apparently not recognizing -l or -S o [1996/09/02] misc/1561 Wrong key mapping of five keys in german. o [1996/09/04] bin/1565 Moving a file to it's link completely rem o [1996/09/04] bin/1567 /usr/bin/lock cannot lock terminal indefi o [1996/09/05] gnu/1575 Extra text from apropos (man -k) o [1996/09/06] bin/1577 mail -f foo does not look in current dire o [1996/09/07] bin/1578 fsck does not honour 'noauto' fs option 195 problems total. From owner-freebsd-bugs Sun Sep 8 05:10:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA03743 for bugs-outgoing; Sun, 8 Sep 1996 05:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA03737; Sun, 8 Sep 1996 05:10:02 -0700 (PDT) Resent-Date: Sun, 8 Sep 1996 05:10:02 -0700 (PDT) Resent-Message-Id: <199609081210.FAA03737@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, karl@Codebase.mcs.net Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA03646 for ; Sun, 8 Sep 1996 05:03:13 -0700 (PDT) Received: from Codebase.mcs.net (codebase.mcs.net [192.160.127.89]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id FAA01067 for ; Sun, 8 Sep 1996 05:03:12 -0700 (PDT) Received: (from root@localhost) by Codebase.mcs.net (8.7.5/8.6.12) id HAA14432; Sun, 8 Sep 1996 07:01:56 -0500 (CDT) Message-Id: <199609081201.HAA14432@Codebase.mcs.net> Date: Sun, 8 Sep 1996 07:01:56 -0500 (CDT) From: Karl Reply-To: karl@Codebase.mcs.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1581: Traceroute SECURITY PROBLEM -- PRIORITY 1 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1581 >Category: bin >Synopsis: Traceroute can be exploited to gain root privileges >Confidential: yes >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 8 05:10:01 PDT 1996 >Last-Modified: >Originator: Karl >Organization: MCSNet >Release: FreeBSD 2.2-CURRENT i386 >Environment: None >Description: Traceroute can be easily exploited due to lack of bounds checking and SUID privileges to gain root access. >How-To-Repeat: Corrupt a PTR record to return more than approximately 350 bytes of embedded i386 NOPs followed by asm code to call "execvp("/bin/sh")". Root shell will follow :-) >Fix: Diff enclosed fixes problem. Two things are done: 1) strcpys replaced with strncpys specifying length 2) SUID privileges relinquished once socket is acquired; they are no longer necessary. PLEASE CONFIRM COMMIT OF THIS CHANGE. Index: traceroute.c =================================================================== RCS file: /usr/cvs/src/usr.sbin/traceroute/traceroute.c,v retrieving revision 1.10 diff -u -r1.10 traceroute.c --- traceroute.c 1996/08/21 05:59:19 1.10 +++ traceroute.c 1996/09/08 11:54:43 @@ -427,7 +427,7 @@ to->sin_family = AF_INET; to->sin_addr.s_addr = inet_addr(av[0]); if (to->sin_addr.s_addr != -1) { - (void) strcpy(hnamebuf, av[0]); + (void) strncpy(hnamebuf, av[0], sizeof(hnamebuf)); hostname = hnamebuf; } else { hp = gethostbyname(av[0]); @@ -540,7 +540,7 @@ } #endif IP_HDRINCL } - + setuid(getuid()); Fprintf(stderr, "traceroute to %s (%s)", hostname, inet_ntoa(to->sin_addr)); if (source) @@ -869,7 +869,7 @@ first = 0; if (gethostname(domain, MAXHOSTNAMELEN) == 0 && (cp = strchr(domain, '.'))) - (void) strcpy(domain, cp + 1); + (void) strncpy(domain, cp + 1, sizeof(domain)); else domain[0] = 0; } @@ -884,7 +884,7 @@ } } if (cp) - (void) strcpy(line, cp); + (void) strncpy(line, cp, sizeof(line)); else { in.s_addr = ntohl(in.s_addr); #define C(x) ((x) & 0xff) >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Sep 8 06:35:10 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA00986 for bugs-outgoing; Sun, 8 Sep 1996 06:35:10 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA00980; Sun, 8 Sep 1996 06:35:09 -0700 (PDT) Received: from cheops.anu.edu.au (avalon@cheops.anu.edu.au [150.203.76.24]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id GAA01258 ; Sun, 8 Sep 1996 06:35:07 -0700 (PDT) Message-Id: <199609081335.GAA01258@who.cdrom.com> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA278679625; Sun, 8 Sep 1996 23:33:45 +1000 From: Darren Reed Subject: Re: no more mbufs! To: avalon@coombs.anu.edu.au (Darren Reed) Date: Sun, 8 Sep 1996 23:33:45 +1000 (EST) Cc: freebsd-bugs@freebsd.org, freebsd-hackers@freebsd.org In-Reply-To: <199609080811.AA08048@mail.crl.com> from "Darren Reed" at Sep 8, 96 06:07:23 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In some mail from Darren Reed, sie said: > > > Hi, I just made my 2.1.5 box run out of mbufs: > > kernel: Out of mbuf clusters - increase maxusers! > > so I thought I'd let it rest and wait for things to expire... > > (a reboot is going to be necessary, I can see...) > > however, netstat -m now looks like this: > 1038 mbufs in use: > 1025 mbufs allocated to data > 2 mbufs allocated to packet headers > 3 mbufs allocated to protocol control blocks > 8 mbufs allocated to socket names and addresses > 1024/1024 mbuf clusters in use > 2177 Kbytes allocated to network (100% in use) > 0 requests for memory deined > 0 requests for memory delayed > 0 calls to protocol drain queues > > there appear to be no outstanding connections in netstat -an output. > > To get the machine in this state, I was using it as the source of running > iptest against an UltraSparc2 (making heavy use of sending packets out via > BPF). > > Some minutes later, "netstat -m" still reports the same. > > Reboot time I guess: new kernel and has been up less than half an hour. Sigh, and you know what ? I've already got a patch for this amognst the IP Filter patches for ip_input.c - guess this is why I never had a problem until I put virgin 2.1.5 kernel on my box. I didn't think of this until I did up maxusers and did recreate the above situation. Maybe someone will take this and commit it sometime... discovered the bug when I crashed my SunOS4 box, and managed to crash Ultrix too. Seems like it just fucks the mbufs on FreeBSD. NetBSD fixed it when they rewrote everything to use TAILQ, dunno about BSD/OS. So IP Filter users, don't worry about the above bug report :-) Darren *** /sys/netinet/ip_input.c.orig Wed Sep 6 20:31:35 1995 --- /sys/netinet/ip_input.c Sun Apr 21 12:12:53 1996 *************** *** 507,512 **** --- 523,530 ---- * if they are completely covered, dequeue them. */ while (q != (struct ipasfrag *)fp && ip->ip_off + ip->ip_len > q->ip_off) { + struct mbuf *m0; + i = (ip->ip_off + ip->ip_len) - q->ip_off; if (i < q->ip_len) { q->ip_len -= i; *************** *** 514,522 **** m_adj(dtom(q), i); break; } q = q->ipf_next; - m_freem(dtom(q->ipf_prev)); ip_deq(q->ipf_prev); } insert: --- 532,541 ---- m_adj(dtom(q), i); break; } + m0 = dtom(q); q = q->ipf_next; ip_deq(q->ipf_prev); + m_freem(m0); } insert: From owner-freebsd-bugs Sun Sep 8 06:40:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA01145 for bugs-outgoing; Sun, 8 Sep 1996 06:40:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA01137; Sun, 8 Sep 1996 06:40:01 -0700 (PDT) Date: Sun, 8 Sep 1996 06:40:01 -0700 (PDT) Message-Id: <199609081340.GAA01137@freefall.freebsd.org> To: freebsd-bugs Cc: From: roberto@keltia.freenix.fr (Ollivier Robert) Subject: Re: bin/1581: Traceroute SECURITY PROBLEM -- PRIORITY 1 Reply-To: roberto@keltia.freenix.fr (Ollivier Robert) Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1581; it has been noted by GNATS. From: roberto@keltia.freenix.fr (Ollivier Robert) To: karl@Codebase.mcs.net Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/1581: Traceroute SECURITY PROBLEM -- PRIORITY 1 Date: Sun, 8 Sep 1996 15:33:16 +0200 According to Karl: > Diff enclosed fixes problem. Two things are done: > 1) strcpys replaced with strncpys specifying length > 2) SUID privileges relinquished once socket is acquired; they > are no longer necessary. While I agree with the strcpy -> strncpy changes, you should note that priviledges are relinquished for a long time... #ifndef lint static char *rcsid = "@(#)$Header: /spare/FreeBSD-current/src/usr.sbin/traceroute/traceroute.c,v 1.10 1996/08/21 05:59:19 peter Exp $ (LBL)"; #endif [...line 299...] /* * Do the setuid-required stuff first, then lose priveleges ASAP. * Do error checking for these two calls where they appeared in * the original code. */ pe = getprotobyname("icmp"); if (pe) { if ((s = socket(AF_INET, SOCK_RAW, pe->p_proto)) < 0) sockerrno = errno; else if ((sndsock = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)) < 0) sockerrno = errno; } setuid(getuid()); [...] So the attack can't be used for getting root priv. -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #21: Sun Sep 8 14:35:00 MET DST 1996 From owner-freebsd-bugs Sun Sep 8 06:47:33 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA01370 for bugs-outgoing; Sun, 8 Sep 1996 06:47:33 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA01347; Sun, 8 Sep 1996 06:47:30 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id GAA14816; Sun, 8 Sep 1996 06:48:18 -0700 (PDT) Message-Id: <199609081348.GAA14816@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Darren Reed cc: freebsd-bugs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: no more mbufs! In-reply-to: Your message of "Sun, 08 Sep 1996 23:33:45 +1000." <199609081335.GAA01258@who.cdrom.com> From: David Greenman Reply-To: dg@root.com Date: Sun, 08 Sep 1996 06:48:18 -0700 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Sigh, and you know what ? I've already got a patch for this amognst the >IP Filter patches for ip_input.c - guess this is why I never had a problem >until I put virgin 2.1.5 kernel on my box. I didn't think of this until I >did up maxusers and did recreate the above situation. > >Maybe someone will take this and commit it sometime... discovered the bug >when I crashed my SunOS4 box, and managed to crash Ultrix too. Seems like >it just fucks the mbufs on FreeBSD. NetBSD fixed it when they rewrote >everything to use TAILQ, dunno about BSD/OS. Committed. Thanks! -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-freebsd-bugs Sun Sep 8 07:50:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA05078 for bugs-outgoing; Sun, 8 Sep 1996 07:50:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA05072; Sun, 8 Sep 1996 07:50:04 -0700 (PDT) Resent-Date: Sun, 8 Sep 1996 07:50:04 -0700 (PDT) Resent-Message-Id: <199609081450.HAA05072@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, pjchilds@imforei.apana.org.au Received: from al.imforei.apana.org.au (pjchilds@al.imforei.apana.org.au [202.12.89.41]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA05022 for ; Sun, 8 Sep 1996 07:48:18 -0700 (PDT) Received: (from pjchilds@localhost) by al.imforei.apana.org.au (8.7.5/8.7.3) id AAA01188; Mon, 9 Sep 1996 00:16:34 +0930 (CST) Message-Id: <199609081446.AAA01188@al.imforei.apana.org.au> Date: Mon, 9 Sep 1996 00:16:34 +0930 (CST) From: Peter Childs Reply-To: pjchilds@imforei.apana.org.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1582: panic: brelse: free buffer onto another queue??? Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1582 >Category: kern >Synopsis: kernel panic often under medium load >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 8 07:50:02 PDT 1996 >Last-Modified: >Originator: Peter Childs >Organization: Peter Childs --- http://www.imforei.apana.org.au/~pjchilds Finger pjchilds@al.imforei.apana.org.au for public PGP key Drag me, drop me, treat me like an object! >Release: FreeBSD 2.2-CURRENT i386 >Environment: 2.2-current built Sep 7->8th AMD 5x86 processor, 64mb RAM, 2x 1gb SCSI disks, 1x 2.5gb IDE disk 2x NCR810 SCSI controllers, 1x GUS Max soundcard, 1x matcd cdrom, 1x Fujitsu MO drive >Description: System crashed at least 8->10 times today with the above panic message. Rebuilt the kernel with NETATALK removed and DDB added - no change. System "seems" not to exhibit problem when i don't turn on swap at boot up. System previously ran solid under 2.1.0, 2.1-stable, and 2.1.5-stable (which hopefully rules out hardware problems :) >How-To-Repeat: Operate under moderate load (ie just running cvsup, one user logged in, sendmail/inn running (minimal traffic)) >Fix: Unknown. I'm not sure what this panic implies so I was hoping someone could give me a few pointers like??? >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Sep 8 11:10:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA13552 for bugs-outgoing; Sun, 8 Sep 1996 11:10:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA13544; Sun, 8 Sep 1996 11:10:02 -0700 (PDT) Resent-Date: Sun, 8 Sep 1996 11:10:02 -0700 (PDT) Resent-Message-Id: <199609081810.LAA13544@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, lukin@ns.okbmei.msk.su Received: from ns.okbmei.msk.su (okbme-1-M9.ll4.relcom.ru [193.124.9.25]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA13103 for ; Sun, 8 Sep 1996 11:02:30 -0700 (PDT) Received: by ns.okbmei.msk.su id AA11234 (5.67c8/IDA-1.5 for FreeBSD-gnats-submit@freebsd.org); Sun, 8 Sep 1996 22:03:12 +0400 Message-Id: <199609081803.AA11234@ns.okbmei.msk.su> Date: Sun, 8 Sep 1996 22:03:12 +0400 From: Kostya Lukin Reply-To: lukin@ns.okbmei.msk.su To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/1583: I made ldap-3.3 port Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1583 >Category: ports >Synopsis: I made ldap-3.3 port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 8 11:10:01 PDT 1996 >Last-Modified: >Originator: Kostya Lukin >Organization: OKB MEI >Release: FreeBSD 2.1-RELEASE i386 >Environment: FreeBSD 2.1.0-RELEASE >Description: I made port of ldap-3.3 - the University of Michigan LDAP implementation, and put it to ftp://ftp.freebsd.org/pub/FreeBSD/incoming >How-To-Repeat: >Fix: Commit it, please. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Sep 8 11:20:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA13902 for bugs-outgoing; Sun, 8 Sep 1996 11:20:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA13896; Sun, 8 Sep 1996 11:20:02 -0700 (PDT) Resent-Date: Sun, 8 Sep 1996 11:20:02 -0700 (PDT) Resent-Message-Id: <199609081820.LAA13896@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mi@aldan.ziplink.net Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA13722 for ; Sun, 8 Sep 1996 11:15:46 -0700 (PDT) Received: from guest.ziplink.net (guest.zipnet.net [199.232.255.51]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id LAA02163 for ; Sun, 8 Sep 1996 11:15:40 -0700 (PDT) Received: (from root@localhost) by guest.ziplink.net (8.7.5/8.7.3) id OAA18945; Sun, 8 Sep 1996 14:13:07 -0400 (EDT) Message-Id: <199609081813.OAA18945@guest.ziplink.net> Date: Sun, 8 Sep 1996 14:13:07 -0400 (EDT) From: root@aldan.ziplink.net Reply-To: mi@aldan.ziplink.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1584: Weird behavior of the mounted with -ounion directory Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1584 >Category: kern >Synopsis: same file is listed twice >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 8 11:20:01 PDT 1996 >Last-Modified: >Originator: Mikhail Teterin >Organization: >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: Two FreeBSD machines -- guest: FreeBSD 2.2-960801-SNAP i386 as machine1 (Pentium-133) ---------------------------------------- /dev/sd2a on / (NFS exported, local) /dev/sd2s1e on /var (asynchronous, NFS exported, local) procfs on /proc (local) aldan:/usr/local on /usr/local (union) aldan:/usr/lib on /usr/lib (union) aldan:/usr/X11R6 on /usr/X11R6 (union) aldan:/home on /home (union) aldan:/dump on /dump aldan:/root on /root aldan:/usr/ports on /usr/ports aldan:/var/mail on /var/mail (union) /dev/cd0a on /cdrom (NFS exported, local, read-only) aldan: FreeBSD 2.1.0-RELEASE #0 as machine2 client (486DX66) ---------------------------------------- /dev/sd0a on / (NFS exported, local) /dev/sd0s1 on /diskc (NFS exported, local) /dev/sd1s3 on /diskd (NFS exported, local) /dev/sd2s1e on /usr (NFS exported, local) /dev/sd1s1e on /dump (asynchronous, NFS exported, local) procfs on /proc (local) >Description: Machine2 mounts a cd-rom from machine1 in the following manner: mount -t nfs -ounion,-i guest:/cdrom/ports/distfiles /dump/distfiles/ There is a partially fetched -rw-rw-r-- 1 root wheel 130048 Jan 24 1995 /dump/distfiles/xv-3.10a.tar.gz already. After successfull mount, there are two -rw-r--r-- 1 2035 wheel 2259124 Jun 11 19:20 /dump/distfiles/xv-3.10a.tar.gz -rw-r--r-- 1 2035 wheel 2259124 Jun 11 19:20 /dump/distfiles/xv-3.10a.tar.gz files. After carefull investigation :) I discovered, that there are few more files listed twice: root@aldan:~ (1177) ls -1 /dump/distfiles/ | wc -l 638 root@aldan:~ (1178) ls -1 /dump/distfiles/ | sort -u | wc -l 611 Total list of offenders: EmiClock-1.0.2.tar.gz auis/ buffer-1.17.tar.gz bxform-081.tgz fvwm95-2.0.41f.tgz gcc-2.7.2-2.7.2p-pl9.diff.gz gcc-2.7.2.tar.gz knews-0.9.7.tar.gz linux_lib-2.0.tar.gz mpack-1.5-src.tar.Z perl5.002.tar.gz procmail-3.11pre4.tar.gz recode-3.4.tar.gz tcl7.5.tar.gz tcsh-6.06.tar.gz tk4.1.tar.gz tkinfo-0.6.tar.gz vim-4.2.tar.gz xa2.0_cvid_netbsd386.o.Z xa2.0_iv32_netbsd386.o.Z xc/ xearth-1.0.tar.gz xevil1.5.tar.Z xfm-1.3.2.tar.gz xfmail.tar.gz xrus_bin.tgz xv-3.10a.tar.gz Most of the files are exactly same in aldan:/dump/distfiles and in guest:/cdrom/ports/distfiles, although some are different. Some of them are directories. Seems like only names are compared (behavior expected by me :). >How-To-Repeat: See description. >Fix: Don't know. Removing the offending files? Defeats the purpose... Somehow the algorithm wich is suppoused to merge the list of nodes fails... >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Sep 8 12:48:12 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA18704 for bugs-outgoing; Sun, 8 Sep 1996 12:48:12 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA18695 for ; Sun, 8 Sep 1996 12:48:09 -0700 (PDT) Received: from boris.clintondale.com (boris.clintondale.com [206.88.120.5]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id MAA02401 for ; Sun, 8 Sep 1996 12:48:08 -0700 (PDT) Received: from localhost (matt@localhost) by boris.clintondale.com (8.7.5/8.7.3) with SMTP id PAA05009; Sun, 8 Sep 1996 15:46:36 -0400 (EDT) Date: Sun, 8 Sep 1996 15:46:36 -0400 (EDT) From: Matt Hamilton To: Darren Reed cc: freebsd-bugs@FreeBSD.org, Darren Reed Subject: Re: more on T130 card + 2.1.5 In-Reply-To: <199609081000.AA16234@mail.crl.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > But, the next command I did was an "mt offl" (tape still in the drive) > and it panic'd straight away, in the same was as before. > > nca0 at 0x358-0x35f irq 7 on isa > nca0: type NCR-5380 > (nca0:4:0): "WANGTEK 6130-HS 4G16" type 1 removable SCSI 2 > st0(nca0:4:0): Sequential-Access density code 0x13, drive empty I had a HP C1534A SCSI DAT drive connected to an Adaptec 2940 running FreeBSD-2.1.5 and had lots of trouble with the drive causing SCSI resets whenever I tried to use the drive. First it timed out during 'data-out phase' then it reset the SCSI bus, sometimes even reseting my hard-drives :( I solved the problem by moving to 2.2-960801-SNAP. It now works fine.... so there must be something in the SCSI code that's different. I know the the SCSI code has been pretty much re-written a couple of days ago in CURRENT, but this is a production machine and SNAP is as daring as I want to be :) You may be able to just move the SCSI stuff from SNAP into 2.1.5, but I don't know if it depends on anything in particular in 2.2 that 2.1.5 doesn't have. -Matt From owner-freebsd-bugs Sun Sep 8 13:23:35 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA20019 for bugs-outgoing; Sun, 8 Sep 1996 13:23:35 -0700 (PDT) Received: from freefall.freebsd.org (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA20012; Sun, 8 Sep 1996 13:23:31 -0700 (PDT) Message-Id: <199609082023.NAA20012@freefall.freebsd.org> To: Matt Hamilton cc: Darren Reed , freebsd-bugs@FreeBSD.org, Darren Reed Subject: Re: more on T130 card + 2.1.5 In-reply-to: Your message of "Sun, 08 Sep 1996 15:46:36 EDT." Date: Sun, 08 Sep 1996 13:23:31 -0700 From: "Justin T. Gibbs" Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >I know the >the SCSI code has been pretty much re-written a couple of days ago in >CURRENT, but this is a production machine and SNAP is as daring as I want >to be :) Not re-written. Nose-job at most, but we're looking to nip and tuck a few more areas yet. >-Matt -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations =========================================== From owner-freebsd-bugs Sun Sep 8 15:39:15 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA00212 for bugs-outgoing; Sun, 8 Sep 1996 15:39:15 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA00207 for ; Sun, 8 Sep 1996 15:39:13 -0700 (PDT) Received: from gluon.mep.ruhr-uni-bochum.de (gluon.mep.ruhr-uni-bochum.de [134.147.160.165]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id PAA02803 for ; Sun, 8 Sep 1996 15:39:06 -0700 (PDT) Received: (from roberte@localhost) by gluon.mep.ruhr-uni-bochum.de (8.6.12/8.6.12) id AAA02067 for bugs@freebsd.org; Mon, 9 Sep 1996 00:38:43 +0200 From: Robert Eckardt Message-Id: <199609082238.AAA02067@gluon.mep.ruhr-uni-bochum.de> Subject: locale on 2.1.5 non-functional To: bugs@freebsd.org Date: Mon, 9 Sep 1996 00:38:43 +0200 (MET DST) X-Mailer: ELM [version 2.4ME+ PL25 (25)] 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 Hi, I found that the locale environment in FBSD-2.1.5-R has become non-functional for e.g. german LANG -- at least when newly installed. One can see from /cdrom/dists/bin/bin.??, e.g. drwxr-xr-x bin/bin 0 Jul 17 04:03 1996 usr/share/locale/de_DE.ISO_8859-1/ lrwxr-xr-x bin/bin 0 Jul 17 04:09 1996 usr/share/locale/de -> de_DE.ISO_8859-1 But the directories never get filled. It should be (as in 2.1.0-R) lrwxr-xr-x bin/bin 0 Nov 16 10:40 1995 usr/share/locale/de_DE.ISO_8859-1 -> lt_LN.ISO_8859-1 The following script will fix this (run as root, of course :-) It doesn't do any error checking, so check yourself that the situation applies to you. 8<---8<----------------------------------------------------------------------- #!/bin/csh -f cd /usr/share/locale rmdir da_DK.ISO_8859-1 de_AT.ISO_8859-1 de_CH.ISO_8859-1 de_DE.ISO_8859-1 \ en_AU.ISO_8859-1 en_CA.ISO_8859-1 en_GB.ISO_8859-1 en_US.ISO_8859-1 \ es_ES.ISO_8859-1 fi_FI.ISO_8859-1 fr_BE.ISO_8859-1 fr_CA.ISO_8859-1 \ fr_CH.ISO_8859-1 fr_FR.ISO_8859-1 is_IS.ISO_8859-1 it_CH.ISO_8859-1 \ it_IT.ISO_8859-1 nl_BE.ISO_8859-1 nl_NL.ISO_8859-1 no_NO.ISO_8859-1 \ pt_PT.ISO_8859-1 sv_SE.ISO_8859-1 foreach x (da_DK.ISO_8859-1 de_AT.ISO_8859-1 de_CH.ISO_8859-1 de_DE.ISO_8859-1 \ en_AU.ISO_8859-1 en_CA.ISO_8859-1 en_GB.ISO_8859-1 en_US.ISO_8859-1 \ es_ES.ISO_8859-1 fi_FI.ISO_8859-1 fr_BE.ISO_8859-1 fr_CA.ISO_8859-1 \ fr_CH.ISO_8859-1 fr_FR.ISO_8859-1 is_IS.ISO_8859-1 it_CH.ISO_8859-1 \ it_IT.ISO_8859-1 nl_BE.ISO_8859-1 nl_NL.ISO_8859-1 no_NO.ISO_8859-1 \ pt_PT.ISO_8859-1 sv_SE.ISO_8859-1) ln -s lt_LN.ISO_8859-1 $x end 8<---8<----------------------------------------------------------------------- Have fun, Robert -- Robert Eckardt ( Ruhr-Universitaet Bochum, Inst.f.Theor.Physik, NB6/169 ) Universitaetsstrasse 150, D-44780 Bochum, Germany ----X---8---- Telefon: +49 234 700-3709, Telefax: +49 234 7094-574 8 E-Mail: RobertE@MEP.Ruhr-Uni-Bochum.de --------8---- URL: http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte >>> To be successful one needs friends, <<< >>> To be very successful one needs enemies. <<< From owner-freebsd-bugs Sun Sep 8 17:40:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA08180 for bugs-outgoing; Sun, 8 Sep 1996 17:40:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA08143; Sun, 8 Sep 1996 17:40:03 -0700 (PDT) Resent-Date: Sun, 8 Sep 1996 17:40:03 -0700 (PDT) Date: Sun, 8 Sep 1996 17:40:03 -0700 (PDT) From: GNU GNATS Resent-Message-Id: <199609090040.RAA08143@freefall.freebsd.org> Message-Id: <199609090040.RAA08143@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:"from perki0.connect.com.au (perki0.connect.com.au [192.189.54.85]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA07968 for" ; Sun, 8 Sep 1996 17:39:27.-0700 (PDT) Received: (from Unemeton@localhost) by perki0.connect.com.au id KAA06737 (8.7.5/IDA-1.6 for FreeBSD-gnats-submit@freebsd.org); Mon, 9 Sep 1996 10:39:15 +1000 (EST) Subject: bin/1585: dumpfs can dump core To: undisclosed-recipients:; Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1585 >Category: bin >Synopsis: dumpfs can dump core >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 8 17:40:01 PDT 1996 >Last-Modified: >Originator: Giles Lean >Organization: >Release: FreeBSD 2.2-CURRENT i386 >Environment: 2.2-current >Description: dumpfs blindly trusts that it is working on a filesystem. >How-To-Repeat: (No filesystem creaed on /dev/rsd1e) # dumpfs /dev/rsd1e magic 0 time Thu Jan 1 10:00:00 1970 cylgrp dynamic inodes 4.2/4.3BSD nbfree 0 ndir 0 nifree 0 nffree 0 ncg 0 ncyl 0 size 0 blocks 0 bsize 0 shift 0 mask 0x00000000 fsize 0 shift 0 mask 0x00000000 frag 0 shift 0 fsbtodb 0 Floating point exception (core dumped) # >Fix: Test for FS_MAGIC. This fix is taken from NetBSD PR bin/249, closed in December 1994. (Am I the only person in the world who uses dumpfs on the wrong partition? :) --- dumpfs.c-old Mon Sep 9 10:26:30 1996 +++ dumpfs.c Mon Sep 9 10:30:22 1996 @@ -47,6 +47,7 @@ #include #include +#include #include #include #include @@ -114,6 +115,13 @@ goto err; if (read(fd, &afs, SBSIZE) != SBSIZE) goto err; + + if (afs.fs_magic != FS_MAGIC) { + warnx("%s: superblock has bad magic number, skipping.", + name); + (void) close(fd); + return (1); + } if (afs.fs_postblformat == FS_42POSTBLFMT) afs.fs_nrpos = 8; >Audit-Trail: >Unformatted: >Received: from topaz.nemeton.com.au (topaz.nemeton.com.au [203.8.3.18]) by nemeton.com.au (8.7.5/8.7.3) with ESMTP id KAA18337 for ; Mon, 9 Sep 1996 10:40:40 +1000 (EST) Received: from topaz.nemeton.com.au (topaz.nemeton.com.au [203.8.3.18]) by nemeton.com.au (8.7.5/8.7.3) with ESMTP id KAA18337 for ; Mon, 9 Sep 1996 10:40:40 +1000 (EST) Received: (from giles@localhost) by topaz.nemeton.com.au (8.7.5/8.7.3) id KAA00376; Mon, 9 Sep 1996 10:40:25 +1000 (EST) Date: Mon, 9 Sep 1996 10:40:25 +1000 (EST) From: Giles Lean Message-Id: <199609090040.KAA00376@topaz.nemeton.com.au> To: FreeBSD-gnats-submit@freebsd.org Subject: dumpfs can dump core Reply-To: giles@nemeton.com.au X-send-pr-version: 3.2 Content-Type: text From owner-freebsd-bugs Sun Sep 8 18:20:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA11439 for bugs-outgoing; Sun, 8 Sep 1996 18:20:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA11421; Sun, 8 Sep 1996 18:20:03 -0700 (PDT) Resent-Date: Sun, 8 Sep 1996 18:20:03 -0700 (PDT) Resent-Message-Id: <199609090120.SAA11421@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, obrien@Nuxi.cs.ucdavis.edu Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA10800 for ; Sun, 8 Sep 1996 18:11:40 -0700 (PDT) Received: (from obrien@localhost) by relay.nuxi.com (8.7.5/8.6.12) id SAA09629; Sun, 8 Sep 1996 18:12:20 -0700 (PDT) Message-Id: <199609090112.SAA09629@relay.nuxi.com> Date: Sun, 8 Sep 1996 18:12:20 -0700 (PDT) From: "David E. O'Brien" Reply-To: obrien@Nuxi.cs.ucdavis.edu To: FreeBSD-gnats-submit@freebsd.org Cc: obrien@Nuxi.com X-Send-Pr-Version: 3.2 Subject: docs/1586: additional book on UNIX history for handbook Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1586 >Category: docs >Synopsis: additional book on UNIX history for handbook >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 8 18:20:01 PDT 1996 >Last-Modified: >Originator: David E. O'Brien >Organization: University of California, Davis >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: Handbook (via FBSD home page) >Description: In handbook section 24.7 UNIX History Don Libes, Sandy Ressler "Life with Unix" - special edition. PTR Prentice-Hall, Inc., 1989 >How-To-Repeat: N/A >Fix: N/A >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Sep 8 18:20:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA11449 for bugs-outgoing; Sun, 8 Sep 1996 18:20:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA11434; Sun, 8 Sep 1996 18:20:04 -0700 (PDT) Resent-Date: Sun, 8 Sep 1996 18:20:04 -0700 (PDT) Resent-Message-Id: <199609090120.SAA11434@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, obrien@Nuxi.cs.ucdavis.edu Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA11079 for ; Sun, 8 Sep 1996 18:15:05 -0700 (PDT) Received: (from obrien@localhost) by relay.nuxi.com (8.7.5/8.6.12) id SAA09732; Sun, 8 Sep 1996 18:15:45 -0700 (PDT) Message-Id: <199609090115.SAA09732@relay.nuxi.com> Date: Sun, 8 Sep 1996 18:15:45 -0700 (PDT) From: "David E. O'Brien" Reply-To: obrien@Nuxi.cs.ucdavis.edu To: FreeBSD-gnats-submit@freebsd.org Cc: obrien@Nuxi.com X-Send-Pr-Version: 3.2 Subject: docs/1587: additional Magazines and journals handbook entry Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1587 >Category: docs >Synopsis: additional Magazines and journals handbook entry >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 8 18:20:03 PDT 1996 >Last-Modified: >Originator: David E. O'Brien >Organization: University of California, Davis >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: N/A >Description: Addition for "24.8. Magazines and journals" "Sys Admin - The Journal for UNIX System Administrators", Miller Freeman, Inc., ISSN 1061-2688 >How-To-Repeat: n/a >Fix: n/a >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Sep 8 18:52:24 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA13336 for bugs-outgoing; Sun, 8 Sep 1996 18:52:24 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA13318; Sun, 8 Sep 1996 18:52:22 -0700 (PDT) Date: Sun, 8 Sep 1996 18:52:22 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199609090152.SAA13318@freefall.freebsd.org> To: obrien@Nuxi.cs.ucdavis.edu, jkh, freebsd-bugs Subject: Re: docs/1587 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: additional Magazines and journals handbook entry State-Changed-From-To: open-closed State-Changed-By: jkh State-Changed-When: Sun Sep 8 18:52:07 PDT 1996 State-Changed-Why: Taken, thanks! From owner-freebsd-bugs Sun Sep 8 18:55:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA13535 for bugs-outgoing; Sun, 8 Sep 1996 18:55:05 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA13523; Sun, 8 Sep 1996 18:55:03 -0700 (PDT) Date: Sun, 8 Sep 1996 18:55:03 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199609090155.SAA13523@freefall.freebsd.org> To: obrien@Nuxi.cs.ucdavis.edu, jkh, freebsd-bugs Subject: Re: docs/1586 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: additional book on UNIX history for handbook State-Changed-From-To: open-closed State-Changed-By: jkh State-Changed-When: Sun Sep 8 18:52:30 PDT 1996 State-Changed-Why: Added, though I could still use an ISBN number for this. Thanks! From owner-freebsd-bugs Sun Sep 8 19:10:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA14590 for bugs-outgoing; Sun, 8 Sep 1996 19:10:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA14582; Sun, 8 Sep 1996 19:10:03 -0700 (PDT) Resent-Date: Sun, 8 Sep 1996 19:10:03 -0700 (PDT) Resent-Message-Id: <199609090210.TAA14582@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, obrien@Nuxi.cs.ucdavis.edu Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA13945 for ; Sun, 8 Sep 1996 19:01:03 -0700 (PDT) Received: (from obrien@localhost) by relay.nuxi.com (8.7.5/8.6.12) id TAA10014; Sun, 8 Sep 1996 19:01:44 -0700 (PDT) Message-Id: <199609090201.TAA10014@relay.nuxi.com> Date: Sun, 8 Sep 1996 19:01:44 -0700 (PDT) From: "David E. O'Brien" Reply-To: obrien@Nuxi.cs.ucdavis.edu To: FreeBSD-gnats-submit@freebsd.org Cc: obrien@Nuxi.com X-Send-Pr-Version: 3.2 Subject: docs/1588: Incorrect LaTeX/PostScript Handbook output Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1588 >Category: docs >Synopsis: Handbook Incorrect LaTeX/PostScript output >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 8 19:10:02 PDT 1996 >Last-Modified: >Originator: David E. O'Brien >Organization: University of California, Davis >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: Handbook from -current, sgml, teTex, dvips from 2.1.5-RELEASE >Description: In the printed handbook section on printing generated from the sgml sources via LaTeX 2e , ``&'' used in lpr filters are printed out as ``\&''. This is *quite* annoying. Today I spent much time puzzled why things didn't work because of this. While I should have known better (the purpose of the &'s and the bogusness of the \&, I still bindly followed the handbook (as I should be able to). When later viewing the ascii version of the handbook, I found the correct information. >How-To-Repeat: cd /usr/src/doc/handbook ; make FORMATS=latex ; \ latex handbook.tex ; latex handbook.tex ; latex handbook.tex ; \ dvips handbook.dvi ; {lpr,ghostview} handbook.ps >Fix: Don't know enought sgml to give the fix. But you shouldn't be using escaping ``&'' in \begin{verbatim} ... \end{verbatim} sections in LaTeX. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Sep 8 19:33:54 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA17378 for bugs-outgoing; Sun, 8 Sep 1996 19:33:54 -0700 (PDT) Received: from mickey.umiacs.umd.edu (mickey.umiacs.umd.edu [128.8.120.49]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA17368 for ; Sun, 8 Sep 1996 19:33:50 -0700 (PDT) Received: (smpatel@localhost) by mickey.umiacs.umd.edu (8.7.5/UMIACS-0.9/04-05-88) id WAA20577; Sun, 8 Sep 1996 22:33:42 -0400 (EDT) Date: Sun, 8 Sep 1996 22:33:42 -0400 (EDT) From: Sujal Patel To: Darren Reed cc: freebsd-bugs@freebsd.org Subject: Re: no more mbufs! In-Reply-To: <199609081335.GAA01258@who.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 8 Sep 1996, Darren Reed wrote: > *** /sys/netinet/ip_input.c.orig Wed Sep 6 20:31:35 1995 > --- /sys/netinet/ip_input.c Sun Apr 21 12:12:53 1996 Thanks for the bug fix!! This bug has been biting me in the butt for months, and I've had no time to track it down. Sujal From owner-freebsd-bugs Sun Sep 8 19:40:11 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA18349 for bugs-outgoing; Sun, 8 Sep 1996 19:40:11 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA18301; Sun, 8 Sep 1996 19:40:06 -0700 (PDT) Resent-Date: Sun, 8 Sep 1996 19:40:06 -0700 (PDT) Resent-Message-Id: <199609090240.TAA18301@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, msmith@cain.atrad.adelaide.edu.au Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA17343 for ; Sun, 8 Sep 1996 19:33:27 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id TAA03550 for ; Sun, 8 Sep 1996 19:30:41 -0700 (PDT) Received: from cain.atrad.adelaide.edu.au [203.20.121.17] by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) with ESMTP id LAA26575 for ; Mon, 9 Sep 1996 11:59:15 +0930 Received: (from msmith@localhost) by cain.atrad.adelaide.edu.au (8.6.12/8.6.9) id LAA11012; Mon, 9 Sep 1996 11:59:13 +0930 Message-Id: <199609090229.LAA11012@cain.atrad.adelaide.edu.au> Date: Mon, 9 Sep 1996 11:59:13 +0930 From: Michael Smith Reply-To: msmith@cain.atrad.adelaide.edu.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1589: ftp fails to flush output Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1589 >Category: bin >Synopsis: ftp fails to flush output >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 8 19:40:03 PDT 1996 >Last-Modified: >Originator: Michael Smith >Organization: Genesis Software >Release: FreeBSD 2.1-STABLE i386 >Environment: Using /usr/bin/ftp as a slave process on the end of a pipe. >Description: The 'ftp' program fails to flush its output after each command, meaning that a driving program may not receive the results of a command until more output is produced. >How-To-Repeat: ...should be inferrable from context. >Fix: (warning, X snarf-barf will have smashed tabs) --- /usr/src/usr.bin/ftp/cmds.c Sat Aug 26 18:33:43 1995 +++ cmds.c Wed Jun 5 12:55:26 1996 @@ -1198,6 +1198,7 @@ return; } recvrequest(cmd, argv[2], argv[1], "w", 0); + fflush(stdout); /* flush results in case commands are coming from a pipe */ } /* >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Sep 9 10:30:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA06330 for bugs-outgoing; Mon, 9 Sep 1996 10:30:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA06321; Mon, 9 Sep 1996 10:30:03 -0700 (PDT) Resent-Date: Mon, 9 Sep 1996 10:30:03 -0700 (PDT) Resent-Message-Id: <199609091730.KAA06321@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, henrich@msu.edu Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA05865 for ; Mon, 9 Sep 1996 10:24:18 -0700 (PDT) Received: (from henrich@localhost) by crh.cl.msu.edu (8.7.5/8.7.3) id NAA02252; Mon, 9 Sep 1996 13:24:17 -0400 (EDT) Message-Id: <199609091724.NAA02252@crh.cl.msu.edu> Date: Mon, 9 Sep 1996 13:24:17 -0400 (EDT) From: henrich@msu.edu Reply-To: henrich@msu.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1590: AT time parsing broken Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1590 >Category: bin >Synopsis: at doesnt parse time correctly >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 9 10:30:01 PDT 1996 >Last-Modified: >Originator: Charles Henrich >Organization: Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: FreeBSD 2.2-960801-SNAP >Description: 1:22pm crh> at 1pm tommorow at: Trying to travel back in time >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Sep 9 11:14:40 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA09056 for bugs-outgoing; Mon, 9 Sep 1996 11:14:40 -0700 (PDT) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA09037; Mon, 9 Sep 1996 11:14:36 -0700 (PDT) Received: (from henrich@localhost) by crh.cl.msu.edu (8.7.5/8.7.3) id OAA02906; Mon, 9 Sep 1996 14:14:35 -0400 (EDT) From: Charles Henrich Message-Id: <199609091814.OAA02906@crh.cl.msu.edu> Subject: Grrr. NFS to a Sun (Slowaris 5.5.1) To: freebsd-hackers@freebsd.org, freebsd-bugs@freebsd.org, freebsd-current@freebsd.org Date: Mon, 9 Sep 1996 14:14:35 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL22 (25)] 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 Okay, I'm having a horrendous time on 960801-SNAP to a Sparc E6000 NFS server. About every 6mb of transfers its as though some packets were eaten, and it locks up the entire NFS side of my machine (damnit), and it takes about 60 seconds, when things click back in. Then another 5mb or so later click same thing, ad nausem. Anyone else having any problems with NFS clients on 0801 ? Its been my impression that the NFS on FreeBSD went really downhill between 0612 and 0801 ... I've been having all sorts of annoying pauses and glitches to a RS/6000 as well, but nothing nearly as bad as to the sparc. Hints anyone? -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich From owner-freebsd-bugs Mon Sep 9 15:20:08 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA24873 for bugs-outgoing; Mon, 9 Sep 1996 15:20:08 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA24866; Mon, 9 Sep 1996 15:20:03 -0700 (PDT) Resent-Date: Mon, 9 Sep 1996 15:20:03 -0700 (PDT) Resent-Message-Id: <199609092220.PAA24866@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, "smp@" Received: from rick.systemsix.com (rick.systemsix.com [198.99.86.136]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA24446 for ; Mon, 9 Sep 1996 15:14:35 -0700 (PDT) Received: (from smp@localhost) by rick.systemsix.com (8.7.5/8.7.3) id QAA03666; Mon, 9 Sep 1996 16:15:15 -0600 (MDT) Message-Id: <199609092215.QAA03666@rick.systemsix.com> Date: Mon, 9 Sep 1996 16:15:15 -0600 (MDT) From: "smp@" Reply-To: "smp@" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1591: SMP kernel fix 960909.1 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1591 >Category: kern >Synopsis: i386/i386/mpcore.s stores _mpfps at incorrect address >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 9 15:20:01 PDT 1996 >Last-Modified: >Originator: Steve Passe >Organization: New Ideas >Release: FreeBSD 2.2-CURRENT i386 >Environment: smp-sys as of August 27, 1996 >Description: line 113 of mpcore.s says: movl %esi, _mpfps /* Store the physical address */ at this point we have NOT started paging so the address, which is linked to kernel space, is not correct. This hasen't been a problem so far since _mpfps is not used anywhere (unless it clobbers other data). >How-To-Repeat: not relevant. >Fix: change line #113 of mpcore.s to: movl %esi, _mpfps-KERNBASE /* Store the physical address */ >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Sep 9 16:04:33 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA27737 for bugs-outgoing; Mon, 9 Sep 1996 16:04:33 -0700 (PDT) Received: from intervalle.fr (ariane.intervalle.fr [194.51.137.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA27732 for ; Mon, 9 Sep 1996 16:04:28 -0700 (PDT) Received: from rafale (rafale.intervalle.fr [194.51.137.20]) by intervalle.fr (8.6.12/8.6.9) with ESMTP id BAA00195 for ; Tue, 10 Sep 1996 01:04:10 +0200 Message-Id: <199609092304.BAA00195@intervalle.fr> From: "Pierre SEGURET" To: Subject: Ifconfig IP alias Problem Date: Tue, 10 Sep 1996 01:01:33 +0200 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm currently trying to use IP alias on my 2.1.0 FreeBSD systems. My first interface "lnc0" is configured with the following adress 194.51.137.3 I'd like to setup a private network on the interface with the adress 10.0.0.3. It currently works with a sun sparc station running Solaris 2.5 on the same network with the address 10.0.0.2. The problem is when i set up the 10.0.0.3 alias on my FreeBSD system, the default route to my cisco (194.51.137.254) default router drops. Do you have any solution ? Thanks From owner-freebsd-bugs Mon Sep 9 16:30:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA28673 for bugs-outgoing; Mon, 9 Sep 1996 16:30:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA28665; Mon, 9 Sep 1996 16:30:02 -0700 (PDT) Resent-Date: Mon, 9 Sep 1996 16:30:02 -0700 (PDT) Resent-Message-Id: <199609092330.QAA28665@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, "smp@" Received: from rick.systemsix.com (rick.systemsix.com [198.99.86.136]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA28399 for ; Mon, 9 Sep 1996 16:23:15 -0700 (PDT) Received: (from smp@localhost) by rick.systemsix.com (8.7.5/8.7.3) id RAA03816; Mon, 9 Sep 1996 17:23:57 -0600 (MDT) Message-Id: <199609092323.RAA03816@rick.systemsix.com> Date: Mon, 9 Sep 1996 17:23:57 -0600 (MDT) From: "smp@" Reply-To: "smp@" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1592: SMP kernel fix 960909.2 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1592 >Category: kern >Synopsis: kernel incorrectly reads CPU # from APIC ID register >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 9 16:30:01 PDT 1996 >Last-Modified: >Originator: Steve Passe >Organization: New Ideas >Release: FreeBSD 2.2-CURRENT i386 >Environment: smp-sys as of August 27, 1996 Intel XXPRESS motherboard. >Description: The kernel determines the 'number' of the current CPU by reading the 'local APIC ID Register' and masking off the high byte (ie 8 bits) of this 32 bit register. In the 80489 discrete APIC this is an 8-bit field, but in the P5 integrated APIC, it is only a 4-bit field. Although the data book shows the high nibble being zero-ed out on reset, experiments with the Intel XXPRESS motherboard suggests otherwise. There are also other modes where this register becomes a bitfield as oppossed to a discrete number. Since extra bits are sometime set in the high nibble the code fails to detect the proper CPU #. >How-To-Repeat: not relevant. >Fix: 1: in include/apic.h: #define APIC_ID_FIELD 0x0f000000 2: change all places that mask off this field, typically: andl $0xff000000,%e?x to: andl $APIC_ID_FIELD,%e?x these places are: i386/i386/locore.s, line 268 i386/i386/swtch.s, line 452 i386/i386/mplock.s, lines 48, 59, 87, and 99 3: fix cpunumber() in i386/include/smp.h: change line 25: return (apic_base[APIC_ID] >> 24); to: return ((apic_base[APIC_ID] & APIC_ID_FIELD) >> 24); 4: fix macro in i386/include/smpasm.h: change: lines 9-12 #define GETCPUID(reg) \ movl _apic_base, reg; \ movl APIC_ID(reg), reg; \ shrl $24, reg to: #define GETCPUID(reg) \ movl _apic_base, reg; \ movl APIC_ID(reg), reg; \ shrl $24, reg; \ andl $0xf, reg >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Sep 9 16:40:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29041 for bugs-outgoing; Mon, 9 Sep 1996 16:40:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29035; Mon, 9 Sep 1996 16:40:02 -0700 (PDT) Resent-Date: Mon, 9 Sep 1996 16:40:02 -0700 (PDT) Resent-Message-Id: <199609092340.QAA29035@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, "smp@" Received: from rick.systemsix.com (rick.systemsix.com [198.99.86.136]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA28705 for ; Mon, 9 Sep 1996 16:30:34 -0700 (PDT) Received: (from smp@localhost) by rick.systemsix.com (8.7.5/8.7.3) id RAA03926; Mon, 9 Sep 1996 17:31:17 -0600 (MDT) Message-Id: <199609092331.RAA03926@rick.systemsix.com> Date: Mon, 9 Sep 1996 17:31:17 -0600 (MDT) From: "smp@" Reply-To: "smp@" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1593: SMP kernel fix 960909.3 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1593 >Category: kern >Synopsis: i386/i386/locore.s contains useless line >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 9 16:40:01 PDT 1996 >Last-Modified: >Originator: Steve Passe >Organization: New Ideas >Release: FreeBSD 2.2-CURRENT i386 >Environment: smp-sys as of August 27, 1996 Intel XXPRESS motherboard, Gigabyte GA586DX motherboard >Description: i386.i386/locore.s, line 966 appears useless: mp_begin: /* now running relocated at KERNBASE */ 966:>> GETCPUID(%ebx) /* Wait for the booting CPU to signal startup */ /* load i386 tables */ call _init_secondary >How-To-Repeat: not relevant. >Fix: remove the line. I can find no purpose whatever for it. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Sep 9 16:50:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29421 for bugs-outgoing; Mon, 9 Sep 1996 16:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29414; Mon, 9 Sep 1996 16:50:02 -0700 (PDT) Date: Mon, 9 Sep 1996 16:50:02 -0700 (PDT) Message-Id: <199609092350.QAA29414@freefall.freebsd.org> To: freebsd-bugs Cc: From: Bill Fenner Subject: Re: bin/1581: Traceroute SECURITY PROBLEM -- PRIORITY 1 Reply-To: Bill Fenner Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1581; it has been noted by GNATS. From: Bill Fenner To: karl@codebase.mcs.net Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/1581: Traceroute SECURITY PROBLEM -- PRIORITY 1 Date: Mon, 9 Sep 1996 16:45:52 PDT On August 13, I added setuid(getuid()) at the earliest place possible in traceroute (even before parsing args), so even though your additional changes should be made, -current's traceroute is already safe. Bill From owner-freebsd-bugs Mon Sep 9 17:50:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA02168 for bugs-outgoing; Mon, 9 Sep 1996 17:50:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA02151; Mon, 9 Sep 1996 17:50:02 -0700 (PDT) Resent-Date: Mon, 9 Sep 1996 17:50:02 -0700 (PDT) Resent-Message-Id: <199609100050.RAA02151@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, smp@csn.net Received: from rick.systemsix.com (rick.systemsix.com [198.99.86.136]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA01667 for ; Mon, 9 Sep 1996 17:42:33 -0700 (PDT) Received: (from smp@localhost) by rick.systemsix.com (8.7.5/8.7.3) id SAA04080; Mon, 9 Sep 1996 18:43:16 -0600 (MDT) Message-Id: <199609100043.SAA04080@rick.systemsix.com> Date: Mon, 9 Sep 1996 18:43:16 -0600 (MDT) From: smp@csn.net Reply-To: smp@csn.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1594: SMP kernel fix 960909.4 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1594 >Category: kern >Synopsis: apic_startup() needs work >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 9 17:50:01 PDT 1996 >Last-Modified: >Originator: Steve Passe >Organization: New Ideas >Release: FreeBSD 2.2-CURRENT i386 >Environment: smp-sys as of August 27, 1996 >Description: The current version of apic_startup() does not properly start the 2nd CPU on an Intel XXPRESS box. Experimentation shows that it can be re-written in such a way as to be more robust and support a wider range of motherboards. The current version appears to follow the pseudo code in example B-1 of the MP spec v1.4, page B3. The example appears to be incorrect and part of the problem. Specifically it shows an APIC STARTUP IPI twice in a row, while databooks and the MP spec claim this should only be done ONCE after a RESET IPI or hard reset. Secondly, some hardware (eg the XXPRESS) depends on the INIT/RESET IPI to actually start the 2nd CPU via the BIOS warm-start vector mechanism. The current code ignores the fact that the INIT/RESET IPI depends on a valid warm-start vector. This code needs further refinement to deal with motherboards that depend on discrete APICs, as they don't support the STARTUP IPI. I believe this includes 80486 class mbs. apic_probe() would have to be extended to determine such facts and leave info around for apic_startup(). To deal with the XXPRESS's need for the funky 'WARMBOOT_TO_BOOTSTRAP' one could parse the "PRODUCT_ID_STRING" in the mpfps for "XXPRESS" and act accordingly. (what a kludge) The basic algorithm: if ( AP's local APIC == discrete ) /* eg. 80486 with 80489 */ { INIT_RESET_IPI( toBootMP ); } else if ( rogueHardware ) /* eg. Intel XXPRESS */ { INIT_RESET_IPI( toBootMP ); } else /* APIC == embedded */ /* eg. 586/686 */ { INIT_RESET_IPI( toHlt ); } if ( AP's local APIC == embedded ) /* eg. 586/686 */ { STARTUP_IPI( bootMPVector ); } >How-To-Repeat: run current code on Intel XXPRESS box. >Fix: [ I created several defines in smpasm.h to conditionalize code: ] /* * defining this will cause a warm-start vector to the bootMP * code to be built and installed, NOT the preferred method! * * Rogue hardware known to need this define: * Intel XXPRESS motherboard. * possibly any hardware with discrete APIC support (80486?) * #define WARMBOOT_TO_BOOTSTRAP */ /* * defines needed for the code: */ #define WARMBOOT_OFF 0xf0000467 #define WARMBOOT_SEG 0xf0000469 #define CMOS_REG 0x70 #define CMOS_DATA 0x71 #define BIOS_RESET 0x0f #define BIOS_WARM 0x0a [ it is necessary to restore the warm-boot vector to its original value after starting the 2nd CPU. modify machdep.s, at top and bottom of cpu_startup(), add: ] cpu_startup(dummy) void *dummy; { extern int mpbioswarmvec, mpbiosreason; ... /* restore the original warm-boot information */ *(u_long*)(KERNBASE+0x0467) = mpbioswarmvec; outb( 0x70, 0x0f ); outb( 0x71, (u_char)(mpbiosreason & 0xff) ); } [ create entry point in i386/i386/mpboot.s for the warmstart @ line 139: ] NON_GPROF_ENTRY(haltpoint) dead: hlt /* We should never get here */ [ the new code for apic_startup in i386/i386/mpcore.s ] NON_GPROF_ENTRY(apic_startup) /* * this version of apic_startup (more or less) complies to the MP spec v1.4 */ movl _mpenabled, %eax /* See if the probe succeeded */ cmpl $1, %eax jz 1f ret /* SMP not enabled */ 1: pushl %esi pushl %ebx call _get_mplock /* create a BIOS warm-start vector to a 'HLT' instruction */ movl WARMBOOT_OFF,%eax movl %eax,_mpbioswarmvec #if defined( WARMBOOT_TO_BOOTSTRAP ) /* this is for rogue hardware */ movw $0,WARMBOOT_OFF /* store offset */ #else lea _haltpoint,%eax subl $_bootMP,%eax /* calculate offset */ movw %ax,WARMBOOT_OFF /* store offset */ #endif /* WARMBOOT_TO_BOOTSTRAP */ movl $MP_INITADDR,%eax /* get 32bit address */ shrl $4,%eax /* convert to segment */ movw %ax,WARMBOOT_SEG /* store segment */ /* place "warm-start" value in CMOS ram for BIOS */ cli /* disable INTs */ movb $BIOS_RESET,%al /* address of "reason" */ outb %al,$CMOS_REG inb $CMOS_DATA,%al /* read current value */ movl %eax,_mpbiosreason /* save it for later */ movb $BIOS_RESET,%al /* address of "reason" */ outb %al,$CMOS_REG movb $BIOS_WARM,%al /* "warm" thru (40:67) */ outb %al,$CMOS_DATA /* store it */ sti /* re-enable INTs */ movl _apic_base, %esi /* Step 1 - Do a INIT/Reset seqeuence */ movl APIC_ICR_HI(%esi),%eax andl $0xf0ffffff,%eax /* mask out ID bits */ orl $CPUNBR,%eax movl %eax,APIC_ICR_HI(%esi) movl APIC_ICR_LOW(%esi),%eax andl $0xfff00000,%eax orl $0x0000c500,%eax /* do a INIT IPI - ASSERT/RESET */ movl %eax,APIC_ICR_LOW(%esi) 1: movl APIC_ICR_LOW(%esi),%eax /* wait for pending status end */ andl $0x00001000,%eax jnz 1b xorl %ebx, %ebx movl $0x10000, %eax /* Delay a bit */ 2: decl %eax cmpl %eax, %ebx jnz 2b movl APIC_ICR_HI(%esi),%eax andl $0xf0ffffff,%eax /* mask out ID bits */ orl $CPUNBR,%eax movl %eax,APIC_ICR_HI(%esi) movl APIC_ICR_LOW(%esi),%eax andl $0xfff00000,%eax orl $0x00008500,%eax /* do a INIT IPI - DEASSERT/RESET */ movl %eax,APIC_ICR_LOW(%esi) 3: movl APIC_ICR_LOW(%esi),%eax /* wait for pending status end */ andl $0x00001000,%eax jnz 3b /* Step 2 - Do the STARTUP IPI sequence */ xorl %ebx, %ebx movl $0x10000, %eax /* Delay a bit */ 1: decl %eax cmpl %eax, %ebx jnz 1b 2: movl APIC_ICR_LOW(%esi),%eax /* wait for pending status end */ andl $0x00001000,%eax jnz 2b movl APIC_ICR_HI(%esi),%eax andl $0xf0ffffff,%eax /* mask out ID bits */ orl $CPUNBR,%eax movl %eax,APIC_ICR_HI(%esi) movl APIC_ICR_LOW(%esi),%eax andl $0xfff00000,%eax orl $0x0000069f,%eax /* do a STARTUP IPI */ movl %eax,APIC_ICR_LOW(%esi) xorl %ebx, %ebx movl $0x1000000, %eax /* Delay a bit */ 3: decl %eax cmpl %eax, %ebx jnz 3b 4: movl APIC_ICR_LOW(%esi),%eax /* wait for pending status end */ andl $0x00001000,%eax jnz 4b popl %ebx popl %esi ret >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Sep 9 17:50:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA02176 for bugs-outgoing; Mon, 9 Sep 1996 17:50:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA02160; Mon, 9 Sep 1996 17:50:04 -0700 (PDT) Date: Mon, 9 Sep 1996 17:50:04 -0700 (PDT) Message-Id: <199609100050.RAA02160@freefall.freebsd.org> To: freebsd-bugs Cc: From: Robert Eckardt Subject: Re: bin/1590: AT time parsing broken Reply-To: Robert Eckardt Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1590; it has been noted by GNATS. From: Robert Eckardt To: henrich@msu.edu Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/1590: AT time parsing broken Date: Tue, 10 Sep 1996 02:48:22 +0200 (MET DST) > FreeBSD 2.2-960801-SNAP [..] > 1:22pm crh> at 1pm tommorow > at: Trying to travel back in time Have you tried `at 1pm tomorrow' instead ? ~~~ I tried it on 2.1.5-R: 2:45 ghost: /home/re 1% at 2am tommorow at: Trying to travel back in time 2:45 ghost: /home/re 1% at 2am tomorrow _ Robert From owner-freebsd-bugs Mon Sep 9 17:54:21 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA02567 for bugs-outgoing; Mon, 9 Sep 1996 17:54:21 -0700 (PDT) Received: (from fenner@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA02553; Mon, 9 Sep 1996 17:54:18 -0700 (PDT) Date: Mon, 9 Sep 1996 17:54:18 -0700 (PDT) From: Bill Fenner Message-Id: <199609100054.RAA02553@freefall.freebsd.org> To: karl@Codebase.mcs.net, fenner, freebsd-bugs Subject: Re: bin/1581 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Traceroute can be exploited to gain root privileges State-Changed-From-To: open-closed State-Changed-By: fenner State-Changed-When: Mon Sep 9 17:53:13 PDT 1996 State-Changed-Why: The setuid(getuid()) was added in rev 1.7 on August 13; the strncpy fixes went in to rev 1.11. From owner-freebsd-bugs Mon Sep 9 18:10:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA03165 for bugs-outgoing; Mon, 9 Sep 1996 18:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA03159; Mon, 9 Sep 1996 18:10:01 -0700 (PDT) Date: Mon, 9 Sep 1996 18:10:01 -0700 (PDT) Message-Id: <199609100110.SAA03159@freefall.freebsd.org> To: freebsd-bugs Cc: From: Charles Henrich Subject: Re: bin/1590: AT time parsing broken Reply-To: Charles Henrich Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1590; it has been noted by GNATS. From: Charles Henrich To: roberte@ghost.mep.ruhr-uni-bochum.de (Robert Eckardt) Cc: henrich@msu.edu, FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/1590: AT time parsing broken Date: Mon, 9 Sep 1996 21:06:22 -0400 (EDT) > > FreeBSD 2.2-960801-SNAP > [..] > > 1:22pm crh> at 1pm tommorow > > at: Trying to travel back in time > > Have you tried `at 1pm tomorrow' instead ? > ~~~ > I tried it on 2.1.5-R: > > 2:45 ghost: /home/re 1% at 2am tommorow > at: Trying to travel back in time > 2:45 ghost: /home/re 1% at 2am tomorrow Ah Yes Well, I'll go hide now... -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich From owner-freebsd-bugs Mon Sep 9 20:30:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA09934 for bugs-outgoing; Mon, 9 Sep 1996 20:30:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA09928; Mon, 9 Sep 1996 20:30:03 -0700 (PDT) Date: Mon, 9 Sep 1996 20:30:03 -0700 (PDT) Message-Id: <199609100330.UAA09928@freefall.freebsd.org> To: freebsd-bugs Cc: From: Steve Passe Subject: kern/1594 Reply-To: Steve Passe Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/1594; it has been noted by GNATS. From: Steve Passe To: freebsd-gnats-submit@freebsd.org Cc: Subject: kern/1594 Date: Mon, 09 Sep 1996 21:24:44 -0600 kern/1594 From owner-freebsd-bugs Tue Sep 10 10:25:44 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA28938 for bugs-outgoing; Tue, 10 Sep 1996 10:25:44 -0700 (PDT) Received: from mail1.infinet.com (mail1.infinet.com [206.103.240.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA28931 for ; Tue, 10 Sep 1996 10:25:37 -0700 (PDT) Received: from drobina.my.domain (cmh-p083.infinet.com [206.103.242.87]) by mail1.infinet.com (8.7.3/8.7.3) with SMTP id NAA09472 for ; Tue, 10 Sep 1996 13:25:28 -0400 (EDT) Message-ID: <3235A4A2.167EB0E7@infinet.com> Date: Tue, 10 Sep 1996 13:25:54 -0400 From: James Drobina X-Mailer: Mozilla 3.0b6Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: freebsd-bugs@FreeBSD.ORG Subject: Mailing list subscription problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I recently tried for subscribe to freebsd-current, but I don't think it worked I haven't received any mail for current yet. I was able to subscribe to cvs-all and have received mail from it. From owner-freebsd-bugs Tue Sep 10 10:25:56 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA28974 for bugs-outgoing; Tue, 10 Sep 1996 10:25:56 -0700 (PDT) Received: from beauty.nacamar.de (root@beauty.nacamar.de [194.112.16.36]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA28950; Tue, 10 Sep 1996 10:25:50 -0700 (PDT) Received: from petzi (petzi.nacamar.de [194.162.54.13]) by beauty.nacamar.de (8.7.3/8.7.3) with SMTP id TAA25050; Tue, 10 Sep 1996 19:26:57 +0200 Message-Id: <2.2.32.19960910152227.002cb144@mail.nacamar.de> X-Sender: petzi@mail.nacamar.de X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 10 Sep 1996 17:22:27 +0200 To: bugs@freebsd.org, current@freebsd.org From: Michael Beckmann Subject: proc: table is full during installation Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello everybody I tried to install the 960801-SNAP on a P-120 with Adaptec 2940 controller, 2 gig SCSI disk; the machine has 32 MB RAM and an NE-2000 comp. Ethernet card. The installation over ftp worked fine; after that I added about 40 packages. After having added about 25 packages, the package installer returned an error; the debug screen said: DEBUG: Attempt to chdir to distribution in pub/FreeBSD/ proc: table is full DEBUG: Caught SIGPIPE while trying to install the less-321 package Michael -- ------------------------------------------------------------------- Michael Beckmann NACAMAR Data Communications Systemadministration Frankfurter Strasse 135-141 63303 Dreieich / Germany e-mail: beckmann@nacamar.net voice: +49-6103-9901-0 www : www.nacamar.net fax : +49-6103-9901-18 ------------------------------------------------------------------- From owner-freebsd-bugs Tue Sep 10 10:51:20 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA00870 for bugs-outgoing; Tue, 10 Sep 1996 10:51:20 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA00851; Tue, 10 Sep 1996 10:51:15 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id KAA20507; Tue, 10 Sep 1996 10:50:55 -0700 (PDT) To: Michael Beckmann cc: bugs@freebsd.org, current@freebsd.org Subject: Re: proc: table is full during installation In-reply-to: Your message of "Tue, 10 Sep 1996 17:22:27 +0200." <2.2.32.19960910152227.002cb144@mail.nacamar.de> Date: Tue, 10 Sep 1996 10:50:55 -0700 Message-ID: <20505.842377855@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > card. The installation over ftp worked fine; after that I added about 40 > packages. After having added about 25 packages, the package installer See ftp://ftp.freebsd.org/pub/FreeBSD/2.1.5-RELEASE/KNOWNBUG.TXT Jordan From owner-freebsd-bugs Tue Sep 10 11:15:12 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA02940 for bugs-outgoing; Tue, 10 Sep 1996 11:15:12 -0700 (PDT) Received: from beauty.nacamar.de (root@beauty.nacamar.de [194.112.16.36]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA02918; Tue, 10 Sep 1996 11:15:06 -0700 (PDT) Received: from petzi (petzi.nacamar.de [194.162.54.13]) by beauty.nacamar.de (8.7.3/8.7.3) with SMTP id UAA26655; Tue, 10 Sep 1996 20:19:23 +0200 Message-Id: <2.2.32.19960910161456.002cf4cc@mail.nacamar.de> X-Sender: petzi@mail.nacamar.de X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 10 Sep 1996 18:14:56 +0200 To: "Jordan K. Hubbard" From: Michael Beckmann Subject: Re: proc: table is full during installation Cc: bugs@freebsd.org, current@freebsd.org Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 10:50 10.09.96 -0700, Jordan K. Hubbard wrote: >See ftp://ftp.freebsd.org/pub/FreeBSD/2.1.5-RELEASE/KNOWNBUG.TXT Ooops ! This should go to ftp://ftp.freebsd.org/pub/FreeBSD/2.2-960801-SNAP/KNOWNBUG.TXT , too ! Thanks anyway. Michael From owner-freebsd-bugs Tue Sep 10 11:23:54 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA03632 for bugs-outgoing; Tue, 10 Sep 1996 11:23:54 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA03609; Tue, 10 Sep 1996 11:23:49 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id LAA20776; Tue, 10 Sep 1996 11:23:06 -0700 (PDT) To: Michael Beckmann cc: bugs@freebsd.org, current@freebsd.org Subject: Re: proc: table is full during installation In-reply-to: Your message of "Tue, 10 Sep 1996 18:14:56 +0200." <2.2.32.19960910161456.002cf4cc@mail.nacamar.de> Date: Tue, 10 Sep 1996 11:23:06 -0700 Message-ID: <20773.842379786@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > This should go to > > ftp://ftp.freebsd.org/pub/FreeBSD/2.2-960801-SNAP/KNOWNBUG.TXT , too ! Already done! :) Jordan From owner-freebsd-bugs Tue Sep 10 11:40:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA05058 for bugs-outgoing; Tue, 10 Sep 1996 11:40:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA05040; Tue, 10 Sep 1996 11:40:01 -0700 (PDT) Resent-Date: Tue, 10 Sep 1996 11:40:01 -0700 (PDT) Resent-Message-Id: <199609101840.LAA05040@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, karl@Codebase.mcs.net Received: from Codebase.mcs.net (codebase.mcs.net [192.160.127.89]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA04938 for ; Tue, 10 Sep 1996 11:39:18 -0700 (PDT) Received: (from root@localhost) by Codebase.mcs.net (8.7.5/8.6.12) id NAA17069; Tue, 10 Sep 1996 13:39:17 -0500 (CDT) Message-Id: <199609101839.NAA17069@Codebase.mcs.net> Date: Tue, 10 Sep 1996 13:39:17 -0500 (CDT) From: Karl Reply-To: karl@Codebase.mcs.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1596: Security problem with routed - patch to fix Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1596 >Category: bin >Synopsis: routed allows writing to any system file >Confidential: Yes >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 10 11:40:00 PDT 1996 >Last-Modified: >Originator: Karl >Organization: MCSNet >Release: FreeBSD 2.2-CURRENT i386 >Environment: Any user operating routed >Description: Any user anywhere on the Internet can potentially write to any file on the system as root through the use of the RIP TRACE facility >How-To-Repeat: Send UDP packet containing RIP TRACE request with the requested filename. >Fix: The following diff removes the RIP TRACE facility unless the define "INSECURE" is present at the time of the build. There is no known way to safely permit this trace activity to take place. MCSNet was not the originator of discovery for this problem. Index: input.c =================================================================== RCS file: /usr/cvs/src/usr.sbin/routed/input.c,v retrieving revision 1.4 diff -r1.4 input.c 288a289 > #ifdef INSECURE 310c311 < --- > #endif -- Karl Denninger karl@mcs.net >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Sep 10 13:31:10 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA11789 for bugs-outgoing; Tue, 10 Sep 1996 13:31:10 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA11771; Tue, 10 Sep 1996 13:31:07 -0700 (PDT) Date: Tue, 10 Sep 1996 13:31:07 -0700 (PDT) From: Garrett Wollman Message-Id: <199609102031.NAA11771@freefall.freebsd.org> To: karl@Codebase.mcs.net, wollman, freebsd-bugs, wollman Subject: Re: bin/1596 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: routed allows writing to any system file State-Changed-From-To: open-analyzed State-Changed-By: wollman State-Changed-When: Tue Sep 10 13:30:01 PDT 1996 State-Changed-Why: I've looked into it and am communicating with the code's author. Responsible-Changed-From-To: freebsd-bugs->wollman Responsible-Changed-By: wollman Responsible-Changed-When: Tue Sep 10 13:30:01 PDT 1996 Responsible-Changed-Why: My area. From owner-freebsd-bugs Tue Sep 10 14:40:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA16616 for bugs-outgoing; Tue, 10 Sep 1996 14:40:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA16605; Tue, 10 Sep 1996 14:40:03 -0700 (PDT) Resent-Date: Tue, 10 Sep 1996 14:40:03 -0700 (PDT) Resent-Message-Id: <199609102140.OAA16605@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, markd@Grizzly.COM Received: from scruz.net (nic.scruz.net [165.227.1.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA16228 for ; Tue, 10 Sep 1996 14:35:35 -0700 (PDT) Received: from osprey.grizzly.com by scruz.net (8.7.3/1.34) id OAA01596; Tue, 10 Sep 1996 14:35:26 -0700 (PDT) Received: (from markd@localhost) by osprey.grizzly.com (8.7.5/8.7.3) id OAA09937; Tue, 10 Sep 1996 14:35:55 -0700 (PDT) Message-Id: <199609102135.OAA09937@osprey.grizzly.com> Date: Tue, 10 Sep 1996 14:35:55 -0700 (PDT) From: Mark Diekhans Reply-To: markd@Grizzly.COM To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1597: No support for positional parameters in *printf functions Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1597 >Category: bin >Synopsis: No support for positional parameters in *printf functions >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 10 14:40:02 PDT 1996 >Last-Modified: >Originator: Mark Diekhans >Organization: == Mark Diekhans == >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: >Description: FreeBSD lacks support for XPG/3 style positional arguments in the *printf family of functions (e.g. %2$s). This functionality is available on most modern Unix systems and in GNU libc. Its fairly essential in developing XPG/3 style localized software (FreeBSD has XPG/3 catopen, etc). >How-To-Repeat: >Fix: The following patch to lib/libc/stdio implements positional arguments in a manner consistent with other implementations. Its done in a way that adds only a tiny amount of overhead when positional arguments are not used. I also have a test program to go with this, but don't know where it belongs in the tree. *** printf.3.ORG Sun Sep 8 13:56:14 1996 --- printf.3 Sun Sep 8 15:15:18 1996 *************** *** 176,181 **** --- 176,191 ---- the following appear in sequence: .Bl -bullet .It + An optional field, consisting of a decimal digit string followed by a + .Cm $ , + specifying the next argument to access . + If this field is not provided, the argument following the last + argument accessed will be used. + Arguments are numbered starting at + .Cm 1 . + If unaccessed arguments in the format string are interspersed with ones that + are accessed the results will be indeterminate. + .It Zero or more of the following flags: .Bl -hyphen .It *************** *** 394,399 **** --- 404,411 ---- A field width or precision, or both, may be indicated by an asterisk .Ql * + or an asterisk followed by one or more decimal digits and a + .Ql $ instead of a digit string. In this case, an *************** *** 402,407 **** --- 414,421 ---- A negative field width is treated as a left adjustment flag followed by a positive field width; a negative precision is treated as though it were missing. + If a single format directive mixes positional (nn$) + and non-positional arguments, the results are undefined. .Pp The conversion specifiers and their meanings are: .Bl -tag -width "diouxX" *** vfprintf.c.ORG Sat Sep 7 19:47:59 1996 --- vfprintf.c Sun Sep 8 16:16:35 1996 *************** *** 75,80 **** --- 75,82 ---- static int __sbprintf __P((FILE *, const char *, va_list)); static char * __ultoa __P((u_long, char *, int, int, char *)); static char * __uqtoa __P((u_quad_t, char *, int, int, char *)); + static void __find_arguments __P((const char *, va_list, void ***)); + static void __grow_type_table __P((int, unsigned char **, int *)); /* * Flush out all the vectors defined by the given uio, *************** *** 274,279 **** --- 276,282 ---- #endif /* FLOATING_POINT */ + #define STATIC_ARG_TBL_SIZE 8 /* Size of static argument table. */ /* * Flags used during conversion. *************** *** 295,301 **** { register char *fmt; /* format string */ register int ch; /* character from fmt */ ! register int n; /* handy integer (short term usage) */ register char *cp; /* handy char pointer (short term usage) */ register struct __siov *iovp;/* for PRINT macro */ register int flags; /* flags as above */ --- 298,304 ---- { register char *fmt; /* format string */ register int ch; /* character from fmt */ ! register int n, n2; /* handy integer (short term usage) */ register char *cp; /* handy char pointer (short term usage) */ register struct __siov *iovp;/* for PRINT macro */ register int flags; /* flags as above */ *************** *** 323,328 **** --- 326,335 ---- struct __siov iov[NIOV];/* ... and individual io vectors */ char buf[BUF]; /* space for %c, %[diouxX], %[eEfgG] */ char ox[2]; /* space for 0x hex-prefix */ + void **argtable; /* args, built due to positional arg */ + void *statargtable [STATIC_ARG_TBL_SIZE]; + int nextarg; /* 1-based argument index */ + va_list orgap; /* original argument pointer */ /* * Choose PADSIZE to trade efficiency vs. size. If larger printf *************** *** 365,382 **** iovp = iov; \ } /* * To extend shorts properly, we need both signed and unsigned * argument extraction methods. */ #define SARG() \ ! (flags&LONGINT ? va_arg(ap, long) : \ ! flags&SHORTINT ? (long)(short)va_arg(ap, int) : \ ! (long)va_arg(ap, int)) #define UARG() \ ! (flags&LONGINT ? va_arg(ap, u_long) : \ ! flags&SHORTINT ? (u_long)(u_short)va_arg(ap, int) : \ ! (u_long)va_arg(ap, u_int)) #ifdef _THREAD_SAFE _thread_flockfile(fp,__FILE__,__LINE__); --- 372,424 ---- iovp = iov; \ } + /* + * Get the argument indexed by nextarg. If the argument table is + * built, use it to get the argument. If its not, get the next + * argument (and arguments must be gotten sequentially). + */ + #define GETARG(type) \ + ((argtable != NULL) ? *((type*)(argtable[nextarg++])) : \ + (nextarg++, va_arg(ap, type))) + /* * To extend shorts properly, we need both signed and unsigned * argument extraction methods. */ #define SARG() \ ! (flags&LONGINT ? GETARG(long) : \ ! flags&SHORTINT ? (long)(short)GETARG(int) : \ ! (long)GETARG(int)) #define UARG() \ ! (flags&LONGINT ? GETARG(u_long) : \ ! flags&SHORTINT ? (u_long)(u_short)GETARG(int) : \ ! (u_long)GETARG(u_int)) ! ! /* ! * Get * arguments, including the form *nn$. Preserve the nextarg ! * that the argument can be gotten once the type is determined. ! */ ! #define GETASTER(val) \ ! n2 = 0; \ ! cp = fmt; \ ! while (is_digit(*cp)) { \ ! n2 = 10 * n2 + to_digit(*cp); \ ! cp++; \ ! } \ ! if (*cp == '$') { \ ! int hold = nextarg; \ ! if (argtable == NULL) { \ ! argtable = statargtable; \ ! __find_arguments (fmt0, orgap, &argtable); \ ! } \ ! nextarg = n2; \ ! val = GETARG (int); \ ! nextarg = hold; \ ! fmt = ++cp; \ ! } else { \ ! val = GETARG (int); \ ! } ! #ifdef _THREAD_SAFE _thread_flockfile(fp,__FILE__,__LINE__); *************** *** 399,404 **** --- 441,449 ---- } fmt = (char *)fmt0; + argtable = NULL; + nextarg = 1; + orgap = ap; uio.uio_iov = iovp = iov; uio.uio_resid = 0; uio.uio_iovcnt = 0; *************** *** 445,451 **** * -- ANSI X3J11 * They don't exclude field widths read from args. */ ! if ((width = va_arg(ap, int)) >= 0) goto rflag; width = -width; /* FALLTHROUGH */ --- 490,497 ---- * -- ANSI X3J11 * They don't exclude field widths read from args. */ ! GETASTER (width); ! if (width >= 0) goto rflag; width = -width; /* FALLTHROUGH */ *************** *** 457,463 **** goto rflag; case '.': if ((ch = *fmt++) == '*') { ! n = va_arg(ap, int); prec = n < 0 ? -1 : n; goto rflag; } --- 503,509 ---- goto rflag; case '.': if ((ch = *fmt++) == '*') { ! GETASTER (n); prec = n < 0 ? -1 : n; goto rflag; } *************** *** 483,488 **** --- 529,543 ---- n = 10 * n + to_digit(ch); ch = *fmt++; } while (is_digit(ch)); + if (ch == '$') { + nextarg = n; + if (argtable == NULL) { + argtable = statargtable; + __find_arguments (fmt0, orgap, + &argtable); + } + goto rflag; + } width = n; goto reswitch; #ifdef FLOATING_POINT *************** *** 500,506 **** flags |= QUADINT; goto rflag; case 'c': ! *(cp = buf) = va_arg(ap, int); size = 1; sign = '\0'; break; --- 555,561 ---- flags |= QUADINT; goto rflag; case 'c': ! *(cp = buf) = GETARG(int); size = 1; sign = '\0'; break; *************** *** 510,516 **** case 'd': case 'i': if (flags & QUADINT) { ! uqval = va_arg(ap, quad_t); if ((quad_t)uqval < 0) { uqval = -uqval; sign = '-'; --- 565,571 ---- case 'd': case 'i': if (flags & QUADINT) { ! uqval = GETARG(quad_t); if ((quad_t)uqval < 0) { uqval = -uqval; sign = '-'; *************** *** 536,544 **** fp_begin: if (prec == -1) prec = DEFPREC; if (flags & LONGDBL) ! _double = (double)va_arg(ap, long double); else ! _double = va_arg(ap, double); /* do this before tricky precision changes */ if (isinf(_double)) { if (_double < 0) --- 591,599 ---- fp_begin: if (prec == -1) prec = DEFPREC; if (flags & LONGDBL) ! _double = (double)GETARG(long double); else ! _double = GETARG(double); /* do this before tricky precision changes */ if (isinf(_double)) { if (_double < 0) *************** *** 588,607 **** #endif /* FLOATING_POINT */ case 'n': if (flags & QUADINT) ! *va_arg(ap, quad_t *) = ret; else if (flags & LONGINT) ! *va_arg(ap, long *) = ret; else if (flags & SHORTINT) ! *va_arg(ap, short *) = ret; else ! *va_arg(ap, int *) = ret; continue; /* no output */ case 'O': flags |= LONGINT; /*FALLTHROUGH*/ case 'o': if (flags & QUADINT) ! uqval = va_arg(ap, u_quad_t); else ulval = UARG(); base = 8; --- 643,662 ---- #endif /* FLOATING_POINT */ case 'n': if (flags & QUADINT) ! *GETARG(quad_t *) = ret; else if (flags & LONGINT) ! *GETARG(long *) = ret; else if (flags & SHORTINT) ! *GETARG(short *) = ret; else ! *GETARG(int *) = ret; continue; /* no output */ case 'O': flags |= LONGINT; /*FALLTHROUGH*/ case 'o': if (flags & QUADINT) ! uqval = GETARG(u_quad_t); else ulval = UARG(); base = 8; *************** *** 614,627 **** * defined manner.'' * -- ANSI X3J11 */ ! ulval = (u_long)va_arg(ap, void *); base = 16; xdigs = "0123456789abcdef"; flags = (flags & ~QUADINT) | HEXPREFIX; ch = 'x'; goto nosign; case 's': ! if ((cp = va_arg(ap, char *)) == NULL) cp = "(null)"; if (prec >= 0) { /* --- 669,682 ---- * defined manner.'' * -- ANSI X3J11 */ ! ulval = (u_long)GETARG(void *); base = 16; xdigs = "0123456789abcdef"; flags = (flags & ~QUADINT) | HEXPREFIX; ch = 'x'; goto nosign; case 's': ! if ((cp = GETARG(char *)) == NULL) cp = "(null)"; if (prec >= 0) { /* *************** *** 646,652 **** /*FALLTHROUGH*/ case 'u': if (flags & QUADINT) ! uqval = va_arg(ap, u_quad_t); else ulval = UARG(); base = 10; --- 701,707 ---- /*FALLTHROUGH*/ case 'u': if (flags & QUADINT) ! uqval = GETARG(u_quad_t); else ulval = UARG(); base = 10; *************** *** 657,663 **** case 'x': xdigs = "0123456789abcdef"; hex: if (flags & QUADINT) ! uqval = va_arg(ap, u_quad_t); else ulval = UARG(); base = 16; --- 712,718 ---- case 'x': xdigs = "0123456789abcdef"; hex: if (flags & QUADINT) ! uqval = GETARG(u_quad_t); else ulval = UARG(); base = 16; *************** *** 809,817 **** --- 864,1195 ---- #ifdef _THREAD_SAFE _thread_funlockfile(fp); #endif + if ((argtable != NULL) && (argtable != statargtable)) + free (argtable); return (ret); /* NOTREACHED */ } + + /* + * Type ids for argument type table. + */ + #define T_UNUSED 0 + #define T_SHORT 1 + #define T_U_SHORT 2 + #define TP_SHORT 3 + #define T_INT 4 + #define T_U_INT 5 + #define TP_INT 6 + #define T_LONG 7 + #define T_U_LONG 8 + #define TP_LONG 9 + #define T_QUAD 10 + #define T_U_QUAD 11 + #define TP_QUAD 12 + #define T_DOUBLE 13 + #define T_LONG_DOUBLE 14 + #define TP_CHAR 15 + #define TP_VOID 16 + + /* + * Find all arguments when a positional parameter is encountered. Returns a + * table, indexed by argument number, of pointers to each arguments. The + * initial argument table should be an array of STATIC_ARG_TBL_SIZE entries. + * It will be replaces with a malloc-ed on if it overflows. + */ + static void + __find_arguments (fmt0, ap, argtable) + const char *fmt0; + va_list ap; + void ***argtable; + { + register char *fmt; /* format string */ + register int ch; /* character from fmt */ + register int n, n2; /* handy integer (short term usage) */ + register char *cp; /* handy char pointer (short term usage) */ + register int flags; /* flags as above */ + int width; /* width from format (%8d), or 0 */ + unsigned char *typetable; /* table of types */ + unsigned char stattypetable [STATIC_ARG_TBL_SIZE]; + int tablesize; /* current size of type table */ + int tablemax; /* largest used index in table */ + int nextarg; /* 1-based argument index */ + + /* + * Add an argument type to the table, expanding if necessary. + */ + #define ADDTYPE(type) \ + ((nextarg >= tablesize) ? \ + __grow_type_table(nextarg, &typetable, &tablesize) : 0, \ + typetable[nextarg++] = type, \ + (nextarg > tablemax) ? tablemax = nextarg : 0) + + #define ADDSARG() \ + ((flags&LONGINT) ? ADDTYPE(T_LONG) : \ + ((flags&SHORTINT) ? ADDTYPE(T_SHORT) : ADDTYPE(T_INT))) + + #define ADDUARG() \ + ((flags&LONGINT) ? ADDTYPE(T_U_LONG) : \ + ((flags&SHORTINT) ? ADDTYPE(T_U_SHORT) : ADDTYPE(T_U_INT))) + + /* + * Add * arguments to the type array. + */ + #define ADDASTER() \ + n2 = 0; \ + cp = fmt; \ + while (is_digit(*cp)) { \ + n2 = 10 * n2 + to_digit(*cp); \ + cp++; \ + } \ + if (*cp == '$') { \ + int hold = nextarg; \ + nextarg = n2; \ + ADDTYPE (T_INT); \ + nextarg = hold; \ + fmt = ++cp; \ + } else { \ + ADDTYPE (T_INT); \ + } + fmt = (char *)fmt0; + typetable = stattypetable; + tablesize = STATIC_ARG_TBL_SIZE; + tablemax = 0; + nextarg = 1; + memset (typetable, T_UNUSED, STATIC_ARG_TBL_SIZE); + + /* + * Scan the format for conversions (`%' character). + */ + for (;;) { + for (cp = fmt; (ch = *fmt) != '\0' && ch != '%'; fmt++) + /* void */; + if (ch == '\0') + goto done; + fmt++; /* skip over '%' */ + + flags = 0; + width = 0; + + rflag: ch = *fmt++; + reswitch: switch (ch) { + case ' ': + case '#': + goto rflag; + case '*': + ADDASTER (); + goto rflag; + case '-': + case '+': + goto rflag; + case '.': + if ((ch = *fmt++) == '*') { + ADDASTER (); + goto rflag; + } + while (is_digit(ch)) { + ch = *fmt++; + } + goto reswitch; + case '0': + goto rflag; + case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': + n = 0; + do { + n = 10 * n + to_digit(ch); + ch = *fmt++; + } while (is_digit(ch)); + if (ch == '$') { + nextarg = n; + goto rflag; + } + width = n; + goto reswitch; + #ifdef FLOATING_POINT + case 'L': + flags |= LONGDBL; + goto rflag; + #endif + case 'h': + flags |= SHORTINT; + goto rflag; + case 'l': + flags |= LONGINT; + goto rflag; + case 'q': + flags |= QUADINT; + goto rflag; + case 'c': + ADDTYPE(T_INT); + break; + case 'D': + flags |= LONGINT; + /*FALLTHROUGH*/ + case 'd': + case 'i': + if (flags & QUADINT) { + ADDTYPE(T_QUAD); + } else { + ADDSARG(); + } + break; + #ifdef FLOATING_POINT + case 'e': + case 'E': + case 'f': + case 'g': + case 'G': + if (flags & LONGDBL) + ADDTYPE(T_LONG_DOUBLE); + else + ADDTYPE(T_DOUBLE); + break; + #endif /* FLOATING_POINT */ + case 'n': + if (flags & QUADINT) + ADDTYPE(TP_QUAD); + else if (flags & LONGINT) + ADDTYPE(TP_LONG); + else if (flags & SHORTINT) + ADDTYPE(TP_SHORT); + else + ADDTYPE(TP_INT); + continue; /* no output */ + case 'O': + flags |= LONGINT; + /*FALLTHROUGH*/ + case 'o': + if (flags & QUADINT) + ADDTYPE(T_U_QUAD); + else + ADDUARG(); + break; + case 'p': + ADDTYPE(TP_VOID); + break; + case 's': + ADDTYPE(TP_CHAR); + break; + case 'U': + flags |= LONGINT; + /*FALLTHROUGH*/ + case 'u': + if (flags & QUADINT) + ADDTYPE(T_U_QUAD); + else + ADDUARG(); + break; + case 'X': + case 'x': + if (flags & QUADINT) + ADDTYPE(T_U_QUAD); + else + ADDUARG(); + break; + default: /* "%?" prints ?, unless ? is NUL */ + if (ch == '\0') + goto done; + break; + } + } + done: + /* + * Build the argument table. + */ + if (tablemax >= STATIC_ARG_TBL_SIZE) { + *argtable = (void **) + malloc (sizeof (void *) * (tablemax + 1)); + } + + (*argtable) [0] = NULL; + for (n = 1; n <= tablemax; n++) { + (*argtable) [n] = ap; + switch (typetable [n]) { + case T_UNUSED: + (void) va_arg (ap, int); + break; + case T_SHORT: + (void) va_arg (ap, int); + break; + case T_U_SHORT: + (void) va_arg (ap, int); + break; + case TP_SHORT: + (void) va_arg (ap, short *); + break; + case T_INT: + (void) va_arg (ap, int); + break; + case T_U_INT: + (void) va_arg (ap, unsigned int); + break; + case TP_INT: + (void) va_arg (ap, int *); + break; + case T_LONG: + (void) va_arg (ap, long); + break; + case T_U_LONG: + (void) va_arg (ap, unsigned long); + break; + case TP_LONG: + (void) va_arg (ap, long *); + break; + case T_QUAD: + (void) va_arg (ap, quad_t); + break; + case T_U_QUAD: + (void) va_arg (ap, u_quad_t); + break; + case TP_QUAD: + (void) va_arg (ap, quad_t *); + break; + case T_DOUBLE: + (void) va_arg (ap, double); + break; + case T_LONG_DOUBLE: + (void) va_arg (ap, long double); + break; + case TP_CHAR: + (void) va_arg (ap, char *); + break; + case TP_VOID: + (void) va_arg (ap, void *); + break; + } + } + + if ((typetable != NULL) && (typetable != stattypetable)) + free (typetable); + } + + /* + * Increase the size of the type table. + */ + static void + __grow_type_table (nextarg, typetable, tablesize) + int nextarg; + unsigned char **typetable; + int *tablesize; + { + unsigned char *oldtable = *typetable; + int newsize = *tablesize * 2; + + if (*tablesize == STATIC_ARG_TBL_SIZE) { + *typetable = (unsigned char *) + malloc (sizeof (unsigned char) * newsize); + bcopy (oldtable, *typetable, *tablesize); + } else { + *typetable = (unsigned char *) + realloc (typetable, sizeof (unsigned char) * newsize); + + } + memset (&typetable [*tablesize], T_UNUSED, (newsize - *tablesize)); + + *tablesize = newsize; + } + #ifdef FLOATING_POINT >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Sep 11 06:10:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA01763 for bugs-outgoing; Wed, 11 Sep 1996 06:10:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA01756; Wed, 11 Sep 1996 06:10:02 -0700 (PDT) Resent-Date: Wed, 11 Sep 1996 06:10:02 -0700 (PDT) Resent-Message-Id: <199609111310.GAA01756@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:"from beaver.cs.washington.edu (beaver.cs.washington.edu [128.95.1.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA01418 for" ; Wed, 11 Sep 1996 06:01:32.-0700 (PDT) Received: from cedar.UUCP (uucp@localhost) by beaver.cs.washington.edu (8.7.5/7.1be+) with UUCP id GAA14254 for freebsd.org!FreeBSD-gnats-submit; Wed, 11 Sep 1996 06:01:31 -0700 (PDT) Received: from localhost by rocky.cedar.wa.com (8.3/1.36) id AAA11821; Wed, 11 Sep 1996 00:39:09 -0700 Message-Id: <199609110739.AAA11821@rocky.cedar.wa.com> Date: Wed Sep 11 00:32:04 1996 From: cedar!jeremy@beaver.cs.washington.edu (Jeremy Scofield) To: FreeBSD-gnats-submit@freebsd.org Subject: bin/1598: tip leaves OPOST set on controlling terminal Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1598 >Category: bin >Synopsis: tip leaves OPOST set on controlling terminal (fd 0) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 11 06:10:01 PDT 1996 >Last-Modified: >Originator: Jeremy Scofield >Organization: Cedar River Software >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: It's not particularly relevant, but my /etc/remote contains cuaa1:dv=/dev/cuaa1:br#115200:pa=none >Description: The raw() function in tip.c leaves OPOST and ONLCR set on fd 0, which causes an extra \r to be inserted before each \n. This is fairly benign when running line-mode commands (\r\r\n is usually indistinguishable from \r\n), but causes some pretty strange behavior when I run vi on the remote system. I checked tip.c in FreeBSD-current, too. The bug is still there. >How-To-Repeat: script tip cuaa1 ~. ^D The ``typescript'' file will show double \r's at the end of every line. >Fix: *** tip.c-orig Tue Sep 10 23:37:04 1996 --- tip.c Tue Sep 10 23:37:24 1996 *************** *** 223,228 **** --- 223,229 ---- ctermios.c_iflag = (ISTRIP|IXON|BRKINT); ctermios.c_lflag = (PENDIN|IEXTEN|ISIG|ECHOE); #endif + ctermios.c_oflag = 0; ctermios.c_cflag = (CLOCAL|HUPCL|CREAD|CS8); ctermios.c_cc[VINTR] = ctermios.c_cc[VQUIT] = -1; ctermios.c_cc[VSUSP] = ctermios.c_cc[VDSUSP] = ctermios.c_cc[VDISCARD] = >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Sep 11 11:30:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA20191 for bugs-outgoing; Wed, 11 Sep 1996 11:30:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA20183; Wed, 11 Sep 1996 11:30:01 -0700 (PDT) Date: Wed, 11 Sep 1996 11:30:01 -0700 (PDT) Message-Id: <199609111830.LAA20183@freefall.freebsd.org> To: freebsd-bugs Cc: From: Bruce Evans Subject: Re: bin/1598: tip leaves OPOST set on controlling terminal Reply-To: Bruce Evans Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1598; it has been noted by GNATS. From: Bruce Evans To: cedar!jeremy@beaver.cs.washington.edu, FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: bin/1598: tip leaves OPOST set on controlling terminal Date: Thu, 12 Sep 1996 04:18:40 +1000 >*** tip.c-orig Tue Sep 10 23:37:04 1996 >--- tip.c Tue Sep 10 23:37:24 1996 >*************** >*** 223,228 **** >--- 223,229 ---- > ctermios.c_iflag = (ISTRIP|IXON|BRKINT); > ctermios.c_lflag = (PENDIN|IEXTEN|ISIG|ECHOE); > #endif >+ ctermios.c_oflag = 0; > ctermios.c_cflag = (CLOCAL|HUPCL|CREAD|CS8); > ctermios.c_cc[VINTR] = ctermios.c_cc[VQUIT] = -1; > ctermios.c_cc[VSUSP] = ctermios.c_cc[VDSUSP] = ctermios.c_cc[VDISCARD] = Every line in this is buggy. Setting flags other than the POSIX ones gives undefined behaviour. In practice, it may clear CRTSCTS. -1 should be _POSIX_VDISABLE. It works because (cc_t)-1 happens to equal _POSIX_VDISABLE under FreeBSD. Bruce From owner-freebsd-bugs Wed Sep 11 12:30:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA23650 for bugs-outgoing; Wed, 11 Sep 1996 12:30:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA23643; Wed, 11 Sep 1996 12:30:03 -0700 (PDT) Resent-Date: Wed, 11 Sep 1996 12:30:03 -0700 (PDT) Resent-Message-Id: <199609111930.MAA23643@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jdrobina@infinet.com Received: from drobina.my.domain (cmh-p092.infinet.com [206.103.242.98]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA23397 for ; Wed, 11 Sep 1996 12:23:55 -0700 (PDT) Received: (from jdrobina@localhost) by drobina.my.domain (8.7.5/8.6.12) id PAA00692; Wed, 11 Sep 1996 15:24:03 -0400 (EDT) Message-Id: <199609111924.PAA00692@drobina.my.domain> Date: Wed, 11 Sep 1996 15:24:03 -0400 (EDT) From: jdrobina@infinet.com Reply-To: jdrobina@infinet.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1599: panic: locking against myself Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1599 >Category: kern >Synopsis: panic: locking against myself >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 11 12:30:02 PDT 1996 >Last-Modified: >Originator: James Drobina >Organization: None >Release: FreeBSD 2.2-CURRENT i386 >Environment: I have a 90MZ Pentium and a Buslogic 445s SCSI card. Here is the output ftom dmesg: FreeBSD 2.2-CURRENT #2: Wed Sep 11 06:32:55 EDT 1996 jdrobina@drobina.my.domain:/home/system/sys/compile/drobina Calibrating clock(s) relative to mc146818A clock... i586 clock: 90039523 Hz, i8254 clock: 1193273 Hz CPU: Pentium (90.03-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x524 Stepping=4 Features=0x1bf real memory = 50331648 (49152K bytes) avail memory = 46473216 (45384K bytes) Probing for devices on PCI bus 0: chip0 rev 1 on pci0:16 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2: disabled, not probed. sio3: disabled, not probed. lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface pca0 on motherboard pca0: PC speaker audio driver fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.44MB 3.5in fd1: 1.2MB 5.25in bt0: Bt445S/ 0-(32bit) bus bt0: Your card cannot DMA above 16MB boundary. Bounce buffering enabled. bt0: reading board settings, busmastering, int=12 bt0: version 3.37, fast sync, parity, 32 mbxs, 32 ccbs bt0: targ 0 sync rate=10.00MB/s(100ns), offset=15 bt0: targ 1 async bt0: targ 2 sync rate=10.00MB/s(100ns), offset=15 bt0: targ 3 sync rate=10.00MB/s(100ns), offset=08 bt0: Using Strict Round robin scheme bt0 at 0x330 irq 12 on isa bt0 waiting for scsi devices to settle (bt0:0:0): "MICROP 2217-15MQ1001901 HQ30" type 0 fixed SCSI 2 sd0(bt0:0:0): Direct-Access 1685MB (3450902 512 byte sectors) (bt0:1:0): "ARCHIVE VIPER 150 21247 -011" type 1 removable SCSI 1 st0(bt0:1:0): Sequential-Access density code 0x0, drive empty (bt0:2:0): "IBM DORS-32160 S82C" type 0 fixed SCSI 2 sd1(bt0:2:0): Direct-Access 2063MB (4226725 512 byte sectors) (bt0:3:0): "TEAC CD-ROM CD-56S 1.0A" type 5 removable SCSI 2 cd0(bt0:3:0): CD-ROM cd present [326402 x 2048 byte records] npx0 on motherboard npx0: INT 16 interface pas0 at 0x388 irq 5 drq 3 on isa pas0: >Description: My system would reboot while I was grepping some source code on cdrom. I could't find and error messages anywhere. I re-ran what I thought would trigger the problem from the console. These messages were printed on the console: panic: locking against myself syncing disks... >How-To-Repeat: (After system reboot.) 1. login. 2. mount /cdrom 3. cd /cdrom/usr/include 4. fgrep xx *.h The error is repeatable. I was able to repeat it three times. My system seemed to panic at the same place each time. (The cdrom was the FreeBSD 2.1 live file system.) >Fix: Unknown >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Sep 11 15:43:33 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA09357 for bugs-outgoing; Wed, 11 Sep 1996 15:43:33 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA09331; Wed, 11 Sep 1996 15:43:28 -0700 (PDT) Date: Wed, 11 Sep 1996 15:43:28 -0700 (PDT) From: Peter Wemm Message-Id: <199609112243.PAA09331@freefall.freebsd.org> To: csn.net@rick.systemsix.com, peter, freebsd-bugs Subject: Re: kern/1591 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: i386/i386/mpcore.s stores _mpfps at incorrect address State-Changed-From-To: open-closed State-Changed-By: peter State-Changed-When: Wed Sep 11 15:42:37 PDT 1996 State-Changed-Why: Suggested fix applied, thanks! From owner-freebsd-bugs Wed Sep 11 15:44:18 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA09545 for bugs-outgoing; Wed, 11 Sep 1996 15:44:18 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA09522; Wed, 11 Sep 1996 15:44:16 -0700 (PDT) Date: Wed, 11 Sep 1996 15:44:16 -0700 (PDT) From: Peter Wemm Message-Id: <199609112244.PAA09522@freefall.freebsd.org> To: smp@csn.net, peter, freebsd-bugs Subject: Re: kern/1592 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: kernel incorrectly reads CPU # from APIC ID register State-Changed-From-To: open-closed State-Changed-By: peter State-Changed-When: Wed Sep 11 15:43:40 PDT 1996 State-Changed-Why: Suggested fix applied (with tweaks :-), thanks! From owner-freebsd-bugs Wed Sep 11 15:44:57 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA09717 for bugs-outgoing; Wed, 11 Sep 1996 15:44:57 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA09694; Wed, 11 Sep 1996 15:44:54 -0700 (PDT) Date: Wed, 11 Sep 1996 15:44:54 -0700 (PDT) From: Peter Wemm Message-Id: <199609112244.PAA09694@freefall.freebsd.org> To: smp@csn.net, peter, freebsd-bugs Subject: Re: kern/1593 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: i386/i386/locore.s contains useless line State-Changed-From-To: open-closed State-Changed-By: peter State-Changed-When: Wed Sep 11 15:44:24 PDT 1996 State-Changed-Why: Suggested fix applied, thanks! From owner-freebsd-bugs Wed Sep 11 15:46:36 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA09937 for bugs-outgoing; Wed, 11 Sep 1996 15:46:36 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA09920; Wed, 11 Sep 1996 15:46:34 -0700 (PDT) Date: Wed, 11 Sep 1996 15:46:34 -0700 (PDT) From: Peter Wemm Message-Id: <199609112246.PAA09920@freefall.freebsd.org> To: peter, freebsd-bugs, peter Subject: Re: kern/1594 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: apic_startup() needs work Responsible-Changed-From-To: freebsd-bugs->peter Responsible-Changed-By: peter Responsible-Changed-When: Wed Sep 11 15:45:01 PDT 1996 Responsible-Changed-Why: I'm fighting with this at the moment too.. From owner-freebsd-bugs Wed Sep 11 17:50:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA18293 for bugs-outgoing; Wed, 11 Sep 1996 17:50:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA18285; Wed, 11 Sep 1996 17:50:02 -0700 (PDT) Resent-Date: Wed, 11 Sep 1996 17:50:02 -0700 (PDT) Resent-Message-Id: <199609120050.RAA18285@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jmb Received: (from jmb@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA18124; Wed, 11 Sep 1996 17:47:13 -0700 (PDT) Message-Id: <199609120047.RAA18124@freefall.freebsd.org> Date: Wed, 11 Sep 1996 17:47:13 -0700 (PDT) From: "Jonathan M. Bresler" Reply-To: jmb To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1600: SYN_RCVD bug fix Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1600 >Category: kern >Synopsis: prevent setting of t_timer[TCPT_KEEP] prematurely >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 11 17:50:01 PDT 1996 >Last-Modified: >Originator: Jonathan M. Bresler >Organization: Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG FreeBSD--4.4BSD Unix for PC clones, source included. http://www.freebsd.org/ PGP 2.6.2 Fingerprint: 31 57 41 56 06 C1 40 13 C5 1C E3 E5 DC 62 0E FB >Release: FreeBSD 2.2-CURRENT i386 >Environment: all BSD derived tcp/ip implementations >Description: receipt of two SYN's are sufficient to set the t_timer[TCPT_KEEP] to "keepidle". this should not occur unless the connection has been established via the 3-way handshake which requires an ACK >How-To-Repeat: create code to send SYN's to a port. use tcpdump to view the connection. the server will send keepalive packets back to the client for approximately 11 minutes until TCP_MAXRXTSHIFT is exceeded >Fix: apply this patch: Index: tcp_input.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/tcp_input.c,v retrieving revision 1.46 diff -c -2 -r1.46 tcp_input.c *** tcp_input.c 1996/05/02 05:54:12 1.46 --- tcp_input.c 1996/09/12 00:32:50 *************** *** 451,455 **** */ tp->t_idle = 0; ! tp->t_timer[TCPT_KEEP] = tcp_keepidle; /* --- 451,456 ---- */ tp->t_idle = 0; ! if (TCPS_HAVEESTABLISHED(tp->t_state)) ! tp->t_timer[TCPT_KEEP] = tcp_keepidle; /* *************** *** 833,839 **** tp->t_flags &= ~TF_NEEDFIN; tiflags &= ~TH_SYN; ! } else tp->t_state = TCPS_ESTABLISHED; ! } else { /* --- 834,841 ---- tp->t_flags &= ~TF_NEEDFIN; tiflags &= ~TH_SYN; ! } else { tp->t_state = TCPS_ESTABLISHED; ! tp->t_timer[TCPT_KEEP] = tcp_keepidle; ! } } else { /* *************** *** 860,865 **** tp->t_state = TCPS_FIN_WAIT_1; tp->t_flags &= ~TF_NEEDFIN; ! } else tp->t_state = TCPS_ESTABLISHED; tp->t_flags |= TF_NEEDSYN; } else --- 862,869 ---- tp->t_state = TCPS_FIN_WAIT_1; tp->t_flags &= ~TF_NEEDFIN; ! } else { tp->t_state = TCPS_ESTABLISHED; + tp->t_timer[TCPT_KEEP] = tcp_keepidle; + } tp->t_flags |= TF_NEEDSYN; } else *************** *** 1184,1189 **** tp->t_state = TCPS_FIN_WAIT_1; tp->t_flags &= ~TF_NEEDFIN; ! } else tp->t_state = TCPS_ESTABLISHED; /* * If segment contains data or ACK, will call tcp_reass() --- 1188,1195 ---- tp->t_state = TCPS_FIN_WAIT_1; tp->t_flags &= ~TF_NEEDFIN; ! } else { tp->t_state = TCPS_ESTABLISHED; + tp->t_timer[TCPT_KEEP] = tcp_keepidle; + } /* * If segment contains data or ACK, will call tcp_reass() >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Sep 12 04:17:27 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA00944 for bugs-outgoing; Thu, 12 Sep 1996 04:17:27 -0700 (PDT) Received: (from asami@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA00921; Thu, 12 Sep 1996 04:17:15 -0700 (PDT) Date: Thu, 12 Sep 1996 04:17:15 -0700 (PDT) From: Satoshi Asami Message-Id: <199609121117.EAA00921@freefall.freebsd.org> To: asami, gnats-admin, freebsd-bugs Subject: Re: ports/1601 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: no previous port of su2 existed in source tree :) Responsible-Changed-From-To: gnats-admin->freebsd-bugs Responsible-Changed-By: asami Responsible-Changed-When: Thu Sep 12 04:16:13 PDT 1996 Responsible-Changed-Why: Since gnats doesn't like "freebsd-ports", file it to "freebsd-bugs" for now. From owner-freebsd-bugs Thu Sep 12 05:10:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA02795 for bugs-outgoing; Thu, 12 Sep 1996 05:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA02789; Thu, 12 Sep 1996 05:10:02 -0700 (PDT) Resent-Date: Thu, 12 Sep 1996 05:10:02 -0700 (PDT) Resent-Message-Id: <199609121210.FAA02789@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, xaa@alterego.stack.urc.tue.nl Received: from terra.stack.urc.tue.nl (terra.stack.urc.tue.nl [131.155.140.128]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA02658 for ; Thu, 12 Sep 1996 05:04:24 -0700 (PDT) Received: from alterego.stack.urc.tue.nl (alterego.stack.urc.tue.nl [131.155.141.160]) by terra.stack.urc.tue.nl (8.7.5) with ESMTP id OAA26277 for ; Thu, 12 Sep 1996 14:04:21 +0200 (MET DST) Received: (from xaa@localhost) by alterego.stack.urc.tue.nl (8.7.5/8.6.12) id OAA26392; Thu, 12 Sep 1996 14:04:00 +0200 (MET DST) Message-Id: <199609121204.OAA26392@alterego.stack.urc.tue.nl> Date: Thu, 12 Sep 1996 14:04:00 +0200 (MET DST) From: xaa@stack.urc.tue.nl Reply-To: xaa@alterego.stack.urc.tue.nl To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/1602: man terminfo refers to /usr/lib/terminfo/* Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1602 >Category: docs >Synopsis: /usr/lib/terminfo refered to in man terminfo, does not exist >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 12 05:10:01 PDT 1996 >Last-Modified: >Originator: Mark Huizer >Organization: Stack >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD Current >Description: in manpage of terminfo as synopsis /usr/lib/terminfo is mentioned, but it does not exist >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Sep 12 08:32:49 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA11187 for bugs-outgoing; Thu, 12 Sep 1996 08:32:49 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA11131; Thu, 12 Sep 1996 08:31:26 -0700 (PDT) Resent-Date: Thu, 12 Sep 1996 08:31:26 -0700 (PDT) Resent-Message-Id: <199609121531.IAA11131@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, anant@auggie.augment-systems.com Received: from auggie.augment-systems.com (augment.ma.ultranet.com [146.115.238.213]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA10436 for ; Thu, 12 Sep 1996 08:19:43 -0700 (PDT) Received: (from anant@localhost) by auggie.augment-systems.com (8.6.12/8.6.12) id LAA29156; Thu, 12 Sep 1996 11:22:31 -0400 Message-Id: <199609121522.LAA29156@auggie.augment-systems.com> Date: Thu, 12 Sep 1996 11:22:31 -0400 From: Anant Kabra Reply-To: anant@auggie.augment-systems.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/1604: Test problem report Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1604 >Category: gnu >Synopsis: Test problem report >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 12 08:30:02 PDT 1996 >Last-Modified: >Originator: Anant Kabra >Organization: Augment Systems >Release: FreeBSD 2.1-STABLE i386 >Environment: Unix >Description: This is just a test report to see what happens if things go on >How-To-Repeat: Just send another test report and it will happen >Fix: Do not send any more test reports >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Sep 12 08:40:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA11365 for bugs-outgoing; Thu, 12 Sep 1996 08:40:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA11358; Thu, 12 Sep 1996 08:40:04 -0700 (PDT) Resent-Date: Thu, 12 Sep 1996 08:40:04 -0700 (PDT) Resent-Message-Id: <199609121540.IAA11358@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, anant@auggie.augment-systems.com Received: from auggie.augment-systems.com (augment.ma.ultranet.com [146.115.238.213]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA11117 for ; Thu, 12 Sep 1996 08:30:26 -0700 (PDT) Received: (from anant@localhost) by auggie.augment-systems.com (8.6.12/8.6.12) id LAA29367; Thu, 12 Sep 1996 11:33:14 -0400 Message-Id: <199609121533.LAA29367@auggie.augment-systems.com> Date: Thu, 12 Sep 1996 11:33:14 -0400 From: Anant Kabra Reply-To: anant@auggie.augment-systems.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/1605: Test Problem Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1605 >Category: gnu >Synopsis: Test Problem >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 12 08:40:02 PDT 1996 >Last-Modified: >Originator: Anant Kabra >Organization: Augment Systems >Release: FreeBSD 2.1-STABLE i386 >Environment: Unix >Description: Test bug. >How-To-Repeat: Send another test bug >Fix: Do not send any more test bugs >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Sep 12 16:10:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA10696 for bugs-outgoing; Thu, 12 Sep 1996 16:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA10690; Thu, 12 Sep 1996 16:10:02 -0700 (PDT) Date: Thu, 12 Sep 1996 16:10:02 -0700 (PDT) Message-Id: <199609122310.QAA10690@freefall.freebsd.org> To: freebsd-bugs Cc: From: Wolfram Schneider Subject: gnu/1575: Extra text from apropos (man -k) Reply-To: Wolfram Schneider Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR gnu/1575; it has been noted by GNATS. From: Wolfram Schneider To: "Stephen J. Roznowski" Cc: FreeBSD-gnats-submit@freebsd.org Subject: gnu/1575: Extra text from apropos (man -k) Date: Thu, 12 Sep 1996 21:10:14 +0200 Stephen J. Roznowski writes: > Executing "man -k xyz" generates the following: > > xyz: nothing appropriate > Error executing formatting or display command. > system command exited with status 256 > > Everything after the first line appears extraneous. This is a side effect of last apropos(1) changes. Now apropos(1) exit status is 0 if matches where found and 1 if no matches were found. The exit status 1 of apropos command confuse man(1). -- Wolfram Schneider From owner-freebsd-bugs Thu Sep 12 22:20:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA27491 for bugs-outgoing; Thu, 12 Sep 1996 22:20:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA27445; Thu, 12 Sep 1996 22:20:03 -0700 (PDT) Resent-Date: Thu, 12 Sep 1996 22:20:03 -0700 (PDT) Resent-Message-Id: <199609130520.WAA27445@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, assar@sics.se Received: from assaris2.sics.se ([193.10.66.111]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA23386 for ; Thu, 12 Sep 1996 22:11:08 -0700 (PDT) Received: (from root@localhost) by assaris2.sics.se (8.7.5/8.7.3) id HAA00716; Fri, 13 Sep 1996 07:11:01 +0200 (MET DST) Message-Id: <199609130511.HAA00716@assaris2.sics.se> Date: Fri, 13 Sep 1996 07:11:01 +0200 (MET DST) From: assar@sics.se Reply-To: assar@sics.se To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1607: unmount fails for a NFS fs mounted without -P from a server that requires reserved ports Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1607 >Category: bin >Synopsis: unmount fails for a NFS fs mounted without -P from a server that requires reserved ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 12 22:20:02 PDT 1996 >Last-Modified: >Originator: Assar Westerlund >Organization: >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: >Description: When trying to unmount a NFS-filesystem mounted from a server that requires reserved ports but without the -P option, unmount fails. >How-To-Repeat: bash# mount foo:/fs /mnt bash# umount /mnt umount: foo:/fs: No such file or directory Where foo is a NFS-server requiring reserved ports and /fs a file system on that server that you are allowed to mount. >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Sep 12 23:30:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA23920 for bugs-outgoing; Thu, 12 Sep 1996 23:30:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA23913; Thu, 12 Sep 1996 23:30:02 -0700 (PDT) Date: Thu, 12 Sep 1996 23:30:02 -0700 (PDT) Message-Id: <199609130630.XAA23913@freefall.freebsd.org> To: freebsd-bugs Cc: From: Thomas Gellekum Subject: Re: bin/1607: unmount fails for a NFS fs mounted without -P from a server that requires reserved ports Reply-To: Thomas Gellekum Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1607; it has been noted by GNATS. From: Thomas Gellekum To: assar@sics.se Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/1607: unmount fails for a NFS fs mounted without -P from a server that requires reserved ports Date: Fri, 13 Sep 1996 08:23:23 +0200 (MET DST) assar@sics.se wrote: > > >Description: > > When trying to unmount a NFS-filesystem mounted from a server that > requires reserved ports but without the -P option, unmount fails. > > > > >How-To-Repeat: > > bash# mount foo:/fs /mnt > bash# umount /mnt > umount: foo:/fs: No such file or directory Try `umount foo:/fs'; I think that works. Don't ask me why, though. tg From owner-freebsd-bugs Thu Sep 12 23:40:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA24978 for bugs-outgoing; Thu, 12 Sep 1996 23:40:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA24949; Thu, 12 Sep 1996 23:40:02 -0700 (PDT) Date: Thu, 12 Sep 1996 23:40:02 -0700 (PDT) Message-Id: <199609130640.XAA24949@freefall.freebsd.org> To: freebsd-bugs Cc: From: Assar Subject: Re: bin/1607: unmount fails for a NFS fs mounted without -P from a server that requires reserved ports Reply-To: Assar Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1607; it has been noted by GNATS. From: Assar To: Thomas Gellekum Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/1607: unmount fails for a NFS fs mounted without -P from a server that requires reserved ports Date: 13 Sep 1996 08:35:34 +0200 Thomas Gellekum writes: > assar@sics.se wrote: > > > > >Description: > > > > When trying to unmount a NFS-filesystem mounted from a server that > > requires reserved ports but without the -P option, unmount fails. > > > > > > > > >How-To-Repeat: > > > > bash# mount foo:/fs /mnt > > bash# umount /mnt > > umount: foo:/fs: No such file or directory > > Try `umount foo:/fs'; I think that works. Don't ask me why, though. From reading the code it does more of less: if(stat(name, ) < 0) try to find the other half of (device, mounted_on) with getmnttab unmount() stat for /mnt fails with EACCES, so you find do unmount(`foo:/fs') which fails. With your suggestion, stat still fails and you do unmount(`/mnt'), with is the right thing! I'm still not sure how to fix it. /assar From owner-freebsd-bugs Fri Sep 13 13:50:46 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA16352 for bugs-outgoing; Fri, 13 Sep 1996 13:50:46 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA16323; Fri, 13 Sep 1996 13:50:38 -0700 (PDT) Date: Fri, 13 Sep 1996 13:50:38 -0700 (PDT) From: Paul Traina Message-Id: <199609132050.NAA16323@freefall.freebsd.org> To: anant@auggie.augment-systems.com, pst, freebsd-bugs Subject: Re: gnu/1604 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Test problem report State-Changed-From-To: open-closed State-Changed-By: pst State-Changed-When: Fri Sep 13 13:50:08 PDT 1996 State-Changed-Why: Bogus. From owner-freebsd-bugs Fri Sep 13 13:51:21 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA16500 for bugs-outgoing; Fri, 13 Sep 1996 13:51:21 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA16482; Fri, 13 Sep 1996 13:51:17 -0700 (PDT) Date: Fri, 13 Sep 1996 13:51:17 -0700 (PDT) From: Paul Traina Message-Id: <199609132051.NAA16482@freefall.freebsd.org> To: anant@auggie.augment-systems.com, pst, freebsd-bugs Subject: Re: gnu/1605 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Test Problem State-Changed-From-To: open-closed State-Changed-By: pst State-Changed-When: Fri Sep 13 13:50:49 PDT 1996 State-Changed-Why: Bogus. From owner-freebsd-bugs Fri Sep 13 14:00:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA17026 for bugs-outgoing; Fri, 13 Sep 1996 14:00:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA17018; Fri, 13 Sep 1996 14:00:03 -0700 (PDT) Resent-Date: Fri, 13 Sep 1996 14:00:03 -0700 (PDT) Resent-Message-Id: <199609132100.OAA17018@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, pst Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA16785; Fri, 13 Sep 1996 13:54:17 -0700 (PDT) Message-Id: <199609132054.NAA16785@freefall.freebsd.org> Date: Fri, 13 Sep 1996 13:54:17 -0700 (PDT) From: Paul Traina Reply-To: pst To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/1608: FreeBSD's bug tracking system does not respect confidential Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1608 >Category: conf >Synopsis: FreeBSD's bug tracking system does not respect confidential >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: support >Submitter-Id: current-users >Arrival-Date: Fri Sep 13 14:00:01 PDT 1996 >Last-Modified: >Originator: Paul Traina >Organization: Juniper Networks, Inc. >Release: FreeBSD 2.1-STABLE i386 >Environment: This is local to the setup of FreeBSD.org's bug-tracking system. >Description: gnu/1604 and gnu/1605 were sent in with the confidential flag set, yet they still appeared in the freebsd-bugs mailing list. This is a MAJOR mistake. >How-To-Repeat: Send in a confidential bug report. >Fix: Fix the mailing list/gnats interface on freefall. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Sep 13 15:20:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA22238 for bugs-outgoing; Fri, 13 Sep 1996 15:20:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA22198; Fri, 13 Sep 1996 15:20:02 -0700 (PDT) Date: Fri, 13 Sep 1996 15:20:02 -0700 (PDT) Message-Id: <199609132220.PAA22198@freefall.freebsd.org> To: freebsd-bugs Cc: From: Peter Wemm Subject: Re: conf/1608: FreeBSD's bug tracking system does not respect confidential Reply-To: Peter Wemm Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR conf/1608; it has been noted by GNATS. From: Peter Wemm To: pst@freefall.freebsd.org Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: conf/1608: FreeBSD's bug tracking system does not respect confidential Date: Sat, 14 Sep 1996 06:09:52 +0800 Paul Traina wrote: > >Description: > > gnu/1604 and gnu/1605 were sent in with the confidential flag set, yet > they still appeared in the freebsd-bugs mailing list. This is a MAJOR > mistake. Well, since the summaries of outstanding PR's are also sent to the list, we don't have much use for the 'confidential' header. What are we supposed to do? Look at the PR numbers when they arrive from the mailing list and notice that one of them was skipped, and go and see what happened to it? IMHO, unless we find somebody to filter them by hand, we should delete the confidential: header from the skeleton entirely and make the incoming filter refuse them, giving instructions on the correct place to send security problems and contact addresses for keepers of major parts of the system if it's really essential that it not go out on the mailing lists. Remember, the gnats database is also going out via ctm to the public. Cheers, -Peter From owner-freebsd-bugs Fri Sep 13 16:39:58 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA26640 for bugs-outgoing; Fri, 13 Sep 1996 16:39:58 -0700 (PDT) Received: from red.jnx.com ([208.197.169.254]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA26632 for ; Fri, 13 Sep 1996 16:39:56 -0700 (PDT) Received: from base.jnx.com (base.jnx.com [208.197.169.238]) by red.jnx.com (8.7.5/8.7.3) with ESMTP id QAA08821; Fri, 13 Sep 1996 16:39:25 -0700 (PDT) Received: (from pst@localhost) by base.jnx.com (8.7.5/8.7.3) id QAA01913; Fri, 13 Sep 1996 16:39:24 -0700 (PDT) To: Peter Wemm cc: freebsd-bugs@freebsd.org Subject: Re: conf/1608: FreeBSD's bug tracking system does not respect confidential References: <199609132220.PAA22198@freefall.freebsd.org> From: Paul Traina Date: 13 Sep 1996 16:39:24 -0700 In-Reply-To: peter@spinner.DIALix.COM's message of 13 Sep 96 22:20:02 GMT Message-ID: <7yrao6f0ib.fsf@base.jnx.com> Lines: 20 X-Mailer: Gnus v5.2.25/XEmacs 19.14 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk peter@spinner.DIALix.COM (Peter Wemm) writes: > Well, since the summaries of outstanding PR's are also sent to the list, > we don't have much use for the 'confidential' header. What are we > supposed to do? Look at the PR numbers when they arrive from the mailing > list and notice that one of them was skipped, and go and see what happened > to it? Confidential reports should be sent to a small list (read administrator). The summary reports that we generate are supposed to restrict the confidential tag (I sure as hell know I put that in the code), as does the WWW interface. > IMHO, unless we find somebody to filter them by hand, we should delete the > confidential: header from the skeleton entirely and make the incoming > filter refuse them, giving instructions on the correct place to send > security problems and contact addresses for keepers of major parts of the > system if it's really essential that it not go out on the mailing lists. > Remember, the gnats database is also going out via ctm to the public. The gnats database should not be going out via CTM, and as soon as we have remote gnats installed, I suggest killing that distribution method. From owner-freebsd-bugs Sat Sep 14 02:02:31 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA25122 for bugs-outgoing; Sat, 14 Sep 1996 02:02:31 -0700 (PDT) Received: (from roberto@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA25105; Sat, 14 Sep 1996 02:02:29 -0700 (PDT) Date: Sat, 14 Sep 1996 02:02:29 -0700 (PDT) From: Ollivier Robert Message-Id: <199609140902.CAA25105@freefall.freebsd.org> To: obrien@Nuxi.cs.ucdavis.edu, roberto, freebsd-bugs Subject: Re: bin/1567 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: /usr/bin/lock cannot lock terminal indefinately State-Changed-From-To: open-closed State-Changed-By: roberto State-Changed-When: Sat Sep 14 02:01:20 PDT 1996 State-Changed-Why: It seems useful to have this flag. Fix applied. From owner-freebsd-bugs Sat Sep 14 02:23:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA27262 for bugs-outgoing; Sat, 14 Sep 1996 02:23:05 -0700 (PDT) Received: (from roberto@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA27238; Sat, 14 Sep 1996 02:23:01 -0700 (PDT) Date: Sat, 14 Sep 1996 02:23:01 -0700 (PDT) From: Ollivier Robert Message-Id: <199609140923.CAA27238@freefall.freebsd.org> To: obrien@Nuxi.cs.ucdavis.edu, roberto, freebsd-bugs Subject: Re: ports/1476 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: new port -- lsof State-Changed-From-To: analyzed-closed State-Changed-By: roberto State-Changed-When: Sat Sep 14 02:21:40 PDT 1996 State-Changed-Why: Got the lsof-3.75-portball.tgz file from freefall's incoming and tested it. A very useful ports, thanks David. From owner-freebsd-bugs Sat Sep 14 04:30:24 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA04686 for bugs-outgoing; Sat, 14 Sep 1996 04:30:24 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA04659 for freebsd-bugs; Sat, 14 Sep 1996 04:30:22 -0700 (PDT) Date: Sat, 14 Sep 1996 04:30:22 -0700 (PDT) From: GNU GNATS Message-Id: <199609141130.EAA04659@freefall.freebsd.org> To: freebsd-bugs Subject: List of open Problem Reports Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This is the list of currently open problem reports [1994/11/30] kern/34 nullfs and union mounts can result in wild pointer r [1995/01/10] bin/104 pax -rwl may corrupt filesystem [1995/01/14] bin/115 systat iostat display doesn't scale high enough [1995/01/14] bin/129 fsck cannot take a mount point as an argument [1995/01/15] bin/146 version of compress is kinda old and slow [1995/01/21] bin/174 Poor error message from stty [1995/01/22] kern/176 EIDRM not defined in errno.h [1995/01/24] gnu/183 can't resolve "operator <<" overload [1995/01/24] bin/184 send-pr says "Aborting ..." and happily removes the [1995/01/30] bin/198 1.1.5.1 pine binary loops; top shows fancy values [1995/02/14] kern/216 /kernel: panic: ffs_alloccg: map corrupted [1995/03/02] misc/229 acos() core dump [1995/03/28] kern/281 Messages printed when checking CD ROM device too ver [1995/03/28] kern/282 buslogic adapter information WAY too verbose [1995/04/01] kern/291 PCI devices still probe/attach after being disabled [1995/04/20] kern/353 xcdplayer crashes machine (with NCR810 SCSI) [1995/04/20] misc/355 policy on /usr/local permission in base release [1995/05/08] bin/389 Simultaneous creation/deletion of dirs corrupts file [1995/05/12] bin/398 VI doesnt do the correct thing [1995/05/13] bin/401 Add REMOTE_* variables [1995/05/14] kern/405 The gpio driver does not work with the AT-GPIB, only [1995/05/15] misc/423 Sound devices are too insecure [1995/05/16] kern/425 arp entries not getting removed when interface chang [1995/05/23] i386/440 want vidcontrol option to apply settings to all sysc [1995/05/26] kern/446 unable to diskless-boot a PC when the server mounts [1995/06/14] bin/514 Crash recovery impossible without static mt/chflags. [1995/06/15] bin/517 Bad group change with 'install' [1995/06/15] bin/519 execution of quotacheck from /etc/rc fails [1995/06/17] kern/528 slow 386 reports excessive interrupt-level buffer ov [1995/06/26] kern/565 slip freezes machine [1995/07/02] kern/579 sio: RS_IBUFSIZE at 256 bytes serial lines loose dat [1995/07/04] kern/587 if_le hangs on OACTIVE with 2k buffer [1995/07/04] kern/588 Configuration of DEC ethernet cards not possible [1995/07/05] bin/591 SPAP request REJexted in stead of NAKed [1995/07/09] misc/605 NIS: get*bynis routine problems [1995/07/29] kern/638 Transmitted packets not passed to bpf in if_le.c [1995/08/01] docs/646 vmstat man page out of date [1995/08/01] bin/648 printf format conversion incorrect (duplicate) [1995/08/02] gnu/650 Current flex is outdated [1995/08/03] kern/652 Multiple addresses on one interface interacts badly [1995/08/05] gnu/655 ld -r of shared objects worked in 1.1.5, not in 2.0. [1995/08/07] bin/658 ifconfig alias has to be separately given [1995/08/07] bin/661 Hercules is not capable of having a ISO-Latin1 Scree [1995/08/11] gnu/672 Nor all ph headers get created [1995/08/11] ports/673 /bin/sh + inn1.4 innwatch going belly up [1995/08/11] bin/675 make does unnecessary rebuilds [1995/08/12] kern/677 X gets a bus error when calling mmap() [1995/08/13] bin/680 2.0.5's tip using termios doesn't act the way it did [1995/08/14] kern/688 Page fault: supervisor write, page not present [1995/08/15] i386/692 My modem is not found if my external cache is disabl [1995/08/18] kern/700 The comments in /sys/net/if.h are confusing [1995/08/21] kern/703 ppp not always deleting route properly when a ppp li [1995/08/22] bin/706 increased root DNS traffic and long latencies for r- [1995/08/29] bin/715 ls gives weird tabular form [1995/08/31] bin/716 W returns wrong results at login [1995/09/23] docs/735 missing description for mount options in fstab(5) ma [1995/09/25] gnu/737 FreeBSD-current/src/gnu/usr.bin/gzip/Makefile [1995/09/26] bin/739 Some problems when an output filter reads all input [1995/09/26] kern/742 syslog errors accessing Mac hard disks [patch] [1995/09/27] bin/743 vi cannot edit a file where the name starts with + [1995/09/27] kern/745 occasional filesystem inconsistencies, and "panic: f [1995/09/27] bin/747 date(1) gives weird time zones and interprets GMT[+- [1995/09/27] kern/750 cd9660 confused by not-ready or I/O errors FDIV030 [1995/09/28] kern/752 setting multiple addresses for a single interfaces l [1995/09/28] kern/753 my archive scsi tape drive does not work [1995/09/28] docs/754 there is no man page for the psm(4) mouse driver [1995/10/03] kern/765 umount -f can`t umount a NFS filesystem in use [1995/10/05] misc/767 Configure-time does time-warp on non-UTC CMOS - FDIV [1995/10/09] kern/774 dump fails with "slave couldn't reopen disk: Device [1995/10/11] bin/777 patch doesn't realize stdin is closed and asks quest [1995/10/12] bin/778 tar complains "EOF not on block boundary" on a good [1995/10/14] kern/781 OPEN_MAX in kernel config and FD_SETSIZE in /usr/inc [1995/10/18] bin/786 Problem with NIS and large group maps [1995/10/25] kern/792 cd9660 very slow. [1995/10/25] kern/793 ep0 cannot be configured and more. [1995/10/29] docs/801 rlogind k, v, and x options are not documented [1995/10/31] bin/803 bsd m4 chokes and dies while FSF m4 works... [1995/11/11] bin/815 mountd reports unknown hosts with non-informative me [1995/11/12] kern/820 scsi tape problems [1995/11/13] kern/821 Config doesn't properly trap signals [1995/11/16] bin/826 tcpmux listener in inetd does not work [1995/11/20] kern/831 one minor complaint about the kernel visual config c [1995/11/22] kern/835 ed panics with SMC ultra with iomem, if no iomem in [1995/11/25] bin/839 by default, use of "at" is overly restricted [1995/11/27] bin/841 stale nfs mounts cannot be umounted [1995/11/28] misc/848 Inst gripes about geometry but won't accept true val [1995/11/28] bin/850 dump treats write-protect as an EOT & spoils set FDI [1995/11/29] bin/852 Sendmail is loosing mail (apparently)! [1995/11/30] bin/854 swapinfo shows incorrect information for vnconfig'd [1995/11/30] ports/857 Need ANSI_C define to not declare some functions [1995/12/01] bin/859 /bin/sh -c does not ignore SIGINT [1995/12/02] kern/860 visual mode in kernel -c is too restrictive [1995/12/03] kern/861 sb16 support in 2.1 is erratic and has cosmetic defe [1995/12/03] kern/863 panic on kernel page fault, NULL curproc [1995/12/06] ports/869 xcdplayer installs itself is /usr/X11R6, not /usr/lo [1995/12/06] ports/871 port.subdir.mk DEBUG_FLAGS is not used for CFLAGS [1995/12/08] kern/876 NFS allows bogus accesses to cached data [1995/12/17] kern/900 ext2fs triggers divide by zero trap in vnode_pager_h [1995/12/20] i386/906 /sys/i386/boot/netboot/nb8390.com cannot recognize N [1995/12/25] bin/914 hayes dialer for tip fails 1st attempt to dial [1995/12/29] kern/920 sio output looses chars in fifo on close() [1995/12/29] kern/921 getrusage() returns 0 after system up for a long tim [1995/12/31] kern/924 EISA devices have disappeared from vmstat/systat int [1996/01/01] bin/926 Mounting nfs disks before starting mountd: Chicken o [1996/01/02] kern/927 VGA mode not restored [1996/01/03] kern/930 sio/getty problem? [1996/01/06] kern/932 de0 occasionally enables 100baseTX when plugged into [1996/01/06] misc/934 ppp dies with Bus Error when processing long LOGIN s [1996/01/09] kern/940 panic: free vnode isn't [1996/01/12] misc/942 X11 mono server dumps core on supported video hardwa [1996/01/15] kern/946 divide-by-zero in kernel on bad disk info [1996/01/16] kern/949 panic, undebugable dump? [1996/01/17] kern/951 -current kernel crashes with devfs error on bootup [1996/01/19] kern/956 Kernel page fault, null callp [1996/01/19] bin/958 ttys file does not include all ptys [1996/01/21] bin/961 'more $file', incorrect CRLF compacting. [1996/01/23] ports/968 Netscape & cern_httpd ports out of date/dead links [1996/01/25] kern/971 Default limits for number of processes per user ridi [1996/01/25] conf/972 inetd.conf should comment out k-services if no Kerbe [1996/01/28] kern/975 getrusage returns negative deltas [1996/01/28] kern/976 NCR SCSI driver gives assertion errors and disk beco [1996/01/29] kern/978 Three deadlocks in row [1996/02/01] bin/986 problems make-ing with cd in the rule [1996/02/03] bin/993 g++ complains about /usr/include/machine/cpufunc.h [1996/02/06] kern/998 badness in file system silently crashes machine [1996/02/07] bin/999 /usr/share/mk/sys.mk missing common $(RM) macro [1996/02/07] kern/1001 M_NAMEI malloc leak in the kernel [1996/02/08] kern/1008 Daily crash while writing network backups to local t [1996/02/09] kern/1012 vnode_pager_putpages: attempt to write meta-data!!! [1996/02/10] kern/1016 panic: vm_page_free: freeing free page, sddump: no s [1996/02/10] kern/1017 ssh stopped working between 15th Jan and 9th Feb [1996/02/12] kern/1018 panic: unwire: page not in pmap [1996/02/12] bin/1019 getty cannot detect ppp logins [1996/02/12] kern/1020 Boca 16-port board still hangs [1996/02/12] bin/1021 pppd doesn't handle PAP-only authentication well [1996/02/12] docs/1023 using touch to create swap file for NFS doesn't work [1996/02/14] kern/1026 deadlocks if parent vfork and child has cntrl termin [1996/02/14] bin/1028 shutdown -r does not seem to always complete [1996/02/15] bin/1029 cd behaves erraticly if cwd is a mount-point, which [1996/02/18] kern/1034 Instant panic in -current [1996/02/19] bin/1035 ls to terminal always uses ? for non-printable chars [1996/02/19] docs/1036 List of dead xrefs in man pages [1996/02/19] bin/1037 2.x telnetd handles CTRL-M differently than other tt [1996/02/25] i386/1042 Warning from sio driver reports wrong device FDIV045 [1996/02/26] misc/1043 vm_bounce_alloc error on 2.1 install with 4G drive [1996/02/27] kern/1045 Lockup: b_to_q to a clist with no reserved cblocks [1996/02/27] gnu/1047 send-pr: Aborting... [1996/02/28] i386/1048 ep driver fails to detect card when told specific va [1996/02/28] bin/1050 Process (zip) hangs (unkillable) after floppy error [1996/02/29] kern/1051 zip fails on dos partition [1996/03/02] bin/1056 pppd fails if -detach [1996/03/05] kern/1064 Recursive panic? [1996/03/06] kern/1065 wt could crash reading short blocks [1996/03/08] bin/1068 man ignores -P option when combined with -k [1996/03/08] ports/1069 TkMan acts erroneusly on apropos [1996/03/09] bin/1073 telnet -8 does not work with SunOS or Solaris [1996/03/09] bin/1074 tty rows & columns settings sometimes reset to zero [1996/03/11] conf/1076 'make install' fails for /usr/src/share/examples in [1996/03/15] misc/1079 Can not work about get{host|net]byaddr on NIS. [1996/03/16] kern/1080 Panic @ _get_pt_entry+0x8 [1996/03/16] kern/1081 Fatal double fault [1996/03/17] kern/1087 Device close entry is not called when unmounting UFS [1996/03/18] docs/1089 stat manpage unclear about st_mtime & friends [1996/03/20] kern/1090 iostat displays incorrect sps count [1996/03/20] bin/1093 route's diagnostic is weird [1996/03/21] bin/1095 make's continuation line handling buggy when used wi [1996/03/23] kern/1098 File system corruption (2 cases) [1996/03/26] kern/1102 Differentiation of FreeBSD & Linux ELF binaries [pat [1996/03/28] bin/1105 Bug in find command [1996/03/28] ports/1109 mods to vim-3.0 port [1996/03/30] bin/1111 mail.local will happily deliver mail to a quota'd fi [1996/03/31] misc/1112 Can not work getnetbyaddr on NIS [1996/04/05] kern/1118 panic: setrunqueue encountered when wine fork()'s [1996/04/06] kern/1119 Mounted EXT2FS partition is not cleanly unmounted up [1996/04/06] kern/1121 System crashes on boot up just after the "devfs read [1996/04/07] kern/1122 Kernel (current) does not see all memory [1996/04/11] kern/1134 PPB support is broken for multiple/unknown PPBs. [1996/04/11] kern/1135 starting an extra mountd and then killing it crashes [1996/04/14] bin/1139 uname.1 and uname.c disagree about display ordering [1996/04/14] docs/1141 pcvt(4) references non-existent man page. [1996/04/15] kern/1144 sig{add, del}set and sigismember fns don't check sig [1996/04/15] bin/1145 tftpd should support -s [1996/04/19] docs/1151 intro(3) references libc(3) and plot(3), which do no [1996/04/22] bin/1154 Configure tunN device for ip-over-ip tunnelling [1996/04/23] ports/1155 systat or top display disagreeing information [1996/04/24] kern/1157 SCSI Disk Timeouts (ahc0) [1996/04/28] kern/1160 Panic: bad dir [1996/04/29] kern/1163 2.2-960323-SNAP: fatal trap 12 [1996/04/29] kern/1164 machine locks up [1996/04/30] docs/1165 Printer Text Filter scripts should be in /usr/share/ [1996/04/30] kern/1166 pmap panic (dump available) [1996/05/02] docs/1169 bogus reference to keysu(1) in key(1) and keyinit(1) [1996/05/02] kern/1171 panic: setrunnable after touching long idle windows [1996/05/07] kern/1177 Machine hangs with message "vm_fork: no pte for UPAG [1996/05/08] kern/1180 freeing held page, count=%d [1996/05/09] bin/1181 fsck displays wrong char in "option?" diagnostic [1996/05/09] bin/1182 timed records improper entry in wtmp [1996/05/09] bin/1184 ls + xterm + nvi + columns != 80 + ^Z = mangled list [1996/05/10] misc/1187 pppd dies with a segv [1996/05/11] kern/1190 panic: page fault (wild pointer?) [1996/05/13] ports/1200 pop3 requests may crash client [1996/05/13] kern/1201 FreeBSD SCSI changer driver leaves a bit to be desir [1996/05/13] bin/1202 netgroups in /etc/hosts.equiv stopped working in -st [1996/05/14] kern/1204 umount -f after SCSI reset -> reboot [1996/05/15] bin/1206 /bin/sh + emacs + ^G = ruined terminal [1996/05/16] kern/1208 Rebooting nfs server results "Permission denied" mes [1996/05/16] gnu/1209 send-pr should refuse PR's without subject and synop [1996/05/17] gnu/1210 gcc (v2.6.3) -O and -O2 compile-time bus error [1996/05/18] bin/1212 ppp eventually runs out of file descriptors [1996/05/18] kern/1213 kernel page fault [1996/05/19] kern/1216 Support for i586 clock clibration is not built in [1996/05/19] kern/1217 separating to hardrives to two IDE channels hangs th [1996/05/20] bin/1221 new gcc-2.7.2 gives a LOT of warnings, and a few ERR [1996/05/20] ports/1222 Header files conflict [1996/05/21] kern/1227 vm_page_activate: already active (new vm system) [1996/05/21] kern/1228 probe doesn't find P-n-P modem [1996/05/21] bin/1229 redundant redeclaration of `lseek' [1996/05/21] bin/1230 make ``.for'' loops iterate backwards [1996/05/21] bin/1231 make(1) execution of ``.BEGIN'' does not halt on err [1996/05/22] kern/1236 some #def's in pcvt_conf.h not braketed by #ifndef's [1996/05/23] bin/1237 [1996/05/24] bin/1242 In the "sys/stat.h" file, the S_ISFIFO and S_ISSOCK [1996/05/24] kern/1246 aic-7850 driver sees more cdroms then exists [1996/05/24] misc/1247 Conflicting header files [1996/05/25] docs/1249 incorrect manpages [1996/05/26] i386/1251 aha0 and bt0(eisa) conflicts again. [1996/05/26] kern/1252 Heavy activity on a CD causes panic [1996/05/26] kern/1256 ZNYX 314 mysterously looses packets [1996/05/26] kern/1257 System got blown away by "vm_pageout_scan: page not [1996/05/27] kern/1258 new vm code: freeing held page [1996/05/27] conf/1264 panic with two new Quantum FireBall 1280 [1996/05/27] kern/1269 vm_pageout_scan: page not inactive? (loops, effectiv [1996/05/28] conf/1270 /etc/ttys does not list all valid ptys (breaks scree [1996/05/28] kern/1271 Kernel panic using PLIP in 27/05 current [1996/05/28] docs/1272 document the -o option for f2c [1996/05/28] bin/1273 remote hostname gets corrupted in rshd [1996/05/28] kern/1274 Kernel panics with filesystem error [1996/05/28] bin/1276 pppd hangs serial port - ENOBUFS [1996/05/29] kern/1278 SUN Solaris clients gets host not responding, when w [1996/05/30] docs/1280 locale and collating [1996/05/31] kern/1284 panic: vm_page_free: freeing busy page [1996/05/31] conf/1285 route_multicast and route_loopback lines in /etc/sys [1996/06/01] kern/1286 cluster_read() calls strategy routine without B_READ [1996/06/02] i386/1288 wdgetctlr (wd.c) return incorrect number of cylinder [1996/06/05] kern/1293 Fatal trap 12: page fault while in kernel mode (PPP/ [1996/06/06] misc/1299 National charecter problem in XFree86 [1996/06/07] kern/1301 DEC FDDI/PCI Adapter: halt code = 6 (DMA Error) [1996/06/08] kern/1302 3COM 3c590 can't receive packets [1996/06/09] bin/1305 dc miscomputes remainder [1996/06/10] kern/1307 vm_page_free: freeing busy page [1996/06/10] kern/1308 vm_page_free: wire count > 1 in 960501-SNAP [1996/06/11] kern/1311 Panic: vm_page_free while installing new kernel [1996/06/11] bin/1312 automounter hangs on boot [1996/06/12] bin/1315 ls(1) [1996/06/12] bin/1316 10 tunnel device limit [1996/06/12] conf/1319 muldi3 is not included into kernel's Makefile by con [1996/06/13] bin/1320 dump limits blocksize to 32K [1996/06/14] bin/1322 savecore does not take minfree into account [1996/06/14] kern/1323 960612's psm driver does not see the mouse. 960501 d [1996/06/15] kern/1326 defvs panic: cleaned vnode isn't [1996/06/16] kern/1327 keyboard probe in -current fails, X reboots machine [1996/06/18] i386/1331 changes and bug in ft driver [1996/06/18] bin/1332 changes to amd and possible nfs lkm bug? [1996/06/18] kern/1333 free vnode isn't: another -stable coredump [1996/06/19] misc/1335 /etc/security generates an error with files with spa [1996/06/19] kern/1336 Permission for .. in NFS mounts is somewhat non-intu [1996/06/20] bin/1337 Yacc skeleton parser generates warning with -Wall [1996/06/21] misc/1340 make world fails [1996/06/22] kern/1345 kernel page fault, NULL pointer dereference in exit( [1996/06/25] bin/1350 sed continuation lines in text don't work [1996/06/25] bin/1351 security problem with mv(1) [1996/06/26] conf/1352 Missing files from /usr/share/info [1996/07/01] bin/1361 ruptime and long downtimes [1996/07/03] bin/1364 ps(1) bugs [1996/07/04] bin/1366 make(1) [1996/07/04] i386/1367 reprobe a device that does not exist = panic [1996/07/04] misc/1369 Need SC_MORE_LUS for Emulex MD23 also [1996/07/06] kern/1371 kernel doesn't flush all its buffers when told to ha [1996/07/06] misc/1372 compile time error with cc -ansi and RPC headers [1996/07/06] misc/1373 RPC include lacks prototypes [1996/07/06] docs/1374 the default listed in the newfs -i man page does not [1996/07/07] bin/1375 Extraneous warning from mv(1) [1996/07/07] misc/1376 if_tun.c does not set if_ibytes and if_obytes to zer [1996/07/09] bin/1377 mv(1) retains the setuid bit when it is unable to pr [1996/07/09] gnu/1379 Man command problem, when it writes into symlinked d [1996/07/09] misc/1380 Year 2000 breakage with tm_year [1996/07/13] conf/1382 FreeBSD has minor year 2000 problem in distr /etc/rc [1996/07/14] docs/1383 ppp(8) man page suggests using shell script for logi [1996/07/15] bin/1387 Group file errors cause absolute havoc [1996/07/15] misc/1388 libftpio: some problems with ftpGet() fixed [1996/07/16] misc/1390 feedback from 2.1.5R update over 2.1-stable [1996/07/16] bin/1391 cpio -O ignores umask [1996/07/16] bin/1392 PPP silently fails to work when CTS/RTS isnt availab [1996/07/16] misc/1393 cant bootstrap lex in -current from 2.1 base [1996/07/18] kern/1397 can't send to a pipe [1996/07/18] bin/1398 .OBJDIR modifications to tree broke make reinstall? [1996/07/18] kern/1399 invoking setuid programs over NFS case vnode_pager e [1996/07/19] docs/1402 sh(1) manual [1996/07/19] docs/1404 send-pr manual pages lacks version number [1996/07/19] gnu/1407 ld computes wrong size of common (global data) [1996/07/20] bin/1410 /usr/bin/login is suid, with little requirement for [1996/07/20] bin/1411 vi dumps core when scrolling through files in 'set l [1996/07/21] conf/1412 installscript doesn't allow 2nd ftp site to be chose [1996/07/21] misc/1413 Missing library libgcc.261 [1996/07/21] i386/1414 3c595 ceases to work aftern installation. [1996/07/21] ports/1415 Installing gnats package makes send-pr fail. [1996/07/21] ports/1416 cflow(1) doesn't parse GNU C __attribute__ syntax [1996/07/22] bin/1418 tclsh Makefile does not work [1996/07/23] kern/1420 panic vrele: negative reference count [1996/07/23] kern/1421 Non-bug in sosend() [1996/07/23] ports/1422 make in /usr/ports doens't doesn't notice new versio [1996/07/24] bin/1425 doing :numbers on systat -netstat doesn't repaint cl [1996/07/24] bin/1427 yacc-generated parser generates warnings with -Wall [1996/07/24] misc/1428 ncurses doesn't always display ALTCHARSET correctly [1996/07/25] bin/1429 sh(1) and getopts [1996/07/25] pending/1430 request for a customer id [1996/07/25] pending/1431 request for a customer id [1996/07/25] kern/1432 Rexmit timeout for TCP too short [1996/07/26] pending/1434 request for a customer id [1996/07/28] docs/1437 bsd.doc.mk sees PRINTER and spews [1996/07/29] conf/1441 On re-install, says it didn't touch etc files but di [1996/07/30] ports/1444 There is no port of slnr [1996/08/02] docs/1457 ed(1) man [1996/08/03] bin/1461 Incorrect address binding of Kerberized rlogin [1996/08/03] kern/1462 nfsstat doesn't work if using LKM'ed version of NFS [1996/08/03] bin/1463 make world memory fault in gnu/usr.bin/perl/x2p [1996/08/04] kern/1467 scsi_prevent causing tape problems on close [1996/08/06] bin/1469 it is difficult to run /usr/sbin/ppp from a script [1996/08/07] ports/1470 need more info in the ports structure [1996/08/07] gnu/1471 send-pr needs configurable Reply-To field [1996/08/07] gnu/1472 send-pr could have a configurable Reply-To field [1996/08/07] docs/1474 wrong data on EXB-8505 in handbook [1996/08/08] kern/1478 pci/pcisupport.c does not compile [1996/08/08] bin/1479 libc.so.2.2 [1996/08/09] kern/1480 terminal "cons25" resize problem [1996/08/09] bin/1481 Error in sed branch or label command [1996/08/09] bin/1482 vidcontrol -f fnt-size file-with-wrong-fnt-size [1996/08/09] bin/1485 makeinfo randomly gets aborted by signal 11 [1996/08/09] kern/1487 bug in exec(2) [1996/08/12] bin/1492 perror ("") does not prepend ": " [1996/08/12] docs/1493 incomplete prototypes in man pages for mmap function [1996/08/12] bin/1494 some patches to ijppp [1996/08/14] ports/1495 more tkdesk patches... [1996/08/15] kern/1498 system hangs during inactivity [1996/08/16] kern/1500 times system call returning zero user time. [1996/08/17] kern/1501 vmstat reports impossible avm after starting up X [1996/08/17] bin/1502 vmstat 'avm' field merges with procs 'w' field for l [1996/08/17] ports/1503 new port -- cxterm (updated chinese xterm) [1996/08/17] ports/1504 latex port completely failes [1996/08/17] misc/1505 make world looks for /usr/share/dict/eign [1996/08/17] ports/1506 new port -- celvis (Chinese vi) [1996/08/17] kern/1508 syscons should protect against useless DDB entry [1996/08/17] docs/1509 handbook typo (hw.sgml, scsi.sgml) [1996/08/18] ports/1510 socks 0.16.4 no longer on ftp.net.com [1996/08/18] kern/1512 Use of madvise may may cause bad memory mappings [1996/08/19] kern/1514 mlock fails on readonly regions [1996/08/19] misc/1515 Unable to install 2.1.5 from CD-ROM. [1996/08/20] kern/1516 vm_fault.c contains dead code or too many underscore [1996/08/20] ports/1517 What is InterViews ??!?! [1996/08/20] ports/1518 No man pages in audio/mpegaudio port [1996/08/20] bin/1519 chpass creates an NIS security hole [1996/08/21] ports/1520 sudo dosn't recognise certain passwords and thinks y [1996/08/21] bin/1521 send-pr apparently gets the OS version wrong [1996/08/21] bin/1522 dump | restore of filesystem corrupted files [1996/08/21] bin/1523 "cvs update -d -P" prunes unchecked-in directories [1996/08/21] ports/1524 New port -- xtem-5.18beta [1996/08/21] ports/1525 xvnews-2.3.2 [1996/08/21] ports/1526 xtar-1.4 [1996/08/21] ports/1527 xmaddressbook-1.5.3 [1996/08/21] ports/1528 New port -- imp-0.54.1 [1996/08/21] ports/1529 New port -- bricons-3.0 [1996/08/22] ports/1530 New port of poppassd [1996/08/22] kern/1531 Machine hangs, unable to either fork or exec. [1996/08/22] kern/1533 Machine can be panicked by a userland program. [1996/08/22] i386/1534 Installing from Mitsumi FX001D CD-ROM drive [1996/08/23] misc/1536 WWW query-pr interface sometimes messes up [1996/08/23] ports/1537 new port -- tin 1.3unoff [1996/08/24] misc/1538 enhanced /etc/security script [1996/08/24] ports/1539 Attempts to run Linux elf binaries using libXpm fail [1996/08/25] kern/1540 panic: ufs_unlock NOT LOCKED [1996/08/25] misc/1541 fork.o in libc_r fails to compile [1996/08/26] kern/1543 my load sticks at about 0.8 while not in use. [1996/08/27] bin/1547 ncrcontrol won't work with FAILSAFE kernel [1996/08/27] bin/1548 ncrcontrol -i queries don't work for mere users [1996/08/27] ports/1549 Port submission for gdbtk [1996/08/28] ports/1550 "make install" needs to know how to update /usr/loca [1996/08/29] docs/1551 manpage of zgrep not installed in 2.1.5R [1996/08/29] bin/1552 moused has no manual page (and -s option is broken) [1996/08/29] ports/1553 submittal of cops port [1996/08/30] bin/1554 routed kills default permanently [1996/08/30] kern/1555 nfsd send error 55 [1996/08/30] i386/1556 ATAPI CDROM probes ok, but will not 'mount_cd9660' [1996/08/31] bin/1557 pkg_add's auto dependency get .. doesn't work [1996/08/31] bin/1559 ftpd apparently not recognizing -l or -S parms [1996/08/31] bin/1560 inconsistancy between termcap.h and *curses.h [1996/09/02] misc/1561 Wrong key mapping of five keys in german.iso.kbd [1996/09/02] bin/1563 Curses let letters fall away sometimes [1996/09/02] bin/1564 Install media query gets sig 11 [1996/09/04] bin/1565 Moving a file to it's link completely removes file [1996/09/05] kern/1570 Setting SHMALL > 35000 causes panic [1996/09/05] pending/1572 [1996/09/05] pending/1573 [1996/09/05] kern/1574 Panic: privileged instruction fault [1996/09/05] gnu/1575 Extra text from apropos (man -k) [1996/09/06] ports/1576 patch for ports/print/mltex/Makefile FETCH_CMD [1996/09/06] bin/1577 mail -f foo does not look in current directory of .m [1996/09/07] bin/1578 fsck does not honour 'noauto' fs option [1996/09/07] kern/1579 panic: ufs_unlock NOT LOCKED [1996/09/08] conf/1580 make & /usr/obj is bogus. [1996/09/08] kern/1582 kernel panic often under medium load [1996/09/08] ports/1583 I made ldap-3.3 port [1996/09/08] kern/1584 same file is listed twice [1996/09/08] bin/1585 dumpfs can dump core [1996/09/08] docs/1588 Handbook Incorrect LaTeX/PostScript output [1996/09/08] bin/1589 ftp fails to flush output [1996/09/09] bin/1590 at doesnt parse time correctly [1996/09/09] kern/1594 apic_startup() needs work [1996/09/10] pending/1595 adduser starts to fail [1996/09/10] bin/1597 No support for positional parameters in *printf func [1996/09/11] bin/1598 tip leaves OPOST set on controlling terminal (fd 0) [1996/09/11] kern/1599 panic: locking against myself [1996/09/11] kern/1600 prevent setting of t_timer[TCPT_KEEP] prematurely [1996/09/12] ports/1601 no previous port of su2 existed in source tree :) [1996/09/12] docs/1602 /usr/lib/terminfo refered to in man terminfo, does n [1996/09/12] pending/1603 This is a test problem [1996/09/12] pending/1606 [1996/09/12] bin/1607 unmount fails for a NFS fs mounted without -P from a [1996/09/13] conf/1608 FreeBSD's bug tracking system does not respect confi This is the list of problem reports already analyzed: [1994/12/01] kern/35 mount -t union -o -b : lower layer not seen by shell [1995/01/11] i386/105 Distributed libm (msun) has non-standard error handl [1995/03/20] kern/260 msync and munmap don't bother to update mod times [1995/03/20] docs/264 There are no manual pages for the forms library. [1995/03/22] kern/267 NFS code gives error messages, systems jams for a fe [1995/04/09] bin/326 Weekly cron generates some usage and error messages [1995/05/09] bin/392 Simultaneous cp and ls of files on dos f/s hangs pro [1995/05/27] gnu/450 tar --exclude -c doesn't work [1995/06/17] kern/527 dump causes assertion in ncr.c [1995/06/21] docs/538 MAP_FILE not mentioned in mmap man page. [1995/10/07] bin/771 telnet character mode not set and broken when set - [1995/10/15] kern/782 chmod does a null pointer dereference [1995/10/26] kern/794 swap partition at offset 0 still broken [1995/12/04] i386/867 Notebook with APM and 3C589C in PCMCIA freezes after [1995/12/29] misc/922 From line handling incorrect in mail.local [1996/01/22] kern/965 2.0.5: system crashes daily because of "multiple fre [1996/01/30] bin/981 clnt_broadcast() is not aware of aliases [1996/02/17] bin/1030 /bin/sh does not pass environment variables on prope [1996/03/04] kern/1059 null fs panics system [1996/03/06] kern/1067 panic: ufs_lock: recursive lock not expected, pid: 2 [1996/09/10] bin/1596 routed allows writing to any system file /* EOF -- this list has not been truncated */ From owner-freebsd-bugs Sat Sep 14 04:30:26 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA04715 for bugs-outgoing; Sat, 14 Sep 1996 04:30:26 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA04662 for freebsd-bugs; Sat, 14 Sep 1996 04:30:22 -0700 (PDT) Date: Sat, 14 Sep 1996 04:30:22 -0700 (PDT) From: GNU GNATS Message-Id: <199609141130.EAA04662@freefall.freebsd.org> To: freebsd-bugs Subject: Summary of Problem Reports Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Number of currently open reports: 428 Number of curently analyzed reports: 21 From owner-freebsd-bugs Sat Sep 14 06:30:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA10470 for bugs-outgoing; Sat, 14 Sep 1996 06:30:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA10464; Sat, 14 Sep 1996 06:30:02 -0700 (PDT) Resent-Date: Sat, 14 Sep 1996 06:30:02 -0700 (PDT) Resent-Message-Id: <199609141330.GAA10464@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jdrobina@infinet.com Received: from drobina.my.domain (cmh-p064.infinet.com [206.103.242.68]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA10305 for ; Sat, 14 Sep 1996 06:23:26 -0700 (PDT) Received: (from jdrobina@localhost) by infinet.com (8.7.5/8.6.12) id JAA00412; Sat, 14 Sep 1996 09:23:17 -0400 (EDT) Message-Id: <199609141323.JAA00412@infinet.com> Date: Sat, 14 Sep 1996 09:23:17 -0400 (EDT) From: James Drobina Reply-To: jdrobina@infinet.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1609: page fault while in kenel mode during Linux emulation Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1609 >Category: kern >Synopsis: page fault while in kenel mode during Linux emulation >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 14 06:30:01 PDT 1996 >Last-Modified: >Originator: James Drobina >Organization: None >Release: FreeBSD 2.2-CURRENT i386 >Environment: $ modstat Type Id Off Loadaddr Size Info Rev Module Name EXEC 0 4 f6633000 001c f6639010 1 linux_mod $ ls -l /lkm/linux_mod.o -r-xr-xr-x 1 bin bin 41166 Sep 13 08:59 linux_mod.o $ dmesg FreeBSD 2.2-CURRENT #1: Sat Sep 14 08:43:20 EDT 1996 jdrobina@drobina.my.domain:/home/system/sys/compile/drobina Calibrating clock(s) relative to mc146818A clock... i586 clock: 90038454 Hz, i8254 clock: 1193258 Hz CPU: Pentium (90.03-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x524 Stepping=4 Features=0x1bf real memory = 50331648 (49152K bytes) avail memory = 46497792 (45408K bytes) Probing for devices on PCI bus 0: chip0 rev 1 on pci0:16 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2: disabled, not probed. sio3: disabled, not probed. lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface pca0 on motherboard pca0: PC speaker audio driver fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.44MB 3.5in bt0: Bt445S/ 0-(32bit) bus bt0: Your card cannot DMA above 16MB boundary. Bounce buffering enabled. bt0: reading board settings, busmastering, int=12 bt0: version 3.37, fast sync, parity, 32 mbxs, 32 ccbs bt0: targ 0 sync rate=10.00MB/s(100ns), offset=15 bt0: targ 1 async bt0: targ 2 sync rate=10.00MB/s(100ns), offset=15 bt0: targ 3 sync rate=10.00MB/s(100ns), offset=08 bt0: Using Strict Round robin scheme bt0 at 0x330 irq 12 on isa bt0 waiting for scsi devices to settle (bt0:0:0): "MICROP 2217-15MQ1001901 HQ30" type 0 fixed SCSI 2 sd0(bt0:0:0): Direct-Access 1685MB (3450902 512 byte sectors) (bt0:1:0): "ARCHIVE VIPER 150 21247 -011" type 1 removable SCSI 1 st0(bt0:1:0): Sequential-Access density code 0x0, drive empty (bt0:2:0): "IBM DORS-32160 S82C" type 0 fixed SCSI 2 sd1(bt0:2:0): Direct-Access 2063MB (4226725 512 byte sectors) (bt0:3:0): "TEAC CD-ROM CD-56S 1.0A" type 5 removable SCSI 2 cd0(bt0:3:0): CD-ROM cd0(bt0:3:0): NOT READY asc:3a,0 Medium not present can't get the size npx0 on motherboard npx0: INT 16 interface pas0 at 0x388 irq 5 drq 3 on isa pas0: >Description: My machine would crash whenever I try to execute a Linux binary. For example, $ /compat/linux/usr/bin/ldd usage: [-vVdr] prog Fatal trap 12: page fault while in kernel mode fault virtual address = 0x3e fault code = supervisor read, page not present . . . >How-To-Repeat: Execute any Linux command. $ /compat/linux/usr/bin/ldd >Fix: Unknown >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Sep 14 12:30:02 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA03122 for bugs-outgoing; Sat, 14 Sep 1996 12:30:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA03116; Sat, 14 Sep 1996 12:30:01 -0700 (PDT) Resent-Date: Sat, 14 Sep 1996 12:30:01 -0700 (PDT) Resent-Message-Id: <199609141930.MAA03116@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, dillon@backplane.com Received: from apollo.backplane.com (apollo.backplane.com [204.156.134.254]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA03013 for ; Sat, 14 Sep 1996 12:26:17 -0700 (PDT) Received: (dillon@localhost) by apollo.backplane.com (8.7.5/8.6.5) id MAA25882; Sat, 14 Sep 1996 12:26:11 -0700 (PDT) Message-Id: <199609141926.MAA25882@apollo.backplane.com> Date: Sat, 14 Sep 1996 12:26:11 -0700 (PDT) From: dillon@backplane.com Reply-To: dillon@backplane.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1610: mmap() of unassociated memory + mlock() can == kernel panic Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1610 >Category: kern >Synopsis: mmap() of unassociated memory + mlock() can == kernel panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 14 12:30:00 PDT 1996 >Last-Modified: >Originator: Matthew Dillon >Organization: self >Release: FreeBSD 2.1-STABLE i386 >Environment: Pentium class machine, 64 MBytes of ram, Adaptec PCI SCSI >Description: If I use mmap() to map a large (16 or 32 MBytes) amount of unassociated memory, then use mlock() to lock it, touching the memory will result in a kernel panic... something about a page directory missing (sorry, don't have the exact error). However, if I touch the memory BEFORE locking it, I can then lock the memory and use it normally. I believe the problem may be due to mmap() mapping the pages as zero-fill. When you allocate more then one segment's worth of memory, the page table sharing is probably generating a condition that the system cannot handle when the memory is touched for the first time AFTER being locked. >How-To-Repeat: mmap a large shared read-write area, unassociated with any file, that is larger then or equal to 16 MBytes on an unloaded machine. do not touch the allocated memory yet. lock the entire memory (make sure your resource limits are set such that it allows you to lock the entire area). write to a random page or pages in the memory area. The kernel will panic with a missing page directory fault or something similiar. >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Sep 14 13:17:25 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA05335 for bugs-outgoing; Sat, 14 Sep 1996 13:17:25 -0700 (PDT) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA05329 for ; Sat, 14 Sep 1996 13:17:22 -0700 (PDT) Received: from campa.panke.de (anonymous214.ppp.cs.tu-berlin.de [130.149.17.214]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id WAA24559; Sat, 14 Sep 1996 22:09:05 +0200 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id VAA02572; Sat, 14 Sep 1996 21:16:38 +0200 Date: Sat, 14 Sep 1996 21:16:38 +0200 From: Wolfram Schneider Message-Id: <199609141916.VAA02572@campa.panke.de> To: Paul Traina Cc: Peter Wemm , freebsd-bugs@freebsd.org Subject: Re: conf/1608: FreeBSD's bug tracking system does not respect confidential In-Reply-To: <7yrao6f0ib.fsf@base.jnx.com> References: <199609132220.PAA22198@freefall.freebsd.org> <7yrao6f0ib.fsf@base.jnx.com> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Paul Traina writes: >The gnats database should not be going out via CTM, and as soon as we have >remote gnats installed, I suggest killing that distribution method. No. The Internet is slow, unstable and expensive. Modems are busy. I want a local copy of the gnats database on my computer. Wolfram From owner-freebsd-bugs Sat Sep 14 13:20:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA05505 for bugs-outgoing; Sat, 14 Sep 1996 13:20:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA05497; Sat, 14 Sep 1996 13:20:03 -0700 (PDT) Resent-Date: Sat, 14 Sep 1996 13:20:03 -0700 (PDT) Resent-Message-Id: <199609142020.NAA05497@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, pst@Shockwave.COM Received: from precipice.shockwave.com (ppp-206-170-5-51.rdcy01.pacbell.net [206.170.5.51]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA04971 for ; Sat, 14 Sep 1996 13:11:16 -0700 (PDT) Received: (from pst@localhost) by precipice.shockwave.com (8.7.5/8.7.3) id NAA13292; Sat, 14 Sep 1996 13:10:47 -0700 (PDT) Message-Id: <199609142010.NAA13292@precipice.shockwave.com> Date: Sat, 14 Sep 1996 13:10:47 -0700 (PDT) From: Paul Traina Reply-To: pst@Shockwave.COM To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/1611: groff should use "system-wide" papersize variable when building Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1611 >Category: gnu >Synopsis: groff should use "system-wide" papersize variable when building >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 14 13:20:02 PDT 1996 >Last-Modified: >Originator: Paul Traina >Organization: FreeBSD, Inc. >Release: FreeBSD 2.2-CURRENT i386 >Environment: All FreeBSD groff ports >Description: /usr/src/gnu/usr.bin/groff/Makefile.cfg has the line: PAGE=letter (or PAGE=A4) in it. >How-To-Repeat: >Fix: This line should be changed to PAGE?=letter at a minimum, but really we should have a system-wide definition for paper sizes (I thought we did, but I couldn't find it) and modify the makefiles to use it. Of course this, in itself, is *still* a kludge, as the user should be able to specify paper sizes in his own environment for bi-continental systems. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Sep 14 13:28:18 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA05981 for bugs-outgoing; Sat, 14 Sep 1996 13:28:18 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA05975 for ; Sat, 14 Sep 1996 13:28:14 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id OAA18652; Sat, 14 Sep 1996 14:27:50 -0600 (MDT) Date: Sat, 14 Sep 1996 14:27:50 -0600 (MDT) Message-Id: <199609142027.OAA18652@rocky.mt.sri.com> From: Nate Williams To: Wolfram Schneider Cc: Paul Traina , Peter Wemm , freebsd-bugs@freebsd.org Subject: Re: conf/1608: FreeBSD's bug tracking system does not respect confidential In-Reply-To: <199609141916.VAA02572@campa.panke.de> References: <199609132220.PAA22198@freefall.freebsd.org> <7yrao6f0ib.fsf@base.jnx.com> <199609141916.VAA02572@campa.panke.de> Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Wolfram Schneider writes: > Paul Traina writes: > >The gnats database should not be going out via CTM, and as soon as we have > >remote gnats installed, I suggest killing that distribution method. > > No. The Internet is slow, unstable and expensive. Modems are busy. > I want a local copy of the gnats database on my computer. I agree. Is there anyway we could get a CVSup/sup entry for getting the GNATS stuff? It would certainly make it easier for me to at least see what's going on, since my link to freefall has been getting steadily worse to the point of being almost useless the last 6 months. Nate From owner-freebsd-bugs Sat Sep 14 13:50:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA07143 for bugs-outgoing; Sat, 14 Sep 1996 13:50:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA07137; Sat, 14 Sep 1996 13:50:03 -0700 (PDT) Resent-Date: Sat, 14 Sep 1996 13:50:03 -0700 (PDT) Resent-Message-Id: <199609142050.NAA07137@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, charnier@xp11.frmug.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA06992 for ; Sat, 14 Sep 1996 13:46:35 -0700 (PDT) Received: (from uucp@localhost) by frmug.org (8.6.8/8.6.9) with UUCP id WAA06631 for FreeBSD-gnats-submit@freebsd.org; Sat, 14 Sep 1996 22:46:22 +0200 Received: (from root@localhost) by xp11.frmug.org (8.7.5/8.7.3/xp11-uucp-1.1) id KAA02781; Sat, 14 Sep 1996 10:53:43 +0200 (MET DST) Message-Id: <199609140853.KAA02781@xp11.frmug.org> Date: Sat, 14 Sep 1996 10:53:43 +0200 (MET DST) From: "Ph. Charnier" Reply-To: charnier@xp11.frmug.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1612: NOMANCOMPRESS=true breaks make. Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1612 >Category: bin >Synopsis: NOMANCOMPRESS=true breaks make. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 14 13:50:02 PDT 1996 >Last-Modified: >Originator: Ph. Charnier >Organization: >Release: FreeBSD 2.2-CURRENT i386 >Environment: >Description: If you have NOMANCOMPRESS=true in your /etc/make.conf, Some programs (related to the contrib directory) fails to compile because of their man page. The error is `Graph cycles through dig.1'. >How-To-Repeat: Put NOMANCOMPRESS=true in your /etc/make.conf cd /usr/src/usr.bin/dig make Graph cycles through dig.1 `all' not remade because of errors. >Fix: The target is dig.1: dig.1. I use the following patch, but don't know if this is the correct way: --- bsd.man.mk.orig Sat Sep 14 10:38:16 1996 +++ bsd.man.mk Sat Sep 14 00:49:19 1996 @@ -75,20 +75,20 @@ COPY= -c ZEXT= -.if defined(MANFILTER) .for sect in ${SECTIONS} .if defined(MAN${sect}) && !empty(MAN${sect}) CLEANFILES+= ${MAN${sect}} .for page in ${MAN${sect}} -.for target in ${page} +.for target in ${.OBJDIR}/${page} all-man: ${target} ${target}: ${page} +.if defined(MANFILTER) ${MANFILTER} < ${.ALLSRC} > ${.TARGET} +.endif .endfor .endfor .endif .endfor -.endif .else >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Sep 14 14:15:34 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08318 for bugs-outgoing; Sat, 14 Sep 1996 14:15:34 -0700 (PDT) Received: from red.jnx.com ([208.197.169.254]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA08309 for ; Sat, 14 Sep 1996 14:15:28 -0700 (PDT) Received: from base.jnx.com (base.jnx.com [208.197.169.238]) by red.jnx.com (8.7.5/8.7.3) with ESMTP id OAA27383; Sat, 14 Sep 1996 14:14:49 -0700 (PDT) Received: from base.jnx.com (localhost.jnx.com [127.0.0.1]) by base.jnx.com (8.7.5/8.7.3) with ESMTP id OAA03343; Sat, 14 Sep 1996 14:14:47 -0700 (PDT) Message-Id: <199609142114.OAA03343@base.jnx.com> To: Wolfram Schneider cc: Peter Wemm , freebsd-bugs@freebsd.org Subject: Re: conf/1608: FreeBSD's bug tracking system does not respect confidential In-reply-to: Your message of "Sat, 14 Sep 1996 21:16:38 +0200." <199609141916.VAA02572@campa.panke.de> Date: Sat, 14 Sep 1996 14:14:47 -0700 From: Paul Traina Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Then you get a local copy without confidential bugs. From: Wolfram Schneider Subject: Re: conf/1608: FreeBSD's bug tracking system does not respect conf >>idential Paul Traina writes: >The gnats database should not be going out via CTM, and as soon as we have >remote gnats installed, I suggest killing that distribution method. No. The Internet is slow, unstable and expensive. Modems are busy. I want a local copy of the gnats database on my computer. Wolfram From owner-freebsd-bugs Sat Sep 14 16:40:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA18083 for bugs-outgoing; Sat, 14 Sep 1996 16:40:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA18076; Sat, 14 Sep 1996 16:40:02 -0700 (PDT) Resent-Date: Sat, 14 Sep 1996 16:40:02 -0700 (PDT) Resent-Message-Id: <199609142340.QAA18076@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, charnier@xp11.frmug.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA17466 for ; Sat, 14 Sep 1996 16:31:30 -0700 (PDT) Received: (from uucp@localhost) by frmug.org (8.6.8/8.6.9) with UUCP id BAA09652 for FreeBSD-gnats-submit@freebsd.org; Sun, 15 Sep 1996 01:31:07 +0200 Received: (from charnier@localhost) by xp11.frmug.org (8.7.5/8.7.3/xp11-uucp-1.1) id BAA09181; Sun, 15 Sep 1996 01:24:18 +0200 (MET DST) Message-Id: <199609142324.BAA09181@xp11.frmug.org> Date: Sun, 15 Sep 1996 01:24:18 +0200 (MET DST) From: "Ph. Charnier" Reply-To: charnier@xp11.frmug.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1613: ls -alR on a cdrom (Mitsumi drive) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1613 >Category: kern >Synopsis: I get ls: fts_read: No such file or directory >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 14 16:40:01 PDT 1996 >Last-Modified: >Originator: Ph. Charnier >Organization: >Release: FreeBSD 2.2-CURRENT i386 >Environment: device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr mcd0: type Mitsumi FX001D, version info: D 4 mcd0 at 0x300-0x303 irq 10 on isa >Description: I have 2 CDs made using GEAR on a SS5. One of them is containing untarred X11R6 and the other, untarred X11R6.1. Both are containing lot of other stuff. When running ls -alR /cdrom or ls -alR /cdrom/X11R6.1-untarred-xc/lib/, I get: /cdrom/X11R6.1-untarred-xc/lib/X11/util: total 10 drwxr-xr-x 2 12032 12000 - 2048 Jun 19 1995 . drwxr-xr-x 2 12032 12000 - 2048 Feb 2 1996 .. -r--r--r-- 1 12032 12000 - 6250 Apr 18 1994 makekeys.c -r-xr-xr-x 1 12032 12000 - 246 Sep 12 1988 mkks.sh ls: util: No such file or directory ls: fts_read: No such file or directory If I run ls -alR /cdrom/X11R6.1-untarred-xc/lib/X11/, only the ls: util: No such file or directory is displayed If I run ls -alR /cdrom/X11R6.1-untarred-xc/lib/X11/util/, all is ok, as with find /cdrom/X11R6.1-untarred-xc/lib/X11 -name \* -exec ls -al {} \;. I get the same error on the other CD, at the same place (in lib/X11/util). >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Sep 14 20:20:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA25824 for bugs-outgoing; Sat, 14 Sep 1996 20:20:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA25818; Sat, 14 Sep 1996 20:20:02 -0700 (PDT) Resent-Date: Sat, 14 Sep 1996 20:20:02 -0700 (PDT) Resent-Message-Id: <199609150320.UAA25818@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mi@aldan.ziplink.net Received: from guest.ziplink.net (guest.zipnet.net [199.232.255.51]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA25506 for ; Sat, 14 Sep 1996 20:09:57 -0700 (PDT) Received: (from root@localhost) by guest.ziplink.net (8.7.5/8.7.3) id XAA00280; Sat, 14 Sep 1996 23:09:41 -0400 (EDT) Message-Id: <199609150309.XAA00280@guest.ziplink.net> Date: Sat, 14 Sep 1996 23:09:41 -0400 (EDT) From: Charlie Root Reply-To: mi@aldan.ziplink.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1614: Attempt to mount an NTFS partition causes kernel panic Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1614 >Category: kern >Synopsis: Attempt to mount an NTFS partition causes kernel panic >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 14 20:20:01 PDT 1996 >Last-Modified: >Originator: Mikhail Teterin >Organization: >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: FreeBSD is on the third SCSI drive. The first two have NTFS partitions. >Description: mount -t msdos /dev/sd0s1 /mnt leads to kernel panic in mount_msdos >How-To-Repeat: Just do the mount-command above on the NTFS partition. The hardest things would probably be to find the NTFS partition around, you, happy Unixers :) I am unfortunate enough to have to deal with NT once in a while... >Fix: Wait for mount_ntfs to appear, and do not touch the NTFS drives until then. >Audit-Trail: >Unformatted: