It is known that a fluid layer heated from below,3 when the boundaries are poorly conducting, gives rise to long-wavelength instabilities (see e.g. Refs. 5,7). The same effect appears8 also in the case of convection in a porous medium.19 In this work we investigate, analytically and numerically,6,18 how this effect is influenced by a stabilizing solutal field, both in the case of a fluid layer and in porous media. The solutal field is assigned through fixed concentrations at the boundaries, or more general Robin boundary conditions. The present work concerns a linear stability analysis of the problem and it is part of a larger project including a nonlinear analysis.9,12,18