Bug 136997

Summary: Removal of USB CDRW causes kernel panic
Product: [Fedora] Fedora Reporter: Antti Andreimann <antti.andreimann>
Component: kernelAssignee: Pete Zaitcev <zaitcev>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: barryn, byte, dledford, greg, jbaron, jdwyer1, jturner, sdonald, tburke, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-21 17:11:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 123268, 135876, 136451    
Attachments:
Description Flags
Oops message
none
Oops from system log none

Description Antti Andreimann 2004-10-25 01:47:57 UTC
Description of problem:
Kernel panic when removing USB CDRW drive.

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

How reproducible:
Always

Steps to Reproduce:
1. Plug in USB CD drive
2. Unplug USB CD drive

Actual Results:  Kernel OOPS. See attatchment.

Expected Results:  Safe removal.

Additional info:

Comment 1 Antti Andreimann 2004-10-25 01:48:50 UTC
Created attachment 105710 [details]
Oops message

Comment 2 Bill Nottingham 2004-10-25 21:42:36 UTC
Was it mounted at the time? (either manually, or by HAL)

Comment 3 Antti Andreimann 2004-10-26 01:31:22 UTC
No.

Comment 4 Bill Nottingham 2004-10-28 02:34:57 UTC
*** Bug 137377 has been marked as a duplicate of this bug. ***

Comment 5 Antti Andreimann 2004-11-05 00:37:57 UTC
The same Oops with 2.6.10-rc1, seems to work fine with 2.6.10-rc1-bk14
(tried multiple plug in/outs in a row). However hal in FC3 doesn't
work with 2.6.10-rc1-bk14, it will not recognize USB devices :(

Comment 6 Bill Nottingham 2004-11-10 21:48:55 UTC
*** Bug 138732 has been marked as a duplicate of this bug. ***

Comment 7 Jason Baron 2004-11-12 19:50:41 UTC
*** Bug 138095 has been marked as a duplicate of this bug. ***

Comment 8 Greg Kroah-Hartman 2004-11-22 17:25:50 UTC
Hm, scsi bug, not a usb-storage bug.

Comment 9 Jason Baron 2004-12-02 23:09:46 UTC
Can you re-test this with the latest rhel4 kernel at: 

http://people.redhat.com/davej/kernels/RHEL4/RPMS.kernel/

Comment 14 Andre Robatino 2004-12-13 21:44:44 UTC
  My father has almost the same problem, except that it seems to only
happen with the latest (681) kernel, and not 678 or earlier.  Also,
the Oops happens upon shutdown, not immediately upon removing the USB
device.  If the device is left attached until after shutdown, the Oops
doesn't happen.  Below is a system log attachment.  The device is
pulled at 14:07:31, and then the shutdown is started at 14:07:36, when
the Oops happens.  The machine hangs, and at 14:08:09 a Ctrl-Alt-Del
successfully reboots the machine (sometimes the machine is totally
hung and this doesn't work).  His machine is FC3 with all standard
updates applied.

Comment 15 Andre Robatino 2004-12-13 21:48:24 UTC
Created attachment 108471 [details]
Oops from system log

Comment 16 Antti Andreimann 2004-12-19 01:16:00 UTC
Still had issues with older releases, but the latest RHEL4 test kernel
(2.6.9-1.906_EL) works like a charm. Thank You davej! Running on it
right now.

Comment 17 Jay Turner 2004-12-21 17:11:21 UTC
Closing out based on feedback from comment 16.