* errors
[not found] <Pine.LNX.3.91.960606133656.23662B-100000@elroy.redhat.com>
@ 1996-06-06 18:37 ` Barry James
1996-06-06 18:50 ` errors Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-06-06 20:43 ` errors Erik Troan
0 siblings, 2 replies; 4+ messages in thread
From: Barry James @ 1996-06-06 18:37 UTC (permalink / raw)
On Thu, 6 Jun 1996, Erik Troan wrote:
> I'd try a newer kernel and see if that helps. If not, ask again.
I've been down that road. I continue to get errors in binfmt_elf.c
saying that there is no such member 'edx' in structure
regs. It's found in the function load_elf_binary and accepts a parameter
of pointer to structure type pt_regs and, in fact, after looking through
the relevant headers and finding the declaration of pt_regs there is no
member variable named 'edx.'
This kernel version is 1.3.97 (also, when I change the arch to alpha, I
can only make vmlinux, but not vmlinux.gz or zImage).
Any thoughts?
Barry
Barry L James | Mikrotec Internet Services, Inc (AS3801)
Sr Internet Engineer | 1001 Winchester Rd
bjames@mis.net | Lexington KY 40505
http://www.mis.net/ | 606/225.1488 (noc) x219 (corp HQ)
Qui desiderat pacem, praeparet bellum -- Vegetius
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: errors
1996-06-06 18:37 ` errors Barry James
@ 1996-06-06 18:50 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-06-06 20:43 ` errors Erik Troan
1 sibling, 0 replies; 4+ messages in thread
From: Jay Estabrook - Alpha Migration Tools - LINUX Project @ 1996-06-06 18:50 UTC (permalink / raw)
>
> I've been down that road. I continue to get errors in binfmt_elf.c
> saying that there is no such member 'edx' in structure
> regs. It's found in the function load_elf_binary and accepts a parameter
> of pointer to structure type pt_regs and, in fact, after looking through
> the relevant headers and finding the declaration of pt_regs there is no
> member variable named 'edx.'
> This kernel version is 1.3.97 (also, when I change the arch to alpha, I
> can only make vmlinux, but not vmlinux.gz or zImage).
> Any thoughts?
Uh, oh, you're not trying to build ELF support into the kernel, are you?
ELF does not (yet) exist for the Alpha; don't configure this into a kernel.
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools
Mailstop: TAY1-2 (DTN) 227-4202
Digital Equipment Corp. (external) (508) 952-4202
151 Taylor Street enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: errors
[not found] <bjames@galileo.mis.net>
@ 1996-06-06 19:58 ` Eric Youngdale
0 siblings, 0 replies; 4+ messages in thread
From: Eric Youngdale @ 1996-06-06 19:58 UTC (permalink / raw)
>I've been down that road. I continue to get errors in binfmt_elf.c
>saying that there is no such member 'edx' in structure
>regs. It's found in the function load_elf_binary and accepts a parameter
>of pointer to structure type pt_regs and, in fact, after looking through
>the relevant headers and finding the declaration of pt_regs there is no
>member variable named 'edx.'
>This kernel version is 1.3.97 (also, when I change the arch to alpha, I
>can only make vmlinux, but not vmlinux.gz or zImage).
>Any thoughts?
You need some kernel patches in order to be able to run ELF
binaries.
I can send out the patches to anyone who wants to try, but you need the ELF
compiler, ELF binutils, ELF libc and ELF gdb before it would really be of
much use.
If it weren't for the fact that we were close to 2.0, I would have
sent the kernel patches to Linus. They affect a bit more than just the
Alpha, since I had to generalize and abstract a few things so that
binfmt_elf
could work for any architecture.
FWIW, I think the kernel end of things is fairly stable right now.
There are still some userland issues to be solved before it is really
ready for prime time. We haven't really tried ELF kernels yet - it is a
lot easier to shake things down in userland than it would be to try and
debug a linker by testing kernels.
-Eric
--
"The woods are lovely, dark and deep. But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: errors
1996-06-06 18:37 ` errors Barry James
1996-06-06 18:50 ` errors Jay Estabrook - Alpha Migration Tools - LINUX Project
@ 1996-06-06 20:43 ` Erik Troan
1 sibling, 0 replies; 4+ messages in thread
From: Erik Troan @ 1996-06-06 20:43 UTC (permalink / raw)
On Thu, 6 Jun 1996, Barry James wrote:
> I've been down that road. I continue to get errors in binfmt_elf.c
> saying that there is no such member 'edx' in structure
> regs. It's found in the function load_elf_binary and accepts a parameter
> of pointer to structure type pt_regs and, in fact, after looking through
> the relevant headers and finding the declaration of pt_regs there is no
> member variable named 'edx.'
I have no idea. Someone else may be able to help.
> This kernel version is 1.3.97 (also, when I change the arch to alpha, I
> can only make vmlinux, but not vmlinux.gz or zImage).
Use "make boot" instead.
Erik
-------------------------------------------------------------------------------
Always hoped that I'd be an apostle. Knew that I would make it if I tried.
Then when we retire we can write the gospels so they'll all talk about
us when we die. - "The Last Supper" from Jesus Christ Superstar
| Erik Troan = http://sunsite.unc.edu/ewt/ = ewt@sunsite.unc.edu |
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-06-06 20:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.3.91.960606133656.23662B-100000@elroy.redhat.com>
1996-06-06 18:37 ` errors Barry James
1996-06-06 18:50 ` errors Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-06-06 20:43 ` errors Erik Troan
[not found] <bjames@galileo.mis.net>
1996-06-06 19:58 ` errors Eric Youngdale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox