Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2002 21:41:11 +0000
From:      John Ekins <jre@globalnet.co.uk>
To:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   System crash when trying to write a file on a bad floppy
Message-ID:  <3C51D0F7.4B07CD01@globalnet.co.uk>

next in thread | raw e-mail | index | archive | help
Hello,

I've just had a system crash when trying to write a file on a "bad"
floppy. I'm running FreeBSD 4.4-Release and had just copied kern.flp for
4.5-RC3 onto a floppy using dd. I mounted up the floppy without any
unusual flags (and certainly not read only) as I wanted to put a
boot.config file on there. I typed echo "/boot/loader -h" >
/mnt/floppy/boot.config". The write failed, the floppy light stayed on and
then suddenly the machine rebooted without warning. Alas I don't have a
crash dump as my RAM is bigger than my swap space. I did notice  several
entries like the following (these were the last) in /var/log/messages
after it rebooted:


Jan 25 21:15:52 <kern.crit> chunky /kernel: fd0c: hard error writing fsbn
16 of 16-18 (ST0 40<abnrml> ST1 2<write_prot
ect> ST2 0 cyl 0 hd 0 sec 17)
Jan 25 21:15:52 <kern.crit> chunky /kernel: fd0c: hard error writing fsbn
56 of 56-63 (ST0 40<abnrml> ST1 2<write_prot
ect> ST2 0 cyl 1 hd 1 sec 3)
Jan 25 21:15:52 <kern.crit> chunky /kernel: fd0c: hard error writing fsbn
64 (ST0 40<abnrml> ST1 2<write_protect> ST2 
0 cyl 1 hd 1 sec 11)
Jan 25 21:15:53 <kern.crit> chunky /kernel: fd0c: hard error writing fsbn
16 of 16-18 (ST0 40<abnrml> ST1 2<write_prot
ect> ST2 0 cyl 0 hd 0 sec 17)


As mentioned, the floppy was not write protected, so I guess it was just
faulty. However I was a bit surprised that the machine crashed like this.
Has anyone seen any comments on this?


Cheers,
John.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C51D0F7.4B07CD01>