Subject: kern/12575: Thinkpad A21p & ELSA ISDN/MC PCMCIA not working?
To: None <gnats-bugs@gnats.netbsd.org>
From: Frank Kardel <kardel@acm.org>
List: netbsd-bugs
Date: 04/08/2001 15:06:58
>Number:         12575
>Category:       kern
>Synopsis:       seems that ELSA ISDN/MC does not work on IBM Thinkpad A21p (CURRENT-20010401-8)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 08 06:08:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Frank Kardel
>Release:        CURRENT 20010401 - 20010408
>Organization:
>Environment:
	
System: NetBSD pip 1.5T NetBSD 1.5T (PIP) #0: Sun Apr 1 20:56:32 MEST 2001 kardel@pip:/fs/305040-0-a/src/NetBSD/netbsd/sys/arch/i386/compile/PIP i386
Architecture: i386
Machine: i386
>Description:
	ELSA ISDN MC is recognized but fails to set up connections via ISDN.
	Extraction of card leads to interrupt loop (RX bufferoverflow and more)
	Any possibility of misconfiguration wrt ThinkPad?

	syslog output:
	Apr  8 14:38:03 Book /netbsd: NetBSD 1.5T (BOOK) #0: Fri Apr  6 12:34:38 MEST 2001
	Apr  8 14:38:03 Book /netbsd:     kardel@pip:/fs/305040-0-a/src/NetBSD/netbsd/sys/arch/i386/compile/BOOK
	Apr  8 14:38:03 Book /netbsd: cpu0: Intel Pentium III (Coppermine) (686-class), 697.45 MHz
	Apr  8 14:38:03 Book /netbsd: cpu0: I-cache 16K 32b/line 4-way, D-cache 16K 32b/line 2/4-way
	Apr  8 14:38:03 Book /netbsd: cpu0: L2 cache 256K 32b/line 8-way
	Apr  8 14:38:03 Book /netbsd: cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
	Apr  8 14:38:03 Book /netbsd: cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX,FXSR,XMM>
	Apr  8 14:38:03 Book /netbsd: total memory = 255 MB
	Apr  8 14:38:03 Book /netbsd: avail memory = 232 MB
	Apr  8 14:38:03 Book /netbsd: using 3296 buffers containing 13184 KB of memory
	Apr  8 14:38:03 Book /netbsd: BIOS32 rev. 0 found at 0xfd820
	Apr  8 14:38:03 Book /netbsd: PCI BIOS rev. 2.1 found at 0xfd94f
	Apr  8 14:38:03 Book /netbsd: pcibios: config mechanism [1][x], special cycles [x][x], last bus 7
	Apr  8 14:38:03 Book /netbsd: PCI IRQ Routing Table rev. 1.0 found at 0xfdee0, size 208 bytes (11 entries)
	Apr  8 14:38:03 Book /netbsd: PCI Interrupt Router at 000:07:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
	Apr  8 14:38:03 Book /netbsd: ------------------------------------------
	Apr  8 14:38:03 Book /netbsd:   device vendor product pin PIRQ IRQ stage
	Apr  8 14:38:03 Book /netbsd: ------------------------------------------
	Apr  8 14:38:03 Book /netbsd: 000:02:0 0x104c 0xac1b   A  0x00  11  0    already assigned
	Apr  8 14:38:03 Book /netbsd: 000:02:1 0x104c 0xac1b   B  0x01  11  0    already assigned
	Apr  8 14:38:03 Book /netbsd: 000:03:0 0x8086 0x1229   A  0x02  11  0    already assigned
	Apr  8 14:38:03 Book /netbsd: 000:03:1 0x115d 0x000c   A  0x02  11  0    already assigned
	Apr  8 14:38:03 Book /netbsd: 000:05:0 0x1013 0x6003   A  0x00  11  0    already assigned
	Apr  8 14:38:03 Book /netbsd: 000:07:2 0x8086 0x7112   D  0x03  11  0    already assigned
	Apr  8 14:38:03 Book /netbsd: 001:00:0 0x1002 0x4c46   A  0x00  11  0    already assigned
	Apr  8 14:38:03 Book /netbsd: ------------------------------------------
	Apr  8 14:38:03 Book /netbsd: PCI bridge 0: primary 0, secondary 1, subordinate 1
	Apr  8 14:38:03 Book /netbsd: PCI bridge 1: primary 0, secondary 2, subordinate 2
	Apr  8 14:38:03 Book /netbsd: PCI bridge 2: primary 0, secondary 3, subordinate 3
	Apr  8 14:38:03 Book /netbsd: PCI bus #3 is the last bus
	Apr  8 14:38:03 Book /netbsd: [System BIOS Setting]-----------------------
	Apr  8 14:38:03 Book /netbsd:   device vendor product
	Apr  8 14:38:03 Book /netbsd:   register space address    size
	Apr  8 14:38:03 Book /netbsd: --------------------------------------------
	Apr  8 14:38:03 Book /netbsd: 000:00:0 0x8086 0x7190 
	Apr  8 14:38:03 Book /netbsd: 	10h mem  0xf4000000 0x04000000
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 000:01:0 0x8086 0x7191 
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 000:02:0 0x104c 0xac1b 
	Apr  8 14:38:03 Book /netbsd: 	10h mem  0x50000000 0x00001000
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 000:02:1 0x104c 0xac1b 
	Apr  8 14:38:03 Book /netbsd: 	10h mem  0x50100000 0x00001000
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 000:03:0 0x8086 0x1229 
	Apr  8 14:38:03 Book /netbsd: 	10h mem  0xf0120000 0x00001000
	Apr  8 14:38:03 Book /netbsd: 	14h port 0x00001800 0x00000040
	Apr  8 14:38:03 Book /netbsd: 	18h mem  0xf0100000 0x00020000
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 000:03:1 0x115d 0x000c 
	Apr  8 14:38:03 Book /netbsd: 	10h port 0x00001840 0x00000008
	Apr  8 14:38:03 Book /netbsd: 	14h mem  0xf0121000 0x00001000
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 000:05:0 0x1013 0x6003 
	Apr  8 14:38:03 Book /netbsd: 	10h mem  0xf0122000 0x00001000
	Apr  8 14:38:03 Book /netbsd: 	14h mem  0xf0000000 0x00100000
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 000:07:0 0x8086 0x7110 
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 000:07:1 0x8086 0x7111 
	Apr  8 14:38:03 Book /netbsd: 	20h port 0x00001850 0x00000010
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 000:07:2 0x8086 0x7112 
	Apr  8 14:38:03 Book /netbsd: 	20h port 0x00001860 0x00000020
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 000:07:3 0x8086 0x7113 
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: 001:00:0 0x1002 0x4c46 
	Apr  8 14:38:03 Book /netbsd: 	10h mem  0xf8000000 0x04000000
	Apr  8 14:38:03 Book /netbsd: 	14h port 0x00002000 0x00000100
	Apr  8 14:38:03 Book /netbsd: 	18h mem  0xf0200000 0x00004000
	Apr  8 14:38:03 Book /netbsd: 		[OK]
	Apr  8 14:38:03 Book /netbsd: --------------------------[  0 devices bogus]
	Apr  8 14:38:03 Book /netbsd:  Physical memory end: 0x0ffee000
	Apr  8 14:38:03 Book /netbsd:  PCI memory mapped I/O space start: 0x10000000
	Apr  8 14:38:03 Book /netbsd: mainbus0 (root)
	Apr  8 14:38:04 Book /netbsd: pci0 at mainbus0 bus 0: configuration mode 1
	Apr  8 14:38:04 Book /netbsd: pci0: i/o space, memory space enabled
	Apr  8 14:38:04 Book /netbsd: pchb0 at pci0 dev 0 function 0
	Apr  8 14:38:04 Book /netbsd: pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
	Apr  8 14:38:04 Book /netbsd: ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
	Apr  8 14:38:04 Book /netbsd: pci1 at ppb0 bus 1
	Apr  8 14:38:04 Book /netbsd: pci1: i/o space, memory space enabled
	Apr  8 14:38:04 Book /netbsd: vga1 at pci1 dev 0 function 0: ATI Technologies Mobility M3 (AGP) (rev. 0x02)
	Apr  8 14:38:04 Book /netbsd: wsdisplay0 at vga1: console (80x25, vt100 emulation)
	Apr  8 14:38:04 Book /netbsd: cbb0 at pci0 dev 2 function 0: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03)
	Apr  8 14:38:04 Book /netbsd: cbb1 at pci0 dev 2 function 1: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03)
	Apr  8 14:38:04 Book /netbsd: fxp0 at pci0 dev 3 function 0: Intel i82557 Ethernet, rev 9
	Apr  8 14:38:04 Book /netbsd: fxp0: interrupting at irq 11
	Apr  8 14:38:04 Book /netbsd: fxp0: Ethernet address 00:10:a4:89:ba:69, 10/100 Mb/s
	Apr  8 14:38:04 Book /netbsd: inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
	Apr  8 14:38:04 Book /netbsd: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
	Apr  8 14:38:04 Book /netbsd: Xircom WinGlobal Modem (serial communications, interface 0x02) at pci0 dev 3 function 1 not configured
	Apr  8 14:38:04 Book /netbsd: clcs0 at pci0 dev 5 function 0: Cirrus Logic CS4280 CrystalClear Audio Interface (rev. 0x01)
	Apr  8 14:38:04 Book /netbsd: clcs0: interrupting at irq 11
	Apr  8 14:38:04 Book /netbsd: clcs0: unknown (0x00000000) codec; no 3D stereo
	Apr  8 14:38:04 Book /netbsd: audio0 at clcs0: full duplex, independent
	Apr  8 14:38:04 Book /netbsd: midi0 at clcs0: CS4280 MIDI UART
	Apr  8 14:38:04 Book /netbsd: pcib0 at pci0 dev 7 function 0
	Apr  8 14:38:04 Book /netbsd: pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
	Apr  8 14:38:04 Book /netbsd: pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
	Apr  8 14:38:04 Book /netbsd: pciide0: bus-master DMA support present
	Apr  8 14:38:04 Book /netbsd: pciide0: primary channel wired to compatibility mode
	Apr  8 14:38:04 Book /netbsd: wd0 at pciide0 channel 0 drive 0: <IBM-DJSA-232>
	Apr  8 14:38:04 Book /netbsd: wd0: drive supports 16-sector PIO transfers, LBA addressing
	Apr  8 14:38:04 Book /netbsd: wd0: 30520 MB, 16383 cyl, 15 head, 63 sec, 512 bytes/sect x 62506080 sectors
	Apr  8 14:38:04 Book /netbsd: wd0: 32-bit data port
	Apr  8 14:38:04 Book /netbsd: wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
	Apr  8 14:38:04 Book /netbsd: pciide0: primary channel interrupting at irq 14
	Apr  8 14:38:04 Book /netbsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
	Apr  8 14:38:04 Book /netbsd: pciide0: secondary channel wired to compatibility mode
	Apr  8 14:38:04 Book /netbsd: atapibus0 at pciide0 channel 1
	Apr  8 14:38:04 Book /netbsd: cd0 at atapibus0 drive 0: <MATSHITADVD-ROM SR-8175, , G228> type 5 cdrom removable
	Apr  8 14:38:04 Book /netbsd: cd0: 32-bit data port
	Apr  8 14:38:04 Book /netbsd: cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
	Apr  8 14:38:04 Book /netbsd: pciide0: secondary channel interrupting at irq 15
	Apr  8 14:38:04 Book /netbsd: cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
	Apr  8 14:38:04 Book /netbsd: uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
	Apr  8 14:38:04 Book /netbsd: uhci0: interrupting at irq 11
	Apr  8 14:38:04 Book /netbsd: usb0 at uhci0: USB revision 1.0
	Apr  8 14:38:04 Book /netbsd: uhub0 at usb0
	Apr  8 14:38:04 Book /netbsd: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
	Apr  8 14:38:04 Book /netbsd: uhub0: 2 ports with 2 removable, self powered
	Apr  8 14:38:04 Book /netbsd: Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
	Apr  8 14:38:04 Book /netbsd: cbb0: interrupting at irq 11
	Apr  8 14:38:04 Book /netbsd: cardslot0 at cbb0 slot 0 flags 0
	Apr  8 14:38:04 Book /netbsd: cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0
	Apr  8 14:38:04 Book /netbsd: pcmcia0 at cardslot0
	Apr  8 14:38:04 Book /netbsd: cbb1: interrupting at irq 11
	Apr  8 14:38:04 Book /netbsd: cardslot1 at cbb1 slot 1 flags 0
	Apr  8 14:38:04 Book /netbsd: cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0xb0
	Apr  8 14:38:04 Book /netbsd: pcmcia1 at cardslot1
	Apr  8 14:38:04 Book /netbsd: isa0 at pcib0
	Apr  8 14:38:04 Book /netbsd: com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
	Apr  8 14:38:04 Book /netbsd: pckbc0 at isa0 port 0x60-0x64
	Apr  8 14:38:04 Book /netbsd: pckbd0 at pckbc0 (kbd slot)
	Apr  8 14:38:05 Book /netbsd: pckbc0: using irq 1 for kbd slot
	Apr  8 14:38:05 Book /netbsd: wskbd0 at pckbd0: console keyboard, using wsdisplay0
	Apr  8 14:38:05 Book /netbsd: pms0 at pckbc0 (aux slot)
	Apr  8 14:38:05 Book /netbsd: pckbc0: using irq 12 for aux slot
	Apr  8 14:38:05 Book /netbsd: wsmouse0 at pms0 mux 0
	Apr  8 14:38:05 Book /netbsd: pcppi0 at isa0 port 0x61
	Apr  8 14:38:05 Book /netbsd: midi1 at pcppi0: PC speaker
	Apr  8 14:38:05 Book /netbsd: sysbeep0 at pcppi0
	Apr  8 14:38:05 Book /netbsd: isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
	Apr  8 14:38:05 Book /netbsd: npx0 at isa0 port 0xf0-0xff: using exception 16
	Apr  8 14:38:05 Book /netbsd: fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
	Apr  8 14:38:05 Book /netbsd: fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
	Apr  8 14:38:05 Book /netbsd: isapnp0: no ISA Plug 'n Play devices found
	Apr  8 14:38:05 Book /netbsd: apm0 at mainbus0: Power Management spec V1.2
	Apr  8 14:38:05 Book /netbsd: biomask efed netmask efed ttymask ffef
	Apr  8 14:38:05 Book /netbsd: i4b: ISDN call control device attached
	Apr  8 14:38:05 Book /netbsd: i4btrc: 2 ISDN trace device(s) attached
	Apr  8 14:38:05 Book /netbsd: i4bctl: ISDN system control port attached
	Apr  8 14:38:05 Book /netbsd: i4brbch: 4 raw B channel access device(s) attached
	Apr  8 14:38:05 Book /netbsd: i4btel: 2 ISDN telephony interface device(s) attached
	Apr  8 14:38:05 Book /netbsd: i4bipr: 2 IP over raw HDLC ISDN device(s) attached (VJ header compression)
	Apr  8 14:38:05 Book /netbsd: i4bisppp: 2 ISDN SyncPPP device(s) attached
	Apr  8 14:38:05 Book /netbsd: IPsec: Initialized Security Association Processing.
	Apr  8 14:38:05 Book /netbsd: boot device: wd0
	Apr  8 14:38:05 Book /netbsd: root on wd0a dumps on wd0b
	Apr  8 14:38:05 Book /netbsd: root file system type: ffs
	Apr  8 14:38:05 Book /netbsd: wsdisplay0: screen 1 added (80x25, vt100 emulation)
	Apr  8 14:38:05 Book /netbsd: wsdisplay0: screen 2 added (80x25, vt100 emulation)
	Apr  8 14:38:05 Book /netbsd: wsdisplay0: screen 3 added (80x25, vt100 emulation)
	Apr  8 14:38:05 Book /netbsd: wsdisplay0: screen 4 added (80x25, vt100 emulation)
	Apr  8 14:38:05 Book /netbsd: wsmux1: connecting to wsdisplay0
	Apr  8 14:38:03 Book savecore: no core dump
	Apr  8 14:38:06 Book routed[161]: Send mcast sendto(fxp0, 224.0.0.9.520): No route to host
	Apr  8 14:38:06 Book apmd: battery status: high. external power status: not connected. estimated battery life 70% (127 minutes)
	Apr  8 14:38:06 Book apm: Running on battery.
	Apr  8 14:38:06 Book isdnd[202]: ERR init_controller: no ISDN controller found!
	Apr  8 14:38:06 Book isdnd[202]: DMN daemon terminating, exitval = 1
	Apr  8 14:40:17 Book /netbsd: stray interrupt 7
	Apr  8 14:40:19 Book /netbsd: isic0 at pcmcia0 function 0: ELSA MicroLink ISDN/MC
	Apr  8 14:40:19 Book /netbsd: BRI 0 at isic0: some isic card
	Apr  8 14:40:19 Book /netbsd: isic0: ISAC 2085 Version V2.3 (B3) (IOM-2)
	Apr  8 14:40:19 Book /netbsd: isic0: HSCX 82525 Version A2
	Apr  8 14:40:39 Book /netbsd: , input buffer overflow!
	Apr  8 14:40:41 Book /netbsd: i4b-L1 isic_isac_irq: RPF, input buffer overflow!
	Apr  8 14:40:41 Book last message repeated 162 times
	Apr  8 14:42:10 Book isdnd[259]: WRN error open /etc/isdn/isdnd.rates: No such file or directory
	Apr  8 14:42:10 Book isdnd[259]: DMN i4b isdn daemon started (pid = 259)
	Apr  8 14:43:08 Book isdnd[259]: CHD 00001 I4BPPP rate 60 sec/unit (no ratefile)
	Apr  8 14:43:08 Book isdnd[259]: CHD 00001 I4BPPP dialing out from 012345678(fake) to 012345678(fake)
	Apr  8 14:43:10 Book /netbsd: i4b-L1 timer3_expired: state = F4 Awaiting Signal
	Apr  8 14:43:10 Book /netbsd: i4b-L1 isic_recover: HSCX B: ISTA = 0x0
	Apr  8 14:43:10 Book /netbsd: i4b-L1 isic_recover:   ISAC: ISTA = 0x0
	Apr  8 14:43:10 Book /netbsd: i4b-L1 isic_recover: HSCX B: IMASK = 0xff
	Apr  8 14:43:10 Book /netbsd: i4b-L1 isic_recover: HSCX A: IMASK = 0xf8
	Apr  8 14:43:10 Book /netbsd: i4b-L1 isic_recover:   ISAC: IMASK = 0x2a
	Apr  8 14:43:10 Book /netbsd: i4b-L2 i4b_T202_timeout: bri 0, N202 = 3
	Apr  8 14:43:10 Book /netbsd: i4b-L1 isic_std_ph_data_req: still in state F3!
	Apr  8 14:43:12 Book /netbsd: i4b-L3 T303_timeout: SETUP not answered, cr = 5
	Apr  8 14:43:12 Book /netbsd: i4b-L3 next_l3state: FSM illegal state, state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout!
	Apr  8 14:43:12 Book /netbsd: i4b-L1 timer3_expired: state = F4 Awaiting Signal
	Apr  8 14:43:12 Book /netbsd: i4b-L1 isic_recover: HSCX B: ISTA = 0x0
	Apr  8 14:43:12 Book /netbsd: i4b-L1 isic_recover:   ISAC: ISTA = 0x0
	Apr  8 14:43:12 Book /netbsd: i4b-L1 isic_recover: HSCX B: IMASK = 0xff
	Apr  8 14:43:12 Book /netbsd: i4b-L1 isic_recover: HSCX A: IMASK = 0xf8
	Apr  8 14:43:12 Book /netbsd: i4b-L1 isic_recover:   ISAC: IMASK = 0x2a

>How-To-Repeat:
	Insert Card and try to dial a connection
>Fix:
	none known
>Release-Note:
>Audit-Trail:
>Unformatted: