System config:- bash-3.2# ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 rge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 index 2 inet 192.168.1.53 netmask ffffff00 broadcast 192.168.1.255 ether 0:1e:8c:25:cc:a5 lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 bash-3.2# dladm show-link LINK CLASS MTU STATE OVER rge0 phys 1500 up -- vnic18 vnic 1500 unknown rge0 Setting properties for xend:- # svccfg -s xvm/xend setprop config/vncpasswd = astring: \"secret\" # svccfg -s xvm/xend setprop config/vnc-listen = astring: \"0.0.0.0\" # svccfg -s xvm/xend setprop config/default-nic="rge0" # svcadm refresh xvm/xend # svcadm restart xvm/xend Virt-install passes package deployment phase OK After HVM guest reboot immediately after vnc password request vncviewer gets disconnected from HVM. HVM keeps staying in running phase:- bash-3.2# xm list -l Solaris10 (domain (domid 37) (on_crash restart) (uuid d7453a3e-c917-f08d-e6a6-8821b843f7d7) (bootloader_args ) (vcpus 1) (name Solaris10) (on_poweroff destroy) (on_reboot restart) (bootloader ) (maxmem 1000) (memory 1000) (shadow_memory 9) (cpu_weight 256) (cpu_cap 0) (features ) (on_xend_start ignore) (on_xend_stop shutdown) (start_time 1206443868.4) (cpu_time 13.191853939) (online_vcpus 1) (image (hvm (kernel /usr/lib/xen/boot/hvmloader) (boot c) (device_model /usr/lib/xen/bin/qemu-dm) (keymap en-us) (pae 1) (usb 1) (notes (SUSPEND_CANCEL 1)) ) ) (status 2) (state r-----) (store_mfn 255998) (device (vif (mac 00:16:3e:57:18:08) (script vif-vnic) (uuid a1a00a71-a537-1a62-5fc6-585839f3e6d6) (backend 0) ) ) (device (vbd (uname file:/export/home/images/solaris.img) (uuid e1675b51-aa33-cf81-d4e7-76d7407574db) (mode w) (dev hda:disk) (backend 0) (bootable 1) ) ) (device (vkbd (backend 0))) (device (vfb (vncunused 1) (type vnc) (uuid deab2073-2f11-2643-bce5-90451b4be650) (location localhost:5900) ) ) (device (console (protocol vt100) (location 3) (uuid df16ee0b-a5e5-bc65-c358-6e26d59c0991) ) ) ) This message posted from opensolaris.org
When select from Grub Menu :- Solaris failsafe It works as expected ( no disconnection). This message posted from opensolaris.org
Boris, Can you post the relevant qemu-dm log file from /var/log/xen please? Boris Derzhavets wrote:> System config:- > bash-3.2# ifconfig -a > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 > inet 127.0.0.1 netmask ff000000 > rge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 index 2 > inet 192.168.1.53 netmask ffffff00 broadcast 192.168.1.255 > ether 0:1e:8c:25:cc:a5 > lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 > inet6 ::1/128 > bash-3.2# dladm show-link > LINK CLASS MTU STATE OVER > rge0 phys 1500 up -- > vnic18 vnic 1500 unknown rge0 > > Setting properties for xend:- > # svccfg -s xvm/xend setprop config/vncpasswd = astring: \"secret\" > # svccfg -s xvm/xend setprop config/vnc-listen = astring: \"0.0.0.0\" > # svccfg -s xvm/xend setprop config/default-nic="rge0" > # svcadm refresh xvm/xend > # svcadm restart xvm/xend > Virt-install passes package deployment phase OK > After HVM guest reboot immediately after vnc password request > vncviewer gets disconnected from HVM. > HVM keeps staying in running phase:- > > bash-3.2# xm list -l Solaris10 > (domain > (domid 37) > (on_crash restart) > (uuid d7453a3e-c917-f08d-e6a6-8821b843f7d7) > (bootloader_args ) > (vcpus 1) > (name Solaris10) > (on_poweroff destroy) > (on_reboot restart) > (bootloader ) > (maxmem 1000) > (memory 1000) > (shadow_memory 9) > (cpu_weight 256) > (cpu_cap 0) > (features ) > (on_xend_start ignore) > (on_xend_stop shutdown) > (start_time 1206443868.4) > (cpu_time 13.191853939) > (online_vcpus 1) > (image > (hvm > (kernel /usr/lib/xen/boot/hvmloader) > (boot c) > (device_model /usr/lib/xen/bin/qemu-dm) > (keymap en-us) > (pae 1) > (usb 1) > (notes (SUSPEND_CANCEL 1)) > ) > ) > (status 2) > (state r-----) > (store_mfn 255998) > (device > (vif > (mac 00:16:3e:57:18:08) > (script vif-vnic) > (uuid a1a00a71-a537-1a62-5fc6-585839f3e6d6) > (backend 0) > ) > ) > (device > (vbd > (uname file:/export/home/images/solaris.img) > (uuid e1675b51-aa33-cf81-d4e7-76d7407574db) > (mode w) > (dev hda:disk) > (backend 0) > (bootable 1) > ) > ) > (device (vkbd (backend 0))) > (device > (vfb > (vncunused 1) > (type vnc) > (uuid deab2073-2f11-2643-bce5-90451b4be650) > (location localhost:5900) > ) > ) > (device > (console > (protocol vt100) > (location 3) > (uuid df16ee0b-a5e5-bc65-c358-6e26d59c0991) > ) > ) > ) > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org-- ----------------------------------------------------- Russ Blaine | Solaris Kernel | russell.blaine@sun.com
Watching /local/domain/0/device-model/1/logdirty/next-active Watching /local/domain/0/device-model/1/command config qemu network with xen bridge for tap0 eth2 shift keysym 003e keycode 86 shift keysym 00a6 keycode 86 keypad keysym ffae keycode 83 keypad keysym ffac keycode 83 keypad keysym ffb0 keycode 82 keypad keysym ffb1 keycode 79 keypad keysym ffb2 keycode 80 keypad keysym ffb3 keycode 81 keypad keysym ffb4 keycode 75 keypad keysym ffb5 keycode 76 keypad keysym ffb6 keycode 77 keypad keysym ffb7 keycode 71 keypad keysym ffb8 keycode 72 keypad keysym ffb9 keycode 73 shift keysym 0021 keycode 2 shift keysym 0040 keycode 3 shift keysym 0023 keycode 4 shift keysym 0024 keycode 5 shift keysym 0025 keycode 6 shift keysym 005e keycode 7 shift keysym 0026 keycode 8 shift keysym 002a keycode 9 shift keysym 0028 keycode 10 shift keysym 0029 keycode 11 shift keysym 005f keycode 12 shift keysym 002b keycode 13 shift keysym 007b keycode 26 shift keysym 007d keycode 27 shift keysym 003a keycode 39 shift keysym 0022 keycode 40 shift keysym 007e keycode 41 shift keysym 007c keycode 43 shift keysym 003c keycode 51 shift keysym 003e keycode 52 shift keysym 003f keycode 53 xs_read(): vncpasswd get error. /vm/e8a9d511-a915-a098-e1ad-7174571aedb8/vncpasswd. qemu_map_cache_init nr_buckets = 10000 size 3145728 shared page at pfn 3ffff buffered io page at pfn 3fffd Time offset set 0 Register xen platform. Done register platform. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 ********************* Domain restarted ********************* Watching /local/domain/0/device-model/2/logdirty/next-active Watching /local/domain/0/device-model/2/command config qemu network with xen bridge for tap0 eth2 shift keysym 003e keycode 86 shift keysym 00a6 keycode 86 keypad keysym ffae keycode 83 keypad keysym ffac keycode 83 keypad keysym ffb0 keycode 82 keypad keysym ffb1 keycode 79 keypad keysym ffb2 keycode 80 keypad keysym ffb3 keycode 81 keypad keysym ffb4 keycode 75 keypad keysym ffb5 keycode 76 keypad keysym ffb6 keycode 77 keypad keysym ffb7 keycode 71 keypad keysym ffb8 keycode 72 keypad keysym ffb9 keycode 73 shift keysym 0021 keycode 2 shift keysym 0040 keycode 3 shift keysym 0023 keycode 4 shift keysym 0024 keycode 5 shift keysym 0025 keycode 6 shift keysym 005e keycode 7 shift keysym 0026 keycode 8 shift keysym 002a keycode 9 shift keysym 0028 keycode 10 shift keysym 0029 keycode 11 shift keysym 005f keycode 12 shift keysym 002b keycode 13 shift keysym 007b keycode 26 shift keysym 007d keycode 27 shift keysym 003a keycode 39 shift keysym 0022 keycode 40 shift keysym 007e keycode 41 shift keysym 007c keycode 43 shift keysym 003c keycode 51 shift keysym 003e keycode 52 shift keysym 003f keycode 53 xs_read(): vncpasswd get error. /vm/0e13ef42-69dc-9e41-f0c7-29f63a9280f0/vncpasswd. qemu_map_cache_init nr_buckets = 10000 size 3145728 shared page at pfn 3ffff buffered io page at pfn 3fffd Time offset set 0 Register xen platform. Done register platform. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 This message posted from opensolaris.org
Please , disregard my previous log submissions. Logs were taken from another Xen 3.2 Linux Dom0 NOT SNV85. Proper log follow bellow (SNV85 Dom0):- domid: 1 qemu: the number of cpus is 1 Watching /local/domain/1/logdirty/next-active net_tap_init: nic = vnic0, setphysaddr = 0 qemu_map_cache_init nr_buckets = 10000 shared page at pfn 3ffff buffered io page at pfn 3fffd xs_read(/vm/51a2739f-8b1f-9841-7335-228739d71047/rtc/timeoffset): read error keypad keysym ffae keycode 83 keypad keysym ffac keycode 83 keypad keysym ffb0 keycode 82 keypad keysym ffb1 keycode 79 keypad keysym ffb2 keycode 80 keypad keysym ffb3 keycode 81 keypad keysym ffb4 keycode 75 keypad keysym ffb5 keycode 76 keypad keysym ffb6 keycode 77 keypad keysym ffb7 keycode 71 keypad keysym ffb8 keycode 72 keypad keysym ffb9 keycode 73 Register xen platform. Done register platform. Triggered log-dirty buffer switch reset requested in cpu_handle_ioreq. Issued domain 1 reboot This message posted from opensolaris.org
I am a bit confused with CR 6564625 :- *************************************************************** Bug ID 6564625 Synopsis s10u4 HVM hangs in startup_bios_disk() State 10-Fix Delivered (Fix available in build) Category:Subcategory xvm:hvm Keywords xen-upstream | xen3.1 Responsible Engineer Russell Blaine Reported Against Duplicate Of Introduced In solaris_nevada Commit to Fix snv_85 Fixed In snv_85 ************************************************************** S10U4 HVM install successfully pass through package deploying phase at SNV85 Dom0, but crashes after first guest reboot . This message posted from opensolaris.org
Boris Derzhavets wrote:> I am a bit confused with CR 6564625 :- > *************************************************************** > Bug ID 6564625 > Synopsis s10u4 HVM hangs in startup_bios_disk() > State 10-Fix Delivered (Fix available in build) > Category:Subcategory xvm:hvm > Keywords xen-upstream | xen3.1 > Responsible Engineer Russell Blaine > Reported Against > Duplicate Of > Introduced In solaris_nevada > Commit to Fix snv_85 > Fixed In snv_85 > ************************************************************** > > S10U4 HVM install successfully pass through package deploying phase > at SNV85 Dom0, but crashes after first guest reboot .Is this on a AMD system? If yes, this is a known bug. We are testing a fix internally for it now. MRJ
> > > Boris Derzhavets wrote: > > I am a bit confused with CR 6564625 :- > > > ****************************************************** > ********* > > Bug ID 6564625 > > Synopsis s10u4 HVM hangs in startup_bios_disk() > > State 10-Fix Delivered (Fix available in build) > > Category:Subcategory xvm:hvm > > Keywords xen-upstream | xen3.1 > > Responsible Engineer Russell Blaine > > Reported Against > > Duplicate Of > > Introduced In solaris_nevada > > Commit to Fix snv_85 > > Fixed In snv_85 > > > ****************************************************** > ******** > > > > S10U4 HVM install successfully pass through package > deploying phase > > at SNV85 Dom0, but crashes after first guest reboot > . > > > Is this on a AMD system? If yes, this is a known > bug. We are testing a fix internally for it now.Mark, Please, view my previous post to this thread. In particular i wrote:- Hardware been used CPU C2D 8400 Board ASUS P5K Premium WIFI 4 GB RAM (Kingston) SATA HDD Seagate Barracuda 250 GB South Bridge ICH9R (set up in AHCI mode).> > > > MRJ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.orgThis message posted from opensolaris.org
Guest restarting after successful package deployment phase. bash-3.2# ls -l total 1554 ------xr-x 1 root root 743 Mar 31 17:03 qemu-dm.2584.log ------xr-x 1 root root 743 Mar 31 17:04 qemu-dm.2611.log -rw-r--r-- 1 root root 6609 Mar 31 15:52 xend-debug.log -rw-r--r-- 1 root root 551641 Mar 31 17:04 xend.log -rw-r--r-- 1 root root 206277 Mar 31 17:04 xpvd-event.log bash-3.2# cat qemu-dm.2584.log domid: 48 qemu: the number of cpus is 1 Watching /local/domain/48/logdirty/next-active net_tap_init: nic = vnic47, setphysaddr = 0 qemu_map_cache_init nr_buckets = 10000 shared page at pfn 3ffff buffered io page at pfn 3fffd xs_read(/vm/b59d0ece-f61c-06ca-5ceb-e45bba98d182/rtc/timeoffset): read error keypad keysym ffae keycode 83 keypad keysym ffac keycode 83 keypad keysym ffb0 keycode 82 keypad keysym ffb1 keycode 79 keypad keysym ffb2 keycode 80 keypad keysym ffb3 keycode 81 keypad keysym ffb4 keycode 75 keypad keysym ffb5 keycode 76 keypad keysym ffb6 keycode 77 keypad keysym ffb7 keycode 71 keypad keysym ffb8 keycode 72 keypad keysym ffb9 keycode 73 Register xen platform. Done register platform. Triggered log-dirty buffer switch This message posted from opensolaris.org
I succeeded loading S10U4 HVM (after first guest reboot) modifying grub entry:- Changed "kernel /boot/multiboot" to:- "kernel /boot/multiboot kernel/unix -k" Press enter, press "b" Loading kmdb SunOS Release 5.10 ..... NOTICE: kernel debugger present : disabling console power management followed by HVM successful boot up. Networking OK. During shutdown:- Welcome to kmdb [0] > :c Press any key to reboot At next reboot made permanent changes to /boot/grub/menu.lst. Looks like now S10U4 HVM works at SNV85 Dom0. This message posted from opensolaris.org
I have to notice that some time ago i received message from "rub" with the same advice. I was just too busy to try it at that time. This message posted from opensolaris.org