Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpi-4.12.y non-fatal errors on boot #2098

Closed
asavah opened this issue Jul 5, 2017 · 3 comments
Closed

rpi-4.12.y non-fatal errors on boot #2098

asavah opened this issue Jul 5, 2017 · 3 comments

Comments

@asavah
Copy link

asavah commented Jul 5, 2017

When booting fresh 4.12.y (bcm2709_defconfig) on pi3 I get 2 errors (which actually seem to be warnings):

[    0.791045] Error: Driver 'bcm2835_thermal' is already registered, aborting...
[    0.839276] Error: Driver 'sdhost-bcm2835' is already registered, aborting...

The system actually boots and works fine.
dtb seems to load fine too

001680.997: brfs: File read: /mfs/sd/bcm2710-rpi-3-b.dtb
vcgencmd version
Jul  3 2017 14:20:31
Copyright (c) 2012 Broadcom
version 4139c62f14cafdb7d918a3eaa0dbd68cf434e0d8 (tainted) (release)
@pelwell
Copy link
Contributor

pelwell commented Jul 5, 2017

I get no errors booting to top-of-tree rpi-4.12.y apart from the transient error from bcm2835-aux-uart because its clock isn't ready.

Both of the drivers listed are built into the kernel so there's no reason why anything should be trying to load them. Are you perhaps using an initramfs that hasn't been updated?

@asavah
Copy link
Author

asavah commented Jul 5, 2017

@pelwell Thank, and sorry for the noise.
I found the issue and it's in my (semiautomated) build system, it did not detect properly that I switched kernel branch and "upgraded" (make olddefconfig) 4.11.y config instead of running bcm2709_defconfig.
This resulted in both "downstream" and "upstream" ?? drivers being enabled, thus resulting in this little conflict.

"upgraded" config (with error)

CONFIG_MMC_BCM2835_MMC=y
CONFIG_MMC_BCM2835=y

CONFIG_THERMAL_BCM2835=y
CONFIG_BCM2835_THERMAL=y

bcm2709_defconfig (clean boot)

CONFIG_MMC_BCM2835_MMC=y
# CONFIG_MMC_BCM2835 is not set

# CONFIG_THERMAL_BCM2835 is not set
CONFIG_BCM2835_THERMAL=y

Feel free to close, I'm leaving this info here for the people that may stumble into same error.

@pelwell
Copy link
Contributor

pelwell commented Jul 5, 2017

No problem.

@pelwell pelwell closed this as completed Jul 5, 2017
cchen140 pushed a commit to synercys/Linux-RPI that referenced this issue Nov 13, 2020
Before we get the following error:
Error: Driver 'sdhost-bcm2835' is already registered, aborting...

Fix example:
raspberrypi/linux#2098
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants