2004-10-22 11:21:15

by Kristian Sørensen

[permalink] [raw]
Subject: [OOPS] generic_delete_inode - Linux 2.6.8.1

Hi all!

On a Linux 2.6.8.1 (.config attached) running in an RedHat 9 system, we did
the following as root:

let "i = 0"
while [ "$i" -lt 10 ]; do
tar jxf linux-2.6.8.1.tar.bz2;
rm -fr linux-2.6.8.1;
let "i = i + 1"
done

This produced the following OOPS:

Oct 22 13:15:28 h31 kernel: Unable to handle kernel NULL pointer dereference
at virtual address 00000014
Oct 22 13:15:28 h31 kernel: printing eip:
Oct 22 13:15:28 h31 kernel: c015e7d0
Oct 22 13:15:28 h31 kernel: *pde = 00000000
Oct 22 13:15:28 h31 kernel: Oops: 0002 [#1]
Oct 22 13:15:28 h31 kernel: PREEMPT
Oct 22 13:15:28 h31 kernel: CPU: 0
Oct 22 13:15:28 h31 kernel: EIP: 0060:[<c015e7d0>] Not tainted
Oct 22 13:15:28 h31 kernel: EFLAGS: 00010202 (2.6.8.1)
Oct 22 13:15:28 h31 kernel: EIP is at generic_delete_inode+0x95/0x11d
Oct 22 13:15:28 h31 kernel: eax: 00000010 ebx: c9ada614 ecx: db5652cc
edx: c1459538
Oct 22 13:15:28 h31 kernel: esi: c017e133 edi: c9ada614 ebp: d9575f70
esp: d9575f3c
Oct 22 13:15:28 h31 kernel: ds: 007b es: 007b ss: 0068
Oct 22 13:15:30 h31 kernel: Process rm (pid: 1278, threadinfo=d9574000
task=d89286c0)
Oct 22 13:15:31 h31 kernel: Stack: c9ada614 00000000 00000000 c9ada614
00000000 c015ea28 c9ada614 c02f6630
Oct 22 13:15:31 h31 kernel: ddc3c000 c015474a c9ada614 ddc3c000
c9aeeab4 c7b45a28 df7af280 73885987
Oct 22 13:15:31 h31 kernel: ddc3c000 00000007 00000010 00000000
00000000 4178eba4 00000000 411defb4
Oct 22 13:15:31 h31 kernel: Call Trace:
Oct 22 13:15:31 h31 kernel: [<c015ea28>] iput+0x62/0x7c
Oct 22 13:15:31 h31 kernel: [<c015474a>] sys_unlink+0x86/0x135
Oct 22 13:15:31 h31 kernel: [<c0105a19>] sysenter_past_esp+0x52/0x71
Oct 22 13:15:31 h31 kernel: Code: 89 50 04 c7 03 00 00 00 00 c7 43 04 00 00 00
00 b8 00 e0 ff
Oct 22 13:15:31 h31 kernel: <6>note: rm[1278] exited with preempt_count 1
Oct 22 13:15:31 h31 kernel: bad: scheduling while atomic!
Oct 22 13:15:31 h31 kernel: [<c02bba62>] schedule+0x48a/0x48f
Oct 22 13:15:31 h31 kernel: [<c0135a63>] unmap_page_range+0x4b/0x71
Oct 22 13:15:31 h31 kernel: [<c0135c38>] unmap_vmas+0x1af/0x1bd
Oct 22 13:15:31 h31 kernel: [<c0139dbb>] exit_mmap+0x84/0x15d
Oct 22 13:15:31 h31 kernel: [<c0112568>] mmput+0x67/0x8e
Oct 22 13:15:31 h31 kernel: [<c0116386>] do_exit+0x163/0x378
Oct 22 13:15:31 h31 kernel: [<c01062df>] do_divide_error+0x0/0xfb
Oct 22 13:15:31 h31 kernel: [<c010f785>] do_page_fault+0x216/0x57e
Oct 22 13:15:31 h31 kernel: [<c01478db>] __getblk+0x2b/0x51
Oct 22 13:15:31 h31 kernel: [<c018da89>] journal_stop+0x1d4/0x2b0
Oct 22 13:15:31 h31 kernel: [<c010f56f>] do_page_fault+0x0/0x57e
Oct 22 13:15:31 h31 kernel: [<c0105c15>] error_code+0x2d/0x38
Oct 22 13:15:31 h31 kernel: [<c017e133>] ext3_delete_inode+0x0/0xe6
Oct 22 13:15:31 h31 kernel: [<c017007b>] mb_cache_shrink+0x5f/0x13f
Oct 22 13:15:31 h31 kernel: [<c015e7d0>] generic_delete_inode+0x95/0x11d
Oct 22 13:15:31 h31 kernel: [<c015ea28>] iput+0x62/0x7c
Oct 22 13:15:31 h31 kernel: [<c015474a>] sys_unlink+0x86/0x135
Oct 22 13:15:31 h31 kernel: [<c0105a19>] sysenter_past_esp+0x52/0x71


Any ideas what went wrong? File system is EXT3.


Best regards,
The Umbrella Team.

--
Kristian S?rensen
- The Umbrella Project
http://umbrella.sourceforge.net

E-mail: [email protected], Phone: +45 29723816


Attachments:
(No filename) (3.24 kB)
linux2.6.8.1-.config (16.99 kB)
Download all attachments