[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sparc 20 and Kernel Oops on chmod()!



On Thu, 12 Apr 2001, Anton Blanchard wrote:

>  
> > 	Thanks to a spring snow storm, my Sparc 20 lost power this
> > morning, crashing rather hard it appears. On reboot, everything seemed
> > fine, the disks checked as expected, but nothing out of the ordinary was
> > reported... Then came the line 'chmod 666 /dev/tty[p-za-e][0-9a-f]' in
> > /etc/rcS.d/S55bootmisc.sh and the kernel crashed with an error that it was
> > unable to deference a NULL pointer, and that chmod() had caused an 'Oops'
> > to occur. There was some additional pointer information and such (like a
> > face with its tongue stuck out at me :), but it was a solid kernel crash,
> > and quite repeatable at that.
> 
> The information after the face is important :) That and the System.map
> is required to debug this sort of thing.

	That is what I was afraid of... At least this morning I am in a
bit better mood than I was last night and can handle rekeying all those
wonderful numbers in (no, the serial console on this machine does not seem
to want to work). Anyway, here is the boot log, starting with the last
"normal" message:


Cleaning: /tmp /var/lock /var/run
Unable to handle kernel NULL pointer dereference<1>tsk->mm->context = 0000005c
tsk->mm->pgd = f7c53800
<...face with tongue sticking out...>
find(97): Oops
PSR: 401000c0 PC: f00554d5 NPC: f00554d8 Y: 00000000
g0: 00000000 g1: f041d1e8 g2: f0151400 g3: 00000000 g4: f00469c0 g5: 00000014 g6: f4db6000 g7: 00000014
o0: 00000000 o1: 7bc20100 o2: 00001000 o3: 0001c200 o4: 0000000a o5: 00000000 o6: f4db7c18 o7: f006b378
l0: 00000000 l1: f7f19400 l2: 00000001 l3: f7ba13d8 l4: 00000008 l5: 00000000 l6: f4db6000 l7: f004b208
i0: 00000000 i1: 0000c834 i2: 0000c834 i3: f018e6c0 i4: 00000000 i5: 0000fc00 fp: f4db7c80 i7: f00558b0
Caller[f00559b0]
Caller[f0055910]
Caller[f006d218]
Caller[f004d6a0]
Caller[f004db8c]
Caller[f004dc7c]
Caller[f004b210]
Caller[f0011050]
Caller[500c24c4]
Instruction DUMP: 10800018  e0068000  b0100010 <d0062068> 80a20011  32800013  e0040000  d0062018  88a20019
/etc/init.d/rcS: line 54:    97 Killed                  find . ! -type d ! -name utmp ! -name innd.pid ! -name random-seed ! -newer /etc/mtab -exec rm -f -- {} \;
.
Unable to handle kernel NULL pointer dereference<1>tsk->mm->context = 00000060
tsk->mm->pgd = f7c53000
<...face with tongue sticking out...>
chmod(101): Oops
PSR: 401000c0 PC: f00554d4 NPC: f00554d8 Y: 1b000000
g0: 00000000 g1: f0343c40 g2: f0151400 g3: 00000000 g4: f00469c0 g5: 00000014 g6: f4db6000 g7: 00000014
o0: 00000000 o1: 00000000 o2: 00001000 o3: 00030000 o4: 0000000a o5: 39898d55 o6: f4dd7c18 o7: f006b378
l0: 00000000 l1: f7f19400 l2: f006b118 l3: f05bda50 l4: 00000008 l5: 00000000 l6: f4db6000 l7: f004b208
i0: 00000000 i1: 00016913 i2: f018e6c0 i3: 00000000 i4: 00000000 i5: 0000fc00 fp: f4db7c80 i7: f00558b0
Caller[f00559b0]
Caller[f0055910]
Caller[f006d218]
Caller[f004d6a0]
Caller[f004db8c]
Caller[f004dc7c]
Caller[f004b210]
Caller[f0011050]
Caller[500c27a4]
Instruction DUMP: 10800018  e0068000  b0100010 <d0062068> 80a20011  32800013  e0040000  d0062018  88a20019
/etc/init.d/rcS: line 70:    101 Killed                  chmod 666 /dev/tty[p-za-e][0-9a-f]


And attached is the system.map file, gziped to save space. Thank you for
your help, hope to hear from you soon. :)

---------------------------------------------------------------------------
|   "For to me to live is Christ, and to die is gain."                    |
|                                            --- Philippians 1:21 (KJV)   |
---------------------------------------------------------------------------
|   Ryan Kirkpatrick  |  Boulder, Colorado  |  http://www.rkirkpat.net/   |
---------------------------------------------------------------------------

Attachment: System.map-2.2.18-cdhs.gz
Description: Binary data


Reply to: