From mboxrd@z Thu Jan 1 00:00:00 1970 From: Assaf Gordon Subject: Re: GUIX 0.7 under QEMU/KVM with virtio Date: Sun, 05 Oct 2014 19:29:16 -0400 Message-ID: <5431D44C.3090502@gmail.com> References: <542F7ECA.1030709@gmail.com> <87bnprh8ha.fsf@gnu.org> <54308DBB.9070103@gmail.com> <87bnpqg0o7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XavF2-0002ZO-5w for guix-devel@gnu.org; Sun, 05 Oct 2014 19:29:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XavEt-0000T1-3s for guix-devel@gnu.org; Sun, 05 Oct 2014 19:29:28 -0400 In-Reply-To: <87bnpqg0o7.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Cc: guix-devel@gnu.org Hello, On 10/05/2014 08:29 AM, Ludovic Courtès wrote: >>> I haven’t tried agetty, but it seems to have a hard-coded default login >>> program of “/bin/login”, which doesn’t exist here. Could you try >>> invoking it with -l $(guix build shadow)/bin/login ? >>> >>> Alternately you could try adding a mingetty service to the >>> configuration: >>> >>> (operating-system >>> ... >>> (services (cons (mingetty-service "ttyS0") >>> %base-services))) >>> >> >> I still can't get serial console to work, perhaps needs more fidgeting. > > Did you try agetty with -l as suggested above? > Yes. Same as before - it exists after a timeout of few seconds. >> Trying "mingetty ttyS0" from the command line fails with: >> ttyS0: no controlling tty: Operation not permitted > > Is mingetty running as root here? If it is, could you strace it to see > exactly what returns EPERM? > Yes. Running as root. I don't have "strace" installed - how do I install it ? (I'm very new to guix). Thanks, - Assaf