Re: error building oob for XO 1.75

2013-04-02 Thread rihowa...@gmail.com


On Apr 2, 2013, at 4:20 AM, Basanta Shrestha wrote:

> Dear all, 
> 
> After being unsuccessful in installing packages inside fedora arm virtual box 
> , I have now installed fedora 18( as host system , earlier it was fedora 14)  
> and now I am having problem running fedora-arm under virtual box. 
> 
> # virsh start arm1 
> 
> error: Failed to start domain arm1
> error: internal error process exited while connecting to monitor: Error: 
> Cirrus VGA not available
> 
> Regards,
> Basanta 
> 
> 
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

The Fedora ARM team can probably help you.
Send an email to their list 
https://lists.fedoraproject.org/mailman/listinfo/arm describing what you are 
attempting to do.

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: error building oob for XO 1.75

2013-04-02 Thread Basanta Shrestha
Dear all,

After being unsuccessful in installing packages inside fedora arm virtual
box , I have now installed fedora 18( as host system , earlier it was
fedora 14)  and now I am having problem running fedora-arm under virtual
box.

# virsh start arm1

error: Failed to start domain arm1
error: internal error process exited while connecting to monitor: Error:
Cirrus VGA not available

Regards,
Basanta



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: error building oob for XO 1.75

2013-03-26 Thread Basanta Shrestha
Thank you. The FEDORA13-WRAPPER-qemu-system-arm worked and I was able to
run fedora arm under virtual box. I was able to get ip address through dhcp
and ping outer world.

I now need to install essential packages to run olpc-os-builder through my
new fedora( which happens to be Fedora 12)  but the problem is neither I
can yum update nor install any package from the virtual environment.

The yum configuration files have been copied below:
-

[root@fedora-arm yum.repos.d]# more /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3

[root@fedora-arm yum.repos.d]#
[root@fedora-arm yum.repos.d]# more /etc/yum.repos.d/fedora.repo
[fedora]
name=Fedora $releasever - $basearch
mirrorlist=
http://mirrorlist.fedora-arm.wantstofly.org/?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=
http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=
https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-primary

[fedora-arm-source]
name=Fedora ARM $releasever - Source
mirrorlist=
http://mirrorlist.fedora-arm.wantstofly.org/?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[root@fedora-arm yum.repos.d]#


Regards,
Basanta


On Wed, Mar 13, 2013 at 4:17 PM, Niels de Vos wrote:

> On Wed, Mar 13, 2013 at 03:41:17PM +0545, Basanta Shrestha wrote:
> > Trying to setup build environment for ARM under fedora 14, following
> > following doc http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu
> >
> > getting following error.
> > 
> > error: internal error process exited while connecting to monitor:
> > qemu-system-arm: -device lsi,id=scsi0,bus=pci.0,addr=0x4: Bus 'pci.0' not
> > found
> > ---
>
> See https://bugzilla.redhat.com/show_bug.cgi?id=667345#c1, which points
> to http://cdot.senecac.on.ca/arm/FEDORA13-WRAPPER-qemu-system-arm.
> A newer version of libvirt should work too.
>
> >
> > Also,
> > Getting following error while  while configuring selinux
> > setsebool -P virt_use_execmem 1
> > -
> >
> > libsemanage.dbase_llist_set: record not found in the database (No such
> file
> > or directory).
> > libsemanage.dbase_llist_set: could not set record value (No such file or
> > directory).
> > Could not change boolean virt_use_execmem
> > Could not change policy booleans
> >
> > 
> >
> > tried disabling the effect of selinux by doing
> > echo 0 > /selinux/enforce
> >
> >
> > but no luck.
>
> Maybe completely disabling selinux (instead of putting it in permissive)
> works. Either boot with "selinux=0" on the kernel command line or
> disable in /etc/selinux/config and reboot. Updating to a newer
> selinux-policy would be an alternative.
>
> HTH,
> Niels
>
> >
> >
> >
> > On Wed, Mar 6, 2013 at 4:30 PM, James Cameron  wrote:
> >
> > > Your builder system should have an ARM processor, but I see from your
> > > rpm -qa that you have an i686 package installed.  This is because
> > > builder system is not ARM processor?
> > >
> > > See http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware for how to
> > > build 11.3.x on XO-1.75 hardware.
> > >
> > > On Wed, Mar 06, 2013 at 03:38:37PM +0545, Basanta Shrestha wrote:
> > > > Hi,
> > > > I am trying to build oob for my xo 1.75. But I am getting following
> > > error:
> > > > Please help.
> > > > 
> > > > Retrieving
> http://mock.laptop.org/repos/koji.dist-f14-armv5tel/repodata/
> > > > repomd.xml ...OK
> > > > Retrieving
> > > http://mock.laptop.org/repos/koji.dist-f14-armv5tel-updates-11.3.0/
> > > > repodata/repomd.xml ...OK
> > > > Retrieving
> http://mock.laptop.org/repos/local.11.3.0/repodata/repomd.xml...OK
> > > > Retrieving
> > > http://mock.laptop.org/repos/local.11.3.0-xo1.75/repodata/repomd.xml
> > > > ...OK
> > > > ERROR:root:Error creating Live CD : Failed to find package
> > > 'openssh-clients' :
> > > > No package(s) available to install
> > > >  * Caught error, cleanup and then bail out.
> > > >  * Running part cleanup base cleanup.50.cleanup.sh...
> > > >  * Running part cleanup buildnr_from_file
> cleanup.50.write_buildnr.sh...
> > > > ERROR: Failure in BuildStage: module base, part
> build.40.imagecreate.py,
> > > error
> > > > code 1
> > > > --
> > > > I have following system:
> > > > --
> > > > [root@basanta-dev examples]# pwd
> > > > /usr/share/doc/olpc-os-builder-4.0.0/example
> > > > [root

Re: error building oob for XO 1.75

2013-03-13 Thread Niels de Vos
On Wed, Mar 13, 2013 at 03:41:17PM +0545, Basanta Shrestha wrote:
> Trying to setup build environment for ARM under fedora 14, following
> following doc http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu
> 
> getting following error.
> 
> error: internal error process exited while connecting to monitor:
> qemu-system-arm: -device lsi,id=scsi0,bus=pci.0,addr=0x4: Bus 'pci.0' not
> found
> ---

See https://bugzilla.redhat.com/show_bug.cgi?id=667345#c1, which points 
to http://cdot.senecac.on.ca/arm/FEDORA13-WRAPPER-qemu-system-arm.  
A newer version of libvirt should work too.

> 
> Also,
> Getting following error while  while configuring selinux
> setsebool -P virt_use_execmem 1
> -
> 
> libsemanage.dbase_llist_set: record not found in the database (No such file
> or directory).
> libsemanage.dbase_llist_set: could not set record value (No such file or
> directory).
> Could not change boolean virt_use_execmem
> Could not change policy booleans
> 
> 
> 
> tried disabling the effect of selinux by doing
> echo 0 > /selinux/enforce
> 
> 
> but no luck.

Maybe completely disabling selinux (instead of putting it in permissive) 
works. Either boot with "selinux=0" on the kernel command line or 
disable in /etc/selinux/config and reboot. Updating to a newer 
selinux-policy would be an alternative.

HTH,
Niels

> 
> 
> 
> On Wed, Mar 6, 2013 at 4:30 PM, James Cameron  wrote:
> 
> > Your builder system should have an ARM processor, but I see from your
> > rpm -qa that you have an i686 package installed.  This is because
> > builder system is not ARM processor?
> >
> > See http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware for how to
> > build 11.3.x on XO-1.75 hardware.
> >
> > On Wed, Mar 06, 2013 at 03:38:37PM +0545, Basanta Shrestha wrote:
> > > Hi,
> > > I am trying to build oob for my xo 1.75. But I am getting following
> > error:
> > > Please help.
> > > 
> > > Retrieving http://mock.laptop.org/repos/koji.dist-f14-armv5tel/repodata/
> > > repomd.xml ...OK
> > > Retrieving
> > http://mock.laptop.org/repos/koji.dist-f14-armv5tel-updates-11.3.0/
> > > repodata/repomd.xml ...OK
> > > Retrieving 
> > > http://mock.laptop.org/repos/local.11.3.0/repodata/repomd.xml...OK
> > > Retrieving
> > http://mock.laptop.org/repos/local.11.3.0-xo1.75/repodata/repomd.xml
> > > ...OK
> > > ERROR:root:Error creating Live CD : Failed to find package
> > 'openssh-clients' :
> > > No package(s) available to install
> > >  * Caught error, cleanup and then bail out.
> > >  * Running part cleanup base cleanup.50.cleanup.sh...
> > >  * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh...
> > > ERROR: Failure in BuildStage: module base, part build.40.imagecreate.py,
> > error
> > > code 1
> > > --
> > > I have following system:
> > > --
> > > [root@basanta-dev examples]# pwd
> > > /usr/share/doc/olpc-os-builder-4.0.0/example
> > > [root@basanta-dev examples]# more /etc/redhat-release
> > > Fedora release 14 (Laughlin)
> > > [root@basanta-dev examples]# rpm -qa | grep openssh-clients
> > > openssh-clients-5.5p1-24.fc14.2.i686
> > > [root@basanta-dev examples]# ls
> > /usr/share/doc/olpc-os-builder-4.0.0/examples/
> > > [root@basanta-dev examples]# olpc-os-builder /usr/share/doc/
> > > olpc-os-builder-4.0.0/examples/olpc-os-11.3.0-xo1.75.ini
> > >
> > > --
> > > Basanta Shrestha
> > > OLE Nepal
> > >
> >
> > > ___
> > > Devel mailing list
> > > Devel@lists.laptop.org
> > > http://lists.laptop.org/listinfo/devel
> >
> >
> > --
> > James Cameron
> > http://quozl.linux.org.au/
> >
> 
> 
> 
> -- 
> Basanta Shrestha
> Network Engineer
> Open Learning Exchange (OLE) Nepal
> Tel: +977.1.551, 5520075 Ext. 303
> Cell: +977.9818 605110
> http://www.olenepal.org

> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: error building oob for XO 1.75

2013-03-13 Thread James Cameron
I've never done this.

Jose Prous did use qemu in early October.

It looks like a bug in qemu-system-arm.  Try a later version.  Fedora
14 is old now.  The message is patched on qemu-devel mailing list,
according to Google:

http://www.google.com/search?q=qemu-system-arm+"Bus+'pci.0'+not+found"
http://comments.gmane.org/gmane.comp.emulators.qemu/70783

I've no idea about selinux either.  Hope someone else does, or you
could ask on Fedora mailing lists.

On Wed, Mar 13, 2013 at 03:41:17PM +0545, Basanta Shrestha wrote:
> Trying to setup build environment for ARM under fedora 14, following following
> doc http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu
> 
> getting following error. 
> 
> error: internal error process exited while connecting to monitor:
> qemu-system-arm: -device lsi,id=scsi0,bus=pci.0,addr=0x4: Bus 'pci.0' not 
> found
> ---
> 
> Also, 
> Getting following error while  while configuring selinux 
> setsebool -P virt_use_execmem 1
> -
> 
> libsemanage.dbase_llist_set: record not found in the database (No such file or
> directory).
> libsemanage.dbase_llist_set: could not set record value (No such file or
> directory).
> Could not change boolean virt_use_execmem
> Could not change policy booleans
> 
> 
> 
> tried disabling the effect of selinux by doing 
> echo 0 > /selinux/enforce 
> 
> 
> but no luck. 
> 
> 
> 
> On Wed, Mar 6, 2013 at 4:30 PM, James Cameron  wrote:
> 
> Your builder system should have an ARM processor, but I see from your
> rpm -qa that you have an i686 package installed.  This is because
> builder system is not ARM processor?
> 
> See http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware for how to
> build 11.3.x on XO-1.75 hardware.
> 
> On Wed, Mar 06, 2013 at 03:38:37PM +0545, Basanta Shrestha wrote:
> > Hi,
> > I am trying to build oob for my xo 1.75. But I am getting following
> error:
> > Please help.
> > 
> > Retrieving http://mock.laptop.org/repos/koji.dist-f14-armv5tel/repodata/
> > repomd.xml ...OK
> > Retrieving http://mock.laptop.org/repos/
> koji.dist-f14-armv5tel-updates-11.3.0/
> > repodata/repomd.xml ...OK
> > Retrieving http://mock.laptop.org/repos/local.11.3.0/repodata/repomd.xml
> ...OK
> > Retrieving http://mock.laptop.org/repos/local.11.3.0-xo1.75/repodata/
> repomd.xml
> > ...OK
> > ERROR:root:Error creating Live CD : Failed to find package
> 'openssh-clients' :
> > No package(s) available to install
> >  * Caught error, cleanup and then bail out.
> >  * Running part cleanup base cleanup.50.cleanup.sh...
> >  * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh...
> > ERROR: Failure in BuildStage: module base, part build.40.imagecreate.py,
> error
> > code 1
> > --
> > I have following system:
> > --
> > [root@basanta-dev examples]# pwd
> > /usr/share/doc/olpc-os-builder-4.0.0/example
> > [root@basanta-dev examples]# more /etc/redhat-release
> > Fedora release 14 (Laughlin)
> > [root@basanta-dev examples]# rpm -qa | grep openssh-clients
> > openssh-clients-5.5p1-24.fc14.2.i686
> > [root@basanta-dev examples]# ls /usr/share/doc/olpc-os-builder-4.0.0/
> examples/
> > [root@basanta-dev examples]# olpc-os-builder /usr/share/doc/
> > olpc-os-builder-4.0.0/examples/olpc-os-11.3.0-xo1.75.ini
> >
> > --
> > Basanta Shrestha
> > OLE Nepal
> >
> 
> > ___
> > Devel mailing list
> > Devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
>
> 
> --
> James Cameron
> http://quozl.linux.org.au/
> 
> 
> 
> 
> --
> Basanta Shrestha
> Network Engineer
> Open Learning Exchange (OLE) Nepal
> Tel: +977.1.551, 5520075 Ext. 303
> Cell: +977.9818 605110
> http://www.olenepal.org

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: error building oob for XO 1.75

2013-03-13 Thread Basanta Shrestha
Trying to setup build environment for ARM under fedora 14, following
following doc http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu

getting following error.

error: internal error process exited while connecting to monitor:
qemu-system-arm: -device lsi,id=scsi0,bus=pci.0,addr=0x4: Bus 'pci.0' not
found
---

Also,
Getting following error while  while configuring selinux
setsebool -P virt_use_execmem 1
-

libsemanage.dbase_llist_set: record not found in the database (No such file
or directory).
libsemanage.dbase_llist_set: could not set record value (No such file or
directory).
Could not change boolean virt_use_execmem
Could not change policy booleans



tried disabling the effect of selinux by doing
echo 0 > /selinux/enforce


but no luck.



On Wed, Mar 6, 2013 at 4:30 PM, James Cameron  wrote:

> Your builder system should have an ARM processor, but I see from your
> rpm -qa that you have an i686 package installed.  This is because
> builder system is not ARM processor?
>
> See http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware for how to
> build 11.3.x on XO-1.75 hardware.
>
> On Wed, Mar 06, 2013 at 03:38:37PM +0545, Basanta Shrestha wrote:
> > Hi,
> > I am trying to build oob for my xo 1.75. But I am getting following
> error:
> > Please help.
> > 
> > Retrieving http://mock.laptop.org/repos/koji.dist-f14-armv5tel/repodata/
> > repomd.xml ...OK
> > Retrieving
> http://mock.laptop.org/repos/koji.dist-f14-armv5tel-updates-11.3.0/
> > repodata/repomd.xml ...OK
> > Retrieving 
> > http://mock.laptop.org/repos/local.11.3.0/repodata/repomd.xml...OK
> > Retrieving
> http://mock.laptop.org/repos/local.11.3.0-xo1.75/repodata/repomd.xml
> > ...OK
> > ERROR:root:Error creating Live CD : Failed to find package
> 'openssh-clients' :
> > No package(s) available to install
> >  * Caught error, cleanup and then bail out.
> >  * Running part cleanup base cleanup.50.cleanup.sh...
> >  * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh...
> > ERROR: Failure in BuildStage: module base, part build.40.imagecreate.py,
> error
> > code 1
> > --
> > I have following system:
> > --
> > [root@basanta-dev examples]# pwd
> > /usr/share/doc/olpc-os-builder-4.0.0/example
> > [root@basanta-dev examples]# more /etc/redhat-release
> > Fedora release 14 (Laughlin)
> > [root@basanta-dev examples]# rpm -qa | grep openssh-clients
> > openssh-clients-5.5p1-24.fc14.2.i686
> > [root@basanta-dev examples]# ls
> /usr/share/doc/olpc-os-builder-4.0.0/examples/
> > [root@basanta-dev examples]# olpc-os-builder /usr/share/doc/
> > olpc-os-builder-4.0.0/examples/olpc-os-11.3.0-xo1.75.ini
> >
> > --
> > Basanta Shrestha
> > OLE Nepal
> >
>
> > ___
> > Devel mailing list
> > Devel@lists.laptop.org
> > http://lists.laptop.org/listinfo/devel
>
>
> --
> James Cameron
> http://quozl.linux.org.au/
>



-- 
Basanta Shrestha
Network Engineer
Open Learning Exchange (OLE) Nepal
Tel: +977.1.551, 5520075 Ext. 303
Cell: +977.9818 605110
http://www.olenepal.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: error building oob for XO 1.75

2013-03-06 Thread James Cameron
Your builder system should have an ARM processor, but I see from your
rpm -qa that you have an i686 package installed.  This is because
builder system is not ARM processor?

See http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware for how to
build 11.3.x on XO-1.75 hardware.

On Wed, Mar 06, 2013 at 03:38:37PM +0545, Basanta Shrestha wrote:
> Hi,
> I am trying to build oob for my xo 1.75. But I am getting following error:
> Please help. 
> 
> Retrieving http://mock.laptop.org/repos/koji.dist-f14-armv5tel/repodata/
> repomd.xml ...OK
> Retrieving http://mock.laptop.org/repos/koji.dist-f14-armv5tel-updates-11.3.0/
> repodata/repomd.xml ...OK
> Retrieving http://mock.laptop.org/repos/local.11.3.0/repodata/repomd.xml ...OK
> Retrieving 
> http://mock.laptop.org/repos/local.11.3.0-xo1.75/repodata/repomd.xml
> ...OK
> ERROR:root:Error creating Live CD : Failed to find package 'openssh-clients' :
> No package(s) available to install
>  * Caught error, cleanup and then bail out.
>  * Running part cleanup base cleanup.50.cleanup.sh...
>  * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh...
> ERROR: Failure in BuildStage: module base, part build.40.imagecreate.py, error
> code 1
> --
> I have following system: 
> --
> [root@basanta-dev examples]# pwd
> /usr/share/doc/olpc-os-builder-4.0.0/example
> [root@basanta-dev examples]# more /etc/redhat-release
> Fedora release 14 (Laughlin)
> [root@basanta-dev examples]# rpm -qa | grep openssh-clients
> openssh-clients-5.5p1-24.fc14.2.i686
> [root@basanta-dev examples]# ls /usr/share/doc/olpc-os-builder-4.0.0/examples/
> [root@basanta-dev examples]# olpc-os-builder /usr/share/doc/
> olpc-os-builder-4.0.0/examples/olpc-os-11.3.0-xo1.75.ini
> 
> --
> Basanta Shrestha
> OLE Nepal 
> 

> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel


-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel