On Sat, 11 Apr 2009 23:03:36 +0200 "Carlos R. Mafra" crmafra2@gmail.com wrote:
From: "Carlos R. Mafra" crmafra2@gmail.com To: Arjan van de Ven arjan@infradead.org Cc: linux-kernel@vger.kernel.org, tiwai@suse.de, alsa-devel@vger.kernel.org Subject: Re: General protection fault when unloading snd_hda_intel on 2.6.30-rc1+ Date: Sat, 11 Apr 2009 23:03:36 +0200 User-Agent: Mutt/1.5.18 (2008-05-17)
On Sat 11.Apr'09 at 13:20:33 -0700, Arjan van de Ven wrote: [...]
asm volatile("bt %2,%1\n\t" *ffffffff8044bf90: 0f a3 77 20 bt %esi,0x20(%rdi) | %edi = 697665646632785c %esi = 5 <--- faulting instruction ffffffff8044bf94: 19 c0 sbb %eax,%eax static struct input_handler *input_table[8];
static inline int is_event_supported(unsigned int code, unsigned long *bm, unsigned int max) { return code <= max && test_bit(code, bm); ffffffff8044bf96: 85 c0 test %eax,%eax ffffffff8044bf98: 74 e0 je ffffffff8044bf7a <input_event+0x2a> { unsigned long flags;
if (is_event_supported(type, dev->evbit, EV_MAX)) {
so... "dev" is pointing evbit at... 697665646632785 which looks like grabage.