[vortex] WakeOnLan with 3c905C-TX-M

Donald Becker becker@scyld.com
Mon Jun 17 12:44:01 2002


On Mon, 17 Jun 2002, Ing. Simanek Milan zam wrote:

> Date: Mon, 17 Jun 2002 15:24:55 +0200 (MEST)
> From: Ing. Simanek Milan zam <simanek@fel.cvut.cz>
> To: Donald Becker <becker@scyld.com>
> Cc: vortex@scyld.com
> Subject: Re: [vortex] WakeOnLan with 3c905C-TX-M
>
> On Mon, 17 Jun 2002, Donald Becker wrote:
>
> > On Mon, 17 Jun 2002, Ing. Simanek Milan zam wrote:
> >
> > > I am trying to power on my PC using WakeOnLan feature, but the lan card
> > > does not receive WOL frames.
> > > 1) When I power off computer, all leds on the card turn off and nothing
> > >    else happens.
> > ..
> After rmmod 3c59x (just before poweroff) pci-config reports this:
> pci-config.c:v2.02a 4/15/2002 Donald Becker (becker@scyld.com)
>  http://www.scyld.com/diag/index.html
> Device #5 at bus 0 device/function 9/0.
>   920010b7 02100007 02000030 00004008 0000e001 ed000000 00000000 00000000
>   00000000 00000000 00000000 100010b7 ec000000 000000dc 00000000 0a0a0105
...
>   00000000 00000000 00000000 00000000 00000000 00000000 00000000 fe020001
>   b7004103 00000000 00000000 00000000 00000000 00000000 00000000 00000000
...
>   Extended capabilities, first structure at offset 0xdc.
>   Extended PCI capability type 1 at 0xdc, next 0.
>    Power management entry ver. 2: Capabilities fe02, Ctrl 4103, Event b700.
>    Power state D3.

This looks reasonable, except for 'Event'.
Are you certain that you are using my driver?

Ctrl 4103 is reporting
   0x.1.. the PME# pin is used to indicate wake-up events.
   0x...3 D3 state,

The 0x8000 bit in Ctrl will be set if a wake-up event occurs.

The event register bits are
 ...1   Wake on defined wake-up packet (e.g. ARP)
 ...2   Wake on Magic packet
 ...4   Wake on link change
 ...8   Wake on timer expiration
When these events happen we see
 ..1.   A wake-up event/packet has happened on timer expiration
 ..2.   A Magic Packet has arrived
 ..4.   Link status changed
 ..8.   Timer expired


> What is the difference between D3-warm and D3-cold state?

Main operating power (vs. standby power) applied, or not.

> Is it possible
> to verify RxEnable or RxFilter settings after removing the driver?

Usually with vortex-diag, but not in D3 state.  The device is mostly
powered down and doesn't respond in D3 state.

-- 
Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993