[1963] in linux-scsi channel archive

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

Reboot hang with AHA 2940 Ultra

daemon@ATHENA.MIT.EDU (Mike Leddy)
Sat Jun 7 18:09:02 1997

Date: 	Sat, 07 Jun 1997 18:45:52 -0300
From: Mike Leddy <mike@ultranet.com.br>
To: linux-scsi@vger.rutgers.edu, alex@ultranet.com.br

[configuration details at end of e-mail]

I have a fairly strange problem with my Adaptec AHA-2940 Ultra Wide,
Linux
version 2.0.28, and  a Quantum Fireball.

The fireball is the only SCSI device /dev/sda and Linux is configured to
boot from it.

Symptoms:

a)  When I repeatedly power on the machine everything works fine. 

b)  When I soft reboot or hit the reset button (after linux boots) the
    quantum drive isn't found and the system hangs.

c)  If I repeatedly power-on the system and soft reboot during kernel
loading
    (ie. before the SCSI driver initilizes) the drive the drive is
encountered
    every time.

It seems that (c) suggests that the Linux driver modifies the state of
the
SCSI interface in such a way that afterwards a soft reboot is no longer
sufficient to reset the card/bus.

As this machine will be used as a mission critical server and needs to 
reset using a watchdog this will cause serious problems for me.

Can anyone suggest what might be going wrong, or give me some hints as
to 
what might have an influence on this in the driver code. Any help
whatsoever
will be greatly appreciated.

Machine:

  Pentium 200Mhz 98Mb Ram, Intel chipset, Quantam Fireball TM3200S,
  Trident video, Realtek NE2000.

What linux says on boot:

aic7xxx: BurstLen = 8 DWDs, Latency Timer = 32 PCLKS
aic7xxx: AHA-2940A Ultra Rev C.
aic7xxx: devconfig = 0x1100.
aic7xxx: Reading SEEPROM...done.
aic7xxx: Extended translation enabled.
aic7xxx: Memory check yields 3 SCBs, paging not enabled.
AHA-2940A Ultra (PCI-bus), I/O 0x6000, Mem 0xe0210000:
    irq 11
    bus release time 40 bclks
    data fifo threshold 100%
    SCSI CHANNEL A:
        scsi id 7
        scsi selection timeout 256 ms
        scsi bus reset at power-on enabled
        scsi bus parity enabled
        scsi bus termination (low byte) enabled
aic7xxx: Downloading sequencer code...done.
aic7xxx: Resetting the SCSI bus...done.
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0
scsi : 1 host.
scsi0: Scanning channel A for devices.
scsi0: Target 0, channel A, now synchronous at 10.0MHz, offset 15.
  Vendor: QUANTUM   Model: FIREBALL_TM3200S  Rev: 300X
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
scsi : detected 1 SCSI disk total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 6281856 [3067 MB] [3.1
GB]

What the proc filesystem says:

asa# cat /proc/scsi/aic7xxx/0
Adaptec AIC7xxx driver version: 4.0/3.2/4.0

Compile Options:
  AIC7XXX_RESET_DELAY    : 15
  AIC7XXX_TWIN_SUPPORT   : Enabled
  AIC7XXX_TAGGED_QUEUEING: Disabled
  AIC7XXX_PAGE_ENABLE    : Disabled
  AIC7XXX_PROC_STATS     : Disabled

Adapter Configuration:
          SCSI Adapter: AHA-2940A Ultra
                        (AIC-785x chipset)
              Host Bus: Single
               Base IO: 0x6000
                   IRQ: 11
                  SCBs: Used 2, HW 3, Page 3
            Interrupts: 36500
         Serial EEPROM: True
  Extended Translation: Enabled
        SCSI Bus Reset: Enabled
            Ultra SCSI: Disabled
     Target Disconnect: Disabled

PCI bus:

PCI devices found:
  Bus  0, device  11, function  0:
    Ethernet controller: Realtek 8029 (rev 0).
      Medium devsel.  IRQ 10.  
      I/O at 0x6500.
  Bus  0, device  10, function  0:
    VGA compatible controller: Trident TG 9440 (rev 227).
      Medium devsel.  IRQ 255.  
      Non-prefetchable 32 bit memory at 0xe0000000.
      Non-prefetchable 32 bit memory at 0xe0200000.
  Bus  0, device   8, function  0:
    SCSI storage controller: Adaptec AIC-7861 (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master
Capable.  Latency=32.  Min Gnt=4.Max Lat=4.
      I/O at 0x6000.
      Non-prefetchable 32 bit memory at 0xe0210000.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371SB Natoma/Triton II PIIX3 (rev 0).
      Medium devsel.  Fast back-to-back capable.  Master Capable. 
Latency=32.  
      I/O at 0xf000.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371SB Natoma/Triton II PIIX3 (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No
bursts.  
  Bus  0, device   0, function  0:
    Host bridge: Intel 82437VX Triton II (rev 1).
      Medium devsel.  Master Capable.  Latency=32.  

Ioports:

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
02f8-02ff : serial(set)
03c0-03df : vga+
03f0-03f5 : floppy
03f7-03f7 : floppy DIR
03f8-03ff : serial(set)
6000-60be : aic7xxx
6500-651f : NE2000

Interrupts:
 0:   17971962   timer
 1:      10615   keyboard
 2:          0   cascade
10:     102973   NE2000
11:      36694 + aic7xxx
13:          1   math error

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