Archive for March 15th, 2010

Remove Windows Thumbs.db, desktop.ini, BBThumbs.dat, etc. in Ubuntu using find

You can quickly and easily remove Windows and BlackBerry thumbnail index files using a few simple terminal commands.

find /path/to/directory -name "Thumbs.db" -delete
find /path/to/directory -name "desktop.ini" -delete
find /path/to/directory -name "AlbumArt*" -delete
find /path/to/directory -name "BBThumbs.dat" -delete

You can expand on this to remove any file name or mask.

Advertisements

, , ,

Leave a comment

ld-linux.so.2 process excessively consumes CPU

Reposted from the original bug report at launchpad (Retrieved March 15th 2010)

Once in a while, a process called “ld-linux.so.2” starts consuming all my system resources, with CPU usage between 90-100%, my 2GB main memory AND my complete swap partition used up completely, making the system unresponsive to a degree that even single keystrokes need up to a minute to get interpreted by the system.

A forum post indicates that Adobe Reader 8 is the source of the problem. It claims that installing the “lsb” package will solve the problem. I can now confirm this does not fix the problem. Instead, the acroread process itself will now turn out to be the resource hog (no ld-linux.so.2 process is listed anymore by ‘top’ though).

Two known workarounds:
1) uninstall package acroread
2) when slowdown starts, either killall -KILL ld-linux.so.2 (package lsb not installed) or killall -KILL acroread (package lsb installed).

, ,

Leave a comment

Ubuntu Karmic and Broadcom Wireless BCM4312 rev 01

If you’re having an issue where wireless connections are not available to you through network manager, or no networks show up, this method may resolve it for you. Note that this may work with other wireless cards as well.

First, identify your wireless card. At a terminal, type:

lspci | grep Broadcom

Look for output similar to the following:

03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)

If your card matches, or you’re attempting this against another card, continue by making sure your system is completely up-to-date. Use Synaptic or Update Manager. (Both in System > Administration)

Next install the package linux-backports-modules-karmic. You will need a working wired connection for this.
At a terminal:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install linux-backports-modules-karmic

Try rebooting. If that doesn’t help at this point, continue by blacklisting a few modules:

sudo echo "blacklist ssb" | sudo tee -a /etc/modprobe.d/blacklist-ssb.conf
sudo echo "blacklist wl" | sudo tee -a /etc/modprobe.d/blacklist-wl.conf

Reboot and test.

Note: If you want to roll-back the blacklisting at a future point, here’s the steps:

sudo echo "" > /etc/modprobe.d/blacklist-ssb.conf
sudo echo "" > /etc/modprobe.d/blacklist-wl.conf

(or simply delete the files)

I’m reposting from this site, where I originally found this fix. The site is very slow to load for me most days when I really need to refer back to it, as I’m sure others would love to as well, so I’m reposting here with some clarification and clean-up.

You might also want to read another post regarding Broadcom BCM4328 wireless problem in Ubuntu.

Did this work for you? Please leave your feedback in the comments.

, , ,

Leave a comment