sourceforge.net의 linux-802-15-4 프로젝트 : USB 디바이스가 켜지자 마자 disconnect 되는 현상

mettakaruna의 이미지

1번 문제의 원인이 무엇인지.. 많은 답변 부탁드립니다~

1. USB 장치가 인식이 되고 주소까지 할당된다. 그러나 곧바로 그 연결이 끊기고 다시 새롭게 인식되고 주소할당이 된다.
2. 새롭게 주소할당이 된 후에 시스템이 다운되어 버린다. <아래는 시스템이 다운될 때 나오는 메시지 입니다.>
kernel BUG at sched.c:557!
Invalid opernand: 0000
<0>kernel panic: Attemped to kill the idle task!

RedHat 9의 2.4.26 커널 버전에서
Chipcon Zigbee Kit의 CC2420EB 보드의 디바이스 드라이버 소스를 구해 테스트중입니다.
아래는 디바이스 드라이버를 설치하고 디바이스를 USB로 연결했을 때 드라이버가 동작하는 과정인데요
드라이버 자체는 정상적으로 동작하는 것같습니다. probe()에서 disconnnect()까지 다 잘 실행되니까요..
1번 라인 전에는 디바이스 드라이버를 insmod한 메시지와 장치를 연결했을 때 probe부터 쭉 실행되는 과정이 나옵니다.
문제는 8번라인까지는 잘 실행되고 장치가 동작하기 시작한 이후에 곧바로 9번라인과 같이 USB 장치 연결이 끊기고
똑같은 장치가 12번라인과 같이 다시 USB 인식이 되는 겁니다.
그리고 잠시동안은 시스템에 아무 이상이 없다가 갑자기 시스템이 다운되어 버립니다.

1 kernel: cc2420-probe.c: Getting device configuration #0
2 kernel: cc2420-probe.c: FPGA image of 180252 bytes must be writen
3 kernel: cc2420-probe.c: Setup device
4 kernel: cc2420-probe.c: Resetting CPU
5 kernel: cc2420-probe.c: Resetting CPU
6 kernel: cc2420-probe.c: Load firmware
7 kernel: cc2420-probe.c: Check firmware
8 kernel: cc2420-probe.c: Running CPU
9 kernel: usb.c: USB disconnect on device 00:1d.0-2 address 3
10 kernel: usb-c2420eb.c: USB C2420EB #0 now disconnected
11 devlabel: devlabel service started/restarted
12 kernel: hub.c: new USB device 00:1d.0-2, assigned address 4

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.