> On 29 Oct 2014, at 09:11, Dimitri Sokolyuk <[email protected]> wrote:
> 
> 
>> On 28 Oct 2014, at 20:15, Stuart Henderson <[email protected]> wrote:
>> 
>> On 2014/10/28 19:03, Dimitri Sokolyuk wrote:
>>>> Synopsis:  modload (ld) issues on armv7 (beaglebone black)
>>>> Category:  system, ld, kernel
>>>> Environment:
>>>     System      : OpenBSD 5.6
>>>     Details     : OpenBSD 5.6-current (GENERIC-OMAP) #5: Thu Oct  9 
>>> 16:58:24 AEDT 2014
>>>                      
>>> [email protected]:/usr/src/sys/arch/armv7/compile/GENERIC-OMAP
>>> 
>>>     Architecture: OpenBSD.armv7
>>>     Machine     : armv7
>>>> Description:
>>>     ld fails with internel error on lkm load:
>>> 
>>>     ld -nopie -Z -R /dev/ksyms -e test_lkmentry -o test -Ttext 0x0 
>>> combined.o
>>>     internal error: aborting at /usr/src/gnu/usr.bin/binutils/ld/ldlang.c 
>>> line 3835 in lang_place_orphans
>>>     ld: please report this bug
>> 
>> LKM support was removed.
> 
> Rally sad news. :( Sorry, I’ve missed the announcement 
> (http://www.openbsd.org/faq/current.html#20141013 
> <http://www.openbsd.org/faq/current.html#20141013>) 
> 
> It’s a wrong mailing list, but still, which is a recommended way to develop 
> user kernel extensions and new drivers then?

i build new code as part of the monolithic kernel, copy it to /bsd, and reboot 
to try it. i keep a copy of a working kernel as bsd.working in case my changes 
dont work.

> 
> LKM didn’t get much love in past years, but still it was a very powerful tool 
> for small and useful things, which will never make into base code.
> 
> --
> Dimitri Sokolyuk — 0x5a7c3054 — http://www.dim13.org/
> 


Reply via email to