please report distros with CONFIG_DYNAMIC_DEBUG, using ddebug_query= boot param
Jim Cromie
jim.cromie at gmail.com
Tue May 1 14:36:04 EDT 2012
hi all,
Ive been asked whether ddebug_query= boot param is used in any distros,
I think the question seeks to determine a good deprecation schedule for it
(its been obsoleted by dyndbg= in driver-core-next)
Would you all be so kind as to check your favorite distros, and report
the ones that
have one or both ?
Ubuntu 12.04 LTS lacks it:
jimc at chumly:~/projects/lx/linux-2.6$ grep DYNAMIC_DEBUG /boot/config*
/boot/config-3.0.0-17-generic:# CONFIG_DYNAMIC_DEBUG is not set
/boot/config-3.2.0-24-generic:# CONFIG_DYNAMIC_DEBUG is not set
Voyage linux also lacks it, (also debian based)
Fedora-16 has config option:
$ uname -a
Linux groucho.jimc.earth 3.3.2-6.fc16.x86_64 #1 SMP Sat Apr 21
12:43:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ grep DYNAMIC_DEBUG /boot/config-3.3.*
/boot/config-3.3.1-5.fc16.x86_64:CONFIG_DYNAMIC_DEBUG=y
/boot/config-3.3.2-1.fc16.x86_64:CONFIG_DYNAMIC_DEBUG=y
/boot/config-3.3.2-6.fc16.x86_64:CONFIG_DYNAMIC_DEBUG=y
but its not used by default. I have modified my grub defaults:
$ grep ddebug_query /etc/default/grub
GRUB_CMDLINE_LINUX='quiet rhgb loglevel=8 ddebug_query="module params
+p" dynamic_debug.verbose=1 nouveau.dyndbg nouveau.force_post=1
it87.dyndbg=+p nouveau.perflvl_wr=7777'
FYI, the above usage will eventually be unsupported,
it can be replaced in driver-core-next by either of:
dyndbg="module params +p"
params.dyndbg=+p
params.dyndbg # defaults to +p
the 2nd, 3rd forms also work for loadable modules (though params isnt
one of them)
thanks in advance
Jim
More information about the Kernelnewbies
mailing list