Make sure they have layer two connectivity.
Such as inside interface on both PIX should have a layer 2 connectivity. DMZ interface on both PIX should have a layer 2 connectivity.
1. port on switch and PIX should be in up/up state.
2. make sure the ports on switch are assigned to the right vlan.