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

    Kernel Panic

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    325 Posts 35 Posters 248.2k 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.
    • L
      LostInIgnorance
      last edited by

      Did notice this from both panics though.

      Panic from old P4 computer:

      Kernel page fault with the following non-sleepable locks held:
      exclusive sleep mutex em0 (EM TX Lock) r = 0 (0xc2f52580) locked @ /usr/pfSensesrc/src/sys/dev/e1000/if_lem.c:1350
      

      Panic from Soekris board:

      Kernel page fault with the following non-sleepable locks held:
      exclusive sleep mutex vr1 (network driver) r = 0 (0xc3640aec) locked @ /usr/pfSensesrc/src/sys/dev/vr/if_vr.c:1675
      

      Is it just coincidence?

      1 Reply Last reply Reply Quote 0
      • D
        disa
        last edited by

        Hi, I've reinstalled the secondary machine, it's now running 2.0-BETA5 (amd64) built on Mon Jan 17 22:14:04 EST 2011 (the primary has 2.0-BETA5 (amd64) built on Fri Jan 21 23:51:34 EST 2011).

        I disabled the sync, created all the remaining carp vips on the primary (I've 12 of them right now), and re-enabled the sync. The secondary didn't crash.

        What shall I do now? I'm a bit scared of upgrading it :-) thanks

        1 Reply Last reply Reply Quote 0
        • E
          eri--
          last edited by

          Just wait for build late build from today and it should be safe to upgrade.

          1 Reply Last reply Reply Quote 0
          • D
            disa
            last edited by

            ok, and which kernel should I be running? SMP or devel? thanks

            1 Reply Last reply Reply Quote 0
            • V
              vito
              last edited by

              as of snap
              2.0-BETA5 (i386)
              built on Mon Jan 24 18:48:13 EST 2011

              fix did not work.

              Maybe fix was not in this build?

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

                @vito:

                as of snap
                2.0-BETA5 (i386)
                built on Mon Jan 24 18:48:13 EST 2011

                fix did not work.

                Maybe fix was not in this build?

                It should have been.

                So it still crashed the exact same way, with the same panic in the same place?

                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
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  @LostInIgnorance:

                  Did notice this from both panics though.

                  Panic from old P4 computer:

                  Kernel page fault with the following non-sleepable locks held:
                  exclusive sleep mutex em0 (EM TX Lock) r = 0 (0xc2f52580) locked @ /usr/pfSensesrc/src/sys/dev/e1000/if_lem.c:1350
                  

                  Panic from Soekris board:

                  Kernel page fault with the following non-sleepable locks held:
                  exclusive sleep mutex vr1 (network driver) r = 0 (0xc3640aec) locked @ /usr/pfSensesrc/src/sys/dev/vr/if_vr.c:1675
                  

                  Is it just coincidence?

                  Hard to say for sure.

                  I just setup my ALIX and opened a ton of browser tabs and pushed a bunch of traffic through it and I managed to crash Chrome but not the router… I wish I could reproduce this.

                  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
                  • V
                    vito
                    last edited by

                    @jimp:

                    @vito:

                    as of snap
                    2.0-BETA5 (i386)
                    built on Mon Jan 24 18:48:13 EST 2011

                    fix did not work.

                    Maybe fix was not in this build?

                    It should have been.

                    So it still crashed the exact same way, with the same panic in the same place?

                    Here is the new screen shoot of the panic.
                    Same symptoms, only when using openvpn

                    photo.JPG
                    photo.JPG_thumb

                    1 Reply Last reply Reply Quote 0
                    • L
                      LostInIgnorance
                      last edited by

                      The key is only when you connect to OpenVPN and then after successful connection, open a browser and the page should time out and you should get disconnected from the OpenVPN connection.

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

                        I had ~10 browser tabs open to all kinds of sites, streaming a youtube video, and was copying a file over SMB, all over OpenVPN from a client on the WAN side of my ALIX.

                        Perhaps it's a bug specific to the vr chip in the Soekris.

                        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
                        • L
                          LostInIgnorance
                          last edited by

                          If it is a specific issue to the vr chip, then why am I getting the same type of panic with the em (as I had posted above)?

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

                            Bad luck? :-)

                            The em chips hit by this are specific older chips that fall under the "legacy em" ("lem") portion of the driver code.

                            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
                            • L
                              LostInIgnorance
                              last edited by

                              LOL, seems to be me only that has the bad hardware then.

                              EDIT: Did you try it with squid havp, etc. loaded on it?

                              1 Reply Last reply Reply Quote 0
                              • V
                                vito
                                last edited by

                                @LostInIgnorance:

                                The key is only when you connect to OpenVPN and then after successful connection, open a browser and the page should time out and you should get disconnected from the OpenVPN connection.

                                Note the case for me,
                                Once connected i would start up outlook to sync to exchange and openvpn would crash
                                Same goes with doing a file/folder copy from host network to openvpn client.

                                1 Reply Last reply Reply Quote 0
                                • L
                                  LostInIgnorance
                                  last edited by

                                  @vito:

                                  @LostInIgnorance:

                                  The key is only when you connect to OpenVPN and then after successful connection, open a browser and the page should time out and you should get disconnected from the OpenVPN connection.

                                  Note the case for me,
                                  Once connected i would start up outlook to sync to exchange and openvpn would crash
                                  Same goes with doing a file/folder copy from host network to openvpn client.

                                  Wish I could have made it as far as you vito

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

                                    @LostInIgnorance:

                                    EDIT: Did you try it with squid havp, etc. loaded on it?

                                    I haven't tried it with squid, I'll load that on next. Do you have the OpenVPN server assigned as an interface and squid listening there? Otherwise, squid wouldn't be doing anything to the traffic coming from OpenVPN

                                    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
                                    • L
                                      LostInIgnorance
                                      last edited by

                                      No I am not having squid listen to anything but the 3 different vr networks.  I am just wondering if the setup may have something to do with it.  Doesn't hurt to recreate it completely.

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

                                        fair enough. I'll give it a go.

                                        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
                                        • V
                                          vito
                                          last edited by

                                          @jimp:

                                          @LostInIgnorance:

                                          EDIT: Did you try it with squid havp, etc. loaded on it?

                                          I haven't tried it with squid, I'll load that on next. Do you have the OpenVPN server assigned as an interface and squid listening there? Otherwise, squid wouldn't be doing anything to the traffic coming from OpenVPN

                                          Jimp,
                                          it was most likely missed in this thread, but in my original thread with this problem from 12/13
                                          had the packages i am running.  http://forum.pfsense.org/index.php/topic,31031.msg165512.html#msg165512

                                          Packages i am running:
                                          Squid
                                          Squid Guard
                                          Snort
                                          OpenVPN Export
                                          Light Squid
                                          Anyterm

                                          If need be, i can test by stopping Squid and such….

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

                                            It might be worth trying without any packages. (the only one I have is OpenVPN client export) to see if it makes a difference.

                                            One thing - for everyone seeing the panic on em(4) devices, the output from

                                            pciconf -lvb
                                            

                                            For the em card seen in the crash would be helpful.

                                            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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.