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

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

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

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

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 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: CURRENT r253794: make installkernel fails: install: runfw.ko: No such file or directory

2013-07-30 Thread Sergey Kandaurov
On 30 July 2013 11:44, O. Hartmann wrote: > On Tue, 30 Jul 2013 09:29:56 +0200 > "O. Hartmann" wrote: > >> >> >> make installkernel fails in r253794 with the following error: >> >> ===> usb/runfw (install) >> install -o root -g wheel -m 555 runfw.ko /boot/kernel >> install: runfw.ko: No such f

[patch] expand_number(3): check strtoumax(3) for ERANGE

2013-07-26 Thread Sergey Kandaurov
Hi, As of now expand_number(3) does not properly check too large data. It currently handles errors only for prefixed values. (an argument is intentionally signed to be closer to the real buggish world, e.g. as it's currently done in truncate(1). This should not compile, though see bsd.sys.mk@1697

Re: r253351 implicit definition of 'critical_exit'.

2013-07-15 Thread Sergey Kandaurov
On 15 July 2013 18:01, Ian FREISLICH wrote: > Hi > > Recent change: > - > # svn log ./sys/sys/sf_buf.h |less > > r253351 | ae | 2013-07-15 08:16:57 +0200 (Mon, 15 Jul 2013) | 6 lines > > Introduce new structure sfstat for

Re: too many warnigns for variable 'cons_next_next'

2013-07-01 Thread Sergey Kandaurov
On 1 July 2013 17:11, Svatopluk Kraus wrote: > Hi, > > could somebody help me, please, with too many following warnings: > sys/buf_ring.h:189:33: warning: variable 'cons_next_next' set but not used > > As the warning is produced by header which is included a lot, the important > warnings are vis

Re: [head tinderbox] failure on ia64/ia64

2013-06-28 Thread Sergey Kandaurov
On 28 June 2013 18:22, FreeBSD Tinderbox wrote: > [...] > (cd /src/rescue/rescue/../../sbin/swapon && /obj/src/make.amd64/make > -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/swapon/ depend && > /obj/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE > DIRPRFX=rescue/rescue/swapon/ sw

Re: r251744: amd64/vmm/io/vlapic.c:468:15: error: implicit declaration of function 'cpusetobj_ffs' is invalid in C99

2013-06-14 Thread Sergey Kandaurov
On 14 June 2013 13:55, O. Hartmann wrote: > Kernel build fails on recent r251744 CURRENT: > > [...] > --- vlapic.o --- > /usr/src/sys/modules/vmm/../../amd64/vmm/io/vlapic.c:468:15: error: > implicit declaration of function 'cpusetobj_ffs' is invalid in C99 > [-Werror,-Wimplicit-function-declarati

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 +

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

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

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

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] 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).

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

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

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

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

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

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: [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: [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: [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: 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: 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-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-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: 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: 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: FreeBSD 9.0 and 4-socket Intel XEON E7-4870 system -->> 80 logical CPUs

2011-09-07 Thread Sergey Kandaurov
On 8 September 2011 02:27, Hartmann, O. wrote: > >   Watching the ncpu number, I realized that FreeBSD is limited to 64 >   processors. >   Some vendors offer now 4-socket Intel Xeon E7-4870 systems. This >   "Westmere" >   based CPU has 10 physical  and 20 logical cores, summa summarum 80 >   cor

Re: Kernel panic at boot after an upgrade from 9.0-BETA1 to 9.0-BETA2

2011-09-02 Thread Sergey Kandaurov
On 2 September 2011 15:41, Piotr Kubaj wrote: > 1. It's in the dump file. > 2. In BEASTIE. > 3. As I wrote before, 9.0-BETA1, but I had used this kernel with 8.2-RELEASE > and 8.2-STABLE (only did slight modifications for 9.0). > 4. I'm not really into it, what exactly do you mean? I see from you

Re: http://www.freebsd.org/marketing/os-comparison.html

2011-08-30 Thread Sergey Kandaurov
On 30 August 2011 13:13, Hartmann, O. wrote: > On 08/30/11 09:29, Hans Petter Selasky wrote: >> >> On Monday 29 August 2011 21:58:29 Volodymyr Kostyrko wrote: >>> >>> 27.08.2011 22:13, Hartmann, O. wrote: This website should be brushed up or taken offline! It seems full of vintage s

Re: Panic with 9.0 Beta 1 (arcmsr.c)

2011-08-23 Thread Sergey Kandaurov
On 23 August 2011 14:57, Uwe Grohnwaldt wrote: > Hi, > > i tried to install FBSD 9.0 beta 1. Booting the install-cd stopped with a > kernel panic: > > panic: _mtx_lock_sleep: recursed on non-recursive mutex arcmsr Q buffer lock > @ /usr/src/sys/dev/arcmsr/arcmsr.c:2093 > > A screenshot from the pa

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: kernel build failure without BPF

2011-08-16 Thread Sergey Kandaurov
On 14 August 2011 06:01, deeptec...@gmail.com wrote: > in the following kernel configuration (notably without ``device > bfp''), i get the following kernel build error. which is either a bug, > or not; just posting in case it's in someone's interest. > > build log snippet begins

Re: duplicate output when dumping from ddb

2011-08-15 Thread Sergey Kandaurov
On 10 August 2011 23:04, Navdeep Parhar wrote: > "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:Dump

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: FreeBSD9 ifnet + Member Function void (*if_watchdog)(struct ifnet *ifp)

2011-07-31 Thread Sergey Kandaurov
On 1 August 2011 03:09, Olli Hauer wrote: > Hi, > > I just tried to build VMware modules for FreeBSD9-BETA1 and noticed > the ifnet Member Function > >  void (*if_watchdog)(struct ifnet *ifp) > > was removed from net/if_var.h. > > Is there a suggested replacement? Per-ifnet watchdogs were transfo

Re: issues with vmstat and latest HEAD

2011-07-27 Thread Sergey Kandaurov
On 27 July 2011 19:08, Brandon Gooch wrote: > On Jul 27, 2011 7:58 AM, "Alexander Best" wrote: >> >> On Tue Jul 26 11, Alexander Best wrote: >> > hi there, >> > >> > 'vmstat -m' and 'vmstat -z' report: >> > >> > otaku% vmstat -m >> > vmstat: memstat_sysctl_malloc: Too many CPUs >> > otaku% vmstat

Re: displaying thread id in top -H

2011-07-06 Thread Sergey Kandaurov
On 6 July 2011 13:19, Alexander Best wrote: > hi there, > > any reason why bin/139389 hasn't been committed, yet? i think seeing the > thread > id in top -H output is extremely useful! I think the main reason is that tid takes a log of space (6 digits + 2 spaces), and top already suffers from a

Re: FreeBSD 9

2011-06-30 Thread Sergey Kandaurov
On 30 June 2011 20:11, Niclas Zeising wrote: > On 2011-06-30 17:26, Tim Gustafson wrote: >> Hi, >> >> I've installed FreeBSD 9 on a new server because 8.2 doesn't have support >> for the LSI SAS2008 controller.  I've also built the system as a ZFS-root >> box, and I have to say that I'm quite ha

Re: Intel snd

2011-06-22 Thread Sergey Kandaurov
On 22 June 2011 18:30, George Kontostanos wrote: > Thanks, so I don't need to load sound.ko anymore either ? Yes. > > On Wed, Jun 22, 2011 at 4:58 PM, Sergey Kandaurov wrote: >> >> On 22 June 2011 17:54, George Kontostanos wrote: >> > I was wondering

Re: Intel snd

2011-06-22 Thread Sergey Kandaurov
On 22 June 2011 17:54, George Kontostanos wrote: > I was wondering if there are any issues lately with snd_hda since I am not > able to load the module anymore. > > Jun 22 16:04:59 core2duo kernel: interface snd_hda.1 already present in the > KLD 'kernel'! > Jun 22 16:04:59 core2duo kernel: linker

Re: svn commit: r214611 - head/sys/kern

2011-06-14 Thread Sergey Kandaurov
On 15 June 2011 06:20, David Xu wrote: > On 2011/06/14 20:02, Sergey Kandaurov wrote: >> On 1 November 2010 03:42, David Xu wrote: >>> Author: davidxu >>> Date: Mon Nov  1 00:42:25 2010 >>> New Revision: 214611 >>> URL: http://svn.freebsd.org/change

Re: svn commit: r214611 - head/sys/kern

2011-06-14 Thread Sergey Kandaurov
On 1 November 2010 03:42, David Xu wrote: > Author: davidxu > Date: Mon Nov  1 00:42:25 2010 > New Revision: 214611 > URL: http://svn.freebsd.org/changeset/base/214611 > > Log: >  Use integer for size of cpuset, as it won't be bigger than INT_MAX, >  This is requested by bge. >  Also move the sysc

Re: [PATCH] Toggle display of the kernel idle process (per-CPU idle threads) in top

2011-05-27 Thread Sergey Kandaurov
On 27 May 2011 18:46, John Baldwin wrote: > Some times in top, I don't want to see all the per-CPU idle threads but > instead focus on the non-idle threads that are running.  Especially on a > system with a lot of CPUs, the idle threads can push all the interesting > threads off of the list.  This

Re: Switch from legacy ata(4) to CAM-based ATA

2011-05-06 Thread Sergey Kandaurov
On 6 May 2011 12:33, Alexander Motin wrote: > Sergey Kandaurov wrote: >> XENHVM uses it's own naming scheme and can name disks as daN or adN, >> depending on virtual block device id. atapci0/ata0/ata1 devices still present >> there (such as in Bruce Cran's dmesg),

  1   2   >