[Bug 11497] New: Polling of IDE CD status can make machine unresponsive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



http://bugzilla.kernel.org/show_bug.cgi?id=11497

           Summary: Polling of IDE CD status can make machine unresponsive
           Product: IO/Storage
           Version: 2.5
     KernelVersion: 2.6.27-rc5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: IDE
        AssignedTo: io_ide@xxxxxxxxxxxxxxxxxxxx
        ReportedBy: bhutchings@xxxxxxxxxxxxxx


Whenever a device handled by ide-cd is opened, the driver polls the device
status for up to 5 seconds waiting for a good status value. Since this is done
in the open operation, it is holding the BKL all this time. For unknown reasons
(possibly another driver bug) the DVD-ROM drives in some machines here can get
into a state where they always return status 0xd0 and ide-cd always polls for
the full 5 seconds.

hal-storage-daemon appears to open CD-ROM devices every 5 seconds, with the
result that in this state all other operations requiring the BKL can only run
at 5 second intervals. This is possibly bad behaviour on HAL's part, but the
driver also seems to be at fault in holding the BKL for so long.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux