Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517668 - >=sys-fs/udev-182: Restore by-path links for ATA transport (despite of known problems at kernel level)
Summary: >=sys-fs/udev-182: Restore by-path links for ATA transport (despite of known ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: udev maintainers
URL: http://git.kernel.org/cgit/linux/hotp...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-21 10:59 UTC by Samuli Suominen (RETIRED)
Modified: 2014-07-21 11:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
udev-215-ATA_and-by_path.patch (udev-215-ATA_and_by-path.patch,721 bytes, patch)
2014-07-21 10:59 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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