Re: Intermittent hangs in vmem_periodic()

2013-09-12 Thread Gleb Smirnoff
On Wed, Sep 11, 2013 at 09:51:16PM -0700, hiren panchasara wrote: h I am seeing really weird system freeze for 2-3 seconds every minute or so. h h % uname -a h FreeBSD flymockour-l7.corp.yahoo.com 10.0-CURRENT FreeBSD 10.0-CURRENT #2 h r255423M: Mon Sep 9 12:29:22 PDT 2013 root@flymocko h

Re: Intermittent hangs in vmem_periodic()

2013-09-12 Thread Gleb Smirnoff
On Thu, Sep 12, 2013 at 09:31:17AM -0700, hiren panchasara wrote: h h PMC: [INSTR_RETIRED_ANY] Samples: 117647 (100.0%) , 6885 unresolved h h h h %SAMP CALLTREE h h 75.9 fork_exit@kernel taskqueue_thread_loop taskqueue_run_locked h h vmem_periodic(75.9%) h h You probably got

ipmi patch for review

2013-09-17 Thread Gleb Smirnoff
Hi! When system is writing a kernel core dump, it issues watchdog pat wdog_kern_pat(WD_LASTVAL). If ipmi is in action, it registers ipmi_wd_event() as event for watchdog. Thus ipmi_wd_event() is called in dumping context. The problem is that ipmi_wd_event() calls into ipmi_set_watchdog(),

Re: ipmi patch for review

2013-09-19 Thread Gleb Smirnoff
John, On Thu, Sep 19, 2013 at 03:04:46PM -0400, John Baldwin wrote: JWhen system is writing a kernel core dump, it issues watchdog J pat wdog_kern_pat(WD_LASTVAL). If ipmi is in action, it registers J ipmi_wd_event() as event for watchdog. Thus ipmi_wd_event() is J called in dumping

Re: 10.0-BETA1 i386 on VirtualBox

2013-10-25 Thread Gleb Smirnoff
On Thu, Oct 24, 2013 at 05:16:15PM +0200, Maciej Milewski wrote: M I've encountered problems with installing FreeBSD-10.0-BETA1 i386 under M VirtualBox. M The problem is with setting/changing root password during install M process. After entering password twice there is: M M passwd:

Re: 10.0-BETA1 i386 on VirtualBox

2013-10-27 Thread Gleb Smirnoff
Maciej, On Thu, Oct 24, 2013 at 05:16:15PM +0200, Maciej Milewski wrote: M I've encountered problems with installing FreeBSD-10.0-BETA1 i386 under M VirtualBox. M The problem is with setting/changing root password during install M process. After entering password twice there is: M M passwd:

[heads up] axing AppleTalk and IPX/SPX

2013-10-28 Thread Gleb Smirnoff
Hello! [Cc to stable@, for wider audience] The plan is two axe two old networking protocols from FreeBSD head/, meaning that FreeBSD 11.0-RELEASE, available in couple of years would be shipped without them. 1) AppleTalk Last time claimed to be supported by vendor in 2007[1]. In

Re: [head tinderbox] failure on amd64/amd64

2013-10-28 Thread Gleb Smirnoff
On Mon, Oct 28, 2013 at 03:30:48PM +, FreeBSD Tinderbox wrote: F cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions

Re: [heads up] axing AppleTalk and IPX/SPX

2013-10-28 Thread Gleb Smirnoff
On Mon, Oct 28, 2013 at 12:49:14PM -0400, dro...@rpi.edu wrote: d As far as the kernel-level support, I assume you're just removing all d the code tied to the kernel options NETATALK and NETATALKDEBUG? Or does d it entail some other changes, which might wreck my custom compile of CAP? Yes, that

Re: buildworld failure: pfvar.h:44 #include netpfil/pf/pf.h not found

2013-10-28 Thread Gleb Smirnoff
On Mon, Oct 28, 2013 at 11:14:57PM +0100, d...@gmx.com wrote: d === sbin/ifconfig (depend) d rm -f .depend d CC='/path/to/clang --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin' mkdep -f .depend -a-DINET -DNDEBUG -std=gnu99 /usr/src/sbin/ifconfig/ifconfig.c

Re: CUURENT kernel build broken - /usr/src/sys/dev/xen/netback/netback.c

