LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2004, 04:41 PM   #1
Nightbird
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
Why does linux reboot at Random when running my USB communication program


Hello all

I am experiencing a problem that I am sure is not a distribution problem as I am experiencing similar problems on both my RH9.0 and knoppix 2.4.26 boxes.

I am using a private usb kernel mode driver (developed by the company that made the hardware) for the low-level usb comunication. My program sends information back and forth from the hardware device a number of times during execution. The whole time that the program is running it does not have any memory leaks (per Etnus Totalview w/Memory debugging active). Does anyone know of maybe an error message that is getting thrown that I may not be catching that could cause a spontatnious reboot of the machine. (the reboots occur even when I run my program in user mode not in root). I have turned off the trap for CAD in the inittab file and I still get the same problem. Sometimes I can run the program all day long and only have one reboot, other times I get it every 10 minutes. Any help or ideas would be lovely. I would show my source but it is for Job so it is a closed source matter as this is part of some black box style software.
Not sure if it might be a problem but the kernel mode driver uses a ring buffer, and i haven't used one since college, so I don't remember if they are proned to memeory leaks or what.

Thanks for your help.
-Nightbird
 
Old 08-27-2004, 04:25 AM   #2
eisman
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Sidux , Debian, Haiku, PC-BSD, CentOS --> XenExpress
Posts: 77

Rep: Reputation: 16
I had something like it ones, but it hanged my computer not rebooting it.
The problem was in the usb modules.


Perhaps the usb module you use does a reboot?

Are the correct usb modules loaded for your chipset?
 
Old 08-27-2004, 03:57 PM   #3
Nightbird
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
yes we are using intel and via mobo so they require the uhci and the ehci and that is what we have loaded. so I am at a loss. Any other ideas.

-Nightbird
 
Old 09-02-2004, 07:38 PM   #4
Nightbird
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
bump??
 
  


Reply



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
inter-program communication Raspis21 Programming 9 07-22-2005 02:49 AM
Communication between shell script and program ZooL Programming 6 08-14-2004 05:44 AM
Random program crashes in Linux, is fedora not stable? xbennyboy Linux - Newbie 13 08-05-2004 11:15 AM
Random Reboot @ Terminal Shortee Debian 9 08-02-2004 10:05 AM
How does one shutdown and reboot linux from within a program? prometheus7817 Linux - General 2 08-27-2003 06:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration