Package: sane-utils Version: 1.0.19~cvs20070730-1 Severity: important Using microtek2 backend via parallel port, ppscsi 0.92 and onscsi 0.91, scanning with low resolution, i.e. 75 px/inch, works o.k. in scanimage and preview works o.k. in xscanimage. Full resolution (300 px/inch) fails. The scanner positions the head but transfers no data, scanimage exits with EOF, (xscanimage locks up), scanner power off/on is the only recovery. This is a new failure with kernel 2.6.18 -- all functions worked normally with previous kernel 2.6.8
I have /proc/scsi/sg/def_reserved_size=130560. with export SANE_DEBUG_MICROTEK2=255 export SANE_DEBUG_SANEI_SCSI=255 and option=2 in microtek2.conf Here is the tail end of the debug output beginning just before the point where the high resolution (failing) scan differs from the low resolution (successful) scan. [I have debug files captured at 75 px/inch and 300 px/inch as well as good scans at 300 px/inch in kernel 2.6.8 but they are BIG files available on request. Also saved the relevant kern.log messages from onscsi.] [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [microtek2] [readimageinforesult] [microtek2] 00,00,09,f5,00,00,09,f6,00,00,0d,b5,00,88,88,ee, [microtek2] scsi_read_image_info: ppl=2549, bpl=2550, lines=3509, remain=8947950 [microtek2] prepare_buffers: ms=0x0x8055120 [microtek2] sane_start: ms->buf.src_buf=0x807ada0, malloc'd 130050 bytes [microtek2] calculate_sane_params: ms=0x8055120 [microtek2] scsi_wait_for_image: ms=0x8055120 [microtek2] scsi_read_image_status: ms=0x8055120 [microtek2] scsi_read_image_status: use old image status [microtek2] [readimagestatus] [microtek2] 28,00,83,00,00,00,00,00,00,00, [sanei_scsi] scsi_req_enter: entered 0x805a0e8 [sanei_scsi] sanei_scsi.issue: 0x805a0e8 dev_max(currently)=32 max_active_device=1 (origin 1) def_reserved_size=130560 >>> device=sg0 scsi4 chan=0 id=5 lun=0 em=0 sg_tablesize=16 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 act: id=18 blen=0 t_o/elap=120000/10ms sgat=0 op=0x28 [sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x805a0e8 [sanei_scsi] sanei_scsi.issue: 0x805a0e8 dev_max(currently)=32 max_active_device=1 (origin 1) def_reserved_size=130560 >>> device=sg0 scsi4 chan=0 id=5 lun=0 em=0 sg_tablesize=16 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 rcv: id=18 blen=0 dur=2000ms sgat=0 op=0x28 [sanei_scsi] sanei_scsi_req_wait: read 64 bytes [microtek2] reader_process: ms=0x8055120 [microtek2] reader_process: transferlength=130050, lines=51, linelength=2550, real_bpl=2549, srcbuf=0x807ada0 [microtek2] scsi_read_image: ms=0x8055120, buffer=0x807ada0 [microtek2] scsi_read_image: transferlength=130050 [microtek2] [readimagecmd] [microtek2] 28,00,00,00,00,00,01,fc,02,00, [sanei_scsi] scsi_req_enter: entered 0x805a0e8 [sanei_scsi] sanei_scsi.issue: 0x805a0e8 dev_max(currently)=32 max_active_device=1 (origin 1) def_reserved_size=130560 >>> device=sg0 scsi4 chan=0 id=5 lun=0 em=0 sg_tablesize=16 excl=1 FD(1): timeout=120000ms bufflen=131072 (res)sgat=4 low_dma=0 cmd_q=1 f_packid=0 k_orphan=0 closed=0 No requests active [sanei_scsi] sanei_scsi.issue: bad write (errno=12) Cannot allocate memory -1 [sanei_scsi] sanei_scsi.issue: SG_BIG_BUF inconsistency? Check file PROBLEMS. [sanei_scsi] scsi_req_enter: queue_used: 0, queue_max: 1 [sanei_scsi] sanei_scsi_req_wait: waiting for 0x805a0e8 [sanei_scsi] sanei_scsi.issue: 0x805a0e8 [microtek2] scsi_read_image: 'Out of memory' [microtek2] sane_get_parameters: handle=0x8055120, params=0xbfbc2f7c [microtek2] sane_get_parameters: format=0, last_frame=1, lines=3509 [microtek2] sane_get_parameters: depth=8, ppl=2549, bpl=2549 scanimage: scanning image of size 2549x3509 pixels at 8 bits/pixel scanimage: acquiring gray frame [microtek2] sane_read: handle=0x8055120, buf=0x809a9a8, maxlen=131072 sane_read.nread maxlen 131072 ...returns nread = 0 [microtek2] sane_read: read 0 bytes -> EOF [microtek2] cleanup_scanner: ms=0x8055120, ms->sfd=3 [microtek2] free ms->buf.src_buf at 0x807ada0 [microtek2] free ms->gamma_table at 0x807a198 scanimage: min/max graylevel value = 255/0 scanimage: read 0 bytes in total [microtek2] sane_cancel: handle=0x8055120 [microtek2] sane_close: ms=0x8055120 [microtek2] cleanup_scanner: ms=0x8055120, ms->sfd=-1 [microtek2] free ms at 0x8055120 [microtek2] sane_exit: [microtek2] free md_first_dev->custom_gamma_table[0] at 0x8055bc0 [microtek2] free md_first_dev->custom_gamma_table[1] at 0x8056bc8 [microtek2] free md_first_dev->custom_gamma_table[2] at 0x8057bd0 [microtek2] free md_first_dev->custom_gamma_table[3] at 0x8058bd8 [microtek2] free md_first_dev at 0x8053b10 [microtek2] sane_get_devices: local_only=0 [microtek2] sane_get_devices: sd_list_freed [microtek2] sane_exit: MICROTEK2 says goodbye. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages sane-utils depends on: ii adduser 3.102 Add and remove users and groups ii libc6 2.6-2 GNU C Library: Shared libraries ii libieee1284-3 0.2.10-4 cross-platform library for paralle ii libjpeg62 6b-13 The Independent JPEG Group's JPEG ii libsane 1.0.19~cvs20070730-1 API library for scanners ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra ii libusb-0.1-4 2:0.1.12-5 userspace USB programming library ii zlib1g 1:1.2.3.3.dfsg-5 compression library - runtime sane-utils recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]