https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237590
--- Comment #3 from Mark Millard <[email protected]> --- [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) = 12 (0xc) 6f 62 70 2d 74 66 74 70 00 write(1," 6f 62 70 2d 74 66 74 70 "...,36) = 36 (0x24) 'obp-tftp' write(1," 'obp-tftp'\n",19) = 19 (0x13) ioctl(3,OFIOCNEXTPROP,0x3fffffffffffd648) = 0 (0x0) ioctl(3,OFIOCGETPROPLEN,0x3fffffffffffd528) = 0 (0x0) ioctl(3,OFIOCGET,0x3fffffffffffd508) = 0 (0x0) stats: write(1," stats:\n",13) = 13 (0xd) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 write(1," 00 00 00 00 00 00 00 00 "...,69) = 69 (0x45) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 write(1," 00 00 00 00 00 00 00 00 "...,69) = 69 (0x45) ioctl(3,OFIOCNEXTPROP,0x3fffffffffffd648) = 0 (0x0) ioctl(3,OFIOCGETPROPLEN,0x3fffffffffffd528) = 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) = 0 (0x0) log: write(1," log:\n",11) = 11 (0xb) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 write(1," 00 00 00 00 00 00 00 00 "...,69) = 69 (0x45) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 . . . (I'll not list the large block of output for reporting the log area.) -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
