Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-26-2004, 05:41 PM   #1
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.
Old 08-27-2004, 05:25 AM   #2
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, 04:57 PM   #3
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.

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

Original Poster
Rep: Reputation: 0


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

All times are GMT -5. The time now is 05:06 AM.

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