OpenSolaris Developer Preview / Indiana on MacBook

I installed the last week the OpenSolaris Developer Preview / Indiana inside Paralles Desktop 3.0 running on MacBook Pro laptop (see my post concerning installing SXCE for details about setting up the virtual machine).

Booting the LiveCD went very well and the auto-login worked for me. I booted the system from real CD not just an iso image and I was quite impressed by the speed of the boot process. Then I started the actual installation and again, everything went smooth.

The last thing I had to do was to install the network drivers. This required mounting the /Library/Parallels/Tools/vmtools.iso (set the vmtools.iso at the Edit/Virtual Machine.../CD/DVD-ROM Options/Image File and reboot the virtual machine). The device driver is located at /media/PRTOOLS/Drivers/Network/RTL8029/SOLARIS. The recommended method to install the driver is to use the network.sh script. However, this script builds the driver from source code and since the Indiana preview does not contain C compiler this method did not work. So, I read the README.txt, network.sh, unpacked the sources and found that the binaries are also provided. I looked also in the makefiles to find out details about installing the driver and here are the steps, which worked for me:

  • Use prtconf to verify that the RTL8029 card is recognized, look for pci10ec,8029 under pci, instance #0.
  • Log as a root.
  • unzip and untar the ni0.8.11.tar: # gunzip ni0.8.11.tgz; tar xvf ni0.8.11.tar
  • Use addni.sh script (part of the unpacked sources) to add the new driver to the system.
  • Install the driver binaries to the /kernel/drv directory -- invoke the following commands from the directory with unpacked sources:
    • # /usr/sbin/install -f /kernel/drv -m 755 -u root -g sys i386/dp8390
    • # /usr/sbin/install -f /kernel/drv -m 755 -u root -g sys i386/ni
  • Wait a few seconds and the Network Auto-Magic magically picks the driver up, plumbs the interface and starts DHCP for you.

Comments:

Post a Comment:
Comments are closed for this entry.
About

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today