Archive for the ‘computers’ Category

XEN with loopback devices

Monday, January 26th, 2009 |

One of the most annoying things with XEN and loopback devices is that at some point you will run out of them. Especially if you like me have a setup with more than 15 virtual servers (not all of them are running at the same time).

I just ran into “Error: Device 5632 (vdb) coulnt not be connected. losetup $lo flags $loopdev $file”, which after some digging means that there are no free loopback devices.

The nice thing is that there is a way to solve it, instead of having;

In your DomU replace
disk=[ ..., 'file:/..../file.iso...
with
disk=[ ..., 'tap:aio:/..../file.iso...

Then you DomU should start just fine.

Read more here.

technorati tags: , ,

iPhone and vCards

Tuesday, January 13th, 2009 |

It’s almost there, that is if you can live without sending vCards via SMS.

Read this review on the AppleBlog.

Still freaking annoying that Apple cannot figure out how to do this.

technorati tags: ,

New Notebook….

Saturday, January 10th, 2009 |

After almost 3 years, I have ordered a new Notebook, my Macbook Pro (CD 2GHz) is not happy running Lightroom2, PhotoShop, Groupwise8, Groupwise Messenger, Adium, Thunderbird 3, and Firefox at the same time…. and it does not help if I switch Lightroom2 and PhotoShop with VMware Fusion…..

In about 4 weeks (I hope) I should be the proud owner of a Macbook Pro Late 2008 (C2D 2.8GHz) which should be able to keep me entertained for another 3 years…..

technorati tags:

Computer Speakers…..

Saturday, January 10th, 2009 |

There are a few things I really do not like, some of them does not have to do with computers, and some of them does.

As a notebook use, with a frequent use of a external monitor, I’ve gotten around to live with the mess of cables on my desk, but on I cannot live with the scratch, boom noise when I plugin my external speakers (5 year old 2.1 system, which is working just fine – just ask the neighbors).

This means that I’ve been hunting high and low for some speakers which would work via either fiber (bloody expensive), or USB (also not cheap – until now – that is I’ve missed out on some things).

I was in the local MacShop yesterday to order a new Macbook Pro (more about that later), and asked if they knew of any USB speakers which where 1) ok’ish 2) working with OSX. And they pointed me in the direction of Logitech Z-5, but after some research I figured out that they do not come with a power supply (damn). They also mentioned Logitech Z-10 which officially are only supported with Microsoft Windows – dooh…

Well it turns out that the only thing which officially does not work with OSX is the info display on the right speaker (no you know – it’s the right one, and no it’s not mentioned in the documentation).

After a bit of research, I found a tool (LogitechLCDTool) which can show some information on the display, and the next step was to figure out how to switch from lineout to USB Audio…. AppleScript here we come.

If found this blog entry, which have a script which works, but as I do not need to switch back to lineout (disconnecting the speakers is enough), I modified the script to:

– snip –
tell application “/Applications/LogitechLCDTool.app” to activate

tell application “System Preferences”
activate
set current pane to pane “com.apple.preference.sound”
end tell

tell application “System Events”
tell application process “System Preferences”
tell tab group 1 of window “Sound”
click radio button “Output”
set selected of row 2 of table 1 of scroll area 1 to true
set deviceselected to “Z-10 USB Speaker”
end tell
end tell
end tell

tell application “System Preferences” to quit
– snip —

As you can see I also launch ‘LogitechLCDTool’ – less clicking around….

Just a small thing, due to some issues with OSX 10.5.x and iTunes 8.x you should have a look here and here

But back to the speakers them self, well as everyone says; they are good, the bad thing is the touch panel which is kind of crap… do a google and find a review or two….

technorati tags: , ,

Missing …..

Saturday, January 10th, 2009 |

Most if not all of the photos in the posts are gone.. No I did not loose them, well kind of – on purpose…

After 5 years I felt that I needed some new hardware for my server, and one of the things I decided was to move all my photos to smugmug, where they for a very small amount (current $ € exchange rate is on my side) host my photos (have a look).

Therefor all links to photos are in the posts, but the photos does no longer exist (still kind of).

But, I’m now a happy man, current OS (CentOS 5.2), some new hardware, and I don’t have to care about my server for another 5 years.

technorati tags: ,

Linux & Asus P5QL Pro

Saturday, January 3rd, 2009 |

One of the more annoying things about new motherboards and Linux is that they sometimes does not work – that is they actually work, but then something does not work.

The most annoying thing for me is always the network card…..

In this case with the Asus P5QL Pro, the network card was not recognized by the Linux distribution I normally use for my server (CentOS), and after having spend a reasonable time using Google trying to find out what was going on – I successfully figured out:

  1. the driver is skge (skge.ko)
  2. the driver is not working (depends… on the version)
  3. the best way is to compile the driver from source

Steps required:

  1. install kernel-headers
  2. install development tools (gcc and make)
  3. get the source for the linux drivers here
  4. compile the driver
    # unzip LinuxDrivers.zip
    # cd LinuxDrivers/Lan/linux-v<version>/src
    # make
  5. and if no errors
    # make install

This will install ‘atl1e.ko’ which is the name of the driver Asus provides – see it’s kind of different to the one which is in the kernel already (crap!)

Now the problem is that next time you update your kernel you need to compile the kernel module again to get networking running.

Until the driver in the kernel is updated, I can only see one solution – have two network cards.

The buildin (which is the primary), and then another one which will give access to the box so that it’s possible to enable the driver again (crap! again!).

technorati tags: ,

So you do ‘webdesign’

Tuesday, October 7th, 2008 |

Some one send me this link.

Maybe this was what they decided on when they designed the ‘internet’ – or maybe it was just Microsoft….

technorati tags: