panic: 'Sleeping on t4slptst with the following non-sleepable locks held' when using cxgbe+lagg

2013-03-22 Thread Garrett Cooper
Unfortunately I don't have swap setup on this machine (not sure why... I'll remedy that soon). Basically I was tcpdump'ing the interface that was doing intense NFS I/O at the same time, and I ran into this crash with cxgbe+lagg. Sources are a bit stale (~1.5 months old). Thanks, -Garrett PS

LOR: taskqueue_drain with the following non-sleepable locks held with if_em

2013-05-07 Thread Garrett Cooper
Saw the following LOR on a CURRENT build as of yesterday with an almost idle machine processing ARP requests: root@wf220:/mnt # taskqueue_drain with the following non-sleepable locks held: exclusive rw lle (lle) r = 0 (0xfe001450b410) locked @ /usr/src/sys/netinet/in.c:1484 KDB: stack

Re: LOR: taskqueue_drain with the following non-sleepable locks held with if_em

2013-05-07 Thread Garrett Cooper
On Tue, May 7, 2013 at 4:06 PM, Xin Li delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/07/13 15:03, Garrett Cooper wrote: Saw the following LOR on a CURRENT build as of yesterday with an almost idle machine processing ARP requests: root@wf220:/mnt

Re: Create bond on Infiniband ports

2013-05-28 Thread Garrett Cooper
On Tue, May 28, 2013 at 4:35 AM, Alex Liptsin al...@mellanox.com wrote: Hi. I use FreeBSD 9.1 with OFED compiled on it. There is a Mellanox adapter: [root@qa-h-vrt-030-006 ~]# pciconf -lv |grep mlx4 -A 3 mlx4_core0@pci0:0:5:0: class=0x028000 card=0x005015b3 chip=0x100315b3 rev=0x00

Re: How to compile ipoib module manually?

2013-06-05 Thread Garrett Cooper
On Jun 5, 2013, at 10:22 AM, Alex Liptsin wrote: Thanks a lot. Alex L. Sent from my iPhone On 5 ביונ 2013, at 18:13, John Baldwin j...@freebsd.orgmailto:j...@freebsd.org wrote: On Tuesday, June 04, 2013 5:18:46 am Alex Liptsin wrote: I commented on that lines, because I want to

Re: Mellanox NIC names changed, each kldunload/kldload mlx4ib module

2013-06-09 Thread Garrett Cooper
On Jun 9, 2013, at 5:35 AM, Alex Liptsin wrote: Hi. I work with FreeBSD9.1 and Mellanox devices. Every time I unload / load mlx4ib module, NIC names of mellanox devices (ibX) are renamed. Can I prevent it? [root@h-qa-032 mlx4]# ifconfig ib8: flags=8002BROADCAST,MULTICAST metric 0 mtu

Re: A new way to test systems in multiple machine scenarios...

2014-07-05 Thread Garrett Cooper
On Jul 5, 2014, at 20:04, George Neville-Neil g...@neville-neil.com wrote: Hi, I've coded up a system to allow you to control multiple other systems for use in testing. https://github.com/gvnn3/conductor It's BSD licensed, of course, and is only alpha quality but I'm using it in

Re: A new way to test systems in multiple machine scenarios...

2014-07-08 Thread Garrett Cooper
Cool! The architecture you have is similar to that of the SPECsfs benchmark test ( http://www.spec.org/sfs2008/ ) which involves a coordinator node and multiple client nodes which direct NFS network traffic towards a System Under Test (SUT). Garrett Cooper actually set up the original

Re: ifconfig accepting hostname as ipv4 address

2012-06-09 Thread Garrett Cooper
On Sat, Jun 9, 2012 at 12:23 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: input. Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it, so you can't set valid CIDR address using this notation. Classful era has ended more than 10 years ago, do we still want to keep this

Re: kern/170713: [cxgb] Driver must be loaded after boot due to timing issues checking for kern.ipc.nmb* values set via /boot/loader.conf

2012-08-22 Thread Garrett Cooper
The following reply was made to PR kern/170713; it has been noted by GNATS. From: Garrett Cooper yaneg...@gmail.com To: Navdeep Parhar n...@freebsd.org Cc: bug-follo...@freebsd.org Subject: Re: kern/170713: [cxgb] Driver must be loaded after boot due to timing issues checking for kern.ipc.nmb

Restarting interfaces and routing table stickiness

2012-09-12 Thread Garrett Cooper
Hi -net! I've been doing some IPv6 testing lately, and one of the issues that I've run into in the past (since at least 7.0-CURRENT) is that if I do `service netif restart foo`, e.g. `service netif restart` multiple times, and have addresses statically configured in rc.conf, more often than

Re: kernel: arpresolve: can't allocate llinfo for 65.59.233.102

2012-09-14 Thread Garrett Cooper
On Thu, Sep 13, 2012 at 11:29 PM, Вадим Уразаев tretul...@gmail.com wrote: I am using two lagg interfaces : lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=400b8VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO ether 00:1b:21:55:a7:c4 nd6

Re: ping: sendto: No buffer space available

2012-09-24 Thread Garrett Cooper
On Mon, Sep 24, 2012 at 8:06 PM, Rudy (bulk) cra...@monkeybrains.net wrote: On 9/24/12 5:01 PM, Ryan Stone wrote: Can you get the output of netstat -I emX -d? ... I suspect that you are seeing the em TX queue fill up. If so you should see output drops reported by the em interface. I do

Re: ping: sendto: No buffer space available

2012-09-25 Thread Garrett Cooper
On Sep 25, 2012, at 12:38 AM, Rudy (bulk) cra...@monkeybrains.net wrote: On 9/24/12 11:52 PM, Hooman Fazaeli wrote: sysctl dev.em.1 From the side having the 'No buffer space available' (FreeBSD 8.3 Sep 13 2012) # sysctl dev.em.1 dev.em.1.%desc: Intel(R) PRO/1000 Network Connection

Re: ixgb TSO performance degrades by ~30% between 7.4 and 8.2/9.0/9.1

2012-10-23 Thread Garrett Cooper
On Tue, Oct 23, 2012 at 4:32 PM, Andre Oppermann opperm...@networx.ch wrote: ... Doing some poking around at the ixgb driver with a card I have at $work using netperf and two machines hooked up over crossover, I discovered that while ixgb's throughput performance was fantastic on 7.3/7.4,

Re: ixgbe TSO performance degrades by ~30% between 7.4 and 8.2/9.0/9.1

2012-10-23 Thread Garrett Cooper
! -Garrett On Tue, Oct 23, 2012 at 3:57 PM, Garrett Cooper yaneg...@gmail.com wrote: Hi, Doing some poking around at the ixgb driver with a card I have at $work using netperf and two machines hooked up over crossover, I discovered that while ixgb's throughput performance was fantastic on 7.3/7.4

Re: ixgb TSO performance degrades by ~30% between 7.4 and 8.2/9.0/9.1

2012-10-24 Thread Garrett Cooper
On Wed, Oct 24, 2012 at 11:11 AM, John Baldwin j...@freebsd.org wrote: ... In this case, if using if_start() helps, then I'd like Garrett to try my current ixgbe patch from the other thread as well to reduce concurrent RX processing. Sounds good. I'll let you guys know when I have

Re: bxe + if_lagg

2012-10-30 Thread Garrett Cooper
On Oct 30, 2012, at 9:45 AM, Tom Judge t...@tomjudge.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30/10/2012 12:12, Adam McDougall wrote: On 10/30/12 11:23, Tom Judge wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to get if_lagg working in an HP

net.inet6.icmp6.nd6_useloopback - what is it supposed to do?

2012-11-21 Thread Garrett Cooper
Hi, I've been TAHI testing FreeBSD 7.x sources for the past couple months and over the course of my testing via the TAHI IPv6 conformance test, I changed the knob value from net.inet6.icmp6.nd6_useloopback=1 - net.inet6.icmp6.nd6_useloopback=0 and ran into a slew of errors with the addr.p2

[RFC] Prune net.inet6.ip6.rr_prune?

2012-11-21 Thread Garrett Cooper
While going through the tree trying to document all of our net.inet6 sysctls, I noticed that net.inet6.ip6.rr_prune is defined, but not actually used anywhere in the stack: netinet6/ip6_var.h:VNET_DECLARE(int, ip6_rr_prune); /* router renumbering prefix netinet6/ip6_var.h:#define

Re: [RFC] Prune net.inet6.ip6.rr_prune?

2012-11-21 Thread Garrett Cooper
On Wed, Nov 21, 2012 at 3:07 PM, Sergey Kandaurov pluk...@gmail.com wrote: On 21 November 2012 22:39, Garrett Cooper yaneg...@gmail.com wrote: While going through the tree trying to document all of our net.inet6 sysctls, I noticed that net.inet6.ip6.rr_prune is defined, but not actually

[RFC] Better document net.inet6 sysctls and prune dead sysctls

2012-11-26 Thread Garrett Cooper
Hi all, As noted in a previous thread, I set out to better document the net.inet6 sysctls after having to tweak the knobs to get things to work for TAHI, and this is the resulting draft (so far). I also took the liberty of removing the ip6_rr_prune and icmp6_redirtimeout sysctls because they

Re: [RFC] Better document net.inet6 sysctls and prune dead sysctls (fwd)

2012-12-01 Thread Garrett Cooper
On Tue, 27 Nov 2012, Bruce Evans wrote: On Mon, 26 Nov 2012, Garrett Cooper wrote: As noted in a previous thread, I set out to better document the net.inet6 sysctls after having to tweak the knobs to get things to work for TAHI, and this is the resulting draft (so far). I also took

Re: [RFC] Better document net.inet6 sysctls and prune dead sysctls (fwd)

2012-12-01 Thread Garrett Cooper
On Fri, 30 Nov 2012, Garrett Cooper wrote: On Tue, 27 Nov 2012, Bruce Evans wrote: On Mon, 26 Nov 2012, Garrett Cooper wrote: As noted in a previous thread, I set out to better document the net.inet6 sysctls after having to tweak the knobs to get things to work for TAHI

Re: [RFC] Better document net.inet6 sysctls and prune dead sysctls (fwd)

2012-12-01 Thread Garrett Cooper
On Sat, Dec 1, 2012 at 1:55 AM, Bruce Evans b...@optusnet.com.au wrote: On Fri, 30 Nov 2012, Garrett Cooper wrote: On Fri, 30 Nov 2012, Garrett Cooper wrote: I got the previous one but was busy. This one seems to only add freebsd-net to the Cc list It would be good to fix the style bugs

Re: Can't create lagg interfaces on recent HEAD (2012.12.05 based sources)

2012-12-10 Thread Garrett Cooper
On Mon, Dec 10, 2012 at 2:03 AM, Gleb Smirnoff gleb...@freebsd.org wrote: On Fri, Dec 07, 2012 at 12:49:18PM -0800, Garrett Cooper wrote: G I can't seem to create a lagg'ed interface on HEAD with ixgbe G (it's failing when creating a cloned interface), whereas creating it G on 9.1-STABLE

Re: Can't create lagg interfaces on recent HEAD (2012.12.05 based sources)

2012-12-10 Thread Garrett Cooper
On Mon, Dec 10, 2012 at 8:03 AM, Garrett Cooper yaneg...@gmail.com wrote: On Mon, Dec 10, 2012 at 2:03 AM, Gleb Smirnoff gleb...@freebsd.org wrote: On Fri, Dec 07, 2012 at 12:49:18PM -0800, Garrett Cooper wrote: G I can't seem to create a lagg'ed interface on HEAD with ixgbe G (it's

Re: Can't create lagg interfaces on recent HEAD (2012.12.05 based sources)

2012-12-10 Thread Garrett Cooper
On Mon, Dec 10, 2012 at 8:11 AM, Garrett Cooper yaneg...@gmail.com wrote: On Mon, Dec 10, 2012 at 8:03 AM, Garrett Cooper yaneg...@gmail.com wrote: On Mon, Dec 10, 2012 at 2:03 AM, Gleb Smirnoff gleb...@freebsd.org wrote: On Fri, Dec 07, 2012 at 12:49:18PM -0800, Garrett Cooper wrote: G I

Re: kern/174311: [em][lagg] Can#39; t create lagg on recent CURRENT (2012.12.05)

2012-12-10 Thread Garrett Cooper
The following reply was made to PR kern/174311; it has been noted by GNATS. From: Garrett Cooper yaneg...@gmail.com To: bug-follo...@freebsd.org, yaneg...@gmail.com Cc: Subject: Re: kern/174311: [em][lagg] Can#39;t create lagg on recent CURRENT (2012.12.05) Date: Mon, 10 Dec 2012 08:20:34

Memory modified after free - by whom?

2012-12-10 Thread Garrett Cooper
I noticed this while checking the logs on one of my test boxes after restarting the network. Any idea where I should start looking into this (has IPv6 enabled but wasn't using it, em/cxgbe/ixgbe interfaces with the ixgbe interfaces lagged previously, but now not)? It looks suspiciously like

Re: Memory modified after free - by whom?

2012-12-10 Thread Garrett Cooper
On Mon, Dec 10, 2012 at 3:21 PM, Adrian Chadd adr...@freebsd.org wrote: On 10 December 2012 15:18, m...@freebsd.org wrote: On Mon, Dec 10, 2012 at 3:10 PM, Adrian Chadd adr...@freebsd.org wrote: 9216 sounds like a jumbo frame mbuf. So the NIC is writing to an mbuf after it's finalised/freed.

LOR with ixgbe+lagg and panic with ixgbe related to an uninitialized stack variable

2012-12-14 Thread Garrett Cooper
Hi, Seeing the following LOR on CURRENT when scping files over two L3 lagged ixgbe interfaces: lock order reversal: 1st 0xfe000d15a118 ix0:rx(1) (ix0:rx(1)) @ /usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe.c:4353 2nd 0xfe01334ada08 if_lagg rwlock (if_lagg rwlock) @

Re: Broken error handling with AF_* and socket(2) [was Re: svn commit: r243965 - in head/sys: kern sys]

2012-12-21 Thread Garrett Cooper
(Don't know why I hit reply instead of reply-all, but oh well... I had one more reply anyhow) On Fri, Dec 21, 2012 at 4:28 AM, Garrett Cooper yaneg...@gmail.com wrote: On Fri, Dec 21, 2012 at 4:11 AM, Garrett Cooper yaneg...@gmail.com wrote: On Thu, Dec 6, 2012 at 6:22 PM, Kevin Lo ke

Re: Memory modified after free - by whom?

2012-12-21 Thread Garrett Cooper
On Mon, Dec 10, 2012 at 3:18 PM, m...@freebsd.org wrote: On Mon, Dec 10, 2012 at 3:10 PM, Adrian Chadd adr...@freebsd.org wrote: 9216 sounds like a jumbo frame mbuf. So the NIC is writing to an mbuf after it's finalised/freed. I have a similar bug showing up on ath(4) RX. :( Compile with

Re: Memory modified after free - by whom?

2012-12-21 Thread Garrett Cooper
On Fri, Dec 21, 2012 at 4:21 PM, Garrett Cooper yaneg...@gmail.com wrote: On Mon, Dec 10, 2012 at 3:18 PM, m...@freebsd.org wrote: On Mon, Dec 10, 2012 at 3:10 PM, Adrian Chadd adr...@freebsd.org wrote: 9216 sounds like a jumbo frame mbuf. So the NIC is writing to an mbuf after it's finalised

Re: Memory modified after free - by whom?

2012-12-21 Thread Garrett Cooper
(clipping off mdf and adrian so they don't get directly spammed :)..) Crud. Continuing the processor after panic didn't work, so it might be a case of cxgbe shot the sheriff or something else in the stack is doing something wonky: db c Memory modified after free 0xff8000405000(9216)

Re: Why chrome and firefox can't connect to almost any SOCKS4 proxy?

2012-12-25 Thread Garrett Cooper
On Mon, Dec 24, 2012 at 10:51 PM, Yuri y...@rawbw.com wrote: I tried many SOCKS4 proxies from http://sockslist.net/proxy/server-socks-hide-ip-address and mostly I am getting this error: Error 120 (net::ERR_SOCKS_CONNECTION_FAILED): Unknown error. Only one of them succeeded. SOCKS5 however

Re: Why chrome and firefox can't connect to almost any SOCKS4 proxy?

2012-12-25 Thread Garrett Cooper
On Tue, Dec 25, 2012 at 11:48 AM, Garrett Cooper yaneg...@gmail.com wrote: On Mon, Dec 24, 2012 at 10:51 PM, Yuri y...@rawbw.com wrote: I tried many SOCKS4 proxies from http://sockslist.net/proxy/server-socks-hide-ip-address and mostly I am getting this error: Error 120 (net

Re: kern/174851: [bxe] [patch] UDP checksum offload is wrong in bxe driver

2012-12-31 Thread Garrett Cooper
On Mon, Dec 31, 2012 at 7:53 AM, Barney Cordoba barney_cord...@yahoo.com wrote: ... Has anyone done an analysis on modern hardware as to whether udp csum offloading is actually beneficial? Even on 2007 hardware I came to the conclusion that using offloading was a negative. Reminds me of the

Re: To SMP or not to SMP

2013-01-07 Thread Garrett Cooper
On Jan 7, 2013, at 6:25 PM, Barney Cordoba wrote: I have a situation where I have to run 9.1 on an old single core box. Does anyone have a handle on whether it's better to build a non SMP kernel or to just use a standard SMP build with just the one core? Thanks. Non-SMP. I don't see

Re: To SMP or not to SMP

2013-01-08 Thread Garrett Cooper
On Jan 8, 2013, at 7:50 AM, Barney Cordoba wrote: --- On Mon, 1/7/13, Erich Dollansky erichsfreebsdl...@alogt.com wrote: From: Erich Dollansky erichsfreebsdl...@alogt.com Subject: Re: To SMP or not to SMP To: Barney Cordoba barney_cord...@yahoo.com Cc: freebsd-net@freebsd.org Date:

Re: oce patches for freebsd-9.1

2013-01-18 Thread Garrett Cooper
On Jan 18, 2013, at 6:12 AM, Sean Bruno seanwbr...@gmail.com wrote: On Fri, 2013-01-18 at 18:10 +0530, Venkat Duvvuru wrote: Hi, I have to submit some patches for Emulex's oce driver. Could you please let me know if http://www.freebsd.org/send-pr.html is the correct way of submitting them?

Re: [PATCH] Netdump for review and testing -- preliminary version

2010-10-15 Thread Garrett Cooper
On Fri, Oct 15, 2010 at 12:25 PM, Robert Watson rwat...@freebsd.org wrote: On Thu, 14 Oct 2010, Attilio Rao wrote: No, what I'm saying is: UMA needs to not call its drain handlers, and ideally not call into VM to fill slabs, from the dumping context. That's easy to implement and will cause

Re: Setting up a running FreeBSD/PCBSD system to enter kgdb on panic

2011-04-04 Thread Garrett Cooper
On Mon, Apr 4, 2011 at 5:26 PM, Julian Elischer jul...@freebsd.org wrote: On 4/4/11 4:35 PM, David Somayajulu wrote: Hi All, Is there some way I can setup a running FreeBSD - (I use PCBSD7.2) - to break into kgdb when the system panics. I am trying to get a stack trace when Fatal trap 12:

tcpdump allocates more mbufs than allowed by bpf(4)?

2011-04-16 Thread Garrett Cooper
Hello, I did some poking around tcpdump for work today, and while doing that I ran into this item... $ sysctl net.bpf net.bpf.zerocopy_enable: 0 net.bpf.maxinsns: 512 net.bpf.maxbufsize: 524288 net.bpf.bufsize: 4096 Before I start tcpdump: $ vmstat -m | grep BPF BPF26

What is slowhz?

2011-07-22 Thread Garrett Cooper
I see this comment, and I've found references to a net.inet.tcp.slowhz in Free, Net, and OpenBSDs, but this value can't be queried anymore. # grep -r slowhz /sys/ /sys/netinet/ip.h:#define IPFRAGTTL 60 /* time to live for frags, slowhz */ Could someone please

Re: What is slowhz?

2011-07-22 Thread Garrett Cooper
On Fri, Jul 22, 2011 at 3:10 PM, Garrett Cooper yaneg...@gmail.com wrote:    I see this comment, and I've found references to a net.inet.tcp.slowhz in Free, Net, and OpenBSDs, but this value can't be queried anymore. # grep -r slowhz /sys/ /sys/netinet/ip.h:#define       IPFRAGTTL       60

LOR in route.c // scope6.c

2011-08-18 Thread Garrett Cooper
Hi, I've periodically seen the following LOR when trying to repro a panic after restarting my network configuration: :lock order reversal: 1st 0xc4142f1c rtentry (rtentry) @ /usr/src/sys/net/routec:362 2nd 0xc3d08604 if_afdata (if_afdata) @ /usr/src/sys/netinet6/scope6.c:417 KDB: stack

Re: 9.0-RC1 panic in tcp_input: negative winow.

2011-10-22 Thread Garrett Cooper
On Sat, 22 Oct 2011, Pawel Jakub Dawidek wrote: The panic message says: panic: tcp_input negative window: tp 0xfe007763e000 rcv_nxt 3718269252 rcv_adv 3718268291 I only have picture of the backtrace: http://people.freebsd.org/~pjd/misc/panic_negative_window.jpg I've

Re: 9.0-RC1 panic in tcp_input: negative winow.

2011-10-22 Thread Garrett Cooper
On Sun, 23 Oct 2011, Lawrence Stewart wrote: On 10/22/11 19:49, Pawel Jakub Dawidek wrote: The panic message says: panic: tcp_input negative window: tp 0xfe007763e000 rcv_nxt 3718269252 rcv_adv 3718268291 I only have picture of the backtrace:

Issues (again) with msk driver on 8-CURRENT amd64

2008-08-20 Thread Garrett Cooper
Hi Pyun! I know it's been a while since I responded, but after reinstalling my system recently I noticed that the issue I mentioned almost a year ago (http://www.mavetju.org/mail/view_thread.php?list=freebsd-netid=2570821thread=yes) with my Marvell chipset card has once again returned. In

Issues with msk driver on 8-CURRENT amd64

2008-08-20 Thread Garrett Cooper
Hi Pyun! I know it's been a while since I responded, but after reinstalling my system recently I noticed that the issue I mentioned almost a year ago (http://www.mavetju.org/mail/view_thread.php?list=freebsd-netid=2570821thread=yes) with my Marvell chipset card has once again returned. In

Re: Issues with msk driver on 8-CURRENT amd64

2008-08-20 Thread Garrett Cooper
Comments inline. On Wed, Aug 20, 2008 at 1:03 AM, Pyun YongHyeon [EMAIL PROTECTED] wrote: On Tue, Aug 19, 2008 at 11:45:48PM -0700, Garrett Cooper wrote: Hi Pyun! I know it's been a while since I responded, but after reinstalling my system recently I noticed that the issue I

Re: Issues with msk driver on 8-CURRENT amd64

2008-08-21 Thread Garrett Cooper
On Wed, Aug 20, 2008 at 8:20 AM, Garrett Cooper [EMAIL PROTECTED] wrote: Comments inline. On Wed, Aug 20, 2008 at 1:03 AM, Pyun YongHyeon [EMAIL PROTECTED] wrote: On Tue, Aug 19, 2008 at 11:45:48PM -0700, Garrett Cooper wrote: Hi Pyun! I know it's been a while since I responded

Annoyance with msk(4) going up and down when initializing interface

2009-01-02 Thread Garrett Cooper
Hi Pyun, I've noticed an issue for a while now with my chipset (I think that this is post an MFC between 7.0 and 7.1, but I could be wrong). Basically, each CPU (with the ULE scheduler) grabs the task to check for media status, goes out and attempts to get an IP, and if the timing of the

Re: HEADSUP: arp-v2 has been committed

2009-01-12 Thread Garrett Cooper
On Mon, Jan 12, 2009 at 10:25 AM, Li, Qing qing...@bluecoat.com wrote: I have revived the RTF_LLINFO definition in route.h. A new kernel option COMPAT_ROUTE_FLAGS is introduced, all for providing binary compatibility for existing ports. I could have made the RTF_LLINFO bit only applicable with

Re: HEADSUP: arp-v2 has been committed

2009-01-12 Thread Garrett Cooper
On Mon, Jan 12, 2009 at 12:37 PM, Julian Elischer jul...@elischer.org wrote: Garrett Cooper wrote: I think setting it to a value of 0 has two good points... In code that does: if (XXX RTF_LLINFO) { yyy() } the optimiser should simply remove the code, or at worst give an error

Re: kern/144680: em(4) problem with dual-port adapter

2010-03-12 Thread Garrett Cooper
The following reply was made to PR kern/144680; it has been noted by GNATS. From: Garrett Cooper yanef...@gmail.com To: Pavel Argentov argent...@rtelekom.ru Cc: freebsd-gnats-sub...@freebsd.org Subject: Re: kern/144680: em(4) problem with dual-port adapter Date: Fri, 12 Mar 2010 14:13:47 -0800

Re: Common OS/kernel code between freebsd and linux

2010-05-22 Thread Garrett Cooper
On Sat, May 22, 2010 at 5:09 AM, Anjali Kulkarni anj...@juniper.net wrote: Hi Folks, I am not sure the right forum to ask this question - is there any effort done to find portable code between different OSes, particularly freebsd and linux? Specifically, the networking layer could be

Deterministic lockup / panic in networking stack with ipfw / natd enabled on recent amd64 STABLE / CURRENT

2010-06-15 Thread Garrett Cooper
Hi, I'm experiencing a deterministic situation on a development box I manage when I do the following to enable ipfw and natd to bridge a network with two bce(4) enabled NICs, where if I do the following steps below, then try to push a few tcp frames through, the kernel either hardlocks, or

Poor performance with natd/ipfw and TSO enabled on bce(4) card and 8.1-PRERELEASE

2010-06-30 Thread Garrett Cooper
Hi, Just an observation I made while transferring a file: # time scp floppy.img somehost: Password: floppy.img100% 1440KB 13.7KB/s 01:45 real1m59.400s user0m0.031s sys 0m0.028s # sysctl net.inet.tcp.tso=0 net.inet.tcp.tso: 1 - 0 # time scp

Re: Poor performance with natd/ipfw and TSO enabled on bce(4) card and 8.1-PRERELEASE

2010-07-01 Thread Garrett Cooper
On Thu, Jul 1, 2010 at 9:19 PM, Ian Smith smi...@nimnet.asn.au wrote: On Thu, 1 Jul 2010, Garrett Cooper wrote:   On Thu, Jul 1, 2010 at 4:54 PM, Pyun YongHyeon pyu...@gmail.com wrote:   On Wed, Jun 30, 2010 at 07:00:53PM -0700, Garrett Cooper wrote:   Hi,       Just an observation I made

Re: Poor performance with natd/ipfw and TSO enabled on bce(4) card and 8.1-PRERELEASE

2010-07-01 Thread Garrett Cooper
On Thu, Jul 1, 2010 at 7:20 PM, Aleksandr A Babaylov @babolo.ru wrote: On Thu, Jul 01, 2010 at 04:54:47PM -0700, Pyun YongHyeon wrote: On Wed, Jun 30, 2010 at 07:00:53PM -0700, Garrett Cooper wrote: Hi,     Just an observation I made while transferring a file: # time scp floppy.img

Re: Poor performance with natd/ipfw and TSO enabled on bce(4) card and 8.1-PRERELEASE

2010-07-02 Thread Garrett Cooper
On Thu, Jul 1, 2010 at 10:32 PM, Garrett Cooper yanef...@gmail.com wrote: On Thu, Jul 1, 2010 at 7:20 PM, Aleksandr A Babaylov @babolo.ru wrote: On Thu, Jul 01, 2010 at 04:54:47PM -0700, Pyun YongHyeon wrote: On Wed, Jun 30, 2010 at 07:00:53PM -0700, Garrett Cooper wrote: Hi,     Just

Re: Deterministic lockup / panic in networking stack with ipfw / natd enabled on recent amd64 STABLE / CURRENT

2010-07-02 Thread Garrett Cooper
On Fri, Jul 2, 2010 at 8:26 PM, Ian Smith smi...@nimnet.asn.au wrote: On Sat, 3 Jul 2010, Ian Smith wrote:   On Tue, 15 Jun 2010, Garrett Cooper wrote:     Hi,         I'm experiencing a deterministic situation on a development box I     manage when I do the following to enable ipfw and natd

Re: em driver packet loss in 6.2 amd64 (RELEASE and STABLE)

2007-04-02 Thread Garrett Cooper
Rob Watt wrote: Hi, In 6.1-RELEASE there were a number of em driver stability and performance issues. We would regularly see packet loss at low to moderate load. A number of patches were applied that completely fixed the problem for us. We installed 6.2-RELEASE, but even though 6.2 is

Re: Unix friendly network testbench for FreeBSD?

2007-05-02 Thread Garrett Cooper
Julian Elischer wrote: [EMAIL PROTECTED] wrote: I'd go with 4.11 or wait the extra month or so.. That's true, but unfortunately... a) 7-CURRENT isn't production quality, but it's getting closer all the time. b) I need to start work soon, sometime within the next few weeks at the latest. I

