Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Mika Kortelainen <k125374@cs.tut.fi>
Subject: A solution to em86 problems
Date: Wed, 17 Dec 1997 18:22:05 +0200 (EET)	[thread overview]
Message-ID: <199712171622.SAA16120@kaarne.cs.tut.fi> (raw)

Hey,

a short while ago there was discussion about problems with 2.0.32
and em86.  I haven't seen any solutions here yet, so I thought
I post what I found out.

First, I had a pure 2.0.32 kernel with 2.0.30 patches (from
gatekeeper, under em86/v0.2) and em86 did work (after fixing obvious
conflicts manually).  Those with problems apparently had pure 2.0.32 with
2.0.32 patches (under Kernels at gatekeeper).  So, a compared those source
trees and there's one significant difference between them:

in the pure include/asm-alpha/a.out.h and also with patch-2.0.32
there is the following define:
#define STACK_TOP (0x00120000000UL)

but with 2.0.30 patches it says:
#define STACK_TOP ((current->personality & ADDR_MAX_32BIT) ? 0x100000000UL : \
      ((current->personality&ADDR_MAX_31BIT) ? 0x80000000UL : 0x00120000000UL))

When I changed it to the latter, em86 with 2.0.32 and 2.0.32 patches started
to work (no reports about "Your kernel does not support 31-bit addressing")
anymore.  And I have another report which supports this solution, too.

If this is the right fix, it perhaps could be included in the next 2.0.32
patches?

	Mika Kortelainen

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-12-17 16:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-17 16:22 Mika Kortelainen [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-01-16 14:05 A solution to em86 problems Mika Kortelainen
read-only archive

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