You are not logged in.

#1 2008-05-27 19:36:52

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Udev/Kernel Error(I think) [SOLVED]

I pacman -Syu'ed last night.  I hadn't shutdown the laptop in a couple of days.  Anyways, go to boot up and I get dropped to a recovery shell.  The error is that my root cannot be found.  I've fsck'ed the JFS partition and its all fine.  I believe its related to udev because I get his error

::Loading udev.../etc/start_udev: 110: /sbin/udevd: not found
/etc/start_udev: 110: /sbin/udevtrigger: not found
/etc/start_udev: 110: /sbin/udevsettle: no found

What I've tried:

Chroot and reinstall kernel, initscripts, udev.  Looked for pacnew files.  Looked at logs.  Mkinitcpio -v shows udev being added as a hook correctly.  Checked fstab.

[leia]
Help me Phracture, you're my only hope.
[/leia]

Thanks in advance!

Last edited by dr.cranium (2008-05-29 04:32:51)

Offline

#2 2008-05-27 20:37:31

metal
Member
From: Russia,Moscow
Registered: 2006-01-23
Posts: 45

Re: Udev/Kernel Error(I think) [SOLVED]

Did you try to downgrade kernel? I couldn't make 2.6.25-ARCH to mount my root partition.

Offline

#3 2008-05-27 20:48:46

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Udev/Kernel Error(I think) [SOLVED]

Edit: more verbose

I hadn't tried it but it didn't seem to help.  Thanks though.

Chrooted, installed an old kernel, same error.

Last edited by dr.cranium (2008-05-27 20:52:24)

Offline

#4 2008-05-27 22:08:45

lldmer
Member
From: Amsterdam
Registered: 2008-05-17
Posts: 119

Re: Udev/Kernel Error(I think) [SOLVED]

