Bug 119774 - scsi.agent too fast, misses device
Summary: scsi.agent too fast, misses device
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: hotplug
Version: rawhide
Hardware: i686
OS: Linux
medium
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-02 02:38 UTC by Barry Stewart
Modified: 2014-03-17 02:43 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-02-07 22:52:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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