Skip to contentSkip to conversation

udev_start and no SCSI devices

DISCUSSION Jon Smirl 1 participant 1 message Jan 9, 2005

lore
Share & tools
lore

Jon Smirl

author
#0 lore raw

I'm using Fedora core 3 and udev. udev is taking 30 seconds to start. I tracked it down to something to do with SCSI support. I don't have any real SCSI devices, but I do have SATA drives and a CD writer. The problem seems to be with a queue_type of "none". It's the HOTPLUG scsi script that is hanging. The device on host0 is a SATA disk.

Adding some debug to start_udev I see this:

[root@jonsmirl sbin]# ./start_udev
Starting udev: /sbin/hotplug

/sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0/fw-host0

               /sys/devices/pci0000:00/0000:00:1f.2/host0      

/sys/devices/pci0000:00/0000:00:1f.2/host1 /sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0/fw-host0 /sys/devices/pci0000:00/0000:00:1f.2/host0 1/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/queue_type 1/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/queue_type 2/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/queue_type

30 second pause

bogus sysfs DEVPATH=/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/queue_type 3/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/queue_type 1/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/type 1/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/type 2/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/type
disk at /devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0
FATAL: Module sd_mod not found. 3/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/type /sys/devices/pci0000:00/0000:00:1f.2/host1
[ OK ]
[root@jonsmirl sbin]# cat /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/queue_type none
[root@jonsmirl sbin]#

Signature · 12 lines
Jon Smirl
[email protected]


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel