From: Andrew Morton <akpm@osdl.org>
To: "Björn Steinbrink" <B.Steinbrink@gmx.de>
Cc: Martin Filip <bugtraq@smoula.net>,
linux-kernel@vger.kernel.org, Ayaz Abdulla <aabdulla@nvidia.com>
Subject: Re: forcedeth - WOL [SOLVED]
Date: Wed, 27 Sep 2006 18:36:25 -0700 [thread overview]
Message-ID: <20060927183625.5231e969.akpm@osdl.org> (raw)
In-Reply-To: <20060928010133.GB3521@atjola.homenet>
On Thu, 28 Sep 2006 03:01:33 +0200
Björn Steinbrink <B.Steinbrink@gmx.de> wrote:
> On 2006.09.28 02:40:53 +0200, Björn Steinbrink wrote:
> > On 2006.09.28 02:04:48 +0200, Björn Steinbrink wrote:
> > >
> > > Hi Andrew,
> > >
> > >
> > > On 2006.09.27 16:57:04 -0700, Andrew Morton wrote:
> > > > On Wed, 27 Sep 2006 22:38:06 +0200
> > > > Martin Filip <bugtraq@smoula.net> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > Bj__rn Steinbrink p____e v St 27. 09. 2006 v 20:38 +0200:
> > > > >
> > > > > > Did you check that WOL was enabled? I need to re-activate it after each
> > > > > > boot (I guess that's normal, not sure though).
> > > > > > The output of "ethtool eth0" should show:
> > > > > >
> > > > > > Supports Wake-on: g
> > > > > > Wake-on: g
> > > > > >
> > > > > Yes, of course :)
> > > > >
> > > > > > Also, I remember a bugzilla entry in which it was said that the MAC was
> > > > > > somehow reversed by the driver. I that is still the case (I can't find
> > > > > > the bugzilla entry right now), you might just reverse the MAC address in
> > > > > > your WOL packet to workaround the bug.
> > > > >
> > > > > Hey! this is really crazy :) but it works! To bo honest - I really do
> > > > > not know what crazy bug could cause problems like this. I thought it's
> > > > > NIC thing to manage all the work about WOL. I thought OS only sets NIC
> > > > > into "WOL mode".
> > > > >
> > > > > But seeing this - one packet for windows and one magic packet for linux
> > > > > driver - I really do not get it.
> > > > >
> > > >
> > > > Are you saying that byte-reversing the MAC address make WOL work correctly?
> > > >
> > > > What tool do you use to send the packet, and how is it being invoked?
>
> As I like replying to myself, I of course intentionally forgot to answer
> this question... *sigh*
>
> I used etherwake this time, but tried with a self-made tool (which works
> with my Broadcom NIC) when I discovered the bug report.
>
> etherwake 01:23:45:67:89:ab -- works when I shutdown during POST
> etherwake ab:89:67:45:23:01 -- works when WOL was enabled with ethtool
OK, I use etherwake too.
> > > > Do we know if this reversal *always* happens with this driver, or only
> > > > sometimes?
>
> I only tried 2.6.18 twice this time, but when I wrote my own tool to do
> it, I had probably 20-30 power on -> ethtool -> poweroff cycles before I
> decided to look into Bugzilla. As it looked like being fixed already and
> I did use the nForce NIC for testing only, I didn't spend any further
> time on it back then.
What I'm angling towards is: "is this just a driver bug"?
next prev parent reply other threads:[~2006-09-28 1:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-27 17:50 forcedeth - WOL Martin Filip
2006-09-27 18:35 ` Alistair John Strachan
2006-09-27 20:26 ` Martin Filip
2006-09-27 20:48 ` Francois Romieu
2006-09-27 21:20 ` John W. Linville
2006-09-27 18:38 ` Björn Steinbrink
2006-09-27 20:38 ` forcedeth - WOL [SOLVED] Martin Filip
2006-09-27 23:57 ` Andrew Morton
2006-09-28 0:04 ` Björn Steinbrink
2006-09-28 0:40 ` Björn Steinbrink
2006-09-28 1:01 ` Björn Steinbrink
2006-09-28 1:36 ` Andrew Morton [this message]
2006-09-28 2:04 ` Björn Steinbrink
2006-09-28 2:24 ` Björn Steinbrink
2006-09-28 3:39 ` Andrew Morton
2006-09-28 11:37 ` Martin Filip
2006-09-28 17:09 ` Ayaz Abdulla
2006-09-28 1:03 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060927183625.5231e969.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=B.Steinbrink@gmx.de \
--cc=aabdulla@nvidia.com \
--cc=bugtraq@smoula.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox