Re: FreeBSD 9 recompile ports

2012-01-13 Thread Kostik Belousov
On Fri, Jan 13, 2012 at 04:11:22PM +0200, Andriy Gapon wrote: on 13/01/2012 14:57 George Kontostanos said the following: Still the question remains regarding COMPAT_FREEBSD8 and how does this affects ports/misc/compat8x/ Looks like all the previous hints have not been clear enough. There

Re: Mystery panic, FreeBSD 7.2-PRE

2011-12-23 Thread Kostik Belousov
On Thu, Dec 22, 2011 at 04:04:48PM -0700, Charlie Martin wrote: We've got another mystery panic in 7.2-PRE. Upgrading is not an option; however, if this is familiar to anyone, backporting a patch would be. The stack trace is: db_trace_self_wrapper() at 0x8019120a =

Re: directory listing hangs in ufs state

2011-12-22 Thread Kostik Belousov
On Wed, Dec 21, 2011 at 09:03:02PM +0400, Andrey Zonov wrote: On 15.12.2011 17:01, Kostik Belousov wrote: On Thu, Dec 15, 2011 at 03:51:02PM +0400, Andrey Zonov wrote: On Thu, Dec 15, 2011 at 12:42 AM, Jeremy Chadwick free...@jdc.parodius.comwrote: On Wed, Dec 14, 2011 at 11:47:10PM +0400

Re: fsck_ufs out of swapspace

2011-12-20 Thread Kostik Belousov
On Tue, Dec 20, 2011 at 09:51:43AM +1100, Peter Jeremy wrote: On 2011-Dec-19 22:27:49 +0100, Michiel Boland bolan...@xs4all.nl wrote: Problem solved - it was indeed an endian thing. The problem is that fsck uses a real_dev_bsize variable that is declared long, but the DIOCGSECTORSIZE ioctl

Re: directory listing hangs in ufs state

2011-12-15 Thread Kostik Belousov
On Thu, Dec 15, 2011 at 03:51:02PM +0400, Andrey Zonov wrote: On Thu, Dec 15, 2011 at 12:42 AM, Jeremy Chadwick free...@jdc.parodius.comwrote: On Wed, Dec 14, 2011 at 11:47:10PM +0400, Andrey Zonov wrote: On 14.12.2011 22:22, Jeremy Chadwick wrote: On Wed, Dec 14, 2011 at 10:11:47PM

Re: tmpfs deadlock on stable/9

2011-12-07 Thread Kostik Belousov
On Wed, Dec 07, 2011 at 01:57:08PM +0400, Dmitry Morozovsky wrote: Dear colleagues, I have ports tinderbox runnign on stable/9-amd64, with working directories on tmpfs. I have two consecutive tmpfs deadlocks like root@beaver:/usr/local/tb/scripts# ps t2 PID TT STATTIME COMMAND

Re: tmpfs deadlock on stable/9

2011-12-07 Thread Kostik Belousov
On Wed, Dec 07, 2011 at 09:59:32PM +0400, Dmitry Morozovsky wrote: On Wed, 7 Dec 2011, Kostik Belousov wrote: I have ports tinderbox runnign on stable/9-amd64, with working directories on tmpfs. I have two consecutive tmpfs deadlocks like root@beaver:/usr/local/tb/scripts# ps

Re: Something missing in truss

2011-12-04 Thread Kostik Belousov
On Sat, Dec 03, 2011 at 01:54:58PM -0600, Dan Nelson wrote: In the last episode (Dec 02), Eivind Evensen said: Does anybody else see this or know why? The machine here is running : uname -a FreeBSD elg.hjerdalen.lokalnett 8.2-STABLE FreeBSD 8.2-STABLE #36: Wed Nov 30 22:03:07

Re: 8.2 + apache == a LOT of sigprocmask

2011-11-20 Thread Kostik Belousov
On Fri, Nov 18, 2011 at 12:07:51PM -0800, Doug Barton wrote: On 11/18/2011 01:19, Kostik Belousov wrote: On Fri, Nov 18, 2011 at 12:00:57AM -0800, Doug Barton wrote: On 11/17/2011 02:57, Kostik Belousov wrote: It's not catching there though: Reading symbols from /libexec/ld-elf.so.1

Re: 8.2 + apache == a LOT of sigprocmask

2011-11-18 Thread Kostik Belousov
On Fri, Nov 18, 2011 at 12:00:57AM -0800, Doug Barton wrote: On 11/17/2011 02:57, Kostik Belousov wrote: It's not catching there though: Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 0x28183b2d in accept () at accept.S:3 3

Re: 8.2 + apache == a LOT of sigprocmask

2011-11-17 Thread Kostik Belousov
On Wed, Nov 16, 2011 at 11:59:06PM -0800, Doug Barton wrote: On 11/16/2011 23:49, Kostik Belousov wrote: On Wed, Nov 16, 2011 at 10:46:27PM -0800, Doug Barton wrote: On 11/15/2011 02:09, Jeremy Chadwick wrote: On Tue, Nov 15, 2011 at 11:07:45AM +0200, Kostik Belousov wrote: On Mon, Nov 14

Re: 8.2 + apache == a LOT of sigprocmask

2011-11-17 Thread Kostik Belousov
On Thu, Nov 17, 2011 at 01:26:49AM -0800, Doug Barton wrote: On 11/17/2011 00:12, Kostik Belousov wrote: On Wed, Nov 16, 2011 at 11:59:06PM -0800, Doug Barton wrote: On 11/16/2011 23:49, Kostik Belousov wrote: On Wed, Nov 16, 2011 at 10:46:27PM -0800, Doug Barton wrote: On 11/15/2011 02

Re: 8.2 + apache == a LOT of sigprocmask

2011-11-16 Thread Kostik Belousov
On Wed, Nov 16, 2011 at 10:46:27PM -0800, Doug Barton wrote: On 11/15/2011 02:09, Jeremy Chadwick wrote: On Tue, Nov 15, 2011 at 11:07:45AM +0200, Kostik Belousov wrote: On Mon, Nov 14, 2011 at 12:51:35PM -0800, Doug Barton wrote: On 11/14/2011 12:31, Doug Barton wrote: Trying to track

Re: 8.2 + apache == a LOT of sigprocmask

2011-11-15 Thread Kostik Belousov
On Mon, Nov 14, 2011 at 12:51:35PM -0800, Doug Barton wrote: On 11/14/2011 12:31, Doug Barton wrote: Trying to track down a load problem we're seeing on 8.2-RELEASE-p4 i386 in a busy web hosting environment I came across the following post:

Re: valgrind on FreeBSD?

2011-10-09 Thread Kostik Belousov
On Sun, Oct 09, 2011 at 04:18:48PM +0200, V??clav Zeman wrote: Jeremy Chadwick wrote, On 9.10.2011 16:11: On Sun, Oct 09, 2011 at 03:48:57PM +0200, V??clav Zeman wrote: V??clav Zeman wrote, On 9.10.2011 15:25: Bakul Shah wrote, On 6.10.2011 8:40: On Wed, 05 Oct 2011 23:06:04 +0200

Re: stable/9 r225827 i386 panic: vm_page_unwire: page 0xc2a38dc8's wire count is zero

2011-09-29 Thread Kostik Belousov
On Thu, Sep 29, 2011 at 02:52:31PM +0300, Alexandr Kovalenko wrote: Hello! I'm running 9.0-BETA3 (r225827) and now rebuilding all my 1215 ports (I've upgraded from 8.2). I'm getting panic. Is it known problem/already fixed somewhere? FreeBSD mile.xxx.ua 9.0-BETA3 FreeBSD 9.0-BETA3 #0

Re: stable/9 r225827 i386 panic: vm_page_unwire: page 0xc2a38dc8's wire count is zero

2011-09-29 Thread Kostik Belousov
On Thu, Sep 29, 2011 at 03:47:19PM +0300, Alexandr Kovalenko wrote: On Thu, Sep 29, 2011 at 3:30 PM, Kostik Belousov kostik...@gmail.com wrote: On Thu, Sep 29, 2011 at 02:52:31PM +0300, Alexandr Kovalenko wrote: Hello! I'm running 9.0-BETA3 (r225827) and now rebuilding all my 1215 ports

Re: stable/9 r225827 i386 panic: vm_page_unwire: page 0xc2a38dc8's wire count is zero

2011-09-29 Thread Kostik Belousov
On Thu, Sep 29, 2011 at 03:51:53PM +0300, Alexandr Kovalenko wrote: 2011/9/29 Kostik Belousov kostik...@gmail.com: On Thu, Sep 29, 2011 at 03:47:19PM +0300, Alexandr Kovalenko wrote: On Thu, Sep 29, 2011 at 3:30 PM, Kostik Belousov kostik...@gmail.com wrote: On Thu, Sep 29, 2011 at 02

Re: stable/9 r225827 i386 panic: vm_page_unwire: page 0xc2a38dc8's wire count is zero

2011-09-29 Thread Kostik Belousov
On Thu, Sep 29, 2011 at 04:12:19PM +0300, Alexandr Kovalenko wrote: 2011/9/29 Kostik Belousov kostik...@gmail.com: On Thu, Sep 29, 2011 at 03:51:53PM +0300, Alexandr Kovalenko wrote: 2011/9/29 Kostik Belousov kostik...@gmail.com: On Thu, Sep 29, 2011 at 03:47:19PM +0300, Alexandr Kovalenko

Re: NFSD hang

2011-09-28 Thread Kostik Belousov
On Tue, Sep 27, 2011 at 08:06:50PM -0400, Rick Macklem wrote: I suspect something is making those threads loop, but I don't know how to figure out where? (In the bad old days, I would have exscaped to a debugger and looked where the program counter was, then repeated after a cont a few times,

Re: luit -encoding gbk causes Segmentation fault (core dumped) in 9-stable

2011-09-28 Thread Kostik Belousov
On Wed, Sep 28, 2011 at 09:09:30PM +0800, Adrian Chadd wrote: Hm, it's not all that useful. But it first calls dlopen(). Does it have shared modules? Do you have old copies of those somewhere lying around? You need to build everything, i.e. base and the port, build with debug symbols.

Re: /usr/bin/script eating 100% cpu with portupgrade and xargs

2011-09-18 Thread Kostik Belousov
On Sun, Sep 18, 2011 at 02:54:34PM +0300, Mikolaj Golub wrote: On Sun, 18 Sep 2011 13:25:26 +0200 Ronald Klop wrote: RK It is a while since I programmed C, but why will writing 0 bytes give RK the reader an end-of-file? Shouldn't the fd be closed to indicate RK end-of-file? AFAIR,

Re: /usr/bin/script eating 100% cpu with portupgrade and xargs

2011-09-18 Thread Kostik Belousov
On Sun, Sep 18, 2011 at 11:57:57PM +0300, Mikolaj Golub wrote: On Sun, 18 Sep 2011 20:24:23 +0300 Kostik Belousov wrote: KB On Sun, Sep 18, 2011 at 02:54:34PM +0300, Mikolaj Golub wrote: On Sun, 18 Sep 2011 13:25:26 +0200 Ronald Klop wrote: RK It is a while since I programmed

