Crash/Reboot with Adaptec 3940UW

Jeffrey Veiss jsv at sirveiss.com
Sun Jul 4 17:36:11 PDT 1999


Calling all SCSI experts:

I have a bit of a challenge with an Adaptec 3940UW SCSI card.  To start off,
here's the specs:

   Tyan Trinity 1590 Motherboard v1.16
   AMD K6 233MHz CPU
   128M SDRAM
   Windows 98 loaded on a Western Digital 4G EIDE drive (4 part VFAT)
   Redhat 6 loaded on Seagate Cheetah (3 part VFAT, 4 part ext2, 1 part swap)
   See below for more info


The Problem:

   I was happily computing along, backing up my laptop to the /home partition
   on the above machine (hostname = fuzzy) using rdist when fuzzy restarted.  
   This happened three times before I decided to do something else and work
   on why later.  The next day (I don't remember what i was doing), fuzzy
   was rebooting into linux and needed to fsck the / partition (sda5).  As
   it was trying to fsck, it crashed/rebooted with no errors.  Every reboot
   has the same result.  The only major change to the system was a
   motherboard BIOS update.
   

Things I tried:

   o Booting from Slackware 3.5 SCSI boot/rescue root floppies and running
     fsck on sda5.

   o Booting from Slackware 4.0 aic7xxx boot/rescue root floppies and running
     fsck on sda5.

   o When booting/rooting from floppy, I can mount sda5 but if I poke
     around too much (cd's & ls's), it eventually crashes/reboots.

   o I can fsck the other ext2 sda* partitions, but poking around too much
     eventually crashes/reboots (tar'ing each partition causes a crash).

   o Tar'ing a CD from either CD-ROM drive doesn't cause a crash.

   o Setting Bus A termination to Disabled and Bus B termination to Enabled.

   o I booted with aic7xxx=panic_on_abort,verbose and it still rebooted.

   o I downgraded the motherboard BIOS to the original version and it still
     crashes.

   o Windows 98 (scarily enough) works fine.  I did a thorough scandisk on
     all EIDE & SCSI partitions with no problem.  Both CD-ROM's work fine.

   o The cheetah was repartitioned and installed with Redhat 6 a few weeks ago
     and except when I had to turn off wide negotiation on the CD-ROM and Zip
     drives, has been working fine.

At this point, I'm at a loss as to what to try next.  Possibilities include
hardware failure on either the SCSI Card or Seagate Cheetah or a SCSI BIOS
mis-configuration, but then why does Windows 98 work?  (No really, why
does Windows 98 work? :-)  )

Any assistance would be gratefully appreciated!

Please contact me if there are any further questions via internet mail at
jsv at sirveiss.com.  Thank you very much!

Jeffrey Veiss (jsv at NOSPAMsirveiss.com)      13 Lynn Court
Network Engineer/System Administrator       Somerville, NJ 08876
Sir Veiss, Inc.                             (908) 431-1318

----------------------------------------
Here's some other useful info:

Significant IRQ's:

 3     COM2
 4     COM1
 5 IDE Creative Labs AWE32
 7 PCI Adaptec AHA-3940 Ultra/Ultra Wide v1.25
10 PCI Adaptec AHA-3940 Ultra/Ultra Wide v1.25
11 PCI 3Com Fast Ethernet
14     Enhanced IDE Bus
15     USB
NA PCI Creative Labs Voodoo 2
NA AGP ATI All-In-Wonder Pro 8M

(Parallel and 2nd IDE ports turned on in the CMOS)

 - - - - - - - - - - - - - - - - - - - - -

Adaptec AHA-3940UW BIOS Settings:

A:
   ID 0:  Seagate Cheetah ST19101W Ultra 9G Internal (Terminated)
   ID 5:  External Iomega Zip Drive (Terminated)
   SCSI Bus Interface Definitions
      Host Adapter SCSI ID............... 7
      SCSI Parity Checking............... Enabled
      Host Adapter SCSI Termination...... Automatic
   Additional Options
      Boot Device Options
         Boot Channel.................... B First
         Boot Target ID.................. 0
         Boot LUN Number................. 0
      SCSI Device Configuration
         Initiate Sync Negotation........ yes to all id's
         Maximum Sync Xfer Rate.......... 40 for all except 20 for id 5
         Enable Disconnection............ yes for all id's
         Initiate Wide Negotiation....... no for all id's except 0 & 7
         Send Start Unit Command......... no for all id's
         Include in BIOS Scan............ yes for all id's
      Advanced Configuration Options
         Reset SCSI Bus at IC Initalization....... Enabled
         Channel A BIOS........................... Enabled
         Support Removable Disks as Fixed Disks... Boot Only
         Extended Translation for DOS Drives >1G.. Enabled
         Channel A Display <Ctrl-A> Msg........... Enabled
         Multiple LUN Support..................... Disabled
         BIOS Support for Bootable CD-ROM......... Disabled
         BIOS Support for Int13 Extensions........ Enabled
         Support for Ultra SCSI Speed............. Enabled

B:
   ID 2:  Plextor 8plex CD-ROM Drive
   ID 4:  Plextor 4/12 CD Writer (Terminated)
   SCSI Bus Interface Definitions
      Host Adapter SCSI ID............... 7
      SCSI Parity Checking............... Enabled
      Host Adapter SCSI Termination...... Automatic
   Additional Options
      Boot Device Options
         Boot Channel.................... B First
         Boot Target ID.................. 0
         Boot LUN Number................. 0
      SCSI Device Configuration
         Initiate Sync Negotation........ yes to all id's
         Maximum Sync Xfer Rate.......... 20 for all id's
         Enable Disconnection............ yes for all id's
         Initiate Wide Negotiation....... no for all id's
         Send Start Unit Command......... no for all id's
         Include in BIOS Scan............ yes for all id's
      Advanced Configuration Options
         Reset SCSI Bus at IC Initalization....... Enabled
         Channel A BIOS........................... Enabled
         Support Removable Disks as Fixed Disks... Boot Only
         Extended Translation for DOS Drives >1G.. Enabled
         Channel A Display <Ctrl-A> Msg........... Enabled
         Multiple LUN Support..................... Disabled
         BIOS Support for Bootable CD-ROM......... Enabled
         BIOS Support for Int13 Extensions........ Enabled
         Support for Ultra SCSI Speed............. Disabled

 - - - - - - - - - - - - - - - - - - - - -

dmesg output (whilst booting with Slackware 4.0 aic7xxx boot disk):

Linux version 2.2.6 (root at zap) (gcc version 2.7.2.3) #14 Tue Apr 27 15:06:58 CDT 1999
Detected 233865908 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 466.94 BogoMIPS
Memory: 127752k/131072k available (1280k kernel code, 408k reserved, 1576k data, 56k init)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: AMD AMD-K6tm w/ multimedia extensions stepping 02
Checking 386/387 coupling... OK, FPU using exceptoin 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: 00:38 [1106/0586]: Work around ISA DMA hangs (00)
Activating ISA DMA hang workarounds.
Linux NET 4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Initializing RT netlink socket
Starting kswapd v 1.5 
Detected PS/2 Mouse Port.
Serial driver version 4.27 with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.09
RAM disk driver initialized:  16 RAM disks of 49152K size
loop: registered device at major 7
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xe400-0xe407, BIOS settings: hda:DMA, hdb:DMA
hda: WDC AC24300L, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: WDC AC24300L, 4112MB w/256kB Cache, CHS=524/255/63, UDMA
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
linear personality registered
raid0 personality registered
(scsi0) <Adaptec AHA-394X Ultra SCSI host adapter> found at PCI 4/0
(scsi0) Wide Channel A, SCSI ID=7, 16/255 SCBs
(scsi0) Warning - detected auto-termination
(scsi0) Please verify driver detected settings are correct.
(scsi0) If not, then please properly set the device termination
(scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
(scsi0) during machine bootup.
(scsi0) Cables present (Int-50 NO, Int-68 YES, Ext-68 NO)
(scsi0) Downloading sequencer code... 419 instructions downloaded
(scsi1) <Adaptec AHA-394X Ultra SCSI host adapter> found at PCI 5/0
(scsi1) Wide Channel B, SCSI ID=7, 16/255 SCBs
(scsi1) Warning - detected auto-termination
(scsi1) Please verify driver detected settings are correct.
(scsi1) If not, then please properly set the device termination
(scsi1) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
(scsi1) during machine bootup.
(scsi1) Cables present (Int-50 NO, Int-68 YES, Ext-68 NO)
(scsi1) Downloading sequencer code... 419 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4
       <Adaptec AHA-394X Ultra SCSI host adapter>
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4
       <Adaptec AHA-394X Ultra SCSI host adapter>
scsi : 2 hosts.
  Vendor: SEAGATE   Model: ST19101W          Rev: 0014
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
  Vendor: IOMEGA    Model: ZIP 100           Rev: D.09
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi removable disk sdb at scsi0, channel 0, id 5, lun 0
  Vendor: PLEXTOR   Model: CD-ROM PX-8XCS    Rev: 1.03
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi1, channel 0, id 2, lun 0
  Vendor: PLEXTOR   Model: CD-R   PX-R412C   Rev: 1.06
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi1, channel 0, id 4, lun 0
scsi : detected 2 SCSI cdroms 2 SCSI disks total.
(scsi1:0:2:0) Synchronous at 10.0 Mbyte/sec, offset 15.
Uniform CDROM driver Revision: 2.54
(scsi1:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 8.
sr1: scsi3-mmc drive: 12x/12x writer cd/rw xa/form2 cdda caddy
(scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]
sdb: Write Protect is off
Partition check:
 sda: sda1 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 >
 sdb: sdb4
 hda: hda1 hda2 < hda5 hda6 hda7 >
VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER
VFS: Disk change detected on device fd(2,0)
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 56k freed
UMSDOS dentry-pre 0.84 (compatibility level 0.4, fast msdos)



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




More information about the aic7xxx mailing list