1. Remove the door switch. (See DOOR SWITCH REMOVAL/INSTALLATION)
2. Inspect for continuity between the door switch terminal and a body ground using an ohmmeter.


Door switch removal/installation
Ashtray illumination bulb removal/installationMazda 6 Service Manual: Contact Authorized Mazda Dealer and Have Vehicle Inspected
If any of the following warning lights or the indicator light turns on/flashes,
the system may have a malfunction. Contact an Authorized Mazda Dealer to have your
vehicle inspected.
...
Mazda 6 Service Manual: Electric Parking Brake
The electric parking brake equipment applies the parking brake using an electric
motor. When the electric parking brake is applied, the electric parking brake switch
indicator light turns on.
WARNING
Do not drive the vehicle with the electric parking brake applied:
If the vehicle is driven ...