NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/51137: MPkernel Could Turn back time on NetBSD/alpha



>Number:         51137
>Category:       kern
>Synopsis:       MPkernel Could Turn back time on NetBSD/alpha
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 14 16:30:00 +0000 2016
>Originator:     nullnilaki
>Release:        NetBSD 7.0
>Organization:
Japan
>Environment:
NetBSD 7.0 (GENERIC-$Revision: 1.358.4.2 $.201509250726Z)
AlphaServer DS25, 1000MHz, s/n AY25202439


>Description:
Hello,
when using a MPkernel on NetBSD/Alpha, ps or top command retruns Past time.

---------------------------------------------------------------------------
Please read this PR.
http://mail-index.netbsd.org/port-alpha/2016/01/20/msg000735.html
---------------------------------------------------------------------------
Execute top command.

load averages: 5.83, 1.50, 0.55; up 0+00:05:44 22:12:42
67 processes: 16 runnable, 49 sleeping, 2 on CPU
CPU states: 73.8% user, 0.0% nice, 25.9% system, 0.0% interrupt, 0.3% idle
Memory: 140M Act, 8K Wired, 18M Exec, 49M File, 1808M Free
Swap: 2049M Total, 2049M Free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
13324 root 27 0 37M 28M RUN/1 0:01 18.50% 5.47% cc1
10045 root 27 0 21M 16M RUN/1 0:00 10.85% 1.51% cc1
4409 root 27 0 21M 15M RUN/0 0:00 13.84% 1.32% cc1
14896 root 27 0 6616K 5080K RUN/0 0:00 1.95% 0.88% nbmake
16799 root 28 0 20M 12M CPU/1 0:00 7.18% 0.68% cc1
15254 root 27 0 20M 8792K RUN/0 0:00 3.00% 0.15% cc1
14834 root 27 0 5520K 2624K RUN/1 0:00 1.00% 0.05% as
9428 root 83 0 4568K 2944K select/0 ??? 0.00% 0.00% nbmake
10462 root 77 0 3896K 1872K wait/1 ??? 0.00% 0.00% sh
11036 root 77 0 3896K 1872K wait/1 ??? 0.00% 0.00% sh
0 root 124 0 0K 23M syncer/0 ??? 0.00% 0.00% [system]
2489 root 85 0 9032K 4112K select/0 0:01 0.00% 0.00% telnetd
16877 root 43 0 4048K 2296K CPU/0 0:00 0.00% 0.00% top
17742 root 27 0 15M 1232K RUN/0 0:00 0.00% 0.00% cc1
16550 root 27 0 4728K 560K RUN/0 0:00 0.00% 0.00% cc
16483 root 27 0 2840K 488K RUN/1 0:00 0.00% 0.00% cc
---------------------------------------------------------------------------
Execute ps -A command.

PID TTY STAT TIME COMMAND
0 ? DKl -12:-51.33 [system]
1 ? Ss 0:00.03 init
556 ? Ss 0:00.02 /usr/sbin/syslogd -s
1323 ? Is 0:00.00 /usr/sbin/cron
1462 ? Is 0:00.00 /usr/sbin/inetd -l
2396 ? Isl 0:00.09 dhclient
2489 ? S 0:02.33 telnetd
2435 pts/0 I 0:00.05 sh
2442 pts/0 Is 0:00.04 login
2523 pts/0 I 0:00.01 -sh
3552 pts/0 I+ 0:00.09 sh ./build.sh -j 16 -O ../obj.alpha -T ../tools.alpha
7261 pts/0 S+ 0:00.86 /usr/src/../tools.alpha/bin/nbmake -j 16 build_install
9199 pts/0 I+ 0:00.01 sh
13470 pts/0 S+ 0:00.00 sh
14044 pts/0 S+ 0:00.31 cc -c -DLOCALEDIR="/usr/src/../tools.alpha/share/local
14151 pts/0 I+ 0:00.00 /bin/sh -c _makedirtarget() { dir="$1"; shift; targe
14427 pts/0 S+ 0:00.00 sh
18624 pts/0 S+ 0:00.01 /usr/src/../tools.alpha/bin/nbmake -f /usr/src/tools/t
18625 pts/0 S+ 0:00.01 sh
18802 pts/0 I+ 0:00.00 sh
19052 pts/0 S+ 0:00.00 sh
19333 pts/0 S+ 0:-1.77 /usr/src/../tools.alpha/bin/nbmake realall
19551 pts/0 S+ 0:00.04 /usr/src/../tools.alpha/bin/nbmake _THISDIR_ dependall
19901 pts/0 R+ 0:00.33 (as)
20062 pts/0 R+ 0:00.06 (cc1)
20124 pts/0 S+ 0:00.00 (sh)
20251 pts/0 S+ 0:00.00 (sh)
20379 pts/0 S+ 0:00.00 sh
20938 pts/0 S+ 0:00.00 sh
21060 pts/0 I+ 0:00.09 /usr/src/../tools.alpha/bin/nbmake _THISDIR_ dependall
21136 pts/0 S+ 0:00.01 (sh)
21351 pts/0 R+ 0:00.04 (cc1)
22162 pts/0 S+ 0:-1.71 (cc)
23692 pts/0 S+ 0:00.01 (cc)
24549 pts/0 S+ 0:00.01 (cc)
24562 pts/0 R+ 0:00.00 (as)
24918 pts/0 S+ 0:00.01 (sh)
25208 pts/0 R+ 0:00.16 (cc1)
25400 pts/0 O+ 0:00.01 (as)
25892 pts/0 R+ 0:00.06 (cc1)
26042 pts/0 S+ 0:00.30 (cc)
26355 pts/0 S+ 0:00.01 (cc)
26387 pts/0 R+ 0:00.08 (cc1)
26426 pts/0 S+ 0:00.01 cc -c -DLOCALEDIR="/usr/src/../tools.alpha/share/local
26583 pts/0 S+ 0:-1.71 (sh)
26713 pts/0 S+ 0:00.00 sh
26746 pts/0 R+ 0:00.08 (cc1)
26783 pts/0 S+ 0:00.01 (cc)
26829 pts/0 R+ 0:00.03 (as)
26965 pts/0 S+ 0:00.01 (cc)
26967 pts/0 S+ 0:00.04 (nbmake)
27012 pts/0 S+ 0:00.01 (sh)
27034 pts/0 S+ 0:00.00 /bin/sh -c /usr/src/../tools.alpha/bin/nbmake -f /usr
27135 pts/0 S+ 0:00.01 (cc)
27162 pts/0 S+ 0:00.00 (sh)
27285 pts/0 R+ 0:00.02 (cc1)
27311 pts/0 S+ 0:00.01 (cc)
27353 pts/0 S+ 0:00.01 (cc)
27763 pts/0 S+ 0:00.01 /usr/src/../tools.alpha/bin/nbmake -f /usr/src/tools/t
28369 pts/0 R+ 0:00.10 (cc1)
1405 ttyC0 Is 0:00.04 login
1566 ttyC0 S 0:00.03 -sh
26406 ttyC0 O+ 0:00.00 ps -A 
---------------------------------------------------------------------------
Execute dmesg command.
Please see "WARNING: negative runtime; monotonic clock has gone backwards"
message.

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 7.0 (GENERIC-$Revision: 1.358.4.2 $.201509250726Z)
AlphaServer DS25, 1000MHz, s/n AY25202439
8192 byte page size, 2 processors.
total memory = 2048 MB
(3248 KB reserved for PROM, 2044 MB used by NetBSD)
avail memory = 2004 MB
kern.module.path=/stand/alpha/7.0/modules
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264C-5
cpu0: Architecture extensions: 0x1307<PAT,MVI,CIX,FIX,BWX>
cpu1 at mainbus0: ID 1, 21264C-5
cpu1: Architecture extensions: 0x1307<PAT,MVI,CIX,FIX,BWX>
tsc0 at mainbus0: 21274 Core Logic Chipset, Cchip rev 0
tsc0: 8 Dchips, 2 memory buses of 32 bytes
tsc0: arrays present: 2048MB, 0MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
pci0 at tsp0 bus 0
sio0 at pci0 dev 7 function 0: vendor 0x10b9 product 0x1533 (rev. 0xc3)
fxp0 at pci0 dev 8 function 0: Intel i82559ER Ethernet (rev. 0x09)
fxp0: interrupting at dec 6600 irq 20
fxp0: Ethernet address 00:02:a5:20:29:ab
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vendor 0x1011 product 0x0018 (miscellaneous network, revision 0x25) at pci0 dev 10 function 0 not configured
vendor 0x0e11 product 0xa0f7 (PCI Hot-Plug system, revision 0x12) at pci0 dev 12 function 0 not configured
aceride0 at pci0 dev 16 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
aceride0: primary channel interrupting at isa irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel interrupting at isa irq 15
atabus1 at aceride0 channel 1
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
attimer0: attached to pcppi0
tsp1 at tsc0
pci1 at tsp1 bus 0
ahc0 at pci1 dev 1 function 0: Adaptec aic7899 Ultra160 SCSI adapter
ahc0: interrupting at dec 6600 irq 0
ahc0: aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
ahc1 at pci1 dev 1 function 1: Adaptec aic7899 Ultra160 SCSI adapter
ahc1: interrupting at dec 6600 irq 1
ahc1: aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc1: 16 targets, 8 luns per target
bge0 at pci1 dev 5 function 0: Broadcom BCM5703X Gigabit Ethernet
bge0: interrupting at dec 6600 irq 4
bge0: HW config 00000014, 00000000, 00000000, 00000000 00000000
bge0: ASIC BCM5702/5703 A2 (0x1002), Ethernet address 00:02:a5:c6:21:e7
ukphy0 at bge0 phy 1: OUI 0x001018, model 0x0016, rev. 2
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
tsp2 at tsc0
pci2 at tsp2 bus 0
vendor 0x10df product 0xf900 (Fiber Channel serial bus, revision 0x01) at pci2 dev 2 function 0 not configured
tsp3 at tsc0
pci3 at tsp3 bus 0
vendor 0x10df product 0xf900 (Fiber Channel serial bus, revision 0x01) at pci3 dev 2 function 0 not configured
vendor 0x0e11 product 0xa0f7 (PCI Hot-Plug system, revision 0x12) at pci3 dev 6 function 0 not configured
tsciic0 at tsc0
iic0 at tsciic0: I2C bus
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST GCE-8320B, , 2.04> cdrom removable
sd0 at scsibus0 target 1 lun 0: <COMPAQ, BD03688272, HPB4> disk fixed
sd0: 34732 MB, 43962 cyl, 2 head, 809 sec, 512 bytes/sect x 71132000 sectors
sd0: sync (12.50ns offset 63), 16-bit (160.000MB/s) transfers, tagged queueing
root on sd0a dumps on sd0b
root file system type: ffs
WARNING: negative runtime; monotonic clock has gone backwards
Fri May 13 22:07:28 UTC 2016
Starting root file system check:
/dev/rsd0a: file system is clean; not checking
cd0: no disk label
swapctl: setting dump device to /dev/sd0b
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
random_seed: /var/db/entropy-file: Not present
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
/etc/rc: WARNING: $hostname not set.
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for DAD completion for statically configured addresses...
Building databases: dev, utmp, utmpx.
Starting syslogd.
Mounting all file systems...
Clearing temporary files.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
swapctl: setting dump device to /dev/sd0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
/usr/sbin/postconf: warning: valid_hostname: empty hostname
/usr/sbin/postconf: fatal: unable to use my own hostname
May 13 22:07:40 postfix[1363]: fatal: unable to use my own hostname
/etc/rc.d/postfix exited with code 1
Starting inetd.
Starting cron.
The following components reported failures:
/etc/rc.d/postfix
See /var/run/rc.log for more information.
Fri May 13 22:07:41 UTC 2016
NetBSD/alpha (Amnesiac) (console)
---------------------------------------------------------------------------

cc_calibrate_cpu&#12288;function working correctly?
>How-To-Repeat:
Boot MPkernel on Alpha SMP machine.
>Fix:
N/A



Home | Main Index | Thread Index | Old Index