드레스룸 시스템행거 인테리어

반응형

sosreport

sosreport 리눅스 시스템의 트러블슈팅을 위한 정보 수집 도구이다.

시스템에 대한 디버깅 정보를 수집하고 /tmp에 압축파일을 생성한다.

(base) root@ubuntu:~/ckkim# sosreport

sosreport (version 3.5)

This command will collect system configuration and diagnostic
information from this Ubuntu system. An archive containing the collected
information will be generated in /tmp/sos.fbwq5231.

For more information on Ubuntu visit:

  http://www.ubuntu.com/

The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.

No changes will be made to system configuration.

Press ENTER to continue, or CTRL-C to quit.

Please enter your first initial and last name [ubuntu]:
Please enter the case id that you are generating this report for []:

 Setting up archive ...
 Setting up plugins ...
Not all environment variables set. Source the environment file for the user intended to connect to the OpenStack environment.
 Running plugins. Please wait ...

  Running 64/64: xfs...              .
Creating compressed archive...

Your sosreport has been generated and saved in:
  /tmp/sosreport-ubuntu-20200715041527.tar.xz

The checksum is: 23cfd133e74cc18a4f5b617a0c2653fe

Please send this file to your support representative.

 

묻는 질문에는 모두 enter로 가볍게 넘겨주면 된다. 

 

 

(base) root@ubuntu:/tmp# ls
sosreport-ubuntu-20200715041527.tar.xz      systemd-private-411fa8b5adc848c081da8cb795c80938-bolt.service-6gHdxa          systemd-private-411fa8b5adc848c081da8cb795c80938-rtkit-daemon.service-2axLWx
sosreport-ubuntu-20200715041527.tar.xz.md5  systemd-private-411fa8b5adc848c081da8cb795c80938-colord.service-tHRrEP        systemd-private-411fa8b5adc848c081da8cb795c80938-systemd-resolved.service-3dwSXw
ssh-L2p2apRx5p                              systemd-private-411fa8b5adc848c081da8cb795c80938-ModemManager.service-mBhkkN  systemd-private-411fa8b5adc848c081da8cb795c80938-systemd-timesyncd.service-DXHXVt
(base) root@ubuntu:/tmp# tar xvf sosreport-ubuntu-20200715041527.tar.xz
(base) root@ubuntu:/tmp# cd sosreport-ubuntu-20200715041527/
(base) root@ubuntu:/tmp/sosreport-ubuntu-20200715041527# ls
date  df         etc   hostname  installed-debs  java  lib          lsmod  lspci  netstat  ps      route  sos_commands  sos_reports  uname   usr  version.txt
dev   dmidecode  free  initctl   ip_addr         last  lsb-release  lsof   mount  proc     pstree  run    sos_logs      sys          uptime  var  vgdisplay

 

위와 같이 압축을 해제해 보면 아래와 같은 폴더 및 파일에 내 설정 상태 및 log들을 확인해 볼 수 있다.

 

 


 

nvidia-bug-report

nvidia gpu에 대한 log 전체적인 log를 추출한다.

nvidia driver설치를 하게 되면 nvidia-bug-report.sh이 어떠한 위치에서도 자동완성된다.

 

실행한 위치에 gzip파일로 로그를 생성한다.

 

(base) root@ubuntu:~/ckkim# nvidia-bug-report.sh

nvidia-bug-report.sh will now collect information about your
system and create the file 'nvidia-bug-report.log.gz' in the current
directory.  It may take several seconds to run.  In some
cases, it may hang trying to capture data generated dynamically
by the Linux kernel and/or the NVIDIA kernel module.  While
the bug report log file will be incomplete if this happens, it
may still contain enough data to diagnose your problem.

If nvidia-bug-report.sh hangs, consider running with the --safe-mode
and --extra-system-data command line arguments.

Please include the 'nvidia-bug-report.log.gz' log file when reporting
your bug via the NVIDIA Linux forum (see devtalk.nvidia.com)
or by sending email to 'linux-bugs@nvidia.com'.

By delivering 'nvidia-bug-report.log.gz' to NVIDIA, you acknowledge
and agree that personal information may inadvertently be included in
the output.  Notwithstanding the foregoing, NVIDIA will use the
output only for the purpose of investigating your reported issue.

Running nvidia-bug-report.sh... complete.
(base) root@ubuntu:~/ckkim# ls
bazel-0.24.1-installer-linux-x86_64.sh  cuda  cuda_10.0.130_410.48_linux.run  cudnn-10.0-linux-x64-v7.4.2.24.solitairetheme8  lsigetlinux_091218  lsigetlinux_latest.tgz  motd  nvidia-bug-report.log.gz
(base) root@ubuntu:~/ckkim# gzip -d nvidia-bug-report.log.gz
(base) root@ubuntu:~/ckkim# ls
bazel-0.24.1-installer-linux-x86_64.sh  cuda  cuda_10.0.130_410.48_linux.run  cudnn-10.0-linux-x64-v7.4.2.24.solitairetheme8  lsigetlinux_091218  lsigetlinux_latest.tgz  motd  nvidia-bug-report.log
Start of NVIDIA bug report log file.  Please include this file, along
with a detailed description of your problem, when reporting a graphics
driver bug via the NVIDIA Linux forum (see devtalk.nvidia.com)
or by sending email to 'linux-bugs@nvidia.com'.

nvidia-bug-report.sh Version: 27505028

Date: Wed Jul 15 04:26:59 EDT 2020
uname: Linux ubuntu 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
command line flags:

____________________________________________

*** /etc/issue
*** ls: -rw-r--r-- 1 root root 26 2018-07-23 15:42:04.000000000 -0400 /etc/issue
Ubuntu 18.04.1 LTS \n \l


____________________________________________

*** /etc/debian_version
*** ls: -rw-r--r-- 1 root root 11 2017-06-25 18:18:00.000000000 -0400 /etc/debian_version
buster/sid

____________________________________________

*** /var/log/nvidia-installer.log
*** ls: -rw-r--r-- 1 root root 30258 2020-07-08 03:35:43.182638087 -0400 /var/log/nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Jul  8 03:35:11 2020
installer version: 440.59

PATH: /root/anaconda3/bin:/root/anaconda3/condabin:/root/anaconda3/bin:/usr/local/cuda-10.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

nvidia-installer command line:
    ./nvidia-installer

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
-> Detected 20 CPUs online; setting concurrency level to 20.
-> Installing NVIDIA driver version 440.59.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Performing CC check.
-> Kernel source path: '/lib/modules/4.15.0-29-generic/build'
-> Kernel output path: '/lib/modules/4.15.0-29-generic/build'
-> Performing Compiler check.
-> Performing Dom0 check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Performing vgpu_kvm check.
-> The CC version check failed:

 

gzip을 풀어 보면 log파일이 하나 생성되고 굉장히 어려운 내용들이 나와있다.

cpu 및 mem, interrupts, lspci 등등....

아래쪽에는 nvidia query  log 도 확인할 수 있다. 

본인이 확인할 수 있다면 직접 빠르게 해도 좋지만 어렵고 정확하게 알고 싶다면

돈 주고 산 GPU 카드는 당당히 nvidia에 물어볼 수 있도록!!

 

 

 

 

반응형

이 글을 공유합시다

facebook twitter kakaoTalk kakaostory naver band