Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2001 01:38:23 +0100 (BST)
From:      =?iso-8859-1?q?Greg=20Quinlan?= <gwq_uk@yahoo.com>
To:        David Greenman <dg@root.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fxp NIC error!
Message-ID:  <20010705003823.13833.qmail@web13302.mail.yahoo.com>
In-Reply-To: <20010704125917.C89686@nexus.root.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi All,

I loaded the patch, rebuilt the kernel but the error
still persists:

fxp1: SCB timeout: 0x1, 0x0, 0x80 0x0
fxp1: device timeout
fxp1: DMA timeout
fxp1: DMA timeout
fxp1: SCB timeout: 0x10, 0x0, 0x80 0x0
fxp1: SCB timeout: 0x10, 0x0, 0x80 0x0
fxp1: command queue timeout
fxp1: SCB timeout: 0x1, 0x0, 0x80 0x0
fxp1: device timeout
fxp1: DMA timeout
fxp1: DMA timeout
fxp1: SCB timeout: 0x10, 0x0, 0x80 0x0
fxp1: SCB timeout: 0x10, 0x0, 0x80 0x0
fxp1: command queue timeout

The other thing I have noted is that both Intel NIC's
have the same chip set - i82555. One works, that is
fxp0, but fxp1 does not, it gives the above error but
won't communicate (fxp1 is an out of the box NIC).

If it also makes any difference, I have a 3com (xl)
NIC installed aswell. (see the dmesg attached)

Anything else I can try?

Greg

DMESG:

Copyright (c) 1992-2001 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.3-STABLE #8: Thu Jul  5 09:54:15 EST 2001
   
greg@vpn.macquarrie.com.au:/usr/src/sys/compile/server
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 533393619 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (533.39-MHz
686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR>
real memory  = 65011712 (63488K bytes)
avail memory = 60055552 (58648K bytes)
Preloaded elf kernel "kernel" at 0xc030c000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
atapci0: <SiS 5591 ATA33 controller> port
0x4000-0x400f,0x374-0x377,0x170-0x177,
0x3f4-0x3f7,0x1f0-0x1f7 irq 14 at device 0.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on
pci0
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x1039, dev=0x0009) at
1.1
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)>
at device 2.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <SiS 530/620 SVGA controller> at 0.0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port
0xd000-0xd03f mem 0xe7800000-0xe78f
ffff,0xe7b01000-0xe7b01fff irq 11 at device 11.0 on
pci0
fxp0: Ethernet address 00:d0:b7:85:65:b1
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
xl0: <3Com 3c900-TPO Etherlink XL> port 0xd400-0xd43f
irq 10 at device 13.0 on p
ci0
xl0: Ethernet address: 00:60:08:34:70:50
xl0: selecting 10baseT transceiver, half duplex
pci0: <unknown card> (vendor=0x125d, dev=0x1969) at
15.0 irq 5
fxp1: <Intel Pro 10/100B/100+ Ethernet> port
0xec00-0xec1f mem 0xe7900000-0xe79f
ffff,0xe7b00000-0xe7b00fff irq 10 at device 17.0 on
pci0
fxp1: Ethernet address 00:a0:c9:90:18:c6
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7
irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port
0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on
isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
IP packet filtering initialized, divert enabled,
rule-based forwarding enabled,
default to deny, logging disabled
IP Filter: v3.4.16 initialized.  Default = pass all,
Logging = disabled
ad0: 9768MB <ST310212A> [19846/16/63] at ata0-master
UDMA33
acd0: CDROM <SONY CDU4811> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a


--- David Greenman <dg@root.com> wrote: > >
> >Hi All,
> >
> >I once came across a problem in connecting two auto
> >sensing interfaces using a X-over UTP cable.
> >
> >The resolution to the problem was to connect both
> >pieces of equipment to a HUB. Or set one to a
> constant
> >speed. (It was connecting a NIC in my server
> directly
> >to a Cisco Router's NIC.)
> >
> >(I noticed that someone had a similar PR; Intel
> NIC's
> >connecting to a Cisco router with a timeout error.)
> >
> >Unfortunately setting the interface to a constant
> >speed did not get it working, but the Cisco router
> did
> >detect the speed change!
> >
> >Should I get a different Intel NIC, do more current
> >ones have the same problem?
> 
>    Hmmm. Can you apply the attached patch and see if
> it has any effect on
> the problem? Thanks.
> 
> -DG
> 
> David Greenman
> Co-founder, The FreeBSD Project -
> http://www.freebsd.org
> President, TeraSolutions, Inc. -
> http://www.terasolutions.com
> Pave the road of life with opportunities.
> 
> Index: if_fxp.c
>
===================================================================
> RCS file: /home/ncvs/src/sys/dev/fxp/if_fxp.c,v
> retrieving revision 1.110.2.4
> diff -c -r1.110.2.4 if_fxp.c
> *** if_fxp.c	2001/06/08 20:36:57	1.110.2.4
> --- if_fxp.c	2001/06/27 07:48:29
> ***************
> *** 490,501 ****
> --- 490,503 ----
>   	 * If we are not a 82557 chip, we can enable
> extended features.
>   	 */
>   	if (sc->chip != FXP_CHIP_82557) {
> + #if 0
>   		/*
>   		 * If there is a valid cacheline size (8 or 16
> dwords),
>   		 * then turn on MWI.
>   		 */
>   		if (pci_read_config(dev, PCIR_CACHELNSZ, 1) !=
> 0)
>   			sc->flags |= FXP_FLAG_MWI_ENABLE;
> + #endif
>   
>   		/* turn on the extended TxCB feature */
>   		sc->flags |= FXP_FLAG_EXT_TXCB; 

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010705003823.13833.qmail>