Vserver containers seems not working at all. The error message I get when I try to run a vserver is:
# vserver net start
can not change context: migrate kernel feature missing and 'compat' API disabled: Function not implemented
/proc/uptime can not be accessed. Usually, this is caused by
procfs-security. Please read the FAQ for more details
http://linux-vserver.org/Proc-Security
Failed to start vserver 'net'
The vhost configuration was done under Lenny, and does not work anymore after upgrading to Squeeze.
Whatever I try to do that relates to Vserver fails saying “Function not implemented”… as an example:
# setattr --~hide /proc/uptime
/proc/uptime: Function not implemented
Web searches indicate that this kind of error (especially the first one that more explicit) happens when
the vserver patch is not applied to the kernel. I know vserver is deprecated but it should only be removed
in Wheezy. As Squeeze Release Notes do not contain any alert about it, I filed this bug as being grave.
-- Package-specific info:
** Version:
Linux version 2.6.32-5-vserver-powerpc (Debian 2.6.32-30) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Wed Jan 12 09:36:52 UTC 2011
** Command line:
root=/dev/mapper/poutchi-root ro
** Not tainted
** Kernel log:
[ 4.997387] ohci_hcd 0001:10:19.0: irq 28, io mem 0x80080000
[ 5.076966] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 5.083116] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.089056] usb usb2: Product: OHCI Host Controller
[ 5.094952] usb usb2: Manufacturer: Linux 2.6.32-5-vserver-powerpc ohci_hcd
[ 5.100944] usb usb2: SerialNumber: 0001:10:19.0
[ 5.108878] usb usb2: configuration #1 chosen from 1 choice
[ 5.115721] hub 2-0:1.0: USB hub found
[ 5.122484] hub 2-0:1.0: 2 ports detected
[ 5.307542] device-mapper: uevent: version 1.0.3
[ 5.317952] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[ 5.429920] firewire_core: created device fw0: GUID 000393fffe7cf2ec, S400
[ 5.505471] usb 2-1: new full speed USB device using ohci_hcd and address 2
[ 5.718500] usb 2-1: New USB device found, idVendor=152d, idProduct=2336
[ 5.725068] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 5.731487] usb 2-1: Product: JM20336 SATA, USB Combo
[ 5.737901] usb 2-1: Manufacturer: JMicron
[ 5.744216] usb 2-1: SerialNumber: 14D082896788
[ 5.754069] usb 2-1: configuration #1 chosen from 1 choice
[ 5.899180] SCSI subsystem initialized
[ 5.943976] Initializing USB Mass Storage driver...
[ 5.951105] scsi0 : SCSI emulation for USB Mass Storage devices
[ 5.969770] usbcore: registered new interface driver usb-storage
[ 5.977548] usb-storage: device found at 2
[ 5.977565] usb-storage: waiting for device to settle before scanning
[ 6.002684] USB Mass Storage support registered.
[ 6.556742] kjournald starting. Commit interval 5 seconds
[ 6.563250] EXT3-fs: mounted filesystem with ordered data mode.
[ 7.149604] eth0: Link is up at 100 Mbps, full-duplex.
[ 9.609964] udev[201]: starting version 164
[ 10.497647] PowerMac i2c bus pmu 2 registered
[ 10.558944] PowerMac i2c bus pmu 1 registered
[ 10.634595] PowerMac i2c bus mac-io 0 registered
[ 10.653989] PowerMac i2c bus uni-n 1 registered
[ 10.663891] PowerMac i2c bus uni-n 0 registered
[ 11.033760] usb-storage: device scan complete
[ 11.038784] scsi 0:0:0:0: Direct-Access SAMSUNG HM160HI PQ: 0 ANSI: 2 CCS
[ 11.298576] sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[ 11.309527] sd 0:0:0:0: [sda] Write Protect is off
[ 11.315666] sd 0:0:0:0: [sda] Mode Sense: 00 38 00 00
[ 11.315677] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.337338] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.343545] sda: sda1 < sda5 sda6 >
[ 11.975512] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.981825] sd 0:0:0:0: [sda] Attached SCSI disk
[ 15.493581] EXT3 FS on dm-0, internal journal
[ 16.153603] loop: module loaded
[ 18.454497] Adding 364536k swap on /dev/mapper/poutchi-swap_1. Priority:-1 extents:1 across:364536k
[ 21.332596] kjournald starting. Commit interval 5 seconds
[ 21.339493] EXT3 FS on dm-5, internal journal
[ 21.345931] EXT3-fs: mounted filesystem with ordered data mode.
[ 21.397194] kjournald starting. Commit interval 5 seconds
[ 21.404115] EXT3 FS on dm-4, internal journal
[ 21.410593] EXT3-fs: mounted filesystem with ordered data mode.
[ 21.471404] kjournald starting. Commit interval 5 seconds
[ 21.478671] EXT3 FS on dm-2, internal journal
[ 21.485531] EXT3-fs: mounted filesystem with ordered data mode.
[ 21.542790] kjournald starting. Commit interval 5 seconds
[ 21.550192] EXT3 FS on dm-3, internal journal
[ 21.556786] EXT3-fs: mounted filesystem with ordered data mode.
[ 24.955629] eth0: Link is up at 100 Mbps, full-duplex.
[ 24.955647] eth0: Pause is disabled
[ 26.368447] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 35.137479] eth0: no IPv6 routers present
[ 37.315827] nf_conntrack version 0.5.0 (1933 buckets, 7732 max)
[ 37.328932] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[ 37.336566] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[ 37.343823] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 53.667784] kjournald starting. Commit interval 5 seconds
[ 53.675987] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
[ 53.692574] EXT3 FS on sda5, internal journal
[ 53.700544] EXT3-fs: mounted filesystem with ordered data mode.
[ 54.134732] kjournald starting. Commit interval 5 seconds
[ 54.142965] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
[ 54.159599] EXT3 FS on sda6, internal journal
[ 54.167666] EXT3-fs: mounted filesystem with ordered data mode.
[ 4859.066122] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[ 4859.073190] All bugs added by David S. Miller <davem@redhat.com>
[ 4859.091886] lo: Disabled Privacy Extensions
[ 4938.849660] lo: Disabled Privacy Extensions
[ 5078.613642] lo: Disabled Privacy Extensions
[ 5080.055499] udev[30]: starting version 164
[ 5085.830168] EXT3 FS on dm-0, internal journal
[ 5088.993404] eth0: no IPv6 routers present
[ 5300.669772] lo: Disabled Privacy Extensions
[ 5310.921415] eth0: no IPv6 routers present
[ 5379.709631] lo: Disabled Privacy Extensions
[ 5390.573404] eth0: no IPv6 routers present
[ 5510.621618] lo: Disabled Privacy Extensions
[ 5520.797402] eth0: no IPv6 routers present
[ 5688.021683] lo: Disabled Privacy Extensions
[ 5699.029403] eth0: no IPv6 routers present
[ 5779.583202] lo: Disabled Privacy Extensions
[ 5789.877421] eth0: no IPv6 routers present
[ 7124.026555] lo: Disabled Privacy Extensions
[ 7135.169403] eth0: no IPv6 routers present
[ 7323.901732] lo: Disabled Privacy Extensions
[ 7334.277403] eth0: no IPv6 routers present
[ 7428.461852] lo: Disabled Privacy Extensions
[ 7439.257407] eth0: no IPv6 routers present
** Model information
revision : 51.17 (pvr 0008 3311)
platform : PowerMac
model : PowerBook4,1
machine : PowerBook4,1
motherboard : PowerBook4,1 MacRISC2 MacRISC Power Macintosh
0002:20:0e.0 FireWire (IEEE 1394) [0c00]: Apple Computer Inc. UniNorth/Pangea FireWire [106b:0030] (prog-if 10 [OHCI])
Subsystem: Apple Computer Inc. UniNorth/Pangea FireWire [106b:0030]
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: 16 (3000ns min, 6000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 40
Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: firewire_ohci
0002:20:0f.0 Ethernet controller [0200]: Apple Computer Inc. UniNorth/Pangea GMAC (Sun GEM) [106b:0024]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR+ INTx-
Latency: 16 (16000ns min, 16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 41
Region 0: Memory at f5200000 (32-bit, non-prefetchable) [size=2M]
Expansion ROM at f5100000 [disabled] [size=1M]
Kernel driver in use: gem
** USB devices:
Bus 002 Device 002: ID 152d:2336 JMicron Technology Corp. / JMicron USA Technology Corp. Hard Disk Drive
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Kernel: Linux 2.6.32-5-vserver-powerpc (SMP w/1 CPU core)
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.32-5-vserver-powerpc depends on:
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii initramfs-tools [linux-initra 0.98.8 tools for generating an initramfs
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii linux-base 2.6.32-30 Linux image base package
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.32-5-vserver-powerpc recommends:
ii firmware-linux-fre 2.6.32-30 Binary firmware for various driver
ii util-vserver 0.30.216-pre2864-2+b1 user-space tools for Linux-VServer
Versions of packages linux-image-2.6.32-5-vserver-powerpc suggests:
pn linux-doc-2.6.32 <none> (no description available)
pn mkvmlinuz <none> (no description available)
Versions of packages linux-image-2.6.32-5-vserver-powerpc is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
pn firmware-linux-nonfree <none> (no description available)
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110208161523.14493.77878.reportbug@poutchi.pouil l.eu">http://lists.debian.org/20110208161523.14493.77878.reportbug@poutchi.pouil l.eu
02-14-2011, 07:48 PM
Holger Levsen
Bug#612463: linux-image-2.6.32-5-vserver-powerpc: Vserver functionality not working at all
Hi,
I can confirm this bug and could also test patches or images.