[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Floppydrive won't work



>> When I try 'mount /dev/fd0'  I get this message
>>
>> vegard@hjem:~$ mount /dev/fd0
>> /dev/fd0: Not valid argument                  <-translated from
norwegian, actual phrase:
>> 'Ugyldig argument'
>> mount: I could not determine the filesystem type, and none was specified
>>
>> This is the line from /etc/fstab
>>
>> /dev/fd0        /media/floppy   auto    rw,noauto,user,sync     0 0
>>
>>
>> wich i copyed from the example of using fstab found in tuxfiles.org. I
>> do
>> not know excactly wich device it is (/dev/fd???). Does anybody see what
>> is
>> wrong?
>>
>> --
>> System info:
>>   Debian Sarge GNU/Linux
>>   Kernel Image 2.4.27-1-386
>>
>> Cheers, Vegard
>>

> Hi,
>
> did you have a floppy in the drive? If so, maybe a floppy is not supported
> by your kernel. Or you have to load a module (the driver).

I had a floppy in the drive.

>
> type
> 	dmesg | grep -i floppy
[...]

hjem:~#  dmesg | grep -i floppy
end_request: I/O error, dev 02:00 (floppy), sector 2
end_request: I/O error, dev 02:00 (floppy), sector 3
end_request: I/O error, dev 02:00 (floppy), sector 4
end_request: I/O error, dev 02:00 (floppy), sector 5
end_request: I/O error, dev 02:00 (floppy), sector 6
end_request: I/O error, dev 02:00 (floppy), sector 7
end_request: I/O error, dev 02:00 (floppy), sector 0
end_request: I/O error, dev 02:00 (floppy), sector 0
end_request: I/O error, dev 02:00 (floppy), sector 1
end_request: I/O error, dev 02:00 (floppy), sector 2
end_request: I/O error, dev 02:00 (floppy), sector 3
end_request: I/O error, dev 02:00 (floppy), sector 4
end_request: I/O error, dev 02:00 (floppy), sector 5
end_request: I/O error, dev 02:00 (floppy), sector 6
end_request: I/O error, dev 02:00 (floppy), sector 7
hjem:~#
[...]

> check the directory of your kernel modules,
> 	ls /usr/lib/`uname -r`/kernel/drivers/block
> to see whether you have something like floppy.ko or floppy.o in there.
[...]

hjem:~# ls /usr/lib/$(uname -r)/kernel/drivers/block
ls: /usr/lib/2.4.27-1-386/kernel/drivers/block: No such file or directory 
<-(translated from norwegian)
hjem:~#
[...]

> If so, type
> 	modprobe floppy
> (without the .o or .ko suffix).
>
> type
> 	dmesg
> to see whether you now have a line about floppies. Then you are done and
> should be able do mount.

I have no line about floppy...

> Otherwise I am afraid I could not help
>
> Tim
>

List output from modconf :  kernel/drivers/block

  The modules that are currently installed on your system have
  a "+" character to the right of their name. Modules that aren't
  installed have a "-" to the right of their name. In some modules,
  you can read a page about possible options of a module and then
  you can enable or disable it. To do so, use the up and down arrow
  keys to move the cursor to the line for the module, and then press ENTER.

  Exit        Finished. Return to previous menu.

  cciss     - Compaq Smart Array support
  cpqarray  - Compaq SMART2 support
  DAC960    - Mylex DAC960/DAC1100 PCI RAID Controller support
  floppy    + Normal floppy disk support
  ^^^^^^^^^^^^^^^^^^^^^^^   This is loaded, wich I think is a good thing
  loop      - Loopback device support
  nbd       - Network block device support
  ps2esdi   - PS/2 ESDI hard disk support
  sx8       - Promise SATA SX8 support
  umem      - Micro Memory MM5415 Battery Backed RAM support (EXPERIMENTAL)
  xd        - XT hard disk support

Hoping these details makes it possibel to see the soloution.
Thanks from Vegard



Reply to: