On 3/27/07, Tao Chen <[EMAIL PROTECTED]> wrote:
My network driver crashes quickly after loaded. I am wondering why. Maybe
related to my gld_send function, but I do not know why it crashes in system
software and also why gld_start is called again?
I don't understand what you mean by 'gld_start is called again'. To me
it looks like you have a bug somewhere in the neighbourhood of either
your gldm_reset() or gldm_start() entry point and you've hit it twice
(hence the two identical stack traces).
A $c in kmdb will give more info. i.e. the function arguments and then
you could use ::print to start deciphering the data structures. It's
not that hard now that the source code is publicly available :-)
Can some one give me some hint?
.
.
.
sched:
#gp General protection
addr=0xfffffffee43dde70
pid=0, pc=0xfffffffff836541e, sp=0xffffff0004a419e0, eflags=0x10246
cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6f8<xmme,fxsr,pge,mce,pae,pse,de>
cr2: 807533c cr3: 2c00000 cr8: c
rdi: fffffffee1b263f4 rsi: 1 rdx: 0
rcx: 0 r8: deadbeefdeadbeef r9: fffffffec5921580
^^^^ This looks suspicious.
I'd say you had some uninitialized data structure somewhere. Have you
initilized your GLD private data pointer properly?
Paul
--
Paul Durrant
http://www.linkedin.com/in/pdurrant
_______________________________________________
networking-discuss mailing list
[email protected]