Bleeding Kernel Panic!!
-
Hi All, I am trying to get some hardware working for a test rig I am building. I needed to monitor some network traffic and take action (activate a bit of safety hardware) when it dropped/rejected a certain amount of data. Thinking it would be easier to use a Raspberry Pi rather than a laptop I sat down on Friday and created a Python (?) script that turned on an LED if it was good and a different one it was a bad packet, while counting the number of bad ones. If the number of bad packets exceeded a limit the hardware would be activated. However the memory card got corrupted. Now it will only boot to Kernel Panic, new memory card, same issue, use Pi straight out of box. Kernel panic, I seem to only be able to get a Kernel panic now. I have tested various points on the Pi for voltages, all seem correct what and if I borrow the card from another Pi it will boot on the Pi that has the Kernel panic. So I wonder if I copy that image from the card to my card will it boot?
-
glennPattonWork wrote:
if I copy that image from the card to my card will it boot?
There's one way to find out.
Well tried that, no is the answer. It would appear that my cards are too small, borrowed a 32 GB SanDisk with image installed and the bug**r works. 15 GB won't work... (too smalll...? :wtf: )
-
Well tried that, no is the answer. It would appear that my cards are too small, borrowed a 32 GB SanDisk with image installed and the bug**r works. 15 GB won't work... (too smalll...? :wtf: )
8 GB should be still enough. Maybe you got fake SD cards that does not have the "advertised" capacity or are of very low quality.
-
8 GB should be still enough. Maybe you got fake SD cards that does not have the "advertised" capacity or are of very low quality.
8 GB thats what I was thinking, Only one card could be fake, a 16 GB Kingston the rest I bought through Amazon all 16 GB, a mix of Kingston & Sandisk, Also I did buy a Sandisk from PC World. All no Worky! Using a 32 GB Sandisk at work device boots!
-
Well tried that, no is the answer. It would appear that my cards are too small, borrowed a 32 GB SanDisk with image installed and the bug**r works. 15 GB won't work... (too smalll...? :wtf: )
glennPattonWork wrote:
borrowed a 32 GB SanDisk with image installed and the bug**r works.
Along those lines, maybe it's actually the speed of the card? IIRC, there's two different kinds, and maybe depending on the clock speed of the rPi, it requires the faster version of the card?
Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
-
8 GB thats what I was thinking, Only one card could be fake, a 16 GB Kingston the rest I bought through Amazon all 16 GB, a mix of Kingston & Sandisk, Also I did buy a Sandisk from PC World. All no Worky! Using a 32 GB Sandisk at work device boots!
Why do you think you won't get fake cards from Amazon? But with such a bunch of cards it is less likely that all are fakes. If you want to check them you can use the H2testw utility available on many freeware sites. It is developed by the German computer magazine c't (German project site link: H2testw | heise Download[^] ).
-
Well tried that, no is the answer. It would appear that my cards are too small, borrowed a 32 GB SanDisk with image installed and the bug**r works. 15 GB won't work... (too smalll...? :wtf: )
More than 16 gig for linux? Where did you get the Pi image from, downloaded and built it yourself? If so use the build config UI to disable stuff you dont need. You should be able to get it to fit. Surely it cant be this big!
-
glennPattonWork wrote:
borrowed a 32 GB SanDisk with image installed and the bug**r works.
Along those lines, maybe it's actually the speed of the card? IIRC, there's two different kinds, and maybe depending on the clock speed of the rPi, it requires the faster version of the card?
Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
And so an order from Amazon is made for RPi approved cards!
-
More than 16 gig for linux? Where did you get the Pi image from, downloaded and built it yourself? If so use the build config UI to disable stuff you dont need. You should be able to get it to fit. Surely it cant be this big!
Didn't really have time to roll my image using Debian...
-
8 GB thats what I was thinking, Only one card could be fake, a 16 GB Kingston the rest I bought through Amazon all 16 GB, a mix of Kingston & Sandisk, Also I did buy a Sandisk from PC World. All no Worky! Using a 32 GB Sandisk at work device boots!
Maybe you just got some bad cards, or maybe there's some cruft in a partition table or something. Try running a badblocks write test on them and see what it reports. Getting cards through Amazon isn't saying much -- in my book, that almost ensures they are fakes.
I live in Oregon, and I'm an engineer.