copeland3300
Dabbler
- Joined
- Aug 4, 2014
- Messages
- 13
Hey all.
I hope this is the right place to put this, if it's not, mods, please move where appropriate.
I've been trying to add some network drivers for a Mellanox ConnectX2 card I have. I've been successful in adding them to the FreeBSD 9.3 kernel and making everything work, but I can't seem to get it working in FreeNAS. They seem to be in the /usr/src for FreeBSD 9.3, so I'm not sure where the issue comes up.
I've followed the directions on the github page, and after running a "make checkout" I go into "build/nanobsd-cfg/FREENAS.amd64" and add the lines that work in FreeBSD. Then run the "make release" and then "make update". The lines added are here:
makeoptions WITH_MK_OFED=yes
options OFED
device mlx4ib
device mthca
device mlxen
It builds the update file and the iso without throwing an error. The problem is when I either apply the update file through the UI or when I try to boot from the iso, I get a Trap 12 error and I'm left at a dgb> prompt. Adding any of the lines that I've listed above seem to cause it not to boot. This happens both on a VM and on my physical NAS, so I've ruled out hardware being the likely issue.
BTW, if I don't make any of the kernel config changes from above, and build everything stock, the update file and the iso work just fine.
Any help would be greatly appreciated!!!
Thanks!
I hope this is the right place to put this, if it's not, mods, please move where appropriate.
I've been trying to add some network drivers for a Mellanox ConnectX2 card I have. I've been successful in adding them to the FreeBSD 9.3 kernel and making everything work, but I can't seem to get it working in FreeNAS. They seem to be in the /usr/src for FreeBSD 9.3, so I'm not sure where the issue comes up.
I've followed the directions on the github page, and after running a "make checkout" I go into "build/nanobsd-cfg/FREENAS.amd64" and add the lines that work in FreeBSD. Then run the "make release" and then "make update". The lines added are here:
makeoptions WITH_MK_OFED=yes
options OFED
device mlx4ib
device mthca
device mlxen
It builds the update file and the iso without throwing an error. The problem is when I either apply the update file through the UI or when I try to boot from the iso, I get a Trap 12 error and I'm left at a dgb> prompt. Adding any of the lines that I've listed above seem to cause it not to boot. This happens both on a VM and on my physical NAS, so I've ruled out hardware being the likely issue.
BTW, if I don't make any of the kernel config changes from above, and build everything stock, the update file and the iso work just fine.
Any help would be greatly appreciated!!!
Thanks!