From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 24 22:19:35 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A8D416A418 for ; Wed, 24 Oct 2007 22:19:35 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp803.mail.ird.yahoo.com (smtp803.mail.ird.yahoo.com [217.146.188.63]) by mx1.freebsd.org (Postfix) with SMTP id 034D813C4A8 for ; Wed, 24 Oct 2007 22:19:34 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 77331 invoked from network); 24 Oct 2007 21:52:40 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@86.139.235.242 with plain) by smtp803.mail.ird.yahoo.com with SMTP; 24 Oct 2007 21:52:40 -0000 X-YMail-OSG: GMVS2Q0VM1k.n2aGUgaWi04nDX_jCNip8tPoOy7oycQDlZfQQ2jiBJTi73W3DGwv7tBbbS2RVfJswTpbJc7.Pn8- Message-ID: <471FCE4C.70303@tomjudge.com> Date: Wed, 24 Oct 2007 23:59:24 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: John Baldwin References: <471CCA24.4080400@tomjudge.com> <200710232328.18947.jhb@freebsd.org> In-Reply-To: <200710232328.18947.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Attach (acpi_ibm) stops mouse from working X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2007 22:19:35 -0000 John Baldwin wrote: > On Monday 22 October 2007 12:04:52 pm Tom Judge wrote: >> Hi, >> >> >> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last >> week, however I have a problem with the acpi_ibm module. >> >> If I add acpi_ibm_load="YES" to loader.conf I get the following message >> during boot: >> >> psm0: unable to allocate IRQ >> >> This is followed by a message stating that the acpi_ibm module has >> attached to IRQ 12. >> >> If I remove this module from loader.conf and boot the system the mouse >> attaches and works as expected. If I then kldload acpi_ibm the module >> attaches to acpi0. >> >> >> Is there any way to make this work without loading the acpi module after >> boot? > > Can you provide your acpidump as well as devinfo -rv output from both cases? > (i.e. when it is loaded at boot and when it is kldloaded after boot) > Hi, After spending many hours trying to reproduce this I have narrowed it down to the order in which the modules are loaded (and by nature listed in /boot/loader.conf). It seems that the psm will only attach when acpi_ibm is listed at the end of loader.conf. I have run a sequence of tests and gathered the following data acpidump -dt devinfo -rv /var/run/dmesg.boot Kernel config (T43) The file names are in the format {data}-{acpi_ibm_load line number in loader.conf}-{good=psm attached/bad=psm failed to attach} The files are avaliable here: http://www.tomjudge.com/tmp/debug.tgz If you want any more information please let me know. Tom J