Re: panic: spin lock held too long (RELENG_8 from today)

2011-09-03 Thread Kostik Belousov
On Sat, Sep 03, 2011 at 12:05:47PM +0200, Attilio Rao wrote: This should be enough for someone NFS-aware to look into it. Were you also able to get a core? I'll try to look into it in the next days, in particular about the softclock state. I am absolutely sure that this is a zfs

Re: sigwait return 4

2011-08-27 Thread Kostik Belousov
On Sat, Aug 27, 2011 at 04:25:36PM +0200, Jilles Tjoelker wrote: On Thu, Aug 25, 2011 at 12:29:29AM +0300, Kostik Belousov wrote: On Wed, Aug 24, 2011 at 10:56:09PM +0200, Jilles Tjoelker wrote: sigwait() was fixed not to return EINTR in 9-current in r212405 (fixed up in r219709

Re: -m32 on freeBSD 8.2r amd64

2011-08-24 Thread Kostik Belousov
On Wed, Aug 24, 2011 at 01:57:02PM +0100, Tom Evans wrote: On Wed, Aug 24, 2011 at 12:11 PM, Michael Hoffmann benz...@arcor.de wrote: Maybe off topic? 1: echo int main(void) { return 0; } t.c 2: setenv LDEMULATION elf_i386_fbsd 3: gcc -c -m32 -o t.o t.c 4: gcc -nostartfiles -o

Re: sigwait return 4

2011-08-24 Thread Kostik Belousov
On Wed, Aug 24, 2011 at 10:19:07PM +0400, Slawa Olhovchenkov wrote: System is 8.2-RELEASE (GENERIC), amd64. Application -- i386 for freebsd7. In ktrace dump I find some strange result: 22951 100556 kas-milter CALL sigwait(0xffdfdf80,0xffdfdf7c) 22951 100556 kas-milter RET sigwait 4

Re: sigwait return 4

2011-08-24 Thread Kostik Belousov
On Wed, Aug 24, 2011 at 11:24:46PM +0400, Slawa Olhovchenkov wrote: On Wed, Aug 24, 2011 at 10:07:03PM +0300, Kostik Belousov wrote: On Wed, Aug 24, 2011 at 10:19:07PM +0400, Slawa Olhovchenkov wrote: System is 8.2-RELEASE (GENERIC), amd64. Application -- i386 for freebsd7

Re: sigwait return 4

2011-08-24 Thread Kostik Belousov
On Wed, Aug 24, 2011 at 11:42:29PM +0400, Slawa Olhovchenkov wrote: On Wed, Aug 24, 2011 at 10:32:02PM +0300, Kostik Belousov wrote: What should the system do for a delivered signal not present in the set ? I guess this is the case of your ktrace. Looking at the SUSv4, I

Re: sigwait return 4

2011-08-24 Thread Kostik Belousov
On Wed, Aug 24, 2011 at 10:56:09PM +0200, Jilles Tjoelker wrote: On Wed, Aug 24, 2011 at 10:07:03PM +0300, Kostik Belousov wrote: On Wed, Aug 24, 2011 at 10:19:07PM +0400, Slawa Olhovchenkov wrote: System is 8.2-RELEASE (GENERIC), amd64. Application -- i386 for freebsd7. In ktrace

Re: sigwait return 4

2011-08-24 Thread Kostik Belousov
On Thu, Aug 25, 2011 at 12:29:29AM +0300, Kostik Belousov wrote: Solaris is simply wrong in the same way we were wrong. Although POSIX may not be as clear on this as one may like, its intention is clear and additionally not returning EINTR reduces subtle portability problems. Can you

Re: 32GB limit per swap device?

2011-08-20 Thread Kostik Belousov
On Sat, Aug 20, 2011 at 12:33:29PM -0500, Alan Cox wrote: On Thu, Aug 18, 2011 at 3:16 AM, Alexander V. Chernikov melif...@ipfw.ruwrote: On 10.08.2011 19:16, per...@pluto.rain.com wrote: Chuck Swigercswi...@mac.com wrote: On Aug 9, 2011, at 7:26 AM, Daniel Kalchev wrote: I am

Re: 32GB limit per swap device?

2011-08-20 Thread Kostik Belousov
On Sat, Aug 20, 2011 at 10:42:28PM +0400, Alexander V. Chernikov wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan Cox wrote: On 08/20/2011 12:41, Kostik Belousov wrote: On Sat, Aug 20, 2011 at 12:33:29PM -0500, Alan Cox wrote: On Thu, Aug 18, 2011 at 3:16 AM, Alexander V

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-17 Thread Kostik Belousov
On Wed, Aug 17, 2011 at 11:21:42PM +0300, Andriy Gapon wrote: [skip] But I also would like to use this opportunity to discuss how we can make it easier to debug such issue as this. I think that this problem demonstrates that when we treat certain junk in kernel address value as a userland

Re: dtrace ustack kernel panic

2011-07-30 Thread Kostik Belousov
On Sat, Jul 30, 2011 at 12:05:33PM -0700, maestro something wrote: Hi, Have you started kgdb with the correct kernel and core file? If yes, then I am out of ideas. I hope so, I only recompiled the kernel once according to the DTRACE wiki instructions and I certainly only have one

Re: Sleeping thread owns a nonsleepable lock panic ( lor)

2011-07-27 Thread Kostik Belousov
On Tue, Jul 26, 2011 at 07:12:23PM -0400, Rick Macklem wrote: Kostik Belousov wrote: On Tue, Jul 26, 2011 at 01:17:52PM +0200, Herve Boulouis wrote: Le 26/07/2011 12:06, Kostik Belousov a Иcrit: On Tue, Jul 26, 2011 at 11:49:13AM +0200, Herve Boulouis wrote: Le 25/07/2011 11:59

Re: Sleeping thread owns a nonsleepable lock panic ( lor)

2011-07-26 Thread Kostik Belousov
On Tue, Jul 26, 2011 at 11:49:13AM +0200, Herve Boulouis wrote: Le 25/07/2011 11:59, Kostik Belousov a Иcrit: Ok the patched server crashed this morning strangely : all httpd processes were stuck in nfs or vmopar and were unkillable. Below is the full ps. Please see the http

Re: Sleeping thread owns a nonsleepable lock panic ( lor)

2011-07-26 Thread Kostik Belousov
On Tue, Jul 26, 2011 at 01:17:52PM +0200, Herve Boulouis wrote: Le 26/07/2011 12:06, Kostik Belousov a Иcrit: On Tue, Jul 26, 2011 at 11:49:13AM +0200, Herve Boulouis wrote: Le 25/07/2011 11:59, Kostik Belousov a ?crit: Ok the patched server crashed this morning strangely : all

Re: Sleeping thread owns a nonsleepable lock panic ( lor)

2011-07-25 Thread Kostik Belousov
On Mon, Jul 25, 2011 at 12:21:07PM +0200, Herve Boulouis wrote: Hi list, We have 2 freebsd 8.2-STABLE (cvsuped june 22) that keeps crashing in a bad way : The are doing heavy apache / php4 web serving from a nfs mount and panic at least once a day with the following message (no crash

Re: disable 64-bit dma for one PCI slot only?

2011-07-20 Thread Kostik Belousov
On Wed, Jul 20, 2011 at 11:54:06AM +0200, Stefan Esser wrote: The Rev column is required for of devices that are not uniquely identified by their Vnd/Dev-IDs. (These used to exist, e.g. the Symbios SCSI controllers, though I'm not aware of any device that needed a different driver depending on

Re: panic: spin lock held too long (RELENG_8 from today)

2011-07-07 Thread Kostik Belousov
On Thu, Jul 07, 2011 at 10:36:42AM +0300, Andriy Gapon wrote: on 07/07/2011 08:55 Mike Tancsa said the following: I did a buildworld on this box to bring it up to RELENG_8 for the BIND fixes. Unfortunately, the formerly solid box (April 13th kernel) panic'd tonight with Unread portion

Re: csh Cannot open /etc/termcap after starting screen

2011-06-18 Thread Kostik Belousov
On Sat, Jun 18, 2011 at 10:14:32PM +0200, Stefan `Sec` Zehl wrote: Hi, On Thu, Jun 16, 2011 at 13:15 -0700, Jeremy Chadwick wrote: Example: run mutt from within GNU screen while connected to the system with PuTTY, then copy some of the terminal content and paste it somewhere.

Re: doscmd under 8-stable, anyone?

2011-06-15 Thread Kostik Belousov
On Wed, Jun 15, 2011 at 03:57:05PM +0200, Joerg Wunsch wrote: When trying to use doscmd on 8-stable, all I get is: Error mapping HMA, HMA disabled: : Invalid argument Segmentation fault (core dumped) The segfault happens at the end of mem_init(), when the allocated DOS memory (which is

Re: doscmd under 8-stable, anyone?

2011-06-15 Thread Kostik Belousov
On Wed, Jun 15, 2011 at 04:44:55PM +0200, Joerg Wunsch wrote: As Kostik Belousov wrote: Do sysctl security.bsd.map_at_zero=1 Just for the record, this sysctl also makes my really really old utree binary work again. The binary dates back to 386BSD 0.0, and I'm only keeping it out

Re: automoc4 processes lock again

2011-05-09 Thread Kostik Belousov
On Mon, May 09, 2011 at 12:40:56PM +0400, Max Brazhnikov wrote: Hi, After recent Qt-4.7.3 update I can't build KDE4 ports anymore (tested on 8.2-STABLE amd64 only). The problem is always reproduced with x11/kdelibs4. The build stalls with hanging automoc4 processes. Any help is

Re: automoc4 processes lock again

2011-05-09 Thread Kostik Belousov
On Mon, May 09, 2011 at 07:39:46PM +0400, Max Brazhnikov wrote: On Mon, 9 May 2011 15:41:05 +0300, Kostik Belousov wrote: You did not supplied enough information. Which of the processes is parent, which is child ? Note that there are other threads in the pid 18636. What does they do

Re: Kernel memory leak in 8.2-PRERELEASE?

2011-04-02 Thread Kostik Belousov
On Sat, Apr 02, 2011 at 10:17:27AM -0400, Boris Kochergin wrote: Ahoy. This morning, I awoke to the following on one of my servers: pid 59630 (httpd), uid 80, was killed: out of swap space pid 59341 (find), uid 0, was killed: out of swap space pid 23134 (irssi), uid 1001, was killed: out of

Re: Problem using POSIX message queues

2011-03-28 Thread Kostik Belousov
On Mon, Mar 28, 2011 at 01:19:38PM -0400, Derek Tattersall wrote: While trying to develop an understanding of the use POSIX message queues, I found that issuing a mq_open (2) call, resulted in Bad system call: 12 error message. I have tried to run the tools/regression/mqueue tests, but they

Re: [releng_7 tinderbox] failure on ia64/ia64

2011-03-13 Thread Kostik Belousov
On Sun, Mar 13, 2011 at 01:04:05PM +, FreeBSD Tinderbox wrote: TB --- 2011-03-13 11:05:21 - tinderbox 2.6 running on freebsd-legacy.sentex.ca TB --- 2011-03-13 11:05:21 - starting RELENG_7 tinderbox run for ia64/ia64 TB --- 2011-03-13 11:05:21 - cleaning the object tree TB --- 2011-03-13

Re: Linker set issues with ath(4) HALs

2011-03-05 Thread Kostik Belousov
On Sat, Mar 05, 2011 at 07:50:05PM +1100, Peter Jeremy wrote: I have a Atheros AR5424 and so, based on the 8.2-STABLE i386 NOTES and some rummaging in the sources, I tried to build a kernel with: deviceath # Atheros pci/cardbus NIC's device

Re: svn commit: r219178 - head/sys/crypto/aesni

2011-03-02 Thread Kostik Belousov
On Wed, Mar 02, 2011 at 02:56:58PM +, Konstantin Belousov wrote: Author: kib Date: Wed Mar 2 14:56:58 2011 New Revision: 219178 URL: http://svn.freebsd.org/changeset/base/219178 Log: Fix a bug in the result of manual assembly. Reported by:Stefan Grundmann sg2342

Re: FYI: Userspace DTrace MFC to stable/8

2011-03-01 Thread Kostik Belousov
On Tue, Mar 01, 2011 at 11:03:07AM +0200, Nikolay Denev wrote: On 1 Mar, 2011, at 01:33 , Robert Watson wrote: Dear all: Just an FYI that I've gone ahead and merged userspace DTrace support to FreeBSD 8.x from 9.x. While it appeared to pass build tests locally, boot and run, etc,

Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory

2011-02-22 Thread Kostik Belousov
On Tue, Feb 22, 2011 at 10:55:37PM +0100, Henner Heck wrote: Hello, i experience freezing of my FreeBSD machine when performing certain operations on a Samba share. Technical info: - FreeBSD 8.2 Release 64 Bit (it also happened with 8.2 RC3) - Samba 3.5.6.1 - Athlon II Quadcore, 4 GB

Re: About panic: bufwrite: buffer is not busy???

2011-02-21 Thread Kostik Belousov
On Sun, Feb 20, 2011 at 10:30:52AM -0500, Mike Tancsa wrote: On 2/20/2011 9:33 AM, Andrey Smagin wrote: On week -current I have same problem, my box paniced every 2-15 min. I resolve problem by next steps - unplug network connectors from 2 intel em (82574L) cards. I think last time that

Re: minor data-typing error in 8.1 fs/devfs/devfs_vnops.c

2011-02-07 Thread Kostik Belousov
On Mon, Feb 07, 2011 at 12:53:14AM -0800, per...@pluto.rain.com wrote: Noticed while digging through devfs_read_f() and devfs_write_f() in the course of investigating some unexpected (by me) geom behavior: ... int ioflag, error, resid; ... resid = uio-uio_resid; ...

Re: Xorg in swwrt

2011-02-06 Thread Kostik Belousov
On Sun, Feb 06, 2011 at 03:19:12PM +1030, Daniel O'Connor wrote: I updated ports (portmaster -a basically) on this 8.2-PRE box and now I find X takes a long, long time to start up and uses lots of CPU. It shows the wchan as swwrt. eg.. last pid: 21791; load averages: 0.12, 0.29, 0.23

Re: tmpfs is zero bytes (no free space), maybe a zfs bug?

2011-01-30 Thread Kostik Belousov
On Wed, Jan 19, 2011 at 05:27:38PM +0100, Ivan Voras wrote: On 19 January 2011 16:02, Kostik Belousov kostik...@gmail.com wrote: http://people.freebsd.org/~ivoras/diffs/tmpfs.h.patch I don't think this is a complete solution but it's a start. If you can, try it and see if it helps

Re: Living on gmirror: need to reincarnate /etc/rc.early

2011-01-25 Thread Kostik Belousov
On Tue, Jan 25, 2011 at 01:20:53PM +0600, Eugene Grosbein wrote: Hi! In RELENG_8, gmirror is good enough to keep whole HDD pair withing the mirror. Its performance, stability any pretty ease of maintainance allows to use it widely. With wide deployment of gmirror in production I've faced

Re: Living on gmirror: need to reincarnate /etc/rc.early

2011-01-25 Thread Kostik Belousov
On Tue, Jan 25, 2011 at 11:30:06AM -0800, Doug Barton wrote: On 01/24/2011 23:20, Eugene Grosbein wrote: Hi! In RELENG_8, gmirror is good enough to keep whole HDD pair withing the mirror. Its performance, stability any pretty ease of maintainance allows to use it widely. With wide

Re: Living on gmirror: need to reincarnate /etc/rc.early

2011-01-25 Thread Kostik Belousov
On Tue, Jan 25, 2011 at 12:30:37PM -0800, Doug Barton wrote: On 01/25/2011 12:28, Kostik Belousov wrote: No, my use for rc.early is different. I use it to load modules before filesystems are mounted. Ok, I'll bite ... what is deficient about doing this in /boot/loader.conf? The fact

Re: tmpfs is zero bytes (no free space), maybe a zfs bug?

2011-01-19 Thread Kostik Belousov
On Wed, Jan 19, 2011 at 11:39:41AM +0100, Ivan Voras wrote: On 19/01/2011 11:09, Attila Nagy wrote: On 01/19/11 09:46, Jeremy Chadwick wrote: On Wed, Jan 19, 2011 at 09:37:35AM +0100, Attila Nagy wrote: I first noticed this problem on machines with more memory (32GB eg.), but now it happens

Re: 8.2-PRERELEASE: live deadlock, almost all processes in pfault state

2011-01-08 Thread Kostik Belousov
On Sat, Jan 08, 2011 at 09:44:57PM +0300, Lev Serebryakov wrote: Hello, Freebsd-stable. I've added `transmission' BitTorrent client to my home server and now it deadlocks easily (after about 1 hour of intensive download and seeding). This server is upgraded from 7.x and last time I've run

Re: 8.2-PRERELEASE: live deadlock, almost all processes in pfault state

2011-01-08 Thread Kostik Belousov
On Sat, Jan 08, 2011 at 10:29:09PM +0300, Lev Serebryakov wrote: Hello, Kostik. You wrote 8 января 2011 г., 22:02:32: There is some weird backtrace at the pid 20, what is g_raid5 ? It is geom_raid5, with two threads -- working one and one for processing finished bios. If I am

Re: 8.2-PRERELEASE: live deadlock, almost all processes in pfault state

2011-01-08 Thread Kostik Belousov
On Sat, Jan 08, 2011 at 11:10:21PM +0300, Lev Serebryakov wrote: Hello, Kostik. You wrote 8 января 2011 г., 22:56:13: And, if it is classic deadlock is here any classical solution to it? Do not allocate during bio processing. So, if GEOM need some cache, it needs pre-allocate it

Re: Hang in VOP_LOCK1_APV on 8-STABLE with NFS.

2011-01-07 Thread Kostik Belousov
On Fri, Jan 07, 2011 at 02:37:25PM -0500, Rick Macklem wrote: Hi, OpenOffice hangs on NFS when I try to save a file or even when I try to open the save dialog in this case. $ 17:25:35 ron...@ronald [~] procstat -kk 85575 PID TID COMM TDNAME KSTACK 85575 100322 soffice.bin

Re: FreeBSD 8.2-PRERELEASE hangs under load with live kernel

2011-01-06 Thread Kostik Belousov
On Thu, Jan 06, 2011 at 01:31:45PM +0300, Lev Serebryakov wrote: Hello, Freebsd-stable. I've added torrent client (transmission) to software on my home server and it starts to hang in very unusual way: kernel works but userland doesn't. I can ping it (and it answers). I can

Re: RFC: Upgrade BIND version in RELENG_7 to BIND 9.6.x

2010-12-18 Thread Kostik Belousov
On Fri, Dec 17, 2010 at 09:41:54PM -0800, Doug Barton wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howdy, Traditionally for contributed software generally, and BIND in particular we have tried to keep the major version of the contributed software consistent throughout a given

Re: Following vendor release cycle (Was: Re: RFC: Upgrade BIND version in RELENG_7 to BIND 9.6.x)

2010-12-18 Thread Kostik Belousov
On Sat, Dec 18, 2010 at 03:07:11PM -0800, Doug Barton wrote: On 12/18/2010 03:15, Kostik Belousov wrote: On Fri, Dec 17, 2010 at 09:41:54PM -0800, Doug Barton wrote: Howdy, Traditionally for contributed software generally, and BIND in particular we have tried to keep the major version

Re: vm.swap_reserved toooooo large?

2010-12-15 Thread Kostik Belousov
On Wed, Dec 15, 2010 at 03:43:56PM +0200, George Mamalakis wrote: On 15/12/2010 13:26, Trond Endrest??l wrote: On Wed, 15 Dec 2010 13:04+0200, George Mamalakis wrote: I was testing a program that would exhaust all my memory (in C++), and when this would happen, it would call

Re: cryptodev cipher registration (aesni and padlock)

2010-12-13 Thread Kostik Belousov
On Mon, Dec 13, 2010 at 10:27:00AM -0500, Mike Tancsa wrote: While doing some testing with the aesni driver, it seems some ciphers are registered with openssl and some are not. e.g. if I start an ssh session using aes128, I see the following [pyroxene]% ssh -c aes128-cbc smarthost1

Re: aesni(?) corrupts data on 8.2-BETA1

2010-12-12 Thread Kostik Belousov
On Sat, Dec 11, 2010 at 07:37:51PM -0500, Mike Tancsa wrote: On 12/11/2010 6:22 PM, Kostik Belousov wrote: On Sat, Dec 11, 2010 at 06:08:08PM -0500, Mike Tancsa wrote: On 12/11/2010 11:01 AM, Kostik Belousov wrote: I have no access to AESNI hardware. For start, you may use src/tools

Re: aesni(?) corrupts data on 8.2-BETA1

2010-12-11 Thread Kostik Belousov
On Fri, Dec 10, 2010 at 08:43:18PM -0500, Mike Tancsa wrote: Actually, I just noticed something like this as well with ssh via cryptodev and rsync as well. It was erroring out. eg. Dec 10 16:50:01 backup3 sshd[13120]: Corrupted MAC on input. Dec 10 16:50:01 backup3 sshd[13120]: Finished

Re: aesni(?) corrupts data on 8.2-BETA1

2010-12-11 Thread Kostik Belousov
On Sat, Dec 11, 2010 at 06:08:08PM -0500, Mike Tancsa wrote: On 12/11/2010 11:01 AM, Kostik Belousov wrote: I have no access to AESNI hardware. For start, you may use src/tools/tools/crypto/cryptotest to somewhat verify the sanity of the driver. I doesnt happen every time, but one out

Re: top io mode

2010-11-25 Thread Kostik Belousov
On Thu, Nov 25, 2010 at 05:28:30AM -0600, Adam Vande More wrote: top io doesn't seem to display stats when dealing direct with a block device like so: dd if=/dev/ada0 of=/dev/null However if dd runs on a regular file eg dd if=test.file of=/dev/null then stats are reported in top.

Re: top io mode

2010-11-25 Thread Kostik Belousov
On Thu, Nov 25, 2010 at 04:35:53PM -0600, Adam Vande More wrote: On Thu, Nov 25, 2010 at 3:04 PM, Jeremy Chadwick free...@jdc.parodius.comwrote: Bad form to follow up to my own Email of course, but some discussion material: I'm a frequent offender myself so I won't be pointing any

Re: top io mode

2010-11-25 Thread Kostik Belousov
On Thu, Nov 25, 2010 at 05:18:13PM -0600, Adam Vande More wrote: On Thu, Nov 25, 2010 at 4:44 PM, Kostik Belousov kostik...@gmail.comwrote: Can you show exact command and describe some details about setup for the case where you still do not observe the counter in top ? (With my patch

Re: Call for testers: FPU changes

2010-11-20 Thread Kostik Belousov
On Sat, Nov 20, 2010 at 01:30:54AM -0500, Mike Tancsa wrote: On 11/16/2010 4:43 AM, Kostik Belousov wrote: On Mon, Nov 15, 2010 at 10:42:50PM -0500, Mike Tancsa wrote: On 11/15/2010 4:13 PM, Kostik Belousov wrote: Patch is at http://people.freebsd.org/~kib/misc/releng_8_fpu.1.patch

Re: Call for testers: FPU changes

2010-11-17 Thread Kostik Belousov
On Tue, Nov 16, 2010 at 08:46:23PM -0500, Mike Tancsa wrote: On 11/16/2010 5:19 PM, Kostik Belousov wrote: Would your conclusion be that the patch seems to increase the throughput of the aesni(4) ? I think that on small-sized blocks, when using aesni(4), the dominating factor

Re: Call for testers: FPU changes

2010-11-17 Thread Kostik Belousov
On Wed, Nov 17, 2010 at 02:18:50PM -0500, Mike Tancsa wrote: On 11/17/2010 11:35 AM, Kostik Belousov wrote: Meantime, the similar change may be beneficial for padlock(4) too. f you are going to test it, please note that most likely, openssl padlock engine does not use padlock(4), I do

Re: Call for testers: FPU changes

2010-11-16 Thread Kostik Belousov
On Mon, Nov 15, 2010 at 10:42:50PM -0500, Mike Tancsa wrote: On 11/15/2010 4:13 PM, Kostik Belousov wrote: Patch is at http://people.freebsd.org/~kib/misc/releng_8_fpu.1.patch Hi, One small failure on the patch The text leading up

Re: Call for testers: FPU changes

2010-11-16 Thread Kostik Belousov
On Tue, Nov 16, 2010 at 05:08:30PM -0500, Mike Tancsa wrote: On 11/16/2010 4:43 AM, Kostik Belousov wrote: On Mon, Nov 15, 2010 at 10:42:50PM -0500, Mike Tancsa wrote: On 11/15/2010 4:13 PM, Kostik Belousov wrote: Patch is at http://people.freebsd.org/~kib/misc/releng_8_fpu.1.patch

Call for testers: FPU changes

2010-11-15 Thread Kostik Belousov
Hello, this is a call for testers of the merge of fpu_kern_enter/leave(9) to RELENG_8. The changes are required to fix some issues with VIA padlock engine, and to actually merge aesni(4) to RELENG_8. I ask to look at the possible FPU context handling regressions. Reports from the users of VIA

Re: 8.1-STABLE: problem with unmounting ZFS snapshots

2010-11-13 Thread Kostik Belousov
On Sat, Nov 13, 2010 at 01:09:55PM +0200, Andriy Gapon wrote: on 13/11/2010 13:06 Martin Matuska said the following: No, this is not good for us. Solaris does not allow mounting of snapshots on any vnode, like we do. Solaris has them only in .zfs/snapshots. This allows us to have read-only

Re: AESNI

2010-11-12 Thread Kostik Belousov
On Fri, Nov 12, 2010 at 09:58:53AM -0500, Daryl Richards wrote: I'm wondering what the status is of AES-NI in 8-STABLE? I can find references to it being put into 9 back in July, with the note that it would be MFC'ed within a month, but as far as I've been able to find, nothing after that.

Re: NFS deadlock (unkillable nfsd and no mounts work)

2010-11-05 Thread Kostik Belousov
On Fri, Nov 05, 2010 at 10:27:09AM -0700, Josh Carroll wrote: I'm having a problem with nfsd hanging and not serving mount points, during which time it can not not be killed. This problem started happening sometime after November 2nd, since kernel from 11/2 sources does not exhibit this

Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-30 Thread Kostik Belousov
On Sat, Oct 30, 2010 at 05:43:54PM +0300, Andriy Gapon wrote: on 30/10/2010 14:25 Artemiev Igor said the following: On Sat, Oct 30, 2010 at 01:33:00PM +0300, Andriy Gapon wrote: on 30/10/2010 13:12 Artemiev Igor said the following: On Sat, Oct 30, 2010 at 12:52:54PM +0300, Andriy Gapon

Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-29 Thread Kostik Belousov
On Fri, Oct 29, 2010 at 06:31:21PM +0400, Alexander Zagrebin wrote: I've tried the nginx with disabled sendfile (the nginx.conf contains sendfile off;): $ dd if=/dev/random of=test bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 5.892504 secs

Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-29 Thread Kostik Belousov
On Fri, Oct 29, 2010 at 06:05:26PM +0300, Andriy Gapon wrote: on 29/10/2010 17:53 Kostik Belousov said the following: Could it be the priming of the vm object pages content ? Sorry, not familiar with this term. Do you mean prepopulation of vm object with valid pages? Due to double

Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-29 Thread Kostik Belousov
On Fri, Oct 29, 2010 at 06:22:54PM +0300, Andriy Gapon wrote: on 29/10/2010 18:17 Kostik Belousov said the following: On Fri, Oct 29, 2010 at 06:05:26PM +0300, Andriy Gapon wrote: on 29/10/2010 17:53 Kostik Belousov said the following: Could it be the priming of the vm object pages content

Re: kpanic on install 32GB of RAM [SEC=UNCLASSIFIED]

2010-10-21 Thread Kostik Belousov
On Thu, Oct 21, 2010 at 09:50:03AM -0700, Sean Bruno wrote: On Thu, 2010-10-21 at 05:48 -0700, Andriy Gapon wrote: on 20/10/2010 21:28 Sean Bruno said the following: I guess, I could replace the kernel on the CD and have them reburn it? That should work. BTW, here I described yet

Re: Panic with chromium and 8.1-STABLE (Thu Sep 16 09:52:17 BRT 2010)

2010-09-22 Thread Kostik Belousov
On Sun, Sep 19, 2010 at 07:28:13PM -0300, Mario Sergio Fujikawa Ferreira wrote: Hi, I've just began trying chrome web browser from http://chromium.hybridsource.org/ but it triggered 2 panics on my 8.1-STABLE system. $ uname -a FreeBSD exxodus.fedaykin.here 8.1-STABLE FreeBSD

Re: Panic with chromium and 8.1-STABLE (Thu Sep 16 09:52:17 BRT 2010)

2010-09-22 Thread Kostik Belousov
On Wed, Sep 22, 2010 at 03:58:12PM -0400, jhell wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/22/2010 09:28, Kostik Belousov wrote: On Sun, Sep 19, 2010 at 07:28:13PM -0300, Mario Sergio Fujikawa Ferreira wrote: Hi, I've just began trying chrome web browser from

Re: SuperMicro i7 (UP) - very slow performance

2010-09-18 Thread Kostik Belousov
On Sat, Sep 18, 2010 at 08:32:32AM -0500, Bryce Edwards wrote: I have a Supermicro with the C7X58 motherboard and an i7 930 cpu, and it is nowhere near the performance it should be. A buildworld just took 22.5 hours! I use 5046A-XB with i7-930 as home workstation, running latest RELENG_8, and

Re: strange problem with FreeBSD 7.3 64bit

2010-09-10 Thread Kostik Belousov
On Fri, Sep 10, 2010 at 10:45:08AM +0200, freebsd wrote: hi list, we upgraded some 20 boxes from 7.1 and 7.2 to 7.3-RELEASE-p2 (all amd64) and now are experiencing some weird behaviour on 6 of them with rsnapshot: after a few days/several weeks (seems to be completely random), rsnapshot

Re: strange problem with FreeBSD 7.3 64bit

2010-09-10 Thread Kostik Belousov
On Fri, Sep 10, 2010 at 12:04:50PM +0200, freebsd wrote: Am 10.09.2010 11:21, schrieb Kostik Belousov: On Fri, Sep 10, 2010 at 10:45:08AM +0200, freebsd wrote: It sounds like a deadlock, but the cause cannot be identified without further diagnostic. It might be driver (ciss I assume), but may

Re: csup in repomirror mode dumps core @ stable/8

2010-09-02 Thread Kostik Belousov
On Thu, Sep 02, 2010 at 03:59:07AM +0400, Dmitry Morozovsky wrote: Dear colleagues, some 2 days ago my repo mirror (stable/8...@amd64) starts dumping core on copying repo: ... SetAttrs CVSROOT-src/Emptydir Edit CVSROOT-src/access,v Segmentation fault (core dumped) deleting files

Re: STABLE kernel panic: privileged instruction fault

2010-08-16 Thread Kostik Belousov
On Mon, Aug 16, 2010 at 07:15:16PM +0400, Alexey Tarasov wrote: Hello. I have a couple of Supermicro servers which got the similar kernel panic with all FreeBSD versions I tried since 6.4. Now I want to investigate into the problem. The servers get into panic with similar workload: file

Re: STABLE kernel panic: privileged instruction fault

2010-08-16 Thread Kostik Belousov
On Mon, Aug 16, 2010 at 11:21:15PM +0400, Alexey Tarasov wrote: Hello Kostik! On Aug 16, 2010, at 10:48 PM, Kostik Belousov wrote: The backtrace make absolutely no sense. I would not trust kgdb anyway. Compile ddb in and do backtrace in console on the panic. Also, disassemble

Re: STABLE kernel panic: privileged instruction fault

2010-08-16 Thread Kostik Belousov
On Mon, Aug 16, 2010 at 11:35:36PM +0400, Alexey Tarasov wrote: On Aug 16, 2010, at 11:31 PM, Kostik Belousov wrote: On Mon, Aug 16, 2010 at 11:21:15PM +0400, Alexey Tarasov wrote: Hello Kostik! On Aug 16, 2010, at 10:48 PM, Kostik Belousov wrote: The backtrace make

Re: Kernel symbol file alternate location

2010-08-06 Thread Kostik Belousov
On Fri, Aug 06, 2010 at 09:29:31AM +0200, Oliver Fromme wrote: Daniel O'Connor wrote: On 06/08/2010, at 2:38, Oliver Fromme wrote: I think this is the main reason / has had to grow - the actual kernel is relatively small so even a 256Mb / could hold several, but with the symbol

  1   2   3   4   5   >