Problem with HP backend...

From: Jens Petersohn (jkp@mccoy.penguinpowered.com)
Date: Thu Jul 13 2000 - 09:17:29 PDT

  • Next message: Terence Haddock: "Support for HP5300C"

    Hi all,

    I'm using sane 1.0.2 with an HP scanner on an Adaptec 2940 card.
    Scanimage sometimes acquires an image, sometimes simply crashes
    with a core dump.
    If it does succeed, the resulting image is corrupted, having
    bands of color on it and straight lines are offset at various
    places.
    I've tested the scanner on another system with Windows, works fine
    there.
    There are no kernel error messages logged for the SCSI bus.
    Backend debug log and a sample corrupted image are available.
    Note that when the program suceeds in acquiring (a corrupted)
    image, no errors are recorded.

    Here's some relevant info:

    Linux scotty.petersohn.net 2.2.14-5.0 #6 Fri May 19 14:04:37 CDT 2000 i686 unknown
    Kernel modules 2.3.10-pre1
    Gnu C 2.95.2
    Binutils 2.9.5.0.22
    Linux C Library 2.1.3
    Dynamic linker ldd (GNU libc) 2.1.3
    Procps 2.0.6
    Mount 2.10f
    Net-tools 1.54
    Console-tools 0.3.3
    Sh-utils 2.0
    Modules Loaded

    And about the SCSI:

    Adaptec AIC7xxx driver version: 5.1.28/3.2.4
    Compile Options:
      TCQ Enabled By Default : Disabled
      AIC7XXX_PROC_STATS : Disabled
      AIC7XXX_RESET_DELAY : 5

    Adapter Configuration:
               SCSI Adapter: Adaptec AHA-294X SCSI host adapter
                               Narrow Controller at PCI 0/16/0
        PCI MMAPed I/O Base: 0xee000000
     Adapter SEEPROM Config: SEEPROM found and used.
          Adaptec SCSI BIOS: Enabled
                        IRQ: 10
                       SCBs: Active 0, Max Active 1,
                             Allocated 15, HW 16, Page 255
                 Interrupts: 16887
          BIOS Control Word: 0x00b6
       Adapter Control Word: 0x005d
       Extended Translation: Enabled
    Disconnect Enable Flags: 0x00ff
     Tag Queue Enable Flags: 0x0000
    Ordered Queue Tag Flags: 0x0000
    Default Tag Queue Depth: 8
        Tagged Queue By Device array for aic7xxx host instance 0:
          {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
        Actual queue depth per device for aic7xxx host instance 0:
          {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

    Statistics:

    (scsi0:0:2:0)
      Device using Narrow/Async transfers.
      Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(25/15/0/0)
      Total transfers 1891 (1891 reads and 0 writes)

    And the scanner:

    Attached devices:
    Host: scsi0 Channel: 00 Id: 02 Lun: 00
      Vendor: HP Model: C5110A Rev: 3638
      Type: Processor ANSI SCSI revision: 02

    -- 
    Home: jkp@mccoy.penguinpowered.com                     Work: jkp@sgi.com
    

    The views expressed herein do not necessarily represent the views of the author, let alone anyone else!

    -- 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 : Thu Jul 13 2000 - 08:59:45 PDT