NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49409: keyboard locks up after warm boot from windows 7



>Number:         49409
>Category:       kern
>Synopsis:       keyboard locks up after warm boot from windows 7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 21 23:15:00 +0000 2014
>Originator:     Andrew Cagney
>Release:        7.99.1 NetBSD 7.99.1 (GENERIC) #17: Fri Nov 21 00:19:50 EST 2014
>Organization:
>Environment:
NetBSD morgan 7.99.1 NetBSD 7.99.1 (GENERIC) #17: Fri Nov 21 00:19:50 EST 2014  root@morgan:/home/netbsd/trunk/sys/arch/amd64/compile/obj/GENERIC amd64

>Description:
Note: I also encountered this with 6.1.5 and 7.x beta kernels

It seems that the keyboard/touchpad are dead after a warm boot from windows.  While not 100% reliable, it is close.

I've also seen this with 6.1.5 and 7.x

It may be related to:
  kern/49404: pms0: bad elantech magic (3C 3 0)
where newer elantech touchpad isn't recognised

Below is the diff between a cold and warm boot - in the latter it is trying to reset the keyboard hardware.

--- ok	2014-11-21 16:44:20.000000000 -0500
+++ wedge	2014-11-21 16:44:14.000000000 -0500
@@ -99,9 +99,7 @@
   /netbsd: acpitz1: levels: critical 99.0 C, passive 97.0 C, passive cooling
   /netbsd: ACPI: Enabled 4 GPEs in block 00 to 3F
   /netbsd: ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140926/hwxface-646)
-  /netbsd: pckbd0 at pckbc1 (kbd slot)
-  /netbsd: pckbc1: using irq 1 for kbd slot
-  /netbsd: wskbd0 at pckbd0: console keyboard
+  /netbsd: pckbdprobe: reset response 0xfa
   /netbsd: pms0 at pckbc1 (aux slot)
   /netbsd: pckbc1: using irq 12 for aux slot
   /netbsd: wsmouse0 at pms0 mux 0
@@ -119,7 +117,7 @@
   /netbsd: intelfb0 at i915drmkms0
   /netbsd: i915drmkms0: info: registered panic notifier
   /netbsd: intelfb0: framebuffer at 0xffff80008e29d000, size 1366x768, depth 32, stride 5504
-  /netbsd: wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
+  /netbsd: wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation)
   /netbsd: wsmux1: connecting to wsdisplay0
   /netbsd: vendor 8086 product 1c3a (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
   /netbsd: ehci0 at pci0 dev 26 function 0: vendor 8086 product 1c2d (rev. 0x04)
@@ -217,7 +215,7 @@
   /netbsd: coretemp1 at cpu2: thermal sensor, 1 C resolution
   /netbsd: acpicpu3 at cpu3: ACPI CPU
   /netbsd: timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
-  /netbsd: timecounter: Timecounter "TSC" frequency 1596465600 Hz quality 3000
+  /netbsd: timecounter: Timecounter "TSC" frequency 1596469820 Hz quality 3000
   /netbsd: acpiacad0: AC adapter offline.
   /netbsd: IPsec: Initialized Security Association Processing.
   /netbsd: uhub0 at usb0: vendor 8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
@@ -239,15 +237,15 @@
   /netbsd: wd1: 15272 MB, 31029 cyl, 16 head, 63 sec, 512 bytes/sect x 31277232 sectors
   /netbsd: wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
   /netbsd: wd1(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
-  /netbsd: uhub2 at uhub0 port 1: vendor 8087 product 0024, class 9/0, rev 2.00/0.00, addr 2
+  /netbsd: uhub2 at uhub1 port 1: vendor 8087 product 0024, class 9/0, rev 2.00/0.00, addr 2
   /netbsd: uhub2: single transaction translator
-  /netbsd: uhub3 at uhub1 port 1: vendor 8087 product 0024, class 9/0, rev 2.00/0.00, addr 2
+  /netbsd: uhub3 at uhub0 port 1: vendor 8087 product 0024, class 9/0, rev 2.00/0.00, addr 2
   /netbsd: uhub3: single transaction translator
   /netbsd: uhub3: 6 ports with 6 removable, self powered
   /netbsd: uhub2: 6 ports with 6 removable, self powered
-  /netbsd: ubt0 at uhub3 port 5
+  /netbsd: ubt0 at uhub2 port 5
   /netbsd: ubt0: vendor 8086 product 0189, rev 2.00/69.19, addr 3
-  /netbsd: uvideo0 at uhub2 port 4 configuration 1 interface 0: 123 WebCam SC-13HDL11431N, rev 2.00/0.01, addr 3
+  /netbsd: uvideo0 at uhub3 port 4 configuration 1 interface 0: 123 WebCam SC-13HDL11431N, rev 2.00/0.01, addr 3
   /netbsd: video0 at uvideo0: 123 WebCam SC-13HDL11431N, rev 2.00/0.01, addr 3
   /netbsd: Kernelized RAIDframe activated
   /netbsd: pad0: outputs: 44100Hz, 16-bit, stereo
@@ -261,6 +259,9 @@
   /netbsd: wsdisplay0: screen 2 added (default, vt100 emulation)
   /netbsd: wsdisplay0: screen 3 added (default, vt100 emulation)
   /netbsd: wsdisplay0: screen 4 added (default, vt100 emulation)
+  /netbsd: re0: watchdog timeout
   /netbsd: drm: GMBUS [i915 gmbus vga] timed out, falling back to bit banging on pin 2
   /netbsd: drm: GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5
-  /netbsd: set{u,g}id pid 2564 (gnome-pty-helper) was invoked by uid 1005 ppid 2448 (gnome-terminal) with fd 2 closed
+  /netbsd: re0: watchdog timeout
+  /netbsd: pckbport: command timeout
+  /netbsd: pms_disable: command error

>How-To-Repeat:
- cold boot windows
- reboot to NetBSD
(note that the keyboard is working when at the boot prompt)
- after boot the keyboard (ane touch pad) are not responsive
(this includes a boot to single user mode)

Workaround is to cold boot netbsd.  Since the power-off button still works, this isn't hard.


>Fix:



Home | Main Index | Thread Index | Old Index