Re: Address Collision using i386 4G/4G Memory Split

2018-12-18 Thread Konstantin Belousov
On Tue, Dec 18, 2018 at 08:34:25AM +, Brooks Davis wrote: > On Mon, Dec 17, 2018 at 03:58:05PM -0500, Kurt Lidl wrote: > > Alexander Lochmann writes: > > > According to git commit e3089a (https://reviews.freebsd.org/D1463) > > > FreeBSD 12.0 i386 uses separate address spaces for kernel and user

Re: Address Collision using i386 4G/4G Memory Split

2018-12-18 Thread Konstantin Belousov
On Tue, Dec 18, 2018 at 10:16:35AM +0100, Alexander Lochmann wrote: > Am 18.12.18 um 06:27 schrieb Konstantin Belousov: > > On Mon, Dec 17, 2018 at 02:51:48PM +0100, Alexander Lochmann wrote: > >> Hi folks! > >> > >> According to git commit e3089a (https://rev

Re: Address Collision using i386 4G/4G Memory Split

2018-12-18 Thread Konstantin Belousov
On Tue, Dec 18, 2018 at 11:22:53AM +0100, Alexander Lochmann wrote: > > >> Some context: We are doing VM-based tracing in the FreeBSD kernel. For > >> that, we observe parts of the kernel memory (allocations, accesses,...). > >> Before 12.0 we simply knew that kernel addresses that we logged were

Re: sporadic core dumps in 12.0-RELEASE

2018-12-18 Thread Konstantin Belousov
On Tue, Dec 18, 2018 at 07:34:33AM -0800, Chuck Tuffli wrote: > Hi > > When running 12.0-RELEASE in bhyve, nvmecontrol will core dump sporadically > in rtld. This is repeatable, but doesn't happen every time. Peeking at > rlock_acquire(), the function checks for a NULL lockstate and then > derefer

Re: Error upgrading 11-STABLE to 12-STABLE in ifunc resolver

2018-12-27 Thread Konstantin Belousov
On Thu, Dec 27, 2018 at 09:41:06PM +0100, Thierry Thomas wrote: > Hello, > > Trying to upgrade a machine from > > 11.2-STABLE #0 r337833: Wed Aug 15 12:50:47 CEST 2018 > > to 12-STABLE as: > > Working Copy Root Path: /usr/src > URL: https://svn.freebsd.org/base/stable/12 > Relative URL: ^/stabl

Re: amd64, run-time linker and 32bit

2019-02-12 Thread Konstantin Belousov
On Mon, Feb 11, 2019 at 12:31:19AM +0700, Eugene Grosbein wrote: > Hi! > > Why our 32-bit run-time linker looks for shared libraries in the > /usr/local/lib despite of its absence in /var/run/ld-elf32.so.hints > while 32-bit binary is started under FreeBSD 11.2-STABLE/amd64 ? Most likely because

HEADS-UP: em users

2019-02-15 Thread Konstantin Belousov
o not need to do anything. - Forwarded message from Konstantin Belousov - Date: Fri, 15 Feb 2019 09:49:09 + (UTC) From: Konstantin Belousov To: src-committ...@freebsd.org, svn-src-...@freebsd.org, svn-src-sta...@freebsd.org, svn-src-stable...@freebsd.org Subject: svn commi

Re: Problem building kernel STABLE12 amd64 arch

2019-02-17 Thread Konstantin Belousov
On Sun, Feb 17, 2019 at 09:11:46AM +, Filippo Moretti via freebsd-stable wrote: > I tried to update stable to yesterday build and I get the following error on > amd64 arch > linking kernel > ld: error: undefined symbol: iflib_get_softc > >>> referenced by if_vmx.c > >>>   if_vmx.o

Re: Strange rtld-elf failure on stable/12 [Was: libcrypto.so.111 linked binaries SIGSEGV (in bhyve guest)]

2019-02-21 Thread Konstantin Belousov
On Thu, Feb 21, 2019 at 09:24:43AM +0100, Harry Schmalzbauer wrote: > Am 20.02.2019 um 17:51 schrieb Harry Schmalzbauer: > > Hello, > > > … > > gdb shows: > > Core was generated by `/usr/sbin/auditdistd'. > > Program terminated with signal 11, Segmentation fault. > > Reading symbols from /lib/libut

Re: libcrypto.so.111 linked binaries SIGSEGV (in bhyve guest)

2019-02-21 Thread Konstantin Belousov
On Thu, Feb 21, 2019 at 10:03:29AM +0100, Harry Schmalzbauer wrote: > Am 21.02.2019 um 09:54 schrieb Konstantin Belousov: > > On Thu, Feb 21, 2019 at 09:24:43AM +0100, Harry Schmalzbauer wrote: > >> Am 20.02.2019 um 17:51 schrieb Harry Schmalzbauer: > >>> Hello

Re: stable/12 broken?

2019-02-22 Thread Konstantin Belousov
On Fri, Feb 22, 2019 at 07:53:57AM +0100, Antoine Brodin wrote: > On Fri, Feb 22, 2019 at 7:39 AM Antoine Brodin wrote: > > Hi, > > > > For your information, the stable/12 branch seems broken, at least on > > i386, there is a segmentation fault when trying to run binaries and 0 > > package can be

Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?

2019-02-28 Thread Konstantin Belousov
On Thu, Feb 28, 2019 at 12:49:25AM -0800, Rodney W. Grimes wrote: > > -- Start of PGP signed section. > > > On 28 Feb 2019, at 00:37, Rodney W. Grimes > > > wrote: > > > > > > > > config CUSTOM > > > > Kernel build directory is ../compile/CUSTOM > > > > Don't forget to do ``make cleandepend && m

Re: hw.vga.acpi_ignore_no_vga=1 for installation media

2019-03-17 Thread Konstantin Belousov
On Sun, Mar 17, 2019 at 10:10:45AM -0600, Warner Losh wrote: > I generally like this idea... But two caveats... > > First, we'd need to update the docs so that folks doing serial installs can > unset it Though serial installs are a weird beast > Second, if it's really needed, we should hav

Re: hw.vga.acpi_ignore_no_vga=1 for installation media

2019-03-18 Thread Konstantin Belousov
On Mon, Mar 18, 2019 at 05:09:31AM +0700, Eugene Grosbein wrote: > 18.03.2019 0:34, Konstantin Belousov wrote: > > > Can anybody provide an example of machine where the flag is set but VGA > > works ? For me, it is set on headless NUC when there is no monitor > > attached

Re: After 12.x upgrade: mysqld RET _umtx_op -1 errno 45 Operation not supported

2019-04-15 Thread Konstantin Belousov
On Mon, Apr 15, 2019 at 08:01:27AM +, Marcin Cieslak wrote: > Hello, > > for archival purposes I am running an ancient (__FreeBSD_version 602100) > jail with mysqld inside. > > This was working fine when the jail host was running 10.4. After upgrade to > 12.x > (r345375) mysqld process star

Re: After 12.x upgrade: mysqld RET _umtx_op -1 errno 45 Operation not supported

2019-04-15 Thread Konstantin Belousov
On Mon, Apr 15, 2019 at 08:28:39AM +, Marcin Cieslak wrote: > On Mon, 15 Apr 2019, Konstantin Belousov wrote: > > > On Mon, Apr 15, 2019 at 08:01:27AM +, Marcin Cieslak wrote: > > > > > > 50766 mysqld CALL _umtx_op(0x966eaa0,UMTX_OP_RESERVED0,0x18cab,

Re: efirtc causing panic (was Re: Panic booting 12-RC2 on amd64)

2019-05-31 Thread Konstantin Belousov
On Fri, May 31, 2019 at 04:19:57PM +0200, Jan Martin Mikkelsen wrote: > Hi, > > Christian has pointed me at this > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233534 which he raised > after his email. The workaround was to boot with “efi.rt.disabled=1”. > > I took a closer look at what i

Re: ps -J0 broken?

2019-06-02 Thread Konstantin Belousov
On Sun, Jun 02, 2019 at 02:30:49PM +0200, Stefan Hegnauer wrote: > Hi, > > after a recent full update to 12.0-STABLE r348382 it seems that '/bin/ps > -J 0' is broken: 'ps: Invalid jail id: 0'. > It did work on stable for the last couple years prior to this update > (last update without this error

Re: ps -J0 broken?

2019-06-02 Thread Konstantin Belousov
On Sun, Jun 02, 2019 at 03:31:08PM +0200, Stefan Hegnauer wrote: > > > On 02.06.2019 15:05, Konstantin Belousov wrote: > > On Sun, Jun 02, 2019 at 02:30:49PM +0200, Stefan Hegnauer wrote: > >> Hi, > >> > >> after a recent full update to 12.0-STABLE r3

Re: GENERIC crash 11.3-PRERELEASE (i386)

2019-06-27 Thread Konstantin Belousov
On Thu, Jun 27, 2019 at 07:11:40AM +, Schuendehuette, Matthias wrote: > Hi, > > the missing attachments can be found here now: > > https://www.dropbox.com/sh/buzxekimo2h2r67/AADpUvLndhm2SHa5t9s9Ckksa?dl=0 > So your AP (Application Processor) seems to get fault, most likely in the trap handle

Re: GENERIC crash 11.3-PRERELEASE (i386)

2019-07-03 Thread Konstantin Belousov
p and retry with pristine tree. > > > > > with best regards > Matthias Schündehütte > > Siemens AG > Large Drives Applications > Information Technology > Information Technology Product Lifecycle Management > LDA IT PLM > Nonnendammallee 72 > 13629 Berlin, Deutschla

Re: GENERIC crash 11.3-PRERELEASE (i386)

2019-07-05 Thread Konstantin Belousov
your machine, and the kernel which fails to boot. > > > > With best regards and have a nice weekend > > Matthias Schuendehuette > > > > > -Ursprüngliche Nachricht- > Von: Konstantin Belousov > Gesendet: Mittwoch, 3. Juli 2019 15:55 > An: Schuen

Re: GENERIC crash 11.3-PRERELEASE (i386)

2019-07-10 Thread Konstantin Belousov
On Wed, Jul 10, 2019 at 03:02:40PM +0200, Schuendehuette, Matthias (LDA IT PLM) wrote: > Sorry, wrong link... :-( > > See the verbose boot messages here... > > https://www.dropbox.com/sh/buzxekimo2h2r67/AADpUvLndhm2SHa5t9s9Ckksa?dl=0 > > ...in file "Boot_verbose.jpg" Can you try the following

Re: ntpd doesn't like ASLR on stable/12 post-r350672

2019-08-24 Thread Konstantin Belousov
On Sat, Aug 24, 2019 at 10:04:49PM +0200, Trond Endrestøl wrote: > Hi, > > I'm running stable/12 with ASLR enabled in /etc/sysctl.conf: > > kern.elf64.aslr.enable=1 > kern.elf64.aslr.pie_enable=1 > kern.elf32.aslr.enable=1 > kern.elf32.aslr.pie_enable=1 > > After upgrading to anything after r350

Re: ntpd doesn't like ASLR on stable/12 post-r350672

2019-08-24 Thread Konstantin Belousov
On Sun, Aug 25, 2019 at 12:19:43AM +0200, Trond Endrestøl wrote: > On Sat, 24 Aug 2019 23:41+0300, Konstantin Belousov wrote: > > > I tried changing command="/usr/sbin/${name}" to > > > command="/usr/bin/proccontrol -m aslr -s disable /usr/sbin/${name}"

Re: ntpd doesn't like ASLR on stable/12 post-r350672

2019-08-25 Thread Konstantin Belousov
On Sun, Aug 25, 2019 at 12:40:22AM +0200, Trond Endrestøl wrote: > On Sun, 25 Aug 2019 01:28+0300, Konstantin Belousov wrote: > > > On Sun, Aug 25, 2019 at 12:19:43AM +0200, Trond Endrestøl wrote: > > > On Sat, 24 Aug 2019 23:41+0300, Konstantin Belousov wrote: > > >

Re: ntpd doesn't like ASLR on stable/12 post-r350672

2019-09-10 Thread Konstantin Belousov
On Tue, Sep 10, 2019 at 10:50:33AM -0600, Ian Lepore wrote: > On Sun, 2019-08-25 at 15:03 +0300, Konstantin Belousov wrote: > > On Sun, Aug 25, 2019 at 12:40:22AM +0200, Trond Endrestøl wrote: > > > On Sun, 25 Aug 2019 01:28+0300, Konstantin Belousov wrote: > > > >

Re: 12.1 release symbol incompatibility?

2019-09-18 Thread Konstantin Belousov
On Wed, Sep 18, 2019 at 03:05:34PM -0600, Sean Bruno wrote: > If one installs 12.1 and tries to run a 12.0 release package (postgresql > server for instance), it fails due to a missing symbol: > > # service postgresql start > /usr/local/bin/pg_ctl: Undefined symbol "stat@FBSD_1.5" > > I think th

Re: lib not found and found at the same time ?

2019-11-13 Thread Konstantin Belousov
On Wed, Nov 13, 2019 at 04:48:40PM -0500, mike tancsa wrote: > I was trying to upgrade (failed) and then re-install the > samba410-4.10.10 port on a RELENG12 box.  One of the Samba libs shows > some output I dont understand on ldd > > ldd /usr/local/lib/nss_wins.so.1 > /usr/local/lib/nss_wins.so.1

Re: lib not found and found at the same time ?

2019-11-14 Thread Konstantin Belousov
On Thu, Nov 14, 2019 at 08:46:13AM -0500, mike tancsa wrote: > > On 11/13/2019 5:25 PM, Konstantin Belousov wrote: > > On Wed, Nov 13, 2019 at 04:48:40PM -0500, mike tancsa wrote: > >> I was trying to upgrade (failed) and then re-install the > >> samba410-4.10.10 p

Re: Error building stable/12 (amd64) at r355087

2019-11-25 Thread Konstantin Belousov
On Mon, Nov 25, 2019 at 03:58:10AM -0800, David Wolfskill wrote: > This is during a source-based update from r355048 to r355087, during > "stage 4.3: building everything" (using META_MODE); meta file reads: > > # Meta data file > /common/S3/obj/usr/src/amd64.amd64/usr.sbin/camdd/camdd.o.meta > CM

Re: How can kill(-1, 0) return EPERM?

2019-11-29 Thread Konstantin Belousov
On Fri, Nov 29, 2019 at 07:45:09PM +0300, Dmitry Marakasov wrote: > * Dmitry Marakasov (amd...@amdmi3.ru) wrote: > > > I'm helping to investigate some userspace issue [1], where kill(-1, SIGKILL) > > fails with EPERM. I've managed to isolate this case in a small program: > > > > > > ``` > > #inc

Re: How can kill(-1, 0) return EPERM?

2019-12-01 Thread Konstantin Belousov
On Sun, Dec 01, 2019 at 03:24:11AM +0300, Dmitry Marakasov wrote: > * Konstantin Belousov (kostik...@gmail.com) wrote: > > > > > I'm helping to investigate some userspace issue [1], where kill(-1, > > > > SIGKILL) > > > > fails with EPERM. I

Re: How can kill(-1, 0) return EPERM?

2019-12-01 Thread Konstantin Belousov
On Mon, Dec 02, 2019 at 02:11:14AM +0300, Dmitry Marakasov wrote: > * Konstantin Belousov (kostik...@gmail.com) wrote: > > > > > > > I'm helping to investigate some userspace issue [1], where kill(-1, > > > > > > SIGKILL) > > > > > &g

Re: Disabling speculative execution mitigations

2019-12-06 Thread Konstantin Belousov
On Fri, Dec 06, 2019 at 03:51:04PM +1030, O'Connor, Daniel wrote: > Hi, > I am trying to track down a performance drop with the ASPEED xorg video > driver between FreeBSD 11 and 12 (I'm not expecting miracles from it but it > was basically unusable..) > > I wondered if some of the speculative ex

Re: vt [was: Re: [Bug 235564] INDEX.keymaps for vt contains "from-" keymaps but the files are missing]

2020-03-09 Thread Konstantin Belousov
On Mon, Mar 09, 2020 at 10:37:52AM -0400, Ed Maste wrote: > On Sun, 8 Mar 2020 at 17:13, Andy Farkas wrote: > > > > Is anyone actually working on the vt(4) driver? Will it ever > > become feature-parity with the old sc(4) driver? > > Yes, and yes. What specific missing functionality are you affe

Re: Upgrading to 12.1S 362003 - a few issues

2020-06-12 Thread Konstantin Belousov
On Sat, Jun 13, 2020 at 10:24:49AM +1000, Dewayne Geraghty wrote: > After upgrading to 12.1Stable as of June 11: > 1) squid - fails with segmentation fault, ldd "Cannot load PIE binary" > 2) gcc9 - suffers a cc1 internal compiler error > 3) pkg-static - issues "failed" messages, unable to package o

Re: Upgrading to 12.1S 362003 - a few issues

2020-06-13 Thread Konstantin Belousov
On Sat, Jun 13, 2020 at 12:34:46PM +1000, Dewayne Geraghty wrote: > Hi Konstantin, > I did try ktrace/kdump but kdump complained of "data too short". Using > your suggestion about LD_DEBUG nearly caused me to fall off my chair. I > think this is most relevant: > > # setenv LD_DEBUG 1 > # ktrace

Re: Buildworld and buildkernel with very slow compilation, recently

2020-06-21 Thread Konstantin Belousov
On Sun, Jun 21, 2020 at 02:48:51PM +0200, Ronald Klop wrote: > Building ports/pkgs is also significantly slower on 13 (new clang) than on > 12.1. > http://thunderx1.nyi.freebsd.org/ > 13 = 140 hours12.1 = 103 hoursFor roughly the same amount of ports. If you use stock HEAD GENERIC kernel config an

Re: svn commit: r362848 - in stable/12/sys: net netinet sys

2020-07-19 Thread Konstantin Belousov
On Sun, Jul 19, 2020 at 09:21:02PM +1000, Peter Jeremy wrote: > I'm sending this to -stable, rather than the src groups because I > don't believe the problem is the commit itself, rather the commit > has uncovered a latent problem elsewhere. > > On 2020-Jul-01 18:03:38 +, Michael Tuexen wrote

Re: svn commit: r362848 - in stable/12/sys: net netinet sys

2020-07-20 Thread Konstantin Belousov
On Tue, Jul 21, 2020 at 07:20:44AM +1000, Peter Jeremy wrote: > On 2020-Jul-19 14:48:28 +0300, Konstantin Belousov > wrote: > >On Sun, Jul 19, 2020 at 09:21:02PM +1000, Peter Jeremy wrote: > >> I'm sending this to -stable, rather than the src groups because I > &g

Re: Laundry

2020-07-26 Thread Konstantin Belousov
On Sun, Jul 26, 2020 at 01:11:33PM -0700, Doug Hardie wrote: > I have a production system (12.1-RELEASE-p6) that is showing around 1 GB of > Laundry pages. There are over 6 Gb Inact and 1 Gb free. I can understand > why the system would want to not prioritize laundering those pages as there >

Re: Commit 364003 causes immediate restart

2020-08-07 Thread Konstantin Belousov
On Fri, Aug 07, 2020 at 03:09:00PM +0200, peter.b...@bsd4all.org wrote: > Hi, > > After commit 364003 STABLE-12 reboots almost immediately. No error message, > not dump. Just a reboot. > > Last working commit 364002. > > Please let me know what is needed - acpidump or something like that. Why d

