Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753572AbXEaOiy (ORCPT ); Thu, 31 May 2007 10:38:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752037AbXEaOis (ORCPT ); Thu, 31 May 2007 10:38:48 -0400 Received: from shawidc-mo1.cg.shawcable.net ([24.71.223.10]:22284 "EHLO pd2mo2so.prod.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752001AbXEaOir (ORCPT ); Thu, 31 May 2007 10:38:47 -0400 Date: Thu, 31 May 2007 08:37:52 -0600 From: Robert Hancock Subject: Re: hisax isdn card (Sedlbauer Speed Fax+) does not get an interrupt In-reply-to: To: Thomas Voegtle Cc: linux-kernel@vger.kernel.org Message-id: <465EDDC0.6090601@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-15; format=flowed Content-transfer-encoding: 7bit References: User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6954 Lines: 110 Thomas Voegtle wrote: > Hi, > > after finally upgrading our systems from Kernel 2.4 to 2.6 we experienced > problems with the ISDN cards, a hisax driven Sedlbauer Speed Fax+. > > > A "modprobe hisax type=28 protocol=2" ends in this mess: > > ========================================================================== > <05>2007 May 30 14:21:40 cbs kern: ISDN subsystem Rev: 1.1.2.3/1.1.2.3/1.1.2.2/1.1.2.3/1.1.2.2/1.1.2.2 loaded > <06>2007 May 30 14:21:40 cbs kern: HiSax: Linux Driver for passive ISDN cards > <06>2007 May 30 14:21:40 cbs kern: HiSax: Version 3.5 (module) > <06>2007 May 30 14:21:40 cbs kern: HiSax: Layer1 Revision 2.46.2.5 > <06>2007 May 30 14:21:40 cbs kern: HiSax: Layer2 Revision 2.30.2.4 > <06>2007 May 30 14:21:40 cbs kern: HiSax: TeiMgr Revision 2.20.2.3 > <06>2007 May 30 14:21:40 cbs kern: HiSax: Layer3 Revision 2.22.2.3 > <06>2007 May 30 14:21:40 cbs kern: HiSax: LinkLayer Revision 2.59.2.4 > <06>2007 May 30 14:21:40 cbs kern: HiSax module removed > <06>2007 May 30 14:21:40 cbs kern: HiSax: Linux Driver for passive ISDN cards > <06>2007 May 30 14:21:40 cbs kern: HiSax: Version 3.5 (module) > <06>2007 May 30 14:21:40 cbs kern: HiSax: Layer1 Revision 2.46.2.5 > <06>2007 May 30 14:21:40 cbs kern: HiSax: Layer2 Revision 2.30.2.4 > <06>2007 May 30 14:21:40 cbs kern: HiSax: TeiMgr Revision 2.20.2.3 > <06>2007 May 30 14:21:40 cbs kern: HiSax: Layer3 Revision 2.22.2.3 > <06>2007 May 30 14:21:40 cbs kern: HiSax: LinkLayer Revision 2.59.2.4 > <07>2007 May 30 14:21:40 cbs kern: HiSax: Total 1 card defined > <06>2007 May 30 14:21:40 cbs kern: HiSax: Card 1 Protocol EDSS1 Id=isdn0 (0) > <06>2007 May 30 14:21:40 cbs kern: HiSax: Sedlbauer driver Rev. 1.34.2.6 > <06>2007 May 30 14:21:40 cbs kern: ACPI: PCI Interrupt 0000:01:03.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11 > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: PCI subvendor:51 subid 1 > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: PCI base adr 0xa800 > <03>2007 May 30 14:21:40 cbs kern: irq 11: nobody cared (try booting with the \"irqpoll\" option) > <04>2007 May 30 14:21:40 cbs kern: [] __report_bad_irq+0x2b/0x69 > <04>2007 May 30 14:21:40 cbs kern: [] note_interrupt+0x166/0x193 > <04>2007 May 30 14:21:40 cbs kern: [] usb_hcd_irq+0x23/0x4f > <04>2007 May 30 14:21:40 cbs kern: [] handle_IRQ_event+0x21/0x4a > <04>2007 May 30 14:21:40 cbs kern: [] __do_IRQ+0x68/0x8f > <04>2007 May 30 14:21:40 cbs kern: [] do_IRQ+0x5c/0x77 > <04>2007 May 30 14:21:40 cbs kern: ======================= > <04>2007 May 30 14:21:40 cbs kern: [] common_interrupt+0x1a/0x20 > <04>2007 May 30 14:21:40 cbs kern: [] __do_softirq+0x2c/0x7d > <04>2007 May 30 14:21:40 cbs kern: [] do_softirq+0x38/0x3f > <04>2007 May 30 14:21:40 cbs kern: ======================= > <04>2007 May 30 14:21:40 cbs kern: [] do_IRQ+0x6e/0x77 > <04>2007 May 30 14:21:40 cbs kern: [] common_interrupt+0x1a/0x20 > <04>2007 May 30 14:21:40 cbs kern: [] W6692B_interrupt+0x23c/0x559 [hisax] > <04>2007 May 30 14:21:40 cbs kern: [] delay_pmtmr+0xb/0x13 > <04>2007 May 30 14:21:40 cbs kern: [] __delay+0x9/0xa > <04>2007 May 30 14:21:40 cbs kern: [] setup_sedlbauer+0x1ee/0x534 [hisax] > <04>2007 May 30 14:21:40 cbs kern: [] printk+0x12/0x16 > <04>2007 May 30 14:21:40 cbs kern: [] checkcard+0x201/0x566 [hisax] > <04>2007 May 30 14:21:40 cbs kern: [] checkcard+0x288/0x566 [hisax] > <04>2007 May 30 14:21:40 cbs kern: [] HiSax_init+0x4dc/0x57a [hisax] > <04>2007 May 30 14:21:40 cbs kern: [] new_inode+0x14/0x76 > <04>2007 May 30 14:21:40 cbs kern: [] sysfs_add_file+0x1f/0x52 > <04>2007 May 30 14:21:40 cbs kern: [] debug_mutex_add_waiter+0x14/0x24 > <04>2007 May 30 14:21:40 cbs kern: [] sysfs_new_dirent+0x17/0x56 > <04>2007 May 30 14:21:40 cbs kern: [] sys_init_module+0x1364/0x1439 > <04>2007 May 30 14:21:40 cbs kern: [] vma_prio_tree_insert+0x17/0x2a > <04>2007 May 30 14:21:40 cbs kern: [] vma_link+0x85/0x8b > <04>2007 May 30 14:21:40 cbs kern: [] do_mmap_pgoff+0x4e7/0x634 > <04>2007 May 30 14:21:40 cbs kern: [] sys_mmap2+0x61/0x90 > <04>2007 May 30 14:21:40 cbs kern: [] syscall_call+0x7/0xb > <03>2007 May 30 14:21:40 cbs kern: handlers: > <03>2007 May 30 14:21:40 cbs kern: [] (usb_hcd_irq+0x0/0x4f) > <00>2007 May 30 14:21:40 cbs kern: Disabling IRQ #11 > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: defined at 0xa800-0xa900 IRQ 11 > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: speed fax+ pyramid detected > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: ISAC version (0): 2086/2186 V1.1 > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: resetting card > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: ISAR version 1 > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer Speed Fax +: IRQ 11 count 100000 > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: resetting card > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer Speed Fax +: IRQ 11 count 100000 > <04>2007 May 30 14:21:40 cbs kern: Sedlbauer Speed Fax +: IRQ(11) getting no interrupts during init 1 > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: resetting card > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: resetting card > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer Speed Fax +: IRQ 11 count 100000 > <04>2007 May 30 14:21:40 cbs kern: Sedlbauer Speed Fax +: IRQ(11) getting no interrupts during init 2 > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: resetting card > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: resetting card > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer Speed Fax +: IRQ 11 count 100000 > <04>2007 May 30 14:21:40 cbs kern: Sedlbauer Speed Fax +: IRQ(11) getting no interrupts during init 3 > <06>2007 May 30 14:21:40 cbs kern: Sedlbauer: resetting card > <04>2007 May 30 14:21:40 cbs kern: HiSax: Card Sedlbauer Speed Fax + not installed ! > ========================================================================== > > While the output seems to suggest a hardware problem, the same system > loads the hisax driver perfectly on recent 2.4 kernels. > > We tried several kernel versions, up to 2.6.21.3 > > Any hints are appreciated :) Likely a driver problem - the device is using IRQ 11, but the driver never actually registered a handler for that interrupt (it's not in the list of handlers, only USB is). Maybe retrieving the interrupt before pci_enable_device? (I haven't looked at the code in question.) -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/