A 3.4-magnitude earthquake rumbled through northern California early Sunday, the U.S. Geological Survey said.