From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 20 15:20:14 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB5F616A4BF for ; Wed, 20 Aug 2003 15:20:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9400743FA3 for ; Wed, 20 Aug 2003 15:20:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7KMKBUp012980 for ; Wed, 20 Aug 2003 15:20:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7KMKBwT012979; Wed, 20 Aug 2003 15:20:11 -0700 (PDT) Resent-Date: Wed, 20 Aug 2003 15:20:11 -0700 (PDT) Resent-Message-Id: <200308202220.h7KMKBwT012979@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lukas Razik Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC3AF16A4BF for ; Wed, 20 Aug 2003 15:14:52 -0700 (PDT) Received: from consystor.razik.de (pD9548130.dip.t-dialin.net [217.84.129.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25F1443F93 for ; Wed, 20 Aug 2003 15:14:50 -0700 (PDT) (envelope-from root@consystor.homeip.net) Received: from consystor.razik.de (localhost.razik.de [127.0.0.1]) by consystor.razik.de (8.12.9/8.12.9) with ESMTP id h7KMEi6R000764 for ; Thu, 21 Aug 2003 00:14:45 +0200 (CEST) (envelope-from root@consystor.homeip.net) Received: (from root@localhost) by consystor.razik.de (8.12.9/8.12.9/Submit) id h7KMEiWe000763; Thu, 21 Aug 2003 00:14:44 +0200 (CEST) Message-Id: <200308202214.h7KMEiWe000763@consystor.razik.de> Date: Thu, 21 Aug 2003 00:14:44 +0200 (CEST) From: Lukas Razik To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/55822: No ACPI power off with SMP kernel X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lukas Razik List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 22:20:15 -0000 >Number: 55822 >Category: kern >Synopsis: No ACPI power off with SMP kernel >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 20 15:20:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Lukas Razik >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: System: FreeBSD consystor.razik.de 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Wed Aug 20 03:23:41 CEST 2003 root@consystor.razik.de:/usr/obj/usr/src/sys/RAZIK-2003-08-20-SMP i386 CPUs: 2 x PIII 800MHz (133MHz FSB) RAM: 3 x 512MB @ 133MHz Chipset: VIA Apollo Pro133A with HPT370 RAID controller Motherboard: EPOX EP-D3VA >Description: If I build the kernel with SMP and APIC_IO support the power-off function doesn't work. If I want to shutdown the computer with 'halt' or the switch I only get the message that the system has been halted and I can reboot it by pressing a key. Without SMP and APIC_IO all works fine! In my dmesg (see below) are ACPI errors... 'kldstat' output: Id Refs Address Size Name 1 9 0xc0100000 352edc kernel 2 1 0xc0453000 4a30c acpi.ko 3 1 0xc2e81000 2000 blank_saver.ko 4 1 0xc71b7000 18000 linux.ko My 'dmesg': --- BEGIN --- Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Wed Aug 20 03:23:41 CEST 2003 root@consystor.razik.de:/usr/obj/usr/src/sys/RAZIK-2003-08-20-SMP Preloaded elf kernel "/boot/kernel/kernel" at 0xc049f000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc049f1f4. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 801822191 Hz CPU: Intel Pentium III (801.82-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383fbff real memory = 1610547200 (1535 MB) avail memory = 1561665536 (1489 MB) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 8 entries at 0xc00fdba0 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.FDC0._CRS] (Node 0xc6dd2640), AE_AML_UNINITIALIZED_LOCAL ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0.FDC0._CRS] (Node 0xc6dd2640), AE_AML_UNINITIALIZED_LOCAL can't fetch resources for \\_SB_.PCI0.FDC0 - AE_AML_UNINITIALIZED_LOCAL acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 pcib0: port 0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 17 -> irq 5 IOAPIC #0 intpin 16 -> irq 10 IOAPIC #0 intpin 18 -> irq 11 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xc000-0xc00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xc400-0xc41f irq 2 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) ed0: port 0xc800-0xc81f irq 5 at device 9.0 on pci0 ed0: address 00:20:18:ba:18:8a, type NE2000 (16 bit) atapci1: port 0xdc00-0xdcff,0xd800-0xd803,0xd400-0xd407,0xd000-0xd003,0xcc00-0xcc07 irq 10 at device 11.0 on pci0 ata2: at 0xcc00 on atapci1 ata3: at 0xd400 on atapci1 pci0: at device 12.0 (no driver attached) pci0: at device 12.1 (no driver attached) pci0: at device 13.0 (no driver attached) fdc0: cannot reserve I/O port range (1 ports) sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: cannot reserve I/O port range (1 ports) orm0: