Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Bleeding Kernel Panic!!

Bleeding Kernel Panic!!

Scheduled Pinned Locked Moved The Lounge
hardwarepythonsysadmintoolsperformance
12 Posts 7 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G glennPattonPub

    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?

    M Offline
    M Offline
    megaadam
    wrote on last edited by
    #2

    glennPattonWork wrote:

    easier to use a Raspberry Pi

    Huh? Why?

    "If we don't change direction, we'll end up where we're going"

    1 Reply Last reply
    0
    • G glennPattonPub

      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?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #3

      glennPattonWork wrote:

      if I copy that image from the card to my card will it boot?

      There's one way to find out.

      G 1 Reply Last reply
      0
      • L Lost User

        glennPattonWork wrote:

        if I copy that image from the card to my card will it boot?

        There's one way to find out.

        G Offline
        G Offline
        glennPattonPub
        wrote on last edited by
        #4

        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: )

        J M M 3 Replies Last reply
        0
        • G glennPattonPub

          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: )

          J Offline
          J Offline
          Jochen Arndt
          wrote on last edited by
          #5

          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.

          G 1 Reply Last reply
          0
          • J Jochen Arndt

            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.

            G Offline
            G Offline
            glennPattonPub
            wrote on last edited by
            #6

            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!

            J P 2 Replies Last reply
            0
            • G glennPattonPub

              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: )

              M Offline
              M Offline
              Marc Clifton
              wrote on last edited by
              #7

              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

              G 1 Reply Last reply
              0
              • G glennPattonPub

                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!

                J Offline
                J Offline
                Jochen Arndt
                wrote on last edited by
                #8

                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[^] ).

                1 Reply Last reply
                0
                • G glennPattonPub

                  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: )

                  M Offline
                  M Offline
                  Munchies_Matt
                  wrote on last edited by
                  #9

                  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!

                  G 1 Reply Last reply
                  0
                  • M Marc Clifton

                    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

                    G Offline
                    G Offline
                    glennPattonPub
                    wrote on last edited by
                    #10

                    And so an order from Amazon is made for RPi approved cards!

                    1 Reply Last reply
                    0
                    • M Munchies_Matt

                      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!

                      G Offline
                      G Offline
                      glennPattonPub
                      wrote on last edited by
                      #11

                      Didn't really have time to roll my image using Debian...

                      1 Reply Last reply
                      0
                      • G glennPattonPub

                        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!

                        P Offline
                        P Offline
                        patbob
                        wrote on last edited by
                        #12

                        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.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups