Would building netconsole in for debug kernels make sense?

Bruno Wolff III bruno at wolff.to
Tue Jul 1 15:06:35 UTC 2014


On Tue, Jul 01, 2014 at 00:44:41 +0200,
  poma <pomidorabelisima at gmail.com> wrote:
>
>This is how it can be done;
>
>1.
>/etc/modprobe.d/blacklist-foo.conf
>blacklist nouveau
>
>2.
># reboot
>
>4.
>When the boot reaches any of the multi-user.target or graphical.target
>probably network is already set up so you just have to:
>- check whether [tgt-port] is opened.
># modprobe [-v] netconsole netconsole=[src-port]@[src-ip]/[dev],[tgt-port]@<tgt-ip>/[tgt-macaddr]
># modprobe [-v] nouveau
>
>3.
>At the "tgt" with:
># nc -l -u [tgt-port]
>after '4.' you'll see something like:
>[  monotonic timestamps] [drm] Initialized drm 1.1.0 20060810
>[  monotonic timestamps] fb: switching to nouveaufb from VESA VGA
>[  monotonic timestamps] Console: switching to colour dummy device 80x25
>[  monotonic timestamps] nouveau  [  DEVICE][0000:02:00.0] BOOT0  : ...
>...
>
>There may be additional steps related to the specific set up, however it is more or less all.

I'll try testing coming up with vesa and then switching to nouveau. If that 
works (well breaks), hopefully I'll get a useful traceback. If it doesn't 
work, I'll fallback to taking pictures.


More information about the kernel mailing list