Public bug reported:

/lib/udev/rules.d/60-persistent-storage.rules has the line:
 ENV{DEVTYPE}=="disk", DEVPATH!="*/virtual/*", IMPORT{builtin}="path_id"

This function is suppose to return a unique "PATH" to a particular port that a 
device is plugged into.  Instead it is reporting the PCI address and a made up 
scsi ID:
  pci-0000:00:11.0-scsi-0:0:0:0

It reports the same value for all 5 active SATA drives in the system.
At the time of this report, one drive is removed for RMA, but all drives
were getting the same value.

udevadm info -a reports the following for the different drives:
  /devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0/block/sda
  /devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/block/sdb
  /devices/pci0000:00/0000:00:11.0/ata4/host3/target3:0:0/3:0:0:0/block/sdc
  /devices/pci0000:00/0000:00:11.0/ata6/host5/target5:0:0/5:0:0:0/block/sr0

To verify I ran: 
  udevadm test /block/sdc
and then ls -l /dev/disk/by-path/
  pci-0000:00:11.0-scsi-0:0:0:0 -> ../../sdc
Running:
  udevadm test /block/sda 
results in:
  pci-0000:00:11.0-scsi-0:0:0:0 -> ../../sda

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: udev 175-0ubuntu26
ProcVersionSignature: Ubuntu 3.8.0-25.37-generic 3.8.13
Uname: Linux 3.8.0-25-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Mon Aug 26 13:31:11 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-05-29 (88 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: To be filled by O.E.M. To be filled by O.E.M.
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-25-generic 
root=UUID=b3fa23de-0c8d-4226-9ba0-d97e90cd05d0 ro quiet splash
SourcePackage: udev
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/17/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0906
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: M5A97 LE R2.0
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0906:bd09/17/2012:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnASUSTeKCOMPUTERINC.:rnM5A97LER2.0:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: To be filled by O.E.M.

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 raring

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1217030

Title:
  udev IMPORT{builtin}="path_id" returns wrong value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1217030/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to