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

Remove vidconsole from console settings for apu2

2.4 Development Snapshots
3
7
1.2k
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.
  • X
    xbipin
    last edited by Sep 26, 2017, 4:44 PM

    can some1 patch the pfsense code such that the /boot/loader.conf sets console="comconsole" as default for apu2 board rather than console="comconsole,vidconsole" coz when vidconsole is present in that string then the welcome message on serial console comes broken making it impossible to boot into single user mode

    1 Reply Last reply Reply Quote 0
    • D
      doktornotor Banned
      last edited by Sep 26, 2017, 4:46 PM

      Hmmm?

      
      PCEngines apu2
      coreboot build 20170228
      4080 MB ECC DRAM
      
      SeaBIOS (version rel-1.10.0.1)
      
      Press F10 key now for boot menu
      
      Booting from Hard Disk...
      
      F1  pfSense
      
      F6 PXE
      Boot:  F1
      /boot/config: -S115200 -h
      Consoles: serial port
      BIOS drive C: is disk0
      BIOS 638kB/3668660kB available memory
      
      FreeBSD/x86 bootstrap loader, Revision 1.1
      (root@buildbot2.netgate.com, Mon Aug 21 06:57:44 CDT 2017)
      Loading /boot/defaults/loader.conf
      |
                __ ____
         _ __  / _/ ___|  ___ _ __  ___  ___
        | '_ \| |_\___ \ / _ \ '_ \/ __|/ _ \
        | |_) |  _|___) |  __/ | | \__ \  __/
        | .__/|_| |____/ \___|_| |_|___/\___|
        |_|
      
       +============Welcome to pfSense===========+
       |                                         |                 ______
       |  1\. Boot Multi User [Enter]             |                /      \
       |  2\. Boot [s]ingle User                  |          _____/    f   \
       |  3\. [Esc]ape to loader prompt           |         /     \        /
       |  4\. Reboot                              |        /   p   \______/  Sense
       |                                         |        \       /      \
       |  Options:                               |         \_____/        \
       |  5\. [K]ernel: kernel (1 of 2)           |               \        /
       |  6\. Configure Boot [O]ptions...         |                \______/
       |                                         |
       |                                         |
       |                                         |
       +=========================================+
      
      /boot/kernel/kernel text=0x1753f58 data=0xab8eb8+0x4c8c68 syms=[0x8+0x183bd0+0x8+0x183b45]
      Booting...
      [/s]
      
      1 Reply Last reply Reply Quote 0
      • X
        xbipin
        last edited by Sep 26, 2017, 7:52 PM

        whats in ur /boot/loader.conf and /boot/loader.conf.local

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by Sep 26, 2017, 8:22 PM Sep 26, 2017, 8:19 PM

          
          autoboot_delay="3"
          boot_serial="YES"
          console="comconsole"
          comconsole_speed="115200"
          hw.usb.no_pf="1"
          
          

          I don't have any /boot/loader.conf.local there.

          IOW, suspect you have used a wrong image for the box (the VGA one). Definitely the case if you see

          
          Consoles: internal video/keyboard  serial port
          
          

          on boot.

          1 Reply Last reply Reply Quote 0
          • X
            xbipin
            last edited by Sep 27, 2017, 6:09 AM

            no im on the serial image and as far as i remember i had filed a bug request at the time i found out this issue and i think some1 patched something at that time, let me go find what the patch was

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Sep 27, 2017, 2:04 PM

              It already sets it that way for detected serial only platforms.

              https://github.com/pfsense/pfsense/blob/master/src/etc/inc/pfsense-utils.inc#L1192

              And it looks like someone already set the apu2 to be considered serial only:

              https://github.com/pfsense/pfsense/blob/master/src/etc/inc/pfsense-utils.inc#L1128

              That code is there on 2.4 and 2.3.4

              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
              • X
                xbipin
                last edited by Sep 27, 2017, 2:38 PM

                yup this was the change i guess done at that time

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