:: Re: [DNG] My virtual terminals seem…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Steve Litt
Date:  
À: dng
Sujet: Re: [DNG] My virtual terminals seem amiss
On Mon, 7 Mar 2016 08:40:02 -0600
dev <devuan.2@???> wrote:

> Hello,
> I noticed today, upon trying to rebuild my nvidia module, that I have
> no login available on the virtual terminals customarily available via
> the keypress [CTRL][ALT]+(F1-F8 keys).
>
> The keypresses work, showing console output, but there is no "login:"
>
> /etc/inittab is here:
>
> $ egrep -v '(#|^$)' /etc/inittab
>    id:2:initdefault:
>    si::sysinit:/etc/init.d/rcS
>    ~~:S:wait:/sbin/sulogin
>    l0:0:wait:/etc/init.d/rc 0
>    l1:1:wait:/etc/init.d/rc 1
>    l2:2:wait:/etc/init.d/rc 2
>    l3:3:wait:/etc/init.d/rc 3
>    l4:4:wait:/etc/init.d/rc 4
>    l5:5:wait:/etc/init.d/rc 5
>    l6:6:wait:/etc/init.d/rc 6
>    z6:6:respawn:/sbin/sulogin
>    ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
>    pf::powerwait:/etc/init.d/powerfail start
>    pn::powerfailnow:/etc/init.d/powerfail now
>    po::powerokwait:/etc/init.d/powerfail stop
>    1:2345:respawn:/sbin/getty 38400 tty1
>    2:23:respawn:/sbin/getty 38400 tty2
>    3:23:respawn:/sbin/getty 38400 tty3
>    4:23:respawn:/sbin/getty 38400 tty4
>    5:23:respawn:/sbin/getty 38400 tty5
>    6:23:respawn:/sbin/getty 38400 tty6

>
>
> And this is /proc/cmdline. Nothing odd in there either:
>    BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 \
>    root=UUID=903c83ee-aa77-41c3-aaac-548a4f280c45 ro ipv6.disable=1

>
>
> Any thoughts how to get this working?
> Thanks



Step 1 is this:

ps ax | grep getty

Here's my output:

=============================================
[slitt@mydesk ~]$ ps ax | grep getty
  621 tty6     Ss+    0:00 agetty tty6 38400 linux
  622 tty5     Ss+    0:00 agetty tty5 38400 linux
  626 tty4     Ss+    0:00 agetty tty4 38400 linux
  631 tty2     Ss+    0:00 agetty tty2 38400 linux
  634 tty3     Ss+    0:00 agetty tty3 38400 linux
 4873 pts/10   R+     0:00 grep getty
[slitt@mydesk ~]$
=============================================


However, I'm not using Devuan right now, so your mileage may vary.
Notice I'm running "agetty", not "getty", which is respawned in your
inittab. I don't remember ever seeing a Linux (as oppposed to BSD) that
ran "getty" instead of "agetty". You might need to change that.

Also, seeing whether your gettys, each of which represents one virtual
terminal, are running. If not, that tells you something.

SteveT

Steve Litt
March 2016 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz