Subject: success with Toshiba T4800CT laptop + 3c589 ethernet
To: None <port-i386@netbsd.org>
From: John Refling <refling@stanfordalumni.org>
List: port-i386
Date: 02/18/2003 00:33:20
Finally had success with my old Toshiba T4800CT laptop
and NetBSD 1.6.  The only problem was with the PCMCIA
system on the default kernel.  As soon as I did an
ifconfig on the 3c589 PCMCIA card, the system would crash:

uvm_fault(0xc02ee5e0 ...)
kernel: page fault trap, code =3D 0
Stopped in pid 6 (ioflush) at pmap_change_attrs + 0xac...

The trace started at pmap_change_attrs() and eventually
came from sched_sync().

Was able to rebuild a new kernel and changed the PCMCIA
options from the default in the usual way:

options PCIC_ISA_ALLOC_IOBASE=3D0x300
options PCIC_ISA_ALLOC_IOSIZE=3D0x0ff

and the 3c589 works great!

Should having these set to the default cause the system
to crash?

For info the dmesg on this machine is follows:

NetBSD 1.6 (LAPMIN) #7: Fri Feb  7 00:08:19 UTC 2003
    root@r3:/tmp/newkern/LAPMIN
cpu0: Intel 486DX4 (486-class)
cpu0: features 3<FPU,VME>
total memory =3D 40828 KB
avail memory =3D 35536 KB
using 535 buffers containing 2140 KB of memory
mainbus0 (root)
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <IBM-DTNA-22160>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 2067 MB, 4200 cyl, 16 head, 63 sec, 512 bytes/sect x 4233600 sectors=

wd0: drive supports PIO mode 4, DMA mode 2
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskb=
d0
wsmux1: connecting to wsdisplay0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
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 irq =

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
biomask ff6d netmask ff6d 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 0x300-0x30f: 3Com 3c589 10Mbps Ethernet
ep0: address 00:a0:24:a6:9d:f8, 8KB byte-wide FIFO, 5:3 Rx:Tx split
ep0: 10baseT, 10base5, 10base2 (default 10baseT)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pcmcia0: card irq 5
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)


____________________________________________________________________
   =