-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2014-05-24 04:22, Cristian Rodríguez wrote:
El 23/05/14 21:45, Carlos E. R. escribió:
So.... How exactly do I do it? Someone has done this and knows how to do it in openSUSE, no hearsay?
Try with the section "dynamic configuration" from the netconsole.txt doc.
Telcontar:~ # modprobe netconsole Telcontar:~ # cd /sys/kernel/config/netconsole/ Telcontar:/sys/kernel/config/netconsole # ls Telcontar:/sys/kernel/config/netconsole # mkdir target1 Telcontar:/sys/kernel/config/netconsole # ls target1 Telcontar:/sys/kernel/config/netconsole # cd target1/ Telcontar:/sys/kernel/config/netconsole/target1 # ls dev_name enabled local_ip local_mac local_port remote_ip remote_mac remote_port Telcontar:/sys/kernel/config/netconsole/target1 # cat local_ local_ip local_mac local_port Telcontar:/sys/kernel/config/netconsole/target1 # cat local_ip 0.0.0.0 Telcontar:/sys/kernel/config/netconsole/target1 # echo 192.168.1.14 > local_ip Telcontar:/sys/kernel/config/netconsole/target1 # echo 6666 > local_port but Telcontar:/sys/kernel/config/netconsole/target1 # echo "00:21:85:16:2D:0B" > local_mac - -bash: local_mac: Permission denied Telcontar:/sys/kernel/config/netconsole/target1 # cat local_mac ff:ff:ff:ff:ff: weird. Telcontar:/sys/kernel/config/netconsole/target1 # echo "00:03:0D:05:17:FC" > remote_mac Telcontar:/sys/kernel/config/netconsole/target1 # echo 6666 > remote_port Telcontar:/sys/kernel/config/netconsole/target1 # echo 192.168.1.15 > remote_ip Telcontar:/sys/kernel/config/netconsole/target1 # cat dev_name eth0 Telcontar:/sys/kernel/config/netconsole/target1 # echo 1 > enabled It is apparently started: Telcontar:/sys/kernel/config/netconsole/target1 # tail /var/log/messages <3.6> 2014-05-24 13:23:01 Telcontar systemd 1 - - Starting Session 78 of user news. <3.6> 2014-05-24 13:25:01 Telcontar systemd 1 - - Starting Session 79 of user news. <3.6> 2014-05-24 13:28:01 Telcontar systemd 1 - - Starting Session 80 of user news. <0.6> 2014-05-24 13:28:06 Telcontar kernel - - - [10768.603827] netpoll: netconsole: local port 6666 <0.6> 2014-05-24 13:28:06 Telcontar kernel - - - [10768.609384] netpoll: netconsole: local IPv4 address 192.168.1.14 <0.6> 2014-05-24 13:28:06 Telcontar kernel - - - [10768.614762] netpoll: netconsole: interface 'eth0' <0.6> 2014-05-24 13:28:06 Telcontar kernel - - - [10768.620095] netpoll: netconsole: remote port 6666 <0.6> 2014-05-24 13:28:06 Telcontar kernel - - - [10768.625373] netpoll: netconsole: remote IPv4 address 192.168.1.15 <0.6> 2014-05-24 13:28:06 Telcontar kernel - - - [10768.630545] netpoll: netconsole: remote ethernet address 00:03:0d:05:17:fc <0.6> 2014-05-24 13:28:06 Telcontar kernel - - - [10768.635653] netconsole: network logging started On the receiving computer, I have: netcat -u -l 6666 | tee -a remote_log I plugged a usb stick, and got the messages on the remote, so good! Now I go for testing and crashing the machine again. Nvidia is not in the list. Wish me luck! - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlOAhY0ACgkQja8UbcUWM1zq5wD/ZwFIUULDj9g5WQeFMIQkq/ug x5wa9FceTZcQnLsZM9UBAJ+pqtNJ/fGvTGREbYBXiIg0xzlaBW8Q8h2t5snNfyYc =M9tY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org