Re: General protection fault when unloading snd_hda_intel on2.6.30-rc1+

From: Arjan van de Ven
Date: Sat Apr 11 2009 - 17:38:20 EST


On Sat, 11 Apr 2009 23:03:36 +0200
"Carlos R. Mafra" <crmafra2@xxxxxxxxx> wrote:

> From: "Carlos R. Mafra" <crmafra2@xxxxxxxxx>
> To: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx, tiwai@xxxxxxx,
> alsa-devel@xxxxxxxxxxxxxxx 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.

--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/