You are not logged in.

#1 2015-08-21 16:15:21

grmrgecko
Member
Registered: 2015-08-21
Posts: 9

Turning off keyboard causes kernel panic.

I have my desktop hooked up to my TV and always had issues with the whole computer crashing when I turned off my TV. When the computer crashes, it causes network issues for other devices on the same switch port on my router.

I had less issues when I installed Elementary OS, but Elementary OS had issues of it's own with video playback which is the main function of this computer. So I decided to try Arch, and Arch has the same exact issue as Ubuntu which is the first OS I had installed. I am using Arch with GDM and Gnome.

I had this issue with Intel and Nvidia graphics, so I think it's not because of my Nvidia GPU.

So I thought I will look into this issue, by viewing logs. Most of the logs shows nothing other than usual stuff, and then the logs just stop. When it crashed last night, I was able to get something in the log from the display manager about the GPU, but do not know if it provides any useful hints as to what the issue is. The log is at http://p.gecko.im/l3

I plan to try using the open source Nvidia drivers tonight, but I have no idea if that will fix my issue.

I am thinking it may have something to do with CEC messages being sent from the TV. Maybe turning off CEC on the TV will fix it. At this point I tried a lot of things, but am still thinking of other things to try.

If anyone has any helpful input, I'd appreciate it.

Thanks,
Mr. Gecko

Last edited by grmrgecko (2015-08-22 15:37:42)

Offline

#2 2015-08-22 01:36:27

grmrgecko
Member
Registered: 2015-08-21
Posts: 9

Re: Turning off keyboard causes kernel panic.

After more thinking, I think it could be that btsync is causing a kernel panic. I'm going to run the system with btsync off tonight and leave the other parameters (tv/driver) the same.

If the computer crashes tonight, then I know it's not btsync. If it is btsync, I'd check to see if a newer version exists and try removing current btsync config and start over.

Last edited by grmrgecko (2015-08-22 01:36:43)

Offline

#3 2015-08-22 01:40:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Turning off keyboard causes kernel panic.

How are you turning off the TV?

If it is btsync, ditch it for syncthing...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2015-08-22 01:42:41

grmrgecko
Member
Registered: 2015-08-21
Posts: 9

Re: Turning off keyboard causes kernel panic.

Via the TV Remote control.

If it is BTSync, then a bug report needs to be made because it shouldn't be possible for a user app to crash the system.


jasonwryan wrote:

How are you turning off the TV?

If it is btsync, ditch it for syncthing...

Offline

#5 2015-08-22 05:15:57

grmrgecko
Member
Registered: 2015-08-21
Posts: 9

Re: Turning off keyboard causes kernel panic.

Ok, turning off btsync did not help... Next possible cause bluetooth keyboard turning off.

Aug 22 00:05:04 arch-server bluetoothd[455]: connect error: Host is down (112)
Aug 22 00:05:29 arch-server bluetoothd[455]: Can't get HIDP connection info

I'll leave the keyboard on over night and see if it's dead in the morning.

Offline

#6 2015-08-22 06:06:57

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: Turning off keyboard causes kernel panic.

What happens if you only disconnect the video cable going to TV? Or disconnect TV and then power it off?

grmrgecko wrote:

When the computer crashes, it causes network issues for other devices on the same switch port on my router.

What do you mean by this? Other devices shouldn't care about this computer until they actually need to communicate with it, but then it's obvious that this won't work when the computer is down.

Last edited by mich41 (2015-08-22 06:08:25)

Offline

#7 2015-08-22 14:02:19

grmrgecko
Member
Registered: 2015-08-21
Posts: 9

Re: Turning off keyboard causes kernel panic.

mich41 wrote:

What happens if you only disconnect the video cable going to TV? Or disconnect TV and then power it off?

It seems more like it's really just the keyboard, I'm going to test after I shut down a few services in a minute. I want to let it finish processing then I'll turn off the keyboard and see what happens.

grmrgecko wrote:

When the computer crashes, it causes network issues for other devices on the same switch port on my router.

mich41 wrote:

What do you mean by this? Other devices shouldn't care about this computer until they actually need to communicate with it, but then it's obvious that this won't work when the computer is down.

Well, I have the computer hooked up to a switch which that switch is hooked up to the router. Any other computer on that switch loses capability to talk to anything when the computer is crashed. Computers hooked up to the router is able to talk.

I'm thinking this is caused by the computer echoing/responding to every packet, but I haven't ran wireshark on the network when this happens.

Offline

#8 2015-08-22 15:36:35

grmrgecko
Member
Registered: 2015-08-21
Posts: 9

Re: Turning off keyboard causes kernel panic.

So, it is the keyboard turning off that causes it, not the tv.

I ran dmesg -w to a log file when I tested and this is the output.

[  269.452002] hid-generic 0005:046D:B317.0008: unknown main item tag 0x0
[  269.452095] input: Logitech K811 as /devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8.4/3-8.4.4/3-8.4.4:1.0/bluetooth/hci
0/hci0:70/0005:046D:B317.0008/input/input24
[  269.452202] hid-generic 0005:046D:B317.0008: input,hidraw4: BLUETOOTH HID v9.00 Keyboard [Logitech K811] on 00:1b:dc:
06:b4:d0

Offline

#9 2015-08-22 18:26:23

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 77

Re: Turning off keyboard causes kernel panic.

@grmrgecko

Pls see:

Laptop System Freeze caused by Random Kernel Paging Errors

and the associated bug report.

In summary: Bluetooth devices upon disconnect have been leading to kernel panics and crashes on 4.1.x kernels (with a potential fix included in 4.2).

Until then, either stop using Bluetooth devices, downgrade to a 4.0.X kernel or use the Arch linux-lts kernel.

Halocaridina


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.8
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.8
Thinkpad X250; Broadwell-ULT Core i5; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

#10 2015-08-22 18:48:01

grmrgecko
Member
Registered: 2015-08-21
Posts: 9

Re: Turning off keyboard causes kernel panic.

Thanks, I'll just stop turning off the keyboard until then.

Offline

#11 2015-08-22 19:01:24

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 77

Re: Turning off keyboard causes kernel panic.

@grmrgecko,

FYI: just avoiding physically turning off the keyboard (via a switch) may not be enough since many Bluetooth devices power themselves down/suspend automatically to conserve power (which is effectively turning itself off).

Your best result would be to avoid using the Bluetooth device all-together if you can not disable any suspend functions of the device.

Halocaridina


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.8
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.8
Thinkpad X250; Broadwell-ULT Core i5; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

#12 2015-08-22 19:03:39

grmrgecko
Member
Registered: 2015-08-21
Posts: 9

Re: Turning off keyboard causes kernel panic.

I'm aware, but it seems like it just goes into sleep mode and still listens for pings from the server. I left it overnight on.

I have my charging station where the keyboard sits at night, so I can plug it in before I sleep keeping it charged.

Offline

#13 2015-08-22 19:04:59

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 77

Re: Turning off keyboard causes kernel panic.

@grmrgecko,

Good deal. Hopefully its an end to your issues.  Good luck.

Halocaridina


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.8
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.8
Thinkpad X250; Broadwell-ULT Core i5; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

Board footer

Powered by FluxBB