[5200] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: NCR810 + HP SJ4C = bad?

daemon@ATHENA.MIT.EDU (Jon Lewis)
Tue Nov 24 21:53:39 1998

Date: 	Tue, 24 Nov 1998 12:55:05 -0500 (EST)
From: Jon Lewis <jlewis@inorganic5.fdt.net>
To: ncr53c810@Colorado.EDU
cc: Linux SCSI Mailing List <linux-scsi@vger.rutgers.edu>
In-Reply-To: <Pine.LNX.3.95.981123024207.20998v-100000@tarkin.fdt.net>

On Mon, 23 Nov 1998, Jon Lewis wrote:

> I just hooked up my HP ScanJet 4c to an NCR810.  No other SCSI devices are
> in use.  Both the controller and scanner are terminated.  The NCR driver
> (stock from 2.0.36) seems pretty upset about something.
> 
> ncr53c8xx: at PCI bus 0, device 12, function 0
> ncr53c8xx: 53c810 detected 
> ncr53c810-0: rev=0x01, base=0xe0800000, io_port=0xb800, irq=11
> ncr53c810-0: ID 7, Fast-10, Parity Checking
> ncr53c810-0: restart (scsi reset).
> scsi0 : ncr53c8xx - revision 2.5f.1
> scsi : 1 host.
> ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 5ec:721a0000).
> ncr53c810-0: script cmd = 800cbf40
> ncr53c810-0: regdump: ca 00 00 03 47 00 00 1f 71 08 02 00 80 00 0f 02.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 5ec:721a0000).
> ncr53c810-0: script cmd = 800cbf40
> ncr53c810-0: regdump: ca 00 00 03 47 00 00 1f 71 08 02 00 80 00 0f 02.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 34:c0000004).
> ncr53c810-0: script cmd = c0000004
> ncr53c810-0: regdump: da 00 00 03 47 00 01 1f 31 08 02 00 80 00 0f 02.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> ncr53c810-0:2: ERROR (a0:0) (1-a3-0) (0/3) @ (script 1a0:725d0000).
> ncr53c810-0: script cmd = 980c0002
> ncr53c810-0: regdump: da 10 80 03 47 00 02 1f 01 01 02 a3 80 01 0b 00.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 5b4:60000200).
> ncr53c810-0: script cmd = 50000000
> ncr53c810-0: regdump: ca 00 00 03 47 00 00 1f 71 08 02 00 80 00 0b 02.
> ncr53c810-0: have to clear fifos.
> scsi : aborting command due to timeout : pid 3, scsi0, channel 0, id 2, lun 0 Inquiry 00 00 00 ff 00 
> ncr53c8xx_abort: pid=3 serial_number=9 serial_number_at_timeout=9
> ncr53c810-0: abort ccb=0000cc00 (skip)
> SCSI host 0 abort (pid 3) timed out - resetting
> SCSI bus is being reset for host 0 channel 0.
> ncr53c8xx_reset: pid=3 reset_flags=2 serial_number=9 serial_number_at_timeout=9
> ncr53c810-0: restart (scsi reset).
>   Vendor: HP        Model: C2520A            Rev: 3503
>   Type:   Processor                          ANSI SCSI revision: 02
> ncr53c810-0:2: ERROR (a0:0) (8-0-0) (0/3) @ (script 8:7810ff00).
> ncr53c810-0: script cmd = 721a0000
> ncr53c810-0: regdump: da 00 00 03 47 00 02 1f 75 08 02 00 80 00 0f 02.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 5ec:721a0000).
> ncr53c810-0: script cmd = 800cbf40
> ncr53c810-0: regdump: ca 00 00 03 47 00 00 1f 71 08 02 00 80 00 0f 02.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 5ec:721a0000).
> ncr53c810-0: script cmd = 800cbf40
> ncr53c810-0: regdump: ca 00 00 03 47 00 00 1f 71 08 02 00 80 00 0f 02.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 34:c0000004).
> ncr53c810-0: script cmd = c0000004
> ncr53c810-0: regdump: da 00 00 03 47 00 04 1f 31 08 02 00 80 00 0f 02.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 5ec:721a0000).
> ncr53c810-0: script cmd = 800cbf40
> ncr53c810-0: regdump: ca 00 00 03 47 00 00 1f 71 08 02 00 80 00 0f 02.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 40:c0000004).
> ncr53c810-0: script cmd = 90080000
> ncr53c810-0: regdump: da 00 00 03 47 00 05 1f 31 08 02 00 80 00 0f 02.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 5ec:721a0000).
> ncr53c810-0: script cmd = 800cbf40
> ncr53c810-0: regdump: ca 00 00 03 47 00 00 1f 71 08 02 00 80 00 0f 02.
> ncr53c810-0: have to clear fifos.
> ncr53c810-0: restart (scsi reset).
> scsi : detected total.
> 
> Is there a boot option that needs tweaking to make the NCR and HP play 
> nice?  Here's my kernel config options:
> 
> CONFIG_SCSI_NCR53C8XX=y
> CONFIG_SCSI_NCR53C8XX_NVRAM_DETECT=y
> # CONFIG_SCSI_NCR53C8XX_TAGGED_QUEUE is not set
> # CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
> CONFIG_SCSI_NCR53C8XX_MAX_TAGS=4
> CONFIG_SCSI_NCR53C8XX_SYNC=5
> # CONFIG_SCSI_NCR53C8XX_NO_DISCONNECT is not set
> CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT=y
> 
> The scanner seems to work fine on the same PC when I boot win98...but I
> prefer not to do that.  I've not yet setup software to try scanning under
> linux...so I don't know if it works here.  All those resets worry me
> though.

I downloaded SANE last night and managed to scan 2 images before the
scanner/scsi driver totally flipped out (the driver went into a loop doing
resets as above, and the scanner stopped responding to commands).  I also
played around with boot options and NCR8xx driver versions.  I didn't get
any better results with NRC53c8xx=safe:y, so I installed
ncr53c8xx-3.1c-for-linux-2.0.36.  It works no better.  In fact, now,
sometimes it takes several minutes to get through the reset loops when I
boot.

I'm probably going to try again tonight with a Buslogic 946, and may order
a 930 to use as my scanner controller.

Is anyone using one of these successfuly under linux?

Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: HP       Model: C2520A           Rev: 3503
  Type:   Processor                        ANSI SCSI revision: 02

(btw...I moved it from id2 to id6 last night while messing with settings)

----don't waste your cpu, crack rc5...www.distributed.net team enzo---
 Jon Lewis <jlewis@fdt.net>  |  Spammers will be winnuked or 
 Network Administrator       |  nestea'd...whatever it takes
 Florida Digital Turnpike    |  to get the job done.
______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key________


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post