| Summary: | SAK in KDM breaks reboot/poweroff: init: no more processes left in this runlevel | ||
|---|---|---|---|
| Product: | TDE | Reporter: | linux |
| Component: | tdebase | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | CC: | bugwatch, kb9vqf, slavek.banko |
| Priority: | P5 | ||
| Version: | 3.5.13 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: |
strace
lspci lsusb dmesg |
||
|
Description
linux
2012-10-17 07:00:24 CDT
Interesting finding. I was with kernel 2.6.32 always without SAK and I assumed that simply does this kernel not have support uinput. But now I find, that uinput is builded as module and is not loaded at boot. When I add uinpout into /etc/modules, SAK is working. However, problem with "init: no more processes left in this runlevel" I still cannot reproduce. Seems that tsak does not like something on this system (Asus Eee PC 701): # /opt/trinity/bin/tsak Found 119 keyboard(s) Reading from keyboard: (AT Translated Set 2 keyboard) Reading from keyboard: (ACPI Virtual Keyboard Device) Reading from keyboard: (ACPI Virtual Keyboard Device) Reading from keyboard: (ACPI Virtual Keyboard Device) ... Reading from keyboard: (ACPI Virtual Keyboard Device) AT Translated Set 2 keyboard+tsak Device created. ACPI Virtual Keyboard Device+tsak Device created. Failed to grab exclusive input device lockSegmentation fault Created attachment 906 [details]
strace
(In reply to comment #2) > Seems that tsak does not like something on this system (Asus Eee PC 701): > > # /opt/trinity/bin/tsak > Found 119 keyboard(s) > Reading from keyboard: (AT Translated Set 2 keyboard) > Reading from keyboard: (ACPI Virtual Keyboard Device) <snip> That looks very, very wrong. 119 keyboards? Can you please post the output of lspci and lsusb? Thanks! Tim Please, you have /dev/uinput? If not (which corresponds to the 2.6.32 kernel), first try: modprobe uinput, or add uinput into /etc/modules. Created attachment 907 [details]
lspci
Created attachment 908 [details]
lsusb
Created attachment 909 [details]
dmesg
I have /dev/uinput, the uinput module is loaded automatically. Seems like a bug in tsak - when I delete /dev/input/event10 (which is the ACPI Virtual Keyboard Device), it shows only 1 keyboard and does not crash. Oh and that device is created by acpi-fakekey daemon. And it' also loading the uinput module. (In reply to comment #9) > I have /dev/uinput, the uinput module is loaded automatically. > > Seems like a bug in tsak - when I delete /dev/input/event10 (which is the ACPI > Virtual Keyboard Device), it shows only 1 keyboard and does not crash. Yes, that is what I thought. tsak needs to ignore all fake keyboard devices. Raising priority to BLOCKER. Tim (In reply to comment #11) > (In reply to comment #9) > > I have /dev/uinput, the uinput module is loaded automatically. > > > > Seems like a bug in tsak - when I delete /dev/input/event10 (which is the ACPI > > Virtual Keyboard Device), it shows only 1 keyboard and does not crash. > > Yes, that is what I thought. tsak needs to ignore all fake keyboard devices. > > Raising priority to BLOCKER. > > Tim Fixed in GIT hash 8d2f9ae. Thanks for reporting! |