Two rail firms continue to warn passengers not to travel after cracks were found on some trains.