Re: AFS 1.8.2, afsd errors on FreeBSD

Andreas Ladanyi <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.general
Message-ID <[email protected]>
Hi,

> On Tue, Apr 16, 2019 at 03:02:16PM +0200, Andreas Ladanyi wrote:
>> Hi,
>>
>> afsd -debug tells me:
>>
>> SScall(339, 28, 6601376)=-1 (78, Function not implemented)
>> SScall(339, 28, -18944)=-1 (78, Function not implemented)
>> SScall(339, 28, 1)=-1 (78, Function not implemented)
>> afsd: Forking rx listener daemon.
>> afsd: Forking rx callback listener.
>> SScall(339, 28, 15050)=-1 (78, Function not implemented)
>> afsd: Forking rxevent daemon.
>> SScall(339, 28, 15050)=-1 (78, Function not implemented)
>> afsd: Forking AFSDB lookup handler.
>> SScall(339, 28, 0)=-1 (78, Function not implemented)
>> SScall(339, 28, 1)=-1 (78, Function not implemented)
>> afsd: Error -1 in basic initialization.
> Is the kernel module loaded?

you are right. The module wasnt loaded. I tried to load the kernel
module in my freebsd jail:

kldload /boot/modules/libafs.ko

and get the error message:

kldload: can't load /boot/modules/libafs.ko: Operation not permitted


I red module loading in bsd jails is not possible. So i tried to load on
freenas host (which already contains the openafs jail) directly:

kldload /mnt/Pool1/iocage/jails/myjail/root/boot/modules/libafs.ko

The error message is:

kldload: an error occurred while loading the module. Please check
dmesg(8) for more details.

dmesg:

kldload: unexpected relocation type 4
link_elf_obj: symbol in_ifaddrhead undefined
linker_load_file: Unsupported file type


>
> -Ben
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.