From owner-freebsd-current@FreeBSD.ORG Fri May 30 13:59:16 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7237E10656C9 for ; Fri, 30 May 2008 13:59:16 +0000 (UTC) (envelope-from skylord@linkline.ru) Received: from res.linkline.ru (res.linkline.ru [91.200.224.6]) by mx1.freebsd.org (Postfix) with ESMTP id 13F028FC25 for ; Fri, 30 May 2008 13:59:15 +0000 (UTC) (envelope-from skylord@linkline.ru) Received: from res.linkline.ru (localhost.linkline.ru [127.0.0.1]) by res.linkline.ru (Postfix) with ESMTP id 235365C116 for ; Fri, 30 May 2008 17:35:18 +0400 (MSD) Received: from res.linkline.ru (localhost.linkline.ru [127.0.0.1]) by res.linkline.ru (Postfix) with ESMTP id E51F45C113 for ; Fri, 30 May 2008 17:35:17 +0400 (MSD) Received: from 91.200.224.7 (SquirrelMail authenticated user skylord) by res.linkline.ru with HTTP; Fri, 30 May 2008 17:35:17 +0400 (MSD) Message-ID: <33645.91.200.224.7.1212154517.squirrel@res.linkline.ru> Date: Fri, 30 May 2008 17:35:17 +0400 (MSD) From: "Mikle Davidkin" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Fri, 30 May 2008 14:07:35 +0000 Subject: Call for testers : age(4), Attansic/Atheros L1 gigabit ethernet controller X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2008 13:59:16 -0000 On Thu, 13 Mar 2008 12:43:21 +0900 Pyun YongHyeon wrote: > > > As I said, I already know poor performance issue of age(4) but I'm > > > more interested in getting a stable driver. If you're owner of L1 > > > gigabit ethernet controller please give it spin and let me know > > > how it goes on your system. > > > > For CURRENT: > http://people.freebsd.org/~yongari/age/age.HEAD.diff > For RELENG_7/7.0-RELEASE: > http://people.freebsd.org/~yongari/age/age.7.0R.diff > > > o Patch kernel srouce and rebuild/reboot your kernel. > > > #cd /usr/src > > > #patch -p0 < /path/to/age.HEAD.diff > > > > > > Test: > > > Use age(4) for your normal network activities and report success or > > > any issues you've encountered. The driver may be chatty to ease of > > > debugging. Today I've patched my 7.0-STABLE (csup from 28 may) with your diff, downloaded fresh file revisions, recompiled kernel and try to use driver for my on-board network card on ECS A740GM-M... It works like a charm! Thanks a lot! dmesg info: ==================== pci0: driver added found-> vendor=0x1002, dev=0x4385, revid=0x3a domain=0, bus=0, slot=20, func=0 class=0c-05-00, hdrtype=0x00, mfdev=1 cmdreg=0x0403, statreg=0x0230, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) pci0:0:20:0: reprobing on driver added pci1: driver added pci2: driver added pci3: driver added found-> vendor=0x1969, dev=0x1048, revid=0xb0 domain=0, bus=3, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0106, statreg=0x4010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=17 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit pci0:3:0:0: reprobing on driver added age0: mem 0xfeac0000-0xfeafffff irq 17 at device 0.0 on pci3 age0: Reserved 0x40000 bytes for rid 0x10 type 3 at 0xfeac0000 age0: PCI device revision : 0x00b0 age0: Chip id/revision : 0x9006 age0: 1280 Tx FIFO, 2364 Rx FIFO age0: MSIX count : 0 age0: MSI count : 1 age0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 258 to vector 63 age0: using IRQ 258 for MSI age0: Using 1 MSI messages. age0: Read request size : 512 bytes. age0: TLP payload size : 128 bytes. miibus2: on age0 atphy0: PHY 0 on miibus2 atphy0: OUI 0x001374, model 0x0001, rev. 5 atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto age0: bpf attached age0: Ethernet address: 00:00:90:85:fa:1b msi: Assigning MSI IRQ 258 to local APIC 0 age0: [MPSAFE] age0: [FILTER] pci4: driver added age0: link state changed to DOWN age0: link state changed to UP age0: interrupt moderation is 100 us. age0: link state changed to DOWN age0: interrupt moderation is 100 us. age0: link state changed to UP ==================== pciconf -lv ==================== age0@pci0:3:0:0: class=0x020000 card=0x10481019 chip=0x10481969 rev=0xb0 hdr=0x00 vendor = 'Attansic (Now owned by Atheros)' device = 'L1 Gigabit Ethernet 10/100/1000Base-T Ethernet Controller' class = network subclass = ethernet ==================== ifconfig age0 ==================== age0: flags=8843 metric 0 mtu 1500 options=319b ether 00:00:90:85:fa:1b inet 10.72.0.104 netmask 0xffffc000 broadcast 10.72.63.255 media: Ethernet autoselect (1000baseTX ) status: active ==================== BTW, at first look driver performance is not so poor as could be expected after your words. I get over 200-300Mbit/s FTP download rate from my other gigabit box - it's usual speed in this enviroment with other NICs too... I'll do more tests, sure... Anyways - thanks a lot for this driver!