Archive for the ‘Uncategorized’ Category

raspberry pi gcc 4.6 bug

December 7th, 2015 No comments

spent a few hours compiling freeswitch on a raspberry pi, couldn’t get any calls to work -everything died with


The call would ring at both ends and die when answered.

turns out there’s a bug in gcc 4.6 which is the default on raspbian.

here’s instructions for installing newer gcc

# uname -a
Linux SkyPi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l GNU/Linux
2015-12-07 22:43:57.513845 [INFO] switch_ivr_originate.c:1216 Sending early media
2015-12-07 22:43:57.513845 [ERR] mod_sofia.c:2309 CODEC NEGOTIATION ERROR. SDP:
o=sip:[email protected] 1 34 IN IP4
s=sip:[email protected]
c=IN IP4
t=0 0
m=audio 5004 RTP/AVP 0 8 18 110 120
a=rtpmap:0 PCMU/8000/1
a=rtpmap:8 PCMA/8000/1
a=rtpmap:18 G729/8000/1
a=fmtp:18 annexb=no
a=rtpmap:110 G726-32/8000/1
a=rtpmap:120 telephone-event/8000/1

2015-12-07 22:43:57.513845 [NOTICE] switch_channel.c:3501 Hangup [email protected] [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
2015-12-07 22:43:57.513845 [NOTICE] switch_ivr_originate.c:3841 Hangup [email protected]:5060 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
2015-12-07 22:43:57.513845 [NOTICE] switch_ivr_originate.c:2763 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]
2015-12-07 22:43:57.513845 [INFO] mod_dptools.c:3379 Originate Failed. Cause: ORIGINATOR_CANCEL

Categories: Uncategorized Tags:

Dell H200 SAS -Obscenely Slow

March 19th, 2014 2 comments

After installing VMware ESXi 5.5 RAID 1 and even RAID 0 performance was obscenely slow with a range of disks.

Much faffing about later and the tldr is basically the card disables the _ON DISK_ cache.

There’s much confusion online thinking the card has some sort of write cache; it doesn’t (though it does deal with SAS drives without requiring a licence (cough HP)). This is a cheap card, no write cache, no battery, none of that jazz (get a PERC 5e if you want some of that excitement). However it’s quite a capable direct sata/sas controller.

Y U go slo?

As default the card disables the cache that’s built into the hard drive itself (you’ll most likely remember it from such columns as (Buffer) Cache on PcPartPicker. I believe the correct term for this would be “on-disk write-buffer”. When looking at a drive for your desktop computer, anything that makes random writes bearable with spinning rust is a boon. If you have an unexpected power-off then the machine will reboot, do a disk check and you might have lost some of your browsing history, or even the last save of your essay… but probably not. Even if you do you’re not going to care.

When you’ve got a server doing mission critical work, when you tell the machine to commit to disk you expect it’s actually on the disk. Think a decent size database (100’s of gigabytes) with lots of sequential access. If you think stuff is safely in longterm storage and (for example) power off whilst it’s still in the cache, you’re likely to have all sorts of hellish corruption. The on disk buffer can also cause all sorts of interesting problems with RAID itself, especially when the disks start dying. To get over the performance hit expensive RAID cards leave the disk buffer disabled and have their own cache (which is usually in the hundreds of MBs if not gig). Known as a Write Cache these are (essentially) sticks of RAM with a battery attached.The card can promise the machine that the data is stored safely before it even spins the disks back up. RAM to act as fast and large temporary storage and the battery so that if the power suddenly dies, all the data in the RAM is still safe and can be written to the actual disks when power returns.

make it fast!

So by now you probably don’t give a damn about securing data integrity and you just want your datastore to be almost vaguely usable. It’s easy. Ish.

Find a Dell Open Manage Server Administrator liveCD or install it on your OS.  If you’re using ESXI then it’s doable but an insane ball-ache.1

Once booted/installed then go into the storage component, into your array and enable the disk cache. Reboot and find it’s almost usable.

-sorry about the lack of full instructions; I did this back in December so at this point you can either have it from memory or it’d just be a saved title in my drafts.


  1. you need to install the OMSA VIB on the ESXI host and then find another box to install just the web component server which you can then hit up with a browser. Maybe. It also seems to fail if the web component is on a VM on the same hardware. I will try and make myself go through it again and write some instructions…


Pro-Active Destruction

May 21st, 2012 No comments

so I finally updated the website and theme and apparently it’s broken the site somewhat.
If it wasn’t nearly 4am and I didn’t have things to do tomorrow I might have actually fixed it instead of posting this :S

Categories: Uncategorized Tags:

Desire post test

July 23rd, 2010 No comments


Got the new desire. Also got a smoke machineand lasers…

Categories: Uncategorized Tags: ,

It must be true; I saw it on telly!

April 1st, 2010 No comments

For years now, I’ve taken to the phrase “But it must be true; I saw it on telly!”. Depending on circumstance… well, you can imagine.

You can probably also imagine how delighted I was to come across the Dan&Dan song “The Daily Mail“.

All of his video’s are clever as well as funny -fantastic ideas and brilliant execution -I’d very much recommend checking out his other work.

Read more…

Categories: Uncategorized Tags: , ,

Free and Open?

February 12th, 2009 No comments

I just came across this on the governments website, and you just have to be impressed.

Its entitled “National Insurance Numbers (NINOs): Format and Security: What to do if you suspect or discover fraud”, and in this current climate of identity theft, it kinda makes sense and its probably worth knowing what to do if you do suspect fraud.

Sadly, the only text left viewable on the page, states “This text has been withheld because of exemptions in the Freedom of Information Act 2000”.

Categories: Uncategorized Tags: , ,

February 10th, 2009 24 comments

Arguments over ‘whether you should have to pay anything at all to Micro$oft to use its on-line service` aside, I found myself needing to buy and xBoX360 Live Gold membership (for the bf).
I decided there is no point getting 3 months for half the price of 12, and I didn’t fancy walking down to the BlockBuster’s Video to pay over the odds.
I didn’t want to wait for delivery either, its a pain in the ass and I don’t trust the post. I don’t want to have to pay more for the sake of a piece of cardboard.
So after a little googling I payed £29.99 for a 12+1 Gold subscription to be “instantly emailed to me” via

Read more…

DHTML Lemmings

January 24th, 2009 No comments
Screenshot of SHTML Lemmings

Lemmings written completely in DHTML, so thats static HTML and JavaScript. No flash here. -very excellent 😀

In fact, I first came across this a good few years ago… I wonder ifit can be calssed as pre-2.0 Web2.0 :)

Personally I recommend polaying it with firebug running, so you can watch the source change :)

Hello WordPress World

August 14th, 2008 No comments

I feel a little queezy. Possibly more than a little -throat infection and blocked nose, felt like I was coming down with flu when I finally crashed last night…

It might have more to do with the fact I’ve started blogging again. -Ironically, at this point the spell-check points out that blogging is spelt incorrectly, and did I in fact mean “logging, bogging, slogging, clogging or flogging”. Apparently I’ve left it in thesaurus mode.

And I’m using WordPress. I’ve run out of excuses, it Just WorksTM (ok, mostly just works, superscript is a pita) so I’m no longer pissing about with server configurations or trying to write my own CMS in perl or any of that shit, so I get to start blogging.

If you don’t like what you see here, then you’re probably in the wrong place.

Categories: Random Blogging, Uncategorized Tags: