$ glances

  • 이만큼 되는 것도 신기하다.
  • gpu passthrough 는 어이 해야 하나.
  • io_mmu를 키긴 했는데 좀 더 연구를 해봐야 겠다.

 

  • reference
  • https://www.youtube.com/watch?v=UjDRq31wh6U
  • 다른 server의 directory를 mount 시키고 싶으다...
$ sudo apt install cifs-utils
$ sudo mkdir -p /mnt/temp
$ sudo mount -t cifs -o username=id,password=passwd,vers=2.0 //ip_addr/path /mnt/temp/
  • 잘 됨
  • ,vers=2.0을 안 넣으면 mount가 안된다. dmesg로 확인해 보면 vers=2.0 으로 넣으라고 나온다.

  • Server 에 USB FTDI device를 연결하여 잘 인식하는지 확인

  • Proxmox 설정에서 USB device를 guest 로 pass

  • Guest 에서 넘겨 받은 USB device를 잘 인식하는지 확인

  • Xorg 가 안 뜸
  • 해결방법
  1. 설치화면에서 디버그 모드로 부팅
  2. ctrl + d 눌러서 부팅 진행하며 파일시스템 마운트 시킴
  3. Xorg -configuration 명령어 입력
  4. 자동 생성된 xorg.conf sample을 /etc/X11 에 복사
  5. xorg.conf 를 열어 intel 로 되어 있는 드라이버 이름을 fbdev 로 변경
  6. ctrl + d 눌러서 부팅 진행
  7. Xorg 가 정상적으로 뜸

  • 처음에는 왜 timeout이 발생하는지 이해를 못했었는데... journalctl -xe 로 로그를 보니... 바보 같은 짓을 하고 있었다.
4월 29 19:06:18 ubuntu-server systemd[1]: dev-virtio\x2dports-org.qemu.guest_agent.0.device: Job dev-virtio\x2dports-org.qemu.guest_agent.0.device/start timed out.
 4월 29 19:06:18 ubuntu-server systemd[1]: Timed out waiting for device /dev/virtio-ports/org.qemu.guest_agent.0.
░░ Subject: A start job for unit dev-virtio\x2dports-org.qemu.guest_agent.0.device has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit dev-virtio\x2dports-org.qemu.guest_agent.0.device has finished with a failure.
░░
░░ The job identifier is 2418 and the job result is timeout.
 4월 29 19:06:18 ubuntu-server systemd[1]: Dependency failed for QEMU Guest Agent.
░░ Subject: A start job for unit qemu-guest-agent.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit qemu-guest-agent.service has finished with a failure.
░░
░░ The job identifier is 2344 and the job result is dependency.
 4월 29 19:06:18 ubuntu-server systemd[1]: qemu-guest-agent.service: Job qemu-guest-agent.service/start failed with result 'dependency'.
 4월 29 19:06:18 ubuntu-server systemd[1]: dev-virtio\x2dports-org.qemu.guest_agent.0.device: Job dev-virtio\x2dports-org.qemu.guest_agent.0.device/start failed with result 'timeout'.
 4월 29 19:06:18 ubuntu-server sudo[1893]: pam_unix(sudo:session): session closed for user root
  • Qemu guest Agent 를 Option 에서 켜 놨는지 확인해 보자.
  • timeout이 발생한 데에는 이유가 있는 것이었다.

 

  • Non GUI mode
sudo systemctl set-default multi-user.target

 

  • GUI mode
sudo systemctl set-default graphical.target

 

  • console로 접속하면 한글이 깨진다. 그냥 ssh 로 접속하자. fbterm 설치해서 실행해보면 다른 에러가 뜬다. 귀찮음.

한글이 깨지네...

+ Recent posts