How to enable kernel pstore?
up vote
4
down vote
favorite
I'm trying to enable the kernel persistent storage (pstore) in order to help debug a module which malfunctions and freezes my laptop on suspend, but I'm having difficulties doing so.
My kernel (4.1.20) config with related parameters is
# gunzip -c /proc/config.gz | grep PSTORE
CONFIG_CHROMEOS_PSTORE=m
CONFIG_PSTORE=y
CONFIG_PSTORE_CONSOLE=y
# CONFIG_PSTORE_PMSG is not set
# CONFIG_PSTORE_FTRACE is not set
CONFIG_PSTORE_RAM=m
I have also tried loading the ramoops
module, but when I do
# cat /sys/module/pstore/parameters/backend
(null)
it doesn't seem to have enabled anything. /sys/fs/pstore is empty as well, altough mount says that it is mounted. I have tried to panic my kernel using this but nothing showed up.
What am I doing wrong? Is it even supposed to work on a normal laptop, or am I completely in the dark? I could not find very much while looking for this feature.
kernel-modules debugging
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
up vote
4
down vote
favorite
I'm trying to enable the kernel persistent storage (pstore) in order to help debug a module which malfunctions and freezes my laptop on suspend, but I'm having difficulties doing so.
My kernel (4.1.20) config with related parameters is
# gunzip -c /proc/config.gz | grep PSTORE
CONFIG_CHROMEOS_PSTORE=m
CONFIG_PSTORE=y
CONFIG_PSTORE_CONSOLE=y
# CONFIG_PSTORE_PMSG is not set
# CONFIG_PSTORE_FTRACE is not set
CONFIG_PSTORE_RAM=m
I have also tried loading the ramoops
module, but when I do
# cat /sys/module/pstore/parameters/backend
(null)
it doesn't seem to have enabled anything. /sys/fs/pstore is empty as well, altough mount says that it is mounted. I have tried to panic my kernel using this but nothing showed up.
What am I doing wrong? Is it even supposed to work on a normal laptop, or am I completely in the dark? I could not find very much while looking for this feature.
kernel-modules debugging
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I'm trying to enable the kernel persistent storage (pstore) in order to help debug a module which malfunctions and freezes my laptop on suspend, but I'm having difficulties doing so.
My kernel (4.1.20) config with related parameters is
# gunzip -c /proc/config.gz | grep PSTORE
CONFIG_CHROMEOS_PSTORE=m
CONFIG_PSTORE=y
CONFIG_PSTORE_CONSOLE=y
# CONFIG_PSTORE_PMSG is not set
# CONFIG_PSTORE_FTRACE is not set
CONFIG_PSTORE_RAM=m
I have also tried loading the ramoops
module, but when I do
# cat /sys/module/pstore/parameters/backend
(null)
it doesn't seem to have enabled anything. /sys/fs/pstore is empty as well, altough mount says that it is mounted. I have tried to panic my kernel using this but nothing showed up.
What am I doing wrong? Is it even supposed to work on a normal laptop, or am I completely in the dark? I could not find very much while looking for this feature.
kernel-modules debugging
I'm trying to enable the kernel persistent storage (pstore) in order to help debug a module which malfunctions and freezes my laptop on suspend, but I'm having difficulties doing so.
My kernel (4.1.20) config with related parameters is
# gunzip -c /proc/config.gz | grep PSTORE
CONFIG_CHROMEOS_PSTORE=m
CONFIG_PSTORE=y
CONFIG_PSTORE_CONSOLE=y
# CONFIG_PSTORE_PMSG is not set
# CONFIG_PSTORE_FTRACE is not set
CONFIG_PSTORE_RAM=m
I have also tried loading the ramoops
module, but when I do
# cat /sys/module/pstore/parameters/backend
(null)
it doesn't seem to have enabled anything. /sys/fs/pstore is empty as well, altough mount says that it is mounted. I have tried to panic my kernel using this but nothing showed up.
What am I doing wrong? Is it even supposed to work on a normal laptop, or am I completely in the dark? I could not find very much while looking for this feature.
kernel-modules debugging
kernel-modules debugging
asked Mar 31 '16 at 9:29
D.S
40137
40137
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
You need to determine a piece of memory that survives a reboot. Then it's probably the easiest approach to pass that via kernel parameters, see
the ramoops Documentation in the kernel tree.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You need to determine a piece of memory that survives a reboot. Then it's probably the easiest approach to pass that via kernel parameters, see
the ramoops Documentation in the kernel tree.
add a comment |
up vote
0
down vote
You need to determine a piece of memory that survives a reboot. Then it's probably the easiest approach to pass that via kernel parameters, see
the ramoops Documentation in the kernel tree.
add a comment |
up vote
0
down vote
up vote
0
down vote
You need to determine a piece of memory that survives a reboot. Then it's probably the easiest approach to pass that via kernel parameters, see
the ramoops Documentation in the kernel tree.
You need to determine a piece of memory that survives a reboot. Then it's probably the easiest approach to pass that via kernel parameters, see
the ramoops Documentation in the kernel tree.
answered Aug 8 at 19:11
Uwe Kleine-König
101
101
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f273352%2fhow-to-enable-kernel-pstore%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown