FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-17-2007, 01:43 PM
Strake
 
Default NFS File-server Oops

Hi,

I am running Debian 4.0 on a file-server, called bender, using NFS to serve the files, and a little while after I start to copy files to my server, my server's kernel oopses and the process on the client doing the copying hangs.


Using stock kernel.

The kernel according to `uname -r`: 2.6.18-4-amd64

The message that I get on terminal:
Message from syslogd@bender at Tue Dec 31 19:52:28 2002 ...
bender kernel: Oops: 0000 [1] SMP


Message from syslogd@bender at Tue Dec 31 19:52:28 2002 ...
bender kernel: CR2: 0000000000000000

The gospel according to dmesg:

Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:

*[<ffffffff802a749a>] page_to_pfn+0x0/0x33
PGD 1f6ab067 PUD 1f378067 PMD 0
Oops: 0000 [1] SMP
CPU 0
Modules linked in: sha256 aes nfs lockd nfs_acl sunrpc ipv6 button ac battery xf
s dm_crypt sbp2 loop tsdev snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_

timer snd snd_page_alloc floppy psmouse parport_pc parport serio_raw i810_audio
ac97_codec pcspkr i2c_nforce2 soundcore i2c_core evdev eth1394 ext3 jbd mbcache
dm_mirror dm_snapshot dm_mod raid1 md_mod ide_generic sd_mod ide_cd cdrom sata_n

v libata scsi_mod tg3 ohci1394 r8169 e1000 ieee1394 forcedeth generic amd74xx id
e_core ehci_hcd ohci_hcd thermal processor fan
Pid: 203, comm: pdflush Not tainted 2.6.18-4-amd64 #1
RIP: 0010:[<ffffffff802a749a>]* [<ffffffff802a749a>] page_to_pfn+0x0/0x33

RSP: 0018:ffff81001fd317d8* EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff810017de2140 RCX: 0000000000000000
RDX: 0000000000000014 RSI: ffff810017de2140 RDI: 0000000000000000
RBP: ffff810017e44000 R08: 0000000000000000 R09: ffff81001fc027f0

R10: 0000000000000246 R11: ffff810017d3edc0 R12: ffff810017de2140
R13: 0000000000000000 R14: 0000000000000000 R15: ffff81001f30cc98
FS:* 00002b536bdd56d0(0000) GS:ffffffff80521000(0000) knlGS:0000000000000000

CS:* 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 000000001f6aa000 CR4: 00000000000006e0
Process pdflush (pid: 203, threadinfo ffff81001fd30000, task ffff81001fc027f0)
Stack:* ffffffff8022bf96 ffff81001fc027f0 000000000000d400 0000000000000000

*ffff810000000001 0000000000000001 ffff810017de2140 ffff81001f30cc98
*ffff810017de2240 ffff810017c7aca8 0000000000000014 000000000000b000
Call Trace:
*[<ffffffff8022bf96>] blk_recount_segments+0x7e/0x21b

*[<ffffffff802bb9ae>] __bio_clone+0x71/0x8a
*[<ffffffff802bb9fc>] bio_clone+0x35/0x3d
*[<ffffffff882e476a>] :dm_crypt:crypt_map+0xcd/0x304
*[<ffffffff881a82bf>] :dm_mod:__map_bio+0x47/0x9b

*[<ffffffff881a8c1f>] :dm_mod:__split_bio+0x172/0x37d
*[<ffffffff802200e5>] __up_read+0x13/0x8a
*[<ffffffff881a9432>] :dm_mod:dm_request+0x101/0x110
*[<ffffffff80219f55>] generic_make_request+0x13a/0x14d

*[<ffffffff80231028>] submit_bio+0xcb/0xd2
*[<ffffffff8022aa71>] __bio_add_page+0x154/0x1ce
*[<ffffffff8833bd8b>] :xfs:xfs_submit_ioend_bio+0x1e/0x27
*[<ffffffff8833c7c3>] :xfs:xfs_page_state_convert+0xa2f/0xb6e

*[<ffffffff8833cb30>] :xfs:xfs_vm_writepage+0xa7/0xdd
*[<ffffffff8021ac61>] mpage_writepages+0x1a6/0x34d
*[<ffffffff8833ca89>] :xfs:xfs_vm_writepage+0x0/0xdd
*[<ffffffff80256d07>] do_writepages+0x20/0x2f

*[<ffffffff8022dbd7>] __writeback_single_inode+0x1b4/0x38b
*[<ffffffff881a8a46>] :dm_mod:dm_any_congested+0x38/0x3f
*[<ffffffff881aa58a>] :dm_mod:dm_table_any_congested+0x46/0x63
*[<ffffffff8021edb1>] sync_sb_inodes+0x1d1/0x2b5

*[<ffffffff802901be>] keventd_create_kthread+0x0/0x61
*[<ffffffff8024c991>] writeback_inodes+0x7d/0xd3
*[<ffffffff802a894a>] background_writeout+0x82/0xb5
*[<ffffffff8025242d>] pdflush+0x0/0x1ed

*[<ffffffff80252570>] pdflush+0x143/0x1ed
*[<ffffffff802a88c8>] background_writeout+0x0/0xb5
*[<ffffffff8023055a>] kthread+0xd4/0x107
*[<ffffffff80259360>] child_rip+0xa/0x12
*[<ffffffff802901be>] keventd_create_kthread+0x0/0x61

*[<ffffffff80230486>] kthread+0x0/0x107
*[<ffffffff80259356>] child_rip+0x0/0x12


Code: 48 8b 07 48 c1 e8 3a 48 8b 14 c5 20 d0 52 80 48 b8 b7 6d db
RIP* [<ffffffff802a749a>] page_to_pfn+0x0/0x33

*RSP <ffff81001fd317d8>
CR2: 0000000000000000

ksymoops output:


Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
*[<ffffffff802a749a>] page_to_pfn+0x0/0x33

Oops: 0000 [1] SMP
CPU 0
ac97_codec pcspkr i2c_nforce2 soundcore i2c_core evdev eth1394 ext3 jbd mbcache
Pid: 203, comm: pdflush Not tainted 2.6.18-4-amd64 #1
RIP: 0010:[<ffffffff802a749a>]* [<ffffffff802a749a>] page_to_pfn+0x0/0x33

Using defaults from ksymoops -t elf64-x86-64 -a i386:x86-64
RSP: 0018:ffff81001fd317d8* EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff810017de2140 RCX: 0000000000000000
RDX: 0000000000000014 RSI: ffff810017de2140 RDI: 0000000000000000

RBP: ffff810017e44000 R08: 0000000000000000 R09: ffff81001fc027f0
R10: 0000000000000246 R11: ffff810017d3edc0 R12: ffff810017de2140
R13: 0000000000000000 R14: 0000000000000000 R15: ffff81001f30cc98
FS:* 00002b536bdd56d0(0000) GS:ffffffff80521000(0000) knlGS:0000000000000000

CS:* 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 000000001f6aa000 CR4: 00000000000006e0
Stack:* ffffffff8022bf96 ffff81001fc027f0 000000000000d400 0000000000000000
*ffff810000000001 0000000000000001 ffff810017de2140 ffff81001f30cc98

*ffff810017de2240 ffff810017c7aca8 0000000000000014 000000000000b000
Call Trace:
*[<ffffffff8022bf96>] blk_recount_segments+0x7e/0x21b
*[<ffffffff802bb9ae>] __bio_clone+0x71/0x8a
*[<ffffffff802bb9fc>] bio_clone+0x35/0x3d

*[<ffffffff882e476a>] :dm_crypt:crypt_map+0xcd/0x304
*[<ffffffff881a82bf>] :dm_mod:__map_bio+0x47/0x9b
*[<ffffffff881a8c1f>] :dm_mod:__split_bio+0x172/0x37d
*[<ffffffff802200e5>] __up_read+0x13/0x8a

*[<ffffffff881a9432>] :dm_mod:dm_request+0x101/0x110
*[<ffffffff80219f55>] generic_make_request+0x13a/0x14d
*[<ffffffff80231028>] submit_bio+0xcb/0xd2
*[<ffffffff8022aa71>] __bio_add_page+0x154/0x1ce

*[<ffffffff8833bd8b>] :xfs:xfs_submit_ioend_bio+0x1e/0x27
*[<ffffffff8833c7c3>] :xfs:xfs_page_state_convert+0xa2f/0xb6e
*[<ffffffff8833cb30>] :xfs:xfs_vm_writepage+0xa7/0xdd
*[<ffffffff8021ac61>] mpage_writepages+0x1a6/0x34d

*[<ffffffff8833ca89>] :xfs:xfs_vm_writepage+0x0/0xdd
*[<ffffffff80256d07>] do_writepages+0x20/0x2f
*[<ffffffff8022dbd7>] __writeback_single_inode+0x1b4/0x38b
*[<ffffffff881a8a46>] :dm_mod:dm_any_congested+0x38/0x3f

*[<ffffffff881aa58a>] :dm_mod:dm_table_any_congested+0x46/0x63
*[<ffffffff8021edb1>] sync_sb_inodes+0x1d1/0x2b5
*[<ffffffff802901be>] keventd_create_kthread+0x0/0x61
*[<ffffffff8024c991>] writeback_inodes+0x7d/0xd3

*[<ffffffff802a894a>] background_writeout+0x82/0xb5
*[<ffffffff8025242d>] pdflush+0x0/0x1ed
*[<ffffffff80252570>] pdflush+0x143/0x1ed
*[<ffffffff802a88c8>] background_writeout+0x0/0xb5

*[<ffffffff8023055a>] kthread+0xd4/0x107
*[<ffffffff80259360>] child_rip+0xa/0x12
*[<ffffffff802901be>] keventd_create_kthread+0x0/0x61
*[<ffffffff80230486>] kthread+0x0/0x107
*[<ffffffff80259356>] child_rip+0x0/0x12

Code: 48 8b 07 48 c1 e8 3a 48 8b 14 c5 20 d0 52 80 48 b8 b7 6d db


>>RIP; ffffffff802a749a <page_to_pfn+0/33>** <=====

>>RBX; ffff810017de2140 <phys_startup_64+ffff810017be2040/ffffffff7fffff00>

>>RSI; ffff810017de2140 <phys_startup_64+ffff810017be2040/ffffffff7fffff00>
>>RBP; ffff810017e44000 <phys_startup_64+ffff810017c43f00/ffffffff7fffff00>
>>R09; ffff81001fc027f0 <phys_startup_64+ffff81001fa026f0/ffffffff7fffff00>

>>R11; ffff810017d3edc0 <phys_startup_64+ffff810017b3ecc0/ffffffff7fffff00>
>>R12; ffff810017de2140 <phys_startup_64+ffff810017be2040/ffffffff7fffff00>
>>R15; ffff81001f30cc98 <phys_startup_64+ffff81001f10cb98/ffffffff7fffff00>


Trace; ffffffff8022bf96 <blk_recount_segments+7e/21b>
Trace; ffffffff802bb9ae <__bio_clone+71/8a>
Trace; ffffffff802bb9fc <bio_clone+35/3d>
Trace; ffffffff882e476a <_end+7d7776a/7f093000>

Trace; ffffffff881a82bf <_end+7c3b2bf/7f093000>
Trace; ffffffff881a8c1f <_end+7c3bc1f/7f093000>
Trace; ffffffff802200e5 <__up_read+13/8a>
Trace; ffffffff881a9432 <_end+7c3c432/7f093000>

Trace; ffffffff80219f55 <generic_make_request+13a/14d>
Trace; ffffffff80231028 <submit_bio+cb/d2>
Trace; ffffffff8022aa71 <__bio_add_page+154/1ce>
Trace; ffffffff8833bd8b <_end+7dced8b/7f093000>

Trace; ffffffff8833c7c3 <_end+7dcf7c3/7f093000>
Trace; ffffffff8833cb30 <_end+7dcfb30/7f093000>
Trace; ffffffff8021ac61 <mpage_writepages+1a6/34d>
Trace; ffffffff8833ca89 <_end+7dcfa89/7f093000>

Trace; ffffffff80256d07 <do_writepages+20/2f>
Trace; ffffffff8022dbd7 <__writeback_single_inode+1b4/38b>
Trace; ffffffff881a8a46 <_end+7c3ba46/7f093000>
Trace; ffffffff881aa58a <_end+7c3d58a/7f093000>

Trace; ffffffff8021edb1 <sync_sb_inodes+1d1/2b5>
Trace; ffffffff802901be <keventd_create_kthread+0/61>
Trace; ffffffff8024c991 <writeback_inodes+7d/d3>
Trace; ffffffff802a894a <background_writeout+82/b5>

Trace; ffffffff8025242d <pdflush+0/1ed>
Trace; ffffffff80252570 <pdflush+143/1ed>
Trace; ffffffff802a88c8 <background_writeout+0/b5>
Trace; ffffffff8023055a <kthread+d4/107>
Trace; ffffffff80259360 <child_rip+a/12>

Trace; ffffffff802901be <keventd_create_kthread+0/61>
Trace; ffffffff80230486 <kthread+0/107>
Trace; ffffffff80259356 <child_rip+0/12>

Code;* ffffffff802a749a <page_to_pfn+0/33>

0000000000000000 <_RIP>:
Code;* ffffffff802a749a <page_to_pfn+0/33>** <=====
** 0:** 48 8b 07***************** mov*** (%rdi),%rax** <=====
Code;* ffffffff802a749d <page_to_pfn+3/33>
** 3:** 48 c1 e8 3a************** shr*** $0x3a,%rax

Code;* ffffffff802a74a1 <page_to_pfn+7/33>
** 7:** 48 8b 14 c5 20 d0 52***** mov*** 0xffffffff8052d020(,%rax,8),%rdx
Code;* ffffffff802a74a8 <page_to_pfn+e/33>
** e:** 80
Code;* ffffffff802a74a9 <page_to_pfn+f/33>

** f:** 48 b8 b7 6d db 00 00***** mov*** $0xdb6db7,%rax
Code;* ffffffff802a74b0 <page_to_pfn+16/33>
* 16:** 00 00 00

CR2: 0000000000000000
 
Old 11-17-2007, 01:56 PM
"Jamin W. Collins"
 
Default NFS File-server Oops

Strake wrote:
> Hi,
>
> I am running Debian 4.0 on a file-server, called bender, using NFS to
> serve the files, and a little while after I start to copy files to my
> server, my server's kernel oopses and the process on the client doing
> the copying hangs.
>
> Using stock kernel.
>
> The kernel according to `uname -r`: 2.6.18-4-amd64

> Pid: 203, comm: pdflush Not tainted 2.6.18-4-amd64 #1

I'm not an expert at reading these outputs, but it would appear the
problem is with pdflush. Searching for kernel oops and pdflush turned
up this:

http://lists.debian.org/debian-kernel/2007/02/msg00182.html

It appears that other people have seen the same problem with the same
kernel.

--
Jamin W. Collins


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-18-2007, 11:04 AM
Strake
 
Default NFS File-server Oops

Hey, that was it! This is a bug that was apparently fixed in 2.6.18.6, so what I ended up doing to fix it was to upgrade to 2.6.18.8, thus eliminating the bug.


Thanks for your help!

On Nov 17, 2007 9:56 AM, Jamin W. Collins <jcollins@asgardsrealm.net> wrote:

Strake wrote:
> Hi,
>
> I am running Debian 4.0 on a file-server, called bender, using NFS to
> serve the files, and a little while after I start to copy files to my
> server, my server's kernel oopses and the process on the client doing

> the copying hangs.
>
> Using stock kernel.
>
> The kernel according to `uname -r`: 2.6.18-4-amd64

> Pid: 203, comm: pdflush Not tainted 2.6.18-4-amd64 #1


I'm not an expert at reading these outputs, but it would appear the
problem is with pdflush. *Searching for kernel oops and pdflush turned
up this:


http://lists.debian.org/debian-kernel/2007/02/msg00182.html

It appears that other people have seen the same problem with the same
kernel.

--
Jamin W. Collins



--
Self-mutilation doesn't make you emo; I cut myself, burn myself and run into walls all the time just to see if I can take it.
-- D. Endemann
 

Thread Tools




All times are GMT. The time now is 09:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org