Building the driver sources for/on Ubuntu 16.04 fails, for some changes in Linux kernel between 4.1 and 4.2. The change to compile it is as below. At face value the change appears to be a trivial change, but the system hangs (or kernel panics) when attempting to "start" the driver. Of kernel/module panic trace has "klemNetConnect" at the bottom.
What may be the change needed to make this work? What information can I gather more info to identify/isolate the problem?
Screenshot of one of the panics is below is below. There is not response to console keyboard input, and resetting the hardware is the only way to restart the system.
Hello.
Building the driver sources for/on Ubuntu 16.04 fails, for some changes in Linux kernel between 4.1 and 4.2. The change to compile it is as below. At face value the change appears to be a trivial change, but the system hangs (or kernel panics) when attempting to "start" the driver. Of kernel/module panic trace has "klemNetConnect" at the bottom.
What may be the change needed to make this work? What information can I gather more info to identify/isolate the problem?
Driver change diff I made is below:
The commands that seem to execute ok are:
The start command that hangs the system is:
echo “command = start” > /proc/klem
The dmesg output is:
Contentes of /proc/klem after "device = eth0" are: