# Re: Umax scanner woes (halp!)

Larry Snyder (larrys@lexis-nexis.com)
Thu, 20 May 1999 22:57:19 -0400 (EDT)

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Harald Finster: "Re: microtek x6 (Firmware 1.3) problem"
- Previous message: genkai wa doko da: "Umax scanner woes (halp!)"

...almost looks like a scsi disconnect thing...
just a thought.
-ls-

genkai wa doko da <gauze@110.net> wrote:
> hello,
>
> 1st my specs:
> Linux distort 2.2.9 #2 Thu May 20 12:16:24 /etc/localtime 1999 i586 unknown
> CPU: Pentium 166
> scsi card: Always 2000 scsi card(I unhooked everything from the scsi chain except the scanner to get contamination free results btw!)
>
> from dmesg:
> --snip--
> IN2000 driver version 1.33 - 26/August/1998
> scsi0 : Always IN2000
> scsi : 1 host.
> Vendor: UMAX Model: Astra 610S Rev: V1.3
> Type: Scanner ANSI SCSI revision: 02
> scsi : detected total.
> --snip--
>
> distort:/home/gauze/sane-1.0.1# tools/find-scanner
> Detected scsi generic sga at scsi0, channel 0, id 3, lun 0
> find-scanner: found scanner " " at device /dev/sga
> distort:/home/gauze/sane-1.0.1# scanimage -d umax:/dev/sga -h
> --snip--
> List of available devices:
>
> but if I do the same command again right after the 1st one:
>
> distort:/home/gauze/sane-1.0.1# scanimage -d umax:/dev/sga -h
> --snip--
> List of available devices:
> umax:/dev/sga
>
> now the final test:
>
> distort:/home/gauze/sane-1.0.1# scanimage -d umax:/dev/sga >foo.pnm
> sits there for a LONG time....
>
> so I ^C it and:
>
> scanimage: stopping scanner...
> scanimage: sanei_scsi.c:1352: sanei_scsi_req_wait: Assertion `req == qhead' failed.
> Aborted
>
> scsi : aborting command due to timeout : pid 56, scsi0, channel 0, id 3, lun 0 Start/Stop Unit 00 00 00 01 00
> scsi0: Abort-(asr=80,count=1,resid=1,buf_resid=0,have_data=1,FC=fd)- scsi0: Aborting connected command 56 - sending wd33c93 ABORT command - flushing fifo - asr=c0, sr=48, 1 bytes un-transferred (timeout=1000000) - sending wd33c93 DISCONNECT command - asr=00, sr=48.
>
> I have these set in the shell I am running scanimage in:
> SANE_DEBUG_DLL=128
> SANE_DEBUG_SANEI_SCSI=128
> SANE_DEBUG_UMAX=128
>
> Ok after power switching down the scanner I kerel paniced/stack dumped
> but here I am again (viva la vim)
> this time I don't use find-scanner tool:
>
> istort:/home/gauze/sane-1.0.1# scanimage -d umax:/dev/sga >foo2.pnm 2>crud
>
> let me read in the redirected stderr:
>
> [sanei_init_debug]: Setting debug level of dll to 128.
> [dll] adding backend net
> [dll] adding backend abaton
> [dll] adding backend agfafocus
> [dll] adding backend apple
> [dll] adding backend artec
> [dll] adding backend canon
> [dll] adding backend coolscan
> [dll] adding backend dmc
> [dll] adding backend epson
> [dll] adding backend hp
> [dll] adding backend microtek
> [dll] adding backend microtek2
> [dll] adding backend mustek
> [dll] adding backend pint
> [dll] adding backend qcam
> [dll] adding backend ricoh
> [dll] adding backend s9036
> [dll] adding backend sharp
> [dll] adding backend snapscan
> [dll] adding backend tamarack
> [dll] adding backend umax
> [dll] loading backend umax
> [dll] dlopen()ing `/usr/local/lib/sane/libsane-umax.so.1'
> [dll] init: initializing backend `umax'
> [sanei_init_debug]: Setting debug level of umax to 128.
> [umax] sane_init
> [umax] This is sane-umax version 1.0 build 3
> [umax] (C) 1997-1999 by Oliver Rauch
> [umax] EMAIL: Oliver.Rauch@Wolfsburg.DE
> [sanei_init_debug]: Setting debug level of sanei_scsi to 128.
> [sanei_scsi] searched device is /dev/sga
> [umax] attach_scanner: /dev/sga
> [umax] attach_scanner: opening /dev/sga
> [sanei_init_debug]: Setting debug level of sanei_scsi to 128.
> [umax] init
> [umax] backend runs on little endian machine
> [umax] initialize_values
> [umax] identify_scanner
> [umax] do_inquiry
> [sanei_scsi] scsi_req_enter: entered 0x80563d0
> [sanei_scsi] sanei_scsi_req_wait: waiting for 0x80563d0
> [sanei_scsi] sanei_scsi.issue: 0x80563d0
> [sanei_scsi] sanei_scsi_req_wait: read 41 bytes
> [sanei_scsi] scsi_req_enter: entered 0x80563d0
> [sanei_scsi] sanei_scsi_req_wait: waiting for 0x80563d0
> [sanei_scsi] sanei_scsi.issue: 0x80563d0
> [sanei_scsi] sanei_scsi_req_wait: read 41 bytes
> [umax] Found scanner version on device /dev/sga
> [umax] attach_scanner: scanner-identification failed
> [umax] attach_scanner: /dev/scanner
> [umax] attach_scanner: opening /dev/scanner
> [sanei_init_debug]: Setting debug level of sanei_scsi to 128.
> [sanei_scsi] sanei_scsi_open: open of `/dev/scanner' failed: Device not configured
> [umax] attach_scanner: open failed
> [umax] sane_open
> [umax] attach_scanner: /dev/sga
> [umax] attach_scanner: opening /dev/sga
> [sanei_init_debug]: Setting debug level of sanei_scsi to 128.
> [umax] init
> [umax] backend runs on little endian machine
> [umax] initialize_values
> [umax] identify_scanner
> [umax] do_inquiry
> [sanei_scsi] scsi_req_enter: entered 0x80563d0
> [sanei_scsi] sanei_scsi_req_wait: waiting for 0x80563d0
> [sanei_scsi] sanei_scsi.issue: 0x80563d0
> [sanei_scsi] sanei_scsi_req_wait: read 41 bytes
> [sanei_scsi] scsi_req_enter: entered 0x80563d0
> [sanei_scsi] sanei_scsi_req_wait: waiting for 0x80563d0
> [sanei_scsi] sanei_scsi.issue: 0x80563d0
> [sanei_scsi] sanei_scsi_req_wait: read 41 bytes
> [umax] Found scanner version on device /dev/sga
> [umax] attach_scanner: scanner-identification failed
> scanimage: open of device umax:/dev/sga failed: Invalid argument
> [dll] exiting
> [dll] calling backend `umax's exit function
> [umax] sane_exit
>
>
> ANY help would be GREATLY appreciated!
>
> gauze/brian
>
>
> ---
> Rhode Island Free Unix Group (RIFUG)
> web:http://www.rifug.org
> email:rifug@rifug.org
> snailmail:P.O.Box 8511
> Warwick,RI 02888
>
>
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

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

- Next message: Harald Finster: "Re: microtek x6 (Firmware 1.3) problem"
- Previous message: genkai wa doko da: "Umax scanner woes (halp!)"