Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Kernel Panic after 2.3 ugprade

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    9 Posts 3 Posters 2.4k Views
    Loading More Posts
    • 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.
    • W
      wahmed
      last edited by

      Hello,

      After upgrading to 2.3 the kernel is panic with the following message.

      panic: pmap_mapdev_attr: Couldn't allocate KVA
      cpuid = 0
      KDB: enter: panic
      .
      .
      .
      db>

      I did click on full backup.  How can i restore without reinstall? Or is there a way to get aroudn this panic?

      1 Reply Last reply Reply Quote 0
      • W
        wahmed
        last edited by

        I basically re-installed 2.2.6 and then restored my configuration.  Will wait to upgrade until i can understand the root cause.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Without a full crash dump with a back trace we can't speculate as to what might fix it.

          From the little text there is there, it sounds like it tried to allocate too large a portion of kernel memory compared to total RAM.

          How much RAM is in the box? Is that i386 or amd64? Any custom settings in /boot/loader.conf or /boot/loader.conf.local ?

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • W
            wahmed
            last edited by

            I will try to get crash dump although i am not sure where and how to save it.  I will read up.

            The laptop is a Dell D420 with 1.5GB of RAM.  I am now trying a fresh install from USB and i still get a panic so indeed there is somethign peculair with the Hardware that the Kernel does not like.  I am using i386.  Do you suggest i try AMD64?

            1 Reply Last reply Reply Quote 0
            • W
              wahmed
              last edited by

              Just tried with AMD64.  I get "CPU does not support long mode".  Then i realized that this CPU is an Intel Core Duo 1.2GHz which i think is just 32-bit.  So i am going to go back to the i386 image.

              1 Reply Last reply Reply Quote 0
              • W
                wahmed
                last edited by

                Here are photographs of the backtrace.  Not sure how to capture them to a file!

                IMG_0502.JPG
                IMG_0502.JPG_thumb
                IMG_0503.JPG
                IMG_0503.JPG_thumb
                IMG_0504.JPG
                IMG_0504.JPG_thumb

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Looks like it's having some fundamental issue talking to the hardware, between that and the earlier errors, it's acting like it can't do any sort of DMA to the board. I'm not sure what might have changed there in FreeBSD 10.3 but it's not looking good for that box. You might try grabbing a FreeBSD 10.3 disk and see if you can boot that.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • W
                    wahmed
                    last edited by

                    I was able to avoid the kenrel panic by disabling onboard Wifi nic in the BIOS.  Obviously there is a kernel bug that is triggered by the wifi.  But since i don't use it, i don't care :-)

                    N 1 Reply Last reply Reply Quote 1
                    • N
                      netdragon @wahmed
                      last edited by netdragon

                      @wahmed This worked, thanks! I had a Belkin PCI wireless card installed, and removing it let me continue install. Strangely, the older version of pfsense didn't have this issue. I haven't upgraded in a few years.

                      Motherboard was a MSI mainboad (last pentium 4 before hyperthreading) circa 2002 and the wireless card was circle 2001.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.