[xgene] xgene-slimpro-i2c occasionally probed fail

Bug #1697407 reported by Thang Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned
Xenial
Triaged
Medium
Unassigned

Bug Description

Platform: APM X-Gene- Mustang board.
Firmware: 3.07.09.
OS: Ubuntu Xenial - kernel 4.4.0-79-generic #100-Ubuntu aarch64

Booting the board multiple times, the xgene-slimpro-i2c fail message happen occasionally:
[ 6.994358] xgene-slimpro-i2c soc:i2cslimpro: i2c mailbox channel request failed
---
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jun 12 16:50 seq
 crw-rw---- 1 root audio 116, 33 Jun 12 16:50 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=8167f783-fdd8-4a61-a62c-f6194822dc95
IwConfig: Error: [Errno 2] No such file or directory
Lsusb:
 Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: AppliedMicro X-Gene Mustang Board
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=vt220
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-79-generic root=UUID=2d4aaee3-4a98-4e94-9fa0-1bd622998b7c ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-79.100-generic 4.4.67
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-79-generic N/A
 linux-backports-modules-4.4.0-79-generic N/A
 linux-firmware 1.157.10
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial
Uname: Linux 4.4.0-79-generic aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: Feb 28 2017
dmi.bios.vendor: AppliedMicro
dmi.bios.version: 3.07.09
dmi.board.asset.tag: Not Specified
dmi.board.name: X-Gene Mustang Board
dmi.board.vendor: AppliedMicro
dmi.board.version: 1.0
dmi.chassis.asset.tag: Not Specified
dmi.chassis.type: 23
dmi.chassis.vendor: AppliedMicro
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAppliedMicro:bvr3.07.09:bdFeb282017:svnAppliedMicro:pnX-GeneMustangBoard:pvr1.0:rvnAppliedMicro:rnX-GeneMustangBoard:rvr1.0:cvnAppliedMicro:ct23:cvr1.0:
dmi.product.name: X-Gene Mustang Board
dmi.product.version: 1.0
dmi.sys.vendor: AppliedMicro

Revision history for this message
Thang Nguyen (tqnguyen) wrote :
Revision history for this message
Thang Nguyen (tqnguyen) wrote :

The problem happens when XGene SlimPRO Mailbox (CONFIG_XGENE_SLIMPRO_MBOX) is loaded after XGene I2C SlimPRO (CONFIG_I2C_XGENE_SLIMPRO).
To fix this issue, please help change CONFIG_XGENE_SLIMPRO_MBOX to builtin, not module.

Revision history for this message
Thang Nguyen (tqnguyen) wrote : CurrentDmesg.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
Thang Nguyen (tqnguyen) wrote : JournalErrors.txt

apport information

Revision history for this message
Thang Nguyen (tqnguyen) wrote : Lspci.txt

apport information

Revision history for this message
Thang Nguyen (tqnguyen) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Thang Nguyen (tqnguyen) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Thang Nguyen (tqnguyen) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Thang Nguyen (tqnguyen) wrote : ProcModules.txt

apport information

Revision history for this message
Thang Nguyen (tqnguyen) wrote : UdevDb.txt

apport information

Revision history for this message
Thang Nguyen (tqnguyen) wrote : WifiSyslog.txt

apport information

Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: kernel-da-key
Changed in linux (Ubuntu):
status: Incomplete → Triaged
Changed in linux (Ubuntu Xenial):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

It might be worth trying to make the modules depend on each other. So add something like this to the /etc/modprobe.d/modulename.conf file:

softdep pre:<module-which-must-load-first> <module-which-is-second>

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.