chromiumos/platform/workarounds.git
16 months agoUser level crashes have to be copied using sudo 69/59569/2 factory-4455.B factory-pit-4390.B factory-pit-4471.B firmware-falco_peppy-4389.B firmware-leon-4389.26.B firmware-pit-4482.B firmware-wolf-4389.24.B master release-R29-4319.B release-R30-4537.B stabilize-4443.B stabilize-4512.B
Kris Rambish [Fri, 21 Jun 2013 17:35:10 +0000 (10:35 -0700)]
User level crashes have to be copied using sudo

TEST=Manual, ran it
BUG=None

Change-Id: I5198aa54e25e4eeb64fc43538492160fd3bb70ec
Reviewed-on: https://gerrit.chromium.org/gerrit/59569
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Viral Modi <viralmodi@chromium.org>
16 months agoUsing bash lists so switching to a bash script. 10/59110/2 factory-4290.B
Kris Rambish [Tue, 18 Jun 2013 22:37:22 +0000 (15:37 -0700)]
Using bash lists so switching to a bash script.

BUG=chromium:251449
TEST=Broke rootfs and ran with out bash in the front like I did
the last time and missed this, ugh.

Change-Id: Ib6fcfaeec4f312af7d1b25f5b8cee726cf58d9f7
Reviewed-on: https://gerrit.chromium.org/gerrit/59110
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Viral Modi <viralmodi@chromium.org>
Commit-Queue: Kris Rambish <krisr@chromium.org>

16 months agoUpdate generate_logs to handle multi-profiles. 61/57561/4 stabilize-4287.B
Kris Rambish [Wed, 5 Jun 2013 03:26:41 +0000 (20:26 -0700)]
Update generate_logs to handle multi-profiles.

Enumerate through both directories that each user owns.  Also
did some cleanup and removed some functionality that is never
used.

BUG=chromium:221773
TEST=Manual, ran it

Change-Id: I505364f5ee2d2ae28398a0ed70b02094bd2eaf62
Reviewed-on: https://gerrit.chromium.org/gerrit/57561
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Elly Jones <ellyjones@chromium.org>
Commit-Queue: Kris Rambish <krisr@chromium.org>

16 months agoChange generage_logs zipped folder message to reflect new extension 73/57273/3 factory-pit-4280.B factory-spring-4262.B stabilize-4255.B
Bernie Thompson [Fri, 31 May 2013 22:45:24 +0000 (15:45 -0700)]
Change generage_logs zipped folder message to reflect new extension

The generate_logs utility now uses .gz compression so we can print the file
generated with a .gz extension, also making the path to the file complete
for copy/paste purposes.

BUG=chrome-os-partner:19635
TEST=Manual, run generate_logs, check message.

Change-Id: I25e9bd3f82502673533ddc500e599fabd914a7fb
Reviewed-on: https://gerrit.chromium.org/gerrit/57273
Tested-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Yusuf Mohsinally <mohsinally@chromium.org>
Commit-Queue: Bernie Thompson <bhthompson@chromium.org>

17 months agoCall audio_diagnostics instead of cras_test_client to collect more information. 79/50979/3 factory-4128.B factory-spring-4131.B
Chih-Chung Chang [Mon, 13 May 2013 11:40:23 +0000 (19:40 +0800)]
Call audio_diagnostics instead of cras_test_client to collect more information.

BUG=chrome-os-partner:19180
TEST=run the generate_logs command and check the output file.
CQ-DEPEND=CL:50978

Change-Id: I4d7e1e88de90ee56325f84013770b37a0cdda41d
Reviewed-on: https://gerrit.chromium.org/gerrit/50979
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Chih-Chung Chang <chihchung@chromium.org>
Tested-by: Chih-Chung Chang <chihchung@chromium.org>
19 months agoDump cras status with generate_logs. 02/45202/2 factory-spring-3842.B release-R27-3912.B release-R28-4100.B stabilize-3881.0.B stabilize-3912.79.B stabilize-4008.0.B stabilize-4035.0.B stabilize-4068.0.B stabilize-4100.38.B stabilize-spring-4100.53.B toolchainA toolchainB
Chih-Chung Chang [Tue, 12 Mar 2013 09:22:03 +0000 (17:22 +0800)]
Dump cras status with generate_logs.

TEST=run the generate_logs command and check the output cras.txt file.
BUG=None

Change-Id: I7656f7c8511ce106022d1869109e83cb35da1308
Reviewed-on: https://gerrit.chromium.org/gerrit/45202
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Kris Rambish <krisr@chromium.org>
Commit-Queue: Chih-Chung Chang <chihchung@chromium.org>
Tested-by: Chih-Chung Chang <chihchung@chromium.org>
19 months agoRemove directory rabbit-hole from generate_logs output 87/45287/2
Julius Werner [Wed, 13 Mar 2013 02:39:41 +0000 (19:39 -0700)]
Remove directory rabbit-hole from generate_logs output

This patch changes the output tarball from generate_logs to directly
include the diagnostic_logs payload directory, instead of the absolute
path chain through /home/chronos/user/Downloads, which will make the
file easier to handle.

It also changes the compression algorithm to gzip, which reduces the
script's runtime on my log-burdened Link by roughly a factor of 4,
while less than doubling the output size (as the time to copy it over
100baseT is negligible compared to the runtime, I would consider this
an improvement).

BUG=None
TEST=None

Change-Id: Ic2b9a8c5cbc714127599f059a1f07e0421a49a74
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/45287
Reviewed-by: Kris Rambish <krisr@chromium.org>
19 months agoAdding network_diagnostics to generate_logs 51/44951/4
bmahadev [Fri, 8 Mar 2013 20:00:24 +0000 (12:00 -0800)]
Adding network_diagnostics to generate_logs
Including "network_diagnostics" in script and updating shill profile path

TEST=Manual
BUG=None

Change-Id: Ia73ad2e563f5674d26e758160bdb774b31776484
Reviewed-on: https://gerrit.chromium.org/gerrit/44951
Tested-by: Bindu Mahadev <bmahadev@chromium.org>
Reviewed-by: Kris Rambish <krisr@chromium.org>
Commit-Queue: Bindu Mahadev <bmahadev@chromium.org>

19 months agoAdd autotest option to generate_logs and fix pstore retrieval 54/45254/4
Julius Werner [Tue, 12 Mar 2013 21:35:02 +0000 (14:35 -0700)]
Add autotest option to generate_logs and fix pstore retrieval

This patch adds the local autotest results directory to the tarball
from generate_logs. This will be helpful in cases where a lab device
looses its connection during a test and autotest's usual log retrieval
mechanism fails.

This also fixes a typo in /dev/pstore/console-ramoops, which prevented
the file from being properly retrieved.

BUG=chromium-os:38995
TEST=Run it with --autotest, make sure the tarball contains
console-ramoops and an autotest folder with results.

Change-Id: I36334abee6daeda058d81052478636bb7cda4569
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/45254
Reviewed-by: Chris Sosa <sosa@chromium.org>
19 months agoGrab modem status with generate_logs 03/44703/2 firmware-spring-3824.4.B firmware-spring-3824.55.B firmware-spring-3824.84.B firmware-spring-3824.B firmware-spring-3833.B
Kris Rambish [Wed, 6 Mar 2013 01:03:26 +0000 (17:03 -0800)]
Grab modem status with generate_logs

TEST=Manual
BUG=None

Change-Id: Ifca807c34058c7f37504e0946527bd2148d8db21
Reviewed-on: https://gerrit.chromium.org/gerrit/44703
Reviewed-by: Viral Modi <viralmodi@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
20 months agoDelete the extra network_diagnostics file. 31/43231/3
Kris Rambish [Thu, 14 Feb 2013 00:03:03 +0000 (16:03 -0800)]
Delete the extra network_diagnostics file.

Also put in more existence checkers to make the output
of the script less noisy.

BUG=chromium-os:38882
TEST=Ran it

Change-Id: I6b487def537918f0f85a15e41eb7be5ecc163106
Reviewed-on: https://gerrit.chromium.org/gerrit/43231
Reviewed-by: Kris Rambish <krisr@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
20 months agoDump Shill's service list 44/42644/4 stabilize-bluetooth-smart
Ashok Nagarajan [Tue, 5 Feb 2013 02:03:59 +0000 (18:03 -0800)]
Dump Shill's service list

Obtain shill's service list when generating logs. This helps to map service
number to SSIDs during debugging.

BUG=None
TEST=tested manually by running $ /usr/bin/generate_logs

Change-Id: I51f0a4722d6b245fa9a23c0c0d9feeedf6d6390d
Signed-off-by: Ashok Nagarajan <asnagarajan@chromium.org>
Tested-by: Ashok Nagarajan <asnagarajan@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/42644
Reviewed-by: Kris Rambish <krisr@chromium.org>
20 months agoMake lsusb verbose. 43/42843/2
Kris Rambish [Thu, 7 Feb 2013 02:38:28 +0000 (18:38 -0800)]
Make lsusb verbose.

TEST=Ran it
BUG=None

Change-Id: Id379014740c048e74a8f1cc655ce2b0ff538580a
Reviewed-on: https://gerrit.chromium.org/gerrit/42843
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Stanley Wong <stanleyw@chromium.org>
20 months agoAdd lsusb output to generate_logs. 10/42810/2
Kris Rambish [Wed, 6 Feb 2013 23:59:15 +0000 (15:59 -0800)]
Add lsusb output to generate_logs.

BUG=None
TEST=Ran it

Change-Id: I3957867ebe252d92a1ca350f16672da505382c12
Reviewed-on: https://gerrit.chromium.org/gerrit/42810
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Stanley Wong <stanleyw@chromium.org>
20 months agoAdd preserved memory to the logs. 33/42633/3
Luigi Semenzato [Tue, 5 Feb 2013 19:18:33 +0000 (11:18 -0800)]
Add preserved memory to the logs.

I don't feel like opening a bug for this, but I will if asked.

BUG=none
TEST=none
BRANCH=none

Change-Id: I26b0ed205d7a2d2f9f70a84c5cd2900086eb7323
Reviewed-on: https://gerrit.chromium.org/gerrit/42633
Commit-Queue: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Tested-by: Luigi Semenzato <semenzato@chromium.org>
22 months agoAdd oem folder gathering 32/39032/3 factory-3536.B release-R25-3428.B stabilize-3428.110.0 stabilize-3428.149 stabilize-3428.149.B stabilize-3428.193 stabilize-3658.0.0 stabilize2 toolchain-3428.65.B
Kris Rambish [Sat, 1 Dec 2012 03:15:18 +0000 (19:15 -0800)]
Add oem folder gathering

BUG=chromium-os:25769
TEST=Ran it

Change-Id: I7c0209fe4fd4fbc3ddd920a276ac7d9335e597d2
Reviewed-on: https://gerrit.chromium.org/gerrit/39032
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Stanley Wong <stanleyw@chromium.org>
Commit-Ready: Kris Rambish <krisr@chromium.org>

23 months agoAdd touchscreen event log to generate_logs 31/38831/2
Michael Spang [Wed, 28 Nov 2012 19:41:29 +0000 (14:41 -0500)]
Add touchscreen event log to generate_logs

BUG=chromium-os:36722
TEST=generate_logs (once with touchscreen, once without)

Change-Id: I5b9fcaa8cd5c4892d970fd9530d4be74f48279cf
Reviewed-on: https://gerrit.chromium.org/gerrit/38831
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Ready: Michael Spang <spang@chromium.org>
Tested-by: Michael Spang <spang@chromium.org>
2 years agoAdd verbose to the xrandr command
Kris Rambish [Tue, 9 Oct 2012 23:26:27 +0000 (16:26 -0700)]
Add verbose to the xrandr command

TEST=Ran it
BUG=None

Change-Id: I53b9ddc3ba4074d85ba3560989b2ef2215ca9af5
Reviewed-on: https://gerrit.chromium.org/gerrit/35070
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Stanley Wong <stanleyw@chromium.org>
2 years agoDump trackpad data to log directory factory-2846.B factory-2848.B factory-2914.B factory-2985.B factory-2993.B factory-3004.B firmware-stout-2817.B release-R23-2913.B stabilize stabilize-daisy stabilize-link stabilize-link-2913.278
Kris Rambish [Fri, 24 Aug 2012 19:22:53 +0000 (12:22 -0700)]
Dump trackpad data to log directory

TEST=Ran it
BUG=chromium-os:32894

Change-Id: Ib5c0558f0bdb33dd70cbd38da0dde4ce955be816
Reviewed-on: https://gerrit.chromium.org/gerrit/31366
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Stanley Wong <stanleyw@chromium.org>
2 years agoAdd collection of xrandr output to generate_logs firmware-butterfly-2788.B
Kris Rambish [Tue, 21 Aug 2012 02:08:23 +0000 (19:08 -0700)]
Add collection of xrandr output to generate_logs

BUG=chromium-os:25768
TEST=Ran it

Change-Id: I69cfc28c27482776af524ee1f8d2178c642893d4
Reviewed-on: https://gerrit.chromium.org/gerrit/30945
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Stanley Wong <stanleyw@chromium.org>
2 years agoAdd grabbing the mount-encrypted log.
Kris Rambish [Mon, 20 Aug 2012 21:11:36 +0000 (14:11 -0700)]
Add grabbing the mount-encrypted log.

BUG=None
TEST=Ran it

Change-Id: I6abae81fdfba61299c85361d34ebf9c7bd3315a0
Reviewed-on: https://gerrit.chromium.org/gerrit/30915
Commit-Ready: Kris Rambish <krisr@chromium.org>
Reviewed-by: Kris Rambish <krisr@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
2 years agoCollect policy data for users and device. Also, remove obsolete collection of chrome...
Scott Cunningham [Thu, 2 Aug 2012 22:10:02 +0000 (15:10 -0700)]
Collect policy data for users and device. Also, remove obsolete collection of chrome logs.

BUG=None
TEST=Run $ /usr/bin/generate_logs

Change-Id: I94f76d5120e26a449a8de25754c83fd264e86da5
Reviewed-on: https://gerrit.chromium.org/gerrit/29102
Reviewed-by: Rohit Makasana <rohitbm@chromium.org>
Commit-Ready: Scott Cunningham <scunningham@chromium.org>
Reviewed-by: Scott Cunningham <scunningham@chromium.org>
Tested-by: Scott Cunningham <scunningham@chromium.org>
2 years agoAdding firmware event log in generate_logs factory-2717.B factory-2723.14.B firmware-link-2695.2.B firmware-link-2695.B firmware-parrot-2685.B firmware-snow-2695.90.B firmware-snow-2695.B release-R22-2723.B
Vincent Palatin [Wed, 18 Jul 2012 16:36:30 +0000 (16:36 +0000)]
Adding firmware event log in generate_logs

Important firmware / EC events are recorded in the log and are useful to
understand reboots/shutdown.

BUG=chrome-os-partner:32688
TEST=On link, run "generate_logs" and check the resulting archive.

Change-Id: Ib00f879b5c1e8920ada13cdfc896b9ec9e356181
Reviewed-on: https://gerrit.chromium.org/gerrit/27763
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
2 years agoAdding Network profiles to generate_logs factory-2268.16.B factory-2305.B factory-2338.B factory-2368.B factory-2394.B factory-2460.B factory-2475.B factory-2569.B firmware-link-2348.B release-R20-2268.B release-R21-2465.B
Stanley [Fri, 4 May 2012 17:39:22 +0000 (10:39 -0700)]
Adding Network profiles to generate_logs

Adding network profiles to generate_logs output.

TEST=run it
BUG=None

Change-Id: I5bf90835df9f5617ef9b81bba1b6e5ce737ad31b
Reviewed-on: https://gerrit.chromium.org/gerrit/21870
Commit-Ready: Stanley Wong <stanleyw@chromium.org>
Reviewed-by: Stanley Wong <stanleyw@chromium.org>
Tested-by: Stanley Wong <stanleyw@chromium.org>
Reviewed-by: Kris Rambish <krisr@chromium.org>
2 years agoUpdating generate_logs script to colllect profile data
Rohit Makasana [Tue, 17 Apr 2012 02:21:27 +0000 (19:21 -0700)]
Updating generate_logs script to colllect profile data

TEST=tested manually
BUG=chromium-os:28989

Change-Id: Id579a29ceafd8ce19400267c2e57f29e1853e7d3
Reviewed-on: https://gerrit.chromium.org/gerrit/20359
Reviewed-by: Kris Rambish <krisr@chromium.org>
Commit-Ready: Rohit Makasana <rohitbm@chromium.org>
Reviewed-by: Rohit Makasana <rohitbm@chromium.org>
Tested-by: Rohit Makasana <rohitbm@chromium.org>
2 years agoFixed dumping of TPM token contents; should be using libchaps.so. release-R19-2046.B
Darren Krahn [Wed, 28 Mar 2012 23:18:17 +0000 (16:18 -0700)]
Fixed dumping of TPM token contents; should be using libchaps.so.

Found this because pkcs11-tool crashes when passed an invalid library.

BUG=chromium-os:27629
TEST=Run generate_logs and verify that output says: "Dumped TPM token
contents" and tpm_token_contents.txt contains valid pkcs11-tool output.

Change-Id: I7cf983b260d28e264f5b4099c99fb51e56ef92e4
Reviewed-on: https://gerrit.chromium.org/gerrit/19262
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Commit-Ready: Darren Krahn <dkrahn@chromium.org>

2 years agoChange location of Chrome's "Crash Reports" directory. factory-1987.B
Michael Krebs [Tue, 6 Mar 2012 01:30:16 +0000 (17:30 -0800)]
Change location of Chrome's "Crash Reports" directory.

The commit http://codereview.chromium.org/9372087/ changed the location of
where Chrome's crash reports are saved, from "~/.config/google-chrome/Crash
Reports/" to "/var/log/chrome/Crash Reports/".

BUG=chromium-os:25089
TEST=Ran it

Change-Id: I44107c007423de744a89b6aab8dbb153ad587994
Reviewed-on: https://gerrit.chromium.org/gerrit/17379
Tested-by: Michael Krebs <mkrebs@chromium.org>
Reviewed-by: Nirnimesh <nirnimesh@chromium.org>
Commit-Ready: Michael Krebs <mkrebs@chromium.org>

2 years agoAdd ping test to generate logs
Pallavi Angampally [Wed, 15 Feb 2012 19:26:48 +0000 (11:26 -0800)]
Add ping test to generate logs

TEST=Ran it
BUG=chromium-os:26446

Change-Id: I45d46f4b71477fd9889c1e466e185a376e7569e5
Reviewed-on: https://gerrit.chromium.org/gerrit/15959
Reviewed-by: Kris Rambish <krisr@chromium.org>
Tested-by: Pallavi Angampally <pallavi@chromium.org>
Commit-Ready: Pallavi Angampally <pallavi@chromium.org>

2 years agoAdd /sys/firmware/log to log bundle.
Stefan Reinauer [Thu, 26 Jan 2012 23:26:37 +0000 (15:26 -0800)]
Add /sys/firmware/log to log bundle.

On coreboot systems we have the firmware boot log in
/sys/firmware/log. It would be extremely helpful if that
were bundled up by generate_logs.

BUG=none
TEST=see firmware_log.txt bundled up in log bundle.

Change-Id: I2b34bb610534855345e5fa31901f2b83311f250e
Reviewed-on: https://gerrit.chromium.org/gerrit/14913
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Commit-Ready: Stefan Reinauer <reinauer@chromium.org>

2 years agoCheck if the synaptic dbus channel exists. factory-1412.B release-R17-1412.B release-R18-1660.B
Kris Rambish [Wed, 23 Nov 2011 21:26:35 +0000 (13:26 -0800)]
Check if the synaptic dbus channel exists.

BUG=chromium-os:23361
TEST=Ran it
STATUS=Verified

Change-Id: I68a1d93420f42c7407633ccada4cd377e2d3f4a1
Reviewed-on: https://gerrit.chromium.org/gerrit/12083
Reviewed-by: Kris Rambish <krisr@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Nirnimesh <nirnimesh@chromium.org>
3 years agoUpdate to use new shflags location factory-1284.B firmware-kiev-2.112.B firmware-uboot_v2-1299.B
Sonny Rao [Fri, 21 Oct 2011 07:55:50 +0000 (07:55 +0000)]
Update to use new shflags location

BUG=chromium-os:21742
TEST=manual verify this works with new dev-utils/shflags package

Change-Id: I20fbf53949e2cea00806eca375cbad5e156a3c5c
Reviewed-on: https://gerrit.chromium.org/gerrit/10475
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: Sonny Rao <sonnyrao@chromium.org>
Tested-by: Sonny Rao <sonnyrao@chromium.org>
3 years agoMove workaround commands from crosh `help` to `help_advanced` factory-1020.B factory-1235.B factory-980.B release-1011.B release-R16-1193.B test-982.B
Guillaume Brunerie [Tue, 30 Aug 2011 00:59:49 +0000 (02:59 +0200)]
Move workaround commands from crosh `help` to `help_advanced`

gerrit.chromium.org/gerrit/6816 splitted the `help` command of crosh into
`help` and `help_advanced`. The two commands here should belong to
`help_advanced`. Unfortunately, the output of `help_advanced` is now a
little bigger than one page, but this only affects `help_advanced` on images
where the `crosh-workarounds` file is present (I don't know when it is included
but at least it's not on the official Alex releases).

BUG=chromium-os:12768
TEST=gmerged and checked the output of `help` and `help_advanced`

Change-Id: Ia2b181837f69b320f2dc9fd1112ca80cf08ce5d3
Reviewed-on: http://gerrit.chromium.org/gerrit/6927
Tested-by: Guillaume Brunerie <guillaume.brunerie@gmail.com>
Reviewed-by: Daniel Erat <derat@chromium.org>
3 years agoRemove obsolete command for setting proxy in crosh
Guillaume Brunerie [Mon, 29 Aug 2011 22:32:17 +0000 (00:32 +0200)]
Remove obsolete command for setting proxy in crosh

The comment says that "This option should be removed once proxy settings are
available in the UI". AFAIK proxy settings are availables in the UI, and the
corresponding code in /sbin/session_manager_setup.sh seems to have already
been removed anyway.

BUG=None
TEST=None

Change-Id: Ie300869d34369c2ad42bee246301fb06fb2fe831
Reviewed-on: http://gerrit.chromium.org/gerrit/6862
Tested-by: Guillaume Brunerie <guillaume.brunerie@gmail.com>
Reviewed-by: Daniel Erat <derat@chromium.org>
Reviewed-by: Dave Parker <dparker@chromium.org>
3 years agoworkarounds: collect cryptohomed and tpm token status in test logs
Ken Mixter [Fri, 12 Aug 2011 22:17:47 +0000 (15:17 -0700)]
workarounds: collect cryptohomed and tpm token status in test logs

BUG=none
TEST=run on device

Change-Id: Id1a95388236fe72ee7a3ad2a3dd3a46dc4a80370
Reviewed-on: http://gerrit.chromium.org/gerrit/5928
Reviewed-by: Ken Mixter <kmixter@chromium.org>
Tested-by: Ken Mixter <kmixter@chromium.org>
3 years agoAdd grabbing of Synaptic logs if available
Kris Rambish [Wed, 17 Aug 2011 04:25:13 +0000 (21:25 -0700)]
Add grabbing of Synaptic logs if available

BUG=chromium-os:16834
TEST=Ran it
Change-Id: I549c7059222b92a12fd54aae88b6dfc1da911319
Reviewed-on: http://gerrit.chromium.org/gerrit/6138
Reviewed-by: Kris Rambish <krisr@chromium.org>
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Stanley Wong <stanleyw@chromium.org>
3 years agoRun ls -alR on the stateful partition and save it 0.15.877.B firmware-881-u-boot-v1 firmware-u-boot-v1
Kris Rambish [Tue, 9 Aug 2011 18:58:07 +0000 (11:58 -0700)]
Run ls -alR on the stateful partition and save it

TEST=Ran it
BUG=chromium-os:18296
STATUS=Fixed

Change-Id: Ibec8f22a32222ccd5fd65c055b29e852cdf769a5
Reviewed-on: http://gerrit.chromium.org/gerrit/5575
Tested-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Kris Rambish <krisr@chromium.org>
Reviewed-by: Ken Mixter <kmixter@chromium.org>
3 years agoMove modem_set_carrier to crosh from crosh-workarounds 0.12.362.B 0.12.369.B 0.12.392.B 0.12.433.B 0.12.433.B109 0.12.433.B62 0.13.434.B 0.13.509.B 0.13.558.B 0.13.587.B 0.14.811.B 780.B
Jason Glasgow [Tue, 22 Mar 2011 17:43:23 +0000 (13:43 -0400)]
Move modem_set_carrier to crosh from crosh-workarounds

BUG=chromium-os:13312
TEST=installed, and ran modem_set_carrier from crosh. Verified help output looks right.

Review URL: http://codereview.chromium.org/6708067

Change-Id: I5077b658c72eea30afa9c7c2ef3aca3f09679280

3 years agoChange to include log /home/chronos/Local State
Ruchi Chaturvedi [Wed, 16 Mar 2011 23:39:47 +0000 (16:39 -0700)]
Change to include log /home/chronos/Local State

Change-Id: Icecfa11b9e41016239a77de0a1b2835c897edef2

BUG=chromium-os:13183
TEST= Use generate_logs script, untar the resultant file and check if /home/chronos/Local State is also copied.

STATUS=Fixed

Review URL: http://codereview.chromium.org/6677091
Patch from Ruchi Chaturvedi <ruchic@chromium.org>.

3 years agoRemove obsolete channel_change and mkcrosusb commands. 0.11.241.B 11.1.241.B
Darin Petkov [Wed, 2 Mar 2011 21:44:22 +0000 (13:44 -0800)]
Remove obsolete channel_change and mkcrosusb commands.

They've been deprecated since October 2010.

BUG=chromium-os:11075
TEST=build_image, ctrl-alt-t, help

Change-Id: I4d186c26654d4b9eed62a980fe7854107a8810af

Review URL: http://codereview.chromium.org/6597082

3 years agocrosh: remove 'top' from crosh-workarounds.
Darin Petkov [Fri, 5 Nov 2010 01:07:37 +0000 (18:07 -0700)]
crosh: remove 'top' from crosh-workarounds.

It's part of crosh now.

BUG=8750
TEST=gmerged on device

Change-Id: I2f61c71f958b18762ec93ffaef60f390fa1f2ada

Review URL: http://codereview.chromium.org/4532002

3 years agoworkarounds: Delete mm_activate from crosh.
Elly Jones [Thu, 4 Nov 2010 21:47:28 +0000 (17:47 -0400)]
workarounds: Delete mm_activate from crosh.

This command doesn't work without flimflam-test installed, and with
flimflam-test installed (that is, on a test build), one can just run mm-activate
directly.

BUG=chromium-os:8653
TEST=Adhoc
Start crosh, type 'help'; no mm_activate :-)

Change-Id: I027f97dd71b69a8247410d446bfe49f2c2dc5648
Where: locus chromeos-dogfood no-mm-activate
Signed-off-by: Elly Jones <ellyjones@chromium.org>
signed-off-by: David Rochberg <rochberg@chromium.org>

Review URL: http://codereview.chromium.org/4490003

4 years agocrosh-workarounds: add wlan_bgscan cmd
Sam Leffler [Fri, 29 Oct 2010 21:53:43 +0000 (14:53 -0700)]
crosh-workarounds: add wlan_bgscan cmd

Add support to tweak the WiFi background scan parameters so we can
find the best production settings.

While here remove extraneous blank lines in the help that cause lots
of text to scroll off the screen in the alt-console (we still overflow
but not as much).  Also fix path to mm_activate.

BUG=6408
TEST=manual:run help and wlan_bgscan w/ possible options

Review URL: http://codereview.chromium.org/4114005

Change-Id: I44a43bc2cc6248c05da3c472cd18fe240ef0df95

4 years agoremove crosh wlan workarounds
Sam Leffler [Mon, 18 Oct 2010 20:24:25 +0000 (13:24 -0700)]
remove crosh wlan workarounds

These cmds are not needed and haven't worked since the root fs became
signed by default.

BUG=none
TEST=gmerge to device; check help at crosh prompt to verify cmds are gone

Review URL: http://codereview.chromium.org/3787003

Change-Id: I0fc04f7f779ab5b0dba5f3a3384c5994fda38aaf

4 years agochannel_change, mkcrosusb: note that they are deprecated
Will Drewry [Thu, 14 Oct 2010 19:19:23 +0000 (14:19 -0500)]
channel_change, mkcrosusb: note that they are deprecated

Since sudo is now password-protected, these functions will not
work in general.  Let's point users to the right place!

TEST=in progress
BUG=none

Change-Id: I775da98bdc5b46037880ef98db676fd3e987e3c5

Review URL: http://codereview.chromium.org/3809001

4 years agocrosh-workarounds: Add mm_activate.
Elly Jones [Tue, 28 Sep 2010 20:33:28 +0000 (16:33 -0400)]
crosh-workarounds: Add mm_activate.

It may not look like it, but this is part of a workaround for 6818. Once we have
the ability to activate manually, we can remove the automatic activation code
from flimflam, since end-users will never have automatic activation.

TEST=Adhoc
emerge-$board workarounds ; echo help | crosh

BUG=None

Change-Id: I148723a511907874a47d18b47555c9636a94eed9
Signed-Off-By: Elly Jones <ellyjones@chromium.org>
Review URL: http://codereview.chromium.org/3529001

4 years agoAdding Consent To Send Stats to the script
Ruchi Chaturvedi [Thu, 23 Sep 2010 19:37:31 +0000 (12:37 -0700)]
Adding Consent To Send Stats to the script

Change-Id: I345a2e139dbf7780f817586e9cfe4302f3a432cb

BUG=
TEST=Run generate_logs script and check the tar file that it contains the Consent To Send Stats file.

Review URL: http://codereview.chromium.org/3425017
Patch from Ruchi Chaturvedi <ruchic@chromium.org>.

4 years agocrosh-workarounds: add top
rginda [Fri, 17 Sep 2010 21:07:50 +0000 (14:07 -0700)]
crosh-workarounds: add top

Change-Id: I4a7bb4e885546d914e996e8376185aeb05f1e6d1

BUG=none
TEST=ran crosh in chroot, checked help text and top command.

Review URL: http://codereview.chromium.org/3404007

4 years agoFix indent level for modem_set_carrier crosh entry.
Duncan Laurie [Thu, 16 Sep 2010 15:45:24 +0000 (08:45 -0700)]
Fix indent level for modem_set_carrier crosh entry.

BUG=none
TEST=manual:built image and verified crosh help is aligned with the rest

Change-Id: Ib5c3149288bb995a63e28552addd89cdfbe3c34d

Review URL: http://codereview.chromium.org/3408007

4 years agowlan plugin switcher
Sam Leffler [Thu, 2 Sep 2010 22:34:45 +0000 (15:34 -0700)]
wlan plugin switcher

BUG=none
TEST=gmerge onto system; test switching between old and new plugins

Review URL: http://codereview.chromium.org/3299006

4 years agoAdd cryptohome status to crosh workarounds.
Frank Swiderski [Wed, 1 Sep 2010 23:08:34 +0000 (16:08 -0700)]
Add cryptohome status to crosh workarounds.

Change-Id: I19a55033f7ea8484374dec3260e1b0e77b3b0f68

BUG=NONE
TEST=gmerge workarounds, cryptohome command

Review URL: http://codereview.chromium.org/3215015

4 years agoHandle change in chrome log name
Ruchi Chaturvedi [Wed, 1 Sep 2010 01:37:27 +0000 (18:37 -0700)]
Handle change in chrome log name

BUG= none
TEST= Run the generate_logs script in virtual terminal and check the log tar file to see chrome_logs_* OR chrome_* logs from /home/chronos and /home/chronos/user are collected depending on the build used.

As of now, Release candidate builds have logs- chrome_logs_*
Latest TOT builds have logs- chrome_*

Review URL: http://codereview.chromium.org/3221006
Patch from Ruchi Chaturvedi <ruchic@chromium.org>.

4 years agoTBR: Second test
Chris Sosa [Fri, 20 Aug 2010 07:43:58 +0000 (00:43 -0700)]
TBR: Second test

4 years agoTBR: Test for pre-flight queue.
Chris Sosa [Fri, 20 Aug 2010 06:24:27 +0000 (23:24 -0700)]
TBR: Test for pre-flight queue.

4 years agoAdd LICENSE file
J. Richard Barnette [Thu, 5 Aug 2010 21:13:49 +0000 (14:13 -0700)]
Add LICENSE file

4 years agoChanges to generate_logs script to include more logs.
Ruchi Chaturvedi [Mon, 2 Aug 2010 17:41:11 +0000 (10:41 -0700)]
Changes to generate_logs script to include more logs.

Review URL: http://codereview.chromium.org/3056034
Patch from Ruchi Chaturvedi <ruchic@chromium.org>.

4 years agoArchive /var/log/libcros_log
Mitsuru Oshima [Sat, 24 Jul 2010 01:58:34 +0000 (18:58 -0700)]
Archive /var/log/libcros_log

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/3067001

4 years agoArchive chrome logs as well.
Mitsuru Oshima [Wed, 21 Jul 2010 18:55:38 +0000 (11:55 -0700)]
Archive chrome logs as well.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/3034020

4 years agoadd wlan_11n and wlan_tx_ampdu crosh cmds to control wifi settings
Sam Leffler [Wed, 21 Jul 2010 18:52:21 +0000 (11:52 -0700)]
add wlan_11n and wlan_tx_ampdu crosh cmds to control wifi settings

TEST=run each script w/o args, w/ --ena, and w/ --dis on machines w/ ath9k and iwlagn devices

Review URL: http://codereview.chromium.org/2884030

4 years agoAdded command to crosh to allow users to set the autoproxy used by Chrome.
Dave Parker [Fri, 16 Jul 2010 18:44:22 +0000 (11:44 -0700)]
Added command to crosh to allow users to set the autoproxy used by Chrome.

This is a temporary change until proxy settings are available in the UI. This change is ineffective until issue 2989001 is pushed to read the proxy value while starting chrome.

BUG=none
TEST=Verified proxy set correctly with "about:net-internals" when running image natively on a machine.

Review URL: http://codereview.chromium.org/3009002

4 years agoAdd modem_set_carrier to crosh
David Rochberg [Thu, 15 Jul 2010 22:38:04 +0000 (18:38 -0400)]
Add modem_set_carrier to crosh

TEST=gmerge workaround.  Run crosh with and without /usr/bin/modem_set_carrier in place
BUG=http://code.google.com/p/chromium-os/issues/detail?id=4665

Review URL: http://codereview.chromium.org/3001004

4 years agoTBR: Patch was in wrong place given directory restructuring
Chris Sosa [Tue, 13 Jul 2010 22:51:46 +0000 (15:51 -0700)]
TBR: Patch was in wrong place given directory restructuring

4 years agoMoving generate_logs script to workarounds directory with some changes.
Chris Sosa [Tue, 13 Jul 2010 22:41:09 +0000 (15:41 -0700)]
Moving generate_logs script to workarounds directory with some changes.

Review URL: http://codereview.chromium.org/2862029

4 years agoChanges to the channel_change and cros_workaround file as per the review comments.
Chris Sosa [Mon, 12 Jul 2010 17:28:26 +0000 (10:28 -0700)]
Changes to the channel_change and cros_workaround file as per the review comments.

TEST =Verify that from crosh:

running channel_change --[beta/dev] should create/override lsb-release file under /mnt/stateful_partition/etc with one parameter:

CHROMEOS_RELEASE_TRACK=[beta/dev]-channel

Review URL: http://codereview.chromium.org/2931003

4 years agoadd inherit-review-settings-ok
rginda [Thu, 24 Jun 2010 21:37:24 +0000 (14:37 -0700)]
add inherit-review-settings-ok
TBR: sosa@chromium.org

4 years agoadd missing fi, fix execution of crosh --workarounds, and cleanup usage text
rginda [Thu, 24 Jun 2010 21:34:28 +0000 (14:34 -0700)]
add missing fi, fix execution of crosh --workarounds, and cleanup usage text

BUG=None
TEST=Run on local workstation with crosh-workaronds symlinked into window-manager/bin

Review URL: http://codereview.chromium.org/2847020

4 years agoInitial check-in of new workarounds repo
Chris Sosa [Wed, 23 Jun 2010 00:38:03 +0000 (17:38 -0700)]
Initial check-in of new workarounds repo