On 30/12/14(Tue) 21:34, Alexander Bluhm wrote: > On Tue, Dec 09, 2014 at 09:30:55PM +0100, Alexander Bluhm wrote: > > On Tue, Nov 11, 2014 at 04:45:50PM +0100, Christian Weisgerber wrote: > > > Occasionally, when I power on my Thinkpad X230, it resets during > > > kernel autoconf: white-on-blue kernel messages -> boom! Thinkpad > > > logo. It subsequently boots fine. Today I finally thought to save > > > the dmesg, and it shows that the first boot was cut short at or after > > > pckbd0 attaching. > > > > Exactly the same happens with my T430s from time to time. > > Looks like it happens in config_found_sm() called from pckbc_attach_slot(). > I will add more printf there. > > After reboot I have this in my dmesg: > > isa0 at pcib0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 > func pckbc_attach, line 299: start > func pckbc_attach, line 310: call pckbc_poll_data1 > func pckbc_attach, line 315: call pckbc_put8042cmd > func pckbc_attach, line 360: call pckbc_attach_slot > func pckbc_attach_slot, line 269: start > func pckbc_attach_slot, line 272: call config_found_sm > pckbd0 at pckbc0 (kbd slot) ^^ I suspect the hang is in pckbdattach() since the line before seems to be printed including the "\n".
I'd bet the problem is in pckbd_set_xtscancode(). Is it your console keyboard?