Oct 15 2008

Macbook Pro Nvidia chip problem: solved

Once upon a time my faithful macbook pro computer decided to bite the bullet. Just after the 2008 Drupalcon conference held in Szeged (Hungary). I have bought it from the USA sometime around August, 2007. It “died” around the first days of September. Right on time, after the one year warranty has expired. Of course I was very upset because

  1. I had work to do (even if I tend to be a bit lazy)
  2. I had an other laptop, but it is quite old, and very slow (1.5ghz 1gb ram, ibm t40) with windows on it

So after looking into the issue over the internet, I have found that there are lots of people with such problems. See this google search for more information, and…

See these threads on apple’s own support forums:

There is also a google document with very detailed information from various people having the same issue. The list is quite long, at the moment more than 250 entries are there.

Before I go into my short adventure, please be assured that if you are having the same problem, then Apple now has officially admitted that the problem exists, and they are doing a repair (replacing the logic board, a USD 1000 priced heart of the laptop) free of charge, if you have bought your computer in the last 2 years (since laptops affected are made between 2007 may - 2008 sep? this is fine). This is great news, but it was only posted on the 10th of October.

› Continue reading


Oct 10 2008

OSX 10.5.x (Leopard and upper) PHP + mail() / postfix

UPDATED: 2009/April/1st (no joke)

Results of working and non-working email sending in OSX’s console logs:

logs of good and bad result

Article updated with auto-start for postfix.

My previous post might be working for some, but it stopped working for me.

I also now wholeheartedly recommend the xampp distribution for apache+php+mysql work. I am fed up with compiling shit (ie.: code) from source, patching, configuring, etc. but am much better off with making a few symlinks though, and editing php.ini files wherever I find them ;)

So, as OSX relies on postfix, we still need to go to private/etc/postfix/main.cf

Now, besides editing the myhostname line (put a domain name there that you own) concentrate on the # INTERNET OR INTRANET section, below which you will find the relayhost parameter. This is the place where you need to put your ISP’s smtp mail server address like this:

relayhost = smtp.[your-isp.com]

If you are a UPC (old: chello) user in hungary, you will find this page valuable:
http://www.upclive.hu/Gyakorlati_tudnivalok/

In particular some ISPs also check the ‘validity’ of the sending domain (yours). As usually mac’s have a [blahblah].local DNS name by default most ISPs bounce your message as it’s invalid. And the fact that you specify a valid ‘from’ address does not matter.

In such cases you should try to edit the same file as above, and find the INTERNET HSOT AND DOMAIN NAMES part. In it uncomment one myhostname line, and add your own valid domain name there like: johnrules.com or whatever you have. Yahoo would put ‘yahoo.com’ in there. If you do not have your own domain, feel free to put anything (khm. yahoo.com?) in there. It will be accepted.

 

Also if for some reason it is not enough, then allow postfix to auto-start by following this guide and getting this file. Only do this if none of the above works. The postfix daemon does not need to be running in order for emails to be sent. The sendmail command gets triggered every time a mail is to be sent and, as it uses postfix, it reads its configuration options from the above mentioned file. › Continue reading


Oct 9 2008

Mi történt eddig.

A blog nagyrészt beállt, és ez annak köszönhető, hogy az augusztusi drupalkonfról visszatérve kedves marcsám (ő a macbook pro gépem) úgy döntött nem mutatja többet felém fényesebbik arcát: ergo semmiféle képet nem lehetett belőle előhozni se a belső, se külső monitoron. Fasza. Kb. 2-3 hetes utánajárás, és telefonálgatás után egy kedves írországi úriembernek köszönhetően (az apple executive relations-tól) sikerült kiharcolnom a külföldön vásárolt, és épp aug. közepén 1 éves garanciája érvényét vesztő marcsát mégiscsak garanciálisan javíttatni (for the record: bruttó 200,000-ért vállalta volna az istyle - ők az egyetlen nemzetközi garanciaérvényesítéssel foglalkozó viszonteladó itt). Most van náluk már kb. 2 hete, de amíg két hónap alatt kihozzák, addig boldog leszek.

Az más kérdés, hogy szopás, meg minden, és emiatt kellett egy desktop gépet vennem (mer vót egy bazi nagy monitorom otthon, amin jó dolgozni, és másik laptopot egyelőre nem akarok, pláne nem óccsó szart, stb.).

A desktop gép célirányosan olyan alkatrészekből lett összerakva, ami kis helyigényű, alacsony energiafogyasztású, csendes, és rá lehet tolni hackintosh-t. Szóval mindez sikerült is, bár hangot nem tudtam neki csiszolni még, és sajnos a monitor kikapcsolása is okoz neki némi gondot (érts: bekapcs. után nem jön vissza a kép). Kb. 1-2 napi szarozás után végülis rátettem egy xp 64 bites verziót, amit épp kezdtem kb. 2 hét után megszokni, mire egy péntek este nem akart újraindulni. De nem kicsit, hanem nagyon. Backup volt, de lófaszt nem ért (acronis true image v11. de lehet nem csak az ő hibájuk. egyszer felállt a rendszer backupból, de soha többet…) így aztán végül egy véletlen mozdulattal a backup is, és az egész kóceráj elszállt. Érdekes módon a hackintosh rendszer simán felment rá.

Persze hang most sincs (illetve néha érdekes módon van hang, néha meg nincs. Úgy tűnik mintha néhány kernel extension felpakolása nagyban befolyásolná az OSX ezen döntését. Meg valami Resetting IOCatalogue… cucc is bootolásnál..), de ezzel egyelőre el tudok élni, a monitort meg nem kapcsolom ki, csak géppel együtt.

Úgy tűnik a Mac leginkább az USB-s cuccokat szereti, mert ahogy utánanáztem párezer ft-os USB hangkártyákkal már hajlandó menni (protokoll gondolom egyezik), de sok PCI-os, meg alaplapra integrált izékkel (kivéve ha USB-n csatlakozik az alaplapi) megbízhatatlanul megy.

Szóval ez van - volt, most lassan visszatérek már.

Folyt. köv.