Re: [BUG] 2.6.24.4 kernel bug while running ftest03

Previous thread: Re: suspend by Stefan Schweizer on Thursday, April 3, 2008 - 12:42 am. (5 messages)

Next thread: [PATCH] atmel serial reduce trasmitting window & code style patch by Michael Trimarchi on Thursday, April 3, 2008 - 1:39 am. (6 messages)
From: Kamalesh Babulal
Date: Thursday, April 3, 2008 - 12:57 am

Hi,

The kernel panic's, while running the LTP ftest03 on the 2.6.24.4 kernel
compiled with the gcov patches from LTP.
(http://ltp.cvs.sourceforge.net/ltp/utils/analysis/gcov-kernel/linux-2.6.24-gcov.patch?...) 

BUG: unable to handle kernel paging request at virtual address f8000004
printing eip: c01c2836 *pdpt = 0000000000004001 *pde = 0000000000000000 
Oops: 0000 [#1] SMP 

Modules linked in: hidp rfcomm l2cap bluetooth dm_multipath nvram via686a hwmon i2c_viapro pcspkr mptsas scsi_transport_sas floppy tg3 parport_pc ac battery button dm_mirror dm_mod joydev sunrpc i2c_dev i2c_core autofs4 lp parport ipv6 md5 sg mptspi mptscsih mptbase scsi_transport_spi sd_mod scsi_mod ehci_hcd ohci_hcd uhci_hcdPid: 24160, comm: ftest03 Not tainted (2.6.24.4-gcov-autokern1 #1) 

EIP: 0060:[<c01c2836>] EFLAGS: 00010246 CPU: 1
EIP is at iov_iter_advance+0xe9/0x155
EAX: 00000000 EBX: f3457d98 ECX: 00000080 EDX: 00000000
ESI: 00000000 EDI: f8000000 EBP: f33f6d30 ESP: f3457d24
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process ftest03 (pid: 24160, ti=f3457000 task=f6544590 task.ti=f3457000)
Stack: 00000800 0006b800 00000000 c01c5e79 0006b800 00000000 00000800 00000800 
       c7209030 c015cdea f3457e8c f7fb9180 f33f6d30 c07b1600 f33f6c68 00000000 
       00000800 00000800 00000000 c07b1600 00000000 0000006b f3457da8 c02f11cd 
Call Trace:
 [<c01c5e79>] generic_file_buffered_write+0x29f/0xc05
 [<c015cdea>] current_fs_time+0x4e/0x6f
 [<c02f11cd>] ext3_readpages+0x0/0x35
 [<c02f11cd>] ext3_readpages+0x0/0x35
 [<c01d1da4>] __do_page_cache_readahead+0x268/0x386
 [<c015cdea>] current_fs_time+0x4e/0x6f
 [<c01c6f97>] __generic_file_aio_write_nolock+0x7b8/0x852
 [<c01c70be>] generic_file_aio_write+0x8d/0x162
 [<c01c7bfd>] generic_file_aio_read+0x292/0x31a
 [<c02ecfc2>] ext3_file_write+0x32/0x17c
 [<c020b830>] do_sync_readv_writev+0xcf/0x152
 [<c01c5163>] wait_on_page_writeback_range+0x153/0x1e7
 [<c017d0f7>] autoremove_wake_function+0x0/0x5f
 [<c04f21b9>] copy_from_user+0xb1/0x135
 ...
From: Jan Kara
Date: Thursday, April 3, 2008 - 5:46 am

Are you able to reproduce the problem without this patch? The patch is
  The address is a bit strange. Looks like we have advanced iov beyond
the area we have allocated. Can you send me disassembly of the function

								Honza
-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs
--

From: Jan Kara
Date: Thursday, April 3, 2008 - 5:53 am

Hello,

  I've just found that Nick has been recently fixing this function,
Nick?
-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs
--

From: Nick Piggin
Date: Thursday, April 3, 2008 - 6:18 am

Hmm, yes it looks like an earlier oops but that should be fixed in
2.6.24.4... I can't see a way it could advance off the end of the
iovec now. Sigh.

Is the problem easy to reproduce (preferably without the gov patch
but even with the patch...).

--

From: Kamalesh Babulal
Date: Thursday, April 3, 2008 - 10:00 am

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
--

Previous thread: Re: suspend by Stefan Schweizer on Thursday, April 3, 2008 - 12:42 am. (5 messages)

Next thread: [PATCH] atmel serial reduce trasmitting window & code style patch by Michael Trimarchi on Thursday, April 3, 2008 - 1:39 am. (6 messages)