From owner-freebsd-current@FreeBSD.ORG Tue Oct 19 18:39:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21E0C16A4CE for ; Tue, 19 Oct 2004 18:39:41 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B524443D45 for ; Tue, 19 Oct 2004 18:39:40 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.11/8.12.11) id i9JIddrM093246; Tue, 19 Oct 2004 13:39:39 -0500 (CDT) (envelope-from dan) Date: Tue, 19 Oct 2004 13:39:39 -0500 From: Dan Nelson To: Martin Blapp Message-ID: <20041019183938.GA83510@dan.emsphone.com> References: <20041019105211.G5193@cvs.imp.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041019105211.G5193@cvs.imp.ch> X-OS: FreeBSD 5.3-BETA7 X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-current@freebsd.org Subject: Re: Showstopper ? Userland prozesses showing up as kernelprocesses with AMD opterons ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 18:39:41 -0000 In the last episode (Oct 19), Martin Blapp said: > Hi, I have some strange problems here with a AMD box in intel compat > mode. An upgrade to 5.3 RC1 did not help at all and still shows the > problems. > > Working box, same kernel and userland as mx3: > --------------------------------------------- > > mx2# ps -auxwww | grep rbl > bind 703 2.2 0.8 18612 16280 ?? Ss 15Sep04 46:32.74 rbldnsd -p /var/run/rbldnsd.pid -r /docsis/etc/rbldnsd -f -u bind:rbldns -b 127.0.0.2 -c 5 [...] > > Box with strange symptoms: > -------------------------- > > mx3# ps -auxwww | grep rbl > bind 952 0.0 0.8 18536 17660 ?? Ss 10:33AM 0:01.18 [rbldnsd] > > Why rbldnsd shows up as a kernel process ? And there are even other > procs showing up as kernel procs with missing cmdline ... What are you seeing that identifies it as a kernel process? The only way I know of determining that from ps is "ps axlo flags", and looking for processes with the 0x200 bit set. > clamav 1568 0.0 1.8 37592 37008 ?? I 7:00PM 0:01.65 [mimedefang-multiple] > clamav 1798 0.0 1.8 37592 37008 ?? I 7:00PM 0:00.00 [mimedefang-multiple] > > All cmdline args are gone. Any thoughts ? ps or libkvm out of sync with kernel? kern.ps_arg_cache_limit set to 0 for some reason? -- Dan Nelson dnelson@allantgroup.com