LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-11-2006, 05:49 AM   #1
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 755

Rep: Reputation: 65
udev error messages during boot


Apologies for this double post....
Please ignore this one.


Hi,

I have always stayed current (Slackware), but got 6 weeks behind. After I updated (using slapt-get, and yes, carefully inspected the changelog) I get loads of error messages from udev during boot. They don't seem to be harmful, since all works well, but nevertheless I would like to know what causes these messages.

I read somewhere that they were caused by stale hotplug files. Since hotplug has been taken over by udev. I tried removing the hotplug package, but it didn't help.

Anyone who knows what's going on?

A LOT of these two lines:

This is what I get (from /var/log/syslog)
Sep 10 13:40:34 sphritzs udevd-event[5719]: run_program: exec of program '/sbin/udev_run_devd' failed
Sep 10 13:40:34 sphritzs udevd-event[5721]: run_program: exec of program '/sbin/udev_run_hotplugd' failed

And after those lines during boot I see similar warnings but somehow related to modules. For some reason I don't see these in /var/log/messages or /var/log/syslog)

Cheers, Leon.

Last edited by BroX; 09-11-2006 at 05:50 AM.
 
Old 09-11-2006, 06:58 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,333

Rep: Reputation: Disabled
The programs "/sbin/udev_run_devd" and "/sbin/udev_run_hotplugd" are not present on a Slackware-current installation (I just checked). So, somewhere along the way you probably forgot to check for the *.new files that get installed and that you have to manually copy over their "originals". The files /etc/rc.M.new and /etc/rc.udev.new (but perhaps others, too!) for instance should be manually copied over the existing files /etc/rc.M and /etc/rc.udev

Try finding out where the upgrades left *.new files and examine their content in relation to the originals:
Code:
 for i in `find / -type f -name "*.new"` ; do echo ""; echo "**** $i ****" ; diff `dirname $i`/`basename $i .new` $i ; read -p "Press ENTER for next file comparison: " ; done
Eric
 
Old 09-12-2006, 03:32 AM   #3
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 755

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by Alien Bob
The programs "/sbin/udev_run_devd" and "/sbin/udev_run_hotplugd" are not present on a Slackware-current installation (I just checked). So, somewhere along the way you probably forgot to check for the *.new files that get installed and that you have to manually copy over their "originals". The files /etc/rc.M.new and /etc/rc.udev.new (but perhaps others, too!) for instance should be manually copied over the existing files /etc/rc.M and /etc/rc.udev

Try finding out where the upgrades left *.new files and examine their content in relation to the originals:
Code:
 for i in `find / -type f -name "*.new"` ; do echo ""; echo "**** $i ****" ; diff `dirname $i`/`basename $i .new` $i ; read -p "Press ENTER for next file comparison: " ; done
Eric
All *.new files have been put into place. Thinking that I might have missed some changes in those files, I reinstalled the udev, hotplug and sysvinit packages, and then checked the *.new files, but nothing is to be found there.

Besides the two lines (but repeated loads of times) I also get a lot of messages dealing with modules where there seems to be a permission problem, such as
Code:
...
/etc/rc.d/rc.M: line 80: /dev/.udev/failed/module@snd_timer/uevent: Permission denied
/etc/rc.d/rc.M: line 80: /dev/.udev/failed/module@soundcore/uevent: Permission denied
/etc/rc.d/rc.M: line 80: /dev/.udev/failed/module@yenta_socket/uevent: Permission denied
...
But strangely enough those modules are loaded and behave as normal.

Anyone more suggestions?

Cheers, Leon.
 
Old 09-22-2006, 04:51 AM   #4
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 755

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by Alien Bob
The programs "/sbin/udev_run_devd" and "/sbin/udev_run_hotplugd" are not present on a Slackware-current installation (I just checked).
Eric
I found that /sbin/udev_run_devd and /sbin/udev_run_hotplugd are called from /etc/udev/rules.d/50-udev.rules

At the end of that file is the following:
Code:
# Be backward compatible for a while with the /etc/dev.d and /etc/hotplug.d/.
# systems run /etc/hotplug.d/ stuff only if we came from a hotplug event,
# not for udevstart:
ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd"

# always run /etc/dev.d/ stuff for now
RUN+="/sbin/udev_run_devd"
Can someone confirm that these lines are present in their Slack-current setup? Since I don't use hotplug I figure I could simply comment them out.

Cheers, Leon.

UPDATE: yep, commenting those two lines solves it. But I still don't understand why they are there if /sbin/udev_run_hotplugd and /sbin/udev_run_devd don't exist??

UPDATE 2:
Bit more digging shows that the files are part of the alternative versions of udev:
Code:
udev-064-i486-2 in extra/udev-alternate-versions
/sbin/udev_run_devd

udev-071-i486-2 in extra/udev-alternate-versions
/sbin/udev_run_devd

Last edited by BroX; 09-22-2006 at 02:35 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
udev error messages during boot BroX Slackware 2 09-11-2006 06:29 AM
Boot error messages matelot Linux - Newbie 1 05-09-2006 03:22 AM
Error messages during boot anti.corp Arch 5 01-17-2006 12:18 PM
udev boot error alma Linux - Newbie 3 11-27-2005 11:51 AM
md boot error messages david.skinner Linux - Software 0 01-04-2005 04:44 PM


All times are GMT -5. The time now is 01:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration