Mailing List Archive

Filesystem/rootfs for Dom0 to use with Versatile Express
Does anyone have a working file system that I can try out for my Dom0
build ? I am having trouble with mine, and I'm not so sure if the
rootfs is broken.

Is there a generic example rootfs to download somewhere on the wiki
pages? That would be very helpful.

Jenny

_______________________________________________
Xen-arm mailing list
Xen-arm@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm
Re: Filesystem/rootfs for Dom0 to use with Versatile Express [ In reply to ]
Hi Xen-ARM,

You will find it on "git://xenbits.xen.org/people/jm77ryu/linux-xen.git"


extract root filesytem contents as following(This requires the root
privilege)
sudo tar -xvpf rootfs_dom0.tar.bz2.

By the way do you have a working Xen-ARM Code?
If so, please mention it, I mean the version/commit etc..
--
✉ Regards :: Krishna Pavan ✍
Re: Filesystem/rootfs for Dom0 to use with Versatile Express [ In reply to ]
I'm using the Xen code mentioned here:
http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions


On Tue, Mar 13, 2012 at 12:50 PM, Krishna Pavan <post4pavan@gmail.com> wrote:
> Hi Xen-ARM,
>
> You will find it on "git://xenbits.xen.org/people/jm77ryu/linux-xen.git"
>
>
> extract root filesytem contents as following(This requires the root
> privilege)
>     sudo tar -xvpf rootfs_dom0.tar.bz2.
>
> By the way do you have a working Xen-ARM Code?
> If so, please mention it, I mean the version/commit etc..
> --
> ✉ Regards :: Krishna Pavan ✍
>

_______________________________________________
Xen-arm mailing list
Xen-arm@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm
Re: Filesystem/rootfs for Dom0 to use with Versatile Express [ In reply to ]
(please don't top post, it destroys the flow of the conversation)

On Tue, 2012-03-13 at 12:58 +0000, Jenny Smith wrote:
> I'm using the Xen code mentioned here:
> http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions

Alongside the Fast Models download you can also download a "3rd party
IP" pack which includes a Linux rootfs. On my system this ended up
installed as
FastModels/FastModelsPortfolio_7.0/images/RTSM_VE_Linux/filesystems/armv5t_min_VE_V7.image

Ian.


_______________________________________________
Xen-arm mailing list
Xen-arm@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm
Re: Filesystem/rootfs for Dom0 to use with Versatile Express [ In reply to ]
On Tue, Mar 13, 2012 at 1:57 PM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> (please don't top post, it destroys the flow of the conversation)
>
> On Tue, 2012-03-13 at 12:58 +0000, Jenny Smith wrote:
>> I'm using the Xen code mentioned here:
>> http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions
>
> Alongside the Fast Models download you can also download a "3rd party
> IP" pack which includes a Linux rootfs. On my system this ended up
> installed as
> FastModels/FastModelsPortfolio_7.0/images/RTSM_VE_Linux/filesystems/armv5t_min_VE_V7.image
>

Thanks, that's helpful.

Can I not attach this image directly to the emulator as MMC card? E.g.
my parameters contain

-C motherboard.mmc.p_mmc_file=~/ARM/FastModelsPortfolio_7.0/images/RTSM_VE_Linux/filesystems/armv5t_min_VE_V7.image

When Dom0 boots I get the following error:

[ 1.408378] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.451631] brd: module loaded
[ 1.465016] mousedev: PS/2 mouse device common for all mice
[ 1.482716] i2c /dev entries driver
[ 1.494715] mmci-pl18x mb:mmci: mmc0: PL180 manf 41 rev0 at
0x1c050000 irq 41,42 (pio)
[ 1.519979] sdhci: Secure Digital Host Controller Interface driver
[ 1.538558] sdhci: Copyright(c) Pierre Ossman
[ 1.551852] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.569288] TCP cubic registered
[ 1.578997] NET: Registered protocol family 17
[ 1.640530] mmc0: new MMC card at address 0001
[ 1.654559] mmcblk0: mmc0:0001 ARMmm256 MiB
[ 1.670723] mmcblk0: unknown partition table
[ 1.795645] input: AT Raw Set 2 keyboard as
/devices/motherboard.1/iofpga.2/1c060000.kmi/serio0/input/input0
[ 2.825999] input: PS/2 Generic Mouse as
/devices/motherboard.1/iofpga.2/1c070000.kmi/serio1/input/input1
[ 2.863617] EXT2-fs (mmcblk0): warning: mounting unchecked fs,
running e2fsck is recommended
[ 2.889322] VFS: Mounted root (ext2 filesystem) on device 179:0.
[ 2.909266] Freeing init memory: 128K
[ 3.847136] Kernel panic - not syncing: Attempted to kill init!
[ 3.864938] [<c000d5cc>] (unwind_backtrace+0x0/0xe0) from
[<c02c1828>] (panic+0x50/0x17c)
[ 3.889409] [<c02c1828>] (panic+0x50/0x17c) from [<c001b9c4>]
(do_exit+0x94/0x5c8)
[ 3.912067] [<c001b9c4>] (do_exit+0x94/0x5c8) from [<c001bf98>]
(do_group_exit+0x74/0xa0)
[ 3.936555] [<c001bf98>] (do_group_exit+0x74/0xa0) from
[<c0024ce8>] (get_signal_to_deliver+0x410/0x44c)
[ 3.964942] [<c0024ce8>] (get_signal_to_deliver+0x410/0x44c) from
[<c000b074>] (do_signal+0xb0/0x570)
[ 3.992540] [<c000b074>] (do_signal+0xb0/0x570) from [<c000b99c>]
(do_notify_resume+0x18/0x48)
[ 4.018317] [<c000b99c>] (do_notify_resume+0x18/0x48) from
[<c0008f18>] (work_pending+0x24/0x28)

[ 0.000000] Kernel command line: earlyprintk=xenboot
console=ttyAMA1 root=/dev/mmcblk0 debug rw

Any ideas?

Cheers,
Jenny

_______________________________________________
Xen-arm mailing list
Xen-arm@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm
Re: Filesystem/rootfs for Dom0 to use with Versatile Express [ In reply to ]
BTW, I've added xen-devel@. xen-arm list is more for the Xen PV ARM port
so I've bcc'd it.

On Tue, 2012-03-13 at 14:42 +0000, Jenny Smith wrote:
> On Tue, Mar 13, 2012 at 1:57 PM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> > (please don't top post, it destroys the flow of the conversation)
> >
> > On Tue, 2012-03-13 at 12:58 +0000, Jenny Smith wrote:
> >> I'm using the Xen code mentioned here:
> >> http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions
> >
> > Alongside the Fast Models download you can also download a "3rd party
> > IP" pack which includes a Linux rootfs. On my system this ended up
> > installed as
> > FastModels/FastModelsPortfolio_7.0/images/RTSM_VE_Linux/filesystems/armv5t_min_VE_V7.image
> >
>
> Thanks, that's helpful.
>
> Can I not attach this image directly to the emulator as MMC card? E.g.
> my parameters contain
>
> -C motherboard.mmc.p_mmc_file=~/ARM/FastModelsPortfolio_7.0/images/RTSM_VE_Linux/filesystems/armv5t_min_VE_V7.image

That basically what I do but I use the full path and not ~ since I
wasn't sure model_shell interprets "~". I guess based on this evidence
it does...

> When Dom0 boots I get the following error:
>
> [ 1.408378] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> [ 1.451631] brd: module loaded
> [ 1.465016] mousedev: PS/2 mouse device common for all mice
> [ 1.482716] i2c /dev entries driver
> [ 1.494715] mmci-pl18x mb:mmci: mmc0: PL180 manf 41 rev0 at
> 0x1c050000 irq 41,42 (pio)
> [ 1.519979] sdhci: Secure Digital Host Controller Interface driver
> [ 1.538558] sdhci: Copyright(c) Pierre Ossman
> [ 1.551852] sdhci-pltfm: SDHCI platform and OF driver helper
> [ 1.569288] TCP cubic registered
> [ 1.578997] NET: Registered protocol family 17
> [ 1.640530] mmc0: new MMC card at address 0001
> [ 1.654559] mmcblk0: mmc0:0001 ARMmm256 MiB
> [ 1.670723] mmcblk0: unknown partition table
> [ 1.795645] input: AT Raw Set 2 keyboard as
> /devices/motherboard.1/iofpga.2/1c060000.kmi/serio0/input/input0
> [ 2.825999] input: PS/2 Generic Mouse as
> /devices/motherboard.1/iofpga.2/1c070000.kmi/serio1/input/input1
> [ 2.863617] EXT2-fs (mmcblk0): warning: mounting unchecked fs,
> running e2fsck is recommended
> [ 2.889322] VFS: Mounted root (ext2 filesystem) on device 179:0.
> [ 2.909266] Freeing init memory: 128K
> [ 3.847136] Kernel panic - not syncing: Attempted to kill init!

So it looks like the FS was mounted OK but for some reason /sbin/init
didn't run. Maybe try adding "init=/bin/sh" to your command line as a
first test?

Does "-C cluster.cpu0.vfp-enable_at_reset=1" help?

> [ 3.864938] [<c000d5cc>] (unwind_backtrace+0x0/0xe0) from
> [<c02c1828>] (panic+0x50/0x17c)
> [ 3.889409] [<c02c1828>] (panic+0x50/0x17c) from [<c001b9c4>]
> (do_exit+0x94/0x5c8)
> [ 3.912067] [<c001b9c4>] (do_exit+0x94/0x5c8) from [<c001bf98>]
> (do_group_exit+0x74/0xa0)
> [ 3.936555] [<c001bf98>] (do_group_exit+0x74/0xa0) from
> [<c0024ce8>] (get_signal_to_deliver+0x410/0x44c)
> [ 3.964942] [<c0024ce8>] (get_signal_to_deliver+0x410/0x44c) from
> [<c000b074>] (do_signal+0xb0/0x570)
> [ 3.992540] [<c000b074>] (do_signal+0xb0/0x570) from [<c000b99c>]
> (do_notify_resume+0x18/0x48)
> [ 4.018317] [<c000b99c>] (do_notify_resume+0x18/0x48) from
> [<c0008f18>] (work_pending+0x24/0x28)
>
> [ 0.000000] Kernel command line: earlyprintk=xenboot
> console=ttyAMA1 root=/dev/mmcblk0 debug rw
>
> Any ideas?
>
> Cheers,
> Jenny



_______________________________________________
Xen-arm mailing list
Xen-arm@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm