[Fwd: irq 9: nobody cared! after moving from 2.4.19 to 2.6.11.5]

scott scott at waye.co.uk
Sat Apr 16 14:10:29 EDT 2005


Hi,

On Thu, 2005-04-14 at 19:38, Daniel Ritz wrote:
> On Thursday 14 April 2005 18:56, Scott Waye wrote:
> > Hi,
> > 
> > Daniel Ritz wrote:
> > 
> > >hi
> > >
> > >strange enough. the interrupt is even coming in on the right line. but
> > >please try the attached patch. it should fix the problem. (also strange
> > >enough the problem has not been reported before. but i saw similar
> > >reports more than once this week. i think all from debian users. looks
> > >like they upgraded the kernel so we have a lot more testers :)
> > >
> > >dominik please push this for 2.6.12 anyway. it can't hurt :)
> > >
> > >  
> > >
> > Thanks for the patch.  I applied it onto 2.6.11.5 with the ti113x.h 
> > patch already applied (not sure if that makes any difference).  I still 
> > have a problem and get the following output in dmesg/lspci -vv :  Oh, 
> > FWIW this laptop was intially built from Slackware (I've always used 
> > that right since a.out days)
> > 
> [snip]
> > ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 9 (level, low) -> IRQ 9
> > Yenta: CardBus bridge found at 0000:00:0a.0 [104d:80f6]
> > Yenta: Using CSCINT to route CSC interrupts to PCI
> > Yenta: Routing CardBus interrupts to PCI
> > Yenta TI: socket 0000:00:0a.0, mfunc 0x012c1222, devctl 0x66
> > irq 9: nobody cared!
> >  [<c013022a>] __report_bad_irq+0x2a/0x90
> >  [<c012fb20>] handle_IRQ_event+0x30/0x70
> >  [<c013031c>] note_interrupt+0x6c/0xd0
> >  [<c012fcae>] __do_IRQ+0x14e/0x160
> >  [<c01044a3>] do_IRQ+0x23/0x40
> >  [<c0102a3a>] common_interrupt+0x1a/0x20
> >  [<c0119ab0>] __do_softirq+0x30/0x90
> >  [<c0119b36>] do_softirq+0x26/0x30
> >  [<c0119c15>] irq_exit+0x35/0x40
> >  [<c01044a8>] do_IRQ+0x28/0x40
> >  [<c0102a3a>] common_interrupt+0x1a/0x20
> >  [<c027b5d7>] yenta_probe_cb_irq+0xb7/0x140
> >  [<c027a4ef>] ti12xx_irqroute_func0+0x8f/0x380
> >  [<c027ad11>] ti12xx_override+0x101/0x1a0
> >  [<c027ba77>] yenta_probe+0x237/0x250
> >  [<c01ea532>] pci_device_probe_static+0x52/0x70
> >  [<c01ea58c>] __pci_device_probe+0x3c/0x50
> >  [<c01ea5cc>] pci_device_probe+0x2c/0x50
> >  [<c023dcef>] driver_probe_device+0x2f/0x70
> >  [<c023de29>] driver_attach+0x59/0x90
> >  [<c023e2f8>] bus_add_driver+0x98/0xd0
> >  [<c023e91f>] driver_register+0x2f/0x40
> >  [<c025a11c>] ide_register_driver+0x10c/0x130
> >  [<c01ea842>] pci_register_driver+0x62/0x80
> >  [<c03f206f>] yenta_socket_init+0xf/0x20
> >  [<c03da81b>] do_initcalls+0x2b/0xc0
> >  [<c03f37aa>] sock_init+0x2a/0x40
> >  [<c01002c0>] init+0x0/0x110
> >  [<c01002ef>] init+0x2f/0x110
> >  [<c010086c>] kernel_thread_helper+0x0/0x14
> >  [<c0100871>] kernel_thread_helper+0x5/0x14
> > handlers:
> > [<c01f01d0>] (acpi_irq+0x0/0x16)
> > [<c027b4e0>] (yenta_probe_handler+0x0/0x40)
> > Disabling IRQ #9
> > [ACPI Debug] String: [0x24] "------------------------ _Q09 : test"
> > Yenta TI: socket 0000:00:0a.0 probing PCI interrupt failed, trying to fix
> > Yenta TI: socket 0000:00:0a.0 falling back to parallel PCI interrupts
> > Yenta TI: socket 0000:00:0a.0 no PCI interrupts. Fish. Please report.
> > Yenta: ISA IRQ mask 0x0c00, PCI irq 0
> > Socket status: 30000019
> 
> he he. it's better now, the yent_probe_handler is there at least :)
> 
> so can you try these two things?
> - make sure no card is inserted when yenta is loading. insert it when the
>   whole pcmcia thingy is up
> - try to just remove the followin code in yenta_probe_cb_irq() in yenta.c:
>         /* disable ISA interrupts */
>         bridge_ctrl = config_readw(socket, CB_BRIDGE_CONTROL);
>         bridge_ctrl &= ~CB_BRIDGE_INTR;
>         config_writew(socket, CB_BRIDGE_CONTROL, bridge_ctrl);
> 
> now that i think about it i can't remember why i put it there in the
> first place...it's not needed as far as i can see. also the opposite in
> yenta_probe_irq() is not needed...this thingy is only for the functional
> interrupt, not for the CSC.
> 
Thanks for the help.  Ok, I commented out those lines in yenta_socket.c,
rebuilt the kernel, took out the card and rebooted.  Booted fine, I
can't see anything wrong in the dmesg output (attached).  I then
inserted the card and the network came up fine.  "cardctl eject 0", and
the network went down, power light out.  Then a few seconds later the
kernel oops.  I didn't have a serial console running so I didn't get the
output.  On rebooting, I found this in syslog: 

Apr 16 08:39:50 cali kernel: kernel BUG at mm/slab.c:927!
Apr 16 08:39:50 cali kernel: invalid operand: 0000 [#1]

I then connected a serial console to get the full output, and this time
it oops'ed with a different error (sorry about the formatting):

 Unable to handle kernel paging request at virtual address 2d640030
printing
eip:                                                                
*pde =
00000000                                                               
Oops: 0002
[#1]                                                               
PREEMPT                                                                       
Modules linked in: snd_pcm_oss snd_mixer_oss snd_via82xx snd_ac97_codec
snd_pt
CPU:   
0                                                                     
EIP:    0060:[<c013a19b>]    Not tainted
VLI                                  
EFLAGS: 00010016  
(2.6.11.5)                                                 
EIP is at
free_block+0x4b/0xd0                                                
eax: c1365d40   ebx: cec7ad80   ecx: cd875000   edx:
2d640030                 
esi: cfeeff60   edi: 00000001   ebp: cfeeff6c   esp:
cfea5ed4                 
ds: 007b   es: 007b   ss:
0068                                                
Process events/0 (pid: 3, threadinfo=cfea4000
task=cfecd020)                  
Stack: cfb07040 c0367b20 cfeeff7c cfeec9f0 cfeec9e0 00000005 cfeeff60
c013a83
       cfeeff60 cfeec9f0 00000005 00000001 cfeeff60 cfeeffd0 cfeee8e0
c013a91
	   cfeeff60 cfeec9e0 00000000 cfee777c cfea4000 cfea4000 00000292
c0415b4 
Call
Trace:                                                                  
 [<c013a83f>]
drain_array_locked+0x7f/0xb0                                     
 [<c013a913>]
cache_reap+0xa3/0x1c0                                            
 [<c012567c>]
worker_thread+0x22c/0x300                                        
 [<c013a870>]
cache_reap+0x0/0x1c0                                             
 [<c0111200>]
default_wake_function+0x0/0x20                                   
 [<c0111200>]
default_wake_function+0x0/0x20                                   
 [<c0125450>]
worker_thread+0x0/0x300                                          
 [<c0129be5>]
kthread+0xa5/0xb0                                                
 [<c0129b40>]
kthread+0x0/0xb0                                                 
 [<c0100871>]
kernel_thread_helper+0x5/0x14                                   
Code: 6e 0c 89 44 24 08 8b 44 24 24 8b 15 b0 5b 41 c0 8b 0c b8 8d 81 00
00 00
 <6>note: events/0[3] exited with preempt_count 1             

---------------
dmesg output from successful boot with card not inserted:

Linux version 2.6.11.5 (root at cali) (gcc version 3.2) #6 Sat Apr 16
08:33:34 BST 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000c0000 - 00000000000d4000 (reserved)
 BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fef0000 (usable)
 BIOS-e820: 000000000fef0000 - 000000000feff000 (ACPI data)
 BIOS-e820: 000000000feff000 - 000000000ff00000 (ACPI NVS)
 BIOS-e820: 000000000ff00000 - 0000000010000000 (usable)
 BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
256MB LOWMEM available.
On node 0 totalpages: 65536
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61440 pages, LIFO batch:15
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 PTLTD                                 ) @ 0x000f7700
ACPI: RSDT (v001 SONY   K5       0x06040000  LTP 0x00000000) @
0x0fef9d89
ACPI: FADT (v001 SONY   K5       0x06040000 PTL_ 0x000f4240) @
0x0fefee4c
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @
0x0fefeec0
ACPI: SSDT (v001 PTLTD  POWERNOW 0x06040000  LTP 0x00000001) @
0x0fefeee8
ACPI: DSDT (v001  SONY  K5       0x06040000 MSFT 0x0100000d) @
0x00000000
Allocating PCI resources starting at 10000000 (gap: 10000000:effe0000)
Built 1 zonelists
Kernel command line: BOOT_IMAGE=Linux ro root=306 lapic
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
mapped APIC to ffffd000 (fee00000)
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 800.354 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 255840k/262144k available (2076k kernel code, 5680k reserved,
834k data, 148k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay loop... 1572.86 BogoMIPS (lpj=786432)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff c1c7fbff 00000000 00000000
00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1c7fbff 00000000 00000000
00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1c7fbff 00000000 00000020 00000000
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD mobile AMD Duron(tm) stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
 tbxface-0118 [02] acpi_load_tables      : ACPI Tables successfully
acquired
Parsing all Control
Methods:.................................................................................................................................................................
Table [DSDT](id F005) - 562 Objects with 44 Devices 161 Methods 22
Regions
Parsing all Control Methods:
Table [SSDT](id F003) - 3 Objects with 0 Devices 0 Methods 0 Regions
ACPI Namespace successfully loaded at root c040e3c0
ACPI: setting ELCR to 0200 (from 0620)
evxfevnt-0094 [03] acpi_enable           : Transition to ACPI mode
successful
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd7cd, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050211
evgpeblk-0979 [06] ev_create_gpe_block   : GPE 00 to 0F [_GPE] 2 regs on
int 0x9
evgpeblk-0987 [06] ev_create_gpe_block   : Found 2 Wake, Enabled 1
Runtime GPEs in this block
Completing Region/Field/Buffer/Package
initialization:..........................................................................................
Initialized 22/22 Regions 16/16 Fields 27/27 Buffers 25/27 Packages (574
nodes)
Executing all Device _STA and_INI
methods:................................................
48 Devices found containing: 48 _STA, 3 _INI methods
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Via IRQ fixup
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 *9 10 11 12)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 *10 11 12)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 7 9 10 11 12)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *9 10 11 12)
ACPI: Embedded Controller [EC0] (gpe 1)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
ACPI: Power Resource [PCR0] (off)
ACPI: Power Resource [PCR1] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
Linux Kernel Card Services
  options:  [pci] [cardbus]
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically.  If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device().  As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior.  If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas at hp.com
** so I can fix the driver.
Simple Boot Flag at 0x37 set to 0x1
Applying VIA southbridge workaround.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
spurious 8259A interrupt: IRQ7.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
Probing IDE interface ide0...
hda: HITACHI_DK23CA-15, ATA DISK drive
Probing IDE interface ide1...
hdc: QSI DVD-ROM SDR-081, ATAPI CD/DVD-ROM drive
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 29498112 sectors (15103 MB) w/512KiB Cache, CHS=29264/16/63
hda: cache flushes not supported
 hda: hda1 hda2 < hda5 hda6 >
hdc: ATAPI 24X DVD-ROM drive, 512kB Cache
Uniform CD-ROM driver Revision: 3.20
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 9 (level, low) -> IRQ 9
Yenta: CardBus bridge found at 0000:00:0a.0 [104d:80f6]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:0a.0, mfunc 0x012c1222, devctl 0x66
Yenta: ISA IRQ mask 0x0c08, PCI irq 9
Socket status: 30000006
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI interrupt 0000:00:0a.1[B] -> GSI 10 (level, low) -> IRQ 10
Yenta: CardBus bridge found at 0000:00:0a.1 [104d:80f6]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:0a.1, mfunc 0x012c1222, devctl 0x66
[ACPI Debug] String: [0x24] "------------------------ _Q09 : test"
Yenta: ISA IRQ mask 0x0808, PCI irq 10
Socket status: 30000006
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
ALPS Touchpad (Glidepoint) detected
  Disabling hardware tapping
input: AlpsPS/2 ALPS TouchPad on isa0060/serio1
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 148k freed
kjournald starting.  Commit interval 5 seconds
Adding 265032k swap on /dev/hda5.  Priority:-1 extents:1
EXT3 FS on hda6, internal journal
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0x100-0x4ff: excluding 0x378-0x37f 0x3f8-0x3ff
0x4d0-0x4d7
cs: IO port probe 0x100-0x4ff: excluding 0x378-0x37f 0x3f8-0x3ff
0x4d0-0x4d7
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0xa00-0xaff: clean.
warning: process `update' used the obsolete bdflush system call
Fix your initscripts?
pcmf502re: ATMEL 11Mbps Wireless PCMCIA LAN driver version 2.0.1.0
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI interrupt 0000:00:07.5[C] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:07.5 to 64
[ACPI Debug] String: [0x1C] "Temperature increasing: _Q80"
-> vnet_attach()
-> vnet_event(registration complete, 0, 0xc0115074)
-> vnet_event(card insertion, 0, 0xc0115074)
-> vnet_config(0x00000008)
pcmf502re: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x011f
pcmf502re: Registered netdevice atml0
Copy Code To Internal Memory (** EEPROM **)
*** Downloading Firmware to internal memory ***
--=+>GetFwFile BasicFW : 35348, 
Fw Mapped in : 0xCDCB0000
<=- Out of GetFwFile



--
Scott





More information about the linux-pcmcia mailing list