kernel oops
I realize that this oops report may be almost useless because it happened on a system with loaded nvidia binary driver. Nevertheless, maybe one of the kernel gurus can tell if SELinux is at fault here or if I should blame nvidia.
The oops happened on a vanilla 2.6.8.1 box while loading policy. After the oops, load_policy hang in D state.
Here is the oops:
Unable to handle kernel paging request at virtual address 0d5b7746 printing eip: c0252b34 *pde = 00000000 Oops: 0000 [#1] PREEMPT SMP Modules linked in: snd_pcm_oss snd_mixer_oss agpgart nvidia snd_seq snd_via82xx snd_ac97_codec snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd CPU: 0 EIP: 0060:[<c0252b34>] Tainted: P EFLAGS: 00010206 (2.6.8.1)
EIP is at hashtab_map+0x34/0x70
eax: efd607e0 ebx: 0d5b7742 ecx: 00000009 edx: 00000020
esi: 0000001a edi: db30abc0 ebp: db30ccc0 esp: de01bd3c
ds: 007b es: 007b ss: 0068
Process load_policy (pid: 29095, threadinfo=de01a000 task=e0647410)
Stack: db30ab40 db30ab60 db30ccc0 db30cc00 00000000 db30abe0 db30aba0 c0257281
db30abc0 c0257180 db30ccc0 ed2943a0 0000001a e18048e0 de01bdfc c0252b44
db30aba0 db30abe0 de01bdfc de01bdb4 de01bdbc de01bdfc c05df7a4 c02575e5
Call Trace:
[<c0257281>] validate_class+0x91/0x140
[<c0257180>] validate_perm+0x0/0x70
[<c0252b44>] hashtab_map+0x44/0x70
[<c02575e5>] security_load_policy+0x125/0x330
[<c02571f0>] validate_class+0x0/0x140
[<f0f656f6>] _nv001140rm+0x10a/0x118 [nvidia]
[<c0108899>] handle_IRQ_event+0x49/0x80
[<c0108cfa>] do_IRQ+0xea/0x1a0
[<c0106d48>] common_interrupt+0x18/0x20
[<c0277f92>] __copy_from_user_ll+0x42/0x80
[<c0278094>] copy_from_user+0x54/0x80
[<c024fe97>] sel_write_load+0xb7/0x110
[<c024fde0>] sel_write_load+0x0/0x110
[<c016d47c>] vfs_write+0xec/0x150
[<c016d5b1>] sys_write+0x51/0x80
[<c01063db>] syscall_call+0x7/0xb
Code: 8b 43 04 89 44 24 04 8b 03 89 04 24 ff 54 24 24 85 c0 75 11Thanks,
Thomas
Signature · 2 lines
http://www.cip.ifi.lmu.de/~bleher/selinux/ - my SELinux pages GPG-Fingerprint: BC4F BB16 30D6 F253 E3EA D09E C562 2BAE B2F4 ABE7
Hi Thomas,
Quoted 10 lines
happened on a system with loaded nvidia binary driver. Nevertheless,
Call Trace: [<c0257281>] validate_class+0x91/0x140 [<c0257180>] validate_perm+0x0/0x70 [<c0252b44>] hashtab_map+0x44/0x70 [<c02575e5>] security_load_policy+0x125/0x330 [<c02571f0>] validate_class+0x0/0x140 [<f0f656f6>] _nv001140rm+0x10a/0x118 [nvidia]
Not just with a loaded nvidia driver, but with nvidia in the call trace. (I'm no kernel expert at all. it looks a bit like an interrupt occured while transferring the policy to kernel space, that got handled by the nvidia driver. but that is just a guess.)
Quoted 4 lines
[<c0108899>] handle_IRQ_event+0x49/0x80 [<c0108cfa>] do_IRQ+0xea/0x1a0 [<c0106d48>] common_interrupt+0x18/0x20 [<c0277f92>] __copy_from_user_ll+0x42/0x80
Does it happen frequently? If so, try without preempt enabled.
P.S. we should to exchange GPG keys; i'm at IFI, too, and i've got a strongly connected key. Although i havn't met rjc or colin yet in person i do only have a path distance of 2 to them, often with multiple links (well, the debian crowd loves keysigning...)
Greetings,
Erich Schubert
Signature · 9 lines
erich@(vitavonni.de|debian.org) -- GPG Key ID: 4B3A135C (o_
Go away or i'll replace you with a very small shell script. //\
In unseren Freunden suchen wir, was uns fehlt. --- Thornton Wilder V_/_
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.Hi Erich,
Quoted 10 lines · Erich Schubert
Quoted 8 lines
happened on a system with loaded nvidia binary driver. Nevertheless,
Call Trace: [<c0108899>] handle_IRQ_event+0x49/0x80 [<c0108cfa>] do_IRQ+0xea/0x1a0 [<c0106d48>] common_interrupt+0x18/0x20 [<c0277f92>] __copy_from_user_ll+0x42/0x80Does it happen frequently? If so, try without preempt enabled.
No, it only happened once so far, of at least one hundred policy reloads on systems with loaded nvidia driver. So it is not a very big issue for me; I wanted to post it so people know about it.
I am very happy with the stability of my SELinux systems. :-)
Quoted 1 line
P.S. we should to exchange GPG keys
Good idea. I'll mail you separately about this.
Thanks,
Thomas
Signature · 2 lines
http://www.cip.ifi.lmu.de/~bleher/selinux/ - my SELinux pages GPG-Fingerprint: BC4F BB16 30D6 F253 E3EA D09E C562 2BAE B2F4 ABE7