S.u.S.E. Support Data Base

Title: AHA2940AU (AIC 7861) driver error

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents ---- Deutsch ---

AHA2940AU (AIC 7861) driver error

Applicable to
S.u.S.E. version: all
Kernel version: up to 2.0.29

Symptom:

Disk timeouts are observable if an additional SCSI tape is connected to the SCSI adapter since no disconnection is done before. Besides the performance is very bad.

Cause:

An error in the driver. The driver supposes that the SCSI tape is a chip on the motherboard and consequently sets the flag "USE_DEFAULTS". Later on it notices that the adapter has an EEPROM; so the defaults are not set correctly.

Solution:

Apply the following patch:
--- aic7xxx.c.old
+++ aic7xxx.c
@@ -4814,7 +4814,9 @@
             case AIC_7850:
             case AIC_7855:
             case AIC_7860:
-            case AIC_7861:
+#if 0              
+            case AIC_7861:  /* AHA-2940AU */
+#endif              
               config.bios = AIC_DISABLED;
               config.flags |= USE_DEFAULTS;
               config.bus_speed = DFTHRSH_100;
If you are not familiar with patches, simply erase the line 4817 in /usr/src/linux/drivers/scsi/aic7xxx.c.
The error has already been reported to the driver's developer. The patch has not been incorporated into the standard kernel yet.

Credits:

Peter Pointner (peter@wuzel.m.isar.de) found the error and the solution. He uses a patched kernel in several computers running an AIC 7861.

---

See also:

---

Keywords: AHA2940AU, 2940AU, 2940, SCSI, DISCONNECT, AIC7861, 7861, DRIVER

---

Feedback welcome: Send Mail to mantel@suse.de (Please give the following subject: SDB-aic7861)

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents ---- Deutsch ---

SDB-aic7861, Copyright S.u.S.E. GmbH, Fürth, Germany - Version: 07.03.97
Impressum - Last generated: 17. Sep 1997 12:55:40 by mb with sdb_gen 0.70.0