-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
udev rules don't trigger properly #55
Comments
Hi, I am the udev-init-scripts maintainer. |
Hi William, yes, arch have a planned /usr merge. Atm, there are still binaries installed on root partition. |
Consider it solved. My last hope and try did the trick. Leaves my question to William concerning the symlink check in udev runscript. |
I may be able now to drop the test that requires the path to point to the real binary, but that should be a udev-init-scripts bug since you found another resolution for your issue. |
I think its both, initscript and eudev related. I played with various combinations. Where can I report or propose udev-init-scripts issues? Simply file gentoo bug? |
Yes, you would file a gentoo bug. Make sure udev-init-scripts is in the title. |
I noticed one thing after having installed eudev on Arch. Thanks William, I will file a bug report on gentoo concerning udev-init-scripts. |
I confirm the slow uevents processing, not on Arch Linux tough so this is not just Arch Linux related problem and is introduced in recent commits. |
To be clear, does the problem occur when --prefix=/usr and --bindir=/bin ? |
I'm not seeing that, can you give me a specific example so I can try to reproduce. |
Correct. If prefix (rootprefix) is set to /usr, then uevents won't trigger if sbindir=/sbin.
I can't give you on my end much info, other than a quite big delay before uevents finished processing. |
Here is my boot log: http://pastebin.com/gt3Wbue2. It seems that this happens after the first "validate module index" message is printed. Hope this helps. |
And here some logs... http://openrc4arch.site40.net/pool/archlinux/log It is between 30 secs up to 1 min delay. |
The problem is some kind of race. Since I can't reproduce it, I havent been able to git disect it down to the commit that introduced it. The problem is obvioius in -> http://openrc4arch.site40.net/pool/archlinux/log/dmesg.log. I hate to ask you guys to do my job, but if you can do a git bisect that would help. I'll keep trying at my end. |
I checked my package manager log file and my previous build of eudev was dating from 18/03/2013. I'm currently using a package build on 05/04/2013. Both are from master checkout. |
Okay, I finally hit this but only on an i686 virtual machine. Right now I'm very confused because the identical amd64 works fine but the i686 stutters. At least now I can reproduce it and trace it down. |
I'm using amd64/x86_64 OS, so it's not only a i686 problem. |
Okay thanks fluxer, so its something about my i686 vm which is not there in the amd64 vm. Still I have a handle on it and can start tracing it down. |
I can also confirm that this issue extends to amd64. The build on the laptop amd64 dates 6.4.2013. |
It's cool, at least you can reproduce it now. if I had the time for it I would experiment with different checkouts myself but I don't unfortunately. |
Please test head for this issue. Its fixed. I'm going to close this bug after I get confirmation. Unfortunately we had two issues here, and I'm not sure I want to "fix" the first one, but its still important to remember. |
Nope, it's worse than before - now even stopping eudev is slow (udevadm control --exit). |
It starts nicely now for me on VM i686 just built from today's git. https://github.com/udeved/pkgbuilds/blob/master/openrc-extra/eudev-git/PKGBUILD dmesg |
We may have two issues going on. Can you see if anything on http://forums.gentoo.org/viewtopic-t-955682-highlight-udev+200.html helps. If you can't get anywhere, open a second bug and reference this one --- we already had two issues going on here and I don't want to polute the bug with more different issues. |
This fixes: eudev-project/eudev#55 https://bugs.freedesktop.org/show_bug.cgi?id=62864 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Hi,
I am on Arch Linux, and I use a separarte /usr partition.
I compile eudev with following configuration:
I update initrd after eudev install, I boot, openrc takes over, udev-init-scripts start up, but no additional kernel modules are loaded besides the ones loaded by initrd.
It doesn't make a difference if I set "enable-split-usr", the result is the same.
The bin dirs go on root partition so udev-init-scripts can run, since they don't like symlinks.
In summary, I end up with a booting system, mounted partitions, but for some reason, no additional kernel modules are loaded.
Here is a screenshot:
http://openrc4arch.site40.net/pool/archlinux/eudev.png
http://openrc4arch.site40.net/pool/archlinux/eudev1.png
http://openrc4arch.site40.net/pool/archlinux/eudev2.png
The text was updated successfully, but these errors were encountered: