From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 6 07:12:31 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BEEE16A401 for ; Fri, 6 Apr 2007 07:12:31 +0000 (UTC) (envelope-from ilmars.virpa@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id CC84013C480 for ; Fri, 6 Apr 2007 07:12:30 +0000 (UTC) (envelope-from ilmars.virpa@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so381619pyh for ; Fri, 06 Apr 2007 00:12:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Kl0Qc0qzoBRFnTJjWFW1kac4JyI/++3mzl9TEcEHvju2cA4OESMthJEHQjI7E55mJxZ9HVyu2syUBcbGXyL/gIRHRTFX5BwqQ7SmqdGh29RWkbs0gtA9E7aM6+RxLbYV859gUult5FaAffnqYVpTIuoUVfUC8MUs03euthDT3dE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LJ34uge8Y1gG/9yyF0QZrFPEiriOA5IMlxMSOcwJKtr9ZWgQmqmPYJY/Tr+/oAyWD1GmIgZeIePvfbkSB0bRZnwxZcjwz3fzfQ94binc7Zw9v4r1iHyshdn2GS1EzEy/LtmxTl+F2GQNGWV26YV3P3V8Wvp14JH0rf6JYRTq6Ik= Received: by 10.35.111.14 with SMTP id o14mr4664294pym.1175841801311; Thu, 05 Apr 2007 23:43:21 -0700 (PDT) Received: by 10.35.26.17 with HTTP; Thu, 5 Apr 2007 23:43:21 -0700 (PDT) Message-ID: <1f5e0ccb0704052343p13c2897bt478faad64c57272f@mail.gmail.com> Date: Fri, 6 Apr 2007 09:43:21 +0300 From: "Ilmars Virpa" To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: PC randomly freezes after 4.x upgrade to 6.x. How to disable acpi completely? 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: Fri, 06 Apr 2007 07:12:31 -0000 Hello! I upgraded my customer's FreeBSD from 4.x to 6.x series, but now the PC ranodmly freezes (at least once in 24h) and needless to say customer is very angry. I guess it could be related to ACPI (because I've changed almost every part of hardware) so I want to disable it, but how? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-overview.html says: "ACPI can be disabled with the acpiconf(8) utility." But I somehow don't see any option in acpiconf(8) how to disable ACPI. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html says: "hint.apic.0.disabled="1" in loader.conf." But after reboot there is kernel panic while botting. Then the only way to boot without kernel panic now is to select "Boot FreeBSD with ACPI disabled". But "acpi.ko" is still in "kldstat" and I can't be near that PC after every reboot to select "Boot FreeBSD with ACPI disabled". Is even ACPI disabled then (because I see acpi.ko and ACPI sysctl variables) anyway? So the main question is - how can I disable ACPI forever and boot without kernel panic? dmesg: Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #2: Wed Apr 4 10:57:22 EEST 2007 root@mail.api.lv:/usr/src/sys/i386/compile/API-MAIL ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2593.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400> Logical CPUs per core: 2 real memory = 1592983552 (1519 MB) avail memory = 1551642624 (1479 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: port 0xec00-0xec07 mem 0xf0000000-0xf7ffffff,0xffa80000-0 xffafffff irq 16 at device 2.0 on pci0 agp0: detected 16252k stolen memory agp0: aperture size is 128M uhci0: port 0xc800-0xc81f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xcc00-0xcc1f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xd000-0xd01f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xd400-0xd41f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xffa7fc00-0xffa7ffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib1: at device 30.0 on pci0 pci1: on pcib1 rl0: port 0xb800-0xb8ff mem 0xff8ffc00-0xff8ffcff irq 22 at device 1.0 on pci1 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:30:4f:1b:1b:3b rl1: port 0xb400-0xb4ff mem 0xff8ff800-0xff8ff8ff irq 17 at device 2.0 on pci1 miibus1: on rl1 rlphy1: on miibus1 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl1: Ethernet address: 00:30:4f:19:26:74 fxp0: port 0xbc00-0xbc3f mem 0xff8fe000-0xff8fefff irq 20 at de vice 8.0 on pci1 miibus2: on fxp0 inphy0: on miibus2 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:07:e9:77:24:b3 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xe800-0xe807,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd8 00-0xd80f irq 18 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: port 0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc9fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master PIO4 ad3: DMA limited to UDMA33, controller found non-ATA66 cable ad3: 76351MB at ata1-slave UDMA33 ad4: 305245MB at ata2-master SATA150 ad6: 305245MB at ata3-master SATA150 SMP: AP CPU #1 Launched! [..]