Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-06 Thread Andrew Thrift
This seems to be a trivial change, but fixes a known problem in PVE3.2 With such low risk, why would this NOT be included as an update to PVE3.2 ? On Tue, May 6, 2014 at 5:34 PM, Dietmar Maurer diet...@proxmox.com wrote: Will these patched packages (for qemu 1.7.1) make it in to the PVE3.2

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-06 Thread Dietmar Maurer
This seems to be a trivial change, but fixes a known problem in PVE3.2 With such low risk, why would this NOT be included as an update to PVE3.2 ? Updating a library is not a trivial change. This needs careful testing. ___ pve-devel mailing list

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-06 Thread Andrew Thrift
Dietmar, Is this not the point of pve-test ? If the updated packages are put in to pve-test users will be able to test this for you. We will test this against Ceph, iSCSI to EqualLogic, RAID via PERC5, iSCSI to Nexenta and NFS to Nexenta. On Tue, May 6, 2014 at 8:47 PM, Dietmar Maurer

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-05 Thread Adrian Costin
I have send 2 patchs, to update libiscsi and after qemu-kvm. can you test them ? I can confirm that using the 2 packages (libiscsi and qemu-kvm) solves the guest kernel hanging when loading modules problem. The SeaBIOS problem that doesn't recognize the disks with the following drivers still

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-05 Thread Alexandre DERUMIER
. - Mail original - De: Adrian Costin adrian.cos...@gmail.com À: pve-devel@pve.proxmox.com Envoyé: Lundi 5 Mai 2014 18:54:50 Objet: Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS) I have send 2 patchs, to update libiscsi and after qemu-kvm. can you test them ? I can

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-05 Thread Michael Rasmussen
On Sun, 04 May 2014 18:47:28 +0200 (CEST) Alexandre DERUMIER aderum...@odiso.com wrote: can you test them ? Have tested with CentOS-6.5 and I can confirm that it works with virtio and megaraid. No speed monster though;-) -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys:

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-05 Thread Andrew Thrift
Will these patched packages (for qemu 1.7.1) make it in to the PVE3.2 repos ? On Tue, May 6, 2014 at 1:00 PM, Michael Rasmussen m...@datanom.net wrote: On Sun, 04 May 2014 18:47:28 +0200 (CEST) Alexandre DERUMIER aderum...@odiso.com wrote: can you test them ? Have tested with

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-05 Thread Dietmar Maurer
Will these patched packages (for qemu 1.7.1) make it in to the PVE3.2 repos ? No, my plan was to release them with qemu 2.0 ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-05 Thread Adrian Costin
But I think you shoulg go to virtio-scsi for best performance anyway. That's exactly what I intend to do. In the meantime I've successfully tested Windows 7 and Windows 2008 which all work fine. Have tested with CentOS-6.5 and I can confirm that it works with virtio and megaraid. No speed

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-04 Thread Alexandre DERUMIER
Hi, can you send the full kvm process command line ? - Mail original - De: Adrian Costin adrian.cos...@gmail.com À: pve-devel@pve.proxmox.com Envoyé: Samedi 3 Mai 2014 21:01:46 Objet: Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS) It does not sounds like a Proxmox bug. I

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-04 Thread Adrian Costin
I did in the first email: # qm showcmd 1476 /usr/bin/kvm -id 1476 -chardev socket,id=qmp,path=/var/run/ qemu-server/1476.qmp,server,nowait -mon chardev=qmp,mode=control -vnc unix:/var/run/qemu-server/1476.vnc,x509,password -pidfile /var/run/qemu-server/1476.pid -daemonize -name X -smp

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-04 Thread Alexandre DERUMIER
I did in the first email: Sorry ;) Do you have tried to change from cache=writeback to cache=none ? - Mail original - De: Adrian Costin adrian.cos...@gmail.com À: pve-devel@pve.proxmox.com Envoyé: Dimanche 4 Mai 2014 15:06:39 Objet: Re: [pve-devel] KVM guest hangs with SCSI drive

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-04 Thread Alexandre DERUMIER
- De: Adrian Costin adrian.cos...@gmail.com À: pve-devel@pve.proxmox.com Envoyé: Dimanche 4 Mai 2014 15:17:37 Objet: Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS) Do you have tried to change from cache=writeback to cache=none ? Yeah, I did. Best regards, Adrian Costin

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-04 Thread Adrian Costin
this is strange, I never have had any problem with scsi in guest (virtio or lsi), and zfs plugin. Can you tell me what versions you use? On my server it's: # dpkg -l | grep iscsi ii libiscsi11.9.0-1 amd64iSCSI client shared library ii open-iscsi

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-04 Thread Michael Rasmussen
On Sun, 04 May 2014 17:52:54 +0200 (CEST) Alexandre DERUMIER aderum...@odiso.com wrote: this is strange, I never have had any problem with scsi in guest (virtio or lsi), and zfs plugin. I'll send a update to libiscsi,the library used by qemu-kvm to access to iscsi:// paths. We don't

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-04 Thread Alexandre DERUMIER
- De: Michael Rasmussen m...@datanom.net À: pve-devel@pve.proxmox.com Envoyé: Dimanche 4 Mai 2014 18:21:12 Objet: Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS) On Sun, 04 May 2014 17:52:54 +0200 (CEST) Alexandre DERUMIER aderum...@odiso.com wrote: this is strange, I never have had

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-04 Thread Michael Rasmussen
On Sun, 04 May 2014 18:47:28 +0200 (CEST) Alexandre DERUMIER aderum...@odiso.com wrote: So, it works fine with virtio ide, but any scsi (virtio,lsi,megaraid) don't work ? Yes, but different errors. seabios only sees disks if using megaraid or virtio-scsi. No lsi or vmware scsi disks are

[pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-03 Thread Adrian Costin
Hi guys, I'm trying to install a KVM guest using a SCSI drive and the installer always hungs around when it loads the scsi modules. I've tried CentOS, Debian, Ubuntu with no luck. I've also tried to install the guest using VirtIO or IDE and switch to SCSI after the fact with the same result.

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-03 Thread Michael Rasmussen
On Sat, 3 May 2014 18:44:14 +0300 Adrian Costin adrian.cos...@gmail.com wrote: Hi guys, I'm trying to install a KVM guest using a SCSI drive and the installer always hungs around when it loads the scsi modules. I've tried CentOS, Debian, Ubuntu with no luck. I've also tried to install

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-03 Thread Michael Rasmussen
On Sat, 3 May 2014 18:44:14 +0300 Adrian Costin adrian.cos...@gmail.com wrote: I've also tried to install the guest using VirtIO or IDE and switch to SCSI after the fact with the same result. Will the VM boot if you use VirtIO or IDE? Is the SCSI drive available in the Seabios prompt? (Hit

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-03 Thread Adrian Costin
What is the contents of your storage.cfg What kind of ZFS storage do you use? Linux, FreeBSD or Solaris based? OmniOS with Comstar .. zfs: kvm blocksize 64k target iqn.2014-04.net..storage2 pool storage/kvm iscsiprovider comstar portal 10.37.64.2 content images

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-03 Thread Michael Rasmussen
On Sat, 3 May 2014 19:32:10 +0300 Adrian Costin adrian.cos...@gmail.com wrote: Yes. Grub starts and loads the kernel and initrd. The VM hungs when loading the SCSI drivers. This happens in the installer and also on an already installed VM (using VirtIO or IDE which is then switched to

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-03 Thread Adrian Costin
Are your proxmox host using test repo? Mine is using the enterprise repo. Yes, I'm using pve-no-subscription, but I was using 2.6.32-28-pve previously with the same problem. I just upgraded thinking it will solve the problem. I'll try to downgrade pve-qemu-kvm to see if that fixes the problem.

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-03 Thread Michael Rasmussen
On Sat, 3 May 2014 20:40:38 +0300 Adrian Costin adrian.cos...@gmail.com wrote: I'vee just tried MegaRAID and it doesn't work either. Basically I've tried all the SCSI HW and the same think happens. Well, we are facing two kinds of bugs: 1) Seabios does not detect scsi disks if hw-controller

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-03 Thread Adrian Costin
Well, we are facing two kinds of bugs: 1) Seabios does not detect scsi disks if hw-controller is anything but MegaRAID or VirtIO. 2) Using scsi disks and any hw-controller installation stops when the installer tries to initiate hardware. Eventually Proxmox stops the VM. I've tested all the

Re: [pve-devel] KVM guest hangs with SCSI drive (ZFS)

2014-05-03 Thread Michael Rasmussen
On Sat, 3 May 2014 21:43:54 +0300 Adrian Costin adrian.cos...@gmail.com wrote: I've tested all the 2.6.32 pve-kernels back to 2.6.32-23-pve and the 3.10.0 kernel and the standard debian 3.2.0-4 kernel with pve-qemu-kvm 1.7-8, 1.7-6, 1.7-4 and 1.4-17 (all combinations) with the same result.