Archivio mensile:novembre 2010

Git server with FreeBSD, nginx and cgit

Well, I had to put up a git server at work.

So I wrote three html pages:

Git server setup with FreeBSD, nginx and cgit (broken link)

Git client setup with FreeBSD or Linux (broken link)

Git client setup on Window$. Pure $hit with TortoiseGIT (broken link)

Git is fun, actually. I even made a github repository, but I must admit I don’t code much: I tried to start developing on ioquake3 code… not much has been done so far.

Well, if you’re interested… My github

Contrassegnato da tag , , , ,

NVidia on Linux: IRQ error «nobody cared»

Well, I’ve got a marvellous nVidia 9800 GTX. I run KDE4 with KWin effects enabled.

It has happened many times that after some random hours of usage overall KDE performance dropped to the floor: moving windows was nearly impossible, desktop effects stopped working, writing in the Konsole was slow…

But the system was not unresponsive: SSH (and everything not related to the X server) was working as usual.

Since I was too lazy to investigate it, I simply restarted the X server (or closed and reopened my KDE session) when it happened.

Some days ago I took a look at dmesg | tail and found this string:

kernel: irq 16: nobody cared (try booting with the "irqpoll" option)

followed by a (stack?) trace.

So it was an IRQ problem. Looking at /proc/interrupts revealed that the interrupt #16 was shared between my nvidia card, a pata_jmicron thingy and an usb port.

After googling a little I found that you can (actually you should) put the nvidia card on MSI system (see this wikipedia entry).

You simply tell the nVidia module (loaded at startup) to use MSI rather than old pci irqs, by writing a file in /etc/modprobe.d/:

# nano /etc/modprobe.d/MSIfixes.conf
options nvidia NVreg_EnableMSI=1

Then you should unload the module and reload it (well, it’s easier to do a reboot).

I haven’t had that annoying freeze issue ever since I put MSI in the game.

On a side note, hda_intel module supports MSI too:

options snd_hda_intel enable_msi=1

Powered by Blogilo

Contrassegnato da tag , , , ,