[FreeBSD-users-jp 95373] Re: シリアル接続時にログインプロンプトが表示されない

Tetsuya Ito chaltier at agate.plala.or.jp
Tue Nov 25 15:33:41 UTC 2014


伊藤です。

> これは /etc/ttys を書き換える前のものですよね?
> 書き換えて kill -HUP 1 した後の結果はどうなっているでしょうか?

ttys を 3wire に修正した後の結果です。

# ps awl | grep getty
   0 1133    1   0  20  0 10124 1748 ttyin  Is+  u0  0:00.01 /usr/libexec/getty 3wire.9600 ttyu0
   0 1098    1   0  52  0 10124 1748 ttyin  Is+  v0  0:00.00 /usr/libexec/getty Pc ttyv0
   0 1099    1   0  52  0 10124 1748 ttyin  Is+  v1  0:00.00 /usr/libexec/getty Pc ttyv1
   0 1100    1   0  52  0 10124 1748 ttyin  Is+  v2  0:00.00 /usr/libexec/getty Pc ttyv2
   0 1101    1   0  52  0 10124 1748 ttyin  Is+  v3  0:00.00 /usr/libexec/getty Pc ttyv3
   0 1102    1   0  52  0 10124 1748 ttyin  Is+  v4  0:00.00 /usr/libexec/getty Pc ttyv4
   0 1103    1   0  52  0 10124 1748 ttyin  Is+  v5  0:00.00 /usr/libexec/getty Pc ttyv5
   0 1104    1   0  52  0 10124 1748 ttyin  Is+  v6  0:00.00 /usr/libexec/getty Pc ttyv6
   0 1105    1   0  52  0 10124 1748 ttyin  Is+  v7  0:00.00 /usr/libexec/getty Pc ttyv7

hint.uart.0.flags="0x110" 追加後の挙動変化ですが、変化無しです。
ログインプロンプトも表示されません。
というよりも、過去に実行できていた下記の動作も行えない状況となっています。
これは、hint.uart.0.flags="0x110" を消して再起動しても変わりません。

>  /etc/ttys を元に戻して、loader.conf の記述も消した状態で、
> 
> # tip com1
> 
>  を実行して、TeraTerm 側と FreeBSD 側の双方から文字入力をしてみて、
>  入力内容が他方に伝達することが確認できますか?

ですので、今の状況ですと、hint.uart.0.flags="0x110" が有効か確認できない
状況となっております。
まずは、tip com1 で双方向通信が可能である事を、確認しなければ
と思っています。

実行しても、

# tip com1
/dev/cuau0: Device busy
link down
# kill -HUP 1
# tip com1
link down

こんな感じの出力です。

ケーブルが断線しているのかと思い、loader.conf に、
boot_multicons="YES"
console="vidconsole,comconsole"
を、再度追加し再起動したところ、最初のデーモン君がでる画面での、
ブート方法の指定をシリアルコンソール側から可能な事と、
ブートシーケンスの出力は確認できています。

以上となります。


More information about the freebsd-users-jp mailing list