>Uh, this is what happens.
What happens is weird... :)
>================== ==================
>
>Jun 21 16:38:41 thezone kernel: invalid operand: 0000
>Jun 21 16:38:41 thezone kernel: CPU: 0
>Jun 21 16:38:41 thezone kernel: EIP: 0010:[block_write_partial_page+280/1172]
>Jun 21 16:38:41 thezone kernel: EFLAGS: 00010296
>Jun 21 16:38:41 thezone kernel: eax: 0000001d ebx: c0008000 ecx: ffffffff edx: 0000003c
>Jun 21 16:38:41 thezone kernel: esi: c035b560 edi: 00090f00 ebp: 00000000 esp: c0009ecc
>Jun 21 16:38:41 thezone kernel: ds: 0018 es: 0018 ss: 0018
>Jun 21 16:38:41 thezone kernel: Process kswapd (pid: 4, process nr: 4, stackpage=c0009000)
^^^^^^ kswapd can't call sys_write
This made me to think that you are using an old System.map. You sure got
the Oops inside brw_page instead of in block_write_partial_page as klogd
claims.
(btw after applying my patch you must recompile everything with a make
clean)
>Jun 21 16:38:44 thezone kernel: kernel BUG at buffer.c:1291!
This happens here:
static int create_page_buffers (int rw, struct page *page, kdev_t dev, int
b[], int size, int bmap)
{
struct buffer_head *head, *bh, *tail;
int block;
if (!PageLocked(page))
BUG();
if (page->owner != (int)current)
PAGE_BUG(page);
^^^^^^^^^^^^^^
Andrea Arcangeli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/