From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bw0-f51.google.com (mail-bw0-f51.google.com [209.85.214.51]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 31D341007D6 for ; Thu, 24 Nov 2011 00:08:22 +1100 (EST) Received: by bkat8 with SMTP id t8so1100284bka.38 for ; Wed, 23 Nov 2011 05:08:17 -0800 (PST) Subject: Re: [PATCH v3 2/3] hvc_init(): Enforce one-time initialization. From: Sasha Levin To: Amit Shah In-Reply-To: <20111123125657.GH16665@amit-x200.redhat.com> References: <20111108214452.28884.14840.stgit@miche.sea.corp.google.com> <20111108214504.28884.61814.stgit@miche.sea.corp.google.com> <874nybqo0o.fsf@rustcorp.com.au> <20111123103852.GG16665@amit-x200.redhat.com> <20111123125657.GH16665@amit-x200.redhat.com> Content-Type: text/plain; charset="us-ascii" Date: Wed, 23 Nov 2011 15:06:04 +0200 Message-ID: <1322053564.3581.19.camel@lappy> Mime-Version: 1.0 Cc: Stephen Rothwell , xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk , Rusty Russell , Miche Baker-Harvey , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Anton Blanchard , Mike Waychison , ppc-dev , Greg Kroah-Hartman , Eric Northrup List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2011-11-23 at 18:26 +0530, Amit Shah wrote: > On (Wed) 23 Nov 2011 [16:08:52], Amit Shah wrote: > > With this setup, with and without patches, I can spawn two consoles > > via: > > > > /sbin/agetty /dev/hvc0 9600 vt100 > > /sbin/agetty /dev/hvc1 9600 vt100 > > > > (Strange thing is, the second one gives a 'password incorrect' error > > on login attempts, while the first one logs in fine. I do remember > > testing multiple consoles just fine a year and a half back, so no idea > > why this isn't behaving as expected -- but it mostly looks like a > > userspace issue rather than kernel one.) > > Right -- when I test this on the Fedora 11 VM I used back then, the > two consoles work just fine without these patches. When I use > something newer (F14), I get the weird password rejection, with and > without your patches. It's not a weird password rejection, it's probably not set as a secure terminal :) Try adding hvc1 to /etc/securetty on the guest. -- Sasha.