PROBLEM: GDTH host driver hangs system when initailized after AIC7XXX

From: Roman Fietze (fietze@kagcpd01.ag01.kodak.COM)
Date: Thu Mar 23 2000 - 08:51:42 EST


Hello,

I hope it's not too much information, I've just read REPORTING-BUGS
in
the kernel dist.

[1]

GDTH host driver hangs system when initailized after AIC7XXX

[2]

PCI system with two SCSI host adapters: AIC7XXX and GDTH. When
booting
a kernel with both HA's compiled in (no modules) the AIC7XXX
initialzes w/o problems, the GDTH driver after printing "Configuring
GDT-PCI HA at 0/11 IRQ 10". System needs Reset. Turning on the trace
of the GDTH driver, the last mesage displayed is "GDT: This driver
contains debugging information ...". That's all.

[3]

scsi drivers gdth aic7xxx

[4]

2.2.14

[7.1]

Linux kagcpd05 2.2.14 #4 SMP Mon Jan 10 15:42:55 CET 2000 i686
unknown
Kernel modules 2.3.6
Gnu C egcs-2.91.66
Binutils 2.9.1.0.25
Linux C Library x 1 root root 4223971 Nov 6 17:22
/lib/libc.so.6
Dynamic linker ldd (GNU libc) 2.1.2
Procps 2.0.2
Mount 2.9z
Net-tools 1.53
Kbd 0.99
Sh-utils 2.0
Modules Loaded floppy

[7.2]

processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 12
cpu MHz : 400.917973
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mmx
3dnow
bogomips : 799.54

[7.3]

none

[7.4]

/proc/scsi/scsi:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ICP Model: Host Drive #00 Rev:
  Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 05 Lun: 00
  Vendor: HP Model: C1537A Rev: L708
  Type: Sequential-Access ANSI SCSI revision: 02
---------------------------------------------------------------------
---------

/proc/scsi/aic7xxx/1:

Adaptec AIC7xxx driver version: 5.1.21/3.2.4
Compile Options:
  TCQ Enabled By Default : Enabled
  AIC7XXX_PROC_STATS : Disabled
  AIC7XXX_RESET_DELAY : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-2940A Ultra SCSI host adapter
                           Ultra Narrow Controller
    PCI MMAPed I/O Base: 0xea001000
    PCI Bus 0x00 Device 0x48
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 11
                   SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 3, Page 255
             Interrupts: 49
      BIOS Control Word: 0x10b4
   Adapter Control Word: 0x005c
   Extended Translation: Enabled
Disconnect Enable Flags: 0x00ff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi1:0:5:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
  Transinfo settings: current(25/15/0/0), goal(25/15/0/0),
user(25/15/0/0)
  Total transfers 0 (0 reads and 0 writes)
---------------------------------------------------------------------
---------

/proc/scsi/gdth/0:

Driver Parameters:
 reserve_mode: 1 reserve_list: --
 max_ids: 127 hdr_channel: 0

Disk Array Controller Information:
 Number: 0 Name: GDT6118RD
 Driver Ver.: 1.17 Firmware Ver.: 1.22.10-N01F
 Serial No.: 0x1FC0A133 Cache RAM size: 65536 KB

Physical Devices:
 Chn/ID/LUN: A/00/0 Name: IBM DNES-309170W
  SA30
 Capacity [MB]: 8747 To Log. Drive: 0
 Retries: 0 Reassigns: 0
 Grown Defects: 0

 Chn/ID/LUN: A/01/0 Name: IBM DNES-309170W
  SA30
 Capacity [MB]: 8747 To Log. Drive: 0
 Retries: 0 Reassigns: 0
 Grown Defects: 0

Logical Drives:
 Number: 0 Status: ok
 Capacity [MB]: 8747 Type: RAID-1
 Slave Number: 8 Status: ok
 Missing Drv.: 0 Invalid Drv.: 0
 To Array Drv.: --

Array Drives:
 --

Host Drives:
 Number: 0 Arr/Log. Drive: 0
 Capacity [MB]: 8746 Start Sector: 0

Controller Events:

[7.5]

/proc/interrupts:

           CPU0
  0: 9377 XT-PIC timer
  1: 2 XT-PIC keyboard
  2: 0 XT-PIC cascade
  5: 186 XT-PIC eth0
  8: 2 XT-PIC rtc
 10: 3702 XT-PIC gdth
 11: 45 XT-PIC aic7xxx
 13: 1 XT-PIC fpu
 14: 5 XT-PIC ide0

[8] Workarounds:

Booting a kernel w/o the HA drivers compiled in (I used the SuSE boot
floppy) then loading GDTH as a module first and then AIC7xxxx.,

or

Swapping the order of GDTH and AIC7XXX in the arry
builtin_scsi_hosts[] in linux/drivers/scsi/hosts.c so the GDTH comes
before the AIC7XXX entry.

Roman

-- 
Roman Fietze (Mail Code 5023)       Heidelberg Digital Finishing GmbH
fietze@kagcpd01.ag01.kodak.COM                       fietze@kodak.COM

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



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:38 EST