Kev's Site
  • Home
  • Games
  • Categories
  • Tags
  • About

K9COPY crashing on Ubuntu 10.10

March 27, 2011

I recently gave K9COPY a try, it’s supposed to be the Linux equivalent of DVDshrink for Windows. It certainly looked the part, but when I ran it with a disk I wanted to back up it ran for a short while and then crashed

Looking at the output of dmesg revealed that the disk was having trouble reading the encrypted disk:
`[235.097347] sr 5:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication

Read More

ffmpeg freeview to pal-dvd audio fix

February 12, 2011

I was converting a TV show I’d  to DVD format using ffmpeg, but the resulting file had the wrong audio channel. At first I thought it had no audio at all, but then I noticed it had a voice over occasionally explaining what was happening; “so-n-so has just entered the room…”.

It appears that ffmpeg had selected the wrong audio stream. For some reason, it had had selected the second audio stream instead of the first. The fix is simple enough, you can manually set the streams to use with the -map option. The command below works well for UK freeview.

Read More

XEN DOM0 support in mainline kernel at last!

February 3, 2011

The XEN developers ad community have been trying fr years to get DOM0 support into the Linux mainline kernel. On January 5th 2011 it finally happened when Linux kernel 2.6.37 was released.

Okay, so it’s only basic support at this stage, but it does represent a significant milestone in the hypervisors history.

Read More

Reducing the size of mp3 files

November 7, 2010

If you’ve ever had a collection of mp3 files that you want to burn to CD for playback in the car or archiving etc, you’ll likely know how annoying it can be when the collection of mp3 files is just a bit too big to fit on a CD. You end up having to remove a couple of tracks… While this is probably OK for music (there’s always a couple of tracks I’d skip anyway), it’s not so good for audio books and the like.

One answer to the problem is to reduce the size of the mp3 files themselves. Be warned though that

Read More

How to pronounce Linux

November 2, 2010

Okay, so I often hear people (mainly at work) pronouncing Linux incorrectly, with an emphasis on the letter ‘I’, as you would in the word ‘light’ for example. Although this may sound more professional it really isn’t. I don’t know why it winds me up, but I do have to bite my tongue to stop myself from correcting people and sounding like the office nerd (which, now I think about it I probably am!
Read More

Convert video files to DVD format using mencoder

February 27, 2010

To convert most video files into DVD compatible mpg files, mencoder is a good option.

The following will convert to PAL widescreen format.

Read More

HP Deskjet F2180 stops after printing half of a page

August 30, 2009

I’ve just installed the 64bit version of Ubuntu 9.04 onto my main desktop PC. Everything was going well until I wanted to print a document.
No, my printer was correctly detected and when I clicked ‘print’ the printer burst into life as expected. But after printing about half of the first page the printer just stopped. My printer is a HP Deskjet F2100 series (F2180 to be precise).

I tried everything, google didn’t throw up anything useful, I installed later HP drivers but noting fixed it.

After a lot of head scratching ad experimenting I did notice something odd. The USB device as owned by a user I did not have permissions for. I wasn’t expecting this to be the cause of the problem because if it was due to permissions then surely the printer would not print at all?!?

I was wrong, and adding myself to the group that owned the USB device has fixed it. As this seemed quite off the wall I thought I’d share…

Read More

Installing a XEN hvm DOMU

June 14, 2009

For this to work your CPU and motherboard needs to support vt (intel) or amd-v. You can check this by looking at the flags in /proc/cpuinfo. Your looking for either vmx or svm on the flags line.

If you’re doing this from your DOM0 then these flags may not actually show up. Instead type xm info and look for ‘hvm’ on the virt_caps line.

For my hvm install, i’ll be installing Ubuntu 9.04 Desktop Linux.
I have copied the live CD ISO onto my XEN DOM0 and will be installing directly from the iso rather than burning the CD. I have also created a 10GB LVM logical volume to act as the disk for my new DOMU.

Read More

How to set up a Linux RAID mirror

April 28, 2009

This is a quick guide to setting up a Linux software RAID mirror (aka RAID 1).

There are a couple of toolsets for managing raid on Linux, raidtools and mdadm. This guide will use mdadm because imho it has better commands and features for monitoring.

Right, first you’ll need a couple of disk partitions of about the same size. These should be on separate disks or you’ll be defeating the point of raid mirroring

Read More

Using vi as a hex editor

April 21, 2009

Sometimes I find it useful to switch to hex mode when editing a file in vi. The command for switching is not very obvious so thought I’d share… So, open a file in vi as usual. To switch into hex mode hit escape and type: :%!xxd And when your done and want to exit from hex mode hit escape again and type: :%!xxd -r Okay, so this isn’t actaully switching to vi’s ‘hex mode’; vi doesn’t have one.
Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • »
    • »»

 © 2009 - 2025 Kevin Ellis