ssh 연결시 네트워크 에러 발생 및 serial console 연결문제

noradiance의 이미지

SPARC machine에 linux-2.6.36을 올려 사용하고 있습니다.

그런데 serial console을 통해서 로그인을 할 수가 없습니다.

debian 4.0r8을 통해 설치한 kernel 2.6.18에서는 serial 연결을 통해서 바로 login prompt가 뜨는데
2.6.36을 통해서 booting할 경우 ssh connection으로 간신히 로그인을 할 수 있을 뿐 serial console에 login prompt가 뜨지 않습니다.
다른 링크를 통해서 /etc/inittab을 다 읽지 못해서 그렇다는 글을 보고

mr15:~# 
mr15:~# who -p
                      2010-11-27 13:58        806 id=l2
mr15:~# ps -ef | grep 806
root      806    1  0 13:58 ?        00:00:00 /bin/sh /etc/init.d/rc 2
root      808  806  0 13:58 ?        00:00:00 stty onlcr
root      870  861  0 13:59 pts/1    00:00:00 grep 806
mr15:~# kill -9 808

해보니 위와 같이 걸려있어서 /etc/inittab을 읽다가 걸린 부분을 "stty onlcr"을 종료함으로써 강제로 계속되게 했습니다.

root      699    2  0 13:58 ?        00:00:00 [kjournald]
root      845    1  0 13:58 ?        00:00:00 /usr/sbin/sshd
root      848    2  0 13:58 ?        00:00:00 [flush-8:0]
root      857  845  0 13:58 ?        00:00:00 sshd: root@pts/1
root      861  857  0 13:58 pts/1    00:00:00 -bash
root      877    1  0 14:00 ?        00:00:00 /sbin/syslogd
root      886    1  0 14:00 ?        00:00:00 /sbin/klogd -x
root      898    1  0 14:00 ?        00:00:00 /usr/sbin/inetd
daemon    906    1  0 14:00 ?        00:00:00 /usr/sbin/atd
root      926    1  0 14:00 ?        00:00:00 /usr/sbin/cron
root      946  845  0 14:00 ?        00:00:00 sshd: root@pts/0
root      951  861  0 14:00 pts/1    00:00:00 vi /var/log/messages
root      952    1  0 14:00 ttyS0    00:00:00 /sbin/getty -L ttyS0 9600 vt102
root      953  946  0 14:00 pts/0    00:00:00 -bash
root      958  953  0 14:00 pts/0    00:00:00 ps -ef
mr15:~#

결과로서 /sbin/getty가 뜨긴 했는데 login prompt는 여전히 뜨지 않고 있습니다.

그리고,

ssh connection에서도 문제가 있습니다^^;;;

사용할 때마다 아래와 같은 에러 메시지가 발생합니다.

eth0: hw csum failure. 또는 <unknown>:hw csum failure. 
Nov 27 14:00:42 mr15 kernel: [  239.191891] Call Trace:
Nov 27 14:00:42 mr15 kernel: [  239.193447]  [0000000000697078] tcp_v4_rcv+0x180/0x8e4
Nov 27 14:00:42 mr15 kernel: [  239.196720]  [00000000006792d4] ip_local_deliver_finish+0x120/0x218
Nov 27 14:00:42 mr15 kernel: [  239.200713]  [0000000000678e90] ip_rcv_finish+0x378/0x3a4
Nov 27 14:00:42 mr15 kernel: [  239.204149]  [000000000064fd68] __netif_receive_skb+0x520/0x548
Nov 27 14:00:42 mr15 kernel: [  239.207916]  [000000000064fe1c] process_backlog+0x8c/0x160
Nov 27 14:00:42 mr15 kernel: [  239.211406]  [0000000000651028] net_rx_action+0xa8/0x1a0
Nov 27 14:00:42 mr15 kernel: [  239.214786]  [000000000045ab68] __do_softirq+0x8c/0x11c
Nov 27 14:00:42 mr15 kernel: [  239.218108]  [0000000000429ea4] do_softirq+0x64/0x90
Nov 27 14:00:42 mr15 kernel: [  239.221269]  [0000000000429fc0] handler_irq+0xf0/0x10c
Nov 27 14:00:42 mr15 kernel: [  239.224539]  [00000000004208b4] tl0_irq5+0x14/0x20
Nov 27 14:00:42 mr15 kernel: [  239.227589]  [000000000042bd34] cpu_idle+0xf4/0x10c
Nov 27 14:00:42 mr15 kernel: [  239.230695]  [00000000007fe998] start_kernel+0x340/0x350
Nov 27 14:00:42 mr15 kernel: [  239.234079]  [00000000006ca77c] tlb_fixup_done+0x98/0xa0
Nov 27 14:00:42 mr15 kernel: [  239.237454]  [0000000000000000] (null)

이걸 없애는 방법이 없을까요?
구글링을 아무리 해봐도 답을 얻을 수가 없어 여쭤봅니다.

행복한 하루 되세요

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.