Monday, April 9, 2007

Debugging crashses/dumps using objdump

objdump is a useful tool for statically resolving symbols for core-dumps for a given
binary. It's equivalent xscale utility is known as xscale-elf-objdump.
you can ref. the man page for objdump to know how to use it, but here is the gist of
it ...

if for a given core-dump the PC points to address 61b34.


just type the following.

xscale-elf-objdump -S proSUN.elf --start-address=0x61b34 --stop-addres=0x61c00 -l
>listing3.txt

in listing3.txt you will find the following.



00061b34 :
mptscsih_detect(): /ecos-c/redhat/proSUN_new_auto/drivers/lsi/mptscsih.c:1414
Q_INIT(&hd->pendingQ, MPT_DONE_Q);

mem = hd->memQ;
for (ii=0; ii <>can_queue; ii ) {
freedoneQ = (MPT_DONE_Q *) mem;
61b34: e51bc040 ldr ip, [fp, -#64]
61b38: e50bc028 str ip, [fp, -#40]
/ecos-c/redhat/proSUN_new_auto/drivers/lsi/mptscsih.c:1415
Q_ADD_TAIL(&hd->freeQ.head, freedoneQ, MPT_DONE_Q);
61b3c: e51bc020 ldr ip, [fp, -#32]



which might make more sense to you.

Read more...

Monday, April 2, 2007

The bitter taste of inhumanity

On a typical Monday morning, I am sitting in my scarcely populated office clearing the backlog of mails accumulated over the weekend. Suddenly some kind of noise distracts us all. In a matter of seconds we realized it was not a noise, it was a man howling and screaming in agony and It was quite clear and sounded very close. I tried to peep out of the nearby window but couldn't see anything but the screams kept getting louder, Now I could hear that some one is crying to call a doctor. I was distracted and disturbed and when I turned back and to my surprise I saw all of my colleagues sitting straight-faced in their comfortable chairs, eyes glued to their monitors as if nothing has happened. I was disgusted, but I didn't have time to reflect about their indifference and inhumanity.

I rushed outside and in couple of minutes I found the troubled soul. To my relief, there wasn't any visible physical injury on his body. May be it was some kind of attack. He lie semiconsciously encircled by many humans, who were just standing there doing nothing. I asked one of them, is there any hospital near by. He replied yes there is a hospital just next to this building but its a pity no one is taking him there. I felt like kicking him hard but I decided against it and rushed outside of the colony to get an auto rickshaw so that I can get him to hospital. But that wasn't needed anymore as I saw a doctor reaching us, escorted by someone. I felt gratitude towards that generous soul for doing his bit and not waiting for someone else to do it.

The doctor gave him some sedative and instantly the screams became moans and then there was silence. The doctor asked everyone to leave that their presence was absolutely unnecessary there and I also returned to my work. But this incidence left the bitter taste of inhumanity, which is growing at a rapid rate among us - the humans.

Read more...

Monday, March 26, 2007

Elementary dating guide by Mr. Bean

Read more...

Tuesday, March 20, 2007

Interesting trends

Another innovation from Google, a search engine to find the search trends across the globe. You can also compare search trends of many topics. So, I thought it would be interesting to find out the search trends of some hot topics in India.

Here are the results and I found them really interesting, these display a comparison of search trends for some of the most popular topics.

Note: The results are sorted according to the first(primary) key and for them the trends of second topic is given. This is why I had to use Sex as a secondary key otherwise it overshadows all other search keys.

1) Technology vs Sex:

Vellore tops the list of cities searching about technology and interestingly our top IT cities are no where to be found among them. Also, technology seems to be catching up as the hottest thing for people to search.

2) Music vs Sex:

Anand & Goa are top the list for Music search.



3) Technology vs Music:



4) Music vs Technology:


Last two trends are most interesting, notice that where Technology is the hot topic to search, people are hardly looking for music (supposedly in the city of geeks), but the cities where Music is hot, Technology also holds the similar importance for them.

Read more...

Monday, March 19, 2007

Vodafone does it the Skype way

Vodafone has come up with a hybrid technology to allow Skype calls through mobile through the ubiquitous GSM network. For obvious reasons, it can now change the face of mobile industry in recent future. At the moment Vodafone is uncertain about selling it, but one thing is sure that this is going to create a huge dent in the ISD calling segment of mobile telephony. With this technology in their kitty they will definitely have an edge in the cut throat competition of Indian telecom market, which they have just entered by the acquisition of Hutch.

Read more...

Wednesday, March 7, 2007

Many many happy returns of the day to my darling bike

Today is the second anniversary of my beloved Bike. Interestingly, I touched the 22222 Km mark on it today. In the evening I am going to celebrate it, with a nice speedy drive on the highway and some French chocolates. Tempting, isn't it? You can join in too :)

Cheers!!

Read more...

Thursday, March 1, 2007

Enter the world of Bulls & Bears

Today's newspaper was crammed with budget analysis and impacts but the thing which caught my attention was the stock market and its dramatic rise and fall on the budget day. For a long time I wanted to invest in the stock market but never had enough motivation, determination and most important confidence to play around with it. But today I somehow didn't need any of these as I was determined enough to invest, that also as the first thing today, as the market was down. I consulted a friend who plays in to this market and sure enough, locked my first lot of Stocks. Sealing my investment with a "good job" note, market recovered 220 points before closing and gave me a profit of Rs. 3.50 per share one the first day itself.

Now we need to wait and watch if I can complete the journey from a tyro to a consummate investor :)

Read more...

About This Blog

Followers

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP