﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
17219	VirtualBox 5.2.0: Interrupt storm on emulated HDA controller (FreeBSD) -> fixed in 5.2.10	wonko1953	pentagonik	"Scenario:
- VirtualBox 5.2.0 compiled from ports on FreeBSD https://svnweb.freebsd.org/ports/head/emulators/virtualbox-ose/
- patch {{{ svn diff -r69153:69154 http://www.virtualbox.org/svn/vbox }}} (iSCSI fix) applied manually
- Both host and client system are FreeBSD 11.1

Result:
- The client boots o.k.
- The client kernel reports an excessive interrupt rate for the HDA audio controller (1k..50k/sec depending on client load) even with no audio playing
- Console output:
{{{
interrupt storm detected on ""irq21:""; throttling interrupt source
interrupt storm detected on ""irq21:""; throttling interrupt source
interrupt storm detected on ""irq21:""; throttling interrupt source
}}}
- Running {{{ systat -vm 1 }}}:
{{{
      users    Load  0.24  0.20  0.09                  Oct 27 16:12
   Mem usage:   7%Phy  4%Kmem
Mem: KB    REAL            VIRTUAL                      VN PAGER   SWAP PAGER
        Tot   Share      Tot    Share    Free           in   out     in   out
Act  162036   14172  1293824    16504 2855288  count
All  162644   14664  1303256    25644          pages
Proc:                                                            Interrupts
  r   p   d   s   w   Csw  Trp  Sys  Int  Sof  Flt        ioflt  3318 total
             96       404   13  544 2973   30             cow         atkbd0 1
                                                          zfod        ata0 14
 0.2%Sys   2.6%Intr  0.0%User  0.0%Nice 97.2%Idle         ozfod     2 ata1 15
|    |    |    |    |    |    |    |    |    |           %ozfod    17 le0 19
+                                                         daefr       vboxguest0
                                         1 dtbuf          prcfr  2953 hdac0 21
Namei     Name-cache   Dir-cache     42858 desvn          totfr   228 cpu0:timer
   Calls    hits   %    hits   %      3572 numvn          react   114 cpu3:timer
       3       3 100                  1740 frevn          pdwak     1 cpu2:timer
                                                       40 pdpgs     3 cpu1:timer
Disks   md0  ada0   cd0 pass0 pass1                       intrn
KB/t   0.00  0.00  0.00  0.00  0.01                 64464 wire
tps       0     0     0     0     1                 96496 act
MB/s   0.00  0.00  0.00  0.00  0.00                 64636 inact
%busy     0     0     0     0     0                       laund
                                                  2855288 free
}}}

Expected result:
- No HDA interrupts as long as no audio is playing

"	defect	closed	audio	VirtualBox 5.2.0	fixed			BSD	other
