Bug#321419: linux-image-2.6.12-1-686: irq11 makes eth0 problems (Was: Re: Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems)

Philippe Bourcier buffalo.phil at free.fr
Wed Aug 31 16:12:59 EDT 2005


    hi,

On Wed, Aug 17, 2005 at 02:26:17AM +0200, Daniel Ritz wrote:
> On Tuesday 16 August 2005 22.47, Philippe Bourcier wrote:
> > 
> >   I tried latest debian 2.6.12 kernel; see:
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321419
> > 
> > irq 11: nobody cared!
> >  [<c01388fa>] __report_bad_irq+0x2a/0xa0
> >  [<c013836d>] handle_IRQ_event+0x3d/0x70
> >  [<c0138a12>] note_interrupt+0x82/0xa0
> >  [<c0138490>] __do_IRQ+0xf0/0x100
> >  [<c0105729>] do_IRQ+0x19/0x30
> >  [<c0103ada>] common_interrupt+0x1a/0x20
> >  [<c011f2ae>] __do_softirq+0x2e/0xa0
> >  [<c011f346>] do_softirq+0x26/0x30
> >  [<c010572e>] do_IRQ+0x1e/0x30
> >  [<c0103ada>] common_interrupt+0x1a/0x20
> > handlers:
> > [<c8cddea0>] (usb_hcd_irq+0x0/0x80 [usbcore])
> > [<c8d00990>] (yenta_interrupt+0x0/0x40 [yenta_socket])
> > [<c8d00990>] (yenta_interrupt+0x0/0x40 [yenta_socket])
> > Disabling IRQ #11
> > eth0: interrupt(s) dropped!
> > 
> >   ask more if you need,
> 
> simple question: is that card a multifunction card with ethernet and a
> modem?

  exactly!

> i see from the dmesg that a ttyS2 pops up the same time when the
> 3c589 shows up. the problem compared to 2.4 is that the serial interface
> is assigned irq 11 when the network card is on irq 9. but on 2.4 both
> functions use irq 9 (which is correct). could you try the attached patch?

  nope : I never compiled a 2.6 kernel. Perhaps somebody of the
Debian Kernel Team could help 
 
> if the patch doesn't help please give me the output of cbdump and cardctl
> ident when the card is inserted and all drivers are loaded.

i got http://pcmcia.arm.linux.org.uk/progs/cbdump.c

$ cbdump
pcilib: sysfs_read: tried to read 4 bytes at 128, but got only 0
pcilib: sysfs_read: tried to read 4 bytes at 140, but got only 0
pcilib: sysfs_read: tried to read 1 bytes at 144, but got only 0
pcilib: sysfs_read: tried to read 1 bytes at 145, but got only 0
pcilib: sysfs_read: tried to read 1 bytes at 146, but got only 0
pcilib: sysfs_read: tried to read 1 bytes at 147, but got only 0
open /dev/mem: Permission denied
pcilib: sysfs_read: tried to read 4 bytes at 128, but got only 0
pcilib: sysfs_read: tried to read 4 bytes at 140, but got only 0
pcilib: sysfs_read: tried to read 1 bytes at 144, but got only 0
pcilib: sysfs_read: tried to read 1 bytes at 145, but got only 0
pcilib: sysfs_read: tried to read 1 bytes at 146, but got only 0
pcilib: sysfs_read: tried to read 1 bytes at 147, but got only 0
open /dev/mem: Permission denied
00:03.0 CardBus bridge: Texas Instruments PCI1250
  -- generic cardbus config registers
  Vendor ID                      [00] : 0x104c
  Device ID                      [02] : 0xac16
  PCI command                    [04] : 0x0007
  Base address                   [10] : 0x08000000
  Memory Base 0                  [1c] : 0x08400000
  Memory Limit 0                 [20] : 0x087ff000
  Memory Base 1                  [24] : 0x08800000
  Memory Limit 1                 [28] : 0x08bff000
  IO Base 0                      [2c] : 0x00004000
  IO Limit 0                     [30] : 0x000040fc
  IO Base 1                      [34] : 0x00004400
  IO Limit 1                     [38] : 0x000044fc
  Bridge control                 [3e] : 0x05c0
  Subsystem vendor ID            [40] : 0x0000
  Subsystem device ID            [42] : 0x0000
  Legacy mode base               [44] : 0x0001
  -- TI specific config registers
  System control                 [80] : 0xffffffff
  IRQ Mux                        [8c] : 0xffffffff
  Retry                          [90] : 0xff
  Card control                   [91] : 0xff
  Device control                 [92] : 0xff
  Diagnostic                     [93] : 0xff

00:03.1 CardBus bridge: Texas Instruments PCI1250
  -- generic cardbus config registers
  Vendor ID                      [00] : 0x104c
  Device ID                      [02] : 0xac16
  PCI command                    [04] : 0x0007
  Base address                   [10] : 0x08001000
  Memory Base 0                  [1c] : 0x08c00000
  Memory Limit 0                 [20] : 0x08fff000
  Memory Base 1                  [24] : 0x09000000
  Memory Limit 1                 [28] : 0x093ff000
  IO Base 0                      [2c] : 0x00004800
  IO Limit 0                     [30] : 0x000048fc
  IO Base 1                      [34] : 0x00004c00
  IO Limit 1                     [38] : 0x00004cfc
  Bridge control                 [3e] : 0x0540
  Subsystem vendor ID            [40] : 0x0000
  Subsystem device ID            [42] : 0x0000
  Legacy mode base               [44] : 0x0001
  -- TI specific config registers
  System control                 [80] : 0xffffffff
  IRQ Mux                        [8c] : 0xffffffff
  Retry                          [90] : 0xff
  Card control                   [91] : 0xff
  Device control                 [92] : 0xff
  Diagnostic                     [93] : 0xff
 
$ cadctl ident
Socket 0:
  product info: "Adaptec, Inc.", "APA-1460 SCSI Host Adapter",
"Version 0.01"
  manfid: 0x012f, 0x0002
Socket 1:
  product info: "3Com", "Megahertz 3CXEM556", "LAN + 56k Modem",
""
  manfid: 0x0101, 0x0035
  function: 0 (multifunction)
-- 
                                           /             \
                                          ((__-^^-,-^^-__))
 .''`.          Philippe BOURCIER          `-_---' `---_-'  .-.
: :' :  http://bourcier.philippe.online.fr  `--|o` 'o|--'   /V\
`. `'                                          \  `  /     // \\
  `-   Linux Counter registered user #290012    ): :(     /(   )\
                                                :o_o:      ^^-^^
                                                 "-"



More information about the linux-pcmcia mailing list