public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6 vs 2.4: pxe booting system won't restart
@ 2004-11-10 18:36 Brian Jackson
  2004-11-10 18:37 ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Jackson @ 2004-11-10 18:36 UTC (permalink / raw)
  To: linux-kernel

I'm having a problem with 2.6 (many versions), and my Via Epia M10000
not rebooting correctly. 2.4 works fine. The problem is after the
computer restarts, and the pxe stuff from the bios tries to do it's
thing, it fails. I get the following error:
PXE_M0F: Exiting Intel PXE ROM.

Then the bios tries to fallback to other means of booting, and there
are none. Anybody got any clues where to start looking for fixes?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6 vs 2.4: pxe booting system won't restart
  2004-11-10 18:36 2.6 vs 2.4: pxe booting system won't restart Brian Jackson
@ 2004-11-10 18:37 ` Alan Cox
  2004-11-10 20:36   ` Brian Jackson
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 2004-11-10 18:37 UTC (permalink / raw)
  To: Brian Jackson; +Cc: Linux Kernel Mailing List

On Mer, 2004-11-10 at 18:36, Brian Jackson wrote:
> I'm having a problem with 2.6 (many versions), and my Via Epia M10000
> not rebooting correctly. 2.4 works fine. The problem is after the
> computer restarts, and the pxe stuff from the bios tries to do it's
> thing, it fails. I get the following error:
> PXE_M0F: Exiting Intel PXE ROM.
> 
> Then the bios tries to fallback to other means of booting, and there
> are none. Anybody got any clues where to start looking for fixes?

Remove the kernel code that powers down the ethernet chip. If that works
then poke VIA.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6 vs 2.4: pxe booting system won't restart
  2004-11-10 18:37 ` Alan Cox
@ 2004-11-10 20:36   ` Brian Jackson
  2004-11-10 22:16     ` Alan Cox
  2004-11-11 18:43     ` Roger Luethi
  0 siblings, 2 replies; 5+ messages in thread
From: Brian Jackson @ 2004-11-10 20:36 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel Mailing List

On Wed, 10 Nov 2004 18:37:31 +0000, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> On Mer, 2004-11-10 at 18:36, Brian Jackson wrote:
> 
> 
> > I'm having a problem with 2.6 (many versions), and my Via Epia M10000
> > not rebooting correctly. 2.4 works fine. The problem is after the
> > computer restarts, and the pxe stuff from the bios tries to do it's
> > thing, it fails. I get the following error:
> > PXE_M0F: Exiting Intel PXE ROM.
> >
> > Then the bios tries to fallback to other means of booting, and there
> > are none. Anybody got any clues where to start looking for fixes?
> 
> Remove the kernel code that powers down the ethernet chip. If that works

Yay, looks like this bit near line 1950 of via-rhine.c:
	/* Hit power state D3 (sleep) */
	writeb(readb(ioaddr + StickyHW) | 0x03, ioaddr + StickyHW);

I removed that, and it works like a charm now. Thank you very much.

> then poke VIA.

Poke them to fix the driver or to fix the bios?

> 
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6 vs 2.4: pxe booting system won't restart
  2004-11-10 20:36   ` Brian Jackson
@ 2004-11-10 22:16     ` Alan Cox
  2004-11-11 18:43     ` Roger Luethi
  1 sibling, 0 replies; 5+ messages in thread
From: Alan Cox @ 2004-11-10 22:16 UTC (permalink / raw)
  To: Brian Jackson; +Cc: Linux Kernel Mailing List

On Mer, 2004-11-10 at 20:36, Brian Jackson wrote:
> > Remove the kernel code that powers down the ethernet chip. If that works
> 
> Yay, looks like this bit near line 1950 of via-rhine.c:
> 	/* Hit power state D3 (sleep) */
> 	writeb(readb(ioaddr + StickyHW) | 0x03, ioaddr + StickyHW);
> 
> I removed that, and it works like a charm now. Thank you very much.

Excellent - its as I thought - the BIOS isn't bringing the chip out of
powersave for PXE but assumes it is live. Possibly one for a module
option but really it is a BIOS bug, although a very minor and easy to
understand how it got missed one

Alan


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6 vs 2.4: pxe booting system won't restart
  2004-11-10 20:36   ` Brian Jackson
  2004-11-10 22:16     ` Alan Cox
@ 2004-11-11 18:43     ` Roger Luethi
  1 sibling, 0 replies; 5+ messages in thread
From: Roger Luethi @ 2004-11-11 18:43 UTC (permalink / raw)
  To: Brian Jackson; +Cc: Alan Cox, Linux Kernel Mailing List

[BCC'ed the people at VNTEK who are on the case]

On Wed, 10 Nov 2004 14:36:50 -0600, Brian Jackson wrote:
> > > Then the bios tries to fallback to other means of booting, and there
> > > are none. Anybody got any clues where to start looking for fixes?
> > 
> > Remove the kernel code that powers down the ethernet chip. If that works
> 
> Yay, looks like this bit near line 1950 of via-rhine.c:
> 	/* Hit power state D3 (sleep) */
> 	writeb(readb(ioaddr + StickyHW) | 0x03, ioaddr + StickyHW);
> 
> I removed that, and it works like a charm now. Thank you very much.

I'm sorry, I should posted a warning earlier. This problem has been
reported before.

> > then poke VIA.
> 
> Poke them to fix the driver or to fix the bios?

BIOS. I can't fix this in the driver. Some hardware requires D3 for WOL.

Roger

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-11-11 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-10 18:36 2.6 vs 2.4: pxe booting system won't restart Brian Jackson
2004-11-10 18:37 ` Alan Cox
2004-11-10 20:36   ` Brian Jackson
2004-11-10 22:16     ` Alan Cox
2004-11-11 18:43     ` Roger Luethi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox