stty: tcgetattr failed

I was using i/o8+ serial (with baud 9600,4800 & 1200)without any problem after uninstalling the above card I installed ultraport8i serial card of the same Oem I am getting the error message

stty: tcgetattr failed: inappropriate I/O control operation (error 25)

please help::confused: