[Bug 807153] New: xfsdump reports "WARNING: could not get list of non-root attributes ...."
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c0 Summary: xfsdump reports "WARNING: could not get list of non-root attributes ...." Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: gerben@sgi.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 When i run xfsdump to dump an xfs file system, i get many messages saying: xfsdump: WARNING: could not get list of root attributes for nondir ino 540582164: Cannot allocate memory (12) xfsdump: WARNING: could not get list of secure attributes for nondir ino 540582164: Cannot allocate memory (12) xfsdump: WARNING: could not get list of non-root attributes for nondir ino 540582166: Cannot allocate memory (12) xfsdump: WARNING: could not get list of root attributes for nondir ino 540582166: Cannot allocate memory (12) xfsdump: WARNING: could not get list of secure attributes for nondir ino 540582166: Cannot allocate memory (12) xfsdump: WARNING: could not get list of non-root attributes for nondir ino 540582168: Cannot allocate memory (12) xfsdump: WARNING: could not get list of root attributes for nondir ino 540582168: Cannot allocate memory (12) xfsdump: WARNING: could not get list of secure attributes for nondir ino 540582168: Cannot allocate memory (12) xfsdump: WARNING: could not get list of non-root attributes for nondir ino 540582170: Cannot allocate memory (12) This problem also occurred in OpenSuSE 12.1 and i know it also happens in SLES11SP2 A long time ago Dave Chinner had a fix for this, see http://oss.sgi.com/archives/xfs/2012-01/msg00005.html I just rebooted my laptop (2GB of memory) started xfsdump to dump my /home file system: Filesystem Size Used Avail Use% Mounted on /dev/sda9 176G 43G 134G 24% /home Nothing else is running on the laptop. The exact command i'm running is: # xfsdump -l 0 -F -p 15 - /home | gzip -f > /externaldisk/home.xfsdump.gz Is my /externaldisk/home.xfsdump.gz a valid dump on which i can rely? Reproducible: Always Steps to Reproduce: 1. Have a reasonably bif xfs file system 2. run # xfsdump -l 0 -F -p 15 - /home | gzip -f > /externaldisk/home.xfsdump.gz 3. Actual Results: Many messages saying: xfsdump: WARNING: could not get list of root attributes for nondir ino 564729068: Cannot allocate memory (12) xfsdump: WARNING: could not get list of secure attributes for nondir ino 564729068: Cannot allocate memory (12) xfsdump: WARNING: could not get list of non-root attributes for nondir ino 564730131: Cannot allocate memory (12) xfsdump: WARNING: could not get list of root attributes for nondir ino 564730131: Cannot allocate memory (12) xfsdump: WARNING: could not get list of secure attributes for nondir ino 564730131: Cannot allocate memory (12) xfsdump: WARNING: could not get list of non-root attributes for nondir ino 564730132: Cannot allocate memory (12) xfsdump: WARNING: could not get list of root attributes for nondir ino 564730132: Cannot allocate memory (12) xfsdump: WARNING: could not get list of secure attributes for nondir ino 564730132: Cannot allocate memory (12) xfsdump: WARNING: could not get list of non-root attributes for nondir ino 564730147: Cannot allocate memory (12) xfsdump: WARNING: could not get list of root attributes for nondir ino 564730147: Cannot allocate memory (12) xfsdump: WARNING: could not get list of secure attributes for nondir ino 564730147: Cannot allocate memory (12) xfsdump: WARNING: could not get list of non-root attributes for nondir ino 564730148: Cannot allocate memory (12) xfsdump: WARNING: could not get list of root attributes for nondir ino 564730148: Cannot allocate memory (12) Expected Results: Just dump the files without these warning messages In my /var/log/messages file i have many messages saying: Mar 2 11:16:07 guppy kernel: [ 4190.651553] xfsdump: page allocation failure. order:4, mode:0xd0 Mar 2 11:16:07 guppy kernel: [ 4190.651556] Pid: 6878, comm: xfsdump Tainted: G C O 3.4.28-2.20-desktop #1 Mar 2 11:16:07 guppy kernel: [ 4190.651558] Call Trace: Mar 2 11:16:07 guppy kernel: [ 4190.651571] [<ffffffff81004648>] dump_trace+0x88/0x300 Mar 2 11:16:07 guppy kernel: [ 4190.651576] [<ffffffff81582ddc>] dump_stack+0x69/0x6f Mar 2 11:16:07 guppy kernel: [ 4190.651582] [<ffffffff811044e2>] warn_alloc_failed+0x102/0x1b0 Mar 2 11:16:07 guppy kernel: [ 4190.651587] [<ffffffff811084e8>] __alloc_pages_nodemask+0x728/0xa00 Mar 2 11:16:07 guppy kernel: [ 4190.651593] [<ffffffff81148282>] kmem_getpages+0x62/0x190 Mar 2 11:16:07 guppy kernel: [ 4190.651597] [<ffffffff81149834>] fallback_alloc+0x184/0x270 Mar 2 11:16:07 guppy kernel: [ 4190.651601] [<ffffffff8114a770>] __kmalloc+0x180/0x200 Mar 2 11:16:07 guppy kernel: [ 4190.651634] [<ffffffffa05557cd>] xfs_attrlist_by_handle+0x8d/0x120 [xfs] Mar 2 11:16:07 guppy kernel: [ 4190.651675] [<ffffffffa05566e6>] xfs_file_ioctl+0x676/0x8e0 [xfs] Mar 2 11:16:07 guppy kernel: [ 4190.651696] [<ffffffff8116f2df>] do_vfs_ioctl+0x8f/0x530 Mar 2 11:16:07 guppy kernel: [ 4190.651700] [<ffffffff8116f818>] sys_ioctl+0x98/0xa0 Mar 2 11:16:07 guppy kernel: [ 4190.651704] [<ffffffff81595abd>] system_call_fastpath+0x1a/0x1f Mar 2 11:16:07 guppy kernel: [ 4190.651724] [<00007fa8a3695807>] 0x7fa8a3695806 Mar 2 11:16:07 guppy kernel: [ 4190.651726] Mem-Info: Mar 2 11:16:07 guppy kernel: [ 4190.651727] Node 0 DMA per-cpu: Mar 2 11:16:07 guppy kernel: [ 4190.651729] CPU 0: hi: 0, btch: 1 usd: 0 Mar 2 11:16:07 guppy kernel: [ 4190.651730] CPU 1: hi: 0, btch: 1 usd: 0 Mar 2 11:16:07 guppy kernel: [ 4190.651731] CPU 2: hi: 0, btch: 1 usd: 0 Mar 2 11:16:07 guppy kernel: [ 4190.651733] CPU 3: hi: 0, btch: 1 usd: 0 Mar 2 11:16:07 guppy kernel: [ 4190.651734] Node 0 DMA32 per-cpu: Mar 2 11:16:07 guppy kernel: [ 4190.651735] CPU 0: hi: 186, btch: 31 usd: 0 Mar 2 11:16:07 guppy kernel: [ 4190.651736] CPU 1: hi: 186, btch: 31 usd: 0 Mar 2 11:16:07 guppy kernel: [ 4190.651738] CPU 2: hi: 186, btch: 31 usd: 0 Mar 2 11:16:07 guppy kernel: [ 4190.651739] CPU 3: hi: 186, btch: 31 usd: 0 Mar 2 11:16:07 guppy kernel: [ 4190.651742] active_anon:67912 inactive_anon:77209 isolated_anon:3 Mar 2 11:16:07 guppy kernel: [ 4190.651743] active_file:77511 inactive_file:184075 isolated_file:0 Mar 2 11:16:07 guppy kernel: [ 4190.651743] unevictable:0 dirty:9030 writeback:0 unstable:0 Mar 2 11:16:07 guppy kernel: [ 4190.651744] free:19907 slab_reclaimable:18969 slab_unreclaimable:9589 Mar 2 11:16:07 guppy kernel: [ 4190.651745] mapped:22625 shmem:17891 pagetables:6479 bounce:0 Mar 2 11:16:07 guppy kernel: [ 4190.651746] Node 0 DMA free:7844kB min:364kB low:452kB high:544kB active_anon:8kB inactive_anon:28kB active_file:404kB inactive_file:6728kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15684kB mlocked:0kB dirty:40kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:136kB slab_unreclaimable:528kB kernel_stack:232kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no Mar 2 11:16:07 guppy kernel: [ 4190.651753] lowmem_reserve[]: 0 1866 1866 1866 Mar 2 11:16:07 guppy kernel: [ 4190.651756] Node 0 DMA32 free:71784kB min:44688kB low:55860kB high:67032kB active_anon:271640kB inactive_anon:308808kB active_file:309640kB inactive_file:729572kB unevictable:0kB isolated(anon):12kB isolated(file):0kB present:1910924kB mlocked:0kB dirty:36080kB writeback:0kB mapped:90500kB shmem:71564kB slab_reclaimable:75740kB slab_unreclaimable:37828kB kernel_stack:2696kB pagetables:25916kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no Mar 2 11:16:07 guppy kernel: [ 4190.651763] lowmem_reserve[]: 0 0 0 0 Mar 2 11:16:07 guppy kernel: [ 4190.651765] Node 0 DMA: 9*4kB 6*8kB 11*16kB 13*32kB 6*64kB 11*128kB 5*256kB 4*512kB 0*1024kB 1*2048kB 0*4096kB = 7844kB Mar 2 11:16:07 guppy kernel: [ 4190.651771] Node 0 DMA32: 14249*4kB 1785*8kB 38*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 71884kB Mar 2 11:16:07 guppy kernel: [ 4190.651777] 279906 total pagecache pages Mar 2 11:16:07 guppy kernel: [ 4190.651779] 472 pages in swap cache Mar 2 11:16:07 guppy kernel: [ 4190.651780] Swap cache stats: add 4807, delete 4335, find 545/635 Mar 2 11:16:07 guppy kernel: [ 4190.651781] Free swap = 2082668kB Mar 2 11:16:07 guppy kernel: [ 4190.651782] Total swap = 2097140kB Mar 2 11:16:07 guppy kernel: [ 4190.658357] 489456 pages RAM Mar 2 11:16:07 guppy kernel: [ 4190.658363] 11542 pages reserved Mar 2 11:16:07 guppy kernel: [ 4190.658371] 226552 pages shared Mar 2 11:16:07 guppy kernel: [ 4190.658374] 284255 pages non-shared Mar 2 11:16:07 guppy kernel: [ 4190.658379] SLAB: Unable to allocate memory on node 0 (gfp=0xd0) Mar 2 11:16:07 guppy kernel: [ 4190.658383] cache: size-65536, object size: 65536, order: 4 Mar 2 11:16:07 guppy kernel: [ 4190.658387] node 0: slabs: 7/7, objs: 7/7, free: 0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c Gerben Jansen <gerben@sgi.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Severity|Normal |Major -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c1 --- Comment #1 from Gerben Jansen <gerben@sgi.com> 2013-06-03 08:15:29 UTC --- Hello - anybody there ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c2 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |jack@suse.com |ovo.novell.com | --- Comment #2 from Jeff Mahoney <jeffm@suse.com> 2013-07-15 15:09:33 EDT --- This probably just needs an xfsprogs update. There is no kernel issue per se - it's that it's trying to do an order 4 allocation (64Kb), which requires 16 physically contiguous pages to honor. On systems that have been up during any serious activity or have relatively low amounts of memory (2GB probably makes that a combination of both), that request may fail. In this particular case, the caller of the ioctl is responsible for passing the size of the request -- so xfsprogs probably just needs to back off and use smaller requests. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c3 --- Comment #3 from Jan Kara <jack@suse.com> 2013-07-15 21:14:23 UTC --- Created an attachment (id=548061) --> (http://bugzilla.novell.com/attachment.cgi?id=548061) [PATCh 1/2] xfs: Fallback to vmalloc for large buffers in xfs_attrlist_by_handle() -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c4 --- Comment #4 from Jan Kara <jack@suse.com> 2013-07-15 21:15:06 UTC --- Created an attachment (id=548062) --> (http://bugzilla.novell.com/attachment.cgi?id=548062) [PATCH 2/2] xfs: Fallback to vmalloc for large buffers in xfs_compat_attrlist_by_handle -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c5 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Jan Kara <jack@suse.com> 2013-07-15 21:17:05 UTC --- Thanks for report! These two patches should fix the issue. I've merged them to openSUSE 12.2 and openSUSE 12.3 branches. They are already present in SLE11-SP2 branch for some time. Please reopen the bug if the problem isn't fixed for you with the next kernel maintenance release. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |obs:running:2033:moderate -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|obs:running:2033:moderate |obs:running:2033:moderate | |obs:running:2034:moderate -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c6 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> 2013-10-31 23:05:45 UTC --- openSUSE-SU-2013:1619-1: An update that solves 12 vulnerabilities and has 17 fixes is now available. Category: security (moderate) Bug References: 783858,785542,787649,789598,794988,801178,806976,807153,807471,814336,815320,817377,818053,821560,821612,822575,823342,823517,824171,824295,827749,827750,828119,828714,831055,831058,833321,835414,838346 CVE References: CVE-2013-0231,CVE-2013-1774,CVE-2013-1819,CVE-2013-2148,CVE-2013-2164,CVE-2013-2232,CVE-2013-2234,CVE-2013-2237,CVE-2013-2850,CVE-2013-2851,CVE-2013-4162,CVE-2013-4163 Sources used: openSUSE 12.2 (src): kernel-docs-3.4.63-2.44.2, kernel-source-3.4.63-2.44.1, kernel-syms-3.4.63-2.44.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807153 https://bugzilla.novell.com/show_bug.cgi?id=807153#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> 2013-12-30 20:05:52 UTC --- openSUSE-SU-2013:1971-1: An update that solves 34 vulnerabilities and has 19 fixes is now available. Category: security (moderate) Bug References: 799516,801341,802347,804198,807153,807188,807471,808827,809906,810144,810473,811882,812116,813733,813889,814211,814336,814510,815256,815320,816668,816708,817651,818053,818561,821612,821735,822575,822579,823267,823342,823517,823633,823797,824171,824295,826102,826350,826374,827749,827750,828119,828191,828714,829539,831058,831956,832615,833321,833585,834647,837258,838346 CVE References: CVE-2013-0914,CVE-2013-1059,CVE-2013-1819,CVE-2013-1929,CVE-2013-1979,CVE-2013-2141,CVE-2013-2148,CVE-2013-2164,CVE-2013-2206,CVE-2013-2232,CVE-2013-2234,CVE-2013-2237,CVE-2013-2546,CVE-2013-2547,CVE-2013-2548,CVE-2013-2634,CVE-2013-2635,CVE-2013-2851,CVE-2013-2852,CVE-2013-3222,CVE-2013-3223,CVE-2013-3224,CVE-2013-3226,CVE-2013-3227,CVE-2013-3228,CVE-2013-3229,CVE-2013-3230,CVE-2013-3231,CVE-2013-3232,CVE-2013-3233,CVE-2013-3234,CVE-2013-3235,CVE-2013-3301,CVE-2013-4162 Sources used: openSUSE 12.3 (src): kernel-docs-3.7.10-1.24.1, kernel-source-3.7.10-1.24.1, kernel-syms-3.7.10-1.24.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=807153 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:2033:moderate |obs:running:2033:moderate |obs:running:2034:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=807153 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:2033:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com