xen kernel ext3 beibringen.

Lord_Icon

Member
Hi,

Open Suse bringt Xen in der aktuellen Version 3.4.11-2.16-xen mit.
Meine alten Images basieren auf ext3.
Startet ich nun die alten Images, erkennt Xen das ext3-Filesystem nicht.

Ein Blick in das Verzeichniss: /lib/modules/3.4.11-2.16-xen/kernel/fs/ zeigte schnell, das dieser Kernel ohne ext3 ausgestattet ist und somit mit diesem Format garnicht umgehen kann.

Code:
ls /lib/modules/3.4.11-2.16-xen/kernel/fs/

9p    affs  autofs4  bfs             btrfs       ceph  coda      cramfs  ecryptfs  exofs  freevxfs  fuse  hfs      hpfs   jfs    logfs  ncpfs  nfs_common  nilfs2  ocfs2  qnx4  quota     romfs     sysv   udf  xfs
adfs  afs   befs     binfmt_misc.ko  cachefiles  cifs  configfs  dlm     efs       fat    fscache   gfs2  hfsplus  jffs2  lockd  minix  nfs    nfsd        nls     omfs   qnx6  reiserfs  squashfs  ubifs  ufs

Weiß einer, wie ich ext3 in den Kernel bringen kann ?

VIELEN DANK für jedweden Hinweis !!!
 
Ich wette einen virtuellen Kasten Bier, dass die Ext-Familie statisch in den Kernel einkompiliert ist.

Sicher dass Deine alten Images kompatibel mit dem neuen XEN sind?
 
Die Wette gilt ;)

Gibt es einen Befehl, wo mit Xen mitteilt, welche Filesysteme unterstützt werden ?

K.a. ob diese kompatibel sind. Der Gast selbst startet... in der Umgebung wird dann sda* erwartet... die ich per config reingegeben habe.

Deshalb gehe ich davon aus, das Xen mit ext3 nicht umgehen kann.
Mein anderer Gast hat xvda. das System selbst startet.
 
Das kannst Du mit cat /proc/filesystems überprüfen.

Edit: s vergessen
 
Last edited by a moderator:
Code:
cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   cgroup
nodev   cpuset
nodev   tmpfs
nodev   devtmpfs
nodev   debugfs
nodev   securityfs
nodev   sockfs
nodev   pipefs
nodev   anon_inodefs
nodev   devpts
        ext3
        ext2
        ext4
nodev   ramfs
        iso9660
nodev   pstore
nodev   mqueue
nodev   usbfs
nodev   autofs

Mist... der kernel scheint es zu können. Da bin ich dann das hier schuldig.
Bierkasten_001.jpg


Doch n bissel vorschnell n rückschluss gezogen. Werd ich dann doch mal etwas tiefer in die Materie gehen müssen und mir die unterschiede von xen 2 auf xen 3 mal reinziehen.
 
Xen hat nichts mit Ext zu tun.
Auf dem Hostsystem läuft der Xen-Hypervisor welcher grösstenteils im Kernel läuft, dieser hat aber mehr oder weniger nichts mit dem Kernel der virtuellen Systeme zu tun; diese booten ihr vollkommen eigenes, paravirtualisiertes System.

Was genau gibt es als Fehlermeldungen im Bootprozess der Instanz?
Eventuell hat sich die Disk-Nummerierung geändert oder durch einen anderen Grund kann er seine Partition nicht mehr finden.
 
Was genau gibt es als Fehlermeldungen im Bootprozess der Instanz?
Eventuell hat sich die Disk-Nummerierung geändert oder durch einen anderen Grund kann er seine Partition nicht mehr finden.

Loggen tut xen ja recht umfangreich. Leider nichts, was aus meiner Sicht hilfreich sein könnte.

Die DomU-Config sieht wie folgt aus. Mit Xen2 startet dieses System ohne Probleme. (Kernel + ramdisk einträge sind korrekt. sprich: Pfad + Datei sind vorhanden)
Code:
name="webmailer"
memory=512
localtime=0
kernel="/boot/vmlinuz-xen"
ramdisk="/boot/initrd-xen"
root="/dev/sda1"

disk = [ 'file:/raid10/webmailer/swap,sda2,w',
         'file:/raid10/webmailer/system,sda1,w' ]

extra="3 console=xvc0"
vif=['bridge=br0',
     'bridge=br1']

Der Bootprozess hängt an folgender Stelle. Ich habe jetzt aber nur die letzten paar in Frage kommenden Stellen kopiert.
Code:
[    0.210266] Xen virtual console successfully installed as xvc0
[    0.210355] Fixed MDIO Bus: probed
[    0.210375] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    0.211210] i8042: No controller found
[    0.211265] mousedev: PS/2 mouse device common for all mice
[    0.211338] EFI Variables Facility v0.08 2004-May-17
[    0.211477] TCP: cubic registered
[    0.211500] NET: Registered protocol family 10
[    0.211664] Registering the dns_resolver key type
[    0.211779] registered taskstats version 1
[    0.211821]   Magic number: 1:252:3141
[    0.211851] XENBUS: Device with no driver: device/vbd/2050
[    0.211853] XENBUS: Device with no driver: device/vbd/2049
[    0.211855] XENBUS: Device with no driver: device/vif/0
[    0.211857] XENBUS: Device with no driver: device/vif/1
[    0.211863] /home/abuild/rpmbuild/BUILD/kernel-xen-3.4.11/linux-3.4/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.212020] Freeing unused kernel memory: 424k freed
[    0.212285] Write protecting the kernel read-only data: 8668k
doing fast boot
[    0.268276] 3ware 9000 Storage Controller device driver for Linux v2.26.02.014.
[    0.270831] netfront: Initialising virtual ethernet driver.
[    0.397782] register_blkdev: cannot get major 8 for sd
[    0.397792] vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/4/2050
[    0.415041] register_blkdev: cannot get major 8 for sd
[    0.415048] vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/4/2049
[    0.484101] XENBUS: Device not ready: device/vbd/2050
[    0.484109] XENBUS: Device not ready: device/vbd/2049
[    0.492639] rdac: device handler registered
[    0.495465] alua: device handler registered
[    0.498197] hp_sw: device handler registered
[    0.500920] emc: device handler registered
Creating device nodes with udev
[    0.516589] udevd[80]: starting version 182
[    0.652479] [drm] Initialized drm 1.1.0 20060810
[    0.659677] [drm] radeon defaulting to kernel modesetting.
[    0.659687] [drm] radeon kernel modesetting enabled.
mount: devpts is already mounted or /dev/pts busy
       devpts is already mounted on /dev/pts
Boot logging started on /dev/xvc0(/dev/console) at Sat Dec 29 11:48:18 2012
Waiting for device /dev/sda1 to appear: ..............................Could not find /dev/sda1.
Want me to fall back to /dev/disk/by-id/ata-WDC_WD7500AYYS-01RCA0_WD-WCAPT0683617-part2? (Y/n)
y
Waiting for device /dev/disk/by-id/ata-WDC_WD7500AYYS-01RCA0_WD-WCAPT0683617-part2 to appear: ..............................not found -- exiting to /bin/sh
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
$


/var/log/xen/xend.log
Code:
[2012-12-29 11:48:19 1054] DEBUG (XendDomainInfo:103) XendDomainInfo.create(['vm', ['name', 'webmailer'], ['memory', 512], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-xen'], ['ramdisk', '/boot/initrd-xen'], ['root', '/dev/sda1'], ['videoram', 4], ['args', '3 console=xvc0'], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'file:/raid10/webmailer/swap'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/raid10/webmailer/system'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'br0']]], ['device', ['vif', ['bridge', 'br1']]]])
[2012-12-29 11:48:19 1054] DEBUG (XendDomainInfo:2562) XendDomainInfo.constructDomain
[2012-12-29 11:48:19 1054] DEBUG (balloon:206) Balloon: 13980704 KiB free; need 16384; done.
[2012-12-29 11:48:19 1054] DEBUG (XendDomain:482) Adding Domain: 4
[2012-12-29 11:48:19 1054] DEBUG (XendDomainInfo:2903) XendDomainInfo.initDomain: 4 256
[2012-12-29 11:48:19 1054] DEBUG (XendDomainInfo:2930) _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, memory_static_min=0x0.
[2012-12-29 11:48:19 1054] INFO (image:186) buildDomain os=linux dom=4 vcpus=1
[2012-12-29 11:48:19 1054] DEBUG (image:817) domid          = 4
[2012-12-29 11:48:19 1054] DEBUG (image:818) memsize        = 512
[2012-12-29 11:48:19 1054] DEBUG (image:819) image          = /boot/vmlinuz-xen
[2012-12-29 11:48:19 1054] DEBUG (image:820) store_evtchn   = 1
[2012-12-29 11:48:19 1054] DEBUG (image:821) console_evtchn = 2
[2012-12-29 11:48:19 1054] DEBUG (image:822) cmdline        = root=/dev/sda1 3 console=xvc0
[2012-12-29 11:48:19 1054] DEBUG (image:823) ramdisk        = /boot/initrd-xen
[2012-12-29 11:48:19 1054] DEBUG (image:824) vcpus          = 1
[2012-12-29 11:48:19 1054] DEBUG (image:825) features       =
[2012-12-29 11:48:19 1054] DEBUG (image:826) flags          = 0
[2012-12-29 11:48:19 1054] DEBUG (image:827) superpages     = 0
[2012-12-29 11:48:19 1054] INFO (XendDomainInfo:2421) createDevice: vbd : {'uuid': 'dcfa548c-0af6-f13b-9377-cd1c789eb376', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'sda2', 'uname': 'file:/raid10/webmailer/swap', 'mode': 'w'}
[2012-12-29 11:48:19 1054] DEBUG (DevController:95) DevController: writing {'virtual-device': '2050', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/2050'} to /local/domain/4/device/vbd/2050.
[2012-12-29 11:48:19 1054] DEBUG (DevController:97) DevController: writing {'domain': 'webmailer', 'frontend': '/local/domain/4/device/vbd/2050', 'uuid': 'dcfa548c-0af6-f13b-9377-cd1c789eb376', 'bootable': '1', 'dev': 'sda2', 'state': '1', 'params': '/raid10/webmailer/swap', 'mode': 'w', 'online': '1', 'frontend-id': '4', 'type': 'file'} to /local/domain/0/backend/vbd/4/2050.
[2012-12-29 11:48:19 1054] INFO (XendDomainInfo:2421) createDevice: vbd : {'uuid': '7844cb47-708c-1cbc-5216-7bcb843dc1a0', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'sda1', 'uname': 'file:/raid10/webmailer/system', 'mode': 'w'}
[2012-12-29 11:48:19 1054] DEBUG (DevController:95) DevController: writing {'virtual-device': '2049', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/2049'} to /local/domain/4/device/vbd/2049.
[2012-12-29 11:48:19 1054] DEBUG (DevController:97) DevController: writing {'domain': 'webmailer', 'frontend': '/local/domain/4/device/vbd/2049', 'uuid': '7844cb47-708c-1cbc-5216-7bcb843dc1a0', 'bootable': '0', 'dev': 'sda1', 'state': '1', 'params': '/raid10/webmailer/system', 'mode': 'w', 'online': '1', 'frontend-id': '4', 'type': 'file'} to /local/domain/0/backend/vbd/4/2049.
[2012-12-29 11:48:19 1054] INFO (XendDomainInfo:2421) createDevice: vif : {'bridge': 'br0', 'mac': '00:16:3e:6b:a9:be', 'uuid': '747280f3-0523-3474-73e7-e85ebe3ba154'}
[2012-12-29 11:48:19 1054] DEBUG (DevController:95) DevController: writing {'mac': '00:16:3e:6b:a9:be', 'handle': '0', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/4/0'} to /local/domain/4/device/vif/0.
[2012-12-29 11:48:19 1054] DEBUG (DevController:97) DevController: writing {'bridge': 'br0', 'domain': 'webmailer', 'handle': '0', 'uuid': '747280f3-0523-3474-73e7-e85ebe3ba154', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:6b:a9:be', 'frontend-id': '4', 'state': '1', 'online': '1', 'frontend': '/local/domain/4/device/vif/0'} to /local/domain/0/backend/vif/4/0.
[2012-12-29 11:48:19 1054] INFO (XendDomainInfo:2421) createDevice: vif : {'bridge': 'br1', 'mac': '00:16:3e:32:61:52', 'uuid': '69ebc61f-3c32-2e79-f8ff-228beab3f41c'}
[2012-12-29 11:48:19 1054] DEBUG (DevController:95) DevController: writing {'mac': '00:16:3e:32:61:52', 'handle': '1', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/4/1'} to /local/domain/4/device/vif/1.
[2012-12-29 11:48:19 1054] DEBUG (DevController:97) DevController: writing {'bridge': 'br1', 'domain': 'webmailer', 'handle': '1', 'uuid': '69ebc61f-3c32-2e79-f8ff-228beab3f41c', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:32:61:52', 'frontend-id': '4', 'state': '1', 'online': '1', 'frontend': '/local/domain/4/device/vif/1'} to /local/domain/0/backend/vif/4/1.
[2012-12-29 11:48:19 1054] DEBUG (XendDomainInfo:3514) Storing VM details: {'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'shadow_memory': '0', 'uuid': 'd8b9ba40-434f-68ff-38ed-f94da9b38300', 'on_reboot': 'restart', 'start_time': '1356778099.85', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': "(linux (kernel /boot/vmlinuz-xen) (ramdisk /boot/initrd-xen) (args 'root=/dev/sda1 3 console=xvc0') (superpages 0) (videoram 4) (pci ()) (nomigrate 0) (tsc_mode 0) (notes (FEATURES 'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|supervisor_mode_kernel') (VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS linux) (HYPERCALL_PAGE 18446744071562080256) (LOADER generic) (INIT_P2M 18446719884453740544) (SUSPEND_CANCEL 1) (ENTRY 18446744071562076160) (XEN_VERSION xen-3.0) (MOD_START_PFN 1) (SUPPORTED_FEATURES 2063)))", 'name': 'webmailer'}
[2012-12-29 11:48:20 1054] DEBUG (XendDomainInfo:1850) Storing domain details: {'console/ring-ref': '2915523', 'image/entry': '18446744071562076160', 'console/port': '2', 'store/ring-ref': '2915524', 'image/loader': 'generic', 'vm': '/vm/d8b9ba40-434f-68ff-38ed-f94da9b38300', 'control/platform-feature-multiprocessor-suspend': '1', 'image/features/auto-translated-physmap': '1', 'image/guest-os': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '18446744071562067968', 'memory/target': '524288', 'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': '1', 'control/platform-feature-xs_reset_watches': '1', 'description': '', 'console/limit': '1048576', 'image/paddr-offset': '0', 'image/hypercall-page': '18446744071562080256', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'image/features/writable-page-tables': '1', 'console/type': 'xenconsoled', 'image/supported-features': '2063', 'image/mod-start-pfn': '1', 'name': 'webmailer', 'domid': '4', 'image/xen-version': 'xen-3.0', 'image/init-p2m': '18446719884453740544', 'store/port': '1'}
[2012-12-29 11:48:20 1054] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/4/0'} to /local/domain/4/device/console/0.
[2012-12-29 11:48:20 1054] DEBUG (DevController:97) DevController: writing {'domain': 'webmailer', 'frontend': '/local/domain/4/device/console/0', 'uuid': 'c472d2be-e745-0dc2-a271-e5f9b5fe0fbb', 'frontend-id': '4', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/4/0.
[2012-12-29 11:48:20 1054] DEBUG (XendDomainInfo:1937) XendDomainInfo.handleShutdownWatch
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices tap2.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices vif.
[2012-12-29 11:48:20 1054] DEBUG (DevController:144) Waiting for 0.
[2012-12-29 11:48:20 1054] DEBUG (DevController:671) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status.
[2012-12-29 11:48:20 1054] DEBUG (DevController:685) hotplugStatusCallback 1.
[2012-12-29 11:48:20 1054] DEBUG (DevController:144) Waiting for 1.
[2012-12-29 11:48:20 1054] DEBUG (DevController:671) hotplugStatusCallback /local/domain/0/backend/vif/4/1/hotplug-status.
[2012-12-29 11:48:20 1054] DEBUG (DevController:685) hotplugStatusCallback 1.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices vkbd.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices ioports.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices tap.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices vif2.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices console.
[2012-12-29 11:48:20 1054] DEBUG (DevController:144) Waiting for 0.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices vscsi.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices vbd.
[2012-12-29 11:48:20 1054] DEBUG (DevController:144) Waiting for 2050.
[2012-12-29 11:48:20 1054] DEBUG (DevController:671) hotplugStatusCallback /local/domain/0/backend/vbd/4/2050/hotplug-status.
[2012-12-29 11:48:20 1054] DEBUG (DevController:685) hotplugStatusCallback 1.
[2012-12-29 11:48:20 1054] DEBUG (DevController:144) Waiting for 2049.
[2012-12-29 11:48:20 1054] DEBUG (DevController:671) hotplugStatusCallback /local/domain/0/backend/vbd/4/2049/hotplug-status.
[2012-12-29 11:48:20 1054] DEBUG (DevController:685) hotplugStatusCallback 1.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices irq.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices vfb.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices pci.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices vusb.
[2012-12-29 11:48:20 1054] DEBUG (DevController:139) Waiting for devices vtpm.
[2012-12-29 11:48:20 1054] INFO (XendDomain:1231) Domain webmailer (4) unpaused.




/var/log/xen/domain-builder-ng.log
Code:
2012-12-29 11:57:20 CET [1054] domainbuilder: detail: xc_dom_allocate: cmdline="root=/dev/sda1 3 console=xvc0", features=""
2012-12-29 11:57:20 CET [1054] domainbuilder: detail: xc_dom_kernel_file: filename="/boot/vmlinuz-xen"
2012-12-29 11:57:20 CET [1054] domainbuilder: detail: xc_dom_malloc_filemap    : 4215 kB
2012-12-29 11:57:20 CET [1054] domainbuilder: detail: xc_dom_malloc            : 11698 kB
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_do_gunzip: unzip ok, 0x41de19 -> 0xb6ca98
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_parse_image: called
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ...
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: loader probe failed
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_find_loader: trying Linux bzImage loader ...
2012-12-29 11:57:21 CET [1054] xc: error: panic: xc_dom_bzimageloader.c:607: xc_dom_probe_bzimage_kernel: kernel is not a bzImage: Invalid kernel
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: loader probe failed
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_find_loader: trying ELF-generic loader ...
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: loader probe OK
2012-12-29 11:57:21 CET [1054] xc: detail: elf_parse_binary: phdr: paddr=0x2000 memsz=0x877000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_parse_binary: phdr: paddr=0x879000 memsz=0x800e8
2012-12-29 11:57:21 CET [1054] xc: detail: elf_parse_binary: phdr: paddr=0x8fa000 memsz=0xb0c0
2012-12-29 11:57:21 CET [1054] xc: detail: elf_parse_binary: phdr: paddr=0x906000 memsz=0x15d000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_parse_binary: memory: 0x2000 -> 0xa63000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: GUEST_OS = "linux"
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: GUEST_VERSION = "2.6"
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: XEN_VERSION = "xen-3.0"
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: VIRT_BASE = 0xffffffff80000000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: PADDR_OFFSET = 0x0
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: ENTRY = 0xffffffff80002000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff80003000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: unknown xen elf note (0xd)
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: MOD_START_PFN = 0x1
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: INIT_P2M = 0xffffea0000000000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: FEATURES = "writable_page_tables|writable_descriptor_tables|auto_translated_physmap|supervisor_mode_kernel"
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: SUPPORTED_FEATURES = 0x80f
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: LOADER = "generic"
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: SUSPEND_CANCEL = 0x1
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_addr_calc_check: addresses:
2012-12-29 11:57:21 CET [1054] xc: detail:     virt_base        = 0xffffffff80000000
2012-12-29 11:57:21 CET [1054] xc: detail:     elf_paddr_offset = 0x0
2012-12-29 11:57:21 CET [1054] xc: detail:     virt_offset      = 0xffffffff80000000
2012-12-29 11:57:21 CET [1054] xc: detail:     virt_kstart      = 0xffffffff80002000
2012-12-29 11:57:21 CET [1054] xc: detail:     virt_kend        = 0xffffffff80a63000
2012-12-29 11:57:21 CET [1054] xc: detail:     virt_entry       = 0xffffffff80002000
2012-12-29 11:57:21 CET [1054] xc: detail:     p2m_base         = 0xffffea0000000000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0xffffffff80002000 -> 0xffffffff80a63000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_release: called
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_allocate: cmdline="root=/dev/sda1 3 console=xvc0", features=""
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_kernel_file: filename="/boot/vmlinuz-xen"
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_malloc_filemap    : 4215 kB
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_malloc            : 11698 kB
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_do_gunzip: unzip ok, 0x41de19 -> 0xb6ca98
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_ramdisk_file: filename="/boot/initrd-xen"
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_malloc_filemap    : 6318 kB
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_boot_xen_init: ver 4.1, caps xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_parse_image: called
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ...
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: loader probe failed
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_find_loader: trying Linux bzImage loader ...
2012-12-29 11:57:21 CET [1054] xc: error: panic: xc_dom_bzimageloader.c:607: xc_dom_probe_bzimage_kernel: kernel is not a bzImage: Invalid kernel
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: loader probe failed
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_find_loader: trying ELF-generic loader ...
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: loader probe OK
2012-12-29 11:57:21 CET [1054] xc: detail: elf_parse_binary: phdr: paddr=0x2000 memsz=0x877000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_parse_binary: phdr: paddr=0x879000 memsz=0x800e8
2012-12-29 11:57:21 CET [1054] xc: detail: elf_parse_binary: phdr: paddr=0x8fa000 memsz=0xb0c0
2012-12-29 11:57:21 CET [1054] xc: detail: elf_parse_binary: phdr: paddr=0x906000 memsz=0x15d000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_parse_binary: memory: 0x2000 -> 0xa63000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: GUEST_OS = "linux"
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: GUEST_VERSION = "2.6"
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: XEN_VERSION = "xen-3.0"
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: VIRT_BASE = 0xffffffff80000000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: PADDR_OFFSET = 0x0
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: ENTRY = 0xffffffff80002000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff80003000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: unknown xen elf note (0xd)
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: MOD_START_PFN = 0x1
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: INIT_P2M = 0xffffea0000000000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: FEATURES = "writable_page_tables|writable_descriptor_tables|auto_translated_physmap|supervisor_mode_kernel"
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: SUPPORTED_FEATURES = 0x80f
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: LOADER = "generic"
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_parse_note: SUSPEND_CANCEL = 0x1
2012-12-29 11:57:21 CET [1054] xc: detail: elf_xen_addr_calc_check: addresses:
2012-12-29 11:57:21 CET [1054] xc: detail:     virt_base        = 0xffffffff80000000
2012-12-29 11:57:21 CET [1054] xc: detail:     elf_paddr_offset = 0x0
2012-12-29 11:57:21 CET [1054] xc: detail:     virt_offset      = 0xffffffff80000000
2012-12-29 11:57:21 CET [1054] xc: detail:     virt_kstart      = 0xffffffff80002000
2012-12-29 11:57:21 CET [1054] xc: detail:     virt_kend        = 0xffffffff80a63000
2012-12-29 11:57:21 CET [1054] xc: detail:     virt_entry       = 0xffffffff80002000
2012-12-29 11:57:21 CET [1054] xc: detail:     p2m_base         = 0xffffea0000000000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0xffffffff80002000 -> 0xffffffff80a63000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, 4k each
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_mem_init: 0x20000 pages
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_boot_mem_init: called
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: x86_compat: guest xen-3.0-x86_64, address size 64
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_malloc            : 1024 kB
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_build_image: called
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_alloc_segment:   kernel       : 0xffffffff80002000 -> 0xffffffff80a63000  (pfn 0x2 + 0xa61 pages)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x2+0xa61 at 0x7f5eadb53000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_load_binary: phdr 0 at 0x0x7f5eadb53000 -> 0x0x7f5eae3ca000
2012-12-29 11:57:21 CET [1054] xc: detail: elf_load_binary: phdr 1 at 0x0x7f5eae3ca000 -> 0x0x7f5eae44a0e8
2012-12-29 11:57:21 CET [1054] xc: detail: elf_load_binary: phdr 2 at 0x0x7f5eae44b000 -> 0x0x7f5eae4560c0
2012-12-29 11:57:21 CET [1054] xc: detail: elf_load_binary: phdr 3 at 0x0x7f5eae457000 -> 0x0x7f5eae4bd000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_alloc_segment:   ramdisk      : 0xffffffff80a63000 -> 0xffffffff81aac000  (pfn 0xa63 + 0x1049 pages)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0xa63+0x1049 at 0x7f5eacb0a000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_do_gunzip: unzip ok, 0x62b90d -> 0x1048a10
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_alloc_segment:   phys2mach    : 0xffffffff81aac000 -> 0xffffffff81bac000  (pfn 0x1aac + 0x100 pages)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x1aac+0x100 at 0x7f5ecc313000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_alloc_page   :   start info   : 0xffffffff81bac000 (pfn 0x1bac)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_alloc_page   :   xenstore     : 0xffffffff81bad000 (pfn 0x1bad)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_alloc_page   :   console      : 0xffffffff81bae000 (pfn 0x1bae)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: nr_page_tables: 0x0000ffffffffffff/48: 0xffff000000000000 -> 0xffffffffffffffff, 1 table(s)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: nr_page_tables: 0x0000007fffffffff/39: 0xffffff8000000000 -> 0xffffffffffffffff, 1 table(s)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: nr_page_tables: 0x000000003fffffff/30: 0xffffffff80000000 -> 0xffffffffbfffffff, 1 table(s)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: nr_page_tables: 0x00000000001fffff/21: 0xffffffff80000000 -> 0xffffffff81ffffff, 16 table(s)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_alloc_segment:   page tables  : 0xffffffff81baf000 -> 0xffffffff81bc2000  (pfn 0x1baf + 0x13 pages)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x1baf+0x13 at 0x7f5ed6f4d000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_alloc_page   :   boot stack   : 0xffffffff81bc2000 (pfn 0x1bc2)
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0xffffffff81bc3000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0xffffffff82000000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_boot_image: called
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: arch_setup_bootearly: doing nothing
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_64 <= matches
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_32p
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_64
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_update_guest_p2m: dst 64bit, pages 0x20000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: clear_page: pfn 0x1bae, mfn 0x2c7cc3
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: clear_page: pfn 0x1bad, mfn 0x2c7cc4
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x1bac+0x1 at 0x7f5ed6f4c000
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: start_info_x86_64: called
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: setup_hypercall_page: vaddr=0xffffffff80003000 pfn=0x3
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: domain builder memory footprint
2012-12-29 11:57:21 CET [1054] domainbuilder: detail:    allocated
2012-12-29 11:57:21 CET [1054] domainbuilder: detail:       malloc             : 12891 kB
2012-12-29 11:57:21 CET [1054] domainbuilder: detail:       anon mmap          : 0 bytes
2012-12-29 11:57:21 CET [1054] domainbuilder: detail:    mapped
2012-12-29 11:57:21 CET [1054] domainbuilder: detail:       file mmap          : 10533 kB
2012-12-29 11:57:21 CET [1054] domainbuilder: detail:       domU mmap          : 28408 kB
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: arch_setup_bootlate: shared_info: pfn 0x0, mfn 0xcfae9
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: shared_info_x86_64: called
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: vcpu_x86_64: called
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x1baf mfn 0x2c7cc2
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: launch_vm: called, ctxt=0x7f5eaf7f9b20
2012-12-29 11:57:21 CET [1054] domainbuilder: detail: xc_dom_release: called


In den letzten Log finde ich zwar eine Error-MEldung:
xc: error: panic: xc_dom_bzimageloader.c:607: xc_dom_probe_bzimage_kernel: kernel is not a bzImage: Invalid kernel
.. aber die ist wohl zu vernachlässig, da ich diesen Logeintrag auch bei einen funktionierenden System (auf xvda basis) habe.

Kein Plan, wo ich noch suchen könnte... die Logs sind nicht wirklich aussagekräftig.

Erbarmt sich einer zu Helfen... oder muß ich ab jetzt auf mein webmailer verzichten ?
 
Das sind die relevanten Logzeilen:
Code:
[    0.397782] register_blkdev: cannot get major 8 for sd
[    0.397792] vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/4/2050
[    0.415041] register_blkdev: cannot get major 8 for sd
[    0.415048] vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/4/2049
[    0.484101] XENBUS: Device not ready: device/vbd/2050
[    0.484109] XENBUS: Device not ready: device/vbd/2049
Den darauf folgenden Logzeilen nach, dürften das die (virtuellen) Festplatten sein, womit wir wieder bei meiner Frage nach der Kompatibilität sind.
 
Hi Joe,

im Web habe ich nach diesen Problem schon den halben Tag gesucht. Leider ohne großen Fortschritte.

Um weiter Daten zu liefern:

Das alte Xen-System: 2.6.27.7-9-xen
Das neue Xen-System: 3.4.11-2.16-xen

sda1 und sda2 vom Problem-DomU sind loop-Device.
Mittels mount -o loop system /mnt kann ich die Datei mounten.

Hast du eine Idee, was ich tun könnte um das Problem zu lösen.
 
Back
Top