Issue with setting up airframe

When selecting airframe, I chose Quadrotor x, generic quadcopter. After applying, an error always pops up.
This is the error “Mag #0 fail: TIMEOUT!”

I have tried applying the airframe several times and majority of the time, the error above shows up, other times, its the one below:

“Accel #0 fail: TIMEOUT!”

What do these errors mean and how can I resolve them?

This is the summary

and im running px4 on the pixhawk 2.4.8

Thank you in advance!