John Armstrong wrote: > I recently decided to shift from 5.2.1p9 to 5.2-CURRENT on my home > server, but I've been having trouble getting a fully bootable kernel, > with the issue being a string of 'calcru: negative runtime' errors > followed by a freeze after start_init even with a GENERIC kernel. > > I can however successfully boot with ACPI disabled, although that > presents another problem as one of my NICs dies with no ACPI, *sigh* ;). > Anyway, after a little hunt through dmesg I noted some ACPI errors when > enabled: > > > acpi link set: _CRS failed for link \_SB_.PCI0.ALKB - AE_NULL_ENTRY > unknown: _SRS failed, irq 21 via \_SB_.PCI0.ALKB > acpi link set: _CRS failed for link \_SB_.PCI0.ALKD - AE_NULL_ENTRY > unknown: _SRS failed, irq 23 via \_SB_.PCI0.ALKD > > > I'm taking a wild stab in the dark and guessing that the ACPI timer is > going a little berserk which may be causing the negative runtime errors, > although to tell the truth I'm a complete newbie as far as this sort of > thing goes. > > Attached is the dmesg from a boot -v .. if there is anything else you'd > like me to provide please let me know. Try the patch I just committed (also attached). -Nate njl 2004-08-18 16:39:59 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_pci_link.c Log: If _CRS fails, assume that it succeeded. The ASUS K8V (and others) defines single-entry irq links even though it uses an APIC. It appears that it ignores _SRS when in APIC mode but returns a valid irq at other times. Revision Changes Path 1.25 +1 -2 src/sys/dev/acpica/acpi_pci_link.c Index: src/sys/dev/acpica/acpi_pci_link.c --- src/sys/dev/acpica/acpi_pci_link.c:1.24 Fri Aug 13 19:27:21 2004 +++ src/sys/dev/acpica/acpi_pci_link.c Wed Aug 18 16:39:59 2004 _at__at_ -25,7 +25,7 _at__at_ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: /repoman/r/ncvs/src/sys/dev/acpica/acpi_pci_link.c,v 1.24 2004/08/13 19:27:21 njl Exp $"); +__FBSDID("$FreeBSD: /repoman/r/ncvs/src/sys/dev/acpica/acpi_pci_link.c,v 1.25 2004/08/18 16:39:59 njl Exp $"); #include "opt_acpi.h" #include <sys/param.h> _at__at_ -648,10 +648,9 _at__at_ * assume we were successful. */ error = acpi_pci_link_get_current_irq(link, &link->current_irq); - if (ACPI_FAILURE(error)) { + if (ACPI_FAILURE(error) && bootverbose) { printf("acpi link set: _CRS failed for link %s - %s\n", acpi_name(link->handle), AcpiFormatException(error)); - goto out; } if (link->current_irq != irq) { printf("acpi link set: curr irq %d != %d for %s (ignoring)\n",Received on Wed Aug 18 2004 - 14:44:49 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:06 UTC