On Tue, Jul 08, 2014 at 04:03:55PM +0200, Peter Kelm via smartos-discuss wrote:

> Am I right that it is not permitted to add/load a kernel driver in the 
> non-global zone? What would be the recommended way to add a custom driver (I 
> assume a custom OS build)?

That's correct.

It's likely that you'll need to build your own platform, yes.  Since
your driver will require a name_to_major entry and likely one or more
driver_aliases entries, you'll need a platform image with the driver,
driver.conf, and at least those files internally consistent.  Depending
on what you're trying to do, you may also need devfsadm configuration or
modules, mdb dmods, etc.

You'll want to start with
http://wiki.smartos.org/display/DOC/Building+SmartOS+on+SmartOS, add
your driver to your local illumos-joyent clone, add appropriate files to
the manifest, add entries as described above to the generic overlay
files, and rebuild.


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to