 |
 |
 |
 |
| Hardware & Laptops Help with your hardware, including laptop issues |

14th February 2005, 02:06 PM
|
 |
Registered User
|
|
Join Date: Jan 2005
Location: Bangalore
Age: 29
Posts: 360

|
|
Floppy Drive problem
Hi,
Irrespective of the floppy I use I get this error while trying to mount them as root
[root@sify raghu]# mount /dev/fd0 /media/floppy
mount: /dev/fd0 is not a valid block device
The same floppies work fine in windows..................Please can anyone help me out
|

14th February 2005, 04:46 PM
|
 |
Registered User
|
|
Join Date: May 2004
Location: NJ
Posts: 913

|
|
|
Is it a USB floppy? If so, then the device is probably /dev/sda (or /dev/sdb, etc.).
mount /dev/sda /media/floppy
Also, are the floppies formatted? If not, they can't be mounted. To format a floppy:
fdformat
|

14th February 2005, 05:21 PM
|
 |
Registered User
|
|
Join Date: Jan 2005
Location: Bangalore
Age: 29
Posts: 360

|
|
|
Hi
No its not a USB device.........and fdformat /dev/fd0 is showing
[raghu@sify ~]$ fdformat /dev/fd0
/dev/fd0: No such device or address
|

14th February 2005, 05:52 PM
|
 |
Registered User
|
|
Join Date: May 2004
Location: NJ
Posts: 913

|
|
|
Run hwbrowser (as root). Does it show the floppy in the list of devices? If not, the system is not recognizing the device as a floppy. Is it a standard 3.5" drive or an Iomega/Superdisk/whatever high capacity drive/floppy combo? It it attached to the floppy interface on your motherboard, or to an IDE (or separate PCI card)?
|

14th February 2005, 06:19 PM
|
 |
Registered User
|
|
Join Date: Jan 2005
Location: Bangalore
Age: 29
Posts: 360

|
|
|
Hi
I ran hwbrowser but the floppy drive was not detected........But the same thing works on windows............
It is a standard 3.5" drive, attached to the floppy interface of motherboard..
|

14th February 2005, 07:44 PM
|
 |
Registered User
|
|
Join Date: May 2004
Location: NJ
Posts: 913

|
|
|
Unfortunately, "standard" floppy configurations are sometimes not standard. Yours appears to be one of those. You may be able to get some useful information from Windows by checking the floppy configuration in the device manager.
The next step is to check your BIOS. Make sure Plug 'n' Play (PNP) is disabled. If your BIOS allows configuration of the floppy, make sure it's set to ioport 0x3f0, irq=6, DMA=2. You may also need to specify some options in /etc/modprobe.conf, of the form:
options floppy option1 option2 ...
Look through this list and see if any apply to your situation. The floppy driver related options are:
floppy=asus_pci
Sets the bit mask to allow only units 0 and 1. (default)
floppy=daring
Tells the floppy driver that you have a well behaved floppy controller.
This allows more efficient and smoother operation, but may fail on
certain controllers. This may speed up certain operations.
floppy=0,daring
Tells the floppy driver that your floppy controller should be used
with caution.
floppy=one_fdc
Tells the floppy driver that you have only one floppy controller.
(default)
floppy=two_fdc
floppy=<address>,two_fdc
Tells the floppy driver that you have two floppy controllers.
The second floppy controller is assumed to be at <address>.
This option is not needed if the second controller is at address
0x370, and if you use the 'cmos' option.
floppy=thinkpad
Tells the floppy driver that you have a Thinkpad. Thinkpads use an
inverted convention for the disk change line.
floppy=0,thinkpad
Tells the floppy driver that you don't have a Thinkpad.
floppy=omnibook
floppy=nodma
Tells the floppy driver not to use Dma for data transfers.
This is needed on HP Omnibooks, which don't have a workable
DMA channel for the floppy driver. This option is also useful
if you frequently get "Unable to allocate DMA memory" messages.
Indeed, dma memory needs to be continuous in physical memory,
and is thus harder to find, whereas non-dma buffers may be
allocated in virtual memory. However, I advise against this if
you have an FDC without a FIFO (8272A or 82072). 82072A and
later are OK. You also need at least a 486 to use nodma.
If you use nodma mode, I suggest you also set the FIFO
threshold to 10 or lower, in order to limit the number of data
transfer interrupts.
If you have a FIFO-able FDC, the floppy driver automatically
falls back on non DMA mode if no DMA-able memory can be found.
If you want to avoid this, explicitly ask for 'yesdma'.
floppy=yesdma
Tells the floppy driver that a workable DMA channel is available.
(default)
floppy=nofifo
Disables the FIFO entirely. This is needed if you get "Bus
master arbitration error" messages from your Ethernet card (or
from other devices) while accessing the floppy.
floppy=usefifo
Enables the FIFO. (default)
floppy=<threshold>,fifo_depth
Sets the FIFO threshold. This is mostly relevant in DMA
mode. If this is higher, the floppy driver tolerates more
interrupt latency, but it triggers more interrupts (i.e. it
imposes more load on the rest of the system). If this is
lower, the interrupt latency should be lower too (faster
processor). The benefit of a lower threshold is less
interrupts.
To tune the fifo threshold, switch on over/underrun messages
using 'floppycontrol --messages'. Then access a floppy
disk. If you get a huge amount of "Over/Underrun - retrying"
messages, then the fifo threshold is too low. Try with a
higher value, until you only get an occasional Over/Underrun.
It is a good idea to compile the floppy driver as a module
when doing this tuning. Indeed, it allows to try different
fifo values without rebooting the machine for each test. Note
that you need to do 'floppycontrol --messages' every time you
re-insert the module.
Usually, tuning the fifo threshold should not be needed, as
the default (0xa) is reasonable.
floppy=<drive>,<type>,cmos
Sets the CMOS type of <drive> to <type>. This is mandatory if
you have more than two floppy drives (only two can be
described in the physical CMOS), or if your BIOS uses
non-standard CMOS types. The CMOS types are:
0 - Use the value of the physical CMOS
1 - 5 1/4 DD
2 - 5 1/4 HD
3 - 3 1/2 DD
4 - 3 1/2 HD
5 - 3 1/2 ED
6 - 3 1/2 ED
16 - unknown or not installed
(Note: there are two valid types for ED drives. This is because 5 was
initially chosen to represent floppy *tapes*, and 6 for ED drives.
AMI ignored this, and used 5 for ED drives. That's why the floppy
driver handles both.)
floppy=unexpected_interrupts
Print a warning message when an unexpected interrupt is received.
(default)
floppy=no_unexpected_interrupts
floppy=L40SX
Don't print a message when an unexpected interrupt is received. This
is needed on IBM L40SX laptops in certain video modes. (There seems
to be an interaction between video and floppy. The unexpected
interrupts affect only performance, and can be safely ignored.)
floppy=broken_dcl
Don't use the disk change line, but assume that the disk was
changed whenever the device node is reopened. Needed on some
boxes where the disk change line is broken or unsupported.
This should be regarded as a stopgap measure, indeed it makes
floppy operation less efficient due to unneeded cache
flushings, and slightly more unreliable. Please verify your
cable, connection and jumper settings if you have any DCL
problems. However, some older drives, and also some laptops
are known not to have a DCL.
floppy=debug
Print debugging messages.
floppy=messages
Print informational messages for some operations (disk change
notifications, warnings about over and underruns, and about
autodetection).
floppy=silent_dcl_clear
Uses a less noisy way to clear the disk change line (which
doesn't involve seeks). Implied by 'daring' option.
floppy=<nr>,irq
Sets the floppy IRQ to <nr> instead of 6.
floppy=<nr>,dma
Sets the floppy DMA channel to <nr> instead of 2.
floppy=slow
Use PS/2 stepping rate:
" PS/2 floppies have much slower step rates than regular floppies.
It's been recommended that take about 1/4 of the default speed
in some more extreme cases."
|

15th February 2005, 09:00 AM
|
 |
Registered User
|
|
Join Date: Jan 2005
Location: Bangalore
Age: 29
Posts: 360

|
|
Hi,
I tried your sugesstion but still the floppy drive is not working
|

15th February 2005, 05:10 PM
|
 |
Registered User
|
|
Join Date: May 2004
Location: NJ
Posts: 913

|
|
Quote:
|
Originally Posted by raghavendra
Hi,
I tried your sugesstion but still the floppy drive is not working 
|
Which one (what did you try)?
|

15th February 2005, 06:22 PM
|
 |
Registered User
|
|
Join Date: Jan 2005
Location: Bangalore
Age: 29
Posts: 360

|
|
Quote:
|
Originally Posted by macemoneta
Which one (what did you try)?
|
I went through all of which you had wriiten and tried most of them like which ever were applicable to my floppy drive I even checked the BIOS but it was of no use...............but I could not mount the floppy
|

15th February 2005, 06:37 PM
|
 |
Registered User
|
|
Join Date: May 2004
Location: NJ
Posts: 913

|
|
|
I'm going to need a more detailed response:
- When you booted Windows and went into the device manager, what configuration information did it have for your floppy controller and drive (ioport, irq, dma, manufacturer, model, etc.)?
- Does your BIOS have a Plug'n'Play option? If so, is it now disabled?
- Does your BIOS have configuration options for the floppy drive? If so, what are they set to?
- What is your hardware configuration, in particular your motherboard manufacturer and model?
|

21st February 2005, 04:54 PM
|
 |
Registered User
|
|
Join Date: Jan 2005
Location: Bangalore
Age: 29
Posts: 360

|
|
Hi,
First of all my apologies for not replying quickly since my internet was down............
I edited /etc/modprobe.conf
and added
floppy=one_fdc
now the floppy drive works most of the time but I do get a error during booting that the line floppy=one_fdc has error....But finally the floppy drive is working.........Thanks A Lot..and one more thing in the desktop icon its mount point is given to /mnt/floppy but in /etc/fstab the mount point is /media/floppy so I have edited the desktop icon and changed it to /media/floppy and even the cd-rom icon on the desktop has the same problem.......Is it the problem in all FC3 machines?
Quote:
|
Originally Posted by macemoneta
I'm going to need a more detailed response:
- When you booted Windows and went into the device manager, what configuration information did it have for your floppy controller and drive (ioport, irq, dma, manufacturer, model, etc.)?
- Does your BIOS have a Plug'n'Play option? If so, is it now disabled?
- Does your BIOS have configuration options for the floppy drive? If so, what are they set to?
- What is your hardware configuration, in particular your motherboard manufacturer and model?
|
|

21st February 2005, 05:18 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 3,855

|
|
|
macemoneta,
My compliments for your description of the options for the floppy driver. I'm going to save that message. I don't know what happened to the customer but the repair man did a good job.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
|

21st February 2005, 05:32 PM
|
 |
Registered User
|
|
Join Date: May 2004
Location: NJ
Posts: 913

|
|
Quote:
|
Originally Posted by raghavendra
Is it the problem in all FC3 machines?
|
Yes, it's a "cosmetic" bug in the current distribution. The bug has been reported to the Fedora developers, and will no doubt be corrected in the next release (mid-May). Fedora is primarily oriented towards the Gnome desktop, so forgetting to update the KDE icon locations was just an unfortunate oversight.
|

21st February 2005, 05:34 PM
|
 |
Registered User
|
|
Join Date: May 2004
Location: NJ
Posts: 913

|
|
Quote:
|
Originally Posted by tashirosgt
macemoneta,
My compliments for your description of the options for the floppy driver. I'm going to save that message. I don't know what happened to the customer but the repair man did a good job.
|
I can't take credit for creating the document; it's from the kernel documentation (installed with the kernel source, or the kernel-doc package).
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 03:32 (Wednesday, 22-05-2013)
|
|
 |
 |
 |
 |
|
|