If booting DomU from NFS root, the file system is erroneously mounted
read-only.
The system is openSUSE 10.2
The following modules are additionally compiled into the kernel:
CONFIG_NFS_FS
CONFIG_ROOT_NFS
CONFIG_IP_PNP
CONFIG_XEN_NETDEV_FRONTEND
NFS export:
/vm A.B.C.50(rw,async,no_root_squash) A.B.C.108(rw,async,no_root_
squash) A.B.C.50(rw,async,no_root_squash)
DomU's fstab:
/dev/nfs / nfs
rw 0 0
proc /proc proc
defaults 0 0
sysfs /sys sysfs
noauto 0 0
debugfs /sys/kernel/debug debugfs
noauto 0 0
devpts /dev/pts devpts
mode=0620,gid=5 0 0
DomU's configuration:
memory = 256
vcpus = 1
builder = 'linux'
name = 'vm2'
vif = [ 'mac=00:16:3e:63:4a:fe,ip=A.B.C.50' ]
localtime = 1
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
extra = ' 3 TERM=xterm'
kernel = "/boot/vmlinuz-xen"
ramdisk = "/boot/initrd-xen"
root = "/dev/nfs"
nfs_server = 'A.B.C.107'
nfs_root = '/vm'
netmask = '255.255.255.0'
gateway = 'A.B.C.1'
ip = 'A.B.C.50'
DomU's console output:
Linux version 2.6.18.8-0.9-xen (geeko@buildhost) (gcc version 4.1.2
20061115 (prerelease) (SUSE Linux)) #1 SMP Tue May 13 20:44:38 CEST 2008
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010800000 (usable)
0MB HIGHMEM available.
264MB LOWMEM available.
ACPI in unprivileged domain disabled
Allocating PCI resources starting at 20000000 (gap: 10800000:ef800000)
Xen reported: 2211.328 MHz processor.
Built 1 zonelists. Total pages: 67584
Kernel command line:
ip=A.B.C.50:A.B.C.107:A.B.C.1:255.255.255.0::eth0:off root=/dev/nfs
nfsroot=A.B.C.107:/vm 3 TERM=xterm
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Software IO TLB disabled
vmalloc area: d1000000-fb7fe000, maxmem 33ffe000
Memory: 246784k/270336k available (2251k kernel code, 15108k reserved,
1053k data, 196k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5527.95 BogoMIPS
(lpj=11055900)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
Compat vDSO mapped to fbffd000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 16k freed
checking if image is initramfs... it is
Freeing initrd memory: 8051k freed
Brought up 1 CPUs
migration_cost=0
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
Setting mem allocation to 262144 kiB
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1210763734.683:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
rtc: IRQ 8 is not free.
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15
(usb?)
Failed to obtain physical IRQ 6
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 1
Using IPI No-Shortcut mode
netfront: device eth0 has flipping receive path.
Time: xen clocksource has been installed.
IP-Config: Complete:
device=eth0, addr=A.B.C.50, mask=255.255.255.0, gw=A.B.C.1,
host=A.B.C.50, domain=, nis-domain=(none),
bootserver=A.B.C.107, rootserver=A.B.C.107, rootpath=
Freeing unused kernel memory: 196k freed
Boot logging started on /dev/tty1(/dev/console) at Wed May 14 11:15:39 2008
Creating device nodes with udev
netfront: Initialising virtual ethernet driver.
kobject_add failed for vif with -EEXIST, don't try to register things
with the same name in the same directory.
[<c020d9aa>] kobject_add+0x11a/0x1a0
[<c020db51>] kobject_register+0x21/0x50
[<c0275a2d>] bus_add_driver+0x7d/0x140
[<c028840b>] xenbus_register_driver_common+0x2b/0x40
[<c0288460>] xenbus_register_frontend+0x20/0x40
[<c013b7bb>] sys_init_module+0x15b/0x1c40
[<c0104f73>] syscall_call+0x7/0xb
Loading xennet
Loading xenblk
Loading dm-mod
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
dm-devel@xxxxxxxxxx
Loading dm-snapshot
Waiting for /dev/mapper/control to appear: ok
Loading jbd
Loading mbcache
Loading ext3
no block devices found
Mounting root A.B.C.107:/vm
INIT: version 2.86 booting
System Boot Control: Running /etc/init.d/boot
Mounting procfs at /proc done
Mounting sysfs at /sys done
Mounting debugfs at /sys/kernel/debug done
Initializing /dev done
Mounting devpts at /dev/pts done
Boot logging started on /dev/tty1(/dev/console (deleted)) at Wed May 14
13:15:41 2008
Starting udevd done
Activating swap-devices in /etc/fstab... done
*** ERROR! Cannot fsck because root is not read-only!
rm: cannot remove `/etc/mtab': Read-only file system
Loading required kernel modules done
done
Activating device mapper...
done
Starting MD Raid done
Waiting for udev to settle...
Scanning for LVM volume groups...
Locking type 1 initialisation failed.
Activating LVM volume groups...
Locking type 1 initialisation failed.
skipped
Checking file systems...
fsck 1.39 (29-May-2006) done
done
Mounting local file systems...
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
loop: loaded (max 8 devices)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
nothing was mounted done
AppArmor: AppArmor initialized
audit(1210763743.479:2): AppArmor initialized
Loading AppArmor module done
Mounting securityfs on /sys/kernel/security done
Loading AppArmor profiles Error: Could not allocate temporary file.
Profile /etc/apparmor.d/bin.ping failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/sbin.klogd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/sbin.syslog-ng failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/sbin.syslogd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.identd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.mdnsd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.named failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.nscd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.ntpd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.traceroute failed to load
failed
/etc/init.d/boot.d/S09boot.cleanup: line 48: /var/run/utmp: Read-only
file system
mv: cannot move `/var/log/boot.msg' to `/var/log/boot.omsg': Read-only
file system
Creating /var/log/boot.msg
Can't open or create /var/run/klogd.pid. done
/etc/init.d/boot.d/S09boot.klog: line 38: /var/log/boot.msg: Read-only
file system
Setting current sysctl status from /etc/sysctl.conf
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.rp_filter = 1
done
Enabling syn flood protection done
Disabling IP forwarding done
done
Setting up hostname 'idvmam2' done
Setting up loopback interface lo
lo IP address: 127.0.0.1/8
done
done
Activating remaining swap-devices in /etc/fstab... done
System Boot Control: The system has been set up
Failed features: boot.apparmor boot.cleanup
Skipped features: boot.cycle
System Boot Control: Running /etc/init.d/boot.local done
blogd: no message logging because /var file system is not accessible
INIT: Entering runlevel: 3
Boot logging started on /dev/tty1(/dev/console) at Wed May 14 13:15:46 2008
Master Resource Control: previous runlevel: N, switching to runlevel:3
Starting irqbalance unused
Initializing random number generatorchmod: changing permissions of
`/var/lib/misc/random-seed': Read-only file system
failed
Removing stale PID file /var/run/dbus/pid.
rm: cannot remove `/var/run/dbus/pid': Read-only file system
Starting D-Bus daemon done
Failed to start message bus: The pid file "/var/run/dbus/pid" exists, if
the message bus is not running, remove this file
Loading AppArmor profiles Error: Could not allocate temporary file.
Profile /etc/apparmor.d/bin.ping failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/sbin.klogd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/sbin.syslog-ng failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/sbin.syslogd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.identd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.mdnsd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.named failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.nscd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.ntpd failed to load
Error: Could not allocate temporary file.
Profile /etc/apparmor.d/usr.sbin.traceroute failed to load
failed
Starting resource manager/bin/rm: cannot remove `audioplayer/root':
Read-only file system
/bin/rm: cannot remove `camera/root': Read-only file system
/bin/rm: cannot remove `cdrom/root': Read-only file system
/bin/rm: cannot remove `desktop/root': Read-only file system
/bin/rm: cannot remove `desktop-console/root': Read-only file system
/bin/rm: cannot remove `dvb/root': Read-only file system
/bin/rm: cannot remove `floppy/root': Read-only file system
/bin/rm: cannot remove `input/root': Read-only file system
/bin/rm: cannot remove `pda/root': Read-only file system
/bin/rm: cannot remove `scanner/root': Read-only file system
/bin/rm: cannot remove `sound/root': Read-only file system
/bin/rm: cannot remove `usb/root': Read-only file system
/bin/rm: cannot remove `v4l/root': Read-only file system
/bin/rm: cannot remove `video/root': Read-only file system
startproc: exit status of parent of /sbin/resmgrd: 1
failed
Removing stale PID file /var/run/polkit/pid.
rm: cannot remove `/var/run/polkit/pid': Read-only file system
Starting PolicyKit daemon/usr/sbin/polkitd: error while loading shared
libraries: libgobject-2.0.so.0: cannot open shared object file: No such
file or directory
startproc: exit status of parent of /usr/sbin/polkitd: 127
failed
Removing stale PID file /var/run/hal/haldaemon.pid.
rm: cannot remove `/var/run/hal/haldaemon.pid': Read-only file system
Starting HAL daemon/usr/sbin/hald: error while loading shared libraries:
libgobject-2.0.so.0: cannot open shared object file: No such file or
directory
startproc: exit status of parent of /usr/sbin/hald: 127
failed
Loading CPUFreq modules (CPUFreq not supported)
Setting up network interfaces:
lo
lo IP address: 127.0.0.1/8 done
eth0
eth0 configuration: eth-id-00:16:3e:63:4a:fe
eth0 IP address: A.B.C.50/24 done
Setting up service network . . . . . . . . . . . . . . done.
Re-Starting syslog services/etc/init.d/syslog: line 110:
/var/lock/subsys/syslogd: Read-only file system
done
audit(1210763749.556:3): audit_pid=0 old=0 by auid=4294967295
Starting RPC portmap daemon done
audit(1210763750.028:4): audit_backlog_limit=256 old=64 by auid=4294967295
Starting auditd startproc: exit status of parent of /sbin/auditd: 1
done
Importing Net File System (NFS) done
Starting nfsboot (sm-notify) done
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
Checking/updating CPU microcode unused
Starting cupsd done
Starting mail service (Postfix) failed
Starting ZENworks Management DaemonStarting Name Service Cache Daemondone
done
Starting CRON daemon/usr/sbin/cron: can't open or create
/var/run/cron.pid: Read-only file system
startproc: exit status of parent of /usr/sbin/cron: 1
failed
Starting SSH daemon done
Starting powersaved: /usr/sbin/powersaved: error while loading shared
libraries: libgobject-2.0.so.0: cannot open shared object file: No such
file or directory
startproc: exit status of parent of /usr/sbin/powersaved: 127
failed
Starting INET services. (xinetd) failed
Master Resource Control: runlevel 3 has been reached
Failed services in runlevel 3: boot.apparmor random resmgr policykitd
haldaemon postfix cron powersaved xinetd
Skipped services in runlevel 3: irq_balancer microcode splash
blogd: no message logging because /var file system is not accessible
Welcome to openSUSE 10.2 (i586) - Kernel 2.6.18.8-0.9-xen (tty1).
idvmam2 login:
--
Informatikdienste
Universität Zürich
Winterthurerstrasse 190
CH-8057 Zürich
Tel: 044 635 67 89
Fax: 044 635 45 05
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|