* Re: Kernel Oops 0
@ 1998-10-14 9:18 Robert Harley
0 siblings, 0 replies; 5+ messages in thread
From: Robert Harley @ 1998-10-14 9:18 UTC (permalink / raw)
To: axp-list
The one and only Jay Estabrook wrote:
>Think about what "ps" [...] might be attempting to do - access kernel
>data structures via /dev/kmem. On the Alpha, we can't allow a user
>process to "cli()", [...]. This makes it possible for things in those
>data structures to change unbeknownst (:-) to "ps",
>[...]
>Anyone have any ideas about how to work around this?
Replace the interrupt munging with a semaphore, perhaps? Or write a
privileged function to block interrupts and extract the data for ps
and friends? Or make them check that the addresses they got are valid
before dereferencing them?
Just some random suggestions...
Rob.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel Oops 0
@ 1998-10-13 16:56 Greg Lindahl
0 siblings, 0 replies; 5+ messages in thread
From: Greg Lindahl @ 1998-10-13 16:56 UTC (permalink / raw)
To: axp-list
> I believe the same type of Oops happens frequently with "top" on Alpha SMP
> systems under heavy load. It's all a bit frustrating, because "top" and
> "vmstat" are such useful tools to see what's going on in one's system... :-\
I'm getting one on a single-processor LX164 with 2.0.35... when I try
to "mkswap /dev/sda2". I can make a filesystem on the partition and
mount it, though.
-- g
^ permalink raw reply [flat|nested] 5+ messages in thread
* Kernel Oops 0
@ 1998-10-13 7:59 Gavin
1998-10-13 13:29 ` Jay.Estabrook
0 siblings, 1 reply; 5+ messages in thread
From: Gavin @ 1998-10-13 7:59 UTC (permalink / raw)
To: axp-list
Hi,
my Webserver had a realy hard load yesterday .. i ended up changing
MaxClients in apache to 50 ;)
the load average was over 20 !
the Server was thrashing .. so ill have to get some memory for it
..*sigh*
i noticed this message .. in the /var/log/messages file
How bad is sutch an Oops 0 ?
and what do all numbers mean.
Oct 12 22:20:08 sigi kernel: Unable to handle kernel paging request at
virtual a
ddress 30a044e001189008
Oct 12 22:20:09 sigi kernel: ps(32047): Oops 0
Oct 12 22:20:10 sigi PAM_pwdb[32038]: (login) session opened for user
eggdrop by
(uid=0)
Oct 12 22:20:11 sigi login[32038]: LOGIN ON ttyp1 BY eggdrop FROM
portab03.fbam.
baynet.de
Oct 12 22:20:12 sigi kernel: pc = [<fffffc00003a5b58>] ps = 0000
Oct 12 22:20:12 sigi kernel: rp = [<fffffc00003a6008>] sp =
fffffc0000655d28
Oct 12 22:20:12 sigi kernel: r0=fffffc0000445170 r1=fffffc000031b8a0
r2=30a044e0
01189008 r3=0
Oct 12 22:20:12 sigi kernel: r8=fffffc0000477938
Oct 12 22:20:12 sigi kernel: r16=fffffc0001930818 r17=fffffc0000f52000
r18=8 r19
=0
Oct 12 22:20:12 sigi kernel: r20=7 r21=fffffc0000000000 r22=0 r23=1
Oct 12 22:20:12 sigi kernel: r24=fffffc00004713e4 r25=1
r26=fffffc00003a6008 r27
=0
Oct 12 22:20:12 sigi kernel: r28=7a9 r29=fffffc000046fef0
r30=fffffc0000655d28
Oct 12 22:20:12 sigi kernel: Code: a4500368 a43da0f8 a4420030
<a4020000> 40010
3a1 f4200004 a43d9388 400103a1 e4200001
Regards
Gavin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel Oops 0
1998-10-13 7:59 Gavin
@ 1998-10-13 13:29 ` Jay.Estabrook
1998-10-15 22:07 ` Richard Henderson
0 siblings, 1 reply; 5+ messages in thread
From: Jay.Estabrook @ 1998-10-13 13:29 UTC (permalink / raw)
To: axp-list
>>> Gavin said:
>
> my Webserver had a realy hard load yesterday .. i ended up changing
> MaxClients in apache to 50 ;)
> the load average was over 20 !
> the Server was thrashing .. so ill have to get some memory for it
> ..*sigh*
>
> i noticed this message .. in the /var/log/messages file
>
> How bad is sutch an Oops 0 ?
> and what do all numbers mean.
My take on this is: "it comes with the territory"...
Think about what "ps" (and "top" and "vmstat", among others) might be
attempting to do - access kernel data structures via /dev/kmem. On the
Alpha, we can't allow a user process to "cli()", ie disable all interrupts,
as is done on the INTEL, IIRC. This makes it possible for things in those
data structures to change unbeknownst (:-) to "ps", leaving it with stale
addresses which could certainly cause kernel Oopses if/when they are used.
I believe the same type of Oops happens frequently with "top" on Alpha SMP
systems under heavy load. It's all a bit frustrating, because "top" and
"vmstat" are such useful tools to see what's going on in one's system... :-\
Anyone have any ideas about how to work around this?
> Oct 12 22:20:08 sigi kernel: Unable to handle kernel paging request at
> virtual address 30a044e001189008
> Oct 12 22:20:09 sigi kernel: ps(32047): Oops 0
> Oct 12 22:20:12 sigi kernel: pc = [<fffffc00003a5b58>] ps = 0000
> Oct 12 22:20:12 sigi kernel: rp = [<fffffc00003a6008>] sp =
> fffffc0000655d28
The numbers here are part of the register dump; you can use GDB on a kernel
that you build to figure out where things went awry.
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Compaq Computer Corporation (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel Oops 0
1998-10-13 13:29 ` Jay.Estabrook
@ 1998-10-15 22:07 ` Richard Henderson
0 siblings, 0 replies; 5+ messages in thread
From: Richard Henderson @ 1998-10-15 22:07 UTC (permalink / raw)
To: Jay.Estabrook, axp-list
On Tue, Oct 13, 1998 at 10:29:13AM -0300, Jay.Estabrook@digital.com wrote:
> Think about what "ps" (and "top" and "vmstat", among others) might be
> attempting to do - access kernel data structures via /dev/kmem.
They do no such thing, and never have (on alpha). All three of those
programs get their data from /proc.
> I believe the same type of Oops happens frequently with "top" on Alpha SMP
> systems under heavy load. It's all a bit frustrating, because "top" and
> "vmstat" are such useful tools to see what's going on in one's system... :-\
At one time there was a bug in thread_saved_pc, the fix for which
is in current kernels. Prove to me that a `cat /proc/*/stat' can
still crash under load and I'll look again.
r~
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-10-15 22:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-14 9:18 Kernel Oops 0 Robert Harley
-- strict thread matches above, loose matches on Subject: below --
1998-10-13 16:56 Greg Lindahl
1998-10-13 7:59 Gavin
1998-10-13 13:29 ` Jay.Estabrook
1998-10-15 22:07 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox