amd64/113021: ASUS M2A-VM onboard NIC does not work

Charles Wang wangjiaz at gmail.com
Sat May 26 05:40:05 UTC 2007


>Number:         113021
>Category:       amd64
>Synopsis:       ASUS M2A-VM onboard NIC does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 26 05:40:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Charles Wang
>Release:        6.2 release, AMD64
>Organization:
>Environment:
FreeBSD 6.2-STABLE-200704 #0: Sun Apr  1 08:45:54 UTC 2007
    root at palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

>Description:
The onboard NIC (RealTek 8168/8111B PCIe Gigabit Ethernet) can be recognized correctly, but it doesn't work.

======================================================================
dmesg
======================================================================
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 6.2-STABLE-200704 #0: Sun Apr  1 08:57:24 UTC 2007
    root at palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ (1899.94-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,<b8>>
  Cores per package: 2
real memory  = 4831838208 (4608 MB)
avail memory = 3995082752 (3810 MB)
ACPI APIC Table: <ATI    ASUSACPI>
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.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <ATI ASUSACPI> on motherboard
    ACPI-0438: *** Error: Looking up [LNKC] in namespace, AE_NOT_FOUND
SearchNode 0xffffff0000c69880 StartNode 0xffffff0000c69880 ReturnNode 0
    ACPI-0438: *** Error: Looking up [LNKD] in namespace, AE_NOT_FOUND
SearchNode 0xffffff0000c69700 StartNode 0xffffff0000c69700 ReturnNode 0
    ACPI-0438: *** Error: Looking up [LNKA] in namespace, AE_NOT_FOUND
SearchNode 0xffffff0000c8d980 StartNode 0xffffff0000c8d980 ReturnNode 0
    ACPI-0438: *** Error: Looking up [LNKB] in namespace, AE_NOT_FOUND
SearchNode 0xffffff0000c8d800 StartNode 0xffffff0000c8d800 ReturnNode 0
    ACPI-0438: *** Error: Looking up [LNKC] in namespace, AE_NOT_FOUND
SearchNode 0xffffff0000c8d680 StartNode 0xffffff0000c8d680 ReturnNode 0
    ACPI-0438: *** Error: Looking up [LNKD] in namespace, AE_NOT_FOUND
SearchNode 0xffffff0000c8d500 StartNode 0xffffff0000c8d500 ReturnNode 0
    ACPI-0438: *** Error: Looking up [LNKA] in namespace, AE_NOT_FOUND
SearchNode 0xffffff0000c8d380 StartNode 0xffffff0000c8d380 ReturnNode 0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: HT Bridge at 0:1:0 has non-default MSI window 0x0
pcib0: HT Bridge at 0:7:0 has non-default MSI window 0x0
pcib0: HT Bridge at 0:20:0 has non-default MSI window 0x0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 7.0 on pci0
pci2: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xee00-0xeeff mem 0xfdaff000-0xfdafffff irq 19 at device 0.0 on pci2
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:18:f3:10:9e:73
re0: [FAST]
atapci0: <GENERIC ATA controller> port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f mem 0xfe02f000-0xfe02f3ff irq 22 at device 18.0 on pci0
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfe02e000-0xfe02efff irq 16 at device 19.0 on pci0
ohci0: [GIANT-LOCKED]
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: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfe02d000-0xfe02dfff irq 17 at device 19.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci2: <OHCI (generic) USB controller> mem 0xfe02c000-0xfe02cfff irq 18 at device 19.2 on pci0
ohci2: [GIANT-LOCKED]
usb2: OHCI version 1.0, legacy support
usb2: SMM does not respond, resetting
usb2: <OHCI (generic) USB controller> on ohci2
usb2: USB revision 1.0
uhub2: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ohci3: <OHCI (generic) USB controller> mem 0xfe02b000-0xfe02bfff irq 17 at device 19.3 on pci0
ohci3: [GIANT-LOCKED]
usb3: OHCI version 1.0, legacy support
usb3: SMM does not respond, resetting
usb3: <OHCI (generic) USB controller> on ohci3
usb3: USB revision 1.0
uhub3: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ohci4: <OHCI (generic) USB controller> mem 0xfe02a000-0xfe02afff irq 18 at device 19.4 on pci0
ohci4: [GIANT-LOCKED]
usb4: OHCI version 1.0, legacy support
usb4: SMM does not respond, resetting
usb4: <OHCI (generic) USB controller> on ohci4
usb4: USB revision 1.0
uhub4: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe029000-0xfe0290ff irq 19 at device 19.5 on pci0
ehci0: [GIANT-LOCKED]
usb5: EHCI version 1.0
usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4
usb5: <EHCI (generic) USB 2.0 controller> on ehci0
usb5: USB revision 2.0
uhub5: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub5: 10 ports with 10 removable, self powered
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci1: <GENERIC ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf900-0xf90f at device 20.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
pci0: <multimedia> at device 20.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib3: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci3: <ACPI PCI bus> on pcib3
rl0: <RealTek 8139 10/100BaseTX> port 0xce00-0xceff mem 0xfdeff000-0xfdeff0ff irq 20 at device 5.0 on pci3
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:19:e0:09:e5:e7
acpi_tz0: <Thermal Zone> on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
device_attach: acpi_hpet0 attach returned 12
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
device_attach: acpi_hpet0 attach returned 12
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
acd0: DVDR <NEC DVD RW ND-4570A/1.02> at ata0-master UDMA33
ad4: 239372MB <WDC WD2500YS-01SHB1 20.06C06> at ata2-master UDMA33
ad6: 239372MB <WDC WD2500YS-01SHB1 20.06C06> at ata3-master UDMA33
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad4s1a


===================================================================
ifconfig
===================================================================
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
	inet 192.168.1.130 netmask 0xffffff00 broadcast 192.168.1.255
	ether 00:18:f3:10:9e:73
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
rl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
	options=8<VLAN_MTU>
	ether 00:19:e0:09:e5:e7
	media: Ethernet autoselect
	status: no carrier
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
	inet6 ::1 prefixlen 128 
	inet 127.0.0.1 netmask 0xff000000 


====================================================================
netstat -r
====================================================================
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.1.1        UGS         0        0    re0
localhost          localhost          UH          0       12    lo0
192.168.1          link#1             UC          0        0    re0
192.168.1.1        link#1             UHLW        2        0    re0

Internet6:
Destination        Gateway            Flags      Netif Expire
localhost          localhost          UHL         lo0
fe80::%lo0         fe80::1%lo0        U           lo0
fe80::1%lo0        link#4             UHL         lo0
ff01:4::           fe80::1%lo0        UC          lo0
ff02::%lo0         fe80::1%lo0        UC          lo0


===================================================================
tcpdump (when ping 192.168.1.1)
===================================================================
13:20:07.734051 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 0, length 64
13:20:07.734502 IP 192.168.1.1 > 192.168.1.130: ICMP echo reply, id 33795, seq 0, length 64
13:20:08.735362 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 1, length 64
13:20:08.735530 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:09.736352 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 2, length 64
13:20:09.736503 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:10.737360 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 3, length 64
13:20:10.737505 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:11.738365 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 4, length 64
13:20:11.738514 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:12.739372 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 5, length 64
13:20:12.739519 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:13.740382 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 6, length 64
13:20:13.740532 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:14.741385 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 7, length 64
13:20:14.741540 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:15.742393 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 8, length 64
13:20:15.742538 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:16.743399 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 9, length 64
13:20:16.743564 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:17.744406 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 10, length 64
13:20:17.744554 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:18.745415 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 11, length 64
13:20:18.745562 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:19.746420 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 12, length 64
13:20:19.746570 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:20.747427 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 13, length 64
13:20:20.747578 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:21.253232 arp who-has 192.168.1.120 tell 192.168.1.1
13:20:21.748435 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 14, length 64
13:20:21.748594 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:22.749442 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 15, length 64
13:20:22.749595 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:23.750446 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 16, length 64
13:20:23.750607 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:24.751456 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 17, length 64
13:20:24.751604 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:25.752462 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 18, length 64
13:20:25.752607 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:26.753467 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 19, length 64
13:20:26.753626 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:27.754474 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 20, length 64
13:20:27.754631 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:28.755484 IP 192.168.1.130 > 192.168.1.1: ICMP echo request, id 33795, seq 21, length 64
13:20:28.755631 00:00:00:00:00:00 (oui Ethernet) > 00:00:00:00:00:00 (oui Ethernet) Null Information, send seq 0, rcv seq 0, Flags [Command], length 84
13:20:30.535945 IP 192.168.1.102.netbios-dgm > 192.168.1.255.netbios-dgm: NBT UDP PACKET(138)


>How-To-Repeat:
1) install FreeBSD 6.2 on ASUS M2A-VM
2) configure re0, set it up
3) ping the gateway 192.168.1.1; loss rate is above 50%
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list