You are not logged in.

#1 2011-01-21 13:20:36

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Logging Kernel Panic during startup.

Occasionally I have Kernel Panic while the Loading Modules stage. Can I redirect the error to a file (it is quiet large)? I don;t have a serial port to connect a terminal.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#2 2011-01-21 13:22:40

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: Logging Kernel Panic during startup.

Are you talking about this kernel panic?
https://bbs.archlinux.org/viewtopic.php?id=111197


.::. TigTex @ Portugal .::.

Offline

#3 2011-01-21 13:50:23

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Logging Kernel Panic during startup.

It could be related. Some times fallback works but not alway. I have rebuild my kernel image several times. The strange thing is that I have to completely remove the power cord an discharge the capacitor of the mainbord in order to make it boot properly.

So, any ideas how to redirect the panic message?

Last edited by firewalker (2011-01-21 13:51:44)


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#4 2011-01-22 00:36:08

beerad
Member
Registered: 2011-01-10
Posts: 14

Re: Logging Kernel Panic during startup.

I've been trying to find some way to capture panic info without a serial port, too. The best thing I came up with was kdb/kgdb. It will page through the panic and stack dump, and let you look at the kernel log buffer in memory. I just looked, and I think it's running at that point in the bootstrap.

kdump/kexec might be another possibility, but I don't know about loading a panic handler that early..

If you find anything, post back. I'm interested, too.

Offline

#5 2011-01-22 07:14:55

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Logging Kernel Panic during startup.

Thanks you. I will have a look at it.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

Board footer

Powered by FluxBB