The U.S. military in Afghanistan says a mortar attack at a base in eastern Paktika province has killed two U.S. military personnel , with eight others wounded .