Interesting post from the MC project to linux-kernel. :block while spinlock held...
Hi,
I suppose that many SCSI maintainers do read the linux-kernel mailing list. However, just in case, I am quoting one of the very interesting postings that come from people at Stanford. They seem to be doing mechanical verification / checking of linux source code to hunt for potentical bugs. In the last week or so, many potential bugs were identified and fixed.
Here is one that might be of interest to SCSI developers. The checkers are known to produce false positives. So beware.
--- begin quote ---
Quoted 3 lines
enclosed are 163 potential bugs in 2.4.1 where blocking functions are called with either interrupts disabled or a spin lock held. The checker works by:
Here's the file manifest. Apologies.
drivers/atm/idt77105.cdrivers/atm/iphase.cdrivers/atm/uPD98402.cdrivers/block/cciss.cdrivers/block/cpqarray.cdrivers/char/applicom.c
...
drivers/scsi/aha1542.c <--- some scsi filesdrivers/scsi/atp870u.c <----drivers/scsi/psi240i.c <----drivers/scsi/sym53c416.c <----drivers/scsi/tmscsim.c <----
...
[the rest omiitted]
--- end quote ---
Quoted 1 line · [email protected] said:
drivers/char/applicom.c
There's a rewrite of this for the new PCI API. Doesn't yet support the ISA cards because I didn't have one to test with. I'll try to get hold of one and submit it.
--
dwmw2
Quoted 13 lines · Chiaki Ishikawa
--- begin quote ---
Quoted 3 lines
enclosed are 163 potential bugs in 2.4.1 where blocking functions are called with either interrupts disabled or a spin lock held. The checker works by:
Here's the file manifest. Apologies.
drivers/atm/idt77105.cdrivers/atm/iphase.cdrivers/atm/uPD98402.cdrivers/block/cciss.cdrivers/block/cpqarray.cdrivers/char/applicom.c
Quoted 6 lines
...
drivers/scsi/aha1542.c<--- some scsi filesdrivers/scsi/atp870u.c<----drivers/scsi/psi240i.c<----drivers/scsi/sym53c416.c<----drivers/scsi/tmscsim.c<----
^^^^^^^^^^^^^^^^^^^^^^
How do I fond about about details?
Regards,
Signature · 3 lines
Kurt Garloff <[email protected]> Eindhoven, NL GPG key: See mail header, key servers Linux kernel development SuSE GmbH, Nuernberg, FRG SCSI, Security
Hello Garloff-san,
Actually, a good question.
I have been trying to find the details of the verification tool from stanford
but to no avail.
Maybe we should ask the posters from the Stanford directly.
(Oops. I thought I posted this to linux-scsi, but did I post linux-kernel instead? Apologies.)
Quoted 25 lines · Kurt Garloff
Quoted 13 lines · Chiaki Ishikawa
--- begin quote ---
Quoted 3 lines
enclosed are 163 potential bugs in 2.4.1 where blocking functions are called with either interrupts disabled or a spin lock held. The checker works by:
Here's the file manifest. Apologies.
drivers/atm/idt77105.cdrivers/atm/iphase.cdrivers/atm/uPD98402.cdrivers/block/cciss.cdrivers/block/cpqarray.cdrivers/char/applicom.cQuoted 6 lines
...
drivers/scsi/aha1542.c<--- some scsi filesdrivers/scsi/atp870u.c<----drivers/scsi/psi240i.c<----drivers/scsi/sym53c416.c<----drivers/scsi/tmscsim.c<----^^^^^^^^^^^^^^^^^^^^^^
How do I fond about about details?
R