Bug 149018 - capturing oopses via serial console
capturing oopses via serial console
Status: CLOSED WORKSFORME
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ernie Petrides
Brian Brock
: FutureFeature
: 149115 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-17 17:45 EST by Jure Pečar
Modified: 2007-11-30 17:07 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-06 19:38:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jure Pečar 2005-02-17 17:45:31 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; rv:1.7.3) Gecko/20041014 Firefox/0.10.1

Description of problem:
I have all my servers' serial consoles connected to one machine with many serial ports, where I can access them via minicom. I also have watchdog modules configured on servers to autoreboot them in case of problems.

Every now and then some server goes down with an oops. My idea for this serial console setup was simplified oops capturing, but there's a problem: when watchdog reboots the server, bios actually redraws the whole screen, deleting all the oops info. So I was thinking ... Could it be possible to add a simple loop to the oops printing function that would print a number of newlines after the oops info, where number would be taken as a kernel boot line parameter? So that bios would redraw over already blank screen and I could just scroll minicom buffer up to get the oops.

Version-Release number of selected component (if applicable):
any kernel

How reproducible:
Always

Steps to Reproduce:
1. set up a server with console on serial port and watchdog timer to reboot it
2. make someting to oops it
3. watch the console in minicom and observe bios overwriting oops data
  

Additional info:

I don't know if this can be acomplished with some minicom setting or possibly with using something else than minicom for serial terminal. If it is, I'd like to know how to do it. Afterall, I'd like to see where my machines are oopsing and figure out why.
Comment 1 Suzanne Hillman 2005-02-18 16:51:30 EST
Internal RFE bug #149115 entered; will be considered for future releases.
Comment 2 Ernie Petrides 2005-02-28 20:22:18 EST
Hello, Jure.  Could you simply use minicom's "capture" mechanism to log
all of the console output into a file?  To begin capturing, go into the
"Minicom Command Summary" menu with CTRL-A Z, then type L and provide a
file name for logging.

Please let me know if this satisfies your request.  Thanks.
Comment 3 Jure Pečar 2005-03-01 18:28:23 EST
Thanks for the suggestion.
I've enabled capturing in my minicoms. Will report back with results when new 
oops happens.
Comment 4 Ernie Petrides 2005-06-06 19:38:06 EDT
Closing under the assumption that minicom feature suffices.
Comment 5 Ernie Petrides 2005-10-06 19:47:59 EDT
*** Bug 149115 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.