From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 4 09:55:51 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D5D516A41F; Sun, 4 Dec 2005 09:55:51 +0000 (GMT) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B4CD43D46; Sun, 4 Dec 2005 09:55:49 +0000 (GMT) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82]) by www.svzserv.kemerovo.su (8.13.3/8.13.3) with ESMTP id jB49tfCW012712; Sun, 4 Dec 2005 16:55:42 +0700 (KRAT) (envelope-from eugen@kuzbass.ru) Message-ID: <4392BCF7.E4248A35@kuzbass.ru> Date: Sun, 04 Dec 2005 16:55:03 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.8 [en] (Win98; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: John Baldwin References: <20050513140240.GA25774@svzserv.kemerovo.su> <200512021732.15866.jhb@freebsd.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: 5.4: pci_link problem on 440BX X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 09:55:51 -0000 John Baldwin wrote: > > > We shouldn't print that message unless pci_link is enabled. When > > > pci_link is disabled we shouldn't even be looking at PRT entries. Can > > > you try booting a 6.0-snapshot CD and seeing if it works ok? > > > > Now 6.0 boots to multiuser mode with ACPI fully enabled or fully disabled. > > make buildworld cannot be completed with ACPI - still silent hang > > of userland and no console switching (keyboard leds do switch and > > KDB works). > > > > 6.0's GENERIC does not boot to single user with > > debug.acpi.disabled="pci_link", fatal trap 12 occures: page fault while in > > kernel mode, > > fault virtual address 0x0, supervisor read, page not present > > in acpi_pci_link_lookup+0x26. > > I think I know what this is and this patch probably fixes the panic in the > case that you use 'debug.acpi.disabled="pci_link"' > > --- //depot/vendor/freebsd/src/sys/dev/acpica/acpi_pci_link.c 2005/11/23 16:40:40 > +++ //depot/user/jhb/acpipci/dev/acpica/acpi_pci_link.c 2005/12/02 22:28:08 > @@ -1011,6 +1011,9 @@ > { > struct link *link; > > + if (acpi_disabled("pci_link")) > + return (PCI_INVALID_IRQ); > + > ACPI_SERIAL_BEGIN(pci_link); > link = acpi_pci_link_lookup(dev, index); > if (link == NULL) > > How does the 6.0 install CD do on your machine both with ACPI enabled and disabled? Two problems, my IBM HDD with 6.0 died and I'll need reinstall 6.0 to perform tests. I still run 4.11-STABLE with that motherboard. Second, I'll have no Internet access for a day or two. So I'll answer some days later this week. Thank you for patch. Eugene Grosbein.