[Bug 861116] New: top reports: libnuma: warning: /sys not mounted or invalid. Assuming one node: No such file or directory
https://bugzilla.novell.com/show_bug.cgi?id=861116 https://bugzilla.novell.com/show_bug.cgi?id=861116#c0 Summary: top reports: libnuma: warning: /sys not mounted or invalid. Assuming one node: No such file or directory Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: per@computer.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 Hardware: madrid. Software: openSUSE 13.1 plus updates On a newly upgraded xen-system, I see $SUBJ when I run 'top'. Reproducible: Always -- 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=861116 https://bugzilla.novell.com/show_bug.cgi?id=861116#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |trenn@suse.com |ovo.novell.com | -- 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=861116 https://bugzilla.novell.com/show_bug.cgi?id=861116#c Ihno Krumreich <ihno@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Other |openSUSE 13.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=861116 https://bugzilla.novell.com/show_bug.cgi?id=861116#c2 Thomas Renninger <trenn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbeulich@suse.com AssignedTo|trenn@suse.com |jwolf@suse.com --- Comment #2 from Thomas Renninger <trenn@suse.com> 2014-06-16 10:39:26 UTC --- This sounds related to #872922. It sounds as if this is also because of missing: /sys/devices/system/node but at a different code place (libnuma used by top?). Adding Jan for clarification on the Xen kernel side: It looks like: /sys/devices/system/node is missing with a (recent?) Xen kernel. X86 always provides a NUMA node. If it's not a NUMA platform it generates a fake node. While libnuma/numactl/others should be aware of the missing sysfs dirs, it may make sense if Xen also makes up a NUMA fake node to avoid the needed (purely tested?) extra handling, etc.? Maybe at least for the future if it is too much extra trouble to add such a thing to Xen? -- 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=861116 https://bugzilla.novell.com/show_bug.cgi?id=861116#c3 --- Comment #3 from Jan Beulich <jbeulich@suse.com> 2014-06-16 10:52:56 UTC --- (In reply to comment #2)
X86 always provides a NUMA node.
I don't think that's true: Afaict this is present only for configurations with CONFIG_NUMA=y; Xen doesn't have this option enabled (vNUMA only being under development). -- 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=861116 https://bugzilla.novell.com/show_bug.cgi?id=861116#c4 Joachim Wolf <jwolf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |INVALID --- Comment #4 from Joachim Wolf <jwolf@suse.com> 2014-08-25 08:30:55 UTC --- Why am i on assigned ? // sales in sweden // J Wolf -- 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=861116 https://bugzilla.novell.com/show_bug.cgi?id=861116#c6 Julian Wolf <juwolf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|INVALID | --- Comment #6 from Julian Wolf <juwolf@suse.com> 2014-08-25 12:01:02 UTC --- Not Invalid -> Reopened -- 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=861116 https://bugzilla.novell.com/show_bug.cgi?id=861116#c7 --- Comment #7 from Julian Wolf <juwolf@suse.com> 2014-08-26 12:51:04 UTC --- This bug is caused by the same issue as bnc#872922: libnuma assumes that there is at least one node in /sys/devices/system/node/ and, in this case, reports an error if there isn't. The actual piece of code is this: sprintf(fn, "/sys/devices/system/node/node%d/cpumap", node); f = fopen(fn, "r"); if (!f || getdelim(&line, &len, '\n', f) < 1) { numa_warn(W_nosysfs2, "/sys not mounted or invalid. Assuming one node: %s", strerror(errno)); numa_warn(W_nosysfs2, "(cannot open or correctly parse %s)", fn); numa_bitmask_setall(mask); err = -1; } So in this case the function returns -1 and prints this warning. Why a library prints a warning is weird and has already been discussed in the redhat bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=998678 Right now I haven't found a reasonable solution how to tackle this point neither there nor in in the mailing list archive. -- 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.
participants (1)
-
bugzilla_noreply@novell.com