From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: Can't unbind PCI sound card Date: Thu, 27 Sep 2007 14:44:42 +0100 Message-ID: <1190900682.6562.5.camel@localhost.localdomain> References: <009001c800ff$61018850$6501a8c0@warbler> <1190897735.4381.51.camel@localhost.localdomain> <00e901c8010b$63868f10$6501a8c0@warbler> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <00e901c8010b$63868f10$6501a8c0@warbler> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tech Writer Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, 2007-09-27 at 09:36 -0400, Tech Writer wrote: > I am definitely trying to unbind the PCI sound card. The "example" I > included was one that I pulled off the web. I just re-read my initial > note, and realized i just edited the web example. My exact command is > this: > > echo -n 0000:00:0b.0 > /sys/bus/pci/drivers/ENS1371/unbind > > ... and this command just hangs. My best guess would be that the device in in use and therefore it is hanging waiting for the devices reference count to drop to zero before it can unbind. You probably need to find which process has the sound-device open, the lsof tool might help here. Ian.