<div dir="ltr">Thanks for all the help. First I'm going to try to fix module loading. I think instead of using the 4.8 kernel I'm going to use olpc-3.10 but update it to 3.10.108, and enable CONFIG_FHANDLE for systemd.<div><br></div><div>I have another tiny question:</div><div>In olpc-os-builder where does the kernel come from? I see it defined as "kernel" in a package list, but how does it know what OLPC branch to use, etc?</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div><br></div><div>Ethan Nelson-Moore</div></div></div></div></div></div><div class="gmail_extra"><div><div class="gmail-m_464342028254111934gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Dec 28, 2017 at 11:00 AM,  <span dir="ltr"><<a href="mailto:soas-request@lists.sugarlabs.org" target="_blank">soas-request@lists.sugarlabs.<wbr>org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send SoaS mailing list submissions to<br>
        <a href="mailto:soas@lists.sugarlabs.org" target="_blank">soas@lists.sugarlabs.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.sugarlabs.org/listinfo/soas" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/lis<wbr>tinfo/soas</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:soas-request@lists.sugarlabs.org" target="_blank">soas-request@lists.sugarlabs.o<wbr>rg</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:soas-owner@lists.sugarlabs.org" target="_blank">soas-owner@lists.sugarlabs.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of SoaS digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. How to: Partially working Fedora 26 Sugar on a Stick on the<br>
      XO-1 (Ethan)<br>
   2. Re: How to: Partially working Fedora 26 Sugar on a Stick on<br>
      the XO-1 (James Cameron)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Wed, 27 Dec 2017 20:33:41 -0600<br>
From: Ethan <<a href="mailto:parrotgeek1@gmail.com" target="_blank">parrotgeek1@gmail.com</a>><br>
To: <a href="mailto:soas@lists.sugarlabs.org" target="_blank">soas@lists.sugarlabs.org</a><br>
Subject: [SoaS] How to: Partially working Fedora 26 Sugar on a Stick<br>
        on the  XO-1<br>
Message-ID:<br>
        <<a href="mailto:CAHW1XJ0qbUN4HX8A9D%2BXN83ky4p5keSB9kUkcNPwORChaWCKbQ@mail.gmail.com" target="_blank">CAHW1XJ0qbUN4HX8A9D+XN83ky4p5<wbr>keSB9kUkcNPwORChaWCKbQ@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello everyone,<br>
I was able to make my own kernel 4.15 for the XO-1 in order to boot SoaS<br>
Fedora 26 on the XO-1. Here is how I did it. I would like help fixing the<br>
bugs.<br>
<br>
Instructions<br>
------------------------------<wbr>--------<br>
<br>
the xo needs to be unlocked with dev key<br>
AND update firmware to latest version otherwise new kernel doesn't boot!<br>
<br>
download soas i386 iso Fedora-SoaS-Live-i386-26-1.5 from<br>
<a href="http://dl.fedoraproject.org/pub/fedora-secondary/releases/26/Spins/i386/iso/" rel="noreferrer" target="_blank">http://dl.fedoraproject.org/pu<wbr>b/fedora-secondary/releases/26<wbr>/Spins/i386/iso/</a><br>
<br>
put soas i386 iso in vmware<br>
connect 4gb+ usb drive to it and share in vmware<br>
give yourself a name, color, grade<br>
open terminal, run<br>
<br>
sudo liveinst<br>
<br>
select sdb1 as device<br>
go to custom partitioning<br>
delete all partitions<br>
create "/" as standard, ext2! not ext3 or ext4<br>
set / type to standard not lvm!<br>
change / partition label to "SoaS" EXACTLY<br>
click update settings<br>
click done multiple times, accept changes<br>
click begin installation<br>
<br>
click root password. type olpc for root password, click done twice<br>
make user olpc with admin, password also olpc (for compatibliity with old<br>
activities), click done twice<br>
<br>
when installer done (note: it will say 100% for a long time):<br>
close installer<br>
<br>
reboot vm by clicking reboot on xo guy. NOT by closing window<br>
run in terminal<br>
<br>
cd /run/media/liveuser/SoaS<br>
curl -Lo /tmp/a.zip <a href="http://parrotgeek.com/downloads/xofix.zip" rel="noreferrer" target="_blank">parrotgeek.com/downloads/xofix<wbr>.zip</a><br>
sudo unzip /tmp/a.zip<br>
sudo cp boot/initramfs*i686.img boot/xoinitrd.img<br>
<br>
note: the kernel in xofix.zip is from:<br>
<a href="https://github.com/parrotgeek1/linuxXO" rel="noreferrer" target="_blank">https://github.com/parrotgeek1<wbr>/linuxXO</a><br>
<br>
SHUT DOWN the vm by clicking shut down on xo guy. NOT by closing window<br>
<br>
do NOT reboot from the USB on a computer other than XO!<br>
<br>
then plug the usb into xo and boot! it should work<br>
<br>
----------------------------<br>
<br>
Critical Bugs:<br>
<br>
!!! When Xorg starts there is a weird LCD fade effect like DCON hardware is<br>
being initialized wrong<br>
5+ minute boot time due to firewalld, sssd failing to start.<br>
After login, XO sits for a very long time at only a mouse cursor, with the<br>
mic light on<br>
Screen is not scaled to 200 DPI. Attempts to copy xorg.conf from an XO<br>
image resulted in Xorg not starting. Also, Xorg is using fbdev not geode.<br>
no wifi (Need firmware. Also no kernel modules are loading)<br>
Impossible to open frame with mouse unless change corner size to 5px, maybe<br>
dpi issue?<br>
Rotate button doesn't work (maybe because it isn't using geode driver)<br>
Power management does not work at all. Disk and Wifi lights don't work.<br>
webcam does not work (No modules are loading)<br>
On keyboard, the increasing size dots, and 2 boxes overlapping keys do not<br>
work<br>
Brightness keys work but super slow to change brightness<br>
it doesn't see the nand (driver loads but fail to init)<br>
/ofw not mounted<br>
<br>
Cosmetic bugs:<br>
<br>
Not asked for name at first boot, instead it is "olpc"<br>
Login screen shows instead of auto login<br>
[SoaS bug] Loading mouse cursor is the gnome one not xo one<br>
Hostname is localhost not like xo-4b-e0-31<br>
Sudo needs a password<br>
[VTE bug] "777 notify command completed" in terminal<br>
No splash screen or shutdown screen<br>
Need to decrease activity launch animation rate like xo official image does<br>
It shows "Log out" in xo menu<br>
Ctrl+Alt+F1...F5 don't work<br>
Ctrl+Alt+Backspace don't work. It can be re-enabled by setting the DontZap<br>
xorg.conf option to False<br>
OLPC specific tools missing<br>
Probably other things I haven't thought of<br>
<br>
<br>
Good luck,<br>
Ethan Nelson-Moore<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sugarlabs.org/archive/soas/attachments/20171227/94057f66/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/ar<wbr>chive/soas/attachments/2017122<wbr>7/94057f66/attachment-0001.<wbr>html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 28 Dec 2017 14:10:28 +1100<br>
From: James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
To: Development of live Sugar distributions <<a href="mailto:soas@lists.sugarlabs.org" target="_blank">soas@lists.sugarlabs.org</a>><br>
Subject: Re: [SoaS] How to: Partially working Fedora 26 Sugar on a<br>
        Stick on the XO-1<br>
Message-ID: <<a href="mailto:20171228031028.GG7823@us.netrek.org" target="_blank">20171228031028.GG7823@us.netr<wbr>ek.org</a>><br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
On Wed, Dec 27, 2017 at 08:33:41PM -0600, Ethan wrote:<br>
> Hello everyone,<br>
> I was able to make my own kernel 4.15 for the XO-1 in order to boot SoaS Fedora<br>
> 26 on the XO-1. Here is how I did it. I would like help fixing the<br>
> bugs.<br>
<br>
help in the form of advice below.<br>
<br>
> Instructions<br>
> ------------------------------<wbr>--------<br>
><br>
> the xo needs to be unlocked with dev key<br>
> AND update firmware to latest version otherwise new kernel doesn't boot!<br>
><br>
> download soas i386 iso Fedora-SoaS-Live-i386-26-1.5 from  <br>
> [1]<a href="http://dl.fedoraproject.org/pub/fedora-secondary/releases/26/Spins/i386/iso/" rel="noreferrer" target="_blank">http://dl.fedoraproject.org<wbr>/pub/fedora-secondary/releases<wbr>/26/Spins/i386/iso/</a><br>
><br>
> put soas i386 iso in vmware<br>
> connect 4gb+ usb drive to it and share in vmware<br>
> give yourself a name, color, grade<br>
> open terminal, run<br>
><br>
> sudo liveinst<br>
><br>
> select sdb1 as device<br>
> go to custom partitioning<br>
> delete all partitions<br>
> create "/" as standard, ext2! not ext3 or ext4<br>
> set / type to standard not lvm!<br>
> change / partition label to "SoaS" EXACTLY<br>
> click update settings<br>
> click done multiple times, accept changes<br>
> click begin installation<br>
><br>
> click root password. type olpc for root password, click done twice<br>
> make user olpc with admin, password also olpc (for compatibliity with old<br>
> activities), click done twice<br>
><br>
> when installer done (note: it will say 100% for a long time):<br>
> close installer<br>
><br>
> reboot vm by clicking reboot on xo guy. NOT by closing window<br>
> run in terminal<br>
><br>
> cd /run/media/liveuser/SoaS<br>
> curl -Lo /tmp/a.zip [2]<a href="http://parrotgeek.com/downloads/xofix.zip" rel="noreferrer" target="_blank">parrotgeek.com/downloads/xo<wbr>fix.zip</a><br>
> sudo unzip /tmp/a.zip<br>
> sudo cp boot/initramfs*i686.img boot/xoinitrd.img<br>
><br>
> note: the kernel in xofix.zip is from: [3]<a href="https://github.com/parrotgeek1/" rel="noreferrer" target="_blank">https://github.com/parrotge<wbr>ek1/</a><br>
> linuxXO<br>
<br>
thanks, i'll review those patches.<br>
<br>
you might compare some of the kernel config changes against my work on<br>
this last year;<br>
<br>
<a href="http://dev.laptop.org/git/olpc-2.6/commit/?h=olpc-4.8&id=4731695ff517ccb145e60d68acd2f7f15eb4ab6b" rel="noreferrer" target="_blank">http://dev.laptop.org/git/olpc<wbr>-2.6/commit/?h=olpc-4.8&id=473<wbr>1695ff517ccb145e60d68acd2f7f15<wbr>eb4ab6b</a><br>
<br>
and your dcon changes look a bit like mine;<br>
<br>
<a href="https://github.com/parrotgeek1/linuxXO/commit/8d0c96ebf50b6584f027998cf334df9cd598c16b" rel="noreferrer" target="_blank">https://github.com/parrotgeek1<wbr>/linuxXO/commit/8d0c96ebf50b65<wbr>84f027998cf334df9cd598c16b</a><br>
<a href="http://dev.laptop.org/git/olpc-2.6/commit/?h=olpc-4.8&id=e6f94ddd3c4227bb0367e6048f95bac5b09c9389" rel="noreferrer" target="_blank">http://dev.laptop.org/git/olpc<wbr>-2.6/commit/?h=olpc-4.8&id=e6f<wbr>94ddd3c4227bb0367e6048f95bac5b<wbr>09c9389</a><br>
<br>
> SHUT DOWN the vm by clicking shut down on xo guy. NOT by closing window<br>
><br>
> do NOT reboot from the USB on a computer other than XO!<br>
><br>
> then plug the usb into xo and boot! it should work<br>
><br>
> ----------------------------<br>
><br>
> Critical Bugs:<br>
><br>
> !!! When Xorg starts there is a weird LCD fade effect like DCON hardware is<br>
> being initialized wrong<br>
<br>
yes, i've seen that.  i've no idea what caused it, but it should be<br>
easy to find using git bisect.  suspect console dpms switching.<br>
<br>
> 5+ minute boot time due to firewalld, sssd failing to start.<br>
<br>
interesting, thanks.  i've no idea why that should be a problem.<br>
<br>
> After login, XO sits for a very long time at only a mouse cursor, with the mic<br>
> light on<br>
<br>
you might attach serial adapter or use ssh to diagnose the system at<br>
this point.  the mic light can be ignored for the moment, i think, as<br>
the audio driver has changed since we last had it working.<br>
<br>
> Screen is not scaled to 200 DPI. Attempts to copy xorg.conf from an XO image<br>
> resulted in Xorg not starting. Also, Xorg is using fbdev not geode.<br>
<br>
yes, x server has changed, you'll need to adapt the xorg.conf<br>
accordingly.  also make sure a geode driver is present.<br>
<br>
> no wifi (Need firmware. Also no kernel modules are loading)<br>
<br>
yep, fix kernel module loading, fix firmware loading; which is<br>
different in later kernels to what it once was.<br>
<br>
> Impossible to open frame with mouse unless change corner size to<br>
> 5px, maybe dpi issue?<br>
<br>
you might use xdotool to print the cursor position and compare to the<br>
display dimensions shown by xdpyinfo.<br>
<br>
> Rotate button doesn't work (maybe because it isn't using geode<br>
> driver)<br>
<br>
because olpc-kbdshim isn't used.<br>
<br>
> Power management does not work at all.<br>
<br>
use olpc-powerd.<br>
<br>
> Disk and Wifi lights don't work.<br>
<br>
don't think we had disk lights working on xo-1.<br>
<br>
wifi lights will work once you have wireless firmware and libertas<br>
driver loaded.<br>
<br>
> webcam does not work (No modules are loading)<br>
<br>
once you fix module loading, you may find the ov7670 module won't work<br>
with the camera anymore, as it got changed since it last worked.  hit<br>
that myself when i was looking at v4.9.<br>
<br>
> On keyboard, the increasing size dots, and 2 boxes overlapping keys<br>
> do not work<br>
<br>
use olpc-kbdshim.<br>
<br>
> Brightness keys work but super slow to change brightness<br>
<br>
in the absence of olpc-kdbshim support, sugar receives the key press<br>
event and uses a shell script to handle the keys.  this is very slow,<br>
as it rises through consolekit.<br>
<br>
> it doesn't see the nand (driver loads but fail to init)<br>
<br>
that's a new bug since v4.8; jffs2 and nandflash were working fine for<br>
me then.  use git bisect.<br>
<br>
> /ofw not mounted<br>
<br>
interesting.  guess the driver may have been removed, or by not<br>
including olpc-utils the filesystem was not mounted.<br>
<br>
> Cosmetic bugs:<br>
><br>
> Not asked for name at first boot, instead it is "olpc"<br>
<br>
not a bug; that's a deliberate soas feature.<br>
<br>
> Login screen shows instead of auto login<br>
<br>
not a bug; that's a deliberate soas feature.<br>
<br>
> [SoaS bug] Loading mouse cursor is the gnome one not xo one<br>
<br>
think the sugar mouse cursor was removed, as sugar steals the gnome<br>
setting, and it infects gnome desktop when it is used.  have a look at<br>
the fedora packaging patches.<br>
<br>
> Hostname is localhost not like xo-4b-e0-31<br>
<br>
that's a feature of olpc-utils, not soas.<br>
<br>
> Sudo needs a password<br>
<br>
that's a feature of olpc-utils, not soas.<br>
<br>
> [VTE bug] "777 notify command completed" in terminal<br>
<br>
that's a bug in fedora, known for years.  it does not happen on debian<br>
or ubuntu.<br>
<br>
> No splash screen or shutdown screen<br>
<br>
that's a feature of olpc-powerd, not soas.<br>
<br>
> Need to decrease activity launch animation rate like xo official<br>
> image does<br>
<br>
indeed, the animation consumes most of the available processor<br>
resources; and i fixed that years ago.  you can see the customisation<br>
in olpc-os-builder.<br>
<br>
> It shows "Log out" in xo menu<br>
<br>
that's a normal feature of sugar.  olpc-os-builder removes it.<br>
<br>
> Ctrl+Alt+F1...F5 don't work<br>
<br>
no idea, but check the keyboard mapping, and test with chvt.<br>
<br>
> Ctrl+Alt+Backspace don't work. It can be re-enabled by setting the DontZap<br>
> xorg.conf option to False<br>
<br>
it hasn't worked for years, intentionally.<br>
<br>
> OLPC specific tools missing<br>
> Probably other things I haven't thought of<br>
<br>
yes, lots and lots.  soas is not olpc os, they have diverged.<br>
<br>
> Good luck,<br>
> Ethan Nelson-Moore<br>
<br>
sounds like fun, well done!<br>
<br>
--<br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
SoaS mailing list<br>
<a href="mailto:SoaS@lists.sugarlabs.org" target="_blank">SoaS@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/soas" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/lis<wbr>tinfo/soas</a><br>
<br>
<br>
------------------------------<br>
<br>
End of SoaS Digest, Vol 73, Issue 4<br>
******************************<wbr>*****<br>
</blockquote></div><br></div></div>