Error: Driver 'sdhost-bcm2835' is already registered

Problems with packages? Post here, using [tags] of the package name.

Error: Driver 'sdhost-bcm2835' is already registered

Postby art14159265 » Fri Dec 17, 2021 10:03 am

Hi. I try make silent boot using omxplayer on raspberry pi 4 8 gb but i got error every boot "Error: Driver 'sdhost-bcm2835' is already registered, aborting...". then system boot well but kernel error switch output to verbose from silent. i got this error on stock http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-armv7-latest.tar.gz and even when i make full update. Looks like some modules conflict inside kernel in my case.
dmseg output
https://0bin.net/paste/opdv+4Th#H5OXdcD ... 4Cd7O82qb0
details (packages list, lsmod)
https://0bin.net/paste/M7RFwOMx#VtsmD53 ... q5g37cuS5n
art14159265
 
Posts: 2
Joined: Fri Dec 17, 2021 9:13 am

Re: Error: Driver 'sdhost-bcm2835' is already registered

Postby graysky » Fri Dec 17, 2021 11:09 am

That message is present on all my systems. Is the verbose output you're seeing from audit? Disable it, https://wiki.archlinux.org/title/Audit_framework
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Error: Driver 'sdhost-bcm2835' is already registered

Postby art14159265 » Fri Dec 17, 2021 2:14 pm

I want suppress just only line
$this->bbcode_second_pass_code('', ' Error: Driver 'sdhost-bcm2835' is already registered, aborting...')
audit output not a problem because I use kernel param line like:
$this->bbcode_second_pass_code('', 'root=/dev/mmcblk0p2 rw rootwait console=tty2 consoleblank=0 loglevel=0 quiet splash rootfstype=ext4 logo.nologo vt.global_cursor_default=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=serial0,115200')
after I add console=tty2 to cmdline.txt I got only one line in output:
$this->bbcode_second_pass_code('', ' Error: Driver 'sdhost-bcm2835' is already registered, aborting...')
also i can add audit=0 to suppress all audit output even in journals, but kernel errors output I think is some like kprintf() which is not so easy to suppress. And also it make some type of delay even if i find way how to hide this line.
art14159265
 
Posts: 2
Joined: Fri Dec 17, 2021 9:13 am

Re: Error: Driver 'sdhost-bcm2835' is already registered

Postby graysky » Fri Dec 17, 2021 2:53 pm

Again, I see that line in both armv7h and aarch64. If you believe there is something broken upstream, please use github to open an issue again the rpi foundation kernel.
graysky
Developer
 
Posts: 1880
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Error: Driver 'sdhost-bcm2835' is already registered

Postby armuseru » Sat Dec 18, 2021 10:58 am

heh i had a similar error on my x86-64 Arch with custom kernel, when I embed the pc-speaker driver in the kernel, on boot it says: error pc-speaker driver is already registered, aborting. It is likely that some init service is trying to load a pre-specified driver without checking if it is necessary.

$this->bbcode_second_pass_quote('https://wiki.archlinux.org/title/Silent_boot', 'N')ote that this only seems to work if both quiet and loglevel=<level> are both used, and they must be in that order (quiet first).
armuseru
 
Posts: 34
Joined: Sat Jan 09, 2021 9:36 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 12 guests