From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28268 invoked by alias); 26 Jul 2013 23:33:59 -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 28188 invoked by uid 48); 26 Jul 2013 23:33:56 -0000 From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/15793] New: Kernel panic when running systemtap's test suite with kernel 3.10.1 Date: Fri, 26 Jul 2013 23:33: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: agentzh at gmail dot com X-Bugzilla-Status: NEW 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 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: 2013-q3/txt/msg00072.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D15793 Bug ID: 15793 Summary: Kernel panic when running systemtap's test suite with kernel 3.10.1 Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: agentzh at gmail dot com Created attachment 7123 --> http://sourceware.org/bugzilla/attachment.cgi?id=3D7123&action=3Dedit The testsuite/systemtap.log file for the test suite run leading to kernel p= anic I'm trying to run systemtap's test suite on kernel 3.10.1 and seeing a kern= el panic as shown below [ 5468.752765] Kprobes globally unoptimized [ 5666.972329] bz5274[13891]: segfault at 0 ip 00000000004006a8 sp 00007fff6f160950 error 4 in bz5274[400000+1000] [ 5674.455033] jffs2: version 2.2. (NAND) (SUMMARY) =C3=82=C2=A9 2001-2006= Red Hat, Inc. [ 5679.953253] bz6850[14576]: segfault at 7fffffffe000 ip 00007fffffffe000 = sp 00007fffe97428b0 error 14 [ 6300.195583] Systemtap Error at _stp_mempool_init:50 Memory allocation failed. [ 6300.203627] Systemtap Error at _stp_register_ctl_channel:602 Error creat= ing systemtap control channel. [ 6884.193329] stap[12934]: segfault at 7fff21747fd8 ip 00007f85622f19b3 sp 00007fff21747fd0 error 6 in libdw-0.148.so[7f85622e5000+31000] [-- MARK -- Fri Jul 26 03:00:00 2013] [ 7686.187385] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20259/20259 [ 7686.195642] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20259/20259 [ 7686.203890] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20259/20259 [ 7686.212134] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20259/20259 [ 7686.220377] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20259/20259 [ 7686.228630] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20259/20259 [ 7686.236871] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20259/20259 [ 7686.245117] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20259/20259 [ 7686.253418] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20259/20259 [ 7686.261664] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20259/20259 [ 7691.363735] prepare_uretprobe: 103 callbacks suppressed [ 7691.369686] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20530/20530 [ 7691.377934] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20530/20530 [ 7691.386181] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20530/20530 [ 7691.394425] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20530/20530 [ 7691.402672] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20530/20530 [ 7691.411105] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20530/20530 [ 7691.419356] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20530/20530 [ 7691.427603] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20530/20530 [ 7691.435862] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20530/20530 [ 7691.444114] uprobe: omit uretprobe due to nestedness limit pid/tgid=3D20530/20530 [ 7853.900100] nr_pdflush_threads exported in /proc is scheduled for removal [ 7853.913354] cat: The scan_unevictable_pages sysctl/node-interface has be= en disabled for lack of a legitimate use case. If you have one, please send an email to linux-mm@kvack.org. [ 8138.258259] ------------[ cut here ]------------ [ 8138.263464] kernel BUG at arch/x86/mm/physaddr.c:26! [ 8138.269051] invalid opcode: 0000 [#1] SMP [ 8138.273686] Modules linked in: stap_c476520ecc654b7dad61870d19ca0a57_3502 mbcache ipmi_devintf ipmi_si ipmi_msghandler dm_mod md_mod nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6table_raw ip6_table s nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack iptable_filter xt_tcpudp xt= _CT nf_conntrack xt_multiport iptable_raw ip_tables x_tables rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 fuse nfsv3 nfs_acl nfs f scache lockd sunrpc tcp_cubic sg mtd mdio igb dca i2c_algo_bit i2c_core ptp pps_core coretemp kvm_intel kvm crc32c_intel aesni_intel ablk_helper cryptd= lrw gf128mul glue_helper aes_x86_64 acpi_cpufreq evdev sd_mod crc_t10dif snd_pcm snd_timer snd tpm_tis tpm microcode tpm_bios soundcore snd_page_alloc pcspkr ahci libahci uhci_hcd ehci_pci lpc_ich ehci= _hcd mfd_core libata hpsa usbcore usb_common scsi_mod mperf b utton processor thermal_sys [last unloaded: stap_ecc0674c60a3aa2777e2e95fcdafff41_3277] [ 8138.364238] CPU: 14 PID: 3503 Comm: stapio Tainted: G O 3.10.1-trace+ #2 [ 8138.373841] Hardware name: HP ProLiant DL180 G6 , BIOS O20 05/05/2011 [ 8138.381180] task: ffff880bc6045280 ti: ffff880b5a2fa000 task.ti: ffff880b5a2fa000 [ 8138.389614] RIP: 0010:[] [] __phys_addr+0x43/0x46 [ 8138.398547] RSP: 0000:ffff880627d09e10 EFLAGS: 00010006 [1:09:28 PM] Ian Applegate: [ 8138.404523] RAX: 0000780000403000 RBX: ffff880c22e99000 RCX: ffff880c22e99000 [ 8138.412544] RDX: 0000000080403000 RSI: 0000000000403000 RDI: 0000000000403000 [ 8138.420565] RBP: ffff880c22e99690 R08: ffff880627d09f10 R09: ffffffff81a35f60 [ 8138.428585] R10: 00007fffdf76be30 R11: 0000000000000246 R12: ffffffffa0190570 [ 8138.436605] R13: 0000000000000004 R14: ffffffff810d00d3 R15: ffff880bc5c4cd00 [ 8138.444626] FS: 00002aaaaaada0c0(0000) GS:ffff880627d00000(0000) knlGS:0000000000000000 [ 8138.453743] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 8138.460207] CR2: 0000000000403000 CR3: 0000000b586c8000 CR4: 00000000000007e0 [ 8138.468219] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 8138.476239] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 8138.484259] Stack: [ 8138.486536] ffffffffa018dc2d ffff880627d09f58 0000000023d8cfa8 ffffffffa019a1c0 [ 8138.494913] ffffffff810d00d3 ffffffffa018e3cb ffff880c22e99000 ffffffffa019a1c0 [ 8138.503288] ffff880b58547740 ffff880627d09f58 ffffffff810d00d2 ffffffff814e1ee6 [ 8138.511667] Call Trace: [ 8138.514431] <#DB> [ 8138.516583] [] ? probe_2062+0x226/0x61d [stap_c476520ecc654b7dad61870d19ca0a57_3502] [ 8138.527414] [] ? handle_mm_fault+0x1/0x347 [ 8138.533878] [] ? enter_kprobe_probe+0x105/0x25e [stap_c476520ecc654b7dad61870d19ca0a57_3502] [ 8138.545236] [] ? pmd_alloc+0x29/0x29 [ 8138.551117] [] ? aggr_pre_handler+0x4f/0x69 [ 8138.565718] [] ? kprobe_exceptions_notify+0x126/0x397 [ 8138.573253] [] ? notifier_call_chain+0x2b/0x52 [ 8138.580104] [] ? __atomic_notifier_call_chain+0x9/0xa [ 8138.587630] [] ? notify_die+0x2d/0x32 [ 8138.593607] [] ? do_int3+0x2d/0x93 [ 8138.599292] [] ? int3+0x25/0x40 [ 8138.604684] [] ? pmd_alloc+0x29/0x29 [ 8138.610563] <> [ 8138.612910] [] ? __do_page_fault+0x356/0x39e [ 8138.619815] [] ? vfs_read+0xa9/0xef [ 8138.625598] [] ? mmdrop+0xd/0x1c [ 8138.631089] [] ? do_sigaltstack+0xb1/0x16b [ 8138.637555] [] ? restore_altstack+0x10/0x22 [ 8138.644119] [] ? page_fault+0x22/0x30 [ 8138.650096] Code: ff ff 1f 76 28 0f 0b 48 b8 00 00 00 00 00 78 00 00 48 = 01 f8 48 39 d0 77 12 0f b6 0d b9 65 a8 00 48 89 c2 48 d3 ea 48 85 d2 74 02 <0f= > 0b c3 48 89 fa 31 c0 48 c1 ea 0f 48 81 fa ff ff 07 00 77 29 [ 8138.672120] RIP [] __phys_addr+0x43/0x46 [ 8138.678401] RSP [ 8138.682784] ---[ end trace 056cf0857070a404 ]--- [ 8139.895857] stap_c476520ecc654b7dad61870d19ca0a57_3502 context[14] stuck: kernel.function("handle_mm_fault@mm/memory.c:3754")? [ 8159.516075] traps: fl_balance_upda[3610] general protection ip:7ff43d639= 477 sp:7fffbe2fa1f0 error:0 in libc-2.17.so[7ff43d601000+1a2000] [ 8159.548126] traps: bash[3630] general protection ip:7f61d340e477 sp:7fff216acb10 error:0 in libc-2.17.so[7f61d33d6000+1a2000] [ 8219.758276] traps: nginx-ssl[3930] general protection ip:7f7d50392477 sp:7fffbc61d600 error:0 in libc-2.17.so[7f7d5035a000+1a2000] [ 8219.803292] traps: fl_balance_upda[3942] general protection ip:7fc928189= 477 sp:7fff24fe4270 error:0 in libc-2.17.so[7fc928151000+1a2000] [ 8231.671929] traps: kt_master_slave[3972] general protection ip:7f4fc4e18= 477 sp:7fff6a6d6570 error:0 in libc-2.17.so[7f4fc4de0000+1a2000] [ 8279.758709] traps: nginx-ssl[4118] general protection ip:7f5d091ad477 sp:7fff1ebb6540 error:0 in libc-2.17.so[7f5d09175000+1a2000] [ 8280.748005] BUG: unable to handle kernel NULL pointer der The last few lines of the "make installcheck" command output are Running ./systemtap.examples/check.exp ... FAIL: ./systemtap.examples/general/badname build The last few lines of the file testsuite/systemtap.log are PASS: ./systemtap.examples/memory/mmwriteback run PRETEST PWD=3D/opt/agentzh/git/systemtap/testsuite meta taglines '' tag 'test_support' value '' TEST PWD=3D/opt/agentzh/git/systemtap/testsuite/systemtap.examples/memory meta taglines 'test_check: stap -p4 numa_faults.stp' tag 'test_check' value 'stap -p4 numa_faults.stp' attempting command stap -p4 numa_faults.stp OUT /opt/agentzh/git/systemtap/testsuite/.systemtap-root/cache/c4/stap_c476520e= cc654b7dad61870d19ca0a57_4820.ko RC 0 PASS: ./systemtap.examples/memory/numa_faults build meta taglines 'test_installcheck: stap numa_faults.stp -c "sleep 0.2"' tag 'test_installcheck' value 'stap numa_faults.stp -c "sleep 0.2"' attempting command stap numa_faults.stp -c "sleep 0.2" The full systemtap.log file is attached. --=20 You are receiving this mail because: You are the assignee for the bug.