Floppy drive not responding.

NoOp glgxg at sbcglobal.net
Fri Jun 26 17:26:59 UTC 2009


On 06/26/2009 02:42 AM, HermanAA wrote:
> my (newly added) floppy does not show up.
> Cannot mount drive ... seems to be the problem.
> The floppy drive is working under WINdows.
> 
> I must be doing something wrong in the setup.
> 
> my fstab : (bulk removed)
...
> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

Mine:
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0

> n0jn at bsw:~$ mount /dev/fd0
> mount: /dev/fd0 is not a valid block device
> n0jn at bsw:~$ mount /media/floppy0
> mount: /dev/fd0 is not a valid block device
> n0jn at bsw:~$ 

Makes sense if you have no floppy in the drive.

This is what it will look like with a write-protected floppy in the drive:
$ mount /dev/fd0
mount: block device /dev/fd0 is write-protected, mounting read-only

> 
> looking around:
....
> 
> n0jn at bsw:~$ ls -l /media/
> total 12
> lrwxrwxrwx 1 root root    6 2009-01-14 17:42 cdrom -> cdrom0
> drwxr-xr-x 2 root root 4096 2009-01-14 17:42 cdrom0
> drwx------ 2 root root 4096 2009-03-06 10:46 disk
> drwxr-xr-x 2 root root 4096 2009-06-17 09:22 floppy0
> n0jn at bsw:~$ 

$ ls -l /media/
total 51
lrwxrwxrwx 1 root  root      6 2007-08-18 10:39 cdrom -> cdrom0
drwxr-xr-x 2 root  root   4096 2007-08-18 10:39 cdrom0
drwxrwxrwx 2 root  root   4096 2007-10-30 12:43 cdrom1
drwxr-xr-x 2 root  root   4096 2007-08-22 18:56 drive2
lrwxrwxrwx 1 root  root      7 2007-08-18 10:39 floppy -> floppy0
drwxr-xr-x 2 gg    gg     7168 1969-12-31 16:00 floppy0
drwxrwxrwx 1 root  root   4096 2009-05-27 10:07 sdb2
drwxrwxrwx 1 root  root  20480 2009-05-27 10:17 windows
drwxr-xr-x 2 root  root   4096 2008-06-13 16:22 winshares
drwxr-xr-x 2 root  root   4096 2007-08-23 18:09 xfs

drwxr-xr-x 2 gg gg  7168 1969-12-31 16:00 floppy0
is with a valid floppy in the drive.

> 
> Where am I going wrong?

$ dmesg |grep fd[0-9]
[    0.640565] pci 0000:01:00.0: reg 10 32bit mmio: [0xfd000000-0xfdffffff]
[    3.857829] Floppy drive(s): fd0 is 1.44M
[ 9634.348028] end_request: I/O error, dev fd0, sector 0
[ 9634.372029] end_request: I/O error, dev fd0, sector 0
[ 9647.236034] end_request: I/O error, dev fd0, sector 0
[ 9647.260034] end_request: I/O error, dev fd0, sector 0

I get the same i/o errors but my floppies/fd0 is working fine.







More information about the ubuntu-users mailing list