Primal Cortex’s Weblog

Amnesia sets in…

Archive for May, 2009

Linux and ATI drivers – Hangs on screensaver

Posted by primalcortex on May 20, 2009

I’ve an ATI graphics card. When going away for a while, Kubuntu could lock up with a black screen when the powersave mode of the graphics card/monitor kicked in.

This is a known, as far as I know issue with ATI drivers.

I could reboot the system cleanly throught the magic keys ALT- BUSIER mnemonic, but it was pretty annoying. The XOrg log show something like: [fglrx] ASIC hang happened.

Doing this, sudo aticonfig –auto-powerstates=off –effective=startup solved the issue so far..

Posted in Linux | Tagged: , | Leave a Comment »

Windows 7 – Um substituto: Mais seguro, mais rápido, e gratuito

Posted by primalcortex on May 19, 2009

O Windows Vista já foi rei, mas agora tem um substituto: O Windows 7. Segundo parece resolve todos os problemas que há/havia no Vista… Apesar do Windows Vista ser um flop, é preciso compreender que só falhando é que se aprende alguma coisa, pelo que o falhanço do Vista pode ter impactos positivos no Windows 7 e que segundo o que anda para aí na Net, é o que parece…

No entanto, o Windows continua a ser um sistema operativo cujo objectivo base é um negócio e por isso alguém tem de pagar o esforço dessas melhorias. Quem pagaou o XP, o Vista e outro software MS terá agora de pagar o Windows 7…

Assim se vamos mudar, porque não mudar de vez? É certo que é preciso mudar de forma de pensar, de trabalhar e mesmo de usar um computador. Pessoas que encontram dificuldades no Windows, perdoam e esquecem essas dificuldades, mas noutros sistemas operativos alternativos já não….

Sistemas Windows com vírus, cavalos de troia, contas de home banking acedidas indevidamente, insegurança nativa que facilita a vida ao utilizador, mas torna o sistema inseguro, etc, são o dia a dia destes utilizadores. No entanto não desistem e continuam a usar o Windows porque pensam que não há alternativa…

No fim chega tudo a um ponto que se tem de perguntar:

- Confia no Windows para manter a sua informação confidencial e longe de acessos indevidos?

- Confia no Internet Explorer para aceder às suas contas de home banking?

- Num sistema fechado, como sabe que está seguro? É como viver numa casa onde toda a manutenção é feita por pessoal que não se conhece e não se vê…

Assim se vai experimentar o Windows 7, que tem uma licença gratuita até Junho de 2010, porque não experimenta o Kubuntu 9.04 que tem licença gratuita, até onde você quiser?

Experimentar não custa, e verá que algumas ideias do Windows 7, até foram baseadas onde realmente acontece a inovação: o KDE 4.2.

Posted in 1 | Leave a Comment »

E-Mail problems: a detective story

Posted by primalcortex on May 15, 2009

Few weeks ago, the company where I work for changed the internet provider. Faster access, lower price, you know the drill.

But problems started to appear, namely DNS issues, that took some time to solve, but at the end it worked ok.

Anyway, complains started to appear that people have send e-mails to us, and they were never answered or received…

A quick check on the Postfix logs, showed that those customers where always disconnected:

The smtp transaction was something like:

connect from smtp.domain.com[X.Y.Z.L]
lost connection after DATA (0 bytes) from smtp.domain.com[X.Y.Z.L]
disconnect from smtp.domain.com[X.Y.Z.L]

So It looked like those customer servers connected and disconnected after a few seconds.

A quick search on Google (:-) ) showed that it might be a Firewall issue, a MTU issue or a Postfix bug (!).

We’ve checked, and double checked the firewall. It was ok, and anyway it wouldn’t explain why other server had no problem connecting and transfering mail.

The MTU issue: Ok, we’ve changed the Internet Provider, but all our firewall interfaces are on Ethernet. Anyway we’ve changed the MTU to 1492: ifconfig eth0 mtu 1492. It didn’t solved.Back to square zero.

Postfix bug: It has been working fine on the last 6 months, so very strange… We’ve disable PostGrey (the GLD Daemon). Not a greylisting issue. Bummer.

So we enabled the Postfix debuging features by adding the line: debug_peer_list = smtp.domain.com ( instructions here: http://www.postfix.org/DEBUG_README.html ) and waited for a connection.

Anyway to cut a long story short, we’ve found out that all SMTP transaction was OK until the DATA portion, where it looked that the other e-mail server disconnected. What we did see was that we had a long list o RBL’s to check, and it was taking to long to check every one of them, so it looked like the other e-mail server disconnected after a time-out period even during the email transfer process. I think that is a bug on the other peer, but the issue was ours…

So we’ve cut to half our RBL list, only keeping NJABL, Spamcop and Spamhaus lists, and the servers with problems started to connect and transfer right away the stacked queued messages to us.

Moral of the story: The longer the RBL list the longer the time to process incoming data. Some email servers will just “barf” at these long times.

Right now: Zero problems.

Posted in Linux | Tagged: , , | Leave a Comment »

SD cards…

Posted by primalcortex on May 14, 2009

Ok. It’s official: TakeMs cards are a piece of junk. And Media Markt sold also this piece of junk.

Next time I’ll spend my money on some know brand…

The history? Canon Legria HF-200 can only recognize 1GB of a 4GB. By the way this piece of junk is Class 6 card…

My Nikon D80 can use the card with the full 4GB.

Did some tests with with fdisk and:

TakeMS:

Disk /dev/sde1: 985 MB, 985591296 bytes
122 heads, 62 sectors/track, 254 cylinders
Units = cylinders of 7564 * 512 = 3872768 bytes
Disk identifier: 0×00000000

San Disk Ultra II:
Disk /dev/sde1: 3960 MB, 3960995840 bytes
122 heads, 62 sectors/track, 1022 cylinders
Units = cylinders of 7564 * 512 = 3872768 bytes

See the difference?

So my short review: for photo it might be ok. For sd card video cameras, forget it.

Posted in All about all | Leave a Comment »

Amalia today – Fado taken to a new level

Posted by primalcortex on May 14, 2009

I’m not a big fan of Fado, despite being PT… :, but there are great musics and singers of this Portuguese musical genre.

Anyway, sometimes something appears that rocks your world:

Fernando Ribeiro of  Moonspell (yeahh!), the lead singer of the most famous death metal, gothic metal portuguese band and two elements of the The Gift band (Electronic,Pop), the vocal singer Sónia Tavares and Nuno Gonçalves joined and produced an amazing tribute to Amalia the most world wide known Fado Singer.

It blows you away:

And if you never heard of Moonspell:

And Gift:

Cool? :-)

Posted in All about all | Tagged: , , , , , | Leave a Comment »