From owner-freebsd-stable@FreeBSD.ORG Wed Jul 25 01:13:50 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 DF635106564A for ; Wed, 25 Jul 2012 01:13:50 +0000 (UTC) (envelope-from jurgen.weber@theiconic.com.au) Received: from exprod6og117.obsmtp.com (exprod6og117.obsmtp.com [64.18.1.39]) by mx1.freebsd.org (Postfix) with SMTP id 5C9FE8FC0C for ; Wed, 25 Jul 2012 01:13:50 +0000 (UTC) Received: from mail-pb0-f47.google.com ([209.85.160.47]) (using TLSv1) by exprod6ob117.postini.com ([64.18.5.12]) with SMTP ID DSNKUA9ISI+GUoipP1RQj3hmnd7Auaz28bCH@postini.com; Tue, 24 Jul 2012 18:13:50 PDT Received: by pbbrq2 with SMTP id rq2so450558pbb.6 for ; Tue, 24 Jul 2012 18:13:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=xUFZvUjXj1b0rA9Igi9laLdlFoJV3FO8aCVJQeUgMzg=; b=EJAFcdKG/yLGCjZXainj1poUUH3HJ3x/Sv2SKTPzS0BGk8CqOjCR+l/q5BCM2MgqKM eCJ61EKsJDesO2Ak5oPfca4TD8lZJOhTevBMg/2MDAxcQV85usLcBLui0sW1MMdQsJzL zLkm+Mc5fPnJWYU5bgehBMpUNfC+aXHWlLJZlrH4PkjqxUvCdipZsteqXFTH7FD63rMn hKOe6RLRlXRzlYl/2PS6JOjWoOrSYgOD6gjAuVqJ18SDAbn3VeUMQT0FD0TnP7+yEC2P C5TRN1hSxLh7ihnhSDnxWZtfDKTxowGfJeCQRhLTADWgBVfRM0gCkBgq+SgNVZ+oiCr9 SQ5Q== Received: by 10.68.221.106 with SMTP id qd10mr49719711pbc.42.1343177052344; Tue, 24 Jul 2012 17:44:12 -0700 (PDT) Received: from [172.20.24.157] ([202.126.107.170]) by mx.google.com with ESMTPS id sh3sm13174536pbc.16.2012.07.24.17.44.09 (version=SSLv3 cipher=OTHER); Tue, 24 Jul 2012 17:44:11 -0700 (PDT) Message-ID: <500F4159.5070307@theiconic.com.au> Date: Wed, 25 Jul 2012 10:44:09 +1000 From: Jurgen Weber User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Peter Feger References: <500DE3A9.30802@theiconic.com.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlYUkjOL6tXm5XhmsYgq807w/kHAIJLiwXaCF4wOMBdZhJ+O9/6g8jb0Ax/oSoSs6OV4EBO 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: Wed, 25 Jul 2012 01:13:51 -0000 yes, it is only the NIC's I want/need. I have an Intel card in it right now, but its just a single port the onboard NIC's would be a nice to have. The raid worked out of the box for me, please remember 9.1beta thou. Thanks On 25/07/12 05:16, Peter Feger wrote: > 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" -- Jurgen Weber Systems Engineer IT Infrastructure Team Leader THE ICONIC | E jurgen.weber@theiconic.com.au | www.theiconic.com.au