Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
if i want to boot any os installed physically on a disk,not matter what,it will not boot if i want also pass thru a disk or a graphic card. this is the reason why im trying to pass as much as disks i can using the -s slot. I see that the usb disks can be passed through using -s with the virtio-blk

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

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
I'm running on FreeBSD 14 : FreeBSD marietto 14.0-CURRENT FreeBSD 14.0-CURRENT #3 main-n253070-a30f71704ef: Thu Feb 10 12:33:57 CET 2022 marietto@marietto:/usr/obj/usr/src/amd64.amd64/sys/GENERIC a md64 and I see the same exact problem : root@marietto-BHYVE:~# fdisk -l Disk /dev/nvme0n1: 931,5

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Chuck Tuffli
On Sun, Mar 20, 2022 at 1:38 PM Mario Marietto wrote: > > FreeBSD 13.1-RELEASE is out ? Can I upgrade from 13-p8 to 13-1 with > freebsd-update fetch / freebsd-update install ? RELEASE isn't out, but BETA2 is available. So, # freebsd-update upgrade -r 13.1-BETA2 # freebsd-update install boot env

Problem reports for virtualization@FreeBSD.org that need special attention

2022-03-20 Thread bugzilla-noreply
To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and ob

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
FreeBSD 13.1-RELEASE is out ? Can I upgrade from 13-p8 to 13-1 with freebsd-update fetch / freebsd-update install ? Il giorno dom 20 mar 2022 alle ore 21:04 Chuck Tuffli ha scritto: > On Sun, Mar 20, 2022 at 12:58 PM Mario Marietto > wrote: > > > > host : > > > > root@marietto:/usr/home/mariett

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Chuck Tuffli
On Sun, Mar 20, 2022 at 12:58 PM Mario Marietto wrote: > > host : > > root@marietto:/usr/home/marietto/bhyve # nvmecontrol identify nvme0ns1 | grep > "LBA Format" > > Number of LBA Formats: 1 > Current LBA Format: LBA Format #00 > LBA Format #00: Data Size: 512 Metadata Size:

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
host : root@marietto:/usr/home/marietto/bhyve # nvmecontrol identify nvme0ns1 | grep "LBA Format" Number of LBA Formats: 1 Current LBA Format: LBA Format #00 LBA Format #00: Data Size: 512 Metadata Size: 0 Performance: Best guest : root@marietto-BHYVE:/home/marietto# nvme

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Chuck Tuffli
On Sun, Mar 20, 2022 at 12:03 PM Mario Marietto wrote: > > on FreeBSD : > > root@marietto:/usr/home/marietto/bhyve # hd -n 256 /dev/nvd0 > On Ubuntu 21.10 : > > root@marietto-BHYVE:/home/marietto# hd -n 256 /dev/nvme0n1 Thank you. The outputs show the first 256 bytes of nvd0 and nvme0n1 match.

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
on FreeBSD : root@marietto:/usr/home/marietto/bhyve # hd -n 256 /dev/nvd0 33 c0 8e d0 bc 00 7c 8e c0 8e d8 be 00 7c bf 00 |3.|..|..| 0010 06 b9 00 02 fc f3 a4 50 68 1c 06 cb fb b9 04 00 |...Ph...| 0020 bd be 07 80 7e 00 00 7c 0b 0f 85 0e 01 83 c5 10 |

Re: Adding storage to a guest

2022-03-20 Thread Chuck Tuffli
On Fri, Mar 18, 2022 at 2:44 AM Xavier Humbert wrote: ... > Unfortunately, it doensn't change anything Are you using vm-bhyve? If so, can you share the vm-bhyve.log for this VM? --chuck

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Chuck Tuffli
On Sun, Mar 20, 2022 at 8:13 AM Mario Marietto wrote: > > > Help me understand what "not recognized" means. The device nvme0n1 : > > I don't see the partitions that are stored inside the disk nvme. And I'm not > able to mount the NTFS partition that's mapped as nvd0p2 under FreeBSD. Thank yo

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
How can I mount the whole disk ? like this ? (on freebsd) : bhyve -S -c sockets=2,cores=2,threads=2 -m 8G -w -H -A \ -s 0,hostbridge \ -s 1,virtio-blk,/mnt/$vmdisk'p2'/bhyve/os/Linux/impish-cuda-11-5-nvidia-495.img \ -s 2,nvme,/dev/nvd0 \ -s 3,passthru,5/0/0 \ -s 4,passthru,1/0/0 \ -s 8,virtio-ne

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
> Help me understand what "not recognized" means. The device nvme0n1 : I don't see the partitions that are stored inside the disk nvme. And I'm not able to mount the NTFS partition that's mapped as nvd0p2 under FreeBSD. For example : bhyve -S -c sockets=2,cores=2,threads=2 -m 8G -w -H -A \

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Chuck Tuffli
On Sun, Mar 20, 2022 at 3:44 AM Mario Marietto wrote: ... > on the Ubuntu 21.10 guest os : > > mario@marietto-BHYVE:/home/marietto# fdisk -l > > Disk /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors > Disk model: bhyve-NVMe > Units: sectors of 1 * 512 = 512 bytes > Sector size (lo

Re: bhyve NVMe 1.4 support

2022-03-20 Thread Mario Marietto
Please check this situation : (I'm on : FreeBSD marietto 13.0-RELEASE-p8 FreeBSD 13.0-RELEASE-p8 #6 n244863-45b90a014c11: Thu Mar 17 18:42:4 0 CET 2022 marietto@marietto:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64) ubuntu21-10-nvidia495-vm0.sh : bhyve -S -c sockets=2,cores=2,threads=2