Re: Next round of console patches

Gerd Knorr (kraxel@goldbach.isdn.cs.tu-berlin.de)
Mon, 31 Aug 1998 19:08:39 +0200 (CEST)


On Mon, 31 Aug 1998, Tom Eastep wrote:

> Richard Gooch wrote:
> >
> > Tom Eastep writes:
>
> > > Ok -- I patched vesafb.c as follows:
> > >
> > > mtrr_add((unsigned long)video_base, video_size, MTRR_TYPE_WRCOMB, 1);
> > > + mtrr_add((unsigned long)video_base, video_size, MTRR_TYPE_UNCACHABLE,
> > > 1);
> > >
> > > I still got the lockup.
> >
> > That's quite bad. Can you do two separate tests, please? Firstly,
> > insert a printk just before the call to mtrr_add() and send me a copy
> > of your kernel logs?
>
> Gerd: Is there a way to defer the call to this code until after boot? It's
> getting called so early in the boot sequence that no messages are logged.

No. You can comment out this line (I'll add a boot parameter to disable
the mtrr thing if we can't pin down this), so it will never be called.

But using echo and the /proc/mtrr interface you can do exactly the same
once the system is up.

Gerd

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html