Re: Console serial speed

From: Aaron Wohl (avwohl_at_awohl.com)
Date: 07/26/03

  • Next message: David Gilbert: "wi in access point mode."
    To: "Russell Cattelan" <cattelan@xfs.org>, freebsd-hackers@freebsd.org
    Date: Sat, 26 Jul 2003 09:15:43 -0600
    
    

    On 25 Jul 2003 13:06:28 -0500, "Russell Cattelan" <cattelan@xfs.org>
    said:
    > How does one set the serial speed of the console.
    > I changed the boot loader speed to 57600 in make.conf
    > but the kernel seems to chose random speeds each time
    > it's booted.
    > Sometimes it's 9600 sometimes it 115200 other times
    > it's 38400.
    >
    > Note this is on 5.x current
    >
    > Russell Cattelan
    Subject notes on setting up freebsd serial console
    -must be com1
    -com1 must be at port 0x3F8 irq 4
    -in bios set the port and irq as above
    -in bios set serial redirection to com1
    -in bios set baud rate 115200
    -in bios set RTS/CTS flow control
    -edit (or create) /etc/make.conf to add these lines:
    BOOT_COMCONSOLE_PORT= 0x3F8
    BOOT_COMCONSOLE_SPEED= 115200
    -cd /sys/boot
    -make clean
    -make
    -make install
    -fdisk -B
    No im not kidding. Part of the boot knowing baud rate loader lives in
    the main disk boot block.
    -cd /boot
    -edit loader.conf
    -add a line:
    console=comconsole
    -edit /boot.config make it read (with a return after it):
    -Dh
    (the above is minus D h return, thats 4 characters)
    -cd /usr/src/sys/i386/conf
    -edit PASODOBLE (or whatever your kernconf is called)
    -add:
    options CONSPEED=115200 # Console Redirection
    -cd /usr/src
    -make buildkernel KERNCONF=PASODOBLE
    -make installkernel KERNCONF=PASODOBLE
    -reboot
    -pray
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: David Gilbert: "wi in access point mode."

    Relevant Pages

    • Re: ttya console speed limit
      ... >Having grown tired of using a 9600 baud rate over ttya for the console ... Is it possible to use higher speeds than 9600 for the console? ... The open boot prom's ttya-mode parameter. ...
      (comp.sys.sun.admin)
    • Re: cpu frequency and XP booting
      ... notice that when we do boot windows at 100 mhz setting, ... windows is loading causing issue. ... See: http://www.memtest.org/ for the memory test utility ... speeds. ...
      (microsoft.public.windowsxp.help_and_support)
    • RE: installing a new computer
      ... First in the BIOS set to use SATA,this is found in hd boot ... SATA drive was installed,youd set to RAID.These are typically the 3 ... > I am in touch with Maxtor who say I have to put the XP first and the system ...
      (microsoft.public.windowsxp.newusers)
    • Re: Clean out startup?
      ... Are those download and upload speeds? ... all items in startup it would speed the boot time. ... decision about what you want to keep and what you want to get rid of. ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Multi-Boot with EWF
      ... Bios set to boot to IDE0. ... EWF is protecting drive C: ... EWF setup with your EWF Ram Reg component ...
      (microsoft.public.windowsxp.embedded)