Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 1996 19:02:12 +0200 (MET DST)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        gibbs@freefall.freebsd.org (Justin T. Gibbs)
Cc:        kuku@gilberto.physik.rwth-aachen.de, freebsd-current@freefall.freebsd.org
Subject:   Re: ncr - added a scanner and now this:
Message-ID:  <199609211702.TAA22826@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199609211622.JAA12966@freefall.freebsd.org> from "Justin T. Gibbs" at "Sep 21, 96 09:22:31 am"

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.

I'm sure he will :-) but before you jump in, Stefan,
note that there might have been a missing terminator :-x.
So discard the ncr issue until the problem really manifests.

> 
> >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
> ===========================================
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609211702.TAA22826>