:: [DNG] inittab getty tty
Top Pagina
Delete this message
Reply to this message
Auteur: mett
Datum:  
Aan: dng
Onderwerp: [DNG] inittab getty tty
Hi,

Thanks for all the wonderful work you re providing.

I'd like some advice on Dev1-jessie's init system.

I've converted a wheezy install to a jessie-Dev1 host
following the first draft of HOWTO from Dev1-Fanboy on git
(around last September).

I realized few days ago I had not any tty when the server comes up
(and is up), while trying to set up a serial connection to this server:

root@tamerrp:/home/mettler# ps aux | grep tty
root 3560 0.0 0.0 12728 2284 pts/2 S+ 11:19 0:00 grep tty

root@tamerrp:/home/mettler# dmesg | grep tty
[0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64
root=UUID=5982d543-1e27-4350-b2f2-81d0cc40e0a0 ro console=tty0
console=ttyS0,9600n8
[0.000000] Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64
root=UUID=5982d543-1e27-4350-b2f2-81d0cc40e0a0 ro console=tty0
console=ttyS0,9600n8
[0.000000] console [tty0] enabled
[0.000000] console [ttyS0] enabled
[8.132769] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[30.550283] ttyS1: LSR safety check engaged!
[30.611799] ttyS1: LSR safety check engaged!

(I can connect via ssh).

It seems init is not parsing /etc/inittab while starting up
(init q seems wihtout effect as well).

I am wondering what would be the best thing to do,
to tackle this problem:

-purge all init and sysvinit packages and then re-install them
(I already tried an apt-get install --reinstall, without effect)
-try to install another init system(thing is on my other devuan,
a fresh install by the way, I do not have this phenomenon,
init q is working)
-write a script to start at least one tty(tty1) and one ttyS(ttyS0)

Any advice is welcome and I have to say that I am a kind of beginner.

My system is
root@tamerrp:/home/mettler# uname -a
Linux tamerrp 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1
(2016-09-03) x86_64 GNU/Linuxjessie
root@tamerrp:/home/mettler# cat /etc/debian_version
7.9
root@tamerrp:/home/mettler# cat /etc/devuan_version
jessie

If you need more info, please tell me

TIA