Re: [net] protecting interfaces from races between control and data ?

2013-08-05 Thread Navdeep Parhar
On 08/05/13 09:15, Luigi Rizzo wrote: On Mon, Aug 5, 2013 at 5:46 PM, Adrian Chadd adr...@freebsd.org wrote: On 5 August 2013 07:59, Bryan Venteicher bry...@daemoninthecloset.org wrote: What I've done in my drivers is: * Lock the core mutex * Clear IFF_DRV_RUNNING * Lock/unlock

Re: [HEADS UP] enabling LLDB debugger by default on amd64

2013-12-17 Thread Navdeep Parhar
Any plans to get kernel debugging working? On 12/17/13 14:15, Ed Maste wrote: The in-tree snapshot of LLDB is at a point where it's usable and suitable for wider testing on amd64, and so I intend to enable it by default in the near future. Further information on the FreeBSD port of LLDB is

Re: awk(1) segfaults when building kernel modules

2011-08-10 Thread Navdeep Parhar
On Wed, Aug 10, 2011 at 11:12 AM, Test Rat ttse...@gmail.com wrote: `make -s buildkernel' seems to contain lots of segfaults after recent update of one-true-awk in r224731. It chokes on sys/conf/kmod_syms.awk. ... Anyone else? I see this too. ___

duplicate output when dumping from ddb

2011-08-10 Thread Navdeep Parhar
dump or call doadump from within ddb display duplicate output. This is with a serial console. I have console=comconsole,vidconsole in /boot/loader.conf and -D -S115200 in /boot.config. db dump Dumping 1883 out of 12255 MB:Dumping 1883 out of 12255

Re: SVN - CVS exporter issue?

2011-08-11 Thread Navdeep Parhar
On Thu, Aug 11, 2011 at 07:26:36PM -0400, Michael Butler wrote: I'm not seeing any of today's SVN src updates flow through to CVS/CSUP. Is it broken? Could it be because of r224768? I vaguely recall that svn mv bothers whatever it is that converts from svn - cvs. Regards, Navdeep

Re: buildworld race?

2011-11-22 Thread Navdeep Parhar
On Tue, Nov 22, 2011 at 10:35 AM, Andreas Tobler andreast-l...@fgznet.ch wrote: Anyone seen this too? Yes, I've been running into this error too. Navdeep make: don't know how to make /usr/obj/export/devel/fbsd/src/tmp/usr/lib/libkrb5.a. Stop *** Error code 2 Happens on amd64 and

Re: Supermicro X8DT6 crashes in bootloader after r239066

2012-10-30 Thread Navdeep Parhar
On Tue, Oct 30, 2012 at 08:34:53PM -0400, Ryan Stone wrote: I have a X8DT6 that appears to crash in the bootloader from HEAD. I say appears to because it's difficult to really see what the problem is; the system reboots pretty much as soon as it enters the FreeBSD boot process. The problem

Re: Supermicro X8DT6 crashes in bootloader after r239066

2012-11-14 Thread Navdeep Parhar
On 11/14/12 03:17, Andriy Gapon wrote: on 31/10/2012 07:31 Navdeep Parhar said the following: I have one of these X8DT6 systems. It has grub2 as the primary boot loader which then loads zfsloader. Many weeks back I updated the BIOS, grub, and FreeBSD and ran into a similar problem

Re: Memory modified after free - by whom?

2012-12-10 Thread Navdeep Parhar
On Mon, Dec 10, 2012 at 05:37:17PM -0800, Garrett Cooper wrote: 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

Re: NICs not in GENERIC

2012-02-21 Thread Navdeep Parhar
On Tue, Feb 21, 2012 at 03:56:56PM +0100, Alexander Leidinger wrote: Hi, is there a specific reason that the following NICs are not (or shall not be) in GENERIC (at least on i386)? No specific reason for these two: - if_cxgb - if_cxgbe But I do prefer to load them as modules (and as

Re: NICs not in GENERIC

2012-02-21 Thread Navdeep Parhar
On Tue, Feb 21, 2012 at 05:44:01PM -0700, Scott Long wrote: On Feb 21, 2012, at 10:51 AM, Navdeep Parhar wrote: On Tue, Feb 21, 2012 at 03:56:56PM +0100, Alexander Leidinger wrote: Hi, is there a specific reason that the following NICs are not (or shall not be) in GENERIC

Re: -CURRENT userland regression

2013-02-20 Thread Navdeep Parhar
On 02/20/13 14:14, Xin Li wrote: Hi, It seems that fresh -HEAD would give an unusable kernel that overwrites screen buffer in a way making it impossible to debug. Using an old world source to do 'make buildworld buildkernel' results in a (mostly: I have some strange USB issue right now and

Re: -CURRENT userland regression

2013-02-20 Thread Navdeep Parhar
On 02/20/13 14:25, Konstantin Belousov wrote: On Wed, Feb 20, 2013 at 02:21:50PM -0800, Navdeep Parhar wrote: On 02/20/13 14:14, Xin Li wrote: Hi, It seems that fresh -HEAD would give an unusable kernel that overwrites screen buffer in a way making it impossible to debug. Using an old world

Re: -CURRENT userland regression

2013-02-20 Thread Navdeep Parhar
On 02/20/13 14:47, Konstantin Belousov wrote: On Wed, Feb 20, 2013 at 02:33:23PM -0800, Navdeep Parhar wrote: On 02/20/13 14:25, Konstantin Belousov wrote: On Wed, Feb 20, 2013 at 02:21:50PM -0800, Navdeep Parhar wrote: On 02/20/13 14:14, Xin Li wrote: Hi, It seems that fresh -HEAD would

Re: r247095 Boot Failure

2013-02-21 Thread Navdeep Parhar
On Thu, Feb 21, 2013 at 10:28:15AM -0500, Shawn Webb wrote: I'm on r247095. My box is failing to boot on a Dell Precision T7500. I'm running ZFS as root with a mirrored root pool. Here's a pic of the box failing:

Re: r247095 Boot Failure

2013-02-21 Thread Navdeep Parhar
On Thu, Feb 21, 2013 at 03:38:41PM +, matt wrote: On Thu, Feb 21, 2013 at 3:34 PM, Navdeep Parhar npar...@gmail.com wrote: Take a look at the -CURRENT userland regression thread. You may be able to boot if you choose safe mode in the boot loader menu. Regards, Navdeep What

DTrace gone quiet?

2013-04-16 Thread Navdeep Parhar
I just upgraded my kernel and userspace to head (r249552) and I notice that DTrace doesn't output anything until I hit ctrl-c. All previous hits on the probe appear lost. For example: # dtrace -n 'fbt::ether_output:entry' dtrace: description 'fbt::ether_output:entry' matched 1 probe (No output

Re: DTrace gone quiet?

2013-04-16 Thread Navdeep Parhar
On 04/16/13 13:03, Ryan Stone wrote: On Tue, Apr 16, 2013 at 3:57 PM, Navdeep Parhar n...@freebsd.org mailto:n...@freebsd.org wrote: I just upgraded my kernel and userspace to head (r249552) and I notice that DTrace doesn't output anything until I hit ctrl-c. All previous hits

Re: My incremental buildworlds started failing

2013-04-16 Thread Navdeep Parhar
On Tue, Apr 16, 2013 at 10:06 AM, Tijl Coosemans t...@coosemans.org wrote: On 2013-04-16 18:39, Dimitry Andric wrote: On Apr 16, 2013, at 18:08, Bjoern A. Zeeb wrote: I have been seeing this on incremental buildworlds for a day or two now? ANyone can throw the cluebat at me? If that

Re: [head tinderbox] failure on sparc64/sparc64

2013-07-11 Thread Navdeep Parhar
On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote: I don't get why this is dying. any ideas? Maybe because sparc64's ucontext.h is getting pulled in, and it has this: #define mc_flagsmc_global[0] Regards, Navdeep adrian On 10 July 2013 21:18, FreeBSD Tinderbox

Re: [head tinderbox] failure on sparc64/sparc64

2013-07-11 Thread Navdeep Parhar
On Thu, Jul 11, 2013 at 12:07:33AM -0700, Adrian Chadd wrote: On 11 July 2013 00:05, Navdeep Parhar npar...@gmail.com wrote: On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote: I don't get why this is dying. any ideas? Maybe because sparc64's ucontext.h is getting pulled

Re: FreeBSD iscsi target

2014-07-02 Thread Navdeep Parhar
On Wed, Jul 02, 2014 at 03:26:09PM +0400, Slawa Olhovchenkov wrote: On Tue, Jul 01, 2014 at 10:43:08PM -0700, Kevin Oberman wrote: On Tue, Jul 1, 2014 at 4:13 PM, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Tue, Jul 01, 2014 at 11:12:52AM +0200, Edward Tomasz Napierala wrote:

Re: [RFC] Add support for changing the flow ID of TCP connections

2014-07-08 Thread Navdeep Parhar
On 07/08/14 10:46, Hans Petter Selasky wrote: Hi, I'm working on a new feature which will allow TCP connections to be timing controlled by the ethernet hardware driver, actually the mlxen driver. The main missing piece in the kernel is to allow the mbuf's flowid value to be overwritten in

Re: [RFC] Add support for changing the flow ID of TCP connections

2014-07-09 Thread Navdeep Parhar
On Wed, Jul 09, 2014 at 04:36:53PM +0200, Hans Petter Selasky wrote: On 07/08/14 21:17, Navdeep Parhar wrote: ... I think we need to design this to be as generic as possible. I have quite a bit of code that does this stuff but I haven't pushed it upstream or even offered it for review (yet

Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-17 Thread Navdeep Parhar
On 07/17/14 13:12, Adrian Chadd wrote: On 17 July 2014 13:03, Alberto Mijares amijar...@gmail.com wrote: On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd adr...@freebsd.org wrote: Hi! 3) The binary packages need to work out of the box 4) .. which means, when you do things like pkg install

Re: [RFC] Add support for hardware transmit rate limiting queues [WAS: Add support for changing the flow ID of TCP connections]

2014-08-20 Thread Navdeep Parhar
On 08/20/14 00:34, Hans Petter Selasky wrote: Hi, A month has passed since the last e-mail on this topic, and in the meanwhile some new patches have been created and tested: Basically the approach has been changed a little bit: - The creation of hardware transmit rings has been made

Re: [RFC] Add support for hardware transmit rate limiting queues [WAS: Add support for changing the flow ID of TCP connections]

2014-08-20 Thread Navdeep Parhar
On 08/20/14 12:25, Hans Petter Selasky wrote: On 08/20/14 20:44, Navdeep Parhar wrote: On 08/20/14 00:34, Hans Petter Selasky wrote: Hi, A month has passed since the last e-mail on this topic, and in the meanwhile some new patches have been created and tested: Basically the approach has been

Re: KGDB stack traces in the kernel.

2011-04-05 Thread Navdeep Parhar
On Tue, Apr 5, 2011 at 1:33 PM, Julian Elischer jul...@freebsd.org wrote: On 4/4/11 6:04 PM, Justin Hibbits wrote: On Apr 4, 2011, at 6:57 PM, Julian Elischer wrote: is there anyone here with enough gdb/kgdb source experience to know what we would need to put on the stack at fork_exit() to

Does makeoptions WITH_CTF=yes actually work?

2010-04-14 Thread Navdeep Parhar
I read the UPDATING entry that accompanied r206082 and added WITH_CTF=yes to my kernel config, hoping to get CTF information in the kernel and all modules. No luck. It appears that NO_CTF remains set to 1 inspite of the undef NO_CTF in various .mk files and ctfconvert never runs. Can anyone

Re: Does makeoptions WITH_CTF=yes actually work?

2010-04-14 Thread Navdeep Parhar
On Wed, Apr 14, 2010 at 1:58 AM, Alexander Leidinger netch...@freebsd.org wrote: Quoting Navdeep Parhar npar...@gmail.com (from Wed, 14 Apr 2010 01:33:29 -0700): I read the UPDATING entry that accompanied r206082 and added WITH_CTF=yes to my kernel config, hoping to get CTF information

Re: Does makeoptions WITH_CTF=yes actually work?

2010-04-14 Thread Navdeep Parhar
On Wed, Apr 14, 2010 at 01:23:42PM +0200, Alexander Leidinger wrote: Quoting Navdeep Parhar npar...@gmail.com (from Wed, 14 Apr 2010 02:31:30 -0700): On Wed, Apr 14, 2010 at 1:58 AM, Alexander Leidinger netch...@freebsd.org wrote: Quoting Navdeep Parhar npar...@gmail.com (from Wed, 14 Apr

Re: Does makeoptions WITH_CTF=yes actually work?

2010-04-21 Thread Navdeep Parhar
On Fri, Apr 16, 2010 at 03:51:40PM +0200, Alexander Leidinger wrote: Quoting Navdeep Parhar npar...@gmail.com (from Wed, 14 Apr 2010 11:35:40 -0700): Have you or anyone else ever used buildkernel successfully with makeoptions WITH_CTF=yes in the conf file? Something as simple as this does

Re: Why is intr taking up so much cpu?

2010-07-19 Thread Navdeep Parhar
On Mon, Jul 19, 2010 at 07:33:01PM -0700, Doug Barton wrote: On Mon, 19 Jul 2010, Chris Ruiz wrote: On Mon, Jul 19, 2010 at 8:03 PM, Doug Barton do...@freebsd.org wrote: I added options KDTRACE_HOOKS to my kernel config, built a new kernel, and rebooted. I decided to try your script before

Re: Can't compile today's kernel: sys/cam/cam.c + CTF

2010-07-23 Thread Navdeep Parhar
On Fri, Jul 23, 2010 at 3:22 PM, Doug Barton do...@freebsd.org wrote: I'm getting this with r210435. World built fine: cc -c -x assembler-with-cpp -DLOCORE -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline

Re: Can't compile today's kernel: sys/cam/cam.c + CTF

2010-07-23 Thread Navdeep Parhar
On Fri, Jul 23, 2010 at 3:40 PM, Doug Barton do...@freebsd.org wrote: On Fri, 23 Jul 2010, Navdeep Parhar wrote: On Fri, Jul 23, 2010 at 3:22 PM, Doug Barton do...@freebsd.org wrote: I'm getting this with r210435. World built fine: cc -c -x assembler-with-cpp -DLOCORE -O -pipe  -std=c99 -g

panic in sysctl code in recent head

2015-07-30 Thread Navdeep Parhar
A kernel built from head as of today panics with this on loading a module. Does anyone else see this too? panic: sleepq_add: td 0xf8000e7f89e0 to sleep on wchan 0x824056c8 with sleeping prohibited cpuid = 3 KDB: stack backtrace: db_trace_self_wrapper() at

Re: -current broken when MAKEOBJDIRPREFIX is set (was: src is on NFS)

2015-07-20 Thread Navdeep Parhar
On Sun, Jul 19, 2015 at 11:05:48PM -0700, Don Lewis wrote: On 19 Jul, O'Connor, Daniel wrote: On 19 Jul 2015, at 02:56, Simon J. Gerraty s...@juniper.net wrote: O'Connor, Daniel dar...@dons.net.au wrote: However, Crochet _does_ build on the NFS client _and_ when the source tree

Re: kgdb ported to devel/gdb

2015-10-02 Thread Navdeep Parhar
On Fri, Oct 02, 2015 at 09:19:13AM +0300, Andriy Gapon wrote: > On 01/09/2015 00:32, John Baldwin wrote: > > Over the past several months I have ported kgdb to the version of gdb in > > ports. > > I have a pending patch to the gdb port to add fork following, but once that > > is > > done (and

Re: 11.0 -r300944 build*KERNEL* via amd64-gcc fails for: .../dev/cxgb/ulp/tom/cxgb_listen.c:926:13: error: redundant redeclaration of 'tcp_dooptions'; cxgbe has an issue too

2016-06-01 Thread Navdeep Parhar
On Tue, May 31, 2016 at 10:49:29PM -0700, Mark Millard wrote: > On 2016-May-31, at 10:31 PM, Mark Millard wrote: > > > If the offending declaration in cxgb_listen.c is commented out (or removed) > there is a "next problem" but for cxgbe: > > > --- all_subdir_cxgbe/tom --- > >

Re: build fails post SVN r304026

2016-08-13 Thread Navdeep Parhar
On Sat, Aug 13, 2016 at 08:30:09PM +, Rick Macklem wrote: > Lev Serebryakov wrote: > >On 13.08.2016 16:54, Michael Butler wrote: > > > >> Is anyone else seeing this? > > Yes, I've posted message to fs@, as it is r304026 for sure (and author > >was CC:ed too). > Should be fixed now. Sorry

Re: How to load kernel module automatic?

2016-12-06 Thread Navdeep Parhar
On Tue, Dec 06, 2016 at 02:47:15PM +0300, Slawa Olhovchenkov wrote: > Now I am try to update fw in chelsio card. > Firmware can't be updated if card was running (interface go to UP). > I am try to unload if_cxgbe module, check module unloaded... and after > short time see module loaded again! >

Re: How to load kernel module automatic?

2016-12-06 Thread Navdeep Parhar
On Tue, Dec 06, 2016 at 05:43:38PM +0300, Slawa Olhovchenkov wrote: > On Tue, Dec 06, 2016 at 06:41:14AM -0800, Navdeep Parhar wrote: > > > On Tue, Dec 06, 2016 at 05:34:56PM +0300, Slawa Olhovchenkov wrote: > > > On Tue, Dec 06, 2016 at 06:25:44AM -0800,

Re: How to load kernel module automatic?

2016-12-06 Thread Navdeep Parhar
On Tue, Dec 06, 2016 at 05:34:56PM +0300, Slawa Olhovchenkov wrote: > On Tue, Dec 06, 2016 at 06:25:44AM -0800, Navdeep Parhar wrote: > > > On Tue, Dec 06, 2016 at 02:47:15PM +0300, Slawa Olhovchenkov wrote: > > > Now I am try to update fw in chelsio card. > > > Fir

Re: Building Current

2017-03-04 Thread Navdeep Parhar
On Sat, Mar 04, 2017 at 03:46:20PM -0500, Roberto Rodriguez Jr wrote: > What tools can I use to make the building a little faster? > The src tree supports incremental builds. You'll need to load the filemon module and add WITH_META_MODE=yes in /etc/src-env.conf to use it. See the WITH_META_MODE

Re: buildkernel broken on if_ixl when EVDEV is enabled

2018-06-22 Thread Navdeep Parhar
On 06/22/18 10:25, Pete Wright wrote: > > > On 06/21/2018 20:47, Danilo Egêa Gondolfo wrote: >> Hi, >> >> check if you have 'options IXL_IW' in your kernel conf. It's removed >> from GENERIC. I had the same problem here with my customized conf. > > ah - that was totally it i think.  i was lazy

Re: buildkernel broken on if_ixl when EVDEV is enabled

2018-06-22 Thread Navdeep Parhar
On 06/22/18 10:38, Navdeep Parhar wrote: > On 06/22/18 10:25, Pete Wright wrote: >> >> >> On 06/21/2018 20:47, Danilo Egêa Gondolfo wrote: >>> Hi, >>> >>> check if you have 'options IXL_IW' in your kernel conf. It's removed >>> from GEN

Re: TCP server app performance

2018-08-14 Thread Navdeep Parhar
On 8/12/18 9:50 AM, Honda Michio wrote: > Hi, > > I'm measuring TCP server app performance using my toy web server. > It just accept TCP connections and responds back HTTP OK to the clients. > It monitors sockets using kqueue, and processes each ready descriptor using > a pair of read() and

Re: 10G performance regression / difference cxl and ix RELENG11 vs HEAD

2018-10-12 Thread Navdeep Parhar
On 10/12/18 8:37 AM, Mike Tancsa wrote: > I was doing a quick iperf test with  r339328 GENERIC-NODEBUG  amd64, and > noticed  I can no longer saturate a 10G nic with iperf3.  I tried first > with the ix adapter, but was not sure if it was the driver or not. I > tried as well with a Chelsio and got

Re: 10G performance regression / difference cxl and ix RELENG11 vs HEAD

2018-10-12 Thread Navdeep Parhar
On 10/12/18 9:52 AM, Navdeep Parhar wrote: > The number of retries (the "Retr" column) should have been 0 in a retransmits, not retries. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/fr

Re: netmap on cxgb (Chelsio T3) — panic on transmit

2018-11-26 Thread Navdeep Parhar
On 11/22/18 7:30 AM, Lev Serebryakov wrote: > > I've obtained Chelsio T3 for my "network lab". It works with cxgb > driver well, but when I try to use Netmap's pkt-gen on it it crashes > system immediately with such message: > > panic: trying to coalesce 9 packets in to one WR > > I've turned

Re: > r353680: multiuser crash due to: m_getzone: Inavlid cluster size 0

2019-10-23 Thread Navdeep Parhar
This is 241403 in bugzilla. On Wed, Oct 23, 2019, 12:57 AM O. Hartmann wrote: > The last known good update of CURRENT on a Fujitsu Primergy RX2530-M5 > (only one > of two sockets equipted, 64 GB RAM) was October, 17th, 2019 before 15 > o'clock, > I suppose that was r353680 that time. Today's

Re: -CURRENT fatal trap cause by cxgbe module

2020-03-02 Thread Navdeep Parhar
I'm not able to reproduce this. I tried a test kernel built with "device cxgbe" and had if_cxgbe_load="YES" in loader.conf and the system came up just fine. Regards, Navdeep On 3/1/20 8:07 PM, Dustin Marquess wrote: > So I've been fighting with any current from the last month or so > instantly

Re: Compiling MOD_CC into kernel (TCP congestion control)?

2020-04-25 Thread Navdeep Parhar
On Sat, Apr 25, 2020 at 07:28:54PM +0200, Hartmann, O. wrote: > On a firewall/router project of ours I try to experiment with several > options/algorithms for mod_cc(4). I don't mean to sidetrack this thread but can you elaborate a bit? If it's a firewall/router then the TCP congestion control

Re: [openzfs] r365058 arm64 uefi boot fails with "unknown filesystem" after launching kernel

2020-09-02 Thread Navdeep Parhar
Load cryptodev manually from the loader to boot and then add cryptodev_load="YES" to your loader.conf. Regards, Navdeep On 9/2/20 1:58 PM, Dave Cottlehuber wrote: > hi Matt, Ryan > > Something goes awry after loading kernel & zfs drivers, at point of mounting > the root filesystem from boot

Re: 20220519 snapshot: loader fails to find bootable partition of zfs-root system

2022-05-23 Thread Navdeep Parhar
On Mon, May 23, 2022 at 8:40 PM Yasuhiro Kimura wrote: > > Hello, > > I made clean install of zfs-root 14-CURRENT amd64 system with install > image of 20220519 snapshop. After installation completed and system is > rebooted, boot fails as loader fails to find bootable partition as > following. >