From owner-freebsd-bugs Sun Sep 3 08:11:28 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id IAA19667 for bugs-outgoing; Sun, 3 Sep 1995 08:11:28 -0700 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id IAA19648 ; Sun, 3 Sep 1995 08:11:24 -0700 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id RAA22602 ; Sun, 3 Sep 1995 17:11:21 +0200 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id RAA02247 ; Sun, 3 Sep 1995 17:11:20 +0200 Received: (from roberto@localhost) by keltia.frmug.fr.net (8.7.Beta.11/keltia-uucp-2.4) id BAA07245; Sun, 3 Sep 1995 01:49:05 +0200 (MET DST) From: Ollivier Robert Message-Id: <199509022349.BAA07245@keltia.frmug.fr.net> Subject: Re: Daily Usenet report (fwd) To: batie@agora.rdrop.com (Alan Batie) Date: Sun, 3 Sep 1995 01:49:05 +0200 (MET DST) Cc: freebsd-bugs@freebsd.org, ports@freebsd.org Reply-To: roberto@Keltia.Freenix.FR (Ollivier Robert) In-Reply-To: from "Alan Batie" at Sep 1, 95 07:27:50 pm X-Operating-System: FreeBSD 2.2-CURRENT ctm#1022 X-Mailer: ELM [version 2.4 PL24 ME7a] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: bugs-owner@freebsd.org Precedence: bulk It seems that Alan Batie said: > I'm not sure what's going on here, but on FreeBSD 2.1.0-950726-SNAP, > innstat run from news.daily is reporting multiple occurences of /var/news. > When I login and run it manually, it shows only one. I don't know if it's > cron fiddling with stdout (seems unlikely), the mount table getting messed > up (but why isn't it staying messed up?) or innstat getting confused, but > I thought I'd mention it... I get it from times to times too. I've not really tried to see where the df output is messed up though. I don't think it is something to bother with... -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia 2.2-CURRENT #16: Tue Aug 22 01:54:17 MET DST 1995 From owner-freebsd-bugs Sun Sep 3 09:35:09 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id JAA22576 for bugs-outgoing; Sun, 3 Sep 1995 09:35:09 -0700 Received: from agora.rdrop.com (agora.rdrop.com [199.2.210.241]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id JAA22555 ; Sun, 3 Sep 1995 09:35:05 -0700 Received: by agora.rdrop.com (Smail3.1.28.1 #8) id m0spI0e-0001G5C; Sun, 3 Sep 95 09:34 PDT Message-Id: From: batie@agora.rdrop.com (Alan Batie) Subject: Re: Daily Usenet report (fwd) To: roberto@Keltia.Freenix.FR Date: Sun, 3 Sep 1995 09:34:45 -0700 (PDT) Cc: freebsd-bugs@freebsd.org, ports@freebsd.org In-Reply-To: <199509022349.BAA07245@keltia.frmug.fr.net> from "Ollivier Robert" at Sep 3, 95 01:49:05 am X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 704 Sender: bugs-owner@freebsd.org Precedence: bulk > I get it from times to times too. I've not really tried to see where the > df output is messed up though. I don't think it is something to bother > with... I got a message saying that innstat does a df on various configurable directories, and if they happen to be on the same filesystem (and some usually are), you will get multiple df's for that filesystem. So, it's an inn peculiarity, and not really a problem. -- Alan Batie ______ batie@agora.rdrop.com \ / Freedom for me to be and do +1 503 452-0960 \ / only what *you* approve of 45 28 59 N / 122 43 20 W / 440' MSL \/ is no freedom at all. From owner-freebsd-bugs Sun Sep 3 15:34:23 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id PAA03084 for bugs-outgoing; Sun, 3 Sep 1995 15:34:23 -0700 Received: from warp10.smartlink.net (smartlink.net [204.118.4.2]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id PAA03078 ; Sun, 3 Sep 1995 15:34:21 -0700 Received: by warp10.smartlink.net(8.6.12/SMARTLINK-1.0) with id PAA01308 for on Sun, 3 Sep 1995 15:35:35 -0700 Date: Sun, 3 Sep 1995 15:35:35 -0700 (PDT) From: Joseph McDonald To: freebsd-questions@freebsd.org cc: freebsd-bugs@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: bugs-owner@freebsd.org Precedence: bulk Hi. I'm having a weird routing problem. If I log into the FreeBSD machine via modem->termserver->FBSD and the modem drops carrier in the middle of the session, the route to my computer gets changed to the ethernet! Here is the relavent line from "netstat -nr" after dropping carrier 204.118.4.11 link#2 UHLW 1 19 which is not correct. The IP of the FBSD machine is 204.118.4.12 and the IP's for the termservers are: 204.118.4.6 and 204.118.4.8, I never know which one I'm going to log into at any one time. I am running routed -q on the BSD machine. Does anyone have any ideas what could be going on and how to prevent this? Thanks, -joe P.S. this is 2.0.5-RELEASE. The termservers are portmasters. From owner-freebsd-bugs Sun Sep 3 17:50:02 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id RAA07683 for bugs-outgoing; Sun, 3 Sep 1995 17:50:02 -0700 Received: (from gnats@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id RAA07676 ; Sun, 3 Sep 1995 17:50:01 -0700 Resent-Date: Sun, 3 Sep 1995 17:50:01 -0700 Resent-Message-Id: <199509040050.RAA07676@freefall.FreeBSD.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, doug@carbine.holster.demos.com Received: from pistol.holster.demos.com (pistol.holster.demos.com [199.2.210.228]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id RAA07438 for ; Sun, 3 Sep 1995 17:40:24 -0700 Received: (from doug@localhost) by pistol.holster.demos.com (8.6.11/8.6.9) id RAA00760; Sun, 3 Sep 1995 17:36:21 -0700 Message-Id: <199509040036.RAA00760@pistol.holster.demos.com> Date: Sun, 3 Sep 1995 17:36:21 -0700 From: Douglas Jackson Reply-To: doug@carbine.holster.demos.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/719: TK port doesn't respond to buttons Sender: bugs-owner@freebsd.org Precedence: bulk >Number: 719 >Category: ports >Synopsis: TK port doesn't respond to buttons >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 3 17:50:01 PDT 1995 >Last-Modified: >Originator: Douglas Jackson >Organization: >Release: FreeBSD 2.0-BUILT-19950628 i386 >Environment: Running the snap, with no kernal patches, or anything, since I got it. XFree86, just as it installed on June 29th. FVWM >Description: There is no response from pressing any buttons. >How-To-Repeat: sup ports cd /usr/ports/x11 make tk su make install cd /usr/ports/x11/tk/work/tk3.6/library/demos ./hello or alternately: ../wish ./hello Notice that clicking on the button doesn't do anything. Other info: Notice also that the button does respond to the presence of the mouse pointer, and does change color. All of the tests of tk do pass: cd /usr/ports/x11/tk/work/tk3.6 make tktest cd tests ../tktest source all >Fix: Don't know yet -- Hoping for some advice in that score. >Audit-Trail: >Unformatted: From owner-freebsd-bugs Sun Sep 3 23:21:55 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id XAA17912 for bugs-outgoing; Sun, 3 Sep 1995 23:21:55 -0700 Received: from fgwmail.fujitsu.co.jp (fgwmail.fujitsu.co.jp [164.71.1.133]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id XAA17902 for ; Sun, 3 Sep 1995 23:21:42 -0700 Received: from fdmmail.fujitsu.co.jp by fgwmail.fujitsu.co.jp (8.6.12+2.5Wb4/3.3W5-MX950612-Fujitsu Mail Gateway) id PAA07256; Mon, 4 Sep 1995 15:21:32 +0900 Received: from fdm.fujitsu.co.jp by fdmmail.fujitsu.co.jp (8.6.12+2.5Wb4/3.3W5-MX950612-Fujitsu Domain Mail Master) id PAA05464; Mon, 4 Sep 1995 15:09:02 +0900 Received: from [133.160.49.9] by fdm.fujitsu.co.jp (5.65/6.4J.6) id AA15494; Mon, 4 Sep 95 15:09:02 +0900 Received: from localhost (yuhara@localhost) by cindy.avalon.flab.fujitsu.co.jp (8.6.9+2.4Wb/3.3Wb-ocsys-94092200) with SMTP id PAA01573; Mon, 4 Sep 1995 15:09:01 +0900 Message-Id: <199509040609.PAA01573@cindy.avalon.flab.fujitsu.co.jp> To: freebsd-bugs@freebsd.org, freebsd-scsi@freebsd.org Subject: BT-946C Sync mode bug Reply-To: yuhara@flab.fujitsu.co.jp From: yuhara@flab.fujitsu.co.jp Cc: amurai@spec.co.jp Date: Mon, 04 Sep 1995 15:09:00 +0900 Sender: bugs-owner@freebsd.org Precedence: bulk Bug Report: Buslogic SCSI adaptor driver FreeBSD version: 2.1.0-SNAP-950726 File: /usr/src/sys/i386/bt742a.c Symptom: The driver recognizes a newer PCI adaptor as ASYNC ONLY, which is wrong. Adaptor: : A newer BT-946C which the driver recognizes as ASYNC ONLY (BAD). Firmware 4.25J BIOS Revision 4.92E AutoSCSI v1.06 : An older BT-946C which the driver recognizes as SYNC (OK). Firmware 4.23 BIOS Revision 4.90 AutoSCSI v1.04 Detail: The information (the info structure) returned by the BT_INQUIRE_EXTENDED command is different: Adaptor : num_mbx = 0, (padding=0x0 0x0 0x0), mbx_base=0x33324000, s=0x20: resv1=0, maxsync=0, resv2=0, sync=1, resv3=0 firmid=0x0 0x0 0x0 Adaptor : num_mbx = 0, (padding=0x0 0x0 0x0), mbx_base=0x35324000, s=0x4a, resv1=2, maxsync=0, resv2=1, sync=0, resv3=1 firmid=0x0 0x0 0x0 Since info.sync is zero for Adaptor , all the SCSI devices are treated as ASYNC. When I enfoce the driver: info.s.maxsync = info.s.sync = 1 the adaptor seems to work just fine with 10MB/s sync mode. (I'm not on the mailing lists. Please include my address in your reply.) ------ Masanobu Yuhara yuhara@flab.fujitsu.co.jp Fujitsu Laboratories Ltd. From owner-freebsd-bugs Mon Sep 4 04:24:15 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id EAA29674 for bugs-outgoing; Mon, 4 Sep 1995 04:24:15 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id EAA29649 ; Mon, 4 Sep 1995 04:23:57 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id NAA00138; Mon, 4 Sep 1995 13:22:07 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id NAA14191; Mon, 4 Sep 1995 13:22:07 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id LAA22884; Mon, 4 Sep 1995 11:36:57 +0200 From: J Wunsch Message-Id: <199509040936.LAA22884@uriah.heep.sax.de> Subject: Re: your mail To: joe@smartlink.net (Joseph McDonald) Date: Mon, 4 Sep 1995 11:36:56 +0200 (MET DST) Cc: freebsd-questions@freebsd.org, freebsd-bugs@freebsd.org In-Reply-To: from "Joseph McDonald" at Sep 3, 95 03:35:35 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 851 Sender: bugs-owner@freebsd.org Precedence: bulk As Joseph McDonald wrote: > > I'm having a weird routing problem. If I log into the FreeBSD machine > via modem->termserver->FBSD and the modem drops carrier in the middle of > the session, the route to my computer gets changed to the ethernet! Your netmask for the ethernet interface does include the IP address of the SLIP peer. As long as the SLIP interface is up & running, its own host route gets precedence over the ethernet network route. However, if the modem drops carrier, the specific host route (this is the _remote_ IP address of the SLIP i/f) disappears, hence all further packets for this address default to the ethernet route, and the IP layers attempt to ARP for it on the ethernet. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Mon Sep 4 22:29:59 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id WAA01783 for bugs-outgoing; Mon, 4 Sep 1995 22:29:59 -0700 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id WAA01767 for ; Mon, 4 Sep 1995 22:29:56 -0700 Received: from agora.rdrop.com (agora.rdrop.com [199.2.210.241]) by who.cdrom.com (8.6.11/8.6.11) with SMTP id QAA15268 for ; Mon, 4 Sep 1995 16:38:07 -0700 Received: by agora.rdrop.com (Smail3.1.28.1 #8) id m0spl4R-0001I0C; Mon, 4 Sep 95 16:36 PDT Message-Id: From: batie@agora.rdrop.com (Alan Batie) Subject: Adding disks? To: freebsd-bugs@FreeBSD.org Date: Mon, 4 Sep 1995 16:36:35 -0700 (PDT) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 735 Sender: bugs-owner@FreeBSD.org Precedence: bulk FreeBSD 2.1.0-950726-SNAP How the heck do you add new disks? fdisk complains it can't get the disk parameters from any of the /dev devices and sysinstall isn't writing out partition information even when you say "yes, dammit, I really want to write it out now and not later". I'd really like to see the partition and label parts of sysinstall pulled out into an "newdisk" utility (although it should support more than the 4 devices that sysinstall sees). -- Alan Batie ______ batie@agora.rdrop.com \ / Freedom for me to be and do +1 503 452-0960 \ / only what *you* approve of 45 28 59 N / 122 43 20 W / 440' MSL \/ is no freedom at all. From owner-freebsd-bugs Mon Sep 4 23:22:48 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id XAA08285 for bugs-outgoing; Mon, 4 Sep 1995 23:22:48 -0700 Received: from specgw.spec.co.jp (specgw.spec.co.jp [202.32.13.1]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id XAA08231 ; Mon, 4 Sep 1995 23:22:05 -0700 Received: from tama3.spec.co.jp (tama3 [202.32.13.252]) by specgw.spec.co.jp (8.6.5/3.3Wb-SPEC) with SMTP id PAA11490; Tue, 5 Sep 1995 15:15:47 +0900 Message-Id: <9509050627.AA00128@tama3.spec.co.jp.spec.co.jp> Date: Tue, 05 Sep 1995 15:27:08 +0900 From: Atsushi Murai To: yuhara@flab.fujitsu.co.jp Cc: freebsd-bugs@freebsd.org, freebsd-scsi@freebsd.org Subject: Re: BT-946C Sync mode bug In-Reply-To: <199509040609.PAA01573@cindy.avalon.flab.fujitsu.co.jp> X-Mailer: AL-Mail 0.94Beta Sender: bugs-owner@freebsd.org Precedence: bulk yuhara@flab.fujitsu.co.jp wrote: :Bug Report: Buslogic SCSI adaptor driver : :FreeBSD version: 2.1.0-SNAP-950726 : :File: /usr/src/sys/i386/bt742a.c : :Symptom: The driver recognizes a newer PCI adaptor as ASYNC ONLY, : which is wrong. Thank your reporting this issue. And hoply it should be fixed a day of last month (Sorry my memory is erased ...;-) If you still have same symptom, please let me know. :------ :Masanobu Yuhara yuhara@flab.fujitsu.co.jp :Fujitsu Laboratories Ltd. : : Thanks again. Atsushi. -- Atsushi Murai E-Mail: amurai@spec.co.jp SPEC Voice : +81-3-3833-5341 System Planning and Engineering Corp. From owner-freebsd-bugs Tue Sep 5 15:07:05 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id PAA08067 for bugs-outgoing; Tue, 5 Sep 1995 15:07:05 -0700 Received: from cliff.corp.cubic.COM (cliff.corp.cubic.com [149.63.66.25]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id PAA08061 for ; Tue, 5 Sep 1995 15:07:03 -0700 From: price@earth.corp.cubic.COM Received: from earth.corp.cubic.COM (earth.corp.cubic.com [149.63.65.10]) by cliff.corp.cubic.COM (8.6.9/8.6.9) with ESMTP id OAA04913 for ; Tue, 5 Sep 1995 14:59:53 -0700 Received: (price@localhost) by earth.corp.cubic.COM (8.6.9/8.6.4) id PAA05904 for bugs@freebsd.org; Tue, 5 Sep 1995 15:03:33 -0700 Date: Tue, 5 Sep 1995 15:03:33 -0700 Message-Id: <199509052203.PAA05904@earth.corp.cubic.COM> To: bugs@freebsd.org Subject: aic7xxx driver Content-Length: 433 Sender: bugs-owner@freebsd.org Precedence: bulk I reported to Justin Gibbs that Linux and FreeBSD were not supporting motherboard based aic7850's and aic7870's controllers. Tell Justin I will send him a motherboard if the latest patch to linux doe snt work. It's on ftp.ims.com and is in /pub/Linux/aic7xxx/linux-1.3.21-AIC7xxx /linux-1.3.21-AIC7xxx.patch.gz. Hopefully this will do the trick and can be incorporated into FreeBSD so I can continue the GNAT port to FreeBSD. :-) From owner-freebsd-bugs Tue Sep 5 17:41:26 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id RAA13067 for bugs-outgoing; Tue, 5 Sep 1995 17:41:26 -0700 Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.6.11/8.6.6) with SMTP id RAA13061 for ; Tue, 5 Sep 1995 17:41:25 -0700 Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <14578(19)>; Tue, 5 Sep 1995 17:40:49 PDT Received: by crevenia.parc.xerox.com id <177475>; Tue, 5 Sep 1995 17:40:45 -0700 From: Bill Fenner To: bugs@freebsd.org Subject: NIS passwd file doesn't work on 2.1.0-950726-SNAP? Message-Id: <95Sep5.174045pdt.177475@crevenia.parc.xerox.com> Date: Tue, 5 Sep 1995 17:40:38 PDT Sender: bugs-owner@freebsd.org Precedence: bulk The root disk on the FreeBSD machine on my disk toasted itself, so I decided to install 2.1.0-950726-SNAP. I couldn't get it to use our YP passwd file; "login" refuses my login and "finger" dumps core. The core dump is in _netyppass, in getpwent.c:742 -- free(result). At this point, result == 0x72, and resultlen == 1702065519. It turns out that our NIS map has a user that looks like parcprotouser:*:100:0::/:/no_shell and trying to sprintf() parcprotouser into user[UT_NAMESIZE] fails miserably. I fixed it by a) making user[] big enough to sprintf() into (tsk, tsk!) b) truncating the username to UT_NAMESIZE bytes. Note that this code also had a potential core dump if it got an answer from the YP server that didn't have a colon in it. I didn't really know how to handle that case; I truncated the username to 0 bytes, which isn't the right thing to do, but I don't know what is. Bill --- /usr/src/lib/libc/gen/getpwent.c.orig Tue Sep 5 17:04:47 1995 +++ getpwent.c Tue Sep 5 17:32:14 1995 @@ -585,14 +585,15 @@ static int _getyppass(struct passwd *pw, const char *name, const char *map) { - char *result, *s; + char *result, *s, *q; static char resultbuf[1024]; int resultlen; char mastermap[1024]; int gotmaster = 0; struct _pw_cache *m, *p; struct _namelist *n; - char user[UT_NAMESIZE]; + char user[UT_NAMESIZE + 1]; + int ul; if(!_pw_yp_domain) { if(yp_get_default_domain(&_pw_yp_domain)) @@ -617,7 +618,13 @@ if(resultlen >= sizeof resultbuf) return 0; strcpy(resultbuf, result); - sprintf (user, "%.*s", (strchr(result, ':') - result), result); + q = strchr(result, ':'); + if (q) { + ul = q - result > UT_NAMESIZE ? UT_NAMESIZE : q - result; + } else { + ul = 0; /*XXX no colon -- do what? */ + } + sprintf (user, "%.*s", ul, result); _pw_passwd.pw_fields = -1; /* Impossible value */ if (_minuscnt && _minushead) { m = _minushead; @@ -669,7 +676,9 @@ int gotmaster = 0; struct _pw_cache *m, *p; struct _namelist *n; - char user[UT_NAMESIZE]; + char user[UT_NAMESIZE+1]; + int ul; + char *q; if(!_pw_yp_domain) { if(yp_get_default_domain(&_pw_yp_domain)) @@ -710,7 +719,13 @@ } strcpy(resultbuf, result); - sprintf(user, "%.*s", (strchr(result, ':') - result), result); + q = strchr(result, ':'); + if (q) { + ul = q - result > UT_NAMESIZE ? UT_NAMESIZE : q - result; + } else { + ul = 0; /*XXX no colon -- do what? */ + } + sprintf (user, "%.*s", ul, result); _pw_passwd.pw_fields = -1; /* Impossible value */ if (_minuscnt && _minushead) { m = _minushead; From owner-freebsd-bugs Tue Sep 5 19:13:00 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id TAA15958 for bugs-outgoing; Tue, 5 Sep 1995 19:13:00 -0700 Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.6.11/8.6.6) with SMTP id TAA15948 for ; Tue, 5 Sep 1995 19:12:58 -0700 Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <14828(10)>; Tue, 5 Sep 1995 19:12:17 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <177475>; Tue, 5 Sep 1995 19:12:08 -0700 cc: Bill Fenner To: bugs@freebsd.org Subject: Re: NIS passwd file doesn't work on 2.1.0-950726-SNAP? In-reply-to: Your message of "Tue, 05 Sep 95 17:40:38 PDT." <95Sep5.174045pdt.177475@crevenia.parc.xerox.com> Date: Tue, 5 Sep 1995 19:11:58 PDT From: Bill Fenner Message-Id: <95Sep5.191208pdt.177475@crevenia.parc.xerox.com> Sender: bugs-owner@freebsd.org Precedence: bulk Urgh, after looking over my changes, it looks like it could be much simpler, without doing any truncation. I also removed the static resultbuf[] and the copies; seemed like a waste. These are from the original, not from the first diffs I sent. Bill --- getpwent.c.orig Tue Sep 5 17:04:47 1995 +++ getpwent.c Tue Sep 5 18:30:56 1995 @@ -586,13 +586,11 @@ _getyppass(struct passwd *pw, const char *name, const char *map) { char *result, *s; - static char resultbuf[1024]; int resultlen; char mastermap[1024]; int gotmaster = 0; struct _pw_cache *m, *p; struct _namelist *n; - char user[UT_NAMESIZE]; if(!_pw_yp_domain) { if(yp_get_default_domain(&_pw_yp_domain)) @@ -613,18 +611,23 @@ return 0; s = strchr(result, '\n'); - if(s) *s = '\0'; + if (s) *s = '\0'; - if(resultlen >= sizeof resultbuf) return 0; - strcpy(resultbuf, result); - sprintf (user, "%.*s", (strchr(result, ':') - result), result); + s = strchr(result, ':'); + if (s) { + *s = '\0'; + } else { + /* malformed, no colon */ + free(result); + return 0; + } _pw_passwd.pw_fields = -1; /* Impossible value */ if (_minuscnt && _minushead) { m = _minushead; while (m) { n = m->namelist; while (n) { - if (!strcmp(n->name,user) || *n->name == '\0') { + if (!strcmp(n->name,result) || *n->name == '\0') { free(result); return (0); } @@ -638,7 +641,7 @@ while (p) { n = p->namelist; while (n) { - if (!strcmp(n->name, user) || *n->name == '\0') + if (!strcmp(n->name, result) || *n->name == '\0') bcopy((char *)&p->pw_entry, (char *)&_pw_passwd, sizeof(p->pw_entry)); n = n->next; @@ -646,12 +649,14 @@ p = p->next; } } - free(result); /* No hits in the plus or minus lists: Bzzt! reject. */ - if (_pw_passwd.pw_fields == -1) + if (_pw_passwd.pw_fields == -1) { + free(result); return(0); - result = resultbuf; - _pw_breakout_yp(pw, resultbuf, gotmaster); + } + *s = ':'; /* Put colon back */ + _pw_breakout_yp(pw, result, gotmaster); + free(result); return 1; } @@ -662,14 +667,13 @@ static char *key; static int keylen; char *lastkey, *result; - static char resultbuf[1024]; int resultlen; int rv; char *map = "passwd.byname"; int gotmaster = 0; struct _pw_cache *m, *p; struct _namelist *n; - char user[UT_NAMESIZE]; + char *s; if(!_pw_yp_domain) { if(yp_get_default_domain(&_pw_yp_domain)) @@ -704,20 +708,21 @@ return 0; } - if(resultlen > sizeof(resultbuf)) { + s = strchr(result, ':'); + if (s) { + *s = '\0'; + } else { + /* malformed, no colon */ free(result); goto tryagain; } - - strcpy(resultbuf, result); - sprintf(user, "%.*s", (strchr(result, ':') - result), result); _pw_passwd.pw_fields = -1; /* Impossible value */ if (_minuscnt && _minushead) { m = _minushead; while (m) { n = m->namelist; while (n) { - if (!strcmp(n->name, user) || *n->name == '\0') { + if (!strcmp(n->name, result) || *n->name == '\0') { free(result); goto tryagain; } @@ -731,7 +736,7 @@ while (p) { n = p->namelist; while (n) { - if (!strcmp(n->name, user) || *n->name == '\0') + if (!strcmp(n->name, result) || *n->name == '\0') bcopy((char *)&p->pw_entry, (char*)&_pw_passwd, sizeof(p->pw_entry)); n = n->next; @@ -739,12 +744,15 @@ p = p->next; } } - free(result); /* No plus or minus hits: Bzzzt! reject. */ - if (_pw_passwd.pw_fields == -1) + if (_pw_passwd.pw_fields == -1) { + free(result); goto tryagain; - if(result = strchr(resultbuf, '\n')) *result = '\0'; - _pw_breakout_yp(pw, resultbuf, gotmaster); + } + *s = ':'; /* Put colon back */ + if(s = strchr(result, '\n')) *s = '\0'; + _pw_breakout_yp(pw, result, gotmaster); + free(result); } return 1; } From owner-freebsd-bugs Tue Sep 5 23:38:08 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id XAA02592 for bugs-outgoing; Tue, 5 Sep 1995 23:38:08 -0700 Received: from fgwmail.fujitsu.co.jp (fgwmail.fujitsu.co.jp [164.71.1.133]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id XAA02583 for ; Tue, 5 Sep 1995 23:38:02 -0700 Received: from fdmmail.fujitsu.co.jp by fgwmail.fujitsu.co.jp (8.6.12+2.5Wb4/3.3W5-MX950612-Fujitsu Mail Gateway) id PAA21420; Wed, 6 Sep 1995 15:37:53 +0900 Received: from fdm.fujitsu.co.jp by fdmmail.fujitsu.co.jp (8.6.12+2.5Wb4/3.3W5-MX950612-Fujitsu Domain Mail Master) id PAA22907; Wed, 6 Sep 1995 15:37:22 +0900 Received: from [133.160.49.9] by fdm.fujitsu.co.jp (5.65/6.4J.6) id AA15520; Wed, 6 Sep 95 15:37:21 +0900 Received: from localhost (yuhara@localhost) by cindy.avalon.flab.fujitsu.co.jp (8.6.9+2.4Wb/3.3Wb-ocsys-94092200) with SMTP id PAA04767 for ; Wed, 6 Sep 1995 15:37:20 +0900 Message-Id: <199509060637.PAA04767@cindy.avalon.flab.fujitsu.co.jp> To: freebsd-bugs@freebsd.org Subject: mv truncates files Reply-To: yuhara@flab.fujitsu.co.jp From: yuhara@flab.fujitsu.co.jp Date: Wed, 06 Sep 1995 15:37:20 +0900 Sender: bugs-owner@freebsd.org Precedence: bulk Bug Report: cross device "mv" corrupts files FreeBSD version: 2.1.0-SNAP-950726 File: /usr/src/bin/mv/mv.c Symptom: If a owner of a file is not a member of the group ID of the source file, cross device "mv" by the owner sometimes TRUNCATES the file, especially when the destination is in a NFS mounted directory. The source file is deleted so there is no way to retrieve the lost data!! Detail: For cross device "mv", "mv" opens the source and the destination, copies data, closes the source, changes uid/gid/mode of the destination (fchown(), fchmod()), and then closes the destination. Problem occurs when fchown() fails. My guess: When an error occurs during fchown(), the written data that is in the buffer cache but not yet transferred to a disk is regarded as erronous and is abandoned in the kernel. Either the filesystem or "mv" is wrong. Since I don't know the intended semantics of the filesystem of FreeBSD, I can't say which is wrong. If "mv" is the culprit, the fix seems to be simple. Close the destination just after the copy. Use chown(), chmod() instead of fchown(), fchmod(). (I'm not on the mailing lists. Please include my address in your reply.) ------ Masanobu Yuhara yuhara@flab.fujitsu.co.jp Fujitsu Laboratories Ltd. From owner-freebsd-bugs Wed Sep 6 16:02:57 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id QAA26282 for bugs-outgoing; Wed, 6 Sep 1995 16:02:57 -0700 Received: from wcarchive.cdrom.com (wcarchive.cdrom.com [192.216.191.11]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id QAA26276 for ; Wed, 6 Sep 1995 16:02:56 -0700 Received: from narq.avian.org ([199.103.168.126]) by wcarchive.cdrom.com (8.6.11/8.6.9) with ESMTP id QAA15708 for ; Wed, 6 Sep 1995 16:04:56 -0700 Received: (from hobbit@localhost) by narq.avian.org (8.6.12/_H*) id RAA08173; Wed, 6 Sep 1995 17:55:24 -0400 Date: Wed, 6 Sep 1995 17:55:24 -0400 From: *Hobbit* Message-Id: <199509062155.RAA08173@narq.avian.org> To: freebsd-bugs@wcarchive.cdrom.com Subject: sed bug? Sender: bugs-owner@FreeBSD.org Precedence: bulk I have stumbled across an inconsistency in FreeBSD 'sed'. On every other platform I have access to, the regex `/[/|]/' to mean "slash or pipe" is valid, but the FreeBSD version errors out on this. Trying to quote the embedded slash, a la `/[\/|]/', avoids the error, but that breaks on other systems that match on `\` as well. One or the other is clearly wrong. Believe it or not, I have scripts that use regexes of this sort [such as things to parse sendmail logs and look for potentially evil activity!!], so having to modify the regex for one platform is annoying. Here's a script of various tests: % cat sed.test line with \backslash -- should print line with |pipe -- should be deleted line with /slash -- should be deleted % % ./sed.freebsd '/[/|]/d' sed.test sed: 1: "/[/|]/d": RE error: brackets ([ ]) not balanced % % ./sed.freebsd '/[\/|]/d' sed.test line with \backslash -- should print % % ./sed.bsdi '/[/|]/d' sed.test line with \backslash -- should print % % ./sed.bsdi '/[\/|]/d' sed.test You can see that 'sed.bsdi' is exhibiting what I believe is correct behavior, while 'sed.freebsd' is not. I am not exactly sure what the Official Defined Way to do this is, and I understand that some regex standards may have changed a while back. But I've always assumed that anything inside [], except ^ and - as first character, is taken literally. There is nothing to the contrary in the manpages for regex or sed. The offending code appears to be in usr.bin/sed/compile.c, in routine compile_delimited. The BSDI version has an "inbra" variable that is presumably used to check and correct for exactly this situation. This addition apparently vanished out of the FreeBSD code base. If I'm right about this, can it be put on the fixlist for the next release? Working code can be found in the bsdi sources; I can send along a diff if need be. _H* From owner-freebsd-bugs Wed Sep 6 17:33:09 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id RAA00374 for bugs-outgoing; Wed, 6 Sep 1995 17:33:09 -0700 Received: from wcarchive.cdrom.com (wcarchive.cdrom.com [192.216.191.11]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id RAA00368 for ; Wed, 6 Sep 1995 17:33:07 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by wcarchive.cdrom.com (8.6.11/8.6.9) with ESMTP id RAA02805 for ; Wed, 6 Sep 1995 17:35:07 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id KAA08719; Thu, 7 Sep 1995 10:30:35 +1000 Date: Thu, 7 Sep 1995 10:30:35 +1000 From: Bruce Evans Message-Id: <199509070030.KAA08719@godzilla.zeta.org.au> To: freebsd-bugs@wcarchive.cdrom.com, hobbit@avian.org Subject: Re: sed bug? Sender: bugs-owner@FreeBSD.org Precedence: bulk >I have stumbled across an inconsistency in FreeBSD 'sed'. On every other >platform I have access to, the regex `/[/|]/' to mean "slash or pipe" is valid, >but the FreeBSD version errors out on this. Trying to quote the embedded >slash, a la `/[\/|]/', avoids the error, but that breaks on other systems >that match on `\` as well. One or the other is clearly wrong. This was fixed in 2.2-current on Aug 16 and in 2.1 on Aug 26. Bruce From owner-freebsd-bugs Wed Sep 6 19:08:55 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id TAA03617 for bugs-outgoing; Wed, 6 Sep 1995 19:08:55 -0700 Received: from wcarchive.cdrom.com (wcarchive.cdrom.com [192.216.191.11]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id TAA03609 for ; Wed, 6 Sep 1995 19:08:52 -0700 Received: from narq.avian.org ([199.103.168.126]) by wcarchive.cdrom.com (8.6.11/8.6.9) with ESMTP id TAA21255 for ; Wed, 6 Sep 1995 19:10:52 -0700 Received: (from hobbit@localhost) by narq.avian.org (8.6.12/_H*) id VAA08834; Wed, 6 Sep 1995 21:01:12 -0400 Date: Wed, 6 Sep 1995 21:01:12 -0400 From: *Hobbit* Message-Id: <199509070101.VAA08834@narq.avian.org> To: bde@zeta.org.au, freebsd-bugs@wcarchive.cdrom.com, hobbit@avian.org Subject: Re: sed bug? Sender: bugs-owner@FreeBSD.org Precedence: bulk Okay, thanx... Y'all are clearly way ahead of me! #define POSIX_ME_HARDER, _H* From owner-freebsd-bugs Wed Sep 6 23:41:29 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id XAA04543 for bugs-outgoing; Wed, 6 Sep 1995 23:41:29 -0700 Received: from wcarchive.cdrom.com (wcarchive.cdrom.com [192.216.191.11]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id XAA04530 for ; Wed, 6 Sep 1995 23:41:28 -0700 Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by wcarchive.cdrom.com (8.6.11/8.6.9) with ESMTP id XAA07087 for ; Wed, 6 Sep 1995 23:43:30 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by mail.barrnet.net (8.6.10/MAIL-RELAY-LEN) with ESMTP id XAA24966 for ; Wed, 6 Sep 1995 23:41:22 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA12259; Thu, 7 Sep 1995 08:38:36 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA12302; Thu, 7 Sep 1995 08:38:35 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id IAA08009; Thu, 7 Sep 1995 08:38:09 +0200 From: J Wunsch Message-Id: <199509070638.IAA08009@uriah.heep.sax.de> Subject: Re: sed bug? To: hobbit@avian.org (*Hobbit*) Date: Thu, 7 Sep 1995 08:38:08 +0200 (MET DST) Cc: freebsd-bugs@wcarchive.cdrom.com Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199509062155.RAA08173@narq.avian.org> from "*Hobbit*" at Sep 6, 95 05:55:24 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 738 Sender: bugs-owner@FreeBSD.org Precedence: bulk As *Hobbit* wrote: > > I have stumbled across an inconsistency in FreeBSD 'sed'. On every other > platform I have access to, the regex `/[/|]/' to mean "slash or pipe" is valid, > but the FreeBSD version errors out on this. Trying to quote the embedded > slash, a la `/[\/|]/', avoids the error, but that breaks on other systems > that match on `\` as well. One or the other is clearly wrong. Been there before, it looks suspicious, but even Posix is not quite clear on this. One things that is always supposed to work is using a different pair of delimiters, e.g. ':[/|]:' in your case. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Thu Sep 7 01:05:11 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id BAA19945 for bugs-outgoing; Thu, 7 Sep 1995 01:05:11 -0700 Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21]) by freefall.freebsd.org (8.6.11/8.6.6) with SMTP id BAA19017 for ; Thu, 7 Sep 1995 01:01:26 -0700 Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) from julia.physik.fu-berlin.de (130.133.3.235) with smtp id ; Thu, 7 Sep 95 10:00 MEST Received: (from graichen@localhost) by julia.physik.fu-berlin.de (8.6.11/8.6.9) id KAA02218 for bugs@freebsd.org; Thu, 7 Sep 1995 10:00:31 +0200 From: Thomas Graichen Message-Id: <199509070800.KAA02218@julia.physik.fu-berlin.de> Subject: console & mono-svga bug To: bugs@freebsd.org Date: Thu, 7 Sep 1995 10:00:30 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1468 Sender: bugs-owner@freebsd.org Precedence: bulk hello there is a problem having todo with the console (syscons), X and monitores which are detected as VGA-Mono at bootup (is there anybody else using such things ? :-) - i verified the problem over 2 different monitores and 3 different graphic-cards - thus i think it's a generic problem: if i switch back from X to the console the console is completely black - i can blind type something and it works - that menas it is still functional but i think the text color is'nt restored correctly - because i've tested it with differend graphic-cards and thus xservers i think the problem is inside the console code - interesting is that it only appears with monitores detected as VGA-Mono - i also tried another VGA-monocrome monitor which was detected as VGA-Color (don't know why) and this one worked correctly - that's all - maybe someone may look into the code - if you have an idea send me the patches and i'll try if they work thanks in advance - t _______________________________________________________||_____________________ __|| Perfection is reached, not when there is no __|| thomas graichen longer anything to add, but when there __|| freie universitaet berlin is no longer anything to take away __|| fachbereich physik __|| - Antoine de Saint-Exupery - __|| ___________________________||____email:graichen@omega.physik.fu-berlin.de____ From owner-freebsd-bugs Thu Sep 7 07:10:16 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id HAA21418 for bugs-outgoing; Thu, 7 Sep 1995 07:10:16 -0700 Received: from hermes.sees.bangor.ac.uk (hermes.sees.bangor.ac.uk [147.143.102.8]) by freefall.freebsd.org (8.6.11/8.6.6) with SMTP id HAA21404 for ; Thu, 7 Sep 1995 07:10:07 -0700 From: Mr D Whitehead (Ext 2703) Message-Id: <3960.9509071408@hermes.sees.bangor.ac.uk> Received: from adam.sees (adam.sees.bangor.ac.uk) by hermes.sees.bangor.ac.uk; Thu, 7 Sep 95 15:08:06 BST Subject: UK Timezone change in 1996 To: bugs@freebsd.org Date: Thu, 7 Sep 1995 15:08:05 +0100 (BST) X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1162 Sender: bugs-owner@freebsd.org Precedence: bulk Hi folks, You probably know this already, but as it has just come across my desk..... It seems that UK (and European) summertime will start and end on a new algorithm next year (1996). The new changeover dates will be 'last Sunday in March' and 'last Sunday in October' in both cases at 01:00 GMT. The time difference between GB-Eire and WET stays the same. For more information see the article 'Summertime Blues' in NEWS@UK (The newsletter of the UK Unix users group) Vol 4 No 4 , its available on the net at :- http://web.dcs.bbk.ac.uk/ukuug/newsletter/home.html -- Dave Whitehead (Computer Support Staff) ------------------------------------------------------------------------------- EMAIL:- | TELEPHONE (work):- (work) davew@sees.bangor.ac.uk | +44 1248 382703 (Direct line) (home) 100023.1076@compuserve.com | +44 1248 351151 ext 2703 ------------------------------------------------------------------------------- SNAIL MAIL:- Dave Whitehead School of Electronic Engineering & Computer Systems, University College of North Wales, Dean Street, Bangor LL57 1UT ------------------------------------------------------------------------------ From owner-freebsd-bugs Thu Sep 7 08:26:56 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA12726 for bugs-outgoing; Thu, 7 Sep 1995 08:26:56 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.11/8.6.6) with SMTP id IAA12719 for ; Thu, 7 Sep 1995 08:26:55 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA22543; Thu, 7 Sep 1995 11:26:20 -0400 Date: Thu, 7 Sep 1995 11:26:20 -0400 From: "Garrett A. Wollman" Message-Id: <9509071526.AA22543@halloran-eldar.lcs.mit.edu> To: Mr D Whitehead (Ext 2703) Cc: bugs@freebsd.org Subject: UK Timezone change in 1996 In-Reply-To: <3960.9509071408@hermes.sees.bangor.ac.uk> References: <3960.9509071408@hermes.sees.bangor.ac.uk> Sender: bugs-owner@freebsd.org Precedence: bulk < said: > It seems that UK (and European) summertime will start and end > on a new algorithm next year (1996). The new changeover dates will be > 'last Sunday in March' and 'last Sunday in October' in both cases at > 01:00 GMT. The time difference between GB-Eire and WET stays the same. # Zone NAME GMTOFF RULES FORMAT [UNTIL] Zone Europe/London -0:01:15 - LMT 1847 Sep 22 0:00 GB-Eire %s 1968 Feb 18 2:00 1:00 - BST 1971 Oct 31 2:00 0:00 GB-Eire %s 1996 0:00 EC GMT/BST Rule EC 1979 1995 - Sep lastSun 1:00u 0 - Rule EC 1981 max - Mar lastSun 1:00u 1:00 " DST" Rule EC 1996 max - Oct lastSun 1:00u 0 - -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-freebsd-bugs Thu Sep 7 12:29:14 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA06227 for bugs-outgoing; Thu, 7 Sep 1995 12:29:14 -0700 Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.97.216]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA06221 for ; Thu, 7 Sep 1995 12:29:13 -0700 Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.6.12/8.6.9) id MAA12649 for freebsd-bugs@freebsd.org; Thu, 7 Sep 1995 12:26:23 -0700 From: "Steven G. Kargl" Message-Id: <199509071926.MAA12649@troutmask.apl.washington.edu> To: freebsd-bugs@freebsd.org Date: Thu, 7 Sep 1995 12:26:22 -0700 (PDT) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 330 Sender: bugs-owner@freebsd.org Precedence: bulk This bugs report is in error. F77 gives the expected correct behaviour. See comp.lanf.fortran archive. -- Steven G. Kargl | Phone: 206-685-4677 | Applied Physics Lab | Fax: 206-543-6785 | Univ. of Washington |---------------------| 1013 NE 40th St | FreeBSD 2.x-STABLE | Seattle, WA 98105 |---------------------| From owner-freebsd-bugs Thu Sep 7 14:51:13 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA11014 for bugs-outgoing; Thu, 7 Sep 1995 14:51:13 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA11008 for ; Thu, 7 Sep 1995 14:51:09 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA14921; Thu, 7 Sep 1995 23:50:57 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA18912; Thu, 7 Sep 1995 23:50:56 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id XAA09340; Thu, 7 Sep 1995 23:15:00 +0200 From: J Wunsch Message-Id: <199509072115.XAA09340@uriah.heep.sax.de> Subject: Re: console & mono-svga bug To: graichen@omega.physik.fu-berlin.de (Thomas Graichen) Date: Thu, 7 Sep 1995 23:14:59 +0200 (MET DST) Cc: bugs@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199509070800.KAA02218@julia.physik.fu-berlin.de> from "Thomas Graichen" at Sep 7, 95 10:00:30 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 762 Sender: bugs-owner@freebsd.org Precedence: bulk As Thomas Graichen wrote: > > ... i think the problem is inside the > console code - interesting is that it only appears with monitores detected as > VGA-Mono - i also tried another VGA-monocrome monitor which was detected as > VGA-Color (don't know why) and this one worked correctly - that's all - maybe > someone may look into the code - if you have an idea send me the patches and > i'll try if they work VGA Mono is internally handled like MDA, i.e. the frame buffer is located at a different address than VGA color. It would be interesting to know (at least for me :) whether pcvt will also fail. I hope not. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Fri Sep 8 15:04:43 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA09095 for bugs-outgoing; Fri, 8 Sep 1995 15:04:43 -0700 Received: from redgate.glas.apc.org (redgate.glas.apc.org [193.232.215.145]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA09085 for ; Fri, 8 Sep 1995 15:04:39 -0700 Received: from glas.apc.org by redgate.glas.apc.org with esmtp (Smail3.1.29.1 #9) id m0srBXZ-000GoQN; Sat, 9 Sep 95 02:04 +0400 Received: by glas.apc.org (Smail3.1.29.1 #13) id m0srBTn-000717N; Sat, 9 Sep 95 02:00 +0400 Message-Id: Date: Sat, 9 Sep 95 02:00 +0400 From: vega@glas.apc.org (Vlad D. Nebolsin) To: bugs@freebsd.org Subject: dos2unixtime fatal bug in 2.0.5-R Sender: bugs-owner@freebsd.org Precedence: bulk /* Written 4:38 am Sep 5, 1995 by vega@glas.apc.org in glas:comp.fbsd.misc */ /* ---------- "dos2unixtime fatal bug in 2.0.5-R" ---------- */ Hi there, I found some strange bug in FreeBSD 2.0.5-R with mounted MS-DOS (6.22 version) partition (rw mode): if the MS-DOS time/date for any file or directory located on this mounted partition installed incorrect (for example 0/31/95 - wrong zero) your FBSD may suddenly (50/50 chances) crash with next log diagnose: Sep 2 03:30:46 cuckoo /kernel: dos2unixtime(): month value out of range (14) Sep 2 03:30:49 cuckoo /kernel: dos2unixtime(): month value out of range (14) Sep 2 03:30:56 cuckoo /kernel: dos2unixtime(): month value out of range (0) Sep 2 03:30:57 cuckoo last message repeated 2 times ... then it was just rebooted. I've tested it for a couple of times and my machine was rebooted almost every time I've just _entered_ any wrong MS-DOS directory on mounted partition. How to avoid the crash of system? Check your MS-DOS partition inside MS-DOS before mounting it and fix all wrong installed time/dates. This way. Sincerely, Vlad. P.S. I hope it will be fixed in next release or SNAP, isn't it Jordan? From owner-freebsd-bugs Sat Sep 9 00:12:05 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA05722 for bugs-outgoing; Sat, 9 Sep 1995 00:12:05 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA05715 for ; Sat, 9 Sep 1995 00:12:03 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA16212; Sat, 9 Sep 1995 09:11:22 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA09137; Sat, 9 Sep 1995 09:11:21 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id GAA16709; Sat, 9 Sep 1995 06:43:05 +0200 From: J Wunsch Message-Id: <199509090443.GAA16709@uriah.heep.sax.de> Subject: Re: dos2unixtime fatal bug in 2.0.5-R To: vega@glas.apc.org (Vlad D. Nebolsin) Date: Sat, 9 Sep 1995 06:43:03 +0200 (MET DST) Cc: bugs@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Vlad D. Nebolsin" at Sep 9, 95 02:00:00 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 542 Sender: bugs-owner@freebsd.org Precedence: bulk As Vlad D. Nebolsin wrote: > > Sep 2 03:30:46 cuckoo /kernel: dos2unixtime(): month value out of range (14) > Sep 2 03:30:49 cuckoo /kernel: dos2unixtime(): month value out of range (14) > Sep 2 03:30:56 cuckoo /kernel: dos2unixtime(): month value out of range (0) > Sep 2 03:30:57 cuckoo last message repeated 2 times > ... > > then it was just rebooted. See my questions to you in Usenet. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Sat Sep 9 04:30:03 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA15035 for bugs-outgoing; Sat, 9 Sep 1995 04:30:03 -0700 Received: (from gnats@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA15017 for freebsd-bugs; Sat, 9 Sep 1995 04:30:02 -0700 Date: Sat, 9 Sep 1995 04:30:02 -0700 From: GNU GNATS Message-Id: <199509091130.EAA15017@freefall.freebsd.org> To: freebsd-bugs Subject: List of open Problem Reports Sender: bugs-owner@FreeBSD.org Precedence: bulk This is the list of currently open problem reports This is the list of problem reports already analyzed: /* EOF -- this list has not been truncated */ From owner-freebsd-bugs Sat Sep 9 05:52:13 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA16148 for bugs-outgoing; Sat, 9 Sep 1995 05:52:13 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA16128 ; Sat, 9 Sep 1995 05:52:07 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id OAA21184; Sat, 9 Sep 1995 14:51:54 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id OAA10866; Sat, 9 Sep 1995 14:51:54 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id OAA00886; Sat, 9 Sep 1995 14:49:42 +0200 From: J Wunsch Message-Id: <199509091249.OAA00886@uriah.heep.sax.de> Subject: Re: List of open Problem Reports To: gnats@freefall.freebsd.org (GNU GNATS) Date: Sat, 9 Sep 1995 14:49:41 +0200 (MET DST) Cc: freebsd-bugs@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199509091130.EAA15017@freefall.freebsd.org> from "GNU GNATS" at Sep 9, 95 04:30:02 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 394 Sender: bugs-owner@FreeBSD.org Precedence: bulk As GNU GNATS wrote: > > This is the list of currently open problem reports > > > This is the list of problem reports already analyzed: > > /* EOF -- this list has not been truncated */ > Wow! Who's been resolving all of them that quickly? :-) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Sat Sep 9 06:16:21 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA16750 for bugs-outgoing; Sat, 9 Sep 1995 06:16:21 -0700 Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id GAA16744 for ; Sat, 9 Sep 1995 06:16:20 -0700 Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <17237(2)>; Fri, 8 Sep 1995 15:48:12 PDT Received: by crevenia.parc.xerox.com id <177475>; Fri, 8 Sep 1995 15:47:37 -0700 Newsgroups: comp.unix.bsd.freebsd.misc From: Bill Fenner To: bugs@freebsd.org To: marcus@ccelab.iastate.edu Subject: Re: Crontab and the % character References: Organization: Xerox Palo Alto Research Center Message-Id: <95Sep8.154737pdt.177475@crevenia.parc.xerox.com> Date: Fri, 8 Sep 1995 15:47:34 PDT Sender: bugs-owner@freebsd.org Precedence: bulk In article , Marcus I. Ryan wrote: >I issue the command - stathtml `date +"%B %b"` >If I use the %'s by themselves then it interprets them as special control >characters, but if I put a \ in front of each, the command is interpreted >literally (i.e. "\%B \%b"). This is a bug. Try this patch. It turns "\%" into "%", "\\" into "\", and leaves "\*" (where * is any character other than % or \) alone. Bill --- usr.sbin/cron/cron/do_command.c.orig Fri Sep 8 15:23:27 1995 +++ usr.sbin/cron/cron/do_command.c Fri Sep 8 15:40:49 1995 @@ -122,13 +122,21 @@ * command, and subsequent characters are the additional input to * the command. Subsequent %'s will be transformed into newlines, * but that happens later. + * + * If there are escaped %'s, remove the escape character. */ /*local*/{ register int escaped = FALSE; register int ch; + register char *p; - for (input_data = e->cmd; ch = *input_data; input_data++) { + for (input_data = p = e->cmd; ch = *input_data; + input_data++, p++) { + if (p != input_data) + *p = ch; if (escaped) { + if (ch == '%' || ch == '\\') + *--p = ch; escaped = FALSE; continue; } @@ -141,6 +149,7 @@ break; } } + *p = '\0'; } /* fork again, this time so we can exec the user's command. From owner-freebsd-bugs Sat Sep 9 10:43:42 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA21250 for bugs-outgoing; Sat, 9 Sep 1995 10:43:42 -0700 Received: from irbs.irbs.com (irbs.com [199.182.75.129]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA21232 for ; Sat, 9 Sep 1995 10:43:37 -0700 Received: (from jc@localhost) by irbs.irbs.com (8.6.12/8.6.6) id NAA14857; Sat, 9 Sep 1995 13:43:31 -0400 From: John Capo Message-Id: <199509091743.NAA14857@irbs.irbs.com> Subject: PPP patch (Gnats still broken) To: freebsd-current@freefall.FreeBSD.org (freebsd-current) Date: Sat, 9 Sep 1995 13:43:31 -0400 (EDT) Cc: freebsd-bugs@freebsd.org X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1074 Sender: bugs-owner@freebsd.org Precedence: bulk >Submitter-Id: current-users >Originator: John Capo >Organization: IRBS Engineering >Confidential: no >Synopsis: ppp will not read data from telnet connection >Severity: non-critical >Priority: medium >Category: bin >Release: FreeBSD 2.2-CURRENT i386 >Class: sw-bug >Environment: >Description: Will not read data from a telnet connection when running in auto mode due to test for pgroup == tcgetpgrp(0). There is no controlling tty. >How-To-Repeat: Telnet to ppp running in auto mode. >Fix: *** usr.sbin/ppp/main.c.orig Sat Sep 9 13:02:53 1995 --- usr.sbin/ppp/main.c Sat Sep 9 13:03:14 1995 *************** *** 737,743 **** } if ((mode & MODE_INTER) && FD_ISSET(netfd, &rfds) && ! pgroup == tcgetpgrp(0)) { /* something to read from tty */ ReadTty(); } --- 737,743 ---- } if ((mode & MODE_INTER) && FD_ISSET(netfd, &rfds) && ! ((mode & MODE_AUTO) || pgroup == tcgetpgrp(0))) { /* something to read from tty */ ReadTty(); } From owner-freebsd-bugs Sat Sep 9 11:18:34 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA22483 for bugs-outgoing; Sat, 9 Sep 1995 11:18:34 -0700 Received: from mpp.minn.net (mpp.Minn.Net [204.157.201.242]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA22476 ; Sat, 9 Sep 1995 11:18:30 -0700 Received: (from mpp@localhost) by mpp.minn.net (8.6.11/8.6.9) id NAA11328; Sat, 9 Sep 1995 13:19:25 -0500 From: Mike Pritchard Message-Id: <199509091819.NAA11328@mpp.minn.net> Subject: Re: Summary of Problem Reports To: gnats@freefall.freebsd.org (GNU GNATS) Date: Sat, 9 Sep 1995 13:19:25 -0500 (CDT) Cc: freebsd-bugs@freefall.freebsd.org In-Reply-To: <199509091130.EAA15025@freefall.freebsd.org> from "GNU GNATS" at Sep 9, 95 04:30:02 am X-Mailer: ELM [version 2.4 PL24 ME7a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 303 Sender: bugs-owner@FreeBSD.org Precedence: bulk > Number of currently open reports: 0 > Number of curently analyzed reports: 0 Gnats still needs to be reinstalled on freefall after the upgrade. I would also like to see "less" reinstalled, too. -- Mike Pritchard mpp@mpp.minn.net "Go that way. Really fast. If something gets in your way, turn" From owner-freebsd-bugs Sat Sep 9 12:38:23 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA25373 for bugs-outgoing; Sat, 9 Sep 1995 12:38:23 -0700 Received: from icus.com (icus.com [198.252.182.104]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA25367 ; Sat, 9 Sep 1995 12:38:21 -0700 Received: (from lenny@localhost) by icus.com (8.6.9/8.6.9-noident) id OAA10785; Sat, 9 Sep 1995 14:38:19 -0500 From: Lenny Tropiano Message-Id: <199509091938.OAA10785@icus.com> Subject: restore on FreeBSD 1.1.5.1 core dumps and ends prematurely To: freebsd-questions@freebsd.org Date: Sat, 9 Sep 1995 14:38:18 -0500 (CDT) Cc: freebsd-bugs@freebsd.org X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1514 Sender: bugs-owner@freebsd.org Precedence: bulk I had the unfortunate disaster of two hard disk failures after a bad weather storm here in Austin, TX. (Don't buy Quantum Empire 1080s disks!!) Anyway, I'm going to get them repaired (under warranty) -- suggestions for other hard disks would be good! (Fast SCSI-2, around 1GB in size?) Anyways -- I had to restore my filesystems from my DDS-2 4mm DAT (Sony) drive. I've been using dump to back them up: eg. /sbin/dump 0undf 61000 /dev/nrst0 / [...] I went to restore and some of the filesystems restored just fine. Would complete all the way and then say "set owner/mode for '.' [y/n]?" and finish just fine. Some would go and restore lots of files and then say: Specify next volume #: Even though it all was "dump'd" to one tape and succeeded just fine. Of course entering anything here would just not work... if I entered the same volume number (1) it would SIGSEGV. I found out the hard way that it didn't restore everything, and of course left the filemodes of the directories wrong. I could then restore interactively (restore ivsf /dev/rst0) and then say "add " and extract.. It would then find that file, extract it and exit normally. Suggestions? I want to move to 2.0.5 (or 2.1) is restore compatible with the dumps from 1.1.5.1???? -- | Lenny Tropiano ICUS Software Systems lenny@icus.com | | 2301 Spring Wagon Lane, Austin, TX 78728 | +-------------------- URL: http://www.icus.com/~lenny/ --------------------+ From owner-freebsd-bugs Sat Sep 9 18:24:53 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA08596 for bugs-outgoing; Sat, 9 Sep 1995 18:24:53 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA08517 ; Sat, 9 Sep 1995 18:23:25 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id DAA09914; Sun, 10 Sep 1995 03:21:57 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id DAA16315; Sun, 10 Sep 1995 03:21:48 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id AAA16677; Sun, 10 Sep 1995 00:18:04 +0200 From: J Wunsch Message-Id: <199509092218.AAA16677@uriah.heep.sax.de> Subject: Re: restore on FreeBSD 1.1.5.1 core dumps and ends prematurely To: lenny@icus.com (Lenny Tropiano) Date: Sun, 10 Sep 1995 00:18:03 +0200 (MET DST) Cc: freebsd-questions@freebsd.org, freebsd-bugs@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199509091938.OAA10785@icus.com> from "Lenny Tropiano" at Sep 9, 95 02:38:18 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 498 Sender: bugs-owner@freebsd.org Precedence: bulk As Lenny Tropiano wrote: > > Some would go and restore lots of files and then say: > > Specify next volume #: > > Even though it all was "dump'd" to one tape and succeeded just fine. > > Of course entering anything here would just not work... if I entered > the same volume number (1) it would SIGSEGV. Can you try running this through a debugger? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) From owner-freebsd-bugs Sat Sep 9 23:14:03 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA19879 for bugs-outgoing; Sat, 9 Sep 1995 23:14:03 -0700 Received: (from hsu@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA19868 ; Sat, 9 Sep 1995 23:14:02 -0700 Date: Sat, 9 Sep 1995 23:14:02 -0700 From: Jeffrey Hsu Message-Id: <199509100614.XAA19868@freefall.freebsd.org> To: freebsd-questions@freebsd.org, lenny@icus.com Subject: Re: restore on FreeBSD 1.1.5.1 core dumps and ends prematurely Cc: freebsd-bugs@freebsd.org Sender: bugs-owner@freebsd.org Precedence: bulk >I had the unfortunate disaster of two hard disk failures I also had a disk failure of my FreeBSD 1.1.5.1 drive somewhat recently. >Anyways -- I had to restore my filesystems from my DDS-2 4mm DAT (Sony) >drive. Some would go and restore lots of files and then say: >Specify next volume #: >Even though it all was "dump'd" to one tape and succeeded just fine. >Of course entering anything here would just not work... if I entered >the same volume number (1) it would SIGSEGV. >I found out the hard way that it didn't restore everything, and of course >left the filemodes of the directories wrong. I also see this. At first I thought it was because I was trying to restore a FreeBSD 1.1.5.1 dump tape under FreeBSD-current as of August, but even after re-installing FreeBSD 1.1.5.1, the restore still fails in this same manner. So I've concluded that the tape itself was corrupt. However, if you also see this same behavior, it may be a software bug after all and my tape may still hold valid data. Another data point is that an old FreeBSD 1.1 dump tape restores fine under both FreeBSD 1.1.5.1 and FreeBSD-current. >I could then restore >interactively (restore ivsf /dev/rst0) and then say "add " >and extract.. It would then find that file, extract it and exit normally. This fails for me. I get a resync error message and the restore process appears to hang w/ the tape drive light always on. Jeffrey