Red Hat Bugzilla – Bug 145429
Kernel oops while unloading usb-storage after reading a CD
Last modified: 2015-01-04 17:15:56 EST
Created attachment 109920 [details]
CD track description for cdrdao
Description of problem:
After reading a CD which contained bad data kernel crashed when trying to unload
scsi-mod module. This happened after I was trying to read a CD written on
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. download attached foo.toc
2. dd of=foo.bin bs=150k count=0 seek=10
3. insert a blank CD-RW into USB CD writer
4. cdrdao write --device 0,0,0 --buffers 10 foo.toc
5. wait for cdrdao to finish with error
6. cdrdao read-cd --device 0,0,0 --datafile xxx.bin xxx.toc
7. wait for cdrdao to finish with read errors
8. turn off CD writer
9. modprobe -r sr-mod usb-storage
It should unload specified modules
I've tried my best to reproduce that broken CD, but with the real CD kernel
oopsed with different diagnostics just after I've turned off the writer's power.
That looks very similar to recently fixed bug with pulling off USB writer's cable.
Created attachment 109921 [details]
An update has been released for Fedora Core 3 (kernel-2.6.12-1.1372_FC3) which
may contain a fix for your problem. Please update to this new kernel, and
report whether or not it fixes your problem.
If you have updated to Fedora Core 4 since this bug was opened, and the problem
still occurs with the latest updates for that release, please change the version
field of this bug to 'fc4'.
Created attachment 116916 [details]
It is the same with kernel-2.6.12-1.1398_FC4
Mass update to all FC4 bugs:
An update has been released (2.6.13-1.1526_FC4) which rebases to a new upstream
kernel (188.8.131.52). As there were ~3500 changes upstream between this and the
previous kernel, it's possible your bug has been fixed already.
Please retest with this update, and update this bug if necessary.
fixed in kernel-2.6.13-1.1532_FC4