Date: Wed, 26 Feb 2003 12:43:26 +0900 From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> To: freebsd-scsi@freebsd.org Subject: call scan_bus in interrupt context. Message-ID: <ybsu1erlna9.wl@ett.sat.t.u-tokyo.ac.jp>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybsu1erlna9.wl>