Skip to content

Installing nVidia linux drivers in a xen enabled kernel

I have had a CentOS system for a while that is configured to be my mythtv system, however since it has so much resources I first ran a few VMWare servers on it, but being a young FOSS adept I decided to see if I could run xen on it as well.

One of the bottlenecks I stumbled upon was the fact that the NVidia linux kernel drivers do not run under a xen kernel, at least not with a little tweaking. I was succesful in compiling and loading them for the first time in 2008 following the advice found in the article Running Binary nVidia Drivers under Xen Host at legroom.net. My first successful result can be seen there as well.

Until now I am still able to able to do this trick on the latest CentOS kernel (2.6.18-128.2.1.el5xen) and one of the latest nVidia drivers (185.18.29). Continue reading ›

Tagged , , , ,

smeserver-subversion-1.4-5 released

As soon as mirrors sync you will find the lastest release of smeserver-subversion in the SME Contribs repository.

The following bugs are fixed in smeserver-subversion-1.4-5:

  • bug 3995: Automatically determine MIME type always off
  • bug 3996: Modifying repository drops access privileges
  • bug 3997: Modifying repository sets GroupsRead value for GroupsRead as well as GroupsWrite property

Open issues:

  • bug 2967: Allow to select advertised (sub)domain
  • bug 3698: Description field sanity check function incorrect

Please report all wishes, errors or bugs to the bugtracker in the SME Contribs category against the smeserver-subversion.

Tagged , , , , , , , ,

smeserver-subversion-1.4-4 released

As soon as mirrors sync you will find the lastest release of smeserver-subversion in the SME Contribs repository.

The following bugs are fixed in smeserver-subversion-1.4-4:

  • bug 3079: Removed skel folder should have been obsoleted since 1.2-8
  • bug 3971: Remove references to modAuthzSVN
  • bug 3977: Remove <font> tag from locale files
  • bug 3981: Adder hooks in user/group-delete events to update subversion repository access list(s)
  • bug 3982: Removed unreferenced and dangerous event subversion-delete
  • bug 3983: Improve sanity check for repository-delete event

The following new features are available in smeserver-subversion-1.4-4:

  • bug 3811: Add translations for all supported base languages
  • bug 3814: Translation of smeserver-subversion panel in spanish (es)
  • bug 3964: Allow read and/or write access to a repository
  • bug 3976: Allow anonymous read and/or write access to a repository

Open issues:

  • bug 2967: Allow to select advertised (sub)domain
  • bug 3698: Description field sanity check function incorrect

Please report all wishes, errors or bugs to the bugtracker in the SME Contribs category against the smeserver-subversion.

Tagged , , , , , , , , ,

smeserver-subversion-1.3-5 released

As soon as mirrors sync you will find the lastest release of smeserver-subversion in the SME Contribs repository.

The following bugs are fixed in smeserver-subversion-1.3-5:

  • bug 3694: DESCRIPTION_HAS_INVALID_CHARS is not translated in en-us locale
  • bug 3698: (Temporarily) disabled sanity check on repository description

The following new features are available in smeserver-subversion-1.3-5:

Open issues:

  • bug 3810: (Updates to the) French (fr) translation
  • bug 3814: Spanish translation
  • bug 2967: Allow to select advertised (sub)domain

Please report all wishes, errors or bugs to the bugtracker in the SME Contribs category against the smeserver-subversion.

Tagged , , , , , , , , ,

smeserver-subversion 1.2-9 released

Since the new SME Contribs repository is in place (as of smeserver-yum-1.2.0-41) and the latest package providing it to SME Servers automatically is pushed to the mirrors I moved my package to the new repository. This will also decommission my repository as there is a better more stable location to provide my contrib.

The latest version is smeserver-subversion-1.2-9 and provides a bug fix as well.

  • bug 3008: Description doesn’t allow characters with accents

To install get SME Server shell access as root user on your SME Server and install this command:

yum install smeserver-subversion --enablerpo=smecontribs

Tagged , , , , , , , , ,

Ever doubted your existence… they do!

Ever doubted your existence… they do! A very nice practical joke with a ‘mirror’.

Tagged ,

Old motion pictures of Dutch cities

Today I discovered some old motion pictures of dutch towns in the nineteentwenties on YouTube, amongst them is one of my birthtown, Kampen.

There is also one of the current city I live in, Maastricht. Both were shot in 1923 and are taken from the Rijksfilmarchief (National Film Archive).

Tagged , , ,

Installing Adobe PPD drivers on SME Server

First download the Adobe Postscript drivers for Windows from the website of Adobe.

Extract the executable using winrar or another tool than can extract zipped executables.

Copy the files in the WinXP folder to your server and remember where your put them. I created the following directory (/usr/share/cups/drivers/) and put them there.
After you have done that you might have to create a Samba administrator user;

When you have created your Samba administrator user you can copy the files using a command like this where you fill in the correct path and the username and password of your Samba administrator user:

smbclient //localhost/print$ -N -U'username%password' -c \ 
'mkdir W32X86; \ 
put /usr/share/cups/drivers/DEFPRTR2.PPD W32X86/DEFPRTR2.PPD; \ 
put /usr/share/cups/drivers/PS5UI.DLL W32X86/PS5UI.DLL; \ 
put /usr/share/cups/drivers/PSCRIPT5.DLL W32X86/PSCRIPT5.DLL; \ 
put /usr/share/cups/drivers/PSCRIPT.HLP W32X86/PSCRIPT.HLP'

After pressing return it should copy the drivers to the Samba print$ share, which looks something like this:

Domain=[SIMPSONS] OS=[Unix] Server=[Samba 3.0.10-1.4E.12.2]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /usr/share/cups/drivers/DEFPRTR2.PPD as
\W32X86/DEFPRTR2.PPD (286.4 kb/s) (average 286.4 kb/s)
putting file /usr/share/cups/drivers/PS5UI.DLL as \W32X86/PS5UI.DLL
(3315.8 kb/s) (average 1656.9 kb/s)
putting file /usr/share/cups/drivers/PSCRIPT5.DLL as
\W32X86/PSCRIPT5.DLL (3933.6 kb/s) (average 2962.8 kb/s)
putting file /usr/share/cups/drivers/PSCRIPT.HLP as \W32X86/PSCRIPT.HLP
(1210.8 kb/s) (average 2794.1 kb/s)

After that we have to add the copied files to the driver database of Samba. This can be done with the following command (again fill in your username and password for your Samba administrator user).

rpcclient localhost -N -U'username%password' -c 'adddriver "Windows NT x86" \ 
"AdobePPD:PSCRIPT5.DLL:DEFPRTR2.PPD:PS5UI.DLL:PSCRIPT.HLP:NULL:RAW:NULL"'

After hitting return this should put the following message on your screen:

Printer Driver AdobePPD successfully installed.

Now we still need to define the driver for our PDF printer, which I created using the smeserver-cups contrib. This can be done with the following command (again supplying the username and password of your Samba administrator):

rpcclient localhost -N -U'username%password' -c 'setdriver PDF AdobePPD'

If succesfull this should output:

Succesfully set PDF to driver AdobePPD.

Now navigate to your server and right click on the printer. Choose the Connect option and the drivers should now be automatically installed for this printer.

References:

  1. Novell’s Cool Solutions: How to Configure Automatic Printer Driver Download by Integrating CUPS and SAMBA
  2. Adobe Postscript drivers for Windows
Tagged , , , , ,

Smeserver-subversion 1.2-8 released

Yesterday I released a new version of my subversion contrib for SME Server. This release fixes two bugs:

  • bug 3079: UUID equal in all repositories
  • bug 3034: Subversion translation: french

The contrib can be installed from the SME dev repository, for more details see the Subversion page in the SME Server wiki, or take a look at this article.

Tagged , , , , , , , , ,

Overriding the perl shebang line for Apache on Windows

Apache can execute perl (or other cgi like) scripts even on Windows, but when you transfer files tested on a Unix environment to a Windows based installation you will have to modify every first line of each script as this contains the pointer to perl on the system, the so-called shebang line. I recently installed Bugzilla and encountered the following errors in the browser screen:

Server error!<br />
The server encountered an internal error and was unable to complete your request.<br />
Error message: couldn't create child process:<br />
720003: relogin.cgi<br />
If you think this is a server error, please contact the webmaster.<br />
Error 500

and in the Apache log files:

[Tue Mar 06 12:54:42 2007] [error] [client 127.0.0.1] (OS 3)The system cannot find the path specified.  : couldn't create child process: 720003: relogin.cgi, referer: http://localhost/bugs/
[Tue Mar 06 12:54:42 2007] [error] [client 127.0.0.1] (OS 3)The system cannot find the path specified.  : couldn't spawn child process: C:/Program Files/bugzilla-2.22.1/relogin.cgi, referer: http://localhost/bugs/

However there is a workaround, which will make live a lot easier for you.

If you program your scripts to use the default shebang line for unix and linux like systems:

#! /usr/bin/perl -wT

you can use them without modification on Windows based systems if you make sure you have the following registry key implemented on your Windows server, but make sure the last line points to the actual location of the perl executable.

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.cgi]
[HKEY_CLASSES_ROOT\.cgi\Shell]
[HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI]
[HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command]
@="C:\\Perl\\bin\\perl.exe -T"

Add the above contents to a plain text file and save it using a filename with the extension .reg. After saving double click on it and confirm that you want it added to the registry. After that your Apache should be able to execute perl scripts without complaining, or you could download the registry file here.

Tagged , , , , , , ,