Thursday, September 29, 2005

Solution for double speed APIC timer on AMD64

If your clock runs twice faster than it should on your AMD64 system (and so will your DVD playback), you can use the option 'no_timer_check' for your kernel to solve the problem. This is the cleanest solution for my system. When I searched the Internet for my double speed problem, most solution was to disable the APIC timer using the noapictimer kernel parameter (which will disable the entire APIC system), but disabling the APIC has created another problem for me: IRQ conflicts, my ethernet card stops working (actually: it only works if I moved my USB mouse). So I was very happy to find this option is available.

Hopefully this helps everyone that has the same problem with me.

Friday, September 16, 2005

Redirecting Command Line Tools Output to TextEdit (Mac OS X)

I just found out that the command line tool open can be used other than to open a document. You might already know that you can open any file on the terminal using the open command, but open can also be used to pipe the output of command line tools to TextEdit (so it can be easily copied or processed). To do that you only need to give the -f option:

ls | open -f

Will open a TextEdit with containing the listing of the current folder.