>-----Original Message-----
>From: Kirsher, Jeffrey T 
>Sent: Tuesday, March 10, 2015 1:43 AM
>
>Subject: Re: ixgbe: kernel BUG at include/linux/mm.h
>
>On Tue, 2015-03-10 at 15:09 +0800, Bob Liu wrote:
>> Hi Jeff,
>> 
>> Recently I met an issue that is likely related with ixgbe driver which
>> I'm not familiar.
>> I didn't subscribe linux-net, so I just send email to you.
>
>Add e1000-devel mailing list (no need to subscribe) because it will get
>to all of the Intel Wired LAN developers.
>
>> 
>> It happened when running block benchmark and the backend was an iSCSI disk.
>> I got below panic at put_page_testzero(), at that time the ixgbe was
>> freeing skb pages in __skb_frag_unref() but the page->_count was
>> already 0.
>> 
>> I'd like to know is it possible that the ixgbe driver notifies the
>> upper layer "transmit package complete" before ixgbe_clean_tx_irq()?
>> Because in this case, the upper layer may free the page before ixgbe driver.
>> Or do you have any other suggestions on this bug?

For starters - what is the kernel and driver version you are using? The latest 
upstream driver no longer calls put_page:

https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/drivers/net/ethernet/intel/ixgbe?id=18cb652a41ab2c9975e9b4d7ac69230d5a258f24

And it was used to clear pages on Rx, so the ixgbe_clean_tx_irq() in the trace 
is probably unrelated.

If possible try the driver in the upstream kernel. Also if you open a ticket at 
e1000.sf.net it will be easier for us to keep track of your issue.

Thanks,
Emil

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to