I don't think it's necessarily a problem with uDev, maybe udev is simply the first to have any problems with your / partition not functioning very nicely (since it's probably one of the first hooks).

Also, maybe you can add the JFS module to your MODULES= list, and see if your error message changes (or compile a kernel with build-in support for JFS) (did this change in 2.6.25?).


For lack of better words: chair, never, toothbrush, really. Ohw, and fish!

Offline

#5 2008-05-27 22:38:16

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Udev/Kernel Error(I think) [SOLVED]

Hmmm, start_udev isn't used anymore. Make sure you have the latest initscripts and udev versions. If possible, try changing your mirror to check. The latest versions can be found via http://archlinux.org/packages/

Offline

#6 2008-05-27 22:43:11

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Udev/Kernel Error(I think) [SOLVED]

Tried adding JFS as a module.  No dice.  Same error.  Thanks for the idea though.  Any suggestions welcome. 

I'm putting up pastebins of mkinitcpio:

http://pastebin.com/m413936eb

rc.sysinit:

http://pastebin.com/m57038b82

Got everything else too if it would help.  I REALLY do not want to reinstall.

Edit:  Thanks Phrak.  DL'ing them now.

Last edited by dr.cranium (2008-05-27 22:46:55)

Offline

#7 2008-05-27 23:07:36

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Udev/Kernel Error(I think) [SOLVED]

I dl'ed and Pacman U'ed udev, initscripts, and klibc-udev. I then "pacman -S kernel26"

Same error.  Thats REALLY weird.

I've got to go for now but I'll be back.

Offline

#8 2008-05-27 23:15:02

lldmer
Member
From: Amsterdam
Registered: 2008-05-17
Posts: 119

Re: Udev/Kernel Error(I think) [SOLVED]

I'm running out of ideas aswell. Do you by any chance use a SATA-drive?


For lack of better words: chair, never, toothbrush, really. Ohw, and fish!

Offline

#9 2008-05-28 00:18:18

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Udev/Kernel Error(I think) [SOLVED]

Wait wait. Is this in early-userspace (before the color starts) or after?

If it's before, it's a problem with klibc-udev / mkinitcpio
If it's after, it's a problem with udev / initscripts

I suspect this is AFTER, though, as we recently changed this. Note that both "udevtrigger" and "udevsettle" do not exist anymore. The start_udev script should NOT be called in rc.sysinit. If it is, then your initscripts are broken. Make sure you have the most up to date version, and pay very careful attention to pacman output, especially of the form "Installing /etc/rc.sysinit as /etc/rc.sysinit.pacnew"

Offline

#10 2008-05-28 00:23:48

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Udev/Kernel Error(I think) [SOLVED]

We need to have a look at your initramfs image. Can you post the filelist (zcat /boot/kernel26.img | cpio -t) or upload the image somwehere?

Offline

#11 2008-05-28 03:52:15

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Udev/Kernel Error(I think) [SOLVED]

I'll boot up the livecd and try again and see.  I'll try what you both said.  Thanks for the quick responses you guys!

EDIT:

Here goes.

I do have a SATA drive but .25 worked before when I made a kernel with ABS.  I dunno though.  But rolling back didn't seem to help.  I tried reinstalling those packages.  Nothing unusual in pacman output.  Looks like they are being installed but I guess they aren't actually?  Maybe I'm screwing up the chroot?  I've got it by heart now

mkdir /arch
mount /dev/sda4 /arch
mount /dev/sda3 /arch/boot
[if doing something with the kernel]
mount -t proc none /arch/proc
mount -t sysfs none /arch/sys
mount --bind /dev /arch/dev
chroot /arch

?

I know its in early userspace.  I took some pics with my cameraphone.

Edit: Links (;_;)

0528080003sx3.th.jpg

0528080004vg2.th.jpg

0528080004alo4.th.jpg

Brain0:

Here is "zcat /boot/kernel26.img | cpio -t >> cpio.txt

/lib
/lib/modules
/lib/modules/2.6.25-ARCH
/lib/modules/2.6.25-ARCH/kernel
/lib/modules/2.6.25-ARCH/kernel/drivers
/lib/modules/2.6.25-ARCH/kernel/drivers/scsi
/lib/modules/2.6.25-ARCH/kernel/drivers/scsi/scsi_mod.ko
/lib/modules/2.6.25-ARCH/kernel/drivers/acpi
/lib/modules/2.6.25-ARCH/kernel/drivers/acpi/dock.ko
/lib/modules/2.6.25-ARCH/kernel/drivers/ata
/lib/modules/2.6.25-ARCH/kernel/drivers/ata/libata.ko
/lib/modules/2.6.25-ARCH/kernel/drivers/ata/pata_acpi.ko
/lib/modules/2.6.25-ARCH/kernel/drivers/ata/ata_generic.ko
/lib/modules/2.6.25-ARCH/kernel/fs
/lib/modules/2.6.25-ARCH/kernel/fs/jfs
/lib/modules/2.6.25-ARCH/kernel/fs/jfs/jfs.ko
/proc
/sys
/dev
/dev/null
/dev/zero
/dev/console
/dev/mem
/lib/klibc-yAa8HdZpoTufZ9Xvl1rbbQdlYVU.so
/bin
/bin/cat
/bin/chroot
/bin/cpio
/bin/dd
/bin/false
/bin/fstype
/bin/gunzip
/bin/gzip
/bin/halt
/bin/ipconfig
/bin/kill
/bin/kinit
/bin/ln
/bin/lodel
/bin/losetup
/bin/lsmod
/bin/mdassemble
/bin/minips
/bin/mkdir
/bin/mkfifo
/bin/mknod
/bin/moddeps
/bin/mount
/bin/mv
/bin/nfsmount
/bin/nuke
/bin/parseblock
/bin/pivot_root
/bin/poweroff
/bin/readlink
/bin/reboot
/bin/replace
/bin/resume
/bin/run-init
/bin/sh
/bin/sleep
/bin/true
/bin/umount
/bin/uname
/bin/zcat
/sbin
/sbin/depmod
/sbin/generate-modprobe.conf
/sbin/insmod
/sbin/insmod.static
/sbin/modinfo
/sbin/modprobe
/sbin/rmmod
/bin/modprobe
/init
/config
/sbin/udevd
/sbin/udevtrigger
/sbin/udevsettle
/etc
/etc/udev
/etc/udev/rules.d
/etc/udev/rules.d/udev.rules
/etc/start_udev
/lib/udev
/lib/udev/firmware.sh
/lib/udev/cdrom_id
/lib/udev/ata_id
/lib/udev/usb_id
/lib/udev/edd_id
/lib/udev/scsi_id
/lib/udev/vol_id
/lib/udev/load-modules.sh
/etc/udev/udev.conf
/hooks
/hooks/udev
/lib/modules/2.6.25-ARCH/kernel/drivers/scsi/sd_mod.ko
/lib/modules/2.6.25-ARCH/kernel/drivers/cdrom
/lib/modules/2.6.25-ARCH/kernel/drivers/cdrom/cdrom.ko
/lib/modules/2.6.25-ARCH/kernel/drivers/scsi/sr_mod.ko
/lib/modules/2.6.25-ARCH/kernel/drivers/ata/ata_piix.ko
/bin/loadkeys
/bin/kbd_mode
/bin/setfont
/keymap
/share
/share/kbd
/share/kbd/keymaps
/share/kbd/keymaps/i386
/share/kbd/keymaps/i386/qwerty
/share/kbd/keymaps/i386/qwerty/us.map
/share/kbd/keymaps/i386/include
/share/kbd/keymaps/i386/include/qwerty-layout.inc
/share/kbd/keymaps/i386/include/compose.inc
/share/kbd/keymaps/include
/share/kbd/keymaps/include/compose.8859_7
/share/kbd/keymaps/include/compose.8859_8
/share/kbd/keymaps/include/compose.latin
/share/kbd/keymaps/include/compose.latin1
/share/kbd/keymaps/include/compose.latin2
/share/kbd/keymaps/include/compose.latin3
/share/kbd/keymaps/include/compose.latin4
/share/kbd/keymaps/i386/include/linux-with-alt-and-altgr.inc
/share/kbd/keymaps/i386/include/linux-keys-bare.inc
/share/kbd/keymaps/i386/include/euro1.map
/hooks/keymap
/lib/modules/2.6.25-ARCH/kernel/fs/mbcache.ko
/lib/modules/2.6.25-ARCH/kernel/fs/jbd
/lib/modules/2.6.25-ARCH/kernel/fs/jbd/jbd.ko
/lib/modules/2.6.25-ARCH/kernel/fs/ext3
/lib/modules/2.6.25-ARCH/kernel/fs/ext3/ext3.ko
/hooks/filesystems
/lib/modules/2.6.25-ARCH/modules.dep
/lib/modules/2.6.25-ARCH/modules.alias
/lib/modules/2.6.25-ARCH/modules.symbols

Edit Part Deux:

Just saw this:

http://bugs.archlinux.org/task/10258?st … ct=1&type=

Dunno if thats related.  Mine fails with both kernels though.

Last edited by dr.cranium (2008-05-28 04:37:14)

Offline

#12 2008-05-28 15:16:25

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Udev/Kernel Error(I think) [SOLVED]

I need you to upload the whole image. I suspect that the klibc-udev version does not match the rest. Please post 'pacman -Q klibc klibc-extras klibc-udev klibc-module-init-tools klibc-kbd'.

About killing your chroot, you have to make sure that /boot is also mounted inside the chroot if /boot is on its own partition, otherwise the files in /boot will not be found by grub.

Offline

#13 2008-05-28 16:11:45

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Udev/Kernel Error(I think) [SOLVED]

I guess the chroot is ok then.

Here is what you requested:

klibc 1.5-5
klibc-extras 2.4-1
klibc-udev 116-3
klibc-module-init-tools 3.2.2-3
klibc-kbd 1.15.20080312-5

Here is the image:

http://rapidshare.com/files/118331154/kernel26.img.html

Offline

#14 2008-05-29 03:57:27

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Udev/Kernel Error(I think) [SOLVED]

A bump before I go to bed.

Thanks for all the help so far!

Offline

#15 2008-05-29 04:08:35

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Udev/Kernel Error(I think) [SOLVED]

Could you attempt a rebuild of the image

sudo mkinitcpio -p kernel26

And see if that helps?

Offline

#16 2008-05-29 04:32:30

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Udev/Kernel Error(I think) [SOLVED]

Hey I got it.

I downloaded the packages Brain0 suggested even though pacman said they were of date.  I installed them and then tried adding more hooks to mkinitcpio.  And now it works.  I dunno what I did.  I could upload this kernel if that would help at all.

Thanks again for so much help.  I love to have a distro where the devs actually care and help.  Thanks you so much.

Offline

#17 2008-05-29 13:04:46

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Udev/Kernel Error(I think) [SOLVED]

Thank you for the upload. It seems that at the time you built the initramfs image, klibc-module-init-tools was a version not compatible with the current klibc version.

I have some hacks in the trunk that will prevent this problem in many situations, but possibly not all. Rebuilding the initramfs image should help however.

Offline

#18 2008-05-29 14:19:02

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Udev/Kernel Error(I think) [SOLVED]

Ok that makes sense.  Its all good now.  I'm glad it was resolved without reinstallation.  I've learned ALOT about mkinitcpio and kernels now.

Offline

#19 2008-11-06 20:12:55

kong_foo
Member
Registered: 2008-11-06
Posts: 3

Re: Udev/Kernel Error(I think) [SOLVED]

Hi!

I just wanted to add that I got the same problem, mounting the stuff from a live cd, chrooting, reinstalling above packages and kernel26 solved the problem. Maybe related to "klibc upgrade requires user intervention" thingy...

HTH
kong_foo

Offline

#20 2008-11-14 20:25:57

grep
Member
From: Finland
Registered: 2008-10-25
Posts: 13

Re: Udev/Kernel Error(I think) [SOLVED]

This thread just helped me a lot after screwing my installation. Thank you smile

dr.cranium wrote:

Anyways, go to boot up and I get dropped to a recovery shell.  The error is that my root cannot be found.  I've fsck'ed the JFS partition and its all fine.  I believe its related to udev because I get his error

::Loading udev.../etc/start_udev: 110: /sbin/udevd: not found
/etc/start_udev: 110: /sbin/udevtrigger: not found
/etc/start_udev: 110: /sbin/udevsettle: no found

I just installed Arch on second machine...While on first pacman -Suy I got an error, "couldn't upgrade klibc-* packages because there were files already on the system" or something similar.

Not the wisest thing to do, I think, I just said

pacman -Sf klibc klibc-extras <<-- BAD

and everything seemed to be ok, the first upgrade went smoothly and also I got sound and X configured and more software installed.

While at first reboot, I got exactly the same errors as dr.cranium just before the colourful init script stage and was dropped to cramfs shell.

I booted with the live install CD, chrooted  in the system on the hard drive.

mkinitcpio -p kernel26

and

reboot

was everything needed and now I'm up again.

Offline

Board footer

Powered by FluxBB