XMOS stopped working after 5 days

A strange one this. After 5 days of use on volumio my xmos usb 2.0 stopped outputting audio. No settings changed etc.
This happened on the 20th Dec if that helps, not sure if volumio is self upgrading or not?
DAC verified working after plugging into Windows laptop. DAC has its own PSU. RPI is on Ethernet. Both webradio and NAS looks like it’s playing with song and time elapsed etc.
Can SSh into no problems with dmesg not showing any errors.
Formatted the SD and reloaded volumio again but still the same.
Reloaded Raspyfi and the DAC works no problem now on the RPI!
Going to reload volumio again just to verify might try to not give it a gateway just incase it’s updating somehow.

What is the output from “amixer”?

Yep, check that it is not muted… Did you change PSU? Or PSU WIRE?

Well, reloaded volumio on again and it worked.
Though a day later and after a reboot because I couldn’t access the web gui, it’s gone back to the original fault.
I’ve tried amixer in SSh, and it just hangs.
Dmesg output:Linux volumio 3.8.10+ #1 PREEMPT Mon Oct 21 10:36:33 CEST 2013 armv6l
___
/_ \ __
__ __ //\ \ __ __ ___ ___ /_\ ___
/\ /\ \ / __\\ \ \ /\ \/\ \ /' __ __\/\ \ / __
\ \ _/ |/\ \L\ \
\ _\ \ _\ /\ /\ /\ \ \ /\ \L\
\ _
/ \ _//_\ _/\ _\ _\ _\ _\ _/
// // // // /////////___/

         Free Audiophile Linux Music Player - Version Beta1

             C 2013 Michelangelo Guarise - Volumio.org

Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Mon Dec 23 17:15:18 2013 from 192.168.0.11
pi@volumio:~$ dmesg
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Linux version 3.8.10+ (root@parallels-Parallels-Virtual-Platform) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 PREEMPT Mon Oct 21 10:36:33 CEST 2013
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: BCM2708
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 61440
free_area_init_node: node 0, pgdat c0475538, node_mem_map c04c4000
Normal zone: 480 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 60960 pages, LIFO batch:15
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 60960
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x3 bcm2708.serial=0x4e3fae00 smsc95xx.macaddr=B8:27:EB:3F:AE:00 sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0xfa00000 vc_mem.mem_size=0x10000000 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
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
__ex_table already sorted, skipping sort
Memory: 240MB = 240MB total
Memory: 238708k/238708k available, 7052k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xcf800000 - 0xff000000 ( 760 MB)
lowmem : 0xc0000000 - 0xcf000000 ( 240 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0422f1c (4204 kB)
.init : 0xc0423000 - 0xc0444418 ( 134 kB)
.data : 0xc0446000 - 0xc0475ca0 ( 192 kB)
.bss : 0xc0475ca0 - 0xc04c3830 ( 311 kB)
NR_IRQS:330
sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
Switching to timer-based delay loop
Console: colour dummy device 80x30
console [tty1] enabled
Calibrating delay loop (skipped), value calculated using timer frequency… 2.00 BogoMIPS (lpj=10000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x39e708 - 0x39e764
devtmpfs: initialized
NET: Registered protocol family 16
DMA: preallocated 4096 KiB pool for atomic coherent allocations
bcm2708.uart_clock = 0
mailbox: Broadcom VideoCore Mailbox driver
bcm2708_vcio: mailbox at f200b880
bcm_power: Broadcom power driver
bcm_power_open() -> 0
bcm_power_request(0, 8)
bcm_mailbox_read -> 00000080, 0
bcm_power_request -> 0
Serial: AMBA PL011 UART driver
dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
console [ttyAMA0] enabled
bio: create slab at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource stc
FS-Cache: Loaded
CacheFiles: Loaded
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
bcm2708_dma: DMA manager at f2007000
bcm2708_gpio: bcm2708_gpio_probe c0451f00
vc-mem: phys_addr:0x00000000 mem_base=0x0fa00000 mem_size:0x10000000(256 MiB)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
FS-Cache: Netfs ‘nfs’ registered for caching
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
msgmni has been set to 466
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 82x26
uart-pl011 dev:f1: no DMA platform data
brd: module loaded
loop: module loaded
vchiq: vchiq_init_state: slot_zero = 0xcf804000, is_master = 0
usbcore: registered new interface driver smsc95xx
usbcore: registered new interface driver cdc_ncm
dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
Core Release: 2.80a
Setting default values for core params
Finished setting default values for core params
Using Buffer DMA mode
Periodic Transfer Interrupt Enhancement - disabled
Multiprocessor Interrupt Enhancement - disabled
OTG VER PARAM: 0, OTG VER FLAG: 0
Dedicated Tx FIFOs mode
dwc_otg: Microframe scheduler enabled
dwc_otg bcm2708_usb: DWC OTG Controller
dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
Init: Port Power? op_state=1
Init: Power Port (0)
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 3.8.10+ dwc_otg_hcd
usb usb1: SerialNumber: bcm2708_usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
dwc_otg: FIQ enabled
dwc_otg: NAK holdoff enabled
Module dwc_common_port init
Initializing USB Mass Storage driver…
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
bcm2835-cpufreq: min=700000 max=700000 cur=700000
bcm2835-cpufreq: switching to governor ondemand
bcm2835-cpufreq: switching to governor ondemand
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright© Pierre Ossman
sdhci: Enable low-latency mode
mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform’s DMA
mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
sdhci-pltfm: SDHCI platform and OF driver helper
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
zram: num_devices not specified. Using default: 1
zram: Creating 1 devices …
TCP: westwood registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Key type dns_resolver registered
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
Waiting for root device /dev/mmcblk0p3…
Indeed it is in host mode hprt0 = 00021501
mmc0: read SD Status register (SSR) after 2 attempts
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA08G 7.42 GiB
mmcblk0: p1 p3
usb 1-1: new high-speed USB device number 2 using dwc_otg
Indeed it is in host mode hprt0 = 00001101
usb 1-1: New USB device found, idVendor=0424, idProduct=9512
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 3 ports detected
usb 1-1.1: new high-speed USB device number 3 using dwc_otg
usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
smsc95xx v1.0.4
smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:3f:ae:00
usb 1-1.2: new high-speed USB device number 4 using dwc_otg
usb 1-1.2: New USB device found, idVendor=20b1, idProduct=0002
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: XMOS USB Audio 2.0
usb 1-1.2: Manufacturer: XMOS
usb 1-1.2: SerialNumber: 0000
usb 1-1.3: new high-speed USB device number 5 using dwc_otg
usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0660
usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1.3: Product: USB2.0 Hub
hub 1-1.3:1.0: USB hub found
hub 1-1.3:1.0: 4 ports detected
usb 1-1.3.3: new high-speed USB device number 6 using dwc_otg
usb 1-1.3.3: New USB device found, idVendor=7392, idProduct=7811
usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3.3: Product: 802.11n WLAN Adapter
usb 1-1.3.3: Manufacturer: Realtek
usb 1-1.3.3: SerialNumber: 00e04c000001
EXT4-fs (mmcblk0p3): recovery complete
EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:3.
devtmpfs: mounted
Freeing init memory: 132K
udevd[154]: starting version 175
bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100k)
bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100k)
cannot get ctl value: req = 0x83, wValue = 0x201, wIndex = 0x0, type = 4
usbcore: registered new interface driver rtl8192cu
cannot get ctl value: req = 0x83, wValue = 0x200, wIndex = 0x0, type = 4
usbcore: registered new interface driver snd-usb-audio
EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
EXT4-fs (mmcblk0p3): Mount option “nouser_xattr” will be removed by 3.5
Contact linux-ext4@vger.kernel.org if you think we should keep it.

EXT4-fs (mmcblk0p3): re-mounted. Opts: nouser_xattr,errors=remount-ro
NET: Registered protocol family 10
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Installing knfsd (copyright © 1996 okir@monad.swb.de).
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = cd260000
[00000000] *pgd=0d23a831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] PREEMPT ARM
Modules linked in: nfsd exportfs ipv6 snd_bcm2835 snd_soc_tlv320aic23 snd_soc_wm8731 snd_soc_bcm2708 snd_usb_audio snd_soc_core regmap_spi regmap_i2c snd_hwdep snd_usbmidi_lib snd_compress snd_pcm snd_timer snd_rawmidi 8192cu snd spi_bcm2708 i2c_bcm2708 i2c_core snd_page_alloc
CPU: 0 Not tainted (3.8.10+ #1)
pc : [] lr : [<00000000>] psr: 20000013
sp : cd32dd30 ip : 00000000 fp : cd32dd64
r10: 0000296c r9 : cea10300 r8 : cea106c0
r7 : c80c82a0 r6 : 00000001 r5 : 0000298c r4 : c80c8000
r3 : cd0aed40 r2 : 00000001 r1 : c80ca95c r0 : 00000000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 00c5387d Table: 0d260008 DAC: 00000015
Process mpd (pid: 2346, stack limit = 0xcd32c1b0)
Stack: (0xcd32dd30 to 0xcd32e000)
dd20: 00000100 c80ca95c cd32dd58 ceac0010
dd40: c80c8000 00000001 c8018000 0000000c cd32c000 00000000 cd32dd8c cd32dd68
dd60: bf0da7b0 bf0d4184 cd296000 cd0aed40 00000000 ceac0010 cd296000 00000000
dd80: cd32ddf4 cd32dd90 bf0dc10c bf0da700 0000ac44 cd32dda0 bf09c7f0 c01e2364
dda0: 00000000 00000004 00000000 00015895 00000000 00000000 00000000 00000000
ddc0: 00000000 00000000 00000000 cd15ba00 cd15ba00 00000002 00000000 0000000c
dde0: cd32c000 00000000 cd32de0c cd32ddf8 bf09e048 bf0dbfc4 bf09e02c bf0a6e78
de00: cd32de2c cd32de10 bf09d8d4 bf09e038 cd15ba00 00000002 bf0a6e78 00000002
de20: cd32de4c cd32de30 bf09dd08 bf09d8a0 00000000 00000000 cd15ba00 ceac03d8
de40: cd32de9c cd32de50 bf09f0b4 bf09dcb8 00000001 00000003 b3022d04 b3022d04
de60: 400c4150 00000000 cd32c000 00000000 cd32de9c cd15ba00 b5d4a000 b5d4a000
de80: 00004140 0000000c cd32c000 00000000 cd32dedc cd32dea0 bf09ff28 bf09e868
dea0: cd32df44 cd32deb0 c0052ce8 00000000 004a1800 00000400 cd23f408 cd23f408
dec0: cd1c76a0 b5d4a000 00004140 0000000c cd32deec cd32dee0 bf0a037c bf09fef4
dee0: cd32df74 cd32def0 c00a8b48 bf0a0354 cd32df34 cd32df00 c005e90c c0060584
df00: 00000020 00000000 cd32df9c c0457f00 cd32df2c cd32df20 c00608ec 00000001
df20: 00000081 00000000 00000001 c000e424 cd32c000 00000000 cd32dfa4 cd32df48
df40: 00000001 00000000 cd32df74 cd32df58 00000001 cd1c76a0 b5d4a000 00004140
df60: 0000000c cd32c000 cd32dfa4 cd32df78 c00a9108 c00a8acc c000eb70 00000001
df80: 00000000 0006dee0 004c85d0 000665a8 00000036 c000e424 00000000 cd32dfa8
dfa0: c000e2a0 c00a90d0 0006dee0 004c85d0 0000000c 00004140 b5d4a000 b5cdc0fc
dfc0: 0006dee0 004c85d0 000665a8 00000036 00000000 ffffffe0 b3022d78 b3022f7c
dfe0: 004327b0 b3022d10 b5cdc118 b572cdfc 20000010 0000000c 00000000 00000000
Backtrace:
Function entered at [] from []
Function entered at [] from []
r6:00000000 r5:cd296000 r4:ceac0010
Function entered at [] from []
Function entered at [] from []
r4:bf0a6e78 r3:bf09e02c
Function entered at [] from []
r7:00000002 r6:bf0a6e78 r5:00000002 r4:cd15ba00
Function entered at [] from []
r6:ceac03d8 r5:cd15ba00 r4:00000000 r3:00000000
Function entered at [] from []
Function entered at [] from []
r8:0000000c r7:00004140 r6:b5d4a000 r5:cd1c76a0 r4:cd23f408
Function entered at [] from []
Function entered at [] from []
r9:cd32c000 r8:0000000c r7:00004140 r6:b5d4a000 r5:cd1c76a0
r4:00000001
Function entered at [] from []
r8:c000e424 r7:00000036 r6:000665a8 r5:004c85d0 r4:0006dee0
Code: e3130080 0a000034 e598e074 e5943000 (e59e9000)
—[ end trace 508057447cbd761e ]—
pi@volumio:~$

After a couple of reboots, amixer is outputting:pi@volumio:~$ amixer
Simple mixer control ‘XMOS Clock Selector’,0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [0.00dB] [off]
Front Right: Playback 127 [100%] [0.00dB] [off]
Simple mixer control ‘XMOS Clock Selector’,1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [off]
pi@volumio:~$
So the output is muted?

Ok another reboot and then typed amixer and it outputted:Simple mixer control ‘XMOS Clock Selector’,0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 99 [78%] [-28.00dB] [off]
Front Right: Playback 99 [78%] [-28.00dB] [off]
Simple mixer control ‘XMOS Clock Selector’,1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [off]

Then started a song:
pi@volumio:~$ amixer
Simple mixer control ‘XMOS Clock Selector’,0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [0.00dB] [off]
Front Right: Playback 127 [100%] [0.00dB] [off]
Simple mixer control ‘XMOS Clock Selector’,1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [off]
pi@volumio:~$

Another reload of the SD card.
Removed the Edimax nano WiFi and the powered usb 2.0 hub.
Everything working great at the moment.

So definetely a power\interference problem… Just keep the XMOS connected directly to the pi…

Yes it looks like it. Reverted to an old buffalo dd-wrt router in bridge mode for networking.
Using your latest beta too.
With the xmos directly connected to the pi I can play 24/96 flac @ 2000kbps for days now.
Well done!!