Archive for the ‘Tech’ Category

Dell warranty rocks

Friday, January 25th, 2008

When buying my Dell Inspiron 640m, I wanted to ensure I was getting a good warranty. It turns out, I finally had to use it, and all I can say is that its been a pretty great experience!

The left mouse button on my touchpad decided to give up the ghost, and just stayed depressed all the time. It worked fine, but not getting tactile feedback was annoying. So I submitted a problem report at 4.20am on the 23/01/2008. I got a phone call back at about 6pm, on the 23rd, asking me when would be a good time for Dell to come over. I stated Friday, and made a note that the LCD hinge on the right hand side felt loose, and maybe it deserved a replacement. They made a note of that.

On the 24th, I was called, to confirm that I’d be available on the 25th, and it would be great to choose a booking time. I chose 11am-2pm. On the 25th, at about 12.10pm, I get a call saying the technician will be around soon, and he’ll call when he’s about a half hour away. I say thats great, and head out for some lunch at Soda Rock.

Back by 1pm, the technician comes at 1.30pm, and starts working. He’s done by 2.15pm, having basically taken out my laptop to bits, and reassembling it. I got the palmrest changed, seeing that the entire thing had to be replaced to fix the mouse. The LCD hinge alone can’t be replaced, so the whole casing itself got replaced (save for the LCD, of course). This meant that all my stickers disappeared!

The laptop looks like new now. It even got a clean (all the dust inside, removed). Surprisingly, the keyboard hasn’t given up the ghost or anything, but the technician told me that it probably will give way in time, and they’ll be around to fix it ;)

How do I feel? Thrilled with Dell, I am. No regrets with their warranty service, and I probably will now only buy Dell hardware for machines that I care about.

Technorati Tags: , ,

Server downtime

Wednesday, January 16th, 2008

Khairil talks about server downtime, and I can attest to that (hogwarts is just above gambit). The Dell arrived on Friday, popped Centos 5.1 on it, realised that if you ticked “Virtualization”, you ended up not getting a regular kernel (no big deal, eh?). Configured it as best as could be configured, then headed out to the data center on Saturday morning. This after some fiasco of sleeping for under 4-hours, seeing that I was out on Friday night.

Removed the old box, installed the new one, everything came up, and life was dandy. Went over to C-ZONE in Low Yat to get my disk exchanged - it was one-to-one, seeing that it was within the first week. Very nice. Remotely configured the box with Zimbra again, and ZCS 5.0 is working fine. Its great to see that Zimbra figured out what the problem was with the RHEL4/CentOS4 installs of Zimbra. Fixed up the database, restored the websites, all remotely - I wonder if this kind of magic works in Windows land? I just love Unixes.

The Dell box is a 64-bit box, with full virtualization support. Question now is: how do I get more IPv4 IPs if the ISP only gives you one? While there’s some negotiation going on so I can get more, it’d be a shame if I had to create some Xen VMs to be IPv6 only.

Incidentally, if anyone wanted to see what a RAID failed device looks like, here’s some output:

[root@hogwarts ~]# mdadm -D /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Mon Jan 7 02:49:59 2008
Raid Level : raid1
Array Size : 485203072 (462.73 GiB 496.85 GB)
Device Size : 485203072 (462.73 GiB 496.85 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent


Update Time : Wed Jan 9 19:44:45 2008
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 1
Spare Devices : 0

UUID : a502d8a1:724a68ab:cac9860f:943d44a5
Events : 0.22190

Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 17 1 active sync /dev/sdb1


2 8 3 - faulty spare /dev/sda3


[root@hogwarts ~]# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1] sda3[2](F)
485203072 blocks [2/1] [_U]

unused devices: <none>

Technorati Tags: , , , , ,

Server buying experience

Wednesday, January 9th, 2008

My recent server buying experience has been interesting. I contacted a local company, ServerWare, seeing that they had some interesting servers - 4 disks, in a 1U configuration? Mmrm. To my dismay, they were trying very hard to not sell me parts, but complete systems, with prices that were about 30% greater than what I could get at Dell. The clincher, was when I was told that server SATA2 disks are different from desktop SATA2 disks, and there was no way I was going to get these disks so cheaply. Ahem, on Saturday, I took  a trip to Low Yat, and picked up a couple of 500GB SATA2 disks, remember?

So, it was down to calling Dell. Found my regular sales consultant whom I dealt with about a year ago, got the quote brought down from what the website said (I love how you can haggle with Dell, to get a bargain). Demanded a quick delivery (Friday, they tell me). With a nice 3-year next-day-on-site warranty. For 30% less than ServerWare. Without the hassles of being treated like an idiot.

On IRC, I mentioned that I was going to blog-mouth ServerWare. Consider this, just that. Its interesting to note that on the LUV lists, there is also chat about getting a 1U server. A lot of recommendations for Sun and Dell hardware. Apparently, Sun can provide even cheaper hardware than Dell! HP is also in the mix. No mention of off-the-shelf local companies in Melbourne though.

Friday, can’t come any sooner. Already booked a slot to be in the data center on Saturday morning, I’m hoping all services are up and running by then. And in future, I’ve got to think about backups - any recommendations for Xen instance hosting that is affordable? Purely for emergency use…

Technorati Tags: , , ,

How to spoil your day

Monday, January 7th, 2008

Sunday evening, I was in the data center. Hagrid had a failed sda in the RAID array, since post-Christmas (when I was on vacation), and I was going to replace it. Thanks to RAID1, it still kept humming along. Its almost impossible to find 120GB disks any longer, so I thought it would be time to upgrade to 2*500GB.

Monday, shone on me (smartctl -d ata -a /dev/sda):
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.

Again, sda was at it. A brand new, honking, 500GB SATA2 disk, failing. Power supply? Fubared motherboard? Now my thoughts of buying a Macbook or whatever new-fangled device Apple launches on January 15 at MacWorld, is clearly gone down the drain. I’m guessing a new server is in order. Well, at least it will be 64-bit, and every bit capable of running Xen.

In case anyone’s looking for a good reference to S.M.A.R.T. error messages, the Wikipedia entry on S.M.A.R.T. is pretty good.

Technorati Tags: , ,

Skype Video, and a Logitech webcam

Saturday, January 5th, 2008

Was hardware shopping yesterday, and couldn’t resist getting myself a webcam, now that Skype 2.0 on Linux supports it (okay, its beta, but it works). Picked up a Logitech QuickCam Family for RM65. There was a more expensive version (RM10 more) that was “Skype certified”, but I figured I could save the cash, seeing that there is no way Logitech supports Linux officially anyway.

Did it work with Linux? Most certainly, on Fedora 8, it just worked. Of course, you need the livna repository. Just install gspca (it’ll pull in some kernel modules too), and then run modprobe gspca, and voila! you have a working webcam. Tried it with Ekiga, it was detected. Tried it with Skype, and even had a chat, with a user on Windows, and it worked. Glad to be webcam enabled.

Technorati Tags: , , , , , , ,

Size differences between WAV, OGG, MP3

Sunday, December 2nd, 2007

Ever since getting the Sandisk Sansa e280 (yes, so much better than the iPod Nano, if you must know), I’ve been interested in the Voice recording feature. I fiddled with it today, to give it a bit of a test, as I plan on conducting audio interviews.

Once recorded, it outputs WAV files. This is easily accessible in Linux, in the RECORD folder. So I played around with converting the original WAV file into an OGG and MP3. Quick findings:

  • WAV:  RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 16000 Hz size at 1020K
  • OGG: Ogg data, Vorbis audio, mono, 16000 Hz, ~48000 bps, created by: Xiph.Org libVorbis I, sized at 148K, converted via oggenc 071203_01.wav -o 071203_01.ogg
  • MP3: MPEG ADTS, layer III, v2,  24 kBits, 16 kHz, Monaural, sized at 104K, converted via lame 071203_01.wav

This was on a clip that was 32 seconds in length. The MP3 is smaller than the OGG, and there’s no noticeable sound difference between all the 3 formats. Is there something to make the OGGs generated by oggenc smaller? I’m happy if they just match the MP3 file sizes, to be honest.

Time to start podcasting? :)

Technorati Tags: , , , , , , ,

3 Skypephone: A review

Sunday, November 25th, 2007

I picked up the 3 Skypephone the day it got released. I figured I’d get a new prepaid number to boot. Rather than reviewing it the moment I got it, I decided to play with it for a little while, and formulate opinions on the phone. Generally, I like it, and think its going in the right direction. I can’t wait for improvements to this product line.

