Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 13:02:18 +0300
From:      Ivan Dolgorukov <ccnp@mail.ru>
To:        questions@FreeBSD.org
Subject:   can't 'kldload zfs' if loaded not via /boot/loader
Message-ID:  <E1JZkGQ-000DWM-00.ccnp-mail-ru@f135.mail.ru>

next in thread | raw e-mail | index | archive | help
 
Hi!

I'm trying to boot up from my usb stick using grub 1.96 (/boot/loader gave me the 'BTX halted bug') and I've managed to succeed in that. After booting up in the command promth I've issued 'kldload zfs'. The command gives me 'link_elf: symbol hardlink_check_uid undefined', after that kldload fails. If I boot up from standart /boot/loader (on VMWARE or some other PC) there are no such problems exist.

Any ideas how to fix it? My idea is that some variable (kenv or sysctl) is missing and link_elf can't find 'hardlink_check_uid' in /boot/kernel/kernel.

P.S.
uname -a
FreeBSD devil.localdomain 7.0-STABLE FreeBSD 7.0-STABLE #5: Wed Mar 12 12:19:10 MSK 2008     root@devil.localdomain:/usr/obj/usr/src/sys/MYKERNEL  i386


diff /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/MYKERNEL 
19c19
< # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.3 2008/02/03 07:28:37 scottl Exp $
---
> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06 03:24:28 scottl Exp $
31c31,32
< options       SCHED_4BSD              # 4BSD scheduler
---
> #options      SCHED_4BSD              # 4BSD scheduler
> options               SCHED_ULE
69a71,74
> # for flash usb
> options       ROOTDEVNAME=\"ufs:da0s2a\"
> device                acpi
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1JZkGQ-000DWM-00.ccnp-mail-ru>