From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: GUIX 0.7 under QEMU/KVM with virtio Date: Mon, 06 Oct 2014 21:28:44 +0200 Message-ID: <87fvf1vvyr.fsf@gnu.org> References: <542F7ECA.1030709@gmail.com> <87bnprh8ha.fsf@gnu.org> <54308DBB.9070103@gmail.com> <87bnpqg0o7.fsf@gnu.org> <5431D44C.3090502@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbDxf-0007V2-TT for guix-devel@gnu.org; Mon, 06 Oct 2014 15:28:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XbDxW-0000Ib-Se for guix-devel@gnu.org; Mon, 06 Oct 2014 15:28:47 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:49088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbDxW-0000IW-L2 for guix-devel@gnu.org; Mon, 06 Oct 2014 15:28:38 -0400 In-Reply-To: <5431D44C.3090502@gmail.com> (Assaf Gordon's message of "Sun, 05 Oct 2014 19:29:16 -0400") 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: Assaf Gordon Cc: guix-devel@gnu.org Assaf Gordon skribis: > On 10/05/2014 08:29 AM, Ludovic Court=C3=A8s wrote: >>>> I haven=E2=80=99t tried agetty, but it seems to have a hard-coded defa= ult login >>>> program of =E2=80=9C/bin/login=E2=80=9D, which doesn=E2=80=99t exist h= ere. 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). Run =E2=80=98guix package -i strace=E2=80=99. Preferably register hydra.gn= u.org.pub to enable =E2=80=9Csubstitutes=E2=80=9D before doing that, so the system doesn= =E2=80=99t end up building the world (info "(guix) Substitutes"). HTH, Ludo=E2=80=99.