Re: vmm computer freeze

2024-06-21 Thread Dave Voutila
Justin Yates Fletcher writes: > Hi all, > > Occasionally when I start a VM (Alpine v3.19) the host computer freezes > solid and requires a hard power off. > > It is not consistent but it does seem more stable when I have fewer > things running on the computer. If I have a desktop running, web >

Re: Debian 12 Under VMM

2024-06-04 Thread Dave Voutila
04-psyche.tot...@icloud.com writes: > Hi all, > > I am trying to run Debian 12 under VMM. > > I can see on the email from 2024-04-02 that Bruce managed to make it work, > but I don't know how. > > The crux of the issue is that the Debian ISO installer does not seem to work > under serial conso

Re: Does anyone know whether this hardware runs OpenBSD?

2024-03-25 Thread Dave Voutila
Steve Litt writes: > Does anyone know whether this hardware runs OpenBSD? > > https://www.walmart.com/ip/MeLE-Quieter3Q-Fanless-Mini-PC-N5105-Windows-11-8GB-256GB-4K-UHD-Wifi-6-Mini-Desktop-Computer-New/2177929669 Maybe... Looking at: https://www.cnx-software.com/2022/06/03/mele-quieter3q-rev

update to virtio_vmmci for linux 6.6 guests in vmd

2024-02-11 Thread Dave Voutila
Just cut a new release to fix building virtio_vmmci [1] on Linux guests. This is my port of vmmci(4) to Linux to allow Linux guests in vmd(8) safely shutdown when stopping vmd and also synchronize/update their rtc's if you suspend/hibernate and then resume the host machine. Not to be confused with

Re: vmd silently exits (after 7.4 upgrade)

2024-02-02 Thread Dave Voutila
Dave Voutila writes: > "Piotr K. Isajew" writes: > >> Hello, >> >> I'm observing this on one of my machines (which I seldom use >> nowadays) after upgrading it to 7.4. The machine had existing >> vm.conf setup which worked for me in the p

Re: vmd silently exits (after 7.4 upgrade)

2024-02-02 Thread Dave Voutila
"Piotr K. Isajew" writes: > Hello, > > I'm observing this on one of my machines (which I seldom use > nowadays) after upgrading it to 7.4. The machine had existing > vm.conf setup which worked for me in the past. > > Now "rcctl start vmd" reports: > vmd(ok) > > but just after that executing "vm

Re: Power usage in Dell XPS 17

2024-01-30 Thread Dave Voutila
Jag Talon writes: > I was wondering if I could get help with reducing power consumption on > my laptop. > > I have a Dell XPS 17 9700 that's newly running 7.4 (dmesg in > attachment) and previously it was running Fedora. Real-world usage > seems to have gone from 4 hrs to about 40 mins so I was

Re: Clock stops working on OpenBSD qemu/kvm guest

2024-01-30 Thread Dave Voutila
Lévai, Dániel writes: > Turns out the clock stopped every night at the time when backups were > running and thus the VM was paused (saved, or 'managedsaved' if > someone uses libvirt) for a minute. > Not sure why, though; while I was testing pause/resume the clock > didn't stop, it just failed

Re: Clock stops working on OpenBSD qemu/kvm guest

2024-01-26 Thread Dave Voutila
Lévai, Dániel writes: > Hi all! > > I have this OpenBSD 7.4 qemu/kvm VM managed by libvirt on an Ubuntu 22.04 > host. > > I started to notice this month that it started to act weird, it seems > like the clock stops every night. I couldn't pinpoint exactly what > caused the change in behavior,

Re: getpath from a file descriptor

2024-01-24 Thread Dave Voutila
bi...@iscarioth.org writes: > Hello, dear OpenBSD's devs. I hope everything works well for you. I'm > here to ask (maybe) a question that can displease you. > > Working on some projects, I saw a lot of them using fcntl(fd, > F_GETPATH) like MacOs/NetBSD do, or proc  with a famous symlink to > th

Re: Run VM with 16G or more?

2024-01-02 Thread Dave Voutila
"Kirill A. Korinsky" writes: > [[PGP Signed Part:Undecided]] >> On 2. Jan 2024, at 18:41, Dave Voutila wrote: >> "Kirill A. Korinsky" writes: > >>> vmctl -v start... doesn't help a bit >> >> How much physicaly memory does th

Re: Run VM with 16G or more?

2024-01-02 Thread Dave Voutila
"Kirill A. Korinsky" writes: >> On 2. Jan 2024, at 12:07, Kirill A. Korinsky wrote: >> >> Confirmed that it is: >> >> island$ grep '^vmd:' -A 2 /etc/login.conf >> vmd:\ >> :datasize=16384M:\ >> :tc=daemon: >> island$ > > > Wel.. after that changes error has been changed to: > >> vmct

Re: Appimage

