linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 11497] New: Polling of IDE CD status can make machine unresponsive
@ 2008-09-04 16:57 bugme-daemon
  2008-09-05 13:19 ` [Bug 11497] " bugme-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugme-daemon @ 2008-09-04 16:57 UTC (permalink / raw)
  To: linux-ide

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@kernel-bugs.osdl.org
        ReportedBy: bhutchings@solarflare.com


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-05 13:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 16:57 [Bug 11497] New: Polling of IDE CD status can make machine unresponsive bugme-daemon
2008-09-05 13:19 ` [Bug 11497] " bugme-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).