sky2 ethernet card doesn't work after returning from suspend

Bug #1807259 reported by Richard on 2018-12-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

I am on "Linux Mint 18.2 Sonya".

Upgrading to Kernel 4.15.0-39.42~16.04.1 leaves the ethernet adapter inactive after resume from suspend. I reverted to a 4.13 kernel for this reason for which it works.

the bug seems to be similar to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1798921.

$ lshw -class network
WARNUNG: Sie sollten dieses Programm mit Systemverwalterrechten (root) ausführen.
  *-network DEAKTIVIERT
       Beschreibung: Kabellose Verbindung
       Produkt: BCM4312 802.11b/g LP-PHY
       Hersteller: Broadcom Corporation
       Physische ID: 0
       Bus-Informationen: pci@0000:0c:00.0
       Logischer Name: wlp12s0
       Version: 01
       Seriennummer: 00:26:5e:33:a9:6d
       Breite: 64 bits
       Takt: 33MHz
       Fähigkeiten: bus_master cap_list ethernet physical wireless
       Konfiguration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) latency=0 multicast=yes wireless=IEEE 802.11
       Ressourcen: irq:17 memory:f69fc000-f69fffff
  *-network
       Beschreibung: Ethernet interface
       Produkt: 88E8040 PCI-E Fast Ethernet Controller
       Hersteller: Marvell Technology Group Ltd.
       Physische ID: 0
       Bus-Informationen: pci@0000:09:00.0
       Logischer Name: enp9s0
       Version: 13
       Seriennummer: 00:25:64:4a:26:00
       Größe: 100Mbit/s
       Kapazität: 100Mbit/s
       Breite: 64 bits
       Takt: 33MHz
       Fähigkeiten: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       Konfiguration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 duplex=full ip=192.168.1.7 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       Ressourcen: irq:24 memory:f68fc000-f68fffff ioport:de00(Größe=256)

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 1807259

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
Richard (richard1024) wrote :

I am using Linux Mint, where apport is not installed. Does it make sense to install and run the command?

Kai-Heng Feng (kaihengfeng) wrote :

Yes, please attach dmesg that contains messages after suspend.

Richard (richard1024) wrote :

Hi,

I attached the dmesg output after resuming from suspend. The network card is not working at that point in time. I assume it doesn't make sense to run apport at that time as there is no network connection. If you require apport being run nevertheless please tell me at which state you require running it. I can re-activate the network card by running:

sudo service network-manager restart
sudo modprobe -r sky2
sudo modprobe sky2

after resume. However this is no option for other users on the system.

Kind Regards
Richard

Richard (richard1024) on 2019-01-05
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Kai-Heng Feng (kaihengfeng) wrote :

Ok, seems like sky2 has an option to disable MSI.

Please boot with kernel parameter "sky2.disable_msi=1" and see if this helps.

Richard (richard1024) wrote :

Yes, this helps.

Will there be a fix for this which doesn't require to set kernel parameters? As well do you know what changed between kernel 4.13 and 4.15? I had a brief look at the sky2 driver git history in the kernel and I didn't see a suspicious related change.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments