Re: r286727 breaks geom_md.ko loading

From: Gleb Smirnoff <>
Date: Wed, 16 Sep 2015 16:15:15 +0300
On Wed, Sep 16, 2015 at 08:10:05AM +0300, Konstantin Belousov wrote:
K> >   There is regression after r286727. Our dynamic kernel linker doesn't
K> > support weak symbols, so the geom_md.ko can no longer be loaded dynamically
K> > neither from loader nor at runtime. Having it statically in kernel is
K> > the only working option.
K> Perhaps, something could be fixed in the dynamic linker ?
K> I checked both i386 and amd64, and on both arches I can load geom_md.ko.
K> On the other hand, I do not use preloaded mfs images.  Can you explain
K> how to reproduce the issue, and what linker is affected ?  Note that we
K> have two kernel dynamic linkers, one is used on amd64 and mips, second one
K> is for all other architectures.

To reproduce you need just a vanilla head, a kernel that doesn't have
'device md' in it, and run kldload geom_md.ko. Does that work for you?

Totus tuus, Glebius.
Received on Wed Sep 16 2015 - 11:15:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC