From: ludo@gnu.org (Ludovic Courtès)
To: Assaf Gordon <assafgordon@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: GUIX 0.7 under QEMU/KVM with virtio
Date: Mon, 06 Oct 2014 21:28:44 +0200 [thread overview]
Message-ID: <87fvf1vvyr.fsf@gnu.org> (raw)
In-Reply-To: <5431D44C.3090502@gmail.com> (Assaf Gordon's message of "Sun, 05 Oct 2014 19:29:16 -0400")
Assaf Gordon <assafgordon@gmail.com> skribis:
> 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).
Run ‘guix package -i strace’. Preferably register hydra.gnu.org.pub to
enable “substitutes” before doing that, so the system doesn’t end up
building the world (info "(guix) Substitutes").
HTH,
Ludo’.
prev parent reply other threads:[~2014-10-06 19:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-04 4:59 GUIX 0.7 under QEMU/KVM with virtio Assaf Gordon
2014-10-04 20:42 ` Ludovic Courtès
2014-10-05 0:15 ` Assaf Gordon
2014-10-05 12:29 ` Ludovic Courtès
2014-10-05 23:29 ` Assaf Gordon
2014-10-06 19:28 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fvf1vvyr.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=assafgordon@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.