Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wm WOL not working anymore



Hi, Frank.

On 2016/10/24 14:56, Masanobu SAITOH wrote:
Hello.

On 2016/10/22 19:32, Frank Kardel wrote:
Hi !

There has be quite some work going on for wm interfaces.

When testing current kernels I found that some time after
if_wm.c:1.347 the WOL functionality has stopped working
on my ASRock 990FX Extreme 9 wm interfaces (PHYs are down
after "shutdown -p").

Compiling if_wm.c with "options WM_WOL" leads to
compilations errors (defined, but not used).

So currently I gather that WOL on wm is work in
progress - am I right ?

 Yes, It's work in progress...


dmesg snipplets:
wm0 at pci6 dev 0 function 0: Intel i82572EI 1000baseT Ethernet (rev. 0x06)
wm0: interrupting at ioapic1 pin 23
wm0: PCI-Express bus
wm0: 2048 words (16 address bits) SPI EEPROM, version 5.11.8, Image Unique ID 0000ffff
wm0: Ethernet address 00:1b:21:xx:yy:zz
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

wm1 at pci13 dev 0 function 0: Intel i82583V (rev. 0x00)
wm1: interrupting at ioapic0 pin 18
wm1: PCI-Express bus
wm1: 2048 words FLASH, version 1.10.0, Image Unique ID 0000ffff
wm1: Ethernet address bc:5f:f4:xx:yy:zz
makphy0 at wm1 phy 1: Marvell 88E1149 Gigabit PHY, rev. 1
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

Frank

Could you test with if_wm.c rev. 1.439?

If it doesn't wakeup with WOL packet, could you show me the
output of the following code in wm_get_wakeup()?

#ifdef WM_DEBUG
        printf("\n");
        if ((sc->sc_flags & WM_F_HAS_AMT) != 0)
                printf("HAS_AMT,");
        if ((sc->sc_flags & WM_F_ARC_SUBSYS_VALID) != 0)
                printf("ARC_SUBSYS_VALID,");
        if ((sc->sc_flags & WM_F_ASF_FIRMWARE_PRES) != 0)
                printf("ASF_FIRMWARE_PRES,");
        if ((sc->sc_flags & WM_F_HAS_MANAGE) != 0)
                printf("HAS_MANAGE,");
        printf("\n");
#endif

Regards.

--
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index