Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 517668

Summary: >=sys-fs/udev-182: Restore by-path links for ATA transport (despite of known problems at kernel level)
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Current packagesAssignee: udev maintainers <udev-bugs>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.kernel.org/cgit/linux/hotplug/udev.git/commit/?id=481dcf7c8f
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: udev-215-ATA_and-by_path.patch

Description Samuli Suominen (RETIRED) gentoo-dev 2014-07-21 10:59:17 UTC
Created attachment 381228 [details, diff]
udev-215-ATA_and-by_path.patch

I plan on closing this bug immediately as RESOLVED, WONTFIX because this is obviously broken on random systems. I'm reporting this only so that I can find this easier myself.

USE="by-path" that would apply:

Enable by-path links for ATA transport despite of the known problems:

http://git.kernel.org/cgit/linux/hotplug/udev.git/commit/?id=481dcf7c8f
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9a6d6a2ddabbd32c07f6a38b659e5f3db319fa5a

--- src/udev/udev-builtin-path_id.c
+++ src/udev/udev-builtin-path_id.c
@@ -386,10 +386,12 @@
          * Until all that is solved at the kernel level, there are no by-path/
          * links for ATA devices.
          */
+#if 0
         if (strstr(name, "/ata") != NULL) {
                 parent = NULL;
                 goto out;
         }
+#endif
 
         if (strstr(name, "/vmbus_") != NULL) {
                 parent = handle_scsi_hyperv(parent, path);
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-07-21 11:04:19 UTC
User reporting same issue in forums:

http://forums.gentoo.org/viewtopic-p-7587032.html