i801_smbus interrupt timeout on Broadwell-DE

If none of the more specific forums is the right place to ask

i801_smbus interrupt timeout on Broadwell-DE

Postby ar100 » 2017-03-28 23:39

Hello,
I am running debian jesse on an Intel broadwell-de and I am having difficulties enabling the SMBUS drv=i801_smbus) interrupts. I removed the "i2c_i801 disable_features-0x10" in the options.config file under /etc/modprobe.d
but its seems the CPU never sees the interrupt. The interrupts counters in /proc/interrupts never gets updated and i2c operations timeout, see below.

Code: Select all
 cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3       CPU4       CPU5       CPU6       CPU7       
  0:         11          0          0          0          0          0          0          0  IR-IO-APIC   2-edge      timer
  4:       2094          0          0          0          0          0          0          0  IR-IO-APIC   4-edge      serial
  9:          0          0          0          0          0          0          0          0  IR-IO-APIC   9-fasteoi   acpi
 18:          0          0          0          0          0          0          0          0  IR-IO-APIC  18-fasteoi   i801_smbus
 24:       3147          0          0          0          0          0          0          0  IR-PCI-MSI 512000-edge      ahci[0000:00:1f.2]
 25:          1          0          0          0          0          0          0          0  IR-PCI-MSI 2621440-edge      eth0
 26:       6958          0          0          0          0          0          0          0  IR-PCI-MSI 2621441-edge      eth0-TxRx-0
 27:       1219          0          0          0          0          0          0          0  IR-PCI-MSI 2621442-edge      eth0-TxRx-1
 28:       1290          0          0          0          0          0          0          0  IR-PCI-MSI 2621443-edge      eth0-TxRx-2
 29:       1315          0          0          0          0          0          0          0  IR-PCI-MSI 2621444-edge      eth0-TxRx-3
 30:          0          0          0          0          0          0          0          0  IR-PCI-MSI 327680-edge      xhci_hcd
 48:          0          0          0          0          0          0          0          0  DMAR-MSI   0-edge      dmar0
NMI:          0          0          0          0          0          0          0          0   Non-maskable interrupts
LOC:     593650     595897     593483     593408     593467     593431     593413     593555   Local timer interrupts
SPU:          0          0          0          0          0          0          0          0   Spurious interrupts
PMI:          0          0          0          0          0          0          0          0   Performance monitoring interrupts
IWI:          0          0          0          0          0          0          0          0   IRQ work interrupts
RTR:          0          0          0          0          0          0          0          0   APIC ICR read retries
RES:         19         24         17         35         21         17         17          6   Rescheduling interrupts
CAL:         27         26         59         21         10         19         21         47   Function call interrupts
TLB:         15          7         39          4          0          1          3         29   TLB shootdowns
TRM:          0          0          0          0          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0          0          0          0          0   Deferred Error APIC interrupts
MCE:          0          0          0          0          0          0          0          0   Machine check exceptions
MCP:          9          9          9          9          9          9          9          9   Machine check polls


I2c operations timeout:
Code: Select all
sudo i2cdetect -y 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          i801_smbus 0000:00:1f.3: Timeout waiting for interrupt!
i801_smbus 0000:00:1f.3: Transaction timeout
-- i801_smbus 0000:00:1f.3: Timeout waiting for interrupt!
i801_smbus 0000:00:1f.3: Transaction timeout
-- i801_smbus 0000:00:1f.3: Timeout waiting for interrupt!
i801_smbus 0000:00:1f.3: Transaction timeout
-- i801_smbus 0000:00:1f.3: Timeout waiting for interrupt!
i801_smbus 0000:00:1f.3: Transaction timeout
-- i801_smbus 0000:00:1f.3: Timeout waiting for interrupt!
i801_smbus 0000:00:1f.3: Transaction timeout
-- i801_smbus 0000:00:1f.3: Timeou


The PCI config space of the SMBus device shows interrupt pending on PCISTS register bit3 (offset 06-07)

Code: Select all
sudo lspci -s 0000:00:1f.3 -vv -xxx -k
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
   Subsystem: Intel Corporation Device 7270
   Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
   Interrupt: pin C routed to IRQ 18
   Region 0: Memory at fe41a000 (64-bit, non-prefetchable) [size=256]
   Region 4: I/O ports at 2020 [size=32]
   Kernel driver in use: i801_smbus
00: 86 80 22 8c 03 00 88 02 05 00 05 0c 00 00 00 00
10: 04 a0 41 fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 21 20 00 00 00 00 00 00 00 00 00 00 86 80 70 72
30: 00 00 00 00 00 00 00 00 00 00 00 00 07 03 00 00
40: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 03 04 04 00 00 00 08 08 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 b1 0f 06 08 00 00 00 00


Coreboot is being used as the BIOS software.

Could someone please help with this problem?
If you require more info, let me know.

thanks,
ar100
 
Posts: 2
Joined: 2017-03-28 22:59

Re: i801_smbus interrupt timeout on Broadwell-DE

Postby stevepusser » 2017-03-29 00:45

The stock Jessie 3.16 kernel and drivers do not fully support Broadwell hardware, and some evidence seems to support it still being buggy even when backports are used in Jessie. Please install inxi and give us some idea of what's going on in your system with the result of

Code: Select all
inxi -F
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.1.0, Pale Moon 27.5.0, Liquorix kernel 4.12-10, mpv 0.27.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8822
Joined: 2009-10-06 05:53

Re: i801_smbus interrupt timeout on Broadwell-DE

Postby ar100 » 2017-03-29 16:57

Hi Steve,
Here's the information you requested.

thanks

Code: Select all
/$ inxi -F
System:    Host: debian Kernel: 4.9.8-platina-mk1-amd64 x86_64 (64 bit)
           Console: tty 0 Distro: Debian GNU/Linux 8
Machine:   Mobo: Intel model: Camelback Mountain Platina DC v: 1.0
           Bios: coreboot v: 6a724f1-dirty date: 03/14/2017
CPU:       Quad core Intel Xeon D-1527 (-HT-MCP-) cache: 6144 KB
           Clock Speeds: 1: 2194 MHz 2: 2194 MHz 3: 2194 MHz 4: 2194 MHz
           5: 2194 MHz 6: 2194 MHz 7: 2194 MHz 8: 2194 MHz
Graphics:  Card: Failed to Detect Video Card!
           Display Server: N/A driver: N/A
           tty size: 80x24 Advanced Data: N/A out of X
Network:   Card-1: Broadcom Device b960
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
           Card-2: Broadcom Device b960
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
           Card-3: Intel Device 15ab
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
           Card-4: Intel Device 15ab
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
           Card-5: Intel I210 Gigabit Network Connection driver: igb
           IF: eth0 state: up speed: 1000 Mbps duplex: full
           mac: 02:46:8a:00:0b:86
Drives:    HDD Total Size: 128.0GB (17.9% used)
           ID-1: /dev/sda model: SanDisk_SD8SMAT1 size: 128.0GB
Partition: ID-1: / size: 102G used: 6.2G (7%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 17.06GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 114 Uptime: 17:51 Memory: 80.3/16014.7MB
           Init: systemd runlevel: 5 Client: Shell (bash) inxi: 2.1.28
ar100
 
Posts: 2
Joined: 2017-03-28 22:59


Return to General Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable