From owner-freebsd-current@FreeBSD.ORG Fri Apr 6 21:17:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E098A16A402; Fri, 6 Apr 2007 21:17:03 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5AD9413C4C5; Fri, 6 Apr 2007 21:17:03 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (dialup137.ach.sch.gr [81.186.70.137]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l36LEu53016446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 7 Apr 2007 00:15:38 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l36LEPiW001513; Sat, 7 Apr 2007 00:14:49 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l36LCUqC001180; Sat, 7 Apr 2007 00:12:30 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Sat, 7 Apr 2007 00:12:30 +0300 From: Giorgos Keramidas To: John Baldwin , Ariff Abdullah Message-ID: <20070406211229.GB1078@kobe.laptop> References: <4608A5D9.2010902@root.org> <20070327151058.5qk9etifk880g4cc@webmail.leidinger.net> <20070327140741.GA60454@kobe.laptop> <200703271227.14308.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200703271227.14308.jhb@freebsd.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.079, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.32, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: Alexander Leidinger , freebsd-current@freebsd.org, current@freebsd.org, S?ren Schmidt , Nate Lawson Subject: Re: recent commits break via 8235 ata X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 21:17:04 -0000 On 2007-03-27 12:27, John Baldwin wrote: > If that is the case it's because code was using > rman_get_bus(handle|tag) on a resource that wasn't activated yet which > wouldn't have worked before the nexus changes either. Well, the bus > tag might have been right, but the handle for SYS_RES_MEMORY would > have been wrong. This is the change which stops snd_hda from working here: % Date: Wed, 21 Mar 2007 15:39:12 +0000 (UTC) % Message-Id: <200703211539.l2LFdCQW036704@repoman.freebsd.org> % From: John Baldwin % Subject: cvs commit: src/sys/dev/acpica acpi.c % To: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org % Cc: % % jhb 2007-03-21 15:39:12 UTC % % FreeBSD src repository % % Modified files: % sys/dev/acpica acpi.c % Log: % Change acpi's handling of suballocating system resources to be a little % simpler. It now can just use rman_is_region_manager() during % acpi_release_resource() to see if the the resource is suballocated from % a system resource. Also, the driver no longer needs MD knowledge about % how to setup bus space tags and handles when doing a suballocation, but % can simply rely on bus_activate_resource() in the parent setting all that % up. % % Revision Changes Path % 1.233 +39 -55 src/sys/dev/acpica/acpi.c If I update my kernel sources to Wed Mar 21 14:39:39 2007 +0000 (including the sys/modules/padlock/Makefile commit of Sam Leffler, to fix the kernel build from Wed Mar 21 17:37:13 2007 +0000), I can see that the snd_hda driver probes my sound card correctly. Updating after the commit shown above, breaks snd_hda. Updating to CVS HEAD and reverting the commit above, seems to work almost fine, but then I get the following: ACPI Exception (utmutex-0376): AE_TIME, Thread 8 could not acquire Mutex [0] [20070320] ACPI Error (exutils-0180): Could not acquire AML Interpreter mutex [20070320] ACPI Error (utmutex-0421): Mutex [0] is not acquired, cannot release [20070320] ACPI Error (exutils-0250): Could not release AML Interpreter mutex [20070320] Any idea how to proceed in fixing acpi or snd_hda itself? - Giorgos