From owner-freebsd-bugs@FreeBSD.ORG Mon Nov 17 20:50:34 2014 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6A5DA9C for ; Mon, 17 Nov 2014 20:50:34 +0000 (UTC) Received: from rev1-se1-syd.hostedmail.net.au (rev1-se1-syd.hostedmail.net.au [IPv6:2400:8f80:0:11::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 613392A6 for ; Mon, 17 Nov 2014 20:50:34 +0000 (UTC) Received: from shredder.zuver.net.au ([110.232.141.216]) by se1-syd.hostedmail.net.au with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1XqTFC-0005qg-VM; Tue, 18 Nov 2014 07:50:30 +1100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=andrewmcdonnell.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=zcZqz5QkKwuG+VCbjmTkW2Zqyf7UH/WN4rYmmcSqqJ8=; b=sNYnTlw+kOK4x7ITIolwuvFOdVLESyAB28vpATtlqTwzi88XPDTFbscH4KubnETuIHAUbFlqMtrIo7fV04WBS9DMD4FZhMtDo7OtOyJL/aj+MWu1jd0K2LGLcIp2WSiO5nkhmmaVt/EoDSEoqLnVWcwH3KsoH4Uguju9wIcn5gs=; Received: from 180-150-66-19.cust.aussiebb.net ([180.150.66.19]:48153 helo=[192.168.0.107]) by shredder.zuver.net.au with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1XqTFA-000iH9-PY; Tue, 18 Nov 2014 07:49:52 +1100 Message-ID: <546A5F6C.2020203@andrewmcdonnell.net> Date: Tue, 18 Nov 2014 07:19:48 +1030 From: Andrew McDonnell User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0 MIME-Version: 1.0 To: Mateusz Matuszkowiak , freebsd-bugs@freebsd.org Subject: Re: FreeBSD amd64 randomly reboots under high load (KVM) References: <546a3848.ad4ab40a.4adf.46ed@mx.google.com> In-Reply-To: <546a3848.ad4ab40a.4adf.46ed@mx.google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AuthUser: bugs@andrewmcdonnell.net X-Filter-ID: s0sct1PQhAABKnZB5plbIcxGSkNS81aQyUMe3KGmNDWuw2nx/+//hw1dQjjX1TEcGAKiUP0o7tio 6w7UDvOiv2ofeSG/QXAMqAXwUDr71GEie08mYSUTcnm3Dq4gxnEdomrAx6BpOIgTMwT4RNCNNfab 2VLIqjiuix2rMPDbTOORG7M2xi6Ys3RI5acdNJISLp091UMmdtYuVawmaWW12gRSGng1p2RpzozT 57tkbgBc9aUV1oY4fX3W5eOCNA39pREGq2SxcFsyabHWQ4oo+hTJH4xnhip3Lc04oCHJgSPZ3T70 6k/q+FdeJMOqD9zfLNYnDycMPeYizcQ7a7Ae1CJ3+cpY9ya7oDUm0bbIs5yroVjH0lzFpZqUycuK 16uwf7awbg4kAx5sihRZro648M+ScKtBMQ7yThSJt18QtnAJ1io42l4M6owmqPSofJhpzMutXs9Y CGaUMozHNibJJLQK1sl+4lvtzKVLDI0VHdlw6FFWgtcMhzHC9tMlamPvAW2qQX36H/GW40YuPJMc MCV1R+aGthpRw7F9O09OZr4kuuMmGrgzpzsWb/EjR2pc51n/yo7knSxha9a4pNefdPysSbiH3Mbb EJKASb+kAac1Di1PqcT0C80YNLgClZPQgHrTzdeMtdjy57NXh2GYKS7WZ2rpgnPcXGRq99ySLFwh wtM8nhvwv9urptcxeS2ZpUimYlV49gd4gGosJxAN7jDKPrpEMKgSzJ5bSls7oG8bwVX99ABFVwbn 9YX0Sq+5 X-Report-Abuse-To: spam@se1-syd.hostedmail.net.au X-Filter-Fingerprint: IFrWXGses7OKB5S5G8/dJdF8bCbRCAhGucQF+2hmonpA3cTUQ1R++keuE7RDJ8Kg3RbMLUalw1oC mj99/u+PoqoVy8a3lsStJtAvpObFX0Wok1JBYnOLzfRIhlEHQynLUpndEJ0YoaLytXXo8BMTaX2p Mk7LBarWD9Fj4R3eIu5cOy/3Wm9qfF/CZNvP/2Kowv61T+KDYyYtREgszdyFwv8IxCB3p/oCKvxr eyISh3JGb7OS5oVgiO+kDxZrVPLz3MmEGC2PrUKqLq5WmHK+Nw== X-Originating-IP: 110.232.141.216 X-SpamExperts-Domain: out.zuver.net.au X-SpamExperts-Username: 110.232.141.216 Authentication-Results: hostedmail.net.au; auth=pass smtp.auth=110.232.141.216 X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.14) X-Recommended-Action: accept X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 20:50:34 -0000 Hi Matthew, I actually managed to fix it an hour after posting by specifying '-cpu host' to kvm, I tried this after reading http://lists.freebsd.org/pipermail/freebsd-amd64/2014-January/015790.html and discovering the message "KVM: Guest triggered AMD Erratum 383" in dmesg So it seems there is some bug with amd64 host and the qemu virtual CPU cheers, Andrew On 18/11/14 04:32, Mateusz Matuszkowiak wrote: > Hi Andrew. > What is your hypervisor's hardware spec, meaning is there AMD cpu, perhaps Ipteron? Because in my case, after switching HW (to intel based), the issue seems is gone. The guest is working stable now. > Regards, > Matthew > > the truth is negotiable > > On 17/11/14 11:55:24, > Andrew McDonnell wrote: >> Hi Matthew >> >>> Hello, >>> >>> I'm experiencing strange behaviour with any FreeBSD 64bit running under KVM >>> Qemu. When machine is under high load for example compiling from ports, >>> after a random time it will get rebooted with no piece of information in >>> logs or what so ever. In this case I'm unable to get any kernel >>> panic/traces (kdb is enabled). On the KVM side also there are no error >>> logs. >>> >>> This is confirmed on FreeBSD amd64 8.4; 9.0; 9.1; 9.2-RC and 10-Current. >>> >>> Anyone experienced such behaviour on 64bits or mayby have a clue how can I >>> debug this? >> >> This exactly is happening to me now. >> >> My host is a Debian Wheezy AMD64 running Qemu kvm 2.0.0+dfsg-4~bpo70+1 >> >> My guest is FreeBSD 10 FreeBSD 10.0-RELEASE (GENERIC) #0 r260789error about >> >> And part way through make world via freebsd-wifi-build/build/bin/build I am >> experiencing spontaneous reboots. >> >> My kvm command line is: >> >> kvm --enable-kvm -localtime -m 1536 -smp 2 -k en-us -hda freebsd.qcow2 \ >> -soundhw sb16 -net nic -net user,hostfwd=tcp::62222-:22 -monitor stdio >> >> I built this VM and a build of world kernel install etc. completed without >> problems yesterday. >> >> But today when I repeated after a clean I am experiencing the problem. >> >> I am wondering whether having accidentally killed the guest corrupted to disk >> somehow, but the problem keeps happening even after running fsck on / >> >>> >>> With kind regards, >>> Matthew >> >> HTH, >> Andrew >> >> -- >> http://blog.oldcomputerjunk.net >> https://au.linkedin.com/in/amcdonnell >> https://github.com/andymc73 >> Twitter: @pastcompute >> GPG: http://www.andrewmcdonnell.net/gpg.html >>