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

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

2010-09-29 Thread Sergey Kandaurov
> From: Ryan Stone > Date: Wed, Sep 29, 2010 at 11:32 AM > Subject: Re: [PATCH] Netdump for review and testing -- preliminary version > To: Sergey Kandaurov > > >> db> netdump >> >> --- >> netdump in progress. searching

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

2010-09-29 Thread Sergey Kandaurov
The 1st error is caught :). Prior actions was triggering netdump, leaving db> and entering again, then trigger netdump once more. Dumping 1146 MB: 1131 1115 1099 1083 1067 1051 1035 1019 1003 987 971 955 939 923 907 891 875 859 843 827 811 795. . . . . . . . . . . ** DUMP FAILED (ERROR 60) ** Fai

Re: [RFC] ifconfig description support in rc.d

2010-10-09 Thread Sergey Kandaurov
On 10 October 2010 07:41, jhell wrote: > On 08/27/2010 05:17, pluknet wrote: >> On 27 August 2010 00:09, Doug Barton wrote: >>> On 08/26/2010 12:53 PM, pluknet wrote: [cc'ing current@ as rc@ looks too quite] Hi. Since ifconfig has grown to label interfaces with

Re: iostat(8) manual fix

2010-10-15 Thread Sergey Kandaurov
On 16 October 2010 00:42, Alexander Best wrote: > hi there, > > the iostat(8) manual seems to contain a few errors. this patch should take > care > of that. > > cheers. > alex > BTW, the existing description for -c corresponds to the old (traditional) way. iostat w - repeat each w seconds, infin

Re: mfiutil reports "PSTATE 0x0020" new drive state

2010-10-18 Thread Sergey Kandaurov
On 16 October 2010 02:18, Sergey Kandaurov wrote: > On 16 October 2010 00:51, Charles Owens wrote: >>  Hmm... the problem appears to have resolved itself.  After a few hours the >> new drive seems to have gone back into the array, and the original hot spare >> drive put back

Re: mfiutil reports "PSTATE 0x0020" new drive state

2010-10-19 Thread Sergey Kandaurov
On 19 October 2010 16:49, John Baldwin wrote: > On Monday, October 18, 2010 12:55:18 pm Sergey Kandaurov wrote: >> On 16 October 2010 02:18, Sergey Kandaurov wrote: >> > On 16 October 2010 00:51, Charles Owens >> > wrote: >> >>  Hmm... the problem appear

Re: siftr LOR: PFil hook read/write mutex vs. tcp

2010-11-06 Thread Sergey Kandaurov
On 6 November 2010 20:27, Bruce Cran wrote: > 1st 0x80990308 PFil read/write mutex (PFil hook read/write > mutex @ /usr/src/head/sys/net/pfil.c:77 > 2nd 0x80991528 tcp (tcp) > @ /usr/src/head/sys/modules/siftr/../../netinet/siftr.c:702 > KDB: stack backtrace: > db_trace_self_wrappe

Re: another fuse panic

2010-11-10 Thread Sergey Kandaurov
On 10 November 2010 09:34, Andriy Gapon wrote: > on 08/11/2010 14:13 Andriy Gapon said the following: >> on 08/11/2010 13:55 Andriy Gapon said the following: >>> I reliable got this panic when all I was doing is saving an attachment in >>> thunderbird 3 that ran in KDE 4 environment.  Not sure wha

Re: old references to vfs_mountroot_try()

2010-11-19 Thread Sergey Kandaurov
On 19 November 2010 02:14, Alexander Best wrote: > hi there, > > vfs_mountroot_try() seems to have been removed, yet the src still contains > three references to it: > > vfs_mount.c:386 > vfs_mount.c:723 > freebsd32_misc.c:2368 > So, what about just to rename those comments to reflect function na

Re: [RFC] ifconfig description support in rc.d

2010-11-19 Thread Sergey Kandaurov
On 11 October 2010 14:29, Hiroki Sato wrote: > Hi, > > pluknet wrote >  in : > > pl> On 27 August 2010 00:09, Doug Barton wrote: > pl> > On 08/26/2010 12:53 PM, pluknet wrote: > pl> >> > pl> >> [cc'ing current@ as rc@ looks too quite] > pl> >> > pl> >> Hi. > pl> >> > pl> >> Since ifconfig has gr

Re: old references to vfs_mountroot_try()

2010-11-23 Thread Sergey Kandaurov
On 19 November 2010 20:08, Marcel Moolenaar wrote: > > On Nov 19, 2010, at 2:09 AM, Sergey Kandaurov wrote: > >> On 19 November 2010 02:14, Alexander Best wrote: >>> hi there, >>> >>> vfs_mountroot_try() seems to have been removed, yet the src

Extracting tgz file: Attempt to write to an empty file

2010-11-29 Thread Sergey Kandaurov
Hi. I see these errors when tar (not limited to but including the version from FreeBSD -current) extracts directories from archive compressed with gtar. file reports: gzip compressed data, from Unix, last modified: Tue Nov 23 04:31:22 2010, max speed bsdtar taken from Google Code trunk extracts *

Re: Extracting tgz file: Attempt to write to an empty file

2010-12-08 Thread Sergey Kandaurov
On 7 December 2010 19:53, Tim Kientzle wrote: > On Nov 29, 2010, at 9:19 AM, Sergey Kandaurov wrote: >> I see these errors when tar (not limited to but including the version >> from FreeBSD -current) >> >> # bsdtar -xf ~/arch.tgz >> ./: Attempt to write to an e

Re: nfssvc not available or version mismatch (nfsv4 client)

2011-01-07 Thread Sergey Kandaurov
On 7 January 2011 12:09, Marek Salwerowicz wrote: >> >> kldload nfssvc && dmesg | tail -n 10 ? >> > > vm-salwerom% sudo kldload nfssvc > kldload: can't load nfssvc: File exists > > but: > > vm-salwerom% sudo kldload nfssvc.ko > vm-salwerom% dmesg | tail -n 10 > em0 at 194.29.146.128 server 194.29.

/sbin/init refuses to start with large physmem installed

2011-01-12 Thread Sergey Kandaurov
Hi. The box I have observed such a problem has 458752 MB of real memory (RAM). With this high value /sbin/init refuses to start with "Out of memory". I suspect there may be sort of (type) overflow somewhere. A corresponding part of console output below: start_init: trying /sbin/init Cannot map a

Re: /sbin/init refuses to start with large physmem installed

2011-01-12 Thread Sergey Kandaurov
On 12 January 2011 12:06, Sergey Kandaurov wrote: > Hi. > > The box I have observed such a problem has 458752 MB of real memory (RAM). > With this high value /sbin/init refuses to start with "Out of memory". > I suspect there may be sort of (type) overflow somewhere.

Re: Known LoR when taking bringing up bge(4) after system in multiuser?

2011-01-17 Thread Sergey Kandaurov
On 20 February 2010 03:25, Garrett Cooper wrote: > Hi, >    I came across the following LoR: > > lock order reversal: >  1st 0xc56aae04 if_afdata (if_afdata) @ > /usr/home/garrcoop/ipcvs/freebsd/src/sys/net/if_llatbl.c:130 >  2nd 0xc58a1d80 radix node head (radix node head) @ > /usr/home/garrcoop/

uma_zalloc_arg: zone "256" with non-sleepable exclusive rw ifnet_rw @ /usr/src/sys/net/if.c:414

2011-01-17 Thread Sergey Kandaurov
Hi, I see this "malloc with non-sleepable" on current during boot. It's strange that I don't see it if I boot via pxe/nfs. if_alloc() calls ifindex_alloc_locked() under IFNET_WLOCK() which might call if_grow(). Looks like a regression from r196553. igb6: port 0x8020-0x803f mem 0xd082-0xd083

Re: uma_zalloc_arg: zone "256" with non-sleepable exclusive rw ifnet_rw @ /usr/src/sys/net/if.c:414

2011-01-18 Thread Sergey Kandaurov
On 18 January 2011 17:54, John Baldwin wrote: > On Monday, January 17, 2011 12:55:26 pm Sergey Kandaurov wrote: >> Hi, >> >> I see this "malloc with non-sleepable" on current during boot. >> It's strange that I don't see it if I boot via pxe/n

Re: uma_zalloc_arg: zone "256" with non-sleepable exclusive rw ifnet_rw @ /usr/src/sys/net/if.c:414

2011-01-19 Thread Sergey Kandaurov
On 18 January 2011 22:04, John Baldwin wrote: > On Tuesday, January 18, 2011 1:22:24 pm Sergey Kandaurov wrote: >> On 18 January 2011 17:54, John Baldwin wrote: >> > On Monday, January 17, 2011 12:55:26 pm Sergey Kandaurov wrote: >> >> Hi, >> >> >&

Re: uma_zalloc_arg: zone "256" with non-sleepable exclusive rw ifnet_rw @ /usr/src/sys/net/if.c:414

2011-01-19 Thread Sergey Kandaurov
On 19 January 2011 18:17, John Baldwin wrote: > On Wednesday, January 19, 2011 9:51:59 am Sergey Kandaurov wrote: >> On 18 January 2011 22:04, John Baldwin wrote: >> > On Tuesday, January 18, 2011 1:22:24 pm Sergey Kandaurov wrote: >> >> On 18 January 2011 17:54, J

unbounded sleep on [fifoow] while open a named pipe: is it a feature?

2011-01-28 Thread Sergey Kandaurov
Hi. That's FreeBSD 8.1-RELEASE i386 (w/o debug). It's observed for bash processes which end up in unbounded sleep in [fifoow] wchan while executing the next script: %%% #!/usr/local/bin/bash LOG_FACILITY="local7.notice" LOG_TOPIC_OUT="$TAG-output[$$]" LOG_TOPIC_ERR="$TAG-error[$$]" cd $WORK_DI

Re: unbounded sleep on [fifoow] while open a named pipe: is it a feature?

2011-02-02 Thread Sergey Kandaurov
On 28 January 2011 15:14, Jilles Tjoelker wrote: > On Fri, Jan 28, 2011 at 12:43:38PM +0300, Sergey Kandaurov wrote: >> That's FreeBSD 8.1-RELEASE i386 (w/o debug). > >> It's observed for bash processes which end up in unbounded sleep >> in [fifoow] wch

Re: ktrace/kdump give incorrect message on unlinkat() failure due to capabilities

2019-09-25 Thread Sergey Kandaurov
On Sat, Sep 21, 2019 at 08:43:58PM -0400, Ryan Stone wrote: > I have written a short test program that runs unlinkat(2) in > capability mode and fails due to not having the write capabilities: > > https://people.freebsd.org/~rstone/src/unlink.c > > If I run the binary under ktrace and look at the

Re: ktrace/kdump give incorrect message on unlinkat() failure due to capabilities

2019-10-08 Thread Sergey Kandaurov
On Mon, Oct 07, 2019 at 09:48:16AM -0700, John Baldwin wrote: > On 9/25/19 10:33 AM, Sergey Kandaurov wrote: > > > > Index: lib/libsysdecode/mktables > > === > > --- lib/libsysdecode/mktables (r

Re: libthr and main thread stack size

2014-09-23 Thread Sergey Kandaurov
On 23 September 2014 13:24, Konstantin Belousov wrote: > In the patch, default behaviour is to provide RLIMIT_STACK sized stack > for the main thread. The knobs are there to restore the old AS layout > if my fears of the binary compatibility become real one day, and to > keep the interface compat

Re: Panic using QLogic NetXtreme II BCM57810 with latest CURRENT snapshot

2015-05-12 Thread Sergey Kandaurov
On 13 May 2015 at 00:21, Niclas Zeising wrote: > Hi! > I got the following panic with a QLogic NetXtreme II BCM57810 when > trying to assign an IP address using dhclient. The network card uses > the bxe driver. The machine in question is a HP DL380 Gen9. > > Kernel page fault with the following

[patch] chmod: change directory permissions in pre-order

2015-06-04 Thread Sergey Kandaurov
Change directory permissions in pre-order. In this order, it won't try to recurse into a directory for which it doesn't have permission, before changing that permission. This follows the existing behavior in other BSDs, linux, OS X. Obtained from: NetBSD Found by: while digging in buildbot

Re: COMPAT_FREEBD8 doesn't exists.

2015-06-17 Thread Sergey Kandaurov
On 17 June 2015 at 15:00, Arseny Nasokin wrote: > There was some talks back on 2011/2012 about this option, that kernel > should include it, but there is no such option (you can see at least > PR#163630 about this). > > Also I've not found any commit which adds this option and no code in kernel >

Re: null pointer dereference panic in cap_rights_contains() on 11.0-CURRENT r285785 amd64

2015-07-23 Thread Sergey Kandaurov
On 24 July 2015 at 01:24, Don Lewis wrote: > I just got this panic while using poudriere to build packages for > FreeBSD 8.4 i386. [..] > db> bt > Tracing pid 78211 tid 101405 td 0xf80139td29a0 > cap_rights_contains() at cap_rights_contains+0x24/frame > 0xfe005acc772d0 > cap_check() at cap

Re: FreeBSD_HEAD-tests - Build #1226 - Unstable

2015-07-28 Thread Sergey Kandaurov
On 28 July 2015 at 00:23, wrote: > FreeBSD_HEAD-tests - Build #1226 - Unstable: > [..] > [192.168.10.2] out: sys/kern/unix_seqpacket_test:shutdown_send -> failed: 2 > checks failed; see output for more details [0.371s] > [192.168.10.2] out: sys/kern/unix_seqpacket_test:shutdown_send_sigpipe

Re: Notice: wifi infrastructure upgraded; time to mergemaster!

2015-08-29 Thread Sergey Kandaurov
On 29 August 2015 at 03:46, Rui Paulo wrote: > I just upgraded and there were zero rc.conf changes. Were you talking > about custom rc.d scripts? You probably want to re-read subject. -- wbr, pluknet ___ freebsd-current@freebsd.org mailing list https

Re: Upgrading to r297291 LAGG(4) stops working.

2015-09-04 Thread Sergey Kandaurov
On 1 September 2015 at 04:47, John Baldwin wrote: > On Monday, August 31, 2015 09:58:45 AM Adrian Chadd wrote: >> Hi, >> >> +glebius, as he recently messed around with the wifi stack and his >> changes may have broken how mac addresses are assigned to the >> hardware. > > Glebius did break this, t

Re: Upgrading to r297291 LAGG(4) stops working.

2015-09-07 Thread Sergey Kandaurov
On 4 September 2015 at 17:06, Gleb Smirnoff wrote: > On Fri, Sep 04, 2015 at 04:39:22PM +0300, Sergey Kandaurov wrote: > S> On 1 September 2015 at 04:47, John Baldwin wrote: > S> > On Monday, August 31, 2015 09:58:45 AM Adrian Chadd wrote: > S> >> Hi, > S>

Re: Make installworld fails on file not found (Error code 71)

2015-10-20 Thread Sergey Kandaurov
On 20 October 2015 at 11:07, Thomas Mueller wrote: > I was trying to test the new i915 graphics driver but got stuck in building > and installing the userland: > > /usr/share/man/man2/mknodat.2 -> /usr/share/man/man2/mknod.2 > /usr/share/man/man2/munlock.2 -> /usr/share/man/man2/mlock.2 > /usr/sh

Re: Installworld fails with TMPDIR pointing to NFS mounted directory

2016-01-12 Thread Sergey Kandaurov
On 12 January 2016 at 19:42, Tom Vijlbrief wrote: > [..] > export TMPDIR=/media/swan/tmp > > The NFS server exports /media/swan which has a src/ obj/ and tmp/ > subdirectory. > src/ has the sources, obj/ is filled correctly by makeworld. > The tmp dir has the correct permissions. The installworld

Re: Dtrace: type mismatch in sys/kern/kern_sig.c

2011-09-20 Thread Sergey Kandaurov
On 19 September 2011 19:24, Anton Yuzhaninov wrote: > In the file sys/kern/kern_sig.c defined DTrace probe proc:::signal-discard > > SDT_PROBE_DEFINE(proc, kernel, , signal_discard, signal-discard); > SDT_PROBE_ARGTYPE(proc, kernel, , signal_discard, 0, "struct thread *"); > SDT_PROBE_ARGTYPE(proc

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: Incorrect tag= in /usr/src/share/examples/cvsup/sta(ble|ndard) in 9.0-PRERELEASE?

2011-11-29 Thread Sergey Kandaurov
On 26 November 2011 11:44, Milan Obuch wrote: > Hi, > > I am playing a bit with 9.0-PRERELEASE compiling it from source updated > via csup. In both example files there is line specifying what to csup > > *default release=cvs tag=RELENG_8 > > which is incorrect, I think. It is convenient for me to

Re: Incorrect tag= in /usr/src/share/examples/cvsup/sta(ble|ndard) in 9.0-PRERELEASE?

2011-11-29 Thread Sergey Kandaurov
On 29 November 2011 20:16, Maxim Khitrov wrote: > On Tue, Nov 29, 2011 at 10:30 AM, Sergey Kandaurov wrote: >> On 26 November 2011 11:44, Milan Obuch wrote: >>> Hi, >>> >>> I am playing a bit with 9.0-PRERELEASE compiling it from source updated >>>

Re: Incorrect tag= in /usr/src/share/examples/cvsup/sta(ble|ndard) in 9.0-PRERELEASE?

2011-12-01 Thread Sergey Kandaurov
On 1 December 2011 10:20, Milan Obuch wrote: > On Tue, 29 Nov 2011 19:22:39 +0300 > Sergey Kandaurov wrote: > >> On 29 November 2011 20:16, Maxim Khitrov wrote: >> > On Tue, Nov 29, 2011 at 10:30 AM, Sergey Kandaurov >> > wrote: >> >> On 26

Re: Incorrect tag= in /usr/src/share/examples/cvsup/sta(ble|ndard) in 9.0-PRERELEASE?

2011-12-01 Thread Sergey Kandaurov
On 1 December 2011 13:17, Kostik Belousov wrote: > On Thu, Dec 01, 2011 at 12:12:18PM +0300, Sergey Kandaurov wrote: >> On 1 December 2011 10:20, Milan Obuch wrote: >> > On Tue, 29 Nov 2011 19:22:39 +0300 >> > Sergey Kandaurov wrote: >> > >> >>

Re: [head tinderbox] failure on amd64/amd64

2011-12-23 Thread Sergey Kandaurov
On 24 December 2011 03:39, FreeBSD Tinderbox wrote: > TB --- 2011-12-23 19:00:00 - tinderbox 2.8 running on > freebsd-current.sentex.ca > TB --- 2011-12-23 19:00:00 - starting HEAD tinderbox run for amd64/amd64 > TB --- 2011-12-23 19:00:00 - cleaning the object tree > TB --- 2011-12-23 19:00:50 -

Re: [head tinderbox] failure on amd64/amd64

2011-12-23 Thread Sergey Kandaurov
On 24 December 2011 04:02, Sergey Kandaurov wrote: > On 24 December 2011 03:39, FreeBSD Tinderbox wrote: >> TB --- 2011-12-23 19:00:00 - tinderbox 2.8 running on >> freebsd-current.sentex.ca >> TB --- 2011-12-23 19:00:00 - starting HEAD tinderbox run for amd64/amd64 >&

Re: [RFC] fix git detection code in newvers.sh when svn installed

2012-01-06 Thread Sergey Kandaurov
On 6 January 2012 21:50, Oliver Pinter wrote: > Hi All! > > When svn installed and the source stored in git, then now the version > detection failed. The attached patch fixed this situation. > FWIW, a different version proposed by Maciej Milewski on -current some time ago. I don't have/use git, s

Re: CARP on -CURRENT

2012-01-18 Thread Sergey Kandaurov
On 19 January 2012 00:54, Andrew Hobbs wrote: > Is CARP implemented on -CURRENT (FreeBSD 10)? > > I'm playing around with some test boxes in the office running -CURRENT; > testbox# uname -a > FreeBSD testbox.ai.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jan 18 > 19:21:12 EST 2012     r...@test

Re: Improving the FreeBSD-9 boot menu

2012-01-25 Thread Sergey Kandaurov
On 21 September 2011 05:46, Warren Block wrote: > The patch in PR 160818 makes some clarifications and improvements to the new > boot menu.  Obviously this is not for 9.0-RELEASE, just wanting to get it > out there so people can look at it. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=160818 >

[patch] fstat: print the owner process for UNIX domain sockets

2012-01-26 Thread Sergey Kandaurov
Hi. This patch adds support for fstat(1) to identify which process opened the specified socket file, to bring in line with regular files. E.g.: # fstat /var/run/devd.pipe USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME root devd12594* local stream fe0

Re: CARP on -CURRENT

2012-02-01 Thread Sergey Kandaurov
On 2 February 2012 04:26, Andrew Hobbs wrote: > I much appreciate the responses and I was able to get CARP functioning using > the new ifconfig syntax under -CURRENT. Having done that, CARP is now acting > as it should, though now I have a new challenge with devd and automatic > firing of scrip

Re: /usr/src/lib/libc/gen/aux.c:106: error: 'AT_TIMEKEEP' undeclared

2012-09-18 Thread Sergey Kandaurov
On 19 September 2012 00:27, Anton Shterenlikht wrote: > > I'm trying to rebuild libc with debugging symbols. > I did: > > # cd /usr/src/lib/libc > # make all install DEBUG_FLAGS='-g' > > and got: > > cc -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include > -I/ > usr/src/lib/

Re: memory warnings r240891 | dmesgg

2012-10-04 Thread Sergey Kandaurov
On 4 October 2012 20:18, Darrel wrote: > Hello, > > Swap was created twice on this 9.0 release candidate install- once as > part of zfs and also as encrypted hard drive space. > > (30) @ 12:01:50> swapinfo > Device 1K-blocks UsedAvail Capacity > /dev/zvol/bigD/swap 4194304

Re: CSRG history now available as an SVN repository

2012-10-19 Thread Sergey Kandaurov
On 20 October 2012 00:34, Andrew Milton wrote: > +---[ John Baldwin ]-- > | I recently converted CSRG's SCCS repository holding the original BSD history > | to a Subversion repository. As a derivative work of CSRG's code base, this > | repository is available under the ter

Re: strange buildworld failure

2012-11-23 Thread Sergey Kandaurov
On 23 November 2012 12:34, Nikos Vassiliadis wrote: > Hi, > > I am trying to buildworld but it fails here: >> >> ===> usr.bin/ypwhich (all) >> cc -O2 -pipe -std=gnu99 -Qunused-arguments -fstack-protector >> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized - >> Wno-pointer-sign -W

Re: syscall cost freebsd vs linux ?

2012-11-26 Thread Sergey Kandaurov
On 26 November 2012 15:39, Lukasz Wojcik wrote: > On 11/19/12 20:32, Luigi Rizzo wrote: >> >> today i was comparing the performance of some netmap-related code >> on FreeBSD and Linux (RELENG_9 vs 3.2) and i was surprised to see that >> our system calls are significantly slower. >> On comparable h

Re: r244114 ia64: make check-old-libs says /lib/libz.so.5 can be removed, but it is still needed by /usr/sbin/dtrace and /usr/sbin/lockstat

2012-12-12 Thread Sergey Kandaurov
On 12 December 2012 14:07, Anton Shterenlikht wrote: > I updated to r244114 on ia64 following the > standard procedure. I then get: > > # make check-old-libs Checking for old libraries > /lib/libz.so.5 > # > > while sysutils/libchk shows: > > Binaries that are linked with: /lib/libz.so.5 >

Re: base system: remnant old files not covered by "make delete-old-files"

2012-12-26 Thread Sergey Kandaurov
On 26 December 2012 15:49, O. Hartmann wrote: > I figured out that my system is somekind of "polluted" by remnant old files. > > I do installworld on a regular basis and I do it like suggested in the > handbook. I also regularyly do make delete-old-XXX in /usr/src. > > Well, now I figured out that

Re: [head tinderbox] failure on ia64/ia64

2013-01-21 Thread Sergey Kandaurov
On 21 January 2013 14:23, FreeBSD Tinderbox wrote: > TB --- 2013-01-21 08:24:09 - tinderbox 2.10 running on > freebsd-current.sentex.ca > TB --- 2013-01-21 08:24:09 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE > FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 > d...@freebsd-cu

panic: LK_RETRY set with incompatible flags

2013-01-31 Thread Sergey Kandaurov
Hi. Got this assertion on idle NFS server while `ls -la /.zfs/shares/' issued on NFS client. kern/vfs_vnops.c:_vn_lock() KASSERT((flags & LK_RETRY) == 0 || error == 0, ("LK_RETRY set with incompatible flags (0x%x) or an error occured (%d)", panic: LK_RETRY set

Re: panic: LK_RETRY set with incompatible flags

2013-02-04 Thread Sergey Kandaurov
On 4 February 2013 05:07, Rick Macklem wrote: > Andriy Gapon wrote: >> on 03/02/2013 18:36 Rick Macklem said the following: >> > I can think of two possibilities: >> > 1 - ZFS isn't setting VV_ROOT on the root vnode under some >> > condition. >> > or >> > 2 - The vnode was left locked from some pr

Re: panic: LK_RETRY set with incompatible flags

2013-02-04 Thread Sergey Kandaurov
On 4 February 2013 05:50, Rick Macklem wrote: > Konstantin Belousov wrote: >> On Sat, Feb 02, 2013 at 09:30:39PM -0500, Rick Macklem wrote: >> > Andriy Gapon wrote: >> > > on 31/01/2013 15:29 Sergey Kandaurov said the following: >> > > > Hi. >> &

Re: panic: LK_RETRY set with incompatible flags

2013-02-04 Thread Sergey Kandaurov
On 4 February 2013 16:06, Andriy Gapon wrote: > on 04/02/2013 13:49 Sergey Kandaurov said the following: >> Hi, Rick! Here is the requested info regarding witness, and a bit more. >> The triggered KASSERT is now different though. > > It's exactly the same problem

Re: panic: LK_RETRY set with incompatible flags

2013-02-04 Thread Sergey Kandaurov
On 4 February 2013 16:13, Sergey Kandaurov wrote: > On 4 February 2013 16:06, Andriy Gapon wrote: >> on 04/02/2013 13:49 Sergey Kandaurov said the following: >>> Hi, Rick! Here is the requested info regarding witness, and a bit more. >>> The triggered KASSERT is now d

Re: panic: LK_RETRY set with incompatible flags

2013-02-04 Thread Sergey Kandaurov
On 4 February 2013 16:30, Sergey Kandaurov wrote: > On 4 February 2013 16:13, Sergey Kandaurov wrote: >> On 4 February 2013 16:06, Andriy Gapon wrote: >>> on 04/02/2013 13:49 Sergey Kandaurov said the following: >>>> Hi, Rick! Here is the requested info reg

Re: panic: LK_RETRY set with incompatible flags

2013-02-04 Thread Sergey Kandaurov
On 4 February 2013 06:32, Rick Macklem wrote: > Konstantin Belousov wrote: >> On Sat, Feb 02, 2013 at 09:30:39PM -0500, Rick Macklem wrote: >> > Andriy Gapon wrote: >> > > on 31/01/2013 15:29 Sergey Kandaurov said the following: >> > > > Hi. >> &

Re: panic: LK_RETRY set with incompatible flags

2013-02-04 Thread Sergey Kandaurov
On 5 February 2013 04:13, Rick Macklem wrote: > Sergey Kandaurov wrote: >> On 4 February 2013 06:32, Rick Macklem wrote: >> > Konstantin Belousov wrote: >> >> On Sat, Feb 02, 2013 at 09:30:39PM -0500, Rick Macklem wrote: >> >> > Andriy Gapon wrote: &

Re: panic: LK_RETRY set with incompatible flags

2013-02-07 Thread Sergey Kandaurov
On 7 February 2013 17:43, Andriy Gapon wrote: > on 07/02/2013 04:13 Rick Macklem said the following: >> Andriy Gapon wrote: >>> on 06/02/2013 17:15 Rick Macklem said the following: Well, zfs_vget() returns EOPNOTSUPP for .zfs, so the NFS server knows to switch over to using VOP_LOOK

Re: panic: LK_RETRY set with incompatible flags

2013-02-07 Thread Sergey Kandaurov
On 7 February 2013 19:42, Andriy Gapon wrote: > on 07/02/2013 17:36 Sergey Kandaurov said the following: >> I tested the patch without the (*vpp != dvp) change. >> It works well. >> >> It's something unrelated but when doing ls -l >> on server (patched) an

[patch] remove negative socklen_t checks

2013-02-20 Thread Sergey Kandaurov
Hi. These checks are useless after the address length argument is converted to socklen_t (up to SUSv2). Any objections? Index: lib/libc/sys/accept.2 === --- lib/libc/sys/accept.2 (revision 245745) +++ lib/libc/sys/accept.2

Re: [patch] remove negative socklen_t checks

2013-02-20 Thread Sergey Kandaurov
On 20 February 2013 22:42, Xin Li wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 02/20/13 09:19, Sergey Kandaurov wrote: >> Hi. >> >> These checks are useless after the address length argument is >> converted to socklen_t (up to SUSv2).

Re: r247095 Boot Failure

2013-02-21 Thread Sergey Kandaurov
On 21 February 2013 19:38, matt wrote: > On Thu, Feb 21, 2013 at 3:34 PM, Navdeep Parhar 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 is safe mode as f

Re: [PATCH] Fix sbin/fsdb/fsdbutil.c for r247212

2013-02-24 Thread Sergey Kandaurov
On 24 February 2013 19:25, David Wolfskill wrote: > On Sun, Feb 24, 2013 at 07:05:34AM -0800, David Wolfskill wrote: >> ...hine was: >> Simple patch attached; world is still building, but at least it got >> through the "make dependencies" phase this time. >> ... > > That was incomplete, as it didn

[patch] Proposal: move getmntopts(3) into libutil

2013-02-26 Thread Sergey Kandaurov
Hi. The functions from sbin/mount/getmntopts.c are used in a bunch of other stuff like mount_* utilities which have to suck them in as their own functions in quite a hackish way. getmntopts.c copies are compiled in to an every utility-consumer instead of being present in one place. Looks like get

Re: [patch] Proposal: move getmntopts(3) into libutil

2013-02-27 Thread Sergey Kandaurov
On 26 February 2013 16:20, Konstantin Belousov wrote: > On Tue, Feb 26, 2013 at 02:39:26PM +0300, Sergey Kandaurov wrote: >> Hi. >> >> The functions from sbin/mount/getmntopts.c are used in a bunch of other >> stuff like mount_* utilities which have to suck them in a

Re: [patch] Proposal: move getmntopts(3) into libutil

2013-02-27 Thread Sergey Kandaurov
On 26 February 2013 23:11, Craig Rodrigues wrote: > On Tue, Feb 26, 2013 at 3:39 AM, Sergey Kandaurov wrote: >> >> Hi. >> >> >> >> External mount-like utilities may also have difficulties with building >> to get getmntopts.c source as this requir

Re: About kern.ipc.semmap on FreeBSD 9

2012-03-22 Thread Sergey Kandaurov
On 23 March 2012 09:20, Alexander Pyhalov wrote: > On 03/23/2012 01:52, Herbert J. Skuhra wrote: >> >> On Thu, 22 Mar 2012 10:02:15 -0600 >> Efraín Déctor  wrote: >> >>> Hello. I’m currently testing FreeBSD 9.0, I want to use it as a OS >>> for a PostgreSQL Server. However, it is recommended to mo

Re: compiling glib20 failed

2012-04-03 Thread Sergey Kandaurov
On 4 April 2012 07:02, gahn wrote: > hi gurus: > > i got problem with compiling glib20: > > ===>   glib-2.28.8_4 depends on file: /usr/local/bin/perl5.10.1 - found > /libexec/ld-elf.so.1: /usr/local/lib/liblzma.so.5: version XZ_5.0 required by > /usr/bin/xz not defined > ===>  Missing license fil

Re: kernel build failure

2012-04-12 Thread Sergey Kandaurov
On 13 April 2012 02:21, AN wrote: > At Thu Apr 12 17:52:05 EDT 2012: > > [root@FBSD10 /usr/src]# svn up > Updating '.': > At revision 234196. [...] > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-protot

Re: panic, seems related to r234386

2012-05-06 Thread Sergey Kandaurov
On 7 May 2012 01:54, Doug Barton wrote: > I got this with today's current, previous (working) kernel is r232719. > > panic: _mtx_lock_sleep: recursed on non-recursive mutex struct mount mtx > @ /frontier/svn/head/sys/kern/vfs_subr.c:4595 > > FWIW I'm using ufs2, ext2fs, and msdosfs on this system.

Re: panic, seems related to r234386

2012-05-07 Thread Sergey Kandaurov
On 8 May 2012 05:14, Doug Barton wrote: > On 05/07/2012 13:11, Mateusz Guzik wrote: >> On Mon, May 07, 2012 at 12:28:41PM -0700, Doug Barton wrote: >>> On 05/06/2012 15:19, Sergey Kandaurov wrote: >>>> On 7 May 2012 01:54, Doug Barton wrote: >>>>&

Re: SOLVED: Re: KLD zfs.ko: depends on acl_nfs4 - not available or version mismatch

2012-05-10 Thread Sergey Kandaurov
On 10 May 2012 14:23, Anton Shterenlikht wrote: > On Thu, May 10, 2012 at 11:01:21AM +0100, Anton Shterenlikht wrote: >> On ia64 r235163 I get this error >> when trying to load zfs module: >> >> # ls -al /boot/kernel/zfs.ko* >> -r-xr-xr-x  1 root  wheel  2496877 May 10 09:15 /boot/kernel/zfs.ko >>

Re: r235163: root: /etc/rc.d/sysctl: WARNING: sysctl vfs.nfs.access_cache_timeout does not exist.

2012-05-10 Thread Sergey Kandaurov
On 10 May 2012 14:30, Anton Shterenlikht wrote: > > On ia64 r235163: > > root: /etc/rc.d/sysctl: WARNING: sysctl vfs.nfs.access_cache_timeout does not > exist. > > What is this about? > After updating to this revision, > I run mergemaster, as usual, > with the setting to auto update > all /etc fi

Re: panic, seems related to r234386

2012-05-10 Thread Sergey Kandaurov
On 8 May 2012 00:11, Mateusz Guzik wrote: > On Mon, May 07, 2012 at 12:28:41PM -0700, Doug Barton wrote: >> On 05/06/2012 15:19, Sergey Kandaurov wrote: >> > On 7 May 2012 01:54, Doug Barton wrote: >> >> I got this with today's current, previous (working) k

Re: Daily, weekly, security scripts....

2012-05-24 Thread Sergey Kandaurov
On 24 May 2012 11:49, Willem Jan Withagen wrote: > [I looked for a better list to drop this on, but other that freebsd-rc > nothing seems close.] > > Hi, > > I nagged about the verbosity of the periodic scripts. > But did not give any example. > > Well I just ran into a perfect example: > -- > Che

Re: mbstowcs(3) may not return -1

2012-06-21 Thread Sergey Kandaurov
On 21 June 2012 16:38, David Demelier wrote: > Hello, > > While reading the manpage of mbstowcs I noticed an error in the RETURN > VALUES : > >     The mbstowcs() function returns the number of wide characters converted, >     not counting any terminating null wide character, or -1 if an invalid >

Re: mbstowcs(3) may not return -1

2012-06-21 Thread Sergey Kandaurov
On 21 June 2012 19:42, David Demelier wrote: > On 21/06/2012 14:55, Sergey Kandaurov wrote: >> >> On 21 June 2012 16:38, David Demelier  wrote: >>> >>> Hello, >>> >>> While reading the manpage of mbstowcs I noticed an error in the RETURN >&

Re: VIA VE-900 nano X2 boot failure

2012-07-17 Thread Sergey Kandaurov
On 17 July 2012 20:56, Felix Kohtz wrote: > I recently purchased a VIA EPIA-VE-900 Nano X2 1,4 GHz Dual Core MiniITX > Board > http://www.via.com.tw/en/products/viamainboards/ve900/index.jsp > > and wanted to install FreeBSD (amd64) from an iso-file on it. > > I tried to install: > > FreeBSD 8.3-R

Re: swp_pager_meta_build DoS printf

2012-08-12 Thread Sergey Kandaurov
On 2 July 2012 20:31, Bjoern A. Zeeb wrote: > > On 2. Jul 2012, at 14:36 , John Baldwin wrote: > >> On Sunday, July 01, 2012 8:23:31 am Bjoern A. Zeeb wrote: >>> Hey, >>> >>> hitting this printf in swp_pager_meta_build() >>> >>>if (uma_zone_exhausted(swap_zone)) { >>>

Re: swp_pager_meta_build DoS printf

2012-08-15 Thread Sergey Kandaurov
On 15 August 2012 19:21, John Baldwin wrote: > On Monday, August 13, 2012 1:49:38 am Sergey Kandaurov wrote: >> On 2 July 2012 20:31, Bjoern A. Zeeb wrote: >> > >> > On 2. Jul 2012, at 14:36 , John Baldwin wrote: >> > >> >> On Sunday, July 01,

Re: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi)

2013-09-24 Thread Sergey Kandaurov
On 24 September 2013 11:46, Sergey V. Dyatko wrote: > Hi, > > today I tried to play a bit with new iscsi > > r255812 isn't fully complete fix? > [...] > run `kldload iscsi_initiator` and got a panic: Something like this quick'n'dirty should work. Compile tested only. Index: sys/dev/iscsi_initia

Re: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi)

2013-09-24 Thread Sergey Kandaurov
On 24 September 2013 14:40, Sergey Kandaurov wrote: > On 24 September 2013 11:46, Sergey V. Dyatko wrote: >> Hi, >> >> today I tried to play a bit with new iscsi >> >> r255812 isn't fully complete fix? >> > [...] >> run `kldload iscs

Re: panic: make_dev_credv: bad si_name (error=17, si_name=iscsi)

2013-09-24 Thread Sergey Kandaurov
On 24 September 2013 15:44, Edward Tomasz Napierała wrote: > Wiadomość napisana przez Sergey Kandaurov w dniu 24 wrz > 2013, o godz. 13:00: >> On 24 September 2013 14:40, Sergey Kandaurov wrote: >>> On 24 September 2013 11:46, Sergey V. Dyatko >>> wrote: >&

panic: sbdrop in sbcut_internal

2013-11-25 Thread Sergey Kandaurov
Seen this on head while doing two `/etc/rc.d/netif restart wlan0' in parallel. Thanks our shiny new compiler I can not examine local vars. $FreeBSD: head/sys/kern/uipc_sockbuf.c 256185 2013-10-09 11:57:53Z glebius $ Unread portion of the kernel message buffer: <118>Nov 24 20:35:52 omg wpa_su

Re: [head tinderbox] failure on amd64/amd64

2013-11-27 Thread Sergey Kandaurov
On 27 November 2013 17:59, Shawn Webb wrote: > On Wed, Nov 27, 2013 at 8:07 AM, FreeBSD Tinderbox > wrote: >> >> >>> stage 3.2: building everything >> [...] >> ^ >> /src/sys/sys/sdt.h:153:19: note: expanded from macro 'SDT_PROBE_DEFINE' >> struct sdt_probe sdt_##prov##_##mod##_##f

Re: option PROCDESC is gone?

2014-02-07 Thread Sergey Kandaurov
On Fri, Feb 07, 2014 at 05:33:56AM -0800, Anton Shterenlikht wrote: > /usr/src/UPDATING: > > 20130905: > The PROCDESC kernel option is now part of the GENERIC kernel > configuration and is required for the rwhod(8) to work. > If you are using custom kernel configuration, yo

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

2014-03-14 Thread Sergey Kandaurov
On 13 March 2014 20:43, Gleb Smirnoff wrote: > Hi! > > Since initial mail > > http://lists.freebsd.org/pipermail/freebsd-current/2013-October/045911.html > > did not raise a lot of objection, I'm going to proceed with this. Would you like to clean up from DECnet as well? :) sys/net/if_fddi

Re: mdoc warning: .Fx: Unknown FreeBSD version `10' (#181)

2013-03-16 Thread Sergey Kandaurov
On 17 March 2013 02:05, Andrey Fesenko wrote: > On Sat, Mar 16, 2013 at 8:59 PM, deeptech71 wrote: >> When running ``man script'' (world r248258), I get: >> >> mdoc warning: .Fx: Unknown FreeBSD version `10' (#181) >> >> (and the whole man page, which quickly hides the warning). > > reproduce >

Re: problem building -current

2013-05-07 Thread Sergey Kandaurov
On 7 May 2013 17:21, Michael W. Lucas wrote: > > Hi, > > I'm running an older -current: > > bewilderbeast/usr/src;uname -a > FreeBSD bewilderbeast.blackhelicopters.org 10.0-CURRENT FreeBSD 10.0-CURRENT > #15: Thu Nov 8 14:02:45 EST 2012 > mwlu...@bewilderbeast.blackhelicopters.org:/usr/obj/

Re: [HEADSUP] flex/lex updated to 2.5.37 (from flex.sourceforge.net)

2013-05-22 Thread Sergey Kandaurov
On 22 May 2013 00:03, Jung-uk Kim wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Please note flex/lex was updated to 2.5.37 from flex.sourceforge.net and > __FreeBSD_version was bumped to 133. > > FYI, I added couple of compatibility shims (just enough to build the > previous sou

Typo in PCI-E Bus Speed measure unit

2013-05-25 Thread Sergey Kandaurov
Hi. I'd like to commit this patch. PCI-E Bus Speed is measured in GT/s (transfers per sec). Index: sys/dev/ixgbe/ixgbe.c === --- sys/dev/ixgbe/ixgbe.c (revision 250717) +++ sys/dev/ixgbe/ixgbe.c (working copy) @@ -579,8 +

  1   2   >