From owner-freebsd-multimedia@freebsd.org Thu Oct 26 22:55:13 2017 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED4A5E54E41 for ; Thu, 26 Oct 2017 22:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D199C6D16B for ; Thu, 26 Oct 2017 22:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v9QMtDAv074159 for ; Thu, 26 Oct 2017 22:55:13 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Thu, 26 Oct 2017 22:55:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wulf@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-multimedia@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 22:55:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222667 --- Comment #23 from Vladimir Kondratyev --- (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/ # kgdb kernel.debug /var/crash/vmcore. 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,=20 dummy3=3D-1, dummy4=3D0xee9cb90c "") at /usr/src/sys/ddb/db_command.c:5= 72 #3 0xc05791e1 in db_command (last_cmdp=3D, cmd_table=3D, dopager=3D) 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, code=3D) = at /usr/src/sys/ddb/db_main.c:248 #6 0xc0cb6cbe in kdb_trap (type=3D, code=3D, tf=3D0xee9cbb7c) at /usr/src/sys/kern/subr_kdb.c:654 #7 0xc12282cd in trap (frame=3D) at /usr/src/sys/i386/i386/trap.c:680 #8 #9 kdb_enter (why=3D0xc162ab65 "panic", msg=3D) at /usr/src/sys/kern/subr_kdb.c:444 #10 0xc0c709b0 in vpanic (fmt=3D, ap=3D) 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) at /usr/src/sys/kern/kern_intr.c:1336 #14 0xc0c321d0 in ithread_execute_handlers (ie=3D, p=3D) 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 , arg=3D, frame=3D) at /usr/src/sys/kern/kern_fork.c:1044 #17 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.=