From: bugzilla-daemon@bugzilla.kernel.org
To: linux-scsi@vger.kernel.org
Subject: [Bug 12945] New: SCSI Generic (sg): BUG: sleeping function called from invalid context
Date: Thu, 26 Mar 2009 12:27:53 GMT [thread overview]
Message-ID: <bug-12945-11613@http.bugzilla.kernel.org/> (raw)
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.
next reply other threads:[~2009-03-26 13:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 12:27 bugzilla-daemon [this message]
2009-03-26 12:29 ` [Bug 12945] SCSI Generic (sg): BUG: sleeping function called from invalid context 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-12945-11613@http.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.