Network Card with via_rhine module is not able to wake up the pc

Bug #1001952 reported by Hans-Stefan Suhle
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

All possible parameters checked:

/etc/rc.local contains:
grep 'PCI0.*enabled' < /proc/acpi/wakeup >/dev/null || echo PCI0 > /proc/acpi/wakeup
grep 'ILAN.*enabled' < /proc/acpi/wakeup >/dev/null || echo ILAN > /proc/acpi/wakeup
ethtool -s eth0 wol g

/etc/init.d/halt contains:
NETDOWN=no

/etc/network/interfaces contains:
auto eth0
iface eth0 inet dhcp
pre-down /usr/sbin/ethtool -s eth0 wol g

root@nas:~# acpitool -w
   Device S-state Status Sysfs node
  ---------------------------------------
  1. PCI0 S4 *enabled no-bus:pci0000:00
  2. USB1 S3 *enabled pci:0000:00:10.0
  3. USB2 S3 *enabled pci:0000:00:10.1
  4. USB3 S3 *enabled pci:0000:00:10.2
  5. EHCI S3 *enabled pci:0000:00:10.3
  6. AC9 S4 *disabled
  7. MC9 S4 *disabled
  8. ILAN S4 *enabled pci:0000:00:12.0
  9. SLPB S4 *enabled

lspci -vv:
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
 Subsystem: Micro-Star International Co., Ltd. Device 7120
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 32 (750ns min, 2000ns max), Cache Line Size: 32 bytes
 Interrupt: pin A routed to IRQ 23
 Region 0: I/O ports at c800 [size=256]
 Region 1: Memory at dbfdfe00 (32-bit, non-prefetchable) [size=256]
 Capabilities: [40] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
 Kernel driver in use: via-rhine
 Kernel modules: via-rhine

Under the same Hardware Setup, WOL was possible with SuSE.
12.04 doesn't recognize the Magic Packet.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-24-generic 3.2.0-24.37
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic i686
AlsaDevices:
 total 0
 crw-rw---T 1 root audio 116, 1 Mai 20 15:35 seq
 crw-rw---T 1 root audio 116, 33 Mai 20 15:35 timer
AplayDevices: aplay: device_list:252: no soundcards found...
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
ArecordDevices: arecord: device_list:252: no soundcards found...
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg: [ 24.880017] eth0: no IPv6 routers present
Date: Sun May 20 15:37:03 2012
HibernationDevice: RESUME=UUID=8618380b-c585-46e1-ab9f-2f48d6f8203d
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423.1)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: MSI MS-6712
PciMultimedia:

ProcEnviron:
 TERM=xterm
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 S3 Trio64V2/DX
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-24-generic root=UUID=af79d824-2cf0-4e9b-94e4-23a15a4d2a8b ro quiet splash apm=on apm=power-off vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-24-generic N/A
 linux-backports-modules-3.2.0-24-generic N/A
 linux-firmware 1.79
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/02/01
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: Version 07.00T
dmi.board.name: MS-6712
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: 0123ABC
dmi.chassis.type: 3
dmi.chassis.vendor: Uknown Chassis Manufacture
dmi.chassis.version: Version 1.00
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrVersion07.00T:bd04/02/01:svnMSI:pnMS-6712:pvr1.0:rvnMSI:rnMS-6712:rvr1.0:cvnUknownChassisManufacture:ct3:cvrVersion1.00:
dmi.product.name: MS-6712
dmi.product.version: 1.0
dmi.sys.vendor: MSI
---
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
DistroRelease: Ubuntu 12.04
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423.1)
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
Tags: precise kernel-fixed-upstream
Uname: Linux 3.4.0-030400-generic i686
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Hans-Stefan Suhle (hss) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Do you know if this issue happened in a previous version of Ubuntu, or is this a new issue?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.4kernel[1] (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Hans-Stefan Suhle (hss) wrote : Re: [Bug 1001952] Re: Network Card with via_rhine module is not able to wake up the pc

Tested with
linux-image-3.4.0-030400-generic_3.4.0-030400.201205210521_i386.deb

root@nas:~# cd /home/hss/temp/
root@nas:/home/hss/temp# dpkg -i
linux-image-3.4.0-030400-generic_3.4.0-030400.201205210521_i386.deb
Vormals nicht ausgewähltes Paket linux-image-3.4.0-030400-generic wird
gewählt.
(Lese Datenbank ... 163022 Dateien und Verzeichnisse sind derzeit
installiert.)
Entpacken von linux-image-3.4.0-030400-generic (aus
linux-image-3.4.0-030400-generic_3.4.0-030400.201205210521_i386.deb) ...
Done.
linux-image-3.4.0-030400-generic (3.4.0-030400.201205210521) wird
eingerichtet ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools
3.4.0-030400-generic /boot/vmlinuz-3.4.0-030400-generic
update-initramfs: Generating /boot/initrd.img-3.4.0-030400-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils
3.4.0-030400-generic /boot/vmlinuz-3.4.0-030400-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier
3.4.0-030400-generic /boot/vmlinuz-3.4.0-030400-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub
3.4.0-030400-generic /boot/vmlinuz-3.4.0-030400-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.4.0-030400-generic
Found initrd image: /boot/initrd.img-3.4.0-030400-generic
Found linux image: /boot/vmlinuz-3.2.0-24-generic
Found initrd image: /boot/initrd.img-3.2.0-24-generic
Found linux image: /boot/vmlinuz-3.2.0-23-generic
Found initrd image: /boot/initrd.img-3.2.0-23-generic
Found memtest86+ image: /memtest86+.bin
Found Ubuntu 12.04 LTS (12.04) on /dev/sda3
Found Ubuntu 12.04 LTS (12.04) on /dev/sdb3
done

root@nas:~# uname -a
Linux nas 3.4.0-030400-generic #201205210521 SMP Mon May 21 09:28:36 UTC
2012 i686 athlon i386 GNU/Linux

With this kernel, everything works as expected. GREAT! Thanks!

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Hans-Stefan Suhle (hss)
tags: added: apport-collected kernel-fixed-upstream
description: updated
Hans-Stefan Suhle (hss)
tags: removed: needs-upstream-testing
Revision history for this message
Hans-Stefan Suhle (hss) wrote :

How will I find out about a new "standard" kernel to be released including this fix?

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
penalvch (penalvch) wrote :

Hans-Stefan Suhle, given the upstream 3.4 kernel worked, when you upgraded to 12.03.2/12.03.3, was the issue resolved?

tags: added: kernel-fixed-upstream-v3.4
removed: kernel-fixed-upstream
Changed in linux (Ubuntu):
status: Triaged → Incomplete
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.