[Bug 1838070] Re: Unable to add dyndbg to command line
TJ
ubuntu at iam.tj
Sun Aug 11 17:19:59 UTC 2019
This is correct. The essential thing to understand is the kernel's
command-line uses space as the separator between options so:
option1=1 option2=2 option3=3
option1=1 option2="2" option3="3 or 4"
option1=1 "option2=2" "option3=3 or 4"
are all identical.
What you are seeing in /proc/cmdline is the *kernel* writing out each
option and, when an option contains a space, it surrounds the option
with double-quotes.
Consider that the "=" symbol has no special meaning in the context of
the command line although individual modules *may* use it to separate
key=value options themselves.
** Changed in: grub2 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1838070
Title:
Unable to add dyndbg to command line
Status in grub2 package in Ubuntu:
Invalid
Bug description:
I'm running Ubuntu 18.04.2 LTS
Version 2.02-2ubuntu8.13 of grub is installed.
When I update my grub.cfg to include dyndbg, such as:
linux /boot/vmlinuz-5.2.0+ root=UUID=e31d3503-30d5-4021-89ea-
0ac921ce153f ro console=ttyS0 ignore_loglevel dyndbg="module e1000"
the quotes are not handled properly.
The resulting kernel boot gets -
cat /proc/cmdline | more
BOOT_IMAGE=/boot/vmlinuz-5.2.0+ root=UUID=e31d3503-30d5-4021-89ea-0ac921ce153f ro console=ttyS0 ignore_loglevel "dyndbg=module e1000 +p"
As you can see, the first quote in the dyndbg param moved, thus
invalidating the command line, and resulting in dyndbg not taking
effect.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1838070/+subscriptions
More information about the foundations-bugs
mailing list