SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Switching from udev to eudev will fail using slackpkg. Use "installpkg /path/to/eudev ; installpkg /path/to/libgudev ; removepkg udev" instead, then proceed with your slackpkg commands as usual.
Quick question for eudev in -current. I am merely installing -current rather than upgrade as those braver than I are doing here.
The Changelog mentioned regenerating initrd to use eudev (if you're using generic kernel). I'm assuming that's loading a kernel module eudev when creating initrd.gz?
I'm not sure if this is an error or just a warning (things seem to be working fine), but I'm seeing the following message repeated a few times in /var/log/messages on pure 64bit current installed in a Virtualbox VM. The /lib/udev/pci-db file does not exist. I also tried to trace back to the files that may be related.
I encountered almost this exact problem following my -current update to eudev using slackpkg, yesterday evening. I resolved the issue by rebuilding the hardware database:
Code:
$ sudo /sbin/udevadm hwdb --update
Might this work for you?
Apart from that, my transition to eudev seems to have been seamless.
Last edited by cathartes; 11-20-2015 at 03:28 PM.
Reason: poor quoting on my part. added detail about using slackpkg.
Quick question for eudev in -current. I am merely installing -current rather than upgrade as those braver than I are doing here.
The Changelog mentioned regenerating initrd to use eudev (if you're using generic kernel). I'm assuming that's loading a kernel module eudev when creating initrd.gz?
as in the following, with a partial initrd shown:
initrd -c -k 4.1.13 -m eudev ?
There is no "eudev" kernel module. What is meant here, is that an initrd image contains udev. That will keep working of course, but if you want to get rid of udev in your initrd image then you will have to re-create it from scratch, in which case eudev will get added instead.
There is no "eudev" kernel module. What is meant here, is that an initrd image contains udev. That will keep working of course, but if you want to get rid of udev in your initrd image then you will have to re-create it from scratch, in which case eudev will get added instead.
Everything worked very well for me. I have just remarked some new messages with dmesg, but I don't see any consequence:
Quote:
[ 11.945375] udevd[539]: failed to execute '/lib/udev/pci-db' 'pci-db /devices/pci0000:00/0000:00:0a.0/0000:03:00.0': No such file or directory
[ 11.946198] udevd[540]: failed to execute '/lib/udev/pci-db' 'pci-db /devices/pci0000:00/0000:00:0a.0/0000:03:00.1': No such file or directory
[ 11.946229] udevd[541]: failed to execute '/lib/udev/pci-db' 'pci-db /devices/pci0000:00/0000:00:11.0': No such file or directory
[ 11.954266] udevd[542]: failed to execute '/lib/udev/pci-db' 'pci-db /devices/pci0000:00/0000:00:14.1': No such file or directory
Please see my reply to speck above. Does rebuilding the udev hardware database make these messages go away?
I previously had not upgraded aaa_elflibs. I did notice some errors in syslog so I upgraded aaa_elflibs and reinstalled all new eudev packages. I then rebuilt the hwdb with /sbin/udevadm hwdb --update. I rebooted and do not seem to have any errors in my syslog at this point.
I encountered almost this exact problem following my -current update to eudev using slackpkg, yesterday evening. I resolved the issue by rebuilding the hardware database:
Code:
$ sudo /sbin/udevadm hwdb --update
Might this work for you?
Thanks, that does seem to have removed the error messages. My udev-fu is pretty weak (I still think of HAL as being new).
Not one package on this long list actually links to libudev (.so.0 or .so.1).
...
I'd start by making sure that none of those updates were skipped somehow. If that doesn't clear it up then I suspect there's a custom compile somewhere that's pulling in libudev.so.0.
I'll try to recheck list manually so need some more time.
If I move /lib/libudev.so.0* somewhere and run startx then it says
xfce4-session: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
I just put a couple of updates in -current that make some minor adjustments to fix the issues with hwdb --update and the missing pci-db called by udisks.
For anyone who hasn't yet upgraded to eudev, the best way to ensure success is to make sure that a) libudev.so.0 is not missing while anything still requires it, and b) that libudev.so.1 and libgudev-1.0.so.0 are already installed before anything needs them.
To accomplish a), make sure that you have the latest version of aaa_elflibs installed.
To accomplish b), install the eudev and libgudev packages next.
Then do the rest of the upgrades in any order that you like. The udev package can be safely removed any time after step a. Once you've done a) and b), doing the rest of the updates with slackpkg should work fine. I'll have to look into how slackpkg is trying to do things to see if it can be better prepared for 14.2...
If I move /lib/libudev.so.0* somewhere and run startx then it says
xfce4-session: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
Thanks, it appears there are indeed some problems only on the 32-bit side. Strangely, none of those things are linked to libudev on x86_64.
Well, my 2 systems still appear to work. However...
I removed udev & installed eudev & libgudev in that order, than ran slackpkg update/install-new/upgrade-all which complained about gpg. I then turned GPG checking off (by editing /etc/slackpkg/slackpkg.conf) & completeed the slackpkg sequence.
I *may* have run "slackpkg update" prior to removing udev & installing eudev/libgudev...can't remember exactly. Maybe that was my problem with gpg.
Re-reading AlienBob's post #32, maybe I should have installed eudev/libgudev first, then removed udev.
After reboot, I had to run "sudo /sbin/udevadm hwdb --update" to get rid of the pci-db error.
Of course, I restored slackpkg.conf to GPG checking ON after all was said & done.
Also, I grabbed everything from my favorite mirror which I believe updates overnight, so any adjustments made today would not have been available yet.
Also, my 2 systems are 64-current.
Last edited by bgeer; 11-20-2015 at 07:43 PM.
Reason: Old eyes...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.