On Wed, Nov 09, 2022 at 04:14:10PM +0000, Martin Pieuchot wrote:
> On 09/09/22(Fri) 14:41, Martin Pieuchot wrote:
> > On 09/09/22(Fri) 12:25, Theo Buehler wrote:
> > > > Yesterday gnezdo@ fixed a race in uvn_attach() that lead to the same
> > > > assert. Here's an rebased diff for the bug discussed in this thread,
> > > > could you try again and let us know? Thanks!
> > >
> > > This seems to be stable now. It's been running for nearly 5 days.
> > > Without gnezdo's fix it would blow up within at most 2 days.
> >
> > Thanks! I'm looking for oks then.
>
> Here's an alternative possible fix. The previous one got reverted
> because it exposes a bug on arm64 machines with Cortex-A72 CPUs.
>
> The idea of the diff below is to flush data to physical pages that we keep
> around when munmap(2) is called. I hope that the page daemon does the right
> thing and don't try to grab a reference to the vnode if all pages are
> PG_CLEAN.
>
> Could you try that and tell me if this prevents the panic you're seeing?
>
> Index: uvm/uvm_vnode.c
> ===================================================================
> RCS file: /cvs/src/sys/uvm/uvm_vnode.c,v
> retrieving revision 1.130
> diff -u -p -r1.130 uvm_vnode.c
> --- uvm/uvm_vnode.c 20 Oct 2022 13:31:52 -0000 1.130
> +++ uvm/uvm_vnode.c 9 Nov 2022 16:08:57 -0000
> @@ -329,7 +329,7 @@ uvn_detach(struct uvm_object *uobj)
> */
> if (uvn->u_flags & UVM_VNODE_CANPERSIST) {
> /* won't block */
> - uvn_flush(uobj, 0, 0, PGO_DEACTIVATE|PGO_ALLPAGES);
> + uvn_flush(uobj, 0, 0, PGO_CLEANIT|PGO_DEACTIVATE|PGO_ALLPAGES);
> goto out;
> }
>
With this it does not panic but hangs during build. Console password
prompt appears, but login does not work. Break into ddb shows both
CPU are idle.
OpenBSD/macppc (ot26.obsd-lab.genua.de) (console)
login: root
Password:
^T^T^TLogin timed out after 300 seconds
[halt sent]
Stopped at db_enter+0x24: lwz r11,12(r1)
ddb{0}> trace
db_enter() at db_enter+0x20
zs_abort(b846c9ff) at zs_abort+0x44
zstty_stint(b846c9ff,aa9050) at zstty_stint+0x80
zsc_intr_hard(0) at zsc_intr_hard+0xf8
zshard(eaf94f7b) at zshard+0x94
openpic_ext_intr() at openpic_ext_intr+0x378
extint_call() at extint_call
--- interrupt ---
sched_idle(0) at sched_idle+0x220
proc_trampoline() at proc_trampoline+0x14
end trace frame: 0x0, count: -9
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
82062 108741 35278 0 3 0x10008a sigsusp sh
35278 326141 76529 0 3 0x100090 piperd cron
57024 146742 22379 0 3 0x10008a sigsusp sh
22379 111591 76529 0 3 0x100090 piperd cron
55048 187511 1391 0 3 0x10008a sigsusp sh
1391 326522 76529 0 3 0x100090 piperd cron
8321 169445 33238 0 3 0x10008a sigsusp sh
33238 329691 76529 0 3 0x100090 piperd cron
58098 225411 1674 0 3 0x10008a sigsusp sh
1674 496278 76529 0 3 0x100090 piperd cron
15523 293279 38464 0 3 0x10008a sigsusp sh
38464 110795 76529 0 3 0x100090 piperd cron
74065 410269 92325 0 3 0x10008a sigsusp sh
92325 52659 76529 0 3 0x100090 piperd cron
13829 401074 64288 0 3 0x10008a sigsusp sh
64288 98738 76529 0 3 0x100090 piperd cron
28303 221986 33521 0 3 0x10008a sigsusp sh
33521 373224 76529 0 3 0x100090 piperd cron
82401 100291 60910 0 3 0x10008a sigsusp sh
60910 436047 76529 0 3 0x100090 piperd cron
87863 36340 57609 0 3 0x10008a sigsusp sh
57609 73380 76529 0 3 0x100090 piperd cron
23934 159239 6695 0 3 0x10008a sigsusp sh
6695 188241 76529 0 3 0x100090 piperd cron
62835 385474 59944 0 3 0x10008a sigsusp sh
59944 75639 76529 0 3 0x100090 piperd cron
65245 328020 80897 0 3 x10008a sigsusp sh
89129 427253 76529 0 3 0x100090 piperd cron
46467 285305 28388 0 3 0x10008a sigsusp sh
28388 57372 76529 0 3 0x100090 piperd cron
12718 74740 85868 0 3 0x10008a sigsusp sh
85868 312799 76529 0 3 0x100090 piperd cron
87283 190660 39787 0 3 0x10008a sigsusp sh
39787 154590 76529 0 3 0x100090 piperd cron
18854 410749 2504 0 3 0x10008a sigsusp sh
2504 71618 76529 0 3 0x100090 piperd cron
79881 316220 58337 0 3 0x10008a sigsusp sh
58337 220546 76529 0 3 0x100090 piperd cron
80626 130427 85908 0 3 0x10008a sigsusp sh
85908 83631 76529 0 3 0x100090 piperd cron
54504 366978 24358 0 3 0x10008a sigsusp sh
24358 132514 76529 0 3 0x100090 piperd cron
94304 416214 26311 0 3 0x10008a sigsusp sh
26311 328141 76529 0 3 0x100090 piperd cron
13490 324434 46902 0 3 0x10008a sigsusp sh
46902 251713 76529 0 3 0x100090 piperd cron
45526 345742 19878 0 3 0x10008a sigsusp sh
19878 395223 76529 0 3 0x100090 piperd cron
35830 429060 26104 0 3 0x10008a sigsusp sh
26104 41217 76529 0 3 0x100090 piperd cron
2091 41086 9036 0 3 0x10008a sigsusp sh
9036 137274 76529 0 3 0x100090 piperd cron
61491 164560 93678 0 3 0x10008a sigsusp sh
93678 233998 76529 0 3 0x100090 piperd cron
15707 215362 31550 0 3 0x10008a sigsusp sh
31550 297186 76529 0 3 0x100090 piperd cron
38547 108929 75696 0 3 0x10008a sigsusp sh
75696 25330 76529 0 3 0x100090 piperd cron
70479 173816 40974 0 3 0x10008a sigsusp sh
40974 327502 76529 0 3 0x100090 piperd cron
97176 145049 38299 0 3 0x10008a sigsusp sh
38299 95834 76529 0 3 0x100090 piperd cron
99271 492437 42675 0 3 0x10008a sigsusp sh
42675 476751 76529 0 3 0x100090 piperd cron
10735 458029 34188 0 3 0x10008a sigsusp sh
34188 200919 76529 0 3 0x100090 piperd cron
9138 255908 58185 0 3 0x10008a sigsusp sh
58185 209777 76529 0 3 0x100090 piperd cron
93577 446058 11079 0 3 0x10008a sigsusp sh
11079 205819 76529 0 3 0x100090 piperd cron
85846 136297 2450 0 3 0x10008a sigsusp sh
2450 434171 76529 0 3 0x100090 piperd cron
61355 281699 14824 0 3 0x10008a sigsusp sh
14824 350102 76529 0 3 0x100090 piperd cron
9477 286852 70379 0 3 0x10008a sigsusp sh
70379 266285 1429 0 3 0x10008a sigsusp sh
1429 463613 76529 0 3 0x100090 piperd cron
76107 239665 51048 0 3 0x10008a sigsusp sh
51048 100634 76529 0 3 0x100090 piperd cron
93318 394106 31487 0 3 0x10008a sigsusp sh
31487 334905 76529 0 3 0x100090 piperd cron
23662 156742 99443 0 3 0x10008a sigsusp sh
99443 160116 76529 0 3 0x100090 piperd cron
87683 341898 49161 0 3 0x10008a sigsusp sh
49161 212304 76529 0 3 0x100090 piperd cron
88633 39768 58994 0 3 0x10008a sigsusp sh
58994 200085 76529 0 3 0x100090 piperd cron
55271 104213 32635 0 3 0x10008a sigsusp sh
32635 408650 76529 0 3 0x100090 piperd cron
40437 390078 76549 0 3 0x10008a sigsusp sh
76549 276736 76529 0 3 0x100090 piperd cron
74039 339388 81316 0 3 0x10008a sigsusp sh
81316 199980 76529 0 3 0x100090 piperd cron
49665 9156 19280 0 3 0x10008a sigsusp sh
19280 111653 76529 0 3 0x100090 piperd cron
2658 301607 83511 0 3 0x10008a sigsusp sh
83511 372220 76529 0 3 0x100090 piperd cron
37741 209175 21164 0 3 0x10008a sigsusp sh
21164 357196 76529 0 3 0x100090 piperd cron
59403 257736 84531 0 3 0x10008a sigsusp sh
84531 123941 76529 0 3 0x100090 piperd cron
41492 323931 9459 0 3 0x10008a sigsusp sh
9459 174296 76529 0 3 0x100090 piperd cron
60733 471302 56900 0 3 0x10008a sigsusp sh
56900 513555 76529 0 3 0x100090 piperd cron
57769 443023 80237 0 3 0x10008a sigsusp sh
80237 419867 76529 0 3 0x100090 piperd cron
93066 461904 38942 0 3 0x10008a sigsusp sh
38942 419625 76529 0 3 0x100090 piperd cron
50709 383236 44344 0 3 0x10008a sigsusp sh
44344 180524 76529 0 3 0x100090 piperd cron
88774 67789 47458 0 3 0x10008a sigsusp sh
47458 142890 76529 0 3 0x100090 piperd cron
86100 42506 60636 0 3 0x10008a sigsusp sh
60636 491416 76529 0 3 0x100090 piperd cron
9375 385535 50659 0 3 0x10008a sigsusp sh
50659 88900 76529 0 3 0x100090 piperd cron
1888 472473 16100 0 3 0x10008a sigsusp sh
16100 479325 76529 0 3 0x100090 piperd cron
19902 405909 50700 0 3 0x10008a sigsusp sh
50700 364849 76529 0 3 0x100090 piperd cron
77327 309002 15618 0 3 0x10008a sigsusp sh
15618 250524 10101 0 3 0x10008a sigsusp sh
10101 471264 76529 0 3 0x100090 piperd cron
44531 86512 94177 0 3 0x10008a sigsusp sh
94177 451971 76529 0 3 0x100090 piperd cron
90804 497827 16928 0 3 0x10008a sigsusp sh
16928 344656 76529 0 3 0x100090 piperd cron
31741 276589 94686 0 3 0x10008a sigsusp sh
94686 92916 27869 0 3 0x10008a sigsusp sh
27869 119925 76529 0 3 0x100090 piperd cron
49104 286857 6939 0 3 0x10008a sigsusp sh
6939 282274 76529 0 3 0x100090 piperd cron
85762 11171 82551 0 3 0x10008a sigsusp sh
82551 355261 76529 0 3 0x100090 piperd cron
62254 372323 75111 0 3 0x10008a sigsusp sh
75111 210751 76529 0 3 0x100090 piperd cron
66630 199578 74862 0 3 0x10008a sigsusp sh
74862 238480 76529 0 3 0x100090 piperd cron
46001 442872 28451 0 3 0x10008a sigsusp sh
28451 479766 76529 0 3 0x100090 piperd cron
28340 73510 17762 0 3 0x10008a sigsusp sh
17762 501698 76529 0 3 0x100090 piperd cron
11661 382593 45636 0 3 0x10008a sigsusp sh
45636 219841 76529 0 3 0x100090 piperd cron
97280 442173 80079 0 3 0x10008a sigsusp sh
80079 42496 76529 0 3 0x100090 piperd cron
5040 235620 83875 0 3 0x10008a sigsusp sh
83875 131047 76529 0 3 0x100090 piperd cron
4699 252296 1941 0 3 0x10008a sigsusp sh
1941 315208 76529 0 3 0x100090 piperd cron
7178 417990 34351 0 3 0x10008a sigsusp sh
34351 211023 76529 0 3 0x100090 piperd cron
54754 284426 77989 0 3 0x10008a sigsusp sh
77989 62337 76529 0 3 0x100090 piperd cron
21897 218710 61623 0 3 0x10008a sigsusp sh
61623 224719 76529 0 3 0x100090 piperd cron
91245 314214 68573 0 3 0x10008a sigsusp sh
68573 188475 76529 0 3 0x100090 piperd cron
36280 30496 19314 0 3 0x10008a sigsusp sh
19314 222478 76529 0 3 0x100090 piperd cron
83490 8008 348 0 3 0x10008a sigsusp sh
348 416913 76529 0 3 0x100090 piperd cron
30707 519714 51830 0 3 0x10008a sigsusp sh
51830 243494 76529 0 3 0x100090 piperd cron
10393 264956 46073 0 3 0x10008a sigsusp sh
46073 439984 76529 0 3 0x100090 piperd cron
15148 11921 1639 0 3 0x10008a sigsusp sh
1639 258339 76529 0 3 0x100090 piperd cron
81021 232755 57590 0 3 0x10008a sigsusp sh
57590 384167 76529 0 3 0x100090 piperd cron
61427 135882 28507 0 3 0x10008a sigsusp sh
28507 156662 76529 0 3 0x100090 piperd cron
75159 137083 70673 0 3 0x10008a sigsusp sh
70673 458799 76529 0 3 0x100090 piperd cron
30951 3076 45735 0 3 0x10008a sigsusp sh
45735 113007 76529 0 3 0x100090 piperd cron
2528 340 60790 0 3 0x10008a sigsusp sh
60790 173338 76529 0 3 0x100090 piperd cron
89200 446306 5874 0 3 0x10008a sigsusp sh
5874 390753 47741 0 3 0x10008a sigsusp sh
47741 523586 76529 0 3 0x100090 piperd cron
95237 247284 71988 0 3 0x82 wait newsyslog
71988 90759 41319 0 3 0x10008a sigsusp sh
41319 223729 76529 0 3 0x100090 piperd cron
36689 377550 57856 0 3 0x10008a sigsusp sh
57856 395740 76529 0 3 0x100090 piperd cron
63022 98406 9481 0 3 0x10008a sigsusp sh
9481 242589 76529 0 3 0x100090 piperd cron
20499 263184 49149 21 3 0x10008a sigsusp sh
49149 30643 33163 21 3 0x10008a sigsusp make
33163 438843 95444 21 3 0x10008a sigsusp sh
95444 254921 98607 21 3 0x10008a sigsusp make
98607 297072 56846 21 3 0x10008a sigsusp sh
56846 219770 88186 21 3 0x10008a sigsusp make
88186 494699 66807 21 3 0x10008a sigsusp sh
66807 410417 60384 21 3 0x10008a sigsusp make
60384 223323 59332 21 3 0x10008a sigsusp sh
59332 234698 36857 21 3 0x10008a sigsusp make
36857 466752 80034 0 3 0x10008a sigsusp sh
80034 349746 97497 0 3 0x10008a sigsusp make
97497 185364 7861 0 3 0x10008a sigsusp make
7861 388984 29664 0 3 0x10008a sigsusp sh
29664 231410 44934 0 3 0x82 piperd perl
44934 459594 19294 0 3 0x10008a sigsusp ksh
19294 228974 70411 0 3 0x9a kqread sshd
76529 514603 1 0 3 0x100098 kqread cron
98743 198310 1 99 3 0x1100090 kqread sndiod
37338 342286 1 110 3 0x100090 kqread sndiod
87409 218439 83311 95 3 0x1100092 kqread smtpd
82623 223254 83311 103 3 0x1100092 kqread smtpd
56825 141101 83311 95 3 0x1100092 kqread smtpd
81547 428286 83311 95 3 0x100092 kqread smtpd
45257 23183 83311 95 3 0x1100092 kqread smtpd
11735 463341 83311 95 3 0x1100092 kqread smtpd
83311 46658 1 0 3 0x100080 kqread smtpd
31414 235753 58366 91 3 0x92 kqread snmpd_metrics
58366 12270 1 0 3 0x100080 kqread snmpd
82471 234447 1 91 3 0x1100092 kqread snmpd
70411 267290 1 0 3 0x88 kqread sshd
55627 168649 0 0 3 0x14280 nfsidl nfsio
83196 281045 0 0 3 0x14280 nfsidl nfsio
55651 284520 0 0 3 0x14280 nfsidl nfsio
43941 117572 0 0 3 0x14280 nfsidl nfsio
34319 371092 1 0 3 0x100080 kqread ntpd
41228 417124 80547 83 3 0x100092 kqread ntpd
80547 181777 1 83 3 0x1100092 kqread ntpd
53272 458769 38574 74 3 0x1100092 bpf pflogd
38574 133094 1 0 3 0x80 netio pflogd
3499 413757 58180 73 3 0x1100090 kqread syslogd
58180 264442 1 0 3 0x100082 netio syslogd
50781 141732 1 0 3 0x100080 kqread resolvd
33431 86949 6911 77 3 0x100092 kqread dhcpleased
74531 246826 6911 77 3 0x100092 kqread dhcpleased
6911 27751 1 0 3 0x80 kqread dhcpleased
78371 72996 21350 115 3 0x100092 kqread slaacd
75770 204069 21350 115 3 0x100092 kqread slaacd
21350 173661 1 0 3 0x100080 kqread slaacd
73882 155678 0 0 3 0x14200 bored smr
28682 190248 0 0 7 0x40014200 idle1
50538 116408 0 0 3 0x14200 pgzero zerothread
9206 350854 0 0 3 0x14200 aiodoned aiodoned
52979 174572 0 0 3 0x14200 syncer update
87550 512752 0 0 3 0x14200 cleaner cleaner
25870 351727 0 0 3 0x14200 uvn_flsh reaper
92330 345252 0 0 3 0x14200 pgdaemon pagedaemon
47301 238752 0 0 3 0x14200 usbtsk usbtask
86827 342584 0 0 3 0x14200 usbatsk usbatsk
33367 451925 0 0 3 0x14200 bored sensors
8392 124127 0 0 3 0x14200 bored softnet
17675 488841 0 0 3 0x14200 bored softnet
87151 103818 0 0 3 0x14200 bored softnet
68398 336549 0 0 3 0x14200 bored softnet
85752 83751 0 0 3 0x14200 bored systqmp
95635 417089 0 0 3 0x14200 bored systq
19311 99245 0 0 3 0x40014200 bored softclock
*26241 227094 0 0 7 0x40014200 idle0
1 482749 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> mach ddbcpu 1
Stopped at db_enter+0x24: lwz r11,12(r1)
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
82062 108741 35278 0 3 0x10008a sigsusp sh
35278 326141 76529 0 3 0x100090 piperd cron
57024 146742 22379 0 3 0x10008a sigsusp sh
22379 111591 76529 0 3 0x100090 piperd cron
55048 187511 1391 0 3 0x10008a sigsusp sh
1391 326522 76529 0 3 0x100090 piperd cron
8321 169445 33238 0 3 0x10008a sigsusp sh
33238 329691 76529 0 3 0x100090 piperd cron
58098 225411 1674 0 3 0x10008a sigsusp sh
1674 496278 76529 0 3 0x100090 piperd cron
15523 293279 38464 0 3 0x10008a sigsusp sh
38464 110795 76529 0 3 0x100090 piperd cron
74065 410269 92325 0 3 0x10008a sigsusp sh
92325 52659 76529 0 3 0x100090 piperd cron
13829 401074 64288 0 3 0x10008a sigsusp sh
64288 98738 76529 0 3 0x100090 piperd cron
28303 221986 33521 0 3 0x10008a sigsusp sh
33521 373224 76529 0 3 0x100090 piperd cron
82401 100291 60910 0 3 0x10008a sigsusp sh
60910 436047 76529 0 3 0x100090 piperd cron
87863 36340 57609 0 3 0x10008a sigsusp sh
57609 73380 76529 0 3 0x100090 piperd cron
23934 159239 6695 0 3 0x10008a sigsusp sh
6695 188241 76529 0 3 0x100090 piperd cron
62835 385474 59944 0 3 0x10008a sigsusp sh
59944 75639 76529 0 3 0x100090 piperd cron
65245 328020 80897 0 3 0x10008a sigsusp sh
80897 335431 21939 0 3 0x10008a sigsusp sh
21939 347492 76529 0 3 0x100090 piperd cron
56295 507149 89129 0 3 0x10008a sigsusp sh
89129 427253 76529 0 3 0x100090 piperd cron
46467 285305 28388 0 3 0x10008a sigsusp sh
28388 57372 76529 0 3 0x100090 piperd cron
12718 74740 85868 0 3 0x10008a sigsusp sh
85868 312799 76529 0 3 0x100090 piperd cron
87283 190660 39787 0 3 0x10008a sigsusp sh
39787 154590 76529 0 3 0x100090 piperd cron
18854 410749 2504 0 3 0x10008a sigsusp sh
2504 71618 76529 0 3 0x100090 piperd cron
79881 316220 58337 0 3 0x10008a sigsusp sh
58337 220546 76529 0 3 0x100090 piperd cron
80626 130427 85908 0 3 0x10008a sigsusp sh
85908 83631 76529 0 3 0x100090 piperd cron
54504 366978 24358 0 3 0x10008a sigsusp sh
24358 132514 76529 0 3 0x100090 piperd cron
94304 416214 26311 0 3 0x10008a sigsusp sh
26311 328141 76529 0 3 0x100090 piperd cron
13490 324434 46902 0 3 0x10008a sigsusp sh
46902 251713 76529 0 3 0x100090 piperd cron
45526 345742 19878 0 3 0x10008a sigsusp sh
19878 395223 76529 0 3 0x100090 piperd cron
35830 429060 26104 0 3 0x10008a sigsusp sh
26104 41217 76529 0 3 0x100090 piperd cron
2091 41086 9036 0 3 0x10008a sigsusp sh
9036 137274 76529 0 3 0x100090 piperd cron
61491 164560 93678 0 3 0x10008a sigsusp sh
93678 233998 76529 0 3 0x100090 piperd cron
15707 215362 31550 0 3 0x10008a sigsusp sh
31550 297186 76529 0 3 0x100090 piperd cron
38547 108929 75696 0 3 0x10008a sigsusp sh
75696 25330 76529 0 3 0x100090 piperd cron
70479 173816 40974 0 3 0x10008a sigsusp sh
40974 327502 76529 0 3 0x100090 piperd cron
97176 145049 38299 0 3 0x10008a sigsusp sh
38299 95834 76529 0 3 0x100090 piperd cron
99271 492437 42675 0 3 0x10008a sigsusp sh
42675 476751 76529 0 3 0x100090 piperd cron
10735 458029 34188 0 3 0x10008a sigsusp sh
34188 200919 76529 0 3 0x100090 piperd cron
9138 255908 58185 0 3 0x10008a sigsusp sh
58185 209777 76529 0 3 0x100090 piperd cron
93577 446058 11079 0 3 0x10008a sigsusp sh
11079 205819 76529 0 3 0x100090 piperd cron
85846 136297 2450 0 3 0x10008a sigsusp sh
2450 434171 76529 0 3 0x100090 piperd cron
61355 281699 14824 0 3 0x10008a sigsusp sh
14824 350102 76529 0 3 0x100090 piperd cron
9477 286852 70379 0 3 0x10008a sigsusp sh
70379 266285 1429 0 3 0x10008a sigsusp sh
1429 463613 76529 0 3 0x100090 piperd cron
76107 239665 51048 0 3 0x10008a sigsusp sh
51048 100634 76529 0 3 0x100090 piperd cron
93318 394106 31487 0 3 0x10008a sigsusp sh
31487 334905 76529 0 3 0x100090 piperd cron
23662 156742 99443 0 3 0x10008a sigsusp sh
99443 160116 76529 0 3 0x100090 piperd cron
87683 341898 49161 0 3 0x10008a sigsusp sh
49161 212304 76529 0 3 0x100090 piperd cron
88633 39768 58994 0 3 0x10008a sigsusp sh
58994 200085 76529 0 3 0x100090 piperd cron
55271 104213 32635 0 3 0x10008a sigsusp sh
32635 408650 76529 0 3 0x100090 piperd cron
40437 390078 76549 0 3 0x10008a sigsusp sh
76549 276736 76529 0 3 0x100090 piperd cron
74039 339388 81316 0 3 0x10008a sigsusp sh
81316 199980 76529 0 3 0x100090 piperd cron
49665 9156 19280 0 3 0x10008a sigsusp sh
19280 111653 76529 0 3 0x100090 piperd cron
2658 301607 83511 0 3 0x10008a sigsusp sh
83511 372220 76529 0 3 0x100090 piperd cron
37741 209175 21164 0 3 0x10008a sigsusp sh
21164 357196 76529 0 3 0x100090 piperd cron
59403 257736 84531 0 3 0x10008a sigsusp sh
84531 123941 76529 0 3 0x100090 piperd cron
41492 323931 9459 0 3 0x10008a sigsusp sh
9459 174296 76529 0 3 0x100090 piperd cron
60733 471302 56900 0 3 0x10008a sigsusp sh
56900 513555 76529 0 3 0x100090 piperd cron
57769 443023 80237 0 3 0x10008a sigsusp sh
80237 419867 76529 0 3 0x100090 piperd cron
93066 461904 38942 0 3 0x10008a sigsusp sh
38942 419625 76529 0 3 0x100090 piperd cron
50709 383236 44344 0 3 0x10008a sigsusp sh
44344 180524 76529 0 3 0x100090 piperd cron
88774 67789 47458 0 3 0x10008a sigsusp sh
47458 142890 76529 0 3 0x100090 piperd cron
86100 42506 60636 0 3 0x10008a sigsusp sh
60636 491416 76529 0 3 0x100090 piperd cron
9375 385535 50659 0 3 0x10008a sigsusp sh
50659 88900 76529 0 3 0x100090 piperd cron
1888 472473 16100 0 3 0x10008a sigsusp sh
16100 479325 76529 0 3 0x100090 piperd cron
19902 405909 50700 0 3 0x10008a sigsusp sh
50700 364849 76529 0 3 0x100090 piperd cron
77327 309002 15618 0 3 0x10008a sigsusp sh
15618 250524 10101 0 3 0x10008a sigsusp sh
10101 471264 76529 0 3 0x100090 piperd cron
44531 86512 94177 0 3 0x10008a sigsusp sh
94177 451971 76529 0 3 0x100090 piperd cron
90804 497827 16928 0 3 0x10008a sigsusp sh
16928 344656 76529 0 3 0x100090 piperd cron
31741 276589 94686 0 3 0x10008a sigsusp sh
94686 92916 27869 0 3 0x10008a sigsusp sh
27869 119925 76529 0 3 0x100090 piperd cron
49104 286857 6939 0 3 0x10008a sigsusp sh
6939 282274 76529 0 3 0x100090 piperd cron
85762 11171 82551 0 3 0x10008a sigsusp sh
82551 355261 76529 0 3 0x100090 piperd cron
62254 372323 75111 0 3 0x10008a sigsusp sh
75111 210751 76529 0 3 0x100090 piperd cron
66630 199578 74862 0 3 0x10008a sigsusp sh
74862 238480 76529 0 3 0x100090 piperd cron
46001 442872 28451 0 3 0x10008a sigsusp sh
28451 479766 76529 0 3 0x100090 piperd cron
28340 73510 17762 0 3 0x10008a sigsusp sh
17762 501698 76529 0 3 0x100090 piperd cron
11661 382593 45636 0 3 0x10008a sigsusp sh
45636 219841 76529 0 3 0x100090 piperd cron
97280 442173 80079 0 3 0x10008a sigsusp sh
80079 42496 76529 0 3 0x100090 piperd cron
5040 235620 83875 0 3 0x10008a sigsusp sh
83875 131047 76529 0 3 0x100090 piperd cron
4699 252296 1941 0 3 0x10008a sigsusp sh
1941 315208 76529 0 3 0x100090 piperd cron
7178 417990 34351 0 3 0x10008a sigsusp sh
34351 211023 76529 0 3 0x100090 piperd cron
54754 284426 77989 0 3 0x10008a sigsusp sh
77989 62337 76529 0 3 0x100090 piperd cron
21897 218710 61623 0 3 0x10008a sigsusp sh
61623 224719 76529 0 3 0x100090 piperd cron
91245 314214 68573 0 3 0x10008a sigsusp sh
68573 188475 76529 0 3 0x100090 piperd cron
36280 30496 19314 0 3 0x10008a sigsusp sh
19314 222478 76529 0 3 0x100090 piperd cron
83490 8008 348 0 3 0x10008a sigsusp sh
348 416913 76529 0 3 0x100090 piperd cron
30707 519714 51830 0 3 0x10008a sigsusp sh
51830 243494 76529 0 3 0x100090 piperd cron
10393 264956 46073 0 3 0x10008a sigsusp sh
46073 439984 76529 0 3 0x100090 piperd cron
15148 11921 1639 0 3 0x10008a sigsusp sh
1639 258339 76529 0 3 0x100090 piperd cron
81021 232755 57590 0 3 0x10008a sigsusp sh
57590 384167 76529 0 3 0x100090 piperd cron
61427 135882 28507 0 3 0x10008a sigsusp sh
28507 156662 76529 0 3 0x100090 piperd cron
75159 137083 70673 0 3 0x10008a sigsusp sh
70673 458799 76529 0 3 0x100090 piperd cron
30951 3076 45735 0 3 0x10008a sigsusp sh
45735 113007 76529 0 3 0x100090 piperd cron
2528 340 60790 0 3 0x10008a sigsusp sh
60790 173338 76529 0 3 0x100090 piperd cron
89200 446306 5874 0 3 0x10008a sigsusp sh
5874 390753 47741 0 3 0x10008a sigsusp sh
47741 523586 76529 0 3 0x100090 piperd cron
95237 247284 71988 0 3 0x82 wait newsyslog
71988 90759 41319 0 3 0x10008a sigsusp sh
41319 223729 76529 0 3 0x100090 piperd cron
36689 377550 57856 0 3 0x10008a sigsusp sh
57856 395740 76529 0 3 0x100090 piperd cron
63022 98406 9481 0 3 0x10008a sigsusp sh
9481 242589 76529 0 3 0x100090 piperd cron
20499 54921 98607 21 3 0x10008a sigsusp make
98607 297072 56846 21 3 0x10008a sigsusp sh
56846 219770 88186 21 3 0x10008a sigsusp make
88186 494699 66807 21 3 0x10008a sigsusp sh
66807 410417 60384 21 3 0x10008a sigsusp make
60384 223323 59332 21 3 0x10008a sigsusp sh
59332 234698 36857 21 3 0x10008a sigsusp make
36857 466752 80034 0 3 0x10008a sigsusp sh
80034 349746 97497 0 3 0x10008a sigsusp make
97497 185364 7861 0 3 0x10008a sigsusp make
7861 388984 29664 0 3 0x10008a sigsusp sh
29664 231410 44934 0 3 0x82 piperd perl
44934 459594 19294 0 3 0x10008a sigsusp ksh
19294 228974 70411 0 3 0x9a kqread sshd
76529 514603 1 0 3 0x100098 kqread cron
98743 198310 1 99 3 0x1100090 kqread sndiod
37338 342286 1 110 3 0x100090 kqread sndiod
87409 218439 83311 95 3 0x1100092 kqread smtpd
82623 223254 83311 103 3 0x1100092 kqread smtpd
56825 141101 83311 95 3 0x1100092 kqread smtpd
81547 428286 83311 95 3 0x100092 kqread smtpd
45257 23183 83311 95 3 0x1100092 kqread smtpd
11735 463341 83311 95 3 0x1100092 kqread smtpd
83311 46658 1 0 3 0x100080 kqread smtpd
31414 235753 58366 91 3 0x92 kqread snmpd_metrics
58366 12270 1 0 3 0x100080 kqread snmpd
82471 234447 1 91 3 0x1100092 kqread snmpd
70411 267290 1 0 3 0x88 kqread sshd
55627 168649 0 0 3 0x14280 nfsidl nfsio
83196 281045 0 0 3 0x14280 nfsidl nfsio
55651 284520 0 0 3 0x14280 nfsidl nfsio
43941 117572 0 0 3 0x14280 nfsidl nfsio
34319 371092 1 0 3 0x100080 kqread ntpd
41228 417124 80547 83 3 0x100092 kqread ntpd
80547 181777 1 83 3 0x1100092 kqread ntpd
53272 458769 38574 74 3 0x1100092 bpf pflogd
38574 133094 1 0 3 0x80 netio pflogd
3499 413757 58180 73 3 0x1100090 kqread syslogd
58180 264442 1 0 3 0x100082 netio syslogd
50781 141732 1 0 3 0x100080 kqread resolvd
33431 86949 6911 77 3 0x100092 kqread dhcpleased
74531 246826 6911 77 3 0x100092 kqread dhcpleased
6911 27751 1 0 3 0x80 kqread dhcpleased
78371 72996 21350 115 3 0x100092 kqread slaacd
75770 204069 21350 115 3 0x100092 kqread slaacd
21350 173661 1 0 3 0x100080 kqread slaacd
73882 155678 0 0 3 0x14200 bored smr
*28682 190248 0 0 7 0x40014200 idle1
50538 116408 0 0 3 0x14200 pgzero zerothread
9206 350854 0 0 3 0x14200 aiodoned aiodoned
52979 174572 0 0 3 0x14200 syncer update
87550 512752 0 0 3 0x14200 cleaner cleaner
25870 351727 0 0 3 0x14200 uvn_flsh reaper
92330 345252 0 0 3 0x14200 pgdaemon pagedaemon
47301 238752 0 0 3 0x14200 usbtsk usbtask
86827 342584 0 0 3 0x14200 usbatsk usbatsk
33367 451925 0 0 3 0x14200 bored sensors
8392 124127 0 0 3 0x14200 bored softnet
17675 488841 0 0 3 0x14200 bored softnet
87151 103818 0 0 3 0x14200 bored softnet
68398 336549 0 0 3 0x14200 bored softnet
85752 83751 0 0 3 0x14200 bored systqmp
95635 417089 0 0 3 0x14200 bored systq
19311 99245 0 0 3 0x40014200 bored softclock
26241 227094 0 0 7 0x40014200 idle0
1 482749 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> trace
db_enter() at db_enter+0x20
openpic_ext_intr() at openpic_ext_intr+0x2dc
extint_call() at extint_call
--- interrupt ---
sched_idle(0) at sched_idle+0x220
proc_trampoline() at proc_trampoline+0x14
end trace frame: 0x0, count: -5
ddb{1}> show uvm
Current UVM status:
pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
500873 VM pages: 41189 active, 54370 inactive, 1 wired, 290060 free (36257
zero)
min 10% (25) anon, 10% (25) vnode, 5% (12) vtext
freemin=16695, free-target=22260, inactive-target=0, wired-max=166957
faults=204017991, traps=0, intrs=965836, ctxswitch=20663747 fpuswitch=2159352
softint=18443292, syscalls=286934149, kmapent=8
fault counts:
noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
ok relocks(total)=223437(224855), anget(retries)=140969817(0),
amapcopy=24337522
neighbor anon/obj pg=10564388/97555400, gets(lock/unlock)=35204783/225003
cases: anon=139483085, anoncow=1486732, obj=31061295, prcopy=4141922,
przero=27844957
daemon and swap counts:
woke=0, revs=0, scans=0, obscans=0, anscans=0
busy=0, freed=0, reactivate=0, deactivate=0
pageouts=0, pending=0, nswget=0
nswapdev=1
swpages=589823, swpginuse=0, swpgonly=0 paging=0
kernel pointers:
objs(kern)=0xaae9e8
ddb{1}> dmesg
[ using 1325124 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2022 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 7.2-current (GENERIC.MP) #0: Thu Nov 10 19:06:55 CET 2022
[email protected]:/usr/src/sys/arch/macppc/compile/GENERIC.MP
real mem = 2147483648 (2048MB)
avail mem = 2051473408 (1956MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: model PowerMac7,3
cpu0 at mainbus0: 970 (Revision 0x202): 1800 MHz
cpu1 at mainbus0: 970 (Revision 0x202): 1800 MHz
mem0 at mainbus0
spdmem0 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0
spdmem2 at mem0: 512MB DDR SDRAM non-parity PC3200CL2.5
spdmem3 at mem0: 512MB DDR SDRAM non-parity PC3200CL2.5
memc0 at mainbus0: u3 rev 0xb3
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
lmtemp0 at iic0 addr 0x4a: ds1775
maxtmp0 at iic0 addr 0x4c: max6690
maxtmp1 at iic0 addr 0x4e: max6690
"cy28508" at iic0 addr 0x69 not configured
"cy2213" at iic0 addr 0x65 not configured
fcu0 at iic0 addr 0xaf
"pca9556" at iic0 addr 0x18 not configured
adc0 at iic0 addr 0x2c: ad7417
"24256" at iic0 addr 0x50 not configured
"pca9556" at iic0 addr 0x19 not configured
adc1 at iic0 addr 0x2d: ad7417
"24256" at iic0 addr 0x51 not configured
"dart" at memc0 offset 0xf8033000 not configured
"mpic" at memc0 offset 0xf8040000 not configured
mpcpcibr0 at mainbus0 pci: u3-agp
pci0 at mpcpcibr0 bus 0
0:16:0: mem address conflict 0xb0000000/0x10000000
pchb0 at pci0 dev 11 function 0 "Apple U3 AGP" rev 0x00
appleagp0 at pchb0
agp0 at appleagp0: aperture at 0x0, size 0x10000000
radeondrm0 at pci0 dev 16 function 0 "ATI Radeon 9600" rev 0x00: can't reserve
framebuffer space
"ATI Radeon 9600 XT Sec" rev 0x00 at pci0 dev 16 function 1 not configured
ht0 at mainbus0: u3-ht, 6 devices
pci1 at ht0 bus 0
hpb0 at pci1 dev 1 function 0 "Apple U3" rev 0x00: 85 sources
pci2 at hpb0 bus 1
macobio0 at pci2 dev 7 function 0 "Apple K2 Macio" rev 0x60
openpic0 at macobio0 offset 0x40000: version 0x4614 feature 770302 LE
macgpio0 at macobio0 offset 0x50
"pmu-interrupt" at macgpio0 offset 0x9 not configured
"programmer-switch" at macgpio0 offset 0x11 not configured
"modem-reset" at macgpio0 offset 0x1d not configured
"modem-power" at macgpio0 offset 0x1e not configured
"fcu-interrupt" at macgpio0 offset 0x15 not configured
"fcu-hw-reset" at macgpio0 offset 0x3a not configured
"slewing-done" at macgpio0 offset 0x23 not configured
"codec-input-data-mux" at macgpio0 offset 0xb not configured
"line-input-detect" at macgpio0 offset 0xc not configured
"codec-error-irq" at macgpio0 offset 0xd not configured
"dig-hw-reset" at macgpio0 offset 0x14 not configured
"line-output-detect" at macgpio0 offset 0x16 not configured
"headphone-detect" at macgpio0 offset 0x17 not configured
"codec-irq" at macgpio0 offset 0x18 not configured
"headphone-mute" at macgpio0 offset 0x1f not configured
"amp-mute" at macgpio0 offset 0x20 not configured
"hw-reset" at macgpio0 offset 0x24 not configured
"line-output-mute" at macgpio0 offset 0x25 not configured
"codec-clock-mux" at macgpio0 offset 0x26 not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zs0 at macobio0 offset 0x13000: irq 22,23
zstty0 at zs0 channel 0: console
zstty1 at zs0 channel 1
kiic1 at macobio0 offset 0x18000
iic1 at kiic1
aoa0 at macobio0 offset 0x10000: irq 30,1,2
"timer" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000
apm0 at adb0: battery flags 0x9, 0% charged
piic0 at adb0
iic2 at piic0
"fans" at macobio0 offset 0x4c not configured
audio0 at aoa0
ohci0 at pci2 dev 8 function 0 "Apple K2 USB" rev 0x00: irq 27, version 1.0,
legacy support
ohci1 at pci2 dev 9 function 0 "Apple K2 USB" rev 0x00: irq 28, version 1.0,
legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Apple OHCI root hub" rev 1.00/1.00
addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Apple OHCI root hub" rev 1.00/1.00
addr 1
ppb0 at pci1 dev 2 function 0 "Apple U3" rev 0x00
pci3 at ppb0 bus 5
bwi0 at pci3 dev 1 function 0 "Broadcom BCM4306" rev 0x03: irq 57, address
00:16:cb:f7:9f:42
em0 at pci3 dev 4 function 0 "Intel 82546GB" rev 0x03: irq 54, address
00:1b:21:30:3c:50
em1 at pci3 dev 4 function 1 "Intel 82546GB" rev 0x03: irq 54, address
00:1b:21:30:3c:51
ohci2 at pci3 dev 11 function 0 "NEC USB" rev 0x43: irq 63, version 1.0
ohci3 at pci3 dev 11 function 1 "NEC USB" rev 0x43: irq 63, version 1.0
ehci0 at pci3 dev 11 function 2 "NEC USB" rev 0x04: irq 63
usb2 at ehci0: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "NEC EHCI root hub" rev 2.00/1.00
addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00
addr 1
usb4 at ohci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "NEC OHCI root hub" rev 1.00/1.00
addr 1
ppb1 at pci1 dev 3 function 0 "Apple U3" rev 0x00
pci4 at ppb1 bus 2
kauaiata0 at pci4 dev 13 function 0 "Apple K2 ATA" rev 0x00
wdc0 at kauaiata0 irq 39: DMA
atapiscsi0 at wdc0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <PIONEER, DVD-RW DVR-117D, B705> removable
cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
"Apple K2 Firewire" rev 0x00 at pci4 dev 14 function 0 not configured
ppb2 at pci1 dev 4 function 0 "Apple U3" rev 0x00
pci5 at ppb2 bus 3
gem0 at pci5 dev 15 function 0 "Apple K2 GMAC" rev 0x00: irq 41, address
00:0d:93:55:51:d2
brgphy0 at gem0 phy 1: BCM54K2 10/100/1000baseT PHY, rev. 0
ppb3 at pci1 dev 5 function 0 "Apple U3" rev 0x00
pci6 at ppb3 bus 4
pciide0 at pci6 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA
pciide0: using irq 0 for native-PCI interrupt
pciide0: port 0: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: <ST380013AS>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: port 1: PHY offline
pciide0: port 2: PHY offline
pciide0: port 3: PHY offline
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootpath: /ht/pci@5/k2-sata-root/k2-sata@0/disk@0:/bsd
root on wd0a (6102496318219727.a) swap on wd0b dump on wd0b