Not sure where to post this, so move if needed. I recently replaced the power supply in my machine. Since then, whenever I wake up from suspend, the cd drive is poled first and then, after the os has started to come back up, the drive opens. In the BIOS the cd drive is disabled as a boot device and does not do anything when the computer is booted. before the power supply was replaced, this did not happen. Haven’t been able to find a solution, hopefully someone here can help. OS is Manjaro Cinnamon on a desktop pc.
After a recent large update my CDROM tray ejects when resuming from suspend. Would appreciate help determining what is causing that.
Welcome to Manjaro!
-
Please read this:
How to provide good information
and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies… -
An
inxi --admin --verbosity=7 --filter --no-host --width
would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text. -
The output of:
journalctl --system --boot=0 --priority=3 | tail --lines=50
ASAP after it comes back from resume, would be helpful as well.
P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU or Kernel, … you have without typing it every time
System:
Kernel: 5.10.49-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
root=UUID=7d4b09c8-83e8-4ec2-b097-a2386696c288 rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: Cinnamon 5.0.4 tk: GTK 3.24.30 vt: 7 dm: LightDM 1.30.0
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: M5A97 R2.0 v: Rev 1.xx serial: <filter>
BIOS: American Megatrends v: 2603 date: 06/26/2015
Battery:
Message: No system battery data found. Is one present?
Memory:
RAM: total: 15.53 GiB used: 1.45 GiB (9.3%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: 8-Core model: AMD FX-8350 bits: 64 type: MCP arch: Bulldozer
family: 15 (21) model-id: 2 stepping: 0 microcode: 6000852 cache: L2: 2 MiB
bogomips: 64241
Speed: 1404 MHz min/max: 1400/4000 MHz boost: enabled Core speeds (MHz):
1: 1404 2: 1403 3: 1404 4: 1401 5: 1404 6: 1400 7: 1402 8: 1400
Flags: 3dnowprefetch abm aes aperfmperf apic arat avx bmi1 clflush cmov
cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de decodeassists
extapic extd_apicid f16c flushbyasid fma fma4 fpu fxsr fxsr_opt ht hw_pstate
ibpb ibs lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor msr mtrr
nodeid_msr nonstop_tsc nopl npt nrip_save nx osvw pae pat pausefilter
pclmulqdq pdpe1gb perfctr_core perfctr_nb pfthreshold pge pni popcnt pse
pse36 rdtscp rep_good sep skinit ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 svm
svm_lock syscall tbm tce topoext tsc tsc_scale vmcb_clean vme vmmcall wdt
xop xsave
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 and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GK104 [GeForce GTX 670] vendor: eVga.com. driver: nvidia
v: 470.42.01 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
chip-ID: 10de:1189 class-ID: 0300
Display: x11 server: X.Org 1.20.11 driver: loaded: nvidia display-ID: :0
screens: 1
Screen-1: 0 s-res: 2960x1050 s-dpi: 96 s-size: 783x278mm (30.8x10.9")
s-diag: 831mm (32.7")
Monitor-1: DVI-I-1 res: 1680x1050 hz: 60 dpi: 90
size: 474x296mm (18.7x11.7") diag: 559mm (22")
Monitor-2: DVI-D-0 res: 1280x1024 hz: 60 dpi: 96
size: 338x270mm (13.3x10.6") diag: 433mm (17")
OpenGL: renderer: NVIDIA GeForce GTX 670/PCIe/SSE2 v: 4.6.0 NVIDIA 470.42.01
direct render: Yes
Audio:
Device-1: NVIDIA GK104 HDMI Audio vendor: eVga.com. driver: snd_hda_intel
v: kernel bus-ID: 01:00.1 chip-ID: 10de:0e0a class-ID: 0403
Device-2: C-Media CMI8788 [Oxygen HD Audio] vendor: ASUSTeK CMI8786
driver: snd_oxygen v: kernel bus-ID: 05:05.0 chip-ID: 13f6:8788
class-ID: 0401
Sound Server-1: ALSA v: k5.10.49-1-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.31 running: no
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK P8 series driver: r8168 v: 8.049.02-NAPI modules: r8169
port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Message: No bluetooth data found.
Logical:
Permissions: Unable to run lvs. Root privileges required.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.36 TiB used: 154.09 GiB (11.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
rotation: SSD serial: <filter> rev: 2B6Q scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD1003FZEX-00K3CA0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: 1A01
scheme: MBR
Optical-1: /dev/sr0 vendor: ASUS model: DRW-24B1ST j rev: 1.00
dev-links: cdrom
Features: speed: 48 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
ID-1: / raw-size: 465.76 GiB size: 457.45 GiB (98.22%)
used: 154.09 GiB (33.7%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: 7d4b09c8-83e8-4ec2-b097-a2386696c288
Swap:
Kernel: swappiness: 1 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2
file: /swapfile
Unmounted:
ID-1: /dev/sdb1 maj-min: 8:17 size: 931.51 GiB fs: <superuser required>
label: N/A uuid: 6d3612e4-c744-44f3-9bca-9b5129348b4e
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 5 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 5 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 5 rev: 1.1 speed: 12 Mb/s
chip-ID: 1d6b:0001 class-ID: 0900
Device-1: 4-3:2 info: Logitech Advanced Corded Mouse M500s type: Mouse,HID
driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 300mA chip-ID: 046d:c093 class-ID: 0300 serial: <filter>
Device-2: 4-5:3 info: Holtek USB Gaming Keyboard type: Keyboard,HID
driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
power: 350mA chip-ID: 04d9:a0d1 class-ID: 0300
Hub-5: 5-0:1 info: Full speed (or root) Hub ports: 5 rev: 1.1 speed: 12 Mb/s
chip-ID: 1d6b:0001 class-ID: 0900
Hub-6: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s
chip-ID: 1d6b:0001 class-ID: 0900
Hub-7: 7-0:1 info: Full speed (or root) Hub ports: 4 rev: 1.1 speed: 12 Mb/s
chip-ID: 1d6b:0001 class-ID: 0900
Hub-8: 8-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-9: 9-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-10: 10-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-11: 11-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0
speed: 5 Gb/s chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 27.0 C mobo: 27.0 C gpu: nvidia temp: 37 C
Fan Speeds (RPM): cpu: 1099 fan-2: 2177 fan-3: 0 gpu: nvidia fan: 50%
Power: 12v: N/A 5v: N/A 3.3v: 3.31 vbat: 3.29
Info:
Processes: 239 Uptime: 3m wakeups: 0 Init: systemd v: 248 tool: systemctl
Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1371 lib: 406
flatpak: 0 Shell: Bash v: 5.1.8 running-in: gnome-terminal inxi: 3.3.05
on the second command, all I get is “unable to locate daemon control file”.
Your inxi
output looks fine, so I definitely need the output of this:
Have you tried with sudo
yet?
same answer with sudo.
Maybe @MrBruce can provide the output to:
journalctl --system --boot=0 --priority=3 | tail --lines=50
Thanks for getting me started. Please see pastbin URL: https://pastebin.com/2LJtnACM
After a recent large update my CDROM tray ejects when resuming from suspend. Would appreciate help determining what is causing that.
Mine is doing the same thing. Tray ejects upon resume.
Having the same problem. Posted problem in “Latest Stable Update” forum area. Had no useful response or solution given. Using XFCE. Thinking of just unplugging the CD-ROM since I hardly ever use it. Would like to find a solution though.
Hello there
Could you try this workaround to the problem? CD/DVD DRIVE Opening Automatically Several Times / Newbie Corner / Arch Linux Forums
That workaround solves the problem. The post mentioned the eject button would no longer work, but it does indeed still work, as well as the eject command line program and K3b.
Workaround worked for me as well, thanks very much for the help.
Fabby, my profile is updated. Didn’t realize my old hardware was still there. Thank you as well.
FYI I encountered this problem on another distro and traced it back to a change in the Linux kernel, specifically this one git commit 7dd753ca59d6c8cc09aa1ed24f7657524803c7f3 in the stable kernel tree.
It appears to be a regression, reverting the change makes the problem disappear from my machine.
[edit] this is tracked in the linux kernel bug tracker as bug 213795
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.