LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-21-2011, 10:29 AM   #1
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Rep: Reputation: 97
High hardware interrupts from timer and parport0 causing issues


I guess this is the right place to set this as it comes back to hardware, but alas I hope someone can help me.

I recently put a ClearOS proxy into our office and it seemed to operate ok at first, then the box stopped passing network traffic and once rebooted and that fixed it started to slow down the Internet connection. I thought maybe ntop was causing issues, I disabled that, and that didn't help, I did some investigation and found that the CPU (dual core) is servicing 45%-50% hardware interrupts according to top (when looking at individual core on get 88%-100% hardware interrupts the other sits almost completely idle) using procinfo I see that the timer and a device called parport0 are causing an insane number of interrupts. I don't know where to proceed form here, I have done some googling and nothing good has come up, mainly talks about high interrupts suggesting hardware issues and to replace hardware, but I can hardly replace the timer, and I don't even know what parport0 is (though I highly suspect parallel port). Any suggestions how to proceed? I am thinking of wiping the box and rolling my own based on Debian.
 
Old 07-22-2011, 02:59 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,373

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
I take it you are not using the parallel port?

Parallel ports come with 2 modules, and two possibile configurations. As parport0, it's bidirectional. As lp0, it is unidirectional. It is usually possible to deny them an interrupt or disable the parallel port completely in the bios.

I would remove the parport.ko module. It's probably in the /lib/modules module tree, and may also be in the initrd if you have one. Rm it or move it out of sight. If you have the setting to trigger interrupts as edge or level, I would set edge.
 
1 members found this post helpful.
Old 07-22-2011, 11:15 AM   #3
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Original Poster
Rep: Reputation: 97
Thanks business kid, I'll look into that the first chance I get.
 
Old 07-24-2011, 06:16 PM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Original Poster
Rep: Reputation: 97
Well just an update as part of troubleshooting I disabled the parallel port in the BIOS and the issue seems to have disappeared. As this is a production machine I am not going to dig any further, though I would like to know what caused it.
 
Old 07-25-2011, 03:00 AM   #5
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,373

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Spurious interrupts.

The only one of these I properly ran to ground was causing log spam on usb-2.0, and I had a box which displayed the fault. I made waves on the chipset manufacturer's(VIA) forums, and they evidently decided I was dangerous, and asked their linux guy (some programming hopeful)to put work into solving this.
He produced a kernel patch which read the state of salient registers into the log, as I threw in and removed usb things. Patch mark III worked.We could suddenly see that it wasn't paying a blind bit of notice to the state registers, and just spewing messages when nothing was connected.

ehci: overcurrent change on port 0.0
ehci: overcurrent change on port 0.1

To the software guys, this was perplexing. But fortunately there was a hardware guy on the job (ME), and I could pat them on the head and say yes, dud hardware getting out the door was a perfectly normal if not desirable thing, and not to be worrying themselves. A patch giving a kernel option followed, and wiped them.

I subsequently discovered this was on 2 of the 6 usb ports on that chip. Via's 'reaction' to it had been to quietly disable the 2 offending ports internally, and make MK II with 4 usb ports. They sold the stock off cheap, and I bought cheap, so what goes around comes around, etc.
 
Old 07-25-2011, 10:39 AM   #6
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Original Poster
Rep: Reputation: 97
Interesting story, but things happen I guess, as I don't need the parallel port it's all good. Thanks for helping out.
 
  


Reply

Tags
centos, clearos, hardware interrupts, parport0, timer


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
Tickless Kernel yet still get many IRQ0 timer interrupts sixerjman Linux - Kernel 2 02-23-2011 02:31 AM
[SOLVED] generating timer interrupts in C yaami Programming 3 07-24-2010 02:59 AM
Does high kernel timer frequency may cause damage to hardware? igadoter Linux - Hardware 19 07-23-2010 03:11 PM
Need to disable timer or all interrupts from user space G35Coupe Linux - General 0 11-16-2004 12:31 AM


All times are GMT -5. The time now is 11:27 AM.

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