On Tue, Jun 2, 2015 at 7:55 PM, Stefano Stabellini < stefano.stabell...@eu.citrix.com> wrote:
> On Tue, 2 Jun 2015, Sanjeev Pandita wrote: > > From: Stefan Bader [mailto:stefan.ba...@canonical.com] > > Sent: Tuesday, June 02, 2015 1:52 PM > > To: Sanjeev Pandita; xen-devel@lists.xen.org > > Cc: ian.campb...@citrix.com; Pranavkumar Sawargaonkar; > > stefano.stabell...@eu.citrix.com > > Subject: Re: [Xen-devel] ARM64: XEN Domu not booting with the qemu qcow > > AARCH64 Ubuntu 15.04 disk > > > > On 02.06.2015 09:40, Sanjeev Pandita wrote: > > > All, > > > > > > I am pretty new to xen . I am trying to boot DOMU with qemu qcow > > > AARCH64 Ubuntu 15.04 disk on Xen but I am getting the errors which > > > link to "/usr/local/lib/xen/bin/qemu-system-i386". > > > Since I am working on aarch64 system the > > > /usr/local/lib/xen/bin/qemu-system-i386 bin might not be present or > > > might not work as expected. > > > > Because I am lacking hardware and feedback, the arm64 packaging is a > > rather theoretical exercise. At least for armhf I thought qemu-system-x86 > > was a dependency. That binary should provide x86 emulation on arm64, the > > same as one could install qemu for other arches on x86. > > Have you tried to install qemu-system-x86 manually? > > > > -Stefan > > > > > > > > Please let me know how to make the Qemu qcow image work on Xen. > > > Attached are the DomU boot log and config file. > > > > > > Thanks, > > > San > > > > Thanks for your inputs, I have installed the qemu-system-i386 but my DomU > > booting is still crashing with following short logs. Am I missing > anything > > ? > > > > Kernel Crash logs: > > > > xenbus_probe_frontend: Waiting for devices to initialise: > > 25s...20s...15s...10s...5s...0s... > > > 235s...230s...225s...220s...215s...210s...205s...200s...195s...190s...185s > > > ...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...1 > > > 30s...125s...120s...115s...110s...105s...100s...95s...90s...85s...80s...75 > > > s...70s...65s...60s...55s...50s...45s...40s...35s...30s...25s...20s...15s. > > ..10s...5s...0s... > > > > xenbus_probe_frontend: Timeout connecting to device: device/vbd/51712 > > (local state 3, remote state 2) > > console [netcon0] enabled > > netconsole: network logging started > > drivers/rtc/hctosys.c: unable to open rtc device (rtc0) > > VFS: Cannot open root device "xvda" or unknown-block(0,0): error -6 > > Please append a correct "root=" boot option; here are the available > > partitions: > > Kernel panic - not syncing: VFS: Unable to mount root fs on > > unknown-block(0,0) > > CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.19.8 #5 > > Hardware name: XENVM-4.6 (DT) > > Call trace: > > [<ffffffc00008a0dc>] dump_backtrace+0x0/0x124 > > [<ffffffc00008a210>] show_stack+0x10/0x1c > > [<ffffffc000657d88>] dump_stack+0x80/0xc4 > > [<ffffffc000656f04>] panic+0xe0/0x220 > > [<ffffffc00087eea8>] mount_block_root+0x1a4/0x24c > > [<ffffffc00087f19c>] mount_root+0x110/0x130 > > [<ffffffc00087f328>] prepare_namespace+0x16c/0x1b8 > > [<ffffffc00087eb44>] kernel_init_freeable+0x1c4/0x1ec > > [<ffffffc00065481c>] kernel_init+0xc/0xd8 > > ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on > > unknown-block(0,0) > > It looks like the backend (QEMU) hasn't been initialized properly. > Could you please post the output of xenstore-ls? Also could you run ps > aux|grep qemu to check whether QEMU was spawned correctly? > > Attaching output of xenstore-ls and grep qemu. Looks like qemu process is getting spawned and running fine. I have also modified the config file to remove tap from disk like: disk = [ 'qcow:/mnt/xen/vivid-server-cloudimg-arm64-disk1.img,xvda,w' ] But still my DOMU booting is stuck and getting crashed due to lack of rootfs/disk. I am running this on mustang board. Thanks, San > > > > > My config file : > > > > linux:/mnt/xen # cat vm1 > > name = "vm1" > > uuid = "3fb78ba6-8182-484c-acf7-8faba9773f68" > > disk = [ 'tap:qcow:/mnt/xen/vivid-server-cloudimg-arm64-disk1.img,xvda,w' > > ] > > memory = 512 > > kernel = "./Image" > > extra = "root=/dev/xvda rw console=hvc0 earlyprintk=xen" > -- CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and contains information that is confidential and proprietary to Applied Micro Circuits Corporation or its subsidiaries. It is to be used solely for the purpose of furthering the parties' business relationship. All unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
linux:~ # xenstore-ls tool = "" xenstored = "" local = "" domain = "" 0 = "" domid = "0" name = "Domain-0" device-model = "" 0 = "" state = "running" 1 = "" state = "running" libxl = "" disable_udev = "1" backend = "" qdisk = "" 1 = "" 51712 = "" frontend = "/local/domain/1/device/vbd/51712" params = "qcow:/mnt/xen/vivid-server-cloudimg-arm64-disk1.img" frontend-id = "1" online = "1" removable = "0" bootable = "1" state = "2" dev = "xvda" type = "qdisk" mode = "w" device-type = "disk" discard-enable = "1" feature-flush-cache = "1" feature-persistent = "1" info = "0" feature-discard = "1" hotplug-status = "connected" console = "" 1 = "" 0 = "" frontend = "/local/domain/1/console" frontend-id = "1" online = "1" state = "1" protocol = "vt100" 1 = "" vm = "/vm/3fb78ba6-8182-484c-acf7-8faba9773f68" name = "vm4" cpu = "" 0 = "" availability = "online" memory = "" static-max = "524288" target = "524288" videoram = "0" device = "" suspend = "" event-channel = "" vbd = "" 51712 = "" backend = "/local/domain/0/backend/qdisk/1/51712" backend-id = "0" state = "3" virtual-device = "51712" device-type = "disk" protocol = "arm-abi" ring-ref = "8" event-channel = "3" feature-persistent = "1" control = "" shutdown = "" platform-feature-multiprocessor-suspend = "1" platform-feature-xs_reset_watches = "1" data = "" domid = "1" store = "" port = "1" ring-ref = "233473" console = "" backend = "/local/domain/0/backend/console/1/0" backend-id = "0" limit = "1048576" type = "xenconsoled" output = "pty" tty = "/dev/pts/1" port = "2" ring-ref = "233472" image = "" device-model-pid = "1872" vm = "" 3fb78ba6-8182-484c-acf7-8faba9773f68 = "" name = "vm4" uuid = "3fb78ba6-8182-484c-acf7-8faba9773f68" image = "" ostype = "linux" kernel = "./Image" cmdline = "root=/dev/xvda rw console=hvc0 earlyprintk=xen" start_time = "1433319561.58" libxl = "" 1 = "" dm-version = "qemu_xen" linux:~ # linux:~ # linux:~ # linux:~ # ps -aex | grep -i qemu 1863 ? Sl 0:00 /usr/local/lib/xen/bin/qemu-system-i386 -xen-domid 0 -xen-attach -name dom0 -nographic -M xenpv -daemonize -monitor /dev/null -serial /dev/null -parallel /dev/null -pidfile /var/run/qemu-dom0.pid LESSKEY=/etc/lesskey.bin MANPATH= NNTPSERVER=news XDG_SESSION_ID=c1 HOSTNAME=linux XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB SHELL=/bin/bash TERM=xterm HOST=linux HISTSIZE=1000 PROFILEREAD=true SSH_CLIENT=10.48.12.106 50412 22 MORE=-sl SSH_TTY=/dev/pts/0 USER=root LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: XNLSPATH=/usr/X11R6/lib/X11/nls HOSTTYPE=aarch64 CONFIG_SITE=/usr/share/site/aarch64-suse-linux-gnu PAGER=less CSHEDIT=emacs XDG_CONFIG_DIRS=/etc/xdg MINICOM=-c on LIBGL_DEBUG=quiet PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/games MAIL=/var/mail/root CPU=aarch64 SSH_SENDS_LOCALE=yes PWD=/mnt/xen INPUTRC=/etc/inputrc LANG=en_IN PYTHONSTARTUP=/etc/pythonstart GPG_TTY=/dev/pts/0 HOME=/root SHLVL=2 OSTYPE=linux LESS_ADVANCED_PREPROCESSOR=no LS_OPTIONS=-A -N --color=tty -T 0 WINDOWMANAGER= LOGNAME=root MACHTYPE=aarch64-suse-linux LESS=-M -I -R CVS_RSH=ssh SSH_CONNECTION=10.48.12.106 50412 10.48.12.191 22 XDG_DATA_DIRS=/usr/share LESSOPEN=lessopen.sh %s XDG_RUNTIME_DIR=/run/user/0 LESSCLOSE=lessclose.sh %s %s NO_AT_BRIDGE=1 G_BROKEN_FILENAMES=1 COLORTERM=1 _=/usr/local/lib/xen/bin/qemu-system-i386 1872 ? Ssl 0:00 /usr/local/lib/xen/bin/qemu-system-i386 -xen-domid 1 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-1,server,nowait -no-shutdown -mon chardev=libxl-cmd,mode=control -chardev socket,id=libxenstat-cmd,path=/var/run/xen/qmp-libxenstat-1,server,nowait -mon chardev=libxenstat-cmd,mode=control -nodefaults -xen-attach -name vm4 -vnc none -display none -nographic -machine xenpv -m 512 LESSKEY=/etc/lesskey.bin NNTPSERVER=news MANPATH= XDG_SESSION_ID=c1 HOSTNAME=linux XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB HOST=linux TERM=xterm SHELL=/bin/bash PROFILEREAD=true HISTSIZE=1000 SSH_CLIENT=10.48.12.106 50412 22 MORE=-sl OLDPWD=/root LIBXL_DEBUG_DUMP_DTB=guest.dtb SSH_TTY=/dev/pts/0 USER=root LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: XNLSPATH=/usr/X11R6/lib/X11/nls HOSTTYPE=aarch64 CONFIG_SITE=/usr/share/site/aarch64-suse-linux-gnu PAGER=less CSHEDIT=emacs XDG_CONFIG_DIRS=/etc/xdg LIBGL_DEBUG=quiet MINICOM=-c on MAIL=/var/mail/root PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/games CPU=aarch64 SSH_SENDS_LOCALE=yes INPUTRC=/etc/inputrc PWD=/mnt/xen LANG=en_IN PYTHONSTARTUP=/etc/pythonstart GPG_TTY=/dev/pts/0 SHLVL=1 HOME=/root LESS_ADVANCED_PREPROCESSOR=no OSTYPE=linux LS_OPTIONS=-A -N --color=tty -T 0 WINDOWMANAGER= LESS=-M -I -R MACHTYPE=aarch64-suse-linux LOGNAME=root CVS_RSH=ssh XDG_DATA_DIRS=/usr/share SSH_CONNECTION=10.48.12.106 50412 10.48.12.191 22 LESSOPEN=lessopen.sh %s XDG_RUNTIME_DIR=/run/user/0 NO_AT_BRIDGE=1 LESSCLOSE=lessclose.sh %s %s G_BROKEN_FILENAMES=1 COLORTERM=1 _=/usr/local/sbin/xl
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel