Bug 45711 - [BISECTED]Wol doesn't work with driver via-velocity
Summary: [BISECTED]Wol doesn't work with driver via-velocity
Status: REOPENED
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: i386 Linux
: P1 normal
Assignee: drivers_network@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-07 19:14 UTC by guiguibud
Modified: 2016-03-19 17:17 UTC (History)
3 users (show)

See Also:
Kernel Version: 3.5.0-8
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (38.69 KB, text/plain)
2012-08-07 19:14 UTC, guiguibud
Details

Description guiguibud 2012-08-07 19:14:21 UTC
Created attachment 77061 [details]
dmesg

Hello all,

I've been trying to repair WOL with driver via-velocity. It's been broken for me since kernel 2.6.32. Please note that I'm using the same system so test under 2.6.32 and 3.5.0-8.

I've attached dmesg to identify the problem.

Thanks a lot for your help

Best


Please see various details:

uname -a



ethtool eth0

Settings for eth0:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Speed: 1000Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: Unknown
	Supports Wake-on: puag
	Wake-on: g
	Current message level: 0x00000002 (2)
			       probe
	Link detected: yes



cat /proc/acpi/wakeup 

Device	S-state	  Status   Sysfs node
USB0	  S4	*enabled   pci:0000:00:10.0
USB1	  S4	*enabled   pci:0000:00:10.1
USB2	  S4	*enabled   pci:0000:00:10.2
EHCI	  S4	*enabled   pci:0000:00:10.4
SBRG	  S5	*enabled   pci:0000:00:11.0
P2PB	  S5	*enabled   pci:0000:00:13.0

lspci -k

00:00.0 Host bridge: VIA Technologies, Inc. VX855/VX875 Host Bridge: Host Control (rev 03)
	Subsystem: VIA Technologies, Inc. Device aa13
00:00.1 Host bridge: VIA Technologies, Inc. VX855/VX875 Error Reporting
	Subsystem: VIA Technologies, Inc. VX855/VX875 Error Reporting
00:00.2 Host bridge: VIA Technologies, Inc. VX855/VX875 Host Bus Control
	Subsystem: VIA Technologies, Inc. VX855/VX875 Host Bus Control
00:00.3 Host bridge: VIA Technologies, Inc. VX855/VX875 DRAM Bus Control
	Subsystem: VIA Technologies, Inc. VX855/VX875 DRAM Bus Control
00:00.4 Host bridge: VIA Technologies, Inc. VX855/VX875 Power Management Control
	Subsystem: VIA Technologies, Inc. VX855/VX875 Power Management Control
00:00.5 PIC: VIA Technologies, Inc. VX855/VX875 APIC and Central Traffic Control
	Subsystem: VIA Technologies, Inc. VX855/VX875 APIC and Central Traffic Control
00:00.6 Host bridge: VIA Technologies, Inc. VX855/VX875 Scratch Registers
00:00.7 Host bridge: VIA Technologies, Inc. VX855/VX875 North-South Module Interface Control
	Subsystem: VIA Technologies, Inc. VX855/VX875 North-South Module Interface Control
00:01.0 VGA compatible controller: VIA Technologies, Inc. VX855/VX875 Chrome 9 HCM Integrated Graphics
	Subsystem: VIA Technologies, Inc. VX855/VX875 Chrome 9 HCM Integrated Graphics
	Kernel modules: viafb
00:0f.0 IDE interface: VIA Technologies, Inc. VX855/VX875 EIDE Controller
	Subsystem: VIA Technologies, Inc. Device aa13
	Kernel driver in use: pata_via
	Kernel modules: pata_via
00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
	Subsystem: VIA Technologies, Inc. Device aa13
	Kernel driver in use: uhci_hcd
00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
	Subsystem: VIA Technologies, Inc. Device aa13
	Kernel driver in use: uhci_hcd
00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
	Subsystem: VIA Technologies, Inc. Device aa13
	Kernel driver in use: uhci_hcd
00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 90)
	Subsystem: VIA Technologies, Inc. Device aa13
	Kernel driver in use: ehci_hcd
00:11.0 ISA bridge: VIA Technologies, Inc. VX855/VX875 Bus Control and Power Management
	Subsystem: VIA Technologies, Inc. Device aa13
	Kernel modules: i2c-viapro, vx855
00:11.7 Host bridge: VIA Technologies, Inc. VX8xx South-North Module Interface Control
	Subsystem: VIA Technologies, Inc. Device 7323
00:13.0 PCI bridge: VIA Technologies, Inc. VX855/VX875 PCI to PCI Bridge
	Kernel modules: shpchp
00:14.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 20)
	Subsystem: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd-hda-intel
01:03.0 Ethernet controller: VIA Technologies, Inc. VT6120/VT6121/VT6122 Gigabit Ethernet Adapter (rev 11)
	Subsystem: VIA Technologies, Inc. Device 0110
	Kernel driver in use: via-velocity
	Kernel modules: via-velocity


lsmod

Module                  Size  Used by
ipt_MASQUERADE         12663  1 
xt_state               12514  0 
xt_limit               12541  0 
nf_nat_ftp             12595  0 
nf_conntrack_ftp       13183  1 nf_nat_ftp
iptable_mangle         12646  0 
iptable_nat            13016  1 
nf_nat                 24740  3 ipt_MASQUERADE,nf_nat_ftp,iptable_nat
nf_conntrack_ipv4      14122  3 iptable_nat,nf_nat
nf_conntrack           66861  7 ipt_MASQUERADE,xt_state,nf_nat_ftp,nf_conntrack_ftp,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4         12649  1 nf_conntrack_ipv4
iptable_filter         12706  0 
ip_tables              18106  3 iptable_mangle,iptable_nat,iptable_filter
x_tables               21974  7 ipt_MASQUERADE,xt_state,xt_limit,iptable_mangle,iptable_nat,iptable_filter,ip_tables
rmd160                 16664  0 
crypto_null            12782  0 
xfrm_user              31159  2 
ah6                    12907  0 
ah4                    12800  0 
esp6                   12873  0 
esp4                   12868  0 
xfrm4_mode_beet        12497  0 
xfrm4_tunnel           12737  0 
tunnel4                13076  1 xfrm4_tunnel
xfrm4_mode_tunnel      12546  0 
xfrm4_mode_transport    12517  0 
xfrm6_mode_transport    12517  0 
xfrm6_mode_ro          12458  0 
xfrm6_mode_beet        12576  0 
xfrm6_mode_tunnel      12546  0 
via                    45426  0 
ipcomp                 12655  0 
drm                   231841  1 via
ipcomp6                12658  0 
xfrm_ipcomp            13282  2 ipcomp,ipcomp6
xfrm6_tunnel           13522  1 ipcomp6
tunnel6                13078  1 xfrm6_tunnel
af_key                 31531  0 
xfrm_algo              14915  7 xfrm_user,ah6,ah4,esp6,esp4,xfrm_ipcomp,af_key
camellia_generic       29212  0 
cast6                  16773  0 
cast5                  24976  0 
deflate                12545  0 
zlib_deflate           26622  1 deflate
cts                    12816  0 
ctr                    13033  0 
gcm                    18768  0 
ccm                    17596  0 
serpent_sse2_i586      33732  0 
lrw                    13127  1 serpent_sse2_i586
serpent_generic        29612  1 serpent_sse2_i586
xts                    12752  1 serpent_sse2_i586
gf128mul               14503  2 lrw,xts
blowfish_generic       12474  0 
blowfish_common        16635  1 blowfish_generic
twofish_generic        16579  0 
twofish_i586           12755  0 
twofish_common         20985  2 twofish_generic,twofish_i586
xcbc                   12711  0 
sha512_generic         16780  0 
des_generic            21191  0 
geode_aes              13228  0 
cryptd                 19821  1 serpent_sse2_i586
aes_i586               16956  0 
vesafb                 13517  1 
rfcomm                 38103  0 
bnep                   17790  2 
bluetooth             189543  10 rfcomm,bnep
parport_pc             32114  0 
ppdev                  12849  0 
binfmt_misc            17292  1 
snd_hda_codec_via      46188  1 
snd_hda_intel          33028  3 
snd_hda_codec         112340  2 snd_hda_codec_via,snd_hda_intel
snd_hwdep              13276  1 snd_hda_codec
snd_pcm                81052  2 snd_hda_intel,snd_hda_codec
padlock_sha            13317  0 
snd_seq_midi           13132  0 
gpio_vx855             12716  0 
padlock_aes            12899  0 
via_cputemp            13101  0 
hwmon_vid              12723  1 via_cputemp
kvm_intel             127735  0 
snd_rawmidi            25425  1 snd_seq_midi
kvm                   365555  1 kvm_intel
snd_seq_midi_event     14475  1 snd_seq_midi
snd_seq                51568  2 snd_seq_midi,snd_seq_midi_event
snd_timer              28931  2 snd_pcm,snd_seq
snd_seq_device         14137  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    62520  15 snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse                77485  0 
i2c_viapro             12969  0 
serio_raw              13031  0 
soundcore              14635  1 snd
vx855                  12663  0 
shpchp                 32325  0 
snd_page_alloc         14108  2 snd_hda_intel,snd_pcm
mac_hid                13077  0 
lp                     17455  0 
parport                40930  3 parport_pc,ppdev,lp
via_velocity           37619  0 
crc_ccitt              12595  1 via_velocity
pata_via               13428  3 



cat /proc/interrupts 
           CPU0       
  0:         52   IO-APIC-edge      timer
  1:          3   IO-APIC-edge      i8042
  8:          1   IO-APIC-edge      rtc0
  9:          0   IO-APIC-fasteoi   acpi
 12:          4   IO-APIC-edge      i8042
 14:      15952   IO-APIC-edge      pata_via
 16:       2332   IO-APIC-fasteoi   eth0
 20:          0   IO-APIC-fasteoi   uhci_hcd:usb2
 21:          0   IO-APIC-fasteoi   uhci_hcd:usb4
 22:          0   IO-APIC-fasteoi   uhci_hcd:usb3
 23:          0   IO-APIC-fasteoi   ehci_hcd:usb1
 40:        842   PCI-MSI-edge      snd_hda_intel
NMI:          0   Non-maskable interrupts
LOC:     130500   Local timer interrupts
SPU:          0   Spurious interrupts
PMI:          0   Performance monitoring interrupts
IWI:          0   IRQ work interrupts
RTR:          0   APIC ICR read retries
RES:          0   Rescheduling interrupts
CAL:          0   Function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
THR:          0   Threshold APIC interrupts
MCE:          0   Machine check exceptions
MCP:          5   Machine check polls
ERR:          0
MIS:          0
Comment 1 guiguibud 2012-08-07 19:15:57 UTC
Forgot uname -a


Linux srvguigui 3.5.0-8-generic #8-Ubuntu SMP Sat Aug 4 06:50:06 UTC 2012 i686 i686 i386 GNU/Linux
Comment 2 guiguibud 2012-08-07 19:19:16 UTC
Also, you'll notice that I tried to force the card to respond to magic packets by adding in /etc/modprobe.d/


options via_velocity wol_opts=0
Comment 3 Alan 2012-08-15 22:22:22 UTC

*** This bug has been marked as a duplicate of bug 42849 ***
Comment 4 Alan 2012-08-15 22:23:14 UTC
oops wrong
Comment 5 guiguibud 2012-10-04 15:43:22 UTC
After much research, it seems that the last commit concerning WOL actually broke something : 

commit 2ffa007eaa01cf5fedd6a71f7d43854339a831ee
Author: françois romieu <romieu@xxxxxxxxxxxxx>
Date:   Thu Jan 20 04:59:33 2011 +0000

The last version of kernel where I can get WOL to work is 2.6.38 (right before that commit).

That commit was related to this discussion : http://www.spinics.net/lists/netdev/msg159188.html

Thanks a lot for your help.

Note You need to log in before you can comment on or make changes to this bug.