Posts Tagged ‘linux’

“unable to find swap space signature”

Tuesday, April 15th, 2008

My darling wife told me when I got home from work today that the laptop, running Ubuntu, was a bit slow.

On a hunch, I ran free -m and saw that the swap file wasn’t being used. I rebooted it, and sure enough saw the phrase “unable to find swap space signature”. This generally means that the swap file needs to be regenerated (this can happen with some laptops if they unexpectedly drop into hibernate mode), so I rebooted into Recovery Mode and:

  • I checked the output of fdisk -l to ascertain which partition the swap space was on (/dev/hda3)
  • Recreated the swap space with ‘mkswap /dev/hda3‘ and activated it with ‘swapon /dev/hda3
  • I then opened the file /etc/fstab and edited the line referring to the swap space so it would be referred by /dev/hda3 rather than the UUID value.
  • rebooted and kept my fingers crossed.

Everything worked just fine.

Reviving my Kodak Z710 digital camera

Sunday, December 30th, 2007

My digital camera, a Kodak Z710, stopped working under ubuntu a while back; the error message “Could not claim the USB device” was cited.

A quick google brought up the solution, on Ubuntu Forums – apparently the line relating to the camera was no longer present in /etc/udev/rules.d/45-libgphoto2.rules.
I inserted the relevant line,
SYSFS{idVendor}=="040a", SYSFS{idProduct}=="05b3", MODE="0660", GROUP="plugdev",
at the bottom of that file and, after reloading those rules with /etc/init.d/udev restart. This final step is important – otherwise you’ll have to restart your PC ;-)

I got the idVendor and idProduct values from the output of lsusb. They were also present in the post to Ubuntu Forums.

The Linux Counter Project

Friday, December 14th, 2007

The Linux Counter project has been going for some time now and is an attempt to determine how many people are using Linux worldwide.

It is also used to estimate how many machines Linux is installed on.

I received an email this morning asking me to update my details, this is not uncommon as I had not logged in for quite some time, and felt compelled to blog about it to remind others who might want to ‘stand up and be counted’.

The Irish Linux Counter Homepage details how best to register yourself if you are based in Ireland.

So go on, what are you waiting for?