NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52199 (vioscsi kernel panic on a KVM hypervisor)



The following reply was made to PR kern/52199; it has been noted by GNATS.

From: =?UTF-8?B?SmFyb23DrXIgRG9sZcSNZWs=?= <jaromir.dolecek%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: code%boerschig.net@localhost
Subject: Re: kern/52199 (vioscsi kernel panic on a KVM hypervisor)
Date: Sun, 14 May 2017 22:24:06 +0200

 --001a113f23fc66c3a5054f81b806
 Content-Type: text/plain; charset="UTF-8"
 
 Could you please transcribe the kernel messages which appear just before
 the resource shortages? It should something along '%s: error %d loading DMA
 map' or 'error reserving %d (nsegs %d)'.
 
 Jaromir
 
 2017-05-14 21:25 GMT+02:00 MB <code%boerschig.net@localhost>:
 
 > The following reply was made to PR kern/52199; it has been noted by GNATS.
 >
 > From: MB <code%boerschig.net@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: kern/52199 (vioscsi kernel panic on a KVM hypervisor)
 > Date: Sun, 14 May 2017 21:21:42 +0200
 >
 >  Am 13.05.2017 um 22:38 schrieb jdolecek%NetBSD.org@localhost:
 >  > Synopsis: vioscsi kernel panic on a KVM hypervisor
 >  >
 >  > State-Changed-From-To: open->feedback
 >  > State-Changed-By: jdolecek%NetBSD.org@localhost
 >  > State-Changed-When: Sat, 13 May 2017 20:38:08 +0000
 >  > State-Changed-Why:
 >  > A fix was committed in src/sys/dev/pci/vioscsi.c revision 1.17. Can you
 >  > please check with updated -current kernel?
 >  >
 >  >
 >  >
 >  Thanks for your work.
 >  The installation works now, allthough the "resource shortage" messages
 > appear.
 >  The 'resource shortage' messages also seem to affect the write
 > performance.
 >  However, I see some strange behavior and I'm not sure if it is related to
 > the vioscsi driver:
 >
 >  After installation, I put some load on the virtual disk, and the whole
 > system seems to freeze.
 >  Once it continued after a couple of minutes, currently it is wedged for
 > 10min+..
 >  FWIW, I could produce this on a 10gb test image, default installation,
 > with the following, but only on 3 out of 8 attempts:
 >
 >  dd if=/dev/urandom of=/home/test1.bin bs=1m count=128
 >  ls -lahR /
 >  for i in $(seq 0 8);do dd if=/home/test1.bin of=/home/foo$i ;done
 >  #when the system freezes, here are no "adapter resource shortage"
 > messages, they only appear when the system works without freeze
 >  ls -lahR /
 >  for i in $(seq 0 8);do dd if=/home/test1.bin of=/home/foo$i ;done
 >  #this freezes, no keyboard input, not even '(qemu) sendkey ctrl-alt-f2'
 >
 >
 
 --001a113f23fc66c3a5054f81b806
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">Could you please transcribe the kernel messages which appe=
 ar just before the resource shortages? It should something along &#39;<span=
  style=3D"font-family:monaco;font-size:11px;font-variant-ligatures:no-commo=
 n-ligatures;color:rgb(213,59,211)">%s</span><span style=3D"color:rgb(195,55=
 ,32);font-family:monaco;font-size:11px;font-variant-ligatures:no-common-lig=
 atures">: error </span><span style=3D"font-family:monaco;font-size:11px;fon=
 t-variant-ligatures:no-common-ligatures;color:rgb(213,59,211)">%d</span><sp=
 an style=3D"color:rgb(195,55,32);font-family:monaco;font-size:11px;font-var=
 iant-ligatures:no-common-ligatures"> loading DMA map</span>&#39; or &#39;<s=
 pan style=3D"color:rgb(195,55,32);font-family:monaco;font-size:11px;font-va=
 riant-ligatures:no-common-ligatures">error reserving </span><span style=3D"=
 font-family:monaco;font-size:11px;font-variant-ligatures:no-common-ligature=
 s;color:rgb(213,59,211)">%d</span><span style=3D"color:rgb(195,55,32);font-=
 family:monaco;font-size:11px;font-variant-ligatures:no-common-ligatures"> (=
 nsegs </span><span style=3D"font-family:monaco;font-size:11px;font-variant-=
 ligatures:no-common-ligatures;color:rgb(213,59,211)">%d</span><span style=
 =3D"color:rgb(195,55,32);font-family:monaco;font-size:11px;font-variant-lig=
 atures:no-common-ligatures">)</span>&#39;.<br><div><br></div><div>Jaromir</=
 div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">2017-05=
 -14 21:25 GMT+02:00 MB <span dir=3D"ltr">&lt;<a href=3D"mailto:code@boersch=
 ig.net" target=3D"_blank">code%boerschig.net@localhost</a>&gt;</span>:<br><blockquote=
  class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
 d;padding-left:1ex"><span class=3D"">The following reply was made to PR ker=
 n/52199; it has been noted by GNATS.<br>
 <br>
 From: MB &lt;<a href=3D"mailto:code%boerschig.net@localhost";>code%boerschig.net@localhost</a>&g=
 t;<br>
 To: gnats-bugs%NetBSD.org@localhost<br>
 Cc:<br>
 </span>Subject: Re: kern/52199 (vioscsi kernel panic on a KVM hypervisor)<b=
 r>
 Date: Sun, 14 May 2017 21:21:42 +0200<br>
 <div><div class=3D"h5"><br>
 =C2=A0Am 13.05.2017 um 22:38 schrieb jdolecek%NetBSD.org@localhost:<br>
 =C2=A0&gt; Synopsis: vioscsi kernel panic on a KVM hypervisor<br>
 =C2=A0&gt;<br>
 =C2=A0&gt; State-Changed-From-To: open-&gt;feedback<br>
 =C2=A0&gt; State-Changed-By: jdolecek%NetBSD.org@localhost<br>
 =C2=A0&gt; State-Changed-When: Sat, 13 May 2017 20:38:08 +0000<br>
 =C2=A0&gt; State-Changed-Why:<br>
 =C2=A0&gt; A fix was committed in src/sys/dev/pci/vioscsi.c revision 1.17. =
 Can you<br>
 =C2=A0&gt; please check with updated -current kernel?<br>
 =C2=A0&gt;<br>
 =C2=A0&gt;<br>
 =C2=A0&gt;<br>
 </div></div>=C2=A0Thanks for your work.<br>
 =C2=A0The installation works now, allthough the &quot;resource shortage&quo=
 t; messages appear.<br>
 =C2=A0The &#39;resource shortage&#39; messages also seem to affect the writ=
 e performance.<br>
 =C2=A0However, I see some strange behavior and I&#39;m not sure if it is re=
 lated to the vioscsi driver:<br>
 <br>
 =C2=A0After installation, I put some load on the virtual disk, and the whol=
 e system seems to freeze.<br>
 =C2=A0Once it continued after a couple of minutes, currently it is wedged f=
 or 10min+..<br>
 =C2=A0FWIW, I could produce this on a 10gb test image, default installation=
 , with the following, but only on 3 out of 8 attempts:<br>
 <br>
 =C2=A0dd if=3D/dev/urandom of=3D/home/test1.bin bs=3D1m count=3D128<br>
 =C2=A0ls -lahR /<br>
 =C2=A0for i in $(seq 0 8);do dd if=3D/home/test1.bin of=3D/home/foo$i ;done=
 <br>
 =C2=A0#when the system freezes, here are no &quot;adapter resource shortage=
 &quot; messages, they only appear when the system works without freeze<br>
 =C2=A0ls -lahR /<br>
 =C2=A0for i in $(seq 0 8);do dd if=3D/home/test1.bin of=3D/home/foo$i ;done=
 <br>
 =C2=A0#this freezes, no keyboard input, not even &#39;(qemu) sendkey ctrl-a=
 lt-f2&#39;<br>
 <br>
 </blockquote></div><br></div>
 
 --001a113f23fc66c3a5054f81b806--
 


Home | Main Index | Thread Index | Old Index