Subject: Re: Network configuration ..
To: Zdenek Salvet <salvet@ics.muni.cz>
From: =?iso-8859-1?Q?P=E5l_Halvorsen?= <paalh@unik.no>
List: netbsd-help
Date: 04/26/2000 13:53:30
On Tue, 18 Apr 2000, Zdenek Salvet wrote:

> > >  > > >SMC, EZCard-10-pcmcia, SMC8022, R01 (manufacturer 0x108, produc=
t 0x8022)
> > >  > > >function 0 not configured
> > >=20
> > I'm using 1.4.2.
>=20
> 1.4.2 does not support SMC8022. Use -current kernel (less than 10 months
> old) or add
>=20
>       { "SMC EZCard 10 PCMCIA",
>       0x108, 0x8022,
>       { "SMC", "EZCard-10-PCMCIA", "SMC8022", "R01" },
>       0, 0x1c0, { 0, 0xe0, 0x29 }},

This seems to work if I change=20
=09{ 0, 0xe0, 0x29 }
to
=09{ 0x60, 0x60, 0x03 }
=20
> to ne2000devs[] array in /sys/dev/pcmcia/if_ne_pcmcia.c and compile
> kernel with "ne* at pcmcia?" device.

However, I still get no contact with other machines in the network. I
cannot even ping other machines and other machines cannot ping my new
machine.
As the dmesg.boot (see below) show, there is no error message configuring
the network card. The ne2 device is configured correctly !??
The ifconfig -a gives this output:

ne2: flags=3D8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
=09address:60:60:03:1f:14:00
=09media: Ethernet manual
=09inet 193.156.96.147 netmask 0xfffffe00 broadcast 193.156.96.255

As I said earlier, I installed without a network connection since the
installation guide suggested this when using PCMCIA. I have tried to
follow the "Basic NetBSD Networking" guide at
http://www.netbsd.org/Documentation/network/
but I cannot figure it out whats wrong.

Does it exist any howto on how to install the network after installing the
OS? Is there anyone who have any ideas of whats wrong?

Thank you for your help!!
Best regards,
P=E5l Halvorsen

########################
dmesg.boot:

NetBSD 1.4.2 (PH) #10: Tue Apr 25 03:45:20 PDT 2000
    root@adidas.unik.no:/usr/src/sys/arch/i386/compile/PH
cpu0: family 6 model 6 step a
cpu0: Intel Pentium II (Celeron) (686-class)
real mem  =3D 402259968
avail mem =3D 369483776
using 4870 buffers containing 20217856 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory 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 enabled, memory enabled
vga1 at pci1 dev 0 function 0: ATI Technologies product 0x4c4d (rev. 0x64)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
Texas Instruments PCI1220 PCI-CardBus Bridge (CardBus bridge, revision 0x02=
) at pci0 dev 4 function 0 not configured
Texas Instruments PCI1220 PCI-CardBus Bridge (CardBus bridge, revision 0x02=
) at pci0 dev 4 function 1 not configured
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <FUJITSU MHG2102AT>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 9590MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 19640880 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-C2202, 7900500115, 1919> type=
 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transf=
ers)
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (=
rev. 0x01)
uhci0: interrupting at irq 11
uhci0: USB version 1.0
usb0 at uhci0
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, re=
vision 0x02) at pci0 dev 7 function 3 not configured
ESS Technology Inc product 0x1968 (audio multimedia) at pci0 dev 8 function=
 0 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
opms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
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-0xd3fff: using irq 3
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: SMC, EZCard-10-PCMCIA, SMC8022, R01
pcmcia0: Manufacturer code 0x108, product 0x8022
pcmcia0: function 0: network adapter, ccr addr 3f8 mask 3
pcmcia0: function 0, config table entry 32: I/O card; irq mask ffff; iomask=
 a, iospace 300-31f; mwait_required rdybsy_active wp_active bvd_active io8 =
io16 irqlevel
pcmcia0: function 0, config table entry 33: I/O card; irq mask ffff; iomask=
 a, iospace 320-33f; mwait_required rdybsy_active wp_active bvd_active io8 =
io16 irqlevel
pcmcia0: function 0, config table entry 34: I/O card; irq mask ffff; iomask=
 a, iospace 340-35f; mwait_required rdybsy_active wp_active bvd_active io8 =
io16 irqlevel
pcmcia0: function 0, config table entry 35: I/O card; irq mask ffff; iomask=
 a, iospace 360-37f; mwait_required rdybsy_active wp_active bvd_active io8 =
io16 irqlevel
ne2 at pcmcia0 function 0 port 0x340-0x34f port 0x350-0x35f
ne2: SMC EZCard 10 PCMCIA Ethernet
ne2: Ethernet address 60:60:03:1f:14:00
pcmcia1 at pcic0 controller 0 socket 1
isapnp0: no ISA Plug 'n Play devices found
biomask c840 netmask c840 ttymask d8ca
wscons: wskbd0 glued to wsdisplay0 (console)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pcmcia0: card irq 5