Re: pre-2.1.66 Oops

Richard B. Johnson (root@chaos.analogic.com)
Tue, 25 Nov 1997 13:08:12 -0500 (EST)


On Tue, 25 Nov 1997, Panu Matilainen wrote:

> Hi,
>
> Last night after about 4 days uptime my box spat out the following oopses
> while rotating the log-files (doing find's and sending mail to me etc),
> nothing else was happening at the moment. The machine was still up, but
> trying to execute anything resulted in similar oopses (they were logged,
> though), I can send them too if someone is interested but the oopsing
> code is always the same. Other than this, 2.1.XX have been stable for me.
>
> Kernel compiled with gcc 2.7.2, the machine is a vanilla P133 with only
> dialup-ppp network connection.

[SNIPPED most of oops]

> Code: c012dd2f <select_dcache+10b/19c> 89 7c 24 10 movl %edi,0x10(%esp,1)
> Code: c012dd33 <select_dcache+10f/19c> 8b 7c 24 14 movl 0x14(%esp,1),%edi
> Code: c012dd3d <select_dcache+119/19c> 39 7c 24 00 cmpl %edi,0x0(%esp,1)
> Code: c012dd41 <select_dcache+11d/19c> 00 00 addb %al,(%eax)
> Code: c012dd43 <select_dcache+11f/19c> 00 00 addb %al,(%eax)
> Code: c012dd45 <select_dcache+121/19c> 00 00 addb %al,(%eax)
^^^^^^^^^
This does not seem to be good code. It looks like
some zeros got written here.

> Code: c012dd33 <select_dcache+10f/19c> 8b 7c 24 14 movl 0x14(%esp,1),%edi
> Code: c012dd3d <select_dcache+119/19c> 39 7c 24 00 cmpl %edi,0x0(%esp,1)
> Code: c012dd41 <select_dcache+11d/19c> 00 00 addb %al,(%eax)
> Code: c012dd43 <select_dcache+11f/19c> 00 00 addb %al,(%eax)
> Code: c012dd45 <select_dcache+121/19c> 00 00 addb %al,(%eax)

Same thing here ^^^^^^^^^
Not good. Nobody would deliberately generate such
code.

So the question is; Who's writing into the .text segment and corrupting
code? I would check if this happened when your ppp connection was running.

Cheers,
Dick Johnson

Richard B. Johnson
Project Engineer
Analogic Corporation
Penguin : Linux version 2.1.65 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.