Re: aic79xx noise on hot insert in 2.6.19.x and 2.6.20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Darrick J. Wong wrote:
> Mark Rustad wrote:
>> I have systems with Supermicro X6-class (Nocona/Lindenhurst)
>> motherboards with Adaptec SCSI and SAFTE backplanes running software
>> RAID-1 (md) on a pair of drives. When I hot-insert a drive, I get a lot
>> of noise from the kernel apparently due to lack of handling something in
>> the interrupt routine. So far, life seems to go on after the event, but
>> not knowing anything about the internals of the driver, I am concerned
>> enough to want to ask about it.
> 
> I see the noise too, though I don't know enough about aic79xx (and am
> too busy with aic94xx) to do anything about it.  As far as I can tell,
> the driver's just being a little trigger happy with the "DUMP CARD
> STATE" routine.  But that's my totally unqualified opinion. :)
> 
Yeah, that's default behaviour with aic79xx. First complain and then
check if it actually was an error.

But anyway, looks like it was actually my fault. Might be an idea to
clear the bus reset flag again.

Care to try the attached patch?

Cheers,

Hannes
-- 
Dr. Hannes Reinecke			hare@xxxxxxx
SuSE Linux Products GmbH		S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de
diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c b/drivers/scsi/aic7xxx/aic79xx_core.c
index 07a86a3..bf073d2 100644
--- a/drivers/scsi/aic7xxx/aic79xx_core.c
+++ b/drivers/scsi/aic7xxx/aic79xx_core.c
@@ -1645,6 +1645,7 @@ ahd_handle_scsiint(struct ahd_softc *ahd
 	 */
 	if (((status & SCSIRSTI) != 0) && (ahd->flags & AHD_BUS_RESET_ACTIVE)) {
 		ahd_outb(ahd, CLRSINT1, CLRSCSIRSTI);
+		ahd->flags &= ~AHD_BUS_RESET_ACTIVE;
 		return;
 	}
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux