From owner-freebsd-stable@FreeBSD.ORG Fri Apr 30 13:07:17 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A31B106566C for ; Fri, 30 Apr 2010 13:07:17 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [76.96.27.212]) by mx1.freebsd.org (Postfix) with ESMTP id 732D48FC23 for ; Fri, 30 Apr 2010 13:07:17 +0000 (UTC) Received: from omta17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by qmta14.emeryville.ca.mail.comcast.net with comcast id BoXc1e0031afHeLAEp7JoP; Fri, 30 Apr 2010 13:07:18 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta17.emeryville.ca.mail.comcast.net with comcast id Bp7G1e00H3S48mS8dp7His; Fri, 30 Apr 2010 13:07:17 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id AB6D69B425; Fri, 30 Apr 2010 06:07:15 -0700 (PDT) Date: Fri, 30 Apr 2010 06:07:15 -0700 From: Jeremy Chadwick To: David Samms Message-ID: <20100430130715.GA91653@icarus.home.lan> References: <4BDACF8B.2070008@nw-ds.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BDACF8B.2070008@nw-ds.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: ed@FreeBSD.org, ru@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: X11/rxvt: su fails to login and prints 'load: ...' on return X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 13:07:17 -0000 On Fri, Apr 30, 2010 at 08:39:39AM -0400, David Samms wrote: > This morning I pulled up three rxvt terminals and ssh into a remote > server. In each of the three ssh sessions I tried to su and failed > with the following error message: > > %su root > Password:load: 0.53 cmd: su 38176 [ttyin] 0.00u 0.00s 0% 1556k > load: 0.53 cmd: su 38176 [ttyin] 0.00u 0.00s 0% 1556k > > Client is FreeBSD 8 stable (i386) > Server is FreeBSD 7.2 Release > > An identical report was filed against aterm: > http://www.freebsd.org/cgi/query-pr.cgi?pr=143786 > > Using a standard xterm, or XFCE Terminal I could su just fine. Also > typing stty status '^M' before su, as suggested by Ruslan Ermilov > solved the problem. The "load:" part is a FreeBSD nicety, where if you press Control-T in a terminal window where there's a running process, you get details of the system (load avg, etc.) and details of the process (current state, time used, memory, etc.). In the pty/tty driver, this correlates to VSTATUS, which sends SIGINFO to the process. See stty(1) man page, search for "kerninfo". I realise this doesn't help solve your dilemma, but I wanted to let you know where the load line comes from and how you might be able to trace it back. I'm also adding Ed Schouten, who's responsible for the pty/tty driver; he might have some ideas how/why this is happening. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |