On Thu, May 17, 2012 at 3:37 PM, Guest, Simon
<Simon.Guest@...> wrote:
> I have managed to build the qlxgb 10G Ethernet driver from FreeBSD 9
>
> for FreeNAS. I have tested it over a few days, and all seems OK.
Awesome, thanks Simon! It looks good.
Josh incorporated it into the build and it'll be in the next 8.2-BETA :)
Cheers,
-matt
> I attach two patches:
>
> - freebsd-qlxgb.patch, to be dropped into the FreeNAS patches
>
> directory
>
> - nanobsd-qlxgb.patch, to patch the nanobsd config files (pretty
>
> trivial)
>
>
>
> With these patches, FreeNAS 8.0.4 RELEASE p1 builds cleanly (at least,
>
> past the kernel and driver stuff, as far as where Python is required,
>
> which wasn't installed on my build machine).
>
>
>
> Following building this, I copied the driver if_qlxgb.ko into
>
> /boot/kernel on my production FreeNAS box. The driver README lists
>
> some sysctls which need to be set:
>
>
>
> kern.ipc.nmbjumbo9=262144
>
> net.inet.tcp.recvbuf_max=262144
>
> net.inet.tcp.recvbuf_inc=16384
>
> kern.ipc.nmbclusters=1000000
>
> kern.ipc.maxsockbuf=2097152
>
> net.inet.tcp.recvspace=131072
>
> net.inet.tcp.sendbuf_max=262144
>
> net.inet.tcp.sendspace=65536
>
>
>
> I set these in the FreeNAS web GUI.
>
>
>
> Then, to load the driver at boot time, I added a tunable in the web GUI:
>
> variable: if_qlxgb_load
>
> value: YES
>
>
>
> Once this is done, and the machine rebooted, I was able to add the
>
> interface using the web GUI.
>
>
>
> If you are inclined to put this patch into an upcoming release of
>
> FreeNAS, that would be excellent.
>
>
>
> cheers,
>
> Simon
>
>
>
>
>
> ________________________________
>
> Attention: The information contained in this message and/or attachments from
> AgResearch Limited is intended only for the persons or entities to which it
> is addressed and may contain confidential and/or privileged material. Any
> review, retransmission, dissemination or other use of, or taking of any
> action in reliance upon, this information by persons or entities other than
> the intended recipients is prohibited by AgResearch Limited. If you have
> received this message in error, please notify the sender immediately.
>
> ________________________________
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Freenas-devel mailing list
> Freenas-devel@...
> https://lists.sourceforge.net/lists/listinfo/freenas-devel
>
|