<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>omsarti &#187; Apple</title>
	<atom:link href="http://omsarti.wordpress.com/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://omsarti.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 05 Oct 2008 21:34:03 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='omsarti.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/55d3b37e564e9457ff5843b7f33f4a73?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>omsarti &#187; Apple</title>
		<link>http://omsarti.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://omsarti.wordpress.com/osd.xml" title="omsarti" />
		<item>
		<title>Solaris on a Macbook</title>
		<link>http://omsarti.wordpress.com/2007/11/13/solaris-on-a-macbook/</link>
		<comments>http://omsarti.wordpress.com/2007/11/13/solaris-on-a-macbook/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 18:28:23 +0000</pubDate>
		<dc:creator>omsarti</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://omsarti.wordpress.com/2007/11/13/solaris-on-a-macbook/</guid>
		<description><![CDATA[After getting a macbook, it was with the hope that I would be able to get OpenSolaris running on it and I was fairly successful. Here&#8217;s a quick rundown:
What works
Dual-booting!
Ethernet
Wireless
X (at 1280&#215;800 with XOrg)
CD Burner, Just Works with cdrw
Keyboard
battery applet (in frkit, in snv_63+)
What doesn&#8217;t work
Trackpad
Camera (made no effort as of yet)
Sound Card (had partial [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omsarti.wordpress.com&blog=2102880&post=14&subd=omsarti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After getting a macbook, it was with the hope that I would be able to get OpenSolaris running on it and I was fairly successful. Here&#8217;s a quick rundown:</p>
<p>What works<br />
Dual-booting!<br />
Ethernet<br />
Wireless<br />
X (at 1280&#215;800 with XOrg)<br />
CD Burner, Just Works with cdrw<br />
Keyboard<br />
battery applet (in frkit, in snv_63+)<br />
What doesn&#8217;t work<br />
Trackpad<br />
Camera (made no effort as of yet)<br />
Sound Card (had partial success with oss)<br />
Reading OSX partition (not aware of any way of doing this)</p>
<p>Steps<br />
0. I started with a fresh install of OSX as I had tried a bunch of different things to try and get it dual-booting and wanted a clean slate. I got the details on how to set it up to dual boot from Paul Mitchell&#8217;s blog, see link below. I have a 150G disk in my system.</p>
<p>1. From OSX, shrink the HFS+ partition that OSX is installed into to make room. Like this:<br />
 diskutil resizeVolume disk0s2 100G &#8220;MS-DOS FAT32&#8243; &#8220;Windows&#8221; 48G</p>
<p>You will either need to sudo the above or enable the root account in OSX like I did. Bear in mind that the sizes I have above correspond to my disk, you will likely have different values.</p>
<p>2. Boot from the OSX install disk. When the installer starts, fire up a terminal from the tools menu. Unmount the internal disk:<br />
 umount /dev/disk0</p>
<p>Change the EFI partition&#8217;s ID:<br />
 fdisk -e /dev/rdisk0<br />
 setpid 1<br />
 AF<br />
 write<br />
 quit<br />
3. Boot from the Nevada install DVD/CD. You need to power on the system and as soon as you see the grey screen hold down the option key (alt for people from PC world). You will see two icons, one for OSX and one labeled Windows for the CD/DVD. Select the &#8220;Windows&#8221; disk. You should be able to proceed almost all the way through the install, it will fail right at the end though when it starts to actually write to the disk. This is OK though. You just need to reboot the system and start the install again. It seems that fdisk writes something to the disk that is useful, but still fails out. When you boot off the disk again and start the install again, it should work.</p>
<p>4. Boot the OS by holding the option key again and select Windows &#8211; only this time it will be a hard disk icon rather than a CD icon.</p>
<p>5. Installing the Ethernet driver: This machine uses the a Marvell Yukon card:<br />
 bash-3.00# /usr/X11/bin/scanpci<br />
 &#8230;<br />
 pci bus 0&#215;0001 cardnum 0&#215;00 function 0&#215;00: vendor 0&#215;11ab device 0&#215;4362<br />
  Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller<br />
 &#8230;</p>
<p>Install the driver from here. You have to remove the SK98sol package before you install the new SKGEsol package. After that, you need to attach the driver to the device:<br />
 update_drv -a -i &#8216;&#8221;pci11ab,5321&#8243;&#8216; skge</p>
<p>The interface name is skge, so:<br />
 bash-3.00# ifconfig skge0 plumb<br />
 bash-3.00# ifconfig -a<br />
 lo0: flags=2001000849 mtu 8232 index 1<br />
         inet 127.0.0.1 netmask ff000000<br />
 skge0: flags=1004843 mtu 1500 index 2<br />
         inet 0.0.0.0 netmask ffffff00 broadcast 255.255.255.255</p>
<p>You can now configure it for DHCP or use the, rather nifty, inetmenu utility.</p>
<p>6. Wireless driver. The Atheros driver from opensolaris.org work very nicely with the macbook&#8217;s card. You can get it here. Just pkagadd it and then&gt; attach it to the device:<br />
 bash-3.00# rem_drv ath<br />
 bash-3.00# add_drv -i &#8216;&#8221;pci106b,86&#8243;&#8216; ath<br />
 bash-3.00# ifconfig ath0 plumb<br />
 bash-3.00# ifconfig -a<br />
 lo0: flags=2001000849 mtu 8232 index 1<br />
         inet 127.0.0.1 netmask ff000000<br />
 skge0: flags=1004843 mtu 1500 index 2<br />
         inet 129.156.226.170 netmask ffffff00 broadcast 129.156.226.255<br />
         ether 0:16:cb:8f:cd:a5<br />
 ath0: flags=1000842 mtu 1500 index 3<br />
         inet 0.0.0.0 netmask 0<br />
         ether 0:16:cb:b9:93:98</p>
<p>7. Battery status<br />
Download and install the frkit from here. Battery applet is in there by default now.</p>
<p>8. Getting Xorg working at 1280&#215;800<br />
You need to use the 915resolution app to set the resolution correctly &#8211; and believe me, its worth the effort &#8211; the screen is so much crisper at the correct resolution. If you want to build this app yourself, you can follow the instructions here to patch the FreeBSD version for Solaris. I had to do this by hand (its not a very big patch), but that could be a lack of ability on my part, rather than a faulty patch. I have a binary here you can use, but don&#8217;t blame me if anything goes wrong.</p>
<p>You can list the modes the card can do like this:<br />
 bash-3.00# ./915resolution -l<br />
 Intel 800/900 Series VBIOS Hack : version 0.5</p>
<p> Chipset: 915GM<br />
 BIOS: TYPE 1<br />
 Mode Table Offset: $C0000 + $269<br />
 Mode Table Entries: 36</p>
<p> Mode 30 : 640&#215;480, 8 bits/pixel<br />
 Mode 32 : 800&#215;600, 8 bits/pixel<br />
 Mode 34 : 1024&#215;768, 8 bits/pixel<br />
 Mode 38 : 1280&#215;800, 8 bits/pixel<br />
 Mode 3a : 1600&#215;1200, 8 bits/pixel<br />
 Mode 3c : 1920&#215;1440, 8 bits/pixel<br />
 Mode 41 : 640&#215;480, 16 bits/pixel<br />
 Mode 43 : 800&#215;600, 16 bits/pixel<br />
 Mode 45 : 1024&#215;768, 16 bits/pixel<br />
 Mode 49 : 1280&#215;800, 16 bits/pixel<br />
 Mode 4b : 1600&#215;1200, 16 bits/pixel<br />
 Mode 4d : 1920&#215;1440, 16 bits/pixel<br />
 Mode 50 : 640&#215;480, 32 bits/pixel<br />
 Mode 52 : 800&#215;600, 32 bits/pixel<br />
 Mode 54 : 1024&#215;768, 32 bits/pixel<br />
 Mode 58 : 1280&#215;1024, 32 bits/pixel<br />
 Mode 5a : 1600&#215;1200, 32 bits/pixel<br />
 Mode 5c : 1920&#215;1440, 32 bits/pixel</p>
<p>above is my output. You can set the resolution like this:<br />
 bash-3.00# ./915resolution 58 1280 800</p>
<p>You need to run this every time you boot. Xorg, at least in b62, will auto-detect the proper 1280&#215;800 resolution of the screen once 915resolution is run.<br />
ToDo<br />
Camera &#8211; I believe it firewire based, so maybe dcam stuff will work<br />
Trackpad<br />
Sound Card</p>
<p>Some other pages on similar topics:<br />
<a href="http://docs.alkaloid.net/index.php/Solaris_on_the_MacBook">Solaris on the Macbook</a><br />
<a href="http://sneezr.net/articles/2007/01/12/installing-opensolaris-on-a-mac-mini-intel">Installing Solaris on a Mac Mini</a><br />
<a href="http://blogs.sun.com/paulm/entry/dual_partitioning_a_macbook_pro">Dual Partitioning a Macbook Pro</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/omsarti.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/omsarti.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omsarti.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omsarti.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omsarti.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omsarti.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omsarti.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omsarti.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omsarti.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omsarti.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omsarti.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omsarti.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omsarti.wordpress.com&blog=2102880&post=14&subd=omsarti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://omsarti.wordpress.com/2007/11/13/solaris-on-a-macbook/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b6126a471f91485e038b7bf6e90c7a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omsarti</media:title>
		</media:content>
	</item>
	</channel>
</rss>