From owner-freebsd-stable Tue Mar 28 7:52: 3 2000 Delivered-To: freebsd-stable@freebsd.org Received: from isabase.philol.msu.ru (isabase.philol.msu.ru [195.208.217.73]) by hub.freebsd.org (Postfix) with ESMTP id 529AB37C075 for ; Tue, 28 Mar 2000 07:51:54 -0800 (PST) (envelope-from grg@isabase.philol.msu.ru) Received: (from grg@localhost) by isabase.philol.msu.ru (8.9.3/8.9.2) id TAA30956 for freebsd-stable@freebsd.org; Tue, 28 Mar 2000 19:50:30 +0400 (MSD) (envelope-from grg) Date: Tue, 28 Mar 2000 19:50:30 +0400 From: Grigoriy Strokin To: freebsd-stable@freebsd.org Subject: New kernel with its ATA drivers damages the filesystem Message-ID: <20000328195030.A30092@isabase.philol.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Three days ago I've performed my first upgrade to FreeBSD 4.0-STABLE from 3.4 on one machine, via CVSUP. Observing the lack of any problems for 3 days (except audio record) I decided to install it to another box, from the same sources. Well, buildworld etc., then buildkernel (GENERIC), installkernel, reboot. During the boot, I've seen: Mar 28 17:48:56 koch2 /kernel: ata0: at 0x1f0 irq 14 on atapci0 ... Mar 28 17:49:07 koch2 /kernel: ed0: at port 0x240-0x25f iomem 0xc0000-0xc003f irq 11 on isa0 Mar 28 17:49:07 koch2 /kernel: ed0: supplying EUI64: 08:00:00:ff:fe:00:10:37 Mar 28 17:49:07 koch2 /kernel: ed0: address 08:00:00:00:10:37, type NE2000 (16 bit) ... Mar 28 17:49:07 koch2 /kernel: ad0: 8063MB [16383/16/63] at ata0-master using UDMA33 Mar 28 17:49:07 koch2 /kernel: acd0: CDROM at ata0-slave using PIO4 ... Mar 28 17:49:07 koch2 /kernel: ed0: device timeout Mar 28 17:49:07 koch2 /kernel: ed0: device timeout Mar 28 17:49:07 koch2 /kernel: ata0: resetting devices .. done Mar 28 17:49:48 koch2 /kernel: ad0: WRITE command timeout - resetting Mar 28 17:49:48 koch2 /kernel: ata0: resetting devices .. done The booting process continued. Then I shut down the machine and turned it off and on again, just in case there were real problem with HDD. Second boot: fsck says about /usr "UNEXPECTED INCONSISTENCY, RUN FSCK MANUALLY". After running fsck -y several times quite a few files have been either deleted or moved to lost+found. /usr/local and my home directory disappeared. Then I rebooted again in order to turn 'UDMA' off in BIOS. And again I've seen 'ad0: WRITE command timeout - resetting' messages, and again /usr became damaged, which resulted in loss of many other files and directories. Moreover, despite that fact that ed0 was detected, "ifconfig ed0" gave "interface does not exist" (also, note the 'ed0 device timeout' messages above) Now I think I don't know where to find the source of the problem. -- === Grigoriy Strokin, Lomonosov University (MGU), Moscow === === contact info: http://isabase.philol.msu.ru/~grg/ === To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message