From: "H. J. Lu" <hjl@lucon.org>
To: linux-ia64@vger.kernel.org
Subject: Re: make X server on zx2000 (and probably others) work again
Date: Wed, 22 Oct 2003 22:47:13 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106686296915643@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106678442302747@msgid-missing>
On Tue, Oct 21, 2003 at 05:59:58PM -0700, David Mosberger wrote:
> In recent 2.5/6 kernels, the X server on my zx2000/Radeon workstation
> would cause a crash. Turns out this is due to a long-standing bug in
> efi.c: the range checking in efi_mem_type() and efi_mem_attributes()
> could cause an underflow if the size of a memory descriptor is zero
> (as happens sometimes due to memory trimming). In my case, granule
> zero had a zero size and that in turn caused all /dev/mem mappings to
> occur with WRITE-BACK mapping, which doesn't make the X server happy
> (instant MCA on a zx2000, for example).
>
> Note that this bug existed for a long time, so it's possible that
> there may have been other subtle memory-attribute related problems in
> the past. This bug just became more noticable recently, since the
> /dev/mem driver now completely ignores the O_SYNC flag and relies
> totally on the value returned by efi_mem_attributes().
>
I have a very strange problem with my bigsur. Whenever I put a new
kernel on it, it would crash at random without any warnings during boot
after a warm reboot. I had to power cycle it to get it to boot. After
applying this patch to 2.4.21, I have rebooted it twice without
powering it down first.
H.J.
next prev parent reply other threads:[~2003-10-22 22:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-22 0:59 make X server on zx2000 (and probably others) work again David Mosberger
2003-10-22 22:47 ` H. J. Lu [this message]
2003-10-22 23:53 ` David Mosberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-106686296915643@msgid-missing \
--to=hjl@lucon.org \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox