stand alone atmega8A invalid signature

i took out atmega8A from a roboduino board, and programmed 'blink' code on it by inserting this IC in arduinoUNO. it worked fine.
Now i placed/assembled this IC on breadboard connecting ICSP header pins of original arduino UNO and also connected external 16 MHz clock to it. I burned ArduionoISP code on arduino uno, and tried to use UNO to program 'bare minimum' code to atmega8A on breadboard(To do so, i selected arduino NG board in IDE and 'arduino as isp' in programmer; and then clicked upload button). But it shows error while uploading :

avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

what should i do????
PS: led 13 on arduino uno board is continuously blinking(because atmega8A was programmed earlier with 'blink' code by inserting it in arduino uno board). i m using arduino ide 1.0.6, and connected 10 uF cap bwn reset and ground(saw somewhere on internet).

when i removed 10uF cap, then error is this:
avrdude: Expected signature for ATMEGA8 is 1E 93 07
Double check chip, or use -F to override this check.

is it possible that atmega having arduino bootloader can be progrmed only through RX-Tx pins only.

When using a programmer (or ArduinoISP), use "upload with programmer" in the menu to write the sketch without bootloader or choose "burn bootloader" in the menu. After burning the bootloader connect to the ATmega8A with a usb-serial device to RX and TX.

When the ATmega8A has a bootloader, you can burn a new bootloader or "upload with programmer" to write a sketch and remove the old bootloader.

it tried to upload through 'upload using programmer', but gives same error. :frowning:

I think it is like this:
ATmega8 = 1E 93 07
ATmega8A = 1E 93 07
ATmega88 = 1E 93 0A

Perhaps you are reading only 0xFF or 0x00 ? Can you turn on the verbose messages in the settings and tell what is read for the signature ?

is it possible that atmega having arduino bootloader can be progrmed only through RX-Tx pins only.

No.

avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Users\user\Downloads\arduino-1.0.6\hardware/tools/avr/etc/avrdude.conf"

Using Port : \.\COM6
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
AVR Part : ATMEGA8
Chip Erase delay : 10000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 4 20 128 0 no 512 4 0 9000 9000 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


flash 33 10 64 0 yes 8192 64 128 4500 4500 0xff 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
avrdude: Send: A [41] . [80] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [02]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [81] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [98] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
avrdude: Send: A [41] . [84] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [85] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [86] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [87] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [89] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: Send: A [41] . [81] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [10]
avrdude: Send: B [42] p [70] . [00] . [00] . [01] . [01] . [01] . [01] . [02] . [ff] . [00] . [ff] . [ff] . [00] @ [40] . [02] . [00] . [00] . [00] [20] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: E [45] . [05] . [04] . [d7] . [c2] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: P [50] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: AVR device initialized and ready to accept instructions

Reading | avrdude: Send: V [56] 0 [30] . [00] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [ff]
avrdude: Recv: . [10]
avrdude: Send: V [56] 0 [30] . [00] . [01] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [ff]
avrdude: Recv: . [10]
################avrdude: Send: V [56] 0 [30] . [00] . [02] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [ff]
avrdude: Recv: . [10]
################################## | 100% 0.06s

avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

avrdude: Send: Q [51] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done. Thank you.

So what should i do next?

You don't have (good) communication with the chip.
Do you have a programmer ? I often use USBasp. If you buy one, get a newer version with extra RX and TX.
Check the wiring once more. Do you have an ouput pin of the Arduino-as-programmer to the ATmega8A reset ?
I never had to use that 10uF capacitor.
Is the ATmega8A decoupled ? could you add 100nF to VCC and GND ?

As i have already mentioned in question that i have connected atmega through icsp header pins of arduino, which implies reset pin has been connected. i also have checked the continuity.

That is why I mentioned it. The reset pin of the ArduinoISP should not be connected to the reset pin of the target.

Do you have decoupling capacitors on Vcc and Avcc? It looks to me like it got most of the way through the process. (If you do, state what value).