Recent Tweets

    Elsewhere

     

    March 2010
    S M T W T F S
    « Feb    
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  

    Archives

    Getting untruncated command line options passed to a Solaris process

    If you have ever wanted to get the command line options that were passed to a running Solaris process, you might have noticed that the output of command line arguments from ps is truncated to 80 characters. Looking into /usr/include/sys/procfs.h will reveal the reason why! This is because of the restriction in struct psinfo. Here [...]

    Dumping core file from set-UID, set-GID 'ed processes in Solaris

    I had a previous post on how to turn on core files for set-UID, set-GID processes under Linux. Recently we ran into the same problem on Solaris. To turn on core files for set-id processes, use coreadm.

    $ pfexec coreadm -e global-setid

    Please keep in mind that these core files can have information that non-privileged user isn’t [...]

    Chainloading OpenSolaris from GRUB 2

    I have a triple boot system with OpenSolaris, Ubuntu 9.10 and Microsoft Windows XP. I upgraded my Ubuntu 9.10 GRUB to GRUB 2 today. GRUB2 automatically added an entry for Microsoft Windows XP. However, it didn’t detect the OpenSolaris that was installed. I had to manually configure OpenSolaris chainloading in GRUB 2. If you are [...]

    Enabling virtual consoles in OpenSolaris

    OpenSolaris was lacking virtual console for a while. This support was made available since build snv_124. However, due to various bugs, it is turned off by default. To enable virtual consoles, do the following.

    $ pfexec svcadm enable vtdaemon
    $ pfexec svcadm enable console-login:vt2
    $ pfexec svcadm enable console-login:vt3
    $ pfexec svcadm enable console-login:vt4
    $ pfexec svcadm enable console-login:vt5
    $ pfexec [...]

    Random links for week 45

    I have an Apple TV and I run XBMC and Boxee on my Apple TV using Patchstick. Apple introduced Apple TV 3.0 Software last week. Somehow, the software just got upgraded automatically causing me to lose XBMC and Boxee. Patchstick isn’t available for Apple TV 3.0 yet. So, I had to downgrade it using another [...]

    Random links for week 44

    Since I updated to OpenSolaris update snv_124, I am facing issues with Indic fonts rendering. I have created a bug describing the problem. The root cause of the problem isn’t diagonized yet. If someone knows what could be wrong, please let me know.

    I keep hearing a lot about Haskell lately and wanted to get introduced [...]

    Fix mouse cursor jumping to top left corner of screen on OpenSolaris

    Update 2009-11-07: This issue is fixed in OpenSolaris build snv_126.

    OpenSolaris dev repository update snv_116 introduced an XOrg bug that caused the mouse cursor to jump to the top left corner of the screen very frequently. Apparently, there is some floating point math issue is involved using MMX/SSE2 instructions. I was living with the workaround posted [...]

    Random links for week 36

    My (ex-)manager David Carlton has decided to leave us to join Playdom. I learned a lot in the past two years working with him. We are going to miss him a lot! Playdom is fortunate to have such a talented individual on board. I am sure he will be bringing a multitude of perspectives into [...]

    GNOME Metacity dual screen issue in OpenSolaris 2009.06

    With the latest OpenSolaris 2009.06, maximizing windows managed by Metacity (GNOME) will maximize the windows across both screens. This is due to an issue that Metacity was trying to use a wrong Xinerama type. This issue is fixed in the mercurial repository. However, the fix was not on time to make it into the final [...]

    Creating OpenSolaris live USB sticks

    OpenSolaris 2009.06 was announced yesterday. You can download the live CD image (ISO) from here. Here is the set of instructions to create a live USB stick from the live CD that you have downloaded.

    Step 1. Install distro-construct.

    $ pfexec pkg install SUNWdistro-const

    Step 2. Generate the USB image from CD image.

    $ pfexec usbgen osol-0906-x86.iso osol-0906-x86-usb.img /tmp/osol

    Step [...]