Skip to contentSkip to conversation

2.4.0 config breaks /dev/fd0* major/minor ?

DISCUSSION Jeffrey Rose 3 participants 7 messages Jan 17, 2001

lore
Share & tools
lore
#0 lore raw

Greetings hard working coders,

I recently installed 2.4.0 on a RH 7 box, replacing the stock RH kernel-hack that came with the CD distro.

All is well, however, I get a wrong major/minor reported when attempting to mount /dev/fd0 ... I have tried all the fd0* related to a 1.44 disk in /dev with same message. The default major,minor for my /dev/fd0 is 2,0 (worked before upgrade).

I apologize in advance for submitting his to the kernel list, but if anyone has a moment to step away from chronic kernel-hacking-frustration-syndrom ... I would appreciate I tip as to what and how I may have broken something in my 2.4.0 config and how to regain access to my floppy drive.

Sincerely thankful,

Jeff

Signature · 8 lines
<[email protected]>
KEYSERVER=wwwkeys.de.pgp.net
SEARCH STRING=Jeffrey Rose
KEYID=6AD04244
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw
Quoted 2 lines · Jeffrey Rose

I get a wrong major/minor reported when attempting to mount /dev/fd0 ...

Sounds like it can't find the floppy driver, for whatever reason...

Signature · 7 lines
Jeff Garzik       | "You see, in this world there's two kinds of
Building 1024     |  people, my friend: Those with loaded guns
MandrakeSoft      |  and those who dig. You dig."  --Blondie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw
In reply to Jeffrey Rose
Quoted 6 lines · Jeff Garzik
Quoted 2 lines · Jeffrey Rose

I get a wrong major/minor reported when attempting to mount /dev/fd0 ...

Sounds like it can't find the floppy driver, for whatever reason...

I have seen this message, new with 2.4.0-2mdk (before I have 2.4.0-0.15mdk)
but only on one PC.
I have 2 PC, with same hardware, same PCMCIA config The first have mandrake 7.2 Odissey, and the modules floppy and floppy_cs are loaded, and /mnt/floppy is mounted The second have mandrake 7.1 Helium, and the modules fail during init. and I have this message:
'mount: /dev/fd0 has wrong major or minor number'

Problem of compatibility of some library?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to Jeffrey Rose
Quoted 20 lines · Christian Gennerat
Quoted 6 lines · Jeff Garzik
Quoted 2 lines · Jeffrey Rose

I get a wrong major/minor reported when attempting to mount /dev/fd0 ...

Sounds like it can't find the floppy driver, for whatever reason...

I have seen this message, new with 2.4.0-2mdk (before I have 2.4.0-0.15mdk)
but only on one PC.
I have 2 PC, with same hardware, same PCMCIA config The first have mandrake 7.2 Odissey, and the modules floppy and floppy_cs are loaded, and /mnt/floppy is mounted The second have mandrake 7.1 Helium, and the modules fail during init. and I have this message:
'mount: /dev/fd0 has wrong major or minor number'

Quoted 1 line

Problem of compatibility of some library?

Still checking ...

I also want to mention that the physical drive light *does* indicate partial success at some level of access, but mounting fails due to the major/minor problem. I am trying to determine if this is a kernel-CONFIG or a kernel-SPECIFIC problem I have encountered with this 2.4.0 upgrade.

Jeff

Signature · 8 lines
<[email protected]>
KEYSERVER=wwwkeys.de.pgp.net
SEARCH STRING=Jeffrey Rose
KEYID=6AD04244
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#4 lore raw
In reply to Jeffrey Rose
Quoted 6 lines · Jeff Garzik
Quoted 2 lines · Jeffrey Rose

I get a wrong major/minor reported when attempting to mount /dev/fd0 ...

Sounds like it can't find the floppy driver, for whatever reason...

I have seen this message, new with 2.4.0-2mdk (before I have 2.4.0-0.15mdk)
but only on one PC.
I have 2 PC, with same hardware, same PCMCIA config

The first have mandrake 7.2 Odissey, and the modules floppy and floppy_cs are loaded, and /mnt/floppy is mounted modutils-2.4.1-1mdk

The second have mandrake 7.1 Helium, and the modules fail during init. and I have this message:
'mount: /dev/fd0 has wrong major or minor number' modutils-2.3.21-2mdk (the last rpm-3)

