public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* memory1.stp failed on x86_64 2.6.31-rc6
@ 2009-08-17  9:49 Wenji Huang
  2009-08-17 14:40 ` David Smith
  0 siblings, 1 reply; 2+ messages in thread
From: Wenji Huang @ 2009-08-17  9:49 UTC (permalink / raw)
  To: SystemTAP

Hi,

I found memory1.stp failed on x86_64 2.6.31-rc6, but works
fine on x86_64 2.6.31-rc5 and x86 2.6.31-rc6.

$ stap -v systemtap.printf/memory1.stp
Pass 1: parsed user script and 59 library script(s) in 
310usr/60sys/369real ms.
Pass 2: analyzed script: 2 probe(s), 6 function(s), 14 embed(s), 0 
global(s) in 780usr/380sys/1165real ms.
Pass 3: translated to C into 
"/tmp/stapp5DGZt/stap_87fc0586871670d76847178631c22a98_21602.c" in 
800usr/100sys/895real ms.
Pass 4: compiled C into "stap_87fc0586871670d76847178631c22a98_21602.ko" 
in 8370usr/6570sys/14450real ms.
Pass 5: starting run.
ERROR: percpu context (size 103912) allocation failed
Pass 5: run completed in 10usr/100sys/141real ms.

This is a VMware box with two cpus. Dmesg said,

[258068.721067] WARNING: at mm/percpu.c:786 pcpu_alloc+0x55/0x3d8()
[258068.722067] Hardware name: VMware Virtual Platform
[258068.723067] illegal size (103912) or align (8) for percpu allocation
[258068.724067] Modules linked in: 
stap_87fc0586871670d76847178631c22a98_21602 [last unloaded: 
stap_87fc0586871670d76847178631c22a98_21602]
[258068.725067] Pid: 19529, comm: stapio Tainted: G        W  2.6.31-rc6 #10
[258068.726067] Call Trace:
[258068.727067]  [<ffffffff810cfa77>] ? pcpu_alloc+0x55/0x3d8
[258068.727067]  [<ffffffff8103f80a>] warn_slowpath_common+0x7c/0x94
[258068.728067]  [<ffffffff8103f8a1>] warn_slowpath_fmt+0x69/0x6b
[258068.729067]  [<ffffffff810be6e4>] ? alloc_vmap_area+0x1f2/0x20a
[258068.730067]  [<ffffffff810be796>] ? __get_vm_area_node+0x9a/0x1ba
[258068.731067]  [<ffffffff810b3b09>] ? pmd_alloc+0x2e/0x39
[258068.731067]  [<ffffffff810b7417>] ? apply_to_page_range+0x1e1/0x25b
[258068.732067]  [<ffffffff810cfa77>] pcpu_alloc+0x55/0x3d8
[258068.733067]  [<ffffffff81027d7d>] ? vmalloc_sync_all+0xe7/0x10f
[258068.734067]  [<ffffffff810cfe1f>] __alloc_percpu+0x10/0x15
[258068.735067]  [<ffffffffa003cf2a>] _stp_ctl_write_cmd+0x229/0x539 
[stap_87fc0586871670d76847178631c22a98_21602]
[258068.735067]  [<ffffffff8103249c>] ? __dequeue_entity+0x33/0x38
[258068.735067]  [<ffffffff810324c9>] ? set_next_entity+0x28/0x78
[258068.735067]  [<ffffffff8100ae80>] ? __switch_to+0x134/0x1c4
[258068.735067]  [<ffffffff81094811>] ? trace_hardirqs_on+0x9/0x20
[258068.736067]  [<ffffffff81035b80>] ? finish_task_switch+0x56/0x9f
[258068.738067]  [<ffffffff8119adb0>] ? security_file_permission+0x16/0x18
[258068.739067]  [<ffffffff810d2246>] vfs_write+0xb0/0x10a
[258068.741067]  [<ffffffff810d2364>] sys_write+0x4c/0x72
[258068.742067]  [<ffffffff8100bc9b>] system_call_fastpath+0x16/0x1b
[258068.743067] ---[ end trace ccde141178315c39 ]---


Regards,
Wenji

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: memory1.stp failed on x86_64 2.6.31-rc6
  2009-08-17  9:49 memory1.stp failed on x86_64 2.6.31-rc6 Wenji Huang
@ 2009-08-17 14:40 ` David Smith
  0 siblings, 0 replies; 2+ messages in thread
From: David Smith @ 2009-08-17 14:40 UTC (permalink / raw)
  To: Wenji Huang; +Cc: SystemTAP

On 08/17/2009 04:45 AM, Wenji Huang wrote:
> Hi,
> 
> I found memory1.stp failed on x86_64 2.6.31-rc6, but works
> fine on x86_64 2.6.31-rc5 and x86 2.6.31-rc6.
> 
> $ stap -v systemtap.printf/memory1.stp
> Pass 1: parsed user script and 59 library script(s) in
> 310usr/60sys/369real ms.
> Pass 2: analyzed script: 2 probe(s), 6 function(s), 14 embed(s), 0
> global(s) in 780usr/380sys/1165real ms.
> Pass 3: translated to C into
> "/tmp/stapp5DGZt/stap_87fc0586871670d76847178631c22a98_21602.c" in
> 800usr/100sys/895real ms.
> Pass 4: compiled C into "stap_87fc0586871670d76847178631c22a98_21602.ko"
> in 8370usr/6570sys/14450real ms.
> Pass 5: starting run.
> ERROR: percpu context (size 103912) allocation failed
> Pass 5: run completed in 10usr/100sys/141real ms.
> 
> This is a VMware box with two cpus. Dmesg said,
> 
> [258068.721067] WARNING: at mm/percpu.c:786 pcpu_alloc+0x55/0x3d8()
> [258068.722067] Hardware name: VMware Virtual Platform
> [258068.723067] illegal size (103912) or align (8) for percpu allocation
... stuff deleted ...

Wenji,

Could you add this information to bug #10516?

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-17 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-17  9:49 memory1.stp failed on x86_64 2.6.31-rc6 Wenji Huang
2009-08-17 14:40 ` David Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).