mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Regression: misdetected PCMCIA KW-7004 in 2.4.29-pre2
@ 2004-12-18 14:17 Martin MOKREJŠ
  2004-12-18 15:15 ` Martin MOKREJŠ
  2004-12-18 17:12 ` Marcelo Tosatti
  0 siblings, 2 replies; 3+ messages in thread
From: Martin MOKREJŠ @ 2004-12-18 14:17 UTC (permalink / raw)
  To: LKML

Hi,
 I'm testing 2.4.29-pre2 kernel on my ASUS L3800C laptop.
I have already managed to hit several bugs, this is one of them.
Please Cc: me in replies. Thanks.

When booting the system, I get sometimes:


=======================================================================================
1)

cs: cb_alloc(bus 4): vendor 0x10b9, device 0x5237
PCI: Enabling device 04:00.0 (0000 -> 0002)
PCI: Enabling device 04:00.1 (0000 -> 0002)
PCI: Enabling device 04:00.2 (0000 -> 0002)
PCI: Enabling device 04:00.3 (0000 -> 0002)
PCI: Enabling device 04:00.4 (0000 -> 0002)
ohci1394_1: OHCI-1394 1.1 (PCI): IRQ=[11]  MMIO=[41003800-41003fff]  Max Packet=[2048]
eth1394: eth2: IEEE-1394 IPv4 over 1394 Ethernet (ohci1394)







=======================================================================================
2)
or I get:

cs: cb_alloc(bus 4): vendor 0x0000, device 0x5237
PCI: device 04:00.0 has unknown header type 37, ignoring.

together with:

# lspci
0000:00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
0000:00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 Mobile PCI Bridge (rev 42)
0000:00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 02)
0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
0000:02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:07.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
0000:02:07.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
0000:02:07.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
0000:04:00.0 USB Controller: Gammagraphx, Inc.: Unknown device 0000 (rev 03)


=======================================================================================
3)
or I get:

cs: cb_alloc(bus 4): vendor 0x10b9, device 0x5237
PCI: Enabling device 04:00.0 (0000 -> 0002)
PCI: Enabling device 04:00.1 (0000 -> 0002)
PCI: Enabling device 04:00.2 (0000 -> 0002)
PCI: Enabling device 04:00.3 (0000 -> 0002)
PCI: Enabling device 04:00.4 (0000 -> 0002)
PCI: Setting latency timer of device 04:00.4 to 64
ohci1394_1: OHCI-1394 1.1 (PCI): IRQ=[11]  MMIO=[41003800-41003fff]  Max Packet=[2048]
eth1394: eth2: IEEE-1394 IPv4 over 1394 Ethernet (ohci1394)
ieee1394: Host added: ID:BUS[1-00:1023]  GUID[0090e60000001271]

together with:

# lspci
0000:00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
0000:00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 Mobile PCI Bridge (rev 42)
0000:00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 02)
0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
0000:02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:07.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
0000:02:07.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
0000:02:07.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
0000:04:00.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:04:00.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:04:00.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:04:00.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
0000:04:00.4 FireWire (IEEE 1394): ALi Corporation M5253 P1394 OHCI 1.1 Controller

I believe the last one is correct (i.e. ALi Corporation chips are used on this PCMCIA
card).


At least once all those 5 PCI devices 04:00.0 - 04:00.4 were detected as Gammagraphx,
so like in 2). At least if 1 or all 5 devices get detected as from Gammagraphx,
removing the PCMCIA card from the slot results in kernel oops:

Oops: 0002
CPU:    0
EIP:    0010:[<fbd54b4a>]    Not tainted
EFLAGS: 00010286
eax: 00000001   ebx: c0489f80   ecx: f789bcdc   edx: 00000020
esi: 00000000   edi: f7891e00   ebp: c0489f04   esp: c0489ee8
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 0, stackpage=c0489000)
Stack: 00000042 00000046 00007c98 f75e0000 f7891e00 c0489f80 c0489f80 c0489f1c 
       fbd56bfc f7891e00 c0489f80 f7891e64 00000001 c0489f34 c030a659 f7891e00 
       c0489f80 f5153364 04000001 c0489f54 c0108768 0000000b f7891e64 c0489f80 
Call Trace:    [<fbd56bfc>] [<c030a659>] [<c0108768>] [<c0108943>] [<c010ad78>]
  [<c0262e17>] [<c0262d24>] [<c0262d24>] [<c01053c2>] [<c0105000>]

Code: c6 46 64 03 c7 46 48 00 00 00 00 89 74 24 04 89 3c 24 e8 df 
 <0>Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing

I cannot resolve the stack as the machine is totally locked up,
only holding PWR button for 5 seconds helps.




----------------------------------------------------------------------------------------
Removing and re-plugging in the card does sometimes (instead of locking up the computer):

cs: cb_free(bus 4)
cs: cb_alloc(bus 4): vendor 0x10b9, device 0x5237
PCI: Enabling device 04:00.0 (0000 -> 0002)
PCI: Enabling device 04:00.1 (0000 -> 0002)
PCI: Enabling device 04:00.2 (0000 -> 0002)
PCI: Enabling device 04:00.3 (0000 -> 0002)
PCI: Enabling device 04:00.4 (0000 -> 0002)
PCI: Setting latency timer of device 04:00.4 to 64
ohci1394_1: OHCI-1394 1.1 (PCI): IRQ=[11]  MMIO=[41003800-41003fff]  Max Packet=[2048]
eth1394: eth2: IEEE-1394 IPv4 over 1394 Ethernet (ohci1394)
ohci1394_1: SelfID received, but NodeID invalid (probably new bus reset occurred): 00000020




The output below I believe should be taken as correct and standard, although obtained
during one of those many differently behaving bootups of 2.4.29-pre2:

0000:04:00.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        Subsystem: ALi Corporation USB 1.1 Controller
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin B routed to IRQ 11
        Region 0: Memory at 41000000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:04:00.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        Subsystem: ALi Corporation USB 1.1 Controller
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin B routed to IRQ 11
        Region 0: Memory at 41001000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:04:00.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        Subsystem: ALi Corporation USB 1.1 Controller
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin B routed to IRQ 11
        Region 0: Memory at 41002000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:04:00.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01) (prog-if 20 [EHCI])
        Subsystem: ALi Corporation: Unknown device 5272
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 41003000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME+
        Capabilities: [58] #0a [2090]

0000:04:00.4 FireWire (IEEE 1394): ALi Corporation M5253 P1394 OHCI 1.1 Controller (prog-if 10 [OHCI])
        Subsystem: ALi Corporation M5253 P1394 OHCI 1.1 Controller
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (750ns max)
        Interrupt: pin C routed to IRQ 11
        Region 0: Memory at 41003800 (32-bit, non-prefetchable) [size=2K]
        Expansion ROM at 40c00000 [size=64K]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME+

Actually, more on this hardware from other kernel releases:
http://bugzilla.kernel.org/attachment.cgi?id=1893&action=view
http://bugzilla.kernel.org/attachment.cgi?id=1892&action=view
http://bugzilla.kernel.org/show_bug.cgi?id=1904

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression: misdetected PCMCIA KW-7004 in 2.4.29-pre2
  2004-12-18 14:17 Regression: misdetected PCMCIA KW-7004 in 2.4.29-pre2 Martin MOKREJŠ
@ 2004-12-18 15:15 ` Martin MOKREJŠ
  2004-12-18 17:12 ` Marcelo Tosatti
  1 sibling, 0 replies; 3+ messages in thread
From: Martin MOKREJŠ @ 2004-12-18 15:15 UTC (permalink / raw)
  To: LKML

OK, I tried on another host using System.map from teh test system:

