Diagnostic procedure
Mazda 6 Service Manual: Cargo compartment light switch inspection
1. Remove the liftgate lower trim. (See LIFTGATE LOWER TRIM
REMOVAL/INSTALLATION)
2. Disconnect the cargo compartment light switch connector.
3. Inspect for continuity between the cargo compartment light switch
terminals using an ohmmeter.
If not as specified, replace the liftgate lock.
...
Mazda 6 Service Manual: Headliner removal/installation
1. Disconnect the negative battery cable.
2. Turn the seaming welt and weatherstrip over.
3. Remove the sunroof seaming welt. (vehicles with sunroof only)
4. Remove the A-pillar trims.
5. Remove the B-pillar upper trims.
6. Remove the C-pillar trims.
7. Remove the front and rear map light. (Se ...