From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121005 invoked by alias); 13 Nov 2015 15:20:18 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 120953 invoked by uid 48); 13 Nov 2015 15:20:15 -0000 From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/19241] New: systemtap fails to start when CPU0 is offline Date: Fri, 13 Nov 2015 15:20:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mcermak at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q4/txt/msg00132.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D19241 Bug ID: 19241 Summary: systemtap fails to start when CPU0 is offline Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: mcermak at redhat dot com Target Milestone: --- Created attachment 8780 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D8780&action=3Dedit proposed patch Per rhbz1280321, stap fails to start when CPU0 is offline: =3D=3D=3D=3D=3D=3D=3D=3D # echo 1 > /sys/devices/system/cpu/cpu0/online # cat /sys/devices/system/cpu/cpu*/online 1 1 1 1 # stap -e 'probe oneshot {log("hey!")}' hey! # echo 0 > /sys/devices/system/cpu/cpu0/online # cat /sys/devices/system/cpu/cpu*/online 0 1 1 1 # stap -e 'probe oneshot {log("hey!")}' stapio:init_relayfs:282: ERROR: couldn't open /sys/kernel/debug/systemtap/stap_2e0ffa1415135b7d8d3684541d2a4c8_26577/trac= e0. WARNING: /usr/bin/staprun exited with status: 1 Pass 5: run failed. [man error::pass5] # =3D=3D=3D=3D=3D=3D=3D=3D In bulk mode, staprun fails when any CPU except the last one are offline. Attached patch fixes the issue for me. --=20 You are receiving this mail because: You are the assignee for the bug.