[Mageia-dev] Error running sdhci_pci

Simple . simplew8 at gmail.com
Tue May 15 16:13:27 CEST 2012


2012/5/15 Colin Guthrie <mageia at colin.guthr.ie>:
> 'Twas brillig, and Simple . at 15/05/12 14:57 did gyre and gimble:
>> 2012/5/15 Simple . <simplew8 at gmail.com>:
>>> 2012/5/15 Colin Guthrie <mageia at colin.guthr.ie>:
>>>> 'Twas brillig, and Simple . at 15/05/12 14:30 did gyre and gimble:
>>>>> 2012/5/15 Simple . <simplew8 at gmail.com>:
>>>>>> 2012/5/15 Pascal Terjan <pterjan at gmail.com>:
>>>>>>> On Tue, May 15, 2012 at 2:23 PM, Simple . <simplew8 at gmail.com> wrote:
>>>>>>>> 2012/5/15 Colin Guthrie <mageia at colin.guthr.ie>:
>>>>>>>>> 'Twas brillig, and Simple . at 14/05/12 12:05 did gyre and gimble:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> In boot i always get this:
>>>>>>>>>>
>>>>>>>>>> udevd[206]: Error running install command for sdhci_pci
>>>>>>>>>>
>>>>>>>>>> When entering /etc/modprobe.preload i saw that there was 2 sdhci_pci
>>>>>>>>>> entries, that was strange, anyway i did erase one entry and put the
>>>>>>>>>> other as a comment.
>>>>>>>>>> But that did not make any difference, since the entry sdhci_pci was
>>>>>>>>>> added again 2 times, and i continue getting the same error in boot.
>>>>>>>>>>
>>>>>>>>>> How can this be fixed?
>>>>>>>>>
>>>>>>>>> modprobe.preload* is not an "install rule".
>>>>>>>>>
>>>>>>>>> You have to look in /etc/modprobe.d/* for install rules.
>>>>>>>>
>>>>>>>> its in /etc/modprobe.d/01_mga-config.conf  thats a symlink to /etc/modprobe.conf
>>>>>>>>
>>>>>>>> but the problem is that it fails to install.
>>>>>>>
>>>>>>> Install is a command to run when loading the module, which is in a
>>>>>>> configuration file
>>>>>>> That command is failing
>>>>>>> You need to report what is the command
>>>>>>
>>>>>> install sdhci_pci /sbin/modprobe --first-time --ignore-install
>>>>>> sdhci_pci && { /sbin/modprobe mmc_block; /bin/true; }
>>>>
>>>> Yup that's the interesting bit.
>>>>
>>>>> i didnt paste the entire output:
>>>>>
>>>>> ~]# install sdhci_pci /sbin/modprobe --first-time --ignore-install
>>>>> sdhci_pci && { /sbin/modprobe mmc_block; /bin/true; }
>>>>> install: unrecognized option '--first-time'
>>>>
>>>> No, you do not "run" that command. It's a syntax that it's understood by
>>>> modprobe during module insertion. The actual command line utility
>>>> "install" is totally different.
>>>>
>>>>
>>>>
>>>> I'd just remove the --first-time option.
>>>>
>>>> Having rules that use --first-time is actually kinda tricky anyway as it
>>>> causes the second part of the install rule to not run if the first
>>>> module is loaded, but this can report incorrect status back up the stack.
>>>>
>>>> I'd just use:
>>>> install sdhci_pci /sbin/modprobe --ignore-install sdhci_pci && {
>>>> /sbin/modprobe mmc_block; /bin/true; }
>>>>
>>>>
>>>> I don't think our tools add this to the file, so this looks like some
>>>> kind of customisation on your part anyway.
>>>
>>> There is NOT no customization on my part.
>>
>> Now i have renamed sdhci_pci to sdhci-pci in modules.conf (since i saw
>> that in other distros they were using sdhci-pci), and reboot, but for
>> my surprise it contimed showing the exact same error:
>>
>> udevd[206]: Error running install command for sdhci_pci
>>
>> so the problem is somewhere else...
>
>
> You can call it either sdhci-pci or sdhci_pci, it doens't really matter.
>
> Also you mention modules.conf... strange, before we were talking about
> modprobe.conf. modules.conf is very old config.

Sorry, i wanted to say modprobe.conf.

> You've not mentioned whether or not you've removed the --first-time command.
>
> Please can you confirm the full command now used and the location of the
> file you've put it in.
>
>
>
> Helping you with support issues can be quite difficult at times, so
> please respect the people who take time out to help you by providing
> full and complete information, and do not follow tangential paths
> without dealing with the initial suggestions or questions and clearly
> reporting the outcome.

Im not trying to desrespect no one.

and i have even removed from modprobe.conf the lines:

remove sdhci-pci /sbin/modprobe -r mmc_block; /sbin/modprobe
--first-time -r --ignore-remove sdhci-pci
install sdhci-pci /sbin/modprobe --first-time --ignore-install
sdhci-pci && { /sbin/modprobe mmc_block; /bin/true; }

and rebooted, and in boot i continued to get this errors:

udevd[214]: Error running install command for sdhci_pci

udevd[211]: Error running install command for sdhci_pci

so now theres no sdhci-pci  or sdhci_pci  in modprobe.conf and it
continues complaning.


More information about the Mageia-dev mailing list