Loading modules to FreeNAS

Status
Not open for further replies.

Matej Jurkic

Dabbler
Joined
Jun 25, 2013
Messages
11
Hi all,

could you point me how to load additional modules into FreeNAS?

I've read about tunables, but problem occurs when I try copying additional kernel modules (*.ko) into "/boot/kernel" directory as it is read-only.

I'm using ssh to log-on to the root account, via WinSCP.

Many thanks,
Matej
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
  1. mount -uw /
  2. Make your changes
  3. mount -r /
 

Matej Jurkic

Dabbler
Joined
Jun 25, 2013
Messages
11
Thank you very much gpsguy.

I copied all required modules into /boot/kernel directory, created tunables, but "kldstat" command does not show any new process runing, is that normal?
 

Matej Jurkic

Dabbler
Joined
Jun 25, 2013
Messages
11
The question I have is - should modules be copied to /boot/kernel in root O/S or in jail? I presume in root O/S?
 

Matej Jurkic

Dabbler
Joined
Jun 25, 2013
Messages
11
Ok, new situation:

loading one of existing modules (i.e. logo_saver.ko) works just fine with kldload, but none of additional modules (i.e. ng_ppp.ko, I've done "chmod 777" on it), can anyone help?

NOTE: please see error:

Code:
[root@freenas] /boot/kernel# ls
./                  geom_fox.ko*        geom_raid3.ko.gz*  libiconv.ko*
../                geom_gate.ko.gz*    geom_sched.ko*      libmchain.ko*
NG_TTY.KO*          geom_journal.ko*    geom_shsec.ko*      logo_saver.ko*
 
 
[root@freenas] /boot/kernel# kldload NG_TTY.KO
kldload: can't load NG_TTY.KO: No such file or directory


Many thanks,
Matej
 
Status
Not open for further replies.
Top