NOTE: Intel Ethernet card not being detected

2004-07-15 Thread Richard P. Williamson
This is just a final note about this problem.  I won't say it is
solved but at least we have a workaround.

This is from 4.10 release, src/dev/fxp/if_fxp.c, lines 509 et ff.
with the 'offending' code ifdef'd out by me:

/*
 * Determine whether we must use the 503 serial interface.
 */
fxp_read_eeprom(sc, data, 6, 1);
#ifndef BYPASS_503_SERIAL_CHECK
if ((data  FXP_PHY_DEVICE_MASK) != 0 
(data  FXP_PHY_SERIAL_ONLY))
sc-flags |= FXP_FLAG_SERIAL_MEDIA;
#else
sc-flags = ~FXP_FLAG_SERIAL_MEDIA;
#endif

/*
 * Create the sysctl tree
 */

When compiled and ran on an adlink motherboard (EBC-2000),
it now correctly IDs and configures the three fxp devices
on the motherboard:

fxp0: Intel 82559 Pro/100 Ethernet port 0xd400-0xd43f mem 
0xe720-0xe72f,0xe7302000-0xe7302fff irq 11 at device 8.0 on pci0
fxp0: Ethernet address 00:30:64:01:86:ff
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Intel 82559 Pro/100 Ethernet port 0xd800-0xd83f mem 
0xe700-0xe70f,0xe7301000-0xe7301fff irq 5 at device 9.0 on pci0
fxp1: Ethernet address 00:30:64:01:94:00
inphy1: i82555 10/100 media interface on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp2: Intel 82559 Pro/100 Ethernet port 0xdc00-0xdc3f mem 
0xe710-0xe71f,0xe730-0xe7300fff irq 12 at device 10.0 on pci0
fxp2: Ethernet address 00:30:64:01:94:01
inphy2: i82555 10/100 media interface on miibus2
inphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

and I can 'ifconfig fxpN media xyz' between the supported
media types. 

Once this project is shipped, I'll try and track down the
problem's root cause.  This might still be a hardware issue
(the eeprom is being read wrong, or is not reporting capabilities
correctly, or ???).  

Thanks to Simon Barner and others for helping out with the 
OP.

rip

At 16:21 28/06/2004. Richard P. Williamson had this to say:
At 16:52 25/06/2004. Simon Barner had this to say:
Richard P. Williamson wrote:

[...]

Here another thing you could try: I once had a problem with a 3Com NIC
not being detected properly when the driver was compiled statically into
the kernel.

Removing it and using the module instead made it work...

Nope, still no joy.  However my boot is telling me userland is out of
sync with the kernel now, so I'm not prepared to say it didn't work
yet.

Per the numbers returned by pciconf, this is a 82559 rev 0x8, which
is in the table of supported devices.  According to the code, however,
if the device claims to be 10Mb only, then it isn't even handed to the
miibus code to configure.  I'm still working my way through the code to
determine if the 10Mb-ness is being reported by the devices directly,
or if this is the code's interpretation based on other data requested.

The two additional 82559 rev 0x8s (on the plug-in PCI card)
are correctly being passed to the miibus, and this is annoying.

Thanks for your time in this, anyway.

MfG,
rip

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Ethernet card not being detected

2004-06-28 Thread Richard P. Williamson
At 16:52 25/06/2004. Simon Barner had this to say:
Richard P. Williamson wrote:

[...]

Here another thing you could try: I once had a problem with a 3Com NIC
not being detected properly when the driver was compiled statically into
the kernel.

Removing it and using the module instead made it work...

Nope, still no joy.  However my boot is telling me userland is out of
sync with the kernel now, so I'm not prepared to say it didn't work
yet.

Per the numbers returned by pciconf, this is a 82559 rev 0x8, which
is in the table of supported devices.  According to the code, however,
if the device claims to be 10Mb only, then it isn't even handed to the
miibus code to configure.  I'm still working my way through the code to
determine if the 10Mb-ness is being reported by the devices directly,
or if this is the code's interpretation based on other data requested.

The two additional 82559 rev 0x8s (on the plug-in PCI card)
are correctly being passed to the miibus, and this is annoying.

Thanks for your time in this, anyway.

