DragonFly bugs List (threaded) for 2006-11
DragonFly BSD
DragonFly bugs List (threaded) for 2006-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ATA identify retries exceeded - kernel panic


From: "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxx>
Date: Wed, 29 Nov 2006 18:51:10 +0000

Matthew Dillon wrote:
:> kernel: type 12 trap, code=2
:> Stopped at     ad_interrupt+x038a: movl   %eax,0x148(%edx)

Fwiw, I haven't seen such yet with the new ATA code, except in the case when I forgot to zero the structs I pulled out of my objcache. It might be nice to have objcache_get() look at oc_flags and zero if & M_ZERO.


In any case, I got that panic because I didn't have a zeroed struct, so a certain variable was set where it shouldn't have been, resulting in other code kfree()-ing another struct, thereby making a pointer in that struct point to 0xdeadc0de (the slab alloc does this). If that's the case, we need to look for inadvertent frees.

Cheers,
--
        Thomas E. Spanjaard
        tgen@xxxxxxxxxxxxx

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]