Results 1 to 5 of 5
Hi!
I am running Fedora Core 1 on an IBM Thinkpad A31p without floppy drive.
If got the Problem, that at boot-time Linux tries to load a kernel module for ...
- 04-05-2004 #1Just Joined!
- Join Date
- Apr 2004
- Posts
- 2
How to prevent loading of Floppy drive module at boot?
Hi!
I am running Fedora Core 1 on an IBM Thinkpad A31p without floppy drive.
If got the Problem, that at boot-time Linux tries to load a kernel module for floppy drive support that, what a surprise, doesnt find any device. The resulting warning messages at boot time are slightly annoying
.
Can anyone give me a hint, what I can do about that?
Thx
Garf
- 04-05-2004 #2Linux User
- Join Date
- Nov 2003
- Location
- Brooklyn, NY
- Posts
- 347
I am not sure but see if you have floppy in fstab.
If it's there you should try deleting that line and saving.Code:cat /etc/fstab
- 04-06-2004 #3Just Joined!
- Join Date
- Apr 2004
- Posts
- 2
Thx for the quick answer but in my fstab isn't any trace of ao floppy device:
The error message during the booting process is:Code:LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda6 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
Where do I find the file controlling the loading of kernel modules during startup?Code:Apr 6 17:18:14 Garfield devlabel: devlabel service started/restarted Apr 6 17:18:15 Garfield kernel: inserting floppy driver for 2.4.22-1.2174.nptl Apr 6 17:18:15 Garfield kernel: Floppy drive(s): fd0 is 1.44M Apr 6 17:18:18 Garfield kernel: floppy0: no floppy controllers found Apr 6 17:18:18 Garfield insmod: /lib/modules/2.4.22-1.2174.nptl/kernel/drivers/block/floppy.o: init_module: No such device Apr 6 17:18:18 Garfield insmod: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg Apr 6 17:18:18 Garfield insmod: /lib/modules/2.4.22-1.2174.nptl/kernel/drivers/block/floppy.o: insmod block-major-2 failed
Any further suggestions?
Thx in advance
Garf
- 04-09-2004 #4Just Joined!
- Join Date
- Apr 2004
- Posts
- 14
The error messages aren't going to "hurt" anything, but if you want to prevent them try the following.
/etc/modules.conf should list the modules that are attempted to be loaded at bootup. So if you open this file in an editor (you'll need to be logged in as root to do so I think) you can use the search function (search: floppy) to find the line where the floppy module is loaded.
You can add a # symbol to the front of this line and that should keep that module from being loaded. When you do have the floppy drive connected though, you'll have to go back in and remove that # symbol though.
- 10-21-2004 #5Just Joined!
- Join Date
- Oct 2004
- Posts
- 1
Try as root: modprobe -r floppy
You can use modprobe --list to see all the loaded modules. modules.conf will not list the floppy module as it is a standard module normally always loaded.


Reply With Quote
