Re: [Server-devel] Booting F9 kernels on XO...
On Thu, Apr 16, 2009 at 1:06 AM, Jerry Vonau wrote: >> > - Build a kernel exactly like Fedora 9 kernels, but with the mmc >> > drivers built statically. This is what I am am doing right now, >> > following the nice guide at >> > http://fedoraproject.org/wiki/Docs/CustomKernel > > Martin: what kernel version? I was working on kernel-2.6.27.21-78.2.41.fc9.src.rpm and editing the config file to bring in MMC stuff, ext3, and disable SMP. It still oops on himem32 (I initially understood that oops to be an SMP problem). cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Booting F9 kernels on XO...
On Wed, 2009-04-15 at 12:14 -0400, Daniel Drake wrote: > 2009/4/15 Martin Langhoff : > > - dsd has a nice "fixup F9 for XO" script described here > > > > http://www.reactivated.net/weblog/archives/2008/08/regular-linux-desktops-on-the-xo/ > > > > The script builds a custom 2.6.25 which I think pulls in a few > > additional patches (sound, etc), but most importantly, it builds the > > mmc related drivers statically. It also sets up an initrd. > > > > If we try to boot with the initd, it fails. But if we skip the initrd, > > the system boots. > > What's the problem? Think we need to be little clearer here.. Martin was building an ext3 image of an XS server for use on the XO. I added some bits to /etc/sysconfig/mkinitrd and called mkinitrd in %post of the kickstart file. This initrd doesn't play nice when booting F9's 2.6.27 kernel. Remaking the initrd on the XO doesn't help, using the hints from: http://lists.laptop.org/pipermail/server-devel/2009-April/003212.html > My custom initramfs definitely boots on my XO. > Also the stock F9 one did too, but it landed a lot of errors during > boot (which took several seconds to enumerate). > I have anaconda running on the XO, installs to usbkeys/booting from are fine with F9. F11's anaconda runs straight away, but opps when installing the rpms to the MMC card. > > - Build a kernel exactly like Fedora 9 kernels, but with the mmc > > drivers built statically. This is what I am am doing right now, > > following the nice guide at > > http://fedoraproject.org/wiki/Docs/CustomKernel Martin: what kernel version? > And boot without an initramfs? > When I did this IIRC boot would fail approximately 1 in 5 attempts > with sdhci errors. Never got a chance to figure out why, but putting > in the initramfs hid the problem nicely. I just d/l'ed http://dev.laptop.org/~cjb/rawhide-xo/f11-beta/20090403.bootable.gz this kernel opps for me also when booting from the MMC card. Bad mmc card on my part maybe? Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Debugging booting problems with F9 on SD card...
On Wed, 15 Apr 2009, Sameer Verma wrote: > On Wed, Apr 15, 2009 at 2:41 AM, Martin Langhoff > wrote: >> On Wed, Apr 15, 2009 at 11:08 AM, Peter Robinson >> wrote: >>> What would it take to move the next XS Server release to either F10 or >>> F11 as F9 will be EOL as soon as F11 comes out in a month or so (one >>> month after F11 is out F9 will be EOL). >> >> It's a bit of a recurring question. I am swamped with feature >> development for a while. My hope is to port to F11 or even F12 when I >> can. Help is welcome and Jerry is doing a lot of work on F10/11. >> >> But qualifiying something as an XS release is a sizable workload t is >> to do all the testing to ensure it is stable, installs/upgrades and >> works as desired. It takes quite a bit of effort and gear. And I want >> to limit how many Fedora releases I have to support. (My plan is to >> transition to a stable RHEL/Centos asap, hence my F11/F12 targets.) >> > > +1 > > Fedora releases are too fast a moving target. I personally use Ubuntu > LTS or Debian Stable for my servers for this very reason. Choose CentOS. The workflow for managing development atop Centos and Fedora are essentially the same. --g -- Computer Science professors should be teaching open source. Help make it happen. Visit http://teachingopensource.org. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Debugging booting problems with F9 on SD card...
On Wed, 15 Apr 2009, Martin Langhoff wrote: On Wed, Apr 15, 2009 at 6:01 PM, Greg Dekoenigsberg wrote: Choose CentOS. The workflow for managing development atop Centos and Fedora are essentially the same. That's the plan for the XS (I'm sure gregdek knows it, but it's good to broadcast the msg) :-) In the meantime, about that initrd brokenness... any takers? Is there a bug I can herd people towards? --g -- Computer Science professors should be teaching open source. Help make it happen. Visit http://teachingopensource.org. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Debugging booting problems with F9 on SD card...
On Wed, Apr 15, 2009 at 2:41 AM, Martin Langhoff wrote: > On Wed, Apr 15, 2009 at 11:08 AM, Peter Robinson wrote: >> What would it take to move the next XS Server release to either F10 or >> F11 as F9 will be EOL as soon as F11 comes out in a month or so (one >> month after F11 is out F9 will be EOL). > > It's a bit of a recurring question. I am swamped with feature > development for a while. My hope is to port to F11 or even F12 when I > can. Help is welcome and Jerry is doing a lot of work on F10/11. > > But qualifiying something as an XS release is a sizable workload t is > to do all the testing to ensure it is stable, installs/upgrades and > works as desired. It takes quite a bit of effort and gear. And I want > to limit how many Fedora releases I have to support. (My plan is to > transition to a stable RHEL/Centos asap, hence my F11/F12 targets.) > +1 Fedora releases are too fast a moving target. I personally use Ubuntu LTS or Debian Stable for my servers for this very reason. Sameer > But that for the future. > > At this stage, people are needing to boot our F9 based XS-0.5.x and > upcoming 0.6, and that's what I am asking for help with. > > Can you help me with that? :-) There's an odd issue with booting when > an initrd is involved. > > cheers, > > > martin > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > ___ > Devel mailing list > de...@lists.laptop.org > http://lists.laptop.org/listinfo/devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes < guillaume.desmot...@collabora.co.uk> wrote: > Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit : > > > > > AHA! gadget.config. > > > > Can we add the startup and gadget.config to the README? > > I didn't realise this file was not documented, sorry for that. > > I wrote some words about it in this patch: > > > http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083 > > Could you review it please? Then I'll merge it to master. > > > thanks, > > >G. > Tried this based on the documentation you added less /etc/gadget/gadget.config server_host = 'localhost' server_port = 5560 domain = 'sugarlabs.org' password = 'X' roster_path = 'gadget.roster' ejabberd-xs.cfg {5560, ejabberd_service, [ {ip, {127, 0, 0, 1}}, {access, all}, {host, "gadget.localhost", [{password, "X"}]}]} Same result in the gadget log. Restarted ejabbderd and gadget services. Dave -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XS Restore UI and account aliasing are ready for testing...
2009/4/15 Tomeu Vizoso : > Hi Martin, > > how is this going? I think Paraguay were interested in deploying > backups, are they going to use this code or further development is > needed by them? Any other deployments in sight? The current interest from Paraguay is a simple way to do a full restore after a reflash, which is currently outside of Martin's work (I believe). I hacked some scripts together which have been installed on the XOs, they can be used by the technicians and hopefully even the more advanced teachers/children. Ideally further development work is needed here, probably at the sugar level (some kind of utility which displays all available backups, allows full restore of any one of them, etc). We haven't yet seen any demand for a single-file restore feature and are not offering this on the XS-0.5.2's that we are deploying. However who knows which needs will appear once the laptops are delivered to the children next week! Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Booting F9 kernels on XO...
On Wed, Apr 15, 2009 at 3:10 PM, Josh Boyer wrote: > Why are you focusing on F9? There was a large push to get F10 working Sorry! I mis-addressed the email, was supposed to be to fedora-olpc-list. Your question is a valid, and a bit of a FAQ - reply here: http://lists.laptop.org/pipermail/server-devel/2009-April/003223.html cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Booting F9 kernels on XO...
On Wed, Apr 15, 2009 at 8:20 AM, Martin Langhoff wrote: > Summary: > > - F9 kernels don't boot on the XO from an SD card -- even if we get > the initrd to have the right modules, the initrd loads the modules, > creates the device nodes, and yet fails to mount /dev/root -- Why are you focusing on F9? There was a large push to get F10 working on the XO, which mostly succeeded. There is an even more focused pushed to get F11 working on the XO, and I believe Chris Ball has daily images that can be used. josh ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Booting F9 kernels on XO...
Summary: - F9 kernels don't boot on the XO from an SD card -- even if we get the initrd to have the right modules, the initrd loads the modules, creates the device nodes, and yet fails to mount /dev/root -- - dsd has a nice "fixup F9 for XO" script described here http://www.reactivated.net/weblog/archives/2008/08/regular-linux-desktops-on-the-xo/ The script builds a custom 2.6.25 which I think pulls in a few additional patches (sound, etc), but most importantly, it builds the mmc related drivers statically. It also sets up an initrd. If we try to boot with the initd, it fails. But if we skip the initrd, the system boots. So there are two avenues - Figuring out what is wrong with the initrds, and fix mkinitrd. Help would be welcome here from people who know more about debugging initrds :-) (is there a way to get dumped into a nash shell when it all breaks?) - Build a kernel exactly like Fedora 9 kernels, but with the mmc drivers built statically. This is what I am am doing right now, following the nice guide at http://fedoraproject.org/wiki/Docs/CustomKernel cheers, martin -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] XS Restore UI and account aliasing are ready for testing...
On Thu, Apr 2, 2009 at 21:26, Martin Langhoff wrote: > Over the last few days^Wweeks I have been trying to finish off the > 'restore' side of our backup infrastructure, as well as the account > aliasing needed to handle the "replaced laptop" scenario. > > I've just pushed the last patch, everything works well and tests well > for me. More eyes are welcome. > > What are we testing? the 'restore' UI for > http://wiki.laptop.org/go/XS_Blueprints:Datastore_Simple_Backup_and_Restore > > And then, the same restore UI in combination with... > http://wiki.laptop.org/go/XS_Blueprints:User_account_aliasing#Notes > > And, tangentially, https://dev.laptop.org/ticket/8140 > > How to test it? > > - Get a few laptops with 8.2 - upgrade Browse to the latest > 8.2-compatible version (101 I think) > > - Setup a XS 5.2 and grab my development version of moodle - > instructions here: > http://lists.laptop.org/pipermail/server-devel/2009-March/003126.html > > - You'll need another laptop to login as 'admin' (the password is in > /etc/moodle/adminpw), browse to the user's profile page and set the > aliasing. (Working on fixing this.) > > - Perform the tests as described in the blueprint pages above... Hi Martin, how is this going? I think Paraguay were interested in deploying backups, are they going to use this code or further development is needed by them? Any other deployments in sight? Regards, Tomeu > cheers, > > > > martin > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > ___ > Devel mailing list > de...@lists.laptop.org > http://lists.laptop.org/listinfo/devel > ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel