Backtrack:  
 
showing posts tagged with 'computer'
by lunarg on December 28th 2007, at 21:46

For all nVIDIA users, I suggest installing the hotfixes recommended by nVIDIA: link.

If you have SLI, first install KB936710 (that's hotfix 2 on the nVIDIA page).

Most importantly, install KB940105 (hotfix 1).

And finally, there are KB938194 (hotfix 3), and KB938979 (hotfix 4).

by lunarg on December 28th 2007, at 17:35
This article contains some notes about the latest 7-12 ATI linux drivers. Biggest change in versions after 8.40 (aside of the new versioning scheme), is the support for Composite and AIGLX extensions, and the supposedly improved 3D performance. Unfortunately for some, support is currently limited to newer Radeon cards only.
Installation on my X700 was not entirely straight-forward, though.

Installation took place on my laptop which has a X700 on-board, but the driver only worked properly after some tweaking of xorg.conf...

Since I'm using Gentoo, installation of the latest driver was fairly simple:

ACCEPT_KEYWORDS="~amd64" emerge -u ati-drivers

At time of writing, this would in  ...
by lunarg on November 11th 2007, at 20:24
A Terminal Server can be put in two modes:

execute mode: this is the default mode. In this mode, users can log in the TS and run applications.

install mode: putting a server in this mode will notify the TS of changes in the system when installing software. This is important, because otherwise software would fail to properly get installed, and there would be all kinds of ugliness going on.

In Windows 2003, a server should automatically be put in to install mode if your installation software has setup, or install in their file name. In Windows 2000, you have to put the server in the correct mode, by installing software using Add/remove programs in the Windows control panel. Note that in Win  ...
by lunarg on November 11th 2007, at 19:46
When running Photoshop CS2 on a Windows 2003 with Terminal Server, regular users cannot start Photoshop CS2. If they try, the following error is displayed:

Quote
An error has been detected with a required application library and the product cannot continue. Please reinstall the application

However, when running with Administrator privileges, there is no problem.

CS2 requires the SeCreateGlobalPrivilege privilege. By default, regular domain users don't have this privilege, and thus, CS2 doesn't work.

Assign the required privilege to the users. Normally, assigning this privilege to trusted users should not give any security problems. I do suggest creating a new security group and assign th  ...
by lunarg on November 6th 2007, at 22:57
The trouble with PSTN lines is that the CID has to be transmitted in-band, and there are more than one standard in doing this. On top of that, there are small differences between the various Telcos on the planet. And finally, to make things worse, documentation about it, is sparse and scattered at best.

The settings displayed usually go in /etc/asterisk/zapata.conf (either directly, or by inclusion).

How CID is handled is defined by the following variables:

cidsignalling: tells how the CID signalling occurs, can be bellcore (mostly US hardware), v23, or dtmf.

cidstart: specifies how the start of the CID transmission is indicated. Can be polarity (the polarity on the wire is swit  ...
by lunarg on November 5th 2007, at 23:01
After installing Microsoft .NET Framework 2.0 on a Windows 2000 Server, I got a flood of Event ID 1008 in the Application system log. These log entries complain about performance counters not being able to be properly initialized.



First, try running these two commands sequentially from an NT console:

winmgmt /clearadapwinmgmt /resyncperf

Because it didn't work for me, I worked around the issue by disabling the performance counter for the particular ASP.NET services. For this, you need to download an application of the Windows 2000 Resource Kit Tools for administrative tasks, called Extensible Performance Counter List (exctrlst.exe).

After downloading (and installing) the tool, start it  ...
by lunarg on November 5th 2007, at 22:16
Had this issue with one of my clients: he was unable to open spreadsheets from his desktop or from his Windows Explorer. Double-clicking on the file opens a new, empty Excel session, and an error message is displayed.
After a quick search on the Microsoft support site, I found a solution.

When attempting to open an Excel spreadsheet from the desktop or from Windows Explorer (or any other program), a new, empty Excel session is started, and an error message is shown:

Quote
Cannot find the file path (or one of its components). Make sure the path and filename are correct and that all required libraries are available.

or

Quote
Windows cannot find FilePathFileName, Make sure you typed the nam  ...
by lunarg on November 5th 2007, at 16:48
Got a curious error during the merge of the latest VirtualBox ebuild for Gentoo:
it fails with a die:

Quote
kmk failed

It took a bit, but looking around the output gave some indication of a problem with one or more dependencies. Looking around the Gentoo Forum, I came across this thread, which had the proper solution.

The error, more in full, is attached.
A bit more to the top of the error (sorry, but couldn't capture the right line as the new merge was already busy), it complains about Xmd.h, and GLXext.h. In that way, the solution provided by the forum thread I mentioned earlier, makes sense. In my case, issuing the following commands did the trick:

mikuru ~ # eselect opengl set xorg-  ...
by lunarg on October 1st 2007, at 22:06
Because of my move, I had need of a media PC system, which allowed me to watch TV, record from TV, watch DVDs, listen to music and more. Buying a pc with Windows Media Center was not an option: linux has very wonderful applications and utilities to build such a sytem.
This guide is not a real how-to, but rather the steps I took to get things running, along with descriptions and solutions to caveats and problems I encountered. Since my Media PC is still in progress of being build and configured, this guide is also a work in progress. Comments on any of the steps are, of course, very welcome.

This is a work in progress...

A PC running Gentoo, with several applications to:

Watch TV, record f  ...
by lunarg on September 30th 2007, at 21:54
Update: AMD and Microsoft have released patches to fix the TSC-drift problem. Read page 2 to find out where to get them.

The latest and newest in CPU technology is dual-core: this means having two CPUs on a single chip. Like real multi-processor (SMP), this greatly enhances processing power, among other benefits.
Unfortunately, there's a downside, called TSC-drift, causing serious trouble with certain applications and games.


random crashes: random crashes, which get worse the longer the computer is running. An application with logging usually complains about differences in "times".

sluggish performance: the performance of the application/game becomes very sluggish  ...
by lunarg on September 16th 2007, at 17:38
Realtek has a new gigabit chipset which is appearing on various motherboards, including the Asus M2A-VM board. At the time of writing (with kernel 2.6.22 being the default), this driver is not yet included in the default kernel tree.

Thanks to Realtek's wonderful support for linux, they have the driver source for various Unix/Linux flavours available for download on their website.

Download the driver from the official download site.

First, have your dependencies in order by having the following:

A sane build environment (contains gcc, make, etc.)

The kernel tree and/or headers of your current kernel.

Root access for installing and using the driver (of course).

Once all that is in orde  ...
by lunarg on September 11th 2007, at 17:48

As follow up on the post of a few weeks back, this little benchmark result:

http://tastic.brillig.org/~jwb/zfs-xfs-ext4.html

It clearly states what everybody is thinking: ZFS is definitely not the better one... Now that that's been said, we can get on with our lives again... ;-)

by lunarg on September 9th 2007, at 20:59
In light of my media guide (which is still under heavy development), I did a bit of experimenting with MythTV.
The result of my experiment is pretty nifty: I now have the ability to watch TV on my laptop (without a TV tuner), as long as I have a connection to my media PC (where the tuner is). Want to know more? Read on then...

As you know (or perhaps not yet), MythTV consists of two parts: a backend server (which does all the work: managing records, accessing hardware and so on), and a frontend client (basically controls the backend server, look up recordings, watch actual TV, etc.).
These two parts communicates with each other using the IP stack. While (according to the Gentoo ebuild main  ...
by lunarg on September 3rd 2007, at 22:37
Finally, it's ready: my very new, special-ordered media pc. I mainly bought it to replace my (rather noisy) old pc with it, and to have a real looking PVR thingy.
Want to see pictures? Of course you do...

Half-front-side view, along with the big, silent fans.



The rear of the case, displaying HDMI, Audigy and TV tuner, among other things.



The internals of the case, displaying the various system components, like in any other system, really.



The line up: from bottoms up, the media pc, the radio tuner and amp, the cd player, and my MP3 player's at the top.



The system will be running Gentoo Linux, with MythTV, of course. Aside of the media thingy, it will host various files and stuff  ...
by lunarg on August 28th 2007, at 12:10
Gentoo users that do regular updates, probably already ran into this issue before: Gentoo has pushed libexpat-2 to stable, effectively breaking all applications that depend upon it because of a missing library. While this is quite normal behaviour (the two versions of libexpat are not entirely compatible), it is mostly a very annoying thing, as it is not easy to find out which packages depend on it. Lucky, the Gentoo Forums provided me with a good solution.

Normally, in such a scenario, one would use revdep-rebuild to solve these issues, but, as seen on the forums, it more than occassionally results in havok on user's systems. Since I did not want to risk reinstalling my system altogether,   ...
by lunarg on August 23rd 2007, at 21:09
Had a bit of a problem with re-emerging app-arch/rpm-4.4.6-r3 after an update of libexpat: the emerge failed with a whole bunch of compiler messages.
After a quick search on Gentoo Forums, I found a post about someone who has had the same problem, and was able to solve it.

About halfway the merge, the compile failed. At the beginning of a long list, I found these error messages:

Quote
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include/beecrypt -I../lua/include -I../lua/local -I../misc -march=pentium4 -O3 -pipe -fomit-frame-pointer -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT rpmdav.lo -MD   ...
by lunarg on August 23rd 2007, at 20:58
Information about nvidia in Gentoo can be found here.

http://www.gentoo.org/doc/en/nvidia-guide.xml

It goes more in detail about which driver versions are suitable for which nvidia cards; quite handy, since they kicked out nvidia-legacy-drivers.

If you don't want to read the article, here's the short story about the driver version:

Geforce FX, 6, 7 and 8: use the newest driver (100.xx and up)

Geforce 3 and 4: max 96.xx

TNT, TNT2, Geforce and Geforce 2: max 71.xx

In order to properly install the correct version, it is recommended to mask the packages like so:

Add the following to /etc/portage/package.mask:

>=x11-drivers/nvidia-drivers-1.0.9700

Add the following to /etc/portage/pa  ...
by lunarg on August 20th 2007, at 22:12
Sun has released benchmark reports about Solaris' ZFS vs. Red Hat ext3:

Download the benchmark report here.

Sun claims for ZFS to be a revolutionary file system, and proves it by their well-documented, and objective (but not really) benchmark report, found at the link above.

ZFS has pretty much overall gain, when compared to ext3, which was to be expected.Of course, what Sun conveniently did not mention, was the alternative of filesystems on RH (or any other linux for that matter).
Are we really impressed about ZFS outperforming ext3? I for one am not, and most sysadmins know that ext3 is not the most performant filesystem in existence. If Sun really wants to show off, they would've taken  ...
by lunarg on August 17th 2007, at 15:20
This little article contains some useful tips and tricks about using tar.

When your starting point for the tar is situated at /, you may already have noticed the warning output from it:

Quote
tar: Removing leading `/' from member names

In case of an automated backup, where the tar is executed using cron, this warning quickly becomes annoying: most systems mail the output of a cron job to a specified email address (and in any normal scenario, this is configured properly to know whether a backup succeeds or fails). If each time you get a mail with only this warning (the rest of the backup was succesfully completed), one might actually lean towards suffering from a nervous breakdown (if only  ...
showing posts tagged with 'computer'