Date: Thu, 26 Oct 2017 22:55:13 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-multimedia@FreeBSD.org Subject: [Bug 222667] [psm] HP EliteBook 9470m: Synaptics touchpad detected as Generic PS/2 Mouse Message-ID: <bug-222667-5956-7SM7WVZVwv@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-222667-5956@https.bugs.freebsd.org/bugzilla/> References: <bug-222667-5956@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222667 --- Comment #23 from Vladimir Kondratyev <wulf@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.h= tml): # 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=3D0) at /usr/src/sys/kern/kern_shutdown.c:318 #2 0xc057940e in db_dump (dummy=3D-1060412150,=20 dummy2=3D<error reading variable: access outside bounds of object refer= enced via synthetic pointer>,=20 dummy3=3D-1, dummy4=3D0xee9cb90c "") at /usr/src/sys/ddb/db_command.c:5= 72 #3 0xc05791e1 in db_command (last_cmdp=3D<optimized out>, cmd_table=3D<opt= imized out>, dopager=3D<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=3D<optimized out>, code=3D<optimized out>) = at /usr/src/sys/ddb/db_main.c:248 #6 0xc0cb6cbe in kdb_trap (type=3D<optimized out>, code=3D<optimized out>, tf=3D0xee9cbb7c) at /usr/src/sys/kern/subr_kdb.c:654 #7 0xc12282cd in trap (frame=3D<optimized out>) at /usr/src/sys/i386/i386/trap.c:680 #8 <signal handler called> #9 kdb_enter (why=3D0xc162ab65 "panic", msg=3D<optimized out>) at /usr/src/sys/kern/subr_kdb.c:444 #10 0xc0c709b0 in vpanic (fmt=3D<optimized out>, ap=3D<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:772 #11 0xc0c709eb in panic (fmt=3D0xc1628b04 "1") at /usr/src/sys/kern/kern_shutdown.c:710 #12 0xc112dbb9 in psmintr (arg=3D0xc7c0e000) at /usr/src/sys/dev/atkbdc/psm.c:2954 #13 0xc0c31bbe in intr_event_execute_handlers (p=3D0xee9cbcac, ie=3D<optimi= zed out>) at /usr/src/sys/kern/kern_intr.c:1336 #14 0xc0c321d0 in ithread_execute_handlers (ie=3D<optimized out>, p=3D<opti= mized out>) at /usr/src/sys/kern/kern_intr.c:1349 #15 ithread_loop (arg=3D0xc6ef1ef0) at /usr/src/sys/kern/kern_intr.c:1430 #16 0xc0c2edfe in fork_exit (callout=3D0xc0c32130 <ithread_loop>, arg=3D<op= timized out>, frame=3D<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=3D0xc7c0e000) 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++] =3D c; Than list adjacent sources line to ensure that we are debugging the same fi= les=20 (kgdb) list 2949 } 2950 sc->inputtimeout.tv_sec =3D PSM_INPUT_TIMEOUT / 100= 0000; 2951 sc->inputtimeout.tv_usec =3D PSM_INPUT_TIMEOUT % 10= 00000; 2952 timevaladd(&sc->inputtimeout, &now); 2953=20=20=20=20 2954 pb->ipacket[pb->inputbytes++] =3D c; 2955=20=20=20=20 2956 if (sc->mode.level =3D=3D 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 =3D 0 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222667-5956-7SM7WVZVwv>