Re: [Server-devel] Early F11 XS build

2009-10-28 Thread Martin Langhoff
On Mon, Oct 26, 2009 at 6:42 PM, Jerry Vonau jvo...@shaw.ca wrote:
 Ok, see two issue, I forgot that the behaviour of method= changed
 between F9  F11. We now need to make use of stage2= in place of
 method=(method is going away, anyway).

Actually, the winner is repo=hd:LABEL=XSRepo -- with that it picks
up both stage2 (installer.img) and the iso. Might even work without
'repo' even.

With that anaconda gets going. Issues I am seeing

 - Anaconda gets confused with the 'family' name having spaces. This
is probably minor / cosmetic. We cannot change the name as it'll break
upgrades.

 - Anaconda barfs when ks asks to create a VolGroup with a name that
already exists. Like... when re-installing an XS!

 - The removal of the old VG either dies or is going to take a few
years. After 15 minutes it hasn't produced much, and there is no
apparent disk IO.

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] Early F11 XS build

2009-10-27 Thread Martin Langhoff
On Mon, Oct 26, 2009 at 10:40 PM, Jerry Vonau jvo...@shaw.ca wrote:
 http://members.shaw.ca/jvonau/pub/mkusbinstall-F11
 http://members.shaw.ca/jvonau/pub/mkusbinstall-F12

Cool. I'll add those to the xs-livecd repo.

 My XO-1 boots using version 0.7.0 iso as the source for mkusbinstall.

Great. I still think that for XO hardware it's saner to ship the built
img. Running anaconda / rpm on the limited RAM is a pretty daunting
exercise.

And we want to control the kernel we use on the XO. Not all the
fedora-updates kernels / initrds work.

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] Early F11 XS build

2009-10-26 Thread Jerry Vonau
On Mon, 2009-10-26 at 10:52 +0100, Martin Langhoff wrote:
 On Mon, Oct 26, 2009 at 1:17 AM, Jerry Vonau jvo...@shaw.ca wrote:
  Is this with anaconda or with your XO image? I've booted F11's anaconda
  that was released on the dvd in my prior testing.
 
 XO image - I'll try tomorrow with the kernel you report as working -
 and if that works report a bug against the (newer) one I ended up
 getting.
 
  No, you just need files from /isolinux  /images on the dvd or disc1...
  Doesn't mkusbinstall work anymore?
 
 Frankly I didn't try it with the XS iso, but assumed it'd be the same
 as with the F11 DVD. Will try.
 
 Earlier, when preparing the installer for my build machine (which has
 no DVD/CD reader), mkusbinstall (running on a F9 host) did not work
 for me with the F11 DVD, and I found some instructions that fixed it,
 by downloading the netboot iso and placing it in /images.
 
What error did anaconda throw up? Got a link to those instructions? 
I needed to run an update.img to get the installer to see my install
when I was upgrading my workstation, can't recall if that problem
extended to the usb install method.  


 Maybe there was PEBKAC and/or just a better fix (hints?). I just hope
 the instructions for our end users can be simple :-)
 
I'm re-testing now, but I'm on a F11 host... 
Ok, see two issue, I forgot that the behaviour of method= changed
between F9  F11. We now need to make use of stage2= in place of
method=(method is going away, anyway). Second is we are assuming with
sed that there is a ks= in the line we're replacing.   

  confusing anaconda over method/repo/stage2. Edit the sed replacement
  line replacing method= with repo=, the inner workings are slightly
  different between F9 and F11.
 
 thanks! - I'll fix that :-)
 
Working up a patch


 cheers,
 
 
 
 m

Jerry

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Early F11 XS build

2009-10-26 Thread Jerry Vonau
On Mon, 2009-10-26 at 12:42 -0500, Jerry Vonau wrote:
 On Mon, 2009-10-26 at 10:52 +0100, Martin Langhoff wrote:
snip
 
  Maybe there was PEBKAC and/or just a better fix (hints?). I just hope
  the instructions for our end users can be simple :-)
  
 I'm re-testing now, but I'm on a F11 host... 
 Ok, see two issue, I forgot that the behaviour of method= changed
 between F9  F11. We now need to make use of stage2= in place of
 method=(method is going away, anyway). Second is we are assuming with
 sed that there is a ks= in the line we're replacing.   
 
   confusing anaconda over method/repo/stage2. Edit the sed replacement
   line replacing method= with repo=, the inner workings are slightly
   different between F9 and F11.
  
  thanks! - I'll fix that :-)
  
 Working up a patch
 
I had been working on the F12 version for a bit, the F11 is a backport
of F12. 

http://members.shaw.ca/jvonau/pub/mkusbinstall-F11
http://members.shaw.ca/jvonau/pub/mkusbinstall-F12

My XO-1 boots using version 0.7.0 iso as the source for mkusbinstall.
The ks file is going to need a bit of work to be useful with an XO-1's
mmc card. Now to get it to boot on XO-1.5...
  
Jerry


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Early F11 XS build

2009-10-26 Thread Jerry Vonau
On Mon, 2009-10-26 at 16:40 -0500, Jerry Vonau wrote:
 On Mon, 2009-10-26 at 12:42 -0500, Jerry Vonau wrote:
  On Mon, 2009-10-26 at 10:52 +0100, Martin Langhoff wrote:
 snip
  
   Maybe there was PEBKAC and/or just a better fix (hints?). I just hope
   the instructions for our end users can be simple :-)
   
  I'm re-testing now, but I'm on a F11 host... 
  Ok, see two issue, I forgot that the behaviour of method= changed
  between F9  F11. We now need to make use of stage2= in place of
  method=(method is going away, anyway). Second is we are assuming with
  sed that there is a ks= in the line we're replacing.   
  
confusing anaconda over method/repo/stage2. Edit the sed replacement
line replacing method= with repo=, the inner workings are slightly
different between F9 and F11.
   
   thanks! - I'll fix that :-)
   
  Working up a patch
  
 I had been working on the F12 version for a bit, the F11 is a backport
 of F12. 
 
 http://members.shaw.ca/jvonau/pub/mkusbinstall-F11
 http://members.shaw.ca/jvonau/pub/mkusbinstall-F12
 
 My XO-1 boots using version 0.7.0 iso as the source for mkusbinstall.
 The ks file is going to need a bit of work to be useful with an XO-1's
 mmc card. Now to get it to boot on XO-1.5...
  

The XO-1 ran anaconda to the end in GUI mode (needed the ks.cfg made by
anaconda for the partitioning info), to run in text you have to supply
all the kickstart data (gathered above). Just need to tweek the
kickstart file a bit. Note the @xs-server bit, that works perfect.
http://members.shaw.ca/jvonau/pub/anaconda-ks.cfg
I'll work up a kickstart file that uses text, and adds the olpc.fth file
in %post with the info I gathered. 
 
To bad I only have one SD card, got to wipe the install to play with
os33. :(

Jerry 


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Early F11 XS build

2009-10-25 Thread Martin Langhoff
On Sat, Oct 24, 2009 at 9:51 AM, Peter Robinson pbrobin...@gmail.com wrote:
   -- the vanilla F11 kernels fail to boot on the XO -- expected?

 I think it should boot but I don't think the boot.fth is created but
 its been a while since I've got around to trying it on my XO.

boot.fth is created from the kickstart file. The missing thing are the
symlinks (vmlinuz, initrd) but I've created those ok. The initrd is
clearly unpacked and exec'd but t never completes booting.

If it's expected to work, I can work on tracing WTH is going on. If
it's known not to work for hard-to-fix reasons, well...

  - However, that means that making a bootable usb is harder for users.

 What causes it to be harder to make a bootable usb?

To clarify -- a bootable installer. Making a bootable installer from a
Fedora DVD involves downloading the netinst iso separately and copying
it into the USB disk.

  - Dependency chains are slimmer... but some are still bizarre. Bits
 of kde and gnome are there.

 At a guess this is probably due to PolicyKit. I've had issues with it
 in the past.

Yes, PK is the main culprit. Posted to fedora-olpc on this topic yesterday...



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] Early F11 XS build

2009-10-24 Thread Peter Robinson
Hi Martin,

On Fri, Oct 23, 2009 at 9:48 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 In between various complications, I have been working on getting an
 initial rebase of the XS packages and build infra to F11.

 After much wrangling with revisor, comps and image-creator, I have an
 initial installer iso and an image that boots on the XO-1. The XO
 image tests reasonably well, I haven't had chance to play much with
 the installer iso (but the image is built from it).

 All of the above owes a lot to hints from Jerry Vonau - thanks!

 You will find the files on http://xs-dev.laptop.org/xs/other/ in
 about... 6hs -- the name says 0.7 which is misleading, so I will rm
 them once I have better ones. But in case you want something to play
 with :-)

 Notes:

  - The XO image is using the old XO kernel  --
   -- I could not include the new kernel from dillinger's repo due to
 a conflict with kernel-firmware, even if say -kernel-firmware in the
 ks.
   -- the vanilla F11 kernels fail to boot on the XO -- expected?

I think it should boot but I don't think the boot.fth is created but
its been a while since I've got around to trying it on my XO.

  - The build is slimmer (without a need to slim-it-down manually)
 because upstream now avoid including some if the boot images in the
 main iso.

  - However, that means that making a bootable usb is harder for users.

What causes it to be harder to make a bootable usb?

  - Dependency chains are slimmer... but some are still bizarre. Bits
 of kde and gnome are there.

At a guess this is probably due to PolicyKit. I've had issues with it
in the past.

 Digests and sizes

 546M    /srv/revisor/xs-f11-i386/iso/OLPC School Server-0.7-i386.iso
 401M    OLPC School Server-0.7-i386.img.gz

 aa41b6dbca1aac13f842f13f8106019276d065e6  OLPC School Server-0.7-i386.iso
 6bfe1a507704e21e84660a8d091624ffc7dee17a  OLPC School Server-0.7-i386.img.gz

Cheers,
Peter
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Early F11 XS build

2009-10-23 Thread Martin Langhoff
In between various complications, I have been working on getting an
initial rebase of the XS packages and build infra to F11.

After much wrangling with revisor, comps and image-creator, I have an
initial installer iso and an image that boots on the XO-1. The XO
image tests reasonably well, I haven't had chance to play much with
the installer iso (but the image is built from it).

All of the above owes a lot to hints from Jerry Vonau - thanks!

You will find the files on http://xs-dev.laptop.org/xs/other/ in
about... 6hs -- the name says 0.7 which is misleading, so I will rm
them once I have better ones. But in case you want something to play
with :-)

Notes:

 - The XO image is using the old XO kernel  --
   -- I could not include the new kernel from dillinger's repo due to
a conflict with kernel-firmware, even if say -kernel-firmware in the
ks.
   -- the vanilla F11 kernels fail to boot on the XO -- expected?

 - The build is slimmer (without a need to slim-it-down manually)
because upstream now avoid including some if the boot images in the
main iso.

 - However, that means that making a bootable usb is harder for users.

 - Dependency chains are slimmer... but some are still bizarre. Bits
of kde and gnome are there.

Digests and sizes

546M/srv/revisor/xs-f11-i386/iso/OLPC School Server-0.7-i386.iso
401MOLPC School Server-0.7-i386.img.gz

aa41b6dbca1aac13f842f13f8106019276d065e6  OLPC School Server-0.7-i386.iso
6bfe1a507704e21e84660a8d091624ffc7dee17a  OLPC School Server-0.7-i386.img.gz



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