Re: [RFC] ifconfig description

2015-07-28 Thread Sergey Kandaurov
On 28 July 2015 at 20:55, Alexander V. Chernikov wrote: > 28.07.2015, 15:32, "Arseny Nasokin" : > > Separate ifconfig_IF_description will be simpler to use. > > I was also insisting on this.. > +pluknet@ > Sergey, maybe we could reconsider this stuff and add separate _description > field? No, tha

Re: moving ALTQ out of contrib

2015-04-15 Thread Sergey Kandaurov
On Tue, Apr 14, 2015 at 11:07:49PM +0300, Gleb Smirnoff wrote: > On Tue, Apr 14, 2015 at 04:53:46PM +0300, Gleb Smirnoff wrote: > T> Hi! > T> > T> With the new ifnet KPI, that is now being developed in projects/ifnet, > T> the ALTQ will need some tweaking. It is discontinued by initial author

Re: kern/172113: [panic] [e1000] [patch] 9.1-RC1/amd64 panices in igb(4): m_getjcl: invalid cluster type

2013-09-27 Thread Sergey Kandaurov
I forward these mails for archives to easier track what was committed for this PR. -- Forwarded message -- From: Jack F Vogel Date: 6 August 2013 22:00 Subject: svn commit: r254002 - head/sys/dev/e1000 To: src-committ...@freebsd.org, svn-src-...@freebsd.org, svn-src-h...@freebsd.o

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

2012-11-21 Thread Sergey Kandaurov
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 anywhere in the stack: > > netinet6/ip6_var.h:VNET_DECLARE(int, ip6_rr_prune); /* router

Re: sorele() and ACCEPT_LOCK()

2012-08-30 Thread Sergey Kandaurov
On 30 August 2012 04:23, Vijay Singh wrote: > Is there any reason why sorele() needs the accept lock to be held? > > 231 #define sorele(so) do { > \ > 232 ACCEPT_LOCK_ASSERT(); > \ > 233

Re: netstat: memstat_sysctl_all: Too many CPUs

2012-03-20 Thread Sergey Kandaurov
On 20 March 2012 21:16, Ihsan Junaidi Ibrahim wrote: > Hi folks, > > While trying to poke around my mbuf stats, I ran across the following error > message. > > ihsan@sv01:~ $ netstat -m > netstat: memstat_sysctl_all: Too many CPUs > > It's an E3-1230 CPU on a Supermicro X9SCM-F with 4G RAM. > > I

Re: crash on lagg interface destroy

2012-03-15 Thread Sergey Kandaurov
On 15 March 2012 02:48, Adarsh Joshi wrote: > Hello everyone, > > I tried to destroy a lagg interface (created using laggproto none) and I see > the system crash. > > Steps to reproduce: > Kldload if_lagg > Ifconfig lagg0 create > ifconfig lagg0 up laggproto none laggport ql0 laggport ql1 192.168

Re: Difference between "struct addr" and "struct addrs"

2012-03-06 Thread Sergey Kandaurov
On 6 March 2012 11:08, hiren panchasara wrote: > > > On Mon, Mar 5, 2012 at 10:57 PM, Sergey Kandaurov wrote: >> >> struct ifaddr is the in-kernel representation of the interface address. >> In kernel each network interface consists of a linked list of interface >&g

Re: Difference between "struct addr" and "struct addrs"

2012-03-05 Thread Sergey Kandaurov
On 6 March 2012 06:05, hiren panchasara wrote: > What is the difference between following 2 structs? > > /src/sys/net/if_var.h: struct ifaddr (from the comments seems like it > contains a particular address (of probably many) information for an > interface.) > > /src/include/ifaddrs.h: struct ifad

Re: [PATCH] Use of unreferenced ifa in in6

2012-01-03 Thread Sergey Kandaurov
On 4 January 2012 00:17, John Baldwin wrote: > On Tuesday, January 03, 2012 2:36:25 pm Sergey Kandaurov wrote: >> On 24 December 2011 00:08, John Baldwin wrote: >> > The code to handle the SIOCGLIFADDR and SIOCDLIFADDR ioctls in >> > in6_lifaddr_ioctl() does not g

Re: [PATCH] Use of unreferenced ifa in in6

2012-01-03 Thread Sergey Kandaurov
On 24 December 2011 00:08, John Baldwin wrote: > The code to handle the SIOCGLIFADDR and SIOCDLIFADDR ioctls in > in6_lifaddr_ioctl() does not grab a reference to an ifnet address structure > that it uses after dropping the IF_ADDR_LOCK().  Based on other code that uses > a similar pattern of find

Re: i386 compile sys/dev/ie

2011-12-28 Thread Sergey Kandaurov
On 28 December 2011 10:58, Bruce Evans wrote: > On Wed, 28 Dec 2011, Bruce Evans wrote: > >> On Wed, 28 Dec 2011, Sergey Kandaurov wrote: > > >>> These were used in probe routine and are left from the newbus rewrite. >>> I hacked ie a bit to build cleanl

Re: i386 compile sys/dev/ie

2011-12-27 Thread Sergey Kandaurov
On 27 December 2011 23:45, Sean Bruno wrote: > Doing a lot of compiles recently and keep noting this noise in > sys/dev/ie: > > > > /dumpster/scratch/sbruno-scratch/head/sys/dev/ie/if_ie.c: In function > 'ieget': > /dumpster/scratch/sbruno-scratch/head/sys/dev/ie/if_ie.c:682: warning: > passing ar

Re: [PATCH] Minor fixes to netinet6/icmp6.c

2011-12-25 Thread Sergey Kandaurov
On 25 December 2011 04:58, John Baldwin wrote: > On 12/23/11 6:38 PM, Sergey Kandaurov wrote: >> >> On 23 December 2011 23:46, John Baldwin  wrote: >>> >>> I found these nits while working on the patches to convert if_addr_mtx to >>> an >>>

Re: [PATCH] Minor fixes to netinet6/icmp6.c

2011-12-23 Thread Sergey Kandaurov
On 23 December 2011 23:46, John Baldwin wrote: > I found these nits while working on the patches to convert if_addr_mtx to an > rwlock.  The first change is cosmetic, it just un-inlines a TAILQ_FOREACH(). > The second change is an actual bug.  The code is currently reading > TAILQ_FIRST(&V_ifnet)

Re: kern/162028: [ixgbe] [patch] misplaced #endif in ixgbe.c

2011-10-29 Thread Sergey Kandaurov
The following reply was made to PR kern/162028; it has been noted by GNATS. From: Sergey Kandaurov To: bug-follo...@freebsd.org, hoomanfaza...@gmail.com Cc: Subject: Re: kern/162028: [ixgbe] [patch] misplaced #endif in ixgbe.c Date: Sat, 29 Oct 2011 16:58:09 +0400 I have a more complete

Re: when enable options SCTP_DEBUG in kernel configure file , where to get the message of debug?

2011-09-30 Thread Sergey Kandaurov
On 30 September 2011 13:48, jyl wrote: > My Os is FreeBSD 9.0 Beta2. > In kernel configure file,  I enable the option of SCTP_DEBUG and rebuild the > kernel. Then I use sctp to send or recv data from another computer ,after > that I check the result from var/log/message or var/log/dmesg , both of

Re: LOR in route.c // scope6.c

2011-09-21 Thread Sergey Kandaurov
On 19 August 2011 05:07, Garrett Cooper wrote: > 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_a

Re: Which module contains functins(arptimer)?

2011-09-07 Thread Sergey Kandaurov
On 7 September 2011 16:51, Vladimir Budnev wrote: > Hello. > > How to determine which module contains specific functinos?. For example we > have arptimer in netinet/if_ether.c. > But how to find in which ko it compiles? > Iv tried > ls /boot/kernel/ | grep ko.symbols | xargs strings | grep -i arpt

Re: Usage of IFQ_DEQUEUE vs IFQ_DRV_DEQUEUE

2011-08-24 Thread Sergey Kandaurov
On 24 August 2011 22:12, Patrick Mahan wrote: > Can somebody confirm my assumption on the following: > >  If I am supporting ALTQ in a driver, then I should use the >  IFQ_DRV_DEQUEUE() macro.  If I am not supporting ALTQ then >  it is okay IFQ_DEQUEUE() macro?  If not what's the difference? > > S

Re: BETA1 IPv6 crash

2011-08-22 Thread Sergey Kandaurov
On 8 August 2011 22:06, Tom Vijlbrief wrote: > 2011/8/7 Sergey Kandaurov : >> On 7 August 2011 17:11, Tom Vijlbrief wrote: >>> I installed BETA1 in a fresh ubuntu 11.04 KVM virtual machine with the >>> new installer. >>> >>> Major issue I noticed wa

Re: BETA1 IPv6 crash

2011-08-07 Thread Sergey Kandaurov
On 7 August 2011 17:11, Tom Vijlbrief wrote: > I installed BETA1 in a fresh ubuntu 11.04 KVM virtual machine with the > new installer. > > Major issue I noticed was the missing /home. > > It took me quite some time to get IPv6 working in the guest (a Linux > configuration issue), but now that it w

Re: bin/136661: [patch] ndp(8) ignores -f option

2011-07-29 Thread Sergey Kandaurov
The following reply was made to PR bin/136661; it has been noted by GNATS. From: Sergey Kandaurov To: bug-follo...@freebsd.org, melif...@ipfw.ru Cc: Subject: Re: bin/136661: [patch] ndp(8) ignores -f option Date: Fri, 29 Jul 2011 14:47:28 +0400 The '-f' argument parsing was (ac

Re: kern/158873: When I launch pf daemon, I have a kernel panic

2011-07-13 Thread Sergey Kandaurov
The following reply was made to PR kern/158873; it has been noted by GNATS. From: Sergey Kandaurov To: bug-follo...@freebsd.org, gobl...@gmail.com Cc: Subject: Re: kern/158873: When I launch pf daemon, I have a kernel panic Date: Thu, 14 Jul 2011 00:50:38 +0400 --000e0cd4c08e974e9704a7f99174

Re: kern/158873: When I launch pf daemon, I have a kernel panic

2011-07-13 Thread Sergey Kandaurov
The following reply was made to PR kern/158873; it has been noted by GNATS. From: Sergey Kandaurov To: bug-follo...@freebsd.org, gobl...@gmail.com Cc: Subject: Re: kern/158873: When I launch pf daemon, I have a kernel panic Date: Wed, 13 Jul 2011 23:50:24 +0400 I think we need to merge net

Re: kern/152036: [libc] getifaddrs(3) returns truncated sockaddrs for netmasks

2011-07-11 Thread Sergey Kandaurov
The following reply was made to PR kern/152036; it has been noted by GNATS. From: Sergey Kandaurov To: bug-follo...@freebsd.org, kby...@gmail.com Cc: Subject: Re: kern/152036: [libc] getifaddrs(3) returns truncated sockaddrs for netmasks Date: Mon, 11 Jul 2011 17:59:47 +0400 [Some thoughts

Re: kern/158426: [e1000] [panic] _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @ /usr/src/sys/netinet6/mld6.c:1676

2011-06-30 Thread Sergey Kandaurov
The following reply was made to PR kern/158426; it has been noted by GNATS. From: Sergey Kandaurov To: bug-follo...@freebsd.org, t...@vr-web.de Cc: Subject: Re: kern/158426: [e1000] [panic] _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @ /usr/src/sys/netinet6/mld6.c:1676 Date

Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-08 Thread Sergey Kandaurov
On 8 April 2011 18:10, Dominique Goncalves wrote: > Hi > > 2011/4/6 Sergey Kandaurov : >> On 6 April 2011 11:35, Dominique Goncalves >> wrote: >>> Hi, >>> >>> I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros >>> 92

Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-06 Thread Sergey Kandaurov
On 6 April 2011 15:05, Sergey Kandaurov wrote: > On 6 April 2011 11:35, Dominique Goncalves > wrote: >> Hi, >> >> I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros >> 9280 (mini pci card) as an access point using hostapd, so far it works >&g

Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up

2011-04-06 Thread Sergey Kandaurov
On 6 April 2011 11:35, Dominique Goncalves wrote: > Hi, > > I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros > 9280 (mini pci card) as an access point using hostapd, so far it works > . Sometimes I need to disable wireless with ifconfig wlan0 down but > each times I run ifconfig

Re: panic in dummynet

2011-03-24 Thread Sergey Kandaurov
On 21 March 2011 12:43, Sergey Kandaurov wrote: > Hi. > > This is a 8.1 box, not very much loaded. > It has two simple dummynet rules. > That's the first time it panics there. Any hints? > > db> x/s *panicstr > 0:      *** error reading from address 0 *** > d

panic in dummynet

2011-03-21 Thread Sergey Kandaurov
Hi. This is a 8.1 box, not very much loaded. It has two simple dummynet rules. That's the first time it panics there. Any hints? db> x/s *panicstr 0: *** error reading from address 0 *** db> bt Tracing pid 0 tid 100116 td 0xff000ab057c0 m_copym() at m_copym+0x37 ip_fragment() at ip_fragm

Re: ifconfig lo1 down

2011-03-05 Thread Sergey Kandaurov
On 5 March 2011 21:43, fredrik danerklint wrote: > Hi, > > I would like to know what is the differents between ip4 and ip6 for this > command. > > First: > > #ifconfig lo1 > lo1: flags=8049 metric 0 mtu 16384 >        options=3 >        inet xx.xx.xx.2 netmask 0x >        inet6 2a03::x

arpintr()->in_lltable_lookup() 8.1 bce(4) crash

2011-03-03 Thread Sergey Kandaurov
Hi. That's the second crash on 8.1. A previous one was month ago on another box. They are almost identical. Kernel can't dump core on these disk controllers. Any hints are appreciated. kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00

Re: rtadvd and carp

2011-02-28 Thread Sergey Kandaurov
On 1 March 2011 02:28, User Red35 wrote: > > I am getting started with IPv6 and I am trying to get rtadvd working on > the carp interface but it is not working so far. > > > ### I have carp failover between two firewalls.  The default gateway for > ###    hosts internal to the firewall is 172.31.9

Re: svn commit: r218741 - head/sys/netinet/ipfw

2011-02-21 Thread Sergey Kandaurov
On 16 February 2011 18:43, Sergey Kandaurov wrote: > Author: pluknet > Date: Wed Feb 16 15:43:35 2011 > New Revision: 218741 > URL: http://svn.freebsd.org/changeset/base/218741 > > Log: >  Bump dummynet module version to meet dummynet schedulers' requirements, &

Re: cannot set mtu > 1500 on em0 optical Gig-E

2011-02-10 Thread Sergey Kandaurov
On 10 February 2011 21:49, Jay Borkenhagen wrote: > Hi, > > For quite a while now it appears that mtu on my gigabit ethernet fiber > em0 cards cannot be configured higher than the default 1500 bytes. > > Here's what I get when I attempt to set it lower and higher on a brand > new 8.2-RC3 box: > >

Re: Slow Intel 10GbE CX4 adapter behaviour

2011-02-09 Thread Sergey Kandaurov
On 9 February 2011 18:15, rihad wrote: > On 02/09/2011 05:47 PM, Sergey Kandaurov wrote: >> >> On 9 February 2011 12:37, rihad  wrote: >>> >>> Problem solved, I'm so embarrassed :) The issue on 7.2 mentioned above >>> with >>> ixgbe (tons

Re: Slow Intel 10GbE CX4 adapter behaviour

2011-02-09 Thread Sergey Kandaurov
On 9 February 2011 12:37, rihad wrote: > Problem solved, I'm so embarrassed :) The issue on 7.2 mentioned above with > ixgbe (tons of "fragmentation failed" errors) was real. The issue in 8.3-RC3 > was because dummynet wasn't being loaded at all... so no traffic could pass > on it, despite dummyne

Re: Current state of FreeBSD routing

2011-02-01 Thread Sergey Kandaurov
On 2 February 2011 02:11, Markus Oestreicher wrote: > Hi there! > > After a few hours of reading list archives and source code I need some > clarification on the current state of FreeBSD forwarding capabilities. > > Given the following setup: > - Quad Core CPU > - Intel 82576 NIC (igb) > - 8.2-REL

Re: NDP Ethernet address display

2011-01-07 Thread Sergey Kandaurov
On 8 January 2011 03:26, Boris Kochergin wrote: > Hi. I noticed that ndp(8) doesn't zero-pad Ethernet addresses, which is > inconsistent with arp(8): > > # ndp -an > ... > 2001:470:897b::1                     0:30:48:b1:1b:9c     em0 permanent R > > # arp -an > ... > ? (128.238.9.201) at 00:30:48:

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

2010-09-29 Thread Sergey Kandaurov
[just don't know what namely need to test, so] All made according to your instructions. The only way I could trigger netdump was to run its ddb command by hand. Neither debug.kdb.enter nor debug.kdb.panic don't do it. Some numbers and output (bit verbose but again don't know what need to show her