Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 1997 12:11:21 +0900
From:      Kazutaka YOKOTA <yokota@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 
Message-ID:  <199705200311.MAA17969@zodiac.mech.utsunomiya-u.ac.jp>
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> 

next in thread | previous in thread | raw e-mail | index | archive | help

>>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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705200311.MAA17969>