--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-image-2.6.20-1-vserver-686: obsolete dynamic context in vserver 2.2 -- existing vserver fail to start after reboot
- From: Yaroslav Halchenko <debian@onerussian.com>
- Date: Thu, 10 May 2007 14:22:26 -0400
- Message-id: <20070510182226.9053.79042.reportbug@washoe.rutgers.edu>
Package: linux-image-2.6.20-1-vserver-686
Version: 2.6.20-3
Severity: normal
I upgraded the kernel (from 2.6.18) to track some weird behavior within vserver
(connections to vserver-ed apache start to drop packets eventually) --
and discovered that no vserver started on reboot automatically due to:
,--
| ncontext: vc_net_create(): Invalid argument
|
| An error occured while executing the vserver startup sequence; when
| there are no other messages, it is very likely that the init-script
| (/etc/init.d/rc 3) failed.
|
| Common causes are:
| * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build
| method knows how to deal with this, but on existing installations,
| appending 'true' to this file will help.
|
|
| Failed to start vserver 'proxy'
`---
I had to google up a quick fix to this
http://www.christianschenk.org/blog/upgrading-vserver-from-20-to-22/
As a solution I see some warning during kernel installation which checks
existing vserver configurations and at least warns if there are no
contexts assigned.
Also -- changelog.Debian.gz seems to be missing information about vserver patch
upgrade over to 2.2... I found out about the upgrade only from the source of
the package... and besides the changelog.Debian there is no way to figure out
at run time what version of vserver patch is applied (it is wiped out from
kernel version as upstream does) -- it would been perfect if 1 line in vserver
patch added reporting of the vserver patch during boot... it sounds like a
separate wishlist bugreport -- so pardon me for shuffling everything
together.
-- Package-specific info:
** Version: Linux version 2.6.20-1-vserver-686 (Debian 2.6.20-3) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Wed Apr 25 00:46:19 UTC 2007
** Not tainted
** Kernel log:
vroot: loaded (max 8 devices)
PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Starting balanced_irq
Using IPI No-Shortcut mode
ACPI: (supports S0 S1 S4 S5<6>Time: tsc clocksource has been installed.
)
input: AT Translated Set 2 keyboard as /class/input/input0
Freeing unused kernel memory: 208k freed
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:07.2[D] -> GSI 19 (level, low) -> IRQ 16
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 16, io base 0x0000ece0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ACPI: PCI Interrupt 0000:00:11.0[A] -> GSI 19 (level, low) -> IRQ 16
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:11.0: 3Com PCI 3c905B Cyclone 100baseTx at f881c000.
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: WDC WD1200JB-00DUA3, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: IDE DVD-ROM 16X, ATAPI CD/DVD-ROM drive
hdd: LITE-ON LTR-52246S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
libata version 2.00 loaded.
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
hda: max request size: 512KiB
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(33)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: AGP aperture is 64M @ 0xf0000000
input: PC Speaker as /class/input/input1
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
piix4_smbus 0000:00:07.3: Host SMBus controller not enabled!
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,EPP,ECP]
Real Time Clock Driver v1.12ac
input: ImPS/2 Generic Wheel Mouse as /class/input/input2
Adding 1959920k swap on /dev/hda2. Priority:-1 extents:1 across:1959920k
EXT3 FS on hda3, internal journal
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NET: Registered protocol family 15
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (8191 buckets, 65528 max)
eth0: setting full-duplex.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
input: Power Button (FF) as /class/input/input3
ACPI: Power Button (FF) [PWRF]
eth0: no IPv6 routers present
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
device eth0 entered promiscuous mode
audit(1178817762.463:2): dev=eth0 prom=256 old_prom=0 auid=4294967295
dynamic contexts disabled.
dynamic contexts disabled.
dynamic contexts disabled.
dynamic contexts disabled.
dynamic contexts disabled.
dynamic contexts disabled.
dynamic contexts disabled.
dynamic contexts disabled.
** Loaded modules:
Module Size Used by
tcp_diag 1888 0
inet_diag 11464 1 tcp_diag
nfs 220396 1
binfmt_misc 11176 1
ipt_ULOG 7940 1
nfsd 202576 13
exportfs 5632 1 nfsd
lockd 58216 3 nfs,nfsd
nfs_acl 3616 2 nfs,nfsd
sunrpc 148540 11 nfs,nfsd,lockd,nfs_acl
autofs4 19844 2
button 7856 0
ac 5220 0
battery 9924 0
ipv6 234112 27
ipt_REJECT 4544 4
xt_conntrack 2880 12
xt_pkttype 1984 4
xt_state 2560 21
ipt_recent 9016 4
ipt_LOG 6304 11
ts_bm 2496 1
xt_string 2464 1
xt_limit 2720 4
xt_tcpudp 3232 75
xt_policy 3616 77
xt_multiport 3168 15
iptable_nat 7332 1
nf_nat 17804 1 iptable_nat
nf_conntrack_ipv4 17772 35 iptable_nat
nf_conntrack 58440 5 xt_conntrack,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink 6648 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
iptable_mangle 2880 1
iptable_raw 2144 0
iptable_filter 3072 1
ip_tables 12324 4 iptable_nat,iptable_mangle,iptable_raw,iptable_filter
x_tables 14628 14 ipt_ULOG,ipt_REJECT,xt_conntrack,xt_pkttype,xt_state,ipt_recent,ipt_LOG,xt_string,xt_limit,xt_tcpudp,xt_policy,xt_multiport,iptable_nat,ip_tables
deflate 3840 0
zlib_deflate 18232 1 deflate
twofish 8544 0
twofish_common 36064 1 twofish
serpent 18944 0
blowfish 9440 0
des 17504 0
cbc 4480 0
ecb 3616 0
blkcipher 5664 2 cbc,ecb
aes 28128 0
xcbc 5184 0
sha256 11136 0
sha1 2688 0
crypto_null 2656 0
af_key 33328 0
dm_snapshot 16580 0
dm_mirror 20340 0
dm_mod 53228 3 dm_snapshot,dm_mirror
r8169 28968 0
aic7xxx 156600 0
scsi_transport_spi 23040 1 aic7xxx
softdog 5940 2
tsdev 7552 0
rtc 12976 0
parport_pc 32836 0
parport 33672 1 parport_pc
psmouse 35208 0
floppy 54468 0
i2c_piix4 8620 0
i2c_core 20736 1 i2c_piix4
serio_raw 6724 0
shpchp 31156 0
pci_hotplug 29312 1 shpchp
pcspkr 3264 0
intel_agp 22748 1
agpgart 30504 1 intel_agp
evdev 9376 0
ext3 123912 3
jbd 55368 1 ext3
mbcache 8420 1 ext3
ide_disk 15744 5
ide_cd 36672 0
cdrom 32960 1 ide_cd
ata_generic 7876 0
libata 100052 1 ata_generic
piix 9540 0 [permanent]
3c59x 41512 0
mii 5376 1 3c59x
generic 4932 0 [permanent]
ide_core 114728 4 ide_disk,ide_cd,piix,generic
uhci_hcd 22160 0
usbcore 122280 2 uhci_hcd
thermal 13928 0
processor 30536 1 thermal
fan 4772 0
scsi_mod 133100 3 aic7xxx,scsi_transport_spi,libata
** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 03)
Subsystem: Dell Unknown device [1028:0080]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 64
Region 0: Memory at f0000000 (32-bit, prefetchable) [size=64M]
Capabilities: <access denied>
00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: fc000000-fdffffff
Prefetchable memory behind bridge: f4000000-f7ffffff
Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+
00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
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 ffa0 [size=16]
00:07.2 USB Controller [0c03]: Intel Corporation 82371AB/EB/MB PIIX4 USB [8086:7112] (rev 01) (prog-if 00 [UHCI])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin D routed to IRQ 16
Region 4: I/O ports at ece0 [size=32]
00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02)
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin ? routed to IRQ 9
00:11.0 Ethernet controller [0200]: 3Com Corporation 3c905B 100BaseTX [Cyclone] [10b7:9055]
Subsystem: Dell 3C905B Fast Etherlink XL 10/100 [1028:0080]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (2500ns min, 2500ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: I/O ports at ec00 [size=128]
Region 1: Memory at fe000000 (32-bit, non-prefetchable) [size=128]
Expansion ROM at fb000000 [disabled] [size=128K]
Capabilities: <access denied>
00:13.0 PCI bridge [0604]: Digital Equipment Corporation DECchip 21152 [1011:0024] (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64, Cache Line Size: 32 bytes
Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
Capabilities: <access denied>
01:00.0 VGA compatible controller [0300]: nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] [10de:0028] (rev 11) (prog-if 00 [VGA])
Subsystem: Diamond Multimedia Systems RIVA TNT2/TNT2 Pro [1092:5a00]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 10
Region 0: Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at f6000000 (32-bit, prefetchable) [size=32M]
Expansion ROM at f4000000 [disabled] [size=64K]
Capabilities: <access denied>
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (900, 'stable'), (600, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.20-1-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-2.6.20-1-vserver-686 depends on:
ii initramfs-tools [linux-initra 0.85g tools for generating an initramfs
ii module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo
ii yaird [linux-initramfs-tool] 0.0.12-20 Yet Another mkInitRD
Versions of packages linux-image-2.6.20-1-vserver-686 recommends:
ii libc6-i686 2.3.6.ds1-13 GNU C Library: Shared libraries [i
ii util-vserver 0.30.212-1 user-space tools for Linux-VServer
-- debconf information:
linux-image-2.6.20-1-vserver-686/postinst/depmod-error-2.6.20-1-vserver-686: false
linux-image-2.6.20-1-vserver-686/preinst/lilo-has-ramdisk:
linux-image-2.6.20-1-vserver-686/prerm/removing-running-kernel-2.6.20-1-vserver-686: true
linux-image-2.6.20-1-vserver-686/preinst/abort-overwrite-2.6.20-1-vserver-686:
linux-image-2.6.20-1-vserver-686/postinst/old-system-map-link-2.6.20-1-vserver-686: true
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.20-1-vserver-686/preinst/failed-to-move-modules-2.6.20-1-vserver-686:
linux-image-2.6.20-1-vserver-686/postinst/old-initrd-link-2.6.20-1-vserver-686: true
linux-image-2.6.20-1-vserver-686/postinst/kimage-is-a-directory:
linux-image-2.6.20-1-vserver-686/preinst/lilo-initrd-2.6.20-1-vserver-686: true
linux-image-2.6.20-1-vserver-686/postinst/create-kimage-link-2.6.20-1-vserver-686: true
linux-image-2.6.20-1-vserver-686/postinst/bootloader-test-error-2.6.20-1-vserver-686:
linux-image-2.6.20-1-vserver-686/preinst/already-running-this-2.6.20-1-vserver-686:
linux-image-2.6.20-1-vserver-686/preinst/abort-install-2.6.20-1-vserver-686:
linux-image-2.6.20-1-vserver-686/prerm/would-invalidate-boot-loader-2.6.20-1-vserver-686: true
linux-image-2.6.20-1-vserver-686/preinst/elilo-initrd-2.6.20-1-vserver-686: true
linux-image-2.6.20-1-vserver-686/preinst/bootloader-initrd-2.6.20-1-vserver-686: true
linux-image-2.6.20-1-vserver-686/preinst/initrd-2.6.20-1-vserver-686:
linux-image-2.6.20-1-vserver-686/postinst/depmod-error-initrd-2.6.20-1-vserver-686: false
linux-image-2.6.20-1-vserver-686/preinst/overwriting-modules-2.6.20-1-vserver-686: true
linux-image-2.6.20-1-vserver-686/postinst/bootloader-error-2.6.20-1-vserver-686:
linux-image-2.6.20-1-vserver-686/postinst/old-dir-initrd-link-2.6.20-1-vserver-686: true
--- End Message ---