NETLINK

NETLINK

NETLINK 로그

커널과 사용자 공간 사이 netlink 호환 채널, 이벤트와 응답 전송에 해당하는 로그를 현재 코드 기준으로 정리합니다.

분류 상수: BSR_LC_NETLINK

이 카테고리에서 확인할 사항

  • 출력 맥락: 커널과 사용자 공간 사이 netlink 호환 채널, 이벤트와 응답 전송

  • 우선 점검: socket/W​​SK 상태, request/response 크기, event sequence, 오류 코드와 사용자 도구 상태

  • 플랫폼 분기: 같은 인덱스가 여러 행이면 Linux/Windows, 호환성 또는 실행 조건에 따른 메시지 변형입니다.

로그 목록

로그 인덱스

로그 수준

현재 코드 메시지

상세 의미 및 영향

비고

코드 위치

로그 인덱스

로그 수준

현재 코드 메시지

상세 의미 및 영향

비고

코드 위치

1

err

Failed to send event(notification) %d size, socket(0x%x)

전체 이벤트 알림 전송을 실패했습니다.

  •  

bsr/bsr-kernel-compat/windows/netlink.c:213

2

warn

Failed to get the state of all objects. err(%d)

수신한 netlink 명령에 대한 모든 개체의 상태를 가져오지 못했습니다 cli 명령이 실패합니다.

로그에 출력 된 err 확인이 필요합니다.

bsr/bsr-kernel-compat/windows/netlink.c:258

3

warn

Failed to local send. status(0x%x) socket(%p) data(%p) size=%d

수신한 netlink 명령에 대한 응답 전송을 실패했습니다.

로그에 출력 된 status 확인이 필요합니다.

bsr/bsr-kernel-compat/windows/netlink.c:288

5

err

Failed to netlink socket initialization due to failure to init wsk. status(0x%x)

wsk 초기화 실패로 netlink 초기화를 실패했습니다. cli 명령이 실패합니다.

로그에 출력 된 status 확인이 필요합니다.

bsr/bsr-kernel-compat/windows/netlink.c:385

6

info

Start server netlink

netlink 서버를 시작합니다.

  •  

bsr/bsr-kernel-compat/windows/netlink.c:395

8

err

Failed to netlink socket initialization due to failure to create event socket

이벤트 소켓 생성 실패로 netlink 초기화를 실패했습니다. cli 명령이 실패합니다.

  •  

bsr/bsr-kernel-compat/windows/netlink.c:410

9

err

Failed to netlink socket initialization due to failure to bind. status(0x%x)

bind 실패로 netlink 초기화를 실패했습니다. cli 명령이 실패합니다.

로그에 출력 된 status 확인이 필요합니다.

bsr/bsr-kernel-compat/windows/netlink.c:422

10

info

w_connect:

  •  

  •  

bsr/bsr-kernel-compat/windows/netlink.c:471

11

info

w_connect:KeWaitForSingleObject timeout

  •  

  •  

bsr/bsr-kernel-compat/windows/netlink.c:475

12

err

Failed to get object information within the specified number of times. count(%d)

지정된 횟수(512) 내에 개체 정보를 모두 가져오지 못했습니다. cli 명령이 정상적으로 실행되지 않을 수 있습니다.

  •  

bsr/bsr-kernel-compat/windows/netlink.c:508

15

err

Netlink thread clean up due to failure to receive. status(0x%x)

netlink 수신을 실패했습니다. cli 명령이 실패합니다.

로그에 출력 된 status 확인이 필요합니다.

bsr/bsr-kernel-compat/windows/netlink.c:567

16

err

Netlink thread clean up due to failure to allocate %d size memory for genl informaiton

netlink 수신 명령을 저장하기 위한 genl 할당을 실패했습니다. cli 명령이 실패합니다.

  •  

bsr/bsr-kernel-compat/windows/netlink.c:608

17

err

Netlink thread clean up due to not match message. read count(%d)

수신 데이터 형식이 일치하지 않아 netlink callback을 종료합니다. cli 명령이 실패합니다.

  •  

bsr/bsr-kernel-compat/windows/netlink.c:614

18

info

%s:%u command has been received. Execute the command.

netlink 명령을 실행합니다.

로그에 출력 된 netlink 명령을 실행합니다.

bsr/bsr_nl.c:274 bsr/bsr_nl.c:276

19

err

command failed while operating. cmd(%u), error(%d)

netlink 명령 처리 중 오류가 발생했습니다. cli 명령이 실패합니다.

로그에 출력 된 cmd, error 확인이 필요합니다.

bsr/bsr-kernel-compat/windows/netlink.c:685

20

info

%s:%u command execution done. (pending command:%d)

netlink 명령을 실행했습니다.

로그에 출력 된 netlink 명령을 실행햇습니다.

bsr/bsr_nl.c:299 bsr/bsr_nl.c:301

21

info

Cannot execute command %s:%u because mutex is not returned and cannot be acquired. status(0x%x)

mutex 획득 실패로 netlink 명령 실행을 실패했습니다.

로그에 출력 된 status 확인이 필요합니다.

bsr/bsr-kernel-compat/windows/netlink.c:692

22

info

Command %d is a non-existent command.

존재하지 않는 netlink 명령입니다.

  •  

bsr/bsr-kernel-compat/windows/netlink.c:696

23

err

Netlink thread terminate due to error occurrence thread:%p, count(%d)

netlink 동작 중 오류가 발생했었습니다. cli 명령이 실패합니다.

  •  

bsr/bsr-kernel-compat/windows/netlink.c:722

25

warn

Unrecognizable netlink command arrives and doesn't process...

인식할 수 없는 netlink 명령이 수신 되었습니다. cli 명령이 실패합니다.

  •  

bsr/bsr-kernel-compat/windows/netlink.c:594

26

warn

Resource suspended, minor(%d)

중지 된 리소스에 대한 netlink 명령이 수신 되었습니다. cli 명령이 실패합니다.

  •  

bsr/bsr-kernel-compat/windows/netlink.c:628

27

debug

NetlinkWorkThread:%p begin...accept socket:%p remote port:%d

  •  

  •  

bsr/bsr-kernel-compat/windows/netlink.c:541

28

debug

Receive done...

  •  

  •  

bsr/bsr-kernel-compat/windows/netlink.c:564

29

debug

BSR_EVENT_SOCKET_STRING received. socket(0x%p)

  •  

  •  

bsr/bsr-kernel-compat/windows/netlink.c:576

30

debug

rx(%d), len(%d), flags(0x%x), type(0x%x), seq(%d), magic(%x)

  •  

  •  

bsr/bsr-kernel-compat/windows/netlink.c:595

31

debug

rx readcount(%d), headerlen(%d), cmd(%d), flags(0x%x), type(0x%x), seq(%d), magic(%x)

  •  

  •  

bsr/bsr-kernel-compat/windows/netlink.c:618

32

debug

bsr netlink cmd(%s:%u) begin ->

  •  

  •  

bsr/bsr_nl.c:267 bsr/bsr_nl.c:269

33

debug

bsr netlink cmd(%s:%u) done (cmd_pending:%d) <-

  •  

  •  

bsr/bsr_nl.c:292 bsr/bsr_nl.c:294

34

debug

NetlinkWorkThread:%p done...

  •  

  •  

bsr/bsr-kernel-compat/windows/netlink.c:724

35

debug

%u.%u.%u.%u:%u -> %u.%u.%u.%u:%u connected

  •  

  •  

bsr/bsr-kernel-compat/windows/netlink.c:764

36

debug

External connection attempt was made and blocked.

  •  

  •  

bsr/bsr-kernel-compat/windows/netlink.c:778

공통 진단 순서

  1. 로그 수준과 최초 발생 시점을 기준으로 오류·경고 이전의 정상 상태를 확인합니다.

  2. 메시지의 객체, node/minor, sector/size, state와 오류 코드를 같은 시각의 로그와 연결합니다.

  3. socket/W​​SK 상태, request/response 크기, event sequence, 오류 코드와 사용자 도구 상태를 대조해 직접 실패 지점과 후속 영향 범위를 구분합니다.

  4. 후속 성공·완료·상태 전이 로그가 없거나 같은 인덱스가 반복되면 관련 코드 위치와 플랫폼 분기를 확인합니다.