lkml.org 
[lkml]   [2011]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Floppy: drive, floppy or driver problem ?
* Fr?d?ric L. W. Meunier (fredlwm@fredlwm.net) wrote:
> I tried 'dd if=/dev/fd0 of=foo.img' on a few floppy drives, and the first
> returned
>
> Sep 10 21:53:58 pervalidus kernel: ------------[ cut here ]------------
> Sep 10 21:53:58 pervalidus kernel: WARNING: at /usr/local/src/kernel/linux-3.0/drivers/block/floppy.c:1041 setup_rw_floppy+0x1ab/0x276 [floppy]()
> Sep 10 21:53:58 pervalidus kernel: Hardware name: GA-MA69VM-S2
> Sep 10 21:53:58 pervalidus kernel: floppy_disable_hlt() scheduled for removal in 2012

OK, well that's a kernel warning; doesn't look like too much to be worried about.

> Sep 10 21:54:09 pervalidus kernel: floppy0: data CRC error: track 18, head 1, sector 14, size 2
> Sep 10 21:54:10 pervalidus kernel: floppy0: data CRC error: track 18, head 1, sector 14, size 2
> Sep 10 21:54:10 pervalidus kernel: end_request: I/O error, dev fd0, sector 679
> Sep 10 21:54:10 pervalidus kernel: Buffer I/O error on device fd0, logical block 84

Well that looks like a bad sector read - either the drive or the floppy; if
you're getting the same values in multiple drives then probably the floppy.
I'm not convinced any 1.44MB floppies manage to survive more than 1 or 2
reads (if you're lucky....). So from that error you're at head 1 on cylinder
18, and with 18 sectors/track we get to sector 666 (!!) + 14 -> 680 - which
is close enough to the 679 reported for me think that's about right.
Not quite sure where the 84 comes from - 4KB blocks?

Anyway, sounds like duff disk.

> With the others, some didn't return any error, while others returned the
> same errors from the last four lines.
>
> But I then retried with the first floppy, and it didn't return anything in
> two runs.
>
> Anyway, looking in my logs, I also got it once in the past:
>
> Aug 25 19:29:51 pervalidus kernel: ------------[ cut here ]------------
> Aug 25 19:29:51 pervalidus kernel: WARNING: at /usr/local/src/kernel/linux-3.0/drivers/block/floppy.c:1041 setup_rw_floppy+0x1ab/0x276 [floppy]()
> Aug 25 19:29:51 pervalidus kernel: Hardware name: GA-MA69VM-S2
> Aug 25 19:29:51 pervalidus kernel: floppy_disable_hlt() scheduled for removal in 2012

Same warning as above.

Dave
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ gro.gilbert @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/


\
 
 \ /
  Last update: 2011-09-11 18:53    [W:0.036 / U:1.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site