SD card read/write with Arduino

Hello everyone. I m from India and currently doing my final year project.
I m trying to interface an SD card with Arduino atmega8 for datalogging. I dont have any shield for the interface,since it is not affordable for me. and i m following this schematic

www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206874649/8

I tried the DevicePrint library, File Logger library.

But watever I try , I get only the following error msg "card Failed initialising". :frowning:

I m using Arduino-0017 IDE in Linux.

could any one help me.

Thanks in advance.

Nandhakumar