* Regarding earlier mail, compiling joe, Oops & VFS weirdness..
@ 1997-04-30 21:38 bert hubert
0 siblings, 0 replies; 2+ messages in thread
From: bert hubert @ 1997-04-30 21:38 UTC (permalink / raw)
First, kudos to the people making all this possible! I've been with linux
since it fitted on two 5.25" floppies, and now run it on a 96MB
AlphaStation, donated to my studentassociation by DEC. Way cool!
In my mail from yesterday I mentioned that sometimes it caused an Oops 0
message, and quoted it, but also said that it sometimes gave VFS errors.
I have now been able to reproduce this one:
cc -O -c ublock.c -o ublock.o
cc1: memory violation at pc=1201066a4 rp=120106854 (bad address = 00000000)
VFS: iput: trying to free free inode
VFS: device 4f:a0, inode 0, mode=00000000
cc: Internal compiler error: program cc1 got fatal signal 11
make: *** [ublock.o] Error 1
[root@alpha joe]# ls -l core
This is with a virgin RH4.1 install, avanti-s.gz kernel, loaded directly
from the cdrom-installed aboot.
When doing an strace of the process, it outputs the following errors:
Unable to find vma for addr 0x120114000
ptrace: umoven: Input/output error
Unable to find vma for addr 0x120114000
ptrace: umoven: Input/output error
Unable to find vma for addr 0x120114000
ptrace: umoven: Input/output error
Unable to find vma for addr 0x120116000
ptrace: umoven: Input/output error
My main question is: is this something to worry about? The problem goes
away if I disable coredumps, but still the systems seems a tad unstable.
--
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
* Re: Regarding earlier mail, compiling joe, Oops & VFS weirdness..
[not found] <Pine.LNX.3.91.970430232724.1110B-100000@vvtp.tn.tudelft.nl>
@ 1997-05-01 1:37 ` bert hubert
0 siblings, 0 replies; 2+ messages in thread
From: bert hubert @ 1997-05-01 1:37 UTC (permalink / raw)
On Wed, 30 Apr 1997, bert hubert wrote:
> In my mail from yesterday I mentioned that sometimes it caused an Oops 0
> message, and quoted it, but also said that it sometimes gave VFS errors.
> I have now been able to reproduce this one:
Ok, I've sussed it! It turns out that this is a bug relevant to (at
least) linux 2.0.27 to 2.1.24, all platforms! That is, unless I'm
terribly mistaken, this is only my second attempt at kernel-hacking.
When trying to dump core on an ELF system, it includes the first 80 bytes
of arguments which were passed to the program. This is an char arguments[80]
kind of string. If more than 80 characters were passed, the string is
terminated like this: arguments[80]=0;, which results in an overrun to
the inode pointer!
To fix this, use something like this patch, which works on anything I've
tried since 2.0.27:
--- binfmt_elf.c Thu May 1 03:27:19 1997
+++ binfmt_elf.c Thu May 1 03:28:05 1997
@@ -1146,7 +1146,7 @@
for(i = 0; i < len; i++)
if (psinfo.pr_psargs[i] == 0)
psinfo.pr_psargs[i] = ' ';
- psinfo.pr_psargs[len] = 0;
+ psinfo.pr_psargs[len-1] = 0;
set_fs(KERNEL_DS);
}
--
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:[~1997-05-01 1:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-30 21:38 Regarding earlier mail, compiling joe, Oops & VFS weirdness bert hubert
[not found] <Pine.LNX.3.91.970430232724.1110B-100000@vvtp.tn.tudelft.nl>
1997-05-01 1:37 ` bert hubert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox