i2c_designware 808622C1:06: punit semaphore timed out, resetting

Bug #1625440 reported by Chris Cheney
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
High
Unassigned

Bug Description

kernel crash on boot rendering sdio wifi and bluetooth from operating on Nexbox T9 (Intel x5-z8300), works fine under Windows 10. It happens on both 16.04 and 16.10 with kernel 4.4.0 and on kernel 4.8.0-rc4 on Fedora 25 alpha. The acpi errors don't show up in the 4.8.0 kernel dmesg.

Ubuntu 16.10 output.

[ 34.656025] i2c_designware 808622C1:06: I2C bus managed by PUNIT
[ 34.756942] i2c_designware 808622C1:06: punit semaphore timed out, resetting
[ 34.757068] i2c_designware 808622C1:06: PUNIT SEM: 2
[ 34.757134] ------------[ cut here ]------------
[ 34.757148] WARNING: CPU: 1 PID: 1137 at /build/linux-rTsl6N/linux-4.4.0/drivers/i2c/busses/i2c-designware-baytrail.c:112 baytrail_i2c_acquire+0x139/0x1e0 [i2c_designware_platform]()
[ 34.757152] Modules linked in: mei_txe(+) mei snd_rawmidi lpc_ich(+) processor_thermal_device(+) intel_soc_dts_iosf snd_seq hci_uart snd_seq_device 8250_fintek snd_timer intel_hid btbcm btqca dw_dmac btintel sparse_keymap dw_dmac_core
bluetooth snd pwm_lpss_platform spi_pxa2xx_platform i2c_designware_platform(+) rfkill_gpio i2c_designware_core pwm_lpss soundcore int3403_thermal int340x_thermal_zone 8250_dw int3400_thermal soc_button_array acpi_thermal_rel mac_hid acpi_
pad parport_pc ppdev lp parport ip_tables x_tables autofs4 overlay nls_utf8 isofs nls_iso8859_1 dm_mirror dm_region_hash dm_log uas usb_storage hid_logitech_hidpp hid_logitech_dj usbhid mmc_block i915 i2c_algo_bit drm_kms_helper syscopyar
ea sysfillrect sysimgblt fb_sys_fops drm video fjes i2c_hid hid sdhci_acpi sdhci pinctrl_cherryview

[ 34.757245] CPU: 1 PID: 1137 Comm: systemd-udevd Not tainted 4.4.0-9136-generic #55-Ubuntu
[ 34.757248] Hardware name: N/A CherryTrail/Type2 - Board Product Name, BIOS YT11.6W4x64.D003 05/17/2016
[ 34.757254] 0000000000000286 00000000be581321 ffff8800b8803a00 ffffffff813f13e3
[ 34.757260] 0000000000000000 ffffffffc0325708 ffff8800b8803a38 ffffffff810810f2
[ 34.757266] ffff8801384f9018 00000000ffffff92 00000000fffefce0 ffff88013b08c810
[ 34.757272] Call Trace:
[ 34.757285] [<ffffffff813f13e3>] dump_stack+0x63/0x90
[ 34.757293] [<ffffffff810810f2>] warn_slowpath_common+0x82/0xc0
[ 34.757298] [<ffffffff8108123a>] warn_slowpath_null+0x1a/0x20
[ 34.757305] [<ffffffffc0324919>] baytrail_i2c_acquire+0x139/0x1e0 [i2c_designware_platform]
[ 34.757313] [<ffffffffc0311217>] i2c_dw_init+0x27/0x350 [i2c_designware_core]
[ 34.757319] [<ffffffffc0311592>] i2c_dw_probe+0x52/0x180 [i2c_designware_core]
[ 34.757325] [<ffffffffc0324494>] dw_i2c_plat_probe+0x1d4/0x410 [i2c_designware_platform]
[ 34.757334] [<ffffffff8155648b>] platform_drv_probe+0x3b/0xa0
[ 34.757339] [<ffffffff81554282>] driver_probe_device+0x222/0x4a0
[ 34.757344] [<ffffffff81554584>] __driver_attach+0x84/0x90
[ 34.757349] [<ffffffff81554500>] ? driver_probe_device+0x4a0/0x4a0
[ 34.757354] [<ffffffff81551eac>] bus_for_each_dev+0x6c/0xc0
[ 34.757359] [<ffffffff81553a3e>] driver_attach+0x1e/0x20
[ 34.757364] [<ffffffff8155357b>] bus_add_driver+0x1eb/0x280
[ 34.757368] [<ffffffffc032e000>] ? 0xffffffffc032e000
[ 34.757373] [<ffffffff81554e90>] driver_register+0x60/0xe0
[ 34.757378] [<ffffffff815563c6>] __platform_driver_register+0x36/0x40
[ 34.757384] [<ffffffffc032e017>] dw_i2c_init_driver+0x17/0x1000 [i2c_designware_platform]
[ 34.757390] [<ffffffff81002123>] do_one_initcall+0xb3/0x200
[ 34.757397] [<ffffffff811eb823>] ? kmem_cache_alloc_trace+0x183/0x1f0
[ 34.757404] [<ffffffff8118c7a3>] do_init_module+0x5f/0x1cf
[ 34.757412] [<ffffffff8110a1f7>] load_module+0x1667/0x1c00
[ 34.757417] [<ffffffff811067a0>] ? __symbol_put+0x60/0x60
[ 34.757424] [<ffffffff81213160>] ? kernel_read+0x50/0x80
[ 34.757429] [<ffffffff8110a9d4>] SYSC_finit_module+0xb4/0xe0
[ 34.757435] [<ffffffff8110aa1e>] SyS_finit_module+0xe/0x10
[ 34.757441] [<ffffffff8182dff2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 34.757446] ---[ end trace e446adf67caf8c0d ]---
[ 34.757451] i2c_designware 808622C1:06: couldn't acquire bus ownership
[ 34.757582] i2c_designware: probe of 808622C1:06 failed with error -110
---
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CasperVersion: 1.378
DistroRelease: Ubuntu 16.10
IwConfig:
 lo no wireless extensions.

 enxc44eac810358 no wireless extensions.
LiveMediaBuild: Ubuntu 16.10 "Yakkety Yak" - Alpha amd64 (20160919)
MachineType: N/A CherryTrail
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/hostname.seed boot=casper quiet splash ---
ProcVersionSignature: Ubuntu 4.4.0-9136.55-generic 4.4.16
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-9136-generic N/A
 linux-backports-modules-4.4.0-9136-generic N/A
 linux-firmware 1.161
RfKill:

Tags: yakkety
Uname: Linux 4.4.0-9136-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 05/17/2016
dmi.bios.vendor: N/A.
dmi.bios.version: YT11.6W4x64.D003
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Type2 - Board Product Name
dmi.board.vendor: N/A
dmi.board.version: Type2 - Board Version
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnN/A.:bvrYT11.6W4x64.D003:bd05/17/2016:svnN/A:pnCherryTrail:pvrType1-TBDbyOEM:rvnN/A:rnType2-BoardProductName:rvrType2-BoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: CherryTrail
dmi.product.version: Type1 - TBD by OEM
dmi.sys.vendor: N/A

Revision history for this message
Chris Cheney (ccheney) wrote :
Revision history for this message
Chris Cheney (ccheney) wrote :
Download full text (3.6 KiB)

Fedora 25 alpha kernel (4.8-rc4) output looks effectively the same:

[ 20.811692] i2c_designware 808622C1:06: I2C bus managed by PUNIT
[ 20.912602] i2c_designware 808622C1:06: punit semaphore timed out, resetting
[ 20.912723] i2c_designware 808622C1:06: PUNIT SEM: 2
[ 20.912803] ------------[ cut here ]------------
[ 20.912819] WARNING: CPU: 0 PID: 886 at drivers/i2c/busses/i2c-designware-baytrail.c:106 baytrail_i2c_acquire+0x13c/0x1f0 [i2c_designware_platform]
[ 20.912821] Modules linked in: snd acpi_thermal_rel tpm_tis intel_soc_dts_iosf int340x_thermal_zone tpm_tis_core acpi_pad soundcore tpm i2c_designware_platform(+) i2c_designware_core spi_pxa2xx_platform nfsd auth_rpcgss nfs_acl lockd g
race nls_utf8 isofs squashfs mmc_block crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel fjes i2c_hid sdhci_acpi sdhci mmc_core 8021q garp stp llc mrp hid_logitech_hidpp uas usb_storage cdc_ether usbnet r8152 hid_logitech_dj
mii sunrpc scsi_transport_iscsi loop
[ 20.912879] CPU: 0 PID: 886 Comm: systemd-udevd Not tainted 4.8.0-0.rc4.git0.1.fc25.x86_64 #1
[ 20.912881] Hardware name: N/A CherryTrail/Type2 - Board Product Name, BIOS YT11.6W4x64.D003 05/17/2016
[ 20.912885] 0000000000000286 000000007481af87 ffff8ef97997b9c0 ffffffff833e76cd
[ 20.912891] 0000000000000000 0000000000000000 ffff8ef97997ba00 ffffffff830a1d7b
[ 20.912896] 0000006a7997b9e0 ffff8ef978496028 00000000fffbbdb7 ffffffffc05196d0
[ 20.912902] Call Trace:
[ 20.912915] [<ffffffff833e76cd>] dump_stack+0x63/0x86
[ 20.912922] [<ffffffff830a1d7b>] __warn+0xcb/0xf0
[ 20.912927] [<ffffffff830a1ead>] warn_slowpath_null+0x1d/0x20
[ 20.912932] [<ffffffffc05188bc>] baytrail_i2c_acquire+0x13c/0x1f0 [i2c_designware_platform]
[ 20.912938] [<ffffffffc052c233>] i2c_dw_init+0x23/0x420 [i2c_designware_core]
[ 20.912942] [<ffffffffc052cff9>] i2c_dw_probe+0x39/0x1d0 [i2c_designware_core]
[ 20.912947] [<ffffffffc05184a2>] dw_i2c_plat_probe+0x1e2/0x420 [i2c_designware_platform]
[ 20.912954] [<ffffffff8353307b>] platform_drv_probe+0x3b/0xa0
[ 20.912958] [<ffffffff8352cf5c>] ? devices_kset_move_last+0x4c/0x90
[ 20.912961] [<ffffffff83530ea3>] driver_probe_device+0x223/0x430
[ 20.912965] [<ffffffff8353118f>] __driver_attach+0xdf/0xf0
[ 20.912968] [<ffffffff835310b0>] ? driver_probe_device+0x430/0x430
[ 20.912972] [<ffffffff8352e82c>] bus_for_each_dev+0x6c/0xc0
[ 20.912975] [<ffffffff835305ae>] driver_attach+0x1e/0x20
[ 20.912978] [<ffffffff8352ffc0>] bus_add_driver+0x170/0x270
[ 20.912981] [<ffffffffc051d000>] ? 0xffffffffc051d000
[ 20.912984] [<ffffffff83531ab0>] driver_register+0x60/0xe0
[ 20.912987] [<ffffffffc051d000>] ? 0xffffffffc051d000
[ 20.912990] [<ffffffff83532ff6>] __platform_driver_register+0x36/0x40
[ 20.912995] [<ffffffffc051d017>] dw_i2c_init_driver+0x17/0x1000 [i2c_designware_platform]
[ 20.913000] [<ffffffff83002190>] do_one_initcall+0x50/0x180
[ 20.913006] [<ffffffff832272f9>] ? kmem_cache_alloc_trace+0x159/0x1b0
[ 20.913010] [<ffffffff831b7b46>] ? do_init_module+0x27/0x1ef
[ 20.913013] [<ffffffff831b7b7e>] do_init_module+0x5f/0x1ef
[ 20.913018] [<ffffffff8312e3a4>] load_module+0x...

Read more...

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1625440

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Chris Cheney (ccheney) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected yakkety
description: updated
Revision history for this message
Chris Cheney (ccheney) wrote : CRDA.txt

apport information

Revision history for this message
Chris Cheney (ccheney) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Chris Cheney (ccheney) wrote : JournalErrors.txt

apport information

Revision history for this message
Chris Cheney (ccheney) wrote : Lspci.txt

apport information

Revision history for this message
Chris Cheney (ccheney) wrote : Lsusb.txt

apport information

Revision history for this message
Chris Cheney (ccheney) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Chris Cheney (ccheney) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Chris Cheney (ccheney) wrote : ProcModules.txt

apport information

Revision history for this message
Chris Cheney (ccheney) wrote : UdevDb.txt

apport information

Revision history for this message
Chris Cheney (ccheney) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Chris Cheney (ccheney) wrote : Re: WARNING: CPU: 1 PID: 1137 at /build/linux-rTsl6N/linux-4.4.0/drivers/i2c/busses/i2c-designware-baytrail.c:112 baytrail_i2c_acquire+0x139/0x1e0 [i2c_designware_platform]()

I dug around and found upstream kernel bzs related to this issue:

https://bugzilla.kernel.org/show_bug.cgi?id=150481

https://bugzilla.kernel.org/show_bug.cgi?id=155241

summary: - WARNING: CPU: 1 PID: 1137 at /build/linux-
- rTsl6N/linux-4.4.0/drivers/i2c/busses/i2c-designware-baytrail.c:112
- baytrail_i2c_acquire+0x139/0x1e0 [i2c_designware_platform]()
+ i2c_designware: probe of 808622C1:06 failed with error -110
summary: - i2c_designware: probe of 808622C1:06 failed with error -110
+ i2c_designware 808622C1:06: punit semaphore timed out, resetting
Revision history for this message
Chris Cheney (ccheney) wrote :

As noted at the link the code is known wrong for CHT but may have further bugs:

https://bugzilla.kernel.org/show_bug.cgi?id=150481#c1

Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
status: Incomplete → Triaged
Revision history for this message
Brad Baker (bbaker6212-a) wrote :

I could be wrong but this problem looks specific to various cherry-trail Atom devices *and* Kernel 4.4. I have seen this problem fixed on those devices with newer kernels but I don't remember if it was 4.7 or 4.8-RCx

Revision history for this message
Marc Neiger (marc-i) wrote :

Still there in Kernel 4.8.9

Revision history for this message
Alex (wongv) wrote :

Tried to install Xubuntu on my CherryTrail-based Yepo 737s laptop with same issues as mentioned. Nothing is working - no wifi, nor audio, nor power etc, updated kernel to recent 4.11 and still nothing. I'm upset a bit.

Revision history for this message
Chris Cheney (ccheney) wrote :

Alex, you should probably file a new upstream bug about the issue if you can reproduce it on the upstream 4.11 version. I no longer have a Cherry Trail system so can't do it myself.

Revision history for this message
Alex (wongv) wrote :

Chris, thanks for reply. I've installed latest (10 may) daily build of kernel and seems it works better, at least I see battery meter and no PUNIT timeouts in dmesg but still no wifi/bt (rtl8723bs) and audio. I will wait for 4.12-rc kernel before filing a bug report.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

r8723bs (sdio wifi driver) is currently in staging tree, so you need to compile Linux kernel yourself to make it work.

Revision history for this message
Nicola Lunghi (nicola.lunghi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.