First, if it's a bus-powered hub (draws its power from the computer), I'd recommend buying a self-powered hub (plugs into a power outlet).
If you want to keep your hub, as a workaround maybe try leaving it unconnected at startup and then plugging it in.
Is it a new hub, did you recently add a new device to it, or did these startup hangs just suddenly begin on their own?
Did you try zapping the PRAM?
One more thing: the hub should not be plugged into one of the ports on the keyboard. Plug it into a port on the iMac itself.