[8387] in linux-scsi channel archive

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

Re: BUG?! AHA2940U2W in 2.2.14 does not detect mediachange.

daemon@ATHENA.MIT.EDU (Dr. Michael Weller)
Fri Mar 17 09:43:48 2000

Date:	Fri, 17 Mar 2000 02:05:19 +0100 (MEZ)
From: "Dr. Michael Weller" <eowmob@exp-math.uni-essen.de>
To: linux-scsi@vger.rutgers.edu
Message-Id: <Pine.A32.3.95.1000317015754.63950A-100000@werner.exp-math.uni-essen.de>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Sorry to follow up myself. 

Adding a printk to aic7xxx_done_cmds_complete(struct aic7xxx_host *p) in
aic7xxx.c I realised that properly detected media changes cause a
sense_buffer of 0x700006 (first 3 bytes), which is fine.

In case of misdetected media changes a spurious sense message of 0x700000
occurs. I see no reason why a device would cause such a sense message,
esp. I said the disk runs well on another machine.

I'd rather assume that there is some problem retrieving the sense info in
the aic driver.

At the very least, it seems clear to me that the problem is in the aic7xxx
driver. This driver source, however, looks pretty weird to me.

I need some helping hands of someone knowing the hardware and driver well.

Thanks,
Michael.

--

Michael Weller: eowmob@exp-math.uni-essen.de, eowmob@ms.exp-math.uni-essen.de,
or even mat42b@spi.power.uni-essen.de. If you encounter an eowmob account on
any machine in the net, it's very likely it's me.



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

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