Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread Valdis . Kletnieks
On Tue, 28 Apr 2015 17:17:37 -0400, Andev said: > On Tue, Apr 28, 2015 at 4:29 PM, wrote: > > On Tue, 28 Apr 2015 01:41:07 -0400, Andev said: > > > >> Look here: http://www.spinics.net/lists/kernel/msg1962561.html > > > > I may have blinked - did you happen to mention what gcc release you are > >

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread Andev
On Tue, Apr 28, 2015 at 4:29 PM, wrote: > On Tue, 28 Apr 2015 01:41:07 -0400, Andev said: > >> Look here: http://www.spinics.net/lists/kernel/msg1962561.html > > I may have blinked - did you happen to mention what gcc release you are > using? $ gcc --version gcc-4.9.real (Ubuntu 4.9.2-0ubuntu1~1

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread Valdis . Kletnieks
On Tue, 28 Apr 2015 01:41:07 -0400, Andev said: > Look here: http://www.spinics.net/lists/kernel/msg1962561.html I may have blinked - did you happen to mention what gcc release you are using? pgpjBkGi3Bqyw.pgp Description: PGP signature ___ Kernelnewb

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread nick
On 2015-04-28 03:44 PM, Andev wrote: > On Tue, Apr 28, 2015 at 2:30 PM, leo kirotawa wrote: >> Yep, I can try. Do you know when this issue start ? >> > > I remember 4.0 working fine. You can try and use that as starting point. > Just a question as I have been reading this for a while,is this o

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread Andev
On Tue, Apr 28, 2015 at 2:30 PM, leo kirotawa wrote: > Yep, I can try. Do you know when this issue start ? > I remember 4.0 working fine. You can try and use that as starting point. -- Andev ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread leo kirotawa
Yep, I can try. Do you know when this issue start ? On Tue, Apr 28, 2015 at 3:18 PM, Andev wrote: > On Tue, Apr 28, 2015 at 1:40 PM, leo kirotawa wrote: >> With this .config you sent kernel does not boot. > > Yup, could you try to bisect what commit is causing this failure? > > -- > Andev --

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread Andev
On Tue, Apr 28, 2015 at 1:40 PM, leo kirotawa wrote: > With this .config you sent kernel does not boot. Yup, could you try to bisect what commit is causing this failure? -- Andev ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://l

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread leo kirotawa
With this .config you sent kernel does not boot. On Tue, Apr 28, 2015 at 1:46 PM, leo kirotawa wrote: > that .config you sent is for 4.0-rc2, is that right? > > > here is the diff after a make oldconfig [1] > > [1] http://pastebin.com/4Lfs2it0 > > On Tue, Apr 28, 2015 at 12:35 PM, Andev wrote: >

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread leo kirotawa
that .config you sent is for 4.0-rc2, is that right? here is the diff after a make oldconfig [1] [1] http://pastebin.com/4Lfs2it0 On Tue, Apr 28, 2015 at 12:35 PM, Andev wrote: > On Tue, Apr 28, 2015 at 9:03 AM, leo kirotawa wrote: >> I could boot it using qemu. So what's the point? > > Could

Re: Is it all right for Netfilter modules to use control buffers (skb->cb)?

2015-04-28 Thread Alberto Leiva
nf_defrag_ipv6 restores the control buffer when it's done: http://lxr.free-electrons.com/source/net/ipv6/reassembly.c?v=3.17#L491 Considering future kernel might change the IPv6 control buffer and the stuff it expects to survive the Netfilter chain, editing it within a Netfilter module sounds like

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread leo kirotawa
I could boot it using qemu. So what's the point? On Tue, Apr 28, 2015 at 2:41 AM, Andev wrote: > On Mon, Apr 27, 2015 at 9:00 PM, Bobby Powers > wrote: > > Hello, > > > > Andev wrote: > >> I usually compile my kernel with an unsupported O3 option(why not? :). > > > > Because there have been pub

Re: Trying to write/read value at PCI BAR address from Kernel Space

2015-04-28 Thread Ricardo Ribalda Delgado
Is this some kind of school/uni assignment? I got a mail from somebody Anil Joshi (without copy to the mailing list) that sent the exact same code snippet Regards ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies

Re: Trying to write/read value at PCI BAR address from Kernel Space

2015-04-28 Thread Robert Clove
retval = pci_enable_device(dev); if (retval) { printk(KERN_ERR "Unable to enable this PCI device\n"); return retval; } else { printk(KERN_INFO "PCI device enabled\n"); } display_pci_config_space(dev); retval = pci_request_regions(dev, "expt_

Network Device Driver Interface

2015-04-28 Thread sahil aggarwal
Hi I enabled sampling on net_dev_queue and net_dev_xmit using perf_event_open(). This is what i get for cmd: ping google.com -c 1 TID:21608 PID:21608 TIME:1022501870535899 CPU:5 DEV_QUEUE Skb: 0x880fc6389000 Len:98 TID:21608 PID:21608 TIME:1022501870541280 CPU:5 DEV_QUEUE Skb: 0x880fc6