kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #26882
[Bug 1248492] [NEW] [saucy] [armhf] use pstore to save console log messages
Public bug reported:
SRU Justification:
Impact: on platforms when there's a persistent memory storage (or when
ram is not cleared during bootup like on arm), pstore and it's pstore-
ram backend can be used to to save log messages on a previously defined
and unallocated memory portion. Unfortunately, if we want to save bootup
messages, we need the pstore-ram backend to be build in.
Fix: apply the attached patch and recompile.
Test: e.g., for a 256MB board, bootup a kernel with the following
parameters:
"mem=128M ramoops.mem_address=0x8000000 ramoops.mem_size=1048576"
mem will tell the kernel to use only the first 128MB of ram, while ramoops address and size will the pstore where to find its storage and how big it is.
Later on you can retrieve those messages from the u-boot command line dumping that memory region (mdw 0x8000000...) or you can bootup another kernel, mount pstore and retrieve the logs stored there:
mount -t pstore - /sys/fs/pstore
cp /sys/fs/pstore/dmesg* .
--
** Affects: linux (Ubuntu)
Importance: Undecided
Status: Incomplete
** Tags: saucy
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1248492
Title:
[saucy] [armhf] use pstore to save console log messages
Status in “linux” package in Ubuntu:
Incomplete
Bug description:
SRU Justification:
Impact: on platforms when there's a persistent memory storage (or when
ram is not cleared during bootup like on arm), pstore and it's pstore-
ram backend can be used to to save log messages on a previously
defined and unallocated memory portion. Unfortunately, if we want to
save bootup messages, we need the pstore-ram backend to be build in.
Fix: apply the attached patch and recompile.
Test: e.g., for a 256MB board, bootup a kernel with the following
parameters:
"mem=128M ramoops.mem_address=0x8000000 ramoops.mem_size=1048576"
mem will tell the kernel to use only the first 128MB of ram, while ramoops address and size will the pstore where to find its storage and how big it is.
Later on you can retrieve those messages from the u-boot command line dumping that memory region (mdw 0x8000000...) or you can bootup another kernel, mount pstore and retrieve the logs stored there:
mount -t pstore - /sys/fs/pstore
cp /sys/fs/pstore/dmesg* .
--
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1248492/+subscriptions
Follow ups
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Launchpad Bug Tracker, 2014-01-02
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Paolo Pisati, 2013-12-27
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Brad Figg, 2013-12-09
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Launchpad Bug Tracker, 2013-12-05
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Launchpad Bug Tracker, 2013-11-19
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Andy Whitcroft, 2013-11-18
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Andy Whitcroft, 2013-11-18
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Brad Figg, 2013-11-14
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Joseph Salisbury, 2013-11-06
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Ubuntu Foundations Team Bug Bot, 2013-11-06
-
[Bug 1248492] Missing required logs.
From: Brad Figg, 2013-11-06
-
[Bug 1248492] Re: [saucy] [armhf] use pstore to save console log messages
From: Paolo Pisati, 2013-11-06
-
[Bug 1248492] [NEW] [saucy] [armhf] use pstore to save console log messages
From: Paolo Pisati, 2013-11-06
References