Re: How to free used Swap-Space? (from errno=8)

2020-09-22 Thread Konstantin Belousov
On Tue, Sep 22, 2020 at 09:11:49PM +0200, Peter wrote: > So what happens then is this: > > $ file scc.e > scc.e: ELF 32-bit LSB executable, Intel 80386, version 1 > (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, > for FreeBSD 9.3 (903504), stripped > > $ ./scc.e > ELF interprete

Re: How to free used Swap-Space? (from errno=8)

2020-09-22 Thread Konstantin Belousov
On Wed, Sep 23, 2020 at 12:03:32AM +0300, Konstantin Belousov wrote: > On Tue, Sep 22, 2020 at 09:11:49PM +0200, Peter wrote: > > So what happens then is this: > > > > $ file scc.e > > scc.e: ELF 32-bit LSB executable, Intel 80386, version 1 > > (FreeBSD), dynamic

Re: mmap and MAP_STACK

2020-10-21 Thread Konstantin Belousov
On Wed, Oct 21, 2020 at 04:53:11PM +0300, Nick Kostirya via freebsd-stable wrote: > Hello. > I have question about mmap. > > void *OSMem::AllocateDataArea(size_t &space) > { > // Round up to an integral number of pages. > space = (space + pageSize-1) & ~(pageSize-1); > int fd = -1; //

Re: mmap and MAP_STACK

2020-10-21 Thread Konstantin Belousov
On Wed, Oct 21, 2020 at 06:18:50PM +0300, Nick Kostirya via freebsd-stable wrote: > On Wed, 21 Oct 2020 17:16:57 +0300 > Konstantin Belousov wrote: > > > On Wed, Oct 21, 2020 at 04:53:11PM +0300, Nick Kostirya via freebsd-stable > > wrote: > > > Hello. &g

Re: 12-STABLE try to init thead-using libraries before threads and program crashes

2020-11-27 Thread Konstantin Belousov
On Fri, Nov 27, 2020 at 06:03:13PM +0300, Lev Serebryakov wrote: > > I have locally-built net/samba413 port on 12-STABLE (r367937) which crashes > in library initialization code due to wrong library initialization order: > > (No debugging symbols found in /usr/local/bin/testparm) > (gdb) b _li

Re: msdosfs umount problem

2020-12-04 Thread Konstantin Belousov
://github.com/freebsd/freebsd/commits/stable/12 (still it's the last > commit) > > On Fri, Dec 4, 2020 at 4:26 PM Konstantin Belousov wrote: > > > On Fri, Dec 04, 2020 at 03:19:31PM +0300, Özkan KIRIK wrote: > > > Hello, > > > > >

Re: transparent redirection with pf and squid

2015-10-04 Thread Konstantin Belousov
On Sun, Oct 04, 2015 at 07:31:43PM +0100, krad wrote: > Is anyone else having problems with squid core dumping on Freebsd 10-stable > when using the transparent caching feature. It started happening recently > after I re enabled ipv6 on my network. It may just be coincidence though. > It has even c

Re: transparent redirection with pf and squid

2015-10-06 Thread Konstantin Belousov
On Tue, Oct 06, 2015 at 01:38:28PM +0100, krad wrote: > Sorry but it appears I dont have the core so am not able to match it up. > Mostly likely another will happen later today though as ive now fixed > dumpdev on the box You do not need core to get the line number. kgdb kernel.debug list *functio

Re: 10.2-STABLE amd64 panic: page fault while in kernel mode

2015-10-14 Thread Konstantin Belousov
On Wed, Oct 14, 2015 at 03:52:47PM +0200, Frank Razenberg wrote: > After upgrading from 9.2 to 10.1 I first started noticing panics. They > occurred roughly weekly and since this storage machine isn't frequently > used I didn't look into it much further. After updating for 10.2-STABLE > the pani

Re: application coredump behavior differences between FreeBSD 7.0 and FreeBSD 10.1

2015-12-04 Thread Konstantin Belousov
On Fri, Dec 04, 2015 at 09:35:54AM +0800, Gavin Mu wrote: > Hi, > > We have an application running on old FreeBSD 7.0, and we are upgrading the > base system to FreeBSD 10.1. The application uses sysv_shm, and will allocate > a lot of share memory, though most of time only a part of the allocate

Re: application coredump behavior differences between FreeBSD 7.0and FreeBSD 10.1

2015-12-05 Thread Konstantin Belousov
ES keeps increasing to > 1GB. From my testing, if the memory is allocated by malloc(), then RES will > keep increasing in both 7.0 and 10.1. only sysv_shm in 7.0 has different > behavior. I have checked coredump() code but did not find any clue why it is > different. > >

Re: application coredump behavior differences between FreeBSD 7.0andFreeBSD 10.1

2015-12-06 Thread Konstantin Belousov
the exiting process) is possible, but is somewhat questionable. > > Regards, > Gavin Mu > > > ------ Original -- > From: "Gavin Mu";; > Date: Sun, Dec 6, 2015 08:14 AM > To: "Konstantin Belousov"; > Cc: "freebsd-stable"; >

Re: X2APIC support

2015-12-12 Thread Konstantin Belousov
On Sat, Dec 12, 2015 at 04:06:15PM +0300, Slawa Olhovchenkov wrote: > Does STABLE support X2APIC? > I see X2APIC related commits in CURRENT, what is status for STABLE? > I am try to enable X2APIC support on X10DRi and see kernel trap on > boot. x2APIC is only supported in HEAD. The code to parse

Re: 10-STABLE hangups frequently

2016-02-02 Thread Konstantin Belousov
On Tue, Feb 02, 2016 at 06:28:58PM +0900, Hajimu UMEMOTO wrote: > Hi, > > > On Tue, 2 Feb 2016 08:54:17 + > > Steven Hartland said: > > killing> Some more information about your enviroment would be helpful: > killing> 1. What revision of stable/10 are you running? > > It occurs on r

Re: 10-STABLE hangups frequently

2016-02-02 Thread Konstantin Belousov
On Tue, Feb 02, 2016 at 02:33:27PM +0100, Henrik Lidstr??m wrote: > Just want to chip in that I also experience the same issue. This is my The same ? So did you diagnosed the problem and can explain, from the evidence provided by you and Hajimu, what is the cause and why the issues are the same ?

Re: 10-STABLE hangups frequently

2016-02-06 Thread Konstantin Belousov
On Sat, Feb 06, 2016 at 11:40:50PM +0900, Hajimu UMEMOTO wrote: > Hi, > > >>>>> On Tue, 2 Feb 2016 14:52:37 +0200 > >>>>> Konstantin Belousov said: > > kostikbel> Please gather the information listed at > kostikbel> > https://w

Re: Is UEFI required for ZFS?

2016-02-13 Thread Konstantin Belousov
On Fri, Feb 12, 2016 at 09:15:49PM +, Mark Dixon wrote: > > Can you put a dmesg.boot from the server ? An pciconf -lvb ? > > > > I have the exact same issue on the forum, so I can: As a blind shot, try to lower the CPU frequency in the BIOS, to 3 or even to 2 Ghz. If you can try a dos (real

Re: Is UEFI required for ZFS?

2016-02-13 Thread Konstantin Belousov
On Sat, Feb 13, 2016 at 03:46:16PM +, Mark Dixon wrote: > I don't think I can clock it down, although the UEFI bios screens are > massively confusing so I could be wrong. > > Verbose dmesg: Might be, try the following (mostly debugging) change. diff --git a/sys/boot/i386/libi386/time.c b/sys

Re: Is UEFI required for ZFS?

2016-02-15 Thread Konstantin Belousov
On Sun, Feb 14, 2016 at 09:42:24PM +, Mark Dixon wrote: > Konstantin Belousov gmail.com> writes: > > > > On Sat, Feb 13, 2016 at 03:46:16PM +, Mark Dixon wrote: > > Might be, try the following (mostly debugging) change. > > > > Tried it, the onl

Re: 10.2 - Process stuck in unkillable sleep

2016-02-24 Thread Konstantin Belousov
On Wed, Feb 24, 2016 at 02:26:19PM +1000, Paul Koch wrote: > > Occasionally we see a process get stuck in an unkillable state and > the only solution is a hard reboot. > > Occasionally == once every two weeks across 60+ servers, which are spread > across the globe in customer sites. We have no r

Re: Process stuck in "vnread"

2016-03-02 Thread Konstantin Belousov
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. > >0 79596 1 0 20 0 170921396 wait I 1 0:00.00 > /bin/sh /usr/local/bin/au

Re: Process stuck in "vnread"

2016-03-02 Thread Konstantin Belousov
On Wed, Mar 02, 2016 at 03:02:02AM -0800, Maxim Sobolev wrote: > Thanks, Konstantin. > > Re: md(4) state: > >0 88688 0 0 -8 0 0 16 tx->tx_s DL- 0:45.43 > [md0] > > Its backtrace: So md is stuck in ZFS. ___ freebsd-stabl

Re: nfs_getpages: error 4

2016-03-05 Thread Konstantin Belousov
On Sat, Mar 05, 2016 at 05:24:26PM +0300, Dmitry Sivachenko wrote: > > > > Again, error 4 is EINTR so you could disable both "soft" and "intr" options > > for test. > > > "soft" is meaningless in such setup, because "file system calls will fail > after retrycnt round trip timeout intervals" bu

Re: nfs_getpages: error 4

2016-03-05 Thread Konstantin Belousov
On Sat, Mar 05, 2016 at 07:42:51PM +0300, Dmitry Sivachenko wrote: > > > On 05 Mar 2016, at 19:27, Konstantin Belousov wrote: > > > > On Sat, Mar 05, 2016 at 05:24:26PM +0300, Dmitry Sivachenko wrote: > >>> > >>> Again, error 4 is EIN

Re: Process stuck in "vnread"

2016-03-28 Thread Konstantin Belousov
On Mon, 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 device is locked > forever waiting

Re: 10.3-RELEASE amd64 segmentation faults in wc, sh...

2016-06-30 Thread Konstantin Belousov
On Thu, Jun 30, 2016 at 01:57:32PM +0200, Patrick Lamaiziere wrote: > Hello, > > I'm building a pair of firewall with 10.3 and I see some rare > segmentation faults (5 in a week) in processes like wc, sh or ifstated. > > wc, sh are used by some scripts who check the state of the interfaces > and

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 Konstantin Belousov
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 > 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 susp

Re: Reproducable panic in FFS with softupdates and no journaling (10.3-RELEASE-pLATEST)

2016-07-06 Thread Konstantin Belousov
On Wed, Jul 06, 2016 at 10:51:28AM -0400, David Cross wrote: > Ok.. to reply to my own message, I using ktr and debugging printfs I have > found the culprit.. but I am still at a loss to 'why', or what the > appropriate fix is. > > Lets go back to the panic (simplified) > > #0 0x8043f160

Re: Reproducable panic in FFS with softupdates and no journaling (10.3-RELEASE-pLATEST)

2016-07-06 Thread Konstantin Belousov
On Wed, Jul 06, 2016 at 12:02:00PM -0400, David Cross wrote: > Oh, whoops; how do I printout the buffer? In kgdb, p/x *(struct buf *)address ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscr

Re: Reproducable panic in FFS with softupdates and no journaling (10.3-RELEASE-pLATEST)

2016-07-06 Thread Konstantin Belousov
On Wed, Jul 06, 2016 at 02:21:20PM -0400, David Cross wrote: > (kgdb) up 5 > #5 0x804aafa1 in brelse (bp=0xfe00f77457d0) at buf.h:428 > 428 (*bioops.io_deallocate)(bp); > Current language: auto; currently minimal > (kgdb) p/x *(struct buf *)0xfe00f77457d0 > $1

Re: swapoff: Cannot allocate memory FreeBSD 11 Beta2

2016-07-28 Thread Konstantin Belousov
On Thu, Jul 28, 2016 at 12:38:51PM +0200, Johan Hendriks wrote: > Hello all. > > Lately I noticed above (error) when I reboot machine. > > It looks like this. > > Stopping cron. > Waiting for PIDS: 1183 > swapoff: /dev/gpt/swap-9M286954: Cannot allocate memory > stopping zfsd. > Waiti.. > >

Call for testing: VM bugs in 10.3

2016-08-02 Thread Konstantin Belousov
Below is the merge of some high-profile virtual memory subsystem bug fixes from stable/10 to 10.3. I merged fixes for bugs reported by users, issues which are even theoretically unlikely to occur in real world loads, are not included into the patch set. The later is mostly corrections for the handl

Re: Call for testing: VM bugs in 10.3

2016-08-02 Thread Konstantin Belousov
On Tue, Aug 02, 2016 at 12:47:23PM -0700, pete wright wrote: > On Aug 2, 2016 12:26 PM, "Konstantin Belousov" wrote: > > > > Below is the merge of some high-profile virtual memory subsystem bug > > fixes from stable/10 to 10.3. I merged fixes for bugs reported by &

Re: Call for testing: VM bugs in 10.3

2016-08-02 Thread Konstantin Belousov
On Tue, Aug 02, 2016 at 01:57:49PM -0600, Ian Lepore wrote: > On Tue, 2016-08-02 at 22:25 +0300, Konstantin Belousov wrote: > > Below is the merge of some high-profile virtual memory subsystem bug > > fixes from stable/10 to 10.3. > I run 10-stable on my everyday desktop/bui

Re: fsck_ufs dumps core

2016-08-10 Thread Konstantin Belousov
On Wed, Aug 10, 2016 at 05:29:31PM +0300, Dmitry Sivachenko wrote: > Hello, > > I am running FreeBSD 10.3-STABLE #0 r299261M > > After unclean reboot I am unable to fsck my UFS filesystem: > > # fsck /dev/mfid0p1 > ** /dev/mfid0p1 > ** Last Mounted on /opt > ** Phase 1 - Check Blocks and Sizes

Re: fsck_ufs dumps core

2016-08-11 Thread Konstantin Belousov
On Wed, Aug 10, 2016 at 06:11:39PM +0300, Dmitry Sivachenko wrote: > > > On 10 Aug 2016, at 17:55, Konstantin Belousov wrote: > > > > On Wed, Aug 10, 2016 at 05:29:31PM +0300, Dmitry Sivachenko wrote: > >> Hello, > >> > >> I am running FreeBSD

Re: unionfs bugs, a partial patch and some comments [Was: Re: 1-BETA3 Panic: __lockmgr_args: downgrade a recursed lockmgr nfs @ /usr/local/share/deploy-tools/RELENG_11/src/sys/fs/unionfs/union_vnops.c

2016-08-12 Thread Konstantin Belousov
On Thu, Aug 11, 2016 at 10:53:03PM +, Rick Macklem wrote: > Harry Schmalzbauer wrote: > Bez??glich Mark Johnston's Nachricht vom 09.08.2016 08:02 (localtime): > ??? > >> > >> Just for anybody else needing unionfs: > >> https://people.freebsd.org/~attilio/unionfs_missing_insmntque_lock.patch > >

Re: unionfs bugs, a partial patch and some comments [Was: Re: 1-BETA3 Panic: __lockmgr_args: downgrade a recursed lockmgr nfs @ /usr/local/share/deploy-tools/RELENG_11/src/sys/fs/unionfs/union_vnops.c

2016-08-18 Thread Konstantin Belousov
On Thu, Aug 18, 2016 at 12:03:33AM +, Rick Macklem wrote: > Kostik wrote: > [stuff snipped] > >insmnque() performs the cleanup on its own, and that default cleanup isnot > >suitable >for the situation. I think that insmntque1() would betterfit your > >requirements, your >need to move the co

Re: kern.proc.pathname failure while booting from zfs

2016-08-23 Thread Konstantin Belousov
On Tue, Aug 23, 2016 at 09:27:56AM +0200, Frederic Chardon wrote: > Le 20 ao??t 2016 22:03, "Frederic Chardon" a > ??crit : > > > > Hi > > > > I see a strange interaction between zfs on root and kern.proc.pathname > > on my laptop. Whenever I try to use gcore it fails with: > > gcore 1023 > > gcor

Re: X2APIC support

2016-09-01 Thread Konstantin Belousov
On Thu, Sep 01, 2016 at 02:27:24PM +0300, Slawa Olhovchenkov wrote: > On Sat, Dec 12, 2015 at 03:35:13PM +0200, Konstantin Belousov wrote: > > > On Sat, Dec 12, 2015 at 04:06:15PM +0300, Slawa Olhovchenkov wrote: > > > Does STABLE support X2APIC? > > > I see X2A

Re: X2APIC support

2016-09-01 Thread Konstantin Belousov
On Thu, Sep 01, 2016 at 03:13:00PM +0300, Slawa Olhovchenkov wrote: > On Thu, Sep 01, 2016 at 02:45:00PM +0300, Konstantin Belousov wrote: > As I point before: 'X2APIC_OPT_OUT Flag'. > Hidden before 'X2APIC' set to '[Enable]' > > https://s15.postimg.o

Re: X2APIC support

2016-09-01 Thread Konstantin Belousov
On Thu, Sep 01, 2016 at 08:31:49PM +0300, Slawa Olhovchenkov wrote: > On Thu, Sep 01, 2016 at 08:26:32PM +0300, Konstantin Belousov wrote: > > > On Thu, Sep 01, 2016 at 03:13:00PM +0300, Slawa Olhovchenkov wrote: > > > On Thu, Sep 01, 2016 at 02:45:00PM +0300, Konstantin Bel

Re: X2APIC support

2016-09-01 Thread Konstantin Belousov
On Thu, Sep 01, 2016 at 09:00:14PM +0300, Slawa Olhovchenkov wrote: > Sorry, don't cleanly understund, what combination of BIOS setting I am need > to probe? > And what I am need to check? Set 'Hyper-Threading' to Enabled. Set 'X2APIC_OPT_OUT' to Enabled. Try to boot.

Re: Regression with revision 303970 (was kern.proc.pathname failure while booting from zfs)

2016-09-04 Thread Konstantin Belousov
On Sun, Sep 04, 2016 at 04:11:39PM +0300, Andriy Gapon wrote: > On 04/09/2016 11:24, Andriy Gapon wrote: > > On 27/08/2016 22:09, Frederic Chardon wrote: > >>> Anybody is able to reproduce this behavior or is it a local problem? > >> Reverting 303970 solves this issue. gcore and adb works again, an

Re: X2APIC support

2016-09-04 Thread Konstantin Belousov
On Sun, Sep 04, 2016 at 11:19:16AM +0300, Andriy Gapon wrote: > On 01/09/2016 15:13, Slawa Olhovchenkov wrote: > > DMAR: Found table at 0x79b32798 > > x2APIC available but disabled by DMAR table > > > Event timer "LAPIC" quality 600 > > LAPIC: ipi_wait() us multiplier 1 (r 116268019 tsc 2200043851

Re: X2APIC support

2016-09-04 Thread Konstantin Belousov
On Sun, Sep 04, 2016 at 06:49:43PM +0300, Andriy Gapon wrote: > On 04/09/2016 18:14, Konstantin Belousov wrote: > > On Sun, Sep 04, 2016 at 11:19:16AM +0300, Andriy Gapon wrote: > >> Kostik, I see one strange thing which is common to both successful and > >> unsuccessfu

Re: AIO not working on NFS share - ? Regression

2016-09-05 Thread Konstantin Belousov
On Mon, Sep 05, 2016 at 02:26:30PM -0600, Alan Somers wrote: > Just to get your webserver out of the picture, could you please try > running the aio test suite on an NFS share? Do it like this: > $ cd /usr/tests/sys/aio > $ export TMPFS=/path/to/some/nfs/share > $ kyua test By default, unsafe aio

Re: X2APIC support

2016-09-06 Thread Konstantin Belousov
On Tue, Sep 06, 2016 at 04:13:05PM +0300, Slawa Olhovchenkov wrote: > On Sun, Sep 04, 2016 at 11:19:16AM +0300, Andriy Gapon wrote: > > > On 01/09/2016 15:13, Slawa Olhovchenkov wrote: > > > DMAR: Found table at 0x79b32798 > > > x2APIC available but disabled by DMAR table > > > > > Event timer "L

Re: X2APIC support

2016-09-13 Thread Konstantin Belousov
On Tue, Sep 13, 2016 at 05:54:26PM +0300, Andriy Gapon wrote: > On 13/09/2016 17:21, Slawa Olhovchenkov wrote: > > boot failed: > > > > set hw.x2apic_enable=0 > > loading required module 'krpc' > > /boot/kernel.VSTREAM/krpc.ko size 0x2a210 at 0x134e000 > > loading required module 'opensolaris' > >

Re: X2APIC support

2016-09-14 Thread Konstantin Belousov
On Tue, Sep 13, 2016 at 06:52:19PM +0300, Andriy Gapon wrote: > On 13/09/2016 18:22, Konstantin Belousov wrote: > > Any access > > to the LAPIC registers page in x2APIC mode faults. > > Is this a fact? > I read the following in the specification: > > In x2APIC mod

Re: X2APIC support

2016-09-14 Thread Konstantin Belousov
On Wed, Sep 14, 2016 at 05:02:21PM +0300, Andriy Gapon wrote: > On 14/09/2016 15:49, Slawa Olhovchenkov wrote: > > MSR_APICBASE = 0xfee00d00 > > x2APIC is prohibited but turned on by BIOS > > Kostik, ^ Well, the following might work, but I have no good idea what to do when BIOS does h

Re: 11.0 stuck on high network load

2016-09-15 Thread Konstantin Belousov
On Thu, Sep 15, 2016 at 12:35:04AM +0300, Slawa Olhovchenkov wrote: > On Sun, Sep 04, 2016 at 06:46:12PM -0700, hiren panchasara wrote: > > > On 09/05/16 at 12:57P, Slawa Olhovchenkov wrote: > > > I am try using 11.0 on Dual E5-2620 (no X2APIC). > > > Under high network load and may be addtional c

Re: nginx and FreeBSD11

2016-09-16 Thread Konstantin Belousov
On Thu, Sep 15, 2016 at 11:54:12AM -0700, John Baldwin wrote: > On Thursday, September 15, 2016 08:49:48 PM Slawa Olhovchenkov wrote: > > On Thu, Sep 15, 2016 at 10:28:11AM -0700, John Baldwin wrote: > > > > > On Thursday, September 15, 2016 05:41:03 PM Slawa Olhovchenkov wrote: > > > > On Wed, Se

Re: nginx and FreeBSD11

2016-09-20 Thread Konstantin Belousov
On Tue, Sep 20, 2016 at 10:20:53PM +0300, Slawa Olhovchenkov wrote: > On Tue, Sep 20, 2016 at 09:52:44AM +0300, Slawa Olhovchenkov wrote: > > > On Mon, Sep 19, 2016 at 06:05:46PM -0700, John Baldwin wrote: > > > > > > > If this panics, then vmspace_switch_aio() is not working for > > > > > some r

Re: nginx and FreeBSD11

2016-09-20 Thread Konstantin Belousov
On Tue, Sep 20, 2016 at 11:38:54PM +0300, Slawa Olhovchenkov wrote: > On Tue, Sep 20, 2016 at 11:19:25PM +0300, Konstantin Belousov wrote: > > > On Tue, Sep 20, 2016 at 10:20:53PM +0300, Slawa Olhovchenkov wrote: > > > On Tue, Sep 20, 2016 at 09:52:44AM +0300, Sla

Re: nginx and FreeBSD11

2016-09-22 Thread Konstantin Belousov
On Wed, Sep 21, 2016 at 12:15:17AM +0300, Konstantin Belousov wrote: > > > diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c > > > index a23468e..f754652 100644 > > > --- a/sys/vm/vm_map.c > > > +++ b/sys/vm/vm_map.c > > > @@ -481,6 +481,7 @@ vmspace

Re: nginx and FreeBSD11

2016-09-22 Thread Konstantin Belousov
On Thu, Sep 22, 2016 at 11:25:27AM +0300, Slawa Olhovchenkov wrote: > On Thu, Sep 22, 2016 at 10:59:33AM +0300, Konstantin Belousov wrote: > > Below is, I believe, the committable fix, of course supposing that > > the patch above worked. If you want to retest it on stable/11, ign

<    1   2   3   4   >