fxp unusable after make world
Pyun YongHyeon
pyunyh at gmail.com
Sun Mar 8 17:08:07 PDT 2009
On Sun, Mar 08, 2009 at 06:04:35PM +0100, Beat Siegenthaler wrote:
> Pyun YongHyeon wrote:
>
> >
> > I touched fxp(4) to add more hardware assistance so it could cause
> > problems on your box. Please show me dmesg output and
> > "ifconfig fxp0"
> > output.
> >
> > If you doubt checksum offloading or TSO issues, try
> > "ifconfig fxp0 -tso -txcsum -rxcsum".
> >
And the command above fixed your issue?
>
> As I remember this Dual card is out of a "Symantec/RaQ/Raptor/Firewall"
> and has a 3DES CryptoChip onboard.
>
Your controller looks like i82550. 82550/82551 has nice hardware
cryptographic capability for IPSec acceleration but it's not used
at all under FreeBSD. Intel's open source developer manual didn't
even mention the existence of cryptographic capability.
> [root at atom:~] # ifconfig fxp0
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
> ether 00:02:b3:b8:e5:7f
> inet6 fe80::202:b3ff:feb8:e57f%fxp0 prefixlen 64 scopeid 0x3
> media: Ethernet autoselect (none)
> status: no carrier
> [root at atom:~] # ifconfig fxp1
> fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
> ether 00:02:b3:b8:e5:80
> inet6 fe80::202:b3ff:feb8:e580%fxp1 prefixlen 64 scopeid 0x4
> media: Ethernet autoselect (none)
> status: no carrier
>
>
> [root at atom:~] # dmesg
> Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
> FreeBSD 7.1-STABLE #3: Thu Mar 5 17:03:54 CET 2009
> root at atom.beatsnet.com:/usr/obj/usr/src/sys/ATOM_amd64
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: AMD Athlon(tm) 64 Processor 3200+ (2002.57-MHz K8-class CPU)
> Origin = "AuthenticAMD" Id = 0x10ff0 Stepping = 0
>
> Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
> AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
> AMD Features2=0x1<LAHF>
> usable memory = 2137423872 (2038 MB)
> avail memory = 2061045760 (1965 MB)
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> agp0: <VIA K8T800Pro host to PCI bridge> on hostb0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> pci0: <network, ethernet> at device 10.0 (no driver attached)
> re0: <RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet>
> port 0x8800-0x88ff mem 0xfb400000-0xfb4000ff irq 17 at device 12.0 on pci0
> re0: Chip rev. 0x10000000
> re0: MAC rev. 0x00000000
> miibus0: <MII bus> on re0
> rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
> rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-FDX, auto
> re0: Ethernet address: 00:30:4f:60:3e:16
> re0: [FILTER]
> re1: <RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet>
> port 0x9000-0x90ff mem 0xfb600000-0xfb6000ff irq 18 at device 13.0 on pci0
> re1: Chip rev. 0x10000000
> re1: MAC rev. 0x00000000
> miibus1: <MII bus> on re1
> rgephy1: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus1
> rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-FDX, auto
> re1: Ethernet address: 00:30:4f:60:3e:2b
> re1: [FILTER]
> pcib2: <PCI-PCI bridge> at device 14.0 on pci0
> pci2: <PCI bus> on pcib2
> fxp0: <Intel 82550 Pro/100 Ethernet> port 0xe400-0xe43f mem
> 0xfbd00000-0xfbd00fff,0xfbc00000-0xfbc1ffff irq 19 at device 4.0 on pci2
> miibus2: <MII bus> on fxp0
> inphy0: <i82555 10/100 media interface> PHY 1 on miibus2
> inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp0: Ethernet address: 00:02:b3:b8:e5:7f
> fxp0: [ITHREAD]
> fxp1: <Intel 82550 Pro/100 Ethernet> port 0xe800-0xe83f mem
> 0xfbf00000-0xfbf00fff,0xfbe00000-0xfbe1ffff irq 16 at device 5.0 on pci2
> miibus3: <MII bus> on fxp1
> inphy1: <i82555 10/100 media interface> PHY 1 on miibus3
> inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp1: Ethernet address: 00:02:b3:b8:e5:80
> fxp1: [ITHREAD]
More information about the freebsd-stable
mailing list