On Fri, 16 Jun 2017 13:24:58 -0700, Kamran Khan said:
> This is happening only with kernel 4.8+.
>
> When I compile kernel 4.4 with a stock Ubuntu Xenial .config, symbols
> appear just fine.
>
> When I compile kernel 4.8/4.10 with Yakkety/Zesty stock configs the
> symbols disappear.
What happens
This is happening only with kernel 4.8+.
When I compile kernel 4.4 with a stock Ubuntu Xenial .config, symbols
appear just fine.
When I compile kernel 4.8/4.10 with Yakkety/Zesty stock configs the
symbols disappear.
On Wed, Jun 14, 2017 at 4:58 PM, Kamran Khan wrote:
> I
On Tue, Jun 13, 2017 at 11:55:26AM +0200, Charlemagne Lasse wrote:
> Hi,
>
> I have following code which generates a warning when compiling with "make
> C=1".
>
> ~~~
> struct task_struct *kthread;
> kthread = kthread_create(x, y, "z");
> if (IS_ERR(kthread)) {
> ~~~
>
>
Hi,
I have following code which generates a warning when compiling with "make C=1".
~~~
struct task_struct *kthread;
kthread = kthread_create(x, y, "z");
if (IS_ERR(kthread)) {
~~~
The warning is
./include/linux/err.h:35:16: warning: dereference of noderef expression
Disabling CONFIG_RANDOMIZE_MEMORY did not help. Disabled
CONFIG_RANDOMIZE_BASE as well and the symbols came up.
The weird thing is that CONFIG_RANDOMIZE_BASE is enabled on Xenial
(4.4) kernel as well, but somehow having it enabled on Zesty (4.10)
kernel throws off kgdb.
Thanks,
Kamran.
On Fri,
The debug symbols are on for all of them, and gdb *does* load the
symbols. I have a suspicion that KASLR that was introduced around 4.7
might be the culprit here. CONFIG_RANDOMIZE_MEMORY is an option that's
not present in the Xenial config.
Anyone here has attached kgdb to 4.8/4.10?
Thanks,
On 16-Jun-2017 11:44 AM, "Shrikant Giridhar"
wrote:
> I just had a quick look at mount_bdev() code for Linux v3.15, mount_bdev()
> can return only root dentry or error.
I'm sorry I should have been clearer. I was referring to the documentation
mount() where it says
> I just had a quick look at mount_bdev() code for Linux v3.15, mount_bdev()
> can return only root dentry or error.
I'm sorry I should have been clearer. I was referring to the documentation
mount() where it says that the call can return something other than the root
dentry.
More specifically,
Hi,
On 06/07/2017 09:36 PM, wiktoria.lewicka wrote:
> I read code from file include/linux/skbuff.h and I have question about
> sk_buff_head structure.
> [...]
> Is this union replace sk_buff_head structure?
> I didn`t found any field in sk_buff, which may use sk_buff_head, [...]
As I can see