You are not logged in.

#1 2007-11-08 12:00:31

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Many errors on mkinitcio

Today I tried reinstalling the kernel but I got this:

==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.23-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
:: Parsing hook [udev]
:: Parsing hook [autodetect]
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
:: Parsing hook [pata]
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
:: Parsing hook [sata]
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
:: Parsing hook [filesystems]
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
find: /lib/modules/2.6.23-ARCH/kernel/arch: Not a directory
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS

and the same errors for the fallback image... I don't dare to reboot now because my initramfs images probably wont work... Does anyone know what's happening here?

Offline

#2 2007-11-08 15:13:34

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Many errors on mkinitcio

What can you see in /lib/modules/2.6.23-ARCH/kernel/arch ?

Offline

#3 2007-11-08 15:40:38

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Many errors on mkinitcio

That file seems to be a binary...

$ file /lib/modules/2.6.23-ARCH/kernel/arch
/lib/modules/2.6.23-ARCH/kernel/arch: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

Offline

#4 2007-11-08 16:09:53

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Many errors on mkinitcio

Well, it should be a directory, as suggested by your original error message. Check for any associated errors in your pacman log.

You could also try reinstalling the kernel again, to see if the same thing happens. If you want, you can use the --noscriptlet flag to prevent the install script from running, and the --debug flag to get loads of output. Or if you want to avoid pacman altogether, simply untar the kernel package into your root dir (/).

Offline

#5 2007-11-08 17:27:54

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Many errors on mkinitcio

I found that when I tried to copy the right folder from the extracted package to /lib/.../arch I got an error about not being able to overwrite a non-directory with a directory, so I figured out that the same error probably occurred when installing the kernel but the error message wasn't shown. So I manually rm'ed the file and reinstalled the kernel and everything seems to be running fine now (but I haven't rebooted yet, I need to get all my work done before I dare that wink ).
Thanks for the help, I hope everything is fixed now smile

Offline

Board footer

Powered by FluxBB