Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 1998 23:16:02 -0700
From:      Mark Rubin <mrr@primenet.com>
To:        aic7xxx@FreeBSD.ORG
Subject:   Is crash and reboot from aic7xxx, 2940, or motherboard?
Message-ID:  <35D91C22.28AB0381@primenet.com>

next in thread | raw e-mail | index | archive | help
o I've been trying to debug a new system for two weeks and finally
  have to ask for advice.  The machine crashes after it transfers
  somewhere between 4 and 30 MB of data through a 2940AU.  It locks
  up, sometimes scrambling video sync, and then reboots after a few
  seconds.

o The "sometimes scrambling" and "between 4 and 30" do not mean the
  crash is random.  For a given combination of kernel, SCSI
  peripheral, and media, (see below for hardware/software list) the
  crash is exactly repeatable.  It always happens after the same
  number of bytes have been transferred, and video scrambling is
  likewise deterministic.  The crash occurs whether data is being read
  from or written to the SCSI device, and whether the data is being
  copied to/from to the IDE drive or thrown away.  Blocksize of the
  transfer doesn't matter, nor does video mode (standard console VT or
  X windows).

o The only exceptions to the above are as follows:  Kernels patched
  with 5.1.0-pre5 and -pre7 crash at boot time, scrambling video right
  after printing "Scanning channel for devices".  Also, 2.1.115 with 
  -pre7 crashes at boot with an AGP video card, but not until after
  boot, reading data, with ISA video.  All other crashes are
  unaffected by video card, though the exact number of bytes
  transferred before crashing changes.

o Any speculations would be appreciated as to whether this problem is
  caused by the aic7xxx driver, the 2940 card, or the motherboard.  I
  don't think my testing has conclusively proved anything, and am out
  of ideas (and hardware to swap) for more experiments.

o Here's the list of hardware and software.  I haven't tried all
  possible combinations, but enough to be fairly certain of the
  accuracy of the comments above.

  Hardware:
	1) Tyan S1830S Tsunami AT (not ATX) motherboard.  440BX,
	   PIIX4e, 82371EB, AGP, PCI(4), EIDE(2).  AMI V1.07 BIOS.
	   All BIOS shadowing/caching turned off
	2) Adaptec AHA-2940AU, narrow, BIOS v1.32.  Sync negotiation,
	   disconnection options turned off, maximum sync transfer
	   rate 5 MB/sec
	3a) Matrox Millenium II 8MB AGP  -or-
	3b) Diamond Speedstar Plus 1MB ISA
	4) IBM Ultra ATA-33 drive, master on primary EIDE
	5) Teac CD-ROM, master on secondary EIDE
	6a) Wangtek 5150ES SCSI tape drive, internal, 50-pin
	    pass-thru terminator  -or-
	6b) Sony CDU55S SCSI CD-ROM, internal, on-board termination
  Software:
    Kernels:
	2.0.33 (insmod scsi_mod, aic7xxx, sr_mod modules)
	2.0.34 (insmod scsi_mod, aic7xxx, sr_mod modules)
	2.0.34
	2.0.35
	2.0.35 patched 5.1.0-pre5
	2.0.35 patched 5.1.0-pre7
	2.1.115
	2.1.115 patched 5.1.0-pre7
    Applications:
	tar
	cp
	dd
	simple byte-counting and -printing C program

o Here's /proc/pci:

PCI devices found:
  Bus  0, device  19, function  0:
    SCSI storage controller: Adaptec AIC-7861 (rev 3).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master
Capable.  Latency=64.  Min Gnt=4.Max Lat=4.
      I/O at 0xe800.
      Non-prefetchable 32 bit memory at 0xfebff000.
  Bus  0, device   7, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 2).
      Medium devsel.  Fast back-to-back capable.  
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 255.  Master
Capable.  Latency=64.  
      I/O at 0xef80.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable. 
Latency=64.
      I/O at 0xffa0.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No
bursts.  
  Bus  1, device   0, function  0:
    VGA compatible controller: Matrox Millennium II AGP (rev 0).
      Medium devsel.  Fast back-to-back capable.  Master Capable. 
Latency=64.
      Prefetchable 32 bit memory at 0xec000000.
      Non-prefetchable 32 bit memory at 0xfeafc000.
      Non-prefetchable 32 bit memory at 0xfe000000.
  Bus  0, device   1, function  0:
    PCI bridge: Intel 440BX - 82443BX AGP (rev 2).
      Medium devsel.  Master Capable.  Latency=64.  Min Gnt=136.
      Non-prefetchable 32 bit memory at 0x40010100.
      Non-prefetchable 32 bit memory at 0x22a0d0d0.
      Non-prefetchable 32 bit memory at 0xfea0fda0.
      Non-prefetchable 32 bit memory at 0xed80eb80.
  Bus  0, device   0, function  0:
    Host bridge: Intel 440BX - 82443BX Host (rev 2).
      Medium devsel.  Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0xf0000000.

--
MARK
mrr@primenet.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35D91C22.28AB0381>