Re: Marvell chipsets on 8-CURRENT and XP x64 won't talk with one another

2007-10-19 Thread Garrett Cooper
Mike Silbersack wrote: On Fri, 19 Oct 2007, Garrett Cooper wrote: Hi, In an effort to connect my 2 machines up -- the FreeBSD 8-CURRENT and the Windows box, for filesharing via SMB I've installed samba3 and done that song and dance to get things to work. The really weird thing

Marvell chipsets on 8-CURRENT and XP x64 won't talk with one another

2007-10-19 Thread Garrett Cooper
Hi, In an effort to connect my 2 machines up -- the FreeBSD 8-CURRENT and the Windows box, for filesharing via SMB I've installed samba3 and done that song and dance to get things to work. The really weird thing is that my 2 machines will talk via ICMP with one another, but not via TCP

Re: Marvell chipsets on 8-CURRENT and XP x64 won't talk with one another

2007-10-19 Thread Garrett Cooper
Mike Silbersack wrote: On Fri, 19 Oct 2007, Garrett Cooper wrote: Hi, In an effort to connect my 2 machines up -- the FreeBSD 8-CURRENT and the Windows box, for filesharing via SMB I've installed samba3 and done that song and dance to get things to work. The really weird thing

Re: Marvell chipsets on 8-CURRENT and XP x64 won't talk with one another

2007-10-24 Thread Garrett Cooper
Mike Silbersack wrote: On Fri, 19 Oct 2007, Garrett Cooper wrote: Just to clarify, how are the two hooked together? Is it over gigabit switch, a 10mbps hub, or directly cabled together? -Mike Sure. They're both connected over a gigabit switch, but the Windows driver's kind of sketchy

Re: Marvell chipsets on 8-CURRENT and XP x64 won't talk with one another

2007-10-27 Thread Garrett Cooper
Tom Judge wrote: Garrett Cooper wrote: Mike Silbersack wrote: On Fri, 19 Oct 2007, Garrett Cooper wrote: Just to clarify, how are the two hooked together? Is it over gigabit switch, a 10mbps hub, or directly cabled together? -Mike Sure. They're both connected over a gigabit switch

Re: Marvell chipsets on 8-CURRENT and XP x64 won't talk with one another

2007-10-31 Thread Garrett Cooper
Garrett Cooper wrote: Tom Judge wrote: Garrett Cooper wrote: Mike Silbersack wrote: On Fri, 19 Oct 2007, Garrett Cooper wrote: Just to clarify, how are the two hooked together? Is it over gigabit switch, a 10mbps hub, or directly cabled together? -Mike Sure. They're both connected

Re: Marvell chipsets on 8-CURRENT and XP x64 won't talk with one another

2007-11-05 Thread Garrett Cooper
On Oct 31, 2007, at 9:50 AM, Garrett Cooper wrote: Garrett Cooper wrote: Tom Judge wrote: Garrett Cooper wrote: Mike Silbersack wrote: On Fri, 19 Oct 2007, Garrett Cooper wrote: Just to clarify, how are the two hooked together? Is it over gigabit switch, a 10mbps hub, or directly

Re: Marvell chipsets on 8-CURRENT and XP x64 won't talk with one another

2007-11-05 Thread Garrett Cooper
Garrett Cooper wrote: On Oct 31, 2007, at 9:50 AM, Garrett Cooper wrote: I'm running tcpdump on my Mac and I noted a lot of 'bad checksums' (0x081c was the official error in all cases), then consulted the msk driver. It appears that there's a bug with Yukon II chipsets with the hardware

Re: Marvell chipsets on 8-CURRENT and XP x64 won't talk with one another

2007-11-07 Thread Garrett Cooper
Pyun YongHyeon wrote: On Mon, Nov 05, 2007 at 03:12:34PM -0800, Garrett Cooper wrote: Garrett Cooper wrote: On Oct 31, 2007, at 9:50 AM, Garrett Cooper wrote: I'm running tcpdump on my Mac and I noted a lot of 'bad checksums' (0x081c was the official error in all cases), then consulted

ipf : Does RPC port auto-adding interface exist?

2006-12-15 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I hate sort of cross-posting like this, but I haven't received any word back from anyone on the -questions list yet.. Anyhow, I was wondering if some sort of interface existed with ipf already where ipf would automatically add

Re: maximum connections for mpd

2006-12-17 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nyoman Bogi Aditya Karna wrote: our VPN server is using mpd3.18 + freebsd6.1 and currently we provide 250 VPN connections for our students and it works well. but when i try to make 500 connections the mpd failed to run. i suspect it was the

Non-accessible NFS share via SMB and NFS lag

2006-12-21 Thread Garrett Cooper
Hello, I am having an issue with NFS and SMB on two FreeBSD machines. The particularly strange thing is that this problem didn't occur when I ran Gentoo Linux on PC_2. Setup: 1. PC_1 and PC_2 share with each other via NFS. 2. Both PCs run patched versions of FreeBSD 6.1 RELEASE (see

Why is rpcbind using port 906?

2007-01-09 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The last time I checked rpcbind was supposed to run on port 111 [EMAIL PROTECTED] /home/gcooper]# uname -a FreeBSD hoover.localdomain 6.1-RELEASE-p11 FreeBSD 6.1-RELEASE-p11 #18: Thu Dec 21 09:00:56 PST 2006 [EMAIL

Re: GPL issues around OFED code in FreeBSD 9.1

2015-09-03 Thread Garrett Cooper
> On Sep 3, 2015, at 13:18, Jeff Meegan wrote: > > According to their EULA, it is BSD licensed. > > http://www.mellanox.com/page/mlnx_ofed_eula?mtag=linux_sw_drivers Yes, but the 9.1 version wasn't strictly from Mellanox.. I don't know if I'd use the pre-Mellanox version