* cdrom_ioctl() hanging in 2.6.3
@ 2004-02-22 21:47 Andrew Morton
2004-02-23 5:47 ` Joachim Geiler
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2004-02-22 21:47 UTC (permalink / raw)
To: linux-scsi; +Cc: Justin T. Gibbs, Frank Pieczynski
Gents,
apparently KDE's `k3b' command is consistently hanging when accessing a
SCSI CDROM. See http://bugs.kde.org/show_bug.cgi?id=75553
Frank has generated a stack backtrace, below.
Is this an adaptec driver problem, or a generic thing?
Thanks.
k3b D 000000000eb40f2f 0 1848 1811 (NOTLB)
000001007889db78 0000000000000006 000001000268c080 ffffffff8027bb57
000001003cc14100 0000000000000073 000001003ff9abf0 000001003cc14438
0000010002705c00 0000000000000000
Call Trace:<ffffffff8027bb57>{ahc_linux_run_device_queue+1703}
<ffffffff80133715>{wait_for_completion+213} <ffffffff801333a0>{default_wake_function+0}
<ffffffff802617da>{scsi_request_fn+1034} <ffffffff801333a0>{default_wake_function+0}
<ffffffff80241c03>{blk_do_rq+179} <ffffffff80135f00>{autoremove_wake_function+0}
<ffffffff80242068>{sg_io+600} <ffffffff80242842>{scsi_cmd_ioctl+914}
<ffffffff8016879d>{do_no_page+1069} <ffffffffa004b036>{:sr_mod:sr_media_change+54}
<ffffffffa004154c>{:cdrom:media_changed+76} <ffffffff801813c6>{check_disk_change+38}
<ffffffffa00426cd>{:cdrom:cdrom_ioctl+77} <ffffffff80181aef>{blkdev_open+47}
<ffffffff802409f4>{blkdev_ioctl+900} <ffffffff8018d78c>{sys_ioctl+604}
<ffffffff8010ff40>{system_call+124}
I hope this helps,
Frank
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: cdrom_ioctl() hanging in 2.6.3 2004-02-22 21:47 cdrom_ioctl() hanging in 2.6.3 Andrew Morton @ 2004-02-23 5:47 ` Joachim Geiler 2004-02-23 19:58 ` Joachim Geiler 0 siblings, 1 reply; 4+ messages in thread From: Joachim Geiler @ 2004-02-23 5:47 UTC (permalink / raw) To: linux-scsi Andrew Morton wrote: > > Gents, > > apparently KDE's `k3b' command is consistently hanging when accessing a > SCSI CDROM. See http://bugs.kde.org/show_bug.cgi?id=75553 > > Frank has generated a stack backtrace, below. > > Is this an adaptec driver problem, or a generic thing? > > Thanks. Hello, I have the same problems with k3b and a symbios scsi controller (sym53c875). Hangs with 2.6.3rc3, 2.6.3mm1, 2.6.3mm2, but not with 2.6.1mm3 (tried only these kernels). Joachim ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cdrom_ioctl() hanging in 2.6.3 2004-02-23 5:47 ` Joachim Geiler @ 2004-02-23 19:58 ` Joachim Geiler 2004-02-23 21:11 ` Jens Axboe 0 siblings, 1 reply; 4+ messages in thread From: Joachim Geiler @ 2004-02-23 19:58 UTC (permalink / raw) To: linux-scsi Joachim Geiler wrote: > Andrew Morton wrote: > >> >> Gents, >> >> apparently KDE's `k3b' command is consistently hanging when accessing a >> SCSI CDROM. See http://bugs.kde.org/show_bug.cgi?id=75553 >> >> Frank has generated a stack backtrace, below. >> >> Is this an adaptec driver problem, or a generic thing? >> >> Thanks. Hello again, I did a strace of the syscalls of k3b before it hangs (kernel 2.6.3mm2). I think the following tail of the trace may be of interest: lstat64("/dev/sr0", {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0 open("/dev/sr0", O_RDONLY|O_NONBLOCK) = 12 fstat64(12, {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0 ioctl(12, 0x5321, 0x1) = 12 close(12) = 0 open("/dev/sr0", O_RDONLY|O_NONBLOCK) = 12 fstat64(12, {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0 ioctl(12, 0x5382, 0xbfffdc58) = 0 ioctl(12, 0x5386, 0xbfffdd24) = 0 close(12) = 0 open("/dev/sr0", O_RDONLY|O_NONBLOCK) = 12 ioctl(12, 0x5393 <unfinished ...> Here the process hangs in D state.... /dev/sr0 is a yamaha cdrw 6416 at symbios 53c875. Joachim ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cdrom_ioctl() hanging in 2.6.3 2004-02-23 19:58 ` Joachim Geiler @ 2004-02-23 21:11 ` Jens Axboe 0 siblings, 0 replies; 4+ messages in thread From: Jens Axboe @ 2004-02-23 21:11 UTC (permalink / raw) To: Joachim Geiler; +Cc: linux-scsi On Mon, Feb 23 2004, Joachim Geiler wrote: > Joachim Geiler wrote: > > > Andrew Morton wrote: > > > >> > >> Gents, > >> > >> apparently KDE's `k3b' command is consistently hanging when accessing a > >> SCSI CDROM. See http://bugs.kde.org/show_bug.cgi?id=75553 > >> > >> Frank has generated a stack backtrace, below. > >> > >> Is this an adaptec driver problem, or a generic thing? > >> > >> Thanks. > > Hello again, > > I did a strace of the syscalls of k3b before it hangs (kernel 2.6.3mm2). I > think the following tail of the trace may be of interest: See the other threads on same list about this, problem has been solved. -- Jens Axboe ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-02-23 21:11 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-02-22 21:47 cdrom_ioctl() hanging in 2.6.3 Andrew Morton 2004-02-23 5:47 ` Joachim Geiler 2004-02-23 19:58 ` Joachim Geiler 2004-02-23 21:11 ` Jens Axboe
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.