Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2000 19:50:30 +0400
From:      Grigoriy Strokin <grg@philol.msu.ru>
To:        freebsd-stable@freebsd.org
Subject:   New kernel with its ATA drivers damages the filesystem
Message-ID:  <20000328195030.A30092@isabase.philol.msu.ru>

next in thread | raw e-mail | index | archive | help
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: <Longshine LCS-8634P Ethernet Card
Mar 28 17:49:07 koch2 /kernel: > 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 <FUJITSU MPD3084AT> [16383/16/63] at ata0-master using UDMA33
Mar 28 17:49:07 koch2 /kernel: acd0: CDROM <TOSHIBA CD-ROM XM-6402B> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000328195030.A30092>