any partition other than RAW_PART is opened before configuring the ccd. Bug pointed out by Matthew Green.