From owner-freebsd-current@FreeBSD.ORG Tue Oct 16 19:58:36 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48FEF16A419; Tue, 16 Oct 2007 19:58:36 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: from smtp.elcom.ru (smtp.elcom.ru [84.53.200.28]) by mx1.freebsd.org (Postfix) with ESMTP id D426513C474; Tue, 16 Oct 2007 19:58:35 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: by smtp.elcom.ru (Postfix, from userid 65534) id 2F3093D86D9; Tue, 16 Oct 2007 23:58:31 +0400 (MSD) Received: from dsl-212-78.elcom.ru (dsl-212-78.elcom.ru [84.53.212.78]) by smtp.elcom.ru (Postfix) with ESMTP id F0FDF3D8684; Tue, 16 Oct 2007 23:58:30 +0400 (MSD) Date: Tue, 16 Oct 2007 23:58:32 +0400 From: "Victor M. Blood" X-Mailer: The Bat! (v3.80.06) Professional Organization: Home Programming Inc. X-Priority: 3 (Normal) Message-ID: <648464572.20071016235832@masm.elcom.ru> To: Kris Kennaway , freebsd-current@freebsd.org In-Reply-To: <47150B2C.7090905@FreeBSD.org> References: <471530484.20071014172230@masm.elcom.ru> <47121CCA.6080202@FreeBSD.org> <1946103758.20071016165321@masm.elcom.ru> <47150B2C.7090905@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: 7.0 CURRENT, need help with panic: Trying sleep, but thread marked as sleeping prohibited X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 19:58:36 -0000 On 16.10.2007, Kris Kennaway wrote: > Victor M. Blood wrote: >> On 14.10.2007, Kris Kennaway wrote: >>> Victor M. Blood wrote: >>>> Hi, All. >>>> >>>> FreeBSD 7.0-CURRENT, Sun 10 Oct 2007. >>>> >>>> Problem have appear at pid 27 cmd=[Irq11: rl0], then PFil hooks are >>>> worked. I have no idea how to fix it. Can you help me? >> >>> ipfilter is known to be broken. >> >> Today test system with ipfilter 4.1.27, for me all works fine. >> >> whats do: >> 1) fetch -o - http://coombs.anu.edu.au/~avalon/ip_fil4.1.27.tar.gz | tar -zxf - -C /var/tmp && pushd /var/tmp/ip_fil4.1.27 && pwd >> 2) more INSTALL.FreeBSD >> 3) vim Makefile >> Here may uncomment STALETOP_CFLAGS=-DSTALETOP and edit paths to ncurses inc and lib >> 4) 'make freebsd' or 'make freebsd7' >> 5) make install-bsd >> 6) BSD/kupgrade >> 7) rebuild and install new kernel >> 8) reboot system > Do you have the debugging options (INVARIANTS and INVARIANT_SUPPORT) > enabled? They are now disabled in RELENG_7. If not you will just get a > deadlock when you are unlucky :) Yes, all debug options are stay by default. = KERN ... # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB # Support DDB. options GDB # Support remote GDB. options INVARIANTS # Enable calls of extra sanity checking options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS options WITNESS # Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed ... = END KERN I have updated ipfilter to 4.1.27 until cvsup with tag=RELING_7 and sources was from 10.10.2007 which system shows me panic with _sx_sleep() and _rw_sleep() with ipf 4.1.23. After some tests :)) /ping, smbfs, telnet, etc.../ Update of ipfilter was finished at 17:00 GMT+3, now: # uptime 23:51 up 7:12, 2 users, load averages: 1,32 1,23 1,09 Now I'm have update CVS-tree, and build world for RELENG_7. With ipfilter 4.1.23 system stay alive 1-2 min with inet work, I have been compelled to disable ipfilter (ipf -D) for work with network. While any failures are not present, all works normally. -- With all regards, Victor M. Blood. mailto: freebsd@masm.elcom.ru FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656