Re: 2.1.101 patch to boot on toshiba Portege 660CDT laptop

Jens Maurer (jmaurer@menuett.rhein-main.de)
Thu, 14 May 1998 23:46:38 +0200


This is a multi-part message in MIME format.

--------------3BC197847467545B2FFB2D2C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

Torgeir Veimo wrote:
> There exist a patch for the 2.0.* series on linux mama that is needed to
> get the 2.0.33 series to boot on some laptops when using make bzImage.
>
> The problem is related to cache coherene problems with addresses above
> 0x100000 after enabling the a20 gate.

This issue seems to come up here every two months or so.
Note that it concerns bzImage kernels only, zImage kernels
should be fine anyway.

> If someone could comment on whether this patch should be standard or not
> it would be appreciated. It would be sad if we needed special patched
> kernels to boot on commonplace laptop computers.

I wrote the original ("old") patch you attached to your mail (with
help from Hans Lermen and Werner Almesberger). However, I have
second-hand knowledge that this patch causes problems on a few
computers which work fine without the patch. (Note to all people
staring on the 0x2000 words = 16 KB thing: For the Toshiba Tecra
710CDT, on which I developed the patch, reading only two bytes
instead of 16 KB at that point was enough to get it to boot.)

I would be very interested in getting to know someone who does
have problems with this "old" patch on his or her machine.

In addition to that, Alan Cox correctly pointed out a few months
ago that the patch is rather unclean. Therefore, I developed a
nicer patch (attached below) which checks if we are on a 486 or
better and if so, disables the caches around the A20 toggle.
This is actually against 2.1.58, but seems to patch and compile
cleanly for 2.1.101 as well. Note that I no longer have access
to such a broken laptop and therefore need YOUR help to get it
tested.

If something like this ever goes into a production kernel, this
patch certainly is a better candidate than the "old" one. However,
before that happens, I do need positive and negative feedback.
I am especially interested in reports from people who had problems
with my "old" patch.

Thanks,
Jens

--------------3BC197847467545B2FFB2D2C
Content-Type: application/octet-stream; name="a20.patch"
Content-Transfer-Encoding: x-uuencode
Content-Disposition: attachment; filename="a20.patch"

begin 444 a20.patch
M9&EF9B`M=7).(&QI;G5X+3(N,2XU."YO<FEG+V%R8V@O:3,X-B]B;V]T+W-E
M='5P+E,@;&EN=7@O87)C:"]I,S@V+V)O;W0O<V5T=7`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`T,@HK"BLC:69D968@7U]"24=?2T523D5,7U\**PEA;F0@
M961X+"!E9'@**PEJ92!E;F1?83(P"0DA(&ET)W,@82`S.#8Z('-K:7`@8V%C
M:&4@<W1U9F8**PHK(2!T=7)N('1H92!C86-H97,@8F%C:R!O;@HK"6UO=B!E
M87@L(&-R,`HK"6%N9"!E87@L(",P>#EF9F9F9F9F"2$@8VQE87(@0T0@86YD
M($Y7(&)I=',**PEM;W8@8W(P+"!E87@)"2$@96YA8FQE(&-A8VAE<PHK"6EN
M=F0)"0DA(&EN=F%L:61A=&4@8V%C:&4@96YT<FEE<PHK96YD7V$R,#H**R-E
M;F1I9B`O*B!?7T))1U]+15).14Q?7R`J+PHK"BLA('-E='5P(&1E<V-R:7!T
M;W(@=&%B;&5S"0HK"6QI9'0):61T7S0X"0DA(&QO860@:61T('=I=&@@,"PP
M"BL);&=D=`EG9'1?-#@)"2$@;&]A9"!G9'0@=VET:"!W:&%T979E<B!A<'!R
M;W!R:6%T90H@"B`A(&UA:V4@<W5R92!A;GD@<&]S<VEB;&4@8V]P<F]C97-S
9;W(@:7,@<')O<&5R;'D@<F5S970N+@H@"@``
`
end

--------------3BC197847467545B2FFB2D2C--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu