[armhf+raspi2] Error: Driver 'sdhost-bcm2835' is already registered, aborting

Bug #1797975 reported by Mathieu Trudel-Lapierre
This bug report is a duplicate of:  Bug #1762835: Conflicting mmc modules built in. Edit Remove
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux
New
Undecided
Unassigned
linux (Ubuntu)
Confirmed
Medium
Paolo Pisati

Bug Description

The follow error is shown in dmesg on my Raspberry Pi 2:

[ 4.380151] device-mapper: uevent: version 1.0.3
[ 4.388525] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: <email address hidden>
[ 4.396718] bcm2835-cpufreq: min=600000 max=900000
[ 4.407362] sdhci: Secure Digital Host Controller Interface driver
[ 4.412699] sdhci: Copyright(c) Pierre Ossman
[ 4.418378] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 4.423879] Error: Driver 'sdhost-bcm2835' is already registered, aborting...

This may not be an issue at all, I don't know.
---
ProblemType: Bug
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jun 22 11:11 seq
 crw-rw---- 1 root audio 116, 33 Jun 22 11:11 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu13
Architecture: armhf
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
DistroRelease: Ubuntu 18.10
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
 Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
 Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Package: linux (not installed)
PciMultimedia:

ProcFB: 0 BCM2708 FB
ProcKernelCmdLine: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0x17b63586 smsc95xx.macaddr=B8:27:EB:B6:35:86 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
ProcVersionSignature: User Name 4.18.0-1004.6-raspi2 4.18.7
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-1004-raspi2 N/A
 linux-backports-modules-4.18.0-1004-raspi2 N/A
 linux-firmware 1.175
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: cosmic uec-images
Uname: Linux 4.18.0-1004-raspi2 armv7l
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dialout dip floppy netdev plugdev sudo video
_MarkForUpload: True

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : CurrentDmesg.txt

apport information

tags: added: bot-stop-nagging
tags: added: apport-collected cosmic uec-images
description: updated
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : ProcEnviron.txt

apport information

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : ProcModules.txt

apport information

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : UdevDb.txt

apport information

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : WifiSyslog.txt

apport information

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1797975

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
Paul Larson (pwlars) wrote : apport information

ProblemType: Bug
AlsaDevices:
 total 0
 crw-rw----+ 1 root audio 116, 1 Jun 22 11:11 seq
 crw-rw----+ 1 root audio 116, 33 Jun 22 11:11 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu13
Architecture: armhf
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
DistroRelease: Ubuntu 18.10
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
 Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
 Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
 Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcFB: 0 BCM2708 FB
ProcKernelCmdLine: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa21041 bcm2709.serial=0x9e293c87 smsc95xx.macaddr=B8:27:EB:29:3C:87 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
ProcVersionSignature: User Name 4.18.0-1005.7-raspi2 4.18.12
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-1005-raspi2 N/A
 linux-backports-modules-4.18.0-1005-raspi2 N/A
 linux-firmware 1.175
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: cosmic uec-images
Uname: Linux 4.18.0-1005-raspi2 armv7l
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dialout dip floppy netdev plugdev sudo video
_MarkForUpload: True

Revision history for this message
Paul Larson (pwlars) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Paul Larson (pwlars) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Paul Larson (pwlars) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Paul Larson (pwlars) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Paul Larson (pwlars) wrote : ProcModules.txt

apport information

Revision history for this message
Paul Larson (pwlars) wrote : UdevDb.txt

apport information

Revision history for this message
Paul Larson (pwlars) wrote : WifiSyslog.txt

apport information

Revision history for this message
Paul Larson (pwlars) wrote :

I also saw this on cosmic release candidate with rpi2. I ran apport-collect 1797975 as suggested but I'm not sure it really gathered anything new

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Anthony Wong (anthonywong) wrote :

Looks like same issue as reported in https://github.com/raspberrypi/linux/issues/2098. We have CONFIG_MMC_BCM2835=y defined but not in raspberry pi upstream (I'm looking at https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/configs/bcm2709_defconfig). Interestingly, both drivers/mmc/host/bcm2835.c and drivers/mmc/host/bcm2835-sdhost.c contains "MODULE_ALIAS("platform:sdhost-bcm2835");"

Changed in linux (Ubuntu):
assignee: nobody → Paolo Pisati (p-pisati)
Revision history for this message
Adam Smith (adamsmith) wrote :

I reported this back in April (bug 1762835) and sent a patch to the mailing list.

Revision history for this message
Adam Smith (adamsmith) wrote :
Brad Figg (brad-figg)
tags: added: cscc
Juerg Haefliger (juergh)
Changed in linux (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
PocketSam (pocketsam) wrote :

I've got this error message only and system won't boot. busybox shell is all I get.

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.