Community discussions

 
jmginer
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Tue Dec 11, 2012 4:56 am

Virtio disk driver - FATAL ERROR: no harddrives found

Thu Feb 19, 2015 11:22 am

Hello, we are trying to setup RouterOS x86 in a KVM guest based on the disk VirtIO driver.
The disk is not detected.
Please, fix.

Image
 
User avatar
nz_monkey
Forum Guru
Forum Guru
Posts: 1820
Joined: Mon Jan 14, 2008 1:53 pm
Location: Straya
Contact:

Thu Feb 19, 2015 11:58 am

IDE disk with VIRTIO NIC works perfectly on RouterOS 6

But yes it would be nice if Mikrotik could add virtio-blk and virtio-scsi drivers to RouterOS 7
 
schtyz
just joined
Posts: 1
Joined: Fri Dec 09, 2016 5:29 pm

Re: Virtio disk driver - FATAL ERROR: no harddrives found

Fri Dec 09, 2016 7:32 pm

KVM platform

ide drive works
sata drive works
usb drive works!!!
virtio-blk works, but virtio-scsi-pci still not working.

Please add some drivers to the next versions.

Our cloud platform use only scsi virtio devices :/






image version: chr-6.38rc45.img

libvirtd disk
Image

libvirtd scsi controller
Image

lspci
Image

boot from image
Image

system
# uname -a
Linux inspmini 4.7.0-1-amd64 #1 SMP Debian 4.7.8-1 (2016-10-19) x86_64 GNU/Linux
# kvm --version
QEMU emulator version 2.7.0(Debian 1:2.7+dfsg-3+b1), Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers
kvm cmdline
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QEMU_AUDIO_DRV=spice /usr/bin/kvm -name guest=chr,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-22-chr/master-key.aes -machine pc-i440fx-2.7,accel=kvm,usb=off,vmport=off,dump-guest-core=off -cpu Penryn -m 1024 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 6c8dc770-90d2-4006-ba6d-e80732419efe -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-22-chr/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot menu=off,strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x9 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive file=/var/lib/libvirt/images/chr-6.38rc45.img,format=raw,if=none,id=drive-scsi0-0-0-0 -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1 -drive file=/var/lib/libvirt/images/debian-8.6.0-i386-CD-1.iso,format=raw,if=none,id=drive-ide0-0-0,readonly=on -device ide-cd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=30 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:b5:36:2d,bus=pci.0,addr=0x3 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -spice port=5901,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on

Who is online

Users browsing this forum: No registered users and 44 guests