Very strange issues with ethernet wake on lan
Subsystems (2)
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like pci_prepare_to_sleep have arrived, etc.
I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)
I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));
in .suspend, then WOL always works.
and I have even tried to set state manually to PCI_D3hot or PCI_D3cold,
I also tried to use pci_save_state
I also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
Any ideas?
Best regards,
Maxim Levitsky
Maxim Levitsky
Acked-by Pavel MachekQuoted 33 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,
Quoted 7 lines
I also tried to use
pci_save_stateI also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
Bisect reveals:
44e4e66eeae5338b3ca0b28f8352e60bf18d5ba8 is first bad commit commit 44e4e66eeae5338b3ca0b28f8352e60bf18d5ba8
Author: Rafael J. Wysocki <[email protected]> Date: Mon Jul 7 03:32:52 2008 +0200
PCI: rework pci_set_power_state function to call platform first
Rework pci_set_power_state() so that the platform callback is invoked before the native mechanism, if necessary. Also, make the function check if the device is power manageable by the platform before invoking the platform callback.
This may matter if the device dependent on additional power resources controlled by the platform is being put into D0, in which case those power resources must be turned on before we attempt to handle the device itself.
Note that probably this device has no acpi entries, because it is an addon card, bios knows nothing about it
Best regards,
Maxim Levitsky
Maxim Levitsky
Acked-by Pavel MachekQuoted 33 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,
Quoted 7 lines
I also tried to use
pci_save_stateI also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
Bisect reveals:
44e4e66eeae5338b3ca0b28f8352e60bf18d5ba8 is first bad commit commit 44e4e66eeae5338b3ca0b28f8352e60bf18d5ba8
Author: Rafael J. Wysocki <[email protected]> Date: Mon Jul 7 03:32:52 2008 +0200
PCI: rework pci_set_power_state function to call platform first
Rework pci_set_power_state() so that the platform callback is invoked before the native mechanism, if necessary. Also, make the function check if the device is power manageable by the platform before invoking the platform callback.
This may matter if the device dependent on additional power resources controlled by the platform is being put into D0, in which case those power resources must be turned on before we attempt to handle the device itself.
Note that probably this device has no acpi entries, because it is an addon card, bios knows nothing about it
Best regards,
Maxim Levitsky
Quoted 62 lines · Maxim Levitsky
Quoted 33 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,Quoted 7 lines
I also tried to use
pci_save_stateI also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
Bisect reveals:
44e4e66eeae5338b3ca0b28f8352e60bf18d5ba8is first bad commit commit44e4e66eeae5338b3ca0b28f8352e60bf18d5ba8Author: Rafael J. Wysocki <[email protected]> Date: Mon Jul 7 03:32:52 2008 +0200PCI: rework
pci_set_power_statefunction to call platform firstRework
pci_set_power_state()so that the platform callback is invoked before the native mechanism, if necessary. Also, make the function check if the device is power manageable by the platform before invoking the platform callback.This may matter if the device dependent on additional power resources controlled by the platform is being put into D0, in which case those power resources must be turned on before we attempt to handle the device itself.
Quoted 7 lines
Signed-off-by Rafael J. Wysocki <[email protected]>Acked-by Pavel Machek <[email protected]>Signed-off-by Jesse Barnes <[email protected]>Note that probably this device has no acpi entries, because it is an addon card, bios knows nothing about it
Well, thanks, but I was going to have a look at this issue anyway. :-)
Best,
Rafael
Quoted 62 lines · Maxim Levitsky
Quoted 33 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,Quoted 7 lines
I also tried to use
pci_save_stateI also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
Bisect reveals:
44e4e66eeae5338b3ca0b28f8352e60bf18d5ba8is first bad commit commit44e4e66eeae5338b3ca0b28f8352e60bf18d5ba8Author: Rafael J. Wysocki <[email protected]> Date: Mon Jul 7 03:32:52 2008 +0200PCI: rework
pci_set_power_statefunction to call platform firstRework
pci_set_power_state()so that the platform callback is invoked before the native mechanism, if necessary. Also, make the function check if the device is power manageable by the platform before invoking the platform callback.This may matter if the device dependent on additional power resources controlled by the platform is being put into D0, in which case those power resources must be turned on before we attempt to handle the device itself.
Quoted 7 lines
Signed-off-by Rafael J. Wysocki <[email protected]>Acked-by Pavel Machek <[email protected]>Signed-off-by Jesse Barnes <[email protected]>Note that probably this device has no acpi entries, because it is an addon card, bios knows nothing about it
Well, thanks, but I was going to have a look at this issue anyway. :-)
Best,
Rafael
Quoted 34 lines · Maxim Levitsky
Quoted 33 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,
Quoted 7 lines
Quoted 7 lines
I also tried to use
pci_save_stateI also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
I need a dmesg output containing at least one suspend-resume cycle (preferably two cycles, the first one where WoL worked and another one where it didn't).
Best,
Rafael
Quoted 38 lines · Rafael J. Wysocki
Quoted 37 lines · Maxim Levitsky
Quoted 36 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,I also tried to use
pci_save_state
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
I also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
I need a dmesg output containing at least one suspend-resume cycle (preferably two cycles, the first one where WoL worked and another one where it didn't).
I am really sorry for late reply.
I attach the dmesg.
dmesg1 - after a boot, and dmfe reload
dmesg2 - after first s2ram cycle (wol didn't work)
dmesg3 - after second s2ram cycle (wol did work)
dmesg4 - after third s2ram cycle (wol did work), this is just in case.
Also I attach changes I did to the driver to make it enable wol by default.
Best regards,
Maxim Levitsky
DMFE: enable WOL by default
From: Maxim Levitsky <[email protected]>
---
drivers/net/tulip/dmfe.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/tulip/dmfe.c +2 -1
@@ -444,7 +444,8 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev, db->chip_id = ent->driver_data; db->ioaddr =pci_resource_start (pdev,0 ); db->chip_revision = pdev->revision; - db->wol_mode =0 ; + db->wol_mode =WAKE_MAGIC ; +device_set_wakeup_enable (&pdev->dev,1 ); db->pdev = pdev;
Quoted 38 lines · Rafael J. Wysocki
Quoted 37 lines · Maxim Levitsky
Quoted 36 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,I also tried to use
pci_save_state
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
I also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
I need a dmesg output containing at least one suspend-resume cycle (preferably two cycles, the first one where WoL worked and another one where it didn't).
I am really sorry for late reply.
I attach the dmesg.
dmesg1 - after a boot, and dmfe reload
dmesg2 - after first s2ram cycle (wol didn't work)
dmesg3 - after second s2ram cycle (wol did work)
dmesg4 - after third s2ram cycle (wol did work), this is just in case.
Also I attach changes I did to the driver to make it enable wol by default.
Best regards,
Maxim Levitsky
DMFE: enable WOL by default
From: Maxim Levitsky <[email protected]>
---
drivers/net/tulip/dmfe.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/tulip/dmfe.c +2 -1
@@ -444,7 +444,8 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev, db->chip_id = ent->driver_data; db->ioaddr =pci_resource_start (pdev,0 ); db->chip_revision = pdev->revision; - db->wol_mode =0 ; + db->wol_mode =WAKE_MAGIC ; +device_set_wakeup_enable (&pdev->dev,1 ); db->pdev = pdev;
Quoted 38 lines · Rafael J. Wysocki
Quoted 37 lines · Maxim Levitsky
Quoted 36 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,I also tried to use
pci_save_state
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
I also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
I need a dmesg output containing at least one suspend-resume cycle (preferably two cycles, the first one where WoL worked and another one where it didn't).
I am really sorry for late reply.
I attach the dmesg.
dmesg1 - after a boot, and dmfe reload
dmesg2 - after first s2ram cycle (wol didn't work)
dmesg3 - after second s2ram cycle (wol did work)
dmesg4 - after third s2ram cycle (wol did work), this is just in case.
Also I attach changes I did to the driver to make it enable wol by default.
Best regards,
Maxim Levitsky
DMFE: enable WOL by default
From: Maxim Levitsky <[email protected]>
---
drivers/net/tulip/dmfe.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/tulip/dmfe.c +2 -1
@@ -444,7 +444,8 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev, db->chip_id = ent->driver_data; db->ioaddr =pci_resource_start (pdev,0 ); db->chip_revision = pdev->revision; - db->wol_mode =0 ; + db->wol_mode =WAKE_MAGIC ; +device_set_wakeup_enable (&pdev->dev,1 ); db->pdev = pdev;
Quoted 34 lines · Maxim Levitsky
Quoted 33 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,
Quoted 7 lines
Quoted 7 lines
I also tried to use
pci_save_stateI also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
I need a dmesg output containing at least one suspend-resume cycle (preferably two cycles, the first one where WoL worked and another one where it didn't).
Best,
Rafael
Quoted 33 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,
Quoted 7 lines
I also tried to use
pci_save_stateI also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
Please check if this still happens with 2.6.32-rc1.
Best,
Rafael
Quoted 37 lines · Rafael J. Wysocki
Quoted 36 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,I also tried to use
pci_save_state
Quoted 6 lines
Quoted 4 lines
I also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
Please check if this still happens with 2.6.32-rc1.
It doesn't! (-git as of today tested)
Thanks,
Best regards,
Maxim Levitsky
Quoted 7 lines
Best,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 38 lines · Maxim Levitsky
Quoted 37 lines · Rafael J. Wysocki
Quoted 36 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,I also tried to use
pci_save_state
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
I also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
Please check if this still happens with 2.6.32-rc1.
It doesn't! (-git as of today tested)
Great, thanks for verifying.
Best,
Rafael
Quoted 33 lines · Maxim Levitsky
Hi,
I have recently put back the davicom dm9009 ethernet card into my computer.
Some long time ago, I have written its suspend/resume routines. Now I see that few things have changed, like I need to enable wake in sysfs or better patch the code to do so, some nice helpers like
pci_prepare_to_sleephave arrived, etc.I narrowed the strange issue down to following situation:
I reload dmfe.ko (and networkmanager is disabled)
I don't ifup the device, thus pretty much no hardware initialization takes place (but this appears not to matter anyway)I then suspend the system, and WOL doesn't work (I have patched the driver to enable WOL automaticly)
I then, suspend again. WOL works, and continues to work as long as I don't reload the driver. If I do, same situation repeats.
Also, after a boot, WOL works, so a reload cycle triggers that issue.
And most importantly, if I don't do a
pci_set_power_state(pci_dev, pci_choose_state (pci_dev, state));in .suspend, then WOL always works.
and I have even tried to set state manually to
PCI_D3hotorPCI_D3cold,
Quoted 7 lines
I also tried to use
pci_save_stateI also have 2 copies of this card, and both have this issue. I also tried 2 pci slots.
Kernel is vanilla 2.6.31-rc5
Please check if this still happens with 2.6.32-rc1.
Best,
Rafael