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

