# Re: always Segmentation Fault

From: Henning Meier-Geinitz (hmg-ml@gmx.de)
Date: Sat Feb 24 2001 - 05:32:56 PST

- Next message: Clark Case: "Re: usb-scsi driver problem with SET_WINDOW?"
  - Previous message: abel deuring: "Re: Tamarack 12000C, SCSI problems"
  - In reply to: Christoph H.: "always Segmentation Fault"
  - Next in thread: Christoph H.: "Re: always Segmentation Fault"
  - Reply: Christoph H.: "Re: always Segmentation Fault"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Hi,

  On Fri, Feb 23, 2001 at 02:48:34AM +0100, Christoph H. wrote:
  > - Kernel: 2.2.17 (self-compiled with support for generic SCSI devices (32k buffer))

  Is this because of the Adaptec problems with bigger buffers? Better
  get a fixed driver otherwise scanning will be extremely slow.

  > I tried it with:
  > - Sane 1.0.1 (included in Debian 2.2)
  > - Sane 1.0.3 (self-compiled)
  > - Sane 1.0.4 (self-compiled)
  > --> always the same: Segmentation fault

  Try to set "option buffersize" to something reasonable in mustek.conf
  (32 in your case). However, there shouldn't be a segfault anyway.

  As far as I see something goes wrong when "talking" to /dev/sg2,
  probably in sanei_scsi.c. Could you send a debug log with the
  nvironment variables SANE_DEBUG_MUSTEK=255 and
  SANE_DEBUG_SANEI_SCSI=255 set?

  As a data point, for me everything works with Debian, 2.2.18, and an
  Adaptec 2940.

  Bye,
  Henning

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

  - Next message: Clark Case: "Re: usb-scsi driver problem with SET_WINDOW?"
  - Previous message: abel deuring: "Re: Tamarack 12000C, SCSI problems"
  - In reply to: Christoph H.: "always Segmentation Fault"
  - Next in thread: Christoph H.: "Re: always Segmentation Fault"
  - Reply: Christoph H.: "Re: always Segmentation Fault"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Sat Feb 24 2001 - 05:25:04 PST