public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: zImage not supported for 2.2.20?
@ 2001-12-28 21:06 Andries.Brouwer
  2001-12-28 21:55 ` H. Peter Anvin
  2001-12-28 23:57 ` Alan Cox
  0 siblings, 2 replies; 27+ messages in thread
From: Andries.Brouwer @ 2001-12-28 21:06 UTC (permalink / raw)
  To: hpa, linux-kernel

    From: "H. Peter Anvin" <hpa@zytor.com>

    > Unfortunately, I need to use zImage on my Tecra.  I know that zImage is
    > old, and I've heard that support for it will eventually be withdrawn,
    > but I don't really have much alternative right now unless there is
    > a patch which works around the Tecra's buggy A20 handling.

    Oh, by the way, the "I need to use zImage on my Tecra" thing is making
    it work by the use of voodoo.  It's rather unfortunate it worked on
    some systems -- it's going to fail randomly on you anyway; it's just a
    matter of which way the timings and cache items get jerked around.

    I have asked Alan for more details on the workaround, but perhaps the
    thing to do is to backport the latest 2.4 A20 code back to 2.2 and see
    if that solves the *real* problem, so bzImage works.

    I don't think there is any reason to believe zImage doesn't work
    unless bzImage works on your system.

I my A20 writeup (http://www.win.tue.nl/~aeb/linux/kbd/A20.html) I wrote:

------------------------------------------------------------------------
Jens Maurer reported in 1996 on boot problems with a bzImage kernel: 

    On the Toshiba laptop, the first two bytes at 0x100000 are incorrect
    and identical to those from address 0x000000 (which was an alias for
    0x100000 before the A20 gate enable). At a second read from 0x100000
    immediately afterwards, the correct memory content is returned.
    Asus P55TP5XE boards (Triton I chipset) show quite the same problem,
    but there, only the first byte is incorrect and booting bzImage kernels
    works fine. To me, this looks like some buffer or cache coherency
    problem although I think that caches are organized in at least 16
    byte cache lines. ... This exact same problem reportedly also exists
    on Fujitsu 555T (report from Andrea Caltroni) laptop and Compudyne
    Pentium 60 (report from David Kerr) desktop computers. 

He gives a patch, and adds "Unfortunately, Philip Hands reports that
the above patch makes some people with other non-laptop computers unable
to boot." 

Using zImage instead of bzImage avoids the problem (since zImage is not
loaded high). Debian has distributed special Tecra boot floppies for a while.
Later it was found out that these laptops just have an incredibly slow
keyboard controller and that all is fine with a larger timeout. 
------------------------------------------------------------------------

Is this inaccurate?

Andries

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: zImage not supported for 2.2.20?
@ 2001-12-29  0:01 Andries.Brouwer
  2001-12-29  0:17 ` H. Peter Anvin
  2001-12-29  0:20 ` H. Peter Anvin
  0 siblings, 2 replies; 27+ messages in thread
From: Andries.Brouwer @ 2001-12-29  0:01 UTC (permalink / raw)
  To: Andries.Brouwer, alan; +Cc: hpa, linux-kernel

> Does anyone have the patch to look at ?

See http://www.cck.uni-kl.de/misc/tecra710/toshiba-small.diff

Andries

^ permalink raw reply	[flat|nested] 27+ messages in thread
* zImage not supported for 2.2.20?
@ 2001-12-28 10:18 Roy Hills
  2001-12-28 12:12 ` Matthias Andree
  2001-12-28 13:11 ` Roy Hills
  0 siblings, 2 replies; 27+ messages in thread
From: Roy Hills @ 2001-12-28 10:18 UTC (permalink / raw)
  To: linux-kernel

I'm using linux kernel 2.2.20 on my systems.  This works fine as a
bzImage which most of my systems use, however one of my systems
(a Toshiba Tecra laptop) needs to use zImage, and I find that 2.2.20
does not work in this case, although previous versions e.g. 2.2.17 do.

When I look at the kernels with "file", I notice that the 2.2.20 kernel doesn't
report zImage/bzImage like the older kernels did.  2.2.20 also omits the
system that it was built on and the build date. E.g:

$ file /boot/vmlinuz-2.2.*
/boot/vmlinuz-2.2.19:     Linux kernel x86 boot executable bzImage, version 
2.2.19
  (root@mercury) #7 Fri No, RO-rootFS, root_dev=0x301, Normal VGA
/boot/vmlinuz-2.2.20:     Linux kernel x86 boot executable RO-rootFS, 
root_dev=0x3
01, Normal VGA

$ file --version
file-3.27
magic data from /etc/magic:/usr/share/misc/magic

I'm running Debian GNU/Linux 2.2r4 (potato) using monolithic kernels compiled
from source.

Is this the end of zImage support, or is there something else different 
about the
2.2.20 boot loading process that might be tickling the buggy hardware in my 
Tecra?

Regards,

Roy Hills
--
Roy Hills                                    Tel:   +44 1634 721855
NTA Monitor Ltd                              FAX:   +44 1634 721844
14 Ashford House, Beaufort Court,
Medway City Estate,                          Email: Roy.Hills@nta-monitor.com
Rochester, Kent ME2 4FA, UK                  WWW:   http://www.nta-monitor.com/


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

end of thread, other threads:[~2002-01-02  0:55 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-28 21:06 zImage not supported for 2.2.20? Andries.Brouwer
2001-12-28 21:55 ` H. Peter Anvin
2001-12-28 23:57 ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-12-29  0:01 Andries.Brouwer
2001-12-29  0:17 ` H. Peter Anvin
2001-12-29  0:20 ` H. Peter Anvin
2001-12-28 10:18 Roy Hills
2001-12-28 12:12 ` Matthias Andree
2001-12-28 13:11 ` Roy Hills
2001-12-28 13:35   ` Matthias Andree
2001-12-28 14:32   ` Petri Kaukasoina
2001-12-28 20:13     ` Wolfgang Erig
2001-12-29  2:23       ` H. Peter Anvin
2002-01-01 15:16         ` Wolfgang Erig
2001-12-28 17:44   ` Roy Hills
2001-12-28 18:19     ` Alan Cox
2001-12-28 20:36       ` Petri Kaukasoina
2001-12-29  2:25         ` H. Peter Anvin
2001-12-29  2:58           ` Alan Cox
2001-12-29 11:01           ` Petri Kaukasoina
2001-12-28 18:36     ` H. Peter Anvin
2001-12-28 19:04       ` Alan Cox
2001-12-28 18:42     ` H. Peter Anvin
2001-12-31  9:12     ` Roy Hills
2002-01-02  0:54       ` H. Peter Anvin
2001-12-31 12:16     ` Roy Hills
2001-12-31 13:06       ` Petri Kaukasoina

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