BUG ISSUE suspend FAIL in ubuntu 20.04 and 22.04 whit full encrypt disk - Realtek module r8169 - [10ec:8168] (rev 15) FIXED

Bug #1986459 reported by Marcelo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hi
THANKS all who contribute and made Linux,ubuntu... and ALL the GNU software.
I don't know if this is the right way to report this issue. May be the problem only affect this computer /BIOS /hardware combination.. I hope it can help others with the suspend problems.
I have a cheap and Very good Mini PC ( https://es.aliexpress.com/item/32978651823.html?spm=a2g0o.order_list.0.0.18751802svuMvO&gatewayAdapt=glo2esp )

In fresh install Suspend fail: freeze the machine. After a while I found the problem is the r8169 module. I use and edit the scrip in this web to unload the module before suspend and load it when wake up.

https://blog.christophersmart.com/2016/05/11/running-scripts-before-and-after-suspend-with-systemd/

#!/bin/sh
if [ "${1}" = "pre" ]; then
  # Do the thing you want before suspend here, e.g.:
  echo "we are suspending at $(date)..." >> /tmp/systemd_suspend_test
  /usr/sbin/modprobe -r -v r8169
elif [ "${1}" = "post" ]; then
  # Do the thing you want after resume here, e.g.:
  echo "...and we are back from $(date)" >> /tmp/systemd_suspend_test
  /usr/sbin/modprobe -v r8169
fi

lspci output attached.
Thanks.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: marcelo 2074 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-07-30 (16 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
 Bus 001 Device 003: ID 1a40:0801 Terminus Technology Inc. USB 2.0 Hub
 Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Package: linux (not installed)
ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-46-generic root=/dev/mapper/vgubuntu-root ro quiet splash initcall_debug no_console_suspend pci=nomsi resume=/dev/mapper/vgubuntu-swap_1 vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-46-generic N/A
 linux-backports-modules-5.15.0-46-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.4
Tags: jammy wayland-session
Uname: Linux 5.15.0-46-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 11/23/2018
dmi.bios.release: 5.12
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.12
dmi.board.name: S200 Series
dmi.board.vendor: SiYW
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5.12:bd11/23/2018:br5.12:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnSiYW:rnS200Series:rvr:cvnToBeFilledByO.E.M.:ct3:cvrDefaultstring:skuToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Marcelo (lopezregaelbrujo) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1986459/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1986459

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Marcelo (lopezregaelbrujo) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected jammy wayland-session
description: updated
Revision history for this message
Marcelo (lopezregaelbrujo) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : IwConfig.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : Lspci.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : Lspci-vt.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : Lsusb-t.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : Lsusb-v.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : PaInfo.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : ProcModules.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : PulseList.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : RfKill.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : UdevDb.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : WifiSyslog.txt

apport information

Revision history for this message
Marcelo (lopezregaelbrujo) wrote : acpidump.txt

apport information

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.