From: Mark P. <pel...@us...> - 2002-07-31 16:37:55
|
Hi, Based on the last post you sent, I believe the cause of the problem has been determined. It appears that CCISS driver does not update the FOPS (function operations) field in it's gendisk structure. In 2.4, EVMS uses this field to route IOCTLs down to the lower level drivers. So with it left as NULL, EVMS faults trying to dereference that field. I've included a patch to the 2.4.18 version of cciss driver. Please apply this patch and give things another try. diff -Naur tmp/drivers/block/cciss.c new/drivers/block/cciss.c --- tmp/drivers/block/cciss.c Wed Jul 31 10:43:25 2002 +++ new/drivers/block/cciss.c Wed Jul 31 10:47:08 2002 @@ -1964,6 +1964,7 @@ hba[i]->gendisk.part = hba[i]->hd; hba[i]->gendisk.sizes = hba[i]->sizes; hba[i]->gendisk.nr_real = hba[i]->num_luns; + hba[i]->gendisk.fops = &cciss_fops; /* Get on the disk list */ add_gendisk(&(hba[i]->gendisk)); Thanks. Mark |