Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Kernel Panic randomly on 2 units (rPi 1 model B)
Thank you for your donation

Pages (8): « Previous 1 2 3 4 5 6 ... 8 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Kernel Panic randomly on 2 units (rPi 1 model B)
25th Mar, 2015, 01:35 AM
Post: #46
Exnor Offline
Registered
Posts: 362
Joined: Aug 2013
Reputation: 8
RE: Kernel Panic randomly on 2 units
(22nd Mar, 2015 06:48 AM)f1vefour Wrote:  By trying to tail the syslog, I had someone do this but they said there was no panic showing in the recorded log.

Well out of frustration 2 days ago i've grab a new SDCard and installed fresh (no backups or nothing.. plain vanilla) and after less than 24h the same problem occurs ... so i can scratch being a problem related to my previous card/installation.

(i've downloaded the Win installer, flash the card, booted and updated... did not restore any of my previous setting or installed any add-on).

:) :)
Find all posts by this user
Quote this message in a reply
27th Mar, 2015, 04:33 AM
Post: #47
namtih Offline
Tester
Posts: 269
Joined: Dec 2012
Reputation: 28
RE: Kernel Panic randomly on 2 units
Did you already try to add "vm.min_free_kbytes" again?
The Pi1 had problems with kernel panic in combination with high network load. Adding this parameter fixed it. I've noticed that the parameter isn't set in the current Pi2 images.

So perhaps give it a try:
Add in "/etc/sysctl.conf" the parameter "vm.min_free_kbytes = 16384" or a higher value "vm.min_free_kbytes = 32768".
Reboot.


You could also try the newest Pi2 standard firmware:
Terminal

sync
sync
sudo wget -O /boot/fixup.dat https://github.com/Hexxeh/rpi-firmware/blob/master/fixup_x.dat?raw=true --no-check-certificate
sync
sudo wget -O /boot/start.elf https://github.com/Hexxeh/rpi-firmware/blob/master/start_x.elf?raw=true --no-check-certificate
sync
sync
Reboot.
Find all posts by this user
Quote this message in a reply
27th Mar, 2015, 05:52 AM
Post: #48
Diako Offline
Registered
Posts: 38
Joined: Feb 2015
Reputation: 1
RE: Kernel Panic randomly on 2 units
I've tried the "vm.min_free_kbytes = 16384" setting on my RPi 1.
I hope avoiding my (multi) daily kernel panic freeze...
Find all posts by this user
Quote this message in a reply
27th Mar, 2015, 07:28 AM
Post: #49
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Kernel Panic randomly on 2 units
Please try changing the btrfs compression from lz4 to lzo compress=lzo in /boot/cmdline.txt

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
27th Mar, 2015, 08:22 PM
Post: #50
Exnor Offline
Registered
Posts: 362
Joined: Aug 2013
Reputation: 8
RE: Kernel Panic randomly on 2 units
(27th Mar, 2015 07:28 AM)CurlyMo Wrote:  Please try changing the btrfs compression from lz4 to lzo compress=lzo in /boot/cmdline.txt

Doing that right now. i will post progress about the results.

Thks Curly Smile

(27th Mar, 2015 04:33 AM)namtih Wrote:  Did you already try to add "vm.min_free_kbytes" again?
The Pi1 had problems with kernel panic in combination with high network load. Adding this parameter fixed it. I've noticed that the parameter isn't set in the current Pi2 images.

So perhaps give it a try:
Add in "/etc/sysctl.conf" the parameter "vm.min_free_kbytes = 16384" or a higher value "vm.min_free_kbytes = 32768".
Reboot.


You could also try the newest Pi2 standard firmware:
Terminal

sync
sync
sudo wget -O /boot/fixup.dat https://github.com/Hexxeh/rpi-firmware/blob/master/fixup_x.dat?raw=true --no-check-certificate
sync
sudo wget -O /boot/start.elf https://github.com/Hexxeh/rpi-firmware/blob/master/start_x.elf?raw=true --no-check-certificate
sync
sync
Reboot.

Thanks for your input Smile
But this is the 1st time i have this problem and since i was using the rPis for viewing an average bit rate of 15Mbit/s x.264 files without any issue prior to the latest Kernel update it might not be the situation you describe.

Anyway i'm trying curly's idea and if it does not resolve the situation i'm going to try yours.

(27th Mar, 2015 05:52 AM)Diako Wrote:  I've tried the "vm.min_free_kbytes = 16384" setting on my RPi 1.
I hope avoiding my (multi) daily kernel panic freeze...

Please give us some feedback when you can.
thks.

:) :)
Find all posts by this user
Quote this message in a reply
28th Mar, 2015, 03:54 PM
Post: #51
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: Kernel Panic randomly on 2 units
I need someone with an RPi 2 to test this kernel, I'm hoping that the 3.18.y branch is simply buggy and 3.19.y is better.

https://db.tt/4xmGNDk2

Install by doing:
Terminal

sudo cp /boot/kernel.img /boot/kernel.good
sudo dpkg -i linux-image-bcm2836_3.19.3+_armhf.deb

I can't test it myself as I'm still out of town. Let me know whoever tests if you still have the same issues.

@Exnor I had to target the RPi 2 since more folks seem to be having issues with it. I will update both when I return.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
28th Mar, 2015, 08:55 PM
Post: #52
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Kernel Panic randomly on 2 units
Can you ask the same on github so all issue openers will test also?

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
28th Mar, 2015, 10:18 PM
Post: #53
Diako Offline
Registered
Posts: 38
Joined: Feb 2015
Reputation: 1
RE: Kernel Panic randomly on 2 units
(27th Mar, 2015 08:22 PM)Exnor Wrote:  
(27th Mar, 2015 05:52 AM)Diako Wrote:  I've tried the "vm.min_free_kbytes = 16384" setting on my RPi 1.
I hope avoiding my (multi) daily kernel panic freeze...

Please give us some feedback when you can.
thks.

And i've launched a download with nzbget and a few minutes later the RPi crashed again.
Unfortunately it's not the right solution Sad
Find all posts by this user
Quote this message in a reply
28th Mar, 2015, 10:50 PM
Post: #54
Exnor Offline
Registered
Posts: 362
Joined: Aug 2013
Reputation: 8
RE: Kernel Panic randomly on 2 units
(27th Mar, 2015 07:28 AM)CurlyMo Wrote:  Please try changing the btrfs compression from lz4 to lzo compress=lzo in /boot/cmdline.txt

Sorry but after less than 24h i've got another crash and another kernel panic on both units ....

Any suggestions?

(28th Mar, 2015 03:54 PM)f1vefour Wrote:  I need someone with an RPi 2 to test this kernel, I'm hoping that the 3.18.y branch is simply buggy and 3.19.y is better.

https://db.tt/4xmGNDk2

Install by doing:
Terminal

sudo cp /boot/kernel.img /boot/kernel.good
sudo dpkg -i linux-image-bcm2836_3.19.3+_armhf.deb

I can't test it myself as I'm still out of town. Let me know whoever tests if you still have the same issues.

@Exnor I had to target the RPi 2 since more folks seem to be having issues with it. I will update both when I return.

Ok mate, but i don't have a Pi2 yet Tongue... my situation occurs in 2 Pi 1 B models (one that i've even freshly installed without any addons ).

Thks

(28th Mar, 2015 10:18 PM)Diako Wrote:  
(27th Mar, 2015 08:22 PM)Exnor Wrote:  
(27th Mar, 2015 05:52 AM)Diako Wrote:  I've tried the "vm.min_free_kbytes = 16384" setting on my RPi 1.
I hope avoiding my (multi) daily kernel panic freeze...

Please give us some feedback when you can.
thks.

And i've launched a download with nzbget and a few minutes later the RPi crashed again.
Unfortunately it's not the right solution Sad

So that idea is out too Sad

:) :)
Find all posts by this user
Quote this message in a reply
29th Mar, 2015, 02:27 AM (This post was last modified: 29th Mar, 2015 04:21 AM by f1vefour.)
Post: #55
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: Kernel Panic randomly on 2 units
@Exnor I will build a kernel for you to test now.

This is for RPi 1

https://db.tt/sNM5ty8M

Install by doing:
Terminal

sudo cp /boot/kernel.img /boot/kernel.good
sudo dpkg -i xbian-package-kernel_3.19.3+_armhf.deb

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
29th Mar, 2015, 05:08 AM
Post: #56
Exnor Offline
Registered
Posts: 362
Joined: Aug 2013
Reputation: 8
RE: Kernel Panic randomly on 2 units
(29th Mar, 2015 02:27 AM)f1vefour Wrote:  @Exnor I will build a kernel for you to test now.

This is for RPi 1

https://db.tt/sNM5ty8M

Install by doing:
Terminal

sudo cp /boot/kernel.img /boot/kernel.good
sudo dpkg -i xbian-package-kernel_3.19.3+_armhf.deb

Doing that now... thks for the help.

I will post results here and on GitHub.

(29th Mar, 2015 02:27 AM)f1vefour Wrote:  @Exnor I will build a kernel for you to test now.

This is for RPi 1

https://db.tt/sNM5ty8M

Install by doing:
Terminal

sudo cp /boot/kernel.img /boot/kernel.good
sudo dpkg -i xbian-package-kernel_3.19.3+_armhf.deb

Updating as in GitHub:
Ok i have it installed and its running fine so far.. it past btrfs scrub without issues... i hope this is the one.
Do you want me to send you any log file or info?

:) :)
Find all posts by this user
Quote this message in a reply
29th Mar, 2015, 05:47 AM
Post: #57
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: Kernel Panic randomly on 2 units
You can just respond on github, I'm tracking there.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
29th Mar, 2015, 05:55 AM
Post: #58
Carpenter Offline
Registered
Posts: 51
Joined: Apr 2013
Reputation: 0
RE: Kernel Panic randomly on 2 units
I will try this as well...

(29th Mar, 2015 02:27 AM)f1vefour Wrote:  @Exnor I will build a kernel for you to test now.

This is for RPi 1

https://db.tt/sNM5ty8M

Install by doing:
Terminal

sudo cp /boot/kernel.img /boot/kernel.good
sudo dpkg -i xbian-package-kernel_3.19.3+_armhf.deb
Find all posts by this user
Quote this message in a reply
29th Mar, 2015, 05:56 AM
Post: #59
Exnor Offline
Registered
Posts: 362
Joined: Aug 2013
Reputation: 8
RE: Kernel Panic randomly on 2 units
(29th Mar, 2015 05:47 AM)f1vefour Wrote:  You can just respond on github, I'm tracking there.

Ok, just in case anyone else is interested or this might help here is the dmesg file.


Attached File(s)
.txt  dmesg.txt (Size: 13.78 KB / Downloads: 4)

:) :)
Find all posts by this user
Quote this message in a reply
30th Mar, 2015, 07:57 AM
Post: #60
Diako Offline
Registered
Posts: 38
Joined: Feb 2015
Reputation: 1
RE: Kernel Panic randomly on 2 units
(28th Mar, 2015 03:54 PM)f1vefour Wrote:  I need someone with an RPi 2 to test this kernel, I'm hoping that the 3.18.y branch is simply buggy and 3.19.y is better.

https://db.tt/4xmGNDk2

Install by doing:
Terminal

sudo cp /boot/kernel.img /boot/kernel.good
sudo dpkg -i linux-image-bcm2836_3.19.3+_armhf.deb

I can't test it myself as I'm still out of town. Let me know whoever tests if you still have the same issues.

Now i've installed py RPi 2 with a stable version of xbian and of course i have the same problem than with my RPi 1.
I can test your kernel but before i want to be sure that i can still update simply my xbian. Do you confirm it's ok ?
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (8): « Previous 1 2 3 4 5 6 ... 8 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Kernel panic - not syncing: Fatal exception koper89 1 6,053 5th Feb, 2015 03:23 AM
Last Post: IriDium

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 09:09 AM Powered By MyBB, © 2002-2025 MyBB Group.