NetBSD-Bugs archive

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

kern/56135: (using WIP driver) writing to record-only audio device panics, kernel diagnostic assertion "track" at audio.c:2912



>Number:         56135
>Category:       kern
>Synopsis:       (using WIP driver) writing to record-only audio device panics, kernel diagnostic assertion "track" at audio.c:2912
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 30 10:15:00 +0000 2021
>Originator:     coypu
>Release:        NetBSD 9.99.82
>Organization:
>Environment:
NetBSD arm64 9.99.82 NetBSD 9.99.82 (GENERIC64) #3: Fri Apr 30 00:08:47 IDT 2021  fly@planets:/bracket/obj/sys/arch/evbarm/compile/GENERIC64 evbarm

>Description:
We are attempting to port the OpenBSD uaudio driver.
I did not realize that playback is unsupported and blindly tried to play audio by writing to /dev/audio.
This may be an audio subsystem bug.
This is a pinebook with a Creative BT-W3 plugged into EHCI port.

arm64# sysctl -w hw.audio2.debug=3
hw.audio2.debug: 1 -> 3
arm64# audiocfg list
0: [*] audio2 @ uaudio0: USB audio
       playback: unavailable
       record:   1ch, 48000Hz
       (-R) slinear_le 16/16, 1ch, { 48000 }
       none 0/0, 0ch, 0-0Hz
1: [ ] audio0 @ ausoc0: sun50i-a64-audi
       playback: 2ch, 48000Hz
       record:   2ch, 48000Hz
       (PR) slinear_le 16/16, 2ch, { 48000 }
2: [ ] audio1 @ ausoc1: hdmi-audio
       playback: 2ch, 48000Hz
       record:   unavailable
       (PR) slinear_le 16/16, 2ch, { 48000 }
arm64# dd if=/dev/urandom of=/dev/audio
<panic>


Full dmesg, including panic print:

[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[     1.000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[     1.000000]     2018, 2019, 2020, 2021 The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000]     The Regents of the University of California.  All rights reserved.

[     1.000000] NetBSD 9.99.82 (GENERIC64) #3: Fri Apr 30 00:08:47 IDT 2021
[     1.000000]         fly@planets:/bracket/obj/sys/arch/evbarm/compile/GENERIC64
[     1.000000] total memory = 2023 MB
[     1.000000] avail memory = 1952 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] armfdt0 (root)
[     1.000000] simplebus0 at armfdt0: Pinebook
[     1.000000] simplebus1 at simplebus0
[     1.000000] cpus0 at simplebus0
[     1.000000] simplebus2 at simplebus0
[     1.000000] psci0 at simplebus0: PSCI 1.1
[     1.000000] cpu0 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x0
[     1.000000] cpu0: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.000000] cpu0: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.000000] cpu0: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
[     1.000000] cpu0: L1 32KB/64B*256L*2W VIPT Instruction cache
[     1.000000] cpu0: L1 32KB/64B*128L*4W PIPT Data cache
[     1.000000] cpu0: L2 512KB/64B*512L*16W PIPT Unified cache
[     1.000000] cpu0: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000000] cpu0: auxID=0x11120, FP, CRC32, SHA1, SHA256, AES+PMULL, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.000000] cpufreqdt0 at cpu0
[     1.000000] cpu1 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x1
[     1.000000] cpu2 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x2
[     1.000000] cpu3 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x3
[     1.000000] gic0 at simplebus1: GIC
[     1.000000] armgic0 at gic0: Generic Interrupt Controller, 224 sources (215 valid)
[     1.000000] armgic0: 16 Priorities, 192 SPIs, 7 PPIs, 16 SGIs
[     1.000000] sunxisramc0 at simplebus1: SRAM Controller
[     1.000000] sunxisramc0: area: SRAM C
[     1.000000] fclock0 at simplebus0: 24000000 Hz fixed clock (osc24M)
[     1.000000] fclock1 at simplebus0: 32768 Hz fixed clock (ext-osc32k)
[     1.000000] gtmr0 at simplebus0: Generic Timer
[     1.000000] gtmr0: interrupting on GIC irq 27
[     1.000000] armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
[     1.000000] timecounter: Timecounter "armgtmr0" frequency 24000000 Hz quality 500
[     1.000003] sun50ia64ccu0 at simplebus1: A64 CCU
[     1.000003] sun50ia64rccu0 at simplebus1: A64 PRCM CCU
[     1.000003] sunxinmi0 at simplebus1: R_INTC
[     1.000003] sunxigpio0 at simplebus1: PIO
[     1.000003] gpio0 at sunxigpio0: 103 pins
[     1.000003] sunxigpio0: interrupting on GIC irq 43
[     1.000003] sunxigpio1 at simplebus1: PIO
[     1.000003] gpio1 at sunxigpio1: 13 pins
[     1.000003] sunxigpio1: interrupting on GIC irq 77
[     1.000003] sunxipwm0 at simplebus1: PWM
[     1.000003] sunxide2bus0 at simplebus1: DE2 Bus
[     1.000003] sunxirsb0 at simplebus1: RSB
[     1.000003] sunxirsb0: interrupting on GIC irq 71
[     1.000003] iic0 at sunxirsb0: I2C bus
[     1.000003] axppmic0 at iic0 addr 0x3a3: AXP803
[     1.000003] axpreg0 at axppmic0: vcc-hdmi
[     1.000003] axpreg1 at axppmic0: vcc-edp
[     1.000003] axpreg2 at axppmic0: avdd-csi
[     1.000003] axpreg3 at axppmic0: vcc-wifi
[     1.000003] axpreg4 at axppmic0: cpvdd
[     1.000003] axpreg5 at axppmic0: eldo2
[     1.000003] axpreg6 at axppmic0: vdd-1v8-csi
[     1.000003] axpreg7 at axppmic0: vcc-1v2-hsic
[     1.000003] axpreg8 at axppmic0: vdd-cpus
[     1.000003] axpreg9 at axppmic0: vcc-3v3
[     1.000003] axpreg10 at axppmic0: vdd-cpux
[     1.000003] axpreg11 at axppmic0: dcdc3
[     1.000003] axpreg12 at axppmic0: dcdc4
[     1.000003] axpreg13 at axppmic0: vcc-dram
[     1.000003] axpreg14 at axppmic0: vdd-sys
[     1.000003] axpreg15 at axppmic0: vcc-csi
[     1.000003] axpreg16 at axppmic0: vcc-pl
[     1.000003] axpreg17 at axppmic0: vcc-pll-avcc
[     1.000003] sunxirtc0 at simplebus1: RTC
[     1.000003] sun6idma0 at simplebus1: DMA controller (8 channels)
[     1.000003] sun6idma0: interrupting on GIC irq 82
[     1.000003] fregulator0 at simplebus0: bl-3v3
[     1.000003] sunxisid0 at simplebus1: Security ID EFUSE
[     1.000003] com0 at simplebus1: DesignWare APB UART, no fifo
[     1.000003] com0: console
[     1.000003] com0: interrupting on GIC irq 32
[     1.000003] com1 at simplebus1: DesignWare APB UART, no fifo
[     1.000003] com1: interrupting on GIC irq 33
[     1.000003] fregulator1 at simplebus0: vcc3v3
[     1.000003] sunxide2ccu0 at sunxide2bus0: DE2 CCU
[     1.000003] mmcpwrseq0 at simplebus0: Simple MMC power sequence provider
[     1.000003] sunxidrm0 at simplebus0: Display Engine Pipeline
[     1.000003] sunxiusbphy0 at simplebus1: USB PHY
[     1.000003] sunxihdmiphy0 at simplebus1: HDMI PHY
[     1.000003] sunximixer0 at sunxide2bus0: Display Engine Mixer
[     1.000003] sunximixer1 at sunxide2bus0: Display Engine Mixer
[     1.000003] ausoc0 at simplebus0: sun50i-a64-audio
[     1.000003] a64acodec0 at simplebus1: A64 Audio Codec (analog part)
[     1.000003] simpleamp0 at simplebus0: Simple Amplifier
[     1.000003] sunxii2s0 at simplebus1: Audio Codec (digital part)
[     1.000003] sun8icodec0 at simplebus1: Audio Codec
[     1.000003] sun8icodec0: interrupting on GIC irq 60
[     1.000003] sunxilcdc0 at simplebus1: TCON0
[     1.000003] sunxilcdc0: interrupting on GIC irq 118
[     1.000003] sunxilcdc1 at simplebus1: TCON1
[     1.000003] sunxilcdc1: interrupting on GIC irq 119
[     1.000003] sunxitwi0 at simplebus1: Marvell TWSI controller
[     1.000003] sunxitwi0: interrupting on GIC irq 76
[     1.000003] iic1 at sunxitwi0: I2C bus
[     1.000003] anxedp0 at iic1 addr 0x38: eDP TX
[     1.000003] dwhdmi0 at simplebus1: HDMI TX
[     1.000003] dwhdmi0: version 1.32a, phytype 0xfe
[     1.000003] dispcon0 at simplebus0: HDMI connector
[     1.000003] sunxii2s1 at simplebus0: I2S/PCM controller
[     1.000003] sunximmc0 at simplebus1: SD/MMC controller
[     1.000003] sunximmc0: interrupting on GIC irq 92
[     1.000003] sunximmc1 at simplebus1: SD/MMC controller
[     1.000003] sunximmc1: interrupting on GIC irq 93
[     1.000003] sunximmc2 at simplebus1: SD/MMC controller
[     1.000003] sunximmc2: interrupting on GIC irq 94
[     1.000003] sun8icrypto0 at simplebus1: Crypto Engine
[     1.000003] sun8icrypto0: interrupting on GIC irq 126
[     1.000003] ehci0 at simplebus1: EHCI
[     1.000003] ehci0: interrupting on GIC irq 104
[     1.000003] ehci0: EHCI version 1.0
[     1.000003] ehci0: 1 companion controller, 1 port
[     1.000003] usb0 at ehci0: USB revision 2.0
[     1.000003] ohci0 at simplebus1: OHCI
[     1.000003] ohci0: interrupting on GIC irq 105
[     1.000003] ohci0: OHCI version 1.0
[     1.000003] usb1 at ohci0: USB revision 1.0
[     1.000003] ehci1 at simplebus1: EHCI
[     1.000003] ehci1: interrupting on GIC irq 106
[     1.000003] ehci1: EHCI version 1.0
[     1.000003] ehci1: 1 companion controller, 1 port
[     1.000003] usb2 at ehci1: USB revision 2.0
[     1.000003] ohci1 at simplebus1: OHCI
[     1.000003] ohci1: interrupting on GIC irq 107
[     1.000003] ohci1: OHCI version 1.0
[     1.000003] usb3 at ohci1: USB revision 1.0
[     1.000003] /soc/gpu@1c40000 at simplebus1 not configured
[     1.000003] sunxiwdt0 at simplebus1: Watchdog
[     1.000003] sunxiwdt0: default watchdog period is 16 seconds
[     1.000003] sunxithermal0 at simplebus1: Thermal sensor controller
[     1.000003] sunxithermal0: interrupting on GIC irq 63
[     1.000003] sunxithermal0: cpu: alarm 85C hyst 58C shut 106C
[     1.000003] sunxithermal0: gpu1: alarm 85C hyst 58C shut 106C
[     1.000003] sunxithermal0: gpu2: alarm 85C hyst 58C shut 106C
[     1.000003] pwmbacklight0 at simplebus0: PWM Backlight, 0-100 (11 steps)
[     1.000003] ausoc1 at simplebus0: hdmi-audio
[     1.000003] armpmu0 at simplebus0: Performance Monitor Unit
[     1.000003] gpiokeys0 at simplebus0: Lid Switch
[     1.000003] /soc/video-codec@1c0e000 at simplebus1 not configured
[     1.000003] sunxidrm0: reserved 39 MB DRAM for CMA (7 MB reclaimed from bootloader)
[     1.000003] sunxifb0 at sunxidrm0
[     1.000003] sunxifb0: framebuffer at 0xbe000000, size 1920x1080, depth 32, stride 7680
[     1.000003] wsdisplay0 at sunxifb0 kbdmux 1: console (default, vt100 emulation)
[     1.000003] wsmux1: connecting to wsdisplay0
[     1.000003] wsdisplay0: screen 1-3 added (default, vt100 emulation)
[     1.000003] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     1.000003] kern info: [drm] No driver support for vblank timestamp query.
[     1.000003] sunxidrm0: initialized sunxi 1.0.0 20190123 on minor 0
[     1.000003] ausoc0: codec: sun8icodec0, cpu: sunxii2s0, aux: a64acodec0 simpleamp0
[     1.000003] audiomatch: type=0 sa=0xffffc00000ef5b38 hw=0xffffc000008ef800
[     1.000003] audio0 at ausoc0: playback, capture, full duplex
[     1.000003] fmt[0] PR pri=0 slinear_le,16/16bit,2ch,{48000}
[     1.000003] fmt[0] candidate (score=0x22) pri=0 slinear_le,16/16,2ch,48000Hz
[     1.000003] audio_hw_probe selected: slinear_le,16/16,2ch,48000Hz
[     1.000003] audio_mixer_init@0 round_blocksize 1920 -> 1920
[     1.000003] audio_mixer_init@0 round_buffersize 5760 -> 5760
[     1.000003] audio_mixer_init@0 buffersize for playback = 5760
[     1.000003] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.000003] audio_mixer_init@0 round_blocksize 1920 -> 1920
[     1.000003] audio_mixer_init@0 round_buffersize 5760 -> 5760
[     1.000003] audio_mixer_init@0 buffersize for recording = 5760
[     1.000003] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[     1.000003] spkr0 at audio0: PC Speaker (synthesized)
[     1.000003] wsbell at spkr0 not configured
[     1.000003] ausoc1: codec: dwhdmi0, cpu: sunxii2s1
[     1.000003] audiomatch: type=0 sa=0xffffc00000ef5b38 hw=0xffffc000008ef800
[     1.000003] audio1 at ausoc1: playback
[     1.000003] fmt[0] PR pri=0 slinear_le,16/16bit,2ch,{48000}
[     1.000003] fmt[0] candidate (score=0x22) pri=0 slinear_le,16/16,2ch,48000Hz
[     1.000003] audio_hw_probe selected: slinear_le,16/16,2ch,48000Hz
[     1.000003] audio_mixer_init@1 round_blocksize 1920 -> 1920
[     1.000003] audio_mixer_init@1 round_buffersize 5760 -> 5760
[     1.000003] audio_mixer_init@1 buffersize for playback = 5760
[     1.000003] audio1: slinear_le:16 -> slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.000003] spkr1 at audio1: PC Speaker (synthesized)
[     1.000003] wsbell at spkr1 not configured
[     1.000003] entropy: WARNING: extracting entropy too early
[     1.000003] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1.000003] cpu1: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.000003] cpu1: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.000003] cpu1: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
[     1.000003] cpu1: L1 32KB/64B*256L*2W VIPT Instruction cache
[     1.000003] cpu1: L1 32KB/64B*128L*4W PIPT Data cache
[     1.000003] cpu1: L2 512KB/64B*512L*16W PIPT Unified cache
[     1.000003] cpu1: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000003] cpu1: auxID=0x11120, FP, CRC32, SHA1, SHA256, AES+PMULL, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.000003] cpu3: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.000003] cpu3: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.000003] cpu3: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
[     1.000003] cpu3: L1 32KB/64B*256L*2W VIPT Instruction cache
[     1.000003] cpu3: L1 32KB/64B*128L*4W PIPT Data cache
[     1.000003] cpu3: L2 512KB/64B*512L*16W PIPT Unified cache
[     1.000003] cpu3: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000003] cpu3: auxID=0x11120, FP, CRC32, SHA1, SHA256, AES+PMULL, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.000003] cpu2: IC enabled, DC enabled, EL0/EL1 stack Alignment check enabled
[     1.000003] cpu2: Cache Writeback Granule 16B, Exclusives Reservation Granule 16B
[     1.000003] cpu2: Dcache line 64, Icache line 64, DIC=0, IDC=0, LoUU=1, LoC=2, LoUIS=1
[     1.000003] cpu2: L1 32KB/64B*256L*2W VIPT Instruction cache
[     1.000003] cpu2: L1 32KB/64B*128L*4W PIPT Data cache
[     1.000003] cpu2: L2 512KB/64B*512L*16W PIPT Unified cache
[     1.000003] cpu2: revID=0x80, PMCv3, 4k table, 64k table, 16bit ASID
[     1.000003] cpu2: auxID=0x11120, FP, CRC32, SHA1, SHA256, AES+PMULL, NEON, rounding, NaN propagation, denormals, 32x64bitRegs, Fused Multiply-Add
[     1.761849] cpufreqdt0: rate: 1152.000 MHz, 1300000 uV
[     1.771853] sdmmc0 at sunximmc0
[     1.781851] sdmmc1 at sunximmc1
[     1.791852] sdmmc2 at sunximmc2
[     1.791852] sun8icrypto0: AES-128 self-test initiated
[     1.811852] armpmu0: interrupting on GIC irq 148
[     1.821854] armpmu0: interrupting on GIC irq 149
[     1.831857] armpmu0: interrupting on GIC irq 150
[     1.841853] armpmu0: interrupting on GIC irq 151
[     1.851853] uhub0 at usb2: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[     1.861855] uhub0: 1 port with 1 removable, self powered
[     1.861855] uhub1 at usb3: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     1.871855] uhub1: 1 port with 1 removable, self powered
[     1.871855] uhub2 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     1.881854] uhub2: 1 port with 1 removable, self powered
[     1.881854] uhub3 at usb0: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[     1.901854] uhub3: 1 port with 1 removable, self powered
[     1.911863] sun8icrypto0: AES-128 self-test passed
[     1.911863] Lid Switch: lid opened.
[     1.922229] IPsec: Initialized Security Association Processing.
[     1.922229] aes: ARMv8.0-AES
[     1.922229] chacha: ARM NEON ChaCha
[     1.922229] adiantum: self-test passed
[     1.922229] aes_ccm: self-test passed
[     1.922229] blake2s: self-test passed
[     1.922229] sdmmc1: 4-bit width, 50.000 MHz
[     1.931864] (manufacturer 0x24c, product 0xb703, standard function interface code 0x7) at sdmmc1 function 1 not configured
[     1.961860] ld2 at sdmmc2: <0x15:0x0100:AJTD4R:0x00:0x5337fa8e:0x000>
[     1.971864] ld2: 14910 MB, 7573 cyl, 64 head, 63 sec, 512 bytes/sect x 30535680 sectors
[     1.971864] ld2: 8-bit width, HS200, 64 MB cache, 200.000 MHz
[     4.111894] uhub4 at uhub0 port 1: vendor 05e3 (0x05e3) USB2.0 Hub (0x0608), class 9/0, rev 2.00/88.32, addr 2
[     4.124922] uhub4: single transaction translator
[     4.131897] uhub4: 4 ports with 1 removable, self powered
[     4.141896] ure0 at uhub3 port 1
[     4.141896] ure0: Realtek (0x0bda) USB 10/100 LAN (0x8152), rev 2.10/20.00, addr 2
[     4.151896] ure0: RTL8152 ver 4c10
[     4.231897] rlphy0 at ure0 phy 0: RTL8201E 10/100 media interface, rev. 2
[     4.251899] rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[     4.261898] ure0: Ethernet address 00:e0:4c:36:00:01
[     5.451917] uhidev0 at uhub4 port 1 configuration 1 interface 0
[     5.451917] uhidev0: HAILUCK CO.,LTD (0x258a) USB KEYBOARD (0x000c), rev 1.10/1.00, addr 3, iclass 3/1
[     5.471918] ukbd0 at uhidev0
[     5.881924] wskbd0 at ukbd0: console keyboard, using wsdisplay0
[     5.881924] uhidev1 at uhub4 port 1 configuration 1 interface 1
[     5.891926] uhidev1: HAILUCK CO.,LTD (0x258a) USB KEYBOARD (0x000c), rev 1.10/1.00, addr 3, iclass 3/0
[     5.911925] uhidev1: 9 report ids
[     5.921925] ums0 at uhidev1 reportid 1: 5 buttons, W and Z dirs
[     5.921925] wsmouse0 at ums0 mux 0
[     5.931926] uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
[     5.931926] uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
[     5.941926] uhid2 at uhidev1 reportid 5: input=0, output=0, feature=5
[     5.951926] uhid3 at uhidev1 reportid 6: input=0, output=0, feature=1039
[     5.961926] uhid4 at uhidev1 reportid 9: input=1, output=0, feature=0
[     6.951943] uaudio0 at uhub4 port 2 configuration 1 interface 0uaudio0: class v1, full-speed, sync, channels: 2 play, 1 rec, 2 ctls
[     6.961943] audiomatch: type=0 sa=0xffffc000809e8928 hw=0xffffc0000085f438
[     6.971944] audiomatch: type=0 sa=0xffffc000809e8928 hw=0xffffc0000085f438
[     6.981943] audio2 at uaudio0: playback, capture, full duplex, independent
[     6.981943] fmt[0] -R pri=0 slinear_le,16/16bit,1ch,{48000}
[     6.991943] fmt[0] skip; mode not match 1
[     6.991943] fmt[1] -- pri=0 none,0/0bit,0ch,{0-0}
[     7.001943] fmt[1] skip; mode not match 1
[     7.001943] audio_hw_probe no fmt
[     7.011944] fmt[0] -R pri=0 slinear_le,16/16bit,1ch,{48000}
[     7.021944] fmt[0] candidate (score=0x21) pri=0 slinear_le,16/16,1ch,48000Hz
[     7.021944] fmt[1] -- pri=0 none,0/0bit,0ch,{0-0}
[     7.031944] fmt[1] skip; mode not match 2
[     7.031944] audio_hw_probe selected: slinear_le,16/16,1ch,48000Hz
[     7.041944] audio2: autoconfiguration error: audio_hw_probe failed: errno=6, playback disabled
[     7.051944] audio_mixer_init@2 round_blocksize 960 -> 960
[     7.051944] audio_mixer_init@2 buffersize for recording = 2880
[     7.061944] audio2: slinear_le:16 1ch 48000Hz, blk 960 bytes (10ms) for recording
[     7.061944] spkr2 at audio2: PC Speaker (synthesized)
[     7.071945] wsbell at spkr2 not configured
[     7.081945] uhidev2 at uhub4 port 2 configuration 1 interface 3
[     7.081945] uhidev2: Creative Technology Ltd (0x041e) Creative BT-W3 (0x3270), rev 2.00/1.00, addr 4, iclass 3/0
[     7.101945] uhidev2: 3 report ids
[     7.101945] uhid5 at uhidev2 reportid 1: input=2, output=0, feature=0
[     7.111946] uhid6 at uhidev2 reportid 2: input=18, output=18, feature=0
[     7.121946] uhid7 at uhidev2 reportid 3: input=64, output=64, feature=0
[     7.121946] uhidev3 at uhub4 port 2 configuration 1 interface 4
[     7.131946] uhidev3: Creative Technology Ltd (0x041e) Creative BT-W3 (0x3270), rev 2.00/1.00, addr 4, iclass 3/0
[     7.151946] uhidev3: 4 report ids
[     7.151946] uhid8 at uhidev3 reportid 1: input=0, output=65, feature=0
[     7.161946] uhid9 at uhidev3 reportid 2: input=65, output=0, feature=0
[     7.161946] uhid10 at uhidev3 reportid 3: input=0, output=0, feature=3
[     7.171947] uhid11 at uhidev3 reportid 4: input=0, output=0, feature=3
[     8.151963] uvideo0 at uhub4 port 3 configuration 1 interface 0: Generic (0x1908) USB2.0 PC CAMERA (0x2311), rev 2.00/1.00, addr 5
[     8.161963] video0 at uvideo0: Generic (0x1908) USB2.0 PC CAMERA (0x2311), rev 2.00/1.00, addr 5
[     8.181963] cgd: self-test aes-xts-256
[     8.181963] cgd: self-test aes-xts-512
[     8.181963] cgd: self-test aes-cbc-128
[     8.181963] cgd: self-test aes-cbc-256
[     8.181963] cgd: self-test 3des-cbc-192
[     8.181963] cgd: self-test blowfish-cbc-448
[     8.181963] cgd: self-test aes-cbc-128 (encblkno8)
[     8.181963] cgd: self-tests passed
[     8.181963] WARNING: 1 error while detecting hardware; check system log.
[     8.191964] boot device: ld2
[     8.191964] root on ld2a dumps on ld2b
[     8.201963] /: replaying log to memory
[     8.201963] root file system type: ffs
[     8.211964] kern.module.path=/stand/evbarm/9.99.82/modules
[     8.651987] /: replaying log to disk
[     9.452021] entropy: ready
[    13.552131] wsdisplay0: screen 4 added (default, vt100 emulation)
[    31.912624] axppmic0: normal capacity on 'charge state'
[    53.942990] audio: audiodebug = 3
[    56.533043] audioctl_open@2 called
[    56.533043] audio_ioctl@2 {,} (48,'A',27) AUDIO_GETDEV pid=2220.2220
[    56.546413] audio_ioctl@2 {,} (48,'A',27) AUDIO_GETDEV result 0
[    56.546413] audio_ioctl@2 {,} (112,'A',38) AUDIO_QUERYFORMAT pid=2220.2220
[    56.559136] audio_ioctl@2 {,} (112,'A',38) AUDIO_QUERYFORMAT result 0
[    56.559136] audio_ioctl@2 {,} (112,'A',38) AUDIO_QUERYFORMAT pid=2220.2220
[    56.572396] audio_ioctl@2 {,} (112,'A',38) AUDIO_QUERYFORMAT result 0
[    56.572396] audio_ioctl@2 {,} (112,'A',38) AUDIO_QUERYFORMAT pid=2220.2220
[    56.585658] audio_ioctl@2 {,} (112,'A',38) AUDIO_QUERYFORMAT result 22
[    56.593655] audio_ioctl@2 {,} (136,'A',39) AUDIO_GETFORMAT pid=2220.2220
[    56.593655] audio_ioctl@2 {,} (136,'A',39) AUDIO_GETFORMAT result 0
[    56.613657] audioctl_open@0 called
[    56.625505] audio_ioctl@0 {,} (48,'A',27) AUDIO_GETDEV pid=2220.2220
[    56.625505] audio_ioctl@0 {,} (48,'A',27) AUDIO_GETDEV result 0
[    56.637666] audio_ioctl@0 {,} (112,'A',38) AUDIO_QUERYFORMAT pid=2220.2220
[    56.637666] audio_ioctl@0 {,} (112,'A',38) AUDIO_QUERYFORMAT result 0
[    56.650927] audio_ioctl@0 {,} (112,'A',38) AUDIO_QUERYFORMAT pid=2220.2220
[    56.657772] audio_ioctl@0 {,} (112,'A',38) AUDIO_QUERYFORMAT result 22
[    56.657772] audio_ioctl@0 {,} (136,'A',39) AUDIO_GETFORMAT pid=2220.2220
[    56.670945] audio_ioctl@0 {,} (136,'A',39) AUDIO_GETFORMAT result 0
[    56.677774] audioctl_open@1 called
[    56.677774] audio_ioctl@1 {,} (48,'A',27) AUDIO_GETDEV pid=2220.2220
[    56.689992] audio_ioctl@1 {,} (48,'A',27) AUDIO_GETDEV result 0
[    56.689992] audio_ioctl@1 {,} (112,'A',38) AUDIO_QUERYFORMAT pid=2220.2220
[    56.702728] audio_ioctl@1 {,} (112,'A',38) AUDIO_QUERYFORMAT result 0
[    56.702728] audio_ioctl@1 {,} (112,'A',38) AUDIO_QUERYFORMAT pid=2220.2220
[    56.715989] audio_ioctl@1 {,} (112,'A',38) AUDIO_QUERYFORMAT result 22
[    56.715989] audio_ioctl@1 {,} (136,'A',39) AUDIO_GETFORMAT pid=2220.2220
[    56.729160] audio_ioctl@1 {,} (136,'A',39) AUDIO_GETFORMAT result 0
[    56.735988] audioclose@2 {,} free memory
[    56.735988] audioclose@0 {,} free memory
[    56.748435] audioclose@1 {,} free memory
[    92.596581] audio_open@2 start dev=audio flags=0x403 po=0 ro=0
[    92.596581] audio_track_create@2 #0 for recording
[    92.609381] audio_file_setinfo@2 specified play.param=mulaw/8bit/1ch/8000Hz,record.param=mulaw/8bit/1ch/8000Hz,play.pause=0,record.pause=0
[    92.621763] audio_track_clear@2 #0 clear
[    92.621763] audio track#- play mode: mulaw 8bit 1ch 8000Hz
[    92.631123] audio track#0 rec  mode: mulaw 8bit 1ch 8000Hz
[    92.631123] audio_track_set_format@2 #0 bufsize freq=3840 codec=160 out=80 usr=65520
[    92.644409] audio_rmixer_start@2 begin
[    92.644409] audio_rmixer_start@2 end
[    92.654324] audio_open@2 {,#0} done
[    92.654324] audio_ioctl@2 {,#0} (56,'m',2) pid=423.423
[    92.654324] audio_ioctl@2 {,#0} unknown ioctl
[    92.667239] audio_ioctl@2 {,#0} (56,'m',2) result 22
[    92.667239] panic: kernel diagnostic assertion "track" failed: file "/bracket/drm/sys/dev/audio/audio.c", line 2912 
[    92.682685] cpu0: Begin traceback...
[    92.682685] trace fp ffffc0009207fb30
[    92.690052] fp ffffc0009207fb60 vpanic() at ffffc0000053289c netbsd:vpanic+0x14c
[    92.700057] fp ffffc0009207fbc0 kern_assert() at ffffc0000078f488 netbsd:kern_assert+0x58
[    92.710060] fp ffffc0009207fc60 audio_write.isra.0() at ffffc0000032db20 netbsd:audio_write.isra.0+0x3cc
[    92.720587] fp ffffc0009207fd00 audiowrite() at ffffc0000032df50 netbsd:audiowrite+0x1c0
[    92.730994] fp ffffc0009207fda0 dofilewrite() at ffffc000005424c0 netbsd:dofilewrite+0x70
[    92.741109] fp ffffc0009207fe20 syscall() at ffffc000000a55c4 netbsd:syscall+0x194
[    92.750997] tf ffffc0009207fed0 el0_trap() at ffffc000000a87f0 netbsd:el0_trap
[    92.762072] ---- trapframe 0xffffc0009207fed0 (304 bytes) ----
[    92.762072]     pc=0000fea202458368,   spsr=0000000080000000
[    92.773684]    esr=0000000056000004,    far=0000fea20240f000
[    92.773684]     x0=0000000000000005,     x1=0000fea20240f000
[    92.784949]     x2=0000000000000200,     x3=0000000200101040
[    92.784949]     x4=0000000000000000,     x5=00000000000000c0
[    92.796219]     x6=00000000000004c0,     x7=0000fea202580408
[    92.796219]     x8=0000000000000001,     x9=0000000000000011
[    92.810372]    x10=0000000000000004,    x11=0000000000000001
[    92.810372]    x12=0000fea20280e008,    x13=0000000000000014
[    92.821637]    x14=0000000000000294,    x15=0000fea202001e20
[    92.821637]    x16=00000002001161e8,    x17=0000fea202458364
[    92.832902]    x18=0000000000000000,    x19=0000000200116540
[    92.843390]    x20=0000fea20240f000,    x21=0000000000000200
[    92.843390]    x22=0000000000000200,    x23=0000000200116000
[    92.854658]    x24=0000fea20240f000,    x25=0000000000000200
[    92.854658]    x26=0000000000000000,    x27=00000002001164d0
[    92.865924]    x28=0000000200116000, fp=x29=0000ffffffd1b9a0
[    92.865924] lr=x30=0000000200102558,     sp=0000ffffffd1b9a0
[    92.877190] ------------------------------------------------
[    92.877190] cpu0: End traceback...

[    92.886203] dump to dev 92,17 not possible
[    92.893339] rebooting...

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index