You are not logged in.

#1 2010-03-12 10:54:06

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

mkinitcpio net hook broken?

Hi

I'm trying to upgrade my diskless PXE system, but it seems like the mkinitcpio "net" hook is broken?

# mkinitcpio -p kernel26
==> 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 [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 [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 [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 [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS

The two errors in the net-hook, makes my system unbootable:

/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.

I'm using the following hooks within my mkinitcpio.conf:

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

System is up to date as of today:

# pacman -Q kernel26 mkinitcpio
kernel26 2.6.32.9-1
mkinitcpio 0.6.3-1

# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 local database is up to date

Anyone?

Offline

#2 2010-03-12 11:23:07

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: mkinitcpio net hook broken?

there was a big update to mkinitcpio not long ago. i would suggest to file a bug report.

Offline

#3 2010-03-12 14:27:26

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: mkinitcpio net hook broken?

You need mkinitcpio-nfs-utils wink

Offline

#4 2010-03-13 12:45:42

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

Re: mkinitcpio net hook broken?

djgera wrote:

You need mkinitcpio-nfs-utils wink

Thanks, I missed that one in the news...

Problem solved big_smile

Offline

Board footer

Powered by FluxBB