Date: Thu, 17 Aug 2017 11:44:17 +0000 From: Panagiotes Mousikides <paggas1@yandex.com> To: Peter Grehan <grehan@freebsd.org>, John Baldwin <jhb@freebsd.org>, freebsd-current@freebsd.org Cc: Matt Joras <mjoras@freebsd.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, allanjude@freebsd.org Subject: Re: Install FreeBSD from source into VM image Message-ID: <f588ccd8-5378-b3ef-731c-6cc6b030ef34@yandex.com> In-Reply-To: <ee79f698-2b9f-4d88-cc19-177ef2f0647f@freebsd.org> References: <8888acfa-4dc8-a68f-8ca8-c4df84e5e74a@yandex.com> <97d0475c-9603-03d8-144d-dc803e5530c7@FreeBSD.org> <9152fc29-125d-1c01-ecfa-740a1cfcaadd@yandex.com> <25569442.iT463nDDSg@ralph.baldwin.cx> <ee79f698-2b9f-4d88-cc19-177ef2f0647f@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Den 2017-08-16 kl. 23:40, skrev Peter Grehan:
>>> Error return from kevent monitor: Not permitted in capability
>>> mode
> ...
>> This sounds like an issue with the bhyve capsicum work. I've cc'd Allan
>> and Peter who might be able to help track that down. It might be useful
>> if you can run bhyve under ktrace, e.g.:
>>
>> sudo ktrace -i -t p sh /usr/share/examples/bhyve/vmrun.sh -d
>> aaaa.raw vm-aaaa
>>
>> And then post the output of 'sudo kdump'
>
> I think this is the error now returned when a file doesn't exist or
> can't be accessed - the code probably needs to be reworked to test for
> existence before entering capability mode to make the error more
> meaningful.
>
> later,
>
> Peter.
>
I did run it with ktrace, which generates a ktrace.out of around 4KB.
Needed to kill the VM with bhyvectl --destroy afterwards. But kdump
doesn't print anything afterwards! Any ideas? I'm attaching ktrace.out.
Best regards,
Panagiotes
[-- Attachment #2 --]
P ktrace Y &
P sh Y n'
P sh Y 6,
P id Y , P id Y /
P sh Y /
P kldstat Y 0 P kldstat Y 33
P sh Y 4
P bhyvectl Y 5 P bhyvectl Y 8
P sh Y 9
P sh Y /:
P grep Y ;
P file Y ; P grep Y J P file Y fK
P sh Y L
P bhyveload Y kL P bhyveload Y gI
P sh Y <J
P bhyve Y J
P bhyve Y JZ
P sh Y Z
P sh Y _
P iasl Y md
P iasl Y j
P bhyve Y 6l
P sh Y l
P sh Y hq
P iasl Y 9v
P iasl Y |
P bhyve Y o~
P sh Y ~
P sh Y
P iasl Y l
P iasl Y g
P bhyve Y я
P sh Y .
P sh Y
P iasl Y
P iasl Y (
P bhyve Y
P sh Y
P sh Y
P iasl Y I
P iasl Y "
P bhyve Y
P sh Y
P sh Y
P iasl Y z
P iasl Y
P bhyve Y
P sh Y Y
P sh Y
P iasl Y
P iasl Y
P bhyve Y
P sh Y a
P sh Y $
P iasl Y
P iasl Y
P bhyve Y z
P sh Y
P sh Y q
P iasl Y
P iasl Y P vcpu 1 Y
:Q sh Y Υ
:Q bhyvectl Y :Q bhyvectl Y P sh Y
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f588ccd8-5378-b3ef-731c-6cc6b030ef34>
