Re: SCSI and dmesg

2018-11-26 Thread Maxim Sobolev
Somebody needs to make collection/submission automatic and make a port out of it, so that it's as easy as pkg install dmesg_survey && dmesg_survey_enabled="YES" in the /etc/rc.conf. JIMHO. I'd gladly make it a default on all dev boxes within our organization. Might also make a nice SoC project idea

ena(4) is not in GENERIC, now default for some/all instances on AWS EC2

2018-01-10 Thread Maxim Sobolev
Hi, today we've migrated one of our FreeBSD EC2 r4.xlarge instances and painstakingly found that xn(4) interface is no longer provided by the Amazon "hardware". ena(4) seems to be now default for a newly created VMs, but it's not part of the GENERIC kernel. This could affect both new users trying t

Re: 11.1-RELEASE has issue with system headers in pedantic mode (type nullability specifier)

2017-08-07 Thread Maxim Sobolev
One way to defeat this would be to mark those headers with the #pragma clang system_header. As per: https://clang.llvm.org/docs/UsersManual.html#id27 -Max On Mon, Aug 7, 2017 at 6:20 AM, Maxim Sobolev wrote: > Hi, we noticed that some of our internal packages fail the build on 11.1 > no

11.1-RELEASE has issue with system headers in pedantic mode (type nullability specifier)

2017-08-07 Thread Maxim Sobolev
Hi, we noticed that some of our internal packages fail the build on 11.1 now with -pedantic: *00:31:09.178* Warning: Object directory not changed from original /tmp/mnt/dncd/work/dncd-20170627161415*00:31:09.178* cc -pipe -g3 -O0 -pipe -fstack-protector -fno-strict-aliasing -Wall -pedantic -O0 -g3

Re: 11.0-BETA1 'ifconfig igb0 media auto' causes panic in llentry_free()

2016-07-13 Thread Maxim Sobolev
Larry, thanks for the pointer. Patch in the PR fixed the issue for me. Added comment in there. -Max On Wed, Jul 13, 2016 at 2:00 PM, Larry Rosenman wrote: > NOTE: I get an insta-panic on boot :( > > I'm waiting for Gleb to respond. > > > > On 2016-07-13 15:57, Maxim

Re: 11.0-BETA1 'ifconfig igb0 media auto' causes panic in llentry_free()

2016-07-13 Thread Maxim Sobolev
Thanks, looks like the same issue. I'll try the patch from ticket. -Max On Wed, Jul 13, 2016 at 1:46 PM, Larry Rosenman wrote: > On 2016-07-13 15:32, Maxim Sobolev wrote: > >> Hi, we are seeing consistent crash doing 'ifconfig igb0 media auto' after >> inte

11.0-BETA1 'ifconfig igb0 media auto' causes panic in llentry_free()

2016-07-13 Thread Maxim Sobolev
Hi, we are seeing consistent crash doing 'ifconfig igb0 media auto' after interface has been provisioned by the dhcpclient. This is stable/11 sources from svn revision 302593. That problem did not happen to us before the upgrade from from 11.0-ALPHA3, svn revision 301898 from head. Sreenshot of t

Re: A faulty program corrupts some its data preventing correct core generation (Failed to write core file for process postgres (error 14))

2016-07-05 Thread Maxim Sobolev
Seems like candidate for the MFC into releng/10.3 and appropriate errata entry? -Max On Tue, Jul 5, 2016 at 4:48 AM, Konstantin Belousov wrote: > On Mon, Jul 04, 2016 at 10:26:25PM -0700, Maxim Sobolev wrote: > > Hi all, investigating some random postgresql-9.1.21 server crashes on &g

A faulty program corrupts some its data preventing correct core generation (Failed to write core file for process postgres (error 14))

2016-07-04 Thread Maxim Sobolev
Hi all, investigating some random postgresql-9.1.21 server crashes on FreeBSD 10.3, we've started seeing those after upgrading from postgres 9.1.18 on more than one system, so hardware (e.g. RAM issues) are very unlikely. I suspect that postgres is at fault, however I am also curious how could it b

Re: Process stuck in "vnread"

2016-03-29 Thread Maxim Sobolev
Hey Adrian, unfortunately, this is kinda our production build/test box, it's not particularly beefy and we also run some heavily contended apps on it too just to see how it performs on this size of machine, so we would not really want to put any heavy debug into kernel unless it's some issue that c

Re: Process stuck in "vnread"

2016-03-28 Thread Maxim Sobolev
on, Mar 28, 2016 at 08:52:03AM -0700, Maxim Sobolev wrote: > >> Done some head scratching, it looks like it's got page fault in the > >> copyin() (cp(1) AFAIK mmaps source file). There might be some interlock > >> issue between competing write to the same ZFS, the md0

Re: Process stuck in "vnread"

2016-03-28 Thread Maxim Sobolev
P.S. That being said, I am not sure if that write operation on md(4) happen before or after the offending lockup in the zfs_freebsd_write(), so it might be just as well be the result of that, not cause. On Mon, Mar 28, 2016 at 8:52 AM, Maxim Sobolev wrote: > Done some head scratching, it lo

Re: Process stuck in "vnread"

2016-03-28 Thread Maxim Sobolev
000 in ?? () On Mon, Mar 28, 2016 at 7:31 AM, Maxim Sobolev wrote: > OK, that happened again. Now it's 10.3-RC3, funny enough, it's the same > "cp" command. Any ideas about what can be wrong here? The box is still up, > so if you need me to do something specific i

Re: Process stuck in "vnread"

2016-03-28 Thread Maxim Sobolev
803320b84b0, traced=0) at subr_syscall.c:141 #27 0x80ca087b in Xfast_syscall () at /usr/home/sobomax/projects/freebsd103/sys/amd64/amd64/exception.S:396 #28 0x000800968f5a in ?? () On Wed, Mar 2, 2016 at 1:12 AM, Maxim Sobolev wrote: > Hi, I've encountered cp(1) process stuck i

libssl ABI is broken in 10.3-BETA3 as compared to 10.2

2016-03-03 Thread Maxim Sobolev
Got this nice crash after switching base system from 10.2 to 10.3-beta (without updating installing packages): File "/usr/local/lib/python2.7/site-packages/cffi/verifier.py", line 207, in _load_library return self._vengine.load_library() File "/usr/local/lib/python2.7/site-packages/cffi/ve

Re: Process stuck in "vnread"

2016-03-02 Thread Maxim Sobolev
wrote: > Hello, > > Would it be possible this has to do with the resolved 'system hangs when > using ZFS caused by VFS' in 10.3-BETA3? > > https://lists.freebsd.org/pipermail/freebsd-stable/2016-February/084238.html > > Regards, > Ronald. > > > On Wed, 02

Re: Process stuck in "vnread"

2016-03-02 Thread Maxim Sobolev
0x808d344d in _cv_wait () #4 0x81a42185 in ?? () #5 0xf803096d3960 in ?? () #6 0x in ?? () On Wed, Mar 2, 2016 at 3:02 AM, Maxim Sobolev wrote: > Thanks, Konstantin. > > Re: md(4) state: > >0 88688 0 0 -8 0 0 16 tx->tx_s DL-

Re: Process stuck in "vnread"

2016-03-02 Thread Maxim Sobolev
zfs.ko On Wed, Mar 2, 2016 at 1:53 AM, Konstantin Belousov wrote: > On Wed, Mar 02, 2016 at 01:12:31AM -0800, Maxim Sobolev wrote: > > Hi, I've encountered cp(1) process stuck in the vnread state on one of my > > build machines that got recently upgraded to 10.3. > > &g

Process stuck in "vnread"

2016-03-02 Thread Maxim Sobolev
Hi, I've encountered cp(1) process stuck in the vnread state on one of my build machines that got recently upgraded to 10.3. 0 79596 1 0 20 0 170921396 wait I 1 0:00.00 /bin/sh /usr/local/bin/autoreconf -f -i 0 79602 79596 0 52 0 414889036 wait I

Re: Troubles with dependencies (file -L is broken?)

2013-09-08 Thread Maxim Sobolev
P.S. This is fresh 9.2-RC3 with /usr on ZFS. -Maxim On Sun, Sep 8, 2013 at 12:09 AM, Maxim Sobolev wrote: > Hi, > > I am trying to portupgrade my subversion and it keeps trying to install > databases/db42 over already installed version (same version), missing the > shared lib

Troubles with dependencies (file -L is broken?)

2013-09-08 Thread Maxim Sobolev
Hi, I am trying to portupgrade my subversion and it keeps trying to install databases/db42 over already installed version (same version), missing the shared library dependency. Adding some debug into bsd.port.mk, I see: ===> subversion-1.8.3 depends on package: libtool>=2.4 - found set -x; set

Re: 8-stable panics in igb(8)

2011-08-25 Thread Maxim Sobolev
On 8/25/2011 3:30 AM, Eugene Grosbein wrote: It would be nice to see KDB backtrace with symbols: options KDB options KDB_TRACE options KDB_UNATTENDED options DDB options DDB_NUMSYM and "options KDB_UNATTENDED" if you wish. For next crash, of course:-)

8-stable panics in igb(8)

2011-08-25 Thread Maxim Sobolev
Hi, We have observed what appears to be a crash in the interrupt thread for the igb(8) driver on one of our systems. This machine runs May 22's 8.2-STABLE. For some reason the IP of the crash (0x806d6399) points to the key_sendup0() function, however we never had IPsec configured on t

