Subject: kern/30526: Nothing uses the second processor anymore.
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <christos@zoulas.com>
List: netbsd-bugs
Date: 06/14/2005 22:43:00
>Number:         30526
>Category:       kern
>Synopsis:       Nothing uses the second processor anymore.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 14 22:43:00 +0000 2005
>Originator:     Christos Zoulas
>Release:        NetBSD 3.99.6
>Organization:
	Half as good as before.
>Environment:
System: NetBSD rebar.astron.com 3.99.6 NetBSD 3.99.6 (TWOSIGMA) #1: Tue Jun 14 18:29:50 EDT 2005 christos@rebar.astron.com:/usr/src/sys/arch/i386/compile/TWOSIGMA i386
Architecture: i386
Machine: i386
>Description:
	I just built a new multi-processor kernel, ran two "yes > /dev/null" &
	and the second processor is still idle. This used to work... Here's
	what top says:

CPU0 states: 60.7% user,  0.0% nice, 38.3% system,  1.0% interrupt,  0.0% idle
CPU1 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle
Memory: 105M Act, 8K Inact, 4256K Wired, 17M Exec, 57M File, 2875M Free
Swap: 2048M Total, 2048M Free

  PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
  486 christos  58    0    84K  524K RUN/1      0:14 47.43% 35.16% yes
   97 root      -6    0     0K   13M mcpair/1   1:50 31.69% 31.69% [raid_parity
  296 christos  57    0    84K  524K RUN/1      0:03 42.62% 12.60% yes
   13 root      -6    0     0K   13M RUN/1      0:03  0.10%  0.10% [raidio0]
  409 named     18    0  4352K 4844K sigwai/1   0:02  0.10%  0.10% named
  238 postfix    2    0   740K 2016K select/1   0:00  0.10%  0.10% smtpd
 1215 root       2    0   200K 1512K select/1   0:00  0.05%  0.05% master
   15 root      18    0     0K   13M syncer/1   0:01  0.00%  0.00% [ioflush]
  299 christos  18    0  4996K 4908K pause/1    0:01  0.00%  0.00% tcsh
   12 root      -6    0     0K   13M rfwcon/1   0:01  0.00%  0.00% [raid0]
   14 root     -18    0     0K   13M pgdaem/1   0:01  0.00%  0.00% [pagedaemon]
    0 root     -18    0     0K   13M schedu/1   0:01  0.00%  0.00% [swapper]
   16 root     -18    0     0K   13M aiodon/1   0:01  0.00%  0.00% [aiodoned]
  619 christos  28    0   196K 1048K CPU/1      0:00  0.00%  0.00% top
  691 root      18    0  1100K 3200K pause/1    0:00  0.00%  0.00% ntpd
  234 postfix   18    0   764K 2044K lockf/1    0:00  0.00%  0.00% smtpd
  483 postfix   18    0   764K 2036K lockf/1    0:00  0.00%  0.00% smtpd
    2 root      14    0     0K   13M crypto/1   0:00  0.00%  0.00% [cryptoret]
    9 root      10    0     0K   13M usbevt/1   0:00  0.00%  0.00% [usb0]
    4 root      10    0     0K   13M pmsres/1   0:00  0.00%  0.00% [pms0]
   10 root      10    0     0K   13M usbtsk/1   0:00  0.00%  0.00% [usbtask]
  105 root      10    0   256K  820K nanosl/1   0:00  0.00%  0.00% cron
    1 root      10    0    64K  776K wait/1     0:00  0.00%  0.00% init
  472 root      10    0   216K  760K mfsidl/1   0:00  0.00%  0.00% mount_mfs

>How-To-Repeat:
	Compile a recent mp kernel.
>Fix:
	Dunno yet...