DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd July 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default How to install FreeBSD driver on NetBSD?

Hi everyone,

I was trying to install an Nvidia driver written for FreeBSD on NetBSD and I got this error:

Quote:
make[1]: don't know how to make nv-kernel.o. Stop
Can anyone guide how to fix it?
Reply With Quote
  #2   (View Single Post)  
Old 2nd July 2015
blackhole's Avatar
blackhole blackhole is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 316
Default

The 'fix' is that you can't install a driver written for one operating system kernel on another.
Reply With Quote
  #3   (View Single Post)  
Old 3rd July 2015
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by cynwulf View Post
...a driver written for one operating system kernel on another.
To elaborate on cynwulf's point, the main *BSD projects (FreeBSD, NerBSD, & OpenBSD...) have had over fifteen years to diverge from each other, & while there are still similarities, drivers designed for one variant are not compatible with another.

Given that nVidia is not interested in releasing the specifics of either their hardware or the software they provide to access chip functionality, there is little interest in the NetBSD & OpenBSD camps to attempt reverse engineering.

Besides, reverse engineering is very difficult & time-consuming.
Reply With Quote
  #4   (View Single Post)  
Old 2nd July 2015
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by notooth View Post
Hi everyone,

I was trying to install an Nvidia driver written for FreeBSD on NetBSD and I got this error:



Can anyone guide how to fix it?
Call NVidia customer service. Their FreeBSD like all their drivers is a proprietary binary blob. No sane OS will allow such drivers in the system. Apparently FreeBSD guys don't care much just like their developers prefer to use OS X and MAC laptops instead of eating their own soup.
Reply With Quote
  #5   (View Single Post)  
Old 3rd July 2015
blackhole's Avatar
blackhole blackhole is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 316
Default

The nouveau driver for Linux is a reverse engineering attempt. I remember reading about why that has never made it into any *BSD a few years back, but can't remember the specifics (FreeBSD probably because they have the blob - lets just hope nvidia don't suddenly decide that only Linux is 'relevant' and pull the plug - because well proprietary software vendors never do that...).

The old nv driver was an obfuscated mess of code and is now dead.

So if you really care about running a free and open source system and about maintaining stability and security, then crap like the blob driver should be avoided.

If on the other hand you're happy to insert closed binary blobs into your kernel, then just switch to FreeBSD.
Reply With Quote
  #6   (View Single Post)  
Old 25th November 2015
rons's Avatar
rons rons is offline
Snoozing
 
Join Date: Oct 2015
Posts: 69
Default NVidia Linux stub

In a way, you're running a Linux driver on FreeBSD with the NVidia Linux stub, right? But, that has to be implemented especially for each OS, and then each particular driver, and does not have the generic sense that the OP desires. I think, but I'm not the FreeBSD NVidia expert. Maybe someone else is? I'm curious about how it's all laid out.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About to install NetBSD in system which is already XP/Ubuntu/FreeBSD triple boot. velikij NetBSD Installation and Upgrading 5 15th June 2012 07:36 AM
FreeBSD 7.0 and the nfe driver map7 FreeBSD General 2 17th October 2008 04:44 AM
rum0 driver wireless fails after install jasites OpenBSD General 10 2nd June 2008 12:14 PM
NetBSD USB Driver jmarc007 NetBSD Installation and Upgrading 1 13th May 2008 04:45 AM
Using FreeBSD Marvell Driver vi5in FreeBSD General 0 12th May 2008 11:16 PM


All times are GMT. The time now is 03:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick