[Bug 222667] [psm] HP EliteBook 9470m: Synaptics touchpad detected as Generic PS/2 Mouse
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Oct 26 22:55:14 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222667
--- Comment #23 from Vladimir Kondratyev <wulf at freebsd.org> ---
(In reply to Neel Chauhan from comment #22)
Hi, Neal. Please:
If you have a kernel dump, load it in gdb
(https://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html):
# cd /usr/obj/usr/src/sys/<YOUR KERNCONF>
# kgdb kernel.debug /var/crash/vmcore.<YOUR KERNELDUMP NUMBER>
<YOUR KERNELDUMP NUMBER> is printed on first boot after panic.
than make stack backtrace
(kgdb) bt
#0 __curthread () at ./machine/pcpu.h:225
#1 doadump (textdump=0) at /usr/src/sys/kern/kern_shutdown.c:318
#2 0xc057940e in db_dump (dummy=-1060412150,
dummy2=<error reading variable: access outside bounds of object referenced
via synthetic pointer>,
dummy3=-1, dummy4=0xee9cb90c "") at /usr/src/sys/ddb/db_command.c:572
#3 0xc05791e1 in db_command (last_cmdp=<optimized out>, cmd_table=<optimized
out>, dopager=<optimized out>)
at /usr/src/sys/ddb/db_command.c:479
#4 0xc0578f40 in db_command_loop () at /usr/src/sys/ddb/db_command.c:532
#5 0xc057bfea in db_trap (type=<optimized out>, code=<optimized out>) at
/usr/src/sys/ddb/db_main.c:248
#6 0xc0cb6cbe in kdb_trap (type=<optimized out>, code=<optimized out>,
tf=0xee9cbb7c)
at /usr/src/sys/kern/subr_kdb.c:654
#7 0xc12282cd in trap (frame=<optimized out>) at
/usr/src/sys/i386/i386/trap.c:680
#8 <signal handler called>
#9 kdb_enter (why=0xc162ab65 "panic", msg=<optimized out>) at
/usr/src/sys/kern/subr_kdb.c:444
#10 0xc0c709b0 in vpanic (fmt=<optimized out>, ap=<optimized out>) at
/usr/src/sys/kern/kern_shutdown.c:772
#11 0xc0c709eb in panic (fmt=0xc1628b04 "1") at
/usr/src/sys/kern/kern_shutdown.c:710
#12 0xc112dbb9 in psmintr (arg=0xc7c0e000) at
/usr/src/sys/dev/atkbdc/psm.c:2954
#13 0xc0c31bbe in intr_event_execute_handlers (p=0xee9cbcac, ie=<optimized
out>)
at /usr/src/sys/kern/kern_intr.c:1336
#14 0xc0c321d0 in ithread_execute_handlers (ie=<optimized out>, p=<optimized
out>)
at /usr/src/sys/kern/kern_intr.c:1349
#15 ithread_loop (arg=0xc6ef1ef0) at /usr/src/sys/kern/kern_intr.c:1430
#16 0xc0c2edfe in fork_exit (callout=0xc0c32130 <ithread_loop>, arg=<optimized
out>, frame=<optimized out>)
at /usr/src/sys/kern/kern_fork.c:1044
#17 <signal handler called>
Than find a frame with psmintr(). It looks like
#12 0xc112dbb9 in psmintr (arg=0xc7c0e000) at
/usr/src/sys/dev/atkbdc/psm.c:2954
Take first column value and place it after frame command:
(kgdb) frame 12
2954 pb->ipacket[pb->inputbytes++] = c;
Than list adjacent sources line to ensure that we are debugging the same files
(kgdb) list
2949 }
2950 sc->inputtimeout.tv_sec = PSM_INPUT_TIMEOUT / 1000000;
2951 sc->inputtimeout.tv_usec = PSM_INPUT_TIMEOUT % 1000000;
2952 timevaladd(&sc->inputtimeout, &now);
2953
2954 pb->ipacket[pb->inputbytes++] = c;
2955
2956 if (sc->mode.level == PSM_LEVEL_NATIVE) {
2957 VLOG(4, (LOG_DEBUG, "psmintr: %02x\n",
pb->ipacket[0]));
And than, please, post sc->pqueue.inputbytes values here
(kgdb) p sc->pqueue.inputbytes
$4 = 0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-multimedia
mailing list