Problem of compatibility of some library?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#5 lore raw

Re: 2.4.0 config breaks /dev/fd0* major/minor ? Fixed

In reply to Jeffrey Rose
Quoted 6 lines · Jeff Garzik
Quoted 2 lines · Jeffrey Rose

I get a wrong major/minor reported when attempting to mount /dev/fd0 ...

Sounds like it can't find the floppy driver, for whatever reason...

I have seen this message, new with 2.4.0-2mdk (before I have 2.4.0-0.15mdk)
but only on one PC.
I have 2 PC, with same hardware, same PCMCIA config

The first have mandrake 7.2 Odissey, and the modules floppy and floppy_cs are loaded, and /mnt/floppy is mounted modutils-2.4.1-1mdk

The second have mandrake 7.1 Helium, and the modules fail during init. and I have this message:
'mount: /dev/fd0 has wrong major or minor number' modutils-2.3.21-2mdk (the last rpm-3)

I have copied the files of modutils-2.4.1-1mdk,
and created 2 sym.links:

# ls -l /lib/modules/2.4.0-2mdk/pcmcia/
total 0
lrwxrwxrwx    1 root     root           29 jan 10 22:09 ds.o -> ../kernel/drivers/pcmcia/ds.o
lrwxrwxrwx    1 root     root           32 jan 17 11:30 floppy.o -> ../kernel/drivers/block/floppy.o
lrwxrwxrwx    1 root     root           35 jan 17 11:30 floppy_cs.o -> ../kernel/drivers/block/floppy_cs.o
and now, it works!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#6 lore raw

Re: 2.4.0 config breaks /dev/fd0* major/minor ? *not* Fixed

In reply to Jeffrey Rose
Quoted 24 lines · Christian Gennerat
Quoted 6 lines · Jeff Garzik
Quoted 2 lines · Jeffrey Rose

I get a wrong major/minor reported when attempting to mount /dev/fd0 ...

Sounds like it can't find the floppy driver, for whatever reason...

I have seen this message, new with 2.4.0-2mdk (before I have 2.4.0-0.15mdk)
but only on one PC.
I have 2 PC, with same hardware, same PCMCIA config

The first have mandrake 7.2 Odissey, and the modules floppy and floppy_cs are loaded, and /mnt/floppy is mounted modutils-2.4.1-1mdk

The second have mandrake 7.1 Helium, and the modules fail during init. and I have this message:
'mount: /dev/fd0 has wrong major or minor number' modutils-2.3.21-2mdk (the last rpm-3)

Quoted 8 lines

I have copied the files of modutils-2.4.1-1mdk, and created 2 sym.links:

# ls -l /lib/modules/2.4.0-2mdk/pcmcia/
total 0
lrwxrwxrwx    1 root     root           29 jan 10 22:09 ds.o -> ../kernel/drivers/pcmcia/ds.o
lrwxrwxrwx    1 root     root           32 jan 17 11:30 floppy.o -> ../kernel/drivers/block/floppy.o
lrwxrwxrwx    1 root     root           35 jan 17 11:30 floppy_cs.o -> ../kernel/drivers/block/floppy_cs.o
and now, it works!

I am not using pcmcia, as this is a desktop with ISDN (Fritz! PCI ISDN card), but I only get more verbose error messages with the /dev/fd0CompaQ :

#> mount /dev/fd0CompaQ /mnt/floppy
#> floppy0: sector not found: track 0, head 0, sector 3, size 2 #> floppy0: sector not found: track 0, head 0, sector 3, size 2 #> end_request: I/O error, dev 02:04 (floppy), sector 2 #> /dev/fd0CompaQ: Input/output error
#> mount: /dev/fd0CompaQ has wrong major or minor number

I will attempt a recompile with floppy as a module (as RH 2.2.16-22 did ... /lib/modules/2.2.16-22/block/ide-floppy.o), and see if 'ide-floppy.o' and the new 2.4.1 modutils will help resolve this problem (unless my sad Compaq Presario 5000 BIOS IRQ setup is to blame :-(

Cheers,

Jeff

Signature · 8 lines
<[email protected]>
KEYSERVER=wwwkeys.de.pgp.net
SEARCH STRING=Jeffrey Rose
KEYID=6AD04244
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/