[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Problems in starting up domU with Xen-ARM (on Cortex-A15 Fast Models)

2013/10/1 Ian Campbell <Ian.Campbell@xxxxxxxxxx>
On Mon, 2013-09-30 at 10:46 -0400, XiaoGuang Wang wrote:
> 2013/9/30 Ian Campbell <Ian.Campbell@xxxxxxxxxx>
>         On Mon, 2013-09-30 at 09:40 -0400, XiaoGuang Wang wrote:
>         > Hi,
>         > 2013/9/30 Ian Campbell <Ian.Campbell@xxxxxxxxxx>
>         >         On Sun, 2013-09-29 at 22:55 -0400, XiaoGuang Wang
>         wrote:
>         >
>         >         > There is no /dev/xen/ directory.
>         >
>         >
>         >         Are you running udev?
>         > I think the udev is not running. Because when I start udevd,
>         it comes
>         > up error message and halts.
>         > root@(none):/home/xiaogw# udevd
>         > udevd[56]: error: runtime directory '/run/udev' not
>         writable, for now
>         > falling back to '/dev/.udev'
>         This is your problem, which has nothing to do with Xen AFAICT.
>         Firstly you probably want to start udev via the initscripts
>         not by hand,
>         secondly you probably need other (distro dependent)
>         initscripts to run
>         first to ensure things like /run/ are mounted.
>         I guess you are booting with init=/bin/sh or something
>         similar?
> Sorry Ian, I'm a newcomer on Xen and system works. I have no idea
> about start udev via initscripts.

This is nothing to do with Xen, it's just normal (and expected) Linux
knowledge I'm afraid. The /root/init.sh which I use is:
        set -x
        mount -o remount,rw /
        mount -t proc none /proc
        mount -t sysfs none /sys
        mount -t tmpfs none /run
        mkdir /run/lock
        /etc/init.d/udev start
        mount -t devpts none /dev/pts
        hostname -F /etc/hostname
        /etc/init.d/xencommons start
        echo 9 > /proc/sysrq-trigger
        cd /root
        exec /bin/bash

But TBH if you don't know what an initscript is then it might be best if you try
and find someone locally (e.g. in your department) who knows about Linux
and ask them to help bring you up to speed.


Hi Ian/all,
When start udev, there comes error:  initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
I'm considering that it is because I didn't configure the dom0 network. But when I start the network, some tools are not found in arm chroot FS, e.g. brctl.
Is it necessary to start network when start udev?



Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.