Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 17:11:29 +0200
From:      "Stein M. Sandbech" <stein@ife.no>
To:        Stefan Esser <se@FreeBSD.org>, freebsd-hardware@FreeBSD.org
Subject:   Re: Intel D815EEA. Testing FreeBSD 4.0 on,
Message-ID:  <396F2DA1.83BC5793@ife.no>
References:  <396DE242.879DFCA6@ife.no> <20000714093901.A1355@StefanEsser.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------0B020E5659E904BD04F6346D
Content-Type: multipart/alternative;
 boundary="------------8996D72DBAED94EF0F06B7EC"


--------------8996D72DBAED94EF0F06B7EC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Stefan Esser wrote:

> On 2000-07-13 17:37 +0200, "Stein M. Sandbech" <stein@ife.no> wrote:
> > Configuration:
> > - D815EEA with;
> >         * Intel 82562ET 10/100Mbit/sec (nic) component.
> >         * Audio (Intel 82801BA+AD1885 analog codec, and Creative Labs
> > ES1373 digital controller
> >                            and the CS4297 Analog codec).
> >         * Intel 82815E Graphics and Memory Controller Hub, the Graphics
> > controller.
>
> > The initial install went OK, and after the first reboot I noticed that
> > it did not recognice a
> > valid ethernet controller. I really expected it to see a  "fxp"  device,
> > but no.

      snip ...

> Can you check the output of "pciconf -l" for the Ethernet function ?
> Perhaps it is sufficient to just enter the PCI ID into the list of
> known IDs in the fxp driver ...

OK, see attached files.

I tested a small change to the  if_fxp.c  just adding a new  if block:

> static int
> fxp_probe(device_t dev)
> {
>       if ((pci_get_vendor(dev) == FXP_VENDORID_INTEL) &&
>           (pci_get_device(dev) == FXP_DEVICEID_i82562)) {
>               device_set_desc(dev, "Intel 82562ET 10/100B Ethernet chip");
>               return 0;
>       }

   snip ...

>       if ((pci_get_vendor(dev) == FXP_VENDORID_INTEL) &&
>           (pci_get_device(dev) == FXP_DEVICEID_i82559)) {
>               device_set_desc(dev, "Intel InBusiness 10/100 Ethernet");
>               return 0;
>       }

and the following change in  if_fxpreg.h :

> #define FXP_DEVICEID_i82562   0x1132  /* New 82562ET device id.. */

Built a new kernel, installed and rebooted. fxp0 was detected, however when
I did a "ifconfig fxp0 <ipaddr> netmask <netmask>" the system froze.

I must admit that I`m not overly surprised that it did ...

So, I hope this can be of help. I may have a look at the if_fxp code later
this weekend,
but I`m not very familiar with writing driver code so do not expect too much
:-)

--Stein Morten

--
/*  Stein M Sandbech                   Email: stein@ife.no     **
**  Senior Systems Engineer, EDP dept  Email: stein@www.ife.no **
**  Institute for Energy Technology    Tel: +47 63 80 60 00    **
**  Box 40, N-2007 Kjeller, NORWAY     Fax: +47 63 81 11 68    */



--------------8996D72DBAED94EF0F06B7EC
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Stefan Esser wrote:
<blockquote TYPE=CITE>On 2000-07-13 17:37 +0200, "Stein M. Sandbech" &lt;stein@ife.no>
wrote:
<br>> Configuration:
<br>> - D815EEA with;
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Intel 82562ET 10/100Mbit/sec
(nic) component.
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Audio (Intel 82801BA+AD1885
analog codec, and Creative Labs
<br>> ES1373 digital controller
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
and the CS4297 Analog codec).
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Intel 82815E Graphics
and Memory Controller Hub, the Graphics
<br>> controller.
<p>> The initial install went OK, and after the first reboot I noticed
that
<br>> it did not recognice a
<br>> valid ethernet controller. I really expected it to see a&nbsp; "fxp"&nbsp;
device,
<br>> but no.</blockquote>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; snip ...
<blockquote TYPE=CITE>Can you check the output of "pciconf -l" for the
Ethernet function ?
<br>Perhaps it is sufficient to just enter the PCI ID into the list of
<br>known IDs in the fxp driver ...</blockquote>
OK, see attached files.
<p>I tested a small change to the&nbsp; if_fxp.c&nbsp; just adding a new&nbsp;
if block:
<p>> static int
<br>> fxp_probe(device_t dev)
<br>> {
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ((pci_get_vendor(dev) == FXP_VENDORID_INTEL)
&amp;&amp;
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (pci_get_device(dev)
== FXP_DEVICEID_i82562)) {
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
device_set_desc(dev, "Intel 82562ET 10/100B Ethernet chip");
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
return 0;
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
<p>&nbsp;&nbsp; snip ...
<p>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ((pci_get_vendor(dev) == FXP_VENDORID_INTEL)
&amp;&amp;
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (pci_get_device(dev)
== FXP_DEVICEID_i82559)) {
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
device_set_desc(dev, "Intel InBusiness 10/100 Ethernet");
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
return 0;
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
<p>and the following change in&nbsp; if_fxpreg.h :
<p>> #define FXP_DEVICEID_i82562&nbsp;&nbsp; 0x1132&nbsp; /* New 82562ET
device id.. */
<p>Built a new kernel, installed and rebooted. fxp0 was detected, however
when
<br>I did a "ifconfig fxp0 &lt;ipaddr> netmask &lt;netmask>" the system
froze.
<p>I must admit that I`m not overly surprised that it did ...
<p>So, I hope this can be of help. I may have a look at the if_fxp code
later this weekend,
<br>but I`m not very familiar with writing driver code so do not expect
too much :-)
<p>--Stein Morten
<pre>--&nbsp;
/*&nbsp; Stein M Sandbech&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Email: stein@ife.no&nbsp;&nbsp;&nbsp;&nbsp; **
**&nbsp; Senior Systems Engineer, EDP dept&nbsp; Email: stein@www.ife.no **
**&nbsp; Institute for Energy Technology&nbsp;&nbsp;&nbsp; Tel: +47 63 80 60 00&nbsp;&nbsp;&nbsp; **
**&nbsp; Box 40, N-2007 Kjeller, NORWAY&nbsp;&nbsp;&nbsp;&nbsp; Fax: +47 63 81 11 68&nbsp;&nbsp;&nbsp; */</pre>
&nbsp;</html>

--------------8996D72DBAED94EF0F06B7EC--

--------------0B020E5659E904BD04F6346D
Content-Type: text/plain; charset=us-ascii;
 name="pciconf-with-LAN-only.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="pciconf-with-LAN-only.txt"

chip0@pci0:0:0:	class=0x060000 card=0x00000000 chip=0x11308086 rev=0x02 hdr=0x00
none0@pci0:2:0:	class=0x030000 card=0x45418086 chip=0x11328086 rev=0x02 hdr=0x00
pcib1@pci0:30:0:	class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x01 hdr=0x01
isab0@pci0:31:0:	class=0x060100 card=0x00000000 chip=0x24408086 rev=0x01 hdr=0x00
atapci0@pci0:31:1:	class=0x010180 card=0x45418086 chip=0x244b8086 rev=0x01 hdr=0x00
none1@pci0:31:2:	class=0x0c0300 card=0x45418086 chip=0x24428086 rev=0x01 hdr=0x00
none2@pci0:31:3:	class=0x0c0500 card=0x45418086 chip=0x24438086 rev=0x01 hdr=0x00
none3@pci0:31:4:	class=0x0c0300 card=0x45418086 chip=0x24448086 rev=0x01 hdr=0x00
none4@pci1:8:0:	class=0x020000 card=0x30138086 chip=0x24498086 rev=0x01 hdr=0x00

--------------0B020E5659E904BD04F6346D
Content-Type: text/plain; charset=us-ascii;
 name="pciconf-with-all-idev.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="pciconf-with-all-idev.txt"

chip0@pci0:0:0:	class=0x060000 card=0x00000000 chip=0x11308086 rev=0x02 hdr=0x00
none0@pci0:2:0:	class=0x030000 card=0x45418086 chip=0x11328086 rev=0x02 hdr=0x00
pcib1@pci0:30:0:	class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x01 hdr=0x01
isab0@pci0:31:0:	class=0x060100 card=0x00000000 chip=0x24408086 rev=0x01 hdr=0x00
atapci0@pci0:31:1:	class=0x010180 card=0x45418086 chip=0x244b8086 rev=0x01 hdr=0x00
none1@pci0:31:2:	class=0x0c0300 card=0x45418086 chip=0x24428086 rev=0x01 hdr=0x00
none2@pci0:31:3:	class=0x0c0500 card=0x45418086 chip=0x24438086 rev=0x01 hdr=0x00
none3@pci0:31:4:	class=0x0c0300 card=0x45418086 chip=0x24448086 rev=0x01 hdr=0x00
none4@pci0:31:5:	class=0x040100 card=0x45418086 chip=0x24458086 rev=0x01 hdr=0x00
none5@pci1:8:0:	class=0x020000 card=0x30138086 chip=0x24498086 rev=0x01 hdr=0x00

--------------0B020E5659E904BD04F6346D
Content-Type: text/plain; charset=us-ascii;
 name="messages"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="messages"



    This is the /var/log/messages when booting with all the integrated functions enabled
    in BIOS (on GENERIC kernel).


Jul 14 16:28:02  /kernel: Copyright (c) 1992-2000 The FreeBSD Project.
Jul 14 16:28:02  /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jul 14 16:28:02  /kernel: The Regents of the University of California. All rights reserved.
Jul 14 16:28:02  /kernel: FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000
Jul 14 16:28:02  /kernel: root@monster.cdrom.com:/usr/src/sys/compile/GENERIC
Jul 14 16:28:02  /kernel: Timecounter "i8254"  frequency 1193182 Hz
Jul 14 16:28:02  /kernel: CPU: Pentium III/Pentium III Xeon (730.97-MHz 686-class CPU)
Jul 14 16:28:02  /kernel: Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
Jul 14 16:28:02  /kernel: Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
Jul 14 16:28:02  /kernel: real memory  = 132907008 (129792K bytes)
Jul 14 16:28:02  /kernel: avail memory = 124968960 (122040K bytes)
Jul 14 16:28:02  /kernel: Preloaded elf kernel "kernel" at 0xc03c0000.
Jul 14 16:28:02  /kernel: Pentium Pro MTRR support enabled
Jul 14 16:28:02  /kernel: md0: Malloc disk
Jul 14 16:28:02  /kernel: npx0: <math processor> on motherboard
Jul 14 16:28:02  /kernel: npx0: INT 16 interface
Jul 14 16:28:02  /kernel: pcib0: <Host to PCI bridge> on motherboard
Jul 14 16:28:02  /kernel: pci0: <PCI bus> on pcib0
Jul 14 16:28:02  /kernel: pci0: <Intel model 1132 VGA-compatible display device> at 2.0 irq 11
Jul 14 16:28:02  /kernel: pcib1: <PCI to PCI bridge (vendor=8086 device=244e)> at device 30.0 on pci0
Jul 14 16:28:02  /kernel: pci1: <PCI bus> on pcib1
Jul 14 16:28:02  /kernel: pci1: <unknown card> (vendor=0x8086, dev=0x2449) at 8.0 irq 11
Jul 14 16:28:02  /kernel: isab0: <PCI to ISA bridge (vendor=8086 device=2440)> at device 31.0 on pci0
Jul 14 16:28:02  /kernel: isa0: <ISA bus> on isab0
Jul 14 16:28:02  /kernel: atapci0: <Unknown PCI ATA controller (generic mode)> port 0xffa0-0xffaf at device 31.1 on pci0
Jul 14 16:28:02  /kernel: ata0: at 0x1f0 irq 14 on atapci0
Jul 14 16:28:02  /kernel: ata1: at 0x170 irq 15 on atapci0
Jul 14 16:28:02  /kernel: pci0: <UHCI USB controller> at 31.2 irq 11
Jul 14 16:28:02  /kernel: pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 9
Jul 14 16:28:02  /kernel: pci0: <UHCI USB controller> at 31.4 irq 10
Jul 14 16:28:02  /kernel: pci0: <unknown card> (vendor=0x8086, dev=0x2445) at 31.5 irq 9
Jul 14 16:28:02  /kernel: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Jul 14 16:28:02  /kernel: fdc0: FIFO enabled, 8 bytes threshold
Jul 14 16:28:02  /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Jul 14 16:28:02  /kernel: atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
Jul 14 16:28:02  /kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Jul 14 16:28:02  /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Jul 14 16:28:02  /kernel: psm0: model IntelliMouse, device ID 3
Jul 14 16:28:02  /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Jul 14 16:28:02  /kernel: sc0: <System console> on isa0
Jul 14 16:28:02  /kernel: sc0: VGA <16 virtual consoles, flags=0x200>
Jul 14 16:28:02  /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Jul 14 16:28:02  /kernel: sio0: type 16550A
Jul 14 16:28:02  /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
Jul 14 16:28:02  /kernel: sio1: type 16550A
Jul 14 16:28:02  /kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
Jul 14 16:28:02  /kernel: ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
Jul 14 16:28:02  /kernel: ppi0: <Parallel I/O> on ppbus0
Jul 14 16:28:02  /kernel: lpt0: <Printer> on ppbus0
Jul 14 16:28:02  /kernel: lpt0: Interrupt-driven port
Jul 14 16:28:02  /kernel: plip0: <PLIP network interface> on ppbus0
Jul 14 16:28:02  /kernel: ad0: 17206MB <IBM-DJNA-371800> [34960/16/63] at ata0-master using BIOSDMA
Jul 14 16:28:02  /kernel: acd0: CDROM <MATSHITA CR-593> at ata1-master using PIO4
Jul 14 16:28:02  /kernel: Mounting root from ufs:/dev/ad0s1a
Jul 14 16:28:11  login: ROOT LOGIN (root) ON ttyv0

--------------0B020E5659E904BD04F6346D--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?396F2DA1.83BC5793>