Actually, I really appreciate if we have "XPT_SCAN_TARGET" which can
be called in a interrupt context, and scan all LUNs regardless of
existance of 'LUN 0'(like CAM_QUIRK_HILUN).
/\ Hidetoshi Shimokawa
\/ simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
At Wed, 26 Feb 2003 12:43:26 +0900,
Hidetoshi Shimokawa wrote:
>
> Hi,
>
> I have a question about XPT_SCAN_BUS in CAM.
> I need to initiate a bus scan from a interrupt context but xpt_alloc_ccb()
> failed because it calls malloc with M_WAITOK.
> (kernel panics if you compile it with INVARIANTS in 4-stable)
>
> I'd like to call it in firewire/sbp.c.
>
> What is the right way to initiate a bus scan in a interrupt context?
> Do I need a kernel thread to do that?
>
> /\ Hidetoshi Shimokawa
> \/ simokawa@sat.t.u-tokyo.ac.jp
> PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message