login
Header Space

 
 

2.6.25-rc8-mm2: FIX kmalloc-2048 (was Re: 2.6.25-rc8-mm2: IP: [<ffffffff802868f9>] __kmalloc+0x69/0x110)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Lameter <clameter@...>
Cc: Pekka Enberg <penberg@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <netdev@...>
Date: Monday, April 14, 2008 - 3:56 pm

I can reproduce semi-reliably (by kernel standards) corruption in
kmalloc-2048. No idea if this can explain all "struct file" related
oopses I saw, or SLUB free pointer corruption Pekka and Christoph are
looking into.

8139too and atl1 drivers are in use. 8139too connects to outer world,
atl1 -- to laptop collecting netconsole logs. However, I never managed to
collect late oopses with netconsole even if init scripts which are
shutting down interfaces are disabled. :-(



Transcribed from photo:

8000 flags=0x8000000000002082
INFO: Object 0xffff81017ff9d2d0 @offset=21200 fp=0xffff81017ff9ca88

Bytes b4 0xffff81017ff9d2c0:  62 ea ff ff 00 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a
  Object 0xffff81017ff9d2d0:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
  Object 0xffff81017ff9d2e0:  6b 6b 00 18 f3 a2 9f 90 00 1b 38 af 22 49 08 00
  Object 0xffff81017ff9d2f0:  45 10 00 4c ff 59 40 00 40 11 86 ac c0 a8 00 2a
  Object 0xffff81017ff9d300:  50 fa a2 be 91 43 00 7b 00 38 54 d4 23 00 00 00
  Object 0xffff81017ff9d310:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  Object 0xffff81017ff9d320:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  Object 0xffff81017ff9d330:  00 00 00 00 4c ff 10 44 74 7f 6f 9d e4 c8 a2 4f
  Object 0xffff81017ff9d340:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 Redzone 0xffff81017ff9dad0:  bb bb bb bb bb bb bb bb
 Padding 0xffff81017ff9db10:  5a 5a 5a 5a 5a 5a 5a 5a

 Pid: 6168, comm: reboot Not tainted 2.6.25-rc8-mm2 #28

 Call Trace:
	print_trailer
	check_bytes_and_report
	check_object
	__free_slab
	discard_slab
	__slab_free
	? skb_release_data
	kfree
	? skb_release_data
	skb_release_all
	__kfre_skb
	kfree_skb
	atl1_clean_rx_ring
	atl1_down
	atl1_close
	dev_close
	dev_change_flags
	devinet_ioctl
	? trace_hardirqs_on
	inet_ioctl
	sock_ioctl
	vfs_ioctl
	do_vfs_ioctl
	sys_ioctl
	system_call_after_swapgs

FIX kmalloc-2048: Restoring 0xffff81017ff9d2e2-0xffff81017ff9d8d9=0x6b

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.25-rc8-mm2, Andrew Morton, (Thu Apr 10, 11:33 pm)
BUG at __dentry_open [Was: 2.6.25-rc8-mm2], Jiri Slaby, (Mon Apr 14, 4:07 am)
2.6.25-rc8-mm2, , (Sat Apr 12, 5:41 am)
Re: 2.6.25-rc8-mm2: IP: [&lt;ffffffff802868f9&gt;] __kmalloc..., Christoph Lameter, (Mon Apr 14, 1:53 pm)
Re: 2.6.25-rc8-mm2: IP: [&lt;ffffffff802868f9&gt;] __kmalloc..., Christoph Lameter, (Mon Apr 14, 1:57 pm)
2.6.25-rc8-mm2: FIX kmalloc-2048 (was Re: 2.6.25-rc8-mm2: IP..., Alexey Dobriyan, (Mon Apr 14, 3:56 pm)
Re: 2.6.25-rc8-mm2: FIX kmalloc-2048 (was Re: 2.6.25-rc8-mm2..., Christoph Lameter, (Mon Apr 14, 4:05 pm)
atl1 64-bit =&gt; 32-bit DMA borkage (reproducible, bisected), Alexey Dobriyan, (Sat Apr 19, 10:45 am)
Re: 2.6.25-rc8-mm2: IP: [&lt;ffffffff802868f9&gt;] __kmalloc..., Christoph Lameter, (Mon Apr 14, 2:00 pm)
[mm patch] select ATA_SFF, Adrian Bunk, (Sat Apr 12, 8:51 pm)
Re: 2.6.25-rc8-mm2, KAMEZAWA Hiroyuki, (Fri Apr 11, 5:57 am)
Re: 2.6.25-rc8-mm2, KAMEZAWA Hiroyuki, (Fri Apr 11, 6:23 am)
Re: 2.6.25-rc8-mm2, Pekka Enberg, (Fri Apr 11, 6:34 am)
Re: 2.6.25-rc8-mm2, KAMEZAWA Hiroyuki, (Fri Apr 11, 6:57 am)
Re: 2.6.25-rc8-mm2, KAMEZAWA Hiroyuki, (Fri Apr 11, 7:17 am)
Re: 2.6.25-rc8-mm2, KAMEZAWA Hiroyuki, (Fri Apr 11, 9:17 am)
Re: 2.6.25-rc8-mm2, Pekka Enberg, (Fri Apr 11, 10:24 am)
Re: 2.6.25-rc8-mm2, KAMEZAWA Hiroyuki, (Sun Apr 13, 11:13 pm)
Re: 2.6.25-rc8-mm2, Adrian Bunk, (Fri Apr 11, 9:40 am)
Re: 2.6.25-rc8-mm2, Andrew Morton, (Sat Apr 12, 12:22 am)
Re: 2.6.25-rc8-mm2, Aneesh Kumar K.V, (Sat Apr 12, 2:43 pm)
Re: 2.6.25-rc8-mm2, Michael Schmitz, (Sun Apr 13, 3:45 am)
Re: 2.6.25-rc8-mm2, Geert Uytterhoeven, (Sun Apr 13, 4:11 am)
Re: 2.6.25-rc8-mm2, , (Sat Apr 12, 1:53 am)
Re: 2.6.25-rc8-mm2, Andrew Morton, (Sat Apr 12, 2:07 am)
Re: 2.6.25-rc8-mm2: Observed problems: Not a detailed bug re..., Rafael J. Wysocki, (Tue Apr 15, 4:12 pm)
speck-geostationary