| Greetings!
As promised here is a recent message from the customer referenced in the base
note in response to my solicitation for the output from dbx per note 4479.1,
but again neither he nor I understand what this is telling us and a quick read
through the dbx man page and the Kernel Debugging manual didn't help me much,
cheers...
Tony Swierkowski
Digital Equipment Corporation
Software Partner Engineering
Palo Alto, California
(415) 617-3601
"[email protected]"
P.S. The entire message with the dbx results the customer sent is below for
your reference...
From: DECPA::"[email protected]" "Yefim Somin" 25-FEB-1997 16:40:30.17
To: amcucs::swierkowski (Tony Swierkowski)
CC:
Subj: Re: What did dbx yield about PID 0?...
>
> Greetings!
>
> I'm preparing to enter a note describing the metrics you are observing that
> would seem to be contradictory (especially if the [kernel idle] process is
> supposed to be a low priority "thumb twiddler" and wondered if you tried the
> sequence of commands in my last message re: using dbx to find out more about
> PID 0. Per my previous message:
>
> ...
>
> Note headers/trailers zapped by me to protect the guilty!
> <--- begin body of note --->
>
> As I understand it, the "kernel idle" process is really
> a collection of threads. To find out what is happening,
> # dbx -k /vmunix /dev/mem
> (dbx) set $pid=0
> (dbx) tlist
> (dbx) tstack
>
> <--- end body of note --->
>
Here goes:
[to my ignorant eye, it looks like all kinds of stuff is going on in that
process]
ys
------------------------------------------------------------------
Script started on Tue Feb 25 19:24:42 1997
$PWD % dbx -k /vmunix /dev/mem
dbx version 3.11.8
Type 'help' for help.
stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
warning: Files compiled -g3: parameter values probably wrong
(dbx) set $pid=0
(dbx) tlist
thread 0xfffffc000ff08000 stopped at [thread_run:2259 +0x2c,0xfffffc000043ea48] Source not available
thread 0xfffffc000ff08400 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000ff3a800 stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
thread 0xfffffc000ff3ac00 stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
thread 0xfffffc000ff3b000 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000ff3b400 stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
thread 0xfffffc000ff3b800 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000ff3bc00 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000fd6e000 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000fd6e800 stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
thread 0xfffffc000fd6ec00 stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
More (n if no)?
thread 0xfffffc000fd6f000 stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
thread 0xfffffc000fd6f400 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000fd6f800 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000fd6fc00 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000e582000 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000e582400 stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
thread 0xfffffc000e583c00 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000e762800 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000e762c00 stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
thread 0xfffffc000e763000 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000e763400 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
More (n if no)?
thread 0xfffffc000e763800 stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
thread 0xfffffc000e763c00 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc000f42c000 stopped at [thread_block:1891 +0x28,0xfffffc000043e258] Source not available
thread 0xfffffc0007f23000 stopped at [thread_block:1906 ,0xfffffc000043e2c8] Source not available
(dbx) tstack
Thread 0xfffffc000ff08000:
> 0 thread_run(new_thread = 0xfffffc000043fa4c) ["../../../../src/kernel/kern/sched_prim.c":2259, 0xfffffc000043ea44]
1 idle_thread() ["../../../../src/kernel/kern/sched_prim.c":3053, 0xfffffc000043fb78]
Thread 0xfffffc000ff08400:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 malloc_thread() ["../../../../src/kernel/bsd/kern_malloc.c":1095, 0xfffffc00003f97dc]
Thread 0xfffffc000ff3a800:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903, 0xfffffc000043e2c4]
1 xpt_callback_thread() ["../../../../src/kernel/io/cam/xpt.c":2262, 0xfffffc00004ad86c]
Thread 0xfffffc000ff3ac00:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903, 0xfffffc000043e2c4]
More (n if no)?
1 xpt_pool_alloc_thread() ["../../../../src/kernel/io/cam/xpt.c":2315, 0xfffffc00004ad988]
Thread 0xfffffc000ff3b000:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 psiop_thread() ["../../../../src/kernel/io/cam/siop/psiop.c":4748, 0xfffffc00004d11ac]
Thread 0xfffffc000ff3b400:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903, 0xfffffc000043e2c4]
1 netisr_thread() ["../../../../src/kernel/net/netisr.c":829, 0xfffffc0000444c28]
Thread 0xfffffc000ff3b800:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 ubc_dirty_thread_loop(0xfffffc00005d0c30, 0xfffffc0000526b28, 0xfffffc000057e3c0, 0xfffffc000029b674, 0x0) ["../../../../src/kernel/vfs/vfs_ubc.c":1257, 0xfffffc000029b670]
Thread 0xfffffc000ff3bc00:
More (n if no)?
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903, 0xfffffc000043e2c4]
1 thread_sleep(event = 18446739675908947976, lock = 0xfffffc00005e8290, interruptible = 3738696) ["../../../../src/kernel/kern/sched_prim.c":1581, 0xfffffc000043dbe4]
2 _cond_wait(0xfffffc000057c058, 0xfffffc00005e8290, 0x21b, 0x0, 0xfffffc0000390ca4) ["../../../../src/kernel/msfs/bs/ms_generic_locks.c":592, 0xfffffc0000376a8c]
3 ulmq_recv_msg(0xfffffc00005e8290, 0xfffffc000057f950, 0xfffffc0000534ac8, 0xfffffc000053dca8, 0xfffffc000057c058) ["../../../../src/kernel/msfs/bs/bs_msg_queue.c":539, 0xfffffc00003827b0]
4 bs_io_thread() ["../../../../src/kernel/msfs/bs/bs_qio.c":3144, 0xfffffc0000390c18]
Thread 0xfffffc000fd6e000:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 thread_sleep(event = 17289301308300324847, lock = 0xfffffc000fef9e08, interruptible = -269488145) ["../../../../src/kernel/kern/sched_prim.c":1581, 0xfffffc000043dbe4]
2 _cond_wait(0xefefefefefefefef, 0xfffffc000fef9e08, 0x21b, 0x0, 0xefefefefefefefef) ["../../../../src/kernel/msfs/bs/ms_generic_locks.c":592, 0xfffffc0000376a8c]
More (n if no)?
3 ulmq_recv_msg(0xefefefefefefefef, 0xefefefefefefefef, 0xefefefefefefefef, 0xfffffc000057c110, 0xfffffc000057c018) ["../../../../src/kernel/msfs/bs/bs_msg_queue.c":539, 0xfffffc00003827b0]
4 msgq_recv_msg(0xfffffc000fef9e08, 0xefefefefefefefef, 0xefefefefefefefef, 0xfffffc0000449f60, 0x0) ["../../../../src/kernel/msfs/bs/bs_msg_queue.c":305, 0xfffffc0000382368]
5 bs_fragbf_thread() ["../../../../src/kernel/msfs/bs/bs_bitfile_sets.c":416, 0xfffffc00003a9f98]
Thread 0xfffffc000fd6e800:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903, 0xfffffc000043e2c4]
1 task_swapper_in_thread_loop(0xfffffc0000363440, 0xfffffc000f0d47c4, 0xfffffc0000582530, 0x0, 0xfffffc000fd6e800) ["../../../../src/kernel/kern/task_swap.c":696, 0xfffffc00002dc664]
2 vm_pageout() ["../../../../src/kernel/vm/vm_pagelru.c":1182, 0xfffffc000036341c]
Thread 0xfffffc000fd6ec00:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903, 0xfffffc000043e2c4]
1 task_swapper_out_thread_loop(0x0, 0xfffffc00002dc320, 0xfffffc0000582530, 0x0, 0xfffffc00005d6f08) ["../../../../src/kernel/kern/task_swap.c":607, 0xfffffc00002dc398
More (n if no)?
More (n if no)?
]
Thread 0xfffffc000fd6f000:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903, 0xfffffc000043e2c4]
1 vm_pageout_loop() ["../../../../src/kernel/vm/vm_pagelru.c":589, 0xfffffc0000362428]
2 vm_pageout() ["../../../../src/kernel/vm/vm_pagelru.c":1189, 0xfffffc000036343c]
Thread 0xfffffc000fd6f400:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 reaper_thread(0xfffffc000057b768, 0xfffffc0000000000, 0xffffffff90c6fa58, 0xfffffc000043dfe0, 0xfffffc000057b768) ["../../../../src/kernel/kern/thread.c":2743, 0xfffffc00002da2b0]
Thread 0xfffffc000fd6f800:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 swapin_thread(0x0, 0xfffffc00005d6e18, 0xfffffc00005d6e10, 0xfffffc00002d3188, 0x0) ["../../../../src/kernel/kern/thread_swap.c":485, 0xfffffc00002db754]
More (n if no)?
Thread 0xfffffc000fd6fc00:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 swapout_thread(0x0, 0xfffffc000fd6fc00, 0xfffffc000057b768, 0xfffffc00005201a0, 0xfffffc00005201d8) ["../../../../src/kernel/kern/thread_swap.c":619, 0xfffffc00002dbaf8]
Thread 0xfffffc000e582000:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 action_thread(0x0, 0x0, 0xffffffff803458c0, 0xffffffff80345a80, 0x0) ["../../../../src/kernel/kern/machine.c":587, 0xfffffc00002d3184]
Thread 0xfffffc000e582400:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903, 0xfffffc000043e2c4]
1 acctwatch_thread(0x7973706f43430065, 0xfffffc000023ada0, 0xfffffc0000582530, 0x0, 0x1ae1a3313830c) ["../../../../src/kernel/bsd/kern_acct.c":327, 0xfffffc000023ae2c]
Thread 0xfffffc000e583c00:
More (n if no)?
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 nfs_thread() ["../../../../src/kernel/nfs/nfs_server.c":5290, 0xfffffc000042ccc4]
Thread 0xfffffc000e762800:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 nfs_thread() ["../../../../src/kernel/nfs/nfs_server.c":5290, 0xfffffc000042ccc4]
Thread 0xfffffc000e762c00:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 nfs_thread() ["../../../../src/kernel/nfs/nfs_server.c":5290, 0xfffffc000042ccc4]
Thread 0xfffffc000e763000:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 nfs_thread() ["../../../../src/kernel/nfs/nfs_server.c":5290, 0xfffffc000042ccc4]
More (n if no)?
Thread 0xfffffc000e763400:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 nfs_thread() ["../../../../src/kernel/nfs/nfs_server.c":5290, 0xfffffc000042ccc4]
Thread 0xfffffc000e763800:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903, 0xfffffc000043e2c4]
1 nfs_thread() ["../../../../src/kernel/nfs/nfs_server.c":5290, 0xfffffc000042ccc4]
Thread 0xfffffc000e763c00:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
1 nfs_thread() ["../../../../src/kernel/nfs/nfs_server.c":5290, 0xfffffc000042ccc4]
Thread 0xfffffc000f42c000:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1891, 0xfffffc000043e254]
More (n if no)?
1 nfs_thread() ["../../../../src/kernel/nfs/nfs_server.c":5290, 0xfffffc000042ccc4]
Thread 0xfffffc0007f23000:
> 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":1903, 0xfffffc000043e2c4]
1 mpsleep(0xffffffff00000000, 0x11a, 0xffffffff90f909d0, 0x0, 0xffffffff90f9d6b8) ["../../../../src/kernel/bsd/kern_synch.c":441, 0xfffffc00004093c4]
2 event_wait(0x0, 0x0, 0xffffffff90fa2008, 0x0, 0x0) ["../../../../src/kernel/kern/event.c":139, 0xfffffc0000439060]
3 mvfs_osf1axp_vfreeq() ["../mfs_mdep_osf1axp.c":3234, 0xffffffff90f90be0]
(dbx) quit
$PWD % more typ^[^[ pesrcip cti ri exit
script done on Tue Feb 25 19:26:00 1997
% ====== Internet headers and postmarks (see DECWRL::GATEWAY.DOC) ======
% Received: from mail1.digital.com by mts-gw.pa.dec.com (5.65/09May94) id AA17984; Tue, 25 Feb 97 16:38:31 -0800
% Received: from gatekeeper1.bgs.com by mail1.digital.com (5.65 EXP 4/12/95 for V3.2/1.0/WV) id AA02104; Tue, 25 Feb 1997 16:32:58 -0800
% Received: from aix5.bgs.com by aix6.bgs.com (8.7.Beta.10) with ESMTP id TAA31354; Tue, 25 Feb 1997 19:30:27 -0500
% Received: by aix5.bgs.com (8.7.Beta.10) id TAA55560; Tue, 25 Feb 1997 19:30:26 -0500
% From: Yefim Somin <[email protected]>
% Message-Id: <[email protected]>
% Subject: Re: What did dbx yield about PID 0?...
% To: amcucs::swierkowski (Tony Swierkowski)
% Date: Tue, 25 Feb 1997 19:30:25 -0500 (EST)
% In-Reply-To: <[email protected]> from "Tony Swierkowski" at Feb 25, 97 11:10:57 am
% X-Mailer: ELM [version 2.4 PL13]
% Content-Type: text
|