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 though, tbh. Thanks,

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

2014-07-08 Thread Garrett Cooper
://github.com/gvnn3/conductor >> >> > 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 t

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" 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 > the test

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=8002 metric 0 mtu 65520 >

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" > mailto: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 c

Re: Create bond on Infiniband ports

2013-05-28 Thread Garrett Cooper
On Tue, May 28, 2013 at 4:35 AM, Alex Liptsin 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 hdr=0x00 >

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 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 request

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 backt

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 Pl

Re: oce patches for freebsd-9.1

2013-01-18 Thread Garrett Cooper
On Jan 18, 2013, at 6:12 AM, Sean Bruno 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? >> >> /Ve

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 wrote: > >> From: Erich Dollansky >> Subject: Re: To SMP or not to SMP >> To: "Barney Cordoba" >> Cc: freebsd-net@freebsd.org >> Date: Monday, January 7, 2013, 10:56 PM >> Hi, >> >> On Mon, 7 Jan 2013 18:2

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 s

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 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 days when people we

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 wrote: > On Mon, Dec 24, 2012 at 10:51 PM, Yuri 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_

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 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 works ok. >

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) va

Re: "Memory modified after free" - by whom?

2012-12-21 Thread Garrett Cooper
On Fri, Dec 21, 2012 at 4:21 PM, Garrett Cooper wrote: > On Mon, Dec 10, 2012 at 3:18 PM, wrote: >> On Mon, Dec 10, 2012 at 3:10 PM, Adrian Chadd wrote: >>> 9216 sounds like a jumbo frame mbuf. So the NIC is writing to an mbuf >>> after it's finalised/fre

Re: "Memory modified after free" - by whom?

2012-12-21 Thread Garrett Cooper
On Mon, Dec 10, 2012 at 3:18 PM, wrote: > On Mon, Dec 10, 2012 at 3:10 PM, Adrian Chadd 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 DEBUG_MEMGUARD in the ker

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 wrote: > On Fri, Dec 21, 2012 at 4:11 AM, Garrett Cooper wrote: >> On Thu, Dec 6, 2012 at 6:22 PM, Kevin Lo wrote: >>> Author:

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

2012-12-21 Thread Garrett Cooper
On Thu, Dec 6, 2012 at 6:22 PM, Kevin Lo wrote: > Author: kevlo > Date: Fri Dec 7 02:22:48 2012 > New Revision: 243965 > URL: http://svnweb.freebsd.org/changeset/base/243965 > > Log: > - according to POSIX, make socket(2) return EAFNOSUPPORT rather than > EPROTONOSUPPORT if the address fami

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) @ /usr/src/sys/mod

Re: "Memory modified after free" - by whom?

2012-12-10 Thread Garrett Cooper
On Mon, Dec 10, 2012 at 3:21 PM, Adrian Chadd wrote: > On 10 December 2012 15:18, wrote: >> On Mon, Dec 10, 2012 at 3:10 PM, Adrian Chadd 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 a

"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 the

Re: kern/174311: [em][lagg] Can' 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 To: bug-follo...@freebsd.org, yaneg...@gmail.com Cc: Subject: Re: kern/174311: [em][lagg] Can't create lagg on recent CURRENT (2012.12.05) Date: Mon, 10 Dec 2012 08:20:34 -0800 Please

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 wrote: > On Mon, Dec 10, 2012 at 8:03 AM, Garrett Cooper wrote: >> On Mon, Dec 10, 2012 at 2:03 AM, Gleb Smirnoff wrote: >>> On Fri, Dec 07, 2012 at 12:49:18PM -0800, Garrett Cooper wrote: >>> G> I can't se

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 wrote: > On Mon, Dec 10, 2012 at 2:03 AM, Gleb Smirnoff 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>

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 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 &

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

