Re: kernel with cap module does not boot
Jens Kasten <[email protected]>
| Newsgroups | gmane.linux.rsbac |
|---|---|
| Message-ID | <1310327749.8328.2.camel@jaschtschik-pc> |
Hmm, I did make more tests and I got the old bug. Am Samstag, den 09.07.2011, 03:10 +0200 schrieb Jens Kasten: > Hi list, > > I try the rsbac kernel from git 2.6.38.y with follow revision: > commit 572a5f205fa6b7edc3e42c692b4db334cff2a07d > > My setup is on a kvm-qemu guest. > cryptsetup + luks + root-partition ext4 > > Problem: > When I configure the kernel to use the rsbac CAP module the kernel hangs > short time after rsbac is initialized with full cpu using. > See file rsbac_with_cap_only what I have enabled in rsbac. > > The kernel without CAP does not show the last issue, when using > cryptsetup + luks + ext4. > > Small typo in include/rsbac/um.h: > Last modified: 19/Apt/2011 > > Grüsse > Jens > _______________________________________________ > rsbac mailing list > [email protected] > http://www.rsbac.org/mailman/listinfo/rsbac _______________________________________________ rsbac mailing list [email protected] http://www.rsbac.org/mailman/listinfo/rsbac
bug_2.6.38.8
(text/plain, 4.1 KB)
[ 129.964551] BUG: unable to handle kernel NULL pointer dereference at (null) [ 129.966324] IP: [<c119e505>] jbd2_journal_file_inode+0x35/0xd0 [ 129.967788] *pde = 00000000 [ 129.968739] Oops: 0000 [#1] SMP [ 129.969838] last sysfs file: /sys/devices/virtual/bdi/0:17/uevent [ 129.971245] Modules linked in: nfs lockd nfs_acl auth_rpcgss sunrpc loop [la] [ 129.974258] [ 129.974518] Pid: 182, comm: rsbacd Not tainted 2.6.38.8-rsbac-5+ #6 Bochs Bos [ 129.974518] EIP: 0060:[<c119e505>] EFLAGS: 00010246 CPU: 2 [ 129.974518] EIP is at jbd2_journal_file_inode+0x35/0xd0 [ 129.974518] EAX: f585b000 EBX: f56dd0c0 ECX: 0000000c EDX: 00000000 [ 129.974518] ESI: 00000000 EDI: f4078800 EBP: 00000001 ESP: f56a7bc4 [ 129.974518] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 129.974518] Process rsbacd (pid: 182, ti=f56a6000 task=f55fef40 task.ti=f56a) [ 129.974518] Stack: [ 129.974518] f56a7cbc f5a18528 f58ea600 c1177df2 00000005 7fffffff 00000001 5 [ 129.974518] 00000001 c1178484 00001000 00000223 00000000 f585b000 00000000 0 [ 129.974518] f56a7d04 7ffffffe 00000000 00000002 00000000 00000000 f747caa0 0 [ 129.974518] Call Trace: [ 129.974518] [<c1177df2>] ? mpage_da_map_and_submit+0x292/0x590 [ 129.974518] [<c10ed005>] ? __pagevec_release+0x15/0x20 [ 129.974518] [<c1178484>] ? write_cache_pages_da+0x264/0x370 [ 129.974518] [<c11841b7>] ? ext4_journal_start_sb+0xe7/0x120 [ 129.974518] [<c10ea952>] ? tag_pages_for_writeback+0x62/0xb0 [ 129.974518] [<c117881a>] ? ext4_da_writepages+0x28a/0x4c0 [ 129.974518] [<c117a83e>] ? ext4_da_write_end+0x11e/0x2d0 [ 129.974518] [<c10eb7f4>] ? do_writepages+0x14/0x30 [ 129.974518] [<c10e44bf>] ? __filemap_fdatawrite_range+0x5f/0x80 [ 129.974518] [<c10e4540>] ? filemap_write_and_wait_range+0x60/0x90 [ 129.974518] [<c11409ad>] ? vfs_fsync_range+0x5d/0x90 [ 129.974518] [<c1140a38>] ? generic_write_sync+0x58/0x80 [ 129.974518] [<c10e6029>] ? generic_file_aio_write+0xa9/0xc0 [ 129.974518] [<c117023f>] ? ext4_file_write+0x5f/0x2b0 [ 129.974518] [<c1116cd5>] ? do_sync_write+0xb5/0xf0 [ 129.974518] [<c104eecb>] ? rsbac_list_write_buffers+0xdb/0x2f0 [ 129.974518] [<c105302b>] ? rsbac_write_lists+0x18b/0x4f0 [ 129.974518] [<c1001c0b>] ? __switch_to+0xdb/0x1b0 [ 129.974518] [<c1300625>] ? schedule_timeout+0x165/0x1b0 [ 129.974518] [<c11ded8d>] ? vsnprintf+0xbd/0x420 [ 129.974518] [<c1092ee2>] ? __wake_up+0x42/0x60 [ 129.974518] [<c103db0d>] ? rsbac_write+0x2d/0xb0 [ 129.974518] [<c10be68b>] ? up+0xb/0x40 [ 129.974518] [<c10412ca>] ? rsbacd+0x1ca/0x2a0 [ 129.974518] [<c1092ddf>] ? complete+0x3f/0x60 [ 129.974518] [<c1041100>] ? rsbacd+0x0/0x2a0 [ 129.974518] [<c10b9534>] ? kthread+0x74/0x80 [ 129.974518] [<c10b94c0>] ? kthread+0x0/0x80 [ 129.974518] [<c100327e>] ? kernel_thread_helper+0x6/0x18 [ 129.974518] Code: 89 7c 24 08 89 d6 8b 18 f6 40 10 04 8b 3b 74 16 b8 fb ff f [ 129.974518] EIP: [<c119e505>] jbd2_journal_file_inode+0x35/0xd0 SS:ESP 0068:4 [ 129.974518] CR2: 0000000000000000 [ 130.028180] ---[ end trace 4fbbb5a5b3b6802b ]---