linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 12945] New: SCSI Generic (sg): BUG: sleeping function called from invalid context
@ 2009-03-26 12:27 bugzilla-daemon
  2009-03-26 12:29 ` [Bug 12945] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: bugzilla-daemon @ 2009-03-26 12:27 UTC (permalink / raw)
  To: linux-scsi

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

           Summary: SCSI Generic (sg): BUG: sleeping function called from
                    invalid context
           Product: SCSI Drivers
           Version: 2.5
    Kernel Version: 2.6.28.9
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: scsi_drivers-other@kernel-bugs.osdl.org
        ReportedBy: txtoxtox285@googlemail.com
        Regression: No


Created an attachment (id=20685)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=20685)
Stack trace on program kill (2.6.28.9)

I am experimenting with CD audio extraction. I use the SCSI Generic driver for
this.

My test program uses read() and write() (instead of ioctl) to send requests to
the driver and receive responses. I use SG_FLAG_DIRECT_IO.

When I kill my program (because I don't want to wait until it has ripped the
entire CD), I am often rewarded with messages like "BUG: sleeping function
called from invalid context at linux-2.6.28.9/include/linux/pagemap.h:347". I
have attached typical stack trace.

Another case when I hit this BUG is when I set a time out and the CD drive
doesn't respond fast enough. A stack trace is attached.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <bug-12945-11613@http.bugzilla-testing.kernel.org/>]

end of thread, other threads:[~2010-01-25 13:10 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26 12:27 [Bug 12945] New: SCSI Generic (sg): BUG: sleeping function called from invalid context bugzilla-daemon
2009-03-26 12:29 ` [Bug 12945] " bugzilla-daemon
2009-03-26 14:49 ` [Bug 12945] New: " Andrew Morton
2009-03-26 18:43   ` Jens Axboe
2009-03-27  4:09     ` FUJITA Tomonori
2009-03-27  6:57       ` Jens Axboe
2009-03-26 18:45   ` Tobias X
2009-03-27  3:51   ` FUJITA Tomonori
2009-03-26 14:50 ` [Bug 12945] " bugzilla-daemon
2009-03-26 18:38 ` bugzilla-daemon
2010-01-25 13:10 ` bugzilla-daemon
2010-01-25 13:10 ` bugzilla-daemon
     [not found] <bug-12945-11613@http.bugzilla-testing.kernel.org/>
2009-03-26 18:45 ` bugzilla-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).