summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
repo sync [Thu, 6 Jun 2013 21:21:06 +0000 (14:21 -0700)]
init: Changes logs for feedback from base.ext.# to base.#.ext
The user feedback was missing net.log files beyond the base name because
the iteration number was embedded in the logfile name. This change will
now pickup all of net.#.log.
BUG=chromium:218987
TEST=manual:
- edit /var/log/net.log
- cut all but, say, the last 3 lines
- edit /var/log/net.1.log
- paste the stuff from net.log
- modify the last line of net.1.log to contain 'frumpty' (make sure
the date and time are intact)
- file feedback
- check out the feedback report on:
https://feedback.corp.google.com/#/Product/208/Reports
- look at Product Specific Binary Data
- make sure 'frumpty' is found in the report in the 'system_logs.zip'
file
Change-Id: I3d6488fad11a2376ea5186178e9a41d4db097f7e
Reviewed-on: https://gerrit.chromium.org/gerrit/57832
Reviewed-by: Elly Jones <ellyjones@chromium.org>
Commit-Queue: Wade Guthrie <wdg@chromium.org>
Reviewed-by: Wade Guthrie <wdg@chromium.org>
Tested-by: Wade Guthrie <wdg@chromium.org>
Sameer Nanda [Thu, 14 Feb 2013 21:16:48 +0000 (13:16 -0800)]
eventlog: Added comment for powerd_suspend dependency
powerd_suspend calls the eventlog script to update the mosys eventlog
snapshot on every resume. Added comment noting this dependency.
BUG=chromium-os:38734
TEST=do a suspend-resume cycle. Then open up "eventlog" under
chrome://system. The last entry in eventlog should correspond
to the resume that just happened.
Change-Id: I8e0d337554c590f31af1d0ce5d9cd0d86a2d5a87
Reviewed-on: https://gerrit.chromium.org/gerrit/43303
Reviewed-by: Daniel Erat <derat@chromium.org>
Commit-Queue: Sameer Nanda <snanda@chromium.org>
Tested-by: Sameer Nanda <snanda@chromium.org>
Rahul Chaturvedi [Mon, 11 Feb 2013 22:52:53 +0000 (14:52 -0800)]
Remove the login-times logs from userfeedback reports.
BUG=chromium-os:38374
TEST=Send feedback report, confirm that the login-times log is not present.
Change-Id: I4441b5f13e8046b32af37554cda88b5b4c0b4f30
Reviewed-on: https://gerrit.chromium.org/gerrit/43062
Reviewed-by: Haixia Shi <hshi@chromium.org>
Commit-Queue: Rahul Chaturvedi <rkc@chromium.org>
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Tested-by: Rahul Chaturvedi <rkc@chromium.org>
Yufeng Shen [Fri, 21 Dec 2012 19:04:58 +0000 (14:04 -0500)]
Add touch_noise_feedback to feedback report
We have a daemon touch_noise_monitor that monitors touch noise
and dumps related logs to /var/log/touch_noise.log.
This patch adds the touch_noise.log to feedback report.
BUG=chrome-os-partner:16788
TEST=Make fake /var/log/touch_noise.log
Run sysinfo_script_runner, and make sure entry "touch-noise"
has the right content.
Change-Id: I6294d00155853bc2e9fb28bbc920071e4b160866
Reviewed-on: https://gerrit.chromium.org/gerrit/40089
Reviewed-by: Michael Spang <spang@chromium.org>
Commit-Queue: Yufeng Shen <miletus@chromium.org>
Tested-by: Yufeng Shen <miletus@chromium.org>
Stefan Reinauer [Thu, 18 Oct 2012 18:03:38 +0000 (11:03 -0700)]
Log firmware boot times and eventlog
BUG=none
TEST=boot ChromeOS, see /var/log/bios_times.txt and
/var/log/eventlog.txt
Change-Id: I055ab782de35ad61cb359c7c7a3822530ee400a5
Reviewed-on: https://gerrit.chromium.org/gerrit/35951
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Commit-Ready: Stefan Reinauer <reinauer@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Gaurav Shah [Mon, 1 Oct 2012 23:32:50 +0000 (16:32 -0700)]
sysinfo_runner: Also collect feedback logs from inside user's cryptohome
These logs can not be accessed by the debug daemon.
BUG=chromium-os:34817
TEST=check that feedback syslog archive contains the chrome_user_log
and its contents.
Change-Id: Ib62c00749aa30a3e7eb5de2680b10e18ef611c6e
Reviewed-on: https://gerrit.chromium.org/gerrit/34390
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Reviewed-by: Dave Moore <davemoore@chromium.org>
Commit-Ready: Gaurav Shah <gauravsh@chromium.org>
Tested-by: Gaurav Shah <gauravsh@chromium.org>
Yufeng Shen [Wed, 26 Sep 2012 22:56:46 +0000 (18:56 -0400)]
Pass option "status" to tpcontrol
The script tpcontrol is expecting command option "status" to dump
the trackpad info, otherwise it only shows help information.
BUG=chrome-os-partner:14591
TEST=/usr/share/userfeedback/scripts/sysinfo_script_runner -C 10 33025
and make sure tpcontrol shows useful information instead of help
information.
Change-Id: I4ca6f9b6fce259d0d6bb933a6421d9c89dfabed6
Reviewed-on: https://gerrit.chromium.org/gerrit/34148
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Commit-Ready: Yufeng Shen <miletus@chromium.org>
Tested-by: Yufeng Shen <miletus@chromium.org>
Michael Spang [Mon, 13 Aug 2012 19:16:17 +0000 (15:16 -0400)]
Add touchscreen log to user feedback
This adds a entry to the feedback report to generate touchscreen logs.
BUG=chrome-os-partner:11604
TEST=run feedback on link, verified logs present
Change-Id: I131d8700f28ee45676158083b0baaf590bffe1cf
Reviewed-on: https://gerrit.chromium.org/gerrit/30016
Reviewed-by: Yufeng Shen <miletus@chromium.org>
Commit-Ready: Michael Spang <spang@chromium.org>
Tested-by: Michael Spang <spang@chromium.org>
Elly Jones [Fri, 10 Aug 2012 21:56:14 +0000 (17:56 -0400)]
[userfeedback] call debugd's GetFeedbackLogs
BUG=chromium-os:33458
TEST=adhoc
CQ-DEPEND=Ib1540145d19c9f170893e7e7f70e8a7ebef2f29b
Change-Id: I92f84554ceb932aed75eb9c2dd25ea6a56fa1cee
Signed-off-by: Elly Jones <ellyjones@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/29922
Reviewed-by: Ben Chan <benchan@chromium.org>
Yusuke Sato [Tue, 7 Aug 2012 20:35:26 +0000 (13:35 -0700)]
Add keyboard and pointer info to chrome://system.
Since we're adding more and more keyboard hardware specific features (like crbug.com/140051 and crbug.com/121012), adding this kind of entry would make it easier to debug the features and to support users.
BUG=chromium:140051
TEST=ran 'gmerge userfeedback' and confirmed that the new entry 'xinput' appeared.
Change-Id: Idfe205ae1ca808f28a4265f0aca10d715331667a
Reviewed-on: https://gerrit.chromium.org/gerrit/29439
Tested-by: Yusuke Sato <yusukes@chromium.org>
Reviewed-by: Elly Jones <ellyjones@chromium.org>
Reviewed-by: Daniel Erat <derat@chromium.org>
Commit-Ready: Yusuke Sato <yusukes@chromium.org>
Vincent Palatin [Fri, 3 Aug 2012 16:59:52 +0000 (09:59 -0700)]
add full crossystem output to chrome://system
In order to help dev/normal mode switch debugging,
let's append the full output of "crossystem --all" at the end of the
bios_info section.
BUG=chromium-os:33231
TEST=on Link, open chrome://system web page and see the crossystem
output in the debugd-bios_info section.
Change-Id: I7d6f9cab51d6759934a3288ea5b0b675d7a550fe
Reviewed-on: https://gerrit.chromium.org/gerrit/29176
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Puneet Kumar <puneetster@chromium.org>
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Elly Jones [Fri, 27 Jul 2012 18:25:58 +0000 (14:25 -0400)]
[userfeedback] hack in touchpad logging
We ripped this out when we made debugd fetch these logs, but debugd's access is
broken because of ongoing work on its sandboxing stuff, so for now, hack these
logs back into userfeedback.
BUG=chromium-os:33025
TEST=adhoc
Run sysinfo_script_runner, grep for 33025
Change-Id: I17f8844a2e5b841ef97430b0d6f15af76fc90b58
Signed-off-by: Elly Jones <ellyjones@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/28608
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Elly Jones [Fri, 20 Jul 2012 22:17:12 +0000 (18:17 -0400)]
[userfeedback] include debugd logs
Right now the Chrome userfeedback code does not call debugd to ask for logs, so
include the debugd logs in the system logs. This will cause them to appear twice
in chrome://system (once under a 'debugd' heading), and all appear prefixed in
userfeedback logs. Oh well. Temporary hack until rkc@ lands a fix.
BUG=chromium-os:32771
TEST=Adhoc
Change-Id: I3461cfe9b9bf6f800e85791473b19f195eebfb5c
Signed-off-by: Elly Jones <ellyjones@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/28060
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Elly Jones [Tue, 12 Jun 2012 18:06:17 +0000 (14:06 -0400)]
[userfeedback] drop most log entries
Most of these are now provided by debugd's GetAllLogs() (added in
<https://gerrit.chromium.org/gerrit/#change,25007>).
BUG=chromium-os:30740
TEST=Adhoc
Go to chrome://system; see many fewer log entries.
Change-Id: I01194e5eba9fd1072141a3b007bd02bb7296b736
Signed-off-by: Elly Jones <ellyjones@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/25106
Reviewed-by: Kees Cook <keescook@chromium.org>
Dylan Reid [Sat, 21 Apr 2012 18:38:25 +0000 (11:38 -0700)]
Update copyright and fix comment spelling.
BUG=none
TEST=none
Change-Id: I021a0a8eb651ca3ace9cb949988cd3f0c340b374
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/20805
Dylan Reid [Fri, 20 Apr 2012 19:08:28 +0000 (12:08 -0700)]
Add CRAS server info to chrome://system.
Add info from the new audio server to chrome://system. Since the new
server becomes the default alsa card, make the alsa status print out
info from card 0.
BUG=chromium-os:25409
TEST=Manual, navigate to chrome://system and inspect cras and alsa
tags.
Change-Id: I97f8e56076321ff1172a252c2745aa363d2ac72c
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/20730
Yufeng Shen [Thu, 19 Apr 2012 19:51:42 +0000 (15:51 -0400)]
Add board-specific entry to chrome://system
BUG=chrome-os-partner:8474
TEST=Make sure board-specific entry shows under chrome://system
Change-Id: I3f71a3dc320d2651f9d48fd1ae0b858231773428
Reviewed-on: https://gerrit.chromium.org/gerrit/20619
Commit-Ready: Yufeng Shen <miletus@chromium.org>
Reviewed-by: Yufeng Shen <miletus@chromium.org>
Tested-by: Yufeng Shen <miletus@chromium.org>
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Rahul Chaturvedi [Wed, 11 Apr 2012 20:43:41 +0000 (20:43 +0000)]
Fix the sysinfo script to correctly use the if [ cond1 -a cond2 ]; format. Also changed to using while read instead of depending on 'line'
BUG=chromium-os:29174
TEST=Verified that this script works and gets the system information correctly.
Change-Id: Iabd078a63842f2913eb4f8e885688dc59c88406d
Reviewed-on: https://gerrit.chromium.org/gerrit/20017
Reviewed-by: Toni Barzic <tbarzic@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Rahul Chaturvedi <rkc@chromium.org>
Commit-Ready: Rahul Chaturvedi <rkc@chromium.org>
Yufeng Shen [Thu, 16 Feb 2012 21:23:14 +0000 (16:23 -0500)]
Add xrandr output to chrome://system
This adds output of "xrandr --verbose" to chrome://system to
better troubleshoot monitor related issues.
BUG=chromium-os:26038
TEST=Tested on Lumpy. Verified that item "xrandr" shows in
chrome://system and displays info when expanded.
Change-Id: I7be13e9800e7f3f6b850a58dd04f95a4fdedf3f4
Reviewed-on: https://gerrit.chromium.org/gerrit/16062
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Yufeng Shen <miletus@chromium.org>
Commit-Ready: Yufeng Shen <miletus@chromium.org>
Ronald G. Minnich [Thu, 9 Feb 2012 18:42:30 +0000 (10:42 -0800)]
Fix user feedback items
Some items had wrong paths or not path, and some probably no longer work
at all. This is just cleanup.
Fix some errors in the chrome:system menus
Not all menu items chrome:system worked. Partly it was due to simple
differences, such as referring to /sbin/lsmod when on busybox it is
/bin/lsmod; or assuming that something was in the path (lsusb)
when it was not (the chromium path is /bin:/usr/bin:/usr/bin/X11)
I added an 'env' command to make it easier for users to see just what
was what in the PATH and other variables.
removed whitespace at end of one comment
Added support for powerm files
remove trailing white space
BUG=chrome-os-partner:7911
TEST=boot chromeos and verify that all the chrome:system bits now work.
Change-Id: I78048a147ea3463f23074bb0036ec63cd19bbfca
Reviewed-on: https://gerrit.chromium.org/gerrit/15651
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Commit-Ready: Ronald G. Minnich <rminnich@chromium.org>
Tested-by: Ronald G. Minnich <rminnich@chromium.org>
Andrew de los Reyes [Tue, 31 Jan 2012 00:49:05 +0000 (16:49 -0800)]
sys logs info: call touchpad activity script to get log data
Rather than make this one-line command more complext, move it into a
helper script.
BUG=chromium-os:25678
TEST=tested on device
Change-Id: If6abb50bf0c4a15776388d2c7c112c1fd30f37f3
Reviewed-on: https://gerrit.chromium.org/gerrit/15070
Commit-Ready: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Dylan Reid [Fri, 27 Jan 2012 15:48:57 +0000 (07:48 -0800)]
Add amixer contents to chrome:://system.
BUG=17242
TEST=Look at amixer output on mario and lumpy.
Change-Id: Ib730ab28ba0f7e853cb9799acb0340ce14361f0a
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/15060
Reviewed-by: David Hendricks <dhendrix@chromium.org>
David Hendricks [Fri, 9 Dec 2011 19:45:29 +0000 (11:45 -0800)]
add memory_spd_info to chrome://system
This adds support for gathering and displaying JEDEC SPD information
via the "mosys memory spd print all" command.
BUG=chrome-os-partner:6410
TEST=Tested on Stumpy. Upstart job appears in /etc/init and
memory_spd_info button appears and displays info when expanded.
Change-Id: I2ba782e2b72713998b40ca07b73358208c909380
Reviewed-on: https://gerrit.chromium.org/gerrit/13442
Commit-Ready: David Hendricks <dhendrix@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
Benson Leung [Tue, 20 Dec 2011 02:09:59 +0000 (18:09 -0800)]
Increase bios_log limit to 2000 lines
The average coreboot log is 1200 lines. Increase the
limit set by get_log to 2000 just to be safe.
BUG=chromium-os:23979
TEST=None
Change-Id: I4497e89a1ff1d2831135a625d1cd84478ffcb3a9
Signed-off-by: Benson Leung <bleung@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/13218
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Benson Leung [Mon, 19 Dec 2011 22:21:44 +0000 (14:21 -0800)]
Add bios_log to chrome://system
Firmware on future systems will provide a complete log at
/sys/firmware/log.
Provide this under chrome://system under bios_log for better
debugging of firmware issues without access to a shell.
BUG=chromium-os:23979
TEST=go to chrome://system.
Expand bios_log. Verify this is the same output as
/sys/firmware/log
Change-Id: I6b5f32d75f13411b3bad5ee5d48e45b094bd51f6
Signed-off-by: Benson Leung <bleung@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/13180
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Andrew de los Reyes [Thu, 8 Dec 2011 01:27:24 +0000 (17:27 -0800)]
touchpad_activity: Never err; max of 2 files.
Change gathering of touchpad activity logs to never err, and to
support a max of 2 log files.
BUG=chromium-os:23908
TEST=tested on device w/ 0, 1, 2 logs available. Saw problem before,
but not after this fix.
Change-Id: Idaebdfa3e7a3eb4341cacdb55caa1e4586c6b13e
Reviewed-on: https://gerrit.chromium.org/gerrit/12602
Reviewed-by: Kees Cook <keescook@chromium.org>
Commit-Ready: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Andrew de los Reyes [Tue, 29 Nov 2011 23:42:09 +0000 (15:42 -0800)]
Send CMT version and latest activity to server
The logs are compressed on disk, so we use uuencode to format them for
the text log file. The file can be easily extracted by running
uudecode on the feedback log file.
BUG=chromium-os:23559
TEST=manually filed feedback; verified result
Change-Id: Ibee766e6487579133134a9a71b76f56d95434d44
Reviewed-on: https://gerrit.chromium.org/gerrit/12232
Reviewed-by: Puneet Kumar <puneetster@chromium.org>
Commit-Ready: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Paul Stewart [Tue, 25 Oct 2011 22:50:29 +0000 (15:50 -0700)]
Add "--no-log" argument to network_diag
BUG=chromium-os:22084
TEST=Browse to chrome://system, make sure nothing new appears in
Downloads/
Change-Id: I0494fd72e1b9d20be3e2e938d9bc7e9b688fc9f3
Reviewed-on: http://gerrit.chromium.org/gerrit/10683
Reviewed-by: Sam Leffler <sleffler@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Paul Stewart [Tue, 11 Oct 2011 22:03:10 +0000 (15:03 -0700)]
Add device statistics to user feedback log
This way feedback reports contain association state, connect bitrate
frequency, etc. Also one can get at this information now from
chrome://system.
BUG=chromium-os:20831
TEST=Manual. Go to chrome://system, generate feedback report
and read it back.
Change-Id: Ia14b9b8dc726b1350f7666a74c06710cee2eb552
Reviewed-on: http://gerrit.chromium.org/gerrit/9890
Reviewed-by: Sam Leffler <sleffler@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Katie Roberts-Hoffman [Tue, 16 Aug 2011 19:56:43 +0000 (12:56 -0700)]
Scripts to generate EC and BIOS info
Adding logging scripts via ec_info and bios_info which can be invoked on ARM and x86 systems to generate logs describing firmware version numbers, etc. Original ec_info and bios_info created from session_manager_setup.sh and had unstated platform dependency on x86. These scripts are launched via upstart job, firmware-version.conf.
BUG=chromium-os:19232
TEST=Manual test on seaboard variant
Change-Id: I399ddb1be68a982a74cf2443b12ea3e13517036e
Reviewed-on: http://gerrit.chromium.org/gerrit/6093
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Katie Roberts-Hoffman <katierh@chromium.org>
Simon Que [Thu, 28 Jul 2011 23:26:41 +0000 (16:26 -0700)]
Replace upower with power-supply-info
BUG=chromium-os:16640
TEST=go to "chrome://system" and check the "power supply info" entry to
see if it is reasonable.
Change-Id: I3873d0817fd707ab12727e4901e7e1f90e1190b6
Signed-off-by: Simon Que <sque@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/4975
Dave Moore [Fri, 22 Jul 2011 21:56:19 +0000 (14:56 -0700)]
Chrome moved its login logs because they now have urls
BUG=chromium-os:18087
TEST=Log in, open login-times on chrome:system and confirm that results show up
Change-Id: I01801dd6c36c366e426f3b32c39ca427d27fcd38
Reviewed-on: http://gerrit.chromium.org/gerrit/4619
Tested-by: Dave Moore <davemoore@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
David Rochberg [Thu, 7 Jul 2011 15:46:15 +0000 (11:46 -0400)]
Add connectivity stats to user feedback
BUG=chromium-os:14628
TEST=inspected chrome://system output
Change-Id: I12f7a14244bda8fed9c61d6b04eaf41b56f882c3
Reviewed-on: http://gerrit.chromium.org/gerrit/3729
Reviewed-by: Eric Shienbrood <ers@chromium.org>
Tested-by: David Rochberg <rochberg@chromium.org>
Benson Leung [Sat, 28 May 2011 02:29:07 +0000 (19:29 -0700)]
Upgrade Devkit-power to upower.
BUG=chromium-os:15600
TEST=go to chrome://system. expand upower and check
that it is reasonable.
Change-Id: I63a0b10fd127050fdfcc67699cff9d6d678f12aa
Signed-off-by: Benson Leung <bleung@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/1776
Reviewed-by: Simon Que <sque@chromium.org>
Satoru Takabayashi [Fri, 3 Jun 2011 10:24:48 +0000 (19:24 +0900)]
Add setxkbmap to chrome://system.
This will be useful for testing and investigation of bugs.
TEST=go to chrome://system and confirm that setxkbmap output was there.
BUG=16094
Change-Id: I5be1a1c05465b7688c4d39e43b82c6d7dced62cb
Reviewed-on: http://gerrit.chromium.org/gerrit/2031
Tested-by: Satoru Takabayashi <satorux@chromium.org>
Reviewed-by: Yusuke Sato <yusukes@chromium.org>
tbarzic [Wed, 25 May 2011 21:33:31 +0000 (14:33 -0700)]
Modified sysinfo_script_runner to enable filtering keys and values for network logs
BUG=chromium-os:15080
TEST=Manually ran "sysinfo_script_runner network" on ChromeOS and made sure output is as espected. Also checked chrome://system still displays right output.
Change-Id: Ic49a9a56513d390faa3c0c8d7faeb4dbded525c2
Reviewed-on: http://gerrit.chromium.org/gerrit/1650
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: Rahul Chaturvedi <rkc@chromium.org>
Tested-by: Toni Barzic <tbarzic@chromium.org>
Sam Leffler [Mon, 2 May 2011 21:38:33 +0000 (14:38 -0700)]
userfeedback: bump default data cap to be consistent with get_log
Increase default data cap on data collected by getmsgs to 130Kbytes.
This is based on get_log's cap of 1K lines at 132 chars/line.
BUG=chromium-os:14154
TEST=manual:run getmsgs --last '2 days' /var/log/messages | wc on a system w/ lots of log msgs and verify ~130Kbytes are returned
Change-Id: Ie37ed6a25e97cb3310e92c0d90235aaa061687e8
Reviewed-on: http://gerrit.chromium.org/gerrit/1187
Reviewed-by: Ken Mixter <kmixter@chromium.org>
Tested-by: Sam Leffler <sleffler@chromium.org>
Darin Petkov [Thu, 12 May 2011 19:36:57 +0000 (12:36 -0700)]
For user feedback, use 'crossystem hwid' to read the HWID.
This is more portable than the current hardware_class script that needs to be
made obsolete.
BUG=chromium-os:15260
TEST=on device, looked at chrome://system
Change-Id: I882ead84d66b2494f59f00810d46ba1d2889ac21
Reviewed-on: http://gerrit.chromium.org/gerrit/785
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Bill Richardson [Wed, 13 Apr 2011 03:28:09 +0000 (20:28 -0700)]
Put the final output of dev_debug_vboot under /var/log/
Change-Id: Id34b2a8cf2fa6940b73f11de3b8817477f4e001b
R=jimhebert@chromium.org,gauravsh@chromium.org
BUG=chromium-os:8947
TEST=manual
Boot, wait 60 seconds, navigate to chrome://system.
Click the "Expand" button for "verified boot".
You should see useful information.
Review URL: http://codereview.chromium.org/6835010
Bill Richardson [Fri, 8 Apr 2011 22:38:17 +0000 (15:38 -0700)]
Point to new location for "verified boot" section on chrome://system
BUG=chromium-os:8947
TEST=manual
Boot, wait 60 seconds, look at chrome://system, in "verified boot" section.
It should contain useful and interesting data.
Change-Id: I31655b1be70a216873e0c8a508f29138e5d61581
R=rspangler@chromium.org
Review URL: http://codereview.chromium.org/6825015
Louis Yung-Chieh Lo [Tue, 1 Mar 2011 02:54:24 +0000 (10:54 +0800)]
sys_log_utils.lst: sort the vpd entry with alphabet order.
Original approved CL is http://codereview.chromium.org/6538046/.
Change-Id: Ic37637218d5667f9be0d76d46159b5b10a09e688
BUG=Not a bug.
TEST=Just reordering, not tested.
Review URL: http://codereview.chromium.org/6580029
Louis Yung-Chieh Lo [Thu, 24 Feb 2011 10:45:38 +0000 (18:45 +0800)]
Add vpd 2.0 log file in chrome://system
VPD (Vital Product Data) are written into BIOS flash during factory.
It contains machine-specific information, e.g., mother board serial number,
MAC address, 3G module serial number...
Those information are important when user sends machine back to service cent
The log file is generated in session_manager.sh (see http://codereview.chromium.org/6543005). Will commit this CL after that CL.
Change-Id: Idd73b3fecf060a458a18fc8792ca2f31e21e6ac1
BUG=chromos-partner:1462
TEST=Tested on Mario. VPD info show in chrome://system.
Review URL: http://codereview.chromium.org/6538046
David Hendricks [Tue, 15 Feb 2011 23:12:49 +0000 (15:12 -0800)]
add ec_info to chrome://system screen
Change-Id: Id92b6f8957b5d228775584706cdb32a0a13fee65
BUG=BUG=chrome-os-partner:2092
TEST=Tested on an Alex
Review URL: http://codereview.chromium.org/6526021
Darin Petkov [Wed, 1 Dec 2010 20:31:22 +0000 (12:31 -0800)]
Include the 5 most recent update engine logs, up to 2000 lines in chrome:system.
BUG=9786
TEST=looked at chrome:system after several reboots
Change-Id: Id7ef94c6c1cb9ee22979a669f51c04b15d26f7b7
Review URL: http://codereview.chromium.org/5430006
Sam Leffler [Mon, 29 Nov 2010 19:34:09 +0000 (11:34 -0800)]
userfeedback: remove wpa_supplicant log
The /var/log/hostap.log file hasn't been used since we turned off
wpa_supplicant logging. This used to not be an issue but recent
mods to userfeedback cause a tab to be recreated with <no value>.
Fix this by removing the entry from the .lst file.
BUG=none
TEST=gmerge to device; run chrome:system and verify the wpa_supplicant tab is gone
Review URL: http://codereview.chromium.org/4165006
Change-Id: Ie8f63b58d6752378b51b1d21a96da029d7d35d27
Brian Stell [Wed, 24 Nov 2010 01:54:01 +0000 (17:54 -0800)]
remove style translations from font info and display version as n.nn (float) instead of 16.16
This change removes the "style" translations (and thus removes the invalid char in Garamond).
This also formats the version as a n.nn (eg, 1.03) instead of as a 16.16 number (eg, 67502).
Change-Id: I0dd6ffbd9ba08d3af21fa815b93b02117c26e865
BUG=chromium-os:9464
TEST=Enter "chrome://system" in the URL bar and note that there is a line "font_info" with a button next to it. Clicking on the button will show a list of fonts.
Review URL: http://codereview.chromium.org/5330002
Benson Leung [Tue, 16 Nov 2010 00:45:06 +0000 (16:45 -0800)]
Add devkit-power to chrome://system
BUG=chromium-os:9006
TEST=Opened chrome://system. Checked that devkit-power output
is consistent with running from console.
Change-Id: I5140ee26b02a9398efd31dfd5666a1c3cad33121
Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Sameer Nanda <snanda@chromium.org>
Review URL: http://codereview.chromium.org/5063001
Paul Stewart [Thu, 4 Nov 2010 06:03:33 +0000 (23:03 -0700)]
Insert a syslog message whenever user feedback is invoked
Also fix a bug in the code where the shell variable was misnamed
TEST=Hand-run script
BUG=chromium-os:7332
Change-Id: Ife3385c0a8f7cc01355791798287806fc49ecd4a
Review URL: http://codereview.chromium.org/4464001
Satoru Takabayashi [Fri, 29 Oct 2010 05:26:48 +0000 (14:26 +0900)]
Add content of /tmp/debug_vboot/noisy.log to chrome://system
BUG=chromium-os:8238
TEST=mkdir /tmp/debug_vboot; echo foobar > /tmp/debug_vboot/noisy.log; open chrome://system and confirmed that "verified boot: foobar" appeared.
Change-Id: If1122a378f0c689dfb11a1d2b82880fe4f304479
Review URL: http://codereview.chromium.org/4100009
Brian Stell [Thu, 28 Oct 2010 19:05:28 +0000 (12:05 -0700)]
sort the fonts
Change-Id: If3817b0d0189bfe75e52a468797baf10b173c466
BUG=7189
TEST=enter "chrome://system" in the URL bar, click the "font_version" button and the list should be sorted
Review URL: http://codereview.chromium.org/4146009
Greg Spencer [Wed, 27 Oct 2010 23:26:25 +0000 (16:26 -0700)]
This fixes a really tiny thing in handling of symbolic links
I wasn't canonicalizing the results, so relative links weren't being
followed properly.
BUG=http://crosbug.com/6343
TEST=ran on device, tested ALL the chrome://system parts this time.
Review URL: http://codereview.chromium.org/4105005
Change-Id: I32e282cc4e8909768358bd891be75173b25967e0
Greg Spencer [Wed, 27 Oct 2010 18:16:48 +0000 (11:16 -0700)]
Fixing get_log so that it works properly with symbolic links.
BUG=http://crosbug.com/6343
TEST=ran script on symbolic links and regular files.
Review URL: http://codereview.chromium.org/4190004
Change-Id: I892d530907b3653145db045368a5d9a487626f0f
Rahul Chaturvedi [Wed, 27 Oct 2010 02:28:32 +0000 (19:28 -0700)]
Made changes to seperate the script list files
into lst (simple listing) and clst (context listing); .clst files will have an
added paramater appended to the command line of the scripts that are called.
Change-Id: I815c51830cf52d0e2f796d444f6f2e5f3a49ccca
BUG=chromium-os:8217
TEST=Verified system feedback logs with sending feedback and going to
chrome://system; additionally dumped the last param from the get_log script
to verify that the correct context param was getting passed.
Review URL: http://codereview.chromium.org/4186003
Brian Stell [Wed, 27 Oct 2010 00:28:20 +0000 (17:28 -0700)]
list font version info in sys info
Change-Id: I9cf24e0367e369d3f7c52b32af563ad07cadd1d3
BUG=7189
TEST=type "chrome://system" in the Omni box and there should be a font_version line
Review URL: http://codereview.chromium.org/4151004
Greg Spencer [Thu, 21 Oct 2010 00:42:37 +0000 (17:42 -0700)]
This fixes some missing entries in the chrome://system page,
and adds some code to make sure that when something is missing
rather than just empty, we notice the difference.
Got rid of fontconfig.log, since it was never written by a
running system (we run fc-cache at build time, but not at runtime).
Fixed lsmod entry so it pointed to the right lsmod executable.
Got rid of the specialized get_client_id script, since it's job could
be handled by the new get_log script.
BUG=http://crosbug.com/6343
TEST=ran on a device, in both incognito and regular mode.
Review URL: http://codereview.chromium.org/4002002
Change-Id: I81b433c5737bc24ee5034b938940bc08db37c77d
Darin Petkov [Wed, 20 Oct 2010 15:38:19 +0000 (08:38 -0700)]
userfeedback: Run mm-status from its new base image location.
BUG=chromium-os:7930
TEST=chrome://system
Change-Id: I1d77c0dde94173876136c6063d949fee3229f923
Review URL: http://codereview.chromium.org/3947002
Mark Hayter [Thu, 23 Sep 2010 21:38:38 +0000 (14:38 -0700)]
Log bios information to allow display in about:system
This is part 2 of the fix, to put the bios info log in about:system
Part 1 is in the chromeos-init package, to generate the log
BUG=chromium-os:5557
TEST=Build image, check about:system on three different machine types
Change-Id: I719a678a377ccfc9732833ce5508a94458e3ef35
Review URL: http://codereview.chromium.org/3389027
Dave Moore [Wed, 8 Sep 2010 17:28:57 +0000 (10:28 -0700)]
Use new tpcontrol for status
BUG=NONE
TEST=There should be an entry for "touchpad" which works on both
x86-generic and x86-dogfood
Review URL: http://codereview.chromium.org/3357015
Chris Masone [Fri, 3 Sep 2010 16:07:41 +0000 (09:07 -0700)]
[userfeedback] about:system needs to point to new chrome log locations
Change-Id: Id4d23b25cab3e5b893aef65772f84d2746b6f90b
BUG=None
TEST=manual
Review URL: http://codereview.chromium.org/3309008
Sam Leffler [Fri, 27 Aug 2010 18:58:27 +0000 (11:58 -0700)]
fix getmsgs to display the last N lines
The previous code failed miserably for multiple files causing a chunk of
lines from somewhere in the middle to be extracted. Fix this by switching
to a brute-force technique:
1. reverse all the lines so they are sorted newest to oldest,
2. scan until we hit the first record w/ a timestamp before the
specified time (printing each line as we go),
3. reverse the lines output of 2 again so the result is re-sorted
from oldest to newest (could be removed if desired)
4. cap the output of 3 to guarantee we limit how much upload
BUG=6118
TEST=manual collect messages messages.[123], run getmsgs on the files and verify the output is correct based on the timestamp
Review URL: http://codereview.chromium.org/3280001
J. Richard Barnette [Thu, 5 Aug 2010 21:13:48 +0000 (14:13 -0700)]
Add LICENSE file
Amit Singh [Tue, 27 Jul 2010 20:54:14 +0000 (13:54 -0700)]
Added the output of synclient -l (trackpad settings) to about:system.
Review URL: http://codereview.chromium.org/3054020
Steven Bennetts [Mon, 26 Jul 2010 17:47:25 +0000 (10:47 -0700)]
Modify sysinfo_script_runner to be able to filter out non ascii7 characters for utf8 compatibility.
BUG=http://code.google.com/p/chromium-os/issues/detail?id=5003
TEST=manual (with a debug build and log files listed in /share/userfeedback/etc/sys_log_utils.lst with ASCII8 or garbage characters, go to about:system. The log should show up, with "~" replacing any invalid characters.)
Review URL: http://codereview.chromium.org/3031019
Sam Leffler [Mon, 26 Jul 2010 15:33:20 +0000 (08:33 -0700)]
fix msg log extraction for short files
awk's END can fire unexpectedly causing NLINES='164 164', breaking the
subsequent tail cmd; just use the brute force approach
TEST=run getmsgs on many different-size files
Review URL: http://codereview.chromium.org/3045012
Sam Leffler [Fri, 23 Jul 2010 17:35:22 +0000 (10:35 -0700)]
Add more network-related data to userfeedback.
- rename getmsgs.sh to getmsgs
- extend getmsgs to take filename and time period on cmd line
- change script running to not collect log data in a shell variable
but instead emit it directly to stdout; this is important when lots
of data are collected
- collect last 2 hours of /var/log/messages
- add last 30 minutes of /var/log/hostap.log
TEST=ran script runner and check the output; ran about:system and checked the output; ran getmsgs separately with a variety of arguments and files
Review URL: http://codereview.chromium.org/3020017
Dave Moore [Wed, 21 Jul 2010 18:49:12 +0000 (11:49 -0700)]
Added boot and login times to about://system
BUG=4727
Review URL: http://codereview.chromium.org/3008018
Chris Masone [Mon, 19 Jul 2010 20:33:54 +0000 (13:33 -0700)]
Add libcros_log to about:system
Review URL: http://codereview.chromium.org/2882010
Zelidrag Hornung [Fri, 16 Jul 2010 23:06:05 +0000 (16:06 -0700)]
modified Sam's script for extracting recent info from system logs
BUG=chromium-os:4188
TEST=none
Review URL: http://codereview.chromium.org/2847024
Chris Sosa [Mon, 12 Jul 2010 22:07:27 +0000 (15:07 -0700)]
Adds additional logs into about:system
TEST=Gmerged manually onto my system and verified each log added was there.
BUG=4054
Review URL: http://codereview.chromium.org/2936007
Darin Petkov [Fri, 2 Jul 2010 19:51:02 +0000 (12:51 -0700)]
Don't rely on "find" to get the client_id -- it's not available in the release.
BUG=4317
TEST=gmerge'd on device,inspected about:system
Review URL: http://codereview.chromium.org/2827045
Vince Laviano [Thu, 1 Jul 2010 22:53:58 +0000 (15:53 -0700)]
Add output of mm-status and mm-list-modems scripts to about:system.
Alphabetize contents of sys_log_utils.lst for clarity.
BUG=chromium-os:4305
TEST=Viewed about:system output.
Review URL: http://codereview.chromium.org/2824032
rginda [Mon, 28 Jun 2010 16:35:26 +0000 (09:35 -0700)]
deal with spaces in the .lst files
(also fixed trailing whitespace)
BUG=None
TEST=Create sample .lst file with spaces and ensure output is correct
Sample lst file was:
echo,echo foo, bar
and it produced:
echo="""foo, bar"""
Review URL: http://codereview.chromium.org/2837017
Darin Petkov [Mon, 28 Jun 2010 16:17:01 +0000 (09:17 -0700)]
Add the hardware_class (HWID, hardware qual ID) to about:system.
BUG=none
TEST=tried the updated sys_log_utils.lst on the netbook.
Review URL: http://codereview.chromium.org/2808024
Zelidrag Hornung [Tue, 22 Jun 2010 18:42:42 +0000 (11:42 -0700)]
Added ifconfig and messages.1 dump to about:system page.
BUG=chromium-os:4188
TEST=make sure messages.1 and ifconfig dump appears in about:system page
Review URL: http://codereview.chromium.org/2846022
Zelidrag Hornung [Tue, 8 Jun 2010 16:28:28 +0000 (09:28 -0700)]
added ps to system logs
BUG=chromium-os:3542
Review URL: http://codereview.chromium.org/2750001
Ryan Cairns [Tue, 8 Jun 2010 01:07:19 +0000 (18:07 -0700)]
Refactors our user feedback scripts take 2
BUG=chromium-os:3542
Review URL: http://codereview.chromium.org/2691002
Anush Elangovan [Sat, 5 Jun 2010 20:12:31 +0000 (13:12 -0700)]
Setup code review inheritance
Change-Id: I3dc88a7afcb1e2a1840fb30bf1f130dd3e0e1725
Zelidrag Hornung [Thu, 27 May 2010 01:29:20 +0000 (18:29 -0700)]
Added clientid to feedback reports
BUG=2756
TEST=none
Review URL: http://codereview.chromium.org/2287003
Rahul Chaturvedi [Wed, 19 May 2010 19:42:12 +0000 (12:42 -0700)]
Fixed nits
Rahul Chaturvedi [Wed, 19 May 2010 06:46:29 +0000 (23:46 -0700)]
Review changes incorporated.
Rahul Chaturvedi [Tue, 18 May 2010 03:53:54 +0000 (20:53 -0700)]
Cleaned up the scripts
Rahul Chaturvedi [Tue, 18 May 2010 03:50:33 +0000 (20:50 -0700)]
Added the sys_basics example script
Rahul Chaturvedi [Fri, 14 May 2010 19:15:09 +0000 (12:15 -0700)]
Userfeedback script changes.
Rahul Chaturvedi [Wed, 12 May 2010 23:24:53 +0000 (16:24 -0700)]
Initial scripts for system log collection for userfeedback