# Re: sanei_scsi issue

From: Bernhard Mogens Ege (bme@vision.auc.dk)
Date: Mon Jul 31 2000 - 02:27:00 PDT

- Next message: Paul Stear: "DEVOM Blackwidow 9636PRO scanner"
  - Previous message: Michael Simpson: "Compeye Simplex 8110P"
  - In reply to: Douglas Gilbert: "Re: sanei_scsi issue"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  >>>>> "Douglas" == Douglas Gilbert <dgilbert@interlog.com> writes:

  > Bernhard Mogens Ege wrote:
  >> I have a problem using sane-1.0.2. I have compiled with debug enabled
  >> and have run it with debug levels set at 128 (maximum). This I did as
  >> sane takes a long time to complete its job (which is to list the
  >> scanner devices attached).
  >>

  [snip]

  >>
  >>
  >> What seems to be the problem here?
  >>
  >> I know sane-1.0.1 worked (and still does) fine with this SCSI card
  >> (sym53c416) and this scanner (HP PhotoSmart Photo Scanner).

  > Bernhard,
  > There is an linux kernel issue with the sane_1.0.2/sg_2.1.38/sym53c416
  > combination. Trying going to:
  > http://www.torque.net/sg
  > and get the sg_2.1.39 tarball from the table and building it. That should
  > cure your problem. [If you look in your log (/var/log/messages) you will
  > probably find some nasty oopses corresponding to those pauses.]

  > Please tell me if that cures your problem.

  > For those it don't like rebuilding their kernel or modules, defining the
  > environmental variable SANE_SG_BUFFERSIZE to 32768 will also
  > fix this problem.

  > Doug Gilbert

  This worked! Both suggestion actually worked. First tried the
  buffersize change and it worked. Then I patched my kernel and rebooted
  and the new sg module also worked.

  Thanks!

  In /var/log/messages there were no indications of anything not working
  for the scsi system. The only scsi messages occured when I inserted
  the scsi modules (device detected and stuff like that, no errors).

  Thanks again.

  regards,

  Bernhard Ege

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

  - Next message: Paul Stear: "DEVOM Blackwidow 9636PRO scanner"
  - Previous message: Michael Simpson: "Compeye Simplex 8110P"
  - In reply to: Douglas Gilbert: "Re: sanei_scsi issue"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 02:18:38 PDT