Package: kvm
Version: 85+dfsg-4
Severity: normal

I can reproducably fail a kvm instance with four SCSI drives (files
on the host filesystem, like so:

  -drive file=disk.sda,if=scsi,index=0

) by creating a RAID6 across them and writing a single byte:

  mdadm-lab:~# mdadm -Cl6 -n4 /dev/md2 /dev/sd[abcd]
  Continue creating array? y
  mdadm: array /dev/md2 started.
  mdadm-lab:~# dd if=/dev/zero of=/dev/md2 bs=1 count=1

The host now reports the segfault:

  kernel: [13778927.030083] kvm[11850]: segfault at 0 ip 47c020 sp
  7fffa39ba340 error 4 in kvm[400000+1fe000]

This seems to be related to SCSI not being 64bit safe, which was
apparently discussed recently on the list, but I couldn't find
anything.

Otoh, stress-testing four disks like so:

  [1]   Running                 dd if=/dev/zero of=/dev/sda bs=1 &
  [2]   Running                 dd if=/dev/zero of=/dev/sdb bs=1 &
  [3]-  Running                 dd if=/dev/zero of=/dev/sdc bs=1 &
  [4]+  Running                 dd if=/dev/zero of=/dev/sdd bs=1 &

works just fine, so this must be something special to the way
RAID-on-SCIS works.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to