You are not logged in.

#1 2008-02-13 17:13:20

renecane
Member
From: Finland
Registered: 2007-12-15
Posts: 9

Problem with my floppy drive

Today i tried to use my old floppy drive. I tried to format some floppies with Kfloppy but it says something like:
Internal error: device not correctly defined.

Ideas how to fix this?

Offline

#2 2008-02-13 17:27:43

vogets
Member
Registered: 2006-11-25
Posts: 31

Re: Problem with my floppy drive

Is the floppy module loaded ?

Offline

#3 2008-02-13 17:35:35

renecane
Member
From: Finland
Registered: 2007-12-15
Posts: 9

Re: Problem with my floppy drive

oops... typo in modules list corrected 'flopy' to 'floppy'
but still Kfloppy says:
The program fdformat terminated with an error

Offline

#4 2008-02-13 18:16:38

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: Problem with my floppy drive

can you find out what error? Perhaps try running fdformat on the command line instead of through Kfloppy to see the error.


The suggestion box only accepts patches.

Offline

#5 2008-02-13 19:02:26

renecane
Member
From: Finland
Registered: 2007-12-15
Posts: 9

Re: Problem with my floppy drive

hmm... i tried it:
root ~ #  fdformat /dev/fd0
/dev/fd0: No such device or address

so does this mean that it cant find my floppy device?

EDIT:
i also tried this:
root ~ #  mount -t ext2 /dev/fd0 /mnt/floppy/
mount: /dev/fd0 is not a valid block device

Last edited by renecane (2008-02-13 19:09:44)

Offline

#6 2008-02-13 19:14:29

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: Problem with my floppy drive

Have you restarted since adding floppy to your modules list.  If not try

modprobe floppy

Then

ls -l /dev/fd0

to check /dev/fd0 exists

and finally add yourself to the floppy group

gpasswd -a username floppy

You will need to log out and in for your floppy membership to take effect.  Then try again.

Last edited by gazj (2008-02-13 19:21:07)

Offline

#7 2008-02-13 20:13:16

renecane
Member
From: Finland
Registered: 2007-12-15
Posts: 9

Re: Problem with my floppy drive

yes i restarted my computer after that.
ls -l /dev/fd0 pritnts out this:
brw-rw---- 1 root floppy 2, 0 2008-02-13 23:57 /dev/fd0

and i added my user in floppy group but still it does not work. am i doing something wrong here? what should be in my fstab file ?

Offline

#8 2008-02-13 20:31:50

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: Problem with my floppy drive

Have you used the drive recently on arch or another OS? If so was it working.  If you recently (re)installed it do you have the floppy ribbon connected correctly?

Offline

#9 2008-02-13 20:33:12

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: Problem with my floppy drive

renecane wrote:

yes i restarted my computer after that.
ls -l /dev/fd0 pritnts out this:
brw-rw---- 1 root floppy 2, 0 2008-02-13 23:57 /dev/fd0

and i added my user in floppy group but still it does not work. am i doing something wrong here? what should be in my fstab file ?

My floppy works.  Here's the relevant line from my /etc/fstab

/dev/fd0        /media/floppy0  vfat            rw,user,noauto  0  0

Offline

#10 2008-02-13 20:43:31

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: Problem with my floppy drive

You don't need anything in your fstab to format a floppy with fdformat, in fact I doubt it would work if it was mounted.  Make sure it's unmounted before you use fdformat.

Last edited by gazj (2008-02-13 20:44:11)

Offline

#11 2008-02-13 20:47:19

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: Problem with my floppy drive

gazj wrote:

You don't need anything in your fstab to format a floppy with fdformat, in fact I doubt it would work if it was mounted.  Make sure it's unmounted before you use fdformat.

You are of course correct.

[david@darkstar ~]$ fdformat /dev/fd0
Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
Formatting ... 
ioctl(FDFMTTRK): Device or resource busy
[david@darkstar ~]$

Offline

Board footer

Powered by FluxBB