Network lost while return from hibernate

Everytime that I came back from hibernate, I lost network. I have to reboot in order to recover it.

garuda-inxi
System:
Kernel: 6.6.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=177c2ce2-bd20-4f5f-948b-8488770dd78c rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=70d0a81a-fff9-4647-bf8b-72fb0b0de2ac loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 20217 v: Lenovo IdeaPad Y510P
serial: <superuser required> Chassis: type: 10 v: Lenovo IdeaPad Y510P
serial: <superuser required>
Mobo: LENOVO model: VIQY0Y1 v: 31900004WIN8 STD SGL
serial: <superuser required> UEFI: LENOVO v: 74CN44WW(V3.05)
date: 09/18/2013
Battery:
ID-1: BAT1 charge: 43.0 Wh (100.0%) condition: 43.0/56.4 Wh (76.2%)
power: 655.4 W volts: 12.1 min: 10.8 model: LENOVO PABAS0241231 type: Li-ion
serial: <filter> status: full
CPU:
Info: model: Intel Core i7-4700MQ bits: 64 type: MT MCP arch: Haswell
gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 3193 high: 3194 min/max: 800/3400 scaling:
driver: intel_cpufreq governor: performance cores: 1: 3193 2: 3194 3: 3193
4: 3193 5: 3193 6: 3193 7: 3193 8: 3194 bogomips: 38314
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo
driver: i915 v: kernel arch: Gen-7.5 process: Intel 22nm built: 2013 ports:
active: VGA-1,eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:0416
class-ID: 0300
Device-2: NVIDIA GK107M [GeForce GT 750M] vendor: Lenovo driver: N/A
alternate: nouveau non-free: series: 470.xx+
status: legacy-active (EOL~2024-09-xx) arch: Kepler code: GKxxx
process: TSMC 28nm built: 2012-2018 pcie: gen: 3 speed: 8 GT/s lanes: 8
link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:0fe4 class-ID: 0300
Device-3: Realtek Lenovo EasyCamera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2 chip-ID: 0bda:58b9
class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: crocus gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 2966x900 s-dpi: 96 s-size: 784x238mm (30.87x9.37")
s-diag: 819mm (32.26")
Monitor-1: VGA-1 pos: left model: LG (GoldStar) 20EN33 serial: <filter>
built: 2013 res: 1600x900 hz: 60 dpi: 92 gamma: 1.2
size: 443x249mm (17.44x9.8") diag: 508mm (20") ratio: 16:9 modes:
max: 1600x900 min: 720x400
Monitor-2: eDP-1 pos: primary,right model: LG Display 0x033a built: 2011
res: 1366x768 hz: 60 dpi: 101 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: 1366x768
API: EGL v: 1.5 hw: drv: intel crocus platforms: device: 0 drv: crocus
device: 1 drv: swrast surfaceless: drv: crocus x11: drv: crocus
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 4600 (HSW
GT2) device-ID: 8086:0416 memory: 1.46 GiB unified: yes
API: Vulkan v: 1.3.269 layers: 10 device: 0 type: integrated-gpu
name: Intel HD Graphics 4600 (HSW GT2) driver: mesa intel v: 23.2.1-arch1.2
device-ID: 8086:0416 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0
chip-ID: 8086:0c0c class-ID: 0403
Device-2: Intel 8 Series/C220 Series High Definition Audio
vendor: Lenovo 8 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:8c20 class-ID: 0403
Device-3: NVIDIA GK107 HDMI Audio vendor: Lenovo driver: snd_hda_intel
v: kernel pcie: speed: Unknown lanes: 63 link-max: gen: 6 speed: 64 GT/s
bus-ID: 01:00.1 chip-ID: 10de:0e1b class-ID: 0403
Device-4: Kingston HyperX QuadCast
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 3-4.3:9 chip-ID: 0951:16df class-ID: 0300
serial: <filter>
API: ALSA v: k6.6.2-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 0.3.85 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Qualcomm Atheros QCA8171 Gigabit Ethernet vendor: Lenovo
driver: alx v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000
bus-ID: 07:00.0 chip-ID: 1969:10a1 class-ID: 0200
IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 08:00.0 chip-ID: 8086:08b1 class-ID: 0280
IF: wlp8s0 state: down mac: <filter>
IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth 5.1 Radio driver: btusb v: 0.8 type: USB
rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4.1:7
chip-ID: 0bda:a725 class-ID: e001 serial: <filter>
Report: btmgmt ID: hci1 rfk-id: 1 state: up address: <filter> bt-v: 5.1
lmp-v: 10 status: discoverable: no pairing: no class-ID: 7c010c
Device-2: Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1
bus-ID: 3-4.2:8 chip-ID: 0a12:0001 class-ID: e001
Report: ID: hci2 rfk-id: 2 state: up address: <filter> bt-v: 4.0 lmp-v: 6
status: discoverable: no pairing: no class-ID: 7c010c
Device-3: Intel Bluetooth wireless interface driver: btusb v: 0.8
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-7:6
chip-ID: 8087:07dc class-ID: e001
Report: ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0 lmp-v: 6
status: discoverable: no pairing: no class-ID: 7c010c
Drives:
Local Storage: total: 2.27 TiB used: 1.63 TiB (71.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT500MX500SSD1
size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
tech: SSD serial: <filter> fw-rev: 023 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT2000MX500SSD1
size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 023 scheme: GPT
Partition:
ID-1: / raw-size: 100.42 GiB size: 100.42 GiB (100.00%)
used: 40.85 GiB (40.7%) fs: btrfs dev: /dev/sdb4 maj-min: 8:20
ID-2: /boot/efi raw-size: 1.86 GiB size: 1.86 GiB (99.80%)
used: 59.7 MiB (3.1%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 309.96 GiB size: 309.96 GiB (100.00%)
used: 258.91 GiB (83.5%) fs: btrfs dev: /dev/sdb5 maj-min: 8:21
ID-4: /var/log raw-size: 100.42 GiB size: 100.42 GiB (100.00%)
used: 40.85 GiB (40.7%) fs: btrfs dev: /dev/sdb4 maj-min: 8:20
ID-5: /var/tmp raw-size: 100.42 GiB size: 100.42 GiB (100.00%)
used: 40.85 GiB (40.7%) fs: btrfs dev: /dev/sdb4 maj-min: 8:20
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.53 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
ID-2: swap-2 type: partition size: 20.12 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sdb3 maj-min: 8:19
Sensors:
System Temperatures: cpu: 66.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 296 Uptime: 0m wakeups: 0 Memory: total: 16 GiB
available: 15.53 GiB used: 3.72 GiB (23.9%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 2021 libs: 543 tools: octopi,paru pm: rpm pkgs: 0
Shell: fish v: 3.6.1 running-in: konsole inxi: 3.3.31
Garuda (2.6.19-2):
System install date:     2023-09-12
Last full system update: 2023-11-26
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

First I would make sure your BIOS is up to date. V3.08 is the latest:

2 Likes

Does it affect all networking, only the wireless, or only the ethernet?

This thread may have some hint:
ThinkPad/UltraDock Ethernet connection does not come up after suspend - Linux Mint Forums
If I understand correctly, there is a chance that you can reactivate networking with
nmcli con up id 'name of connection here', even if nmcli device show says it is active.

1 Like

Are you running Garuda in a VM (virtual machine) ?

Suspend problems are best corrected with changes to the bios or kernel. You should test other kernels in addition to updating your bios. As your computer is getting quite old the LTS kernel may be the best to try first. Intel is not actively supporting the 7260 Wifi chip any longer, so it would not be unexpected that issues are starting to crop up.


Try the following steps to troubleshoot your suspend issue.

Copy and paste the commands below in the terminal:

nmcli networking off
sudo systemctl stop NetworkManager
sudo ip link set wlp8s0 down
sudo lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs sudo rmmod && sudo modprobe -r mac80211

Run the above commands prior to initiating suspend.


Once in suspend wait 30 seconds, then initiate resuming from suspend. Once resumed, paste and run the commands below in the terminal:

sudo rfkill unblock all
sudo modprobe iwlwifi
sleep 2
sudo ip link set wlp8s0 up
sleep 2
sudo systemctl start NetworkManager
sleep 2
nmcli networking on
sleep 2
nmcli r wifi off
sleep 1
nmcli r wifi on

Save the inputs and outputs of all commands run and please post them on the forum as soon as you have a connection again.


Hopefully these steps will give you a working connection after suspend (without requiring a reboot). These commands can be run automatically by the use of a systemd service. Not a perfect fix, but an adequate workaround for most people with this issue.


1 Like

Update: meanwhile, after a suspend I realized I get the problem too, or a quite similar one.
In my case, only the WiFi fails after resume, wired still works.

This restores WiFi for me (name of kernel module will differ on other hardware):

sudo modprobe -r rtl8192se
sudo modprobe rtl8192se

Trying to modprobe -r rtlwifi fails on me with
modprobe: FATAL: Module rtlwifi is in use.

Hope this is of some use, it may be a different thing going on though.


By the way, I have these very informative lines in my journalctl:

nov 26 21:32:38 toshiba kernel: rtl8192se: switch case 0x5e not processed
nov 26 21:32:38 toshiba wpa_supplicant[544]: bgscan simple: Failed to enable signal strength monitoring
nov 26 23:24:07 toshiba kernel: rtl8192se: fail!
nov 26 23:24:07 toshiba kernel: Hardware became unavailable upon resume. This could be a software issue prior to suspend or a hardware issue.

Thanks to all. But, I only suffer the problem on Ethernet. I’m not running Garuda on VM, I run Garuda in hardware host.

In BIOS concern, yes, I have 3.05 version, but the reason that I have not flash to 3.08 (more recent) is that I have 3.05v unblocked, the original Lenovo BIOS have a whitelist of wifi cards that cannot permit to change to a new wifi card.

So, what can I do to void the loss of Ethernet network why I came back from hibernate? (not suspend).

Don’t hibernate, then.

2 Likes

You failed to provide this info on your OP (opening post). I went to great lengths to script a solution for your Wifi as it is far more common for this situation to occur with WiFi than Ethernet. You can use my scripts/commands to reinitialize your Ethernet by substituting your Ethernet’s details in place of the wifi portions of the commands.

If the modified commands work, then search the forum/internet for “systemd suspend service”. A service should definitely work to correct your issue.

Good luck, and perhaps in the future you should realize that you only get what you give. The less information you provide to forum assistants, the less likely you will find others inclined to help you.

4 Likes

Thanks. I will try with the scripts. But Ethernet is the problem for me.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.