On Sat, 07 Apr 2007 20:09:43 +0200 Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx> wrote:
> BTW. I guess that this need a similar fix.
>
> kernel BUG at kernel/ptrace.c:494!
> invalid opcode: 0000 [#2]
> PREEMPT SMP
> last sysfs file: devices/platform/w83627hf.656/temp2_input
> Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nfsd exportfs lockd nfs_acl autofs4 sunrpc af_packet nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink iptable_filter ip_tables ip6t_REJECT xt_tcpudp ip6table_filter ip6_tables x_tables ipv6 binfmt_misc thermal processor fan container nvram snd_intel8x0 snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss intel_agp snd_pcm agpgart evdev snd_timer snd soundcore i2c_i801 snd_page_alloc ide_cd cdrom rtc unix
> CPU: 1
> EIP: 0060:[<c0163f22>] Not tainted VLI
> EFLAGS: 00010202 (2.6.21-rc6-mm1 #1)
> EIP is at ptrace_exit+0x29/0x21d
>
no, I don't see what would cause that. Was there no call trace?
It's always possible that some random part of the kernel has
gone and leaked a preempt_count.
BUG_ON is an obnoxious thing - please prefer to use WARN_ON in non-fatal
situations. Particularly when the assertions aren't tested ;)