2013-10-28 Thread Gleb Smirnoff
On Mon, Oct 28, 2013 at 05:33:23PM -0400, Outback Dingo wrote: O /usr/src/sys/dev/xen/netback/netback.c O /usr/src/sys/dev/xen/netback/netback.c:588:7: error: incomplete definition O of type 'struct mbuf' O if (m-m_flags M_PKTHDR) { This one already fixed. Sorry. -- Totus tuus,

Re: buildworld failure: pfvar.h:44 #include netpfil/pf/pf.h not found

2013-10-28 Thread Gleb Smirnoff
On Tue, Oct 29, 2013 at 01:36:22AM +0100, d...@gmx.com wrote: d Gleb Smirnoff wrote, On 10/28/2013 23:33: d Can you please test attached patch? d d Progress: d === usr.bin/netstat (depend) d rm -f .depend d CC='/i/a/clang --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin' mkdep -f

Re: [head tinderbox] failure on amd64/amd64

2013-10-29 Thread Gleb Smirnoff
Bjoern, in r256868 you said that now netback compiles w/o INET. How did that work for you? See below: On Tue, Oct 29, 2013 at 06:52:34AM +, FreeBSD Tinderbox wrote: F TB --- 2013-10-29 06:35:43 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOIP F Kernel build for LINT-NOIP started on

Re: 10.0-BETA1 i386 on VirtualBox

2013-10-29 Thread Gleb Smirnoff
Hello, [adding Boris to Cc, who reported same issue in private email] On Thu, Oct 24, 2013 at 05:16:15PM +0200, Maciej Milewski wrote: M I've encountered problems with installing FreeBSD-10.0-BETA1 i386 under M VirtualBox. M The problem is with setting/changing root password during install

Re: [head tinderbox] failure on amd64/amd64

2013-10-29 Thread Gleb Smirnoff
On Tue, Oct 29, 2013 at 12:55:57PM +, Bjoern A. Zeeb wrote: B On Tue, 29 Oct 2013, Gleb Smirnoff wrote: B B Bjoern, B B in r256868 you said that now netback compiles w/o INET. B B So it had for ages according to the tinderbox with all LINT kernels, B and it had after my change. Well, I

Re: buildworld failure: pfvar.h:44 #include netpfil/pf/pf.h not found

2013-10-29 Thread Gleb Smirnoff
On Tue, Oct 29, 2013 at 02:36:17PM +0100, d...@gmx.com wrote: d Gleb Smirnoff wrote, On 10/29/2013 05:19: d +1 patch. d So far, so good: d d === usr.sbin/tcpdump/tcpdump (depend) +1 patch -- Totus tuus, Glebius. Index: contrib/tcpdump/print-ip.c

Re: 10.0-BETA1 i386 on VirtualBox

2013-10-31 Thread Gleb Smirnoff
On Wed, Oct 30, 2013 at 09:31:22PM -0400, Glen Barber wrote: G Can any of you suggest a way to reproduce the bug on a livecd reliably? G G I'll rephrase that: G G Can anybody suggest a way to reproduce the bug on a livecd reliably, if G you ever met the bug before? G G G I have not

Re: 10.0-BETA1 i386 on VirtualBox

2013-10-31 Thread Gleb Smirnoff
On Thu, Oct 31, 2013 at 03:35:06PM +0400, Boris Bobrov wrote: B В сообщении от Thursday 31 of October 2013 13:49:38 Gleb написал: B I have analyzed dmesgs from Boris, Maciej and mine VS a dmesg from box B where 10.0-BETA2 i386 works flawlessly in VB. I failed to find any B clue. B B It looks

Re: 10.0-BETA1 i386 on VirtualBox

2013-10-31 Thread Gleb Smirnoff
On Thu, Oct 31, 2013 at 05:45:32PM +0400, Boris Bobrov wrote: B Two good news! B B 1. The bug disappeares if I disable VT-x/AMD-V in my virtual machine B settings (Settings - System - Acceleration) and appeares if I enable it B (thanks to Gleb for inspiration yesterday). It disappeares

Re: 10.0-BETA1 i386 on VirtualBox

2013-10-31 Thread Gleb Smirnoff
On Thu, Oct 31, 2013 at 05:48:43PM +0400, Gleb Smirnoff wrote: T B 1. The bug disappeares if I disable VT-x/AMD-V in my virtual machine T B settings (Settings - System - Acceleration) and appeares if I enable it T B (thanks to Gleb for inspiration yesterday). It disappeares everywhere, on T B

[CFT review] new in_control()

2013-11-01 Thread Gleb Smirnoff
Hi! I've got a patch that cleans up the way we configure and delete IPv4 on interfaces. What it does: 1) separate function for SIOCAIFADDR, with clear code flow from beginning to the end. 2) separate function for SIOCDIFADDR, with clear code flow from beginning to the end. 3) provided

Re: 10.0-BETA1 i386 on VirtualBox

2013-11-03 Thread Gleb Smirnoff
Maciej, Boris, On Sun, Nov 03, 2013 at 04:29:11PM +0400, Boris Bobrov wrote: B I traced this down to r248521: B svn log -r248521 B --- B - r248521 | kib | 2013-03-19 16:08:15 +0100 (Tue, 19 Mar 2013) | 5 B lines B B UFS

Re: FreeBSD 10 Beta2 /etc/rc.d/named script and /etc/defaults/rc.conf

2013-11-03 Thread Gleb Smirnoff
On Sun, Nov 03, 2013 at 10:05:02PM +0200, Özkan KIRIK wrote: Ö Altough bind removed from FreeBSD 10 distribution, /etc/rc.d/named script Ö still exists. Ö and this script depends on /etc/mtree/BIND.chroot.dist file but there is Ö no such file in source tree. Ö I think this file was forgotten to be

Re: FreeBSD 10 Beta2 /etc/rc.d/named script and /etc/defaults/rc.conf

2013-11-04 Thread Gleb Smirnoff
[adding maintainer to Cc] On Mon, Nov 04, 2013 at 01:41:01AM +0200, George Kontostanos wrote: G Am 03.11.2013 um 23:06 schrieb Gleb Smirnoff gleb...@freebsd.org: G G On Sun, Nov 03, 2013 at 10:05:02PM +0200, Özkan KIRIK wrote: G Ö Altough bind removed from FreeBSD 10 distribution, /etc

Re: FreeBSD 10 Beta2 /etc/rc.d/named script and /etc/defaults/rc.conf

2013-11-04 Thread Gleb Smirnoff
On Mon, Nov 04, 2013 at 12:11:02PM +0100, Erwin Lansing wrote: E On Mon, Nov 04, 2013 at 01:41:01AM +0200, George Kontostanos wrote: E G Am 03.11.2013 um 23:06 schrieb Gleb Smirnoff gleb...@freebsd.org: E G E G On Sun, Nov 03, 2013 at 10:05:02PM +0200, Özkan KIRIK wrote: E G Ö Altough

Re: 10.0-BETA1 i386 on VirtualBox

2013-11-04 Thread Gleb Smirnoff
On Mon, Nov 04, 2013 at 06:38:25PM +0200, Konstantin Belousov wrote: K Also please show me the CPU features banner from the boot in the VB, K like this: I have already collected them all. See attaches. Legend: dmesg.bbpwd_mkdb crashes during install dmesg.milu.png pwd_mkdb crashes

Re: CUURENT kernel build broken - make[2]: exec(aicasm) failed (No such file or directory)

2013-11-04 Thread Gleb Smirnoff
On Mon, Nov 04, 2013 at 10:09:54PM -0700, Ian Lepore wrote: I /usr/src/sys/dev/aic7xxx/aic7xxx.seq Imake[2]: exec(aicasm) failed (No such file or directory) I*** Error code 1 I IStop. Imake[2]: stopped in /usr/obj/usr/src/sys/GENERIC I*** Error code 1 I IStop. I

Re: 10.0-BETA1 i386 on VirtualBox

2013-11-04 Thread Gleb Smirnoff
On Tue, Nov 05, 2013 at 09:02:22AM +0200, Konstantin Belousov wrote: K First, all reported instances have ata attachment for the ada0, except K of milu (possibly). So this means that kernel does transient remapping, K and very different code path is executed comparing with what I thought K

Re: 10.0-BETA1 i386 on VirtualBox

2013-11-05 Thread Gleb Smirnoff
On Tue, Nov 05, 2013 at 12:15:35PM +0400, Boris Bobrov wrote: B В сообщении от Tuesday 05 of November 2013 11:06:09 Gleb написал: B On Tue, Nov 05, 2013 at 09:02:22AM +0200, Konstantin Belousov wrote: B K First, all reported instances have ata attachment for the ada0, B except K of milu

Re: 10.0-BETA1 i386 on VirtualBox

2013-11-05 Thread Gleb Smirnoff
On Tue, Nov 05, 2013 at 01:09:04PM +0400, Gleb Smirnoff wrote: T B The only known way to get FreeBSD working is to turn off unmapped io T B in loader. Any tweaking of hardware in VB or changes in the install T B process do not affect. T B T B Disabling VT-x in VB helps too. T T Doesn't help

axing KAME interface ioctls

2013-11-05 Thread Gleb Smirnoff
Hello. Since 1999 we have got some dead code from KAME, namely support for these ioctls: SIOCALIFADDR SIOCGLIFADDR SIOCDLIFADDR SIOCSLIFPHYADDR SIOCGLIFPHYADDR We don not have any software in base that use (or used) them. The ports exp-run with

Re: axing KAME interface ioctls

2013-11-05 Thread Gleb Smirnoff
On Tue, Nov 05, 2013 at 03:01:14PM +0400, Gleb Smirnoff wrote: T Hello. T T Since 1999 we have got some dead code from KAME, namely support for these T ioctls: T T SIOCALIFADDR T SIOCGLIFADDR T SIOCDLIFADDR T SIOCSLIFPHYADDR T SIOCGLIFPHYADDR T T We don not have

Re: CUURENT kernel build broken - make[2]: exec(aicasm) failed (No such file or directory)

2013-11-05 Thread Gleb Smirnoff
On Tue, Nov 05, 2013 at 08:00:52AM -0700, Ian Lepore wrote: I I You were just unlucky that your updates bracketed my checkin that I I changed the build process for the aicasm tool so that it gets built as I I part of the toolchain rather than as part of the kernel now. I I Before this

Re: CUURENT kernel build broken - make[2]: exec(aicasm) failed (No such file or directory)

2013-11-05 Thread Gleb Smirnoff
On Tue, Nov 05, 2013 at 01:40:17PM -0700, Ian Lepore wrote: I On Tue, 2013-11-05 at 19:12 +0400, Gleb Smirnoff wrote: I On Tue, Nov 05, 2013 at 08:00:52AM -0700, Ian Lepore wrote: I I I You were just unlucky that your updates bracketed my checkin that I I I changed the build process

Re: FreeBSD 10 Beta2 /etc/rc.d/named script and /etc/defaults/rc.conf

2013-11-06 Thread Gleb Smirnoff
On Wed, Nov 06, 2013 at 03:22:03PM +0200, George Kontostanos wrote: G IMO, we should proceed with removal of remnants of bind in src. In the G worst case, G if you can't handle it this week, the situation will be the following: G G 1) 8.x, 9.x users are okay G 2) 10+.x users w/o bind are

Re: RFC: adding queue number/size fields to ifnet

2013-11-14 Thread Gleb Smirnoff
On Thu, Nov 14, 2013 at 12:01:07PM +0100, Luigi Rizzo wrote: L Hi, L it would be useful to have a common place with the indication of L NIC parameters such as number of tx/rx queues and their lengths. L L Various 10G drivers do include this information in various places L in the softc, but there

Re: ipfw build error with WITHOUT_PF (pfvar.h)

2013-11-23 Thread Gleb Smirnoff
Andrey, On Sat, Nov 23, 2013 at 12:07:35PM +0400, Andrey Chernov wrote: A There is a problem in recent -current to build ipfw with WITHOUT_PF A option, introduced in r257215. altq.c file produce error due to included A net/pfvar.h have following includes A A #include netpfil/pf/pf.h A #include

Re: ipfw build error with WITHOUT_PF (pfvar.h)

2013-11-23 Thread Gleb Smirnoff
On Sat, Nov 23, 2013 at 12:20:40PM +0400, Andrey Chernov wrote: A On Sat, Nov 23, 2013 at 12:07:35PM +0400, Andrey Chernov wrote: A A There is a problem in recent -current to build ipfw with WITHOUT_PF A A option, introduced in r257215. altq.c file produce error due to included A A net/pfvar.h

Re: [RFC] how to get the size of a malloc(9) block ?

2013-11-29 Thread Gleb Smirnoff
On Thu, Nov 28, 2013 at 03:13:53PM +, jb wrote: j But I don't understand why you find ksize()/malloc_usable_size() dangerous. j ... j j The original crime is commited when *usable size* (an implementation detail) j is exported (leaked) to the caller. j To be blunt, when a caller requests

Re: pf reply-to malfunction after r258468 (seems r258479)

2013-12-03 Thread Gleb Smirnoff
Vladimir, On Tue, Dec 03, 2013 at 11:52:26AM +0200, Vladimir Sharun wrote: V I have a test setup with direct internet connection Reail_IP_A and netgraph tunnel with Real_IP_B. V I have used a reply-to pf ruleset to sent all the traffic back via tunnel, if V it came via tunnel: V V pass in

Re: pf reply-to malfunction after r258468 (seems r258479)

2013-12-03 Thread Gleb Smirnoff
On Tue, Dec 03, 2013 at 02:09:14PM +0200, Vladimir Sharun wrote: V Dear Gleb, V Is kernel rebuilding enuff ? Should be enough wrt pf(4), no API or ABI changes in it. -- Totus tuus, Glebius. ___ freebsd-current@freebsd.org mailing list

Re: pf reply-to malfunction after r258468 (seems r258479)

2013-12-03 Thread Gleb Smirnoff
On Tue, Dec 03, 2013 at 07:54:08PM +0200, Vladimir Sharun wrote: V Dear Gleb, V Unfortunately can't boot both revisions kernel, it hangs on trying to mount root from ssdzfs  (which is my zfs root). V Vladimir, You can run the kernel that boots, but update only sys/netpfil/pf directory to

Re: 10-BETA{3,4} - Consistent Kernel Panics (pf_ioctl.c:1289)

2013-12-03 Thread Gleb Smirnoff
On Wed, Dec 04, 2013 at 10:19:49AM +0800, Wilkinson, Alex wrote: W 10.0-BETA4 FreeBSD 10.0-BETA4 #0 r258860 W W KERNCONF: W W include GENERIC W W options DDB W options ALT_BREAK_TO_DEBUGGER W W options ROUTETABLES=6 W options VIMAGE W W makeoptions

Re: 10-BETA{3,4} - Consistent Kernel Panics (pf_ioctl.c:1289)

2013-12-03 Thread Gleb Smirnoff
On Wed, Dec 04, 2013 at 10:19:49AM +0800, Wilkinson, Alex wrote: W 10.0-BETA4 FreeBSD 10.0-BETA4 #0 r258860 W W KERNCONF: W W include GENERIC W W options DDB W options ALT_BREAK_TO_DEBUGGER W W options ROUTETABLES=6 W options VIMAGE W W makeoptions

Re: 10-BETA{3,4} - Consistent Kernel Panics (pf_ioctl.c:1289)

2013-12-04 Thread Gleb Smirnoff
On Tue, Dec 03, 2013 at 11:21:09PM -0800, Craig Rodrigues wrote: C KERNCONF: C C options VIMAGE C C makeoptions DEBUG=-g C C device pf C device pflog C device pfsync C device carp C C C How badly do you need VIMAGE in your kernel config?

Re: pf reply-to malfunction after r258468 (seems r258479)

2013-12-04 Thread Gleb Smirnoff
On Wed, Dec 04, 2013 at 10:14:09AM +0200, Vladimir Sharun wrote: V Dear Gleb, V Yesterday I (finally) got my server back to work and the problem disappear. Can't reproduce it anymore on r258865. That is strange. Ok, let's count issue as resolved if it doesn't show up again. -- Totus tuus,

Re: 10-RC unable to build kernel without INET (i.e. IPv6-only)

2013-12-17 Thread Gleb Smirnoff
Mark, On Tue, Dec 17, 2013 at 08:13:20PM +0100, Mark Martinec wrote: M Under 9.2 the following could be used to build an IPv6-only kernel: M M /sys/amd64/conf/TEST : M M include GENERIC M makeoptions MKMODULESENV+=WITHOUT_INET_SUPPORT= M nooptions INET M M M Now with stable/10 the: M M

Re: Strange coredumps with virtualized i386 FreeBSD 10

2013-12-19 Thread Gleb Smirnoff
Larry, On Thu, Dec 19, 2013 at 09:51:16AM -0500, Larry Baird wrote: L Does anybody else have issues with running i386 FreeBSD 10 under Virtual Box? L I have been running a number of different versions of FreeBSD under Virtual L Box for some time without any issues. Last week I installed amd64

Re: Strange coredumps with virtualized i386 FreeBSD 10

2013-12-19 Thread Gleb Smirnoff
Larry, On Thu, Dec 19, 2013 at 10:33:32AM -0500, Larry Baird wrote: L On Thu, Dec 19, 2013 at 09:51:16AM -0500, Larry Baird wrote: L L Does anybody else have issues with running i386 FreeBSD 10 under Virtual Box? L L I have been running a number of different versions of FreeBSD under

Re: PACKAGESITE spam

2013-12-22 Thread Gleb Smirnoff
Steve, On Sat, Dec 21, 2013 at 12:14:03PM -0800, Steve Kargl wrote: S It did not ask how to stop this stupidity. I asked to have S this stupidity stopped by default. The spewing of this S information in /var/log/messages provides NOTHING. Please S turn it off by default. I am really

Re: ng_ubt fatal trap 12 on RELENG_9 and CURRENT

2011-10-31 Thread Gleb Smirnoff
On Mon, Oct 31, 2011 at 01:22:40AM -0700, Matt Mullins wrote: M I ran into a somewhat interesting snag while trying out FreeBSD 9 on M my laptop.  I built a kernel from the RELENG_9 branch, and get a M fatal trap 12 during the initialization sequence.  For testing, I M rebuilt the same kernel from

Re: ifconfig alias

2011-11-24 Thread Gleb Smirnoff
On Thu, Nov 24, 2011 at 10:12:12PM -0800, Cy Schubert wrote: C Sometime between Nov 9 and yesterday (Nov 23 at approximately noon PST) C ifconfig alias has stopped working. Here's uname -a The problam had been introduced in r227830 and had been fixed in r227958. Sorry for that. -- Totus tuus,

Re: if_clone.c allows creating multiple interfaces with the same name

2011-11-25 Thread Gleb Smirnoff
On Thu, Nov 24, 2011 at 09:28:51AM +0100, Daan Vreeken wrote: D Hi All, D D Recently I've discovered a bug in if_clone.c and if.c where the code allows D multiple interfaces to be created with exactly the same name (which leads to D all sorts of other interesting problems). D I've submitted a

Re: if_clone.c allows creating multiple interfaces with the same name

2011-11-25 Thread Gleb Smirnoff
On Thu, Nov 24, 2011 at 09:28:51AM +0100, Daan Vreeken wrote: D Recently I've discovered a bug in if_clone.c and if.c where the code allows D multiple interfaces to be created with exactly the same name (which leads to D all sorts of other interesting problems). D I've submitted a PR about this

Re: if_clone.c allows creating multiple interfaces with the same name

2011-11-25 Thread Gleb Smirnoff
On Fri, Nov 25, 2011 at 05:19:35PM +0400, Gleb Smirnoff wrote: T On Thu, Nov 24, 2011 at 09:28:51AM +0100, Daan Vreeken wrote: T D Recently I've discovered a bug in if_clone.c and if.c where the code allows T D multiple interfaces to be created with exactly the same name (which leads to T D

panic: handle_written_inodeblock: live inodedep

2011-11-25 Thread Gleb Smirnoff
Hi! Running HEAD with KMS patches from kib@, a 15th November snapshot build from kms branch from ~kib/deviant2 repository. The panic message and backtrace look unrelated to KMS, so, I think my kernel can be considered a head from 15-th of November. Panic happened a couple of seconds after

Re: panic: handle_written_inodeblock: live inodedep

2011-11-26 Thread Gleb Smirnoff
On Sat, Nov 26, 2011 at 10:05:25AM +0200, Kostik Belousov wrote: KRunning HEAD with KMS patches from kib@, a 15th November K snapshot build from kms branch from ~kib/deviant2 repository. K The panic message and backtrace look unrelated to KMS, so, K I think my kernel can be considered a

Re: if_clone.c allows creating multiple interfaces with the same name

2011-11-29 Thread Gleb Smirnoff
Daan, On Tue, Nov 29, 2011 at 01:07:13AM +0100, Daan Vreeken wrote: D Thanks for the looking into this and for your quick commit. I like your twist D on the patch with the move from the unit bitmap to allocating unit numbers D with alloc_unr(9). D D I do have two comments on the new code

Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Gleb Smirnoff
Michael, On Sat, Aug 04, 2012 at 12:49:49PM -0400, Michael Butler wrote: M Something in -current and recently MFC'd to -stable is causing all of my M gmirror drives to rebuild on reboot :-( M M Being remote and these being production machines, I suspect SVN r237929 M and r237930 in -current

Re: Speaking of ship blockers for 9....

2012-08-09 Thread Gleb Smirnoff
Ian, On Tue, Aug 07, 2012 at 08:17:56PM +0200, Ian FREISLICH wrote: I I have a problem that's been getting progressively worse as the I source progresses. So much so that it's had me searching all the I way from 8.0-RELEASE to 10-CURRENT without luck on both amd64 and I i386. I I pf(4)

Re: Panic on use of deleted route.

2012-08-28 Thread Gleb Smirnoff
Ian, On Mon, Aug 27, 2012 at 09:08:31PM +0200, Ian FREISLICH wrote: I I get a panic shortly after ppp(8) exits. I haven't been able to I get a crashdump from a recent -CURRENT system, so in that absence, I I'll include output from an older system. Interestingly, the route I partially persists

Re: [panic] 10-CURRENT r239865: General protection fault (sysctl)

2012-09-11 Thread Gleb Smirnoff
On Tue, Sep 11, 2012 at 12:12:34PM -0400, Glen Barber wrote: G Hi, G G I upgraded to head/ r239865 (Last Changed Date: 2012-09-11 09:29:50). G G My laptop now panics with on boot with the new kernel. G G Backtrace (and hopefully some useful) information is attached. I can G provide any

Re: [RFC] how to get real ifi_baudrate from network interface

2012-09-19 Thread Gleb Smirnoff
On Wed, Sep 19, 2012 at 02:16:17PM -0700, Maksim Yevmenkin wrote: M hello, M M for sometime now i've been repeatedly annoyed by the fact that 10G M interfaces lie about their ifi_baudrate. i would like to propose M simple (hopefuly) change to address this. M M quick summary of the problem: M M

Re: r240825 -current fault with backtrace

2012-09-22 Thread Gleb Smirnoff
On Sat, Sep 22, 2012 at 02:13:58PM -0400, Kim Culhan wrote: K serial terminal not available, backtrace is a screen pic: K K https://picasaweb.google.com/lh/photo/b4TkAWaGPH7GkNH1VxuMJtv5Be3qwMGuK3qX4J5X-tk?feat=directlink Why didn't you make dump? db call doadump -- Totus tuus, Glebius.

Re: Message in_cksum_skip: out of data by ....

2012-10-07 Thread Gleb Smirnoff
On Sun, Oct 07, 2012 at 01:51:20PM -0400, Michael Butler wrote: M On 10/07/12 13:03, Garrett Cooper wrote: M Maybe these revisions had something to do with it... (r241245 is M more likely)? M M I reverted r241245 and the messages went away, I'll handle that. Sorry for breakage. -- Totus

Re: Message in_cksum_skip: out of data by ....

2012-10-07 Thread Gleb Smirnoff
David and Michael, can you please build a kernel with attached patch and options KDB, and report what's the trace is. Unfortunately my iwn(4) is running on amd64, so I can reproduce exactly your case. -- Totus tuus, Glebius. Index: i386/i386/in_cksum.c

Re: Message in_cksum_skip: out of data by ....

2012-10-08 Thread Gleb Smirnoff
David and Michael, On Sun, Oct 07, 2012 at 10:52:13AM -0700, Garrett Cooper wrote: G On 10/07/12 13:03, Garrett Cooper wrote: G Maybe these revisions had something to do with it... (r241245 is G more likely)? G G I reverted r241245 and the messages went away, Can you please try

Re: Interfaces connected by bridge(4) do not pass arp replies

2012-10-30 Thread Gleb Smirnoff
Kim, On Mon, Oct 29, 2012 at 05:59:04PM -0400, Kim Culhan wrote: K What svn revision of FreeBSD -current are you running? K K FreeBSD head r238604. K K I should have mentioned earlier this is with r242126, there have been K some changes K to the network code since 238604, maybe that is why

Re: HEADS UP: Clang now the default on x86

2012-11-05 Thread Gleb Smirnoff
On Mon, Nov 05, 2012 at 01:52:33PM -0600, Brooks Davis wrote: B I've made clang the default on x86 systems. There will probably be a B few bumps as we work out the last kinks including a ABI issue for i386 B system libraries, but the transition is expected to be fairly smooth for B most users. B

Re: HEADS UP: Clang now the default on x86

2012-11-06 Thread Gleb Smirnoff
On Tue, Nov 06, 2012 at 09:19:18AM +0400, Gleb Smirnoff wrote: T On Mon, Nov 05, 2012 at 01:52:33PM -0600, Brooks Davis wrote: T B I've made clang the default on x86 systems. There will probably be a T B few bumps as we work out the last kinks including a ABI issue for i386 T B system libraries

Re: netisr panic?

2012-11-17 Thread Gleb Smirnoff
On Sat, Nov 17, 2012 at 05:07:54PM +0200, Ian FREISLICH wrote: I I have this consistently with: I I FreeBSD firewall2.jnb1.gp-online.net 10.0-CURRENT FreeBSD 10.0-CURRENT #30 r243156: Fri Nov 16 20:12:33 SAST 2012 i...@firewall2.jnb1.gp-online.net:/usr/obj/usr/src/sys/FIREWALL amd64

Re: Upgrading FreeBSD to use the NEW pf syntax. (Copied from freebsd-pf)

2012-11-20 Thread Gleb Smirnoff
Olivier, On Tue, Nov 20, 2012 at 01:24:49PM +0100, Olivier Smedts wrote: O The other question that I haven't seen answered (or maybe even asked), but O is relevant: what do we gain by going to a later version of pf? I.e. as an O administrator, what benefit do I get by having to expend

Re: Upgrading FreeBSD to use the NEW pf syntax. (Copied from freebsd-pf)

2012-11-20 Thread Gleb Smirnoff
Chuck, On Tue, Nov 20, 2012 at 10:33:11AM -0600, Chuck Burns wrote: C Why not release pf2 as a port? Then those who want the new pf can use C it, and those that want the old one can use it. C C Or, another option is a knob USE_NEWPF during buildworld will build the C new pf, otherwise it'd

Re: Upgrading FreeBSD to use the NEW pf syntax.

2012-11-20 Thread Gleb Smirnoff
Mark, On Tue, Nov 20, 2012 at 03:43:17PM +0100, Mark Martinec wrote: M For one thing, I'm desperately awaiting NAT64 support (the 'af-to' M translation rule in newer pf (5.1?), committed on 2011-10). Backport this exact feature to FreeBSD and send patch. M Other: packet normalization (scrub)

Re: Upgrading FreeBSD to use the NEW pf syntax.

2012-11-21 Thread Gleb Smirnoff
On Wed, Nov 21, 2012 at 03:44:13PM +0100, Ermal Lu?i wrote: E Cherry-picking would be when tehre is reasonable similarities. E Also another argument to do this would be simplicity on locking as well as E i told you when you started the changes. You were wrong. OpenBSD doesn't move towards SMP

Re: Upgrading FreeBSD to use the NEW pf syntax.

2012-11-26 Thread Gleb Smirnoff
Paul, On Sat, Nov 24, 2012 at 02:11:32PM -, Paul Webster wrote: P I only really need one question answered in honesty; P P I personally think that by forking our own version of PF we have P essentially made something totally different to what everyone wants to P use. Which is fine, but

Re: About 802.1Q tag

2012-11-26 Thread Gleb Smirnoff
Kohji, On Mon, Nov 26, 2012 at 09:54:14AM +0900, Kohji Okuno wrote: K Would someone check the following code? K K If the hardware do not process an 802.1Q tag, the kernel repacks mbuf K in line 578-580. But, `struct ether_header *eh' was assigned at line 484. K K And, in line 611-637, because

Re: rev 244030 route command is not working

2012-12-10 Thread Gleb Smirnoff
On Sat, Dec 08, 2012 at 01:00:57PM +0200, Artyom Mirgorodskiy wrote: A I just upgraded to revision 244030. Unexpected route command is not working: A A #route add default 192.168.1.1 A route: fiboptlist_csv failed. What does 'sysctl net.my_fibnum' say? -- Totus tuus, Glebius.

Re: rev 244030 route command is not working

2012-12-10 Thread Gleb Smirnoff
Artyom, can you please run route with attached patch and show output? -- Totus tuus, Glebius. Index: route.c === --- route.c (revision 244082) +++ route.c (working copy) @@ -325,6 +325,7 @@ goto fiboptlist_csv_ret; }

Re: Memory modified after free - by whom?

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

Re: rev 244030 route command is not working

2012-12-11 Thread Gleb Smirnoff
On Tue, Dec 11, 2012 at 12:21:20PM +0200, Artyom Mirgorodskiy wrote: A Gleb, when I reset errno at the begin of fiboptlist_csv() everything work as expected. Artyom, can you please test attached patch? -- Totus tuus, Glebius. Index: route.c

Re: 10-CURRENT r244183 amd64 multiple lock order reversals

2012-12-14 Thread Gleb Smirnoff
On Fri, Dec 14, 2012 at 11:56:19AM +0100, Fleuriot Damien wrote: F First LOR, apparently in PF: F F altq: emulate 25600Hz cpu clock F lock order reversal: (sleepable after non-sleepable) F 1st 0x81390418 pf rulesets (pf rulesets) @

Re: loopback interface broken on current

2013-01-01 Thread Gleb Smirnoff
Manfred, On Thu, Dec 27, 2012 at 09:05:26AM -0800, Manfred Antar wrote: M For the past few days the loopback interface 127.0.0.1 is broken on current. M The last good kernel that works for me is r244662: Mon Dec 24 06:43:07 PST 2012 M Here are some of the errors from current today: Can you

Re: loopback interface broken on current

2013-01-02 Thread Gleb Smirnoff
On Tue, Jan 01, 2013 at 12:42:47PM -0800, Manfred Antar wrote: M OK M I tracked it down to revision 244678 M 244677 works M the files involved are: M (src)5012}svn up -r 244678 M Updating '.': M Usys/netinet/in.c M Usys/netinet6/in6.c M Updated to revision 244678 M M It seems like the ip6

Re: loopback interface broken on current

2013-01-09 Thread Gleb Smirnoff
On Wed, Jan 09, 2013 at 09:56:25AM +0100, Hartmann, O. wrote: H Same here. H The OS: FreeBSD 10.0-CURRENT/amd64 r245218. Since I have three boxes H running approximately the same configurations (I share my configs H between lab and home), but different hardware, I'm confused. H H The symptoms in

Re: svn commit: r228576 - in head: . sys/boot/forth sys/modules sys/modules/carp sys/modules/if_carp

2011-12-18 Thread Gleb Smirnoff
on this issue, or just has opinion. A A Bye, A Alexander. A A -- A Send via an Android device, please forgive brevity and typographic and spelling errors. Gleb Smirnoff gleb...@freebsd.org hat geschrieben:  Alexander, A A On Fri, Dec 16, 2011 at 05:49:03PM +0100, Alexander Leidinger wrote

Re: r228700 can't dhclient em0

2011-12-20 Thread Gleb Smirnoff
Doug, On Tue, Dec 20, 2011 at 12:38:53AM -0800, Doug Barton wrote: D I saw this too, when my kernel and userland were out of sync (e.g. just D after installing a new kernel, and before installworld). I suspect it D is caused by the changes in r228571, which cause old ifconfig and D

Re: r228700 can't dhclient em0

2011-12-20 Thread Gleb Smirnoff
Brooks, On Tue, Dec 20, 2011 at 10:51:34AM -0600, Brooks Davis wrote: B We almost certainly need to back r228571 out. This is not an acceptable B upgrade path that would be acceptable historically. Specially, we have B effectively promised users that an X.Y world will work on an X+1.0 B

Re: r228700 can't dhclient em0

2011-12-20 Thread Gleb Smirnoff
T An assumption that we are not allowed to change ABI for our own tools T strongly discourages bringing in new features :( P.S. Quoting documentation: The old world might not run correctly on the new kernel, so you must install the new world immediately upon installing the new kernel.

Re: making crdup()/crcopy() safe??

2011-12-20 Thread Gleb Smirnoff
John, On Tue, Dec 20, 2011 at 09:00:39AM -0500, John Baldwin wrote: J In general the caller of crdup is expected to hold a reference on cred or some J other lock to ensure that cred remains valid and cannot be free'd while it is J being duplicated. There is no global lock that crdup can

Re: r228700 can't dhclient em0

2011-12-20 Thread Gleb Smirnoff
On Tue, Dec 20, 2011 at 01:30:34PM -0600, Brooks Davis wrote: B I also worry about the problem that once you've installed world there is B no easy way back. When working on the patch for last months I did numerous 'make installkernel installworld' switching between a patched sources and

Re: r228700 can't dhclient em0

2011-12-21 Thread Gleb Smirnoff
Brooks, On Tue, Dec 20, 2011 at 07:52:41PM -0600, Brooks Davis wrote: B While this is the documented path, it's not actually been required B except in edge cases for ages (the last I can remember is a.out-elf). B It's been long enough that I don't think we can really make people do B it except

Re: r228700 can't dhclient em0

2011-12-21 Thread Gleb Smirnoff
On Wed, Dec 21, 2011 at 12:35:23PM -0800, Doug Barton wrote: D On Tue, Dec 20, 2011 at 07:52:41PM -0600, Brooks Davis wrote: D B While this is the documented path, it's not actually been required D B except in edge cases for ages (the last I can remember is a.out-elf). D B It's been long

Re: xdm/login: in openpam_check_path_owner_perms(): /usr/local/lib/pam_ldap.so.5 not found

2011-12-22 Thread Gleb Smirnoff
On Wed, Dec 21, 2011 at 11:09:23PM +0100, Hartmann, O. wrote: H OS: FreeBSD 10.0-CURRENT/amd64 r228787 H H Since the last update of world yesterday were I managed to compile the H OS WITH_LIBCPLUSPLUS=YES in /etc/src.conf, H only root is capable to login on the console. H H I use OpenLDAP 2.4 as

Re: r228700 can't dhclient em0

2011-12-22 Thread Gleb Smirnoff
On Thu, Dec 22, 2011 at 05:40:03PM -0800, Doug Barton wrote: D D So does that mean that if I upgrade to the latest HEAD from a system D D built before the ifconfig changes that when I reboot my network will D D come up? D D Yes, older infconfig will work in head r228571 || head r228768. D

Re: periodic emails

2012-01-04 Thread Gleb Smirnoff
On Tue, Jan 03, 2012 at 10:36:50AM -0500, John Baldwin wrote: J why do we send all these empty headings for periodic emails or given there is J no output to this one can we J J 1) suppress the empty sections (to me that sounds a bit like a wrong J return code or something maybe?), and J

new panic in cpu_reset() with WITNESS

2012-01-17 Thread Gleb Smirnoff
New panic has been introduced somewhere between r229851 and r229932, that happens on shutdown if kernel has WITNESS and doesn't have WITNESS_SKIPSPIN. Uptime: 1h0m17s Rebooting... panic: mtx_lock_spin: recursed on non-recursive mutex cnputs_mtx @ /usr/src/head/sys/kern/kern_cons.c:500 cpuid =

Re: dhclient em0: not found rev r230054

2012-01-17 Thread Gleb Smirnoff
On Tue, Jan 17, 2012 at 01:57:48PM +0200, Octavian Rinciog wrote: O Hello! O O After updating to FreeBSD 10.0-CURRENT #0 r230054, I can't do anymore O dhclient on em0. O O [root@freebsd ~]# uname -a O FreeBSD freebsd 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r230054: Fri Jan O 13 14:29:36 EET 2012

Re: new panic in cpu_reset() with WITNESS

2012-01-17 Thread Gleb Smirnoff
On Tue, Jan 17, 2012 at 07:34:23AM -0800, m...@freebsd.org wrote: m 2012/1/17 Gleb Smirnoff gleb...@freebsd.org: m  New panic has been introduced somewhere between m r229851 and r229932, that happens on shutdown if m kernel has WITNESS and doesn't have WITNESS_SKIPSPIN. m m Uptime: 1h0m17s m

Re: new panic in cpu_reset() with WITNESS

2012-01-20 Thread Gleb Smirnoff
On Tue, Jan 17, 2012 at 03:02:42PM +0400, Gleb Smirnoff wrote: T New panic has been introduced somewhere between T r229851 and r229932, that happens on shutdown if T kernel has WITNESS and doesn't have WITNESS_SKIPSPIN. I've run through binary search and panic was introduced by r229854

  1   2   3   4   >