Date: Sat, 18 May 2019 20:13:24 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 237590] powerpc64 PowerMac11,2 and 7,2 context, -r330614 and later (including -r345758): "ofwdump -ap" crashes the system; probable -r330610 "cause" Message-ID: <bug-237590-227-USX75WWPCd@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237590-227@https.bugs.freebsd.org/bugzilla/> References: <bug-237590-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237590 --- Comment #3 from Mark Millard <marklmi26-fbsd@yahoo.com> --- [The following is from a head -r347549 based context.] I have isolated the call into openfirmware that leads to the crash. Running ( truss ofwdump -ap ) 2>&1 on the console left me able to take a picture at the end. Then under (a patched-up) usefdt mode I was able to what would normally be next. The crash was shown after (from the usefdt mode context were I could save the output): name: write(1," name:\n",12) =3D 12 (0xc) 6f 62 70 2d 74 66 74 70 00=20 write(1," 6f 62 70 2d 74 66 74 70 "...,36) =3D 36 (0x24) 'obp-tftp' write(1," 'obp-tftp'\n",19) =3D 19 (0x13) ioctl(3,OFIOCNEXTPROP,0x3fffffffffffd648) =3D 0 (0x0) ioctl(3,OFIOCGETPROPLEN,0x3fffffffffffd528) =3D 0 (0x0) ioctl(3,OFIOCGET,0x3fffffffffffd508) =3D 0 (0x0) stats: write(1," stats:\n",13) =3D 13 (0xd) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 write(1," 00 00 00 00 00 00 00 00 "...,69) =3D 69 (0x45) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 write(1," 00 00 00 00 00 00 00 00 "...,69) =3D 69 (0x45) ioctl(3,OFIOCNEXTPROP,0x3fffffffffffd648) =3D 0 (0x0) ioctl(3,OFIOCGETPROPLEN,0x3fffffffffffd528) =3D 0 (0x0) Then was: timeput stopping cpus [ thread pid 11 tid 100003 ] Stopped at k_trap_0x28: stdu r31,r2,0xfd50 db> (I'll note that the last two addresses in the last two ioctl's shows addresses ending in fd678 and fd558 in the crashing context [non-usefdt mode]. In general the address are not exact matches for the two boot modes.) But note that truss reports commands after they finish. (See the writes above.) So the processor was likely working on the command that followed. That was the OFIOCGET for the fairly large log property (text from non-usefdt mode output, no crash): ioctl(3,OFIOCGET,0x3fffffffffffd508) =3D 0 (0x0) log: write(1," log:\n",11) =3D 11 (0xb) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 write(1," 00 00 00 00 00 00 00 00 "...,69) =3D 69 (0x45) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 . . . (I'll not list the large block of output for reporting the log area.) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237590-227-USX75WWPCd>