Linux system hangs or restarts when working with 16GB or 32GB drives

view full story

http://stackoverflow.com – I have an Linux embedded system running uClinux 2.4.27 kernel.I have filled 14GB of data in 16GB capacity pendrive.Now if i connect the drive to the system and initiate copying data (Using cp command from terminal)from the drive to the same drive and during the middle of data transfer if i remove the drive abruptly sometimes system hangs up or it goes for a restart. It is observed only when the drive is almost filled with its capacity.And not observed when the drive is filled with only 2GB data out of 16GB.(i.e 14GB free space available) Another observation is that with 32GB drive even if i (HowTos)