<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3887164132935306360</id><updated>2012-01-02T10:12:21.480+01:00</updated><category term='sony'/><category term='samba'/><category term='opensolaris'/><category term='zfs'/><category term='songbird'/><category term='opensuse'/><category term='solaris'/><category term='nvidia'/><category term='xen'/><category term='notebook'/><category term='nvclock'/><title type='text'>The SUN side of life</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://phaedrus77.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-9032189191404968545</id><published>2010-05-04T23:21:00.003+02:00</published><updated>2010-05-05T00:03:09.563+02:00</updated><title type='text'>Evil ZVOL/ISCSI Tuning?</title><content type='html'>After a few days of VDI in service it was about time to start tuning the whole beast. The W7 guests show a rather poor performance when it came to disk IO. The virtual disks live on  ISCSI targets provided by a X4540, so one would hope for decent performance. But the W7 guest hardly ever got more than 5MB/s from the virtual disks. So something needed some serious checking.&lt;br /&gt;As a comparison I got close to 100MB/s when using NFS from the storage to the boxes running Virtualbox (VBox is running on X4450s with 64GB RAM, all NICs aggregated). So there was hope. Next I tried Solaris' ISCSI initiator and got transfer rates around 60MB/s. Both way better than the VBox' own ISCSI initiator in combination with whatever W7 does.&lt;br /&gt;Digging around a little I found &lt;a href="http://www.bitshop.com/Blogs/tabid/95/EntryId/69/VirtualBox-iSCSI-Comstar-%7E-5k-second-disk-i-o.aspx"&gt;this&lt;/a&gt; blog post. So it seems like Windows tries to flush the cache pretty often. First thing I tried was to enable fast ack for incoming wirtes to the ISCSI target(s) with&lt;br /&gt;&lt;span style="font-family:arial;"&gt;iscsitadm modifiy admin -f enable&lt;/span&gt;&lt;br /&gt;Luckily the server is backed by UPS power so I chose to ignore the warning that this might be dangerous. (Anyway there a no data on the client images, so worst case I can just clone the guest again if it goes wrong ;-))&lt;br /&gt;Next thing I set the MaxRecvDataSegmentLength to 128MB, that should give the clients a bit more memory to dump their stuff faster:&lt;br /&gt;&lt;span style="font-family:arial;"&gt;iscsitadm modifiy target -m 128M &lt;targetname&gt;&lt;/targetname&gt;&lt;/span&gt;&lt;br /&gt;That made things a little better. I got nearly twice the throughput. Still way too slow.&lt;br /&gt;So as a last resort I remember  &lt;a href="http://milek.blogspot.com/2010/02/zvols-write-cache.html"&gt;&lt;span style="text-decoration: underline;"&gt;this post&lt;/span&gt;&lt;/a&gt; by Robert Milkowski about enabling write cache for zvols. As the X4540 is running Solaris 10 the Comstar option to ignore cache flushes doesn't exist yet (or more precise no comstar in Sol10). So mileks program to enable the write cache on zvols does help a lot.&lt;br /&gt;I now get about 30MB/s for the W7 guest, which I consider decent enough for a virtual Windooze box ;-)&lt;br /&gt;For all above always keep in mind, if you loose power, you may loose data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-9032189191404968545?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2010/05/evil-zvoliscsi-tuning.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/9032189191404968545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/9032189191404968545'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2010/05/evil-zvoliscsi-tuning.html' title='Evil ZVOL/ISCSI Tuning?'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-6906961150734933676</id><published>2010-04-16T12:40:00.002+02:00</published><updated>2010-04-16T12:54:44.449+02:00</updated><title type='text'>Gone live</title><content type='html'>Heureka! The first bunch of SunRays went live yesterday. The are served by SunVDI, using VirtualBox for the VMs and Windows7 Enterprise as guest OS.&lt;br /&gt;You may have guessed. Samba4 is running as DC.&lt;br /&gt;The most annoying bit of the last day was the central Infoblox DHCP server. That thing is pretty stupid in terms of in what order it hands out DHCP options.&lt;br /&gt;We found it to give the options in this order:&lt;br /&gt;- based on host object&lt;br /&gt;- entire network&lt;br /&gt;- based on subnet&lt;br /&gt; So since there already was another SunRay installation and we couldn't provide the required options based on the subnet the guys from central network management are now busy setting up the DHCP option for every DTU I have to install. Not nice, but works for now. I guess this will get funny when we move to another building in two years and the IP addresses of the servers change...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-6906961150734933676?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2010/04/gone-live.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/6906961150734933676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/6906961150734933676'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2010/04/gone-live.html' title='Gone live'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-8479056804074638393</id><published>2010-04-10T23:26:00.008+02:00</published><updated>2010-04-12T09:16:09.762+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='samba'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Samba4 AD Domain Controller to serve Solaris and Windows</title><content type='html'>The installation of Samba4 as DC is almost finished. Despite some minor issues and a bit of work involved it was a rather pleasant and nice thing to do. I try to document the steps I had to do here as a little reference. Implementing Linux clients is still open, so for now this is very Solaris centric. But should be easy to reproduce on Linux.&lt;br /&gt;&lt;br /&gt;Start off with the Samba4 how-to &lt;a href="http://wiki.samba.org/index.php/Samba4/HOWTO"&gt;here&lt;/a&gt;. It gives all information needed to build and setup your DC. Once this is completed you are ready to serve Windows clients.&lt;br /&gt;But I want to do a little bit more and use the data in Samba4's LDAP to serve the Unix boxes as well.&lt;br /&gt;&lt;br /&gt;For wide parts I followed Scott Lowe's &lt;a href="http://blog.scottlowe.org/2006/08/15/solaris-10-and-active-directory-integration"&gt;post&lt;/a&gt; on integrating Solaris 10 and Active Directory.&lt;br /&gt;Since a few things differ when using Samba4 as AD I'll list the steps with short comments here again:&lt;br /&gt;&lt;br /&gt;I skipped the part about installing the "Server for NIS" on the AD server. When I started off setting things up I didn't the schema use by AD and SFU at hand. But you only need that if you plan to manage you users with the MS tools (MMC and the likes). Since I tend to do that stuff from my Solaris box with a few scripts I found the presence of the posixAccount and shadowAccount objectclasses sufficient. As it turns out the need schema for the SFU stuff can be found &lt;a href="http://archives.free.net.ph/message/20100127.124344.7361f914.en.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I created a test account with&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;net newuser test password&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;and set the required attributes with ldapmodify:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ldapmodify -h ldapserver -D adminsitrator@YOURDOMAIN&lt;yourrealm&gt;&lt;br /&gt;dn: cn=test,cn=users,dc=YOURDOMAIN&lt;br /&gt;changetype: modify&lt;br /&gt;add: objectclass&lt;br /&gt;objectclass: posixaccount&lt;br /&gt;-&lt;br /&gt;&lt;/yourrealm&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;add: objectclass&lt;br /&gt;objectclass: shadowaccount&lt;br /&gt;-&lt;br /&gt;add: uidnumber&lt;br /&gt;uidnumber: 1000&lt;br /&gt;-&lt;br /&gt;add: gidnumber&lt;br /&gt;gidnumber: 100&lt;br /&gt;-&lt;br /&gt;add:unixhomedirectory&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;unixhomedirectory: /home/test&lt;br /&gt;-&lt;br /&gt;add: loginshell&lt;br /&gt;loginshell: /bin/tcsh&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;This will be done with a litte script later, including creating a ZFS dataset for the user, finding the next free uidnumber and so on. For now this is just fine.&lt;br /&gt;&lt;br /&gt;Well almost perfect. Unfortunately the MS AD schema used by Samba4 doesn't know anything about automount maps. So I had to add the necessary schema.&lt;br /&gt;The schema definition is &lt;a href="http://149.203.91.65/%7Emarkgraf/ldif/autmount.ldif"&gt;here.&lt;/a&gt; &lt;a href="http://149.203.91.65/%7Emarkgraf/ldif/automount_maps.ldif"&gt;This&lt;/a&gt; creates an auto_master map with entries for /net and /home and the auto_home map with an entry for&lt;br /&gt;* fileserver:/export/home/&amp;amp;&lt;br /&gt;autmount.ldif can be added using ldapadd. The creation of the actual maps with ldapadd fails though. It gives a naming violation and I haven't found out why yet. Luckily Samba4 brings ldbmodify that can process LDIFs and write them into the database.&lt;br /&gt;Point it to the ldb file for your domain. (Those files are in $SAMBAHOME/private/sam.ldb.d/ ):&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ldbmodify -H $SAMBAHOME/private/sam.ldb.d/DC%3DYOURDOMAIN.ldb -U administrator autmount_maps.ldif&lt;/span&gt;&lt;br /&gt;You may want to make a backup before ;-)&lt;br /&gt;&lt;br /&gt;Next thing is to setup Kerberos. For that to work we need to create service principals in the Kerberos database for each host that we want to join.&lt;br /&gt;Scott's post suggests to create an user account for each Solaris machine and to use ktpass.exe to generate a keytab file. Since I couldn't find a version of ktpass that would work on the Windows7 (virtual machines) I have here, I reverted to an alternative way. The easiest was to just use Samba3 and join the machines as domain members using a minimal smb.conf with&lt;br /&gt;&lt;span style="font-style: italic;"&gt;workgroup = DOMAIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;realm = REALM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;security = ADS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When you have the smb.conf in place do the basic Kerberos setup on your Solaris client. Either use kclient to configure everything or copy the krb5.conf from your S4 DC. That file is created during the provision and can be found in $SAMBAHOME/private/krb5.conf. krb5.conf goes into /etc/krb5 on Solaris.&lt;br /&gt;Test your Kerberos setup with&lt;br /&gt;&lt;span style="font-style: italic;"&gt;kinit administrator@REALM&lt;/span&gt;  (mind the uppercase for the realm). That should exit without failure. You can check your ticket with klist.&lt;br /&gt;If that worked you can now do a&lt;br /&gt;&lt;span style="font-style: italic;"&gt;net ads join -U administrator&lt;/span&gt;&lt;br /&gt;to join the domain. Upon a successful join we can use&lt;br /&gt;&lt;span style="font-style: italic;"&gt;net keytab create &lt;/span&gt;&lt;br /&gt;to write the principal key into a local file. The Samba3 that comes with Solaris10 writes the krb5.keytab in /etc. The Solaris Kerberos client expects that file to be in /etc/krb5 though. So just move it there.&lt;br /&gt;Now we have Kerberos configured and the needed keytab in place.&lt;br /&gt;Tell PAM to use Kerberos for authentication by modifying /etc/pam.conf to look like this:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;other   auth requisite          pam_authtok_get.so.1&lt;br /&gt;other   auth required           pam_dhkeys.so.1&lt;br /&gt;other   auth sufficient         pam_krb5.so.1&lt;br /&gt;other   auth required           pam_unix_cred.so.1&lt;br /&gt;other   auth required           pam_unix_auth.so.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The last missing piece is the LDAP configuration. For now I trimmed down the ldapclient line from Scott's post to;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ldapclient manual \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-a defaultSearchBase=dc=example,dc=com \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-a domainName=example.com \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-a defaultServerList=172.16.1.10 \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-a attributeMap=passwd:gecos=cn \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-a attributeMap=passwd:homedirectory=unixHomeDirectory \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-a serviceSearchDescriptor=passwd:cn=users,dc=example,dc=com \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;-a serviceSearchDescriptor=group:cn=users,dc=example,dc=com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Problem is that this expects the users to have objectclass posixAccount and shadowAccount (no problem for me, since I set those in my scripts). The windows tools only set objectclass user (see the objectClassMap in Scott's post).&lt;br /&gt;I tried with that mapping in place, but found that &lt;span style="font-style: italic;"&gt;getent passwd&lt;/span&gt; fails to list LDAP users, &lt;span style="font-style: italic;"&gt;getent passwd username &lt;/span&gt;works, &lt;span style="font-style: italic;"&gt;finger&lt;/span&gt; fails, logins work. I assume there is something wrong with getent in Solaris but I need to investigate a litte more.&lt;br /&gt;Without the objectclassmap in place everything works just fine.&lt;br /&gt;One advise - ldapclient copies /etc/nsswitch.ldap to /etc/nsswitch.conf. So go and check that file, especially look at the hosts line. You sure want DNS in there... ;-)&lt;br /&gt;&lt;br /&gt;Now users can login with their domain accounts and have a common password for both Windows and Solaris.&lt;br /&gt;I need to play around with the mappings a little more and  get a few more maps into LDAP (auth_attr, prof_attr and project at least). Also at the moment I cannot change the password from a Solaris client.&lt;br /&gt;Let me know If you need more details on the bits of the setup, I'll try to help.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-8479056804074638393?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2010/04/samba4-ad-domain-controller-to-serve.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/8479056804074638393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/8479056804074638393'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2010/04/samba4-ad-domain-controller-to-serve.html' title='Samba4 AD Domain Controller to serve Solaris and Windows'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-512426919293971131</id><published>2010-04-10T22:50:00.002+02:00</published><updated>2010-04-10T23:13:06.759+02:00</updated><title type='text'>New gear</title><content type='html'>last week the new gear arrived. A little over a ton (1080kg including packaging) of various equipment was delivered. A few servers, racks, UPSs, SunRays, monitors... After everything was distributed to the final destination we fitted the servers into the cabinets and by 4p.m. my physical exercise for the next month was done ;-)&lt;br /&gt;Over the next two days I installed Solaris 10 on the main servers, added the needed software (SamFS on the fileserver, Sun VDI and SunRay Server Software on the VDI servers).&lt;br /&gt;The xVM servers will be running OpenSolaris and provide different flavours of Linux as compute farm to the users.&lt;br /&gt;&lt;br /&gt;Directory services for all platforms will be provided with a Samba  AD DC. That serves nicely for the Windows clients and also gives LDAP and Kerberos for the Unix clients. The main goal is to have one central account management and a common password across all platforms without the hassle of synchronising between the worlds.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-512426919293971131?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2010/04/new-gear.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/512426919293971131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/512426919293971131'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2010/04/new-gear.html' title='New gear'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-8427231744594620937</id><published>2010-03-22T13:53:00.002+01:00</published><updated>2010-03-22T14:09:21.346+01:00</updated><title type='text'>Trying Samba4</title><content type='html'>It's been a while since my last post. I'm still alive and running (Open)Solaris whenever I have the option to choose. &lt;br /&gt;A lot of exciting things happened in the past months and now a new challenge arises.&lt;br /&gt;We start a new research branch and I got to plan (and soon to install) most of the infrastructure. It involves quite a lot of things that are pretty exciting by themselves (SamFs, VDI, xVM/Xen). &lt;br /&gt;The one thing that kept me interested the past few days was the integration of the planned Windows7 guest for the virtual desktop infrastructure. As I try to avoid too much contact with the M$ world I am looking for a way to do it utilizing Unix power. As Microsoft removed support for NT4 style domains and group policies that became quite a challenge. Right now I'm trying out Samba4 as Active Directory replacement. So far it looks rather promising. A few questions arose already but with the help of the folks on #samba-technical those were cleared quite easily. &lt;br /&gt;As I want to do some fancy stuff (like the shadow volume/previous version stuff in combination with zfs snapshots) it will become a hybrid setup with Samba4 as AD DC and Samba3 doing the fileserver part. &lt;br /&gt;I tried to join the OpenSolaris CIFS service to the Samba4 domain but failed so far (that's being investigated by the samba folks). But since the storage server is going to be Solaris10 anyway that isn't a top priority at the moment.&lt;br /&gt;&lt;br /&gt;I'll post more when I do the interesting parts of the planned installation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-8427231744594620937?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2010/03/trying-samba4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/8427231744594620937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/8427231744594620937'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2010/03/trying-samba4.html' title='Trying Samba4'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-6462520205700390128</id><published>2009-05-07T23:51:00.002+02:00</published><updated>2009-05-08T00:39:10.619+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensuse'/><category scheme='http://www.blogger.com/atom/ns#' term='opensolaris'/><category scheme='http://www.blogger.com/atom/ns#' term='xen'/><title type='text'>Crossbow, Xen &amp; Linux fun</title><content type='html'>Recently I had to re-install an OpenSuse on a box a co-worker had installed about two years ago. After his native Linux installation had managed to shred a little data (roughly 1TB loss) on an external raid, I decided to put something decent on the box ;-) &lt;br /&gt;Ok to be fair it was kind of a bad combination that the raid box had a failure on one of the ports and Linux kept writing happily to the drives despite the errors it must have encountered (at least there where log entries about write errors). Seems OpenSuse's default settings for Ext3 are a really *BAD* idea. It is set to "on error continue". Looks like a safe way to lose data. &lt;br /&gt;Luckily not a real loss in data, raw data are in a safe place, but some guys have to re-run their compute jobs (and hopefully keep in mind to make a copy to our HSM once they're finished).&lt;br /&gt;&lt;br /&gt;Well after all it is a Sun Box (x4600), so it is now running SXCE (b112 at the moment). ZFS handling the attached disks (now the raid box is down to simply a JBOD) just makes me sleep better ;-)&lt;br /&gt;The Suse installation is now running as a xVM pvm domU. Solaris doing the disk I/O and sharing the data to the domU, Suse running Matlab. &lt;br /&gt;domU installation was a bit trickier than the Fedora 8 install I did a while ago for a few other domUs. It took me a while to find the right combination to make the Suse domU boot off the virtual disk.&lt;br /&gt;After that I decided to try out the crossbow stuff. Especially the etherstubs looked interesting. So two dladm commands later I had an etherstub (kind of a virtual network switch within Solaris) and a virtual nic setup. Plumb the vnic, set an IP address, ping the "switch" works just fine. So next thing I attached another nic to my domU and brigded it over the etherstub. The new vnic gets created by xVM and shows up in the domU.&lt;br /&gt;Assign an IP address, send a ping and wait... and wait... and wait... I did expect an answer. Well, seems like something went wrong.&lt;br /&gt;A little snooping on the Solaris instance and I see packets coming and going. They just never make it into the Linux world.&lt;br /&gt;The only thing that made me wonder was the different MTU on Solaris and Linux. Solaris quite happily set the MTU to 9000, while Linux had it set to 1500. After ditching the vnics, setting the MTU on the etherstub to 1500 and recreating the vnic with MTU 1500 ping finally got an answer.&lt;br /&gt;Not sure if this is a Solaris problem, a feature or something completely different. Though I tend to blame Linux for not supporting jumbo frames ;-)&lt;br /&gt;Well maybe it does. But at least not for the xen-provided virtual network card.&lt;br /&gt;So if you come to a point where you want to make a Linux domU talk to a Solaris box over an etherstub and lose the packets you may want to check the MTU setting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-6462520205700390128?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2009/05/crossbow-xen-linux-fun.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/6462520205700390128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/6462520205700390128'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2009/05/crossbow-xen-linux-fun.html' title='Crossbow, Xen &amp; Linux fun'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-7548736043460971491</id><published>2009-03-16T18:51:00.002+01:00</published><updated>2009-03-16T19:03:04.761+01:00</updated><title type='text'>Thanks Igor (or how to get VT-x on a Sony notebook)</title><content type='html'>I already ranted about Sony disabling VT-x in all notebooks (except for the BZ line). They also don't want to release a BIOS were one could actually change settings other than boot device order. There have been tutorials about patching the NVRAM on models with a phoenix bios for quite some time. Unfortunately mine uses an UEFI based AMI Aptio bios so until now I was out of luck.&lt;br /&gt;Checking for news on this issue again I came across a &lt;a href="http://forum.notebookreview.com/showthread.php?t=350209"&gt;thread&lt;/a&gt; in an notebook related forum. That guy - Igor (an Intel Black Belt btw) - did an awesome job of reverse engineering on the bios structure and came up with a program that utilizes AMI's afudos to first dump the current bios, parse the resulting file for the pattern which disable VT-x, patch that to something more desirable ;-) and use afudos again to write back the patch bios image.&lt;br /&gt;The challenge was to get a DOS bootdisk onto the usb pendrive, the rest worked just like a charm.&lt;br /&gt;You can also go to his &lt;a href="http://www.levicki.net/"&gt;website&lt;/a&gt; directly and visit the download section.&lt;br /&gt;Just phantastic work. For me it's now off to play xVM with hvms on the notebook!&lt;br /&gt;Thanks a lot Igor!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-7548736043460971491?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2009/03/thanks-igor-or-how-to-get-vt-x-on-sony.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/7548736043460971491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/7548736043460971491'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2009/03/thanks-igor-or-how-to-get-vt-x-on-sony.html' title='Thanks Igor (or how to get VT-x on a Sony notebook)'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-652337385464194218</id><published>2009-01-06T14:24:00.002+01:00</published><updated>2009-01-06T14:40:46.501+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sony'/><category scheme='http://www.blogger.com/atom/ns#' term='notebook'/><category scheme='http://www.blogger.com/atom/ns#' term='opensolaris'/><category scheme='http://www.blogger.com/atom/ns#' term='nvidia'/><category scheme='http://www.blogger.com/atom/ns#' term='nvclock'/><title type='text'>LCD panel backlight control vs Sony Vaio AW11Z part 2</title><content type='html'>Heureka!&lt;br /&gt;Finished. The port of &lt;a href="http://nvclock.sourceforge.net"&gt;NVClock&lt;/a&gt;/SmartDimmer to OpenSolaris is complete. It works nicely on my notebook (and I only crashed it once on the way *g*)&lt;br /&gt;A little reading, browsing source code and learning how to access PCI stuff was... ummm... interesting :-) Thankfully there exists a nice thing called libpciaccess which makes life a lot easier.&lt;br /&gt;NVClock now has a Solaris backend that gives me the ability to control the backlight on my notebook.&lt;br /&gt;For now the source code can be found &lt;a href="http://149.203.91.65/%7Emarkgraf/nvclock_0.8b4_opensolaris.tar.gz"&gt;here&lt;/a&gt;&lt;br /&gt;Have a go and try it if you have a notebook with an NVidia graphics card. Please report if you have any issues with the Solaris specific part. Any comments are welcome. But please don't sue me if it blows your box into pieces ;-)&lt;br /&gt;Mind you - smartdimmer and nvclock need to be run as priviledged user to set the registers on the graphics card.&lt;br /&gt;&lt;br /&gt;I hope the author of NVClock accepts my patch so OpenSolaris gets supported out of the box.&lt;br /&gt;&lt;br /&gt;The really amazing thing is how much battery time the backlight actually sucks. With the 'big' battery runtime went up by 1hour just by dimming from 100% down to 15%. PowerTop reports 40Watts vs 26.5Watts. That is just impressive!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-652337385464194218?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2009/01/lcd-panel-backlight-control-vs-sony_06.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/652337385464194218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/652337385464194218'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2009/01/lcd-panel-backlight-control-vs-sony_06.html' title='LCD panel backlight control vs Sony Vaio AW11Z part 2'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-3531611877283884689</id><published>2009-01-05T21:02:00.002+01:00</published><updated>2009-01-05T21:14:04.415+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sony'/><category scheme='http://www.blogger.com/atom/ns#' term='notebook'/><category scheme='http://www.blogger.com/atom/ns#' term='opensolaris'/><title type='text'>LCD panel backlight control vs Sony Vaio AW11Z part 1</title><content type='html'>As mentioned in an earlier post, the backlight control on the Vaio doesn't work out of the box with OpenSolaris. A lot of googling and reading revealed that the backlight isn't controlled via ACPI but via the NVidia graphics card. A lot of more googling and reading lead me to a nifty little tool called &lt;a href="http://nvclock.sourceforge.net"&gt;nvclock&lt;/a&gt; / smartdimmer. It features a number of options to tweak some settings. One of the options is the brightness level of the panel backlight. Now there was just one problem. OpenSolaris isn't (yet) supported.&lt;br /&gt;A little more reading and digging around the code...&lt;br /&gt;Heureka!&lt;br /&gt;I now have a first version which can dim the backlight of the panel. Still a lot of things hardcoded (only one graphics card, fixed base mem address). Still... it's the first step.&lt;br /&gt;&lt;br /&gt;Battery time on the default battery went up by 35mins by dimming from 100% down to 15%.&lt;br /&gt;&lt;br /&gt;Off to part two... and make the beast auto-detect the graphics card, fetch the base mem address etc.&lt;br /&gt;&lt;br /&gt;As soon as I'm done with that I'll post it here and on the relevant list.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-3531611877283884689?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2009/01/lcd-panel-backlight-control-vs-sony.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/3531611877283884689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/3531611877283884689'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2009/01/lcd-panel-backlight-control-vs-sony.html' title='LCD panel backlight control vs Sony Vaio AW11Z part 1'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-873446463070217901</id><published>2008-12-23T18:17:00.002+01:00</published><updated>2008-12-23T18:25:20.751+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='songbird'/><category scheme='http://www.blogger.com/atom/ns#' term='opensolaris'/><title type='text'>Multimedia keys and Songbird on Opensolaris</title><content type='html'>As I posted earlier the Multimedia keys on the Vaio work quite nicely with Gnome apps like Rhythmbox. It's just that I prefer songbird. And while moving a server to a new pair of disks a little music is more than welcome. So let's rock and roll.&lt;br /&gt;Only thing the multimedia keys don't work. Bugger. Songbird seems to ignore the gnome keybindings. The MMKeys add-on only seems to work on Linux. I didn't have the nerve to look into it yet. But there seems no easy way to bind keys to actions in Songbird.&lt;br /&gt;A little annoying.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-873446463070217901?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/multimedia-keys-and-songbird-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/873446463070217901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/873446463070217901'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/multimedia-keys-and-songbird-on.html' title='Multimedia keys and Songbird on Opensolaris'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-7608996592158227000</id><published>2008-12-23T17:57:00.007+01:00</published><updated>2008-12-23T23:56:10.568+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='zfs'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Moving box to S10U6 with ZFS root</title><content type='html'>So what do you do just before christmas? Well I started updating a T1000 from Solaris 10U4 to U6 with ZFS root. As this box serves a patient administration system in a hospital there is not much room for longer down times. Well except around official holidays.&lt;br /&gt;The T1000 is a nice box to run databases on boot it has one problem - not a real problem more like a hurdle in terms of updating. It came with just a single hard disk when we got it. It has a StorEdge 3510 attached though.&lt;br /&gt;Well sounds quite easy. Setup LiveUpgrade and off you go. In theory yes. Creation of the new boot environment worked nicely. Upgrade went fine too. The damn thing just wouldn't boot off the external disk stack. Bugger.&lt;br /&gt;As there are now double disks in a single bracket available (well for some time now) I ordered a pair of disks to move the installation from one disk to the new pair.&lt;br /&gt;Now the dirty part begins ;-)&lt;br /&gt;As I am too lazy to replicate the installation from scratch (I could do it but it would require more time than I have at hand) I chose the adventurous route ;-)&lt;br /&gt;&lt;ul&gt;&lt;li&gt;First of all dump the current installation to the external disk stack.&lt;/li&gt;&lt;li&gt;Swap the disks.&lt;/li&gt;&lt;li&gt;Boot off the net (the T1000 doesn't have a DVD drive and I didn't want to try an USB drive)&lt;/li&gt;&lt;li&gt;Slice one of the new disks as desired&lt;/li&gt;&lt;li&gt;Restore the dump from the external disks&lt;/li&gt;&lt;li&gt;Reboot&lt;/li&gt;&lt;li&gt;Be done.&lt;/li&gt;&lt;/ul&gt;Well not quite.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Booting fails as I forgot to run installboot on the new disk, so boot net again&lt;/li&gt;&lt;li&gt;Install the boot block on the new drive with installboot&lt;/li&gt;&lt;li&gt;Reboot&lt;/li&gt;&lt;li&gt;Done&lt;/li&gt;&lt;/ul&gt;Works nicely. Including all copying (roughly 30GB local data), net booting etc the box was running again in less than 2 hours.&lt;br /&gt;&lt;br /&gt;What's next?&lt;br /&gt;Create a new boot environment on the second disk. As we are still running S10U4 it has to be UFS again. Right now it is still populating the new BE with data from the first disk. (Yes, we are running live at this point.) Luckily the new disks (SATA vs SAS) are much faster, so this is running faster than expected.&lt;br /&gt;Next thing will be the update to S10U6 followed be reboot into the new BE running S10U6. That gives us ZFS root. Once this is done and working I'll delete the first BE and create a new boot environment on a ZFS root pool. And one last reboot will bring us to where we want to be. Mirror root pool with much easier upgrade procedures next time (and just a single reboot needed).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update&lt;/span&gt;&lt;br /&gt;The upgrade to S10U6 took a bit over 2 hours. No problems here. Try to boot the new BE.&lt;br /&gt;With the shutdown running I knew there was something missing.&lt;br /&gt;Exactly.&lt;br /&gt;The luactivate. Things like this happen when you drive home (90min commute) to finish this from home. Oh well!&lt;br /&gt;Anyway, activated and booted the new BE.&lt;br /&gt;Zpool created (remember it has to be a slice in order to be bootable! - Yes I did read the man page on that point ;-))&lt;br /&gt;So now we are copying the S10U6 UFS BE to the final destination on a zpool.&lt;br /&gt;&lt;br /&gt;Update 2&lt;br /&gt;Everything made it to the new BE on the zpool. It boots. This was work for today then.&lt;br /&gt;&lt;br /&gt;Merry Christmas everyone!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-7608996592158227000?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/moving-box-to-s10u6-with-zfs-root.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/7608996592158227000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/7608996592158227000'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/moving-box-to-s10u6-with-zfs-root.html' title='Moving box to S10U6 with ZFS root'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-4123553768508692346</id><published>2008-12-17T15:52:00.002+01:00</published><updated>2008-12-17T16:01:10.566+01:00</updated><title type='text'>More support fun</title><content type='html'>Update on the Vaio Support story. 2 days after logging two further calls (both regarding LCD panel brightness) an answer two both of them.&lt;br /&gt;1. How to dim the panel with no OS loaded?&lt;br /&gt;   -&gt; We do not support that.&lt;br /&gt;&lt;br /&gt;2. Why isn't the panel brightness persistent across reboots (even with vista)?&lt;br /&gt;   -&gt; Have you tried the latest update for your graphics card?&lt;br /&gt;&lt;br /&gt;When trying to answer via the support web site it hit me twice now that I was typing for too long and got logged out. Of course back in the browser didn't work and I had to type again...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-4123553768508692346?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/more-support-fun.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/4123553768508692346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/4123553768508692346'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/more-support-fun.html' title='More support fun'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-675946285907626125</id><published>2008-12-17T15:38:00.004+01:00</published><updated>2009-02-17T14:31:30.703+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensolaris'/><title type='text'>Sony function keys and OpenSolaris</title><content type='html'>The sound vol up/down/mute buttons on the Vaio nearly worked out of the box, all I had to do was to map them in the Gnome Keyboard Shortcuts preferences.&lt;br /&gt;Running&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;# dtrace -n '::KeyboardConvertScan:entry {printf("%x", arg1)}'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;I found the keycodes for some other keys (Play/Pause, Stop, Next, Prev).&lt;br /&gt;Funny that the Keyboard Shortcuts preferences dialog didn't see the keycodes when I tried to map them directly. So I had a look at acerkb from &lt;a href="http://www.opensolaris.org/os/community/laptop/frkit"&gt;frkit &lt;/a&gt;which I had been using for ages on my Acer Ferrari. Seems like I was lucky that acerkb mapped the keycodes for the sound control already and it therefore just worked. So I replaced the keycodes from the Ferrari with the ones from the Vaio. And voila I was able to map them to the according functions in Gnome.&lt;br /&gt;&lt;br /&gt;I wonder how I can find out which keycode sequences the keys generate that I couldn't catch with above dtrace command. There are 4 more Sony keys (S1, S2, AV mode, Eject) that I couldn't grab. Also the keys for LCD brightness, suspend and internal/external display didn't generate a key code. So there is more research needed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-675946285907626125?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/sony-function-keys-and-opensolaris.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/675946285907626125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/675946285907626125'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/sony-function-keys-and-opensolaris.html' title='Sony function keys and OpenSolaris'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-1250982278010721189</id><published>2008-12-17T14:14:00.003+01:00</published><updated>2008-12-17T14:54:48.651+01:00</updated><title type='text'>How much support to expect</title><content type='html'>So after playing around with the Vaio and logging a service call about the numlock issue I found that no matter what I did the notebook would only charge the battery to 80%. Since I had ordered a high capacity battery as well I put that one into the notebook to find the exact same behaviour. Charged to 80% and off. Both Vista an Opensolaris reported the notebook was running on mains, battery connected, charged to 80% neither charging or discharging.&lt;br /&gt;Time for another service call.&lt;br /&gt;By now it was day 4 (in words four) after I logged the call about numlock.&lt;br /&gt;And finally some kind soul from Sony's Vaio support answered to the numlock question. Indeed there is no such option in the BIOS (that much I knew already). There also is no way to turn off numlock at bootup using any other tool (Vaio Control Center may be). No BIOS update available. So here I am stuck with a turned on numlock on every boot and it takes Sony's support 4 days to find that out. Great work!&lt;br /&gt;&lt;br /&gt;"Only" two days after logging the call on the battery question Vaio Support reacted and asked me a lot of questions. Yes this is the original power supply and batteries that Sony shipped. Yes my power outlet works just fine (why would the notebook run on mains otherwise?). Yes the power supply gets warm after being plugged in for a while. I tried both batteries as well. The guy then suggested a nice list of things to try (I was waiting for "dance around naked" until the end...) No real solution suggested though as I already had all cables removed and reinserted etc.&lt;br /&gt;Funny I had a look around in the "Vaio Control Center" that comes installed with Vista. There is an option to extend battery life by only charging the battery to 80%. This was of course enabled. Switched off I have fully charged batteries.&lt;br /&gt;And of course tech support didn't come up with the thing to check. But it has been only two days on this call.&lt;br /&gt;Let's see how my other calls go. 2 more open for 2 days now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-1250982278010721189?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/how-much-support-to-expect.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/1250982278010721189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/1250982278010721189'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/how-much-support-to-expect.html' title='How much support to expect'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3887164132935306360.post-7280414787312629668</id><published>2008-12-12T10:41:00.001+01:00</published><updated>2008-12-15T11:06:42.713+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sony'/><category scheme='http://www.blogger.com/atom/ns#' term='notebook'/><category scheme='http://www.blogger.com/atom/ns#' term='opensolaris'/><title type='text'>Welcome blog, welcome new toy</title><content type='html'>&lt;span style="font-size:100%;"&gt;Welcome to my blog. I'll mainly post some stuff about (Open)Solaris und a little bit of this and that now and then.&lt;br /&gt;&lt;br /&gt;So short before christmas, right in time a new toy arrived. A Sony Vaio AW11Z/B. Quite a nice bit of gear, though a little bit too big. But the AR series models I was going to get wasn't available any more. Since I didn't want anything with less than 1650x1080p display resolution and choise of brand is limited I "had" to go for the AW model.&lt;br /&gt;Unfortunately it comes with Windows Vista preinstalled. That we're about to solve pretty soon :-)&lt;/span&gt;&lt;br /&gt;First of all wait a bit until the preloaded Vista is ready to welcome you. Took like 15minutes or so before I was logged in. The notebook comes with a nice collection of software (Adobe Acrobat Distiller, Photoshop Elements etc.). We also might need Vista to watch BluRay discs. So I'm going for a dual boot.&lt;br /&gt;Before we start lets create the recommended recovery dvds (yes there's 3! recovery dvds). Took well over an hour to create these. By the time I was this far I had lunch and my boss was there to take a look at the new toy.&lt;br /&gt;The AW11Z/B comes with two 320GB harddisks. Those will make a nice ZFS mirrored pool. I used Vista's own hard disk and partition manager to shrink the original C: partition down to about 50GB on the first drive. I didn't touch the recovery partition (you never know when you might need it ;-)) That gave me roughly 230GB for the Solaris installation.&lt;br /&gt;So now it's time to boot the Solaris installation dvd (I used SXCE build 103). Choose the text mode install and went for a ZFS root installation. I allocated 30GB to the root pool, the rest will go into homes and stuff.&lt;br /&gt;About 40mins later it's time for the first "real" boot into Solaris.&lt;br /&gt;Everything works just as expected. The first nice surprise is that Wifi works out of the box. (It has a Intel WiFi Link 5100).&lt;br /&gt;For the Marvell Yukon 88E8055 we grab &lt;span style="font-family:Thorndale,serif;"&gt;&lt;span lang="en-US"&gt;Masayuki Murayama's myk driver and are ready to go on the wired NIC too.&lt;br /&gt;Sound works out of the box as well. Nivida graphics just works too.&lt;br /&gt;Even the built-in webcam just works. All in all a very pleasant and easy thing to do.&lt;br /&gt;Next thing is to create a solaris partition on the second harddisk, create two slices, attach on to the root pool and create a mirrored pool for all the data.&lt;br /&gt;There is also a driver for the SD-Card reader which seems to work (it attached fine). I'll have to test that when I have an SD-Card.&lt;br /&gt;&lt;br /&gt;Now everything is ready to put some data on it and install all needed software.&lt;br /&gt;&lt;br /&gt;Though a few things remain open at the moment.&lt;br /&gt;Suspend to ram seems to suspend the notebook ok but didn't wake up properly again. I'll have to check that.&lt;br /&gt;The screensaver should switch off the backlight of the display after a while, but didn't.&lt;br /&gt;The key for display brightness don't work so battery runtime is not where I want it to be yet.&lt;br /&gt;The bios is really crippled. All one can change is the time and boot device order. I couldn't even switch off the bootup numlock. That really annoys me and I logged a service request with Sony. So far their support hasn't reacted at all within a day.&lt;br /&gt;When I logged into Opensolaris (I use GDM as display manager) it didn't set the permissions on the sound and webcam device, so I had to fix that manually to have those working as non-root user.&lt;br /&gt;&lt;br /&gt;Despite those issues great work from everyone who contributed to (Open)Solaris!&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3887164132935306360-7280414787312629668?l=phaedrus77.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/welcome-blog-welcome-new-toynow-evert.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/7280414787312629668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3887164132935306360/posts/default/7280414787312629668'/><link rel='alternate' type='text/html' href='http://phaedrus77.blogspot.com/2008/12/welcome-blog-welcome-new-toynow-evert.html' title='Welcome blog, welcome new toy'/><author><name>phaedrus77</name><uri>http://www.blogger.com/profile/11809385755824293913</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
