Re: pretty boot stall on 1.5

2013-09-05 Thread James Cameron
Any XO laptops that have been in storage for long enough can reproduce
this.

As a reminder,
http://wiki.laptop.org/go/Reuse_checklist mentions setting the clock.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: pretty boot stall on 1.5

2013-09-05 Thread Jerry Vonau
On Thu, 2013-09-05 at 11:41 -0400, Kevin Gordon wrote:


> Jerry, you're a troubleshooting genius.  Once I got into sugar from
> the check-mark boot, I could see the AP's, but couldn't connect.  
> 
> 
> Alas, having that insight, this now became a probelm which I had seen
> before and knew how to solve. :-)
> 
> 
> Yep, as I'm sure everyone on the list will now giggle at me ... the
> hwclock was set to 01/01/1963,.  once i did the date -- set, then
> hwclock --systohc, all works wonderfully on pretty boot.
> 
> 

That makes sense, the bad date crashed powerd's logging, so the DCON
didn't get switch off as sugar loaded.

> Thanks for the kickstart.  YAY !!!
> 

Glad you got it all sorted out.

Jerry


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


Re: pretty boot stall on 1.5

2013-09-05 Thread Paul Fox
kevin wrote:
 > >
 > > One of the first things powerd interacts with is the network card, I'd
 > > run the OFW's tests for wifi. On one of the problem XOs, once in sugar
 > > can you connect to an AP? Can you send me the logs from /var/log off
 > > list to have a quick look at?
 > >
...
 > Jerry, you're a troubleshooting genius.  Once I got into sugar from the
 > check-mark boot, I could see the AP's, but couldn't connect.
 > 
 > Alas, having that insight, this now became a probelm which I had seen
 > before and knew how to solve. :-)
 > 
 > Yep, as I'm sure everyone on the list will now giggle at me ... the hwclock
 > was set to 01/01/1963,.  once i did the date -- set, then hwclock
 > --systohc, all works wonderfully on pretty boot.

ah yes.  the bad date confuses powerd.  time in unix is normally
counted in seconds since the start of 1970, so your date causes time
to be reported as a negative number.  powerd discards events that may
have arrived before some reasonable time in the past -- this is
usually the time of last suspend -- but at boot the value compared
against is 0.  so all events prior to 1970 appear too old, and they
all get discarded.  (and so the DCON isn't unfrozen.)

the fix for this happens to be the very last commit made to powerd,
and was released in powerd-110.

paul
=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: pretty boot stall on 1.5

2013-09-05 Thread Kevin Gordon
On Thu, Sep 5, 2013 at 11:02 AM, Jerry Vonau  wrote:

> Hi Kevin,
>
> On Thu, 2013-09-05 at 10:00 -0400, Kevin Gordon wrote:
> > Folks.
> >
> >
> > I have a bunch of 1.5's that I purchased used from OLPC Miami that I'm
> > prepping to go out through OLPC Canada into the aboriginal
> > communities, and I've run into a rather strange issue.  Of the 40
> > machines, 27 of them re-image perfectly well and reboot wonderfully
> > both on F17 and F14 builds.  All 40 machines are flashed with Q3C07
> > OFW.  I can repeatedly, using any of my 10 build sticks, reflash ad
> > nauseam, and those 27 little beasts boot up perfectly.
> >
> >
> > However, the other 13 always stall at the end of the pretty boot with
> > all the little dots on, and the icon in the middle of the screen.
> >  Doesn't matter whether F14 or F17 based builds, always the same
> > symptoms.  Hang/stall once all the little circle of dots stop
> > animating.  There are no SD cards or USB devices attached to any of
> > them, and the batteries are all charged up and the machines plugged
> > in.
> >
>
> I've found when I was fooling around with powerd's code and blew it that
> is what occurs, the video system doesn't switch from the DCON chip to
> using the cpu.
>
> >
> > Being adventurous, i said to myself, let's do a check-mark key text
> > boot on these 13 to perhaps ascertain where it is is hanging up.  Of
> > course, when I do the text boot, the problem machines come up
> > perfectly every time, again regardless of whether an F17 or F14
> > machine.. When ltting it reboot without the check-mark key they again
> > stall.
> >
>
> Yes, the check-mark key turns the DCON off during boot, that is powerd
> job to do once booted.
>
> >
> > The serial numbers for the machines have no pattern in this either,
> > some in the range go fine, others do not.  All machines are SKU 129.
> >
> >
> > I seem to remember that there was a thread or ticket a while back
> > about this, but I cannot seem to locate it.
> >
> >
> > Any ideas??
> >
> >
>
> One of the first things powerd interacts with is the network card, I'd
> run the OFW's tests for wifi. On one of the problem XOs, once in sugar
> can you connect to an AP? Can you send me the logs from /var/log off
> list to have a quick look at?
>
> Jerry
>
>
Jerry, you're a troubleshooting genius.  Once I got into sugar from the
check-mark boot, I could see the AP's, but couldn't connect.

Alas, having that insight, this now became a probelm which I had seen
before and knew how to solve. :-)

Yep, as I'm sure everyone on the list will now giggle at me ... the hwclock
was set to 01/01/1963,.  once i did the date -- set, then hwclock
--systohc, all works wonderfully on pretty boot.

Thanks for the kickstart.  YAY !!!

Cheers,

KG

>
>
> > Thanks,
> >
> >
> > KG
> > ___
> > 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: pretty boot stall on 1.5

2013-09-05 Thread Jerry Vonau
Hi Kevin,

On Thu, 2013-09-05 at 10:00 -0400, Kevin Gordon wrote:
> Folks.
> 
> 
> I have a bunch of 1.5's that I purchased used from OLPC Miami that I'm
> prepping to go out through OLPC Canada into the aboriginal
> communities, and I've run into a rather strange issue.  Of the 40
> machines, 27 of them re-image perfectly well and reboot wonderfully
> both on F17 and F14 builds.  All 40 machines are flashed with Q3C07
> OFW.  I can repeatedly, using any of my 10 build sticks, reflash ad
> nauseam, and those 27 little beasts boot up perfectly.
> 
> 
> However, the other 13 always stall at the end of the pretty boot with
> all the little dots on, and the icon in the middle of the screen.
>  Doesn't matter whether F14 or F17 based builds, always the same
> symptoms.  Hang/stall once all the little circle of dots stop
> animating.  There are no SD cards or USB devices attached to any of
> them, and the batteries are all charged up and the machines plugged
> in.
> 

I've found when I was fooling around with powerd's code and blew it that
is what occurs, the video system doesn't switch from the DCON chip to
using the cpu. 

> 
> Being adventurous, i said to myself, let's do a check-mark key text
> boot on these 13 to perhaps ascertain where it is is hanging up.  Of
> course, when I do the text boot, the problem machines come up
> perfectly every time, again regardless of whether an F17 or F14
> machine.. When ltting it reboot without the check-mark key they again
> stall.
> 

Yes, the check-mark key turns the DCON off during boot, that is powerd
job to do once booted.

> 
> The serial numbers for the machines have no pattern in this either,
> some in the range go fine, others do not.  All machines are SKU 129.
> 
> 
> I seem to remember that there was a thread or ticket a while back
> about this, but I cannot seem to locate it.
> 
> 
> Any ideas??
> 
> 

One of the first things powerd interacts with is the network card, I'd
run the OFW's tests for wifi. On one of the problem XOs, once in sugar
can you connect to an AP? Can you send me the logs from /var/log off
list to have a quick look at?

Jerry



> Thanks,
> 
> 
> KG
> ___
> 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


pretty boot stall on 1.5

2013-09-05 Thread Kevin Gordon
Folks.

I have a bunch of 1.5's that I purchased used from OLPC Miami that I'm
prepping to go out through OLPC Canada into the aboriginal communities, and
I've run into a rather strange issue.  Of the 40 machines, 27 of them
re-image perfectly well and reboot wonderfully both on F17 and F14 builds.
 All 40 machines are flashed with Q3C07 OFW.  I can repeatedly, using any
of my 10 build sticks, reflash ad nauseam, and those 27 little beasts boot
up perfectly.

However, the other 13 always stall at the end of the pretty boot with all
the little dots on, and the icon in the middle of the screen.  Doesn't
matter whether F14 or F17 based builds, always the same symptoms.
 Hang/stall once all the little circle of dots stop animating.  There are
no SD cards or USB devices attached to any of them, and the batteries are
all charged up and the machines plugged in.

Being adventurous, i said to myself, let's do a check-mark key text boot on
these 13 to perhaps ascertain where it is is hanging up.  Of course, when I
do the text boot, the problem machines come up perfectly every time, again
regardless of whether an F17 or F14 machine.. When ltting it reboot without
the check-mark key they again stall.

The serial numbers for the machines have no pattern in this either, some in
the range go fine, others do not.  All machines are SKU 129.

I seem to remember that there was a thread or ticket a while back about
this, but I cannot seem to locate it.

Any ideas??

Thanks,

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