8-stable panics in igb(8)

2011-08-25 Thread Maxim Sobolev
Hi, We have observed what appears to be a crash in what appears to be the interrupt thread for the igb(8) driver on one of our systems. This machine runs May 22's 8.2-STABLE. For some reason the IP of the crash (0x806d6399) points to the key_sendup0() function, however we never had IP

Sudden mbuf demand increase and shortage under the load

2010-02-15 Thread Maxim Sobolev
Hi, Our company have a FreeBSD based product that consists of the numerous interconnected processes and it does some high-PPS UDP processing (30-50K PPS is not uncommon). We are seeing some strange periodic failures under the load in several such systems, which usually evidences itself in IPC (ev

heap limits: mmap(2) vs. break(2) on i386

2009-11-27 Thread Maxim Sobolev
Hi, I am trying to figure out why java fails to start with 1024MB of heap on i386 with 4GB of RAM and 4GB of swap. Both MAXDSIZ and DFLDSIZ are set to 2GB. Here is my limits: Resource limits (current): cputime infinity secs filesize infinity kB datasize 2097152

em0: watchdog timeout when communicating to windows using 9K MTU

2009-11-05 Thread Maxim Sobolev
Hi, My em0 interface repeatedly hangs up with watchdog timeout when communicating to the windows host at MTU 9K. [sobo...@pioneer ~]$ grep em0 /var/run/dmesg.boot em0: port 0xecc0-0xecdf mem 0xfe6e-0xfe6f,0xfe6d9000-0xfe6d9fff irq 21 at device 25.0 on pci0 em0: Using MSI interrupt e

Re: kernel compile fails without AH_SUPPORT_AR5416

2009-04-16 Thread Maxim Sobolev
Dennis Melentyev wrote: Could be worth an entry in UPDATING and/or explicitly added to GENERIC. My point is that if the option is mandatory for compiling ath(4) driver, then there is no point in having this option in the first place. -Maxim ___ fre

kernel compile fails without AH_SUPPORT_AR5416

2009-04-16 Thread Maxim Sobolev
Sam, What is the reason to have this option in the kernel config if kernel compilation fails when this option is enabled? It also affects 7-stable. cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prot

kernel compile fails without AH_SUPPORT_AR5416

2009-04-16 Thread Maxim Sobolev
Sam, What is the reason to have this option in the kernel config if kernel compilation fails when this option is enabled? It also affects 7-stable. cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototyp

Re: The machdep.hyperthreading_allowed & ULE weirdness in 7.1

2009-02-23 Thread Maxim Sobolev
Robert Watson wrote: So, are you suggesting that we should disable machdep.hyperthreading_allowed with ULE in 7.x and current to avoid confusion? Possibly even without ULE. I've verified - the tunable/sysctl works just fine with SCHED_4BSD in 7.1, so that I am not sure it's worth ripping it

Re: The machdep.hyperthreading_allowed & ULE weirdness in 7.1

2009-02-23 Thread Maxim Sobolev
Robert Watson wrote: On Mon, 23 Feb 2009, Maxim Sobolev wrote: Robert Watson wrote: In the mean time, it sounds like the sysctl does need to be reimplemented or removed, but one question is how far to take it -- caches are shared to varying degrees at varying levels of the topology

Re: The machdep.hyperthreading_allowed & ULE weirdness in 7.1

2009-02-23 Thread Maxim Sobolev
Robert Watson wrote: In the mean time, it sounds like the sysctl does need to be reimplemented or removed, but one question is how far to take it -- caches are shared to varying degrees at varying levels of the topology. However, I believe the recommendation has generally moved to disabling h

Re: The machdep.hyperthreading_allowed & ULE weirdness in 7.1

2009-02-23 Thread Maxim Sobolev
Robert Watson wrote: On Sun, 22 Feb 2009, Maxim Sobolev wrote: Hi Jeff, I have a single-CPU system with P4 HTT-enabled processor (7.1-RELEASE-p3), kernel compiled with SCHED_ULE. This is because machdep.hlt_logical_cpus doesn't do what you think it does. It causes HTT cores to invok

The machdep.hyperthreading_allowed & ULE weirdness in 7.1

2009-02-22 Thread Maxim Sobolev
Hi Jeff, I have a single-CPU system with P4 HTT-enabled processor (7.1-RELEASE-p3), kernel compiled with SCHED_ULE. Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rig

Re: sun4v arch

2008-08-25 Thread Maxim Sobolev
Maxim Sobolev wrote: Peter Jeremy wrote: Is there a summary of the open issues somewhere? There are no sun4v PRs open. http://wiki.freebsd.org/FreeBSD/sun4v effectively hasn't been touched since November 2006 and suggests that the only critical issue is lack of serial port support. The

Re: sun4v arch

2008-08-23 Thread Maxim Sobolev
Peter Jeremy wrote: Is there a summary of the open issues somewhere? There are no sun4v PRs open. http://wiki.freebsd.org/FreeBSD/sun4v effectively hasn't been touched since November 2006 and suggests that the only critical issue is lack of serial port support. There is a better interpretatio

Re: kqueue LOR

2007-09-08 Thread Maxim Sobolev
Kostik Belousov wrote: On Fri, Sep 07, 2007 at 11:49:50AM -0700, Maxim Sobolev wrote: Hi, On my 6.2 system I am seeing LOR discussed almost 1 year ago here: http://lists.freebsd.org/pipermail/freebsd-stable/2006-November/031048.html http://lists.freebsd.org/pipermail/freebsd-stable/2006

kqueue LOR

2007-09-07 Thread Maxim Sobolev
Hi, On my 6.2 system I am seeing LOR discussed almost 1 year ago here: http://lists.freebsd.org/pipermail/freebsd-stable/2006-November/031048.html http://lists.freebsd.org/pipermail/freebsd-stable/2006-December/031197.html lock order reversal: 1st 0xc52cb500 kqueue (kqueue) @ kern/kern_event.c

Re: Switch to using rc.d for local packages is premature for RELENG_6

2006-03-21 Thread Maxim Sobolev
way. Checking for '^# PROVIDE:' doesn't really work reliably. -Maxim Maxim Sobolev wrote: Hi guys, As part of testing how well some of our products work with latest RELENG_6, I have make a new build and found that lot of important services (for example PostgreSQL, Apache) d

Switch to using rc.d for local packages is premature for RELENG_6

2006-03-21 Thread Maxim Sobolev
Hi guys, As part of testing how well some of our products work with latest RELENG_6, I have make a new build and found that lot of important services (for example PostgreSQL, Apache) doesn't start up (despite having respective xxx_enable entries in /etc/rc.conf) when installed from the freshl

Re: HEADSUP: bridge(4) removed from HEAD

2005-09-27 Thread Maxim Sobolev
Max Laier wrote: All, as discussed on -arch, the old bridge(4) implementation has been removed from HEAD. The new if_bridge(4) is there to serve as a full functional replacement. If you find anything that does not work with if_bridge(4) that used to work with bridge(4), please let me or And

Stable world is ok again [Was: buildworld broken in lib/libstand (bzipfs.c) [patch included]]

2002-02-18 Thread Maxim Sobolev
Mike Harding wrote: > > Me too... it's really happening, not bad memory. :) OOPS, sorry guys - when doing MFC I've forgot about bde's fix for -current, which he committed several hours after my own -current commit. Should be fixed now. -Maxim P.S. It was my first -stable world bombing - it fee

Re: adding athlon xp to bsd.cpu.mk

2001-10-27 Thread Maxim Sobolev
On Sun, 28 Oct 2001 02:30:40 +0200 (CEST), Cyrille Lefevre wrote: > Peter Wemm wrote: > > Jerry A! wrote: > > > On Sat, Oct 27, 2001 at 10:00:44PM +0200, Cyrille Lefevre wrote: > > > : Hi, > > > : > > > : how about the following patch (untested) regarding the newer athlon xp > > > : processor type

Re: building gnome on 4.4

2001-09-25 Thread Maxim Sobolev
Antonio Bemfica wrote: > I have noticed that very often a gnome port will fail due to some syntax > error in a *.po file. I usually end up going down the source tree and > editing the corresponding Makefile by hand to eliminate the broken .po > file from the build. > > Wouldn't it be possible to

Re: support for a.out in ports

2001-08-28 Thread Maxim Sobolev
[EMAIL PROTECTED] wrote: > Hello! > > What's the general opinion on listing the minor numbers of the libraries > installed by a port in the port's pkg-plist? > > The bsd.ports.mk strips the minor numbers out automaticly if the > PORTOBJFORMAT is not aout, and the following ports cur

ppp(8) + ip forwarding doesn't work anymore

2001-03-23 Thread Maxim Sobolev
Hi, I noticed that after upgrading to 4-BETA something goes wrong with ip forwarding via ppp(8). I have a FreeBSD box (A) connected to Internet via network interface and this system also has a modem for dial-in and backup dial-up connection. Sometimes I need to route through this modem traffic to

Re: end of 3-stable support

2001-02-23 Thread Maxim Sobolev
Peter Pentchev wrote: > On Fri, Feb 23, 2001 at 11:42:41AM +0200, Maxim Sobolev wrote: > > Satoshi Asami wrote: > > > > > Hi all, > > > > > > As you may all know, the 3-stable branch has slowly being phased out > > > for a while now.