Debuging code causes slab coruption and locks warnings
Posted: Sun Jun 10, 2007 8:47 am
Hello, strange things happen when I build 2.6.21.x kernels with both grsecurity and debuging (in kernel hacking - like slab, VM, and locks debugging).
Some files are not visible in ls /etc yet /etc/the_file/ works (and it works after reboot; no, I didnt used RBAC etc)
I get errors:
when running memtest (application) and occassionally just from time to time when using computer.
On bootup I get some lock debugging warnings (but too early to have it in boot log AFAIK).
That is on 2.6.21.3.
2.6.21.4 doesnt boot up at all - hangs, usually with error in interrupt kernel panic.
All of the problems above vanish immediatelly when not using grsecurity patch on same kernel/config.
2.6.21.4 without grsecurity patch but with same debugging option works perfectyl.
http://www.limcore.com/misc/debug/grsec/0001/ - more inform about this problem including .config Sysmap and kernel image.
Some files are not visible in ls /etc yet /etc/the_file/ works (and it works after reboot; no, I didnt used RBAC etc)
I get errors:
- Code: Select all
000: 78 30 2c f3 00 50 bc b7 00 70 bc b7 60 27 64 f5
010: 25 00 00 00 73 00 10 00 e4 2e 64 f5 00 00 00 00
Slab corruption: vm_area_struct start=ed12a3dc, len=88
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<c01d7826>](vma_adjust+0x186/0x400)
010: 6b 6b 6b 6b 73 00 10 00 6b 6b 6b 6b 6b 6b 6b 6b
Prev obj: start=ed12a378, len=88
Redzone: 0x170fc2a5/0x170fc2a5.
when running memtest (application) and occassionally just from time to time when using computer.
On bootup I get some lock debugging warnings (but too early to have it in boot log AFAIK).
That is on 2.6.21.3.
2.6.21.4 doesnt boot up at all - hangs, usually with error in interrupt kernel panic.
All of the problems above vanish immediatelly when not using grsecurity patch on same kernel/config.
2.6.21.4 without grsecurity patch but with same debugging option works perfectyl.
http://www.limcore.com/misc/debug/grsec/0001/ - more inform about this problem including .config Sysmap and kernel image.