From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 3 09:28:38 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04EFB16A4CE for ; Sat, 3 Apr 2004 09:28:38 -0800 (PST) Received: from mta4.xnet.ro (mta4.xnet.ro [217.10.192.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D8FC43D60 for ; Sat, 3 Apr 2004 09:28:30 -0800 (PST) (envelope-from clau@reversedhell.net) Received: from reversedhell.net (81-196-92-42.arad.cablelink.ro [81.196.92.42] (may be forged)) (authenticated bits=0)i33HSQ5w022326 for ; Sat, 3 Apr 2004 20:28:27 +0300 Message-ID: <406EF428.6060801@reversedhell.net> Date: Sat, 03 Apr 2004 20:28:08 +0300 From: Claudiu Dragalina-Paraipan User-Agent: Mozilla Thunderbird 0.5 (X11/20040301) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <406C6AC0.8030506@reversedhell.net> In-Reply-To: <406C6AC0.8030506@reversedhell.net> X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8E745745102B104611A23207" X-RAVMilter-Version: 8.4.3(snapshot 20030212) (mta4.xnet.ro) X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: P4 HT with SMP kernel, FreeBSD 5.2.1-p4 problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2004 17:28:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8E745745102B104611A23207 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hello, I come back with a little more informations. It seems that changing the hw.acpi.disable_on_poweroff from default value of 1 to 0 fixes the problem. At least for now I don't get the panics on shutdown anymore. Also, while running the kernel with WITNESS and INVARIANTS, I didn't get the panics (as I already said), and I get this in /var/log/messages: Apr 3 17:28:59 oxygen kernel: lock order reversal Apr 3 17:28:59 oxygen kernel: 1st 0xc0691680 UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1200 Apr 3 17:28:59 oxygen kernel: 2nd 0xc0c31100 system map (system map) @ /usr/src/sys/vm/vm_map.c:2210 Apr 3 17:28:59 oxygen kernel: Stack backtrace: Apr 3 17:37:03 oxygen kernel: lock order reversal Apr 3 17:37:03 oxygen kernel: 1st 0xc2a54ad4 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1323 Apr 3 17:37:03 oxygen kernel: 2nd 0xc0690b00 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pager.c:1838 Apr 3 17:37:03 oxygen kernel: 3rd 0xc0c38738 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:873 Apr 3 17:37:03 oxygen kernel: Stack backtrace: This appear once, shortly after a startup. Best regards. Claudiu Dragalina-Paraipan wrote: > Hello, > > I have a Pentium 4 2.8E (with HT), and an Intel 865GBF motherboard. > After I made a bios upgrade I have this problem with it: every time I do > a reboot or a shutdown the kernel hangs. Sometimes it gives a specific > error message, sometimes the last lines of text are garbage, and rarely > it just resets before it should. > Seems that it happens before the file system is unmounted, because every > next boot I have problems with it. Until now I didn't lose any important > file, but I assume that this can happen giving this situation. > Also, this does not happen if I compile a kernel without SMP support, or > if I disable HT from bios (with SMP or not). > Running a kernel with INVARIANTS and WITNESS seems to fix this problem too. > > I have attached a dmesg result after a boot -v. > Please let me know what other informations you need for solving this > situation. > > With respect, > > -- Claudiu Dragalina-Paraipan Reversed Hell Networks / reversedhell.net e-mail: clau@reversedhell.net GPG KeyID: BFACC244 (9F07 2B86 7965 B9A8 9AAB 1BEA 9B41 56C5 BFAC C244) gpg --keyserver gpg.mit.edu --recv-keys BFACC244 --------------enig8E745745102B104611A23207 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAbvQom0FWxb+swkQRAudVAJ0X56zcDS7WmQ7SHaah0gbcJ4Kd4gCfesgR RVjAJrxV3kA3UZJHRpDr0xc= =4mVO -----END PGP SIGNATURE----- --------------enig8E745745102B104611A23207--