LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 07-13-2010, 07:21 AM   #1
itechnology
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
The linux kernel runing on full-duplex board will crrupt down.


hardware: Cavium octeon cn5010 based board A & board B, two boards networking as below:
board A eth1 <----> board A eth0 <-------> board B eth0 <-----> board B eth1 <-----> PC

software: Cavium SDK 1.7.3, linux 2.6.16.45
First, I ping board board A eth1 from pc. Then set one board eth0 to full duplex, another board eth0 to half duplex when 10mbps or 100mbps. The linux kernel runing on full duplex board will crrupt down. Messages as below:
Can anyone help me to solve this problem? Thanks a lot.



host# con t
host(config)# interface eth0
host(config-eth0)#duplex full
Kernel: set duplex 1->0
host(config-eth0)#% 2010-07-13 18:46:16 eth0 link change to DOWN
% 2010-07-13 18:46:17 eth0 link change to UP
KERNEL: assertion (FRAG_CB(head)->offset == 0) failed at net/ipv4/ip_fragment.c (652)
slab error in cache_free_debugcheck(): cache `skbuff_head_cache': double free, or memory outside object was

overwritten
Call Trace:
[<ffffffff814984bc>] cache_free_debugcheck+0x25c/0x330
[<ffffffff81498474>] cache_free_debugcheck+0x214/0x330
[<ffffffff8172c34c>] ip_frag_destroy+0x104/0x308
[<ffffffff814991d0>] kmem_cache_free+0x88/0x218
[<ffffffff8172c34c>] ip_frag_destroy+0x104/0x308
[<ffffffff8172d070>] ip_defrag+0xb20/0x15f8
[<ffffffff814532f8>] do_timer+0x400/0xa50
[<ffffffff81729690>] ip_rcv_finish+0x0/0x568
[<ffffffff81788260>] ip_ct_gather_frags+0x48/0x78
[<ffffffff81785864>] ip_conntrack_defrag+0x5c/0x80
[<ffffffff8171ec8c>] nf_iterate+0xf4/0x1f0
[<ffffffff81729690>] ip_rcv_finish+0x0/0x568
[<ffffffff8171ef60>] nf_hook_slow+0xa0/0x1f0
[<ffffffff8172b26c>] ip_rcv+0xbb4/0x11c8
[<ffffffff814532f8>] do_timer+0x400/0xa50
[<ffffffff815a0000>] zlib_inflateIncomp+0xb0/0x180
[<c00000000042af78>] ieee80211_send_mgmt+0x568/0x1b50 [wlan]
[<c00000000041d98c>] ieee80211_recv_mgmt+0x534/0x6260 [wlan]
[<ffffffff814757c8>] __do_IRQ+0xe0/0x258
[<ffffffff8147e8c0>] __alloc_pages+0x60/0x2f8
[<ffffffff81468ba8>] mutex_debug_check_no_locks_freed+0x238/0x270
[<ffffffff8149a130>] cache_alloc_refill+0x298/0x998
[<ffffffff8159b300>] sprintf+0x40/0x50
[<ffffffff816eae04>] dev_get_by_name+0x9c/0xb8
[<ffffffff8188efb8>] forward_wlan_packets_to_vlan+0x100/0x278
[<ffffffff816eba0c>] netif_receive_skb+0x31c/0x4c8
[<ffffffff816ef164>] process_backlog+0x134/0x2a0
[<ffffffff816ef3f0>] net_rx_action+0x120/0x350
[<ffffffff8144b44c>] __do_softirq+0x1a4/0x1f8
[<ffffffff8144b7f0>] do_softirq+0x108/0x110
[<ffffffff8144b720>] do_softirq+0x38/0x110
[<ffffffff81410884>] do_IRQ+0x24/0x38
[<ffffffff8140eca4>] ret_from_irq+0x0/0x10
[<ffffffff8173b038>] tcp_poll+0x0/0x1d0
[<ffffffff81411200>] cpu_idle+0x118/0x218
[<ffffffff81411218>] cpu_idle+0x130/0x218
[<ffffffff81a0cfac>] start_kernel+0x39c/0x3e8
[<ffffffff81a0c000>] _sinittext+0x0/0x5c

a80000000a36caa0: redzone 1: 0x5a2cf071, redzone 2: 0x5a2cf071.
slab error in cache_free_debugcheck(): cache `skbuff_head_cache': double free, or memory outside object was

