* Re: em86 broken with 2.2.12 and above
@ 1999-09-15 5:26 Michal Jaegermann
1999-09-15 17:50 ` Phillip Ezolt
0 siblings, 1 reply; 5+ messages in thread
From: Michal Jaegermann @ 1999-09-15 5:26 UTC (permalink / raw)
To: linux-kernel, axp-list
To add more information on my posting on the subject from yesterday.
Alpha-specific differences between kernel 2.2.11, for which em86
emulator works, and 2.2.12 where em86 is broken consist basically
from two sets - "core_mcpcia/setup" and changes to "math-emu"
support. Backing out the first set provides ends up with a kernel
which is unbootable for some reasons so I tried to revert only
"math-emu" mods. To my surprise with 2.2.12 kernel and 2.2.13pre7,
where a contents of arch/alpha/math-emu/ is replaced with
what was in 2.2.11, em86 - or at least Netscape on an emulator -
works just fine.
Anybody can shed a light on reasons? This is quite important issue
to a number of people.
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: em86 broken with 2.2.12 and above
1999-09-15 5:26 em86 broken with 2.2.12 and above Michal Jaegermann
@ 1999-09-15 17:50 ` Phillip Ezolt
0 siblings, 0 replies; 5+ messages in thread
From: Phillip Ezolt @ 1999-09-15 17:50 UTC (permalink / raw)
To: Michal Jaegermann; +Cc: linux-kernel, axp-list
Michal,
Richard Henderson could certainly tell you more, but I believe that
the floating point emulation code was completely changed. Instead of using
the custom Alpha fp code, the Sparc fp code was dropped in to place. Since
it is C code, everything should work fine. However, you might have found
a bug where the emulated fp behaves like a sparc rather than an alpha.
There are ieee fp standards ambiguities, where several implementations are
acceptable. Alpha chose one way, Sparc chose another.
I wouldn't expect this as much on an 21264 because more fp is built into the
chip, but I'm betting you have a 21064 or 21164.
This will probably be pretty tricky to track down.
However, why don't you try to "strace" em86 on both of the kernels and see
if anything different shows up.
Actually, it is probably something more insidious, like the emulator relying on
a certain fp behavior.
Just a guess.
--Phil
Compaq: Business Critical Servers Division/Benchmark Performance Engineering
---------------- Alpha, The Fastest Processor on Earth --------------------
Phillip.Ezolt@compaq.com |C|O|M|P|A|Q| ezolt@perf.zko.dec.com
On Tue, 14 Sep 1999, Michal Jaegermann wrote:
>
> To add more information on my posting on the subject from yesterday.
> Alpha-specific differences between kernel 2.2.11, for which em86
> emulator works, and 2.2.12 where em86 is broken consist basically
> from two sets - "core_mcpcia/setup" and changes to "math-emu"
> support. Backing out the first set provides ends up with a kernel
> which is unbootable for some reasons so I tried to revert only
> "math-emu" mods. To my surprise with 2.2.12 kernel and 2.2.13pre7,
> where a contents of arch/alpha/math-emu/ is replaced with
> what was in 2.2.11, em86 - or at least Netscape on an emulator -
> works just fine.
>
> Anybody can shed a light on reasons? This is quite important issue
> to a number of people.
>
> Michal
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* em86 broken with 2.2.12 and above
@ 1999-09-14 5:02 Michal Jaegermann
1999-09-14 5:27 ` Stuart Midgley
0 siblings, 1 reply; 5+ messages in thread
From: Michal Jaegermann @ 1999-09-14 5:02 UTC (permalink / raw)
To: linux-kernel, axp-list
Somewhere between 2.2.11 and 2.2.12 em86 Intel emulator on Alpha
stopped working. More precisely, the last kernel which I tried where
Intel Netscape still starts and works on Alpha is 2.2.11-ac3.
With 2.2.12 and those 2.2.13pre? I tried Netscape bombs without
opening its window and something of that sort is displayed on
a terminal (numbers are pretty close, even across kernel versions,
but not always the same):
Signal 10 received
Alpha state: PC = 0x600393d0, instr = 0xa36e0008
R00: 000000006016d758 R01: 0000000000000001 R02: 000000006015b738
R03: 0000000060039378 R04: 0000000040557320 R05: 0000000040010000
R06: 0000000040011440 R07: 0000000000000020 R08: 000000006016d738
R09: 00000000407bbe10 R10: 000000006028f490 R11: 000000006016d72c
R12: 000000007cffdc88 R13: 000000007cffdc5c R14: 000000004002319a
R15: 000000007ffff750 R16: 00000000c4c44002 R17: 0000000031a80000
R18: 0000000060039378 R19: 00000000400117d8 R20: 0000000060039640
R21: 0000000000000000 R22: 000000006015b738 R23: 0000000000000000
R24: 000000006003a3d0 R25: 000000006003ae34 R26: 0000000040526010
R27: 000000000000c4c4 R28: 000000006003e0fc R29: 0000000060163b10
R30: 000000007ffff728 R31: 0000000000000000
Trap A0: 00000000400231a2, A1: 0000000000000028, A2: 000000000000001b
Intel state: PC = 0x4002319a
EAX: 0x6016d758, EBX: 0x407bbe10, ECX: 0x20, EDX: 0x6016d738
ESI: 0x6028f490, EDI: 0x6016d72c, EBP: 0x7cffdc88, ESP: 0x7cffdc5c
There is no oops in log files and a bottom a 'strace' output looks
like that:
....
339 SYS_35(0x7, 0x7cffe2ac, 0x20, 0x1, 0x6016ce20) = 93
339 SYS_0(0x8, 0x7cffe194, 0, 0, 0x7cffdcdc) = 48
339 SYS_0(0x1, 0, 0x7ffff5d0, 0, 0x6016441c) = -1 EADDRINUSE (Address already in use)
339 SYS_0(0x1, 0x2000, 0x7ffff5d0, 0, 0x8448bc0) = 93
339 exit(8) = ?
339 --- SIGALRM (Alarm clock) ---
) = ? (mask now [])
339 --- SIGALRM (Alarm clock) ---
339 sigreturn( <unfinished ...>
339 --- SIGALRM (Alarm clock) ---
339 <... sigreturn resumed> ) = ? (mask now ~[KILL STOP])
339 --- SIGALRM (Alarm clock) ---
339 <... sigreturn resumed> ) = ? (mask now ~[KILL STOP])
339 --- SIGALRM (Alarm clock) ---
339 osf_sigprocmask(0x3, 0x7ffffbf7, 0x7ffff2f0 <unfinished ...>
339 --- SIGALRM (Alarm clock) ---
339 <... osf_sigprocmask resumed> ) = -1 EDEADLOCK ((null))
.....
(this "unfinished - resumed" business repeated many times)
.....
339 sigreturn( <unfinished ...>
339 --- SIGALRM (Alarm clock) ---
339 <... sigreturn resumed> ) = ? (mask now ~[KILL STOP])
339 --- SIGBUS (Bus error) ---
339 write(2, "Signal 10 received\n", 19
and we are dead.
Anybody has any ideas what changed to cause that nasty effect
and how to fix it?
Michal
michal@harddata.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: em86 broken with 2.2.12 and above
1999-09-14 5:02 Michal Jaegermann
@ 1999-09-14 5:27 ` Stuart Midgley
1999-09-14 5:34 ` Michal Jaegermann
0 siblings, 1 reply; 5+ messages in thread
From: Stuart Midgley @ 1999-09-14 5:27 UTC (permalink / raw)
To: axp-list; +Cc: linux-kernel
Hmm...
I haven't been able to get em86 working on my 2.2.5 kernel at all. I
keep getting
BUG IN DYNAMIC LINKER ld.so: ../sysdeps/alpha/dl-machine.h: 493:
elf_machine_rela: Assertion `! "unexpected dynamic reloc type"' failed!
Stu.
--
<--------------------------------------------------------------------->
Stuart Midgley | stuart@physics.uwa.edu.au
Department of Physics | 08 9380 7898 Wk
University of Western Australia | 08 9380 1014 Fax
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: em86 broken with 2.2.12 and above
1999-09-14 5:27 ` Stuart Midgley
@ 1999-09-14 5:34 ` Michal Jaegermann
0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 1999-09-14 5:34 UTC (permalink / raw)
To: axp-list
Stuart Midgley wrote:
>
> Hmm...
>
> I haven't been able to get em86 working on my 2.2.5 kernel at all. I
> keep getting
>
> BUG IN DYNAMIC LINKER ld.so: ../sysdeps/alpha/dl-machine.h: 493:
> elf_machine_rela: Assertion `! "unexpected dynamic reloc type"' failed!
You have trouble not with a kernel but with libraries. This was
explained on this list many times over. Check archives. Or maybe your
linker is indeed buggy like it says. I am talking about problems in a
kernel not in a user space. This is a totally different issue.
Up to 2.2.12 em86 (with righ libraries, of course) works like a
clockwork.
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-09-16 15:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-15 5:26 em86 broken with 2.2.12 and above Michal Jaegermann
1999-09-15 17:50 ` Phillip Ezolt
-- strict thread matches above, loose matches on Subject: below --
1999-09-14 5:02 Michal Jaegermann
1999-09-14 5:27 ` Stuart Midgley
1999-09-14 5:34 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox