Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* A solution to em86 problems
@ 1998-01-16 14:05 Mika Kortelainen
  0 siblings, 0 replies; 2+ messages in thread
From: Mika Kortelainen @ 1998-01-16 14:05 UTC (permalink / raw)


...

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))

<-- clap -->

I.e. the fix is to change STACK_TOP to the lower definition (which was
in em86 patches for 2.0.30 but not in 2.0.32 or something like that).

	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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* A solution to em86 problems
@ 1997-12-17 16:22 Mika Kortelainen
  0 siblings, 0 replies; 2+ messages in thread
From: Mika Kortelainen @ 1997-12-17 16:22 UTC (permalink / 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

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

end of thread, other threads:[~1998-01-16 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-16 14:05 A solution to em86 problems Mika Kortelainen
  -- strict thread matches above, loose matches on Subject: below --
1997-12-17 16:22 Mika Kortelainen

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