From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199712190913.EAA29092@mow.ecn.purdue.edu> Date: Fri, 19 Dec 1997 04:13:07 -0500 (EST) From: Terran Lane Subject: Re: Recurring kernel paging request errors... In-Reply-To: <199712162017.PAA26301@linux03.amt.tay1.dec.com> First, thanks to all of you who have replied to my pleas for help on the "Unable to handle kernel paging request" issue. I've seen a number of different suggestions posted, and I'll try to respond to all of the points made there. If I've missed something, or if you think some other bit of info would be helpful, please let me know. Thanks again for all of your help... 1) Possibly a problem with the swap partion. I don't _think_ it's a problem with the swap partition. I tried running 'badblocks -w' on it and got none back (no suprise -- it's a SCSI device, and I think they hide those from you, yes?) and re-mkswap-ing it with the -c option. No help there. I also threw together a small program to hammer memory+swap moderately hard and experienced no problems. Besides -- the problem has occured when the system is practically unloaded. This is a machine with 96Mb of memory, and as I don't often run X (monitor problems -- unrelated), it usually isn't terribly loaded. Though it does occur more often when doing things like kernel compiles. 2) Try 2.0.32 or higher. Haven't yet, will do. I'll let you know my experiences when I do. Though because this problem is somewhat sporadic and I have yet to figure out a guaranteed way of replicating it, it'll be a bit hard to determine whether it's fixed immediately. 3) Tweak the kernel freepages and swap parameters via /proc I'm not familiar with these and they aren't documented in my proc man page. Is there documentation outside the kernel sources, or do I have to delve into that? (Please understand, while I've hacked my share of low-level code, these days I do AI and prefer to stay as far from the bare metal as I possibly can. User-level docs preferred.) 4) Find the running function from the System.map file Sorry. I don't happen to have a map for any of my kernels laying around at the moment. The last one I had got trashed when I reconfigured my kernel to use the BSD NCR driver in the vain hopes that _that_ would cure my problem. (It might have, except that it introduced a _new_ set of problems... ) When I build the .32 kernel, I'll make sure to save one. 5) In general, provide more info on your system configuration. Glad to. Hardware: motherboard: Cabriolet cpu: 21064A, 275Mhz RAM: 96Mb swap: 64Mb cache: 2Mb SCSI controller: NCR53c810 r2 video: Diamond Stealth 64 VRAM, S3 968.0, 2Mb disks: Fujitsu M2651S-512, 1.4Gb Sony CDU-76S CD-ROM SyQuest SyJet Software: Kernel revisions: 1.3.43 1.3.81 1.3.99 2.0.0 pre-2.0.14 2.1.13 2.0.28 Kernels were patched only with the appropriate axp-diffs from azstarnet. Distributions: RedHat 3.0.3 RedHat 4.0 RedHat 4.2 And I know it's likely not much help without a .map, but to give you a fuller sense of what's going on, here's a typical crash sequence from the system logs. Nov 27 06:05:10 thaumaturge kernel: Unable to handle kernel paging request at virtual address 00000000006fb921 Nov 27 06:05:10 thaumaturge kernel: kswapd(3): Oops 0 Nov 27 06:05:10 thaumaturge kernel: pc = [] ps = 0000 Nov 27 06:05:10 thaumaturge kernel: rp = [] sp = fffffc000003bdf0 Nov 27 06:05:10 thaumaturge kernel: r0=0 r1=6fb8f9 r2=2b01 r3=6fb8f9 Nov 27 06:05:10 thaumaturge kernel: r8=15556188000 Nov 27 06:05:10 thaumaturge kernel: r16=0 r17=0 r18=fffffc0005d06550 r19=15556180000 Nov 27 06:05:10 thaumaturge kernel: r20=0 r21=0 r22=4 r23=300000 Nov 27 06:05:10 thaumaturge kernel: r24=2f800000000 r25=6f800000000 r26=fffffc0000333050 r27=fffffc000032c8a8 Nov 27 06:05:10 thaumaturge kernel: r28=1 r29=fffffc000045d010 r30=fffffc000003bdf0 Nov 27 06:05:10 thaumaturge kernel: Code: e4200016 44210403 41259404 48209781 40651402 e020000c a8c30028 44c21001 Nov 27 06:06:00 thaumaturge kernel: Unable to handle kernel paging request at virtual address 00000000006fb921 Nov 27 06:06:00 thaumaturge kernel: crond(96): Oops 0 Nov 27 06:06:00 thaumaturge kernel: pc = [] ps = 0000 Nov 27 06:06:00 thaumaturge kernel: rp = [] sp = fffffc0005977df0 Nov 27 06:06:00 thaumaturge kernel: r0=7 r1=6fb8f9 r2=c00 r3=6fb8f9 Nov 27 06:06:00 thaumaturge kernel: r8=11fffe000 Nov 27 06:06:00 thaumaturge kernel: r16=6 r17=0 r18=1 r19=0 Nov 27 06:06:00 thaumaturge kernel: r20=1555583f4b0 r21=7 r22=4 r23=155556fafa8 Nov 27 06:06:00 thaumaturge kernel: r24=fffffc0000311608 r25=d r26=fffffc0000333050 r27=fffffc000032c8a8 Nov 27 06:06:00 thaumaturge kernel: r28=1 r29=fffffc000045d010 r30=fffffc0005977df0 Nov 27 06:06:00 thaumaturge kernel: Code: e4200016 44210403 41259404 48209781 40651402 e020000c a8c30028 44c21001 Nov 27 06:06:26 thaumaturge kernel: Unable to handle kernel paging request at virtual address 00000000006fb921 Nov 27 06:06:26 thaumaturge kernel: tcsh(8444): Oops 0 Nov 27 06:06:26 thaumaturge kernel: pc = [] ps = 0000 Nov 27 06:06:26 thaumaturge kernel: rp = [] sp = fffffc0005977bd0 Nov 27 06:06:26 thaumaturge kernel: r0=7 r1=6fb8f9 r2=c00 r3=6fb8f9 Nov 27 06:06:26 thaumaturge kernel: r8=80 Nov 27 06:06:26 thaumaturge kernel: r16=6 r17=0 r18=1 r19=3fff8 Nov 27 06:06:26 thaumaturge kernel: r20=2 r21=7 r22=4 r23=1f32000 Nov 27 06:06:26 thaumaturge kernel: r24=2f800000000 r25=6f800000000 r26=fffffc0000333050 r27=fffffc000032c8a8 Nov 27 06:06:26 thaumaturge kernel: r28=7 r29=fffffc000045d010 r30=fffffc0005977bd0 Nov 27 06:06:26 thaumaturge kernel: Code: e4200016 44210403 41259404 48209781 40651402 e020000c a8c30028 44c21001 Nov 27 06:06:45 thaumaturge kernel: Unable to handle kernel paging request at virtual address 00000000006fb921 Nov 27 06:06:45 thaumaturge kernel: init(1): Oops 0 Nov 27 06:06:45 thaumaturge kernel: pc = [] ps = 0000 Nov 27 06:06:45 thaumaturge kernel: rp = [] sp = fffffc00005e1c10 Nov 27 06:06:45 thaumaturge kernel: r0=7 r1=6fb8f9 r2=c00 r3=6fb8f9 Nov 27 06:06:45 thaumaturge kernel: r8=5f1 Nov 27 06:06:45 thaumaturge kernel: r16=6 r17=0 r18=1 r19=1 Nov 27 06:06:45 thaumaturge kernel: r20=4c455645 r21=7 r22=4 r23=1 Nov 27 06:06:45 thaumaturge kernel: r24=fffffc0000311608 r25=0 r26=fffffc0000333050 r27=fffffc000032c8a8 Nov 27 06:06:45 thaumaturge kernel: r28=fffffffffffffff4 r29=fffffc000045d010 r30=fffffc00005e1c10 Nov 27 06:06:45 thaumaturge kernel: Code: e4200016 44210403 41259404 48209781 40651402 e020000c a8c30028 44c21001 -- Terran Lane email=terran@ecn.purdue.edu WWW=http://purcell.ecn.purdue.edu/~terran/ PGP key=http://purcell.ecn.purdue.edu/~terran/facts/pgp_key.html "But I don't want to go among mad people," Alice remarked. "Oh, you can't help that," said the Cat: "we're all mad here. I'm mad. You're mad." "How do you know I'm mad?" said Alice. "You must be," said the Cat, "or you wouldn't have come here." -- 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