Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread George
On Mon, 29 Jun 2020 14:53:52 -0700 Mike Larkin wrote: > On Mon, Jun 29, 2020 at 08:25:19PM +, Martin wrote: > > Setting up Debian as vmm guest is not a trivial procedure and > > require Debian Linux host with KVM installed first to install your > > guest with screen connected. > > Why do yo

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin
About a year ago I set Debian by difficult way from official distribution without modifying official iso and preconfigured console output. As Mike wrote, it is significantly better to find iso with virtio driver. Martin ‐‐‐ Original Message ‐‐‐ On Monday, June 29, 2020 9:53 PM, Mike Lar

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin
Dave, Alpine 3.12 works excellent with your kernel drivers. Absolutely amazing! I've just built all of them and solve ton of time without experimenting with tsc kernel options. virtio_vmmci virtio_pci_obsd vmm_clock I followed all of your recommendations except adding tsc options to /etc/upda

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin
Thanks, found mistake. Works like a charm! ‐‐‐ Original Message ‐‐‐ On Monday, June 29, 2020 8:51 PM, Dave Voutila wrote: > On Mon, Jun 29, 2020 at 4:46 PM Martin martin...@protonmail.com wrote: > > > According to man vmctl for both: -current and 6.7 -b should be used for > > base image

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin
According to man vmctl for both: -current and 6.7 -b should be used for base images. -b works just before kernel+vmm+vmctl -current update. Please check https://man.openbsd.org/vmctl.8 Can it be a bug? Martin ‐‐‐ Original Message ‐‐‐ On Monday, June 29, 2020 8:28 PM, Dave Voutila wrot

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin
Setting up Debian as vmm guest is not a trivial procedure and require Debian Linux host with KVM installed first to install your guest with screen connected. Once you have your host ready with KVM run a command to set iso up: qemu-img create -f qcow2 linux.qcow2 128G kvm -enable-kvm -vnc 127.0.

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin Sukany
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: mar...@sukany.cz phone: +420 776 275 713 email: mar...@

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin
Dave, After build kernel+vmd+vmctl sources from -current I have an issue with installing a system from *.iso images. The command below works fine before update, but not now $ doas vmctl start -m 1G -c -n vmlan -b /home/iso/install67.iso -d /home/vmm/guest.qcow2 guest Martin ‐‐‐ Original M

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Mike Larkin
On Mon, Jun 29, 2020 at 08:25:19PM +, Martin wrote: > Setting up Debian as vmm guest is not a trivial procedure and require Debian > Linux host with KVM installed first to install your guest with screen > connected. > Why do you believe this? Setting up debian in vmm is not any harder than s

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread George
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

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin
Alpine has minimalist console ready install on ~40Mb *.iso initially if you chose -virt release. Can be installed out of the box for headless environment. With some additional env. binaries and configs + docker it grow up to 780Mb in *.qcow2 image. I suppose it will be a bit higher after additio

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin
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. I set vmd Debian desktop guest a year ago with 5.2

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Dave Voutila
On Mon, Jun 29, 2020 at 4:46 PM Martin wrote: > > According to man vmctl for both: -current and 6.7 -b should be used for base > images. -b works just before kernel+vmm+vmctl -current update. Re-read it. You're mixing the `vmctl start` and `vmctl create` commands. They reuse options but the -b o

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Dave Voutila
On Mon, Jun 29, 2020 at 4:05 PM Martin wrote: > After build kernel+vmd+vmctl sources from -current I have an issue with > installing a system from *.iso images. > The command below works fine before update, but not now > > $ doas vmctl start -m 1G -c -n vmlan -b /home/iso/install67.iso -d > /hom

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin
Hi Dave, Alpine kernel 5.4.43-1-virt guest openbsd 6.7 stable host. Try to compile vmd from -current to improve linux guests stability. set clocksource=tsc in /etc/update-extlinux.conf run update-extlinux to install boot loader. Next boot getting this in dmesg: ... [Frimware Bug]: TSC doesn't

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin Sukany
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 configu

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread George
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 incon

Alpine-virt vmd guest tsc directive

2020-06-29 Thread Martin
Hi list, I'm using Alpine-virt linux (headless linux with 40Mb initial *.iso size) which has tsc issues. Alpine uses syslinux lightweight boot loader by default. In order to enable tsc I've added tsc=reliable tsc=noirqtime to /etc/update-extlinux.conf before console=ttyS0,115200 and updated it

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Dave Voutila
On Mon, Jun 29, 2020 at 10:57 AM Martin wrote: > > Hi Dave, > > Alpine kernel 5.4.43-1-virt guest openbsd 6.7 stable host. Try to compile vmd > from -current to improve linux guests stability. Are you also running a -current kernel? vmm(4) is in the OpenBSD kernel...vmd(8) is in base. > > set c

Re: Alpine-virt vmd guest tsc directive

2020-06-29 Thread Dave Voutila
On Mon, Jun 29, 2020 at 7:23 AM Martin wrote: > > Hi list, > > I'm using Alpine-virt linux (headless linux with 40Mb initial *.iso size) > which has tsc issues. Alpine uses syslinux lightweight boot loader by > default. In order to enable tsc I've added tsc=reliable tsc=noirqtime to > /etc/upda