NetBSD-Bugs archive

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

Re: port-i386/37434: kernel trap when trying to power down via apm



On Mon, Nov 26, 2007 at 09:50:00AM +0000, martin%duskware.de@localhost wrote:
> >Number:         37434
> >Category:       port-i386
> >Synopsis:       kernel trap when trying to power down via apm
> 
...
> 0xc027e63f is in trap (../../../../arch/i386/i386/trap.c:393).
> 393                     switch (*(u_char *)frame->tf_eip) {
> 394                     case 0xcf:      /* iret */
> 395                             vframe = (void *)((int)&frame->tf_esp -
> 396                                 offsetof(struct trapframe, tf_eip));
> 397                             resume = (int)resume_iret;

A disassemble of trap() around that address should show which access
is failing - but probably it is the value in frame->tf_eip.
To get any further a dump of 'frame' is needed - so the values of all
the registers at the time of the original fault can be determined.
Since 'frame' is on the stack, it is likely that a dump of memory
below (higher addresses) that will also be useful.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index