TCRP Friend v0.0.6 를 릴리즈 합니다. (이젠 벽돌되도 두렵지 않습니다.^^)
ARPL 의 getty console addon 을 M SHELL for TCRP 에도 적용해 달라는 저희 회원님의 요청이 있어서 금일 반영 및 배포를 마쳤습니다.
TCRP FRIEND 의 버전은 v0.0.6 으로 자동업데이트 되며 화면은 아래처럼 바뀌어 보이실겁니다.
여기서 이번에 바뀐 핵심내용은 가운데 빨간줄
press <g> to enter a Getty Console to solve trouble
입니다.
이 Getty console 은 어떨때 써먹는지 궁금하실 텐데요.
헤놀로지 부트로더를 빌드하신후 원인모를 벽돌현상으로 더이상 진행이 되지 않으실 때
문제점을 파악하기 위해 아주 유용한 기능입니다.
랜카드가 동작하지 않더라도 이 Getty 콘솔은 동작합니다. 시리얼 케이블도 이젠 필요없습니다.
위 부팅화면에서 7초이내에 g 키를 눌러주시고 조금 기다리시면 아래와 같은 getty 콘솔 화면으로 바뀝니다.
로그인은 root 에 암호는 없이 진입하시면 됩니다.
이 상태에서
SynologyNas> cat /var/log/*rc*
라고 커맨드를 주시고 아래처럼 보이는 로그를 제게 보여주시면 됩니다.
보통 오류는 대부분 로그 맨 하단에 위치합니다.
때로는 커널패닉을 확인하기 위해서
SynologyNas> dmesg
의 확인이 필요한 경우도 있습니다.
경우에 따라 확인해야 할 로그나 상황이 그때 그때 다르기 때문에 제가 요구하는 사항대로 커맨드를 하시면 될것 같습니다.
이 기능을 사용하시기 위해서는 일단 M SHELL fot TCRP FRIEND 에서 로더를 다시 한번 빌드 해주셔야 합니다.
빌드가 없는 상태에서 g 키 입력을 하시면 위 getty console 은 발동하지 않습니다.
linuxrc.syno.log 파일을 분석한 결과 ds920+ 제미니레이크가 getty 모듈이 비정상적을 설치된것처럼 나왔습니다.
Running "install.sh" for cgetty->on_boot
geminilake
Loading FB and console modules...
insmod: can't insert 'i915.ko': No such file or directory
insmod: can't insert 'efifb.ko': No such file or directory
insmod: can't insert 'vesafb.ko': No such file or directory
insmod: can't insert 'vga16fb.ko': No such file or directory
Ran "install.sh" for cgetty->on_boot - exit=254
...
ERROR: Some of the scripts failed! See above for any with exit != 0
:: Executing "on_boot" custom scripts ... [ OK ]
Exit on error [99] rp ext init exec failure...
어제 한참 이 모듈을 정비하던 시점에 로더 빌드를 하신게 아닌가 싶습니다.
제가 지금 개발 다 끝난상태의 로더를 빌드 해보니 위 오류는 보이지 않습니다.
한번만 DDSML 모드로 다시 빌드해서 시험 부탁드립니다.
저 메시지만 사라지는지 다시 확인 부탁드립니다.
정상 메시지는 아래처럼 넘어갑니다.
Running "install.sh" for cgetty->on_boot
System is bootingextract cgetty.tgz to /usr/sbin/
geminilake
Loading FB and console modules...
Ran "install.sh" for cgetty->on_boot - exit=0
...
an "boot-wait.sh" for thethorgroup.boot-wait->on_boot - exit=0
:: Executing "on_boot" custom scripts ... [ OK ]
Extensions processed
Insert net driver(Mindspeed only)...
Starting /usr/syno/bin/synocfgen...
/usr/syno/bin/synocfgen returns 0
Insert synorbd kernel module
Insert synofsbd kernel module
Insert sha256 kernel module
Assemble args: -u 5a8b13d2:9086c5fb:3017a5a8:c86610be /dev/sata1p1 /dev/sata2p1
mdadm: /dev/md0 has been started with 2 drives (out of 16).
Partition Version=9
/sbin/e2fsck exists, checking /dev/md0...
e2fsck 1.44.1 (24-Mar-2018)
/sbin/e2fsck -yvf returns 0
Mounting /dev/md0 /tmpRoot
Exit on error [9] force_junior bootargs detected....
Tue Apr 11 01:50:35 UTC 2023
/dev/md0 /tmpRoot ext4 rw,relatime,prjquota,rootprjquota,data=ordered 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
정말 감사드립니다.
cmt alert