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

* [Bug 11497] Polling of IDE CD status can make machine unresponsive
  2008-09-04 16:57 [Bug 11497] New: Polling of IDE CD status can make machine unresponsive bugme-daemon
@ 2008-09-05 13:19 ` bugme-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugme-daemon @ 2008-09-05 13:19 UTC (permalink / raw)
  To: linux-ide

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


bbpetkov@yahoo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bbpetkov@yahoo.de
         AssignedTo|io_ide@kernel-bugs.osdl.org |bbpetkov@yahoo.de
             Status|NEW                         |ASSIGNED




------- Comment #1 from bbpetkov@yahoo.de  2008-09-05 06:19 -------
Hi,

can you send me your boot log and the correct syslog with the exact error
messages you see and also your kernel .config. Also, ide-cd doesn't take the
BKL in its code so it has to be somewhere in layers above it. It will be most
helpful, of course, if you could bisect it :).

P.S. Same goes for bug 11498, please send me the syslog output and .config
files.

Thanks!


-- 
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.
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).