Bug 115133 - udev error messages in kernel log
Summary: udev error messages in kernel log
Status: RESOLVED FIXED
: 112820 114596 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: Other All
: P5 - None : Minor
Target Milestone: ---
Assignee: Kay Sievers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-03 13:23 UTC by Andreas Jaeger
Modified: 2005-11-22 13:51 UTC (History)
3 users (show)

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


Attachments
comment out rules in initramfs (2.21 KB, patch)
2005-09-03 14:36 UTC, Kay Sievers
Details | Diff
omment out rules in initramfs 03 (2.70 KB, patch)
2005-09-03 18:28 UTC, Kay Sievers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Jaeger 2005-09-03 13:23:21 UTC
With current kernel-of-the-day and current udev, mkinitrd packages (from
2005-09-03) I get these messages during boot:

udev[850]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[864]: run_program: exec of program '/sbin/udev.mount.sh' failed
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3])
ACPI: Processor [CPU] (supports 8 throttling states)
ACPI: Thermal Zone [THM0] (46 C)
udev[876]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[877]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[878]: run_program: exec of program '/sbin/udev.mount.sh' failed
Attempting manual resume
swsusp: Suspend partition has wrong signature?
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
udev[1685]: run_program: open /dev/null failed
udev[1685]: run_program: exec of program '/sbin/udev.input_device.sh' failed
md: Autodetecting RAID arrays.
Comment 1 Kay Sievers 2005-09-03 14:36:11 UTC
Created attachment 48698 [details]
comment out rules in initramfs

Interesting, the only thing we changed was udev to print these errors;
mkninitrd must have these problems with 9.3 too.

o /dev/null should be fixed (patch attached).
o input_device error pops up cause we got the input support back to the kernel
o mount.sh is the same problem like input_device

I'm on the way to automatically comment out udev rules in initramfs when the
called tools are not available. (patch)

But we need a way to tell mkinitrd not to add these scripts to initramfs then.
Now mkinitrd does:
"cp /sbin/udev.*.sh $tmp_mnt/sbin"

We could explicitely list the needed tools somewhere or put a comment in the
scripts that is read by mkinitrd, or we give these tools a special name for
mkinitrd to pick these up. Any ideas?
Comment 2 Kay Sievers 2005-09-03 14:42:03 UTC
*** Bug 114596 has been marked as a duplicate of this bug. ***
Comment 3 Kay Sievers 2005-09-03 14:44:14 UTC
*** Bug 112820 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Jaeger 2005-09-03 14:56:34 UTC
I applied your patch, called mkinitrd and rebooted.  I still get these:

Probing IDE interface ide1...
udev[862]: run_program: exec of program '/sbin/udev.mount.sh' failed
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3])
ACPI: Processor [CPU] (supports 8 throttling states)
udev[866]: run_program: exec of program '/sbin/udev.mount.sh' failed
ACPI: Thermal Zone [THM0] (47 C)
udev[873]: run_program: exec of program '/sbin/udev.mount.sh' failed
Attempting manual resume
udev[878]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[879]: run_program: exec of program '/sbin/udev.mount.sh' failed
swsusp: Suspend partition has wrong signature?
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
udev[1683]: run_program: open /dev/null failed
udev[1683]: run_program: exec of program '/sbin/udev.input_device.sh' failed
md: Autodetecting RAID arrays.
Comment 5 Reinhard Gimbel 2005-09-03 15:42:50 UTC
I have got other udev related error messages:

[quote]

Probing IDE interface ide0...
input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1
udev[815]: main: action, subsystem or devpath missing
hda: SAMSUNG SV0411N, ATA DISK drive
hdb: Maxtor 4W060H4, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 1024KiB
hda: 78242976 sectors (40060 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 hda3 < hda5 hda6 >
hdb: max request size: 128KiB
hdb: 120103200 sectors (61492 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdb: cache flushes not supported
 hdb: hdb1 hdb2
Probing IDE interface ide1...
udev[864]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[865]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[866]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[867]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[868]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[869]: run_program: exec of program '/sbin/udev.mount.sh' failed
udev[870]: run_program: exec of program '/sbin/udev.mount.sh' failed
hdc: HITACHI DVD-ROM GD-2500, ATAPI CD/DVD-ROM drive
hdd: PIONEER DVD RW DVR-106D, ATAPI CD/DVD-ROM drive

[/quote]

For the 1st one I have no real idea (maybe connected to the mouse device ...)
but the 2nd to 8th message I would think these are related to the number of
partitions on the 2 HDDs (hda: 5 partitions, hdb: 2 partitions).

BTW: The problem is not related to beta4 only. It happens with the recent kernel
update (2.6.13-3) for beta3, too. This kernel is used for beta4 as well.
Comment 6 Andreas Jaeger 2005-09-03 15:57:56 UTC
Those from #5 are known - I use the current udev which is newer than beta4.
Comment 7 Kay Sievers 2005-09-03 16:03:29 UTC
"udev[815]: main: action, subsystem or devpath missing"
Probably fixed with the latest kernel by readding our input_device patch, cause
the upstream kernel has a broken input driver-core integration. Well it actually
causes a different error you see in the description of this bug :)

"/sbin/udev.mount.sh"
We will need a way to select the tools that get included in initramfs, will be
fixed not later than monday.
Comment 8 Kay Sievers 2005-09-03 18:28:17 UTC
Created attachment 48709 [details]
omment out rules in initramfs 03

I have a new patch for mkinitrd that seems to fix all currently known errors in
initrd. It doesn't add bash scripts (mount...sh + input...sh) to the initramfs
image anymore, cause we have no bash there.

As the last step all udev rules are searched for program calls and all rules
with programs not available in the initramfs image will get commented out.
Comment 9 Reinhard Gimbel 2005-09-03 19:04:26 UTC
I applied the patch to mkinitrd and rebuilt the initrd for the recent kernel.
Results:
 - "udev[xxx]: main: action, subsystem or devpath missing" still present
 - "/sbin/udev.mount.sh" is *not* present anymore ! (at least this was solved by
the patch !)
If you need more information please call for it !
Comment 10 Christian Zoz 2005-09-05 08:48:57 UTC
Why not have a list, which tools to include? Like INITRD_MODULES.

Excluding bash scripts is ok, but will not catch all.
Comment 11 Hannes Reinecke 2005-09-05 11:10:38 UTC
Na, not a good idea.
The programs to be included is based on the selected features; each feature has
to know which program it should include.
As udev used to change quite a lot in the recent past it's difficult to know
which program one should include.
Once udev stabilizes it's quite easy to figure out which program we need.

The patch seems quite reasonable to me.
agruen, shall we include it in the mkinitrd script?
Comment 12 Hannes Reinecke 2005-09-05 14:37:46 UTC
Updated mkinitrd submitted to STABLE.
Comment 13 Reinhard Gimbel 2005-09-05 18:10:19 UTC
Where to find this updated mkinitrd script ?
I checked ftp.gwdg.de using YOU without success ...
Any hint for the right location ?
Comment 14 Andreas Jaeger 2005-09-05 18:23:41 UTC
The new package will be in RC1.
Comment 15 Björn Voigt 2005-11-22 10:57:40 UTC
I had this problem at first with 10.1-alpha3

<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

After this messages the system asks me for the root password and I should repair some filesystems manually.

I have a separate /usr-partition and udev was not able to create the necessary /dev/hda* files. Because of missing /dev/hda* files, /usr could not be mounted.

Downgrading udevd to the version from 10.1-alpha or 10.0-final fixed the problem for me. That's why I think, that there are new problems with udevd since 10.1-alpha3.
Comment 16 Kay Sievers 2005-11-22 13:51:54 UTC
This is unrelated to this bug. I'm closing it here and move to #134898.