On Mon, Jun 30, 2014 at 09:25:01 -0400, Neil Horman <nhorman@xxxxxxxxxx> wrote:
Even building it all (netconsole+dependent network drivers) isn't typically enough, since you also need to bring the network interface up and assign an ip address to it, which happens fairly late in the boot cycle. If you have a crash that occurs so early that you're thinking about doing this, a RAC device with serial console support is usually a better bet.
The documentation implies that you don't need an IP assigned before you can use netconsole, since that information can be provided with kernel parameters. I don't know whether or not it really works that way though.
That said, it would be nice if dracut had a module that allowed you to include netconsole so that you could set it up before you did a switch_root.
The confir for dracut allows for you to include kernel drivers in the initramfs. So you should be able to use netconsole before root pivet. You might need to worry about the interface name changing part way through the boot.
_______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kernel