[301] in linux-scsi channel archive

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

Re: NCR53c810 and Conner 1060S problems

daemon@ATHENA.MIT.EDU (H.J. Lu)
Mon Jun 26 20:41:58 1995

From: hjl@nynexst.com (H.J. Lu)
To: fweis@ulb.ac.be (Frank Weis)
Date: Mon, 26 Jun 95 19:41:02 EDT
Cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <199506261351.OAA00567@litpc20.ulb.ac.be>; from "Frank Weis" at Jun 26, 95 2:51 pm

> 
> Hi all,
> 
> I still have problems using an NCR board with a conner scsi harddisk on a
> Pentium 75 with Triton chipset(bios v14), Award Plug-n-Play. The problems 
> occur with several (I didn't have the courage to test them all) kernels from
> 1.2.0 to 1.2.10
> 
> The problem is the following: When I do heavy diskusage (backing up the
> hdd), the system hangs solid (No switching, no ctrl-alt-del). It even happens
> now and then when compiling the kernel.
> 
> It has probably nothing to do with other devices, as it also happens when I
> disable everything in the kernel make except that special NCR card and support 
> for SCSI hdds.
> 
> Kernel compiles go well; there is one warning for the ncr-file: at line 1113
> the compiler complains about a value always being 0.
> 
> I have applied the fix from Conner for this special hard-disk type, it doesn't
> help at all :(. I have applied a patch from gniibe@mri.co.jp that follows, 
> to no extent.
> - --- /usr/src/linux/drivers/scsi/53c7,8xx.c.bak
> +++ 53c7,8xx.c
> @@ -3141,6 +3141,13 @@
>  #if 0
>                         hostdata->options &= ~OPTION_DEBUG_INTR;
>  #endif
> +#if 1 /* work around */
> +    if (hostdata->issue_dsa_head) {
> +       printk ("scsi%d : hostdata->issue_dsa_head is not zero!\n",
> +           host->host_no);
> +       hostdata->issue_dsa_head = NULL;
> +    }
> +#endif
>                         tmp->scsi_done(tmp);
>                         goto restart;
> 
> As the machine generally freezes, it cannot log any errormessages, and seldomly
> writes anything I can understand to the screen. Sometimes it goes clashing 
> several screens full of (well aligned) hex numbers, so I only get a glimpse at
> what it says before; I think I've seen trying to free page, bad directory 
> occasionally. Would it help if I make it crash until it gets a chance to dump 
> registers and I copied all of it?
> 
> Unfortunately, this is the only SCSI disk in the lab, so I can't test any
> other combinations...
> 
> If anyone can give me hint, a patch to try out, anything 
> 
> Thanks a lot in advance,
> Frank
> PS: here comes the boot message log:
> console: colour EGA+ 80x25, 1 virtual console (max 63)
> bios32_init : BIOS32 Service Directory structure at 0x000fb1d0
> bios32_init : BIOS32 Service Directory entry at 0xfb5a0
> pcibios_init : PCI BIOS revision 2.00 entry at 0xfb5d0
> Probing PCI hardware.
> Calibrating delay loop.. ok - 29.95 BogoMips
> Serial driver version 4.11 with no serial options enabled
> tty00 at 0x03f8 (irq = 4) is a 16550A
> tty01 at 0x02f8 (irq = 3) is a 16550A
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> scsi-ncr53c7,8xx : at PCI bus 0, device 6,  function 0
> scsi-ncr53c7,8xx : NCR53c810 at memory 0xf0800000, io 0x6000, irq 15
> scsi0 : using io mapped access
> scsi0 : using initiator ID 7
> scsi0 : using level active interrupts
> scsi0 : burst length 8
> scsi0 : using 40MHz SCSI clock
> scsi0 : NCR code relocated to 0x1d8750
> scsi0 : test 1 started
> scsi0 : NCR53c{7,8}xx (rel 4)
> scsi : 1 host.
>   Vendor: CONNER    Model: CFP1060S 1.05GB   Rev: 203C
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, id 0, lun 0
>   Vendor: NEC       Model: CD-ROM DRIVE:501  Rev: 2.2 
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, id 4, lun 0
> scsi : detected 1 SCSI cdrom 1 SCSI disk total.
> SCSI Hardware sector size is 512 bytes on device sda
> Memory: 15100k/16384k available (672k kernel code, 384k reserved, 228k data)
> This processor honours the WP bit even when in supervisor mode. Good.
> Swansea University Computer Society NET3.019
> Swansea University Computer Society TCP/IP for NET3.019
> IP Protocols: ICMP, UDP, TCP
> eth0: SMC Ultra at 0x300, 00 00 C0 DC AF AC, IRQ 11 memory 0xcc000-0xcffff.
> smc-ultra.c:v1.12 1/18/95 Donald Becker (becker@cesdis.gsfc.nasa.gov)
> Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
> Checking 'hlt' instruction... Ok.
> Linux version 1.2.8 (root@litpc1) (gcc version 2.6.3) #2 Wed Jun 21 09:26:20 GMT+0100 1995
> Partition check:
>   sda: sda1 sda2 sda3
> VFS: Mounted root (ext2 filesystem) readonly.
> Adding Swap: 33752k swap-space
> 
> 

My setup seems to be ok except for the reset problem in SCSI/NCR driver.


-- 
H.J. Lu
NYNEX Science and Technology, Inc.			hjl@nynexst.com
----
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000f0120
pcibios_init : BIOS32 Service Directory entry at 0xf13ec
pcibios_init : PCI BIOS revision 2.10 entry at 0xf13d0
Probing PCI hardware.
PCI bridge optimization.
    Cache L2: Not supported.
    CPU-PCI posted write: on.
    CPU-Memory posted write: on.
    PCI-Memory posted write: on.
    PCI burst: on.
Calibrating delay loop.. ok - 36.08 BogoMips
Serial driver version 4.11 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
snd2 <SoundBlaster Pro 4.13> at 0x220 irq 7 drq 1
snd6 <SoundBlaster 16 4.13> at 0x220 irq 7 drq 5
snd7 <SoundBlaster MPU-401> at 0x330 irq 7 drq 0
snd1 <Yamaha OPL-3 FM> at 0x388 irq 0 drq 0
hda: WDC AC2540H, 515MB w/128KB Cache, LBA, CHS=524/32/63, MaxMult=16
ide0: primary interface on irq 14
Floppy drive(s): fd0 is 1.44M, fd1 is 1.2M
FDC 0 is a post-1991 82077
scsi-ncr53c7,8xx : at PCI bus 0, device 14,  function 0
scsi-ncr53c7,8xx : NCR53c810 at memory 0xffbffc00, io 0xfc00, irq 9
scsi0 : using io mapped access
scsi0 : using initiator ID 7
scsi0 : using edge triggered interrupts
scsi0 : burst length 8
scsi0 : using 40MHz SCSI clock
scsi0 : NCR code relocated to 0x1fb610
scsi0 : test 1 started
scsi0 : NCR53c{7,8}xx (rel 4)
scsi : 1 host.
  Vendor: QUANTUM   Model: EMPIRE_2100S      Rev: 1200
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, id 0, lun 0
  Vendor: CONNER    Model: CFP1060S 1.05GB   Rev: 203C
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, id 1, lun 0
  Vendor: MICROP    Model: 4110-09NB_Nov18F  Rev: TN0F
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdc at scsi0, id 2, lun 0
  Vendor: TOSHIBA   Model: CD-ROM XM-3501TA  Rev: 2694
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, id 6, lun 0
scsi : detected 1 SCSI cdrom 3 SCSI disks total.
SCSI Hardware sector size is 512 bytes on device sda
SCSI Hardware sector size is 512 bytes on device sdb
SCSI Hardware sector size is 512 bytes on device sdc
Memory: 31276k/32768k available (644k kernel code, 384k reserved, 464k data)
This processor honours the WP bit even when in supervisor mode. Good.
Swansea University Computer Society NET3.029 Snap #6 for Linux 1.3.0
Swansea University Computer Society TCP/IP for NET3.029 (Snapshot #6)
IP Protocols: ICMP, UDP, TCP
eth0: 3c501 EtherLink at 0x300, using autoIRQ 5.
3c501.c: 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov).
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 1.3.3 (hjl@didi) (gcc version 2.7.0) #20 Thu Jun 22 01:59:51 EDT 1995
Partition check:
  sda: sda4 < sda5 sda6 sda7 sda8 >
  sdb: sdb1 sdb3 sdb4
  sdc: sdc1 sdc4
  hda: multiple mode turned off
  hda: hda1 hda3 < hda5 hda6 hda7 > hda4
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 65468k swap-space
CSLIP: code copyright 1989 Regents of the University of California
PPP: version 0.2.7 (4 channels) NEW_TTY_DRIVERS OPTIMIZE_FLAGS
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
ppp: channel ppp0 mtu = 1500, mru = 1500
ppp: channel ppp0 open

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