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)

2005-09-02 Thread Philippe Bourcier
hi,

On Thu, Sep 01, 2005 at 09:55:08AM +0100, Russell King wrote:
 On Wed, Aug 31, 2005 at 10:12:59PM +0200, Philippe Bourcier wrote:
   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
 
 Re-run it as root.  It needs to access registers which are only available
 to root.

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] : 0x10001000
  Memory Base 0  [1c] : 0x10c0
  Memory Limit 0 [20] : 0x10fff000
  Memory Base 1  [24] : 0x1100
  Memory Limit 1 [28] : 0x113ff000
  IO Base 0  [2c] : 0x4800
  IO Limit 0 [30] : 0x48fc
  IO Base 1  [34] : 0x4c00
  IO Limit 1 [38] : 0x4cfc
  Bridge control [3e] : 0x05c0
  Subsystem vendor ID[40] : 0x
  Subsystem device ID[42] : 0x
  Legacy mode base   [44] : 0x0001
  -- TI specific config registers
  System control [80] : 0x0844b061
  IRQ Mux[8c] : 0xcba97543
  Retry  [90] : 0xc0
  Card control   [91] : 0x83
  Device control [92] : 0x62
  Diagnostic [93] : 0x61
  -- cardbus registers
  CB_SOCKET_EVENT[00] : 0x
  CB_SOCKET_MASK [04] : 0x0006
  CB_SOCKET_STATE[08] : 0x3459
  CB_SOCKET_FORCE[0c] : 0x
  CB_SOCKET_CONTROL  [10] : 0x0020
  CB_SOCKET_POWER[20] : 0x
  -- exca registers
  I365_IDENT [00] : 0x84
  I365_STATUS[01] : 0x6f
  I365_POWER [02] : 0x90
  I365_INTCTL[03] : 0x79
  I365_CSC   [04] : 0x00
  I365_CSCINT[05] : 0x08
  I365_ADDRWIN   [06] : 0xc1
  I365_IOCTL [07] : 0x01
  I365_GENCTL[16] : 0x00c0
  I365_GBLCTL[1e] : 0x
  I365_IO0_START [08] : 0x0310
  I365_IO0_STOP  [0a] : 0x031f
  I365_IO1_START [0c] : 0x03e8
  I365_IO1_STOP  [0e] : 0x03ef
  I365_MEM0_START[10] : 0x0001
  I365_MEM0_STOP [12] : 0x8001
  I365_MEM0_OFF  [14] : 0x7fff
  I365_MEM0_PAGE [40] : 0xa0
  I365_MEM1_START[18] : 0x
  I365_MEM1_STOP [1a] : 0x
  I365_MEM1_OFF  [1c] : 0x
  I365_MEM1_PAGE [41] : 0x00
  I365_MEM2_START[20] : 0x
  I365_MEM2_STOP [22] : 0x
  I365_MEM2_OFF  [24] : 0x
  I365_MEM2_PAGE [42] : 0x00
  I365_MEM3_START[28] : 0x
  I365_MEM3_STOP [2a] : 0x
  I365_MEM3_OFF  [2c] : 0x
  I365_MEM3_PAGE [43] : 0x00
  I365_MEM4_START[30] : 0x
  I365_MEM4_STOP [32] : 0x
  I365_MEM4_OFF  [34] : 0x
  I365_MEM4_PAGE [44] : 0x00

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] : 0x1000
  Memory Base 0  [1c] : 0x1040
  Memory Limit 0 [20] : 0x107ff000
  Memory Base 1  [24] : 0x1080
  Memory Limit 1 [28] : 0x10bff000
  IO Base 0  [2c] : 0x4000
  IO Limit 0 [30] : 0x40fc
  IO Base 1  [34] : 0x4400
  IO Limit 1 [38] : 0x44fc
  Bridge control [3e] : 0x05c0
  Subsystem vendor ID[40] : 0x
  Subsystem device ID[42] : 0x
  Legacy mode base   [44] : 0x0001
  -- TI specific config registers
  System control [80] : 0x0844b061
  IRQ Mux[8c] : 0xcba97543
  Retry  [90] : 0xc0
  Card control   [91] : 0x83
  Device control [92] : 0x62
  Diagnostic [93] : 0x61
  -- cardbus registers
  CB_SOCKET_EVENT[00] : 0x
  CB_SOCKET_MASK [04] : 0x0006
  CB_SOCKET_STATE[08] : 0x3459
  

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)

2005-09-01 Thread Russell King
On Wed, Aug 31, 2005 at 10:12:59PM +0200, Philippe Bourcier wrote:
  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

Re-run it as root.  It needs to access registers which are only available
to root.

-- 
Russell King
 Linux kernel2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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)

2005-08-31 Thread Philippe Bourcier
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] : 0x0800
  Memory Base 0  [1c] : 0x0840
  Memory Limit 0 [20] : 0x087ff000
  Memory Base 1  [24] : 0x0880
  Memory Limit 1 [28] : 0x08bff000
  IO Base 0  [2c] : 0x4000
  IO Limit 0 [30] : 0x40fc
  IO Base 1  [34] : 0x4400
  IO Limit 1 [38] : 0x44fc
  Bridge control [3e] : 0x05c0
  Subsystem vendor ID[40] : 0x
  Subsystem device ID[42] : 0x
  Legacy mode base   [44] : 0x0001
  -- TI specific config registers
  System control [80] : 0x
  IRQ Mux[8c] : 0x
  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] : 0x08c0
  Memory Limit 0 [20] : 0x08fff000
  Memory Base 1  [24] : 0x0900
  Memory Limit 1 [28] : 0x093ff000
  IO Base 0  [2c] : 0x4800
  IO Limit 0 [30] : 0x48fc
  IO Base 1  [34] : 0x4c00
  IO Limit 1 [38] : 0x4cfc
  Bridge control [3e] : 0x0540
  Subsystem vendor ID[40] : 0x
  Subsystem device ID[42] : 0x
  Legacy mode base   [44] : 0x0001
  -- TI specific config registers
  System control [80] : 0x
  IRQ Mux[8c] : 0x
  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: 

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)

2005-08-17 Thread Daniel Ritz
hi mike

[ please don't strip the cc list. thanks ]

the patch is against 2.6.13-rc6. if you want to try with an older kernel
you have to patch the file drivers/pcmcia/cs.c, function pcmcia_request_irq()

but i don't think it will help in your case. try a 2.6.13-rc6 kernel instead.

rgds
-daniel

On Wednesday 17 August 2005 02.26, Daniel Ritz wrote:
 hi
 
 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?  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?
 
 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.
 
 rgds
 -daniel
 
 -
 
 [PATCH] fix pcmcia_request_irq() for multifunction card
 
 multifunction cards need to have the same irq assigned to both functions.
 the code tries that but fails because ret is still set to CS_IN_USE
 which results in the function having the CB irq assigned. yenta_set_socket
 then just changes the irq routing to use the PCI interrupt but the first
 functions irq handler is registered on an ISA interrupt. boom.
 
 Signed-off-by: Daniel Ritz [EMAIL PROTECTED]
 
 diff --git a/drivers/pcmcia/pcmcia_resource.c 
 b/drivers/pcmcia/pcmcia_resource.c
 --- a/drivers/pcmcia/pcmcia_resource.c
 +++ b/drivers/pcmcia/pcmcia_resource.c
 @@ -831,7 +831,8 @@ int pcmcia_request_irq(struct pcmcia_dev
   }
   }
  #endif
 - if (ret) {
 + /* only assign PCI irq if no IRQ already assigned */
 + if (ret  !s-irq.AssignedIRQ) {
   if (!s-pci_irq)
   return ret;
   irq = s-pci_irq;
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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)

2005-08-16 Thread Philippe Bourcier
hi all,

On Wed, Apr 13, 2005 at 11:46:53PM +0200, Daniel Ritz wrote:
 On Tuesday 12 April 2005 23:14, Philippe Bourcier wrote:
  hi all,
  
  On Tue, Apr 12, 2005 at 12:05:02AM +0200, maximilian attems wrote:
   received another bug report concerning TI irq routing.
   your patch don't seem to fix this PCI1250 rev2.
   you'll find the bug report at
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=303550
   
   note that the previous bug report #270376 involved a PCI1220 (rev 02)
   thanks a lot again for your help.
   debian user seem to be a good user base for your patches. ;-)
  
   --- reply to previous bug report follows
  
   On Sun, 10 Apr 2005, Philippe Bourcier wrote:
   
On Sat, Apr 09, 2005 at 09:52:53PM +0200, maximilian attems wrote:
 could you tested the kernel-image at:
 http://charm.itp.tuwien.ac.at/~mattems/

- the vga=791 boot parameter makes the system boot with a black
  screen; if i switch to a console, i don't get one (graphical broken
  screen);
  
just with the above one: 2.6.11-ti-fix
  
- the usb mouse doesn't work at all (console nor X);
   
   sorry i don't get you now,
   does this happen with any debian kernel or just with the one above?
  
with 2.6.11-ti-fix and (sometimes...) with 2.6.11-1-686
  (debian)
  
  Apr 12 21:40:05 ile kernel: Linux version 2.6.11-1-686 ([EMAIL PROTECTED]) 
  (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Sun Apr 3 06:20:48 EDT 2005
  
  Apr 12 21:40:05 ile kernel: Kernel command line: root=/dev/hda2 
  video=vesafb:ywrap,mtrr vga=791 noapic acpi=off ro 
  
  Apr 12 21:40:38 ile kernel: [c013242a] __report_bad_irq+0x2a/0xa0
  Apr 12 21:40:38 ile kernel: [c0131ed0] handle_IRQ_event+0x30/0x70
  Apr 12 21:40:38 ile kernel: [c0132530] note_interrupt+0x70/0xb0
  Apr 12 21:40:38 ile kernel: [c0131ff0] __do_IRQ+0xe0/0xf0
  Apr 12 21:40:38 ile kernel: [c0105279] do_IRQ+0x19/0x30
  Apr 12 21:40:38 ile kernel: [c010391a] common_interrupt+0x1a/0x20
  Apr 12 21:40:38 ile kernel: [c011cb6e] __do_softirq+0x2e/0x90
  Apr 12 21:40:38 ile kernel: [c011cbf6] do_softirq+0x26/0x30
  Apr 12 21:40:38 ile kernel: [c010527e] do_IRQ+0x1e/0x30
  Apr 12 21:40:38 ile kernel: [c010391a] common_interrupt+0x1a/0x20
  Apr 12 21:40:38 ile kernel: eth0: interrupt(s) dropped!
  
   have you installed hotplug? if not is mousedev and psmouse loaded?
  
yes: hotplug  0.0.20040329-22  Linux Hotplug Scripts
  
   can you send in the output of cat /proc/bus/input/devices

Apr 10 14:34:55 ile kernel: Linux version 2.6.11-ti-fix ([EMAIL 
PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Fri Apr 8 
19:47:44 CEST 2005
   ..
Apr 10 14:34:55 ile kernel: Linux Kernel Card Services
Apr 10 14:34:55 ile kernel: options:  [pci] [cardbus] [pm]
Apr 10 14:34:55 ile kernel: PCI: Found IRQ 11 for device :00:03.0
Apr 10 14:34:55 ile kernel: Yenta: CardBus bridge found at :00:03.0 
[:]
Apr 10 14:34:55 ile kernel: Yenta: Enabling burst memory read 
transactions
Apr 10 14:34:55 ile kernel: Yenta: Using CSCINT to route CSC interrupts 
to PCI
Apr 10 14:34:55 ile kernel: Yenta: Routing CardBus interrupts to PCI
Apr 10 14:34:55 ile kernel: Yenta TI: socket :00:03.0, mfunc 
0xcba97543, devctl 0x62
Apr 10 14:34:55 ile kernel: Yenta: ISA IRQ mask 0x0698, PCI irq 11
Apr 10 14:34:55 ile kernel: Socket status: 3010
Apr 10 14:34:55 ile kernel: PCI: Found IRQ 11 for device :00:03.1
Apr 10 14:34:55 ile kernel: Yenta: CardBus bridge found at :00:03.1 
[:]
Apr 10 14:34:55 ile kernel: Yenta: Using CSCINT to route CSC interrupts 
to PCI
Apr 10 14:34:55 ile kernel: Yenta: Routing CardBus interrupts to PCI
Apr 10 14:34:55 ile kernel: Yenta TI: socket :00:03.1, mfunc 
0xcba97543, devctl 0x62
Apr 10 14:34:55 ile kernel: Yenta: ISA IRQ mask 0x0698, PCI irq 11
Apr 10 14:34:55 ile kernel: Socket status: 3010
   ..
Apr 10 14:35:16 ile kernel: eth0: 3Com 3c589, io 0x310, irq 9, hw_addr 
00:00:86:52:4B:CB
Apr 10 14:35:16 ile kernel: 8K FIFO split 5:3 Rx:Tx, auto xcvr
Apr 10 14:35:16 ile kernel: program smartd is using a deprecated SCSI 
ioctl, please convert it to SG_IO
Apr 10 14:35:16 ile kernel: ttyS2 at I/O 0x3e8 (irq = 11) is a 16550A
Apr 10 14:35:21 ile kernel: eth0: flipped to 10baseT
Apr 10 14:35:23 ile xfs: ignoring font path element 
/usr/lib/X11/fonts/cyrillic/ (unreadable)
Apr 10 14:35:23 ile xfs: ignoring font path element 
/usr/lib/X11/fonts/CID (unreadable)
Apr 10 14:35:27 ile kernel: [c01297b5] __report_bad_irq+0x31/0x77
Apr 10 14:35:27 ile kernel: [c012985f] note_interrupt+0x4c/0x71
Apr 10 14:35:27 ile kernel: [c0129476] __do_IRQ+0x93/0xbd
Apr 10 14:35:27 ile kernel: [c0104b35] do_IRQ+0x19/0x24
Apr 10 14:35:27 ile kernel: [c01038ba] common_interrupt+0x1a/0x20
Apr 10 14:35:27 ile kernel: [c01189a4] __do_softirq+0x2c/0x7d
Apr 10 14:35:27 

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)

2005-08-16 Thread Daniel Ritz
hi

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?  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?

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.

rgds
-daniel

-

[PATCH] fix pcmcia_request_irq() for multifunction card

multifunction cards need to have the same irq assigned to both functions.
the code tries that but fails because ret is still set to CS_IN_USE
which results in the function having the CB irq assigned. yenta_set_socket
then just changes the irq routing to use the PCI interrupt but the first
functions irq handler is registered on an ISA interrupt. boom.

Signed-off-by: Daniel Ritz [EMAIL PROTECTED]

diff --git a/drivers/pcmcia/pcmcia_resource.c b/drivers/pcmcia/pcmcia_resource.c
--- a/drivers/pcmcia/pcmcia_resource.c
+++ b/drivers/pcmcia/pcmcia_resource.c
@@ -831,7 +831,8 @@ int pcmcia_request_irq(struct pcmcia_dev
}
}
 #endif
-   if (ret) {
+   /* only assign PCI irq if no IRQ already assigned */
+   if (ret  !s-irq.AssignedIRQ) {
if (!s-pci_irq)
return ret;
irq = s-pci_irq;



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

2005-08-05 Thread Philippe Bourcier
On Tue, Jul 26, 2005 at 05:30:53PM +0200, Maximilian Attems wrote:
 please try out latest 2.6.12 image from unstable and report back how it
 works?

the problem looks same; see #321419
-- 
   / \
  ((__-^^-,-^^-__))
 .''`.  Philippe BOURCIER  `-_---' `---_-'  .-.
: :' :  http://bourcier.philippe.online.fr  `--|o` 'o|--'   /V\
`. `'  \  `  / // \\
  `-   Linux Counter registered user #290012): :( /(   )\
:o_o:  ^^-^^
 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

2005-07-26 Thread Maximilian Attems

please try out latest 2.6.12 image from unstable and report back how it
works?
thanks

--
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

2005-04-13 Thread Daniel Ritz
On Tuesday 12 April 2005 23:14, Philippe Bourcier wrote:
 hi all,
 
 On Tue, Apr 12, 2005 at 12:05:02AM +0200, maximilian attems wrote:
  received another bug report concerning TI irq routing.
  your patch don't seem to fix this PCI1250 rev2.
  you'll find the bug report at
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=303550
  
  note that the previous bug report #270376 involved a PCI1220 (rev 02)
  thanks a lot again for your help.
  debian user seem to be a good user base for your patches. ;-)
 
  --- reply to previous bug report follows
 
  On Sun, 10 Apr 2005, Philippe Bourcier wrote:
  
   On Sat, Apr 09, 2005 at 09:52:53PM +0200, maximilian attems wrote:
could you tested the kernel-image at:
http://charm.itp.tuwien.ac.at/~mattems/
   
   - the vga=791 boot parameter makes the system boot with a black
 screen; if i switch to a console, i don't get one (graphical broken
 screen);
 
   just with the above one: 2.6.11-ti-fix
 
   - the usb mouse doesn't work at all (console nor X);
  
  sorry i don't get you now,
  does this happen with any debian kernel or just with the one above?
 
   with 2.6.11-ti-fix and (sometimes...) with 2.6.11-1-686
 (debian)
 
 Apr 12 21:40:05 ile kernel: Linux version 2.6.11-1-686 ([EMAIL PROTECTED]) 
 (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Sun Apr 3 06:20:48 EDT 2005
 
 Apr 12 21:40:05 ile kernel: Kernel command line: root=/dev/hda2 
 video=vesafb:ywrap,mtrr vga=791 noapic acpi=off ro 
 
 Apr 12 21:40:38 ile kernel: [c013242a] __report_bad_irq+0x2a/0xa0
 Apr 12 21:40:38 ile kernel: [c0131ed0] handle_IRQ_event+0x30/0x70
 Apr 12 21:40:38 ile kernel: [c0132530] note_interrupt+0x70/0xb0
 Apr 12 21:40:38 ile kernel: [c0131ff0] __do_IRQ+0xe0/0xf0
 Apr 12 21:40:38 ile kernel: [c0105279] do_IRQ+0x19/0x30
 Apr 12 21:40:38 ile kernel: [c010391a] common_interrupt+0x1a/0x20
 Apr 12 21:40:38 ile kernel: [c011cb6e] __do_softirq+0x2e/0x90
 Apr 12 21:40:38 ile kernel: [c011cbf6] do_softirq+0x26/0x30
 Apr 12 21:40:38 ile kernel: [c010527e] do_IRQ+0x1e/0x30
 Apr 12 21:40:38 ile kernel: [c010391a] common_interrupt+0x1a/0x20
 Apr 12 21:40:38 ile kernel: eth0: interrupt(s) dropped!
 
  have you installed hotplug? if not is mousedev and psmouse loaded?
 
   yes: hotplug  0.0.20040329-22  Linux Hotplug Scripts
 
  can you send in the output of cat /proc/bus/input/devices
   
   Apr 10 14:34:55 ile kernel: Linux version 2.6.11-ti-fix ([EMAIL 
   PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Fri Apr 8 19:47:44 
   CEST 2005
  ..
   Apr 10 14:34:55 ile kernel: Linux Kernel Card Services
   Apr 10 14:34:55 ile kernel: options:  [pci] [cardbus] [pm]
   Apr 10 14:34:55 ile kernel: PCI: Found IRQ 11 for device :00:03.0
   Apr 10 14:34:55 ile kernel: Yenta: CardBus bridge found at :00:03.0 
   [:]
   Apr 10 14:34:55 ile kernel: Yenta: Enabling burst memory read transactions
   Apr 10 14:34:55 ile kernel: Yenta: Using CSCINT to route CSC interrupts 
   to PCI
   Apr 10 14:34:55 ile kernel: Yenta: Routing CardBus interrupts to PCI
   Apr 10 14:34:55 ile kernel: Yenta TI: socket :00:03.0, mfunc 
   0xcba97543, devctl 0x62
   Apr 10 14:34:55 ile kernel: Yenta: ISA IRQ mask 0x0698, PCI irq 11
   Apr 10 14:34:55 ile kernel: Socket status: 3010
   Apr 10 14:34:55 ile kernel: PCI: Found IRQ 11 for device :00:03.1
   Apr 10 14:34:55 ile kernel: Yenta: CardBus bridge found at :00:03.1 
   [:]
   Apr 10 14:34:55 ile kernel: Yenta: Using CSCINT to route CSC interrupts 
   to PCI
   Apr 10 14:34:55 ile kernel: Yenta: Routing CardBus interrupts to PCI
   Apr 10 14:34:55 ile kernel: Yenta TI: socket :00:03.1, mfunc 
   0xcba97543, devctl 0x62
   Apr 10 14:34:55 ile kernel: Yenta: ISA IRQ mask 0x0698, PCI irq 11
   Apr 10 14:34:55 ile kernel: Socket status: 3010
  ..
   Apr 10 14:35:16 ile kernel: eth0: 3Com 3c589, io 0x310, irq 9, hw_addr 
   00:00:86:52:4B:CB
   Apr 10 14:35:16 ile kernel: 8K FIFO split 5:3 Rx:Tx, auto xcvr
   Apr 10 14:35:16 ile kernel: program smartd is using a deprecated SCSI 
   ioctl, please convert it to SG_IO
   Apr 10 14:35:16 ile kernel: ttyS2 at I/O 0x3e8 (irq = 11) is a 16550A
   Apr 10 14:35:21 ile kernel: eth0: flipped to 10baseT
   Apr 10 14:35:23 ile xfs: ignoring font path element 
   /usr/lib/X11/fonts/cyrillic/ (unreadable)
   Apr 10 14:35:23 ile xfs: ignoring font path element 
   /usr/lib/X11/fonts/CID (unreadable)
   Apr 10 14:35:27 ile kernel: [c01297b5] __report_bad_irq+0x31/0x77
   Apr 10 14:35:27 ile kernel: [c012985f] note_interrupt+0x4c/0x71
   Apr 10 14:35:27 ile kernel: [c0129476] __do_IRQ+0x93/0xbd
   Apr 10 14:35:27 ile kernel: [c0104b35] do_IRQ+0x19/0x24
   Apr 10 14:35:27 ile kernel: [c01038ba] common_interrupt+0x1a/0x20
   Apr 10 14:35:27 ile kernel: [c01189a4] __do_softirq+0x2c/0x7d
   Apr 10 14:35:27 ile kernel: [c0118a17] do_softirq+0x22/0x26
   Apr 10 14:35:27 ile kernel: [c0104b3a] do_IRQ+0x1e/0x24
   Apr 10 14:35:27 ile kernel: [c01038ba] common_interrupt+0x1a/0x20
   Apr 10 

Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

2005-04-12 Thread Philippe Bourcier
hi all,

On Tue, Apr 12, 2005 at 12:05:02AM +0200, maximilian attems wrote:
 received another bug report concerning TI irq routing.
 your patch don't seem to fix this PCI1250 rev2.
 you'll find the bug report at
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=303550
 
 note that the previous bug report #270376 involved a PCI1220 (rev 02)
 thanks a lot again for your help.
 debian user seem to be a good user base for your patches. ;-)

 --- reply to previous bug report follows

 On Sun, 10 Apr 2005, Philippe Bourcier wrote:
 
  On Sat, Apr 09, 2005 at 09:52:53PM +0200, maximilian attems wrote:
   could you tested the kernel-image at:
   http://charm.itp.tuwien.ac.at/~mattems/
  
  - the vga=791 boot parameter makes the system boot with a black
screen; if i switch to a console, i don't get one (graphical broken
screen);

  just with the above one: 2.6.11-ti-fix

  - the usb mouse doesn't work at all (console nor X);
 
 sorry i don't get you now,
 does this happen with any debian kernel or just with the one above?

  with 2.6.11-ti-fix and (sometimes...) with 2.6.11-1-686
(debian)

Apr 12 21:40:05 ile kernel: Linux version 2.6.11-1-686 ([EMAIL PROTECTED]) (gcc 
version 3.3.5 (Debian 1:3.3.5-8)) #1 Sun Apr 3 06:20:48 EDT 2005

Apr 12 21:40:05 ile kernel: Kernel command line: root=/dev/hda2 
video=vesafb:ywrap,mtrr vga=791 noapic acpi=off ro 

Apr 12 21:40:38 ile kernel: [c013242a] __report_bad_irq+0x2a/0xa0
Apr 12 21:40:38 ile kernel: [c0131ed0] handle_IRQ_event+0x30/0x70
Apr 12 21:40:38 ile kernel: [c0132530] note_interrupt+0x70/0xb0
Apr 12 21:40:38 ile kernel: [c0131ff0] __do_IRQ+0xe0/0xf0
Apr 12 21:40:38 ile kernel: [c0105279] do_IRQ+0x19/0x30
Apr 12 21:40:38 ile kernel: [c010391a] common_interrupt+0x1a/0x20
Apr 12 21:40:38 ile kernel: [c011cb6e] __do_softirq+0x2e/0x90
Apr 12 21:40:38 ile kernel: [c011cbf6] do_softirq+0x26/0x30
Apr 12 21:40:38 ile kernel: [c010527e] do_IRQ+0x1e/0x30
Apr 12 21:40:38 ile kernel: [c010391a] common_interrupt+0x1a/0x20
Apr 12 21:40:38 ile kernel: eth0: interrupt(s) dropped!

 have you installed hotplug? if not is mousedev and psmouse loaded?

  yes: hotplug  0.0.20040329-22  Linux Hotplug Scripts

 can you send in the output of cat /proc/bus/input/devices
  
  Apr 10 14:34:55 ile kernel: Linux version 2.6.11-ti-fix ([EMAIL PROTECTED]) 
  (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Fri Apr 8 19:47:44 CEST 2005
 ..
  Apr 10 14:34:55 ile kernel: Linux Kernel Card Services
  Apr 10 14:34:55 ile kernel: options:  [pci] [cardbus] [pm]
  Apr 10 14:34:55 ile kernel: PCI: Found IRQ 11 for device :00:03.0
  Apr 10 14:34:55 ile kernel: Yenta: CardBus bridge found at :00:03.0 
  [:]
  Apr 10 14:34:55 ile kernel: Yenta: Enabling burst memory read transactions
  Apr 10 14:34:55 ile kernel: Yenta: Using CSCINT to route CSC interrupts to 
  PCI
  Apr 10 14:34:55 ile kernel: Yenta: Routing CardBus interrupts to PCI
  Apr 10 14:34:55 ile kernel: Yenta TI: socket :00:03.0, mfunc 
  0xcba97543, devctl 0x62
  Apr 10 14:34:55 ile kernel: Yenta: ISA IRQ mask 0x0698, PCI irq 11
  Apr 10 14:34:55 ile kernel: Socket status: 3010
  Apr 10 14:34:55 ile kernel: PCI: Found IRQ 11 for device :00:03.1
  Apr 10 14:34:55 ile kernel: Yenta: CardBus bridge found at :00:03.1 
  [:]
  Apr 10 14:34:55 ile kernel: Yenta: Using CSCINT to route CSC interrupts to 
  PCI
  Apr 10 14:34:55 ile kernel: Yenta: Routing CardBus interrupts to PCI
  Apr 10 14:34:55 ile kernel: Yenta TI: socket :00:03.1, mfunc 
  0xcba97543, devctl 0x62
  Apr 10 14:34:55 ile kernel: Yenta: ISA IRQ mask 0x0698, PCI irq 11
  Apr 10 14:34:55 ile kernel: Socket status: 3010
 ..
  Apr 10 14:35:16 ile kernel: eth0: 3Com 3c589, io 0x310, irq 9, hw_addr 
  00:00:86:52:4B:CB
  Apr 10 14:35:16 ile kernel: 8K FIFO split 5:3 Rx:Tx, auto xcvr
  Apr 10 14:35:16 ile kernel: program smartd is using a deprecated SCSI 
  ioctl, please convert it to SG_IO
  Apr 10 14:35:16 ile kernel: ttyS2 at I/O 0x3e8 (irq = 11) is a 16550A
  Apr 10 14:35:21 ile kernel: eth0: flipped to 10baseT
  Apr 10 14:35:23 ile xfs: ignoring font path element 
  /usr/lib/X11/fonts/cyrillic/ (unreadable)
  Apr 10 14:35:23 ile xfs: ignoring font path element /usr/lib/X11/fonts/CID 
  (unreadable)
  Apr 10 14:35:27 ile kernel: [c01297b5] __report_bad_irq+0x31/0x77
  Apr 10 14:35:27 ile kernel: [c012985f] note_interrupt+0x4c/0x71
  Apr 10 14:35:27 ile kernel: [c0129476] __do_IRQ+0x93/0xbd
  Apr 10 14:35:27 ile kernel: [c0104b35] do_IRQ+0x19/0x24
  Apr 10 14:35:27 ile kernel: [c01038ba] common_interrupt+0x1a/0x20
  Apr 10 14:35:27 ile kernel: [c01189a4] __do_softirq+0x2c/0x7d
  Apr 10 14:35:27 ile kernel: [c0118a17] do_softirq+0x22/0x26
  Apr 10 14:35:27 ile kernel: [c0104b3a] do_IRQ+0x1e/0x24
  Apr 10 14:35:27 ile kernel: [c01038ba] common_interrupt+0x1a/0x20
  Apr 10 14:35:27 ile kernel: eth0: interrupt(s) dropped!
 
 urgs, thanks for your testing and feedback.

Linux ile 2.6.11-ti-fix #1 Fri Apr 8 19:47:44 CEST 2005 i686 GNU/Linux


Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

2005-04-11 Thread maximilian attems
Hello Daniel,

Adding you and the pcmcia list to cc,
received another bug report concerning TI irq routing.
your patch don't seem to fix this PCI1250 rev2.
you'll find the bug report at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=303550

note that the previous bug report #270376 involved a PCI1220 (rev 02)
thanks a lot again for your help.
debian user seem to be a good user base for your patches. ;-)


--- reply to previous bug report follows

bonsoir philippe!

On Sun, 10 Apr 2005, Philippe Bourcier wrote:

 On Sat, Apr 09, 2005 at 09:52:53PM +0200, maximilian attems wrote:
  could you tested the kernel-image at:
  http://charm.itp.tuwien.ac.at/~mattems/
 
 - the vga=791 boot parameter makes the system boot with a black
   screen; if i switch to a console, i don't get one (graphical broken
   screen);
 - the usb mouse doesn't work at all (console nor X);

sorry i don't get you now,
does this happen with any debian kernel or just with the one above?
have you installed hotplug? if not is mousedev and psmouse loaded?
can you send in the output of cat /proc/bus/input/devices
 
 Apr 10 14:34:55 ile kernel: Linux version 2.6.11-ti-fix ([EMAIL PROTECTED]) 
 (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Fri Apr 8 19:47:44 CEST 2005
..
 Apr 10 14:34:55 ile kernel: Linux Kernel Card Services
 Apr 10 14:34:55 ile kernel: options:  [pci] [cardbus] [pm]
 Apr 10 14:34:55 ile kernel: PCI: Found IRQ 11 for device :00:03.0
 Apr 10 14:34:55 ile kernel: Yenta: CardBus bridge found at :00:03.0 
 [:]
 Apr 10 14:34:55 ile kernel: Yenta: Enabling burst memory read transactions
 Apr 10 14:34:55 ile kernel: Yenta: Using CSCINT to route CSC interrupts to PCI
 Apr 10 14:34:55 ile kernel: Yenta: Routing CardBus interrupts to PCI
 Apr 10 14:34:55 ile kernel: Yenta TI: socket :00:03.0, mfunc 0xcba97543, 
 devctl 0x62
 Apr 10 14:34:55 ile kernel: Yenta: ISA IRQ mask 0x0698, PCI irq 11
 Apr 10 14:34:55 ile kernel: Socket status: 3010
 Apr 10 14:34:55 ile kernel: PCI: Found IRQ 11 for device :00:03.1
 Apr 10 14:34:55 ile kernel: Yenta: CardBus bridge found at :00:03.1 
 [:]
 Apr 10 14:34:55 ile kernel: Yenta: Using CSCINT to route CSC interrupts to PCI
 Apr 10 14:34:55 ile kernel: Yenta: Routing CardBus interrupts to PCI
 Apr 10 14:34:55 ile kernel: Yenta TI: socket :00:03.1, mfunc 0xcba97543, 
 devctl 0x62
 Apr 10 14:34:55 ile kernel: Yenta: ISA IRQ mask 0x0698, PCI irq 11
 Apr 10 14:34:55 ile kernel: Socket status: 3010
..
 Apr 10 14:35:16 ile kernel: eth0: 3Com 3c589, io 0x310, irq 9, hw_addr 
 00:00:86:52:4B:CB
 Apr 10 14:35:16 ile kernel: 8K FIFO split 5:3 Rx:Tx, auto xcvr
 Apr 10 14:35:16 ile kernel: program smartd is using a deprecated SCSI ioctl, 
 please convert it to SG_IO
 Apr 10 14:35:16 ile kernel: ttyS2 at I/O 0x3e8 (irq = 11) is a 16550A
 Apr 10 14:35:21 ile kernel: eth0: flipped to 10baseT
 Apr 10 14:35:23 ile xfs: ignoring font path element 
 /usr/lib/X11/fonts/cyrillic/ (unreadable)
 Apr 10 14:35:23 ile xfs: ignoring font path element /usr/lib/X11/fonts/CID 
 (unreadable)
 Apr 10 14:35:27 ile kernel: [c01297b5] __report_bad_irq+0x31/0x77
 Apr 10 14:35:27 ile kernel: [c012985f] note_interrupt+0x4c/0x71
 Apr 10 14:35:27 ile kernel: [c0129476] __do_IRQ+0x93/0xbd
 Apr 10 14:35:27 ile kernel: [c0104b35] do_IRQ+0x19/0x24
 Apr 10 14:35:27 ile kernel: [c01038ba] common_interrupt+0x1a/0x20
 Apr 10 14:35:27 ile kernel: [c01189a4] __do_softirq+0x2c/0x7d
 Apr 10 14:35:27 ile kernel: [c0118a17] do_softirq+0x22/0x26
 Apr 10 14:35:27 ile kernel: [c0104b3a] do_IRQ+0x1e/0x24
 Apr 10 14:35:27 ile kernel: [c01038ba] common_interrupt+0x1a/0x20
 Apr 10 14:35:27 ile kernel: eth0: interrupt(s) dropped!

urgs, thanks for your testing and feedback.
a++ maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

2005-04-10 Thread Philippe Bourcier
hi all,

On Sat, Apr 09, 2005 at 09:52:53PM +0200, maximilian attems wrote:
 please don't drop from cc the bug report. :)

  sorry: this one is my first bug report :P
 
 On Sat, 09 Apr 2005, Philippe Bourcier wrote:
  On Fri, Apr 08, 2005 at 06:34:48PM +0200, maximilian attems wrote:
Apr  6 19:54:47 ile kernel: Linux version 2.6.11-1-686 ([EMAIL 
PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Sun Apr 3 
06:20:48 EDT 2005
Apr  6 19:55:15 ile kernel: eth0: flipped to 10baseT
Apr  6 19:55:19 ile kernel: irq 11: nobody cared!
 well there is a longstanding bug for the texas instruments pcmcia bridge
 irq routing in current kernel sources since 2.6.6rc1, if you want more 
 details about you can look at #270376 (yes scroll way down).

  h... not sure i understand everything :/
i am a developper, but not system now
but... as i said before, 2.6.10-1-686 was quiet ok for me
 
 could you tested the kernel-image at:
 http://charm.itp.tuwien.ac.at/~mattems/

- the vga=791 boot parameter makes the system boot with a black
  screen; if i switch to a console, i don't get one (graphical broken
  screen);
- the usb mouse doesn't work at all (console nor X);

 the other bug reporter has an PCI1220 bridge while yours is a PCI1225.
 please post after boot of aboves 2.6.11 kernel:
 * dmesg
 * hexdump /proc/bus/pci/00/03.0
 * hexdump /proc/bus/pci/00/03.1

[ /var/log/dmesg ]

Linux version 2.6.11-ti-fix ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian 
1:3.3.5-8)) #1 Fri Apr 8 19:47:44 CEST 2005
BIOS-provided physical RAM map:
 BIOS-e801:  - 0009f000 (usable)
 BIOS-e801: 0010 - 0800 (usable)
128MB LOWMEM available.
On node 0 totalpages: 32768
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 28672 pages, LIFO batch:7
  HighMem zone: 0 pages, LIFO batch:1
DMI not present.
Allocating PCI resources starting at 0800 (gap: 0800:f800)
Built 1 zonelists
Kernel command line: root=/dev/hda2 video=vesafb:ywrap,mtrr noapic acpi=off ro 
__iounmap: bad address c00fffd9
Local APIC disabled by BIOS -- you can enable it with lapic
mapped APIC to d000 (01101000)
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 300.783 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 122456k/131072k available (1387k kernel code, 8036k reserved, 757k 
data, 220k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 591.87 BogoMIPS (lpj=295936)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0183f9ff     
 
CPU: After vendor identify, caps: 0183f9ff     
 
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After all inits, caps: 0183f9ff   0040  
 
CPU: Intel Pentium II (Deschutes) stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like 
an initrd
Freeing initrd memory: 4216k freed
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xeb080, last bus=0
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050211
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00ff020
PnPBIOS: PnP BIOS version 1.0, entry 0xec000:0x3d18, dseg 0xec000
PnPBIOS: 19 nodes reported by PnP BIOS; 19 recorded by driver
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router PIIX/ICH [8086/7110] at :00:07.0
pnp: 00:01: ioport range 0xcf8-0xcff could not be reserved
pnp: 00:01: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:01: ioport range 0x3f0-0x3f1 has been reserved
pnp: 00:01: ioport range 0x3f3-0x3f3 has been reserved
pnp: 00:01: ioport range 0x3f7-0x3f7 has been reserved
pnp: 00:01: ioport range 0x1000-0x107f could not be reserved
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch ([EMAIL PROTECTED])
devfs: boot_options: 0x0
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug  Play device found
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 

Bug#303550: (fwd) Re: Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

2005-04-09 Thread maximilian attems
- Forwarded message from Philippe Bourcier [EMAIL PROTECTED] -

X-Original-To: [EMAIL PROTECTED]
Date: Sat, 9 Apr 2005 20:51:37 +0200
From: Philippe Bourcier [EMAIL PROTECTED]
To: maximilian attems [EMAIL PROTECTED]
Subject: Re: Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

hi Maximilian,

  first, thanks a lot for looking to this problem

On Fri, Apr 08, 2005 at 06:34:48PM +0200, maximilian attems wrote:
 tags 303550 moreinfo

 On Thu, 07 Apr 2005, Philippe BOURCIER wrote:
 
  Apr  6 19:54:47 ile kernel: Linux version 2.6.11-1-686 ([EMAIL PROTECTED]) 
  (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Sun Apr 3 06:20:48 EDT 2005
  Apr  6 19:55:15 ile kernel: eth0: flipped to 10baseT
  Apr  6 19:55:19 ile kernel: irq 11: nobody cared!
  Apr  6 19:55:19 ile kernel: [c013242a] __report_bad_irq+0x2a/0xa0
  Apr  6 19:55:19 ile kernel: [c0131ed0] handle_IRQ_event+0x30/0x70
  Apr  6 19:55:19 ile kernel: [c0132530] note_interrupt+0x70/0xb0
  Apr  6 19:55:19 ile kernel: [c0131ff0] __do_IRQ+0xe0/0xf0
  Apr  6 19:55:19 ile kernel: [c0105279] do_IRQ+0x19/0x30
  Apr  6 19:55:19 ile kernel: [c010391a] common_interrupt+0x1a/0x20
  Apr  6 19:55:19 ile kernel: [c011cb6e] __do_softirq+0x2e/0x90
  Apr  6 19:55:19 ile kernel: [c011cbf6] do_softirq+0x26/0x30
  Apr  6 19:55:19 ile kernel: [c010527e] do_IRQ+0x1e/0x30
  Apr  6 19:55:19 ile kernel: [c010391a] common_interrupt+0x1a/0x20
  Apr  6 19:55:19 ile kernel: handlers:
  Apr  6 19:55:19 ile kernel: [c8cd1980] (usb_hcd_irq+0x0/0x70 [usbcore])
  Apr  6 19:55:19 ile kernel: [c8cc48a0] (yenta_interrupt+0x0/0x40 
  [yenta_socket])
  Apr  6 19:55:19 ile kernel: [c8cc48a0] (yenta_interrupt+0x0/0x40 
  [yenta_socket])
  Apr  6 19:55:19 ile kernel: Disabling IRQ #11
  Apr  6 19:55:19 ile kernel: eth0: interrupt(s) dropped!
  Apr  6 19:55:24 ile kernel: eth0: no IPv6 routers present

sometimes, i got that one :

Apr  9 19:45:29 ile kernel: Linux Kernel Card Services
Apr  9 19:45:29 ile kernel: options:  [pci] [cardbus] [pm]
Apr  9 19:45:29 ile kernel: PCI: Found IRQ 11 for device :00:03.0
Apr  9 19:45:29 ile kernel: Yenta: CardBus bridge found at :00:03.0 
[:]  
Apr  9 19:45:29 ile kernel: Yenta: Using CSCINT to route CSC interrupts to PCI
Apr  9 19:45:29 ile kernel: Yenta: Routing CardBus interrupts to PCI
Apr  9 19:45:29 ile kernel: Yenta TI: socket :00:03.0, mfunc 0xcba97543, 
devctl 0x62
Apr  9 19:45:29 ile kernel: irq 11: nobody cared!
Apr  9 19:45:29 ile kernel: [c013242a] __report_bad_irq+0x2a/0xa0
Apr  9 19:45:29 ile kernel: [c0131ed0] handle_IRQ_event+0x30/0x70
Apr  9 19:45:29 ile kernel: [c0132530] note_interrupt+0x70/0xb0
Apr  9 19:45:29 ile kernel: [c0131ff0] __do_IRQ+0xe0/0xf0
Apr  9 19:45:29 ile kernel: [c0105279] do_IRQ+0x19/0x30
Apr  9 19:45:29 ile kernel: [c010391a] common_interrupt+0x1a/0x20
Apr  9 19:45:29 ile kernel: [c011cb6e] __do_softirq+0x2e/0x90
Apr  9 19:45:29 ile kernel: [c011cbf6] do_softirq+0x26/0x30
Apr  9 19:45:29 ile kernel: [c010527e] do_IRQ+0x1e/0x30
Apr  9 19:45:29 ile kernel: [c010391a] common_interrupt+0x1a/0x20
Apr  9 19:45:29 ile kernel: [c01bb294] pci_bus_write_config_word+0x54/0x60
Apr  9 19:45:29 ile kernel: [c8cc64db] yenta_probe_cb_irq+0x6b/0x130 
[yenta_socket]
Apr  9 19:45:29 ile kernel: [c0118507] printk+0x17/0x20
Apr  9 19:45:29 ile kernel: [c8cc5461] ti12xx_irqroute_func0+0x91/0x390 
[yenta_socket]
Apr  9 19:45:29 ile kernel: [c8cc5c3f] ti12xx_override+0xff/0x1b0 
[yenta_socket]
Apr  9 19:45:29 ile kernel: [c8cc5d7f] ti1250_override+0x8f/0xa0 
[yenta_socket]
Apr  9 19:45:29 ile kernel: [c8cc69a0] yenta_probe+0x220/0x250 [yenta_socket]
Apr  9 19:45:29 ile kernel: [c01bf402] pci_device_probe_static+0x52/0x70
Apr  9 19:45:29 ile kernel: [c01bf45c] __pci_device_probe+0x3c/0x50
Apr  9 19:45:29 ile kernel: [c01bf49c] pci_device_probe+0x2c/0x50
Apr  9 19:45:29 ile kernel: [c0211a4f] driver_probe_device+0x2f/0x80
Apr  9 19:45:29 ile kernel: [c0211b9c] driver_attach+0x5c/0xa0
Apr  9 19:45:29 ile kernel: [c02120ed] bus_add_driver+0x9d/0xd0
Apr  9 19:45:29 ile kernel: [c021270f] driver_register+0x2f/0x40
Apr  9 19:45:29 ile kernel: [c01bf714] pci_register_driver+0x64/0x90
Apr  9 19:45:29 ile kernel: [c8c8300f] yenta_socket_init+0xf/0x11 
[yenta_socket]
Apr  9 19:45:29 ile kernel: [c012f6b2] sys_init_module+0x122/0x1b0
Apr  9 19:45:29 ile kernel: [c0102f33] syscall_call+0x7/0xb
Apr  9 19:45:29 ile kernel: handlers:
Apr  9 19:45:29 ile kernel: [c8cd1980] (usb_hcd_irq+0x0/0x70 [usbcore])
Apr  9 19:45:29 ile kernel: Disabling IRQ #11
Apr  9 19:45:29 ile kernel: Yenta TI: socket :00:03.0 probing PCI interrupt 
failed, trying to fix
Apr  9 19:45:29 ile kernel: Yenta TI: socket :00:03.0 no PCI interrupts. 
Fish. Please report.
Apr  9 19:45:29 ile kernel: Yenta: ISA IRQ mask 0x0690, PCI irq 0
Apr  9 19:45:29 ile kernel: Socket status: 3019
Apr  9 19:45:29 ile kernel: PCI: Found IRQ 11 for device :00:03.1
Apr  9 19:45:29 ile kernel: Yenta: CardBus bridge found at :00:03.1 
[:]  
Apr

Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

2005-04-09 Thread maximilian attems
please don't drop from cc the bug report. :)

On Sat, 09 Apr 2005, Philippe Bourcier wrote:

   first, thanks a lot for looking to this problem

ok, let's look if he can get nail that down.
 
 On Fri, Apr 08, 2005 at 06:34:48PM +0200, maximilian attems wrote:
   Apr  6 19:54:47 ile kernel: Linux version 2.6.11-1-686 ([EMAIL 
   PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Sun Apr 3 06:20:48 
   EDT 2005
   Apr  6 19:55:15 ile kernel: eth0: flipped to 10baseT
   Apr  6 19:55:19 ile kernel: irq 11: nobody cared!
well there is a longstanding bug for the texas instruments pcmcia bridge
irq routing in current kernel sources since 2.6.6rc1, if you want more 
details about you can look at #270376 (yes scroll way down).

short resume, current upstream fix is not yet perfect but
seems to work for normal operations beside cardctl eject operations.
could you tested the kernel-image at:
http://charm.itp.tuwien.ac.at/~mattems/
(it's a 386 image, i'll post shortly a patched 686 there too).

would be cool to know if that helps for you too,
the other bug reporter has an PCI1220 bridge while yours is a PCI1225.
please post after boot of aboves 2.6.11 kernel:
* dmesg
* hexdump /proc/bus/pci/00/03.0
* hexdump /proc/bus/pci/00/03.1

thanks for your feedback
--
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

2005-04-08 Thread maximilian attems
tags 303550 moreinfo
thanks


On Thu, 07 Apr 2005, Philippe BOURCIER wrote:

 Apr  6 19:54:47 ile kernel: Linux version 2.6.11-1-686 ([EMAIL PROTECTED]) 
 (gcc version 3.3.5 (Debian 1:3.3.5-8)) #1 Sun Apr 3 06:20:48 EDT 2005
 Apr  6 19:55:15 ile kernel: eth0: flipped to 10baseT
 Apr  6 19:55:19 ile kernel: irq 11: nobody cared!
 Apr  6 19:55:19 ile kernel: [c013242a] __report_bad_irq+0x2a/0xa0
 Apr  6 19:55:19 ile kernel: [c0131ed0] handle_IRQ_event+0x30/0x70
 Apr  6 19:55:19 ile kernel: [c0132530] note_interrupt+0x70/0xb0
 Apr  6 19:55:19 ile kernel: [c0131ff0] __do_IRQ+0xe0/0xf0
 Apr  6 19:55:19 ile kernel: [c0105279] do_IRQ+0x19/0x30
 Apr  6 19:55:19 ile kernel: [c010391a] common_interrupt+0x1a/0x20
 Apr  6 19:55:19 ile kernel: [c011cb6e] __do_softirq+0x2e/0x90
 Apr  6 19:55:19 ile kernel: [c011cbf6] do_softirq+0x26/0x30
 Apr  6 19:55:19 ile kernel: [c010527e] do_IRQ+0x1e/0x30
 Apr  6 19:55:19 ile kernel: [c010391a] common_interrupt+0x1a/0x20
 Apr  6 19:55:19 ile kernel: handlers:
 Apr  6 19:55:19 ile kernel: [c8cd1980] (usb_hcd_irq+0x0/0x70 [usbcore])
 Apr  6 19:55:19 ile kernel: [c8cc48a0] (yenta_interrupt+0x0/0x40 
 [yenta_socket])
 Apr  6 19:55:19 ile kernel: [c8cc48a0] (yenta_interrupt+0x0/0x40 
 [yenta_socket])
 Apr  6 19:55:19 ile kernel: Disabling IRQ #11
 Apr  6 19:55:19 ile kernel: eth0: interrupt(s) dropped!
 Apr  6 19:55:24 ile kernel: eth0: no IPv6 routers present

please send the following info of your box:
* lspci -vv
* cat /proc/interrupts

thanks maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#303550: kernel-image-2.6.11-1-686: irq11 makes eth0 problems

2005-04-07 Thread Philippe BOURCIER
Package: kernel-image-2.6.11-1-686
Version: 2.6.11-2
Severity: normal


hi all,

  my network is not operational ; i did'nt had such problem with 2.6.10
I go back to 2.4 because i have also burning timeout problems with
2.6.10.
here is the corresponding /var/log/kern.log:

Apr  6 19:54:47 ile kernel: Linux version 2.6.11-1-686 ([EMAIL PROTECTED]) (gcc 
version 3.3.5 (Debian 1:3.3.5-8)) #1 Sun Apr 3 06:20:48 EDT 2005
Apr  6 19:54:47 ile kernel: BIOS-provided physical RAM map:
Apr  6 19:54:47 ile kernel: BIOS-e801:  - 0009f000 
(usable)
Apr  6 19:54:47 ile kernel: BIOS-e801: 0010 - 0800 
(usable)
Apr  6 19:54:47 ile kernel: 0MB HIGHMEM available.
Apr  6 19:54:47 ile kernel: 128MB LOWMEM available.
Apr  6 19:54:47 ile kernel: On node 0 totalpages: 32768
Apr  6 19:54:47 ile kernel: DMA zone: 4096 pages, LIFO batch:1
Apr  6 19:54:47 ile kernel: Normal zone: 28672 pages, LIFO batch:7
Apr  6 19:54:47 ile kernel: HighMem zone: 0 pages, LIFO batch:1
Apr  6 19:54:47 ile kernel: DMI not present.
Apr  6 19:54:47 ile kernel: Allocating PCI resources starting at 0800 (gap: 
0800:f800)
Apr  6 19:54:47 ile kernel: Built 1 zonelists
Apr  6 19:54:47 ile kernel: Kernel command line: root=/dev/hda2 
video=vesafb:ywrap,mtrr vga=791 noapic acpi=off ro 
Apr  6 19:54:47 ile kernel: Local APIC disabled by BIOS -- you can enable it 
with lapic
Apr  6 19:54:47 ile kernel: mapped APIC to d000 (01101000)
Apr  6 19:54:47 ile kernel: Initializing CPU#0
Apr  6 19:54:47 ile kernel: PID hash table entries: 1024 (order: 10, 16384 
bytes)
Apr  6 19:54:47 ile kernel: Detected 300.711 MHz processor.
Apr  6 19:54:47 ile kernel: Using tsc for high-res timesource
Apr  6 19:54:47 ile kernel: Console: colour dummy device 80x25
Apr  6 19:54:47 ile kernel: Dentry cache hash table entries: 32768 (order: 5, 
131072 bytes)
Apr  6 19:54:47 ile kernel: Inode-cache hash table entries: 16384 (order: 4, 
65536 bytes)
Apr  6 19:54:47 ile kernel: Memory: 121952k/131072k available (1629k kernel 
code, 8552k reserved, 716k data, 172k init, 0k highmem)
Apr  6 19:54:47 ile kernel: Checking if this processor honours the WP bit even 
in supervisor mode... Ok.
Apr  6 19:54:47 ile kernel: Calibrating delay loop... 591.87 BogoMIPS 
(lpj=295936)
Apr  6 19:54:47 ile kernel: Security Framework v1.0.0 initialized
Apr  6 19:54:47 ile kernel: SELinux:  Disabled at boot.
Apr  6 19:54:47 ile kernel: Mount-cache hash table entries: 512 (order: 0, 4096 
bytes)
Apr  6 19:54:47 ile kernel: CPU: After generic identify, caps: 0183f9ff 
     
Apr  6 19:54:47 ile kernel: CPU: After vendor identify, caps: 0183f9ff  
    
Apr  6 19:54:47 ile kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
Apr  6 19:54:47 ile kernel: CPU: L2 cache: 512K
Apr  6 19:54:47 ile kernel: CPU: After all inits, caps: 0183f9ff  
 0040   
Apr  6 19:54:47 ile kernel: Intel machine check architecture supported.
Apr  6 19:54:47 ile kernel: Intel machine check reporting enabled on CPU#0.
Apr  6 19:54:47 ile kernel: CPU: Intel Pentium II (Deschutes) stepping 02
Apr  6 19:54:47 ile kernel: Enabling fast FPU save and restore... done.
Apr  6 19:54:47 ile kernel: Checking 'hlt' instruction... OK.
Apr  6 19:54:47 ile kernel: checking if image is initramfs...it isn't (bad gzip 
magic numbers); looks like an initrd
Apr  6 19:54:47 ile kernel: Freeing initrd memory: 4556k freed
Apr  6 19:54:47 ile kernel: NET: Registered protocol family 16
Apr  6 19:54:47 ile kernel: PCI: PCI BIOS revision 2.10 entry at 0xeb080, last 
bus=0
Apr  6 19:54:47 ile kernel: PCI: Using configuration type 1
Apr  6 19:54:47 ile kernel: mtrr: v2.0 (20020519)
Apr  6 19:54:47 ile kernel: ACPI: Subsystem revision 20050211
Apr  6 19:54:47 ile kernel: ACPI: Interpreter disabled.
Apr  6 19:54:47 ile kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
Apr  6 19:54:47 ile kernel: pnp: PnP ACPI: disabled
Apr  6 19:54:47 ile kernel: PnPBIOS: Scanning system for PnP BIOS support...
Apr  6 19:54:47 ile kernel: PnPBIOS: Found PnP BIOS installation structure at 
0xc00ff020
Apr  6 19:54:47 ile kernel: PnPBIOS: PnP BIOS version 1.0, entry 
0xec000:0x3d18, dseg 0xec000
Apr  6 19:54:47 ile kernel: PnPBIOS: 19 nodes reported by PnP BIOS; 19 recorded 
by driver
Apr  6 19:54:47 ile kernel: PCI: Probing PCI hardware
Apr  6 19:54:47 ile kernel: PCI: Probing PCI hardware (bus 00)
Apr  6 19:54:47 ile kernel: PCI: Using IRQ router PIIX/ICH [8086/7110] at 
:00:07.0
Apr  6 19:54:47 ile kernel: pnp: 00:01: ioport range 0xcf8-0xcff could not be 
reserved
Apr  6 19:54:47 ile kernel: pnp: 00:01: ioport range 0x4d0-0x4d1 has been 
reserved
Apr  6 19:54:47 ile kernel: pnp: 00:01: ioport range 0x3f0-0x3f1 has been 
reserved
Apr  6 19:54:47 ile kernel: pnp: 00:01: ioport range 0x3f3-0x3f3 has been 
reserved
Apr  6 19:54:47 ile kernel: pnp: 00:01: ioport range 0x3f7-0x3f7 has