3.16.1 Kernel Oops and Audio

This forum is for i.MX233 based devices including the OLinuXino

3.16.1 Kernel Oops and Audio

Postby cbrues » Fri Aug 29, 2014 11:17 pm

Hello,

I'm having a problem with audio on the OLinuXino Maxi. I have installed alsa and alsa utils. If I try to run alsactl manually or try running speaker-test, the system becomes unresponsive. I've gotten around the complete lockup by running an alsa program in a second ssh connection. Whichever alsa program I run in the second terminal will lock up. It will not respond to a SIGTERM or SIGKILL

When booting, I get several messages stating:
Code: Select all
sgtl5000 0-000a: Failed to get mclock: -2

which doesn't completely make sense to me, since there is no sgtl5000 on the maxi board.

There is a kernel oops coming out of alsactl at the end of boot. Here's the full dmesg text:

Code: Select all
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.16.1-1-ARCH (nobody@root-armv5-copy) (gcc version 4.8.2 20131219 (prerelease) (GCC) ) #1 PREEMPT Thu Aug 14 19:47:26 MDT 2014
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: i.MX23 Olinuxino Low Cost Board
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat c0a1d38c, node_mem_map c3f79000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyAMA0,115200 smsc95xx.turbo_mode=N quiet rootfstype=ext4 root=/dev/mmcblk0p2 rw ext4 rootwait fixrtc video=
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] allocated 131072 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 46072K/65536K available (7042K kernel code, 437K rwdata, 2584K rodata, 293K init, 8272K bss, 19464K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
    vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc096ed54   (9628 kB)
      .init : 0xc096f000 - 0xc09b85cc   ( 294 kB)
      .data : 0xc09ba000 - 0xc0a27604   ( 438 kB)
       .bss : 0xc0a27604 - 0xc123b9d8   (8273 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836480000000ns
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000000] ... MAX_LOCKDEP_CHAINS:      65536
[    0.000000] ... CHAINHASH_SIZE:          32768
[    0.000000]  memory used by lock dependency info: 5167 kB
[    0.000000]  per task-struct memory footprint: 1152 bytes
[    0.070000] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080000] Initializing cgroup subsys memory
[    0.080000] Initializing cgroup subsys devices
[    0.080000] Initializing cgroup subsys freezer
[    0.080000] Initializing cgroup subsys net_cls
[    0.080000] Initializing cgroup subsys blkio
[    0.080000] Initializing cgroup subsys perf_event
[    0.080000] Initializing cgroup subsys net_prio
[    0.080000] CPU: Testing write buffer coherency: ok
[    0.090000] Setting up static identity map for 0x406ae460 - 0x406ae4dc
[    0.110000] devtmpfs: initialized
[    0.130000] xor: measuring software checksum speed
[    0.230000]    arm4regs  :   335.200 MB/sec
[    0.330000]    8regs     :   300.400 MB/sec
[    0.430000]    32regs    :   334.800 MB/sec
[    0.430000] xor: using function: arm4regs (335.200 MB/sec)
[    0.430000] pinctrl core: initialized pinctrl subsystem
[    0.440000] regulator-dummy: no parameters
[    0.480000] NET: Registered protocol family 16
[    0.480000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.500000] cpuidle: using governor ladder
[    0.500000] cpuidle: using governor menu
[    0.520000] gpiochip_add: registered GPIOs 0 to 31 on device: 80018000.pinctrl:gpio@0
[    0.530000] gpiochip_add: registered GPIOs 32 to 63 on device: 80018000.pinctrl:gpio@1
[    0.540000] gpiochip_add: registered GPIOs 64 to 95 on device: 80018000.pinctrl:gpio@2
[    0.590000] Serial: AMBA PL011 UART driver
[    0.590000] 80070000.serial: ttyAMA0 at MMIO 0x80070000 (irq = 17, base_baud = 0) is a PL011 rev2
[    0.590000] console [ttyAMA0] enabled
[    0.900000] raid6: int32x1     16 MB/s
[    1.070000] raid6: int32x2     26 MB/s
[    1.240000] raid6: int32x4     33 MB/s
[    1.410000] raid6: int32x8     40 MB/s
[    1.410000] raid6: using algorithm int32x8 (40 MB/s)
[    1.410000] raid6: using intx1 recovery algorithm
[    1.430000] mxs-dma 80004000.dma-apbh: initialized
[    1.450000] mxs-dma 80024000.dma-apbx: initialized
[    1.450000] of_get_named_gpiod_flags exited with status 0
[    1.450000] usb0_vbus: 5000 mV
[    1.460000] of_get_named_gpiod_flags: can't parse gpios property of node '/regulators/3p3v[0]'
[    1.460000] 3P3V: 3300 mV
[    1.460000] vgaarb: loaded
[    1.470000] SCSI subsystem initialized
[    1.470000] libata version 3.00 loaded.
[    1.470000] usbcore: registered new interface driver usbfs
[    1.470000] usbcore: registered new interface driver hub
[    1.470000] usbcore: registered new device driver usb
[    1.500000] pps_core: LinuxPPS API ver. 1 registered
[    1.500000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.500000] PTP clock support registered
[    1.500000] Advanced Linux Sound Architecture Driver Initialized.
[    1.510000] Switched to clocksource mxs_timer
[    2.120000] NET: Registered protocol family 2
[    2.130000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.130000] TCP bind hash table entries: 1024 (order: 3, 36864 bytes)
[    2.130000] TCP: Hash tables configured (established 1024 bind 1024)
[    2.130000] TCP: reno registered
[    2.130000] UDP hash table entries: 256 (order: 2, 20480 bytes)
[    2.130000] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[    2.140000] NET: Registered protocol family 1
[    2.150000] RPC: Registered named UNIX socket transport module.
[    2.150000] RPC: Registered udp transport module.
[    2.150000] RPC: Registered tcp transport module.
[    2.150000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.150000] PCI: CLS 0 bytes, default 32
[    2.170000] futex hash table entries: 256 (order: 1, 11264 bytes)
[    2.300000] VFS: Disk quotas dquot_6.5.2
[    2.300000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.340000] NFS: Registering the id_resolver key type
[    2.340000] Key type id_resolver registered
[    2.340000] Key type id_legacy registered
[    2.350000] fuse init (API version 7.23)
[    2.360000] NILFS version 2 loaded
[    2.370000] aufs 3.16-20140811
[    2.370000] msgmni has been set to 89
[    2.410000] Key type asymmetric registered
[    2.410000] Asymmetric key parser 'x509' registered
[    2.410000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.410000] io scheduler noop registered
[    2.410000] io scheduler deadline registered
[    2.420000] io scheduler cfq registered (default)
[    2.440000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    2.450000] of_dma_request_slave_channel: dma-names property of node '/apb@80000000/apbx@80040000/serial@80070000' missing or empty
[    2.460000] uart-pl011 80070000.serial: no DMA platform data
[    2.460000] 8006c000.serial: ttyAPP0 at MMIO 0x8006c000 (irq = 147, base_baud = 1500000) is a 8006c000.serial
[    2.470000] mxs-auart 8006c000.serial: Found APPUART 3.0.0
[    2.530000] loop: module loaded
[    2.530000] at24 0-0051: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
[    2.530000] Loading iSCSI transport class v2.0-870.
[    2.540000] iscsi: registered transport (tcp)
[    2.580000] usbcore: registered new interface driver ax88179_178a
[    2.580000] usbcore: registered new interface driver smsc95xx
[    2.580000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.580000] ehci-pci: EHCI PCI platform driver
[    2.580000] ehci-platform: EHCI generic platform driver
[    2.580000] ehci-orion: EHCI orion driver
[    2.580000] usbcore: registered new interface driver usb-storage
[    2.600000] ci_hdrc ci_hdrc.0: doesn't support gadget
[    2.600000] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    2.600000] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    2.620000] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    2.640000] hub 1-0:1.0: USB hub found
[    2.640000] hub 1-0:1.0: 1 port detected
[    2.660000] mousedev: PS/2 mouse device common for all mice
[    2.670000] stmp3xxx-rtc 8005c000.rtc: rtc core: registered 8005c000.rtc as rtc0
[    2.670000] i2c /dev entries driver
[    2.690000] stmp3xxx_rtc_wdt stmp3xxx_rtc_wdt: initialized watchdog with heartbeat 19s
[    2.690000] 80010000.ssp supply vmmc not found, using dummy regulator
[    2.690000] of_get_named_gpiod_flags: can't parse gpios property of node '/apb@80000000/apbh@80000000/ssp@80010000[0]'
[    2.690000] of_get_named_gpiod_flags: can't parse gpios property of node '/apb@80000000/apbh@80000000/ssp@80010000[0]'
[    2.740000] mxs-mmc 80010000.ssp: initialized
[    2.750000] of_get_named_gpiod_flags exited with status 0
[    2.750000] of_get_named_gpiod_flags exited with status 0
[    2.760000] ledtrig-cpu: registered to indicate activity on CPUs
[    2.770000] hidraw: raw HID events driver (C) Jiri Kosina
[    2.780000] usbcore: registered new interface driver usbhid
[    2.780000] usbhid: USB HID core driver
[    2.820000] sgtl5000 0-000a: Failed to get mclock: -2
[    2.830000] i2c 0-000a: Driver sgtl5000 requests probe deferral
[    2.830000] mxs-sgtl5000 sound: failed to get mclk
[    2.840000] mmc0: host does not support reading read-only switch. assuming write-enable.
[    2.840000] mxs-sgtl5000: probe of sound failed with error -22
[    2.840000] mmc0: new high speed SDHC card at address aaaa
[    2.860000] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    2.890000] mxs-builtin-audio mxs-builtin-audio: mxs-builtin-codec-dai <-> 80048000.mxs-builtin-cpu-dai mapping ok
[    2.910000]  mmcblk0: p1 p2 p3
[    2.940000] TCP: cubic registered
[    2.940000] Initializing XFRM netlink socket
[    2.950000] NET: Registered protocol family 10
[    2.970000] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.970000] NET: Registered protocol family 17
[    2.970000] NET: Registered protocol family 15
[    2.970000] Key type dns_resolver registered
[    2.980000] registered taskstats version 1
[    3.020000] Btrfs loaded
[    3.030000] sgtl5000 0-000a: Failed to get mclock: -2
[    3.040000] i2c 0-000a: Driver sgtl5000 requests probe deferral
[    3.040000] console [netcon0] enabled
[    3.040000] netconsole: network logging started
[    3.040000] stmp3xxx-rtc 8005c000.rtc: setting system clock to 1970-01-01 00:41:00 UTC (2460)
[    3.080000] ALSA device list:
[    3.080000]   #0: mxs-builtin-audio
[    3.140000] hub 1-1:1.0: USB hub found
[    3.140000] hub 1-1:1.0: 3 ports detected
[    3.160000] sgtl5000 0-000a: Failed to get mclock: -2
[    3.160000] i2c 0-000a: Driver sgtl5000 requests probe deferral
[    3.190000] sgtl5000 0-000a: Failed to get mclock: -2
[    3.200000] i2c 0-000a: Driver sgtl5000 requests probe deferral
[    3.430000] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
[    3.470000] EXT4-fs (mmcblk0p2): recovery complete
[    3.470000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.470000] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.500000] devtmpfs: mounted
[    3.510000] Freeing unused kernel memory: 292K (c096f000 - c09b8000)
[    3.550000] smsc95xx v1.0.4
[    3.740000] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-ci_hdrc.0-1.1, smsc95xx USB 2.0 Ethernet, ce:d9:27:2a:63:b8
[    3.750000] sgtl5000 0-000a: Failed to get mclock: -2
[    3.750000] i2c 0-000a: Driver sgtl5000 requests probe deferral
[    3.760000] sgtl5000 0-000a: Failed to get mclock: -2
[    3.780000] i2c 0-000a: Driver sgtl5000 requests probe deferral
[    4.360000] random: systemd urandom read with 38 bits of entropy available
[   13.070000] random: nonblocking pool is initialized
[   14.150000] systemd-udevd[105]: starting version 216
[   14.720000] systemd-journald[94]: Received request to flush runtime journal from PID 1
[   23.310000] Unable to handle kernel NULL pointer dereference at virtual address 00000088
[   23.310000] pgd = c2e70000
[   23.420000] [00000088] *pgd=42d5a831, *pte=00000000, *ppte=00000000
[   23.420000] Internal error: Oops: 17 [#1] PREEMPT ARM
[   23.420000] Modules linked in:
[   23.420000] CPU: 0 PID: 125 Comm: alsactl Not tainted 3.16.1-1-ARCH #1
[   23.420000] task: c36c60c0 ti: c2e54000 task.ti: c2e54000
[   23.420000] PC is at dac_put_volsw+0x18/0x48
[   23.420000] LR is at snd_ctl_ioctl+0x704/0xb14
[   23.420000] pc : [<c058d948>]    lr : [<c05693bc>]    psr: 60000013
sp : c2e55eb0  ip : c2c5bc30  fp : 00000001
[   23.420000] r10: c376be80  r9 : c2c98280  r8 : c375617c
[   23.420000] r7 : c37564c0  r6 : c3756000  r5 : c2c5bc00  r4 : 0002fee0
[   23.420000] r3 : 00000000  r2 : c073a678  r1 : 0000000c  r0 : 000000e6
[   23.420000] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   23.420000] Control: 0005317f  Table: 42e70000  DAC: 00000015
[   23.420000] Process alsactl (pid: 125, stack limit = 0xc2e541c0)
[   23.420000] Stack: (0xc2e55eb0 to 0xc2e56000)
[   23.420000] 5ea0:                                     0000001f 00000000 00000005 00000000
[   23.420000] 5ec0: 00000003 c09cbaf8 00000004 c006e1cc 00000000 00000005 c09cba18 fffffff9
[   23.420000] 5ee0: c09cba18 c003cb0c 00000002 00000005 c09c8554 b6e4279c c2e55fb0 40268000
[   23.420000] 5f00: 00000000 c2d64b40 c2d64b40 00000004 c2c85513 00000004 c2e54000 0002fee0
[   23.420000] 5f20: c37b6060 c010a9fc 00000010 c3405c5c c005d4c0 00000001 c2e55fb0 00000000
[   23.420000] 5f40: 00026038 00000000 c36c60c0 c3405c00 c3405c5c 00000001 c2e55fb0 00000000
[   23.420000] 5f60: 00026038 00000000 c36c60c0 c2d64b40 c2d64b40 0002fee0 c2c85513 00000004
[   23.420000] 5f80: c2e54000 00000000 40268000 c010ab00 bea0fffc 00026038 00000002 00000036
[   23.420000] 5fa0: c0009704 c0009540 bea0fffc 00026038 00000004 c2c85513 0002fee0 00026488
[   23.420000] 5fc0: bea0fffc 00026038 00000002 00000036 00000001 00000000 00000000 40268000
[   23.420000] 5fe0: b6f5242c bea0f8f4 b6eb7f48 b6d4d31c 20000010 00000004 00000000 00000000
[   23.420000] [<c058d948>] (dac_put_volsw) from [<c05693bc>] (snd_ctl_ioctl+0x704/0xb14)
[   23.420000] [<c05693bc>] (snd_ctl_ioctl) from [<c010a9fc>] (do_vfs_ioctl+0x4fc/0x5cc)
[   23.420000] [<c010a9fc>] (do_vfs_ioctl) from [<c010ab00>] (SyS_ioctl+0x34/0x5c)
[   23.420000] [<c010ab00>] (SyS_ioctl) from [<c0009540>] (ret_fast_syscall+0x0/0x44)
[   23.420000] Code: e5910048 e593300c e591104c e7d20000 (e5933088)
[   24.820000] ---[ end trace 48540eb6a3bd5724 ]---
[   26.860000] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   26.870000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
cbrues
 
Posts: 5
Joined: Sat Feb 11, 2012 5:34 am

Return to Freescale i.MX233

Who is online

Users browsing this forum: No registered users and 1 guest