From owner-freebsd-net@freebsd.org Fri Feb 19 19:24:39 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 515D0AAE846 for ; Fri, 19 Feb 2016 19:24:39 +0000 (UTC) (envelope-from tino.engel@hotmail.com) Received: from DUB004-OMC2S30.hotmail.com (dub004-omc2s30.hotmail.com [157.55.1.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D06A71BE1 for ; Fri, 19 Feb 2016 19:24:38 +0000 (UTC) (envelope-from tino.engel@hotmail.com) Received: from DUB109-W99 ([157.55.1.136]) by DUB004-OMC2S30.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Fri, 19 Feb 2016 11:23:28 -0800 X-TMN: [etwjzCG+wYAq76vho8bgMCPKkBOo7IfX] X-Originating-Email: [tino.engel@hotmail.com] Message-ID: From: Tino Engel To: "pyunyh@gmail.com" CC: "freebsd-net@freebsd.org" Subject: RE: Support for Killer E2400 Ethernet Date: Fri, 19 Feb 2016 20:23:28 +0100 Importance: Normal In-Reply-To: <20160219012612.GA1267@michelle.fasterthan.co.kr> References: , <20160219012612.GA1267@michelle.fasterthan.co.kr> MIME-Version: 1.0 X-OriginalArrivalTime: 19 Feb 2016 19:23:28.0779 (UTC) FILETIME=[030455B0:01D16B4B] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 19:24:39 -0000 Thanks very much for the quick reply. So let me shed some words on your input: First: Limiting the memory size did not help at all=2C nothing changed. Unfortunetly I cannot post the whole results of the sysctl=2C since I canno= t get this box into the net=2C and it is quite too much to type it by hand. Is there any special value you are interested in? Then I applied your patch. The requested output is: alc0: DMA CFG : 0x0c347c54 The bad thing: The error still persists. :( It always writes "DMA write error" now followed by "DMA CFG : ..." One more thing: The ping -s command results in the same error as trying to fetch something = from the internet. Do you have any further ideas? Thanks! From: pyunyh@gmail.com Date: Fri=2C 19 Feb 2016 10:26:12 +0900 To: tino.engel@hotmail.com Subject: Re: Support for Killer E2400 Ethernet CC: freebsd-net@freebsd.org On Thu=2C Feb 18=2C 2016 at 04:17:30PM +0100=2C Tino Engel wrote: >=20 >=20 >=20 > Hello all=2C > I am trying to establish support for the Killer E2400 ethernet adapter. > I am following the approach that works for the linux driver=2C which is b= asically:- Add the E2400 device ID- Copy all device related stuff from the = E2200 > What works:- DHCP- Ping any host in the internet > What does not work:- Downloading stuff using "fetch"- Setup pkg- Therefor= e cannot browse since I even cannot install pkg in order to obtain a browse= r > The error message I continously receive is "alc0: DMA write error". > I have so far played with all the loader tunables and sysctls supported b= y the alc driver=2C but no improvement of the situation. > Any ideas how to proceed? =20 Due to lack of access to Killer E2200 controller=2C alc(4) was not fully tested for the controller. One user also reported that alc(4) shows DMA errors as you saw. To narrow down the issue=2C could you please add the following to /boot/loader.conf file and test it again if your system has more than 4GB memory? =20 hw.physmem=3D"3G" =20 The tunable above will limit system memory to 3GB. Also show me the output of "sysctl dev.alc.0.stats" before and after running "ping -s 1472 remote_ip_addr" command. (Note=2C the ping command with -s option requires root privilege and you have to reboot to take changes effect). =20 If limiting system memory have no effect=2C could you try attached patch and let me know whether it makes any difference? The patch will print "alc0: DMA CFG : 0xXXXXXXXX". Let me know the value of XXXXXXXX. =20 Thanks. _______________________________________________=0A= freebsd-net@freebsd.org mailing list=0A= https://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= To unsubscribe=2C send any mail to "freebsd-net-unsubscribe@freebsd.org" = =