overwritten
Call Trace:
[<ffffffff814984bc>] cache_free_debugcheck+0x25c/0x330
[<ffffffff81498474>] cache_free_debugcheck+0x214/0x330
[<ffffffff8172c34c>] ip_frag_destroy+0x104/0x308
[<ffffffff814991d0>] kmem_cache_free+0x88/0x218
[<ffffffff8172c34c>] ip_frag_destroy+0x104/0x308
[<ffffffff8172d070>] ip_defrag+0xb20/0x15f8
[<ffffffff814532f8>] do_timer+0x400/0xa50
[<ffffffff81729690>] ip_rcv_finish+0x0/0x568
[<ffffffff81788260>] ip_ct_gather_frags+0x48/0x78
[<ffffffff81785864>] ip_conntrack_defrag+0x5c/0x80
[<ffffffff8171ec8c>] nf_iterate+0xf4/0x1f0
[<ffffffff81729690>] ip_rcv_finish+0x0/0x568
[<ffffffff8171ef60>] nf_hook_slow+0xa0/0x1f0
[<ffffffff8172b26c>] ip_rcv+0xbb4/0x11c8
[<ffffffff814532f8>] do_timer+0x400/0xa50
[<ffffffff815a0000>] zlib_inflateIncomp+0xb0/0x180
[<c00000000042af78>] ieee80211_send_mgmt+0x568/0x1b50 [wlan]
[<c00000000041d98c>] ieee80211_recv_mgmt+0x534/0x6260 [wlan]
[<ffffffff814757c8>] __do_IRQ+0xe0/0x258
[<ffffffff8147e8c0>] __alloc_pages+0x60/0x2f8
[<ffffffff81468ba8>] mutex_debug_check_no_locks_freed+0x238/0x270
[<ffffffff8149a130>] cache_alloc_refill+0x298/0x998
[<ffffffff8159b300>] sprintf+0x40/0x50
[<ffffffff816eae04>] dev_get_by_name+0x9c/0xb8
[<ffffffff8188efb8>] forward_wlan_packets_to_vlan+0x100/0x278
[<ffffffff816eba0c>] netif_receive_skb+0x31c/0x4c8
[<ffffffff816ef164>] process_backlog+0x134/0x2a0
[<ffffffff816ef3f0>] net_rx_action+0x120/0x350
[<ffffffff8144b44c>] __do_softirq+0x1a4/0x1f8
[<ffffffff8144b7f0>] do_softirq+0x108/0x110
[<ffffffff8144b720>] do_softirq+0x38/0x110
[<ffffffff81410884>] do_IRQ+0x24/0x38
[<ffffffff8140eca4>] ret_from_irq+0x0/0x10
[<ffffffff8173b038>] tcp_poll+0x0/0x1d0
[<ffffffff81411200>] cpu_idle+0x118/0x218
[<ffffffff81411218>] cpu_idle+0x130/0x218
[<ffffffff81a0cfac>] start_kernel+0x39c/0x3e8
[<ffffffff81a0c000>] _sinittext+0x0/0x5c

a80000000a46d968: redzone 1: 0x5a2cf071, redzone 2: 0x5a2cf071.
slab error in cache_free_debugcheck(): cache `skbuff_head_cache': double free, or memory outside object was

overwritten
Call Trace:
[<ffffffff814984bc>] cache_free_debugcheck+0x25c/0x330
[<ffffffff81498474>] cache_free_debugcheck+0x214/0x330
[<ffffffff8172c34c>] ip_frag_destroy+0x104/0x308
[<ffffffff814991d0>] kmem_cache_free+0x88/0x218
[<ffffffff8172c34c>] ip_frag_destroy+0x104/0x308
[<ffffffff8172d070>] ip_defrag+0xb20/0x15f8
[<ffffffff814532f8>] do_timer+0x400/0xa50
[<ffffffff81729690>] ip_rcv_finish+0x0/0x568
[<ffffffff81788260>] ip_ct_gather_frags+0x48/0x78
[<ffffffff81785864>] ip_conntrack_defrag+0x5c/0x80
[<ffffffff8171ec8c>] nf_iterate+0xf4/0x1f0
[<ffffffff81729690>] ip_rcv_finish+0x0/0x568
 
Old 07-15-2010, 03:09 PM   #2
jtarin
Member
 
Registered: May 2010
Location: Vladivostok, Russia
Distribution: Slackware 13.0, Ubuntu 12.04
Posts: 95

Rep: Reputation: 22
Try mii-tool command to force it to 100 Mbps

check mii-tool manpage for detail.

If that doesn't work,and some cards dont work.

Try ethtool.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't change from half-duplex to full-duplex on a gigabit nic brgsousa Linux - Software 4 05-29-2010 11:03 AM
half-duplex and full-duplex vs. cable. stf92 Linux - Hardware 6 03-01-2010 07:42 PM
e100 driver + kernel 2.6.3 = no full duplex evilcartman Linux - Networking 0 03-03-2004 12:33 PM
Best 10/100 Mbps 24 port switch for full duplex with Linux joeschmoe Linux - Networking 2 11-10-2001 09:07 AM


All times are GMT -5. The time now is 03:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration