From owner-freebsd-amd64@FreeBSD.ORG Sat May 26 05:40:05 2007 Return-Path: X-Original-To: freebsd-amd64@hub.freebsd.org Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E27016A468 for ; Sat, 26 May 2007 05:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4AEAD13C44C for ; Sat, 26 May 2007 05:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4Q5e5jh073230 for ; Sat, 26 May 2007 05:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4Q5e5UL073229; Sat, 26 May 2007 05:40:05 GMT (envelope-from gnats) Resent-Date: Sat, 26 May 2007 05:40:05 GMT Resent-Message-Id: <200705260540.l4Q5e5UL073229@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Charles Wang Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD25516A421 for ; Sat, 26 May 2007 05:39:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id BD44D13C44B for ; Sat, 26 May 2007 05:39:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4Q5dJ3W045487 for ; Sat, 26 May 2007 05:39:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l4Q5dJ64045486; Sat, 26 May 2007 05:39:19 GMT (envelope-from nobody) Message-Id: <200705260539.l4Q5dJ64045486@www.freebsd.org> Date: Sat, 26 May 2007 05:39:19 GMT From: Charles Wang To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: amd64/113021: ASUS M2A-VM onboard NIC does not work X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 05:40:05 -0000 >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@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@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 Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f> Cores per package: 2 real memory = 4831838208 (4608 MB) avail memory = 3995082752 (3810 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: 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: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: 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: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) pcib2: at device 7.0 on pci0 pci2: on pcib2 re0: port 0xee00-0xeeff mem 0xfdaff000-0xfdafffff irq 19 at device 0.0 on pci2 miibus0: on re0 rgephy0: 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: port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f mem 0xfe02f000-0xfe02f3ff irq 22 at device 18.0 on pci0 ata2: on atapci0 ata3: on atapci0 ohci0: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: at device 20.0 (no driver attached) atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf900-0xf90f at device 20.1 on pci0 ata0: on atapci1 ata1: on atapci1 pci0: at device 20.2 (no driver attached) isab0: at device 20.3 on pci0 isa0: on isab0 pcib3: at device 20.4 on pci0 pci3: on pcib3 rl0: port 0xce00-0xceff mem 0xfdeff000-0xfdeff0ff irq 20 at device 5.0 on pci3 miibus1: on rl0 rlphy0: on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:19:e0:09:e5:e7 acpi_tz0: on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] acpi_hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 device_attach: acpi_hpet0 attach returned 12 acpi_hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 device_attach: acpi_hpet0 attach returned 12 sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: DVDR at ata0-master UDMA33 ad4: 239372MB at ata2-master UDMA33 ad6: 239372MB at ata3-master UDMA33 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a =================================================================== ifconfig =================================================================== re0: flags=8843 mtu 1500 options=1b inet 192.168.1.130 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:18:f3:10:9e:73 media: Ethernet autoselect (100baseTX ) status: active rl0: flags=8802 mtu 1500 options=8 ether 00:19:e0:09:e5:e7 media: Ethernet autoselect status: no carrier plip0: flags=108810 mtu 1500 lo0: flags=8049 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: