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

Root mount waiting for: CAM

Scheduled Pinned Locked Moved Hardware
16 Posts 4 Posters 32.3k 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.
  • F
    fireodo
    last edited by Apr 14, 2021, 3:56 PM

    Hi,

    since update from 2.4.5 to 2.5.0 I get in the dmesg for 5 times this message:

    Root mount waiting for: CAM

    This was with my ancient SSD-Drive and is now under 2.5.1 with new HDD-Drive also.

    Is this something I have to worry about or can I ignore it?

    Thanks,
    fireodo

    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
    pfsense 2.8.0 CE
    Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Apr 15, 2021, 12:30 PM

      It's safe. The OS is waiting for devices be detected and settle before attempting to boot the rest of the way. It was done before but didn't print a message.

      It's needed for things like booting from USB or certain drive controllers to work properly.

      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!

      F B 2 Replies Last reply Apr 15, 2021, 1:06 PM Reply Quote 3
      • F
        fireodo @jimp
        last edited by fireodo Apr 15, 2021, 1:06 PM Apr 15, 2021, 1:06 PM

        @jimp

        Thats good to hear - thanks a lot!

        Kind Regards,
        fireodo

        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
        pfsense 2.8.0 CE
        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

        1 Reply Last reply Reply Quote 0
        • B
          Bismarck @jimp
          last edited by May 11, 2021, 4:43 AM

          @jimp

          Anyway to disable this, can’t boot anymore just looping of this message

          S 1 Reply Last reply May 11, 2021, 11:51 AM Reply Quote 0
          • S
            stephenw10 Netgate Administrator @Bismarck
            last edited by May 11, 2021, 11:51 AM

            You can try removing or commenting out the line kern.cam.boot_delay from /boot/loader.conf(.local)

            However the line will not stop a system booting. If it isn't booting that's just a side effect and not the cause. Removing it will likely just make it fail to boot faster or fail with no output.

            Steve

            B 1 Reply Last reply May 11, 2021, 4:00 PM Reply Quote 2
            • B
              Bismarck @stephenw10
              last edited by Bismarck May 11, 2021, 4:33 PM May 11, 2021, 4:00 PM

              @stephenw10

              Thanks will try that later, could it be that kern.cam.boot_delay is not present in the installer? Because every time this happens I can only do a fresh install and recover my config.xml and as long I do not reboot again all is fine. ** (which is a very awkward way to reboot)
              **

              I guess it has something to do with ILO and the virtual usb, maybe...
              this-is-fine.0.jpg

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by May 11, 2021, 4:41 PM

                It's more likely to be required in the installer because waiting for the USB drive to become active is most of the reason it's there.

                When you reboot does it eventually fail or just shows Root mount waiting for: CAM forever?

                I agree, that's.... an inconvenient way to reboot. πŸ˜‰

                Steve

                B 1 Reply Last reply May 11, 2021, 4:50 PM Reply Quote 0
                • B
                  Bismarck @stephenw10
                  last edited by Bismarck May 11, 2021, 4:54 PM May 11, 2021, 4:50 PM

                  @stephenw10

                  Root mount waiting for: CAM 
                  Root mount waiting for: CAM 
                  Root mount waiting for: CAM 
                  Root mount waiting for: CAM 
                  Root mount waiting for: CAM 
                  Root mount waiting for: CAM 
                  Root mount waiting for: CAM 
                  Root mount waiting for: CAM 
                  Root mount waiting for: CAM 
                  Root mount waiting for: CAM
                  

                  Yes it just loops for ever, the first time it was on the update from 2.5.0 to 2.5.1, if I remember right I waited 45 mins. It did not happened with 2.5.0 and prior.

                  So when I remove kern.cam.boot_delay from /boot/loader.conf, I guess with the next update it will be overwritten and when the update reboots at the end I'm in trouble again.

                  Things I've tried so far: hw.usb.no_boot_wait=1 in the loader prompt and set hw.clflush_disable=1, with no luck.

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by May 12, 2021, 12:50 AM

                    Hmm, you could try setting it to a different value in loader.conf.local which would not get overwritten. I'm not sure which has precedence there but I expect .local to.

                    What are you running that failing like that?

                    Steve

                    B 1 Reply Last reply May 12, 2021, 3:52 AM Reply Quote 0
                    • B
                      Bismarck @stephenw10
                      last edited by Bismarck May 12, 2021, 4:31 AM May 12, 2021, 3:52 AM

                      @stephenw10

                      Repurposed HP ProLiant DL360p Gen8 with Smart Array P420i raid controller

                      Disabling all related to USB or ILO in the Bios didn't make a difference, last time.

                      I must confess, since I've installed 2.5.0 I did only reroots and no real reboots, I guess it must be something with FreeBSD 12.2.

                      So booting from the Installer ISO or USB Image works just fine, booting the system afterwards does not.

                      What would be a "safe" value for kern.cam.boot_delay in loader.conf.local?

                      Thank you for your support.

                      S 1 Reply Last reply May 12, 2021, 10:46 AM Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator @Bismarck
                        last edited by May 12, 2021, 10:46 AM

                        @bismarck said in Root mount waiting for: CAM:

                        So booting from the Installer ISO or USB Image works just fine, booting the system afterwards does not.

                        Except the very first boot after the install though. Which is the weird thing. Might be useful to look at the boot/console log from that to see what is different.

                        You might also try booting verbose to see if it gives you more error output.

                        Since it seems to be waiting for something that never happens I would try setting kern.cam.boot_delay to 0. You can probably also set that at the loader prompt to test at boot.

                        Steve

                        B 1 Reply Last reply May 12, 2021, 2:20 PM Reply Quote 0
                        • B
                          Bismarck @stephenw10
                          last edited by Bismarck May 12, 2021, 2:20 PM May 12, 2021, 2:20 PM

                          @stephenw10

                          I will try to schedule a downtime for the next weekend and give it a try.

                          Comparing the loader.conf from 2.4.5 with 2.5.x

                          2.4.5

                          kern.cam.boot_delay=10000
                          autoboot_delay="3"
                          kern.ipc.nmbclusters="1000000"
                          kern.ipc.nmbjumbop="524288"
                          kern.ipc.nmbjumbo9="524288"
                          hw.usb.no_pf="1"
                          boot_serial="NO"
                          

                          2.5.x

                          kern.cam.boot_delay=10000
                          autoboot_delay="3"
                          kern.ipc.nmbclusters="1000000"
                          kern.ipc.nmbjumbop="524288"
                          kern.ipc.nmbjumbo9="524288"
                          boot_serial="NO"
                          

                          Could hw.usb.no_pf be a issue here?

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by May 12, 2021, 3:38 PM

                            Hard to imagine it would have any effect there unless some USB device is being incorrectly detected. Even then it wouldn't affect storage. Or I wouldn't expect it to.

                            B 1 Reply Last reply May 13, 2021, 5:52 AM Reply Quote 0
                            • B
                              Bismarck @stephenw10
                              last edited by Bismarck May 13, 2021, 6:36 AM May 13, 2021, 5:52 AM

                              @stephenw10

                              Just an idea, I had added

                              hw.bce.tso_enable=0
                              hw.pci.enable_msix=0
                              

                              to /boot/loader.conf.local like mentioned in the pfSense docs for tuning etc.

                              Now looking at the default values via sysctl of the running system:

                              # sysctl hw.bce.tso_enable
                              hw.bce.tso_enable: 1
                              # sysctl hw.pci.enable_msix
                              hw.pci.enable_msix: 1
                              

                              and digging a little deeper, I've read at reddit. FreeBSD Mailinglist and the "other" sense forum that setting:

                              set hw.pci.enable_msix=0
                              

                              can make the system fail to boot.

                              Could this be the root cause for Root mount waiting for: CAM loop?

                              B 1 Reply Last reply May 13, 2021, 8:53 AM Reply Quote 0
                              • B
                                Bismarck @Bismarck
                                last edited by Bismarck May 13, 2021, 9:03 AM May 13, 2021, 8:53 AM

                                @stephenw10

                                set hw.pci.enable_msix=0
                                

                                BINGO! We have a winner!

                                Just deleted /boot/loader.conf.local and leave /boot/loader.conf untouched, now system is booting smooth and nicely again.

                                Thank you for your patience, much appreciated! 😊 πŸ‘

                                (Maybe someone should ad a hint at the pfSense docs, using this setting "may" leave you with a unbootable system.)

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by May 13, 2021, 10:47 AM

                                  Mmm, disabling MSIX globally for all PCI devices should really be a last resort option anyway.

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                    This community forum collects and processes your personal information.
                                    consent.not_received