* Alpha ELF Kernel comments & questions
@ 1996-07-28 18:53 Doug DeJulio
0 siblings, 0 replies; 4+ messages in thread
From: Doug DeJulio @ 1996-07-28 18:53 UTC (permalink / raw)
I've downloaded the "Elfball" stuff -- naturally it won't work with a kernel
that doesn't support ELF. I couldn't get ELF to work in the unpatched kernels
(binfmt_elf.c: structure has no member named 'edx').
So, I downloaded the patches from azstarnet, and built an elf-aware kernel.
(The patches I found apply against 2.0.7, but the latest kernel I've found is
2.0.10 -- are the latest patches on azstarnet, or should I look elsewhere
for newer ones?)
Just applying the patch doesn't seem to work, but I noticed a "386" directory
was created alongside my "linux" directory in /usr/src. After examining it, I
tarred its contents up and untarred it into the linux src tree. That worked
-- I've got a working elf-aware kernel, and "elfball" works.
So, what other than the ELF binary format do the patches fix? At some point
someone mentioned a patch to get Linux to use /dev/ttyS0 as console. My
employer wants to run a few UDBs (and Intel Linux boxes too) in a machine
room, and having the console be a serial port would be ideal.
--
Doug DeJulio | mailto:ddj@aisb.org
Ancient Illuminated Seers of Bavaria | http://www.aisb.org/~ddj/
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Alpha ELF Kernel comments & questions
[not found] <Pine.LNX.3.94.960728144605.23408A-100000@zardoz.aisb.org>
@ 1996-07-28 22:10 ` Richard Henderson
1996-07-29 0:15 ` Harald Koenig
0 siblings, 1 reply; 4+ messages in thread
From: Richard Henderson @ 1996-07-28 22:10 UTC (permalink / raw)
> I've downloaded the "Elfball" stuff -- naturally it won't work with a kernel
> that doesn't support ELF. I couldn't get ELF to work in the unpatched kernels
> (binfmt_elf.c: structure has no member named 'edx').
Yes, without the patches, the ELF bits are very intel-centric.
> So, I downloaded the patches from azstarnet, and built an elf-aware kernel.
> (The patches I found apply against 2.0.7, but the latest kernel I've found is
> 2.0.10 -- are the latest patches on azstarnet, or should I look elsewhere
> for newer ones?)
No, the 2.0.7-axp patches are the most recent. I don't remember
seeing anthing in the 8-10 patches that would conflict, so it ought
to patch up just fine.
> Just applying the patch doesn't seem to work, but I noticed a "386" directory
> was created alongside my "linux" directory in /usr/src.
Yes, that's because you used -p0 in /usr/src, instead of -p1 in
/usr/src/linux.
> So, what other than the ELF binary format do the patches fix?
There's bits in there to do 64-bit filesystem accesses, some
Qlogic ISP SCSI driver patches, kernel debugging, and header file
cleanups for glibc,
r~
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Alpha ELF Kernel comments & questions
1996-07-28 22:10 ` Alpha ELF Kernel comments & questions Richard Henderson
@ 1996-07-29 0:15 ` Harald Koenig
1996-07-29 15:11 ` Richard Henderson
0 siblings, 1 reply; 4+ messages in thread
From: Harald Koenig @ 1996-07-29 0:15 UTC (permalink / raw)
> > Just applying the patch doesn't seem to work, but I noticed a "386" directory
> > was created alongside my "linux" directory in /usr/src.
>
> Yes, that's because you used -p0 in /usr/src, instead of -p1 in
> /usr/src/linux.
am I the only one who thinks that "patch" is really broken here ?
at least I couldn't find any reason in the man page why patch
creates the "old_file" (and creating the subdirs for it)
instead of modifying the "new_file" which already exists.
so far I was too lacy to check the sources; does anyone know
*why* this happens? or is there a fix for patch available ?
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Alpha ELF Kernel comments & questions
1996-07-29 0:15 ` Harald Koenig
@ 1996-07-29 15:11 ` Richard Henderson
0 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 1996-07-29 15:11 UTC (permalink / raw)
> > Yes, that's because you used -p0 in /usr/src, instead of -p1 in
> > /usr/src/linux.
>
> am I the only one who thinks that "patch" is really broken here ?
> at least I couldn't find any reason in the man page why patch
> creates the "old_file" (and creating the subdirs for it)
> instead of modifying the "new_file" which already exists.
>
> so far I was too lacy to check the sources; does anyone know
> *why* this happens? or is there a fix for patch available ?
*shrug* Since I've never known what it was _supposed_ to do wrt
new files, I just stay away from -p0 when at all possible, and use
-pN where N makes the filenames unambiguous.
r~
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-07-29 15:11 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.94.960728144605.23408A-100000@zardoz.aisb.org>
1996-07-28 22:10 ` Alpha ELF Kernel comments & questions Richard Henderson
1996-07-29 0:15 ` Harald Koenig
1996-07-29 15:11 ` Richard Henderson
1996-07-28 18:53 Doug DeJulio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox