From owner-freebsd-stable@FreeBSD.ORG Tue Jul 24 19:17:15 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22DF31065677 for ; Tue, 24 Jul 2012 19:17:15 +0000 (UTC) (envelope-from magickal1@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id EC6738FC14 for ; Tue, 24 Jul 2012 19:17:14 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so56744pbb.13 for ; Tue, 24 Jul 2012 12:17:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=YA6MwhZjRRUR9D8M1mathoZIRRWKkjZnNT+Ebr6ghvs=; b=pVbAx4SF9DLq1fpYge9+CJd34uOmdp2ekGtgKN4k4E9GbaLP7JG9zk63yUE4kENTvJ BBPJCIz7EBp1kZ0jGDMG61BIoFiGDCmszHiKvEfxgl13NN9XhuYT7gMfQNI67gg7qf1b YUVplKCOa3JWd0CtpWRhLJFtLduJZGsTYCOtI8eJPjYUBdLaBDyWeRs99G8kUqGOE1lZ e++9JbsBjyFkgiM57x/Jae7Rvwp8iOUz0rff5lznZE7np+bNGkb4EZrBG8WKMeHCe0E3 bSXronX2CklzcaXpbLkF2JSCfAJQ439DWxHiMdZOQJV2c03F3oz9OofUuxjqFeUQ2+uO 37nA== Received: by 10.68.229.2 with SMTP id sm2mr46783639pbc.57.1343157434513; Tue, 24 Jul 2012 12:17:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.134.6 with HTTP; Tue, 24 Jul 2012 12:16:54 -0700 (PDT) In-Reply-To: <500DE3A9.30802@theiconic.com.au> References: <500DE3A9.30802@theiconic.com.au> From: Peter Feger Date: Tue, 24 Jul 2012 14:16:54 -0500 Message-ID: To: Jurgen Weber Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org Subject: Re: Broadcom NetXtreme bcm5720 in the 9.1 beta X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 19:17:15 -0000 I just got done installing FreeBSD-9.0 on a Dell R720. I can tell you that none of the broadcom products will work. There is no driver that I have been able to find. I wound up having to replace them with Intel nics. I used the i350 quad-port 1G and the x520 for 10G Fiber. I also had an issue with the perc h710 raid controller. ( it uses the LSI SAS 2208 controller chip ) The FreeBSD hardware compatibility list shows that it uses the mtp driver which is incorrect. Below are the things I did to get them both to work Track STABLE csup /root/stable-supfile ; cd /usr/src/ && make buildworld Time to get the new driver source code. The SVN checkout link is here, http://svn.freebsd.org/base/projects/head_mfi/sys/dev/mfi/ svn co http://svn.freebsd.org/base/projects/head_mfi/sys/dev/mfi/ /usr/local/src/mfi/ ; cp *.* /usr/src/sys/dev/mfi/ The new code actually added 2 new C files, so we need to add them to one of the included make files so when we build our kernel, it will see these new files. Fire up vi and edit /usr/src/sys/conf/files. Find the lines with the mfi driver files by searching for mfi, and add the following lines after those: dev/mfi/mfi_syspd.c optional mfi dev/mfi/mfi_tbolt.c optional mfi Now, since we are using stable source files, we will get the updated mpt driver to get around the bug were this driver incorrectly tries to attach to our RAID controller. To be safe we also edit the GENERIC kernel config file and comment out the mpt driver altogether. The x520 uses the 82599 drivers. they too had a few small issues The ixgbe-2.4.4 driver had this error In file included from ixgbe_type.h:38, from ixgbe_api.h:38, from ixgbe.h:96, from ixgbe.c:40: ixgbe_osdep.h:104: error: conflicting types for 'bool' @/sys/types.h:271: error: previous declaration of 'bool' was here *** Error code 1 Stop in /usr/local/src/ixgbe-2.4.4/src I edited the /sys/types.h #if __STDC_VERSION__ < 199901L && __GNUC__ < 3 && !defined(__INTEL_COMPILER) typedef int _Bool; #endif -typedef _Bool bool; +// typedef _Bool bool; #endif /* !__bool_true_false_are_defined && !__cplusplus */ and ixgbe_osdep.h +#ifndef bool typedef boolean_t bool; +#endif something buggy in the ipv6 support. My netowrk doesnt use it So i commented out the #ifdef in ixgbe.c and the code that goes with it. 3332 /* #ifdef INET6 3333 * struct ip6_hdr *ip6; 3334 * 3335 * #endif 3336 */ 3359 /* 3360 ** #ifdef INET6 3361 ** case ETHERTYPE_IPV6: 3362 ** if (mp->m_len < len + sizeof(struct ip6_hdr)) 3363 ** return FALSE; 3364 ** ip6 = (struct ip6_hdr *)(mp->m_data + ehdrlen); 3365 ** XXX-BZ For now we do not pretend to support ext. hdrs. 3366 ** if (ip6->ip6_nxt != IPPROTO_TCP) 3367 ** return FALSE; 3368 ** ip_hlen = sizeof(struct ip6_hdr); 3369 ** th = (struct tcphdr *)((caddr_t)ip6 + ip_hlen); 3370 ** th->th_sum = in6_cksum_pseudo(ip6, 0, IPPROTO_TCP, 0); 3371 ** type_tucmd_mlhl |= IXGBE_ADVTXD_TUCMD_IPV6; 3372 ** break; 3373 ** #endif 3374 */ cd /usr/local/src/ixgbe/ ; svn co http://svn.freebsd.org/base/stable/9/sys/dev/ixgbe/ /usr/local/src/ixgbe/ ; cp *.* /usr/src/sys/dev/ixgbe/ then edited the /usr/src/sys/conf/files and make sure that the following lines are there dev/ixgb/ixgb_hw.c optional ixgb dev/ixgbe/ixgbe.c optional ixgbe inet \ compile-with "${NORMAL_C} -I$S/dev/ixgbe" dev/ixgbe/ixv.c optional ixgbe inet \ compile-with "${NORMAL_C} -I$S/dev/ixgbe" dev/ixgbe/ixgbe_phy.c optional ixgbe inet \ compile-with "${NORMAL_C} -I$S/dev/ixgbe" dev/ixgbe/ixgbe_api.c optional ixgbe inet \ compile-with "${NORMAL_C} -I$S/dev/ixgbe" dev/ixgbe/ixgbe_common.c optional ixgbe inet \ compile-with "${NORMAL_C} -I$S/dev/ixgbe" dev/ixgbe/ixgbe_mbx.c optional ixgbe inet \ compile-with "${NORMAL_C} -I$S/dev/ixgbe" dev/ixgbe/ixgbe_vf.c optional ixgbe inet \ compile-with "${NORMAL_C} -I$S/dev/ixgbe" dev/ixgbe/ixgbe_82598.c optional ixgbe inet \ compile-with "${NORMAL_C} -I$S/dev/ixgbe" dev/ixgbe/ixgbe_82599.c optional ixgbe inet \ compile-with "${NORMAL_C} -I$S/dev/ixgbe" dev/ixgbe/ixgbe_x540.c optional ixgbe inet \ compile-with "${NORMAL_C} -I$S/dev/ixgbe" Built the kernel cd /usr/src && make buildkernel KERNCONF=GENERIC Make the release so I can get an .iso image with everything i need to get those things working cd /usr/src/release && make release ISO file will be located here when completed /usr/obj/usr/src/release/release.iso >From there I open the drac console and use the virtual media to mount that iso and install FreeBSD-9.0 and both the RAID and Intel nics work. Best of Luck Pete On Mon, Jul 23, 2012 at 6:52 PM, Jurgen Weber wrote: > Team > > I have a Dell PowerEdge R720xd, with the Broadcom NetXtreme bcm5720. I found > the following thread: > > http://forums.freebsd.org/showthread.php?t=31769 > > I find I am unable to use the NIC's (there are 4 on the server). When we put > a cable into it we get a "watchdog timeout -- resetting" error, and the > machine will pause for 5 or so seconds. IP may or may not come up randomly. > eg. pings will work for 10 seconds and then it will pause and stop. > > It is hard for me to get you some decent output because no networking works. > > I need to get this puppy on the network, any suggestions? Will it be > resolved in RC1, when can I expect it? > > Thanks > > Jurgen > > > > -- > Jurgen Weber > > Systems Engineer > IT Infrastructure Team Leader > > THE ICONIC | E jurgen.weber@theiconic.com.au | www.theiconic.com.au > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"