Craig,

Thanks!  /etc/gumstix-release tells me I'm using 1176M.  I've never enabled the RT stuff.

Steve



On 5/14/07, Craig Hughes <craig@gumstix.com> wrote:
Steve,

yes there's some debugging I can turn on in the wifi driver -- which kernel revision are you building against, and do you have RT stuff enabled or not?  I'll build you a debug wifi driver against your kernel version and send it.

C

On May 14, 2007, at 11:50 AM, Steve Sakoman wrote:

Craig,

After many debugging hours I've managed to witness a field unit crashing twice right in front of my eyes, with serial port connected and logging console messages.

The good news is that both crashes were quite consistent.  The bad news is that there were no console messages in either case :-(

My device has a web UI.  In each case the crash was triggered by my loading the default web ui page.  I was watching the yellow wifi led in both cases as I launched the page request.  Same result both times -- after a moment the led went out and a few seconds later the gumstix rebooted.

My normal test routine previously involved 3 pc's continuously reloading the web UI page.  This runs successfully forever on the bench and for 10 - 20 hours in the field.  I was lucky to catch the above 2 cases when I was loading the page manually with a single pc.

Looking back through the logs of serial console output from previous runs for more clues, I found a single instance of an error message just before a crash.  It was from mwlan0 and it said that there was a transmit timeout error.

Is there a way to enable a verbose or debug mode for the wifi driver?  The main difference between bench and field seems to be wifi signal quality.  Power supply is good -- I have a logging meter on the gumstix supply and it is as clean as one could hope for before each crash.

Thanks,

Steve


On 5/10/07, Craig Hughes < craig@gumstix.com> wrote:
On May 10, 2007, at 7:52 AM, Steve Sakoman wrote:

> Craig,
>
> I attached a laptop with serial connection to one of the units last
> night in the hopes of being able to use a terminal session to see
> what is going wrong.
>
> The unit did fail overnight, but the serial connection proved to be
> of no use -- the system was wedged, no serial io :-(  And of course
> the console message file disappeared into the ether upon reboot.
>
> The same bits have been running on another unit on my bench for
> more than two weeks without reboot, so I'm off to eliminate
> variables one by one.  I swapped the bench and field units after
> the failure last night.  The gods were with me and the swapped unit
> failed this morning in the same way, so that eliminates it being
> related to a particular unit and points to something in the
> environment (power supply, EMI, wifi signal strength,
> temperature,  . . .)
>
> These intermittent failures are lots of fun :-)

Hmm.  How about mounting /var/log from an MMC or CF or NFS location?
As an alternative, use the watchdog driver to just restart if the
system hangs.

C



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
gumstix-users mailing list


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users