From owner-freebsd-acpi@FreeBSD.ORG Tue Jun 28 20:09:46 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 0809816A41C for ; Tue, 28 Jun 2005 20:09:46 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from rozsa.mail.t-online.hu (rozsa.mail.t-online.hu [195.228.240.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 868BF43D49 for ; Tue, 28 Jun 2005 20:09:44 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from [192.168.1.3] (233.204-182-adsl-pool.axelero.hu [81.182.204.233]) by rozsa.mail.t-online.hu (8.13.4/8.13.4) with ESMTP id j5SK9eou027758 for ; Tue, 28 Jun 2005 22:09:43 +0200 (CEST) (envelope-from Gabor@Zahemszky.HU) Message-ID: <42C1AE94.7030704@Zahemszky.HU> Date: Tue, 28 Jun 2005 22:09:56 +0200 From: =?ISO-8859-2?Q?Zahemszky_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050330) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org References: <42BFE47A.3040907@Zahemszky.HU> <200506271046.41253.jhb@FreeBSD.org> <42C052F9.9010006@Zahemszky.HU> <200506271535.35133.jhb@FreeBSD.org> In-Reply-To: <200506271535.35133.jhb@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-VBMilter: scanned Subject: Re: lockup on SMP machine 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: Tue, 28 Jun 2005 20:09:46 -0000 John Baldwin wrote: > Hmm, you shouldn't have seen a second CPU due to 'kern.smp.disabled'. Can you > build a kernel without SMP but with 'device apic' for now, and can you grab > verbose dmesg's from both ACPI being enabled and ACPI being disabled so I can > compare them? Hi! Very interesting: Without the SMP option, without acpi, I can boot verbose, and it works. With apci, the machine locked - the same way as with SMP+acpi. The only difference is, that with 'options SMP' the last lines are: Table 'FACP' at 0xfdf20 Table 'APIC' at 0cfdf94 MADT: Found table at 0xfdf94 MP configuration Table version 1.4 found at 0xc00f0000 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 1: enabled SMP: Added CPU 0 (AP) MADT: Found CPU APIC ID 1 ACPI ID 2: enabled SMP: Added CPU 1 (AP) and without 'options SMP' : Table 'FACP' at 0xfdf20 Table 'APIC' at 0cfdf94 MADT: Found table at 0xfdf94 MP configuration Table version 1.4 found at 0xc00f0000 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 1: enabled MADT: Found CPU APIC ID 1 ACPI ID 2: enabled I tried with acpi and without apic, too. Of course, it worked. What can I do now? Gabor < Gabor at Zahemszly dot HU > -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j"