Monday, June 29, 2020

Re: Alpine-virt vmd guest tsc directive

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEjcjY6bzbIrUj18yx7rqoT1qpeUkFAl76Sv4ACgkQ7rqoT1qp
eUlNIRAArSSDDvgQrokirMLFmQHv4vayCp6T9KMPnDdKFcTbphrm1r6lSCtQRNbw
PPNn8wCUIe16l6rAORVqU78wmmvC/PAtTKN0G7HLedlMyr8WpTk7wR5S/BmXmz/D
fSXJ9d6rgzjSotbNvhM2yrcYYOgQAf8MrLolO4NrB91sFxKOTmibg/0i2NQUJlyv
T7TOWrCHjDEFClLmYeqMgx5iNrfSSi48jaY8doURGXZIt2XzWV/2QOMlRwiy8r6l
RbdOKFKY2iw/NYT+ndQ9MfOXXDtEMMjLpqi7C0izRbgmXICUb3X6gjUDOTI7w1ZK
Fk0PAeTU7wdVjIyaR5RkUi87Q/K2kTbGeFaI74Jnrx5YcaAka0NscuCMuD1bMbDj
UsoLqak2/dLOZktW64VWrUM/MrFxfviEy0reGEpepY+u0LKOi24LlVRF0C+T66i+
rxRJwNuju1nf+KY1nFhkG6FxtZqfXfBbvvsxs1IWarrVdzSPAfVrhCsKkzsbpkgP
jtckW6oLQ6bnGva95MquecynB3wcKznEIT+iWqnXQUBJQVrkaBVdIXiHi7ahqjhS
WxDl+6SGCYE0lIHICekZxRHfPXrsApCkVCUuxuVRB3YtwBbYZP++s/HK6td+GyHA
Y/CgWrc41INCHy7FMbri5qKe/SRa3vmABTqFi4V96sgV1SuKJn0=
=oKFj
-----END PGP SIGNATURE-----
There is quite nice article how to prepare own headless ISO — for Debian it's quite the same …
https://giocher.com/words/2018/ubuntu-on-openbsd-vmm/


S pozdravem / Kind regards

Martin Sukaný
UNIX Engineer, Developer, DevOps specialist
xmpp: martin@sukany.cz
phone: +420 776 275 713
email: martin@sukany.cz
l: https://www.linkedin.com/in/martins6




> 29. 6. 2020 v 21:53, George <g.lister@nodeunit.com>:
>
>
> On 2020-06-29 12:54 p.m., Martin wrote:
>> George, thanks for your feedback!
>>
>> I'd prefer OpenBSD in 99% of situations, but now I need to roll out Docker. Docker = linux. So I have to solve all the major issues, especially with clock, and run it for a project using OpenBSD host of course.
>
>
> Work is an imposed 'choice' ;) and yes that is where virtualization shines a little light in the tunnel.
>
>
>>
>> I set vmd Debian desktop guest a year ago with 5.2.x kernel which boots headless on vmd. Virtual framebuffer used for VNC connection from the same OpenBSD host by vnc viewer. Works perfectly, except clock...
>
>
> I would be interested in any instructions you might have on setting that up.
>
>
>>
>>
>> Currently, rebuilt kernel and vmd from -current. Going to make 5.4.x related vmm_clock module for minimalist Alpine-virt Linux guest. I'll report about results once done.
>
>
> That would be great.
>
> Thanks.
>
>
>>
>> Martin
>>
>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>> On Monday, June 29, 2020 4:21 PM, George <g.lister@nodeunit.com> wrote:
>>
>>> On 2020-06-29 8:51 a.m., Martin Sukany wrote:
>>>
>>>> Hi George,
>>>> did you solved the issue? I remember that I faces similar thing when I installed headless ubuntu as a guest … My issue was related to the fact that I used ‚boot cdrom' directive inside my configuration (seems that there is a bit inconsistency between the man page and the real configuration).
>>>> This is is a relevant piece of my config:
>>>> vm "ubuntu" {
>>>> memory 2G
>>>> cdrom /data/vms/_iso/mini-serial.iso
>>>> disk /data/vms/ubuntu.raw
>>>> interface tap { switch "uplink" }
>>>> disable
>>>> }
>>>> I had bad experience with usage of qcow2 disk format for Linux based guests — especially when you're trying to do dozens of I/O operations — several disk containers crashed before I migrated them to raw format.
>>>> if you have more than 4 vms, don't forget to create another /dev/tap<X> device, otherwise you could expect the unexpectable behaviour :)
>>>> M>
>>> Hello Martin,
>>>
>>> Thanks for the pointers. I abandoned my Linux efforts, too many issue
>>> and things to learn no time now. My goals could be satisfied by an
>>> OpenBSD VM and it is much better than most Linuxes ;). I have been
>>> swimming against the current (read using things/software/apis/os/tools
>>> etc. when people said it is not what is supposed to be done) but as of
>>> late I find it more relaxing going with it ;).
>>>
>>> Virtualization is such a ... mess which like everything else in our
>>> lives nowadays is designed to cover another mess ... I want to run Linux
>>> software on OpenBSD because I don't want to dedicate a machine to Linux
>>> and want to upgrade or run the version I want until I want ... I should
>>> be free to make that choice because of "I", sarcastic here, problem is
>>> CPU vendors and OS developers have to jump some hoops and add some
>>> features to make it happen ... and then things happen that the I does
>>> not like.
>>>
>>> Thanks for adding this info albeit to the wrong thread, I read it
>>> because I like Alpine and was thinking of it myself, but they don't have
>>> a ready console install version do they?
>>>
>>> Cheers,
>>>
>>> George
>>>
>>>>>> Hi guys,
>>>>>> I apologize if this maybe out of topic even though it is truly related
>>>>>> to VMM than Debian.
>>>>>> I am trying to setup a VMM Debian based guest but I'm not able to get it
>>>>>> to work. I found some description on the web about which settings to
>>>>>> edit in grub.cfg to enable the serial console and created a VM with 10.3
>>>>>> in qcow2 disk format in KVM. Now I am trying to start the same on
>>>>>> OpenBSD 6.7 but keep getting the connected message and then just
>>>>>> "Rebooting " after I hit some keyboard keys seems like baud rate issue
>>>>>> but not sure.
>>>>>> After messing with it for a while now I am getting a new error:
>>>>>> vmctl: could not open disk image(s)
>>>>>> even thought the disk is there and readable to the user I have setup in
>>>>>> vm.conf in fact I have another VM with the same configuration and disk
>>>>>> with the same permissions and in the same location that works (it is
>>>>>> OpenBSD based).
>>>>>> I would greatly appreciate it if someone has gone this path and can
>>>>>> share some config info with me.
>>>>>> Cheers and thanks in advance,
>>>>>> George
>>

No comments:

Post a Comment