History log of /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/osrelease (Results 1 – 4 of 4)
Revision Date Author Comments
# ff92ffe2 09-Feb-2021 George Liu <liuxiwei@inspur.com>

Collect ramoops data into BMC dump

- Add ramoops file monitor and support to enable ramoops data
collection for kernel dump.

- Systemd will collect ramoops data and write it i

Collect ramoops data into BMC dump

- Add ramoops file monitor and support to enable ramoops data
collection for kernel dump.

- Systemd will collect ramoops data and write it into
/var/lib/systemd/pstore when a system kernel oops/panics.

- Today, need to grab everything in that directory, put it in a dump
and then delete everything in that directory.

Tested:
- Simulate a kernel panic by creating similar data in the expected
location.
`dmesg > /var/lib/systemd/pstore/dmesg1.txt`
`dmesg > /var/lib/systemd/pstore/dmesg2.txt`
`dmesg > /var/lib/systemd/pstore/dmesg3.txt`
`dmesg > /var/lib/systemd/pstore/dmesg4.txt`

tar -tvf obmcdump_1_248.tar.xz:

drwxr-xr-x 0/0 0 1970-01-01 00:01:32 obmcdump_1_248/
-rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg1.txt
-rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg2.txt
-rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg3.txt
-rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg4.txt
-rw-r--r-- 0/0 162 1970-01-01 00:01:32 obmcdump_1_248/dreport.log
-rw-r--r-- 0/0 294 1970-01-01 00:01:31 obmcdump_1_248/os-release
-rw-r--r-- 0/0 278 1970-01-01 00:01:31 obmcdump_1_248/summary.log

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I05bca408f4dcc2b62350104a0c5f757d740dde22

show more ...


# 5ba7176c 06-Jun-2019 Marri Devender Rao <devenrao@in.ibm.com>

Fix dreport os-release script point to a symbolic link

The os-release file in the dump points to a symbolic link
rather than the actual release details.

As "cp -r" command is us

Fix dreport os-release script point to a symbolic link

The os-release file in the dump points to a symbolic link
rather than the actual release details.

As "cp -r" command is used to copy the contents of a symbolic
link file, it copies the link rather than the actual file.

Modified to use cp command to copy the contents of the file

Tested:
before fix
root@witherspoon:/tmp# mkdir test1
root@witherspoon:/tmp# cp -r /etc/os-release test1/
root@witherspoon:/tmp# ls -la test1/
drwxr-xr-x 2 root root 60 Jun 6 12:27 .
drwxrwxrwt 13 root root 320 Jun 6 12:26 ..
lrwxrwxrwx 1 root root 21 Jun 6 12:27 os-release -> ../usr/lib/os-release

after fix
root@witherspoon:/tmp# mkdir test2
root@witherspoon:/tmp# cp /etc/os-release test2/
root@witherspoon:/tmp# ls -la test2/
-rw-r--r-- 1 root root 295 Jun 6 12:27 os-release

Change-Id: I6980ffa40b925fb02be0bf53704d17ebc7995af0
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>

show more ...


# 6d7f753b 04-Dec-2018 Marri Devender Rao <devenrao@in.ibm.com>

Specify plugins to be invoked for chekstop error

Set the config value for the scripts that need to be
invoked during dump collection for checkstop error.

Checkstop dump enum typ

Specify plugins to be invoked for chekstop error

Set the config value for the scripts that need to be
invoked during dump collection for checkstop error.

Checkstop dump enum type has value 4.

Change-Id: Ic75fa0f800ed459b8e493b191eec18f144664655
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>

show more ...


# 64d6d6a5 15-Oct-2017 Jayanth Othayoth <ojayanth@in.ibm.com>

dreport: Added osrelease plugin

Plugin used for collecting OS release information.

Change-Id: I27fcc47f3a0a1d44aa07001ec61f43d6bf523bf0
Signed-off-by: Jayanth Othayoth <ojayanth

dreport: Added osrelease plugin

Plugin used for collecting OS release information.

Change-Id: I27fcc47f3a0a1d44aa07001ec61f43d6bf523bf0
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>

show more ...