LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-08-2012, 07:49 AM   #1
tybandara
LQ Newbie
 
Registered: Feb 2011
Location: Sri Lanka
Posts: 9

Rep: Reputation: 0
Exclamation Arm device containing Linux 2.4 reboots frequently..


Hello all,

I have a arm device, an overo gumstix air board with 2.4 Linux kernel in it. I have an application running on it which will talk to two custom char drivers that I've written. The application has a TCP socket which talks to an outside server. I frequently noticed that the wifi connectivity of the machine turns off automatically. First I thought that this is something with the internet connectivity and I wrote a small daemon program to tackle that. But I got to know then it's not the internet connection, but the whole system is stuck at that point. So I enabled the watchdog timer of the board. Then I started to notice that my machine keeps on restarting during the run time of my program. Can this be something with wrong practice in writing the drivers? Or has anyone seen this kind of behaviors? Or is there any way I can narrow down what caused the system stuck condition?

I'm starting to think that a malfunction of an user level program can not let the machine reboot. Can this be some issue with the malpractices in driver writing. If so, is there are any way I can narrow down this issue. FYI: this scenario is very random, happens once a time. But my application is very time critical. So I must stop any malpractices.

Thanks all

Last edited by tybandara; 02-08-2012 at 10:31 PM.
 
Old 02-08-2012, 10:05 AM   #2
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 2,672

Rep: Reputation: 956Reputation: 956Reputation: 956Reputation: 956Reputation: 956Reputation: 956Reputation: 956Reputation: 956
Where are you getting a 2.4 kernel for the overo? I've never seen anything that old for them. The current OE omap3-console-image uses a 3.0.0 kernel, and even images dating back years are still in the 2.6.3? range. I think the first step should be to update to a newer build with better stability and better support for the hardware.
 
Old 02-08-2012, 10:27 PM   #3
tybandara
LQ Newbie
 
Registered: Feb 2011
Location: Sri Lanka
Posts: 9

Original Poster
Rep: Reputation: 0
I'm really sorry, my kernel is not 2.4 but 2.6.34
I'm really sorry for the mistake. Any suggestions?
 
  


Reply

Tags
arm, drivers, linux, reboot, stuck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lucid with 1GB RAM hangs/reboots frequently and Swap usage is very low rusty_vin Linux - Newbie 9 01-01-2011 12:28 PM
Compiling debian arm for NSLU2 - arm-linux-gnueabi-objdump not found ergosteur Linux - Kernel 3 10-30-2010 11:24 AM
to implement device tree concept in ARM linux krnel sjremya Linux - Kernel 1 08-19-2010 03:54 PM
Cross compiling Mono for ARM device running on Linux 2.4 kartiknatarajan Linux - Embedded & Single-board computer 5 12-16-2009 10:59 PM
Bad page state in process apache2 (Server reboots frequently) Zeest Linux - Server 2 05-17-2007 11:13 PM


All times are GMT -5. The time now is 06:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration