I'm new on this site and i've been in read mode these past few days.
I'm trying to create a VM which houses 2 nvme controller as per my setup file:
It successfully created what i want, as show in lspciconfig.vm.provider "virtualbox" do |vb| vb.customize ["modifyvm", :id, "--ioapic", "on"] vb.customize ["modifyvm", :id, "--chipset", "ich9"] vb.memory = "#{vmram}" vb.cpus = "#{vmcpu}" nvme_disk1 = 'nvme1.vdi' unless File.exist? (nvme_disk1) vb.customize ["createmedium", "--filename", nvme_disk1, "--variant", "Fixed", "--size", "1024"] vb.customize ["storagectl", :id, "--name", "nvme1", "--add", "pcie", "--controller", "NVMe", "--portcount", "2", "--bootable", "off"] vb.customize ["storageattach", :id, "--storagectl", "nvme1", "--type", "hdd", "--medium", nvme_disk1, "--port", "0"] end nvme_disk2 = 'nvme2.vdi' unless File.exist? (nvme_disk2) vb.customize ["createmedium", "--filename", nvme_disk2, "--variant", "Fixed", "--size", "512"] vb.customize ["storagectl", :id, "--name", "nvme2", "--add", "pcie", "--controller", "NVMe", "--portcount", "1", "--bootable", "off"] vb.customize ["storageattach", :id, "--storagectl", "nvme2", "--type", "hdd", "--medium", nvme_disk2, "--port", "0"] end
problem is, after sometime, the 2nd controller will timeout and eventually removing it from the list:00:0e.0 Non-Volatile memory controller: InnoTek Systemberatung GmbH Device 4e56 00:18.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2) 00:19.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 02:18.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2) 03:00.0 Non-Volatile memory controller: InnoTek Systemberatung GmbH Device 4e56
Has anyone tried this? Do we have any workaround or solution for this kind of configuration?[ 61.948231] nvme 0000:03:00.0: I/O 0 QID 0 timeout, disable controller
[ 61.948352] ------------[ cut here ]------------
[ 61.948425] WARNING: CPU: 3 PID: 0 at /build/linux-Ay7j_C/linux-4.4.0/kernel/irq/manage.c:1438 __free_irq+0x1d2/0x280()
[ 61.948488] Trying to free IRQ 17 from IRQ context!
[ 61.948579] Modules linked in: vboxsf(OE) binfmt_misc ppdev crct10dif_pclmul vboxvideo(OE) lpc_ich ttm crc32_pclmul drm_kms_helper aesni_intel aes_x86_64 lrw gf128mul glue_helper drm ablk_helper cryptd input_leds fb_sys_fops serio_raw syscopyarea sysfillrect i2c_piix4 sysimgblt vboxguest(OE) parport_pc parport 8250_fintek mac_hid sunrpc autofs4 psmouse pata_acpi video nvme fjes e1000
[ 61.948765] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G OE 4.4.0-21-generic #37-Ubuntu
[ 61.948808] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[ 61.948814] 0000000000000286 b5573404d83674e0 ffff880123d83b10 ffffffff813e93c3
....
[ 61.949489] Trying to free nonexistent resource <000000000000e000-000000000000e007>
[ 61.949689] nvme 0000:03:00.0: Cancelling I/O 0 QID 0
[ 61.949927] nvme 0000:03:00.0: Identify Controller failed (-4)
[ 61.950565] nvme 0000:03:00.0: Removing after probe failure
TIA..