I've successful porting Arch Linux to sh4 CPU.
Here is the console screen demo http://ascii.io/a/2849
But, I use a workaround method to prevent upgrade kernel.
I use the sysvinit back instead of systemd.
Here I found a problem, when I telnet to the xinetd telnetd.
It hidden some chars. And disable the echo back.
It is OK for ssh login.
For example, see it eats my hostname prompt and 'P' of 'P'assword:
# hostname sh4twbox [root@sh4twbox ~]# telnet localhost Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 4twbox assword: 0;root@sh4twbox:~?1034hoot@sh4twbox ~]# 0;root@sh4twbox:~oot@sh4twbox ~]# 0;root@sh4twbox:~oot@sh4twbox 0;root@sh4twbox:~oot@sh4twbox ~]# H H H H H 0;root@sh4twbox:~oot@sh4twbox ~]#ogout Connection closed by foreign host.
I think your escape sequences maybe goofed, but it maybe doing something else strange.
For security reasons, regular telnet was removed from Arch some time ago, for the sshd instead.
But if you are using telnet to access a web server or something like that and it still does that with the telnet client, then the telnet client is probably messed up, but this is probably your telnetd doing something funny. So try to hit a web server with your telnet client and see what it does.
Last edited by nomorewindows (2013-04-14 17:33:59)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
I'm sure my telnet client is workable on other.
I've sshd setup already, but, I want to save CPU on this slow machine.
But, the problem is caused by the telnetd or the path to telnetd.
id:3:initdefault: rc::sysinit:/etc/rc.sysinit rs:S1:wait:/etc/rc.single rm:2345:wait:/etc/rc.multi rh:06:wait:/etc/rc.shutdown su:S:wait:/sbin/sulogin -p # -8 options fixes umlauts problem on login c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux # Serial Virtual Console for KVM and others VMs s0:2345:respawn:/sbin/agetty -8 -s 115200 ttyAS0 linux
[root@sh4twbox ~]# ls -l /dev/tty? crw-rw---- 1 root tty 4, 0 Jan 1 2000 /dev/tty0 crw-rw---- 1 root tty 4, 1 Apr 13 10:34 /dev/tty1 crw-rw---- 1 root tty 204, 40 Apr 13 10:34 /dev/ttyAS0