Re: Joyide on Fedora 11/rawhide

2009-02-06 Thread Bobby Powers
I wrote:
 I've ported the patch to upstart's bzr trunk (it applies cleanly to
 0.5.0), and scratch-built some rpms:
 https://koji.fedoraproject.org/koji/taskinfo?taskID=1106475

 The patch is here, along with the srpm and spec file:
 http://dev.laptop.org/~bobbyp/upstart/

 Of note, I had to add dbus-devel to BuildRequries, as upstart seems
 now to need it.  I haven't had a chance to test the rpms, hopefully
 tomorrow.

so I've tested and updated the RPMs, spec file and patch, which are
available at:
http://dev.laptop.org/~bobbyp/upstart/

They don't work!  First thing to notice is that I cut down the
olpc-init patch a lot.  The third section of the original patch was
for a file that doesn't exist (and wasn't renamed as far as I can
tell, I've greped a fair amount for its content).  So I originally had
left the first part in, but the image created with it gave the
following error when init was first called:
init: Unhandled Error: Address already in use

Now, with just the pid snarfing part in main.c, Upstart seems to hang
without giving any messages.  None of the other Fedora patches have
been applied (it seems as if the devel branch of upstart in Fedora CVS
is a work in progress, to say the least), so unless anyone here has
insight, getting them to apply seems like the next logical step.

I can make my non-booting rawhide image available if anyone is
interested.  What I did was to run 'sudo make' on the puritan rawhide
branch, wait for it to finish, chroot into
$(CHROOT)/versions/pristine/767 and run 'rpm -Uvh
http://dev.laptop.org/~bobbyp/upstart/upstart-0.5.0-1.fc11.i386.rpm',
delete r/wrap*, then rerun 'sudo make'.

Someone with more knowledge of sockets, upstart and Fedora's patches
to it, and the init process might have better luck or be able to help
me out :)  If we can figure this out, I would be glad to help get as
much of this as possible upstreamed (as well as into the F11 upstart
package).

yours,
Bobby

