Diagnostic procedure
Mazda 6 Service Manual: Ignition switch inspection
1. Disconnect the negative battery cable.
2. Remove the column cover. (See COLUMN COVER REMOVAL/INSTALLATION)
3. Disconnect the ignition switch connectors.
4. Inspect for continuity between the ignition switch terminals using an
ohmmeter.
If not as specified, replace the ignition switch.
...
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.
...