RaspyFi - Topic: Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/ Simple:Press Version 5.2.6 ktdaddy on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1470 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1470 Dear 2mvent,

After I replaced the firmware, It works without certain DMA errors !!

Many thanks to your advice.

So far (over 24 hrs) it works fine and let me try several test and another function.

Have a good time with good music.

See you around and cheers !

Regards,

Jack
Laugh

]]>
Mon, 14 Oct 2013 13:28:19 +0200
ktdaddy on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1449 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1449 Dear 2mvent,

I completed all update, install, replace firmware and now begin to test.

So far everything is fine (no errors) I hope it can work without problem and with stable.

Anyway Many thanks to you and let's wait better raspyfi (next version) This is really great job they did !!

Regards,

Jack
Laugh

]]>
Sat, 12 Oct 2013 09:51:37 +0200
ktdaddy on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1447 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1447 Oh I forgot "sudo apt-get update" before install git-core

Now it working to install, let feedback to you after replace firmware

Thanks !!

]]>
Sat, 12 Oct 2013 09:33:17 +0200
2mvent on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1446 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1446 Hi, Jack,
First:
sudo apt-get update
(don't upgrade)
After that you can install aditional programs.

Please inform us if you have simular results.

I'm sorry, I am not able to chat.
Best regards,
H

]]>
Sat, 12 Oct 2013 09:24:13 +0200
ktdaddy on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1444 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1444 Dear 2mvent,

First of all, Thank you for your help and effort !!!

I tried the update which you suggest BUT I could not install git-core.

When I tried "sudo apt-get install git-core" But I faced error what it said "no candidate..."

=========================================================================

2013-10-12 08:16:08 (4.16 MB/s) - `/usr/bin/rpi-update.tmp' saved [6782/6782]

*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS
!!! This tool requires you have Git installed, please install it first
In Debian, try: sudo apt-get install git-core
In Arch, try: pacman -S git
pi@Raspyfi:~$
pi@Raspyfi:~$ sudo apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package git-core is a virtual package provided by:
git 1:1.7.10.4-1+wheezy1+rpi2 [Not candidate version]

E: Package 'git-core' has no installation candidate

=======================================================================================

What a sad...

Is anybody can help me to install git-core and previous kernel...

Best Regards,

Jack

ps, Dear 2Mvent can you chat with me? (google hangout, jack.jmpark@gmail.com) OR Can you share your "working" image file ???

Confused

]]>
Sat, 12 Oct 2013 08:32:36 +0200
2mvent on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1443 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1443 Yes!
I am playing music for 17h now and no crash or other malfunction.
The error:
[ 1322.125193] ERROR: :handle_hc_chhltd_intr_dma:2537: handle_hc_chhltd_intr_dma: Channel 3, DMA Mode -- ChHltd set , but reason for halting is unknown, hcint 0x00000002, intsts 0x04600021
Does not occur when:
sudo rpi-update 5ea0f44b673eaa52c578fcd6480495f19cd53d97
Is done. ( it does need two other packages installed, but it conviently mentions that)

Jack, can you confirm?

This whole event does however makes clear that how Raspyfi is setup at this time is somewhat prone to any bugs in Rasbian.
If there is any, it will freeze together with Raspyfi, there is no upgrade possible in Raspyfi 1.0
I would suggest trying to build separate repositories for the adjusted software?
A bit like how Elementary OS has done things. http://elementaryos.org/
But.that would also mean huge workloads for the developers to build this.

Thanks everyone for bearing with me.

Best regards,
H

]]>
Sat, 12 Oct 2013 07:56:59 +0200
shifter2600 on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1436 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1436 FYI I found a issue that I though originally was a unrecoverable crash until I found it was actually music retained with in the last Playlist (which doesn't clear on reboot) the files it was trying to read were not available either because I updated the file location or changed the music on my USB drive to different songs or I wan't connected to my NAS becuase I took it on the road with me.
Any file it was trying to play/load that no longer existed hung the player.
No MPDroid or Web - interface.

What I did was connected to it via SSH from putty.
and started running a few MPC scripts
mpc help for a list of avail commands.
mpc clear
mpc stop
mpc

I found that it would time out so I ran
sudo /etc/init.d/mpd restart
then tried the scripts again.
Some how I got through and was able to clear the playlist which had the files that were no longer available.

If someone out there has a step by step on adding a mpc clear to the boot up so it is cleared every time I would like to implement that.

]]>
Fri, 11 Oct 2013 20:51:43 +0200
2mvent on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1433 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1433 Jack, you put me on to something.
If I connect a display to the Raspberry Pi, then wait till this crash occurs and then for a few minutes there is a error message before the screen goes blank:

[ 1322.125193] ERROR: :handle_hc_chhltd_intr_dma:2537: handle_hc_chhltd_intr_dma: Channel 3, DMA Mode -- ChHltd set , but reason for halting is unknown, hcint 0x00000002, intsts 0x04600021

So, that's similar to yours Jack. (different channel and the blabla at the and is somewhat different)

I got myself a cup of coffee after that.

Finally, there is a error message! For a brief moment that is. I missed that error all those times before.

Ok, a litlle help from big brother google:
http://www.raspberrypi.org/phpBB3/viewtopic.php?uid=10221&f=28&t=49223&start=0

There they mention to revert to a June firmware version:
sudo rpi-update 5ea0f44b673eaa52c578fcd6480495f19cd53d97

It's a sort of irq bladibla problem and so forth I am not interested in.

By the way I have also done a little adjustment of the /etc/modprobe.d/alsa-base.conf, added a single line:
options snd-usb-audio nrpacks=1
to end those bucket-loads of error messages "delay: estimated 0, actual 177" in dmesg
Source: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=15204

So I leave this playing for 24h and we will see some results hopefully

Best regards,
H

]]>
Fri, 11 Oct 2013 16:55:01 +0200
2mvent on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1432 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1432 Hi Jack,

If you have exactly the same problem like mine, then it is a software problem.
Your not describing your exact setup so I can not tell. Do you use a wireless connection?

Where did you locate this error message?

]]>
Fri, 11 Oct 2013 14:03:57 +0200
Jack on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1430 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1430 I have exactly same problem, I can not enjoy music over 10 minutes (sometimes it goes 30 mins..)

Is this S/W problem or my H/W?

The error message is ;

ERROR :handle_hc_chhltd_intr_dma:2537: handle_hc_chhltd_intr_dma: Channel 2, DMA Mode -- ChHltd set , but reason for halting is unknown, hcint 0x00000002, intsts 0x04600021

]]>
Fri, 11 Oct 2013 10:31:06 +0200
Jack on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1429 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1429 I have exactly same problem, I can not enjoy music over 10 minutes (sometimes it goes 30 mins..)

Is this S/W problem or my H/W?

The error message is ;

ERROR :handle_hc_chhltd_intr_dma:2537: handle_hc_chhltd_intr_dma: Channel 2, DMA Mode -- ChHltd set , but reason for halting is unknown, hcint 0x00000002, intsts 0x04600021

2mvent said

No.
I have set a static ip number, on the Network Configuration and on the routerside, but the crashes keep coming at the same pace.
Would have been nice if that would have solved it. But no.
So, now I have tried multiple hardware setups (power supplies, SD-cards, network cables), but still crashes with every setup.
Then I have tried a Raspbian install with mpd installed, and this works without any hiccup or crashes. (I know, this test is n=1, but the best I can do for now)
This leads me to believe this is a Raspyfi software problem. Something specific in Raspyfi that causes these crashes.
But what would it be that causes this?
Ok, I have some time on my hands, but where do I have to look?
I don't mind getting my hands dirty, but I have no clue where to start?
Best regards,
H

]]>
Fri, 11 Oct 2013 10:28:21 +0200
Jack on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1428 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1428 I have exactly same problem, I can not enjoy music over 10 minutes (sometimes it goes 30 mins..)

Is this S/W problem or my H/W?

The error message is ;

ERROR :handle_hc_chhltd_intr_dma:2537: handle_hc_chhltd_intr_dma: Channel 2, DMA Mode -- ChHltd set , but reason for halting is unknown, hcint 0x00000002, intsts 0x04600021
Confused

]]>
Fri, 11 Oct 2013 10:26:55 +0200
2mvent on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1427 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1427 No.
I have set a static ip number, on the Network Configuration and on the routerside, but the crashes keep coming at the same pace.
Would have been nice if that would have solved it. But no.

So, now I have tried multiple hardware setups (power supplies, SD-cards, network cables), but still crashes with every setup.
Then I have tried a Raspbian install with mpd installed, and this works without any hiccup or crashes. (I know, this test is n=1, but the best I can do for now)

This leads me to believe this is a Raspyfi software problem. Something specific in Raspyfi that causes these crashes.
But what would it be that causes this?

Ok, I have some time on my hands, but where do I have to look?
I don't mind getting my hands dirty, but I have no clue where to start?

Best regards,
H

]]>
Fri, 11 Oct 2013 10:06:08 +0200
2mvent on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1417 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1417 @mikelangeloz
There is no harddrive attached and it is connected via ethernet.
Yes I have tried other webradios and just ordinary mp3s (via samba) as well, but with the same result, the crashes still occur.
I have a more complex setup in mind, but kept getting crashes, so I have reduced it to just installing Raspyfi then play a random webradio (I choose jazzgroove), start playing and see what happens. Only if thats stable then add something else in the mix.
I looked in some log files, but did not see anything deviant. Or did not know where/what to look for.

@thomas
Interesting. I will try your suggestion and see if that makes any difference and report back in about 24h (or earlier when it seems fit)
Now I have set this on Raspyfi =>Network Configuration and on the routerside I have set the mac adress on that static lease.

Thanks, I will report back tomorrow,

Best regards,
H

]]>
Thu, 10 Oct 2013 12:56:44 +0200
thomas on Raspyfi crashes (every time), why? (SOLVED) http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1416 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/raspyfi-crashes-every-time-why/#p1416 I had am simular issue too. After crashing no connection to raspyfi was possible any more.
In my case raspyfi and my router-dns-server work together with fixed ip only. Otherwise pi connects once to the router. After network-drop-out (in my case a powerline issue) pi tries to reconnect to the router (router log tells this) but failes.
So the solution for reconneting was to switch the network settings to fixed ip after the first start.
This was no solution for the network drop-outs but for reconnecting at least.

May be this helps a bit,

thomas

]]>
Thu, 10 Oct 2013 10:29:44 +0200