2012-12-07 Thread Garrett Cooper
I can't seem to create a lagg'ed interface on HEAD with ixgbe (it's failing when creating a cloned interface), whereas creating it on 9.1-STABLE built from a couple weeks ago just worked. Ideas? Thanks, -Garrett # cat /root/ISI-GENERIC include GENERIC ident ISI-GENERIC makeo

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 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 woul

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, and this is the

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 the

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

2012-11-26 Thread Garrett Cooper
On Mon, Nov 26, 2012 at 4:34 PM, 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

[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] Prune net.inet6.ip6.rr_prune?

2012-11-21 Thread Garrett Cooper
On Wed, Nov 21, 2012 at 3:07 PM, Sergey Kandaurov wrote: > On 21 November 2012 22:39, Garrett Cooper 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 used

[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 V_ip6_rr_p

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 pha

Infiniband list available

2012-11-09 Thread Garrett Cooper
Hi all, With the help of postmaster, a new Infiniband list has been created for FreeBSD. If you are interested in IB on FreeBSD, please subscribe to the list. My group (Isilon) will be providing more details about the porting effort being done from our end to the latest 1.5.x and the group is w

Re: bxe + if_lagg

2012-10-30 Thread Garrett Cooper
On Oct 30, 2012, at 9:45 AM, Tom Judge 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 b

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 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 everything setup aga

Re: ixgbe 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 3:57 PM, Garrett Cooper 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 throughp

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 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, thoughput p

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 3:57 PM, Garrett Cooper 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

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

2012-10-23 Thread Garrett Cooper
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, thoughput performance of the card is degraded on 8.2/9.0/9.1 by ~30% (9400Mbps on 7.4

Re: kern/92880: [libc] [patch] almost rewritten inet_network(3) function

2012-10-23 Thread Garrett Cooper
On Tue, Oct 23, 2012 at 10:37 AM, Adrian Chadd wrote: > ... don't suppose you want to throw this into a test case somewhere in the > tree? > > The new ATF import would be ideal for this. :) Indeed. The only problem is that bsd.test.mk is missing so you can't really integrate testcases into t

Re: enc(4) uninitialized in -current?

2012-09-26 Thread Garrett Cooper
On Wed, Sep 26, 2012 at 3:33 PM, Olivier Cochard-Labbé wrote: > On Thu, Sep 27, 2012 at 12:10 AM, Marcin Cieslak wrote: >> I have just updated by 9.0-something laptop to 10.0-CURRENT r240948 >> and it very quickly panics after enabling network with IPsec >> (I am using IPsec w/racoon for IPv4 ove

Re: ping: sendto: No buffer space available

2012-09-25 Thread Garrett Cooper
On Sep 25, 2012, at 12:38 AM, "Rudy (bulk)" 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 7.3.2 > dev.em.

Re: ping: sendto: No buffer space available

2012-09-24 Thread Garrett Cooper
On Mon, Sep 24, 2012 at 8:06 PM, Rudy (bulk) 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 see 20

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

2012-09-13 Thread Garrett Cooper
On Thu, Sep 13, 2012 at 11:29 PM, Вадим Уразаев wrote: > I am using two lagg interfaces : > lagg0: flags=8843 metric 0 mtu 1500 > options=400b8 > ether 00:1b:21:55:a7:c4 > nd6 options=9 > media: Ethernet autoselect > status: active > laggproto lacp > laggport: igb1 flags=1c > laggport: igb0 flags=

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 `, e.g. `service netif restart` multiple times, and have addresses statically configured in rc.conf, more often than not th

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 To: Navdeep Parhar 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* values set via /boot/loader.conf

Re: bin/137641: ifconfig(8): various problems with "vlan_device.vlan_id" syntax

2012-08-17 Thread Garrett Cooper
The following reply was made to PR bin/137641; it has been noted by GNATS. From: Garrett Cooper To: bug-follo...@freebsd.org, vladimir.shebalden...@gmail.com Cc: Subject: Re: bin/137641: ifconfig(8): various problems with "vlan_device.vlan_id" syntax Date: Fri, 17 Aug 2012 13:53:55

Re: bin/137641: ifconfig(8): various problems with "vlan_device.vlan_id" syntax

2012-08-17 Thread Garrett Cooper
The following reply was made to PR bin/137641; it has been noted by GNATS. From: Garrett Cooper To: bug-follo...@freebsd.org, vladimir.shebalden...@gmail.com Cc: Subject: Re: bin/137641: ifconfig(8): various problems with "vlan_device.vlan_id" syntax Date: Fri, 17 Aug 2012 13:0

Re: ifconfig accepting hostname as ipv4 address

2012-06-09 Thread Garrett Cooper
On Sat, Jun 9, 2012 at 12:23 AM, Wojciech Puchar 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 behavior? >> > wer

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: http://people.freebsd.org/~pjd/mis

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 see

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 backt

Re: What is slowhz?

2011-07-22 Thread Garrett Cooper
On Fri, Jul 22, 2011 at 3:10 PM, Garrett Cooper 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:#def

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 con

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

2011-04-15 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 BPF2612

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 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: page faul

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 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 the dump to

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 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

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 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: >

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 tran

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 wrote: > On Thu, 1 Jul 2010, Garrett Cooper wrote: >  > On Thu, Jul 1, 2010 at 4:54 PM, Pyun YongHyeon wrote: >  > > On Wed, Jun 30, 2010 at 07:00:53PM -0700, Garrett Cooper wrote: >  > >> Hi, >  > >>     Just

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 4:54 PM, 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 somehost: >> Password: >> floppy.img

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 f

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 pani

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 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 portable between the

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 To: Pavel Argentov 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 On Fri, Mar 12, 2010 at 12:25 AM, Pavel

Re: HEADSUP: arp-v2 has been committed

2009-01-12 Thread Garrett Cooper
On Mon, Jan 12, 2009 at 12:37 PM, Julian Elischer 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, >

Re: HEADSUP: arp-v2 has been committed

2009-01-12 Thread Garrett Cooper
On Mon, Jan 12, 2009 at 10:25 AM, Li, Qing 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 _KERNEL. > > W

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 s

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! >&g

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 sy

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-net&id=2570821&thread=yes) with my Marvell chipset card has once again returned. In t

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-net&id=2570821&thread=yes) with my Marvell chipset card has once again returned. In t

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

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 chipset

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-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 conn

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 s

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

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 is

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 is

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 an

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: 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 suppo

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 PROTECTED]:/usr/obj/usr/src/sys/HOOV

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 below)

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 w

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 b