snapscan / Agfa 1236s hangs scsi/aic7xxx until reset and a fix

From: Christophe Tronche (ch.tronche@computer.org)
Date: Tue Feb 22 2000 - 16:06:50 PST

  • Next message: Petter Reinholdtsen: "Re: RPM build file"

    Hello.

    I'm using an Agfa 1236S with the snapscan backend (src-1.0.tar.gz).
    Scanimage (for example) doesn't work and left the computer in a funny
    state. Actually, the driver hangs, and since I've only SCSI disks,
    everything slowly blocks as disks are solicited. The kernel log shows
    that requests to disks (on the same scsi card) timeout.

    The problem can be traced back to the piece of code requesting scanner
    self-test. I just commented out that portion (diff -u included at the
    end of this message) and everything works fine. I believe the problem
    to be actually in the generic SCSI driver (that shouldn't crash so
    badly whatever trash may be sent to it), however this is a workaround.

    Regards,

    - --
    Christophe Tronche ch.tronche@computer.org
    USWeb/CKS France http://tronche.com/

    - --- old/snapscan.c Thu Sep 9 18:22:46 1999
    +++ /sane-1.0.1/backend/snapscan.c Sun Feb 6 22:27:38 2000
    @@ -1125,6 +1125,7 @@
                 return status;
               }
           }
    +/*
         DBG (DL_MINOR_INFO, "%s: performing scanner self test.\n", me);
         status = send_diagnostic (pss);
         if (status != SANE_STATUS_GOOD)
    @@ -1135,6 +1136,7 @@
             return status;
           }
         DBG (DL_MINOR_INFO, "%s: self test passed.\n", me);
    +*/
     
         /* option initialization depends on getting the hardware configuration
            byte */

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Tue Feb 22 2000 - 14:53:04 PST