Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
audio panic
Dear current-users,
When recording with a recently updated kernel, I experienced some
kernel panics. I think this has been the case for some time now
- but I only got around to reporting the panics now (apologies).
I captured two panics in my dmesg, I guess the second is most
relevant.
I have also managed to record audio using ffmeg4 without a panic,
but the audio plays back too slow and is a bit garbled (I was unable
to diagnose the quality problems - but the sampling speed was much
higher than specified).
Any tips would be appreciated.
uname:
NetBSD HOME 9.99.17 NetBSD 9.99.17 (YORICK.amd64) #1: Sat Oct 26 00:06:47 SAST 2019 root@HOME:/root/build.amd64.local/obj/sys/arch/amd64/compile/YORICK.amd64 amd64
dmesg:
...
[ 1.052454] hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
[ 1.052454] hdaudio0: interrupting at msi3 vec 0
[ 1.052454] hdafg0 at hdaudio0: vendor 14f1 product 50f4
[ 1.052454] hdafg0: DAC00 2ch: Speaker [Built-In]
[ 1.052454] hdafg0: ADC01 2ch: Mic In [Built-In]
[ 1.052454] hdafg0: DAC03 2ch: HP Out [Jack]
[ 1.052454] hdafg0: 2ch/2ch 48000Hz 96000Hz PCM16 PCM24 AC3
[ 1.052454] audio0 at hdafg0: playback, capture, full duplex, independent
[ 1.052454] audio0: slinear_le:16 2ch 48000Hz, blk 40ms for playback
[ 1.052454] audio0: slinear_le:16 2ch 48000Hz, blk 40ms for recording
[ 1.052454] spkr0 at audio0: PC Speaker (synthesized)
[ 1.052454] wsbell at spkr0 not configured
[ 1.052454] hdafg1 at hdaudio0: vendor 8086 product 2809
[ 1.052454] hdafg1: DP00 8ch: Digital Out [Jack]
[ 1.052454] hdafg1: 8ch/0ch 48000Hz PCM16*
...
[ 253.893572] uvm_fault(0xffffffff810c3160, 0xffffc8002035a000, 1) -> e
[ 253.893572] fatal page fault in supervisor mode
[ 253.893572] trap type 6 code 0 rip 0xffffffff80b090df cs 0x8 rflags 0x10246 cr2 0xffffc8002035a000 ilevel 0 rsp 0xffffc8013f042e78
[ 253.893572] curlwp 0xffff80a4e46150e0 pid 2801.4 lowest kstack 0xffffc8013f0402c0
[ 253.893572] panic: trap
[ 253.893572] cpu1: Begin traceback...
[ 253.893572] vpanic() at netbsd:vpanic+0x178
[ 253.893572] snprintf() at netbsd:snprintf
[ 253.893572] startlwp() at netbsd:startlwp
[ 253.893572] alltraps() at netbsd:alltraps+0xbb
[ 253.893572] dofileread() at netbsd:dofileread+0x8f
[ 253.903584] sys_read() at netbsd:sys_read+0x49
[ 253.903584] syscall() at netbsd:syscall+0x1d8
[ 253.903584] --- syscall (number 3) ---
[ 253.903584] 7e3IV, PNP0C14-2): ACPI WMI Interface
...
[ 166.145911] panic: kernel diagnostic assertion "ring->used + n <= ring->capacity" failed: file "/usr/src/local/sys/dev/audio/audiodef.h", line 406 called from audio_track_record:4518: ring->used=32256 n=32256 ring->capacity=61440
[ 166.145911] cpu3: Begin traceback...
[ 166.145911] vpanic() at netbsd:vpanic+0x178
[ 166.145911] kern_assert() at netbsd:kern_assert+0x48
[ 166.155927] audioread() at netbsd:audioread+0xb87
[ 166.155927] dofileread() at netbsd:dofileread+0x8f
[ 166.155927] sys_read() at netbsd:sys_read+0x49
[ 166.155927] syscall() at netbsd:syscall+0x211
[ 166.155927] --- syscall (number 3) ---
[ 166.155927] 7047c3c42b7a:
[ 166.155927] cpu3: End traceback...
--
Kind regards,
Yorick Hardy
Home |
Main Index |
Thread Index |
Old Index