From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Hartkopp Subject: Re: sja1000 interrupt problem Date: Tue, 12 Nov 2013 22:26:09 +0100 Message-ID: <52829CF1.4010902@hartkopp.net> References: <3a4a0c6ac898fbe27a8fe95cb147634c@grandegger.com> <99984642-b542-4078-a5ba-3dfb66188ce5@email.android.com> <5254608B.4080208@grandegger.com> <84ba410d04a85a783d1c1994f98d1f31@grandegger.com> <527E44EB.9020605@hartkopp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mo-p00-ob.rzone.de ([81.169.146.162]:21133 "EHLO mo-p00-ob.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754796Ab3KLV0N (ORCPT ); Tue, 12 Nov 2013 16:26:13 -0500 In-Reply-To: Sender: linux-can-owner@vger.kernel.org List-ID: To: Austin Schuh Cc: Wolfgang Grandegger , linux-can@vger.kernel.org On 12.11.2013 03:59, Austin Schuh wrote: >> From the trace it is pretty hard to know which CAN interface is in charge. >> (2) Can you please add the output of dev->ifindex in the pr_info() calls? > > Gladly. See the updated logs. > > [ 556.019246] peak_pci 0000:05:00.0 can1: Got an sja1000 interrupt. > [ 556.019268] Unhandled IRQ 18... stop tracing... > [ 556.019280] peak_pci 0000:05:00.0 can0: Got an sja1000 interrupt. > [ 556.019289] peak_pci 0000:05:00.0 can1: Received packet. > [ 556.019299] peak_pci 0000:05:00.0 can1: sja1000_rx > [ 556.019307] peak_pci 0000:05:00.0 can0: TX complete. > [ 556.019318] peak_pci 0000:05:00.0 can0: Returning IRQ_HANDLED > [ 556.019362] peak_pci 0000:05:00.0 can1: Returning IRQ_HANDLED > This looks pretty broken regarding the IRQ handling. Maybe the IRQ thread handling has a real problem in the -rt kernel ?!? >> (3) Is it possible to use a standard (non-RT) kernel on your system to confirm >> this issue on a unmodified system? > > It will be a bit of time before I can schedule enough time on the PC > in question with a non-realtime kernel. I'll see what I can do. That would be a valuable information to go deeper into this problem. Thanks, Oliver