* em86 Problems
@ 1997-05-17 17:34 Al Shjarback
0 siblings, 0 replies; 8+ messages in thread
From: Al Shjarback @ 1997-05-17 17:34 UTC (permalink / raw)
Recently I decided to have a go at running em86 while recompiling a kernel
I got hung up with the following....
gcc -D__KERNEL__ -I/usr/src/linux-2.0.30/include -Wall -Wstrict-prototypes -g -O2 -pipe -mno-fp-regs -c -o init/main.o init/main.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.30/include -Wall -Wstrict-prototypes -g -O2 -pipe -mno-fp-regs -DUTS_MACHINE='"alpha"' -c -o init/version.o init/version.c
set -e; for i in kernel drivers mm fs net ipc lib arch/alpha/kernel arch/alpha/mm arch/alpha/lib arch/alpha/math-emu; do make -C $i; done
make[1]: Entering directory `/usr/src/linux-2.0.30/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.0.30/kernel'
exec.c: In function `binfmt_setup':
exec.c:79: warning: implicit declaration of function `init_em86_binfmt'
<snip>
gcc -D__KERNEL__ -I/usr/src/linux-2.0.30/include -Wall -Wstrict-prototypes -g -O2 -pipe -mno-fp-regs -c -o binfmt_elf.o binfmt_elf.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.30/include -Wall -Wstrict-prototypes -g -O2 -pipe -mno-fp-regs -c -o binfmt_aout.o binfmt_aout.c
make[2]: *** No rule to make target `binfmt_em86.o', needed by `fs.o'. Stop.
make[2]: Leaving directory `/usr/src/linux-2.0.30/fs'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.30/fs'
make: *** [linuxsubdirs] Error 2
The configuration is:
kernel 2.0.30
traparg-patch-2.0
em86-patch
axp-diffs-2.0.30
UDB 166
installed the em86-libs.tar.gz
Any Ideas...??
Thanks..Al Shjarback
als@intac.com
--
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] 8+ messages in thread
* Re: Profiling still broken?
@ 1997-09-30 17:35 Toon Moene
1997-09-30 18:12 ` Em86 problems Scott Manley
0 siblings, 1 reply; 8+ messages in thread
From: Toon Moene @ 1997-09-30 17:35 UTC (permalink / raw)
> So in any case, what's one to do regarding profiling?
> Is there a patch for gcc 2.7.2.1 to fix it? Or should
> I grab some code from g77-0.5.21? Or should I get
> 2.7.2.3? Or what?
This is the patch that went into g77-0.5.21 for gcc-2.7.2.3:
- - - - - - - - 8< - - - - - - - - - - - 8< - - - - - - - - - - - -
diff -rcp2N gcc-2.7.2.3/final.c gcc-2.7.2.3.f.1/final.c
*** gcc-2.7.2.3/final.c Sun Nov 26 18:50:00 1995
--- gcc-2.7.2.3.f.1/final.c Fri Jul 11 00:11:16 1997
*************** profile_function (file)
*** 983,991 ****
text_section ();
! #ifdef STRUCT_VALUE_INCOMING_REGNUM
if (sval)
ASM_OUTPUT_REG_PUSH (file, STRUCT_VALUE_INCOMING_REGNUM);
#else
! #ifdef STRUCT_VALUE_REGNUM
if (sval)
ASM_OUTPUT_REG_PUSH (file, STRUCT_VALUE_REGNUM);
--- 983,991 ----
text_section ();
! #if defined(STRUCT_VALUE_INCOMING_REGNUM) &&
defined(ASM_OUTPUT_REG_PUSH)
if (sval)
ASM_OUTPUT_REG_PUSH (file, STRUCT_VALUE_INCOMING_REGNUM);
#else
! #if defined(STRUCT_VALUE_REGNUM) && defined(ASM_OUTPUT_REG_PUSH)
if (sval)
ASM_OUTPUT_REG_PUSH (file, STRUCT_VALUE_REGNUM);
*************** profile_function (file)
*** 993,1027 ****
#endif
! #if 0
! #ifdef STATIC_CHAIN_INCOMING_REGNUM
if (cxt)
ASM_OUTPUT_REG_PUSH (file, STATIC_CHAIN_INCOMING_REGNUM);
#else
! #ifdef STATIC_CHAIN_REGNUM
#else
! #ifdef STATIC_CHAIN_REGNUM
if (cxt)
ASM_OUTPUT_REG_PUSH (file, STATIC_CHAIN_REGNUM);
#endif
#endif
- #endif /* 0 */
FUNCTION_PROFILER (file, profile_label_no);
! #if 0
! #ifdef STATIC_CHAIN_INCOMING_REGNUM
if (cxt)
ASM_OUTPUT_REG_POP (file, STATIC_CHAIN_INCOMING_REGNUM);
#else
! #ifdef STATIC_CHAIN_REGNUM
if (cxt)
ASM_OUTPUT_REG_POP (file, STATIC_CHAIN_REGNUM);
#endif
#endif
- #endif /* 0 */
! #ifdef STRUCT_VALUE_INCOMING_REGNUM
if (sval)
ASM_OUTPUT_REG_POP (file, STRUCT_VALUE_INCOMING_REGNUM);
#else
! #ifdef STRUCT_VALUE_REGNUM
if (sval)
ASM_OUTPUT_REG_POP (file, STRUCT_VALUE_REGNUM);
--- 993,1023 ----
#endif
! #if defined(STATIC_CHAIN_INCOMING_REGNUM) &&
defined(ASM_OUTPUT_REG_PUSH)
if (cxt)
ASM_OUTPUT_REG_PUSH (file, STATIC_CHAIN_INCOMING_REGNUM);
#else
! #if defined(STATIC_CHAIN_REGNUM) && defined(ASM_OUTPUT_REG_PUSH)
if (cxt)
ASM_OUTPUT_REG_PUSH (file, STATIC_CHAIN_REGNUM);
#endif
#endif
FUNCTION_PROFILER (file, profile_label_no);
! #if defined(STATIC_CHAIN_INCOMING_REGNUM) &&
defined(ASM_OUTPUT_REG_PUSH)
if (cxt)
ASM_OUTPUT_REG_POP (file, STATIC_CHAIN_INCOMING_REGNUM);
#else
! #if defined(STATIC_CHAIN_REGNUM) && defined(ASM_OUTPUT_REG_PUSH)
if (cxt)
ASM_OUTPUT_REG_POP (file, STATIC_CHAIN_REGNUM);
#endif
#endif
! #if defined(STRUCT_VALUE_INCOMING_REGNUM) &&
defined(ASM_OUTPUT_REG_PUSH)
if (sval)
ASM_OUTPUT_REG_POP (file, STRUCT_VALUE_INCOMING_REGNUM);
#else
! #if defined(STRUCT_VALUE_REGNUM) && defined(ASM_OUTPUT_REG_PUSH)
if (sval)
! #if defined(STRUCT_VALUE_REGNUM) && defined(ASM_OUTPUT_REG_PUSH)
if (sval)
ASM_OUTPUT_REG_POP (file, STRUCT_VALUE_REGNUM);
- - - - - - - - 8< - - - - - - - - - - - 8< - - - - - - - - - - - -
This also seems to be what still is in egcs-970922, so it looks
like this is safe. However, use at your own risk, void where
prohibited, etc.
HTH,
Toon.
--
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] 8+ messages in thread* Re: Em86 problems
1997-09-30 17:35 Profiling still broken? Toon Moene
@ 1997-09-30 18:12 ` Scott Manley
0 siblings, 0 replies; 8+ messages in thread
From: Scott Manley @ 1997-09-30 18:12 UTC (permalink / raw)
Here's another TGA X-Server non-starter I'm getting.... can anyone explain
what it is and how to fix it?
XFree86 Version 3.3 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: Jun 2 1997
If the server is older than 6-12 months, or if your card is newer
than the above date, look for a newer version before reporting
problems. (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.0.27 alpha [ELF]
Configured drivers:
DEC_TGA: non-accelerated server for DEC 21030 TGA graphics adapters
(Patchlevel 0)
(using VT number 7)
XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: PS/2, device: /dev/mouse, baudrate: 1200
(**) DEC_TGA: Graphics device ID: "TGA"
(**) DEC_TGA: Monitor ID: "PCXBV"
(**) DEC_TGA: Memory Base Address: 2000000
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/7
5
dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R
6
/lib/X11/fonts/Speedo/"
(--) DEC_TGA: OUCH ! Found an unknown TGA Chip. Aborting..
*** None of the configured devices were detected.***
--
Scott Manley (aka Szyzyg) /------ _@/ Mail -----\
___ _ _ __ __ _ | Armagh Observatory |
/ __| __ ___| |_| |_ | \/ |__ _ _ _ | |___ _ _ | Armagh |
\__ \/ _/ _ \ _| _| | |\/| / _` | ' \| / -_) || | | Northern Ireland |
|___/\__\___/\__|\__| |_| |_\__,_|_||_|_\___|\_, | | BT61 9DG. |
http://star.arm.ac.uk/~spm/welcome.html |__/ \=====================/
--
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] 8+ messages in thread
[parent not found: <9709301812.AA25382@star.arm.ac.uk>]
* Re: Em86 problems
[not found] <9709301812.AA25382@star.arm.ac.uk>
@ 1997-09-30 18:29 ` Travis W. Johnson
0 siblings, 0 replies; 8+ messages in thread
From: Travis W. Johnson @ 1997-09-30 18:29 UTC (permalink / raw)
>
> Here's another TGA X-Server non-starter I'm getting.... can anyone explain
> what it is and how to fix it?
>
I had the same problem with the new em86 0.2 and 2.0.30 kernel. The
memory base address changed with the em86 patches. So just look at
/proc/pci to make sure that the memory base that you are setting in
XF86Config is correct.
Note: with the new em86 patches I get this memory base address from doing
a cat /proc/pci.
Prefetchable 32 bit memory at 0xa000000.
------- |
/ ravis W. |ohnson
----------'
School of Electrical Engineering & Computer Science
Washington State University
Pullman, WA 99164-2752
tjohnso1@eecs.wsu.edu -- (509)335-1880
--
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] 8+ messages in thread
* em86 problems
@ 1997-12-13 21:08 Anders Nilsson
0 siblings, 0 replies; 8+ messages in thread
From: Anders Nilsson @ 1997-12-13 21:08 UTC (permalink / raw)
Hi,
I'm having problems with the em86 emulator on my alpha,
when I try it I get the message
Your kernel does not support 31-bit addressing!
Please apply the EM86 kernel patch and try again.
However I'm running kernel 2.0.32 with the 'alpha-patches-2.0.32-0.1'
from gatekeeper.dec.com:/pub/DEC/Linux-Alpha/Kernels applied. It was
my understanding that these patches included the em86 changes.
I get the same result with 2.0.30 with 'alpha-patches-2.0.30-0.4'.
Anyone knows what I'm doing wrong ?
I have a Microway Screamer LX 433 motherboard.
Anders
--
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] 8+ messages in thread
[parent not found: <199712132108.WAA02187@localhost.localdomain>]
* Re: em86 problems
[not found] <199712132108.WAA02187@localhost.localdomain>
@ 1997-12-13 21:24 ` Joakim Roubert
1997-12-14 21:27 ` Mika Kortelainen
1 sibling, 0 replies; 8+ messages in thread
From: Joakim Roubert @ 1997-12-13 21:24 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 491 bytes --]
On Sat, 13 Dec 1997, Anders Nilsson wrote:
> Your kernel does not support 31-bit addressing!
> Please apply the EM86 kernel patch and try again.
Me to, running kernel supposed to have support.
/Jokke tmw.
---
* Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
Jag använder ett 64-bitars operativsystem. Gör du? :nigirO *
--
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] 8+ messages in thread* Re: em86 problems
[not found] <199712132108.WAA02187@localhost.localdomain>
1997-12-13 21:24 ` Joakim Roubert
@ 1997-12-14 21:27 ` Mika Kortelainen
1997-12-15 21:29 ` Anders Nilsson
1 sibling, 1 reply; 8+ messages in thread
From: Mika Kortelainen @ 1997-12-14 21:27 UTC (permalink / raw)
>
> Your kernel does not support 31-bit addressing!
> Please apply the EM86 kernel patch and try again.
>
Are you sure those patches were applied cleanly and not rejected
(i.e. no '.rej' files floating around after the patch)?
And if you compiled em86 as a module, have you done
"insmod binfmt_em86" before use (at least I have to, kerneld
won't notice it automatically for me). Although I think
the warning is more like "wrong architecture" in this case.
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] 8+ messages in thread* Re: em86 problems
1997-12-14 21:27 ` Mika Kortelainen
@ 1997-12-15 21:29 ` Anders Nilsson
0 siblings, 0 replies; 8+ messages in thread
From: Anders Nilsson @ 1997-12-15 21:29 UTC (permalink / raw)
Mika Kortelainen writes:
> >
> > Your kernel does not support 31-bit addressing!
> > Please apply the EM86 kernel patch and try again.
> >
> Are you sure those patches were applied cleanly and not rejected
> (i.e. no '.rej' files floating around after the patch)?
>
Yes, no rejects.
> And if you compiled em86 as a module, have you done
> "insmod binfmt_em86" before use (at least I have to, kerneld
> won't notice it automatically for me). Although I think
> the warning is more like "wrong architecture" in this case.
>
>
I'm not using modules.
> Mika Kortelainen
>
Anders
--
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] 8+ messages in thread
* em86 problems
@ 1998-01-08 15:31 Dirk Schulte
0 siblings, 0 replies; 8+ messages in thread
From: Dirk Schulte @ 1998-01-08 15:31 UTC (permalink / raw)
hi folks,
i am working on a pc164lx platform, which i have updated from redhat 4.2 to
redhat 5.0 and from kernel 2.0.30 to 2.0.32. up to this point, everything works
fine. now i have tried to install em86 but encountered some problems doing that.
i got the em86 v0.2 from gatekeeper and started making the modifications as
indicated in the description 'downloading and installing em86'.
patching and rebuilding the kernel has been no problem, but installing the
packages needed for em86 doesn't work. when doing
rpm -ivh em86-0.2-3.alpha.rpm
i get the error message
failed dependencies:
libm.so.6 is needed by em86-0.2-3
libdl.so.2 is needed by em86-0.2-3
libc.so.6 is needed by em86-0.2-3
what is going wrong here? i have noticed that in /lib i have libraries which are
called for example libm.so.6.1. so i made a link libm.so.6 to libm.so.6.1 but
the error message remains. then i tried out a libm.so.6 which is included in the
redhat distribution (under misc/src/trees/skeleton/lib), but also the effect is
the same. i read in a posting that for em86 libraries from the intel-linux are
needed, so i took the three 'missing' libraries from intel-linux, but also with
no effect. the package manager keeps on saying that he needs those three
libraries, even if they exist (or is the placing for the libraries in /lib wrong
- but i also tried out /usr/lib, with the same effect).
then i tried installing with
rpm -ivh --ignorearch --nodeps em86-0.2-3.alpha.rpm
to supress the checking of dependencies, which worked - but the third package,
em86-baselibs-0.2-1.alpha.rpm failed during install with the error message, that
ldconfig86 is missing - which is part of em86-x86-0.2-1.i386.rpm, that has been
installed as second package, without error messages, but also, as it seems,
without success. but i think the errors already come from the problems that the
first package has with the libraries (and that were supressed by --nodeps).
so, can anybody help me out here, at the moment i have no more ideas regarding
this problem...
thanks in advance,
ciao,
Dirk !!
--------------------------------------------------------------------------
Dirk Schulte dirk.schulte@dlr.de
Deutsches Zentrum fuer Luft- und Raumfahrt / German Aerospace Center
Institut fuer Stroemungsmechanik, Abt. Windkanaele Koeln SM-SK KP
Linder Hoehe
D-51147 Koeln
Tel.: +49+2203/601-2628
Fax : +49+2203/601-2344
--------------------------------------------------------------------------
--
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] 8+ messages in thread
end of thread, other threads:[~1998-01-08 15:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-17 17:34 em86 Problems Al Shjarback
-- strict thread matches above, loose matches on Subject: below --
1997-09-30 17:35 Profiling still broken? Toon Moene
1997-09-30 18:12 ` Em86 problems Scott Manley
[not found] <9709301812.AA25382@star.arm.ac.uk>
1997-09-30 18:29 ` Travis W. Johnson
1997-12-13 21:08 em86 problems Anders Nilsson
[not found] <199712132108.WAA02187@localhost.localdomain>
1997-12-13 21:24 ` Joakim Roubert
1997-12-14 21:27 ` Mika Kortelainen
1997-12-15 21:29 ` Anders Nilsson
1998-01-08 15:31 Dirk Schulte
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox