[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GUIX 0.7 under QEMU/KVM with virtio
From: |
Ludovic Courtès |
Subject: |
Re: GUIX 0.7 under QEMU/KVM with virtio |
Date: |
Mon, 06 Oct 2014 21:28:44 +0200 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
Assaf Gordon <address@hidden> 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’.