Subject: port-i386/13444: V.90 modem card fails to work
To: None <gnats-bugs@gnats.netbsd.org>
From: Havard Eidnes <he@uninett.no>
List: netbsd-bugs
Date: 07/11/2001 16:25:06
>Number:         13444
>Category:       port-i386
>Synopsis:       No-name (?) V.90 modem card fails to work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 11 14:52:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Havard Eidnes
>Release:        NetBSD 1.5.1
>Organization:
	UNINETT AS
>Environment:
System: NetBSD nardo.uninett.no 1.5.1 NetBSD 1.5.1 (NARDO) #6: Wed Jul 11 14:40:40 CEST 2001 he@nardo.uninett.no:/usr/src/sys/arch/i386/compile/NARDO i386


>Description:
	I was handed a modem card at work which appears to be of the
	"no-name" variety (the inscription says "V.90 56K FAX MODEM"),
	though the manufacturer/product should be discernible from the
	CIS debug info below.  This card fails to work on my IBM T21
	laptop.

	I've tested both with a pure pcmcia kernel (no cardbus devices
	configured), as well as a cardbus-enabled kernel, and the
	symptoms are the same: attempts at opening the serial device
	corresponding to the modem card appears to "almost" hang the
	system.  What this "almost" means is that I just barely
	managed to switch virtual consoles (using wscons), but typing
	anything (to login or the tip session with the modem card)
	fails to elicit any response (i.e. no echo).

	The failing pcmcia modem card (and the cardbus/pcmcia support)
	probes as:

...
NetBSD 1.5.1 (NARDO) #6: Wed Jul 11 14:40:40 CEST 2001
    he@nardo.uninett.no:/usr/src/sys/arch/i386/compile/NARDO
cpu0: Intel Pentium III (Coppermine) (686-class), 796.58 MHz
...
cbb0 at pci0 dev 2 function 0: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03)
cbb1 at pci0 dev 2 function 1: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03)
...
cbb0: interrupting at irq 11
cbb0: cacheline 0x8 lattimer 0xb0
cbb0: bhlc 0x824008 lscp 0xb0020200
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 0x824008 lscp 0xb0030300
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
...
stray interrupt 7
pcmcia0: CIS version PCMCIA 1.0
pcmcia0: CIS info: PCMCIA, V.90 Communication Device , , 
pcmcia0: Manufacturer code 0x18a, product 0x1
pcmcia0: function 0: unspecified, ccr addr 100 mask 3
pcmcia0: function 0, config table entry 33: I/O card; irq mask 86b8; iomask a, iospace 2f8-2ff; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 32: I/O card; irq mask 86b8; iomask a, iospace 3f8-3ff; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 34: I/O card; irq mask 86b8; iomask a, iospace 3e8-3ef; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 35: I/O card; irq mask 86b8; iomask a, iospace 2e8-2ef; mwait_required io8 irqlevel powerdown audio
com3 at pcmcia0 function 0: serial device
com3: ns8250 or ns16450, no fifo
...

	However, my old trusty 9.6/14.4 modem card *does* work,
	though, and it probes as:

pcmcia0: CIS version PCMCIA 1.0
pcmcia0: CIS info: Intelligent, ANGIA FAX/MODEM, USA-14.4 1.0, \^Z\^E\^A#
pcmcia0: Manufacturer code 0xffffffff, product 0xffffffff
pcmcia0: function 0: unspecified, ccr addr 100 mask 3
pcmcia0: function 0, config table entry 33: I/O card; irq mask 86b8; iomask a, iospace 2f8-2ff; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 32: I/O card; irq mask 86b8; iomask a, iospace 3f8-3ff; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 34: I/O card; irq mask 86b8; iomask a, iospace 3e8-3ef; mwait_required io8 irqlevel powerdown audio
pcmcia0: function 0, config table entry 35: I/O card; irq mask 86b8; iomask a, iospace 2e8-2ef; mwait_required io8 irqlevel powerdown audio
com3 at pcmcia0 function 0: serial device
com3: ns16550a, working fifo


>How-To-Repeat:
	See above; try to use a similar card on an IBM T21 laptop.

>Fix:
	Sorry, don't know -- hints for debugging appreciated.
>Release-Note:
>Audit-Trail:
>Unformatted: