Re: pci passthrough Mediatek MT7922 doesn't work

2024-04-20 Thread Bakul Shah
Invoke the vmrun.sh script as "sh -x /usr/misc/examples/bhyve/vmrun.sh" to show use the bhyve command line executed. As well as any error messages. > On Apr 20, 2024, at 12:32 PM, Peter Miller wrote: > > Hello, > > I'm trying to use wifibox and the wifi device is not being passed through. > Th

Re: bhyve/nmdm/cu console paste in problem

2024-05-11 Thread Bakul Shah
I presume bhyve emulates a serial device, has a limited buffer and can only work so fast before dropping characters Your best bet may be to use picocom or some such term emulator program with a builtin support for "file transfer" or can use an external program such as sz/rz which are designed

Re: nmdm issues with bhyve

2024-07-16 Thread Bakul Shah
> On Jul 16, 2024, at 1:15 PM, Kyle Evans wrote: > > On 7/16/24 09:38, Polarian wrote: >> Hello, >> Over the last few days I have been trying to get nmdm working with >> bhyve. I have discussed it within #bhyve over on libera.chat however >> none of the suggestions so far have fixed the proble

Re: Bhyve CD-ROM

2021-11-30 Thread Bakul Shah
FWIW, I had no trouble installing Debian 5.10.something in a VM. I am using 13.0-STABLE but this should also work on 13.0-RELEASE. When booting from a disk, I just remove the cdrom line from bhyve command line (as shown below). # cat debian/run bhyve -c 2 \ -s 0,hostbridge \ -s 5,n

Re: Bhyve CD-ROM

2021-11-30 Thread Bakul Shah
On Nov 30, 2021, at 2:14 PM, Sysadmin Lists wrote: > > Yeah, all you cool kids are running 13.0-* already while I'm waiting for > 12.3-RELEASE to get out of beta. :P > I have to decide if fixing Bhyve by jumping to 13.0-RELEASE is worth the time > required to fix whatever else breaks from the

Re: Using bhyve to develop and OS -- tips on how?

2022-01-15 Thread Bakul Shah
You may be better off using qemu, at least initially as “legacy” booting requires jumping through a few more hoops. Another suggestion is to check out wiki.osdev.org. There are a lot of useful resources on this site. > On Jan 15, 2022, at 1:29 AM, Aryeh Friedman wrote: > >  > I want to develo

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Bakul Shah
On Mar 20, 2022, at 3:11 PM, Mario Marietto wrote: > > -s 2,nvme,/dev/nvd0 \ AIUI, this 'nvme' means bhyve will *emulate* an NVME device and it will treat whatever is given to it (/dev/nvd0) as just dumb storage. It doesn't care if /dev/nvd0 is an NVME device. So commands such as nvmecontrol ide

bhyve -G

2023-10-09 Thread Bakul Shah
Any hints on how to use bhyve's -G option to debug a VM kernel? I can connect to it from gdb with "target remote :" & bhyve stops the VM initially but beyond that I am not sure. Ideally this should work just like an in-circuit-emulator, not requiring anything special in the VM or kernel itself.

Re: bhyve -G

2023-11-15 Thread Bakul Shah
> On Nov 15, 2023, at 7:57 AM, John Baldwin wrote: > > On 10/9/23 5:21 PM, Bakul Shah wrote: >> Any hints on how to use bhyve's -G option to debug a VM >> kernel? I can connect to it from gdb with "target remote :" >> & bhyve stops the VM initi

Re: (vm-)bhyve stopped working recently on 13.2

2024-01-12 Thread Bakul Shah
On Jan 12, 2024, at 2:07 PM, Tomek CEDRO wrote: > Jan 12 22:33:49: [cpu: 4] > Jan 12 22:33:49: [memory: 20G] See if stays up when you give it less memory or fewer cpus (for debugging purposes). Another option is to compile bhyve with -g, run it under gdb and set a breakpoint on exit to see th

Re: Struggle with bhyve and Kali.

2024-12-07 Thread Bakul Shah
the efi > partition on the host and mess around. > > On Sat, Dec 7, 2024 at 7:23 PM Bakul Shah wrote: > This may help: > https://record99.blogspot.com/2021/12/bdsdex-failed-to-load-boot0001-uefi-bhyve-sata-disk.html > > > > On Dec 7, 2024, at 3:27 PM, Zaphod Beeblebrox

Re: Struggle with bhyve and Kali.

2024-12-08 Thread Bakul Shah
On Dec 8, 2024, at 10:41 AM, Mark Peek wrote: > > > > If using vm-bhyve and uefi, make sure these are set in the vm-bhyve config > file prior to installing: > loader="uefi" > uefi_vars="yes" Thanks. Though this doesn't solve the problem of a blank screen once you boot normally (not in recover

Re: Struggle with bhyve and Kali.

2024-12-07 Thread Bakul Shah
This may help: https://record99.blogspot.com/2021/12/bdsdex-failed-to-load-boot0001-uefi-bhyve-sata-disk.html > On Dec 7, 2024, at 3:27 PM, Zaphod Beeblebrox wrote: > > So... I've installed kali a few times on bhyve. Lately on 14.1 that is now > 14.2 (no change there). The graphical install

Re: Tap device problem on FreeBSD 14.2-RELEASE

2024-12-07 Thread Bakul Shah
$ uname -v FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC $ kldstat |grep 'if_.*tap' $ kldstat -v |grep 'if_.*tap' 388 if_tap 386 if_tuntap $ ifconfig tap5 ifconfig: interface tap5 does not exist $ ls -l /dev/tap5 ls: /dev/tap5: No such file or directo