'2022/02/17'에 해당되는 글 4건

  1. 2022.02.17 webbios raid 설정.
  2. 2022.02.17 go hello world build static / shared
  3. 2022.02.17 wayvnc 실행 실패
  4. 2022.02.17 lsi raid sbr?
하드웨어/Storage2022. 2. 17. 22:49

정확하게는 raid는 아니고

한땀한땀 설정해서 추가한(bios 에서 도는거라 겁나 느림)

7개 하드에 대한 7개 가상 드라이브 설정.. -_ㅠ

 

집에 굴러다니는 하드 전부 때려박아 8bay중 7bay를 채움

용량작은 320GB짜리는 OS용으로 raid에 연결해 부팅가능설정하고 쓸지

sata에 물려서 부팅용으로 쓸지 조금 고민중.

 

저거 하나 추가하려면 클릭을 10번은 넘게 해주어야 했던 것 같은데 트랙볼이라 너무 빡셌음

'하드웨어 > Storage' 카테고리의 다른 글

intel SSD DC S3500 시리즈  (0) 2022.04.25
lsi cachecade  (0) 2022.02.18
lsi raid sbr?  (0) 2022.02.17
UHS-1 U3의 힘!  (0) 2022.01.20
uhs1 과 u1  (0) 2021.08.22
Posted by 구차니
Programming/golang2022. 2. 17. 18:26

 

$ vi hello.go
$ go build hello.go 
$ go run hello.go 
hello world

$ file hello
hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, with debug_info, not stripped

$ ldd hello
동적 실행 파일이 아닙니다

$ ls -alh
-rwxrwxr-x 1 minimonk minimonk 2.0M  2월 17 18:25 hello
-rw-rw-r-- 1 minimonk minimonk   73  2월 17 18:25 hello.go

[링크 : https://gobyexample.com/hello-world]

 

+

go install 부분을 sudo로 해서 그런가 go build도 sudo를 하지 않으면 안된다.

퍼미션 문제는 어떻게 해결할 수 있으려나...

 

$ go install -buildmode=shared std
$ sudo go build -linkshared hello.go
ls -alh
$ ls -alh
합계 32K
-rwxr-xr-x 1 root     root      20K  2월 17 18:28 hello
-rw-rw-r-- 1 minimonk minimonk   73  2월 17 18:25 hello.go

$ ldd hello
linux-vdso.so.1 (0x00007ffcfb5a4000)
libstd.so => /usr/lib/go-1.10/pkg/linux_amd64_dynlink/libstd.so (0x00007f2647852000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2647461000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f264725d000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f264703e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2649ee5000)

[링크 : https://stackoverflow.com/questions/19431296/building-and-linking-dynamically-from-a-go-binary]

 

+

2022.02.18

$ ls -alh /usr/lib/go-1.10/pkg/linux_amd64_dynlink/*so
-rw-r--r-- 1 root root 31M  2월 17 18:28 /usr/lib/go-1.10/pkg/linux_amd64_dynlink/libstd.so

$ ldd libstd.so 
linux-vdso.so.1 (0x00007ffcbe083000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f379ff4e000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f379fd2f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f379f93e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f37a25e1000)

'Programming > golang' 카테고리의 다른 글

golang gore(repl), delve  (0) 2022.03.31
go build 옵션  (0) 2022.03.31
go lang static http server  (0) 2022.03.10
go lang rest  (0) 2022.02.11
golang  (0) 2020.05.18
Posted by 구차니
프로그램 사용/wayland2022. 2. 17. 12:04

weston 에서 억지로 빌드해서 돌렸더니 에러 똬닥!

# ./wayvnc
wl_registry@2: error 0: invalid version for global zxdg_output_manager_v1 (4): have 2, wanted 3
ERROR: Virtual Pointer protocol not supported by compositor.
ERROR: Failed to initialise wayland

 

이제 보니.. wlroots 기반의 wayland compositor에서 돌아가는 녀석이었군..

About
A VNC server for wlroots based Wayland compositors

[링크 : https://github.com/any1/wayvnc]

 

freedesktop.org 에서 관리하는 녀석

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

[링크 : https://github.com/swaywm/wlroots]

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

weston debug message  (0) 2022.03.18
weston drm atomic  (0) 2022.03.17
wayland-scanner  (0) 2022.02.16
wayland wl_fixed_t 변수  (0) 2022.02.07
wayvnc  (0) 2022.01.24
Posted by 구차니
하드웨어/Storage2022. 2. 17. 11:32

LSI IT/IR mode 펌웨어 변경시 SBR을 백업하라고 해서 찾아보는데 약어를 알 수 없다.

시리얼이나 장치id 이런것 같긴한데..

 

SBR 백업

[링크 : https://blog.peremen.name/entry/2018/01/]

[링크 : https://www.wenyanet.com/opensource/ko/604ac1a77b860b24d92fe8c2.html]

 

Serial EEPROM (SBR)

[링크 : https://docs.broadcom.com/doc/12353225]

'하드웨어 > Storage' 카테고리의 다른 글

lsi cachecade  (0) 2022.02.18
webbios raid 설정.  (0) 2022.02.17
UHS-1 U3의 힘!  (0) 2022.01.20
uhs1 과 u1  (0) 2021.08.22
WWN  (0) 2020.11.02
Posted by 구차니