lkml.org 
[lkml]   [1996]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectFloppy driver problems??
Date


Did the floppy driver code change with 1.3.8X? I get some strange
behaviour with my floppy (I am running 1.3.84), like this:

- when the disk is write-protected, I do:

gek:~# fdformat /dev/fd1H1440
Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
Formatting ...
ioctl(FDFMTBEG): Read-only file system

ok, so it's write protected.. (yes, fd1 is 3.5') but then, after
unprotecting:

gek:~# fdformat /dev/fd1
ioctl(FDGETPRM): No such device

doing this repeatedly gets the same result (the disk I was using was already
formatted (1 min before) so I don't think it's a problem of detecting floppy
type). fdformat /dev/fd1H1440 will, however works as expected. After a succesfull
fdformat /dev/fd1H1440, fdformat /dev/fd1 will work.

- hitting ^C while fdformat will get me a page of numbers :) with the
floppy driver state and on the final lines I get a floppy timeout and
unexpected interrupt. (I can send a full report if interested)

- I cannot strace fdformat ... I also get the forementioned page with
numbers :) and fdformat also says: ioctl(FDFMTTRK): Interrupted system call

Did anyone notice these or I'm inventing things ?

Matei


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:2.896 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site