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: Lane Departure Warning
If the system determines that the vehicle may deviate from its lane, the lane
departure warning (beep sound, rumble sound*1, or steering wheel vibration) is activated
and the direction in which the system determines that the vehicle may deviate is
indicated in the multi-information display and ...