Re: DragonFly on Vultr VM

2022-04-12 Thread Dongsheng Song
Vultr only creates a SCSI storage controller for us, and attached a
virtio block device for local disk access.

# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sr0 11:01 1024M  0 rom
vda254:00   32G  0 disk
└─vda1 254:10   32G  0 part /

# lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
00:01.0 VGA compatible controller: Cirrus Logic GD 5446
00:02.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.4 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.5 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.6 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.7 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:03.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:03.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:03.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:03.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:03.4 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:03.5 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:03.6 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:03.7 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:04.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface
Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH)
6 port SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Red Hat, Inc. Virtio network device (rev 01)
02:00.0 USB controller: Red Hat, Inc. QEMU XHCI Host Controller (rev 01)
03:00.0 SCSI storage controller: Red Hat, Inc. Virtio block device (rev 01)
04:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon (rev 01)
05:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio RNG (rev 01)

On Tue, Apr 12, 2022 at 9:59 PM Antonio Huete Jimenez
 wrote:
>
> Hi,
>
> Does it allow selecting the type of storage driver you use? i.e. scsi,
> virtio, ...
>
> Cheers,
>
> On 11/4/22 4:55, Chuck Musser wrote:
> > Hi,
> >
> > I tried using a 6.2 ISO image to install on Vultr (a VM provider) and at
> > the initial installer step where it asks where it should be installed,
> > it only provides a number of "vn" devices that have no space. Vultr use
> > KVM (I am not sure about the whole virtualization stack,but that's what
> > they list in their knowledge base). Someone had posted the same problem
> > and the solution was to use pciconf to see what storage devices were
> > available to the OS and then load the appropriate driver. I couldn't
> > quite figure out how to proceed but I did the following:
> >
> > This host lists a specific Intel 6 port AHCI controller (an 82802IR) for
> > SATA and a RedHat "Virtio Block Device" for SCSI. I tried to load the
> > virtio_scsi module with kldload, but it said it was already loaded or
> > simply compiled in. Same for some other modules that sounded promising,
> > like sdhci_pci and virtio_blk. At that point I gave up guessing. Is
> > there a way to figure out what drivers are needed or is the problem
> > something else?
> >
> > Also, I tried some earlier versions: 5.8.3 and 6.0.1 and they had the
> > same problem. I know I have used Dfly on this provider before, but I am
> > not sure which version worked.
> >
> > Chuck
> >


Re: DragonFly on Vultr VM

2022-04-12 Thread Antonio Huete Jimenez

Hi,

Does it allow selecting the type of storage driver you use? i.e. scsi, 
virtio, ...


Cheers,

On 11/4/22 4:55, Chuck Musser wrote:

Hi,

I tried using a 6.2 ISO image to install on Vultr (a VM provider) and at 
the initial installer step where it asks where it should be installed, 
it only provides a number of "vn" devices that have no space. Vultr use 
KVM (I am not sure about the whole virtualization stack,but that's what 
they list in their knowledge base). Someone had posted the same problem 
and the solution was to use pciconf to see what storage devices were 
available to the OS and then load the appropriate driver. I couldn't 
quite figure out how to proceed but I did the following:


This host lists a specific Intel 6 port AHCI controller (an 82802IR) for 
SATA and a RedHat "Virtio Block Device" for SCSI. I tried to load the 
virtio_scsi module with kldload, but it said it was already loaded or 
simply compiled in. Same for some other modules that sounded promising, 
like sdhci_pci and virtio_blk. At that point I gave up guessing. Is 
there a way to figure out what drivers are needed or is the problem 
something else?


Also, I tried some earlier versions: 5.8.3 and 6.0.1 and they had the 
same problem. I know I have used Dfly on this provider before, but I am 
not sure which version worked.


Chuck