Subject: port-i386/11639: ifconfig ep0 on pcmcia hangs kernel
To: None <>
From: Simon J. Gerraty <>
List: netbsd-bugs
Date: 12/05/2000 13:23:18
>Number:         11639
>Category:       port-i386
>Synopsis:       ifconfig ep0 on pcmcia hangs kernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 05 13:23:00 PST 2000
>Originator:     Simon J. Gerraty
>Release:        1.5, 1.5L
Zen Programming...
NetBSD  1.5L NetBSD 1.5L (GENERIC) #21: Tue Dec  5 13:54:21 UTC 2000     root@wyrm:/usr/obj/sys/arch/i386/compile/GENERIC i386

This laptop (Toshiba Satellite T2130CT) has run netbsd since about 1.0
with this same 3Com pcmcia ethernet card.  Installation of 1.5 failed
when attempting to ifconfig ep0 to go fetch the install sets.
Various 1.5 kernels produced the same result, and 1.5L GENERIC kernel
also hangs.


NetBSD 1.5L (GENERIC) #21: Tue Dec  5 13:54:21 UTC 2000
cpu0: Intel 486DX4 (486-class)
cpu0: features 3<FPU,VME>
cpu0: features 3
total memory = 15996 KB
avail memory = 9536 KB
using 225 buffers containing 900 KB of memory
mainbus0 (root)
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: 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
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: <TOSHIBA MK1924FCV>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 518 MB, 1023 cyl, 16 head, 63 sec, 512 bytes/sect x 1061712 sectors
wd0: drive supports PIO mode 4, DMA mode 2
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
lpt0 at isa0 port 0x378-0x37b irq 7
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
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
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
biomask ef6d netmask ef6d ttymask ffef
pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..5..9..10..11..15
pcic0: using irq 3 for socket events
ep0 at pcmcia0 function 0 port 0x400-0x40f: 3Com 3c589 10Mbps Ethernet
ep0: address 00:a0:af:df:7c:ba, 8KB byte-wide FIFO, 3:5 Rx:Tx split
ep0: 10baseT, 10base5, 10base2 (default 10base2)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs


ifconfig ep0 inet netmask media 10baseT

we get:

pcmcia0: card irq 5

and time to press reset or Ctrl-Alt-Esc.