From owner-freebsd-bugs Sun Oct 13 04:30:16 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA02152 for bugs-outgoing; Sun, 13 Oct 1996 04:30:16 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA02143 for freebsd-bugs; Sun, 13 Oct 1996 04:30:14 -0700 (PDT) Date: Sun, 13 Oct 1996 04:30:14 -0700 (PDT) From: Paul Traina Message-Id: <199610131130.EAA02143@freefall.freebsd.org> To: freebsd-bugs Subject: active bugs Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Current FreeBSD problem reports The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions fo FreeBSD including experimental development code and obsolete releases. Bugs can be in one of several states: open A problem report has been submitted, no sanity checking performed analyzed The report has been examined by a team member and evaluated feedback The problem has been solved, and the originator has been given a patch or a fix has been committed. The PR remains in this state pending a response from the originator. suspended Work on the problem has been postponsed. This happens if a timely solution is not possible or is not cost-effective at the present time. The PR continues to exist, though a solution is not being actively sought. If the problem cannot be solved at all, it will be closed, rather than suspended. closed A problem report is closed when any changes have been integrated, documented, and tested. Critical problems S Submitted Tracker Engr. Description ------------------------------------------------------------------------------- a [1995/01/11] i386/105 bde Distributed libm (msun) has non-standard o [1995/02/14] kern/216 davidg /kernel: panic: ffs_alloccg: map corrupte f [1995/05/28] kern/452 davidg vnode swapping panics f [1995/11/27] kern/840 peter Kernel page directory invalid o [1995/12/03] kern/863 davidg panic on kernel page fault, NULL curproc o [1995/12/08] kern/876 mpp NFS allows bogus accesses to cached data o [1996/01/09] kern/940 panic: free vnode isn't a [1996/01/22] kern/965 bde 2.0.5: system crashes daily because of "m o [1996/01/29] kern/978 se Three deadlocks in row o [1996/02/08] kern/1008 Daily crash while writing network backups a [1996/03/04] kern/1059 hsu null fs panics system o [1996/04/06] kern/1121 dyson System crashes on boot up just after the o [1996/04/29] kern/1163 2.2-960323-SNAP: fatal trap 12 o [1996/05/07] kern/1177 dyson Machine hangs with message "vm_fork: no p o [1996/05/19] kern/1217 separating to hardrives to two IDE channe o [1996/05/26] kern/1257 dyson System got blown away by "vm_pageout_scan o [1996/06/01] kern/1286 cluster_read() calls strategy routine wit o [1996/06/08] kern/1302 3COM 3c590 can't receive packets o [1996/06/11] kern/1311 dyson Panic: vm_page_free while installing new o [1996/07/15] bin/1387 Group file errors cause absolute havoc o [1996/07/21] misc/1413 Missing library libgcc.261 o [1996/07/21] i386/1414 3c595 ceases to work aftern installation. o [1996/07/25] kern/1432 Rexmit timeout for TCP too short o [1996/08/15] kern/1498 system hangs during inactivity o [1996/08/20] bin/1519 wpaul chpass creates an NIS security hole o [1996/08/25] kern/1540 panic: ufs_unlock NOT LOCKED a [1996/08/30] bin/1554 wollman routed kills default permanently o [1996/09/11] kern/1599 panic: locking against myself o [1996/09/11] kern/1600 prevent setting of t_timer[TCPT_KEEP] pre o [1996/09/13] conf/1608 FreeBSD's bug tracking system does not re o [1996/09/14] kern/1609 page fault while in kenel mode during Lin o [1996/09/24] kern/1676 NFS V3 client causes panic o [1996/09/29] bin/1693 rarpd does not appear to work o [1996/09/29] bin/1694 rbootd does not appear to work o [1996/10/01] conf/1704 Install fails, probe dos not find my ADAP o [1996/10/08] kern/1744 run queue or proc list smashed 4 times in o [1996/10/10] misc/1757 sysinstall repeatably generates a sig11 37 problems total. Serious problems S Submitted Tracker Engr. Description ------------------------------------------------------------------------------- o [1994/11/30] kern/34 davidg nullfs and union mounts can result in wil o [1995/01/10] bin/104 pax -rwl may corrupt filesystem o [1995/01/24] gnu/183 bde can't resolve "operator <<" overload a [1995/03/20] kern/260 davidg msync and munmap don't bother to update m a [1995/03/20] docs/264 paul There are no manual pages for the forms l a [1995/03/22] kern/267 davidg NFS code gives error messages, systems ja o [1995/04/01] kern/291 se PCI devices still probe/attach after bein o [1995/04/20] kern/353 se xcdplayer crashes machine (with NCR810 SC o [1995/05/08] bin/389 Simultaneous creation/deletion of dirs co a [1995/05/09] bin/392 Simultaneous cp and ls of files on dos f/ o [1995/05/16] kern/425 wollman arp entries not getting removed when inte f [1995/05/25] kern/443 65 sendmails crashes system o [1995/05/26] kern/446 phk unable to diskless-boot a PC when the ser a [1995/06/17] kern/527 dufault dump causes assertion in ncr.c o [1995/06/17] kern/528 bde slow 386 reports excessive interrupt-leve o [1995/07/02] kern/579 bde sio: RS_IBUFSIZE at 256 bytes serial line o [1995/08/01] bin/648 bde printf format conversion incorrect (dupli o [1995/08/15] i386/692 bde My modem is not found if my external cach o [1995/08/21] kern/703 amurai ppp not always deleting route properly wh o [1995/08/22] bin/706 increased root DNS traffic and long laten f [1995/09/20] kern/730 gibbs 3Com 3C5x9 probe problem o [1995/09/26] bin/739 Some problems when an output filter reads o [1995/09/27] kern/745 se occasional filesystem inconsistencies, an o [1995/09/27] kern/750 cd9660 confused by not-ready or I/O error o [1995/10/05] misc/767 jkh Configure-time does time-warp on non-UTC a [1995/10/07] bin/771 wollman telnet character mode not set and broken o [1995/10/09] kern/774 dump fails with "slave couldn't reopen di o [1995/10/11] bin/777 patch doesn't realize stdin is closed and o [1995/10/12] bin/778 tar complains "EOF not on block boundary" a [1995/10/15] kern/782 davidg chmod does a null pointer dereference o [1995/10/18] bin/786 wpaul Problem with NIS and large group maps a [1995/10/26] kern/794 swap partition at offset 0 still broken o [1995/11/12] kern/820 gibbs scsi tape problems o [1995/11/16] bin/826 tcpmux listener in inetd does not work o [1995/11/28] bin/850 dump treats write-protect as an EOT & spo o [1995/12/02] kern/860 msmith visual mode in kernel -c is too restricti a [1995/12/04] i386/867 nate Notebook with APM and 3C589C in PCMCIA fr o [1995/12/20] i386/906 davidg /sys/i386/boot/netboot/nb8390.com cannot o [1995/12/29] kern/920 bde sio output looses chars in fifo on close( o [1996/01/01] bin/926 Mounting nfs disks before starting mountd o [1996/01/02] kern/927 sos VGA mode not restored o [1996/01/06] kern/932 de0 occasionally enables 100baseTX when p o [1996/01/12] misc/942 X11 mono server dumps core on supported v o [1996/01/16] kern/949 panic, undebugable dump? o [1996/01/19] kern/956 Kernel page fault, null callp o [1996/01/25] kern/971 Default limits for number of processes pe f [1996/01/27] kern/974 ktrace causes panic: freeing busy page o [1996/01/28] kern/976 se NCR SCSI driver gives assertion errors an o [1996/02/01] bin/986 problems make-ing with cd in the rule o [1996/02/06] kern/998 bde badness in file system silently crashes m o [1996/02/10] kern/1016 dyson panic: vm_page_free: freeing free page, s o [1996/02/10] kern/1017 dyson ssh stopped working between 15th Jan and o [1996/02/12] kern/1018 dyson panic: unwire: page not in pmap o [1996/02/12] bin/1019 joerg getty cannot detect ppp logins o [1996/02/12] kern/1020 Boca 16-port board still hangs o [1996/02/12] docs/1023 mpp using touch to create swap file for NFS d a [1996/02/17] bin/1030 joerg /bin/sh does not pass environment variabl o [1996/02/27] kern/1045 Lockup: b_to_q to a clist with no reserve o [1996/02/28] i386/1048 ep driver fails to detect card when told f [1996/02/28] kern/1049 fenner /kernel: arpresolve: can't allocate llinf o [1996/02/28] bin/1050 Process (zip) hangs (unkillable) after fl o [1996/03/05] kern/1064 Recursive panic? o [1996/03/06] kern/1065 wt could crash reading short blocks a [1996/03/06] kern/1067 mpp panic: ufs_lock: recursive lock not expec o [1996/03/09] bin/1073 telnet -8 does not work with SunOS or Sol o [1996/03/11] conf/1076 'make install' fails for /usr/src/share/e o [1996/03/16] kern/1081 Fatal double fault o [1996/03/17] kern/1087 Device close entry is not called when unm f [1996/03/21] i386/1097 gibbs system hang during tape rewind/aic7870 co o [1996/03/23] kern/1098 File system corruption (2 cases) o [1996/03/26] kern/1102 smpatel Differentiation of FreeBSD & Linux ELF bi o [1996/03/30] bin/1111 mail.local will happily deliver mail to a o [1996/04/05] kern/1118 panic: setrunqueue encountered when wine o [1996/04/07] kern/1122 Kernel (current) does not see all memory o [1996/04/11] kern/1134 se PPB support is broken for multiple/unknow o [1996/04/11] kern/1135 starting an extra mountd and then killing o [1996/04/24] kern/1157 SCSI Disk Timeouts (ahc0) o [1996/04/28] kern/1160 Panic: bad dir o [1996/04/30] kern/1166 pmap panic (dump available) o [1996/05/02] kern/1171 panic: setrunnable after touching long id o [1996/05/08] kern/1180 freeing held page, count=%d o [1996/05/10] misc/1187 pppd dies with a segv o [1996/05/11] kern/1190 panic: page fault (wild pointer?) o [1996/05/14] kern/1204 umount -f after SCSI reset -> reboot o [1996/05/16] kern/1208 Rebooting nfs server results "Permission o [1996/05/18] bin/1212 ppp eventually runs out of file descripto o [1996/05/18] kern/1213 kernel page fault o [1996/05/21] kern/1227 dyson vm_page_activate: already active (new vm o [1996/05/21] kern/1228 probe doesn't find P-n-P modem o [1996/05/24] misc/1247 bde Conflicting header files o [1996/05/26] i386/1251 aha0 and bt0(eisa) conflicts again. o [1996/05/26] kern/1252 Heavy activity on a CD causes panic o [1996/05/26] kern/1256 ZNYX 314 mysterously looses packets o [1996/05/27] kern/1258 dyson new vm code: freeing held page o [1996/05/27] kern/1269 dyson vm_pageout_scan: page not inactive? (loop o [1996/05/28] conf/1270 /etc/ttys does not list all valid ptys (b o [1996/05/28] kern/1271 phk Kernel panic using PLIP in 27/05 current o [1996/05/28] kern/1274 Kernel panics with filesystem error o [1996/05/29] kern/1278 SUN Solaris clients gets host not respond o [1996/05/31] kern/1284 dyson panic: vm_page_free: freeing busy page o [1996/05/31] conf/1285 route_multicast and route_loopback lines o [1996/06/02] i386/1288 bde wdgetctlr (wd.c) return incorrect number o [1996/06/05] kern/1293 Fatal trap 12: page fault while in kernel o [1996/06/06] misc/1299 sos National charecter problem in XFree86 o [1996/06/07] kern/1301 davidg DEC FDDI/PCI Adapter: halt code = 6 (DMA o [1996/06/09] bin/1305 dc miscomputes remainder o [1996/06/10] kern/1307 dyson vm_page_free: freeing busy page o [1996/06/10] kern/1308 dyson vm_page_free: wire count > 1 in 960501-SN o [1996/06/14] bin/1322 savecore does not take minfree into accou o [1996/06/14] kern/1323 nate 960612's psm driver does not see the mous o [1996/06/16] kern/1327 joerg keyboard probe in -current fails, X reboo a [1996/06/18] kern/1333 davidg free vnode isn't: another -stable coredum o [1996/06/19] kern/1336 Permission for .. in NFS mounts is somewh o [1996/06/22] kern/1345 kernel page fault, NULL pointer dereferen o [1996/06/25] bin/1351 security problem with mv(1) o [1996/06/26] conf/1352 jkh Missing files from /usr/share/info o [1996/07/06] kern/1371 kernel doesn't flush all its buffers when o [1996/07/09] bin/1377 mv(1) retains the setuid bit when it is u o [1996/07/09] gnu/1379 Man command problem, when it writes into o [1996/07/09] misc/1380 Year 2000 breakage with tm_year o [1996/07/16] bin/1392 PPP silently fails to work when CTS/RTS i a [1996/07/18] kern/1397 bde can't send to a pipe o [1996/07/18] bin/1398 steve .OBJDIR modifications to tree broke make o [1996/07/19] gnu/1407 bde ld computes wrong size of common (global o [1996/07/20] bin/1410 /usr/bin/login is suid, with little requi o [1996/07/21] ports/1415 Installing gnats package makes send-pr fa o [1996/07/23] kern/1420 panic vrele: negative reference count f [1996/07/24] kern/1423 wollman route causes kernel page fault. f [1996/08/01] bin/1454 joerg /bin/sh bug handling <<[n] FD processing o [1996/08/03] bin/1461 Incorrect address binding of Kerberized r o [1996/08/04] kern/1467 scsi_prevent causing tape problems on clo o [1996/08/08] bin/1479 libc.so.2.2 o [1996/08/09] kern/1480 terminal "cons25" resize problem o [1996/08/16] kern/1500 times system call returning zero user tim o [1996/08/18] kern/1512 dyson Use of madvise may may cause bad memory m o [1996/08/19] misc/1515 jkh Unable to install 2.1.5 from CD-ROM. o [1996/08/21] bin/1522 dump | restore of filesystem corrupted fi o [1996/08/22] kern/1531 Machine hangs, unable to either fork or e o [1996/08/22] kern/1533 dyson Machine can be panicked by a userland pro o [1996/08/22] i386/1534 Installing from Mitsumi FX001D CD-ROM dri o [1996/08/24] ports/1539 sos Attempts to run Linux elf binaries using o [1996/08/25] misc/1541 julian fork.o in libc_r fails to compile o [1996/08/29] bin/1552 sos moused has no manual page (and -s option o [1996/08/31] bin/1557 jkh pkg_add's auto dependency get .. doesn't o [1996/09/02] bin/1563 Curses let letters fall away sometimes o [1996/09/02] bin/1564 jkh Install media query gets sig 11 o [1996/09/05] kern/1570 Setting SHMALL > 35000 causes panic o [1996/09/05] kern/1574 Panic: privileged instruction fault o [1996/09/07] kern/1579 dyson panic: ufs_unlock NOT LOCKED o [1996/09/08] conf/1580 steve make & /usr/obj is bogus. o [1996/09/08] kern/1582 kernel panic often under medium load o [1996/09/08] docs/1588 jfieber Handbook Incorrect LaTeX/PostScript outpu o [1996/09/14] kern/1610 dyson mmap() of unassociated memory + mlock() c o [1996/09/14] kern/1613 I get ls: fts_read: No such file or direc o [1996/09/16] i386/1626 MUSTEK Scanner hangs NCR SCSI controller o [1996/09/18] kern/1637 mss driver causes feedback (squeal) on so o [1996/09/18] kern/1638 worm driver won't make audio tracks o [1996/09/19] bin/1648 libmd not 64-bit safe o [1996/09/19] bin/1650 telnet encryption with char-mode and asci o [1996/09/19] kern/1652 changing time hangs system o [1996/09/21] kern/1661 ft driver hangs uninterruptably at "bavai o [1996/09/22] bin/1662 jkh typing control-C in pkg_add deletes curre o [1996/09/22] bin/1664 getty doesn't use init kerninfo struct o [1996/09/22] bin/1666 crash in vi, while reading multiple files o [1996/09/23] kern/1670 PCI ed probe causes a page fault o [1996/09/23] bin/1672 rshd makes assumptions regarding gethostb o [1996/09/24] kern/1677 read from /dev/kmem may crash system o [1996/09/26] kern/1684 inconsistent permission failures on NFS r o [1996/09/28] bin/1687 watch makes kernel crash o [1996/09/29] kern/1689 TCP extensions throttles distant connecti o [1996/09/29] kern/1692 Page fault while in kernel modem fatal tr o [1996/09/30] kern/1698 sup from around 21:51 GMT 28th very unsta o [1996/10/01] bin/1702 installing of tcl manpages fails from mak o [1996/10/01] bin/1705 COM2 not detected when booting from Hardd o [1996/10/03] kern/1715 le driver non-reentrant o [1996/10/03] kern/1716 LKM does not install character devices o [1996/10/04] kern/1724 gibbs HP colorado T4000S tape drive hangs syste o [1996/10/04] kern/1726 panic in kmem_malloc (dump available) o [1996/10/05] i386/1730 SFF8020 violation and silly bug in atapi. o [1996/10/10] ports/1753 markm SSLeay doesn't work against Microsoft sec o [1996/10/10] kern/1754 netbooted machines freeze with ifconfig a o [1996/10/10] ports/1759 freebsd- uudeview and uulib ports are imperfect (i o [1996/10/11] bin/1773 A NULL pointer causing segmentation core o [1996/10/11] bin/1774 telnet spins when killed before network i o [1996/10/11] kern/1775 accept does not preserve file descriptor o [1996/10/12] kern/1782 se ncr driver thinks all drives are created 186 problems total. Non-critical problems S Submitted Tracker Engr. Description ------------------------------------------------------------------------------- a [1994/12/01] kern/35 bde mount -t union -o -b : lower layer not se o [1995/01/14] bin/115 bde systat iostat display doesn't scale high o [1995/01/14] bin/129 davidg fsck cannot take a mount point as an argu o [1995/01/15] bin/146 version of compress is kinda old and slow o [1995/01/21] bin/174 Poor error message from stty o [1995/01/22] kern/176 peter EIDRM not defined in errno.h o [1995/01/24] bin/184 pst send-pr says "Aborting ..." and happily r o [1995/01/30] bin/198 asami 1.1.5.1 pine binary loops; top shows fanc o [1995/03/28] kern/281 Messages printed when checking CD ROM dev o [1995/03/28] kern/282 gibbs buslogic adapter information WAY too verb a [1995/04/09] bin/326 Weekly cron generates some usage and erro o [1995/04/20] misc/355 policy on /usr/local permission in base r o [1995/05/12] bin/398 scrappy VI doesnt do the correct thing o [1995/05/13] bin/401 wollman Add REMOTE_* variables o [1995/05/15] misc/423 Sound devices are too insecure o [1995/05/23] i386/440 sos want vidcontrol option to apply settings a [1995/05/27] gnu/450 scrappy tar --exclude -c doesn't work o [1995/06/15] bin/517 wpaul Bad group change with 'install' o [1995/07/05] bin/591 phk SPAP request REJexted in stead of NAKed o [1995/08/05] gnu/655 jdp ld -r of shared objects worked in 1.1.5, o [1995/08/07] bin/658 wollman ifconfig alias has to be separately given a [1995/08/07] bin/661 sos Hercules is not capable of having a ISO-L o [1995/08/11] ports/673 joerg /bin/sh + inn1.4 innwatch going belly up f [1995/08/12] kern/677 dyson X gets a bus error when calling mmap() o [1995/08/13] bin/680 joerg 2.0.5's tip using termios doesn't act the o [1995/08/18] kern/700 fenner The comments in /sys/net/if.h are confusi o [1995/08/29] bin/715 ache ls gives weird tabular form o [1995/09/23] docs/735 wollman missing description for mount options in o [1995/09/26] kern/742 dyson syslog errors accessing Mac hard disks [p o [1995/09/27] bin/743 scrappy vi cannot edit a file where the name star o [1995/09/28] kern/752 wollman setting multiple addresses for a single i o [1995/09/28] kern/753 joerg my archive scsi tape drive does not work o [1995/09/28] docs/754 nate there is no man page for the psm(4) mouse o [1995/10/03] kern/765 phk umount -f can`t umount a NFS filesystem i o [1995/10/14] kern/781 bde OPEN_MAX in kernel config and FD_SETSIZE o [1995/10/25] kern/792 dyson cd9660 very slow. o [1995/10/29] docs/801 mpp rlogind k, v, and x options are not docum o [1995/10/31] bin/803 bsd m4 chokes and dies while FSF m4 works o [1995/11/11] bin/815 mountd reports unknown hosts with non-inf o [1995/11/13] kern/821 Config doesn't properly trap signals o [1995/11/20] kern/831 one minor complaint about the kernel visu o [1995/11/22] kern/835 davidg ed panics with SMC ultra with iomem, if n a [1995/11/25] bin/839 by default, use of "at" is overly restric o [1995/11/27] bin/841 stale nfs mounts cannot be umounted o [1995/11/28] misc/848 jkh Inst gripes about geometry but won't acce o [1995/11/30] bin/854 dyson swapinfo shows incorrect information for o [1995/12/03] kern/861 sb16 support in 2.1 is erratic and has co o [1995/12/06] ports/871 asami port.subdir.mk DEBUG_FLAGS is not used fo o [1995/12/17] kern/900 dyson ext2fs triggers divide by zero trap in vn o [1995/12/25] bin/914 hayes dialer for tip fails 1st attempt to a [1995/12/29] misc/922 From line handling incorrect in mail.loca a [1995/12/31] kern/924 EISA devices have disappeared from vmstat o [1996/01/06] misc/934 amurai ppp dies with Bus Error when processing l o [1996/01/15] kern/946 divide-by-zero in kernel on bad disk info o [1996/01/19] bin/958 ttys file does not include all ptys o [1996/01/21] bin/961 'more $file', incorrect CRLF compacting. o [1996/01/23] ports/968 asami Netscape & cern_httpd ports out of date/d o [1996/01/28] kern/975 bde getrusage returns negative deltas a [1996/01/30] bin/981 fenner clnt_broadcast() is not aware of aliases s [1996/02/03] bin/993 peter g++ complains about /usr/include/machine/ o [1996/02/07] bin/999 peter /usr/share/mk/sys.mk missing common $(RM) o [1996/02/07] kern/1001 bde M_NAMEI malloc leak in the kernel o [1996/02/09] kern/1012 vnode_pager_putpages: attempt to write me o [1996/02/12] bin/1021 phk pppd doesn't handle PAP-only authenticati o [1996/02/14] kern/1026 deadlocks if parent vfork and child has c o [1996/02/14] bin/1028 shutdown -r does not seem to always compl o [1996/02/15] bin/1029 cd behaves erraticly if cwd is a mount-po a [1996/02/19] bin/1035 ls to terminal always uses ? for non-prin o [1996/02/19] docs/1036 mpp List of dead xrefs in man pages o [1996/02/19] bin/1037 2.x telnetd handles CTRL-M differently th o [1996/02/25] i386/1042 bde Warning from sio driver reports wrong dev o [1996/02/26] misc/1043 dyson vm_bounce_alloc error on 2.1 install with o [1996/02/27] gnu/1047 send-pr: Aborting... o [1996/02/29] kern/1051 zip fails on dos partition o [1996/03/02] bin/1056 pppd fails if -detach o [1996/03/09] bin/1074 tty rows & columns settings sometimes res a [1996/03/18] docs/1089 bde stat manpage unclear about st_mtime & fri o [1996/03/20] kern/1090 iostat displays incorrect sps count o [1996/03/20] bin/1093 wollman route's diagnostic is weird a [1996/03/28] bin/1105 Bug in find command o [1996/03/28] ports/1109 asami mods to vim-3.0 port o [1996/04/06] kern/1119 dyson Mounted EXT2FS partition is not cleanly u o [1996/04/14] docs/1141 mpp pcvt(4) references non-existent man page. a [1996/04/15] kern/1144 sig{add, del}set and sigismember fns don' o [1996/04/19] docs/1151 mpp intro(3) references libc(3) and plot(3), a [1996/04/22] bin/1154 Configure tunN device for ip-over-ip tunn o [1996/04/23] ports/1155 systat or top display disagreeing informa o [1996/05/02] docs/1169 mpp bogus reference to keysu(1) in key(1) and o [1996/05/09] bin/1181 fsck displays wrong char in "option?" dia o [1996/05/09] bin/1182 timed records improper entry in wtmp o [1996/05/09] bin/1184 scrappy ls + xterm + nvi + columns != 80 + ^Z = m o [1996/05/13] ports/1200 asami pop3 requests may crash client o [1996/05/13] kern/1201 FreeBSD SCSI changer driver leaves a bit o [1996/05/15] bin/1206 joerg /bin/sh + emacs + ^G = ruined terminal o [1996/05/16] gnu/1209 send-pr should refuse PR's without subjec a [1996/05/20] bin/1221 andreas new gcc-2.7.2 gives a LOT of warnings, an a [1996/05/20] ports/1222 andreas Header files conflict a [1996/05/21] bin/1229 bde redundant redeclaration of `lseek' o [1996/05/22] kern/1236 joerg some #def's in pcvt_conf.h not braketed b o [1996/05/25] docs/1249 incorrect manpages o [1996/05/27] conf/1264 panic with two new Quantum FireBall 1280 o [1996/05/28] docs/1272 document the -o option for f2c o [1996/05/28] bin/1273 remote hostname gets corrupted in rshd o [1996/06/11] bin/1312 automounter hangs on boot o [1996/06/12] bin/1316 10 tunnel device limit o [1996/06/12] conf/1319 muldi3 is not included into kernel's Make a [1996/06/13] bin/1320 gpalmer dump limits blocksize to 32K o [1996/06/18] i386/1331 phk changes and bug in ft driver o [1996/06/18] bin/1332 changes to amd and possible nfs lkm bug? o [1996/06/19] misc/1335 /etc/security generates an error with fil o [1996/07/04] i386/1367 reprobe a device that does not exist = pa o [1996/07/04] misc/1369 Need SC_MORE_LUS for Emulex MD23 also o [1996/07/06] misc/1372 bde compile time error with cc -ansi and RPC o [1996/07/06] misc/1373 bde RPC include lacks prototypes o [1996/07/06] docs/1374 mpp the default listed in the newfs -i man pa a [1996/07/07] bin/1375 Extraneous warning from mv(1) o [1996/07/07] misc/1376 if_tun.c does not set if_ibytes and if_ob o [1996/07/13] conf/1382 FreeBSD has minor year 2000 problem in di o [1996/07/14] docs/1383 ppp(8) man page suggests using shell scri o [1996/07/15] misc/1388 jkh libftpio: some problems with ftpGet() fix o [1996/07/16] misc/1390 feedback from 2.1.5R update over 2.1-stab o [1996/07/16] bin/1391 cpio -O ignores umask o [1996/07/18] kern/1399 invoking setuid programs over NFS case vn o [1996/07/21] conf/1412 jkh installscript doesn't allow 2nd ftp site o [1996/07/21] ports/1416 bde cflow(1) doesn't parse GNU C __attribute_ o [1996/07/23] kern/1421 Non-bug in sosend() o [1996/07/24] bin/1425 doing :numbers on systat -netstat doesn't o [1996/07/24] misc/1428 ncurses doesn't always display ALTCHARSET a [1996/07/28] docs/1437 mpp bsd.doc.mk sees PRINTER and spews o [1996/07/29] conf/1441 jkh On re-install, says it didn't touch etc f o [1996/07/30] ports/1444 asami There is no port of slnr o [1996/08/03] kern/1462 nfsstat doesn't work if using LKM'ed vers o [1996/08/06] bin/1469 it is difficult to run /usr/sbin/ppp from o [1996/08/07] ports/1470 asami need more info in the ports structure o [1996/08/07] gnu/1471 send-pr needs configurable Reply-To field o [1996/08/07] gnu/1472 send-pr could have a configurable Reply-T o [1996/08/09] bin/1482 sos vidcontrol -f fnt-size file-with-wrong-fn o [1996/08/12] docs/1493 dyson incomplete prototypes in man pages for mm o [1996/08/14] ports/1495 freebsd- more tkdesk patches... o [1996/08/17] kern/1501 vmstat reports impossible avm after start o [1996/08/17] bin/1502 vmstat 'avm' field merges with procs 'w' o [1996/08/17] ports/1504 jmz latex port completely failes o [1996/08/17] kern/1508 sos syscons should protect against useless DD o [1996/08/19] kern/1514 dyson mlock fails on readonly regions o [1996/08/20] kern/1516 dyson vm_fault.c contains dead code or too many o [1996/08/20] ports/1517 adam What is InterViews ??!?! o [1996/08/20] ports/1518 freebsd- No man pages in audio/mpegaudio port o [1996/08/21] ports/1520 freebsd- sudo dosn't recognise certain passwords a o [1996/08/21] bin/1523 "cvs update -d -P" prunes unchecked-in di o [1996/08/21] ports/1524 freebsd- New port -- xtem-5.18beta o [1996/08/21] ports/1525 freebsd- xvnews-2.3.2 o [1996/08/21] ports/1526 freebsd- xtar-1.4 o [1996/08/21] ports/1527 freebsd- xmaddressbook-1.5.3 o [1996/08/21] ports/1529 freebsd- New port -- bricons-3.0 o [1996/08/22] ports/1530 freebsd- New port of poppassd o [1996/08/23] misc/1536 pst WWW query-pr interface sometimes messes u o [1996/08/23] ports/1537 ache new port -- tin 1.3unoff o [1996/08/24] misc/1538 enhanced /etc/security script o [1996/08/26] kern/1543 my load sticks at about 0.8 while not in o [1996/08/27] bin/1547 ncrcontrol won't work with FAILSAFE kerne o [1996/08/27] bin/1548 ncrcontrol -i queries don't work for mere o [1996/08/27] ports/1549 freebsd- Port submission for gdbtk a [1996/08/28] ports/1550 "make install" needs to know how to updat a [1996/08/29] docs/1551 manpage of zgrep not installed in 2.1.5R o [1996/08/29] ports/1553 freebsd- submittal of cops port o [1996/08/30] i386/1556 ATAPI CDROM probes ok, but will not 'moun o [1996/08/31] bin/1559 ftpd apparently not recognizing -l or -S o [1996/09/02] misc/1561 sos Wrong key mapping of five keys in german. a [1996/09/04] bin/1565 Moving a file to it's link completely rem o [1996/09/06] bin/1577 mail -f foo does not look in current dire o [1996/09/07] bin/1578 fsck does not honour 'noauto' fs option o [1996/09/08] ports/1583 freebsd- I made ldap-3.3 port o [1996/09/08] bin/1585 dumpfs can dump core o [1996/09/08] bin/1589 ftp fails to flush output o [1996/09/10] bin/1597 No support for positional parameters in * o [1996/09/11] bin/1598 tip leaves OPOST set on controlling termi o [1996/09/12] docs/1602 mpp /usr/lib/terminfo refered to in man termi o [1996/09/12] bin/1607 unmount fails for a NFS fs mounted withou o [1996/09/14] gnu/1611 groff should use "system-wide" papersize o [1996/09/14] kern/1614 Attempt to mount an NTFS partition causes o [1996/09/15] docs/1618 Man page for siginterrupt thinks it is in o [1996/09/15] ports/1620 freebsd- new port, cless -- Chinese language versi a [1996/09/16] bin/1621 last char in line stays "$" o [1996/09/16] bin/1623 rpc/auth.h won't compile with -ansi flag o [1996/09/16] misc/1625 2.1.5 update overwrites root's dot files o [1996/09/16] kern/1628 /kernel: pid 19061: ppp: uid 0: exited on o [1996/09/17] docs/1630 Addition to handbook concerning MFS kerne o [1996/09/17] ports/1631 freebsd- new port, lprps -- PS printing lpr filter o [1996/09/18] kern/1636 mss driver extension to broaden support a [1996/09/18] bin/1642 pkg_install Makefiles could be simplified o [1996/09/18] bin/1643 Support for NetBSD in bsd.port.mk o [1996/09/19] ports/1646 freebsd- Port of lclint - a better lint replacemen o [1996/09/19] bin/1649 md5(1) header file makes bad assumption o [1996/09/19] bin/1653 cannot umount the node ending '/' when it o [1996/09/19] kern/1654 In procfs, vattr doesn't contain correct o [1996/09/20] bin/1657 ls(1) output of future mtime o [1996/09/20] kern/1658 ktrace/kdump flaky - corrupted ktrace.out o [1996/09/22] bin/1665 telnetd doesn't use gettytab %m %r %v %s o [1996/09/23] i386/1671 s2 map in pcvt isn't ISO 8859-1 and claim o [1996/09/24] bin/1674 strange behaviour of pppd (daemonize, def o [1996/09/24] docs/1675 suspicious history line o [1996/09/25] pending/1680gnats-ad Error in rune.h stuff o [1996/09/25] docs/1681 procfs man page way out of date o [1996/09/26] ports/1682 asami dual CAT definitions in bsd.port.mk o [1996/09/27] misc/1686 sysinstall should allow partition size ch o [1996/09/29] kern/1690 apm and sbxvi inappropriately probe as co o [1996/09/29] docs/1691 ppp server doc submission o [1996/09/30] bin/1695 moused fails with PS/2 mouse o [1996/09/30] conf/1697 rc.i386 missing line for moused o [1996/09/30] docs/1699 Missing GNU info files o [1996/10/01] bin/1700 'ls -lo' does not list opaque flag (chfla o [1996/10/01] ports/1703 freebsd- update to qt port o [1996/10/02] misc/1708 monthly login accounting o [1996/10/02] ports/1710 update to Tin port o [1996/10/02] kern/1711 kernel logging of signaled processes shou o [1996/10/02] docs/1712 semget man page refers to SEM_W instead o o [1996/10/02] gnu/1713 mkisofs doesn't match man page in behavio o [1996/10/03] misc/1717 Use of ntohl causes lint to complain o [1996/10/04] ports/1718 freebsd- new port, vscan o [1996/10/04] ports/1719 freebsd- new port, xlbiff a [1996/10/04] bin/1722 wollman Routed byte order problem o [1996/10/04] kern/1725 visual config redraws bits of the screen o [1996/10/05] kern/1727 Add support for 3C900 to vx o [1996/10/05] misc/1731 missing area code 541 a [1996/10/06] ports/1733 max Please replace some files in ports/japane o [1996/10/06] ports/1734 freebsd- submission of tiff-3.4 port o [1996/10/08] bin/1739 syslog may log false timestamps o [1996/10/08] ports/1742 freebsd- Various bugs in xview-3.2.1 o [1996/10/08] ports/1743 freebsd- submission of new port (tiff-3.4) o [1996/10/09] misc/1745 Installing packages hangs after 1st packa o [1996/10/09] ports/1752 freebsd- Update of nedit port o [1996/10/10] bin/1755 more(1) generates garbage at end of file o [1996/10/10] kern/1758 New AWE32 sound card driver for integrati o [1996/10/10] ports/1760 freebsd- Fixed port: crack-4.1 o [1996/10/10] ports/1761 freebsd- Fixed port: gifmerge 1.33 o [1996/10/10] ports/1763 freebsd- Fixed port: txtmerge o [1996/10/11] ports/1764 freebsd- Fixed port: whirlgif o [1996/10/11] ports/1765 freebsd- Fixed port: xgas o [1996/10/11] ports/1767 freebsd- New port: xmascot o [1996/10/11] ports/1768 freebsd- New port: xmascot o [1996/10/11] ports/1769 freebsd- sysinstall won't install more than 1 pack o [1996/10/11] ports/1770 freebsd- port of the xripple program o [1996/10/11] ports/1772 freebsd- Fix to a wrong description in FreeBSD por o [1996/10/11] bin/1776 sysinstall won't compile in -stable o [1996/10/11] conf/1777 sysctl called in /etc/netstart before /us o [1996/10/12] bin/1778 locate.updatedb uses /tmp directory. o [1996/10/12] misc/1780 fortune misspelling o [1996/10/12] bin/1783 fdisk calculates wrong start/end addresse 248 problems total. From owner-freebsd-bugs Sun Oct 13 05:10:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA05076 for bugs-outgoing; Sun, 13 Oct 1996 05:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA05070; Sun, 13 Oct 1996 05:10:02 -0700 (PDT) Resent-Date: Sun, 13 Oct 1996 05:10:02 -0700 (PDT) Resent-Message-Id: <199610131210.FAA05070@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, lutz@muc.de Received: from colin.muc.de (root@colin.muc.de [193.174.4.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA04617 for ; Sun, 13 Oct 1996 05:05:42 -0700 (PDT) Received: from tavari.muc.de ([193.174.4.22]) by colin.muc.de with SMTP id <86047-2>; Sun, 13 Oct 1996 13:05:13 +0100 Received: from orlando.tavari.muc.de (orlando.tavari.muc.de [192.168.42.4]) by tavari.muc.de (8.7.5/8.7.3) with ESMTP id NAA08212 for ; Sun, 13 Oct 1996 13:56:57 +0200 (MET DST) Received: (from lutz@localhost) by orlando.tavari.muc.de (8.7.5/8.7.3) id OAA00656; Sun, 13 Oct 1996 14:04:59 +0100 (MET) Message-Id: <199610131304.OAA00656@orlando.tavari.muc.de> Date: Sun, 13 Oct 1996 14:04:59 +0100 From: lutz@muc.de Reply-To: lutz@muc.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/1784: 2.1.5 update destroys old /etc/sysconfig Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1784 >Category: misc >Synopsis: 2.1.5 update destroys the old sysconfig file >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 05:10:01 PDT 1996 >Last-Modified: >Originator: Lutz Albers >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: System running 2.1R updated to 2.1.5R using the CD-ROM. >Description: During the update all /etc files will be saved in a custom directory. The /etc/sysconfig is not saved, but overwritten with the new sysconfig file from the 2.1.5 release. You loose all your system configuration. >How-To-Repeat: Update your system. >Fix: installUpgrade.c calls in line 267 the function copySelf. This function will copy the /etc files on the floppy (services, protocol, sysconfig) to the disc. At this point the old sysconfig file is overwritten !!! The /etc directory is saved later with this already overwritten files. Maybe you should save the /etc files BEFORE calling copySelf ? >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Oct 13 07:37:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA16520 for bugs-outgoing; Sun, 13 Oct 1996 07:37:06 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA16501; Sun, 13 Oct 1996 07:37:03 -0700 (PDT) Date: Sun, 13 Oct 1996 07:37:03 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199610131437.HAA16501@freefall.freebsd.org> To: lutz@muc.de, jkh, freebsd-bugs Subject: Re: misc/1784 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: 2.1.5 update destroys the old sysconfig file State-Changed-From-To: open-closed State-Changed-By: jkh State-Changed-When: Sun Oct 13 07:36:37 PDT 1996 State-Changed-Why: This has already been fixed - upgrade no longer calls copySelf(). From owner-freebsd-bugs Sun Oct 13 10:10:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA25595 for bugs-outgoing; Sun, 13 Oct 1996 10:10:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA25584; Sun, 13 Oct 1996 10:10:02 -0700 (PDT) Resent-Date: Sun, 13 Oct 1996 10:10:02 -0700 (PDT) Resent-Message-Id: <199610131710.KAA25584@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, lkoeller@odie.physik2.uni-rostock.de Received: from odie.physik2.uni-rostock.de (odie.physik2.uni-rostock.de [139.30.40.28]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA25234 for ; Sun, 13 Oct 1996 10:05:22 -0700 (PDT) Received: (from lkoeller@localhost) by odie.physik2.uni-rostock.de (8.7.5/8.7.3) id TAA03153; Sun, 13 Oct 1996 19:05:06 +0200 (MET DST) Message-Id: <199610131705.TAA03153@odie.physik2.uni-rostock.de> Date: Sun, 13 Oct 1996 19:05:06 +0200 (MET DST) From: Lars Koeller Reply-To: lkoeller@odie.physik2.uni-rostock.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1785: vgrind didn't work correct! Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1785 >Category: bin >Synopsis: vgrind works not as described in the man page! >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 10:10:01 PDT 1996 >Last-Modified: >Originator: Lars Koeller >Organization: University of Rostock, Germany >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: FreeBSD-2.1.5 system! >Description: Vgrind didn't work as described in the manpage: 1) There are no "and the name of the current function is listed down the margin of each page as it is encountered" (cite out of manpage) The page consists of the file name on the top (left and right) the listing (keywords bold, comments italic, ...) and the date and page number on the bottom of each page. There are no function definition at the margin. I output the page on a PostScript HP LaserJet V via 'vgrind file.c' 2) No index file is produced. If I understand the manpage right, the creation of index (touch ./index) in the current directory should produce a index file of the functions, which could be printed with 'vgrind -x index' but the file index is always empty. >How-To-Repeat: See above. call vgrind with any C-source file and look at the output. Create the file index in the current directory, call vgrind again with the C-source file and look into ./index it's always empty. >Fix: Don't know. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Oct 13 11:20:27 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA29206 for bugs-outgoing; Sun, 13 Oct 1996 11:20:27 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA29187; Sun, 13 Oct 1996 11:20:24 -0700 (PDT) Date: Sun, 13 Oct 1996 11:20:24 -0700 (PDT) From: Bruce Evans Message-Id: <199610131820.LAA29187@freefall.freebsd.org> To: tegge@itea.ntnu.no, bde, freebsd-bugs Subject: Re: bin/1783 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: fdisk calculates wrong start/end addresses in dos partition table State-Changed-From-To: open-closed State-Changed-By: bde State-Changed-When: Sun Oct 13 11:19:09 PDT 1996 State-Changed-Why: Suggested fix applied in rev.1.11 of fdisk.c. From owner-freebsd-bugs Sun Oct 13 11:20:31 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA29247 for bugs-outgoing; Sun, 13 Oct 1996 11:20:31 -0700 (PDT) Received: (from fenner@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA29228; Sun, 13 Oct 1996 11:20:29 -0700 (PDT) Date: Sun, 13 Oct 1996 11:20:29 -0700 (PDT) From: Bill Fenner Message-Id: <199610131820.LAA29228@freefall.freebsd.org> To: charnier@lirmm.fr, fenner, freebsd-bugs Subject: Re: bin/1322 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: savecore does not take minfree into account State-Changed-From-To: open-closed State-Changed-By: fenner State-Changed-When: Sun Oct 13 11:12:26 PDT 1996 State-Changed-Why: Fixed in rev 1.15 of savecore.c . I came upon this problem on my own and fixed it seperately, and then combined my patches and Phillipe's to come up with what I committed to the tree. From owner-freebsd-bugs Sun Oct 13 12:10:02 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA01435 for bugs-outgoing; Sun, 13 Oct 1996 12:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA01428; Sun, 13 Oct 1996 12:10:01 -0700 (PDT) Resent-Date: Sun, 13 Oct 1996 12:10:01 -0700 (PDT) Resent-Message-Id: <199610131910.MAA01428@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, roberto@keltia.freenix.fr Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.eu.org [193.56.58.253]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA01228 for ; Sun, 13 Oct 1996 12:06:07 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.eu.org [193.56.58.33]) by mexico.brainstorm.eu.org (8.7.5/8.7.3) with ESMTP id UAA15794 for ; Sun, 13 Oct 1996 20:05:55 +0100 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.6.12/8.6.12) with UUCP id VAA27387 for FreeBSD-gnats-submit@freebsd.org; Sun, 13 Oct 1996 21:05:34 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.0/keltia-uucp-2.9) id VAA10998; Sun, 13 Oct 1996 21:05:24 +0200 (MET DST) Message-Id: <199610131905.VAA10998@keltia.freenix.fr> Date: Sun, 13 Oct 1996 21:05:24 +0200 (MET DST) From: Ollivier Robert Reply-To: roberto@keltia.freenix.fr To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/1787: /usr/bin/patch doesn't like Index: lines Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1787 >Category: gnu >Synopsis: Diffs with Index: lines are not honored for new files >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 12:10:00 PDT 1996 >Last-Modified: >Originator: Ollivier Robert >Organization: Usenet Canal Historique >Release: FreeBSD 2.2-961004-SNAP i386 >Environment: Not really relevant >Description: When one uses /usr/bin/patch to bring perl5.003_05 up to perl5.003_07 with the diffs, new files are created in the current directory instead of the right place specified by both the "***/---" lines and the "Index:" line. patch-2.1.tar.gz from any GNU mirror sites doesn't have the problem. >How-To-Repeat: Get perl5.003_05.tar.gz from CPAN Get perl5.003_06.pat.gz and perl5.003_07.pat.gz from CPAN as well and try to apply them. Configure will note that the files are missing and yell. >Fix: Maybe update our patch or re-import patch-2.1 in contrib. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Oct 13 13:30:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA04439 for bugs-outgoing; Sun, 13 Oct 1996 13:30:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA04433; Sun, 13 Oct 1996 13:30:02 -0700 (PDT) Date: Sun, 13 Oct 1996 13:30:02 -0700 (PDT) Message-Id: <199610132030.NAA04433@freefall.freebsd.org> To: freebsd-bugs Cc: From: Mark Murray Subject: Re: gnu/1787: /usr/bin/patch doesn't like Index: lines Reply-To: Mark Murray Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR gnu/1787; it has been noted by GNATS. From: Mark Murray To: roberto@keltia.freenix.fr Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: gnu/1787: /usr/bin/patch doesn't like Index: lines Date: Sun, 13 Oct 1996 22:27:01 +0200 Ollivier Robert wrote: > >Description: > > When one uses /usr/bin/patch to bring perl5.003_05 up to perl5.003_07 with > the diffs, new files are created in the current directory instead of the > right place specified by both the "***/---" lines and the "Index:" line. > > patch-2.1.tar.gz from any GNU mirror sites doesn't have the problem. I fixed a related problem in our patch where if multiple files of the same name are all being patched (like if you are patching all the "Makefile"s in a subtree), then patch screwed up and tried to patch the file in the current directoryMultiple times. IIRC, the problem was one of priorities in the file pch.c - the man page said Index: was the highest, and I cant remember the rest offhand. I'll look further in the next day or so... M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key From owner-freebsd-bugs Sun Oct 13 14:00:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA05698 for bugs-outgoing; Sun, 13 Oct 1996 14:00:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA05686; Sun, 13 Oct 1996 14:00:03 -0700 (PDT) Resent-Date: Sun, 13 Oct 1996 14:00:03 -0700 (PDT) Resent-Message-Id: <199610132100.OAA05686@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Tor.Egge@idt.ntnu.no Received: from pat.idt.unit.no (pat.idt.unit.no [129.241.103.5]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA05632 for ; Sun, 13 Oct 1996 13:59:29 -0700 (PDT) Received: from ikke.idt.unit.no (ikke.idt.unit.no [129.241.111.65]) by pat.idt.unit.no (8.7.5/8.7.3) with ESMTP id WAA16794 for ; Sun, 13 Oct 1996 22:58:30 +0200 (MET DST) Received: (from tegge@localhost) by ikke.idt.unit.no (8.7.6/8.7.3) id WAA14506; Sun, 13 Oct 1996 22:58:29 +0200 (MET DST) Message-Id: <199610132058.WAA14506@ikke.idt.unit.no> Date: Sun, 13 Oct 1996 22:58:29 +0200 (MET DST) From: Tor Egge Reply-To: Tor.Egge@idt.ntnu.no To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1788: netstat gives negative numbers for tcp bytes transferred Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1788 >Category: kern >Synopsis: netstat gives negative numbers for tcp bytes transferred >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 14:00:02 PDT 1996 >Last-Modified: >Originator: Tor Egge >Organization: Norwegian University of Science and Technology, Trondheim, Norway >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD skarven.itea.ntnu.no 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Fri Oct 11 23:58:42 1996 root@skarven.itea.ntnu.no:/usr/src/sys/compile/SKARVEN i386 >Description: Currently 32 bits variables are used to collect tcp statistics. With some network load (6 GB/day outgoing HTTP traffic/day), the number of tcp bytes transferred as shown by netstat becomes negative after 8 hours uptime. >How-To-Repeat: Run netstat -s on a machine that has been up with some network load for some time. >Fix: Use 64 bits integers for some of the numbers, e.g. packet and byte counters, and modify netstat to use %qd instead of %ld in the corresponding format argument to printf. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Oct 13 14:50:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA07687 for bugs-outgoing; Sun, 13 Oct 1996 14:50:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA07681; Sun, 13 Oct 1996 14:50:02 -0700 (PDT) Resent-Date: Sun, 13 Oct 1996 14:50:02 -0700 (PDT) Resent-Message-Id: <199610132150.OAA07681@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, tegge@itea.ntnu.no Received: from istind.itea.unit.no (istind.itea.unit.no [129.241.190.12]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA07623 for ; Sun, 13 Oct 1996 14:48:23 -0700 (PDT) Received: from skarven.itea.ntnu.no (tegge@skarven.itea.ntnu.no [129.241.190.13]) by istind.itea.unit.no (8.6.12/1.9.AHJ) with ESMTP id VAA25572 for ; Sun, 13 Oct 1996 21:48:10 GMT Received: (from tegge@localhost) by skarven.itea.ntnu.no (8.7.6/8.7.3) id XAA02104; Sun, 13 Oct 1996 23:48:09 +0200 (MET DST) Message-Id: <199610132148.XAA02104@skarven.itea.ntnu.no> Date: Sun, 13 Oct 1996 23:48:09 +0200 (MET DST) From: Tor Egge Reply-To: tegge@itea.ntnu.no To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1789: dump estimates a negative number of tapes needed for huge dumps Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1789 >Category: bin >Synopsis: dump estimates a negative number of tapes needed for huge dumps >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 14:50:01 PDT 1996 >Last-Modified: >Originator: Tor Egge >Organization: Norwegian University of Science and Technology, Trondheim, Norway >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD skarven.itea.ntnu.no 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Fri Oct 11 23:58:42 1996 root@skarven.itea.ntnu.no:/usr/src/sys/compile/SKARVEN i386 >Description: skarven# df -k /export/ftpsearch1 Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/sd2a 4175707 3352892 697544 83% /export/ftpsearch1 skarven# dump 0f /dev/null /dev/rsd2a DUMP: Date of this level 0 dump: Sun Oct 13 23:16:13 1996 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rsd2a (/export/ftpsearch1) to /dev/null DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 3355778 tape blocks on -10.93 tape(s). DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] [...] >How-To-Repeat: dump a big filesystem (more than 2 GB used). >Fix: cast tapesize to double in the expression that calculates fetapes to avoid wraparound. Index: main.c =================================================================== RCS file: /export/ftpsearch3/cvs/src/sbin/dump/main.c,v retrieving revision 1.7 diff -u -r1.7 main.c --- main.c 1996/09/14 02:57:39 1.7 +++ main.c 1996/10/13 21:40:12 @@ -368,7 +368,7 @@ Assume no erroneous blocks; this can be compensated for with an artificially low tape size. */ fetapes = - ( tapesize /* blocks */ + ( (double) tapesize /* blocks */ * TP_BSIZE /* bytes/block */ * (1.0/density) /* 0.1" / byte " */ + @@ -381,7 +381,7 @@ tape */ int tenthsperirg = (density == 625) ? 3 : 7; fetapes = - ( tapesize /* blocks */ + ( (double) tapesize /* blocks */ * TP_BSIZE /* bytes / block */ * (1.0/density) /* 0.1" / byte " */ + >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Oct 13 15:20:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA08793 for bugs-outgoing; Sun, 13 Oct 1996 15:20:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA08753; Sun, 13 Oct 1996 15:20:02 -0700 (PDT) Resent-Date: Sun, 13 Oct 1996 15:20:02 -0700 (PDT) Resent-Message-Id: <199610132220.PAA08753@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, peter@spinner.DIALix.COM Received: from spinner.DIALix.COM (peter@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA08678 for ; Sun, 13 Oct 1996 15:19:17 -0700 (PDT) Received: (from peter@localhost) by spinner.DIALix.COM (8.8.0/8.8.0) id GAA02432; Mon, 14 Oct 1996 06:19:09 +0800 (WST) Message-Id: <199610132219.GAA02432@spinner.DIALix.COM> Date: Mon, 14 Oct 1996 06:19:09 +0800 (WST) From: Peter Wemm Reply-To: peter@spinner.DIALix.COM To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1790: access to /dev/kmem panics system Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1790 >Category: kern >Synopsis: access to /dev/kmem panics system >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 15:20:01 PDT 1996 >Last-Modified: >Originator: Peter Wemm >Organization: Not.. >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD curie.dialix.com.au 2.2-CURRENT FreeBSD 2.2-CURRENT #5: Mon Oct 14 04:28:03 EST 1996 peter@curie.dialix.com.au:/home/src/sys/compile/CURIE i386 Built from sources only a few hours old. >Description: identd appears to have found an address in /dev/kmem that causes a kernel panic, although it may just be a pmap bug. I do not know the address that identd was trying to access when it died. At a guess, I think it was trying to look up 0xffff0000, this address causes the same panic in the test program. Fatal trap 12: page fault while in kernel mode fault virtual address = 0xefffffc0 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01a25fc stack pointer = 0x10:0xefbffe28 frame pointer = 0x10:0xefbffe30 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 = 1834 (identd) Addresses around %eip f01a2548 t _pmap_pte_quick f01a25d4 T _pmap_extract f01a261c T _pmap_qenter Dump of assembler code from 0xf01a25d4 to 0xf01a2600: 0xf01a25d4 : pushl %ebp 0xf01a25d5 : movl %esp,%ebp 0xf01a25d7 : pushl %ebx 0xf01a25d8 : movl 0x8(%ebp),%ecx 0xf01a25db : movl 0xc(%ebp),%ebx 0xf01a25de : testl %ecx,%ecx 0xf01a25e0 : je 0xf01a2614 0xf01a25e2 : movl %ebx,%edx 0xf01a25e4 : shrl $0x16,%edx 0xf01a25e7 : movl (%ecx),%eax 0xf01a25e9 : cmpl $0x0,(%eax,%edx,4) 0xf01a25ed : je 0xf01a2614 0xf01a25ef : pushl %ecx 0xf01a25f0 : call 0xf01a24b8 0xf01a25f5 : movl %eax,%edx 0xf01a25f7 : movl %ebx,%eax 0xf01a25f9 : shrl $0xc,%eax 0xf01a25fc : movl (%edx,%eax,4),%edx ^^^^^^^^^^^^^^^^^^^^^^^ Here 0xf01a25ff : andl $0xfffff000,%edx vm_offset_t pmap_extract(pmap, va) register pmap_t pmap; vm_offset_t va; { vm_offset_t rtval; if (pmap && *pmap_pde(pmap, va)) { unsigned *pte; pte = get_ptbase(pmap) + i386_btop(va); rtval = ((*pte & PG_FRAME) | (va & PAGE_MASK)); ^^^^^^^^^^^^^^^^^^ return rtval; } return 0; } The code in mem.c that triggered it: addr = trunc_page(uio->uio_offset); eaddr = round_page(uio->uio_offset + c); for (; addr < eaddr; addr += PAGE_SIZE) if (pmap_extract(kernel_pmap, addr) == 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ return EFAULT; >How-To-Repeat: save your work, sync a few times, then run this program: #include #include char buf[4096]; main() { int fd = open("/dev/kmem", 0); unsigned long offset = 0xffff0000; lseek(fd, offset, 0); read(fd, buf, 4096); } 0xffff0000 appears to be one of the common power-up patterns in DRAM that I've seen on uncleared pages. >Fix: Not sure, but is that code in mem.c right? It doesn't appear to do any bounds checking on what is passed to pmap_extract(). Perhaps it needs to trap addresses beyond the top of the kernel address space? Perhaps it's pmap_pde at fault since it's returning "success" for an address that would be on the 64th kernel pde, when only 63 (NKPDE) exist. Checking at that level would probably be a slowdown though. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Oct 13 17:20:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA13340 for bugs-outgoing; Sun, 13 Oct 1996 17:20:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA13322; Sun, 13 Oct 1996 17:20:02 -0700 (PDT) Resent-Date: Sun, 13 Oct 1996 17:20:02 -0700 (PDT) Resent-Message-Id: <199610140020.RAA13322@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, tegge@itea.ntnu.no Received: from istind.itea.unit.no (istind.itea.unit.no [129.241.190.12]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA12886 for ; Sun, 13 Oct 1996 17:12:07 -0700 (PDT) Received: from skarven.itea.ntnu.no (tegge@skarven.itea.ntnu.no [129.241.190.13]) by istind.itea.unit.no (8.6.12/1.9.AHJ) with ESMTP id AAA26269 for ; Mon, 14 Oct 1996 00:11:50 GMT Received: (from tegge@localhost) by skarven.itea.ntnu.no (8.7.6/8.7.3) id CAA03168; Mon, 14 Oct 1996 02:11:49 +0200 (MET DST) Message-Id: <199610140011.CAA03168@skarven.itea.ntnu.no> Date: Mon, 14 Oct 1996 02:11:49 +0200 (MET DST) From: Tor Egge Reply-To: tegge@itea.ntnu.no To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/1791: syslimits.h does not allow overriding default value of ARG_MAX Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1791 >Category: misc >Synopsis: syslimits.h does not allow overriding default value of ARG_MAX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 17:20:01 PDT 1996 >Last-Modified: >Originator: Tor Egge >Organization: Norwegian University of Science and Technology, Trondheim, Norway >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD skarven.itea.ntnu.no 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Fri Oct 11 23:58:42 1996 root@skarven.itea.ntnu.no:/usr/src/sys/compile/SKARVEN i386 >Description: It is not possible to specify an alternative value of ARG_MAX in the kernel config file, since /usr/src/sys/sys/syslimits.h defines ARG_MAX even if it was defined. >How-To-Repeat: Compile a kernel where one line in the kernel config file says options ARG_MAX=262144 >Fix: Only define ARG_MAX if it is not already defined. Index: syslimits.h =================================================================== RCS file: /export/ftpsearch3/cvs/src/sys/sys/syslimits.h,v retrieving revision 1.6 diff -c -r1.6 syslimits.h *** syslimits.h 1994/12/03 17:36:37 1.6 --- syslimits.h 1996/10/11 21:28:38 *************** *** 37,43 **** --- 37,45 ---- #ifndef _SYS_SYSLIMITS_H_ #define _SYS_SYSLIMITS_H_ + #ifndef ARG_MAX #define ARG_MAX 65536 /* max bytes for an exec function */ + #endif #ifndef CHILD_MAX #define CHILD_MAX 40 /* max simultaneous processes */ #endif >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Oct 13 19:43:54 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA19772 for bugs-outgoing; Sun, 13 Oct 1996 19:43:54 -0700 (PDT) Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA19766; Sun, 13 Oct 1996 19:43:49 -0700 (PDT) Received: (from obrien@localhost) by relay.nuxi.com (8.7.5/8.6.12) id TAA05524; Sun, 13 Oct 1996 19:44:06 -0700 (PDT) From: "David E. O'Brien" Message-Id: <199610140244.TAA05524@relay.nuxi.com> Subject: Re: ports/1710: updated Tin port To: FreeBSD-gnats@freefall.freebsd.org, freebsd-bugs@freefall.freebsd.org Date: Sun, 13 Oct 1996 19:44:06 -0700 (PDT) Cc: obrien@Nuxi.cs.ucdavis.edu In-Reply-To: <199610021720.KAA22142@freefall.freebsd.org> from "FreeBSD-gnats@freefall.freebsd.org" at "Oct 2, 96 10:20:06 am" X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Thank you very much for your problem report. > It has the internal identification `ports/1710'. > The individual assigned to look at your > bug is: freebsd-bugs. > > >Category: ports > >Responsible: freebsd-bugs > >Synopsis: update to Tin port > >Arrival-Date: Wed Oct 2 10:20:06 PDT 1996 The Tin port I submitted Aug 23 (ports/1537) [and updated Oct 2 (ports/1710)] (nudge, nudge, nudge, nudge, nudge, nudge, nudge, nudge, nudge :-)) has been updated. Please find it in freefall:/incoming as tin-port-961012.tgz From owner-freebsd-bugs Sun Oct 13 20:10:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA21237 for bugs-outgoing; Sun, 13 Oct 1996 20:10:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA21230; Sun, 13 Oct 1996 20:10:03 -0700 (PDT) Resent-Date: Sun, 13 Oct 1996 20:10:03 -0700 (PDT) Resent-Message-Id: <199610140310.UAA21230@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received: (from nobody@localhost)by.freefall.freebsd.org.id.UAA21113;Sun; (8.7.5/8.7.3);, 13 Oct 1996 20:06:54.-0700 (PDT) Message-Id: <199610140306.UAA21113@freefall.freebsd.org> Date: Sun, 13 Oct 1996 20:06:54 -0700 (PDT) From: george@cia-g.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/1793: /bin/sh return w/o exitstatus in a function sets exitstatus to true Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1793 >Category: bin >Synopsis: /bin/sh return w/o exitstatus in a function sets exitstatus to true >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 20:10:01 PDT 1996 >Last-Modified: >Originator: George Simunovich >Organization: >Release: 2.2-current >Environment: 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Sat Oct 12 13:26:46 MDT 1996 >Description: A return without an exit status in a sh functino sets the exit status to true. bash works as does /bin/sh on FreeBSD 2.1.0-RELEASE >How-To-Repeat: When the following script is run it echos "True Condition". #!/bin/sh Tester() { false return } if Tester then echo "True Condition" else echo "Not True Condition" fi >Fix: use bash? >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Oct 13 20:18:33 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA21537 for bugs-outgoing; Sun, 13 Oct 1996 20:18:33 -0700 (PDT) Received: from hot.ee.lbl.gov (hot.ee.lbl.gov [131.243.1.42]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA21532 for ; Sun, 13 Oct 1996 20:18:30 -0700 (PDT) Received: by hot.ee.lbl.gov (8.7.5/1.43r) id UAA11828; Sun, 13 Oct 1996 20:18:26 -0700 (PDT) Message-Id: <199610140318.UAA11828@hot.ee.lbl.gov> To: bugs@freebsd.org Subject: FreeBSD bug report (lib/libcrypt/crypt.c) Date: Sun, 13 Oct 1996 20:18:26 PDT From: Craig Leres Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Some minor gcc/lint. Craig ------ RCS file: RCS/crypt.c,v retrieving revision 1.1 diff -c -r1.1 crypt.c *** crypt.c 1996/10/14 03:09:53 1.1 --- crypt.c 1996/10/14 03:11:32 *************** *** 6,25 **** * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * ! * $Id: crypt.c,v 1.1 1996/10/14 03:09:53 leres Exp $ * */ #if defined(LIBC_SCCS) && !defined(lint) ! static char rcsid[] = "$Header: /usr/src/lib/libcrypt/RCS/crypt.c,v 1.1 1996/10/14 03:09:53 leres Exp $"; #endif /* LIBC_SCCS and not lint */ #include #include #include static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; static void to64(s, v, n) --- 6,28 ---- * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * ! * $Id: crypt.c,v 1.2 1996/10/14 03:11:31 leres Exp $ * */ #if defined(LIBC_SCCS) && !defined(lint) ! static char rcsid[] = "$Header: /usr/src/lib/libcrypt/RCS/crypt.c,v 1.2 1996/10/14 03:11:31 leres Exp $"; #endif /* LIBC_SCCS and not lint */ #include #include #include + #include static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; + + static void to64 __P((char *, unsigned long, int)); static void to64(s, v, n) From owner-freebsd-bugs Sun Oct 13 22:24:30 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA27098 for bugs-outgoing; Sun, 13 Oct 1996 22:24:30 -0700 (PDT) Received: from fly.HiWAAY.net (sprice@fly.HiWAAY.net [204.214.4.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA27088; Sun, 13 Oct 1996 22:24:09 -0700 (PDT) Received: from localhost by fly.HiWAAY.net; (8.7.5/1.1.8.2/21Sep95-1003PM) id AAA15245; Mon, 14 Oct 1996 00:22:34 -0500 (CDT) Date: Mon, 14 Oct 1996 00:22:33 -0500 (CDT) From: Steve Price To: george@cia-g.com cc: freebsd-gnats-submit@FreeBSD.org, GNATS Management , freebsd-bugs@freefall.freebsd.org, sprice@hiwaay.net Subject: Re: bin/1793: /bin/sh return w/o exitstatus in a function sets exitstatus to true In-Reply-To: <199610140306.UAA21113@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 13 Oct 1996 george@cia-g.com wrote: # # >Number: 1793 # >Category: bin # >Synopsis: /bin/sh return w/o exitstatus in a function sets exitstatus to true # >Confidential: no # >Severity: non-critical # >Priority: low # >Responsible: freebsd-bugs # >State: open # >Class: sw-bug # >Submitter-Id: current-users # >Arrival-Date: Sun Oct 13 20:10:01 PDT 1996 # >Last-Modified: # >Originator: George Simunovich # >Organization: # >Release: 2.2-current # >Environment: # 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Sat Oct 12 13:26:46 MDT 1996 # >Description: # A return without an exit status in a sh functino sets the exit status # to true. # # bash works as does /bin/sh on FreeBSD 2.1.0-RELEASE # >How-To-Repeat: # When the following script is run it echos "True Condition". # # #!/bin/sh # # Tester() # { # false # return # } # # if Tester # then # echo "True Condition" # else # echo "Not True Condition" # fi # # >Fix: # use bash? # # >Audit-Trail: # >Unformatted: # Try doing a 'return $?' to return the exitstatus of the previously executed command. Attached is a one-liner that fixes the case above but breaks this new case (at least wrt /bin/bash). steve[~]$ cat > testing tester() { return } false if tester then echo "true" else echo "false" fi ^D steve[~] /tmp/sh testing true steve[~] /bin/bash testing false steve[~] I will look into this some more and see what I can find. Steve Index: eval.c =================================================================== RCS file: /home/ncvs/src/bin/sh/eval.c,v retrieving revision 1.6 diff -u -r1.6 eval.c --- eval.c 1996/10/06 15:17:19 1.6 +++ eval.c 1996/10/14 05:02:36 @@ -958,7 +958,7 @@ { int ret; - ret = exitstatus; + ret = oexitstatus; if (argc > 1) ret = number(argv[1]); if (funcnest) { From owner-freebsd-bugs Sun Oct 13 22:30:02 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA27382 for bugs-outgoing; Sun, 13 Oct 1996 22:30:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA27376; Sun, 13 Oct 1996 22:30:01 -0700 (PDT) Date: Sun, 13 Oct 1996 22:30:01 -0700 (PDT) Message-Id: <199610140530.WAA27376@freefall.freebsd.org> To: freebsd-bugs Cc: From: Steve Price Subject: Re: bin/1793: /bin/sh return w/o exitstatus in a function sets exitstatus to true Reply-To: Steve Price Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1793; it has been noted by GNATS. From: Steve Price To: george@cia-g.com Cc: freebsd-gnats-submit@FreeBSD.org, GNATS Management , freebsd-bugs@freefall.freebsd.org, sprice@hiwaay.net Subject: Re: bin/1793: /bin/sh return w/o exitstatus in a function sets exitstatus to true Date: Mon, 14 Oct 1996 00:22:33 -0500 (CDT) On Sun, 13 Oct 1996 george@cia-g.com wrote: # # >Number: 1793 # >Category: bin # >Synopsis: /bin/sh return w/o exitstatus in a function sets exitstatus to true # >Confidential: no # >Severity: non-critical # >Priority: low # >Responsible: freebsd-bugs # >State: open # >Class: sw-bug # >Submitter-Id: current-users # >Arrival-Date: Sun Oct 13 20:10:01 PDT 1996 # >Last-Modified: # >Originator: George Simunovich # >Organization: # >Release: 2.2-current # >Environment: # 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Sat Oct 12 13:26:46 MDT 1996 # >Description: # A return without an exit status in a sh functino sets the exit status # to true. # # bash works as does /bin/sh on FreeBSD 2.1.0-RELEASE # >How-To-Repeat: # When the following script is run it echos "True Condition". # # #!/bin/sh # # Tester() # { # false # return # } # # if Tester # then # echo "True Condition" # else # echo "Not True Condition" # fi # # >Fix: # use bash? # # >Audit-Trail: # >Unformatted: # Try doing a 'return $?' to return the exitstatus of the previously executed command. Attached is a one-liner that fixes the case above but breaks this new case (at least wrt /bin/bash). steve[~]$ cat > testing tester() { return } false if tester then echo "true" else echo "false" fi ^D steve[~] /tmp/sh testing true steve[~] /bin/bash testing false steve[~] I will look into this some more and see what I can find. Steve Index: eval.c =================================================================== RCS file: /home/ncvs/src/bin/sh/eval.c,v retrieving revision 1.6 diff -u -r1.6 eval.c --- eval.c 1996/10/06 15:17:19 1.6 +++ eval.c 1996/10/14 05:02:36 @@ -958,7 +958,7 @@ { int ret; - ret = exitstatus; + ret = oexitstatus; if (argc > 1) ret = number(argv[1]); if (funcnest) { From owner-freebsd-bugs Mon Oct 14 00:00:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA04315 for bugs-outgoing; Mon, 14 Oct 1996 00:00:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA04287; Mon, 14 Oct 1996 00:00:03 -0700 (PDT) Resent-Date: Mon, 14 Oct 1996 00:00:03 -0700 (PDT) Resent-Message-Id: <199610140700.AAA04287@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, hsu@clinet.fi Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA03460 for ; Sun, 13 Oct 1996 23:50:06 -0700 (PDT) Received: from katiska.clinet.fi (root@katiska.clinet.fi [194.100.0.4]) by hauki.clinet.fi (8.7.6/8.6.4) with ESMTP id IAA08729 for ; Mon, 14 Oct 1996 08:49:56 +0200 (EET) Received: (root@localhost) by katiska.clinet.fi (8.7.6/8.6.4) id JAA24880; Mon, 14 Oct 1996 09:49:56 +0300 (EET DST) Message-Id: <199610140649.JAA24880@katiska.clinet.fi> Date: Mon, 14 Oct 1996 09:49:56 +0300 (EET DST) From: Heikki Suonsivu Reply-To: hsu@clinet.fi To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1803: make reinstall rule broken, tries to do depend and all Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1803 >Category: bin >Synopsis: make reinstall rule broken, tries to do depend and all >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 14 00:00:01 PDT 1996 >Last-Modified: >Originator: Heikki Suonsivu >Organization: Clinet, Espoo, Finland >Release: FreeBSD 2.2-CURRENT i386 >Environment: -Current >Description: make reinstall no more works, someone added all and depend to reinstall rule, which does not work, as tools on the machine to be upgraded may not be up-to-date. Instead of reinstalling the target the ready-compiled obj/src tree probably gets munged. >How-To-Repeat: reinstall machine couple of months old. May botch your src/obj tree, so be prepared to make world again. >Fix: make reinstall should not rebuild anything; it should be possible to do make reinstall from read-only mount of obj/src. Partial fix is to remove depend and all from reinstall rule, to return the reinstall rule to what it was before. Real fix would involve making reinstall install tools needed for install first, but I don't know how this should be done. Depending on target age more and more things need to be done, make, mk and install often need to be installed again. I have been doing most of this by hand when necessary. *** Makefile.broken Mon Oct 14 08:09:50 1996 --- Makefile Mon Oct 14 08:10:44 1996 *************** *** 246,261 **** cd ${.CURDIR} && ${MAKE} includes @echo @echo "--------------------------------------------------------------" - @echo " Rebuilding dependencies" - @echo "--------------------------------------------------------------" - cd ${.CURDIR} && ${MAKE} depend - @echo - @echo "--------------------------------------------------------------" - @echo " Building everything.." - @echo "--------------------------------------------------------------" - cd ${.CURDIR} && ${MAKE} all - @echo - @echo "--------------------------------------------------------------" @echo " Installing everything.." @echo "--------------------------------------------------------------" cd ${.CURDIR} && ${MAKE} install --- 246,251 ---- -- Heikki Suonsivu, T{ysikuu 10 C 83/02210 Espoo/FINLAND, hsu@clinet.fi mobile +358-40-5519679 work +358-0-43542270 fax -4555276 home -8031121 >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Oct 14 00:06:34 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA04909 for bugs-outgoing; Mon, 14 Oct 1996 00:06:34 -0700 (PDT) Received: from brickell.bridge.net (root@brickell.bridge.net [204.253.4.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA04868; Mon, 14 Oct 1996 00:06:24 -0700 (PDT) Received: from chipsworld.bridge.net (chipsworld.bridge.net [204.253.4.10]) by brickell.bridge.net (8.7.6/8.7.3) with ESMTP id CAA01830; Mon, 14 Oct 1996 02:57:10 -0400 Received: from localhost (genie@localhost) by chipsworld.bridge.net (8.7.3/8.7.3) with SMTP id DAA30475; Mon, 14 Oct 1996 03:55:57 -0400 Date: Mon, 14 Oct 1996 03:55:56 -0400 (EDT) From: Deflorator To: questions@freebsd.org cc: bugs@freebsd.org Subject: FreeBSD 2.1.5 will *not* install from VFAT Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello. I downloaded the boot.flp image and rawrite-ed it to a clean, just formatted 1.44 floppy, as you suggest in your manuals. Then I created C:\FreeBSD and C:\FreeBSD\BIN, and downloaded the BIN directory from ftp.freebsd.org. I have a 2.5 gig primary drive, and a 405M secondary drive. Both drives are Western Digital Caviar. Both of them have had Linux installed on there, and every other os there is...The 2.5 gig is the master, and the 405M is the slave drive. The machine is a 486dx2/66, with a VLB, 32 M ram, and has a ESDI/IDE controller. When I booted FreeBSD using the rawritten floppy, it recognized every component on my machine, without a problem. I selected the second HD(405M) for installing FreeBSD, and used the A option to partition it(label it) from the setup program, after creating a native FreeBSD partition on it. It all went very well so far, up to and including the creation of the fs on the drive, until it was time to extract the packages from my Win95(Dos/vfat/whatever...) partition. The 2.5 gig is split into 2 partitions, 1.25 G each, and the C: drive is Win95/VFAT. When it tried to extract the BIN(minimal distribution) dir, it hung right after the 139th kbyte, and it showed a message: Write failure on transfer( wrote -1 bytes of 1024 bytes ). and in vty2 it showed an invalid header error for /stand/cpio. This upset me very much, as I actually downloaded the entire distribution twice that night(bin dir) thinking something is wrong with the downloaded files, but when I tried second time around to install it, the same thing happened. What am I doing wrong, or what is FreeBSD doing wrong? Your quick response will be utterly appreciated. I really like BSD, and am looking forward to install it, but can not... very frustrated, Martin Naskovski From owner-freebsd-bugs Mon Oct 14 01:50:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA13963 for bugs-outgoing; Mon, 14 Oct 1996 01:50:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA13957; Mon, 14 Oct 1996 01:50:03 -0700 (PDT) Date: Mon, 14 Oct 1996 01:50:03 -0700 (PDT) Message-Id: <199610140850.BAA13957@freefall.freebsd.org> To: freebsd-bugs Cc: From: Bruce Evans Subject: Re: misc/1791: syslimits.h does not allow overriding default value of ARG_MAX Reply-To: Bruce Evans Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR misc/1791; it has been noted by GNATS. From: Bruce Evans To: FreeBSD-gnats-submit@FreeBSD.org, tegge@itea.ntnu.no Cc: Subject: Re: misc/1791: syslimits.h does not allow overriding default value of ARG_MAX Date: Mon, 14 Oct 1996 18:37:04 +1000 > It is not possible to specify an alternative value of ARG_MAX > in the kernel config file, since /usr/src/sys/sys/syslimits.h > defines ARG_MAX even if it was defined. This isn't a bug. Defining ARG_MAX in advertises to applications that ARG_MAX is a constant with the given value. The only correct way to change it is to change the header and recompile all applications that depend on it (ps, xargs and who-knows-what else). The best way to fix the problem is to remove the definition of ARG_MAX from and then fix everything that (bogusly) depends on it. Non-bogus dependencies on it look like this: #ifdef ARG_MAX char buf[ARG_MAX]; #else long arg_max; char *buf; arg_max = sysconf(_SC_ARG_MAX); if (arg_max == -1) barf("sysconf"); st_arg_max = (size_t)arg_max; if (st_arg_max != arg_max); barf("unrepresentable arg_max"); buf = malloc(st_arg_max); if (buf == NULL) barf("malloc"); #endif The kernel should use some other name for ARG_MAX to avoid confusion. I have fixed most the corresponding problems for OPEN_MAX and CHILD_MAX. They are now named PROC0_RLIMIT_NOFILE and PROC0_RLIMIT_NPROC in my kernel sources. Bruce From owner-freebsd-bugs Mon Oct 14 02:40:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA17464 for bugs-outgoing; Mon, 14 Oct 1996 02:40:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA17422; Mon, 14 Oct 1996 02:40:04 -0700 (PDT) Resent-Date: Mon, 14 Oct 1996 02:40:04 -0700 (PDT) Resent-Message-Id: <199610140940.CAA17422@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:"from dfw-ix12.ix.netcom.com (dfw-ix12.ix.netcom.com [206.214.98.12]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA17052 for" ; Mon, 14 Oct 1996 02:31:15.-0700 (PDT) Received: from baloon.mimi.com (sjx-ca35-13.ix.netcom.com [204.31.236.141]) by dfw-ix12.ix.netcom.com (8.6.13/8.6.12) with ESMTP id CAA07565 for ; Mon, 14 Oct 1996 02:30:43 -0700 Received: (from asami@localhost) by baloon.mimi.com (8.7.6/8.6.12) id CAA02561; Mon, 14 Oct 1996 02:30:41 -0700 (PDT) Message-Id: <199610140930.CAA02561@baloon.mimi.com> Date: Mon, 14 Oct 1996 02:30:41 -0700 (PDT) From: asami@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1804: pkg_create has problems with named pipes Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1804 >Category: bin >Synopsis: pkg_create hangs if the packing list has named pipes >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 14 02:40:01 PDT 1996 >Last-Modified: >Originator: Satoshi Asami >Organization: The FreeBSD Project >Release: FreeBSD 2.2-CURRENT i386 >Environment: Recent current. Since the 2.1.5 CDROM has the hylafax package, this problem doesn't exist in 2.1-*. Also, I see a hylafax package in packages-current, dated March 9, 1996, so I would guess the problem is introduced since then. >Description: If your package contains a named pipe, pkg_create will just hang. (Also, ^C will cause it to splat the +* files all over the current directory.) >How-To-Repeat: cd /usr/ports/comms/hylafax; make package >Fix: Well I deleted FIFO from pkg/PLIST for now but I'm sure Jordan knows better. :) >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Oct 14 04:55:43 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA23359 for bugs-outgoing; Mon, 14 Oct 1996 04:55:43 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA23353; Mon, 14 Oct 1996 04:55:40 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.6/8.6.9) with ESMTP id EAA28122; Mon, 14 Oct 1996 04:55:36 -0700 (PDT) To: Deflorator cc: questions@freebsd.org, bugs@freebsd.org Subject: Re: FreeBSD 2.1.5 will *not* install from VFAT In-reply-to: Your message of "Mon, 14 Oct 1996 03:55:56 EDT." Date: Mon, 14 Oct 1996 04:55:36 -0700 Message-ID: <28120.845294136@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > kbyte, and it showed a message: Write failure on transfer( wrote -1 bytes > of 1024 bytes ). and in vty2 it showed an invalid header error for > /stand/cpio. Yep. FreeBSD is unable to read your DOS partition (due to an interaction with its size and some bugs in the msdosfs code) and will remain unable to read it until the person who's rewriting our msdosfs code finishes his work. I'm afraid that you will be utterly unable to install FreeBSD in this manner. Jordan From owner-freebsd-bugs Mon Oct 14 05:00:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA23575 for bugs-outgoing; Mon, 14 Oct 1996 05:00:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA23568; Mon, 14 Oct 1996 05:00:02 -0700 (PDT) Resent-Date: Mon, 14 Oct 1996 05:00:02 -0700 (PDT) Resent-Message-Id: <199610141200.FAA23568@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received: (from nobody@localhost)by.freefall.freebsd.org.id.EAA23237;Mon; (8.7.5/8.7.3);, 14 Oct 1996 04:52:09.-0700 (PDT) Message-Id: <199610141152.EAA23237@freefall.freebsd.org> Date: Mon, 14 Oct 1996 04:52:09 -0700 (PDT) From: rkozak@bdk.lublin.pl To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/1805: Bug in ftpd Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1805 >Category: bin >Synopsis: Bug in ftpd >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 14 05:00:01 PDT 1996 >Last-Modified: >Originator: Robert Kozak >Organization: BDK w Lublinie S.A. >Release: FreeBSD 2.1.5-RELEASE >Environment: FreeBSD celebris1.bdk.lublin.pl 2.1.5-RELEASE FreeBSD 2.1.5-RELEASE #0: Thu Sep 5 13:21:39 MET DST 1996 root@celebris1.bdk.lublin.pl:/usr/src/sys/compile/ RKKERNEL i386 >Description: While user is connected to server via ftp, the process ftpd is owned by this user. When ftpd is abnormally termineted (e.g. kill -11 ) the memory image of this process is writed to file ftpd.core in home dir. This file contain encrypted passwords all users on this machine. >How-To-Repeat: 1. ftp localhost name: username password: **** 2. On second terminal: a) ps -ax | grep localhost b) kill -11 c) strings ~/ftpd.core | less (you will see all encrypted passwords). >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Oct 14 06:54:31 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA28399 for bugs-outgoing; Mon, 14 Oct 1996 06:54:31 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA28385; Mon, 14 Oct 1996 06:54:29 -0700 (PDT) Date: Mon, 14 Oct 1996 06:54:29 -0700 (PDT) From: Peter Wemm Message-Id: <199610141354.GAA28385@freefall.freebsd.org> To: hsu@clinet.fi, peter, freebsd-bugs, peter Subject: Re: bin/1803 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: make reinstall rule broken, tries to do depend and all State-Changed-From-To: open-feedback State-Changed-By: peter State-Changed-When: Mon Oct 14 06:50:35 PDT 1996 State-Changed-Why: A fix has been committed in rev 1.107 of src/Makefile,a fter I'd broken it in 1.99. Does it work well enough now? I know it's still not ideal. Responsible-Changed-From-To: freebsd-bugs->peter Responsible-Changed-By: peter Responsible-Changed-When: Mon Oct 14 06:50:35 PDT 1996 Responsible-Changed-Why: I'll look after this since I use it too.. From owner-freebsd-bugs Mon Oct 14 07:00:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA28704 for bugs-outgoing; Mon, 14 Oct 1996 07:00:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA28691; Mon, 14 Oct 1996 07:00:03 -0700 (PDT) Date: Mon, 14 Oct 1996 07:00:03 -0700 (PDT) Message-Id: <199610141400.HAA28691@freefall.freebsd.org> To: freebsd-bugs Cc: From: Tor Egge Subject: Re: misc/1791: syslimits.h does not allow overriding default value of ARG_MAX Reply-To: Tor Egge Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR misc/1791; it has been noted by GNATS. From: Tor Egge To: bde@zeta.org.au Cc: FreeBSD-gnats-submit@freebsd.org, tegge@itea.ntnu.no Subject: Re: misc/1791: syslimits.h does not allow overriding default value of ARG_MAX Date: Mon, 14 Oct 1996 15:33:36 +0200 > > It is not possible to specify an alternative value of ARG_MAX > > in the kernel config file, since /usr/src/sys/sys/syslimits.h > > defines ARG_MAX even if it was defined. > > This isn't a bug. Defining ARG_MAX in advertises to > applications that ARG_MAX is a constant with the given value. The > only correct way to change it is to change the header and recompile > all applications that depend on it (ps, xargs and who-knows-what > else). > > The best way to fix the problem is to remove the definition of > ARG_MAX from and then fix everything that (bogusly) > depends on it. > Correct. A short grep for ARG_MAX in the non-kernel part of the FreeBSD source tree shows only a few occurences: ./bin/ps/fmt.c: static char buf[ARG_MAX]; /* XXX */ ./contrib/gcc/config/i386/xm-sco.h:/* SCO has a very small ARG_MAX. */ ./contrib/gcc/config/i386/xm-sysv4.h:/* Univel, at least, has a small ARG_MAX. Defining this is harmless ./contrib/gcc/gcc.c: only important to return 0 if the host machine has a small ARG_MAX ./usr.bin/xargs/xargs.c: * POSIX.2 limits the exec line length to ARG_MAX - 2K. Running that ./usr.bin/xargs/xargs.c: * caused some E2BIG errors, so it was changed to ARG_MAX - 4K. Given ./usr.bin/xargs/xargs.c: * (ARG_MAX - 4K - LENGTH(utility + arguments)) / 2. ./usr.bin/xargs/xargs.c: nline = ARG_MAX - 4 * 1024; Only the ps and xargs parts are interesting. ps is already broken, e.g. compile this program and run it in the background, then run ps with xwww as arguments while this program is still running. Immediate buffer overflow in shquote due to the buffer being only ARG_MAX in size, instead of 4*ARG_MAX+1. #include #include #include #include int main(int argc,char **argv) { char arg[30000]; char arg2[600000]; strcpy(arg,"sleep 10 # "); memset(arg+strlen(arg),'\201',sizeof(arg)-strlen(arg)); arg[sizeof(arg)-1]=0; strvis(arg2,arg,VIS_NL | VIS_CSTYLE); printf("len is %d\n",strlen(arg2)); execl("/bin/sh","sh","-c",arg,0); printf("FAILED, errno=%d\n",errno); } xargs having a too low (i.e. too conservative) value for ARG_MAX does not normally cause any problems. It only reduces performance. - Tor Egge From owner-freebsd-bugs Mon Oct 14 10:00:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA10616 for bugs-outgoing; Mon, 14 Oct 1996 10:00:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA10583; Mon, 14 Oct 1996 10:00:03 -0700 (PDT) Date: Mon, 14 Oct 1996 10:00:03 -0700 (PDT) Message-Id: <199610141700.KAA10583@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: bin/1785: vgrind didn't work correct! Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1785; it has been noted by GNATS. From: J Wunsch To: lkoeller@odie.physik2.uni-rostock.de Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/1785: vgrind didn't work correct! Date: Mon, 14 Oct 1996 18:44:13 +0200 (MET DST) As Lars Koeller wrote: > Vgrind didn't work as described in the manpage: > > 1) There are no "and the name of the current function is listed down > the margin of each page as it is encountered" (cite out of manpage) I have seen them, though it's not clear to me either when vgrind decides to print them and when not. Maybe they are printed for functions spanning multiple pages only. > 2) No index file is produced. If I understand the manpage right, the > creation of index (touch ./index) in the current directory > should produce a index file of the functions, which could be > printed with 'vgrind -x index' but the file index is always empty. > j@ida 697% touch index j@ida 698% vgrind -lc++ -p groff kabel.cc > kabel.PS j@ida 699% cat index dump_kabel kabel.cc 3 get_kabel kabel.cc 2 list_all_kabel kabel.cc 3 (Note that the -p option is new in 2.2.) So it works for me. If it doesn't work for you, i think it's basically the same problem as with the function labelling in 1). (Without a suggested fix, it's unlikely that any person other than Bill Joy will ever dig into this code again. It looks basically ``write-only''. ;-) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Mon Oct 14 11:20:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA14841 for bugs-outgoing; Mon, 14 Oct 1996 11:20:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA14810; Mon, 14 Oct 1996 11:20:02 -0700 (PDT) Date: Mon, 14 Oct 1996 11:20:02 -0700 (PDT) Message-Id: <199610141820.LAA14810@freefall.freebsd.org> To: freebsd-bugs Cc: From: Marc Slemko Subject: Re: bin/1805: Bug in ftpd Reply-To: Marc Slemko Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1805; it has been noted by GNATS. From: Marc Slemko To: rkozak@bdk.lublin.pl Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/1805: Bug in ftpd Date: Mon, 14 Oct 1996 12:11:11 -0600 (MDT) On Mon, 14 Oct 1996 rkozak@bdk.lublin.pl wrote: > While user is connected to server via ftp, the process ftpd is owned > by this user. When ftpd is abnormally termineted (e.g. kill -11 ) > the memory image of this process is writed to file ftpd.core in home dir. > This file contain encrypted passwords all users on this machine. That isn't nice. I don't think it will contain the passwords of all the users, just a certain subset of them. This also a problem with older versions of wuftpd, but the latest beta seems to be fine, although I'm not sure if that is just a fluke or by design. There are several possible fixes, but for those that need a temporary fix ASAP, a workaround follows. There should be no security problems with this, but there could be something I'm missing. Create a script. I'll assume it is /usr/local/libexec/ftpd.wrapper. In it, put the following: ------- #!/bin/sh ulimit -c 0 exec /usr/libexec/ftpd $* ------- where /usr/libexec/ftpd is the path to your old ftp daemon. Modify /etc/inetd.conf and replace /usr/libexec/ftpd with /usr/local/libexec/ftpd.wrapper. What this does is prevent the process from core dumping, therefore eliminating the problem. A more permanent fix to the source may be something along the lines of the below, but there should be an official fix out in the next little bit: *** /usr/src/libexec/ftpd/ftpd.c Mon Mar 18 04:10:16 1996 --- ftpd.c Mon Oct 14 12:07:21 1996 *************** *** 47,55 **** --- 47,58 ---- * FTP server. */ #include + #include + #include #include #include #include + #include #include #include *************** *** 219,227 **** --- 222,232 ---- int addrlen, ch, on = 1, tos; char *cp, line[LINE_MAX]; FILE *fd; + struct rlimit rlim; tzset(); /* in case no timezone database in ~ftp */ + /* * LOG_NDELAY sets up the logging connection immediately, * necessary for anonymous ftp's that chroot and can't do it later. *************** *** 232,237 **** --- 237,253 ---- syslog(LOG_ERR, "getpeername (%s): %m",argv[0]); exit(1); } + + /* + * prevent ftpd from dumping core; necessary to prevent a user + * from getting a core file with privileged information in + */ + rlim.rlim_cur = rlim.rlim_max = 0; + if (setrlimit(RLIMIT_CORE, &rlim) != 0) { + syslog(LOG_ERR, "setrlimit(RLIMIT_CORE, &rlim) failed"); + exit(1); + } + #ifdef SKEY strcpy(addr_string, inet_ntoa(his_addr.sin_addr)); #endif From owner-freebsd-bugs Mon Oct 14 12:10:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA18760 for bugs-outgoing; Mon, 14 Oct 1996 12:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA18753; Mon, 14 Oct 1996 12:10:01 -0700 (PDT) Date: Mon, 14 Oct 1996 12:10:01 -0700 (PDT) Message-Id: <199610141910.MAA18753@freefall.freebsd.org> To: freebsd-bugs Cc: From: Mark Murray Subject: Re: gnu/1787: /usr/bin/patch doesn't like Index: lines Reply-To: Mark Murray Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR gnu/1787; it has been noted by GNATS. From: Mark Murray To: roberto@keltia.freenix.fr Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: gnu/1787: /usr/bin/patch doesn't like Index: lines Date: Mon, 14 Oct 1996 21:08:49 +0200 > Get perl5.003_05.tar.gz from CPAN > Get perl5.003_06.pat.gz and perl5.003_07.pat.gz from CPAN as well and try > to apply them. Configure will note that the files are missing and yell. Oh, boy. This one is nasty. Here is what I can find so far: The problem occurs when a file is being created and there is a shortened Index: line. This interacts badly with the -p1 option required by the patch. (patch -x128 ... is very useful, btw) This is how it is: Index: pod/perli18n.pod *** /dev/null --- perl003_04/pod/perli18n.pod : : The -p1 option cuts off the pod/ on the Index: line. This one has me slightly stumped: The man pages suggest that Index: has the priority, and my experience with "cvs diff" suggest that this is A Good Thing (tm). All I can conclude is that the above patch is "bug-compatible" with the old patch, or am I missing something here? Should the -p option _not_ apply to Index: lines? Suggestions? M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key From owner-freebsd-bugs Mon Oct 14 17:12:18 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA07913 for bugs-outgoing; Mon, 14 Oct 1996 17:12:18 -0700 (PDT) Received: from gallup.cia-g.com (root@gallup.cia-g.com [206.206.162.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA07908 for ; Mon, 14 Oct 1996 17:12:14 -0700 (PDT) Received: from localhost.my.domain (dialup1.gup.cia-g.com [206.206.162.33]) by gallup.cia-g.com (8.7.6/8.6.12) with SMTP id SAA04352; Mon, 14 Oct 1996 18:12:09 -0600 (MDT) Message-ID: X-Mailer: XFMail 0.4 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 14 Oct 1996 18:00:00 -0600 (MDT) From: George Simunovich To: Steve Price Subject: Re: bin/1793: /bin/sh return w/o exitstatus in a function sets e Cc: freebsd-bugs@freefall.freebsd.org Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 14-Oct-96 Steve Price wrote: >>On Sun, 13 Oct 1996 george@cia-g.com wrote: > ># ># >Number: 1793 ># >Category: bin ># >Synopsis: /bin/sh return w/o exitstatus in a function sets exitstatus to true ># >Confidential: no ># >Severity: non-critical ># >Priority: low ># >Responsible: freebsd-bugs ># >State: open ># >Class: sw-bug ># >Submitter-Id: current-users ># >Arrival-Date: Sun Oct 13 20:10:01 PDT 1996 ># >Last-Modified: ># >Originator: George Simunovich ># >Organization: ># >Release: 2.2-current ># >Environment: ># 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Sat Oct 12 13:26:46 MDT 1996 ># >Description: ># A return without an exit status in a sh functino sets the exit status ># to true. ># ># bash works as does /bin/sh on FreeBSD 2.1.0-RELEASE ># >How-To-Repeat: ># When the following script is run it echos "True Condition". ># ># #!/bin/sh ># ># Tester() ># { ># false ># return ># } ># ># if Tester ># then ># echo "True Condition" ># else ># echo "Not True Condition" ># fi ># ># >Fix: ># use bash? ># ># >Audit-Trail: ># >Unformatted: ># > >Try doing a 'return $?' to return the exitstatus of the previously >executed command. Attached is a one-liner that fixes the case above >but breaks this new case (at least wrt /bin/bash). > >steve[~]$ cat > testing >tester() >{ > return >} > >false > >if tester >then > echo "true" >else > echo "false" >fi >^D >steve[~] /tmp/sh testing >true >steve[~] /bin/bash testing >false >steve[~] > >I will look into this some more and see what I can find. > >Steve > The return problem was caused by the stock HylaFAX 4.0pl0 configure script which uses the return without an exit status. George From owner-freebsd-bugs Mon Oct 14 17:30:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA09154 for bugs-outgoing; Mon, 14 Oct 1996 17:30:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA09148; Mon, 14 Oct 1996 17:30:02 -0700 (PDT) Resent-Date: Mon, 14 Oct 1996 17:30:02 -0700 (PDT) Resent-Message-Id: <199610150030.RAA09148@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, brion@queeg.com Received: from coven.queeg.com (queeg.com [204.95.70.218]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA08351 for ; Mon, 14 Oct 1996 17:23:58 -0700 (PDT) Received: (from brion@localhost) by coven.queeg.com (8.7.5/8.7.3) id RAA05531; Mon, 14 Oct 1996 17:23:41 -0700 (PDT) Message-Id: <199610150023.RAA05531@coven.queeg.com> Date: Mon, 14 Oct 1996 17:23:41 -0700 (PDT) From: Brion Moss Reply-To: brion@queeg.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/1808: The mount menu for installation fails with >6 slices Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1808 >Category: conf >Synopsis: The mount menu for installation fails with >6 slices >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 14 17:30:01 PDT 1996 >Last-Modified: >Originator: Brion Moss >Organization: Net Daemons Associates >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: FreeBSD 2.1.5-RELEASE, pentium 133, multiple hard drives (4) >Description: During the installation process, one is asked to decide what should be mounted where (and wether that partition should be newfs'ed, etc). The menu has room on the screen to show 6 slices. If there are more than 6 slices on the system (e.g, a boot disk that has /, /usr, and /var and then 3 external drives) the menu gets confused--the 7th and following slices get wrapped around the right- hand menu, and it's very hard to deal with. >How-To-Repeat: Install FreeBSD 2.1.5 on a machine with a bunch of slices >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Oct 14 18:30:51 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA12600 for bugs-outgoing; Mon, 14 Oct 1996 18:30:51 -0700 (PDT) Received: from threadway.teeny.org (threadway.teeny.org [205.231.244.157]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA12595 for ; Mon, 14 Oct 1996 18:30:48 -0700 (PDT) Received: from localhost (localhost.teeny.org [127.0.0.1]) by threadway.teeny.org (8.7.6/8.6.12) with ESMTP id SAA09758; Mon, 14 Oct 1996 18:30:25 -0700 (PDT) Message-Id: <199610150130.SAA09758@threadway.teeny.org> X-Mailer: exmh version 1.6.5 12/11/95 To: Marc Slemko cc: freebsd-bugs@freefall.freebsd.org Subject: Re: bin/1805: Bug in ftpd In-reply-to: Your message of "Mon, 14 Oct 1996 11:20:02 PDT." <199610141820.LAA14810@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 14 Oct 1996 18:30:18 -0700 From: Jason Downs Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199610141820.LAA14810@freefall.freebsd.org>, Marc Slemko writes: >The following reply was made to PR bin/1805; it has been noted by GNATS. > >From: Marc Slemko >To: rkozak@bdk.lublin.pl >Cc: freebsd-gnats-submit@freebsd.org >Subject: Re: bin/1805: Bug in ftpd >Date: Mon, 14 Oct 1996 12:11:11 -0600 (MDT) > > On Mon, 14 Oct 1996 rkozak@bdk.lublin.pl wrote: > > > While user is connected to server via ftp, the process ftpd is owned > > by this user. When ftpd is abnormally termineted (e.g. kill -11 ) > > the memory image of this process is writed to file ftpd.core in home dir. > > This file contain encrypted passwords all users on this machine. > > That isn't nice. I don't think it will contain the passwords of all the > users, just a certain subset of them. This also a problem with older > versions of wuftpd, but the latest beta seems to be fine, although I'm not > sure if that is just a fluke or by design. There are several possible > fixes, but for those that need a temporary fix ASAP, a workaround follows. > There should be no security problems with this, but there could be > something I'm missing. I don't think disabling core dumps is a very clean or effective fix for this problem. a.) the problem is potentially wide spread, and b.) is caused by the design (limitations) of the DB library. The problem was killed by making essentially a one line change in the OpenBSD source tree. A slight performance hit is exchanged for greater overall security. -- Jason Downs (503) 256-8535 -/- (503) 952-3749 downsj@teeny.org --> teeny.org: Free Software for a Free Internet <-- http://www.teeny.org/ OpenBSD: The BSD with a soul. http://www.openbsd.org/ From owner-freebsd-bugs Mon Oct 14 19:48:57 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA18502 for bugs-outgoing; Mon, 14 Oct 1996 19:48:57 -0700 (PDT) Received: from scanner.worldgate.com (scanner.worldgate.com [198.161.84.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA18486 for ; Mon, 14 Oct 1996 19:48:40 -0700 (PDT) Received: from znep.com (uucp@localhost) by scanner.worldgate.com (8.7.5/8.7.3) with UUCP id UAA09350; Mon, 14 Oct 1996 20:48:12 -0600 (MDT) Received: from localhost (marcs@localhost) by alive.ampr.ab.ca (8.7.5/8.7.3) with SMTP id UAA07301; Mon, 14 Oct 1996 20:46:15 -0600 (MDT) Date: Mon, 14 Oct 1996 20:46:14 -0600 (MDT) From: Marc Slemko X-Sender: marcs@alive.ampr.ab.ca To: Jason Downs cc: freebsd-bugs@freefall.freebsd.org, freebsd-security@freebsd.org Subject: Re: bin/1805: Bug in ftpd In-Reply-To: <199610150130.SAA09758@threadway.teeny.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [Jason's message was only sent to -bugs; I'm ccing it to -security too because there was discussion there] Jason's fix from the OpenBSD source tree follows. Since ftpd uses getpwnam which calls endpwent when it is done, the only other programs that we would need to worry about are those that call getpwent(3), and there shouldn't be many (if any) programs that do that and are exploitable. Index: src/lib/libc/db/hash/hash_buf.c =================================================================== RCS file: /cvs/src/lib/libc/db/hash/hash_buf.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** hash_buf.c 1996/08/19 08:20:35 1.3 --- hash_buf.c 1996/10/14 22:17:27 1.4 *************** *** 35,41 **** */ #if defined(LIBC_SCCS) && !defined(lint) ! static char rcsid[] = "$OpenBSD: hash_buf.c,v 1.3 1996/08/19 08:20:35 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ /* --- 35,41 ---- */ #if defined(LIBC_SCCS) && !defined(lint) ! static char rcsid[] = "$OpenBSD: hash_buf.c,v 1.4 1996/10/14 22:17:27 downsj Exp $"; #endif /* LIBC_SCCS and not lint */ /* *************** *** 331,338 **** } /* Check if we are freeing stuff */ if (do_free) { ! if (bp->page) free(bp->page); BUF_REMOVE(bp); free(bp); bp = LRU; --- 331,340 ---- } /* Check if we are freeing stuff */ if (do_free) { ! if (bp->page) { ! (void)memset(bp->page, 0, hashp->BSIZE); free(bp->page); + } BUF_REMOVE(bp); free(bp); bp = LRU; On Mon, 14 Oct 1996, Jason Downs wrote: > In message <199610141820.LAA14810@freefall.freebsd.org>, > Marc Slemko writes: > >The following reply was made to PR bin/1805; it has been noted by GNATS. > > > >From: Marc Slemko > >To: rkozak@bdk.lublin.pl > >Cc: freebsd-gnats-submit@freebsd.org > >Subject: Re: bin/1805: Bug in ftpd > >Date: Mon, 14 Oct 1996 12:11:11 -0600 (MDT) > > > > On Mon, 14 Oct 1996 rkozak@bdk.lublin..pl wrote: > > > > > While user is connected to server via ftp, the process ftpd is owned > > > by this user. When ftpd is abnormally termineted (e.g. kill -11 ) > > > the memory image of this process is writed to file ftpd.core in home dir. > > > This file contain encrypted passwords all users on this machine. > > > > That isn't nice. I don't think it will contain the passwords of all the > > users, just a certain subset of them. This also a problem with older > > versions of wuftpd, but the latest beta seems to be fine, although I'm not > > sure if that is just a fluke or by design. There are several possible > > fixes, but for those that need a temporary fix ASAP, a workaround follows. > > There should be no security problems with this, but there could be > > something I'm missing. > > I don't think disabling core dumps is a very clean or effective fix for this > problem. a.) the problem is potentially wide spread, and b.) is caused by > the design (limitations) of the DB library. > > The problem was killed by making essentially a one line change in the OpenBSD > source tree. A slight performance hit is exchanged for greater overall > security. > > > -- > Jason Downs (503) 256-8535 -/- (503) 952-3749 > downsj@teeny.org --> teeny.org: Free Software for a Free Internet <-- > http://www.teeny.org/ > OpenBSD: The BSD with a soul. http://www.openbsd.org/ > > From owner-freebsd-bugs Mon Oct 14 20:50:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA22556 for bugs-outgoing; Mon, 14 Oct 1996 20:50:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA22536; Mon, 14 Oct 1996 20:50:04 -0700 (PDT) Resent-Date: Mon, 14 Oct 1996 20:50:04 -0700 (PDT) Resent-Message-Id: <199610150350.UAA22536@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, kew@timesink.spk.wa.us Received: from tau-ceti.isc-br.com (root@tau-ceti.isc-br.com [129.189.2.133]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id UAA22415 for ; Mon, 14 Oct 1996 20:48:34 -0700 (PDT) Received: by tau-ceti.isc-br.com (Smail3.1.28.1 #13) id m0vD0LP-0002OCC; Mon, 14 Oct 96 20:39 PDT Received: (from kew@localhost) by phobos.walker.org (8.7.5/8.7.3) id RAA00656; Mon, 14 Oct 1996 17:17:56 -0700 (PDT) Message-Id: <199610150017.RAA00656@phobos.walker.org> Date: Mon, 14 Oct 1996 17:17:56 -0700 (PDT) From: kew@timesink.spk.wa.us Reply-To: kew@timesink.spk.wa.us To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/1809: Floppy boot failure Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1809 >Category: i386 >Synopsis: floppy boot code causes reboot of computer >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 14 20:50:02 PDT 1996 >Last-Modified: >Originator: Keith Walker >Organization: none >Release: FreeBSD 2.1-STABLE i386 >Environment: HP Pavilion 7020, 90 MHz Pentium, IDE disks, ATAPI cdrom, 16 MB RAM, >Description: The boot floppy code will display the Phase I boot prompt; options can be typed in, but as soon as Enter/Return is pressed, or the timeout is reached, the machine does a warm boot. The HD boot code works fine, and I am able to install the system by initially booting from DOS through the FBSDBOOT program. This problem started between 2.1 and 2.1.5. I.e., the 2.1 floppy boot code worked fine, whereas the 2.1.5 code causes the reboot. I downloaded the latest 2.2 snap boot.flp and it has the same problem. >How-To-Repeat: Attempt to boot from floppy. >Fix: Don't boot from floppy, boot from DOS through FBSDBOOT program. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Mon Oct 14 21:31:48 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA25373 for bugs-outgoing; Mon, 14 Oct 1996 21:31:48 -0700 (PDT) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.eu.org [193.56.58.253]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA25356 for ; Mon, 14 Oct 1996 21:31:44 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.eu.org [193.56.58.33]) by mexico.brainstorm.eu.org (8.7.5/8.7.3) with ESMTP id FAA19690; Tue, 15 Oct 1996 05:31:34 +0100 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.6.12/8.6.12) with UUCP id GAA22402; Tue, 15 Oct 1996 06:31:05 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.0/keltia-uucp-2.9) id AAA24146; Tue, 15 Oct 1996 00:11:25 +0200 (MET DST) Message-Id: <199610142211.AAA24146@keltia.freenix.fr> Date: Tue, 15 Oct 1996 00:11:24 +0200 From: roberto@keltia.freenix.fr (Ollivier Robert) To: mark@grondar.za (Mark Murray) Cc: freebsd-bugs@FreeBSD.org (FreeBSD Bugs' list) Subject: Re: gnu/1787: /usr/bin/patch doesn't like Index: lines In-Reply-To: <199610141908.VAA20907@grumble.grondar.za>; from Mark Murray on Oct 14, 1996 21:08:49 +0200 References: <199610141908.VAA20907@grumble.grondar.za> X-Mailer: Mutt 0.47.13 Mime-Version: 1.0 X-Operating-System: FreeBSD 2.2-CURRENT ctm#2564 Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk According to Mark Murray: > The problem occurs when a file is being created and there is a > shortened Index: line. This interacts badly with the -p1 option > required by the patch. (patch -x128 ... is very useful, btw) WHat I don't understand is that it is supposed to be an official version of patch... A diff shows that it is 2.10 bmaked. - * Revision 1.2 1994/02/17 22:16:05 jkh - * From Poul-Henning Kamp - Implement a -C option to verify the integrity of - * a patch before actually applying it. - * - * Revision 1.1.1.1 1993/06/19 14:21:52 paul - * b-maked patch-2.10 > apply to Index: lines? Suggestions? Import patch-2.1 into contrib/ (without forgetting to enlarge some values -- max patch line length and so on). -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #24: Thu Oct 10 19:35:39 MET DST 1996 From owner-freebsd-bugs Mon Oct 14 22:00:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA27634 for bugs-outgoing; Mon, 14 Oct 1996 22:00:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA27599; Mon, 14 Oct 1996 22:00:04 -0700 (PDT) Date: Mon, 14 Oct 1996 22:00:04 -0700 (PDT) Message-Id: <199610150500.WAA27599@freefall.freebsd.org> To: freebsd-bugs Cc: From: "Jordan K. Hubbard" Subject: Re: i386/1809: Floppy boot failure Reply-To: "Jordan K. Hubbard" Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR i386/1809; it has been noted by GNATS. From: "Jordan K. Hubbard" To: kew@timesink.spk.wa.us Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: i386/1809: Floppy boot failure Date: Mon, 14 Oct 1996 21:58:28 -0700 > > >Number: 1809 > >Category: i386 > >Synopsis: floppy boot code causes reboot of computer This one has been reported by several people so far. If you would be so kind as to grab: ftp://freefall.freebsd.org/pub/jkh/boot.flp And let me know if it boots past this problem, I'd appreciate it. Thanks! [Guido - this floppy image contains your work-around]. Jordan From owner-freebsd-bugs Mon Oct 14 23:10:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA02804 for bugs-outgoing; Mon, 14 Oct 1996 23:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA02777; Mon, 14 Oct 1996 23:10:02 -0700 (PDT) Date: Mon, 14 Oct 1996 23:10:02 -0700 (PDT) Message-Id: <199610150610.XAA02777@freefall.freebsd.org> To: freebsd-bugs Cc: From: Lars Koeller Subject: Re: bin/1785: vgrind didn't work correct! Reply-To: Lars Koeller Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1785; it has been noted by GNATS. From: Lars Koeller To: J Wunsch Cc: FreeBSD-gnats-submit@freebsd.org, Lars_Koeller@odie.physik2.uni-rostock.de Subject: Re: bin/1785: vgrind didn't work correct! Date: Tue, 15 Oct 1996 08:02:23 +0200 In message <199610141644.SAA06414@uriah.heep.sax.de>, J Wunsch writes: >As Lars Koeller wrote: > >> Vgrind didn't work as described in the manpage: >> >> 1) There are no "and the name of the current function is listed down >> the margin of each page as it is encountered" (cite out of manpage) > >I have seen them, though it's not clear to me either when vgrind >decides to print them and when not. Maybe they are printed for >functions spanning multiple pages only. > >> 2) No index file is produced. If I understand the manpage right, the >> creation of index (touch ./index) in the current directory >> should produce a index file of the functions, which could be >> printed with 'vgrind -x index' but the file index is always empty. >> > >j@ida 697% touch index >j@ida 698% vgrind -lc++ -p groff kabel.cc > kabel.PS >j@ida 699% cat index >dump_kabel kabel.cc 3 >get_kabel kabel.cc 2 >list_all_kabel kabel.cc 3 > >(Note that the -p option is new in 2.2.) > >So it works for me. If it doesn't work for you, i think it's >basically the same problem as with the function labelling in 1). > >(Without a suggested fix, it's unlikely that any person other than >Bill Joy will ever dig into this code again. It looks basically >``write-only''. ;-) > After your hint, I've experienced a little bit with vgrind. And sure it works correct, but only and really only if the sources are passed through indent. Then there are the function definitions at the left margin and vgrind produces an index file. Perhaps it would be wise to point to this assumtions vgrind made in the manpage at an early point. Also an option that pases the sources through indent cound be a nice extension or a link in the 'SEE ALSO' section to indent. Regards Lars -- ________________________________________________________________________ Lars Köller Phone: +49 381/498-1665, Fax: -1667 University of Rostock E-Mail: Department of Physics Lars_Koeller@odie.physik2.Uni-Rostock.DE Universitätsplatz 3 Anonymous ftp: D-18051 Rostock (Germany) ftp://odie.physik2.uni-rostock.de/pub From owner-freebsd-bugs Mon Oct 14 23:20:43 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA03728 for bugs-outgoing; Mon, 14 Oct 1996 23:20:43 -0700 (PDT) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA03722 for ; Mon, 14 Oct 1996 23:20:37 -0700 (PDT) Received: from grumble.grondar.za (mark@localhost.grondar.za [127.0.0.1]) by grumble.grondar.za (8.7.6/8.7.3) with ESMTP id IAA22587; Tue, 15 Oct 1996 08:20:08 +0200 (SAT) Message-Id: <199610150620.IAA22587@grumble.grondar.za> To: roberto@keltia.freenix.fr (Ollivier Robert) cc: mark@grondar.za (Mark Murray), freebsd-bugs@FreeBSD.org (FreeBSD Bugs' list) Subject: Re: gnu/1787: /usr/bin/patch doesn't like Index: lines Date: Tue, 15 Oct 1996 08:20:07 +0200 From: Mark Murray Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > According to Ollivier Robert: > WHat I don't understand is that it is supposed to be an official version of > patch... A diff shows that it is 2.10 bmaked. This is true. > > apply to Index: lines? Suggestions? > > Import patch-2.1 into contrib/ (without forgetting to enlarge some values > -- max patch line length and so on). ...and fixing some bugs. The code that I fixed fixes the case where - If you have the same file in multiple dirs, patch tries to patch the file in the current dir multiple times. This seems to be a longstanding bug, and fixing it to accomodate your case is not going to be trivial. M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key From owner-freebsd-bugs Tue Oct 15 00:30:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA07906 for bugs-outgoing; Tue, 15 Oct 1996 00:30:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA07896; Tue, 15 Oct 1996 00:30:02 -0700 (PDT) Resent-Date: Tue, 15 Oct 1996 00:30:02 -0700 (PDT) Resent-Message-Id: <199610150730.AAA07896@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, hsu@clinet.fi Received: from hauki.clinet.fi (hauki.clinet.fi [194.100.0.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA07263 for ; Tue, 15 Oct 1996 00:22:05 -0700 (PDT) Received: from katiska.clinet.fi (root@katiska.clinet.fi [194.100.0.4]) by hauki.clinet.fi (8.7.6/8.6.4) with ESMTP id JAA17683 for ; Tue, 15 Oct 1996 09:17:45 +0200 (EET) Received: (root@localhost) by katiska.clinet.fi (8.7.6/8.6.4) id KAA03410; Tue, 15 Oct 1996 10:17:45 +0300 (EET DST) Message-Id: <199610150717.KAA03410@katiska.clinet.fi> Date: Tue, 15 Oct 1996 10:17:45 +0300 (EET DST) From: Heikki Suonsivu Reply-To: hsu@clinet.fi To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1810: fsck -p does not check pass 0 filesystems concurrently Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1810 >Category: bin >Synopsis: fsck -p does not check pass 0 filesystems concurrently >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 15 00:30:01 PDT 1996 >Last-Modified: >Originator: Heikki Suonsivu >Organization: Clinet, Espoo, Finland >Release: FreeBSD 2.2-CURRENT i386 >Environment: -current (also stable, I think) >Description: fsck -p does not check pass 0 filesystems concurrently, thus gobbing up large amount of time to check out news filesystems when they are fsck'd separately to avoid boot taking >10 minutes it takes to check out the news filesystems. >How-To-Repeat: panic (easy these days with -current) and start running fsck -p, it will check all filesystems given in row instead of in paraller, taking quite some time if many disks are used (I have 3 * 4G). >Fix: fsck should not depend parallelism on pass number field. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Oct 15 06:20:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA07708 for bugs-outgoing; Tue, 15 Oct 1996 06:20:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA07679; Tue, 15 Oct 1996 06:20:05 -0700 (PDT) Resent-Date: Tue, 15 Oct 1996 06:20:05 -0700 (PDT) Resent-Message-Id: <199610151320.GAA07679@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, davidn@blaze.net.au Received: from sdev.usn.blaze.net.au (sdev.usn.blaze.net.au [203.17.53.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA07263; Tue, 15 Oct 1996 06:15:40 -0700 (PDT) Received: (from davidn@localhost) by sdev.usn.blaze.net.au (8.7.6/8.6.9) id XAA00663; Tue, 15 Oct 1996 23:15:09 +1000 (EST) Message-Id: <199610151315.XAA00663@sdev.usn.blaze.net.au> Date: Tue, 15 Oct 1996 23:15:09 +1000 (EST) From: davidn@sdev.usn.blaze.net.au Reply-To: davidn@blaze.net.au To: FreeBSD-gnats-submit@freebsd.org, sos@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1811: Fix for syscons TIOCGWINSZ for non 80x25 text modes Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1811 >Category: kern >Synopsis: Patch to correct rows/columns for syscons >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 15 06:20:02 PDT 1996 >Last-Modified: >Originator: David Nugent - davidn@blaze.net.au >Organization: Unique Computing, Melbourne, Australia >Release: FreeBSD 2.2-961004-SNAP i386 >Environment: VGA/EGA text modes other than 80x25 >Description: If vidcontrol (or some other means) is used to change the current video mode from the default 80x25 lines, the window size reported via TIOCGWINSZ is correctly changed. However, this is reset by the tty driver on logout. Subsequently logging in on the vt will show (again) the default rows 0 columns 0 parameters, with the result that applications will not know the *correct* window size of the vt and use the default sizes from termcap with consequent aberrant behaviour. To fix, the user needs to run vidcontrol again, or stty with the correct values. >How-To-Repeat: (assuming an 8x8 console font has been loaded) /usr/sbin/vidcontrol VGA-80x50 logout (log in again) stty -a (shows speed 115200 baud; 0 rows; 0 columns) Run more, less etc. and watch the confusion. :) >Fix: The following patch works around the problem by copying the correct console rows/columns into the tty driver structure if the rows/columns fields are currently 0 (ie. the have not been set). This removes the anomaly, but does not interfere with the user being able to override these values via the /bin/stty interace so long as they are not reset to 0,0. *** sys/i386/isa/syscons.c.orig Tue Oct 15 15:45:49 1996 --- sys/i386/isa/syscons.c Tue Oct 15 21:27:48 1996 *************** *** 1256,1261 **** --- 1256,1274 ---- return ENXIO; default: break; + + case TIOCGWINSZ: /* We may know more about this */ + /* We only modify the tty structure for the console + * size if it hasn't been set to something different + * by the user + */ + if (!tp->t_winsize.ws_row && !tp->t_winsize.ws_col) + { + tp->t_winsize.ws_row = scp->ysize; + tp->t_winsize.ws_col = scp->xsize; + } + break; + } error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flag, p); David Nugent, Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-791-9547 Data/BBS +61-3-792-3507 3:632/348@fidonet davidn@blaze.net.au http://www.blaze.net.au/~davidn >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Oct 15 09:20:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA17063 for bugs-outgoing; Tue, 15 Oct 1996 09:20:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA17033; Tue, 15 Oct 1996 09:20:02 -0700 (PDT) Resent-Date: Tue, 15 Oct 1996 09:20:02 -0700 (PDT) Resent-Message-Id: <199610151620.JAA17033@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Tor.Egge@idt.ntnu.no Received: from pat.idt.unit.no (pat.idt.unit.no [129.241.103.5]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA16965 for ; Tue, 15 Oct 1996 09:19:39 -0700 (PDT) Received: from ikke.idt.unit.no (ikke.idt.unit.no [129.241.111.65]) by pat.idt.unit.no (8.7.5/8.7.3) with ESMTP id SAA06078 for ; Tue, 15 Oct 1996 18:19:16 +0200 (MET DST) Received: (from tegge@localhost) by ikke.idt.unit.no (8.7.6/8.7.3) id SAA25686; Tue, 15 Oct 1996 18:19:15 +0200 (MET DST) Message-Id: <199610151619.SAA25686@ikke.idt.unit.no> Date: Tue, 15 Oct 1996 18:19:15 +0200 (MET DST) From: Tor Egge Reply-To: Tor.Egge@idt.ntnu.no To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1812: vnodes are left in a locked state Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1812 >Category: kern >Synopsis: vnodes are left in a locked state >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 15 09:20:01 PDT 1996 >Last-Modified: >Originator: Tor Egge >Organization: Norwegian University of Science and Technology, Trondheim, Norway >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD ikke.idt.unit.no 2.2-CURRENT FreeBSD 2.2-CURRENT #3: Mon Oct 14 02:10:57 MET DST 1996 root@ikke.idt.unit.no:/usr/src/sys/compile/TEGGE i386 >Description: Writing to memory regions corresponding to a few hundred mmapped files and using msync() to flush the file system may cause the process to hang. The process is unkillable, in diskwait. ps xl outout shows UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 26850 24861 24860 45 -18 19 612 38132 vmiorl DN ?? 2:02.79 bin/domainhelp One of the vnodes for the mmapped files is left in a locked state, i.e. lstat() hangs :-( UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 26850 25492 25098 145 -14 0 204 592 uihget D+ p9 0:00.03 ls -F -ld h.de (ls@386freebsd) As a side effect of this, the vnode for the directory in which the file resides (/export/akg2/ftpsearch/datasets/datasets/dataset2/domain) becomes locked. :-( >How-To-Repeat: open and mmap 250 files, each 1.2 MB in size. Write to the first 32 KB on each of the 250 mmapped memory regions, then use msync() with the MS_ASYNC flag and fsync() for each of the 250 mmapped memory regions. Continue with the next 32 KB, until all of the mmapped regions have been written to disk. >Fix: Temporary workaround: reboot the system whenever this occurs. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Oct 15 10:27:50 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA22220 for bugs-outgoing; Tue, 15 Oct 1996 10:27:50 -0700 (PDT) Received: from typhoon.dial.pipex.net (typhoon.dial.pipex.net [158.43.128.46]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA22215 for ; Tue, 15 Oct 1996 10:27:48 -0700 (PDT) Received: from gazebo.candler.demon.co.uk by typhoon.dial.pipex.net (8.7.5/) id SAA27760; Tue, 15 Oct 1996 18:26:45 +0100 (BST) Received: (from brian@localhost) by gazebo.candler.demon.co.uk (8.6.12/8.6.9) id SAA02460; Tue, 15 Oct 1996 18:09:58 +0100 From: Brian Candler Message-Id: <199610151709.SAA02460@gazebo.candler.demon.co.uk> Subject: FreeBSD security bug To: bugs@freebsd.org Date: Tue, 15 Oct 1996 18:09:57 +0100 (BST) Cc: t12@psg.com X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I found what I believe is a security bug in FreeBSD while using it in the NATO Advanced Networking Workshop in St Petersburg. It appears that if a FreeBSD box has no root password, it will accept 'r' commands for root from *any* machine, even with no entry in ~root/.rhosts This was actually quite useful (we could 'rdist' files from any PC to any other PC without having to enable it on the destination machines) but I presume unintentional :-) Brian Candler From owner-freebsd-bugs Tue Oct 15 10:27:56 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA22235 for bugs-outgoing; Tue, 15 Oct 1996 10:27:56 -0700 (PDT) Received: from typhoon.dial.pipex.net (typhoon.dial.pipex.net [158.43.128.46]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA22230 for ; Tue, 15 Oct 1996 10:27:52 -0700 (PDT) Received: from gazebo.candler.demon.co.uk by typhoon.dial.pipex.net (8.7.5/) id SAA27798; Tue, 15 Oct 1996 18:26:52 +0100 (BST) Received: (from brian@localhost) by gazebo.candler.demon.co.uk (8.6.12/8.6.9) id OAA00334; Tue, 15 Oct 1996 14:40:39 +0100 From: Brian Candler Message-Id: <199610151340.OAA00334@gazebo.candler.demon.co.uk> Subject: IP bugs in FreeBSD 2.1.5 To: bugs@freebsd.org Date: Tue, 15 Oct 1996 14:40:37 +0100 (BST) Cc: nato-ws@ripe.net, t12@psg.com X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Dear FreeBSD team, I have just returned from a NATO-sponsored Advanced Networking Course held in St Petersburg, Russia, where I was the chief instructor. For our PC-based practical sessions we used FreeBSD 2.1.5. We uncovered a number of bugs in the TCP/IP code, which I would like to report in the hope they can be fixed in some future release. 1. On several occasions we found that although a default route appeared to be in the kernel forwarding table (as shown by netstat -nr), it did not work. However simply by deleting and reinserting the exact same default route, it then worked fine. I'm afraid I can't give you a set of circumstances which can cause this problem to be reproduced. 2. When you set up a ppp link, you cannot ping your own IP number locally. (This is using kernel-based ppp, with pppd to set up the link) 3. When you use ipalias to set up multiple IP addresses for an ethernet card, you cannot ping those additional IP numbers locally. 4. If you 'ifconfig down' an interface, then set up a default route via another interface, you still cannot ping the range of IP numbers which the original interface covered - presumably the kernel still tries to send them via the (downed) interface. 5. On one occasion the kernel forwarding table had a bad entry (I think a "link #1" type entry) which could not be removed, apart from by rebooting the machine. And a couple of comments which aren't really bugs as such: 6. It would make life easier if CIDR notation were used consistently. At the moment netstat -nr shows a.b.c.d/n, but you must use -net a.b.c.d -netmask w.x.y.z for ifconfig and route add. 7. The output of netstat -nr shows the arp cache as well as actual routes, which is confusing. I am unlikely to have time to look at the source code myself I'm afraid, but I hope you don't mind me submitting the notes above. Apart from these points, and "vi" dumping core a few times, FreeBSD was stable for the whole week we were using it. Thanks in advance for your attention, Brian Candler From owner-freebsd-bugs Tue Oct 15 11:54:27 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA29267 for bugs-outgoing; Tue, 15 Oct 1996 11:54:27 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA29248; Tue, 15 Oct 1996 11:54:24 -0700 (PDT) Date: Tue, 15 Oct 1996 11:54:24 -0700 (PDT) From: Garrett Wollman Message-Id: <199610151854.LAA29248@freefall.freebsd.org> To: fredriks@mcs.com, wollman, freebsd-bugs Subject: Re: kern/1775 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: accept does not preserve file descriptor flags State-Changed-From-To: open-analyzed State-Changed-By: wollman State-Changed-When: Tue Oct 15 11:46:09 PDT 1996 State-Changed-Why: Indeed this is a bug, although my fix will be slightly different. From owner-freebsd-bugs Tue Oct 15 12:05:51 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA00662 for bugs-outgoing; Tue, 15 Oct 1996 12:05:51 -0700 (PDT) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA00643 for ; Tue, 15 Oct 1996 12:05:09 -0700 (PDT) Received: by halloran-eldar.lcs.mit.edu; (5.65v3.2/1.1.8.2/19Aug95-0530PM) id AA21489; Tue, 15 Oct 1996 15:04:42 -0400 Date: Tue, 15 Oct 1996 15:04:42 -0400 From: Garrett Wollman Message-Id: <9610151904.AA21489@halloran-eldar.lcs.mit.edu> To: Brian Candler Cc: bugs@FreeBSD.org, nato-ws@ripe.net, t12@psg.com Subject: IP bugs in FreeBSD 2.1.5 In-Reply-To: <199610151340.OAA00334@gazebo.candler.demon.co.uk> References: <199610151340.OAA00334@gazebo.candler.demon.co.uk> Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk < said: > 4. If you 'ifconfig down' an interface, then set up a default route via > another interface, you still cannot ping the range of IP numbers which the > original interface covered - presumably the kernel still tries to send them > via the (downed) interface. > 7. The output of netstat -nr shows the arp cache as well as actual routes, > which is confusing. There is no difference. The ARP cache entries /are/ actual routes. This is the cause of the phenomenon you noted under (4). If you really want to make an interface's address and routes go away, you must actually delete that address from the interface with `ifconfig xxx delete'. The IFF_UP flag is really just a hint; most interfaces don't actually check it and refuse to send. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, ANA, or NSA| - Susan Aglukark and Chad Irschick From owner-freebsd-bugs Tue Oct 15 12:20:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA01628 for bugs-outgoing; Tue, 15 Oct 1996 12:20:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA01592; Tue, 15 Oct 1996 12:20:03 -0700 (PDT) Resent-Date: Tue, 15 Oct 1996 12:20:03 -0700 (PDT) Resent-Message-Id: <199610151920.MAA01592@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, hsu@clinet.fi Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA01341 for ; Tue, 15 Oct 1996 12:15:26 -0700 (PDT) Received: from katiska.clinet.fi (root@katiska.clinet.fi [194.100.0.4]) by hauki.clinet.fi (8.7.6/8.6.4) with ESMTP id VAA21792 for ; Tue, 15 Oct 1996 21:14:58 +0200 (EET) Received: (root@localhost) by katiska.clinet.fi (8.7.6/8.6.4) id WAA29436; Tue, 15 Oct 1996 22:14:57 +0300 (EET DST) Message-Id: <199610151914.WAA29436@katiska.clinet.fi> Date: Tue, 15 Oct 1996 22:14:57 +0300 (EET DST) From: Heikki Suonsivu Reply-To: hsu@clinet.fi To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1814: cy driver gets deadlocked sometimes Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1814 >Category: kern >Synopsis: cy driver gets deadlocked sometimes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 15 12:20:01 PDT 1996 >Last-Modified: >Originator: Heikki Suonsivu >Organization: Clinet, Espoo, Finland >Release: FreeBSD 2.2-CURRENT i386 >Environment: One Pentium with one 8 port cy board (plus couple of two-port ethernet boards and arnet synch serial board). The machine is used as a router, with couple of dialin lines and couple of direct lines connected to whatever weird stuff we have in our computer room (UPS alarm, temperature alarm, telephone switches) One 486-100 with two 8 port cy boards. >Description: Processes get hung on ports, unkillable. On the latter machine this happened with dialup login account: 1271 29565 0.0 0.1 192 12 c7- IEs+ - 0:00.00 (rlogin.shell) 1271 29694 0.0 1.7 192 224 c7- IE+ - 0:00.00 (rlogin.shell) On Pentium machine similar hang occured when trying to kermit into a telephone switch connected to one of the ports of the cyclades board. >How-To-Repeat: I do not know yet. On 486-100 this happened first time after 70 days of uptime, on Pentium after less uptime. This does not seem to happen often, so it is a bit hard to track down. >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Oct 15 12:34:16 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA02899 for bugs-outgoing; Tue, 15 Oct 1996 12:34:16 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA02878; Tue, 15 Oct 1996 12:34:14 -0700 (PDT) Date: Tue, 15 Oct 1996 12:34:14 -0700 (PDT) From: Garrett Wollman Message-Id: <199610151934.MAA02878@freefall.freebsd.org> To: fredriks@mcs.com, wollman, freebsd-bugs Subject: Re: kern/1775 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: accept does not preserve file descriptor flags State-Changed-From-To: analyzed-closed State-Changed-By: wollman State-Changed-When: Tue Oct 15 12:30:11 PDT 1996 State-Changed-Why: Fixed in rev. 1.20 of uipc_syscalls.c. From owner-freebsd-bugs Tue Oct 15 12:59:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA04284 for bugs-outgoing; Tue, 15 Oct 1996 12:59:05 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA04279 for ; Tue, 15 Oct 1996 12:59:02 -0700 (PDT) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.7.6/8.7.3) with SMTP id MAA01046; Tue, 15 Oct 1996 12:56:43 -0700 (PDT) Message-ID: <3263EBFC.1CFBAE39@whistle.com> Date: Tue, 15 Oct 1996 12:54:36 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Brian Candler CC: bugs@FreeBSD.org, nato-ws@ripe.net, t12@psg.com Subject: Re: IP bugs in FreeBSD 2.1.5 References: <199610151340.OAA00334@gazebo.candler.demon.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Brian Candler wrote: > > Dear FreeBSD team, > > I have just returned from a NATO-sponsored Advanced Networking Course held > in St Petersburg, Russia, where I was the chief instructor. > > For our PC-based practical sessions we used FreeBSD 2.1.5. > NEAT! I hope each participant got a FreeBSD cdrom as part of the course materials! :) > We uncovered a > number of bugs in the TCP/IP code, which I would like to report in the hope > they can be fixed in some future release. certainly.. Have you looked at any of these problems with 2.2? > > 1. On several occasions we found that although a default route appeared to > be in the kernel forwarding table (as shown by netstat -nr), it did > not work. However simply by deleting and reinserting the exact same > default route, it then worked fine. I'm afraid I can't give you > a set of circumstances which can cause this problem to be > reproduced. > possibly another route preceeded it in some way I can imagine such a case but can't quite put my finger on a mechanism. > 2. When you set up a ppp link, you cannot ping your own IP number > locally. (This is using kernel-based ppp, with pppd to set up the > link) Under -current pinging the local end address certainly works.. even if the link is not up. of course pinging the remote end fails :) > 3. When you use ipalias to set up multiple IP addresses for an > ethernet card, you cannot ping those additional IP numbers locally. hmmmmm interesting... they are logically identical to the original. address, it certainly works for me under -current. > > 4. If you 'ifconfig down' an interface, then set up a default route > via another interface, you still cannot ping the range of IP numbers > which the original interface covered - presumably the kernel still > tries to send them via the (downed) interface. I think I've seen related things sometimes the kernel keeps hold of rtentry structs with outdated information, even though they are not in teh table any more.. this is because the protocol PCBs 'cache' them and there is no way to flush cached rtentry's. It's on my "look at this some more" list > > 5. On one occasion the kernel forwarding table had a bad entry (I > think a "link #1" type entry) which could not be removed, apart from > by rebooting the machine. > sorry, no idea > I am unlikely to have time to look at the source code myself I'm > afraid, but I hope you don't mind me submitting the notes above. Apart > from these points, and "vi" dumping core a few times, FreeBSD was > stable for the whole week we were using it. > without such feedback we'd have a much harder time fixing the system! > Thanks in advance for your attention, > > Brian Candler From owner-freebsd-bugs Tue Oct 15 13:32:18 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA06418 for bugs-outgoing; Tue, 15 Oct 1996 13:32:18 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA06413 for ; Tue, 15 Oct 1996 13:32:15 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.6/8.6.5) with SMTP id NAA03243; Tue, 15 Oct 1996 13:33:23 -0700 (PDT) Message-Id: <199610152033.NAA03243@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Julian Elischer cc: Brian Candler , bugs@FreeBSD.org, nato-ws@ripe.net, t12@psg.com Subject: Re: IP bugs in FreeBSD 2.1.5 In-reply-to: Your message of "Tue, 15 Oct 1996 12:54:36 PDT." <3263EBFC.1CFBAE39@whistle.com> From: David Greenman Reply-To: dg@root.com Date: Tue, 15 Oct 1996 13:33:23 -0700 Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >> 1. On several occasions we found that although a default route appeared to >> be in the kernel forwarding table (as shown by netstat -nr), it did >> not work. However simply by deleting and reinserting the exact same >> default route, it then worked fine. I'm afraid I can't give you >> a set of circumstances which can cause this problem to be >> reproduced. >> >possibly another route preceeded it in some way >I can imagine such a case but can't quite put my finger on a >mechanism. He likely had a clone route. This would only show up with netstat -rna. It would also be deleted automatically if he deleted the default route. This isn't a bug, but it is useful to understand how this all works so that you can be prepared for the behavior. >> 5. On one occasion the kernel forwarding table had a bad entry (I >> think a "link #1" type entry) which could not be removed, apart from >> by rebooting the machine. >> > >sorry, no idea That would be an arp entry. He probably had an outstanding arp request that wasn't satisfied. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-freebsd-bugs Tue Oct 15 13:47:10 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA07305 for bugs-outgoing; Tue, 15 Oct 1996 13:47:10 -0700 (PDT) Received: from typhoon.dial.pipex.net (typhoon.dial.pipex.net [158.43.128.46]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA07300 for ; Tue, 15 Oct 1996 13:47:07 -0700 (PDT) Received: from gazebo.candler.demon.co.uk by typhoon.dial.pipex.net (8.7.5/) id VAA28609; Tue, 15 Oct 1996 21:46:04 +0100 (BST) Received: (from brian@localhost) by gazebo.candler.demon.co.uk (8.6.12/8.6.9) id VAA02941; Tue, 15 Oct 1996 21:39:12 +0100 From: Brian Candler Message-Id: <199610152039.VAA02941@gazebo.candler.demon.co.uk> Subject: Re: IP bugs in FreeBSD 2.1.5 To: julian@whistle.com (Julian Elischer) Date: Tue, 15 Oct 1996 21:39:10 +0100 (BST) Cc: bugs@freebsd.org, nato-ws@ripe.net, t12@psg.com In-Reply-To: <3263EBFC.1CFBAE39@whistle.com> from "Julian Elischer" at Oct 15, 96 12:54:36 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I have just returned from a NATO-sponsored Advanced Networking Course held > > in St Petersburg, Russia, where I was the chief instructor. > > > > For our PC-based practical sessions we used FreeBSD 2.1.5. > > > NEAT! > > I hope each participant got a FreeBSD cdrom as part of the > course materials! :) We thought about it, but the budget didn't stretch far enough for the Walnut Creek ones, and there wasn't enough time to make our own. We did install from CD though, which let us get the software running before our Internet connectivity was up. You'll be pleased to hear that there *are* local mirrors of FreeBSD in Russia though :-) > > We uncovered a > > number of bugs in the TCP/IP code, which I would like to report in the hope > > they can be fixed in some future release. > > certainly.. > Have you looked at any of these problems with 2.2? Sorry, no. We stuck with the 2.1.5 release code, as that was what was on the CD. Brian. From owner-freebsd-bugs Tue Oct 15 13:52:22 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA07859 for bugs-outgoing; Tue, 15 Oct 1996 13:52:22 -0700 (PDT) Received: from quagmire.ki.net (root@quagmire.ki.net [205.150.102.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA07846 for ; Tue, 15 Oct 1996 13:52:19 -0700 (PDT) Received: from localhost (scrappy@localhost) by quagmire.ki.net (8.7.5/8.7.5) with SMTP id QAA17359; Tue, 15 Oct 1996 16:52:21 -0400 (EDT) Date: Tue, 15 Oct 1996 16:52:20 -0400 (EDT) From: "Marc G. Fournier" To: Julian Elischer cc: Brian Candler , bugs@freebsd.org, nato-ws@ripe.net, t12@psg.com Subject: Re: IP bugs in FreeBSD 2.1.5 In-Reply-To: <3263EBFC.1CFBAE39@whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 15 Oct 1996, Julian Elischer wrote: > > 3. When you use ipalias to set up multiple IP addresses for an > > ethernet card, you cannot ping those additional IP numbers locally. > > hmmmmm interesting... they are logically identical to the original. > address, it certainly works for me under -current. > This worked for me under 2.1.x and under 2.2-CURRENT...so it isn't something that was broken under 2.1.5 for my systems... Marc G. Fournier scrappy@ki.net Systems Administrator @ ki.net scrappy@freebsd.org From owner-freebsd-bugs Tue Oct 15 14:10:10 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08933 for bugs-outgoing; Tue, 15 Oct 1996 14:10:10 -0700 (PDT) Received: from wwwi.com (root@voltimand.csd.wwwi.com [199.1.92.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA08923 for ; Tue, 15 Oct 1996 14:10:07 -0700 (PDT) Received: from cornelius (cornelius.csd.wwwi.com [199.1.92.20]) by wwwi.com (8.7.5/8.7.3) with SMTP id OAA05309 for ; Tue, 15 Oct 1996 14:10:04 -0700 (MST) Date: Tue, 15 Oct 1996 14:10:04 -0700 (MST) Message-Id: <199610152110.OAA05309@wwwi.com> X-Sender: jdw@pop.wwwi.com X-Mailer: Windows Eudora Pro Version 2.1.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: freebsd-bugs@freebsd.org From: "Jeffrey D. Wheelhouse" Subject: Re: IP bugs in FreeBSD 2.1.5 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 04:52 PM 10/15/96 -0400, you wrote: > This worked for me under 2.1.x and under 2.2-CURRENT...so it >isn't something that was broken under 2.1.5 for my systems... My experience with it is that it is a "sometimes" problem under 2.1.5... Like right after you set up the alias, it won't work, but after a while, or if you delete it and add it again, maybe it will (or maybe it won't). I just always assumed that I was a moron and doing something wrong until I saw that Brian had a very similar problem. Later, Jeff From owner-freebsd-bugs Tue Oct 15 19:14:34 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA27195 for bugs-outgoing; Tue, 15 Oct 1996 19:14:34 -0700 (PDT) Received: (from steve@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA27176; Tue, 15 Oct 1996 19:14:29 -0700 (PDT) Date: Tue, 15 Oct 1996 19:14:29 -0700 (PDT) From: Steve Price Message-Id: <199610160214.TAA27176@freefall.freebsd.org> To: steve, freebsd-bugs, steve Subject: Re: bin/1793 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: /bin/sh return w/o exitstatus in a function sets exitstatus to true Responsible-Changed-From-To: freebsd-bugs->steve Responsible-Changed-By: steve Responsible-Changed-When: Tue Oct 15 19:13:58 PDT 1996 Responsible-Changed-Why: I am working on this one. From owner-freebsd-bugs Tue Oct 15 19:15:10 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA27310 for bugs-outgoing; Tue, 15 Oct 1996 19:15:10 -0700 (PDT) Received: (from steve@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA27291; Tue, 15 Oct 1996 19:15:07 -0700 (PDT) Date: Tue, 15 Oct 1996 19:15:07 -0700 (PDT) From: Steve Price Message-Id: <199610160215.TAA27291@freefall.freebsd.org> To: steve, freebsd-bugs, steve Subject: Re: bin/986 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: problems make-ing with cd in the rule Responsible-Changed-From-To: freebsd-bugs->steve Responsible-Changed-By: steve Responsible-Changed-When: Tue Oct 15 19:14:41 PDT 1996 Responsible-Changed-Why: I am working on this one. From owner-freebsd-bugs Tue Oct 15 20:50:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA03850 for bugs-outgoing; Tue, 15 Oct 1996 20:50:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA03837; Tue, 15 Oct 1996 20:50:03 -0700 (PDT) Resent-Date: Tue, 15 Oct 1996 20:50:03 -0700 (PDT) Resent-Message-Id: <199610160350.UAA03837@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received: (from nobody@localhost)by.freefall.freebsd.org.id.UAA03541;Tue; (8.7.5/8.7.3);, 15 Oct 1996 20:43:22.-0700 (PDT) Message-Id: <199610160343.UAA03541@freefall.freebsd.org> Date: Tue, 15 Oct 1996 20:43:22 -0700 (PDT) From: den@baga.tsk.ru To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/1818: RTL8029 Ethernet Card support Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1818 >Category: kern >Synopsis: RTL8029 Ethernet Card support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: support >Submitter-Id: current-users >Arrival-Date: Tue Oct 15 20:50:02 PDT 1996 >Last-Modified: >Originator: Denis A. Zemlyanov >Organization: >Release: 2.1.0 >Environment: >Description: Is an any way to use this Ethernet card (RTL8029) with FreeBSD. And when PCNet AMD cards will be supported >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Tue Oct 15 20:50:11 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA03872 for bugs-outgoing; Tue, 15 Oct 1996 20:50:11 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA03849; Tue, 15 Oct 1996 20:50:06 -0700 (PDT) Resent-Date: Tue, 15 Oct 1996 20:50:06 -0700 (PDT) Resent-Message-Id: <199610160350.UAA03849@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received: (from nobody@localhost)by.freefall.freebsd.org.id.UAA03599;Tue; (8.7.5/8.7.3);, 15 Oct 1996 20:44:14.-0700 (PDT) Message-Id: <199610160344.UAA03599@freefall.freebsd.org> Date: Tue, 15 Oct 1996 20:44:14 -0700 (PDT) From: den@baga.tsk.ru To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/1819: RTL8029 PCI Ethernet Card support, PCI NE2000 clone Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1819 >Category: kern >Synopsis: RTL8029 PCI Ethernet Card support, PCI NE2000 clone >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: support >Submitter-Id: current-users >Arrival-Date: Tue Oct 15 20:50:05 PDT 1996 >Last-Modified: >Originator: Denis A. Zemlyanov >Organization: >Release: 2.1.0 >Environment: >Description: Is an any way to use this PCI Ethernet card (RTL8029) with FreeBSD. And when PCNet AMD cards will be supported >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Oct 16 01:30:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA20862 for bugs-outgoing; Wed, 16 Oct 1996 01:30:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA20844; Wed, 16 Oct 1996 01:30:03 -0700 (PDT) Resent-Date: Wed, 16 Oct 1996 01:30:03 -0700 (PDT) Resent-Message-Id: <199610160830.BAA20844@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, cracauer@cons.org Received: from knight.cons.org (knight.hamburg.org [194.233.237.86]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA20063 for ; Wed, 16 Oct 1996 01:22:34 -0700 (PDT) Received: (from cracauer@localhost) by knight.cons.org (8.7.5/8.7.3) id KAA17050; Wed, 16 Oct 1996 10:21:46 +0200 (MET DST) Message-Id: <199610160821.KAA17050@knight.cons.org> Date: Wed, 16 Oct 1996 10:21:46 +0200 (MET DST) From: cracauer@cons.org Reply-To: cracauer@cons.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/1820: Enabling Emacs Meta-Key in non-window mode Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1820 >Category: misc >Synopsis: Emacs Meta-Key doesn't work in non-x11-mode >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 01:30:02 PDT 1996 >Last-Modified: >Originator: Martin Cracauer >Organization: private >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: The problem is present in every version of FreeBSD, at least since 2.0. >Description: When using emacs in on-window-mode, the Meta-Mey doesn't work when $TTY is xterm or syscons (I tested these, but the problem is probably present for other terminal types, too). The problem with FreeBSD is that the termcap entry for xterm and syscons doesn't include the "km" flag. When emacs starts up, it does: emacs-19.34/src/term.c: meta_key = tgetflag ("km") || tgetflag ("MT"); Therefore, the Meta-Key will not be used when the termcap entry has no "km". You can activate the meta Key in emacs after startup using "(set-input-mode t nil t)". xterm generates the Meta key in every case, so overriding emacs startup value is sufficient to activate the key. All version of xterm I am aware of send the Meta-Key. I am sure the termcap entry should always include this flag for all versions of xterm. It does for all other Unix-clones I tried (SunOS, Solaris, NetBSD, Linux). For syscons, things are more complicated. You first have to make syscons generate the Meta-Key (which is not the default on FreeBSD) and then change the termcap entry to include "km". >How-To-Repeat: Try to use the Meta key in "emacs -nw"-Mode in xterm and/or syscons. It will be ignored, "Meta-v" will generate the character "v". >Fix: XTERM: Either: - add the "km" flag to xterm's termcap entry. - import NetBSD's version of the termcap entry for xterm. - import it from Eric Raymond's termcap database, where the NetBSD entry is derived from. I'd say one of the latter options is probably the better way, Eric Raymond's database looks more polished than FreeBSD's in many ways. SYSCONS: You first have to use a keymap that includes support for the Meta key. Then, change the termcap entry to include the "km" flag. I'm not a syscons expert, but I assume the problem will be the number fo different keymap layouts that are based on non-Meta-key-aware versions. There's no way to make termcap's "km" key enabled based on the keymap actually loaded into syscons by the user. What will happen when "km" is set in the termcap database, but the actual termincal will not generate the key (i.e., when "km" is enabled, but the user uses a keymap without Meta-Key support)? Obviously, Meta will not work, but it wouldn't anyway, so nothing is lost. The only theroretical situation where having a "km" entry in termcap for a terminal without actual Meta capability is worse than not having "km" is: When an application asks for the presense of the Meta key, finds support for it in termcap and then *disables* some other feature. An example could be a program that uses Escape sequences as an alternate way to using Meta-combination key sequences and *disables* these alternate way when it thinks the Meta key is present. I don't know of any program that does things this way. Either there is *always* (no matter whether a Meta key is present or not) an alternate way to call Meta-combinations (as in emacs) or no alternate support at all is provided. I actually tried out setting the Meta-Key anabled for a syscons without Meta-Key support and nothing unexpencted happend. So, I vote to include "km" in the termcap entry for syscons even with the risk that the keymap actually loaded doesn't have support for it (what we can't tell in advance). This is a forwarded message including a keymap file with Meta-key support. I tried it out and it worked. ~Date: Wed, 9 Oct 1996 08:27:47 -0700 (PDT) ~Message-Id: <199610091527.IAA01022@osprey.grizzly.com> ~From: Mark Diekhans ~To: cracauer@wavehh.hanse.de ~In-Reply-To: <9610091039.AA13572@wavehh.hanse.de> (cracauer@wavehh.hanse.de) ~Subject: Re: Alt/Meta-Key problems/ pty problem? ~Status: RO Here is the keyboard file. Use: kbdcontrol -l emacs.kbd to enable it... # alt # scan cntrl alt alt cntrl lock # code base shift cntrl shift alt shift cntrl shift state # ------------------------------------------------------------------ 000 nop nop nop nop nop nop nop nop O 001 esc esc esc esc esc esc debug esc O 002 '1' '!' nop nop 0xb1 0xa1 nop nop O 003 '2' '@' nul nul 0xb2 0xc0 nul nul O 004 '3' '#' nop nop 0xb3 0xa3 nop nop O 005 '4' '$' nop nop 0xb4 0xa4 nop nop O 006 '5' '%' nop nop 0xb5 0xa5 nop nop O 007 '6' '^' rs rs 0xb6 0xde rs rs O 008 '7' '&' nop nop 0xb7 0xa6 nop nop O 009 '8' '*' nop nop 0xb8 0xaa nop nop O 010 '9' '(' nop nop 0xb9 0xa8 nop nop O 011 '0' ')' nop nop 0xb0 0xa9 nop nop O 012 '-' '_' ns ns 0xad 0xdf ns ns O 013 '=' '+' nop nop 0xbd 0xab nop nop O 014 bs bs del del bs bs del del O 015 ht btab nop nop ht btab nop nop O 016 'q' 'Q' dc1 dc1 0xf1 0xd1 dc1 dc1 C 017 'w' 'W' etb etb 0xf7 0xd7 etb etb C 018 'e' 'E' enq enq 0xe5 0xc5 enq enq C 019 'r' 'R' dc2 dc2 0xf2 0xd2 dc2 dc2 C 020 't' 'T' dc4 dc4 0xf4 0xd4 dc4 dc4 C 021 'y' 'Y' em em 0xf9 0xd9 em em C 022 'u' 'U' nak nak 0xf5 0xd5 nak nak C 023 'i' 'I' ht ht 0xe9 0xc9 ht ht C 024 'o' 'O' si si 0xef 0xcf si si C 025 'p' 'P' dle dle 0xf0 0xd0 dle dle C 026 '[' '{' esc esc 0xdb 0xfb esc esc O 027 ']' '}' gs gs 0xdd 0xfd gs gs O 028 cr cr nl nl cr cr nl nl O 029 lctrl lctrl lctrl lctrl lctrl lctrl lctrl lctrl O 030 'a' 'A' soh soh 0xe1 0xc1 soh soh C 031 's' 'S' dc3 dc3 0xf3 0xd3 dc3 dc3 C 032 'd' 'D' eot eot 0xe4 0xc4 eot eot C 033 'f' 'F' ack ack 0xe6 0xc6 ack ack C 034 'g' 'G' bel bel 0xe7 0xc7 bel bel C 035 'h' 'H' bs bs 0xe8 0xc8 bs bs C 036 'j' 'J' nl nl 0xea 0xca nl nl C 037 'k' 'K' vt vt 0xeb 0xcb vt vt C 038 'l' 'L' ff ff 0xec 0xcc ff ff C 039 ';' ':' nop nop 0xbb 0xba nop nop O 040 ''' '"' nop nop 0xa7 0xa2 nop nop O 041 '`' '~' nop nop 0xe0 0xfe nop nop O 042 lshift lshift lshift lshift lshift lshift lshift lshift O 043 '\' '|' fs fs 0xdc 0xfc fs fs O 044 'z' 'Z' sub sub 0xfa 0xda sub sub C 045 'x' 'X' can can 0xf8 0xd8 can can C 046 'c' 'C' etx etx 0xe3 0xc3 etx etx C 047 'v' 'V' syn syn 0xf6 0xd6 syn syn C 048 'b' 'B' stx stx 0xe2 0xc2 stx stx C 049 'n' 'N' so so 0xee 0xce so so C 050 'm' 'M' cr cr 0xed 0xcd cr cr C 051 ',' '<' nop nop 0xac 0xbc nop nop O 052 '.' '>' nop nop 0xae 0xbe nop nop O 053 '/' '?' nop nop 0xaf 0xbf nop nop O 054 rshift rshift rshift rshift rshift rshift rshift rshift O 055 '*' '*' nscr nscr 0xaa 0xaa nscr nscr O 056 lalt lalt lalt lalt lalt lalt lalt lalt O 057 ' ' ' ' nul ' ' 0xa0 0xa0 130 ' ' O 058 clock clock clock clock clock clock clock clock O 059 fkey01 fkey13 fkey25 fkey37 scr01 scr11 scr01 scr11 O 060 fkey02 fkey14 fkey26 fkey38 scr02 scr12 scr02 scr12 O 061 fkey03 fkey15 fkey27 fkey39 scr03 scr13 scr03 scr13 O 062 fkey04 fkey16 fkey28 fkey40 scr04 scr14 scr04 scr14 O 063 fkey05 fkey17 fkey29 fkey41 scr05 scr15 scr05 scr15 O 064 fkey06 fkey18 fkey30 fkey42 scr06 scr16 scr06 scr16 O 065 fkey07 fkey19 fkey31 fkey43 scr07 scr07 scr07 scr07 O 066 fkey08 fkey20 fkey32 fkey44 scr08 scr08 scr08 scr08 O 067 fkey09 fkey21 fkey33 fkey45 scr09 scr09 scr09 scr09 O 068 fkey10 fkey22 fkey34 fkey46 scr10 scr10 scr10 scr10 O 069 nlock nlock nlock nlock nlock nlock nlock nlock O 070 slock slock slock slock slock slock slock slock O 071 fkey49 '7' '7' '7' 0xb7 0xb7 '7' '7' N 072 fkey50 '8' '8' '8' 0xb8 0xb8 '8' '8' N 073 fkey51 '9' '9' '9' 0xb9 0xb9 '9' '9' N 074 fkey52 '-' '-' '-' 0xad 0xad '-' '-' N 075 fkey53 '4' '4' '4' 0xb4 0xb4 '4' '4' N 076 nop '5' '5' '5' 0xb5 0xb5 '5' '5' N 077 fkey55 '6' '6' '6' 0xb6 0xb6 '6' '6' N 078 fkey56 '+' '+' '+' 0xab 0xab '+' '+' N 079 fkey57 '1' '1' '1' 0xb1 0xb1 '1' '1' N 080 fkey58 '2' '2' '2' 0xb2 0xb2 '2' '2' N 081 fkey59 '3' '3' '3' 0xb3 0xb3 '3' '3' N 082 fkey60 '0' '0' '0' 0xb0 0xb0 '0' '0' N 083 del '.' del del del del boot del N 084 nop nop nop nop nop nop nop nop O 085 nop nop nop nop nop nop nop nop O 086 nop nop nop nop nop nop nop nop O 087 fkey11 fkey23 fkey35 fkey47 scr11 scr11 scr11 scr11 O 088 fkey12 fkey24 fkey36 fkey48 scr12 scr12 scr12 scr12 O 089 cr cr cr cr cr cr cr cr O 090 rctrl rctrl rctrl rctrl rctrl rctrl rctrl rctrl O 091 '/' '/' '/' '/' 0xaf 0xaf '/' '/' O 092 nscr nop debug nop nop nop nop nop O 093 ralt ralt ralt ralt ralt ralt ralt ralt O 094 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 O 095 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 O 096 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 O 097 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 O 098 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 O 099 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 O 100 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 O 101 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 O 102 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 O 103 fkey54 fkey54 fkey54 fkey54 fkey54 fkey54 boot fkey54 O 104 slock slock slock slock slock slock slock slock O 105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O 106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O 107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Oct 16 01:57:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA23898 for bugs-outgoing; Wed, 16 Oct 1996 01:57:03 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA23880; Wed, 16 Oct 1996 01:57:01 -0700 (PDT) Date: Wed, 16 Oct 1996 01:57:01 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610160857.BAA23880@freefall.freebsd.org> To: den@baga.tsk.ru, joerg, freebsd-bugs Subject: Re: kern/1818 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: RTL8029 Ethernet Card support State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Wed Oct 16 10:56:24 MET DST 1996 State-Changed-Why: A random question ain't a bug report. From owner-freebsd-bugs Wed Oct 16 01:57:27 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA24054 for bugs-outgoing; Wed, 16 Oct 1996 01:57:27 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA24026; Wed, 16 Oct 1996 01:57:25 -0700 (PDT) Date: Wed, 16 Oct 1996 01:57:25 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610160857.BAA24026@freefall.freebsd.org> To: den@baga.tsk.ru, joerg, freebsd-bugs Subject: Re: kern/1819 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: RTL8029 PCI Ethernet Card support, PCI NE2000 clone State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Wed Oct 16 10:56:24 MET DST 1996 State-Changed-Why: A random question ain't a bug report. From owner-freebsd-bugs Wed Oct 16 02:00:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA24437 for bugs-outgoing; Wed, 16 Oct 1996 02:00:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA24406; Wed, 16 Oct 1996 02:00:04 -0700 (PDT) Date: Wed, 16 Oct 1996 02:00:04 -0700 (PDT) Message-Id: <199610160900.CAA24406@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: kern/1819: RTL8029 PCI Ethernet Card support, PCI NE2000 clone Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/1819; it has been noted by GNATS. From: J Wunsch To: den@baga.tsk.ru Cc: freebsd-gnats-submit@freebsd.org Subject: Re: kern/1819: RTL8029 PCI Ethernet Card support, PCI NE2000 clone Date: Wed, 16 Oct 1996 10:45:19 +0200 (MET DST) As den@baga.tsk.ru wrote: > Is an any way to use this PCI Ethernet card (RTL8029) with FreeBSD. > And when PCNet AMD cards will be supported Eeeeeeeek! This ain't a bug report, it's something that might belong to freebsd-questions@freebsd.org, or into Usenet. Grrr, and you've even sent this twice! -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Wed Oct 16 02:40:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA00856 for bugs-outgoing; Wed, 16 Oct 1996 02:40:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA00818; Wed, 16 Oct 1996 02:40:03 -0700 (PDT) Resent-Date: Wed, 16 Oct 1996 02:40:03 -0700 (PDT) Resent-Message-Id: <199610160940.CAA00818@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received: (from nobody@localhost)by.freefall.freebsd.org.id.CAA00287;Wed; (8.7.5/8.7.3);, 16 Oct 1996 02:36:05.-0700 (PDT) Message-Id: <199610160936.CAA00287@freefall.freebsd.org> Date: Wed, 16 Oct 1996 02:36:05 -0700 (PDT) From: chad@dcfinc.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: i386/1821: boot fails if bad144 selected on large partition Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1821 >Category: i386 >Synopsis: boot fails if bad144 selected on large partition >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 02:40:01 PDT 1996 >Last-Modified: >Originator: Chad R. Larson >Organization: DCF, Inc. >Release: 2.1.0 >Environment: >Description: During the "Novice" install, when the "fdisk" utility was run, I selected the "bad block check" option. This caused the BIOS booter to fail with a "Error C:3197 > 1023 (BIOS limit)" message. This turns out to be caused by the BIOS booter attempting to read the bad block table, which is at the end of the "c" slice of the partition. I fixed it by using the fixdisk floppy's fdisk to write a new partition entry that does not specify bad block processing. This is perhaps a documentation problem. The bad track processing option is incompatable with a FreeBSD partition that extends beyond cylinder 1023, regardless of where the root slice resides within that partition. I don't find that limitation documented anywhere. I found it by reading the source code to the BIOS booter. Better might be a second-level booter that doesn't use the BIOS to do the disk reads (Interactive UNIX does this), so that only the second-level booter itself need be below the 1023 cylinder fence. >How-To-Repeat: Select the "bad block mapping" option from the fdisk menu on a partition that extends beyond the 1023 cylinder boundry, regardless of the size of the root slice within that partition. >Fix: Don't use bad144 mapping. Tell your friends... >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Oct 16 02:40:11 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA00891 for bugs-outgoing; Wed, 16 Oct 1996 02:40:11 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA00849; Wed, 16 Oct 1996 02:40:05 -0700 (PDT) Resent-Date: Wed, 16 Oct 1996 02:40:05 -0700 (PDT) Resent-Message-Id: <199610160940.CAA00849@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jmg@nike.efn.org Received: from nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA00624 for ; Wed, 16 Oct 1996 02:38:47 -0700 (PDT) Received: (from jmg@localhost) by nike.efn.org (8.7.5/8.7.3) id CAA19495; Wed, 16 Oct 1996 02:38:36 -0700 (PDT) Message-Id: <199610160938.CAA19495@nike.efn.org> Date: Wed, 16 Oct 1996 02:38:36 -0700 (PDT) From: John-Mark Gurney Reply-To: jmg@nike.efn.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/1822: no easy way to add your own default daily (sorta) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1822 >Category: conf >Synopsis: no easy way to add your own default daily (sorta) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 02:40:04 PDT 1996 >Last-Modified: >Originator: John-Mark Gurney >Organization: Cu Networking >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: just a gen 2.2-0801-SNAP box, nothing special >Description: you really can't add your own daily unless you modify daily... do the same for rc the rc.local is and slurp in daily.local if it exists... >How-To-Repeat: create a /etc/daily.local, nothing happens :) >Fix: apply this fix to /etc/daily... yeh... I know it modifies an OLD unmodified part of the system... but I thought others might find it useful... Index: daily =================================================================== RCS file: /usr/cvs/src/etc/daily,v retrieving revision 1.19 diff -c -r1.19 daily *** daily 1996/06/22 13:05:19 1.19 --- daily 1996/10/16 09:30:47 *************** *** 157,160 **** --- 157,165 ---- rdist -f /etc/Distfile fi + if [ -f /etc/daily.local ]; then + echo "running daily.local:" + /etc/daily.local + fi + sh /etc/security 2>&1 | sendmail root >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Oct 16 03:10:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA05127 for bugs-outgoing; Wed, 16 Oct 1996 03:10:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA05113; Wed, 16 Oct 1996 03:10:03 -0700 (PDT) Resent-Date: Wed, 16 Oct 1996 03:10:03 -0700 (PDT) Resent-Message-Id: <199610161010.DAA05113@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, gurney_j@efn.org Received: from nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA04544 for ; Wed, 16 Oct 1996 03:04:47 -0700 (PDT) Received: (from root@localhost) by nike.efn.org (8.7.5/8.7.3) id DAA21301; Wed, 16 Oct 1996 03:04:45 -0700 (PDT) Message-Id: <199610161004.DAA21301@nike.efn.org> Date: Wed, 16 Oct 1996 03:04:45 -0700 (PDT) From: John-Mark Gurney Reply-To: gurney_j@efn.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1823: Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1823 >Category: bin >Synopsis: >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 03:10:01 PDT 1996 >Last-Modified: >Originator: John-Mark Gurney >Organization: Cu Networking >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: just a good old 2.2-0801-SNAP system >Description: if you have an environment variable $REPLY_TO set send-pr doesn't use it... caused my last send-pr not to have to proper reply-to address... also.. is it good not to include domain in from? of course is this the really intended behavior? >How-To-Repeat: in sh: export REPLY_TO=somethingelse send-pr /Reply-To: notice that it reads exactly the same as from: and not somethingelse >Fix: possibly apply this patch or someother patch: Index: send-pr.sh =================================================================== RCS file: /usr/cvs/src/gnu/usr.bin/send-pr/send-pr.sh,v retrieving revision 1.5 diff -c -r1.5 send-pr.sh *** send-pr.sh 1994/11/10 02:34:54 1.5 --- send-pr.sh 1996/10/16 09:58:51 *************** *** 81,87 **** fi FROM="$LOGNAME" ! REPLY_TO="$LOGNAME" # Find out the name of the originator of this PR. if [ -n "$NAME" ]; then --- 81,89 ---- fi FROM="$LOGNAME" ! if [ x"${REPLY_TO}" = x"" ]; then ! REPLY_TO="$LOGNAME" ! fi # Find out the name of the originator of this PR. if [ -n "$NAME" ]; then >Audit-Trail: >Unformatted: send-pr doesn't suck in $REPLY_TO if set From owner-freebsd-bugs Wed Oct 16 03:20:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA06560 for bugs-outgoing; Wed, 16 Oct 1996 03:20:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA06547; Wed, 16 Oct 1996 03:20:04 -0700 (PDT) Resent-Date: Wed, 16 Oct 1996 03:20:04 -0700 (PDT) Resent-Message-Id: <199610161020.DAA06547@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, gurney_j@efn.org Received: from nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA05268 for ; Wed, 16 Oct 1996 03:11:24 -0700 (PDT) Received: (from jmg@localhost) by nike.efn.org (8.7.5/8.7.3) id DAA21593; Wed, 16 Oct 1996 03:11:23 -0700 (PDT) Message-Id: <199610161011.DAA21593@nike.efn.org> Date: Wed, 16 Oct 1996 03:11:23 -0700 (PDT) From: John-Mark Gurney Reply-To: gurney_j@efn.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1824: Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1824 >Category: bin >Synopsis: >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 03:20:02 PDT 1996 >Last-Modified: >Originator: John-Mark Gurney >Organization: Cu Networking >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: nothing special.. changes relative to -current >Description: got anoyed with not being able to get some depth out of du like two or three directories with out getting those really long anoying 10 deep dirs also... added a -d option to du to provide a limit on depth, very easy fix as fts provides depth in the structure... >How-To-Repeat: run: du -d 2 and see that it is an invalid option :) >Fix: apply this patch (includes documentation patches) i have been running this patch for a while now, no wierd things have happened over here, both using -s and -d...: Index: du.1 =================================================================== RCS file: /usr/cvs/src/usr.bin/du/du.1,v retrieving revision 1.5 diff -c -r1.5 du.1 *** du.1 1996/08/29 18:05:49 1.5 --- du.1 1996/09/15 05:50:11 *************** *** 41,47 **** .Sh SYNOPSIS .Nm du .Op Fl H | Fl L | Fl P ! .Op Fl a | Fl s .Op Fl x .Op Ar file ... .Sh DESCRIPTION --- 41,47 ---- .Sh SYNOPSIS .Nm du .Op Fl H | Fl L | Fl P ! .Op Fl a | s | d Ar depth .Op Fl x .Op Ar file ... .Sh DESCRIPTION *************** *** 68,73 **** --- 68,77 ---- No symbolic links are followed. .It Fl a Display an entry for each file in the file hierarchy. + .It Fl d Ar depth + Displays all directories only + .Ar depth + directories deep. .It Fl k Report in 1024-byte (1-Kbyte) blocks rather than the default. Note that this overrides the Index: du.c =================================================================== RCS file: /usr/cvs/src/usr.bin/du/du.c,v retrieving revision 1.5 diff -c -r1.5 du.c *** du.c 1995/05/30 06:29:49 1.5 --- du.c 1996/10/16 09:40:46 *************** *** 66,79 **** FTS *fts; FTSENT *p; long blocksize; ! int ftsoptions, listdirs, listfiles; ! int Hflag, Lflag, Pflag, aflag, ch, notused, rval, sflag; char **save; save = argv; ! Hflag = Lflag = Pflag = aflag = sflag = 0; ftsoptions = FTS_PHYSICAL; ! while ((ch = getopt(argc, argv, "HLPaksx")) != EOF) switch (ch) { case 'H': Hflag = 1; --- 66,80 ---- FTS *fts; FTSENT *p; long blocksize; ! int ftsoptions, listdirs, listfiles, depth; ! int Hflag, Lflag, Pflag, aflag, ch, notused, rval, sflag, dflag; char **save; save = argv; ! Hflag = Lflag = Pflag = aflag = sflag = dflag = 0; ! depth = INT_MAX; ftsoptions = FTS_PHYSICAL; ! while ((ch = getopt(argc, argv, "HLPad:ksx")) != EOF) switch (ch) { case 'H': Hflag = 1; *************** *** 99,104 **** --- 100,113 ---- case 'x': ftsoptions |= FTS_XDEV; break; + case 'd': + dflag = 1; + depth=atoi(optarg); + if(errno == ERANGE) { + (void)fprintf(stderr, "Invalid argument to option d: %s", optarg); + usage(); + } + break; case '?': default: usage(); *************** *** 126,137 **** } if (aflag) { ! if (sflag) usage(); listdirs = listfiles = 1; ! } else if (sflag) listdirs = listfiles = 0; ! else { listfiles = 0; listdirs = 1; } --- 135,151 ---- } if (aflag) { ! if (sflag || dflag) usage(); listdirs = listfiles = 1; ! } else if (sflag) { ! if (dflag) ! usage(); listdirs = listfiles = 0; ! } else if (dflag) { ! listfiles = 0; ! listdirs = 1; ! } else { listfiles = 0; listdirs = 1; } *************** *** 160,166 **** * or directories and this is post-order of the * root of a traversal, display the total. */ ! if (listdirs || !listfiles && !p->fts_level) (void)printf("%ld\t%s\n", howmany(p->fts_number, blocksize), p->fts_path); --- 174,180 ---- * or directories and this is post-order of the * root of a traversal, display the total. */ ! if (p->fts_level <= depth && listdirs || !listfiles && !p->fts_level) (void)printf("%ld\t%s\n", howmany(p->fts_number, blocksize), p->fts_path); *************** *** 227,232 **** { (void)fprintf(stderr, ! "usage: du [-H | -L | -P] [-a | -s] [-k] [-x] [file ...]\n"); exit(1); } --- 241,246 ---- { (void)fprintf(stderr, ! "usage: du [-H | -L | -P] [-a | -s | -d depth] [-k] [-x] [file ...]\n"); exit(1); } >Audit-Trail: >Unformatted: du doesn't have a depth limit factor From owner-freebsd-bugs Wed Oct 16 07:00:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA03920 for bugs-outgoing; Wed, 16 Oct 1996 07:00:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA03907; Wed, 16 Oct 1996 07:00:03 -0700 (PDT) Resent-Date: Wed, 16 Oct 1996 07:00:03 -0700 (PDT) Resent-Message-Id: <199610161400.HAA03907@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, pjchilds@imforei.apana.org.au Received: from al.imforei.apana.org.au (pjchilds@al.imforei.apana.org.au [202.12.89.41]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA03452 for ; Wed, 16 Oct 1996 06:51:30 -0700 (PDT) Received: (from pjchilds@localhost) by al.imforei.apana.org.au (8.8.0/8.7.3) id XAA10558; Wed, 16 Oct 1996 23:21:16 +0930 (CST) Message-Id: <199610161351.XAA10558@al.imforei.apana.org.au> Date: Wed, 16 Oct 1996 23:21:16 +0930 (CST) From: Peter Childs Reply-To: pjchilds@imforei.apana.org.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1825: more iijppp fixes/samples Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1825 >Category: bin >Synopsis: more iijppp fixes/samples >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 07:00:02 PDT 1996 >Last-Modified: >Originator: Peter Childs >Organization: Peter Childs --- http://www.imforei.apana.org.au/~pjchilds Finger pjchilds@al.imforei.apana.org.au for public PGP key Drag me, drop me, treat me like an object! >Release: FreeBSD 2.2-CURRENT i386 >Environment: 2.2-current system >Description: after some discussion in freebsd-isp i've included a patch to remove local hacks that may confuse people that don't read the source code i've also added the sample files as described in the man page for setting up a dialup ppp server. i've left a local hack in passwdauth.c #ifdef'd out because i think it shows up a vaild point about using the password file to PAP authenticate auto-ppp clients (ie don't just allow everyone with a valid username/password to log on with ppp) >How-To-Repeat: become confused, submit code full of local hacks >Fix: please take the sample files from this uuencoded/gzip'ed/mime-enapsulated multipart 7bit'ifiyed and throw them in /etc/ppp also apply attached patches to /usr/src/usr.sbin/ppp begin 664 samples.tgz M'XL(`-7D9#(``^U7;4_C1A#FZ_E73`,2<,J;`SE$3D@UB0%+29S:#ASJM6)C M;XA[CIUZ-Y!(57][9]8.2>'H7:6#4U6/!':\L\^\K6<>"S:=1;PZF\TJ0KQ\UF[`%H!\UZW1%65T!#AIU'>!=0S^L'QP>T;U^<'C8V(+Z"_CR M1.9"LA1@:_:;/PFC0#RG=S_A/'H-AUY7MG^HC<*X)B90T;:W@?[:R6R9AK<3 M"7O^/NC'QTWHL?03]/F]3&+2,*((E(:`E`N>WO&@NMKM\"`4,@U',DG8HRW(=R`DFJKLE<$LHT"<)QZ#/"*`-+.?T*@? ML7#*4Y6DQE-'T.!&1E:.8)S!')U[&5\@BS)'"A)_/N6Q9*NBU;`>":ZG,&62 MI]@:Q#KQJF`$O!G&PPGP+BP77/O,NS(<$_!^X-B75L?LP.DU+II@#+T+VX&; M&\/%Y=U=,/H==:SZUV!^&#BFZP*N6[U!U\)=".,8?<\RW3)8_79WV+'ZYV4X M'7K0MSWH6CW+0S7/+A,Z`3W="?89]$RG?8$_C5.K:WG79!7.+*]/YL[0G@$# MP_&L]K!K.#`8.@/;56@41<=RVUW#ZIF=*J`3:!C,2[/O@7MA=+N;49V:Z)%Q MVE5;%2Q&U;$F6P1V8;8MNS`\F>FXXUV6*OVWW7?.G(2KA M(J%UC)YQCK'L?2$+F._VT#%[Y!_&[0Y/7<_RAIX)Y[;=<0D*X5W3N;3:IOL> MNK:K$C1TS3(:\0QE'E$P.[A,00U=2^7)ZGNFXPP'GF7W]PGHPK["1*"S!N[N MJ)S:?14SYL1VK@F7\J%27H:K"Q.?.Y1"#,]S#,J%ZSE6VR.T#4VTZMF.MQ$L M],WSKG5N]MLFK=H$=&6YYCY6R'))P$8?H9%M@`GL,AF./SR MGE[/6*-7._=BQ`2/V93##FZ_T<:AEIDL#08#:CNPLS($V`%(J90KN#@@)36/ M!\WDA!86W(?:7*0U05,&TP5(,U+NRU5TVO<>@/]S$6O^-V,OQ`&_ MR/^:C_G?8:/1+/C?:TC!_PK^5_"_@O\5_.\[\[]_I'GXCBH4GT41#YAHK=E: M&?"5C&4K)U38#.3RA.B;VK0(Y7^9)"(E*7CBB\J:_U5Q<(RK:IJGW]8&\;^C MY_E?0V\VB/\=Z/H[O7YT2/SO\*!>\+_7D&UL$ZOB@YAD+&&6"!&.(HX-2V*C MH->9WLKL;&C;U(\"/F;S2-*WJDP`FP:I\X7$5J2H!SZD+7B9,&0NO=!/$Y&, M)?A1B#I(SR#FM\A?D%T`M9P,/.,L,9>C,!&;SS4MM]C2B'4H<]'OJ48NHC.C M.7H]P>X%D3\#'XEAMB*1ZB"EA+JV\G$JT,ML$=U<+!;5C;_'OW.]T5=H8D!X MDN*`I0%0@ZT@OZ)>B.<&62B;4ZN5.:.EK`5)S.$N9,!PG$`I2F[#N(4-3XC[ M)`U:)22O*8MO.;$RJ""'GF/O7Z*V\--P)C&M<1!QD9%@HN6*D&79!8$S0=/\ M.6/U%JP3IM`#\B4++!RS($"&MZ0+%R+?7LE_5G1X2!MRO\4R@]1;_P)Q,TV- MQVC;G\G4]);C!,/P!)00-REA=27.`AR=I#1C_BAudit-Trail: >Unformatted: From owner-freebsd-bugs Wed Oct 16 11:30:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA23940 for bugs-outgoing; Wed, 16 Oct 1996 11:30:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA23932; Wed, 16 Oct 1996 11:30:01 -0700 (PDT) Date: Wed, 16 Oct 1996 11:30:01 -0700 (PDT) Message-Id: <199610161830.LAA23932@freefall.freebsd.org> To: freebsd-bugs Cc: From: se@mi.uni-koeln.de (Stefan Esser) Subject: Re: kern/1819: RTL8029 PCI Ethernet Card support, PCI NE2000 clone Reply-To: se@mi.uni-koeln.de (Stefan Esser) Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/1819; it has been noted by GNATS. From: se@mi.uni-koeln.de (Stefan Esser) To: den@baga.tsk.ru Cc: freebsd-gnats-submit@freebsd.org Subject: Re: kern/1819: RTL8029 PCI Ethernet Card support, PCI NE2000 clone Date: Wed, 16 Oct 1996 19:38:50 +0200 den@baga.tsk.ru writes: > > >Number: 1819 > >Category: kern > >Synopsis: RTL8029 PCI Ethernet Card support, PCI NE2000 clone > >Release: 2.1.0 > >Description: > Is an any way to use this PCI Ethernet card (RTL8029) with FreeBSD. > And when PCNet AMD cards will be supported They are supported for quite some time, but their autoconfigure features will never be supported under 2.1.0 ... I can provide you with information on how to make both the RTL8029 (using the "de" driver) and the AMD PCnet/PCI (as a "lnc") work under 2.1.0R, but you may want to consider upgrading to a more recent release where they work out of the box. Regards, STefan From owner-freebsd-bugs Wed Oct 16 16:40:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA15603 for bugs-outgoing; Wed, 16 Oct 1996 16:40:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA15577; Wed, 16 Oct 1996 16:40:03 -0700 (PDT) Resent-Date: Wed, 16 Oct 1996 16:40:03 -0700 (PDT) Resent-Message-Id: <199610162340.QAA15577@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, karl@mcs.net Received: from Codebase.mcs.net (codebase.mcs.net [192.160.127.89]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA15521 for ; Wed, 16 Oct 1996 16:39:31 -0700 (PDT) Received: (from root@localhost) by Codebase.mcs.net (8.7.6/8.6.12) id SAA02876; Wed, 16 Oct 1996 18:39:30 -0500 (CDT) Message-Id: <199610162339.SAA02876@Codebase.mcs.net> Date: Wed, 16 Oct 1996 18:39:30 -0500 (CDT) From: karl@mcs.net Reply-To: karl@mcs.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1826: Bug in libc/gen/getcwd.c - null missing on end of string Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1826 >Category: bin >Synopsis: A null byte is not being added on the end of current directory >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 16:40:01 PDT 1996 >Last-Modified: >Originator: Karl >Organization: MCSNet >Release: FreeBSD 2.2-961004-SNAP i386 >Environment: libc.so problem; present in 2.2-961004-SNAP and likely up to now >Description: The getcwd() routine builds a string of parent directories (ie: "../") as it walks up the directory structure. When the "/" is added on, a null is not -- the buffer is malloc'd and as such is NOT guaranteed to be full of nulls! We should guarantee that the string being opened (opendir()) is in fact null terminated. >How-To-Repeat: Instrument getcwd() and trace what it tries to open under all conditions. You'll see random buffer data present. >Fix: Index: getcwd.c =================================================================== RCS file: /usr/cvs/src/lib/libc/gen/getcwd.c,v retrieving revision 1.6 diff -r1.6 getcwd.c 156a157 > *bup = 0; /* KSD 10/16/96 - Null was missing here ! */ -- Karl Denninger karl@mcs.net >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Oct 16 17:41:14 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA19045 for bugs-outgoing; Wed, 16 Oct 1996 17:41:14 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA19029; Wed, 16 Oct 1996 17:41:10 -0700 (PDT) Date: Wed, 16 Oct 1996 17:41:10 -0700 (PDT) From: Peter Wemm Message-Id: <199610170041.RAA19029@freefall.freebsd.org> To: karl@mcs.net, peter, freebsd-bugs Subject: Re: bin/1826 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: A null byte is not being added on the end of current directory State-Changed-From-To: open-closed State-Changed-By: peter State-Changed-When: Wed Oct 16 17:40:21 PDT 1996 State-Changed-Why: EEEK! Thanks!! Fix applied in rev 1.7 of libc/gen/opendir.c From owner-freebsd-bugs Wed Oct 16 19:42:36 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA25715 for bugs-outgoing; Wed, 16 Oct 1996 19:42:36 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA25704; Wed, 16 Oct 1996 19:42:31 -0700 (PDT) Date: Wed, 16 Oct 1996 19:42:31 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199610170242.TAA25704@freefall.freebsd.org> To: luigi@iet.unipi.it, jkh, freebsd-bugs Subject: Re: misc/1745 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Installing packages hangs after 1st package State-Changed-From-To: open-closed State-Changed-By: jkh State-Changed-When: Wed Oct 16 19:42:12 PDT 1996 State-Changed-Why: Got this one - thanks! From owner-freebsd-bugs Wed Oct 16 20:20:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28453 for bugs-outgoing; Wed, 16 Oct 1996 20:20:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28446; Wed, 16 Oct 1996 20:20:04 -0700 (PDT) Resent-Date: Wed, 16 Oct 1996 20:20:04 -0700 (PDT) Resent-Message-Id: <199610170320.UAA28446@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, louie@TransSys.COM Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA28257 for ; Wed, 16 Oct 1996 20:17:16 -0700 (PDT) Received: (from louie@localhost) by whizzo.transsys.com (8.7.6/8.7.3) id XAA21850; Wed, 16 Oct 1996 23:17:11 -0400 (EDT) Message-Id: <199610170317.XAA21850@whizzo.transsys.com> Date: Wed, 16 Oct 1996 23:17:11 -0400 (EDT) From: "Louis A. Mamakos"louie@TransSys.COM Reply-To: louie@TransSys.COM To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1827: support of Glidepoint trackpad for moused Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1827 >Category: bin >Synopsis: add support of Glidepoint trackpad "tap/drag" to moused >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 20:20:02 PDT 1996 >Last-Modified: >Originator: Louis Mamakos >Organization: part-time freebsd hacker >Release: FreeBSD 2.2-CURRENT i386 >Environment: XFree86, with Glidepoint Trackpad pointing device, or Glidepoint Trackpad keyboard with integral pointing device. >Description: The Glidepoint pointing device, available from Alps and other vendors is compatible with a PS/2 mouse. Unlike a mouse or a trackball, you move your finger around on a rectangular a surface which causes pointing device motion. The device is also equipped (depending on the model and manufacturer) two or three mouse buttons. Additionally, the user can "tap" the pointing surface. The Trackpad pointing device has a "tap" and "drag" feature where a tap gesture is reported to the driver and should be interpreted as a single click of the left button. A "double-tap and drag" should be treated as moving the pointing device with the left button held down. It's much nicer to use than to describe... I reverse engineered this behavior of the device a while ago, and made similar modifications to the XFree86 server. No proprietary or confidential information was obtained from the manufacturer. Also, please note that moused requires the use of the non-blocking version of the mouse device. For the PS/2 driver, this requires having MINOR(dev)==0 rather than 1 as it is now. I hestitate to modify the MAKEDEV script as this would break existing users of /dev/psm0. My /dev looks like this: crw------- 1 root wheel 21, 1 Oct 16 22:26 /dev/npsm0 crw------- 1 root wheel 21, 0 Oct 16 22:26 /dev/psm0 where moused would use /dev/psm0, and the X server (while not using moused) would use /dev/npsm0. Also, the moused usage message can be automatically generated rather than hardcoded. >How-To-Repeat: Own one of these things, and wonder why it works so much better in Windows than under X. >Fix: Apply these diffs to moused(8), and the sysconfig script: --- /usr/src/usr.sbin/moused/moused.c Thu Sep 26 23:38:48 1996 +++ moused.c Wed Oct 16 22:30:25 1996 @@ -72,6 +72,7 @@ #define R_LOGIMAN 6 #define R_PS_2 7 #define R_MMHITAB 8 +#define R_GLIDEPOINT 9 char *rnames[] = { "xxx", @@ -83,6 +84,7 @@ "mouseman", "ps/2", "mmhitab", + "glidepoint", NULL }; @@ -97,6 +99,7 @@ (CS7 | CREAD | CLOCAL | HUPCL ), /* MouseMan */ 0, /* PS/2 */ (CS8 | CREAD | CLOCAL | HUPCL ), /* MMHitTablet */ + 0, /* Glidepoint */ }; @@ -215,6 +218,7 @@ rodent.portname = "/dev/mse0"; break; case R_PS_2: + case R_GLIDEPOINT: if (!rodent.portname) rodent.portname = "/dev/psm0"; break; @@ -273,6 +277,8 @@ void usage(void) { + int i; + fprintf(stderr, " Usage is %s [options] -p -t \n" " Options are -s Select 9600 baud mouse.\n" @@ -283,15 +289,10 @@ " -D Lower DTR\n" " -S baud Select explicit baud (1200..9600).\n" " should be one of :\n" - " microsoft\n" - " mousesystems\n" - " mmseries\n" - " logitech\n" - " busmouse\n" - " mouseman\n" - " ps/2\n" - " mmhittab\n" ,progname); + + for (i = 1; rnames[i]; i++) + fprintf(stderr, " %s\n", rnames[i]); exit(1); } @@ -392,7 +393,8 @@ write(rodent.mfd, "*X", 2); setmousespeed(1200, rodent.baudrate, rodentcflags[R_LOGIMAN]); } else { - if ((rodent.rtype != R_BUSMOUSE) && (rodent.rtype != R_PS_2)) + if ((rodent.rtype != R_BUSMOUSE) && (rodent.rtype != R_PS_2) + && (rodent.rtype != R_GLIDEPOINT)) { /* try all likely settings */ setmousespeed(9600, rodent.baudrate, rodentcflags[rodent.rtype]); @@ -482,6 +484,7 @@ { 0x40, 0x40, 0x40, 0x00, 3 }, /* MouseMan */ { 0xc0, 0x00, 0x00, 0x00, 3 }, /* PS/2 mouse */ { 0xe0, 0x80, 0x80, 0x00, 3 }, /* MM_HitTablet */ + { 0xc0, 0x00, 0x00, 0x00, 3 }, /* glidepoint */ }; debug("received char 0x%x",(int)rBuf); @@ -603,6 +606,16 @@ act.buttons = (pBuf[0] & 0x04) >> 1 | /* Middle */ (pBuf[0] & 0x02) >> 1 | /* Right */ (pBuf[0] & 0x01) << 2; /* Left */ + act.dx = (pBuf[0] & 0x10) ? pBuf[1]-256 : pBuf[1]; + act.dy = (pBuf[0] & 0x20) ? -(pBuf[2]-256) : -pBuf[2]; + break; + + case R_GLIDEPOINT: /* Glidepoint */ + act.buttons = ((pBuf[0] & 0x04) ? MIDDLE_BUTTON : 0) | + ((pBuf[0] & 0x02) ? RIGHT_BUTTON : 0) | + (((pBuf[0] & 0x01) || + ((pBuf[0] & 0x08) == 0)) ? LEFT_BUTTON : 0); + act.dx = (pBuf[0] & 0x10) ? pBuf[1]-256 : pBuf[1]; act.dy = (pBuf[0] & 0x20) ? -(pBuf[2]-256) : -pBuf[2]; break; *** /usr/src/etc/sysconfig Thu Sep 26 23:16:37 1996 --- sysconfig Wed Oct 16 22:59:25 1996 *************** *** 47,53 **** saver=NO # Set to ! # {microsoft|mousesystems|mmseries|logitech|busmouse|mouseman|ps/2|mmhittab} # to activate system mouse cursor support (or NO for none) # Use 'vidcontrol -m on' command to activate it on particular screen mousedtype=NO --- 47,53 ---- saver=NO # Set to ! # {microsoft|mousesystems|mmseries|logitech|busmouse|mouseman|ps/2|mmhittab|glidepoint} # to activate system mouse cursor support (or NO for none) # Use 'vidcontrol -m on' command to activate it on particular screen mousedtype=NO >Audit-Trail: >Unformatted: From owner-freebsd-bugs Wed Oct 16 22:10:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA04355 for bugs-outgoing; Wed, 16 Oct 1996 22:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA04349; Wed, 16 Oct 1996 22:10:02 -0700 (PDT) Resent-Date: Wed, 16 Oct 1996 22:10:02 -0700 (PDT) Resent-Message-Id: <199610170510.WAA04349@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, kallio@silmu.cc.jyu.fi Received: from silmu.cc.jyu.fi (root@silmu.cc.jyu.fi [130.234.40.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA04302 for ; Wed, 16 Oct 1996 22:09:04 -0700 (PDT) Received: (from kallio@localhost) by silmu.cc.jyu.fi (8.7.5/8.6.12) id IAA26187; Thu, 17 Oct 1996 08:09:02 +0300 (EET DST) Message-Id: <199610170509.IAA26187@silmu.cc.jyu.fi> Date: Thu, 17 Oct 1996 08:09:02 +0300 (EET DST) From: Seppo Kallio Reply-To: kallio@silmu.cc.jyu.fi To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1828: limit filesize does not work Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1828 >Category: kern >Synopsis: limit filesize does not work >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 22:10:01 PDT 1996 >Last-Modified: >Originator: Seppo Kallio >Organization: U of Jyväskylä >Release: FreeBSD 2.1.5 >Environment: >Description: limit filesize has no effect in /etc/csh.login, /etc/csh.cshrc Using tcsh. Works if limit is given by user in the shell >How-To-Repeat: 8:02am@silmu:~% limit cputime 1:00:00 filesize unlimited datasize 8192 kbytes stacksize 8192 kbytes coredumpsize 0 kbytes memoryuse 8192 kbytes descriptors 64 memorylocked 41545 kbytes maxproc 40 8:02am@silmu:~% grep limit /etc/csh.* .login .cshrc /etc/csh.cshrc: limit datasize 8m # memory: data + stack /etc/csh.cshrc: limit memoryuse 8m # max virtual memory /etc/csh.cshrc: limit stacksize 8m # stack size /etc/csh.cshrc: limit filesize 10000 /etc/csh.cshrc: limit -h filesize 20000 /etc/csh.cshrc: limit coredumpsize 0 # max core /etc/csh.cshrc: limit cputime 1h # 1 hour /etc/csh.cshrc: limit -h datasize 8m # /etc/csh.cshrc: limit -h cputime 2h /etc/csh.login:limit filesize 10000 grep: .login: No such file or directory 8:03am@silmu:~% limit filesize 10m 8:03am@silmu:~% limit cputime 1:00:00 filesize 10240 kbytes datasize 8192 kbytes stacksize 8192 kbytes coredumpsize 0 kbytes memoryuse 8192 kbytes descriptors 64 memorylocked 41545 kbytes maxproc 40 8:03am@silmu:~% >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Oct 17 01:10:12 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA14172 for bugs-outgoing; Thu, 17 Oct 1996 01:10:12 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA14144; Thu, 17 Oct 1996 01:10:04 -0700 (PDT) Resent-Date: Thu, 17 Oct 1996 01:10:04 -0700 (PDT) Resent-Message-Id: <199610170810.BAA14144@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, akiyama@kme.mei.co.jp Received: from vcgate1.mei.co.jp (vcgate1.mei.co.jp [202.32.14.51]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA13809 for ; Thu, 17 Oct 1996 01:04:47 -0700 (PDT) Received: by vcgate1.mei.co.jp (5.65mei1.2g/5.9:4.9:vcgate0:960909) id AA24039; Thu, 17 Oct 96 17:04:33 +0900 Received: by vcmei.vanc.mei.co.jp (5.65mei1.1/5.9:4.9:vcmei:961015) id AA22735; Thu, 17 Oct 96 17:04:32 +0900 Received: by kmegate.kme.mei.co.jp (4.1/5.5:4.6:kmegate:960604) id AA09947; Thu, 17 Oct 96 16:43:31 JST Message-Id: <9610170743.AA09947@kmegate.kme.mei.co.jp> Date: Thu, 17 Oct 96 16:43:31 JST From: akiyama@kme.mei.co.jp Reply-To: akiyama@kme.mei.co.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1829: KONICA MO drive configured multiply. Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1829 >Category: kern >Synopsis: KONICA MO drive configured multiply. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 17 01:10:02 PDT 1996 >Last-Modified: >Originator: Shunsuke Akiyama >Organization: Kyushu Matsushita Electric Co., Ltd. >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: All 2.1.5-RELEASE systems configured with od. >Description: SCSI known device table has wrong optical disk entries. Therefor device probing to generic optical disk drive always cause full LUN scanning. Some ODD that can not handle LUN correctly was misconfigured. (Configured multiply, like od0, od1, ..., od7) eg. KONICA 3.5in 230MB MO drive. ("KONICA OMD-6020 2.09") >How-To-Repeat: Everytime when system booting up. >Fix: This patch fix the problem. =================================================================== RCS file: sys/scsi/RCS/scsiconf.c,v retrieving revision 1.30.4.9 retrieving revision 1.30.4.9.1.1 diff -u -r1.30.4.9 -r1.30.4.9.1.1 --- sys/scsi/scsiconf.c 1996/06/28 16:59:47 1.30.4.9 +++ sys/scsi/scsiconf.c 1996/09/05 14:56:30 1.30.4.9.1.1 @@ -330,17 +330,17 @@ /* od's must be probed before sd's since some of them identify as T_DIRECT */ #if NOD > 0 { - T_OPTICAL, T_REMOV, "MATSHITA", "PD-1 LF-1000", "*", - "od", SC_MORE_LUS + T_OPTICAL, T_REMOV, "standard", "any" + ,"any", "od", SC_ONE_LU }, - /* See comments under NEW_SCSICONF above. */ { - T_OPTICAL, T_REMOV, "SONY", "SMO-*", "*", - "od", SC_MORE_LUS + T_OPTICAL, T_REMOV, "MATSHITA", "PD-1 LF-1000" + ,"any", "od", SC_MORE_LUS }, + /* See comments under NEW_SCSICONF above. */ { - T_OPTICAL, T_REMOV, "*", "*", "*", - "od", SC_ONE_LU + T_OPTICAL, T_REMOV, "SONY", "SMO-C501-09" + ,"*", "od", SC_MORE_LUS }, #endif /* NOD */ #if NSD > 0 >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Oct 17 02:20:08 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA18834 for bugs-outgoing; Thu, 17 Oct 1996 02:20:08 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA18801; Thu, 17 Oct 1996 02:20:05 -0700 (PDT) Resent-Date: Thu, 17 Oct 1996 02:20:05 -0700 (PDT) Resent-Message-Id: <199610170920.CAA18801@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, akiyama@kme.mei.co.jp Received: from vcgate1.mei.co.jp (vcgate1.mei.co.jp [202.32.14.51]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA18637 for ; Thu, 17 Oct 1996 02:17:13 -0700 (PDT) Received: by vcgate1.mei.co.jp (5.65mei1.2g/5.9:4.9:vcgate0:960909) id AA03599; Thu, 17 Oct 96 18:17:09 +0900 Received: by vcmei.vanc.mei.co.jp (5.65mei1.1/5.9:4.9:vcmei:961015) id AA22742; Thu, 17 Oct 96 17:04:34 +0900 Received: by kmegate.kme.mei.co.jp (4.1/5.5:4.6:kmegate:960604) id AA09955; Thu, 17 Oct 96 16:44:01 JST Message-Id: <9610170744.AA09955@kmegate.kme.mei.co.jp> Date: Thu, 17 Oct 96 16:44:01 JST From: akiyama@kme.mei.co.jp Reply-To: akiyama@kme.mei.co.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1830: Can't mount optical disk, after different size media was unmounted. Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1830 >Category: kern >Synopsis: Can't mount optical disk, after different size media was unmounted. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 17 02:20:02 PDT 1996 >Last-Modified: >Originator: Shunsuke Akiyama >Organization: Kyushu Matsushita Electric Co., Ltd. >Release: FreeBSD 2.2-961006-SNAP i386 >Environment: All 2.2-961006-SNAP or later systems configured with od. >Description: Modification from previous revision of "sys/scsi/od.c" disables detecting media changing. Therefor the driver never replace on-core disklabel even if another media is loaded. Then mounting media which have different disklabel from previous mounted one. >How-To-Repeat: Mount an optical disk media. Then unmount and eject it. Mount another optical disk media which disklabel is different from previous mounted media in size. >Fix: This patch fix the problem. =================================================================== RCS file: sys/scsi/RCS/od.c,v retrieving revision 1.22 retrieving revision 1.22.1.1 diff -u -r1.22 -r1.22.1.1 --- sys/scsi/od.c 1996/09/06 23:09:11 1.22 +++ sys/scsi/od.c 1996/10/13 07:39:55 1.22.1.1 @@ -309,18 +309,18 @@ dev, unit, PARTITION(dev))); /* - * Try to start the drive (ignore failure). + * Try to start the drive, and try to clear "Unit Attention" + * condition, when media had been changed before. + * This operation also clears the SDEV_MEDIA_LOADED flag in its + * error handling routine. */ - scsi_start_unit(sc_link, SCSI_ERR_OK | SCSI_SILENT); + scsi_start_unit(sc_link, SCSI_SILENT); scsi_prevent(sc_link, PR_PREVENT, SCSI_ERR_OK | SCSI_SILENT); /* - * Try to clear "Unit Attention" condition, when media had - * been changed before. - * This operation also clears the SDEV_MEDIA_LOADED flag in its - * error handling routine. + * Make sure the drive is ready. */ - scsi_test_unit_ready(sc_link, SCSI_SILENT); + scsi_test_unit_ready(sc_link, 0); SC_DEBUG(sc_link, SDEV_DB3, ("'start' attempted ")); @@ -361,9 +361,7 @@ switch (od->params.secsiz) { case SECSIZE : case 1024 : -#ifdef notyet case 2048 : -#endif break; default : printf("od%ld: Can't deal with %d bytes logical blocks\n", @@ -962,5 +960,3 @@ } SYSINIT(oddev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,od_drvinit,NULL) - - >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Oct 17 10:26:00 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14032 for bugs-outgoing; Thu, 17 Oct 1996 10:26:00 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14014; Thu, 17 Oct 1996 10:25:57 -0700 (PDT) Date: Thu, 17 Oct 1996 10:25:57 -0700 (PDT) From: Paul Traina Message-Id: <199610171725.KAA14014@freefall.freebsd.org> To: ac199@freenet.hamilton.on.ca, pst, freebsd-bugs Subject: Re: misc/1780 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: fortune misspelling State-Changed-From-To: open-closed State-Changed-By: pst State-Changed-When: Thu Oct 17 10:25:25 PDT 1996 State-Changed-Why: We don't mess with artistic license. Sorry. :-) From owner-freebsd-bugs Thu Oct 17 10:27:47 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14180 for bugs-outgoing; Thu, 17 Oct 1996 10:27:47 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14159; Thu, 17 Oct 1996 10:27:44 -0700 (PDT) Date: Thu, 17 Oct 1996 10:27:44 -0700 (PDT) From: Paul Traina Message-Id: <199610171727.KAA14159@freefall.freebsd.org> To: pst, freebsd-bugs, pst Subject: Re: misc/1820 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Emacs Meta-Key doesn't work in non-x11-mode Responsible-Changed-From-To: freebsd-bugs->pst Responsible-Changed-By: pst Responsible-Changed-When: Thu Oct 17 10:27:15 PDT 1996 Responsible-Changed-Why: I'm merging in other stuff from X11 R6.1's termcap anyway... From owner-freebsd-bugs Thu Oct 17 10:30:38 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14511 for bugs-outgoing; Thu, 17 Oct 1996 10:30:38 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14498; Thu, 17 Oct 1996 10:30:37 -0700 (PDT) Date: Thu, 17 Oct 1996 10:30:37 -0700 (PDT) From: Paul Traina Message-Id: <199610171730.KAA14498@freefall.freebsd.org> To: pst, freebsd-bugs, pst Subject: Re: bin/1789 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: dump estimates a negative number of tapes needed for huge dumps Responsible-Changed-From-To: freebsd-bugs->pst Responsible-Changed-By: pst Responsible-Changed-When: Thu Oct 17 10:30:18 PDT 1996 Responsible-Changed-Why: I'll fix it. From owner-freebsd-bugs Thu Oct 17 10:31:19 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14622 for bugs-outgoing; Thu, 17 Oct 1996 10:31:19 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14606; Thu, 17 Oct 1996 10:31:17 -0700 (PDT) Date: Thu, 17 Oct 1996 10:31:17 -0700 (PDT) From: Paul Traina Message-Id: <199610171731.KAA14606@freefall.freebsd.org> To: pst, freebsd-bugs, pst Subject: Re: kern/1788 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: netstat gives negative numbers for tcp bytes transferred Responsible-Changed-From-To: freebsd-bugs->pst Responsible-Changed-By: pst Responsible-Changed-When: Thu Oct 17 10:31:02 PDT 1996 Responsible-Changed-Why: I'll fix it. From owner-freebsd-bugs Thu Oct 17 10:31:46 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14743 for bugs-outgoing; Thu, 17 Oct 1996 10:31:46 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14724; Thu, 17 Oct 1996 10:31:44 -0700 (PDT) Date: Thu, 17 Oct 1996 10:31:44 -0700 (PDT) From: Paul Traina Message-Id: <199610171731.KAA14724@freefall.freebsd.org> To: pst, freebsd-bugs, dyson Subject: Re: kern/1812 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: vnodes are left in a locked state Responsible-Changed-From-To: freebsd-bugs->dyson Responsible-Changed-By: pst Responsible-Changed-When: Thu Oct 17 10:31:28 PDT 1996 Responsible-Changed-Why: John's area. From owner-freebsd-bugs Thu Oct 17 10:32:54 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14949 for bugs-outgoing; Thu, 17 Oct 1996 10:32:54 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA14933; Thu, 17 Oct 1996 10:32:52 -0700 (PDT) Date: Thu, 17 Oct 1996 10:32:52 -0700 (PDT) From: Paul Traina Message-Id: <199610171732.KAA14933@freefall.freebsd.org> To: pst, freebsd-bugs, pst Subject: Re: bin/1774 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: telnet spins when killed before network is closed Responsible-Changed-From-To: freebsd-bugs->pst Responsible-Changed-By: pst Responsible-Changed-When: Thu Oct 17 10:32:24 PDT 1996 Responsible-Changed-Why: I'll look at this, I've never seen a similar report before, which seems very strange. :-( . From owner-freebsd-bugs Thu Oct 17 10:40:46 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA15543 for bugs-outgoing; Thu, 17 Oct 1996 10:40:46 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA15524; Thu, 17 Oct 1996 10:40:43 -0700 (PDT) Date: Thu, 17 Oct 1996 10:40:43 -0700 (PDT) From: Paul Traina Message-Id: <199610171740.KAA15524@freefall.freebsd.org> To: pst, freebsd-bugs, sos Subject: Re: kern/1811 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Patch to correct rows/columns for syscons Responsible-Changed-From-To: freebsd-bugs->sos Responsible-Changed-By: pst Responsible-Changed-When: Thu Oct 17 10:35:55 PDT 1996 Responsible-Changed-Why: It's Soren's area From owner-freebsd-bugs Thu Oct 17 18:30:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA15450 for bugs-outgoing; Thu, 17 Oct 1996 18:30:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA15443; Thu, 17 Oct 1996 18:30:03 -0700 (PDT) Resent-Date: Thu, 17 Oct 1996 18:30:03 -0700 (PDT) Resent-Message-Id: <199610180130.SAA15443@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, candy@fct.kgc.co.jp Received: from mail0.iij.ad.jp (root@mail0.iij.ad.jp [192.244.176.61]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA15111 for ; Thu, 17 Oct 1996 18:24:32 -0700 (PDT) Received: from uucp1.iij.ad.jp (uucp1.iij.ad.jp [192.244.176.73]) by mail0.iij.ad.jp (8.6.12+2.4W/3.3W9-MAIL) with ESMTP id KAA09788 for ; Fri, 18 Oct 1996 10:24:28 +0900 Received: (from uucp@localhost) by uucp1.iij.ad.jp (8.6.12+2.4W/3.3W9-UUCP) with UUCP id KAA05289 for FreeBSD-gnats-submit@freebsd.org; Fri, 18 Oct 1996 10:24:28 +0900 Received: from xxx.fct.kgc.co.jp by yyy.kgc.co.jp (8.7.5/3.4W4:96080715) id JAA07438; Fri, 18 Oct 1996 09:44:52 +0900 (JST) Received: by xxx.fct.kgc.co.jp (8.7.5/3.3W8:95062916) id JAA07542; Fri, 18 Oct 1996 09:42:51 +0900 (JST) Message-Id: <199610180042.JAA07542@xxx.fct.kgc.co.jp> Date: Fri, 18 Oct 1996 09:42:51 +0900 (JST) From: Toshihiro Kanda Reply-To: candy@fct.kgc.co.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1832: at(1) fails Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1832 >Category: bin >Synopsis: at(1) fails. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 17 18:30:02 PDT 1996 >Last-Modified: >Originator: Toshihiro Kanda >Organization: Keisoku Giken corp. >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: FreeBSD 2.1.5-R, 960501-SNAP >Description: At(1) cannot open `at.deny'. Make install in /usr/src/usr.bin/at won't fix it. >How-To-Repeat: bash$ at at.deny: No such file or directory You do not have permission to use at. bash$ >Fix: I suggest /etc/mtree/BSD.var.dist should have more informations of /var/at/*. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Thu Oct 17 20:48:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA21268 for bugs-outgoing; Thu, 17 Oct 1996 20:48:07 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA21251; Thu, 17 Oct 1996 20:48:04 -0700 (PDT) Date: Thu, 17 Oct 1996 20:48:04 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199610180348.UAA21251@freefall.freebsd.org> To: pjchilds@imforei.apana.org.au, jkh, freebsd-bugs Subject: Re: bin/1825 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: more iijppp fixes/samples State-Changed-From-To: open-closed State-Changed-By: jkh State-Changed-When: Thu Oct 17 20:46:40 PDT 1996 State-Changed-Why: Suggestions adopted, thanks! From owner-freebsd-bugs Fri Oct 18 01:00:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA04555 for bugs-outgoing; Fri, 18 Oct 1996 01:00:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA04537; Fri, 18 Oct 1996 01:00:02 -0700 (PDT) Date: Fri, 18 Oct 1996 01:00:02 -0700 (PDT) Message-Id: <199610180800.BAA04537@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: bin/1832: at(1) fails Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1832; it has been noted by GNATS. From: J Wunsch To: candy@fct.kgc.co.jp Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/1832: at(1) fails Date: Fri, 18 Oct 1996 09:40:02 +0200 (MET DST) As Toshihiro Kanda wrote: > At(1) cannot open `at.deny'. Make install in /usr/src/usr.bin/at > won't fix it. This is not a bug, it's basically security restriction. If you want to losen this restriction locally, so do it. The procedure about at.deny and at.allow is explained in detail in the man page at(1). > bash$ at > at.deny: No such file or directory > You do not have permission to use at. So ask your system administrator about how you will get permission. :) It's his job. On my systems, i usually pick the `at.allow' route, i.e. i explicitly allow the use of `at' for trusted people. So you can see, these files are constituing a security policy, thus it's nothing we could provide in the default distribution. > I suggest /etc/mtree/BSD.var.dist should have more informations > of /var/at/*. BSD.var.dist does only have information about directories, not files therein. The required directories under /var/at are being created by it already. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Fri Oct 18 05:10:02 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA18348 for bugs-outgoing; Fri, 18 Oct 1996 05:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA18342; Fri, 18 Oct 1996 05:10:01 -0700 (PDT) Resent-Date: Fri, 18 Oct 1996 05:10:01 -0700 (PDT) Resent-Message-Id: <199610181210.FAA18342@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received: (from nobody@localhost)by.freefall.freebsd.org.id.FAA18299;Fri; (8.7.5/8.7.3);, 18 Oct 1996 05:09:13.-0700 (PDT) Message-Id: <199610181209.FAA18299@freefall.freebsd.org> Date: Fri, 18 Oct 1996 05:09:13 -0700 (PDT) From: koshy@india.hp.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/1833: Hack rumors file not installed -- FIX enclosed. Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1833 >Category: bin >Synopsis: Hack rumors file not installed -- FIX enclosed. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 18 05:10:00 PDT 1996 >Last-Modified: >Originator: Joseph Koshy >Organization: >Release: 2.2-CURRENT as of 14th October 1996. >Environment: FreeBSD krill.india.hp.com 2.2-CURRENT FreeBSD 2.2-CURRENT #0: \ Wed Sep 18 15:47:23 IST 1996 root@krill.india.hp.com:/usr/src/sys/compile/KRILL i386 >Description: The hack rumors file isn't installed and as a consequence fortune cookies tend to be a trifle bland. A fix to the Makefile is enclosed. >How-To-Repeat: Play hack. Eat a fortune cookie. >Fix: Here is a diff to the -current Makefile that will install the rumors file: krill# cvs diff -c Makefile Index: Makefile =================================================================== RCS file: /usr/cvs/src/games/hack/Makefile,v retrieving revision 1.6 diff -c -r1.6 Makefile *** Makefile 1996/05/15 16:54:04 1.6 --- Makefile 1996/10/18 12:27:48 *************** *** 33,38 **** --- 33,40 ---- ${DESTDIR}/var/games/hackdir/perm ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 666 /dev/null \ ${DESTDIR}/var/games/hackdir/record + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 666 ${.CURDIR}/rumors \ + ${DESTDIR}/var/games/hackdir/rumors ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/help \ ${.CURDIR}/hh ${.CURDIR}/data ${DESTDIR}/var/games/hackdir rm -f ${DESTDIR}/var/games/hackdir/bones* >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Oct 18 07:20:11 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA25430 for bugs-outgoing; Fri, 18 Oct 1996 07:20:11 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA25410; Fri, 18 Oct 1996 07:20:07 -0700 (PDT) Resent-Date: Fri, 18 Oct 1996 07:20:07 -0700 (PDT) Resent-Message-Id: <199610181420.HAA25410@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jhs@freebsd.org Received: from vector.jhs.no_domain (slip139-92-42-60.ut.nl.ibm.net [139.92.42.60]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA24638; Fri, 18 Oct 1996 07:12:13 -0700 (PDT) Received: (from jhs@localhost) by vector.jhs.no_domain (8.7.5/8.6.9) id PAA04602; Wed, 16 Oct 1996 15:42:11 +0100 (MET) Message-Id: <199610161442.PAA04602@vector.jhs.no_domain> Date: Wed, 16 Oct 1996 15:42:11 +0100 (MET) From: jhs@freebsd.org Reply-To: jhs@freebsd.org To: FreeBSD-gnats-submit@freebsd.org Cc: jhs@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/1835: send-pr: make it easier for people Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1835 >Category: gnu >Synopsis: send-pr Category line is obscure >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 18 07:20:05 PDT 1996 >Last-Modified: >Originator: Julian Stacey jhs@freebsd.org >Organization: Julian Stacey jhs@freebsd.org >Release: FreeBSD 2.2-CURRENT i386 >Environment: current >Description: Using send-pr, reading line 28, it just says Problem category (as listed above) either make that Problem category (as listed about 18 lines above) or Problem category (bin conf docs gnu i386 kern misc ports) or Problem category (as listed by send-pr -L) >How-To-Repeat: Use send-pr >Fix: patch follows: *** old/src/gnu/usr.bin/send-pr/send-pr.sh Wed Oct 16 16:39:13 1996 --- new/src/gnu/usr.bin/send-pr/send-pr.sh Wed Oct 16 16:39:33 1996 *************** *** 237,243 **** SYNOPSIS_C='' SEVERITY_C='<[ non-critical | serious | critical ] (one line)>' PRIORITY_C='<[ low | medium | high ] (one line)>' ! CATEGORY_C='' CLASS_C='<[ sw-bug | doc-bug | change-request | support ] (one line)>' RELEASE_C='' ENVIRONMENT_C='' --- 237,243 ---- SYNOPSIS_C='' SEVERITY_C='<[ non-critical | serious | critical ] (one line)>' PRIORITY_C='<[ low | medium | high ] (one line)>' ! CATEGORY_C='' CLASS_C='<[ sw-bug | doc-bug | change-request | support ] (one line)>' RELEASE_C='' ENVIRONMENT_C='' >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Oct 18 07:20:18 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA25464 for bugs-outgoing; Fri, 18 Oct 1996 07:20:18 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA25436; Fri, 18 Oct 1996 07:20:12 -0700 (PDT) Resent-Date: Fri, 18 Oct 1996 07:20:12 -0700 (PDT) Resent-Message-Id: <199610181420.HAA25436@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jhs@freebsd.org Received: from vector.jhs.no_domain (slip139-92-42-60.ut.nl.ibm.net [139.92.42.60]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA24661; Fri, 18 Oct 1996 07:12:20 -0700 (PDT) Received: (from jhs@localhost) by vector.jhs.no_domain (8.7.5/8.6.9) id PAA04311; Wed, 16 Oct 1996 15:26:26 +0100 (MET) Message-Id: <199610161426.PAA04311@vector.jhs.no_domain> Date: Wed, 16 Oct 1996 15:26:26 +0100 (MET) From: jhs@freebsd.org Reply-To: jhs@freebsd.org To: FreeBSD-gnats-submit@freebsd.org Cc: jhs@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1836: /usr/src/*/routed/table.c: s/punt/abort/g Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1836 >Category: bin >Synopsis: Punt is american only, use abort. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 18 07:20:09 PDT 1996 >Last-Modified: >Originator: Julian Stacey jhs@freebsd.org >Organization: Julian Stacey jhs@freebsd.org >Release: FreeBSD 2.2-CURRENT i386 >Environment: Current >Description: Routed American not understandable in English. /usr/src/*/routed/table.c creates console messages like this: Oct 16 13:10:46 vector routed[63]: punt RTM_LOSING without gateway That's not English (I am :-) `punt' in the Penguin English Dictionary ('85-86) refers to a verb & noun: to punt (propel) a punt (flat bottom boat) on a river (or fen). `punt' in American (according to Jordan, years ago, so forgive any inaccuracy): to abandon or give up on something, or decline an invitation The message is obscure, a more globaly understandable word would be better, patch follows (feel free to choose a better American to global English translation than mine, I don't know what `punt' is except by hearsay, but `abort' is nearly as short :-) >How-To-Repeat: Run current, drop modem slip link >Fix: ========= *** old/src/sbin/routed/table.c Wed Oct 16 16:10:35 1996 --- new/src/sbin/routed/table.c Wed Oct 16 16:11:37 1996 *************** *** 281,287 **** NTOHL(dst); ! /* Punt non-contiguous subnet masks. * * (X & -X) contains a single bit if and only if X is a power of 2. * (X + (X & -X)) == 0 if and only if X is a power of 2. --- 281,287 ---- NTOHL(dst); ! /* Abort non-contiguous subnet masks. * * (X & -X) contains a single bit if and only if X is a power of 2. * (X + (X & -X)) == 0 if and only if X is a power of 2. *************** *** 831,844 **** } else if (INFO_MASK(info) != 0) { mask = ntohl(S_ADDR(INFO_MASK(info))); } else { ! msglog("punt %s without mask", rtm_type_name(rtm->rtm_type)); return; } if (INFO_GATE(info) == 0 || INFO_GATE(info)->sa_family != AF_INET) { ! msglog("punt %s without gateway", rtm_type_name(rtm->rtm_type)); return; } --- 831,844 ---- } else if (INFO_MASK(info) != 0) { mask = ntohl(S_ADDR(INFO_MASK(info))); } else { ! msglog("abort %s without mask", rtm_type_name(rtm->rtm_type)); return; } if (INFO_GATE(info) == 0 || INFO_GATE(info)->sa_family != AF_INET) { ! msglog("abort %s without gateway", rtm_type_name(rtm->rtm_type)); return; } *************** *** 916,922 **** { if (INFO_GATE(info) == 0 || INFO_GATE(info)->sa_family != AF_INET) { ! msglog("punt %s without gateway", rtm_type_name(rtm->rtm_type)); return; } --- 916,922 ---- { if (INFO_GATE(info) == 0 || INFO_GATE(info)->sa_family != AF_INET) { ! msglog("abort %s without gateway", rtm_type_name(rtm->rtm_type)); return; } ========= >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Oct 18 10:20:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA09044 for bugs-outgoing; Fri, 18 Oct 1996 10:20:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA09017; Fri, 18 Oct 1996 10:20:02 -0700 (PDT) Date: Fri, 18 Oct 1996 10:20:02 -0700 (PDT) Message-Id: <199610181720.KAA09017@freefall.freebsd.org> To: freebsd-bugs Cc: From: Bill Fenner Subject: Re: bin/1836: /usr/src/*/routed/table.c: s/punt/abort/g Reply-To: Bill Fenner Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/1836; it has been noted by GNATS. From: Bill Fenner To: jhs@freebsd.org Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/1836: /usr/src/*/routed/table.c: s/punt/abort/g Date: Fri, 18 Oct 1996 10:09:13 PDT I think "ignore" is what is really meant in all of these places. Bill From owner-freebsd-bugs Fri Oct 18 10:26:54 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA09687 for bugs-outgoing; Fri, 18 Oct 1996 10:26:54 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA09668; Fri, 18 Oct 1996 10:26:52 -0700 (PDT) Date: Fri, 18 Oct 1996 10:26:52 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610181726.KAA09668@freefall.freebsd.org> To: lkoeller@odie.physik2.uni-rostock.de, joerg, freebsd-bugs Subject: Re: bin/1785 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: vgrind works not as described in the man page! State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Fri Oct 18 19:25:57 MET DST 1996 State-Changed-Why: Believed to be fixed with the following respective file rev's: vgrind/vfontedpr.c 1.5 vgrind/vgrindefs.src 1.4 vgrind/regexp.c 1.4 From owner-freebsd-bugs Fri Oct 18 10:33:39 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA10244 for bugs-outgoing; Fri, 18 Oct 1996 10:33:39 -0700 (PDT) Received: from triinu.neti.ee (root@triinu.neti.ee [194.126.101.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA10234; Fri, 18 Oct 1996 10:33:29 -0700 (PDT) From: info@neti.ee Received: from neti.ee (kain@localhost [127.0.0.1]) by triinu.neti.ee (8.7.3/8.7.3/neti) with SMTP id TAA31270 for kain; Fri, 18 Oct 1996 19:23:52 -0400 Date: Fri, 18 Oct 1996 19:23:52 -0400 Message-Id: <199610182323.TAA31270@triinu.neti.ee> Apparently-To: kain@triinu.neti.ee Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Lugupeetud Interneti kasutaja. Viidame teie aega, et teadustada Eesti Interneti uuest navigeerimiskeskkonnast aadressil http://www.neti.ee/ Uus keskkond lubab ko~igil kasutajatel leida temaatilisest kataloogist ho~lbsasti vajalikke viiteid ning kasutada otsisu"steeme. Meie otsisu"steem ho~lmab praktiliselt ko~iki Eesti WWW infoleheku"lgi. Taoline su"steem on Eestis esmakordne. Vaata ise; http://www.neti.ee/ NETI Team. From owner-freebsd-bugs Fri Oct 18 10:46:58 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA11155 for bugs-outgoing; Fri, 18 Oct 1996 10:46:58 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA11142; Fri, 18 Oct 1996 10:46:57 -0700 (PDT) Date: Fri, 18 Oct 1996 10:46:57 -0700 (PDT) From: Paul Traina Message-Id: <199610181746.KAA11142@freefall.freebsd.org> To: jhs@freebsd.org, pst, freebsd-bugs Subject: Re: bin/1836 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Synopsis: Punt is american only, use abort. State-Changed-From-To: open-closed State-Changed-By: pst State-Changed-When: Fri Oct 18 10:46:12 PDT 1996 State-Changed-Why: Change request submitted to author. If he wants to do it, great, if he doesn't, we shouldn't be making these kinds of changes to 3rd party code. From owner-freebsd-bugs Fri Oct 18 13:22:55 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA21546 for bugs-outgoing; Fri, 18 Oct 1996 13:22:55 -0700 (PDT) Received: from jeeves.va.pubnix.com (jeeves.va.pubnix.com [199.170.214.66]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA21495; Fri, 18 Oct 1996 13:22:40 -0700 (PDT) Received: from arrow.va.pubnix.com by jeeves.va.pubnix.com with ESMTP id QAA06172; Fri, 18 Oct 1996 16:22:32 -0400 (EDT) Received: from arrow.va.pubnix.com by arrow.va.pubnix.com with ESMTP id QAA01789; Fri, 18 Oct 1996 16:22:31 -0400 (EDT) Message-Id: To: freebsd-arch@freebsd.org, tech-net@netbsd.org cc: freebsd-bugs@freebsd.org, netbsd-bugs@netbsd.org, lidl@va.pubnix.com Subject: proposed kernel change for IP_HDRINCL Date: Fri, 18 Oct 1996 16:22:30 -0400 From: "Kurt J. Lidl" Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm trying to coordinate this "fixing the interface" issue with three groups: BSDi NetBSD OpenBSD So far, BSDi (which is the system where I first noticed this issue) has committed to fixing this interface if both the FreeBSD and NetBSD groups will commit to fixing it also. One line description: --------------------- There is a byte order dependency problem with the IP_HDRINCL option to setsockopt() Full Description: ----------------- Currently, when using setsockopt() with the IP_HDRINCL flag, most fields of the IP header are passed into the kernel in network byte order, except for the ip_off and ip_len fields. Any IP checksum that is placed on the packet in user-mode will be incorrect on little-endian machines, because those two fields are not in network byte order. Internally, the kernel carries around mbufs with the ip_off and ip_len fields host byte order. The kernel then switches those two fields to network order just before queuing a mbuf for an interface. To make the kernel's network API consistant, the ip_off and ip_len fields should be changed to be passed in network byte order, not host byte order. The kernel should then change the fields to the host byte order for ip_off and ip_len, since that is what the rest of the internal networking code are expecting. How to fix the problem: ----------------------- Here's the diff for BSDi's kernel tree, but I expect it will be similar or identical in both the NetBSD and FreeBSD kernel trees. *** raw_ip.c 1996/08/28 19:30:23 1.2 --- raw_ip.c 1996/10/07 18:38:06 1.3 *************** *** 153,158 **** --- 153,161 ---- opts = inp->inp_options; } else { ip = mtod(m, struct ip *); + /* ip_output expects these in host byte order */ + NTOHS(ip->ip_len); + NTOHS(ip->ip_off); if (ip->ip_len > m->m_pkthdr.len) { m_freem(m); return (EMSGSIZE); As well, the utilites that use IP_HDRINCL setsockopt() flag need to be changed. On BSD/OS (v2.1), this is only traceroute and mrouted. I've included patches for those two programs at the end of this message. Any other programs that use the IP_HDRINCL flag would also need to be changed. NOTE: ----- This change will break backwards binary compatibility with programs that use IP_HDRINCL and don't ntohs() the arguments for little endian machines. Please reply and let me know if you are willing to make this change. Thanks for your consideration, -Kurt Contact information: Email: lidl@uu.net lidl@va.pubnix.com Kurt J. Lidl UUNET Technologies 3060 Williams Drive Fairfax, VA 20031 +1 703 206 5836 (voice) +1 703 206 5601 (fax) *** traceroute.c 1996/10/09 14:45:19 1.1 --- traceroute.c 1996/10/09 14:59:00 *************** *** 582,591 **** struct udphdr *up = &op->udp; int i; ! ip->ip_off = 0; ip->ip_hl = sizeof(*ip) >> 2; ip->ip_p = IPPROTO_UDP; ! ip->ip_len = datalen; ip->ip_ttl = ttl; ip->ip_v = IPVERSION; ip->ip_id = htons(ident+seq); --- 582,591 ---- struct udphdr *up = &op->udp; int i; ! ip->ip_off = htons(0); ip->ip_hl = sizeof(*ip) >> 2; ip->ip_p = IPPROTO_UDP; ! ip->ip_len = htons(datalen); ip->ip_ttl = ttl; ip->ip_v = IPVERSION; ip->ip_id = htons(ident+seq); *** igmp.c 1996/10/18 20:12:38 1.1 --- igmp.c 1996/10/18 20:13:57 *************** *** 56,62 **** ip->ip_hl = sizeof(struct ip) >> 2; ip->ip_v = IPVERSION; ip->ip_tos = 0; ! ip->ip_off = 0; ip->ip_p = IPPROTO_IGMP; ip->ip_ttl = MAXTTL; /* applies to unicasts only */ --- 56,62 ---- ip->ip_hl = sizeof(struct ip) >> 2; ip->ip_v = IPVERSION; ip->ip_tos = 0; ! ip->ip_off = htons(0); ip->ip_p = IPPROTO_IGMP; ip->ip_ttl = MAXTTL; /* applies to unicasts only */ *************** *** 315,321 **** ip = (struct ip *)send_buf; ip->ip_src.s_addr = src; ip->ip_dst.s_addr = dst; ! ip->ip_len = MIN_IP_HEADER_LEN + IGMP_MINLEN + datalen; igmp = (struct igmp *)(send_buf + MIN_IP_HEADER_LEN); igmp->igmp_type = type; --- 315,321 ---- ip = (struct ip *)send_buf; ip->ip_src.s_addr = src; ip->ip_dst.s_addr = dst; ! ip->ip_len = htons(MIN_IP_HEADER_LEN + IGMP_MINLEN + datalen); igmp = (struct igmp *)(send_buf + MIN_IP_HEADER_LEN); igmp->igmp_type = type; From owner-freebsd-bugs Fri Oct 18 16:00:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29007 for bugs-outgoing; Fri, 18 Oct 1996 16:00:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA28994; Fri, 18 Oct 1996 16:00:03 -0700 (PDT) Resent-Date: Fri, 18 Oct 1996 16:00:03 -0700 (PDT) Resent-Message-Id: <199610182300.QAA28994@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, luigi@iet.unipi.it Received: from prova.iet.unipi.it (prova1.iet.unipi.it [131.114.9.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA28442 for ; Fri, 18 Oct 1996 15:52:08 -0700 (PDT) Received: (from luigi@localhost) by prova.iet.unipi.it (8.6.12/8.6.12) id AAA00617; Sat, 19 Oct 1996 00:56:08 +0200 Message-Id: <199610182256.AAA00617@prova.iet.unipi.it> Date: Sat, 19 Oct 1996 00:56:08 +0200 From: Luigi Rizzo Reply-To: luigi@iet.unipi.it To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/1838: getttyent() arbitrary 100 char limit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1838 >Category: misc >Synopsis: getttyent() arbitrary 100 char limit >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 18 16:00:02 PDT 1996 >Last-Modified: >Originator: Luigi Rizzo >Organization: >Release: any ? >Environment: >Description: getttyent() has a limit of 100 char for input lines. This causes problems when there are long lines in /etc/ttys, e.g. when using mgetty with chat strings supplied on the command line. Worst thing is that the line is dropped silently. >How-To-Repeat: use a line > 100 chars in /etc/ttys >Fix: in libc/gen/getttyent.c, line 66, change the definition of MAXLINELENGTH to a larger value, e.g. 256 or 512. Also, it would be probably worth mentioning the existence of this limitation in /etc/ttys, e.g. add the following: # IMPORTANT: lines must be shorter than XXX chars Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 http://www.iet.unipi.it/~luigi/ ==================================================================== >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Oct 18 16:10:32 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29828 for bugs-outgoing; Fri, 18 Oct 1996 16:10:32 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29814; Fri, 18 Oct 1996 16:10:30 -0700 (PDT) Date: Fri, 18 Oct 1996 16:10:30 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610182310.QAA29814@freefall.freebsd.org> To: candy@fct.kgc.co.jp, joerg, freebsd-bugs Subject: Re: bin/1832 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: at(1) fails. State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Sat Oct 19 01:08:56 MET DST 1996 State-Changed-Why: It's not a bug, it's a feature. The correct setup is a matter of local security policy, thus the current default state is as good or as bad as any other choice. From owner-freebsd-bugs Fri Oct 18 18:00:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA06511 for bugs-outgoing; Fri, 18 Oct 1996 18:00:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA06485; Fri, 18 Oct 1996 18:00:02 -0700 (PDT) Resent-Date: Fri, 18 Oct 1996 18:00:02 -0700 (PDT) Resent-Message-Id: <199610190100.SAA06485@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mark@seeware.DIALix.oz.au Received: from melbourne.DIALix.oz.au (uucp@melbourne.DIALix.oz.au [192.203.228.98]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA06087 for ; Fri, 18 Oct 1996 17:55:32 -0700 (PDT) Received: (from uucp@localhost) by melbourne.DIALix.oz.au (sendmail) with UUCP id KAA26613 for FreeBSD-gnats-submit@freebsd.org; Sat, 19 Oct 1996 10:55:18 +1000 (EST) Received: (from mark@localhost) by doorway.seeware.DIALix.oz.au (8.7.5/8.7.3) id KAA22858; Sat, 19 Oct 1996 10:41:08 +1000 (EST) Message-Id: <199610190041.KAA22858@doorway.seeware.DIALix.oz.au> Date: Sat, 19 Oct 1996 10:41:08 +1000 (EST) From: mark@seeware.DIALix.oz.au Reply-To: mark@seeware.DIALix.oz.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1839: Multiple mfs mounts of same mount point Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1839 >Category: kern >Synopsis: Multiple mfs mounts of same mount point >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 18 18:00:01 PDT 1996 >Last-Modified: >Originator: Mark Hannon >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: FreeBSD-2.1.5 >Description: FreeBSD-2.1.5, mount behaves very strangely, after making a mistake in my fstab and running mount -av several times I get the following: putte:~# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0a 29727 13729 13620 50% / mfs:18 7199 7 6617 0% /tmp /dev/wd0s1g 347647 216884 102952 68% /home /dev/wd0s1e 98479 69336 21265 77% /usr /dev/wd0s1f 297423 163296 110334 60% /usr/local /dev/wd0s1h 48463 1314 43272 3% /var procfs 4 4 0 100% /proc doorway:/var/mail 78975 23927 48730 33% /var/mail /dev/matcd0a 650002 650002 0 100% /cdrom mfs:2912 7199 1 6623 0% /tmp doorway:/var/mail 78975 23927 48730 33% /var/mail mfs:2923 7199 1 6623 0% /tmp doorway:/var/mail 78975 23927 48730 33% /var/mail doorway:/var/mail 78975 23927 48730 33% /var/mail mfs:2974 7199 1 6623 0% /tmp mfs:2986 7199 1 6623 0% /tmp doorway:/var/mail 78975 23927 48730 33% /var/mail My fstab is: /dev/wd0s1b none swap sw 0 0 /dev/wd0a / ufs rw 1 1 /dev/wd0s1b /tmp mfs rw,-s=16384,-b=8192,-f=1024 0 0 /dev/wd0s1g /home ufs rw 1 1 doorway:/home/www /home/www nfs rw 0 0 /dev/wd0s1e /usr ufs rw 1 1 /dev/wd0s1f /usr/local ufs rw 1 1 /dev/wd0s1h /var ufs rw 1 1 doorway:/var/mail /var/mail nfs rw 0 0 proc /proc procfs rw 0 0 /dev/matcd0a /cdrom cd9660 ro,noauto 0 0 /dev/wd0s2 /dos/c msdos rw,noauto 0 0 >How-To-Repeat: Not 100% sure - will keep an eye out, I think that it occurs when making a failed attempt to mount all partitions, ie I saw after I had edited fstab a number of times to get the mount points right. >Fix: Reboot >Audit-Trail: >Unformatted: From owner-freebsd-bugs Fri Oct 18 18:52:14 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA09650 for bugs-outgoing; Fri, 18 Oct 1996 18:52:14 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA09630; Fri, 18 Oct 1996 18:52:12 -0700 (PDT) Date: Fri, 18 Oct 1996 18:52:12 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199610190152.SAA09630@freefall.freebsd.org> To: marcs@znep.com, jkh, freebsd-bugs Subject: Re: bin/1776 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: sysinstall won't compile in -stable State-Changed-From-To: open-closed State-Changed-By: jkh State-Changed-When: Fri Oct 18 18:51:47 PDT 1996 State-Changed-Why: Fixed as of 2.2-961014-SNAP. From owner-freebsd-bugs Sat Oct 19 02:10:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA06888 for bugs-outgoing; Sat, 19 Oct 1996 02:10:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA06881; Sat, 19 Oct 1996 02:10:03 -0700 (PDT) Resent-Date: Sat, 19 Oct 1996 02:10:03 -0700 (PDT) Resent-Message-Id: <199610190910.CAA06881@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, obrien@NUXI.cs.ucdavis.edu Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA06206 for ; Sat, 19 Oct 1996 02:03:05 -0700 (PDT) Received: (from obrien@localhost) by relay.nuxi.com (8.7.5/8.6.12) id CAA10667; Sat, 19 Oct 1996 02:03:02 -0700 (PDT) Message-Id: <199610190903.CAA10667@relay.nuxi.com> Date: Sat, 19 Oct 1996 02:03:02 -0700 (PDT) From: "David E. O'Brien" Reply-To: obrien@NUXI.cs.ucdavis.edu To: FreeBSD-gnats-submit@freebsd.org Cc: obrien@Nuxi.com X-Send-Pr-Version: 3.2 Subject: docs/1841: NT boot mgr too Linux centric in FAQ Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1841 >Category: docs >Synopsis: NT boot mgr too Linux centric in FAQ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 19 02:10:01 PDT 1996 >Last-Modified: >Originator: David E. O'Brien >Organization: University of California, Davis >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: current FAQ >Description: I know I'm being very nit-picking, but here is my change request: The answer in the FAQ to "How can I use the NT loader to boot FreeBSD?" is a little too Linux centric for my tastes. I like having answers for both FreeBSD and Linux (as many people may be running both). However, can the FreeBSD parts be moved to *before* the Linux ones? It makes FreeBSD look a little bit like it is playing second fiddle to Linux. >How-To-Repeat: n/a >Fix: vi FAQ.sgml :-) >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Oct 19 02:41:56 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA10090 for bugs-outgoing; Sat, 19 Oct 1996 02:41:56 -0700 (PDT) Received: from incog.com (ns.incog.com [199.190.177.251]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA10082 for ; Sat, 19 Oct 1996 02:41:53 -0700 (PDT) Received: from osmosys.incog.com by incog.com (SMI-8.6/94082501) id CAA22822; Sat, 19 Oct 1996 02:42:57 -0700 Received: from monster.incog.com by osmosys.incog.com (SMI-8.6/SMI-SVR4) id CAA14332; Sat, 19 Oct 1996 02:42:16 -0700 Received: by monster.incog.com (SMI-8.6/SMI-SVR4) id CAA14045; Sat, 19 Oct 1996 02:42:01 -0700 Date: Sat, 19 Oct 1996 02:42:01 -0700 From: markson@osmosys.incog.com (Tom Markson) Message-Id: <199610190942.CAA14045@monster.incog.com> To: bugs@FreeBSD.org Subject: Two bugs Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Hi, I've found a couple of bugs. I was trying to port our SKIP IP layer encryption software which runs fine on 2.1.5 to 2.2 and ran into a couple of things. If you're compiling a kernel module and include , you'll get an error about a missing include file . It is referenced in A second thing is the LKM interface. Has the interface changed? Is _init no longer being used as the entry point? A third note on a different level. I want to install a 2.1.5 partition on a machine and a 2.2 partition. Is this possible? It seems to mount /dev/wd0a as root, which means it will always find one root file system or another... Thanks --tom From owner-freebsd-bugs Sat Oct 19 03:11:46 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA12389 for bugs-outgoing; Sat, 19 Oct 1996 03:11:46 -0700 (PDT) Received: from frig.mt.cs.keio.ac.jp (frig.mt.cs.keio.ac.jp [131.113.32.7]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA12373 for ; Sat, 19 Oct 1996 03:11:41 -0700 (PDT) Received: (from hosokawa@localhost) by frig.mt.cs.keio.ac.jp (8.6.12+2.4W/3.4Wbeta3) id TAA04109; Sat, 19 Oct 1996 19:11:35 +0900 Date: Sat, 19 Oct 1996 19:11:35 +0900 Message-Id: <199610191011.TAA04109@frig.mt.cs.keio.ac.jp> To: bugs@freebsd.org Cc: hosokawa@mt.cs.keio.ac.jp Subject: type of dk_flags (wd.c) should be longer From: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.18PL3] 1994-08/01(Mon) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In sys/i386/isa/wd.c: short dk_flags; /* drive characteristics found */ #define DKFL_SINGLE 0x00004 /* sector at a time mode */ #define DKFL_ERROR 0x00008 /* processing a disk error */ #define DKFL_LABELLING 0x00080 /* readdisklabel() in progress */ #define DKFL_32BIT 0x00100 /* use 32-bit i/o mode */ #define DKFL_MULTI 0x00200 /* use multi-i/o mode */ #define DKFL_BADSCAN 0x00400 /* report all errors */ It seems bit operation to dk_flags results in invalid behavior. I think that the type of dk_flags should be longer (ex. long). -- HOSOKAWA, Tatsumi E-mail: hosokawa@mt.cs.keio.ac.jp WWW homepage: http://www.mt.cs.keio.ac.jp/person/hosokawa.html Department of Computer Science, Keio University, Yokohama, Japan From owner-freebsd-bugs Sat Oct 19 04:30:17 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA15349 for bugs-outgoing; Sat, 19 Oct 1996 04:30:17 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA15335 for freebsd-bugs; Sat, 19 Oct 1996 04:30:15 -0700 (PDT) Date: Sat, 19 Oct 1996 04:30:15 -0700 (PDT) From: GNU GNATS Message-Id: <199610191130.EAA15335@freefall.freebsd.org> To: freebsd-bugs Subject: List of open Problem Reports Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This is the list of currently open problem reports [1994/11/30] kern/34 nullfs and union mounts can result in wild pointer r [1995/01/10] bin/104 pax -rwl may corrupt filesystem [1995/01/14] bin/115 systat iostat display doesn't scale high enough [1995/01/14] bin/129 fsck cannot take a mount point as an argument [1995/01/15] bin/146 version of compress is kinda old and slow [1995/01/21] bin/174 Poor error message from stty [1995/01/22] kern/176 EIDRM not defined in errno.h [1995/01/24] gnu/183 can't resolve "operator <<" overload [1995/01/24] bin/184 send-pr says "Aborting ..." and happily removes the [1995/01/30] bin/198 1.1.5.1 pine binary loops; top shows fancy values [1995/02/14] kern/216 /kernel: panic: ffs_alloccg: map corrupted [1995/03/02] misc/229 acos() core dump [1995/03/28] kern/281 Messages printed when checking CD ROM device too ver [1995/03/28] kern/282 buslogic adapter information WAY too verbose [1995/04/01] kern/291 PCI devices still probe/attach after being disabled [1995/04/20] kern/353 xcdplayer crashes machine (with NCR810 SCSI) [1995/04/20] misc/355 policy on /usr/local permission in base release [1995/05/08] bin/389 Simultaneous creation/deletion of dirs corrupts file [1995/05/12] bin/398 VI doesnt do the correct thing [1995/05/13] bin/401 Add REMOTE_* variables [1995/05/14] kern/405 The gpio driver does not work with the AT-GPIB, only [1995/05/15] misc/423 Sound devices are too insecure [1995/05/16] kern/425 arp entries not getting removed when interface chang [1995/05/23] i386/440 want vidcontrol option to apply settings to all sysc [1995/05/26] kern/446 unable to diskless-boot a PC when the server mounts [1995/06/14] bin/514 Crash recovery impossible without static mt/chflags. [1995/06/15] bin/517 Bad group change with 'install' [1995/06/15] bin/519 execution of quotacheck from /etc/rc fails [1995/06/17] kern/528 slow 386 reports excessive interrupt-level buffer ov [1995/06/26] kern/565 slip freezes machine [1995/07/02] kern/579 sio: RS_IBUFSIZE at 256 bytes serial lines loose dat [1995/07/04] kern/587 if_le hangs on OACTIVE with 2k buffer [1995/07/04] kern/588 Configuration of DEC ethernet cards not possible [1995/07/05] bin/591 SPAP request REJexted in stead of NAKed [1995/07/09] misc/605 NIS: get*bynis routine problems [1995/07/29] kern/638 Transmitted packets not passed to bpf in if_le.c [1995/08/01] docs/646 vmstat man page out of date [1995/08/01] bin/648 printf format conversion incorrect (duplicate) [1995/08/03] kern/652 Multiple addresses on one interface interacts badly [1995/08/05] gnu/655 ld -r of shared objects worked in 1.1.5, not in 2.0. [1995/08/07] bin/658 ifconfig alias has to be separately given [1995/08/11] gnu/672 Nor all ph headers get created [1995/08/11] ports/673 /bin/sh + inn1.4 innwatch going belly up [1995/08/13] bin/680 2.0.5's tip using termios doesn't act the way it did [1995/08/14] kern/688 Page fault: supervisor write, page not present [1995/08/15] i386/692 My modem is not found if my external cache is disabl [1995/08/18] kern/700 The comments in /sys/net/if.h are confusing [1995/08/21] kern/703 ppp not always deleting route properly when a ppp li [1995/08/22] bin/706 increased root DNS traffic and long latencies for r- [1995/08/29] bin/715 ls gives weird tabular form [1995/08/31] bin/716 W returns wrong results at login [1995/09/23] docs/735 missing description for mount options in fstab(5) ma [1995/09/26] bin/739 Some problems when an output filter reads all input [1995/09/26] kern/742 syslog errors accessing Mac hard disks [patch] [1995/09/27] bin/743 vi cannot edit a file where the name starts with + [1995/09/27] kern/745 occasional filesystem inconsistencies, and "panic: f [1995/09/27] kern/750 cd9660 confused by not-ready or I/O errors FDIV030 [1995/09/28] kern/752 setting multiple addresses for a single interfaces l [1995/09/28] kern/753 my archive scsi tape drive does not work [1995/09/28] docs/754 there is no man page for the psm(4) mouse driver [1995/10/03] kern/765 umount -f can`t umount a NFS filesystem in use [1995/10/09] kern/774 dump fails with "slave couldn't reopen disk: Device [1995/10/11] bin/777 patch doesn't realize stdin is closed and asks quest [1995/10/12] bin/778 tar complains "EOF not on block boundary" on a good [1995/10/14] kern/781 OPEN_MAX in kernel config and FD_SETSIZE in /usr/inc [1995/10/18] bin/786 Problem with NIS and large group maps [1995/10/25] kern/792 cd9660 very slow. [1995/10/25] kern/793 ep0 cannot be configured and more. [1995/10/29] docs/801 rlogind k, v, and x options are not documented [1995/10/31] bin/803 bsd m4 chokes and dies while FSF m4 works... [1995/11/11] bin/815 mountd reports unknown hosts with non-informative me [1995/11/12] kern/820 scsi tape problems [1995/11/13] kern/821 Config doesn't properly trap signals [1995/11/16] bin/826 tcpmux listener in inetd does not work [1995/11/20] kern/831 one minor complaint about the kernel visual config c [1995/11/22] kern/835 ed panics with SMC ultra with iomem, if no iomem in [1995/11/27] bin/841 stale nfs mounts cannot be umounted [1995/11/28] bin/850 dump treats write-protect as an EOT & spoils set FDI [1995/11/29] bin/852 Sendmail is loosing mail (apparently)! [1995/11/30] bin/854 swapinfo shows incorrect information for vnconfig'd [1995/12/02] kern/860 visual mode in kernel -c is too restrictive [1995/12/03] kern/861 sb16 support in 2.1 is erratic and has cosmetic defe [1995/12/03] kern/863 panic on kernel page fault, NULL curproc [1995/12/06] ports/869 xcdplayer installs itself is /usr/X11R6, not /usr/lo [1995/12/06] ports/871 port.subdir.mk DEBUG_FLAGS is not used for CFLAGS [1995/12/08] kern/876 NFS allows bogus accesses to cached data [1995/12/17] kern/900 ext2fs triggers divide by zero trap in vnode_pager_h [1995/12/20] i386/906 /sys/i386/boot/netboot/nb8390.com cannot recognize N [1995/12/25] bin/914 hayes dialer for tip fails 1st attempt to dial [1995/12/29] kern/920 sio output looses chars in fifo on close() [1995/12/29] kern/921 getrusage() returns 0 after system up for a long tim [1996/01/01] bin/926 Mounting nfs disks before starting mountd: Chicken o [1996/01/02] kern/927 VGA mode not restored [1996/01/03] kern/930 sio/getty problem? [1996/01/06] kern/932 de0 occasionally enables 100baseTX when plugged into [1996/01/06] misc/934 ppp dies with Bus Error when processing long LOGIN s [1996/01/09] kern/940 panic: free vnode isn't [1996/01/12] misc/942 X11 mono server dumps core on supported video hardwa [1996/01/15] kern/946 divide-by-zero in kernel on bad disk info [1996/01/16] kern/949 panic, undebugable dump? [1996/01/19] kern/956 Kernel page fault, null callp [1996/01/19] bin/958 ttys file does not include all ptys [1996/01/21] bin/961 'more $file', incorrect CRLF compacting. [1996/01/23] ports/968 Netscape & cern_httpd ports out of date/dead links [1996/01/25] kern/971 Default limits for number of processes per user ridi [1996/01/25] conf/972 inetd.conf should comment out k-services if no Kerbe [1996/01/28] kern/975 getrusage returns negative deltas [1996/01/28] kern/976 NCR SCSI driver gives assertion errors and disk beco [1996/01/29] kern/978 Three deadlocks in row [1996/02/01] bin/986 problems make-ing with cd in the rule [1996/02/06] kern/998 badness in file system silently crashes machine [1996/02/07] bin/999 /usr/share/mk/sys.mk missing common $(RM) macro [1996/02/07] kern/1001 M_NAMEI malloc leak in the kernel [1996/02/08] kern/1008 Daily crash while writing network backups to local t [1996/02/09] kern/1012 vnode_pager_putpages: attempt to write meta-data!!! [1996/02/10] kern/1016 panic: vm_page_free: freeing free page, sddump: no s [1996/02/10] kern/1017 ssh stopped working between 15th Jan and 9th Feb [1996/02/12] kern/1018 panic: unwire: page not in pmap [1996/02/12] bin/1019 getty cannot detect ppp logins [1996/02/12] kern/1020 Boca 16-port board still hangs [1996/02/12] bin/1021 pppd doesn't handle PAP-only authentication well [1996/02/12] docs/1023 using touch to create swap file for NFS doesn't work [1996/02/14] kern/1026 deadlocks if parent vfork and child has cntrl termin [1996/02/14] bin/1028 shutdown -r does not seem to always complete [1996/02/15] bin/1029 cd behaves erraticly if cwd is a mount-point, which [1996/02/18] kern/1034 Instant panic in -current [1996/02/19] docs/1036 List of dead xrefs in man pages [1996/02/19] bin/1037 2.x telnetd handles CTRL-M differently than other tt [1996/02/25] i386/1042 Warning from sio driver reports wrong device FDIV045 [1996/02/26] misc/1043 vm_bounce_alloc error on 2.1 install with 4G drive [1996/02/27] kern/1045 Lockup: b_to_q to a clist with no reserved cblocks [1996/02/27] gnu/1047 send-pr: Aborting... [1996/02/28] i386/1048 ep driver fails to detect card when told specific va [1996/02/28] bin/1050 Process (zip) hangs (unkillable) after floppy error [1996/02/29] kern/1051 zip fails on dos partition [1996/03/02] bin/1056 pppd fails if -detach [1996/03/05] kern/1064 Recursive panic? [1996/03/06] kern/1065 wt could crash reading short blocks [1996/03/09] bin/1073 telnet -8 does not work with SunOS or Solaris [1996/03/09] bin/1074 tty rows & columns settings sometimes reset to zero [1996/03/11] conf/1076 'make install' fails for /usr/src/share/examples in [1996/03/15] misc/1079 Can not work about get{host|net]byaddr on NIS. [1996/03/16] kern/1080 Panic @ _get_pt_entry+0x8 [1996/03/16] kern/1081 Fatal double fault [1996/03/17] kern/1087 Device close entry is not called when unmounting UFS [1996/03/20] kern/1090 iostat displays incorrect sps count [1996/03/20] bin/1093 route's diagnostic is weird [1996/03/23] kern/1098 File system corruption (2 cases) [1996/03/28] ports/1109 mods to vim-3.0 port [1996/03/30] bin/1111 mail.local will happily deliver mail to a quota'd fi [1996/03/31] misc/1112 Can not work getnetbyaddr on NIS [1996/04/05] kern/1118 panic: setrunqueue encountered when wine fork()'s [1996/04/06] kern/1119 Mounted EXT2FS partition is not cleanly unmounted up [1996/04/06] kern/1121 System crashes on boot up just after the "devfs read [1996/04/07] kern/1122 Kernel (current) does not see all memory [1996/04/11] kern/1134 PPB support is broken for multiple/unknown PPBs. [1996/04/11] kern/1135 starting an extra mountd and then killing it crashes [1996/04/14] docs/1141 pcvt(4) references non-existent man page. [1996/04/19] docs/1151 intro(3) references libc(3) and plot(3), which do no [1996/04/23] ports/1155 systat or top display disagreeing information [1996/04/24] kern/1157 SCSI Disk Timeouts (ahc0) [1996/04/28] kern/1160 Panic: bad dir [1996/04/29] kern/1163 2.2-960323-SNAP: fatal trap 12 [1996/04/30] docs/1165 Printer Text Filter scripts should be in /usr/share/ [1996/04/30] kern/1166 pmap panic (dump available) [1996/05/02] docs/1169 bogus reference to keysu(1) in key(1) and keyinit(1) [1996/05/02] kern/1171 panic: setrunnable after touching long idle windows [1996/05/07] kern/1177 Machine hangs with message "vm_fork: no pte for UPAG [1996/05/08] kern/1180 freeing held page, count=%d [1996/05/09] bin/1181 fsck displays wrong char in "option?" diagnostic [1996/05/09] bin/1182 timed records improper entry in wtmp [1996/05/09] bin/1184 ls + xterm + nvi + columns != 80 + ^Z = mangled list [1996/05/10] misc/1187 pppd dies with a segv [1996/05/11] kern/1190 panic: page fault (wild pointer?) [1996/05/13] ports/1200 pop3 requests may crash client [1996/05/13] kern/1201 FreeBSD SCSI changer driver leaves a bit to be desir [1996/05/13] bin/1202 netgroups in /etc/hosts.equiv stopped working in -st [1996/05/14] kern/1204 umount -f after SCSI reset -> reboot [1996/05/15] bin/1206 /bin/sh + emacs + ^G = ruined terminal [1996/05/16] kern/1208 Rebooting nfs server results "Permission denied" mes [1996/05/16] gnu/1209 send-pr should refuse PR's without subject and synop [1996/05/18] bin/1212 ppp eventually runs out of file descriptors [1996/05/18] kern/1213 kernel page fault [1996/05/19] kern/1217 separating to hardrives to two IDE channels hangs th [1996/05/21] kern/1227 vm_page_activate: already active (new vm system) [1996/05/21] kern/1228 probe doesn't find P-n-P modem [1996/05/22] kern/1236 some #def's in pcvt_conf.h not braketed by #ifndef's [1996/05/23] bin/1237 [1996/05/24] kern/1246 aic-7850 driver sees more cdroms then exists [1996/05/24] misc/1247 Conflicting header files [1996/05/25] docs/1249 incorrect manpages [1996/05/26] i386/1251 aha0 and bt0(eisa) conflicts again. [1996/05/26] kern/1252 Heavy activity on a CD causes panic [1996/05/26] kern/1256 ZNYX 314 mysterously looses packets [1996/05/26] kern/1257 System got blown away by "vm_pageout_scan: page not [1996/05/27] kern/1258 new vm code: freeing held page [1996/05/27] conf/1264 panic with two new Quantum FireBall 1280 [1996/05/27] kern/1269 vm_pageout_scan: page not inactive? (loops, effectiv [1996/05/28] conf/1270 /etc/ttys does not list all valid ptys (breaks scree [1996/05/28] kern/1271 Kernel panic using PLIP in 27/05 current [1996/05/28] docs/1272 document the -o option for f2c [1996/05/28] bin/1273 remote hostname gets corrupted in rshd [1996/05/28] kern/1274 Kernel panics with filesystem error [1996/05/28] bin/1276 pppd hangs serial port - ENOBUFS [1996/05/29] kern/1278 SUN Solaris clients gets host not responding, when w [1996/05/30] docs/1280 locale and collating [1996/05/31] kern/1284 panic: vm_page_free: freeing busy page [1996/05/31] conf/1285 route_multicast and route_loopback lines in /etc/sys [1996/06/01] kern/1286 cluster_read() calls strategy routine without B_READ [1996/06/02] i386/1288 wdgetctlr (wd.c) return incorrect number of cylinder [1996/06/05] kern/1293 Fatal trap 12: page fault while in kernel mode (PPP/ [1996/06/06] misc/1299 National charecter problem in XFree86 [1996/06/07] kern/1301 DEC FDDI/PCI Adapter: halt code = 6 (DMA Error) [1996/06/08] kern/1302 3COM 3c590 can't receive packets [1996/06/09] bin/1305 dc miscomputes remainder [1996/06/10] kern/1307 vm_page_free: freeing busy page [1996/06/10] kern/1308 vm_page_free: wire count > 1 in 960501-SNAP [1996/06/11] kern/1311 Panic: vm_page_free while installing new kernel [1996/06/11] bin/1312 automounter hangs on boot [1996/06/12] bin/1316 10 tunnel device limit [1996/06/12] conf/1319 muldi3 is not included into kernel's Makefile by con [1996/06/14] kern/1323 960612's psm driver does not see the mouse. 960501 d [1996/06/16] kern/1327 keyboard probe in -current fails, X reboots machine [1996/06/18] i386/1331 changes and bug in ft driver [1996/06/18] bin/1332 changes to amd and possible nfs lkm bug? [1996/06/19] misc/1335 /etc/security generates an error with files with spa [1996/06/19] kern/1336 Permission for .. in NFS mounts is somewhat non-intu [1996/06/22] kern/1345 kernel page fault, NULL pointer dereference in exit( [1996/06/25] bin/1351 security problem with mv(1) [1996/07/01] bin/1361 ruptime and long downtimes [1996/07/03] bin/1364 ps(1) bugs [1996/07/04] i386/1367 reprobe a device that does not exist = panic [1996/07/04] misc/1369 Need SC_MORE_LUS for Emulex MD23 also [1996/07/06] kern/1371 kernel doesn't flush all its buffers when told to ha [1996/07/06] misc/1373 RPC include lacks prototypes [1996/07/06] docs/1374 the default listed in the newfs -i man page does not [1996/07/07] misc/1376 if_tun.c does not set if_ibytes and if_obytes to zer [1996/07/09] bin/1377 mv(1) retains the setuid bit when it is unable to pr [1996/07/09] gnu/1379 Man command problem, when it writes into symlinked d [1996/07/09] misc/1380 Year 2000 breakage with tm_year [1996/07/13] conf/1382 FreeBSD has minor year 2000 problem in distr /etc/rc [1996/07/14] docs/1383 ppp(8) man page suggests using shell script for logi [1996/07/15] bin/1387 Group file errors cause absolute havoc [1996/07/16] misc/1390 feedback from 2.1.5R update over 2.1-stable [1996/07/16] bin/1391 cpio -O ignores umask [1996/07/16] bin/1392 PPP silently fails to work when CTS/RTS isnt availab [1996/07/16] misc/1393 cant bootstrap lex in -current from 2.1 base [1996/07/18] bin/1398 .OBJDIR modifications to tree broke make reinstall? [1996/07/18] kern/1399 invoking setuid programs over NFS case vnode_pager e [1996/07/19] docs/1402 sh(1) manual [1996/07/19] gnu/1407 ld computes wrong size of common (global data) [1996/07/20] bin/1410 /usr/bin/login is suid, with little requirement for [1996/07/21] misc/1413 Missing library libgcc.261 [1996/07/21] i386/1414 3c595 ceases to work aftern installation. [1996/07/21] ports/1415 Installing gnats package makes send-pr fail. [1996/07/21] ports/1416 cflow(1) doesn't parse GNU C __attribute__ syntax [1996/07/23] kern/1420 panic vrele: negative reference count [1996/07/23] kern/1421 Non-bug in sosend() [1996/07/24] bin/1425 doing :numbers on systat -netstat doesn't repaint cl [1996/07/24] misc/1428 ncurses doesn't always display ALTCHARSET correctly [1996/07/25] bin/1429 sh(1) and getopts [1996/07/25] pending/1430 request for a customer id [1996/07/25] pending/1431 request for a customer id [1996/07/25] kern/1432 Rexmit timeout for TCP too short [1996/07/26] pending/1434 request for a customer id [1996/07/30] ports/1444 There is no port of slnr [1996/08/03] bin/1461 Incorrect address binding of Kerberized rlogin [1996/08/03] kern/1462 nfsstat doesn't work if using LKM'ed version of NFS [1996/08/04] kern/1467 scsi_prevent causing tape problems on close [1996/08/06] bin/1469 it is difficult to run /usr/sbin/ppp from a script [1996/08/07] ports/1470 need more info in the ports structure [1996/08/07] gnu/1471 send-pr needs configurable Reply-To field [1996/08/07] gnu/1472 send-pr could have a configurable Reply-To field [1996/08/08] bin/1479 libc.so.2.2 [1996/08/09] kern/1480 terminal "cons25" resize problem [1996/08/09] bin/1482 vidcontrol -f fnt-size file-with-wrong-fnt-size [1996/08/09] kern/1487 bug in exec(2) [1996/08/12] docs/1493 incomplete prototypes in man pages for mmap function [1996/08/14] ports/1495 more tkdesk patches... [1996/08/15] kern/1498 system hangs during inactivity [1996/08/16] kern/1500 times system call returning zero user time. [1996/08/17] kern/1501 vmstat reports impossible avm after starting up X [1996/08/17] bin/1502 vmstat 'avm' field merges with procs 'w' field for l [1996/08/17] ports/1504 latex port completely failes [1996/08/17] kern/1508 syscons should protect against useless DDB entry [1996/08/18] kern/1512 Use of madvise may may cause bad memory mappings [1996/08/19] kern/1514 mlock fails on readonly regions [1996/08/20] kern/1516 vm_fault.c contains dead code or too many underscore [1996/08/20] ports/1517 What is InterViews ??!?! [1996/08/20] ports/1518 No man pages in audio/mpegaudio port [1996/08/20] bin/1519 chpass creates an NIS security hole [1996/08/21] ports/1520 sudo dosn't recognise certain passwords and thinks y [1996/08/21] bin/1522 dump | restore of filesystem corrupted files [1996/08/21] bin/1523 "cvs update -d -P" prunes unchecked-in directories [1996/08/21] ports/1524 New port -- xtem-5.18beta [1996/08/21] ports/1525 xvnews-2.3.2 [1996/08/21] ports/1526 xtar-1.4 [1996/08/21] ports/1527 xmaddressbook-1.5.3 [1996/08/21] ports/1529 New port -- bricons-3.0 [1996/08/22] ports/1530 New port of poppassd [1996/08/22] kern/1531 Machine hangs, unable to either fork or exec. [1996/08/22] kern/1533 Machine can be panicked by a userland program. [1996/08/22] i386/1534 Installing from Mitsumi FX001D CD-ROM drive [1996/08/23] misc/1536 WWW query-pr interface sometimes messes up [1996/08/23] ports/1537 new port -- tin 1.3unoff [1996/08/24] misc/1538 enhanced /etc/security script [1996/08/24] ports/1539 Attempts to run Linux elf binaries using libXpm fail [1996/08/25] kern/1540 panic: ufs_unlock NOT LOCKED [1996/08/25] misc/1541 fork.o in libc_r fails to compile [1996/08/26] kern/1543 my load sticks at about 0.8 while not in use. [1996/08/27] bin/1547 ncrcontrol won't work with FAILSAFE kernel [1996/08/27] bin/1548 ncrcontrol -i queries don't work for mere users [1996/08/27] ports/1549 Port submission for gdbtk [1996/08/29] bin/1552 moused has no manual page (and -s option is broken) [1996/08/29] ports/1553 submittal of cops port [1996/08/30] i386/1556 ATAPI CDROM probes ok, but will not 'mount_cd9660' [1996/08/31] bin/1559 ftpd apparently not recognizing -l or -S parms [1996/09/02] misc/1561 Wrong key mapping of five keys in german.iso.kbd [1996/09/02] bin/1563 Curses let letters fall away sometimes [1996/09/05] kern/1570 Setting SHMALL > 35000 causes panic [1996/09/05] kern/1574 Panic: privileged instruction fault [1996/09/06] ports/1576 patch for ports/print/mltex/Makefile FETCH_CMD [1996/09/06] bin/1577 mail -f foo does not look in current directory of .m [1996/09/07] bin/1578 fsck does not honour 'noauto' fs option [1996/09/07] kern/1579 panic: ufs_unlock NOT LOCKED [1996/09/08] conf/1580 make & /usr/obj is bogus. [1996/09/08] kern/1582 kernel panic often under medium load [1996/09/08] ports/1583 I made ldap-3.3 port [1996/09/08] kern/1584 same file is listed twice [1996/09/08] bin/1585 dumpfs can dump core [1996/09/08] docs/1588 Handbook Incorrect LaTeX/PostScript output [1996/09/08] bin/1589 ftp fails to flush output [1996/09/10] bin/1597 No support for positional parameters in *printf func [1996/09/11] bin/1598 tip leaves OPOST set on controlling terminal (fd 0) [1996/09/11] kern/1599 panic: locking against myself [1996/09/11] kern/1600 prevent setting of t_timer[TCPT_KEEP] prematurely [1996/09/12] ports/1601 no previous port of su2 existed in source tree :) [1996/09/12] docs/1602 /usr/lib/terminfo refered to in man terminfo, does n [1996/09/12] bin/1607 unmount fails for a NFS fs mounted without -P from a [1996/09/13] conf/1608 FreeBSD's bug tracking system does not respect confi [1996/09/14] kern/1609 page fault while in kenel mode during Linux emulatio [1996/09/14] kern/1610 mmap() of unassociated memory + mlock() can == kerne [1996/09/14] gnu/1611 groff should use "system-wide" papersize variable wh [1996/09/14] kern/1613 I get ls: fts_read: No such file or directory [1996/09/14] kern/1614 Attempt to mount an NTFS partition causes kernel pan [1996/09/15] ports/1617 new port - nntpcache [1996/09/15] docs/1618 Man page for siginterrupt thinks it is in BSD4.2 [1996/09/15] ports/1620 new port, cless -- Chinese language version of GNU l [1996/09/16] bin/1623 rpc/auth.h won't compile with -ansi flag [1996/09/16] misc/1625 2.1.5 update overwrites root's dot files [1996/09/16] i386/1626 MUSTEK Scanner hangs NCR SCSI controller [1996/09/16] kern/1628 /kernel: pid 19061: ppp: uid 0: exited on signal 4 [1996/09/17] docs/1630 Addition to handbook concerning MFS kernel option [1996/09/17] ports/1631 new port, lprps -- PS printing lpr filters [1996/09/18] bin/1635 setenv(3) buglet? Segv if var not previously defined [1996/09/18] kern/1636 mss driver extension to broaden support [1996/09/18] kern/1637 mss driver causes feedback (squeal) on some laptops [1996/09/18] kern/1638 worm driver won't make audio tracks [1996/09/18] bin/1643 Support for NetBSD in bsd.port.mk [1996/09/18] i386/1644 sio.c can't keep RTS off while RTS flow controll is [1996/09/19] ports/1646 Port of lclint - a better lint replacement [1996/09/19] bin/1648 libmd not 64-bit safe [1996/09/19] bin/1649 md5(1) header file makes bad assumption [1996/09/19] bin/1650 telnet encryption with char-mode and ascii loses syn [1996/09/19] kern/1652 changing time hangs system [1996/09/19] bin/1653 cannot umount the node ending '/' when it was mounte [1996/09/19] kern/1654 In procfs, vattr doesn't contain correct value of `v [1996/09/20] bin/1657 ls(1) output of future mtime [1996/09/20] kern/1658 ktrace/kdump flaky - corrupted ktrace.out file [1996/09/21] ports/1660 Updating of jp-fvwm2-port(-> jp-fvwm2-port-new) [1996/09/21] kern/1661 ft driver hangs uninterruptably at "bavail" [1996/09/22] ports/1663 strobe-port [1996/09/22] bin/1664 getty doesn't use init kerninfo struct [1996/09/22] bin/1665 telnetd doesn't use gettytab %m %r %v %s tags [1996/09/22] bin/1666 crash in vi, while reading multiple files [1996/09/23] kern/1670 PCI ed probe causes a page fault [1996/09/23] i386/1671 s2 map in pcvt isn't ISO 8859-1 and claimed. [1996/09/23] bin/1672 rshd makes assumptions regarding gethostbyaddr() and [1996/09/24] bin/1674 strange behaviour of pppd (daemonize, defaultroute) [1996/09/24] docs/1675 suspicious history line [1996/09/24] kern/1676 NFS V3 client causes panic [1996/09/24] kern/1677 read from /dev/kmem may crash system [1996/09/24] bin/1678 ls(1) with LC_TIME [1996/09/25] pending/1680 Error in rune.h stuff [1996/09/25] docs/1681 procfs man page way out of date [1996/09/26] ports/1682 dual CAT definitions in bsd.port.mk [1996/09/26] kern/1684 inconsistent permission failures on NFS requests [1996/09/27] misc/1686 sysinstall should allow partition size change before [1996/09/28] bin/1687 watch makes kernel crash [1996/09/29] kern/1689 TCP extensions throttles distant connections [1996/09/29] kern/1690 apm and sbxvi inappropriately probe as conflicting [1996/09/29] docs/1691 ppp server doc submission [1996/09/29] kern/1692 Page fault while in kernel modem fatal trap 12 (doub [1996/09/29] bin/1693 rarpd does not appear to work [1996/09/29] bin/1694 rbootd does not appear to work [1996/09/30] bin/1695 moused fails with PS/2 mouse [1996/09/30] conf/1697 rc.i386 missing line for moused [1996/09/30] kern/1698 sup from around 21:51 GMT 28th very unstable (mmap, [1996/09/30] docs/1699 Missing GNU info files [1996/10/01] bin/1700 'ls -lo' does not list opaque flag (chflags does not [1996/10/01] bin/1702 installing of tcl manpages fails from make world [1996/10/01] ports/1703 update to qt port [1996/10/01] conf/1704 Install fails, probe dos not find my ADAPTEC 2940 Ul [1996/10/01] bin/1705 COM2 not detected when booting from Harddrive. Only [1996/10/02] misc/1708 monthly login accounting [1996/10/02] ports/1710 update to Tin port [1996/10/02] kern/1711 kernel logging of signaled processes should be optio [1996/10/02] docs/1712 semget man page refers to SEM_W instead of SEM_A [1996/10/02] gnu/1713 mkisofs doesn't match man page in behavior [1996/10/02] kern/1714 [1996/10/03] kern/1715 le driver non-reentrant [1996/10/03] kern/1716 LKM does not install character devices [1996/10/03] misc/1717 Use of ntohl causes lint to complain [1996/10/04] ports/1718 new port, vscan [1996/10/04] ports/1719 new port, xlbiff [1996/10/04] pending/1721 [1996/10/04] pending/1723 kernel fault when doing scsi reprobe [1996/10/04] kern/1724 HP colorado T4000S tape drive hangs system on many s [1996/10/04] kern/1725 visual config redraws bits of the screen too often [1996/10/04] kern/1726 panic in kmem_malloc (dump available) [1996/10/05] kern/1727 Add support for 3C900 to vx [1996/10/05] pending/1729 Installing gnats package makes send-pr fail. [1996/10/05] i386/1730 SFF8020 violation and silly bug in atapi.c hinder it [1996/10/05] misc/1731 missing area code 541 [1996/10/05] pending/1732 bzip port won't install [1996/10/06] ports/1734 submission of tiff-3.4 port [1996/10/08] misc/1738 Install floppy returns random geometry with 2GB IDE [1996/10/08] bin/1739 syslog may log false timestamps [1996/10/08] ports/1742 Various bugs in xview-3.2.1 [1996/10/08] ports/1743 submission of new port (tiff-3.4) [1996/10/08] kern/1744 run queue or proc list smashed 4 times in 2 days [1996/10/09] ports/1752 Update of nedit port [1996/10/10] ports/1753 SSLeay doesn't work against Microsoft secure web sit [1996/10/10] kern/1754 netbooted machines freeze with ifconfig aliases [1996/10/10] bin/1755 more(1) generates garbage at end of file output [1996/10/10] misc/1757 sysinstall repeatably generates a sig11 [1996/10/10] kern/1758 New AWE32 sound card driver for integration into -cu [1996/10/10] ports/1759 uudeview and uulib ports are imperfect (i.e. out of [1996/10/10] ports/1760 Fixed port: crack-4.1 [1996/10/10] ports/1761 Fixed port: gifmerge 1.33 [1996/10/10] ports/1763 Fixed port: txtmerge [1996/10/11] ports/1764 Fixed port: whirlgif [1996/10/11] ports/1765 Fixed port: xgas [1996/10/11] ports/1767 New port: xmascot [1996/10/11] ports/1768 New port: xmascot [1996/10/11] ports/1769 sysinstall won't install more than 1 package at once [1996/10/11] ports/1770 port of the xripple program [1996/10/11] ports/1772 Fix to a wrong description in FreeBSD port: xshisen [1996/10/11] bin/1773 A NULL pointer causing segmentation core dumped. [1996/10/11] bin/1774 telnet spins when killed before network is closed [1996/10/11] conf/1777 sysctl called in /etc/netstart before /usr mounted w [1996/10/12] bin/1778 locate.updatedb uses /tmp directory. [1996/10/13] ports/1786 Port of FileRunner 2.0 made [1996/10/13] gnu/1787 Diffs with Index: lines are not honored for new file [1996/10/13] kern/1788 netstat gives negative numbers for tcp bytes transfe [1996/10/13] bin/1789 dump estimates a negative number of tapes needed for [1996/10/13] kern/1790 access to /dev/kmem panics system [1996/10/13] misc/1791 syslimits.h does not allow overriding default value [1996/10/13] ports/1792 new port, splitvt [1996/10/13] bin/1793 /bin/sh return w/o exitstatus in a function sets exi [1996/10/13] ports/1795 New port : xcubes [1996/10/13] ports/1796 New port : xdino [1996/10/13] ports/1797 New port : gnushogi [1996/10/13] ports/1798 New port : xshogi [1996/10/13] ports/1799 New port : xbakuzan [1996/10/13] ports/1800 New port : xmold [1996/10/13] ports/1801 New port : xsokoban [1996/10/13] ports/1802 New port : xtriangles [1996/10/14] bin/1804 pkg_create hangs if the packing list has named pipes [1996/10/14] bin/1805 Bug in ftpd [1996/10/14] ports/1807 Port of SWI Prolog 2.5.6 [1996/10/14] conf/1808 The mount menu for installation fails with >6 slices [1996/10/14] i386/1809 floppy boot code causes reboot of computer [1996/10/15] bin/1810 fsck -p does not check pass 0 filesystems concurrent [1996/10/15] kern/1811 Patch to correct rows/columns for syscons [1996/10/15] kern/1812 vnodes are left in a locked state [1996/10/15] ports/1813 nntpcache-current port in incoming [1996/10/15] kern/1814 cy driver gets deadlocked sometimes [1996/10/15] pending/1815 Re: Fix for syscons TIOCGWINSZ for non 80x25 text mo [1996/10/15] ports/1816 New port for FreeBSD: xpuyo [1996/10/15] ports/1817 Fixed Makefile in port : crack [1996/10/16] misc/1820 Emacs Meta-Key doesn't work in non-x11-mode [1996/10/16] i386/1821 boot fails if bad144 selected on large partition [1996/10/16] conf/1822 no easy way to add your own default daily (sorta) [1996/10/16] bin/1823 [1996/10/16] bin/1824 [1996/10/16] bin/1827 add support of Glidepoint trackpad "tap/drag" to mou [1996/10/16] kern/1828 limit filesize does not work [1996/10/17] kern/1829 KONICA MO drive configured multiply. [1996/10/17] kern/1830 Can't mount optical disk, after different size media [1996/10/17] bin/1831 routed's rdisc mode is installing incorrectly format [1996/10/18] bin/1833 Hack rumors file not installed -- FIX enclosed. [1996/10/18] ports/1834 COMMENT may be amusing but is not informative [1996/10/18] gnu/1835 send-pr Category line is obscure [1996/10/18] ports/1837 ports upgrade too fast :) [1996/10/18] misc/1838 getttyent() arbitrary 100 char limit [1996/10/18] kern/1839 Multiple mfs mounts of same mount point [1996/10/18] ports/1840 mail/majordomo/scripts/configure, can't run under pe [1996/10/19] docs/1841 NT boot mgr too Linux centric in FAQ This is the list of problem reports already analyzed: [1994/12/01] kern/35 mount -t union -o -b : lower layer not seen by shell [1995/01/11] i386/105 Distributed libm (msun) has non-standard error handl [1995/03/20] kern/260 msync and munmap don't bother to update mod times [1995/03/20] docs/264 There are no manual pages for the forms library. [1995/03/22] kern/267 NFS code gives error messages, systems jams for a fe [1995/04/09] bin/326 Weekly cron generates some usage and error messages [1995/05/09] bin/392 Simultaneous cp and ls of files on dos f/s hangs pro [1995/05/27] gnu/450 tar --exclude -c doesn't work [1995/06/17] kern/527 dump causes assertion in ncr.c [1995/06/21] docs/538 MAP_FILE not mentioned in mmap man page. [1995/08/07] bin/661 Hercules is not capable of having a ISO-Latin1 Scree [1995/10/07] bin/771 telnet character mode not set and broken when set - [1995/10/15] kern/782 chmod does a null pointer dereference [1995/10/26] kern/794 swap partition at offset 0 still broken [1995/11/25] bin/839 by default, use of "at" is overly restricted [1995/12/04] i386/867 Notebook with APM and 3C589C in PCMCIA freezes after [1995/12/29] misc/922 From line handling incorrect in mail.local [1995/12/31] kern/924 EISA devices have disappeared from vmstat/systat int [1996/01/22] kern/965 2.0.5: system crashes daily because of "multiple fre [1996/01/30] bin/981 clnt_broadcast() is not aware of aliases [1996/02/17] bin/1030 /bin/sh does not pass environment variables on prope [1996/02/19] bin/1035 ls to terminal always uses ? for non-printable chars [1996/03/04] kern/1059 null fs panics system [1996/03/06] kern/1067 panic: ufs_lock: recursive lock not expected, pid: 2 [1996/03/18] docs/1089 stat manpage unclear about st_mtime & friends [1996/03/28] bin/1105 Bug in find command [1996/04/15] kern/1144 sig{add, del}set and sigismember fns don't check sig [1996/04/22] bin/1154 Configure tunN device for ip-over-ip tunnelling [1996/05/20] bin/1221 new gcc-2.7.2 gives a LOT of warnings, and a few ERR [1996/05/20] ports/1222 Header files conflict [1996/05/21] bin/1229 redundant redeclaration of `lseek' [1996/05/24] bin/1242 In the "sys/stat.h" file, the S_ISFIFO and S_ISSOCK [1996/06/12] bin/1315 ls(1) [1996/06/13] bin/1320 dump limits blocksize to 32K [1996/06/18] kern/1333 free vnode isn't: another -stable coredump [1996/06/21] misc/1340 make world fails [1996/07/07] bin/1375 Extraneous warning from mv(1) [1996/07/18] kern/1397 can't send to a pipe [1996/07/28] docs/1437 bsd.doc.mk sees PRINTER and spews [1996/08/02] docs/1457 ed(1) man [1996/08/28] ports/1550 "make install" needs to know how to update /usr/loca [1996/08/29] docs/1551 manpage of zgrep not installed in 2.1.5R [1996/08/30] bin/1554 routed kills default permanently [1996/09/04] bin/1565 Moving a file to it's link completely removes file [1996/09/16] bin/1621 last char in line stays "$" [1996/09/18] bin/1642 pkg_install Makefiles could be simplified [1996/10/04] bin/1722 Routed byte order problem [1996/10/06] ports/1733 Please replace some files in ports/japanese/elvis /* EOF -- this list has not been truncated */ From owner-freebsd-bugs Sat Oct 19 08:00:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA07625 for bugs-outgoing; Sat, 19 Oct 1996 08:00:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA07610; Sat, 19 Oct 1996 08:00:03 -0700 (PDT) Date: Sat, 19 Oct 1996 08:00:03 -0700 (PDT) Message-Id: <199610191500.IAA07610@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: kern/1839: Multiple mfs mounts of same mount point Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/1839; it has been noted by GNATS. From: J Wunsch To: mark@seeware.DIALix.oz.au Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/1839: Multiple mfs mounts of same mount point Date: Sat, 19 Oct 1996 16:27:11 +0200 (MET DST) As mark@seeware.DIALix.oz.au wrote: > FreeBSD-2.1.5, mount behaves very strangely, after making a mistake > in my fstab and running mount -av several times I get the following: > > putte:~# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/wd0a 29727 13729 13620 50% / > mfs:18 7199 7 6617 0% /tmp > /dev/wd0s1g 347647 216884 102952 68% /home > /dev/wd0s1e 98479 69336 21265 77% /usr > /dev/wd0s1f 297423 163296 110334 60% /usr/local > /dev/wd0s1h 48463 1314 43272 3% /var > procfs 4 4 0 100% /proc > doorway:/var/mail 78975 23927 48730 33% /var/mail > /dev/matcd0a 650002 650002 0 100% /cdrom > mfs:2912 7199 1 6623 0% /tmp > doorway:/var/mail 78975 23927 48730 33% /var/mail > mfs:2923 7199 1 6623 0% /tmp > doorway:/var/mail 78975 23927 48730 33% /var/mail > doorway:/var/mail 78975 23927 48730 33% /var/mail > mfs:2974 7199 1 6623 0% /tmp > mfs:2986 7199 1 6623 0% /tmp > doorway:/var/mail 78975 23927 48730 33% /var/mail That's natural. Basically, you've got what you've been asking for... You can mount a new instance of something over the old mountpoint. (I think you can't mount a disk partition more than once, since it's simply busy afterwards, but for NFS and MFS, they will be mounted again and again.) You should be able to umount them in reverse order. If the above is your entire problem, i'd consider it a pilot error, and not a bug. Well, maybe the semantics of `mount -a' should be changed from `try to mount everything you find in /etc/fstab' to `try to mount everything in /etc/fstab unless it's already mounted'. Opinions? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Sat Oct 19 09:31:36 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA21185 for bugs-outgoing; Sat, 19 Oct 1996 09:31:36 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA21167; Sat, 19 Oct 1996 09:31:31 -0700 (PDT) Date: Sat, 19 Oct 1996 09:31:31 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610191631.JAA21167@freefall.freebsd.org> To: luigi@iet.unipi.it, joerg, freebsd-bugs Subject: Re: misc/1838 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: getttyent() arbitrary 100 char limit State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Sat Oct 19 18:30:14 MET DST 1996 State-Changed-Why: Fixed by making the line buffer dynamic in rev 1.4 of getttyent.c. From owner-freebsd-bugs Sat Oct 19 11:40:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA26781 for bugs-outgoing; Sat, 19 Oct 1996 11:40:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA26753; Sat, 19 Oct 1996 11:40:02 -0700 (PDT) Resent-Date: Sat, 19 Oct 1996 11:40:02 -0700 (PDT) Resent-Message-Id: <199610191840.LAA26753@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, max@wide.ad.jp Received: from mail.tky007.tth.expo96.ad.jp (masafumi@tky007.tth.expo96.ad.jp [133.246.32.58]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA26532 for ; Sat, 19 Oct 1996 11:36:39 -0700 (PDT) Received: (from masafumi@localhost) by mail.tky007.tth.expo96.ad.jp (8.7.6/3.4W4-SMTP) id DAA26298; Sun, 20 Oct 1996 03:34:49 +0900 (JST) Message-Id: <199610191834.DAA26298@mail.tky007.tth.expo96.ad.jp> Date: Sun, 20 Oct 1996 03:34:49 +0900 (JST) From: Masafumi NAKANE Reply-To: max@wide.ad.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1843: Gdb dumps core upon executing ``help set'' Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1843 >Category: bin >Synopsis: Gdb dumps core upon executing ``help set'' >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 19 11:40:01 PDT 1996 >Last-Modified: >Originator: Masafumi NAKANE >Organization: >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD-current as of CTM delta up to src-cur.2322 applied. >Description: Gdb dies if ``help set'' is executed and dumps core. >How-To-Repeat: /usr/bin/gdb ... (gdb) help set >Fix: >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sat Oct 19 13:12:24 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA01102 for bugs-outgoing; Sat, 19 Oct 1996 13:12:24 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA01083; Sat, 19 Oct 1996 13:12:21 -0700 (PDT) Date: Sat, 19 Oct 1996 13:12:21 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199610192012.NAA01083@freefall.freebsd.org> To: koshy@india.hp.com, jkh, freebsd-bugs Subject: Re: bin/1833 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Hack rumors file not installed -- FIX enclosed. State-Changed-From-To: open-closed State-Changed-By: jkh State-Changed-When: Sat Oct 19 13:11:55 PDT 1996 State-Changed-Why: Done. You have enough time to play hack?? Wow, somebody give this man a project! :-) From owner-freebsd-bugs Sat Oct 19 13:47:55 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA03814 for bugs-outgoing; Sat, 19 Oct 1996 13:47:55 -0700 (PDT) Received: (from alex@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA03802; Sat, 19 Oct 1996 13:47:53 -0700 (PDT) Date: Sat, 19 Oct 1996 13:47:53 -0700 (PDT) From: Alex Nash Message-Id: <199610192047.NAA03802@freefall.freebsd.org> To: gurney_j@efn.org, alex, freebsd-bugs Subject: Re: misc/1731 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: missing area code 541 State-Changed-From-To: open-closed State-Changed-By: alex State-Changed-When: Sat Oct 19 13:46:55 PDT 1996 State-Changed-Why: Fixed in rev 1.5 of na.phone. From owner-freebsd-bugs Sat Oct 19 14:04:20 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA05651 for bugs-outgoing; Sat, 19 Oct 1996 14:04:20 -0700 (PDT) Received: (from alex@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA05627; Sat, 19 Oct 1996 14:04:17 -0700 (PDT) Date: Sat, 19 Oct 1996 14:04:17 -0700 (PDT) From: Alex Nash Message-Id: <199610192104.OAA05627@freefall.freebsd.org> To: jmg@nike.efn.org, alex, freebsd-bugs Subject: Re: conf/1822 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: no easy way to add your own default daily (sorta) State-Changed-From-To: open-closed State-Changed-By: alex State-Changed-When: Sat Oct 19 14:03:26 PDT 1996 State-Changed-Why: Suggested fix added to rev 1.21 of /etc/daily. From owner-freebsd-bugs Sat Oct 19 14:45:26 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA09850 for bugs-outgoing; Sat, 19 Oct 1996 14:45:26 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA09824; Sat, 19 Oct 1996 14:45:19 -0700 (PDT) Date: Sat, 19 Oct 1996 14:45:19 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610192145.OAA09824@freefall.freebsd.org> To: hsu@clinet.fi, joerg, freebsd-bugs Subject: Re: gnu/1047 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: send-pr: Aborting... State-Changed-From-To: open-feedback State-Changed-By: joerg State-Changed-When: Sat Oct 19 23:44:02 MET DST 1996 State-Changed-Why: This most likely looks like a local configuration or hardware problem. Does it still persist at all? send-pr itself DTRT, thus it cannot be fixed. Nobody else seems to experience such troubles. From owner-freebsd-bugs Sat Oct 19 14:47:16 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10050 for bugs-outgoing; Sat, 19 Oct 1996 14:47:16 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10025; Sat, 19 Oct 1996 14:47:09 -0700 (PDT) Date: Sat, 19 Oct 1996 14:47:09 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610192147.OAA10025@freefall.freebsd.org> To: j@uriah.heep.sax.de, joerg, freebsd-bugs Subject: Re: gnu/1209 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: send-pr should refuse PR's without subject and synopsis State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Sat Oct 19 23:46:10 MET DST 1996 State-Changed-Why: Fixed in rev 1.6 of send-pr.sh; Synopsis is now mandatory, and its value will be reused for Subject if left blank. From owner-freebsd-bugs Sat Oct 19 14:48:17 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10201 for bugs-outgoing; Sat, 19 Oct 1996 14:48:17 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10170; Sat, 19 Oct 1996 14:48:11 -0700 (PDT) Date: Sat, 19 Oct 1996 14:48:11 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610192148.OAA10170@freefall.freebsd.org> To: bwithrow@BayNetworks.com, joerg, freebsd-bugs Subject: Re: ports/1415 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Installing gnats package makes send-pr fail. State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Sat Oct 19 23:47:19 MET DST 1996 State-Changed-Why: Sorry, pilot error. You must make sure to use /usr/bin/send-pr, and not /usr/local/bin/send-pr, in order to send a FreeBSD-related PR. From owner-freebsd-bugs Sat Oct 19 14:50:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10392 for bugs-outgoing; Sat, 19 Oct 1996 14:50:05 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10333; Sat, 19 Oct 1996 14:50:01 -0700 (PDT) Date: Sat, 19 Oct 1996 14:50:01 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610192150.OAA10333@freefall.freebsd.org> To: leonard@dstc.edu.au, joerg, freebsd-bugs Subject: Re: gnu/1471 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: send-pr needs configurable Reply-To field State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Sat Oct 19 23:48:30 MET DST 1996 State-Changed-Why: Fixed in rev 1.6 of send-pr.sh. REPLY_TO or REPLYTO from the environment now get precedence over LOGNAME for the Reply-To address. The domainname will be added by the mail transport if necessary, btw. PRs 1472 and 1823 were basically dup's for 1471. From owner-freebsd-bugs Sat Oct 19 14:50:33 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10527 for bugs-outgoing; Sat, 19 Oct 1996 14:50:33 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10486; Sat, 19 Oct 1996 14:50:28 -0700 (PDT) Date: Sat, 19 Oct 1996 14:50:28 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610192150.OAA10486@freefall.freebsd.org> To: leonard@dstc.edu.au, joerg, freebsd-bugs Subject: Re: gnu/1472 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: send-pr could have a configurable Reply-To field State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Sat Oct 19 23:48:30 MET DST 1996 State-Changed-Why: Fixed in rev 1.6 of send-pr.sh. REPLY_TO or REPLYTO from the environment now get precedence over LOGNAME for the Reply-To address. The domainname will be added by the mail transport if necessary, btw. PRs 1472 and 1823 were basically dup's for 1471. From owner-freebsd-bugs Sat Oct 19 14:51:00 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10629 for bugs-outgoing; Sat, 19 Oct 1996 14:51:00 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10603; Sat, 19 Oct 1996 14:50:55 -0700 (PDT) Date: Sat, 19 Oct 1996 14:50:55 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610192150.OAA10603@freefall.freebsd.org> To: gurney_j@efn.org, joerg, freebsd-bugs Subject: Re: bin/1823 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Sat Oct 19 23:48:30 MET DST 1996 State-Changed-Why: Fixed in rev 1.6 of send-pr.sh. REPLY_TO or REPLYTO from the environment now get precedence over LOGNAME for the Reply-To address. The domainname will be added by the mail transport if necessary, btw. PRs 1472 and 1823 were basically dup's for 1471. From owner-freebsd-bugs Sat Oct 19 14:51:45 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10791 for bugs-outgoing; Sat, 19 Oct 1996 14:51:45 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10764; Sat, 19 Oct 1996 14:51:41 -0700 (PDT) Date: Sat, 19 Oct 1996 14:51:41 -0700 (PDT) From: Joerg Wunsch Message-Id: <199610192151.OAA10764@freefall.freebsd.org> To: jhs@freebsd.org, joerg, freebsd-bugs Subject: Re: gnu/1835 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Synopsis: send-pr Category line is obscure State-Changed-From-To: open-closed State-Changed-By: joerg State-Changed-When: Sat Oct 19 23:51:09 MET DST 1996 State-Changed-Why: Fixed in rev 1.6 of send-pr.sh. From owner-freebsd-bugs Sat Oct 19 17:00:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA21543 for bugs-outgoing; Sat, 19 Oct 1996 17:00:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA21535; Sat, 19 Oct 1996 17:00:02 -0700 (PDT) Date: Sat, 19 Oct 1996 17:00:02 -0700 (PDT) Message-Id: <199610200000.RAA21535@freefall.freebsd.org> To: freebsd-bugs Cc: From: Mark Hannon Subject: Re: kern/1839: Multiple mfs mounts of same mount point Reply-To: Mark Hannon Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/1839; it has been noted by GNATS. From: Mark Hannon To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: mark@seeware.DIALix.oz.au, FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/1839: Multiple mfs mounts of same mount point Date: Sun, 20 Oct 1996 09:16:38 +1000 > As mark@seeware.DIALix.oz.au wrote: > > > FreeBSD-2.1.5, mount behaves very strangely, after making a mistake > > in my fstab and running mount -av several times I get the following: > > > > putte:~# df > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/wd0a 29727 13729 13620 50% / > > mfs:18 7199 7 6617 0% /tmp > > /dev/wd0s1g 347647 216884 102952 68% /home > > /dev/wd0s1e 98479 69336 21265 77% /usr > > /dev/wd0s1f 297423 163296 110334 60% /usr/local > > /dev/wd0s1h 48463 1314 43272 3% /var > > procfs 4 4 0 100% /proc > > doorway:/var/mail 78975 23927 48730 33% /var/mail > > /dev/matcd0a 650002 650002 0 100% /cdrom > > mfs:2912 7199 1 6623 0% /tmp > > doorway:/var/mail 78975 23927 48730 33% /var/mail > > mfs:2923 7199 1 6623 0% /tmp > > doorway:/var/mail 78975 23927 48730 33% /var/mail > > doorway:/var/mail 78975 23927 48730 33% /var/mail > > mfs:2974 7199 1 6623 0% /tmp > > mfs:2986 7199 1 6623 0% /tmp > > doorway:/var/mail 78975 23927 48730 33% /var/mail > > That's natural. Basically, you've got what you've been asking for... > You can mount a new instance of something over the old mountpoint. (I > think you can't mount a disk partition more than once, since it's > simply busy afterwards, but for NFS and MFS, they will be mounted > again and again.) > > You should be able to umount them in reverse order. > Must admit that I didn't try this. > If the above is your entire problem, i'd consider it a pilot error, > and not a bug. Well, maybe the semantics of `mount -a' should be > changed from `try to mount everything you find in /etc/fstab' to `try > to mount everything in /etc/fstab unless it's already mounted'. > > Opinions? > At least to my way of thinking the command semantics should be to mount everything that isn't already mounted - I use the command if I ever update fstab with several changes - it that case what I really want is an update of the mount state - perhaps a different flag?? In any case not a big issue - perhaps all that needs to be done is to add some text to the mountd man page. Rgds/mark -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Mark Hannon,| FreeBSD, Free Unix for your PC | mark@seeware.DIALix.oz.au| | Melbourne, | PGP key available by fingering | epamha@epa.ericsson.se | | Australia | seeware@melbourne.DIALix.oz.au | | +-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+