Monday, November 9, 2009

Whack 'em up

To my amazement, there was an interesting tide of event, today, we (myself and a teammate included) had whacked another team, well actually my teammate did most of it, I tried to be as neutral as I can whenever I am able to.

Whacking is not recommended, and it should only be done if you have your facts right. And we were luckiy we did have facts to back us up.

As it was due to an e-mail reply which we had gotten from another colleague who had intended to whack another colleague, and we only found out that it is after the final reply. Funny how we whacked the whole team in return

Do I feel guilty? Probably not. Just hope that it doesn't have to turn this way from now onwards.

Thursday, November 5, 2009

Poor kid

I'm pretty sure everybody has pretty much read about that girl from Sri Aman whose father is an Iban and the mum whose of mix Chinese-Iban parentage. And she was not considered a Bumiputra for some reason. In a way, I can say I'm pretty lucky, I'm not even half Malay, my mum's Chinese, Iban, Melanau parentage and my dad's Malay and Chinese parentage, I'd say if it weren't for that one quarter Malay, I'd be non-bumi.

yikes

It has been a very busy year for our team surprisingly. Never did I anticipate for us to have so much projects this year, I've been to places where I would never dreamt or thought of going if it were up to me. The places which I have been to this year: Mukah, Sarikei, Kapit, Betong and Phnom Penh. I haven't exactly been in the right mood to write about Phnom Penh, great place really, felt like Sri Aman, hmm well, except bigger. I've also have photos of the city which I also haven't quite made the effort to ask from a friend/colleague of mine who was with me in Phnom Penh, whose camera I had to borrow from time to time to snap photos from at that time. Did spent a night in KL and for some reason (not sure whether I have written about this before) felt like I was coming home. talk about weird, huh.

And I would probably miss the upcoming Christmas celebrations and most likely my friends' wedding reception. It was just so happen I gave him a ring today to ask him when his folks were to suppose to be in KL. As it turns out, it was today. I was suppose to have handed an Angkor Beer souvenir t-shirt to his folks so they could hand it over to him. Besides the fact that I have to make a trip to Betong again, and probably next week, damn didn't feel at all thrilled about driving up to Betong all by myself again. Did I mention both of my other colleagues' Missus are expecting, yikes, which means there will on my boss and myself, just the two of us. And I have been feeling a rather needy lately for some reason, come to think of it, it's been like that for some time.

Guess, that's that.

Tuesday, November 3, 2009

Booting Solaris 10 into single-user mode

Yeah I know, what's with the recent influx of techie stuffs. I have written/typed too many of those important techie notes of which I have the utmost tendency to loose even after a mere 5 minutes after the note was written/typed.

To boot Solaris 10 into single user mode (maintenance mode)
perform
reboot -- -m milestone=none

As compared to Solaris8/9 (on SPARC) where instead of executing the above, you'd run
init 0 (reboot to OBP)


boot -s
or boot into cdrom and single user mode.
boot cdrom -s

All this SMF framework on Solaris 10 is nothing quite like your usual conventional init level and scripts.

Monday, November 2, 2009

lessfs

open source alternative to dedup
tried installing it on Centos 5.3, will not work do to kernel version (lower version)
required kernel version is 2.6.26 (I believe)

Prerequisites
FUSE (http://fuse.sourceforge.net/)
Tokyo Cabinet (http://1978th.net/tokyocabinet/)
lessfs (http://www.lessfs.com/wordpress/)

Steps

Fuse
Download from http://sourceforge.net/projects/fuse/files/fuse-2.X/2.8.0/fuse-2.8.0.tar.gz/download
tar xvfz fuse2.8.0.tar.gz
cd fuse2.8.0
./configure
make && make install

Tokyo Cabinet
Download from http://1978th.net/tokyocabinet/tokyocabinet-1.4.36.tar.gz
tar xvfz tokyocabinet-1.4.36.ta.gz
cd tokyocabinet-1.4.36
./configure
make && make install

lessfs
Download from http://sourceforge.net/projects/lessfs/files/lessfs/lessfs-0.8.0/lessfs-0.8.0.tar.gz/download
tar xvfz lessfs-0.8.0.tar.gz
cd lessfs-0.8.0
set env variables
export PKG_CONFIG=/usr/local/lib/pkgconfig
export PATH=/usr/local/bin:/usr/local/sbin:${PATH}
export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
./configure --enable-off64 (to enable the database limit to >2GB)
make && make install

again like mentioned in the 2nd line above, don't have any centos or rhel with kernel 2.6.26, so to be continued....

Solaris 10 on Compaq Evo Desktop

Apparently doesn't recognize/unable to detect Intel Pro/100 VM NIC

Run prtconf -pv

# prtconf -pv (will give a long output)

                compatible: 'pci8086,103b.e11.12.81' + 'pci8086,103b.e11.12' + 'pcie11,12' + 'pci8086,103b.81' + 'pci8086,103b' + 'pciclass,020000' + 'pciclass,0200'
                model:  'Ethernet controller'
                power-consumption:  00000001.00000001
                fast-back-to-back:
                devsel-speed:  00000001
                interrupts:  00000001
                max-latency:  00000038
                min-grant:  00000008
                subsystem-vendor-id:  00000e11
                subsystem-id:  00000012
                unit-address:  '8'
                class-code:  00020000
                revision-id:  00000081
                vendor-id:  00008086
                device-id:  0000103b
                name:  'pcie11,12'

Locate Ethernet controller (as show in the output snippet pasted above)

Go to http://pci-ids.ucw.cz/read/PC/
Use the vendor-id and devicei-id to locate the correct device name
103b - 82801DB PRO/100 VM (LOM) Ethernet Controller

run
# grep 82801DB /boot/solaris/devicedb/master
pci8086,1039 pci8086,1039 net pci iprb.bef "Intel 82801DB Ethernet 82562ET/EZ PHY"
pci8086,103d pci8086,103d net pci iprb.bef "Intel 82801DB PRO/100 VE Ethernet"

edit /etc/driver_aliases

add the following accordingly (into /etc/driver_aliases of course silly0

iprb "pci8086,103b"

load the driver
# modload /kernel/drv/iprb
# ifconfig iprb0 plumb

# ifconfig iprb0 x.x.x.212 netmask 255.255.255.0 up
# route add default x.x.x.1

Permanently configure IP address for iprb0

Create a new text file /etc/hostname.iprb0
x.x.x.212

Create another new text file /etc/defaultroute
x.x.x.1

Edit if doesn't exist, create /etc/resolv.conf
nameserver x.x.x.20
nameserver x.x.x.13

Edit /etc/hosts accordingly to make it look something like this (sample output only, please amend accordingly, yes silly)
::1     localhost       loghost
127.0.0.1       localhost       loghost
x.x.x.212      europa europa.jupiter.space

Make sure the following exist or amended accordingly (if need be) /etc/nsswitch.conf
hosts: files dns



do a reconfigure reboot
# reboot -- -r

Wednesday, October 28, 2009

Hands to hit,
Hands to hurt,
Hands to break
Without even touching.
Eyes to see,
Eyes to stare,
Eyes to weep
Over the missing.
Rage to crush,
Rage to condemn,
Rage to burn,
Without even seeing.
Loss to empty,
Loss to consume,
Loss to despair,
Whilst never knowing.
Grief to denial,
Denial to anger,
Anger to acceptance,
But never forgetting.