btwnc
April 6, 2022, 4:18pm
1
New installation about two weeks ago. I chose encryption, and no hibernation. I haven’t made any changes to disks or partitions, etc.
Device does not exist or access denied
ERROR: resume: hibernation device '/dev/mapper/luks-3109b...
Boot process continues normally after error is shown.
fdisk does show an 8gb disk: /dev/mapper/luks-3109b… which is for swap, I’m assuming.
grub shows "resume=’/dev/mapper/luks-3109b…’
My linux experience is on the low end of the scale…thanks in advance for info on how to get rid of the error message.
not enough information
especially about your partition layout
this error message is truncated - leaving out the actual information
which could be helpful would we know your partition layout
btwnc
April 6, 2022, 4:39pm
3
Device does not exist or access denied.
ERROR: resume: hibernation device '/dev/mapper/luks-3109b...2658
/dev/mapper/luks-9da1...ec6: clean, 332572/14057472 fi
above is complete except I didn’t type in the full drive id numbers. The error itself does truncate the name of the luks-3109b drive, I notice.
btwnc
April 6, 2022, 4:43pm
4
Disk /dev/sdb: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: PNY CS900 240GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0AFEC079-4E89-AB44-8EF6-89A154C44556
Device Start End Sectors Size Type
/dev/sdb1 4096 618495 614400 300M EFI System
/dev/sdb2 618496 450402085 449783590 214.5G Linux filesystem
/dev/sdb3 450402086 468857024 18454939 8.8G Linux filesystem
Disk /dev/mapper/luks-9da16cf3-1fc5-4c23-bce6-7834faf26ec6: 214.47 GiB, 230287100928 bytes, 449779494 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/luks-3109b550-3aaf-4d32-8423-26585f921e5c: 8.8 GiB, 9446831616 bytes, 18450843 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
/dev/sda is another SSD where Windows lives.
there are posts,
one in particular,
frequently mentioned,
about how to provide good information,
which is what I was kinda trying to nudge you to find and read and … give
We cannot see what you see - only what you show us.
We could try to start to elicit information - but it’s better to share some basics right away …
so your only “problem” is the error message?
btwnc
April 6, 2022, 5:06pm
6
Yes. There should not be an error since I didn’t install hibernation.
so, if that message bothers you
find out why it exists
start by finding out
“how to provide good information”
It’s not hard to find.
btwnc
April 6, 2022, 5:16pm
8
System:
Kernel: 5.16.14-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.16-x86_64
root=UUID=9d8c0a4a-3641-4e95-9c4b-174529e3ac0e rw quiet
cryptdevice=UUID=9da16cf3-1fc5-4c23-bce6-7834faf26ec6:luks-9da16cf3-1fc5-4c23-bce6-7834faf26ec6
root=/dev/mapper/luks-9da16cf3-1fc5-4c23-bce6-7834faf26ec6 apparmor=1
security=apparmor
resume=/dev/mapper/luks-3109b550-3aaf-4d32-8423-26585f921e5c
udev.log_priority=3
Desktop: KDE Plasma v: 5.24.3 tk: Qt v: 5.15.3 wm: kwin_wayland vt: 2
dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B450 GAMING PRO CARBON AC (MS-7B85)
v: 1.0 serial: <superuser required> UEFI: American Megatrends LLC. v: 1.F3
date: 03/24/2021
Battery:
Message: No system battery data found. Is one present?
Memory:
RAM: total: 15.61 GiB used: 1.72 GiB (11.0%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+
family: 0x17 (23) model-id: 8 stepping: 2 microcode: 0x800820D
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 768 KiB desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 2x8 MiB
Speed (MHz): avg: 1935 high: 2437 min/max: 2200/3700 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2437 2: 1720
3: 1747 4: 1722 5: 1889 6: 1931 7: 1885 8: 1890 9: 2402 10: 1715 11: 1883
12: 1936 13: 1984 14: 2045 15: 1891 16: 1889 bogomips: 118454
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm
mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc
nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq
pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse
pse36 rapl rdrand rdseed rdtscp rep_good sep sev sev_es sha_ni skinit smap
smca sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock
syscall tce topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme
vmmcall wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: ASRock driver: amdgpu v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
ports: active: HDMI-A-1 empty: DP-1, DP-2, DP-3, DVI-D-1 bus-ID: 26:00.0
chip-ID: 1002:67df class-ID: 0300
Device-2: Chicony ASUS USB2.0 Webcam type: USB driver: uvcvideo
bus-ID: 1-9.4:8 chip-ID: 04f2:b1f2 class-ID: 0e02
Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.0
compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa gpu: amdgpu display-ID: 0
Monitor-1: HDMI-A-1 res: 1920x1080 size: N/A modes: N/A
OpenGL: renderer: AMD Radeon RX 570 Series (POLARIS10 DRM 3.44.0
5.16.14-1-MANJARO LLVM 13.0.1)
v: 4.6 Mesa 21.3.7 direct render: Yes
Audio:
Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
vendor: ASRock driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 16 bus-ID: 26:00.1 chip-ID: 1002:aaf0 class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 28:00.3 chip-ID: 1022:1457 class-ID: 0403
Device-3: Texas Instruments PCM2903B Audio CODEC type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-9.3.2:10
chip-ID: 08bb:29b3 class-ID: 0300
Sound Server-1: ALSA v: k5.16.14-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.20 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 21:00.0 chip-ID: 8086:2526 class-ID: 0280
IF: wlo1 state: down mac: <filter>
Device-2: Intel I211 Gigabit Network vendor: Micro-Star MSI driver: igb
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 22:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
IP v4: <filter> scope: global broadcast: <filter>
IP v6: <filter> virtual: stable-privacy scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
v: 0.8 bus-ID: 3-4:3 chip-ID: 8087:0025 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
Message: No logical block device data found.
Device-1: luks-9da16cf3-1fc5-4c23-bce6-7834faf26ec6 maj-min: 254:0
type: LUKS dm: dm-0 size: 214.47 GiB
Components:
p-1: sdb2 maj-min: 8:18 size: 214.47 GiB
Device-2: luks-3109b550-3aaf-4d32-8423-26585f921e5c maj-min: 254:1
type: LUKS dm: dm-1 size: 8.8 GiB
Components:
p-1: sdb3 maj-min: 8:19 size: 8.8 GiB
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.59 TiB used: 13.11 GiB (0.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 PRO 512GB
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 1B2QEXP7 temp: 35.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 QVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1B6Q scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: PNY model: CS900 240GB SSD
size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 0613 scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 214.47 GiB size: 210.05 GiB (97.94%) used: 13.1 GiB (6.2%)
fs: ext4 dev: /dev/dm-0 maj-min: 254:0
mapped: luks-9da16cf3-1fc5-4c23-bce6-7834faf26ec6 label: N/A
uuid: 9d8c0a4a-3641-4e95-9c4b-174529e3ac0e
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 440 KiB (0.1%) fs: vfat dev: /dev/sdb1 maj-min: 8:17 label: NO_LABEL
uuid: 2C6C-099D
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/dm-1 maj-min: 254:1
mapped: luks-3109b550-3aaf-4d32-8423-26585f921e5c label: swap
uuid: e9121693-f172-41f9-a069-a282afefc818
Unmounted:
ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 529 MiB fs: ntfs label: Recovery
uuid: F68C2C938C2C5103
ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 99 MiB fs: vfat label: N/A
uuid: A22C-ADB6
ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 476.31 GiB fs: ntfs label: N/A
uuid: 3E342DA2342D5E61
ID-5: /dev/sda1 maj-min: 8:1 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-6: /dev/sda2 maj-min: 8:2 size: 931.5 GiB fs: ntfs label: 1TB Sammy
uuid: B62867AC286769F7
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-4:2 info: Yubicom Yubikey 4/5 OTP+U2F+CCID
type: Keyboard,HID,Smart Card driver: hid-generic,usbhid interfaces: 3
rev: 2.0 speed: 12 Mb/s power: 30mA chip-ID: 1050:0407 class-ID: 0b00
Device-2: 1-6:3 info: Cooler Master AMD SR4 lamplight Control
type: Keyboard,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0
speed: 12 Mb/s power: 100mA chip-ID: 2516:0051 class-ID: 0300
Hub-2: 1-9:4 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
chip-ID: 0bda:5411 class-ID: 0900
Device-1: 1-9.1:5 info: Microsoft Basic Optical Mouse v2.0 type: Mouse
driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
power: 100mA chip-ID: 045e:00cb class-ID: 0301
Device-2: 1-9.2:6 info: Logitech Keyboard K120 type: Keyboard,HID
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
power: 90mA chip-ID: 046d:c31c class-ID: 0300
Hub-3: 1-9.3:7 info: Microchip (formerly SMSC) USB 2.0 Hub ports: 2
rev: 2.0 speed: 480 Mb/s power: 2mA chip-ID: 0424:2512 class-ID: 0900
Device-1: 1-9.3.1:9 info: Silicon Labs CP2105 Dual UART Bridge
type: <vendor specific> driver: cp210x,gpio_stub_drv interfaces: 2 rev: 2.0
speed: 12 Mb/s power: 100mA chip-ID: 10c4:ea70 class-ID: 0000
serial: <filter>
Device-2: 1-9.3.2:10 info: Texas Instruments PCM2903B Audio CODEC
type: Audio,HID driver: hid-generic,snd-usb-audio,usbhid interfaces: 4
rev: 2.0 speed: 12 Mb/s power: 20mA chip-ID: 08bb:29b3 class-ID: 0300
Device-3: 1-9.4:8 info: Chicony ASUS USB2.0 Webcam type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 04f2:b1f2 class-ID: 0e02
Hub-4: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-3:2 info: Micro Star PRO CARBON type: HID
driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s
power: 500mA chip-ID: 1462:7b85 class-ID: 0300 serial: <filter>
Device-2: 3-4:3 info: Intel Wireless-AC 9260 Bluetooth Adapter
type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 100mA chip-ID: 8087:0025 class-ID: e001
Hub-6: 4-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 39.5 C mobo: N/A gpu: amdgpu temp: 28.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1524
Info:
Processes: 370 Uptime: 14m wakeups: 0 Init: systemd v: 250 tool: systemctl
Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1286 lib: 339
flatpak: 0 Shell: Bash v: 5.1.16 running-in: kitty inxi: 3.3.14
What is your goal, your objective?
Getting rid of the error message?
or
getting the (encrypted) swap partition
to act as a hibernation device?
You said you specifically did NOT want hibernation.
I do not know why the installer would try to set it up regardless of your choice.
What is causing this message that you see is
probably
the “resume
” parameter
being mentioned in the HOOKS line (near the end of the file):
/etc/mkinitcpio.conf
just remove that reference (resume
)
regenerate the initrd, update grub
try out the result.
I just assumed that this (resume) parameter/keyword is in there - when it should not be.
I do not know whether that is actually the case, of course,
since no one but you has seen the contents of this file …
… hope that makes enough sense to you to work with …
btwnc
April 6, 2022, 7:34pm
10
Hibernation device error message is gone now. Thank you.
How can I regenerate initrd and update the grub? What command line I use?
I don’t know.
I’d have to look it up - but so can you.
probably:
update-grub
or
mkinitcpio -p
…
I didn’t quite understand…you don’t know and have to look it up whatever it is to do the recommendation you suggest ?
I’ll not be recommending anything.
What did your “research” into the matter yield?