showing all posts
by lunarg on June 28th 2007, at 15:34
Did a test on two DL380 G5 controllers to check out the difference between having a battery or not on a P400 SAS RAID controller. The results are remarkable, to say the least.

Both machines are fairly identical when looking at disk configuration: both have a P400 SAS controller with an equal amount of storage, but srv1 has 512MB with battery, srv2 has 256MB without battery.

I ran a dd test of a file, and this is the output:

srv1:~# dd if=/dev/zero of=./dump.dump bs=1k count=81920008192000+0 records in8192000+0 records out8388608000 bytes (8.4 GB) copied, 48.282 seconds, 174 MB/s

srv2:~# dd if=/dev/zero of=./dump.dump bs=1k count=51200005120000+0 records in5120000+0 recor  ...
by lunarg on June 24th 2007, at 20:24

A friend of mine had this problem with her camera storage thingy. If you're a MacOSX user, you might want to read up on the symptoms and solution on her blog.
Extra thanks go to Heidi for this.

by lunarg on June 11th 2007, at 11:37
In linux, punching in uptime provides you with how long the system was up without a reboot. But how to do this in Windows? There is no real indication to be found anywhere. Here's how.

The uptime can be found using the command prompt.

Do a start -> Run, punch in cmd and hit Enter (like you normally would).
Type in the command:

net statistics server

(and hit Enter).
Find the line that starts with Statistics since...: it will tell the time the server was up from.

Note that you could shorten the commands like so:

net stats srv

The above has been tested with: Windows 2000 (all versions), Windows XP (all versions), and Windows 2003 (all versions). It will probably work on Vista as well.
by lunarg on May 21st 2007, at 17:59

Running OpenVPN on Vista, works, but requires some workarounds.
Current list of issues:

  • connection gets established, but route addition fails with route addition failed usingCreateIpForwardEntry

Read further for the solutions...

connection gets established, but route addition fails with route addition failed usingCreateIpForwardEntry

This problem always occurs on a Vista. What happens is that while the connection does get established, the routes are not being added properly, because of an API change in Vista.
To circumvent the issue, add this line to your OpenVPN config file:

route-method exe

This way, the route addition is called directly using the commandline utility.

by lunarg on May 17th 2007, at 17:32
While at the surface, it resembles NGE a bit, the comparison stops at the looks of two of the main characters: set in a near future Tokyo, where crime is high, and the population suffers from threads of violence and oppression, not only by the various yakuza syndicates, but also the new law enforcement, whose totalitary reign scares all. However, there are changes at hand, in the form of four teenage girls. At first, hired guns for a respectable syndicate, their allegiance changes when they uncover a secret conspiracy, going all the way up to law enforcement...
A fast-paced, mecha action anime, with cute main characters: what more do you want?

Working title: Bakuretsu Tenshi (USA: Burst Ang  ...
by lunarg on May 17th 2007, at 15:24
Because of (Belgian) providers limiting SMTP (port 25) traffic to their own servers, makes it necessary for us (as an 3rd party ISP) to allow our customers to use our own mailserver for all outgoing mail. To circumvent this limitation, we've configured the mailserver to listen on port 26 as well.

For our customers with only a few mail clients (so no local mailserver), this is usually not a problem. A quick change of the SMTP port, solves their issues. For people that have a catch-all mailbox (and a local mailserver), the mailserver itself usually allows the change.

Of course, some of our clients have Exchange servers, and there, the change was not that obvious.
After a bit of a search, we'  ...
by lunarg on May 14th 2007, at 21:10

It's a bit of an old post, but ran into this problem more than once.
If you get the message:

The system DLL user32.dll was relocated in memory. The application will not run properly. The relocation occurred because the DLL C:\Windows\System32\Hhctrl.ocx occupied an address range reserved for Windows system DLLs. The vendor supplying the DLL should be contacted for a new DLL.

A hot-fix can be downloaded at:

by lunarg on May 7th 2007, at 11:09
It would've been too easy if the solution (read my previous post about this topic), would've just worked. With the source of the HP OpenIPMI package available (it seems to be included in the download), I thought it would be snap to get it compiled for our Etch kernel. I was wrong...

Downloading the .deb for sarge doesn't work on Etch right away because of a kernel version difference. Moreover, while the source of the OpenIPMI driver has been included, it does fit neatly into the kernel source, but the compiler bombs out with this:

  CC [M]  drivers/char/ipmi/ipmi_msghandler.odrivers/char/ipmi/ipmi_msghandler.c: In function 'ipmi_smi_watcher_register':drivers/char/  ...
by lunarg on May 4th 2007, at 15:05
After a call to HP, there seems to be a solution present.
Apparently it's a known issue on these boxes, when one is using the open source IPMI, instead of the HP OpenIPMI.

The resolution was to install HP OpenIPMI. The full description is below:

On an HP ProLiant ML350 G5 server configured with a single processor, if
the HP System Health Application and Insight Management Agents for Linux
are installed without the HP OpenIPMI (hp-OpenIPMI) device driver
loaded, a console message is displayed indicating that there is a
problem with the system fan and that the server will shut down in 60
seconds. After 60 seconds has passed, the server reboots. When this
occurs, the followi  ...
by lunarg on May 3rd 2007, at 16:01
Some time ago, Debian has finally been adopted officially by HP as a supported Operating System. They even have released packages for Sarge for it.
Of course, in the meantime, Etch is the new stable of Debian, thus, I had to revert back to the old tweaking ways, described at On the various DL380 G5's I've worked with, this went very smoothly, and it runs perfectly. On the ML350 G5, it's something else...

The machine is a new ML350 G5, with a dual-core Xeon 5120. The system runs Etch AMD64 (stable), and everything seems to be in order. Installation of the agents went flawlessly either (with a bit of script tweaking to make up for the version difference).

The   ...
by lunarg on April 29th 2007, at 23:45
Lara Croft is once again back, and better before.
After the gloomy story of TRAOD (aka TR6), she returns to a more classic setting and content, while renewing the gameplay.

Title: Tomb Raider Legend (Tomb Raider 7)

Release date: April 2006

Developed by: Crystal Dynamics

Published by: Eidos

Genre: 3rd person 3D action adventure


At the age of 9, Lara Croft survived a plane crash in the Himalayas. Unfortunately, her mother did not. On her own, Lara managed a 10-day hike from the crash site to Kathmandu.
The rest of her childhood, she stayed under the care of her father Richard Croft, count of Abbingdon and archeologist. When Lara was 18, her father die  ...
by lunarg on April 29th 2007, at 22:19
The continuation of Half-Life 2 is here... Find out what happened after the events of Half-Life 2. A must-have for all Half-Life fans...

Title: Half-Life 2: Episode One (aka: Half-Life Aftermath)

Release date: June 2006

Developed by: Valve

Published by: Valve

Genre: first person shooter


Half-Life 2, already been considered by many organization and reviewers as the best fps, is been continued by episodic releases. The first one, episode one, takes place right after the events of the original Half-Life 2, where the Citadel's portal has been destroyed, and the G-man (as we all came to know him) wants to return Gordon to the eternal void to wait in stas  ...
by lunarg on April 29th 2007, at 20:52
Probably one of the most well-known series in the anime world, NGE was the inspiration for many other anime series. An apparent simple story will unveil so much more.
A thouroughly deviced story, along with comedy, in-depth characters, and fairly mech action made this anime one of the most discussed ever.

Working title: Shinseiki Evangelion (English: Neon Genesis Evangelion

Alternative title(s): Evangelion, NGE, SSE, Eva

Release date: 1995-1996

Origin: Japan

Language: OV: Japanese

Runtime: 26 eps of approx. 23min

Genre: Mecha, Action, Dementia

Produced by: Gainax (broadcast on TV Tokyo)

Directed by: Koichi Ohata


2015 AD. The world as we   ...
by lunarg on April 29th 2007, at 19:47
Fraps is a program for Windows which allows one to take screenshots and record video from DirectDraw, Direct3D and OpenGL applications. It can also display the current framerate in 3D games, whenever, wherever.

I got to know Fraps when a friend of mine was looking for in-game videos to use in her video presentation for school. Another friend recommended Fraps.

That's the phrase to describe it.
Fraps is small and simple. It hasn't got any special advanced features. Only the basic things are included, which I find it to my liking: you don't need to study a 500-page manual before you can use Fraps; it's practically plug-n-play - in this case: install-n-play.

First of, there's the FPS counter  ...
by lunarg on April 29th 2007, at 19:46
In this article, you'll find some pointers on listening/watching to live streams with certain software applications.

MPlayer is a very good application when it comes to live streams. It supports a whole deal of protocols, including those of windows (mms://).
The only "drawback" is that MPlayer by default sets its cache to 8MB. For video over LAN, this is not really an issue, but when listening to a low bitrate audio stream on the internet, it takes a long time to fill up that cache.

The easiest way to listen to a live stream:

mplayer -cache size-in-KB "stream-url (e.g. http://)"

Be sure to set cache size to something more sane:

For low bitrate audio streams: 64 or   ...
by lunarg on April 29th 2007, at 19:40
There are two things you need:

A bootable linux LiveCD, preferrably Knoppix, but any other distro with all basic linux tools will do.

Some knowledge on how to use commandline based programs (and perhaps some knowledge with linux in general).

First, make sure to boot with your LiveCD. You won't need to boot entirely into the graphical interface.
For Knoppix, the boot: commandline would be something like:

boot: knoppix 2 lang=your-keyboard-layout vga=normal

You can leave out the vga=normal to use framebuffer instead of plain text mode. Replace your-keyboard-layout (keyboard layout) with your country code: for Belgium (azerty), this would be lang=be; for standard US (qwerty), use lang=  ...
by lunarg on April 28th 2007, at 00:46
In short: the kernel frequency is the number of interrupts (IRQs) handled by the kernel per second. Like most applications of frequency, it's also expressed at Hz (hertz).

A more sound explanation of interrupts can be found here, but it basically boils down to this: an interrupt is generated each time an event on a piece of hardware (in the most elementary way; this includes your keyboard for instance), and requires the necessary CPU time to handle that event. This is called interrupt handling.

Now, because the kernel directly interacts with all the hardware around, it's vital to have it handle interrupts; actually, it's the kernel that handles interrupts, by using the CPU.

Very simple: t  ...
by lunarg on April 28th 2007, at 00:37
If you happen to have keyboard trouble when you SSH with PuTTY to a Debian system, you might want to read on.
With trouble, I mean one or more of the following symptoms:

Numeric keypad not working, even with numlock enabled/disabled

Home/End keys not working as they should

Function keys not working as they should

Other weirdness concerning keyboard...

We've figured out a possible solution to the problem. It has been tested (and used) extensively by my and a collegue, and have found it working perfectly on Debian Woody and Debian Sarge.
It may be possible that these settings also work on other distros having similar problems. If it does, please let us know so we can add it to the article  ...
by lunarg on April 28th 2007, at 00:32
The bliss of dual core can quickly turn to a curse when you're running applications that weren't build to handle multiple CPU's.
Although one could set affinity with windows task manager, the application often goes down before one could alt-tab to set it, or sometimes, the application doesn't even start at all.

A quick search on the web has brought me on a forum thread, where they were talking about RunOnProcessorExplicit, or in short: ROPE.
ROPE is a very simple tool, that allows you to set affinity directly at the start of an application. This circumvents the need of using windows task manager and moreover, allows you to change shortcuts accordingly, so you won't have to remember to set a  ...
showing all posts
« February 2021»
« You only find out who is swimming naked when the tide goes out. »
Warren Buffett