I have a 2006 chevy crew cab 5.3 litre truck that the check gas cap and engine light keeps coming on when the gas cap seems to be in place. Can the gas cap gasket going bad cause this? It seems to be in good shape?
The gas cap can cause this. The system is seeing an evap leak of large rate, and in this case it assumes the fuel cap, as it is the most obvious. Other conditions that can cause this are a faulty fuel tank pressure sensor, evap vent solenoid, charcoal canister, or lines. Ideally, to efficiently diagnose this, it requires a scan tool. You can view data, and execute tests, that would normally take some time as the on-board tests run infrequently.