Add this line in /etc/modutils/aliases:
and then reboot.Code:alias block-major-2 off
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.
Add this line in /etc/modutils/aliases:
and then reboot.Code:alias block-major-2 off
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.Originally Posted by MorskNorsk
Thanks Stephan. Been a while since I've messed with those files on my machine.
Thanks guys for your help. I did as you said, but unfortunately the problem still exists. Any other ideas?
Have you rebooted or anything? Try this and see if it returns a line with block-major-2:
Code:$ grep off /etc/modules.conf
Don't you normally disable an unwanted floppy in the BIOS?
yes, it shows
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.Code:alias block-major-2 off
Some more information:
When my computer freezes the way I described, if I hit ctrl-alt-F1, I the following on the screen:
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.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
Finally, I forgot to mention that when I did "update-modules" like you said, I got the following error:
I appreciate all your help. Maybe there's something else I can do?Code:depmod: *** Unresolved symbols in /lib/modules/2.4.22-xfs/kernel/drivers/char/drm/gamma.o
Thanks again,
V.
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).
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.
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$250.99
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server
$174.99
DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45
$346.00
Dell PowerEdge R420 2 2.4 4C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU
$125.00
Dell Poweredge R730xd 3.5 2x E5-2690 v3 2.6ghz 64gb H730 14x Trays 2x 1100w
$489.99
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$489.99
Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 
$180.00
Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB
$324.99
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$167.99