do_ext2_rename oops

Frank Sweetser (rasmusin@WPI.EDU)
Fri, 1 Aug 1997 13:57:03 -0400

Content-Type: text/plain; charset=us-ascii

Got this oops with

ext2 IO error handline
immutable check
(don't have the eact patch names, but they're all from

Caused consistently by updatedb calling mv (updatedb runs on bootup
on my machine). Funny thing is, it never happens if I remove the immutable
check in do_ext2_rename.

Windows: I can play Doom! |RedHat Linux 2.0.31pre-2 i486
Linux: I can be a file server, be a Web|Because reboots are for upgrades!
server, run the accounting package with|
twelve terminals AND play Doom! |for pgp key. frank sweetser

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pre-exterr-immut-debug.dmesg"

Unable to handle kernel NULL pointer dereference at virtual address c0000083
current->tss.cr3 = 02148000, %cr3 = 02148000
*pde = 00102067
*pte = 00000027
Oops: 0000
CPU: 0
EIP: 0010:[<0015d324>]
EFLAGS: 00010246
eax: 00000000 ebx: 00000000 ecx: 0000000a edx: 00000000
esi: 024ce4ec edi: 00000000 ebp: 024cedc8 esp: 02188ef4
ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Process mv (pid: 334, process nr: 30, stackpage=02188000)
Stack: 024cedc8 00000000 0000000c 0217a005 0012c511 00000000 02617098 ffffffff
00000000 026188e8 0015d6c2 024cedc8 02117005 0000000e 024cedc8 0217a005
0000000c 00000000 00000000 0217a000 00000000 bffffd60 0012db4d 024cedc8
Call Trace: [<0012c511>] [<0015d6c2>] [<0012db4d>] [<0012dbdd>] [<0010a835>]
Code: f6 83 83 00 00 00 03 0f 85 d2 02 00 00 66 8b 46 08 66 25 00
Using `/usr/src/t/linux/' to map addresses to symbols.

>>EIP: 15d324 <do_ext2_rename+284/5c0>
Trace: 12c511 <lookup+f1/110>
Trace: 15d6c2 <ext2_rename+62/90>
Trace: 12db4d <do_rename+25d/290>
Trace: 12dbdd <sys_rename+5d/90>
Trace: 10a835 <system_call+55/80>

Code: 15d324 <do_ext2_rename+284/5c0>

0x15d2fb <do_ext2_rename+603>: je 0x15d324 <do_ext2_rename+644>
0x15d2fd <do_ext2_rename+605>: testb $0x2,0x9(%ebp)
0x15d301 <do_ext2_rename+609>: je 0x15d324 <do_ext2_rename+644>
0x15d303 <do_ext2_rename+611>: movl 0x1b5eb8,%eax
0x15d308 <do_ext2_rename+616>: movw 0x11e(%eax),%ax
0x15d30f <do_ext2_rename+623>: cmpw %ax,0xc(%ebx)
0x15d313 <do_ext2_rename+627>: je 0x15d324 <do_ext2_rename+644>
0x15d315 <do_ext2_rename+629>: cmpw %ax,0xc(%ebp)
0x15d319 <do_ext2_rename+633>: je 0x15d324 <do_ext2_rename+644>
0x15d31b <do_ext2_rename+635>: testw %ax,%ax
0x15d31e <do_ext2_rename+638>: jne 0x15d603 <do_ext2_rename+1379>
0x15d324 <do_ext2_rename+644>: testb $0x3,0x83(%ebx)
0x15d32b <do_ext2_rename+651>: jne 0x15d603 <do_ext2_rename+1379>
0x15d331 <do_ext2_rename+657>: movw 0x8(%esi),%ax
0x15d335 <do_ext2_rename+661>: andw $0xf000,%ax
0x15d339 <do_ext2_rename+665>: cmpw $0x4000,%ax
0x15d33d <do_ext2_rename+669>: jne 0x15d3ce <do_ext2_rename+814>