From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 19 20:18:56 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8038A2A1; Fri, 19 Apr 2013 20:18:56 +0000 (UTC) (envelope-from ben@b1c1l1.com) Received: from lancer.b1c1l1.com (lancer.b1c1l1.com [IPv6:2607:f358:1a:1a:1000::]) by mx1.freebsd.org (Postfix) with ESMTP id 656371C8D; Fri, 19 Apr 2013 20:18:56 +0000 (UTC) Received: by lancer.b1c1l1.com (Postfix) with ESMTPSA id 104485C47; Fri, 19 Apr 2013 13:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=b1c1l1.com; s=default; t=1366402735; bh=/wa1pLwm49C0VhnW9/HauPUdiLHr13sc5BCbqt2UpnQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=wKX4IMqrrSUV00emrDxrk57Dtv/d0amBSscjZ6OOWycX827AQyfzwtCWtR4g76gfG 3iVhmID88kWOBcc3x8ViqQ1Z4SCQ10RbYwxYr6CYlfIsqraX6JKfDMdSLVDC68hcP/ lrKOW//rd4G1o6e8wQOUKxK81N67GcA2dBtnF+qQ= Date: Fri, 19 Apr 2013 13:18:49 -0700 From: Benjamin Lee To: John Baldwin Subject: Re: panic: acpi_pci_link_srs_from_crs: can't put non-ISA IRQ 20 in legacy IRQ resource type) Message-ID: <20130419131849.7357c8f6@b1c1l1.com> In-Reply-To: <201304191131.49433.jhb@freebsd.org> References: <20130418124940.47e3618a@b1c1l1.com> <201304191131.49433.jhb@freebsd.org> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/H2TZTOUAUQLx.N49+k18BPK"; protocol="application/pgp-signature" Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 20:18:56 -0000 --Sig_/H2TZTOUAUQLx.N49+k18BPK Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 19 Apr 2013 11:31:49 -0400, John Baldwin wrote: > On Thursday, April 18, 2013 3:49:40 pm Benjamin Lee wrote: > > I have a system that panics on boot with 10-CURRENT and boots with many > > ACPI error messages and non-functional devices with 9.1-RELEASE. > >=20 > > Motherboard is Foxconn C51XEM2AA (NVIDIA nForce 590) desktop board. [...] > > Even though 9.1-RELEASE boots successfully, devices such as the ehci USB > > controller and SATA controller do not work. >=20 > Ugh, your BIOS does unexpected things. It uses a _CRS for these pci link > devices that uses a "short" IRQ resource, but uses an extended IRQ resour= ce in > _PRS (and expects an extended one in _SRS). We use _CRS as a template fo= r the > resource to build. >=20 > Try this patch. It's a bit hackish, but it forces us to not use _CRS as a > template if _CRS uses a "short" IRQ resource, but the link supports non-I= SA > IRQs. [...] Thanks, that fixed the panic and the system boots. Now it is complaining about AE_AML_BAD_RESOURCE_LENGTH and still unable to route IRQs, but it definitely looks better than the ACPI parsing errors in 9: pcib0: allocated type 3 (0xdffff000-0xdfffffff) for rid 10 of pci0:0:10:0 pcib0: matched entry for 0.10.INTA (src \_SB_.PCI0.AUBA:0) pci_link26: Picked IRQ 20 with weight 0 pci_link26: Unable to route IRQs: AE_AML_BAD_RESOURCE_LENGTH Full boot -v output: http://www.b1c1l1.com/media/debug/20130419-10-patched-= boot.txt.gz --=20 Benjamin Lee http://www.b1c1l1.com/ --Sig_/H2TZTOUAUQLx.N49+k18BPK Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJRcaauAAoJEHpz6H1iC6qDjhUP+wQMAzVGf23lBJ0U7vxmNZ+C R6chW0aG3ygUzVv9hHFeZiFgUbCt6SvnfCp8MLcWLZ/Vp3FBRSrp1p2FIHW/O9UM hzyp7OzOLzR4NikixwAIzj043PMAMVtDDATmW47qakghLBbdp99aa9+6htZLCReT SOWeQ/2bUxphfqJBxwD9CI+m+j2qApZAxRv++mTEpLD3mKLTzFmxmucwbsbYWF/I BrE6K2p5tcOk9q/kCXMgUVREkjJzqf0ULRTlLQx0ryXVpxbXin26/zeiC0qpDqhM /W6HI8ORbZdpPjNNX8rniz/n5SWQWs9p4QtAj1MoTfrMonUUSpeGlq+THWO6MCkN +WD9ASNwDv88u1kTWi+9VyKz4c4p+5ISYODZnE7hfmn/sLJvAKV7fRYBL+LIoxet nPEfNHmXyHXSDiqNMcyDKwnst1uW393aiS/e9Eg0uV6tgg489dnzH7WKckR0Mwo9 dyzMn/SwaiPbCCBraDWFnZkP5EGEbncdmucpoR6UZskOYQpLEvj1/vYIEF1X0EUZ NZ0ihApdfBCbkXW7N/I0wIIv6wVic5CF/eDPAsuBj0eb91sp/fqOed4QWz3zwF2x QVRuvGbZnoqjIby+cx+pQgf3xc6PmmbYGfWWVLM4xNn4iVZgHL8B+1uDS8gy7wNk MJ4kOTIZpbwANeoN+LMj =dfgn -----END PGP SIGNATURE----- --Sig_/H2TZTOUAUQLx.N49+k18BPK--