Hi
This is my first post to the forum! I have been trying to install the linux_base-f10 port app. However the prerequisite is that the linux kernel module must be loaded first.
I'm using a modified 8.0 kernel which has been adapted to run on MS Xbox hardware. It would seem whilst this module exists in a standard build, it didn't on this kernel configuration.
does not show the kernel module to be running.
I attempted to load the module manually:
The module is apparently missing so i check out /boot/kernel/ and linux.ko is definitely not present.
Next i find the source and build it:
Added startup to rc.conf
I check out /boot/kernel/ and i confirm linux.ko exists. It does - great! I don't wish to reboot (though i've since done this) so i try to load the module manually again:
WTF, the module is there i see it! I start to think i'm referencing it incorrectly. I try:
All unsuccessful: No such file or directory.
I also checked the environmental path (or equivelent) was referencing to the correct location:
Yep!
What on earth is going on here?!? Is this a permissions issue... I'm not too familiar with unix style permissions yet so i might need some help here! I'm sure if i modify my kernel configuration and rebuild i'll be able to make use of the linux module. However surely there must be a simpler way? I've spent ages looking at this and i'm beginning to go round in circles!
I really would appreciate it if someone could cast a fresh set of eyes on this. I'm sure i've missed something obvious! I'm greatful for any help offered.
This is my first post to the forum! I have been trying to install the linux_base-f10 port app. However the prerequisite is that the linux kernel module must be loaded first.
I'm using a modified 8.0 kernel which has been adapted to run on MS Xbox hardware. It would seem whilst this module exists in a standard build, it didn't on this kernel configuration.
Code:
kldstat -v | grep lin
I attempted to load the module manually:
Code:
[root@freebsd /boot/kernel]# kldload linux
kldload: can't load linux: No such file or directory
The module is apparently missing so i check out /boot/kernel/ and linux.ko is definitely not present.
Next i find the source and build it:
Code:
cd /usr/src/sys/modules/linux
make
make install
make clean
Added startup to rc.conf
Code:
linux_enable="YES"
I check out /boot/kernel/ and i confirm linux.ko exists. It does - great! I don't wish to reboot (though i've since done this) so i try to load the module manually again:
Code:
[root@freebsd /boot/kernel]# kldload linux
kldload: can't load linux: No such file or directory
WTF, the module is there i see it! I start to think i'm referencing it incorrectly. I try:
Code:
[root@freebsd /boot/kernel]# kldload linux.ko
[root@freebsd /boot/kernel]# kldload ./linux.ko
[root@freebsd /boot/]# kldload kernel/linux
All unsuccessful: No such file or directory.
I also checked the environmental path (or equivelent) was referencing to the correct location:
Code:
[root@freebsd /boot/kernel]# sysctl kern.module_path
kern.module_path: /boot/kernel;/boot/modules
Yep!
What on earth is going on here?!? Is this a permissions issue... I'm not too familiar with unix style permissions yet so i might need some help here! I'm sure if i modify my kernel configuration and rebuild i'll be able to make use of the linux module. However surely there must be a simpler way? I've spent ages looking at this and i'm beginning to go round in circles!
I really would appreciate it if someone could cast a fresh set of eyes on this. I'm sure i've missed something obvious! I'm greatful for any help offered.