Re: [Zaurus-devel] Zaurus CF tests -- ok

2011-05-15 Thread Marek Vasut
> Hi!
> > Backtrace from QEMU ... I think this is what Cyril observed. But heck,
> > it   happens in QEMU too ;-)
> 
> Yes, that is pretty much it.
> 
> It happens randomly, eg. adding printk() line into kernel code
> (somewhere in mmc stack). Or sometimes crashes in the pccard
> initalization when two cards are inserted at the boot time.
>

It happens randomly in qemu too.
 
> -- 
> metan


___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus CF tests -- ok

2011-05-15 Thread Cyril Hrubis
Hi!
> Backtrace from QEMU ... I think this is what Cyril observed. But heck, it 
> happens in QEMU too ;-)

Yes, that is pretty much it.

It happens randomly, eg. adding printk() line into kernel code (somewhere in
mmc stack). Or sometimes crashes in the pccard initalization when two cards are
inserted at the boot time.

-- 
metan

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus CF tests -- ok

2011-05-15 Thread Marek Vasut
On Saturday, April 16, 2011 09:41:34 AM Pavel Machek wrote:
> Hi!
> 
> > > After getting _good_ power supply, I was able to untar and rm ltp tree
> > > 100 times so far. 2.6.38, ext3. (So metan no, I do not see any weird
> > > ext3 problems).
> > 
> > Hmm, I'm using original adapter, but who knows if it's okay to use...
> 
> It probably is...
> 
> > > Another strange thing is... I see lots of duplicated keystrokes --
> > > like type "pavel" but machine understands "paavel". But it only seems
> > > to happen when I'm _not_ trying to debug it?!
> > 
> > That seems to be side effect of machine under load (it has gpio
> > keyboard).
> 
> ouch. original corgi_kbd driver used timers, new one uses threads --
> more affected by scheduling. I'm not even sure if the worker thread it
> uses runs at elevated priority...
> 
> > > With power from USB extension cable, it crashes in <5 minutes. It
> > > seems to toggle charger a lot, as voltage on the cable is only
> > > 4.2..4.5V. I guess it is software problem in the charging code.
> > > )
> > 
> > The zaurus actually is AFAIK unable to run from battery when connected to
> > the external power, so weak power line may explain some of the strange
> > behaviour.
> 
> ?? IIRC Stanislav told me that hardware will always run off whatever
> is available...?
>   Pavel

Backtrace from QEMU ... I think this is what Cyril observed. But heck, it 
happens in QEMU too ;-)

Unable to handle kernel NULL pointer dereference at virtual address 


pgd = c0004000  


[] *pgd=


Internal error: Oops: 17 [#1] PREEMPT   


last sysfs file:


CPU: 0Not tainted  (2.6.39-rc5+ #81)


PC is at complete+0x30/0x90 


LR is at giveback+0x134/0x150   


pc : []lr : []psr: a193 


sp : c782ff08  ip : c782fec8  fp : c782ff1c 


r10: c02b78c4  r9 : c7828720  r8 : c880c000 


r7 : c7865828  r6 : c7865894  r5 : c7865828  r4 : a113  


r3 : c782e000  r2 : 0102  r1 : f2e0  r0 :   


Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel


Control: 7977  Table: a5774000  DAC: 0017   


Process ksoftirqd/0 (pid: 3, stack limit = 0xc782e278)  


Stack: (0xc782ff08 to 0xc783)   


ff00:   6113 c010497c c786f4d8 c786f4d8  c023c984   


ff20: c786f4d8 c7868760 c7865878 c023cc28 c786f4d8 6113     


ff40: c02e2980 c02b7a3c   0101 0008 c02b78c4 c0

Re: [Zaurus-devel] Zaurus CF tests -- ok

2011-04-16 Thread Pavel Machek
Hi!

> > After getting _good_ power supply, I was able to untar and rm ltp tree
> > 100 times so far. 2.6.38, ext3. (So metan no, I do not see any weird
> > ext3 problems).
> 
> Hmm, I'm using original adapter, but who knows if it's okay to use...

It probably is...

> > Another strange thing is... I see lots of duplicated keystrokes --
> > like type "pavel" but machine understands "paavel". But it only seems
> > to happen when I'm _not_ trying to debug it?!
> 
> That seems to be side effect of machine under load (it has gpio keyboard).

ouch. original corgi_kbd driver used timers, new one uses threads --
more affected by scheduling. I'm not even sure if the worker thread it
uses runs at elevated priority...

> > With power from USB extension cable, it crashes in <5 minutes. It
> > seems to toggle charger a lot, as voltage on the cable is only
> > 4.2..4.5V. I guess it is software problem in the charging code.
> > )
> 
> The zaurus actually is AFAIK unable to run from battery when connected to the
> external power, so weak power line may explain some of the strange behaviour.

?? IIRC Stanislav told me that hardware will always run off whatever
is available...?
Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus CF tests -- ok

2011-04-15 Thread Marek Vasut
On Friday, April 15, 2011 11:38:17 PM Cyril Hrubis wrote:
> Hi!
> 
> > After getting _good_ power supply, I was able to untar and rm ltp tree
> > 100 times so far. 2.6.38, ext3. (So metan no, I do not see any weird
> > ext3 problems).
> 
> Hmm, I'm using original adapter, but who knows if it's okay to use...

I can lend you Eric's, but promise you won't break it or do anything weird to 
it 
;-)
> 
> > Another strange thing is... I see lots of duplicated keystrokes --
> > like type "pavel" but machine understands "paavel". But it only seems
> > to happen when I'm _not_ trying to debug it?!
> 
> That seems to be side effect of machine under load (it has gpio keyboard).

Yea ... it's that polled para-keyboard I guess.
> 
> > (
> > So... just because something needs 5V does not mean you should charge
> > it from USB.
> > 
> > Yes, I'm talking about zaurus. I noticed that it crashed rather
> > quickly when connected to USB power. (For example in tar/rm test).
> > So I took multimeter, and there was 4.15..4.5V on USB :-(.
> > 
> > With power from USB extension cable, it crashes in <5 minutes. It
> > seems to toggle charger a lot, as voltage on the cable is only
> > 4.2..4.5V. I guess it is software problem in the charging code.
> > )
> 
> The zaurus actually is AFAIK unable to run from battery when connected to
> the external power, so weak power line may explain some of the strange
> behaviour.

As for the charging code, do we even have anything even remotely resembling 
that 
?

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus CF tests -- ok

2011-04-15 Thread Cyril Hrubis
Hi!
> After getting _good_ power supply, I was able to untar and rm ltp tree
> 100 times so far. 2.6.38, ext3. (So metan no, I do not see any weird
> ext3 problems).

Hmm, I'm using original adapter, but who knows if it's okay to use...

> Another strange thing is... I see lots of duplicated keystrokes --
> like type "pavel" but machine understands "paavel". But it only seems
> to happen when I'm _not_ trying to debug it?!

That seems to be side effect of machine under load (it has gpio keyboard).

> (
> So... just because something needs 5V does not mean you should charge
> it from USB.
> 
> Yes, I'm talking about zaurus. I noticed that it crashed rather
> quickly when connected to USB power. (For example in tar/rm test).
> So I took multimeter, and there was 4.15..4.5V on USB :-(.
> 
> With power from USB extension cable, it crashes in <5 minutes. It
> seems to toggle charger a lot, as voltage on the cable is only
> 4.2..4.5V. I guess it is software problem in the charging code.
> )

The zaurus actually is AFAIK unable to run from battery when connected to the
external power, so weak power line may explain some of the strange behaviour.

-- 
metan

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel