[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] 2.6.31.6 pv_ops can't boot pv_ops DomU kernel
Am 29.01.2010 10:29, schrieb Pasi Kärkkäinen: > On Fri, Jan 29, 2010 at 10:16:03AM +0100, Stefan Kuhne wrote: >> Am 29.01.2010 10:10, schrieb Pasi Kärkkäinen: >>> On Fri, Jan 29, 2010 at 09:33:28AM +0100, Stefan Kuhne wrote: >>>> >>>>>> [ 0.071368] NET: Registered protocol family 1 >>>>>> [ 0.071490] Trying to unpack rootfs image as initramfs... >>>>>> [ 0.088897] Freeing initrd memory: 5740k freed >>>>> >>>>> >>>>> So initrd execution starts.. >>>>> >>>>> Is this the same initrd image you use for dom0? >>>>> >>>> Yes. >>>> >>> >>> Try generating a new initrd *in* the guest, *for* the guest. >>> >> How can i to it? >> I make it by hand without any "mk..." tools. >> > > some distros have "mkinitrd", and some have "mkinitramfs". > Check the documentation of your distro. > Than i've to build this tools for me. >>>>>> [ 0.280801] Freeing unused kernel memory: 388k freed >>>>>> [ 0.283323] Write protecting the kernel text: 3816k >>>>>> [ 0.284369] Write protecting the kernel read-only data: 1768k >>>>>> >>>>> >>>>> I wonder why it doesn't mount/switch the root here.. >>>>> >>>> I to ;). >>>> >>> >>> I hope the output isn't redirected to the netconsole.. >>> that would explain the lack of needed console output. >>> >> The DomU has no CPU-Usage in xentop. >> > > Hmm.. does the domU crash? Or it just stays in "xm list" or "xm top" forever? > Does "xm log" have something related? > I'll test it for some time. "xentop": xentop - 10:56:33 Xen 4.0.0-rc1 2 domains: 1 running, 1 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown Mem: 1009044k total, 1001440k used, 7604k free CPUs: 2 @ 1596MHz NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR VBD_RSECT VBD_WSECT SSID Domain-0 -----r 52 1.0 755712 74.9 no limit n/a 2 0 0 0 0 0 0 0 0 0 0 Test-Eis2 --b--- 3 0.0 255488 25.3 262144 26.0 1 1 4 0 2 0 54 0 2096 0 0 "xm list": maxdata # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 738 2 r----- 53.3 Test-Eis2 2 256 1 -b---- 3.9 maxdata # "xm log": [2010-01-29 10:46:57 3657] DEBUG (XendDomainInfo:101) XendDomainInfo.create([\047vm\047, [\047name\047, \047Test-Eis2\047], [\047memory\047, 256], [\047on_xend_start\047, \047ignore\047], [\047on_xend_stop\047, \047ignore\047], [\047vcpus\047, 1], [\047oos\047, 1], [\047image\047, [\047linux\047, [\047kernel\047, \047/boot/vmlinuz-xen\047], [\047ramdisk\047, \047/boot/initrd-xen.gz\047], [\047root\047, \047/dev/sda1\047], [\047videoram\047, 4], [\047args\047, \047console=hvc0 earlyprintk=xen\047], [\047tsc_mode\047, 0], [\047nomigrate\047, 0]]], [\047s3_integrity\047, 1], [\047device\047, [\047vbd\047, [\047uname\047, \047phy:/dev/vg/Test-Eis2\047], [\047dev\047, \047sda1\047], [\047mode\047, \047w\047]]], [\047device\047, [\047vbd\047, [\047uname\047, \047phy:/dev/vg/Test-Eis2-swap\047], [\047dev\047, \047sda2\047], [\047mode\047, \047w\047]]], [\047device\047, [\047vif\047, [\047bridge\047, \047xenbr0\047], [\047mac\047, \04700:16:3e:ad:e0:a8\047]]]]) [2010-01-29 10:46:57 3657] DEBUG (XendDomainInfo:2486) XendDomainInfo.constructDomain [2010-01-29 10:46:57 3657] DEBUG (balloon:220) Balloon: 263092 KiB free; need 4096; done. [2010-01-29 10:46:57 3657] DEBUG (XendDomain:464) Adding Domain: 2 [2010-01-29 10:46:57 3657] DEBUG (XendDomainInfo:2795) XendDomainInfo.initDomain: 2 256 [2010-01-29 10:46:57 3657] DEBUG (XendDomainInfo:2822) _initDomain:shadow_memory=0x0, memory_static_max=0x10000000, memory_static_min=0x0. [2010-01-29 10:46:57 3657] INFO (image:182) buildDomain os=linux dom=2 vcpus=1 [2010-01-29 10:46:57 3657] DEBUG (image:723) domid = 2 [2010-01-29 10:46:57 3657] DEBUG (image:724) memsize = 256 [2010-01-29 10:46:57 3657] DEBUG (image:725) image = /boot/vmlinuz-xen [2010-01-29 10:46:57 3657] DEBUG (image:726) store_evtchn = 1 [2010-01-29 10:46:57 3657] DEBUG (image:727) console_evtchn = 2 [2010-01-29 10:46:57 3657] DEBUG (image:728) cmdline = root=/dev/sda1 console=hvc0 earlyprintk=xen [2010-01-29 10:46:57 3657] DEBUG (image:729) ramdisk = /boot/initrd-xen.gz [2010-01-29 10:46:57 3657] DEBUG (image:730) vcpus = 1 [2010-01-29 10:46:57 3657] DEBUG (image:731) features = [2010-01-29 10:46:57 3657] DEBUG (image:732) flags = 0 [2010-01-29 10:46:57 3657] DEBUG (image:733) superpages = 0 [2010-01-29 10:46:58 3657] INFO (XendDomainInfo:2345) createDevice: vbd : {\047uuid\047: \047c1c488e7-c727-32a4-eed5-531a4414f5c7\047, \047bootable\047: 1, \047driver\047: \047paravirtualised\047, \047dev\047: \047sda1\047, \047uname\047: \047phy:/dev/vg/Test-Eis2\047, \047mode\047: \047w\047} [2010-01-29 10:46:58 3657] DEBUG (DevController:95) DevController: writing {\047virtual-device\047: \0472049\047, \047device-type\047: \047disk\047, \047protocol\047: \047x86_32-abi\047, \047backend-id\047: \0470\047, \047state\047: \0471\047, \047backend\047: \047/local/domain/0/backend/vbd/2/2049\047} to /local/domain/2/device/vbd/2049. [2010-01-29 10:46:58 3657] DEBUG (DevController:97) DevController: writing {\047domain\047: \047Test-Eis2\047, \047frontend\047: \047/local/domain/2/device/vbd/2049\047, \047uuid\047: \047c1c488e7-c727-32a4-eed5-531a4414f5c7\047, \047bootable\047: \0471\047, \047dev\047: \047sda1\047, \047state\047: \0471\047, \047params\047: \047/dev/vg/Test-Eis2\047, \047mode\047: \047w\047, \047online\047: \0471\047, \047frontend-id\047: \0472\047, \047type\047: \047phy\047} to /local/domain/0/backend/vbd/2/2049. [2010-01-29 10:46:58 3657] INFO (XendDomainInfo:2345) createDevice: vbd : {\047uuid\047: \047351ea88d-1ccd-0729-87a5-2c4f12023435\047, \047bootable\047: 0, \047driver\047: \047paravirtualised\047, \047dev\047: \047sda2\047, \047uname\047: \047phy:/dev/vg/Test-Eis2-swap\047, \047mode\047: \047w\047} [2010-01-29 10:46:58 3657] DEBUG (DevController:95) DevController: writing {\047virtual-device\047: \0472050\047, \047device-type\047: \047disk\047, \047protocol\047: \047x86_32-abi\047, \047backend-id\047: \0470\047, \047state\047: \0471\047, \047backend\047: \047/local/domain/0/backend/vbd/2/2050\047} to /local/domain/2/device/vbd/2050. [2010-01-29 10:46:58 3657] DEBUG (DevController:97) DevController: writing {\047domain\047: \047Test-Eis2\047, \047frontend\047: \047/local/domain/2/device/vbd/2050\047, \047uuid\047: \047351ea88d-1ccd-0729-87a5-2c4f12023435\047, \047bootable\047: \0470\047, \047dev\047: \047sda2\047, \047state\047: \0471\047, \047params\047: \047/dev/vg/Test-Eis2-swap\047, \047mode\047: \047w\047, \047online\047: \0471\047, \047frontend-id\047: \0472\047, \047type\047: \047phy\047} to /local/domain/0/backend/vbd/2/2050. [2010-01-29 10:46:58 3657] INFO (XendDomainInfo:2345) createDevice: vif : {\047bridge\047: \047xenbr0\047, \047mac\047: \04700:16:3e:ad:e0:a8\047, \047uuid\047: \047269634b0-6c35-6961-0ab7-26d07c742ea3\047} [2010-01-29 10:46:58 3657] DEBUG (DevController:95) DevController: writing {\047mac\047: \04700:16:3e:ad:e0:a8\047, \047handle\047: \0470\047, \047protocol\047: \047x86_32-abi\047, \047backend-id\047: \0470\047, \047state\047: \0471\047, \047backend\047: \047/local/domain/0/backend/vif/2/0\047} to /local/domain/2/device/vif/0. [2010-01-29 10:46:58 3657] DEBUG (DevController:97) DevController: writing {\047bridge\047: \047xenbr0\047, \047domain\047: \047Test-Eis2\047, \047handle\047: \0470\047, \047uuid\047: \047269634b0-6c35-6961-0ab7-26d07c742ea3\047, \047script\047: \047/etc/xen/scripts/vif-bridge\047, \047mac\047: \04700:16:3e:ad:e0:a8\047, \047frontend-id\047: \0472\047, \047state\047: \0471\047, \047online\047: \0471\047, \047frontend\047: \047/local/domain/2/device/vif/0\047} to /local/domain/0/backend/vif/2/0. [2010-01-29 10:46:58 3657] DEBUG (XendDomainInfo:3377) Storing VM details: {\047on_xend_stop\047: \047ignore\047, \047shadow_memory\047: \0470\047, \047uuid\047: \0478a1ebefc-7f47-78a0-5a38-67aa45298616\047, \047on_reboot\047: \047restart\047, \047start_time\047: \0471264758418.11\047, \047on_poweroff\047: \047destroy\047, \047bootloader_args\047: \047\047, \047on_xend_start\047: \047ignore\047, \047on_crash\047: \047restart\047, \047xend/restart_count\047: \0470\047, \047vcpus\047: \0471\047, \047vcpu_avail\047: \0471\047, \047bootloader\047: \047\047, \047image\047: "(linux (kernel /boot/vmlinuz-xen) (ramdisk /boot/initrd-xen.gz) (args \047root=/dev/sda1 console=hvc0 earlyprintk=xen\047) (superpages 0) (tsc_mode 0) (videoram 4) (pci ()) (nomigrate 0) (notes (HV_START_LOW 4118806528) (FEATURES \047!writable_page_tables|pae_pgdir_above_4gb\047) (VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS linux) (HYPERCALL_PAGE 3238010880) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 3243991040) (XEN_VERSION xen-3.0)))", \047name\047: \047Test-Eis2\047} [2010-01-29 10:46:58 3657] DEBUG (XendDomainInfo:1782) Storing domain details: {\047console/ring-ref\047: \047176526\047, \047image/entry\047: \0473243991040\047, \047console/port\047: \0472\047, \047store/ring-ref\047: \047176527\047, \047image/loader\047: \047generic\047, \047vm\047: \047/vm/8a1ebefc-7f47-78a0-5a38-67aa45298616\047, \047control/platform-feature-multiprocessor-suspend\047: \0471\047, \047image/hv-start-low\047: \0474118806528\047, \047image/guest-os\047: \047linux\047, \047image/virt-base\047: \0473221225472\047, \047memory/target\047: \047262144\047, \047image/guest-version\047: \0472.6\047, \047image/pae-mode\047: \047yes\047, \047description\047: \047\047, \047console/limit\047: \0471048576\047, \047image/paddr-offset\047: \0470\047, \047image/hypercall-page\047: \0473238010880\047, \047image/suspend-cancel\047: \0471\047, \047cpu/0/availability\047: \047online\047, \047image/features/pae-pgdir-above-4gb\047: \0471\047, \047image/features/writable-page-tables\047: \0470\047, \047console/type\047: \047xenconsoled\047, \047name\047: \047Test-Eis2\047, \047domid\047: \0472\047, \047image/xen-version\047: \047xen-3.0\047, \047store/port\047: \0471\047} [2010-01-29 10:46:58 3657] DEBUG (DevController:95) DevController: writing {\047protocol\047: \047x86_32-abi\047, \047state\047: \0471\047, \047backend-id\047: \0470\047, \047backend\047: \047/local/domain/0/backend/console/2/0\047} to /local/domain/2/device/console/0. [2010-01-29 10:46:58 3657] DEBUG (DevController:97) DevController: writing {\047domain\047: \047Test-Eis2\047, \047frontend\047: \047/local/domain/2/device/console/0\047, \047uuid\047: \04701744267-8d5b-bd05-5f0e-e0263e5c1bec\047, \047frontend-id\047: \0472\047, \047state\047: \0471\047, \047location\047: \0472\047, \047online\047: \0471\047, \047protocol\047: \047vt100\047} to /local/domain/0/backend/console/2/0. [2010-01-29 10:46:58 3657] DEBUG (XendDomainInfo:1869) XendDomainInfo.handleShutdownWatch [2010-01-29 10:46:58 3657] DEBUG (DevController:139) Waiting for devices vif2. [2010-01-29 10:46:58 3657] DEBUG (DevController:139) Waiting for devices vif. [2010-01-29 10:46:58 3657] DEBUG (DevController:144) Waiting for 0. [2010-01-29 10:46:58 3657] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status. [2010-01-29 10:46:58 3657] DEBUG (DevController:642) hotplugStatusCallback 1. [2010-01-29 10:46:58 3657] DEBUG (DevController:139) Waiting for devices vscsi. [2010-01-29 10:46:58 3657] DEBUG (DevController:139) Waiting for devices vbd. [2010-01-29 10:46:58 3657] DEBUG (DevController:144) Waiting for 2049. [2010-01-29 10:46:58 3657] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/2/2049/hotplug-status. [2010-01-29 10:46:58 3657] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/2/2049/hotplug-status. [2010-01-29 10:46:58 3657] DEBUG (DevController:642) hotplugStatusCallback 1. [2010-01-29 10:46:58 3657] DEBUG (DevController:144) Waiting for 2050. [2010-01-29 10:46:58 3657] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/2/2050/hotplug-status. [2010-01-29 10:47:00 3657] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/2/2050/hotplug-status. [2010-01-29 10:47:00 3657] DEBUG (DevController:642) hotplugStatusCallback 1. [2010-01-29 10:47:00 3657] DEBUG (DevController:139) Waiting for devices ioports. [2010-01-29 10:47:00 3657] DEBUG (DevController:139) Waiting for devices irq. [2010-01-29 10:47:00 3657] DEBUG (DevController:139) Waiting for devices vkbd. [2010-01-29 10:47:00 3657] DEBUG (DevController:139) Waiting for devices vfb. [2010-01-29 10:47:00 3657] DEBUG (DevController:139) Waiting for devices console. [2010-01-29 10:47:00 3657] DEBUG (DevController:144) Waiting for 0. [2010-01-29 10:47:00 3657] DEBUG (DevController:139) Waiting for devices pci. [2010-01-29 10:47:00 3657] DEBUG (DevController:139) Waiting for devices tap2. [2010-01-29 10:47:00 3657] DEBUG (DevController:139) Waiting for devices tap. [2010-01-29 10:47:00 3657] DEBUG (DevController:139) Waiting for devices vusb. [2010-01-29 10:47:00 3657] DEBUG (DevController:139) Waiting for devices vtpm. [2010-01-29 10:47:00 3657] INFO (XendDomain:1206) Domain Test-Eis2 (2) unpaused. maxdata # >>>>> Do you have xenconsoled running in dom0? Do consoles of other guests work >>>>> OK? >>>>> >>>> 1st: I think so. >>>> 2nd: I've only this domU for testing. >>>> With an older 2.6.24-24-xen (Ubuntu) starts this DomU. >>>> >>> >>> It definitely sounds like an initrd problem to me. >>> Try with a new initrd. >>> >> If had to update the initrd base for this Kernel. >> >> For what does i need an initrd on DomU? >> > > most (all?) distros nowadays build modular kernels, so the kernel > has only the minimum required drivers built-in to the kernel, > and the rest is built as kernel modules. > > initrd image is a small filesystem that has a bunch of kernel modules, > and a script to load them + set up the root filesystem. > I'know what an initrd is for. I ask for what tools / modules DomU needs. As i told, i build Kernel and initrd my self. Regards, Stefan Kuhne Attachment:
signature.asc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |