hi
currently re-installing my Volumio / pi 2 b rev 1.1 / HifiBerry Dac - after total sd card failure.
last time around i had no probems with this setup - but now iam struggling with the hifiberry dac card after adding the ATXRaspi power switch to GPIO7 (26) / 8 (24) via the hifiberry dac card. Or is it just me starring myself blind on this issue - trying to post as much info as possible, to make sense.
oyeah…one more thing - the only micro sd card i had laying around was a 2Gb from an old phone. Maybe its a bad img write ?
Linux volumio 4.1.15-v7+ #830 SMP Tue Dec 15 17:02:45 GMT 2015 armv7l GNU/Linux
This is from aplay:
-------------------------->
volumio@volumio:~$ aplay -l
aplay: device_list:268: no soundcards found...
this is from the HifiBerry system check:
-------------------------------------------------------->
volumio@volumio:/tmp$ ./check-system
Checking system
Linux volumio 4.1.15-v7+ #830 SMP Tue Dec 15 17:02:45 GMT 2015 armv7l GNU/Linux
Kernel: 4.1.15-v7+
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Checking drivers
snd_soc_bcm2708_i2s missing in /etc/modules
snd_soc_bcm2708_i2s loaded
bcm2708_dmaengine enbaled in /etc/modules
bcm2708_dmaengine module not loaded
snd_soc_wm8804 missing in /etc/modules
snd_soc_wm8804 module not loaded
snd_soc_hifiberry_digi missing in /etc/modules
snd_soc_hifiberry_digi module not loaded
module file /lib/modules/4.1.15-v7+/kernel/drivers/dma/bcm2708-dmaengine.ko not found
Sound cards
aplay: device_list:268: no soundcards found...
--2015-12-23 22:55:55-- http://www.hifiberry.com/files/sin1000_48khz.wav
Resolving http://www.hifiberry.com (http://www.hifiberry.com)... 176.28.50.33
Connecting to http://www.hifiberry.com (http://www.hifiberry.com)|176.28.50.33|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5760044 (5.5M) [audio/x-wav]
Saving to: `sin1000_48khz.wav'
100%[=========================================================>] 5,760,044 2.92M/s in 1.9s
2015-12-23 22:55:57 (2.92 MB/s) - `sin1000_48khz.wav' saved [5760044/5760044]
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such f ile or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file o r directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:722: audio open error: No such file or directory
dmesg:
---------------------------------------!
volumio@volumio:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.15-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #830 SMP Tue Dec 15 17:02:45 GMT 2015
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi 2 Model B Rev 1.1
[ 0.000000] cma: Reserved 8 MiB at 0x3d800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 253952
[ 0.000000] free_area_init_node: node 0, pgdat 8085cec0, node_mem_map bcf3a000
[ 0.000000] Normal zone: 2232 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 253952 pages, LIFO batch:31
[ 0.000000] [bcm2709_smp_init_cpus] enter (9420->f3003010)
[ 0.000000] [bcm2709_smp_init_cpus] ncores=4
[ 0.000000] PERCPU: Embedded 12 pages/cpu @bcefc000 s20416 r8192 d20544 u49152
[ 0.000000] pcpu-alloc: s20416 r8192 d20544 u49152 alloc=12*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 251720
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa01041 bcm2709.serial=0x4edd51ed smsc95xx.macaddr=B8:27:EB:DD:51:ED bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3ea00000 vc_mem.mem_size=0x3f000000 force_turbo=1 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 elevator=noop rootfstype=ext4 rootwait smsc95xx.turbo_mode=N
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 988240K/1015808K available (5935K kernel code, 534K rwdata, 1652K rodata, 440K init, 757K bss, 19376K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xbe800000 - 0xff000000 (1032 MB)
[ 0.000000] lowmem : 0x80000000 - 0xbe000000 ( 992 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x80771090 (7589 kB)
[ 0.000000] .init : 0x80772000 - 0x807e0000 ( 440 kB)
[ 0.000000] .data : 0x807e0000 - 0x80865a28 ( 535 kB)
[ 0.000000] .bss : 0x80868000 - 0x8092575c ( 758 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:608
[ 0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000011] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000033] Switching to timer-based delay loop, resolution 52ns
[ 0.000313] Console: colour dummy device 80x30
[ 0.001545] console [tty1] enabled
[ 0.001603] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001679] pid_max: default: 32768 minimum: 301
[ 0.002038] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002091] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003375] Initializing cgroup subsys blkio
[ 0.003447] Initializing cgroup subsys memory
[ 0.003505] Initializing cgroup subsys devices
[ 0.003558] Initializing cgroup subsys freezer
[ 0.003621] Initializing cgroup subsys net_cls
[ 0.003719] CPU: Testing write buffer coherency: ok
[ 0.003828] ftrace: allocating 20250 entries in 60 pages
[ 0.053962] CPU0: update cpu_capacity 1024
[ 0.054040] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.054079] [bcm2709_smp_prepare_cpus] enter
[ 0.054234] Setting up static identity map for 0x8240 - 0x8274
[ 0.056778] [bcm2709_boot_secondary] cpu:1 started (0) 17
[ 0.057217] [bcm2709_secondary_init] enter cpu:1
[ 0.057273] CPU1: update cpu_capacity 1024
[ 0.057282] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.057860] [bcm2709_boot_secondary] cpu:2 started (0) 17
[ 0.058223] [bcm2709_secondary_init] enter cpu:2
[ 0.058254] CPU2: update cpu_capacity 1024
[ 0.058263] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.058804] [bcm2709_boot_secondary] cpu:3 started (0) 18
[ 0.059061] [bcm2709_secondary_init] enter cpu:3
[ 0.059090] CPU3: update cpu_capacity 1024
[ 0.059098] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[ 0.059188] Brought up 4 CPUs
[ 0.059300] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.059333] CPU: All CPU(s) started in HYP mode.
[ 0.059362] CPU: Virtualization extensions available.
[ 0.060346] devtmpfs: initialized
[ 0.084603] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.084973] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.086131] pinctrl core: initialized pinctrl subsystem
[ 0.086961] NET: Registered protocol family 16
[ 0.092721] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.094059] bcm2709.uart_clock = 3000000
[ 0.099754] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.099813] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.100042] Serial: AMBA PL011 UART driver
[ 0.100267] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2
[ 0.608400] console [ttyAMA0] enabled
[ 0.612654] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.689286] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0xf35
[ 0.698021] bcm2708-dmaengine 3f007000.dma: Initialized 7 DMA channels (+ 1 legacy)
[ 0.706436] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver
[ 0.713353] bcm2708-dmaengine 3f007000.dma: dma_debug:0
[ 0.719337] SCSI subsystem initialized
[ 0.723379] usbcore: registered new interface driver usbfs
[ 0.728985] usbcore: registered new interface driver hub
[ 0.734467] usbcore: registered new device driver usb
[ 0.740245] raspberrypi-firmware soc:firmware: Attached to firmware from 2015-12-08 14:40
[ 0.775822] Switched to clocksource arch_sys_counter
[ 0.828001] FS-Cache: Loaded
[ 0.831289] CacheFiles: Loaded
[ 0.845584] NET: Registered protocol family 2
[ 0.851273] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.858524] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.865176] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.871709] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.877731] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.884576] NET: Registered protocol family 1
[ 0.889411] RPC: Registered named UNIX socket transport module.
[ 0.895352] RPC: Registered udp transport module.
[ 0.900102] RPC: Registered tcp transport module.
[ 0.904820] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.912541] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.922179] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.944677] VFS: Disk quotas dquot_6.6.0
[ 0.949053] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.958549] FS-Cache: Netfs 'nfs' registered for caching
[ 0.965033] NFS: Registering the id_resolver key type
[ 0.970203] Key type id_resolver registered
[ 0.974406] Key type id_legacy registered
[ 0.981192] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.988852] io scheduler noop registered (default)
[ 0.993670] io scheduler deadline registered
[ 0.998311] io scheduler cfq registered
[ 1.004662] BCM2708FB: allocated DMA memory fdc00000
[ 1.009756] BCM2708FB: allocated DMA channel 0 @ f3007000
[ 1.020734] Console: switching to colour frame buffer device 82x26
[ 1.032167] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[ 1.040819] KGDB: Registered I/O driver kgdboc
[ 1.076575] vc-cma: Videocore CMA driver
[ 1.082167] vc-cma: vc_cma_base = 0x00000000
[ 1.088516] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.095461] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.102586] vc-mem: phys_addr:0x00000000 mem_base=0x3ea00000 mem_size:0x3f000000(1008 MiB)
[ 1.129483] brd: module loaded
[ 1.142849] loop: module loaded
[ 1.148535] vchiq: vchiq_init_state: slot_zero = 0xbdc80000, is_master = 0
[ 1.158722] Loading iSCSI transport class v2.0-870.
[ 1.166098] usbcore: registered new interface driver smsc95xx
[ 1.173416] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.381041] Core Release: 2.80a
[ 1.385635] Setting default values for core params
[ 1.391959] Finished setting default values for core params
[ 1.599471] Using Buffer DMA mode
[ 1.604279] Periodic Transfer Interrupt Enhancement - disabled
[ 1.611695] Multiprocessor Interrupt Enhancement - disabled
[ 1.618838] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.624722] Dedicated Tx FIFOs mode
[ 1.630058] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbdc14000 dma = 0xfdc14000 len=9024
[ 1.643103] FIQ FSM acceleration enabled for :
[ 1.643103] Non-periodic Split Transactions
[ 1.643103] Periodic Split Transactions
[ 1.643103] High-Speed Isochronous Endpoints
[ 1.666256] dwc_otg: Microframe scheduler enabled
[ 1.666327] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803fbc80
[ 1.673867] WARN::hcd_init_fiq:413: FIQ ASM at 0x803fbfdc length 36
[ 1.681765] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbe89a000
[ 1.689418] dwc_otg 3f980000.usb: DWC OTG Controller
[ 1.696005] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 1.704936] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
[ 1.712132] Init: Port Power? op_state=1
[ 1.717610] Init: Power Port (0)
[ 1.722633] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.731030] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.739841] usb usb1: Product: DWC OTG Controller
[ 1.746103] usb usb1: Manufacturer: Linux 4.1.15-v7+ dwc_otg_hcd
[ 1.753651] usb usb1: SerialNumber: 3f980000.usb
[ 1.760635] hub 1-0:1.0: USB hub found
[ 1.765992] hub 1-0:1.0: 1 port detected
[ 1.771843] dwc_otg: FIQ enabled
[ 1.771856] dwc_otg: NAK holdoff enabled
[ 1.771866] dwc_otg: FIQ split-transaction FSM enabled
[ 1.771904] Module dwc_common_port init
[ 1.772294] usbcore: registered new interface driver usb-storage
[ 1.780053] mousedev: PS/2 mouse device common for all mice
[ 1.787987] bcm2835-cpufreq: min=600000 max=900000
[ 1.794617] sdhci: Secure Digital Host Controller Interface driver
[ 1.802337] sdhci: Copyright(c) Pierre Ossman
[ 1.885866] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.893308] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.921366] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.929220] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.936578] usbcore: registered new interface driver usbhid
[ 1.943722] usbhid: USB HID core driver
[ 1.949494] Initializing XFRM netlink socket
[ 1.953709] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.955872] mmc0: new high speed SD card at address b368
[ 1.956475] mmcblk0: mmc0:b368 2GU2M 1.87 GiB
[ 1.958399] mmcblk0: p1 p3
[ 1.975993] Indeed it is in host mode hprt0 = 00021501
[ 1.990719] NET: Registered protocol family 17
[ 1.996984] Key type dns_resolver registered
[ 2.003420] Registering SWP/SWPB emulation handler
[ 2.010811] registered taskstats version 1
[ 2.016864] vc-sm: Videocore shared memory driver
[ 2.023171] [vc_sm_connected_init]: start
[ 2.029131] vc_vchi_sm_init: failed to open VCHI service (-1)
[ 2.034808] [vc_sm_connected_init]: failed to initialize shared memory service
[ 2.045415] [vc_sm_connected_init]: end - returning -1
[ 2.073556] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 2.085024] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[ 2.108495] devtmpfs: mounted
[ 2.113932] Freeing unused kernel memory: 440K (80772000 - 807e0000)
[ 2.155890] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.164321] Indeed it is in host mode hprt0 = 00001101
[ 2.366256] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.374777] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.384635] hub 1-1:1.0: USB hub found
[ 2.390287] hub 1-1:1.0: 5 ports detected
[ 2.675893] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.796509] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.805411] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.818142] smsc95xx v1.0.4
[ 2.881677] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:dd:51:ed
[ 3.473308] udevd[176]: starting version 175
[ 3.996059] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 4.213339] snd-hifiberry-amp sound: ASoC: CPU DAI (null) not registered
[ 4.222093] snd-hifiberry-amp sound: snd_soc_register_card() failed: -517
[ 4.231827] snd-hifiberry-amp sound: ASoC: CODEC DAI tas5713-hifi not registered
[ 4.243063] snd-hifiberry-amp sound: snd_soc_register_card() failed: -517
[ 5.913753] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 6.320824] EXT4-fs (mmcblk0p3): Mount option "nouser_xattr" will be removed by 3.5
[ 6.320824] Contact linux-ext4@vger.kernel.org if you think we should keep it.
[ 6.320824]
[ 6.518906] EXT4-fs (mmcblk0p3): re-mounted. Opts: nouser_xattr,errors=remount-ro
[ 9.226202] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 10.234884] random: dd urandom read with 78 bits of entropy available
[ 10.753743] NET: Registered protocol family 10
[ 11.138845] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 11.148367] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 13.071105] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 13.079583] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
[ 16.346243] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 19.214129] random: nonblocking pool is initialized
[ 302.756074] EXT4-fs (mmcblk0p3): error count since last fsck: 3
[ 302.773927] EXT4-fs (mmcblk0p3): initial error at time 1396987247: mb_free_blocks:1426: block 309248
[ 302.808312] EXT4-fs (mmcblk0p3): last error at time 1396987322: ext4_remount:4680