Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: how can I disable my non-existant floppy? It's causes hang

  1. #1
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    15

    how can I disable my non-existant floppy? It's causes hang

    Complete newbie to linux here. I have a DELL Latitude laptop (C540 I think, if you're interested). I recently installed Knoppix to my HDD (I know, now it's Debian, not Knoppix) using knoppix-installer. Works fine. I have an external firewire HDD which works fine too, now that I'm using that rescan script. My problem is that because my laptop DOESN'T have a floppy drive, anytime I try to switch to /mnt/exthdd in an app's "open file" dialog box, after typing in "/mnt", my computer freezes for 5 to 10 minutes. A little investigation reveals that it's trying to see what's on my non-existent floppy drive. If I do 'ls /mnt', I see 'floppy' there in the list. So my question is how can I remove my floppy, so that linux won't look for it anymore?

    Before posting this, I googled for solutions for this for a few hours. All I found was someone else who had the same problem, but no solutions. Any help you can give me would be greatly appreciated.

    Thanks in advance,

    V.

  2. #2
    Member registered user
    Join Date
    Jun 2003
    Posts
    73
    Add this line in /etc/modutils/aliases:
    Code:
    alias block-major-2 off
    and then reboot.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by MorskNorsk
    Add this line in /etc/modutils/aliases:
    Code:
    alias block-major-2 off
    and then reboot.
    And you would want to update-modules as root as well to update the /etc/modules.conf with the changes so they will be used on the next boot.

  4. #4
    Member registered user
    Join Date
    Jun 2003
    Posts
    73
    Thanks Stephan. Been a while since I've messed with those files on my machine.

  5. #5
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    15

    thanks, but

    Thanks guys for your help. I did as you said, but unfortunately the problem still exists. Any other ideas?

  6. #6
    Member registered user
    Join Date
    Jun 2003
    Posts
    73

    Reboot?

    Have you rebooted or anything? Try this and see if it returns a line with block-major-2:
    Code:
    $ grep off /etc/modules.conf

  7. #7
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    Midlands, UK
    Posts
    145
    Don't you normally disable an unwanted floppy in the BIOS?

  8. #8
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    15
    yes, it shows

    Code:
    alias block-major-2 off
    and yes, I've rebooted. in my bios (ie if I hit F2 when the computer's booting up) it shows both floppy disk A and B as disabled, but that doesn't help any.

    Some more information:

    When my computer freezes the way I described, if I hit ctrl-alt-F1, I the following on the screen:

    Code:
    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
    About two minutes pass between the computer's displaying of each of those lines. The whole time, back in my GUI, everything's frozen. Finally, when it unfreezes, it's in the /mnt directory, and "floppy" appears as one of the FILES, not one of the subdirectories.

    Finally, I forgot to mention that when I did "update-modules" like you said, I got the following error:

    Code:
    depmod: *** Unresolved symbols in /lib/modules/2.4.22-xfs/kernel/drivers/char/drm/gamma.o
    I appreciate all your help. Maybe there's something else I can do?

    Thanks again,

    V.

  9. #9
    Member registered user
    Join Date
    Jun 2003
    Posts
    73
    It almost sounds like dd is trying to image the floppy when you start up! Do you have any floppy module? Perhaps you could remove that. You'd still have errors in the log but probably wouldn't freeze. You could always rebuild the kernel and take out floppy support. The gamma.o shouldn't be a problem (at least not related to the floppy issue).

  10. #10
    Member registered user
    Join Date
    Sep 2003
    Location
    denver, co
    Posts
    72
    I had a similar problem on my Thinkpad (no floppy), where anytime you went to /mnt the system hung for several minutes. My cheesy fix was to delete /mnt/floppy, which did the trick for me.

Page 1 of 2 12 LastLast

Similar Threads

  1. Network Hang on booting...
    By Namisar in forum Hardware & Booting
    Replies: 1
    Last Post: 05-11-2005, 05:53 AM
  2. Hang at AGP Detected
    By admgamer in forum Hardware & Booting
    Replies: 1
    Last Post: 04-04-2005, 01:24 AM
  3. Hang during boot-up
    By yhw22 in forum General Support
    Replies: 3
    Last Post: 01-03-2005, 04:16 PM
  4. Kensington Keyboard=Hang
    By nitropowered in forum Hardware & Booting
    Replies: 1
    Last Post: 01-18-2004, 08:20 PM
  5. block-major-2: How to disable floppy drive detection at boot
    By ls_linux in forum Hardware & Booting
    Replies: 4
    Last Post: 06-15-2003, 01:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


(2) Seagate SAS Hard Drive Exos 7E8 3TB 7200RPM 128MB 12Gb/s 3.5 ST3000NM0035 picture

(2) Seagate SAS Hard Drive Exos 7E8 3TB 7200RPM 128MB 12Gb/s 3.5 ST3000NM0035

$49.99



Seagate BarraCuda ST3000DM008 3TB Internal SATA 6Gb 3.5

Seagate BarraCuda ST3000DM008 3TB Internal SATA 6Gb 3.5" Hard Drive 7200RPM 64MB

$91.99



Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k picture

Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k

$189.99



Seagate ST500DM009 BarraCuda 500 GB 3.5

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive

$14.99



Toshiba MG04ACA400 4TB 3.5-inch SATA 6 Gb/s 7,200 RPM Internal Hard Drive picture

Toshiba MG04ACA400 4TB 3.5-inch SATA 6 Gb/s 7,200 RPM Internal Hard Drive

$49.99



Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5

Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$669.99



Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD

$299.00



ST6000NM0034 DELL 6TB 7.2K 12G SAS 512E 3.5

ST6000NM0034 DELL 6TB 7.2K 12G SAS 512E 3.5" ENTERPRISE HARD DRIVE 8D1V4 08D1V4

$54.99



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$329.99



Seagate 6TB HDD ST6000NM0034 7.2K 3.5

Seagate 6TB HDD ST6000NM0034 7.2K 3.5" SAS 12Gb/s (NOT FOR PC - FOR SERVER ONLY)

$87.00