You are not logged in.

#1 2010-03-09 12:34:41

pere
Member
Registered: 2008-09-11
Posts: 23

kernel26 error Parsing hook [net] and Parsing hook [autodetect]

Hi,

this was what happened when I upgrated the kernel:

[root@server pkg]# pacman -Syu
:: Synchronizing package databases...
core is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (1): kernel26-2.6.32.9-1 

Total Download Size:    0,00 MB
Total Installed Size:   99,84 MB

Proceed with installation? [Y/n]
checking package integrity...
(1/1) checking for file conflicts                   [###########################################################################################################################] 100%
(1/1) upgrading kernel26                            [###########################################################################################################################] 100%
>>> Updating module dependencies. Please wait ...
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
(...)
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
error: /dev/sr0: No medium found
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/framebuffer_blacklist.pacsave, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release.
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [usb]
:: Parsing hook [fw]
:: Parsing hook [net]
which: no ipconfig in (/lib/initcpio)
ERROR: '/lib/initcpio/ipconfig' is not a file
which: no nfsmount in (/lib/initcpio)
ERROR: '/lib/initcpio/nfsmount' is not a file
:: Parsing hook [keymap]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [usb]
:: Parsing hook [fw]
:: Parsing hook [net]
which: no ipconfig in (/lib/initcpio)
ERROR: '/lib/initcpio/ipconfig' is not a file
which: no nfsmount in (/lib/initcpio)
ERROR: '/lib/initcpio/nfsmount' is not a file
:: Parsing hook [keymap]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS
[root@server pkg]#


Any help is welcome!

Thanks in advance!

Offline

#2 2010-03-09 13:01:17

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: kernel26 error Parsing hook [net] and Parsing hook [autodetect]

Similar problem, link

Offline

#3 2010-03-09 13:19:23

pere
Member
Registered: 2008-09-11
Posts: 23

Re: kernel26 error Parsing hook [net] and Parsing hook [autodetect]

thank you!

the Parsing Hook [net] error is still there

==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [usb]
:: Parsing hook [fw]
:: Parsing hook [net]
which: no ipconfig in (/lib/initcpio)
ERROR: '/lib/initcpio/ipconfig' is not a file
which: no nfsmount in (/lib/initcpio)
ERROR: '/lib/initcpio/nfsmount' is not a file
:: Parsing hook [keymap]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS
[root@server pkg]#

Offline

#4 2010-03-10 12:18:19

pere
Member
Registered: 2008-09-11
Posts: 23

Re: kernel26 error Parsing hook [net] and Parsing hook [autodetect]

It was an old version of the /etc/mkinitcpio.conf file.

The new /etc/mkinitcpio.conf.pacnew works better but the following error is still there:

>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
error: /dev/sr0: No medium found
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS

Offline

#5 2010-03-12 10:32:27

Kenni
Member
From: Denmark
Registered: 2007-01-25
Posts: 64

Re: kernel26 error Parsing hook [net] and Parsing hook [autodetect]

pere wrote:

which: no ipconfig in (/lib/initcpio)
ERROR: '/lib/initcpio/ipconfig' is not a file
which: no nfsmount in (/lib/initcpio)
ERROR: '/lib/initcpio/nfsmount' is not a file

In my case this error is critical, as it makes my diskless machine with PXE unbootable sad

How do I get nfsmount included in mkinitcpio? Using the new mkinitcpio.conf and using:

MODULES="nfs"
HOOKS="base net udev autodetect pata scsi sata filesystems"

causes the mentioned error message. When I try to boot my diskless machine, I now get:

/init: line 113: nfsmount: not found
ERROR: Failed to mount the real root device.
Bailing out, you are on your own. Good luck.

/bin/sh: can't access tty; job control turned off
[ramfs /]#

The system gets stuck now and doesn't accept any input from my keyboard.

Anyone?

Offline

#6 2010-03-12 10:59:11

Kenni
Member
From: Denmark
Registered: 2007-01-25
Posts: 64

Re: kernel26 error Parsing hook [net] and Parsing hook [autodetect]

Kenni wrote:

In my case this error is critical, as it makes my diskless machine with PXE unbootable sad

I've moved my question to a new thread, as I believe the OP of this thread got his issue resolved, since he didn't need the net hook after all:
http://bbs.archlinux.org/viewtopic.php? … 62#p724262

Sorry about the noise.

Btw:

pere wrote:

:: Parsing hook [autodetect]
error: /dev/sr0: No medium found

/dev/sr0 is your optical drive...put a CD in your drive and I would guess that this error would disappear. Or I suppose you can just ignore it wink

Offline

Board footer

Powered by FluxBB