You are not logged in.
I am trying boot with arch linux-pf kernel which includes patches for aufs.
I get this error when trying to boot:
[ 0.345329] Failed to access perfctr msr (MSR c0010004 is 0)
[ 108.309522] VFS: Unable to mount root fs via NFS, trying floppy.
[ 108.310381] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0),
linux-pf kernel selections added to default config
Device Drivers --->
Generic Driver Options --->
[*] Maintain a devtmpfs filesystem to mount at /dev
[*] Network device support --->
[*] Ethernet driver support (NEW) --->
[*] Atheros devices (NEW)
<*> Atheros L2 Fast Ethernet support
<*> Atheros/Attansic L1 Gigabit Ethernet support
<*> Atheros L1E Gigabit Ethernet support
<*> Atheros L1C Gigabit Ethernet support
<*> Qualcomm Atheros AR816x/AR817x support
[*] Broadcom devices (NEW)
<*> Broadcom 440x/47xx ethernet support
-*- Broadcom NetXtremeII support
<*> Broadcom CNIC support
<*> Broadcom Tigon3 support
<*> Broadcom NetXtremeII 10Gb support
[*] Intel devices (NEW)
<*> Intel(R) PRO/100+ support
<*> Intel(R) PRO/1000 Gigabit Ethernet support
<*> Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support
<*> Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support
[*] Intel(R) PCI-Express Gigabit adapters HWMON support
<*> Intel(R) 82576 Virtual Function Ethernet support
<*> Intel(R) PRO/10GbE support
<*> Intel(R) 10GbE PCI Express adapters support
[*] Intel(R) 10GbE PCI Express adapters HWMON support
<*> Intel(R) 82599 Virtual Function Ethernet support
<*> Intel(R) Ethernet Controller XL710 Family support
[*] Intel (82586/82593/82596) devices
<*> IP1000 Gigabit Ethernet support
<*> JMicron(R) PCI-Express Gigabit Ethernet support
[*] Marvell devices (NEW)
<*> Marvell MDIO interface support (NEW)
<*> Marvell Yukon Gigabit Ethernet support (NEW)
<*> Marvell Yukon 2 support
[*] Realtek devices (NEW)
<*> RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support
<*> RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support
[*] Use PIO instead of MMIO (NEW)
[*] Support for uncommon RTL-8139 rev. K (automatic channel equalization)
[*] Support for older RTL-8129/8130 boards
<*> Realtek 8169 gigabit ethernet support
[*] SMC (SMSC)/Western Digital devices
<*> SMC 91Cxx PCMCIA support
<*> SMC EtherPower II
<*> SMSC LAN911x/LAN921x families embedded ethernet support
<*> SMSC LAN9420 PCI ethernet adapter support
[*] Networking support --->
Networking options --->
[*] IP: kernel level autoconfiguration
[*] IP: DHCP support
[*] IP: BOOTP support
[*] IP: RARP support
File systems --->
[*] Miscellaneous filesystems --->
[M] Aufs (Advanced multi layered unification filesystem) support
[*] Network File Systems --->
<*> NFS client support
<*> NFS client support for NFS version 3
<*> NFS client support for NFS version 4
[*] NFS client support for NFSv4.1
[*] NFS client support for NFSv4.2
[*] Root file system on NFS
The selections with linux-pf throw the error above but if I download the same kernel from kernel.org and compile it with the same selections it boots.
Is there some other kernel options linux-pf package has tapered with that would cause this error?
Offline
Are you using mkinitcpio-nfs to make the ramfs image? What are the contents of the ramdisk image?
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I'm using mkinitcpio I followed this Diskless System wiki and the following lines are how I configured my mkinitcpio.conf
pacstrap -d "$root" base mkinitcpio-nfs-utils nfs-utils
sed s/nfsmount/mount.nfs4/ "$root/usr/lib/initcpio/hooks/net" > "$root/usr/lib/initcpio/hooks/net_nfs4"
cp $root/usr/lib/initcpio/install/net{,_nfs4}
mkinitcpio.conf
MODULES="nfsv4"
BINARIES="/usr/bin/mount.nfs4"
FILES=""
HOOKS="base udev autodetect modconf block filesystems keyboard fsck net_nfs4"
initramfs-linux-pf.img
.
|-- VERSION
|-- bin
|-- buildconfig
|-- config
|-- dev
|-- etc
| |-- fstab
| |-- initrd-release
| |-- ld.so.cache
| |-- ld.so.conf
| |-- mtab
| `-- udev
| `-- udev.conf
|-- hooks
| |-- net_nfs4
| `-- udev
|-- init
|-- init_functions
|-- lib
|-- lib64
|-- new_root
|-- proc
|-- run
|-- sbin
|-- sys
|-- tmp
`-- usr
|-- bin
| |-- [
| |-- [[
| |-- ash
| |-- awk
| |-- basename
| |-- blkid
| |-- busybox
| |-- cat
| |-- chgrp
| |-- chmod
| |-- chown
| |-- chroot
| |-- clear
| |-- cp
| |-- cttyhack
| |-- cut
| |-- dd
| |-- depmod
| |-- df
| |-- dirname
| |-- dmesg
| |-- du
| |-- echo
| |-- egrep
| |-- env
| |-- expr
| |-- false
| |-- free
| |-- fsck
| |-- fsck.ext2
| |-- fsck.ext3
| |-- fsck.ext4
| |-- getopt
| |-- grep
| |-- halt
| |-- head
| |-- hexdump
| |-- ifconfig
| |-- init
| |-- insmod
| |-- install
| |-- ip
| |-- ipaddr
| |-- ipconfig
| |-- iplink
| |-- iproute
| |-- iprule
| |-- iptunnel
| |-- kbd_mode
| |-- kill
| |-- killall
| |-- kmod
| |-- less
| |-- ln
| |-- loadfont
| |-- loadkmap
| |-- losetup
| |-- ls
| |-- lsmod
| |-- md5sum
| |-- mkdir
| |-- mkfifo
| |-- mknod
| |-- mktemp
| |-- modinfo
| |-- modprobe
| |-- mount
| |-- mount.nfs4
| |-- mountpoint
| |-- mv
| |-- nc
| |-- netstat
| |-- nfsmount
| |-- nslookup
| |-- openvt
| |-- pgrep
| |-- pidof
| |-- ping
| |-- ping6
| |-- poweroff
| |-- printf
| |-- ps
| |-- pwd
| |-- readlink
| |-- reboot
| |-- rm
| |-- rmdir
| |-- rmmod
| |-- route
| |-- sed
| |-- seq
| |-- setfont
| |-- sh
| |-- sha1sum
| |-- sha256sum
| |-- sha512sum
| |-- sleep
| |-- sort
| |-- stat
| |-- strings
| |-- switch_root
| |-- sync
| |-- systemd-tmpfiles
| |-- tac
| |-- tail
| |-- telnet
| |-- test
| |-- tftp
| |-- touch
| |-- true
| |-- udevadm
| |-- umount
| |-- uname
| |-- uniq
| |-- uptime
| |-- vi
| |-- wc
| |-- wget
| `-- yes
|-- lib
| |-- ld-2.18.so
| |-- ld-linux-x86-64.so.2
| |-- libacl.so.1
| |-- libacl.so.1.1.0
| |-- libattr.so.1
| |-- libattr.so.1.1.0
| |-- libblkid.so.1
| |-- libblkid.so.1.1.0
| |-- libc-2.18.so
| |-- libc.so.6
| |-- libcap.so.2
| |-- libcap.so.2.22
| |-- libcom_err.so.2
| |-- libcom_err.so.2.1
| |-- libdl-2.18.so
| |-- libdl.so.2
| |-- libe2p.so.2
| |-- libe2p.so.2.3
| |-- libext2fs.so.2
| |-- libext2fs.so.2.4
| |-- libgssglue.so.1
| |-- libgssglue.so.1.0.0
| |-- libkmod.so.2
| |-- libkmod.so.2.2.5
| |-- libmount.so.1
| |-- libmount.so.1.1.0
| |-- libnsl-2.18.so
| |-- libnsl.so.1
| |-- libpthread-2.18.so
| |-- libpthread.so.0
| |-- librt-2.18.so
| |-- librt.so.1
| |-- libtirpc.so.1
| |-- libtirpc.so.1.0.10
| |-- libuuid.so.1
| |-- libuuid.so.1.3.0
| |-- libz.so.1
| |-- libz.so.1.2.8
| |-- modprobe.d
| | `-- usb-load-ehci-first.conf
| |-- modules
| | `-- 3.12.2-pf
| | |-- kernel
| | | |-- ahci.ko
| | | |-- ath.ko
| | | |-- ath9k.ko
| | | |-- ath9k_common.ko
| | | |-- ath9k_hw.ko
| | | |-- cdrom.ko
| | | |-- cfg80211.ko
| | | |-- crc-itu-t.ko
| | | |-- crc16.ko
| | | |-- ehci-hcd.ko
| | | |-- ehci-pci.ko
| | | |-- ext4.ko
| | | |-- ff-memless.ko
| | | |-- firewire-core.ko
| | | |-- firewire-ohci.ko
| | | |-- hid-generic.ko
| | | |-- hid-logitech-dj.ko
| | | |-- hid-pl.ko
| | | |-- hid.ko
| | | |-- jbd2.ko
| | | |-- libahci.ko
| | | |-- libata.ko
| | | |-- mac80211.ko
| | | |-- mbcache.ko
| | | |-- rfkill.ko
| | | |-- scsi_mod.ko
| | | |-- sd_mod.ko
| | | |-- sr_mod.ko
| | | |-- uhci-hcd.ko
| | | |-- usb-common.ko
| | | |-- usb-storage.ko
| | | |-- usbcore.ko
| | | |-- usbhid.ko
| | | `-- xhci-hcd.ko
| | |-- modules.alias.bin
| | |-- modules.builtin.bin
| | |-- modules.dep.bin
| | |-- modules.devname
| | `-- modules.symbols.bin
| |-- systemd
| | `-- systemd-udevd
| `-- udev
| |-- ata_id
| |-- rules.d
| | |-- 50-udev-default.rules
| | |-- 60-persistent-storage.rules
| | |-- 64-btrfs.rules
| | `-- 80-drivers.rules
| `-- scsi_id
|-- lib64
|-- local
| |-- bin
| |-- lib
| `-- sbin
`-- sbin
20 directories, 226 files
Offline
Really all you need in HOOKS is "base udev autodetect net_nfs4 net".
You might try having both net and net_nfs4 in hooks.
Could also try the vanilla kernel.
I don't see the network modules in your image, they should all be there. There's no reason to compile your kernel with just the network modules you think you need, that's what the ramdisk image is for. I want to be able to PXE boot with any network card on any client.
Last edited by nomorewindows (2013-12-18 01:31:14)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline