And the ioctl_list(2) manpage claims that KDGKBMODE should take an int*, not a long*. That would definitely explain this not working on ppc64el.
And the ioctl_list(2) manpage claims that KDGKBMODE should take an int*, not a long*. That would definitely explain this not working on ppc64el.