'2022/06'에 해당되는 글 52건

  1. 2022.06.30 광 케이블 DAC, AOC
  2. 2022.06.30 dmesg -w
  3. 2022.06.29 dmesg log_buf_len
  4. 2022.06.29 weston drm debug
  5. 2022.06.27 libwayland debug 메시지
  6. 2022.06.27 libwayland
  7. 2022.06.27 rufus - symbol 'grub_register_command_lockdown' not found
  8. 2022.06.27 페북이 시비를 걸어왔다(?) 4
  9. 2022.06.26 메인보드 사운드 카드 고장?
  10. 2022.06.25 6.25

'이론 관련 > 네트워크 관련' 카테고리의 다른 글

PAM4  (0) 2023.01.16
nrz encoding/decoding  (0) 2022.08.24
RS485 오실로스코프 파형  (0) 2021.11.04
EtherCAT - Ethernet for Control Automation Technology  (0) 2021.11.01
WiFi 프로토콜, cipher  (0) 2021.09.27
Posted by 구차니
Linux2022. 6. 30. 11:47

kernel 3.5.0 이후 지원하는 기능으로

tail -f 로 보듯 상시 감시가 가능하다.

 

[링크 : https://superuser.com/questions/289239/is-it-possible-to-tail-f-the-output-of-dmesg]

'Linux' 카테고리의 다른 글

리눅스 프로세스 숨기기  (0) 2022.08.31
uvcdynctrl  (0) 2022.07.06
dmesg log_buf_len  (0) 2022.06.29
bash set -e set -x  (0) 2022.06.22
linux cache clear  (0) 2022.02.11
Posted by 구차니
Linux2022. 6. 29. 18:04

에러 로그가 많이 쌓이면 초기 메시지가 사라지는데

그걸 방지하기 위해 dmesg가 저장될 용량을 늘릴수 있다고 한다.

[링크 : https://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re07.html]

 

다만, 커널 인자인 만큼 grub나 uboot 등에서 설정해주어야 하는 함정이..

systemd.log_level=debug systemd.log_target=kmsg log_buf_len=15M

[링크 : https://www.thegeeksearch.com/how-to-increase-dmesg-log-size-to-capture-more-verbose-booting-logs-in-centos-rhel-7/]

'Linux' 카테고리의 다른 글

uvcdynctrl  (0) 2022.07.06
dmesg -w  (0) 2022.06.30
bash set -e set -x  (0) 2022.06.22
linux cache clear  (0) 2022.02.11
sort 컬럼 별 정렬하기  (0) 2022.02.08
Posted by 구차니
프로그램 사용/wayland2022. 6. 29. 18:02

 

# echo 0x3 > /sys/module/drm/parameters/debug

[링크 : https://lynxbee.com/how-to-enable-drm-driver-debug-logging-in-linux/#.YrwTKHZBxhE]

 

dmesg 에서 확인이 가능한데.. 0x3 만 해도 dmesg를 넘기는지 금세 라인수 초과..

[28951.482225] [drm:drm_ioctl] comm="weston" pid=1707, dev=0xe201, auth=1, DRM_IOCTL_GET_MAGIC
[28951.482235] [drm:drm_getmagic] 1
[28951.482244] [drm:drm_ioctl] comm="weston" pid=1707, dev=0xe201, auth=1, DRM_IOCTL_AUTH_MAGIC
[28951.482250] [drm:drm_authmagic] 1
[28951.482255] [drm:drm_ioctl] comm="weston", pid=1707, ret=-22
[28951.482263] [drm:drm_ioctl] comm="weston" pid=1707, dev=0xe201, auth=1, DRM_IOCTL_SET_MASTER
[28951.482281] [drm:drm_ioctl] comm="weston" pid=1707, dev=0xe201, auth=1, DRM_IOCTL_MODE_ATOMIC
[28951.482300] [drm:drm_mode_object_get] OBJ ID: 44 (2)
[28951.482308] [drm:drm_mode_object_get] OBJ ID: 46 (2)
[28951.482316] [drm:drm_mode_object_get] OBJ ID: 45 (3)
[28951.482320] [drm:drm_mode_object_put.part.0] OBJ ID: 44 (3)
[28951.482325] [drm:drm_mode_object_put.part.0] OBJ ID: 45 (4)
[28951.482329] [drm:drm_mode_object_put.part.0] OBJ ID: 45 (3)
[28951.482339] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (5)
[28951.482344] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (4)
[28951.482354] [drm:drm_mode_object_get] OBJ ID: 39 (4)
[28951.482358] [drm:drm_mode_object_get] OBJ ID: 39 (5)
[28951.482363] [drm:drm_mode_object_put.part.0] OBJ ID: 39 (6)
[28951.482425] imx-drm display-subsystem: [drm:drm_calc_timestamping_constants] crtc 33: hwmode: htotal 1344, vtotal 806, vdisplay 768
[28951.482433] imx-drm display-subsystem: [drm:drm_calc_timestamping_constants] crtc 33: clock 65000 kHz framedur 16665600 linedur 20676
[28951.485362] imx-drm display-subsystem: [drm:drm_handle_vblank] vblank event on 396086, current 396086
[28951.485368] [drm:drm_mode_object_put.part.0] OBJ ID: 40 (4)
[28951.485379] [drm:drm_mode_object_put.part.0] OBJ ID: 40 (3)
[28951.485385] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (3)
[28951.485394] [drm:drm_mode_object_put.part.0] OBJ ID: 43 (2)

'프로그램 사용 > wayland' 카테고리의 다른 글

capture drm screen  (0) 2022.08.08
weston redraw 취소하기  (0) 2022.07.07
libwayland debug 메시지  (0) 2022.06.27
libwayland  (0) 2022.06.27
weston desktop-shell output destory  (0) 2022.06.08
Posted by 구차니
프로그램 사용/wayland2022. 6. 27. 17:24

export WAYLAND_DEBUG=1 하면 libwayland*.so 들의 디버그 메시지가 출력되는데

대~~~애충 아래와 같은 포맷

[1492172.627] wl_surface@17.leave(wl_output@16)
[1492172.707]  -> wl_surface@17.set_buffer_scale(1)
[1492172.745]  -> wl_surface@17.frame(new id wl_callback@27)
[1492192.837]  -> wl_surface@17.attach(wl_buffer@26, 0, 0)
[1492192.934]  -> wl_surface@17.damage(0, 0, 806, 606)
[1492192.973]  -> wl_surface@17.commit()
[1492208.877] wl_display@1.delete_id(27)
[1492208.938] wl_buffer@26.release()
[1492208.957] wl_callback@27.done(22885913)

 

send와 discard는 상위에서 보내주는 대로 설정되는거고, 해당 내용에 따라 출력이 되는 듯.

@00 식으로 나오는건 인자에 따라 출력되는 값인데.. 함수 인자가 어떤걸 의미하는진 따로 찾아봐야 할 듯..

void wl_closure_print(struct wl_closure *closure, struct wl_object *target,
 int send, int discarded, uint32_t (*n_parse)(union wl_argument *arg))
{
// ...
fprintf(f, "[%7u.%03u] %s%s%s@%u.%s(",
time / 1000, time % 1000,
discarded ? "discarded " : "",
send ? " -> " : "",
target->interface->name, target->id,
closure->message->name);

[링크 : https://gitlab.freedesktop.org/wayland/wayland/-/blob/main/src/connection.c#L1286]

[링크 : https://gitlab.freedesktop.org/wayland/wayland]

'프로그램 사용 > wayland' 카테고리의 다른 글

weston redraw 취소하기  (0) 2022.07.07
weston drm debug  (0) 2022.06.29
libwayland  (0) 2022.06.27
weston desktop-shell output destory  (0) 2022.06.08
weston debug message  (0) 2022.03.18
Posted by 구차니
프로그램 사용/wayland2022. 6. 27. 17:07

도대체.. 넌 또 머냐 -_-

 

[링크 : https://gitlab.freedesktop.org/wayland/wayland]

 

wayland_debug 라고 했듯.. libwayland의  디버깅이지 weston의 디버깅이 아니었나..

To get the logs of the wayland protocol messages, set this environment variable:

 export WAYLAND_DEBUG=1

[링크 : https://wiki.st.com/stm32mpu/wiki/How_to_debug_Weston]

'프로그램 사용 > wayland' 카테고리의 다른 글

weston drm debug  (0) 2022.06.29
libwayland debug 메시지  (0) 2022.06.27
weston desktop-shell output destory  (0) 2022.06.08
weston debug message  (0) 2022.03.18
weston drm atomic  (0) 2022.03.17
Posted by 구차니
파일방2022. 6. 27. 12:11

3.13p 버전을 사용중이었는데

ubuntu 21.10 을 설치용 USB로 만드려고 했더니

아래와 같이 grub 에서 ubuntu로 부팅하려고 하면 에러가 발생했다.

error: symbol 'grub_register_command_lockdown' not found

Press any key to continue...

 

간단하게는.. rufus 버전을 3.14 이후 버전으로 하라고..

Short answer:
  • If using Rufus, you will need to download Rufus 3.14 or later to create your media, which you can download here.
  • If installing your own GRUB bootloader, you need to apply this patch on top of the GRUB 2.04 source, so that the missing symbol is defined.

[링크 : https://askubuntu.com/questions/1333512]

'파일방' 카테고리의 다른 글

fsn (fusion) - file system navigator  (0) 2022.08.26
tsdb influxdb  (0) 2022.07.05
codesys  (0) 2022.05.18
debian noroot 와 userland  (0) 2022.05.02
ansi to html  (0) 2022.03.31
Posted by 구차니

오랫만에 메일을 확인하는데 페북에서 그런걸 보냈다.

Posted by 구차니
개소리 왈왈/컴퓨터2022. 6. 26. 07:42

싸게 산 녀석이었나 얻은 녀석인가..

CM108  이라는 칩셋을 사용하는 것 같은데 이걸 사용하니 스테레오 밖에 안되지만 일단 끊어지진 않는 듯.

확실히 내장 사운드가 무언가 문제가 생기긴 한 듯..

 

[링크 : https://pdf1.alldatasheet.co.kr/datasheet-pdf/view/158786/CMEDIA/CM108.html]

[링크 : https://devicehunt.com/view/type/usb/vendor/0D8C]

Posted by 구차니

원래 조기 계양하던 날이 아니었나?

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

정수기 필터 구매  (0) 2022.07.06
보일러 고장  (0) 2022.07.01
어머니 생신  (0) 2022.06.25
일정 끝  (0) 2022.06.05
빛나는 배드민턴 공  (0) 2022.06.01
Posted by 구차니