calInit() cause segmentation fault. However, cal sample hellocal can correctly obtain cal version (which is 1.4.515) before seg fault.
Did anyone meet the same problem?
Ubuntu 9.10 (and in general kernels >= 2.6.31) seem to have some problems with CAL. See this thread for similar problems with a previous version of CAL:
http://forums.amd.com/devforum/messageview.cfm?catid=328&threadid=121482&enterthread=y
As for hellocal, it seems to call calGetVersion before calInit. So it prints out a version number then crashes.
Thank you rahulgarg. I downgrade to 2.6.28 and it works.
I'm running Ubuntu 9.10 as well. The 2.6.31.11 kernel is working for me, while .15 and .16 segfault as described.
emuller, thank you for the note.
2.6.31-14 is the oldest kernel I can find in 9.10 repository. However, the driver fails to install on that kernel. I don't know why.
Anyway, 2.6.28-17 from 9.04 repository works fine for me!