Size and Build Quality
3 Skype PhoneIts actually much smaller than the Nokia N73. Very thin, and smaller in size. Looks very much like a toy phone, and easily slips into the pocket. The build quality is quite impressive for a cheap AUD$179 phone. I did however note that sometimes I’d slip the back cover off (the back cover covers the battery, and beneath it is where the microSD and SIM cards are stored. I’d also be very weary of the one port on the phone - its a USB port, that allows you to plug in the hands-free kit, or the charger (this phone, charges via USB just fine as well). The cover, of multi-purpose port, seems to be very flimsy, and I’m quite certain it will break eventually.

Operating System
This is a Qualcomm BREW based phone. You can write BREW apps for it, however, you actually need to run Windows as the SDK is only written for that silly OS. The phone does support Java, so that in itself must be saving grace for writing applications for the phone.

Camera
Its supposed to be a 2MP camera (supporting 1600×1200 resolution), but as with most mobile phone cameras, this one generally sucks. It doesn’t come with a built-in flash, so taking photos using the night mode has got some serious digital manipulation. During the day, shots are passable, but you won’t be making any great art pieces from it. There’s a video recorder too, but its all just as bad.

Skype
3 Skype PhoneThe reason this phone is cool, is because of Skype. You have an always-on Skype connection wherever you are, as long as you are within the 3 Broadband Zone. When you’re roaming to Telstra, you’re obviously out of luck - which is kind of silly at this stage, since 3’s coverage is pretty dismal if you’re not within city/metro areas. I spent last weekend in Port Pirie (3 hours away from Adelaide, in South Australia) and there was absolutely no 3 coverage there.

SkypeIn or SkypeOut calls do not work. Initially, synchronising my Skype contact list was problematic, but that’s probably because I had Skype running on my laptop as well. Quickly shutting it down and restarting the synchronisation seemed to have fixed the problem.

Audio quality with Skype over 3G is actually very good. A drop out happened once after about 8 minutes into the call, in where I saw a message that my session expired. It reconnected automatically, and I made another call, and it just worked fine.

You can’t initiate a Skype call with multiple parties. However, you can participate in a Skype call with multiple parties, and I verified this with 4 people on a Skype chat. It seemed like the audio generated from the 3 Skypephone was actually very good, in comparison to most laptops, where their mics are nowadays pretty second rate, and you can’t get anywhere without a headset.

Chatting via Skype is pretty easy, though you kind of wish you had a full-featured keyboard (like on the e61i).

When Skype is set to forward to a number with the regular client, it does seem like there can be confusion and I might get one ring on the Skypephone before it just cuts off, and gets forwarded to my actual mobile phone. This can get quite annoying, as its pretty expensive everytime a call is forwarded! Disabling Call Forwarding seems to help.

Not having Caller ID on incoming Skype calls, seems kind of silly. You should know who’s calling you, as the regular Skype client has support for this, with no issue.
3 Skype Phone
USB Mass Storage Device
I like that the phone is just treated as a USB mass storage device in Linux. I’ve not trying synchronising it, as the software provided on the CD is completely Windows only (I didn’t even notice any Mac support).

Interface
The phone works very much like a Nokia. Keypad shortcuts all seem very similar, so if you’re a regular Nokia user (like of the N73 and the like), you’ll never have a problem getting used to the interface for SMS or Skype Chats.

Misc.
Its worth noting that the Skype client itself, comes from 3’s partnership with iSkoot. I know that I get 4,000 Skype minutes and 10,000 Skype chat messages, all of which, seems really reasonable. Consider reading 3’s Forum, if there are questions, and to follow the discussion. More photos at the wp-s1 tag.

Technorati Tags: , , ,

Backup disks for photos

Monday, October 22nd, 2007

With disk being as cheap as it currently is, there’s no reason to not buy some large disks, and create some redundant backup of images (DVDs are getting stale). Of course, my main requirements are writing to these disks via either Linux or Mac OS X.

And therein lies my problem. Should I just attach it to a NAS like the NSLU2? This ensures the filesystem will be ext3 based, and both Linux/OSX will connect to it via Samba. But it also means I need yet another device turned on.

If I plug disks in directly, I have to beware of the ext3 or HFS+ issue. Do you backup to disk? Are you using a NAS or plugging it directly via USB/Firewire? What are you using as a filesystem of choice? (please don’t suggest VFAT for 500GB disks…)

Technorati Tags: , , , , , , ,