Subject: port-i386/9584: insert pcmcia card in upper-slot in ThinkPad600E
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/08/2000 16:43:06
>Number:         9584
>Category:       port-i386
>Synopsis:       insert pcmcia card in upper-slot in ThinkPad600E
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar  8 16:42:01 2000
>Originator:     Love
	Stacken, KTH, Stockholm
>Release:        NetBSD 1.4U (checkouted 2000-Mars-7)
System: NetBSD 1.4U NetBSD 1.4U (NUTCRACKER) #9: Thu Mar 9 00:33:13 CET 2000 i386

 My ThinkPad600E crashes if I insert a card in the upper PCCard slot.

When inserting my tulip card (IBM EtherJet) it complain of not being
able to read the CIS. (I'll try to add a backtrace later).

Here is a backtrace when inserting a Lucent WaveLan 2MB card (wi driver):

(gdb) bt
#0  0xc03e7c3b in vm_rfc1048 ()
#1  0x1505000 in ?? ()
#2  0xc02c6573 in cpu_reboot (howto=256, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:1091
#3  0xc019c985 in panic () at ../../../../kern/subr_prf.c:216
#4  0xc02ce841 in trap (frame={tf_es = -1064894448, tf_ds = 16, 
      tf_edi = -571932864, tf_esi = 0, tf_ebp = -571933000, tf_ebx = 0, 
      tf_edx = 8, tf_ecx = -570163200, tf_eax = 4096, tf_trapno = 6, 
      tf_err = 0, tf_eip = -1070066570, tf_cs = 8, tf_eflags = 66050, 
      tf_esp = -1064880128, tf_ss = -1064806912, tf_vm86_es = -571932864, 
      tf_vm86_ds = 0, tf_vm86_fs = 0, tf_vm86_gs = 0})
    at ../../../../arch/i386/i386/trap.c:309
#5  0xc0100ef9 in calltrap ()
#6  0xc03812b8 in pcmcia_read_cis (sc=0xc0885600)
    at ../../../../dev/pcmcia/pcmcia_cis.c:87
#7  0xc03803db in pcmcia_card_attach (dev=0xc0885600)
    at ../../../../dev/pcmcia/pcmcia.c:160
#8  0xc03764fd in cardslot_event_thread (arg=0xc0873800)
    at ../../../../dev/cardbus/cardslot.c:412
#9  0xc010032b in proc_trampoline ()
(gdb) fr 6
#6  0xc03812b8 in pcmcia_read_cis (sc=0xc0885600)
    at ../../../../dev/pcmcia/pcmcia_cis.c:87
(gdb) p sc
$2 = (struct pcmcia_softc *) 0x0
(gdb) list
82              state.card->product = PCMCIA_PRODUCT_INVALID;
83              SIMPLEQ_INIT(&state.card->pf_head);
85     = NULL;
87              if (pcmcia_scan_cis((struct device *)sc, pcmcia_parse_cis_tuple,
88                  &state) == -1)
89                      state.card->error++;
90      }

NetBSD 1.4U (NUTCRACKER) #9: Thu Mar  9 00:33:13 CET 2000
cpu0: family 6 model 6 step a
cpu0: Intel Pentium II (Celeron) (686-class)
total memory = 191 MB
avail memory = 172 MB
using 2476 buffers containing 9904 KB of memory
BIOS32 rev. 0 found at 0xfd820
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Neomagic MagicMedia 256AV VGA (rev. 0x12)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
cbb0 at pci0 dev 2 function 0: Texas Instruments PCI1251 PCI-CardBus Bridge (rev. 0x00)
cbb1 at pci0 dev 2 function 1: Texas Instruments PCI1251 PCI-CardBus Bridge (rev. 0x00)
Cirrus Logic CS4610 SoundFusion Audio Accelerator (audio multimedia, revision 0x01) at pci0 dev 6 function 0 not configured
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DCXA-210000>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 9590 MB, 16383 cyl, 15 head, 63 sec, 512 bytes/sect x 19640880 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 7 function 3 not configured
cbb0: interrupting at irq 11
cbb0: cacheline 0x8 lattimer 0xb0
cbb0: bhlc 0x82a808 lscp 0xb0040200
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cbb1: cacheline 0x8 lattimer 0xb0
cbb1: bhlc 0x82a808 lscp 0xb0070500
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt2 at isa0 port 0x3bc-0x3bf: polled
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.02
audio0 at sb0: half duplex, mmap, independent
midi0 at sb0: SB MIDI UART
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
biomask efdd netmask efdd ttymask ffdf
cbb1: bad Vcc request. sock_ctrl 0x30, sock_status 0x30000b20
tlp0 at cardbus1 dev 0 function 0: Xircom X3201-3 Ethernet, pass 0.3
tlp0: interrupting at 11
tlp0: Ethernet address 00:06:29:15:2d:b6
tqphy0 at tlp0 phy 0: 78Q2120 10/100 media interface, rev. 11
tqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp0: supplying EUI64: 00:06:29:ff:fe:15:2d:b6
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
tlp0: starting DAD for fe80:0013::0206:29ff:fe15:2db6
tlp0: DAD complete for fe80:0013::0206:29ff:fe15:2db6 - no duplicates found
tlp0: starting DAD for 3ffe:0200:0002:1000:0206:29ff:fe15:2db6
tlp0: DAD complete for 3ffe:0200:0002:1000:0206:29ff:fe15:2db6 - no duplicates found
tlp0: transmit underrun; new threshold: 96/256 bytes

 Insert a card in the upper slot in a ThinkPad 600E.


 No clue :(