Bug 145429 - Kernel oops while unloading usb-storage after reading a CD
Kernel oops while unloading usb-storage after reading a CD
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
4
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-18 06:44 EST by vvs
Modified: 2015-01-04 17:15 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-11-04 01:39:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
CD track description for cdrdao (43 bytes, text/plain)
2005-01-18 06:44 EST, vvs
no flags Details
dmesg output (13.95 KB, text/plain)
2005-01-18 06:46 EST, vvs
no flags Details
dmesg output (17.28 KB, text/plain)
2005-07-19 06:32 EDT, vvs
no flags Details

  None (edit)
Description vvs 2005-01-18 06:44:57 EST
Created attachment 109920 [details]
CD track description for cdrdao
Comment 1 vvs 2005-01-18 06:44:57 EST
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
Windows XP.

Version-Release number of selected component (if applicable):

kernel-2.6.10-1.741_FC3

How reproducible:

Always

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
  
Actual results:

Kernel oops

Expected results:

It should unload specified modules

Additional info:

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.
Comment 2 vvs 2005-01-18 06:46:01 EST
Created attachment 109921 [details]
dmesg output
Comment 3 Dave Jones 2005-07-15 16:19:18 EDT
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'.

Thank you.
Comment 4 vvs 2005-07-19 06:32:41 EDT
Created attachment 116916 [details]
dmesg output
Comment 5 vvs 2005-07-19 06:34:31 EDT
It is the same with kernel-2.6.12-1.1398_FC4
Comment 6 Dave Jones 2005-09-30 02:54:00 EDT
Mass update to all FC4 bugs:

An update has been released (2.6.13-1.1526_FC4) which rebases to a new upstream
kernel (2.6.13.2). 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.

Thanks.
Comment 7 vvs 2005-11-04 01:39:16 EST
fixed in kernel-2.6.13-1.1532_FC4

Note You need to log in before you can comment on or make changes to this bug.