Date: Sat, 14 Dec 2013 15:23:01 -0800 From: Neel Natu <neelnatu@gmail.com> To: Markiyan Kushnir <markiyan.kushnir@gmail.com> Cc: FreeBSD current <freebsd-current@freebsd.org>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: 11.0-CURRENT panic while running a bhyve instance Message-ID: <CAFgRE9GJnkeQ%2BncoeZ8-bQM3_1OqHg_%2BQyVtNZg=Xzn3xHc7kQ@mail.gmail.com> In-Reply-To: <CACvtUJfLYYfHOGDXZpZRgDyB4E4BhuWYL=Nr5ZqrkqFi6NrG-g@mail.gmail.com> References: <CACvtUJdtc_aZxmNjz=5UWuBP8DQb%2BGwioTZaPjuqPVsJbRkjcw@mail.gmail.com> <201312131304.57455.jhb@freebsd.org> <CACvtUJcoe=XXC5wJ7QciccuTcguXk6u=f13EHiXDcObhXP7r1A@mail.gmail.com> <CAFgRE9EmZr8f52Mp4tG25zWOOQLitvtFmJOfib55K_qi9e9ztA@mail.gmail.com> <CACvtUJeh67hKE2Cw8c37WsE=PcY03N4ntBDJYmMx8GW7GW7bAg@mail.gmail.com> <CACvtUJfXLhZeVS7QFos7JPZLPtNJ4oFHJY0ONXOgsaXifDg=bw@mail.gmail.com> <CACvtUJfLYYfHOGDXZpZRgDyB4E4BhuWYL=Nr5ZqrkqFi6NrG-g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Markiyan, On Sat, Dec 14, 2013 at 6:00 AM, Markiyan Kushnir <markiyan.kushnir@gmail.com> wrote: > 2013/12/14 Markiyan Kushnir <markiyan.kushnir@gmail.com>: >> 2013/12/14 Markiyan Kushnir <markiyan.kushnir@gmail.com>: >>> 2013/12/14 Neel Natu <neelnatu@gmail.com>: >>>> Hi Markiyan, >>>> >>>> On Fri, Dec 13, 2013 at 2:35 PM, Markiyan Kushnir >>>> <markiyan.kushnir@gmail.com> wrote: >>>>> 2013/12/13 John Baldwin <jhb@freebsd.org>: >>>>>> On Friday, December 13, 2013 5:46:20 am Markiyan Kushnir wrote: >>>>>>> Forgot to fill the Subject: header, re-posting it fixed. >>>>>> >>>>>> The mailing lists strips attachments, can you post it at a URL? >>>>>> >>>>> >>>>> Shared here: >>>>> >>>>> https://drive.google.com/file/d/0B9Q-zpUXxqCnem5iYTVqLUxrcWo4cmlhdkM1= c2lJa2dKak5R/edit?usp=3Dsharing >>>>> >>>> >>>> Thanks. >>>> >>>> It looks like something funky going on with the vcpu state. Do you >>>> know if there was any access to the VM via 'bhyvectl' close to the >>>> time of the panic? >>>> >>> >>> Well, I don't know if there was. I would set up the same scenario >>> again + a script running on the host querying bhyvectl. May be I would >>> catch it again. Please let me know if all it makes sense, and if so, >>> how it can be made better. >>> >> >> To make it clear -- I didn't run bhyvectl when the VM was running, so >> I can tell for sure that nobody was trying to interact with the VM >> during its run. My first thought was that it would make sense to >> (periodically) query state of the VM using bhyvectl to get info about >> what was going on when it comes close to the crash... >> >> -- >> Markiyan. > > Ok, I was able to hit a similarly looking panic exactly when trying to > run "bhyvectl --vm=3Daltroot-bhyve --get-all" while the VM was busy with > its own "pkg delete -af". When the VM is mostly idle, bhyvectl > --get-all goes smoothly. > > Now I'm thinking I might inadvertently run bhyvectl over my heavily > running VM once when I was not at the desktop and wanted to see how > things were going remotely from my office=85 > Thanks, that helps a lot because I can see how bhyvectl could perturb the state of the vcpu and eventually lead to a panic. I'll submit a fix for this ASAP. best Neel > Here are core.txt of the two panics in a row: > > https://drive.google.com/file/d/0B9Q-zpUXxqCnMUxVdGwxSEs1dE0/edit?usp=3Ds= haring > > https://drive.google.com/file/d/0B9Q-zpUXxqCnREtuTXpabnQ5QXM/edit?usp=3Ds= haring > > -- > Markiyan. > >> >>> -- >>> Markiyan. >>> >>>> best >>>> Neel >>>> >>>>> -- >>>>> Markiyan. >>>>> >>>>>>> -- >>>>>>> Markiyan >>>>>>> >>>>>>> >>>>>>> ---------- Forwarded message ---------- >>>>>>> From: Markiyan Kushnir <markiyan.kushnir@gmail.com> >>>>>>> Date: 2013/12/13 >>>>>>> Subject: >>>>>>> To: freebsd-current@freebsd.org, freebsd-virtualization@freebsd.org >>>>>>> >>>>>>> >>>>>>> I started some ports to compile inside a bhyve instance: >>>>>>> >>>>>>> root@vm:~ # uname -a >>>>>>> FreeBSD vm.mkushnir.mooo.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 >>>>>>> r259250: Thu Dec 12 14:17:32 EET 2013 >>>>>>> root@vm.mkushnir.zapto.org:/ >>>>>>> usr/obj/usr/src.svnup/sys/MAREK amd64 >>>>>>> >>>>>>> and left it running unattended. Approx. 2 hours later the host went= to >>>>>>> panic. The bhyve instance survived after the panic and I could be a= ble >>>>>>> to complete my ports compilation. >>>>>>> >>>>>>> core.txt attached (gzipped) >>>>>>> _______________________________________________ >>>>>>> freebsd-current@freebsd.org mailing list >>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>>>>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freeb= sd.org" >>>>>>> >>>>>> >>>>>> -- >>>>>> John Baldwin >>>>> _______________________________________________ >>>>> freebsd-current@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd= .org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFgRE9GJnkeQ%2BncoeZ8-bQM3_1OqHg_%2BQyVtNZg=Xzn3xHc7kQ>