[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Unable to add disk on ARM64
On Fri, Aug 12, 2016 at 04:57:06PM +0200, Roger Pau Monné wrote: >On Fri, Aug 12, 2016 at 03:00:34PM +0200, Julien Grall wrote: >> On 12/08/2016 14:24, Peng Fan wrote: >> > Hi, >> >> Hello Peng, >> >> I have CCed Roger who is more familiar than me with the hotplug scripts. >> >> > I am using xen master branch on i.MX8 ARM64. >> > >> > My xl configuration: >> > >> > kernel = "/root/xen/Image" >> > memory = "128" >> > name = "DomU" >> > vcpus = 1 >> > serial="pty" >> > disk = [ 'phy:/dev/loop0,xvda,w' ] >> > extra = "console=hvc0 root=/dev/xvda debug=/bin/sh" >> > >> > >> > And I "losetup /dev/loop0 /root/DomU-rootfs" in Dom0 Linux. >> > >> > But I met the following error: >> > libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to >> > execute: /etc/xen/scripts/block add ^M^M >> > Device /dev/loop0 is mounted in the privileged domain,^M^M >> > and so cannot be mounted by a guest.^M^M >> > libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: >> > /etc/xen/scripts/block add [800] exited with error status 1^M^M >> > libxl: debug: libxl_event.c:686:libxl__ev_xswatch_deregister: watch >> > w=0xfee100: deregister unregistered^M^M >> > libxl: error: libxl_devi >> > ce.c:1202:device_hotplug_child_death_cb: script: Device /dev/loop0 is >> > mounted in the privileged domain,^M^M >> > and so cannot be mounted by a guest.^M^M >> >> From my understanding, you have mounted /dev/loop0 in Dom0, is that correct? >> However, we don't support sharing the same mounting point by default (Roger >> can you confirm). Fixed. In tiny rootfs, there is no `stat`. I recompiled busybox with more applets, and all is ok now. Regards, Peng. > >It seems like the hotplug script has detected that you have the device >already attached to Dom0, can you paste the output of `xenstore-ls -fp` >when this happens? > >It could be that there's some garbage in xenstore from a device that hasn't >been properly detached. > >Roger. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |