Kernel OOPS with aacraid driver
Quoted 6 lines
Quoted 2 lines
BTW, this says that this is the second oops: "[#2]". What was the first one?
Apr 21 10:53:27 www adaptec-smbe: aiomgrd startup succeeded Apr 21 10:53:27 www kernel: Unable to handle kernel NULLpointer dereference
at virtual address 00000034
Seems to me like someone is issuing IOCTL's against devices that do not exist. Does this patch against linux-2.6.12-rc3 make sense and applicable to you?
Seems like aac_cfg_open() will return success even if it fails? This patch fixes it to actually return error.
Regards,
Rayan
diff -Nupr -X dontdiff linux-2.6.12-rc3.a/drivers/scsi/aacraid/linit.c linux-2.6.12-rc3.b/drivers/scsi/aacraid/linit.c
--- linux-2.6.12-rc3.a/drivers/scsi/aacraid/linit.c 2005-04-21
23:56:31.000000000 -0700
+++ linux-2.6.12-rc3.b/drivers/scsi/aacraid/linit.c 2005-04-21
23:57:26.000000000 -0700
@@ -450,7 +450,7 @@ static int aac_cfg_open(struct inode *in
}
}
- return 0;
+ return err;
}
/**
Hello Rayan,
Quoted 3 lines
Seems to me like someone is issuing IOCTL's against devices that do not exist. Does this patch against linux-2.6.12-rc3 make sense and applicable to you?
Sounds good. I have an kernel build on the way, and will test it on Monday.
Sincerly,
Klaus
Signature · 6 lines
Klaus Steinberger Maier-Leibnitz Labor Phone: (+49 89)289 14287 Am Coulombwall 6, D-85748 Garching, Germany FAX: (+49 89)289 14280 EMail: [email protected] URL: http://www.physik.uni-muenchen.de/~k2/ In a world without Walls and Fences, who needs Windows and Gates
Am Freitag 22 April 2005 13:57 schrieb Klaus Steinberger:
Quoted 7 lines
Hello Rayan,
Quoted 3 lines
Seems to me like someone is issuing IOCTL's against devices that do not exist. Does this patch against linux-2.6.12-rc3 make sense and applicable to you?
Sounds good. I have an kernel build on the way, and will test it on Monday.
Yep I got by occasion a test window today, the fix works fine.
Sincerly,
Klaus
Signature · 6 lines
Klaus Steinberger Maier-Leibnitz Labor Phone: (+49 89)289 14287 Am Coulombwall 6, D-85748 Garching, Germany FAX: (+49 89)289 14280 EMail: [email protected] URL: http://www.physik.uni-muenchen.de/~k2/ In a world without Walls and Fences, who needs Windows and Gates
Quoted 11 lines · Yum Rayan
Quoted 6 lines
Quoted 2 lines
BTW, this says that this is the second oops: "[#2]". What was the first one?
Apr 21 10:53:27 www adaptec-smbe: aiomgrd startup succeeded Apr 21 10:53:27 www kernel: Unable to handle kernel NULLpointer dereference
at virtual address 00000034Seems to me like someone is issuing IOCTL's against devices that do not exist. Does this patch against linux-2.6.12-rc3 make sense and applicable to you?
A fix for this was submitted to the list last week.
Mark.
Signature · 1 line
Mark Haverkamp <[email protected]>