[Bug 384579] Re: Linux thinks there’s a floppy drive when there’s not. Probing slows down bootup by almost a minute.

Johan Kiviniemi launchpad.net at johan.kiviniemi.name
Mon Jun 8 11:04:31 UTC 2009


** Summary changed:

- probes (nonexisting) /dev/fd0 for almost a minute
+ Linux thinks there’s a floppy drive when there’s not. Probing slows down bootup by almost a minute.

** Description changed:

- Binary package hint: devicekit-disks
+ Since the installation of DeviceKit-disks, the system startup blocks for
+ almost a minute on two of my computers when udev runs /lib/udev/devkit-
+ disks-part-id for fd0.
  
- Judging from the bootchart, a devkit-disks-pa... process (devkit-disks-
- part-id started by udev?) blocks system startup for almost a minute.
+ Neither of the computers in question have a floppy drive, but Linux
+ says:
  
- This happens on both of the computers I have running karmic.
+ [    2.467794] Floppy drive(s): fd0 is 1.44M
  
- dmesg and lshw for the computer the attached bootchart is from:
+ I probably could workaround the problem by disabling floppy drives in
+ BIOS settings, but one would think the OS could realize a drive doesn’t
+ exist automatically.
+ 
+ % tail -n0 -F /var/log/syslog & time sudo /lib/udev/devkit-disks-part-id /dev/fd0
+ DKD_MEDIA_AVAILABLE=1
+ Entering MS-DOS parser (offset=0, size=4096)
+ Jun  8 13:39:53 virhe kernel: [131622.526230] end_request: I/O error, dev fd0, sector 0
+ Jun  8 13:40:06 virhe kernel: [131635.590496] end_request: I/O error, dev fd0, sector 0
+ Jun  8 13:40:06 virhe kernel: [131635.590517] Buffer I/O error on device fd0, logical block 0
+ read failed (Input/output error)
+ Exiting MS-DOS parser
+ Entering Apple parser
+ Jun  8 13:40:19 virhe kernel: [131648.654322] end_request: I/O error, dev fd0, sector 0
+ Jun  8 13:40:19 virhe kernel: [131648.654343] Buffer I/O error on device fd0, logical block 0
+ read failed (Input/output error)
+ Leaving Apple parser
+ No known partition table found
+ No partition table found on /dev/fd0: Input/output error
+ sudo /lib/udev/devkit-disks-part-id /dev/fd0  0.01s user 0.02s system 0% cpu 52.301 total
+ 
+ Interestingly, lshw does not list a floppy drive at all.
+ 
  http://heh.fi/hw/virhe.20090607.dmesg.karmic
  http://heh.fi/hw/virhe.20090607.lshw
- 
- I have devicekit-disks 004-1.

-- 
Linux thinks there’s a floppy drive when there’s not. Probing slows down bootup by almost a minute.
https://bugs.launchpad.net/bugs/384579
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.




More information about the kernel-bugs mailing list