Bug 112820 - udev error messages during boot
Summary: udev error messages during boot
Status: RESOLVED DUPLICATE of bug 115133
: 112915 112955 113077 113153 113292 113694 113695 113765 114028 114109 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 3
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Kay Sievers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-24 19:59 UTC by Danny Al-Gaaf
Modified: 2005-09-03 14:44 UTC (History)
12 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
boot.msg with errors from udev (25.47 KB, text/plain)
2005-08-24 20:00 UTC, Danny Al-Gaaf
Details
comment out binaries in /usr (592 bytes, patch)
2005-08-25 08:28 UTC, Kay Sievers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Al-Gaaf 2005-08-24 19:59:06 UTC
After fresh installation (tip from aj) there are always many messages from udev 
in /var/log/boot.msg:

<3>udev[901]: run_program: exec of program '/usr/sbin/hal.hotplug' failed
<3>udev[902]: run_program: exec of program '/usr/sbin/hal.hotplug' failed

/usr/sbin/hal.hotplug is present but called befor HAL started up. I thinks this 
was not happen on Beta2 and Preview. What changed in udev? I attach boot.msg
Comment 1 Danny Al-Gaaf 2005-08-24 20:00:24 UTC
Created attachment 47460 [details]
boot.msg with errors from udev
Comment 2 Kay Sievers 2005-08-24 22:26:37 UTC
I just added the file name to the log, so that we see the failing program.
the error is from initrd, where we have the same udev rules as in the
normal root, but no HAL. It should already be fixed with the new udev package
after beta3.
Comment 3 Andreas Jaeger 2005-08-25 04:56:35 UTC
What is the effect of this?  Will this break anything?  Will something not work?
Comment 4 Andreas Jaeger 2005-08-25 06:42:56 UTC
Is this the fix?

Wed Aug 24 15:45:37 CEST 2005 - zoz@suse.de

- submitted the wrong set of *rc files last time. Fixed that.
Comment 5 Christian Zoz 2005-08-25 07:58:40 UTC
No, that was another problem. The wrong *rc files were not so importatnt for
beta3, becaause these are rarely used.

But, there are much more programs called that reside in /usr. I will list them.

Further i forgot to change the rule for firmware loading, that effects some wlan
cards. Will fix that now.
Comment 6 Christian Zoz 2005-08-25 08:18:28 UTC
Wrong firmware.sh is fixed and submitted.

udev needs these files from /usr
    /usr/bin/us428control
    /usr/sbin/alsactl
    /usr/sbin/hal.hotplug
    /usr/sbin/openct-control
    /usr/share/alsa/firmware/usx2yloader/us122fw.ihx
    /usr/share/alsa/firmware/usx2yloader/us224fw.ihx
    /usr/share/alsa/firmware/usx2yloader/us428fw.ihx

The alsa firmware could go to /lib/firmware. And failing to call hal.hotplug is
no problem, since it is then not running anyway. What about the rest.

For initrd/initramfs it would be ok to ignore these failures. But it would be
better to drop these rules there and get proper error messages if something else
does not work, that should work.
Comment 7 Kay Sievers 2005-08-25 08:28:29 UTC
Created attachment 47484 [details]
comment out binaries in /usr

How about this? It comments out the useless binaries
in the uder rules in initrd.
Comment 8 Christian Zoz 2005-08-25 08:33:08 UTC
Yes, thats fine for initrd. And what about later? boot.udev requires
boot.localfs (via boot.scsidev).
Comment 10 Danny Al-Gaaf 2005-08-25 10:00:27 UTC
*** Bug 112915 has been marked as a duplicate of this bug. ***
Comment 11 Carsten Hoeger 2005-08-25 10:03:38 UTC
I'm not sure, whether this one is a duplicate of bug 112915
Comment 12 Takashi Iwai 2005-08-25 10:12:22 UTC
I'm afraid that we need to move the whole ALSA stuff to /lib, even if they are
stripped from udev rules in mkinitrd.  Or, can files under /usr be accessible at
the stage after mkinitrd safely?

The firmware files are easy to move, but others are a bit tough.
Comment 13 Olaf Kirch 2005-08-25 11:28:22 UTC
The openct stuff no longer tries to do anything hotplug related. 
I just submitted a new package that moves the whole thing to HAL. 
Comment 14 Christian Zoz 2005-08-25 11:29:59 UTC
to comment 12:
If there are not many events that match on these rules, then may call a wrapper
script, that checks if /usr is available and waits some time if not.

to comment 13:
So i remove all rules regarding openct.
Comment 15 Christian Zoz 2005-08-25 13:01:21 UTC
openct rules removed from 50-udev.rules
Comment 16 Christian Zoz 2005-08-25 13:02:14 UTC
*** Bug 112955 has been marked as a duplicate of this bug. ***
Comment 17 Joachim Gleissner 2005-08-26 08:13:06 UTC
*** Bug 113153 has been marked as a duplicate of this bug. ***
Comment 18 Joachim Gleissner 2005-08-26 08:43:25 UTC
*** Bug 113077 has been marked as a duplicate of this bug. ***
Comment 19 Hannes Reinecke 2005-08-26 10:10:09 UTC
mkinitrd changes from comment #7 submitted to STABLE.
Comment 20 Timo Hoenig 2005-08-26 12:38:18 UTC
*** Bug 113292 has been marked as a duplicate of this bug. ***
Comment 21 Hannes Reinecke 2005-08-26 14:19:23 UTC
I'm done with mkinitrd, so assigning to Kay.
Comment 22 Deepak Sarda 2005-08-28 08:56:36 UTC
When loading ipw2100 module, it was looking for firmware.hotplug.sh - but that
file has now been renamed to udev.firmware.sh I had to create a symlink
'firmware.hotplug.sh -> udev.firmware.sh' and module loads properly now. Is this
related to this bug report?
Comment 23 Kay Sievers 2005-08-28 10:28:42 UTC
See Comment #05, it should be fixed.
Comment 24 Jon Nelson 2005-08-28 20:10:08 UTC
*** Bug 113694 has been marked as a duplicate of this bug. ***
Comment 25 Forgotten User --EoyBps8f 2005-08-28 20:28:50 UTC
*** Bug 113695 has been marked as a duplicate of this bug. ***
Comment 26 Joachim Gleissner 2005-08-29 10:52:17 UTC
*** Bug 113765 has been marked as a duplicate of this bug. ***
Comment 27 Ludwig Nussel 2005-08-30 08:42:39 UTC
*** Bug 114028 has been marked as a duplicate of this bug. ***
Comment 28 Danny Al-Gaaf 2005-08-31 08:22:26 UTC
*** Bug 114109 has been marked as a duplicate of this bug. ***
Comment 29 Jon Nelson 2005-09-01 00:24:13 UTC
*** Bug 114596 has been marked as a duplicate of this bug. ***
Comment 30 Jon Nelson 2005-09-01 00:38:26 UTC
The release versioned 068git20050826 seems to have taken care of most of these,
however a few remain:

udev[813]: main: action, subsystem or devpath missing
udev[859]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[860]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[861]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[864]: run_program: exec of program '/sbin/udev.mount.sh' failed

Are these worth their own bug?
Comment 31 Jon Nelson 2005-09-01 00:45:26 UTC
OK, the /sbin/udev.mount.sh issues are in bug 114596, mea culpa.
Comment 32 Kay Sievers 2005-09-03 14:44:14 UTC
we continue on #115133

*** This bug has been marked as a duplicate of 115133 ***