[Bug 365] New: findfs blocks on /dev/fd* when trying to open the non-existant floppy device

bugzilla at busybox.net bugzilla at busybox.net
Sun May 31 17:41:04 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=365

           Summary: findfs blocks on /dev/fd* when trying to open the non-
                    existant floppy device
           Product: Busybox
           Version: 1.14.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: ozan at pardus.org.tr
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Hi,

When using busybox versions 1.13.3, 1.13.4, 1.14.1, we're having an
annoying problem during rootfs probing.

When we call

findfs LABEL=X

uuidcache_check_device() tries to open every device returned by
recursive_action("/dev",..).

When the system has no floppy disk drive *but* the controller is enabled
in BIOS,

or

the floppy cable is wrongly attached to the drive:

that open() call introduces a long delay, printing I/O errors on dmesg.

I think that 582dff051459b1394a48dec1f29a29e2442661a0 may be the
problematic commit as it started to scan /dev instead of using
/proc/partitions and /proc/cdroms.

1.14.x contains a commit (28ea4298e380d73203890c0f42de68e9798396d8) for fixing
findfs probing missing floppy but it
doesn't seem to fix the error.

I'll workaround the code for skipping the device nodes with major==2 but
an upstream solution seems to be required.

Thanks,
Ozan Caglayan


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list