Bonjour, Je rencontre actuellement des problèmes pour le lancement des machines VMS sous XEN.
Elle redémarre ou s'arrete aléatoirement quand je tente de les lancer.
Voici les problèmes pouvant apparaître dans les logs. Si vous aviez une idée comment régler ces problèmes cela serait intéressant, merci
Premier probleme : apparait tout le temps à chaque lancement d'une VM (uniquement le process init)
4gp seg fixup, process init (pid1), cs:ip 73:002b2b0d
4gp seg fixup, process init (pid1), cs:ip 73:0017fe67
...
2nd problème (apparait aléatoirement) :
BUG: at kernel/lockdep.c:1858 trace_hardirqs_on()
[<c1005D9E] show_trace_log_lvl+0x1a/0x2f
[<c10006347>] show_trace+0x12/0x14
[<c100063c2>] dump_stack+0x16/0x18
[<c1037435>] trace_hardirqs_on+0xc4/0x143
[<c10055d4>] restore_all+0x3b/0x3e
3ième problème, apparait également de façon aléatoire :
Kernel panic - not syncing: Attempted to kill init!
Voici un exemple du log de lancement d'une VM :
Linux version 2.6.20-2925.9.fc7xen (kojibuilder@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)) #1 SMP Tue May 22 08:53:03 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 000000001fc00000 end: 000000001fc00000 type: 1
Xen: 0000000000000000 - 000000001fc00000 (usable)
0MB HIGHMEM available.
508MB LOWMEM available.
NX (Execute Disable) protection: active
Entering add_active_range(0, 0, 130048) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 130048
Normal 130048 -> 130048
HighMem 130048 -> 130048
early_node_map[1] active PFN ranges
0: 0 -> 130048
On node 0 totalpages: 130048
DMA zone: 1016 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 129032 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
HighMem zone: 0 pages used for memmap
ACPI in unprivileged domain disabled
Built 1 zonelists. Total pages: 129032
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c135f000 soft=c133f000
PID hash table entries: 2048 (order: 11, 8192 bytes)
Xen reported: 1994.995 MHz processor.
Console: colour dummy device 80x25
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES: 8
... MAX_LOCK_DEPTH: 30
... MAX_LOCKDEP_KEYS: 2048
... CLASSHASH_SIZE: 1024
... MAX_LOCKDEP_ENTRIES: 8192
... MAX_LOCKDEP_CHAINS: 16384
... CHAINHASH_SIZE: 8192
memory used by lock dependency info: 1064 kB
per task-struct memory footprint: 1200 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: e0800000-f4ffe000, maxmem 2d7fe000
Memory: 244480k/520192k available (2030k kernel code, 20488k reserved, 1079k data, 180k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xf5315000 - 0xf57fe000 (5028 kB)
pkmap : 0xf5000000 - 0xf5200000 (2048 kB)
vmalloc : 0xe0800000 - 0xf4ffe000 ( 327 MB)
lowmem : 0xc0000000 - 0xdfc00000 ( 508 MB)
.init : 0xc130e000 - 0xc133b000 ( 180 kB)
.data : 0xc11fb8b9 - 0xc1309714 (1079 kB)
.text : 0xc1000000 - 0xc11fb8b9 (2030 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5015.19 BogoMIPS (lpj=10030382)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0fe9c3f1 00100000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: After all inits, caps: 0fe9c3f1 00100000 00000000 00003040 00000000 00000000 00000000
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
(Don't appear usually this following bug : )
BUG: at kernel/fork.c:994 copy_process()
[<c1005d9e>] show_trace_log_lvl+0x1a/0x2f
[<c1006347>] show_trace+0x12/0x14
[<c10063c2>] dump_stack+0x16/0x18
[<c101d040>] copy_process+0x195/0x1245
[<c101e140>] do_fork+0x50/0x117
[<c1003351>] kernel_thread+0x8e/0x96
[<c10023a4>] rest_init+0x14/0x28
[<c130e88a>] start_kernel+0x3e2/0x3ea
[<c1000079>] 0xc1000079
=======================
Brought up 1 CPUs
sizeof(vma)=88 bytes
sizeof(page)=32 bytes
sizeof(inode)=564 bytes
sizeof(dentry)=156 bytes
sizeof(ext3inode)=800 bytes
sizeof(buffer_head)=56 bytes
sizeof(skbuff)=176 bytes
sizeof(task_struct)=2704 bytes
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
PCI: setting up Xen PCI frontend stub
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 7, 524288 bytes)
TCP bind hash table entries: 8192 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 8340k freed
IA-32 Microcode Update Driver: v1.14-xen <tigran@veritas.com>
audit: initializing netlink socket (disabled)
audit(1194269409.556:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Event-channel device installed.
Console: switching to colour frame buffer device 100x37
input: Xen Virtual Keyboard/Mouse as /class/input/input1
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
Freeing unused kernel memory: 180k freed
Write protecting the kernel read-only data: 762k
(Ce qui suit apparait toujours (et non aléatoirement))
4gb seg fixup, process init (pid 1), cs:ip 73:002dbb0d
4gb seg fixup, process init (pid 1), cs:ip 73:00e06e67
4gb seg fixup, process init (pid 1), cs:ip 73:002d2710
4gb seg fixup, process init (pid 1), cs:ip 73:00349659
4gb seg fixup, process init (pid 1), cs:ip 73:002d5fdc
4gb seg fixup, process init (pid 1), cs:ip 73:002d5fea
4gb seg fixup, process init (pid 1), cs:ip 73:0032cd82
4gb seg fixup, process init (pid 1), cs:ip 73:002ceff1
4gb seg fixup, process init (pid 1), cs:ip 73:002d5fdc
4gb seg fixup, process init (pid 1), cs:ip 73:002d5fea
USB Universal Host Controller Interface driver v3.0
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
(Ce qui suit apparait de facon aléatoire (pas tjrs))
BUG: at kernel/lockdep.c:1858 trace_hardirqs_on()
[<c1005D9E] show_trace_log_lvl+0x1a/0x2f
[<c10006347>] show_trace+0x12/0x14
[<c100063c2>] dump_stack+0x16/0x18
[<c1037435>] trace_hardirqs_on+0xc4/0x143
[<c10055d4>] restore_all+0x3b/0x3e
(Ce qui suit apparait tjrs)
Registering block device major 202
xvda:<6>device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
xvda1 xvda2
(Ce qui suit apparait de façon aléatoire (pas tjrs))
Kernel panic - not syncing: Attempted to kill init!
Ces derniers messages USB, fixup etc.. n'apparaissent pas tout le temps dans le meme ordre
Si quelqu'un peut me donner une piste ou la solution à ce probleme :
1 fois sur 4 en gros, la VM démarrée s'arrete quelques temps après son démarrage (30 sec maxi) après le message symptomatique Kernel panic.
Parfois, la machine VM redémarre après le crash (due to on crash= restart), (pourquoi ca ne redémarre pas tt le temps ??)
Pourtant, j'ai bien mis :
"hwcap 0 nosegneg" dans /etc/ld.so.conf
Ma conf :
Un fichier de 4Gb faisant office de disk xvda pour chaque VM créé avec libvirt
J'utilise Fedora Core 7 avec Xen 3.1 émulé par VMWare Workstation (5.5.2) sans VMWare tools
Merci d'avance
Mael