Saturday, April 18, 2009

Acer Aspire 7720 and Fedora (9/10)

My Acer Aspire 7720 gave me a fare share of issues on Linux. I won't recommend it for the newbie Linux user.

For the start it would not boot to XWindows...and would pretty much freeze. Can't remember right, but changing to init3 was okay for a while. Finally I managed to make it work by setting noapic acpi=off to the kernel at boot-time. This was done in the grub settings (use the 'a' option when the grub boot screen comes up)

But then my wireless would not work, nor would the Fn keys or the extra keys above the 'normal' keyboard...damn. It turns out that those keys use the APIC controller so either I can boot to init 3 (non graphics) or have graphics but not wireless. What a fork!

After lot of headbanging, I realized that there was an updated BIOS available on the ACER website. Mine was at an old 1.14 version while version 1.42 was available. I booted to windows (thankgod I had not cleaned it away!), a simple utility upgraded BIOS...and sure enough, both Xwindows, WLAN started working fine together. Since realizing that, I removed the noapic acpi=off lines from the /etc/grub.conf

Allz well that ends well



Tuesday, March 10, 2009

cvs checkout to a directory by use of -d option

the -d option in cvs is confusing at times. The documentation seems to suggest it should be used for CVSROOT. however it can be (in some sense) overloaded to get the effect of checking out a directory without the whole tree structure being built

say you want to checkout A/B/C/D into folder P then do

cvs -d P A/B/C/D

this will have the effect of getting directory contents of D in P, withouth creating a directory named D.

the base cvsroot will be picked from whatever your CVSROOT reads, for eg: :ext:pmukherjee@cvsserver:/usr/local/rep

Thursday, February 26, 2009

Maven 2 repositories

My company had to choose a good maven 2 repository and I was blinded by the number of choices available and features to choose. After reading through the guide here:http://blogs.exist.com/oching/2007/11/05/the-hype-about-repository-managers/
I decided for archiva.

For me the single most compelling point was 'purging'. We have had loads of issues in the past with disk sapce and that was the point I needed!

Monday, February 23, 2009

FM Channel Finder

After struggling through various frequencies and bands and having no luck.... light at the end of the tunnel. Very much needed FM Channel Finder
Neat eh? Will try it tomm morn, if there is not a follow-up post within the next 2 days, presume it worked for me:)
For me at San Diego, here are the frequencies that it suggests will work:
106.1,101.1,105.9,106.9,104.1
Fingers crossed!

Tuesday, February 10, 2009

Maven 2 repositories

My company had to choose a good maven 2 repository and I was blinded by the number of choices available and features to choose. After reading through the guide here:http://blogs.exist.com/oching/2007/11/05/the-hype-about-repository-managers/
I decided for archiva.

For me the single most compelling point was 'purging'. We have had loads of issues in the past with disk sapce and that was the point I needed

Friday, January 30, 2009

shell script notes

How to do or, add
<b><b><span class="__mozilla-findbar-search" style="padding: 0pt; background-color: yellow; color: black; display: inline; font-size: inherit;">if [</span> -f $dir/$file ] || [ -f $dir/$newfile ]; then<br /></b></b>

Debugging cruisecontrol

It is often handy to debug cruisecontrol using its console mode: service cruisecontrol console

If there are issues with your config.xml or any other problems that end up blocking the whole build queue, this is probably the only good way to debug.

also handy is the 22000 default port which provides a web-console

Monday, January 26, 2009

cvs commands:Notes

cvs commit -m "comment" files
the writers file maintains list of folks who can write
all config files are maintained in checkoutlist
cvs import <module name> <vendor tag>
<initial tag>
cvs add file -- always commit after adding

Labels in cvs
U-Updated
P-new files
M- for files you've
modified locally and not committed
C-for files you've updated locally,
and
that have conflict

editing (marking it) locking
cvs edit filename ; cvs editors filename->gives list of editors;cvs unedit
cvs admin -l filename;cvs admin -u filename

cvs delete;cvs commit
------------------
References:

http://www.linux.ie/articles/tutorials/cvs.php

http://www.linux.ie/articles/tutorials/continuingcvs.php

------------------