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.


Cargo compartment light inspection
Trunk compartment light bulb removal/installationMazda 6 Service Manual: Trunk side trim removal/installation
4SD
1. Remove the trunk end trim.
2. Remove the fasteners, then remove the trunk side trim.
3. Install in the reverse order of removal.
5HB
1. Remove the trunk end trim.
2. Remove the trunk side upper trim.
3. Remove the cargo hooks.
4. Remove the fasteners.
5. Pull the trunk side trim ...
Mazda 6 Service Manual: Liftgate disassembly/assembly
1. Disconnect the negative battery cable.
2. Remove the liftgate lower trim.
3. To remove the liftgate outer handle and liftgate key cylinder, remove the
rear finisher.
4. To remove the stud ball, separate the stud ball and the stay damper.
5. Disassemble in the order indicated in the table.
...