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

Re: [Xen-users] ARM: Xen on Vexpress



On Mon, 23 Jun 2014, Jeenu Viswambharan wrote:
> On Wed, Jun 18, 2014 at 16:28:15, Jeenu Viswambharan wrote:
> > On Wed, Jun 18, 2014 at 15:35:04, Julien Grall wrote:
> > > I'm using this hvc0.conf.
> > >
> > > https://git.linaro.org/ci/xen-ci.git/blob/HEAD:/files/hvc0.conf
> > >
> > > If it's still not working, can you try to boot linux with
> > > init=/bin/sh on the command line. If it boots correctly then you
> > > have misconfigured you rootfs.
> >
> > Passing init=/bin/sh for Dom0 command line does work, and offers root
> > prompt. But it falls to the WFI loop without init in the command line.
> >
> > As matter of fact, I followed the wiki to build the rootfs. After all,
> > the root file system is prepared by couple of canned commands. I'd be
> > surprised if something goes wrong in there!
> 
> I haven't had any head way in this. The Dom0 boot messages do hint that
> hvc0 console is enabled. The file system seemed to be missing an hvc0
> device, and I later created one using mkdev (229,0), but with no avail.
> 
> I'm trying to understand what sequence of events are expected to happen
> to debug this: Is upstart expected to call agetty with hvc0?

Yep.


> Are there
> any options to enable logs from upstart?

I know very little about upstart.
Do you see something like:

Xen 4.5 support found, events_irq=31 gnttab_frame_pfn=ff800
xen:grant_table: Grant tables using version 1 layout
Grant table initialized
NET: Registered protocol family 16
Xen: initializing cpu0
Xen: initializing cpu1
Xen: initializing cpu3
Xen: initializing cpu2
DMA: preallocated 256 KiB pool for atomic coherent allocations
xen:swiotlb_xen: Warning: only able to allocate 4 MB for software IO TLB
software IO TLB [mem 0xbf000000-0xbf400000] (4MB) mapped at [df000000-df3fffff]
Serial: AMBA PL011 UART driver
bio: create slab <bio-0> at 0
xen:balloon: Initialising balloon driver

on your dom0 kernel logs?


> Are there any extra options to
> be enabled in the Dom0 kernel other than Xen support?

For the console you need:

CONFIG_HVC_XEN=y

Overall this is what I have:

CONFIG_XEN_DOM0=y
CONFIG_XEN=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_HVC_XEN=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_GNTDEV=y
CONFIG_SWIOTLB_XEN=y
CONFIG_XEN_PRIVCMD=y


> --
> Jeenu
> 
> -- IMPORTANT NOTICE: The contents of this email and any attachments are 
> confidential and may also be privileged. If you are not the intended 
> recipient, please notify the sender immediately and do not disclose the 
> contents to any other person, use it for any purpose, or store or copy the 
> information in any medium.  Thank you.
> 
> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
> Registered in England & Wales, Company No:  2557590
> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
> Registered in England & Wales, Company No:  2548782
> 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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