From owner-freebsd-current@FreeBSD.ORG Wed Dec 3 06:20:01 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85A2216A4CE for ; Wed, 3 Dec 2003 06:20:01 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88CC643F75 for ; Wed, 3 Dec 2003 06:20:00 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3913B66D1F; Wed, 3 Dec 2003 06:20:00 -0800 (PST) Date: Wed, 3 Dec 2003 06:20:00 -0800 From: Kris Kennaway To: Dan Naumov Message-ID: <20031203141959.GD61570@xor.obsecurity.org> References: <3FCDCC7D.5020306@ofw.fi> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IMjqdzrDRly81ofr" Content-Disposition: inline In-Reply-To: <3FCDCC7D.5020306@ofw.fi> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 5.x and "Bad File Descriptor" errors. Why? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 14:20:01 -0000 --IMjqdzrDRly81ofr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 03, 2003 at 01:43:57PM +0200, Dan Naumov wrote: > Hello >=20 > What follows is a description of a problem I used to have when running=20 > FreeBSD 5.0 and 5.1. I am not running FreeBSD right now, but I am=20 > considering going back to it but I need to figure out how to prevent=20 > this issue from happening again. My system has 2 harddrives, a 16 GB=20 > Seagate that I use for backups and mount it under /mnt/backup and a 40=20 > GB Maxtor that I am using for everything else. After the installation of= =20 > the OS (usually about 8-12 days of running non-stop) I start getting=20 > "Bad File Descriptor" errors on random files all around the Maxtor drive= =20 > and I have to go to single-user mode in order to run a full fsck on the= =20 > system. After that, the system works, until in 8-12 days time even more= =20 > files get "corrupted" this way and the process has to be repeated.=20 > Eventually, so many files are damaged that a full OS reinstall is require= d. You get that error from what command(s)? Have you tried with 5.2, which has a new ATA driver? Kris --IMjqdzrDRly81ofr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/zfEPWry0BWjoQKURAkQ0AJkB252c1vLTi3c5Wi08V1iL1ETrawCglpw0 EjxNxeoK3VNEAFlK52maGZg= =UAtT -----END PGP SIGNATURE----- --IMjqdzrDRly81ofr--