Motor
1. Remove the sunroof motor.
2. Apply battery positive voltage to the sunroof motor terminals and inspect the operation of the sunroof motor.


Limit Switch
1. Remove the headliner. (See HEADLINER REMOVAL/INSTALLATION.)
2. Verify the glass panel position.
3. Disconnect the connector.
4. Inspect for continuity between the sunroof motor terminals using an ohmmeter.


Sunroof motor installation
Sunroof relay inspectionMazda 6 Service Manual: Steering gear and linkage inspection
Rack Inspection
1. Inspect the rack for cracking, damage, and tooth wear. Replace it as
necessary.
2. Measure the runout of the rack.
Runout
Near point A: 0.15 mm {0.006 in} max.
Near point B: 0.20 mm {0.008 in} max.
3. If not within the specification, replace the rack.
Tie-rod End ...
Mazda 6 Service Manual: Master cylinder disassembly/assembly
Caution
If the master cylinder body is damaged, replace the unit as a
component. When securing the master cylinder in a vise, tighten only the
flange of the master cylinder.
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order of disassembly.
Stop ...