cdrom_ioctl() hanging in 2.6.3
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
Quoted 11 lines · Andrew Morton
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
Quoted 5 lines · Joachim Geiler
Quoted 3 lines · Andrew Morton
Gents,
Quoted 8 lines
Quoted 8 lines
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), ...}) = 0open("/dev/sr0", O_RDONLY|O_NONBLOCK) = 12fstat64(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) = 12ioctl(12, 0x5393 <unfinished ...>
Here the process hangs in D state....
/dev/sr0 is a yamaha cdrw 6416 at symbios 53c875.
Joachim
Quoted 12 lines · Joachim Geiler
Quoted 10 lines · Joachim Geiler
Quoted 8 lines · Andrew Morton
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.
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
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.
Signature · 1 line
Jens Axboe