From owner-freebsd-hackers Wed Mar 31 9:10:56 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 6E41C1511B for ; Wed, 31 Mar 1999 09:10:55 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id JAA49644; Wed, 31 Mar 1999 09:10:26 -0800 (PST) (envelope-from dillon) Date: Wed, 31 Mar 1999 09:10:26 -0800 (PST) From: Matthew Dillon Message-Id: <199903311710.JAA49644@apollo.backplane.com> To: Darren Reed Cc: mladavac@metropolitan.at (Ladavac Marino), rb@gid.co.uk, avalon@coombs.anu.edu.au, wilko@yedi.iaf.nl, jkh@zippy.cdrom.com, hackers@FreeBSD.ORG Subject: Re: another ufs panic.. References: <199903311133.VAA10193@cheops.anu.edu.au> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Well.... :first run, no tar on EIDE drive (just two drives now, EIDE & SCSI, :nothing else powered, which has ended up with corrupt dirs): : :gawaine /usr# dd if=/dev/zero bs=16384k of=/dev/rsd0s4 :dd: /dev/rsd0s4: short write on character device :dd: /dev/rsd0s4: end of device :125+0 records in :124+1 records out :2089221120 bytes transferred in 248.516462 secs (8406772 bytes/sec) : :Now the interesting part! : :I wrote my own program to read it back and check that all that was read :was indeed null bytes...however! : :>From 874627584 (0x3421c200 - 0x3421cfff) was non-null (actually garbage, :not just 0x01 or 0x02 or 0xf0, etc). About 3572 bytes worth. : :Wanting to confirm the location, I ran it again...this time 95573 bytes. What release of the os ? :To check disk contents I adapted the program I used to read back to seek :to the above position. No problem. A run after that again, 85212 and :33157. :.. :Try again with 2.2.8-STABLE (built from GENERIC): : :# dd if=/dev/zero bs=16384k of=/dev/rsd0s4 :dd: /dev/rsd0s4: short write on character device :dd: /dev/rsd0s4: end of device :125+0 records in :124+1 records out :2089221120 bytes transferred in 244.473397 secs (8545801 bytes/sec) : :No non-zero bytes were read back using the program I wrote. : :Darren -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message