You are not logged in.

#1 2016-06-11 18:06:46

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

[SOLVED] modprobe nct6775 (hw sensor module) freezes since Kernel 4.6

Hello,

Since update from linux 4.5.4-1 to 4.6.2-1 i am unable to load the kernel module nct6775 used for hardware monitoring.
There is no hardware freeze, but the modprobe process is in a "uninterruptible sleep", I cannot kill it and have to "hard reboot".

This module is quiet standard and related hardware quiet common. Nothing is mentionned on kernel's bugzilla nor arch's bug tracker, so I would like to check with the community before opening a bug.

Anybody here is experiencing the same issue ?

Cheers,
CH.

Last edited by chicha (2016-06-30 06:31:10)

Offline

#2 2016-06-15 18:52:16

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: [SOLVED] modprobe nct6775 (hw sensor module) freezes since Kernel 4.6

Downgrading to 4.5.4-1 fixes the issue. I opened FS 49724.

Offline

#3 2016-06-15 20:12:05

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: [SOLVED] modprobe nct6775 (hw sensor module) freezes since Kernel 4.6

My system is loading nct6775 without issue though I'm not directly using modprobe. I'm doing mine via systemd-modules-load.service, so you could try to see if that works for you.

Offline

#4 2016-06-15 20:28:49

martin525
Member
Registered: 2016-06-15
Posts: 1

Re: [SOLVED] modprobe nct6775 (hw sensor module) freezes since Kernel 4.6

I had the same problem. I figured that modprobe coretemp nct6775 was hung. After a while I could see messages in journal:
kernel: INFO: task modprobe:610 blocked for more than 120 seconds.
kernel:       Not tainted 4.6.2-1-ARCH #1
kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kernel: modprobe        D ffff880213b17b48     0   610      1 0x00000000
kernel:  ffff880213b17b48 00ffffff818b7bc0 ffff8802162f3900 ffff880214db5580
kernel:  ffff880213b18000 ffff880214db5580 0000000080400000 ffff8802158b58c0
kernel:  ffff88020fc6a980 ffff880213b17b60 ffffffff815c37fc 0000000000400000
kernel: Call Trace:
kernel:  [<ffffffff815c37fc>] schedule+0x3c/0x90
kernel:  [<ffffffff81081045>] __request_region+0x135/0x1a0
kernel:  [<ffffffff810a4ac0>] ? wake_up_q+0x70/0x70
kernel:  [<ffffffffa056409a>] sensors_nct6775_init+0x9a/0x1000 [nct6775]
kernel:  [<ffffffffa0564000>] ? 0xffffffffa0564000
kernel:  [<ffffffff812f422e>] ? kasprintf+0x4e/0x70
kernel:  [<ffffffffa0564000>] ? 0xffffffffa0564000
kernel:  [<ffffffff81002123>] do_one_initcall+0xb3/0x1f0
kernel:  [<ffffffff8116dc57>] do_init_module+0x5f/0x1d8
kernel:  [<ffffffff81103e26>] load_module+0x2186/0x29b0
kernel:  [<ffffffff81100f20>] ? symbol_put_addr+0x50/0x50
kernel:  [<ffffffff811047a3>] SyS_init_module+0x153/0x1a0
kernel:  [<ffffffff815c7272>] entry_SYSCALL_64_fastpath+0x1a/0xa4

Downgrade to 4.5.4-1 helped.

Offline

#5 2016-06-26 22:23:47

michi
Member
From: Czech republic
Registered: 2011-03-04
Posts: 10

Re: [SOLVED] modprobe nct6775 (hw sensor module) freezes since Kernel 4.6

hello, i'm using Intel NUC 5I5RYH, try to insert it into kernel

[root@dino ~]# egrep ^MODULES /etc/mkinitcpio.conf
MODULES="coretemp nct6775"

solved for me
don't forget to run: mkinitcpio -p linux

I¨m running

[root@dino ~]# uname -a
Linux dino 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 GNU/Linux

Offline

#6 2016-06-29 17:59:29

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: [SOLVED] modprobe nct6775 (hw sensor module) freezes since Kernel 4.6

Hi michi and all,

You made my day, this works like a charm, thank you very much.
I opened a bug to Arch devs too, and mentioned your trick to see if the issue is with Arch kernel or upstream.

I will come back here once the full story is ended, and will use the mkinitcpio trick until then.
Cheers to all of you.

Offline

Board footer

Powered by FluxBB