From owner-freebsd-questions Thu Jan 13 8:37:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.telestream.com (mail.telestream.com [205.238.4.5]) by hub.freebsd.org (Postfix) with ESMTP id 7DBD2155A5 for ; Thu, 13 Jan 2000 08:37:48 -0800 (PST) (envelope-from keith@mail.telestream.com) Received: from localhost (keith@localhost) by mail.telestream.com (8.9.3/8.9.3) with ESMTP id IAA30132; Thu, 13 Jan 2000 08:37:45 -0800 Date: Thu, 13 Jan 2000 08:37:45 -0800 (PST) From: To: Bruce DeVault Cc: freebsd-questions@FreeBSD.ORG Subject: Re: recurring bad file descriptors In-Reply-To: <200001131506.JAA00597@fw.intechsoft.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have had the exact same problem with 30 Gig's of RAID-0 and -5 on scsi drives not ide. I found also that when adding the disks into the system with sysinstall produced some funny errors that would be displayed on a different tty when making the actual file system on a large space. I also found as did you that slicing it into smaller sections fixed the errors and bad file descriptors that came up all the time. I searched for some form of answer for a few weeks and gave up. Still not sure why it all had happened but would be nice to discover if you figure out what it was/is. Keith On Thu, 13 Jan 2000, Bruce DeVault wrote: > My setup is an amd k6/2 300 with 160mb ram, a 3 gig IDE drive, > and two 34 gig IDE drives. The 3 gig drive is the primary master, > with filesystems for /, swap, /usr, /var, /tmp, and /home. The two > 34 gig drives each have a single 30 gig filesystem, the two of > which are striped RAID-0 with vinum. Softupdates are running on all > filesystems except for /. > > I had repeated problems getting the large IDE drives to work, and > I've come to understand that FreeBSD has some bugs with regard to > these drives, and my workaround was to use less than their full > size and stripe them. They seem to be working fine, but I'm > experiencing another problem that's approaching severe. > > After doing a cvsup and make world last week, I noticed a slew of > messages on reboot saying "bad file descriptor: /dev/wd2" etc. > There were about 20 of them and they were almost all in the /dev > directory and they were all on the / filesystem. I rebooted in > single user and ran fsck on the read only root system and restarted, > and the number of error messages was reduced to three. I posted a > query about it on -questions, but no one answered. Then, after a > subsequent cvsup and make world, I rebooted to see 20 something bad > file descriptor warnings again. This time, when I brought it down > to single user and fsck'd it, one of the files it "corrected" was > the system console device, and another was the character mode > device for the /usr filesystem, resulting in kernel panics on > startup. I attempted to fix it with a "fix it" disk, but apparently > I wasn't up to the task. I ended up re-fdisk'ing the drive and > doing a complete reinstall of BSD and all the filesystems on the 3 > gig primary master drive. > > Incidentally the 3 gig drive formats with no bad sectors, as do the > other two. The BIOS is set to normal mode for all three, and BSD > seems to recognize them with the correct geometry. > > After doing my reinstall of 3.4-RELEASE, I did a quick kernel build > to get my internet connection back up and running with ipfw, then > cvsup'd and did a make world. When I finished make world, build a > new kernel (just adding IPDIVERT, IPFIREWALL, IPFIREWALL_VERBOSE and > SOFTUPDATES) and rebooted, a had twenty something bad file descriptor > messages, just like before. > > I'm afraid to reboot the thing or do any more make worlds because I > can't afford for this machine to be down any more than it has been. > > Can someone tell me what's going on? My first reaction was that > maybe the FreeBSD bug about IDE drives was the problem, but all of > my problems are on the / filesystem on a drive that's only 3 gig in > size, a size that's extremely common. > > I'm really at a loss here, any help you could provide would be > greatly appreciated. > > Bruce DeVault > InTech Software > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message