Pattern formation in a linear photorefractive oscillator