Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261312AbVBRIsw (ORCPT ); Fri, 18 Feb 2005 03:48:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261301AbVBRIsw (ORCPT ); Fri, 18 Feb 2005 03:48:52 -0500 Received: from kermit.goldweb.com.au ([202.55.152.3]:12762 "EHLO goldweb.com.au") by vger.kernel.org with ESMTP id S261305AbVBRIsT (ORCPT ); Fri, 18 Feb 2005 03:48:19 -0500 Subject: BUG: stallion module cannot register it's ISR in a 2.6.10 kernel on a FC3 system From: Burn Alting To: linux-kernel@vger.kernel.org Content-Type: text/plain Date: Fri, 18 Feb 2005 19:48:12 +1100 Message-Id: <1108716493.6213.8.camel@swtf.comptex.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 20815 Lines: 543 Here is the bug report. Stallion was purchased by Lantronix and they don't really care about this bug. [1.] One line summary of the problem: Stallion 4 port IO card fails when modprobe'd into kernel [2.] Full description of the problem/report: Under Fedora Core 3 using a ftp.kernel.org 2.6.10 kernel, when the stallion driver module is loaded into the kernel error messages appear in /var/log/messages. Then, if a port is accessed further messages appear and IRQ 11 is disabled/turned off. [3.] Keywords (i.e., modules, networking, kernel): stallion, serial, kernel [4.] Kernel version (from /proc/version): Linux version 2.6.10 (root@swtf.comptex.com.au) (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Fri Feb 18 17:44:05 EST 2005 [5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) [6.] A small shell script or example program which triggers the problem (if possible) modprobe stallion [7.] Environment [7.1.] Software (add the output of the ver_linux script here) Linux swtf.comptex.com.au 2.6.10 #1 Fri Feb 18 17:44:05 EST 2005 i686 i686 i386 GNU/Linux Gnu C 3.4.2 Gnu make 3.80 binutils 2.15.92.0.2 util-linux 2.12a mount 2.12a module-init-tools 3.1-pre5 e2fsprogs 1.35 jfsutils 1.1.7 reiserfsprogs 3.6.18 reiser4progs line xfsprogs 2.6.13 pcmcia-cs 3.2.7 quota-tools 3.12. PPP 2.4.2 isdn4k-utils 3.3 nfs-utils 1.0.6 Linux C Library 2.3.4 Dynamic linker (ldd) 2.3.4 Procps 3.2.3 Net-tools 1.60 Kbd 1.12 Sh-utils 5.2.1 Modules Loaded nfsd exportfs lockd parport_pc lp parport autofs4 sunrpc dm_mod video button battery ac pl2303 ftdi_sio usbserial md5 ipv6 uhci_hcd ehci_hcd i2c_i801 i2c_core snd_usb_audio snd_usb_lib snd_rawmidi snd_seq_device snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc e1000 floppy ext3 jbd aic7xxx sd_mod scsi_mod [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.53GHz stepping : 4 cpu MHz : 2546.579 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm bogomips : 5046.27 [7.3.] Module information (from /proc/modules): nfsd 210976 9 - Live 0xf8ccb000 exportfs 9344 1 nfsd, Live 0xf8c8a000 lockd 68264 2 nfsd, Live 0xf8c5a000 parport_pc 29636 1 - Live 0xf8c51000 lp 13292 0 - Live 0xf8c6d000 parport 41928 2 parport_pc,lp, Live 0xf8cbf000 autofs4 28292 0 - Live 0xf8a06000 sunrpc 182372 19 nfsd,lockd, Live 0xf8c23000 dm_mod 64276 0 - Live 0xf89ec000 video 16132 0 - Live 0xf89e7000 button 6928 0 - Live 0xf8a00000 battery 9604 0 - Live 0xf89c9000 ac 5124 0 - Live 0xf883d000 pl2303 24964 0 - Live 0xf89c1000 ftdi_sio 33796 0 - Live 0xf89b7000 usbserial 30312 2 pl2303,ftdi_sio, Live 0xf8985000 md5 4608 1 - Live 0xf893d000 ipv6 273088 22 - Live 0xf8d85000 uhci_hcd 36112 0 - Live 0xf89ad000 ehci_hcd 41732 0 - Live 0xf89a1000 i2c_i801 8844 0 - Live 0xf897a000 i2c_core 23040 1 i2c_i801, Live 0xf8973000 snd_usb_audio 67904 2 - Live 0xf8961000 snd_usb_lib 13824 1 snd_usb_audio, Live 0xf8980000 snd_rawmidi 29984 1 snd_usb_lib, Live 0xf8998000 snd_seq_device 9484 1 snd_rawmidi, Live 0xf8939000 snd_intel8x0 36768 2 - Live 0xf898e000 snd_ac97_codec 76000 1 snd_intel8x0, Live 0xf89cd000 snd_pcm_oss 55588 0 - Live 0xf892a000 snd_mixer_oss 19968 3 snd_pcm_oss, Live 0xf8884000 snd_pcm 110856 4 snd_usb_audio,snd_intel8x0,snd_ac97_codec,snd_pcm_oss, Live 0xf8a10000 snd_timer 34692 1 snd_pcm, Live 0xf8920000 snd 60260 13 snd_usb_audio,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer, Live 0xf88ed000 soundcore 11360 3 snd, Live 0xf8880000 snd_page_alloc 10372 2 snd_intel8x0,snd_pcm, Live 0xf8864000 e1000 88756 0 - Live 0xf88d6000 floppy 66736 0 - Live 0xf886e000 ext3 134280 3 - Live 0xf88fe000 jbd 86808 1 ext3, Live 0xf888a000 aic7xxx 184024 0 - Live 0xf88a8000 sd_mod 18944 0 - Live 0xf8868000 scsi_mod 136320 2 aic7xxx,sd_mod, Live 0xf881a000 [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-006f : keyboard 0070-0077 : rtc 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 02f8-02ff : serial 0376-0376 : ide1 0378-037a : parport0 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial 0cf8-0cff : PCI conf1 4000-407f : 0000:00:1f.0 4000-4003 : PM1a_EVT_BLK 4004-4005 : PM1a_CNT_BLK 4008-400b : PM_TMR 4028-402f : GPE0_BLK 4080-40bf : 0000:00:1f.0 5000-501f : 0000:00:1f.3 5000-500f : i801-smbus a000-a0ff : 0000:02:01.0 a400-a47f : 0000:02:02.0 a800-a87f : 0000:02:02.0 ac00-ac3f : 0000:02:09.0 ac00-ac3f : e1000 b000-b007 : 0000:02:0c.0 b400-b403 : 0000:02:0c.0 b800-b807 : 0000:02:0c.0 b800-b807 : ide3 bc00-bc03 : 0000:02:0c.0 bc02-bc02 : ide3 c000-c00f : 0000:02:0c.0 c000-c007 : ide2 c008-c00f : ide3 d000-d01f : 0000:00:1d.1 d000-d01f : uhci_hcd d400-d41f : 0000:00:1d.2 d400-d41f : uhci_hcd d800-d81f : 0000:00:1d.0 d800-d81f : uhci_hcd e000-e0ff : 0000:00:1f.5 e000-e0ff : Intel 82801DB-ICH4 e400-e43f : 0000:00:1f.5 e400-e43f : Intel 82801DB-ICH4 f000-f00f : 0000:00:1f.1 f000-f007 : ide0 f008-f00f : ide1 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000cf3ff : Video ROM 000f0000-000fffff : System ROM 00100000-3ffeffff : System RAM 00100000-0037ea7c : Kernel code 0037ea7d-004213ff : Kernel data 3fff0000-3fff2fff : ACPI Non-volatile Storage 3fff3000-3fffffff : ACPI Tables 40000000-400003ff : 0000:00:1f.1 d0000000-d7ffffff : 0000:00:00.0 d8000000-e7ffffff : PCI Bus #01 d8000000-dfffffff : 0000:01:00.0 e0000000-e007ffff : 0000:01:00.0 e8000000-e9ffffff : PCI Bus #01 e8000000-e8ffffff : 0000:01:00.0 eb000000-eb01ffff : 0000:02:09.0 eb000000-eb01ffff : e1000 eb020000-eb023fff : 0000:02:0c.0 eb024000-eb024fff : 0000:02:01.0 eb024000-eb024fff : aic7xxx ec000000-ec0003ff : 0000:00:1d.7 ec000000-ec0003ff : ehci_hcd ec001000-ec0011ff : 0000:00:1f.5 ec001000-ec0011ff : Intel 82801DB-ICH4 ec002000-ec0020ff : 0000:00:1f.5 ec002000-ec0020ff : Intel 82801DB-ICH4 fec00000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root) 00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 02) Subsystem: Giga-byte Technology GA-8PE667 Ultra Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 00:01.0 PCI bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge (rev 02) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B- 00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI]) Subsystem: Giga-byte Technology: Unknown device 24c2 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B- 00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- Region 1: I/O ports at Region 2: I/O ports at Region 3: I/O ports at Region 4: I/O ports at f000 [size=16] Region 5: Memory at 40000000 (32-bit, non-prefetchable) [size=1K] 00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02) Subsystem: Giga-byte Technology GA-8PE667 Ultra Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- 02:01.0 SCSI storage controller: Adaptec AHA-2940U2/U2W Subsystem: Adaptec AHA-2940U2W SCSI Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- ] __might_sleep+0x95/0xb0 Feb 18 18:20:31 swtf kernel: [] acpi_os_wait_semaphore +0x72/0xd1 Feb 18 18:20:31 swtf kernel: [] acpi_bus_data_handler+0x0/0x1 Feb 18 18:20:31 swtf kernel: [] acpi_ut_acquire_mutex +0x5d/0x70 Feb 18 18:20:31 swtf kernel: [] acpi_get_data+0x2f/0x62 Feb 18 18:20:31 swtf kernel: [] acpi_bus_get_device+0x1d/0x2e Feb 18 18:20:31 swtf kernel: [] acpi_pci_link_get_irq +0x1b/0x68 Feb 18 18:20:31 swtf kernel: [] acpi_pci_irq_lookup+0x39/0x57 Feb 18 18:20:31 swtf kernel: [] acpi_pci_irq_enable +0x82/0x14e Feb 18 18:20:31 swtf kernel: [] pcibios_enable_device +0x14/0x20 Feb 18 18:20:31 swtf kernel: [] pci_enable_device_bars +0x1e/0x40 Feb 18 18:20:31 swtf kernel: [] pci_enable_device+0x14/0x40 Feb 18 18:20:31 swtf kernel: [] stl_init+0xfc/0x451 [stallion] Feb 18 18:20:31 swtf kernel: [] stallion_module_init+0x9/0x10 [stallion] Feb 18 18:20:31 swtf kernel: [] sys_init_module+0x1e5/0x320 Feb 18 18:20:31 swtf kernel: [] sys_read+0x41/0x70 Feb 18 18:20:31 swtf kernel: [] sysenter_past_esp+0x52/0x75 Feb 18 18:20:34 swtf kernel: ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 11 Feb 18 18:20:34 swtf kernel: ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 11 (level, low) -> IRQ 11 Feb 18 18:20:34 swtf kernel: STALLION: failed to register interrupt routine for serial(EIO-PCI) irq=11 Feb 18 18:20:34 swtf kernel: STALLION: EasyIO-PCI found, board=0 io=a800 irq=11 nrpanels=1 nrports=4 When I enter attempt to access one of the stallion ports (ttyE0) cu -p E0 the following occurs in the syslog plus a wall sent by the kernel. Feb 18 18:21:02 swtf kernel: irq 11: nobody cared! Feb 18 18:21:02 swtf kernel: [] __report_bad_irq+0x24/0x80 Feb 18 18:21:02 swtf kernel: [] note_interrupt+0x8e/0xb0 Feb 18 18:21:02 swtf kernel: [] __do_IRQ+0x21d/0x340 Feb 18 18:21:02 swtf kernel: [] do_IRQ+0x5f/0xa0 Feb 18 18:21:02 swtf kernel: [] do_IRQ+0x9b/0xa0 Feb 18 18:21:02 swtf kernel: [] common_interrupt+0x1a/0x20 Feb 18 18:21:02 swtf kernel: [] handle_IRQ_event+0x29/0x70 Feb 18 18:21:02 swtf kernel: [] __do_IRQ+0xfc/0x340 Feb 18 18:21:02 swtf kernel: [] do_IRQ+0x58/0xa0 Feb 18 18:21:02 swtf kernel: ======================= Feb 18 18:21:02 swtf kernel: [] stall_callback+0x0/0x3d0 [uhci_hcd] Feb 18 18:21:02 swtf kernel: [] common_interrupt+0x1a/0x20 Feb 18 18:21:02 swtf kernel: [] __do_softirq+0x2d/0x90 Feb 18 18:21:02 swtf kernel: [] do_softirq+0x41/0x50 Feb 18 18:21:02 swtf kernel: ======================= Feb 18 18:21:02 swtf kernel: [] do_IRQ+0x5f/0xa0 Feb 18 18:21:02 swtf kernel: [] common_interrupt+0x1a/0x20 Feb 18 18:21:02 swtf kernel: handlers: Feb 18 18:21:02 swtf kernel: [] (ahc_linux_isr+0x0/0x420 [aic7xxx]) Feb 18 18:21:02 swtf kernel: [] (e1000_intr+0x0/0xd0 [e1000]) Feb 18 18:21:02 swtf kernel: Disabling IRQ #11 [X.] Other notes, patches, fixes, workarounds: - 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/