[9245] in linux-scsi channel archive
Re: need help
daemon@ATHENA.MIT.EDU (Kurt Garloff)
Tue Jul 25 15:28:13 2000
Date: Tue, 25 Jul 2000 21:13:11 +0200
From: Kurt Garloff <garloff@suse.de>
To: hiren_mehta@agilent.com
Cc: Linux SCSI list <linux-scsi@vger.rutgers.edu>
Message-ID: <20000725211311.W19177@garloff.etpnet.phys.tue.nl>
Mail-Followup-To: Kurt Garloff <garloff@suse.de>, hiren_mehta@agilent.com,
Linux SCSI list <linux-scsi@vger.rutgers.edu>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
protocol="application/pgp-signature"; boundary="A47bNRIYjYQgpFVi"
Content-Disposition: inline
In-Reply-To: <FEEBE78C8360D411ACFD00D0B74779718807F5@xsj02.sjs.agilent.com>; from hiren_mehta@agilent.com on Tue, Jul 25, 2000 at 10:32:00AM -0600
--A47bNRIYjYQgpFVi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Jul 25, 2000 at 10:32:00AM -0600, hiren_mehta@agilent.com wrote:
> We are testing our scsi hba driver for our adapter for SMP. The driver is=
a=20
> loadable-module. It loaded without any problem. But while running I/O=20
> (e.g. creat file system), it panics in scsi_request_queueable(). I see=20
> the following message on the screen.=20
>=20
> panicInactive in scsi_request_queueable
>=20
> That means that req->rq_status is RQ_INACTIVE. I am not sure what should
> be the value of rq_status at that point.=20
AFAIK, RQ_INACTIVE means that you tried to queue a SCSI command, when there
is no request pending.
> The driver runs fine on UP machine. I am using io_request_lock to make=20
> it SMP compliant.=20
something like=20
spin_lock_irqsave (&io_request_lock, flags);
REAL_IRQ_HANDLER();
spin_unlock_irqrestore (&io_request_lock, flags);
RETURN;
Make sure the restored flags are the same than the saved ones.
This means, that they need to be local (per-CPU) on the stack and not a
global variable.
Regards,
--=20
Kurt Garloff <garloff@suse.de> Eindhoven, NL
GPG key: See mail header, key servers Linux kernel development
SuSE GmbH, Nuernberg, FRG SCSI, Security
--A47bNRIYjYQgpFVi
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1e-SuSE (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org
iD8DBQE5febGxmLh6hyYd04RAlumAKDR71j6fcQkkqwgso98tnV5BfHYJwCgtZEe
D3YdN7yzNyNXqp/yffBtBrc=
=owQ0
-----END PGP SIGNATURE-----
--A47bNRIYjYQgpFVi--
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu