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



The following reply was made to PR port-i386/37434; it has been noted by GNATS.

From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-i386-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost
Subject: Re: port-i386/37434: kernel trap when trying to power down via apm
Date: Sat, 15 Mar 2008 16:07:19 +0000

 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