DragonFly BSD
DragonFly bugs List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Bug #2289] 'kldload linux' fails

From: Thomas Nikolajsen via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Jan 2012 14:38:47 -0800

Issue #2289 has been updated by Thomas Nikolajsen.


See below for answer for your questions.

$ head -99 `find /usr/obj/usr/src/sys/GENERIC -name opt_compat.h`
==> /usr/obj/usr/src/sys/GENERIC/usr/src/sys/dev/serial/digi/opt_compat.h <==
#define COMPAT_43 1

==> /usr/obj/usr/src/sys/GENERIC/usr/src/sys/dev/misc/nmdm/opt_compat.h <==
#define COMPAT_43 1

==> /usr/obj/usr/src/sys/GENERIC/usr/src/sys/emulation/linux/opt_compat.h <==
#define COMPAT_43 1

==> /usr/obj/usr/src/sys/GENERIC/opt_compat.h <==
$ grep COMPAT_43 /sys/config/GENERIC
#options        COMPAT_43               #Compatible with BSD 4.3
$ nm /boot/kernel.GENERIC.3.0.20120126/kernel | grep sys_osethostname
$ nm /boot/kernel/kernel | grep sys_osethostname
c05fa689 T sys_osethostname
$ uname -a
DragonFly blum 3.0-RELEASE DragonFly 3.0-RELEASE #0: Thu Jan 26 20:52:38 CET 2012     root@gonzales:/usr/obj/usr/src/sys/GENERIC+BSD43  i386
$ grep COMPAT_43 /sys/config/GENERIC+BSD43
options         COMPAT_43               #Compatible with BSD 4.3
Bug #2289: 'kldload linux' fails

Author: Thomas Nikolajsen
Status: New
Priority: Normal
Target version: 

On master and DragonFly_RELEASE_3_0 from yesterday (25th January 2012)
loading linux.ko kernel module fails,
both using loader(8) and kldload(8):
link_elf: symbol sys_osethostname undefined.
(i.e. both binutils 2.22 and 2.21)

This may be binutils related;
I think it worked with binutils 2.17, will test.

This is using a custom kernel; will test GENERIC.

# kldload linux
link_elf: symbol sys_osethostname undefined
kldload: can't load linux: No such file or directory

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]