MfG,
rip

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Ethernet card not being detected

2004-06-25 Thread Richard P. Williamson
Simon, All:

At 15:30 01/06/2004. Simon Barner had this to say:
I just had a look at that older post of yours, and I saw that you are
still running FreeBSD 4.8. Could you consider upgrading to 4.10-RELEASE or
-STABLE?
...
IMO there's a really good chance that upgrading will make your onboard
NICs work properly.

Sadly, no joy.

To refresh, I'm using an adlink ebc-2000 (supplied by Ecrin
Systems in France).  It has 3 on-board NICs that are identified
as Intel 82559 Pro/100 Ethernet by the kernel during boot
(which agrees with adlink's datasheet for this device).

The devices do not come up under the miibus device, however,
and run in 'cripple-mode'.  They work, but at 10Mb.  If I try
to change that by using ifconfig fxp0 media commands, I get:

ifconfig: SIOCSIFMEDIA: Device not configured

ifconfig fxp0 reports:
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet x.y.z.188 netmask 0x broadcast x.y.z.255
ether 00:30:64:gh:ij:kl
media: Ethernet manual

Additionally, there are two other fxp devices on a PCI plug-in
card, and they come up happy.

dmesg:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.10-RELEASE #1: Fri Jun 25 13:06:22 GMT 2004
[EMAIL PROTECTED]:/usr/src/sys/compile/MINI
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1266716809 Hz
CPU: Intel(R) Pentium(R) III CPU family  1266MHz (1266.72-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
...
fxp0: Intel 82559 Pro/100 Ethernet port 0xd400-0xd43f mem 
0xe720-0xe72f,0xe7302000-0xe7302fff irq 11 at device 8.0 on pci0
fxp0: Ethernet address 00:30:64:gh:ij:kl, 10Mbps
fxp1: Intel 82559 Pro/100 Ethernet port 0xd800-0xd83f mem 
0xe700-0xe70f,0xe7301000-0xe7301fff irq 5 at device 9.0 on pci0
fxp1: Ethernet address 00:30:64:gh:ij:kl, 10Mbps
fxp2: Intel 82559 Pro/100 Ethernet port 0xdc00-0xdc3f mem 
0xe710-0xe71f,0xe730-0xe7300fff irq 12 at device 10.0 on pci0
fxp2: Ethernet address 00:30:64:gh:ij:kl, 10Mbps
pcib2: DEC 21152 PCI-PCI bridge at device 13.0 on pci0
pci2: PCI bus on pcib2
pcib3: PCI to PCI bridge (vendor=8086 device=b154) at device 15.0 on pci2
pci3: PCI bus on pcib3
fxp3: Intel 82559 Pro/100 Ethernet port 0xc000-0xc03f mem 
0xe600-0xe60f,0xe6201000-0xe6201fff irq 10 at device 12.0 on pci3
fxp3: Ethernet address 00:30:64:gh:ij:kl
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp4: Intel 82559 Pro/100 Ethernet port 0xc400-0xc43f mem 
0xe610-0xe61f,0xe620-0xe6200fff irq 11 at device 13.0 on pci3
fxp4: Ethernet address 00:30:64:gh:ij:kl
inphy1: i82555 10/100 media interface on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
...

pciconf -l reports:
[EMAIL PROTECTED]:8:0:  class=0x02 card=0x chip=0x12298086 rev=0x08 
hdr=0x00
[EMAIL PROTECTED]:9:0:  class=0x02 card=0x chip=0x12298086 rev=0x08 
hdr=0x00
[EMAIL PROTECTED]:10:0: class=0x02 card=0x chip=0x12298086 rev=0x08 
hdr=0x00

(note the card=0x.  Hm.)

So, if you've read this far,

1) It says 'Ethernet manual'.  Does that mean that there will be 
a method (ioctl or similar) in the driver that allows me to make
explicit calls to the devices to configure 100Mb full duplex, for
example, or even Auto if it is supported.  Before you say 'look 
at the code yourself', assume that I'm doing so as you read this :

2) Am I SOL, short of doing it myself in the fxp driver?

TIA,
rip
-- 
Richard Williamson

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Ethernet card not being detected

2004-06-25 Thread Simon Barner
Richard P. Williamson wrote:

[...]

Here another thing you could try: I once had a problem with a 3Com NIC
not being detected properly when the driver was compiled statically into
the kernel.

Removing it and using the module instead made it work...

[...]

 1) It says 'Ethernet manual'.  Does that mean that there will be 
 a method (ioctl or similar) in the driver that allows me to make
 explicit calls to the devices to configure 100Mb full duplex, for
 example, or even Auto if it is supported.  Before you say 'look 
 at the code yourself', assume that I'm doing so as you read this :
 
 2) Am I SOL, short of doing it myself in the fxp driver?

You may want to ask on the freebsd-stable@ mailing list, but if you can
up with a patch there, that would be even better, of course ;-)

Simon


signature.asc
Description: Digital signature


Re: Intel Ethernet card not being detected

2004-06-02 Thread Wayne Pascoe
On Tue, Jun 01, 2004 at 11:36:40PM -0600, flowers wrote:
 From: Wayne Pascoe
  I've tried installing 5.2.1 on the machine and it still doesn't work.
  Now though, it's even worse, as the em0 device doesn't work either.
 
  I get something along these lines:
  em0: Link is up 10Mbps Half Duplex
  em0: watchdog timeout -- resetting
  em0: Link is up 10Mbps Half Duplex
  em0: watchdog timeout -- resetting
 
 I would check your cabling.  I recently had a similar problem that was
 caused by a lousy connection.

Nope, same cable, different card, worked fine. Also, the problem went
away after a recompile of the kernel. Very weird.

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
BSD is for people who love UNIX; Linux is for
people who hate Windows 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Intel Ethernet card not being detected

2004-06-01 Thread Wayne Pascoe
Hi all,

I just bought a server from DNUK . It claims to have the following
Ethernet card combination:

Intel PRO/1000 / 1000 Mbit / integrated
Intel PRO/100 / 100 Mbit / integrated

I've installed FreeBSD 4.10-RELEASE onto the box, and all I see is em0,
I don't see an fxp0 device.

I've tried installing SuSE Linux on the machine, and it detects both
cards. For the 100Mb, I see the following in dmesg after boot:

e100: selftest OK.
e100: eth1: Intel(R) PRO/100 Network Connection
  Hardware receive checksums enabled
  cpu cycle saver enabled

I can then allocate it an IP address and it appears to work. 

Does anyone have any advice as to how I can get this working under
FreeBSD ? My supplier doesn't support FreeBSD but they do support Linux,
and they've said if it works under one, it should work under the other. 

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
God gave you the power - Preacher on the Simpsons
Hmm. You'd think he'd wanna...  limit my 
power - Bart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Ethernet card not being detected

2004-06-01 Thread Olaf Hoyer
On Tue, 1 Jun 2004, Wayne Pascoe wrote:

 Hi all,

 I just bought a server from DNUK . It claims to have the following
 Ethernet card combination:

 Intel PRO/1000 / 1000 Mbit / integrated
 Intel PRO/100 / 100 Mbit / integrated

 I've installed FreeBSD 4.10-RELEASE onto the box, and all I see is em0,
 I don't see an fxp0 device.

 I've tried installing SuSE Linux on the machine, and it detects both
 cards. For the 100Mb, I see the following in dmesg after boot:

 e100: selftest OK.
 e100: eth1: Intel(R) PRO/100 Network Connection
   Hardware receive checksums enabled
   cpu cycle saver enabled

Well, I could imagine some special version of a 100Pro/VM integrated
one, or some special (latest version) 82550 or so.

Could you post a pciconf -lv from a FreeBSD system?
Would help to identify the parts...

Olaf
-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Ethernet card not being detected

2004-06-01 Thread Simon Barner
Wayne Pascoe wrote:
 Hi all,
 
 I just bought a server from DNUK . It claims to have the following
 Ethernet card combination:
 
 Intel PRO/1000 / 1000 Mbit / integrated
 Intel PRO/100 / 100 Mbit / integrated
 
 I've installed FreeBSD 4.10-RELEASE onto the box, and all I see is em0,
 I don't see an fxp0 device.

Probably only the device ID of the card is not listed in the fxp0 driver.

Your case reminds of a very similar problem in c.o.f.m., where the
following made the card (also Intel) work (a PR has already been filed):

quote
Try adding the following line into the following struct
static struct fxp_ident fxp_ident_table[]
(/usr/src/sys/dev/fxp/if_fxp.c)

{ 0x1051,   -1, Intel 82562ET Pro/100 Ethernet },
/quote

This was a Tyan S5102G3NR motherboard with 3 onboard NICs. Of course,
the correct name for your NIC might be different, but that shouldn't
bee too much of a problem.

In case I guessed wrong, please provide me with the output of
  pciconfig -l
  dmesg
and I'll what I can do. A link to the specification of the motherboard
wouldn' hurt, either.

Simon



signature.asc
Description: Digital signature


Re: Intel Ethernet card not being detected

2004-06-01 Thread Wayne Pascoe
On Tue, Jun 01, 2004 at 01:52:21PM +0200, Olaf Hoyer wrote:
 Well, I could imagine some special version of a 100Pro/VM integrated
 one, or some special (latest version) 82550 or so.
 
 Could you post a pciconf -lv from a FreeBSD system?
 Would help to identify the parts...

I'm going to go for a 5.2.1 install on this box now, so I'll send the
output of that when I'm done.

Regards,

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
I have a very firm grasp on reality. I can
reach out and strangle it any time!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Ethernet card not being detected

2004-06-01 Thread Richard P. Williamson
Hi Simon,

At 12:54 01/06/2004. Simon Barner had this to say:
Wayne Pascoe wrote:
 Hi all,
 
 I just bought a server from DNUK . It claims to have the following
 Ethernet card combination:
 

Probably only the device ID of the card is not listed in the fxp0 driver.

Your case reminds of a very similar problem in c.o.f.m., where the
following made the card (also Intel) work (a PR has already been filed):

quote
Try adding the following line into the following struct
static struct fxp_ident fxp_ident_table[]
(/usr/src/sys/dev/fxp/if_fxp.c)

{ 0x1051,   -1, Intel 82562ET Pro/100 Ethernet },
/quote

This was a Tyan S5102G3NR motherboard with 3 onboard NICs. Of course,
the correct name for your NIC might be different, but that shouldn't
bee too much of a problem.

I'm having a similar problem, in fact I posted a query on
freebsd-questions last week (subject: miibus and fxp motherboard 
devices).  The on-board NICs are being seen, however they aren't
being configured fully.

I have a 3 onboard NIC motherboard; I've asked the supplier for
the manufacturer's name of the motherboard.  I've tried adding
the 0x1051 line to my if_fxp.c file, but it did not have any effect.

This is ifconfig for fxp0 and fxp3, being the first motherboard
mounted and an external pci-card mounted version of the same chip:

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet x.y.z.a netmask 0x broadcast x.y.z.255
ether 00:30:64:01:86:ff
media: Ethernet manual
fxp3: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
ether 00:30:64:01:81:18
media: Ethernet autoselect (none)
status: no carrier

This is the comparable dmesg:

fxp0: Intel Pro 10/100B/100+ Ethernet port 0xd400-0xd43f mem \
0xe720-0xe72f,0xe7302000-0xe7302fff irq 11 at device 8.0 on pci0
fxp0: Ethernet address 00:30:64:01:86:ff, 10Mbps
fxp3: Intel Pro 10/100B/100+ Ethernet port 0xc000-0xc03f mem \
0xe600-0xe60f,0xe6201000-0xe6201fff irq 10 at device 12.0 on pci3
fxp3: Ethernet address 00:30:64:01:81:18
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

Note how the external is on the miibus while the on-board isn't, and 
that the supported media types list 10baseT etc whereas the on-board
simply support 10Mbps (manual).

This is pciconf:

[EMAIL PROTECTED]:8:0:  class=0x02 card=0x chip=0x12298086 \
rev=0x08 hdr=0x00
[EMAIL PROTECTED]:12:0: class=0x02 card=0x00018086 chip=0x12298086 \
rev=0x08 hdr=0x00

Aside from experimentation, is there a way to determine what the 
correct value is that should go into the if_fxp.c known-devices
array, if that is in fact the problem?

Thank you for your help,
Regards,
Richard Williamson

dmesg:

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RELEASE #1: Fri May 28 16:56:45 BST 2004
[EMAIL PROTECTED]:/usr/src/sys/compile/FFPRO_MINI
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1266717239 Hz
CPU: Intel(R) Pentium(R) III CPU family  1266MHz (1266.72-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
  
 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 268369920 (262080K bytes)
avail memory = 208556032 (203668K bytes)
Preloaded elf kernel kernel at 0xc3297000.
Preloaded mfs_root /mfsroot at 0xc329709c.
Pentium Pro MTRR support enabled
md0: Preloaded image /mfsroot 50331648 bytes at 0xc0295794
md1: Malloc disk
Using $PIR table, 9 entries at 0xc00fdee0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
isab0: VIA 82C686 PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 82C686 ATA100 controller port 0xe000-0xe00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: VIA 83C572 USB controller at 7.2 irq 10
pci0: unknown card (vendor=0x1106, dev=0x3057) at 7.4
fxp0: Intel Pro 10/100B/100+ Ethernet port 0xd400-0xd43f mem 
0xe720-0xe72f,0xe7302000-0xe7302fff irq 11 at device 8.0 on pci0
fxp0: Ethernet address 00:30:64:01:86:ff, 10Mbps
fxp1: Intel Pro 10/100B/100+ Ethernet port 0xd800-0xd83f mem 
0xe700-0xe70f,0xe7301000-0xe7301fff irq 5 at device 9.0 on pci0
fxp1: Ethernet address 00:30:64:01:94:00, 10Mbps
fxp2: Intel Pro 10/100B/100+ Ethernet port 0xdc00-0xdc3f mem 
0xe710-0xe71f,0xe730-0xe7300fff irq 12 at device 10.0 on pci0
fxp2: Ethernet address 00:30:64:01:94:01, 10Mbps
pcib2: DEC 21152 PCI-PCI bridge at device 13.0 on pci0
pci2: PCI bus on pcib2
pcib3: PCI to PCI bridge (vendor=8086 device=b154) at device 15.0 on pci2
pci3: PCI bus on pcib3
fxp3: Intel Pro 

Re: Intel Ethernet card not being detected

2004-06-01 Thread Richard P. Williamson
Addendum:

I have a 3 onboard NIC motherboard; I've asked the supplier for
the manufacturer's name of the motherboard.  I've tried adding
the 0x1051 line to my if_fxp.c file, but it did not have any effect.

motherboard is an adlink ebc-2000 ...

Hope someone can help,
Richard 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Ethernet card not being detected

2004-06-01 Thread Simon Barner
Hi,

I just had a look at that older post of yours, and I saw that you are
still running FreeBSD 4.8. Could you consider upgrading to 4.10-RELEASE or
-STABLE?

Have a look at the CVS logs for the fxp driver, and at the driver
source itself, and you will notice that quite a lot has changed:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/fxp/if_fxp.c

When you compare fxp_ident fxp_ident_table (where the device IDs are
defined) of FreeBSD 4.8 and 4.10, you'll see that there are now entries
for different revisions of 0x12298086 based cards, and there's also an
entry for the chip revision that is used in your board (rev. 0x08).

IMO there's a really good chance that upgrading will make your onboard
NICs work properly.

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/fxp/if_fxp.c?rev=1.110.2.28content-type=text/plainonly_with_tag=RELENG_4_8
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/fxp/if_fxp.c?rev=1.110.2.32content-type=text/plainonly_with_tag=RELENG_4_10

Simon


signature.asc
Description: Digital signature


Re: Intel Ethernet card not being detected

2004-06-01 Thread Wayne Pascoe
On Tue, Jun 01, 2004 at 01:52:21PM +0200, Olaf Hoyer wrote:
 Well, I could imagine some special version of a 100Pro/VM integrated
 one, or some special (latest version) 82550 or so.
 
 Could you post a pciconf -lv from a FreeBSD system?
 Would help to identify the parts...

I've tried installing 5.2.1 on the machine and it still doesn't work.
Now though, it's even worse, as the em0 device doesn't work either. 

I get something along these lines:
em0: Link is up 10Mbps Half Duplex
em0: watchdog timeout -- resetting 
em0: Link is up 10Mbps Half Duplex
em0: watchdog timeout -- resetting 

I can ping the card, but nothing else. This worked fine under
4.10-RELEASE

So I've had to slap an additional Intel Etherexpress pro in there to get
the pciconf off of the machine. That one works, but it's an old card
that I had lying around here.

I'm attaching pciconf.txt which is the output of my pciconf commands as
well as the dmesg from boot. Any enlightenment would be much
appreciated.

The motherboard is a Tyan S5102 Tomcat i875P according to my supplier

Thanks a lot for the help :)

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
WINDOWS: Where do you want to go today?
LINUX: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc0a35000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc0a351f4.
ACPI APIC Table: IntelR AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2806.37-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 536805376 (511 MB)
avail memory = 511766528 (488 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IntelR AWRDACPI on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00fdea0
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
acpi_cpu0: CPU on acpi0
acpi_cpu1: CPU on acpi0
acpi_tz0: Thermal Zone on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82875P host to AGP bridge mem 0xe000-0xefff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 3.0 on pci0
pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.CSAB - AE_NOT_FOUND
pci2: ACPI PCI bus on pcib2
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.19 port 0xa000-0xa01f mem 
0xf300-0xf301 irq 10 at device 1.0 on pci2
em0:  Speed:N/A  Duplex:N/A
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xcc00-0xcc1f irq 16 at device 
29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xc000-0xc01f irq 19 at device 
29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xc400-0xc41f irq 18 at device 
29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xc800-0xc81f irq 16 at device 
29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib3: ACPI PCI-PCI bridge at device 30.0 on pci0
pci3: ACPI PCI bus on pcib3
fxp0: Intel 82550 Pro/100 Ethernet port 0xb000-0xb03f mem 
0xf200-0xf201,0xf202-0xf2020fff irq 17 at device 1.0 on pci3
fxp0: Ethernet address 00:02:b3:4c:a4:6e
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci3: display, VGA at device 7.0 (no driver 

Re: Intel Ethernet card not being detected

2004-06-01 Thread Simon Barner
 I've tried installing 5.2.1 on the machine and it still doesn't work.
 Now though, it's even worse, as the em0 device doesn't work either. 
 
 I get something along these lines:
 em0: Link is up 10Mbps Half Duplex
 em0: watchdog timeout -- resetting 
 em0: Link is up 10Mbps Half Duplex
 em0: watchdog timeout -- resetting 

I can recall from some older postings (and the archives. Hint, hint ;-) that
this can be worked around by disabling ACPI.

[...]

 [EMAIL PROTECTED]:8:0:class=0x02 card=0x30108086 chip=0x10518086 
 rev=0x02 hdr=0x00
 vendor   = 'Intel Corporation'
 device   = '82801EB/ER (ICH5/ICH5R) PRO/100 VE Network Connection'
 class= network
 subclass = ethernet

Okay, that's your Intel NIC that is not detected (yet ;-

Add the following line to struct fxp_ident fxp_ident_table[]
(in /usr/src/sys/dev/fxp/if_fxp.c)

{ 0x1051,   -1, Intel 82562ET (ICH5/ICH5R) Pro/100 VE Ethernet },

and rebuild your kernel. This has already been added to -CURRENT, so you
don't have to file a problem report.

Simon

P.S:
0x1051 are the first four letters of the chip id in the pciconfig output.

-1 matches all chip revisions, i.e. if special hacks for a specific
revision (0x02 in your case) were necessary, the would be an extra line
for that particular chip.


signature.asc
Description: Digital signature


RE: Intel Ethernet card not being detected

2004-06-01 Thread flowers
From: Wayne Pascoe
 I've tried installing 5.2.1 on the machine and it still doesn't work.
 Now though, it's even worse, as the em0 device doesn't work either.

 I get something along these lines:
 em0: Link is up 10Mbps Half Duplex
 em0: watchdog timeout -- resetting
 em0: Link is up 10Mbps Half Duplex
 em0: watchdog timeout -- resetting

I would check your cabling.  I recently had a similar problem that was
caused by a lousy connection.

--
Danny

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]