Date: Sat, 21 Sep 1996 09:22:31 -0700 From: "Justin T. Gibbs" <gibbs@freefall.freebsd.org> To: Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de> Cc: freebsd-current@freefall.freebsd.org Subject: Re: ncr - added a scanner and now this: Message-ID: <199609211622.JAA12966@freefall.freebsd.org> In-Reply-To: Your message of "Sat, 21 Sep 1996 15:54:02 %2B0200." <199609211354.PAA22293@gilberto.physik.rwth-aachen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
>
>I added a Mustek Paragon 600 II SP scanner to my SCSI bus.
>This is dmesg:
>
I don't know why we're attempting multiple luns to this target...
it must be matching a quirk, but I bet you can shut it up by
adding code similar to this in scsi_scsi_cmd:
/*
* If we are dealing with a SCSI II or prior device,
* set the lun in the CDB. Since inqbuf is
* initialized to zero during the initial probe
* of a device, we always add this information
* when looking for new devices.
*/
if ((sc_link->inqbuf.version & SID_ANSII) <= 2) {
xs->cmdstore.bytes[1] =
sc_link->lun << SCSI_CMD_LUN_SHIFT;
}
This has already been added on the 'SCSI' branch.
>(ncr0:6:0): "SCANNER 2.01" type 6 fixed SCSI 1
>uk0(ncr0:6:0): Unknown
>(ncr0:6:1): "SCANNER 2.01" type 6 fixed SCSI 1
>uk1(ncr0:6:1): Unknown
>(ncr0:6:2): "SCANNER 2.01" type 6 fixed SCSI 1
>uk2(ncr0:6:2): Unknown
>(ncr0:6:3): "SCANNER 2.01" type 6 fixed SCSI 1
>uk3(ncr0:6:3): Unknown
>(ncr0:6:4): "SCANNER 2.01" type 6 fixed SCSI 1
>uk4(ncr0:6:4): Unknown
>(ncr0:6:5): "SCANNER 2.01" type 6 fixed SCSI 1
>uk5(ncr0:6:5): Unknown
>(ncr0:6:6): "SCANNER 2.01" type 6 fixed SCSI 1
>uk6(ncr0:6:6): Unknown
>(ncr0:6:7): "SCANNER 2.01" type 6 fixed SCSI 1
>
Stefan will have to help you with the NCR stuff.
>changing root device to sd0a
>WARNING: / was not properly dismounted.
>ncr0:0: ERROR (80:98) (1-21-83) (8/13) @ (dfc:190002cb).
> script cmd = 89030000
> reg: da 10 80 13 47 08 00 1f 03 01 80 21 80 00 81 00.
>ncr0: have to clear fifos.
>ncr0: restart (fatal error).
>sd0(ncr0:0:0): COMMAND FAILED (9 ff) @f1778e00.
>ncr0: restart (ncr dead ?).
>spec_getpages: I/O read error
>vm_fault: pager input (probably hardware) error, PID 164 failure
>sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
>sd0(ncr0:0:0): UNIT ATTENTION asc:29,0
>sd0(ncr0:0:0): Power on, reset, or bus device reset occurred
>, retries:4
>pid 164 (tcsh), uid 0: exited on signal 11 (core dumped)
--
Justin T. Gibbs
===========================================
FreeBSD: Turning PCs into workstations
===========================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609211622.JAA12966>
