SAN FRANCISCO/NEW YORK (Reuters) - Hewlett-Packard Co stunned Wall Street by alleging a massive accounting scandal at its British software unit Autonomy and taking an $8.8 billion write-down, the latest in a string of reversals that renewed questions about the competence of the storied company's board and senior managers.