Redirecting console output to serial port to capture error message

From: Roger L. Beeman (rlb_at_subako.org)
Date: 11/05/04

  • Next message: Eugene M. Minkovskii: "Re: sane-plustek backend does not work"
    Date: Thu, 4 Nov 2004 23:14:59 -0800 (PST)
    To: freebsd-questions@FreeBSD.org
    
    

    I have been trying to capture the error message that I receive when
    trying to boot any of the Release 5.3 beta or release candidate iso
    images on my DEC Personal Workstation 333i+. The system is an LX440
    chipset based dual processor (2x PII 333MHz).

    I have been trying to redirect the error to the serial port and worked
    a while to get to where I learned that this incantation:

    #mkisofs -U -R -V fbsd_bootonly \
    -no-emul-boot -b boot/cdboot -c boot_catalog \
    -o /home/mbcd.iso /home/bootcd/cdrom

    after adding a /boot/loader.conf.local file containing
      console=comconsole

    to the contents of the bootonly.iso copied to /home/bootcd/cdrom would
    actually redirect this much of the output to the serial port:

    /boot/kernel/kernel text=0x4363cc data=0x7cc00+0x4fe20
      syms=[0x4+0x5a690+0x4+0x6f5d8]

    but after that, the error message still pours out only on the video
    console, repeated endlessly, rolling by much too fast to make any
    sense of.

    What am I missing about redirecting the console output? I'm reading
    section 20.6.6.1 of the the "fine" manual, as saying that this should
    do the trick.

    Roger L. Beeman
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Eugene M. Minkovskii: "Re: sane-plustek backend does not work"

    Relevant Pages

    • Re: wince equivalent of jiffies_to_usecs(this is in linux 2.6)
      ... I'll make a blog post on this so we can redirect there if needed. ... I understand Michael effort to "redirect" many of the questions to the google usenet archive. ... search groups.google.com before posting your question. ... If you don't get an error message, build a debug image and find it on the debugging output or post some messages that you think may be relevant. ...
      (microsoft.public.windowsce.platbuilder)
    • Re: net use script issue with terminal server and DFS
      ... redirect stdout into NUL ... command will be redirected to NUL, ... But it should give you an error message when you execute the same ...
      (microsoft.public.windows.terminal_services)
    • Re: whats recommended way to handle this? no records
      ... This saves you the extra query of doing a count. ... > account for the user entering an ID that does not exist. ... then redirect to an error page ... followed by redirecting to an error message page? ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Service will not start.
      ... a JAR was added to the classpath ... Error Message: ... the Performance Logs and Alerts service. ... (redirect of what, it does not say!) ...
      (microsoft.public.windows.server.general)
    • Re: Logout Script
      ... and everything seems to work fine, except for the redirect. ... Here is the error message I get when I try to use this ... > J-Bots 2004 Released Special Pricing ...
      (microsoft.public.frontpage.client)

    Loading