Re: SCSI or Scanner???

From: Douglas Gilbert (dgilbert@interlog.com)
Date: Tue Oct 03 2000 - 20:40:27 PDT

  • Next message: Mitsuru Okaniw: "The problem of xscanimage by CanoscanFB620S"

    Henning Meier-Geinitz wrote:
    >
    > Hi,
    >
    > On Mon, Oct 02, 2000 at 10:20:29PM +0200, Martin wrote:
    > > # scanimage -d mustek:/dev/sge
    > > Bad segment list supplied to aha1542.c (1, 0)
    > > 0: c07b8000 1 0
    > > cptr c02c7000: 00 00 00 10 00 00 00 a0 7d c0 00 00 00 00
    > > 00 10 00 00 <0>
    > > Kernel panic: Foooooooood fight!
    >
    > Try to limit the SCSI buffer size to 32kb. There was a problem in the
    > driver(s) for some Adaptec controllers but I thought it's fixed in newer
    > kernels. With newer Mustek backends (e.g. from SANE 1.0.3) you can just use
    > "option buffersize 32" in mustek.conf after the definition of your scanner.
    > See also README.linux (from SANE 1.0.3) and
    > http://hmg.home.pages.de/sane/trouble.html

    Yes, it was fixed in sg version 2.1.38 found in lk 2.2.16 .
    The problem occurred in lk 2.2.14 + 2.2.15 but only became
    apparent when SANE increased the default SCSI buffer size
    beyond 32 KB (in SANE 1.0.3, I think). This problem
    only effects the aha1542 driver. Also note that just
    because a distribution calls a kernel 2.2.16 (for example),
    it doesn't necessarily mean that it is; look in file
    /usr/src/linux/include/scsi/sg.h to see what sg driver
    version is being used.

    Doug Gilbert

    --
    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 Oct 03 2000 - 20:42:16 PDT