Skip to Content
문서참조하드웨어일반적인 드라이버 문제

일반적인 드라이버 문제

드라이버 문제 해결 워크플로

1단계: 하드웨어 식별

# Full hardware overview sudo lshw -short # PCI devices (graphics cards, network cards, sound cards, etc.) lspci -nn # USB devices lsusb # Detailed hardware report sudo lshw -html > hardware-report.html

2단계: 커널 로그 확인

# Current boot log sudo dmesg | less # Filter errors and warnings sudo dmesg --level=err,warn # Real-time monitoring (use when plugging in devices) sudo dmesg -w

3단계: 로드된 모듈 보기

# List all loaded kernel modules lsmod # View information about a specific module modinfo MODULE_NAME # View module dependencies modprobe --show-depends MODULE_NAME

우분투 드라이버 도구 사용

# Detect devices that need additional drivers sudo ubuntu-drivers devices # Automatically install recommended drivers sudo ubuntu-drivers autoinstall # Install a specific driver (use the version recommended by `ubuntu-drivers devices`, e.g. 580/590) sudo ubuntu-drivers install nvidia-driver-580

DKMS 드라이버 관리

DKMS(동적 커널 모듈 지원)는 커널 업데이트 후 타사 드라이버가 자동으로 다시 컴파일되도록 합니다.

# View DKMS-managed modules dkms status # Manually rebuild modules sudo dkms autoinstall # If a module fails to build sudo dkms remove MODULE_NAME/VERSION --all sudo dkms install MODULE_NAME/VERSION

일반적인 문제 및 해결 방법

커널 업데이트 후 드라이버 작동이 중지됨

# Check DKMS status dkms status # Ensure build tools are installed sudo apt install build-essential dkms linux-headers-$(uname -r) # Rebuild all DKMS modules sudo dkms autoinstall

드라이버 모듈이 블랙리스트에 등록되었습니다.

# Check blacklists grep -r "blacklist" /etc/modprobe.d/ # Temporarily load a blacklisted module sudo modprobe MODULE_NAME # Permanently remove blacklist entry sudo nano /etc/modprobe.d/blacklist.conf # Comment out the relevant line, then regenerate the initramfs (Ubuntu 26.04 uses Dracut by default): sudo dracut -f # On legacy initramfs-tools systems use instead: sudo update-initramfs -u

펌웨어 파일 누락

# Check for firmware missing warnings sudo dmesg | grep -i firmware # Install the full firmware package (all of Ubuntu's binary firmware lives in linux-firmware) sudo apt install linux-firmware
Note

Ubuntu에는 firmware-misc-nonfree과 같은 Debian의 분할 패키지가 없습니다. 필요한 모든 펌웨어는 linux-firmware에 번들로 제공됩니다. 26.04부터 linux-firmware는 더 미세한 공급업체별 하위 패키지로 분할되지만 우산 패키지를 설치하면 여전히 모든 펌웨어를 가져옵니다.

장치가 인식되지 않습니다

  1. 장치가 물리적으로 올바르게 연결되어 있는지 확인하세요.
  2. BIOS/UEFI에서 장치가 활성화되어 있는지 확인하십시오.
  3. 다른 USB 포트나 케이블을 사용해 보세요.
  4. 커널 버전을 업데이트합니다.
sudo apt install linux-generic-hwe-26.04

수동으로 드라이버 컴파일 및 설치

사전 구축된 드라이버 패키지를 사용할 수 없는 경우:

# Install build dependencies sudo apt install build-essential linux-headers-$(uname -r) git # Typical workflow git clone <DRIVER_REPOSITORY_URL> cd <DRIVER_DIRECTORY> make sudo make install sudo modprobe <MODULE_NAME> # Set up automatic loading at boot echo "MODULE_NAME" | sudo tee /etc/modules-load.d/MODULE_NAME.conf

이전 커널로 롤백

새 커널로 인해 하드웨어 문제가 발생하는 경우:

# View installed kernels dpkg --list | grep linux-image # Select an older kernel at the GRUB menu during boot # Hold Shift (BIOS) or Esc (UEFI) to enter the GRUB menu # Select "Advanced options for Ubuntu" > older kernel version # Pin a specific kernel version (use with caution) sudo apt-mark hold linux-image-7.x.x-xx-generic

하드웨어 진단 보고서 생성

커뮤니티에서 도움을 구할 때 다음 정보를 제공하십시오.

# Generate a complete hardware report sudo apt install inxi inxi -Fxxxz # Or use hw-probe sudo apt install hw-probe sudo hw-probe -all -upload

출력 링크는 귀하를 돕는 사람들과 직접 공유될 수 있습니다.