From owner-freebsd-bugs Sun Nov 28 4: 0:44 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A6F83156DC for ; Sun, 28 Nov 1999 04:00:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA61707; Sun, 28 Nov 1999 04:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sun, 28 Nov 1999 04:00:01 -0800 (PST) Message-Id: <199911281200.EAA61707@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Wemm Subject: Re: kern/15057: loading a kld module with a unresolved symbol crashes Reply-To: Peter Wemm Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/15057; it has been noted by GNATS. From: Peter Wemm To: assar@stacken.kth.se Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/15057: loading a kld module with a unresolved symbol crashes Date: Sun, 28 Nov 1999 19:52:40 +0800 assar@stacken.kth.se wrote: > >Number: 15057 > >Category: kern > >Synopsis: loading a kld module with a unresolved symbol crashes > > This bug was fixed for -current in kern_module.c:1.18. The original > PR seems to have been lost, 1179 (the number mentioned in the CVS log) > is another unrelated PR and I've been unable to find the real PR. > > This fix has been in current for some time and I think it can safely > be MFC-ed to stable. And it's also quite annoying to have the kernel > crash just because it can't load a module. The 1.18 fix was for a different problem and I don't see how it's applicable to this case. newmod->file is set unconditionally when loaded. Can you give me some more information please? Such as a traceback showing where the crash is? Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 4:30: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6A1D6155F1 for ; Sun, 28 Nov 1999 04:30:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA65544; Sun, 28 Nov 1999 04:30:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from sivka.carrier.kiev.ua (sivka.carrier.kiev.ua [193.193.193.101]) by hub.freebsd.org (Postfix) with ESMTP id AB05014E82 for ; Sun, 28 Nov 1999 04:28:26 -0800 (PST) (envelope-from netch@nn.kiev.ua) Received: from nn.kiev.ua (nn.kiev.ua [193.193.193.203]) by sivka.carrier.kiev.ua (8.Who.Cares/Kilkenny_is_better) with ESMTP id OKW11474 for ; Sun, 28 Nov 1999 14:28:15 +0200 (EET) (envelope-from netch@nn.kiev.ua) Received: (from netch@localhost) by nn.kiev.ua (8.10.0.Beta6/8.9.3) id dASCSCQ01254; Sun, 28 Nov 1999 14:28:12 +0200 (EET) (envelope-from netch) Message-Id: <199911281228.dASCSCQ01254@nn.kiev.ua> Date: Sun, 28 Nov 1999 14:28:12 +0200 (EET) From: netch@lucky.net (Valentin Nechayev) Reply-To: netch@lucky.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15136: Panic on MSDOS FS mount Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15136 >Category: kern >Synopsis: Panic on MSDOS FS mount >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 28 04:30:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Valentin Nechayev >Release: FreeBSD 4.0-CURRENT i386 >Organization: Lucky Net Ltd. >Environment: 4.0-CURRENT i386 3.3-STABLE i386 >Description: On attempt to mount MSDOS (FAT16) file system, kernel falls to panic with message: panic: vm_fault: fault on nofault entry, addr=c16de000 The effect is constant and appears on both 3.3-STABLE and 4.0-CURRENT. Debugging says that fault is when fillinusemap() is in cycle with cn == 51200 in code part (debug print is inserted by me) after first debug print in following code before second one. Sorry but I cannot debug more in depth of this problem just now. ==={ if (!bo || !bp) { printf( "fillinusemap(%d): cn=%d\n", __LINE__, cn ); /* Read new FAT block */ if (bp) brelse(bp); fatblock(pmp, byteoffset, &bn, &bsize, NULL); error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); if (error) { brelse(bp); return (error); } } ===} The file system is on /dev/wd0s6, C/H/S location 570:0:1 - 773:254:63. Its super block is: begin 644 su.D MZSR0;6MD;W-FZ_`RY,T6S1GK M_E1H:7,@:7,@;F]T(&$@8F]O=&%B;&4@9&ES:RX@(%!L96%S92!I;G-E2!A M9V%I;B`N+BX@#0H````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` 1````````````````````5:H` ` end None of other MSDOS filesystems on this disk cause such effect. Linux (RedHat 6.0), Win98 and MS-DOS all work with all local MSDOS partitions correctly. Kernel config for 4.0-CURRENT is: ==={ machine i386 cpu I586_CPU cpu I686_CPU ident "nn5" maxusers 32 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=5000 options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options INCLUDE_CONFIG_FILE options KTRACE #ktrace(1) syscall trace support options DDB options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores controller isa0 controller pnp0 # PnP support for ISA controller pci0 # Floppy drives controller fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # IDE controller and disks controller wdc0 at isa? port IO_WD1 irq 14 device wd0 at wdc0 drive 0 device wd1 at wdc0 drive 1 # ATAPI devices on wdc? device wcd0 #IDE CD-ROM # atkbdc0 controls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? flags 0x31 # Advanced Power Management # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 # Parallel port device ppc0 at isa? port? flags 0x40 irq 7 controller ppbus0 # Parallel port bus (required) device lpt0 # Printer device plip0 # TCP/IP over parallel device ppi0 # Parallel port interface device #controller vpo0 # Requires scbus and da0 # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device gzip # Exec gzipped a.out's pseudo-device vn 2 pseudo-device disc # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf 2 #Berkeley packet filter # USB support controller uhci0 # UHCI PCI->USB interface controller ohci0 # OHCI PCI->USB interface controller usb0 # USB Bus (required) device ugen0 # Generic device uhid0 # "Human Interface Devices" device ukbd0 # Keyboard device ulpt0 # Printer device ums0 # Mouse options INVARIANTS options INVARIANT_SUPPORT options NETATALK #Appletalk communications protocols #options NS #Xerox NS protocols options IPFIREWALL #firewall options IPFIREWALL_VERBOSE options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options IPPORTACL_V1 options IPPORTACL_V1_DEBUG=1 options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN options TCP_RESTRICT_RST #restrict emission of TCP RST options ICMP_BANDLIM options DUMMYNET #options DEVFS #devices filesystem options QUOTA #enable disk quotas options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device snp #Snoop device - to look at pty/vty/etc.. options MSGBUF_SIZE=81920 options SC_DFLT_FONT # compile font in makeoptions SC_DFLT_FONT=koi8-r options SC_HISTORY_SIZE=600 # number of history buffer lines options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor options IDE_DELAY=5000 # Be optimistic about Joe IDE device ===} >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 4:40:19 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E334D14BD2 for ; Sun, 28 Nov 1999 04:40:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA66109; Sun, 28 Nov 1999 04:40:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sun, 28 Nov 1999 04:40:04 -0800 (PST) Message-Id: <199911281240.EAA66109@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: assar@stacken.kth.se Subject: Re: kern/15057: loading a kld module with a unresolved symbol crashes Reply-To: assar@stacken.kth.se Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/15057; it has been noted by GNATS. From: assar@stacken.kth.se To: Peter Wemm Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/15057: loading a kld module with a unresolved symbol crashes Date: 28 Nov 1999 13:38:22 +0100 Peter Wemm writes: > The 1.18 fix was for a different problem and I don't see how it's applicable > to this case. newmod->file is set unconditionally when loaded. Hm, I did go by the CVS comments but other than that I would have to agree. The problem is however fixed in -current but I haven't not been able to pinpoint what patch fixed it. > Can you give me some more information please? Such as a traceback showing > where the crash is? Sure, here's a cut-n-paste from kgdb. Tell me if there's more information you need. /assar IdlePTD 4190208 initial pcb at 36b12c panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0xe51c fault code = supervisor read, page not present instruction pointer = 0x8:0xc015df8c stack pointer = 0x10:0xc3f80e00 frame pointer = 0x10:0xc3f80e0c 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 = 27873 (kldload) interrupt mask = trap number = 12 panic: page fault syncing disks... 55 55 51 41 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 giving up dumping to dev 20001, offset 163840 dump 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 --- #0 boot (howto=256) at ../../kern/kern_shutdown.c:285 285 dumppcb.pcb_cr3 = rcr3(); (kgdb) bt #0 boot (howto=256) at ../../kern/kern_shutdown.c:285 #1 0xc016a511 in panic (fmt=0xc033703e "page fault") at ../../kern/kern_shutdown.c:446 #2 0xc02a1e66 in trap_fatal (frame=0xc3f80dc4, eva=58652) at ../../i386/i386/trap.c:942 #3 0xc02a1b1f in trap_pfault (frame=0xc3f80dc4, usermode=0, eva=58652) at ../../i386/i386/trap.c:835 #4 0xc02a177e in trap (frame={tf_es = -1007157232, tf_ds = 16, tf_edi = -1058748548, tf_esi = -1058748544, tf_ebp = -1007153652, tf_isp = -1007153684, tf_ebx = 58652, tf_edx = 58824, tf_ecx = -1058748540, tf_eax = -1058748548, tf_trapno = 12, tf_err = 0, tf_eip = -1072308340, tf_cs = 8, tf_eflags = 66050, tf_esp = 0, tf_ss = -1060441472}) at ../../i386/i386/trap.c:437 #5 0xc015df8c in linker_file_sysuninit (lf=0xc0caf280) at ../../kern/kern_linker.c:204 #6 0xc015e3d6 in linker_file_unload (file=0xc0caf280) at ../../kern/kern_linker.c:413 #7 0xc016048a in link_elf_load_file (filename=0xc0cb2000 "./xfs.ko", result=0xc3f80f3c) at ../../kern/link_elf.c:682 #8 0xc015fc8e in link_elf_load_module (filename=0xc0cb2000 "./xfs.ko", result=0xc3f80f3c) at ../../kern/link_elf.c:340 #9 0xc015e0d6 in linker_load_file (filename=0xc0cb2000 "./xfs.ko", result=0xc3f80f5c) at ../../kern/kern_linker.c:265 #10 0xc015e89a in kldload (p=0xc3f1f180, uap=0xc3f80f94) at ../../kern/kern_linker.c:655 #11 0xc02a20c3 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 1, tf_esi = 1, tf_ebp = -1077945412, tf_isp = -1007153180, tf_ebx = -1077945360, tf_edx = 2, tf_ecx = 118, tf_eax = 304, tf_trapno = 12, tf_err = 2, tf_eip = 134513676, tf_cs = 31, tf_eflags = 582, tf_esp = -1077945432, tf_ss = 39}) at ../../i386/i386/trap.c:1100 #12 0xc02972fc in Xint0x80_syscall () #13 0x80480e9 in ?? () (kgdb) f 5 #5 0xc015df8c in linker_file_sysuninit (lf=0xc0caf280) at ../../kern/kern_linker.c:204 204 if ((*sipp)->subsystem >= (*xipp)->subsystem || (kgdb) p sipp $1 = (struct sysinit **) 0xc0e4c780 (kgdb) p xipp $2 = (struct sysinit **) 0x0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 4:50:10 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0E54615624 for ; Sun, 28 Nov 1999 04:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA66528; Sun, 28 Nov 1999 04:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sun, 28 Nov 1999 04:50:01 -0800 (PST) Message-Id: <199911281250.EAA66528@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Andy Farkas Subject: Re: misc/15066: ``allscreens_flags'' in rc.conf not documented; produces unexpected results Reply-To: Andy Farkas Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/15066; it has been noted by GNATS. From: Andy Farkas To: Kazutaka YOKOTA Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/15066: ``allscreens_flags'' in rc.conf not documented; produces unexpected results Date: Sun, 28 Nov 1999 23:43:45 +1100 (EST) > The following patch to /etc/rc.i386 should fix it. Yes, it does (tested on -current). Thank you. > > Kazu > -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 5: 0: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CD4931561E for ; Sun, 28 Nov 1999 05:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA66975; Sun, 28 Nov 1999 05:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sun, 28 Nov 1999 05:00:01 -0800 (PST) Message-Id: <199911281300.FAA66975@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: assar@stacken.kth.se Subject: Re: kern/15057: loading a kld module with a unresolved symbol crashes Reply-To: assar@stacken.kth.se Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/15057; it has been noted by GNATS. From: assar@stacken.kth.se To: Peter Wemm Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/15057: loading a kld module with a unresolved symbol crashes Date: 28 Nov 1999 13:54:27 +0100 I wrote: > Hm, I did go by the CVS comments but other than that I would have to > agree. The problem is however fixed in -current but I haven't not > been able to pinpoint what patch fixed it. So I've figured out what changes actually fixes the problem and tried them on 3.3. You want: sys/linker.h: 1.12 kern/kern_linker.c: 1.23 kern/link_elf.c: 1.12 /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 6:40: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id F0DC514A17 for ; Sun, 28 Nov 1999 06:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA15936; Sun, 28 Nov 1999 06:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sun, 28 Nov 1999 06:40:01 -0800 (PST) Message-Id: <199911281440.GAA15936@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Assar Westerlund Subject: Re: kern/12508: gdb fails to vmcore.0 Reply-To: Assar Westerlund Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/12508; it has been noted by GNATS. From: Assar Westerlund To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: kern/12508: gdb fails to vmcore.0 Date: 28 Nov 1999 15:38:16 +0100 I think this can be closed. Luoqi told me the reason for it not working in 3.2 and it does work in 3.3. /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 6:51:24 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 241EC14BD8; Sun, 28 Nov 1999 06:51:22 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA26171; Sun, 28 Nov 1999 06:51:22 -0800 (PST) (envelope-from peter@FreeBSD.org) Date: Sun, 28 Nov 1999 06:51:22 -0800 (PST) From: Message-Id: <199911281451.GAA26171@freefall.freebsd.org> To: assar@stacken.kth.se, peter@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/15057: loading a kld module with a unresolved symbol crashes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: loading a kld module with a unresolved symbol crashes State-Changed-From-To: open->closed State-Changed-By: peter State-Changed-When: Sun Nov 28 06:50:29 PST 1999 State-Changed-Why: Suggested changes MFC'd, revs: 1.21.2.3 +4 -1 src/sys/kern/kern_linker.c 1.17.2.3 +4 -1 src/sys/kern/link_aout.c 1.11.2.3 +5 -1 src/sys/kern/link_elf.c 1.11.2.2 +3 -1 src/sys/sys/linker.h Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 6:53:21 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5290B14BD8; Sun, 28 Nov 1999 06:53:14 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA26330; Sun, 28 Nov 1999 06:53:14 -0800 (PST) (envelope-from peter@FreeBSD.org) Date: Sun, 28 Nov 1999 06:53:14 -0800 (PST) From: Message-Id: <199911281453.GAA26330@freefall.freebsd.org> To: vns@delta.odessa.ua, peter@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/15014: DDB can't find symbol for address in kernel loadable modules. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: DDB can't find symbol for address in kernel loadable modules. State-Changed-From-To: open->closed State-Changed-By: peter State-Changed-When: Sun Nov 28 06:51:41 PST 1999 State-Changed-Why: Suggested changes applied and adapted for the link_aout.c code, revs: 1.22 +7 -5 src/sys/kern/link_elf.c 1.23 +7 -5 src/sys/kern/link_aout.c 1.17.2.2 +7 -5 src/sys/kern/link_aout.c 1.11.2.2 +7 -5 src/sys/kern/link_elf.c (The last two being -stable). Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 7:17:43 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9915114E4B; Sun, 28 Nov 1999 07:17:36 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA28083; Sun, 28 Nov 1999 07:17:36 -0800 (PST) (envelope-from peter@FreeBSD.org) Date: Sun, 28 Nov 1999 07:17:36 -0800 (PST) From: Message-Id: <199911281517.HAA28083@freefall.freebsd.org> To: peter@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: pending/13113: panic related (proberbly) to vnode Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: panic related (proberbly) to vnode Responsible-Changed-From-To: gnats-admin->freebsd-bugs Responsible-Changed-By: peter Responsible-Changed-When: Sun Nov 28 07:16:28 PST 1999 Responsible-Changed-Why: Misfiled PR To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 7:19:14 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 92A4414ED9; Sun, 28 Nov 1999 07:19:13 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA28200; Sun, 28 Nov 1999 07:19:13 -0800 (PST) (envelope-from peter@FreeBSD.org) Date: Sun, 28 Nov 1999 07:19:13 -0800 (PST) From: Message-Id: <199911281519.HAA28200@freefall.freebsd.org> To: assar@sics.se, peter@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/12508: gdb fails to vmcore.0 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: gdb fails to vmcore.0 State-Changed-From-To: open->closed State-Changed-By: peter State-Changed-When: Sun Nov 28 07:18:50 PST 1999 State-Changed-Why: Reported fixed in 3.3. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 12:30: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5DA391533D for ; Sun, 28 Nov 1999 12:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA57702; Sun, 28 Nov 1999 12:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sun, 28 Nov 1999 12:30:03 -0800 (PST) Message-Id: <199911282030.MAA57702@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Karl Dietz Subject: Re: gnu/15091: add -I option to gnu groff and gnu soelim Reply-To: Karl Dietz Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR gnu/15091; it has been noted by GNATS. From: Karl Dietz To: Alexey Zelkin Cc: millerp@canb.aaug.org.au, FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: gnu/15091: add -I option to gnu groff and gnu soelim Date: Sun, 28 Nov 1999 21:29:27 +0100 (CET) On Fri, 26 Nov 1999, Alexey Zelkin wrote: > > >Number: 15091 > > >Category: gnu > > >Synopsis: add -I option to gnu groff and gnu soelim > > > GNU groff does not know about a -I parameter to add > > include search paths. > Why ? I don't know why it's not supported. But if you mean "what do you need it for" to have a search path to common include (e.g. COPYRIGHT, etc.) > > > > Peter Miller made a patch to add the -I and uses it in > > his programs. > You have to submit this patch to official groff maintainer and > then next release out we'll import such change. at the time this patch was prepared, there was no GNU groff maintainer. And GNU groff had not been updated to 1.11 quite a long time. (IIRC) I will talk to the original author to submit it to GNU groff. Regards, Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 14:20:16 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6211715327 for ; Sun, 28 Nov 1999 14:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA64970; Sun, 28 Nov 1999 14:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from postfix2.free.fr (postfix2.free.fr [212.27.32.74]) by hub.freebsd.org (Postfix) with ESMTP id 8271D155AC for ; Sun, 28 Nov 1999 14:16:05 -0800 (PST) (envelope-from root@titine.fr.eu.org) Received: from titine.fr.eu.org (toulouse-50-216.dial.proxad.net [212.27.50.216]) by postfix2.free.fr (Postfix) with ESMTP id 06A80744D3 for ; Sun, 28 Nov 1999 23:15:59 +0100 (MET) Received: by titine.fr.eu.org (Postfix, from userid 0) id 9B9EB148D1; Sun, 28 Nov 1999 23:12:03 +0100 (CET) Message-Id: <19991128221203.9B9EB148D1@titine.fr.eu.org> Date: Sun, 28 Nov 1999 23:12:03 +0100 (CET) From: jaco@titine.fr.eu.org Reply-To: jaco@titine.fr.eu.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/15150: French manpages without accents with FBSD man Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15150 >Category: conf >Synopsis: Taking encoding scheme latin1 into account >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 28 14:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Eric Jacoboni >Release: FreeBSD 3.3-STABLE i386 >Organization: None >Environment: Genuine FBSD 3.3-STABLE, with LC_ALL=fr_FR.ISO_8859-1 >Description: I'm translating manpages in french for the french docproj. The translated manpage contains accents, but man refuse to take them into account. >How-To-Repeat: Try to use man with a manpage with accents... see how they disappear. >Fix: I've noticed that the problem resides in the /usr/src/gnu/usr.bin/man/Makefile.inc file : the call to groff is hard coded with the -Tascii option (same for neqn). I suspect that is the same with some other programs... At first glance, it seems that this option could be soft coded according to the system environment. A solution could be : Adding a new macro definition in /etc/make.conf (or other best fitted config file), says : ENCODING= ascii | latin1 | whatever... Using this definition during compilation of various utilities. For the man utility, just have to modify the two following lines in its Makefile.inc : nroff= /usr/bin/groff -S -Wall -mtty-char -Tascii -man neqn= /usr/bin/eqn -Tascii with : nroff= /usr/bin/groff -S -Wall -mtty-char -T${ENCODING} -man neqn= /usr/bin/eqn -T${ENCODING} fix my problem (without the make.conf trick... i've just add a : ENCODING=latin1 in the Makefile.inc in order to test my solution... ;-) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 17: 0: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5022C1541F for ; Sun, 28 Nov 1999 17:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA77934; Sun, 28 Nov 1999 17:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 9059C1540F; Sun, 28 Nov 1999 16:56:59 -0800 (PST) Message-Id: <19991129005659.9059C1540F@hub.freebsd.org> Date: Sun, 28 Nov 1999 16:56:59 -0800 (PST) From: VidrineT@cs.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/15151: Smelling sewage when running water in the sink in my home Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15151 >Category: misc >Synopsis: Smelling sewage when running water in the sink in my home >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 28 17:00:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: J. Vidrine >Release: ? >Organization: n/a >Environment: ? >Description: When using water in the sinks in my home, a smell of sewage is very strong. I called the Town Hall and found out that I was not the first to complain about this problem. It cannot be good for us to drink the water not knowing if the sewage is mixing with the water. The Town Hall suggested lowering of my hot water tank might help but it is not when I run my hot water that I smell the sewage, it is when I run the cold water. >How-To-Repeat: ? >Fix: Someone needs to contact the Town Hall and investigate why the Town is having this problem and how can it be stopped. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 17: 8:54 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9D92C153C1; Sun, 28 Nov 1999 17:08:53 -0800 (PST) (envelope-from steve@FreeBSD.org) Received: (from steve@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA79012; Sun, 28 Nov 1999 17:08:53 -0800 (PST) (envelope-from steve@FreeBSD.org) Date: Sun, 28 Nov 1999 17:08:53 -0800 (PST) From: Message-Id: <199911290108.RAA79012@freefall.freebsd.org> To: VidrineT@cs.com, steve@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/15151: Smelling sewage when running water in the sink in my home Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Smelling sewage when running water in the sink in my home State-Changed-From-To: open->closed State-Changed-By: steve State-Changed-When: Sun Nov 28 17:08:22 PST 1999 State-Changed-Why: Bogus PR. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 17:26:33 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4171F153F5; Sun, 28 Nov 1999 17:26:32 -0800 (PST) (envelope-from yokota@FreeBSD.org) Received: (from yokota@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA80542; Sun, 28 Nov 1999 17:26:32 -0800 (PST) (envelope-from yokota@FreeBSD.org) Date: Sun, 28 Nov 1999 17:26:32 -0800 (PST) From: Message-Id: <199911290126.RAA80542@freefall.freebsd.org> To: mb@imp.ch, yokota@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/14667: [FIX] wrong swissgerman/swissfrench ISO-keymaps Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [FIX] wrong swissgerman/swissfrench ISO-keymaps State-Changed-From-To: open->closed State-Changed-By: yokota State-Changed-When: Sun Nov 28 17:25:57 PST 1999 State-Changed-Why: Committed to both -CURRENT and -STABLE. Thank you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Nov 28 17:27:17 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2843715412; Sun, 28 Nov 1999 17:27:16 -0800 (PST) (envelope-from yokota@FreeBSD.org) Received: (from yokota@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA80683; Sun, 28 Nov 1999 17:27:16 -0800 (PST) (envelope-from yokota@FreeBSD.org) Date: Sun, 28 Nov 1999 17:27:16 -0800 (PST) From: Message-Id: <199911290127.RAA80683@freefall.freebsd.org> To: priit@cc.ttu.ee, yokota@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/14658: Estonian keymaps not yet included in FreeBSD distribution Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Estonian keymaps not yet included in FreeBSD distribution State-Changed-From-To: open->closed State-Changed-By: yokota State-Changed-When: Sun Nov 28 17:26:44 PST 1999 State-Changed-Why: Committed to both -CURRENT and -STABLE. Thank you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 4: 0: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8D7BF14E2C for ; Mon, 29 Nov 1999 04:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA41642; Mon, 29 Nov 1999 04:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from mail.palmerharvey.co.uk (mail.palmerharvey.co.uk [62.172.109.58]) by hub.freebsd.org (Postfix) with ESMTP id DCB8B14A01; Mon, 29 Nov 1999 03:55:07 -0800 (PST) (envelope-from Dom.Mitchell@palmerharvey.co.uk) Received: from ho-nt-01.pandhm.co.uk (unverified) by mail.palmerharvey.co.uk (Content Technologies SMTPRS 4.0.1) with ESMTP id ; Mon, 29 Nov 1999 11:53:20 +0000 Received: from ADMIN ([10.100.1.20]) by ho-nt-01.pandhm.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id XVAC4GK2; Mon, 29 Nov 1999 11:51:45 -0000 Received: from [10.100.35.12] (helo=voodoo.pandhm.co.uk) by admin with esmtp (Exim 1.92 #1) id 11sPOa-0006xS-00; Mon, 29 Nov 1999 11:55:04 +0000 Received: by voodoo.pandhm.co.uk (Postfix, from userid 104) id 1ED91211; Mon, 29 Nov 1999 11:55:03 +0000 (GMT) Message-Id: <19991129115503.1ED91211@voodoo.pandhm.co.uk> Date: Mon, 29 Nov 1999 11:55:03 +0000 (GMT) From: Dom.Mitchell@palmerharvey.co.uk Reply-To: dom@palmerharvey.co.uk To: FreeBSD-gnats-submit@freebsd.org Cc: bmah@CS.Sandia.GOV, billf@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/15162: New option for pkg_version(1). Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15162 >Category: bin >Synopsis: New option for pkg_version(1). >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 29 04:00:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Dominic Mitchell >Release: FreeBSD 3.3-STABLE i386 >Organization: Palmer & Harvey McLane Ltd. >Environment: FreeBSD voodoo.pandhm.co.uk 3.3-STABLE FreeBSD 3.3-STABLE #4: Thu Nov 18 09:01:45 GMT 1999 root@voodoo.pandhm.co.uk:/usr/src/sys/compile/VOODOO i386 >Description: I thought it would be useful to limit the output of pkg_version to one or more matching status flags. The attached patch implements this option. In particular, this lets get the commands to update merely the out of date ports with ease: % pkg_version -c -l '<' # # less # needs updating (index has 340) # cd /usr/ports/misc/less make pkg_delete -f less-337 make install # # vim # needs updating (index has 5.5.38) # cd /usr/ports/editors/vim5 make pkg_delete -f vim-5.5.37 make install >How-To-Repeat: Apply patch. >Fix: Here's the patch: diff -urP /usr/src/usr.sbin/pkg_install/version/pkg_version.1 version/pkg_version.1 --- /usr/src/usr.sbin/pkg_install/version/pkg_version.1 Fri Nov 26 22:04:49 1999 +++ version/pkg_version.1 Mon Nov 29 11:53:31 1999 @@ -33,6 +33,7 @@ .Sh SYNOPSIS .Nm pkg_version .Op Fl cdhv +.Op Fl l Ar limchar .Op Ar index .Sh DESCRIPTION The @@ -75,6 +76,15 @@ Enable debugging output. .It Fl h Print help message. +.It Fl l +Limit the output to those packages whose status flag matches +.Ar limchar . +You may specify more than one character to match in +.Ar limchar . +Note that because some of the status flag characters are also special +to the shell, it is best to quote +.Ar limchar +with single quotes. .It Fl v Enable verbose output. Verbose output includes some English-text interpretations of the version number comparisons, as well as the Binary files /usr/src/usr.sbin/pkg_install/version/pkg_version.1.gz and version/pkg_version.1.gz differ diff -urP /usr/src/usr.sbin/pkg_install/version/pkg_version.pl version/pkg_version.pl --- /usr/src/usr.sbin/pkg_install/version/pkg_version.pl Fri Nov 26 22:04:49 1999 +++ version/pkg_version.pl Mon Nov 29 11:37:24 1999 @@ -47,6 +47,7 @@ $DebugFlag = 0; $VerboseFlag = 0; $CommentChar = "#"; +$LimitFlag = ""; # # CompareVersions @@ -124,6 +125,7 @@ -c Show commands to update installed packages -d debug Debugging output (debug controls level of output) -h Help (this message) +-l limchar Limit output -v Verbose output index URL or filename of index file (Default is $IndexFile) @@ -133,7 +135,7 @@ # # Parse command-line arguments, deal with them # -if (!getopts('cdhv') || ($opt_h)) { +if (!getopts('cdhl:v') || ($opt_h)) { &PrintHelp(); exit; } @@ -143,6 +145,9 @@ if ($opt_d) { $DebugFlag = $opt_d; } +if ($opt_l) { + $LimitFlag = $opt_l; +} if ($opt_v) { $VerboseFlag = 1; } @@ -258,7 +263,11 @@ $Comment = "unknown in index"; } - write; + if ($LimitFlag) { + write if $versionCode =~ m/[$LimitFlag]/o; + } else { + write; + } } exit 0; -- ********************************************************************** This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. The email has been swept by MIMEsweeper for the presence of computer viruses. www.palmerharvey.co.uk ********************************************************************** >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 6:40: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4426E14EF4 for ; Mon, 29 Nov 1999 06:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA00992; Mon, 29 Nov 1999 06:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 6EA5014D8D; Mon, 29 Nov 1999 06:31:57 -0800 (PST) Message-Id: <19991129143157.6EA5014D8D@hub.freebsd.org> Date: Mon, 29 Nov 1999 06:31:57 -0800 (PST) From: fraysse@cedocar.fr To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/15164: rl0 driver, "no free buffer space avalaible" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15164 >Category: kern >Synopsis: rl0 driver, "no free buffer space avalaible" >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 29 06:40:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Guillaume FRAYSSE >Release: 3.2 >Organization: CEDOCAR >Environment: FreeBSD arche.cedocar.fr 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Mon Sep 6 17:52:13 CEST 1999 hsc@arche2.cedocar.fr:/usr/src/sys/compile/ARCHE i386 >Description: We have a server here which rl0 driver (the ethernet card is a Realtek 8139 10/100BaseTX) freezes from time to time. It seems to be related to both bugs #12394 and #9537. We get "no free buffer space avalaible" when trying to ping another computer and the only way to fix the problem is to restart the rl0 driver by doing a "ifconfig rl0 down; ifconfig rl0 up". We think it might come from an overload of the server due to the number of emails it sends to the administrators for system administration. >How-To-Repeat: No real 100% sure way. Just let the server run and send tons of emails. The driver should stop at some point. >Fix: Restart the driver : "ifconfig rl0 down; ifconfig rl0 up" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 7:10: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 61ABF150B8 for ; Mon, 29 Nov 1999 07:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA14667; Mon, 29 Nov 1999 07:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Mon, 29 Nov 1999 07:10:02 -0800 (PST) Message-Id: <199911291510.HAA14667@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: John Ioannidis Subject: Re: kern/15164: rl0 driver, "no free buffer space avalaible" Reply-To: John Ioannidis Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/15164; it has been noted by GNATS. From: John Ioannidis To: fraysse@cedocar.fr, freebsd-gnats-submit@FreeBSD.ORG Cc: Subject: Re: kern/15164: rl0 driver, "no free buffer space avalaible" Date: Mon, 29 Nov 1999 10:02:19 -0500 (EST) I've had the same problem with the xl driver. It appears that the driver is occasionally consuming mbufs clusters faster than it can release them. This is not a memory leak -- eventually all the buffers are returned. Increasing NMBCLUSTERS seems to solve that problem: options NMBCLUSTERS=16384 /ji To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 10:30:14 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4DA0E1500D for ; Mon, 29 Nov 1999 10:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA32700; Mon, 29 Nov 1999 10:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from bsdsystem1.informatik.tu-muenchen.de (bsdsystem1.informatik.tu-muenchen.de [131.159.0.63]) by hub.freebsd.org (Postfix) with ESMTP id 5868B14A19 for ; Mon, 29 Nov 1999 10:26:53 -0800 (PST) (envelope-from bartel@bsdsystem1.informatik.tu-muenchen.de) Received: (from bartel@localhost) by bsdsystem1.informatik.tu-muenchen.de (8.9.3/8.9.3) id TAA44254; Mon, 29 Nov 1999 19:26:53 +0100 (CET) (envelope-from bartel) Message-Id: <199911291826.TAA44254@bsdsystem1.informatik.tu-muenchen.de> Date: Mon, 29 Nov 1999 19:26:53 +0100 (CET) From: Elmar.Bartel@informatik.tu-muenchen.de Reply-To: Elmar.Bartel@informatik.tu-muenchen.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/15168: Adding tracklist support to fdformat Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15168 >Category: misc >Synopsis: Adding tracklist support to fdformat >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 29 10:30:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Elmar Bartel >Release: FreeBSD 3.[*]-RELEASE i386 >Organization: Technische Universitaet Muenchen, Fakultaet fuer Informatik >Environment: Any FreeBSD 3.* version should work. >Description: Added track list support to fdformat. This way its possible to specify an arbitrary list of tracks to operate on. The patch is against the head revision of FreeBSD-current. >How-To-Repeat: Nothing to repeat. >Fix: diff -c -r fdformat/fdformat.1 fdformat.new/fdformat.1 *** fdformat/fdformat.1 Mon Nov 29 18:45:25 1999 --- fdformat.new/fdformat.1 Mon Nov 29 18:49:00 1999 *************** *** 34,39 **** --- 34,40 ---- .Nm fdformat .Op Fl q .Op Fl v | Fl n + .Op Fl l Ar tracklist .Op Fl f Ar capacity .Op Fl c Ar cyls .Op Fl s Ar secs *************** *** 73,78 **** --- 74,86 ---- Suppress any normal output from the command, and don't ask the user for a confirmation whether to format the floppy disk at .Ar device_name . + .It Fl l Ar tracklist + give a list of tracks to be formatted or verified. The + .Ar tracklist + is given as a comma seperated list of track numbers or track ranges. + A track range is a pair of track numbers seperated by a '-' character. + The second number has to b equal or larger than the first one. Track + numbers start with 0. .It Fl f Ar capacity The normal way to specify the desired formatting parameters. .Ar Capacity Only in fdformat.new: fdformat.1.gz diff -c -r fdformat/fdformat.c fdformat.new/fdformat.c *** fdformat/fdformat.c Mon Nov 29 18:45:25 1999 --- fdformat.new/fdformat.c Mon Nov 29 18:59:35 1999 *************** *** 138,144 **** usage (void) { fprintf(stderr, "%s\n%s\n", ! "usage: fdformat [-q] [-n | -v] [-f #] [-c #] [-s #] [-h #]", " [-r #] [-g #] [-i #] [-S #] [-F #] [-t #] devname"); exit(2); } --- 138,144 ---- usage (void) { fprintf(stderr, "%s\n%s\n", ! "usage: fdformat [-q] [-n | -v] [ -l tracklist ] [-f #] [-c #] [-s #] [-h #]", " [-r #] [-g #] [-i #] [-S #] [-F #] [-t #] devname"); exit(2); } *************** *** 163,168 **** --- 163,211 ---- } } + void + parse_list(char *list, char *track_list, int max) { + while (*list) { + long n; + char *nl= list; + while (isspace(*nl)) + nl++; + n= strtol(list, &nl, 0); + if (nl == list) { + errx(1, "cannot parse track list"); + } + if (n >= max) { + errx(1, "there is no track %ld", n); + } + while (isspace(*nl)) + nl++; + if (*nl == ',' || *nl == '\0') { + track_list[n]= 1; + if (*nl == ',') + list= nl+1; + else + list= nl; + } + else if (*nl == '-') { + long m; + char *ml= nl+1; + m= strtol(ml, &ml, 0); + if (ml == nl+1 || m < n || m >= max) { + errx(1, "invalid track range"); + } + while (n<=m) { + track_list[n]= 1; + n++; + } + list= nl+1; + } + else { + errx(1, "invalid list seperator: `%c'.\n", *nl); + } + } + } + + int main(int argc, char **argv) { *************** *** 172,180 **** int fd, c, track, error, tracks_per_dot, bytes_per_track, errs; const char *devname, *suffix; struct fd_type fdt; ! while((c = getopt(argc, argv, "f:c:s:h:r:g:S:F:t:i:qvn")) != -1) switch(c) { case 'f': /* format in kilobytes */ format = atoi(optarg); break; --- 215,228 ---- int fd, c, track, error, tracks_per_dot, bytes_per_track, errs; const char *devname, *suffix; struct fd_type fdt; + char *tl_arg, track_list[200]; ! tl_arg= 0; ! while((c = getopt(argc, argv, "f:l:c:s:h:r:g:S:F:t:i:qvn")) != -1) switch(c) { + case 'l': /* list of tracks to operate on */ + tl_arg= optarg; + break; case 'f': /* format in kilobytes */ format = atoi(optarg); break; *************** *** 279,284 **** --- 327,340 ---- bytes_per_track = fdt.sectrac * (1<Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 10:41:51 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7107514C23; Mon, 29 Nov 1999 10:41:50 -0800 (PST) (envelope-from billf@FreeBSD.org) Received: (from billf@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA33812; Mon, 29 Nov 1999 10:41:50 -0800 (PST) (envelope-from billf@FreeBSD.org) Date: Mon, 29 Nov 1999 10:41:50 -0800 (PST) From: Message-Id: <199911291841.KAA33812@freefall.freebsd.org> To: billf@FreeBSD.org, freebsd-bugs@FreeBSD.org, billf@FreeBSD.org Subject: Re: bin/15162: New option for pkg_version(1). Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: New option for pkg_version(1). Responsible-Changed-From-To: freebsd-bugs->billf Responsible-Changed-By: billf Responsible-Changed-When: Mon Nov 29 10:41:10 PST 1999 Responsible-Changed-Why: I'm the proxy between the author and the repository, I'll wait for his review of the patch. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 11: 0:59 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 869E115153 for ; Mon, 29 Nov 1999 11:00:09 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA35926 for freebsd-bugs@freebsd.org; Mon, 29 Nov 1999 11:00:03 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 29 Nov 1999 11:00:03 -0800 (PST) Message-Id: <199911291900.LAA35926@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: FreeBSD bugs list Subject: Current problem reports Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Current FreeBSD problem reports The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. Bugs can be in one of several states: o - open A problem report has been submitted, no sanity checking performed. a - analyzed The report has been examined by a team member and evaluated. f - feedback The problem has been solved, and the originator has been given a patch or a fix has been committed. The PR remains in this state pending a response from the originator. s - suspended The problem is not being worked on. This is a prime candidate for somebody who is looking for a project to do. If the problem cannot be solved at all, it will be closed, rather than suspended. c - closed A problem report is closed when any changes have been integrated, documented, and tested. Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1996/12/20] bin/2258 wollman route add/delete [network] xxx.yyy.zzz.0 o [1997/03/08] kern/2923 panic: vm_fault: fault on nofault entry, o [1997/07/03] kern/4021 peter Local mount of a local NFS exported direc o [1997/07/31] kern/4200 peter NFS: "vm_fault: fault on nofault entry" w o [1997/10/01] kern/4673 Two panics, now crash dumps, always in re o [1997/11/10] kern/4996 peter NFS crash, possibly related to file bigge o [1997/11/24] bin/5139 sheldonh portmap does not find interfaces correctl f [1997/12/21] kern/5355 Fix for NULLFS problems o [1998/02/03] kern/5641 peter running processes at the IDLE priority (i o [1998/02/10] kern/5703 CDROM Media Error triggers complete syste o [1998/03/23] bin/6121 peter gethostbyname(3) no longer returns NO_DAT s [1998/05/13] kern/6630 julian [PATCH] Fix for Cyrix I8254 bug o [1998/06/23] kern/7028 Panic in vinvalbuf when appending/looking o [1998/07/12] kern/7264 gibbs Buslogic BT 950 scsi card not detected o [1998/08/15] kern/7622 Kernel panic with Fatal trap 18. o [1998/09/08] i386/7859 luigi fatal trap 12 in midi_synth_input f [1998/09/14] kern/7927 n_hibma Fatal trap 12: page fault while in kernel o [1998/09/28] kern/8074 se CAM rescan operation fatal o [1998/10/03] gnu/8138 obrien gcc -pipe xxx.s hangs f [1998/10/06] i386/8179 Install failure with motherbord using SIS f [1998/10/08] i386/8214 n_hibma Install 3.0-19981006-BETA fails a [1998/11/08] ports/8609 nectar eklogin service (kerberos klogind) fails f [1998/11/12] i386/8673 bug in vm_page_alloc_contig() o [1998/11/24] bin/8829 bug in innetgr (was: Fix port: security/s f [1998/11/25] kern/8861 n_hibma under heavy (multi interface) traffic ep0 f [1998/12/09] kern/9036 Boot 3.0-Release hangs with BT-445S after a [1999/01/05] kern/9334 n_hibma cp fails for 2048 Bytes/sector media o [1999/01/27] kern/9742 tx driver for smc autodetects fine, but n o [1999/02/02] misc/9885 BIND 8.1.2 core dumping o [1999/02/19] kern/10166 panic during heavy sio i/o;no coproc; ves o [1999/02/20] kern/10172 panic: cannot allocate pipe - out of kvm o [1999/02/23] kern/10224 panic: pipeinit: cannot allocate pipe -- s [1999/02/26] kern/10281 Crash of 3.1-STABLE system due to scsi er o [1999/02/26] i386/10282 PCMCIA problems in 3.1-RELEASE? o [1999/03/01] kern/10332 gibbs System freezes during certain SCSI activi o [1999/03/01] bin/10344 fenner Core dump in gethostbyaddr for 199.93.70. o [1999/03/05] kern/10397 3.1R page fault while in kernel mode, fro o [1999/03/07] misc/10473 Incorrect aout compat libraries in XF8633 o [1999/03/09] kern/10507 Process hangs in state VM pgd o [1999/03/09] misc/10509 Cvs can hang system when used with pserve o [1999/03/09] kern/10520 can't exec files under nullfs o [1999/03/11] kern/10542 page fault while in kernel mode, not kern o [1999/03/11] kern/10545 When a fork/exec stress test is run, the o [1999/03/12] misc/10566 obrien patch dhcpc problem on /etc/pccard_ether o [1999/03/17] kern/10636 ipfw problems o [1999/03/19] i386/10683 I have a buslogic BT-948 FW controller. W o [1999/03/20] i386/10690 Installation freezes after device selecti f [1999/03/20] kern/10701 ppbus printing problems o [1999/03/22] ports/10725 stb Wrong Cyrus IMAP deliver group o [1999/03/23] bin/10744 call to login() from aout/libutil.so.2.2 o [1999/03/27] kern/10828 3.1-STABLE freezes when writing to floppy o [1999/03/29] kern/10866 ahc2740 panic o [1999/03/30] kern/10872 Panic in sorecieve() due to NULL mbuf poi o [1999/04/05] kern/10959 3.1-STABLE crashes due to a floppy mount o [1999/04/05] ports/10965 obrien lcc-3.6 unable to compile anything o [1999/04/08] kern/11023 Synchronous PPP not functional in leased o [1999/04/13] kern/11112 Amanda on FreeBSD can wipe the _next_ tap o [1999/04/16] kern/11180 boot of fresh bsd3.1 hangs o [1999/04/17] kern/11196 n_hibma kernel mode page fault o [1999/04/19] kern/11226 Invalid files on disk after fsync o [1999/04/20] kern/11238 Synchronous PPP not functional in leased o [1999/04/20] kern/11241 Install fails after SCSI probe o [1999/04/22] i386/11278 FreeBSD Version 3.1 reboots repeatedly (c o [1999/04/23] i386/11298 Enabling IDE DMA on Opti Viper-M crashes o [1999/04/26] kern/11330 page fault in generic_bzero o [1999/04/26] conf/11343 worm; problems with installation and boot o [1999/04/26] i386/11349 Error Mounting /dev/wd0s1 on dist during o [1999/04/27] kern/11351 system reboot for error with popper and d o [1999/05/01] kern/11434 can't boot from wd0s2a a [1999/05/03] kern/11470 dillon V3 NFS problem o [1999/05/04] i386/11488 Error while starting FreeBSD o [1999/05/10] kern/11629 File descriptor table sharing is broken o [1999/05/12] kern/11680 server freezes, all processes stuck in "i o [1999/05/13] i386/11681 gibbs Adaptec 2940 UW SCSI Controller BIOS 1.34 o [1999/05/14] kern/11707 ncr isn't recognized in 3.1-19990512-STAB f [1999/05/17] bin/11744 perllib fails to build o [1999/05/24] kern/11869 wpaul Network hangging due to xl0: tx underrun o [1999/05/31] kern/11966 TCP copies send and receive socket buffer f [1999/06/01] kern/11984 pthread_kill cannot kill select() threads o [1999/06/02] kern/11988 recvmsg with a cmsghdr but no iovec is br o [1999/06/02] kern/11993 panic: getnewbuf: inconsistent EMPTY queu f [1999/06/05] kern/12041 n_hibma Crashes on startup if Zip drive is switch o [1999/06/06] conf/12050 No /sbin/init on fixit flop o [1999/06/07] kern/12072 vm_fault happened in binary file transfer o [1999/06/09] ports/12098 se KDM not config'd properly o [1999/06/09] kern/12106 error 6: panic: cannot mount root o [1999/06/10] kern/12127 persistent crash on idle SMP system o [1999/06/15] kern/12233 Fvwm2 causes FreeBSD-current to hang or r o [1999/06/16] bin/12243 NFS re-mount from Solaris 7 server hangs o [1999/06/16] kern/12248 CRON in malloc(): warning: pointer to wr o [1999/06/18] i386/12286 Segmentation violation when invoking JNI s [1999/06/23] kern/12367 Writing files larger than floppy capacity o [1999/06/25] misc/12390 Installation hangs during extraction o [1999/06/25] kern/12395 gibbs Buslogic SCSI cards (BT948) time out unde o [1999/06/30] kern/12466 Fast system hangs under high FS load o [1999/07/05] kern/12521 lmbench-1.1's context switching test hang o [1999/07/12] misc/12607 System crashes after boot, portmap endles o [1999/07/13] alpha/12623 alpha Certain valid numeric strings cause a SIG f [1999/07/20] misc/12720 gdbm (And possibly other libraries in /us o [1999/07/21] kern/12730 poll() causes indeterministic program han o [1999/07/21] misc/12743 Cannot boot the 3.2 floppies o [1999/07/23] i386/12777 jkh 3.1 RELEASE -> 3.2 upgrade is incomplete, o [1999/08/02] misc/12923 Installation fails on HP Net Server o [1999/08/04] kern/12980 NetGear Dec 21140AF Ethernet Card unrecog o [1999/08/06] bin/12998 des still inetd junk pointer too low to make o [1999/08/10] i386/13059 imp Install aborts with panic:aha0: Invalid C o [1999/08/11] kern/13075 signal is not posted for async I/O on raw a [1999/08/20] kern/13270 dillon NFS hangs if written through self-mount o [1999/08/23] alpha/13338 alpha panic: pmap_remove_all: pv_table for 162b o [1999/08/24] kern/13352 No support for Promise Ultra/66 o [1999/08/30] misc/13474 Maximum Number of IPs Permitted in the .. o [1999/09/07] bin/13615 awk corrupts the memory arena when OFMT i o [1999/09/09] alpha/13653 alpha panic: pmap_remove_all: pv_table for 90b6 o [1999/09/12] kern/13709 panic: sched_sync: fsync failed o [1999/09/17] i386/13797 SMP/NFS panics on 3.3-RC o [1999/09/18] i386/13802 freebsd 3.3 fails to boot with irq proble o [1999/09/19] i386/13817 system reboot o [1999/09/19] kern/13825 tx0 "holds" packets for long periods, eve o [1999/09/19] i386/13844 keyboard locks up when I page through a m f [1999/09/20] i386/13849 grog dump on vinum r5 freezes system o [1999/09/22] i386/13892 Kern.flp does not boot on Compaq Presario o [1999/09/24] i386/13933 nfs server panics in tulip_rx_intr() o [1999/09/24] kern/13940 Panic with dd on block/"cooked" devices u o [1999/09/24] kern/13944 ATAPI cd-rom not boot to install, nor de o [1999/09/27] misc/13995 Full duplex mode doesn't work right with o [1999/09/28] kern/14028 ATAPI cd-rom not boot to install and can' o [1999/09/28] i386/14030 imp aha0 probe fails 3.3.0-RELEASE install wi o [1999/10/05] kern/14141 3.3-RELEASE crashing often o [1999/10/05] ports/14154 obrien xwpe is not completely compiled o [1999/10/06] kern/14162 sudden reboot problem ( maybe kernel pani o [1999/10/08] misc/14204 error 6: panic: cannot mout root(2) o [1999/10/08] ports/14205 se kde lock screen can't verify passwd o [1999/10/10] i386/14256 System doesn't boot under FreeBSD 3.2 o [1999/10/14] kern/14322 mount respects permissions of underlying o [1999/10/15] kern/14347 kdump & truss won't compile because addit o [1999/10/17] i386/14373 Error while booting from floppy disk o [1999/10/24] i386/14492 FreeBSD won't install/work with an Asus S o [1999/10/25] kern/14510 kernel panic while pressing sin_family o [1998/02/01] kern/5618 kernel memory leak in routetbl. o [1998/02/01] kern/5624 dumping to tape causes scsi bus reset o [1998/02/04] kern/5643 NCR 810/815 do not handle rewind correctl o [1998/02/09] bin/5693 hoek groff -mm or groff -mmm ??? o [1998/02/10] i386/5698 des LPIP causes spurious reboots o [1998/02/12] kern/5728 peter NFS hangs o [1998/02/12] kern/5731 peter executables wedge on "vmopar" when built o [1998/02/17] gnu/5767 man leaves partially formatted cat pages o [1998/02/19] kern/5794 Kernel Panic f [1998/02/27] bin/5867 peter pppd or FreeBSD ? o [1998/02/28] kern/5877 sb_cc counts control data as well as data o [1998/03/01] kern/5890 peter NFS server Side say NFSERR_BAD_COOKIE (rm o [1998/03/09] bin/5959 Cannot set up clocal gettys o [1998/03/10] kern/5969 non-root user can reboot/lock up system o [1998/03/11] kern/5975 can't boot freebsd: fatal trap12: page fa o [1998/03/14] conf/6002 peter /etc/mail/sendmail.cf.addtions seems to l o [1998/03/16] kern/6035 The system "sort-of" hangs when playing b o [1998/03/19] kern/6066 lnc driver does not work correctly with A o [1998/03/22] i386/6099 des LPIP to slow machine causes hang o [1998/03/22] kern/6103 panic: ffs_valloc: dup alloc o [1998/03/28] bin/6162 kinit does not default to the current use o [1998/04/03] kern/6203 kernel panics with "blkfree: freeing free o [1998/04/03] conf/6205 NFS/NIS freak out o [1998/04/04] kern/6212 Two bugs with MFS filesystems fixed, one o [1998/04/07] kern/6238 luigi Sound-driver patch for MAD16 (OPTi 928,92 o [1998/04/08] kern/6251 peter ktrace very broken when logging over NFS o [1998/04/08] kern/6252 ide cdrom hangs system when on same bus a o [1998/04/09] kern/6253 Atapi wait for command phase too short. o [1998/04/10] kern/6267 dg panic: pmap_dispose_proc: upage already m o [1998/04/14] kern/6300 System locks up in SMP mode when accessin o [1998/04/17] kern/6336 peter NFSv3 should support files >2GB, but does o [1998/04/18] kern/6344 cy driver is outdated o [1998/04/19] kern/6351 DPT RAID controller stops working under h o [1998/04/20] i386/6368 Stallion Easyio 8 port not detected using o [1998/04/22] bin/6383 csh - when ctrl-d is pressed, file is chm o [1998/04/25] kern/6412 peter NFS sends packets from the wrong interfac o [1998/05/03] kern/6506 system will not soft reboot f [1998/05/05] kern/6525 Coral-Draw 5 CD crashes 2.2.6-STABLE a [1998/05/06] bin/6536 pppd doesn't restore drainwait for tty o [1998/05/08] bin/6557 /bin/sh is broken o [1998/05/10] bin/6577 /bin/sh environment variables not set in o [1998/05/11] ports/6591 se KDE starts /usr/bin/kzip instead of /usr/ o [1998/05/12] kern/6603 ncr driver hangs under high load o [1998/05/12] bin/6609 gmp.h not installed o [1998/05/17] kern/6670 PANIC on boot with FreeBSD 3.0 (same comp s [1998/05/19] kern/6686 [STABLE] -stable does not support large I o [1998/05/20] kern/6706 mount_msdos+mount_null+mc=panic o [1998/05/25] kern/6751 audio cd play suddenly stops. o [1998/05/25] kern/6755 peter Tulip (if_de) driver buggy in -current o [1998/05/27] kern/6771 peter panic: Bad nfs svc reply s [1998/05/27] misc/6773 [PATCH] tempnam.c security problems o [1998/06/01] misc/6824 peter Intel EtherExpress 100+, 2.2.6 NFS troubl s [1998/06/02] bin/6830 make(1) exhibits confusing and non-standa s [1998/06/04] kern/6854 [PATCH] probing brooktree849 capture card s [1998/06/04] kern/6858 inetd in realloc(): warning: junk pointer o [1998/06/04] misc/6861 [PATCH] netboot error o [1998/06/05] kern/6865 OS crashes when exiting shell with suspen o [1998/06/10] kern/6908 kernel crash from user land o [1998/06/19] bin/6994 The netstat(1) -s generates wrong output f [1998/06/19] i386/6996 Occasional complete lockup of 2.2.5R s [1998/06/22] bin/7019 [security] pwd.db almost always contains s [1998/06/23] bin/7033 Same process notified multiple times o [1998/06/24] kern/7038 shimon Kernel panic caused by DPT driver (Got a s [1998/06/24] bin/7043 the fstat command doesn't know ISOFS, MSD o [1998/06/24] i386/7057 3Com 3C509 locks up, or has >1000ms rtt u s [1998/06/24] bin/7059 sh dumps core on this script o [1998/06/24] ports/7061 ache fspclient's grab command fails (and remov o [1998/07/05] ports/7167 ache elm cannot pgp for more than one recipien s [1998/07/05] kern/7169 cannot use accton on a append-only file o [1998/07/05] kern/7178 sos IDE Western Digital hard disk detection e s [1998/07/06] misc/7190 jkh "Invalid partition table" after new insta s [1998/07/10] kern/7237 NCR SCSI driver ch0 troubles o [1998/07/11] kern/7245 processes die with signal 6, if machine o o [1998/07/12] i386/7266 yokota PSM detection failure with Linksys consol s [1998/07/14] kern/7281 [STABLE] Multicast kludge does not work c o [1998/07/21] conf/7354 source distribution selection bug when in f [1998/07/22] kern/7367 panic: malloc: wrong bucket o [1998/07/23] ports/7383 imp socks5 + ssh + redirection not working o [1998/07/26] kern/7405 in pmap_changebit, pmap_pte_quick() retur s [1998/07/27] kern/7410 [PATCH] driver for arlan-655 s [1998/07/27] i386/7420 [PATCH] Maximum socket buffer size (SB_MA o [1998/07/28] kern/7424 Machine crashes do not occur very often, o [1998/07/30] bin/7446 jdp Dlopen succeed in particular cases, but i o [1998/08/04] ports/7490 ache `setenv LANG/LC_CTYPE C` makes tcsh unusa s [1998/08/10] kern/7556 sl_compress_init() will fail if called an f [1998/08/10] kern/7557 -current machine running Diablo, lockup, s [1998/08/10] kern/7561 CDROM (wcd) is prone to lock up system/pr s [1998/08/10] kern/7562 Running wine can cause other applications o [1998/08/12] bin/7587 There is no pthread_cancel() in libc_r.a! o [1998/08/18] kern/7658 (1) rlogin from some host to the FreeBSD o [1998/08/18] kern/7664 scsiformat reports '0' for all parameters o [1998/08/18] conf/7665 sysinstall quits silently o [1998/08/19] kern/7678 Problems with a 386-16 f [1998/08/20] i386/7698 n_hibma scotty/tkined library error o [1998/08/23] kern/7727 Processes get wedged in 'getblk' on 2.2.7 o [1998/08/27] kern/7754 kernel panics if NFS server uses LKM vs. o [1998/08/27] bin/7756 disklabel misbehaving on seriously sick d o [1998/08/27] kern/7764 ps(1) hangs in pfslck/lockrd - All subseq o [1998/08/27] kern/7766 de driver still buggy - random ifc death o [1998/08/27] kern/7767 de driver still buggy - power cycle of de o [1998/09/01] kern/7797 System halted with "panic: pmap_release: o [1998/09/02] i386/7815 probe can't find wdc0 s [1998/09/03] gnu/7821 awk in free(): warning: chunk is already o [1998/09/03] conf/7823 sysinstall will not install XFree o [1998/09/09] bin/7872 [PATCH] mountd(8) can apply flags to wron o [1998/09/09] bin/7876 gethostbyname flags temporary failure as o [1998/09/09] bin/7877 billf libpcap and tcpdump need updating o [1998/09/10] kern/7880 mount_cd9660 incorrect on multitrack CD-R o [1998/09/11] kern/7902 if_de doesn't properly recognize a "Magic o [1998/09/12] conf/7908 wrong perms on objformat after upgrade o [1998/09/16] kern/7950 Trap 12 while executing wine o [1998/09/16] gnu/7951 The gnu readline library core dumps when o [1998/09/17] bin/7968 If /usr/libexec/yppwupdate DNE, rpc.yppas o [1998/09/22] conf/8031 [patch] /etc/rc looks for /etc/sendmail.c o [1998/09/28] misc/8070 can't get a system with an NCR 810 contro o [1998/09/28] i386/8081 Problem with MULTIPORT driver and Boca BB o [1998/09/29] bin/8085 sendmail startup could be backgrounded o [1998/09/30] gnu/8099 [patch] some bugs in cpio o [1998/10/03] kern/8137 [patch] quotaoff followed by quotaon can o [1998/10/05] kern/8158 sio driver breaks in 2.2.7R in kernels wi o [1998/10/06] kern/8180 open("..",O_RDONLY|O_NONBLOCK) fails o [1998/10/07] bin/8195 ee dumps core on window resize o [1998/10/08] kern/8206 [patch] Unconected UDP socket declined, i o [1998/10/08] kern/8215 Creating 2 root partitions in sysinstall o [1998/10/11] bin/8266 [patch] nfsd should allow just nfs versio o [1998/10/12] bin/8281 writev() in libc_r causes loop o [1998/10/13] kern/8312 Under heavy load, the system panics with o [1998/10/14] bin/8322 Mail doesn't respect REPLYTO in .mailrc o [1998/10/14] kern/8324 failure to deliver SIGIO when fildes mark o [1998/10/19] conf/8379 check_rcpt returns OK for nonexistent add o [1998/10/20] kern/8380 swap_page error: out of swap space o [1998/10/20] i386/8385 2.2.7 hangs while detecting type of COM1' o [1998/10/20] ports/8394 peter rdist6 won't compile--tries to use MOUNT_ o [1998/10/21] i386/8397 Code using popen compiled on BSDI BSD/OS o [1998/10/22] i386/8414 ibcs2 emulation sets serial baud-rate inc o [1998/10/22] kern/8415 SMP kernel freezes while downloading larg s [1998/10/22] kern/8417 3.0 config(8) doesn't check that root fs o [1998/10/22] i386/8418 sh MAKEDEV all - fails to create hard lin o [1998/10/23] kern/8423 Intel PILA8461 NIC panics 2.2.7 during pr o [1998/10/24] i386/8435 boot.flp does not give shell prompt after o [1998/10/28] misc/8480 odd Korean timedef(LC_TIME) o [1998/10/31] bin/8518 freopen() in append mode followed by ftel o [1998/11/01] kern/8534 insufficient support routines for poll(2) o [1998/11/03] kern/8561 /kernel inode change time changes every r o [1998/11/03] i386/8567 Intel EtherExpress Pro/10 driver (if_ex.c o [1998/11/05] kern/8580 Hanging NFS pagein in nfs_bio.c (2.2.7, w o [1998/11/07] kern/8590 kernel incorrectly recognizing Maxtor 11. o [1998/11/07] kern/8596 panic: page fault while using ping's reco o [1998/11/08] kern/8607 maxprocsperuid setting causes sybase/linu o [1998/11/08] kern/8619 EXT2FS should be in GENERIC kernel o [1998/11/08] ports/8622 peter exmh2 has problems with some date formats s [1998/11/09] misc/8623 wollman [MFC] Time zone for Japan is strange (see o [1998/11/10] bin/8646 Implement rlogind -a option o [1998/11/11] kern/8655 Umount trouble of SCSI removable device o [1998/11/11] kern/8657 nfs client hung in nfs_bwrite/vfs_busy_pa o [1998/11/12] kern/8669 aio_write() and aio_read() do not work AT o [1998/11/14] kern/8683 sos Problems with Atapi in 3.0... o [1998/11/14] bin/8685 sending a SYST by ftp client closes conne o [1998/11/17] kern/8729 SYSV Semaphore blocks all threads o [1998/11/18] bin/8745 wosch adduser permit adding `root' and mail ali o [1998/11/20] kern/8773 Intel AN430TX motherboard ps/2 port not r f [1998/11/20] kern/8778 gibbs Buslogic BT948 in 2 boxes upgraded from S o [1998/11/23] kern/8824 Incorrect driver unit number in IDE BusMa o [1998/11/24] kern/8834 NFS can corrupt local file cache o [1998/11/24] conf/8854 boot.flp does not probe atapi cdrom o [1998/11/24] i386/8855 sos can't mount CD in ATAPI drive after eject o [1998/11/25] bin/8865 syslogd hangs with serial console a [1998/11/28] kern/8875 Patch to allow DMA IDE with generic chips o [1998/11/29] conf/8903 /etc/rc can do NFS mounts before the netw o [1998/12/01] i386/8924 File transfers. Upload is 71Kbs downloa o [1998/12/02] kern/8940 system clock runs extremely slowly (and s o [1998/12/06] kern/8981 this also fixes X crashes and sio silo ov o [1998/12/09] kern/9030 DMPno2 - PCCards are not being recognised o [1998/12/10] i386/9044 #.0 pkgs require libkrb o [1998/12/16] kern/9095 swap detect error o [1998/12/19] kern/9129 Is it miss take ? So, ep deriver dose not o [1998/12/20] i386/9140 NIS "Magic cookie" in master.passwd slays o [1998/12/21] kern/9163 [patch] squid does not join a multicast g o [1998/12/27] bin/9214 kldload(8) error messages are inadequate o [1998/12/30] i386/9244 2.2.8 RELEASE Fixit floppy doesn't work.. o [1998/12/31] bin/9252 [patch] login program "login" don't set K o [1999/01/03] kern/9296 pps driver missing header file o [1999/01/03] kern/9297 pps driver doesn't clear ppbus control po o [1999/01/06] bin/9350 nvi incorrectly reads files with very lon o [1999/01/06] kern/9355 can't select() for writes on a bpf o [1999/01/07] bin/9362 "lpc start queue" doesn't work in 3.0-R & o [1999/01/07] bin/9379 pppd does not go through all interfaces l o [1999/01/08] kern/9391 if_addmulti doesn't check for retifma == o [1999/01/09] kern/9407 "make kernel" yields buggy kernel in cera o [1999/01/09] kern/9408 parameter reversed to a pci_cfgwrite in p o [1999/01/09] kern/9411 System crash on swapping to hole-files o [1999/01/09] kern/9413 profiling does not work with elf kernels o [1999/01/11] bin/9440 obrien amd can't mount filesystems with type:=uf o [1999/01/11] bin/9444 mount_mfs uses lots of swap. o [1999/01/12] bin/9464 fenner Fix for fetch ignoring FTP_PASSIVE_MODE e o [1999/01/13] kern/9478 support for running a script from kldload o [1999/01/14] kern/9487 pcm: mixer's synth and cd devices are swa o [1999/01/14] bin/9495 su doesn't look at login.cnf all the time o [1999/01/15] bin/9516 ftpd doesn't honor invalid shelll in logi o [1999/01/17] kern/9537 ep0 driver : no buffer space available o [1999/01/17] bin/9544 syntax error concerning loading vinum fro o [1999/01/17] kern/9548 UNION fs corrupts data and has undefined o [1999/01/17] kern/9550 The latest -current as of 17 January has o [1999/01/21] kern/9599 SMP hang after reseting CPU 1 o [1999/01/21] kern/9612 grog NFS mounts on dual-homed server may hang o [1999/01/22] docs/9618 hoek many typos in groff_mm(7) o [1999/01/24] ports/9665 ache cannot start apache server o [1999/01/25] kern/9673 ISO CD-ROM Problem o [1999/01/25] ports/9688 cwt The current tcl80 port has problems, does o [1999/01/28] i386/9759 Tar process hangs on buggy tapes o [1999/02/01] kern/9862 system crashes writing to msdos jaz disk o [1999/02/02] kern/9883 MGET()(and variants) return NULL with M_W o [1999/02/04] misc/9903 thread enabled program can't use popen/sy o [1999/02/04] kern/9910 Heavy traffic renders FreeBSD acting as f s [1999/02/06] kern/9927 gibbs the ahc driver doesn't correctly grok swi o [1999/02/06] i386/9933 No error reported writing to write-protec o [1999/02/06] kern/9935 vmstat reprots bad AVM values o [1999/02/08] kern/9961 When loading if_ppp_mod.o system crashes, o [1999/02/08] i386/9962 Install Panics in with integer divide fau o [1999/02/08] kern/9974 Large amounts of kernel clock drift with o [1999/02/09] kern/9980 savecore fails with large (2gig+) swap pa o [1999/02/09] bin/9982 inet_addr(3) should be return 32bit uint. o [1999/02/10] misc/10009 jdp dlopen will crash when opening some strip o [1999/02/11] kern/10021 MOUNTING A EXT2FS A AFTER MOUNTING AN MSD o [1999/02/11] bin/10031 ypxfr does not work with Solaris master s o [1999/02/13] kern/10066 problem with a X-Window and syscons drive o [1999/02/14] i386/10089 ATAPI tape driver (wst) doesn't handle En a [1999/02/14] ports/10094 jfitz autogeneration of msql user failed o [1999/02/15] kern/10107 interlock situation with exec_map and a p o [1999/02/18] i386/10150 Compaq fxp0 Does not work on 3.0 or 3.1 b o [1999/02/18] i386/10151 ATAPI CD problem o [1999/02/19] conf/10163 init does not start when /var/msgs is a s o [1999/02/23] bin/10230 -T and -B not implemented on filehandles o [1999/02/25] misc/10259 FTP install hangs for 3.1-RELEASE o [1999/02/25] bin/10264 passwd(1) tryis NIS even with `-l' switch o [1999/02/25] kern/10265 file locking does not work with kernel pt o [1999/02/26] kern/10280 Display Adapters (PCI) probed wrong way - o [1999/02/28] misc/10302 installer o [1999/02/28] bin/10312 ken pciconf -l generates output incompatible o [1999/02/28] kern/10316 le0 goes OACTIVE after some time o [1999/03/01] bin/10341 memory leak in setenv(3) o [1999/03/02] bin/10353 ypserv gets segmentation violation o [1999/03/03] kern/10381 hlfsd/NFS failure -- directory cached bet o [1999/03/05] kern/10411 top, vmstat, iostat show 0% cpu idle & us o [1999/03/06] misc/10418 libpam is built before libradius/libtacpl o [1999/03/07] kern/10466 resume causes crashes if BIOS extmem != R o [1999/03/08] kern/10492 broadcast IP address can be set on interf o [1999/03/09] bin/10510 Remote cvs botches commits on occassion o [1999/03/09] bin/10511 incorrect return value in kvm_read(3) and o [1999/03/11] bin/10553 syslogd suddenly stopped logging o [1999/03/14] kern/10581 Kernel panic while using find on an ext2 o [1999/03/14] kern/10594 EXT2FS mount problems o [1999/03/14] bin/10596 I can't find out where someone is logged o [1999/03/15] misc/10599 [PATCH included]malloc/free breaks in cer o [1999/03/15] kern/10603 dcs Random system panics o [1999/03/15] kern/10607 Fast forwarding breaks when arp cache exp o [1999/03/16] bin/10615 make installworld DESTDIR=/some/dir o [1999/03/16] i386/10626 RTC BIOS diagnostic error on install o [1999/03/16] bin/10633 obrien [patch] tcpslice timezone problem and upd o [1999/03/17] i386/10646 Bridge code missing from ed0 driver in 3. o [1999/03/19] kern/10671 setlogin(2) return EINVAL for length of n o [1999/03/20] kern/10698 de driver doesn't work with some tulip bo o [1999/03/23] kern/10747 [PATCH] ipfirewall `deny' rules act as `r o [1999/03/24] bin/10774 sio0 doesn't work well, i belive the prob o [1999/03/24] kern/10778 "ipforward_rt" is not cleared when routin o [1999/03/25] bin/10784 `make aout-to-elf-build' died in /usr/src o [1999/03/25] bin/10785 make aout-to-elf-install died in info tar o [1999/03/25] kern/10789 Second config of kernel doesn't overwrite o [1999/03/26] bin/10807 host(1) is broken - multiple options in o o [1999/03/27] bin/10821 des getpwent() fails on NIS clients after dro o [1999/03/29] i386/10862 dcs wd.c STILL cannot recognize correct disk o [1999/03/30] kern/10870 eivind Kernel panic when writing to write-protec o [1999/03/30] misc/10879 Cannot build aout binaries under 3.1-RELE o [1999/03/30] bin/10880 Profiler libraries missing o [1999/04/01] bin/10912 /bin/sh: Fix to prevent infinite loops on o [1999/04/03] i386/10928 su reboots the system after one day uptim o [1999/04/03] i386/10935 PCI cards detected twice o [1999/04/04] ports/10946 se kdm 1.1 does not work correctly - XBINDIR o [1999/04/05] bin/10963 brian date -v dosen't quite work o [1999/04/05] i386/10969 kernel fails to compile with ccs0 o [1999/04/06] i386/10983 lnc NIC driver doesn't work o [1999/04/06] bin/10991 lpd hangs system if printer not ready on o [1999/04/07] kern/11004 Quota Issues on SMP o [1999/04/07] bin/11005 `umount -f' does not work if the NFS-serv o [1999/04/08] misc/11024 getpwnam(3) uses incorrect #define to lim o [1999/04/10] ports/11059 ache ports/security/pgp does not extract o [1999/04/11] kern/11080 fatal trap 18 while trying to mount inval o [1999/04/11] kern/11084 3.1-R kernel trap 12 with interrupts o [1999/04/13] kern/11115 Sockets die in LAST_ACK and FIN_WAIT_1 st o [1999/04/13] bin/11119 NFS quotas fail to report if alternate fi o [1999/04/14] bin/11137 /bin/ps output loses the values for all p o [1999/04/16] kern/11164 The ie network driver panics during the i o [1999/04/16] bin/11169 warning: pointer to wrong page in cron(8) o [1999/04/18] kern/11199 3.1-RELEASE kernel page fault (trap 12) u o [1999/04/18] i386/11200 AMD PCnet lnc0/lnc1 problem o [1999/04/18] kern/11208 Complete system hang/freeze. No PANIC me o [1999/04/20] bin/11247 fetch doesn't notice FTP error after RETR o [1999/04/21] kern/11255 Fore System ATM Card not working o [1999/04/21] kern/11266 frequent crashes with "Page fault, fatal o [1999/04/22] bin/11283 fetch http-timeout/timestamp bug o [1999/04/23] i386/11291 anic: ffs_alloccg: map corrupted o [1999/04/23] bin/11296 fetch(1) fails to resolve names in http m o [1999/04/26] conf/11336 Broken data sent to printer through devic o [1999/04/28] kern/11366 Filesystem can cause hang/crash in certai o [1999/04/28] conf/11376 NFS mount may be happening too soon in /e o [1999/04/29] bin/11382 generated code using rpcgen with -b optio o [1999/04/29] kern/11385 PCNet/PCI Ethernet adapter works in 3.1-R o [1999/04/29] i386/11395 ghostscript5.50 does not print properly, o [1999/04/30] kern/11405 pwd_mkdb with no tmp space leads to kerne o [1999/05/02] i386/11454 mkdir() and chdir() doesn't check argumen o [1999/05/03] kern/11462 CS network interface driver (for CS89XX b o [1999/05/03] bin/11464 obrien union copies likely broken for alpha egcs o [1999/05/04] kern/11490 yokota VESA+VM86+Splash == unstable system o [1999/05/05] kern/11507 msmith CS89XX (i386/isa/if_cs.c) fails to proper o [1999/05/05] kern/11513 cannot mount CD-ROM: Device not configure o [1999/05/05] misc/11523 3.1-STABLE BRIDGE option does not work o [1999/05/05] misc/11525 [PATCH] Networking patches to increase # o [1999/05/07] gnu/11562 tar verification doesn't work o [1999/05/07] kern/11563 pci_unmap_int doesn't do anything o [1999/05/10] ports/11636 jfitz p5-Mail-Folder missing dependencies o [1999/05/12] i386/11664 lnc1 NIC fail to work o [1999/05/12] bin/11666 ypserv fails to reply host name resolutio o [1999/05/12] kern/11679 httpd and perl5 processes stuck in "nocha o [1999/05/13] kern/11686 APM: Always "Resume failure" from suspend o [1999/05/13] kern/11692 3.1-stable deadlock o [1999/05/13] kern/11697 dg Disk failure hangs system o [1999/05/14] i386/11720 FreeBSD 2.2.8 can't load fixit disk o [1999/05/18] kern/11766 Can not traceroute through ipnat. o [1999/05/18] i386/11773 yokota mouse works at setup time. Under X it go o [1999/05/19] misc/11778 mpz_get_str() in libgmp leads up to cored o [1999/05/19] misc/11790 boot manager bug o [1999/05/20] misc/11800 gibbs Problem with scsi AHA2940 and sony SDT-20 o [1999/05/20] i386/11801 Remounting CD on IDE CDROM after eject fa o [1999/05/20] kern/11808 read/write mounted write-protected floppi o [1999/05/21] kern/11815 mjacob SCSI tape driver fails on media type reco o [1999/05/21] kern/11821 /dev/fd0a hangs on large files, including o [1999/05/22] docs/11852 jkh 3.X install requires 12MB of RAM, not 8 o [1999/05/23] kern/11867 Sound driver loses interrupts, no sound o [1999/05/28] kern/11911 3.1-R : writing file larger than floppy s o [1999/05/28] conf/11913 jkh Problem about /stand/sysinstall and /etc/ o [1999/05/28] kern/11915 access system call says file is readable o [1999/05/28] kern/11919 kldload doesn't return error on loading a o [1999/05/28] kern/11922 missing reentrant interfaces for getpwnam o [1999/05/29] kern/11928 kldload loads kernel modules even if ther o [1999/05/29] kern/11936 wine don't work (SMP) (-STABLE) o [1999/05/29] kern/11937 vm problems after havy memory usage o [1999/05/31] kern/11969 VM_fault with mmap'd CDROM data. o [1999/06/02] i386/11991 fdisk does not assign slices to unused pa o [1999/06/02] bin/11992 /usr/src/sbin/mountd/mountd.c has '#ifdef o [1999/06/04] kern/12022 System clock timewarps o [1999/06/06] bin/12054 explicit -ltermcap after -lncurses causes o [1999/06/06] kern/12062 sa tape driver with Cipher 60M SCSI QIC t o [1999/06/08] bin/12091 syslog packets from a remote machine are o [1999/06/08] kern/12092 vpo driver not working in 3.2-RELEASE o [1999/06/09] kern/12104 Certain cdcontrol commands don't work pro o [1999/06/10] bin/12120 named crashes. o [1999/06/10] gnu/12122 cc hangs on STDIN with -pipe and .s files o [1999/06/11] bin/12136 obrien /sbin/dhclient-script: weird route comman o [1999/06/11] bin/12137 something wrong with shell -- functions w o [1999/06/12] ports/12174 ache bash terminate with corefile if pid > 320 o [1999/06/12] gnu/12175 gdb crashes with pids > 32736 o [1999/06/13] bin/12191 wcol is trying to allocate a shared memor o [1999/06/15] misc/12221 djpeg halt's freebsd box o [1999/06/16] bin/12242 segmentation fault running /usr/bin/fmt o [1999/06/16] kern/12247 userlevel program let kernel hang o [1999/06/17] kern/12262 pcm sound driver with SB16pnp does not ap o [1999/06/18] bin/12272 The ctype locales print an error message o [1999/06/18] kern/12274 cd mount problem o [1999/06/20] kern/12305 clock() ticks backwards o [1999/06/21] kern/12320 error 6: panic: cannot mount root (2) o [1999/06/22] bin/12349 des 3.2-R inetd doesn't re-read ALL configura s [1999/06/24] kern/12381 bde Bad scheduling in FreeBSD o [1999/06/25] conf/12387 CDROM boot failure on Thinpad 770X, 380ED o [1999/06/25] kern/12394 3.2-RELEASE, rl0 ethernet interface freez o [1999/06/28] kern/12434 signal 11 (core dumped) on mysqld when ma o [1999/06/30] kern/12464 bad reference in struct vm_zone o [1999/07/01] kern/12484 [PATCH] bpf_filter() broken o [1999/07/03] bin/12496 yppush broken when pushing to 2 or more s o [1999/07/06] i386/12529 Linksys ether16 NE2000 compat. won't conf o [1999/07/06] bin/12538 getpwuid() NIS UID override fails o [1999/07/07] kern/12551 mks ASIC output is shifted following a short o [1999/07/07] docs/12557 nik There are no man pages for the widely use a [1999/07/08] bin/12564 jkh Sysinstall can not use live filesystem fr o [1999/07/09] misc/12577 Can't link code using catopen o [1999/07/09] ports/12584 stb directories made during 'make install' ar o [1999/07/13] kern/12632 Panic (trap 18) with Symbios SCSI control o [1999/07/14] ports/12637 ports patch to help multi-byte support in windo o [1999/07/14] misc/12640 Can use 2nd CD-ROM for fixit mode. o [1999/07/15] kern/12646 IGMP reports not sent if no multicast rou o [1999/07/16] gnu/12662 tar verification doesn't work in 3.2-RELE o [1999/07/18] kern/12703 tx0 truncates skip packets o [1999/07/20] bin/12727 billf Game patches from NetBSD o [1999/07/21] conf/12745 diffs to delay start of amd rwhod timed o o [1999/07/21] ports/12746 ache problem with bash-2.03(1) port (/usr/port o [1999/07/21] i386/12749 marcel Bug in link() and all other filename func o [1999/07/22] kern/12758 Adjusting the idle priority of a process o [1999/07/23] i386/12771 lpt hangs and never works again, even aft o [1999/07/24] kern/12800 buffer leak in cluster_wbuild o [1999/07/26] alpha/12821 alpha slib.aq for the 3.2-RELEASE alpha distrib o [1999/07/27] kern/12831 sos CD-rom cannot be mounted o [1999/07/27] conf/12832 config -g creates broken Makefile in 3.2- o [1999/07/27] kern/12838 PC-Card ctlr(0) Vadem 365 support seems b o [1999/07/28] misc/12856 installworld over nfs broken (3.2S) o [1999/07/29] kern/12869 panic: softdep_flushfiles: looping o [1999/07/30] kern/12884 Hot to panic FreeBSD-3.2-Release o [1999/07/31] ports/12905 jmz Graphical setup utility won't always inst o [1999/08/01] bin/12911 alfred NFS umounts are not properly done if just o [1999/08/01] bin/12912 [PATCH] lpd leaves lock file permissions o [1999/08/02] kern/12927 [PATCH] using BROKEN_KEYBOARD_RESET optio o [1999/08/02] ports/12930 asami libtool create defuct makefiles if PREFIX o [1999/08/03] misc/12938 gethostbyaddr(209.201.116.19) - Bus error o [1999/08/04] kern/12979 Response time continually slows on idle m o [1999/08/05] conf/12984 /etc/rc* does not contain any support for f [1999/08/05] docs/12988 doc [Patch] Fix more occurances of 'sd' in FA o [1999/08/05] kern/12991 system queue is cleared when a port or pi o [1999/08/06] kern/12996 ifconf in sys/net/if.c returns larger buf o [1999/08/06] bin/13008 pthread_kill does not always work o [1999/08/07] conf/13013 Selecting CDROM as install media doesn't o [1999/08/08] kern/13022 ipfilter is out-of-date o [1999/08/08] misc/13027 sysinstall has no /dev entry for wfd0s4 ( o [1999/08/10] i386/13058 Installation hangs after commit f [1999/08/13] kern/13113 panic related (proberbly) to vnode o [1999/08/14] kern/13141 se Multiple LUN support in NCR driver is bro o [1999/08/14] ports/13145 se kaudioserver runs amok on logout o [1999/08/15] kern/13150 panic: ufs_dirbad: bad dir o [1999/08/15] ports/13170 ports New port: UW-Imap with maildir and qmail o [1999/08/15] gnu/13172 Bug in workaround of russian locale & sor o [1999/08/16] kern/13180 panic: ffs_alloccg: map corrupted o [1999/08/17] kern/13196 [BTX] page in BTX has problem(quit key) o [1999/08/17] kern/13198 panic: vm_fault: fault on nofault entry o [1999/08/17] gnu/13200 The assembler chokes on very long operand o [1999/08/18] kern/13234 .../netinet/ip_input.c should include opt o [1999/08/21] bin/13286 jhay [SECURITY] Potential IPXrouted(8) /tmp se o [1999/08/24] bin/13350 make clean in bsd.obj.mk no longer proper o [1999/08/24] ports/13370 ache elm-port upgraded, improved o [1999/08/25] misc/13378 Tecra 8000 hangs in UserConfig, cannot co o [1999/08/25] kern/13382 Only 1 parallel port supported if pps ena o [1999/08/25] bin/13383 sys/netinet/in.h violates C++ spec. o [1999/08/26] kern/13405 syslogd get system hang o [1999/08/27] gnu/13427 gdb reports wrong info o [1999/08/28] gnu/13438 objc forward core dump using system cc o [1999/08/29] i386/13452 changing to root device wd0s1a \n error 2 o [1999/08/29] bin/13463 /bin/sh does not handle interrupts correc o [1999/08/30] misc/13470 Old problem re-introduced: TCP sucket buf o [1999/08/31] bin/13504 troubles with the ipfw tool o [1999/09/01] kern/13517 hang system o [1999/09/05] kern/13587 Voxware MIXER_READ ioctl corrupts memory o [1999/09/06] kern/13593 Problems with FIFO and select o [1999/09/07] kern/13612 gibbs "Timedout SCB handled by another timeout" o [1999/09/07] kern/13630 system halts after npx0 detected on 3.2 i o [1999/09/07] kern/13632 Floppy hangs system o [1999/09/08] ports/13636 billf beroftpd also affected by proftpd/wuftpd o [1999/09/08] kern/13644 select(2) timer inaccurate, especially wi o [1999/09/08] kern/13646 Kernel Trap error when booting 3.3-RC ker o [1999/09/09] i386/13655 sysmouse, signal 10 and XF86_S3 o [1999/09/09] ports/13656 obrien update ports: dlint 1.3.3 o [1999/09/10] kern/13678 sos hard lockup's on tsleep in atapi_queue_cm o [1999/09/10] bin/13679 ncurses-based programs eat 100% CPU after o [1999/09/10] bin/13691 tcpslice cannot extract over 2GB part of o [1999/09/11] bin/13703 MCNP compilation problem o [1999/09/12] bin/13711 root fs not properly unmounted after shut o [1999/09/12] ports/13714 stb netatalk-1.4b2+asun2.1.3 fails chmod g+s o [1999/09/13] kern/13721 yokota There is no way to force system panic fro o [1999/09/13] conf/13724 Prevent ".: Out of file descriptors" erro o [1999/09/13] gnu/13729 strip(1) exits with an error on script fi o [1999/09/13] kern/13736 enabling NAT on 3.3RC results in panic sb o [1999/09/13] kern/13740 wrong IP statistics o [1999/09/14] docs/13746 doc Incorrect version in FAQ o [1999/09/14] kern/13752 "tl0: adapter check: 180005" mesages keep o [1999/09/15] kern/13757 wpaul tl0: adapter check: 180005 mesages keep c o [1999/09/15] i386/13765 memory problem: compilation of emacs dies o [1999/09/15] bin/13766 ldconfig doesn't recognize symbolic links o [1999/09/15] bin/13768 sh MAKEDEV cdN creates all cd(N-1)-device o [1999/09/15] misc/13771 brian Packet fragment filter bug in user-land P o [1999/09/16] conf/13775 multi-user boot may hang in NIS environme o [1999/09/16] ports/13776 jmz The XFree86-3.3.5 port -- one of the kerb o [1999/09/16] conf/13785 boot block/manager problem at installatio o [1999/09/17] i386/13787 lnc driver isn't really the lnc driver o [1999/09/18] kern/13810 3.3 panic rlist_free: free start overlaps o [1999/09/18] i386/13811 ide cdrom stops recognizing audio cdroms o [1999/09/19] bin/13818 `ipfw' doesn't grok "log" keyword o [1999/09/19] misc/13837 peter src/contrib/bind is outdated. o [1999/09/19] ports/13839 se kdegraphics11 'make PREFIX' fix, one comp o [1999/09/19] i386/13847 missing support for INT 0x13 extensions i o [1999/09/20] i386/13857 Problem with switching between processes o [1999/09/22] conf/13900 jkh [PATCH] sysinstall can get SIGPIPE if a d o [1999/09/22] alpha/13912 alpha unaligned access Problem seems to be aff o [1999/09/23] misc/13920 pppd acts differently on 3.3-RELEASE ("mi o [1999/09/24] kern/13941 ncr0: SCSI phase error on GENERIC kernel o [1999/09/26] misc/13978 peter a write to last column bug appears since o [1999/09/26] bin/13980 Parameter expansion pattern removal bug i o [1999/09/27] kern/13997 phk RLIMIT_NPROC works unadequately for jails o [1999/09/28] kern/14026 Many network connections get left in the o [1999/09/28] i386/14027 "disklabel -r -w" on new disk reports "No o [1999/09/28] kern/14033 Data acq process gets stuck in vmopar o [1999/09/29] kern/14042 mbuf shortage and allocation with M_WAIT o [1999/09/30] kern/14060 3.3-STABLE on primary mail server panics o [1999/09/30] bin/14069 Buffer overflow in mail(1) o [1999/09/30] kern/14072 Rebooting in FreeBSD 3.3 wipes out known o [1999/10/01] conf/14075 CDROM not being recognized during certain o [1999/10/02] kern/14096 parallel port -- ppi -- driver broken aft o [1999/10/02] conf/14098 routing problem on DHCP client with netwo o [1999/10/03] bin/14102 make world -DWANT_AOUT fails in lib/compa o [1999/10/04] misc/14121 resurfaced bug in rmt preventing remote d o [1999/10/04] kern/14123 lnc driver is not working o [1999/10/04] ports/14128 torstenb Wrong group and mode on postdrop program o [1999/10/04] i386/14135 lpt1 nolonger exists after 3.2-RELEASE o [1999/10/05] kern/14144 bad conversions in kern_fork() o [1999/10/05] ports/14153 obrien xwpe has no distribution tar file o [1999/10/07] misc/14178 FreeBSD 3.2 - Calls from CGI scripts, cro o [1999/10/07] kern/14183 grog bridge forwarding corrupted broadcast IP o [1999/10/07] ports/14186 se kdebase11 package not compiled correctly o [1999/10/09] kern/14226 panic: no mbufs o [1999/10/10] bin/14250 restore(8) can loop if tty goes away or w o [1999/10/10] misc/14254 [Fwd: clock(3) runs backwards! (fwd)] (fw o [1999/10/10] kern/14257 error 6: panic: cannot mount root (2) - d o [1999/10/11] misc/14264 Combination of aio_read(), pthread_cond_w o [1999/10/12] i386/14282 Using FreeBSD 3.* ThinkPad 600E doesn't r o [1999/10/12] ports/14283 ache apache13 htpasswd dumps core o [1999/10/12] kern/14285 dillon NFS client appears to lose data o [1999/10/14] i386/14324 wst OR atapi drivers won't work o [1999/10/14] misc/14326 kerberos4 pam-related breakage in current o [1999/10/14] misc/14327 names used in netdb.h may conflict with n o [1999/10/14] i386/14333 AHA-1542A not supported by FreeBSD 3.x (" o [1999/10/14] i386/14334 imp AHA-1542A not supported by FreeBSD 3.x (" o [1999/10/15] kern/14354 grog vinum cannot compile for alpha o [1999/10/19] ports/14423 obrien Build of lsof fails since 'struct namecac o [1999/10/20] misc/14431 Network Interface Problem o [1999/10/20] ports/14434 ache update ports: ftp/wu-ftpd to 2.6.0 o [1999/10/20] bin/14444 enigma command can't decrypt files encryp o [1999/10/21] i386/14446 Doesn't boot on Mobile Celeron o [1999/10/22] kern/14457 SIOCGIFCONF uses too much memory s [1999/10/23] bin/14472 sheldonh date for Y#K o [1999/10/25] ports/14524 markm PERL 5.005_03 Config.PM on 3.2-STABLE say o [1999/10/25] kern/14536 kernel panic on 64KB block size ufs files o [1999/10/26] kern/14546 SB128PCI work incorrect play wav-files un o [1999/10/26] ports/14548 peter rdist6 has /usr/lib/sendmail compiled int o [1999/10/26] kern/14549 3C509 broken in 3.3 o [1999/10/27] kern/14566 Non-kernel programs have little/no contro o [1999/10/30] ports/14615 taoka [PATCH] Emacs scrambles the screen on the f [1999/10/31] ports/14625 green pidentd doesn't work correctly for finger o [1999/10/31] bin/14626 sendmail 8.9.3 bug with aliases in -CURRE o [1999/10/31] ports/14635 mph Update port: lang/intercal to 0.19 o [1999/11/03] kern/14685 setjmp/longjmp in threaded app cause subs o [1999/11/03] i386/14689 waitpid doesn't harvest child process whe o [1999/11/03] ports/14696 ports New port: wmGrabImage o [1999/11/04] bin/14709 umountall requests possibly mishandled by o [1999/11/04] kern/14712 root has access to NFS mounted directorie o [1999/11/05] kern/14722 TCP connections hangs in FIN_WAIT_2 for > o [1999/11/05] bin/14729 when sysinstall is running as init it sho o [1999/11/06] docs/14738 doc wrong type of arg is described for kgetst o [1999/11/07] kern/14765 Something wrong for UDMA for Gigabyte 586 o [1999/11/07] bin/14782 ypbind can not bind to Solaris NIS master o [1999/11/08] kern/14787 /dev/lpt0 doesn't work unless/until you d f [1999/11/09] kern/14797 Serious locking problem in CURRENT o [1999/11/09] i386/14799 Promise Ultra33 doesn't work o [1999/11/09] i386/14806 if_tun.ko conflicts with built-in tunnel o [1999/11/10] misc/14811 getpwent is not enumerating all entries i o [1999/11/10] kern/14812 de0 driver malfunctions in full-duplex o [1999/11/10] kern/14814 4.0-CURRENT SMP mode causes ep0 slow o [1999/11/11] ports/14826 obrien security/fwtk smapd calls sendmail with w o [1999/11/12] bin/14844 rwhod is remotely crashable o [1999/11/12] kern/14848 Frame Relay support, corrected o [1999/11/12] kern/14849 newpcm doesn't work with Vibra16X o [1999/11/12] misc/14856 billf ftp stalls on FreeBSD 3.3 (CDROM) tested o [1999/11/13] ports/14862 ports [update] X-TT 1.2 -> 1.3 o [1999/11/14] ports/14883 dbaker ports/misc/rc5des build fails o [1999/11/14] ports/14885 ports ports/net/pipsecd build fails o [1999/11/14] ports/14888 ports ports/security/bjorb build fails o [1999/11/14] kern/14890 ffs_valloc: dup alloc o [1999/11/15] misc/14895 portmap bug (when run with -v flag) o [1999/11/15] kern/14900 3.3-RELEASE panic in pmap_pte_quick() o [1999/11/15] i386/14907 ipfw show take wrong values of counter/or o [1999/11/15] conf/14913 Fix for "arplookup 127.0.0.1 failed: coul o [1999/11/16] kern/14917 grog DMA doesn't works with ALI ALADDIN M1543/ o [1999/11/16] kern/14918 Write access to write protected media cau o [1999/11/16] bin/14920 install(1) hangs when intalling files sam o [1999/11/16] ports/14926 ports JBIG-KIT port upgraded to the version 1.1 o [1999/11/16] misc/14932 "more" eating up CPU on users with shell= o [1999/11/16] i386/14937 ipfw -a list show wrong information o [1999/11/17] ports/14944 ports No stable Gimp in ports o [1999/11/17] i386/14946 rmt - remote magtape protocol o [1999/11/17] ports/14955 jmz XFree86-port does not support ru_SU.* loc o [1999/11/17] kern/14960 Compaq EISA array controller not working o [1999/11/17] kern/14962 PnP doesn't detect AWE64 when PnP modem i o [1999/11/17] misc/14964 Network Interface Configuration Problem a o [1999/11/18] bin/14975 lpc start subcmd doesn't start printing o [1999/11/18] bin/14978 lprm(1) does not kill active daemon if ho o [1999/11/18] ports/14987 ports graphics/xpm does not build a dynamic lib o [1999/11/19] kern/14997 NFSv3 open O_EXCL fails to set proper "at o [1999/11/19] misc/15001 'fetch' doesn't work for http when behind o [1999/11/19] i386/15003 3C574 (ep0) reads bogus ethernet address o [1999/11/21] i386/15018 Printingproblem o [1999/11/22] bin/15046 /sbin/dhclient-script ignores resolv.conf o [1999/11/22] kern/15055 Soft NFS mounts can deadlock o [1999/11/23] i386/15062 i4b stops working after some time o [1999/11/23] bin/15070 vfprintf/cvt/__dtoa race condition in thr o [1999/11/24] i386/15074 Two different panics when running Linux b o [1999/11/24] kern/15075 Intel Etherexpress Pro timeouts when >1 c o [1999/11/24] misc/15080 corrupt tree/subtree on primary ftp serve o [1999/11/24] ports/15085 ports fixing-upgrading the editors/xenon port o [1999/11/24] pending/15086gnats-adminBorked sscape drivers :) o [1999/11/25] kern/15087 3.3-STABLE panic while starting daemons ( o [1999/11/25] kern/15089 mmap of files from 2K-block device failed o [1999/11/26] ports/15100 ports new port links-0.80 o [1999/11/26] bin/15101 [PATCH] cdcontrol does not perform bounds o [1999/11/26] ports/15107 ports Patch for FreeBSD s/key support in OpenSS o [1999/11/26] misc/15109 problem printing graphic pages o [1999/11/27] ports/15120 ports [PATCH] mail/pine4 pgp support does not h o [1999/11/27] ports/15123 ports www/apache13-modssl has PREFIX problems f o [1999/11/28] kern/15136 Panic on MSDOS FS mount o [1999/11/28] ports/15137 ports [PATCH] www/lynx-ssl can't find OpenSSL i o [1999/11/28] conf/15150 Taking encoding scheme latin1 into accoun o [1999/11/28] ports/15157 ports [PATCH] Environment Botch in KDM o [1999/11/29] ports/15161 ports Add pnmtopng run-time dependency to a tgi 744 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- a [1995/01/11] i386/105 bde Distributed libm (msun) has non-standard s [1995/05/13] bin/401 Add REMOTE_* variables s [1995/06/15] bin/517 Bad group change with 'install' o [1995/07/09] misc/605 wpaul NIS: get*bynis routine problems s [1995/08/05] gnu/655 ld -r of shared objects worked in 1.1.5, s [1995/08/07] bin/658 ifconfig alias has to be separately given s [1995/09/26] kern/742 syslog errors accessing Mac hard disks [p s [1995/10/03] kern/765 umount -f can`t umount a NFS filesystem i s [1995/11/20] kern/831 one minor complaint about the kernel visu s [1995/11/27] bin/841 stale nfs mounts cannot be umounted o [1995/11/30] bin/854 dg swapinfo shows incorrect information for a [1996/01/30] bin/981 fenner clnt_broadcast() is not aware of aliases s [1996/03/20] kern/1090 iostat displays incorrect sps count s [1996/03/20] bin/1093 route's diagnostic is weird o [1996/04/06] kern/1119 dg Mounted EXT2FS partition is not cleanly u s [1996/06/11] bin/1312 automounter hangs on boot s [1996/06/13] bin/1320 dump limits blocksize to 32K s [1996/07/07] bin/1375 jraynard Extraneous warning from mv(1) [PATCH] o [1996/07/24] misc/1428 ncurses doesn't always display ALTCHARSET s [1996/09/08] bin/1589 [PATCH] ftp fails to flush output o [1996/09/14] gnu/1611 phk groff should use "system-wide" papersize o [1996/09/23] i386/1671 joerg s2 map in pcvt isn't ISO 8859-1 and claim s [1996/10/13] misc/1791 syslimits.h does not allow overriding def o [1996/10/20] bin/1849 gdb sets library breakpoints on the wrong s [1996/10/24] bin/1881 file(1) misidentifies Sun3/m68k executabl s [1996/11/01] bin/1941 danny wtmp and monthly rotation s [1996/11/01] bin/1943 route(8) args s [1996/11/04] gnu/1961 [PATCH] uucp logging files are in /var/sp s [1996/11/06] bin/1970 csh limtail() bug s [1996/11/16] bin/2036 cpio size wraparound s [1996/11/19] bin/2061 DEBUG_FLAGS in bsd.lib.mk is broken s [1996/11/19] bin/2065 in tzsetup/sysinstall, allow user to type s [1996/11/22] bin/2090 clients may bind to FreeBSD ypserv refusi s [1996/11/28] bin/2119 [PATCH] mount lies to child about argv0, s [1996/12/02] bin/2137 vm statistics are bad s [1996/12/14] bin/2216 [PATCH] Ada specs not being compiled into o [1996/12/17] i386/2239 jmg some interrupts take too long (i.e. BT946 a [1996/12/21] bin/2265 guido su(1) does not call skeyaccess() o [1996/12/24] kern/2273 dufault support for POSIX.4 / POSIX.1a RT-schedul s [1996/12/27] kern/2298 Support for DSR/DCD swapping on serial po a [1996/12/27] misc/2302 brandon new crypt() including SHS and an extendab o [1996/12/29] bin/2315 peter tail segfaults on NFS permission denied s [1996/12/30] kern/2327 [PATCH] `Green' saver for pcvt o [1997/01/10] bin/2442 davidn setusershell()/endusershell() missing o [1997/01/14] kern/2492 AIMS Lab RadioTrack driver for FreeBSD 2. o [1997/01/26] i386/2598 ep0 in EISA mode hangs if ep0-device (ISA o [1997/01/28] bin/2603 dufault Added POSIX.4/POSIX.1b constants in unist o [1997/01/28] bin/2604 dufault Added POSIX.4/POSIX.1b shm_open()/shm_unl o [1997/02/02] gnu/2637 tar dumped core with -g option. a [1997/02/02] bin/2641 wpaul login_access.c doesn't work with NIS by d o [1997/02/05] bin/2668 modification suggested for rarpd o [1997/02/14] bin/2737 yppasswd fails to change password on a su o [1997/02/15] misc/2745 fenner PR querry web form doesn't sort correctly o [1997/03/03] kern/2857 DE500 board exhibits capture effect o [1997/03/03] kern/2865 peter NFS client hangs on umount, ls, df when N o [1997/03/06] docs/2897 steve send-pr categories should be explained so o [1997/03/06] bin/2898 fenner arp -a -n buglet o [1997/03/10] bin/2934 sh(1) has problems with $ENV o [1997/03/10] bin/2938 hoek Add -b, -l, and -f options to du(1) o [1997/03/18] misc/3024 make reinstall in /usr/src requires writa o [1997/03/22] kern/3061 route does not accept -genmask o [1997/03/31] gnu/3157 Patches to gas and gdb to support MMX ext o [1997/04/07] bin/3221 rpc.rusersd : can't communicate with SunO o [1997/04/07] misc/3225 [PATCH] uucpd.c should normalize host nam o [1997/04/08] misc/3237 SCRIPTS addition to bsd.prog.mk o [1997/04/09] bin/3242 incorrect prototype for initgroups o [1997/04/14] kern/3281 errors when "rm -r"-ing in a mounted ext2 o [1997/04/14] kern/3282 ext2fs causes fs-unmount at shutdown/rebo o [1997/04/14] bin/3284 [PATCH] symorder(1): -t option doesn´t wo o [1997/04/14] bin/3286 [PATCH] missing error checking in mount_m o [1997/04/14] kern/3287 [PATCH] missing symbols in /usr/src/sys/i o [1997/04/15] kern/3299 /dev/console hangs o [1997/04/17] bin/3314 [PATCH] /etc/daily did not run on April 6 o [1997/04/27] bin/3399 mv of symbolic link can move directory in o [1997/04/29] bin/3416 ibcs emulation problems o [1997/05/05] i386/3504 [PATCH] New features (and manpage) for ne o [1997/05/08] gnu/3552 the -L option of tar does not work proper s [1997/05/09] kern/3571 Mounted ext2 prevents umount of filesyste o [1997/05/12] kern/3584 luigi cleanup TCP_REASS macro in tcp_input.c o [1997/05/16] bin/3608 Telnet in linemode will break apart long o [1997/05/17] kern/3611 Internal CPU cache on CyrixiInstead DX2 d o [1997/05/20] docs/3645 torstenb TCP_wrappers package doesn't mention wher s [1997/05/21] bin/3648 roberto [PATCH] find(1) extension for file flags s [1997/05/22] kern/3667 [PATCH] make vn LKM'able. o [1997/06/02] bin/3762 dufault Bogus return values from rtprio(1) o [1997/06/07] bin/3805 single process tftpd o [1997/06/09] bin/3826 KerberosIV sometimes hangs rcp o [1997/06/10] bin/3837 dufault new feature for rtprio o [1997/06/12] kern/3853 luigi netboot/ns8390.c breaks NS datasheet o [1997/06/14] bin/3866 rcs2log fails with eastern timezones o [1997/06/15] kern/3879 peter Can't export mounted ext2fs via NFS o [1997/06/18] kern/3901 Multicast for Intel 10/100 Ethernet Card o [1997/06/19] misc/3912 ctags(1) cannot trace some macro correctl o [1997/06/23] kern/3938 peter Problem about mmap() over NFS o [1997/06/24] kern/3944 if_le doesnt receive ether multicast pack o [1997/06/25] kern/3948 nonworking t/tcp server side a [1997/06/25] kern/3953 kern-config: options PANIC_REBOOT_WAIT_TI o [1997/06/26] i386/3962 print disk internal cache size during pro o [1997/06/27] kern/3968 Hardware probes die on Peak SBCs. o [1997/06/29] ports/3983 fenner New port: psf toolkit o [1997/07/07] kern/4051 pppd connect 'chat ...' broken s [1997/07/07] kern/4052 VJ compression drops packets with IP+TCP o [1997/07/18] bin/4116 davidn Kerberized login as .root fails to o [1997/07/23] kern/4153 New tcp initial send sequence number code s [1997/07/24] bin/4157 [PATCH] netstat atalk output should print s [1997/07/26] bin/4172 suggest reconnection option added to fetc s [1997/07/28] kern/4184 [PATCH] minor nits in sys/netatalk s [1997/07/31] bin/4204 [PATCH] ac printed wrong report about tty o [1997/08/04] conf/4229 Ethernet interface unreachable on bootup o [1997/08/06] bin/4238 chpass only occasionally works in conjunc o [1997/08/07] kern/4243 file locking doesn't work for pipe o [1997/08/07] bin/4247 modification to /etc/security for FreeBSD o [1997/08/08] misc/4249 wpaul ypchsh doesn't care about changing a user o [1997/08/12] misc/4285 SDL RISCom/N2 (ISA) o [1997/08/13] kern/4297 dufault SIGEV_NONE and SIGEV_SIGNAL go in signal. o [1997/08/13] i386/4300 msmith The initial timeout on open("/dev/lpt0".. o [1997/08/14] ports/4304 asami Recommendation re. Ports Collection o [1997/08/22] ports/4356 erich sudo shouldn't block signals in tgetpass( o [1997/08/29] kern/4413 No way to unmount a floppy that goes bad o [1997/08/29] bin/4419 man can display the same man page twice o [1997/08/29] bin/4420 find -exedir doesn't chdir for first entr o [1997/09/03] bin/4459 bde No prototype for moncontrol(3) and monsta o [1997/09/04] misc/4468 dlopen is not available from static execu o [1997/09/07] bin/4484 peter sendmail is barfing o [1997/09/13] kern/4528 processes hang if the mount_portal proces a [1997/09/14] i386/4538 sos byteswapped ATAPI id strings o [1997/09/14] bin/4545 f77 will only call `cc', no com-line opti s [1997/09/15] i386/4547 luigi asc.c and pcaudio.c should use selrecord o [1997/09/16] misc/4556 make can't build executable from single F o [1997/09/21] kern/4597 Patch to pass NPX status word in signal c o [1997/09/21] kern/4601 Contrib: userconfig patch to edit SCSI co o [1997/09/25] bin/4629 calendar doesn't print all dates sometime o [1997/09/28] misc/4646 Can't fixit with an NFS-mounted CD. o [1997/09/29] conf/4654 Need to do post-ifconfig commands o [1997/10/04] bin/4688 peter sys/utsname.h SYS_NMLN 32 too small o [1997/10/05] bin/4696 ping hangs on certain unresolvable hosts o [1997/10/05] bin/4697 make doesn't handle dependencies with for o [1997/10/15] gnu/4771 diff to correct misleading total bytes in o [1997/10/22] bin/4828 ypxfr makes false assumption about RPC ca o [1997/10/24] kern/4845 Boot complains about disk slices in FAT p o [1997/10/24] kern/4847 pccard stuff fails after running Win95 wi o [1997/11/01] bin/4915 peter NFS mounts to linux machine can hang syst o [1997/11/02] bin/4923 vi leaves the screen in standout mode o [1997/11/07] bin/4969 cdcontrol plays incorrect audio tracks in o [1997/11/08] bin/4975 quotaon while server very busy causes loc o [1997/11/10] kern/4997 DDB_UNATTENDED doesn't always work o [1997/11/11] kern/5009 ibcs2 emulation o [1997/11/11] kern/5011 rndcontrol -s 8 causes kernel panic o [1997/11/13] bin/5031 lpr does not remove original file if -s i o [1997/11/13] ports/5034 ache (tcsh) blocked write on named pipe sticks o [1997/11/14] gnu/5039 libdialog fails to resore terminal o [1997/11/14] kern/5040 Support for "SCSI-0" devices o [1997/11/14] kern/5048 Calling shutdown(fd,1) multiple times wil o [1997/11/15] kern/5059 peter mountd, nfsd, etc. fail when lp0 defined o [1997/11/15] kern/5060 Kernel doesn't compile with mss o [1997/11/20] kern/5108 pmap_release panics with 'freeing held pa o [1997/11/20] kern/5110 kernel crash & core in pmap_testbit durin o [1997/11/23] bin/5134 cdcontrol will eject a mounted CDROM o [1997/11/26] misc/5153 jkh release file checksums in wrong file s [1997/11/28] bin/5173 [PATCH] restore ought to deal with root s s [1997/11/30] i386/5182 bde [PATCH] A patch support high speed serial o [1997/12/09] bin/5263 sh bug (with example) s [1997/12/11] kern/5275 [PATCH] Added volume (barcode) support to o [1997/12/14] conf/5292 master.passwd -- /nonexistent vs. /sbin/n s [1997/12/14] bin/5296 slattach fails creating pidfile with ioct o [1997/12/22] kern/5362 peter mount incorrectly reports / as an NFS exp f [1997/12/30] i386/5398 silo overflows running o [1998/01/02] bin/5410 pkg_info options s [1998/01/03] bin/5419 [PATCH] timed rejects valid networks with o [1998/01/08] kern/5429 Ethernet collision during file transfers s [1998/01/08] bin/5444 [PATCH] ypserv uses wrong dns lookup orde o [1998/01/11] bin/5483 Login(1) clears utmp entry o [1998/01/15] kern/5502 nfsd process usage doesn't get accounted s [1998/01/16] kern/5510 sos [PATCH] Incomplete ATAPI diagnostic at bo o [1998/01/18] kern/5517 Recursive NULLFS mount causes ufs_ihashge s [1998/01/20] misc/5531 [SUBMISSION] new library function abs2rel s [1998/01/20] kern/5532 [PATCH] Dropped packet counts are inaccur o [1998/01/21] bin/5537 vi dumps core with dodgy exrc file o [1998/01/24] i386/5559 PC-Card joystick ports were not supported o [1998/01/26] kern/5577 bde Unnecessary disk I/O and noatime ffs fixe a [1998/01/28] bin/5591 Trouble with LD_PRELOAD environment varia o [1998/01/31] bin/5609 lpd cannot send long files to HP's JetDir a [1998/02/02] ports/5626 billf 'ldap' port eats all available CPU time o [1998/02/02] kern/5627 Tertiary/Quaternary IDE Ctlrs: A few kern f [1998/02/05] misc/5662 sysinstall generates short dev names for o [1998/02/06] bin/5666 ifconfig fails to add alias o [1998/02/06] kern/5672 Crash from scsi aborted command 'Overlapp o [1998/02/09] kern/5689 sysctl vm.vmmeter - bogus and unsupported o [1998/02/10] bin/5711 bin/cat code cleanup o [1998/02/10] bin/5712 /bin/chio code cleaup and option added o [1998/02/10] bin/5717 pw -D -g "" returns error o [1998/02/10] bin/5718 pkg_delete refuses to run as non-root o [1998/02/14] bin/5745 [PATCH] Add /usr/local/share/mk to defaul o [1998/02/14] bin/5746 bootparamd will not netboot sun 3 compute o [1998/02/14] bin/5747 ld.so error message o [1998/02/15] bin/5758 sys/resources.h doesn't include sys/time. o [1998/02/17] kern/5768 Shutdown aborts syncing, when sync isn't o [1998/02/18] i386/5784 ibcs2 emulation not handling ioctl(..FION o [1998/02/19] ports/5788 joerg pcemu harddisk-access fixes o [1998/02/19] kern/5789 wcd0 requires ATAPI_STATIC o [1998/02/19] kern/5795 Panic: "bremfree: removing a buffer when o [1998/02/20] misc/5803 "tab" function from "ee" not compatible w o [1998/02/25] gnu/5841 installmost or install (world) of tmac fa o [1998/02/25] bin/5847 Makeworld fails if CXXFLAGS is set. s [1998/02/25] misc/5855 /etc/services is out of date with IANA o [1998/02/26] bin/5857 non-functional lpr/lpr o [1998/02/26] kern/5863 Kernel support for sorted SHUTDOWN & SHUT o [1998/03/01] bin/5880 df -t does not support devfs o [1998/03/01] ports/5884 dburr New port: icqjava-0.981a (net/icqjava) o [1998/03/02] bin/5901 new version of `fmt' o [1998/03/03] bin/5912 kinit exits if no user name specified o [1998/03/06] kern/5931 dma errors in syslog with GUS-max o [1998/03/06] i386/5932 perfmon kernel code should check for non- o [1998/03/08] bin/5944 cvs doesn't work correct. o [1998/03/10] kern/5964 peter nfsd send interface selection seems broke o [1998/03/10] ports/5972 andreas x11/fvwm95 requiring gsm, and rplay is a o [1998/03/11] gnu/5982 no error exit code from tar on child fail o [1998/03/12] gnu/5992 cvs y2k o [1998/03/13] bin/6000 kadmin ank uses bad default expiration of o [1998/03/15] bin/6015 indent(1) breaks source with backslash ne o [1998/03/16] kern/6032 poor TCP performance using FDDI over long o [1998/03/18] misc/6060 peter Sendmail executable, not doing MASQUERADE o [1998/03/22] conf/6096 /sys/i386/conf/LINT: edit(???) sound_conf o [1998/03/22] gnu/6107 gdb should support PRINTF_HAS_LONG_LONG o [1998/03/28] bin/6156 Patches to make dump understand ENOSPC o [1998/03/28] bin/6161 2.2.6 kerberos servers are awfully visibl o [1998/03/29] ports/6170 peter another squid ports o [1998/03/30] ports/6181 andy New port: xoj-1.0 o [1998/03/31] bin/6183 quota hangups o [1998/03/31] kern/6184 No error if resulting file pos in lseek i o [1998/04/01] bin/6187 peter mounting nfs directories with -b can caus o [1998/04/03] bin/6202 No way to detect removable media. o [1998/04/03] bin/6206 Enhancements to the shutdown program o [1998/04/04] kern/6213 peter NFS-mounted swap (via vnconfig) easily cr o [1998/04/04] bin/6214 ping sometimes cannot be killed with a Co o [1998/04/05] conf/6220 Too few ttyv devices in the -RELEASE syst s [1998/04/06] bin/6223 PST/DST bug in /bin/date o [1998/04/06] ports/6230 rse gfont_mkgdf calls wrong interpreter o [1998/04/06] bin/6234 ypserv -d is broken f [1998/04/07] kern/6247 Gravis UltraSound Classic no longer works o [1998/04/14] kern/6296 IP_HDRINCL sockets force header fields to a [1998/04/14] kern/6299 vmstat -i does not show PnP device interr s [1998/04/15] bin/6314 [PATCH] /usr/sbin/ac modification s [1998/04/16] ports/6315 kuriyama new port request: korean/htm o [1998/04/16] kern/6318 pppd does not update wtmp on hangup o [1998/04/16] misc/6320 Sometimes nohup isn't good enough. o [1998/04/17] bin/6332 bde /usr/include/time.h doesn't compile with o [1998/04/17] gnu/6338 Gnu tar not working properly with the -G o [1998/04/18] conf/6346 Kernel version strings need to relate to o [1998/04/20] bin/6359 routed does sent router discovry solicita s [1998/04/20] bin/6371 [PATCH?] fetch(1) uses HTTP_PROXY for ftp a [1998/04/27] kern/6432 IFF_NOARP does not affect ethernet interf o [1998/04/28] ports/6445 jkoshy New port: `fhist' o [1998/04/30] kern/6464 tcpdump doesn't recognize tun0 when it's o [1998/05/03] kern/6495 Need pci_unmap_mem and pci_unmap_port rou s [1998/05/04] bin/6509 [ALMOST PATCH] Allow dd to seek/skip to o s [1998/05/05] bin/6521 [MAYBE PATCH] "rmdir -p x/y/z/" fails o [1998/05/07] kern/6544 luigi Only get one channel through sound card o [1998/05/07] ports/6546 ache 3line ansi prompt in tcsh: cursor disappe o [1998/05/11] i386/6595 Old IP address persistent after change o [1998/05/12] misc/6612 bsd.man.mk can't handle man pages with ": o [1998/05/13] kern/6623 non-root user can crash system if disconn o [1998/05/13] conf/6624 davidn One class with nologin=/etc/nologin: reje o [1998/05/15] kern/6651 peter Possible NFS deadlock clue s [1998/05/16] bin/6658 [PATCH] -stable getcwd(3) performs unnece s [1998/05/17] kern/6668 [PATCH] new driver: Virtual Ethernet driv a [1998/05/26] misc/6759 phk buggy code in libdisk.a's disk.c o [1998/05/26] kern/6760 can't compile kernel w/o networking o [1998/05/26] kern/6769 peter panic: nfs rcvunlock s [1998/05/29] kern/6781 [PATCH] exabyte changer doesn't grok LUNs s [1998/05/29] bin/6785 place for all the default dump flags f [1998/05/31] ports/6813 fenner patched audio module for vat port o [1998/06/01] ports/6815 torstenb ssh lookup ignores second IP address o [1998/06/01] kern/6820 cd9660_mount NULL pointer deref for no CD o [1998/06/06] kern/6874 accounting prevents transition to multi u o [1998/06/13] misc/6936 sysinstall: install from MS-DOS MO divece o [1998/06/18] kern/6981 CD unmount w/o CD in drive can cause pani s [1998/06/19] bin/6995 [patch] Minor flaw in fdformat s [1998/06/19] bin/6997 [patch] vnconfig "open" error message con s [1998/06/21] kern/7014 [PATCH][STABLE] Add support for SiS 5591 o [1998/06/22] bin/7021 asami Size estimation patches to pkg_* o [1998/06/22] bin/7022 asami changes to bsd.port.mk to accompany PR bi o [1998/06/22] bin/7023 asami bsd.port.(%|subdir.).mk patches for size f [1998/06/23] kern/7029 gibbs cdrecord and aic7880 troubles f [1998/06/23] i386/7031 Our RocketPort port does not support DEVF s [1998/06/24] kern/7044 [PATCH] WaveLAN (2.4G, ISA, full-length b o [1998/06/25] docs/7065 wosch FreeBSD webpages -> applications, port br f [1998/06/25] bin/7068 markm /usr/bin/perl: library path addition s [1998/06/28] kern/7095 [stable] Gravis MAX in 2.2.6 suffers from s [1998/06/28] i386/7100 integrate pcvt configuration into the /et s [1998/07/01] bin/7136 kerberized telnetd doesn't use gettytab % s [1998/07/02] kern/7146 The PCCARD doesnt recognize cards in top s [1998/07/06] bin/7184 /usr/games/robots fails to write high sco s [1998/07/08] kern/7210 [PATCH] od(4) bug fixes and enhancements, s [1998/07/10] misc/7232 Suggestion for FreeBSD installation dialo o [1998/07/10] kern/7234 yokota keyboard problems during login immediatel f [1998/07/10] misc/7239 ping(8) and traceroute(8) may report erra o [1998/07/12] bin/7265 A warning flag is added to ln(1). o [1998/07/13] ports/7268 asami MASTER_SITE_OVERRIDE works more better o [1998/07/14] kern/7282 some old and rarely used drivers have app o [1998/07/14] ports/7283 ache tcsh / LC_CTYPE - obscure problem. o [1998/07/15] bin/7287 Incorrect domain name for MAP_UPDATE in m o [1998/07/16] bin/7298 Improvements to ln(1). a [1998/07/19] bin/7324 wosch Suggestions for minor modifications to ad o [1998/07/21] bin/7352 libc generates spurious warnings when use a [1998/07/23] ports/7375 dburr New port request: audio/xsplay f [1998/07/23] kern/7377 we have a new digiboard driver supporting s [1998/07/29] i386/7426 Bugs in macro definitions of pthreads. a [1998/07/31] docs/7456 doc dialog(3) man page outdated o [1998/08/01] ports/7464 dburr New port: WMakerconf o [1998/08/03] ports/7485 andy New port: Xterminal-0.2 s [1998/08/09] kern/7546 [PATCH] [STABLE ?]shutdown -p - system po f [1998/08/12] kern/7589 Tulip Driver parses SROM contents wrong f [1998/08/13] conf/7606 [PATCH] NIS Makefile.dist: NOPUSH replace o [1998/08/14] kern/7619 odd nfs server not responding messages ap o [1998/08/16] ports/7628 dburr new port: sajber-jukebox o [1998/08/16] bin/7632 Race condition in /stand/sysinstall f [1998/08/16] i386/7633 panic: page fault on install with boot.fl s [1998/08/18] bin/7669 libalias does not IRC DCC packets under c o [1998/08/19] ports/7680 billf New port of tn5250 o [1998/08/19] gnu/7687 description of default baud rate for cu c o [1998/08/20] kern/7693 Misleading warning in cblock_alloc_cblock o [1998/08/20] bin/7694 bogus error-message from route(8) o [1998/08/22] kern/7722 Changes to acct format o [1998/08/23] bin/7728 ftpd processes hang o [1998/08/27] bin/7753 arp command fails silently on invalid pro o [1998/08/28] misc/7771 Debugging putenv/getenv o [1998/08/29] ports/7774 torstenb sshd doesn't refuse to login people with o [1998/08/29] bin/7779 [PATCH] modload should detect stripped ke o [1998/08/30] kern/7782 Kernel rebuild not correctly responding t o [1998/08/30] bin/7786 quota.h has superfluous semicolon in macr o [1998/09/01] gnu/7800 tar(1) does not recognize --gunzip option o [1998/09/02] i386/7816 dfr [Patch] NE2000 PnP card IDs to sys/i386/i o [1998/09/03] bin/7826 ls(1) knows too much about format of strf o [1998/09/03] bin/7828 Add a command line option to cp to make i o [1998/09/05] kern/7837 patches to add a p_auth extension pointer o [1998/09/07] ports/7845 tg Unbuffered /dev/vx0-output from Python 1. o [1998/09/07] bin/7846 /sbin/mount_* do not canonicalize the mou o [1998/09/07] misc/7850 lt_LT.* locale o [1998/09/07] kern/7856 Patches to add lkm hooks to cmsg_data anc o [1998/09/08] bin/7860 Extra option to pr(1). s [1998/09/08] bin/7868 [almost patch]Morse Code Fixups o [1998/09/08] bin/7869 Improved error messages from apm o [1998/09/09] misc/7873 poor initial configuration and documentat o [1998/09/11] bin/7895 multiple identical NFS mounts accepted o [1998/09/11] kern/7903 unmatched '{}' blocks. o [1998/09/15] ports/7932 torstenb man zshall doesn't work o [1998/09/16] misc/7946 ccdconfig gives confusing error when give o [1998/09/17] bin/7962 /usr/bin/ee prompts "save changes" when f o [1998/09/18] bin/7973 lpd: Bad control file owner in case of re o [1998/09/19] kern/7990 patch - teach kernel about RB_POWEROFF fl o [1998/09/19] ports/7992 ports New port: xemacs20-stepwise (XEmacs20 hac o [1998/09/20] bin/7998 pkg_add seems to have unneeded umask o [1998/09/20] misc/8005 yokota Keyboard freezes going from KDE to text m o [1998/09/21] kern/8015 [patch] Some sysctl descriptions for the o [1998/09/24] ports/8042 torstenb If pidentd dies, you must kill all telnet o [1998/09/26] bin/8060 install ignores the +X mode flag o [1998/09/27] conf/8061 profiling utilities seperate from profili o [1998/09/27] ports/8063 asami [PATCH] Add multiple CDROM support to bsd o [1998/09/29] bin/8084 NIT: non-working code in rshd o [1998/10/02] i386/8131 [patch] Support for PCI NE2000 compatible o [1998/10/03] misc/8133 markm [patch] bug in telnetd (Kerberos IV) o [1998/10/03] bin/8134 End of game is not recognised immediately o [1998/10/03] misc/8139 [patch] missing /usr/src/share/examples/d o [1998/10/04] bin/8142 freebsd 2.2.7 implementation of key(1) [s o [1998/10/04] i386/8146 [patch] kzipboot serial console setup and a [1998/10/06] bin/8163 [patch] It is impossible to assign quotas o [1998/10/06] i386/8171 [patch] Intel EtherExpress Pro 100 suppor o [1998/10/07] misc/8202 semop() is not wrapped for thread safety o [1998/10/08] bin/8211 Script to search kernel for an address o [1998/10/12] bin/8295 order of options in printcap causes some o [1998/10/13] conf/8303 3.0-981009-BETA can't make swap device on o [1998/10/13] kern/8311 kernel panic on de0 o [1998/10/16] misc/8346 Strftime can't generate ISO-8601 timezone o [1998/10/16] bin/8347 /usr/lib/compat build issues in 3.0 RELEA o [1998/10/16] kern/8349 [PATCH] Changer definition for SureStore f [1998/10/17] misc/8357 Segmentation fault while making SWARM-1.3 o [1998/10/19] kern/8376 CLOCK_VIRTUAL not implemented o [1998/10/19] misc/8378 Is termcap not maintained enough ? o [1998/10/22] kern/8420 __getcwd() from an (forcibly) unmounted f o [1998/10/24] misc/8434 boot.flp /bin/init crashes during probe w o [1998/10/24] i386/8436 boot.flp sysinstall crashes when probing o [1998/10/24] bin/8438 ex/vi: Error: tcsetattr: Interrupted syst o [1998/10/25] kern/8444 hm pcvt with more than 8 virtual consoles o [1998/10/25] docs/8445 doc Update of "Installing Mathematica on Free o [1998/10/27] i386/8474 repquota does not pick up NIS information o [1998/10/28] bin/8479 Final \'s in /etc/exports did not work in o [1998/10/30] kern/8498 Race condition between unp_gc() and accep o [1998/10/30] bin/8501 snake has a segmentation fault depending o [1998/10/30] conf/8517 rc.conf/rc fails to set ldconfig -aout o [1998/10/31] misc/8519 Murphy's Laws o [1998/11/01] conf/8531 sysinstall on 3.0-RELEASE (and 3.0-curren o [1998/11/03] bin/8553 /usr/libexec/mail.local doesn't handle "> o [1998/11/04] i386/8571 Bug in config utility in FreeBSD 2.2.6-RE o [1998/11/07] kern/8589 incorrect spelling for "dependency" and " o [1998/11/07] i386/8598 MAKEDEV fails if not run from current dir o [1998/11/08] kern/8604 ps u gets confused about process start ti o [1998/11/08] kern/8605 ipsec for ipv4, new version o [1998/11/08] ports/8620 asami New option to colorls - -K, color only to o [1998/11/09] bin/8631 pci interrupts are shown on EISA only mac o [1998/11/09] kern/8633 TCP packet via SLIP/CSLIP containing this s [1998/11/12] kern/8661 stb sys/netatalk/at_control.c needs to correc o [1998/11/12] bin/8666 X blocks serial port with getty process o o [1998/11/13] gnu/8679 tar man page should be updated o [1998/11/14] bin/8681 other macro name that has same number is o [1998/11/18] ports/8754 se KDE: KDM Display Manager has login proble o [1998/11/18] bin/8756 'pw' command additional feature request o [1998/11/19] misc/8764 pwd_mkdb is slow on many users o [1998/11/19] docs/8765 dwhite some suggested text for describing passwo o [1998/11/22] bin/8809 fdisk calls QNX-4 partitions unknown o [1998/11/22] bin/8811 Problem to use 'NLSMODE' variable in Make a [1998/11/25] ports/8864 ports useradd - system V compatible implementat o [1998/11/27] i386/8867 /stand/sysinstall core dumps (signal 11) o [1998/11/29] kern/8895 DEC 21152 PCI-PCI bridge chip isn't probe o [1998/11/29] kern/8898 PCI devices without an associated driver o [1998/11/30] bin/8913 negative time values for csh 'time' built o [1998/12/01] i386/8923 ctm 2.2.5 -> 2.2.7 error hu_HU.ISO_8859- o [1998/12/01] kern/8925 options kern file needs AWE_DEFAULT_MEM_S o [1998/12/03] i386/8953 BINFORMAT not defined in 2.2-STABLE o [1998/12/03] bin/8955 request CVS allow advisory locks on repos o [1998/12/06] misc/8986 install-info breaks installworld over nfs o [1998/12/06] bin/8989 (patch) chflags support for mtree(8) o [1998/12/08] bin/9012 route add -host hostIP -interface localIP o [1998/12/10] conf/9051 2.2.8R boot floppy won't write to fixit f o [1998/12/11] bin/9055 When used without arguments, ``set'' and a [1998/12/12] bin/9064 n_hibma [PATCH] propose adding `direct' option in o [1998/12/14] bin/9078 tunefs cant access mounted devices (vs. m o [1998/12/15] kern/9092 DELF raid volumes cause panics under CAM o [1998/12/16] i386/9102 Voxware does not provide /dev/mixer for E o [1998/12/16] ports/9107 asami Addition to bsd.port.mk for searching mul o [1998/12/17] bin/9118 default install of aout compat libs is in o [1998/12/18] bin/9123 pax can't read tar archives that contain o [1998/12/20] kern/9144 luigi acd driver inconsistency (byte order in C o [1998/12/21] conf/9160 /etc/services file corruption o [1998/12/22] bin/9176 dillon placemark to split mount_ufs out of mount o [1998/12/23] kern/9183 newton chroot(2) can be broken by the superuser. o [1998/12/24] bin/9188 telnet gets stuck in ttydrain() o [1998/12/27] bin/9206 sysinstall installation should create /st f [1998/12/28] misc/9220 nvi: catalog: mistake in Russian error me o [1998/12/28] bin/9226 telnetd can log wrong IP address to utmp o [1998/12/29] bin/9233 gmp's mpq_add and mpq_sub are buggy o [1998/12/30] conf/9245 obsolete locale setting in /usr/src/etc/{ o [1998/12/30] conf/9246 allscreens_flags in /etc/rc.conf not work o [1998/12/30] bin/9250 [PATCH] allow fetch to do ftp directory l o [1998/12/31] i386/9257 fpathconf() missing from libc_r o [1998/12/31] bin/9259 allow no prompt for yes in fdformat, but o [1999/01/02] bin/9281 awk asumes memory that is returned from m o [1999/01/03] ports/9286 andreas Patch for games/nethack-qt to fix compila o [1999/01/03] ports/9289 kris New Port - ASPostit (Dockable version of o [1999/01/04] kern/9316 Intel PILA8461 NIC panics 2.2.7 during pr o [1999/01/04] bin/9318 vgrind(1): no JAVA support o [1999/01/04] i386/9319 D-Link DE-528CT poor performance o [1999/01/05] bin/9333 timestamp dump's progress o [1999/01/05] i386/9341 tty-level buffer overflows o [1999/01/06] docs/9352 hoek wrong macro names in groff_[ms|mm|mmse].7 o [1999/01/07] bin/9374 Improved functionality for find(1) o [1999/01/08] conf/9388 magic(5) correction for wordperfect o [1999/01/08] kern/9392 Alternate system clock OR kernel stats cl f [1999/01/10] ports/9425 se KDE starting up from xdm has problem.... o [1999/01/13] bin/9470 aout-to-elf-build broken with kerberosIV- o [1999/01/13] kern/9474 "comcontrol rescan 0:8:0" hangs, causes o o [1999/01/14] bin/9494 new option to prevent mail from sending m o [1999/01/16] bin/9529 ftp filname completion can't handle space o [1999/01/17] bin/9536 make world installs aout compat libs in t o [1999/01/19] bin/9569 top(1) ignores tty EOF condition. o [1999/01/19] kern/9570 ed(4) irq config enhancement o [1999/01/19] bin/9573 ksrvtgt not working o [1999/01/20] misc/9582 configApache command doesn't work for /st o [1999/01/20] kern/9590 Clean up for -Wall warnings o [1999/01/21] kern/9611 MFS calculates the size incorrectly when o [1999/01/22] kern/9619 Restarting mountd kills existing mounts o [1999/01/25] kern/9679 fix for uninterruptible open in portal fi o [1999/01/25] kern/9689 panic in sbdrop(kern/uipc_socket2.c) o [1999/01/26] bin/9711 Fails: cd /usr/bin; gzip file ; mv file. o [1999/01/27] i386/9721 Patch for FreeBSD netboot (booting via DO o [1999/01/28] kern/9748 error in queue handling of at_shutdown() o [1999/01/28] bin/9770 An openpty(3) auxiliary program o [1999/01/29] i386/9777 luigi Generic AD1816 sound suport in Luigi's pc o [1999/01/29] misc/9778 Need to handle conflicting pthread.h and o [1999/01/29] ports/9786 cwt tk80 port doesn't create man page links o [1999/01/30] kern/9791 enhancement for netinet/ip_icmp.c to cont o [1999/01/30] ports/9792 msmith pib coredumps in port maker mode o [1999/01/30] ports/9795 obrien The Handbook is not clear on how to deal o [1999/01/30] bin/9809 finger output format wrong f [1999/01/30] ports/9811 nectar New port: lang/gnomeguile o [1999/01/30] ports/9812 nectar New port: devel/libgtopbindings o [1999/01/31] ports/9840 asami patch allows ports to fetch their sources o [1999/01/31] conf/9845 Propose adding options to rc.conf and rc. o [1999/01/31] kern/9848 ARP proxyall extra sanity check o [1999/02/01] bin/9868 Patch to add "date -a" o [1999/02/01] kern/9869 When using macros out of function, they s o [1999/02/01] conf/9874 idle-timeout facilities in /etc/login.con o [1999/02/03] bin/9893 NFS umount of regular file impossible o [1999/02/03] bin/9902 error in german (and some other) locale s o [1999/02/05] ports/9921 peter exmh2 ports update o [1999/02/06] bin/9931 config gives misleading error when duplic o [1999/02/07] ports/9954 ports New port: devel/ACE o [1999/02/08] bin/9972 groff always built for US (letter) sized o [1999/02/09] gnu/9987 jdp wrong (for FreeBSD) ELF_DYNAMIC_INTERPRET o [1999/02/09] bin/9990 Enhancement to filename completeion in cs o [1999/02/09] i386/9991 new driver for National Instruments GPIB o [1999/02/09] ports/9993 kris New Port - graphics/libunfig o [1999/02/09] ports/9998 kris New port - graphics/mtv (MpegTV player) o [1999/02/10] i386/10004 jkh instalation of current version from FTP s o [1999/02/10] ports/10007 ports Port of the mercury compiler version 0.8 o [1999/02/11] ports/10023 kris New port - net/gtkcookie o [1999/02/11] bin/10030 markm Kerberized telnet fails to encrypt when a o [1999/02/12] i386/10052 Matrox Millennium II AGP device/model id o [1999/02/14] docs/10085 doc NIS Setup Tutorial o [1999/02/14] kern/10095 missing VGA description o [1999/02/14] docs/10098 doc Lack of overall guide for NIS setup o [1999/02/15] gnu/10112 /usr/src/gnu/usr.bin/patch sorely out of o [1999/02/16] kern/10116 acd driver patch to support PD/CD drive. o [1999/02/16] ports/10124 ports UNIX|STAT pr submission failed to include s [1999/02/17] bin/10131 sheldonh bug in strptime(3) o [1999/02/18] docs/10146 jkh Release Notes and LINT for 3.1 include ha o [1999/02/18] kern/10149 New PCI device o [1999/02/19] bin/10158 Reference to ncheck in quot(8) o [1999/02/19] kern/10159 Unable to unload vinum module o [1999/02/19] kern/10160 kldload of umap module panics the system o [1999/02/19] ports/10162 se Fix kdmrc to add qmail usernames to NoUse o [1999/02/19] misc/10167 Upon exiting X11R6, monitor goes blank. o [1999/02/20] bin/10169 find -perm doesn't allow a bitwise o [1999/02/20] kern/10175 Bridging support incomplete for some netc o [1999/02/21] ports/10178 torstenb USE_SOCKS=YES option broken for security/ o [1999/02/22] ports/10196 torstenb Better startup scripts for ssh o [1999/02/22] ports/10215 rvb net/coda_client and net/coda_server o [1999/02/23] ports/10227 peter wrong sendmail path in rdist6-port a [1999/02/23] misc/10231 inet_addr() doesn't check for illegal val o [1999/02/25] docs/10240 doc We need a script which check if our web m o [1999/02/25] conf/10244 100 character limit on any pathname in sy o [1999/02/25] kern/10255 Some more SiS chipset PCI IDs for chipset o [1999/02/26] bin/10274 make does not understand "lib(obj)" synta o [1999/02/26] bin/10283 Race condition in rc.network o [1999/02/28] bin/10300 dmesg exits on signal 10 o [1999/03/01] misc/10325 Implementation of itoa() for libc o [1999/03/01] bin/10342 putenv(3) unnecessarily calls strdup/free o [1999/03/01] misc/10349 For long .Dt fields, rendering is broken- o [1999/03/02] misc/10351 /usr/share/examples/worm is out of date o [1999/03/02] bin/10358 ftp(1) has problems with long pathnames o [1999/03/05] ports/10396 asami SPIN is in the wrong category o [1999/03/06] kern/10440 Discard device does not set ifq_maxlen o [1999/03/06] bin/10444 avoiding lost mail when mail filesystem i o [1999/03/06] ports/10454 obrien Update: emulators/spim a [1999/03/06] kern/10455 pcaudio breakage o [1999/03/07] i386/10465 Must disable ex0 to install. o [1999/03/07] ports/10477 ports The fakemail in lib-src fails to link (ne o [1999/03/08] bin/10493 ipfw's undocumented feature s [1999/03/09] bin/10508 obrien isc-dhcp puts garbage to text options, V2 o [1999/03/10] bin/10522 make world died due -Werror o [1999/03/10] bin/10524 3.1-19990309-STABLE install problem o [1999/03/10] ports/10532 ports New port: lang/gpc - GNU Pascal o [1999/03/10] bin/10538 sbin/nos-tun gives wrong usage message o [1999/03/11] bin/10546 Intel Pro/100 PC card has CIS string > CI o [1999/03/11] bin/10548 More useful default ifconfig behaviour sa o [1999/03/12] gnu/10555 jraynard [PATCH] awk dumps core o [1999/03/12] kern/10563 QIC 40/80 tape drive ft present in versio o [1999/03/13] bin/10568 obrien dhcp client receives garbage (dhclient pr o [1999/03/13] kern/10574 3.1-stable kernel reports k6 cpu as "\^E" o [1999/03/14] conf/10582 Makefile.upgrade fails with make -j o [1999/03/14] misc/10589 Incorrect assumptions in /etc/security o [1999/03/14] bin/10590 new option to silince confirmation but no o [1999/03/15] bin/10601 wosch Ownership of symlinks copied by adduser a o [1999/03/15] i386/10606 Probablue odd error message if LS-120 is o [1999/03/15] i386/10608 add Opti Viper-M PCI ID o [1999/03/15] kern/10609 adjtime bug (tv_sec > 2147) and enhanceme o [1999/03/15] bin/10610 New options to date to slowly adjust time o [1999/03/15] bin/10611 timed enhancement o [1999/03/16] bin/10622 vi does not display Russian characters pr o [1999/03/16] i386/10623 DFLTPHYS in /usr/src/sys/i386/include/par o [1999/03/16] ports/10634 ports Update the hylafax port to do a client in o [1999/03/17] ports/10639 rse ports/web/wml must be upgraded and unbrok o [1999/03/17] kern/10641 Default sync rate in ncr SCSI driver is s o [1999/03/17] kern/10642 exports(5) mentions KERBNFS but that's no o [1999/03/18] bin/10657 Unable to install from CDROM or DOS parti o [1999/03/18] kern/10663 hpscan doesn't like 3.1's pt device o [1999/03/18] docs/10664 doc Notes on 2.2.8 -> 3.1 migration o [1999/03/18] misc/10667 Sysinstall inserts multiple # -- sysinsta o [1999/03/19] gnu/10670 cvs doesn't allow digits in local keyword o [1999/03/19] kern/10673 Non-ASCII chars on serial console with Re o [1999/03/19] kern/10678 Printing problems using ppc bus o [1999/03/19] ports/10682 asami List mirror sites in MASTER_SITE_BACKUP - o [1999/03/22] kern/10728 sos WCD driver does not recognize a recovered o [1999/03/22] ports/10734 pst Update of gdb port to 4.17 o [1999/03/23] kern/10755 de driver says `invalid EESPROM checksum' o [1999/03/23] i386/10766 obsolete device name wcd is still left un o [1999/03/24] i386/10779 zp slot 0 sees 3Com 589 PCMCIA card but z o [1999/03/25] bin/10793 cvs update modification time check granul o [1999/03/26] misc/10803 whois(1) client enchancements a [1999/03/26] misc/10804 billf whois(1) enhancement o [1999/03/26] ports/10806 phk Update net/scotty to 2.1.10 o [1999/03/26] kern/10812 LINT configuration MAXDSIZ/DFLDSIZ mislea o [1999/03/26] ports/10813 ports crossgo32 brokeness o [1999/03/27] bin/10825 daily script not executed or executed twi o [1999/03/28] docs/10840 jkh [PATCH] Add pcic double-loading bug fix t f [1999/03/28] ports/10844 ports New port: adagdb o [1999/03/29] docs/10850 doc submitting a documentation change for sed o [1999/03/29] bin/10856 vty's from ttyvc - ttvf (maybe more?) do o [1999/03/30] bin/10868 BUG in /usr/bin/calendar o [1999/03/30] misc/10871 wst0 fails with Sony SuperStation streami o [1999/03/30] bin/10878 host(1) dumps core o [1999/03/31] kern/10894 wrong error message in svctcp_create() o [1999/04/01] bin/10905 sa(8) is hard coded for 8 character user o [1999/04/01] gnu/10910 Integration of Objective C patches into g o [1999/04/02] ports/10916 ports New port: biology/molmol o [1999/04/02] bin/10923 /usr/bin/cpp is an out-of-date wrapper fo o [1999/04/02] bin/10924 Extensions to biff(1) o [1999/04/03] bin/10931 biff b o [1999/04/04] ports/10945 jmz X11 "sessreg" program does not update /va o [1999/04/06] bin/10980 With ctags -x no space is left between na o [1999/04/06] bin/10992 pthread_kill() doesn't deliver signals to o [1999/04/07] docs/10997 doc Problem with query-pr-summary.cgi o [1999/04/07] i386/11006 Sysinstall silently makes FreeBSD's parti o [1999/04/08] kern/11020 popen does not honor ISO 9899 syntax o [1999/04/08] ports/11029 ports Configure scripts for non ported applicat o [1999/04/08] bin/11031 [PATCH] mount and umount support for mort o [1999/04/08] bin/11032 h2ph's cpp #warning/#error directive proc o [1999/04/08] ports/11034 ports New port: www/crazywwwboardle o [1999/04/08] bin/11036 markm Perl does not honor -DNOMAN o [1999/04/08] bin/11037 Gencat doesn't properly handle \ddd octal o [1999/04/09] ports/11048 obrien variable not initialized in fwtk-lib lead o [1999/04/09] bin/11051 ps's -U option should accept a list of us o [1999/04/09] misc/11052 [PATCH] performance bug fix to fgets() ro o [1999/04/10] conf/11058 Recent change to rc script causes hang on o [1999/04/11] bin/11085 Per-host configuration for syslog.conf o [1999/04/11] bin/11092 readlink(1) from OpenBSD o [1999/04/11] bin/11094 lastlogin.8 from NetBSD o [1999/04/12] kern/11109 ipfw.ko Makefile contains CFLAGS+= -DDIVE o [1999/04/13] misc/11111 Error opening terminal: su o [1999/04/13] bin/11114 make(1) does not work as documented with o [1999/04/13] misc/11126 vt100 termcap entry appears broken o [1999/04/14] ports/11134 hoek existense of /usr/obj/usr/ports/shells/ba o [1999/04/14] ports/11138 jmz New version of Xevil 2.01, I created a po o [1999/04/14] bin/11141 u_long is not big enough o [1999/04/15] misc/11149 Web page entry for BAFUG is incorrect o [1999/04/16] i386/11165 IBCS2 don't work correctly with PID_MAX 9 o [1999/04/16] bin/11168 pw(8) usermod does not recognize -w flag o [1999/04/16] kern/11178 [PATCH] minor fix to /usr/include/sys/mbu o [1999/04/18] i386/11201 brian mktime possible bug o [1999/04/18] bin/11205 Suggestion: move mt(1) to /bin o [1999/04/18] i386/11207 sys/i386/isa/rp.c: fixed breaking and war o [1999/04/19] kern/11222 MFS does not sync from reboot syscall o [1999/04/20] kern/11235 Need to submit new driver o [1999/04/20] bin/11236 mountd fails to properly check for kernel o [1999/04/20] conf/11243 mountd startup can lose flags o [1999/04/20] bin/11248 Shuffle o [1999/04/21] docs/11258 doc suggestion to refine npx.4 o [1999/04/22] kern/11287 rfork(RFMEM...) doesn't share LDTs set by o [1999/04/22] misc/11289 makeflp.bat suggestion: create "kernel" d o [1999/04/23] kern/11293 brian FreeBSD's PPP implementation of LQM appea o [1999/04/23] bin/11294 direct logging to other hosts (no local s o [1999/04/25] misc/11316 [PATCH] HTTP proxy support for sysinstall o [1999/04/27] ports/11353 asami Feature additions to bsd.port.mk. o [1999/04/27] bin/11360 Allow specification of "search" in resolv o [1999/04/28] kern/11365 plip in Linux mode has trouble with some o [1999/04/28] bin/11370 more segfaults if you give it a real file o [1999/04/29] misc/11383 $Id$ missing in some files in etc [PATCH] o [1999/04/29] bin/11387 mount_cd9660 doesn't show rockridge filen o [1999/04/29] ports/11388 torstenb patch for ircII so /window create works o [1999/04/29] bin/11399 Calendar doesn't always handle 'last' day o [1999/04/30] kern/11410 code typo in ad1848.c: the != operator ha o [1999/04/30] kern/11411 code typo in clones.c: "if ((mpu_config = o [1999/04/30] kern/11412 code typo in ip_fil.c: missing NULL check o [1999/04/30] kern/11413 code typo in pci.c: the != operator has h o [1999/04/30] kern/11414 code typo in pcf.c: the != operator has h o [1999/04/30] kern/11415 code typo in wst.c: the != operator has h o [1999/04/30] kern/11416 code typo in sequencer.c: "if (!processed o [1999/04/30] ports/11421 jfitz upgrade p5-Date-Manip 5.33 -> 5.34 o [1999/05/01] ports/11430 se incorrect int type causes floating point o [1999/05/02] misc/11448 Better looking VGA font for iso2 o [1999/05/02] ports/11460 erich Update to the xlispstat port o [1999/05/03] misc/11478 Non-functional AFS support in KerberosIV o [1999/05/04] ports/11504 chuckr Update ports math/octave o [1999/05/05] ports/11510 nik new version of www/sitecopy (0.6.0) o [1999/05/05] kern/11516 NetGear 10/100 Ethernet 21140-based Ether o [1999/05/05] kern/11517 ../../kern/kern_ntptime.c:533: warning: i o [1999/05/05] kern/11518 ../../pci/if_tx.c:1376: warning: no previ o [1999/05/05] kern/11519 dead code in ncr driver o [1999/05/06] bin/11552 sendmail local delivery (mail.local) can' o [1999/05/06] misc/11553 /usr/share/misc/latin1 (new file submissi o [1999/05/07] misc/11569 Automatically run fsck when the file syst o [1999/05/09] bin/11608 vnconfig not supporting swap-backed vn de o [1999/05/09] bin/11609 vnconfig -v reports page numbers, not byt s [1999/05/09] ports/11611 billf Update port: net/ntop o [1999/05/10] bin/11623 quot uses 32-bit integers for its calcula o [1999/05/10] conf/11626 /var/log/kerberos is rotated o [1999/05/10] bin/11637 build of kdump fails o [1999/05/11] ports/11652 ports New port: net/dictd o [1999/05/11] misc/11653 obrien patch to allow DHCP configuration of inte o [1999/05/12] bin/11669 gcc 2.7.2.1 gets bad magic error linking o [1999/05/12] bin/11671 "vidfont -r" fails, asking for font size o [1999/05/12] i386/11674 can't do make imake build or anything sin o [1999/05/12] kern/11676 PCIless kernel will not compile with ATAP o [1999/05/13] i386/11683 olpt/nlpt name change not in man pages o [1999/05/13] misc/11689 Change "netstat" mode in daily "status-ne o [1999/05/17] ports/11743 torstenb inn-2.2 (nonfatal) premature stop of buil o [1999/05/17] bin/11746 Add support for Solaris mailboxes o [1999/05/18] kern/11765 performance bug: network devices fxp & de o [1999/05/18] misc/11767 sppp does not implement VJ compression o [1999/05/19] ports/11786 kuriyama gnupg-0.9.6 port does not install o [1999/05/19] misc/11788 booting problems o [1999/05/19] kern/11789 ELF machine definition missing for ARM o [1999/05/20] misc/11812 ftp5.freebsd.org can't find giflib-3.0 an o [1999/05/21] bin/11818 Added a feature to ping(8) o [1999/05/21] ports/11820 asami bsd.port.subdir.mk does not define the `m o [1999/05/21] i386/11829 Boot Failure (Register Dump) with MFSroot o [1999/05/22] misc/11838 xwindows configuration problem o [1999/05/22] ports/11840 asami Feature fixup: bsd.port.mk o [1999/05/24] ports/11879 ports dclock's "-miltime" option and "*miltime" o [1999/05/24] kern/11881 when a dummynet pipe is encountered it st o [1999/05/25] misc/11890 make world creates /lkm directory o [1999/05/26] bin/11896 cap_mkdb dumps core when non-files passe o [1999/05/26] i386/11898 Connot wirte to floppy on HP OB800CT with o [1999/05/26] bin/11900 Sed(1) fails with MALLOC_OPTIONS set to ' o [1999/05/27] conf/11905 sysinstall desktop changing inconvenience o [1999/05/28] bin/11914 makewhatis during installworld uses /usr/ o [1999/05/28] i386/11920 FBSD 3.2 upgrade claims not to upgrade /u o [1999/05/28] i386/11921 /usr/X11R6/lib/aout libraries screwed up o [1999/05/29] conf/11925 rc.conf cosmetic naming inconsistencies o [1999/05/29] bin/11929 symorder doesn't work on elf format objec o [1999/05/29] kern/11941 FreeBSD box reboots itself when changing o [1999/05/30] kern/11945 tape problems on -stable, mt bl(ocksize), o [1999/05/31] ports/11963 ports should update the ocaml-tk module and ins o [1999/05/31] ports/11964 jmacd lang/STk port needs to be updated to STk- o [1999/05/31] kern/11968 kldload should call module entry point be o [1999/06/01] docs/11978 doc timed(8) manpage does not define '-F' swi o [1999/06/01] i386/11979 Vaio 505DX touchpad not detected as Glide o [1999/06/01] kern/11981 brian access to tunN devices not allowed to non o [1999/06/01] kern/11982 Three cleanup fixes for uthreads o [1999/06/02] conf/11989 pppd(8) output misplaced o [1999/06/02] bin/11997 Enhancement for lpr o [1999/06/02] ports/12001 ports wmcdplay 1.0Beta1 05/09/1998 sometimes sk o [1999/06/03] misc/12013 patch for 12012 o [1999/06/03] kern/12014 Fix SysV Semaphore handling o [1999/06/04] conf/12026 /etc/rc.diskless1 refrences non-existant o [1999/06/05] misc/12044 having tcl.h in /usr/local/include:/usr/i o [1999/06/06] gnu/12046 markm Perl subsystem does not install all tutor a [1999/06/06] bin/12052 sh type builtin appends first path compon o [1999/06/06] kern/12053 fixes a few aio bugs, makes socket io bet o [1999/06/06] ports/12056 ache [PATCH] hpack install files always in /us o [1999/06/06] ports/12057 markm Perl5 library builds do not honour PREFIX o [1999/06/07] kern/12071 [PATCH] large scale IP aliasing o [1999/06/08] i386/12088 Enhancement to ed driver for Linksys 10/1 o [1999/06/09] kern/12095 [PATCH] Buggy ATAPI Zip Drive is not dete o [1999/06/09] bin/12107 Add switch to dump to support multiple du o [1999/06/10] i386/12113 ESS1688 support for VoxWare sound driver o [1999/06/10] bin/12115 pppd reports wrong connected duration wit o [1999/06/13] ports/12188 ports New port: pbs-2.1.11 (misc/PBS) a batch s o [1999/06/13] ports/12195 ports New port: pgpenvelope o [1999/06/14] ports/12204 andy Update port: graphics/EZWGL o [1999/06/15] misc/12228 /etc/security don't search in all the fil o [1999/06/16] gnu/12238 bc 1.04 crashes with long formula typed i o [1999/06/16] kern/12241 jkh Req: GENERIC includes bpf device o [1999/06/16] bin/12244 realpath() fails when there is no permiss o [1999/06/17] bin/12255 BIND 8.1.2 compilation error in IPv6 capa o [1999/06/17] bin/12263 hoek "more" problems with long filenames f [1999/06/17] misc/12268 n_hibma weekly/catman will not work o [1999/06/18] ports/12271 ports fix pkg_add with error message and add ne o [1999/06/18] bin/12280 jdp LD_IGNORE_MISSING_OBJECTS not honored for o [1999/06/18] kern/12281 active-filter option in pppd doesn't stop o [1999/06/20] bin/12308 LPD can't be told not to bind to a TCP po o [1999/06/21] conf/12324 jkh Sysinstall's fdisk partition editor is mi o [1999/06/21] ports/12325 asami Adds refetch functionallity to bsd.port.m o [1999/06/21] i386/12326 wdc flag 0x1000 (LBA addressing) prevents o [1999/06/21] kern/12333 ProAudio Spectrum sound card broken model o [1999/06/21] kern/12334 Some ProAudio SPectrum cards do not do DM o [1999/06/21] kern/12335 if_pn.c lacks bridging support; patch enc o [1999/06/22] conf/12342 /etc/hosts.allow must use numerical IP ad o [1999/06/22] bin/12357 [PATCH] allow route to create "proxy only o [1999/06/23] bin/12358 ken Patch: "camcontrol help" should go to std o [1999/06/23] ports/12366 billf finish the port for misc/mprime o [1999/06/23] ports/12368 ports Pilot-link installs to ${PREFIX} = ${LOCA o [1999/06/23] bin/12375 mv(1) cannot inherit the file flags. o [1999/06/24] i386/12383 make release warns about /dev entries mak o [1999/06/26] bin/12398 fsck in free(): warning: pointer to wrong o [1999/06/26] ports/12403 ports ssh port has undocumented X11 dependency f [1999/06/26] ports/12406 ports New port for the LAM implementation of th o [1999/06/27] kern/12409 add some more chipset models by NVidia to o [1999/06/27] bin/12421 sysinstall label fails o [1999/06/28] conf/12432 empty amd_flags causes start failure in r o [1999/06/30] bin/12461 it's handy to be able to send syslog mess o [1999/06/30] bin/12467 wollman ac(8) does not accept input from stdin o [1999/07/01] kern/12475 ctrl,shift,alt keys can be used as alock o [1999/07/01] bin/12477 New fortune o [1999/07/02] docs/12486 mpp listing of (56) utilities in /bin:/sbin:/ o [1999/07/02] bin/12489 /sbin/route exits with 0 on some errors o [1999/07/02] ports/12490 ports package xmine exits 1 with XawAsciiSource o [1999/07/02] ports/12492 ports port misc/diction should be moved to text o [1999/07/03] kern/12495 3.1 install fails to detect Toshiba CDROM o [1999/07/03] ports/12503 ports New port: Willows toolkit (developers rel o [1999/07/04] ports/12515 jfitz p5-Apache/scripts/install_httpd needs fix o [1999/07/05] ports/12518 ports New port: ifmail-os-2.14.7 o [1999/07/05] ports/12522 ports New port: cos o [1999/07/05] ports/12523 ports New port: jdbcpool o [1999/07/05] bin/12528 [PATCH] tip's "tipout" child doesn't alwa o [1999/07/06] ports/12530 peter squid22 port with --enable-ipf-transparen o [1999/07/06] ports/12536 ports New port: lang/cu-prolog o [1999/07/06] kern/12543 [PATCH] cumulative error counters for fxp o [1999/07/07] bin/12545 kldload(8) should be more sensitive to er o [1999/07/07] ports/12548 asami New 'fecth-recursive(-list)' targets in p o [1999/07/07] ports/12549 ports imap-uw port doesn't use pw_expire to che o [1999/07/09] ports/12571 ports Xfig port doesn't have Ghostscript suppor o [1999/07/11] kern/12594 wollman wrong sysctl descriptions f [1999/07/11] ports/12596 torstenb pidentd is unstable in 3.2 and 4.0 o [1999/07/11] ports/12604 peter New port version: transproxy 1.0 o [1999/07/12] kern/12609 At boottime NFS mounts on a 3.2 client fr s [1999/07/12] bin/12611 sheldonh /usr/bin/jot crashes with floating point o [1999/07/12] misc/12612 ncurses ash shipped with 3.2-R missing sy o [1999/07/12] ports/12618 ache poor trouble reporting by qpopper's pop_i o [1999/07/13] ports/12624 ports New version of mxv which also works with o [1999/07/13] misc/12633 CMI8330 chip based integrated sound card o [1999/07/15] ports/12654 pst gnats port failes on "make install" o [1999/07/15] kern/12655 Kernel config file needs more commenting o [1999/07/15] ports/12656 ports New port: gnujsp o [1999/07/16] ports/12661 cpiazza new port: riva-glx (3d hardware accelerat o [1999/07/16] ports/12666 andy New port: kcd-4.7.10 o [1999/07/16] kern/12668 The kernel clock goes slow with PLIP devi o [1999/07/16] ports/12674 nik textproc/docproj port has an invalid depe o [1999/07/16] ports/12675 chuckr [PATCH] textproc/sp port installs config. o [1999/07/18] kern/12697 Out of swap handling [PATCH] o [1999/07/18] ports/12699 ports New port: gnofin-0.5.10 o [1999/07/18] ports/12700 jmz Errors in mtools.conf file o [1999/07/20] bin/12712 release/Makefile: mounting /some/dir with o [1999/07/20] ports/12721 brian Leafnode 1.9.4 has enhancements and bug f o [1999/07/20] ports/12722 ports New port: AT&T's DjVu library for scanned o [1999/07/20] kern/12723 Unnecessary use of magic numbers in F_[SG o [1999/07/20] ports/12725 ache Doing a 'make install' for bash2 gets ins o [1999/07/20] ports/12726 jfitz p5-Pg fixed o [1999/07/21] ports/12737 jfitz regex for checking load avergaes is wrong o [1999/07/21] ports/12739 ports New port: AT&T's DjVu Netscape plug-in o [1999/07/22] ports/12761 wosch sysutils/stat doesn't terminate buffer an o [1999/07/22] kern/12764 luigi Patch for using x11amp with voxware (stol o [1999/07/22] misc/12765 cable problem: link down for de0 NICs. o [1999/07/22] bin/12767 doc Expand /etc/ttys manpage o [1999/07/22] bin/12768 billf Compilation warning for fortune.c o [1999/07/22] kern/12770 mount_msdos causes panic: kmem_malloc(134 o [1999/07/23] misc/12776 Add PAM hooks to rlogind and rshd f [1999/07/23] bin/12782 sheldonh xntpd doesn't handle interface aliases pr o [1999/07/24] ports/12787 obrien port of GNU helloworld o [1999/07/24] bin/12789 Confusing error msg when dumping a filesy s [1999/07/25] bin/12801 sheldonh nvi infinite recursion with options "left o [1999/07/25] kern/12803 obrien patch to make xe driver's noise configura o [1999/07/25] bin/12806 `sh -e' doesn't parse multi-command lines o [1999/07/27] kern/12833 Support for TI1225 PCI to CardBus Bridge o [1999/07/27] ports/12835 andy New port: libcgic-1.06 o [1999/07/27] ports/12836 jfitz p5-Apache port mod_perl part is out of da o [1999/07/28] ports/12851 jmz XFree86 needs change for pc98 o [1999/07/28] kern/12855 panic:softdep_flushfiles:looping, caused o [1999/07/28] ports/12864 ache update: less-340 a [1999/07/28] bin/12866 sheldonh [PATCH] RFE for /bin/ls to add a -n optio o [1999/07/30] misc/12887 Problem with "top" command in SMP o [1999/07/30] misc/12888 strange kernel messages when copying file o [1999/07/30] ports/12890 obrien nmap seems to break under certain conditi o [1999/07/30] ports/12891 torstenb Please update converters/recode to 3.5 o [1999/07/31] kern/12896 Incorrect CPU model display at boot time o [1999/07/31] bin/12898 Added a command-line switch to netstat to o [1999/07/31] ports/12899 ports New port: wmnet-new o [1999/07/31] ports/12903 ports new ports/database/p5-* o [1999/07/31] ports/12904 taoka new ports/devel/gperf o [1999/08/01] ports/12915 ports Add elm 2.5 to ports o [1999/08/01] ports/12916 wosch Update Checkbot to 1.56 o [1999/08/02] docs/12933 n_hibma sio.4 misses description of 0x0080 flag o [1999/08/02] ports/12934 ache procmail 3.13 port doesn't have "install- o [1999/08/03] bin/12939 add flag to quota to suppress NFS quota c o [1999/08/03] bin/12942 m4: len(`') returns `' a [1999/08/03] kern/12943 dg fxp driver not completely compatible with o [1999/08/03] bin/12946 top(1) gives incorrect delay default o [1999/08/04] docs/12951 doc missing link to japanese mailing list gui o [1999/08/04] ports/12952 asami make _PORT_USE touch cookies by variable, o [1999/08/04] bin/12957 rpc.rusersd dumps core with signal 11 whe o [1999/08/04] bin/12960 des basename(3) and dirname(3) o [1999/08/04] bin/12962 des basename(3) and dirname(3) part 2 o [1999/08/04] kern/12966 receiver lockups in vr0 driver o [1999/08/04] docs/12969 doc Informacion incorrecta para versiones Fre o [1999/08/05] bin/12982 last does not support -y option. o [1999/08/05] misc/12983 system hang accessing mounted msdos flopp o [1999/08/05] misc/12992 sector size independent patch for msdosfs o [1999/08/05] i386/12993 gibbs "ahc0: Data Parity Error Detected during o [1999/08/05] docs/12994 hoek Update to getopt.3 to agree with style.9 o [1999/08/06] bin/13000 vi core dumped o [1999/08/06] ports/13006 erich update emulators/x48 to 0.4.1d o [1999/08/07] conf/13016 Wrong sendmail.cf file used by mergemaste o [1999/08/07] docs/13020 mpp Manpage capitalization o [1999/08/08] docs/13034 doc incorrect (old/obsolete) manpage for name o [1999/08/08] misc/13036 de doesn't work with DEC 21143 based PCI o [1999/08/09] bin/13042 make doesn't handle wildcards in subdirec o [1999/08/09] bin/13043 minigzip -c option support. o [1999/08/09] i386/13051 after installation on system using COM1, o [1999/08/10] kern/13062 lnc ethernet xmit underflow problem o [1999/08/11] bin/13068 billf Don't stamp out score files! o [1999/08/11] bin/13070 sheldonh line(1) as required by Unix 98 o [1999/08/11] bin/13071 sheldonh link(1) as required by Unix 98 o [1999/08/11] bin/13072 billf Extensions to biff(1) o [1999/08/11] bin/13073 billf Extensions to mesg(1) o [1999/08/11] bin/13074 sheldonh unlink(1) as required by Unix 98 o [1999/08/11] docs/13079 mpp new man page describing timeradd() family o [1999/08/11] kern/13082 dfr Improved support for NE2000 PnP cards o [1999/08/11] misc/13089 sysinstall repeatedly installs a distribu s [1999/08/12] bin/13091 sheldonh [PATCH] pdksh-derived replacement for tes o [1999/08/12] bin/13092 des Fetch doesn't default to the correct http o [1999/08/12] bin/13108 authunix_create_default includes egid twi o [1999/08/13] docs/13116 doc typo in ms(7) o [1999/08/13] misc/13117 CVS repo src/lib/libc_r/uthread incorrect o [1999/08/13] ports/13124 ports New port: LinAlg; request for local hosti o [1999/08/13] bin/13128 billf pkg_delete doesn't handle absolute pathna o [1999/08/13] ports/13129 torstenb Postfix Port Ignores MANPREFIX o [1999/08/14] bin/13143 alfred changing mount flags on a mounted filesys o [1999/08/15] misc/13152 systemwide username too short (currently o [1999/08/15] docs/13153 doc fdc.4 has typo (a line which begin with ' o [1999/08/15] kern/13161 alfred mounting on top of a mounted file system o [1999/08/15] kern/13164 kthread_exit stops, but doesn't release p o [1999/08/15] ports/13167 torstenb [PATCH] security/ssh package keygen fails o [1999/08/15] i386/13171 "config" not quite right for kernel not n o [1999/08/16] ports/13173 andy New port: yiff-0.33 o [1999/08/16] misc/13185 "tengo problemas con el pop3" o [1999/08/17] ports/13191 andy New port: fire-1.0 o [1999/08/17] ports/13201 ports New port: xmess (X11 emulator for game co o [1999/08/17] kern/13209 IPFILTER_DEFAULT_BLOCK not in /usr/src/sy o [1999/08/17] docs/13211 chris [LIST] Some man pages has references to n o [1999/08/17] kern/13215 ALPS GlidePoint in Sony Z505 not recogniz o [1999/08/18] docs/13218 mpp Many manpages still not conformed mdoc(7) o [1999/08/18] kern/13220 mkdep: compile failed - ../../pci/if_de.c o [1999/08/18] kern/13232 panic("rtfree"); when sending bootp reque s [1999/08/18] bin/13235 mpp allow preprocessing with tbl(1) for nroff o [1999/08/18] bin/13236 joe Patch for whois to use UK Nominet databas o [1999/08/18] conf/13249 sysinstall not installing from a local ft o [1999/08/18] ports/13251 andy New port: founts-11 s [1999/08/19] kern/13252 niced jobs don't behave really nice o [1999/08/19] bin/13254 yp_all error messages have wrong text o [1999/08/20] misc/13266 Removal of #defines and addition of const o [1999/08/20] ports/13267 andy New port: glasteroids-1.0 o [1999/08/20] misc/13275 inter.phone has old codes for Guatemala o [1999/08/20] bin/13278 rogue: killed by fire corrupts score file o [1999/08/20] kern/13281 wollman Support for VLANs missing? o [1999/08/20] misc/13282 partial compliance of dlopen to the Singl o [1999/08/21] ports/13291 andy New port: xap-xwf-0.7.8 o [1999/08/21] bin/13309 Fixes to nos-tun s [1999/08/21] kern/13314 sheldonh can't compile when softupdates + debug. o [1999/08/22] misc/13326 additional timeval interfaces for 512MB o [1999/09/21] ports/13887 taoka New port (fmirror) o [1999/09/22] misc/13895 nonexistent words in /usr/share/dict/web2 o [1999/09/22] ports/13898 obrien New port: misc/dictd o [1999/09/22] bin/13901 strptime breaks when handling some numeri o [1999/09/22] conf/13907 dummynet.4 correction, rc addition of s [1999/09/22] bin/13909 sheldonh /etc/security problems: IPFIREWALL and pa o [1999/09/22] docs/13914 doc global(1) manpage does not explain -v opt o [1999/09/23] conf/13916 mpp man outputs footer only page as first pag o [1999/09/23] conf/13918 Termcap entries for VESA modes missing o [1999/09/23] gnu/13921 awk -v var=val coredump o [1999/09/23] kern/13924 sb/snd driver broken under 4.0-19990918-C f [1999/09/24] gnu/13935 ru FreeBSD uses an obsolete version of grep o [1999/09/24] i386/13936 No clear indictaion of how much space to o [1999/09/25] docs/13950 doc webpage idea o [1999/09/25] ports/13952 se update emulators/wine to 990923 (supersed o [1999/09/25] docs/13956 doc commercial vendor: JAV-Associates Consult o [1999/09/25] docs/13957 doc Correction to your website for ZNYX Corp. o [1999/09/25] docs/13959 doc cgi notes o [1999/09/25] docs/13967 doc FreeBSD Related Publications in Korea o [1999/09/25] docs/13970 doc FreeBSD Newbie Newsletter o [1999/09/26] kern/13979 [PATCH] add serial number to IDE HD probe o [1999/09/26] ports/13986 ports New port: sysutils/gnometoaster o [1999/09/26] gnu/13989 SIGWINCH corrupts the display of a multil o [1999/09/27] ports/14001 scrappy [PATCH] New version 2.3.0 of the mico por o [1999/09/27] kern/14006 pas2_pcm.c pcm playback problem, with fix o [1999/09/28] docs/14024 doc Several manpages still mentions hosts.den o [1999/09/29] docs/14035 doc tzfile.h referenced in tzfile(5) doesn't o [1999/09/29] bin/14040 amd has wrong uname data compile in it o [1999/09/30] i386/14048 ``doscmd -r'' doesn't work o [1999/09/30] ports/14052 ports fvwm95-i18n - missing dependence to fbsd- o [1999/09/30] ports/14070 ports g2c libraries and compatibility for DJGPP o [1999/09/30] i386/14071 FreeBSD 3.3 Installation CD does not boot o [1999/10/01] docs/14074 grog vinum(8) manpage gets warning 2.24.2 o [1999/10/31] kern/14634 Mixer synth & mixer CD seem to be swapped o [1999/10/31] kern/14639 convert proc.p_peers to a queue(3) LIST o [1999/11/01] ports/14643 ports A Chinese/English dictionary o [1999/11/01] ports/14644 ports A Big5-localized & XIM-enabled XEmacs por o [1999/11/01] kern/14646 kern.boottime affected by APM suspend/res o [1999/11/01] bin/14648 markm `make world' now requires -DNOCRYPT in my o [1999/11/01] ports/14652 se update emulators/wine to 991031 (supersed o [1999/11/02] ports/14663 ports aspell-.27.2 port doesn't read dictionari o [1999/11/02] gnu/14664 tar checks for volno-file even if it shou o [1999/11/02] docs/14677 chris listing of (48) utilities in /bin:/sbin:/ o [1999/11/03] docs/14682 doc lprm(1) unaware of lp(1) Environment Vari o [1999/11/03] ports/14686 ports New port: pisces IIB (Category: cad) o [1999/11/03] bin/14697 grog Exploitable buffer overflow in Vinum (Fre o [1999/11/03] ports/14700 mharo libmikmod upgrade o [1999/11/03] ports/14701 ports New Port o [1999/11/04] ports/14705 ports [NEW PORTS] ports of xls2xml converter an o [1999/11/04] misc/14706 jkh sysinstall coredumps o [1999/11/04] conf/14714 Need support for imap4 and pop3 in /etc/p o [1999/11/04] ports/14716 ports This is a port of a Swedish dictionary to o [1999/11/05] bin/14731 The kernel has vlan support but ifconfig o [1999/11/06] ports/14741 ports A summary of the old ispell-language-file o [1999/11/06] ports/14743 ports tcl/e package install hangs sysinstall wi o [1999/11/06] ports/14744 ports tksetathome hangs sysinstall due to lack o [1999/11/06] ports/14745 ports local package fails to install o [1999/11/06] misc/14746 xf86config shell script leaves arrow keys o [1999/11/06] misc/14747 can't install docs 'cause lynx isn't ther o [1999/11/07] ports/14759 ports Many minor port clean-ups o [1999/11/07] ports/14760 asami bsd.port.mk: Speed-up for clean-depends o [1999/11/07] ports/14761 ports More minor port clean-ups o [1999/11/07] ports/14771 ports sslwrap - a new port o [1999/11/07] ports/14773 foxfair Update-port: security/nessus o [1999/11/07] ports/14774 foxfair New port: security/nessus-libraries o [1999/11/07] ports/14775 foxfair New port: security/nessus-libnasl o [1999/11/07] ports/14776 foxfair New port: security/nessus-plugins o [1999/11/07] kern/14778 sio.c doesn't recognize USR model 3090 IS o [1999/11/08] ports/14783 ports mgetty 1.1.12 always sets clocal o [1999/11/08] bin/14786 tail breaks on large files o [1999/11/08] conf/14791 Optionally change the behaviour of fsck u o [1999/11/08] i386/14793 more fdisk partition types o [1999/11/08] misc/14795 Core Dump of /stand/sysinstall o [1999/11/09] ports/14798 ache ports/comms/rzsz no longer compiles becau o [1999/11/09] i386/14800 FreeBSD BootMgr not configurable (or at l o [1999/11/10] conf/14810 [PATCH] initialising multiple interfaces o [1999/11/10] i386/14816 lnc(4) can work with Am79C937 o [1999/11/10] bin/14817 strptime(3) '%C' conversion incorrect o [1999/11/10] ports/14820 torstenb New version of postfix o [1999/11/11] ports/14822 jfitz majordomo sets group-writable dir's o [1999/11/11] ports/14824 wosch no '\0' at the end of buffer o [1999/11/11] bin/14829 rc.shutdown is handled unconsistently by o [1999/11/11] ports/14833 jraynard update port: sfio o [1999/11/11] ports/14838 ache New Speak Freely has been released o [1999/11/12] kern/14839 RELENG_2_2 boot kernel is large size prob o [1999/11/12] kern/14840 Opti930 doesn't work. o [1999/11/12] kern/14841 adrian IEEE 802 encapsulation for arp on etherne o [1999/11/12] bin/14842 PAM's pam_unix.so does not load libcrypt. o [1999/11/12] ports/14854 peter port comms/conserver partially ignores ${ o [1999/11/12] ports/14855 ports [NEW PORT] hns (Hyper NIKKI System) o [1999/11/12] docs/14858 doc pthread_cond_{destroy,timed_wait,wait}.3 f [1999/11/13] ports/14859 ports OpenSSH has no support for the login clas o [1999/11/13] conf/14864 I can not get dual Boot to boot FreeBSD f o [1999/11/13] ports/14866 ports Upgrade FP Exts to FrontPage 2000 Exts. o [1999/11/14] misc/14868 Freebsd 3.2-REL with 1 ISA PNP and 1 PCI o [1999/11/14] ports/14869 ports New FreeBSD port for jesred-1.2.pl1 o [1999/11/14] ports/14870 ports port submission: lc-1.0 o [1999/11/14] ports/14871 ports Updates: audio/timidity++-motif o [1999/11/14] ports/14872 ports Updates: japanese/tkdesk f [1999/11/14] misc/14873 grog corrupted file attachments when mail pass o [1999/11/14] ports/14874 ports Eterm 0.8.10 was released o [1999/11/14] ports/14879 ports New port: lang/starlogo o [1999/11/14] ports/14889 ports [PATCH] dynamic loading for WINE port o [1999/11/14] i386/14891 New smbus driver lmsmb o [1999/11/14] ports/14894 ports comm/kermit some fixed patch o [1999/11/15] ports/14899 ports New Port: /editors/staroffice51a o [1999/11/15] ports/14904 jmz Update port: graphics/png to 1.0.5 o [1999/11/15] ports/14906 ports Update devel/glade to 0.5.5 o [1999/11/15] bin/14911 Install of opiekey missing links to otp-m o [1999/11/15] ports/14915 ports Update port: net/generic-nqs o [1999/11/16] ports/14922 ports Want to contribute new package/port o [1999/11/16] ports/14924 markm p5-Apache-Radius with mod_perl broken on o [1999/11/16] bin/14925 getsubopt isn't poisonous enough o [1999/11/16] conf/14931 rc logging facility o [1999/11/16] ports/14933 imp Simple patch to log password attempts on o [1999/11/16] docs/14936 doc Update for chpass.1 man page o [1999/11/17] pending/14939gnats-adminUpdate of sysutils/prips o [1999/11/17] pending/14940gnats-adminUpdate of sysutils/ipsc s [1999/11/17] kern/14941 kato /etc/init vs kern.securelevel incoherence o [1999/11/17] ports/14945 ports [NEW PORT] gtkdiff - the diff(1) front-en o [1999/11/17] docs/14952 doc Missing man page (terminfo(5)) mentioned o [1999/11/17] bin/14954 search.h is missing o [1999/11/17] ports/14956 ports new port: www/screem o [1999/11/17] ports/14957 ports gtk12 requires Cronyx fonts for Russian l o [1999/11/17] ports/14963 ports update for current sox port to include GS o [1999/11/17] ports/14965 wosch stat port doesn't know fifo file type o [1999/11/17] kern/14968 Convert resource_head and resource.r_link o [1999/11/17] ports/14970 peter conserver-7.4 port submission o [1999/11/17] ports/14971 ports mkcmd-8.10 port submission o [1999/11/17] ports/14972 ports msrc0-0.6 port submission o [1999/11/18] conf/14973 Digi-multiport serial card? o [1999/11/18] conf/14974 In RELENG_3, fdisk reports sizes incorrec o [1999/11/18] ports/14977 peter conserver doesn't support speed over than f [1999/11/18] ports/14983 green OpenSSH, support for login.conf o [1999/11/18] ports/14986 ports possible bug in ssh1 o [1999/11/18] kern/14990 cg new-pcm caveats o [1999/11/18] ports/14991 ports Tcl Data transformations (Tcl-Trf) port o [1999/11/19] misc/14993 Freebsd Locks up when trying to set the h o [1999/11/19] ports/14994 ports [ports upgrade] chinese/pine4 from 4.20 t o [1999/11/19] misc/14999 ISO8859-5 locale missing from RELENG_3 o [1999/11/19] misc/15000 ftp(1) needs to send HTTP/1.1 Host: heade o [1999/11/20] docs/15004 doc isdnd.rc.5 typo (changing -> charging, an o [1999/11/20] ports/15005 flathill Updated port: japanese/gnomeicu o [1999/11/20] ports/15008 jfieber textproc/jade port broken under -current o [1999/11/20] conf/15010 "client" firewall configuration kills inc o [1999/11/21] ports/15016 ports New Port: lang/yabasic o [1999/11/21] ports/15021 ports some port installs fail for non-root user o [1999/11/21] kern/15022 mjacob Suggestion for enhancement: move isp firm o [1999/11/21] ports/15024 ports new port: sysutils/detach o [1999/11/21] bin/15025 chio appears to ignore ACCESS field o [1999/11/21] ports/15027 ports libmcrypt's distfiles should be updated o [1999/11/21] ports/15030 ports New patch, i3dren o [1999/11/21] ports/15031 ports new port editors/auctex o [1999/11/21] ports/15034 andreas update postgresql port to 6.5.3 o [1999/11/21] ports/15035 jseger [Tcl/Tk] apply plus patch to Tcl/Tk8.2 o [1999/11/21] docs/15036 doc update of queue manpage o [1999/11/21] conf/15038 In sysinstall, easy to not notice that se o [1999/11/22] ports/15042 kris linux-realplayer gives wrong information o [1999/11/22] bin/15048 tcopy reports incorrect values o [1999/11/22] bin/15056 gethostbyname complains about SIG RR:s o [1999/11/23] ports/15064 ports New port submittal o [1999/11/23] kern/15065 fsck can't fix "huge" zero length files o [1999/11/23] misc/15066 ``allscreens_flags'' in rc.conf not docum o [1999/11/23] docs/15067 doc diskless.8 does not contain remark about o [1999/11/24] ports/15082 ports Kvidtune is missing moc location. It won' o [1999/11/25] docs/15090 doc Tekram-390 is supported o [1999/11/25] gnu/15091 add -I option to gnu groff and gnu soelim o [1999/11/25] ports/15093 ports ass man pages to net/dnsutl o [1999/11/25] ports/15094 ports Updated port to ftp/downloader to version o [1999/11/25] kern/15095 TCP's advertised window is not scaled imm o [1999/11/25] ports/15096 ports Update port: www/thttpd o [1999/11/26] ports/15098 ports update port: japanese/texinfo o [1999/11/26] ports/15102 ports pgp5 port is broken under -CURRENT o [1999/11/26] ports/15108 ports The print/latex port is thrashing the dis o [1999/11/26] ports/15111 jseger xscreensaver-3.xx ports build fail if ker o [1999/11/26] ports/15112 nakai ports/x11-wm/icewm forgot gnome version b o [1999/11/27] ports/15118 ports wine-991114 once more o [1999/11/27] i386/15119 pcm sound driver dma problems with isa-pn o [1999/11/27] ports/15122 ports Update math/gnumeric to 0.44 o [1999/11/27] ports/15124 ports Update port: security/portsentry o [1999/11/27] ports/15126 ports New port: databases/pxtools o [1999/11/27] misc/15127 _T is defined in ctype.h and breaks c++ l o [1999/11/27] misc/15128 ports Php4 beta 3 o [1999/11/27] ports/15130 ports update port: www/hypermail o [1999/11/28] ports/15131 ports new port: devel/kpp o [1999/11/28] ports/15133 ports new port: x11/wmanager o [1999/11/28] ports/15134 ports new port: www/kdreamsite o [1999/11/28] ports/15135 ports new port: devel/cervisia o [1999/11/28] ports/15138 ports New port: deskutils/yank o [1999/11/28] docs/15139 doc elf.5 typo fix o [1999/11/28] ports/15141 ports update games/gracer to 0.1.4 o [1999/11/28] ports/15142 ports Added DIST_SUBDIR to print/tex port o [1999/11/28] ports/15143 ports update to freetds port (new release) o [1999/11/28] ports/15144 ports New port for hevea o [1999/11/28] ports/15145 ports emulator/vgb port with incomplete PLIST o [1999/11/28] ports/15146 ports New port submition emulator/truereality, o [1999/11/28] ports/15147 ports New port: audio/xsidplay o [1999/11/28] ports/15148 ports Update port: graphics/gimp1-i18n o [1999/11/28] ports/15152 ports new port cd-console o [1999/11/28] ports/15153 ports bugfix for the p5-Mysql port o [1999/11/28] ports/15154 ports update the p5-SQL-Statement port to versi o [1999/11/28] ports/15155 ports update of p5-ReadLine-Perl to version 0.9 o [1999/11/28] ports/15156 ports update of p5-URI to version 1.04 o [1999/11/28] ports/15159 ports new port: games/blackpenguin o [1999/11/28] ports/15160 ports new port: games/ksnes9x o [1999/11/29] bin/15162 billf New option for pkg_version(1). o [1999/11/29] ports/15163 ports Update ports: xemacs-mule-packages-1.0(ed o [1999/11/29] ports/15165 ports Update port: games/krubik o [1999/11/29] ports/15166 ports update udmsearch port to 2.2.1 o [1999/11/29] ports/15167 ports Update port: devel/kdbg o [1999/11/29] misc/15168 Adding tracklist support to fdformat 1360 problems total. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 12:40: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5CA12151BC for ; Mon, 29 Nov 1999 12:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA44744; Mon, 29 Nov 1999 12:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from trooper.velocet.net (trooper.velocet.net [216.126.82.226]) by hub.freebsd.org (Postfix) with ESMTP id 4BFFB15340 for ; Mon, 29 Nov 1999 12:34:38 -0800 (PST) (envelope-from dgilbert@trooper.velocet.net) Received: (from dgilbert@localhost) by trooper.velocet.net (8.9.3/8.9.3) id PAA77619; Mon, 29 Nov 1999 15:34:37 -0500 (EST) (envelope-from dgilbert) Message-Id: <199911292034.PAA77619@trooper.velocet.net> Date: Mon, 29 Nov 1999 15:34:37 -0500 (EST) From: David Gilbert Reply-To: dgilbert@velocet.ca To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15169: tsleep panics a panic Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15169 >Category: kern >Synopsis: tsleep() dereferences *curproc while in a panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 29 12:40:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: David Gilbert >Release: FreeBSD 3.2-STABLE i386 >Organization: Velocet Communications >Environment: 3.3-STABLE, vinum >Description: vinumlock.c calls tsleep() during a sync() in a panic --- which means the curproc is 0. Now if KTRACE is defined, tsleep() dereferences *curproc before it checks *panicstr... it looks like this was unintended side effect of adding the KTRACE #ifdef. >How-To-Repeat: I'm running du on a large vinum drive, which causes it to panic for some (as yet undetermined) reason or other. >Fix: I patched the following (there might be a better way to do it?): *** kern_synch.c.orig Mon Nov 29 15:02:15 1999 --- kern_synch.c Mon Nov 29 15:05:03 1999 *************** *** 384,390 **** struct callout_handle thandle; #ifdef KTRACE ! if (KTRPOINT(p, KTR_CSW)) ktrcsw(p->p_tracep, 1, 0); #endif s = splhigh(); --- 384,390 ---- struct callout_handle thandle; #ifdef KTRACE ! if (p && KTRPOINT(p, KTR_CSW)) ktrcsw(p->p_tracep, 1, 0); #endif s = splhigh(); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 16:50:23 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A65E5155AC for ; Mon, 29 Nov 1999 16:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA66033; Mon, 29 Nov 1999 16:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from shell3.dragondata.com (shell3.dragondata.com [204.137.237.5]) by hub.freebsd.org (Postfix) with ESMTP id A82C51541C for ; Mon, 29 Nov 1999 16:45:54 -0800 (PST) (envelope-from toasty@shell3.dragondata.com) Received: (from root@localhost) by shell3.dragondata.com (8.9.3/8.8.8) id SAA42740; Mon, 29 Nov 1999 18:45:52 -0600 (CST) (envelope-from toasty) Message-Id: <199911300045.SAA42740@shell3.dragondata.com> Date: Mon, 29 Nov 1999 18:45:52 -0600 (CST) From: toasty@dragondata.com Reply-To: toasty@dragondata.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/15174: sysctl(8) gives bogus diagnostic Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15174 >Category: bin >Synopsis: sysctl(8) gives bogus diagnostic >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 29 16:50:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Kevin Day >Release: FreeBSD 4.0-CURRENT i386 >Organization: DragonData Internet Services >Environment: Any FreeBSD system with sysctl(8) >Description: sysctl -da gives a rather confusing message: su-2.03# sysctl -d -a sysctl: sysctl name -1 1024 2: No such file or directory I assumed this would give me the descriptions of all sysctls, but apparently not. I'll come up with a patch myself if someone tells me if it's supposed to allow this, or if it should smack you for doing something that it won't do. Is sysctl broken in that it won't do this, or is it not supposed to and just not printing a sensible error? >How-To-Repeat: sysctl -d -a >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 17:51:37 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B7721156D6 for ; Mon, 29 Nov 1999 17:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA70841; Mon, 29 Nov 1999 17:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 42AB6152DB for ; Mon, 29 Nov 1999 17:47:24 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id RAA26187; Mon, 29 Nov 1999 17:47:23 -0800 (PST) Message-Id: <199911300147.RAA26187@bubba.whistle.com> Date: Mon, 29 Nov 1999 17:47:23 -0800 (PST) From: Archie Cobbs Reply-To: archie@whistle.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15175: tcp_input() fails to update m->m_pkthdr.len Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15175 >Category: kern >Synopsis: tcp_input() fails to update m->m_pkthdr.len >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 29 17:50:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Archie Cobbs >Release: FreeBSD 3.3-STABLE and 4.0-CURRENT >Organization: Whistle Communications, Inc. >Environment: >Description: See sys/netinet/tcp_input.c, line 376: /* * Drop TCP, IP headers and TCP options. */ m->m_data += sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); m->m_len -= sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); Notice that m->m_pkthdr.len is not updated, and therefore the mbuf becomes inconsistent. Apparently this doesn't matter much in normal use. However, netgraph(4) is strict about checking the consistency of mbufs and the above omission causes a panic later on. >How-To-Repeat: Input TCP data >Fix: if ((m->m_flags & M_PKTHDR) != 0) m->m_pkthdr.len -= sizeof(struct tcpiphdr)+off-sizeof(struct tcphdr); [ Can we always assume ((m->m_flags & M_PKTHDR) != 0) here?? ] >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 19:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 62DDA15545 for ; Mon, 29 Nov 1999 19:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA78232; Mon, 29 Nov 1999 19:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Mon, 29 Nov 1999 19:20:02 -0800 (PST) Message-Id: <199911300320.TAA78232@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Chris D. Faulhaber" Subject: Re: bin/15174: sysctl(8) gives bogus diagnostic Reply-To: "Chris D. Faulhaber" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15174; it has been noted by GNATS. From: "Chris D. Faulhaber" To: toasty@dragondata.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/15174: sysctl(8) gives bogus diagnostic Date: Mon, 29 Nov 1999 22:18:36 -0500 (EST) Wasn't this fixed a few weeks ago: des 1999/11/22 00:43:00 PST Modified files: sbin/sysctl sysctl.8 sysctl.c Log: To clarify the previous log message: belatedly back out rev. 1.20 of sysctl.c and rev. 1.18 of sysctl.8, which added an option to show sysctl descriptions instead of their values. The kernel side of this was ripped out by a certain axe-bearing Dane a long time ago. PR: 15012 Revision Changes Path 1.22 +1 -1 src/sbin/sysctl/sysctl.8 1.25 +1 -1 src/sbin/sysctl/sysctl.c ----- Chris D. Faulhaber | All the true gurus I've met never System/Network Administrator, | claimed they were one, and always Reality Check Information, Inc. | pointed to someone better. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 19:30: 8 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id ECF09156D6 for ; Mon, 29 Nov 1999 19:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA79231; Mon, 29 Nov 1999 19:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Mon, 29 Nov 1999 19:30:03 -0800 (PST) Message-Id: <199911300330.TAA79231@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kevin Day Subject: Re: bin/15174: sysctl(8) gives bogus diagnostic Reply-To: Kevin Day Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15174; it has been noted by GNATS. From: Kevin Day To: toasty@dragondata.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/15174: sysctl(8) gives bogus diagnostic Date: Mon, 29 Nov 1999 21:31:45 -0600 (CST) Please close this, with my apologies. This has been present since sysctl was added, and two people seem to have discovered it within a few days of each other. :) Fixed in bin/15012. Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 19:30: 9 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 624C015585 for ; Mon, 29 Nov 1999 19:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA79226; Mon, 29 Nov 1999 19:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Mon, 29 Nov 1999 19:30:02 -0800 (PST) Message-Id: <199911300330.TAA79226@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kevin Day Subject: Re: bin/15174: sysctl(8) gives bogus diagnostic Reply-To: Kevin Day Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15174; it has been noted by GNATS. From: Kevin Day To: jedgar@fxp.org (Chris D. Faulhaber) Cc: toasty@dragondata.com, FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/15174: sysctl(8) gives bogus diagnostic Date: Mon, 29 Nov 1999 21:30:30 -0600 (CST) > > Wasn't this fixed a few weeks ago: > > des 1999/11/22 00:43:00 PST > Modified files: > sbin/sysctl sysctl.8 sysctl.c > Log: > To clarify the previous log message: belatedly back out rev. 1.20 of > sysctl.c and rev. 1.18 of sysctl.8, which added an option to show sysctl > descriptions instead of their values. The kernel side of this was ripped > out by a certain axe-bearing Dane a long time ago. > PR: 15012 > Revision Changes Path > 1.22 +1 -1 src/sbin/sysctl/sysctl.8 > 1.25 +1 -1 src/sbin/sysctl/sysctl.c > > Ooops... I tried doing a gnats search on this before I submitted it, and saw nothing at all related. I'm really starting to believe I either misunderstand how to formulate gnats searches, or it likes to leave things out. :) Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Nov 29 20: 9:18 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 763EF15772; Mon, 29 Nov 1999 20:09:04 -0800 (PST) (envelope-from billf@FreeBSD.org) Received: (from billf@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA84710; Mon, 29 Nov 1999 20:09:04 -0800 (PST) (envelope-from billf@FreeBSD.org) Date: Mon, 29 Nov 1999 20:09:04 -0800 (PST) From: Message-Id: <199911300409.UAA84710@freefall.freebsd.org> To: toasty@dragondata.com, billf@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/15174: sysctl(8) gives bogus diagnostic Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: sysctl(8) gives bogus diagnostic State-Changed-From-To: open->closed State-Changed-By: billf State-Changed-When: Mon Nov 29 20:07:58 PST 1999 State-Changed-Why: Submitter notes that this was fixed in bin/15012. Because the submitter gave this committer a shirt at FreeBSDcon, which the committer is currently wearing, the committer will ignore this oversight. :-> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 1: 6:27 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3EAF6157F2; Tue, 30 Nov 1999 01:06:26 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA10718; Tue, 30 Nov 1999 01:06:26 -0800 (PST) (envelope-from peter@FreeBSD.org) Date: Tue, 30 Nov 1999 01:06:26 -0800 (PST) From: Message-Id: <199911300906.BAA10718@freefall.freebsd.org> To: dgilbert@velocet.ca, peter@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/15169: tsleep() dereferences *curproc while in a panic Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: tsleep() dereferences *curproc while in a panic State-Changed-From-To: open->closed State-Changed-By: peter State-Changed-When: Tue Nov 30 01:05:06 PST 1999 State-Changed-Why: Suggested fix applied, kern_synch.c revs 1.85, 1.72.2.4 and 1.26.2.6 Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 2:30: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 66DEF15833 for ; Tue, 30 Nov 1999 02:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA17058; Tue, 30 Nov 1999 02:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 30 Nov 1999 02:30:02 -0800 (PST) Message-Id: <199911301030.CAA17058@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: MIHIRA Sanpei Yoshiro Subject: Re: kern/13196: [BTX] page in BTX has problem(quit key) Reply-To: MIHIRA Sanpei Yoshiro Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/13196; it has been noted by GNATS. From: MIHIRA Sanpei Yoshiro To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: kern/13196: [BTX] page in BTX has problem(quit key) Date: Tue, 30 Nov 1999 19:28:28 +0900 I think this problem(can't quit help mode) was only appear with ``help set tunables'', because this help is larger than screen height. I created quick hack code. Your comments are welcome :-) --- sys/boot/common/commands.c.org Tue Nov 30 18:37:05 1999 +++ sys/boot/common/commands.c Tue Nov 30 18:38:43 1999 @@ -176,8 +176,10 @@ ((subtopic != NULL) && (s != NULL) && !strcmp(subtopic, s))) { /* exact match, print text */ while((fgetstr(buf, 80, hfd) >= 0) && (buf[0] != '#')) { - pager_output(buf); - pager_output("\n"); + if (pager_output(buf)) + break; + if (pager_output("\n")) + break; } } else if ((subtopic == NULL) && (s != NULL)) { /* topic match, list subtopics */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 2:30: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9287D15860 for ; Tue, 30 Nov 1999 02:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA17067; Tue, 30 Nov 1999 02:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from slarti.muc.de (slarti.muc.de [193.149.48.10]) by hub.freebsd.org (Postfix) with SMTP id D3D9915833 for ; Tue, 30 Nov 1999 02:29:20 -0800 (PST) (envelope-from jhs@jhs.muc.de) Received: (qmail 27005 invoked from network); 30 Nov 1999 10:29:59 -0000 Received: from jhs.muc.de (193.149.49.84) by slarti.muc.de with SMTP; 30 Nov 1999 10:29:59 -0000 Received: (from jhs@localhost) by jhs.muc.de (8.9.3/8.9.3) id KAA41790; Tue, 30 Nov 1999 10:28:51 GMT (envelope-from jhs) Message-Id: <199911301028.KAA41790@jhs.muc.de> Date: Tue, 30 Nov 1999 10:28:51 GMT From: jhs@freebsd.org Reply-To: jhs@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/15182: /usr/src/usr.bin/calendar Nov 31* from * Wed-1 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15182 >Category: bin >Synopsis: "* Wed-1 event" in calendar produces "31 Nov* event" in mail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 02:30:02 PST 1999 >Closed-Date: >Last-Modified: >Originator: Julian H. Stacey jhs@jhs.muc.de >Release: FreeBSD 3.3-RELEASE i386 >Organization: >Environment: >Description: .calendar/calendar containing just 1 line: * Wed-1 MECC, Last Wednesday In Month calendar outputs Nov 31* MECC, Last Wednesday In Month >How-To-Repeat: Put in your ~/.calendar * Wed-1 There is no 31 Nov 1999, Wednesday is 1st December wind the clock back to 30 Nov 1999, run calendar. & get the same impossible date I did ! >Fix: I looked at 3.3/src/usr.bin/calendar/day.c: int daytab[][14] = { { 0, -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364 }, { 0, -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }, }; that 333 seems correct, so a fix is not as trivial as I hoped ! >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 2:40: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id F03B21586A for ; Tue, 30 Nov 1999 02:40:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA17628; Tue, 30 Nov 1999 02:40:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 1E9041514C; Tue, 30 Nov 1999 02:30:55 -0800 (PST) Message-Id: <19991130103055.1E9041514C@hub.freebsd.org> Date: Tue, 30 Nov 1999 02:30:55 -0800 (PST) From: skyhawk@NOSPAM.tempest.yi.org To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/15183: DHCP Client problems -- /sbin/dhclient-conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15183 >Category: misc >Synopsis: DHCP Client problems -- /sbin/dhclient-conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 02:40:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Andrew Fremantle >Release: FreeBSD 3.3-Release to -Stable around Nov.25 >Organization: >Environment: FreeBSD chronos.tempest.yi.org 3.3-STABLE FreeBSD 3.3-STABLE #0: Tue Nov 30 00:30:56 PST 1999 skyhawk@chronos.tempest.yi.org:/usr/src/sys/compile/CHRONOS i386 >Description: /sbin/dhclient-script bugs that have been there about forever as far as I can tell. I first had this problem on 3.2-RELEASE, then later on 3.3-RELEASE with this new system, and it still lingers on with 3.3-STABLE. It should be noted that I was not really a FreeBSD user prior to this point. This problem occurs with both a generic isa NE/2000 card and an isa 3c509b. This has only occured on single-NIC systems. I've never tested with a multi-homed box. As far as I can tell, the problem is that arp to the external interfaces is hosed. For example, if my machine has 192.168.1.20 as an IP bound to ed0, and I try to ping 192.168.1.20, I get no ping replies and this generated in syslog : Nov 30 01:42:00 chronos /kernel: arplookup 127.0.0.1 failed: could not allocate llinfo Nov 30 01:42:00 chronos /kernel: arpresolve: can't allocate llinfo for 127.0.0.1rt over and over and over again, until I stop trying to ping. >How-To-Repeat: As far as I can tell, have a DHCP server on your network, have the following sections in /etc/rc.conf network_interfaces="ep0 lo0" #ifconfig_ed0="DHCP" ifconfig_ep0="DHCP" As appropriate for your network card, of course. Try to ping your interface and, unless i'm being an idiot and doing something really wrong, watch /var/log/messages grow! :) >Fix: I'm not even going to pretend to understand all the issues, but i've gone through and commented several lines in /sbin/dhclient-script, which seems to correct the problem, *for me*, and in my *one card* setup. For convenience, I will make the full dhclient-script file downloadable shortly from ftp://ftp.tempest.yi.org/pub/dhclient-script.modified >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 6:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A7747158DF for ; Tue, 30 Nov 1999 06:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA36704; Tue, 30 Nov 1999 06:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from ares.maths.adelaide.edu.au (ares.maths.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id C2482158D1 for ; Tue, 30 Nov 1999 06:10:07 -0800 (PST) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id AAA26257; Wed, 1 Dec 1999 00:40:06 +1030 (CST) (envelope-from glewis) Message-Id: <199911301410.AAA26257@ares.maths.adelaide.edu.au> Date: Wed, 1 Dec 1999 00:40:06 +1030 (CST) From: Greg Lewis Reply-To: glewis@trc.adelaide.edu.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/15187: [Patch] Request for reinstatement of aic0 driver in GENERIC Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15187 >Category: conf >Synopsis: [Patch] Request for reinstatement of aic0 driver in GENERIC >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 06:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Greg Lewis >Release: FreeBSD 3.3-STABLE i386 >Organization: Teletraffic Research Centre >Environment: FreeBSD 3.3-STABLE >Description: With the commit of Luoqi Chen's CAM driver for the Adaptec AIC-6360/AIC-6260/152x SCSI controllers it would be handy if this driver was reinstated in the GENERIC kernel. >How-To-Repeat: N/A >Fix: This is a trivial patch which simply adds the relevant line back into the GENERIC configuration file (for the -STABLE branch). While I'm doing this, I'll note that LINT mentions a specific order for the ISA SCSI controllers so that the bt0 driver is probed correctly, but GENERIC completely ignores this order. diff -cr /usr/src/sys/i386/conf/GENERIC conf/GENERIC *** /usr/src/sys/i386/conf/GENERIC Tue Oct 12 00:01:47 1999 --- conf/GENERIC Tue Nov 30 23:42:47 1999 *************** *** 99,104 **** --- 99,105 ---- controller adw0 controller bt0 at isa? port ? cam irq ? controller aha0 at isa? port ? cam irq ? + controller aic0 at isa? port ? cam irq ? # SCSI peripherals # Only one of each of these is needed, they are dynamically allocated. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 8:25:56 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202]) by hub.freebsd.org (Postfix) with SMTP id 266BC15994 for ; Tue, 30 Nov 1999 08:25:49 -0800 (PST) (envelope-from Artur.Silveira@rezo.com) Received: (qmail 5210028 invoked from network); 30 Nov 1999 16:25:46 -0000 Received: from d023.paris-107.cybercable.fr (HELO rezo.com) ([212.198.107.23]) (envelope-sender ) by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 30 Nov 1999 16:25:46 -0000 Message-ID: <38440789.739A7EF6@rezo.com> Date: Tue, 30 Nov 1999 17:21:14 +0000 From: Artur Silveira da Cunha Organization: REZO+ X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-bugs@freebsd.org, freebsd-stable@freebsd.org Subject: vm_fault witn 3.3-Release with NFS and Panic Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello I'm working with 3.3 Release stable in dual processing and I obtains a vm_fault error and after some seconds an automatic reboot or a system lock. 1) How I obtain the vm_panic My hardware configuration follows: Asus P2B-D with 2 Pentium III 500Mhz 128MB memory Adaptec 2940UW ethernet card Kingston I have several NFS mounts served by an AIX computer. I use the Freebsd computer for tests only. The error is always obtained while compiling by NFS the lynx package (./configure and make) at the moment where the makefile makes a copy of the linx to .. . The error is the following: /kernel: vm_fault: pager read error, pid 6951 (cp) I restart the computer and obtains at the same moment the vm_fault error and reboots!!! 2) Some additional tests a) I try to copy the lynx to the fixed disks and I obtains the lynx package normally compiled. b) simultaneous loopings copy of several files works without problems c) the same with an SparcSolaris with simultaneous copy, works without problems 3) No vm_fault with options -r=1024,-w=1024 I could obtain my lynx with NFS when I mount the NFS with packets at 1024 bytes size. What do you think about this. It's normal in FreeBsd that I reduce the packet size to 1024? It exists another problem (network driver?). Can I use FreeBsd without the fear that I cant give to me computer a big NFS load? Artur Silveira -- Artur Silveira da Cunha email: Artur.Silveira@rezo.com REZO+ www.rezo.com Tel: 33 1 44 23 02 61 Fax: 33 1 44 23 94 45 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 9:40: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id AC55A154D2 for ; Tue, 30 Nov 1999 09:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA14466; Tue, 30 Nov 1999 09:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 775A714E7F; Tue, 30 Nov 1999 09:38:13 -0800 (PST) Message-Id: <19991130173813.775A714E7F@hub.freebsd.org> Date: Tue, 30 Nov 1999 09:38:13 -0800 (PST) From: jaron@nethere.net To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/15190: crashing while in a multiplatform environment and X11 forwarding Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15190 >Category: misc >Synopsis: crashing while in a multiplatform environment and X11 forwarding >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 09:40:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Jaron Omega >Release: 3.3-RELEASE/3.2-RELEASE >Organization: NetHere Inc. >Environment: FreeBSD dell 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Sat Nov 20 09:23:12 GMT 1999 root@dell:/usr/src/sys/compile/PAO_ALL i386 >Description: 3.2-RELEASE Toshiba Portege ssh2 to a Linux Firewall and X11 forwarding. 3.3-RELEASE Dell Inspiron ssh2 to the same Linux Frewall and X11 forwarding. The Toshiba never crashes, I run Netscape mail xmms whatnot from the Linux machine, however the Dell crashes on a consistant manner with X11 forwarding. Often its during a key press sometimes its just at random. But the Dell is also used on other networks, where it never crashes while X11 forwarding. Since this is a multiplatform environment, and the method of running X applications, from one machine to the other, finding "where" the bug is, can be difficult, and as I feel reluctant to provide logs and kernel dumps of both machines. I do suspect it is a problem on the 3.3-RELEASE side though, but that still can be unsure, just becuase ssh2 works on other *BSD's doesn't make it exempt. >How-To-Repeat: Set up sshd2 (latest and greatest) on a Linux machine (2.2.x)/RedHat 6.0 install ssh2 on a 3.3-RELEASE box, *possibly with PAO drivers*. Start running X applications from the Linux machine. Netscape, gimp etc. Givin time the 3.3-R machine will completely crash. The longest I have gotten it to maintain "normal" operations was approximately 36 hours, till I hit "home" in xmms to select a song to listen to. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 13:10: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1EEB914DE0 for ; Tue, 30 Nov 1999 13:10:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA43359; Tue, 30 Nov 1999 13:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 30 Nov 1999 13:10:02 -0800 (PST) Message-Id: <199911302110.NAA43359@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Karl Dietz Subject: Re: gnu/15091: add -I option to gnu groff and gnu soelim Reply-To: Karl Dietz Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR gnu/15091; it has been noted by GNATS. From: Karl Dietz To: Karl.Dietz@frankfurt.netsurf.de Cc: Alexey Zelkin , FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: gnu/15091: add -I option to gnu groff and gnu soelim Date: Tue, 30 Nov 1999 22:11:43 +0100 (CET) Hi Alexey, > > You have to submit this patch to official groff maintainer and > > then next release out we'll import such change. > > at the time this patch was prepared, there was no GNU groff maintainer. > And GNU groff had not been updated to 1.11 quite a long time. (IIRC) > > I will talk to the original author to submit it to GNU groff. I contacted the author. He said the patch has been accepted by groff maintainer, but not yet included. So this PR should either be changed to "please import new groff as soon as there is one" or closed. Regards, Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 15:30: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9DE741585C for ; Tue, 30 Nov 1999 15:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA55206; Tue, 30 Nov 1999 15:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from sebastion.sa.camtech.com.au (sebastion.sa.camtech.com.au [203.28.3.2]) by hub.freebsd.org (Postfix) with ESMTP id 4860214E5F for ; Tue, 30 Nov 1999 15:21:35 -0800 (PST) (envelope-from root@camtech.com.au) Received: (from smtp@localhost) by sebastion.sa.camtech.com.au (8.8.5/8.8.7) id JAA08177 for ; Wed, 1 Dec 1999 09:51:28 +1030 (CST) Received: from slingshot(192.168.1.2) by sebastion via smap (V2.0) id xma008165; Wed, 1 Dec 99 09:51:12 +1030 Received: from babylon5.camtech.com.au (dhcp-4-143.ct [192.168.4.143]) by slingshot.ct (8.9.1/8.9.1) with ESMTP id JAA01357 for ; Wed, 1 Dec 1999 09:51:09 +1030 (CST) Received: (from root@localhost) by babylon5.camtech.com.au (8.9.3/8.9.3) id JAA00544; Wed, 1 Dec 1999 09:14:17 +1030 (CST) (envelope-from root) Message-Id: <199911302244.JAA00544@babylon5.camtech.com.au> Date: Wed, 1 Dec 1999 09:14:17 +1030 (CST) From: Charlie Root Reply-To: root@camtech.com.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15193: PCCARD ethernet interface not returned by SIOCGIFCONF Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15193 >Category: kern >Synopsis: PCCARD ethernet interface not returned by SIOCGIFCONF >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 15:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Phil Kernick >Release: FreeBSD 3.3-RELEASE i386 >Organization: Camtech Pty Ltd >Environment: FreeBSD 3.3-RELEASE i386 PAO3-19991011 Compaq Armada 1750 D-Link DE-650 PCCARD ethernet interface >Description: The card is located correctly, and configured by ifconfig so that I can use it. However, when ioctl(SIOCGIFCONF) is called, the interface name is not returned in the list. All other interfaces are. This does not affect ifconfig, because this gets its list of interfaces from sysctl() and not the SIGCGIFCONF ioctl(). I'm assuming that the problem is with pccardd not registering the interface, but I don't know enough about its internal workings or that of the kernel to look into fixing it. >How-To-Repeat: The simplest way to demonstrate the problem is to run 'amd -v'. It will report "No networks." even when the card is configured and running correctly. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 17:10: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1125E15A36 for ; Tue, 30 Nov 1999 17:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA63715; Tue, 30 Nov 1999 17:10:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 437D814F59 for ; Tue, 30 Nov 1999 17:03:45 -0800 (PST) (envelope-from jedgar@pawn.primelocation.net) Received: by pawn.primelocation.net (Postfix, from userid 1003) id B7B0A9B36; Tue, 30 Nov 1999 20:03:41 -0500 (EST) Message-Id: <19991201010341.B7B0A9B36@pawn.primelocation.net> Date: Tue, 30 Nov 1999 20:03:41 -0500 (EST) From: jedgar@fxp.org Reply-To: jedgar@fxp.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15194: [PATCH] Fix for discrepancies/inconsistencies in LINT Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15194 >Category: kern >Synopsis: [PATCH] Fix for discrepancies/inconsistencies in LINT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 17:10:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Chris D. Faulhaber >Release: FreeBSD 4.0-CURRENT i386 >Organization: N/A >Environment: FreeBSD 4.0-CURRENT i386 >Description: LINT contains various discrepancies and inconsistencies WRT file locations and URLs: * Reference to /sys/i386/isa/snd/CARDS: directory and file no longer exist (moved to src/sys/dev/pcm with no corresponding reference file) * Brooktree driver overrides reference to /usr/src/sys/pci/brooktree848.c no longer exists, now found in src/sys/dev/bktr/bktr_card.h * Inconsistent references to source tree (/sys/..., src/sys/..., /usr/src/sys/...); references changed to src/sys/... * URL to BSD ATM reference has changed * Add http:// to www.vcc.com >How-To-Repeat: See LINT >Fix: Index: LINT =================================================================== RCS file: /home/ncvs/src/sys/i386/conf/LINT,v retrieving revision 1.680 diff -u -r1.680 LINT --- LINT 1999/11/23 21:44:59 1.680 +++ LINT 1999/12/01 00:57:44 @@ -817,7 +817,7 @@ # device is also untested. Use at your own risk. # # The option VINUMDEBUG must match the value set in CFLAGS -# in /usr/src/sbin/vinum/Makefile. Failure to do so will result in +# in src/sbin/vinum/Makefile. Failure to do so will result in # the following message from vinum(8): # # Can't get vinum config: Invalid argument @@ -1307,7 +1307,7 @@ # # the current driver supports only PVC operations (no atm-arp, no multicast). # for more details, please read the original documents at -# http://www.ccrc.wustl.edu/pub/chuck/bsdatm/wucs.html +# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html # pseudo-device atm device en0 @@ -1338,7 +1338,7 @@ # the problem. # # Beware! The addresses specified below are also hard-coded in -# i386/isa/sound/sound_config.h. If you change the values here, you +# src/sys/i386/isa/sound/sound_config.h. If you change the values here, you # must also change the values in the include file. # # pcm: PCM audio through various sound cards. @@ -1346,7 +1346,7 @@ # This has support for a large number of new audio cards, based on # CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP. # For more information about this driver and supported cards, -# see the pcm.4 man page and /sys/i386/isa/snd/CARDS. +# see the pcm.4 man page. # # The flags of the device tells the device a bit more info about the # device that normally is obtained through the PnP interface. @@ -1378,7 +1378,7 @@ # options GUS_DMA # options GUS_IRQ # -# The i386/isa/sound/sound.doc has more information. +# The src/sys/i386/isa/sound/sound.doc has more information. # Controls all "VOXWARE" driver sound devices. See Luigi's driver # below for an alternate which may work better for some cards. @@ -1555,7 +1555,7 @@ device stli0 at isa? port 0x2a0 iomem 0xcc000 flags 23 iosiz 0x1000 # You are unlikely to have the hardware for loran0 device loran0 at isa? port ? irq 5 -# HOT1 Xilinx 6200 card (www.vcc.com) +# HOT1 Xilinx 6200 card (http://www.vcc.com/) device xrpu0 # @@ -1735,7 +1735,7 @@ # options OVERRIDE_MSP=1 # options OVERRIDE_DBX=1 # These options can be used to override the auto detection -# The current values for xxx are found in /usr/src/sys/pci/brooktree848.c +# The current values for xxx are found in src/sys/dev/bktr/bktr_card.h # Using sysctl(8) run-time overrides on a per-card basis can be made # # options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL @@ -2258,7 +2258,7 @@ # some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and # Compaq are actually DPT controllers. # -# See sys/dev/dpt for debugging and other subtle options. +# See src/sys/dev/dpt for debugging and other subtle options. # DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various # instruments are enabled. The tools in # /usr/sbin/dpt_* assume these to be enabled. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 17:40: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D885C15A43 for ; Tue, 30 Nov 1999 17:40:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA66072; Tue, 30 Nov 1999 17:40:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 77E4615AA7; Tue, 30 Nov 1999 17:34:46 -0800 (PST) Message-Id: <19991201013446.77E4615AA7@hub.freebsd.org> Date: Tue, 30 Nov 1999 17:34:46 -0800 (PST) From: hostetlb@agcs.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/15195: Kernel hangs during concurrent NFS writes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15195 >Category: kern >Synopsis: Kernel hangs during concurrent NFS writes >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 17:40:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Bly Hostetler >Release: 2.2.8 through 3.3 >Organization: AG Communication Systems >Environment: FreeBSD calvin-t1.labs.agcs.com 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Tue Nov 30 09:51:56 GMT 1999 root@calvin-t1.labs.agcs.com:/usr/src/sys/compile/AGCS i386 >Description: We have multiple processes that have opened the same file with mode "a+" (append, read-access). The file is located on an NFS mounted partition (easiest to reproduce using UDP, NFSv3; but we have seen it using UDP or TCP/IP, and NFSv3 or NFSv2). When the processes start writing to that file at the same time, the OS get locked in the kernel; no login prompts, no shell prompts, no i/o, nothing. Trapping to DDB (ctrl-alt-esc) shows that the kernel is inside _nfs_write; we have trapped it at several locations, but always within _nfs_write. Following is an example "trace" from DDB : _biodone(f418d200,f418d200,f22bf000,f22dc600,3) at _boidone 0x2e6 _nfs_doio(f418d200,f22df000,f22dc600,1,f418d200) at _nfs_doio 0x4c5 _nfs_strategy(efbffddc) at _nfs_strategy 0x68 _nfs_writebp(f418d200,1,efbffec4,f0163000,efbffe50) at _nfs_writebp 0x125 _nfs_bwrite(efbff50) at _nfs_bwrite 0x10 _nfs_write(efbffee08,f02564e0,1,efbff94,2) at _nfs_write 0x648 _vn_write(f25d6f80,efbfff34,f22bf000,f02564e0,f22c600) at _vn_write 0x93 _write(f220c600,efbff94,efbff84,0,5167) at _write 0x97 _syscall We mounted the directory using : /sbin/mount_nfs -U -c plato-t1:/u/FreeBSD/decm /usr/home/decm We are running on a P-II 450, 512 Meg RAM, 1024 Swap, 100 Mbit ethernet. Although we initially detected the problem in FreeBSD 2.2.8, we subsequently loaded FreeBSD 3.3, and had the same results. The sample code below was created to simulate third-party software that was actually the original cause of the lock-ups. We understand that this form of concurrent writes to a file is asking for trouble, but we did not have control over the problem code. The sample code below worked when tried on SCO Unix using the same NFS mounted directory (and file). We have identified a fix to the C source code, and passed this on to our vender, but we also believe this problem should be corrected in the OS's NFS layer. >How-To-Repeat: The following program can be used to create the problem. By default it spawns 10 writes, but can spawn any number. We have only used 10 and 50, and the problem occurs immediately (within 5-10 writes to the file.) *** BEGIN C CODE *** #include main(int argc, char **argv) { int forks = 10; int writer_number = 1; FILE *fp1; int i = 0; if (argc > 1) { forks = atoi(argv[1]); } fprintf(stderr, "Spawning %d writers\n", forks); while (--forks > 0) { if (!fork()) { /* Child */ break; } writer_number++; } fprintf(stderr, "Writer number %d\n", writer_number); while (1) { while (!(fp1 = fopen("F1", "a+"))); fprintf(fp1, "%d %d\n", writer_number, i); fflush(fp1); fclose(fp1); i++; } } *** END OF C CODE *** The problem lies in the fact that each process is opening the file for append, but is not locking the file for exclusive access. The user-level work-around to the above code is to lock the file for exclusive access. Adding the following lines (in the locations indicated) : /* ... at the top of the file */ #include ... /* After the "while (!(...fopen(...)));" add this */ flock(fileno(fp1), LOCK_EX); >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 17:40: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4599615A47 for ; Tue, 30 Nov 1999 17:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA66081; Tue, 30 Nov 1999 17:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 1D58914CAF; Tue, 30 Nov 1999 17:36:40 -0800 (PST) Message-Id: <19991201013640.1D58914CAF@hub.freebsd.org> Date: Tue, 30 Nov 1999 17:36:40 -0800 (PST) From: shadowfx@concentric.net To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/15196: shutdown -h no longer synching disks, thus requiring user to fsck on way back up. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15196 >Category: misc >Synopsis: shutdown -h no longer synching disks, thus requiring user to fsck on way back up. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 17:40:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: John Barnes >Release: 3.3 Stqble #2 from a cvs-update and make world. >Organization: >Environment: FreeBSD ardor.river.running 3.3-STABLE FreeBSD 3.3-STABLE #2: Sat Nov20 21:23:2 8 EST 1999 root@ardor.river.running:/usr/src/sys/compile/ASUS32 i386 >Description: tried both # halt and # shutdown -h now both halt the system, but before doing the usual syncing of disks. This casues file systems to dismount incorrectly and therefore causes fsck to run against them all on the next boot. >How-To-Repeat: Source tree was pulled on the night of November 19th, 1999. Pulled all available source code, inclding docs and ports using "cvsupit" Then did make world. Noticed this a few days later after running my normal "halt" to stop the system. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 19:30: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6E58B14E54 for ; Tue, 30 Nov 1999 19:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA74825; Tue, 30 Nov 1999 19:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from pal.svznov.kemerovo.su (pal.svznov.kemerovo.su [193.125.140.95]) by hub.freebsd.org (Postfix) with ESMTP id 7309914E06 for ; Tue, 30 Nov 1999 19:27:23 -0800 (PST) (envelope-from sa@pal.svznov.kemerovo.su) Received: (from root@localhost) by pal.svznov.kemerovo.su (8.9.3/8.9.3) id KAA06182; Wed, 1 Dec 1999 10:28:10 +0700 (KRAT) (envelope-from sa) Message-Id: <199912010328.KAA06182@pal.svznov.kemerovo.su> Date: Wed, 1 Dec 1999 10:28:10 +0700 (KRAT) From: root@pal.svznov.kemerovo.su Reply-To: eugen@svzserv.kemerovo.su To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/15197: Bug in /usr/include/netinet/in.h with u_int32_t Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15197 >Category: i386 >Synopsis: Bug in /usr/include/netinet/in.h with u_int32_t >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 19:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 3.3-STABLE i386, cvsup'd at 1 Dec 1999 >Organization: SvzServ Co. >Environment: Fresh installation of FreeBSD 3.3-RELEASE, cvsup'd to -STABLE; gcc 2.7.2.3. >Description: There is a definition in /usr/include/netinet/in.h, $FreeBSD: src/sys/netinet/in.h,v 1.38.2.3 1999/08/29 16:29:34 peter Exp $, line 223: struct in_addr { u_int32_t s_addr; }; does not define u_int32_t. It does not include or something else that defines u_int32_t. Therefore, if a C-program includes and AFTER, it fails to compile. I discovered it compiling Perl module TacacsPlus-0.16 fetched from CPAN. >How-To-Repeat: Download http://www.perl.com/CPAN-local/authors/id/MSHOYHER/TacacsPlus-0.16.tar.gz tar xfvz TacacsPlus-0.16.tar.gz perl Makefile.PL make Here you will have parse error in /usr/include/netinet/in.h >Fix: Here is a patch: --- in.h.orig Wed Dec 1 10:25:23 1999 +++ in.h Wed Dec 1 10:25:47 1999 @@ -36,7 +36,7 @@ #ifndef _NETINET_IN_H_ #define _NETINET_IN_H_ - +#include /* * Constants and structures defined by the internet system, * Per RFC 790, September 1981, and numerous additions. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 19:30: 9 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 907E015657 for ; Tue, 30 Nov 1999 19:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA74834; Tue, 30 Nov 1999 19:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id 891C614E06 for ; Tue, 30 Nov 1999 19:28:40 -0800 (PST) (envelope-from gdonl@tsc.tdk.com) Received: from imap.gv.tsc.tdk.com (imap.gv.tsc.tdk.com [192.168.240.198]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id TAA08268 for ; Tue, 30 Nov 1999 19:28:40 -0800 (PST) (envelope-from gdonl@tsc.tdk.com) Received: (from gdonl@localhost) by imap.gv.tsc.tdk.com (8.9.3/8.9.3) id TAA00751; Tue, 30 Nov 1999 19:26:29 -0800 (PST) (envelope-from Don.Lewis@tsc.tdk.com) Message-Id: <199912010326.TAA00751@imap.gv.tsc.tdk.com> Date: Tue, 30 Nov 1999 19:26:29 -0800 (PST) From: Don Lewis Reply-To: gdonl@tsc.tdk.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15198: CD changer autodetection doesn't work, causing SCSI timeout [PATCH] Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15198 >Category: kern >Synopsis: CD changer autodetection doesn't work, causing SCSI timeout [PATCH] >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 19:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Don Lewis >Release: FreeBSD 3.3-STABLE i386 >Organization: TDK Semiconductor >Environment: FreeBSD 3.3-STABLE of the 19991129 vintage with a PIONEER CD-ROM DRM-6324X LUN-based CD-ROM changer connected via an aic SCSI controller. >Description: A SCSI bus timeout occurs when the driver attempts to access the second slot in the CD changer (cd2). If the cdX devices are listed in /etc/fstab, the machine totally wedges. If no attempt is made to mount the cdX devices, the machine is otherwise usable. Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.3-STABLE #3: Sun Nov 28 08:45:20 PST 1999 gdonl@gvpc85.gv.tsc.tdk.com:/usr/src/sys/compile/TSC_INTERNAL Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 265910120 Hz CPU: Pentium II (265.91-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x633 Stepping = 3 Features=0x80f9ff real memory = 67108864 (65536K bytes) avail memory = 62078976 (60624K bytes) Preloaded elf kernel "kernel" at 0xc030a000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc030a09c. Pentium Pro MTRR support enabled Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x00 on pci0.7.1 vga0: rev 0x00 int a irq 10 on pci0.11.0 xl0: <3Com 3c905-TX Fast Etherlink XL> rev 0x00 int a irq 9 on pci0.15.0 xl0: Ethernet address: 00:60:08:31:f9:87 xl0: autoneg complete, link status good (half-duplex, 10Mbps) ahc0: rev 0x00 int a irq 10 on pci0.19.0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 not found sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1 not found at 0x2f8 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 wdc1 not found at 0x170 ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 aic0 at 0x340-0x35f irq 11 on isa aic0: aic6360, disconnection vga0 at 0x3c0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Waiting 2 seconds for SCSI devices to settle sa0 at aic0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 5.000MB/s transfers (5.000MHz, offset 8) pass4 at aic0 bus 0 target 5 lun 1 pass4: Removable Changer SCSI-2 device pass4: 5.000MB/s transfers (5.000MHz, offset 8) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled da0: 4148MB (8496884 512 byte sectors: 255H 63S/T 528C) changing root device to da0s1a cd0 at ahc0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present WARNING: / was not properly dismounted da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit) da1: 2047MB (4194057 512 byte sectors: 255H 63S/T 261C) cd1 at aic0 bus 0 target 6 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 5.000MB/s transfers (5.000MHz, offset 8) cd1: cd present [12205 x 2048 byte records] (cd2:aic0:0:6:1): ccb 0xc0871800 - timed out, phase 84 cd2 at aic0 bus 0 target 6 lun 1 cd2: Removable CD-ROM SCSI-2 device cd2: 5.000MB/s transfers (5.000MHz, offset 8) cd2: cd present [36007 x 2048 byte records] cd3 at aic0 bus 0 target 6 lun 2 cd3: Removable CD-ROM SCSI-2 device cd3: 5.000MB/s transfers (5.000MHz, offset 8) cd3: cd present [211343 x 2048 byte records] cd4 at aic0 bus 0 target 6 lun 3 cd4: Removable CD-ROM SCSI-2 device cd4: 5.000MB/s transfers (5.000MHz, offset 8) cd4: Attempt to query device size failed: NOT READY, Medium not present cd5 at aic0 bus 0 target 6 lun 4 cd5: Removable CD-ROM SCSI-2 device cd5: 5.000MB/s transfers (5.000MHz, offset 8) cd5: Attempt to query device size failed: NOT READY, Medium not present cd6 at aic0 bus 0 target 6 lun 5 cd6: Removable CD-ROM SCSI-2 device cd6: 5.000MB/s transfers (5.000MHz, offset 8) cd6: Attempt to query device size failed: NOT READY, Medium not present cd9660: RockRidge Extension >How-To-Repeat: >Fix: Adding a quirk entry to the driver fixes the problem, even though the comments say this shouldn't be necessary. --- sys/cam/scsi/scsi_cd.c.orig Sun Aug 29 09:21:45 1999 +++ sys/cam/scsi/scsi_cd.c Tue Nov 30 06:40:16 1999 @@ -164,6 +164,10 @@ "*"}, /* quirks */ CD_Q_CHANGER }, { + { T_CDROM, SIP_MEDIA_REMOVABLE, "PIONEER", "CD-ROM DRM-6324X", + "*"}, /* quirks */ CD_Q_CHANGER + }, + { { T_CDROM, SIP_MEDIA_REMOVABLE, "CHINON", "CD-ROM CDS-535","*"}, /* quirks */ CD_Q_BCD_TRACKS } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 21:40: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A6FC515A6C for ; Tue, 30 Nov 1999 21:40:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA84219; Tue, 30 Nov 1999 21:40:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 30 Nov 1999 21:40:04 -0800 (PST) Message-Id: <199912010540.VAA84219@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Kenneth D. Merry" Subject: Re: kern/15198: CD changer autodetection doesn't work, causing SCSI timeout [PATCH] Reply-To: "Kenneth D. Merry" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/15198; it has been noted by GNATS. From: "Kenneth D. Merry" To: gdonl@tsc.tdk.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/15198: CD changer autodetection doesn't work, causing SCSI timeout [PATCH] Date: Tue, 30 Nov 1999 22:37:50 -0700 (MST) Don Lewis wrote... > > >Number: 15198 > >Category: kern > >Synopsis: CD changer autodetection doesn't work, causing SCSI timeout [PATCH] [ ... ] > FreeBSD 3.3-STABLE of the 19991129 vintage with a PIONEER CD-ROM DRM-6324X > LUN-based CD-ROM changer connected via an aic SCSI controller. > > >Description: > > A SCSI bus timeout occurs when the driver attempts to access the > second slot in the CD changer (cd2). If the cdX devices are listed > in /etc/fstab, the machine totally wedges. If no attempt is made > to mount the cdX devices, the machine is otherwise usable. [ ... ] > cd1 at aic0 bus 0 target 6 lun 0 > cd1: Removable CD-ROM SCSI-2 device > cd1: 5.000MB/s transfers (5.000MHz, offset 8) > cd1: cd present [12205 x 2048 byte records] > (cd2:aic0:0:6:1): ccb 0xc0871800 - timed out, phase 84 > cd2 at aic0 bus 0 target 6 lun 1 > cd2: Removable CD-ROM SCSI-2 device > cd2: 5.000MB/s transfers (5.000MHz, offset 8) > cd2: cd present [36007 x 2048 byte records] [ ... ] > >Fix: > > Adding a quirk entry to the driver fixes the problem, even though the > comments say this shouldn't be necessary. Indeed, I'm certainly surprised that adding a quirk fixed the problem. I suppose this device must take a long time to respond to a read capacity. With most changers, it's no big deal if the changer gets switched into the changer scheduling code with lun 1 instead of lun 0. You usually don't see any sort of trouble. With the patch, do the lockups still happen when you boot the machine? I wouldn't expect the patch to have much effect on that, since all LUNs of the changer will be run through the changer scheduling mechanism once the second lun is detected... Unless the CDs are being mounted as they are found. In any case, the lockup shouldn't happen, although finding the lockup might be rather difficult. Can you break into the debugger when the lockup happens and get a stack trace? Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Nov 30 22: 0: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 673A715A77 for ; Tue, 30 Nov 1999 22:00:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA86254; Tue, 30 Nov 1999 22:00:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 30 Nov 1999 22:00:02 -0800 (PST) Message-Id: <199912010600.WAA86254@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Vallo Kallaste Subject: Re: misc/15196: shutdown -h no longer synching disks, thus requiring user to fsck on way back up. Reply-To: Vallo Kallaste Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/15196; it has been noted by GNATS. From: Vallo Kallaste To: shadowfx@concentric.net Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/15196: shutdown -h no longer synching disks, thus requiring user to fsck on way back up. Date: Wed, 1 Dec 1999 07:54:06 +0200 On Tue, Nov 30, 1999 at 05:36:40PM -0800, shadowfx@concentric.net wrote: > >Number: 15196 > >Category: misc > >Synopsis: shutdown -h no longer synching disks, thus requiring user to fsck on way back up. > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Nov 30 17:40:00 PST 1999 > >Closed-Date: > >Last-Modified: > >Originator: John Barnes > >Release: 3.3 Stqble #2 from a cvs-update and make world. > >Organization: > >Environment: > FreeBSD ardor.river.running 3.3-STABLE FreeBSD 3.3-STABLE #2: Sat Nov20 21:23:2 8 EST 1999 root@ardor.river.running:/usr/src/sys/compile/ASUS32 i386 > >Description: > tried both > # halt > and > # shutdown -h now > > both halt the system, but before doing the usual syncing of disks. This > casues file systems to dismount incorrectly and therefore causes fsck to run > against them all on the next boot. > >How-To-Repeat: > Source tree was pulled on the night of November 19th, 1999. Pulled all available source code, inclding docs and ports using "cvsupit" > Then did make world. Noticed this a few days later after running my normal "halt" to stop the system. Ahh, that's it. I noticed that my machine comes back with dirty disks after successful shutdown initiated by UPS, but had no idea why.. Very bad, to say at least, we have had several power outages within last three days. -- Vallo Kallaste vallo@matti.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 5:40:27 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 88EE914D70 for ; Wed, 1 Dec 1999 05:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA00983; Wed, 1 Dec 1999 05:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from alt.sics.se (alt.sics.se [193.10.66.111]) by hub.freebsd.org (Postfix) with ESMTP id A357014F80 for ; Wed, 1 Dec 1999 02:53:12 -0800 (PST) (envelope-from root@alt.sics.se) Received: (from root@localhost) by alt.sics.se (8.9.3/8.8.7) id LAA13862; Wed, 1 Dec 1999 11:53:12 +0100 (CET) (envelope-from root) Message-Id: <199912011053.LAA13862@alt.sics.se> Date: Wed, 1 Dec 1999 11:53:12 +0100 (CET) From: assar@sics.se To: FreeBSD-gnats-submit@freebsd.org Cc: assar@sics.se X-Send-Pr-Version: 3.2 Subject: kern/15204: systems panics when ktrace-ing Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15204 >Category: kern >Synopsis: systems panics when ktrace-ing >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 1 05:40:02 PST 1999 >Closed-Date: >Last-Modified: >Originator: Assar Westerlund >Release: FreeBSD 3.3-RELEASE i386 >Organization: none >Environment: FreeBSD alt.sics.se 3.3-RELEASE FreeBSD 3.3-RELEASE #4: Sun Nov 28 13:45:32 CET 1999 root@alt.sics.se:/usr/src/kame/freebsd3/sys/compile/ALT.v6 i386 >Description: System manages to panic when running ktrace. It seems to be caused by the ref-count on the node refered to by `proc' being too low. I'm sorry I don't have more details but I don't have time to look further at this right know and I thought this problem might live better in the PR database than in my leaky memory. IdlePTD 4190208 initial pcb at 36b14c panicstr: lockmgr: locking against myself panic messages: --- panic: lockmgr: locking against myself syncing disks... 21 21 18 11 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 giving up dumping to dev 20001, offset 163840 dump 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 --- #0 boot (howto=256) at ../../kern/kern_shutdown.c:285 (kgdb) bt #0 boot (howto=256) at ../../kern/kern_shutdown.c:285 #1 0xc016a52d in panic (fmt=0xc02ea4cc "lockmgr: locking against myself") at ../../kern/kern_shutdown.c:446 #2 0xc0165f70 in lockmgr (lkp=0xc0d3b100, flags=16842754, interlkp=0xc3f51f70, p=0xc3f1de40) at ../../kern/kern_lock.c:326 #3 0xc018cec4 in vop_stdlock (ap=0xc3fffdfc) at ../../kern/vfs_default.c:209 #4 0xc0273efd in ufs_vnoperate (ap=0xc3fffdfc) at ../../ufs/ufs/ufs_vnops.c:2299 #5 0xc0195ec7 in vn_lock (vp=0xc3f51f00, flags=65538, p=0xc3f1de40) at vnode_if.h:811 #6 0xc018fb53 in vrele (vp=0xc3f51f00) at ../../kern/vfs_subr.c:1336 #7 0xc027cb53 in vm_object_vndeallocate (object=0xc40214d8) at ../../vm/vm_object.c:277 #8 0xc026cc1b in ffs_write (ap=0xc3fffee8) at ../../ufs/ufs/ufs_readwrite.c:513 #9 0xc0165b4d in ktrwrite (vp=0xc3f51f00, kth=0xc0cb0c00) at vnode_if.h:331 #10 0xc0165462 in ktrsysret (vp=0xc3f51f00, code=93, error=0, retval=1) at ../../kern/kern_ktrace.c:123 #11 0xc02a228c in syscall (frame={tf_es = 39, tf_ds = -1078001625, tf_edi = 0, tf_esi = 1, tf_ebp = -1077945756, tf_isp = -1006632988, tf_ebx = 0, tf_edx = 0, tf_ecx = 0, tf_eax = 1, tf_trapno = 7, tf_err = 2, tf_eip = 671854512, tf_cs = 31, tf_eflags = 514, tf_esp = -1077946208, tf_ss = 39}) at ../../i386/i386/trap.c:1148 #12 0xc029731c in Xint0x80_syscall () #13 0x804acca in ?? () #14 0x804a5d5 in ?? () #15 0x8049f45 in ?? () (kgdb) f 10 #10 0xc0165462 in ktrsysret (vp=0xc3f51f00, code=93, error=0, retval=1) at ../../kern/kern_ktrace.c:123 (kgdb) p *vp $1 = {v_flag = 2105344, v_usecount = 0, v_writecount = 0, v_holdcnt = 127, v_lastr = 59, v_id = 516993, v_mount = 0xc0c3b600, v_op = 0xc0bd1100, v_freelist = {tqe_next = 0x0, tqe_prev = 0xc3fa97a0}, v_mntvnodes = { le_next = 0xc3fd6a40, le_prev = 0xc3fe8268}, v_cleanblkhd = { tqh_first = 0xc1ac5ff8, tqh_last = 0xc1a92b10}, v_dirtyblkhd = { tqh_first = 0xc1ac0de0, tqh_last = 0xc1ab02d0}, v_synclist = { le_next = 0xc3f1a780, le_prev = 0xc094b3c4}, v_numoutput = 0, v_type = VREG, v_un = {vu_mountedhere = 0x0, vu_socket = 0x0, vu_specinfo = 0x0, vu_fifoinfo = 0x0}, v_lease = 0x0, v_lastw = 636, v_cstart = 636, v_lasta = 125872, v_clen = 7, v_maxio = 65536, v_object = 0xc40214d8, v_interlock = {lock_data = 0}, v_vnlock = 0x0, v_tag = VT_UFS, v_data = 0xc0d3b100, v_cache_src = {lh_first = 0x0}, v_cache_dst = {tqh_first = 0xc0ca5580, tqh_last = 0xc0ca5590}, v_cache_dst_count = 1, v_dd = 0xc3f51f00, v_ddid = 0, v_pollinfo = { vpi_lock = {lock_data = 0}, vpi_selinfo = {si_pid = 0, si_flags = 0}, vpi_events = 0, vpi_revents = 0}} >How-To-Repeat: ktrace -i -p `cat /var/run/inetd.pid' and then do lots of things :-) >Fix: none found yet >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 5:40:34 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B6DC614DC8 for ; Wed, 1 Dec 1999 05:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA00992; Wed, 1 Dec 1999 05:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from wit401310.student.utwente.nl (wit401310.student.utwente.nl [130.89.236.150]) by hub.freebsd.org (Postfix) with ESMTP id 8316514CFB for ; Wed, 1 Dec 1999 04:28:03 -0800 (PST) (envelope-from dalroi@wit401310.student.utwente.nl) Received: by wit401310.student.utwente.nl (Postfix, from userid 1001) id D48BA1EE3; Wed, 1 Dec 1999 13:28:13 +0100 (CET) Message-Id: <19991201122813.D48BA1EE3@wit401310.student.utwente.nl> Date: Wed, 1 Dec 1999 13:28:13 +0100 (CET) From: dalroi@wit401310.student.utwente.nl Reply-To: dalroi@wit401310.student.utwente.nl To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/15205: Addition to /usr/games/random Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15205 >Category: misc >Synopsis: Addition to /usr/games/random >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 1 05:40:02 PST 1999 >Closed-Date: >Last-Modified: >Originator: Alban Hertroys >Release: FreeBSD 3.3-STABLE i386 >Organization: >Environment: FreeBSD 3.3-STABLE, i386 >Description: The random command is not capable of what one would suspect it to do: printing one random line out of it's input. It can do so with numbers (random -e ), but not with lines of input. >How-To-Repeat: not applicable >Fix: The following patch adds the '-s' option to random, which prints one random line out of every lines of input. Thus, "ls /bin | random -s 8" would result in, for example: chmod domainname pax stty (ls /bin results in 32 files on my system; 32/8 = 4 results) And "ls /bin | random -s $#" (invoked from a shell script) would result in one line from ls /bin. I use this for my random signature selector script. I suppose it has other uses. diff -c games/random.orig/random.6 games/random/random.6 *** games/random.orig/random.6 Mon Nov 29 20:09:59 1999 --- games/random/random.6 Mon Nov 29 20:09:01 1999 *************** *** 39,45 **** .Nd random lines from a file or random numbers .Sh SYNOPSIS .Nm random ! .Op Fl er .Op Ar denominator .Sh DESCRIPTION .Nm Random --- 39,45 ---- .Nd random lines from a file or random numbers .Sh SYNOPSIS .Nm random ! .Op Fl esr .Op Ar denominator .Sh DESCRIPTION .Nm Random *************** *** 60,65 **** --- 60,73 ---- exit value of 0 to .Ar denominator \&- 1, inclusive. + .It Fl s + If the + .Fl s + option is specified, + .Nm random + copies one random line out of every + .Ar denominator + lines to stdout, instead. .It Fl r The .Fl r diff -c games/random.orig/random.c games/random/random.c *** games/random.orig/random.c Mon Nov 29 19:26:29 1999 --- games/random/random.c Mon Nov 29 20:03:20 1999 *************** *** 63,73 **** { extern int optind; double denom; ! int ch, random_exit, selected, unbuffer_output; char *ep; ! random_exit = unbuffer_output = 0; ! while ((ch = getopt(argc, argv, "er")) != -1) switch (ch) { case 'e': random_exit = 1; --- 63,73 ---- { extern int optind; double denom; ! int ch, random_exit, selected, unbuffer_output, random_select, index; char *ep; ! random_exit = unbuffer_output = random_select = 0; ! while ((ch = getopt(argc, argv, "esr")) != -1) switch (ch) { case 'e': random_exit = 1; *************** *** 75,80 **** --- 75,83 ---- case 'r': unbuffer_output = 1; break; + case 's': + random_select = 1; + break; default: case '?': usage(); *************** *** 116,138 **** if (unbuffer_output) setbuf(stdout, NULL); /* * Select whether to print the first line. (Prime the pump.) * We find a random number between 0 and denom - 1 and, if it's * 0 (which has a 1 / denom chance of being true), we select the * line. */ ! selected = (int)(denom * random() / LONG_MAX) == 0; ! while ((ch = getchar()) != EOF) { ! if (selected) ! (void)putchar(ch); ! if (ch == '\n') { ! /* End of that line. See if we got an error. */ ! if (ferror(stdout)) ! err(2, "stdout"); ! ! /* Now see if the next line is to be printed. */ ! selected = (int)(denom * random() / LONG_MAX) == 0; } } if (ferror(stdin)) --- 119,164 ---- if (unbuffer_output) setbuf(stdout, NULL); + if (random_select == 0) { /* * Select whether to print the first line. (Prime the pump.) * We find a random number between 0 and denom - 1 and, if it's * 0 (which has a 1 / denom chance of being true), we select the * line. */ ! selected = (int)(denom * random() / LONG_MAX) == 0; ! while ((ch = getchar()) != EOF) { ! if (selected) ! (void)putchar(ch); ! if (ch == '\n') { ! /* End of that line. See if we got an error. */ ! if (ferror(stdout)) ! err(2, "stdout"); ! ! /* Now see if the next line is to be printed. */ ! selected = (int)(denom * random() / LONG_MAX) == 0; ! } ! } ! } else { ! /* ! * Print one random line out of every denom lines. ! */ ! selected = (int)(denom * random() / LONG_MAX); ! index = 0; ! while ((ch = getchar()) != EOF) { ! if (selected == index) ! (void)putchar(ch); ! if (ch == '\n') { ! /* End of that line. See if we got an error. */ ! if (ferror(stdout)) ! err(2,"stdout"); ! ! index++; ! if (index >= denom) { ! index = 0; ! selected = (int)(denom * random() / LONG_MAX); ! } ! } } } if (ferror(stdin)) *************** *** 144,149 **** usage() { ! (void)fprintf(stderr, "usage: random [-er] [denominator]\n"); exit(1); } --- 170,175 ---- usage() { ! (void)fprintf(stderr, "usage: random [-esr] [denominator]\n"); exit(1); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 5:40:40 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B9F5414D0F for ; Wed, 1 Dec 1999 05:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA01010; Wed, 1 Dec 1999 05:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Wed, 1 Dec 1999 05:40:03 -0800 (PST) Message-Id: <199912011340.FAA01010@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: i386/15197: Bug in /usr/include/netinet/in.h with u_int32_t Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/15197; it has been noted by GNATS. From: Sheldon Hearn To: eugen@svzserv.kemerovo.su Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: i386/15197: Bug in /usr/include/netinet/in.h with u_int32_t Date: Wed, 01 Dec 1999 14:33:59 +0200 On Wed, 01 Dec 1999 10:28:10 +0700, root@pal.svznov.kemerovo.su wrote: > does not define u_int32_t. It does not include > or something else that defines u_int32_t. Therefore, if a C-program > includes and AFTER, it fails to compile. You're right. That's why you _always_ include before the rest of your headers. This is standard practice. If you find any FreeBSD manual pages in which the SYNOPSIS shows the inclusion of _after_ the inclusion of other headers, please report such documentation bugs in a new PR. You should contact the maintainers of the code that's breaking for you and get them to order their inclusions correctly. I'd close your problem report, but can't access the database at the moment. Hopefully someone else will do the honours. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 5:40:58 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DEF1E14DDC for ; Wed, 1 Dec 1999 05:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA01020; Wed, 1 Dec 1999 05:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from hanoi.cronyx.ru (hanoi-gw.cronyx.ru [144.206.181.253]) by hub.freebsd.org (Postfix) with ESMTP id 443AF14D48 for ; Wed, 1 Dec 1999 05:20:23 -0800 (PST) (envelope-from vak@hanoi.cronyx.ru) Received: by hanoi.cronyx.ru id QAA00490; (8.9.3/vak/2.1) Wed, 1 Dec 1999 16:21:18 +0300 (MSK) Message-Id: <199912011321.QAA00490@hanoi.cronyx.ru> Date: Wed, 1 Dec 1999 16:21:18 +0300 (MSK) From: vak@cronyx.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15206: patch to add bridging to if_vr.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15206 >Category: kern >Synopsis: Ethernet driver if_vr.c (VIA Technologies) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 1 05:40:03 PST 1999 >Closed-Date: >Last-Modified: >Originator: Serge V.Vakulenko >Release: FreeBSD 3.3-RELEASE i386 >Organization: Cronyx Engineering Ltd. >Environment: FreeBSD router with two D-Link DFE-530 Ethernet adapters installed. >Description: Bridging does not work properly. The bridge functionality is missing in the driver. >How-To-Repeat: Enable BRIDGE option in the kernel and enable sysctl -w net.link.ether.bridge=1 in /etc/rc.local. Try ping across the bridge. >Fix: --- if_vr33.c Wed Dec 1 16:08:38 1999 +++ if_vr.c Wed Dec 1 16:00:23 1999 @@ -79,6 +79,11 @@ #include #endif +#include "opt_bdg.h" +#ifdef BRIDGE +#include +#endif + #include /* for vtophys */ #include /* for vtophys */ #include /* for DELAY */ @@ -1318,22 +1323,43 @@ m->m_pkthdr.len = m->m_len = total_len; #if NBPFILTER > 0 /* - * Handle BPF listeners. Let the BPF user see the packet, but - * don't pass it up to the ether_input() layer unless it's - * a broadcast packet, multicast packet, matches our ethernet - * address or the interface is in promiscuous mode. + * Handle BPF listeners. Let the BPF user see the packet. */ - if (ifp->if_bpf) { + if (ifp->if_bpf) bpf_mtap(ifp, m); - if (ifp->if_flags & IFF_PROMISC && - (bcmp(eh->ether_dhost, sc->arpcom.ac_enaddr, - ETHER_ADDR_LEN) && - (eh->ether_dhost[0] & 1) == 0)) { +#endif +#ifdef BRIDGE /* see code in if_ed.c */ + if (do_bridge) { + struct ifnet *bdg_ifp ; + bdg_ifp = bridge_in(m); + if (bdg_ifp == BDG_DROP) { m_freem(m); continue; } + if (bdg_ifp != BDG_LOCAL) + bdg_forward(&m, bdg_ifp); + if (bdg_ifp != BDG_LOCAL && bdg_ifp != BDG_BCAST && + bdg_ifp != BDG_MCAST) { + /* not local and not multicast, just drop it */ + if (m) + m_freem(m); + continue; + } + /* all others accepted locally */ } #endif + /* + * Don't pass it up to the ether_input() layer unless it's + * a broadcast packet, multicast packet, matches our ethernet + * address or the interface is in promiscuous mode. + */ + if (ifp->if_flags & IFF_PROMISC && + (bcmp(eh->ether_dhost, sc->arpcom.ac_enaddr, + ETHER_ADDR_LEN) && + (eh->ether_dhost[0] & 1) == 0)) { + m_freem(m); + continue; + } /* Remove header from mbuf and pass it on. */ m_adj(m, sizeof(struct ether_header)); ether_input(ifp, eh, m); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 5:43: 8 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9B67814D0F; Wed, 1 Dec 1999 05:43:07 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA01389; Wed, 1 Dec 1999 05:43:07 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Date: Wed, 1 Dec 1999 05:43:07 -0800 (PST) From: Message-Id: <199912011343.FAA01389@freefall.freebsd.org> To: eugen@svzserv.kemerovo.su, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: i386/15197: Bug in /usr/include/netinet/in.h with u_int32_t Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Bug in /usr/include/netinet/in.h with u_int32_t State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Wed Dec 1 05:42:26 PST 1999 State-Changed-Why: Bug in 3rd-party source, see follow-up for details. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 5:44:11 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 71FC215B57; Wed, 1 Dec 1999 05:44:10 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA01548; Wed, 1 Dec 1999 05:44:10 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Date: Wed, 1 Dec 1999 05:44:10 -0800 (PST) From: Message-Id: <199912011344.FAA01548@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, dillon@FreeBSD.org Subject: Re: kern/15195: Kernel hangs during concurrent NFS writes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Kernel hangs during concurrent NFS writes Responsible-Changed-From-To: freebsd-bugs->dillon Responsible-Changed-By: sheldonh Responsible-Changed-When: Wed Dec 1 05:43:32 PST 1999 Responsible-Changed-Why: Matt, are you interested in RELENG_3 stuff, or are your efforts limited to CURRENT? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 8:13:57 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 24BD71582F; Wed, 1 Dec 1999 08:13:56 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA69949; Wed, 1 Dec 1999 08:13:46 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Date: Wed, 1 Dec 1999 08:13:46 -0800 (PST) From: Message-Id: <199912011613.IAA69949@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, luoqi@FreeBSD.org Subject: Re: conf/15187: [Patch] Request for reinstatement of aic0 driver in GENERIC Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [Patch] Request for reinstatement of aic0 driver in GENERIC Responsible-Changed-From-To: freebsd-bugs->luoqi Responsible-Changed-By: sheldonh Responsible-Changed-When: Wed Dec 1 08:13:11 PST 1999 Responsible-Changed-Why: His deriver. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 8:20:56 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 911A215832; Wed, 1 Dec 1999 08:20:54 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA70613; Wed, 1 Dec 1999 08:20:45 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Date: Wed, 1 Dec 1999 08:20:45 -0800 (PST) From: Message-Id: <199912011620.IAA70613@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, sheldonh@FreeBSD.org Subject: Re: kern/15194: [PATCH] Fix for discrepancies/inconsistencies in LINT Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH] Fix for discrepancies/inconsistencies in LINT Responsible-Changed-From-To: freebsd-bugs->sheldonh Responsible-Changed-By: sheldonh Responsible-Changed-When: Wed Dec 1 08:20:06 PST 1999 Responsible-Changed-Why: Purely cosmetic, I've got it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 8:30:39 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 117CC15B2D for ; Wed, 1 Dec 1999 08:30:35 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA71530; Wed, 1 Dec 1999 08:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Wed, 1 Dec 1999 08:30:02 -0800 (PST) Message-Id: <199912011630.IAA71530@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: misc/15190: crashing while in a multiplatform environment and X11 forwarding Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/15190; it has been noted by GNATS. From: Sheldon Hearn To: jaron@nethere.net Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: misc/15190: crashing while in a multiplatform environment and X11 forwarding Date: Wed, 01 Dec 1999 18:19:39 +0200 On Tue, 30 Nov 1999 09:38:13 PST, jaron@nethere.net wrote: > Set up sshd2 (latest and greatest) on a Linux machine (2.2.x)/RedHat 6.0 > install ssh2 on a 3.3-RELEASE box, *possibly with PAO drivers*. > Start running X applications from the Linux machine. Netscape, gimp etc. > Givin time the 3.3-R machine will completely crash. The longest I have > gotten it to maintain "normal" operations was approximately 36 hours, till > I hit "home" in xmms to select a song to listen to. What are you hoping for in terms of help if you won't supply kernel messages nor a backtrace from the crash dump? I doubt there are too many people with your exact configuration who have the time and inclination to set things up the way you have them. In terms of "the usual suspects", are you overclocking? Are you convinced that you're testing fairly in the two different environments (i.e. giving the box as long to crash on "other networks" as you give it in the suspect environment)? What have you tried removing from the equation (i.e. export applications from a FreeBSD box instead of from a Linux box). What's the problem with providing kernel log messages and a backtrace anyway? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 8:30:43 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9C02915B30 for ; Wed, 1 Dec 1999 08:30:36 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA71539; Wed, 1 Dec 1999 08:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from xenet.harz.de. (xenet.harz.de [193.159.181.111]) by hub.freebsd.org (Postfix) with ESMTP id D054714D79 for ; Wed, 1 Dec 1999 08:20:24 -0800 (PST) (envelope-from Meyser@xenet.de) Received: (from matthias@localhost) by xenet.harz.de. (8.9.3/8.9.3) id RAA08171; Wed, 1 Dec 1999 17:18:21 +0100 (CET) (envelope-from matthias) Message-Id: <199912011618.RAA08171@xenet.harz.de.> Date: Wed, 1 Dec 1999 17:18:21 +0100 (CET) From: Matthias Meyser Reply-To: Meyser@xenet.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/15208: Bug in "tty" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15208 >Category: bin >Synopsis: bug in tty (the program :) >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 1 08:30:02 PST 1999 >Closed-Date: >Last-Modified: >Originator: Matthias Meyser >Release: FreeBSD 3.3-STABLE i386 >Organization: XeNET GmbH, Clausthal-Zellerfeld >Environment: System with 11 and more serial ports >Description: Serial (dial) devices are numbered /dev/cuaa0 ... /dev/cuaa9 for the first 9 devices. then 10th device gets /dev/cuaaa acording to /dev/MAKEDEV. The next gets /dev/cuaab an so on. If you are on /dev/cuaaa ans use "tty" to determine wich device you are on "tty" reports "/dev/cuaa10". I think this is a bug in "tty" ore to be more specific in "ttyname()". I think this affects also all other serial devices ( cuaia? cuala? ttyd? ttyid? ttyld? ) >How-To-Repeat: On a system with 11 or more serial ports type "tty Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 11:53:25 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1AB2615262 for ; Wed, 1 Dec 1999 11:52:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA94583; Wed, 1 Dec 1999 11:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 6FB841571B for ; Wed, 1 Dec 1999 11:47:30 -0800 (PST) (envelope-from jedgar@pawn.primelocation.net) Received: by pawn.primelocation.net (Postfix, from userid 1003) id 993649B36; Wed, 1 Dec 1999 14:47:10 -0500 (EST) Message-Id: <19991201194710.993649B36@pawn.primelocation.net> Date: Wed, 1 Dec 1999 14:47:10 -0500 (EST) From: jedgar@fxp.org Reply-To: jedgar@fxp.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15213: [PATCH] Various fixes for LINT (RELENG_3) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15213 >Category: kern >Synopsis: [PATCH] Various fixes for LINT (RELENG_3) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 1 11:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Chris D. Faulhaber >Release: FreeBSD 3.3-STABLE i386 >Organization: N/A >Environment: FreeBSD 3.3-STABLE i386 >Description: Fix for various inconsistencies/errors in RELENG_3 LINT: * Standardize reference to source tree: src/sys/...; and correct non-existent locations (src/i386/isa/... != src/sys/i386/isa/...) * Standardize URL references: http://... * Update URLs of NTP and ATM references * Update location of Brooktree overrides * Fix misc DPT indentations >How-To-Repeat: See LINT (RELENG_3) >Fix: Index: LINT =================================================================== RCS file: /home/ncvs/src/sys/i386/conf/LINT,v retrieving revision 1.539.2.47 diff -u -r1.539.2.47 LINT --- LINT 1999/11/22 07:08:07 1.539.2.47 +++ LINT 1999/12/01 19:35:52 @@ -886,7 +886,7 @@ # Enable support for the kernel PLL to use an external PPS signal, # under supervision of [x]ntpd(8) -# More info in ftp://ftp.udel.edu/pub/ntp/kernel.tar.Z +# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp options PPS_SYNC @@ -1285,7 +1285,7 @@ # # the current driver supports only PVC operations (no atm-arp, no multicast). # for more details, please read the original documents at -# http://www.ccrc.wustl.edu/pub/chuck/bsdatm/wucs.html +# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html # pseudo-device atm device en0 @@ -1311,15 +1311,15 @@ # mpu: Roland MPU-401 stand-alone card # # Beware! The addresses specified below are also hard-coded in -# i386/isa/sound/sound_config.h. If you change the values here, you -# must also change the values in the include file. +# src/sys/i386/isa/sound/sound_config.h. If you change the values +# here, you must also change the values in the include file. # # pcm: PCM audio through various sound cards. # # This has support for a large number of new audio cards, based on # CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP. # For more information about this driver and supported cards, -# see the pcm.4 man page and /sys/i386/isa/snd/CARDS. +# see the pcm.4 man page and src/sys/i386/isa/snd/CARDS. # # The flags of the device tells the device a bit more info about the # device that normally is obtained through the PnP interface. @@ -1351,7 +1351,7 @@ # options GUS_DMA # options GUS_IRQ # -# The i386/isa/sound/sound.doc has more information. +# The src/sys/i386/isa/sound/sound.doc has more information. # Controls all "VOXWARE" driver sound devices. See Luigi's driver # below for an alternate which may work better for some cards. @@ -1476,10 +1476,10 @@ # The cards can use an IRQ of 11, 12 or 15. # Notes on the Stallion stl and stli drivers: -# See src/i386/isa/README.stl for complete instructions. +# See src/sys/i386/isa/README.stl for complete instructions. # This is version 0.0.5alpha, unsupported by Stallion. # The stl driver has a secondary IO port hard coded at 0x280. You need -# to change src/i386/isa/stallion.c if you reconfigure this on the boards. +# to change src/sys/i386/isa/stallion.c if you reconfigure this on the boards. # The "flags" and "iosiz" settings on the stli driver depend on the board: # EasyConnection 8/64 ISA: flags 23 iosiz 0x1000 # EasyConnection 8/64 EISA: flags 24 iosiz 0x10000 @@ -1518,7 +1518,7 @@ device stli0 at isa? port 0x2a0 tty iomem 0xcc000 flags 23 iosiz 0x1000 # You are unlikely to have the hardware for loran0 device loran0 at isa? port ? tty irq 5 -# HOT1 Xilinx 6200 card (www.vcc.com) +# HOT1 Xilinx 6200 card (http://www.vcc.com/) device xrpu0 # @@ -1678,7 +1678,7 @@ # options OVERRIDE_TUNER=xxx # options OVERRIDE_MSP=1 # options OVERRIDE_DBX=1 -# The current values are found in /usr/src/sys/pci/brooktree848.c +# The current values are found in src/sys/dev/bktr/bktr_card.h # # option BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL # This is required for Dual Crystal (28&35Mhz) boards where PAL is used @@ -2135,7 +2135,7 @@ # some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and # Compaq are actually DPT controllers. # -# See sys/dev/dpt for debugging and other subtle options. +# See src/sys/dev/dpt for debugging and other subtle options. # DPT_VERIFY_HINTR Performs some strict hardware interrupts testing. # Only use if you suspect PCI bus corruption problems # DPT_RESTRICTED_FREELIST Normally, the freelisat used by the DPT for queue @@ -2155,15 +2155,15 @@ # option will create more trouble than solve. # DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to # wait when timing out with the above option. -# DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h -# DPT_LOST_IRQ When enabled, will try, once per second, to catch +# DPT_DEBUG_xxxx These are controllable from src/sys/dev/dpt/dpt.h +# DPT_LOST_IRQ When enabled, will try, once per second, to catch # any interrupt that got lost. Seems to help in some # DPT-firmware/Motherboard combinations. Minimal # cost, great benefit. -# DPT_RESET_HBA Make "reset" actually reset the controller +# DPT_RESET_HBA Make "reset" actually reset the controller # instead of fudging it. Only enable this if you # are 100% certain you need it. -# DPT_SHUTDOWN_SLEEP Reset controller if a request take more than +# DPT_SHUTDOWN_SLEEP Reset controller if a request take more than # this number of seconds. Do NOT enable this # unless you are really, really, really certain # you need it. You are advised to call Simon (the >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 14:20: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1013C151B5 for ; Wed, 1 Dec 1999 14:20:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA32704; Wed, 1 Dec 1999 14:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 16CE6150AC; Wed, 1 Dec 1999 14:10:37 -0800 (PST) Message-Id: <19991201221037.16CE6150AC@hub.freebsd.org> Date: Wed, 1 Dec 1999 14:10:37 -0800 (PST) From: david@jlc.net To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/15215: Outputting in Fortune under certain circumstances renders the .dat file unreadable. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15215 >Category: misc >Synopsis: Outputting in Fortune under certain circumstances renders the .dat file unreadable. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 1 14:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: David Edmondson >Release: FreeBSD 3.3-RELEASE >Organization: John Leslie Consulting >Environment: FreeBSD sweelinck.jlc.net 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Thu Sep 16 23:40:35 GMT 1999 jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: Entering fortune -m "a" limerick > filename gives the message [Warning: file "startrek.dat" unreadable]. This occurred on four seperate machines, and will work with any Fortune database. This was run with a user account, group 'wheel'. It is consistent. >How-To-Repeat: Occurs consistently. >Fix: Enter path before output file ( fortune -m "a" limerick > path/filename) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 17:41: 8 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from news.curriculo.com.br (resolver.alphanet.com.br [200.246.167.12]) by hub.freebsd.org (Postfix) with ESMTP id 0B1AA14C87; Wed, 1 Dec 1999 17:40:54 -0800 (PST) (envelope-from news-owner@news.curriculo.com.br) Received: from curriculum.com.br [200.246.167.45] by smtp.alphanet.com.br with ESMTP (SMTPD32-5.05) id AC034400E8; Tue, 30 Nov 1999 23:46:27 -0300 Received: from marcelo [200.246.167.77] by curriculum.com.br (SMTPD32-5.05) id AB643550108; Tue, 30 Nov 1999 23:43:48 -0300 Message-ID: <001d01bf3ba5$dffe70a0$4da7f6c8@alphanet.com.br> Reply-To: "Administracao" From: "Administracao" To: Subject: A Maior Vitrine de Profissionais do Brasil Date: Wed, 1 Dec 1999 00:43:39 -0200 Organization: www.curriculum.com.br MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Você ainda não faz parte da maior vitrine de profissionais do Brasil? Deixe www.curriculum.com.br trabalhar por você! Cadastre-se gratuitamente e faça como inúmeros outros profissionais. Independente se está ou não empregado, coloque-se a disposição do mercado de trabalho. Este é o futuro. Deixe as portas abertas para novas oportunidades e utilize a força da Internet para trabalhar por você. www.curriculum.com.br sempre trabalhando por você hoje e sempre! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Dec 1 23:14:49 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B097714D39; Wed, 1 Dec 1999 23:14:47 -0800 (PST) (envelope-from ken@FreeBSD.org) Received: (from ken@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA26292; Wed, 1 Dec 1999 23:13:06 -0800 (PST) (envelope-from ken@FreeBSD.org) Date: Wed, 1 Dec 1999 23:13:06 -0800 (PST) From: Message-Id: <199912020713.XAA26292@freefall.freebsd.org> To: gdonl@tsc.tdk.com, ken@FreeBSD.org, freebsd-bugs@FreeBSD.org, ken@FreeBSD.org Subject: Re: kern/15198: CD changer autodetection doesn't work, causing SCSI timeout [PATCH] Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: CD changer autodetection doesn't work, causing SCSI timeout [PATCH] State-Changed-From-To: open->analyzed State-Changed-By: ken State-Changed-When: Wed Dec 1 23:12:25 PST 1999 State-Changed-Why: We've got a solution, and some ideas on why this is happening. Responsible-Changed-From-To: freebsd-bugs->ken Responsible-Changed-By: ken Responsible-Changed-When: Wed Dec 1 23:12:25 PST 1999 Responsible-Changed-Why: My driver, I'll handle it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 2:21:47 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A9B6714E51 for ; Thu, 2 Dec 1999 02:21:43 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA40911; Thu, 2 Dec 1999 02:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from KMLinux.fjfi.cvut.cz (KMLinux.fjfi.cvut.cz [147.32.8.9]) by hub.freebsd.org (Postfix) with ESMTP id 1E82B14EDF for ; Thu, 2 Dec 1999 02:17:02 -0800 (PST) (envelope-from paluch@KMLinux.fjfi.cvut.cz) Received: (from paluch@localhost) by KMLinux.fjfi.cvut.cz (8.9.3/8.9.3) id LAA16480 for FreeBSD-gnats-submit@freebsd.org; Thu, 2 Dec 1999 11:16:32 +0100 Message-Id: <199912021016.LAA16480@KMLinux.fjfi.cvut.cz> Date: Thu, 2 Dec 1999 11:16:32 +0100 From: Henryk Paluch To: FreeBSD-gnats-submit@freebsd.org Subject: i386/15218: kernel says: raw partition size != slice size on ext part. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15218 >Category: i386 >Synopsis: kernel says: raw partition size != slice size on ext part. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 2 02:20:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Henryk Paluch >Release: FreeBSD 3.3-RELEASE i386 >Organization: Czech Technical University >Environment: FIC PA2005 Mother Board AMD K5 PR-100 CPU 48MB RAM EDO Award BIOS 2 IDE disks. BIOS geometry: 1st disk: C/H/S=875/128/63 "LBA mode" 2nd disk: C/H/S=1023/64/63 "LBA mode" The problem concerns 1st disk only. There are these partitions: wd0s1 FAT 16 primary wd0s2 Extended wd0s5 FAT 12 (to ensure that next partition is E: for Win*) wd0s6 FAT 32 Physical Sector: Cyl 0, Side 0, Sector 1 +------+----+--------------------+--------------------+-----------+-----------+ | | | Starting Location | Ending Location | Relative | Number of | |System|Boot|Side Cylinder Sector|Side Cylinder Sector| Sectors | Sectors | +------+----+--------------------+--------------------+-----------+-----------+ |BIGDOS| Yes| 1 0 1 | 127 114 63 | 63| 927297| |EXTEND| No | 0 115 1 | 127 873 63 | 927360| 6120576| |unused| No | 0 0 0 | 0 0 0 | 0| 0| |unused| No | 0 0 0 | 0 0 0 | 0| 0| +------+----+--------------------+--------------------+-----------+-----------+ Physical Sector: Cyl 115, Side 0, Sector 1 +------+----+--------------------+--------------------+-----------+-----------+ | | | Starting Location | Ending Location | Relative | Number of | |System|Boot|Side Cylinder Sector|Side Cylinder Sector| Sectors | Sectors | +------+----+--------------------+--------------------+-----------+-----------+ |DOS-12| No | 1 115 1 | 127 117 63 | 63| 24129| |EXTEND| No | 0 118 1 | 127 873 63 | 24192| 6096384| |unused| No | 0 0 0 | 0 0 0 | 0| 0| |unused| No | 0 0 0 | 0 0 0 | 0| 0| +------+----+--------------------+--------------------+-----------+-----------+ Physical Sector: Cyl 118, Side 0, Sector 1 +------+----+--------------------+--------------------+-----------+-----------+ | | | Starting Location | Ending Location | Relative | Number of | |System|Boot|Side Cylinder Sector|Side Cylinder Sector| Sectors | Sectors | +------+----+--------------------+--------------------+-----------+-----------+ |FAT32 | No | 1 118 1 | 127 873 63 | 63| 6096321| |unused| No | 0 0 0 | 0 0 0 | 0| 0| |unused| No | 0 0 0 | 0 0 0 | 0| 0| |unused| No | 0 0 0 | 0 0 0 | 0| 0| +------+----+--------------------+--------------------+-----------+-----------+ The error message: wd0s2: raw partition size != slice size wd0s2: start 927360, end 7047935, size 6120576 wd0s2c: start 927360, end 1991807, size 1064448 FreeBSD disk detection: wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 3445MB (7056000 sectors), 7000 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S >Description: When installation program attempts to test disks on the start or any partition on the 1st drive is mounted, the kernel reports: wd0s2: raw partition size != slice size wd0s2: start 927360, end 7047935, size 6120576 wd0s2c: start 927360, end 1991807, size 1064448 ^^^^^^^ ^^^^^^^ 500MB ? There is no 500MB partition Also the installation program hang right after "Starting emergency holographic shell...", but it could be easily resolved pressing CTRL-ALT-DEL and answering "No" to question about abort of installation. These problems were seen from 3.0 release. 2.2.x seems to be ok. Same installation CD works without problem on another computers. >How-To-Repeat: Running /stand/sysinstall. Either from Installation disk or after install from shell. Also mounting any partition causes that message. >Fix: I don't know any workaround for that message. It seems to be harmless, except that hang on install (I'm unsure, whether it is caused by that problem). >Release-Note: >Audit-Trail: >Unformatted: kernel says: raw partition size != slice size on ext part. From: paluch@kmlinux.fjfi.cvut.cz Reply-To: paluch@kmlinux.fjfi.cvut.cz X-send-pr-version: 3.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 4:12: 8 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6E29F14F44 for ; Thu, 2 Dec 1999 04:12:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA53155; Thu, 2 Dec 1999 04:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 2 Dec 1999 04:10:02 -0800 (PST) Message-Id: <199912021210.EAA53155@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/13901: strptime breaks when handling some numerical fields Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/13901; it has been noted by GNATS. From: Sheldon Hearn To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: bin/13901: strptime breaks when handling some numerical fields Date: Thu, 02 Dec 1999 14:05:43 +0200 This How-To-Repeat is more visually effective. :-) Ciao, Sheldon. #include #include struct tm t1, t2, t3; int main(void) { strptime("19990823", "%Y%m%d", &t1); /* fails */ strptime("0711", "%m%d", &t2); /* fails */ strptime("199911", "%Y11", &t3); /* fails */ printf("19990823 -> %%Y%%m%%d:\n" "tm_year == %d\n" "tm_mon == %d\n" "tm_mday == %d\n\n", t1.tm_year, t1.tm_mon, t1.tm_mday); printf(" 0711 -> %%m%%d:\n" "tm_mon == %d\n" "tm_mday == %d\n\n", t2.tm_mon, t2.tm_mday); printf(" 199911 -> %%Y11:\n" "tm_year == %d\n", t3.tm_year); return 0; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 5:31: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 60C90150EA for ; Thu, 2 Dec 1999 05:31:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA59662; Thu, 2 Dec 1999 05:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from holywar.net (holywar.net [210.102.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 4534A14E8D for ; Thu, 2 Dec 1999 05:23:38 -0800 (PST) (envelope-from hollywar@holywar.net) Received: (from hollywar@localhost) by holywar.net (8.9.3/8.9.2) id NAA93049; Thu, 2 Dec 1999 13:21:46 GMT (envelope-from hollywar) Message-Id: <199912021321.NAA93049@holywar.net> Date: Thu, 2 Dec 1999 13:21:46 GMT From: Oh Junseon Reply-To: hollywar@holywar.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/15219: whois nic server address has changed internic to networksolutions. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15219 >Category: bin >Synopsis: whois nic server address has changed internic to networksolutions. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 2 05:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Oh Junseon >Release: FreeBSD 3.3-STABLE i386 >Organization: holynet >Environment: >Description: Now, Internic does not offered whois services. All platform of whois program needs a patch to changed nic address. This is for freebsd . in /usr/src/usr.bin/whois/whois.c line 59 #define NICHOST "whois.networksolutions.com" >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 7:20:18 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BE61814BF6; Thu, 2 Dec 1999 07:20:16 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: (from bde@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA04278; Thu, 2 Dec 1999 07:19:36 -0800 (PST) (envelope-from bde@FreeBSD.org) Date: Thu, 2 Dec 1999 07:19:36 -0800 (PST) From: Message-Id: <199912021519.HAA04278@freefall.freebsd.org> To: Meyser@xenet.de, bde@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/15208: bug in tty (the program :) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: bug in tty (the program :) State-Changed-From-To: open->closed State-Changed-By: bde State-Changed-When: Thu Dec 2 07:16:15 PST 1999 State-Changed-Why: Pilot error. The device database was out of date. Maybe MAKEDEV should call dev_mkdb if it is run in /dev. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 7:50:16 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 75B5414D06 for ; Thu, 2 Dec 1999 07:50:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA07034; Thu, 2 Dec 1999 07:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 2 Dec 1999 07:50:01 -0800 (PST) Message-Id: <199912021550.HAA07034@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Eric Cholet Subject: RE: bin/15219: whois nic server address has changed internic to networksolutions. Reply-To: Eric Cholet Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15219; it has been noted by GNATS. From: Eric Cholet To: "'hollywar@holywar.net'" , "FreeBSD-gnats-submit@freebsd.org" Cc: Subject: RE: bin/15219: whois nic server address has changed internic to networksolutions. Date: Thu, 2 Dec 1999 16:47:20 +0100 > >Number: 15219 > >Category: bin > >Synopsis: whois nic server address has changed internic to networksolutions. > >Confidential: no > >Severity: critical > >Priority: high > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Thu Dec 2 05:30:01 PST 1999 > >Closed-Date: > >Last-Modified: > >Originator: Oh Junseon > >Release: FreeBSD 3.3-STABLE i386 > >Organization: > holynet > >Environment: > > > > >Description: > Now, Internic does not offered whois services. Wrong: $ whois holywar.net Whois Server Version 1.1 Domain names in the .com, .net, and .org domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. Domain Name: HOLYWAR.NET Registrar: NETWORK SOLUTIONS, INC. Whois Server: whois.networksolutions.com Referral URL: www.networksolutions.com Name Server: NS1.HOLYWAR.NET Name Server: NS2.HOLYWAR.NET Name Server: NSC.SARANG.NET >>> Last update of whois database: Wed, 1 Dec 99 01:11:05 EST <<< The Registry database contains ONLY .COM, .NET, .ORG, .EDU domains and Registrars. $ uname -r 2.2.7-RELEASE > All platform of whois program needs a patch to changed nic address. > > This is for freebsd . > > in /usr/src/usr.bin/whois/whois.c line 59 > > #define NICHOST "whois.networksolutions.com" > > > > >How-To-Repeat: > > > > >Fix: > > > > > >Release-Note: > >Audit-Trail: > >Unformatted: > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 9:40:50 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7EF8914C19 for ; Thu, 2 Dec 1999 09:40:38 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA16308; Thu, 2 Dec 1999 09:40:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 3B78714C33; Thu, 2 Dec 1999 09:35:18 -0800 (PST) Message-Id: <19991202173518.3B78714C33@hub.freebsd.org> Date: Thu, 2 Dec 1999 09:35:18 -0800 (PST) From: gary@hotlava.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/15221: Linux emulator core dumps on setreuid() Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15221 >Category: kern >Synopsis: Linux emulator core dumps on setreuid() >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 2 09:40:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Gary Howland >Release: FreeBSD 3.3-RELEASE #0: >Organization: Hotlava Consulting >Environment: FreeBSD 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Thu Sep 16 23:40:35 GMT 1999 jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: main() { setreuid(-1, -1); } core dumps when compiled on linux and run under BSD with linux.ko >How-To-Repeat: Compile main() { setreuid(-1, -1); } under linux, move to BSD, brand it, make sure linux.ko is loaded, and try running it. >Fix: None >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 9:40:50 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B2C8B14E3D for ; Thu, 2 Dec 1999 09:40:38 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA16313; Thu, 2 Dec 1999 09:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 2 Dec 1999 09:40:01 -0800 (PST) Message-Id: <199912021740.JAA16313@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kevin Day Subject: Re: bin/15219: whois nic server address has changed internic to networksolutions. Reply-To: Kevin Day Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15219; it has been noted by GNATS. From: Kevin Day To: hollywar@holywar.net Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/15219: whois nic server address has changed internic to networksolutions. Date: Thu, 2 Dec 1999 09:42:31 -0600 (CST) > > >Description: > Now, Internic does not offered whois services. > All platform of whois program needs a patch to changed nic address. > > This is for freebsd . > > in /usr/src/usr.bin/whois/whois.c line 59 > > #define NICHOST "whois.networksolutions.com" > > This really can't be done. whois.internic.net will show you which registar you should query to get the info on the domain you specified. If I register my domain with another registar, whois.networksolutions.com won't have my info. The now 'correct' procedure is to whois it on whois.internic.net, then do it again based on what it says. su-2.00# whois dragondata.com Whois Server Version 1.1 Domain names in the .com, .net, and .org domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. Domain Name: DRAGONDATA.COM Registrar: NETWORK SOLUTIONS, INC. Whois Server: whois.networksolutions.com <<<<<<<<<<<<<<<<<<<<<<<<<< Referral URL: www.networksolutions.com Name Server: CEREBUS.MCS.COM Name Server: NS1.DRAGONDATA.COM Name Server: NS2.DRAGONDATA.COM >>> Last update of whois database: Wed, 1 Dec 99 01:11:05 EST <<< The Registry database contains ONLY .COM, .NET, .ORG, .EDU domains and Registrars. su-2.00# whois -h whois.networksolutions.com dragondata.com Registrant: Dragon Data (DRAGONDATA-DOM) 1703 W Brown St Arlington Heights, IL 60004 US Domain Name: DRAGONDATA.COM Administrative Contact, Technical Contact, Zone Contact: Day, Kevin (KD748) toasty@DRAGONDATA.COM 847-797-9975 (FAX) 847-222-0912 Billing Contact: Day, Kevin (KD748) toasty@DRAGONDATA.COM 847-797-9975 (FAX) 847-222-0912 Record last updated on 08-Jul-1998. Record created on 03-Apr-1997. Database last updated on 1-Dec-1999 15:33:34 EST. Domain servers in listed order: NS1.DRAGONDATA.COM 204.137.237.2 CEREBUS.MCS.COM 192.160.127.125 NS2.DRAGONDATA.COM 204.137.237.8 su-2.00# Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 9:57:33 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0E34614D2D; Thu, 2 Dec 1999 09:57:31 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA17953; Thu, 2 Dec 1999 09:55:21 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Date: Thu, 2 Dec 1999 09:55:21 -0800 (PST) From: Message-Id: <199912021755.JAA17953@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, sheldonh@FreeBSD.org Subject: Re: kern/15213: [PATCH] Various fixes for LINT (RELENG_3) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH] Various fixes for LINT (RELENG_3) Responsible-Changed-From-To: freebsd-bugs->sheldonh Responsible-Changed-By: sheldonh Responsible-Changed-When: Thu Dec 2 09:54:10 PST 1999 Responsible-Changed-Why: Apart from a few unnecessary whitespace changes, this looks good. I'll do it tomorrow (GMT+2). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 10: 0:24 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C479314E85 for ; Thu, 2 Dec 1999 10:00:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA18650; Thu, 2 Dec 1999 10:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 3D8E314DB8 for ; Thu, 2 Dec 1999 09:56:19 -0800 (PST) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 2 Dec 1999 17:54:52 +0000 (GMT) Message-Id: <199912021754.aa92503@walton.maths.tcd.ie> Date: Thu, 2 Dec 1999 17:54:52 +0000 (GMT) From: iedowse@maths.tcd.ie Reply-To: iedowse@maths.tcd.ie To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15222: mbuf leak in nfs_srvcache.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15222 >Category: kern >Synopsis: mbuf leak in nfs_srvcache.c >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 2 10:00:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Ian Dowse >Release: FreeBSD 3.3-STABLE i386 >Organization: School of Mathematics Trinity College Dublin >Environment: All versions of FreeBSD, when used as an NFS server. This problem will only have a significant impact on very busy NFS servers. >Description: FreeBSD maintains a cache of some recent NFS server requests and their replies. This allows duplicate requests to be discarded while the requested operation is still in progress, and avoids the need to redo an operation if the reply gets lost. The default maximum cache size is 64 entries. When a request is received, nfsrv_getcache() either finds an existing cache entry, or creates a new one. After the operation completes, nfsrv_updatecache() updates the cache entry, sometimes including a copy of the reply mbuf chain. The problem is that nfsrv_updatecache() assumes it will called only once for a given cache entry, so it does not check if the cache entry already has an associated mbuf chain. Normally this assumption is correct, but under certain high-load situations, the following can occur: 1) A request R is received by the server, say a write with the 'filesync' option. 2) 64 other requests are received before R completes. The cache entry for R gets flushed out. 3) A retransmit of R is received (R1); since the cache entry is gone, a new cache entry is created, and execution of R1 begins. 4) R completes, and a copy of the reply mbuf chain gets saved by nfsrv_updatecache(). 5) R1 completes. nfsrv_updatecache() replaces the cache entry with a copy of R1's reply, but doesn't free the original mbuf chain. This problem was leaking 200-500 mbufs each day on our busiest NFS server. There is another leak in nfsrv_cleancache(), but I think this will only be triggered if all the nfsd's get killed. The patch below fixes both of these problems. As commented in the patch, this problem only occurs when the cache is too small, so it might be desirable to increase the cache size (double it maybe) when nfsrv_updatecache() finds a RC_DONE entry. Recording the event in the nfs stats structure and having a sysctl to increase the cache size would be another option. I can submit patches for either. >How-To-Repeat: 1) Keep the disk on the NFS server busy - for example run find /whatever -type f |xargs cat > /dev/null 2) Send an NFS filesync write request for a file 'file1' 3) Send 64 access requests for another file 'file2' each with a different xid, to flush the cache. 4) Retransmit the NFS filesync write (with the same xid). 5) Wait for the two replies to the writes. This should leak just a few mbufs, so it needs to be repeated a number of times before the leak becomes apparent. >Fix: --- nfs_srvcache.c.orig Thu Dec 2 16:22:37 1999 +++ nfs_srvcache.c Thu Dec 2 16:49:44 1999 @@ -293,6 +293,19 @@ goto loop; } rp->rc_flag |= RC_LOCKED; + if (rp->rc_state == RC_DONE) { + /* + * This can happen if the cache is too small; + * retransmits of the same request aren't + * dropped so we see the operation completing + * more than once. + * XXX maybe increase desirednfsrvcache here. + */ + if (rp->rc_flag & RC_REPMBUF) { + m_freem(rp->rc_reply); + rp->rc_flag &= ~RC_REPMBUF; + } + } rp->rc_state = RC_DONE; /* * If we have a valid reply update status and save @@ -332,6 +345,10 @@ nextrp = rp->rc_lru.tqe_next; LIST_REMOVE(rp, rc_hash); TAILQ_REMOVE(&nfsrvlruhead, rp, rc_lru); + if (rp->rc_flag & RC_REPMBUF) + m_freem(rp->rc_reply); + if (rp->rc_flag & RC_NAM) + free(rp->rc_nam, M_SONAME); free(rp, M_NFSD); } numnfsrvcache = 0; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 10:20:45 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B9DC914D2A for ; Thu, 2 Dec 1999 10:20:40 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA20943; Thu, 2 Dec 1999 10:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 2 Dec 1999 10:20:01 -0800 (PST) Message-Id: <199912021820.KAA20943@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Chris Piazza Subject: Re: bin/15219: whois nic server address has changed internic to networksolutions. Reply-To: Chris Piazza Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15219; it has been noted by GNATS. From: Chris Piazza To: Kevin Day Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/15219: whois nic server address has changed internic to networksolutions. Date: Thu, 2 Dec 1999 10:11:43 -0800 On Thu, Dec 02, 1999 at 09:40:01AM -0800, Kevin Day wrote: > This really can't be done. > > whois.internic.net will show you which registar you should query to get the > info on the domain you specified. If I register my domain with another > registar, whois.networksolutions.com won't have my info. > > The now 'correct' procedure is to whois it on whois.internic.net, then do it > again based on what it says. Here's what can be done, though: the -current whois (should be merged back to 3.x soon IMO), it does this. This also works with hosts registered with any registrar. norn[~]% whois dragondata.com Whois Server Version 1.1 Domain names in the .com, .net, and .org domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. Domain Name: DRAGONDATA.COM Registrar: NETWORK SOLUTIONS, INC. Whois Server: whois.networksolutions.com Referral URL: www.networksolutions.com Name Server: CEREBUS.MCS.COM Name Server: NS1.DRAGONDATA.COM Name Server: NS2.DRAGONDATA.COM >>> Last update of whois database: Wed, 1 Dec 99 01:11:05 EST <<< The Registry database contains ONLY .COM, .NET, .ORG, .EDU domains and Registrars. The Data in Network Solutions' WHOIS database is provided by Network Solutions for information purposes, and to assist persons in obtaining information about or related to a domain name registration record. Network Solutions does not guarantee its accuracy. By submitting a WHOIS query, you agree that you will use this Data only for lawful purposes and that, under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail (spam); or (2) enable high volume, automated, electronic processes that apply to Network Solutions (or its systems). Network Solutions reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy. Registrant: Dragon Data (DRAGONDATA-DOM) 1703 W Brown St Arlington Heights, IL 60004 US Domain Name: DRAGONDATA.COM Administrative Contact, Technical Contact, Zone Contact: Day, Kevin (KD748) toasty@DRAGONDATA.COM 847-797-9975 (FAX) 847-222-0912 Billing Contact: Day, Kevin (KD748) toasty@DRAGONDATA.COM 847-797-9975 (FAX) 847-222-0912 Record last updated on 08-Jul-1998. Record created on 03-Apr-1997. Database last updated on 2-Dec-1999 12:29:28 EST. Domain servers in listed order: NS1.DRAGONDATA.COM 204.137.237.2 CEREBUS.MCS.COM 192.160.127.125 NS2.DRAGONDATA.COM 204.137.237.8 -Chris -- cpiazza@jaxon.net cpiazza@FreeBSD.org Abbotsford, BC, Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 10:20:48 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 126E114E06 for ; Thu, 2 Dec 1999 10:20:41 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA20952; Thu, 2 Dec 1999 10:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from misha.cisco.com (misha.cisco.com [171.69.206.50]) by hub.freebsd.org (Postfix) with ESMTP id 040BD14D2D for ; Thu, 2 Dec 1999 10:15:02 -0800 (PST) (envelope-from mi@misha.cisco.com) Received: (from mi@localhost) by misha.cisco.com (8.9.3/8.9.1) id NAA60391; Thu, 2 Dec 1999 13:14:38 -0500 (EST) (envelope-from mi) Message-Id: <199912021814.NAA60391@misha.cisco.com> Date: Thu, 2 Dec 1999 13:14:38 -0500 (EST) From: Mikhail Teterin Reply-To: mi@aldan.algebra.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/15227: New option for vacation(1) -- dir to use instead of $HOME Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15227 >Category: bin >Synopsis: New option for vacation(1) -- dir to use instead of $HOME >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 2 10:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 3.3-STABLE i386 >Organization: Virtual Estates, Inc. >Environment: >Description: The existing vacation(1) program is nice, but you can only have one database and message with it. Yet, I found it neccessary on several occasions to have different responses send in response to different e-mails, and even created a special user once, just for that. You still need some smart mail-handling software such as procmail, but using it can be much simpler if you do not need to script what vacation(1) already provides. >How-To-Repeat: >Fix: Before the patches below are committed, the only alternative is to use home-cooked scripts. --- vacation.c.orig Tue Sep 28 18:42:09 1999 +++ usr.bin/vacation/vacation.c Thu Dec 2 12:45:08 1999 @@ -117,2 +117,3 @@ int ch, iflag, lflag, mfail, ufail; + char *dir = NULL; @@ -120,3 +121,3 @@ interval = -1; - while ((ch = getopt(argc, argv, "a:dIilr:")) != -1) { + while ((ch = getopt(argc, argv, "a:dIilr:D:")) != -1) { switch((char)ch) { @@ -150,2 +151,5 @@ break; + case 'D': + dir = optarg; + break; case '?': @@ -183,5 +187,7 @@ } - if (chdir(pw->pw_dir)) { + if (!dir) + dir = pw->pw_dir; + if (chdir(dir)) { msglog(LOG_NOTICE, - "vacation: no such directory %s.\n", pw->pw_dir); + "vacation: %s: %s.\n", dir, strerror(errno)); exit(1); --- vacation.1.orig Mon Aug 30 03:15:30 1999 +++ usr.bin/vacation/vacation.1 Thu Dec 2 12:56:49 1999 @@ -45,2 +45,3 @@ .Op Fl r Ar interval +.Op Fl D Ar dir .Nm vacation @@ -48,4 +49,6 @@ .Fl l +.Op Fl D Ar dir .Nm vacation .Op Fl d +.Op Fl D Ar dir .Op Fl a Ar alias @@ -78,2 +81,10 @@ Enable debugging mode. See below. +.It Fl D Ar dir +Use +.Ar dir +instead of the user's home directory. This can be used +to allow the same user respond differently to different +messages, or to simply speed up mail processing by placing +the database "closer" to the mailserver (local filesystem +vs. NFS, for example). .It Fl i >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 10:20:52 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1368E14E07 for ; Thu, 2 Dec 1999 10:20:43 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA20961; Thu, 2 Dec 1999 10:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (Postfix) with ESMTP id E6F5214D09 for ; Thu, 2 Dec 1999 10:15:01 -0800 (PST) (envelope-from rcarter@pinyon.org) Received: (from daemon@localhost) by smtp01.primenet.com (8.9.3/8.9.3) id LAA23723 for ; Thu, 2 Dec 1999 11:14:16 -0700 (MST) Received: from ip-83-152.prc.primenet.com(207.218.83.152), claiming to be "pinyon.org" via SMTP by smtp01.primenet.com, id smtpdAAAnsaqST; Thu Dec 2 11:13:46 1999 Received: by pinyon.org (Postfix, from userid 1001) id CCF5456; Thu, 2 Dec 1999 11:13:24 -0700 (MST) Message-Id: <19991202181324.CCF5456@pinyon.org> Date: Thu, 2 Dec 1999 11:13:24 -0700 (MST) From: rcarter@pinyon.org Reply-To: rcarter@pinyon.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/15228: C++ exceptions+threads fail Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15228 >Category: misc >Synopsis: C++ exceptions+threads SIGABRTs. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 2 10:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Russell L. Carter >Release: FreeBSD 4.0-CURRENT i386 >Organization: Conceptual Systems & Software >Environment: standard -current >Description: Throwing a c++ exception across threads causes core dump. >How-To-Repeat: $ c++ -pthread -D_THREAD_SAFE ex_test.cpp $ ./a.out Throwing Ex: Caught Ex, now rethrowing it... Caught Ex thrown from main thread. Throwing Ex: Caught Ex, now rethrowing it... Abort trap (core dumped) $ ex_test.cpp: #include #include class Ex {}; class testEx { public: void throwEx () { fprintf(stderr, "Throwing Ex:\n"); throw Ex (); } }; void * f(void *) { testEx thetest; thetest.throwEx (); } void * g(void *arg) { try { f(arg); } catch (Ex &ex) { fprintf(stderr, "Caught Ex, now rethrowing it...\n"); throw; } } int main (void) { int *arg = 0; try { g((void *) arg); } catch (Ex &ex) { fprintf(stderr, "Caught Ex thrown from main thread.\n"); } pthread_t ex_thread; pthread_attr_t *attr = 0; try { pthread_create(&ex_thread, attr, g, (void *) arg); } catch (Ex &ex) { fprintf(stderr, "Caught Ex thrown from child thread.\n"); } pthread_join(ex_thread, (void **) &arg); return 0; } >Fix: None yet. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 12:50:16 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 149FF14E81 for ; Thu, 2 Dec 1999 12:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA36405; Thu, 2 Dec 1999 12:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from smtp.datacomm.ch (smtp.datacomm.ch [212.40.5.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DEDF14CCC for ; Thu, 2 Dec 1999 12:44:30 -0800 (PST) (envelope-from wgr@datacomm.ch) Received: from brain.hoengg.ch (line211-zuerich.datacomm.ch [212.254.24.225]) by smtp.datacomm.ch (8.9.3/8.9.3) with ESMTP id VAA31706 for ; Thu, 2 Dec 1999 21:44:22 +0100 Received: (from wgr@localhost) by brain.hoengg.ch (8.9.3/8.9.3) id VAA00758; Thu, 2 Dec 1999 21:42:14 +0100 (CET) Message-Id: <199912022042.VAA00758@brain.hoengg.ch> Date: Thu, 2 Dec 1999 21:42:14 +0100 (CET) From: Georg Wagner Reply-To: wgr@datacomm.ch To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/15229: mtree - different from mtree in NetBSD 1.4 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15229 >Category: bin >Synopsis: mtree - different from mtree in NetBSD 1.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 2 12:50:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Georg Wagner >Release: FreeBSD 2.2.8-STABLE i386/ all releases >Organization: - >Environment: >Description: In NetBSD the functionality of mtree was changed to recognise and set/unset the file flags (schg, sappnd). This functionality is extremely usefull in environments with high security risks. Original proposal of A. Wennmacher: File Flags Proposal CONTENTS -------- 0. Abstract 1. Introduction 1.1 Kernel security levels 1.2 4.4BSD file flags 1.3 Added security with file flags set 1.4 Impact on system administration 2 Setting/Unsetting file flags 2.1 mtree(8) 2.2 Using mtree(8) for file flags 3 Flags specifications 0. Abstract. It is proposed that mtree(8) be slightly changed to support the administration of the schg and sappnd file flags. A method is described how mtree can be used to improve system security by setting and unsetting the schg and sappnd flags in a consistent way. A suggestion for file flags defaults is made. 1. Introduction ---------------- If you are familiar with kernel security levels and file flags, continue with section 1.3. 1.1 Kernel security levels --------------------------- The NetBSD kernel operates at different kernel security levels: At level 0 there are no security level related restrictions; immutable and append-only flags (see chflags(1) and chflags(2) for more information on file flags) may be set and unset, devices may be read or written subject to their permissions. At level 1 superuser immutable and append-only flags may not be unset, disks for mounted filesystems, /dev/mem, and /dev/kmem are read-only. At level 2 disks are always read-only, whether mounted or not, in addition to the security features of level 1. During operation in single user mode, the kernel in general runs at security level 0. While transitioning to multi user mode, init(8) raises the security level to 1. Using the sysctl(1) command, the security level may later even be raised to 2. If it is desired to run the system permanently at security level 0 "options INSECURE" may be specified in the kernel configuration file which inititalizes the security level to -1. See init(8) and /usr/include/sys/systm.h for more information on security levels. 1.2 4.4BSD file flags ----------------------- The chflags() and fchflags() system calls, and the chflags(1) command first appeared in 4.4BSD. They implement the following flags: flag name flag bit ------------------------------------------------------------------------------- nodump UF_NODUMP Do not dump the file. uchg UF_IMMUTABLE The file may not be changed. uappnd UF_APPEND The file may only be appended to. opaque UF_OPAQUE The file (if a directory) is opaque for union mounts. arch SF_ARCHIVED The file is archived. schg SF_IMMUTABLE The file may not be changed. sappnd SF_APPEND The file may only be appended to. ------------------------------------------------------------------------------- schg and sappnd are super-user only flags, uchg and uappnd are the equivalent flags for unprivileged users. If schg is set on a file, even root may not delete, rename or truncate the file. Such a file is called immutable. Immutable directories may not be renamed nor may files be added or removed. If sappnd is set on a file, the file is immutable, except that data may be appended to that file. In the case of directories, new directory entries may be created, and files in a directory may be renamed, but no files may be removed. See chflags(1) and chflags(2) for more information on file flags. 1.3 Added security with file flags set --------------------------------------- Stock NetBSD distributions do not make use of the schg and sappnd flags for their system files. Setting these flags is not without problems because once set, systems have in general to be taken to single user mode to undo this operation. And, as yet there was no tool which sets/unsets the flags automatically on a large number of files. However, having most system files with the schg and sappnd flags set increases system security dramatically. Imagine the following scenario: A hacker managed to break in into your system and even managed to become root. As a first step, he tries to cover up his traces by changing the system log files /var/log/authlog, /var/log/lastlog, and /var/log/wtmp. No chance, the are sappnd. The typical next step is to replace some of your system binaries with Trojan horses. But this won't work on a flags protected system. Decepted, the hacker tries to erase your system: /bin/rm -rf /. No, this won't work for him either (except for the user data, having a backup is still a good idea). A more clever hacker will probably try to unset the schg and sappnd flags. But how? He breaked in over a network connection and taking the system to single user mode will close the network connection. So that will not work. He will have to prepare the system while in multiuser mode to change the file flags during the next reboot. But that will also not work, because all files run during startup (/etc/rc, /etc/rc.local and all binaries called from them) are protected by schg. No luck. 1.4 Impact on system administration ------------------------------------- You get nothing for free. If you decide to set the schg and sappend flags, you may still do some system administration while in multiuser mode (like adding users), but most of the more critical work has to be done at single user mode. It's upon you to decide whether you want ease of administration or security. Basically, you have the following three choices: 1) To not set schg and sappnd on any files. 2) To use the defaults for the schg and sappnd flags on system files (I will propose the defaults in section 3). 3) To customize the settings of schg and sappnd flags on system files according to your needs. Your choice will have the following impact: 1) None. Nothing changes for you as compared to now. 2) Most of system administration will have to be done during single user mode. Your security is drastically improved. The choice of applying the defaults can be undone with one single command (during operation in single user mode). 3) Similar to 2. This choice may be undone using two simple commands per file system (during operation in single user mode). I will describe how to unset schg and sappnd for all system files using mtree(8) in the next section. Note, however, that for standard system administration, it is often sufficient to unset the flag by hand, edit the file, and set it again by hand when done. 2 Setting/Unsetting file flags ------------------------------- 2.1 mtree(8) ------------- mtree(8) is the utility that will take care to set/unset the schg and sappnd file flags in a consistent way. Matthew Green made mtree(8) flags-aware, and I have added two options to mtree(8) (described below) that can specifically be used for setting/unsetting schg and sappnd (I have sent my patches to Matthew Green). mtree(8) compares the file hierarchy rooted in the current directory against a specification. mtree(8) has options (-U and -u) to modify the owner, group, and permissions of existing files to match the specification and create any missing directories. I have added the -i and -m options. mtree now has the following semantics: sappnd and schg are treated as special flags. Normally, mtree does not affect them. If -u and -i are given, mtree will set the flags exactly as in the specificationified. -u alone will set the specified flags with the exception of sappnd and schg, leaving these untouched. -u and -m will set the flags as specified, but will clear the schg and sappnd flags. If given without -u, -i will set schg and sappnd (leaving all other flags untouched), -m will reset them. 2.2 Using mtree(8) for file flags ---------------------------------- If you want to set the schg/sappnd flags, you would simply run % cd / % mtree -i -f /etc/mtree/NetBSD.dist or % mtree -i -u -f /etc/mtree/NetBSD.dist To unset the schg/sappnd flags: % cd / % mtree -m -f /etc/mtree/NetBSD.dist If you want to customize your flags settings, you can do that by applying the defaults and changing them according to your needs (using the chflags command). As a next step create your own specifications file: % cd / % mtree -x -c > /etc/mtree/myroot.spec % cd /usr % mtree -x -c > /etc/mtree/myusr.spec You then can unset all schg and sappnd flags using: % cd / % mtree -x -m -f /etc/mtree/myroot.spec % cd /usr % mtree -x -m -f /etc/mtree/myusr.spec etc. 3 Flags specifications 3 Flags specifications ----------------------- The flags specifications should be included in /etc/mtree/NetBSD.dist. To make it short, here is my suggestion how to set schg and sappnd on the NetBSD system files: / sappnd /boot schg /netbsd schg /bin schg /bin/* schg /dev sappnd /dev/* schg /etc sappnd /etc/aliases sappnd /etc/aliases.db none /etc/bootptab sappnd /etc/changelist sappnd /etc/csh.cshrc schg /etc/csh.login schg /etc/csh.logout schg /etc/daily schg /etc/daily.conf schg /etc/defaultdomain schg /etc/dhclient-script schg (??) /etc/disktab sappnd /etc/disktab.preinstall none /etc/dm.conf none /etc/dumpdates none /etc/floppytab sappnd /etc/fstab schg /etc/fstab.sd none /etc/fstab.wd none /etc/ftpchroot sappnd /etc/ftpusers schg /etc/ftpwelcome none /etc/gettytab none (??) /etc/group none /etc/hosts none /etc/hosts.equiv schg /etc/hosts.lpd schg /etc/inetd.conf schg /etc/ld.so.conf schg /etc/lkm.conf schg /etc/localtime schg /etc/mail.rc schg /etc/man.conf none /etc/master.passwd none /etc/mk.conf none /etc/monthly schg /etc/monthly.conf schg /etc/motd none /etc/mrouted.conf none (??) /etc/mygate schg /etc/myname schg /etc/netstart schg /etc/networks schg /etc/newsyslog.conf schg /etc/ntp.conf schg /etc/ntp.drift none (should be moved to /var) /etc/passwd none /etc/phones sappnd /etc/printcap none /etc/profile schg /etc/protocols schg /etc/pwd.db none /etc/rbootd.conf schg /etc/rc schg /etc/rc.conf schg /etc/rc.lkm schg /etc/rc.local schg /etc/rc.subr schg /etc/remote sappnd (??) /etc/resolv.conf schg /etc/rmt schg /etc/rpc schg /etc/security schg /etc/security.conf schg /etc/sendmail.cf schg /etc/services schg /etc/shells schg /etc/skeykeys none (??) /etc/spwd.db none /etc/syslog.conf schg /etc/ttys schg /etc/weekly schg /etc/weekly.conf schg /etc/mtree sappnd /etc/BSD.pkg.dist schg /etc/BSD.x11.dist schg /etc/NetBSD.dist schg /etc/special schg /mnt none /kern none /sbin schg /sbin/* schg /tmp none /var sappnd /var/account sappnd /var/account/* sappnd /var/at sappnd /var/at/jobs sappnd /var/at/spool sappnd /var/backups none /var/crash none /var/cron sappnd (1) /var/cron/tabs none /var/db none /var/db/ns none (??) /var/db/pkg none /var/games none (2) /var/log sappnd /var/log/* none /var/log/authlog sappnd (1) /var/log/lastlog sappnd /var/log/wtmp sappnd (1) /var/log/rdist none /var/mail none /var/msgs none /var/preserve none /var/quotas none /var/run sappnd /var/rwho none /var/spool sappnd /var/spool/secretmail none (??) /var/spool/lock none /var/spool/lpd sappnd /var/spool/lpd/* none /var/spool/mqueue none /var/spool/ftp schg /var/spool/ftp/bin schg /var/spool/ftp/etc schg /var/spool/ftp/hidden schg /var/spool/output none /var/spool/sockets none /var/spool/uucp none (??) /var/spool/uucppublic none (??) /var/tmp none /var/tmp/vi.recover none /var/yp sappnd /var/yp/binding none (??) /proc none /altroot sappnd /root none /home none /stand schg /stand/* schg (3) /usr sappnd /usr: all subdirectories schg /usr: all files schg with the following exceptions: /usr/share/man none (4) /usr/share/sendmail/cf sappnd /usr/pkg sappnd /usr/src/sys/arch/*/compile none /usr/src/sys/arch/*/conf sappnd (1): Syslog framework will have to be changed (2): root, don't play games! (3): currently not applicable (4): whatis.db should be moved to /var/man -- Dr. Alexandre Wennmacher Institut fuer Geophysik und Meteorologie wennmach@geo.Uni-Koeln.DE Universitaet zu Koeln phone +49 221 470 - 3387 D-50923 Koeln fax +49 221 470 - 5198 >How-To-Repeat: >Fix: Take the mtree out of NetBSD 1.4 and port it to FreeBSD. Only minor changes are neccessary. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 14:51:21 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A61ED14F42 for ; Thu, 2 Dec 1999 14:50:58 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA47298; Thu, 2 Dec 1999 14:50:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from blues.jpj.net (blues.jpj.net [204.97.17.146]) by hub.freebsd.org (Postfix) with ESMTP id 74B4F14C5A for ; Thu, 2 Dec 1999 14:46:37 -0800 (PST) (envelope-from trevor@jpj.net) Received: from localhost (trevor@localhost) by blues.jpj.net (right/backatcha) with SMTP id RAA28356 for ; Thu, 2 Dec 1999 17:46:25 -0500 (EST) Message-Id: Date: Thu, 2 Dec 1999 17:46:24 -0500 (EST) From: Trevor Johnson To: FreeBSD-gnats-submit@freebsd.org Subject: kern/15230: use of write-protected FAT12 floppy causes panic Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15230 >Category: kern >Synopsis: use of write-protected FAT12 floppy causes panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 2 14:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Trevor Johnson (trevor@jpj.net) >Release: 3.3-STABLE >Organization: none >Environment: FreeBSD ws99.fusi.dom 3.3-19990924-STABLE FreeBSD 3.3-19990924-STABLE #0: Sun Sep 26 21:08:48 PDT 1999 root@myname.my.domain:/usr/src/sys/compile/topside i386 (kernel configuration appended to the "Fix" field) >Description: System crashes and reboots when a DOS-formatted floppy with the write-protect tab in the read-only position is used, then unmounted. I've also seen variations of this (one variation: I tried to remove files from the mounted floppy) with 3.3-RELEASE and 3.2-19990713-STABLE, under X and with syscons. It happens with double-density and high-density 3.5" disks in a high-density drive; I've not tried 5.25" ones. Under other operating systems, I saw no obvious defects in the disks or their contents. >How-To-Repeat: Put write-protected FAT12 floppy in drive. # mount_msdos /dev/fd0 /mnt # cd /mnt # scp * user@host:/path/ # cd / # sync # umount /mnt Wait for reboot. Run fsck manually if prompted to do so. >Fix: Unknown--perhaps the "-r" option to mount_msdos would make a difference, but IMO there should be a more graceful response when it it omitted, especially because some computers are operated remotely, without anyone present to examine write-protect tabs. It's also conceivable that someone might have a cron job which mounts and reads (or even tries to write!) a floppy while the comptuer is unattended. Perhaps the mount could fail, or a read-only mount could be made, and an error message generated in either case. # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.freebsd.org/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.143.2.16 1999/07/02 04:04:53 jkh Exp $ machine "i386" #cpu "I386_CPU" #cpu "I486_CPU" #cpu "I586_CPU" cpu "I686_CPU" ident topside maxusers 32 #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options MFS_ROOT #MFS usable as root device, "MFS" req'ed options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, "NFS" req'ed options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=10000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor config kernel root on wd0 # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs controller isa0 # Enable PnP support in the kernel. This allows you to automaticly # attach to PnP cards for drivers that support it and allows you to # configure cards from USERCONFIG. See pnp(4) for more info. controller pnp0 #controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 #options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM #device wfd0 #IDE Floppy (e.g. LS-120) # A single entry for any of these controllers (ncr, ahb, ahc) is # sufficient for any number of installed devices. #controller ncr0 #controller ahb0 #controller ahc0 #controller isp0 # This controller offers a number of configuration options, too many to # document here - see the LINT file in this directory and look up the # dpt0 entry there for much fuller documentation on this. controller dpt0 #controller adv0 at isa? port ? cam irq ? #controller adw0 #controller bt0 at isa? port ? cam irq ? controller aha0 at isa? port ? cam irq ? controller scbus0 device da0 device sa0 device pass0 device cd0 #Only need one of these, the code dynamically grows #device wt0 at isa? port 0x300 bio irq 5 drq 1 #device mcd0 at isa? port 0x300 bio irq 10 #controller matcd0 at isa? port 0x230 bio #device scd0 at isa? port 0x230 bio # atkbdc0 controlls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver #pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? tty # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? tty #options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std device npx0 at isa? port IO_NPX irq 13 # # Laptop support (see LINT for more options) # device apm0 at isa? disable flags 0x31 # Advanced Power Management # PCCARD (PCMCIA) support #controller card0 #device pcic0 at card? #device pcic1 at card? device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 device sio2 at isa? disable port "IO_COM3" tty irq 5 device sio3 at isa? disable port "IO_COM4" tty irq 9 # Parallel port device ppc0 at isa? port? flags 0x40 net irq 7 controller ppbus0 device lpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? #controller vpo0 at ppbus? # # The following Ethernet NICs are all PCI devices. # #device al0 # ADMtek AL981 (``Comet'') #device ax0 # ASIX AX88140A #device de0 # DEC/Intel DC21x4x (``Tulip'') #device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) #device mx0 # Macronix 98713/98715/98725 (``PMAC'') #device pn0 # Lite-On 82c168/82c169 (``PNIC'') #device rl0 # RealTek 8129/8139 #device tl0 # Texas Instruments ThunderLAN #device tx0 # SMC 9432TX (83c170 ``EPIC'') #device vr0 # VIA Rhine, Rhine II #device vx0 # 3Com 3c590, 3c595 (``Vortex'') #device wb0 # Winbond W89C840F #device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 #device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 #device ep0 at isa? port 0x300 net irq 10 #device ex0 at isa? port? net irq? #device fe0 at isa? port 0x300 net irq ? #device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 #device lnc0 at isa? port 0x280 net irq 10 drq 0 #device xe0 at isa? port? net irq ? #device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 #device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 #device cs0 at isa? port 0x300 net irq ? pseudo-device loop pseudo-device ether #pseudo-device sl 1 pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing # This provides support for System V shared memory and message queues. # options SYSVSHM options SYSVMSG options SYSVSEM # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be # aware of the legal and administrative consequences of enabling this # option. The number of devices determines the maximum number of # simultaneous BPF clients programs runnable. #pseudo-device bpfilter 4 #Berkeley packet filter controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 device awe0 at isa? port 0x620 device opl0 at isa? port 0x388 device mpu0 at isa? port 0x330 irq 6 drq 0 device uart0 at isa? port 0x330 irq 5 device awe0 at isa? port 0x620 conflicts # for Wine options USER_LDT # # Allow processes to switch to vm86 mode, as well as enabling direct # user-mode access to the I/O port space. This option is necessary for # the doscmd emulator to run and the VESA modes in syscons to be available. # options "VM86" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 15: 1:14 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3F4DB14F56 for ; Thu, 2 Dec 1999 15:01:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA48315; Thu, 2 Dec 1999 15:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 00F7E14C5A; Thu, 2 Dec 1999 14:59:34 -0800 (PST) Message-Id: <19991202225934.00F7E14C5A@hub.freebsd.org> Date: Thu, 2 Dec 1999 14:59:34 -0800 (PST) From: bleez@netaxs.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: i386/15231: ATAPI tape does not probe at boot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15231 >Category: i386 >Synopsis: ATAPI tape does not probe at boot >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 2 15:00:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Bryan Liesner >Release: 4.0 CURRENT >Organization: >Environment: FreeBSD gravy.kishka.net 4.0-CURRENT FreeBSD 4.0-CURRENT #3: Wed Dec 1 18:59:41 EST 1999 bryan@gravy.kishka.net:/usr/src/sys/compile/GRAVY i386 >Description: CDROM/master HP Colorado/slave combination using the new ata/atapi drivers During a verbose boot, the atapi driver "sees" two devices attached to the primary motherboard IDE interface. Only the CDROM driver is loaded leaving the tape drive unuseable. This combination works fine using the old wd drivers, and had always worked until switching drivers >How-To-Repeat: Just boot the system, it's consistent. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 15:20:25 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 95BC314C84 for ; Thu, 2 Dec 1999 15:20:22 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA50086; Thu, 2 Dec 1999 15:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 2 Dec 1999 15:20:02 -0800 (PST) Message-Id: <199912022320.PAA50086@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Steve Price Subject: Re: i386/15231: ATAPI tape does not probe at boot Reply-To: Steve Price Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/15231; it has been noted by GNATS. From: Steve Price To: bleez@netaxs.com Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: i386/15231: ATAPI tape does not probe at boot Date: Thu, 2 Dec 1999 17:08:55 -0600 (CST) On Thu, 2 Dec 1999 bleez@netaxs.com wrote: # >Description: # CDROM/master HP Colorado/slave combination using the new ata/atapi drivers # During a verbose boot, the atapi driver "sees" two devices attached to # the primary motherboard IDE interface. Only the CDROM driver is loaded # leaving the tape drive unuseable. # This combination works fine using the old wd drivers, and had always # worked until switching drivers We're probably going to need a bit more information than this in order to solve the problem you are having. The ouput of dmesg and a copy of your kernel config file would be nice. But I'll take a guess and ask if you have a line like this in your kernel config file? device atapist0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 17:17:16 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4583814ECC; Thu, 2 Dec 1999 17:17:14 -0800 (PST) (envelope-from steve@FreeBSD.org) Received: (from steve@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA64184; Thu, 2 Dec 1999 17:17:14 -0800 (PST) (envelope-from steve@FreeBSD.org) Date: Thu, 2 Dec 1999 17:17:14 -0800 (PST) From: Message-Id: <199912030117.RAA64184@freefall.freebsd.org> To: steve@FreeBSD.org, freebsd-bugs@FreeBSD.org, sos@FreeBSD.org Subject: Re: i386/15231: ATAPI tape does not probe at boot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ATAPI tape does not probe at boot Responsible-Changed-From-To: freebsd-bugs->sos Responsible-Changed-By: steve Responsible-Changed-When: Thu Dec 2 17:16:39 PST 1999 Responsible-Changed-Why: Originator says that Soren is taking a look at this one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 20:30:25 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 27AC514FD4 for ; Thu, 2 Dec 1999 20:30:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA01536; Thu, 2 Dec 1999 20:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from midten.fast.no (midten.fast.no [195.139.251.11]) by hub.freebsd.org (Postfix) with ESMTP id 512F914D9A for ; Thu, 2 Dec 1999 19:55:51 -0800 (PST) (envelope-from tegge@not.fast.no) Received: from not.fast.no (IDENT:root@not.fast.no [195.139.251.12]) by midten.fast.no (8.9.3/8.9.3) with ESMTP id EAA81372 for ; Fri, 3 Dec 1999 04:55:48 +0100 (CET) Received: (from tegge@localhost) by not.fast.no (8.9.3/8.8.8) id EAA90300; Fri, 3 Dec 1999 04:55:47 +0100 (CET) (envelope-from tegge@not.fast.no) Message-Id: <199912030355.EAA90300@not.fast.no> Date: Fri, 3 Dec 1999 04:55:47 +0100 (CET) From: Tor Egge Reply-To: tegge@not.fast.no To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15235: Race conditions in pipe_write causes kernel memory corruption Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15235 >Category: kern >Synopsis: Race conditions in pipe_write causes kernel memory corruption >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 2 20:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Tor Egge >Release: FreeBSD 4.0-CURRENT i386 >Organization: Fast Search & Transfer ASA >Environment: 3.3-STABLE and 4.0-CURRENT >Description: (3.3-STABLE) #0 cpu_dump (pcb=0xc0287310) at ../../i386/i386/vm_machdep.c:703 703 ../../i386/i386/vm_machdep.c: No such file or directory. (kgdb) where #0 cpu_dump (pcb=0xc0287310) at ../../i386/i386/vm_machdep.c:703 #1 0xc015ec71 in boot (howto=256) at ../../kern/kern_shutdown.c:284 #2 0xc015ef25 in panic (fmt=0xc0265793 "page fault") at ../../kern/kern_shutdown.c:443 #3 0xc022eb38 in trap_fatal (frame=0xda694dac, eva=791819679) at ../../i386/i386/trap.c:947 #4 0xc022e7b3 in trap_pfault (frame=0xda694dac, usermode=0, eva=791819679) at ../../i386/i386/trap.c:840 #5 0xc022e3fa in trap (frame={tf_es = -1071251440, tf_ds = 16, tf_edi = -631040032, tf_esi = 791819679, tf_ebp = -630632952, tf_isp = -630633004, tf_ebx = 791819567, tf_edx = 791819679, tf_ecx = 16777217, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1071460992, tf_cs = 8, tf_eflags = 66050, tf_esp = -1072153213, tf_ss = 791819679}) at ../../i386/i386/trap.c:441 #6 0xc022cd80 in setlock () #7 0xc0206305 in vm_object_vndeallocate (object=0xda6c5e0c) at ../../vm/vm_object.c:277 #8 0xc01f6185 in ffs_read (ap=0xda694eb8) at ../../ufs/ufs/ufs_readwrite.c:352 #9 0xc018a21b in vn_read (fp=0xc3fc2d80, uio=0xda694f00, cred=0xc3f3ab80, flags=0) at vnode_if.h:303 #10 0xc0169e35 in dofileread (p=0xda6317e0, fp=0xc3fc2d80, fd=3, buf=0x8084000, nbyte=8192, offset=-1, flags=0) at ../../kern/sys_generic.c:179 #11 0xc0169d3f in read (p=0xda6317e0, uap=0xda694f84) at ../../kern/sys_generic.c:111 #12 0xc022edb3 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 134766545, tf_esi = 1498366912, tf_ebp = -1077978384, tf_isp = -630632492, tf_ebx = 1498310380, tf_edx = 3, tf_ecx = 0, tf_eax = 3, tf_trapno = 7, tf_err = 2, tf_eip = 1498060656, tf_cs = 31, tf_eflags = 514, tf_esp = -1077978420, tf_ss = 39}) at ../../i386/i386/trap.c:1105 #13 0xc021cb2c in Xint0x80_syscall () #14 0x594cc665 in ?? () #15 0x594c8c54 in ?? () #16 0x804ab1b in ?? () #17 0x804a8d5 in ?? () #18 0x804a68c in ?? () #19 0x8049883 in ?? () #20 0x80496c5 in ?? () Examination shows that the vm object is overwritten in kernel memory: (kgdb) print *(struct vm_object *) 0xda6c5e0c $4 = {object_list = {tqe_next = 0x656e7574, tqe_prev = 0x79746963}, shadow_head = {tqh_first = 0x6d6f632e, tqh_last = 0x6e61762f}, shadow_list = {tqe_next = 0x69687369, tqe_prev = 0x382f676e}, memq = { tqh_first = 0x762f3432, tqh_last = 0x6f697261}, generation = 1882157941, type = 1919643253, size = 1768647535, ref_count = 1954051118, shadow_count = 892678410, id = 825242168, flags = 12852, pg_color = 8247, paging_in_progress = 12599, behavior = 13366, resident_page_count = 842151476, paging_offset = 3400000498352547872, backing_object = 0x706e6974, backing_object_offset = 8463515422517259873, last_read = 1768121710, page_hint = 0x632e7974, pager_object_list = { tqe_next = 0x682f6d6f, tqe_prev = 0x6573756f}, handle = 0x2f32352f, un_pager = {vnp = {vnp_size = 7813028919358284141}, devp = {devp_pglist = { tqh_first = 0x2e34616d, tqh_last = 0x6c6d7468}}, swp = { swp_nblocks = 775184749, swp_allocsize = 1819112552, swp_blocks = 0xa, swp_poip = 0}}} (kgdb) print (char *) 0xda6c5e0c $5 = 0xda6c5e0c "tunecity.com/vanishing/824/various/punkrokki.txt\n1558201427 71644622 http://tinpan.fortunecity.com/house/52/ma4.html\n" (kgdb) After some more digging, a pipe structure is found to be invalid: (kgdb) print *(struct pipe *) 0xda5ba020 $9 = {pipe_buffer = {cnt = 20097, in = 0, out = 0, size = 16384, buffer = 0xda6c1000 "tm\n1578116684 40158689 http://info.med.yale.edu/phyassoc/stulife.html\n1530933342 50718132 http://info.med.yale.edu/labinvest/abstracts/9902feb/9902_151.html\n1720729792 67896937 http://info.med.yale.ed"..., object = 0xda6b407c}, pipe_map = {kva = 0, cnt = 0, pos = 0, npages = 0, ms = {0x0 }}, pipe_sel = {si_pid = 0, si_flags = 0}, pipe_atime = {tv_sec = 944072875, tv_nsec = 119056060}, pipe_mtime = { tv_sec = 944072875, tv_nsec = 119056060}, pipe_ctime = { tv_sec = 944072871, tv_nsec = 739076689}, pipe_sigio = 0x0, pipe_peer = 0xda5b9f80, pipe_state = 2048, pipe_busy = 0} (kgdb) (kgdb) print/x 0xda6c1000 + 20097 $11 = 0xda6c5e81 This indicates that pipe_write wrote beyond the 16KB pipe buffer and into the next page that contained vm_object structures. Examination of pipe_write shows why: - pipelock() might block. When this happens, the values for space and size are no longer valid, since the process holding the pipe lock might have modified the pipe structure. There seems to be one more race: - A write of size <= PIPE_BUF might be split into two internal write operations. If the pipe size is larger than PIPE_SIZE (e.g. BIG_PIPE_SIZE) the process might block after the first internal write operation due to the pipe containing PIPE_SIZE or more bytes. >How-To-Repeat: Let multiple processes write to the same pipe. Select one of - Write to the pipe from memory that has to be faulted in, causing uiomove to block while the pipe lock is held. - read from the other end of the pipe to memory that has to be faulted in, causing uiomove th block while the pipe lock is held. - Use a version of uiomove that releases the giant kernel lock during transfers larger than 1024 bytes on SMP systems. >Fix: (4.0-CURRENT) - Check that space is still valid after obtaining the pipe lock. - Defer the calculation of transfer size until the pipe lock has been obtained. - Allow an internal write to span two contiguous segments, so writes of size <= PIPE_BUF can be kept atomic when wrapping around from the end to the start of the pipe buffer. - Update the pipe buffer pointers while holding the pipe lock. Index: sys/kern/sys_pipe.c =================================================================== RCS file: /home/ncvs/src/sys/kern/sys_pipe.c,v retrieving revision 1.58 diff -u -r1.58 sys_pipe.c --- sys_pipe.c 1999/11/08 03:28:48 1.58 +++ sys_pipe.c 1999/12/02 18:18:21 @@ -799,27 +799,13 @@ space = wpipe->pipe_buffer.size - wpipe->pipe_buffer.cnt; /* Writes of size <= PIPE_BUF must be atomic. */ - /* XXX perhaps they need to be contiguous to be atomic? */ if ((space < uio->uio_resid) && (orig_resid <= PIPE_BUF)) space = 0; if (space > 0 && (wpipe->pipe_buffer.cnt < PIPE_SIZE)) { - /* - * This set the maximum transfer as a segment of - * the buffer. - */ - int size = wpipe->pipe_buffer.size - wpipe->pipe_buffer.in; - /* - * space is the size left in the buffer - */ - if (size > space) - size = space; - /* - * now limit it to the size of the uio transfer - */ - if (size > uio->uio_resid) - size = uio->uio_resid; if ((error = pipelock(wpipe,1)) == 0) { + int size; /* Transfer size */ + int segsize; /* first segment to transfer */ /* * It is possible for a direct write to * slip in on us... handle it here... @@ -828,18 +814,73 @@ pipeunlock(wpipe); goto retrywrite; } - error = uiomove( &wpipe->pipe_buffer.buffer[wpipe->pipe_buffer.in], - size, uio); + /* + * If a process blocked in uiomove, our + * value for space might be bad. + */ + if (space > wpipe->pipe_buffer.size - + wpipe->pipe_buffer.cnt) { + pipeunlock(wpipe); + goto retrywrite; + } + + /* + * Transfer size is minimum of uio transfer + * and free space in pipe buffer. + */ + if (space > uio->uio_resid) + size = uio->uio_resid; + else + size = space; + /* + * First segment to transfer is minimum of + * transfer size and contiguous space in + * pipe buffer. If first segment to transfer + * is less than the transfer size, we've got + * a wraparound in the buffer. + */ + segsize = wpipe->pipe_buffer.size - + wpipe->pipe_buffer.in; + if (segsize > size) + segsize = size; + + /* Transfer first segment */ + + error = uiomove(&wpipe->pipe_buffer.buffer[wpipe->pipe_buffer.in], + segsize, uio); + + if (error == 0 && segsize < size) { + /* + * Transfer remaining part now, to + * support atomic writes. Wraparound + * happened. + */ + if (wpipe->pipe_buffer.in + segsize != + wpipe->pipe_buffer.size) + panic("Expected pipe buffer wraparound disappeared"); + + error = uiomove(&wpipe->pipe_buffer.buffer[0], + size - segsize, uio); + } + if (error == 0) { + wpipe->pipe_buffer.in += size; + if (wpipe->pipe_buffer.in >= + wpipe->pipe_buffer.size) { + if (wpipe->pipe_buffer.in != size - segsize + wpipe->pipe_buffer.size) + panic("Expected wraparound bad"); + wpipe->pipe_buffer.in = size - segsize; + } + + wpipe->pipe_buffer.cnt += size; + if (wpipe->pipe_buffer.cnt > wpipe->pipe_buffer.size) + panic("Pipe buffer overflow"); + + } pipeunlock(wpipe); } if (error) break; - wpipe->pipe_buffer.in += size; - if (wpipe->pipe_buffer.in >= wpipe->pipe_buffer.size) - wpipe->pipe_buffer.in = 0; - - wpipe->pipe_buffer.cnt += size; } else { /* * If the "read-side" has been blocked, wake it up now. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Dec 2 23:31: 0 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id F01DF151F4 for ; Thu, 2 Dec 1999 23:30:36 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA63743; Thu, 2 Dec 1999 23:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 2 Dec 1999 23:30:01 -0800 (PST) Message-Id: <199912030730.XAA63743@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Tim Daneliuk Subject: Re: kern/9974: Large amounts of kernel clock drift with a SMP 4.0-current Reply-To: Tim Daneliuk Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/9974; it has been noted by GNATS. From: Tim Daneliuk To: freebsd-gnats-submit@freebsd.org, caesar@starkreality.com Cc: Subject: Re: kern/9974: Large amounts of kernel clock drift with a SMP 4.0-current Date: Fri, 03 Dec 1999 01:24:42 -0600 I am seeing a similar thing with 3.3R - When the machine ran 2.2.8, I got about 6 seconds of clock drift per day. Under 3.3R, it moves over 1000 seconds per date if do not do regular (every 10 minutes) ntpdate... -- ------------------------------------------------------------------------------ Tim Daneliuk tundra@tundraware.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 2:46:16 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E159214C84; Fri, 3 Dec 1999 02:46:14 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA80095; Fri, 3 Dec 1999 02:45:37 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Date: Fri, 3 Dec 1999 02:45:37 -0800 (PST) From: Message-Id: <199912031045.CAA80095@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, dillon@FreeBSD.org Subject: Re: kern/15222: mbuf leak in nfs_srvcache.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: mbuf leak in nfs_srvcache.c Responsible-Changed-From-To: freebsd-bugs->dillon Responsible-Changed-By: sheldonh Responsible-Changed-When: Fri Dec 3 02:45:09 PST 1999 Responsible-Changed-Why: Over to our famed NFS maintainer. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 3: 1:55 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24]) by hub.freebsd.org (Postfix) with ESMTP id 0518F150E0 for ; Fri, 3 Dec 1999 03:01:41 -0800 (PST) (envelope-from sziszi@petra.hos.u-szeged.hu) Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.1b+Sun/SMI-SVR4) id LAA19072; Fri, 3 Dec 1999 11:59:52 +0100 (MET) Received: from sziszi by petra.hos.u-szeged.hu with local (Exim 2.05 #1 (Debian)) id 11tqHw-0006im-00; Fri, 3 Dec 1999 11:50:08 +0100 Date: Fri, 3 Dec 1999 11:50:08 +0100 From: Szilveszter Adam To: freebsd-bugs@freebsd.org Subject: bin/15219 whois nic server address has changed internic to networksolutions Message-ID: <19991203115008.A22751@petra.hos.u-szeged.hu> Mail-Followup-To: freebsd-bugs@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0i Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello! I have checked out the whois client from -CURRENT today and it is really fine work, congratulations. However, the man page needed a bit of an update, so I did it and also, since IMHO some people seem to miss the old functionality of querying the Network Solutions whois server directly, I added a new option -n which does this. (Although over time this will be less and less practicable, since there are many registrants for .COM etc domains already.) Please comment on this and if you are interested, I can send the diffs for both. Have a nice day! Szilveszter ADAM -- ------------------------------------------------------------------------------- * Szilveszter ADAM * JATE Szeged * email: sziszi@petra.hos.u-szeged.hu * * Homepage : none * alternate email: cc@flanker.itl.net.ua * * Finger sziszi@petra.hos.u-szeged.hu for PGP key. * * I prefer using the door instead of Windows(tm)... * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 3:50: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A7EF14F1F for ; Fri, 3 Dec 1999 03:50:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA84725; Fri, 3 Dec 1999 03:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Fri, 3 Dec 1999 03:50:02 -0800 (PST) Message-Id: <199912031150.DAA84725@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/15227: New option for vacation(1) -- dir to use instead of $HOME Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15227; it has been noted by GNATS. From: Sheldon Hearn To: mi@aldan.algebra.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/15227: New option for vacation(1) -- dir to use instead of $HOME Date: Fri, 03 Dec 1999 13:45:28 +0200 On Thu, 02 Dec 1999 13:14:38 EST, Mikhail Teterin wrote: > >Synopsis: New option for vacation(1) -- dir to use instead of $HOME Hmmm, would it not be more flexible to add to vacation two options for specifying alternative .vacation.db and .vacation.msg files? If so, would you be interested in submitting a patch for _that_ instead? :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 3:50:24 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E356A15179; Fri, 3 Dec 1999 03:50:22 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA84759; Fri, 3 Dec 1999 03:50:18 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Date: Fri, 3 Dec 1999 03:50:18 -0800 (PST) From: Message-Id: <199912031150.DAA84759@freefall.freebsd.org> To: trevor@jpj.net, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/15230: use of write-protected FAT12 floppy causes panic Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: use of write-protected FAT12 floppy causes panic State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Fri Dec 3 03:48:11 PST 1999 State-Changed-Why: Duplicate of numerous existing PR's. Check at least PR 12983, PR 10959, PR 10828 and PR 13632. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 7:14:18 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6E66F151AB; Fri, 3 Dec 1999 07:14:13 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA58025; Fri, 3 Dec 1999 07:12:35 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Date: Fri, 3 Dec 1999 07:12:35 -0800 (PST) From: Message-Id: <199912031512.HAA58025@freefall.freebsd.org> To: sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org, sheldonh@FreeBSD.org Subject: Re: bin/13901: strptime breaks when handling some numerical fields Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: strptime breaks when handling some numerical fields Responsible-Changed-From-To: freebsd-bugs->sheldonh Responsible-Changed-By: sheldonh Responsible-Changed-When: Fri Dec 3 07:09:48 PST 1999 Responsible-Changed-Why: I'll get this one sorted out next week if someone doesn't beat me to it. The originator is making me swallow my words in freebsd-security Message-ID: <67349.944133898@axl.noc.iafrica.com> :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 7:40:42 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6784914BE4 for ; Fri, 3 Dec 1999 07:40:38 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA61137; Fri, 3 Dec 1999 07:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Fri, 3 Dec 1999 07:40:02 -0800 (PST) Message-Id: <199912031540.HAA61137@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mikhail Teterin Subject: Re: bin/15227: New option for vacation(1) -- dir to use instead of $HOME Reply-To: Mikhail Teterin Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15227; it has been noted by GNATS. From: Mikhail Teterin To: Sheldon Hearn Cc: mi@aldan.algebra.com, FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/15227: New option for vacation(1) -- dir to use instead of $HOME Date: Fri, 3 Dec 1999 10:30:24 -0500 (EST) Sheldon Hearn once stated: =On Thu, 02 Dec 1999 13:14:38 EST, Mikhail Teterin wrote: = => >Synopsis: New option for vacation(1) -- dir to use instead of $HOME = =Hmmm, would it not be more flexible to add to vacation two options for =specifying alternative .vacation.db and .vacation.msg files? If so, =would you be interested in submitting a patch for _that_ instead? :-) I thought about this, and figured this is less intrusive, there is less of a chance to overstep the option names used by vacation on other systems, and this gives just as much flexibility -- with symbolic links you can share the messages and/or databases as you wish. Also, this is the directory it chdir()s to. If, oh no, it dies -- this is where it will leave core, or whatever else the future modifications will do to it. Even if someone wants to add the options to specify the file locations separately in the future, this one should, IMHO, still be there. Since the potential users will likely keep the related files (mailing list archives, mailboxes, killfiles, etc.) in the same directory as well, I think this is enough. Uhm? Yours, -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 8:58:47 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B853815532; Fri, 3 Dec 1999 08:58:46 -0800 (PST) (envelope-from ache@FreeBSD.org) Received: (from ache@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA68597; Fri, 3 Dec 1999 08:58:32 -0800 (PST) (envelope-from ache@FreeBSD.org) Date: Fri, 3 Dec 1999 08:58:32 -0800 (PST) From: Message-Id: <199912031658.IAA68597@freefall.freebsd.org> To: hollywar@holywar.net, ache@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/15219: whois nic server address has changed internic to networksolutions. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: whois nic server address has changed internic to networksolutions. State-Changed-From-To: open->closed State-Changed-By: ache State-Changed-When: Fri Dec 3 08:57:18 PST 1999 State-Changed-Why: -i server fixed in -current To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 10:10:32 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7939B15290 for ; Fri, 3 Dec 1999 10:10:25 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA74157; Fri, 3 Dec 1999 10:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (Postfix) with ESMTP id 40CF614FB9 for ; Fri, 3 Dec 1999 10:03:09 -0800 (PST) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.9.3/8.9.3) id KAA00556; Fri, 3 Dec 1999 10:01:13 -0800 (PST) (envelope-from kargl) Message-Id: <199912031801.KAA00556@troutmask.apl.washington.edu> Date: Fri, 3 Dec 1999 10:01:13 -0800 (PST) From: "Steven G. Kargl" Reply-To: kargl@troutmask.apl.washington.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15243: added ViBRA16CL support to sbc.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15243 >Category: kern >Synopsis: added ViBRA16CL support to sbc.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 3 10:10:02 PST 1999 >Closed-Date: >Last-Modified: >Originator: Steven G. Kargl >Release: FreeBSD 4.0-CURRENT i386 >Organization: apl/uw >Environment: FreeBSD-current with the newpcm driver and Sound blaster bridge. >Description: Properly probe the ViBRA16CL PNP on Micron Millenium II motherboards. From dmesg: sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b \ irq 5 drq 1,5 on isa0 pcm0: on sbc0 >How-To-Repeat: >Fix: *** /usr/src/sys/dev/sound/isa/sbc.c Fri Dec 3 09:13:46 1999 --- sbc.c Fri Dec 3 09:20:32 1999 *************** *** 107,112 **** --- 107,116 ---- s = "CS4236B"; break; #endif /* notdef */ + case 0x41008c0e: /* Creative ViBRA16CL PnP */ + if (vend_id2 == 0x80008c0e) + s = "Creative ViBRA16CL PnP"; + break; case 0x01008c0e: /* Creative ViBRA16C */ if (vend_id2 == 0x70008c0e) s = "Creative ViBRA16C PnP"; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 12: 2: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9150714FF9 for ; Fri, 3 Dec 1999 12:02:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA82511; Fri, 3 Dec 1999 12:00:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id E6A9E14F55; Fri, 3 Dec 1999 11:57:15 -0800 (PST) Message-Id: <19991203195715.E6A9E14F55@hub.freebsd.org> Date: Fri, 3 Dec 1999 11:57:15 -0800 (PST) From: steve@globaltap.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/15247: eight char password secutity problem Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15247 >Category: misc >Synopsis: eight char password secutity problem >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 3 12:00:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Steve McGrane >Release: 3.1 >Organization: The Globaltap Corporation >Environment: FreeBSD teknosurf2.com 3.1-RELEASE FreeBSD 3.1-RELEASE #1: Wed Sep 15 18:22:16 PDT 1999 steve@globaltap.com:/usr/src/sys/compile/modkern i386 >Description: Passwords greater than eight chars are not significant >How-To-Repeat: Create a user account, with a password that is eight chars or longer, log in with the proper first eight chars, then enter any keys after that and access is granted >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 15:30:39 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C7F22152CF for ; Fri, 3 Dec 1999 15:30:34 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA22995; Fri, 3 Dec 1999 15:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 5C057152A2 for ; Fri, 3 Dec 1999 15:26:42 -0800 (PST) (envelope-from iedowse@maths.tcd.ie) Received: from bell.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 3 Dec 1999 23:26:29 +0000 (GMT) Message-Id: <199912032326.aa35944@bell.maths.tcd.ie> Date: Fri, 3 Dec 1999 23:26:29 +0000 (GMT) From: iedowse@maths.tcd.ie Reply-To: iedowse@maths.tcd.ie To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15249: nfs_serv.c can vput() junk + more Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15249 >Category: kern >Synopsis: nfs_serv.c can vput() junk + more >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 3 15:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Ian Dowse >Release: FreeBSD 3.3-STABLE i386 >Organization: School of Mathematics Trinity College Dublin >Environment: All versions of FreeBSD >Description: There are a number of places in nfs_serv.c where certain badly-formed NFS requests can result in vput() being called on an uninitialised vnode pointer. In nfsrv_getattr(), nfsrv_lookup(), nfsrv_read(), and nfsrv_writegather(), the exit code performs a vput(vp) if vp is non-NULL. However since vp is not initialised before the macro nfsm_srvmtofh() is invoked, it is possible for this exit code to get called with a junk vp if nfsm_srvmtofh() does a 'goto nfsmout'. Another problem that affects even more functions is that on certain (mainly kerboros related) errors nfsrv_fhtovp() does not leave NULL in its *vpp argument. Finally there is a problem in nqnfsrv_getlease() where it is possible to get it to vput(NULL). >How-To-Repeat: To repeat the first problem, send a truncated request to an NFS server where the request ends in the middle of the filehandle. I haven't cwtried to trigger the others, but it should be fairly easy. >Fix: Apply the following patches in src/sys/nfs --- nfs_serv.c.orig Fri Dec 3 22:03:37 1999 +++ nfs_serv.c Fri Dec 3 22:22:35 1999 @@ -249,7 +249,7 @@ register struct nfs_fattr *fp; struct vattr va; register struct vattr *vap = &va; - struct vnode *vp; + struct vnode *vp = NULL; nfsfh_t nfh; fhandle_t *fhp; register u_int32_t *tl; @@ -453,7 +453,7 @@ struct ucred *cred = &nfsd->nd_cr; register struct nfs_fattr *fp; struct nameidata nd, ind, *ndp = &nd; - struct vnode *vp, *dirp; + struct vnode *vp, *dirp = NULL; nfsfh_t nfh; fhandle_t *fhp; register caddr_t cp; @@ -775,7 +775,7 @@ char *cp2; struct mbuf *mb, *mb2, *mreq; struct mbuf *m2; - struct vnode *vp; + struct vnode *vp = NULL; nfsfh_t nfh; fhandle_t *fhp; struct uio io, *uiop = &io; @@ -1168,7 +1168,7 @@ int ioflags, aftat_ret = 1, s, adjust, v3, zeroing; char *cp2; struct mbuf *mb, *mb2, *mreq, *mrep, *md; - struct vnode *vp; + struct vnode *vp = NULL; struct uio io, *uiop = &io; u_quad_t frev, cur_usec; --- nfs_subs.c.orig Fri Dec 3 22:25:21 1999 +++ nfs_subs.c Fri Dec 3 22:26:57 1999 @@ -1943,6 +1943,7 @@ register int i; struct ucred *credanon; int error, exflags; + struct vnode *vp; #ifdef MNT_EXNORESPORT /* XXX needs mountd and /etc/exports help yet */ struct sockaddr_int *saddr; #endif @@ -1961,7 +1962,7 @@ error = VFS_CHECKEXP(mp, nam, &exflags, &credanon); if (error) return (error); - error = VFS_FHTOVP(mp, &fhp->fh_fid, vpp); + error = VFS_FHTOVP(mp, &fhp->fh_fid, &vp); if (error) return (error); #ifdef MNT_EXNORESPORT @@ -1969,7 +1970,7 @@ saddr = (struct sockaddr_in *)nam; if (saddr->sin_family == AF_INET && ntohs(saddr->sin_port) >= IPPORT_RESERVED) { - vput(*vpp); + vput(vp); return (NFSERR_AUTHERR | AUTH_TOOWEAK); } } @@ -1979,11 +1980,11 @@ */ if (exflags & MNT_EXKERB) { if (!kerbflag) { - vput(*vpp); + vput(vp); return (NFSERR_AUTHERR | AUTH_TOOWEAK); } } else if (kerbflag) { - vput(*vpp); + vput(vp); return (NFSERR_AUTHERR | AUTH_TOOWEAK); } else if (cred->cr_uid == 0 || (exflags & MNT_EXPORTANON)) { cred->cr_uid = credanon->cr_uid; @@ -1996,10 +1997,11 @@ else *rdonlyp = 0; - nfsrv_object_create(*vpp); + nfsrv_object_create(vp); if (!lockflag) - VOP_UNLOCK(*vpp, 0, p); + VOP_UNLOCK(vp, 0, p); + *vpp = vp; return (0); } --- nfs_nqlease.c.orig Fri Dec 3 22:57:42 1999 +++ nfs_nqlease.c Fri Dec 3 23:03:56 1999 @@ -769,8 +769,10 @@ nfsd->nd_duration = fxdr_unsigned(int, *tl); error = nfsrv_fhtovp(fhp, 1, &vp, cred, slp, nam, &rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE); - if (error) + if (error) { nfsm_reply(0); + goto nfsmout; + } if (rdonly && flags == ND_WRITE) { error = EROFS; vput(vp); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Dec 3 16:39:27 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from misha.cisco.com (misha.cisco.com [171.69.206.50]) by hub.freebsd.org (Postfix) with ESMTP id BB14314D7B; Fri, 3 Dec 1999 16:39:16 -0800 (PST) (envelope-from mi@misha.cisco.com) Received: (from mi@localhost) by misha.cisco.com (8.9.3/8.9.1) id TAA27558; Fri, 3 Dec 1999 19:39:15 -0500 (EST) (envelope-from mi) Message-Id: <199912040039.TAA27558@misha.cisco.com> Subject: Re: bin/15227: New option for vacation(1) -- dir to use instead of $HOME In-Reply-To: <199912021820.KAA20948@freefall.freebsd.org> from "gnats-admin@FreeBSD.org" at "Dec 2, 1999 10:20:01 am" To: gnats-admin@FreeBSD.org, freebsd-bugs@FreeBSD.org Date: Fri, 3 Dec 1999 19:39:15 -0500 (EST) Reply-To: mi@aldan.algebra.com From: Mikhail Teterin X-Mailer: ELM [version 2.4ME+ PL60 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Please, consider this patch instead. It adds: * ability to force the reply address with -F option * uses From and Reply-To headers if any -- the fact that our old vacation is NOT doing this, should've been send-pr-ed long time ago * invokes sendmail with -t -- plain and simple * finally! replaces $SUBJECT with the original message's subject anywhere in .vacation.msg Thanks! -mi --- /usr/src/usr.bin/vacation/vacation.c.orig Tue Sep 28 18:42:09 1999 +++ usr.bin/vacation/vacation.c Fri Dec 3 18:55:46 1999 @@ -82,2 +82,4 @@ #define VMSG ".vacation.msg" /* vacation message */ +#define VSBJ "$SUBJECT" /* the string in .vacation.msg to be replaced */ + /* with the message's subject */ @@ -92,2 +94,6 @@ char from[MAXLINE]; +char *From = from; +char subject[MAXLINE]; +int sawsubj = 0; + void (*msglog)(int, const char *, ...) = &syslog; @@ -117,2 +123,3 @@ int ch, iflag, lflag, mfail, ufail; + char *dir = NULL; @@ -120,3 +127,3 @@ interval = -1; - while ((ch = getopt(argc, argv, "a:dIilr:")) != -1) { + while ((ch = getopt(argc, argv, "a:dIilr:D:F:")) != -1) { switch((char)ch) { @@ -150,2 +157,8 @@ break; + case 'D': + dir = optarg; + break; + case 'F': + From = optarg; + break; case '?': @@ -183,5 +196,7 @@ } - if (chdir(pw->pw_dir)) { + if (!dir) + dir = pw->pw_dir; + if (chdir(dir)) { msglog(LOG_NOTICE, - "vacation: no such directory %s.\n", pw->pw_dir); + "vacation: %s: %s.\n", dir, strerror(errno)); exit(1); @@ -235,18 +250,52 @@ register char *p; - int tome, cont; + int tome, cont, replyto; char buf[MAXLINE]; - cont = tome = 0; + cont = tome = replyto = 0; while (fgets(buf, sizeof(buf), stdin) && *buf != '\n') switch(*buf) { - case 'F': /* "From " */ + case 'S': /* "Subject: " */ + cont = 0; + if (!strncmp(buf, "Subject: ", 9)) { + (void)strcpy(subject, buf + 9); + if ((p = index(subject, '\n'))) + *p = '\0'; + sawsubj = 1; + } + break; + case 'F': /* "From " or "From: " */ cont = 0; - if (!strncmp(buf, "From ", 5)) { + if(From != from || replyto) /* return address was given on the */ + break; /* command line, or saw Reply-To */ + if (buf[1] != 'r' || buf[2] != 'o' || buf[3] != 'm' || + (buf[4] != ' ' && buf[4] != ':')) + break; + if (buf[4] == ' ') { /* Deal with the first, "From " line */ for (p = buf + 5; *p && *p != ' '; ++p); *p = '\0'; - (void)strcpy(from, buf + 5); - if ((p = index(from, '\n'))) + if ((p = index(buf, '\n'))) *p = '\0'; + (void)strcpy(from, buf + 5); if (junkmail()) exit(0); + } else { /* Deal with the "official" From: line */ + if ((p = index(buf, '\n'))) + *p = '\0'; + (void)strcpy(from, buf + 5); + } + break; + case 'R': /* Reply-To: */ + cont = 0; + if(From != from) /* Return address forced by cmd line */ + break; + if (!strncasecmp(buf, "Reply-To: ", 10)) { + if ((p = index(buf, '\n'))) + *p = '\0'; + (void)strcpy(from, buf + 10); + if(replyto) { + msglog(LOG_NOTICE, "vacation: multiple (%d) Reply-To:" + " headers. Only using the last one (%s)\n", + replyto, from); + } + replyto++; } @@ -288,4 +337,4 @@ exit(0); - if (!*from) { - msglog(LOG_NOTICE, "vacation: no initial \"From\" line.\n"); + if (!*From) { + msglog(LOG_NOTICE, "vacation: no initial \"From\" line and no -F option.\n"); exit(1); @@ -315,2 +364,3 @@ * read the header and return if automagic/junk/bulk/list mail + * only invoked if the -F option was not given on command line */ @@ -376,4 +426,4 @@ /* get record for this address */ - key.data = from; - key.size = strlen(from); + key.data = From; + key.size = strlen(From); if (!(db->get)(db, &key, &data, 0)) { @@ -413,4 +463,4 @@ - key.data = from; - key.size = strlen(from); + key.data = From; + key.size = strlen(From); (void)time(&now); @@ -433,2 +483,3 @@ char buf[MAXLINE]; + char *beg, *end; @@ -453,3 +504,3 @@ close(fileno(mfp)); - execl(_PATH_SENDMAIL, "sendmail", "-f", myname, "--", from, NULL); + execl(_PATH_SENDMAIL, "sendmail", "-t", NULL); msglog(LOG_ERR, "vacation: can't exec %s: %s", @@ -460,5 +511,17 @@ sfp = fdopen(pvect[1], "w"); - fprintf(sfp, "To: %s\n", from); - while (fgets(buf, sizeof buf, mfp)) - fputs(buf, sfp); + fprintf(sfp, "To: %s\n", From); + /* Output every line, substitutin every $SUBJECT with the subject */ + while (fgets(buf, sizeof buf, mfp)) { + for(beg = buf; (end = strstr(beg, VSBJ)); beg = end + sizeof(VSBJ) - 1) { + *end = '\0'; + fputs(beg, sfp); + if (!sawsubj) { + msglog(LOG_NOTICE, "vacation: message with no subject\n"); + subject[0] = '\0'; + sawsubj = 1; + } + fputs(subject, sfp); + } + fputs(beg, sfp); + } fclose(mfp); @@ -470,3 +533,4 @@ { - msglog(LOG_NOTICE, "uid %u: usage: vacation [-d] [-i [-rinterval]] [-l] [-a alias] login\n", + msglog(LOG_NOTICE, "uid %u: usage: vacation [-d] [-i [-rinterval]] [-l] " + "[-a alias [-a alias ...]] [-D dir] [-F correspondent] login\n", getuid()); --- /usr/src/usr.bin/vacation/vacation.1.orig Mon Aug 30 03:15:30 1999 +++ usr.bin/vacation/vacation.1 Fri Dec 3 19:31:55 1999 @@ -45,2 +45,3 @@ .Op Fl r Ar interval +.Op Fl D Ar dir .Nm vacation @@ -48,4 +49,7 @@ .Fl l +.Op Fl D Ar dir .Nm vacation .Op Fl d +.Op Fl D Ar dir +.Op Fl F Ar address .Op Fl a Ar alias @@ -78,2 +82,17 @@ Enable debugging mode. See below. +.It Fl D Ar dir +Use +.Ar dir +instead of the user's home directory. This can be used +to allow the same user respond differently to different +messages, or to simply speed up mail processing by placing +the database "closer" to the mailserver (local filesystem +vs. NFS, for example). +.It Fl F Ar address +Use +.Ar address +instead of whatever address can be found in the message headers. +This may be usefull if you have something else (like procmail) +figure out the address, or you just want to notify the same person +or mailing list periodicly. .It Fl i @@ -132,3 +151,3 @@ .Pa .vacation.db -in your home directory. +in your home directory (see also -D option). .Pp @@ -137,5 +156,8 @@ .Pa .vacation.msg , -in your home directory, containing a message to be sent back to each -sender. It should be an entire message (including headers). For -example, it might contain: +in your home directory (see also -D option), containing a message to be +sent back to each sender. It should be an entire message (including +headers). If the string $SUBJECT appears in the .vacation.msg file, it +will be replaced with the subject of the original message in the reply. + +For example, it might contain: .Pp @@ -143,3 +165,3 @@ From: eric@CS.Berkeley.EDU (Eric Allman) -Subject: I am on vacation +Subject: I am on vacation (Re: $SUBJECT) Delivered-By-The-Graces-Of: The Vacation program @@ -152,7 +174,6 @@ .Pp -.Nm Vacation -reads the first line from the standard input for a -.Ux -.Dq From -line to determine the sender. +Older +.Nm vacation +only used the first line with "From " +from the standard input to determine the sender. .Xr Sendmail 8 @@ -161,2 +182,13 @@ line automatically. +Now FreeBSD's +.Nm vacation +properly handles +.Dq From: +and +.Dq Reply-To: +headers. The last +.Dq From: +header found is used. If there are any +.Dq Reply-To: +headers, the last one of them is used instead. .Pp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 0:10:15 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E61B15349 for ; Sat, 4 Dec 1999 00:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA53242; Sat, 4 Dec 1999 00:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id 117B315347 for ; Sat, 4 Dec 1999 00:04:36 -0800 (PST) (envelope-from kbyanc@kronos.alcnet.com) Received: (from kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) id DAA92493; Sat, 4 Dec 1999 03:04:33 -0500 (EST) Message-Id: <199912040804.DAA92493@kronos.alcnet.com> Date: Sat, 4 Dec 1999 03:04:33 -0500 (EST) From: kbyanc@posi.net Reply-To: kbyanc@posi.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15251: patch to add unsigned support to sysctl Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15251 >Category: kern >Synopsis: patch to add unsigned support to sysctl >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 4 00:10:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Kelly Yancey >Release: FreeBSD 3.2-STABLE i386 >Organization: >Environment: 3.3-STABLE, but review of -current sources via cvs-web show the same problems there. >Description: The sysctl interface wasn't providing signed-ness along with type information in oid_fmt. This caused /sbin/sysctl to erroniously display some values as signed when they are in fact unsigned. Unrelated, these patches also address the problem where in /sys/kern/vfs_cache.c is was registering sysctls as integer types when they were in fact longs. While this isn't a problem on i386 where ints and longs are the same size, on alpha this should cause erronious values to be displayed by sysctl. >How-To-Repeat: kern.ps_strings and kern.usrstack are always negative. Run sysctl -a on a box that has been running for a long time, and you will most likely notice negative counts in one of the vm.stats.sys variables. >Fix: Here is a rather sizeable patch which touches the following files: src/sys/sys/sysctl.h Adds SYSCTL_UINT and SYSCTL_ULONG to provide friendly interfaces to the new unsigned int and unsigned long oid formats. The strings "IU" and "LU" are used as oid_fmt identifiers respectively. src/sbin/sysctl/sysctl.c Added support for the new "IU" and "LU" format strings. Also, fixed the displaying of dev_t to treat it as unsigned (as it is defined). src/sys/kern/vfs_cache.c Fixed problem noted above to export u_long-typed variables as unsigned longs rather than (signed) ints. src/sys/kern/kern_exec.c Fixed kern.ps_strings and kern.usrstack to be registered with SYSCTL_ULONG rather than SYSCTL_LONG. I also noted that both ps_strings and usrstack, which are defined as type "long" really should be "vm_size_t". However, I didn't make the change myself because I'de rather someone wiser to comment on the change first :) src/sys/kern/vm_meter.c Fixed the export of all the vm.stats.sys.* tree to use the new SYSCTL_UINT registration hook since all of the source values are unsigned. --- sys/kern/vfs_cache.c.orig Sat Dec 4 01:31:04 1999 +++ sys/kern/vfs_cache.c Sat Dec 4 02:27:14 1999 @@ -72,13 +72,13 @@ static LIST_HEAD(nchashhead, namecache) *nchashtbl; /* Hash Table */ static TAILQ_HEAD(, namecache) ncneg; /* Hash Table */ static u_long nchash; /* size of hash table */ -SYSCTL_INT(_debug, OID_AUTO, nchash, CTLFLAG_RD, &nchash, 0, ""); +SYSCTL_ULONG(_debug, OID_AUTO, nchash, CTLFLAG_RD, &nchash, ""); static u_long ncnegfactor = 16; /* ratio of negative entries */ -SYSCTL_INT(_debug, OID_AUTO, ncnegfactor, CTLFLAG_RW, &ncnegfactor, 0, ""); +SYSCTL_ULONG(_debug, OID_AUTO, ncnegfactor, CTLFLAG_RW, &ncnegfactor, ""); static u_long numneg; /* number of cache entries allocated */ -SYSCTL_INT(_debug, OID_AUTO, numneg, CTLFLAG_RD, &numneg, 0, ""); +SYSCTL_ULONG(_debug, OID_AUTO, numneg, CTLFLAG_RD, &numneg, ""); static u_long numcache; /* number of cache entries allocated */ -SYSCTL_INT(_debug, OID_AUTO, numcache, CTLFLAG_RD, &numcache, 0, ""); +SYSCTL_ULONG(_debug, OID_AUTO, numcache, CTLFLAG_RD, &numcache, ""); struct nchstats nchstats; /* cache effectiveness statistics */ static int doingcache = 1; /* 1 => enable the cache */ @@ -91,7 +91,7 @@ */ SYSCTL_NODE(_vfs, OID_AUTO, cache, CTLFLAG_RW, 0, "Name cache statistics"); #define STATNODE(mode, name, var) \ - SYSCTL_INT(_vfs_cache, OID_AUTO, name, mode, var, 0, ""); + SYSCTL_ULONG(_vfs_cache, OID_AUTO, name, mode, var, ""); STATNODE(CTLFLAG_RD, numneg, &numneg); STATNODE(CTLFLAG_RD, numcache, &numcache); static u_long numcalls; STATNODE(CTLFLAG_RD, numcalls, &numcalls); --- sys/vm/vm_meter.c.orig Sat Dec 4 02:16:54 1999 +++ sys/vm/vm_meter.c Sat Dec 4 02:22:40 1999 @@ -105,19 +105,19 @@ wakeup(&proc0); } -SYSCTL_INT(_vm, VM_V_FREE_MIN, v_free_min, +SYSCTL_UINT(_vm, VM_V_FREE_MIN, v_free_min, CTLFLAG_RW, &cnt.v_free_min, 0, ""); -SYSCTL_INT(_vm, VM_V_FREE_TARGET, v_free_target, +SYSCTL_UINT(_vm, VM_V_FREE_TARGET, v_free_target, CTLFLAG_RW, &cnt.v_free_target, 0, ""); -SYSCTL_INT(_vm, VM_V_FREE_RESERVED, v_free_reserved, +SYSCTL_UINT(_vm, VM_V_FREE_RESERVED, v_free_reserved, CTLFLAG_RW, &cnt.v_free_reserved, 0, ""); -SYSCTL_INT(_vm, VM_V_INACTIVE_TARGET, v_inactive_target, +SYSCTL_UINT(_vm, VM_V_INACTIVE_TARGET, v_inactive_target, CTLFLAG_RW, &cnt.v_inactive_target, 0, ""); -SYSCTL_INT(_vm, VM_V_CACHE_MIN, v_cache_min, +SYSCTL_UINT(_vm, VM_V_CACHE_MIN, v_cache_min, CTLFLAG_RW, &cnt.v_cache_min, 0, ""); -SYSCTL_INT(_vm, VM_V_CACHE_MAX, v_cache_max, +SYSCTL_UINT(_vm, VM_V_CACHE_MAX, v_cache_max, CTLFLAG_RW, &cnt.v_cache_max, 0, ""); -SYSCTL_INT(_vm, VM_V_PAGEOUT_FREE_MIN, v_pageout_free_min, +SYSCTL_UINT(_vm, VM_V_PAGEOUT_FREE_MIN, v_pageout_free_min, CTLFLAG_RW, &cnt.v_pageout_free_min, 0, ""); SYSCTL_STRUCT(_vm, VM_LOADAVG, loadavg, CTLFLAG_RD, &averunnable, loadavg, ""); @@ -221,87 +221,87 @@ SYSCTL_NODE(_vm_stats, OID_AUTO, sys, CTLFLAG_RW, 0, "VM meter sys stats"); SYSCTL_NODE(_vm_stats, OID_AUTO, vm, CTLFLAG_RW, 0, "VM meter vm stats"); SYSCTL_NODE(_vm_stats, OID_AUTO, misc, CTLFLAG_RW, 0, "VM meter misc stats"); -SYSCTL_INT(_vm_stats_sys, OID_AUTO, +SYSCTL_UINT(_vm_stats_sys, OID_AUTO, v_swtch, CTLFLAG_RD, &cnt.v_swtch, 0, "Context switches"); -SYSCTL_INT(_vm_stats_sys, OID_AUTO, +SYSCTL_UINT(_vm_stats_sys, OID_AUTO, v_trap, CTLFLAG_RD, &cnt.v_trap, 0, "Traps"); -SYSCTL_INT(_vm_stats_sys, OID_AUTO, +SYSCTL_UINT(_vm_stats_sys, OID_AUTO, v_syscall, CTLFLAG_RD, &cnt.v_syscall, 0, "Syscalls"); -SYSCTL_INT(_vm_stats_sys, OID_AUTO, +SYSCTL_UINT(_vm_stats_sys, OID_AUTO, v_intr, CTLFLAG_RD, &cnt.v_intr, 0, "HW intr"); -SYSCTL_INT(_vm_stats_sys, OID_AUTO, +SYSCTL_UINT(_vm_stats_sys, OID_AUTO, v_soft, CTLFLAG_RD, &cnt.v_soft, 0, "SW intr"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_vm_faults, CTLFLAG_RD, &cnt.v_vm_faults, 0, "VM faults"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_cow_faults, CTLFLAG_RD, &cnt.v_cow_faults, 0, "COW faults"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_cow_optim, CTLFLAG_RD, &cnt.v_cow_optim, 0, "Optimized COW faults"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_zfod, CTLFLAG_RD, &cnt.v_zfod, 0, "Zero fill"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_ozfod, CTLFLAG_RD, &cnt.v_ozfod, 0, "Optimized zero fill"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_swapin, CTLFLAG_RD, &cnt.v_swapin, 0, "Swapin operations"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_swapout, CTLFLAG_RD, &cnt.v_swapout, 0, "Swapout operations"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_swappgsin, CTLFLAG_RD, &cnt.v_swappgsin, 0, "Swapin pages"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_swappgsout, CTLFLAG_RD, &cnt.v_swappgsout, 0, "Swapout pages"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_vnodein, CTLFLAG_RD, &cnt.v_vnodein, 0, "Vnodein operations"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_vnodeout, CTLFLAG_RD, &cnt.v_vnodeout, 0, "Vnodeout operations"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_vnodepgsin, CTLFLAG_RD, &cnt.v_vnodepgsin, 0, "Vnodein pages"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_vnodepgsout, CTLFLAG_RD, &cnt.v_vnodepgsout, 0, "Vnodeout pages"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_intrans, CTLFLAG_RD, &cnt.v_intrans, 0, "In transit page blocking"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_reactivated, CTLFLAG_RD, &cnt.v_reactivated, 0, "Reactivated pages"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_pdwakeups, CTLFLAG_RD, &cnt.v_pdwakeups, 0, "Pagedaemon wakeups"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_pdpages, CTLFLAG_RD, &cnt.v_pdpages, 0, "Pagedaemon page scans"); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_dfree, CTLFLAG_RD, &cnt.v_dfree, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_pfree, CTLFLAG_RD, &cnt.v_pfree, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_tfree, CTLFLAG_RD, &cnt.v_tfree, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_page_size, CTLFLAG_RD, &cnt.v_page_size, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_page_count, CTLFLAG_RD, &cnt.v_page_count, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_free_reserved, CTLFLAG_RD, &cnt.v_free_reserved, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_free_target, CTLFLAG_RD, &cnt.v_free_target, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_free_min, CTLFLAG_RD, &cnt.v_free_min, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_free_count, CTLFLAG_RD, &cnt.v_free_count, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_wire_count, CTLFLAG_RD, &cnt.v_wire_count, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_active_count, CTLFLAG_RD, &cnt.v_active_count, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_inactive_target, CTLFLAG_RD, &cnt.v_inactive_target, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_inactive_count, CTLFLAG_RD, &cnt.v_inactive_count, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_cache_count, CTLFLAG_RD, &cnt.v_cache_count, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_cache_min, CTLFLAG_RD, &cnt.v_cache_min, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_cache_max, CTLFLAG_RD, &cnt.v_cache_max, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_pageout_free_min, CTLFLAG_RD, &cnt.v_pageout_free_min, 0, ""); -SYSCTL_INT(_vm_stats_vm, OID_AUTO, +SYSCTL_UINT(_vm_stats_vm, OID_AUTO, v_interrupt_free_min, CTLFLAG_RD, &cnt.v_interrupt_free_min, 0, ""); -SYSCTL_INT(_vm_stats_misc, OID_AUTO, +SYSCTL_UINT(_vm_stats_misc, OID_AUTO, zero_page_count, CTLFLAG_RD, &vm_page_zero_count, 0, ""); #if 0 SYSCTL_INT(_vm_stats_misc, OID_AUTO, --- sys/kern/kern_exec.c.orig Sat Dec 4 02:06:41 1999 +++ sys/kern/kern_exec.c Sat Dec 4 02:30:13 1999 @@ -66,11 +66,13 @@ static long *exec_copyout_strings __P((struct image_params *)); -static long ps_strings = PS_STRINGS; -SYSCTL_LONG(_kern, KERN_PS_STRINGS, ps_strings, CTLFLAG_RD, &ps_strings, ""); +/* XXX This should be vm_size_t. */ +static u_long ps_strings = PS_STRINGS; +SYSCTL_ULONG(_kern, KERN_PS_STRINGS, ps_strings, CTLFLAG_RD, &ps_strings, ""); -static long usrstack = USRSTACK; -SYSCTL_LONG(_kern, KERN_USRSTACK, usrstack, CTLFLAG_RD, &usrstack, ""); +/* XXX This should be vm_size_t. */ +static u_long usrstack = USRSTACK; +SYSCTL_ULONG(_kern, KERN_USRSTACK, usrstack, CTLFLAG_RD, &usrstack, ""); /* * Each of the items is a pointer to a `const struct execsw', hence the --- sys/sys/sysctl.h.orig Sat Dec 4 01:26:11 1999 +++ sys/sys/sysctl.h Sat Dec 4 01:32:15 1999 @@ -156,10 +156,20 @@ SYSCTL_OID(parent, nbr, name, CTLTYPE_INT|access, \ ptr, val, sysctl_handle_int, "I", descr) +/* Oid for an unsigned int. If ptr is NULL, val is returned. */ +#define SYSCTL_UINT(parent, nbr, name, access, ptr, val, descr) \ + SYSCTL_OID(parent, nbr, name, CTLTYPE_INT|access, \ + ptr, val, sysctl_handle_int, "IU", descr) + /* Oid for a long. The pointer must be non NULL. */ #define SYSCTL_LONG(parent, nbr, name, access, ptr, descr) \ SYSCTL_OID(parent, nbr, name, CTLTYPE_INT|access, \ ptr, 0, sysctl_handle_long, "L", descr) + +/* Oid for an unsigned long. The pointer must be non NULL. */ +#define SYSCTL_ULONG(parent, nbr, name, access, ptr, descr) \ + SYSCTL_OID(parent, nbr, name, CTLTYPE_INT|access, \ + ptr, 0, sysctl_handle_long, "LU", descr) /* Oid for an opaque object. Specified by a pointer and a length. */ #define SYSCTL_OPAQUE(parent, nbr, name, access, ptr, len, fmt, descr) \ --- sbin/sysctl/sysctl.c.orig Sat Dec 4 01:34:13 1999 +++ sbin/sysctl/sysctl.c Sat Dec 4 02:01:59 1999 @@ -270,7 +270,7 @@ dev_t *d = (dev_t *)p; if (l2 != sizeof *d) err(1, "T_dev_T %d != %d", l2, sizeof *d); - printf("{ major = %d, minor = %d }", + printf("{ major = %u, minor = %u }", major(*d), minor(*d)); return (0); } @@ -392,9 +392,13 @@ case 'I': if (!nflag) printf("%s: ", name); + fmt++; val = ""; while (len >= sizeof(int)) { - printf("%s%d", val, *(int *)p); + if(*fmt == 'U') + printf("%s%u", val, *(unsigned int *)p); + else + printf("%s%d", val, *(int *)p); val = " "; len -= sizeof (int); p += sizeof (int); @@ -404,7 +408,11 @@ case 'L': if (!nflag) printf("%s: ", name); - printf("%ld", *(long *)p); + fmt++; + if(*fmt == 'U') + printf("%lu", *(unsigned long *)p); + else + printf("%ld", *(long *)p); return (0); case 'P': >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 1:31:34 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 52D8D15360 for ; Sat, 4 Dec 1999 01:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA57695; Sat, 4 Dec 1999 01:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14]) by hub.freebsd.org (Postfix) with ESMTP id 4318E15355 for ; Sat, 4 Dec 1999 01:28:41 -0800 (PST) (envelope-from dm@home.dinoex.sub.org) Received: (from uucp@localhost) by mail.dinoex.sub.org (8.9.3/8.9.3) with UUCP id KAA21321 for FreeBSD-gnats-submit@freebsd.org; Sat, 4 Dec 1999 10:27:23 +0100 (CET) Received: (from uucp@localhost) by net2.dinoex.sub.org (8.9.3/8.9.3) with UUCP id JAA28723 for FreeBSD-gnats-submit@freebsd.org; Sat, 4 Dec 1999 09:35:32 +0100 (CET) Received: (from dm@localhost) by home.dinoex.sub.org (8.9.3/8.9.3) id JAA41182; Sat, 4 Dec 1999 09:03:31 +0100 (CET) Message-Id: <199912040803.JAA41182@home.dinoex.sub.org> Date: Sat, 4 Dec 1999 09:03:31 +0100 (CET) From: dirk.meyer@dinoex.sub.org Reply-To: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/15255: awk need to get fixed Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15255 >Category: gnu >Synopsis: gawk generates defunct output >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 4 01:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 3.3-RELEASE i386 >Organization: privat >Environment: regression checks with cnews fail due a problem in gawk 3.0.3 >Description: regression checks with cnews fail due a problem in gawk 3.0.3 >How-To-Repeat: extract the archive, run gawkbug.sh # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gawkbug.err # gawkbug.in # gawkbug.out # gawkbug.sh # gawkbug.target # echo x - gawkbug.err sed 's/^X//' >gawkbug.err << 'END-of-gawkbug.err' Xawk in free(): warning: chunk is already free. Xawk in free(): warning: chunk is already free. Xawk in free(): warning: chunk is already free. Xawk in free(): warning: chunk is already free. Xawk in free(): warning: chunk is already free. Xawk in free(): warning: chunk is already free. Xawk in free(): warning: chunk is already free. Xawk in free(): warning: chunk is already free. Xawk in free(): warning: chunk is already free. Xawk in free(): warning: chunk is already free. Xawk in free(): warning: chunk is already free. X3,10c3,10 X< barf/puke - - X< bletch - - X< control - - X< foo 103 98 X< junk - - X< mod/mod 13 13 X< mod/unmod 16 16 X< urp 7 7 X--- X> 0 - - X> 6.65422552364e-316 - - X> 0 - - X> 1.00000002991 1.00000002991 1.00000002991 X> 1.00000002991 1.00000002991 1.00000002991 X> 1.00000002991 1.00000002991 1.00000002991 X> 1.00000002991 1.00000002991 1.00000002991 X> 1.00000002991 1.00000002991 1.00000002991 END-of-gawkbug.err echo x - gawkbug.in sed 's/^X//' >gawkbug.in << 'END-of-gawkbug.in' Xbar/.: Xugh X Xbar/ugh/.: X99 X Xbarf/puke/.: X Xbletch/.: X Xcontrol/.: X Xfoo/.: X98 X101 X103 X Xjunk/.: X Xmod/mod/.: X13 X Xmod/unmod/.: X16 X Xurp/.: X7 X/.: END-of-gawkbug.in echo x - gawkbug.out sed 's/^X//' >gawkbug.out << 'END-of-gawkbug.out' Xbar - - Xbar/ugh 99 99 X0 - - X6.65422552364e-316 - - X0 - - X1.00000002991 1.00000002991 1.00000002991 X1.00000002991 1.00000002991 1.00000002991 X1.00000002991 1.00000002991 1.00000002991 X1.00000002991 1.00000002991 1.00000002991 X1.00000002991 1.00000002991 1.00000002991 END-of-gawkbug.out echo x - gawkbug.sh sed 's/^X//' >gawkbug.sh << 'END-of-gawkbug.sh' X#! /bin/sh Xcat gawkbug.in | X awk -F' ' 'BEGIN { X OFMT = "%.12g" X big = 99999999999 X lowest = big X small = 0 X highest = small X dir = "" X } X $0 ~ /^[0-9]+$/ { X # some old awks do not think $0 is numeric, so use $1 X if ($1 < lowest) X lowest = $1 X if ($1 > highest) X highest = $1 X next X } X $0 ~ /\/\.:$/ { X if (dir != "") { X if (highest != small) X print dir, highest, lowest X else X print dir, "-", "-" X } X dir = substr($0, 1, length($0)-3) # trim off /.: X lowest = big X highest = small X }' >gawkbug.out Xdiff gawkbug.target gawkbug.out X# eof END-of-gawkbug.sh echo x - gawkbug.target sed 's/^X//' >gawkbug.target << 'END-of-gawkbug.target' Xbar - - Xbar/ugh 99 99 Xbarf/puke - - Xbletch - - Xcontrol - - Xfoo 103 98 Xjunk - - Xmod/mod 13 13 Xmod/unmod 16 16 Xurp 7 7 END-of-gawkbug.target exit >Fix: Update to gawk 3.0.4, which has serveral Memory problems fixed apply these patches: diff -urN awk-3.0.3/ChangeLog awk/ChangeLog --- awk-3.0.3/ChangeLog Tue Oct 14 20:16:57 1997 +++ awk/ChangeLog Wed Jun 30 15:15:06 1999 @@ -1,3 +1,304 @@ +Wed Jun 30 16:14:36 1999 Arnold D. Robbins + + * Release 3.0.4: Release tar file made. This time for sure. + +Wed Jun 30 16:10:11 1999 Arnold D. Robbins + + * awk.h: add include of , and comment about config.h + having to be included before any system headers. Otherwise, + with egcs-2.91.66 and later on Linux systems, and possibly + others, things break badly, due to the LFS macros. + * awk.y, builtin.c, eval.c, field.c, io.c: removed include + of assert.h + +Wed Jun 9 11:39:19 1999 Paul Eggert + + Port the large-file code to AIX, HP-UX, and IRIX. + Add cross-compilation support for large files. + + * config.guess, config.sub: New files. + + * configure.in (AC_CANONICAL_HOST): + Add; GAWK_AC_SYS_LARGEFILE needs this. + (GAWK_AC_SYS_LARGEFILE): Renamed from GAWK_AC_LARGE_FILES. + + * aclocal.m4 (GAWK_AC_SYS_LARGEFILE): Renamed from GAWK_AC_LARGE_FILES. + Add support for AIX and HP-UX. + (GAWK_AC_SYS_LARGEFILE_FLAGS, GAWK_AC_SYS_LARGEFILE_SPACE_APPEND, + GAWK_AC_SYS_LARGEFILE_MACRO_VALUE): New macros. + + * acconfig.h (_FILE_OFFSET_BITS, _LARGEFILE_SOURCE, _LARGE_FILES): + New macros. + + * Makefile.in (MISC): add config.guess and config.sub so they get + included in the distribution. + +Wed Jun 9 11:29:29 1999 Paul Eggert + + * io.c (iop_alloc): Don't mmap files whose sizes don't fit in `int'. + [ This isn't really needed, as HAVE_MMAP is #undef'ed at the top, + but it's there in case people want to take their life in their hands. ] + +Sun Jun 6 11:28:07 1999 Arnold D. Robbins + + * BETA Release 3.0.46: Release tar file made. + +Wed Jun 2 14:36:24 1999 Arnold D. Robbins + + * PORTS: Updated with a more recent list of systems + that gawk compiles and tests ok on. + +Tue Jun 1 14:24:59 1999 Arnold D. Robbins + + * BETA Release 3.0.45: Release tar file made. + +Tue May 25 16:32:37 1999 Arnold D. Robbins + + * builtin.c (format_tree): more smarts for weird cases, such as + zero precisions and zero values used with the `#' flag. + Thanks to Andreas Schwab (schwab@gnu.org) for pointing these out. + +Wed May 19 14:02:54 1999 Arnold D. Robbins + + * io.c (do_close): move test for `close(FILENAME)' to after + loop through all open redirections. Fixes problems in obscure + cases with redirections in END rules. + +Sun May 16 14:08:39 1999 Arnold D. Robbins + + * awk.y (yylex): fix group of characters including ',' to + set want_assign = FALSE. Fixes bizarre parsing problems in + function call lists, for example. + * io.c (get_a_record): repair logic for single-leading-newline + case. + +Tue May 11 16:48:11 1999 Arnold D. Robbins + + * aclocal.m4 (GAWK_AC_AIX_TWEAK): new macro. + * configure.in: call it + * Makefile.in: (awklib/all): pass CFLAGS on to sub-make so + that password programs will get AIX magic defines. Avoids + having to tweak program code for those in doc/gawk.texi. + +Mon May 3 16:56:23 1999 Arnold D. Robbins + + * array.c (do_delete): don't free_temp(subs) until after all + references to it are finished. + +Mon May 3 13:41:16 1999 Arnold D. Robbins + + * BETA Release 3.0.44: Release tar file made. + +Sun May 2 18:25:43 1999 Arnold D. Robbins + + * io.c (get_a_record): Do a really good job of stripping newlines + from the front of records when RS = "" and there's only one + newline at the front of the file, which the regex didn't catch. + +Wed Apr 28 12:27:49 1999 Arnold D. Robbins + + * configure.in: more HP stuff: fix the manual alloca code so that + gawk will compile and link on HP systems. See the comments. + +Sun Apr 25 13:39:16 1999 Arnold D. Robbins + + * Makefile.in (gawk): add $(CFLAGS) to linking step. + * configure.in: correctly do AC_FUNC_GETPRGP on HP systems too. + +Tue Apr 13 20:21:00 1999 Arnold D. Robbins + + * BETA Release 3.0.43: Release tar file made. + +Tue Apr 13 19:02:20 1999 Arnold D. Robbins + + * io.c (useropen, pidopen): add casts to int on arguments to + silence gcc warnings. + * regex.c (regcomp,regexec,regfree): add ifdef for APPLE. + +Thu Feb 4 10:38:02 1999 Arnold D. Robbins + + * custom.h: hacks for BeOS. Not documented in the manual right now. + * configure.in: hacks for BeOS. Check for HP-UX and define C_ALLOCA + if not using gcc. I wish they'd just fix bison already. + +Sun Dec 20 16:57:38 1998 Arnold D. Robbins + + * BETA Release 3.0.42: Release tar file made. + +Sun Nov 15 21:05:39 1998 Arnold D. Robbins + + * io.c (gawk_popen): Add WIN32 to list of systems that use + the non-real-pipe version. From the PC gawk guys. + +Wed Nov 4 11:32:24 1998 Arnold D. Robbins + + * BETA Release 3.0.41: Release tar file made. + +Tue Nov 3 16:24:35 1998 Arnold D. Robbins + + * eval.c (r_get_lhs): Fix the cases for the special variables, + don't unref their current value if it's the same as the internal + copy; perhaps the current one is used in a concatenation or some + other expression somewhere higher up in the call chain. Ouch. + See test/getnr2tm.awk. + +Sun Nov 1 15:24:52 1998 Arnold D. Robbins + + * builtin.c (format_tree): improve handling of zero-fill + when a precision is present. See test/zeroflag.awk. + +Wed Oct 28 20:40:17 1998 Arnold D. Robbins + + * eval.c (r_tree_eval): Case for Node_concat. Get lengthes + separately, in case one expression has a side effect that + that changes another. Ugly, but it keeps gawk from core + dumping. See test/nasty.awk. + +Sun Oct 18 21:27:24 1998 Arnold D. Robbins + + * awk.y (append_right): bug fix, if `list' or `new' are NULL, + return `list', so that things don't break too badly. + * regex.c (re_compile_fastmap): remove unused variable `num_regs'. + +Thu Oct 8 19:36:57 1998 Arnold D. Robbins + + * BETA Release 3.0.40: Release tar file made. + +Mon Jul 27 10:14:33 1998 Arnold D. Robbins + + * node.c (parse_escape): Remove assignment with side effects + from ISXDIGIT test. Thanks to "Mihai T. LAZARESCU" + for pointing this out. + +Mon Apr 27 11:31:32 1998 Arnold D. Robbins + + * main.c (usage): fix the email address for the bug list. + (copyleft): update the copyright year. + +Mon Mar 23 21:22:32 1998 Arnold D. Robbins + + * eval.c (r_get_lhs): make sure that values of type + Node_param_list don't have the FUNC flag set. This means + we don't allow the use of a function name as a variable or + array from within the function. + +Sun Mar 22 19:12:32 1998 Paul Eggert + + * aclocal.m4 (GAWK_AC_LARGE_FILES): new macro that checks for + large file support, and updates CPPFLAGS, LDFLAGS, LIBS as + needed. + * configure.in: call GAWK_AC_LARGE_FILES. + * Makefile.in (CPPFLAGS, LDFLAGS): Let autoconf configure. + (COMPFLAGS): Add $(CPPFLAGS). + +Mon Mar 16 14:06:41 1998 Arnold D. Robbins + + * field.c (using_FIELDWIDTHS): new macro. + (using_fieldwidths): use new macro. + (do_split): in case for FS_DFLT, also check that + we're not using FIELDWIDTHS. Otherwise, split() would use + FIELDWIDTHS, not current value of FS. Oops. + +Sun Nov 16 20:08:59 1997 Arnold D. Robbins + + * builtin.c (sub_common): fix for count of matches in gsub + from Geert.Debyser@esat.kuleuven.ac.be. + +Wed Oct 15 03:38:12 1997 Arnold D. Robbins + + * field.c (set_FS): Use `sc_parsefield' if the value of FS is not + alphabetic OR if not ignoring case. Bug fix if IGNORECASE + is true and FS happens to be '^'. Sheesh, talk about obscure. + (rebuild_record): Add more smarts to the code that sets up the + fields. Thanks to Alan J. Broder (ajb@dtmr.com). + +Sun Oct 5 11:56:52 1997 Arnold D. Robbins + + * configure.in: if ISC add -D_SYSV3 to CFLAGS, per email from + Mario Vanoni (vanonim@dial.eunet.ch). + +Fri Sep 26 00:57:49 1997 Arnold D. Robbins + + * awk.y (append_right): return if either list is NULL. Prevents + syntax errors from causing core dumps. + +Wed Sep 17 15:34:15 1997 Arnold D. Robbins + + * field.c (rebuild_record): set things up so that all fields point + into the new record and release any changed fields without + causing memory leaks. Avoids problems when fields are extended + with the value of $0 or other fields and then $0 is assigned to. + +Mon Sep 15 16:12:55 1997 Arnold D. Robbins + + * builtin.c (do_print): when testing for NUMBER, make sure + it's not a string too. Thanks to Michael Brennan for + clarifying the semantics. + +Sun Sep 14 19:55:12 1997 Arnold D. Robbins + + * node.c (format_val): always format values ourselves: avoids + problems if OFMT is bizarre, like %s. + +Sun Sep 14 00:08:53 1997 Arnold D. Robbins + + * io.c (get_a_record): replace all occurrences of the test + `grRS == FALSE' with `RS_is_null' which makes ` RS = "\0" ' + actually work, is clearer code, and actually makes use of + the `RS_is_null' variable! + +Sun Aug 17 07:15:12 1997 Arnold D. Robbins + + * field.c (set_FS): Change logic to always set parse_field, even + if FS hasn't changed. Thanks to Igor Sheyn for catching this. + +Wed Aug 6 21:04:37 1997 Arnold D. Robbins + + * io.c (VMS et al gawk_popen): use pclose, not fclose, if + iop_alloc fails. + +Wed Jul 30 19:53:52 1997 Arnold D. Robbins + + * awk.y [variable]: fix case for subscript if $3 == NULL. + +Sun Jul 27 22:47:30 1997 Arnold D. Robbins + + * awk.y (get_src_buf): don't close file if it's stdin. + +Sun Jul 27 22:47:15 1997 Pat Rankin + + * io.c (#if VMS: vmsrtl_fileno): new routine. + (#if VMS: fileno): new macro substituted for stdio one. + +Thu Jul 17 20:05:59 1997 Arnold D. Robbins + + * builtin.c (do_print): When OFMT != CONVFMT, create a new + temporary node with just the numeric value valid and format it, + and use that for printing. Avoids memory corruption. + +Wed Jul 16 10:01:16 1997 Arnold D. Robbins + + * regex.c: When SYNTAX_TABLE is defined, but not emacs, then + CHAR_SET_SIZE is not defined, though used in regcomp. It should + be taken out of #ifdef SYNTAX_TABLE. Fix from bug group, from + Akim Demaille, demaille@inf.enst.fr. + * awk.h (isnondecimal): make test a little smarter. + builtin.c (nondec2awknum): add bailout for decimal numbers, e.g. + `00.1'. Fix from Larry Schwimmer . + +Thu Jun 19 19:00:40 1997 Arnold D. Robbins + + * eval.c (interpret): case Node_K_next, Node_K_nextfile: fatal + error if called from BEGIN or END. + (Fixed completely Mon May 3 13:31:42 1999.) + +Mon Jun 9 22:40:04 1997 Arnold D. Robbins + + * builtin.c (nondec2awknum): Allow `f' and `F' in hexadecimal numbers. + Gotta get more sleep... + * array.c (assoc_lookup): Fix from Tom Karzes (karzes@equator.com) + for memory leak when forcing type to Node_var_array. + Thu May 15 12:49:08 1997 Arnold D. Robbins * Release 3.0.3: Release tar file made. diff -urN awk-3.0.3/FREEBSD-upgrade awk/FREEBSD-upgrade --- awk-3.0.3/FREEBSD-upgrade Tue Mar 10 20:25:14 1998 +++ awk/FREEBSD-upgrade Sat Dec 4 08:54:09 1999 @@ -55,3 +55,141 @@ In addition, doc/gawk.1 and doc/gawk.texi were renamed to awk.1 and awk.texi. jraynard@freebsd.org + + +Import of GNU awk 3.0.4 + +Original source available as ftp://prep.ai.mit.edu/pub/gnu/gawk-3.0.4.tar.gz + +The file config.h was generated with configure + +The following files and directories were removed for this import: + +[smame as listed above] +acconfig.h +config.guess +config.sub + +These patches have been applied: + +diff -u ./awk.h /src/src/contrib/awk/awk.h +--- ./awk.h Fri May 2 03:36:12 1997 ++++ /src/src/contrib/awk/awk.h Sun Oct 26 13:14:52 1997 +@@ -172,7 +172,11 @@ + + #define GNU_REGEX + #ifdef GNU_REGEX ++#ifdef __FreeBSD__ ++#include ++#else + #include "regex.h" ++#endif + #include "dfa.h" + typedef struct Regexp { + struct re_pattern_buffer pat; +diff -u ./builtin.c /src/src/contrib/awk/builtin.c +--- ./builtin.c Tue May 13 18:13:50 1997 ++++ /src/src/contrib/awk/builtin.c Sun Oct 26 13:14:52 1997 +@@ -30,6 +30,7 @@ + #undef CHARBITS + #undef INTBITS + #include ++#ifndef __FreeBSD__ + #include "random.h" + + /* can declare these, since we always use the random shipped with gawk */ +@@ -37,6 +38,7 @@ + extern char *setstate P((char *state)); + extern long random P((void)); + extern void srandom P((unsigned int seed)); ++#endif + + extern NODE **fields_arr; + extern int output_is_tty; +@@ -1261,7 +1263,11 @@ + (void) setstate(state); + + if (tree == NULL) ++#ifdef __FreeBSD__ ++ srandom((unsigned int) (save_seed = (long) time((time_t *) 0) ^ getpid())); ++#else + srandom((unsigned int) (save_seed = (long) time((time_t *) 0))); ++#endif + else { + tmp = tree_eval(tree->lnode); + srandom((unsigned int) (save_seed = (long) force_number(tmp))); +diff -u ./dfa.c /src/src/contrib/awk/dfa.c +--- ./dfa.c Fri May 2 03:36:18 1997 ++++ /src/src/contrib/awk/dfa.c Sun Oct 26 13:17:33 1997 +@@ -77,7 +77,11 @@ + #define ISCNTRL(C) (isascii(C) && iscntrl(C)) + #endif + ++#ifndef __FreeBSD__ + #include "regex.h" ++#else ++#include ++#endif + #include "dfa.h" + + #ifdef __STDC__ +@@ -132,6 +136,23 @@ + static char **addlists _RE_ARGS((char **old, char **new)); + static char **inboth _RE_ARGS((char **left, char **right)); + ++#ifdef __FreeBSD__ ++static int collate_range_cmp (a, b) ++ int a, b; ++{ ++ int r; ++ static char s[2][2]; ++ ++ if ((unsigned char)a == (unsigned char)b) ++ return 0; ++ s[0][0] = a; ++ s[1][0] = b; ++ if ((r = strcoll(s[0], s[1])) == 0) ++ r = (unsigned char)a - (unsigned char)b; ++ return r; ++} ++#endif ++ + static ptr_t + xcalloc(n, s) + size_t n; +@@ -700,6 +721,27 @@ + } + else + c2 = c; ++#ifdef __FreeBSD__ ++ { token c3; ++ ++ if (collate_range_cmp(c, c2) > 0) { ++ FETCH(c2, "Invalid range"); ++ goto skip; ++ } ++ ++ for (c3 = 0; c3 < NOTCHAR; ++c3) ++ if ( collate_range_cmp(c, c3) <= 0 ++ && collate_range_cmp(c3, c2) <= 0 ++ ) { ++ setbit(c3, ccl); ++ if (case_fold) ++ if (ISUPPER(c3)) ++ setbit(tolower(c3), ccl); ++ else if (ISLOWER(c3)) ++ setbit(toupper(c3), ccl); ++ } ++ } ++#else + while (c <= c2) + { + setbit(c, ccl); +@@ -710,6 +752,7 @@ + setbit(toupper(c), ccl); + ++c; + } ++#endif + skip: + ; + } diff -urN awk-3.0.3/FUTURES awk/FUTURES --- awk-3.0.3/FUTURES Tue Oct 14 20:16:56 1997 +++ awk/FUTURES Mon Oct 19 22:21:11 1998 @@ -73,8 +73,6 @@ Use GNU malloc. - Use rx instead of regex. - DONE: Do a reference card. ? Have strftime() pay attention to the value of ENVIRON["TZ"] diff -urN awk-3.0.3/NEWS awk/NEWS --- awk-3.0.3/NEWS Tue Oct 14 20:16:54 1997 +++ awk/NEWS Wed Jun 9 10:40:24 1999 @@ -1,3 +1,79 @@ +Changes from 3.0.3 to 3.0.4 +--------------------------- + +This is a bug fix release only, pending further development on 3.1.0. + +Bugs Fixed: + + 1. A memory leak when turning a function parameter into an array was + fixed. + + 2. The non-decimal data option now works correctly. + + 3. Using an empty pair of brackets as an array subscript no longer causes + a core dump during parsing. In general, syntax errors should not + cause core dumps any more. + + 4. Standard input is no longer closed if it provides program source, + avoiding strange I/O problems. + + 5. Memory corruption during printing with `print' has been fixed. + + 6. The gsub function now correctly counts the number of matches. + + 7. A typo in doc/Makefile.in has been fixed, making installation work. + + 8. Calling `next' or `nextfile' from a BEGIN or END rule is now fatal. + + 9. Subtle problems in rebuilding $0 when fields were changed have been + fixed. + +10. `FS = FS' now correctly turns off the use of FIELDWIDTHS. + +11. Gawk now parses fields correctly when FS is a single character. + +12. It is now possible for RS to be the NUL character ("\0"). + +13. Weird problems with number conversions on MIPS and other systems + have been fixed. + +14. When parsing using FIELDWIDTHS is in effect, split() with no third + argument will still use the value of FS. + +15. Large File Support for Solaris, HP-UX, AIX, and IRIX is now enabled at + compile time, thanks to Paul Eggert. + +16. Attempting to use the name of a function as a variable or array + from within the function is now caught as a fatal error, instead + of as a core dump. + +17. A bug in parsing hex escapes was fixed. + +18. A weird bug with concatenation where one expression has side effects + that changes another was fixed. + +19. printf/sprintf now behave much better for uses of the '0' and '#' flags + and with precisions and field widths. + +20. Further strangenesses with concatenation and multiple accesses of some + of the special variables was fixed. + +21. The Atari port is marked as no longer supported. + +22. Build problems on HP-UX have been fixed. + +23. Minor fixes and additional explanations added to the documentation. + +24. For RS = "", even a single leading newline is now correctly stripped. + +25. Obscure parsing problems for regex constants like /=.../ fixed, so + that a regex constant is recognized, and not the /= operator. + +26. Fixed a bug when closing a redirection that matched the current + or last FILENAME. + +27. Build problems on AIX fixed. + Changes from 3.0.2 to 3.0.3 --------------------------- diff -urN awk-3.0.3/PORTS awk/PORTS --- awk-3.0.3/PORTS Tue Oct 14 20:16:54 1997 +++ awk/PORTS Sun Jun 27 12:33:27 1999 @@ -1,36 +1,27 @@ -A recent version of gawk has been successfully compiled and run "make test" +Gawk 3.0.4 has been successfully compiled and run "make test" on the following: -Using cc: - Dec Alpha OSF 4.0 - HP9000/755 HP-UX 9.01 - IBM PowerPC AIX 4.1.4.0 - SCO Unix (OpenServer 5) - SGI IRIX 4.0.5 - SGI IRIX 5.3 - SGI IRIX 6.1 - SGI IRIX 6.2 - SunOS 4.1.3 - SunOS 5.5 - IBM SP2 AIX 4.1 +Linux 2.2.5 gcc 2.7.2.3 +Linux 2.0.33 gcc 2.7.2.1 +IRIX64 6.4 gcc 2.8.1 +IRIX 5.3 gcc 2.7.2.2 +UNIX_SV maxion OS 4.2MP gcc 2.7.2 +IRIX 6.2 gcc 2.7.2.2 +CYGWIN_95-4.0 20.1 (0.3/1/1) egcs-2.91.66 (has minor problems due to env.) -Other systems: - DEC Alpha Linux/AXP - DEC Alpha OSF/1 3.2 - DECstation 5000 ULTRIX 4.3 - HP 9000/735 HP-UX 10.01 - IBM RS/6000 AIX 3.2 - IBM SP2 AIX 4.1 - Intel x86 DOS (compiler: djgpp v2, emx+gcc, - and MSC 6.00A, 7, and 8) - Intel x86 Linux 2.0.27 - Intel x86 Linux 2.1.36 - Intel x86 OS+2 (compiler: emx+gcc) - NeXT Turbostation Mach 3.3 - SGI Indigo/2 IRIX 5.3 - SGI O2 IRIX 6.2 - SGI PowerChallenge IRIX 6.1 - Sun SPARC Linux 2.0.22 - Sun SPARC Solaris 2.5 - Sun SPARC Solaris 2.5.1 - Sun SPARC SunOS 4.1.3 +The builds of gawk-3.0.45, and validation and installation, were +successful on these systems: + + DEC Alpha OSF/1 3.2 + HP 9000/735 HP-UX 10.01 + IBM PowerPC AIX 4.2 + Intel Pentium II MMX GNU/Linux 2.0.35 + NeXT Turbostation Mach 3.3 + SGI Indigo/2 IRIX 5.3 + SGI O2 R10000-SC IRIX 6.3 + Sun SPARC Solaris 2.6 + +On + SGI Origin 200 IRIX 6.4 +a build with gcc-2.8.1 succeeded, but several tests failed; a rebuild +with c89 fixed the problem. diff -urN awk-3.0.3/POSIX.STD awk/POSIX.STD --- awk-3.0.3/POSIX.STD Tue Oct 14 20:16:54 1997 +++ awk/POSIX.STD Wed Oct 7 21:06:52 1998 @@ -1,3 +1,8 @@ +October 1998: + +The 1003.2 work has been at a stand-still for ages. Who knows if or +when a new revision will actually happen... + August 1995: Although the published 1003.2 standard contained the incorrect diff -urN awk-3.0.3/README awk/README --- awk-3.0.3/README Tue Oct 14 20:17:01 1997 +++ awk/README Sun May 9 13:03:52 1999 @@ -1,10 +1,10 @@ README: -This is GNU Awk 3.0.3. It should be upwardly compatible with the Bell +This is GNU Awk 3.0.4. It should be upwardly compatible with the Bell Labs research version of awk. It is almost completely compliant with the 1993 POSIX 1003.2 standard for awk. (See the note below about POSIX.) -Patches 1 through 3 just fix bugs -- see NEWS and ChangeLog for details. +Patches 1 through 4 just fix bugs -- see NEWS and ChangeLog for details. See the file INSTALL for installation instructions. @@ -66,7 +66,7 @@ outlined in the manual. Arnold Robbins -INTERNET: arnold@gnu.ai.mit.edu +INTERNET: arnold@gnu.org BUG REPORTS AND FIXES (non-Unix ports): @@ -81,7 +81,7 @@ Pat Rankin rankin@eql.caltech.edu -Atari ST: +Alpha/Linux: Michal Jaegermann michal@gortel.phys.ualberta.ca diff -urN awk-3.0.3/README_d/README.FIRST awk/README_d/README.FIRST --- awk-3.0.3/README_d/README.FIRST Tue Oct 14 20:17:01 1997 +++ awk/README_d/README.FIRST Wed Apr 28 15:45:19 1999 @@ -18,4 +18,4 @@ file, I will yell at you. Arnold Robbins -arnold@gnu.ai.mit.edu +arnold@gnu.org diff -urN awk-3.0.3/acconfig.h awk/acconfig.h --- awk-3.0.3/acconfig.h Tue Oct 14 20:17:01 1997 +++ awk/acconfig.h Thu Jan 1 01:00:00 1970 @@ -1,36 +0,0 @@ -/* - * acconfig.h -- configuration definitions for gawk. - */ - -/* - * Copyright (C) 1995-1997 the Free Software Foundation, Inc. - * - * This file is part of GAWK, the GNU implementation of the - * AWK Programming Language. - * - * GAWK is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * GAWK is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - */ - -@TOP@ - -#undef HAVE_STRINGIZE /* can use ANSI # operator in cpp */ -#undef REGEX_MALLOC /* use malloc instead of alloca in regex.c */ -#undef SPRINTF_RET /* return type of sprintf */ -#undef BITOPS /* bitwise ops (undocumented feature) */ -#undef NONDECDATA /* non-decimal input data (undocumented feature) */ - -@BOTTOM@ - -#include /* overrides for stuff autoconf can't deal with */ diff -urN awk-3.0.3/array.c awk/array.c --- awk-3.0.3/array.c Tue Oct 14 20:17:01 1997 +++ awk/array.c Mon May 3 15:55:48 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991 - 97 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -272,7 +272,10 @@ fatal("attempt to use scalar as array"); if (symbol->var_array == NULL) { - symbol->type = Node_var_array; + if (symbol->type != Node_var_array) { + unref(symbol->var_value); + symbol->type = Node_var_array; + } symbol->array_size = symbol->table_size = 0; /* sanity */ symbol->flags &= ~ARRAYMAXED; grow_table(symbol); @@ -360,13 +363,14 @@ last = bucket, bucket = bucket->ahnext) if (cmp_nodes(bucket->ahname, subs) == 0) break; - free_temp(subs); if (bucket == NULL) { if (do_lint) warning("delete: index `%s' not in array `%s'", subs->stptr, symbol->vname); + free_temp(subs); return; } + free_temp(subs); if (last != NULL) last->ahnext = bucket->ahnext; else diff -urN awk-3.0.3/awk.h awk/awk.h --- awk-3.0.3/awk.h Sun Oct 26 13:14:52 1997 +++ awk/awk.h Mon Aug 2 23:20:59 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-1997 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -25,6 +25,14 @@ /* ------------------------------ Includes ------------------------------ */ +/* + * config.h absolutely, positively, *M*U*S*T* be included before + * any system headers. Otherwise, extreme death, destruction + * and loss of life results. + * + * Well, OK, gawk just won't work on systems using egcs and LFS. But + * that's almost as bad. + */ #ifdef HAVE_CONFIG_H #include #endif @@ -34,6 +42,7 @@ #endif /* _GNU_SOURCE */ #include +#include #ifdef HAVE_LIMITS_H #include #endif /* HAVE_LIMITS_H */ @@ -588,7 +597,8 @@ /* ------------------------- Pseudo-functions ------------------------- */ #define is_identchar(c) (isalnum(c) || (c) == '_') -#define isnondecimal(str) (((str)[0]) == '0') +#define isnondecimal(str) (((str)[0]) == '0' && (ISDIGIT((str)[1]) \ + || (str)[1] == 'x' || (str)[1] == 'X')) #ifdef MPROF #define getnode(n) emalloc(n, NODE *, sizeof(NODE), "getnode") diff -urN awk-3.0.3/awk.y awk/awk.y --- awk-3.0.3/awk.y Tue Oct 14 20:16:58 1997 +++ awk/awk.y Wed Jun 30 15:06:24 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-1997 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -830,7 +830,9 @@ { $$ = variable($1, CAN_FREE, Node_var); } | NAME '[' expression_list ']' { - if ($3->rnode == NULL) { + if ($3 == NULL) { + fatal("invalid subscript expression"); + } else if ($3->rnode == NULL) { $$ = node(variable($1, CAN_FREE, Node_var_array), Node_subscript, $3->lnode); freenode($3); } else @@ -1169,7 +1171,8 @@ warning("source file `%s' is empty", source); } } - close(fd); + if (fileno(stdin) != fd) /* safety */ + close(fd); samefile = FALSE; nextfile++; if (lexeme) @@ -1451,14 +1454,17 @@ case ':': case '?': allow_newline(); - /* fall through */ + return lasttok = c; + case ')': case ']': case '(': - case '[': case ';': case '{': case ',': + want_assign = FALSE; + /* fall through */ + case '[': return lasttok = c; case '*': @@ -2108,6 +2114,9 @@ { register NODE *oldlist; static NODE *savefront = NULL, *savetail = NULL; + + if (list == NULL || new == NULL) + return list; oldlist = list; if (savefront == oldlist) { diff -urN awk-3.0.3/builtin.c awk/builtin.c --- awk-3.0.3/builtin.c Sun Oct 26 13:14:52 1997 +++ awk/builtin.c Mon Aug 2 23:20:59 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-1997 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -25,7 +25,6 @@ #include "awk.h" -#include #undef HUGE #undef CHARBITS #undef INTBITS @@ -410,6 +409,7 @@ double tmpval; char signchar = FALSE; size_t len; + int zero_flag = FALSE; static char sp[] = " "; static char zero_string[] = "0"; static char lchbuf[] = "0123456789abcdef"; @@ -437,6 +437,7 @@ prec = 0; have_prec = FALSE; signchar = FALSE; + zero_flag = FALSE; lj = alt = big = bigbig = small = FALSE; fill = sp; cp = cend; @@ -460,10 +461,9 @@ break; case '0': + zero_flag = TRUE; if (lj) goto retry; - if (cur == &fw) - fill = zero_string; /* FALL through */ case '1': case '2': @@ -587,6 +587,8 @@ goto retry; case 'c': need_format = FALSE; + if (zero_flag && ! lj) + fill = zero_string; parse_next_arg(); /* user input that looks numeric is numeric */ if ((arg->flags & (MAYBE_NUM|NUMBER)) == MAYBE_NUM) @@ -611,6 +613,8 @@ goto pr_tail; case 's': need_format = FALSE; + if (zero_flag && ! lj) + fill = zero_string; parse_next_arg(); arg = force_string(arg); if (! have_prec || prec > arg->stlen) @@ -622,6 +626,14 @@ need_format = FALSE; parse_next_arg(); tmpval = force_number(arg); + + /* + * ``The result of converting a zero value with a + * precision of zero is no characters.'' + */ + if (have_prec && prec == 0 && tmpval == 0) + goto pr_tail; + if (tmpval < 0) { if (tmpval < LONG_MIN) goto out_of_range; @@ -639,17 +651,28 @@ *--cp = (char) ('0' + uval % 10); uval /= 10; } while (uval > 0); + + /* add more output digits to match the precision */ + if (have_prec) { + while (cend - cp < prec) + *--cp = '0'; + } + if (sgn) *--cp = '-'; else if (signchar) *--cp = signchar; /* - * precision overrides '0' flags. however, for - * integer formats, precsion is minimum number of - * *digits*, not characters, thus we want to fill - * with zeroes. + * When to fill with zeroes is of course not simple. + * First: No zero fill if left-justifying. + * Next: There seem to be two cases: + * A '0' without a precision, e.g. %06d + * A precision with no field width, e.g. %.10d + * Any other case, we don't want to fill with zeroes. */ - if (have_prec) + if (! lj + && ((zero_flag && ! have_prec) + || (fw == 0 && have_prec))) fill = zero_string; if (prec > fw) fw = prec; @@ -673,6 +696,22 @@ need_format = FALSE; parse_next_arg(); tmpval = force_number(arg); + + /* + * ``The result of converting a zero value with a + * precision of zero is no characters.'' + * + * If I remember the ANSI C standard, though, + * it says that for octal conversions + * the precision is artificially increased + * to add an extra 0 if # is supplied. + * Indeed, in C, + * printf("%#.0o\n", 0); + * prints a single 0. + */ + if (! alt && have_prec && prec == 0 && tmpval == 0) + goto pr_tail; + if (tmpval < 0) { if (tmpval < LONG_MIN) goto out_of_range; @@ -685,18 +724,29 @@ uval = (unsigned long) tmpval; } /* - * precision overrides '0' flags. however, for - * integer formats, precsion is minimum number of - * *digits*, not characters, thus we want to fill - * with zeroes. + * When to fill with zeroes is of course not simple. + * First: No zero fill if left-justifying. + * Next: There seem to be two cases: + * A '0' without a precision, e.g. %06d + * A precision with no field width, e.g. %.10d + * Any other case, we don't want to fill with zeroes. */ - if (have_prec) + if (! lj + && ((zero_flag && ! have_prec) + || (fw == 0 && have_prec))) fill = zero_string; do { *--cp = chbuf[uval % base]; uval /= base; } while (uval > 0); - if (alt) { + + /* add more output digits to match the precision */ + if (have_prec) { + while (cend - cp < prec) + *--cp = '0'; + } + + if (alt && tmpval != 0) { if (base == 16) { *--cp = cs1; *--cp = '0'; @@ -755,7 +805,7 @@ *cp++ = signchar; if (alt) *cp++ = '#'; - if (fill != sp) + if (zero_flag) *cp++ = '0'; cp = strcpy(cp, "*.*") + 3; *cp++ = cs1; @@ -1084,6 +1134,7 @@ register FILE *fp; int numnodes, i; NODE *save; + NODE *tval; if (tree->rnode) { int errflg; /* not used, sigh */ @@ -1117,25 +1168,29 @@ t[i] = dupnode(n); free_temp(n); - if (t[i]->flags & NUMBER) { + if ((t[i]->flags & (NUMBER|STRING)) == NUMBER) { if (OFMTidx == CONVFMTidx) (void) force_string(t[i]); - else - t[i] = format_val(OFMT, OFMTidx, t[i]); + else { + tval = tmp_number(t[i]->numbr); + unref(t[i]); + t[i] = format_val(OFMT, OFMTidx, tval); + } } } for (i = 0; i < numnodes; i++) { efwrite(t[i]->stptr, sizeof(char), t[i]->stlen, fp, "print", rp, FALSE); unref(t[i]); - if (i != numnodes - 1) { - if (OFSlen > 0) - efwrite(OFS, sizeof(char), (size_t) OFSlen, - fp, "print", rp, FALSE); - } + + if (i != numnodes - 1 && OFSlen > 0) + efwrite(OFS, sizeof(char), (size_t) OFSlen, + fp, "print", rp, FALSE); + } if (ORSlen > 0) efwrite(ORS, sizeof(char), (size_t) ORSlen, fp, "print", rp, TRUE); + free(t); } @@ -1512,6 +1567,7 @@ */ if (lastmatchnonzero && matchstart == matchend) { lastmatchnonzero = FALSE; + matches--; goto empty; } /* @@ -2022,6 +2078,7 @@ case 'c': case 'd': case 'e': + case 'f': val = *str - 'a' + 10; break; case 'A': @@ -2029,6 +2086,7 @@ case 'C': case 'D': case 'E': + case 'F': val = *str - 'A' + 10; break; default: @@ -2039,11 +2097,12 @@ } else if (*str == '0') { for (; len > 0; len--) { if (! isdigit(*str) || *str == '8' || *str == '9') - goto done; + goto decimal; retval = (retval * 8) + (*str - '0'); str++; } } else { +decimal: save = str[len]; retval = atof(str); str[len] = save; diff -urN awk-3.0.3/config.h awk/config.h --- awk-3.0.3/config.h Tue Oct 14 20:16:57 1997 +++ awk/config.h Mon Aug 2 22:59:57 1999 @@ -5,7 +5,7 @@ */ /* - * Copyright (C) 1995-1997 the Free Software Foundation, Inc. + * Copyright (C) 1995-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -131,6 +131,9 @@ #define SPRINTF_RET int /* return type of sprintf */ /* #undef BITOPS */ /* bitwise ops (undocumented feature) */ /* #undef NONDECDATA */ /* non-decimal input data (undocumented feature) */ +/* #undef _FILE_OFFSET_BITS */ /* bits in a file offset, where this matters */ +/* #undef _LARGEFILE_SOURCE */ /* makes fseeko etc. visible on some hosts */ +/* #undef _LARGE_FILES */ /* emables large files on AIX-style hosts */ /* Define if you have the fmod function. */ #define HAVE_FMOD 1 diff -urN awk-3.0.3/custom.h awk/custom.h --- awk-3.0.3/custom.h Tue Oct 14 20:16:57 1997 +++ awk/custom.h Wed Apr 28 16:10:44 1999 @@ -7,11 +7,11 @@ * information. * * If you make additions to this file for your system, please send me - * the information, to arnold@gnu.ai.mit.edu. + * the information, to arnold@gnu.org. */ /* - * Copyright (C) 1995-1997 the Free Software Foundation, Inc. + * Copyright (C) 1995-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -56,4 +56,11 @@ /* For sequent, based on email with Aron Griffis */ #ifdef _SEQUENT_ #undef HAVE_MMAP +#endif + +/* For BeOS, from mc@whoever.com */ +#if defined(__dest_os) && __dest_os == __be_os +#define BROKEN_STRNCASECMP +#define ELIDE_CODE +#include #endif diff -urN awk-3.0.3/doc/ChangeLog awk/doc/ChangeLog --- awk-3.0.3/doc/ChangeLog Tue Oct 14 20:17:11 1997 +++ awk/doc/ChangeLog Wed Jun 30 15:15:09 1999 @@ -1,3 +1,30 @@ +Wed Jun 30 16:14:36 1999 Arnold D. Robbins + + * Release 3.0.4: Release tar file made. This time for sure. + +Wed Oct 7 21:59:33 1998 Arnold D. Robbins + + * texinfo.tex: Updated to version 2.227, from Texinfo 3.12. + +Sun Oct 19 12:26:08 1997 Arnold D. Robbins + + * ALL: change references to arnold@gnu.ai.mit.edu to arnold@gnu.org. + +Tue Sep 23 10:31:17 1997 Arnold D. Robbins + + * texinfo.tex: Updated to version 2.218, from Texinfo 3.11. + +Fri Jul 4 08:19:00 1997 Arnold D. Robbins + + * Makefile.in ($(infodir)/gawk.info): Don't make dependent upon + gawk.info, in case installed one is newer. Instead, check that + an installed gawk.info exists and is identical to current one. + If so, just exit; otherwise do the install. + +Wed Jul 2 14:55:12 1997 Arnold D. Robbins + + * Makefile.in ($(infodir)/gawk.info): typo fix. + Thu May 15 12:49:08 1997 Arnold D. Robbins * Release 3.0.3: Release tar file made. diff -urN awk-3.0.3/doc/awk.1 awk/doc/awk.1 --- awk-3.0.3/doc/awk.1 Sat Sep 12 18:55:54 1998 +++ awk/doc/awk.1 Wed Apr 28 16:23:33 1999 @@ -1,7 +1,7 @@ .ds PX \s-1POSIX\s+1 .ds UX \s-1UNIX\s+1 .ds AN \s-1ANSI\s+1 -.TH GAWK 1 "Dec 19 1996" "Free Software Foundation" "Utility Commands" +.TH GAWK 1 "Apr 28 1999" "Free Software Foundation" "Utility Commands" .SH NAME gawk \- pattern scanning and processing language .SH SYNOPSIS @@ -2150,6 +2150,12 @@ Function parameters used as local variables are initialized to the null string and the number zero upon function invocation. .PP +Use +.BI return " expr" +to return a value from a function. The return value is undefined if no +value is provided, or if the function returns by ``falling off'' the +end. +.PP If .B \-\^\-lint has been provided, @@ -2481,7 +2487,7 @@ will support this usage if .B \-\^\-traditional has been specified. -.SH ENVIRONMENT +.SH ENVIRONMENT VARIABLES If .B POSIXLY_CORRECT exists in the environment, then @@ -2535,7 +2541,7 @@ .SH VERSION INFORMATION This man page documents .IR gawk , -version 3.0.2. +version 3.0.4. .SH AUTHORS The original version of \*(UX .I awk @@ -2566,10 +2572,10 @@ If you find a bug in .IR gawk , please send electronic mail to -.BR bug-gnu-utils@prep.ai.mit.edu , +.BR bug-gnu-utils@gnu.org , .I with a carbon copy to -.BR arnold@gnu.ai.mit.edu . +.BR arnold@gnu.org . Please include your operating system and its revision, the version of .IR gawk , what C compiler you used to compile it, and a test program @@ -2598,7 +2604,7 @@ provided valuable assistance during testing and debugging. We thank him. .SH COPYING PERMISSIONS -Copyright \(co\) 1996 Free Software Foundation, Inc. +Copyright \(co) 1996,97,98,99 Free Software Foundation, Inc. .PP Permission is granted to make and distribute verbatim copies of this manual page provided the copyright notice and this permission diff -urN awk-3.0.3/doc/gawk.texi awk/doc/gawk.texi --- awk-3.0.3/doc/gawk.texi Tue Oct 14 20:17:11 1997 +++ awk/doc/gawk.texi Wed May 5 17:05:13 1999 @@ -21,10 +21,10 @@ @c applies to, and when the document was updated. @set TITLE Effective AWK Programming @set SUBTITLE A User's Guide for GNU Awk -@set PATCHLEVEL 3 +@set PATCHLEVEL 4 @set EDITION 1.0.@value{PATCHLEVEL} @set VERSION 3.0 -@set UPDATE-MONTH February 1997 +@set UPDATE-MONTH April, 1999 @iftex @set DOCUMENT book @end iftex @@ -74,7 +74,7 @@ This is Edition @value{EDITION} of @cite{@value{TITLE}}, for the @value{VERSION}.@value{PATCHLEVEL} version of the GNU implementation of AWK. -Copyright (C) 1989, 1991, 92, 93, 96, 97 Free Software Foundation, Inc. +Copyright (C) 1989, 1991, 92, 93, 96, 97, 98, 99 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -138,7 +138,7 @@ Registered Trademark of Paramount Pictures Corporation. @* @c sorry, i couldn't resist @sp 3 -Copyright @copyright{} 1989, 1991, 92, 93, 96, 97 Free Software Foundation, Inc. +Copyright @copyright{} 1989, 1991, 92, 93, 96, 97, 98, 99 Free Software Foundation, Inc. @sp 2 This is Edition @value{EDITION} of @cite{@value{TITLE}}, @* @@ -153,16 +153,16 @@ @item Seattle, WA 98155 USA @tab Boston, MA 02111-1307 USA @item Phone: +1-206-782-7733 @tab Phone: +1-617-542-5942 @item Fax: +1-206-782-7191 @tab Fax: +1-617-542-2652 -@item E-mail: @code{sales@@ssc.com} @tab E-mail: @code{gnu@@prep.ai.mit.edu} +@item E-mail: @code{sales@@ssc.com} @tab E-mail: @code{gnu@@gnu.org} @item URL: @code{http://www.ssc.com/} @tab URL: @code{http://www.fsf.org/} @end multitable @sp 1 @c this ISBN can change! Check with SSC @c This one is correct for gawk 3.0 and edition 1.0 from the FSF -@c ISBN 1-882114-26-4 @* +ISBN 1-882114-26-4 @* @c This one is correct for gawk 3.0.3 and edition 1.0.3 from SSC -ISBN 1-57831-000-8 @* +@c ISBN 1-57831-000-8 @* Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -1387,6 +1387,12 @@ program which users can invoke without their having to know that the program is written in @code{awk}. +@strong{Caution:} You should not put more than one argument on the @samp{#!} +line after the path to @code{awk}. This will not work. The operating system +treats the rest of the line as a single agument, and passes it to @code{awk}. +Doing this will lead to confusing behavior: most likely a usage diagnostic +of some sort from @code{awk}. + @cindex shell scripts @cindex scripts, shell Some older systems do not support the @samp{#!} mechanism. You can get a @@ -1441,6 +1447,21 @@ comment is to help you or another person understand the program at a later time. +@strong{Caution:} As mentioned in +@ref{One-shot, ,One-shot Throw-away @code{awk} Programs}, +you can enclose small to medium programs in single quotes, in order to keep +your shell scripts self-contained. When doing so, @emph{don't} put +an apostrophe (i.e., a single quote) into a comment (or anywhere else +in your program). The shell will interpret the quote as the closing +quote for the entire program. As a result, usually the shell will +print a message about mismatched quotes, and if @code{awk} actually +runs, it will probably print strange messages about syntax errors. +For example: + +@example +awk 'BEGIN @{ print "hello" @} # let's be cute' +@end example + @node Very Simple, Two Rules, Running gawk, Getting Started @section A Very Simple Example @@ -2142,7 +2163,7 @@ Another interesting question arises. Suppose you use an octal or hexadecimal escape to represent a regexp metacharacter (@pxref{Regexp Operators, , Regular Expression Operators}). -Does @code{awk} treat the character as literal character, or as a regexp +Does @code{awk} treat the character as a literal character, or as a regexp operator? @cindex dark corner @@ -4450,6 +4471,8 @@ because the concatenation operator is not parenthesized, and you should write it as @samp{("echo " "date") | getline} if you want your program to be portable to other @code{awk} implementations. +(It happens that @code{gawk} gets it right, but you should not +rely on this. Parentheses make it easier to read, anyway.) @node Getline/Variable/Pipe, Getline Summary, Getline/Pipe, Getline @subsection Using @code{getline} Into a Variable from a Pipe @@ -4482,6 +4505,8 @@ because the concatenation operator is not parenthesized, and you should write it as @samp{("echo " "date") | getline @var{var}} if you want your program to be portable to other @code{awk} implementations. +(It happens that @code{gawk} gets it right, but you should not +rely on this. Parentheses make it easier to read, anyway.) @end ifinfo @node Getline Summary, , Getline/Variable/Pipe, Getline @@ -4616,7 +4641,7 @@ Here is an example of printing a string that contains embedded newlines (the @samp{\n} is an escape sequence, used to represent the newline -character; see @ref{Escape Sequences}): +character; @pxref{Escape Sequences}): @example @group @@ -6975,6 +7000,8 @@ However, you cannot put a newline in front of either character without using backslash continuation (@pxref{Statements/Lines, ,@code{awk} Statements Versus Lines}). +If @samp{--posix} is specified +(@pxref{Options, , Command Line Options}), then this extension is disabled. @node Function Calls, Precedence, Conditional Exp, Expressions @section Function Calls @@ -8264,7 +8291,7 @@ @example @group BEGIN @{ - if (("date" | getline date_now) < 0) @{ + if (("date" | getline date_now) <= 0) @{ print "Can't get system date" > "/dev/stderr" exit 1 @} @@ -8627,9 +8654,27 @@ Notice that the @code{awk} program is not entered in @code{ARGV}. The other special command line options, with their arguments, are also not -entered. But variable assignments on the command line @emph{are} +entered. This includes variable assignments done with the @samp{-v} +option (@pxref{Options, ,Command Line Options}). +Normal variable assignments on the command line @emph{are} treated as arguments, and do show up in the @code{ARGV} array. +@example +$ cat showargs.awk +@print{} BEGIN @{ +@print{} printf "A=%d, B=%d\n", A, B +@print{} for (i = 0; i < ARGC; i++) +@print{} printf "\tARGV[%d] = %s\n", i, ARGV[i] +@print{} @} +@print{} END @{ printf "A=%d, B=%d\n", A, B @} +$ awk -v A=1 -f showargs.awk B=2 /dev/null +@print{} A=1, B=0 +@print{} ARGV[0] = awk +@print{} ARGV[1] = B=2 +@print{} ARGV[2] = /dev/null +@print{} A=1, B=2 +@end example + Your program can alter @code{ARGC} and the elements of @code{ARGV}. Each time @code{awk} reaches the end of an input file, it uses the next element of @code{ARGV} as the name of the next input file. By storing a @@ -9172,6 +9217,14 @@ apart the null string. Since there is no data to split out, the function simply clears the array and then returns. +@strong{Caution:} Deleting an array does not change its type; you cannot +delete an array and then use the array's name as a scalar. For +example, this will not work: + +@example +a[1] = 3; delete a; a = 3 +@end example + @node Numeric Array Subscripts, Uninitialized Subscripts, Delete, Arrays @section Using Numbers to Subscript Arrays @@ -9785,6 +9838,10 @@ Before splitting the string, @code{split} deletes any previously existing elements in the array @var{array} (d.c.). +If @var{string} does not match @var{fieldsep} at all, @var{array} will have +one element. The value of that element will be the original +@var{string}. + @item sprintf(@var{format}, @var{expression1},@dots{}) @findex sprintf This returns (without printing) the string that @code{printf} would @@ -9901,6 +9958,9 @@ object as the third parameter will cause a fatal error, and your program will not run. +Finally, if the @var{regexp} is not a regexp constant, it is converted into a +string and then the value of that string is treated as the regexp to match. + @item gsub(@var{regexp}, @var{replacement} @r{[}, @var{target}@r{]}) @findex gsub This is similar to the @code{sub} function, except @code{gsub} replaces @@ -9980,6 +10040,9 @@ @samp{G}, or if it is a number that is less than zero, only one substitution is performed. +If @var{regexp} does not match @var{target}, @code{gensub}'s return value +is the original, unchanged value of @var{target}. + @cindex differences between @code{gawk} and @code{awk} @code{gensub} is a @code{gawk} extension; it is not available in compatibility mode (@pxref{Options, ,Command Line Options}). @@ -10310,7 +10373,7 @@ @item system(@var{command}) @findex system @cindex interaction, @code{awk} and other programs -The system function allows the user to execute operating system commands +The @code{system} function allows the user to execute operating system commands and then return to the @code{awk} program. The @code{system} function executes the command given by the string @var{command}. It returns, as its value, the status returned by the command that was executed. @@ -10329,7 +10392,17 @@ finishes processing input and begins its end-of-input processing. Note that redirecting @code{print} or @code{printf} into a pipe is often -enough to accomplish your task. However, if your @code{awk} +enough to accomplish your task. If you need to run many commands, it +will be more efficient to simply print them to a pipe to the shell: + +@example +while (@var{more stuff to do}) + print @var{command} | "/bin/sh" +close("/bin/sh") +@end example + +@noindent +However, if your @code{awk} program is interactive, @code{system} is useful for cranking up large self-contained programs, such as a shell or an editor. @@ -11889,7 +11962,7 @@ @c file eg/lib/nextfile.awk # nextfile --- skip remaining records in current file # correctly handle successive occurrences of the same file -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May, 1993 # this should be read in before the "main" awk program @@ -11983,7 +12056,7 @@ @c @group @c file eg/lib/assert.awk # assert --- assert that a condition is true. Otherwise exit. -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May, 1993 function assert(condition, string) @@ -12038,7 +12111,8 @@ @end example There is a problem with this version of @code{assert}, that it may not -be possible to work around. An @code{END} rule is automatically added +be possible to work around with standard @code{awk}. +An @code{END} rule is automatically added to the program calling @code{assert}. Normally, if a program consists of just a @code{BEGIN} rule, the input files and/or standard input are not read. However, now that the program has an @code{END} rule, @code{awk} @@ -12069,7 +12143,7 @@ @c file eg/lib/round.awk # round --- do normal rounding # -# Arnold Robbins, arnold@@gnu.ai.mit.edu, August, 1996 +# Arnold Robbins, arnold@@gnu.org, August, 1996 # Public Domain function round(x, ival, aval, fraction) @@ -12130,7 +12204,7 @@ # _ord_init: function to initialize _ord_ # # Arnold Robbins -# arnold@@gnu.ai.mit.edu +# arnold@@gnu.org # Public Domain # 16 January, 1992 # 20 July, 1992, revised @@ -12254,7 +12328,7 @@ @group @c file eg/lib/join.awk # join.awk --- join an array into a string -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 function join(array, start, end, sep, result, i) @@ -12329,7 +12403,7 @@ @c file eg/lib/mktime.awk # mktime.awk --- convert a canonical date representation # into a timestamp -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 BEGIN \ @@ -12624,7 +12698,7 @@ @c @group @c file eg/lib/gettime.awk # gettimeofday --- get the time of day in a usable format -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain, May 1993 +# Arnold Robbins, arnold@@gnu.org, Public Domain, May 1993 # # Returns a string in the format of output of date(1) # Populates the array argument time with individual values: @@ -12732,7 +12806,7 @@ # that each take the name of the file being started or # finished, respectively. # -# Arnold Robbins, arnold@@gnu.ai.mit.edu, January 1992 +# Arnold Robbins, arnold@@gnu.org, January 1992 # Public Domain FILENAME != _oldfilename \ @@ -12784,7 +12858,7 @@ # # user supplies beginfile() and endfile() functions # -# Arnold Robbins, arnold@@gnu.ai.mit.edu. November 1992 +# Arnold Robbins, arnold@@gnu.org, November 1992 # Public Domain FNR == 1 @{ @@ -12929,7 +13003,7 @@ @c file eg/lib/getopt.awk # getopt --- do C library getopt(3) function in awk # -# arnold@@gnu.ai.mit.edu +# arnold@@gnu.org # Public domain # # Initial version: March, 1991 @@ -13206,7 +13280,7 @@ * Generate a printable version of the password database * * Arnold Robbins - * arnold@@gnu.ai.mit.edu + * arnold@@gnu.org * May 1993 * Public Domain */ @@ -13289,7 +13363,7 @@ @c file eg/lib/passwdawk.in @group # passwd.awk --- access password file information -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 BEGIN @{ @@ -13477,7 +13551,7 @@ * * Generate a printable version of the group database * - * Arnold Robbins, arnold@@gnu.ai.mit.edu + * Arnold Robbins, arnold@@gnu.org * May 1993 * Public Domain */ @@ -13558,7 +13632,7 @@ @group @c file eg/lib/groupawk.in # group.awk --- functions for dealing with the group file -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 BEGIN \ @@ -13725,7 +13799,7 @@ function getgrent() @{ _gr_init() - if (++gr_count in _gr_bycount) + if (++_gr_count in _gr_bycount) return _gr_bycount[_gr_count] return "" @} @@ -13947,7 +14021,7 @@ @c @group @c file eg/prog/cut.awk # cut.awk --- implement cut in awk -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 # Options: @@ -14275,7 +14349,7 @@ @c @group @c file eg/prog/egrep.awk # egrep.awk --- simulate egrep in awk -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 # Options: @@ -14558,7 +14632,7 @@ @c @group @c file eg/prog/id.awk # id.awk --- implement id in awk -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 # output is: @@ -14670,7 +14744,7 @@ @c @group @c file eg/prog/split.awk # split.awk --- do split in awk -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 # usage: split [-num] [file] [outname] @@ -14798,7 +14872,7 @@ @group @c file eg/prog/tee.awk # tee.awk --- tee in awk -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 # Revised December 1995 @end group @@ -14961,7 +15035,7 @@ @c @group @c file eg/prog/uniq.awk # uniq.awk --- do uniq in awk -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 @group @@ -15197,7 +15271,7 @@ @c @group @c file eg/prog/wc.awk # wc.awk --- count lines, words, characters -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 # Options: @@ -15354,7 +15428,7 @@ @group @c file eg/prog/dupword.awk # dupword --- find duplicate words in text -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # December 1991 @{ @@ -15398,7 +15472,7 @@ @c @group @c file eg/prog/alarm.awk # alarm --- set an alarm -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 # usage: alarm time [ "message" [ count [ delay ] ] ] @@ -15585,7 +15659,7 @@ @c @group @c file eg/prog/translate.awk # translate --- do tr like stuff -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # August 1989 # bugs: does not handle things like: tr A-Z a-z, it has @@ -15703,7 +15777,7 @@ @c @group @c file eg/prog/labels.awk # labels.awk -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # June 1992 # Program to print labels. Each label is 5 lines of data @@ -15919,7 +15993,7 @@ @group @c file eg/prog/histsort.awk # histsort.awk --- compact a shell history file -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 # Thanks to Byron Rakitzis for the general idea @@ -16016,6 +16090,28 @@ @file{extract.awk} to extract the sample programs and install many of them in a standard directory, where @code{gawk} can find them. +The Texinfo file looks something like this: + +@example +@dots{} +This program has a @@code@{BEGIN@} block, +which prints a nice message: + +@@example +@@c file examples/messages.awk +BEGIN @@@{ print "Don't panic!" @@@} +@@c end file +@@end example + +It also prints some final advice: + +@@example +@@c file examples/messages.awk +END @@@{ print "Always avoid bored archeologists!" @@@} +@@c end file +@@end example +@dots{} +@end example @file{extract.awk} begins by setting @code{IGNORECASE} to one, so that mixed upper-case and lower-case letters in the directives won't matter. @@ -16030,7 +16126,7 @@ @c file eg/prog/extract.awk # extract.awk --- extract files and run programs # from texinfo files -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # May 1993 BEGIN @{ IGNORECASE = 1 @} @@ -16080,6 +16176,9 @@ the loop. If the line is an @samp{@@group} or @samp{@@end group} line, then it ignores it, and goes on to the next line. +(These Texinfo control lines keep blocks of code together on one page; +unfortunately, @TeX{} isn't always smart enough to do things exactly right, +and we have to give it some advice.) Most of the work is in the following few lines. If the line has no @samp{@@} symbols, it can be printed directly. Otherwise, each leading @samp{@@} must be @@ -16213,7 +16312,7 @@ # awksed.awk --- do s/foo/bar/g using just print # Thanks to Michael Brennan for the idea -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # August 1995 @group @@ -16447,7 +16546,7 @@ #! /bin/sh # igawk --- like gawk but do @@include processing -# Arnold Robbins, arnold@@gnu.ai.mit.edu, Public Domain +# Arnold Robbins, arnold@@gnu.org, Public Domain # July 1993 if [ "$1" = debug ] @@ -18493,7 +18592,7 @@ Boston, MA 02111-1307 USA @* Phone: +1-617-542-5942 @* Fax (including Japan): +1-617-542-2652 @* -E-mail: @code{gnu@@prep.ai.mit.edu} @* +E-mail: @code{gnu@@gnu.org} @* @end quotation @noindent @@ -18502,7 +18601,7 @@ @item You can get @code{gawk} by using anonymous @code{ftp} to the Internet host -@code{ftp.gnu.ai.mit.edu}, in the directory @file{/pub/gnu}. +@code{gnudist.gnu.org}, in the directory @file{/gnu/gawk}. Here is a list of alternate @code{ftp} sites from which you can obtain GNU software. When a site is listed as ``@var{site}@code{:}@var{directory}'' the @@ -19318,17 +19417,17 @@ @table @asis @item Internet: -@samp{bug-gnu-utils@@prep.ai.mit.edu} +@samp{bug-gnu-utils@@gnu.org} @item UUCP: -@samp{uunet!prep.ai.mit.edu!bug-gnu-utils} +@samp{uunet!gnu.org!bug-gnu-utils} @end table Please include the version number of @code{gawk} you are using. You can get this information with the command @samp{gawk --version}. You should send a carbon copy of your mail to Arnold Robbins, who can -be reached at @samp{arnold@@gnu.ai.mit.edu}. +be reached at @samp{arnold@@gnu.org}. @cindex @code{comp.lang.awk} @strong{Important!} Do @emph{not} try to report bugs in @code{gawk} by @@ -19408,13 +19507,15 @@ @item Unix @code{awk} Brian Kernighan has been able to make his implementation of @code{awk} freely available. You can get it via anonymous @code{ftp} -to the host @code{@w{netlib.att.com}}. Change directory to +to the host @code{@w{netlib.bell-labs.com}}. Change directory to @file{/netlib/research}. Use ``binary'' or ``image'' mode, and -retrieve @file{awk.bundle.Z}. +retrieve @file{awk.bundle.gz}. + +This is a shell archive that has been compressed with the GNU @code{gzip} +utility. It can be uncompressed with the @code{gunzip} utility. -This is a shell archive that has been compressed with the @code{compress} -utility. It can be uncompressed with either @code{uncompress} or the -GNU @code{gunzip} utility. +You can also retrieve this version via the World Wide Web from +@uref{http://cm.bell-labs.com/who/bwk, Brian Kernighan's home page}. This version requires an ANSI C compiler; GCC (the GNU C compiler) works quite nicely. @@ -19496,7 +19597,7 @@ You are free to add any new features you like to @code{gawk}. However, if you want your changes to be incorporated into the @code{gawk} distribution, there are several steps that you need to take in order to -make it possible for me to include to your changes. +make it possible for me to include your changes. @enumerate 1 @item @@ -19598,7 +19699,7 @@ Both of these actions are easy to do, and @emph{many} people have done so already. If you have questions, please contact me (@pxref{Bugs, , Reporting Problems and Bugs}), -or @code{gnu@@prep.ai.mit.edu}. +or @code{gnu@@gnu.org}. @item Update the documentation. @@ -19718,7 +19819,7 @@ @ifinfo Both of these actions are easy to do, and @emph{many} people have done so already. If you have questions, please contact me, or -@code{gnu@@prep.ai.mit.edu}. +@code{gnu@@gnu.org}. @end ifinfo @end enumerate @@ -19855,11 +19956,6 @@ The GNU version of @code{malloc} could potentially speed up @code{gawk}, since it relies heavily on the use of dynamic memory allocation. -@item Use of the @code{rx} regexp library -The @code{rx} regular expression library could potentially speed up -all regexp operations that require knowing the exact location of matches. -This includes record termination, field and array splitting, -and the @code{sub}, @code{gsub}, @code{gensub} and @code{match} functions. @end table @node Improvements, , Future Extensions, Notes @@ -20006,7 +20102,7 @@ A preprocessor for @code{pic} that reads descriptions of molecules and produces @code{pic} input for drawing them. It was written in @code{awk} by Brian Kernighan and Jon Bentley, and is available from -@code{@w{netlib@@research.att.com}}. +@email{@w{netlib@@research.bell-labs.com}}. @item Compound Statement A series of @code{awk} statements, enclosed in curly braces. Compound diff -urN awk-3.0.3/eval.c awk/eval.c --- awk-3.0.3/eval.c Sun Oct 26 13:14:53 1997 +++ awk/eval.c Wed Jun 30 15:07:12 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-1997 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -25,8 +25,6 @@ #include "awk.h" -#include - extern double pow P((double x, double y)); extern double modf P((double x, double *yp)); extern double fmod P((double x, double y)); @@ -566,14 +564,26 @@ break; case Node_K_next: + if (in_begin_rule) + fatal("`next' cannot be called from a BEGIN rule"); + else if (in_end_rule) + fatal("`next' cannot be called from an END rule"); + if (in_function()) pop_fcall_stack(); + longjmp(rule_tag, TAG_CONTINUE); break; case Node_K_nextfile: + if (in_begin_rule) + fatal("`nextfile' cannot be called from a BEGIN rule"); + else if (in_end_rule) + fatal("`nextfile' cannot be called from an END rule"); + if (in_function()) pop_fcall_stack(); + do_nextfile(); break; @@ -759,7 +769,8 @@ register size_t len; char *str; register char *dest; - int count; + int alloc_count, str_count; + int i; /* * This is an efficiency hack for multiple adjacent string @@ -773,16 +784,16 @@ /* * But first, no arbitrary limits. Count the number of * nodes and malloc the treelist and strlist arrays. - * There will be count + 1 items to concatenate. We + * There will be alloc_count + 1 items to concatenate. We * also leave room for an extra pointer at the end to - * use as a sentinel. Thus, start count at 2. + * use as a sentinel. Thus, start alloc_count at 2. */ save_tree = tree; - for (count = 2; tree && tree->type == Node_concat; tree = tree->lnode) - count++; + for (alloc_count = 2; tree && tree->type == Node_concat; tree = tree->lnode) + alloc_count++; tree = save_tree; - emalloc(treelist, NODE **, sizeof(NODE *) * count, "tree_eval"); - emalloc(strlist, NODE **, sizeof(NODE *) * count, "tree_eval"); + emalloc(treelist, NODE **, sizeof(NODE *) * alloc_count, "tree_eval"); + emalloc(strlist, NODE **, sizeof(NODE *) * alloc_count, "tree_eval"); /* Now, here we go. */ treep = treelist; @@ -795,15 +806,26 @@ * Now, evaluate to strings in LIFO order, accumulating * the string length, so we can do a single malloc at the * end. + * + * Evaluate the expressions first, then get their + * lengthes, in case one of the expressions has a + * side effect that changes one of the others. + * See test/nasty.awk. */ strp = strlist; len = 0; while (treep >= treelist) { *strp = force_string(tree_eval(*treep--)); - len += (*strp)->stlen; strp++; } *strp = NULL; + + str_count = strp - strlist; + strp = strlist; + for (i = 0; i < str_count; i++) { + len += (*strp)->stlen; + strp++; + } emalloc(str, char *, len+2, "tree_eval"); str[len] = str[len+1] = '\0'; /* for good measure */ dest = str; @@ -1397,6 +1419,11 @@ * r_get_lhs: * This returns a POINTER to a node pointer. get_lhs(ptr) is the current * value of the var, or where to store the var's new value + * + * For the special variables, don't unref their current value if it's + * the same as the internal copy; perhaps the current one is used in + * a concatenation or some other expression somewhere higher up in the + * call chain. Ouch. */ NODE ** @@ -1409,8 +1436,11 @@ if (assign) *assign = NULL; /* for safety */ - if (ptr->type == Node_param_list) + if (ptr->type == Node_param_list) { + if ((ptr->flags & FUNC) != 0) + fatal("can't use function name `%s' as variable or array", ptr->vname); ptr = stack_ptr[ptr->param_cnt]; + } switch (ptr->type) { case Node_var_array: @@ -1444,26 +1474,32 @@ break; case Node_FNR: - unref(FNR_node->var_value); - FNR_node->var_value = make_number((AWKNUM) FNR); + if (FNR_node->var_value->numbr != FNR) { + unref(FNR_node->var_value); + FNR_node->var_value = make_number((AWKNUM) FNR); + } aptr = &(FNR_node->var_value); if (assign != NULL) *assign = set_FNR; break; case Node_NR: - unref(NR_node->var_value); - NR_node->var_value = make_number((AWKNUM) NR); + if (NR_node->var_value->numbr != NR) { + unref(NR_node->var_value); + NR_node->var_value = make_number((AWKNUM) NR); + } aptr = &(NR_node->var_value); if (assign != NULL) *assign = set_NR; break; case Node_NF: - if (NF == -1) - (void) get_field(HUGE-1, assign); /* parse record */ - unref(NF_node->var_value); - NF_node->var_value = make_number((AWKNUM) NF); + if (NF == -1 || NF_node->var_value->numbr != NF) { + if (NF == -1) + (void) get_field(HUGE-1, assign); /* parse record */ + unref(NF_node->var_value); + NF_node->var_value = make_number((AWKNUM) NF); + } aptr = &(NF_node->var_value); if (assign != NULL) *assign = set_NF; diff -urN awk-3.0.3/field.c awk/field.c --- awk-3.0.3/field.c Sun Oct 26 13:14:53 1997 +++ awk/field.c Wed Jun 30 15:07:32 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-1997 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -24,7 +24,6 @@ */ #include "awk.h" -#include typedef void (* Setfunc) P((long, char *, long, NODE *)); @@ -63,6 +62,9 @@ Regexp *FS_regexp = NULL; static NODE *Null_field = NULL; +/* using_FIELDWIDTHS --- static function, macro to avoid overhead */ +#define using_FIELDWIDTHS() (parse_field == fw_parse_field) + /* init_fields --- set up the fields array to start with */ void @@ -140,7 +142,6 @@ char *ops; register char *cops; long i; - char *f0start, *f0end; assert(NF != -1); @@ -184,15 +185,27 @@ * any fields that still point into it, and have them point * into the new field zero. */ - f0start = fields_arr[0]->stptr; - f0end = fields_arr[0]->stptr + fields_arr[0]->stlen; for (cops = ops, i = 1; i <= NF; i++) { - char *field_data = fields_arr[i]->stptr; - - if (fields_arr[i]->stlen > 0 - && f0start <= field_data && field_data < f0end) - fields_arr[i]->stptr = cops; + if (fields_arr[i]->stlen > 0) { + NODE *n; + getnode(n); + + if ((fields_arr[i]->flags & FIELD) == 0) { + *n = *Null_field; + n->stlen = fields_arr[i]->stlen; + if ((fields_arr[i]->flags & (NUM|NUMBER)) != 0) { + n->flags |= (fields_arr[i]->flags & (NUM|NUMBER)); + n->numbr = fields_arr[i]->numbr; + } + } else { + *n = *(fields_arr[i]); + n->flags &= ~(MALLOC|TEMP|PERM|STRING); + } + n->stptr = cops; + unref(fields_arr[i]); + fields_arr[i] = n; + } cops += fields_arr[i]->stlen + ofslen; } @@ -751,7 +764,7 @@ arr->type = Node_var_array; assoc_clear(arr); - if (sep->re_flags & FS_DFLT) { + if ((sep->re_flags & FS_DFLT) != 0 && ! using_FIELDWIDTHS()) { parseit = parse_field; fs = force_string(FS_node->var_value); rp = FS_regexp; @@ -851,20 +864,20 @@ if (fields_arr != NULL) (void) get_field(HUGE - 1, 0); - if (save_fs && cmp_nodes(FS_node->var_value, save_fs) == 0 - && save_rs && cmp_nodes(RS_node->var_value, save_rs) == 0) - return; - unref(save_fs); - save_fs = dupnode(FS_node->var_value); - unref(save_rs); - save_rs = dupnode(RS_node->var_value); - resave_fs = TRUE; - buf[0] = '\0'; - default_FS = FALSE; - if (FS_regexp) { - refree(FS_regexp); - FS_regexp = NULL; + if (! (save_fs && cmp_nodes(FS_node->var_value, save_fs) == 0 + && save_rs && cmp_nodes(RS_node->var_value, save_rs) == 0)) { + unref(save_fs); + save_fs = dupnode(FS_node->var_value); + unref(save_rs); + save_rs = dupnode(RS_node->var_value); + resave_fs = TRUE; + if (FS_regexp) { + refree(FS_regexp); + FS_regexp = NULL; + } } + buf[0] = '\0'; + default_FS = FALSE; fs = force_string(FS_node->var_value); if (! do_traditional && fs->stlen == 0) parse_field = null_parse_field; @@ -887,7 +900,7 @@ if (fs->stptr[0] == ' ' && fs->stlen == 1) default_FS = TRUE; else if (fs->stptr[0] != ' ' && fs->stlen == 1) { - if (! IGNORECASE) + if (! IGNORECASE || ! isalpha(fs->stptr[0])) parse_field = sc_parse_field; else if (fs->stptr[0] == '\\') /* yet another special case */ @@ -910,6 +923,5 @@ int using_fieldwidths() { - return parse_field == fw_parse_field; + return using_FIELDWIDTHS(); } - diff -urN awk-3.0.3/gawkmisc.c awk/gawkmisc.c --- awk-3.0.3/gawkmisc.c Tue Oct 14 20:16:56 1997 +++ awk/gawkmisc.c Wed Apr 28 16:11:16 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991 - 97 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. diff -urN awk-3.0.3/io.c awk/io.c --- awk-3.0.3/io.c Sun Oct 26 13:14:53 1997 +++ awk/io.c Wed Jun 30 15:08:17 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-1997 the Free Software Foundation, Inc. + * Copyright (C) 1976, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -49,8 +49,6 @@ #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) #endif -#include - #if ! defined(S_ISREG) && defined(S_IFREG) #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) #endif @@ -95,19 +93,8 @@ static int pidopen P((IOBUF *iop, const char *name, const char *mode)); static int useropen P((IOBUF *iop, const char *name, const char *mode)); -#if defined (MSDOS) && !defined (__GO32__) +#if defined (HAVE_POPEN_H) #include "popen.h" -#define popen(c, m) os_popen(c, m) -#define pclose(f) os_pclose(f) -#else -#if defined (OS2) /* OS/2, but not family mode */ -#if defined (_MSC_VER) -#define popen(c, m) _popen(c, m) -#define pclose(f) _pclose(f) -#endif -#else -extern FILE *popen(); -#endif #endif static struct redirect *red_head = NULL; @@ -125,6 +112,15 @@ static jmp_buf filebuf; /* for do_nextfile() */ +#ifdef VMS +/* File pointers have an extra level of indirection, and there are cases where + `stdin' can be null. That can crash gawk if fileno() is used as-is. */ +static int vmsrtl_fileno P((FILE *)); +static int vmsrtl_fileno(fp) FILE *fp; { return fileno(fp); } +#undef fileno +#define fileno(FP) (((FP) && *(FP)) ? vmsrtl_fileno(FP) : -1) +#endif /* VMS */ + /* do_nextfile --- implement gawk "nextfile" extension */ void @@ -487,9 +483,10 @@ /* too many files open -- close one and try again */ if (errno == EMFILE || errno == ENFILE) close_one(); -#ifdef HAVE_MMAP +#if defined __MINGW32__ || defined HAVE_MMAP /* this works for solaris 2.5, not sunos */ - else if (errno == 0) /* HACK! */ + /* it is also needed for MINGW32 */ + else if (errno == 0) /* HACK! */ close_one(); #endif else { @@ -573,24 +570,22 @@ tmp = force_string(tree_eval(tree->subnode)); - /* icky special case: close(FILENAME) called. */ - if (tree->subnode == FILENAME_node - || (tmp->stlen == FILENAME_node->var_value->stlen - && STREQN(tmp->stptr, FILENAME_node->var_value->stptr, tmp->stlen))) { - (void) nextfile(TRUE); - free_temp(tmp); - return tmp_number((AWKNUM) 0.0); - } - for (rp = red_head; rp != NULL; rp = rp->next) { if (strlen(rp->value) == tmp->stlen && STREQN(rp->value, tmp->stptr, tmp->stlen)) break; } + if (rp == NULL) { /* no match */ - if (do_lint) + /* icky special case: close(FILENAME) called. */ + if (tree->subnode == FILENAME_node + || (tmp->stlen == FILENAME_node->var_value->stlen + && STREQN(tmp->stptr, FILENAME_node->var_value->stptr, tmp->stlen))) { + (void) nextfile(TRUE); + } else if (do_lint) warning("close: `%.*s' is not an open file or pipe", tmp->stlen, tmp->stptr); + free_temp(tmp); return tmp_number((AWKNUM) 0.0); } @@ -888,11 +883,11 @@ int i; if (name[6] == 'g') - sprintf(tbuf, "%d\n", getpgrp(getpgrp_arg())); + sprintf(tbuf, "%d\n", (int) getpgrp(getpgrp_arg())); else if (name[6] == 'i') - sprintf(tbuf, "%d\n", getpid()); + sprintf(tbuf, "%d\n", (int) getpid()); else - sprintf(tbuf, "%d\n", getppid()); + sprintf(tbuf, "%d\n", (int) getppid()); i = strlen(tbuf); spec_setup(iop, i, TRUE); strcpy(iop->buf, tbuf); @@ -923,7 +918,7 @@ int ngroups; #endif - sprintf(tbuf, "%d %d %d %d", getuid(), geteuid(), getgid(), getegid()); + sprintf(tbuf, "%d %d %d %d", (int) getuid(), (int) geteuid(), (int) getgid(), (int) getegid()); cp = tbuf + strlen(tbuf); #if defined(NGROUPS_MAX) && NGROUPS_MAX > 0 @@ -1008,7 +1003,7 @@ if (openfd == INVALID_HANDLE) openfd = open(name, flag, 0666); if (openfd != INVALID_HANDLE && fstat(openfd, &buf) > 0) - if ((buf.st_mode & S_IFMT) == S_IFDIR) + if (S_ISDIR(buf.st_mode)) fatal("file `%s' is a directory", name); return iop_alloc(openfd, name, iop); } @@ -1120,7 +1115,7 @@ * except if popen() provides real pipes too */ -#if defined(VMS) || defined(OS2) || defined (MSDOS) +#if defined(VMS) || defined(OS2) || defined (MSDOS) || defined(WIN32) /* gawk_popen --- open an IOBUF on a child process */ @@ -1135,7 +1130,7 @@ return NULL; rp->iop = iop_alloc(fileno(current), cmd, NULL); if (rp->iop == NULL) { - (void) fclose(current); + (void) pclose(current); current = NULL; } rp->ifp = current; @@ -1434,7 +1429,12 @@ iop->name = name; iop->getrec = get_a_record; #ifdef HAVE_MMAP - if (S_ISREG(sbuf.st_mode) && sbuf.st_size > 0) { + /* Use mmap only for regular files with positive sizes. + The size must fit into size_t, so that mmap works correctly. + Also, it must fit into int, so that iop->cnt won't overflow. */ + if (S_ISREG(sbuf.st_mode) && sbuf.st_size > 0 + && sbuf.st_size == (size_t) sbuf.st_size + && sbuf.st_size == (int) sbuf.st_size) { register char *cp; iop->buf = iop->off = mmap((caddr_t) 0, sbuf.st_size, @@ -1535,7 +1535,7 @@ return EOF; } - if (grRS == FALSE) /* special case: RS == "" */ + if (RS_is_null) /* special case: RS == "" */ rs = '\n'; else rs = (char) grRS; @@ -1648,7 +1648,7 @@ */ if (! do_traditional && RSre != NULL) /* regexp */ rsre = RSre; - else if (grRS == FALSE) /* RS = "" */ + else if (RS_is_null) /* RS = "" */ rsre = RS_null_re; else rsre = NULL; @@ -1675,6 +1675,21 @@ /* cases 1 and 2 are simple, just keep going */ if (research(rsre, start, 0, iop->end - start, TRUE) == -1 || RESTART(rsre, start) == REEND(rsre, start)) { + /* + * Leading newlines at the beginning of the file + * should be ignored. Whew! + */ + if (RS_is_null && *start == '\n') { + /* + * have to catch the case of a + * single newline at the front of + * the record, which the regex + * doesn't. gurr. + */ + while (*start == '\n' && start < iop->end) + start++; + goto again; + } bp = iop->end; continue; } @@ -1690,8 +1705,10 @@ /* * Leading newlines at the beginning of the file * should be ignored. Whew! + * + * Is this code ever executed? */ - if (grRS == FALSE && RESTART(rsre, start) == 0) { + if (RS_is_null && RESTART(rsre, start) == 0) { start += REEND(rsre, start); goto again; } @@ -1737,7 +1754,7 @@ bstart = bp; } *bp = '\0'; - } else if (grRS == FALSE && iop->cnt == EOF) { + } else if (RS_is_null && iop->cnt == EOF) { /* * special case, delete trailing newlines, * should never be more than one. @@ -1811,7 +1828,7 @@ return EOF; } - if (grRS == FALSE) /* special case: RS == "" */ + if (RS_is_null) /* special case: RS == "" */ rs = '\n'; else rs = (char) grRS; @@ -1821,7 +1838,7 @@ rs = casetable[rs]; /* if RS = "", skip leading newlines at the front of the file */ - if (grRS == FALSE && iop->off == iop->buf) { + if (RS_is_null && iop->off == iop->buf) { for (bp = iop->off; *bp == '\n'; bp++) continue; @@ -1835,7 +1852,7 @@ */ if (! do_traditional && RSre != NULL) /* regexp */ rsre = RSre; - else if (grRS == FALSE) /* RS = "" */ + else if (RS_is_null) /* RS = "" */ rsre = RS_null_re; else rsre = NULL; @@ -1862,7 +1879,7 @@ iop->off = iop->end; /* all done with the record */ set_RT_to_null(); /* special case, don't allow trailing newlines */ - if (grRS == FALSE && *(iop->end - 1) == '\n') + if (RS_is_null && *(iop->end - 1) == '\n') return iop->end - start - 1; else return iop->end - start; diff -urN awk-3.0.3/main.c awk/main.c --- awk-3.0.3/main.c Sun Oct 26 13:14:54 1997 +++ awk/main.c Mon May 3 12:24:45 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-1997 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -439,8 +439,8 @@ fputs("\t-W traditional\t\t--traditional\n", fp); fputs("\t-W usage\t\t--usage\n", fp); fputs("\t-W version\t\t--version\n", fp); - fputs("\nReport bugs to bug-gnu-utils@prep.ai.mit.edu,\n", fp); - fputs("with a Cc: to arnold@gnu.ai.mit.edu\n", fp); + fputs("\nReport bugs to bug-gnu-utils@gnu.org,\n", fp); + fputs("with a Cc: to arnold@gnu.org\n", fp); exit(exitval); } @@ -450,7 +450,7 @@ copyleft() { static char blurb_part1[] = -"Copyright (C) 1989, 1991-1997 Free Software Foundation.\n\ +"Copyright (C) 1989, 1991-1999 Free Software Foundation.\n\ \n\ This program is free software; you can redistribute it and/or modify\n\ it under the terms of the GNU General Public License as published by\n\ diff -urN awk-3.0.3/msg.c awk/msg.c --- awk-3.0.3/msg.c Tue Oct 14 20:16:54 1997 +++ awk/msg.c Wed Apr 28 16:11:35 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-1997 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. diff -urN awk-3.0.3/node.c awk/node.c --- awk-3.0.3/node.c Sun Oct 26 13:14:54 1997 +++ awk/node.c Wed Apr 28 16:11:38 1999 @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-1997 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -36,6 +36,7 @@ char save; char *ptr; unsigned int newflags; + extern double strtod(); #ifdef DEBUG if (n == NULL) @@ -140,7 +141,16 @@ /* not an integral value, or out of range */ if ((val = double_to_int(s->numbr)) != s->numbr || val < LONG_MIN || val > LONG_MAX) { -#ifdef GFMT_WORKAROUND + /* + * Once upon a time, if GFMT_WORKAROUND wasn't defined, + * we just blindly did this: + * sprintf(sp, format, s->numbr); + * s->stlen = strlen(sp); + * s->stfmt = (char) index; + * but that's no good if, e.g., OFMT is %s. So we punt, + * and just always format the value ourselves. + */ + NODE *dummy, *r; unsigned short oflags; extern NODE *format_tree P((const char *, int, NODE *)); @@ -161,15 +171,6 @@ freenode(dummy); /* to keep s->stptr == r->stpr. */ goto no_malloc; -#else - /* - * no need for a "replacement" formatting by gawk, - * just use sprintf - */ - sprintf(sp, format, s->numbr); - s->stlen = strlen(sp); - s->stfmt = (char) index; -#endif /* GFMT_WORKAROUND */ } else { /* integral value */ /* force conversion to long only once */ @@ -183,11 +184,9 @@ } s->stfmt = -1; } - emalloc(s->stptr, char *, s->stlen + 2, "force_string"); + emalloc(s->stptr, char *, s->stlen + 2, "format_val"); memcpy(s->stptr, sp, s->stlen+1); -#ifdef GFMT_WORKAROUND no_malloc: -#endif /* GFMT_WORKAROUND */ s->stref = 1; s->flags |= STR; return s; @@ -495,7 +494,9 @@ } i = 0; for (;;) { - if (ISXDIGIT((c = *(*string_ptr)++))) { + /* do outside test to avoid multiple side effects */ + c = *(*string_ptr)++; + if (ISXDIGIT(c)) { i *= 16; if (ISDIGIT(c)) i += c - '0'; diff -urN awk-3.0.3/patchlevel.h awk/patchlevel.h --- awk-3.0.3/patchlevel.h Tue Oct 14 20:16:54 1997 +++ awk/patchlevel.h Sun Jun 27 11:28:04 1999 @@ -1 +1 @@ -#define PATCHLEVEL 3 +#define PATCHLEVEL 4 diff -urN awk-3.0.3/posix/ChangeLog awk/posix/ChangeLog --- awk-3.0.3/posix/ChangeLog Tue Oct 14 20:17:01 1997 +++ awk/posix/ChangeLog Wed Jun 30 15:15:24 1999 @@ -1,3 +1,7 @@ +Wed Jun 30 16:14:36 1999 Arnold D. Robbins + + * Release 3.0.4: Release tar file made. This time for sure. + Thu May 15 12:49:08 1997 Arnold D. Robbins * Release 3.0.3: Release tar file made. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 2:17:30 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 106E914ED5; Sat, 4 Dec 1999 02:17:28 -0800 (PST) (envelope-from tanimura@FreeBSD.org) Received: (from tanimura@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA59762; Sat, 4 Dec 1999 02:16:21 -0800 (PST) (envelope-from tanimura@FreeBSD.org) Date: Sat, 4 Dec 1999 02:16:21 -0800 (PST) From: Message-Id: <199912041016.CAA59762@freefall.freebsd.org> To: kargl@troutmask.apl.washington.edu, tanimura@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/15243: added ViBRA16CL support to sbc.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: added ViBRA16CL support to sbc.c State-Changed-From-To: open->closed State-Changed-By: tanimura State-Changed-When: Sat Dec 4 02:13:52 PST 1999 State-Changed-Why: The ID has been added in rev 1.5 of sbc.c, thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 4: 6:31 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from smtp04.wxs.nl (smtp04.wxs.nl [195.121.6.59]) by hub.freebsd.org (Postfix) with ESMTP id A064414FF8; Sat, 4 Dec 1999 04:06:27 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.196.10]) by smtp04.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAB3445; Sat, 4 Dec 1999 13:06:24 +0100 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id MAA03429; Sat, 4 Dec 1999 12:42:23 +0100 (CET) (envelope-from asmodai) Date: Sat, 4 Dec 1999 12:42:23 +0100 From: Jeroen Ruigrok/Asmodai To: Mikhail Teterin Cc: gnats-admin@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/15227: New option for vacation(1) -- dir to use instead of $HOME Message-ID: <19991204124223.A3330@daemon.ninth-circle.org> References: <199912021820.KAA20948@freefall.freebsd.org> <199912040039.TAA27558@misha.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199912040039.TAA27558@misha.cisco.com>; from mi@aldan.algebra.com on Fri, Dec 03, 1999 at 07:39:15PM -0500 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Would you care to look at www.sendmail.org and see if the vacation program they are including now has this feature and if not also submit it up for review with them? Since we still have sendmail as base mailer vacation will probably going to get installed from the new sendmail in the base system and thus it would be more sensible to take it up with sendmail.org. -- Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl The BSD Programmer's Documentation Project Network/Security Specialist BSD: Technical excellence at its best Learn e-mail netiquette: http://www.lemis.com/email.html ...fools rush in where Daemons fear to tread. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 6:30:14 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7CBFC14FBE for ; Sat, 4 Dec 1999 06:30:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA75520; Sat, 4 Dec 1999 06:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sat, 4 Dec 1999 06:30:02 -0800 (PST) Message-Id: <199912041430.GAA75520@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Eric Veraart Subject: Re: kern/14072: Rebooting in FreeBSD 3.3 wipes out known active partition (can't boot). Reply-To: Eric Veraart Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/14072; it has been noted by GNATS. From: Eric Veraart To: freebsd-gnats-submit@freebsd.org, rgyip@students.wisc.edu Cc: Subject: Re: kern/14072: Rebooting in FreeBSD 3.3 wipes out known active partition (can't boot). Date: Sat, 04 Dec 1999 15:26:50 +0100 You can boot from floppy and run FDISK, but it's irritating to boot from floppy everytime I've run FreeBSD 3.3 (I run it on my secondary disk, primary disk contains Win 95 and is set inactive everytime I run FreeBSD). Isn't there a way that when you shutdown FreeBSD it sets the first partition on your first HD active? Eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 7:11:56 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 83F0114CB9 for ; Sat, 4 Dec 1999 07:11:46 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA31706; Sat, 4 Dec 1999 07:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sat, 4 Dec 1999 07:10:01 -0800 (PST) Message-Id: <199912041510.HAA31706@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Steve Price Subject: Re: bin/15227: New option for vacation(1) -- dir to use instead of $HOME (fwd) Reply-To: Steve Price Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15227; it has been noted by GNATS. From: Steve Price To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: bin/15227: New option for vacation(1) -- dir to use instead of $HOME (fwd) Date: Sat, 4 Dec 1999 09:07:42 -0600 (CST) ---------- Forwarded message ---------- Date: Fri, 3 Dec 1999 19:39:15 -0500 (EST) From: Mikhail Teterin To: gnats-admin@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/15227: New option for vacation(1) -- dir to use instead of $HOME Please, consider this patch instead. It adds: * ability to force the reply address with -F option * uses From and Reply-To headers if any -- the fact that our old vacation is NOT doing this, should've been send-pr-ed long time ago * invokes sendmail with -t -- plain and simple * finally! replaces $SUBJECT with the original message's subject anywhere in .vacation.msg Thanks! -mi --- /usr/src/usr.bin/vacation/vacation.c.orig Tue Sep 28 18:42:09 1999 +++ usr.bin/vacation/vacation.c Fri Dec 3 18:55:46 1999 @@ -82,2 +82,4 @@ #define VMSG ".vacation.msg" /* vacation message */ +#define VSBJ "$SUBJECT" /* the string in .vacation.msg to be replaced */ + /* with the message's subject */ @@ -92,2 +94,6 @@ char from[MAXLINE]; +char *From = from; +char subject[MAXLINE]; +int sawsubj = 0; + void (*msglog)(int, const char *, ...) = &syslog; @@ -117,2 +123,3 @@ int ch, iflag, lflag, mfail, ufail; + char *dir = NULL; @@ -120,3 +127,3 @@ interval = -1; - while ((ch = getopt(argc, argv, "a:dIilr:")) != -1) { + while ((ch = getopt(argc, argv, "a:dIilr:D:F:")) != -1) { switch((char)ch) { @@ -150,2 +157,8 @@ break; + case 'D': + dir = optarg; + break; + case 'F': + From = optarg; + break; case '?': @@ -183,5 +196,7 @@ } - if (chdir(pw->pw_dir)) { + if (!dir) + dir = pw->pw_dir; + if (chdir(dir)) { msglog(LOG_NOTICE, - "vacation: no such directory %s.\n", pw->pw_dir); + "vacation: %s: %s.\n", dir, strerror(errno)); exit(1); @@ -235,18 +250,52 @@ register char *p; - int tome, cont; + int tome, cont, replyto; char buf[MAXLINE]; - cont = tome = 0; + cont = tome = replyto = 0; while (fgets(buf, sizeof(buf), stdin) && *buf != '\n') switch(*buf) { - case 'F': /* "From " */ + case 'S': /* "Subject: " */ + cont = 0; + if (!strncmp(buf, "Subject: ", 9)) { + (void)strcpy(subject, buf + 9); + if ((p = index(subject, '\n'))) + *p = '\0'; + sawsubj = 1; + } + break; + case 'F': /* "From " or "From: " */ cont = 0; - if (!strncmp(buf, "From ", 5)) { + if(From != from || replyto) /* return address was given on the */ + break; /* command line, or saw Reply-To */ + if (buf[1] != 'r' || buf[2] != 'o' || buf[3] != 'm' || + (buf[4] != ' ' && buf[4] != ':')) + break; + if (buf[4] == ' ') { /* Deal with the first, "From " line */ for (p = buf + 5; *p && *p != ' '; ++p); *p = '\0'; - (void)strcpy(from, buf + 5); - if ((p = index(from, '\n'))) + if ((p = index(buf, '\n'))) *p = '\0'; + (void)strcpy(from, buf + 5); if (junkmail()) exit(0); + } else { /* Deal with the "official" From: line */ + if ((p = index(buf, '\n'))) + *p = '\0'; + (void)strcpy(from, buf + 5); + } + break; + case 'R': /* Reply-To: */ + cont = 0; + if(From != from) /* Return address forced by cmd line */ + break; + if (!strncasecmp(buf, "Reply-To: ", 10)) { + if ((p = index(buf, '\n'))) + *p = '\0'; + (void)strcpy(from, buf + 10); + if(replyto) { + msglog(LOG_NOTICE, "vacation: multiple (%d) Reply-To:" + " headers. Only using the last one (%s)\n", + replyto, from); + } + replyto++; } @@ -288,4 +337,4 @@ exit(0); - if (!*from) { - msglog(LOG_NOTICE, "vacation: no initial \"From\" line.\n"); + if (!*From) { + msglog(LOG_NOTICE, "vacation: no initial \"From\" line and no -F option.\n"); exit(1); @@ -315,2 +364,3 @@ * read the header and return if automagic/junk/bulk/list mail + * only invoked if the -F option was not given on command line */ @@ -376,4 +426,4 @@ /* get record for this address */ - key.data = from; - key.size = strlen(from); + key.data = From; + key.size = strlen(From); if (!(db->get)(db, &key, &data, 0)) { @@ -413,4 +463,4 @@ - key.data = from; - key.size = strlen(from); + key.data = From; + key.size = strlen(From); (void)time(&now); @@ -433,2 +483,3 @@ char buf[MAXLINE]; + char *beg, *end; @@ -453,3 +504,3 @@ close(fileno(mfp)); - execl(_PATH_SENDMAIL, "sendmail", "-f", myname, "--", from, NULL); + execl(_PATH_SENDMAIL, "sendmail", "-t", NULL); msglog(LOG_ERR, "vacation: can't exec %s: %s", @@ -460,5 +511,17 @@ sfp = fdopen(pvect[1], "w"); - fprintf(sfp, "To: %s\n", from); - while (fgets(buf, sizeof buf, mfp)) - fputs(buf, sfp); + fprintf(sfp, "To: %s\n", From); + /* Output every line, substitutin every $SUBJECT with the subject */ + while (fgets(buf, sizeof buf, mfp)) { + for(beg = buf; (end = strstr(beg, VSBJ)); beg = end + sizeof(VSBJ) - 1) { + *end = '\0'; + fputs(beg, sfp); + if (!sawsubj) { + msglog(LOG_NOTICE, "vacation: message with no subject\n"); + subject[0] = '\0'; + sawsubj = 1; + } + fputs(subject, sfp); + } + fputs(beg, sfp); + } fclose(mfp); @@ -470,3 +533,4 @@ { - msglog(LOG_NOTICE, "uid %u: usage: vacation [-d] [-i [-rinterval]] [-l] [-a alias] login\n", + msglog(LOG_NOTICE, "uid %u: usage: vacation [-d] [-i [-rinterval]] [-l] " + "[-a alias [-a alias ...]] [-D dir] [-F correspondent] login\n", getuid()); --- /usr/src/usr.bin/vacation/vacation.1.orig Mon Aug 30 03:15:30 1999 +++ usr.bin/vacation/vacation.1 Fri Dec 3 19:31:55 1999 @@ -45,2 +45,3 @@ .Op Fl r Ar interval +.Op Fl D Ar dir .Nm vacation @@ -48,4 +49,7 @@ .Fl l +.Op Fl D Ar dir .Nm vacation .Op Fl d +.Op Fl D Ar dir +.Op Fl F Ar address .Op Fl a Ar alias @@ -78,2 +82,17 @@ Enable debugging mode. See below. +.It Fl D Ar dir +Use +.Ar dir +instead of the user's home directory. This can be used +to allow the same user respond differently to different +messages, or to simply speed up mail processing by placing +the database "closer" to the mailserver (local filesystem +vs. NFS, for example). +.It Fl F Ar address +Use +.Ar address +instead of whatever address can be found in the message headers. +This may be usefull if you have something else (like procmail) +figure out the address, or you just want to notify the same person +or mailing list periodicly. .It Fl i @@ -132,3 +151,3 @@ .Pa .vacation.db -in your home directory. +in your home directory (see also -D option). .Pp @@ -137,5 +156,8 @@ .Pa .vacation.msg , -in your home directory, containing a message to be sent back to each -sender. It should be an entire message (including headers). For -example, it might contain: +in your home directory (see also -D option), containing a message to be +sent back to each sender. It should be an entire message (including +headers). If the string $SUBJECT appears in the .vacation.msg file, it +will be replaced with the subject of the original message in the reply. + +For example, it might contain: .Pp @@ -143,3 +165,3 @@ From: eric@CS.Berkeley.EDU (Eric Allman) -Subject: I am on vacation +Subject: I am on vacation (Re: $SUBJECT) Delivered-By-The-Graces-Of: The Vacation program @@ -152,7 +174,6 @@ .Pp -.Nm Vacation -reads the first line from the standard input for a -.Ux -.Dq From -line to determine the sender. +Older +.Nm vacation +only used the first line with "From " +from the standard input to determine the sender. .Xr Sendmail 8 @@ -161,2 +182,13 @@ line automatically. +Now FreeBSD's +.Nm vacation +properly handles +.Dq From: +and +.Dq Reply-To: +headers. The last +.Dq From: +header found is used. If there are any +.Dq Reply-To: +headers, the last one of them is used instead. .Pp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 10:12:59 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 80A0214CD0 for ; Sat, 4 Dec 1999 10:12:56 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA42140; Sat, 4 Dec 1999 10:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from cichlids.com (as12-120.rp-plus.de [149.221.242.120]) by hub.freebsd.org (Postfix) with ESMTP id 466EC14C28 for ; Sat, 4 Dec 1999 10:05:47 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 816FCAB84 for ; Sat, 4 Dec 1999 19:04:59 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id TAA00574; Sat, 4 Dec 1999 19:05:14 +0100 (CET) (envelope-from alex) Message-Id: <199912041805.TAA00574@cichlids.cichlids.com> Date: Sat, 4 Dec 1999 19:05:14 +0100 (CET) From: alex@big.endian.de Reply-To: alex@big.endian.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15257: Patch for sys/dev/sound/isa/sbc.c to detect AWE 64 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15257 >Category: kern >Synopsis: Patch to detect AWE 64 PnP for sys/dev/sound/isa/sbc.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 4 10:10:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Alexander Langer >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: latest -current >Description: Without this patch my AWE 64 is not detected, it's just an unknown0: card Problem: Missing vendor_id2 check in sbc.c. >How-To-Repeat: Buy a card of the model I have :-) >Fix: Apply this patch: --- sbc.c.old Sat Dec 4 18:46:07 1999 +++ sbc.c Sat Dec 4 18:53:36 1999 @@ -136,6 +136,8 @@ case 0x45008c0e: /* Creative SB AWE64 (CTL0045) */ if (vend_id2 == 0xe4008c0e) s = "Creative SB AWE64 (CTL0045)"; + else if (vend_id2 == 0xc3008c0e) + s = "Creative SB AWE64 (CTL0045)"; break; #if notdef case 0x01200001: /* Avance Logic */ I won't include the complete output of pnpinfo(8) here, I think it's not needed. Only the important lines: Card assigned CSN #1 Vendor ID CTL00c3 (0xc3008c0e), Serial Number 0x1bae3b6c PnP Version 1.0, Vendor Version 16 Device Description: Creative SB AWE64 PnP *** Small Vendor Tag Detected Logical Device ID: CTL0045 0x45008c0e #0 Device Description: Audio TAG Start DF Good Configuration Now I have a: sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 pcm1: on sbc0 pcm: setmap 50000, ff00; 0xcd8d3000 -> 50000 pcm: setmap 60000, ff00; 0xcd8e3000 -> 60000 unknown0: at port 0x200-0x207 on isa0 unknown1: at port 0x620-0x623 on isa0 and it works without problems (just listening to some MP3's while creating this PR) Please commit, I don't want to patch sbc.c everytime myself in future :-) Alex >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 10:20: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 050DE14C28 for ; Sat, 4 Dec 1999 10:20:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA42552; Sat, 4 Dec 1999 10:20:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sat, 4 Dec 1999 10:20:03 -0800 (PST) Message-Id: <199912041820.KAA42552@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Matthew Jacob Subject: Re: bin/15025: chio appears to ignore ACCESS field Reply-To: Matthew Jacob Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15025; it has been noted by GNATS. From: Matthew Jacob To: "Kenneth D. Merry" Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/15025: chio appears to ignore ACCESS field Date: Sat, 4 Dec 1999 10:14:36 -0800 (PST) I think, after we've discussed this, that you should probably just close it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 10:31:30 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 191E3151F9; Sat, 4 Dec 1999 10:31:28 -0800 (PST) (envelope-from joe@FreeBSD.org) Received: (from joe@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA43058; Sat, 4 Dec 1999 10:30:49 -0800 (PST) (envelope-from joe@FreeBSD.org) Date: Sat, 4 Dec 1999 10:30:49 -0800 (PST) From: Message-Id: <199912041830.KAA43058@freefall.freebsd.org> To: joe@FreeBSD.org, freebsd-bugs@FreeBSD.org, joe@FreeBSD.org Subject: Re: bin/15229: mtree - different from mtree in NetBSD 1.4 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: mtree - different from mtree in NetBSD 1.4 Responsible-Changed-From-To: freebsd-bugs->joe Responsible-Changed-By: joe Responsible-Changed-When: Sat Dec 4 10:27:53 PST 1999 Responsible-Changed-Why: I have a working patch set that implementschanges like these, as discussed with imp and brian at FreeBSDCon. I'll take a look at the NetBSD version and see whether it's more suitable to use their version, or mine. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 11:13:55 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id E5ED214CD4 for ; Sat, 4 Dec 1999 11:13:52 -0800 (PST) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id LAA10510; Sat, 4 Dec 1999 11:14:09 -0800 Date: Sat, 4 Dec 1999 11:14:09 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Feisal Mohammed Cc: freebsd-bugs@freebsd.org Subject: Re: kern/15069: T400s hangs on any access In-Reply-To: <38496514.638F051E@uwi.tt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 4 Dec 1999, Feisal Mohammed wrote: > mjacob@FreeBSD.org wrote: > > > First of all, you have to have a tape in the drive for any open of the > > non-control device to work at all. See the sa(4) man page on this. > Ah hah! sometimes it does pay to read the man pages. I checked > but it does not say so explictly just by implication. Point taken. > > > Second, is there anything on this tape you inserted? Did the read ever > > time out? > Yes the tape was a dump from a 2.2.7 system. > > I waited longer this time and after 6 mins the driver gave some other messages > 14:40:08 (sa0:adv0:0:4:0): sastrategy: enqueuing a 32768 fixed byte read queue count now 1 > 14:40:08 (sa0:adv0:0:4:0): sastart(sa0:adv0:0:4:0): Fixed Record Count is 64 > 14:40:08 (sa0:adv0:0:4:0): READ(06). CDB: 8 1 0 0 40 0 <-- restore -i started > > 14:46:07 (sa0:adv0:0:4:0): saopen(0): dev=0x0 softc=0x80b > 14:46:07 (sa0:adv0:0:4:0): saclose(0): dev=0x0 softc=0x80b > > and finally after 20 minutes still nothing! Hmm. > > > I hate to keep asking these questions, but I sure don't have one of these > > drives. The closes one I have is a T20 and it works fine. > I don't mind the questions, I do want to get it working. I installed > the drive temporarily on a 2.2.7 system to restore my files and needless > to say it worked there :-( Ooh, that's always a painful one. I sure wish I knew what it's unhappy about. I think if I understood the messages you sent, you're working from a -stable kernel that does *not* inlude the changes I committed yesterday. If you could managed to get a new kernel from yesterday's -stable bits, see if *that* helps at all. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 17:20:54 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5E03C1538F for ; Sat, 4 Dec 1999 17:20:49 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA06846; Sat, 4 Dec 1999 17:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from cichlids.com (as7-011.rp-plus.de [149.221.239.11]) by hub.freebsd.org (Postfix) with ESMTP id 2460A14E9D for ; Sat, 4 Dec 1999 17:11:06 -0800 (PST) (envelope-from alex@cichlids.com) Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id DFE0AAB84 for ; Sat, 4 Dec 1999 20:26:33 +0100 (CET) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id UAA01552; Sat, 4 Dec 1999 20:26:47 +0100 (CET) (envelope-from alex) Message-Id: <199912041926.UAA01552@cichlids.cichlids.com> Date: Sat, 4 Dec 1999 20:26:47 +0100 (CET) From: alex@big.endian.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/15262: tools/diag/httpd-error wants BSD-license but doesn't have it Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15262 >Category: misc >Synopsis: add BSD-style-license to tools/diag/httpd-error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 4 17:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Alexander Langer >Release: FreeBSD 4.0-CURRENT i386 >Organization: none >Environment: cvsup'ed last night >Description: #!/bin/sh # Copyright (c) 1998 by Wolfram Schneider , Berlin. # # Wolfram probably forgot to add it. I happened to see it, so... >How-To-Repeat: >Fix: --- httpd-error.old Sat Dec 4 20:21:30 1999 +++ httpd-error Sat Dec 4 20:22:57 1999 @@ -1,6 +1,28 @@ #!/bin/sh # Copyright (c) 1998 by Wolfram Schneider , Berlin. -# +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# # # httpd-error - check for Web files which does not exists on your host # >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 17:41:47 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 56BFA1537A; Sat, 4 Dec 1999 17:41:46 -0800 (PST) (envelope-from cpiazza@FreeBSD.org) Received: (from cpiazza@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA08129; Sat, 4 Dec 1999 17:41:46 -0800 (PST) (envelope-from cpiazza@FreeBSD.org) Date: Sat, 4 Dec 1999 17:41:46 -0800 (PST) From: Message-Id: <199912050141.RAA08129@freefall.freebsd.org> To: cpiazza@FreeBSD.org, freebsd-bugs@FreeBSD.org, wosch@FreeBSD.org Subject: Re: misc/15262: add BSD-style-license to tools/diag/httpd-error Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: add BSD-style-license to tools/diag/httpd-error Responsible-Changed-From-To: freebsd-bugs->wosch Responsible-Changed-By: cpiazza Responsible-Changed-When: Sat Dec 4 17:41:29 PST 1999 Responsible-Changed-Why: Wosch's program To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 20:35:53 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7BBC8152AA; Sat, 4 Dec 1999 20:35:50 -0800 (PST) (envelope-from tanimura@FreeBSD.org) Received: (from tanimura@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA18770; Sat, 4 Dec 1999 20:35:42 -0800 (PST) (envelope-from tanimura@FreeBSD.org) Date: Sat, 4 Dec 1999 20:35:42 -0800 (PST) From: Message-Id: <199912050435.UAA18770@freefall.freebsd.org> To: alex@big.endian.de, tanimura@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/15257: Patch to detect AWE 64 PnP for sys/dev/sound/isa/sbc.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Patch to detect AWE 64 PnP for sys/dev/sound/isa/sbc.c State-Changed-From-To: open->closed State-Changed-By: tanimura State-Changed-When: Sat Dec 4 20:35:15 PST 1999 State-Changed-Why: sbc driver now calls ISA_PNP_PROBE(), which matches only the logical ID. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 21:21:33 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9711A153DF; Sat, 4 Dec 1999 21:21:29 -0800 (PST) (envelope-from ken@FreeBSD.org) Received: (from ken@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA20958; Sat, 4 Dec 1999 21:20:41 -0800 (PST) (envelope-from ken@FreeBSD.org) Date: Sat, 4 Dec 1999 21:20:41 -0800 (PST) From: Message-Id: <199912050520.VAA20958@freefall.freebsd.org> To: mjacob@feral.com, ken@FreeBSD.org, freebsd-bugs@FreeBSD.org, ken@FreeBSD.org Subject: Re: bin/15025: chio appears to ignore ACCESS field Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: chio appears to ignore ACCESS field State-Changed-From-To: open->closed State-Changed-By: ken State-Changed-When: Sat Dec 4 21:19:24 PST 1999 State-Changed-Why: Closed at the request of the submitter. Responsible-Changed-From-To: freebsd-bugs->ken Responsible-Changed-By: ken Responsible-Changed-When: Sat Dec 4 21:19:24 PST 1999 Responsible-Changed-Why: My driver. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 22:20:20 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1105414EE3 for ; Sat, 4 Dec 1999 22:20:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA23723; Sat, 4 Dec 1999 22:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from s02.arpa-canada.net (s02.arpa-canada.net [209.104.118.66]) by hub.freebsd.org (Postfix) with SMTP id E3D9F14EE3 for ; Sat, 4 Dec 1999 22:16:56 -0800 (PST) (envelope-from matt@s02.arpa-canada.net) Received: (qmail 42445 invoked by uid 1000); 5 Dec 1999 06:16:53 -0000 Message-Id: <19991205061653.42444.qmail@s02.arpa-canada.net> Date: 5 Dec 1999 06:16:53 -0000 From: matt@S02.ARPA-CANADA.NET Reply-To: matt@S02.ARPA-CANADA.NET To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/15267: CHANGE-REQUEST: WHOIS(1) - Support Internic.CA (Canada) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15267 >Category: bin >Synopsis: CHANGE-REQUEST: WHOIS(1) - Support Internic.CA (Canada) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 4 22:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Matt >Release: FreeBSD 3.3-STABLE i386 >Organization: N/A >Environment: N/A >Description: WHOIS(1) had no builtin support for whois.internic.ca which is the Canadian Internic Registry. As a Canadian, I hate to be left out. Therefore, I added support for whois.internic.ca via 'whois -c [domain.ca]' Thanks in advance for (hopefully) accepting this addition. >How-To-Repeat: N/A >Fix: This is diffed against 3.3-STABLE source, has been tested locally by myself on 3.3-STABLE machine, manpage update also included and tested. ---- START CUT: WHOIS.DIFF ---- diff -urbN whois.old/whois.1 whois/whois.1 --- whois.old/whois.1 Fri Sep 17 10:35:56 1999 +++ whois/whois.1 Sat Dec 4 21:25:51 1999 @@ -40,7 +40,7 @@ .Nd Internet domain name and network number directory service .Sh SYNOPSIS .Nm whois -.Op Fl adgprR +.Op Fl acdgprR .Op Fl h Ar host .Ar name ... .Sh DESCRIPTION @@ -58,6 +58,10 @@ covered neither by .Tn APNIC nor by .Tn RIPE . +.It Fl c +Use the Canadian Internic Registry +database. It contains points of contact for subdomains of +.Tn \&.CA . .It Fl d Use the US Department of Defense database. It contains points of contact for subdomains of diff -urbN whois.old/whois.c whois/whois.c --- whois.old/whois.c Sat Dec 4 21:21:28 1999 +++ whois/whois.c Sat Dec 4 21:25:51 1999 @@ -57,6 +57,7 @@ #include #define NICHOST "whois.internic.net" +#define CNICHOST "whois.internic.ca" #define DNICHOST "whois.nic.mil" #define GNICHOST "whois.nic.gov" #define ANICHOST "whois.arin.net" @@ -85,11 +86,14 @@ #endif host = NICHOST; - while ((ch = getopt(argc, argv, "adgh:prR")) != -1) + while ((ch = getopt(argc, argv, "acdgh:prR")) != -1) switch((char)ch) { case 'a': host = ANICHOST; break; + case 'c': + host = CNICHOST; + break; case 'd': host = DNICHOST; break; @@ -159,6 +163,6 @@ static void usage() { - fprintf(stderr, "usage: whois [-adgprR] [-h hostname] name ...\n"); + fprintf(stderr, "usage: whois [-acdgprR] [-h hostname] name ...\n"); exit(EX_USAGE); } --- END CUT: WHOIS.DIFF --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 23:10:23 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CBE101519C for ; Sat, 4 Dec 1999 23:10:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA27014; Sat, 4 Dec 1999 23:10:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 1144115177; Sat, 4 Dec 1999 23:03:59 -0800 (PST) Message-Id: <19991205070359.1144115177@hub.freebsd.org> Date: Sat, 4 Dec 1999 23:03:59 -0800 (PST) From: jg@meer.net To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/15268: doscmd requires XLib, breaks buildworld Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15268 >Category: misc >Synopsis: doscmd requires XLib, breaks buildworld >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 4 23:10:03 PST 1999 >Closed-Date: >Last-Modified: >Originator: John Giannandrea >Release: 3.3 STABLE >Organization: meer.net >Environment: >Description: make buildworld fails on a 3.3-STABLE machine unless you have X11 developer libraries. doscmd fails to build in tty.o: In function `video_setborder': tty.o(.text+0x25f): undefined reference to `XSetWindowBackground' and others. removing doscmd from the usr.sbin Makefile is the workaround. Most FreeBSD servers dont need or have X11 by default. This makes them difficult to upgrade in the field. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Dec 4 23:20:34 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 531C715177 for ; Sat, 4 Dec 1999 23:20:30 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA27565; Sat, 4 Dec 1999 23:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sat, 4 Dec 1999 23:20:02 -0800 (PST) Message-Id: <199912050720.XAA27565@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Adam Szilveszter Subject: Re: bin/15267: CHANGE-REQUEST: WHOIS(1) - Support Internic.CA (Canada) Reply-To: Adam Szilveszter Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/15267; it has been noted by GNATS. From: Adam Szilveszter To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: bin/15267: CHANGE-REQUEST: WHOIS(1) - Support Internic.CA (Canada) Date: Sun, 5 Dec 1999 07:51:15 +0100 Hi! I think you should wait until the whois(1) client gets MFC-d from -CURRENT. It will handle this situation and also others just fine! It automatically finds the whois server needed for most domains. I am running it on -STABLE already and no problems found this far except for a statement in the man page which no longer applies, it says that -i option queries the Network Solutions InterNIC database. InterNIC is no longer handled by NS, Inc. The client has been updated accordingly a couple of days ago, but not the man page, so here it is...:-) --- whois.1.orig Fri Dec 3 11:08:49 1999 +++ whois.1 Sun Dec 5 08:09:23 1999 @@ -81,7 +81,7 @@ to whois.crsnic.net provided. .It Fl i Use the Network Solutions Registry for Internet Numbers -.Pq Tn InterNIC +.Pq Tn whois.networksolutions.com database. It contains network numbers and domain contact information for most of .Tn \&.COM , @@ -89,7 +89,13 @@ .Tn \&.ORG and .Tn \&.EDU -domains. +domains. NOTE! The registration of these doamins is now done by a number of +independent and competing registrars and this database holds no information +on the domains registered by organizations other than Network Solutions, Inc. +Also, note that the InterNIC database +.Pq Tn whois.internic.net +is no longer handled by Network Solutions, Inc. For details, see: +http://www.internic.net/. .It Fl m Use the Route Arbiter Database .Pq Tn RADB On Sun, Dec 05, 1999 at 06:16:53AM -0000, matt@S02.ARPA-CANADA.NET wrote: > > >Number: 15267 > >Category: bin > >Synopsis: CHANGE-REQUEST: WHOIS(1) - Support Internic.CA (Canada) > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Sat Dec 4 22:20:01 PST 1999 > >Closed-Date: > >Last-Modified: > >Originator: Matt > >Release: FreeBSD 3.3-STABLE i386 > >Organization: > N/A > >Environment: > > N/A > > >Description: > > WHOIS(1) had no builtin support for whois.internic.ca which is the Canadian > Internic Registry. As a Canadian, I hate to be left out. Therefore, I added > support for whois.internic.ca via 'whois -c [domain.ca]' > > Thanks in advance for (hopefully) accepting this addition. > > >How-To-Repeat: > > N/A > > >Fix: > > This is diffed against 3.3-STABLE source, has been tested locally by > myself on 3.3-STABLE machine, manpage update also included and tested. > > ---- START CUT: WHOIS.DIFF ---- > > diff -urbN whois.old/whois.1 whois/whois.1 > --- whois.old/whois.1 Fri Sep 17 10:35:56 1999 > +++ whois/whois.1 Sat Dec 4 21:25:51 1999 > @@ -40,7 +40,7 @@ > .Nd Internet domain name and network number directory service > .Sh SYNOPSIS > .Nm whois > -.Op Fl adgprR > +.Op Fl acdgprR > .Op Fl h Ar host > .Ar name ... > .Sh DESCRIPTION > @@ -58,6 +58,10 @@ > covered neither by > .Tn APNIC nor by > .Tn RIPE . > +.It Fl c > +Use the Canadian Internic Registry > +database. It contains points of contact for subdomains of > +.Tn \&.CA . > .It Fl d > Use the US Department of Defense > database. It contains points of contact for subdomains of > diff -urbN whois.old/whois.c whois/whois.c > --- whois.old/whois.c Sat Dec 4 21:21:28 1999 > +++ whois/whois.c Sat Dec 4 21:25:51 1999 > @@ -57,6 +57,7 @@ > #include > > #define NICHOST "whois.internic.net" > +#define CNICHOST "whois.internic.ca" > #define DNICHOST "whois.nic.mil" > #define GNICHOST "whois.nic.gov" > #define ANICHOST "whois.arin.net" > @@ -85,11 +86,14 @@ > #endif > > host = NICHOST; > - while ((ch = getopt(argc, argv, "adgh:prR")) != -1) > + while ((ch = getopt(argc, argv, "acdgh:prR")) != -1) > switch((char)ch) { > case 'a': > host = ANICHOST; > break; > + case 'c': > + host = CNICHOST; > + break; > case 'd': > host = DNICHOST; > break; > @@ -159,6 +163,6 @@ > static void > usage() > { > - fprintf(stderr, "usage: whois [-adgprR] [-h hostname] name ...\n"); > + fprintf(stderr, "usage: whois [-acdgprR] [-h hostname] name ...\n"); > exit(EX_USAGE); > } > > --- END CUT: WHOIS.DIFF --- > > >Release-Note: > >Audit-Trail: > >Unformatted: > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message -- ------------------------------------------------------------------------------- *** Adam Szilveszter * JATE AJTK Szeged *** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message