You are not logged in.

#1 2016-10-27 17:09:56

opotonil
Member
Registered: 2009-09-12
Posts: 34

Kernel crash - irq 16 - SMBus

I am getting a kernel crash related with irq 16, used by SMBus. My system is a Dell Inspiron 7459:

kernel: irq 16: nobody cared (try booting with the "irqpoll" option)
kernel: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.8.4-1-ARCH #1
kernel: Hardware name: Dell Inc. Inspiron 24-7459/0503P4, BIOS 1.4.1 06/08/2016
kernel:  0000000000000086 c65d176df4753300 ffff880483c03e78 ffffffff812fe480
kernel:  ffff8804701ad600 ffff8804701ad6a4 ffff880483c03ea8 ffffffff810dbea5
kernel:  ffff8804701ad600 0000000000000000 ffffffff818fc880 0000000000000071
kernel: Call Trace:
kernel:  <IRQ>  [<ffffffff812fe480>] dump_stack+0x63/0x83
kernel:  [<ffffffff810dbea5>] __report_bad_irq+0x35/0xc0
kernel:  [<ffffffff810dc224>] note_interrupt+0x234/0x280
kernel:  [<ffffffff810d9434>] handle_irq_event_percpu+0x54/0x80
kernel:  [<ffffffff810d9499>] handle_irq_event+0x39/0x60
kernel:  [<ffffffff810dcbcf>] handle_fasteoi_irq+0x8f/0x160
kernel:  [<ffffffff8102feca>] handle_irq+0x1a/0x30
kernel:  [<ffffffff815fa55b>] do_IRQ+0x4b/0xd0
kernel:  [<ffffffff815f8642>] common_interrupt+0x82/0x82
kernel:  <EOI>  [<ffffffff814a5194>] ? cpuidle_enter_state+0x134/0x2e0
kernel:  [<ffffffff814a516f>] ? cpuidle_enter_state+0x10f/0x2e0
kernel:  [<ffffffff814a5377>] cpuidle_enter+0x17/0x20
kernel:  [<ffffffff810c095a>] call_cpuidle+0x2a/0x50
kernel:  [<ffffffff810c0d65>] cpu_startup_entry+0x2c5/0x380
kernel:  [<ffffffff815eadf4>] rest_init+0x84/0x90
kernel:  [<ffffffff81922fdd>] start_kernel+0x443/0x464
kernel:  [<ffffffff81922120>] ? early_idt_handler_array+0x120/0x120
kernel:  [<ffffffff819222d6>] x86_64_start_reservations+0x2a/0x2c
kernel:  [<ffffffff81922424>] x86_64_start_kernel+0x14c/0x16f
kernel: handlers:
kernel: [<ffffffffa04d30d0>] i801_isr [i2c_i801]
kernel: Disabling IRQ #16
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
        Subsystem: Dell Device 06ef
        Flags: medium devsel, IRQ 16
        Memory at df42a000 (64-bit, non-prefetchable) [size=256]
        I/O ports at f040 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

Any suggestions?

Offline

#2 2016-10-27 17:28:32

opotonil
Member
Registered: 2009-09-12
Posts: 34

Re: Kernel crash - irq 16 - SMBus

I found new BIOS version, but problem persist:

kernel: irq 16: nobody cared (try booting with the "irqpoll" option)
kernel: CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.8.4-1-ARCH #1
kernel: Hardware name: Dell Inc. Inspiron 24-7459/0503P4, BIOS 1.5.0 07/19/2016
kernel:  0000000000000086 343a14e1179f12ab ffff880483c83e78 ffffffff812fe480
kernel:  ffff880470ad8200 ffff880470ad82a4 ffff880483c83ea8 ffffffff810dbea5
kernel:  ffff880470ad8200 0000000000000000 ffffffff818fc880 0000000000000071
kernel: Call Trace:
kernel:  <IRQ>  [<ffffffff812fe480>] dump_stack+0x63/0x83
kernel:  [<ffffffff810dbea5>] __report_bad_irq+0x35/0xc0
kernel:  [<ffffffff810dc224>] note_interrupt+0x234/0x280
kernel:  [<ffffffff810d9434>] handle_irq_event_percpu+0x54/0x80
kernel:  [<ffffffff810d9499>] handle_irq_event+0x39/0x60
kernel:  [<ffffffff810dcbcf>] handle_fasteoi_irq+0x8f/0x160
kernel:  [<ffffffff8102feca>] handle_irq+0x1a/0x30
kernel:  [<ffffffff815fa55b>] do_IRQ+0x4b/0xd0
kernel:  [<ffffffff815f8642>] common_interrupt+0x82/0x82
kernel:  <EOI>  [<ffffffff814a5194>] ? cpuidle_enter_state+0x134/0x2e0
kernel:  [<ffffffff814a5377>] cpuidle_enter+0x17/0x20
kernel:  [<ffffffff810c095a>] call_cpuidle+0x2a/0x50
kernel:  [<ffffffff810c0d65>] cpu_startup_entry+0x2c5/0x380
kernel:  [<ffffffff81050e98>] start_secondary+0x158/0x1a0
kernel: handlers:
kernel: [<ffffffffa04660d0>] i801_isr [i2c_i801]
kernel: Disabling IRQ #16

I still need some suggestion. Thanks.

Offline

#3 2017-10-12 11:25:26

opotonil
Member
Registered: 2009-09-12
Posts: 34

Re: Kernel crash - irq 16 - SMBus

Booting with the "irqpoll" option:

[   17.897949] hpet1: lost 5729 rtc interrupts
[   19.479746] hpet1: lost 5730 rtc interrupts
[   21.164875] hpet1: lost 5729 rtc interrupts
[   22.127831] hpet1: lost 5729 rtc interrupts
[   22.954690] hpet1: lost 5728 rtc interrupts
[   23.836104] hpet1: lost 5729 rtc interrupts
[   24.560416] hpet1: lost 5728 rtc interrupts
[   25.249524] hpet1: lost 5729 rtc interrupts
[   25.887330] hpet1: lost 5729 rtc interrupts
[   26.634886] hpet1: lost 5729 rtc interrupts
[   27.344409] hpet1: lost 5729 rtc interrupts
[   27.993798] hpet1: lost 5728 rtc interrupts
[   28.667757] hpet1: lost 5729 rtc interrupts
[   29.281103] hpet1: lost 5728 rtc interrupts
[   29.912825] hpet1: lost 5728 rtc interrupts
[   30.520740] hpet1: lost 5728 rtc interrupts
[   31.121289] hpet1: lost 5728 rtc interrupts
[   31.737737] hpet1: lost 5729 rtc interrupts
[   32.341443] hpet1: lost 5729 rtc interrupts
[   32.942314] hpet1: lost 5728 rtc interrupts
[   33.569425] hpet1: lost 5729 rtc interrupts
[   34.199586] hpet1: lost 5728 rtc interrupts
[   34.799938] hpet1: lost 5728 rtc interrupts
[   35.408822] hpet1: lost 5728 rtc interrupts
[   36.039793] hpet1: lost 5728 rtc interrupts
[   36.662082] hpet1: lost 5728 rtc interrupts
[   37.273069] hpet1: lost 5728 rtc interrupts
[   37.911827] hpet1: lost 5729 rtc interrupts
[   38.564230] hpet1: lost 5729 rtc interrupts
[   39.169362] hpet1: lost 5729 rtc interrupts
[   39.803951] hpet1: lost 5729 rtc interrupts
[   40.426307] hpet1: lost 5729 rtc interrupts
[   41.027360] hpet1: lost 5728 rtc interrupts
[   41.655407] hpet1: lost 5729 rtc interrupts
[   42.373437] hpet1: lost 5728 rtc interrupts
[   43.050697] hpet1: lost 5729 rtc interrupts
[   43.654115] hpet1: lost 5729 rtc interrupts
[   44.810239] hpet1: lost 5729 rtc interrupts
...

Offline

#4 2017-10-12 14:06:51

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

Re: Kernel crash - irq 16 - SMBus

Do you use this SMBus driver for anything? What if you blacklist i2c_i801?

Offline

#5 2017-10-14 17:36:27

opotonil
Member
Registered: 2009-09-12
Posts: 34

Re: Kernel crash - irq 16 - SMBus

I don't know really if the module is used for something or not. If I blacklist i2c-i801, the error don't show and for now all seems work... I will continue checking if really all is working.

Last edited by opotonil (2017-10-15 11:28:04)

Offline

#6 2017-10-14 19:32:35

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

Re: Kernel crash - irq 16 - SMBus

The main use of SMBus on x86 systems is for BIOS to detect installed RAM. Less commonly it may contain some sensors, voltage regulators, clock generators - also normally only accessed by BIOS. I'm not aware of any use for it in Linux, besides overclockers messing with this stuff.

Offline

#7 2017-10-15 11:24:42

opotonil
Member
Registered: 2009-09-12
Posts: 34

Re: Kernel crash - irq 16 - SMBus

I searched more information about i2c-i801 and found this:
https://www.kernel.org/doc/Documentatio … s/i2c-i801

Now with (0x10  don't use interrupts):

# cat /etc/modprobe.d/i2c-i801.conf 
options i2c-i801 disable_features=0x10

The error don't show and the module is loaded:

# lsmod | grep i2c_i801
i2c_i801               24576  0

And used:

00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
        Subsystem: Dell Sunrise Point-H SMBus
        Flags: medium devsel, IRQ 16
        Memory at df42a000 (64-bit, non-prefetchable) [size=256]
        I/O ports at f040 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

Thanks you @mich41

Last edited by opotonil (2017-10-15 11:27:35)

Offline

Board footer

Powered by FluxBB