Debian 11 Stable
KDE Plasma 5.20.5
Cerca de uma vez por dia meu sistema está travando. Anotei no papel quais parecem ser os erros mais pertinentes:
[83262.955525] systemd-journal [301]: failed to write entry (22 items, 747 bytes),
ignoring: Read-only file system
EXT-FS Error (device sda1) __ext4_find_entry:1534 inode #1573987:
com gmain: reading directory lblock 0
Achei essa foto aqui :
Isso é quase exatamente como minha tela fica durante as falhas.
Unidades e partições:
Drives: Local Storage: total: 1.38 TiB used: 853.2 GiB (60.6%)
ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
ID-2: /dev/sdb vendor: Samsung model: SSD 850 PRO 512GB size: 476.94 GiB
Partition: ID-1: / size: 45.53 GiB used: 8.3 GiB (18.2%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 869.04 GiB used: 755.96 GiB (87.0%) fs: ext4 dev: /dev/sda3
Swap: ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%) dev: /dev/sda5
Eu não tentei instalar nenhum driver proprietário nesta instalação. Eu uso este computador para o trabalho, e o desempenho do driver não proprietário parece adequado para minhas necessidades de trabalho (a menos que eles sejam de alguma forma necessários para interromper essas falhas).
Os únicos erros que vejo no arquivo de log são relacionados ao firmware, que eu achava que nem precisava com o debian:
[ 0.101567] DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x00000000bdeac000-0x00000000bdecbfff], contact BIOS vendor for fixes
[ 0.101697] DMAR: [Firmware Bug]: Your BIOS is broken; bad RMRR [0x00000000bdeac000-0x00000000bdecbfff]
BIOS vendor: Hewlett-Packard; Ver: F.25; Product Version: 0499220000241210001040000
[ 0.237433] core: CPUID marked event: 'bus cycles' unavailable
[ 0.244065] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[ 0.245624] #5 #6 #7
[ 0.266653] mtrr: your CPUs had inconsistent variable MTRR settings
[ 1.889198] [Firmware Bug]: Invalid critical threshold (0)
[ 2.306443] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20200925/utaddress-204)
[ 2.306458] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200925/utaddress-204)
[ 2.306467] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200925/utaddress-204)
[ 2.306476] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200925/utaddress-204)
[ 2.306484] lpc_ich: Resource conflict(s) found affecting gpio_ich
[ 2.354733] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 2.740251] nouveau 0000:01:00.0: bios: OOB 1 015f1901 015f1901
[ 2.764763] ata5.00: supports DRM functions and may not be fully accessible
[ 2.765804] ata1.00: supports DRM functions and may not be fully accessible
[ 2.768822] ata1.00: supports DRM functions and may not be fully accessible
[ 2.776029] ata5.00: supports DRM functions and may not be fully accessible
[ 5.256428] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[ 5.599321] systemd-journald[301]: File /var/log/journal/e60bce5c0cc141a5b1ca070182b03357/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 5.631756] i801_smbus 0000:00:1f.3: BIOS is accessing SMBus registers
[ 5.631758] i801_smbus 0000:00:1f.3: Driver SMBus register access inhibited
[ 5.711693] at24 0-0050: supply vcc not found, using dummy regulator
[ 5.765689] rc rc0: nonsensical timing event of duration 0
[ 5.765692] rc rc0: two consecutive events of type space
[ 5.895968] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 5.900275] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-6000-4.ucode (-2)
[ 5.900277] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 5.900279] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-6000-4.ucode failed with error -2
[ 5.900284] iwlwifi 0000:02:00.0: iwlwifi-6000-4 is required
[ 5.900286] iwlwifi 0000:02:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
[ 6.136626] kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround
[ 6.765931] r8169 0000:03:00.0: firmware: failed to load rtl_nic/rtl8168d-2.fw (-2)
[ 6.766420] r8169 0000:03:00.0: Direct firmware load for rtl_nic/rtl8168d-2.fw failed with error -2
[ 6.766425] r8169 0000:03:00.0: Unable to load firmware rtl_nic/rtl8168d-2.fw (-2)
[ 7.019228] L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html for details.
[ 7.020441] kvm: KVM_SET_TSS_ADDR need to be called before entering vcpu
[ 20.142355] systemd-journald[301]: File /var/log/journal/e60bce5c0cc141a5b1ca070182b03357/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 24.444130] nouveau 0000:01:00.0: firmware: failed to load nouveau/nva5_fuc084 (-2)
[ 24.444136] nouveau 0000:01:00.0: Direct firmware load for nouveau/nva5_fuc084 failed with error -2
[ 24.444149] nouveau 0000:01:00.0: firmware: failed to load nouveau/nva5_fuc084d (-2)
[ 24.444151] nouveau 0000:01:00.0: Direct firmware load for nouveau/nva5_fuc084d failed with error -2
[ 24.444154] nouveau 0000:01:00.0: msvld: unable to load firmware data
[ 24.444157] nouveau 0000:01:00.0: msvld: init failed, -19
[ 24.505830] CE: hpet5 increased min_delta_ns to 20115 nsec
[ 25.499297] CE: hpet6 increased min_delta_ns to 20115 nsec
[ 34.557568] hrtimer: interrupt took 14722 ns
[ 2760.299762] CE: hpet3 increased min_delta_ns to 20115 nsec
[ 2979.256577] CE: hpet increased min_delta_ns to 20115 nsec
[ 3050.545325] show_signal_msg: 19 callbacks suppressed
[ 3053.040108] CE: hpet7 increased min_delta_ns to 20115 nsec
[ 5509.560255] CE: hpet4 increased min_delta_ns to 20115 nsec
Os drivers gratuitos geralmente são estáveis? Segue minha placa de vídeo:
lspci -vnn | grep -A12 'VGA\|Display'
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT216M [GeForce GT 230M] [10de:0a28] (rev a2) (prog-if 00 [VGA controller])
DeviceName: NVIDIA Video Graphics Controller
Subsystem: Hewlett-Packard Company GT216M [GeForce GT 230M] [103c:7001]
Flags: bus master, fast devsel, latency 0, IRQ 33, IOMMU group 16
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 6000 [size=128]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nouveau
Eu não sou bom em determinar a causa exata dessas falhas. Qualquer conselho é apreciado.
Isso parece algo que eu possa consertar? Se sim, como?
Atualizar
Na LinuxSecurityFreak
resposta de , ele sugeriu forçar o reparo do fsck na reinicialização. Eu encontrei isso no log de inicialização depois de fazer isso:
cat /var/log/boot.log
------------ Tue Dec 07 06:01:46 CST 2021 ------------
/dev/sda1: recovering journal
/dev/sda1: Clearing orphaned inode 1966113 (uid=1000, gid=1000, mode=0100600, size=3538944)
/dev/sda1: Clearing orphaned inode 1966101 (uid=1000, gid=1000, mode=0100600, size=9830400)
/dev/sda1: Clearing orphaned inode 2802080 (uid=0, gid=0, mode=0100644, size=71592)
/dev/sda1: Clearing orphaned inode 2802077 (uid=0, gid=0, mode=0100644, size=917632)
/dev/sda1: Clearing orphaned inode 2802076 (uid=0, gid=0, mode=0100644, size=191416)
/dev/sda1: Clearing orphaned inode 2802075 (uid=0, gid=0, mode=0100644, size=190368)
/dev/sda1: Clearing orphaned inode 2802073 (uid=0, gid=0, mode=0100644, size=34728)
/dev/sda1: Clearing orphaned inode 2802071 (uid=0, gid=0, mode=0100644, size=18352)
/dev/sda1: Clearing orphaned inode 2802069 (uid=0, gid=0, mode=0100644, size=18352)
/dev/sda1: Clearing orphaned inode 2802067 (uid=0, gid=0, mode=0100644, size=14256)
/dev/sda1: Clearing orphaned inode 2802065 (uid=0, gid=0, mode=0100644, size=14256)
/dev/sda1: Clearing orphaned inode 2802063 (uid=0, gid=0, mode=0100644, size=22448)
/dev/sda1: Clearing orphaned inode 2802061 (uid=0, gid=0, mode=0100644, size=14256)
/dev/sda1: Clearing orphaned inode 2802059 (uid=0, gid=0, mode=0100644, size=14328)
/dev/sda1: Clearing orphaned inode 2802057 (uid=0, gid=0, mode=0100644, size=14256)
/dev/sda1: clean, 255277/3055616 files, 2444203/12206848 blocks
------------ Tue Dec 07 07:08:18 CST 2021 ------------
e2fsck 1.46.2 (28-Feb-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 255255/3055616 files (0.1% non-contiguous), 2446557/12206848 blocks
Atualização 2
O BIOS foi o mais recente que encontrei no site da HP (Hewlett-Packard v: F.25). O pode ser um BIOS posterior , mas não tenho certeza se posso confiar nessa fonte.
inxi -Fx
System: Host: sidekick Kernel: 5.10.0-9-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
Desktop: KDE Plasma 5.20.5 Distro: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: Hewlett-Packard product: HP Pavilion dv8 Notebook PC
v: 0499220000241210001040000 serial: CNF02839BM
Mobo: Hewlett-Packard model: 7001 v: 35.35 serial: CNF02839BM BIOS: Hewlett-Packard v: F.25
date: 05/31/2010
Battery: ID-1: BAT0 charge: 0% condition: 93.1/365.8 Wh (25%) model: Hewlett-Packard Primary status: Unknown
CPU: Info: Quad Core model: Intel Core i7 Q 740 bits: 64 type: MT MCP arch: Nehalem rev: 5 L2 cache: 6 MiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 27668
Speed: 931 MHz min/max: 933/1734 MHz boost: enabled Core speeds (MHz): 1: 931 2: 931 3: 931 4: 931
5: 931 6: 931 7: 931 8: 931
Graphics: Device-1: NVIDIA GT216M [GeForce GT 230M] vendor: Hewlett-Packard driver: nouveau v: kernel
bus ID: 01:00.0
Device-2: Quanta HP Webcam type: USB driver: uvcvideo bus ID: 2-1.5:5
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa resolution:
1: 1920x1080~60Hz 2: 1920x1080~60Hz
OpenGL: renderer: NVA5 v: 3.3 Mesa 20.3.5 direct render: Yes
Audio: Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 00:1b.0
Device-2: NVIDIA GT216 HDMI Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus ID: 01:00.1
Sound Server: ALSA v: k5.10.0-9-amd64
Network: Device-1: Intel Centrino Advanced-N 6200 driver: N/A port: 6000 bus ID: 02:00.0
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard
driver: r8169 v: kernel port: 4000 bus ID: 03:00.0
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: c8:0a:a9:eb:14:ba
Drives: Local Storage: total: 1.38 TiB used: 853.2 GiB (60.6%)
ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
ID-2: /dev/sdb vendor: Samsung model: SSD 850 PRO 512GB size: 476.94 GiB
Partition: ID-1: / size: 45.53 GiB used: 8.3 GiB (18.2%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 869.04 GiB used: 755.96 GiB (87.0%) fs: ext4 dev: /dev/sda3
Swap: ID-1: swap-1 type: partition size: 976 MiB used: 0 KiB (0.0%) dev: /dev/sda5
Sensors: System Temperatures: cpu: 59.0 C mobo: N/A gpu: nouveau temp: 56.0 C
Fan Speeds (RPM): N/A
Info: Processes: 223 Uptime: 20m Memory: 7.76 GiB used: 1.9 GiB (24.5%) Init: systemd runlevel: 5
Compilers: gcc: N/A Packages: 2579 Shell: Bash v: 5.1.4 inxi: 3.3.01
Tentativa inicial
Sugiro fazer isso primeiro: O que devo fazer para forçar a verificação do sistema de arquivos raiz (e, opcionalmente, uma correção) na inicialização? , ou uma solução quase idêntica usando GRUB:
Adicione isso à sua
/etc/default/grub
linhaGRUB_CMDLINE_LINUX_DEFAULT
:em seguida, execute
update-grub
, apenasreboot
para que seuext4
sistema de arquivos seja corrigido no momento da inicialização.Se isso não ajudar, por favor, reporte de volta.
Elaboração adicional
Como seu BIOS está atualizado, não podemos fazer nada sobre os bugs do BIOS mencionados no seu
dmesg
, no entanto, eles podem ser apenas avisos em vez de bugs sérios, então eu pessoalmente ficaria bem com eles.Depois, há
smartmontools
se eu escrevi corretamente, que você pode executar comosmartctl -a /dev/sda
- basta trocar o dispositivo. Eu o uso com frequência em meu laboratório, mas agora estou fora do escritório, lembre-se de soletrar seu dispositivo de inicialização (disco SATA, unidade NVMe, cartão de memória, o que for) corretamente.