2023-12-19 Thread Dave Voutila
Kevin Chadwick writes: > I'm not sure if this is a pipe dream but atleast I imagine the filesystem API > and /proc avoidance is likely possible. > Depends on what you're smoking in said pipe. > "https://github.com/AppImage/AppImageKit/issues/98";

Re: VMs not rebooting

2023-12-10 Thread Dave Voutila
"Robert B. Carleton" writes: > I have a number virtual machines, and I've noticed that they power off > instead of rebooting when using "shutdown -r now" on the guest. This is > the general form for a configuration in the /etc/vm.conf: > > vm "batch2" { > memory 2G > enable >

Re: What could cause high CPU load averages (no actual CPU usage)?

2023-10-25 Thread Dave Voutila
Mike Fischer writes: > I have been observing occasional bouts of high load averages on > several servers I administer and I am trying to find the cause. (I > monitor these machines so that I can implement corrective measures in > case of any malicious or abnormal activity. I think this is benig

Re: Lenovo Thinkpad T14 Gen3 very slow on MP kernel, faster on GENERIC

2023-10-18 Thread Dave Voutila
Stuart Henderson writes: > On 2023-10-17, Comète wrote: >> Hi, >> >> Wow ! you're absolutely right ! If I unplug, no lagg anymore. >> So the solution should be to apply your patch and rebuild the kernel ? > > It's certainly worth trying. If you do, please report back here. > I have a particul

Re: vmd and /dev/sd*

2023-10-13 Thread Dave Voutila
Manuel Giraud writes: > Mike Larkin writes: > >> On Thu, Oct 12, 2023 at 09:24:33AM -0600, Theo de Raadt wrote: >>> Manuel Giraud wrote: >>> >>> > > Manuel Giraud writes: >>> > > >>> > >> Hi, >>> > >> >>> > >> I can't find the information on this list (or elsewhere). Is it >>> > >> possible

Re: vmd and /dev/sd*

2023-10-12 Thread Dave Voutila
Manuel Giraud writes: > Hi, > > I can't find the information on this list (or elsewhere). Is it > possible to have a vm that access a disk through its device? The > following does not seem to work: > > # vmctl start -cL -m 1G -b /bsd.rd -d /dev/sd1c myvm > vmctl: start vm command failed: Unkn

Re: OpenBSD 7.3 found a process with PID 0

2023-09-26 Thread Dave Voutila
Alessandro Baggi writes: > Hi list, > running this python3 script: > > #!/usr/bin/env python3 > import psutil > > pids = psutil.pids() > for i in pids: > p = psutil.Process(i) > with p.oneshot(): > print(str(i) + " " + p.name()) > > The result start with: > > 0 swapper > 1 init

Re: Panic during 7.3 installation on VM

2023-09-26 Thread Dave Voutila
Alessandro Baggi writes: > Hi list, > I'm trying to install OpenBSD 7.3 on a VM (Linux KVM) but when it > starts to install sets I got panic and "syncing disk... 8 8 8 8 ..." > until it reboot automatically. Can you share the panic and backtrace? > > This is a simple installation, no disk enc

Re: desire for journaled filesystem

2023-09-05 Thread Dave Voutila
John Holland writes: > I just had a kernel panic when reloading a firefox tab pointed at > facebook. After restarting, all the filesystems had errors but /home > was particularly bad and caused the boot to stop and prompt if I > wanted to enter a root shell. > > > I eventually got fsck to mark

Re: non-hardware 2fa options for openssh

2023-08-29 Thread Dave Voutila
Daniel Jakots writes: > On Tue, 29 Aug 2023 10:07:18 -0500, "myml...@gmx.com" > wrote: > >> Hi All, >> >> I want to secure an openssh server with two factor authentication and >> have seen the hardware token methods, most recently i've been seeing >> yubi/FIDO methods. >> >> Ideally I would li

Re: Immutable Page Protections

2023-06-30 Thread Dave Voutila
Justin Handville writes: > I'm assuming that misc@ is probably the best place for this e-mail, > although it gets a bit in the tech@ weeds. I upgraded to 7.3 not so > long ago, and I noticed that a daemon I had written was no longer > working properly. For reasons that are probably too much to

Re: Hibernation on Thinkpad Carbon X1 gen 7 - unhibernate failed

2023-06-16 Thread Dave Voutila
Chris Narkiewicz writes: > Hi, > > I got Thinkpad Carbon X1 gen7 and I tried to test hibernation (ZZZ). Do you have a dmesg? > > When system is resumed, it took several minutes to load image. > dmesg shows: > > unhibernate failed: original kernel changed > > and my iwm0 wifi card is not visib

Re: support of thinkpad arm

2023-05-30 Thread Dave Voutila
BESSOT Jean-Michel writes: > Hello > > I wish to know if the last thinkpad arm will be supported by openbsd > before buying one. > > here the computer: > https://www.lenovo.com/fr/fr/p/laptops/thinkpad/thinkpadx/thinkpad--x13s-(13-inch-snapdragon)/len101t0019 > > what do you know about this ? >

Re: 7.3 vmm/vmd shutdown page flush behavior?

2023-05-14 Thread Dave Voutila
not jacinda ardern writes: > Perhaps it's just me, but upon upgrading to 7.3, I noticed that when VMs > shut down, there appears to be a flurry of disk activity right after the > VM OS shuts down, which seems like page flushing of mapped and/or cached > pages. I seem to also not recall as high

Re: Issues booting alpine linux > 3.5 on vmm - openbsd7.2

2023-01-06 Thread Dave Voutila
Dave Voutila writes: > di...@santanas.co.za writes: > >> Hi OpenBSD friends, >> >> Just a report, not sure if it's helpful, but @voutilad requested [1] I >> send the details to the mailing list. >> >> I have seen a few reports online[1][2], a

Re: Issues booting alpine linux > 3.5 on vmm - openbsd7.2

2023-01-06 Thread Dave Voutila
di...@santanas.co.za writes: > Hi OpenBSD friends, > > Just a report, not sure if it's helpful, but @voutilad requested [1] I > send the details to the mailing list. > > I have seen a few reports online[1][2], about some users not being able to > boot newer alpine linux versions (and other linux

Re: vmm(4)/vmd(8) trouble: vmd exits with proc_dispatch msgbuf_write error

2022-12-14 Thread Dave Voutila
"Theo de Raadt" writes: >> vmd: getgrnam >> parent: proc_dispatch: msgbuf_write: Broken pipe > > Your /etc/group file is out of date. > > And this code in vm_agentx.c is very unreasonable: > > /* > * Make sure we can connect to /var/agentx/master with the correct > * g

Re: vmm(4)/vmd(8) trouble: vmd exits with proc_dispatch msgbuf_write error

2022-12-14 Thread Dave Voutila
"matthew j weaver" writes: > Howdy, all. > > I'm at my wit's end and am hoping somebody can spot what I'm > overlooking. > > I cannot get vmd to run on some hardware which seems like it should > support virtualization. CPU is an Intel(R) Core(TM) i5-7200U (full dmesg > is below my message). > >

updated vmm support modules for older Linux guests

2022-11-24 Thread Dave Voutila
I finally got around to slapping more hacky #ifdef's onto my vmm_clock [1] and virtio_vmmci [2] Linux kernel modules because I found older Linux kernel versions (~3.10 era) didn't support compiling them. If you host things like CentOS 7 guests under vmm(4)/vmd(8), I recommend trying them out and o

Re: VM(D) Interface Question

2022-10-01 Thread Dave Voutila
Holger Glaess writes: > Hi > > > how many Interfaces can an single VM have ? > > > With 3 Interface in my vm.conf the vm works, with 4 not i get "to many > interfaces". > The maximum supported per vm is currently 4. Without your config or invocation triggering the "too many interfaces" when yo

Re: whither struct __kvm?

2022-09-10 Thread Dave Voutila
"Lyndon Nerenberg (VE7TFX/VE6BBM)" writes: > The first declaration in is: > > typedef struct __kvm kvm_t; > > and yet 'grep -r __kvm /usr/include /sys' returns only the above > line. What am I missing? > Since you don't say what you're expecting to *see* I'm not sure how to tell you what y

Re: Lenovo IdeaPad 3 14ITL05 EST turbo mode

2022-08-19 Thread Dave Voutila
Mikhail writes: > Recently I've bought subject laptop, but it had an issue - when I was > doing git clone of a any huge tree, like linux kernel, it shut down in > the beginning of 'Resolving deltas' stage. I'd tested Debian 11 and > OpenBSD (current) - Debian shut down almost immediately, OpenB

Re: cpus spinning using three or more pipes in a chain

2022-08-16 Thread Dave Voutila
Stuart Henderson writes: > On 2022-08-15, gwes wrote: >> Unexpected behavior: >>   When I try to chain three programs together with pipes moving lots >> of data spin time goes up on most or all CPUs. >> Is this known or expected? >> >> the chain [shortened] was >>   find /someplace -maxdepth

Re: Mutt cannot sent mail in OpenBsd

2022-07-08 Thread Dave Voutila
wim writes: > Hi everybody, > > I have this weird issue. > I can read the mails with mutt on openbsd but when I want to sent I > get this message from the mutt log: > [2022-07-08 14:33:16] mutt_send_message() Sending message... > [2022-07-08 14:33:16] raw_socket_open() Looking up mail.thinkerwi

Re: Latest -current boots very slow in VM

2022-07-01 Thread Dave Voutila
Mischa writes: > Hi All, > > Just updated one of my -current test VMs to the snapshot of June 30. > The boot process takes extremely long. As soon as it's booting: > > ### > Using drive 0, partition 3. > Loading.. > probing: pc0 com0 mem[638K 3838M 4352M a20=on] > disk: hd0+ >>> OpenBSD/amd

Re: Framework laptop fails to enter sleep/suspend/hibernate

2022-04-25 Thread Dave Voutila
Andrew W writes: > Not sure what else to try but I can't seem to get sleep/suspend to work on > my frame.work laptop. I've tried OpenBSD 7.0 and 7.1 now, running off a 1TB > USB drive. S4/Hibernation is not supported when swap is on a USB disk. I haven't read the suspend code paths lately, but

Re: reordering libraries: fdcresult: overrun

2022-04-18 Thread Dave Voutila
rtw0 dtw0 writes: > Hi, > When my OpenBSD vm boots I receive the following message: > > *reordering libraries: fdcresult: overrun* > Vm version, host version, etc. etc. Not enough info here. There was an issue address in vmm(4) that caused noise from the fdc(4) driver, but that was fixed in N

Re: Thinkpad T480 high cpu after zzz

2022-03-17 Thread Dave Voutila
r 3 > Mar 14 18:28:47 ashen /bsd: > drm:pid91513:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] > [ENCODER:94:DDI \M-j/PHY h] is disabled/in DSI mode with an ungated > DDI clock, gate it > Mar 14 18:28:47 ashen /bsd: > drm:pid91513:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] > [ENCODER:102:DDI \M-j/PHY h] is disabled/in DSI mode with an ungated > DDI clock, gate it > Mar 14 18:28:47 ashen /bsd: > drm:pid91513:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] > [ENCODER:116:DDI \M-j/PHY h] is disabled/in DSI mode with an ungated > DDI clock, gate it > Mar 14 18:28:47 ashen apmd: system resumed from sleep > Mar 14 18:28:47 ashen apmd: battery status: high. external power > status: connected. estimated battery life 100% > Mar 14 18:28:48 ashen /bsd: uvideo0 at uhub0 port 8 configuration 1 > interface 0 "Azurewave Integrated Camera" rev 2.01/17.11 addr 4 > Mar 14 18:28:48 ashen /bsd: video0 at uvideo0 > Mar 14 18:28:49 ashen /bsd: ugen2 at uhub0 port 9 "Synaptics product > 0x009a" rev 2.00/1.64 addr 5 > Mar 14 18:28:50 ashen /bsd: umass0 at uhub0 port 15 configuration 1 > interface 0 "Generic USB3.0-CRW" rev 3.00/2.04 addr 6 > Mar 14 18:28:50 ashen /bsd: umass0: using SCSI over Bulk-Only > Mar 14 18:28:50 ashen /bsd: scsibus2 at umass0: 2 targets, initiator 0 > Mar 14 18:28:50 ashen /bsd: sd1 at scsibus2 targ 1 lun 0: SD/MMC, 1.00> removable serial.0bda031650103090 -- -Dave Voutila

Re: login.conf daemon datasize limit effects on VMs with 4GB+ RAM

2022-02-26 Thread Dave Voutila
"Ted Unangst" writes: > On 2022-02-25, Robert Nagy wrote: >> Maybe we need a default vmd class? What do you guys think? > > Regardless of what the limit is, this seems like a daemon where people > will bump into the limit. Perhaps a reminder is in order too? > The reminder is good, but we stil

Re: acpi0: sleep states S0 S3 S5, was: S0 S3 S4 S5

2022-02-18 Thread Dave Voutila
Try the next snap. I believe a diff slipped in temporarily. -dv > On Feb 18, 2022, at 11:38, Marcus MERIGHI wrote: > > Hello! > > I'm not sure this should go to bugs@. > > On three machines that I upgraded to the latest snapshot > yesterday, "S4" vanished: > > -acpi0: sleep states S0 S3 S4

Re: Suspend/hibernate broken [upgrade: 6.9 to 7.0] (solution)

2021-12-30 Thread Dave Voutila
Clint Pachl writes: > This is how I got suspend and hibernate working again on my Huawei > Matebook after upgrading to 7.0 release. I thought I'd share here in > case it helps someone else. > > > SYNOPSIS: > > Initiating a "sleep" state blanks the screen and illuminates the > keyboard (indicati

Re: unable to send external mail with smtpd

2021-10-20 Thread Dave Voutila
freddiebub...@countermail.com writes: > Hi, I'm new to openbsd having just set it up on my x200 and loving it > (running so much better than my old distro). after reading through > c0ffee's laptop set up guide and the afterboot man page i'm struggling > to work out why i can't send mail through

Re: Alpine Linux guest running slow after upgraded to OpenBSD 7.0

2021-10-18 Thread Dave Voutila
Siegfried Levin writes: > An Alpine Linux 3.10 guest VM is running quite slow after I upgraded > the host to 7.0. It takes quite long to get a response. Other OpenBSD > guests seems ok. Is anyone having the same issue? Thanks. You'll need to share a bit more detail for any constructive help; "

Re: xterm not opening on latest snapshot?

2021-09-05 Thread Dave Voutila
henkjan gersen writes: > On this mornings snapshot that I just upgraded to I can no longer open > an xterm window. Based on the .xsession-error this must be related to > the unveil capabilities that got added last week as I see "xterm: > unveil" appearing in that file. > > Can someone give a hi

Re: Why 16 year old zlib 1.2.3 in OpenBSD 6.9 released May 2021 please?

2021-06-24 Thread Dave Voutila
Theo de Raadt writes: > Dave Voutila wrote: > >> Theo de Raadt writes: >> >> >> I think the easiest path here is to incorporate the new upstream into a >> >> port, unless someone is familiar with zlib and can cherrypick out the >> >> co

Re: Why 16 year old zlib 1.2.3 in OpenBSD 6.9 released May 2021 please?

2021-06-24 Thread Dave Voutila
Theo de Raadt writes: >> I think the easiest path here is to incorporate the new upstream into a >> port, unless someone is familiar with zlib and can cherrypick out the >> commit(s) that resolve the issue. (I didn't find zlib in ports already.) > > That is completely impossible. It must be in

Re: Why 16 year old zlib 1.2.3 in OpenBSD 6.9 released May 2021 please?

2021-06-24 Thread Dave Voutila
Matt Dowle writes: > Hi, > > Is it intentional or is there any good reason that OpenBSD 6.9 released May > 2021 uses a 16 year old version of zlib (v1.2.3; July 2005)? The latest > version v1.2.11 (Jan 2017) is 4 years old. > > Background here: https://github.com/Rdatatable/data.table/pull/5049

Re: Machine age and OpenBSD - Thinkpad R51e

2021-06-15 Thread Dave Voutila
Thomas Vetere writes: > Hello everyone, > > I was looking to get a laptop to run OpenBSD. The one I am looking at in > particular is the Thinkpad R51e (2005). I like this particular model > because it does not come with any extra hardware that OpenBSD does not > support in the first place (bluet

Re: use tablet interface under vm running linux / pressure on wacom

2021-06-09 Thread Dave Voutila
Rudolf Sykora writes: > I just want to check if, perhaps, there is something new about the > possibility of the mentioned 'device passthrough' in vmd. Nope. I recommend either finding a device that works as required with OpenBSD or improving the existing driver to make your device work. -dv

Re: Best practices mirroring large file-system hierarchies?

2021-06-07 Thread Dave Voutila
rialno=1234567890 > hw.uuid=534d4349-0002-337a-c40c-337ac40cb061 > hw.physmem=68701257728 > hw.usermem=68701241344 > hw.ncpufound=16 > hw.allowpowerdown=1 > hw.smt=0 > hw.ncpuonline=8 > machdep.console_device=ttyC0 > machdep.bios.diskinfo.128=bootdev = 0xa204, cylinders = 1024, > heads = 255, sectors = 63 > machdep.bios.diskinfo.129=bootdev = 0xa0020204, cylinders = 1024, > heads = 255, sectors = 63 > machdep.bios.diskinfo.130=bootdev = 0xa0030204, cylinders = 1024, > heads = 255, sectors = 63 > machdep.bios.diskinfo.131=bootdev = 0xa0040204, cylinders = 1024, > heads = 255, sectors = 63 > machdep.bios.diskinfo.132=bootdev = 0xa0050204, cylinders = 1024, > heads = 255, sectors = 63 > machdep.bios.diskinfo.133=bootdev = 0xa0060204, cylinders = 1024, > heads = 255, sectors = 63 > machdep.bios.diskinfo.134=bootdev = 0xa0080204, cylinders = 1024, > heads = 255, sectors = 63 > machdep.bios.diskinfo.135=bootdev = 0xa0070204, cylinders = 1024, > heads = 255, sectors = 63 > machdep.bios.cksumlen=2 > machdep.allowaperture=0 > machdep.cpuvendor=AuthenticAMD > machdep.cpuid=0x600f12 > machdep.cpufeature=0x179bfbff > machdep.kbdreset=0 > machdep.xcrypt=0 > machdep.lidaction=1 > machdep.forceukbd=0 > machdep.tscfreq=236969 > machdep.invarianttsc=1 > machdep.pwraction=1 > ddb.radix=16 > ddb.max_width=80 > ddb.max_line=25 > ddb.tab_stop_width=8 > ddb.panic=1 > ddb.console=0 > ddb.log=1 > ddb.trigger=0 > vfs.mounts.ffs has 16 mounted instances > vfs.mounts.mfs has 2 mounted instances > vfs.ffs.max_softdeps=23704 > vfs.ffs.sd_tickdelay=2 > vfs.ffs.sd_worklist_push=0 > vfs.ffs.sd_blk_limit_push=0 > vfs.ffs.sd_ino_limit_push=0 > vfs.ffs.sd_blk_limit_hit=0 > vfs.ffs.sd_ino_limit_hit=0 > vfs.ffs.sd_sync_limit_hit=0 > vfs.ffs.sd_indir_blk_ptrs=1618 > vfs.ffs.sd_inode_bitmap=4201 > vfs.ffs.sd_direct_blk_ptrs=14680 > vfs.ffs.sd_dir_entry=8615 > vfs.ffs.dirhash_dirsize=2560 > vfs.ffs.dirhash_maxmem=5242880 > vfs.ffs.dirhash_mem=5184849 > vfs.nfs.iothreads=-1 > vfs.fuse.fusefs_open_devices=0 > vfs.fuse.fusefs_fbufs_in=0 > vfs.fuse.fusefs_fbufs_wait=0 > vfs.fuse.fusefs_pool_pages=0 -- -Dave Voutila

Re: vmctl start: vm command failed: Operation already in progress (no one VM run in the same time)

2021-05-25 Thread Dave Voutila
Martin writes: > Try to start VM from previously (<6.9) working command as below: > > $ doas /usr/sbin/vmctl start -m 8G -c -n vmlan -d /path/to/vm.qcow2 vm > > Now I have trouble with it on 6.9amd64 with 1-5 patches installed. > > $ doas rcctl status vmd > vmd(ok) > > command above returns: >

Re: VMM 6.9amd64 host video acceleration

2021-05-12 Thread Dave Voutila
Martin writes: > Hi list, > > Just wonder how to enable video acceleration on VMM guest's side (Debian) if > it was possible. Maybe PCIe passthru should be present for that purpose? There is nothing to accelerate: vmd(8) doesn't emulate a display or video device. vmm(4) doesn't support pass-th

Re: Unable to boot 6.9 bsd.rd on 6.8 vmd host

2021-05-04 Thread Dave Voutila
Mischa writes: > Hi All, > > I have a couple of machines running on 6.8 still, will upgrade soon. :) > For some reason when I am trying to boot a 6.9 bsd.rd nothing is happening. 6.9 bsd.rd's for amd64 are gzip'd. For 6.9, vmd was taught how to boot compressed kernels/ramdisks. > > It's only s

Re: vmm error mesg since upgrade to 6.9

2021-05-04 Thread Dave Voutila
Dave Voutila writes: > > I've managed to reproduce it on my end using vmd(8) from 6.9 and a > config similar to what you and Holger are using. I have a few hunches > and looking into it. > An errata for 6.9 was released addressing the underlying issue. As this is specific

Re: vmm error mesg since upgrade to 6.9

2021-05-02 Thread Dave Voutila
Mischa Peters writes: >> On 2 May 2021, at 14:25, Dave Voutila wrote: >> >>  >> Mischa writes: >> >>> >>> Interestingly I am seeing the same on my 6.9 hosts, except the host running >>> -current. >> >> Hmm. -current has so

Re: vmm error mesg since upgrade to 6.9

2021-05-02 Thread Dave Voutila
Mischa writes: > > Interestingly I am seeing the same on my 6.9 hosts, except the host running > -current. Hmm. -current has some small changes to virtio emulation, specifically fixing some bad casts I found [1]. That might explain the difference with -current. > The hosts are similar in rega

Re: vmm error mesg since upgrade to 6.9

2021-05-02 Thread Dave Voutila
Holger Glaess writes: > hi > > > i did the upgrade von 6.8 to 6.9 . > > > after reboot i get in my messages log > > > vmd[56]: vionet_enq_rx: descriptor too small for packet data > > > i run only one vm on my box, this is also upgraded to 6.9. > > > how can i fix this ? > > Can you share some m

Re: X11 Freeze and Crash on Lenovo Thinkpad T14 AMD GEN1

2021-04-14 Thread Dave Voutila
niamkik writes: > Hi, > > Just got the same issue, this time, my connection was still present. Here the > message from dmesg after going into single-user mode by killing init process. > > [drm] *ERROR* ring sdma0 timeout, signaled seq=30079, emitted seq=30079 > [drm] *ERROR* Process information

Re: vmm page fault with VM upgraded from Ubuntu 18LTS to 20LTS

2021-03-27 Thread Dave Voutila
Noah writes: > vmm crashes during boot after upgrading a VM from Ubuntu 18 to Ubuntu 20. > Host is running 6.8 with all syspatches > > vmd -dvvv output provides a log entry of: > vcpu_run_loop: vm 7 / vcpu 0 run ioctl failed: Bad address > > and this coincides with a kernel message: > vmx_fault_

Re: Keeping xlock on top in cwm

2021-03-16 Thread Dave Voutila
tetrahe...@danwin1210.me writes: > On Tue, Mar 16, 2021 at 06:11:09PM +, tetrahe...@danwin1210.me wrote: >> In cwm, is there a way to keep a particular window (in this case, >> xclock) "always on top"? >> >>I don't see anything in the man page, but maybe I missed something: >>https://man.ope

Re: vmm/vmd disk issue

2021-03-09 Thread Dave Voutila
to replace would it make sense to make this a > softraid mirror (RAID1) to avoid or get better indication of this > kind of problems in the future or would only add more parts that > can break? > > I'am currently trying to provoke the drive from the host with > > dd if=/dev/random of=test.raw bs=1m count=17000 > > then cp/dd and cmp to see if I can make it break for real. I'd say maybe make sure you have backups of anything important first if you're purposely going to break things. :-) -- -Dave Voutila

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 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

Re: OpenBSD alternatives to Pi-Hole

2020-06-12 Thread Dave Voutila
). I believe it's also used by the pi-hole distribution to provide the caching dns resolver. There are numerous blog posts online about how to configure unbound(8) for this, including on OpenBSD. -- -Dave Voutila

Re: VMM Debian guest serial setup help needed

2020-06-10 Thread Dave Voutila
George writes: > 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 ena

Re: Running Windows inside vmm/vmd VM.

2019-11-23 Thread Dave Voutila
On Sat, Nov 23, 2019 at 12:18 AM Jordan Geoghegan wrote: > > However the timekeeping situation for my Linux VMs is bleak. On both > Void and Alpine, no clocks are even detected. In the dmesg it complains > about the TSC clock source being unstable. Ultimately, we're left with > only jiffies as a c

Re: serial console images for installing on vmd based guests

2019-03-13 Thread Dave Voutila
On Wed, Mar 13, 2019 at 4:08 AM Claudio Jeker wrote: > > On Tue, Mar 12, 2019 at 11:48:01PM -0700, Mike Larkin wrote: > > On Tue, Mar 12, 2019 at 05:37:04PM -0700, Chris Cappuccio wrote: > > > Is there any archive of serial console bootable images (w/virtio support) > > > for Linux or other OSes t

Re: clocksource tsc sometimes not available within debian vm on OpenBSD 6.4

2019-03-08 Thread Dave Voutila
On Fri, Mar 8, 2019 at 1:55 PM Joe M wrote: > > I have the same issue and have been using this driver. It sets the > correct time every 5 seconds. For this purpose, this solution is a > hack, but, I could not figure out a better solution. > > https://github.com/voutilad/virtio_vmmci/issues/1 As t

Re: A (partial) vmmci(4) Linux implementation

2019-02-26 Thread Dave Voutila
> On Feb 25, 2019, at 7:29 PM, Mike Larkin wrote: > > On Sun, Feb 24, 2019 at 12:21:24PM -0500, Dave Voutila wrote: >> I've been experimenting with implementing something like vmmci(4) for >> Linux guests. It's started to prove useful to myself so maybe othe

A (partial) vmmci(4) Linux implementation

2019-02-24 Thread Dave Voutila
I've been experimenting with implementing something like vmmci(4) for Linux guests. It's started to prove useful to myself so maybe others will benefit, even though there are currently some caveats[1]. https://github.com/voutilad/virtio_vmmci My primary use case is keeping some Linux guests con

Re: Best Practices python virtualenv

2018-04-30 Thread Dave Voutila
Ken MacKenzie writes: > Is there a recommended best practice when setting up an environment with > python > virtualenv with regards to wxallowed. AFAIK nothing official. > > My typical workflow is under my home directory I have a > dev/language/project/.venv type structure. I guess the simple s

Re: With the latest snapshot there are some issues in Xfce, please help!

2018-03-18 Thread Dave Voutila
Zsolt Kantor writes: > Hello to all. > I installed the latest snapshot with Xfce. But there are some issues whit > Xfce. I found 3 problems. > > 1. The terminal size is very expanded, it is not 80x..., its 145x..., but if > I check the terminal properties the width setting is 80. Very strange.

Re: vmd - Unable to reboot Alpine guest

2018-02-18 Thread Dave Voutila
"Aham Brahmasmi" writes: >> On Sun, Feb 18, 2018 at 04:23:39PM +0100, Aham Brahmasmi wrote: >> > I am unable to reboot an Alpine Linux 3.7.0 guest. I can confirm that on 6.2-current, you can reboot an Alpine 3.7.0 guest without errors. >> > >> > Tailing the /var/log/messages lists the followin

Re: macpro boot openbsd 6.2 , but ,,,

2017-10-19 Thread Dave Voutila
Have you tried using rEFInd for dual or triple-booting? http://www.rodsbooks.com/refind/index.html I use it to dual-boot macOS and OpenBSD on multiple systems. The order I follow during upgrades or installs: 1) Install or upgrade macOS first because it will overwrite rEFInd if present 2) Boot in

Re: pointing installurl to current snapshot packages path does not work

2017-10-07 Thread Dave Voutila
, my humble thanks to this awsome community. > > eelco > > On 10/7/17, Dave Voutila wrote: >> >> Make sure you’re using the -Dsnap flag on pkg_add and pkg_info. Keep >> installurl set to the snapshots directory of the mirror. >> >>> On Oct 7, 2017, at 9:1

Re: pointing installurl to current snapshot packages path does not work

2017-10-07 Thread Dave Voutila
Make sure you’re using the -Dsnap flag on pkg_add and pkg_info. Keep installurl set to the snapshots directory of the mirror. > On Oct 7, 2017, at 9:10 AM, eelco van der vlugt wrote: > > Hello, > > I installed today via usb the latest snapshot > 2017-Oct-04 03:45 from > leaseweb. > When set

Re: Mid-2015 MacBook Pro

2017-09-22 Thread Dave Voutila
t, and at the boot> prompt. There's an RTC BIOS diagnostic error before > the kernel loads. At the UCK prompt, the cursor is glitching and the > keyboard is unresponsive. External keyboard isn't helping. > > Photos here, if it matters: https://imgur.com/a/iL6T0 > > On Thu, S

Re: Mid-2015 MacBook Pro

2017-09-21 Thread Dave Voutila
ax0n, Is that a model with both integrated Intel gpu and dedicated Radeon gpu? Maybe look at drm(4) and try removing the radeon driver since the intel one should work fine. The intel drivers work great on my early-2015 MBP (i5 Broadwell), but then again it doesn't have any dedicated graphics. -D

Re: [vmd] SVM flag on AMD Phenom II but vmd not working

2017-09-17 Thread Dave Voutila
Philippe, > When I try to install Alpine Linux, I can't even see the first step of > the installer. What command and arguments are you using to start the Alpine vm and which Alpine version are you using? You should at least get the "boot:" prompt via syslinux when attached via the serial console.

Re: VMM Serial Console issues with Alpine Linux in -current

2017-09-13 Thread Dave Voutila
Well this is embarrassing. Let's just say "console=ttyS0,115200" is not the same as "console=/dev/ttyS0,115200". Definitely user error. Sorry, Mike! On Sun, Sep 10, 2017 at 10:22 AM, Dave Voutila wrote: > Mike, > > Must be something specific to my machine as

Re: VMM Serial Console issues with Alpine Linux in -current

2017-09-10 Thread Dave Voutila
l a custom Alpine iso that boots with full debug logging to see if I can shed any light on this issue. If anyone else has a MacBook Pro 12,1 model with i5-5257U CPU, I'm curious if they too have the problem. -Dave On Tue, Sep 5, 2017 at 10:22 AM, Dave Voutila wrote: > I'm away from t

Re: VMM Serial Console issues with Alpine Linux in -current

2017-09-05 Thread Dave Voutila
20:58AM -0700, Mike Larkin wrote: >> On Sun, Sep 03, 2017 at 10:22:07PM -0700, Mike Larkin wrote: >> > On Sun, Sep 03, 2017 at 03:03:22PM -0400, Dave Voutila wrote: >> > > Decided to test using the "virt" Alpine build and it creates the error >> > > I

Re: VMM Serial Console issues with Alpine Linux in -current

2017-09-03 Thread Dave Voutila
e Larkin wrote: > On Sun, Sep 03, 2017 at 12:41:31PM -0400, Dave Voutila wrote: >> Hi misc@, >> >> I'm using the latest AMD64 snapshot from 2017-09-02 and can no longer >> log into an Alpine Linux VM. (This was working with a previous >> snapshot from a fe

Re: VMM Serial Console issues with Alpine Linux in -current

2017-09-03 Thread Dave Voutila
escriptor. I'm a wee bit in over my head at this point, but figured I'd share the latest. I'm honestly not sure if this is an issue with Alpine, but I think if I can get it to work with a serial console in QEMU then it's possibly a deficiency in VMD/SeaBIOS. -Dave Voutila

VMM Serial Console issues with Alpine Linux in -current

2017-09-03 Thread Dave Voutila
g, pid 67773 parent terminating - My dmesg output is attached since it's longer. Any thoughts or suggestions would be appreciated! My current plan is to wait a few days and try another snapshot. In the mean time I may dig into the login process for Alpine and see if I can better understand what it tries to do. Thanks, Dave Voutila dmesg-2017-09-03 Description: Binary data