From owner-freebsd-acpi@FreeBSD.ORG Tue May 18 16:12:31 2004 Return-Path: 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 52EE916A5C5 for ; Tue, 18 May 2004 16:12:23 -0700 (PDT) Received: from mailbox.rainbownet.com (mailbox.rainbownet.com [213.174.191.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF3FE43E0C for ; Tue, 18 May 2004 10:51:37 -0700 (PDT) (envelope-from aturetta@commit.it) Received: from nbangx ([192.168.29.102]) (authenticated user aturetta@rainbownet.com) by rainbownet.com (rainbownet.com [127.0.0.1]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 14-md50000000964.tmp for ; Tue, 18 May 2004 19:50:21 +0200 Message-ID: <00c501c43d00$973c43e0$661da8c0@lan> From: "Angelo Turetta" To: Date: Tue, 18 May 2004 19:50:21 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00C2_01C43D11.5A9BE100" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Authenticated-Sender: aturetta@rainbownet.com X-Spam-Processed: rainbownet.com, Tue, 18 May 2004 19:50:21 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.29.102 X-Return-Path: aturetta@commit.it X-MDaemon-Deliver-To: freebsd-acpi@freebsd.org Subject: Panic during halt -p X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 23:12:31 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_00C2_01C43D11.5A9BE100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, A couple weeks ago I installed a system from the ISO image 5.2-CURRENT-20040428-JPSNAP, on a new HP DL380G3. The system is stable (not much load for now), all the devices are detected correctly. The only problem is that I cannot power the system off using ACPI: if I type 'halt -p', the shutdown is executed correctly (OS-wise), but then I get: -------------------- Syncing disks done. Powering system off using ACPI panic: blockable sleep lock (sleep mutex) acpica subsystem lock @ /usr/src/sys/dev/acpica/Osd/OsdSynch.c:380 at line 655 in file /usr/src/sys/kern/subr_witness.c cpuid=0; Debugger("panic") -------------------- I attached the output from dmesg (not boot -v, sorry), in case it matters. I don't have a custom kernel by now (still testing before putting in production). Is it a known problem? If not, what further detail may I pass to help identify its source? Angelo Turetta http://mail.bestunion.it/aturetta-DL380G3.asl $ sysctl hw.acpi hw.acpi.supported_sleep_state: S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 1 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: 0 hw.acpi.cpu.cx_history: 216058205/0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 2815 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 2830 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3045 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 ------=_NextPart_000_00C2_01C43D11.5A9BE100 Content-Type: text/plain; name="mail-dmesg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mail-dmesg.txt" Copyright (c) 1992-2004 The FreeBSD Project.=0A= Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A= The Regents of the University of California. All rights reserved.=0A= FreeBSD 5.2-CURRENT-20040428-JPSNAP #0: Wed Apr 28 01:46:57 GMT 2004=0A= root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC=0A= WARNING: WITNESS option enabled, expect reduced performance.=0A= Preloaded elf kernel "/boot/kernel/kernel" at 0xc09ee000.=0A= Preloaded elf module "/boot/kernel/acpi.ko" at 0xc09ee244.=0A= ACPI APIC Table: =0A= Timecounter "i8254" frequency 1193182 Hz quality 0=0A= CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2787.01-MHz 686-class CPU)=0A= Origin =3D "GenuineIntel" Id =3D 0xf29 Stepping =3D 9=0A= = Features=3D0xbfebfbff=0A= Hyperthreading: 2 logical CPUs=0A= real memory =3D 1073717248 (1023 MB)=0A= avail memory =3D 1041199104 (992 MB)=0A= FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs=0A= cpu0 (BSP): APIC ID: 6=0A= cpu1 (AP): APIC ID: 7=0A= ioapic0 irqs 0-15 on motherboard=0A= ioapic1 irqs 16-31 on motherboard=0A= ioapic2 irqs 32-47 on motherboard=0A= ioapic3 irqs 48-63 on motherboard=0A= random: =0A= Pentium Pro MTRR support enabled=0A= cpu0 on motherboard=0A= cpu1 on motherboard=0A= npx0: [FAST]=0A= npx0: on motherboard=0A= npx0: INT 16 interface=0A= acpi0: on motherboard=0A= ACPI-1197: *** Info: There are no GPE blocks defined in the FADT=0A= acpi0: [GIANT-LOCKED]=0A= acpi0: Power Button (fixed)=0A= Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000=0A= pcibios: BIOS version 2.10=0A= acpi_timer0: <32-bit timer at 3.579545MHz> port 0x920-0x923 on acpi0=0A= acpi_cpu0: on acpi0=0A= acpi_cpu1: on acpi0=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_tz0: on acpi0=0A= pcib0: on acpi0=0A= pci0: on pcib0=0A= pcib0: slot 15 INTA is routed to irq 7=0A= pci0: at device 3.0 (no driver attached)=0A= pci0: at device 4.0 (no driver attached)=0A= pci0: at device 4.2 (no driver attached)=0A= isab0: at device 15.0 on pci0=0A= isa0: on isab0=0A= atapci0: port = 0x2000-0x200f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0=0A= atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x2000=0A= atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0=0A= atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6=0A= ata0: at 0x1f0 irq 14 on atapci0=0A= atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170=0A= atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376=0A= ata1: simplex device, DMA on primary only=0A= ata1: at 0x170 irq 15 on atapci0=0A= ohci0: mem 0xf5ef0000-0xf5ef0fff irq 7 = at device 15.2 on pci0=0A= ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xf5ef0000=0A= ohci0: [GIANT-LOCKED]=0A= usb0: OHCI version 1.0, legacy support=0A= usb0: SMM does not respond, resetting=0A= usb0: on ohci0=0A= usb0: USB revision 1.0=0A= uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1=0A= uhub0: 4 ports with 4 removable, self powered=0A= pcib1: on acpi0=0A= pci1: on pcib1=0A= ciss0: port 0x3000-0x30ff mem = 0xf7cf0000-0xf7cf3fff,0xf7dc0000-0xf7dfffff irq 30 at device 3.0 on pci1=0A= ciss0: Reserved 0x40000 bytes for rid 0x10 type 3 at 0xf7dc0000=0A= ciss0: [GIANT-LOCKED]=0A= pcib2: on acpi0=0A= pci2: on pcib2=0A= bge0: mem = 0xf7ef0000-0xf7efffff irq 29 at device 1.0 on pci2=0A= bge0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf7ef0000=0A= miibus0: on bge0=0A= brgphy0: on miibus0=0A= brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, = 1000baseTX-FDX, auto=0A= bge0: Ethernet address: 00:0e:7f:ee:61:d3=0A= bge0: [GIANT-LOCKED]=0A= bge1: mem = 0xf7ee0000-0xf7eeffff irq 31 at device 2.0 on pci2=0A= bge1: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf7ee0000=0A= miibus1: on bge1=0A= brgphy1: on miibus1=0A= brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, = 1000baseTX-FDX, auto=0A= bge1: Ethernet address: 00:0e:7f:ee:61:d2=0A= bge1: [GIANT-LOCKED]=0A= pcib3: on acpi0=0A= pci3: on pcib3=0A= pcib4: on acpi0=0A= pci6: on pcib4=0A= pci6: at device 30.0 (no driver attached)=0A= atkbdc0: port 0x64,0x60 irq 1 on acpi0=0A= atkbd0: irq 1 on atkbdc0=0A= kbd0 at atkbd0=0A= atkbd0: [GIANT-LOCKED]=0A= psm0: irq 12 on atkbdc0=0A= psm0: [GIANT-LOCKED]=0A= psm0: model Generic PS/2 mouse, device ID 0=0A= sio0 port 0x3f8-0x3ff irq 4 on acpi0=0A= sio0: type 16550A=0A= fdc0: port = 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0=0A= fdc0: FIFO enabled, 8 bytes threshold=0A= fd0: <1440-KB 3.5" drive> on fdc0 drive 0=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= acpi_cpu2: on acpi0=0A= device_probe_and_attach: acpi_cpu2 attach returned 6=0A= orm0: