Re: sdhci_pci.ko fails to load

From: Guido Falsi <mad_at_madpilot.net>
Date: Sun, 20 Mar 2016 22:33:56 +0100
On 03/20/16 22:21, Guido Falsi wrote:
> On 03/20/16 22:18, Conrad Meyer wrote:
>> Try 'kldload mmc' first.  'sdhci_pci' is missing a MODULE_DEPEND on mmc.
>>
> 
> As I said, when loading sdhci_pci I had already loaded module mmc.
> 
> Anyway I'll try that again just to make sure, maybe I missed it and
> thought I had it loaded.
> 
> I'll followup shortly.
> 

I confirm that I had already loaded mmc.ko.

Here's a session log:

Script started on Sun Mar 20 22:24:37 2016
root_at_tommy:~ [0]# kldstat

Id Refs Address            Size     Name
 1   94 0xffffffff80200000 d3b488   kernel
 2    1 0xffffffff80f3d000 2d1ee8   zfs.ko
 3    2 0xffffffff8120f000 a3c8     opensolaris.ko
 4    1 0xffffffff81421000 635a     tmpfs.ko
 5    1 0xffffffff81428000 781b     if_lagg.ko
 6    1 0xffffffff81430000 241b     if_tun.ko
 7    1 0xffffffff81433000 2266     if_gif.ko
 8    1 0xffffffff81436000 24a3     if_tap.ko
 9    1 0xffffffff81439000 be11     msdosfs.ko
10    2 0xffffffff81445000 5f59     cd9660.ko
11    1 0xffffffff8144b000 249      cd9660_iconv.ko
12    1 0xffffffff8144c000 3140     libiconv.ko
13    1 0xffffffff81450000 32fd     procfs.ko
14    1 0xffffffff81454000 3ccd     pseudofs.ko
15    1 0xffffffff81458000 53b2     mmc.ko
16    1 0xffffffff8145e000 4274     sdhci.ko
17    1 0xffffffff81463000 1b10     mmcsd.ko
18    1 0xffffffff81465000 23ca     sysvmsg.ko
19    1 0xffffffff81468000 302b     sysvsem.ko
20    1 0xffffffff8146c000 2136     sysvshm.ko
21    1 0xffffffff8146f000 cfa      coretemp.ko
22    2 0xffffffff81470000 3ac49    sound.ko
23    1 0xffffffff814ab000 2282f    snd_hda.ko
24    1 0xffffffff814ce000 39fc     autofs.ko
25    3 0xffffffff814d2000 aafd     agp.ko
26    1 0xffffffff814dd000 8e60     fuse.ko
27    3 0xffffffff814e6000 45ee8    vboxdrv.ko
28    2 0xffffffff8152c000 2a0f     vboxnetflt.ko
29    2 0xffffffff8152f000 9506     netgraph.ko
30    1 0xffffffff81539000 150b     ng_ether.ko
31    1 0xffffffff8153b000 3f86     vboxnetadp.ko
32    1 0xffffffff8153f000 8b936    i915kms.ko
33    1 0xffffffff815cb000 4c8e1    drm2.ko
34    4 0xffffffff81618000 1ca0     iicbus.ko
35    1 0xffffffff8161a000 ecb      iic.ko
36    1 0xffffffff8161b000 1663     iicbb.ko
root_at_tommy:~ [0]# kldload sdhci_pci

kldload: an error occurred while loading the module. Please check
dmesg(8) for more details.
root_at_tommy:~ [1]# exit

Script done on Sun Mar 20 22:25:01 2016

the full error in dmesg is the same as stated before:

link_elf_obj: symbol mmc_driver undefined
linker_load_file: Unsupported file type

Meybe the symbol is optimized out by the compiler in the module?

-- 
Guido Falsi <mad_at_madpilot.net>
Received on Sun Mar 20 2016 - 20:34:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC