New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 731007 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

factory: Add /dev/store/console-ramoops* into logs of boot failure.

Project Member Reported by hungte@chromium.org, Jun 8 2017

Issue description

Currently most our tools will collect /var/log/messages,dmesg or mosys lots (utils/sys_utils) but we found it's more useful to catch kernel panic if console-ramoops is available.

Please consider revising OnUnexpectedReboot (currently bound to GetStartupMessages) to gather console-ramoops* if possible.
 

Comment 1 by hungte@chromium.org, Jul 14 2017

Cc: -youcheng@chromium.org -stimim@chromium.org chromeos-factory-eng@google.com
After doing some survey on /dev/pstore on existing chromium issues, and referring to the crash collector of the chromiumos autotest framework, I think two files can be added to our crash report during the factory flow:
1. /dev/pstore/console-ramoops
2. /sys/kernel/debug/dri/0/i915_error_state (on Intel systems only)

One can refer to https://chromium-review.googlesource.com/c/195448, which added these two files to the crash collector in the autotest framework.

A draft for the modification is here: https://chromium-review.googlesource.com/c/611846
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/factory/+/e203d605c9da745a20a85fbdebca5f5fcb87411f

commit e203d605c9da745a20a85fbdebca5f5fcb87411f
Author: Shen-En Shih <petershih@chromium.org>
Date: Fri Aug 11 15:36:12 2017

utils: Collect pstore and i915 in crash collector

Collect console-ramoops and i915_error_state in the
crash info collector.

BUG= chromium:731007 
TEST=make test
TEST=manually test on a Chromebook

Change-Id: I18d08793d9d61e8d4480a5ffde7fb3145d2d489a
Reviewed-on: https://chromium-review.googlesource.com/611846
Commit-Ready: Shen-En Shih <petershih@chromium.org>
Tested-by: Shen-En Shih <petershih@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>

[modify] https://crrev.com/e203d605c9da745a20a85fbdebca5f5fcb87411f/py/utils/sys_utils.py

Status: Fixed (was: Untriaged)

Comment 5 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment