ts-7000
[Top] [All Lists]

[ts-7000] Arduino and kernel panics on a TS7200

To:
Subject: [ts-7000] Arduino and kernel panics on a TS7200
From: Gopi Flaherty <>
Date: Wed, 20 Aug 2008 18:22:26 -0700
Hi,

I'm wondering if anybody can offer any advice.

I have a TS-7200 board, running Linux 2.4.26-ts11 off a CF card. I'm  
running some fairly simple code in Python 2.5 that talks to an Arduino  
Diecimila  microcontroller (which has an on-board FTDI USB to serial  
converter). I also have an alphanumeric LCD hooked up directly to the  
TS7200 using lcdd as a driver.

I've been getting very frequent kernel panics - from 5 to 25 minutes  
between them, at this point. I added wdt2 to my inittab and it does  
reboot correctly after that.

My code is not exceedingly complex. I have buttons and LEDs hooked up  
to the Arduino, and I open it up as a serial port to receive  
keystrokes and to update the LEDs. The LCD shows system status.

I'm trying to be as scientific as possible. Right now I am running my  
code without the Arduino hooked up, and it hasn't crashed overnight.

Is anybody else using the Arduino or another FTDI converter regularly?  
Is it possible that there's a bug in the driver? I'm obviously fairly  
sure that my own Python code doesn't have any buffer overflows. :)

Thanks,

gopi.



-------------
Kernel panic message:
Scheduling in interrupt
Unable to handle kernel NULL pointer dereference at virtual address  
00000000
pgd = c11c0000
[00000000] *pgd=01711801, *pmd = 01711801, *pte = 00000000, *ppte =  
00000000
Internal error: Oops: 807
CPU: 0
pc : [<c02341e0>]    lr : [<c02341dc>]    Not tainted
sp : c5771c30  ip : c5771c08  fp : c5771c5c
r10: 00000000  r9 : c5020560  r8 : 00000000
r7 : c509c47c  r6 : c5770000  r5 : c5770000  r4 : c509c41c
r3 : 00000000  r2 : 00000001  r1 : 00000001  r0 : 00000018
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: C000317F  Table: 011C0000  DAC: 00000015
Process python2.5 (pid: 431, stack limit = 0xc5770368)
Stack: (0xc5771c30 to 0xc5772000)
1c20:                                     0012e000 c509c41c c509c474  
c5770000
1c40: c509c47c c5771c60 c5020560 00000000 00000000 c5771c60 c022cdf0  
c0234198
1c60: 00000001 c5770000 c509c47c c509c47c c509c41c c509c474 c509c400  
ffffffea
1c80: c4530164 c022cfec 00000000 c509c400 00006702 c60fc9ac c60f297c  
c4530000
1ca0: 00000037 00000037 00000005 c4530164 c02bb6a0 c4530000 000009a8  
c02bd7c0
1cc0: c4530000 c4530000 c4530565 00000005 c02bc040 40000093 00000001  
c06fa880
1ce0: c60e18a8 00000020 c56fef14 00000000 00000003 00000000 00000001  
c60ec700
1d00: c06fa800 005f7200 c60fcb68 20000013 00000001 c17b4460 c5771d97  
00000001
1d20: 00000001 00000000 c60df4c8 c56fee80 c60e8100 c56fefe0 00000001  
00000000
1d40: a0000093 c56fefe0 c56fefe0 c02501d0 c17b42e0 c4530000 00000000  
c4530164
1d60: c4530564 c17b4160 00000040 c02bad50 00000007 00000001 c509c41c  
c4530000
1d80: c60f9960 a0000093 c509c400 c4071600 c17b4160 c07227a0 c07227a0  
c60ec670
1da0: c06fa800 ffffffff c60e8200 2ad364f4 c60e13fc 00000000 c17b4160  
c07227a0
1dc0: c60e34d4 00000002 c06fa800 e0020000 00000002 c5771e30 c5771f14  
c60e40f8
1de0: c0722380 04000000 00000038 c5771e30 c5771e30 c022b170 c0396d08  
c0722380
1e00: 00000038 c0395e28 c022b244 c039ec40 c5771e30 00000001 c60f94ec  
20000013
1e20: c022b3b8 c5771e64 c5771e78 c022a4a0 c5020560 c50205e0 c50205e0  
00000700
1e40: 00000740 c509c474 c509c400 ffffffea c60f5968 c4110960 c5771f14  
2ad364f4
1e60: 00000020 c5771e78 a0000013 c60f94ec 20000013 ffffffff c509c41c  
c60f29e4
1e80: 2ad364f4 c4530000 c4530000 00000004 c5770000 c02bb858 00000000  
c509c41c
1ea0: c509c41c c509c474 c509c400 00000001 ffffffea 00000000 c60f5968  
c5771eef
1ec0: c60f288c 0000000a c4530000 0000000a c4530000 00000000 c5770000  
c4110960
1ee0: c5771f14 2ad364f4 2ad364f4 00000004 c4530000 00000000 c5770000  
c02bcf4c
1f00: c4530970 00000000 c5770000 00000000 00000000 00000000 c5770000  
c4530970
1f20: c4530970 00000000 00000004 2ad364f4 c4530000 c4110960 c02bce28  
00000000
1f40: 00000000 c02bb490 c4110980 c4110960 c47e8060 2ad364f4 00000004  
c5770000
1f60: 2ad364f4 c02b8ff0 00000004 c4110980 c4110960 ffffffea 00000000  
00000004
1f80: c025acd4 00000004 7ffff7cc 00000004 2ad364f4 001c9fe8 00000004  
c022a9a4
1fa0: 2acbe000 c022a800 00000004 c034ecdc 00000004 2ad364f4 00000004  
00000000
1fc0: 00000004 2ad364f4 001c9fe8 00000004 00000000 2ad364f4 2acbe000  
00134a70
1fe0: 00000000 7ffff958 000024bc 2ac56d00 60000010 00000004 00000000  
00000000
Backtrace:
Function entered at [<c0234188>] from [<c022cdf0>]
Code: 0a000003 e59f02d4 eb000d20 e3a03000 (e5833000)
Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU