Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#18332 - [mkinitcpio] line 9: /sbin/udevadm: not found

Attached to Project: Arch Linux
Opened by Westley Martinez (anikom15) - Monday, 15 February 2010, 00:57 GMT
Last edited by Thomas Bächler (brain0) - Monday, 15 February 2010, 18:29 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The kernel attempts to run the udev hook, outputs:
line 9: /sbin/udevadm: not found

It continues and says it's unable to mount root device and panics. fallback fails as well.

mkinitcpio 0.6.2-1

I've included the kernel image and mkinitcpio conf file.
This task depends upon
 FS#18325 - Failing to boot. 

Closed by  Thomas Bächler (brain0)
Monday, 15 February 2010, 18:29 GMT
Reason for closing:  Not a bug
Additional comments about closing:  PEBKAC.
Comment by Thomas Bächler (brain0) - Monday, 15 February 2010, 01:13 GMT
Although this image contains all other files required by the udev hook, it does not contain /sbin/udevd or /sbin/udevadm, thus udev cannot work. This can only be caused if these files are missing on your system. Please check your root partition for /sbin/udevd and /sbin/udevadm, and if they exist, use the "file" and "ldd" tools to see what they are.

Ah, and please, use a proper description for your bug report next time.
Comment by Thomas Bächler (brain0) - Monday, 15 February 2010, 01:14 GMT
On an unrelated but still relevant note, it is a very bad idea to have both ide and pata in your image, remove ide completely.
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 15 February 2010, 01:16 GMT
  • Field changed: Summary ([mkinitcpio] udev missing in initramfs image → [mkinitcpio] line 9: /sbin/udevadm: not found)
  • Field changed: Status (Assigned → Unconfirmed)
something goes wrong when you generated the image. (missing /sbin/udevd and /sbin/udevadm)

What is the output of mkinitcpio -v when parsing "udev" hook?
# mkinitcpio -v
...
:: Parsing hook [udev]
adding file /sbin/udevd
adding file /sbin/udevadm
...

rest of files of "udev" hook looks OK.
Comment by Westley Martinez (anikom15) - Monday, 15 February 2010, 18:23 GMT
Output of file:
/sbin/udevd: empty
/sbin/udevadm: empty

Output of ldd:
lddlibc4: cannot read header from `/sbin/udevd'
lddlibc4: cannot read header from `/sbin/udevadm'

Output of mkinitcpio -v:
:: Parsing hook [udev]
ERROR: unknown type 'empty' for binary '/sbin/udevd'
ERROR: unknown type 'empty' for binary '/sbin/udevadm'
adding dir /lib/udev
adding dir /lib/udev/rules.d
adding file /lib/udev/rules.d/50-firmware.rules
adding file /lib/udev/rules.d/50-udev-default.rules
adding file /lib/udev/rules.d/60-persistent-storage.rules
adding file /lib/udev/rules.d/80-drivers.rules
adding file /lib/udev/firmware
adding file /lib/udev/load-modules.sh
adding dir /etc/udev
adding file /etc/udev/udev.conf
adding dir /hooks
adding file /hooks/udev

I've included /sbin/udevd and /sbin/udevadm
Comment by Thomas Bächler (brain0) - Monday, 15 February 2010, 18:28 GMT
Well, your udev installation on your system is broken and thus it's impossible to work either in the initramfs or in the system. You need to fix that error by reinstalling the udev package (or as an alternative, extracting those files from the udev package file manually) and regenerating your initramfs.

Loading...