Re: SOS !!! superblock erased !

Jan Kratochvil (short@k332.feld.cvut.cz)
Sat, 9 Aug 1997 12:57:26 +0200


--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii

Hi all

On Sat, Aug 09, 1997 at 06:12:19PM -0700, Tan Pinghui wrote:
> I'm in complete desperation. I need everyone's help to restore the data
> on my HD.
Linux community is here! :-)

> After I inserted the mpeg card, if I use ppp-on to turned on the modem
> to connect to internet, it always displays (I don't know the exact
> message):
>
> + unexpected interrupt ...
> + ... reset ide ... sucess ...
It appears that the MPEG card stole another interrupt what causes that
your modem (serial) interrupt got shared together with IDE controller
or some other mess. CHECK YOUR I/O AND IRQ CONFLICTS! Disable all the
braindamaged Plug'n'Pray stuff. Set it all manually to some valid values.
These messages shouldn't appear (of couse).

> I examined the content of /dev/hdb1, it seems the superblock was erased
> accidentally. I don't know if the data was erased too.
Yes this happens during machine crashes. Sometimes it is not fatal
as the first block of ext2 is unused. But your dump reveals that even
the superblock (and only it!) got damaged. Damaged are only the first 2KB:

first KB - unused (partly replaced by start of 16-bit FAT - huh?)
second KB - recoverable superblock

Use "e2fsck -b <value>" where value is 8193, 16385, 24577, etc. (k*8192+1)
And be sure that you have the latest-greatest e2fsprogs-1.10 as the
previous versions had bugs in "-b" processing (info from Martin Mares
<mj@gts.cz>).
And last but not least - it would be better to send images as MIME-encoded
binary - base64 (or uuencode).

[hexdump deleted]

Jan Kratochvil

--IJpNTDwzlM2Ie8A6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i

iQCVAwUBM+xNFhzmWpyjcmwBAQHctAP/Z2iUQDpWibN9J6FCzPFiKB2QHCRPNLbD
k3JXxTMrh2/I9B1YSPm1OSLHw6ZvZD4J3/kYX6Ol9rJdsQYA6+MdTkkPWL3piBKZ
98s1GREYjPfqx2FnzW4gMLMlzvwnEh5ZutnO6A9fNTF8cd55IGeMoEwU0NuqwzhA
oHLmqSLLxMk=
=bGdK
-----END PGP SIGNATURE-----

--IJpNTDwzlM2Ie8A6--