Public bug reported:

Hello,

this is a 10.04 install, 32bit. I am trying to scan using a HP C2520A
scanner, the label on the front says ScanJet 6100C. I try to scan a
document by starting "xsane image scanner" from the menu. xsane then
shows its normal window. When I click on scan or a preview scan the
scanner emits *ONE* tiny little sounds and moves about <5mm, switches on
the light and then nothing more. When I cancel after some time I get an
I/O error. When I try again afterwards the scanner is not found any more
until some time later (when it moves against). The scanner previously
worked on a windows installation, so I believe the hardware to be ok.

I tried setting the option dumb-read in /etc/sane.d/hp.conf because I did read 
the documentation, but it did not change a thing:
# Uncomment the following if you have "Error during device I/O" on SCSI
option dumb-read

The scanner is connected to the PC via SCSI:
$ lsscsi | column -t
[0:0:3:0]  process  HP       C2520A            3644      -
[0:0:4:0]  cd/dvd   TOSHIBA  DVD-ROM           SD-M1401  1008      /dev/sr0
[0:0:6:0]  tape     HP       HP35480A          T503      /dev/st0
[1:0:0:0]  disk     ATA      ST340014A         8.54      /dev/sda
[1:0:1:0]  disk     ATA      ST3500630A        3.AA      /dev/sdb
[2:0:0:0]  disk     ATA      IC35L090AVV207-0  V23O      /dev/sdc
[2:0:1:0]  disk     ATA      IBM-DJNA-351520   J56O      /dev/sdd

The scanner is connected through an Adaptec controller.

This is what udev knows about the device:
udevadm info -a -p /sys/class/scsi_generic/sg0/

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device 
'/devices/pci0000:00/0000:00:09.0/host0/target0:0:3/0:0:3:0/scsi_generic/sg0':
    KERNEL=="sg0"
    SUBSYSTEM=="scsi_generic"
    DRIVER==""

  looking at parent device 
'/devices/pci0000:00/0000:00:09.0/host0/target0:0:3/0:0:3:0':
    KERNELS=="0:0:3:0"
    SUBSYSTEMS=="scsi"
    DRIVERS==""
    ATTRS{device_blocked}=="0"
    ATTRS{type}=="3"
    ATTRS{scsi_level}=="3"
    ATTRS{vendor}=="HP      "
    ATTRS{model}=="C2520A          "
    ATTRS{rev}=="3644"
    ATTRS{state}=="running"
    ATTRS{timeout}=="0"
    ATTRS{iocounterbits}=="32"
    ATTRS{iorequest_cnt}=="0x1fad"
    ATTRS{iodone_cnt}=="0x1fab"
    ATTRS{ioerr_cnt}=="0x1"
    ATTRS{modalias}=="scsi:t-0x03"
    ATTRS{evt_media_change}=="0"
    ATTRS{dh_state}=="detached"
    ATTRS{queue_depth}=="2"
    ATTRS{queue_type}=="none"

  looking at parent device '/devices/pci0000:00/0000:00:09.0/host0/target0:0:3':
    KERNELS=="target0:0:3"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:09.0/host0':
    KERNELS=="host0"# sane-find-scanner 

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

found SCSI processor "HP C2520A 3644" at /dev/sg0
  # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
  # scanimage -L and read the backend's manpage.

  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:09.0':
    KERNELS=="0000:00:09.0"
    SUBSYSTEMS=="pci"
    DRIVERS=="aic7xxx"
    ATTRS{vendor}=="0x9004"
    ATTRS{device}=="0x8778"
    ATTRS{subsystem_vendor}=="0x9004"
    ATTRS{subsystem_device}=="0x7887"
    ATTRS{class}=="0x010000"
    ATTRS{irq}=="11"
    ATTRS{local_cpus}=="ff"
    ATTRS{local_cpulist}=="0-7"
    ATTRS{modalias}=="pci:v00009004d00008778sv00009004sd00007887bc01sc00i00"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""

These are the permissions of the device file
$ ls -l /dev/sg0 
crw-rw----+ 1 root root 21, 0 2010-09-28 18:59 /dev/sg0

This is my normal user on this machine:
$ id
uid=1000(hg) gid=1000(hg) 
Gruppen=4(adm),20(dialout),24(cdrom),46(plugdev),105(lpadmin),119(admin),122(sambashare),1000(hg)

# scanimage -L
device `hp:/dev/sg0' is a Hewlett-Packard C2520A flatbed scanner

sane-find-scanner finds the scanner:
# sane-find-scanner 

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

found SCSI processor "HP C2520A 3644" at /dev/sg0
  # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
  # scanimage -L and read the backend's manpage.

  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

# apt-cache showpkg xsane
Package: xsane
Versions: 
0.996-2ubuntu3 
(/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_lucid-updates_universe_binary-i386_Packages)
 (/var/lib/dpkg/status)
 Description Language: 
                 File: 
/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_lucid-updates_universe_binary-i386_Packages
                  MD5: 0f073896563cfffa695f69e298c230d0

0.996-2ubuntu1.1 
(/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_lucid_universe_binary-i386_Packages)
 Description Language: de
                 File: 
/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_lucid_universe_i18n_Translation-de
                  MD5: 0f073896563cfffa695f69e298c230d0
 Description Language: 
                 File: 
/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_lucid_universe_binary-i386_Packages
                  MD5: 0f073896563cfffa695f69e298c230d0


Reverse Depends: 
  xsane-common,xsane
  xsane-common,xsane
  hplip-gui,xsane
  xsane-common,xsane
  xsane-common,xsane
  ubuntustudio-graphics,xsane
  hplip-gui,xsane
  gocr-tk,xsane
  gnumed-client,xsane 0.991
  gnome-office,xsane
Dependencies: 
0.996-2ubuntu3 - xsane-common (5 0.996-2ubuntu3) libatk1.0-0 (2 1.29.3) libc6 
(2 2.7) libcairo2 (2 1.2.4) libfontconfig1 (2 2.8.0) libfreetype6 (2 2.2.1) 
libgimp2.0 (2 2.4.0) libglib2.0-0 (2 2.12.0) libgtk2.0-0 (2 2.8.0) libjpeg62 (0 
(null)) liblcms1 (2 1.15-1) libpango1.0-0 (2 1.14.0) libpng12-0 (2 1.2.13-4) 
libsane (2 1.0.11-3) libtiff4 (0 (null)) zlib1g (2 1:1.1.4) xsane-doc (0 
(null)) gimp (0 (null)) hylafax-client (16 (null)) mgetty-fax (0 (null)) gv (0 
(null)) gocr (0 (null)) firefox (16 (null)) www-browser (0 (null)) cups-client 
(0 (null)) 
0.996-2ubuntu1.1 - xsane-common (5 0.996-2ubuntu1.1) libatk1.0-0 (2 1.20.0) 
libc6 (2 2.7) libcairo2 (2 1.2.4) libfontconfig1 (2 2.4.0) libfreetype6 (2 
2.2.1) libgimp2.0 (2 2.4.0) libglib2.0-0 (2 2.16.0) libgtk2.0-0 (2 2.8.0) 
libjpeg62 (0 (null)) liblcms1 (2 1.15-1) libpango1.0-0 (2 1.14.0) libpng12-0 (2 
1.2.13-4) libsane (2 1.0.11-3) libtiff4 (0 (null)) zlib1g (2 1:1.1.4) xsane-doc 
(0 (null)) gimp (0 (null)) hylafax-client (16 (null)) mgetty-fax (0 (null)) gv 
(0 (null)) gocr (0 (null)) firefox (16 (null)) www-browser (0 (null)) 
cups-client (0 (null)) 
Provides: 
0.996-2ubuntu3 - 
0.996-2ubuntu1.1 - 
Reverse Provides: 

# apt-cache showpkg sane
Package: sane
Versions: 
1.0.14-9 
(/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_lucid_universe_binary-i386_Packages)
 (/var/lib/dpkg/status)
 Description Language: 
                 File: 
/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_lucid_universe_binary-i386_Packages
                  MD5: 2f448d14f906e21875602c8f002bcd5d


Reverse Depends: 
  pct-scanner-scripts,sane
  gscan2pdf,sane
Dependencies: 
1.0.14-9 - libatk1.0-0 (2 1.20.0) libc6 (2 2.4) libcairo2 (2 1.2.4) 
libfontconfig1 (2 2.4.0) libfreetype6 (2 2.2.1) libgimp2.0 (2 2.4.0) 
libglib2.0-0 (2 2.16.0) libgtk2.0-0 (2 2.8.0) libpango1.0-0 (2 1.14.0) libsane 
(2 1.0.11-3) gimp (0 (null)) 
Provides: 
1.0.14-9 - 
Reverse Provides: 

# cat /proc/scsi/scsi 
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: HP       Model: C2520A           Rev: 3644
  Type:   Processor                        ANSI  SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: TOSHIBA  Model: DVD-ROM SD-M1401 Rev: 1008
  Type:   CD-ROM                           ANSI  SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: HP       Model: HP35480A         Rev: T503
  Type:   Sequential-Access                ANSI  SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: ST340014A        Rev: 8.54
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi1 Channel: 00 Id: 01 Lun: 00
  Vendor: ATA      Model: ST3500630A       Rev: 3.AA
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: IC35L090AVV207-0 Rev: V23O
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi2 Channel: 00 Id: 01 Lun: 00
  Vendor: ATA      Model: IBM-DJNA-351520  Rev: J56O
  Type:   Direct-Access                    ANSI  SCSI revision: 05

# cat /etc/sane.d/hp.conf 
scsi HP
# Uncomment the following if you have "Error during device I/O" on SCSI
option dumb-read
#
# The usual place for a SCSI-scanner on Linux
/dev/scanner
#
# USB-scanners supported by the hp-backend
# HP ScanJet 4100C
usb 0x03f0 0x0101
# HP ScanJet 5200C
usb 0x03f0 0x0401
# HP ScanJet 62X0C
usb 0x03f0 0x0201
# HP ScanJet 63X0C
usb 0x03f0 0x0601
#
# Uncomment the following if your scanner is connected by USB,
# but you are not using libusb
# /dev/usb/scanner0
#   option connect-device

This is from dmesg after trying to abort the frozen xsane:
[  222.816062] scsi 0:0:3:0: [sg0] Attempting to queue an ABORT message
[  222.816070] CDB: 0x8 0x0 0x0 0x80 0x0 0x0
[  222.816093] scsi0: At time of recovery, card was not paused
[  222.816102] >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
[  222.816104] scsi0: Dumping Card State while idle, at SEQADDR 0x7
[  222.816108] Card was paused
[  222.816114] ACCUM = 0x36, SINDEX = 0x3, DINDEX = 0x8c, ARG_2 = 0x0
[  222.816119] HCNT = 0x0 SCBPTR = 0x0
[  222.816123] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] 
[  222.816133] LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
[  222.816144] SBLKCTL[0x2]:(SELWIDE) SCSIRATE[0x0] 
[  222.816153] SEQCTL[0x10]:(FASTMODE) 
SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) 
[  222.816163] SSTAT0[0x5]:(DMADONE|SDONE) SSTAT1[0xa]:(PHASECHG|BUSFREE) 
[  222.816174] SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x0] 
[  222.816184] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) 
[  222.816191] SXFRCTL0[0x80]:(DFON) DFCNTRL[0x0] 
[  222.816199] DFSTATUS[0x29]:(FIFOEMP|HDONE|FIFOQWDEMP) 
[  222.816206] STACK: 0x0 0x151 0xf4 0x3
[  222.816217] SCB count = 4
[  222.816220] Kernel NEXTQSCB = 2
[  222.816223] Card NEXTQSCB = 2
[  222.816225] QINFIFO entries: 
[  222.816229] Waiting Queue entries: 
[  222.816233] Disconnected Queue entries: 1:1 
[  222.816239] QOUTFIFO entries: 
[  222.816242] Sequencer Free SCB List: 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
[  222.816266] Sequencer SCB Info: 
[  222.816269]   0 SCB_CONTROL[0xc8]:(ULTRAENB|DISCENB|TARGET_SCB) 
[  222.816279] SCB_SCSIID[0x47] SCB_LUN[0x0] SCB_TAG[0xff] 
[  222.816288]   1 SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) 
[  222.816296] SCB_SCSIID[0x37] SCB_LUN[0x0] SCB_TAG[0x1] 
[  222.816304]   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816315] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816323]   3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816334] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816342]   4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816353] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816360]   5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816371] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816379]   6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816390] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816398]   7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816409] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816416]   8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816427] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816435]   9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816446] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816453]  10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816464] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816472]  11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816483] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816491]  12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816502] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816509]  13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816520] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816528]  14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816539] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816546]  15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  222.816558] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  222.816565] Pending list: 
[  222.816568]   1 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x37] 
[  222.816576] SCB_LUN[0x0] 
[  222.816579] Kernel Free SCB list: 3 0 
[  222.816584] Untagged Q(3): 1 
[  222.816589] 
[  222.816590] <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
[  222.816610] (scsi0:A:3:0): Device is disconnected, re-queuing SCB
[  222.816615] Recovery code sleeping
[  223.078994] Recovery SCB completes
[  223.079063] Recovery code awake
[  223.079068] aic7xxx_abort returns 0x2002
[  223.341539] scsi 0:0:3:0: [sg0] Attempting to queue a TARGET RESET message
[  223.341545] CDB: 0x8 0x0 0x0 0x80 0x0 0x0
[  223.341554] scsi 0:0:3:0: [sg0] Command not found
[  223.341558] aic7xxx_dev_reset returns 0x2002
[  233.609661] scsi target0:0:4: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 15)
[  737.000114] scsi 0:0:3:0: [sg0] Attempting to queue an ABORT message
[  737.000123] CDB: 0x8 0x0 0x0 0x80 0x0 0x0
[  737.000144] scsi0: At time of recovery, card was not paused
[  737.000153] >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
[  737.000155] scsi0: Dumping Card State while idle, at SEQADDR 0x8
[  737.000159] Card was paused
[  737.000165] ACCUM = 0x68, SINDEX = 0x1, DINDEX = 0x8c, ARG_2 = 0x0
[  737.000170] HCNT = 0x0 SCBPTR = 0x1
[  737.000174] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] 
[  737.000185] LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
[  737.000197] SBLKCTL[0x2]:(SELWIDE) SCSIRATE[0x0] 
[  737.000205] SEQCTL[0x10]:(FASTMODE) 
SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) 
[  737.000215] SSTAT0[0x5]:(DMADONE|SDONE) SSTAT1[0xa]:(PHASECHG|BUSFREE) 
[  737.000227] SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x0] 
[  737.000236] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) 
[  737.000244] SXFRCTL0[0x80]:(DFON) DFCNTRL[0x0] 
[  737.000252] DFSTATUS[0x29]:(FIFOEMP|HDONE|FIFOQWDEMP) 
[  737.000259] STACK: 0x0 0x151 0xf4 0x3
[  737.000269] SCB count = 4
[  737.000272] Kernel NEXTQSCB = 2
[  737.000276] Card NEXTQSCB = 2
[  737.000278] QINFIFO entries: 
[  737.000282] Waiting Queue entries: 
[  737.000285] Disconnected Queue entries: 0:3 
[  737.000292] QOUTFIFO entries: 
[  737.000295] Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
[  737.000320] Sequencer SCB Info: 
[  737.000323]   0 SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) 
[  737.000333] SCB_SCSIID[0x37] SCB_LUN[0x0] SCB_TAG[0x3] 
[  737.000341]   1 SCB_CONTROL[0xc8]:(ULTRAENB|DISCENB|TARGET_SCB) 
[  737.000350] SCB_SCSIID[0x47] SCB_LUN[0x0] SCB_TAG[0xff] 
[  737.000358]   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000370] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000378]   3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000389] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000396]   4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000408] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000415]   5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000426] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000434]   6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000445] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000453]   7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000464] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000471]   8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000483] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000490]   9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000501] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000509]  10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000520] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000528]  11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000539] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000547]  12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000558] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000566]  13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000577] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000584]  14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000595] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000603]  15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[  737.000614] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[  737.000622] Pending list: 
[  737.000625]   3 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x37] 
[  737.000632] SCB_LUN[0x0] 
[  737.000636] Kernel Free SCB list: 1 0 
[  737.000641] Untagged Q(3): 3 
[  737.000645] 
[  737.000646] <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
[  737.000669] (scsi0:A:3:0): Device is disconnected, re-queuing SCB
[  737.000675] Recovery code sleeping
[  737.263055] Recovery SCB completes
[  737.263132] Recovery code awake
[  737.263137] aic7xxx_abort returns 0x2002
[  737.525713] scsi 0:0:3:0: [sg0] Attempting to queue a TARGET RESET message
[  737.525722] CDB: 0x8 0x0 0x0 0x80 0x0 0x0
[  737.525732] scsi 0:0:3:0: [sg0] Command not found
[  737.525736] aic7xxx_dev_reset returns 0x2002
[ 1659.000082] scsi 0:0:3:0: [sg0] Attempting to queue an ABORT message
[ 1659.000090] CDB: 0x8 0x0 0x0 0x80 0x0 0x0
[ 1659.000110] scsi0: At time of recovery, card was not paused
[ 1659.000118] >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
[ 1659.000121] scsi0: Dumping Card State while idle, at SEQADDR 0x8
[ 1659.000125] Card was paused
[ 1659.000131] ACCUM = 0x6c, SINDEX = 0x1, DINDEX = 0x8c, ARG_2 = 0x0
[ 1659.000136] HCNT = 0x0 SCBPTR = 0x0
[ 1659.000140] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] 
[ 1659.000150] LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) 
[ 1659.000161] SBLKCTL[0x2]:(SELWIDE) SCSIRATE[0x0] 
[ 1659.000169] SEQCTL[0x10]:(FASTMODE) 
SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) 
[ 1659.000179] SSTAT0[0x5]:(DMADONE|SDONE) SSTAT1[0xa]:(PHASECHG|BUSFREE) 
[ 1659.000190] SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x0] 
[ 1659.000199] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) 
[ 1659.000207] SXFRCTL0[0x80]:(DFON) DFCNTRL[0x0] 
[ 1659.000215] DFSTATUS[0x29]:(FIFOEMP|HDONE|FIFOQWDEMP) 
[ 1659.000221] STACK: 0x0 0x151 0xf4 0x3
[ 1659.000232] SCB count = 4
[ 1659.000234] Kernel NEXTQSCB = 3
[ 1659.000238] Card NEXTQSCB = 3
[ 1659.000240] QINFIFO entries: 
[ 1659.000244] Waiting Queue entries: 
[ 1659.000247] Disconnected Queue entries: 1:2 
[ 1659.000253] QOUTFIFO entries: 
[ 1659.000256] Sequencer Free SCB List: 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
[ 1659.000280] Sequencer SCB Info: 
[ 1659.000283]   0 SCB_CONTROL[0xc8]:(ULTRAENB|DISCENB|TARGET_SCB) 
[ 1659.000293] SCB_SCSIID[0x47] SCB_LUN[0x0] SCB_TAG[0xff] 
[ 1659.000301]   1 SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) 
[ 1659.000309] SCB_SCSIID[0x37] SCB_LUN[0x0] SCB_TAG[0x2] 
[ 1659.000316]   2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000327] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000335]   3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000346] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000353]   4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000364] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000371]   5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000382] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000389]   6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000400] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000407]   7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000418] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000425]   8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000436] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000444]   9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000454] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000462]  10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000472] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000480]  11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000491] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000498]  12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000509] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000516]  13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000527] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000534]  14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000545] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000553]  15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID) 
[ 1659.000563] SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff] 
[ 1659.000571] Pending list: 
[ 1659.000574]   2 SCB_CONTROL[0x40]:(DISCENB) SCB_SCSIID[0x37] 
[ 1659.000581] SCB_LUN[0x0] 
[ 1659.000584] Kernel Free SCB list: 1 0 
[ 1659.000590] Untagged Q(3): 2 
[ 1659.000593] 
[ 1659.000595] <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
[ 1659.000616] (scsi0:A:3:0): Device is disconnected, re-queuing SCB
[ 1659.000621] Recovery code sleeping
[ 1659.263140] Recovery SCB completes
[ 1659.263221] Recovery code awake
[ 1659.263226] aic7xxx_abort returns 0x2002
[ 1659.525822] scsi 0:0:3:0: [sg0] Attempting to queue a TARGET RESET message
[ 1659.525831] CDB: 0x8 0x0 0x0 0x80 0x0 0x0
[ 1659.525840] scsi 0:0:3:0: [sg0] Command not found
[ 1659.525844] aic7xxx_dev_reset returns 0x2002

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: sane 1.0.14-9
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic-pae 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic-pae i686
Architecture: i386
Date: Tue Sep 28 19:11:09 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: sane-frontends

** Affects: sane-frontends (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
Scanner HP C2520A, Scanjet 6100C does not scan at all
https://bugs.launchpad.net/bugs/650474
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to