can the police not use a found weapon's serial number to determine its owner? how can they do that if there's no registry with that info?

Seven states have required gun registries. It is not illegal for a state to have a registry. It is illegal for the federal government to have a gun registry with exceptions for NFA controlled arms.

https://www.congress.gov/crs-product/IF12057