Bug 119774

Summary: scsi.agent too fast, misses device
Product: [Fedora] Fedora Reporter: Barry Stewart <blown.tire>
Component: hotplugAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
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: 2005-02-07 22:52:31 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:

Description Barry Stewart 2004-04-02 02:38:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312

Description of problem:
After plugging in my usb card reader (Lexar USB 2.0 Multi-Card
Reader), scsi.agent complains that it doesn't know how to add the device.

Somehow the sd_mod kernel module gets loaded anyway.


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

How reproducible:
Always

Steps to Reproduce:
1. Plug in usb card reader
2. View scsi.agent message in log.

    

Actual Results:  scsi.agent logs the following message:

scsi.agent[2744]: how to add device type= at
/devices/pci0000:00/0000:00:10.3/usb4/4-2/4-2:1.0/host3/3:0:0:0 ??

Expected Results:  scsi.agent should have logged the following:

scsi.agent[2914]: disk at
/devices/pci0000:00/0000:00:10.3/usb4/4-2/4-2:1.0/host4/4:0:0:0


Additional info:

I have worked around the problem by adding "sleep 0.5" to the
beginning of the /etc/hotplug/scsi.agent script.  It seems scsi.agent
looks for a file in the /sys directory before it (the file) gets created.

Comment 1 Bill Nottingham 2005-02-04 21:03:22 UTC
Does this still happen with FC2/FC3?

Comment 2 Barry Stewart 2005-02-05 19:52:07 UTC
Works fine with FC3.  It automatically mounted and put an icon on my
desktop, too.

scsi.agent[18185]: disk at
/devices/pci0000:00/0000:00:10.3/usb1/1-2/1-2:1.0/host0/target0:0:0/0:0:0:2
scsi.agent[18151]: disk at
/devices/pci0000:00/0000:00:10.3/usb1/1-2/1-2:1.0/host0/target0:0:0/0:0:0:0
scsi.agent[18162]: disk at
/devices/pci0000:00/0000:00:10.3/usb1/1-2/1-2:1.0/host0/target0:0:0/0:0:0:1


Comment 3 Bill Nottingham 2005-02-07 19:43:29 UTC
Argh, duh. Shouldn't have asked about FC3, it uses a different interface .

Comment 4 Bill Nottingham 2005-02-07 22:40:21 UTC

*** This bug has been marked as a duplicate of 119140 ***

Comment 5 Bill Nottingham 2005-02-07 22:52:31 UTC
Closing as 'currentrelease' for now. Please reopen if it reoccurs.