Bug#501985: linux-image-2.6.26-1-openvz-686: No nfs support in openvz guest
Package: linux-image-2.6.26-1-openvz-686
Version: 2.6.26-5
Severity: important
I recently tried the openvz linux kernel flavour and has some issue
with mounting nfs partitions in an openvz guest.
I followed the instructions at http://wiki.openvz.org/NFS
openvz-host# cat /proc/sys/kernel/ve_allow_kthreads
1
openvz-host# lsmod | grep -w ^nfs
nfs 214568 0
openvz-host# grep FEATURE /etc/vz/conf/200.conf
FEATURES="nfs:on "
When I launch the openvz guest in verbose mode, I see that nfs is
enabled in the feature mask:
openvz-host# vzctl start 200
Starting VE ...
Running: /usr/sbin/vzquota show 200
Running: /usr/sbin/vzquota on 200 -r 0 -b 1048676 -B 1153124 -i 200100 -I 220100 -e 0 -n 0 -s 0
Mounting root: /var/lib/vz/root/200 /var/lib/vz/private/200
VE is mounted
Set iptables mask 0x000017bf
Set features mask 0000000000000002/0000000000000002
Adding IP address(es): 192.168.122.80
Running: /usr/lib/vzctl/scripts/vps-net_add
/usr/share/doc/vzctl/README.Debian.
Running VE script: /etc/vz/dists/scripts/debian-add_ip.sh
Setting CPU units: 1000
Configure meminfo: 65536
Running VE script: /etc/vz/dists/scripts/set_dns.sh
File resolv.conf was modified
Running: /usr/sbin/vzquota stat 200 -f
Running: vzquota setlimit 200 -b 1048576 -B 1153024 -i 200000 -I 220000 -e 0 -n 0
VE start in progress...
however the nfs filesystem is still unknown in the openvz-guest:
openvz-guest# cat /proc/filesystems
ext3
nodev sysfs
nodev proc
nodev tmpfs
nodev devpts
openvz-gest# mount -t nfs nfs_server:/home /home
mount: unknown filesystem type 'nfs'
I had a look at the openvz patch:
kernel-patches/all/2.6.26/debian/features/all/openvz/openvz.patch.bz2
and this patch doesn't seem to contain some nfs code that is found in
linux-patch-openvz.
For instance, the openvz patch used in linux-image-2.6.26-1-openvz-686 doesn't modify
the fs/nfs/super.c file although the linux-patch-openvz does.
So I wonder if nfs is enabled in openvz kernel image, and if it's not if
could be enabled ?
Thanks in advance for your answer.
Yann
-- Package-specific info:
** Version:
Linux version 2.6.26-1-openvz-686 (Debian 2.6.26-5) (waldi@debian.org) (gcc version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 SMP Wed Sep 10 19:04:44 UTC 2008
** Command line:
root=/dev/mapper/lenny--test-root ro quiet
** Not tainted
** Kernel log:
[ 1.527527] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.527527] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.527527] mice: PS/2 mouse device common for all mice
[ 1.527527] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[ 1.527527] rtc0: alarms up to one day
[ 1.527527] cpuidle: using governor ladder
[ 1.527527] cpuidle: using governor menu
[ 1.527527] No iBFT detected.
[ 1.531202] input: AT Translated Set 2 keyboard as /class/input/input0
[ 1.527527] TCP cubic registered
[ 1.527527] NET: Registered protocol family 17
[ 1.527527] Using IPI No-Shortcut mode
[ 1.527527] registered taskstats version 1
[ 1.527527] rtc_cmos 00:01: setting system clock to 2008-10-12 11:16:51 UTC (1223810211)
[ 1.531202] Freeing unused kernel memory: 252k freed
[ 1.858188] ACPI: ACPI0007:00 is registered as cooling_device0
[ 1.858188] ACPI: ACPI0007:01 is registered as cooling_device1
[ 2.742819] usbcore: registered new interface driver usbfs
[ 2.742862] usbcore: registered new interface driver hub
[ 2.742977] usbcore: registered new device driver usb
[ 2.745398] USB Universal Host Controller Interface driver v3.0
[ 2.745598] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 2.745627] ACPI: PCI Interrupt 0000:00:01.2[D] -> Link [LNKD] -> GSI 11 (level, high) -> IRQ 11
[ 2.745683] uhci_hcd 0000:00:01.2: UHCI Host Controller
[ 2.745789] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[ 2.745885] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c020
[ 2.745995] usb usb1: configuration #1 chosen from 1 choice
[ 2.746024] hub 1-0:1.0: USB hub found
[ 2.746032] hub 1-0:1.0: 2 ports detected
[ 2.753079] No dock devices found.
[ 2.774793] SCSI subsystem initialized
[ 2.787511] libata version 3.00 loaded.
[ 2.847196] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.847201] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.847204] usb usb1: Product: UHCI Host Controller
[ 2.847206] usb usb1: Manufacturer: Linux 2.6.26-1-openvz-686 uhci_hcd
[ 2.847209] usb usb1: SerialNumber: 0000:00:01.2
[ 2.858132] Uniform Multi-Platform E-IDE driver
[ 2.858137] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 2.859741] PIIX3: IDE controller (0x8086:0x7010 rev 0x00) at PCI slot 0000:00:01.1
[ 2.859789] PIIX3: not 100% native mode: will probe irqs later
[ 2.859856] ide0: BM-DMA at 0xc000-0xc007
[ 2.859894] ide1: BM-DMA at 0xc008-0xc00f
[ 2.859901] Probing IDE interface ide0...
[ 2.959503] 8139too Fast Ethernet driver 0.9.28
[ 3.061359] FDC 0 is a S82078B
[ 3.150304] hda: QEMU HARDDISK, ATA DISK drive
[ 3.822249] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO2
[ 3.822475] hda: MWDMA2 mode selected
[ 3.822791] Probing IDE interface ide1...
[ 4.610936] hdc: QEMU DVD-ROM, ATAPI CD/DVD-ROM drive
[ 5.282929] hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO0
[ 5.283047] hdc: MWDMA2 mode selected
[ 5.283439] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 5.283549] ide1 at 0x170-0x177,0x376 on irq 15
[ 6.221699] 8139too 0000:00:03.0: This (id 10ec:8139 rev 20) is an enhanced 8139C+ chip
[ 6.221699] 8139too 0000:00:03.0: Use the "8139cp" driver for improved performance and stability.
[ 6.221699] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[ 6.221699] ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKC] -> GSI 10 (level, high) -> IRQ 10
[ 6.221699] 8139too 0000:00:03.0: unknown chip version, assuming RTL-8139
[ 6.221699] 8139too 0000:00:03.0: TxConfig = 0x77800680
[ 6.235330] eth0: RealTek RTL8139 at 0xc100, 00:16:3e:75:47:c9, IRQ 10
[ 6.235339] eth0: Identified 8139 chip type 'RTL-8139'
[ 6.247818] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 6.301560] hda: max request size: 512KiB
[ 6.301564] hda: 12288000 sectors (6291 MB) w/256KiB Cache, CHS=12190/255/63
[ 6.301935] hda: cache flushes supported
[ 6.301970] hda: hda1 hda2
[ 6.328613] hdc: ATAPI 4X CD-ROM drive, 512kB Cache
[ 6.328613] Uniform CD-ROM driver Revision: 3.20
[ 6.517277] device-mapper: uevent: version 1.0.3
[ 6.517277] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: dm-devel@redhat.com
[ 7.017523] PM: Starting manual resume from disk
[ 7.119661] kjournald starting. Commit interval 5 seconds
[ 7.120957] EXT3-fs: mounted filesystem with ordered data mode.
[ 8.170815] udevd version 125 started
[ 9.925192] input: Power Button (FF) as /class/input/input1
[ 9.979056] ACPI: Power Button (FF) [PWRF]
[ 10.054525] piix4_smbus 0000:00:01.3: Found 0000:00:01.3 device
[ 10.144247] input: PC Speaker as /class/input/input2
[ 10.416141] Error: Driver 'pcspkr' is already registered, aborting...
[ 10.610080] input: ImExPS/2 Generic Explorer Mouse as /class/input/input3
[ 10.652214] parport_pc 00:05: reported by Plug and Play ACPI
[ 10.652214] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
[ 12.212002] EXT3 FS on dm-0, internal journal
[ 13.497887] loop: module loaded
[ 14.069462] kjournald starting. Commit interval 5 seconds
[ 14.069462] EXT3 FS on hda1, internal journal
[ 14.069462] EXT3-fs: mounted filesystem with ordered data mode.
[ 14.102633] Adding 307192k swap on /dev/mapper/lenny--test-swap_1. Priority:-1 extents:1 across:307192k
[ 15.720779] eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
[ 18.520892] NET: Registered protocol family 10
[ 22.087987] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 25.545247] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
[ 30.003426] eth0: no IPv6 routers present
[ 7927.934457] CT: 200: started
[ 8012.488746] RPC: Registered udp transport module.
[ 8012.488746] RPC: Registered tcp transport module.
[ 8056.132464] CT: 200: stopped
[ 8099.404600] CT: 200: started
** Loaded modules:
Module Size Used by
nfs 214568 0
lockd 55016 1 nfs
nfs_acl 3680 1 nfs
sunrpc 163904 5 nfs,lockd,nfs_acl
vzethdev 9120 0
vznetdev 14500 2
simfs 4756 1
vzdquota 32796 1 [permanent]
vzmon 22856 3 vzethdev,vznetdev
vzdev 3624 4 vzethdev,vznetdev,vzdquota,vzmon
xt_tcpudp 3584 0
xt_length 2528 0
ipt_ttl 2368 0
xt_tcpmss 2752 0
xt_TCPMSS 4448 0
iptable_mangle 4640 0
iptable_filter 4288 0
xt_multiport 3584 0
xt_limit 2948 0
xt_dscp 3136 0
ipt_REJECT 3552 0
ip_tables 11056 2 iptable_mangle,iptable_filter
x_tables 14404 10 xt_tcpudp,xt_length,ipt_ttl,xt_tcpmss,xt_TCPMSS,xt_multiport,xt_limit,xt_dscp,ipt_REJECT,ip_tables
ipv6 242112 44 vzmon
video 17168 0
output 3680 1 video
ac 4964 0
battery 10980 0
loop 13516 0
parport_pc 23396 0
parport 31756 1 parport_pc
serio_raw 5508 0
psmouse 33104 0
snd_pcm 63460 0
snd_timer 18568 1 snd_pcm
snd 46404 2 snd_pcm,snd_timer
soundcore 7136 1 snd
snd_page_alloc 8648 1 snd_pcm
pcspkr 3200 0
i2c_piix4 8016 0
i2c_core 20596 1 i2c_piix4
button 6832 0
evdev 8736 2
ext3 105864 2
jbd 40212 1 ext3
mbcache 7876 1 ext3
dm_mirror 15872 0
dm_log 9220 1 dm_mirror
dm_snapshot 15108 0
dm_mod 46984 8 dm_mirror,dm_log,dm_snapshot
ide_cd_mod 28420 0
cdrom 30976 1 ide_cd_mod
ide_disk 11264 3
8139cp 17728 0
ide_pci_generic 4676 0 [permanent]
floppy 48516 0
8139too 21120 0
mii 5664 2 8139cp,8139too
piix 7336 0 [permanent]
ide_core 93492 4 ide_cd_mod,ide_disk,ide_pci_generic,piix
ata_generic 5444 0
libata 141344 1 ata_generic
scsi_mod 130220 1 libata
dock 9040 1 libata
uhci_hcd 19504 0
usbcore 119216 2 uhci_hcd
thermal 15996 0
processor 33568 1 thermal
fan 4932 0
thermal_sys 11624 4 video,thermal,processor,fan
** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010] (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
Region 4: I/O ports at c000 [size=16]
Kernel driver in use: PIIX_IDE
Kernel modules: piix
00:01.2 USB Controller [0c03]: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] [8086:7020] (rev 01)
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin D routed to IRQ 11
Region 4: I/O ports at c020 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 9
Kernel driver in use: piix4_smbus
Kernel modules: i2c-piix4
00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Region 0: Memory at f0000000 (32-bit, prefetchable) [size=32M]
Region 1: Memory at f2000000 (32-bit, non-prefetchable) [size=4K]
Kernel modules: cirrusfb
00:03.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 20)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at c100 [size=256]
Region 1: Memory at f2001000 (32-bit, non-prefetchable) [size=256]
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-openvz-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-2.6.26-1-openvz-686 depends on:
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii initramfs-tools [linux-initra 0.92j tools for generating an initramfs
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
ii vzctl 3.0.22-11 server virtualization solution - c
Versions of packages linux-image-2.6.26-1-openvz-686 recommends:
ii libc6-i686 2.7-13 GNU C Library: Shared libraries [i
Versions of packages linux-image-2.6.26-1-openvz-686 suggests:
ii grub 0.97-47 GRand Unified Bootloader (Legacy v
pn linux-doc-2.6.26 <none> (no description available)
-- debconf information:
linux-image-2.6.26-1-openvz-686/preinst/elilo-initrd-2.6.26-1-openvz-686: true
linux-image-2.6.26-1-openvz-686/postinst/kimage-is-a-directory:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.26-1-openvz-686/postinst/old-dir-initrd-link-2.6.26-1-openvz-686: true
linux-image-2.6.26-1-openvz-686/postinst/depmod-error-initrd-2.6.26-1-openvz-686: false
linux-image-2.6.26-1-openvz-686/prerm/removing-running-kernel-2.6.26-1-openvz-686: true
linux-image-2.6.26-1-openvz-686/preinst/lilo-initrd-2.6.26-1-openvz-686: true
linux-image-2.6.26-1-openvz-686/postinst/old-initrd-link-2.6.26-1-openvz-686: true
linux-image-2.6.26-1-openvz-686/postinst/bootloader-test-error-2.6.26-1-openvz-686:
linux-image-2.6.26-1-openvz-686/preinst/abort-overwrite-2.6.26-1-openvz-686:
linux-image-2.6.26-1-openvz-686/postinst/old-system-map-link-2.6.26-1-openvz-686: true
linux-image-2.6.26-1-openvz-686/postinst/bootloader-error-2.6.26-1-openvz-686:
linux-image-2.6.26-1-openvz-686/postinst/create-kimage-link-2.6.26-1-openvz-686: true
linux-image-2.6.26-1-openvz-686/preinst/lilo-has-ramdisk:
linux-image-2.6.26-1-openvz-686/postinst/depmod-error-2.6.26-1-openvz-686: false
linux-image-2.6.26-1-openvz-686/preinst/abort-install-2.6.26-1-openvz-686:
linux-image-2.6.26-1-openvz-686/preinst/initrd-2.6.26-1-openvz-686:
linux-image-2.6.26-1-openvz-686/preinst/overwriting-modules-2.6.26-1-openvz-686: true
linux-image-2.6.26-1-openvz-686/prerm/would-invalidate-boot-loader-2.6.26-1-openvz-686: true
linux-image-2.6.26-1-openvz-686/preinst/failed-to-move-modules-2.6.26-1-openvz-686:
linux-image-2.6.26-1-openvz-686/preinst/bootloader-initrd-2.6.26-1-openvz-686: true
Reply to: