Summary: | udev /dev/disk/by-id incomplete and unhelpful for SATA drives | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Paulson-Ellis <chris> |
Component: | [OLD] Core system | Assignee: | Greg Kroah-Hartman (RETIRED) <gregkh> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Chris Paulson-Ellis
2005-10-17 08:48:34 UTC
Tried sys-fs/udev-071. No change. Tried sys-kernel/vanilla-sources-2.6.13.4. No change. Are you sure you merged the udev config file correctly? 070 should have had a fix for this. Pretty sure. I don't remember changing any of them. I didn't get any CONFIG_PROTECT warnings when I updated to 071, so I guess I'm using a clean set of config files. As I mentioned before, udev-070 _was_ a lot better than earlier versions, so the fixes did improve things. Before I tried 070 I had no by-id or by-path trees at all! Tried sys-kernel/vanilla-sources-2.6.14. No change. I don't really know what to do about this. Your scsi disks are probably just odd ones that the id program can't detect properly. And yes, your usb disks show up as scsi disks, that's the way that they work. Can you run the following: scsi_id -g -x -s /block/sda -a as root, and let me know what the output is? The drives are regular Maxtor Serial-ATA drives as shipped with many workstations, esp. from Dell. I mentioned the working USB disks to show that the kernel's concept of modelling disks as SCSI disks (as with SATA) is not inherently broken. Presumably the lack of a decent serial number is due to the kernel libata driver, not udev. There is no difference in the scsi_id output that would indicate why sdb appears, but not sda... # scsi_id -g -x -s /block/sda -a ID_VENDOR=ATA ID_MODEL=Maxtor_6Y160M0 ID_REVISION=YAR5 ID_SERIAL=0ATA_Maxtor_6Y160M0_Linux_ATA-SCSI_simulator ID_TYPE=disk ID_BUS=scsi # scsi_id -g -x -s /block/sdb -a ID_VENDOR=ATA ID_MODEL=Maxtor_6Y160M0 ID_REVISION=YAR5 ID_SERIAL=0ATA_Maxtor_6Y160M0_Linux_ATA-SCSI_simulator ID_TYPE=disk ID_BUS=scsi I really don't know what to suggest. Care to work with upstream at the linux-hotplug-devel mailing list? Will do. I'll post the results here. |