*BSD News Article 80252


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!news.uoregon.edu!csulb.edu!gatech!news.mathworks.com!uunet!in1.uu.net!news.puc.cl!news
From: cfs@numero1.mat.puc.cl (Cristian Ferretti)
Newsgroups: comp.unix.bsd.misc
Subject: AMD PCnet PCI network card
Date: 07 Oct 1996 20:30:59 -0400
Organization: Pontificia Universidad Cat'olica de Chile.
Lines: 179
Sender: cfs@numero1.mat.puc.cl
Message-ID: <uaohie47r0.fsf@numero1.mat.puc.cl>
NNTP-Posting-Host: numero1.mat.puc.cl
X-Newsreader: Gnus v5.1

I'm trying to run FreeBSD in a HP Vectra PC.
So far, everything works except for the net card.
It's an AMD PCnet PCI card. Windows95 says it's in IRQ 9, 0xfce0.
The standard GENERIC kernel doesn't recognize it.
Booting -c, and changing IRQ to 9 and port to 0xfce0 the kernel prints:

kernel.GENERIC: lnc0 at 0xfce0-0xfcf7 irq 9 on eisa slot 15
kernel.GENERIC: lnc0: NE2100 (C-LANCE) Ethernet controller, address 08:00:09:af:2a:07

After booting, i can ifconfig the card, but i can only ping myself,
cannot ping to the rest of our local net.

Seems like it's icorrectly recognized as NE2100 under eisa (looking the source
code for if_lnc.c, it seems it should print PCnet PCI). Does that matter?

I've installed linux in another vectra (exactly same configuration, if
i trust the vendor). It recognizes the card, and i'm able to ping to
the rest of the world. Linux prints:

kernel: lance.c: PCI bios is present, checking for devices...
kernel: Found PCnet/PCI at 0xfce0, irq 9 (mem_start is 0x230200).
kernel: eth0: PCnet (unknown) at 0xfce0, 08 00 09 af 2a da assigned IRQ 9, no DMA needed.
Oct  6 16:16:01 tauro kernel: lance.c:v1.08 4/10/95 dplatt@3do.com

(by the way, if you're a linux fan, don't smile, I couldn't configure
the ide cd under linux, and the instalation was INTERESTING without
it: I had to copy everything to a dos partition).

Both the FreeBSD (2.2-960501-SNAP) and Linux (Slackware 3.0.0 kernel
1.2.13) /var/log/messages are included at the end of this post, just
in case the rest of the configuration is relevant.

Any help on this is highly appreciated.
Please, answer by e-mail if possible.

================== FreeBSD /var/log/messages ==========================
Oct  7 15:53:52 myname /kernel.GENERIC:     10    -1    0x0     0        0     0x0        Yes
Oct  7 15:53:53 myname /kernel.GENERIC: mcd1     0x340      11    -1    0x0     0        1     0x0        Yes
Oct  7 15:53:53 myname /kernel.GENERIC: matcdc0  0x230      -1    -1    0x0     0        0     0x0        No
Oct  7 15:53:53 myname /kernel.GENERIC: scd0     0x230      -1    -1    0x0     0        0     0x0        No
Oct  7 15:53:53 myname /kernel.GENERIC: sc0      0x60       1     -1    0x0     0        0     0x0        Yes
Oct  7 15:53:53 myname /kernel.GENERIC: sio0     0x3f8      4     -1    0x0     0        0     0x0        Yes
Oct  7 15:53:53 myname /kernel.GENERIC: sio1     0x2f8      3     -1    0x0     0        1     0x0        Yes
Oct  7 15:53:53 myname /kernel.GENERIC: sio2     0x3e8      5     -1    0x0     0        2     0x0        Yes
Oct  7 15:53:53 myname /kernel.GENERIC: sio3     0x2e8      9     -1    0x0     0        3     0x0        No
Oct  7 15:53:53 myname /kernel.GENERIC: lpt0     0xffffffff 7     -1    0x0     0        0     0x0        Yes
Oct  7 15:53:53 myname /kernel.GENERIC: lpt1     0xffffffff -1    -1    0x0     0        1     0x0        No
Oct  7 15:53:54 myname /kernel.GENERIC: More> 
Oct  7 15:53:54 myname /kernel.GENERIC: Device   port       irq   drq   iomem   iosize   unit  flags      enabled
Oct  7 15:53:54 myname /kernel.GENERIC: lpt2     0xffffffff -1    -1    0x0     0        2     0x0        No
Oct  7 15:53:54 myname /kernel.GENERIC: mse0     0x23c      5     -1    0x0     0        0     0x0        No
Oct  7 15:53:54 myname /kernel.GENERIC: psm0     0x60       12    -1    0x0     0        0     0x0        Yes
Oct  7 15:53:55 myname /kernel.GENERIC: ed0      0x280      5     -1    0xd8000 0        0     0x0        No
Oct  7 15:53:55 myname /kernel.GENERIC: ed1      0x300      5     -1    0xd8000 0        1     0x0        No
Oct  7 15:53:55 myname /kernel.GENERIC: ie0      0x360      7     -1    0xd0000 0        0     0x0        No
Oct  7 15:53:55 myname /kernel.GENERIC: ep0      0x300      10    -1    0x0     0        0     0x0        No
Oct  7 15:53:55 myname /kernel.GENERIC: fe0      0x300      -1    -1    0x0     0        0     0x0        No
Oct  7 15:53:55 myname /kernel.GENERIC: ix0      0x300      10    -1    0xd0000 32768    0     0x0        No
Oct  7 15:53:55 myname /kernel.GENERIC: le0      0x300      5     -1    0xd0000 0        0     0x0        No
Oct  7 15:53:55 myname /kernel.GENERIC: lnc0     0xfce0     9     -1    0x0     0        0     0x0        Yes
Oct  7 15:53:55 myname /kernel.GENERIC: lnc1     0x300      10    0     0x0     0        1     0x0        No
Oct  7 15:53:55 myname /kernel.GENERIC: ze0      0x300      5     -1    0xd8000 0        0     0x0        No
Oct  7 15:53:56 myname /kernel.GENERIC: zp0      0x300      10    -1    0xd8000 0        0     0x0        No
Oct  7 15:53:56 myname /kernel.GENERIC: npx0     0xf0       13    -1    0x0     0        0     0x0        Yes
Oct  7 15:53:56 myname /kernel.GENERIC: apm0     0x0        -1    -1    0x0     0        0     0x0        Yes
Oct  7 15:53:56 myname /kernel.GENERIC: config> quit
Oct  7 15:53:56 myname /kernel.GENERIC: avail memory = 30466048 (29752K bytes)
Oct  7 15:53:56 myname /kernel.GENERIC: Probing for devices on PCI bus 0:
Oct  7 15:53:56 myname /kernel.GENERIC: chip0 <Intel 82437 (Triton) PCI cache memory controller> rev 2 on pci0:0
Oct  7 15:53:56 myname /kernel.GENERIC: pci0:8:    AMD, device=0x2000, class=network (ethernet) int a irq 9 [no driver assigned]
Oct  7 15:53:56 myname /kernel.GENERIC: vga0 <VGA-compatible display device> rev 0 int a irq ?? on pci0:13
Oct  7 15:53:56 myname /kernel.GENERIC: chip1 <Intel 82371 (Triton) PCI-ISA bridge> rev 2 on pci0:15:0
Oct  7 15:53:56 myname /kernel.GENERIC: piix0 <Intel 82371 (Triton) Bus-master IDE controller> rev 2 on pci0:15:1
Oct  7 15:53:57 myname /kernel.GENERIC: Probing for devices on the ISA bus:
Oct  7 15:53:57 myname /kernel.GENERIC: sc0 at 0x60-0x6f irq 1 on motherboard
Oct  7 15:53:57 myname /kernel.GENERIC: sc0: VGA color <16 virtual consoles, flags=0x0>
Oct  7 15:53:57 myname /kernel.GENERIC: ed0: disabled, not probed.
Oct  7 15:53:57 myname /kernel.GENERIC: ed1: disabled, not probed.
Oct  7 15:53:57 myname /kernel.GENERIC: fe0: disabled, not probed.
Oct  7 15:53:57 myname /kernel.GENERIC: sio0 at 0x3f8-0x3ff irq 4 on isa
Oct  7 15:53:57 myname /kernel.GENERIC: sio0: type 16550A
Oct  7 15:53:57 myname /kernel.GENERIC: sio1 at 0x2f8-0x2ff irq 3 on isa
Oct  7 15:53:57 myname /kernel.GENERIC: sio1: type 16550A
Oct  7 15:53:57 myname /kernel.GENERIC: sio2 not found at 0x3e8
Oct  7 15:53:57 myname /kernel.GENERIC: sio3: disabled, not probed.
Oct  7 15:53:57 myname /kernel.GENERIC: lpt0 at 0x378-0x37f irq 7 on isa
Oct  7 15:53:57 myname /kernel.GENERIC: lpt0: Interrupt-driven port
Oct  7 15:53:57 myname /kernel.GENERIC: lp0: TCP/IP capable interface
Oct  7 15:53:58 myname /kernel.GENERIC: lpt1: disabled, not probed.
Oct  7 15:53:58 myname /kernel.GENERIC: lpt2: disabled, not probed.
Oct  7 15:53:58 myname /kernel.GENERIC: mse0: disabled, not probed.
Oct  7 15:53:58 myname /kernel.GENERIC: psm0 at 0x60-0x63 irq 12 on motherboard
Oct  7 15:53:58 myname /kernel.GENERIC: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Oct  7 15:53:58 myname /kernel.GENERIC: fdc0: NEC 72065B
Oct  7 15:53:58 myname /kernel.GENERIC: fd0: 1.44MB 3.5in
Oct  7 15:53:58 myname /kernel.GENERIC: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Oct  7 15:53:58 myname /kernel.GENERIC: wdc0: unit 0 (wd0): <IBM-DJAA-31700>
Oct  7 15:53:58 myname /kernel.GENERIC: wd0: 1628MB (3334464 sectors), 3308 cyls, 16 heads, 63 S/T, 512 B/S
Oct  7 15:53:58 myname /kernel.GENERIC: wdc1 at 0x170-0x177 irq 15 on isa
Oct  7 15:53:58 myname /kernel.GENERIC: wdc1: unit 1 (atapi): <SANYO CRD-254P/1.02>, removable, iordy
Oct  7 15:53:58 myname /kernel.GENERIC: wcd0: 689Kb/sec, 256Kb cache, audio play, 256 volume levels, ejectable tray
Oct  7 15:53:58 myname /kernel.GENERIC: wcd0: 120mm data disc loaded, unlocked
Oct  7 15:53:58 myname /kernel.GENERIC: bt0 not found at 0x330
Oct  7 15:53:59 myname /kernel.GENERIC: uha0 not found at 0x330
Oct  7 15:53:59 myname /kernel.GENERIC: aha0: disabled, not probed.
Oct  7 15:53:59 myname /kernel.GENERIC: aic0: disabled, not probed.
Oct  7 15:53:59 myname /kernel.GENERIC: nca0: disabled, not probed.
Oct  7 15:53:59 myname /kernel.GENERIC: nca1: disabled, not probed.
Oct  7 15:53:59 myname /kernel.GENERIC: sea0 not found
Oct  7 15:53:59 myname /kernel.GENERIC: wt0 not found at 0x300
Oct  7 15:53:59 myname /kernel.GENERIC: mcd0 not found at 0x300
Oct  7 15:53:59 myname /kernel.GENERIC: mcd1 not found at 0x340
Oct  7 15:53:59 myname /kernel.GENERIC: matcdc0: disabled, not probed.
Oct  7 15:53:59 myname /kernel.GENERIC: scd0: disabled, not probed.
Oct  7 15:53:59 myname /kernel.GENERIC: ie0: disabled, not probed.
Oct  7 15:53:59 myname /kernel.GENERIC: ep0: disabled, not probed.
Oct  7 15:53:59 myname /kernel.GENERIC: ix0: disabled, not probed.
Oct  7 15:53:59 myname /kernel.GENERIC: le0: disabled, not probed.
Oct  7 15:54:00 myname /kernel.GENERIC: lnc0 at 0xfce0-0xfcf7 irq 9 on eisa slot 15
Oct  7 15:54:00 myname /kernel.GENERIC: lnc0: NE2100 (C-LANCE) Ethernet controller, address 08:00:09:af:2a:07
Oct  7 15:54:00 myname /kernel.GENERIC: lnc1: disabled, not probed.
Oct  7 15:54:00 myname /kernel.GENERIC: ze0: disabled, not probed.
Oct  7 15:54:00 myname /kernel.GENERIC: zp0: disabled, not probed.
Oct  7 15:54:00 myname /kernel.GENERIC: npx0 on motherboard
Oct  7 15:54:00 myname /kernel.GENERIC: npx0: INT 16 interface
Oct  7 15:54:00 myname /kernel.GENERIC: apm0 on isa
Oct  7 15:54:00 myname /kernel.GENERIC: apm: found APM BIOS version 1.1
Oct  7 15:53:54 myname lpd[86]: restarted
Oct  7 15:54:08 myname login: ROOT LOGIN (root) ON ttyv0
Oct  7 15:54:08 myname login: login on ttyv0 as root
Oct  7 16:01:13 myname /kernel.GENERIC: arplookup 199.1.1.204 failed: host is not on local network

========================== Linux /var/log/messages ===========================
Oct  7 16:07:19 tauro syslogd: restart
Oct  7 16:07:20 tauro kernel: Kernel logging (proc) started.
Oct  7 16:07:20 tauro kernel: Console: colour EGA+ 80x25, 1 virtual console (max 63)
Oct  7 16:07:20 tauro kernel: bios32_init : BIOS32 Service Directory structure at 0x000fdbb0
Oct  7 16:07:20 tauro kernel: bios32_init : BIOS32 Service Directory entry at 0xf6e32
Oct  7 16:07:20 tauro kernel: pcibios_init : PCI BIOS revision 2.10 entry at 0xf6fd5
Oct  7 16:07:20 tauro kernel: Probing PCI hardware.
Oct  7 16:07:20 tauro kernel: Calibrating delay loop.. ok - 59.91 BogoMips
Oct  7 16:07:20 tauro kernel: Serial driver version 4.11 with no serial options enabled
Oct  7 16:07:20 tauro kernel: tty00 at 0x03f8 (irq = 4) is a 16550A
Oct  7 16:07:20 tauro kernel: tty01 at 0x02f8 (irq = 3) is a 16550A
Oct  7 16:07:20 tauro kernel: lp1 at 0x0378, using polling driver
Oct  7 16:07:20 tauro kernel: PS/2 auxiliary pointing device detected -- driver installed.
Oct  7 16:07:20 tauro kernel: hda: IBM-DJAA-31700, 1628MB w/96KB Cache, LBA, CHS=827/64/63, MaxMult=16
Oct  7 16:07:20 tauro kernel: ide0: primary interface on irq 14
Oct  7 16:07:20 tauro kernel: Floppy drive(s): fd0 is 1.44M
Oct  7 16:07:20 tauro kernel: FDC 0 is a post-1991 82077
Oct  7 16:07:20 tauro kernel: lance.c: PCI bios is present, checking for devices...
Oct  7 16:07:20 tauro kernel: Found PCnet/PCI at 0xfce0, irq 9 (mem_start is 0x1d9058).
Oct  7 16:07:20 tauro kernel: eth0: PCnet (unknown) at 0xfce0, 08 00 09 af 2a da assigned IRQ 9, no DMA needed.
Oct  7 16:07:20 tauro kernel: lance.c:v1.08 4/10/95 dplatt@3do.com
Oct  7 16:07:20 tauro kernel: Memory: 23264k/24576k available (592k kernel code, 384k reserved, 336k data)
Oct  7 16:07:20 tauro kernel: This processor honours the WP bit even when in supervisor mode. Good.
Oct  7 16:07:20 tauro kernel: Swansea University Computer Society NET3.019
Oct  7 16:07:20 tauro kernel: Swansea University Computer Society TCP/IP for NET3.019
Oct  7 16:07:20 tauro kernel: IP Protocols: ICMP, UDP, TCP
Oct  7 16:07:20 tauro kernel: PPP: version 0.2.7 (4 channels) NEW_TTY_DRIVERS OPTIMIZE_FLAGS
Oct  7 16:07:20 tauro kernel: TCP compression code copyright 1989 Regents of the University of California
Oct  7 16:07:20 tauro kernel: PPP line discipline registered.
Oct  7 16:07:20 tauro kernel: SLIP: version 0.8.3-NET3.019-NEWTTY (4 channels) (6 bit encapsulation enabled)
Oct  7 16:07:20 tauro kernel: CSLIP: code copyright 1989 Regents of the University of California
Oct  7 16:07:20 tauro kernel: Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Oct  7 16:07:20 tauro kernel: Checking 'hlt' instruction... Ok.
Oct  7 16:07:20 tauro kernel: Linux version 1.2.13 (root@tauro) (gcc version 2.7.0) #2 Sun Oct 6 16:33:53 CST 1996
Oct  7 16:07:20 tauro kernel: Partition check:
Oct  7 16:07:20 tauro kernel:   hda: multiple mode turned off
Oct  7 16:07:20 tauro kernel:   hda: hda1 hda2 < hda5 > hda3 hda4
Oct  7 16:07:20 tauro kernel: VFS: Mounted root (ext2 filesystem) readonly.
Oct  7 16:07:20 tauro kernel: Adding Swap: 50396k swap-space
Oct  7 16:07:20 tauro kernel: Unable to identify CD-ROM format.
Oct  7 16:07:30 tauro login: ROOT LOGIN ON tty1
Oct  7 16:11:41 tauro login: ROOT LOGIN ON tty2
Oct  7 16:12:04 tauro kernel: VFS: Disk change detected on device 2/0
-- 
-----------------------------------------------------------------------------
Cristian Ferretti S.                            email: cfs@numero1.mat.puc.cl