add "mt7601u.dyndbg=+p" into grub.cfg, so the lines are :
menuentry {
.....
linux /boot/vmlinuz-4.13.0-041300-generic root=UUID=f4f53ad3-0e42-46e5-a9f2-679314bf74bf ro quiet splash $vt_handoff mt7601u.dyndbg=+p
initrd /boot/initrd.img-4.13.0-041300-generic
}
reboot,
$ cat /proc/cmdline // the output shows that param is add
BOOT_IMAGE=/boot/vmlinuz-4.13.0-041300-generic root=UUID=f4f53ad3-0e42-46e5-a9f2-679314bf74bf ro quiet splash vt.handoff=7 mt7601u.dyndbg=+p
It seems that no much differences in the dmesg log.
Please see the attached kernel-param.txt
BTW, I also tried to add "mt7601u.dyndbg=+p" in the /etc/sysctl.conf, reboot, however, it seems this doesn't have effect because "sudo sysctl -a|grep mt" doesn't show the parameter.
I tried on kernel 4.13. that's,
add "mt7601u.dyndbg=+p" into grub.cfg, so the lines are : 4.13.0- 041300- generic root=UUID= f4f53ad3- 0e42-46e5- a9f2-679314bf74 bf ro quiet splash $vt_handoff mt7601u.dyndbg=+p img-4.13. 0-041300- generic
menuentry {
.....
linux /boot/vmlinuz-
initrd /boot/initrd.
}
reboot,
$ cat /proc/cmdline // the output shows that param is add /boot/vmlinuz- 4.13.0- 041300- generic root=UUID= f4f53ad3- 0e42-46e5- a9f2-679314bf74 bf ro quiet splash vt.handoff=7 mt7601u.dyndbg=+p
BOOT_IMAGE=
It seems that no much differences in the dmesg log.
Please see the attached kernel-param.txt
BTW, I also tried to add "mt7601u.dyndbg=+p" in the /etc/sysctl.conf, reboot, however, it seems this doesn't have effect because "sudo sysctl -a|grep mt" doesn't show the parameter.
Regards