Re: slub debug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/10/2016 12:35 PM, Chris Murphy wrote:
[root@f24m ~]# grep SLUB_DEBUG /boot/config-4.8.0-0.rc1.git0.1.fc25.x86_64
CONFIG_SLUB_DEBUG=y
# CONFIG_SLUB_DEBUG_ON is not set

When I boot with slub_debug=1, I get this at boot time:

[    0.000000] slub_debug option '1' unknown. skipped

https://fedoraproject.org/wiki/KernelDebugStrategy says under Release section:

In addition, SLUB_DEBUG is enabled, but by default is inactive. You
need to boot with slub_debug=1 to make it perform its usual checks.

https://www.kernel.org/doc/Documentation/vm/slub.txt suggests multiple
possible options, but I'm not sure which one(s) make it boot
functionally like a debug kernel.




Whoa that wiki page is old, it was last updated in 2012. I don't think we
enable SLUB_DEBUG_ON anymore for debug builds.

If you want the same behavior as SLUB_DEBUG_ON, use slub_debug=FPZU

Thanks,
Laura
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux