From owner-freebsd-hackers Mon May 19 20:12:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA06134 for hackers-outgoing; Mon, 19 May 1997 20:12:23 -0700 (PDT) Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA06126; Mon, 19 May 1997 20:12:19 -0700 (PDT) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by nasu.utsunomiya-u.ac.jp (8.8.4+2.7Wbeta4/3.5Wpl3) with ESMTP id MAA13007; Tue, 20 May 1997 12:06:22 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (tNPtccoP9TKtwDi9m1Hkqot9viQG6YG3@zodiac.mech.utsunomiya-u.ac.jp [160.12.33.1]) by outmail.utsunomiya-u.ac.jp (8.8.4+2.7Wbeta4/3.5Wpl3) with ESMTP id MAA26513; Tue, 20 May 1997 12:06:18 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.33.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id MAA17969; Tue, 20 May 1997 12:11:21 +0900 (JST) Message-Id: <199705200311.MAA17969@zodiac.mech.utsunomiya-u.ac.jp> To: dg@root.com cc: freebsd-hackers@freebsd.org, freebsd-bugs@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: trap type 29 on P6 In-reply-to: Your message of "Mon, 19 May 1997 19:43:58 MST." <199705200243.TAA07620@implode.root.com> References: <199705200243.TAA07620@implode.root.com> Date: Tue, 20 May 1997 12:11:21 +0900 From: Kazutaka YOKOTA Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>A PentiumPro user is occasionally getting the trap type 29 when using >>the psm driver (PR i386/3462). What does this trap mean? The trapped >>instruction doesn't look remotely like an invalid instruction. >>sys/i386/i386/trap.c doesn't supply a message for this trap type. >> >>He is using PentiumPro 200Mhz on ASUS P/I-P65UP5. >> >>> Using a PS/2 mouse with std. PC kbd and psm0 enabled causes the >>> following kernel trap after a while (with DDB turned on): >>> >>> instruction pointer = 0x8:0xf01887cb >>> stack pointer = 0x10:0xf01a1f3c >>> frame pointer = 0x10:0xf01a1f40 >>> code segment = base 0x0, limit 0xfffff, type 0x1b >>> = DPL 0, pres 1, def32 1, gran 1 >>> processor eflags = interrupt enabled, IOPL = 0 >>> current process = Idle >>> interrupt mask = tty >>> kernel: type 29 trap, code=0 >>> Stopped at _read_kbd_data_no_wait+0x37: andl $0xff,%eax > > Is the instruction right before this one an inb or outb? I've seen this >before on P6 machines... Exactly!!. We have: movl (%ebx),%edx inb %dx,%al andl $255,%eax It's reading the port 0x60 for keyboard data. Kazu