From owner-freebsd-mobile Wed Apr 5 13:48:17 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id A940637BF8C for ; Wed, 5 Apr 2000 13:48:11 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn57.imasy.or.jp [202.227.24.249]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id FAA14401; Thu, 6 Apr 2000 05:48:07 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004052048.FAA14401@tasogare.imasy.or.jp> To: nate@yogotech.com Cc: iwasaki@jp.FreeBSD.org, freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: restart pccardd by SIGHUP In-Reply-To: Your message of "Wed, 5 Apr 2000 14:07:29 -0600 (MDT)" <200004052007.OAA17156@nomad.yogotech.com> References: <200004052007.OAA17156@nomad.yogotech.com> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 06 Apr 2000 05:48:06 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 19 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > > http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff > > is for restarting pccardd by sending SIGHUP like > > > > # kill -HUP `cat /var/run/pccardd.pid` > > > > On restart, some efforts would be made for consistency such as > > maintain resource and card entry (except for generic entry) being > > used. > > This is *really* a good thing. Right now it's too difficult to debug > the system and get a working configuration. Thanks! Actually I thought of sysctl(machdep.checkio) in 3.X to get current available resources dynamically, but I couldn't get how to get them from resource manager of newbus system in 4.X and -CURRENT. The solution is that detect used resources comparing initial state vs. current state of resource pool within pccardd and reflect them after reloading config files. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message