PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : xend will nicht starten



hcx
30.11.06, 15:06
Hi@all,

ich habe mir unter sid das image-2.6.18-2-xen-686 als auch die xen-utils-3.0-unstable-1 nach dieser Anleitung:
http://www.howtoforge.com/perfect_setup_xen3_debian_p3?

und em XEN mit Debian Artikel von Marcus Obst aus der freeX Nr. 6

installiert und der Xen-Kernel wird auch gebootet, doch der Xen-Daemon startet nicht. # xend gibt aus: " usage /usr/lib/xen-3.0-unstable-1/bin/xend {start|stop|restart} # xend start gibt nichts aus und /etc/init.dxend start

"starting xen control daemon xend failed!"
die xen-utils habe ich mit python2.3 und python2.3-dev installiert.

Hat wer ne Idee woran das liegen könnte?

Gruss aus hackhausen am Compiler

hcx

MiGo
30.11.06, 20:20
Schau mal in die Logs (/var/log/messages, evtl hat xen auch ein eigenes Log). Steht da was erhellendes drin?

hcx
01.12.06, 14:31
Hallo MiGo,

also dieses Xen macht mich noch bekloppt; Frag mich bitte nicht wie oder warum, doch mit vmlinuz-2.6.18-2-xen-686 (Debian Image Sid) startet xend nun
ohne Murren:
--------------------------------------------------------------------------------------------------------
ps -ax |grep xend
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
3365 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3366 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3372 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3373 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3374 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3376 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3412 pts/1 R+ 0:00 grep xend
root@hackbox:/home/hcx# ps -ax |grep xen
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
8 ? S< 0:00 [xenwatch]
9 ? S< 0:00 [xenbus]
3361 ? S 0:00 /usr/lib/xen-3.0.3-1/bin/xenstored --pid-file /var/run/xenstore.pid
3365 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3366 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3368 ? S 0:00 xenconsoled
3369 ? S 0:00 xenconsoled
3370 ? S 0:00 xenconsoled
3372 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3373 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3374 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3376 ? S 0:00 python /usr/lib/xen-3.0.3-1/bin/xend start
3423 pts/1 R+ 0:00 grep xen
--------------------------------------------------------------------------------------------------------
/var/log/messages zeigt an:

tail -f /var/log/messages
Dec 1 14:47:44 hackbox kernel: Bluetooth: L2CAP socket layer initialized
Dec 1 14:47:44 hackbox kernel: Bluetooth: RFCOMM socket layer initialized
Dec 1 14:47:44 hackbox kernel: Bluetooth: RFCOMM TTY layer initialized
Dec 1 14:47:44 hackbox kernel: Bluetooth: RFCOMM ver 1.8
Dec 1 14:47:49 hackbox kernel: [drm] Initialized drm 1.0.1 20051102
Dec 1 14:47:49 hackbox kernel: ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
Dec 1 14:47:49 hackbox kernel: [drm] Initialized savage 2.4.1 20050313 on minor 0
Dec 1 14:47:49 hackbox kernel: agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
Dec 1 14:47:49 hackbox kernel: agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
Dec 1 14:47:49 hackbox kernel: agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
--------------------------------------------------------------------------------------------------------
xen hat in /var/log übeigens keine eigene Logfile.
--------------------------------------------------------------------------------------------------------
Die Konfigurationsdatei meiner vm sieht so aus:
--------------------------------------------------------------------------------------------------------
# configuration file for vm01

name="vm01"
kernel="/boot/vmlinuz-2.6.18-2-xen-686"
root="/dev/hda3"
memory = 128
disk = [ 'file:/vserver/images/vm01.img,hda3,w' , 'file:/vserver/images/vm01-swap.img,hda1,w' ]

# network
#vif = [' ' ]
dhcp = "off"
ip = "192.168.178.11"
netmask ="255.255.255.0"
gateway ="192.168.178.1"
hostname="vm01.example.com"
extra="3"
--------------------------------------------------------------------------------------------------------

Die Images liegen unter /vserver/Images

das root Verzeichnis meines Host-Systems ist /dev/hda3 swap ist /dev/hda1
/dev/hda2 ist /boot und /dev/hda4 ist /xen

versuche ich nun die vm zu starten erhalte ich folgende Fehlermeldung:

-------------------------------------------------------------------------------------------------------
create -c /etc/xen/vm01-config.sxp
Using config file "/etc/xen/vm01-config.sxp".
Started domain vm01
Linux version 2.6.18-2-xen-686 (Debian 2.6.18-5~bpo.1) (nobse@backports.org) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 SMP Fri Nov 10 05:04:18 CET 2006
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000008800000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
ACPI in unprivileged domain disabled
Built 1 zonelists. Total pages: 34816
Kernel command line: ip=192.168.178.11:1.2.3.4:192.168.178.1:255.255.25 5.0:vm01.example.com:eth0:off root=/dev/hda3 3
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Xen reported: 999.149 MHz processor.
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-fb7fe000, maxmem 33ffe000
Memory: 126532k/139264k available (1606k kernel code, 4400k reserved, 654k data, 160k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 2527.84 BogoMIPS (lpj=5055688)
Security Framework v1.0.0 initialized
SELinux: Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k 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.
PCI: System does not support PCI
PCI: System does not support PCI
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1164982140.560: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)
RAMDISK driver initialized: 16 RAM disks of 8192K 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
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
Registering block device major 3
No filesystem could mount root, tried: cramfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,3)
-------------------------------------------------------------------------------------------------------

Ok das /root Verzeichnis kann nicht gemountet werden, doch wieso nicht und warum unknown-block(3,3) ?

Habe ich da irgendwie einen Denkfehler, was die root Partition angeht?

Danke schon mal im Voraus für deine Hilfe.

Gruss aus Hackhausen a. Compiler

hcx

hcx
03.12.06, 13:29
hi@all,

sieht so aus als habe ich den Fehler gefunden; verantwortlich war eine Zeile in

/etc/modprobe/local-loop

" options loop-max=128 "

Allerdings wirft weder /var/log/messages noch /var/log/syslog eine entsprechende Meldung aus, vielmehr muss der xend mit xend start gestartet werden, damit eine entsprechende WARNING erscheint, bei /etc/init.d/xend start
erscheint diese nicht sondern nur strting Xen-Control-Daemon failed.

Wenn ich jetzt noch verstünde was in der vm01-config.sxp nicht stimmt.

Hat wer eine Idee?

Danke schon mal im Voraus.

Gruss aus Hackhausen a. Compiler

hcx

hcx
04.12.06, 13:56
Ha wohl zu früh gefreut, will ich nun den xend starten erhalte ich als Fehlermeldung: "Starting XEN control daemon: xendFailed to contact xenstore (Connection refused). Is it running?"

xenstore läuft nicht, wie kann ich den starten?