Subject: port-i386/10139: cnw(4) does not work any more
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 05/17/2000 09:42:10
>Number:         10139
>Category:       port-i386
>Synopsis:       cnw(4) does not work any more
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 17 09:43:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Release:        <NetBSD-current source date>
>Organization:
	itojun.org
>Environment:
NetBSD starfruit.itojun.org 1.4Y NetBSD 1.4Y (STARFRUIT) #219: Thu May 18 01:14:57 JST 2000     itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386

>Description:
	"cnw" driver (xircom netwave airsurfer pcmcia card) does not work
	any more.
	The card is probed with wrong random MAC address.  actual mac address
	on the card is 00:20:d8:00:6f:28.  there seem to be some timing/delay
	involved with instability of MAC address setting.
>How-To-Repeat:
>Fix:
	some change in pcmcia layer?
>Release-Note:
>Audit-Trail:
>Unformatted:
 >>cnw0: address ff:7f:ff:ff:ff:df
 	also, the card is not able to emit packets even if configured with
 	correct channel number by cnwctl(8).
 
 NetBSD 1.4Y (STARFRUIT) #219: Thu May 18 01:14:57 JST 2000
     itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT
 cpu0: family 6 model 6 step a
 cpu0: Intel Pentium II (Celeron) (686-class)
 total memory = 65088 KB
 avail memory = 55468 KB
 using 839 buffers containing 3356 KB of memory
 BIOS32 rev. 0 found at 0xfd840
 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. 0x20)
 wsdisplay0 at vga1: console (80x25, vt100 emulation)
 Texas Instruments PCI1450 PCI-CardBus Bridge (CardBus bridge, revision 0x03) at pci0 dev 2 function 0 not configured
 Texas Instruments PCI1450 PCI-CardBus Bridge (CardBus bridge, revision 0x03) at pci0 dev 2 function 1 not configured
 clcs0 at pci0 dev 5 function 0: Cirrus Logic CS4280 CrystalClear Audio Interface (rev. 0x01)
 clcs0: interrupting at irq 11
 clcs0: Crystal CS4297 codec; headphone, 18 bit DAC, 18 bit ADC, no 3D stereo
 audio0 at clcs0: full duplex, independent
 pcib0 at pci0 dev 6 function 0
 pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
 Intel 82371AB IDE controller (PIIX4) (IDE mass storage, interface 0x80, revision 0x01) at pci0 dev 6 function 1 not configured
 uhci0 at pci0 dev 6 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 6 function 3 not configured
 AT&T Microelectronics product 0x0448 (miscellaneous communications, revision 0x01) at pci0 dev 7 function 0 not configured
 isa0 at pcib0
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
 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
 wdc0 at isa0 port 0x1f0-0x1f7 irq 14
 wd0 at wdc0 channel 0 drive 0: <IBM-DBCA-206480>
 wd0: drive supports 16-sector pio transfers, lba addressing
 wd0: 6149 MB, 13328 cyl, 15 head, 63 sec, 512 bytes/sect x 12594960 sectors
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
 lpt2 at isa0 port 0x3bc-0x3bf: polled
 pcppi0 at isa0 port 0x61
 midi0 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
 pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff
 pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
 pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
 pcmcia0 at pcic0 controller 0 socket 0
 pcmcia1 at pcic0 controller 0 socket 1
 isapnp0: no ISA Plug 'n Play devices found
 apm0 at mainbus0: Power Management spec V1.2
 biomask efe5 netmask efe5 ttymask ffe7
 pcic0: controller 0 detecting irqs with mask 0xdeb8:..5..7..9..10..15
 pcic0: using irq 5 for socket events
 IPsec: Initialized Security Association Processing.
 ep1 at pcmcia1 function 0 port 0x400-0x40f: 3Com 3c589 10Mbps Ethernet
 ep1: address 00:50:da:87:4b:be, 8KB byte-wide FIFO, 5:3 Rx:Tx split
 ep1: 10baseT, 10base5, 10base2 (default 10baseT)
 boot device: wd0
 root on wd0a dumps on wd0b
 root file system type: ffs
 pcmcia1: card irq 7
 cnw0 at pcmcia0 function 0 port 0x410-0x41f: Xircom CreditCard Netwave (Canada)
 cnw0: address ff:7f:ff:ff:ff:df
 pcmcia0: card irq 9
 stray interrupt 9
 cnw0 detached