질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

BusID가 뭐죠?? 궁금해요

작성자 정보

  • 김흥수 작성
  • 작성일

컨텐츠 정보

본문

BusID는 pci장치를 운영체제(리눅스 커널)에서 각 PCI장치를인식하기 위한 번호라고 생각하시면 됩니다.

이런 장치들의 번호가 /proc/pci파일에 지정되어 있지요.

님의 경우는 찾으려고 하는 장치의 BusID가 없어서 그렇다는 것인데 설정을 해주시면 됩니다.  /proc/pci의 예는 다음과 같습니다.

[root@command proc]# cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: ServerWorks CNB20LE Host Bridge (rev 6).
      Master Capable.  Latency=32. 
  Bus  0, device   0, function  1:
    Host bridge: ServerWorks CNB20LE Host Bridge (#2) (rev 6).
      Master Capable.  Latency=32. 
  Bus  0, device  11, function  0:
    Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 8).
      IRQ 17.
      Master Capable.  Latency=32.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0x43200000 [0x43200fff].
      I/O at 0x3800 [0x383f].
      Non-prefetchable 32 bit memory at 0x43300000 [0x433fffff].
  Bus  0, device  12, function  0:
    Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (#2) (rev 8).
      IRQ 26.
      Master Capable.  Latency=32.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0x41100000 [0x41100fff].
      I/O at 0x3000 [0x303f].
      Non-prefetchable 32 bit memory at 0x41200000 [0x412fffff].
  Bus  0, device  13, function  0:
    VGA compatible controller: ATI Technologies Inc Rage XL (rev 39).
      IRQ 16.
      Master Capable.  Latency=32.  Min Gnt=8.
      Non-prefetchable 32 bit memory at 0x42000000 [0x42ffffff].
      I/O at 0x3400 [0x34ff].
      Non-prefetchable 32 bit memory at 0x41700000 [0x41700fff].
  Bus  0, device  15, function  0:
    ISA bridge: ServerWorks OSB4 South Bridge (rev 80).
  Bus  0, device  15, function  1:
    IDE interface: ServerWorks OSB4 IDE Controller (rev 0).
      Master Capable.  Latency=64. 
      I/O at 0x3080 [0x308f].
  Bus  1, device   3, function  0:
    SCSI storage controller: Adaptec AIC-7899P U160/m (rev 1).
      IRQ 19.
      Master Capable.  Latency=32.  Min Gnt=40.Max Lat=25.
      I/O at 0x5000 [0x50ff].
      Non-prefetchable 64 bit memory at 0x43a00000 [0x43a00fff].
  Bus  1, device   3, function  1:
    SCSI storage controller: Adaptec AIC-7899P U160/m (#2) (rev 1).
      IRQ 18.
      Master Capable.  Latency=32.  Min Gnt=40.Max Lat=25.
      I/O at 0x5400 [0x54ff].
      Non-prefetchable 64 bit memory at 0x43a01000 [0x43a01fff].
[root@command proc]#

 

위에 보시면 Bus번호가 나오지요 그뒤에 그 번호에 할당되어 있는 장치번호화 function번호가 있습니다. 이것들이 각 장치를 유일하게 구분해주는 것이지요.

그리고 참고로 busid를 추가하는 양식은 다음과 같습니다.

BusID      "PCI:1:0:0"

감사합니다

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,034 명
  • 현재 강좌수 :  35,789 개
  • 현재 접속자 :  271 명