Date: Tue, 10 Apr 2007 15:56:21 -0700 From: "David Christensen" <davidch@broadcom.com> To: "Jack Vogel" <jfvogel@gmail.com>, "Scott Long" <scottl@samsco.org> Cc: freebsd-current <freebsd-current@freebsd.org>, Julian Elischer <julian@elischer.org> Subject: RE: WOL question Message-ID: <09BFF2FA5EAB4A45B6655E151BBDD90303A029F6@NT-IRVA-0750.brcm.ad.broadcom.com> In-Reply-To: <2a41acea0704101538l6ae90e8ckf30b10fca4b571eb@mail.gmail.com> References: <2a41acea0704101439l17ba9347o8b9844416dbb25a1@mail.gmail.com> <461C08DF.8010201@elischer.org> <461C0C3A.7010304@samsco.org> <2a41acea0704101538l6ae90e8ckf30b10fca4b571eb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > I think I heard once that some BIOSes turn it off during=20 > the boot cycle > > > somewhere and it is up to the OS to turn it back on. I do=20 > know that some > > > BIOSes > > > phuck with the NIC enough to stop IPMI from working=20 > during the boot. > > > > > > > That would make sense; you don't want the card to generate=20 > an NMI during > > boot from a spurius WOL package before the system is ready=20 > to handle it. >=20 > Hmm, so I have two competing views about things, one is that=20 > the kernel > is actively doing something to disable WOL on shutdown, and now the > theory that its just not rearming the system. >=20 > I really need to know which it is, because I'm putting code=20 > in the driver that > I think should rearm it, and it doesnt work, and I've been=20 > left wondering if > my code is wrong, or if something deeper in the kernel is=20 > clobbering the > things I am trying to set up :) Is this a NIC or a LOM? For Broadcom NICs there is a procedure implemented in firmware for toggling power to the chip from MAIN to VAUX prior to=20 entering D3cold so that the controller still has power and can recognize the magic packet. For LOM designs that's not required because the VAUX rail is always powered by the motherboard. The easy way to check is to see if you still have a link LED lit on the back of the controller when you expect to be in WoL mode. No LED, no power. Are you resetting the=20 link speed to 100Mbps or less? Running at 1000Mbps generally draws more than 375mA and I've seen some systems that shutdown power to a slot when it draws too much power in VAUX. Dave
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09BFF2FA5EAB4A45B6655E151BBDD90303A029F6>