[287] in linux-scsi channel archive
another case of NCR53c810 problems
daemon@ATHENA.MIT.EDU (John Oleynick)
Thu Jun 22 23:30:41 1995
To: linux-scsi@vger.rutgers.edu
Date: Thu, 22 Jun 1995 11:55:55 -0400
From: John Oleynick <johno@paul.rutgers.edu>
I'm trying to boot a new Comtrade PCI 100MHz Pentium ("PA-2000"
motherboard) with a PCI NCR53c810 SCSI card and a Quantum TRB850S disk
and the kernel hangs when it tries to talk to the disk. I've tried
1.2.8, 1.2.9 and 1.3.3 kernels and they all have the same problem. The
disk works fine under DOS (for whatever that's worth) and it works fine
under Linux if I connect it to an Adaptec 1542CF in the same machine.
I've tried playing around with the PCI config and have the problem with
both level and edge interrupts. The SCSI card is using interrupt A.
I've also been playing around with debugging options in 53c7,8xx.c and
#defining DEBUG and DEBUG_INIT in scsi.c to no avail.
Today I tried putting an HP DAT drive on the 53c810. The system boots
OK, but within a few minutes of reading data from the tape it locks up.
I don't know if this is related to network activity or not (sometimes
network activity while reading the tape immediately locked up the machine,
sometimes not), although I when I was trying to boot the disk through the
53c810 I was using kernels with no networking support.
The output of the kernel when it boots (with DEBUG and DEBUG_INIT
#define'd in drivers/scsi/scsi.c and a few extra printk()'s) is below.
This output is from a 1.2.9 kernel. 1.3.3 is the same although it
doesn't have the complaints about unknown PCI devices.
Does anyone have any ideas what else I could try or what to do
next to try to debug this problem?
John
Award Modular BIOS v4.50GP, An Energy Star Ally
Copyright (C) 1084-95, Award SOftware, Inc.
Version 6.12
PENTIUM-S CPU at 100MHz
Memory Test: 16384K OK
Award Plug and Play BIOS Extension v1.0A
Copyright (C) 1005, Award Software, Inc.
Initialize Plug and Play Cards...
NCR SDMS (TM) V3.0 PCI SCSI BIOS, PCI Rev. 2.0
Copyright 1993 NCR Corporation
NCRPCI-3.06.00
ID 00 QUANTUM TRB850S
Console: colour EGA+ 80x25, 1 virtuale console (max 63)
bios32_init : BIOS32 Service Directory structure at 0x000fb670
bios32_init : BIOS32 Service Directory entry at 0xfba40
pcibios_init : PCI BIOS revision 2.00 entry at 0xfba70
Probing PCI hardware.
Unknown PCI device. PCI Vendor id=1b. PCI Device id=576.
PLEASE MAIL POTTER@CAO-VLSI.IBP.FR your hardware description and /proc/pci.
Unknown PCI device. PCI Vendor id=1b. PCI Device id=561.
PLEASE MAIL POTTER@CAO-VLSI.IBP.FR your hardware description and /proc/pci.
Calibrating delay loop.. ok - 40.18 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 8, function 0
scsi-ncr53c7,8xx : NCR53c810 at memory 0xf0800000, io 0x6000, irq 9
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 0x49f0f0
scsi0 : test 1 started
scsi0 : NCR53c{7,8}xx (rel 4)
scsi : 1 host.
to scsi_do_cmd 1 [ this is from a printk() I added before the
first call to scsi_do_cmd() in scan_scsis() ]
scsi_do_cmd (host = 0, target = 0, buffer =001893d0, bufflen = 256, done = 00174
560, timeout = 900, retries = 5)
command : 00 00 00 00 00 00 00 6e 75 00 00
internal_cmd (host = 0, target = 0, command = 004a0ae4, buffer =001893d0,
bufflen = 256, done = 00174560)
queuecommand : routine at 001820fc
leaving internal_cmnd()
Leaving scs
[ This is where it dies. Sometimes it finishes printing that last
message (which is supposed to be "Leaving scsi_do_cmd()" and
even gets through another printk() I added after the first
call to scsi_do_cmd() and sometimes it dies in the middle of
the message. In either case, they keyboard and machine are
completely dead and I have to hit the reset button to reboot. ]