Re: [PATCH v2] char drivers: Ram oops/panic logger

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marco Stornelli
Date: Saturday, March 13, 2010 - 1:50 am

Il 12/03/2010 23:48, Andrew Morton ha scritto:

Yes.


For my test I used the program devmem2 to dump the log. In general, you
can read the memory via /dev/mem. There's an header plus a timestamp of
the log. The memory is initialized with blank spaces and the size of the
record is fixed at 4k, so if a program/script doesn't find the header at
next 4k, it means there's garbage and it can stop the read operation.


Yes, it can be an option. My first idea was to write a "general" driver,
with an address in input that it can be related to the reserved RAM as
an NVRAM in the system, however it can be a good idea, why not.

Marco
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2] char drivers: Ram oops/panic logger, Marco Stornelli, (Tue Mar 9, 10:41 am)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Yuasa Yoichi, (Tue Mar 9, 7:08 pm)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Marco Stornelli, (Wed Mar 10, 1:02 am)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Yuasa Yoichi, (Wed Mar 10, 2:20 am)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Marco Stornelli, (Wed Mar 10, 5:15 am)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Andrew Morton, (Fri Mar 12, 3:48 pm)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Jamie Lokier, (Fri Mar 12, 4:31 pm)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Marco Stornelli, (Sat Mar 13, 1:49 am)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Marco Stornelli, (Sat Mar 13, 1:50 am)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Geert Uytterhoeven, (Sat Mar 13, 7:50 am)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Jamie Lokier, (Sun Mar 14, 8:09 pm)
Re: [PATCH v2] char drivers: Ram oops/panic logger, Marco Stornelli, (Mon Mar 15, 1:11 am)