Re: system hangs with umax Astra 1200S / freebsd

Amancio Hasty (hasty@rah.star-gate.com)
Sat, 12 Jul 1997 12:54:04 -0700

a couple of things:

enable the kernel scsi debugging:
SCSI(8) FreeBSD System Manager's Manual SCSI(8)

NAME
scsi - program to assist with scsi devices.

SYNOPSIS
scsi -f device -d debug_level
scsi -f device -z seconds [-v]
scsi -f device -m page [-P pc] [-e]
scsi -f device -p [-b bus] [-l lun]
scsi -f device -r [-b bus] [-t targ] [-l -lun]
scsi -f device -c cmd_fmt [arg0 ... argn] [-s seconds] [-v] -o count
out_fmt [arg0 ... argn] -i count in_fmt

DESCRIPTION
The scsi program is used to send commands to a scsi device. It is also a
sample usage of the user level SCSI commands.

The -d option sets the SCSI kernel debug level. The kernel must have
been compiled with the SCSIDEBUG option. See /sys/scsi/scsi_debug.h to
figure out what to set the kernel debug level to.

scsi -f /dev/uk0 -d 10

Send me the output of the last of couple scsi messages.

Also, I need to know which scsi controller are you using...

Tnks,
Amancio

>From The Desk Of eric :
>
>
> I added "Astra 1200S " to the list of umax scanners recognized on the hope
> that it would be more or less like the Astra 600S which was already listed.
>
> scanimage -L lists the scanner as umax:/dev/uk0 as it should, the kernel
> recognizes the scanner, but when I try to any type of scan, the entire system
> hangs solid and needs to be power-cycled.
>
> In debugging mode:
> [umax]
> grabbing scanner
> scanner ready
> scanner reserved
> trying to reposition scanner ...
> scanner ready
> scanner repositioned
> set_window_param
> window descriptor block created with 82 bytes
>
> and at this point the system hangs completely and needs to be reset.
>
> Can anyone suggest what might be wrong?
>
> Eric
>
> --
> Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
> To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com
>

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com