• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How do I keep Fedora4 from rebooting on a kernel panic?

beer

Lifer
if anyone can help me figure out how to keep my machines from rebooting on a kernel panic I'd be really happy. I have a serial console that I can grab console output from, but since the STA reboots on the panic I have debug messages queued that I am not getting. If I can just allow the machine to hang and let the serial FIFO empty it would make my jo much easier.

Anyone have any ideas?
 
Well, it could be something left dangling that shouldn't be or a race condition resulting in something bad that should be capable of bringing down the kernel, but why would the CPU reset? This is a networking driver and the problem is likely in the protocol implementation and not in the actually PHY code.

I'll keep investigating. Thanks for your help.
<-- might have to learn GDB soon.
 
Learning gdb would be a very good idea, there's also kgdb for an in-kernel debugger but you'll need to patch your kernel to use it since Linus doesn't really like debuggers.
 
If i could reliably get my kprintf buffers to empty before the damn machine reboooted that would be fine. We have enough in-driver debugging that it would be useful. But if the damn reboots or doesn't empty the fifo to the attached console before rebooting, or worse gives me a corrupted stack it's useless.

I really hate debugging on linux.
 
If i could reliably get my kprintf buffers to empty before the damn machine reboooted that would be fine.

I hope you mean printk there.

But if the damn reboots or doesn't empty the fifo to the attached console before rebooting, or worse gives me a corrupted stack it's useless.

Did you enable all of the kernel debugging options? Things like CONFIG_DEBUG_SLAB and CONFIG_DEBUG_STACKOVERFLOW might help if you are having memory and/or stack problems.

And if you're still stuck you could always post to lkml, as long as you put the code somewhere someone will probably help you out.

Edit: and one more thing to consider if you have firewire on the box is firescope. Apparently the 1394 controller has full access to the entire range of host memory so you can read that memory on another machine via firewire even if the host OS has crashed. I've never used it though, so I have no idea how well it works and the rebooting might make that even more complicated.
 
Back
Top