Date: Mon, 28 Nov 2011 15:14:21 -0800 From: Xin LI <delphij@delphij.net> To: freebsd-current@freebsd.org Subject: Re: iSCSI initiator: iscontrol cannot be stopped or killed Message-ID: <4ED415CD.1080005@delphij.net> In-Reply-To: <201111240126.21470.Mark.Martinec%2Bfreebsd@ijs.si> References: <201111240126.21470.Mark.Martinec%2Bfreebsd@ijs.si>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/23/11 16:26, Mark Martinec wrote: > Problem: the iscontrol process starts normally and establishes a > session and brings up a device, but it cannot be stopped. It does > not react to a HUP signal, and neither to KILL. > > The /dev/da0 device is operational and the remote disk remains > normally accessible, regardless of how I try to (unsuccessfully) > shutdown the iscontrol process. The ps reports the state of the > process as "Ds", not doing anything. A ktrace does not show any > reaction to a received signal. A restart seems to be necessary to > break the iSCSI session. > > Using FreeBSD 9.0-rc2, amd64, also tried with 9.0-PRERELEASE (csup > tag=RELENG_9 as of today). This used to work normally as > documented on the same host with the same iscsi.conf config file > before upgrading from 8.2 to 9.0. > > Anybody else experiencing this problem? Suggestions welcome. Try procstat -kk <pid> to find the calling stack, as a start? This could be very useful when tracking down problems. Also the 'D' flag from ps(1) output in most times are not quite useful and ps -o wchan would tell you what exactly it was waiting for, just FYI. Cheers, - -- Xin LI <delphij@delphij.net> https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJO1BXMAAoJEATO+BI/yjfBd2AIAJW1xHR93fN5eROUz9rs1YiX 8ANhcPTLmScN04YJb65ytm/BYUVKAtUN/rct2seZPosHO+REvYJhF7Tz5DKRRHJX h+LG65S3HNBR9GBLdadw5BusbvU+T18oTvrxnqPtB1vcn5pEvQk0xtw3M3R/PrIu V45mACO0f51auQl8oHfTUKzY48k06eDszyQhlrGCbY1FTydUU2e8AqJKd6GEIx31 f6kd0WGTpcIam6WdONpTR08d2HoPp/zK0gUADW+S2NiKfzDCy/PvJL+02lK2YlEy M6dvnk62X6Tfkv1SV947WZT57UMDZkXbVNgwjvxwT5tSKUUbeGGvm241ZnLN2HI= =IZ2x -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED415CD.1080005>