# lspci
0000:00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
0000:00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 Mobile PCI Bridge (rev 42)
0000:00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 02)
0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
0000:02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:07.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
0000:02:07.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
0000:02:07.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
0000:04:00.0 USB Controller: Gammagraphx, Inc.: Unknown device 5237 (rev 03)
0000:04:00.1 USB Controller: Gammagraphx, Inc.: Unknown device 5237 (rev 03)
0000:04:00.2 USB Controller: Gammagraphx, Inc.: Unknown device 5237 (rev 03)
0000:04:00.3 USB Controller: Gammagraphx, Inc.: Unknown device 5239 (rev 01)
0000:04:00.4 FireWire (IEEE 1394): Gammagraphx, Inc.: Unknown device 5253
vrapenec root # cat /proc/interrupts 
           CPU0       
  0:      22353          XT-PIC  timer
  1:         12          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:         14          XT-PIC  Ricoh Co Ltd RL5c476 II, usb-uhci
  8:          2          XT-PIC  rtc
  9:          7          XT-PIC  acpi
 11:        328          XT-PIC  ohci1394, Ricoh Co Ltd RL5c476 II (#2), usb-uhci, eth0, ohci1394
 12:        136          XT-PIC  PS/2 Mouse
 14:       4819          XT-PIC  ide0
 15:          7          XT-PIC  ide1
NMI:          0 
LOC:          0 
ERR:          0
MIS:          0
vrapenec root # 


and removing the PCMCIA card gives oops:

# ksymoops --no-vmlinux --no-lsmod --no-ksyms --no-object -m System.map b
ksymoops 2.4.9 on i686 2.6.10-rc3-bk8.  Options used
     -V (specified)
     -K (specified)
     -L (specified)
     -O (specified)
     -m System.map (specified)

Oops: 0000
CPU:    0
EIP:    0010:[<c02d8b4b>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: c0450940   ebx: 00000000   ecx: c02d8b30   edx: f78d4000
esi: 00000000   edi: c04089b1   ebp: c0491ee0   esp: c0491ec8
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 0, stackpage=c0491000)
Stack: 00000296 f78d4000 00000296 c045abd8 f78d4000 fe7dff0c c0491ef4 c02c0c76 
       f78d4000 00000001 00000102 c0491f34 c02c92d5 f78d4000 0000003f 00000001 
       00000001 ffffffff ffffffff ffffffff f9930c60 00000004 0000003f f78d4000 
Call Trace:    [<c02c0c76>] [<c02c92d5>] [<c0108768>] [<c0108943>] [<c010ad78>]
  [<c0262e17>] [<c0262d24>] [<c0262d24>] [<c01053c2>] [<c0105000>]
Code: ac ae 75 08 84 c0 75 f8 31 c0 eb 04 19 c0 0c 01 85 c0 0f 85 


>>EIP; c02d8b4b <dv1394_host_reset+1b/34b>   <=====

>>eax; c0450940 <dummy_driver+0/18>
>>ecx; c02d8b30 <dv1394_host_reset+0/34b>
>>edi; c04089b1 <bl_order+3fce5/588d4>
>>ebp; c0491ee0 <init_task_union+1ee0/2000>
>>esp; c0491ec8 <init_task_union+1ec8/2000>

Trace; c02c0c76 <highlevel_host_reset+46/50>
Trace; c02c92d5 <ohci_irq_handler+305/c10>
Trace; c0108768 <handle_IRQ_event+48/80>
Trace; c0108943 <do_IRQ+83/e0>
Trace; c010ad78 <call_do_IRQ+5/d>
Trace; c0262e17 <acpi_processor_idle+f3/1f0>
Trace; c0262d24 <acpi_processor_idle+0/1f0>
Trace; c0262d24 <acpi_processor_idle+0/1f0>
Trace; c01053c2 <cpu_idle+52/70>
Trace; c0105000 <_stext+0/0>

Code;  c02d8b4b <dv1394_host_reset+1b/34b>
00000000 <_EIP>:
Code;  c02d8b4b <dv1394_host_reset+1b/34b>   <=====
   0:   ac                        lods   %ds:(%esi),%al   <=====
Code;  c02d8b4c <dv1394_host_reset+1c/34b>
   1:   ae                        scas   %es:(%edi),%al
Code;  c02d8b4d <dv1394_host_reset+1d/34b>
   2:   75 08                     jne    c <_EIP+0xc>
Code;  c02d8b4f <dv1394_host_reset+1f/34b>
   4:   84 c0                     test   %al,%al
Code;  c02d8b51 <dv1394_host_reset+21/34b>
   6:   75 f8                     jne    0 <_EIP>
Code;  c02d8b53 <dv1394_host_reset+23/34b>
   8:   31 c0                     xor    %eax,%eax
Code;  c02d8b55 <dv1394_host_reset+25/34b>
   a:   eb 04                     jmp    10 <_EIP+0x10>
Code;  c02d8b57 <dv1394_host_reset+27/34b>
   c:   19 c0                     sbb    %eax,%eax
Code;  c02d8b59 <dv1394_host_reset+29/34b>
   e:   0c 01                     or     $0x1,%al
Code;  c02d8b5b <dv1394_host_reset+2b/34b>
  10:   85 c0                     test   %eax,%eax
Code;  c02d8b5d <dv1394_host_reset+2d/34b>
  12:   0f 85 00 00 00 00         jne    18 <_EIP+0x18>

 <0>Kernel panic: Aiee, killing interrupt handler!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression: misdetected PCMCIA KW-7004 in 2.4.29-pre2
  2004-12-18 14:17 Regression: misdetected PCMCIA KW-7004 in 2.4.29-pre2 Martin MOKREJŠ
  2004-12-18 15:15 ` Martin MOKREJŠ
@ 2004-12-18 17:12 ` Marcelo Tosatti
  1 sibling, 0 replies; 3+ messages in thread
From: Marcelo Tosatti @ 2004-12-18 17:12 UTC (permalink / raw)
  To: Martin MOKREJ?; +Cc: LKML

On Sat, Dec 18, 2004 at 03:17:49PM +0100, Martin MOKREJ? wrote:
> Hi,
> I'm testing 2.4.29-pre2 kernel on my ASUS L3800C laptop.
> I have already managed to hit several bugs, this is one of them.
> Please Cc: me in replies. Thanks.
> 
> When booting the system, I get sometimes:
> 
> 
> =======================================================================================
> 1)
> 
> cs: cb_alloc(bus 4): vendor 0x10b9, device 0x5237
> PCI: Enabling device 04:00.0 (0000 -> 0002)
> PCI: Enabling device 04:00.1 (0000 -> 0002)
> PCI: Enabling device 04:00.2 (0000 -> 0002)
> PCI: Enabling device 04:00.3 (0000 -> 0002)
> PCI: Enabling device 04:00.4 (0000 -> 0002)
> ohci1394_1: OHCI-1394 1.1 (PCI): IRQ=[11]  MMIO=[41003800-41003fff]  Max 
> Packet=[2048]
> eth1394: eth2: IEEE-1394 IPv4 over 1394 Ethernet (ohci1394)
> 
> 
> =======================================================================================
> 2)
> or I get:
> 
> cs: cb_alloc(bus 4): vendor 0x0000, device 0x5237
> PCI: device 04:00.0 has unknown header type 37, ignoring.
> 
> together with:
> 
> # lspci
> 0000:00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host 
> Bridge (rev 04)
> 0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP 
> Bridge (rev 04)
> 0000:00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
> 0000:00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
> 0000:00:1e.0 PCI bridge: Intel Corp. 82801 Mobile PCI Bridge (rev 42)
> 0000:00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
> 0000:00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
> 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 
> Audio Controller (rev 02)
> 0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02)
> 0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon 
> Mobility M7 LW [Radeon Mobility 7500]
> 0000:02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
> RTL-8139/8139C/8139C+ (rev 10)
> 0000:02:07.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
> 0000:02:07.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
> 0000:02:07.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
> 0000:04:00.0 USB Controller: Gammagraphx, Inc.: Unknown device 0000 (rev 03)
> 
> 
> =======================================================================================
> 3)
> or I get:
> 
> cs: cb_alloc(bus 4): vendor 0x10b9, device 0x5237
> PCI: Enabling device 04:00.0 (0000 -> 0002)
> PCI: Enabling device 04:00.1 (0000 -> 0002)
> PCI: Enabling device 04:00.2 (0000 -> 0002)
> PCI: Enabling device 04:00.3 (0000 -> 0002)
> PCI: Enabling device 04:00.4 (0000 -> 0002)
> PCI: Setting latency timer of device 04:00.4 to 64
> ohci1394_1: OHCI-1394 1.1 (PCI): IRQ=[11]  MMIO=[41003800-41003fff]  Max
> Packet=[2048]
> eth1394: eth2: IEEE-1394 IPv4 over 1394 Ethernet (ohci1394)
> ieee1394: Host added: ID:BUS[1-00:1023]  GUID[0090e60000001271]
> 
> together with:
> 
> # lspci
> 0000:00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host 
> Bridge (rev 04)
> 0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP 
> Bridge (rev 04)
> 0000:00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
> 0000:00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
> 0000:00:1e.0 PCI bridge: Intel Corp. 82801 Mobile PCI Bridge (rev 42)
> 0000:00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
> 0000:00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
> 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 
> Audio Controller (rev 02)
> 0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02)
> 0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon 
> Mobility M7 LW [Radeon Mobility 7500]
> 0000:02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
> RTL-8139/8139C/8139C+ (rev 10)
> 0000:02:07.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
> 0000:02:07.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
> 0000:02:07.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
> 0000:04:00.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
> 0000:04:00.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
> 0000:04:00.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
> 0000:04:00.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
> 0000:04:00.4 FireWire (IEEE 1394): ALi Corporation M5253 P1394 OHCI 1.1 
> Controller
> 
> I believe the last one is correct (i.e. ALi Corporation chips are used on 
> this PCMCIA
> card).
> 
> 
> At least once all those 5 PCI devices 04:00.0 - 04:00.4 were detected as 
> Gammagraphx,
> so like in 2). At least if 1 or all 5 devices get detected as from 
> Gammagraphx,
> removing the PCMCIA card from the slot results in kernel oops:

No idea of what might be causing this, its indeed strange. Are you using ACPI ?  

How does v2.4.28 behaves? It seems no 2.6.x kernel behaves "correctly" also.

The problems seen on v2.6.x seem to be different from the ones in v2.4.x though,
you do not see the random PCI routing changes there do you?

> Oops: 0002
> CPU:    0
> EIP:    0010:[<fbd54b4a>]    Not tainted
> EFLAGS: 00010286
> eax: 00000001   ebx: c0489f80   ecx: f789bcdc   edx: 00000020
> esi: 00000000   edi: f7891e00   ebp: c0489f04   esp: c0489ee8
> ds: 0018   es: 0018   ss: 0018
> Process swapper (pid: 0, stackpage=c0489000)
> Stack: 00000042 00000046 00007c98 f75e0000 f7891e00 c0489f80 c0489f80 
> c0489f1c fbd56bfc f7891e00 c0489f80 f7891e64 00000001 c0489f34 
>       c030a659 f7891e00 c0489f80 f5153364 04000001 c0489f54 c0108768 
>       0000000b f7891e64 c0489f80 Call Trace:    [<fbd56bfc>] [<c030a659>] 
> [<c0108768>] [<c0108943>] [<c010ad78>]
>  [<c0262e17>] [<c0262d24>] [<c0262d24>] [<c01053c2>] [<c0105000>]
> 
> Code: c6 46 64 03 c7 46 48 00 00 00 00 89 74 24 04 89 3c 24 e8 df 
> <0>Kernel panic: Aiee, killing interrupt handler!
> In interrupt handler - not syncing
> 
> I cannot resolve the stack as the machine is totally locked up,
> only holding PWR button for 5 seconds helps.

Can you run this through ksymoops it ?

> ----------------------------------------------------------------------------------------
> Removing and re-plugging in the card does sometimes (instead of locking up 
> the computer):
> 
> cs: cb_free(bus 4)
> cs: cb_alloc(bus 4): vendor 0x10b9, device 0x5237
> PCI: Enabling device 04:00.0 (0000 -> 0002)
> PCI: Enabling device 04:00.1 (0000 -> 0002)
> PCI: Enabling device 04:00.2 (0000 -> 0002)
> PCI: Enabling device 04:00.3 (0000 -> 0002)
> PCI: Enabling device 04:00.4 (0000 -> 0002)
> PCI: Setting latency timer of device 04:00.4 to 64
> ohci1394_1: OHCI-1394 1.1 (PCI): IRQ=[11]  MMIO=[41003800-41003fff]  Max 
> Packet=[2048]
> eth1394: eth2: IEEE-1394 IPv4 over 1394 Ethernet (ohci1394)
> ohci1394_1: SelfID received, but NodeID invalid (probably new bus reset 
> occurred): 00000020
> 
> 
> 
> 
> The output below I believe should be taken as correct and standard, 
> although obtained
> during one of those many differently behaving bootups of 2.4.29-pre2:
> 
> 0000:04:00.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) 
> (prog-if 10 [OHCI])
>        Subsystem: ALi Corporation USB 1.1 Controller
>        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
>        Stepping- SERR- FastB2B-
>        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
>        <TAbort- <MAbort- >SERR- <PERR-
>        Interrupt: pin B routed to IRQ 11
>        Region 0: Memory at 41000000 (32-bit, non-prefetchable) [size=4K]
>        Capabilities: [60] Power Management version 2
>                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
>                PME(D0+,D1+,D2-,D3hot+,D3cold+)
>                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> 0000:04:00.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) 
> (prog-if 10 [OHCI])
>        Subsystem: ALi Corporation USB 1.1 Controller
>        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
>        Stepping- SERR- FastB2B-
>        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
>        <TAbort- <MAbort- >SERR- <PERR-
>        Interrupt: pin B routed to IRQ 11
>        Region 0: Memory at 41001000 (32-bit, non-prefetchable) [size=4K]
>        Capabilities: [60] Power Management version 2
>                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
>                PME(D0+,D1+,D2-,D3hot+,D3cold+)
>                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> 0000:04:00.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) 
> (prog-if 10 [OHCI])
>        Subsystem: ALi Corporation USB 1.1 Controller
>        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
>        Stepping- SERR- FastB2B-
>        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
>        <TAbort- <MAbort- >SERR- <PERR-
>        Interrupt: pin B routed to IRQ 11
>        Region 0: Memory at 41002000 (32-bit, non-prefetchable) [size=4K]
>        Capabilities: [60] Power Management version 2
>                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
>                PME(D0+,D1+,D2-,D3hot+,D3cold+)
>                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> 0000:04:00.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01) 
> (prog-if 20 [EHCI])
>        Subsystem: ALi Corporation: Unknown device 5272
>        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
>        Stepping- SERR- FastB2B-
>        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
>        <TAbort- <MAbort- >SERR- <PERR-
>        Interrupt: pin A routed to IRQ 11
>        Region 0: Memory at 41003000 (32-bit, non-prefetchable) [size=256]
>        Capabilities: [50] Power Management version 2
>                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
>                PME(D0+,D1-,D2-,D3hot+,D3cold+)
>                Status: D0 PME-Enable- DSel=0 DScale=0 PME+
>        Capabilities: [58] #0a [2090]
> 
> 0000:04:00.4 FireWire (IEEE 1394): ALi Corporation M5253 P1394 OHCI 1.1 
> Controller (prog-if 10 [OHCI])
>        Subsystem: ALi Corporation M5253 P1394 OHCI 1.1 Controller
>        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
>        Stepping- SERR- FastB2B-
>        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
>        <TAbort- <MAbort- >SERR- <PERR-
>        Latency: 64 (750ns max)
>        Interrupt: pin C routed to IRQ 11
>        Region 0: Memory at 41003800 (32-bit, non-prefetchable) [size=2K]
>        Expansion ROM at 40c00000 [size=64K]
>        Capabilities: [80] Power Management version 2
>                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
>                PME(D0-,D1+,D2+,D3hot+,D3cold-)
>                Status: D0 PME-Enable- DSel=0 DScale=0 PME+
> 
> Actually, more on this hardware from other kernel releases:
> http://bugzilla.kernel.org/attachment.cgi?id=1893&action=view
> http://bugzilla.kernel.org/attachment.cgi?id=1892&action=view
> http://bugzilla.kernel.org/show_bug.cgi?id=1904

It seems there is not only one bug reported there, but many. 
Is that right?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-18 20:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-18 14:17 Regression: misdetected PCMCIA KW-7004 in 2.4.29-pre2 Martin MOKREJŠ
2004-12-18 15:15 ` Martin MOKREJŠ
2004-12-18 17:12 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®