Cant record audio using USB microphone



  • I am trying to use a USB microphone but I keep getting a kernel crash when I try and run "arecord".

    root@Omega-8E8A:/# arecord -d 10 /tmp/test-mic.wav
    Recording WAVE '/tmp/test-mic.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
    [ 59.064454] Kernel bug detected[#1]:
    [ 59.068109] CPU: 0 PID: 1373 Comm: arecord Tainted: G W 4.4.74 #0
    [ 59.075434] task: 86090508 ti: 86094000 task.ti: 86094000
    [ 59.080904] $ 0 : 00000000 00000001 00000002 00000002
    [ 59.086222] $ 4 : 87377800 86b5f8f0 86b5f8f0 00004000
    [ 59.091533] $ 8 : 00000018 80008c58 7719f000 00001000
    [ 59.096846] $12 : 00006000 00100000 fffffffc 00004000
    [ 59.102156] $16 : 87377800 00000008 87610280 86b67c00
    [ 59.107468] $20 : 77198000 7719c000 00000000 00000004
    [ 59.112777] $24 : 00001072 7710ce00
    [ 59.118087] $28 : 86094000 86095df8 00000000 87032250
    [ 59.123398] Hi : 00000000
    [ 59.126314] Lo : 00000004
    [ 59.129307] epc : 87032160 snd_pcm_lib_default_mmap+0x30/0x48 [snd_pcm]
    [ 59.136210] ra : 87032250 snd_pcm_mmap_data+0xd8/0xe60 [snd_pcm]
    [ 59.142560] Status: 1100e503 KERNEL EXL IE
    [ 59.146818] Cause : 10800024 (ExcCode 09)
    [ 59.150881] PrId : 00019655 (MIPS 24KEc)
    [ 59.154940] Modules linked in: pppoe ppp_async option iptable_nat w1_therm w1_gpio uvcvideo usb_wwan snd_usb_audio pppox ppp_generic pl2303 nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG wire videobuf2_v4l2 usbserial usblp usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uinput spidev snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 snd_soc_max98090 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core mt_wifi ralink_gdma virt_dma ledtrig_oneshot ledtrig_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfs configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 cryptomgr aead crypto_null crc32c_generic crypto_hash
    [ 59.305020] Process arecord (pid: 1373, threadinfo=86094000, task=86090508, tls=771a9d48)
    [ 59.313305] Stack : 77198000 7719c000 00000000 00000000 86b5f8f0 80099fcc 00000000 00004000
    87610280 00004000 000000fb 00000000 87610280 00000000 00000000 00000010
    00000020 80410000 00000001 86b5f9a0 86b5f9b4 86b5f9b0 77198000 000000fb
    87610280 00004000 00000001 00000002 00000000 00000004 86b67c00 8009a5cc
    00030002 803c0000 86090508 00030002 00000000 87675660 86b67c34 87610280
    ...
    [ 59.349438] Call Trace:
    [ 59.351942] [<87032160>] snd_pcm_lib_default_mmap+0x30/0x48 [snd_pcm]
    [ 59.358516] [<87032250>] snd_pcm_mmap_data+0xd8/0xe60 [snd_pcm]
    [ 59.364562] [<80099fcc>] mmap_region+0x29c/0x544
    [ 59.369253] [<8009a5cc>] do_mmap+0x358/0x3d4
    [ 59.373609] [<8008bcc0>] vm_mmap_pgoff+0x70/0xb8
    [ 59.378296] [<80098a40>] SyS_mmap_pgoff+0x8c/0xd8
    [ 59.383078] [<8000682c>] syscall_common+0x30/0x54
    [ 59.387843]
    [ 59.389350]
    Code: 24020002 14620002 00000000 <000c000d> 3c028704 2442ce08 aca20048 03e00008 00001021
    [ 59.399621] ---[ end trace 137b659b6512e81a ]---
    [ 59.408245] Fatal exception: panic in 5 seconds^Z^C^X

    [ 64.415824] Kernel panic - not syncing: Fatal exception
    [ 64.423859] Rebooting in 3 seconds..



Looks like your connection to Community was lost, please wait while we try to reconnect.