1. Verify that the joint shaft is not twisted or cracked.
2. Turn the joint shaft by hand and verify that the bearing rotates smoothly and freely.

Drive shaft
Joint shaft removal/installationMazda 6 Service Manual: Dtc c1095, c1096
Caution
When attaching the tester lead to the DSC HU/CM connector the SST
(49 G066 004) must be used.
Diagnostic procedure
...
Mazda 6 Service Manual: Trunk Lid
WARNING
Never allow a person to ride in the trunk: Allowing a person to ride
in the trunk is dangerous. The person in the trunk could be seriously injured or
killed during sudden braking or a collision.
Do not drive with the trunk lid open: Exhaust gas in the cabin of a vehicle
is dangerous. ...