(I'll be out of town till Tuesday, so I probably won't be able to work
on this again 'till then)
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Chris Ball
Hi Peter,

I wanted to put it to the lists and get some feedback, with the
plans on basing the 9.1.0 release on Fedora 11 I think we need to
have a testing stream based on rawhide so that we can start testing
core OS related bits and dealing with them sooner rather than
later.

Totally agreed.  The reason I haven't pushed to set up nightly builds is
that right now Rawhide *doesn't boot* on the XO.  I think energy should
probably be aimed at fixing that before we start setting up nightlies.

I pinged Jeremy earlier in the week, he didn't have any strong ideas
about what's wrong.  I should retry with latest Rawhide in case
something's been fixed recently..

Thanks!

- Chris.
-- 
Chris Ball   c...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Peter Robinson
Hi Chris,

I wanted to put it to the lists and get some feedback, with the
plans on basing the 9.1.0 release on Fedora 11 I think we need to
have a testing stream based on rawhide so that we can start testing
core OS related bits and dealing with them sooner rather than
later.

 Totally agreed.  The reason I haven't pushed to set up nightly builds is
 that right now Rawhide *doesn't boot* on the XO.  I think energy should
 probably be aimed at fixing that before we start setting up nightlies.

 I pinged Jeremy earlier in the week, he didn't have any strong ideas
 about what's wrong.  I should retry with latest Rawhide in case
 something's been fixed recently..

Oh! I wasn't aware of that as I don't currently have an XO to test
(although that should be sorted soon) not that I know enough about the
boot/kernel of the XO to be of much help fixing it. I wonder if any of
the 50 odd people on fedora-devel that got an XO in the lead up to the
F-10 release could help with that? Greg, do you know of someone that
isn't as busy as Jeremy that could help shed some light on XO boot
issues?

Peter
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Chris Ball
Hi Jerry,

I've been playing with booting fedora on the XO, mostly with
anaconda (F9/F10) to be able to run an install on the XO itself for
the XS. I'll try to boot the F11 kernel/installer when one is
available, it looks like there are issues building anaconda atm,
there is no isolinux directory on the mirrors...

Perhaps someone could shed some light on the issues with rawhide
that were uncovered thus far. Is there a tracker somewhere?

F10 boots, but here's what happens when I try to boot Rawhide:

http://dev.laptop.org/~cjb/f11-boot

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Jerry Vonau
On Wed, 2009-02-04 at 20:47 +0100, Peter Robinson wrote:
 Hi Chris,
 
 I wanted to put it to the lists and get some feedback, with the
 plans on basing the 9.1.0 release on Fedora 11 I think we need to
 have a testing stream based on rawhide so that we can start testing
 core OS related bits and dealing with them sooner rather than
 later.
 
  Totally agreed.  The reason I haven't pushed to set up nightly builds is
  that right now Rawhide *doesn't boot* on the XO.  I think energy should
  probably be aimed at fixing that before we start setting up nightlies.
 
  I pinged Jeremy earlier in the week, he didn't have any strong ideas
  about what's wrong.  I should retry with latest Rawhide in case
  something's been fixed recently..
 
 Oh! I wasn't aware of that as I don't currently have an XO to test
 (although that should be sorted soon) not that I know enough about the
 boot/kernel of the XO to be of much help fixing it. I wonder if any of
 the 50 odd people on fedora-devel that got an XO in the lead up to the
 F-10 release could help with that? Greg, do you know of someone that
 isn't as busy as Jeremy that could help shed some light on XO boot
 issues?
 
 Peter

I've been playing with booting fedora on the XO, mostly with anaconda
(F9/F10) to be able to run an install on the XO itself for the XS. I'll
try to boot the F11 kernel/installer when one is available, it looks
like there are issues building anaconda atm, there is no isolinux
directory on the mirrors...

Perhaps someone could shed some light on the issues with rawhide that
were uncovered thus far. Is there a tracker somewhere?  


Jerry

 

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Jerry Vonau
On Wed, 2009-02-04 at 15:05 -0500, Chris Ball wrote:
 Hi Jerry,
 
 I've been playing with booting fedora on the XO, mostly with
 anaconda (F9/F10) to be able to run an install on the XO itself for
 the XS. I'll try to boot the F11 kernel/installer when one is
 available, it looks like there are issues building anaconda atm,
 there is no isolinux directory on the mirrors...
 
 Perhaps someone could shed some light on the issues with rawhide
 that were uncovered thus far. Is there a tracker somewhere?
 
 F10 boots, but here's what happens when I try to boot Rawhide:
 
 http://dev.laptop.org/~cjb/f11-boot
 
 Thanks,
 
 - Chris.

kernel commandline: root=mtd0 rootfstype=jffs2 liveimg console=tty0 console=tty2

If your booting the live image shouldn't the root= line be something like:
root=LABEL=device label... You could use the device name also: root=/dev/mtd0

Have a look at the mkliveinitrd part of mkinitrd at:
http://git.fedoraproject.org/git/?p=mkinitrd;a=blob;f=mkliveinitrd;hb=24d6d9779ca5bacc0c649e9d783263661ceb81f0
 
Without the /dev part the init script will not have anything to match the root= 
against, 
in the case $root in part of the init file, resulting in the udev rules not 
getting created 
for the /dev/root symlink.

Hoping that is the fix,

Jerry








___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Greg Dekoenigsberg

After a brief discussion with Jeremy, it appears that Fedora 11 in rawhide 
has had many boot issues on many platforms, and they're tackling them one 
by one.  He promises to have a look at OLPC specifically on Friday.

--g

--
Got an XO that you're not using?  Loan it to a needy developer!
   [[ http://wiki.laptop.org/go/XO_Exchange_Registry ]]

On Wed, 4 Feb 2009, Jerry Vonau wrote:

 On Wed, 2009-02-04 at 20:47 +0100, Peter Robinson wrote:
 Hi Chris,

   I wanted to put it to the lists and get some feedback, with the
   plans on basing the 9.1.0 release on Fedora 11 I think we need to
   have a testing stream based on rawhide so that we can start testing
   core OS related bits and dealing with them sooner rather than
   later.

 Totally agreed.  The reason I haven't pushed to set up nightly builds is
 that right now Rawhide *doesn't boot* on the XO.  I think energy should
 probably be aimed at fixing that before we start setting up nightlies.

 I pinged Jeremy earlier in the week, he didn't have any strong ideas
 about what's wrong.  I should retry with latest Rawhide in case
 something's been fixed recently..

 Oh! I wasn't aware of that as I don't currently have an XO to test
 (although that should be sorted soon) not that I know enough about the
 boot/kernel of the XO to be of much help fixing it. I wonder if any of
 the 50 odd people on fedora-devel that got an XO in the lead up to the
 F-10 release could help with that? Greg, do you know of someone that
 isn't as busy as Jeremy that could help shed some light on XO boot
 issues?

 Peter

 I've been playing with booting fedora on the XO, mostly with anaconda
 (F9/F10) to be able to run an install on the XO itself for the XS. I'll
 try to boot the F11 kernel/installer when one is available, it looks
 like there are issues building anaconda atm, there is no isolinux
 directory on the mirrors...

 Perhaps someone could shed some light on the issues with rawhide that
 were uncovered thus far. Is there a tracker somewhere?


 Jerry



 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Peter Robinson
Hi Greg,

Thanks for poking :)

 After a brief discussion with Jeremy, it appears that Fedora 11 in rawhide
 has had many boot issues on many platforms, and they're tackling them one by
 one.  He promises to have a look at OLPC specifically on Friday.

Excellent news. In the mean time, even with boot issues, there's
nothing wrong with getting a rawhide based stream in progress so that
various other issues that will undoubtedly show up so that when the
boot problem is fixed we're already on the ground and can start
running. After all there will no doubt be other deps and composing
issues that need to be resolved. too.

Either way, ping me on or off list for any heavy lifting I can help with.

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


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Greg Dekoenigsberg

On Wed, 4 Feb 2009, Peter Robinson wrote:

 Hi Greg,

 Thanks for poking :)

 After a brief discussion with Jeremy, it appears that Fedora 11 in rawhide
 has had many boot issues on many platforms, and they're tackling them one by
 one.  He promises to have a look at OLPC specifically on Friday.

 Excellent news. In the mean time, even with boot issues, there's nothing 
 wrong with getting a rawhide based stream in progress so that various 
 other issues that will undoubtedly show up so that when the boot problem 
 is fixed we're already on the ground and can start running. After all 
 there will no doubt be other deps and composing issues that need to be 
 resolved. too.

 Either way, ping me on or off list for any heavy lifting I can help with.

cjb, it was my understanding that you were already essentially doing 
nightly builds from rawhide using livecd-tools.  Am I mistaken?

--g

--
Got an XO that you're not using?  Loan it to a needy developer!
   [[ http://wiki.laptop.org/go/XO_Exchange_Registry ]]

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Daniel Drake
2009/2/4 Chris Ball c...@laptop.org:
 Hi Jerry,

I've been playing with booting fedora on the XO, mostly with
anaconda (F9/F10) to be able to run an install on the XO itself for
the XS. I'll try to boot the F11 kernel/installer when one is
available, it looks like there are issues building anaconda atm,
there is no isolinux directory on the mirrors...

Perhaps someone could shed some light on the issues with rawhide
that were uncovered thus far. Is there a tracker somewhere?

 F10 boots, but here's what happens when I try to boot Rawhide:

 http://dev.laptop.org/~cjb/f11-boot

This is Fedora's initramfs, right?

Peter's suggestion is to use pilgrim to create rawhide builds, hence
using the olpc initramfs. If we are still facing problems beyond
Friday, this may be a good thing to do in the interim. Peter does not
have an XO (g...@contrib program extreme slowness!) but may be able to
help on other issues that surface as the result of an available public
build...

Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Chris Ball
Hi Greg,

cjb, it was my understanding that you were already essentially
doing nightly builds from rawhide using livecd-tools.  Am I
mistaken?

I was doing manual builds from rawhide using livecd-tools, trying to get
them to boot.  Haven't got around to nightly yet, since it didn't seem
like there was much point when they aren't booting.

- Chris.
-- 
Chris Ball   c...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Greg Dekoenigsberg

On Wed, 4 Feb 2009, Chris Ball wrote:

 Hi Greg,

cjb, it was my understanding that you were already essentially
doing nightly builds from rawhide using livecd-tools.  Am I
mistaken?

 I was doing manual builds from rawhide using livecd-tools, trying to get
 them to boot.  Haven't got around to nightly yet, since it didn't seem
 like there was much point when they aren't booting.

Which is still true, apparently, so there you are.

Although nightlies may be required at some point -- perhaps this process 
is what Peter is volunteering to help get off the ground?

--g

--
Got an XO that you're not using?  Loan it to a needy developer!
   [[ http://wiki.laptop.org/go/XO_Exchange_Registry ]]

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Michael Stone
On Wed, Feb 04, 2009 at 05:53:14PM -0500, Chris Ball wrote:
Hi,

This is Fedora's initramfs, right?

Right.

Peter's suggestion is to use pilgrim to create rawhide builds,
hence using the olpc initramfs.

That's an interesting idea.  I don't like it long-term, because
no-one's working on pilgrim or our initramfs, but it could help
us get moving.

Two small corrections:

a) the initramfs continues happily under active volunteer development -- it
received two new features and a bugfix contributed by a deployment support
volunteer (dsd) in the last two weeks, along with patch review and volunteer
testing by folks back here in the States.

b) While pilgrim may be a dead-end, the ideas underlying it are not. This week,
I translated pilgrim's ideas into the simplest form yet achieved, namely, a
plain old Makefile:

   http://dev.laptop.org/git?p=users/mstone/puritan;a=tree;hb=make

and used it to produce builds from the olpc4+joyride tree and the
rawhide+olpc4+joyride tree (with minor edits). 

The former booted happily into Sugar and built on both Debian and Fedora. :) 
(The latter, still using the olpc initramfs, dies because upstart 0.5 still
doesn't know how to run as non-pid-1. olpc4's upstart-0.3.9 has a patch which
implements this feature.)

Peter does not have an XO (g...@contrib program extreme slowness!)
but may be able to help on other issues that surface as the result
of an available public build...

Oh, let's fix that.  Ed, SJ, could one of you take care of sending
Peter some XOs ASAP, please?

Good idea.

Michael
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Joyide on Fedora 11/rawhide

2009-02-04 Thread Bobby Powers
On Wed, Feb 4, 2009 at 8:50 PM, Michael Stone mich...@laptop.org wrote:
 On Wed, Feb 04, 2009 at 05:53:14PM -0500, Chris Ball wrote:
Hi,

This is Fedora's initramfs, right?

Right.

Peter's suggestion is to use pilgrim to create rawhide builds,
hence using the olpc initramfs.

That's an interesting idea.  I don't like it long-term, because
no-one's working on pilgrim or our initramfs, but it could help
us get moving.

 Two small corrections:

 a) the initramfs continues happily under active volunteer development -- it
 received two new features and a bugfix contributed by a deployment support
 volunteer (dsd) in the last two weeks, along with patch review and volunteer
 testing by folks back here in the States.

 b) While pilgrim may be a dead-end, the ideas underlying it are not. This 
 week,
 I translated pilgrim's ideas into the simplest form yet achieved, namely, a
 plain old Makefile:

   http://dev.laptop.org/git?p=users/mstone/puritan;a=tree;hb=make

 and used it to produce builds from the olpc4+joyride tree and the
 rawhide+olpc4+joyride tree (with minor edits).

 The former booted happily into Sugar and built on both Debian and Fedora. :)
 (The latter, still using the olpc initramfs, dies because upstart 0.5 still
 doesn't know how to run as non-pid-1. olpc4's upstart-0.3.9 has a patch which
 implements this feature.)

I've ported the patch to upstart's bzr trunk (it applies cleanly to
0.5.0), and scratch-built some rpms:
https://koji.fedoraproject.org/koji/taskinfo?taskID=1106475

The patch is here, along with the srpm and spec file:
http://dev.laptop.org/~bobbyp/upstart/

Of note, I had to add dbus-devel to BuildRequries, as upstart seems
now to need it.  I haven't had a chance to test the rpms, hopefully
tomorrow.

Hope this helps :)
bobby

Peter does not have an XO (g...@contrib program extreme slowness!)
but may be able to help on other issues that surface as the result
of an available public build...

Oh, let's fix that.  Ed, SJ, could one of you take care of sending
Peter some XOs ASAP, please?

 Good idea.

 Michael
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel