* 2.6.33-rt4 core2duo oopses: what method to catch
@ 2010-02-28 11:49 ulmo
2010-03-01 8:38 ` Uwe Kleine-König
2010-03-01 13:11 ` Thomas Gleixner
0 siblings, 2 replies; 5+ messages in thread
From: ulmo @ 2010-02-28 11:49 UTC (permalink / raw)
To: linux-rt-users; +Cc: ulmo
I'm getting kernel faults in 2.6.33-rt4 on a core 2 duo. It takes a
moment to hard-crash, so there's a chance for the output to be diagnosed.
A few questions regarding that:
Please point me the way to best get the diagnostic data (kernel trace).
There used to be utilities to use System.map to give names to traces (like
sysklogd). There also used to be a built-in method for System.map so the
kernel could do that. What's the option? What are my options? I
currently use metalog for the syslog daemon.
What's the easiest way to write the oops to disk while in the initrd? I'm
getting the oopses while it's doing reiserfsck, and I only have a bit of
room in /boot to stick some output. Is there a way to log to /boot the
oopses, with some small initrd-fitting binary that will cull kernel
logging for those and write them out? Just a standard logger?
After that I can try to get some output for us to look at. Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.33-rt4 core2duo oopses: what method to catch
2010-02-28 11:49 2.6.33-rt4 core2duo oopses: what method to catch ulmo
@ 2010-03-01 8:38 ` Uwe Kleine-König
2010-03-01 13:11 ` Thomas Gleixner
1 sibling, 0 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2010-03-01 8:38 UTC (permalink / raw)
To: ulmo; +Cc: linux-rt-users
Hi,
On Sun, Feb 28, 2010 at 03:49:38AM -0800, ulmo@sonic.net wrote:
> I'm getting kernel faults in 2.6.33-rt4 on a core 2 duo. It takes a
> moment to hard-crash, so there's a chance for the output to be diagnosed.
> A few questions regarding that:
>
> Please point me the way to best get the diagnostic data (kernel trace).
>
> There used to be utilities to use System.map to give names to traces (like
> sysklogd). There also used to be a built-in method for System.map so the
> kernel could do that. What's the option? What are my options? I
> currently use metalog for the syslog daemon.
I don't know if this is what you mean, but KALLSYMS (General setup ->
Configure standard kernel features -> Load all symbols for
debugging/ksymoops) and its subitems should be helpful.
> What's the easiest way to write the oops to disk while in the initrd? I'm
> getting the oopses while it's doing reiserfsck, and I only have a bit of
> room in /boot to stick some output. Is there a way to log to /boot the
> oopses, with some small initrd-fitting binary that will cull kernel
> logging for those and write them out? Just a standard logger?
If you get an oops, the best way to catch it is via a serial console.
Then you can just copy&paste from another machine.
Best regards,
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.33-rt4 core2duo oopses: what method to catch
2010-02-28 11:49 2.6.33-rt4 core2duo oopses: what method to catch ulmo
2010-03-01 8:38 ` Uwe Kleine-König
@ 2010-03-01 13:11 ` Thomas Gleixner
2010-03-01 17:17 ` Mark Knecht
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Gleixner @ 2010-03-01 13:11 UTC (permalink / raw)
To: ulmo; +Cc: rt-users, Frederic Weisbecker
On Sun, 28 Feb 2010, ulmo@sonic.net wrote:
> I'm getting kernel faults in 2.6.33-rt4 on a core 2 duo. It takes a
> moment to hard-crash, so there's a chance for the output to be diagnosed.
Does the same problem happen with vanilla 2.6.33 ?
> Please point me the way to best get the diagnostic data (kernel trace).
>
> There used to be utilities to use System.map to give names to traces (like
> sysklogd). There also used to be a built-in method for System.map so the
> kernel could do that. What's the option? What are my options? I
> currently use metalog for the syslog daemon.
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_EXTRA_PASS=y
CONFIG_DEBUG_BUGVERBOSE=y
> What's the easiest way to write the oops to disk while in the initrd? I'm
> getting the oopses while it's doing reiserfsck, and I only have a bit of
> room in /boot to stick some output. Is there a way to log to /boot the
> oopses, with some small initrd-fitting binary that will cull kernel
> logging for those and write them out? Just a standard logger?
>
> After that I can try to get some output for us to look at. Thanks.
Either serial console - requires a serial port - or netconsole. For
both you need a second computer to log the output.
Thanks,
tglx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.33-rt4 core2duo oopses: what method to catch
2010-03-01 13:11 ` Thomas Gleixner
@ 2010-03-01 17:17 ` Mark Knecht
2010-03-01 19:13 ` John Kacur
0 siblings, 1 reply; 5+ messages in thread
From: Mark Knecht @ 2010-03-01 17:17 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: rt-users
On Mon, Mar 1, 2010 at 5:11 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
> On Sun, 28 Feb 2010, ulmo@sonic.net wrote:
>
>> I'm getting kernel faults in 2.6.33-rt4 on a core 2 duo. It takes a
>> moment to hard-crash, so there's a chance for the output to be diagnosed.
>
> Does the same problem happen with vanilla 2.6.33 ?
>
>> Please point me the way to best get the diagnostic data (kernel trace).
>>
>> There used to be utilities to use System.map to give names to traces (like
>> sysklogd). There also used to be a built-in method for System.map so the
>> kernel could do that. What's the option? What are my options? I
>> currently use metalog for the syslog daemon.
>
> CONFIG_KALLSYMS=y
> CONFIG_KALLSYMS_ALL=y
> CONFIG_KALLSYMS_EXTRA_PASS=y
>
> CONFIG_DEBUG_BUGVERBOSE=y
>
>> What's the easiest way to write the oops to disk while in the initrd? I'm
>> getting the oopses while it's doing reiserfsck, and I only have a bit of
>> room in /boot to stick some output. Is there a way to log to /boot the
>> oopses, with some small initrd-fitting binary that will cull kernel
>> logging for those and write them out? Just a standard logger?
>>
>> After that I can try to get some output for us to look at. Thanks.
>
> Either serial console - requires a serial port - or netconsole. For
> both you need a second computer to log the output.
>
> Thanks,
>
> tglx
I haven't heard of netconsole before but it makes sense. I did this
using the serial console a couple of times but none of my machines
have serial ports anymore (and could I find the right cable these days
anyway?)
Is there a good page describing how to set this up and use it?
Thanks,
Mark
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.33-rt4 core2duo oopses: what method to catch
2010-03-01 17:17 ` Mark Knecht
@ 2010-03-01 19:13 ` John Kacur
0 siblings, 0 replies; 5+ messages in thread
From: John Kacur @ 2010-03-01 19:13 UTC (permalink / raw)
To: Mark Knecht; +Cc: Thomas Gleixner, rt-users
On Mon, Mar 1, 2010 at 6:17 PM, Mark Knecht <markknecht@gmail.com> wrote:
> On Mon, Mar 1, 2010 at 5:11 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
>> On Sun, 28 Feb 2010, ulmo@sonic.net wrote:
>>
>>> I'm getting kernel faults in 2.6.33-rt4 on a core 2 duo. It takes a
>>> moment to hard-crash, so there's a chance for the output to be diagnosed.
>>
>> Does the same problem happen with vanilla 2.6.33 ?
>>
>>> Please point me the way to best get the diagnostic data (kernel trace).
>>>
>>> There used to be utilities to use System.map to give names to traces (like
>>> sysklogd). There also used to be a built-in method for System.map so the
>>> kernel could do that. What's the option? What are my options? I
>>> currently use metalog for the syslog daemon.
>>
>> CONFIG_KALLSYMS=y
>> CONFIG_KALLSYMS_ALL=y
>> CONFIG_KALLSYMS_EXTRA_PASS=y
>>
>> CONFIG_DEBUG_BUGVERBOSE=y
>>
>>> What's the easiest way to write the oops to disk while in the initrd? I'm
>>> getting the oopses while it's doing reiserfsck, and I only have a bit of
>>> room in /boot to stick some output. Is there a way to log to /boot the
>>> oopses, with some small initrd-fitting binary that will cull kernel
>>> logging for those and write them out? Just a standard logger?
>>>
>>> After that I can try to get some output for us to look at. Thanks.
>>
>> Either serial console - requires a serial port - or netconsole. For
>> both you need a second computer to log the output.
>>
>> Thanks,
>>
>> tglx
>
> I haven't heard of netconsole before but it makes sense. I did this
> using the serial console a couple of times but none of my machines
> have serial ports anymore (and could I find the right cable these days
> anyway?)
>
> Is there a good page describing how to set this up and use it?
>
In the kernel itself, Documentation/networking/netconsole.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-03-01 19:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-28 11:49 2.6.33-rt4 core2duo oopses: what method to catch ulmo
2010-03-01 8:38 ` Uwe Kleine-König
2010-03-01 13:11 ` Thomas Gleixner
2010-03-01 17:17 ` Mark Knecht
2010-03-01 19:13 ` John Kacur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).