[PLUG] NFS on Fedora 17

Amit Karpe amitkarpe at gmail.com
Fri Feb 22 00:45:11 PST 2013


Hi all,
I am facing problem using nfs on Fedora 17.
While mounting nfs partition by following command:
[root at localhost ~]# mount  borneo:/home/ /mnt/home  -v
mount.nfs: timeout set for Fri Feb 22 16:40:07 2013
mount.nfs: trying text-based options
'vers=4,addr=###########,clientaddr=###########'
mount.nfs: mount(2): No such device
mount.nfs: No such device

After rebooting (sometime) nfs module is locaded or sometime not.
[root at localhost ~]# lsmod | grep nfs
nfs_acl                12654  0
sunrpc                215746  4 auth_rpcgss,lockd,nfs_acl

While loading module I got following error:
[root at localhost ~]# modprobe -v nfs
insmod /lib/modules/3.6.11-1.fc17.i686.PAE/kernel/fs/nfs/nfs.ko
ERROR: could not insert 'nfs': Cannot allocate memory

Following line in /var/log/messages
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843081] vmap allocation for
size 196608 failed: use vmalloc=<size> to increase size.
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843089] vmalloc: allocation
failure: 190788 bytes
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843093] modprobe: page
allocation failure: order:0, mode:0xd2
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843098] Pid: 16512, comm:
modprobe Tainted: G         C O 3.6.11-1.fc17.i686.PAE #1
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843100] Call Trace:
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843112]  [<c05091fd>]
warn_alloc_failed+0xad/0xf0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843121]  [<c0534a79>]
__vmalloc_node_range+0x179/0x1e0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843127]  [<c051b986>] ?
vma_prio_tree_insert+0x26/0x40
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843133]  [<c0534b42>]
__vmalloc_node+0x62/0x70
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843140]  [<c04a8309>] ?
sys_init_module+0x69/0x1d60
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843146]  [<c0534c18>]
vmalloc+0x38/0x40
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843151]  [<c04a8309>] ?
sys_init_module+0x69/0x1d60
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843155]  [<c04a8309>]
sys_init_module+0x69/0x1d60
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843161]  [<c052e1b6>] ?
do_mmap_pgoff+0x1e6/0x2d0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843170]  [<c06286f3>] ?
security_mmap_file+0x33/0x70
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843178]  [<c097aedf>]
sysenter_do_call+0x12/0x28
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843181] Mem-Info:
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843183] DMA per-cpu:
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843185] CPU    0: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843188] CPU    1: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843190] CPU    2: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843192] CPU    3: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843195] CPU    4: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843197] CPU    5: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843199] CPU    6: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843201] CPU    7: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843203] CPU    8: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843206] CPU    9: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843208] CPU   10: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843210] CPU   11: hi:    0,
btch:   1 usd:   0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843212] Normal per-cpu:
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843214] CPU    0: hi:  186,
btch:  31 usd:  85
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843217] CPU    1: hi:  186,
btch:  31 usd:  37
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843219] CPU    2: hi:  186,
btch:  31 usd:  64
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843221] CPU    3: hi:  186,
btch:  31 usd:  69
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843223] CPU    4: hi:  186,
btch:  31 usd: 120
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843225] CPU    5: hi:  186,
btch:  31 usd:  26
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843228] CPU    6: hi:  186,
btch:  31 usd: 159
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843230] CPU    7: hi:  186,
btch:  31 usd: 173
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843232] CPU    8: hi:  186,
btch:  31 usd: 177
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843234] CPU    9: hi:  186,
btch:  31 usd: 166
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843236] CPU   10: hi:  186,
btch:  31 usd: 172
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843239] CPU   11: hi:  186,
btch:  31 usd: 158
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843240] HighMem per-cpu:
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843242] CPU    0: hi:  186,
btch:  31 usd:  45
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843245] CPU    1: hi:  186,
btch:  31 usd:  34
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843247] CPU    2: hi:  186,
btch:  31 usd:  58
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843249] CPU    3: hi:  186,
btch:  31 usd:  29
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843251] CPU    4: hi:  186,
btch:  31 usd: 168
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843253] CPU    5: hi:  186,
btch:  31 usd: 155
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843255] CPU    6: hi:  186,
btch:  31 usd: 165
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843258] CPU    7: hi:  186,
btch:  31 usd: 158
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843260] CPU    8: hi:  186,
btch:  31 usd: 146
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843262] CPU    9: hi:  186,
btch:  31 usd: 178
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843264] CPU   10: hi:  186,
btch:  31 usd: 161
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843266] CPU   11: hi:  186,
btch:  31 usd: 173
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843273] active_anon:30634
inactive_anon:66 isolated_anon:0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843273]  active_file:51322
inactive_file:79578 isolated_file:0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843273]  unevictable:0
dirty:67 writeback:0 unstable:0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843273]  free:3931475
slab_reclaimable:5731 slab_unreclaimable:7008
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843273]  mapped:13089
shmem:329 pagetables:963 bounce:0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843285] DMA free:6492kB
min:784kB low:980kB high:1176kB active_anon:0kB inactive_anon:0kB
active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB
isolated(file):0kB present:15800kB mlocked:0kB dirty:0kB writeback:0kB
mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:16kB
kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843287] lowmem_reserve[]: 0
863 16159 16159
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843300] Normal free:563312kB
min:43912kB low:54888kB high:65868kB active_anon:0kB inactive_anon:0kB
active_file:13724kB inactive_file:33152kB unevictable:0kB
isolated(anon):0kB isolated(file):0kB present:883912kB mlocked:0kB
dirty:212kB writeback:0kB mapped:4kB shmem:0kB
slab_reclaimable:22924kB slab_unreclaimable:28016kB
kernel_stack:2000kB pagetables:0kB unstable:0kB bounce:0kB
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843302] lowmem_reserve[]: 0
0 122370 122370
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843313] HighMem
free:15156096kB min:512kB low:195060kB high:389612kB
active_anon:122536kB inactive_anon:264kB active_file:191564kB
inactive_file:285160kB unevictable:0kB isolated(anon):0kB
isolated(file):0kB present:15663456kB mlocked:0kB dirty:56kB
writeback:0kB mapped:52352kB shmem:1316kB slab_reclaimable:0kB
slab_unreclaimable:0kB kernel_stack:0kB pagetables:3852kB unstable:0kB
bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843316] lowmem_reserve[]: 0 0 0 0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843321] DMA: 3*4kB 2*8kB
2*16kB 5*32kB 4*64kB 3*128kB 4*256kB 1*512kB 2*1024kB 1*2048kB
0*4096kB = 6492kB
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843334] Normal: 30*4kB
96*8kB 43*16kB 6*32kB 2*64kB 2*128kB 2*256kB 3*512kB 0*1024kB 3*2048kB
135*4096kB = 563304kB
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843346] HighMem: 1059*4kB
511*8kB 148*16kB 58*32kB 8*64kB 4*128kB 0*256kB 1*512kB 1*1024kB
3*2048kB 3695*4096kB = 15155972kB
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843359] 131221 total pagecache pages
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843361] 0 pages in swap cache
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843363] Swap cache stats:
add 0, delete 0, find 0/0
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843365] Free swap  = 5119996kB
Feb 22 16:41:54 newhpnewhp kernel: [ 3320.843367] Total swap = 5119996kB
Feb 22 16:41:55 newhpnewhp kernel: [ 3320.890680] 4390896 pages RAM
Feb 22 16:41:55 newhpnewhp kernel: [ 3320.890684] 4164098 pages HighMem
Feb 22 16:41:55 newhpnewhp kernel: [ 3320.890686] 261422 pages reserved
Feb 22 16:41:55 newhpnewhp kernel: [ 3320.890687] 57896 pages shared
Feb 22 16:41:55 newhpnewhp kernel: [ 3320.890689] 166068 pages non-shared

Any help will be appreciated.


--
Regards
Amit Karpe.
http://www.amitkarpe.com/
http://news.karpe.net.in/



More information about the plug-mail mailing list