User:Dbarral: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Hi, |
Hi, registered 2008/08/05 23:23, just created my account and want to see the xo working. After browsing the wiki, I'm following the instructions to install the experimental package [http://dev.laptop.org/~mncharity/olpc_xo_qemu/olpc_xo_qemu-0.009.tar.gz olpc_xo_qemu (Version: 0.009)] by [[User:MitchellNCharity|MitchellNCharity]] linked to in the [http://wiki.laptop.org/go/Emulating_the_XO Emulation Page] . Let's see how it goes |
||
==Download and install== |
|||
Downloaded [[http://dev.laptop.org/~mncharity/olpc_xo_qemu/olpc_xo_qemu-0.009.tar.gz][olpc_xo_qemu (Version: 0.009)]] and installed |
|||
#python setup.py install |
#python setup.py install |
||
Start using it |
|||
$ xo-qemu --new-user |
$ xo-qemu --new-user |
||
Welcome to OLPC laptop emulation on QEMU. |
Welcome to OLPC laptop emulation on QEMU. |
||
http://wiki.laptop.org/go/Emulating_the_XO and |
http://wiki.laptop.org/go/Emulating_the_XO and |
||
http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start/Linux |
http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start/Linux |
||
have instructions for gettings started. |
have instructions for gettings started. |
||
Checking qemu... ok. |
Checking qemu... ok. |
||
Checking qemu's kqemu... |
Checking qemu's kqemu... |
||
Is kqemu installed? I can't tell. |
Is kqemu installed? I can't tell. |
||
The emulated laptop is painfully slow without it. |
The emulated laptop is painfully slow without it. |
||
It might be installed, but not available. |
It might be installed, but not available. |
||
Usually this occurs when modprobe has not been run since you last rebooted. |
Usually this occurs when modprobe has not been run since you last rebooted. |
||
I installed kqemu-common, then it says |
I installed kqemu-common, then it says |
||
It looks like kqemu is installed. |
It looks like kqemu is installed. |
||
I don't know how to check if kqemu is working without starting a laptop. |
I don't know how to check if kqemu is working without starting a laptop. |
||
If you see "QEMU acceleration layer not activated" when a laptop is first |
If you see "QEMU acceleration layer not activated" when a laptop is first |
||
started, then kqemu isn't working. |
started, then kqemu isn't working. |
||
Usually this occurs when modprobe has not been run since you last rebooted. |
Usually this occurs when modprobe has not been run since you last rebooted. |
||
OK I'M REBOOTING, but first I'll run 'xo-qemu --report', which is slow too |
OK I'M REBOOTING, but first I'll run 'xo-qemu --report', which is slow too |
||
what is all this? |
what is all this? |
||
ship.2 |
ship.2 |
||
meshtest |
meshtest |
||
joyride |
joyride |
||
faster |
faster |
||
olpc3 |
olpc3 |
||
8.2 |
8.2 |
||
update.1 |
update.1 |
||
anyway I choose ship.2 |
anyway I choose ship.2 |
||
$ xo-qemu --make-laptop test1 ship.2 |
$ xo-qemu --make-laptop test1 ship.2 |
||
fails, now I understand that --report connects to some site and lists builds available, it does not list the builds stored in the local folder. So I must download one? |
fails, now I understand that --report connects to some site and lists builds available, it does not list the builds stored in the local folder. So I must download one? |
||
⚫ | |||
⚫ | |||
'build' folder, AND NOT 'builds' AS SHOWN IN THE EXAMPLE FOR --new-user, contained already some images |
'build' folder, AND NOT 'builds' AS SHOWN IN THE EXAMPLE FOR --new-user, contained already some images |
||
$ xo-qemu --make-laptop test1 ship.2 |
$ xo-qemu --make-laptop test1 ship.2 |
||
fails because the file name is not correct |
fails because the file name is not correct |
||
$ xo-qemu --make-laptop test1 olpc-redhat-stream-ship.2-build-659-20080229_1949-devel_ext3.img.bz2 |
$ xo-qemu --make-laptop test1 olpc-redhat-stream-ship.2-build-659-20080229_1949-devel_ext3.img.bz2 |
||
failed because the test1 Directory already existed, delete it and try again ... |
failed because the test1 Directory already existed, delete it and try again ... |
||
it works. |
it works. |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
Your |
Your public key has been saved in test1/config/ssh_key.pub. |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |
Latest revision as of 22:41, 9 September 2008
Hi, registered 2008/08/05 23:23, just created my account and want to see the xo working. After browsing the wiki, I'm following the instructions to install the experimental package olpc_xo_qemu (Version: 0.009) by MitchellNCharity linked to in the Emulation Page . Let's see how it goes
Download and install
#python setup.py install
$ xo-qemu --new-user
Welcome to OLPC laptop emulation on QEMU. http://wiki.laptop.org/go/Emulating_the_XO and http://wiki.laptop.org/go/Emulating_the_XO/Quick_Start/Linux have instructions for gettings started. Checking qemu... ok. Checking qemu's kqemu... Is kqemu installed? I can't tell. The emulated laptop is painfully slow without it. It might be installed, but not available. Usually this occurs when modprobe has not been run since you last rebooted.
I installed kqemu-common, then it says
It looks like kqemu is installed. I don't know how to check if kqemu is working without starting a laptop. If you see "QEMU acceleration layer not activated" when a laptop is first started, then kqemu isn't working. Usually this occurs when modprobe has not been run since you last rebooted.
OK I'M REBOOTING, but first I'll run 'xo-qemu --report', which is slow too
what is all this?
ship.2 meshtest joyride faster olpc3 8.2 update.1
anyway I choose ship.2
$ xo-qemu --make-laptop test1 ship.2
fails, now I understand that --report connects to some site and lists builds available, it does not list the builds stored in the local folder. So I must download one?
$ xo-qemu --get-build ship.2 659 build
'build' folder, AND NOT 'builds' AS SHOWN IN THE EXAMPLE FOR --new-user, contained already some images
$ xo-qemu --make-laptop test1 ship.2
fails because the file name is not correct
$ xo-qemu --make-laptop test1 olpc-redhat-stream-ship.2-build-659-20080229_1949-devel_ext3.img.bz2
failed because the test1 Directory already existed, delete it and try again ...
it works.
After a minute or two, the laptop will start up, run briefly to configure itself, and then shutdown. You can then run it by saying: test1/xo on qemu -kernel-kqemu -serial stdio -m 256 -net user -net nic,model=rtl8139 -hda test1/disk.img Generating public/private rsa key pair. Your identification has been saved in test1/config/ssh_key. Your public key has been saved in test1/config/ssh_key.pub. The key fingerprint is: 7c:e2:57:ec:45:cc:33:54:65:cf:a2:47:eb:d2:35:c7 dani@zaka