sky2 ethernet card don't work after returning from suspension

Bug #1841304 reported by kris777
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Linux 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
error similar to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1798921
........................................................
however, all kernel patches do not fix this error !!!!!!
........................................................
maybe it is related to specific hardware / BIOS version?
in my case the Samsung R780 laptop
terminal fix helps:
sudo modprobe -r sky2; sudo modprobe -i sky2

or an entry in GRUB
GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash pci = nomsi, noaer"
I think the problem is rather related to the option: pci = nomsi, noaer
regards!
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: kris 1748 F.... pulseaudio
 /dev/snd/controlC0: kris 1748 F.... pulseaudio
CurrentDesktop: XFCE
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=none
MachineType: SAMSUNG ELECTRONICS CO., LTD. R780/R778
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-51-generic root=UUID=89a089ca-faca-4b1e-be43-8cdd057ae525 ro quiet splash pci=nomsi,noaer
ProcVersionSignature: Ubuntu 4.15.0-51.55-generic 4.15.18
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-51-generic N/A
 linux-backports-modules-4.15.0-51-generic N/A
 linux-firmware 1.173.10
Tags: bionic
Uname: Linux 4.15.0-51-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin nopasswdlogin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/14/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 04JA.M017.20100114.LDG
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: R780/R778
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: 04JA
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr04JA.M017.20100114.LDG:bd01/14/2010:svnSAMSUNGELECTRONICSCO.,LTD.:pnR780/R778:pvr04JA:rvnSAMSUNGELECTRONICSCO.,LTD.:rnR780/R778:rvr04JA:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvrN/A:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: R780/R778
dmi.product.version: 04JA
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

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 1841304

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
tags: added: bionic
Revision history for this message
kris777 (kris777) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
kris777 (kris777) wrote : CRDA.txt

apport information

Revision history for this message
kris777 (kris777) wrote : CurrentDmesg.txt

apport information

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

apport information

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

apport information

Revision history for this message
kris777 (kris777) wrote : Lsusb.txt

apport information

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

apport information

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

apport information

Revision history for this message
kris777 (kris777) wrote : ProcEnviron.txt

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

Revision history for this message
kris777 (kris777) wrote :

uname -a
Linux 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

dmesg .... after suspend option and no internet
and fix commands: rmmod sky2; modprobe sky2
.................................................

[ 47.124612] PM: suspend exit
[ 47.162536] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[ 47.167683] sky2 0000:06:00.0 enp6s0: enabling interface
[ 47.169682] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[ 47.290303] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 47.309054] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 47.352879] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 49.646558] do_IRQ: 3.34 No irq handler for vector
[ 164.106902] sky2 0000:06:00.0 enp6s0: disabling interface
[ 171.405710] sky2: driver version 1.30
[ 171.406322] sky2 0000:06:00.0: Yukon-2 Optima chip revision 1
[ 171.408583] sky2 0000:06:00.0 eth0: addr 00:24:54:5b:cc:9a
[ 171.415538] sky2 0000:06:00.0 enp6s0: renamed from eth0
[ 171.441672] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[ 171.445429] sky2 0000:06:00.0 enp6s0: enabling interface
[ 171.446319] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[ 174.054356] sky2 0000:06:00.0 enp6s0: Link is up at 1000 Mbps, full duplex, flow control both
[ 174.054385] IPv6: ADDRCONF(NETDEV_CHANGE): enp6s0: link becomes ready
............................................

kris777 (kris777)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Does kernel parameter "sky2.disable_msi=1" help?

Revision history for this message
kris777 (kris777) wrote :

Yes, after adding this parameter, the sky2 network adapter works OK after waking up
same as parameter: pci=nomsi,noaer
regards!

Revision history for this message
kris777 (kris777) wrote :

Debian (buster 10) works fine ? .... uname -a
Linux 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux
inxi -Fxz
............
System:
  Host: kris-R780 Kernel: 4.19.0-5-amd64 x86_64 bits: 64 compiler: gcc
  v: 8.3.0 Desktop: LXDE 0.10.0 Distro: Debian GNU/Linux 10 (buster)
Machine:
  Type: Laptop System: SAMSUNG product: R780/R778 v: 04JA serial: <filter>
  Mobo: SAMSUNG model: R780/R778 v: 04JA serial: <filter>
  BIOS: American Megatrends v: 04JA.M017.20100114.LDG date: 01/14/2010
CPU:
  Topology: Dual Core model: Intel Core i5 M 520 bits: 64 type: MT MCP
  arch: Nehalem rev: 2 L2 cache: 3072 KiB
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19151
  Speed: 1593 MHz min/max: 1199/2400 MHz Core speeds (MHz): 1: 1427 2: 1466
  3: 1448 4: 1472
Graphics:
  Device-1: NVIDIA GT216M [GeForce GT 330M] vendor: Samsung Co
  driver: nouveau v: kernel bus ID: 01:00.0
  Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
  resolution: 1600x900~60Hz
  OpenGL: renderer: NVA5 v: 3.3 Mesa 18.3.6 direct render: Yes
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio
  vendor: Samsung Co R730 Laptop driver: snd_hda_intel v: kernel
  bus ID: 00:1b.0
  Device-2: NVIDIA GT216 HDMI Audio vendor: Samsung Co driver: snd_hda_intel
  v: kernel bus ID: 01:00.1
  Sound Server: ALSA v: k4.19.0-5-amd64
Network:
  Device-1: Qualcomm Atheros AR9285 Wireless Network Adapter
  vendor: Foxconn T77H121.05 802.11bgn driver: ath9k v: kernel port: d000
  bus ID: 02:00.0
  IF: wlp2s0 state: down mac: <filter>
  Device-2: Marvell Yukon Optima 88E8059 [PCIe Gigabit Ethernet with AVB]
  vendor: Samsung Co driver: sky2 v: 1.30 port: b000 bus ID: 06:00.0
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 231.07 GiB used: 37.72 GiB (16.3%)
  ID-1: /dev/sda model: IR-SSDPR-S25A-240 size: 223.57 GiB
  ID-2: /dev/sdb type: USB model: General USB Flash Disk size: 7.50 GiB
Partition:
  ID-1: / size: 80.21 GiB used: 30.60 GiB (38.2%) fs: ext4 dev: /dev/sda2
  ID-2: /home size: 16.61 GiB used: 6.52 GiB (39.3%) fs: ext4 dev: /dev/dm-0
Sensors:
  System Temperatures: cpu: 55.0 C mobo: 55.0 C gpu: nouveau temp: 59 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 198 Uptime: 2h 40m Memory: 7.65 GiB used: 1.14 GiB (14.9%)
  Init: systemd runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3
  inxi: 3.0.32
................

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please suspend and system and attach dmesg, under Debian Buster?

Revision history for this message
kris777 (kris777) wrote :
Download full text (9.9 KiB)

dmesg:
............................
pid=323 comm="apparmor_parser"
[ 4.994991] ACPI: AC Adapter [ADP1] (on-line)
[ 5.013971] systemd-journald[295]: Received request to flush runtime journal from PID 1
[ 5.039679] battery: ACPI: Battery Slot [BAT1] (battery absent)
[ 5.063822] intel ips 0000:00:1f.6: CPU TDP doesn't match expected value (found 25, expected 29)
[ 5.064453] intel ips 0000:00:1f.6: failed to get i915 symbols, graphics turbo disabled until i915 loads
[ 5.078481] input: PC Speaker as /devices/platform/pcspkr/input/input15
[ 5.084878] iTCO_vendor_support: vendor-support=0
[ 5.121879] intel ips 0000:00:1f.6: IPS driver initialized, MCP temp limit 90
[ 5.124648] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[ 5.125091] iTCO_wdt: Found a HM55 TCO device (Version=2, TCOBASE=0x0460)
[ 5.129938] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 5.130386] sr 1:0:0:0: Attached scsi generic sg1 type 5
[ 5.131449] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 5.132725] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 5.202498] media: Linux media interface: v0.10
[ 5.234447] videodev: Linux video capture interface: v2.00
[ 5.263406] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 5.263813] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 5.294423] samsung_laptop: detected SABI interface: SwSmi@
[ 5.339384] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
[ 5.347668] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC269: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 5.348068] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 5.348265] uvcvideo: Found UVC 1.00 device WebCam SCB-1900N (0ac8:c342)
[ 5.348420] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[ 5.348422] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 5.348423] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 5.348426] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x19
[ 5.348428] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18
[ 5.362263] uvcvideo 1-1.4:1.0: Entity type for entity Processing 2 was not initialized!
[ 5.362648] uvcvideo 1-1.4:1.0: Entity type for entity Camera 1 was not initialized!
[ 5.363011] uvcvideo 1-1.4:1.0: Entity type for entity Extension 4 was not initialized!
[ 5.363969] input: WebCam SCB-1900N: WebCam SCB-19 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input16
[ 5.364644] usbcore: registered new interface driver uvcvideo
[ 5.365002] USB Video Class driver (1.1.1)
[ 5.370970] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
[ 5.371438] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
[ 5.529519] ath: phy0: Enable LNA combining
[ 5.533924] ath: phy0: ASPM enabled: 0x42
[ 5.534299] ath: EEPROM regdomain: 0x65
[ 5.534300] ath: EEPROM indicates we should expect a direct regpair map
[ 5.534303] ath: Country alpha2 being used: 00
[ 5.534303] ath: Regpair used: 0x65
[ 5.542700] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 5.543071] ...

Revision history for this message
kris777 (kris777) wrote :

sorry, here is the full list:
http://paste.debian.net/1097313/

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please also collect log under Ubuntu? The attached log doesn't contain any log about suspend.

Revision history for this message
kris777 (kris777) wrote :

maybe:

Aug 31 08:37:16 kris-R780 kernel: [ 79.578189] do_IRQ: 3.34 No irq handler for vector
Aug 31 08:44:55 kris-R780 kernel: [ 539.053705] perf: interrupt took too long (2515 > 2500), lowering kernel.perf_event_max_sample_rate to 79500
Aug 31 08:46:55 kris-R780 kernel: [ 658.120540] perf: interrupt took too long (3145 > 3143), lowering kernel.perf_event_max_sample_rate to 63500

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
kris777 (kris777) wrote :

this kernel doesn't work for me
the system started but the nvidia graphics was low resolution and the internet connection did not work at all
generally more problems than there were

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please attach dmesg when booting the test kernel?

Revision history for this message
Carlo Federico Vescovo (cfv) wrote :

I am experiencing the same issue with an old Acer T180. My kernel version is 5.8.0-48-generic.
My Ethernet card is a Marvell 88E8056. Let me know if you need further information, I would be willing to help you.

Revision history for this message
Carlo Federico Vescovo (cfv) wrote :

System:
  Kernel: 5.8.0-48-generic x86_64 bits: 64 compiler: N/A
  Desktop: Gnome 3.36.4 Distro: Ubuntu 20.04.2 LTS (Focal Fossa)
Machine:
  Type: Desktop System: Acer product: Aspire E380 v: R01-B4 serial: <filter>
  Mobo: Acer model: EM61SM/EM61PM serial: <filter> BIOS: Phoenix v: R01-B4
  date: 12/29/2006
Network:
  Device-1: Marvell 88E8056 PCI-E Gigabit Ethernet vendor: Elite Systems
  driver: sky2 v: 1.30 port: ac00 bus ID: 03:00.0
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: mpqemubr0 state: down mac: <filter>
  IF-ID-2: mpqemubr0-dummy state: down mac: <filter>

Revision history for this message
Carlo Federico Vescovo (cfv) wrote :

sky2.disable_msi=1 solves my issue

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.