From owner-freebsd-hardware Fri Jul 14 8:12:26 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from barney.ife.no (barney.ife.no [128.39.229.49]) by hub.freebsd.org (Postfix) with ESMTP id 085A737C5DF; Fri, 14 Jul 2000 08:11:57 -0700 (PDT) (envelope-from stein@ife.no) Received: from ife.no (virginis.ife.no [128.39.229.176]) by barney.ife.no (8.9.3/8.9.3) with ESMTP id RAA12793; Fri, 14 Jul 2000 17:11:29 +0200 (MET DST) Message-ID: <396F2DA1.83BC5793@ife.no> Date: Fri, 14 Jul 2000 17:11:29 +0200 From: "Stein M. Sandbech" Reply-To: stein@ife.no Organization: IFE X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Stefan Esser , freebsd-hardware@FreeBSD.org Subject: Re: Intel D815EEA. Testing FreeBSD 4.0 on, References: <396DE242.879DFCA6@ife.no> <20000714093901.A1355@StefanEsser.FreeBSD.org> Content-Type: multipart/mixed; boundary="------------0B020E5659E904BD04F6346D" Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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" 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 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 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-- --------------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 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: on motherboard Jul 14 16:28:02 /kernel: npx0: INT 16 interface Jul 14 16:28:02 /kernel: pcib0: on motherboard Jul 14 16:28:02 /kernel: pci0: on pcib0 Jul 14 16:28:02 /kernel: pci0: at 2.0 irq 11 Jul 14 16:28:02 /kernel: pcib1: at device 30.0 on pci0 Jul 14 16:28:02 /kernel: pci1: on pcib1 Jul 14 16:28:02 /kernel: pci1: (vendor=0x8086, dev=0x2449) at 8.0 irq 11 Jul 14 16:28:02 /kernel: isab0: at device 31.0 on pci0 Jul 14 16:28:02 /kernel: isa0: on isab0 Jul 14 16:28:02 /kernel: atapci0: 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: at 31.2 irq 11 Jul 14 16:28:02 /kernel: pci0: (vendor=0x8086, dev=0x2443) at 31.3 irq 9 Jul 14 16:28:02 /kernel: pci0: at 31.4 irq 10 Jul 14 16:28:02 /kernel: pci0: (vendor=0x8086, dev=0x2445) at 31.5 irq 9 Jul 14 16:28:02 /kernel: fdc0: 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: at port 0x60-0x6f on isa0 Jul 14 16:28:02 /kernel: atkbd0: irq 1 on atkbdc0 Jul 14 16:28:02 /kernel: psm0: irq 12 on atkbdc0 Jul 14 16:28:02 /kernel: psm0: model IntelliMouse, device ID 3 Jul 14 16:28:02 /kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Jul 14 16:28:02 /kernel: sc0: 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: 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: on ppbus0 Jul 14 16:28:02 /kernel: lpt0: on ppbus0 Jul 14 16:28:02 /kernel: lpt0: Interrupt-driven port Jul 14 16:28:02 /kernel: plip0: on ppbus0 Jul 14 16:28:02 /kernel: ad0: 17206MB [34960/16/63] at ata0-master using BIOSDMA Jul 14 16:28:02 /kernel: acd0: CDROM 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