We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Kernel panic with pulseaudio



  • Hi everyone.

    Having strange issue with Onion Omega2+.
    Just following tutorial at https://docs.onion.io/omega2-project-book-vol1/bluetooth-audio-speaker.html (Bluetooth Speaker) and after installing necessary packages immideately getting kernel panic caused by pulseaudio process. Then I have same error on every boot and only able to restore device by doinf factory reset. Full log below.
    Tried on latest firmware (b186)

    Here is a boot log

      / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
     / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
     \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
     W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  128 MB
    relocate_code Pointer at: 87f60000
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    
    ============================================
    Onion Omega2 UBoot Version: 4.3.0.3
    --------------------------------------------
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================
    icache: sets:512, ways:4, linesz:32 ,total:65536
    dcache: sets:256, ways:4, linesz:32 ,total:32768
    CPU freq = 575 MHZ
    Estimated memory size = 128 Mbytes
    Resetting MT7628 PHY.
    Initializing MT7688 GPIO system.
    
    
    ************************************** 
    * Hold Reset button for more options * 
    ************************************** 
    
    
    
    Boot Linux from Flash NO RESET PRESSED.
    ## Booting image at bc050000 ...
       Image Name:   MIPS LEDE Linux-4.4.74
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1341680 Bytes =  1.3 MB
       Load Address: 80000000
       Entry Point:  80000000
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK   
    No initrd
    ## Transferring control to Linux (at address 80000000) ...
    ## Giving linux memsize in MB, 128
    
    Starting kernel ...
    [    0.000000] Linux version 4.4.74 (root@3fbe4dcb626f) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3484-d8f14ba) ) #0 Tue Mar 27 17:21:32
     2018
    [    0.000000] Board has DDR2
    [    0.000000] Analog PMU set to hw control
    [    0.000000] Digital PMU set to hw control
    [    0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
    [    0.000000] MIPS: machine is Onion Omega2+
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Writing ErrCtl register=0001e49f
    [    0.000000] Readback ErrCtl register=0001e49f
    [    0.000000] Memory: 125488K/131072K available (3102K kernel code, 145K rwdata, 740K rodata, 164K init, 196K bss, 5584K reserved
    , 0K cma-reserved)
    [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS:256
    [    0.000000] intc: using register map from devicetree
    [    0.000000] CPU Clock: 580MHz
    [    0.000000] clocksource_probe: no matching clocksources found
    [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
    [    0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [    0.007522] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.070042] pid_max: default: 32768 minimum: 301
    [    0.074637] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080973] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.094650] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104159] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.110171] pinctrl core: initialized pinctrl subsystem
    [    0.115934] NET: Registered protocol family 16
    [    0.140712] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.146269] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.151688] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.158287] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support
    [    0.165806] clocksource: Switched to clocksource MIPS
    [    0.172358] NET: Registered protocol family 2
    [    0.177571] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.184261] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.190446] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.196637] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.202235] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.208620] NET: Registered protocol family 1
    [    0.219172] Crashlog allocated RAM at address 0x3f00000
    [    0.240598] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.246256] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.259018] io scheduler noop registered
    [    0.262760] io scheduler deadline registered (default)
    [    0.268865] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    [    0.276281] console [ttyS0] disabled
    [    0.279714] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.288480] console [ttyS0] enabled 
    [    0.288480] console [ttyS0] enabled 
    [    0.295460] bootconsole [early0] disabled
    [    0.295460] bootconsole [early0] disabled
    [    0.304136] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.313647] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.324211] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.334255] m25p80 spi32766.0: using chunked io (size=31)
    [    0.339821] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.345329] 4 ofpart partitions found on MTD device spi32766.0
    [    0.351259] Creating 4 MTD partitions on "spi32766.0":
    [    0.356489] 0x000000000000-0x000000030000 : "u-boot"
    [    0.363297] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.370612] 0x000000040000-0x000000050000 : "factory"
    [    0.377663] 0x000000050000-0x000002000000 : "firmware"
    [    0.425569] 2 uimage-fw partitions found on MTD device firmware
    [    0.431621] 0x000000050000-0x000000197930 : "kernel"
    [    0.438344] 0x000000197930-0x000002000000 : "rootfs"
    [    0.445164] mtd: device 5 (rootfs) set to be root filesystem
    [    0.451048] 1 squashfs-split partitions found on MTD device rootfs
    [    0.457342] 0x000000740000-0x000002000000 : "rootfs_data"
    [    0.475236] rt3050-esw 10110000.esw: link changed 0x00
    [    0.482131] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.490780] i2c /dev entries driver 
    [    0.494889] mt7621_wdt 10000120.watchdog: Initialized
    [    0.501612] NET: Registered protocol family 10
    [    0.510382] NET: Registered protocol family 17
    [    0.514985] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if y
    ou need this.
    [    0.527854] 8021q: 802.1Q VLAN Support v1.8
    [    0.538879] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.547012] Freeing unused kernel memory: 164K (803e7000 - 80410000)
    [    1.572135] init: Console is alive  
    [    1.575896] init: - watchdog -
    [    4.111217] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    4.237669] usbcore: registered new interface driver usbfs
    [    4.243330] usbcore: registered new interface driver hub
    [    4.248889] usbcore: registered new device driver usb
    [    4.260680] exFAT: Version 1.2.9
    [    4.304980] SCSI subsystem initialized
    [    4.315886] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.324302] ehci-platform: EHCI generic platform driver
    [    4.340000] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    4.346816] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.352150] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.358029] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    4.366196] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    4.385848] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    4.393403] hub 1-0:1.0: USB hub found
    [    4.397649] hub 1-0:1.0: 1 port detected
    [    4.406718] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.414689] ohci-platform: OHCI generic platform driver
    [    4.420352] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    4.427323] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    4.435435] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    4.500996] hub 2-0:1.0: USB hub found
    [    4.505255] hub 2-0:1.0: 1 port detected
    [    4.522759] MTK MSDC device init.   
    [    4.566004] mtk-sd: MediaTek MT6575 MSDC Driver
    [    4.574019] sdhci: Secure Digital Host Controller Interface driver
    [    4.580369] sdhci: Copyright(c) Pierre Ossman
    [    4.586320] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.596671] usbcore: registered new interface driver usb-storage
    [    4.606383] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    4.624190] init: - preinit -
    [    5.476112] rt3050-esw 10110000.esw: link changed 0x00
    Press the [f] key and hit [enter] to enter failsafe mode
    Press the [1], [2], [3] or [4] key and hit [enter] to select the debug[    5.675182] random: procd: uninitialized urandom read (4 
    bytes read, 10 bits of entropy available)
     level
    [    9.050700] jffs2: notice: (399) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 or
    phan) and 0 of xref (0 dead, 0 orphan) found.
    [    9.069568] mount_root: switching to jffs2 overlay
    [    9.084435] urandom-seed: Seeding with /etc/urandom.seed
    [    9.223956] procd: - early -
    [    9.227645] procd: - watchdog -
    [    9.958876] procd: - watchdog -
    [    9.962361] procd: - ubus -
    [   10.022308] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.032017] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.041313] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.051291] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.060564] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.069889] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.079256] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [   10.088807] procd: - init -
    Please press Enter to activate this console.
    [   10.577105] kmodloader: loading kernel modules from /etc/modules.d/*
    [   10.617034] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   10.691774] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   10.718277] gdma-rt2880 10002800.gdma: revision: 3, channels: 16
    [   11.178777]
    [   11.178777]
    [   11.178777] === pAd = c0578000, size = 1182848 ===
    [   11.178777]
    [   11.189645] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628))
    [   11.430847] Linux video capture interface: v2.00
    [   11.475451] hidraw: raw HID events driver (C) Jiri Kosina
    [   11.500723] ralink-i2s 10000a00.i2s: mclk 480KHz
    [   11.536478] max98090 0-0010: Unrecognized revision 0xff
    [   11.541795] max98090 0-0010: Mismatch in DT specified CODEC type.
    [   11.550578] max98090 0-0010: use default 2.8v micbias
    [   11.570374] asoc-simple-card sound: HiFi <-> 10000a00.i2s mapping ok
    [   11.614169] Bluetooth: Core ver 2.21
    [   11.617988] NET: Registered protocol family 31
    [   11.622498] Bluetooth: HCI device and connection manager initialized
    [   11.628977] Bluetooth: HCI socket layer initialized
    [   11.633928] Bluetooth: L2CAP socket layer initialized
    [   11.639094] Bluetooth: SCO socket layer initialized
    [   11.648368] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   11.653769] Bluetooth: BNEP filters: protocol multicast
    [   11.659148] Bluetooth: BNEP socket layer initialized
    [   11.671037] usbcore: registered new interface driver btusb
    [   11.680691] usbcore: registered new interface driver cdc_acm
    [   11.686521] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   11.700877] Bluetooth: HCI UART driver ver 2.3
    [   11.705399] Bluetooth: HCI UART protocol H4 registered
    [   11.710680] Bluetooth: HCI UART protocol BCSP registered
    [   11.720308] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   11.726419] Bluetooth: HIDP socket layer initialized
    [   11.734576] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   11.756082] nf_conntrack version 0.5.0 (1963 buckets, 7852 max)
    [   11.787310] Bluetooth: RFCOMM TTY layer initialized
    [   11.792294] Bluetooth: RFCOMM socket layer initialized
    [   11.797596] Bluetooth: RFCOMM ver 1.11
    [   11.809804] spidev spi32766.1: buggy DT: spidev listed directly in DT
    [   11.816431] ------------[ cut here ]------------
    [   11.821134] WARNING: CPU: 0 PID: 481 at drivers/spi/spidev.c:720 init_module+0x6f33c/0x6fdec [spidev]()
    [   11.830664] Modules linked in: spidev(+) snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_n
    at nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables hidp hid_ge
    neric hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 snd_soc_max980
    90 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core mt_wifi ralink_gdma virt_dma ledt
    rig_oneshot ledtrig_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6t
    able_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_s
    eq_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_p
    latform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 cryptomgr aead cryp
    to_null crc32c_generic crypto_hash
    [   11.937602] CPU: 0 PID: 481 Comm: kmodloader Not tainted 4.4.74 #0
    [   11.943867] Stack : 80380780 00000000 00000001 803d0000 87d225bc 803cae63 80361c18 000001e1
              80413438 0000000f 0000001a 024000c0 80066378 8004af58 80367120 803c0000
              00000003 0000000f 80365524 875b5b4c 80066378 80048ec4 00000000 00000000
              00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
              00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
              ...
    [   11.980040] Call Trace:
    [   11.982579] [<80066378>] module_sect_show+0x0/0x18
    [   11.987464] [<8004af58>] vprintk_default+0x24/0x30
    [   11.992341] [<80066378>] module_sect_show+0x0/0x18
    [   11.997219] [<80048ec4>] printk+0x2c/0x38
    [   12.001306] [<8002552c>] warn_slowpath_common+0xa0/0xd0
    [   12.006636] [<8014de3c>] dump_stack+0x14/0x28
    [   12.011058] [<80014908>] show_stack+0x50/0x84
    [   12.015474] [<8002552c>] warn_slowpath_common+0xa0/0xd0
    [   12.020800] [<8688e33c>] init_module+0x6f33c/0x6fdec [spidev]
    [   12.026645] [<86890000>] 0x86890000 
    [   12.030200] [<800255e4>] warn_slowpath_null+0x18/0x24
    [   12.035342] [<801fb304>] of_match_node+0x20/0x44
    [   12.040053] [<86890000>] 0x86890000 
    [   12.043600] [<8688e33c>] init_module+0x6f33c/0x6fdec [spidev]
    [   12.049464] [<801c0a10>] devm_kfree+0x20/0x44
    [   12.053904] [<801e1bd8>] spi_drv_probe+0x3c/0x84
    [   12.058614] [<801bd540>] driver_probe_device+0x120/0x288
    [   12.064025] [<8008b928>] kstrdup+0x44/0x8c
    [   12.068209] [<801e1ad8>] spi_match_device+0x38/0xa8
    [   12.073181] [<801bd724>] __driver_attach+0x7c/0xb4
    [   12.078055] [<801bb948>] next_device+0x10/0x30
    [   12.082573] [<801bd6a8>] __driver_attach+0x0/0xb4
    [   12.087359] [<801bba04>] bus_for_each_dev+0x9c/0xac
    [   12.092318] [<80303c9c>] klist_add_tail+0x24/0x50
    [   12.097103] [<86890000>] 0x86890000 
    [   12.100645] [<801bb7d8>] bus_get+0x2c/0x50
    [   12.104820] [<801bcc38>] bus_add_driver+0xec/0x20c
    [   12.109704] [<800ae92c>] exact_match+0x0/0x8
    [   12.114038] [<800aee34>] exact_lock+0x0/0x24
    [   12.118386] [<86890000>] 0x86890000 
    [   12.121923] [<86890000>] 0x86890000 
    [   12.125463] [<801bde3c>] driver_register+0xa8/0xf8
    [   12.130345] [<8681f000>] init_module+0x0/0xdc [spidev]
    [   12.135570] [<86890000>] 0x86890000 
    [   12.139129] [<86890000>] 0x86890000 
    [   12.142667] [<86890000>] 0x86890000 
    [   12.146225] [<8681f098>] init_module+0x98/0xdc [spidev]
    [   12.151540] [<80159a08>] kasprintf+0x1c/0x28
    [   12.155903] [<800458b0>] __wake_up+0x24/0x48
    [   12.160239] [<8681f000>] init_module+0x0/0xdc [spidev]
    [   12.165471] [<8000d938>] do_one_initcall+0x1e8/0x214
    [   12.170535] [<800458b0>] __wake_up+0x24/0x48
    [   12.174870] [<8681f000>] init_module+0x0/0xdc [spidev]
    [   12.180117] [<80034568>] call_usermodehelper_exec+0x144/0x160
    [   12.185981] [<80034058>] call_usermodehelper_setup+0x38/0xa8
    [   12.191750] [<80066378>] module_sect_show+0x0/0x18
    [   12.196649] [<80067598>] do_init_module+0x74/0x1cc
    [   12.201525] [<8009f418>] __vunmap+0xf0/0x114
    [   12.205905] [<80068e2c>] load_module+0x16c0/0x1b68
    [   12.210772] [<80066964>] unknown_module_param_cb+0x0/0xac
    [   12.216269] [<8009f90c>] __vmalloc_node+0x34/0x40
    [   12.221066] [<80069368>] SyS_init_module+0x94/0x180
    [   12.226035] [<80069404>] SyS_init_module+0x130/0x180
    [   12.231102] [<8000682c>] syscall_common+0x30/0x54
    [   12.235896] [<80008c58>] __bzero+0xbc/0x164
    [   12.240139]
    [   12.241651] ---[ end trace 5230546f5a90b063 ]---
    [   12.254331] usbcore: registered new interface driver ums-alauda
    [   12.263451] usbcore: registered new interface driver ums-cypress
    [   12.272674] usbcore: registered new interface driver ums-datafab
    [   12.281603] usbcore: registered new interface driver ums-freecom
    [   12.290750] usbcore: registered new interface driver ums-isd200
    [   12.300582] usbcore: registered new interface driver ums-jumpshot
    [   12.309690] usbcore: registered new interface driver ums-karma
    [   12.319404] usbcore: registered new interface driver ums-sddr09
    [   12.328518] usbcore: registered new interface driver ums-sddr55
    [   12.337972] usbcore: registered new interface driver ums-usbat
    [   12.350221] usbcore: registered new interface driver usbhid
    [   12.355934] usbhid: USB HID core driver
    [   12.364081] usbcore: registered new interface driver usblp
    [   12.378259] usbcore: registered new interface driver usbserial
    [   12.384295] usbcore: registered new interface driver usbserial_generic
    [   12.391087] usbserial: USB Serial support registered for generic
    [   12.410288] Driver for 1-wire Dallas network protocol.
    [   12.437008] xt_time: kernel timezone is -0000
    [   12.443725] usbcore: registered new interface driver ch341
    [   12.449505] usbserial: USB Serial support registered for ch341-uart
    [   12.458828] usbcore: registered new interface driver cp210x
    [   12.464597] usbserial: USB Serial support registered for cp210x
    [   12.474170] usbcore: registered new interface driver ftdi_sio
    [   12.480207] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   12.502439] usbcore: registered new interface driver pl2303
    [   12.508303] usbserial: USB Serial support registered for pl2303
    [   12.520787] PPP generic driver version 2.4.2
    [   12.528494] NET: Registered protocol family 24
    [   12.546610] usbcore: registered new interface driver snd-usb-audio
    [   12.568657] usbcore: registered new interface driver uvcvideo
    [   12.574495] USB Video Class driver (1.1.1)
    [   12.588286] usbcore: registered new interface driver option
    [   12.594051] usbserial: USB Serial support registered for GSM modem (1-port)
    [   12.606701] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   13.298269] random: jshn: uninitialized urandom read (4 bytes read, 23 bits of entropy available)
    [   13.401680] random: ubusd: uninitialized urandom read (4 bytes read, 23 bits of entropy available)
    [   22.020689] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
    [   22.769641]
    [   22.769641] _
    [   22.769641] | | /| / / _ | / _ \/ _ \  / ___/ __ \/ _ \/ __/ V1.0
    [   22.769641] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/
    [   22.769641] |__/|__/_/ |_/_/|_/_/     \___/\____/_/|_/___/
    [   22.769641]             Onion Enhanced MT7688 WiFi Driver
    [   22.769641]
    [   23.045938] DMA Scheduler Mode=0(LMAC)
    [   23.049772] efuse_probe: efuse = 10000012
    [   23.053897] 1. Phy Mode = 14
    [   23.221925] 2. Phy Mode = 14
    [   23.224891] 3. Phy Mode = 14
    [   23.235450]  WTBL Segment 1 info:   
    [   23.238891]          MemBaseAddr/FID:0x28000/0
    [   23.242779]          EntrySize/Cnt:32/128
    [   23.246237]  WTBL Segment 2 info:   
    [   23.249597]          MemBaseAddr/FID:0x40000/0
    [   23.253481]          EntrySize/Cnt:64/128
    [   23.256939]  WTBL Segment 3 info:   
    [   23.260299]          MemBaseAddr/FID:0x42000/64
    [   23.264271]          EntrySize/Cnt:64/128
    [   23.267729]  WTBL Segment 4 info:   
    [   23.271089]          MemBaseAddr/FID:0x44000/128
    [   23.275150]          EntrySize/Cnt:32/128
    [   25.399557] Kernel bug detected[#1]:
    [   25.403212] CPU: 0 PID: 965 Comm: pulseaudio Tainted: G        W       4.4.74 #0
    [   25.410713] task: 87c2e840 ti: 86a0e000 task.ti: 86a0e000
    [   25.416181] $ 0   : 00000000 00000001 00000002 00000002
    [   25.421501] $ 4   : 876de400 86bd5d10 86bd5d10 00020000
    [   25.426814] $ 8   : 00000018 80008c58 77744000 00001000
    [   25.432124] $12   : 00022000 00100000 fffffffc 00020000
    [   25.437434] $16   : 876de400 00000008 86bbb780 86a15d80
    [   25.442747] $20   : 76cf4000 76d14000 00000000 00000020
    [   25.448054] $24   : 00001072 776cee00
    [   25.453367] $28   : 86a0e000 86a0fdf8 00000000 87632250
    [   25.458679] Hi    : 00000000
    [   25.461596] Lo    : 00000020
    [   25.464594] epc   : 87632160 snd_pcm_lib_default_mmap+0x30/0x48 [snd_pcm]
    [   25.471497] ra    : 87632250 snd_pcm_mmap_data+0xd8/0xe60 [snd_pcm]
    [   25.477847] Status: 1100e503 KERNEL EXL IE
    [   25.482101] Cause : 10800024 (ExcCode 09)
    [   25.486164] PrId  : 00019655 (MIPS 24KEc)
    [   25.490224] 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
    [   25.640307] Process pulseaudio (pid: 965, threadinfo=86a0e000, task=87c2e840, tls=7776bd48)
    [   25.648767] Stack : 76cf4000 76d14000 00000000 00000000 86bd5d10 80099fcc 00000000 00020000
              86bbb780 00020000 000000fb 00000000 86bbb780 00000000 00000000 76d68000
              87c2e840 80410000 00000001 869eeb58 86bc0960 86bc0958 76cf4000 000000fb
              86bbb780 00020000 00000001 00000002 00000000 00000020 86a15d80 8009a5cc
              00030002 803c0000 87c2e840 00030002 00000000 876f8020 86a15db4 86bbb780
              ...
    [   25.684897] Call Trace:
    [   25.687402] [<87632160>] snd_pcm_lib_default_mmap+0x30/0x48 [snd_pcm]
    [   25.693977] [<87632250>] snd_pcm_mmap_data+0xd8/0xe60 [snd_pcm]
    [   25.700027] [<80099fcc>] mmap_region+0x29c/0x544
    [   25.704717] [<8009a5cc>] do_mmap+0x358/0x3d4
    [   25.709074] [<8008bcc0>] vm_mmap_pgoff+0x70/0xb8
    [   25.713762] [<80098a40>] SyS_mmap_pgoff+0x8c/0xd8
    [   25.718544] [<8000682c>] syscall_common+0x30/0x54
    [   25.723309]
    [   25.724815]
    Code: 24020002  14620002  00000000 <000c000d> 3c028764  2442ce08  aca20048  03e00008  00001021
    [   25.735049] ---[ end trace 5230546f5a90b064 ]---
    [   25.743450] Fatal exception: panic in 5 seconds
    [   30.757930] Kernel panic - not syncing: Fatal exception
    [   30.765789] Rebooting in 3 seconds..
    

    And steps to reproduce (after fresh setup)
    note: i'm using i2s DAC

    opkg update
    opkg install alsa-utils mpg123
    omega2-ctrl gpiomux set i2s i2s
    mpg123 http://uk5.internet-radio.com:8251/
    

    last command is to test sound and it is working fine

    opkg install bluez-libs bluez-utils pulseaudio-daemon pulseaudio-tools alsa-lib alsa-utils
    

    and here i have crash when pulseaudio executes during install

    Any help is highly appreciated


  • administrators

    Thanks for bringing this to our attention. We've investigated this on our end and have identified there is something about how ALSA interacts with the kernel DMA driver that causes the kernel panic.
    We're currently looking into a solution and will keep you up to date.



  • @Lazar-Demin Hello, i'm trying to solve this problem too, can you explain more specifically where the root of the problem is and what modules it affects?
    I debugged and find in arch/mips/mm/dma-default.c struct dma_map_ops what consist NULL, do u fix it?



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