Re: [yocto] Out-of-Tree Modules and __stack_chk_fail()

2016-09-13 Thread Daniel.
Ronald, Was the kernel compiled with -fstack-protector? Try running this on target: cat /proc/kallsyms | grep __stack_chk_fail Does it output the symbol address? Take a look here: http://lxr.free-electrons.com/source/kernel/panic.c#L558 Best regards 2016-09-13 19:14 GMT-03:00 Ronald Oakes : >

Re: [yocto] Out-of-Tree Modules and __stack_chk_fail()

2016-09-13 Thread Ronald Oakes
That resolved my problem. (And while I was at it, I found that I had failed to create a new .bbappend file to pull my custom kernel config file in when I had to change to an older kernel version due to kernel versions supported by the vendor - so I had none of my other kernel configurations either

Re: [yocto] Out-of-Tree Modules and __stack_chk_fail()

2016-09-13 Thread robert.berger@gmane
Hi, On 2016-09-13 21:55, Ronald Oakes wrote: Any ideas how to proceed? 1) Can you try to use it from an in-tree kernel module? (modify the attachment) 2) Can you grep in your kernel config for CONFIG_CC_STACKPROTECTOR and friends? Regards, Robert >From 69cabc395bd097dde34664b4e1fe1c57

[yocto] Out-of-Tree Modules and __stack_chk_fail()

2016-09-13 Thread Ronald Oakes
Furthering my investagation into why my vendor supplied kernel modules were failing to load due to the error "Unknown symbol __stack_chk_fail (err 0)," I conducted the following experiment: 1: I took the sample code from poky/meta-skeleton/recipes-kernel/helo-mod and moved it into a new layer as m