ncr53c8xx problem

Andrzej Krzysztofowicz ankry en green.mif.pg.gda.pl
Sab Ene 29 01:15:24 CST 2000


Hi,
    I have a problem trying to use on old NCR53810 based controller with 
EPoX SMP Intel-LX based MoBo (2x PII 300). No matter UP or SMP kernel 
is tried. It works fine with same MoBo in W95 (so it doesn't seem to be 
a hardware conflict). And it works fine in Linux with another MoBo
(Intel-HX based Asus, P166), when there's no shared interrupts.

I've tested different kernel versions in range: 2.1.120 - 2.2.14. 
Same kernels with another MoBo work ...

The driver enters an infinite(?) loop during initialization (when there is 
no shared PCI interrupt):

ncr53c8xx: at PCI bus 0, device 10, function 0 
ncr53c8xx: 53c810 detected
ncr53c810-0: rev=0x01, base=0xe8000000, io_port=0x6800, irq=17
ncr53c810-0: ID 7, Fast-10, Parity Checking
ncr53c810-0: restart (scsi reset).
scsi1 : ncr53c8xx - version 3.2a-2
scsi : 2 hosts.
ncr53c810-0:0: ERROR (a0:0) (8-0-0) (0/3) @ (script 10:721a0000).
ncr53c810-0: script cmd = 80080000
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 10:721a0000).
ncr53c810-0: script cmd = 80080000
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 10:721a0000).
ncr53c810-0: script cmd = 80080000
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 408:50000000).
ncr53c810-0: script cmd = 80000000
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.
scsi : aborting command due to timeout : pid 2834, scsi1, channel 0, id 0,
 lun 0 0x00 00 00 00 00 00
ncr53c8xx_abort: pid=2834 serial_number=2853 serial_number_at_timeout=2853
ncr53c810-0: abort ccb=c685cda0 (cancel)
SCSI host 1 abort (pid 2834) timed out - resetting
SCSI bus is being reset for host 1 channel 0.ncr53c8xx_reset: pid=2834
 reset_flags=2 serial_number=2853 serial_number_at_timeout=2853
ncr53c810-0: restart (scsi reset).

.. etc.

When its iterrupt is shared with another device (AIC, 3C905, S3Virge), 
the behaviour is different:

ncr53c8xx: at PCI bus 0, device 13, function 0
ncr53c8xx: 53c810 detected
ncr53c810-0: rev=0x01, base=0xe8001000, io_port=0x6c00, irq=16
ncr53c810-0: ID 7, Fast-10, Parity Checking
CACHE TEST FAILED: timeout.
CACHE INCORRECTLY CONFIGURED.
ncr53c810-0: detaching...
scsi : 1 host.                 <---- This is on-board AIC, which works...

Same behaviour with SMP/UP kernel, module/compiled into kernel, compiled for
i586/i686, different driver config settings, etc...

This is the device

    Non-VGA device: NCR 53c810 (rev 1).
      Medium devsel.  IRQ 17.  Master Capable.  Latency=32.
      I/O at 0x6800 [0x6801].
      Non-prefetchable 32 bit memory at 0xe8000000 [0xe8000000].

Is there any chance to get it working ?
Could you, please, help me to find where the problem is ?

Regards
   Andrzej
-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry en mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda