Bug 135016 - scsi-remove-single-device removes devices other than specified
Summary: scsi-remove-single-device removes devices other than specified
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 2
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-08 01:01 UTC by Thomas Walker
Modified: 2015-01-04 22:10 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2005-02-18 16:42:45 UTC


Attachments (Terms of Use)

Description Thomas Walker 2004-10-08 01:01:35 UTC
Description of problem:

echo "scsi-remove-single-device 2 0 0 0" > /proc/scsi/scsi
On a system with a root scsi hdd on 0 0 0 0 yanks the rootdisk out
from under the system

Note that the device I'm trying to remove is a firewire disk (ipod)
via sbp2 while the hosts 0 and 1 are sata hdd controllers

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

kernel-2.6.8-1.521

How reproducible:

see above 
note that I can only reproduce this if I have mounted/unmounted the
firewire disk before trying to remove it (just prior to removeing sbp2)

  
Actual results:

Machine hangs with errors in /var/log/messages

Expected results:

the specified device would be removed and all would continue as usual

Comment 1 Thomas Walker 2005-02-18 16:42:45 UTC
no longer needed with fc3 and all of the udev magic, closing.


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