Btw the systemd journald also logs kernel messages, which is quite helpful when they get truncated by dmesg or when the system got rebooted as you show the logs from the last boot: journalctl -b -1 -ke
This is how easy it has been since 2001, so 'catching up' is a big word, nothing changed. BTW Warning this might make you feel old: Solaris 10 was from 1992, 32 years ago.
Another viewpoint: If using a P2P L3 link to the server (from a router, or L3 switch). I would not see a problem with leaving it on all the time. Some switches can can do inbound rules on the interface connected to the server for forwarding packets based on filters to only select destinations (think MT CRS devices). Such that even devices on the same LAN segment, will not receive the broadcast packets destined to ff:ff:ff:ff:ff:ff (switch chip ACL rules). (~port mirroring, but filtered for very specific traffic)
It's also possible to not use the broadcast mac if you want to leave it on all the time, you then need to set both the unicast IP and unicast MAC since it doesn't do ARP / NDP. I also tried using multicast and that works fine on the Netconsole side, but receiving multicast is a lot harder than netcat, so I didn't go down that path. That may be easier to filter depending on your switch.
@@apalrdsadventures every Linux VM on KVM/Qemu does of course... what would be a good serial console server software which has the option to log everything ? A quick look around I think I can probably just run a bunch of stty processes to capture the logs.
Usually it's because the host kernel was already using that device and you took it away improperly to give to the VM. If you do that with the primary GPU, then you have no graphics device to debug from either.
Btw the systemd journald also logs kernel messages, which is quite helpful when they get truncated by dmesg or when the system got rebooted as you show the logs from the last boot: journalctl -b -1 -ke
Thanks so much, you rock dude. Awesome content as always
Somehow doing this on Solaris 10, around 20 years ago, was much simpler and debugging was easier as well. Good to see Linux catching up.
This is how easy it has been since 2001, so 'catching up' is a big word, nothing changed.
BTW Warning this might make you feel old: Solaris 10 was from 1992, 32 years ago.
Another viewpoint: If using a P2P L3 link to the server (from a router, or L3 switch). I would not see a problem with leaving it on all the time.
Some switches can can do inbound rules on the interface connected to the server for forwarding packets based on filters to only select destinations (think MT CRS devices). Such that even devices on the same LAN segment, will not receive the broadcast packets destined to ff:ff:ff:ff:ff:ff (switch chip ACL rules). (~port mirroring, but filtered for very specific traffic)
It's also possible to not use the broadcast mac if you want to leave it on all the time, you then need to set both the unicast IP and unicast MAC since it doesn't do ARP / NDP.
I also tried using multicast and that works fine on the Netconsole side, but receiving multicast is a lot harder than netcat, so I didn't go down that path. That may be easier to filter depending on your switch.
well *someone* "had got" the need to make a video on an advanced Linux/kernel debugging! 😉😇
Thumbs UP! :)
Wouldn't serial console also be a good option if the machine in question has a serial port?
Yes, and I have a video on that too. A lot of machines don't have them, though.
@@apalrdsadventures every Linux VM on KVM/Qemu does of course... what would be a good serial console server software which has the option to log everything ? A quick look around I think I can probably just run a bunch of stty processes to capture the logs.
For VMs of course, but when you are doing experimental hardware passthrough you tend to crash the host kernel
@@apalrdsadventures ahh, that's sad, that shouldn't really be able to happen.
Usually it's because the host kernel was already using that device and you took it away improperly to give to the VM. If you do that with the primary GPU, then you have no graphics device to debug from either.
The blog entry isn't live yet =)
fixed it, the timer didn't do it on time for some reason
I like your original videos ! The lets do the same vid as some one else is tiresome! Any chance for a video on proxmox offline mirror?