amd64-current em, fxp, nfe partially broken?

From: Reinhard Haller <reinhard.haller_at_interactive-net.de>
Date: Fri, 21 Sep 2007 17:33:48 +0200
Hi,

I've set up a box (ASUS V3-M2NC61S, AMD Athlon 4400+) with freebsd 7.0 
current amd64.

Even with gcc 4.2.1 20070719 none of the nic's is able to communicate to 
a Linksys WRVS4400N
wireless router.

I've tested the em and fxp nics on a freebsd 7.0 current i386 (Pentium 
III/500) and they worked as
expected, also the builtin nfe under Windows. The problem is not limited 
to the Linksys router
(auto negotiation, 1000baseTX, 100BaseTX), my notebook (connected by a 
crossover cable)
with a builtin  RTL 8168/8111 nic under Vista has similar problems.

Even by connecting my amd64 box and the Linksys to a 10/100 switch there 
is no communication
possible.

Any suggestions?

Thanks
Reinhard Haller

------------------------------------------------------------------------------- 

Copyright (c) 1992-2007 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.0-CURRENT #8: Thu Sep 20 14:07:10 CEST 2007
   root_at_firewall.interactive.de:/usr/obj/usr/src/sys/FIREWALL
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (2310.67-MHz 
K8-class CPU)
 Origin = "AuthenticAMD"  Id = 0x60fb1  Stepping = 1
 
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> 

 Features2=0x2001<SSE3,CX16>
 AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
 AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
 Cores per package: 2
usable memory = 2103508992 (2006 MB)
avail memory  = 2030026752 (1935 MB)
ACPI APIC Table: <_ASUS_ Notebook>
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 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <_ASUS_ Notebook> on motherboard
acpi0: [ITHREAD]
acpi_hpet0: <High Precision Event Timer> iomem 0xfefff000-0xfefff3ff on 
acpi0
Timecounter "HPET" frequency 25000000 Hz quality 900
acpi0: Power Button (fixed)
acpi0: reservation of fefff000, 1000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7dde0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
powernow0: <PowerNow! K8> on cpu0
cpu1: <ACPI CPU> on acpi0
powernow1: <PowerNow! K8> on cpu1
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
pci0: <memory, RAM> at device 1.2 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 23 
at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 8 ports with 8 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe02e000-0xfe02e0ff irq 
22 at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb1: EHCI version 1.0
usb1: companion controller, 10 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1
uhub1: 8 ports with 8 removable, self powered
pcib1: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci1: <ACPI PCI bus> on pcib1
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xcc00-0xcc3f mem 
0xfdfff000-0xfdffffff,0xfde00000-0xfdefffff irq 17 at device 8.0 on pci1
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:d0:b7:16:8a:3d
fxp0: [ITHREAD]
em0: <Intel(R) PRO/1000 Network Connection Version - 6.5.3> port 
0xc800-0xc83f mem 0xfdfc0000-0xfdfdffff,0xfdfa0000-0xfdfbffff irq 18 at 
device 9.0 on pci1
em0: Ethernet address: 00:1b:21:07:11:65
em0: [FILTER]
pci0: <multimedia> at device 5.0 (no driver attached)
atapci0: <nVidia nForce MCP61 UDMA133 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
nfe0: <NVIDIA nForce MCP61 Networking Adapter> port 0xec00-0xec07 mem 
0xfe02d000-0xfe02dfff irq 22 at device 7.0 on pci0
miibus1: <MII bus> on nfe0
rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
nfe0: Ethernet address: 00:1a:92:4b:b2:27
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
atapci1: <nVidia nForce MCP61 SATA300 controller> port 
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd800-0xd80f mem 
0xfe02c000-0xfe02cfff irq 20 at device 8.0 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci4: <ACPI PCI bus> on pcib4
vgapci0: <VGA-compatible display> mem 
0xfb000000-0xfbffffff,0xe0000000-0xefffffff,0xfc000000-0xfcffffff irq 23 
at device 13.0 on pci0
acpi_tz0: <Thermal Zone> on acpi0
sio0: configured irq 3 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 3 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on 
acpi0
sio0: type 16550A
sio0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model MouseMan+, device ID 0
cryptosoft0: <software crypto> on motherboard
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd0fff,0xd1000-0xd1fff on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
Timecounters tick every 1.000 msec
Fast IPsec: Initialized Security Association Processing.
ad4: 238475MB <SAMSUNG SP2504C VT100-41> at ata2-master SATA300
SMP: AP CPU #1 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/ad4s1a
em0: link state changed to UP
lock order reversal:
1st 0xffffffff80768dc8 PFil hook read/write mutex (PFil hook read/write 
mutex) _at_ /usr/src/sys/net/pfil.c:73
2nd 0xffffffff8076a488 udp (udp) _at_ /usr/src/sys/contrib/pf/net/pf.c:2970
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
witness_checkorder() at witness_checkorder+0x64b
_mtx_lock_flags() at _mtx_lock_flags+0x75
pf_socket_lookup() at pf_socket_lookup+0x23f
pf_test_udp() at pf_test_udp+0x89a
pf_test() at pf_test+0xf9d
pf_check_in() at pf_check_in+0x2b
pfil_run_hooks() at pfil_run_hooks+0xc0
ip_input() at ip_input+0x321
ether_demux() at ether_demux+0x1d9
ether_input() at ether_input+0x21d
fxp_intr() at fxp_intr+0x1e4
ithread_loop() at ithread_loop+0xe0
fork_exit() at fork_exit+0x12a
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffffab9ebd30, rbp = 0 ---
Received on Fri Sep 21 2007 - 13:34:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC