Roberto Scudeller
2010-Dec-08 13:00 UTC
[Xen-users] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
Hi all, I get new kernel 2.6.36-rc6-pvhvm and I receive a new error (In boot): udevd[67]: worker [81] unexpectedly returned with status 0x0100 udevd[67]: worker [81] falied while handling ''/devices/pci0000:00/0000:00:01.2/usb1'' udevd[67]: worker [72] unexpectedly returned with status 0x0100 udevd[67]: worker [72] falied while handling ''/devices/vbd-768/block/xvda/xvda1'' udevd[67]: worker [80] unexpectedly returned with status 0x0100 udevd[67]: worker [80] falied while handling ''/devices/LNXSYSTM:00/LNXSYSBUS:00/PNP0A03:00/device:01/PNP0700:00'' This VM freeze. Dont finish the boot. Cheers, Roberto Scudeller -- Roberto Scudeller Especialista Linux/Unix _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
topperxin
2010-Dec-09 04:50 UTC
Re:[Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
I also concern the pv on hvm, in past, I compiled the pv driver from the 2.6.18 transplant to 2.6.24 or 2.6.32, the work is very tired, well , what make me surprise is where can you get the 2.6.36-rc6-pvhvm? can you tell me ? thanks. At 2010-12-08 21:00:16,"Roberto Scudeller" <beto.rvs@gmail.com> wrote: Hi all, I get new kernel 2.6.36-rc6-pvhvm and I receive a new error (In boot): udevd[67]: worker [81] unexpectedly returned with status 0x0100 udevd[67]: worker [81] falied while handling '/devices/pci0000:00/0000:00:01.2/usb1' udevd[67]: worker [72] unexpectedly returned with status 0x0100 udevd[67]: worker [72] falied while handling '/devices/vbd-768/block/xvda/xvda1' udevd[67]: worker [80] unexpectedly returned with status 0x0100 udevd[67]: worker [80] falied while handling '/devices/LNXSYSTM:00/LNXSYSBUS:00/PNP0A03:00/device:01/PNP0700:00' This VM freeze. Dont finish the boot. Cheers, Roberto Scudeller -- Roberto Scudeller Especialista Linux/Unix _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Roberto Scudeller
2010-Dec-09 17:03 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
I get via git command: git clone git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git cd linux-pvhvm git checkout -b 2.6.36-rc6-pvhvm origin/2.6.36-rc6-pvhvm I build this kernel, but the VM dont boot. I my DomU.cfg: disk=[ ''tap2:tapdisk:vhd:/PATH/hda.vhd,hda,w'', ''tap2:tapdisk:vhd:/PATH/hdb.vhd,hdb,w'', ] I try: disk=[ ''tap2:tapdisk:vhd:/PATH/hda.vhd,xvda,w'', ''tap2:tapdisk:vhd:/PATH/hdb.vhd,xvdb,w'', ] But, in both, dont work again. Cheers, Roberto Scudeller 2010/12/9 topperxin <topperxin@126.com>> I also concern the pv on hvm, in past, I compiled the pv driver from the > 2.6.18 transplant to 2.6.24 or 2.6.32, the work is very tired, well , what > make me surprise is where can you get the 2.6.36-rc6-pvhvm? can you tell me > ? thanks. > > > At 2010-12-08 21:00:16,"Roberto Scudeller" <beto.rvs@gmail.com> wrote: > > Hi all, > > I get new kernel 2.6.36-rc6-pvhvm and I receive a new error (In boot): > > udevd[67]: worker [81] unexpectedly returned with status 0x0100 > udevd[67]: worker [81] falied while handling > ''/devices/pci0000:00/0000:00:01.2/usb1'' > udevd[67]: worker [72] unexpectedly returned with status 0x0100 > udevd[67]: worker [72] falied while handling > ''/devices/vbd-768/block/xvda/xvda1'' > udevd[67]: worker [80] unexpectedly returned with status 0x0100 > udevd[67]: worker [80] falied while handling > ''/devices/LNXSYSTM:00/LNXSYSBUS:00/PNP0A03:00/device:01/PNP0700:00'' > > This VM freeze. Dont finish the boot. > > > > Cheers, > Roberto Scudeller > > > > > > ------------------------------ > 网易163/126邮箱百分百兼容iphone ipad邮件收发<http://help.163.com/special/00753VB9/126mail_adv_guide.html?id=2840>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Dec-10 16:56 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
On Thu, 9 Dec 2010, Roberto Scudeller wrote:> I get via git command: > git clone git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git > cd linux-pvhvm > git checkout -b 2.6.36-rc6-pvhvm origin/2.6.36-rc6-pvhvm >That is an old branch that I don''t even have on my tree anymore. Could you please try this branch instead: 2.6.37-rc4-pvhvm-fixes _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Roberto Scudeller
2010-Dec-10 17:37 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
Thanks Stefano. I try this new branch. Could you answer me how would the domU.cfg file? The disks like this: disks = [ ''tap2:aio:/PATH/xvda.img,xvda,w'' ] or disks = [ ''tap2:aio:/PATH/xvda.img,hda,w'' ] This is my great doubt?? Cheers, Roberto Scudeller 2010/12/10 Stefano Stabellini <stefano.stabellini@eu.citrix.com>> On Thu, 9 Dec 2010, Roberto Scudeller wrote: > > I get via git command: > > git clone git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git > > cd linux-pvhvm > > git checkout -b 2.6.36-rc6-pvhvm origin/2.6.36-rc6-pvhvm > > > > That is an old branch that I don''t even have on my tree anymore. > Could you please try this branch instead: > > 2.6.37-rc4-pvhvm-fixes > >-- Roberto Scudeller Especialista Linux/Unix _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Dec-10 17:39 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
On Fri, 10 Dec 2010, Roberto Scudeller wrote:> Thanks Stefano. > > I try this new branch. > > Could you answer me how would the domU.cfg file? > > The disks like this: > disks = [ ''tap2:aio:/PATH/xvda.img,xvda,w'' ] > or > disks = [ ''tap2:aio:/PATH/xvda.img,hda,w'' ] > > This is my great doubt?? >it should be "hda" _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Roberto Scudeller
2010-Dec-13 14:01 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
I try this new branch (2.6.37-rc4-pvhvm-fixes), but the VM stop boot in fsck in / (root partition). I mount / with UUID. This device found with xvde1 (in kernel HVM is hdb1). I send "Crtl+Alt+Del" via VNC client and the VM reboot normally, but the console not appear login prompt (screen) and ssh doesn''t available. Any ideas? Cheers, Roberto Scudeller 2010/12/10 Stefano Stabellini <stefano.stabellini@eu.citrix.com>> On Fri, 10 Dec 2010, Roberto Scudeller wrote: > > Thanks Stefano. > > > > I try this new branch. > > > > Could you answer me how would the domU.cfg file? > > > > The disks like this: > > disks = [ ''tap2:aio:/PATH/xvda.img,xvda,w'' ] > > or > > disks = [ ''tap2:aio:/PATH/xvda.img,hda,w'' ] > > > > This is my great doubt?? > > > > it should be "hda" >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Dec-13 14:21 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
On Mon, 13 Dec 2010, Roberto Scudeller wrote:> I try this new branch (2.6.37-rc4-pvhvm-fixes), but the VM stop boot in fsck in / (root partition). > > I mount / with UUID. This device found with xvde1 (in kernel HVM is hdb1). > > I send "Crtl+Alt+Del" via VNC client and the VM reboot normally, but the console not appear login prompt (screen) and ssh > doesn''t available. > > Any ideas?can you try using root=/dev/xvde1 on your kernel command line instead of the UUID? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Roberto Scudeller
2010-Dec-13 14:41 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
I try mount root=/dev/xvde2, but this VM stop a boot in fsck. Is there any limitation for the root partition location? This VM running, but the console not show prompt, and ssh doesn''t available. Here freeze in "fsck from util-linux-ng 2.17.2 /dev/xvde2: clean, 48486/613200 files, 272587/2450176 blocks" message. When a send "Crtl+Alt+Del" the VM halted normally (turnoff the applications/services one by one). Any ideas? Cheers, Roberto Scudeller 2010/12/13 Stefano Stabellini <stefano.stabellini@eu.citrix.com>> On Mon, 13 Dec 2010, Roberto Scudeller wrote: > > I try this new branch (2.6.37-rc4-pvhvm-fixes), but the VM stop boot in > fsck in / (root partition). > > > > I mount / with UUID. This device found with xvde1 (in kernel HVM is > hdb1). > > > > I send "Crtl+Alt+Del" via VNC client and the VM reboot normally, but the > console not appear login prompt (screen) and ssh > > doesn''t available. > > > > Any ideas? > > can you try using root=/dev/xvde1 on your kernel command line instead of > the UUID? >-- Roberto Scudeller Especialista Linux/Unix _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Dec-13 15:02 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
On Mon, 13 Dec 2010, Roberto Scudeller wrote:> I try mount root=/dev/xvde2, but this VM stop a boot in fsck. > > Is there any limitation for the root partition location? > > This VM running, but the console not show prompt, and ssh doesn''t available. > Here freeze in "fsck from util-linux-ng 2.17.2 /dev/xvde2: clean, 48486/613200 files, 272587/2450176 blocks" message. When > a send "Crtl+Alt+Del" the VM halted normally (turnoff the applications/services one by one). > > Any ideas? >It looks like the VM is booted correctly but the console output is not shown or is shown on the wrong device. What is your kernel command line? Are you trying to start X11 in the guest? Disable X11 and make sure you have console=tty0 on the kernel command line. It would be even better to setup a console on the serial card and use that instead. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Roberto Scudeller
2010-Dec-13 16:33 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
The root command line: linux /vmlinuz-2.6.37-rc4 root=/dev/xvde2 console=tty0 And I try without console=tty0. I tested console=tty1 too. I not starting X11. Appear this message before: piix4_smbus 0000:00:01.3 SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr My DomU.cfg: kernel=''/usr/lib/xen/boot/hvmloader'' builder=''hvm'' memory=512 vcpus=2 pae=1 acpi=1 apic=1 vif=[''bridge=virtbr''] disk=[ ''tap2:tapdisk:vhd:/PATH/ubuntu/hda.vhd,hda,w'', ''tap2:tapdisk:vhd:/PATH/ubuntu/hdb.vhd,hdb,w'', ] device_model=''/usr/lib/xen/bin/qemu-dm'' boot=''c'' sdl=0 vnc=1 vncunused=1 stdvga=0 on_reboot=''restart'' on_shutdown=''destroy'' image_name=''ubuntu'' on_crash=''destroy'' platform=''xen'' network_mode=''tap'' usb = 1 usbdevice = ''tablet'' Xen is 4.0.2-rc1-pre2. Thanks for your help. Any ideas? Cheers, Roberto Scudeller 2010/12/13 Stefano Stabellini <stefano.stabellini@eu.citrix.com>> On Mon, 13 Dec 2010, Roberto Scudeller wrote: > > I try mount root=/dev/xvde2, but this VM stop a boot in fsck. > > > > Is there any limitation for the root partition location? > > > > This VM running, but the console not show prompt, and ssh doesn''t > available. > > Here freeze in "fsck from util-linux-ng 2.17.2 /dev/xvde2: clean, > 48486/613200 files, 272587/2450176 blocks" message. When > > a send "Crtl+Alt+Del" the VM halted normally (turnoff the > applications/services one by one). > > > > Any ideas? > > > > It looks like the VM is booted correctly but the console output is not > shown or is shown on the wrong device. > What is your kernel command line? Are you trying to start X11 in the > guest? > Disable X11 and make sure you have console=tty0 on the kernel command > line. > It would be even better to setup a console on the serial card and use > that instead. >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Dec-13 16:47 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
On Mon, Dec 13, 2010 at 02:33:08PM -0200, Roberto Scudeller wrote:> The root command line: > linux /vmlinuz-2.6.37-rc4 root=/dev/xvde2 console=tty0Weird that it would be xvde, not say xvda. you wouldn''t be hitting this bug: http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1696 ? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Roberto Scudeller
2010-Dec-13 17:02 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
When I alter DomU.cfg for ( disk=[ ''tap2:tapdisk:vhd:/PATH/ubuntu/hda.vhd,hda,w'', ''tap2:tapdisk:vhd:/PATH/ubuntu/hdb.vhd,xvda,w'', ] ) instead hdb I receive a boot error (Cannot find a root partition). In boot, I look xvde, because this, I use root=/dev/xvde2. I try alter DomU.cfg and appear this line in boot (XENBUS: Device with no driver: device/vkbd/0) after delete vnc lines (vnc=1 and vncunused=1) and include vfb= [ ''type=vnc, vncunused=1 '' ] instead. Like this: XENBUS: Device with no driver: device/vkbd/0 XENBUS: Device with no driver: device/vfb/0 XENBUS: Device with no driver: device/console/0 What are these "XENBUS devices " ? Thanks for help, Cheers, Roberto Scudeller 2010/12/13 Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>> On Mon, Dec 13, 2010 at 02:33:08PM -0200, Roberto Scudeller wrote: > > The root command line: > > linux /vmlinuz-2.6.37-rc4 root=/dev/xvde2 console=tty0 > > Weird that it would be xvde, not say xvda. > > you wouldn''t be hitting this bug: > > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1696 > > ? >-- Roberto Scudeller Especialista Linux/Unix _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Dec-14 14:43 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
On Mon, 13 Dec 2010, Roberto Scudeller wrote:> When I alter DomU.cfg for ( disk=[ ''tap2:tapdisk:vhd:/PATH/ubuntu/hda.vhd,hda,w'', > ''tap2:tapdisk:vhd:/PATH/ubuntu/hdb.vhd,xvda,w'', ] ) instead hdb I receive a boot error (Cannot find a root partition). > > In boot, I look xvde, because this, I use root=/dev/xvde2. > > I try alter DomU.cfg and appear this line in boot (XENBUS: Device with no driver: device/vkbd/0) after delete vnc lines > (vnc=1 and vncunused=1) and include vfb= [ ''type=vnc, vncunused=1 '' ] instead. > > Like this: > XENBUS: Device with no driver: device/vkbd/0 > XENBUS: Device with no driver: device/vfb/0 > XENBUS: Device with no driver: device/console/0 > > What are these "XENBUS devices " ? >these are ment for pure PV guests and shouldn''t be used with an HVM guest. Can you please post your entire DomU.cfg? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Roberto Scudeller
2010-Dec-14 14:47 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
Hi Stefano, This is my DomU.cfg: kernel=''/usr/lib/xen/boot/hvmloader'' builder=''hvm'' memory=512 vcpus=2 pae=1 acpi=1 apic=1 vif=[''bridge=virtbr''] disk=[ ''tap2:tapdisk:vhd:/PATH/ubuntufv/hda.vhd,hda,w'', ''tap2:tapdisk:vhd:/PATH/ubuntufv/hdb.vhd,hdb,w'', ] device_model=''/usr/lib/xen/bin/qemu-dm'' boot=''c'' sdl=0 vnc=1 vncunused=1 stdvga=0 extra='''' on_reboot=''restart'' on_shutdown=''destroy'' ramdisk='''' image_name=''ubuntufv'' on_crash=''destroy'' bootloader='''' root='''' platform=''xen'' network_mode=''tap'' usb = 1 usbdevice = ''tablet'' Any ideas?? Thanks for your help. Cheers, Roberto Scudeller 2010/12/14 Stefano Stabellini <stefano.stabellini@eu.citrix.com>> On Mon, 13 Dec 2010, Roberto Scudeller wrote: > > When I alter DomU.cfg for ( disk=[ > ''tap2:tapdisk:vhd:/PATH/ubuntu/hda.vhd,hda,w'', > > ''tap2:tapdisk:vhd:/PATH/ubuntu/hdb.vhd,xvda,w'', ] ) instead hdb I receive > a boot error (Cannot find a root partition). > > > > In boot, I look xvde, because this, I use root=/dev/xvde2. > > > > I try alter DomU.cfg and appear this line in boot (XENBUS: Device with no > driver: device/vkbd/0) after delete vnc lines > > (vnc=1 and vncunused=1) and include vfb= [ ''type=vnc, vncunused=1 '' ] > instead. > > > > Like this: > > XENBUS: Device with no driver: device/vkbd/0 > > XENBUS: Device with no driver: device/vfb/0 > > XENBUS: Device with no driver: device/console/0 > > > > What are these "XENBUS devices " ? > > > > these are ment for pure PV guests and shouldn''t be used with an HVM > guest. > Can you please post your entire DomU.cfg? >-- Roberto Scudeller Especialista Linux/Unix _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Dec-14 16:49 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
On Tue, 14 Dec 2010, Roberto Scudeller wrote:> Hi Stefano, > > This is my DomU.cfg: > kernel=''/usr/lib/xen/boot/hvmloader'' > builder=''hvm'' > memory=512 > vcpus=2 > pae=1 > acpi=1 > apic=1 > vif=[''bridge=virtbr''] > disk=[ > ''tap2:tapdisk:vhd:/PATH/ubuntufv/hda.vhd,hda,w'', > ''tap2:tapdisk:vhd:/PATH/ubuntufv/hdb.vhd,hdb,w'', > ] > device_model=''/usr/lib/xen/bin/qemu-dm'' > boot=''c'' > sdl=0 > vnc=1 > vncunused=1 > stdvga=0 > extra='''' > on_reboot=''restart'' > on_shutdown=''destroy'' > ramdisk='''' > image_name=''ubuntufv'' > on_crash=''destroy'' > bootloader='''' > root='''' > platform=''xen'' > network_mode=''tap'' > usb = 1 > usbdevice = ''tablet'' > > > Any ideas??try adding viridian=0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Roberto Scudeller
2010-Dec-14 19:10 UTC
Re: [Xen-devel] Kernel DomU 2.6.36-rc6-pvhvm dont boot PVonHVM
I try with viridian=0 but dont work (stop in fsck). I try disable usb=0 but dont work too. This is xm list --long: (domain (domid 561) (cpu_weight 256) (cpu_cap 0) (on_crash destroy) (uuid 43862181-ca92-79c3-ed7a-1c72b29dd632) (bootloader_args ) (vcpus 2) (name ubuntufv) (on_poweroff destroy) (on_reboot restart) (cpus (() ())) (description ) (bootloader ) (maxmem 512) (memory 512) (shadow_memory 6) (features ) (on_xend_start ignore) (on_xend_stop ignore) (start_time 1292353538.8) (cpu_time 16.096415687) (online_vcpus 1) (image (hvm (kernel ) (superpages 0) (tsc_mode 0) (videoram 4) (hpet 0) (loader /usr/lib/xen/boot/hvmloader) (vpt_align 1) (xen_platform_pci 1) (vncunused 1) (rtc_timeoffset 0) (pci ()) (pae 1) (stdvga 0) (hap 1) (viridian 0) (acpi 1) (localtime 0) (timer_mode 1) (nographic 0) (guest_os_type default) (pci_msitranslate 1) (oos 1) (apic 1) (sdl 0) (nomigrate 0) (usbdevice tablet) (device_model /usr/lib/xen/bin/qemu-dm) (pci_power_mgmt 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)) ) ) (status 2) (state ------) (store_mfn 1044476) (device (vif (bridge virtbr3000) (mac 00:16:3e:6b:4f:df) (script /etc/xen/scripts/vif-expert) (uuid 35f3af8a-cf19-0a6c-efb8-44fa1ebe5a9a) (backend 0) ) ) (device (vkbd (backend 0))) (device (vfb (vncunused 1) (location 0.0.0.0:5907) (vnc 1) (xauthority /root/.Xauthority) (uuid 2e49e6fe-161a-b5d8-2cd4-27cb416450bf) ) ) (device (console (protocol vt100) (location 4) (uuid 4789e8c9-0622-6f2c-8517-12c25b8ea2c2) ) ) (device (tap2 (uuid 7886d2ae-c755-632d-e677-8155f20df169) (bootable 1) (dev hda:disk) (uname tap:tapdisk:vhd:/PATH/ubuntufv/hda.vhd ) (mode w) (backend 0) (VDI ) ) ) (device (tap2 (uuid c8242912-7f79-1897-f8ca-1c959d496b6e) (bootable 0) (dev hdb:disk) (uname tap:tapdisk:vhd:/PATH/ubuntufv/hdb.vhd ) (mode w) (backend 0) (VDI ) ) ) ) Any help?? Thanks for your help. Cheers, Roberto Scudeller _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel