NetBSD Problem Report #59014

From www@netbsd.org  Mon Jan 20 18:58:36 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2F7101A923A
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 20 Jan 2025 18:58:36 +0000 (UTC)
Message-Id: <20250120185834.8B7421A923B@mollari.NetBSD.org>
Date: Mon, 20 Jan 2025 18:58:34 +0000 (UTC)
From: capa150@gmail.com
Reply-To: capa150@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Shutdown -r now often freezes on macppc b&w G3
X-Send-Pr-Version: www-1.0

>Number:         59014
>Category:       port-macppc
>Synopsis:       Shutdown -r now often freezes on macppc b&w G3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 20 19:00:00 +0000 2025
>Last-Modified:  Thu Feb 06 05:35:01 +0000 2025
>Originator:     Chris Tucker
>Release:        10.1
>Organization:
Self
>Environment:
NetBSD 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/macppc/compile/GENERIC macppc
>Description:
I am running 10.1 on a blue-and-white G3 Mac. I've been testing with a couple of repeated installs.

When I issue a "shutdown -r now" command, the system will state:

About to run shutdown hooks ...
Stopping cron.
Stopping inetd.

And then it hangs, requring me to press-and-hold the power button, or to press the Mac's reset button.

Sometimes the Mac shutds down properly:

About to run shutdown hooks ...
Stopping cron.
Stopping inetd.
Saved entropy to /var/db/entropy-file
Removing block-type swap devices
swapctl: removing /dev/wd0b as swap device
Thu Jan 16 14:55:35 UTC 2025

I was perusing the rc files and noted how shutdown apparently runs the scripts in /etc/rc.d in reverse order of rc on boot.

To narrow down the problem, I added an "echo" line in /etc/rc.shutdown:
for _rc_elem in $(reverse_list $files); do
        echo $_rc_elem      <--- I added this line
        run_rc_script $_rc_elem stop

Thus, when the shutdown completes successfully, I see the following output:

binky# shutdown -rv now
Shutdown NOW!
shutdown: [pid 2471]
binky#                                                                                
*** FINAL System shutdown message from chris@binky ***                       
System going down IMMEDIATELY                                                  
System shutdown time has arrived
About to run shutdown hooks...
/etc/rc.d/automount
/etc/rc.d/cron
Stopping cron.
/etc/rc.d/ftpd
/etc/rc.d/httpd
/etc/rc.d/identd
/etc/rc.d/inetd
Stopping inetd.
/etc/rc.d/mixerctl
/etc/rc.d/wsmoused
/etc/rc.d/local
/etc/rc.d/racoon
/etc/rc.d/ipfs
/etc/rc.d/downinterfaces
/etc/rc.d/altqd
/etc/rc.d/accounting
/etc/rc.d/random_seed
Saved entropy to /var/db/entropy-file.
/etc/rc.d/swap1
Removing block-type swap devices
swapctl: removing /dev/wd0b as swap device
/etc/rc.d/ccd
Sun Jan 19 14:23:13 UTC 2025
Done running shutdown hooks.
Connection to 10.0.0.251 closed by remote host.
Connection to 10.0.0.251 closed.

But when the shutdown freezes I get:

binky# shutdown -rv now
Shutdown NOW!
shutdown: [pid 584]
binky#                                                                                
*** FINAL System shutdown message from chris@binky ***                       
System going down IMMEDIATELY                                                  
System shutdown time has arrived
About to run shutdown hooks...
/etc/rc.d/automount
/etc/rc.d/cron
Stopping cron.
/etc/rc.d/ftpd
/etc/rc.d/httpd
/etc/rc.d/identd
/etc/rc.d/inetd
Stopping inetd.
/etc/rc.d/mixerctl
/etc/rc.d/wsmoused
/etc/rc.d/local
/etc/rc.d/racoon
/etc/rc.d/ipfs
/etc/rc.d/downinterfaces
/etc/rc.d/altqd
/etc/rc.d/accounting
/etc/rc.d/random_seed

It freezes at the "random_seed" section, as you can see.

I edited /etc/rc.d random_seed to echo the name of every function/subroutine called in the script. Within random_seed, the function "random_save" is the last one to print prior to freezing.

That section among other things calls rndctl, which I had noticed earlier caused my Mac to freeze when I issued a rndctl command via the command line.

Thus, I suspect the problem may be associated with rndctl.

I did a search on the PRs and found the following two reports that might be similar to mine:
https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55783
https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=58322

(BTW, I configured entropy during the install process using the load binary option, off a local ftp server hosting the requested file generated by the dd command stated on the entropy installer page, and that seemed to work correctly.)
>How-To-Repeat:
Issue shutdown -r now command a few times. Somtimes it works, sometimes it freezes.
>Fix:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Mon, 20 Jan 2025 20:40:36 +0100

 Can you show the output of

 	rndctl -l
 and
 	sysctl kern.entropy

 (run as root) on that machine?

 Martin

From: Chris Tucker <capa150@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Mon, 20 Jan 2025 12:03:39 -0800

 --0000000000005f6b41062c28c2b8
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 netbsd#  rndctl -l
 Source       Estimated bits    Samples Type   Flags
 /dev/random               0          0 ???    collect, v
 uhid5                     0          0 tty    collect, v, t
 uhid4                     0          0 tty    collect, v, t
 uhid3                     0          0 tty    collect, v, t
 uhid2                     0          0 tty    collect, v, t
 uhid1                     0          0 tty    collect, v, t
 uhid0                     0          0 tty    collect, v, t
 ums0                      0          0 tty    collect, v, t
 cd0                       0          0 disk   collect, v, t
 wd0                       0      14199 disk   collect, v, t
 ukbd0                     0       1481 tty    collect, v, t
 cpu0                      0       2940 vm     collect, v, t
 hardclock                 0       1101 skew   collect, t
 system-power              0          0 power  collect, v, t
 autoconf                  0        115 ???    collect, t
 seed                    256          1 ???    estimate, collect, v
 netbsd#

 netbsd# sysctl kern.entropy
 kern.entropy.collection =3D 1
 kern.entropy.depletion =3D 0
 kern.entropy.consolidate =3D 0
 kern.entropy.gather =3D 0
 kern.entropy.needed =3D 0
 kern.entropy.pending =3D 0
 kern.entropy.samplesneeded =3D 0
 kern.entropy.samplespending =3D 512
 kern.entropy.epoch =3D 9
 netbsd#

 On Mon, Jan 20, 2025 at 11:45=E2=80=AFAM Martin Husemann via gnats <
 gnats-admin@netbsd.org> wrote:

 > The following reply was made to PR port-macppc/59014; it has been noted b=
 y
 > GNATS.
 >
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc
 > b&w G3
 > Date: Mon, 20 Jan 2025 20:40:36 +0100
 >
 >  Can you show the output of
 >
 >         rndctl -l
 >  and
 >         sysctl kern.entropy
 >
 >  (run as root) on that machine?
 >
 >  Martin
 >
 >

 --0000000000005f6b41062c28c2b8
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: base64

 PGRpdiBkaXI9Imx0ciI+bmV0YnNkIyDCoHJuZGN0bCAtbDxicj5Tb3VyY2UgwqAgwqAgwqAgRXN0
 aW1hdGVkIGJpdHMgwqAgwqBTYW1wbGVzIFR5cGUgwqAgRmxhZ3M8YnI+L2Rldi9yYW5kb20gwqAg
 wqAgwqAgwqAgwqAgwqAgwqAgMCDCoCDCoCDCoCDCoCDCoDAgPz8/IMKgIMKgY29sbGVjdCwgdjxi
 cj51aGlkNSDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCAwIMKgIMKgIMKgIMKgIMKgMCB0
 dHkgwqAgwqBjb2xsZWN0LCB2LCB0PGJyPnVoaWQ0IMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKg
 IMKgIDAgwqAgwqAgwqAgwqAgwqAwIHR0eSDCoCDCoGNvbGxlY3QsIHYsIHQ8YnI+dWhpZDMgwqAg
 wqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgMCDCoCDCoCDCoCDCoCDCoDAgdHR5IMKgIMKgY29s
 bGVjdCwgdiwgdDxicj51aGlkMiDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCAwIMKgIMKg
 IMKgIMKgIMKgMCB0dHkgwqAgwqBjb2xsZWN0LCB2LCB0PGJyPnVoaWQxIMKgIMKgIMKgIMKgIMKg
 IMKgIMKgIMKgIMKgIMKgIDAgwqAgwqAgwqAgwqAgwqAwIHR0eSDCoCDCoGNvbGxlY3QsIHYsIHQ8
 YnI+dWhpZDAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgMCDCoCDCoCDCoCDCoCDCoDAg
 dHR5IMKgIMKgY29sbGVjdCwgdiwgdDxicj51bXMwIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKg
 IMKgIMKgMCDCoCDCoCDCoCDCoCDCoDAgdHR5IMKgIMKgY29sbGVjdCwgdiwgdDxicj5jZDAgwqAg
 wqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgMCDCoCDCoCDCoCDCoCDCoDAgZGlzayDCoCBj
 b2xsZWN0LCB2LCB0PGJyPndkMCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCAwIMKg
 IMKgIMKgMTQxOTkgZGlzayDCoCBjb2xsZWN0LCB2LCB0PGJyPnVrYmQwIMKgIMKgIMKgIMKgIMKg
 IMKgIMKgIMKgIMKgIMKgIDAgwqAgwqAgwqAgMTQ4MSB0dHkgwqAgwqBjb2xsZWN0LCB2LCB0PGJy
 PmNwdTAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAwIMKgIMKgIMKgIDI5NDAgdm0g
 wqAgwqAgY29sbGVjdCwgdiwgdDxicj5oYXJkY2xvY2sgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAg
 MCDCoCDCoCDCoCAxMTAxIHNrZXcgwqAgY29sbGVjdCwgdDxicj5zeXN0ZW0tcG93ZXIgwqAgwqAg
 wqAgwqAgwqAgwqAgwqAwIMKgIMKgIMKgIMKgIMKgMCBwb3dlciDCoGNvbGxlY3QsIHYsIHQ8YnI+
 YXV0b2NvbmYgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAwIMKgIMKgIMKgIMKgMTE1ID8/PyDC
 oCDCoGNvbGxlY3QsIHQ8YnI+c2VlZCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoCDCoDI1NiDC
 oCDCoCDCoCDCoCDCoDEgPz8/IMKgIMKgZXN0aW1hdGUsIGNvbGxlY3QsIHY8YnI+bmV0YnNkIzxk
 aXY+PGJyPjwvZGl2PjxkaXY+bmV0YnNkIyBzeXNjdGwga2Vybi5lbnRyb3B5PGJyPjwvZGl2Pmtl
 cm4uZW50cm9weS5jb2xsZWN0aW9uID0gMTxicj5rZXJuLmVudHJvcHkuZGVwbGV0aW9uID0gMDxi
 cj5rZXJuLmVudHJvcHkuY29uc29saWRhdGUgPSAwPGJyPmtlcm4uZW50cm9weS5nYXRoZXIgPSAw
 PGJyPmtlcm4uZW50cm9weS5uZWVkZWQgPSAwPGJyPmtlcm4uZW50cm9weS5wZW5kaW5nID0gMDxi
 cj5rZXJuLmVudHJvcHkuc2FtcGxlc25lZWRlZCA9IDA8YnI+a2Vybi5lbnRyb3B5LnNhbXBsZXNw
 ZW5kaW5nID0gNTEyPGJyPmtlcm4uZW50cm9weS5lcG9jaCA9IDk8YnI+bmV0YnNkI8KgPGJyPjwv
 ZGl2Pjxicj48ZGl2IGNsYXNzPSJnbWFpbF9xdW90ZSBnbWFpbF9xdW90ZV9jb250YWluZXIiPjxk
 aXYgZGlyPSJsdHIiIGNsYXNzPSJnbWFpbF9hdHRyIj5PbiBNb24sIEphbiAyMCwgMjAyNSBhdCAx
 MTo0NeKAr0FNIE1hcnRpbiBIdXNlbWFubiB2aWEgZ25hdHMgJmx0OzxhIGhyZWY9Im1haWx0bzpn
 bmF0cy1hZG1pbkBuZXRic2Qub3JnIj5nbmF0cy1hZG1pbkBuZXRic2Qub3JnPC9hPiZndDsgd3Jv
 dGU6PGJyPjwvZGl2PjxibG9ja3F1b3RlIGNsYXNzPSJnbWFpbF9xdW90ZSIgc3R5bGU9Im1hcmdp
 bjowcHggMHB4IDBweCAwLjhleDtib3JkZXItbGVmdC13aWR0aDoxcHg7Ym9yZGVyLWxlZnQtc3R5
 bGU6c29saWQ7Ym9yZGVyLWxlZnQtY29sb3I6cmdiKDIwNCwyMDQsMjA0KTtwYWRkaW5nLWxlZnQ6
 MWV4Ij5UaGUgZm9sbG93aW5nIHJlcGx5IHdhcyBtYWRlIHRvIFBSIHBvcnQtbWFjcHBjLzU5MDE0
 OyBpdCBoYXMgYmVlbiBub3RlZCBieSBHTkFUUy48YnI+DQo8YnI+DQpGcm9tOiBNYXJ0aW4gSHVz
 ZW1hbm4gJmx0OzxhIGhyZWY9Im1haWx0bzptYXJ0aW5AZHVza3dhcmUuZGUiIHRhcmdldD0iX2Js
 YW5rIj5tYXJ0aW5AZHVza3dhcmUuZGU8L2E+Jmd0Ozxicj4NClRvOiA8YSBocmVmPSJtYWlsdG86
 Z25hdHMtYnVnc0BuZXRic2Qub3JnIiB0YXJnZXQ9Il9ibGFuayI+Z25hdHMtYnVnc0BuZXRic2Qu
 b3JnPC9hPjxicj4NCkNjOiA8YnI+DQpTdWJqZWN0OiBSZTogcG9ydC1tYWNwcGMvNTkwMTQ6IFNo
 dXRkb3duIC1yIG5vdyBvZnRlbiBmcmVlemVzIG9uIG1hY3BwYyBiJmFtcDt3IEczPGJyPg0KRGF0
 ZTogTW9uLCAyMCBKYW4gMjAyNSAyMDo0MDozNiArMDEwMDxicj4NCjxicj4NCsKgQ2FuIHlvdSBz
 aG93IHRoZSBvdXRwdXQgb2Y8YnI+DQo8YnI+DQrCoCDCoCDCoCDCoCBybmRjdGwgLWw8YnI+DQrC
 oGFuZDxicj4NCsKgIMKgIMKgIMKgIHN5c2N0bCBrZXJuLmVudHJvcHk8YnI+DQo8YnI+DQrCoChy
 dW4gYXMgcm9vdCkgb24gdGhhdCBtYWNoaW5lPzxicj4NCjxicj4NCsKgTWFydGluPGJyPg0KPGJy
 Pg0KPC9ibG9ja3F1b3RlPjwvZGl2Pg0K
 --0000000000005f6b41062c28c2b8--

From: Taylor R Campbell <riastradh@NetBSD.org>
To: Chris Tucker <capa150@gmail.com>
Cc: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Mon, 20 Jan 2025 20:05:04 +0000

 > Date: Mon, 20 Jan 2025 18:58:34 +0000 (UTC)
 > From: capa150@gmail.com
 > 
 > That section among other things calls rndctl, which I had noticed
 > earlier caused my Mac to freeze when I issued a rndctl command via
 > the command line.

 1. What rndctl invocation causes this?  Can you share the output of
    `rndctl -l' (as root), if it doesn't freeze?

 2. Can you interact with it in any way when this happens, like
    entering ddb -- either with C-A-ESC, or by arranging in advance to
    do `sysctl -w hw.cnmagic="+++++"' and then typing `+++++' at the
    console?  If so, can you share the output of `bt', `ps', `ps/w' and
    `show all tstiles'?

 3. Can you get a crash dump?  (Can't remember if we support crash
    dumps on powerpc -- if not, we should.)

 4. Can you reset the machine -- hardware reset, rather than reboot or
    power off and back on?  If so, can you get dmesg from the previous
    boot when this happens?

From: Chris Tucker <capa150@gmail.com>
To: Taylor R Campbell <riastradh@netbsd.org>, gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Mon, 20 Jan 2025 12:22:26 -0800

 --0000000000007a7269062c29051b
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 1. What rndctl invocation causes this?  Can you share the output of
    `rndctl -l' (as root), if it doesn't freeze?

 I believe the freeze was using rndctl -L seed or rndctl -S seed. I just
 tried a series (10x) of rndctl -L seed commands using a seed generated
 saved from another machine and that worked fine.

 Then I tried rndctl -S seed2 one time and the machine froze both at the
 console and also on an ssh session connecting to the Mac from another
 machine.

 2. Can you interact with it in any way when this happens, like
    entering ddb -- either with C-A-ESC, or by arranging in advance to
    do `sysctl -w hw.cnmagic=3D"+++++"' and then typing `+++++' at the
    console?  If so, can you share the output of `bt', `ps', `ps/w' and
    `show all tstiles'?

 I was able to type at the console and see characters but there was no
 response otherwise.
 I tried ctrl-a-esc after it froze after typing rndctl -S seed2 and that did
 nothing. I'm not familiar with the sysctl request.

 3. Can you get a crash dump?  (Can't remember if we support crash
    dumps on powerpc -- if not, we should.)

 /var/crash shows one file, minfree, containing the text "1024" and nothing
 else.

 4. Can you reset the machine -- hardware reset, rather than reboot or
    power off and back on?  If so, can you get dmesg from the previous
    boot when this happens?

 Yes I can always do a hardware reset.
 dmesg from crash that resulted from rndctl -S seed2 is as follows:

 netbsd$ dmesg
 [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 2003,
 [     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
 2013,
 [     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022,
 2023,
 [     1.000000]     2024
 [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [     1.000000]     The Regents of the University of California.  All
 rights reserved.

 [     1.000000] NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024
 [     1.000000] mkrepro@mkrepro.NetBSD.org:
 /usr/src/sys/arch/macppc/compile/GENERIC
 [     1.000000] total memory =3D 256 MB
 [     1.000000] avail memory =3D 234 MB
 [     1.000000] timecounter: Timecounters tick every 10.000 msec
 [     1.000000] Kernelized RAIDframe activated
 [     1.000000] found heathrow PIC at 80800000
 [     1.000000] bootpath: /pci/@d/pci-ata@1/ata-4@0/disk@0:7,/netbsd
 [     1.000000] mainbus0 (root)
 [     1.000000] cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)
 [     1.000000] cpu0: HID0 0x8050c0a4<EMCP,NAP,DPM,ICE,DCE,SGE,BTIC,BHT>,
 powersave: 1
 [     1.000000] cpu0: 400.00 MHz, no-parity 1MB WT L2 cache (PB SRAM) at
 2:1 ratio
 [     1.000000] memory0 at mainbus0
 [     1.000000] grackle0 at mainbus0
 [     1.000000] pci0 at grackle0 bus 0
 [     1.000000] pci0: i/o space, memory space enabled
 [     1.000000] pchb0 at pci0 dev 0 function 0
 [     1.000000] pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
 [     1.000000] pchb0: L2 cache: 256K, uniprocessor/none mode
 [     1.000000] ppb0 at pci0 dev 13 function 0: Digital Equipment DC21154
 PCI-PCI Bridge (rev. 0x02)
 [     1.000000] pci1 at ppb0 bus 1
 [     1.000000] pci1: i/o space, memory space enabled
 [     1.000000] Texas Instruments TSB12LV21 IEEE 1394 Host Controller
 (IEEE1394 serial bus, Firewire, revision 0x02) at pci1 dev 0 function 0 not
 configured
 [     1.000000] cmdide0 at pci1 dev 1 function 0: CMD Technology PCI0646
 (rev. 0x07)
 [     1.000000] cmdide0: bus-master DMA support present
 [     1.000000] cmdide0: primary channel configured to native-PCI mode,
 channel non-independent
 [     1.000000] cmdide0: using irq 26 for native-PCI interrupt
 [     1.000000] atabus0 at cmdide0 channel 0
 [     1.000000] cmdide0: secondary channel configured to native-PCI mode,
 channel non-independent
 [     1.000000] cmdide0: secondary channel ignored (disabled)
 [     1.000000] ahc0 at pci1 dev 2 function 0: Adaptec 2902/04/10/15/20/30C
 SCSI adapter
 [     1.000000] ahc0: interrupting at irq 23
 [     1.000000] ahc0: aic7850: Ultra Single Channel A, SCSI Id=3D7, 3/253 S=
 CBs
 [     1.000000] scsibus0 at ahc0: 8 targets, 8 luns per target
 [     1.000000] obio0 at pci1 dev 5 function 0: addr 0x80800000
 [     1.000000] mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
 [     1.000000] scsibus1 at mesh0: 8 targets, 8 luns per target
 [     1.000000] zsc0 at obio0 irq 15,16
 [     1.000000] zstty0 at zsc0 channel 0
 [     1.000000] zstty1 at zsc0 channel 1
 [     1.000000] awacs0 at obio0 offset 0x14000: irq 17,8,9
 [     1.000000] awacs0: headphones
 [     1.000000] audio0 at awacs0: playback, capture, full duplex
 [     1.000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms)
 for playback
 [     1.000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms)
 for recording
 [     1.000000] spkr0 at audio0: PC Speaker (synthesized)
 [     1.000000] wsbell at spkr0 not configured
 [     1.000000] fdc at obio0 offset 0x15000 not configured
 [     1.000000] cuda0 at obio0 offset 0x16000 irq 18
 [     1.000000] nadb0 at cuda0: Apple Desktop Bus
 [     1.000000] iic0 at cuda0: I2C bus
 [     1.000000] wdc0 at obio0 offset 0x20000 irq 13, edge triggered: DMA
 transfer
 [     1.000000] atabus1 at wdc0 channel 0
 [     1.000000] bm0 at obio0 offset 0x11000 irq 42,33: address
 00:50:e4:50:6b:76
 [     1.000000] lxtphy0 at bm0 phy 0: LXT970 10/100 media interface, rev. 1
 [     1.000000] lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
 auto
 [     1.000000] nvram0 at obio0 offset 0x60000
 [     1.000000] ohci0 at pci1 dev 6 function 0: Opti 82C861 (rev. 0x10)
 [     1.000000] ohci0: interrupting at irq 28
 [     1.000000] ohci0: OHCI version 1.0, legacy support
 [     1.000000] usb0 at ohci0: USB revision 1.0
 [     1.000000] r128fb0 at pci0 dev 16 function 0: ATI Technologies Rage
 128 GL PCI (rev. 0x00)
 [     1.000000] r128fb0: 64 MB aperture at 0x84000000
 [     1.000000] wsdisplay0 at r128fb0 kbdmux 1: console (default, vt100
 emulation)
 [     1.000000] wsmux1: connecting to wsdisplay0
 [     1.000000] vmmask 7e7c0000 schedmask 7ffc0000 highmask 7ffc0000
 [     1.000000] WARNING: system needs entropy for security; see entropy(7)
 [     1.000000] timecounter: Timecounter "mftb" frequency 25000000 Hz
 quality 100
 [     1.000035] timecounter: Timecounter "clockinterrupt" frequency 100 Hz
 quality 0
 [     1.000035] scsibus0: waiting 2 seconds for devices to settle...
 [     1.000035] scsibus1: waiting 2 seconds for devices to settle...
 [     1.019983] IPsec: Initialized Security Association Processing.
 [     1.219974] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000),
 class 9/0, rev 1.00/1.00, addr 1
 [     1.219974] uhub0: 2 ports with 2 removable, self powered
 [     2.799981] uhub1 at uhub0 port 1: NEC (0x0409) hub (0x55ab), class
 9/0, rev 1.00/1.00, addr 2
 [     2.809985] uhub1: 4 ports with 4 removable, self powered
 [     3.719987] uhidev0 at uhub1 port 1 configuration 1 interface 0
 [     3.719987] uhidev0: Alps Electric (0x05ac) M2452 (0x0201), rev
 1.00/1.01, addr 3, iclass 3/1
 [     3.729989] ukbd0 at uhidev0: 8 Variable keys, 6 Array codes
 [     3.729989] wskbd0 at ukbd0: console keyboard, using wsdisplay0
 [     4.229988] wd0 at atabus0 drive 0
 [     4.239992] wd0: <IBM-DJSA-220>
 [     4.239992] wd0: drive supports 16-sector PIO transfers, LBA addressing
 [     4.239992] wd0: 11509 MB, 24944 cyl, 15 head, 63 sec, 512 bytes/sect x
 23572080 sectors
 [     4.299994] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode
 4 (Ultra/66)
 [     4.309992] wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 (Ultra/33) (using DMA)
 [     4.309992] atapibus0 at atabus1: 2 targets
 [     4.309992] uhidev1 at uhub1 port 2 configuration 1 interface 0
 [     4.309992] uhidev1: Microsoft (0x045e) MicrosoftM-BM-. Comfort Mouse
 4500 (0x076c), rev 2.00/0.83, addr 4, iclass 3/1
 [     4.309992] cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-M1912, ,
 TM00> cdrom removable
 [     4.309992] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode
 2 (Ultra/33)
 [     4.309992] cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
 [     4.329995] uhidev1: 28 report ids
 [     4.329995] ums0 at uhidev1 reportid 16: 5 buttons, W and Z dirs
 [     4.329995] wsmouse0 at ums0 mux 0
 [     4.329995] uhid0 at uhidev1 reportid 18: input=3D0, output=3D0, featur=
 e=3D1
 [     4.329995] uhid1 at uhidev1 reportid 19: input=3D1, output=3D0, featur=
 e=3D0
 [     4.329995] uhid2 at uhidev1 reportid 22: input=3D4, output=3D0, featur=
 e=3D0
 [     4.339992] uhid3 at uhidev1 reportid 23: input=3D0, output=3D0, featur=
 e=3D1
 [     4.339992] uhid4 at uhidev1 reportid 24: input=3D0, output=3D0, featur=
 e=3D1
 [     4.339992] uhid5 at uhidev1 reportid 28: input=3D1, output=3D0, featur=
 e=3D0
 [    11.080013] swwdog0: software watchdog initialized
 [    11.130016] boot device: wd0
 [    11.130016] root on wd0a dumps on wd0b
 [    11.150015] root file system type: ffs
 [    11.150015] kern.module.path=3D/stand/macppc/10.1/modules
 [    12.600043] entropy: best effort
 [    14.040044] entropy: ready
 [    75.380534] syncing disks... done
 [    75.390544] unmounting file systems...
 [    75.390544] unmounted ptyfs on /dev/pts type ptyfs
 [    75.620539] unmounted /dev/wd0a on / type ffs
 [    75.620539] unmounting done
 [    75.620539] turning off swap... done
 [    75.650538] rebooting

 [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 2003,
 [     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
 2013,
 [     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022,
 2023,
 [     1.000000]     2024
 [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [     1.000000]     The Regents of the University of California.  All
 rights reserved.

 [     1.000000] NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024
 [     1.000000] mkrepro@mkrepro.NetBSD.org:
 /usr/src/sys/arch/macppc/compile/GENERIC
 [     1.000000] total memory =3D 256 MB
 [     1.000000] avail memory =3D 234 MB
 [     1.000000] timecounter: Timecounters tick every 10.000 msec
 [     1.000000] Kernelized RAIDframe activated
 [     1.000000] found heathrow PIC at 80800000
 [     1.000000] bootpath: /pci/@d/pci-ata@1/ata-4@0/disk@0:7,/netbsd
 [     1.000000] mainbus0 (root)
 [     1.000000] cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)
 [     1.000000] cpu0: HID0 0x8050c0a4<EMCP,NAP,DPM,ICE,DCE,SGE,BTIC,BHT>,
 powersave: 1
 [     1.000000] cpu0: 400.00 MHz, no-parity 1MB WT L2 cache (PB SRAM) at
 2:1 ratio
 [     1.000000] memory0 at mainbus0
 [     1.000000] grackle0 at mainbus0
 [     1.000000] pci0 at grackle0 bus 0
 [     1.000000] pci0: i/o space, memory space enabled
 [     1.000000] pchb0 at pci0 dev 0 function 0
 [     1.000000] pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
 [     1.000000] pchb0: L2 cache: 256K, uniprocessor/none mode
 [     1.000000] ppb0 at pci0 dev 13 function 0: Digital Equipment DC21154
 PCI-PCI Bridge (rev. 0x02)
 [     1.000000] pci1 at ppb0 bus 1
 [     1.000000] pci1: i/o space, memory space enabled
 [     1.000000] Texas Instruments TSB12LV21 IEEE 1394 Host Controller
 (IEEE1394 serial bus, Firewire, revision 0x02) at pci1 dev 0 function 0 not
 configured
 [     1.000000] cmdide0 at pci1 dev 1 function 0: CMD Technology PCI0646
 (rev. 0x07)
 [     1.000000] cmdide0: bus-master DMA support present
 [     1.000000] cmdide0: primary channel configured to native-PCI mode,
 channel non-independent
 [     1.000000] cmdide0: using irq 26 for native-PCI interrupt
 [     1.000000] atabus0 at cmdide0 channel 0
 [     1.000000] cmdide0: secondary channel configured to native-PCI mode,
 channel non-independent
 [     1.000000] cmdide0: secondary channel ignored (disabled)
 [     1.000000] ahc0 at pci1 dev 2 function 0: Adaptec 2902/04/10/15/20/30C
 SCSI adapter
 [     1.000000] ahc0: interrupting at irq 23
 [     1.000000] ahc0: aic7850: Ultra Single Channel A, SCSI Id=3D7, 3/253 S=
 CBs
 [     1.000000] scsibus0 at ahc0: 8 targets, 8 luns per target
 [     1.000000] obio0 at pci1 dev 5 function 0: addr 0x80800000
 [     1.000000] mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
 [     1.000000] scsibus1 at mesh0: 8 targets, 8 luns per target
 [     1.000000] zsc0 at obio0 irq 15,16
 [     1.000000] zstty0 at zsc0 channel 0
 [     1.000000] zstty1 at zsc0 channel 1
 [     1.000000] awacs0 at obio0 offset 0x14000: irq 17,8,9
 [     1.000000] awacs0: headphones
 [     1.000000] audio0 at awacs0: playback, capture, full duplex
 [     1.000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms)
 for playback
 [     1.000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms)
 for recording
 [     1.000000] spkr0 at audio0: PC Speaker (synthesized)
 [     1.000000] wsbell at spkr0 not configured
 [     1.000000] fdc at obio0 offset 0x15000 not configured
 [     1.000000] cuda0 at obio0 offset 0x16000 irq 18
 [     1.000000] nadb0 at cuda0: Apple Desktop Bus
 [     1.000000] iic0 at cuda0: I2C bus
 [     1.000000] wdc0 at obio0 offset 0x20000 irq 13, edge triggered: DMA
 transfer
 [     1.000000] atabus1 at wdc0 channel 0
 [     1.000000] bm0 at obio0 offset 0x11000 irq 42,33: address
 00:50:e4:50:6b:76
 [     1.000000] lxtphy0 at bm0 phy 0: LXT970 10/100 media interface, rev. 1
 [     1.000000] lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
 auto
 [     1.000000] nvram0 at obio0 offset 0x60000
 [     1.000000] ohci0 at pci1 dev 6 function 0: Opti 82C861 (rev. 0x10)
 [     1.000000] ohci0: interrupting at irq 28
 [     1.000000] ohci0: OHCI version 1.0, legacy support
 [     1.000000] usb0 at ohci0: USB revision 1.0
 [     1.000000] r128fb0 at pci0 dev 16 function 0: ATI Technologies Rage
 128 GL PCI (rev. 0x00)
 [     1.000000] r128fb0: 64 MB aperture at 0x84000000
 [     1.000000] wsdisplay0 at r128fb0 kbdmux 1: console (default, vt100
 emulation)
 [     1.000000] wsmux1: connecting to wsdisplay0
 [     1.000000] vmmask 7e7c0000 schedmask 7ffc0000 highmask 7ffc0000
 [     1.000000] WARNING: system needs entropy for security; see entropy(7)
 [     1.000000] timecounter: Timecounter "mftb" frequency 25000000 Hz
 quality 100
 [     1.000035] timecounter: Timecounter "clockinterrupt" frequency 100 Hz
 quality 0
 [     1.000035] scsibus0: waiting 2 seconds for devices to settle...
 [     1.000035] scsibus1: waiting 2 seconds for devices to settle...
 [     1.019983] IPsec: Initialized Security Association Processing.
 [     1.219974] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000),
 class 9/0, rev 1.00/1.00, addr 1
 [     1.219974] uhub0: 2 ports with 2 removable, self powered
 [     2.799981] uhub1 at uhub0 port 1: NEC (0x0409) hub (0x55ab), class
 9/0, rev 1.00/1.00, addr 2
 [     2.809985] uhub1: 4 ports with 4 removable, self powered
 [     3.719987] uhidev0 at uhub1 port 1 configuration 1 interface 0
 [     3.719987] uhidev0: Alps Electric (0x05ac) M2452 (0x0201), rev
 1.00/1.01, addr 3, iclass 3/1
 [     3.729989] ukbd0 at uhidev0: 8 Variable keys, 6 Array codes
 [     3.729989] wskbd0 at ukbd0: console keyboard, using wsdisplay0
 [     4.229987] wd0 at atabus0 drive 0
 [     4.239992] wd0: <IBM-DJSA-220>
 [     4.239992] wd0: drive supports 16-sector PIO transfers, LBA addressing
 [     4.239992] wd0: 11509 MB, 24944 cyl, 15 head, 63 sec, 512 bytes/sect x
 23572080 sectors
 [     4.299994] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode
 4 (Ultra/66)
 [     4.309991] wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 (Ultra/33) (using DMA)
 [     4.309991] atapibus0 at atabus1: 2 targets
 [     4.309991] uhidev1 at uhub1 port 2 configuration 1 interface 0
 [     4.309991] uhidev1: Microsoft (0x045e) MicrosoftM-BM-. Comfort Mouse
 4500 (0x076c), rev 2.00/0.83, addr 4, iclass 3/1
 [     4.319993] cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-M1912, ,
 TM00> cdrom removable
 [     4.319993] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode
 2 (Ultra/33)
 [     4.319993] cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
 [     4.329990] uhidev1: 28 report ids
 [     4.329990] ums0 at uhidev1 reportid 16: 5 buttons, W and Z dirs
 [     4.329990] wsmouse0 at ums0 mux 0
 [     4.329990] uhid0 at uhidev1 reportid 18: input=3D0, output=3D0, featur=
 e=3D1
 [     4.329990] uhid1 at uhidev1 reportid 19: input=3D1, output=3D0, featur=
 e=3D0
 [     4.329990] uhid2 at uhidev1 reportid 22: input=3D4, output=3D0, featur=
 e=3D0
 [     4.339991] uhid3 at uhidev1 reportid 23: input=3D0, output=3D0, featur=
 e=3D1
 [     4.339991] uhid4 at uhidev1 reportid 24: input=3D0, output=3D0, featur=
 e=3D1
 [     4.339991] uhid5 at uhidev1 reportid 28: input=3D1, output=3D0, featur=
 e=3D0
 [    11.080013] swwdog0: software watchdog initialized
 [    11.130015] boot device: wd0
 [    11.130015] root on wd0a dumps on wd0b
 [    11.150015] root file system type: ffs
 [    11.150015] kern.module.path=3D/stand/macppc/10.1/modules
 [    12.630028] entropy: best effort
 [    14.070044] entropy: ready
 [    18.910096] wsdisplay0: screen 1 added (default, vt100 emulation)
 [    18.910096] wsdisplay0: screen 2 added (default, vt100 emulation)
 [    18.920094] wsdisplay0: screen 3 added (default, vt100 emulation)
 [    18.930097] wsdisplay0: screen 4 added (default, vt100 emulation)
 [     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 2003,
 [     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
 2013,
 [     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022,
 2023,
 [     1.000000]     2024
 [     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [     1.000000]     The Regents of the University of California.  All
 rights reserved.

 [     1.000000] NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024
 [     1.000000] mkrepro@mkrepro.NetBSD.org:
 /usr/src/sys/arch/macppc/compile/GENERIC
 [     1.000000] total memory =3D 256 MB
 [     1.000000] avail memory =3D 234 MB
 [     1.000000] timecounter: Timecounters tick every 10.000 msec
 [     1.000000] Kernelized RAIDframe activated
 [     1.000000] found heathrow PIC at 80800000
 [     1.000000] bootpath: /pci/@d/pci-ata@1/ata-4@0/disk@0:7,/netbsd
 [     1.000000] mainbus0 (root)
 [     1.000000] cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)
 [     1.000000] cpu0: HID0 0x8050c0a4<EMCP,NAP,DPM,ICE,DCE,SGE,BTIC,BHT>,
 powersave: 1
 [     1.000000] cpu0: 400.00 MHz, no-parity 1MB WT L2 cache (PB SRAM) at
 2:1 ratio
 [     1.000000] memory0 at mainbus0
 [     1.000000] grackle0 at mainbus0
 [     1.000000] pci0 at grackle0 bus 0
 [     1.000000] pci0: i/o space, memory space enabled
 [     1.000000] pchb0 at pci0 dev 0 function 0
 [     1.000000] pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
 [     1.000000] pchb0: L2 cache: 256K, uniprocessor/none mode
 [     1.000000] ppb0 at pci0 dev 13 function 0: Digital Equipment DC21154
 PCI-PCI Bridge (rev. 0x02)
 [     1.000000] pci1 at ppb0 bus 1
 [     1.000000] pci1: i/o space, memory space enabled
 [     1.000000] Texas Instruments TSB12LV21 IEEE 1394 Host Controller
 (IEEE1394 serial bus, Firewire, revision 0x02) at pci1 dev 0 function 0 not
 configured
 [     1.000000] cmdide0 at pci1 dev 1 function 0: CMD Technology PCI0646
 (rev. 0x07)
 [     1.000000] cmdide0: bus-master DMA support present
 [     1.000000] cmdide0: primary channel configured to native-PCI mode,
 channel non-independent
 [     1.000000] cmdide0: using irq 26 for native-PCI interrupt
 [     1.000000] atabus0 at cmdide0 channel 0
 [     1.000000] cmdide0: secondary channel configured to native-PCI mode,
 channel non-independent
 [     1.000000] cmdide0: secondary channel ignored (disabled)
 [     1.000000] ahc0 at pci1 dev 2 function 0: Adaptec 2902/04/10/15/20/30C
 SCSI adapter
 [     1.000000] ahc0: interrupting at irq 23
 [     1.000000] ahc0: aic7850: Ultra Single Channel A, SCSI Id=3D7, 3/253 S=
 CBs
 [     1.000000] scsibus0 at ahc0: 8 targets, 8 luns per target
 [     1.000000] obio0 at pci1 dev 5 function 0: addr 0x80800000
 [     1.000000] mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
 [     1.000000] scsibus1 at mesh0: 8 targets, 8 luns per target
 [     1.000000] zsc0 at obio0 irq 15,16
 [     1.000000] zstty0 at zsc0 channel 0
 [     1.000000] zstty1 at zsc0 channel 1
 [     1.000000] awacs0 at obio0 offset 0x14000: irq 17,8,9
 [     1.000000] awacs0: headphones
 [     1.000000] audio0 at awacs0: playback, capture, full duplex
 [     1.000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms)
 for playback
 [     1.000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms)
 for recording
 [     1.000000] spkr0 at audio0: PC Speaker (synthesized)
 [     1.000000] wsbell at spkr0 not configured
 [     1.000000] fdc at obio0 offset 0x15000 not configured
 [     1.000000] cuda0 at obio0 offset 0x16000 irq 18
 [     1.000000] nadb0 at cuda0: Apple Desktop Bus
 [     1.000000] iic0 at cuda0: I2C bus
 [     1.000000] wdc0 at obio0 offset 0x20000 irq 13, edge triggered: DMA
 transfer
 [     1.000000] atabus1 at wdc0 channel 0
 [     1.000000] bm0 at obio0 offset 0x11000 irq 42,33: address
 00:50:e4:50:6b:76
 [     1.000000] lxtphy0 at bm0 phy 0: LXT970 10/100 media interface, rev. 1
 [     1.000000] lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
 auto
 [     1.000000] nvram0 at obio0 offset 0x60000
 [     1.000000] ohci0 at pci1 dev 6 function 0: Opti 82C861 (rev. 0x10)
 [     1.000000] ohci0: interrupting at irq 28
 [     1.000000] ohci0: OHCI version 1.0, legacy support
 [     1.000000] usb0 at ohci0: USB revision 1.0
 [     1.000000] r128fb0 at pci0 dev 16 function 0: ATI Technologies Rage
 128 GL PCI (rev. 0x00)
 [     1.000000] r128fb0: 64 MB aperture at 0x84000000
 [     1.000000] wsdisplay0 at r128fb0 kbdmux 1: console (default, vt100
 emulation)
 [     1.000000] wsmux1: connecting to wsdisplay0
 [     1.000000] vmmask 7e7c0000 schedmask 7ffc0000 highmask 7ffc0000
 [     1.000000] WARNING: system needs entropy for security; see entropy(7)
 [     1.000000] timecounter: Timecounter "mftb" frequency 25000000 Hz
 quality 100
 [     1.000035] timecounter: Timecounter "clockinterrupt" frequency 100 Hz
 quality 0
 [     1.000035] scsibus0: waiting 2 seconds for devices to settle...
 [     1.000035] scsibus1: waiting 2 seconds for devices to settle...
 [     1.019983] IPsec: Initialized Security Association Processing.
 [     1.219974] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000),
 class 9/0, rev 1.00/1.00, addr 1
 [     1.219974] uhub0: 2 ports with 2 removable, self powered
 [     2.799981] uhub1 at uhub0 port 1: NEC (0x0409) hub (0x55ab), class
 9/0, rev 1.00/1.00, addr 2
 [     2.809985] uhub1: 4 ports with 4 removable, self powered
 [     3.719987] uhidev0 at uhub1 port 1 configuration 1 interface 0
 [     3.719987] uhidev0: Alps Electric (0x05ac) M2452 (0x0201), rev
 1.00/1.01, addr 3, iclass 3/1
 [     3.729989] ukbd0 at uhidev0: 8 Variable keys, 6 Array codes
 [     3.729989] wskbd0 at ukbd0: console keyboard, using wsdisplay0
 [     4.229988] wd0 at atabus0 drive 0
 [     4.239992] wd0: <IBM-DJSA-220>
 [     4.239992] wd0: drive supports 16-sector PIO transfers, LBA addressing
 [     4.239992] wd0: 11509 MB, 24944 cyl, 15 head, 63 sec, 512 bytes/sect x
 23572080 sectors
 [     4.299992] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode
 4 (Ultra/66)
 [     4.309994] wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 (Ultra/33) (using DMA)
 [     4.309994] atapibus0 at atabus1: 2 targets
 [     4.309994] uhidev1 at uhub1 port 2 configuration 1 interface 0
 [     4.309994] uhidev1: Microsoft (0x045e) MicrosoftM-BM-. Comfort Mouse
 4500 (0x076c), rev 2.00/0.83, addr 4, iclass 3/1
 [     4.309994] cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-M1912, ,
 TM00> cdrom removable
 [     4.309994] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode
 2 (Ultra/33)
 [     4.309994] cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
 [     4.329996] uhidev1: 28 report ids
 [     4.329996] ums0 at uhidev1 reportid 16: 5 buttons, W and Z dirs
 [     4.329996] wsmouse0 at ums0 mux 0
 [     4.329996] uhid0 at uhidev1 reportid 18: input=3D0, output=3D0, featur=
 e=3D1
 [     4.329996] uhid1 at uhidev1 reportid 19: input=3D1, output=3D0, featur=
 e=3D0
 [     4.329996] uhid2 at uhidev1 reportid 22: input=3D4, output=3D0, featur=
 e=3D0
 [     4.339991] uhid3 at uhidev1 reportid 23: input=3D0, output=3D0, featur=
 e=3D1
 [     4.339991] uhid4 at uhidev1 reportid 24: input=3D0, output=3D0, featur=
 e=3D1
 [     4.339991] uhid5 at uhidev1 reportid 28: input=3D1, output=3D0, featur=
 e=3D0
 [    11.090017] swwdog0: software watchdog initialized
 [    11.110014] boot device: wd0
 [    11.110014] root on wd0a dumps on wd0b
 [    11.130015] root file system type: ffs
 [    11.130015] kern.module.path=3D/stand/macppc/10.1/modules
 [    12.600032] entropy: best effort
 [    40.780234] entropy: ready
 [    55.610320] wsdisplay0: screen 1 added (default, vt100 emulation)
 [    55.620325] wsdisplay0: screen 2 added (default, vt100 emulation)
 [    55.630326] wsdisplay0: screen 3 added (default, vt100 emulation)
 [    55.640325] wsdisplay0: screen 4 added (default, vt100 emulation)
 netbsd$


 On Mon, Jan 20, 2025 at 12:05=E2=80=AFPM Taylor R Campbell <riastradh@netbs=
 d.org>
 wrote:

 > > Date: Mon, 20 Jan 2025 18:58:34 +0000 (UTC)
 > > From: capa150@gmail.com
 > >
 > > That section among other things calls rndctl, which I had noticed
 > > earlier caused my Mac to freeze when I issued a rndctl command via
 > > the command line.
 >
 > 1. What rndctl invocation causes this?  Can you share the output of
 >    `rndctl -l' (as root), if it doesn't freeze?
 >
 > 2. Can you interact with it in any way when this happens, like
 >    entering ddb -- either with C-A-ESC, or by arranging in advance to
 >    do `sysctl -w hw.cnmagic=3D"+++++"' and then typing `+++++' at the
 >    console?  If so, can you share the output of `bt', `ps', `ps/w' and
 >    `show all tstiles'?
 >
 > 3. Can you get a crash dump?  (Can't remember if we support crash
 >    dumps on powerpc -- if not, we should.)
 >
 > 4. Can you reset the machine -- hardware reset, rather than reboot or
 >    power off and back on?  If so, can you get dmesg from the previous
 >    boot when this happens?
 >

 --0000000000007a7269062c29051b
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr"><div>1. What rndctl invocation causes this?=C2=A0 Can you =
 share the output of<br>=C2=A0 =C2=A0`rndctl -l&#39; (as root), if it doesn&=
 #39;t freeze?<br></div><div><br></div>I believe the freeze was using rndctl=
  -L seed or rndctl -S seed. I just tried a series (10x) of rndctl -L seed c=
 ommands using a seed generated saved from another machine and that worked f=
 ine.<div><br></div><div>Then I tried rndctl -S seed2 one time and the machi=
 ne froze both at the console and also on an ssh session connecting to the M=
 ac from another machine.<br><div><br></div></div><div>2. Can you interact w=
 ith it in any way when this happens, like<br>=C2=A0 =C2=A0entering ddb -- e=
 ither with C-A-ESC, or by arranging in advance to<br>=C2=A0 =C2=A0do `sysct=
 l -w hw.cnmagic=3D&quot;+++++&quot;&#39; and then typing `+++++&#39; at the=
 <br>=C2=A0 =C2=A0console?=C2=A0 If so, can you share the output of `bt&#39;=
 , `ps&#39;, `ps/w&#39; and<br>=C2=A0 =C2=A0`show all tstiles&#39;?<br></div=
 ><div><br></div><div>I was able to type at the console and see characters b=
 ut there was no response otherwise.</div><div>I tried ctrl-a-esc after it f=
 roze after typing=C2=A0rndctl -S seed2 and that did nothing. I&#39;m not fa=
 miliar with the sysctl request.</div><div><br></div><div>3. Can you get a c=
 rash dump?=C2=A0 (Can&#39;t remember if we support crash<br>=C2=A0 =C2=A0du=
 mps on powerpc -- if not, we should.)<br></div><div><br></div><div>/var/cra=
 sh shows one file, minfree, containing the text &quot;1024&quot; and nothin=
 g else.</div><div><br></div><div>4. Can you reset the machine -- hardware r=
 eset, rather than reboot or<br>=C2=A0 =C2=A0power off and back on?=C2=A0 If=
  so, can you get dmesg from the previous<br>=C2=A0 =C2=A0boot when this hap=
 pens?<br></div><div><br></div><div>Yes I can always do a hardware reset.</d=
 iv><div>dmesg from crash that resulted from rndctl -S seed2 is as follows:<=
 /div><div><br></div><div>netbsd$ dmesg<br>[ =C2=A0 =C2=A0 1.000000] Copyrig=
 ht (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,<br>[ =C2=A0 =C2=A0 1=
 .000000] =C2=A0 =C2=A0 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012=
 , 2013,<br>[ =C2=A0 =C2=A0 1.000000] =C2=A0 =C2=A0 2014, 2015, 2016, 2017, =
 2018, 2019, 2020, 2021, 2022, 2023,<br>[ =C2=A0 =C2=A0 1.000000] =C2=A0 =C2=
 =A0 2024<br>[ =C2=A0 =C2=A0 1.000000] =C2=A0 =C2=A0 The NetBSD Foundation, =
 Inc.=C2=A0 All rights reserved.<br>[ =C2=A0 =C2=A0 1.000000] Copyright (c) =
 1982, 1986, 1989, 1991, 1993<br>[ =C2=A0 =C2=A0 1.000000] =C2=A0 =C2=A0 The=
  Regents of the University of California.=C2=A0 All rights reserved.<br><br=
 >[ =C2=A0 =C2=A0 1.000000] NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UT=
 C 2024<br>[ =C2=A0 =C2=A0 1.000000] 	mkrepro@mkrepro.NetBSD.org:/usr/src/sy=
 s/arch/macppc/compile/GENERIC<br>[ =C2=A0 =C2=A0 1.000000] total memory =3D=
  256 MB<br>[ =C2=A0 =C2=A0 1.000000] avail memory =3D 234 MB<br>[ =C2=A0 =
 =C2=A0 1.000000] timecounter: Timecounters tick every 10.000 msec<br>[ =C2=
 =A0 =C2=A0 1.000000] Kernelized RAIDframe activated<br>[ =C2=A0 =C2=A0 1.00=
 0000] found heathrow PIC at 80800000<br>[ =C2=A0 =C2=A0 1.000000] bootpath:=
  /pci/@d/pci-ata@1/ata-4@0/disk@0:7,/netbsd<br>[ =C2=A0 =C2=A0 1.000000] ma=
 inbus0 (root)<br>[ =C2=A0 =C2=A0 1.000000] cpu0 at mainbus0: 750 (Revision =
 2.2), ID 0 (primary)<br>[ =C2=A0 =C2=A0 1.000000] cpu0: HID0 0x8050c0a4&lt;=
 EMCP,NAP,DPM,ICE,DCE,SGE,BTIC,BHT&gt;, powersave: 1<br>[ =C2=A0 =C2=A0 1.00=
 0000] cpu0: 400.00 MHz, no-parity 1MB WT L2 cache (PB SRAM) at 2:1 ratio<br=
 >[ =C2=A0 =C2=A0 1.000000] memory0 at mainbus0<br>[ =C2=A0 =C2=A0 1.000000]=
  grackle0 at mainbus0<br>[ =C2=A0 =C2=A0 1.000000] pci0 at grackle0 bus 0<b=
 r>[ =C2=A0 =C2=A0 1.000000] pci0: i/o space, memory space enabled<br>[ =C2=
 =A0 =C2=A0 1.000000] pchb0 at pci0 dev 0 function 0<br>[ =C2=A0 =C2=A0 1.00=
 0000] pchb0: Motorola MPC106 &quot;Grackle&quot; Host Bridge (rev. 0x40)<br=
 >[ =C2=A0 =C2=A0 1.000000] pchb0: L2 cache: 256K, uniprocessor/none mode<br=
 >[ =C2=A0 =C2=A0 1.000000] ppb0 at pci0 dev 13 function 0: Digital Equipmen=
 t DC21154 PCI-PCI Bridge (rev. 0x02)<br>[ =C2=A0 =C2=A0 1.000000] pci1 at p=
 pb0 bus 1<br>[ =C2=A0 =C2=A0 1.000000] pci1: i/o space, memory space enable=
 d<br>[ =C2=A0 =C2=A0 1.000000] Texas Instruments TSB12LV21 IEEE 1394 Host C=
 ontroller (IEEE1394 serial bus, Firewire, revision 0x02) at pci1 dev 0 func=
 tion 0 not configured<br>[ =C2=A0 =C2=A0 1.000000] cmdide0 at pci1 dev 1 fu=
 nction 0: CMD Technology PCI0646 (rev. 0x07)<br>[ =C2=A0 =C2=A0 1.000000] c=
 mdide0: bus-master DMA support present<br>[ =C2=A0 =C2=A0 1.000000] cmdide0=
 : primary channel configured to native-PCI mode, channel non-independent<br=
 >[ =C2=A0 =C2=A0 1.000000] cmdide0: using irq 26 for native-PCI interrupt<b=
 r>[ =C2=A0 =C2=A0 1.000000] atabus0 at cmdide0 channel 0<br>[ =C2=A0 =C2=A0=
  1.000000] cmdide0: secondary channel configured to native-PCI mode, channe=
 l non-independent<br>[ =C2=A0 =C2=A0 1.000000] cmdide0: secondary channel i=
 gnored (disabled)<br>[ =C2=A0 =C2=A0 1.000000] ahc0 at pci1 dev 2 function =
 0: Adaptec 2902/04/10/15/20/30C SCSI adapter<br>[ =C2=A0 =C2=A0 1.000000] a=
 hc0: interrupting at irq 23<br>[ =C2=A0 =C2=A0 1.000000] ahc0: aic7850: Ult=
 ra Single Channel A, SCSI Id=3D7, 3/253 SCBs<br>[ =C2=A0 =C2=A0 1.000000] s=
 csibus0 at ahc0: 8 targets, 8 luns per target<br>[ =C2=A0 =C2=A0 1.000000] =
 obio0 at pci1 dev 5 function 0: addr 0x80800000<br>[ =C2=A0 =C2=A0 1.000000=
 ] mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7<br>[ =C2=A0 =C2=A0=
  1.000000] scsibus1 at mesh0: 8 targets, 8 luns per target<br>[ =C2=A0 =C2=
 =A0 1.000000] zsc0 at obio0 irq 15,16<br>[ =C2=A0 =C2=A0 1.000000] zstty0 a=
 t zsc0 channel 0<br>[ =C2=A0 =C2=A0 1.000000] zstty1 at zsc0 channel 1<br>[=
  =C2=A0 =C2=A0 1.000000] awacs0 at obio0 offset 0x14000: irq 17,8,9<br>[ =
 =C2=A0 =C2=A0 1.000000] awacs0: headphones<br>[ =C2=A0 =C2=A0 1.000000] aud=
 io0 at awacs0: playback, capture, full duplex<br>[ =C2=A0 =C2=A0 1.000000] =
 audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms) for playback<br>=
 [ =C2=A0 =C2=A0 1.000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes=
  (23.2ms) for recording<br>[ =C2=A0 =C2=A0 1.000000] spkr0 at audio0: PC Sp=
 eaker (synthesized)<br>[ =C2=A0 =C2=A0 1.000000] wsbell at spkr0 not config=
 ured<br>[ =C2=A0 =C2=A0 1.000000] fdc at obio0 offset 0x15000 not configure=
 d<br>[ =C2=A0 =C2=A0 1.000000] cuda0 at obio0 offset 0x16000 irq 18<br>[ =
 =C2=A0 =C2=A0 1.000000] nadb0 at cuda0: Apple Desktop Bus<br>[ =C2=A0 =C2=
 =A0 1.000000] iic0 at cuda0: I2C bus<br>[ =C2=A0 =C2=A0 1.000000] wdc0 at o=
 bio0 offset 0x20000 irq 13, edge triggered: DMA transfer<br>[ =C2=A0 =C2=A0=
  1.000000] atabus1 at wdc0 channel 0<br>[ =C2=A0 =C2=A0 1.000000] bm0 at ob=
 io0 offset 0x11000 irq 42,33: address 00:50:e4:50:6b:76<br>[ =C2=A0 =C2=A0 =
 1.000000] lxtphy0 at bm0 phy 0: LXT970 10/100 media interface, rev. 1<br>[ =
 =C2=A0 =C2=A0 1.000000] lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX=
 -FDX, auto<br>[ =C2=A0 =C2=A0 1.000000] nvram0 at obio0 offset 0x60000<br>[=
  =C2=A0 =C2=A0 1.000000] ohci0 at pci1 dev 6 function 0: Opti 82C861 (rev. =
 0x10)<br>[ =C2=A0 =C2=A0 1.000000] ohci0: interrupting at irq 28<br>[ =C2=
 =A0 =C2=A0 1.000000] ohci0: OHCI version 1.0, legacy support<br>[ =C2=A0 =
 =C2=A0 1.000000] usb0 at ohci0: USB revision 1.0<br>[ =C2=A0 =C2=A0 1.00000=
 0] r128fb0 at pci0 dev 16 function 0: ATI Technologies Rage 128 GL PCI (rev=
 . 0x00)<br>[ =C2=A0 =C2=A0 1.000000] r128fb0: 64 MB aperture at 0x84000000<=
 br>[ =C2=A0 =C2=A0 1.000000] wsdisplay0 at r128fb0 kbdmux 1: console (defau=
 lt, vt100 emulation)<br>[ =C2=A0 =C2=A0 1.000000] wsmux1: connecting to wsd=
 isplay0<br>[ =C2=A0 =C2=A0 1.000000] vmmask 7e7c0000 schedmask 7ffc0000 hig=
 hmask 7ffc0000<br>[ =C2=A0 =C2=A0 1.000000] WARNING: system needs entropy f=
 or security; see entropy(7)<br>[ =C2=A0 =C2=A0 1.000000] timecounter: Timec=
 ounter &quot;mftb&quot; frequency 25000000 Hz quality 100<br>[ =C2=A0 =C2=
 =A0 1.000035] timecounter: Timecounter &quot;clockinterrupt&quot; frequency=
  100 Hz quality 0<br>[ =C2=A0 =C2=A0 1.000035] scsibus0: waiting 2 seconds =
 for devices to settle...<br>[ =C2=A0 =C2=A0 1.000035] scsibus1: waiting 2 s=
 econds for devices to settle...<br>[ =C2=A0 =C2=A0 1.019983] IPsec: Initial=
 ized Security Association Processing.<br>[ =C2=A0 =C2=A0 1.219974] uhub0 at=
  usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, ad=
 dr 1<br>[ =C2=A0 =C2=A0 1.219974] uhub0: 2 ports with 2 removable, self pow=
 ered<br>[ =C2=A0 =C2=A0 2.799981] uhub1 at uhub0 port 1: NEC (0x0409) hub (=
 0x55ab), class 9/0, rev 1.00/1.00, addr 2<br>[ =C2=A0 =C2=A0 2.809985] uhub=
 1: 4 ports with 4 removable, self powered<br>[ =C2=A0 =C2=A0 3.719987] uhid=
 ev0 at uhub1 port 1 configuration 1 interface 0<br>[ =C2=A0 =C2=A0 3.719987=
 ] uhidev0: Alps Electric (0x05ac) M2452 (0x0201), rev 1.00/1.01, addr 3, ic=
 lass 3/1<br>[ =C2=A0 =C2=A0 3.729989] ukbd0 at uhidev0: 8 Variable keys, 6 =
 Array codes<br>[ =C2=A0 =C2=A0 3.729989] wskbd0 at ukbd0: console keyboard,=
  using wsdisplay0<br>[ =C2=A0 =C2=A0 4.229988] wd0 at atabus0 drive 0<br>[ =
 =C2=A0 =C2=A0 4.239992] wd0: &lt;IBM-DJSA-220&gt;<br>[ =C2=A0 =C2=A0 4.2399=
 92] wd0: drive supports 16-sector PIO transfers, LBA addressing<br>[ =C2=A0=
  =C2=A0 4.239992] wd0: 11509 MB, 24944 cyl, 15 head, 63 sec, 512 bytes/sect=
  x 23572080 sectors<br>[ =C2=A0 =C2=A0 4.299994] wd0: drive supports PIO mo=
 de 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)<br>[ =C2=A0 =C2=A0 4.309992] =
 wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)=
 <br>[ =C2=A0 =C2=A0 4.309992] atapibus0 at atabus1: 2 targets<br>[ =C2=A0 =
 =C2=A0 4.309992] uhidev1 at uhub1 port 2 configuration 1 interface 0<br>[ =
 =C2=A0 =C2=A0 4.309992] uhidev1: Microsoft (0x045e) MicrosoftM-BM-. Comfort=
  Mouse 4500 (0x076c), rev 2.00/0.83, addr 4, iclass 3/1<br>[ =C2=A0 =C2=A0 =
 4.309992] cd0 at atapibus0 drive 0: &lt;TOSHIBA DVD-ROM SD-M1912, , TM00&gt=
 ; cdrom removable<br>[ =C2=A0 =C2=A0 4.309992] cd0: drive supports PIO mode=
  4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)<br>[ =C2=A0 =C2=A0 4.309992] cd=
 0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA)<br>[ =C2=A0 =C2=A0 4.=
 329995] uhidev1: 28 report ids<br>[ =C2=A0 =C2=A0 4.329995] ums0 at uhidev1=
  reportid 16: 5 buttons, W and Z dirs<br>[ =C2=A0 =C2=A0 4.329995] wsmouse0=
  at ums0 mux 0<br>[ =C2=A0 =C2=A0 4.329995] uhid0 at uhidev1 reportid 18: i=
 nput=3D0, output=3D0, feature=3D1<br>[ =C2=A0 =C2=A0 4.329995] uhid1 at uhi=
 dev1 reportid 19: input=3D1, output=3D0, feature=3D0<br>[ =C2=A0 =C2=A0 4.3=
 29995] uhid2 at uhidev1 reportid 22: input=3D4, output=3D0, feature=3D0<br>=
 [ =C2=A0 =C2=A0 4.339992] uhid3 at uhidev1 reportid 23: input=3D0, output=
 =3D0, feature=3D1<br>[ =C2=A0 =C2=A0 4.339992] uhid4 at uhidev1 reportid 24=
 : input=3D0, output=3D0, feature=3D1<br>[ =C2=A0 =C2=A0 4.339992] uhid5 at =
 uhidev1 reportid 28: input=3D1, output=3D0, feature=3D0<br>[ =C2=A0 =C2=A01=
 1.080013] swwdog0: software watchdog initialized<br>[ =C2=A0 =C2=A011.13001=
 6] boot device: wd0<br>[ =C2=A0 =C2=A011.130016] root on wd0a dumps on wd0b=
 <br>[ =C2=A0 =C2=A011.150015] root file system type: ffs<br>[ =C2=A0 =C2=A0=
 11.150015] kern.module.path=3D/stand/macppc/10.1/modules<br>[ =C2=A0 =C2=A0=
 12.600043] entropy: best effort<br>[ =C2=A0 =C2=A014.040044] entropy: ready=
 <br>[ =C2=A0 =C2=A075.380534] syncing disks... done<br>[ =C2=A0 =C2=A075.39=
 0544] unmounting file systems...<br>[ =C2=A0 =C2=A075.390544] unmounted pty=
 fs on /dev/pts type ptyfs<br>[ =C2=A0 =C2=A075.620539] unmounted /dev/wd0a =
 on / type ffs<br>[ =C2=A0 =C2=A075.620539] unmounting done<br>[ =C2=A0 =C2=
 =A075.620539] turning off swap... done<br>[ =C2=A0 =C2=A075.650538] rebooti=
 ng<br><br>[ =C2=A0 =C2=A0 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2=
 000, 2001, 2002, 2003,<br>[ =C2=A0 =C2=A0 1.000000] =C2=A0 =C2=A0 2004, 200=
 5, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,<br>[ =C2=A0 =C2=A0 1.000=
 000] =C2=A0 =C2=A0 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 20=
 23,<br>[ =C2=A0 =C2=A0 1.000000] =C2=A0 =C2=A0 2024<br>[ =C2=A0 =C2=A0 1.00=
 0000] =C2=A0 =C2=A0 The NetBSD Foundation, Inc.=C2=A0 All rights reserved.<=
 br>[ =C2=A0 =C2=A0 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993<br>=
 [ =C2=A0 =C2=A0 1.000000] =C2=A0 =C2=A0 The Regents of the University of Ca=
 lifornia.=C2=A0 All rights reserved.<br><br>[ =C2=A0 =C2=A0 1.000000] NetBS=
 D 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024<br>[ =C2=A0 =C2=A0 1.0000=
 00] 	mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/macppc/compile/GENERIC<br=
 >[ =C2=A0 =C2=A0 1.000000] total memory =3D 256 MB<br>[ =C2=A0 =C2=A0 1.000=
 000] avail memory =3D 234 MB<br>[ =C2=A0 =C2=A0 1.000000] timecounter: Time=
 counters tick every 10.000 msec<br>[ =C2=A0 =C2=A0 1.000000] Kernelized RAI=
 Dframe activated<br>[ =C2=A0 =C2=A0 1.000000] found heathrow PIC at 8080000=
 0<br>[ =C2=A0 =C2=A0 1.000000] bootpath: /pci/@d/pci-ata@1/ata-4@0/disk@0:7=
 ,/netbsd<br>[ =C2=A0 =C2=A0 1.000000] mainbus0 (root)<br>[ =C2=A0 =C2=A0 1.=
 000000] cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)<br>[ =C2=A0 =
 =C2=A0 1.000000] cpu0: HID0 0x8050c0a4&lt;EMCP,NAP,DPM,ICE,DCE,SGE,BTIC,BHT=
 &gt;, powersave: 1<br>[ =C2=A0 =C2=A0 1.000000] cpu0: 400.00 MHz, no-parity=
  1MB WT L2 cache (PB SRAM) at 2:1 ratio<br>[ =C2=A0 =C2=A0 1.000000] memory=
 0 at mainbus0<br>[ =C2=A0 =C2=A0 1.000000] grackle0 at mainbus0<br>[ =C2=A0=
  =C2=A0 1.000000] pci0 at grackle0 bus 0<br>[ =C2=A0 =C2=A0 1.000000] pci0:=
  i/o space, memory space enabled<br>[ =C2=A0 =C2=A0 1.000000] pchb0 at pci0=
  dev 0 function 0<br>[ =C2=A0 =C2=A0 1.000000] pchb0: Motorola MPC106 &quot=
 ;Grackle&quot; Host Bridge (rev. 0x40)<br>[ =C2=A0 =C2=A0 1.000000] pchb0: =
 L2 cache: 256K, uniprocessor/none mode<br>[ =C2=A0 =C2=A0 1.000000] ppb0 at=
  pci0 dev 13 function 0: Digital Equipment DC21154 PCI-PCI Bridge (rev. 0x0=
 2)<br>[ =C2=A0 =C2=A0 1.000000] pci1 at ppb0 bus 1<br>[ =C2=A0 =C2=A0 1.000=
 000] pci1: i/o space, memory space enabled<br>[ =C2=A0 =C2=A0 1.000000] Tex=
 as Instruments TSB12LV21 IEEE 1394 Host Controller (IEEE1394 serial bus, Fi=
 rewire, revision 0x02) at pci1 dev 0 function 0 not configured<br>[ =C2=A0 =
 =C2=A0 1.000000] cmdide0 at pci1 dev 1 function 0: CMD Technology PCI0646 (=
 rev. 0x07)<br>[ =C2=A0 =C2=A0 1.000000] cmdide0: bus-master DMA support pre=
 sent<br>[ =C2=A0 =C2=A0 1.000000] cmdide0: primary channel configured to na=
 tive-PCI mode, channel non-independent<br>[ =C2=A0 =C2=A0 1.000000] cmdide0=
 : using irq 26 for native-PCI interrupt<br>[ =C2=A0 =C2=A0 1.000000] atabus=
 0 at cmdide0 channel 0<br>[ =C2=A0 =C2=A0 1.000000] cmdide0: secondary chan=
 nel configured to native-PCI mode, channel non-independent<br>[ =C2=A0 =C2=
 =A0 1.000000] cmdide0: secondary channel ignored (disabled)<br>[ =C2=A0 =C2=
 =A0 1.000000] ahc0 at pci1 dev 2 function 0: Adaptec 2902/04/10/15/20/30C S=
 CSI adapter<br>[ =C2=A0 =C2=A0 1.000000] ahc0: interrupting at irq 23<br>[ =
 =C2=A0 =C2=A0 1.000000] ahc0: aic7850: Ultra Single Channel A, SCSI Id=3D7,=
  3/253 SCBs<br>[ =C2=A0 =C2=A0 1.000000] scsibus0 at ahc0: 8 targets, 8 lun=
 s per target<br>[ =C2=A0 =C2=A0 1.000000] obio0 at pci1 dev 5 function 0: a=
 ddr 0x80800000<br>[ =C2=A0 =C2=A0 1.000000] mesh0 at obio0 offset 0x10000 i=
 rq 12: 50MHz, SCSI ID 7<br>[ =C2=A0 =C2=A0 1.000000] scsibus1 at mesh0: 8 t=
 argets, 8 luns per target<br>[ =C2=A0 =C2=A0 1.000000] zsc0 at obio0 irq 15=
 ,16<br>[ =C2=A0 =C2=A0 1.000000] zstty0 at zsc0 channel 0<br>[ =C2=A0 =C2=
 =A0 1.000000] zstty1 at zsc0 channel 1<br>[ =C2=A0 =C2=A0 1.000000] awacs0 =
 at obio0 offset 0x14000: irq 17,8,9<br>[ =C2=A0 =C2=A0 1.000000] awacs0: he=
 adphones<br>[ =C2=A0 =C2=A0 1.000000] audio0 at awacs0: playback, capture, =
 full duplex<br>[ =C2=A0 =C2=A0 1.000000] audio0: slinear_be:16 2ch 44100Hz,=
  blk 4096 bytes (23.2ms) for playback<br>[ =C2=A0 =C2=A0 1.000000] audio0: =
 slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms) for recording<br>[ =C2=
 =A0 =C2=A0 1.000000] spkr0 at audio0: PC Speaker (synthesized)<br>[ =C2=A0 =
 =C2=A0 1.000000] wsbell at spkr0 not configured<br>[ =C2=A0 =C2=A0 1.000000=
 ] fdc at obio0 offset 0x15000 not configured<br>[ =C2=A0 =C2=A0 1.000000] c=
 uda0 at obio0 offset 0x16000 irq 18<br>[ =C2=A0 =C2=A0 1.000000] nadb0 at c=
 uda0: Apple Desktop Bus<br>[ =C2=A0 =C2=A0 1.000000] iic0 at cuda0: I2C bus=
 <br>[ =C2=A0 =C2=A0 1.000000] wdc0 at obio0 offset 0x20000 irq 13, edge tri=
 ggered: DMA transfer<br>[ =C2=A0 =C2=A0 1.000000] atabus1 at wdc0 channel 0=
 <br>[ =C2=A0 =C2=A0 1.000000] bm0 at obio0 offset 0x11000 irq 42,33: addres=
 s 00:50:e4:50:6b:76<br>[ =C2=A0 =C2=A0 1.000000] lxtphy0 at bm0 phy 0: LXT9=
 70 10/100 media interface, rev. 1<br>[ =C2=A0 =C2=A0 1.000000] lxtphy0: 10b=
 aseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto<br>[ =C2=A0 =C2=A0 1.0000=
 00] nvram0 at obio0 offset 0x60000<br>[ =C2=A0 =C2=A0 1.000000] ohci0 at pc=
 i1 dev 6 function 0: Opti 82C861 (rev. 0x10)<br>[ =C2=A0 =C2=A0 1.000000] o=
 hci0: interrupting at irq 28<br>[ =C2=A0 =C2=A0 1.000000] ohci0: OHCI versi=
 on 1.0, legacy support<br>[ =C2=A0 =C2=A0 1.000000] usb0 at ohci0: USB revi=
 sion 1.0<br>[ =C2=A0 =C2=A0 1.000000] r128fb0 at pci0 dev 16 function 0: AT=
 I Technologies Rage 128 GL PCI (rev. 0x00)<br>[ =C2=A0 =C2=A0 1.000000] r12=
 8fb0: 64 MB aperture at 0x84000000<br>[ =C2=A0 =C2=A0 1.000000] wsdisplay0 =
 at r128fb0 kbdmux 1: console (default, vt100 emulation)<br>[ =C2=A0 =C2=A0 =
 1.000000] wsmux1: connecting to wsdisplay0<br>[ =C2=A0 =C2=A0 1.000000] vmm=
 ask 7e7c0000 schedmask 7ffc0000 highmask 7ffc0000<br>[ =C2=A0 =C2=A0 1.0000=
 00] WARNING: system needs entropy for security; see entropy(7)<br>[ =C2=A0 =
 =C2=A0 1.000000] timecounter: Timecounter &quot;mftb&quot; frequency 250000=
 00 Hz quality 100<br>[ =C2=A0 =C2=A0 1.000035] timecounter: Timecounter &qu=
 ot;clockinterrupt&quot; frequency 100 Hz quality 0<br>[ =C2=A0 =C2=A0 1.000=
 035] scsibus0: waiting 2 seconds for devices to settle...<br>[ =C2=A0 =C2=
 =A0 1.000035] scsibus1: waiting 2 seconds for devices to settle...<br>[ =C2=
 =A0 =C2=A0 1.019983] IPsec: Initialized Security Association Processing.<br=
 >[ =C2=A0 =C2=A0 1.219974] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x=
 0000), class 9/0, rev 1.00/1.00, addr 1<br>[ =C2=A0 =C2=A0 1.219974] uhub0:=
  2 ports with 2 removable, self powered<br>[ =C2=A0 =C2=A0 2.799981] uhub1 =
 at uhub0 port 1: NEC (0x0409) hub (0x55ab), class 9/0, rev 1.00/1.00, addr =
 2<br>[ =C2=A0 =C2=A0 2.809985] uhub1: 4 ports with 4 removable, self powere=
 d<br>[ =C2=A0 =C2=A0 3.719987] uhidev0 at uhub1 port 1 configuration 1 inte=
 rface 0<br>[ =C2=A0 =C2=A0 3.719987] uhidev0: Alps Electric (0x05ac) M2452 =
 (0x0201), rev 1.00/1.01, addr 3, iclass 3/1<br>[ =C2=A0 =C2=A0 3.729989] uk=
 bd0 at uhidev0: 8 Variable keys, 6 Array codes<br>[ =C2=A0 =C2=A0 3.729989]=
  wskbd0 at ukbd0: console keyboard, using wsdisplay0<br>[ =C2=A0 =C2=A0 4.2=
 29987] wd0 at atabus0 drive 0<br>[ =C2=A0 =C2=A0 4.239992] wd0: &lt;IBM-DJS=
 A-220&gt;<br>[ =C2=A0 =C2=A0 4.239992] wd0: drive supports 16-sector PIO tr=
 ansfers, LBA addressing<br>[ =C2=A0 =C2=A0 4.239992] wd0: 11509 MB, 24944 c=
 yl, 15 head, 63 sec, 512 bytes/sect x 23572080 sectors<br>[ =C2=A0 =C2=A0 4=
 .299994] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultr=
 a/66)<br>[ =C2=A0 =C2=A0 4.309991] wd0(cmdide0:0:0): using PIO mode 4, Ultr=
 a-DMA mode 2 (Ultra/33) (using DMA)<br>[ =C2=A0 =C2=A0 4.309991] atapibus0 =
 at atabus1: 2 targets<br>[ =C2=A0 =C2=A0 4.309991] uhidev1 at uhub1 port 2 =
 configuration 1 interface 0<br>[ =C2=A0 =C2=A0 4.309991] uhidev1: Microsoft=
  (0x045e) MicrosoftM-BM-. Comfort Mouse 4500 (0x076c), rev 2.00/0.83, addr =
 4, iclass 3/1<br>[ =C2=A0 =C2=A0 4.319993] cd0 at atapibus0 drive 0: &lt;TO=
 SHIBA DVD-ROM SD-M1912, , TM00&gt; cdrom removable<br>[ =C2=A0 =C2=A0 4.319=
 993] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33=
 )<br>[ =C2=A0 =C2=A0 4.319993] cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 =
 (using DMA)<br>[ =C2=A0 =C2=A0 4.329990] uhidev1: 28 report ids<br>[ =C2=A0=
  =C2=A0 4.329990] ums0 at uhidev1 reportid 16: 5 buttons, W and Z dirs<br>[=
  =C2=A0 =C2=A0 4.329990] wsmouse0 at ums0 mux 0<br>[ =C2=A0 =C2=A0 4.329990=
 ] uhid0 at uhidev1 reportid 18: input=3D0, output=3D0, feature=3D1<br>[ =C2=
 =A0 =C2=A0 4.329990] uhid1 at uhidev1 reportid 19: input=3D1, output=3D0, f=
 eature=3D0<br>[ =C2=A0 =C2=A0 4.329990] uhid2 at uhidev1 reportid 22: input=
 =3D4, output=3D0, feature=3D0<br>[ =C2=A0 =C2=A0 4.339991] uhid3 at uhidev1=
  reportid 23: input=3D0, output=3D0, feature=3D1<br>[ =C2=A0 =C2=A0 4.33999=
 1] uhid4 at uhidev1 reportid 24: input=3D0, output=3D0, feature=3D1<br>[ =
 =C2=A0 =C2=A0 4.339991] uhid5 at uhidev1 reportid 28: input=3D1, output=3D0=
 , feature=3D0<br>[ =C2=A0 =C2=A011.080013] swwdog0: software watchdog initi=
 alized<br>[ =C2=A0 =C2=A011.130015] boot device: wd0<br>[ =C2=A0 =C2=A011.1=
 30015] root on wd0a dumps on wd0b<br>[ =C2=A0 =C2=A011.150015] root file sy=
 stem type: ffs<br>[ =C2=A0 =C2=A011.150015] kern.module.path=3D/stand/macpp=
 c/10.1/modules<br>[ =C2=A0 =C2=A012.630028] entropy: best effort<br>[ =C2=
 =A0 =C2=A014.070044] entropy: ready<br>[ =C2=A0 =C2=A018.910096] wsdisplay0=
 : screen 1 added (default, vt100 emulation)<br>[ =C2=A0 =C2=A018.910096] ws=
 display0: screen 2 added (default, vt100 emulation)<br>[ =C2=A0 =C2=A018.92=
 0094] wsdisplay0: screen 3 added (default, vt100 emulation)<br>[ =C2=A0 =C2=
 =A018.930097] wsdisplay0: screen 4 added (default, vt100 emulation)<br>[ =
 =C2=A0 =C2=A0 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2=
 002, 2003,<br>[ =C2=A0 =C2=A0 1.000000] =C2=A0 =C2=A0 2004, 2005, 2006, 200=
 7, 2008, 2009, 2010, 2011, 2012, 2013,<br>[ =C2=A0 =C2=A0 1.000000] =C2=A0 =
 =C2=A0 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,<br>[ =C2=
 =A0 =C2=A0 1.000000] =C2=A0 =C2=A0 2024<br>[ =C2=A0 =C2=A0 1.000000] =C2=A0=
  =C2=A0 The NetBSD Foundation, Inc.=C2=A0 All rights reserved.<br>[ =C2=A0 =
 =C2=A0 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993<br>[ =C2=A0 =C2=
 =A0 1.000000] =C2=A0 =C2=A0 The Regents of the University of California.=C2=
 =A0 All rights reserved.<br><br>[ =C2=A0 =C2=A0 1.000000] NetBSD 10.1 (GENE=
 RIC) #0: Mon Dec 16 13:08:11 UTC 2024<br>[ =C2=A0 =C2=A0 1.000000] 	mkrepro=
 @mkrepro.NetBSD.org:/usr/src/sys/arch/macppc/compile/GENERIC<br>[ =C2=A0 =
 =C2=A0 1.000000] total memory =3D 256 MB<br>[ =C2=A0 =C2=A0 1.000000] avail=
  memory =3D 234 MB<br>[ =C2=A0 =C2=A0 1.000000] timecounter: Timecounters t=
 ick every 10.000 msec<br>[ =C2=A0 =C2=A0 1.000000] Kernelized RAIDframe act=
 ivated<br>[ =C2=A0 =C2=A0 1.000000] found heathrow PIC at 80800000<br>[ =C2=
 =A0 =C2=A0 1.000000] bootpath: /pci/@d/pci-ata@1/ata-4@0/disk@0:7,/netbsd<b=
 r>[ =C2=A0 =C2=A0 1.000000] mainbus0 (root)<br>[ =C2=A0 =C2=A0 1.000000] cp=
 u0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)<br>[ =C2=A0 =C2=A0 1.000=
 000] cpu0: HID0 0x8050c0a4&lt;EMCP,NAP,DPM,ICE,DCE,SGE,BTIC,BHT&gt;, powers=
 ave: 1<br>[ =C2=A0 =C2=A0 1.000000] cpu0: 400.00 MHz, no-parity 1MB WT L2 c=
 ache (PB SRAM) at 2:1 ratio<br>[ =C2=A0 =C2=A0 1.000000] memory0 at mainbus=
 0<br>[ =C2=A0 =C2=A0 1.000000] grackle0 at mainbus0<br>[ =C2=A0 =C2=A0 1.00=
 0000] pci0 at grackle0 bus 0<br>[ =C2=A0 =C2=A0 1.000000] pci0: i/o space, =
 memory space enabled<br>[ =C2=A0 =C2=A0 1.000000] pchb0 at pci0 dev 0 funct=
 ion 0<br>[ =C2=A0 =C2=A0 1.000000] pchb0: Motorola MPC106 &quot;Grackle&quo=
 t; Host Bridge (rev. 0x40)<br>[ =C2=A0 =C2=A0 1.000000] pchb0: L2 cache: 25=
 6K, uniprocessor/none mode<br>[ =C2=A0 =C2=A0 1.000000] ppb0 at pci0 dev 13=
  function 0: Digital Equipment DC21154 PCI-PCI Bridge (rev. 0x02)<br>[ =C2=
 =A0 =C2=A0 1.000000] pci1 at ppb0 bus 1<br>[ =C2=A0 =C2=A0 1.000000] pci1: =
 i/o space, memory space enabled<br>[ =C2=A0 =C2=A0 1.000000] Texas Instrume=
 nts TSB12LV21 IEEE 1394 Host Controller (IEEE1394 serial bus, Firewire, rev=
 ision 0x02) at pci1 dev 0 function 0 not configured<br>[ =C2=A0 =C2=A0 1.00=
 0000] cmdide0 at pci1 dev 1 function 0: CMD Technology PCI0646 (rev. 0x07)<=
 br>[ =C2=A0 =C2=A0 1.000000] cmdide0: bus-master DMA support present<br>[ =
 =C2=A0 =C2=A0 1.000000] cmdide0: primary channel configured to native-PCI m=
 ode, channel non-independent<br>[ =C2=A0 =C2=A0 1.000000] cmdide0: using ir=
 q 26 for native-PCI interrupt<br>[ =C2=A0 =C2=A0 1.000000] atabus0 at cmdid=
 e0 channel 0<br>[ =C2=A0 =C2=A0 1.000000] cmdide0: secondary channel config=
 ured to native-PCI mode, channel non-independent<br>[ =C2=A0 =C2=A0 1.00000=
 0] cmdide0: secondary channel ignored (disabled)<br>[ =C2=A0 =C2=A0 1.00000=
 0] ahc0 at pci1 dev 2 function 0: Adaptec 2902/04/10/15/20/30C SCSI adapter=
 <br>[ =C2=A0 =C2=A0 1.000000] ahc0: interrupting at irq 23<br>[ =C2=A0 =C2=
 =A0 1.000000] ahc0: aic7850: Ultra Single Channel A, SCSI Id=3D7, 3/253 SCB=
 s<br>[ =C2=A0 =C2=A0 1.000000] scsibus0 at ahc0: 8 targets, 8 luns per targ=
 et<br>[ =C2=A0 =C2=A0 1.000000] obio0 at pci1 dev 5 function 0: addr 0x8080=
 0000<br>[ =C2=A0 =C2=A0 1.000000] mesh0 at obio0 offset 0x10000 irq 12: 50M=
 Hz, SCSI ID 7<br>[ =C2=A0 =C2=A0 1.000000] scsibus1 at mesh0: 8 targets, 8 =
 luns per target<br>[ =C2=A0 =C2=A0 1.000000] zsc0 at obio0 irq 15,16<br>[ =
 =C2=A0 =C2=A0 1.000000] zstty0 at zsc0 channel 0<br>[ =C2=A0 =C2=A0 1.00000=
 0] zstty1 at zsc0 channel 1<br>[ =C2=A0 =C2=A0 1.000000] awacs0 at obio0 of=
 fset 0x14000: irq 17,8,9<br>[ =C2=A0 =C2=A0 1.000000] awacs0: headphones<br=
 >[ =C2=A0 =C2=A0 1.000000] audio0 at awacs0: playback, capture, full duplex=
 <br>[ =C2=A0 =C2=A0 1.000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 b=
 ytes (23.2ms) for playback<br>[ =C2=A0 =C2=A0 1.000000] audio0: slinear_be:=
 16 2ch 44100Hz, blk 4096 bytes (23.2ms) for recording<br>[ =C2=A0 =C2=A0 1.=
 000000] spkr0 at audio0: PC Speaker (synthesized)<br>[ =C2=A0 =C2=A0 1.0000=
 00] wsbell at spkr0 not configured<br>[ =C2=A0 =C2=A0 1.000000] fdc at obio=
 0 offset 0x15000 not configured<br>[ =C2=A0 =C2=A0 1.000000] cuda0 at obio0=
  offset 0x16000 irq 18<br>[ =C2=A0 =C2=A0 1.000000] nadb0 at cuda0: Apple D=
 esktop Bus<br>[ =C2=A0 =C2=A0 1.000000] iic0 at cuda0: I2C bus<br>[ =C2=A0 =
 =C2=A0 1.000000] wdc0 at obio0 offset 0x20000 irq 13, edge triggered: DMA t=
 ransfer<br>[ =C2=A0 =C2=A0 1.000000] atabus1 at wdc0 channel 0<br>[ =C2=A0 =
 =C2=A0 1.000000] bm0 at obio0 offset 0x11000 irq 42,33: address 00:50:e4:50=
 :6b:76<br>[ =C2=A0 =C2=A0 1.000000] lxtphy0 at bm0 phy 0: LXT970 10/100 med=
 ia interface, rev. 1<br>[ =C2=A0 =C2=A0 1.000000] lxtphy0: 10baseT, 10baseT=
 -FDX, 100baseTX, 100baseTX-FDX, auto<br>[ =C2=A0 =C2=A0 1.000000] nvram0 at=
  obio0 offset 0x60000<br>[ =C2=A0 =C2=A0 1.000000] ohci0 at pci1 dev 6 func=
 tion 0: Opti 82C861 (rev. 0x10)<br>[ =C2=A0 =C2=A0 1.000000] ohci0: interru=
 pting at irq 28<br>[ =C2=A0 =C2=A0 1.000000] ohci0: OHCI version 1.0, legac=
 y support<br>[ =C2=A0 =C2=A0 1.000000] usb0 at ohci0: USB revision 1.0<br>[=
  =C2=A0 =C2=A0 1.000000] r128fb0 at pci0 dev 16 function 0: ATI Technologie=
 s Rage 128 GL PCI (rev. 0x00)<br>[ =C2=A0 =C2=A0 1.000000] r128fb0: 64 MB a=
 perture at 0x84000000<br>[ =C2=A0 =C2=A0 1.000000] wsdisplay0 at r128fb0 kb=
 dmux 1: console (default, vt100 emulation)<br>[ =C2=A0 =C2=A0 1.000000] wsm=
 ux1: connecting to wsdisplay0<br>[ =C2=A0 =C2=A0 1.000000] vmmask 7e7c0000 =
 schedmask 7ffc0000 highmask 7ffc0000<br>[ =C2=A0 =C2=A0 1.000000] WARNING: =
 system needs entropy for security; see entropy(7)<br>[ =C2=A0 =C2=A0 1.0000=
 00] timecounter: Timecounter &quot;mftb&quot; frequency 25000000 Hz quality=
  100<br>[ =C2=A0 =C2=A0 1.000035] timecounter: Timecounter &quot;clockinter=
 rupt&quot; frequency 100 Hz quality 0<br>[ =C2=A0 =C2=A0 1.000035] scsibus0=
 : waiting 2 seconds for devices to settle...<br>[ =C2=A0 =C2=A0 1.000035] s=
 csibus1: waiting 2 seconds for devices to settle...<br>[ =C2=A0 =C2=A0 1.01=
 9983] IPsec: Initialized Security Association Processing.<br>[ =C2=A0 =C2=
 =A0 1.219974] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class =
 9/0, rev 1.00/1.00, addr 1<br>[ =C2=A0 =C2=A0 1.219974] uhub0: 2 ports with=
  2 removable, self powered<br>[ =C2=A0 =C2=A0 2.799981] uhub1 at uhub0 port=
  1: NEC (0x0409) hub (0x55ab), class 9/0, rev 1.00/1.00, addr 2<br>[ =C2=A0=
  =C2=A0 2.809985] uhub1: 4 ports with 4 removable, self powered<br>[ =C2=A0=
  =C2=A0 3.719987] uhidev0 at uhub1 port 1 configuration 1 interface 0<br>[ =
 =C2=A0 =C2=A0 3.719987] uhidev0: Alps Electric (0x05ac) M2452 (0x0201), rev=
  1.00/1.01, addr 3, iclass 3/1<br>[ =C2=A0 =C2=A0 3.729989] ukbd0 at uhidev=
 0: 8 Variable keys, 6 Array codes<br>[ =C2=A0 =C2=A0 3.729989] wskbd0 at uk=
 bd0: console keyboard, using wsdisplay0<br>[ =C2=A0 =C2=A0 4.229988] wd0 at=
  atabus0 drive 0<br>[ =C2=A0 =C2=A0 4.239992] wd0: &lt;IBM-DJSA-220&gt;<br>=
 [ =C2=A0 =C2=A0 4.239992] wd0: drive supports 16-sector PIO transfers, LBA =
 addressing<br>[ =C2=A0 =C2=A0 4.239992] wd0: 11509 MB, 24944 cyl, 15 head, =
 63 sec, 512 bytes/sect x 23572080 sectors<br>[ =C2=A0 =C2=A0 4.299992] wd0:=
  drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)<br>[ =
 =C2=A0 =C2=A0 4.309994] wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode =
 2 (Ultra/33) (using DMA)<br>[ =C2=A0 =C2=A0 4.309994] atapibus0 at atabus1:=
  2 targets<br>[ =C2=A0 =C2=A0 4.309994] uhidev1 at uhub1 port 2 configurati=
 on 1 interface 0<br>[ =C2=A0 =C2=A0 4.309994] uhidev1: Microsoft (0x045e) M=
 icrosoftM-BM-. Comfort Mouse 4500 (0x076c), rev 2.00/0.83, addr 4, iclass 3=
 /1<br>[ =C2=A0 =C2=A0 4.309994] cd0 at atapibus0 drive 0: &lt;TOSHIBA DVD-R=
 OM SD-M1912, , TM00&gt; cdrom removable<br>[ =C2=A0 =C2=A0 4.309994] cd0: d=
 rive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)<br>[ =C2=
 =A0 =C2=A0 4.309994] cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA=
 )<br>[ =C2=A0 =C2=A0 4.329996] uhidev1: 28 report ids<br>[ =C2=A0 =C2=A0 4.=
 329996] ums0 at uhidev1 reportid 16: 5 buttons, W and Z dirs<br>[ =C2=A0 =
 =C2=A0 4.329996] wsmouse0 at ums0 mux 0<br>[ =C2=A0 =C2=A0 4.329996] uhid0 =
 at uhidev1 reportid 18: input=3D0, output=3D0, feature=3D1<br>[ =C2=A0 =C2=
 =A0 4.329996] uhid1 at uhidev1 reportid 19: input=3D1, output=3D0, feature=
 =3D0<br>[ =C2=A0 =C2=A0 4.329996] uhid2 at uhidev1 reportid 22: input=3D4, =
 output=3D0, feature=3D0<br>[ =C2=A0 =C2=A0 4.339991] uhid3 at uhidev1 repor=
 tid 23: input=3D0, output=3D0, feature=3D1<br>[ =C2=A0 =C2=A0 4.339991] uhi=
 d4 at uhidev1 reportid 24: input=3D0, output=3D0, feature=3D1<br>[ =C2=A0 =
 =C2=A0 4.339991] uhid5 at uhidev1 reportid 28: input=3D1, output=3D0, featu=
 re=3D0<br>[ =C2=A0 =C2=A011.090017] swwdog0: software watchdog initialized<=
 br>[ =C2=A0 =C2=A011.110014] boot device: wd0<br>[ =C2=A0 =C2=A011.110014] =
 root on wd0a dumps on wd0b<br>[ =C2=A0 =C2=A011.130015] root file system ty=
 pe: ffs<br>[ =C2=A0 =C2=A011.130015] kern.module.path=3D/stand/macppc/10.1/=
 modules<br>[ =C2=A0 =C2=A012.600032] entropy: best effort<br>[ =C2=A0 =C2=
 =A040.780234] entropy: ready<br>[ =C2=A0 =C2=A055.610320] wsdisplay0: scree=
 n 1 added (default, vt100 emulation)<br>[ =C2=A0 =C2=A055.620325] wsdisplay=
 0: screen 2 added (default, vt100 emulation)<br>[ =C2=A0 =C2=A055.630326] w=
 sdisplay0: screen 3 added (default, vt100 emulation)<br>[ =C2=A0 =C2=A055.6=
 40325] wsdisplay0: screen 4 added (default, vt100 emulation)<br>netbsd$=C2=
 =A0<br></div><div><br></div></div><br><div class=3D"gmail_quote gmail_quote=
 _container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jan 20, 2025 at 1=
 2:05=E2=80=AFPM Taylor R Campbell &lt;<a href=3D"mailto:riastradh@netbsd.or=
 g">riastradh@netbsd.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
 quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-=
 style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">&gt; Date:=
  Mon, 20 Jan 2025 18:58:34 +0000 (UTC)<br>
 &gt; From: <a href=3D"mailto:capa150@gmail.com" target=3D"_blank">capa150@g=
 mail.com</a><br>
 &gt; <br>
 &gt; That section among other things calls rndctl, which I had noticed<br>
 &gt; earlier caused my Mac to freeze when I issued a rndctl command via<br>
 &gt; the command line.<br>
 <br>
 1. What rndctl invocation causes this?=C2=A0 Can you share the output of<br=
 >
 =C2=A0 =C2=A0`rndctl -l&#39; (as root), if it doesn&#39;t freeze?<br>
 <br>
 2. Can you interact with it in any way when this happens, like<br>
 =C2=A0 =C2=A0entering ddb -- either with C-A-ESC, or by arranging in advanc=
 e to<br>
 =C2=A0 =C2=A0do `sysctl -w hw.cnmagic=3D&quot;+++++&quot;&#39; and then typ=
 ing `+++++&#39; at the<br>
 =C2=A0 =C2=A0console?=C2=A0 If so, can you share the output of `bt&#39;, `p=
 s&#39;, `ps/w&#39; and<br>
 =C2=A0 =C2=A0`show all tstiles&#39;?<br>
 <br>
 3. Can you get a crash dump?=C2=A0 (Can&#39;t remember if we support crash<=
 br>
 =C2=A0 =C2=A0dumps on powerpc -- if not, we should.)<br>
 <br>
 4. Can you reset the machine -- hardware reset, rather than reboot or<br>
 =C2=A0 =C2=A0power off and back on?=C2=A0 If so, can you get dmesg from the=
  previous<br>
 =C2=A0 =C2=A0boot when this happens?<br>
 </blockquote></div>

 --0000000000007a7269062c29051b--

From: Chris Tucker <capa150@gmail.com>
To: Taylor R Campbell <riastradh@netbsd.org>, gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Mon, 20 Jan 2025 12:50:18 -0800

 --00000000000023f558062c296994
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 Perhaps I am doing this wrong?

 netbsd# sysctl -w hw.cnmagic=3D"+++++"
 hw.cnmagic:  -> \x2b\x2b\x2b\x2b\x2b
 netbsd# +++++
 sh: +++++: not found
 netbsd#


 On Mon, Jan 20, 2025 at 12:45=E2=80=AFPM Taylor R Campbell <riastradh@netbs=
 d.org>
 wrote:

 > > Date: Mon, 20 Jan 2025 12:33:41 -0800
 > > From: Chris Tucker <capa150@gmail.com>
 > >
 > > 2. Can you interact with it in any way when this happens, like
 > >    entering ddb -- either with C-A-ESC, or by arranging in advance to
 > >    do `sysctl -w hw.cnmagic=3D"+++++"' and then typing `+++++' at the
 > >    console?  If so, can you share the output of `bt', `ps', `ps/w' and
 > >    `show all tstiles'?
 > >
 > > netbsd# sysctl -w hw.cnmagic=3D"+++++"
 > > hw.magic:  -> \x2b\x2b\x2b\x2b\x2b
 >
 > Can you try just typing `+++++' after you've done this, to verify it
 > works at all?  That is, without any rndctl involved.  (If it doesn't,
 > we should find another way to reliably enter ddb!)
 >

 --00000000000023f558062c296994
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr"><div dir=3D"ltr"><br></div>Perhaps I am doing this wrong?<=
 div><br></div><div>netbsd# sysctl -w hw.cnmagic=3D&quot;+++++&quot;<br>hw.c=
 nmagic: =C2=A0-&gt; \x2b\x2b\x2b\x2b\x2b<br>netbsd# +++++<br>sh: +++++: not=
  found<br>netbsd#</div><div><br></div><div>=C2=A0<br><div class=3D"gmail_qu=
 ote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Ja=
 n 20, 2025 at 12:45=E2=80=AFPM Taylor R Campbell &lt;<a href=3D"mailto:rias=
 tradh@netbsd.org">riastradh@netbsd.org</a>&gt; wrote:<br></div><blockquote =
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1=
 px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:=
 1ex">&gt; Date: Mon, 20 Jan 2025 12:33:41 -0800<br>
 &gt; From: Chris Tucker &lt;<a href=3D"mailto:capa150@gmail.com" target=3D"=
 _blank">capa150@gmail.com</a>&gt;<br>
 &gt; <br>
 &gt; 2. Can you interact with it in any way when this happens, like<br>
 &gt;=C2=A0 =C2=A0 entering ddb -- either with C-A-ESC, or by arranging in a=
 dvance to<br>
 &gt;=C2=A0 =C2=A0 do `sysctl -w hw.cnmagic=3D&quot;+++++&quot;&#39; and the=
 n typing `+++++&#39; at the<br>
 &gt;=C2=A0 =C2=A0 console?=C2=A0 If so, can you share the output of `bt&#39=
 ;, `ps&#39;, `ps/w&#39; and<br>
 &gt;=C2=A0 =C2=A0 `show all tstiles&#39;?<br>
 &gt; <br>
 &gt; netbsd# sysctl -w hw.cnmagic=3D&quot;+++++&quot;<br>
 &gt; hw.magic:=C2=A0 -&gt; \x2b\x2b\x2b\x2b\x2b<br>
 <br>
 Can you try just typing `+++++&#39; after you&#39;ve done this, to verify i=
 t<br>
 works at all?=C2=A0 That is, without any rndctl involved.=C2=A0 (If it does=
 n&#39;t,<br>
 we should find another way to reliably enter ddb!)<br>
 </blockquote></div></div></div>

 --00000000000023f558062c296994--

From: Chris Tucker <capa150@gmail.com>
To: Taylor R Campbell <riastradh@netbsd.org>, gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Mon, 20 Jan 2025 13:17:32 -0800

 --00000000000089e25f062c29ca49
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 netbsd# sysctl -w debug.crashme_enable=3D1
 debug.crashme_enable: 0 -> 1
 netbsd# sysctl -w debug.crashme.ddb=3D1
 [ 175.2812692] crashme_sysctl_forwarder:201: invoking "ddb" (ender ddb
 directly)
 Stopped in pid 2126.2126 (sysctl) at  netbsd:crashme_ddb+0x10:    1wz
 ro, 0x14(r1)
 db>

 On Mon, Jan 20, 2025 at 1:09=E2=80=AFPM Taylor R Campbell <riastradh@netbsd=
 .org>
 wrote:

 > > Date: Mon, 20 Jan 2025 12:50:18 -0800
 > > From: Chris Tucker <capa150@gmail.com>
 > >
 > > Perhaps I am doing this wrong?
 > >
 > > netbsd# sysctl -w hw.cnmagic=3D"+++++"
 > > hw.cnmagic:  -> \x2b\x2b\x2b\x2b\x2b
 > > netbsd# +++++
 > > sh: +++++: not found
 > > netbsd#
 >
 > Can you try with this, to make sure ddb works at all?
 >
 > sysctl -w debug.crashme_enable=3D1
 > sysctl -w debug.crashme.ddb=3D1
 >
 > (You can type `continue' at the ddb prompt when done, if it works.)
 >
 > If that works, then we have to figure out what's wrong with the
 > cnmagic trigger.  If that doesn't work, then we have to figure out
 > what's wrong with ddb.
 >

 --00000000000089e25f062c29ca49
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr">netbsd# sysctl -w debug.crashme_enable=3D1<br>debug.crashm=
 e_enable: 0 -&gt; 1<br>netbsd# sysctl -w debug.crashme.ddb=3D1<br><div>[ 17=
 5.2812692] crashme_sysctl_forwarder:201: invoking &quot;ddb&quot; (ender dd=
 b directly)</div><div>Stopped in pid 2126.2126 (sysctl) at =C2=A0netbsd:cra=
 shme_ddb+0x10: =C2=A0 =C2=A01wz</div><div>ro, 0x14(r1)</div><div>db&gt;=C2=
 =A0</div></div><br><div class=3D"gmail_quote gmail_quote_container"><div di=
 r=3D"ltr" class=3D"gmail_attr">On Mon, Jan 20, 2025 at 1:09=E2=80=AFPM Tayl=
 or R Campbell &lt;<a href=3D"mailto:riastradh@netbsd.org">riastradh@netbsd.=
 org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg=
 in:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-l=
 eft-color:rgb(204,204,204);padding-left:1ex">&gt; Date: Mon, 20 Jan 2025 12=
 :50:18 -0800<br>
 &gt; From: Chris Tucker &lt;<a href=3D"mailto:capa150@gmail.com" target=3D"=
 _blank">capa150@gmail.com</a>&gt;<br>
 &gt; <br>
 &gt; Perhaps I am doing this wrong?<br>
 &gt; <br>
 &gt; netbsd# sysctl -w hw.cnmagic=3D&quot;+++++&quot;<br>
 &gt; hw.cnmagic:=C2=A0 -&gt; \x2b\x2b\x2b\x2b\x2b<br>
 &gt; netbsd# +++++<br>
 &gt; sh: +++++: not found<br>
 &gt; netbsd#<br>
 <br>
 Can you try with this, to make sure ddb works at all?<br>
 <br>
 sysctl -w debug.crashme_enable=3D1<br>
 sysctl -w debug.crashme.ddb=3D1<br>
 <br>
 (You can type `continue&#39; at the ddb prompt when done, if it works.)<br>
 <br>
 If that works, then we have to figure out what&#39;s wrong with the<br>
 cnmagic trigger.=C2=A0 If that doesn&#39;t work, then we have to figure out=
 <br>
 what&#39;s wrong with ddb.<br>
 </blockquote></div>

 --00000000000089e25f062c29ca49--

From: Martin Husemann <martin@duskware.de>
To: Taylor R Campbell <riastradh@NetBSD.org>
Cc: Chris Tucker <capa150@gmail.com>, gnats-bugs@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Tue, 21 Jan 2025 07:41:40 +0100

 On Mon, Jan 20, 2025 at 08:05:04PM +0000, Taylor R Campbell wrote:
 > 3. Can you get a crash dump?  (Can't remember if we support crash
 >    dumps on powerpc -- if not, we should.)

 I don't think ppc crash dumps work.

 Martin

From: Taylor R Campbell <riastradh@NetBSD.org>
To: Chris Tucker <capa150@gmail.com>
Cc: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Tue, 21 Jan 2025 07:54:39 +0000

 > Date: Mon, 20 Jan 2025 12:22:26 -0800
 > From: Chris Tucker <capa150@gmail.com>
 > 
 > I was able to type at the console and see characters but there was no
 > response otherwise.

 Huh, so the console is responsive and echoing input, which suggests
 it's still in userland.  Can you type ^T when this happens?  What does
 it say when you do that?

 Can you run rndctl in the background, and either start up crash(8)
 (userland version of ddb that can examine a live kernel, doesn't crash
 your system) or enter ddb with `sysctl -w debug.crashme_enable=1' and
 `sysctl -w debug.crashme.ddb=1'?

 If so, at the crash or ddb prompt, can you get the output of these
 commands?

 ps
 ps/w
 show all tstiles
 bt/t 0t$PID          where $PID is the pid in decimal of rndctl

From: Chris Tucker <capa150@gmail.com>
To: Taylor R Campbell <riastradh@netbsd.org>, gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Tue, 21 Jan 2025 11:25:31 -0800

 --000000000000c4e20d062c3c571d
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 On Mon, Jan 20, 2025 at 11:55=E2=80=AFPM Taylor R Campbell <riastradh@netbs=
 d.org>
 wrote:

 > > Date: Mon, 20 Jan 2025 12:22:26 -0800
 > > From: Chris Tucker <capa150@gmail.com>
 > >
 > > I was able to type at the console and see characters but there was no
 > > response otherwise.
 >
 > Huh, so the console is responsive and echoing input, which suggests
 > it's still in userland.  Can you type ^T when this happens?  What does
 > it say when you do that?
 >

 netbsd# rndctl -S seed2   (works)
 netbsd# rndctl -S seed2   (works)
 netbsd# rndctl -S seed2   (works)
 netbsd# rndctl -S seed2   (freezes, and I press ctrl-t)
 [ 139.8510292] load: 0.42  cmd: rndctl 633 [biowait] 0.01u 0.00s 0% 1424k


 > Can you run rndctl in the background, and either start up crash(8)
 > (userland version of ddb that can examine a live kernel, doesn't crash
 > your system) or enter ddb with `sysctl -w debug.crashme_enable=3D1' and
 > `sysctl -w debug.crashme.ddb=3D1'?
 >
 > If so, at the crash or ddb prompt, can you get the output of these
 > commands?
 >
 > ps
 > ps/w
 > show all tstiles
 > bt/t 0t$PID          where $PID is the pid in decimal of rndctl
 >

 NOTE: photographs of my display to verify my typing:
 https://i.ibb.co/7vnbHvL/pr59014.jpg

 netbsd# rndctl -S seed2 & (couldn't' tell you if this command froze or not)
 netbsd# sysctl -w debug.crashme_enable=3D1
 debug.crashme_enable: 0 -> 1
 netbsd# sysctl -w debug.crashme.ddb=3D1
 [ 206.2935173] crashme_sysctl_forwarder:201: invoking "ddb" (enter ddb
 directly)
 Stopped in pid 3603.3603 (sysctl) at netbsd: crashme_ddb+0x10: lwz
 r0, 0x14(r1)
 db> ps
 PID LID S CPU FLAGS STRUCT LWP * NAME WAIT
 3603 > 3603 7 0 0 ef43940 sysctl
 3288 3288 3 0 0 e2d5680 rndctl biowait
 3018 3018 3 0 180 f1fbd00 sh wait
 4027 4027 3 0 180 e2d5080 sh wait
 3170 3170 3 0 180 ef43c40 sshd poll
 3936 3936 3 0 180 fb3a380 sshd poll
 2207 2207 3 0 180 fb3a080 sh ttyraw
 1486 1486 3 0 180 f1fb400 getty ttyraw
 2100 2100 3 0 180 f10940 getty ttyraw
 1730 1730 3 0 180 f10c40 getty ttyraw
 1323 1323 3 0 180 ffa700 getty ttyraw
 2465 2465 3 0 180 f1fb100 login wait
 1590 1590 3 0 180 ef43040 cron nanoslp
 1366 1366 3 0 180 ef43640 inetd kqueue
 1609 1609 3 0 180 fafb700 qmgr kqueue
 2077 2077 3 0 180 fb3a980 pickup kqueue
 2211 2211 3 0 180 e2d5380 master kqueue
 848 848 3 0 180 f1fba00 sshd poll
 440 440 3 0 180 fb3a680 powerd kqueue
 429 429 3 0 0 fd79cc0 makemandb biowait
 1116 1116 3 0 180 fd799c0 syslogd kqueue
 570 570 3 0 180 fd796c0 dhcpcd poll
 560 560 3 0 180 fd793c0 dhcpcd poll
 572 572 3 0 180 fb3ac80 dhcpcd poll
 501 501 3 0 180 fd790c0 dhcpcd poll
 1 1 3 0 180 f74700 init wait
 0 177 3 0 200 f9b080 physiod physiod
 0 120 3 0 200 f10640 pooldrain pooldrain
 0 119 3 0 200 f10340 ioflush syncer
 0 118 3 0 200 f10040 pgdaemon pgdaemon
 0 115 3 0 200 ffad00 swwreboot swwreboot
 0 114 3 0 200 f74d00 atapibus0 sccomp
 0 111 3 0 200 f9b380 npfgc0 npfgcw
 0 110 3 0 200 f74a00 usb0 usbevt
 0 109 3 0 200 f74400 rt_free rt_free
 0 108 3 0 200 f74100 unpgc unpgc
 0 107 3 0 200 f94cc0 key_timehandler key_timehandler
 0 106 3 0 200 f949c0 icmp6_wqinput/0 icmp6_wqinput
 0 105 3 0 200 f946c0 nd6_timer nd6_timer
 0 104 3 0 200 f943c0 carp6_wqinput/0 carp6_wqinput
 0 103 3 0 200 f9bc80 carp_wqinput/0 carp_wqinput
 0 102 3 0 200 f9b980 icmp_wqinput/0 icmp_wqinput
 0 101 3 0 200 f9b680 rt_timer rt_timer
 0 100 3 0 200 f940c0 vmem_rehash vmem_rehash
 0 26 3 0 200 fdcc40 entbutler entropy
 0 25 3 0 200 fdc940 usbtask-dr usbtsk
 0 24 3 0 200 fdc640 usbtask-hc usbtsk
 0 23 3 0 200 fdc340 atabus1 atath
 0 22 3 0 200 fdc040 awacs awacs_wait
 0 20 3 0 200 ffaa00 scsibus1 sccomp
 0 18 3 0 200 ffa400 scsibus0 sccomp
 0 17 3 0 240 ffa100 atabus0 atath
 0 16 3 0 200 b1cc0 sysmon smtaskq
 0 15 3 0 200 b19c0 pmfsuspend pmfsuspend
 0 14 3 0 200 b16c0 pmfevent pmfevent
 0 13 3 0 200 b13c0 sopendfree sopendfr
 0 12 3 0 200 b10c0 ifwdog ifwdog
 0 11 3 0 200 ffc80 iflnkst iflnkst
 0 10 3 0 200 ff980 nfssilly nfssilly
 0 9 3 0 200 ff680 vdrain vdrain
 0 8 3 0 200 ff380 modunload mod_unld
 0 7 3 0 200 ff080 xcall/0 xcall
 0 6 1 0 200 d69c40 softser/0
 0 5 1 0 40200 d69940 softclk/0
 0 4 1 0 200 d69640 softbio/0
 0 3 1 0 40200 d69340 softnet/0
 0 2 1 0 201 d69040 idle/0
 0 0 3 0 200 c3df80 swapper uvm
 db> ps/w
 PID LID COMMAND EMUL PRI WAIT-MSG WAIT-CHANNEL
 3603 > 3603 sysctl netbsd 43 0
 3288 3288 rndctl netbsd 43 biowait c88a694
 3018 3018 sh netbsd 43 wait f3f9044
 4027 4207 sh netbsd 41 wait e2d704c
 3170 3170 sshd netbsd 43 poll dd7400
 3936 3936 sshd netbsd 37 poll dd7400
 2207 2207 sh netbsd 42 ttyraw f3c428
 1486 1486 getty netbsd 41 ttyraw fec028
 2100 2100 getty netbsd 41 ttyraw fae828
 1730 1730 getty netbsd 41 ttyraw faea28
 1323 1323 getty netbsd 41 ttyraw faec28
 2465 2465 login netbsd 42 wait f68f53c
 1590 1590 cron netbsd 43 nanoslp ef43040
 1366 1366 inetd netbsd 39 kqueue d056d80
 1609 1609 qmgr netbsd 41 kqueue f5e7740
 2077 2077 pickup netbsd 43 kqueue f5e7f40
 2211 2211 master netbsd 43 kqueue e642700
 848 848 sshd netbsd 43 poll dd7400
 440 440 powerd netbsd 42 kqueue fdf0980
 429 429 makemandb netbsd 26 biowait ae5f744
 1116 1116 syslogd netbsd 43 kqueue f8bfe80
 570 570 dhcpcd netbsd 43 poll dd7400
 560 560 dhcpcd netbsd 43 poll dd7400
 572 572 dhcpcd netbsd 43 poll dd7400
 501 501 dhcpcd netbsd 43 poll dd7400
 1 1 init netbsd 43 wait f6e02c
 0 177 system netbsd 123 physiod f8bf2f4
 0 120 system netbsd 125 pooldrain c6e1fc
 0 119 system netbsd 124 syncer f10340
 0 118 system netbsd 126 pgdaemon c6d570
 0 115 system netbsd 43 swwreboot f51df4
 0 114 system netbsd 96 sccomp ff099c
 0 111 system netbsd 96 npfgcw fc9bcc
 0 110 system netbsd 96 usbevt fc7244
 0 109 system netbsd 222 rt_free fc1bf4
 0 108 system netbsd 96 unpgc c763a0
 0 107 system netbsd 222 key_timehandler fc1af4
 0 106 system netbsd 222 icmp6_wqinput fc1a74
 0 105 system netbsd 222 nd6_timer fc19f4
 0 104 system netbsd 222 carp6_wqinput fc18f4
 0 103 system netbsd 222 carp_wqinput fc1874
 0 102 system netbsd 222 icmp_wqinput fc17f4
 0 101 system netbsd 222 rt_timer fc1774
 0 100 system netbsd 125 vmem_rehash fc13f4
 0 26 system netbsd 43 entropy c3d678
 0 25 system netbsd 96 usbtsk c5b858
 0 24 system netbsd 96 usbtsk c5b830
 0 23 system netbsd 96 atath ff09bc
 0 22 system netbsd 96 awacs_wait fef454
 0 20 system netbsd 96 sccomp ff00a0
 0 18 system netbsd 96 sccomp ad4a0
 0 17 system netbsd 96 atath d010021c
 0 16 system netbsd 96 smtaskq c5c434
 0 15 system netbsd 43 pmfsuspend b2274
 0 14 system netbsd 43 pmfevent b21f4
 0 13 system netbsd 96 sopendfr c7635c
 0 12 system netbsd 222 ifwdog b20f4
 0 11 system netbsd 222 iflnkst b2074
 0 10 system netbsd 43 nfssilly dcef34
 0 9 system netbsd 125 vdrain c76eec
 0 8 system netbsd 125 mod_unld c6f2fc
 0 7 system netbsd 127 xcall c027c8
 0 6 system netbsd 223 0
 0 5 system netbsd 220 0
 0 4 system netbsd 221 0
 0 3 system netbsd 222 0
 0 2 system netbsd 0 0
 0 0 system netbsd 125 uvm c3df80
 db> show all tstiles
 PID LID COMMAND WAITING-FOR WAIT-CHANNEL     (nothing eles outputted)
 db> bt/t 0t$3288
 trace: pid 0 lid 177 at 0xe37de0
 0x00e37e40: at cpu_switchto+0x28
 0x00e37e50: at mi_switch+0x140
 0x00e37e90: at sleepq_block+0xe0
 0x00e37eb0: at cv_wait+0xc0
 0x00e37ee0: at workqueue_worker+0x12c
 0x00e37f20: at cpu_lwp_bootstrap+0xc
 0x00e37fe8: at 0xfffffffc
 db>

 --000000000000c4e20d062c3c571d
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
 mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jan 20,=
  2025 at 11:55=E2=80=AFPM Taylor R Campbell &lt;<a href=3D"mailto:riastradh=
 @netbsd.org">riastradh@netbsd.org</a>&gt; wrote:<br></div><blockquote class=
 =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;bo=
 rder-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">=
 &gt; Date: Mon, 20 Jan 2025 12:22:26 -0800<br>
 &gt; From: Chris Tucker &lt;<a href=3D"mailto:capa150@gmail.com" target=3D"=
 _blank">capa150@gmail.com</a>&gt;<br>
 &gt; <br>
 &gt; I was able to type at the console and see characters but there was no<=
 br>
 &gt; response otherwise.<br>
 <br>
 Huh, so the console is responsive and echoing input, which suggests<br>
 it&#39;s still in userland.=C2=A0 Can you type ^T when this happens?=C2=A0 =
 What does<br>
 it say when you do that?<br></blockquote><div><br></div><div>netbsd# rndctl=
  -S seed2 =C2=A0 (works)</div><div><div>netbsd# rndctl -S seed2<span class=
 =3D"gmail-Apple-converted-space">=C2=A0</span>=C2=A0 (works)</div></div><di=
 v><div>netbsd# rndctl -S seed2<span class=3D"gmail-Apple-converted-space">=
 =C2=A0</span>=C2=A0 (works)</div></div><div><div>netbsd# rndctl -S seed2<sp=
 an class=3D"gmail-Apple-converted-space">=C2=A0</span>=C2=A0 (freezes, and =
 I press ctrl-t)</div>[ 139.8510292] load: 0.42 =C2=A0cmd: rndctl 633 [biowa=
 it] 0.01u 0.00s 0% 1424k</div><div><br></div><blockquote class=3D"gmail_quo=
 te" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-sty=
 le:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
 <br>
 Can you run rndctl in the background, and either start up crash(8)<br>
 (userland version of ddb that can examine a live kernel, doesn&#39;t crash<=
 br>
 your system) or enter ddb with `sysctl -w debug.crashme_enable=3D1&#39; and=
 <br>
 `sysctl -w debug.crashme.ddb=3D1&#39;?<br>
 <br>
 If so, at the crash or ddb prompt, can you get the output of these<br>
 commands?<br>
 <br>
 ps<br>
 ps/w<br>
 show all tstiles<br>
 bt/t 0t$PID=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 where $PID is the pid in deci=
 mal of rndctl<br></blockquote><div><br></div><div>NOTE: photographs of my d=
 isplay to verify my typing:=C2=A0<a href=3D"https://i.ibb.co/7vnbHvL/pr5901=
 4.jpg">https://i.ibb.co/7vnbHvL/pr59014.jpg</a></div><div><br></div>netbsd#=
  rndctl -S seed2 &amp; (couldn&#39;t&#39; tell you if this command froze or=
  not)<br>netbsd# sysctl -w debug.crashme_enable=3D1<br>debug.crashme_enable=
 : 0 -&gt; 1<br>netbsd# sysctl -w debug.crashme.ddb=3D1<br>[ 206.2935173] cr=
 ashme_sysctl_forwarder:201: invoking &quot;ddb&quot; (enter ddb directly)<b=
 r>Stopped in pid 3603.3603 (sysctl) at netbsd: crashme_ddb+0x10: lwz<br>r0,=
  0x14(r1)<br>db&gt; ps<br>PID		LID		S	CPU	FLAGS	STRUCT LWP *	NAME	WAIT<br>3=
 603 &gt;	3603	7	0	0		ef43940			sysctl<br>3288	3288	3	0	0		e2d5680			rndctl	=
 biowait<br>3018	3018	3	0	180		f1fbd00			sh		wait<br>4027	4027	3	0	180		e2d5=
 080			sh		wait<br>3170	3170	3	0	180		ef43c40			sshd	poll<br>3936	3936	3	0	1=
 80		fb3a380			sshd	poll<br>2207	2207	3	0	180		fb3a080			sh		ttyraw<br>1486	=
 1486	3	0	180		f1fb400			getty	ttyraw<br>2100	2100	3	0	180		f10940			getty	t=
 tyraw<br>1730	1730	3	0	180		f10c40			getty	ttyraw<br>1323	1323	3	0	180		ffa=
 700			getty	ttyraw<br>2465	2465	3	0	180		f1fb100			login	wait<br>1590	1590	=
 3	0	180		ef43040			cron	nanoslp<br>1366	1366	3	0	180		ef43640			inetd	kqueu=
 e<br>1609	1609	3	0	180		fafb700			qmgr	kqueue<br>2077	2077	3	0	180		fb3a980=
 			pickup	kqueue<br>2211	2211	3	0	180		e2d5380			master	kqueue<br>848		848	=
 	3	0	180		f1fba00			sshd	poll<br>440		440		3	0	180		fb3a680			powerd	kqueue=
 <br>429		429		3	0	0		fd79cc0			makemandb	biowait<br>1116	1116	3	0	180		fd79=
 9c0			syslogd	kqueue<br>570		570		3	0	180		fd796c0			dhcpcd	poll<br>560		56=
 0		3	0	180		fd793c0			dhcpcd	poll<br>572		572		3	0	180		fb3ac80			dhcpcd	po=
 ll<br>501		501		3	0	180		fd790c0			dhcpcd	poll<br>1		1		3	0	180		f74700			i=
 nit	wait<br>0		177		3	0	200		f9b080			physiod	physiod<br>0		120		3	0	200		f=
 10640			pooldrain	pooldrain<br>0		119		3	0	200		f10340			ioflush	syncer<br>=
 0		118		3	0	200		f10040			pgdaemon	pgdaemon<br>0		115		3	0	200		ffad00			sw=
 wreboot	swwreboot<br>0		114		3	0	200		f74d00			atapibus0	sccomp<br>0		111		=
 3	0	200		f9b380			npfgc0		npfgcw<br>0		110		3	0	200		f74a00			usb0	usbevt<b=
 r>0		109		3	0	200		f74400			rt_free	rt_free<br>0		108		3	0	200		f74100			un=
 pgc	unpgc<br>0		107		3	0	200		f94cc0			key_timehandler	key_timehandler<br>0=
 		106		3	0	200		f949c0			icmp6_wqinput/0	icmp6_wqinput<br>0		105		3	0	200		=
 f946c0			nd6_timer	nd6_timer<br>0		104		3	0	200		f943c0			carp6_wqinput/0	c=
 arp6_wqinput<br>0		103		3	0	200		f9bc80			carp_wqinput/0	carp_wqinput<br>0	=
 	102		3	0	200		f9b980			icmp_wqinput/0	icmp_wqinput<br>0		101		3	0	200		f9b=
 680			rt_timer		rt_timer<br>0		100		3	0	200		f940c0			vmem_rehash		vmem_reh=
 ash<br>0		26		3	0	200		fdcc40			entbutler		entropy<br>0		25		3	0	200		fdc94=
 0			usbtask-dr		usbtsk<br>0		24		3	0	200		fdc640			usbtask-hc		usbtsk<br>0	=
 	23		3	0	200		fdc340			atabus1			atath<br>0		22		3	0	200		fdc040			awacs			=
 awacs_wait<br>0		20		3	0	200		ffaa00			scsibus1		sccomp<br>0		18		3	0	200		=
 ffa400			scsibus0		sccomp<br>0		17		3	0	240		ffa100			atabus0			atath<br>0	=
 	16		3	0	200		b1cc0			sysmon			smtaskq<br>0		15		3	0	200		b19c0			pmfsuspen=
 d		pmfsuspend<br>0		14		3	0	200		b16c0			pmfevent		pmfevent<br>0		13		3	0	2=
 00		b13c0			sopendfree		sopendfr<br>0		12		3	0	200		b10c0			ifwdog			ifwdog=
 <br>0		11		3	0	200		ffc80			iflnkst			iflnkst<br>0		10		3	0	200		ff980			nf=
 ssilly		nfssilly<br>0		9		3	0	200		ff680			vdrain			vdrain<br>0		8		3	0	200=
 		ff380			modunload		mod_unld<br>0		7		3	0	200		ff080			xcall/0			xcall<br>=
 0		6		1	0	200		d69c40			softser/0<br>0		5		1	0	40200	d69940			softclk/0<br>=
 0		4		1	0	200		d69640			softbio/0<br>0		3		1	0	40200	d69340			softnet/0<br>=
 0		2		1	0	201		d69040			idle/0<br>0		0		3	0	200		c3df80			swapper			uvm<br>=
 db&gt; ps/w<br>PID		LID		COMMAND		EMUL		PRI	WAIT-MSG		WAIT-CHANNEL<br>3603 =
 &gt;	3603	sysctl		netbsd		43					0<br>3288	3288	rndctl		netbsd		43	biowait	=
 		c88a694<br>3018	3018	sh			netbsd		43	wait			f3f9044<br>4027	4207	sh			net=
 bsd		41	wait			e2d704c<br>3170	3170	sshd		netbsd		43	poll			dd7400<br>3936	=
 3936	sshd		netbsd		37	poll			dd7400<br>2207	2207	sh			netbsd		42	ttyraw			f=
 3c428<br>1486	1486	getty		netbsd		41	ttyraw			fec028<br>2100	2100	getty		ne=
 tbsd		41	ttyraw			fae828<br>1730	1730	getty		netbsd		41	ttyraw			faea28<br>=
 1323	1323	getty		netbsd		41	ttyraw			faec28<br>2465	2465	login		netbsd		42	=
 wait			f68f53c<br>1590	1590	cron		netbsd		43	nanoslp			ef43040<br>1366	1366=
 	inetd		netbsd		39	kqueue			d056d80<br>1609	1609	qmgr		netbsd		41	kqueue			=
 f5e7740<br>2077	2077	pickup		netbsd		43	kqueue			f5e7f40<br>2211	2211	maste=
 r		netbsd		43	kqueue			e642700<br>848		848		sshd		netbsd		43	poll			dd7400<=
 br>440		440		powerd		netbsd		42	kqueue			fdf0980<br>429		429		makemandb	net=
 bsd		26	biowait			ae5f744<br>1116	1116	syslogd		netbsd		43	kqueue			f8bfe80=
 <br>570		570		dhcpcd		netbsd		43	poll			dd7400<br>560		560		dhcpcd		netbsd	=
 	43	poll			dd7400<br>572		572		dhcpcd		netbsd		43	poll			dd7400<br>501		501=
 		dhcpcd		netbsd		43	poll			dd7400<br>1		1		init		netbsd		43	wait			f6e02c<=
 br>0		177		system		netbsd		123	physiod			f8bf2f4<br>0		120		system		netbsd	=
 	125	pooldrain		c6e1fc<br>0		119		system		netbsd		124	syncer			f10340<br>0	=
 	118		system		netbsd		126	pgdaemon		c6d570<br>0		115		system		netbsd		43	sw=
 wreboot		f51df4<br>0		114		system		netbsd		96	sccomp			ff099c<br>0		111		sy=
 stem		netbsd		96	npfgcw			fc9bcc<br>0		110		system		netbsd		96	usbevt			fc7=
 244<br>0		109		system		netbsd		222	rt_free			fc1bf4<br>0		108		system		netb=
 sd		96	unpgc			c763a0<br>0		107		system		netbsd		222	key_timehandler	fc1af4=
 <br>0		106		system		netbsd		222	icmp6_wqinput	fc1a74<br>0		105		system		net=
 bsd		222	nd6_timer		fc19f4<br>0		104		system		netbsd		222	carp6_wqinput	fc1=
 8f4<br>0		103		system		netbsd		222	carp_wqinput	fc1874<br>0		102		system		n=
 etbsd		222	icmp_wqinput	fc17f4<br>0		101		system		netbsd		222	rt_timer		fc1=
 774<br>0		100		system		netbsd		125	vmem_rehash		fc13f4<br>0		26		system		ne=
 tbsd		43	entropy			c3d678<br>0		25		system		netbsd		96	usbtsk			c5b858<br>0=
 		24		system		netbsd		96	usbtsk			c5b830<br>0		23		system		netbsd		96	atath=
 			ff09bc<br>0		22		system		netbsd		96	awacs_wait		fef454<br>0		20		system	=
 	netbsd		96	sccomp			ff00a0<br>0		18		system		netbsd		96	sccomp			ad4a0<br>=
 0		17		system		netbsd		96	atath			d010021c<br>0		16		system		netbsd		96	smt=
 askq			c5c434<br>0		15		system		netbsd		43	pmfsuspend		b2274<br>0		14		syst=
 em		netbsd		43	pmfevent		b21f4<br>0		13		system		netbsd		96	sopendfr		c7635=
 c<br>0		12		system		netbsd		222	ifwdog			b20f4<br>0		11		system		netbsd		22=
 2	iflnkst			b2074<br>0		10		system		netbsd		43	nfssilly		dcef34<br>0		9		sy=
 stem		netbsd		125	vdrain			c76eec<br>0		8		system		netbsd		125	mod_unld		c6=
 f2fc<br>0		7		system		netbsd		127	xcall			c027c8<br>0		6		system		netbsd		2=
 23					0<br>0		5		system		netbsd		220					0<br>0		4		system		netbsd		221			=
 		0<br>0		3		system		netbsd		222					0<br>0		2		system		netbsd		0					0<br>=
 0		0		system		netbsd		125	uvm				c3df80<br>db&gt; show all tstiles<br>	PID	=
 LID	COMMAND	WAITING-FOR	WAIT-CHANNEL =C2=A0 =C2=A0 (nothing eles outputted)=
 <br>db&gt; bt/t 0t$3288<br>trace: pid 0 lid 177 at 0xe37de0<br>0x00e37e40: =
 at cpu_switchto+0x28<br>0x00e37e50: at mi_switch+0x140<br>0x00e37e90: at sl=
 eepq_block+0xe0<br>0x00e37eb0: at cv_wait+0xc0<br>0x00e37ee0: at workqueue_=
 worker+0x12c<br>0x00e37f20: at cpu_lwp_bootstrap+0xc<br>0x00e37fe8: at 0xff=
 fffffc<br><div>db&gt;=C2=A0</div></div></div>

 --000000000000c4e20d062c3c571d--

From: Taylor R Campbell <riastradh@NetBSD.org>
To: Chris Tucker <capa150@gmail.com>
Cc: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Tue, 21 Jan 2025 19:44:24 +0000

 > Date: Tue, 21 Jan 2025 11:25:31 -0800
 > From: Chris Tucker <capa150@gmail.com>
 > 
 > netbsd# rndctl -S seed2   (works)
 > netbsd# rndctl -S seed2   (works)
 > netbsd# rndctl -S seed2   (works)
 > netbsd# rndctl -S seed2   (freezes, and I press ctrl-t)
 > [ 139.8510292] load: 0.42  cmd: rndctl 633 [biowait] 0.01u 0.00s 0% 1424k

 Interesting.  What kind of disk do you have?

 In crash(8) or ddb, can you get the kernel stack trace of the rndctl
 process?  In this case, the pid is 633, so it would be:

 crash> bt/t 0t633

 (Note the `0t' prefix for decimal.)

 I bet it's going to come up in sys_fsync_range, which is going to
 reveal a problem with fsync_range(FDISKSYNC) on your disk controller
 or hard disk.

From: Chris Tucker <capa150@gmail.com>
To: Taylor R Campbell <riastradh@netbsd.org>, gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Tue, 21 Jan 2025 21:58:08 -0800

 --0000000000002e18b8062c452e69
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 On Tue, Jan 21, 2025 at 11:44=E2=80=AFAM Taylor R Campbell <riastradh@netbs=
 d.org>
 wrote:

 > > Date: Tue, 21 Jan 2025 11:25:31 -0800
 > > From: Chris Tucker <capa150@gmail.com>
 > >
 > > netbsd# rndctl -S seed2   (works,
 > > netbsd# rndctl -S seed2   (works)
 > > netbsd# rndctl -S seed2   (works)
 > > netbsd# rndctl -S seed2   (freezes, and I press ctrl-t)
 > > [ 139.8510292] load: 0.42  cmd: rndctl 633 [biowait] 0.01u 0.00s 0% 142=
 4k
 >
 > Interesting.  What kind of disk do you have?


 It's an old 12.0GB IBM Travelstar DJSA-220 that I grabbed out of my box o'
 parts to test NetBSD 10.1 with. I have been using NetBSD 9.1 on my
 "official" system (dual-boot with MacOS 8.6), running off a new-old-stock
 30GB Maxtor Diamondmax I bought off ebay a year ago. Both IDE.

 I wanted to run through the 10.1 install process without disturbing my
 functional 9.1 system, hence the use of the old drive.




 > In crash(8) or ddb, can you get the kernel stack trace of the rndctl
 > process?  In this case, the pid is 633, so it would be:
 >
 > crash> bt/t 0t633
 >
 > (Note the `0t' prefix for decimal.)
 >
 > I bet it's going to come up in sys_fsync_range, which is going to
 > reveal a problem with fsync_range(FDISKSYNC) on your disk controller
 > or hard disk.
 >

 I ran the rndctl command in the background to get it to fail.

 While in crash on console:
 PID    LID     S    CPU     FLAGS         STRUCT LWP  *       NAME      WAI=
 T
 4941  4941   3     0            0                   fb3a680
   rndctl      biowait

 >From an ssh session on another machine at the same time:
 netbsd# crash
 Crash version 10.1, image version 10.1.
 Output from a running system is unreliable.
 crash> bt/t 0t4941
 trace: pid 4941 lid 4941 at 0x172cb00
 0x0172cb60: at cpu_switchto+0x28
 0x0172cb70: at mi_switch+0x140
 0x0172cbb0: at sleepq_block+0xe0
 0x0172cbd0: at cv_wait+0xc0
 0x0172cc00: at bwrite+0x150
 0x0172cc20: at ffs_update.part.0+0x3cc
 0x0172cc60: at ufs_gro_rename+0xec
 0x0172ccd0: at genfs_sane_rename+0x220
 0x0172cd40: at ufs_sane_rename+0x3c
 0x0172cd80: at genfs_insane_rename+0x9c
 0x0172cdb0: at VOP_RENAME+0x80
 0x0172cdf0: at do_sys_renameat.isra.0+0x558
 0x0172cec0: at syscall+0x294
 0x0172cf20: user SC trap #128 by 0xfdcac858: srr1=3D0xd032
             r1=3D0xffffe0c0 cr=3D0x44000482 xer=3D0x20000000 ctr=3D0xfdcac8=
 50

 I installed NetBSD 10.1 on a third IDE drive, and the error persists.

 I tried it on my 9.1 machine, running randctl -L seed 16 times in a row
 before it froze on the 16th time; hit ctrl-t and saw "biowait" again. But I
 suspect randctl wasn't meant to be run 16 times in rapid succession, if
 that matters.

 Guess it could be a hardware problem, IDE controller mebbe. I'll try all
 the usual hw fixes (cuda, pram, etc) and mebbe look into a PCI IDE
 controller card, or see if I can dig up a suitable SCSI drive.

 --0000000000002e18b8062c452e69
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><br></d=
 iv><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On =
 Tue, Jan 21, 2025 at 11:44=E2=80=AFAM Taylor R Campbell &lt;<a href=3D"mail=
 to:riastradh@netbsd.org" target=3D"_blank">riastradh@netbsd.org</a>&gt; wro=
 te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(2=
 04,204,204);padding-left:1ex">&gt; Date: Tue, 21 Jan 2025 11:25:31 -0800<br=
 >
 &gt; From: Chris Tucker &lt;<a href=3D"mailto:capa150@gmail.com" target=3D"=
 _blank">capa150@gmail.com</a>&gt;<br>
 &gt; <br>
 &gt; netbsd# rndctl -S seed2=C2=A0 =C2=A0(works,=C2=A0<br>
 &gt; netbsd# rndctl -S seed2=C2=A0 =C2=A0(works)<br>
 &gt; netbsd# rndctl -S seed2=C2=A0 =C2=A0(works)<br>
 &gt; netbsd# rndctl -S seed2=C2=A0 =C2=A0(freezes, and I press ctrl-t)<br>
 &gt; [ 139.8510292] load: 0.42=C2=A0 cmd: rndctl 633 [biowait] 0.01u 0.00s =
 0% 1424k<br>
 <br>
 Interesting.=C2=A0 What kind of disk do you have?</blockquote><div><br></di=
 v><div>It&#39;s an old 12.0GB IBM Travelstar DJSA-220 that I grabbed out of=
  my box o&#39; parts to test NetBSD 10.1 with. I have been using NetBSD 9.1=
  on my &quot;official&quot; system (dual-boot with MacOS 8.6), running off =
 a new-old-stock 30GB Maxtor Diamondmax I bought off ebay a year ago. Both I=
 DE.</div><div><br></div><div>I wanted to run through the 10.1 install proce=
 ss without disturbing my functional 9.1 system, hence the use of the old dr=
 ive.</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
 0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left=
 -color:rgb(204,204,204);padding-left:1ex">=C2=A0</blockquote><blockquote cl=
 ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px=
 ;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1e=
 x">
 <br>
 In crash(8) or ddb, can you get the kernel stack trace of the rndctl<br>
 process?=C2=A0 In this case, the pid is 633, so it would be:<br>
 <br>
 crash&gt; bt/t 0t633<br>
 <br>
 (Note the `0t&#39; prefix for decimal.)<br>
 <br>
 I bet it&#39;s going to come up in sys_fsync_range, which is going to<br>
 reveal a problem with fsync_range(FDISKSYNC) on your disk controller<br>
 or hard disk.<br></blockquote><div><br></div><div>I ran the rndctl=C2=A0com=
 mand in the background to get it to fail.</div><div><br></div><div>While in=
  crash on console:</div><div>PID =C2=A0 =C2=A0LID =C2=A0 =C2=A0 S =C2=A0 =
 =C2=A0CPU =C2=A0 =C2=A0 FLAGS =C2=A0 =C2=A0 =C2=A0 =C2=A0 STRUCT LWP =C2=A0=
 * =C2=A0 =C2=A0 =C2=A0 NAME =C2=A0 =C2=A0 =C2=A0WAIT</div><div>4941 =C2=A04=
 941 =C2=A0 3 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fb3a680 =C2=A0 =
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 rndctl =C2=A0 =C2=
 =A0 =C2=A0biowait</div><div><br></div><div>From an=C2=A0ssh session on anot=
 her machine at the same time:</div><div>netbsd# crash<br>Crash version 10.1=
 , image version 10.1.<br>Output from a running system is unreliable.<br>cra=
 sh&gt; bt/t 0t4941<br>trace: pid 4941 lid 4941 at 0x172cb00<br>0x0172cb60: =
 at cpu_switchto+0x28<br>0x0172cb70: at mi_switch+0x140<br>0x0172cbb0: at sl=
 eepq_block+0xe0<br>0x0172cbd0: at cv_wait+0xc0<br>0x0172cc00: at bwrite+0x1=
 50<br>0x0172cc20: at ffs_update.part.0+0x3cc<br>0x0172cc60: at ufs_gro_rena=
 me+0xec<br>0x0172ccd0: at genfs_sane_rename+0x220<br>0x0172cd40: at ufs_san=
 e_rename+0x3c<br>0x0172cd80: at genfs_insane_rename+0x9c<br>0x0172cdb0: at =
 VOP_RENAME+0x80<br>0x0172cdf0: at do_sys_renameat.isra.0+0x558<br>0x0172cec=
 0: at syscall+0x294<br>0x0172cf20: user SC trap #128 by 0xfdcac858: srr1=3D=
 0xd032<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 r1=3D0xffffe0c0 cr=3D0x=
 44000482 xer=3D0x20000000 ctr=3D0xfdcac850<br></div><div><br></div><div>I i=
 nstalled NetBSD 10.1 on a third IDE drive, and the error persists.</div><di=
 v><br></div><div>I tried it on my 9.1 machine, running randctl -L seed 16 t=
 imes in a row before it froze on the 16th time; hit ctrl-t and saw &quot;bi=
 owait&quot; again. But I suspect randctl=C2=A0wasn&#39;t meant to be run 16=
  times in rapid succession, if that matters.</div><div><br></div><div>Guess=
  it could be a hardware problem, IDE controller mebbe. I&#39;ll try all the=
  usual hw fixes (cuda, pram, etc) and mebbe look into a PCI IDE controller =
 card, or see if I can dig up a suitable SCSI drive.</div></div></div>
 </div>
 </div>

 --0000000000002e18b8062c452e69--

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Thu, 23 Jan 2025 12:22:25 +0100

 >  netbsd# rndctl -S seed2   (works)
 >  netbsd# rndctl -S seed2   (works)
 >  netbsd# rndctl -S seed2   (works)
 >  netbsd# rndctl -S seed2   (freezes, and I press ctrl-t)
 >  [ 139.8510292] load: 0.42  cmd: rndctl 633 [biowait] 0.01u 0.00s 0% 1424k

 Just for completenes: could you mount a tmpfs on /tmp (if you haven't
 that already as part of your standard install) and then try again with a
 sequence of

 	# rndctl -S /tmp/seed

 One other thing to check if the drive knows it is failing:

 	# atactl wd0 smart status

 This could be the disk not giving up on the sector (and remapping it yet),
 but running into issues whenever trying to write it. I would expect
 dmesg spam from that though.

 If you have anything but the fresh install on the disk, I would do a backup
 ASAP.

 Martin

From: Chris Tucker <capa150@gmail.com>
To: gnats-bugs@netbsd.org, port-macppc-maintainer@netbsd.org, 
	gnats-admin@netbsd.org
Cc: 
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Fri, 24 Jan 2025 13:05:37 -0800

 --0000000000004fcfe6062c7a17fe
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 On Thu, Jan 23, 2025 at 3:25=E2=80=AFAM Martin Husemann via gnats <
 gnats-admin@netbsd.org> wrote:

 > The following reply was made to PR port-macppc/59014; it has been noted b=
 y
 > GNATS.
 >
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc
 > b&w G3
 > Date: Thu, 23 Jan 2025 12:22:25 +0100
 >
 >  >  netbsd# rndctl -S seed2   (works)
 >  >  netbsd# rndctl -S seed2   (works)
 >  >  netbsd# rndctl -S seed2   (works)
 >  >  netbsd# rndctl -S seed2   (freezes, and I press ctrl-t)
 >  >  [ 139.8510292] load: 0.42  cmd: rndctl 633 [biowait] 0.01u 0.00s 0%
 > 1424k
 >
 >  Just for completenes: could you mount a tmpfs on /tmp (if you haven't
 >  that already as part of your standard install) and then try again with a
 >  sequence of
 >
 >         # rndctl -S /tmp/seed
 >
 >  One other thing to check if the drive knows it is failing:
 >
 >         # atactl wd0 smart status
 >
 >  This could be the disk not giving up on the sector (and remapping it yet=
 ),
 >  but running into issues whenever trying to write it. I would expect
 >  dmesg spam from that though.
 >
 >  If you have anything but the fresh install on the disk, I would do a
 > backup
 >  ASAP.
 >
 >  Martin
 >
 > A terrific idea!

 I did a
 mount -t tmpfs tmpfs /tmp
 followed by
 # rndctl -S /tmp/seed
 I repeated the rndctl -S command above 32 times for good measure with no
 errors. I also did a rndctl -L off the tmpfs another 32 times without error
 (seems to have eliminated the problem).

 Smart on my IBM  DJSA-220  test-install drive running NetBSD 10.1:
 netbsd# atactl wd0 smart status
 SMART supported, SMART enabled
 id value thresh crit collect reliability description                 raw
   1 100   62     yes online  positive    Raw read error rate         0
   2 100   40     yes offline positive    Throughput performance      0
   3 102   33     yes online  positive    Spin-up time
  107374182402
   4 100    0     no  online  positive    Start/stop count            1506
   5 100    5     yes online  positive    Reallocated sector count    0
   7 100   67     yes online  positive    Seek error rate             0
   8 100   40     yes offline positive    Seek time performance       0
   9  57    0     no  online  positive    Power-on hours count        19067
  10 100   60     yes online  positive    Spin retry count            0
  12 100    0     no  online  positive    Device power cycle count    1391
 191 100    0     no  online  positive    G-sense error rate          0
 192 100    0     no  online  positive    Power-off retract count     86
 193   1   50     no  online  negative    Load cycle count            105928=
 2
 196 100    0     no  online  positive    Reallocated event count     7
 197 100    0     no  online  positive    Current pending sector      2
 198 100    0     no  offline positive    Offline uncorrectable       0
 199 200    0     no  online  positive    Ultra DMA CRC error count   127
 netbsd#

 Smart on my Maxtor DiamondMax Plus 8 (new old stock) NetBSD 9.1 system:
 kawaii# atactl wd0 smart status
 SMART supported, SMART enabled
 id value thresh crit collect reliability description                 raw
   3 221   63     yes online  positive    Spin-up time                11385
   4 253    0     no  online  positive    Start/stop count            185
   5 253   63     yes online  positive    Reallocated sector count    0
   6 253  100     yes offline positive    Read channel margin         0
   7 253    0     no  online  positive    Seek error rate             0
   8 252  187     yes online  positive    Seek time performance       52886
   9 253    0     no  online  positive    Power-on hours count        6774
  10 253  157     yes online  positive    Spin retry count            0
  11 253  223     yes online  positive    Calibration retry count     0
  12 253    0     no  online  positive    Device power cycle count    177
  99 253    0     no  offline positive    Unknown                     0
 100 253    0     no  offline positive    Erase/Program Cycles        0
 101 253    0     no  offline positive    Unknown                     0
 192 253    0     no  online  positive    Power-off retract count     120
 193 253    0     no  online  positive    Load cycle count            191
 194 253    0     no  online  positive    Temperature                 42
 195 253    0     no  online  positive    Hardware ECC Recovered      2226
 196 253    0     no  offline positive    Reallocated event count     0
 197 253    0     no  offline positive    Current pending sector      0
 198 253    0     no  offline positive    Offline uncorrectable       0
 199 199    0     no  offline positive    Ultra DMA CRC error count   1
 200 253    0     no  online  positive    Write error rate            0
 201 253    0     no  online  positive    Soft read error rate        3
 202 253    0     no  online  positive    Data address mark errors    0
 203 253  180     yes online  positive    Run out cancel              0
 204 253    0     no  online  positive    Soft ECC correction         0
 205 253    0     no  online  positive    Thermal asperity check      0
 207 253    0     no  online  positive    Spin high current           0
 208 253    0     no  online  positive    Spin buzz                   0
 209 185    0     no  offline positive    Offline seek performance    0
 kawaii#

 Both drives exhibited the rndctl crash problem.

 I suspect the Mac's onboard IDE controller is flakey, as it is known to be
 wacky. See the following link:
 https://en.wikipedia.org/wiki/Power_Macintosh_G3#Blue_and_White_2

 I have the "good" revision 2 motherboard, which some people think is also
 quirky.

 My next plan is to modify the kernel to turn off UDMA mode on the hard disk
 using the wd flags, see if that resolves the problem.

 Thanks to all for helping to narrow down the cause of the problem.

 --0000000000004fcfe6062c7a17fe
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
 mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Jan 23,=
  2025 at 3:25=E2=80=AFAM Martin Husemann via gnats &lt;<a href=3D"mailto:gn=
 ats-admin@netbsd.org">gnats-admin@netbsd.org</a>&gt; wrote:<br></div><block=
 quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-w=
 idth:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding=
 -left:1ex">The following reply was made to PR port-macppc/59014; it has bee=
 n noted by GNATS.<br>
 <br>
 From: Martin Husemann &lt;<a href=3D"mailto:martin@duskware.de" target=3D"_=
 blank">martin@duskware.de</a>&gt;<br>
 To: <a href=3D"mailto:gnats-bugs@netbsd.org" target=3D"_blank">gnats-bugs@n=
 etbsd.org</a><br>
 Cc: <br>
 Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&a=
 mp;w G3<br>
 Date: Thu, 23 Jan 2025 12:22:25 +0100<br>
 <br>
 =C2=A0&gt;=C2=A0 netbsd# rndctl -S seed2=C2=A0 =C2=A0(works)<br>
 =C2=A0&gt;=C2=A0 netbsd# rndctl -S seed2=C2=A0 =C2=A0(works)<br>
 =C2=A0&gt;=C2=A0 netbsd# rndctl -S seed2=C2=A0 =C2=A0(works)<br>
 =C2=A0&gt;=C2=A0 netbsd# rndctl -S seed2=C2=A0 =C2=A0(freezes, and I press =
 ctrl-t)<br>
 =C2=A0&gt;=C2=A0 [ 139.8510292] load: 0.42=C2=A0 cmd: rndctl 633 [biowait] =
 0.01u 0.00s 0% 1424k<br>
 <br>
 =C2=A0Just for completenes: could you mount a tmpfs on /tmp (if you haven&#=
 39;t<br>
 =C2=A0that already as part of your standard install) and then try again wit=
 h a<br>
 =C2=A0sequence of<br>
 <br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # rndctl -S /tmp/seed<br>
 <br>
 =C2=A0One other thing to check if the drive knows it is failing:<br>
 <br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # atactl wd0 smart status<br>
 <br>
 =C2=A0This could be the disk not giving up on the sector (and remapping it =
 yet),<br>
 =C2=A0but running into issues whenever trying to write it. I would expect<b=
 r>
 =C2=A0dmesg spam from that though.<br>
 <br>
 =C2=A0If you have anything but the fresh install on the disk, I would do a =
 backup<br>
 =C2=A0ASAP.<br>
 <br>
 =C2=A0Martin<br>
 <br></blockquote><div>A terrific idea!</div><div><br></div><div>I did a</di=
 v><div>mount -t tmpfs tmpfs /tmp=C2=A0</div><div>followed by=C2=A0</div><di=
 v># rndctl -S /tmp/seed</div><div>I repeated the rndctl -S command above 32=
  times for good measure with no errors. I also did a rndctl -L off the tmpf=
 s another 32 times without error (seems to have eliminated the problem).=C2=
 =A0</div><div><br></div><div>Smart on my IBM=C2=A0<span class=3D"gmail-Appl=
 e-converted-space">=C2=A0</span>DJSA-220 =C2=A0test-install drive running N=
 etBSD 10.1:</div><div>netbsd# atactl wd0 smart status<br>SMART supported, S=
 MART enabled<br>id value thresh crit collect reliability description =C2=A0=
  =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 raw<br>=C2=A0 1 100 =C2=
 =A0 62 =C2=A0 =C2=A0 yes online =C2=A0positive =C2=A0 =C2=A0Raw read error =
 rate =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br>=C2=A0 2 100 =C2=A0 40 =C2=A0 =C2=A0 =
 yes offline positive =C2=A0 =C2=A0Throughput performance =C2=A0 =C2=A0 =C2=
 =A00<br>=C2=A0 3 102 =C2=A0 33 =C2=A0 =C2=A0 yes online =C2=A0positive =C2=
 =A0 =C2=A0Spin-up time =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0107374182402<br>=C2=A0 4 100 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0onlin=
 e =C2=A0positive =C2=A0 =C2=A0Start/stop count =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 =C2=A01506<br>=C2=A0 5 100 =C2=A0 =C2=A05 =C2=A0 =C2=A0 yes online =
 =C2=A0positive =C2=A0 =C2=A0Reallocated sector count =C2=A0 =C2=A00<br>=C2=
 =A0 7 100 =C2=A0 67 =C2=A0 =C2=A0 yes online =C2=A0positive =C2=A0 =C2=A0Se=
 ek error rate =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br>=C2=A0 8 100 =
 =C2=A0 40 =C2=A0 =C2=A0 yes offline positive =C2=A0 =C2=A0Seek time perform=
 ance =C2=A0 =C2=A0 =C2=A0 0<br>=C2=A0 9 =C2=A057 =C2=A0 =C2=A00 =C2=A0 =C2=
 =A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Power-on hours count =C2=A0=
  =C2=A0 =C2=A0 =C2=A019067<br>=C2=A010 100 =C2=A0 60 =C2=A0 =C2=A0 yes onli=
 ne =C2=A0positive =C2=A0 =C2=A0Spin retry count =C2=A0 =C2=A0 =C2=A0 =C2=A0=
  =C2=A0 =C2=A00<br>=C2=A012 100 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0onlin=
 e =C2=A0positive =C2=A0 =C2=A0Device power cycle count =C2=A0 =C2=A01391<br=
 >191 100 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0=
  =C2=A0G-sense error rate =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00<br>192 100 =
 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Po=
 wer-off retract count =C2=A0 =C2=A0 86<br>193 =C2=A0 1 =C2=A0 50 =C2=A0 =C2=
 =A0 no =C2=A0online =C2=A0negative =C2=A0 =C2=A0Load cycle count =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01059282<br>196 100 =C2=A0 =C2=A00 =C2=A0 =C2=
 =A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Reallocated event count =C2=
 =A0 =C2=A0 7<br>197 100 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0=
 positive =C2=A0 =C2=A0Current pending sector =C2=A0 =C2=A0 =C2=A02<br>198 1=
 00 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0offline positive =C2=A0 =C2=A0Offl=
 ine uncorrectable =C2=A0 =C2=A0 =C2=A0 0<br>199 200 =C2=A0 =C2=A00 =C2=A0 =
 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Ultra DMA CRC error coun=
 t =C2=A0 127<br>netbsd#=C2=A0<br></div><div><br></div><div>Smart on my Maxt=
 or DiamondMax=C2=A0Plus 8 (new old stock) NetBSD 9.1 system:</div><div>kawa=
 ii# atactl wd0 smart status<br>SMART supported, SMART enabled<br>id value t=
 hresh crit collect reliability description =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 raw<br>=C2=A0 3 221 =C2=A0 63 =C2=A0 =C2=A0 yes on=
 line =C2=A0positive =C2=A0 =C2=A0Spin-up time =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 =C2=A0 =C2=A0 =C2=A011385<br>=C2=A0 4 253 =C2=A0 =C2=A00 =C2=A0 =C2=
 =A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Start/stop count =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0185<br>=C2=A0 5 253 =C2=A0 63 =C2=A0 =C2=A0 =
 yes online =C2=A0positive =C2=A0 =C2=A0Reallocated sector count =C2=A0 =C2=
 =A00<br>=C2=A0 6 253 =C2=A0100 =C2=A0 =C2=A0 yes offline positive =C2=A0 =
 =C2=A0Read channel margin =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br>=C2=A0 7 253 =C2=
 =A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Seek =
 error rate =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br>=C2=A0 8 252 =C2=
 =A0187 =C2=A0 =C2=A0 yes online =C2=A0positive =C2=A0 =C2=A0Seek time perfo=
 rmance =C2=A0 =C2=A0 =C2=A0 52886<br>=C2=A0 9 253 =C2=A0 =C2=A00 =C2=A0 =C2=
 =A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Power-on hours count =C2=A0=
  =C2=A0 =C2=A0 =C2=A06774<br>=C2=A010 253 =C2=A0157 =C2=A0 =C2=A0 yes onlin=
 e =C2=A0positive =C2=A0 =C2=A0Spin retry count =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 =C2=A00<br>=C2=A011 253 =C2=A0223 =C2=A0 =C2=A0 yes online =C2=A0pos=
 itive =C2=A0 =C2=A0Calibration retry count =C2=A0 =C2=A0 0<br>=C2=A012 253 =
 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0De=
 vice power cycle count =C2=A0 =C2=A0177<br>=C2=A099 253 =C2=A0 =C2=A00 =C2=
 =A0 =C2=A0 no =C2=A0offline positive =C2=A0 =C2=A0Unknown =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br>100 253 =C2=A0 =
 =C2=A00 =C2=A0 =C2=A0 no =C2=A0offline positive =C2=A0 =C2=A0Erase/Program =
 Cycles =C2=A0 =C2=A0 =C2=A0 =C2=A00<br>101 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0=
  no =C2=A0offline positive =C2=A0 =C2=A0Unknown =C2=A0 =C2=A0 =C2=A0 =C2=A0=
  =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br>192 253 =C2=A0 =C2=A00 =C2=
 =A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Power-off retract co=
 unt =C2=A0 =C2=A0 120<br>193 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0onli=
 ne =C2=A0positive =C2=A0 =C2=A0Load cycle count =C2=A0 =C2=A0 =C2=A0 =C2=A0=
  =C2=A0 =C2=A0191<br>194 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =
 =C2=A0positive =C2=A0 =C2=A0Temperature =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 =C2=A0 =C2=A0 42<br>195 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0on=
 line =C2=A0positive =C2=A0 =C2=A0Hardware ECC Recovered =C2=A0 =C2=A0 =C2=
 =A02226<br>196 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0offline positive =
 =C2=A0 =C2=A0Reallocated event count =C2=A0 =C2=A0 0<br>197 253 =C2=A0 =C2=
 =A00 =C2=A0 =C2=A0 no =C2=A0offline positive =C2=A0 =C2=A0Current pending s=
 ector =C2=A0 =C2=A0 =C2=A00<br>198 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=
 =A0offline positive =C2=A0 =C2=A0Offline uncorrectable =C2=A0 =C2=A0 =C2=A0=
  0<br>199 199 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0offline positive =C2=A0=
  =C2=A0Ultra DMA CRC error count =C2=A0 1<br>200 253 =C2=A0 =C2=A00 =C2=A0 =
 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Write error rate =C2=A0 =
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00<br>201 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0=
  no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Soft read error rate =C2=A0 =
 =C2=A0 =C2=A0 =C2=A03<br>202 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0onli=
 ne =C2=A0positive =C2=A0 =C2=A0Data address mark errors =C2=A0 =C2=A00<br>2=
 03 253 =C2=A0180 =C2=A0 =C2=A0 yes online =C2=A0positive =C2=A0 =C2=A0Run o=
 ut cancel =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00<br>204 253 =C2=
 =A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Soft =
 ECC correction =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br>205 253 =C2=A0 =C2=A00 =C2=
 =A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Thermal asperity che=
 ck =C2=A0 =C2=A0 =C2=A00<br>207 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0o=
 nline =C2=A0positive =C2=A0 =C2=A0Spin high current =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 =C2=A0 0<br>208 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=
 =A0positive =C2=A0 =C2=A0Spin buzz =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 0<br>209 185 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=
 =A0offline positive =C2=A0 =C2=A0Offline seek performance =C2=A0 =C2=A00<br=
 >kawaii#=C2=A0<br></div><div><br></div><div>Both drives exhibited the rndct=
 l crash problem.</div><div><br></div><div>I suspect the Mac&#39;s onboard I=
 DE controller is flakey, as it is known to be wacky. See the following link=
 :</div><div><a href=3D"https://en.wikipedia.org/wiki/Power_Macintosh_G3#Blu=
 e_and_White_2">https://en.wikipedia.org/wiki/Power_Macintosh_G3#Blue_and_Wh=
 ite_2</a><br></div><div><br></div><div>I have the &quot;good&quot; revision=
  2 motherboard, which some people think is also quirky.</div><div><br></div=
 ><div>My next plan is to modify the kernel to turn off UDMA mode on the har=
 d disk using the wd flags, see if that resolves the problem.</div><div><br>=
 </div><div>Thanks to all for helping to narrow down the cause of the proble=
 m.</div></div></div>

 --0000000000004fcfe6062c7a17fe--

From: Chris Tucker <capa150@gmail.com>
To: gnats-bugs@netbsd.org, port-macppc-maintainer@netbsd.org, 
	gnats-admin@netbsd.org
Cc: 
Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&w G3
Date: Wed, 5 Feb 2025 21:33:29 -0800

 --000000000000a7016b062d7295fe
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 Modifying the kernel to turn off UDMA and even DMA did not resolve the
 problem when running the drive off the motherboard UDMA port.

 (Also, as an aside, I got no rndctl crashes when I ran the drive off
 the "IDE" port on the Mac's motherboard, which is normally used for the
 CDROM and different from the UDMA port)

 I purchased a Sonnet ATA Tempo 133 IDE controller and connected the drive
 to it.

 This eliminated the rndctl problem entirely when using the unaltered
 GENERIC kernel. I ran a script to test rndctl 250 times for both load and
 save. The Mac never crashed.

 However, there was a new problem: I got well over 100 repeated
 warnings/errors:
 wd0: error reading fsbn ... xfer f70, retry 0
 wd0: (aborted command, interface CRC error)
 wd0: soft error (corrected) xfer f70

 These errors occur during the installer process, making it difficult to
 read. It does successfully install, however.
 The errors also occur during boot and normal operation.

 I am using a short UDMA cable.

 According to https://mail-index.netbsd.org/tech-kern/2005/08/24/0000.html
 CRC errors are harmless as long as they do not occur often:

 [quote]
 "This is harmless as long as it doesn't occur often. This means that
 the data got corrupted during transfers on the IDE bus, and this was
 detected by the Ultra-DMA CRC function (in this case the driver just redo
 the
 transfers). It's expected to see occasionnal CRC errors on Ultra-DMA IDE
 busses, this bus just can't do reliable data transmission at this speed
 (PATA Ultra-DMA could be called a hardware hack :)"

 I also noted that during boot there was a message along the lines
 of "transfer error downgrading to udma mode 3"

 This blue and white G3 officially only does UDMA mode 2. So the system was
 trying initially to use udma mode 4, then dropped down to mode 3, causing
 errors along the way.

 Taking that as a clue, I modified the kernel "wd" flag to 0x0aac (udma mode
 2, dma mode 2, pio mode 4) and rebooted. The numerous error messages were
 no longer manifesting at all. (though they would still appear during
 install, since I haven't modified the install kernel. Can I just copy my
 modded kernel to the installer? Or does the installer kernel do some
 special and different stuff?)

 Also I plan on looking into a means of quieting the console error messages
 during install.


 On Fri, Jan 24, 2025 at 1:05=E2=80=AFPM Chris Tucker <capa150@gmail.com> wr=
 ote:

 >
 >
 > On Thu, Jan 23, 2025 at 3:25=E2=80=AFAM Martin Husemann via gnats <
 > gnats-admin@netbsd.org> wrote:
 >
 >> The following reply was made to PR port-macppc/59014; it has been noted
 >> by GNATS.
 >>
 >> From: Martin Husemann <martin@duskware.de>
 >> To: gnats-bugs@netbsd.org
 >> Cc:
 >> Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc
 >> b&w G3
 >> Date: Thu, 23 Jan 2025 12:22:25 +0100
 >>
 >>  >  netbsd# rndctl -S seed2   (works)
 >>  >  netbsd# rndctl -S seed2   (works)
 >>  >  netbsd# rndctl -S seed2   (works)
 >>  >  netbsd# rndctl -S seed2   (freezes, and I press ctrl-t)
 >>  >  [ 139.8510292] load: 0.42  cmd: rndctl 633 [biowait] 0.01u 0.00s 0%
 >> 1424k
 >>
 >>  Just for completenes: could you mount a tmpfs on /tmp (if you haven't
 >>  that already as part of your standard install) and then try again with =
 a
 >>  sequence of
 >>
 >>         # rndctl -S /tmp/seed
 >>
 >>  One other thing to check if the drive knows it is failing:
 >>
 >>         # atactl wd0 smart status
 >>
 >>  This could be the disk not giving up on the sector (and remapping it
 >> yet),
 >>  but running into issues whenever trying to write it. I would expect
 >>  dmesg spam from that though.
 >>
 >>  If you have anything but the fresh install on the disk, I would do a
 >> backup
 >>  ASAP.
 >>
 >>  Martin
 >>
 >> A terrific idea!
 >
 > I did a
 > mount -t tmpfs tmpfs /tmp
 > followed by
 > # rndctl -S /tmp/seed
 > I repeated the rndctl -S command above 32 times for good measure with no
 > errors. I also did a rndctl -L off the tmpfs another 32 times without err=
 or
 > (seems to have eliminated the problem).
 >
 > Smart on my IBM  DJSA-220  test-install drive running NetBSD 10.1:
 > netbsd# atactl wd0 smart status
 > SMART supported, SMART enabled
 > id value thresh crit collect reliability description                 raw
 >   1 100   62     yes online  positive    Raw read error rate         0
 >   2 100   40     yes offline positive    Throughput performance      0
 >   3 102   33     yes online  positive    Spin-up time
 >  107374182402
 >   4 100    0     no  online  positive    Start/stop count            1506
 >   5 100    5     yes online  positive    Reallocated sector count    0
 >   7 100   67     yes online  positive    Seek error rate             0
 >   8 100   40     yes offline positive    Seek time performance       0
 >   9  57    0     no  online  positive    Power-on hours count        1906=
 7
 >  10 100   60     yes online  positive    Spin retry count            0
 >  12 100    0     no  online  positive    Device power cycle count    1391
 > 191 100    0     no  online  positive    G-sense error rate          0
 > 192 100    0     no  online  positive    Power-off retract count     86
 > 193   1   50     no  online  negative    Load cycle count
 >  1059282
 > 196 100    0     no  online  positive    Reallocated event count     7
 > 197 100    0     no  online  positive    Current pending sector      2
 > 198 100    0     no  offline positive    Offline uncorrectable       0
 > 199 200    0     no  online  positive    Ultra DMA CRC error count   127
 > netbsd#
 >
 > Smart on my Maxtor DiamondMax Plus 8 (new old stock) NetBSD 9.1 system:
 > kawaii# atactl wd0 smart status
 > SMART supported, SMART enabled
 > id value thresh crit collect reliability description                 raw
 >   3 221   63     yes online  positive    Spin-up time                1138=
 5
 >   4 253    0     no  online  positive    Start/stop count            185
 >   5 253   63     yes online  positive    Reallocated sector count    0
 >   6 253  100     yes offline positive    Read channel margin         0
 >   7 253    0     no  online  positive    Seek error rate             0
 >   8 252  187     yes online  positive    Seek time performance       5288=
 6
 >   9 253    0     no  online  positive    Power-on hours count        6774
 >  10 253  157     yes online  positive    Spin retry count            0
 >  11 253  223     yes online  positive    Calibration retry count     0
 >  12 253    0     no  online  positive    Device power cycle count    177
 >  99 253    0     no  offline positive    Unknown                     0
 > 100 253    0     no  offline positive    Erase/Program Cycles        0
 > 101 253    0     no  offline positive    Unknown                     0
 > 192 253    0     no  online  positive    Power-off retract count     120
 > 193 253    0     no  online  positive    Load cycle count            191
 > 194 253    0     no  online  positive    Temperature                 42
 > 195 253    0     no  online  positive    Hardware ECC Recovered      2226
 > 196 253    0     no  offline positive    Reallocated event count     0
 > 197 253    0     no  offline positive    Current pending sector      0
 > 198 253    0     no  offline positive    Offline uncorrectable       0
 > 199 199    0     no  offline positive    Ultra DMA CRC error count   1
 > 200 253    0     no  online  positive    Write error rate            0
 > 201 253    0     no  online  positive    Soft read error rate        3
 > 202 253    0     no  online  positive    Data address mark errors    0
 > 203 253  180     yes online  positive    Run out cancel              0
 > 204 253    0     no  online  positive    Soft ECC correction         0
 > 205 253    0     no  online  positive    Thermal asperity check      0
 > 207 253    0     no  online  positive    Spin high current           0
 > 208 253    0     no  online  positive    Spin buzz                   0
 > 209 185    0     no  offline positive    Offline seek performance    0
 > kawaii#
 >
 > Both drives exhibited the rndctl crash problem.
 >
 > I suspect the Mac's onboard IDE controller is flakey, as it is known to b=
 e
 > wacky. See the following link:
 > https://en.wikipedia.org/wiki/Power_Macintosh_G3#Blue_and_White_2
 >
 > I have the "good" revision 2 motherboard, which some people think is also
 > quirky.
 >
 > My next plan is to modify the kernel to turn off UDMA mode on the hard
 > disk using the wd flags, see if that resolves the problem.
 >
 > Thanks to all for helping to narrow down the cause of the problem.
 >

 --000000000000a7016b062d7295fe
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr">Modifying the kernel to turn off UDMA and even DMA did not=
  resolve the problem when running=C2=A0the drive off the motherboard UDMA p=
 ort.<div><br></div><div><div>(Also, as an aside, I got no rndctl crashes wh=
 en I ran the drive off the=C2=A0&quot;IDE&quot; port on the Mac&#39;s mothe=
 rboard, which is normally used for the CDROM and different from the UDMA po=
 rt)</div></div><div><br></div><div>I purchased a Sonnet ATA Tempo 133 IDE c=
 ontroller and connected the drive to it.</div><div><br></div><div>This elim=
 inated the rndctl problem entirely when using the unaltered GENERIC kernel.=
  I ran a script to test=C2=A0rndctl 250 times for both load and save. The M=
 ac never crashed.</div><div><br></div><div>However, there was a new problem=
 : I got well over 100 repeated warnings/errors:</div><div>wd0: error readin=
 g fsbn ... xfer f70, retry 0</div><div>wd0: (aborted command, interface CRC=
  error)</div><div>wd0: soft error (corrected) xfer f70</div><div><br></div>=
 <div>These errors occur during the installer process, making it difficult t=
 o read. It does successfully install, however.</div><div>The errors also oc=
 cur during boot and normal operation.</div><div><br></div><div>I am using a=
  short UDMA cable.</div><div><br></div><div>According to=C2=A0<a href=3D"ht=
 tps://mail-index.netbsd.org/tech-kern/2005/08/24/0000.html">https://mail-in=
 dex.netbsd.org/tech-kern/2005/08/24/0000.html</a> CRC errors are harmless a=
 s long as they do not occur often:</div><div><br></div><div>[quote]</div><d=
 iv>&quot;This is harmless as long as it doesn&#39;t occur often. This means=
  that</div>the data got corrupted during transfers on the IDE bus, and this=
  was<br>detected by the Ultra-DMA CRC function (in this case the driver jus=
 t redo the<br>transfers). It&#39;s expected to see occasionnal CRC errors o=
 n Ultra-DMA IDE<br>busses, this bus just can&#39;t do reliable data transmi=
 ssion at this speed<br>(PATA Ultra-DMA could be called a hardware hack :)&q=
 uot;<div><div><br></div><div>I also noted that during boot there was a mess=
 age along the lines of=C2=A0&quot;transfer error downgrading to udma mode 3=
 &quot;</div><div>=C2=A0</div><div>This blue and white G3 officially=C2=A0on=
 ly does UDMA mode 2. So the system was trying initially to use udma mode 4,=
  then dropped down to mode 3, causing errors along the way.</div><div><br><=
 /div><div>Taking that as a clue, I modified the kernel &quot;wd&quot; flag =
 to 0x0aac (udma mode 2, dma mode 2, pio mode 4) and rebooted. The numerous =
 error messages were no longer manifesting at all. (though they would still =
 appear during install, since I haven&#39;t modified the install kernel. Can=
  I just copy my modded kernel to the installer? Or does the installer kerne=
 l do some special and different stuff?)</div><div><br></div><div>Also I pla=
 n on looking into a means of quieting the console error messages during ins=
 tall.</div><div><br></div></div></div><br><div class=3D"gmail_quote gmail_q=
 uote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jan 24, 2025 =
 at 1:05=E2=80=AFPM Chris Tucker &lt;<a href=3D"mailto:capa150@gmail.com">ca=
 pa150@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
 tyle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:so=
 lid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><=
 div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" c=
 lass=3D"gmail_attr">On Thu, Jan 23, 2025 at 3:25=E2=80=AFAM Martin Husemann=
  via gnats &lt;<a href=3D"mailto:gnats-admin@netbsd.org" target=3D"_blank">=
 gnats-admin@netbsd.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_q=
 uote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-s=
 tyle:solid;border-left-color:rgb(204,204,204);padding-left:1ex">The followi=
 ng reply was made to PR port-macppc/59014; it has been noted by GNATS.<br>
 <br>
 From: Martin Husemann &lt;<a href=3D"mailto:martin@duskware.de" target=3D"_=
 blank">martin@duskware.de</a>&gt;<br>
 To: <a href=3D"mailto:gnats-bugs@netbsd.org" target=3D"_blank">gnats-bugs@n=
 etbsd.org</a><br>
 Cc: <br>
 Subject: Re: port-macppc/59014: Shutdown -r now often freezes on macppc b&a=
 mp;w G3<br>
 Date: Thu, 23 Jan 2025 12:22:25 +0100<br>
 <br>
 =C2=A0&gt;=C2=A0 netbsd# rndctl -S seed2=C2=A0 =C2=A0(works)<br>
 =C2=A0&gt;=C2=A0 netbsd# rndctl -S seed2=C2=A0 =C2=A0(works)<br>
 =C2=A0&gt;=C2=A0 netbsd# rndctl -S seed2=C2=A0 =C2=A0(works)<br>
 =C2=A0&gt;=C2=A0 netbsd# rndctl -S seed2=C2=A0 =C2=A0(freezes, and I press =
 ctrl-t)<br>
 =C2=A0&gt;=C2=A0 [ 139.8510292] load: 0.42=C2=A0 cmd: rndctl 633 [biowait] =
 0.01u 0.00s 0% 1424k<br>
 <br>
 =C2=A0Just for completenes: could you mount a tmpfs on /tmp (if you haven&#=
 39;t<br>
 =C2=A0that already as part of your standard install) and then try again wit=
 h a<br>
 =C2=A0sequence of<br>
 <br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # rndctl -S /tmp/seed<br>
 <br>
 =C2=A0One other thing to check if the drive knows it is failing:<br>
 <br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # atactl wd0 smart status<br>
 <br>
 =C2=A0This could be the disk not giving up on the sector (and remapping it =
 yet),<br>
 =C2=A0but running into issues whenever trying to write it. I would expect<b=
 r>
 =C2=A0dmesg spam from that though.<br>
 <br>
 =C2=A0If you have anything but the fresh install on the disk, I would do a =
 backup<br>
 =C2=A0ASAP.<br>
 <br>
 =C2=A0Martin<br>
 <br></blockquote><div>A terrific idea!</div><div><br></div><div>I did a</di=
 v><div>mount -t tmpfs tmpfs /tmp=C2=A0</div><div>followed by=C2=A0</div><di=
 v># rndctl -S /tmp/seed</div><div>I repeated the rndctl -S command above 32=
  times for good measure with no errors. I also did a rndctl -L off the tmpf=
 s another 32 times without error (seems to have eliminated the problem).=C2=
 =A0</div><div><br></div><div>Smart on my IBM=C2=A0<span>=C2=A0</span>DJSA-2=
 20 =C2=A0test-install drive running NetBSD 10.1:</div><div>netbsd# atactl w=
 d0 smart status<br>SMART supported, SMART enabled<br>id value thresh crit c=
 ollect reliability description =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 =C2=A0 raw<br>=C2=A0 1 100 =C2=A0 62 =C2=A0 =C2=A0 yes online =C2=A0=
 positive =C2=A0 =C2=A0Raw read error rate =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br>=
 =C2=A0 2 100 =C2=A0 40 =C2=A0 =C2=A0 yes offline positive =C2=A0 =C2=A0Thro=
 ughput performance =C2=A0 =C2=A0 =C2=A00<br>=C2=A0 3 102 =C2=A0 33 =C2=A0 =
 =C2=A0 yes online =C2=A0positive =C2=A0 =C2=A0Spin-up time =C2=A0 =C2=A0 =
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0107374182402<br>=C2=A0 4 100 =C2=
 =A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Start=
 /stop count =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01506<br>=C2=A0 5 100 =
 =C2=A0 =C2=A05 =C2=A0 =C2=A0 yes online =C2=A0positive =C2=A0 =C2=A0Realloc=
 ated sector count =C2=A0 =C2=A00<br>=C2=A0 7 100 =C2=A0 67 =C2=A0 =C2=A0 ye=
 s online =C2=A0positive =C2=A0 =C2=A0Seek error rate =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 =C2=A0 =C2=A0 0<br>=C2=A0 8 100 =C2=A0 40 =C2=A0 =C2=A0 yes offline =
 positive =C2=A0 =C2=A0Seek time performance =C2=A0 =C2=A0 =C2=A0 0<br>=C2=
 =A0 9 =C2=A057 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =
 =C2=A0 =C2=A0Power-on hours count =C2=A0 =C2=A0 =C2=A0 =C2=A019067<br>=C2=
 =A010 100 =C2=A0 60 =C2=A0 =C2=A0 yes online =C2=A0positive =C2=A0 =C2=A0Sp=
 in retry count =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00<br>=C2=A012 100 =
 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0De=
 vice power cycle count =C2=A0 =C2=A01391<br>191 100 =C2=A0 =C2=A00 =C2=A0 =
 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0G-sense error rate =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00<br>192 100 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no=
  =C2=A0online =C2=A0positive =C2=A0 =C2=A0Power-off retract count =C2=A0 =
 =C2=A0 86<br>193 =C2=A0 1 =C2=A0 50 =C2=A0 =C2=A0 no =C2=A0online =C2=A0neg=
 ative =C2=A0 =C2=A0Load cycle count =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A01059282<br>196 100 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0po=
 sitive =C2=A0 =C2=A0Reallocated event count =C2=A0 =C2=A0 7<br>197 100 =C2=
 =A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Curre=
 nt pending sector =C2=A0 =C2=A0 =C2=A02<br>198 100 =C2=A0 =C2=A00 =C2=A0 =
 =C2=A0 no =C2=A0offline positive =C2=A0 =C2=A0Offline uncorrectable =C2=A0 =
 =C2=A0 =C2=A0 0<br>199 200 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=
 =A0positive =C2=A0 =C2=A0Ultra DMA CRC error count =C2=A0 127<br>netbsd#=C2=
 =A0<br></div><div><br></div><div>Smart on my Maxtor DiamondMax=C2=A0Plus 8 =
 (new old stock) NetBSD 9.1 system:</div><div>kawaii# atactl wd0 smart statu=
 s<br>SMART supported, SMART enabled<br>id value thresh crit collect reliabi=
 lity description =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ra=
 w<br>=C2=A0 3 221 =C2=A0 63 =C2=A0 =C2=A0 yes online =C2=A0positive =C2=A0 =
 =C2=A0Spin-up time =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01=
 1385<br>=C2=A0 4 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0pos=
 itive =C2=A0 =C2=A0Start/stop count =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0185<br>=C2=A0 5 253 =C2=A0 63 =C2=A0 =C2=A0 yes online =C2=A0positive =
 =C2=A0 =C2=A0Reallocated sector count =C2=A0 =C2=A00<br>=C2=A0 6 253 =C2=A0=
 100 =C2=A0 =C2=A0 yes offline positive =C2=A0 =C2=A0Read channel margin =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 0<br>=C2=A0 7 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =
 =C2=A0online =C2=A0positive =C2=A0 =C2=A0Seek error rate =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 0<br>=C2=A0 8 252 =C2=A0187 =C2=A0 =C2=A0 yes onli=
 ne =C2=A0positive =C2=A0 =C2=A0Seek time performance =C2=A0 =C2=A0 =C2=A0 5=
 2886<br>=C2=A0 9 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0pos=
 itive =C2=A0 =C2=A0Power-on hours count =C2=A0 =C2=A0 =C2=A0 =C2=A06774<br>=
 =C2=A010 253 =C2=A0157 =C2=A0 =C2=A0 yes online =C2=A0positive =C2=A0 =C2=
 =A0Spin retry count =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00<br>=C2=A011 =
 253 =C2=A0223 =C2=A0 =C2=A0 yes online =C2=A0positive =C2=A0 =C2=A0Calibrat=
 ion retry count =C2=A0 =C2=A0 0<br>=C2=A012 253 =C2=A0 =C2=A00 =C2=A0 =C2=
 =A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Device power cycle count =
 =C2=A0 =C2=A0177<br>=C2=A099 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0offl=
 ine positive =C2=A0 =C2=A0Unknown =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
  =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br>100 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =
 =C2=A0offline positive =C2=A0 =C2=A0Erase/Program Cycles =C2=A0 =C2=A0 =C2=
 =A0 =C2=A00<br>101 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0offline positi=
 ve =C2=A0 =C2=A0Unknown =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 =C2=A0 =C2=A0 0<br>192 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0onl=
 ine =C2=A0positive =C2=A0 =C2=A0Power-off retract count =C2=A0 =C2=A0 120<b=
 r>193 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=
 =A0 =C2=A0Load cycle count =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0191<br>=
 194 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =
 =C2=A0Temperature =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4=
 2<br>195 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =
 =C2=A0 =C2=A0Hardware ECC Recovered =C2=A0 =C2=A0 =C2=A02226<br>196 253 =C2=
 =A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0offline positive =C2=A0 =C2=A0Reallocate=
 d event count =C2=A0 =C2=A0 0<br>197 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =
 =C2=A0offline positive =C2=A0 =C2=A0Current pending sector =C2=A0 =C2=A0 =
 =C2=A00<br>198 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0offline positive =
 =C2=A0 =C2=A0Offline uncorrectable =C2=A0 =C2=A0 =C2=A0 0<br>199 199 =C2=A0=
  =C2=A00 =C2=A0 =C2=A0 no =C2=A0offline positive =C2=A0 =C2=A0Ultra DMA CRC=
  error count =C2=A0 1<br>200 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0onli=
 ne =C2=A0positive =C2=A0 =C2=A0Write error rate =C2=A0 =C2=A0 =C2=A0 =C2=A0=
  =C2=A0 =C2=A00<br>201 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=
 =A0positive =C2=A0 =C2=A0Soft read error rate =C2=A0 =C2=A0 =C2=A0 =C2=A03<=
 br>202 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=
 =A0 =C2=A0Data address mark errors =C2=A0 =C2=A00<br>203 253 =C2=A0180 =C2=
 =A0 =C2=A0 yes online =C2=A0positive =C2=A0 =C2=A0Run out cancel =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00<br>204 253 =C2=A0 =C2=A00 =C2=A0 =
 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =C2=A0Soft ECC correction =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 0<br>205 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=
 =A0online =C2=A0positive =C2=A0 =C2=A0Thermal asperity check =C2=A0 =C2=A0 =
 =C2=A00<br>207 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0posit=
 ive =C2=A0 =C2=A0Spin high current =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br>=
 208 253 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0online =C2=A0positive =C2=A0 =
 =C2=A0Spin buzz =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0 0<br>209 185 =C2=A0 =C2=A00 =C2=A0 =C2=A0 no =C2=A0offline positive =C2=
 =A0 =C2=A0Offline seek performance =C2=A0 =C2=A00<br>kawaii#=C2=A0<br></div=
 ><div><br></div><div>Both drives exhibited the rndctl crash problem.</div><=
 div><br></div><div>I suspect the Mac&#39;s onboard IDE controller is flakey=
 , as it is known to be wacky. See the following link:</div><div><a href=3D"=
 https://en.wikipedia.org/wiki/Power_Macintosh_G3#Blue_and_White_2" target=
 =3D"_blank">https://en.wikipedia.org/wiki/Power_Macintosh_G3#Blue_and_White=
 _2</a><br></div><div><br></div><div>I have the &quot;good&quot; revision 2 =
 motherboard, which some people think is also quirky.</div><div><br></div><d=
 iv>My next plan is to modify the kernel to turn off UDMA mode on the hard d=
 isk using the wd flags, see if that resolves the problem.</div><div><br></d=
 iv><div>Thanks to all for helping to narrow down the cause of the problem.<=
 /div></div></div>
 </blockquote></div>

 --000000000000a7016b062d7295fe--

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.