tag:blogger.com,1999:blog-26093468175355644122024-03-15T18:11:14.802-04:00Crumbs from the sporkjspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.comBlogger318125tag:blogger.com,1999:blog-2609346817535564412.post-25560825074932400842024-03-04T07:25:00.004-05:002024-03-04T11:11:49.350-05:00Screen Scraping GIS Tax Ditch Lines Substandard<p>Better to get the GIS data someone else has already digitized than to try to digitize from a screenshot. That is what I tried a few months back before I found better source data recently delineating where stormwater drainage goes.</p><p>The idea that ditches are taxable, or tax exempt, is still mysterious to me, but we have them in Maryland.</p><p><a href="https://geodata.md.gov/imap/rest/services/Agriculture/MD_NutrientManagementSetbacksFromWaterways/MapServer/5">https://geodata.md.gov/imap/rest/services/Agriculture/MD_NutrientManagementSetbacksFromWaterways/MapServer/5</a></p><p><i>"Description: This is a 35 foot buffer area along PDA ditches where fertilizer applications are restricted on croplands."</i></p><div>A PDA is a "Public Ditch Association." Essentially we've already done the environmental damage cutting down the forests and then terraforming the soil for industrial crop harvests. The ditches stretch for miles in some Eastern Shore counties. Taxes pay for the maintenance, as roadside ditches will fill in with dirt and trash otherwise. </div><div><br /></div><div>Initially I found maps showing the ditches, and the surrounding service area, as online maps.</div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEi-yaTXdke56FajfEFvMOuQpSXnWOoqDGT7hOHRYNt-YGozIElvoUuiDS12BD8hFoPM-oYr1-X2_HHLUQFEvlA06EjxRU8yeXOL0xTCn5156L2BajoC87Pge4cSQ_eqbraW6V3EqE3SuPgTAVvkC1rxar4iZgM3bc5B3WkCGabeVZDGaiSoAGzYzAasmhTq" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="521" data-original-width="525" height="397" src="https://blogger.googleusercontent.com/img/a/AVvXsEi-yaTXdke56FajfEFvMOuQpSXnWOoqDGT7hOHRYNt-YGozIElvoUuiDS12BD8hFoPM-oYr1-X2_HHLUQFEvlA06EjxRU8yeXOL0xTCn5156L2BajoC87Pge4cSQ_eqbraW6V3EqE3SuPgTAVvkC1rxar4iZgM3bc5B3WkCGabeVZDGaiSoAGzYzAasmhTq=w400-h397" width="400" /></a></div><br /><br /></div><div>And a map of fire coverage.</div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEi9scl_ruUp4i_2HCpsCwmKEgr_HhgzuD2HRnxuJBLCGv2kBY29LCk09yTEAwuRh6AWz6TxRzUKDSKGvJ8_IYpcDWpcTWhJYpW3HJd-Mdejlm9ezGgVOSmVaC6lHaSSsHBI71nArvIAUYHkE9EptG4alGGS4iKdIoIjiNtnsIWsuWPvtjwxEk9IaxQy0Ag7" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="849" data-original-width="1019" height="333" src="https://blogger.googleusercontent.com/img/a/AVvXsEi9scl_ruUp4i_2HCpsCwmKEgr_HhgzuD2HRnxuJBLCGv2kBY29LCk09yTEAwuRh6AWz6TxRzUKDSKGvJ8_IYpcDWpcTWhJYpW3HJd-Mdejlm9ezGgVOSmVaC6lHaSSsHBI71nArvIAUYHkE9EptG4alGGS4iKdIoIjiNtnsIWsuWPvtjwxEk9IaxQy0Ag7=w400-h333" width="400" /></a></div><br /><br /></div><div>One good starting point for "ditches" is <a href="https://data.imap.maryland.gov/search?collection=dataset&q=ditch">https://data.imap.maryland.gov/search?collection=dataset&q=ditch</a>. I followed QGis tutorial lessons [<a href="https://docs.qgis.org/3.34/en/docs/training_manual/forestry/stands_digitizing.html">https://docs.qgis.org/3.34/en/docs/training_manual/forestry/stands_digitizing.html</a>], digitizing the above into 2 layers, one for the boundaries and one for the lines. Not very good resolution when you zoom in.</div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgzo3ciCo4Bc5WgN5ex1ibu-vfHTLd_B0JnTBRsdvLQK-nL--3I_In14ePnsJOZz39wzvio994qSSoasYrGf1zlhMV4kdlEL5BhHwDKTZhHdPUy0C2nBsbEEp8sTf7c_3GTwPH0wilyZ4GEiAIkRmczyK3NlnP5VMcDdP-hew5CwsYZbUFAv1p6GWE4bPtN" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="534" data-original-width="871" height="245" src="https://blogger.googleusercontent.com/img/a/AVvXsEgzo3ciCo4Bc5WgN5ex1ibu-vfHTLd_B0JnTBRsdvLQK-nL--3I_In14ePnsJOZz39wzvio994qSSoasYrGf1zlhMV4kdlEL5BhHwDKTZhHdPUy0C2nBsbEEp8sTf7c_3GTwPH0wilyZ4GEiAIkRmczyK3NlnP5VMcDdP-hew5CwsYZbUFAv1p6GWE4bPtN=w400-h245" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQspuTmtpPEUGshkoqAQoITG6R-bcE-1OLr27B9atKaswxiMZIt9Qz4vjw_J1uqI903aqgiL9JKMH-4j3_6HC01gz87CgEvWJOOUBE8PeOBILenBeuvRnkPUBwoNB4yFVPjiFBJLssERCcyvQ6pyPIHdBzhwtWk2lrX_snQ6X_qiedXINY6uGgT0jh45vF/s1092/trinity-map-20240110.jpeg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="764" data-original-width="1092" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQspuTmtpPEUGshkoqAQoITG6R-bcE-1OLr27B9atKaswxiMZIt9Qz4vjw_J1uqI903aqgiL9JKMH-4j3_6HC01gz87CgEvWJOOUBE8PeOBILenBeuvRnkPUBwoNB4yFVPjiFBJLssERCcyvQ6pyPIHdBzhwtWk2lrX_snQ6X_qiedXINY6uGgT0jh45vF/w400-h280/trinity-map-20240110.jpeg" width="400" /></a></div><br /><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">I found, after searching with different criteria, similar tax ditch geo-data in the Maryland State site, and the Eastern Shore collective site. So instead of trying to redo the digitizing effort I could skip that part. </div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both;"><a href="https://data-maryland.opendata.arcgis.com/datasets/1ad8de34212c4a1cbc41c2d989ba0582/explore?location=39.059721%2C-75.779000%2C12.34">https://data-maryland.opendata.arcgis.com/datasets/1ad8de34212c4a1cbc41c2d989ba0582/explore?location=39.059721%2C-75.779000%2C12.34</a></div><div><br /></div><div><div><a href="https://esrgc.org/data/taxditch">https://esrgc.org/data/taxditch</a></div></div><div><br /></div></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both;"><a href="https://salisburyu.maps.arcgis.com/apps/webappviewer/index.html?id=6da9e776a0eb492c8b70b43d44a49c53">https://salisburyu.maps.arcgis.com/apps/webappviewer/index.html?id=6da9e776a0eb492c8b70b43d44a49c53</a></div><div><br /></div></div>When I downloaded the shape files, they looked good. But when I tried to pull them into a PostgreSQL database, the points flew somewhere else. I am unsure what was missed. I made a second attempt by downloading a KML file instead of a set of shape files. These lines and areas worked, after a fashion. My PostGIS skills are still pretty fresh, like only this year did I run a local database. </div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnvmqobP_1KGmiEcSSTu2KuVoJtLQk5lcymPT22rbknB9yyEvWqqq4PId4-lxkdGX8-XS3jh_g6i6d_ZJYCvsSUYxrxrC_2WQqr8de_si_hhyphenhyphenmK0OvGmjEImAQZLfwL_aw37Qgd6kfdE9_ocU_AMN6D6H03YM4DV6W7vNvlc3ZvJIcaKfIZAhbYlsPC2_n/s1092/trinity-map-20240301.jpeg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="764" data-original-width="1092" height="448" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnvmqobP_1KGmiEcSSTu2KuVoJtLQk5lcymPT22rbknB9yyEvWqqq4PId4-lxkdGX8-XS3jh_g6i6d_ZJYCvsSUYxrxrC_2WQqr8de_si_hhyphenhyphenmK0OvGmjEImAQZLfwL_aw37Qgd6kfdE9_ocU_AMN6D6H03YM4DV6W7vNvlc3ZvJIcaKfIZAhbYlsPC2_n/w640-h448/trinity-map-20240301.jpeg" width="640" /></a></div><br /><div>I experimented with arrows for directions, as this helps visualize the land slope, even if miniscule. There is a great example here: <a href="https://docs.qgis.org/3.34/en/docs/training_manual/vector_analysis/network_analysis.html">https://docs.qgis.org/3.34/en/docs/training_manual/vector_analysis/network_analysis.html</a>. The "loop" above is an oddity from the ditch crossing the highway intersection. Changing the scale and map view sometimes triggers taffy-pull looking connection lines.</div><div><br /></div><div>This page has more about rules: <a href="https://plugins.qgis.org/planet/tag/thematics/">https://plugins.qgis.org/planet/tag/thematics/</a>.</div><div><br /></div><div>Next step for me is altering the labels so that roads are distinct from ditches, because there is both a Chicken Bridge Road and a Chicken Bridge drainage area/network. </div><div><br /></div><div><br /></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-27416602818617344862024-02-20T14:28:00.001-05:002024-02-20T14:28:32.303-05:00Well Sample Data and GIS Development<p> I looked at water quality tests for a few private wells in Maryland to be able to better use GIS tools. After reviewing public information I took note of key fields such as well depth. In order to show connections among the various aspects I started an entity relationship diagram, going from basic SQL to end up with 8 tables.</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRU9hD2wowapzIRS9-JclmiHn5H3sv2wQiqBeN5AEAy2rUcPJXeZ-WBnLF6Us72XSQhdRsbTYO_Bxlro_aFpv9ySIZ1WqF42ZDzXlsGbcKCz2f_KZNHX0HTiKkxqJPjg7A-Q66gyBPheeQyTqWsevuuoy0TtZv51lfeN-6DU7pqQjnwr1DCSHIxVDokRTt/s1574/trinity-feb-10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="988" data-original-width="1574" height="402" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRU9hD2wowapzIRS9-JclmiHn5H3sv2wQiqBeN5AEAy2rUcPJXeZ-WBnLF6Us72XSQhdRsbTYO_Bxlro_aFpv9ySIZ1WqF42ZDzXlsGbcKCz2f_KZNHX0HTiKkxqJPjg7A-Q66gyBPheeQyTqWsevuuoy0TtZv51lfeN-6DU7pqQjnwr1DCSHIxVDokRTt/w640-h402/trinity-feb-10.png" width="640" /></a></div><br /><p>In order to keep consistent a few constraints were included, such as:</p><p><br /></p><p><span style="font-family: courier;">ALTER TABLE</span></p><p><span style="font-family: courier;"> well</span></p><p><span style="font-family: courier;">ADD CONSTRAINT</span></p><p><span style="font-family: courier;"> well_fkey_property</span></p><p><span style="font-family: courier;">FOREIGN KEY</span></p><p><span style="font-family: courier;"> (property_fk)</span></p><p><span style="font-family: courier;">REFERENCES</span></p><p><span style="font-family: courier;"> property(name)</span></p><p><span style="font-family: courier;">;</span></p><div><br /></div><div> I decided to connect wells to a property, and buildings likewise. Normally one well is allowed per property, though while a replacement is being drilled one property might have 2 wells, and if a well runs dry you might say the property has no well.</div><div><br /></div><div> The old forms (pre-2000?) have Maryland grid coordinates, with accuracy to 1,000 feet, while the newer forms have a place for latitude/longitude. Water quality tests done by commercial lab contain values of constituents ranging from coliform bacteria to lead and arsenic.</div><div><br /></div><div> Sometimes the applications have typos.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGC4_iAybhamiYixWoaU_Hredw7aaxVDh1VcIi8sqlIlSNmh3o-bjDITHbH9BIhRN1Cb-dfwk40qLb_exqnPJxg8NJTkMD9YZW4V4OPsFUF2Pmy8xLXEZ0xGo40-r2BcAdn2kP_m1sxKiS2tCvWAJsCVCtFCzuEWLJ_WS4gyrxYUjYjFdo3upbLi-vZ9St/s882/well-trinity-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="593" data-original-width="882" height="269" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGC4_iAybhamiYixWoaU_Hredw7aaxVDh1VcIi8sqlIlSNmh3o-bjDITHbH9BIhRN1Cb-dfwk40qLb_exqnPJxg8NJTkMD9YZW4V4OPsFUF2Pmy8xLXEZ0xGo40-r2BcAdn2kP_m1sxKiS2tCvWAJsCVCtFCzuEWLJ_WS4gyrxYUjYjFdo3upbLi-vZ9St/w400-h269/well-trinity-1.png" width="400" /></a></div><br /><div><br /></div><div><br /></div><div>Oops, mixed up east and north. I did the same when I first tried to load point data into GIS; once I noticed the drift and switched the values the wellhead came online where it should be.</div><div><br /></div><div> After the table definitions and test data load I used the QGis example tutorials to include the bits required for my hand-curated data to be mapped correctly.</div><div><br /></div><div>See: </div><div>https://docs.qgis.org/3.28/en/docs/training_manual/spatial_databases/simple_feature_model.html</div><div>https://docs.qgis.org/3.28/en/docs/training_manual/spatial_databases/geometry.html</div><div><br /></div><div><div><span style="font-family: courier;">> insert into geometry_columns values ('','public','well','the_geometry',2,4326,'POINT');</span></div></div><div><br /></div><div><div><span style="font-family: courier;">> update well set the_geometry = 'SRID=4326;POINT(-75.882996 38.938629)' where name = 'CO-15-0020' ;</span></div></div><div><br /></div><div> <div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP4_OOhmFqGAC5q0pvSP67a5-Z3xfLBdB1VD-HCkhuVuiWB3f5Eyg-TIMfzcaLCZ4PJRecqTXSQh7zz2lvK_lQQd0N6_i52TTMCPOGov4jUSaYo82voiKmkojOLfSJ3F6-t-W3_Hrdr7tVLc-7UZiSbjfWC5RScNfuX6jIkKn9kHOCSOQPIP9Pq4BI5sT5/s1334/trinity-feb-19-b.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="643" data-original-width="1334" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP4_OOhmFqGAC5q0pvSP67a5-Z3xfLBdB1VD-HCkhuVuiWB3f5Eyg-TIMfzcaLCZ4PJRecqTXSQh7zz2lvK_lQQd0N6_i52TTMCPOGov4jUSaYo82voiKmkojOLfSJ3F6-t-W3_Hrdr7tVLc-7UZiSbjfWC5RScNfuX6jIkKn9kHOCSOQPIP9Pq4BI5sT5/w640-h308/trinity-feb-19-b.png" width="640" /></a></div><br /></div><div><br /></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTj95NmiKm5YGCyg-2O7jjujcXvn5OnUHvKbXk_X8HgOctKrsonWV2jPG0e6h6NArTzjrXLVlH5PYYpzuw0SCxSoCilWoT44_-JKHA865UZYkndGTZOyf6qztpNXQDCVjnG1s07UR491K3CQKmpeb_WMHlnNGV6KcZEZ00dXQKjrGqhzqUtblhQgUwsnbH/s952/trinity-feb-19-c.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="602" data-original-width="952" height="404" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTj95NmiKm5YGCyg-2O7jjujcXvn5OnUHvKbXk_X8HgOctKrsonWV2jPG0e6h6NArTzjrXLVlH5PYYpzuw0SCxSoCilWoT44_-JKHA865UZYkndGTZOyf6qztpNXQDCVjnG1s07UR491K3CQKmpeb_WMHlnNGV6KcZEZ00dXQKjrGqhzqUtblhQgUwsnbH/w640-h404/trinity-feb-19-c.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">An 8-way join, or is 7-way?</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both;"><span style="font-family: courier;">select</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> r.value , -- value</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> r.uom, -- units</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> p.name as name_p, -- param</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> substr(r.name,1,12) as name_r, -- result</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> s.well_fk as well, -- well</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> s.name as name_s, -- sample</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> substr(s.sample_place,1,4) as place, --</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> substr(p.descr,1,10) as param_desc, --</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> substr(c.name,1,8) as name_c, -- corp</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> w.depth, -- well</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> w.pump_installed as pump, -- well</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> substr(o.lot,1,10) as lot, -- prop</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> e.name as person, -- people</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> s.sample_date</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;">from</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> people e,</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> building b,</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> lab_corp c,</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> lab_sample s,</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> lab_sample_results r,</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> parameter p,</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> property o,</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> well w</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;">where</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> e.building_fk = b.name -- people in building</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;">and</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> b.property_fk = o.name -- building on property</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;">and</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> s.well_fk = w.name -- sample from well</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;">and</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> w.property_fk = o.name -- well on property</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;">and</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> r.parameter_fk = p.name</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;">and</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> r.lab_sample_fk = s.name</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;">and</span></div><div class="separator" style="clear: both;"><span style="font-family: courier;"> s.lab_corp_fk = c.name</span></div><div><span style="font-family: courier;">;</span></div><div><br /></div><div><br /></div><div>What have I accomplished? Now I have environmental data in a reachable database, which I can edit via command line, or even using LibreOffice forms, and now view and update via QGis.</div><div>Next I will figure out the step up from points data (the well heads) to polygons (property lines and building walls). Then, with sample data, set up views with contaminant levels on the map.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidnUZqXaQOiAcMEQqEjMxWVV985ffF6DE5R6aD6LfqTxpz2FC3JY99eltbZPZJMxHwTZ1Wb8bwh-zbKBi0qjoruKMuPOoPdS_xmqz9DTgWy13u11QBgghbPMQxhJsk0dnrmdSYUqUR55gMq7GN5zulUNMLNrxjWpEkqHU69bo5A0KCXXg0j5jbmySwhyphenhyphenmT/s1053/joinery3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="659" data-original-width="1053" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidnUZqXaQOiAcMEQqEjMxWVV985ffF6DE5R6aD6LfqTxpz2FC3JY99eltbZPZJMxHwTZ1Wb8bwh-zbKBi0qjoruKMuPOoPdS_xmqz9DTgWy13u11QBgghbPMQxhJsk0dnrmdSYUqUR55gMq7GN5zulUNMLNrxjWpEkqHU69bo5A0KCXXg0j5jbmySwhyphenhyphenmT/w640-h400/joinery3.png" width="640" /></a></div><br /><div><br /></div><div>Looks a lot like dBASE IV, right? </div><div><br /></div></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-24344057287901133232024-02-04T20:06:00.003-05:002024-02-04T20:06:12.403-05:00Turning "Meats and Bounds" into a Map<p>I came across a section of a scanned municipal blueprint, finding an inset map labelled with "Meats & Bounds", an obvious misspelling of the surveying phrase "Meets & Bounds", the term for property boundary descriptions in a specific style.</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEh1nLFuUOsT65-cAHHhFUHUvywRSwBK-5n9iPejmAEpww5E8joFUVQLwKMPNoimofEV4VPHIckJY0NZt1Zc4JJIuMML7ueu9ddEqk4I_XD5fThfLWptP7UCfZ28sMmU2WaOm8K1FDNnDkgaNGDCajUeezVsuvrjXJoahMzX9v9NidRq9bVPm8nMW3NPgGu_" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="662" data-original-width="1385" height="306" src="https://blogger.googleusercontent.com/img/a/AVvXsEh1nLFuUOsT65-cAHHhFUHUvywRSwBK-5n9iPejmAEpww5E8joFUVQLwKMPNoimofEV4VPHIckJY0NZt1Zc4JJIuMML7ueu9ddEqk4I_XD5fThfLWptP7UCfZ28sMmU2WaOm8K1FDNnDkgaNGDCajUeezVsuvrjXJoahMzX9v9NidRq9bVPm8nMW3NPgGu_=w640-h306" width="640" /></a></div><br /><br /><p></p><p>As I wanted to learn more about the town boundaries for equity reasons I also wanted to continue my journey learning how to use QGIS and related tools. In the QGIS tutorials, I found ways to bring shape files into a PostGIS database, and export shape files from the database. This might be elementary to some, and obscure to others. My notes that follow are the steps I took to go from a relatively simple property boundary (a rectangle) into digital formats, with comments on accuracy or lack thereof.</p><p>It turns out the description of the original town boundaries are encapsulated in state law or regulations, <a href="https://mgaleg.maryland.gov/Pubs/LegisLegal/Muni-Charters/2019-municipal-charter-ridgely.pdf " target="_blank">https://mgaleg.maryland.gov/Pubs/LegisLegal/Muni-Charters/2019-municipal-charter-ridgely.pdf </a></p><blockquote style="border: none; margin: 0 0 0 40px; padding: 0px;"><p style="text-align: left;">Beginning at a point where the center of Central Avenue intersects the center of Pennsylvania Railroad tracks and running with the center of said tracks in a northeasterly direction one–half mile to point in center of said tracks, which said point shall be the beginning for the outlines of said corporation;</p></blockquote><p>The Pennsylvania Railroad has not existed as a corporation for decades, and the tracks through the town are pulled up in places and turned into hiking and biking trails, making the "center of said tracks" less obvious now than it was in 1937.</p><p>I began by running <a href="https://live.osgeo.org/archive/10.0/en/overview/viking_overview.html" target="_blank">Viking</a> on NetBSD 10 (RC3) to create points and lines. I tried both kilometer and mile markers, wishing for feet and yards given passages such as "parallel with Central Avenue forty–eight hundred and seventy–five feet." </p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaG6nEmrl6AkfUTUu4oazohL6KvIKoT1O7S2VjvCi2XEgyoyZrGHvPSb1MWSRarjKWb6RTQz01YSc90WwAoeKPSEygNbPOPEopcXLU0DZrDbvw848-4gR_Xh4bXe02EaZw-Am9q92BuCZi7nY5LnupfpaU93LZAFZp9E-q9IXurcaqn-IAYuC31lrJ5jBQ/s1000/screen-viking-km.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="800" data-original-width="1000" height="512" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaG6nEmrl6AkfUTUu4oazohL6KvIKoT1O7S2VjvCi2XEgyoyZrGHvPSb1MWSRarjKWb6RTQz01YSc90WwAoeKPSEygNbPOPEopcXLU0DZrDbvw848-4gR_Xh4bXe02EaZw-Am9q92BuCZi7nY5LnupfpaU93LZAFZp9E-q9IXurcaqn-IAYuC31lrJ5jBQ/w640-h512/screen-viking-km.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXQNdDAnP9SPr3VEwx2fCdHapog4fOIlnQ5G_YQ6XoHcEJyJ_VGu7BqEnRmy7RV2etMbrCJEjthP7ufL0hWrhCqzkJbM0i4ahoVSFHejB2b2gxx58KMjl4kwslHxJym29LmAZRQhLAnXf_52ICFk_Ino8t5h3krgRsDmc-Egu7A1S6m3gzclwM09vk8S9i/s1000/screen-viking-imperial.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="800" data-original-width="1000" height="512" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXQNdDAnP9SPr3VEwx2fCdHapog4fOIlnQ5G_YQ6XoHcEJyJ_VGu7BqEnRmy7RV2etMbrCJEjthP7ufL0hWrhCqzkJbM0i4ahoVSFHejB2b2gxx58KMjl4kwslHxJym29LmAZRQhLAnXf_52ICFk_Ino8t5h3krgRsDmc-Egu7A1S6m3gzclwM09vk8S9i/w640-h512/screen-viking-imperial.png" width="640" /></a></div><div><br /></div>Eyeballing the distances and bearings, I came out close to the starting rectangle edge, though clearly not a professional surveying effort.<div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUaMi4Cng7wtPWax_KUPLvL9PWU3zWjcVOF0pM4WZGXpBYIBFFHD7RmBlrTamm2ns04hL-h3F3tb73NTTeQsodoa4jTIHru-d6d6qjOJhG7-Jgyz0dmKKNfmwjwpRTK6Zj4VR2eedFVkXrIh8txq0hyphenhyphenqmiwydCY3yIvWU_49fiBALcSPcADbgV97ku-mrI/s392/screen-viking-km.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="282" data-original-width="392" height="460" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUaMi4Cng7wtPWax_KUPLvL9PWU3zWjcVOF0pM4WZGXpBYIBFFHD7RmBlrTamm2ns04hL-h3F3tb73NTTeQsodoa4jTIHru-d6d6qjOJhG7-Jgyz0dmKKNfmwjwpRTK6Zj4VR2eedFVkXrIh8txq0hyphenhyphenqmiwydCY3yIvWU_49fiBALcSPcADbgV97ku-mrI/w640-h460/screen-viking-km.png" width="640" /></a></div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiLp0GNLOV4cHwAoE6rsWUC2bI7Xqb8WZ9oDm1oDAuLoPtWhiR8KIBaIyvXf0IiqSlLM5vC8P-5JAvb12qJR0BnBBVy3yUHc00pncSRhLPpWX1Rcm91VcPgYGloXkt9YNKd0uuQWHkXC99NxNYqeyDlMlrd4Aja6hRdx41nQxhISyuAqdFthUGf-l775OEb" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="954" data-original-width="1388" height="440" src="https://blogger.googleusercontent.com/img/a/AVvXsEiLp0GNLOV4cHwAoE6rsWUC2bI7Xqb8WZ9oDm1oDAuLoPtWhiR8KIBaIyvXf0IiqSlLM5vC8P-5JAvb12qJR0BnBBVy3yUHc00pncSRhLPpWX1Rcm91VcPgYGloXkt9YNKd0uuQWHkXC99NxNYqeyDlMlrd4Aja6hRdx41nQxhISyuAqdFthUGf-l775OEb=w640-h440" width="640" /></a></div><br />I exported the waypoint (Origin) and the tracks as lines 1 through 6. With these files loaded into Google Earth Pro via a KML format, I found the shapes where I expected them, off a bit from OpenStreetMap boundaries, but not too bad for a first try. To simplify the shape, I drew a rectangle/polygon, then loaded that into QGis as a vector layer.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwzYVCZqlkSjwU3tjr1tPLyoxxqCwoUQMla3516P-N7KLwLzqB9qAiGADz4NAyBg8EmxaLVcYzuwm_oaCho9K3_k4jWccMChxB5qvxWCT2TH88nTKrLa74uUCGq4mNrmhekW5ieNxIGypq1czH0NLuTw9_itvNWH_TPeQProEUOv96L5Zzl03Im4x2Nz6/s1053/screen-db-1-crop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="509" data-original-width="1053" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwzYVCZqlkSjwU3tjr1tPLyoxxqCwoUQMla3516P-N7KLwLzqB9qAiGADz4NAyBg8EmxaLVcYzuwm_oaCho9K3_k4jWccMChxB5qvxWCT2TH88nTKrLa74uUCGq4mNrmhekW5ieNxIGypq1czH0NLuTw9_itvNWH_TPeQProEUOv96L5Zzl03Im4x2Nz6/w640-h310/screen-db-1-crop.png" width="640" /></a></div><br /><div>You can see the "miss" on the lower left corner of the municipal boundary. Half a city block, or less...</div><div><br /></div><div>To go further, I exported the shape from QGis into the 5-sided Esri shape folder, then brought the result into a PostGIS database following the tutorial steps: <a href="https://docs.qgis.org/3.28/en/docs/training_manual/spatial_databases/import_export.html">https://docs.qgis.org/3.28/en/docs/training_manual/spatial_databases/import_export.html</a></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEtmNULdeXsxwGBvO-r0BezFPHpNExvkR6UVTL3sGvUUkSUrklLCbyyXaz2PlNhnQnBcO9pJxr0lloYzn4-DLT-Fs2_vwofELk5gmLtKKKtSp6lm5pUlCp3_YpVQ-FvNpi2LucuAZvT-M47qjuKXQD2JhbIPhrV11TNJWY9dPbeGDdqCfvZwtui3iWzORQ/s738/fields.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="700" data-original-width="738" height="608" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEtmNULdeXsxwGBvO-r0BezFPHpNExvkR6UVTL3sGvUUkSUrklLCbyyXaz2PlNhnQnBcO9pJxr0lloYzn4-DLT-Fs2_vwofELk5gmLtKKKtSp6lm5pUlCp3_YpVQ-FvNpi2LucuAZvT-M47qjuKXQD2JhbIPhrV11TNJWY9dPbeGDdqCfvZwtui3iWzORQ/w640-h608/fields.png" width="640" /></a></div><br /><div><br /></div><div><br /></div><div>The shape looks like the one above (as it should); the database columns include the renamed "description" as "descriptio".</div></div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">Warning 1: Field Name of width 255 truncated to 254.</span></div><div><span style="font-family: courier; font-size: x-small;">Warning 6: Normalized/laundered field name: 'Description' to 'Descriptio'</span></div><div><span style="font-family: courier; font-size: x-small;">Warning 1: Field Descriptio of width 255 truncated to 254.</span></div></div><div><br /></div><div>Now I can load the same shapes into different QGs versions (Windows/BSD/Linux) and not worry about "version too old/new" messages.</div><div><br /></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-537127411627034422024-01-22T15:14:00.001-05:002024-01-22T15:14:26.804-05:00Revamp Unboxing SAP Community 2024<p>The SAP Community site revamp of 2024 is ongoing and promises to be unveiled Tuesday so here are my predictions on Monday.</p><p>At the moment blog reads increment on reload questions do not. Implying more work on the latter. We'll lose all previous read page counts and start from 0. Links to other community members will be about as correct as a week ago.</p><p>Questions may be stricken from the record. I bookmarked 2 to see if they make the cut. Criteria were established in the plan where irrelevant topics get purged, and as the TOC reads, SAP at their sole discretion may delete any content. No takebacks.</p><p>Broken links and missing images are likely. Like other platform changes, fix or tape over. I know I missed the chance to tag my hundreds of posts, always expecting some algorithm to do it for me.</p><p>Blogs that were planned for demolition has a stay of execution so no one should vanish. The "just JSON plan" faltered in the light of day. I had already planned my own recovery process.</p><p>When we thought some posts would vanish, I ran a mini project to archive.org my own posts.</p><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaBeqeLzQPwt0_RRscGeowuXVhhgwD0-bG9xpmlTVay0uNaWhW8N2-WppXt2wMZ4l0CIWyuH7A_psuh11JJYob74y1SHX-7Gou1JOydtMksUyKjImcPFr63x43PVHWwi6GISDresjLV96yxg7FlK14RIF9NOxY0RkMqFSnduakuom-z9Q1m-8eA-VSp7yG/s769/Screenshot%202023-12-31%20083453-SCN-ARCHIVE-crop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="426" data-original-width="769" height="354" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaBeqeLzQPwt0_RRscGeowuXVhhgwD0-bG9xpmlTVay0uNaWhW8N2-WppXt2wMZ4l0CIWyuH7A_psuh11JJYob74y1SHX-7Gou1JOydtMksUyKjImcPFr63x43PVHWwi6GISDresjLV96yxg7FlK14RIF9NOxY0RkMqFSnduakuom-z9Q1m-8eA-VSp7yG/w640-h354/Screenshot%202023-12-31%20083453-SCN-ARCHIVE-crop.png" width="640" /></a></div><div><br /></div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiet2ieSNuSTqjY-KtI5py-_UgSCQMtI0ct-p7WwqRnmcGSP1EuzEtMV3oRV_Rb7R5VoCnODRvRUYuthiGRndCdt4xyVfZHFw67GGgwt9yE6QPftFEg7x_1zZ5sfgsPQz1PG4unP2f2SKVYTbzTmVJRy4MC2TwQMTsswjYeBYl_4_-lTJkecRLJ5q-7qFj/s1112/scn-1st-archive-2018-crop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="422" data-original-width="1112" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiet2ieSNuSTqjY-KtI5py-_UgSCQMtI0ct-p7WwqRnmcGSP1EuzEtMV3oRV_Rb7R5VoCnODRvRUYuthiGRndCdt4xyVfZHFw67GGgwt9yE6QPftFEg7x_1zZ5sfgsPQz1PG4unP2f2SKVYTbzTmVJRy4MC2TwQMTsswjYeBYl_4_-lTJkecRLJ5q-7qFj/w640-h242/scn-1st-archive-2018-crop.png" width="640" /></a><br /><p><br /></p><p>Some had been snapped before, some not. Questions might be archived but I didn't look hard except for a couple test samples and a review of the answer thon.</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqwGxYMgEWsBfnENKU2uEzPYG4Em6r3x2qSRdjp7EEQFSDww9ddpM9jWAWDqdAq1mTU906BeGYUyBu4PmT0Dy9qpnAUyVxkyvS_RBdNbHYNGTs4EOWXkKHrCnzvCjqFuUvQZeXg39KrqIrl13lMivJ9yX1slzlMXkV9lY4k7mhpXzdOp9S523CVnSmZd3D/s1080/archived_org_crop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="728" data-original-width="1080" height="432" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqwGxYMgEWsBfnENKU2uEzPYG4Em6r3x2qSRdjp7EEQFSDww9ddpM9jWAWDqdAq1mTU906BeGYUyBu4PmT0Dy9qpnAUyVxkyvS_RBdNbHYNGTs4EOWXkKHrCnzvCjqFuUvQZeXg39KrqIrl13lMivJ9yX1slzlMXkV9lY4k7mhpXzdOp9S523CVnSmZd3D/w640-h432/archived_org_crop.png" width="640" /></a></div><br /><p><br /></p><p><br /></p><p>Bio pages were to be revamped, but before the read-only phase started were skeletal or minimal.</p><p>Messages and inboxes are a mess, as are contacts given prior art. Remains to be seen how much previous net connections need to be renewed.</p><h2 style="text-align: left;">What to expect?</h2><p>Community members will begin to engage in the new space, or decide to skip town. Leader boards and gamiification only go so far.</p><p>Search engine optimization will be improved. After the "deadwood" gets flushed from the search caches, which takes time.</p><p>Blogs posts will be slower than before given potential permission changes, and the tool belt shuffle going from Word Press to Not Word Press. I am particularly interested in the finer points of code and text snippet displays once I saw a bit of the HTML differences.</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2PitzM4shp7CMvPRBpde2X0qGnDcLx4Awus3wjvwYN1keboenhPj5Wo_hr-C0VdtVafSFAFyEFQqcjwrU2xDatgxg8ohkzgESM_-cNJzPr_0PcfWtdChlzcqvqCiyrsf9SFc5_g98NBZYy05a4-7R8fN4uFbU0Nw_FfQpllzHSeNyAl9V5g54qoLzZ7AL/s627/Screenshot%202023-12-13-scn.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="426" data-original-width="627" height="434" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2PitzM4shp7CMvPRBpde2X0qGnDcLx4Awus3wjvwYN1keboenhPj5Wo_hr-C0VdtVafSFAFyEFQqcjwrU2xDatgxg8ohkzgESM_-cNJzPr_0PcfWtdChlzcqvqCiyrsf9SFc5_g98NBZYy05a4-7R8fN4uFbU0Nw_FfQpllzHSeNyAl9V5g54qoLzZ7AL/w640-h434/Screenshot%202023-12-13-scn.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAwRRv9z1KrpQxspX4uucosaptpzBtOdiOmxvX0ZJbo5H5hyphenhyphenG2lPjS5P0_MYeqTRma_gE5eFDgsAMr6L8BG_j4EnkvGLbZhMLlRVo7EAQUIsqonFDmK2FWDW50QIhKbblD4yirv1cwQL5ASBPD8nN4FcRl26jjM5jsrFUohE8DmD961sYU_ZD_zTyMz6-6/s915/code-abap-in-discussion.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="786" data-original-width="915" height="550" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAwRRv9z1KrpQxspX4uucosaptpzBtOdiOmxvX0ZJbo5H5hyphenhyphenG2lPjS5P0_MYeqTRma_gE5eFDgsAMr6L8BG_j4EnkvGLbZhMLlRVo7EAQUIsqonFDmK2FWDW50QIhKbblD4yirv1cwQL5ASBPD8nN4FcRl26jjM5jsrFUohE8DmD961sYU_ZD_zTyMz6-6/w640-h550/code-abap-in-discussion.png" width="640" /></a></div><br /><p><br /></p><p><br /></p><p><br /></p>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-28731522560516409382023-12-29T17:22:00.005-05:002023-12-29T17:22:53.087-05:00Bengies Top 10 for 2023, Barely<p>O, 2023, what happened?</p><p>Besides getting older and slower, the Bengies drive-in movie theatre had bad weather (fog, in December?) and a slew of R-rated flicks we skipped and a few kiddie flicks also given the slip. Still, the Scout Camp-In continues despite the usual suspect challenges (high staff turnover, slow tech progress).</p><p>Here are my annual "10 Best Movies I Watched At The Bengies" where "watched" is at least part of the film, if not the whole thing. </p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgBVu_u3rzPl3uswN1p-_mRNSlXCXWiQiGwDXG_AlBNOFF2JL9oqftvF56QmzZ86VXlJ_b_T4mNkMVee-9AncqtR0Foz0vZziM2ekV-xBPfNSjju9hKFgJdnXEDAl5iuX5myxL4SqlkFnhf7oHtcFALTxnliGQ3Esu51TWp0YWv0PpnJVt9Nyj3Z3gqqho9" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="1024" data-original-width="576" src="https://blogger.googleusercontent.com/img/a/AVvXsEgBVu_u3rzPl3uswN1p-_mRNSlXCXWiQiGwDXG_AlBNOFF2JL9oqftvF56QmzZ86VXlJ_b_T4mNkMVee-9AncqtR0Foz0vZziM2ekV-xBPfNSjju9hKFgJdnXEDAl5iuX5myxL4SqlkFnhf7oHtcFALTxnliGQ3Esu51TWp0YWv0PpnJVt9Nyj3Z3gqqho9=s16000" /></a></div><br /><br /><p></p><p>Yes, let's start at </p><h2 style="text-align: left;">Number One,</h2><p>a Ten in Ten of Ten, including the crowd on a weeknight. For fun, we printed our pre-paid ticket order on pink paper. Plenty of folks dressed up, and the happy crowd made for more fun. The snickering jokes about Ken </p><p><br /></p><p>Hocus Pocus, in the rain, a second time on the big screen, is <b>Number Two.</b></p><p><br /></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjr4qotnbktxTYmwl5I80GBvrY2cH8M7KOPKJ03PcERZ9ZKWHBUZQd_iqFIZ6PhN1bwcH9LuYwgqWOQhR-ogKBvnby_5bttLQhwldeCfJXFsEha29_nq8K7efYBiRr58TLBVrl9oszwJ-yAsEtrsG-kQWmAmrqhlRpcLId9050F69cFcal-tr-2TiTkmxQx" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="1024" data-original-width="576" src="https://blogger.googleusercontent.com/img/a/AVvXsEjr4qotnbktxTYmwl5I80GBvrY2cH8M7KOPKJ03PcERZ9ZKWHBUZQd_iqFIZ6PhN1bwcH9LuYwgqWOQhR-ogKBvnby_5bttLQhwldeCfJXFsEha29_nq8K7efYBiRr58TLBVrl9oszwJ-yAsEtrsG-kQWmAmrqhlRpcLId9050F69cFcal-tr-2TiTkmxQx=s16000" /></a></div><br /><br /><p></p><p><br /></p><h2 style="text-align: left;">Number Three</h2><p>Guardians 3</p><p><a href="https://chaos.social/@jspath55/110392830400706164">https://chaos.social/@jspath55/110392830400706164</a></p><p>The sequel to the sequel, which seemed almost like the same plot, with ennui for the raccoon that doesn't know it is a raccoon. Self -denial runs deep.</p><h2 style="text-align: left;">Four, and Counting</h2><p>Indiana Jones & the Dial of Destiny</p><p>Phoned in...</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgjZRGwwZtLRoIO9WSd5VTHIY8dxGhAG0xrLP8l5wTk8PLZA0DB6q-PhXSc0mt5ai8vFtPmeN10sdbSGrRdUOguKuzkG82Ae5e6yXNKFcJ946R0t-C-dMB6IFj8rKf6PNM4VdDvdTiZdb1tsJ8uL8lFe_7e3xx3pZnzOIO6r2eWYti7--W3toLeitv5EBDo" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="1024" data-original-width="576" src="https://blogger.googleusercontent.com/img/a/AVvXsEgjZRGwwZtLRoIO9WSd5VTHIY8dxGhAG0xrLP8l5wTk8PLZA0DB6q-PhXSc0mt5ai8vFtPmeN10sdbSGrRdUOguKuzkG82Ae5e6yXNKFcJ946R0t-C-dMB6IFj8rKf6PNM4VdDvdTiZdb1tsJ8uL8lFe_7e3xx3pZnzOIO6r2eWYti7--W3toLeitv5EBDo=s16000" /></a></div><br /><br />Whatever "The Boogeyman" was. we skipped it. PG-13 or no.<br /><p></p><h2 style="text-align: left;">And 5 Through 10</h2><p><b>The Flash and the Spider Verse</b></p><p><a href="https://chaos.social/@jspath55/110589657062948842">https://chaos.social/@jspath55/110589657062948842</a></p><p>First time I recall a double feature with DC and Marvel! The Flash didn't bring back sixth-grade memories of science lab as I expected. (5,6)</p><p><b>Wonderful Life / Elf</b></p><div>Of these two, let's say I split the difference arriving late and leaving early. Elf was not as much of a wince as I recalled, though minimal dosing helped. And because I had other plans, did not stay through It's A Wonderful Life once the alternate reality began. Seemed a bit like now, sadly. (7,8)</div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEj-qnmsYeBGXZyeQundRBXFg6euwhvv27zqZxPufIdNxGMsZKiE2K2W7tcMKwZQAqeXCS3avQTf88e3o1gRGpEfEKKfn-19_eV1bgtm_CRoJZNzI1-9GGCusnvKC1Mvi5m_UNtjktJb-hDiNNPduZ8zNrkli2vksLM5GRJ_cWDMeMOKZvD4Nz-jQFoov3zx" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="450" data-original-width="800" height="360" src="https://blogger.googleusercontent.com/img/a/AVvXsEj-qnmsYeBGXZyeQundRBXFg6euwhvv27zqZxPufIdNxGMsZKiE2K2W7tcMKwZQAqeXCS3avQTf88e3o1gRGpEfEKKfn-19_eV1bgtm_CRoJZNzI1-9GGCusnvKC1Mvi5m_UNtjktJb-hDiNNPduZ8zNrkli2vksLM5GRJ_cWDMeMOKZvD4Nz-jQFoov3zx=w640-h360" width="640" /></a></div><br /><br /></div><div><br /></div><div><div>Rebel Without A Cause / Forbidden Planet</div><div>https://chaos.social/@jspath55/110498676821941834</div></div><div><br /></div><div>To round out the 10, two movies from the 1950s, around the time the Bengies opened, shown on their Drive-In Anniversary special--<span style="font-size: large;">"<a href="https://www.imdb.com/title/tt0049223/?ref_=nv_sr_srsg_1_tt_8_nm_0_q_FORBIDDEN"><b><span style="color: #366d6d;">FORBIDDEN PLANET</span></b></a>"</span><span style="font-size: large;">
stars </span><b style="font-size: large;">Walter Pidgeon, Anne Francis, </b><b style="font-size: large;">Leslie
Nielsen</b><span style="font-size: large;"> AND </span><span style="font-family: Arial Rounded MT; font-size: large;">Robby the
Robot</span><span style="font-size: large;">.</span></div><span></span><h2 style="text-align: left;">The Under 11</h2><p>TMN Turtles, unshelled. All right, the Scouts liked it I guess.</p><p>Last, and Twelfth, like Iscariot:</p><p>Gran Turismo. I definitely asked for Barbie to play, but instead of a somewhat socially conscious show, we got another salute to burning petroleum and continuing our carbon dioxide emissions.</p><p><br /></p><h2 style="text-align: left;">2022 (last year's write up, and links to past Top Tens)</h2><p><a href="https://jspath55.blogspot.com/2022/12/bengies-top-10-2022.html">jspath55.blogspot.com/2022/12/bengies-top-10-2022.html</a></p><p><br /></p>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-32554578495486780752023-12-23T17:38:00.002-05:002023-12-23T17:38:49.390-05:00NetBSD 10 RC1 Review<p> </p><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjQRzmGX1cFbRqUSibgvGdXMmFQ6LwHMxDFgNv1TLC5QXtg2gQ74tA37dt6NZSKqz63ff2jDEzK5M3oWtIwDuGfYwSG08EMSTiO58ph06Vd9Ufz6pr_tkRkfgpZ3T2Jy2hguH-ioWvfXu5EWdmmMemooOclGreHWUGF0M7f_1SpN5dfkdzJG6-h6CWTW32l" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="374" data-original-width="879" height="272" src="https://blogger.googleusercontent.com/img/a/AVvXsEjQRzmGX1cFbRqUSibgvGdXMmFQ6LwHMxDFgNv1TLC5QXtg2gQ74tA37dt6NZSKqz63ff2jDEzK5M3oWtIwDuGfYwSG08EMSTiO58ph06Vd9Ufz6pr_tkRkfgpZ3T2Jy2hguH-ioWvfXu5EWdmmMemooOclGreHWUGF0M7f_1SpN5dfkdzJG6-h6CWTW32l=w640-h272" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhsofwZUc2Fu8VX-EcslMndwWkjUtAPJHNNUfZRyzcLDYZpeQVCBBqsTDYioArUwMPMiynzvx9uDeOeX4yn6RAE2BO7XjUyO2d5sbmgtreCX0J8hpZAO-pp_nR5VRs0guNYANZm9Vb9nI0EYGz8hD-_hzvdTDbv3EvAYeKpXuYK8-XNUlck0hfFoMDqastL" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="365" data-original-width="877" height="266" src="https://blogger.googleusercontent.com/img/a/AVvXsEhsofwZUc2Fu8VX-EcslMndwWkjUtAPJHNNUfZRyzcLDYZpeQVCBBqsTDYioArUwMPMiynzvx9uDeOeX4yn6RAE2BO7XjUyO2d5sbmgtreCX0J8hpZAO-pp_nR5VRs0guNYANZm9Vb9nI0EYGz8hD-_hzvdTDbv3EvAYeKpXuYK8-XNUlck0hfFoMDqastL=w640-h266" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiBg1LDTr08KI1Liz0WPSzi32DzvikT03vSZ6CLhS70FsZJUNvZGzLfWy9RIyTF_L77gLfIxvA6KaDJbnpjaO2VZ7dOOaHJDEsgBF-LIq8zor0eKCyGe0xgCqCTj2--jdq1bkNE2SeUAndUBLEGNhaRE4rqcZa7ksv3vecliViIfD9pnICMlZzIDqd9luOS" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="372" data-original-width="881" height="270" src="https://blogger.googleusercontent.com/img/a/AVvXsEiBg1LDTr08KI1Liz0WPSzi32DzvikT03vSZ6CLhS70FsZJUNvZGzLfWy9RIyTF_L77gLfIxvA6KaDJbnpjaO2VZ7dOOaHJDEsgBF-LIq8zor0eKCyGe0xgCqCTj2--jdq1bkNE2SeUAndUBLEGNhaRE4rqcZa7ksv3vecliViIfD9pnICMlZzIDqd9luOS=w640-h270" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiJFjIW4sgKPUaqCZUTiZNQ-MQJoWgAf7dAoGhMdELZoLzdu5su3YzWHYtKgtOjHpudx7g7VptuNT2iofYluyoLXlEmeH5noQxiOWPBhTLEASmb7GUGnsvnD_GRzHedYDQikyIvolvzB75I-0YNRL3R-RVugzqzMWQZjAmDU0NzojbrCKIer825yWud7fky" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="368" data-original-width="876" height="269" src="https://blogger.googleusercontent.com/img/a/AVvXsEiJFjIW4sgKPUaqCZUTiZNQ-MQJoWgAf7dAoGhMdELZoLzdu5su3YzWHYtKgtOjHpudx7g7VptuNT2iofYluyoLXlEmeH5noQxiOWPBhTLEASmb7GUGnsvnD_GRzHedYDQikyIvolvzB75I-0YNRL3R-RVugzqzMWQZjAmDU0NzojbrCKIer825yWud7fky=w640-h269" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiA-GQJ-YVRwOTz6B2kh5NeWLfcxzkg9SNskQNuYbOLKhWFJGrNUSe11TyZA5MkgNoGAjzRWJRstcfj0rOJ5fXy85cHamplDHTDuTYMDRRubxT5slUy2Zf9whEZI0IZWrkRPYTl8BGSEw_KyfXL1mKuq1m1AxiVkI2Z5mX-E1ITqg-FIwzUbSFIGq3qNq7H" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="366" data-original-width="877" height="267" src="https://blogger.googleusercontent.com/img/a/AVvXsEiA-GQJ-YVRwOTz6B2kh5NeWLfcxzkg9SNskQNuYbOLKhWFJGrNUSe11TyZA5MkgNoGAjzRWJRstcfj0rOJ5fXy85cHamplDHTDuTYMDRRubxT5slUy2Zf9whEZI0IZWrkRPYTl8BGSEw_KyfXL1mKuq1m1AxiVkI2Z5mX-E1ITqg-FIwzUbSFIGq3qNq7H=w640-h267" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEim_oF5sP3nfNFpLnG5EaYQcDd9bMBCoxgRIIbLqR-x2HtKRA-7oWXMNJMlc3h_q68Ejt13ulZlxNkW9EYaiouELw5VcFoND7gYQMELOQt2nBsv2QhxoLX-6kjtNMo8GJkvrQYk7Ac6WmL1Cfpa_y1iY9Kq09mgH3lzNk_YKI_2i9bIZbyxDBVSZ3u_WuvZ" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="370" data-original-width="872" height="272" src="https://blogger.googleusercontent.com/img/a/AVvXsEim_oF5sP3nfNFpLnG5EaYQcDd9bMBCoxgRIIbLqR-x2HtKRA-7oWXMNJMlc3h_q68Ejt13ulZlxNkW9EYaiouELw5VcFoND7gYQMELOQt2nBsv2QhxoLX-6kjtNMo8GJkvrQYk7Ac6WmL1Cfpa_y1iY9Kq09mgH3lzNk_YKI_2i9bIZbyxDBVSZ3u_WuvZ=w640-h272" width="640" /></a></div><br /><br /></div><div class="separator" style="clear: both; text-align: left;">Upgrades from earlier 10.0 beta images went easily except for the Raspberry Pi systems with the kernel in a different place. </div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><h1 style="break-before: page; line-height: 100%; margin-bottom: 0in; text-align: left;"> WIFI</h1>
<p style="line-height: 100%; margin-bottom: 0in;"><br />
</p>
<p style="line-height: 100%; margin-bottom: 0in;"></p><ul style="text-align: left;"><li>amd – external</li><li>i386 - none</li><li>pi4 – no wifi,
hard-wire ok</li><li>pi3 – no wifi;
hard-wire ok</li><li>pi02w – wifi yes;
hard-wire added</li><li>pi0w – wifi yes</li></ul><p></p>
</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;"> Automated Test Framework</h2>
<p style="line-height: 100%; margin-bottom: 0in;">I kicked off periodic user test suite cases, noting the minimum and maximum errors per platform. The Pi4 worked best, and the 0W the worst as I never completed a full run, trying various scratch write media to avoid stall-outs on basic shell command runs.</p><p style="line-height: 100%; margin-bottom: 0in;"> When the platform would allow full tests runs more than one a day I set up cron jobs; the fastest tested had 60 or so when I stopped the cron.</p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier;"> 3 failed test cases.</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier;"> 4 failed test cases.</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier;"> 3 failed test cases.</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier;"> 3 failed test cases.</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier;"> 6 failed test cases.</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier;"> 4 failed test cases.</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier;"> 4 failed test cases.</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier;"> 3 failed test cases.</span></p><div><br /></div>
<p style="line-height: 100%; margin-bottom: 0in;"><br />
</p>
<p style="line-height: 100%; margin-bottom: 0in;"></p><ul style="text-align: left;"><li>amd – (2/7)</li><li>i386 - (0/3)</li><li>pi4 – (1/4)</li><li>pi3 – none yet</li><li>pi02w – November 26
last run (16 / 20)</li><li>pi0w – 30 (one
good run)</li></ul><p></p>
<p style="line-height: 100%; margin-bottom: 0in;"><br /></p><p style="line-height: 100%; margin-bottom: 0in;"><br /></p><p style="line-height: 100%; margin-bottom: 0in;">The variation in failures from phase to phase I've called Heisenbergars, elsewhere.</p><h3 style="line-height: 100%; margin-bottom: 0in; text-align: left;">X11</h3><p style="line-height: 100%; margin-bottom: 0in;">I had 2 minor regressive behaviors after RC1 tests compared to earlier betas, where the AMD machine had flaky screen text. I need to recheck the cables since it went onto a floor mount instead of desk level. The other slowness was on a new Pi4 install, where I struggled through getting the latest UEFI version on an SD card, and ending up with a working install, and 8GB (don't forget to set that last in the UEFI menus). Comparing the CPU temperature to other Pi 4s, it may work better with a running fan. More tests later; the last straw was launching QGIS (except with a Postgre 14 client for package sanity).</p><h2 style="line-height: 100%; margin-bottom: 0in; text-align: left;">WIFI</h2><p style="line-height: 100%; margin-bottom: 0in;">I guess the fix for using wifi, at least on the Pi 4, is external dongles. The Pi3 worked for me at one point, but the dmesg tempts with "almost, almost":</p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 3.368964] bwfm0: Found Firmware file: brcmfmac43455-sdio.bin</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 3.388965] bwfm0: NVRAM file default: brcmfmac43455-sdio.txt</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 3.388965] bwfm0: NVRAM file model-spec: brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 3.388965] bwfm0: Found NVRAM file: brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 3.388965] bwfm0: CLM file default: brcmfmac43455-sdio.clm_blob</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 3.388965] bwfm0: CLM file model-spec: brcmfmac43455-sdio.raspberrypi,3-model-b-plus.clm_blob</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 4.999119] bwfm0: CHIPACTIVE</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 5.099132] bwfm0: address ..:..:..:..:..</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 5.099132] bwfm0: wl0: Mar 1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4</span></p><p style="line-height: 100%; margin-bottom: 0in;"><br /></p><p style="line-height: 100%; margin-bottom: 0in;">The ifconfig shows recognition of the wifi circuit but wpa supplicant stumbles.</p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier;">bwfm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</span></p><p style="line-height: 100%; margin-bottom: 0in;">pi4:</p><p style="line-height: 100%; margin-bottom: 0in;">Also, almost</p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 2.447895] bwfm0: NVRAM file default: brcmfmac43455-sdio.txt</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 2.447895] bwfm0: NVRAM file model-spec: brcmfmac43455-sdio.Raspberry Pi 4 Model B.txt</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="color: red; font-family: courier; font-size: x-small;"><b>[ 2.447895] bwfm0: autoconfiguration error: NVRAM file not available</b></span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 2.447895] bwfm0: CLM file default: brcmfmac43455-sdio.clm_blob</span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-family: courier; font-size: x-small;">[ 2.447895] bwfm0: CLM file model-spec: brcmfmac43455-sdio.Raspberry Pi 4 Model B.clm_blob</span></p><div><br /></div><p style="line-height: 100%; margin-bottom: 0in;"><br /></p></div><p></p>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-7123191603685898142023-12-04T13:24:00.002-05:002023-12-04T13:24:16.969-05:00Avenza on the Trail<p>I got to use the Avenza-hosted Reservation map for the first time onsite in early December 2023 while winter camping with a Scout troop. They needed basic map and compass tutoring, and adding the digital version in sequence reinforces the concepts.</p><p>This story is generally chronological for my one-day observations, by site.</p><h2 style="text-align: left;">Conowingo / Pine Grove</h2><div>I camped in the field near the "X" shown on this screenshot. I did a polygon line drawing around the cabin, trying to figure out about the projected skewness. This is my own geoPDF, with a scale of 1:250 and has 150 dpi.</div><div><br /></div><div>The screenshot was from Friday evening, where I had 95% battery to start.</div><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEg6hjkRENw2ui7YdeZ4gctAhRHk7rO4FOwDk2jyEOalV7Op_w867QIh0IYSbY_y1hrlsjiZOGE6NolCIZmhQcau298uqX0WQq7hrwKdoz0kWbcglM-x-Xj0uLbTzmEpaCpA3Y46X1w_tcn33RPSn0x1fEgw71xfkYdZEFE2k_IyZZFHzx6CRlGltOIRGhiS" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="2400" data-original-width="1080" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEg6hjkRENw2ui7YdeZ4gctAhRHk7rO4FOwDk2jyEOalV7Op_w867QIh0IYSbY_y1hrlsjiZOGE6NolCIZmhQcau298uqX0WQq7hrwKdoz0kWbcglM-x-Xj0uLbTzmEpaCpA3Y46X1w_tcn33RPSn0x1fEgw71xfkYdZEFE2k_IyZZFHzx6CRlGltOIRGhiS=w288-h640" width="288" /></a></div><br /><br /><br /><p></p><h2 style="text-align: left;">Flagpole and former memorial sign.</h2><div>A control point of sorts; someone knows which sign was here, presumably now at RHQ.</div><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgAluHH-JoqSDcnOUm1TM9adW8xfRixKLfKWVnzJUQ2wwUyNE2wfxTGOdCxX28u_uQpATHcrHdeX5DgaeoFP7T61IdbqyZbUEnOxWVbfv_XMPi_eKZBJHjBDJxBwCrC31-epqalKsk6XqxsudfsKxO4xJU5sGfIl2n41OgxeikLtZCuxDCRSWOKH4yKmx8X" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="1600" data-original-width="901" height="400" src="https://blogger.googleusercontent.com/img/a/AVvXsEgAluHH-JoqSDcnOUm1TM9adW8xfRixKLfKWVnzJUQ2wwUyNE2wfxTGOdCxX28u_uQpATHcrHdeX5DgaeoFP7T61IdbqyZbUEnOxWVbfv_XMPi_eKZBJHjBDJxBwCrC31-epqalKsk6XqxsudfsKxO4xJU5sGfIl2n41OgxeikLtZCuxDCRSWOKH4yKmx8X=w225-h400" width="225" /></a></div><br /><br /><p></p><h2 style="text-align: left;">Flint Ridge</h2><p>Latrine surveying. I walked around the pad, taking measurements and images with camera and the Avenza app. In the morning, the power level was at 86% and here shows 81%</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEh0dkphe3LEYZgSurtucFLlRaULpyRKOKOL_X-SIoreBYKBEnua5HHtPj8mNaj_ud726ALb79z99x2jAo4F9v6LrkkvbB5PLPIlKWqPC7IhiWrfkYZzt6RMqsOQhHmhdd3DeOA36HsqKKihMdibcepAzKNmHCvW92MJdGmjiJJ3PTuWGvlSV15gO9seOjtr" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="2400" data-original-width="1080" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEh0dkphe3LEYZgSurtucFLlRaULpyRKOKOL_X-SIoreBYKBEnua5HHtPj8mNaj_ud726ALb79z99x2jAo4F9v6LrkkvbB5PLPIlKWqPC7IhiWrfkYZzt6RMqsOQhHmhdd3DeOA36HsqKKihMdibcepAzKNmHCvW92MJdGmjiJJ3PTuWGvlSV15gO9seOjtr=w288-h640" width="288" /></a></div><br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjDFpK7U2mfduAfWb0M5yAZztoUTtQnBF8Qz82HkuDaW9AK2E-w3A07cUPjcQuPiHd5Ew_qiyhZYAkbo6JclVYu8PJpMR6IhpTbK_acjshu7o7dLvz_dFITeI9jzyYFjSgrEmgWlkbs6EyazqjT5RfkRErQN0eECIuVH0N-9vpDanq52shpG10lqLXIFWRz" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="1600" data-original-width="901" height="400" src="https://blogger.googleusercontent.com/img/a/AVvXsEjDFpK7U2mfduAfWb0M5yAZztoUTtQnBF8Qz82HkuDaW9AK2E-w3A07cUPjcQuPiHd5Ew_qiyhZYAkbo6JclVYu8PJpMR6IhpTbK_acjshu7o7dLvz_dFITeI9jzyYFjSgrEmgWlkbs6EyazqjT5RfkRErQN0eECIuVH0N-9vpDanq52shpG10lqLXIFWRz=w225-h400" width="225" /></a></div><p></p><p>Chimney was photographed and geo-tagged. I was definitely *not* inside. Not 9AM yet and 77% power level.</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhyG-1A2fnmb3wIRawRHDxmA_WRqtB6wx3lk-IDrzo6NoDhsIMXItDjnaWV7q_c_HwUnRHGRAzFtdBAXMIthrC85Ejl7mvamFuQaC7QpSRq_D9UjHwRUsfoM86N8bL1wvdySeb6brrfvbpLBhFTEe3nCI7cM9GPXDWqcrUiKOH6QT98vui7KpDOoxL1jRMF" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="2400" data-original-width="1080" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEhyG-1A2fnmb3wIRawRHDxmA_WRqtB6wx3lk-IDrzo6NoDhsIMXItDjnaWV7q_c_HwUnRHGRAzFtdBAXMIthrC85Ejl7mvamFuQaC7QpSRq_D9UjHwRUsfoM86N8bL1wvdySeb6brrfvbpLBhFTEe3nCI7cM9GPXDWqcrUiKOH6QT98vui7KpDOoxL1jRMF=w288-h640" width="288" /></a></div><br /><br /><p></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgGOHzS6aRl-vWqrz_G5yQhVYhx8pXNEqw8RE06y5xMggZvHTjFp0kaITxMN7ZrwYvY1k1BRELg_aqUi_liuUdRgZAI9XCe_f3VV4kvv0GJITv4mqJP8x6n0Gy0p2EZRUMgcsmOL2rQXTFTVZMbjlavtmmuy3Dpz9XyHwd7IQCDSQr0SljSuty4f9WqZgG_" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="1600" data-original-width="900" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEgGOHzS6aRl-vWqrz_G5yQhVYhx8pXNEqw8RE06y5xMggZvHTjFp0kaITxMN7ZrwYvY1k1BRELg_aqUi_liuUdRgZAI9XCe_f3VV4kvv0GJITv4mqJP8x6n0Gy0p2EZRUMgcsmOL2rQXTFTVZMbjlavtmmuy3Dpz9XyHwd7IQCDSQr0SljSuty4f9WqZgG_=w360-h640" width="360" /></a></div><br /><br /><p></p><h2 style="text-align: left;">The Dam and the Yellow Trail</h2><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjdjTNiNu6rc1r0z6drgNfXbt4G4uY1E2f42V7H8QsP2jTcK3buukRb-jb6pJSj2CQIOKp_pjmarnqR40nuVT12kMW_0aTo-EkBl6hQ6A3ksHAU6P29SEUP6df8d7aZN5_Ah9rQZVHJ5phL6UcItomUlDFnhiDcryFkoapcwA5_fnu7o2cjlh-wW-HVjV0e" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="2400" data-original-width="1080" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEjdjTNiNu6rc1r0z6drgNfXbt4G4uY1E2f42V7H8QsP2jTcK3buukRb-jb6pJSj2CQIOKp_pjmarnqR40nuVT12kMW_0aTo-EkBl6hQ6A3ksHAU6P29SEUP6df8d7aZN5_Ah9rQZVHJ5phL6UcItomUlDFnhiDcryFkoapcwA5_fnu7o2cjlh-wW-HVjV0e=w288-h640" width="288" /></a></div><br /><br /><p></p><p>Turning on tracking and measuring a few hundred feet left battery at 72%.</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjC1-9kPEDQSpr440McVLZdbCUb99hCWPR7swbawBWsJD3HixxrovOpURddTVNWijqihjzWrKVcAvp7s3SBvW1E3otAHUetiWquWMXBmmpgQrNI8Vdh3ITUiM4IMfBo1bmkgS-7ExnZdRP-KRcfJz0r3mf9zwkKICcy7jtZGn92wA9fMNEpzf_ePJnsIt6l" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="2400" data-original-width="1080" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEjC1-9kPEDQSpr440McVLZdbCUb99hCWPR7swbawBWsJD3HixxrovOpURddTVNWijqihjzWrKVcAvp7s3SBvW1E3otAHUetiWquWMXBmmpgQrNI8Vdh3ITUiM4IMfBo1bmkgS-7ExnZdRP-KRcfJz0r3mf9zwkKICcy7jtZGn92wA9fMNEpzf_ePJnsIt6l=w288-h640" width="288" /></a></div><br /><br /><p></p><p>I did a track with Avenza, then viewed it later with Google Earth. Interesting.</p><p><br /></p><h2 style="text-align: left;">Frontier</h2><p>This site has only an official entrance across a bridged stream.</p><p><br /></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhMlkSQrHcgvvu5iP3kdaEcz60ynyJlrTZKiqtqkI3kq56FaTSsIjYom_LUpd4bY8VPigfIfGcnIDsEK8mWpsIVSxiTuO3KyzLbzx5lVilUTXO4XAsnYUmIUFXemdj2n0zxi5mctVbRjI9t67-fmqtqznyskBdfvZhMkbXZcNnDzdkzJc1c-UeKBdXZQ8fR" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="1600" data-original-width="901" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEhMlkSQrHcgvvu5iP3kdaEcz60ynyJlrTZKiqtqkI3kq56FaTSsIjYom_LUpd4bY8VPigfIfGcnIDsEK8mWpsIVSxiTuO3KyzLbzx5lVilUTXO4XAsnYUmIUFXemdj2n0zxi5mctVbRjI9t67-fmqtqznyskBdfvZhMkbXZcNnDzdkzJc1c-UeKBdXZQ8fR=w360-h640" width="360" /></a></div><br /><br /><p></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjdRhLaXf0HKtdQV-5H1_5ssM1pAencTsvLBeZz9EJ0RIih1UEoV_PW6CSk-rSSJxYf7bPwF6um8b2O5pCMNWNO3Q8gV8Eolo3Is2FAoGeSvWij8_QcpcDSgi8_pP1311iPmYfUhtL6zFVfly_d4zIIdSz3WWJqF9IwgFf_yh1zbhf-fUaWuXybFZKqHAcV" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="2400" data-original-width="1080" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEjdRhLaXf0HKtdQV-5H1_5ssM1pAencTsvLBeZz9EJ0RIih1UEoV_PW6CSk-rSSJxYf7bPwF6um8b2O5pCMNWNO3Q8gV8Eolo3Is2FAoGeSvWij8_QcpcDSgi8_pP1311iPmYfUhtL6zFVfly_d4zIIdSz3WWJqF9IwgFf_yh1zbhf-fUaWuXybFZKqHAcV=w288-h640" width="288" /></a></div><br />The blue line is a "get there from here" option. Straight line, probably helpful but not guaranteed a safe route! I was not on the bridge here.<p></p><p><br /></p><h2 style="text-align: left;">Red trail </h2><p>Camp entrance</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiw-8Mv4qCVTT3sQI2TPwESrWTCXfe7NcmIQLmUrFXA6Q-tvcTtAchPlnB0hgpdncmv2zJTtnyJrZwcIyCRJx8EUqZhIQ9OZOVI_ToyyLClZFSCV83ds7hRz6B37nrgdqHlcNUqlnhYZe1gtOA6SYIyrZChvoRRZWfpeA0auWS2oG4Df_CUCOS3Ivs8e-gV" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="1600" data-original-width="901" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEiw-8Mv4qCVTT3sQI2TPwESrWTCXfe7NcmIQLmUrFXA6Q-tvcTtAchPlnB0hgpdncmv2zJTtnyJrZwcIyCRJx8EUqZhIQ9OZOVI_ToyyLClZFSCV83ds7hRz6B37nrgdqHlcNUqlnhYZe1gtOA6SYIyrZChvoRRZWfpeA0auWS2oG4Df_CUCOS3Ivs8e-gV=w360-h640" width="360" /></a></div><br /><br /><p></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjOdp8--CK6ydmeyEd9kVI_-8fxoZJN1MZ75Ts6KsNDsinniH8JNyEHI5_LWag9upIq8w5h9SLNhqD2CDTY31LNF9qor5WYrT2-BD-nxgC0LwH_5TAHqgEivbHCJafMv24EUforfxYUwh-NrYwLv1CgXPLrRjE4yuEHThpZGRnnJb6dgpF8-ktXI84LxyZv" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="2400" data-original-width="1080" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEjOdp8--CK6ydmeyEd9kVI_-8fxoZJN1MZ75Ts6KsNDsinniH8JNyEHI5_LWag9upIq8w5h9SLNhqD2CDTY31LNF9qor5WYrT2-BD-nxgC0LwH_5TAHqgEivbHCJafMv24EUforfxYUwh-NrYwLv1CgXPLrRjE4yuEHThpZGRnnJb6dgpF8-ktXI84LxyZv=w288-h640" width="288" /></a></div><br /><br /><p></p><p><br /></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiEQfNMLJQnK_IkRYPlDl7jMFcQgk079N_NP3N6czLzv-J5EV27yMNpotMhoiUH75lcJEZIFSqtIXLqlD8s27kY7TYN3nsx3YfBMGglZWCrO3wozK9UwgpkxHGWpkaO60Gj3k-KZWxVFxg8AMjpCg-_qI39D6Z4DFd4LV_q3cqIGoRl21AVKnG8CtXYzr70" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/a/AVvXsEiEQfNMLJQnK_IkRYPlDl7jMFcQgk079N_NP3N6czLzv-J5EV27yMNpotMhoiUH75lcJEZIFSqtIXLqlD8s27kY7TYN3nsx3YfBMGglZWCrO3wozK9UwgpkxHGWpkaO60Gj3k-KZWxVFxg8AMjpCg-_qI39D6Z4DFd4LV_q3cqIGoRl21AVKnG8CtXYzr70=w640-h360" width="640" /></a></div><br /><br /><p></p><p>I only posted two screen shots above, from between 10 am and 1PM; the battery level dropped from 70 to under 60%. When I returned to my tent I plugged in an external battery, and by 5PM the phone was back to 100%.</p><h2 style="text-align: left;">Et cetera</h2><p>I experimented with a 1:8000 scale, 600 dpi geoPDF with both the official camp map and the unofficial OSM layer.</p><p>.</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhjkxXYk8EIW_l4HDXgVOpW_NjW1dW_6IjKJROJX3pvzrP30eOKv1vKZGH0IZRCOxqZlEO5zA7yoUsEOe_frMAPDJZhWinMswIzzZOOyiYWZEuU6JouqFpo7GXIBR3Cak-vQiGLSbi72EjnJrLR022PxM8zC94gZbVvFkM810uxZHiCRqg0KdPDOW-I6KtJ" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="2400" data-original-width="1080" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEhjkxXYk8EIW_l4HDXgVOpW_NjW1dW_6IjKJROJX3pvzrP30eOKv1vKZGH0IZRCOxqZlEO5zA7yoUsEOe_frMAPDJZhWinMswIzzZOOyiYWZEuU6JouqFpo7GXIBR3Cak-vQiGLSbi72EjnJrLR022PxM8zC94gZbVvFkM810uxZHiCRqg0KdPDOW-I6KtJ=w288-h640" width="288" /></a></div><br /><br /><p></p><p>I needed to allow "all the time" location access to Avenza to have the "show a route" function work. Other operations usually work with allowing access "just the once," though often Avenza will claim "not on map" and I needed to stop/start the app. Maybe a bug.</p><p>The blue dot can dance around, showing where the app thinks you are, and shows a shrinking diameter as more satellite signals are locked in. My testing was partly the squiggles of the original transformed map image, the delay and aberrations of the Android device (iPhone testers needed too), and the time needed to get a "good enough" spot for a place on the earth.</p><p><br /></p>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-45658852822162350492023-10-17T09:19:00.001-04:002023-12-04T15:28:47.766-05:00Saga of QGIS Tutorial--NetBSD stumble at the finish line<p>Previously*, I wrangled QGis version 3.28 or better on Raspberry Pi's trying to complete pertinent tutorial lessons and hitting local software application limits. I had success with OpenSUSE and FreeBSD (on x86 hardware). My next focus was NetBSD on a Pi4 (with the full 8GB), after upgrading the package system (in fits and starts) to the Q3 2023 release. </p><p>* <a href="https://jspath55.blogspot.com/2023/09/tiling-for-geo-map-referencing-in-qgis.html">https://jspath55.blogspot.com/2023/09/tiling-for-geo-map-referencing-in-qgis.html</a></p><p><a href="https://jspath55.blogspot.com/2023/10/qgis-tutorial-torture-track.html">https://jspath55.blogspot.com/2023/10/qgis-tutorial-torture-track.html</a></p><div style="text-align: left;"><span style="font-family: inherit; font-size: x-small;">Just because it says BETA doesn't mean this is a flaky OS. The tiny box just takes everything I can throw at it; my main challenge is getting all the pieces talking nice (and doing a valid GEO PDF at the end).</span></div><div style="text-align: left;"><span style="font-family: courier; font-size: x-small;"><br /></span></div><div style="text-align: left;"><span style="font-family: courier; font-size: x-small;">$ uname -a</span></div><div style="text-align: left;"><span style="font-family: courier; font-size: x-small;">NetBSD nb 10.0_BETA NetBSD 10.0_BETA (GENERIC64) #0: Sat Sep 9 15:02:43 UTC 2023 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm</span></div><div style="text-align: left;"><span style="font-family: courier; font-size: x-small;"><br /></span></div><div style="text-align: left;"><span style="font-family: courier; font-size: x-small;"><div>[ 1.000000] NetBSD 10.0_BETA (GENERIC64) #0: Sat Sep 9 15:02:43 UTC 2023</div><div>[ 1.000000] mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64</div><div>[ 1.000000] total memory = 8024 MB</div><div>[ 1.000000] avail memory = 7735 MB</div><div><br /></div></span></div><div><span style="font-family: courier; font-size: x-small;"><div>[ 1.000000] simplebus0 at armfdt0: Raspberry Pi Foundation Raspberry Pi 4 Model B</div><div><br /></div><div>[ 2.425653] bwfm0: Firmware file model-spec: brcmfmac43455-sdio.Raspberry Pi 4 Model B.bin</div><div><br /></div></span></div><div style="text-align: left;"><span style="font-family: inherit; font-size: x-small;">The PkgSrc has a current enough version (between Rasbian and Windows), and all the ducks included.</span></div><div style="text-align: left;"><span style="font-family: courier; font-size: x-small;"><br /></span></div><div style="text-align: left;"><span style="font-family: courier; font-size: x-small;">$ ldd /usr/pkg/bin/qgis<br />/usr/pkg/bin/qgis:<br /> -lqgis_app.3.28.7 => /usr/pkg/lib/libqgis_app.so.3.28.7<br /> -lqwt.6 => /usr/pkg/qwt-6.1.5/lib/libqwt.so.6<br /> -lexecinfo.0 => /usr/lib/libexecinfo.so.0<br /> -lelf.2 => /usr/lib/libelf.so.2<br /> -lc.12 => /usr/lib/libc.so.12<br /> -lgcc_s.1 => /usr/lib/libgcc_s.so.1<br /> -lQt5PrintSupport.5 => /usr/pkg/qt5/lib/libQt5PrintSupport.so.5<br /> -lQt5Widgets.5 => /usr/pkg/qt5/lib/libQt5Widgets.so.5<br /> -lQt5Gui.5 => /usr/pkg/qt5/lib/libQt5Gui.so.5<br /> -lQt5Core.5 => /usr/pkg/qt5/lib/libQt5Core.so.5<br /> -lz.1 => /usr/lib/libz.so.1<br /> -ldouble-conversion.3 => /usr/pkg/lib/libdouble-conversion.so.3<br /> -lstdc++.9 => /usr/lib/libstdc++.so.9</span></div><p><br /></p><p>Summing up:</p><p><span style="font-family: courier;">$ qgis --version</span></p><p><span style="font-family: courier;">QGIS 3.28.7-Firenze 'Firenze' (exported)</span></p><div>Steps for tutorial section 14 (part: "14.3.6. basic Follow Along:<b> Joining the Forest Stand Data</b>")</div><div><br /></div><div><a href="https://docs.qgis.org/3.28/en/docs/training_manual/forestry/stands_digitizing.html#basic-fa-digitize-the-forest-stands">https://docs.qgis.org/3.28/en/docs/training_manual/forestry/stands_digitizing.html#basic-fa-digitize-the-forest-stands</a></div><p>1. Clicking on the table on the right side lights up the areas on the left. Huzzah. Tiny sliver of badly-drawn border there as I could not (did not) locate the "fix overlaps" routine). Next lesson.</p><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqj5-DqtmdhX6LGwaq3deNaeh-aS-AnPX9fXQLZP6t113zAxZxUf_7Uy_G2oNQdN6LqUd-7kQsFuY8j_heK1EKPhAjvtG3bLwi6kB46d2nNCWE4IJcwgooyZ8luItCNTgqu0chI_GAdZg6-eiqk071PPXIyDUPlXk7OoPbGeWoCvwRY6nH0AdjyZ98NI7x/s1390/screen-a-clip.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="775" data-original-width="1390" height="356" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqj5-DqtmdhX6LGwaq3deNaeh-aS-AnPX9fXQLZP6t113zAxZxUf_7Uy_G2oNQdN6LqUd-7kQsFuY8j_heK1EKPhAjvtG3bLwi6kB46d2nNCWE4IJcwgooyZ8luItCNTgqu0chI_GAdZg6-eiqk071PPXIyDUPlXk7OoPbGeWoCvwRY6nH0AdjyZ98NI7x/w640-h356/screen-a-clip.png" width="640" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">QGIS Attributes table - Pi 4 NetBSD 10</td></tr></tbody></table><br /><p>The attributes link is a huge step in correlating pictures to numbers, as it were.</p><p>2. Filter on the far left (funnel icon) where I selected by a routine just 2 subsets. Heads above manually clicking to select, and saved for future changes.</p><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWjlXQkodU-aXrWB3BKcdPWwwDsZJz2U5hGCnnHUkKTLI2bPQWhm7cmt8R2wm7rH009K0-CJlDndS9ABCV-jY37O186vypHQY6_cYwTRsJvDVYqW5os-HhaE62uZ5-UnuGPyADOpJDRQ9XhkzpSGSb2Lao_EVludpAtfyWE7sPewHnxo0rCWi0InxwjWwT/s1220/screen-filter-clip.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="723" data-original-width="1220" height="380" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWjlXQkodU-aXrWB3BKcdPWwwDsZJz2U5hGCnnHUkKTLI2bPQWhm7cmt8R2wm7rH009K0-CJlDndS9ABCV-jY37O186vypHQY6_cYwTRsJvDVYqW5os-HhaE62uZ5-UnuGPyADOpJDRQ9XhkzpSGSb2Lao_EVludpAtfyWE7sPewHnxo0rCWi0InxwjWwT/w640-h380/screen-filter-clip.png" width="640" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">QGIS Filter - Pi4 NetBSD 10</td></tr></tbody></table><br /><p><br /></p><p>3. A tree view of attributes rather than a grid view, </p><p><br /></p><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdHaKouCWg1KzYiehlsvmW49WJzl6EAJjjg82bT1gGvzmUmNNSExqgrg5_1I3r_Frtwm_6CTjIMnis3FjFcFnTGR81kiFZJm9bFCVjeiZULXyNOO8qyZVJzd1ZCTfJbG-NhcBHX42BkrTjVXUPyTPyc5HccLlTGw2WBlQVFEkl3lcRP9F9qwve1W697QHT/s1508/screen-shape-clip.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="684" data-original-width="1508" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdHaKouCWg1KzYiehlsvmW49WJzl6EAJjjg82bT1gGvzmUmNNSExqgrg5_1I3r_Frtwm_6CTjIMnis3FjFcFnTGR81kiFZJm9bFCVjeiZULXyNOO8qyZVJzd1ZCTfJbG-NhcBHX42BkrTjVXUPyTPyc5HccLlTGw2WBlQVFEkl3lcRP9F9qwve1W697QHT/w640-h290/screen-shape-clip.png" width="640" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">QGIS attributes / Tutorial document</td></tr></tbody></table><br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhg_KEX3naTKzaMcEIHAyjeJgxGKX36w_I7moZQzBkwytw-v8NMkjZFMSW9PU9k05Rp1E8qrTDA8iK7SWyNoLp-juclkWNPWJF9t7o7s-hOI91OHxGRkJs5L3DiKKXA2iG8iA6Ed-_P-UKrCIkP1y2XgmU9CzKseIvRIZI5KIqj3rvsV-kj_F8_V5yLI0t/s608/screen-shape-clip-2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="278" data-original-width="608" height="146" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhg_KEX3naTKzaMcEIHAyjeJgxGKX36w_I7moZQzBkwytw-v8NMkjZFMSW9PU9k05Rp1E8qrTDA8iK7SWyNoLp-juclkWNPWJF9t7o7s-hOI91OHxGRkJs5L3DiKKXA2iG8iA6Ed-_P-UKrCIkP1y2XgmU9CzKseIvRIZI5KIqj3rvsV-kj_F8_V5yLI0t/s320/screen-shape-clip-2.png" width="320" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">Zoom</td></tr></tbody></table><br /><p>The lessons worked, as far as an academic follow-the-book exercise went. I knew the parts I skipped or didn't complete, learning enough to see applicability to a few real-world projects.</p><p>The export to a georeferenced PDF is almost there but the NetBSD packages I installed omitted a GDAL subset.</p><div style="text-align: left;"><span style="font-family: courier;">GDAL PDF driver was not built with PDF read support. A build with PDF read support is required for GeoPDF creation.</span></div><p><b>Back to the package manual. </b>And the mailing support lists with a reasonable question.</p><p>Next lesson: Elevations with topographic or other sources, or a dive into database storage/retrieval.</p><p><br /></p><p><b><br /></b></p>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-81207380403529769722023-10-09T20:43:00.001-04:002023-12-04T15:33:38.369-05:00QGIS tutorial torture track<p> I tried to follow the QGIS Forestry tutorial (link below) on a couple Raspberry Pi's (would have liked to use only one but meh). I got up to vector-to-polygon and then stalled on the first day hands-on. In 2 weeks there's a QGIS conference in town I'm attending; consider this my study hall.</p><p>Previously: <a href="https://jspath55.blogspot.com/2023/09/tiling-for-geo-map-referencing-in-qgis.html">jspath55.blogspot.com/2023/09/tiling-for-geo-map-referencing-in-qgis.html</a></p><p>Wherein I list the QGIS versions within reach. Odd to have this many flavors, so let's do the taste test, starting with the Pi with the newest version, running on OpenSUSE. </p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7hu3cZHR-v-x_Tli08y4hhqBZbwW2PdzqOu95LxJup0KEE-Eyma6oTBKt1GvydZvJ_WAbzF7lA0qossPuznZVUbv9Z3u-k9hIlS8lcjcEgaVFMQAsiNyQLeoz9irL4lwLkJ7LvCUSX6X4gD3JZf9Sxxr9QhMqaFAVjDTKKQu5eRnaGDU48wbdk-7yNihY/s742/screen-2023-10-09-15-28-32.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="742" data-original-width="502" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7hu3cZHR-v-x_Tli08y4hhqBZbwW2PdzqOu95LxJup0KEE-Eyma6oTBKt1GvydZvJ_WAbzF7lA0qossPuznZVUbv9Z3u-k9hIlS8lcjcEgaVFMQAsiNyQLeoz9irL4lwLkJ7LvCUSX6X4gD3JZf9Sxxr9QhMqaFAVjDTKKQu5eRnaGDU48wbdk-7yNihY/s16000/screen-2023-10-09-15-28-32.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">The OS is missing something in the Perl layer which results in error messages and missing menus. Until I can track them down or they reappear with an unrelated app upgrade.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Tutorial link:</div><div class="separator" style="clear: both; text-align: left;"><a href="https://docs.qgis.org/3.28/en/docs/training_manual/forestry/index.html">https://docs.qgis.org/3.28/en/docs/training_manual/forestry/index.html</a></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">The learning here is use the filter (search) field to enter the coordinate reference system (the other CRS, not the can't remember stuff one) with numbers. I missed one of the transformations as the version I used had slightly different field text.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Geo-referencing was easy until I misread something, throwing off the mark. Easily seen by the result, and I skipped to the next lesson by keying in the exact values instead of trying the visual drop the claw-grab protocol.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho-h0DKkg7Sp8n2So3uqZ0FiFngO1Wge92F3OvSscVf2Eka1IuxPYDJlG7VbOUziddsfbsECMQp1eHyXoTqat4p0tigYwIHW-CGWC_xN93HK2UPwS9veNqzmUSr-N3YOiS1ymv-Uzh7ZKB65d0ADRfEwpXQcScI0UayMWlunNs_njLecXHj7iVb88prG2V/s1167/screen-2023-10-09-15-33-21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="861" data-original-width="1167" height="295" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho-h0DKkg7Sp8n2So3uqZ0FiFngO1Wge92F3OvSscVf2Eka1IuxPYDJlG7VbOUziddsfbsECMQp1eHyXoTqat4p0tigYwIHW-CGWC_xN93HK2UPwS9veNqzmUSr-N3YOiS1ymv-Uzh7ZKB65d0ADRfEwpXQcScI0UayMWlunNs_njLecXHj7iVb88prG2V/w400-h295/screen-2023-10-09-15-33-21.png" width="400" /></a></div><br /><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Very nice to have the answers in the margins, so to speak.</div><div class="separator" style="clear: both; text-align: left;">The skewed first version:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA-C9ToxDNUrM-SJR11UBbkxYvmgbcyp8P7QK8rpTz5p6oxeN7mggPMNkpWSEHvzhi41tBxV_7njXcBu4QBVbExOF7w0StOmPwOgoTSBGbHAd1iNmFFy_s5Cq9qRTMoKc-xz4D7TQ0Foi7xW0Phgim_xNAEcI-PBQBCPpfd6FpuvR5Oech-xPPQyLz3Mki/s437/screen-2023-10-09-15-58-56-crop-circled.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="437" data-original-width="412" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA-C9ToxDNUrM-SJR11UBbkxYvmgbcyp8P7QK8rpTz5p6oxeN7mggPMNkpWSEHvzhi41tBxV_7njXcBu4QBVbExOF7w0StOmPwOgoTSBGbHAd1iNmFFy_s5Cq9qRTMoKc-xz4D7TQ0Foi7xW0Phgim_xNAEcI-PBQBCPpfd6FpuvR5Oech-xPPQyLz3Mki/w604-h640/screen-2023-10-09-15-58-56-crop-circled.jpg" width="604" /></a></div><br /><p>Maxwell Smart voice: "missed it by that much."</p><p>Gnu Imp</p><p>Sigh. Crashed on tutorial section trying to select by color.</p><p>Bang, Zoom, to the Moon, or as my Brit friends might say, "Cloud-cuckoo-land."</p><br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDgDLm13N4nZPDKaoN6XHaG_aOnTt5AeY43kBnnYPoFz70FIhTgS0Ax7Sx3I0YjXMiWKtCZjYlxNR488ox7pdsQz6tgOMV9051yLOXDnIAjjhL85y2562rpe7GqLxFjWO9Tyl8UcNj-LN6hWWjik4oLnCYMwieaynWuGsZRFys_mQT1F-8jCblLJMj1f9w/s1200/20231009_123355_crop.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="1200" data-original-width="675" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDgDLm13N4nZPDKaoN6XHaG_aOnTt5AeY43kBnnYPoFz70FIhTgS0Ax7Sx3I0YjXMiWKtCZjYlxNR488ox7pdsQz6tgOMV9051yLOXDnIAjjhL85y2562rpe7GqLxFjWO9Tyl8UcNj-LN6hWWjik4oLnCYMwieaynWuGsZRFys_mQT1F-8jCblLJMj1f9w/s320/20231009_123355_crop.jpg" width="180" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">12:33:55</td></tr></tbody></table><br /><br /><p><br /></p><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4S7VrLzs4DTjoIaxaYeSmfB2A21ps-vTP19VoLPP-0GeBg4L1dUUqwH5iFc3vDpZUtIZ7dXrTA4fCQAzB-MOeagTW72W8FbRq9_R1hCQ6m-sEfz03Hi-fdyTgJyYGG8SubCKekZfiy_E-5iAF0zY3NlM8eKzLDTuzKB8AF8to3-47o4HryppJKJ5iBp38/s1687/20231009_123401_crop.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="728" data-original-width="1687" height="138" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4S7VrLzs4DTjoIaxaYeSmfB2A21ps-vTP19VoLPP-0GeBg4L1dUUqwH5iFc3vDpZUtIZ7dXrTA4fCQAzB-MOeagTW72W8FbRq9_R1hCQ6m-sEfz03Hi-fdyTgJyYGG8SubCKekZfiy_E-5iAF0zY3NlM8eKzLDTuzKB8AF8to3-47o4HryppJKJ5iBp38/s320/20231009_123401_crop.jpg" width="320" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">12:34:01</td></tr></tbody></table><br />Fortunately, only the user session/window manager died, not the whole OS as it might look.<div><br /></div><div>Switched over to another PI running Rasbian (but QGIS 3.10) that had Gnu Imp which worked, to a fault.</div><div><br /></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHXqDg_2Pf2S9Y-KMusjnsnjfzVd7-rAdJ2vwoVs0yAIyNFlITlkZZ1EAw2NNl8oAgQCJls6cBxwk996HGjeGRCflpW-7kiwpG4cfaBNjlTXTUoFKf56uU4GlkObzNLJsy14pWoABcfEFiup5pHefaKMQ74PuJNwpUj_TqsoOaF4coyGdV-uz395maWH4f/s1032/screen-2023-10-09-16-28-24.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="793" data-original-width="1032" height="246" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHXqDg_2Pf2S9Y-KMusjnsnjfzVd7-rAdJ2vwoVs0yAIyNFlITlkZZ1EAw2NNl8oAgQCJls6cBxwk996HGjeGRCflpW-7kiwpG4cfaBNjlTXTUoFKf56uU4GlkObzNLJsy14pWoABcfEFiup5pHefaKMQ74PuJNwpUj_TqsoOaF4coyGdV-uz395maWH4f/s320/screen-2023-10-09-16-28-24.png" width="320" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">Gnu Imp - Lower Left of Map</td></tr></tbody></table><br /><br /><br /><div>More results in the green goo.</div><div><br /></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJmflfGNZUBK8IIfwT4iuAF55aZW2C5c0WNTPBt8SCuTCM8Gl9_tUzEruaoymgE_bfXZfJ6ikgkVUIN7sp95VVt1rfnlsSAw64lwby5G3HBhaaF2NTm8ke0QwpojMVtfbnEJhJ5tZbn1RrkFPs6Nzojxq6vmSzPYmFXfCUTnCdTl-L4yXjEKtm3qsDCev8/s1132/screen-2023-10-09-17-18-20-crop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="719" data-original-width="1132" height="406" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJmflfGNZUBK8IIfwT4iuAF55aZW2C5c0WNTPBt8SCuTCM8Gl9_tUzEruaoymgE_bfXZfJ6ikgkVUIN7sp95VVt1rfnlsSAw64lwby5G3HBhaaF2NTm8ke0QwpojMVtfbnEJhJ5tZbn1RrkFPs6Nzojxq6vmSzPYmFXfCUTnCdTl-L4yXjEKtm3qsDCev8/w640-h406/screen-2023-10-09-17-18-20-crop.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">Not the ideal output the tutorial has, but the steps are workable. Later attempts to move to polygonal spaces failed as the Raspbian was missing parts, or I cannot find them yet, and the OpenSUSE needs the python hooks re-hooked to shape up the shape files.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><h2 style="clear: both; text-align: left;">SQL FUN</h2><div>Something was in the wrong mode.</div><div><br /></div><div><br /></div><div><span style="font-family: courier;">ERROR 1: sqlite3_exec(DROP TRIGGER rtree_states_provinces_geom_update3) failed: attempt to write a readonly database</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">ERROR 1: sqlite3_exec(CREATE TRIGGER "rtree_disputed_borders_geom_update3" AFTER UPDATE ON "disputed_borders" WHEN OLD."fid" != NEW."fid" AND (NEW."geom" NOTNULL AND NOT ST_IsEmpty(NEW."geom")) BEGIN DELETE FROM "rtree_disputed_borders_geom" WHERE id = OLD."fid"; INSERT OR REPLACE INTO "rtree_disputed_borders_geom" VALUES (NEW."fid",ST_MinX(NEW."geom"), ST_MaxX(NEW."geom"),ST_MinY(NEW."geom"), ST_MaxY(NEW."geom")); END) failed: trigger "rtree_disputed_borders_geom_update3" already exists</span></div><div><br /></div><div><br /></div><h4 style="text-align: left;">FILE TIFFing</h4><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">tutorial-pi400/rautjarvi_green_georef.tif: TIFF image data, little-endian, direntries=29, height=4561, bps=362, compression=none, PhotometricIntepretation=RGB, name=U:\Dropbox\GISMOOD_KESKUS_prj2014\0-13004-002-Simosol-online_gis_materials\1-mets\303\244materiaalit\0-mets\303\244materiaalit\ex1-map digi, description=Groovy Green Goo, orientation=upper-left, width=2014</span></div></div><div><br /></div><div><br /></div><div><br /></div><h2 style="clear: both; text-align: left;">C.R.S.</h2><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><i>"Multiple operations are possible for converting coordinates between these two Coordinate Reference Systems. Please select the appropriate conversion operation, given the desired area of use, origins of your data, and any other constraints which may alter the "fit for purpose" for particular transformation operations."</i></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><i>"An alternative, ballpark-only transform was used when transforming coordinates between EPSG:2392 - KKJ / Finland zone 2 and EPSG:3067 - ETRS89 / TM35FIN(E,N). The results may not match those obtained by using the preferred operation:</i></div><div class="separator" style="clear: both;"><i>Possibly an incorrect choice of operation was made for transformations between these reference systems. Check the Project Properties and ensure that the selected transform operations are applicable over the whole extent of the current project."</i></div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><br />jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-84618341132193907242023-09-29T13:55:00.003-04:002023-12-04T15:28:04.725-05:00Tiling for Geo Map Referencing in QGIS<p> </p>
<h1>Q GIS</h1>
<br /><h2>JPEG to TIFF to PDF</h2>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwY7BiBAta26_SIsVzAOMURLhX-YigychRf5SAxwlsSlyN9BXlbwKeydkIOkpJ6HvooAf-XIdR0qmPoFXO_UsN2F3123jeJhXz-0oasbve_MhsHhNzj66Jxrk2q730Q4Bby_e4_NyXk5ypW_o6praraAC35sKH4KEXCb6owV7te_33H9weEUom9AsGfFAT/s1097/suse-qgis-screen-1-crop.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="570" data-original-width="1097" height="332" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwY7BiBAta26_SIsVzAOMURLhX-YigychRf5SAxwlsSlyN9BXlbwKeydkIOkpJ6HvooAf-XIdR0qmPoFXO_UsN2F3123jeJhXz-0oasbve_MhsHhNzj66Jxrk2q730Q4Bby_e4_NyXk5ypW_o6praraAC35sKH4KEXCb6owV7te_33H9weEUom9AsGfFAT/w640-h332/suse-qgis-screen-1-crop.png" width="640" /></a> QGIS on X11</div><br /><p></p><div>I needed to convert a JPEG image into a georeferenced PDF, which I was able to do, finding things to fix later along the path.</div><div><br /></div><div>The issue with starting at the top is the image is too big to share cleanly, so breaking the problem into parts led to tiles showing a fraction of the big picture.</div><div><br /></div><div>Source of data I used to feed into QGIS were a history file of geo-tagged Panoramio images (such as this one of Oest Chapel; just kidding it's the Marble Hill campsite latrine).</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ5TGrccZ5KPNrI9CsakEaRQlyyaYyV-feJdWtMKEYN7Adt0CbJb-p0sFUrpz232Brs7YfIHkcKXumfJr-TMm1R1FGkcP1fQa464jlI6GY37l8i6hR0oIZcr925umFQRFMjdvMLl4FNLX9eX6eUfWO7uFrwnwR2pzDFotVauqNMHkKJ_4XpxRPA4pn9Yo-/s1600/20160416_092955a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ5TGrccZ5KPNrI9CsakEaRQlyyaYyV-feJdWtMKEYN7Adt0CbJb-p0sFUrpz232Brs7YfIHkcKXumfJr-TMm1R1FGkcP1fQa464jlI6GY37l8i6hR0oIZcr925umFQRFMjdvMLl4FNLX9eX6eUfWO7uFrwnwR2pzDFotVauqNMHkKJ_4XpxRPA4pn9Yo-/w640-h360/20160416_092955a.jpg" width="640" /></a></div><br /><div><br /></div><h3 style="text-align: left;">QGIS versions</h3><div>Turns out the Raspberry Pi 4 (aka 400) factory warranty operating system has an older QGIS release than other systems I tried to use. Windows had 3.32.2-Lima, OpenSUSE had QGIS 3.32.0-Lima, and a couple *BSD were at qgis-3.28.11 or so. Raspbian had QGIS 3.10.14-A Coruña.</div><div><br /></div><div>Thus, I worked on OpenSUSE and Windows. Would have like to do more on FreeBSD as that box has the best processors in the house. On the downside, OpenSUSE didn't have Viking, and I couldn't build the venerable XPaint (was able to use screengrab for the docs here in the house).</div><div><br /></div><div>The "Georeferencer" button is either there or it isn't. I've looked on the older versions and despite the copious documentation pages the function escapes me.<br /></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfcyDKm9709k2dCqP6XojG3fzCD0lSI4fSEQ253JPf-NY3n6HZe1cEXJZDcWkPRy4N_JDJ5uV0k-wSCrQDdNBWtvtmEye0Fhr_8mqLFVgeaX87n6memsSHHhClaMa_GHhzWyutHMe8S0-0rCQECEmbPUhqGz2h8AX2_CI7RJ4okkaPc-RRgrss8zQkTyr1/s671/suse-qgis-screen-2-crop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="437" data-original-width="671" height="416" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfcyDKm9709k2dCqP6XojG3fzCD0lSI4fSEQ253JPf-NY3n6HZe1cEXJZDcWkPRy4N_JDJ5uV0k-wSCrQDdNBWtvtmEye0Fhr_8mqLFVgeaX87n6memsSHHhClaMa_GHhzWyutHMe8S0-0rCQECEmbPUhqGz2h8AX2_CI7RJ4okkaPc-RRgrss8zQkTyr1/w640-h416/suse-qgis-screen-2-crop.png" width="640" /></a></div><br /><div><br /></div><div>One note I read said you could get away with only 3 control points; the program insisted on at least 4 per run. I used 10 in an earlier projection reference which was tedious but not too complex.</div><div><br /></div><div>The icons are a little fuzzy to me and I tend to use the pull-down menus. Maybe after doing a few dozen I'll get the shortcuts down.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitjbGuC3gNDuENsr-th8fwViX5byxAlHFy6V3YSVkGG8MvrBb0ieaxopJxg9MM94YGRJziEzHLabXtBMw3-g_NVOIgt5z6el-K1DR3UcbHHRGMLZJLUikQUOFmvpM3jfqmbzD0rzxyuIgD0uJC_9ujZlqqVzZn6ilAbeQVFC1JHlmR2kN9aG5VjKYiqSfx/s917/suse-qgis-screen-3-crop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="861" data-original-width="917" height="600" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitjbGuC3gNDuENsr-th8fwViX5byxAlHFy6V3YSVkGG8MvrBb0ieaxopJxg9MM94YGRJziEzHLabXtBMw3-g_NVOIgt5z6el-K1DR3UcbHHRGMLZJLUikQUOFmvpM3jfqmbzD0rzxyuIgD0uJC_9ujZlqqVzZn6ilAbeQVFC1JHlmR2kN9aG5VjKYiqSfx/w640-h600/suse-qgis-screen-3-crop.png" width="640" /></a></div><br /><div><br /></div><div><br /></div><h3 style="text-align: left;">Georeference and the GCP table</h3><div><br /></div><div><br /></div><div>The above image shows a map (loaded from a JPEG file) with 4 control points in the table at the bottom. I've circled those points on the image as there are no text labels in this view.</div><div><br /></div><div>For this example, I chose the northeast (more or less) corners of a couple buildings - the main warehouse, and Prospect cabin, and the corner of the pool, and about where the water tower is. Even though the spots seem pretty close, there is definite warpage of the trails on different map levels.</div><div><br /></div><div>After running the referencer code a TIFF image file is produced that contains the geotagging needed to correct use.</div><div><br /></div><div><div><span style="font-family: courier;">Broad_Creek 2023_225dpi-01-OEST-CHAPEL_modified.tif: </span></div><div><span style="font-family: courier;">TIFF image data, little-endian, direntries=16, height=477, bps=206, compression=none, PhotometricInterpretation=RGB, width=615</span></div><div><span style="font-family: courier;"><br /></span></div><div><span style="font-family: courier;">Broad_Creek_2023_225dpi-01-SAFFRAN-QM-TILE_modified.tif: </span></div><div><span style="font-family: courier;">TIFF image data, little-endian, direntries=16, height=506, bps=206, compression=none, PhotometricInterpretation=RGB, width=508</span></div></div><h3 style="text-align: left;">The PDF production</h3><div><br /></div><div>I have not set the geo-PDF as a default so must check both of these boxes to get a PDF.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjeNdMi4SQhDwqmTGJfMJX8OcT5bCNT5twuzcq1iHkD-RI4iyLOuKnyRiZtSX-iijJOZOcNJeku9XqtiszhlJXM_4nAyutzxHFoG0G1swTmS_WRZRLZkXyxHKvug372pn84Njxs4fEQlx1r7zZ09T6c2PwveBvns-6OlTEuFXEnD95sdXD7_JsxXJwHbBK/s722/suse-qgis-screen-4-crop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="722" data-original-width="608" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjeNdMi4SQhDwqmTGJfMJX8OcT5bCNT5twuzcq1iHkD-RI4iyLOuKnyRiZtSX-iijJOZOcNJeku9XqtiszhlJXM_4nAyutzxHFoG0G1swTmS_WRZRLZkXyxHKvug372pn84Njxs4fEQlx1r7zZ09T6c2PwveBvns-6OlTEuFXEnD95sdXD7_JsxXJwHbBK/w538-h640/suse-qgis-screen-4-crop.png" width="538" /></a></div><br /><div><br /></div><div><br /></div><div>Then it just works.</div><div>Loading in Avenza is the best test, even better to run it within the map borders to get the location shown.</div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-81432290322417343662023-06-09T17:51:00.002-04:002023-06-09T20:50:20.053-04:00Mini vision quest upstream<p> I intended to test getting elevations as well as latitude/longitude with a slightly better<br />than my Coolpix along a stream/drainage channel. Ended up seeing a small vision of what the streambed looked like before we disturbed it.</p><p><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEj6n7CLPaqA18GX1kxhdypiFhFbCF1eckYsXEpghhhHSxKOLCkcnpzVif2URxInTcWSyxtOh_s7cl8TGXgM7bFe2V7rrdxAJX8ixWiavJLn2DlkFQBkWsoak_kpzDA7gXnVF4zMyxdeBMR1Ji-ucWrIkOuLrauFtjwku2fkYfrmnUet4F-WhsFpcE-OdA" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="444" data-original-width="800" height="178" src="https://blogger.googleusercontent.com/img/a/AVvXsEj6n7CLPaqA18GX1kxhdypiFhFbCF1eckYsXEpghhhHSxKOLCkcnpzVif2URxInTcWSyxtOh_s7cl8TGXgM7bFe2V7rrdxAJX8ixWiavJLn2DlkFQBkWsoak_kpzDA7gXnVF4zMyxdeBMR1Ji-ucWrIkOuLrauFtjwku2fkYfrmnUet4F-WhsFpcE-OdA" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">This figure was taken from the NPS publication on their web site - https://www.nps.gov/hamp/learn/upload/EOA-Hampton-TracingLivesFinalReport-508.pdf - (page 143) and shows "property" and water channels from around 1800 (?). From prior to the Loch Raven Reservoir being created. Arrows show an almost southerly direction on 3 unnamed tributaries of the then-named Petersons Run (I have not located that name on recent maps but haven't looked too far yet).</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Researching landmarks/placemarks/benchmarks I found a 1938 "monument" by the USC & GS (then-named) in the vicinity. So I started there in an elevation quest (to level-set one might say). </div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">My bookmark (pin) is:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><p></p><div style="clear: both; text-align: left;"><span style="font-family: courier; font-size: x-small;"><?xml version="1.0" encoding="UTF-8"?><br /><kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom"><br /><Placemark><br /><span style="white-space: pre;"> </span><name>BM Hampton</name><br /><span style="white-space: pre;"> </span><Point><br /><span style="white-space: pre;"> </span><coordinates>-76.59533879999999,39.4293622,0</coordinates><br /><span style="white-space: pre;"> </span></Point><br /></Placemark><br /></kml></span></div><div class="separator" style="clear: both;"><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;">The <a href="https://www.ngs.noaa.gov/cgi-bin/ds_mark.prl?PidBox=JV5454">records</a> show the location is obscured.</div><div class="separator" style="clear: both;"> </div><div class="separator" style="clear: both;">I found a lot of topo data from the JHU Sheridan Libraries site</div><div class="separator" style="clear: both;"><div class="separator" style="clear: both;"><ul style="text-align: left;"><li>JScholarship Home</li><ul><li>Library (Sheridan) General Collections</li><ul><li>Maps and Atlases</li><ul><li>Maryland State, County and Baltimore City Atlases </li></ul></ul></ul></ul></div></div><div class="separator" style="clear: both;"> - https://jscholarship.library.jhu.edu/handle/1774.2/36112</div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;">Enough to get to the monument later, after the stream stomp. Good conditions for a field inspection given the lack of recent rain. More dry footing, and on the flip side, good mosquito breeding conditions. Not to mention poison ivy growth spurts.</div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhKGh8mmSm8BhVpTIx0okKop5nNPvdsCZ8BnIdy-yjswlpriODj_VpR9DkN0fZXPXxYDU7PfF3hPSkjec96Ers3LIo7GtCqt6W5eN2Fn5OywiOfQT94MHfDcyEXrTFR4nGO5esb99V8A47cvfUg_XBh2bUYllYqKggRCTmDvZCAoFqsUjoiPh2Jhz3dWA" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="900" data-original-width="1200" height="300" src="https://blogger.googleusercontent.com/img/a/AVvXsEhKGh8mmSm8BhVpTIx0okKop5nNPvdsCZ8BnIdy-yjswlpriODj_VpR9DkN0fZXPXxYDU7PfF3hPSkjec96Ers3LIo7GtCqt6W5eN2Fn5OywiOfQT94MHfDcyEXrTFR4nGO5esb99V8A47cvfUg_XBh2bUYllYqKggRCTmDvZCAoFqsUjoiPh2Jhz3dWA=w400-h300" width="400" /></a></div><br /><br /></div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;">The most downstream section goes into a culvert under a state/county highway, and I walked "up" from there. I'd been on the banks, obscured by overgrowth, before, just not at waters-edge.</div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;">Small pebbles, gravel, rocks, and at one stretch, broken-up concrete rubble fill (more or less). Not until I reached a section of shale (?) outcropping did I understand I was on land undisturbed by people. And by people, yes, white people.</div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjpq3knsb4FswI3RBgXFfAHdlraGv30oGGKD1nPPT0-NkY_-Jq7lAFsgbSdq3q62tcTt0QXk3udJ5y3ZPUUrSFZ46KOvZZvkqa7eyEFEf_rhVqL7qXrznuQeLwv9iByBNKm43OQHKycXjPNE2iARURjMcUODQjHmUnzZODSp03TEHp0uqSDpsk2OpFDTw" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="790" data-original-width="1024" height="494" src="https://blogger.googleusercontent.com/img/a/AVvXsEjpq3knsb4FswI3RBgXFfAHdlraGv30oGGKD1nPPT0-NkY_-Jq7lAFsgbSdq3q62tcTt0QXk3udJ5y3ZPUUrSFZ46KOvZZvkqa7eyEFEf_rhVqL7qXrznuQeLwv9iByBNKm43OQHKycXjPNE2iARURjMcUODQjHmUnzZODSp03TEHp0uqSDpsk2OpFDTw=w640-h494" width="640" /></a></div><br /><br /></div><div class="separator" style="clear: both;">I adjusted this image by 3 degrees once I spotted the building window that is unnaturally plumb.</div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;">And realized the streambed formerly went toward where the building and parking lot are now. Those streams that went southward can't anymore, though the sinkholes and disappearing streamflow says otherwise.</div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjESxvx8IMzN7V4OHgHFc8k7gqib0c1Zx19-fhDQ8oW7F-xmZ9ZrWhfUAxoo3moBI6jSpHU4K88uTmrf2dUgZCMBjrnPEKGZ9m0cOIiE9CXLGQLliUGz9owRoibTsPYcQzu6w08Rn3pJW_1XCW3EOqMLqG_oRSA1sJUqH1uEJjlMVH7zn_j31a1tY_iuA" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="900" data-original-width="1200" height="480" src="https://blogger.googleusercontent.com/img/a/AVvXsEjESxvx8IMzN7V4OHgHFc8k7gqib0c1Zx19-fhDQ8oW7F-xmZ9ZrWhfUAxoo3moBI6jSpHU4K88uTmrf2dUgZCMBjrnPEKGZ9m0cOIiE9CXLGQLliUGz9owRoibTsPYcQzu6w08Rn3pJW_1XCW3EOqMLqG_oRSA1sJUqH1uEJjlMVH7zn_j31a1tY_iuA=w640-h480" width="640" /></a></div><br /><br /></div><div class="separator" style="clear: both;"> Also see: https://www.baltimorecountymd.gov/departments/environment/watersheds/index.html</div></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-71624462593270070652023-05-08T20:06:00.001-04:002023-12-04T15:29:04.862-05:00Beta Testing NetBSD 10; the Intermittent Result Set<p></p>
<p style="text-align: left;">After running sets of tests on the NetBSD 10.0 beta release, I had opened about 2 dozen problem reports of varying severity, and thought it time to take stock. Some have been closed, many have identified solutions, and a few are head scratchers. </p><h2>Full test cycle on an ARM soc</h2><div>I set up a <i>cron</i> job to run the <i>/usr/tests/</i> suite on a Pi 02W; it was taking a few hours to complete which allowed 8 hour restarts. The slice is roughly 8 hours, and includes CPU temperature, interrupts, and memory. Sorry I cut off the scale here.</div>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5U40kzfMHygGieRq4lmkhpCzeWf-0QDKd0TKTk-VQOwtPUlSBIwwOpYG7HaTfpxY7vl6Hj_ZfFQdZStwQGUNMZb7jWu-NIbaDBoPZ2Imvdrvkbs8ftOvtol7t4t4lhv2g7uBovV2t-If4WxgSyJMw40jbTZOPSD9sOwCK8OwPqCanjvm0-hDCsGE6PA/s747/temp++--.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="747" data-original-width="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5U40kzfMHygGieRq4lmkhpCzeWf-0QDKd0TKTk-VQOwtPUlSBIwwOpYG7HaTfpxY7vl6Hj_ZfFQdZStwQGUNMZb7jWu-NIbaDBoPZ2Imvdrvkbs8ftOvtol7t4t4lhv2g7uBovV2t-If4WxgSyJMw40jbTZOPSD9sOwCK8OwPqCanjvm0-hDCsGE6PA/s16000/temp++--.png" /></a></div><p><br /></p><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><p>This image is from 48 hours and shows CPU core temperature (Celsius) during the automated test cycle</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxYxdrQWAlJ76rre2zzKr-3DELfquMMaDrIIyGcEL4WgEGZz-hbjI6l4LK1Kl3L8KcUF6obTHSV-IWdXdjouK0Z4nALXVZJln6zjYDYY18EVlaNH9WbPoOArvIB2Mt5P80gUtjasMO8h2rqFE9qvsb9i2ikxPZ2Oxi9lpVzXuEaPDOA_4o8eu6a3qlTw/s1527/temp.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="354" data-original-width="1527" height="93" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxYxdrQWAlJ76rre2zzKr-3DELfquMMaDrIIyGcEL4WgEGZz-hbjI6l4LK1Kl3L8KcUF6obTHSV-IWdXdjouK0Z4nALXVZJln6zjYDYY18EVlaNH9WbPoOArvIB2Mt5P80gUtjasMO8h2rqFE9qvsb9i2ikxPZ2Oxi9lpVzXuEaPDOA_4o8eu6a3qlTw/w400-h93/temp.png" width="400" /></a></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div>The range goes from 45 to 50 with no tests running, then maxes to 60 at points.<br /><p>Reviewing the test results (failures, in other words) reveals a few issues worth opening tickets, as did reading up on the test algorithms and reference pages. The aspect that intrigued me primarily were tests that did not pass or fail consistently. A typical case is running out of memory caused by creating sample data of variable dimensions. Side effects of this, for example:</p><p><span style="font-family: courier; font-size: x-small;">[ 61059.604145] UVM: pid 12801 (h_libarchive), uid 0 killed: <b>out of swap</b></span></p><p>Sometimes this is visible with <i>vmstat </i>commands:</p>
<pre> 0 0 7960 330868 0 0 0 0 0 0 0 8519 18 36 0 0 100
0 0 7960 330868 0 0 0 0 0 0 0 8521 18 38 0 0 100
Mon May 1 23:24:01 UTC 2023
procs memory page disk faults cpu
r b avm fre flt re pi po fr sr l0 in sy cs us sy id
1 0 1968 337656 47 0 0 0 4 4 1 8503 184 67 0 1 99
1 0 10828 328948 7245 0 0 0 0 0 99 9117 5113 989 7 13 80
2 0 19112 320688 2576 0 0 0 0 0 42 9392 4107 1979 12 16 72
0 0 8568 331328 1534 0 0 0 0 0 89 8919 1788 949 1 5 95
0 0 7896 332000 201 0 0 0 0 0 0 8534 254 44 0 0 100
0 0 7896 332000 0 0 0 0 0 0 0 8527 18 36 0 0 100
</pre>
<p><br /></p><p>Given those results are not indicative of system faults, looking at the other test case failures and sorting them by fixed/workarounds/etc, I have 3 that I don't know the root cause, and that's all of consequence. Two of them are wifi-relates and the third is a failure to compile profiling data into an an executable on a 32-bit Pi 02W. </p><p>One of the intermittent has corresponding out-of-memory messages (57291). While it's a low priority issue because the tests would pass with more storage space, there is probably a way to avoid runaway space requests and still have useful tests.</p><h3 style="text-align: left;">Tickets with unknown root cause:</h3><p></p><ol style="text-align: left;"><li>misc/57303 [serious/medium]: ATF unit test usr.sbin/tcpdump/t_tcpdump fails when wireless active on amd64</li><li>toolchain/57321 [non-critical/medium]: ATF test case usr.bin/cc/t_hello:hello_profile fails on RPI02W/evbarm only</li><li>bin/57366 [serious/medium]: Automated test usr.sbin/tcpdump/t_tcpdump:promiscuous fails on Rpi3 with wifi active</li></ol><h3 style="text-align: left;">Tickets with known cause/workaround:</h3><ul style="text-align: left;"><li>kern/57185 [non-critical/medium]: Python build fails on 10_BETA due to no entropy on Atom CPU system</li><li>misc/57286 [serious/medium]: Unit test fs/tmpfs/t_vnode_leak fails in ATF Tests suite</li><li>misc/57291 [serious/medium]: Unit test for lib/libc/regex/t_exhaust fails in ATF Tests suite with signal 9</li><li>lib/57314 [serious/medium]: </li><li>ATF unit tests fail on 3 of 7 cases in program lib/libc/c063/t_utimensat on evbarm/Rpi 02W</li><li>kern/57320 [serious/medium]: ATF test case kernel/t_magic_symlinks:machine_arch fails on RPI02W/evbarm only [?]</li><li>lib/57331 [serious/medium]: Automated unit test lib/libc/net/t_servent:servent fails on amd64 only</li><li>misc/57361 [non-critical/medium]: Automated test t_archive fails 2 test cases on an Rpi3</li></ul><h3 style="text-align: left;">Tickets fixed:</h3><p></p><ul style="text-align: left;"><li>misc/57284 [serious/medium]: Unit test for envstat fails in ATF Tests suite on one machine</li><li>kern/57319 [serious/medium]: ATF test case kernel/t_magic_symlinks fails as non-root instead of showing expected fail message</li></ul><h3 style="text-align: left;">Tickets with intermittent pass/fail results:</h3><p></p><ul style="text-align: left;"><li>misc/57291 [serious/medium]: Unit test for lib/libc/regex/t_exhaust fails in ATF Tests suite with signal 9</li><li>kern/57345 [serious/medium]: Automated test kernel/kqueue/t_empty fails intermittently on an amd64 machine</li><li>toolchain/57351 [serious/medium]: Automated test usr.bin/c++/t_tsan_vptr_race:vptr_race fails intermittently on an amd64 machine</li><li>kern/57371 [serious/medium]: Automated test fs/vfs/t_vnops:nfs_rename_reg_nodir fails intermittently on Rpi3 and Rpi4</li><li>kern/57385 [serious/medium]: Automated test case for puffs file system fails intermittently on different architectures</li></ul><p></p><div><br /></div><h3 style="text-align: left;">Documentation tickets:</h3><div><div><ul style="text-align: left;"><li>misc/57318 [non-critical/low]: Minor typos in an automated test case - atf/tools/atf-run_test</li><li>misc/57332 [non-critical/low]: Replace 'http' with 'https' on netbsd.org links found in man pages</li><li>misc/57343 [non-critical/low]: Typo in automated test rumpkern/t_vm.c ('this' should say 'thus')</li><li>misc/57344 [non-critical/low]: WIki page for evbarm port missing rpi4 mention</li><li>misc/57347 [non-critical/low]: Several man pages have obsolete file location references under /usr/share/doc</li><li>misc/57397 [non-critical/low]: Minor comment typos in t_vnops.c test program</li></ul></div></div><div><br /></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-4547389607532621152023-04-04T17:10:00.004-04:002023-12-04T15:29:30.293-05:00Upsizing a Pi Zero (2W) to a Pi 3 Footprint<p>Recently I learned, and was intrigued, by two products from WaveShare, both enabling a small footprint Raspberry Pi Zero (2W in my case) to fill a Raspberry Pi 3 case by including a suite of adapters, plugs, and sockets. With the uninspiring brand name, "Raspberry Pi Zero [] to 3B Adapter." </p><p><a href="https://www.waveshare.com/zero-to-pi3-adapter-a.htm" style="background-color: white; font-family: inherit;"><b>Raspberry Pi Zero To 3B Adapter, Alternative Solution for Raspberry Pi 3 Model B/B+</b></a></p><p style="background-color: white; box-sizing: border-box; color: #565656; line-height: 1.4; margin: 10px 0px; text-align: left;"><span style="font-family: inherit; font-size: small;"><a href="https://www.waveshare.com/zero-to-pi3-adapter-b.htm"><b>Raspberry Pi Zero 2W To 3B Adapter, Alternative Solution for Raspberry Pi 3 Model B/B+</b></a></span></p><div>Since I have 2 Pi's running NetBSD 10 BETA, I decided to try each version in a different system. Pictures follow; the basic difference between the A and B versions is the former may work with the vanilla Pi Zero while the latter probably doesn't.</div><div><br /></div><h4 style="text-align: left;">Good/Bad/Ugly...</h4><div><br /></div><h1 style="text-align: left;">The "A" Board</h1><div><br /></div><div><u>Good</u>: Cheaper of the 2 boards. HDMI full size socket (though now what do you do with the micro-HDMI already at hand?)</div><div><br /></div><div><u>Bad</u>: Does not relocate the microSD socket, making case adjustments necessary. See images.</div><div><br /></div><div><u>Ugly</u>: Ethernet is 100 BT.</div><div><br /></div><div>Assembly is a little challenging for two hands, as the three connections for power, USB, and video must be made simultaneously. The connections seemed firm and sound once made, but I'd want to be careful not to torque the board any when joining to the Pi. I wouldn't think you would change this once plugged on (I don't plan to) either.</div><div><br /></div><div>Access to the 40 pin bus is not obstructed as the board design wraps the opposite side.</div><div><br /></div><h4 style="text-align: left;">NetBSD compatibility</h4><div>Once I powered up the combined boards and booted a previously running system, I was happy to see the startup succeeded, with the provided RealTek ethernet stack working fine with NetBSD (some versions don't, or seem to only provide 100BT while claiming gigabit).</div><div><br /></div><div>The USB V2 ports were fine; given the Zero doesn't have USB-3 I wouldn't expect an add-on board to provide accelerated throughput.</div><div><br /></div><div><br /></div><h1 style="text-align: left;">The "B" Board</h1><div><br /></div><div><u>Good</u>: Includes an audio jack. <u>Really good</u>: Providing a micro-USB socket in the expected Pi3 location, somehow rewiring the onboard socket to an outboard one (I wonder what happens if you try to put chips in both sockets?) The funny aspect of this feature was that it went unremarked in the online feature set.</div><div><br /></div><div><u>Bad</u>: Case fit was a little tight; tolerances are fair. The connections were different than the A board, as only the HDMI port is plugged in, while other connections get routed through "Pogo" pins. It sounded dubious (to me, who grew up reading Pogo in the comics) and I'm happily converted.</div><div><br /></div><div><u>Ugly</u>: Really can't see any downsides yet. Well, to be fair, being unable to access on-board wireless is a downside, requiring external wired or wireless dongles which might (or might not) work well under NetBSD.</div><div><br /></div><h4 style="text-align: left;">Wifi on a pi3 with NetBSD?</h4><div><br /></div><div><a href="http://mail-index.netbsd.org/port-arm/2019/08/31/msg006102.html">http://mail-index.netbsd.org/port-arm/2019/08/31/msg006102.html</a></div><div><br /></div><div><a href="https://wiki.netbsd.org/ports/evbarm/raspberry_pi/">https://wiki.netbsd.org/ports/evbarm/raspberry_pi/</a></div><div><ul><li><span style="color: #34495e; font-family: inherit;">RPI3 and RPI0W builtin WiFi - bwfm(4)</span></li><li><span style="color: #34495e; font-size: 16px;"><span style="font-family: inherit;">"Note that the built-in WiFi in the RPI3 is not yet supported."</span></span></li></ul></div><div><br /></div><div>FreeBSD doesn't (yet) support Pi Wifi either - see <a href="https://wiki.freebsd.org/arm/Raspberry%20Pi">https://wiki.freebsd.org/arm/Raspberry%20Pi</a></div><div><br /></div><div><h4>NetBSD compatibility</h4></div><div>As this board appears to include an identical ethernet adapter logic as the "A" board, this system also rebooted with no issues (other than the usual DHCP name shuffling due to alternate MAC addresses than earlier adapters.</div><div><br /></div><div>The "B" board has an audio jack, which the other does not. Though it seemed to be a valid device, my first tests playing music were failures of varying degrees. VLC/MPG123 worked once, then got really choppy. Error logs filled with messages.</div><h3 style="text-align: left;">Errors/messages:</h3><div><br /></div><div><b>A</b></div><div><div><span style="font-family: courier; font-size: x-small;">[ 5.502165] ure0: Realtek (0x0bda) USB 10/100 LAN (0x8152), rev 2.10/20.00, addr 6</span></div></div><div><br /></div><div><b>B</b></div><div><div><span style="font-family: courier; font-size: x-small;">[ 3.828299] ure0: Realtek (0x0bda) USB 10/100 LAN (0x8152), rev 2.10/20.00, addr 4</span></div></div><div><div><span style="font-family: courier; font-size: x-small;">[ 4.428379] uaudio0 at uhub1 port 6 configuration 1 interface 0</span></div><div><span style="font-family: courier; font-size: x-small;">[ 4.438382] uaudio0: Solid State System Co.,Ltd. (0x0c76) USB PnP Audio Device (0x1203), rev 1.10/1.00, addr 5</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div></div><div><div><span style="font-family: courier; font-size: x-small;">Mar 25 23:00:00 b /netbsd: [ 5929.7443850] uaudio0: pintr error: IOERROR</span></div><div><span style="font-family: courier; font-size: x-small;">Mar 25 23:00:00 b /netbsd: [ 5929.7443850] uaudio0: uaudio_chan_pintr: count(40) != size(1920), status(13)</span></div></div><div><br /></div><h2 style="text-align: left;">Wrap-Up</h2><div><br /></div><div>The Pi Zero started out as a $5 computer.... [ <a href="https://www.raspberrypi.com/news/raspberry-pi-zero/">raspberrypi.com/news/raspberry-pi-zero/</a> ]</div><div>Then it crept up a bit with the more powerful 2W. OK, it tripled at $15, but that doesn't include a necessary power supply, much less nice to have features like USB ports (mainboard has one, in the micro style). Spending as much or more on an expansion board needs justification, or at least a comparison between features versus price. I like the "all-in-one" feel of the expanded system in a tidy case, compared to a board with plugs hanging out left right and center.</div><div><br /></div><div><br /></div><h3 style="text-align: left;">Images</h3><div>A</div><div>Top view. I left off a fan as the Zero is not a heat source of consequence.</div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhup9H80n7CM0QSE-LLVm-X5_y7UHGmYc1YQ-bWSvqImk37bXVXM4FHQb4ZHjGfyWnjxYwMcknhYzHfjoG5LdaxHdD_eTAvHc4J17Pfo28nfB9931YWy4e0pgz64dWBdI_CZeMRbXhP0rTTLD-obOPDem5zIXWwSVJL8a3IIt7CZCIgKHzXsfT5YQwtyQ" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="900" data-original-width="1200" height="480" src="https://blogger.googleusercontent.com/img/a/AVvXsEhup9H80n7CM0QSE-LLVm-X5_y7UHGmYc1YQ-bWSvqImk37bXVXM4FHQb4ZHjGfyWnjxYwMcknhYzHfjoG5LdaxHdD_eTAvHc4J17Pfo28nfB9931YWy4e0pgz64dWBdI_CZeMRbXhP0rTTLD-obOPDem5zIXWwSVJL8a3IIt7CZCIgKHzXsfT5YQwtyQ=w640-h480" width="640" /></a></div><div class="separator" style="clear: both; text-align: left;">Side view, showing the plastic frame cut away to allow the microSD card to stick out where it is on the Zero, but in a Three case.<br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: center;"><img alt="" data-original-height="900" data-original-width="1200" height="480" src="https://blogger.googleusercontent.com/img/a/AVvXsEigrBiSPrz7BDc63HH-v-_rQWK0smKwRhav_0JvRfoQ1dcYRk2vur_vU_3Gwe80vzF1nLjFEngZPfkRoHFkp-EENHckkqsX1Zen91FIZzSeoV0l5z8TW08uRV8A-9X1jeE_7xr9OhxYf5pKQW02YweuQ5zjqwXTlGnOFB8fo2nLJHDaCzlvTysiR29Dow=w640-h480" width="640" /><br /></div><div class="separator" style="clear: both; text-align: left;">The cutaway.</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEigrBiSPrz7BDc63HH-v-_rQWK0smKwRhav_0JvRfoQ1dcYRk2vur_vU_3Gwe80vzF1nLjFEngZPfkRoHFkp-EENHckkqsX1Zen91FIZzSeoV0l5z8TW08uRV8A-9X1jeE_7xr9OhxYf5pKQW02YweuQ5zjqwXTlGnOFB8fo2nLJHDaCzlvTysiR29Dow" style="margin-left: 1em; margin-right: 1em;"></a><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEigrBiSPrz7BDc63HH-v-_rQWK0smKwRhav_0JvRfoQ1dcYRk2vur_vU_3Gwe80vzF1nLjFEngZPfkRoHFkp-EENHckkqsX1Zen91FIZzSeoV0l5z8TW08uRV8A-9X1jeE_7xr9OhxYf5pKQW02YweuQ5zjqwXTlGnOFB8fo2nLJHDaCzlvTysiR29Dow" style="margin-left: 1em; margin-right: 1em;"></a><a href="https://blogger.googleusercontent.com/img/a/AVvXsEi40YEnoSkcWOorfxYn1gT8fcE_ejk_mqdWKNRI_7p7tYTgvQzZu2iWuHdfFrnI28-Gfknfr_PLaSCre2b5rofWYAXjuHYeoMF8r44-PIOy_ZlOLn3bUy_lYRPfoyTuboDU6_HrpitqTADWbL_bKcGHpbeNsJViw1Z_OGq1zWBWGsRZE_f0HJUen97f4Q" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="631" data-original-width="1395" height="290" src="https://blogger.googleusercontent.com/img/a/AVvXsEi40YEnoSkcWOorfxYn1gT8fcE_ejk_mqdWKNRI_7p7tYTgvQzZu2iWuHdfFrnI28-Gfknfr_PLaSCre2b5rofWYAXjuHYeoMF8r44-PIOy_ZlOLn3bUy_lYRPfoyTuboDU6_HrpitqTADWbL_bKcGHpbeNsJViw1Z_OGq1zWBWGsRZE_f0HJUen97f4Q=w640-h290" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div></div><div class="separator" style="clear: both; text-align: center;"><span style="color: #0000ee;"><u><br /></u></span></div><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><br /></div><div>B</div><div>Zero, screwed in on top of the adapter board.</div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjZMvOIBtUrm_GXPWaFc_xDlKqR6RPve0-87ZOmjRXGlHfVLXjTufOLvQdgBbseGZO_fKkGUQMKYvJLUt4FvyBt404IUNtfQq_acSZzDsy0Tp9u3jUAco0iujpGgRdAixkC-PA0EFvxXyfWGCwrf_ok7dF3vO9mcnn4icToyZtwnoXVfi91B8suc7ZhlQ" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="900" data-original-width="1200" height="480" src="https://blogger.googleusercontent.com/img/a/AVvXsEjZMvOIBtUrm_GXPWaFc_xDlKqR6RPve0-87ZOmjRXGlHfVLXjTufOLvQdgBbseGZO_fKkGUQMKYvJLUt4FvyBt404IUNtfQq_acSZzDsy0Tp9u3jUAco0iujpGgRdAixkC-PA0EFvxXyfWGCwrf_ok7dF3vO9mcnn4icToyZtwnoXVfi91B8suc7ZhlQ=w640-h480" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">Can't close the case with the SD card on the Zero.</div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiK4vnWjRhzsVfQsm7joNLb57NCrFXciPbkuiAcSnR19unnjVziRel5kptcILsyzDW4jRjMpXwijHdtdg-I9k-ZcVnn3LPqDFIwhzGgCWoHlxmWhaLpcBo0f34aa5ZOQWg5Q_FmB7BIC8GvALqLZjinqTUXMb_Es7xDzrox4DNgFmjK2EPYaYA6cAp2Hg" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="900" data-original-width="1200" height="480" src="https://blogger.googleusercontent.com/img/a/AVvXsEiK4vnWjRhzsVfQsm7joNLb57NCrFXciPbkuiAcSnR19unnjVziRel5kptcILsyzDW4jRjMpXwijHdtdg-I9k-ZcVnn3LPqDFIwhzGgCWoHlxmWhaLpcBo0f34aa5ZOQWg5Q_FmB7BIC8GvALqLZjinqTUXMb_Es7xDzrox4DNgFmjK2EPYaYA6cAp2Hg=w640-h480" width="640" /><br /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">The closed case with the card in the new location.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjvNM32scqTkGNe2ML5nn0MEoRZpa-wCbIl4H4tXhLfOKl7bA4CytShvdURUboO1F9BiJOw1DVaCNDcOA9K8ix5JZA1kJzuSJptfn8J5yt-Mw1vxA56HSH_n5ttTP4W7zAMygPZ-CT5Azt2unOag8cPW0fWGTaRbhjsJqyE4wal5LtEy7gl3ZV7wJmbVA" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="900" data-original-width="1200" height="480" src="https://blogger.googleusercontent.com/img/a/AVvXsEjvNM32scqTkGNe2ML5nn0MEoRZpa-wCbIl4H4tXhLfOKl7bA4CytShvdURUboO1F9BiJOw1DVaCNDcOA9K8ix5JZA1kJzuSJptfn8J5yt-Mw1vxA56HSH_n5ttTP4W7zAMygPZ-CT5Azt2unOag8cPW0fWGTaRbhjsJqyE4wal5LtEy7gl3ZV7wJmbVA=w640-h480" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">It fits!</div><div class="separator" style="clear: both; text-align: center;"><div style="text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEin37c3C8C6AoYMlq63uIJqqo5lK_oHyiMEEVwll3BwrIzl7Zmfj306RSFPxQ42FxNjicsmaEVP0rpDtLvmY2BxCGPh2S8Dln2hPKxVIKZaUvXkVBEnI3f-kkqarc9-o6hwRnNe47rvjkoq3b5a38u_hrrNoH6HxJ6TjSA6gbNkwtt2tUnZjEvfYN9tOw" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="717" data-original-width="1576" height="292" src="https://blogger.googleusercontent.com/img/a/AVvXsEin37c3C8C6AoYMlq63uIJqqo5lK_oHyiMEEVwll3BwrIzl7Zmfj306RSFPxQ42FxNjicsmaEVP0rpDtLvmY2BxCGPh2S8Dln2hPKxVIKZaUvXkVBEnI3f-kkqarc9-o6hwRnNe47rvjkoq3b5a38u_hrrNoH6HxJ6TjSA6gbNkwtt2tUnZjEvfYN9tOw=w640-h292" width="640" /></a></div></div><br /><br /></div><div><br /></div>The end. For now.</div><div><br /><div><br /></div><br /><br /></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-12675398928128301822023-03-20T13:02:00.008-04:002023-12-04T15:29:44.422-05:0032/64-Bit and NetBSD 10 BETA<p> I've had "Pentium" type machine for decades, starting with using NetBSD 0.9 on a 386 or 486 in 1997?, and now, trying out various processors and systems for beta testing 10.0.</p><p>Initially, one "hand-me-down" box seemed like an older, 32-bit processor, based on how MS-Windows viewed the details, complaining the OS version could not be updated beyond Windows 9 32 bit, or so. Thus my first pass with NetBSD was to install the i386 release, testing it for several weeks before the light dawned that this weak looking machine had more to offer if set up right. Motherboard has a 2014 date stamp and my research shows this board was designed for laptops then slipped into a largish case because marketing/.</p><h3 style="text-align: left;">Processor/kernel</h3><p><span style="font-family: courier; font-size: x-small;"><b>[ 1.000000] NetBSD 10.0_BETA (GENERIC) #0: Mon Jan 23 16:02:49 UTC 2023</b></span></p><p><span style="font-family: courier; font-size: x-small;"><b>[ 1.000000] mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/<u>i386</u>/compil</b></span><b style="font-family: courier; font-size: small;">e/GENERIC</b></p><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;"><b>[ 1.000000] NetBSD 10.0_BETA (GENERIC) #0: Sun Feb 12 12:39:37 UTC 2023</b></span></div><div><span style="font-family: courier; font-size: x-small;"><div><b>[ 1.000000] mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/<u>amd64</u>/compile/GENERIC</b></div><div><b>/netbsd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for NetBSD 10.0, not stripped</b></div><div style="font-weight: bold;"><br /></div></span></div><div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu0: AMD A8-6410 APU with AMD Radeon R5 Graphics </span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu0: node 0, package 0, core 0, smt 0</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu0: SVM disabled by the BIOS</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu1 at mainbus0 apid 1</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu1: AMD A8-6410 APU with AMD Radeon R5 Graphics </span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu1: node 0, package 0, core 1, smt 0</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu2 at mainbus0 apid 2</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu2: AMD A8-6410 APU with AMD Radeon R5 Graphics </span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu2: node 0, package 0, core 2, smt 0</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu3 at mainbus0 apid 3</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu3: AMD A8-6410 APU with AMD Radeon R5 Graphics </span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.000004] cpu3: node 0, package 0, core 3, smt 0</span></div></div></div><div><br /></div><div>4-cores, N threads(?)</div><h2 style="text-align: left;">Two for the price of one</h2><p>First win: the AMD64 beta ISO fits on a standard CD image footprint. Yay.</p><p>Next, big win: the machine has both VGA and DVI outputs, which may sound archaic with HDMI and higher resolutions available (more on the higher end AMD system later), but it turns out this little board contains 2 independent video outputs. With a couple adapters, I've got dual-HDMI screens and X Windows stretching in them.</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh77EirENF_L5Ju93d-mApt3m7hzFcUTkYhVWuYbnaNlONWndrY_H89WucOXaaL-U9La5GtoWrcfrnTtTZI4vXW0iBW3AWxypnfGqRTyqGB8YdOX1_zYOw7X_xdEtoL_EJvjquoHuGzQ7JUNhBGufNhjHuyY3DQ1tbsa3IAnin7wXIqdTSuZyRmY7h1yQ/s1537/0215231922b2.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1053" data-original-width="1537" height="438" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh77EirENF_L5Ju93d-mApt3m7hzFcUTkYhVWuYbnaNlONWndrY_H89WucOXaaL-U9La5GtoWrcfrnTtTZI4vXW0iBW3AWxypnfGqRTyqGB8YdOX1_zYOw7X_xdEtoL_EJvjquoHuGzQ7JUNhBGufNhjHuyY3DQ1tbsa3IAnin7wXIqdTSuZyRmY7h1yQ/w640-h438/0215231922b2.jpg" width="640" /></a></div><br /><p><br /></p><p>Minor fault: the onboard ethernet adapter only runs at 100BT. On closer examination, there is an onboard mini-PCIE connector that could conceivably allow a Gigabit board in its place. Given the risk of breaking the installed board (which NetBSD works fine with), or installing a replacement board that might not work, I decided to go with an outboard USB ethernet dongle (more on that hardware also later).</p><h2 style="text-align: left;">Memory</h2><p>Without changing the system (I guess there be BIOS mysteries here), going x86 kicked up the visible memory seen by NetBSD.</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhgSjzbqGDQWCx6M69eyqKl6oZLLXvHqRGEmx2HjOqpO7PhHlIkp8ANFv6HyQCUYOypjP4d6_gGTHYp2U8jAeUDANb_utzslHN4oTnxXamNREDOp3Bn3QH5GYaskYZNg_SzLMnKvKqJ2bVjdgQS0rDIdfVw8xFNWMvyX0XPxNTr_QP-UXnnnbdnCipDSg" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="368" data-original-width="1599" height="148" src="https://blogger.googleusercontent.com/img/a/AVvXsEhgSjzbqGDQWCx6M69eyqKl6oZLLXvHqRGEmx2HjOqpO7PhHlIkp8ANFv6HyQCUYOypjP4d6_gGTHYp2U8jAeUDANb_utzslHN4oTnxXamNREDOp3Bn3QH5GYaskYZNg_SzLMnKvKqJ2bVjdgQS0rDIdfVw8xFNWMvyX0XPxNTr_QP-UXnnnbdnCipDSg=w640-h148" width="640" /></a></div><div><br /></div><div><span style="font-family: courier; font-size: x-small;"><b>[ 1.000000] total memory = 2759 MB</b></span></div><div><span style="font-family: courier; font-size: x-small;"><b>[ 1.000000] avail memory = 2684 MB</b></span></div><div><span style="font-family: courier; font-size: x-small;"><b><br /></b></span></div><span style="font-family: courier; font-size: x-small;"><b><br /></b></span><div><span style="font-family: courier; font-size: x-small;"><b>[ 1.000000] total memory = 7863 MB</b></span></div><div><span style="font-family: courier; font-size: x-small;"><b>[ 1.000000] avail memory = 7581 MB</b></span></div><div><br /></div><p></p><p></p><div class="separator" style="clear: both; text-align: left;">Also good news, there is an empty memory slot onboard. Now, to find chips that fit...</div><br /><br /><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdHeIht2w6kOP7GJkjxQjBEPUAuB5Ol5yLP0FOJkOVmPVlVu2XxgJrQ4vgl6aecH_6nf5785O3JOpGDE1C2gXr6aaKpNJr71uiCNwh-67h6aBXbpuAqNHhyjdgmCCjmFtDvoE9ttuQ3qMIt4rrP7t41qi4jNNJXFwUpNZMJevFFEwMFAX6K7-cIsPJzg/s800/0215231923~2b.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="420" data-original-width="800" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdHeIht2w6kOP7GJkjxQjBEPUAuB5Ol5yLP0FOJkOVmPVlVu2XxgJrQ4vgl6aecH_6nf5785O3JOpGDE1C2gXr6aaKpNJr71uiCNwh-67h6aBXbpuAqNHhyjdgmCCjmFtDvoE9ttuQ3qMIt4rrP7t41qi4jNNJXFwUpNZMJevFFEwMFAX6K7-cIsPJzg/w640-h336/0215231923~2b.jpg" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">I wonder how old that CR2032 button battery is? Hmm.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><h2 style="text-align: left;">Video</h2><div><div><span style="font-family: courier; font-size: x-small;">[ 4.877451] [drm] Radeon Display Connectors</span></div><div><span style="font-family: courier; font-size: x-small;">[ 4.877451] [drm] Connector 0:</span></div><div><span style="font-family: courier; font-size: x-small;">[ 4.877451] [drm] DVI-D-1</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">[ 4.888080] [drm] Connector 1:</span></div><div><span style="font-family: courier; font-size: x-small;">[ 4.888080] [drm] VGA-1</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">[ 4.947445] radeondrmkmsfb0 at radeon0</span></div><div><span style="font-family: courier; font-size: x-small;">[ 4.957450] [drm] Initialized radeon 2.50.0 20080528 for radeon0 on minor 0</span></div><div><span style="font-family: courier; font-size: x-small;">[ 4.957450] radeondrmkmsfb0: framebuffer at 0xc0615000, size 1920x1080, depth 32, stride 7680</span></div></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div>X Windows starts up just fine; the switch from <i>twm </i>to <i>cwtm </i>is still pleasant (one app installed <i>twm </i>and I quickly rewrote that <i>xtartup </i>script).</div><div><br /></div><div><i>XSCreensaver </i>works nicely; the range of hacks and their speed are always a system performance indicator, as well as hardware and software library depth. Two separate hacks running at the same time is pretty cool, maybe the first UNIX system I've had (and there have been many) bifurcating for me.</div><div>Oops:</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">$ file xscreensaver-get.core</span></div><div><span style="font-family: courier; font-size: x-small;">xscreensaver-get.core: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), NetBSD-style, from 'xscreensaver-get', pid=18023, uid=1000, gid=100, nlwps=1, lwp=18023 (signal 11/code 32767)</span></div></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuwJNWmPIQ_gp4Eomiuo8v_ID_ctCE_DcHt11dgKlg-_cRWdwTWDSEkp09U5sfj2TpWf7avocUIkwr0_sbbVKNhGX-1MDMeu-uvnKiO5WPp7XH3B88LcvFQScNSVaPHp5pRDk2lCMBXKawD9bp7S01xt9yS4e_JXIpKG66ObdDIwpqBVEQxenqDFd-Mw/s3836/amd64-wide-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1063" data-original-width="3836" height="178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuwJNWmPIQ_gp4Eomiuo8v_ID_ctCE_DcHt11dgKlg-_cRWdwTWDSEkp09U5sfj2TpWf7avocUIkwr0_sbbVKNhGX-1MDMeu-uvnKiO5WPp7XH3B88LcvFQScNSVaPHp5pRDk2lCMBXKawD9bp7S01xt9yS4e_JXIpKG66ObdDIwpqBVEQxenqDFd-Mw/w640-h178/amd64-wide-2.png" width="640" /></a></div><br /><div><br /></div><h2 style="text-align: left;">Network</h2><div>The "net" in NetBSD implies internet operations should be simple and thorough. I've installed this OS enough times to know where interface are configured, how Network Time Protocol works best, and basic home mesh set up. Good news for this motherboard containing a supported ethernet board.</div><div><br /></div><div>I was unsatisfied with the restricted 100BT connection and tried several alternatives for wired and wireless.</div><div><br /></div><div>For wifi, I have one USB dongle that NetBSD is happy with, and others that either don't work at all, or have partial connectivity. I switched out one that as been running fine on an even older i386 server and it's been fine (the big test will be running wireless only, rather than dual connections).</div><div><br /></div><div>Think Penguin sells open source hardware. Linux OS targeted, but sometimes NetBSD uses benefit from that communal spirit. Not always, though. Short version (more below): the wireless dongle didn't work for me on NetBSD, but the gigabit USB dongle did.</div><div><br /></div><h4 style="text-align: left;">Built-in:</h4><div><span style="font-family: courier; font-size: small;">[ 1.055110] re0 at pci1 dev 0 function 0: RealTek 8100E/8101E/8102E/8102EL PCIe 10/100BaseTX (rev. 0x07)</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.055110] re0: interrupting at msix1 vec 0</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.055110] re0: RTL8106E (0x4480)</span></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2olqHBLxsPlWiR3NX92aj1DtpdzfIG9a26yYUUzmgmmy_fRY8BdVHImbbp7smH-c10T4HYfjjlNLubDlN5E9A0QEAUd9PEF9ZdP3GZBSldtXJncXEj7uztvv90dDQVD630HusX4AmDpcfDJKc_2l988xE-yG1EnnN4_xyo7BPuS7bGM4hErQiEB-Mag/s1200/0303231613c.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="765" data-original-width="1200" height="408" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2olqHBLxsPlWiR3NX92aj1DtpdzfIG9a26yYUUzmgmmy_fRY8BdVHImbbp7smH-c10T4HYfjjlNLubDlN5E9A0QEAUd9PEF9ZdP3GZBSldtXJncXEj7uztvv90dDQVD630HusX4AmDpcfDJKc_2l988xE-yG1EnnN4_xyo7BPuS7bGM4hErQiEB-Mag/w640-h408/0303231613c.jpg" width="640" /></a></div>There appear to be antenna wires connected to the PCIE board, though NetBSD doesn't report any interface other than the wired one.<br /><div><br /></div><div><h4>Built-out:</h4><div><span style="font-family: courier; font-size: small;">[ 2.727276] rgephy0 at axen0 phy 3: RTL8211E 1000BASE-T media interface</span></div><div><span style="font-family: courier; font-size: x-small;">[ 2.777269] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto</span></div><div><br /></div></div><div><div><span style="font-family: courier; font-size: x-small;">Mar 8 21:32:16 amd64 /netbsd: [ 771903.1443413] athn0 at uhub1 port 2</span></div><div><span style="font-family: courier; font-size: x-small;">Mar 8 21:32:17 amd64 /netbsd: [ 771904.1242585] : Atheros AR9271</span></div><div><span style="font-family: courier; font-size: x-small;">Mar 8 21:32:17 amd64 /netbsd: [ 771904.1242585] athn0: rev 1 (1T1R), ROM rev 15, address </span></div></div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">Mar 8 21:47:22 amd64 dhcpcd[4518]: re0: carrier lost - roaming</span></div><div><span style="font-family: courier; font-size: x-small;">Mar 8 21:47:22 amd64 dhcpcd[4518]: axen0: changing route to ...</span></div></div><div><br /></div><div><br /></div><div>interface rates:</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEialT1RwI4s-frcmyxvKzZNgmrhL3lbW_h9DYbuBGe-haMpIWKyib9F5Gt3yExvrNO4SprHyJM1DDb4_ayz9mrigQHKALM006p77A9qL1x4QlCsc6B7W47CMpieMOtwR0-k37TZYQxG-vAwzzI-L5VX25CDkF0bXVKt3aqMHen4UREoAWI6mlnLHzAs_Q/s1324/i386-net-1.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="377" data-original-width="1324" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEialT1RwI4s-frcmyxvKzZNgmrhL3lbW_h9DYbuBGe-haMpIWKyib9F5Gt3yExvrNO4SprHyJM1DDb4_ayz9mrigQHKALM006p77A9qL1x4QlCsc6B7W47CMpieMOtwR0-k37TZYQxG-vAwzzI-L5VX25CDkF0bXVKt3aqMHen4UREoAWI6mlnLHzAs_Q/w640-h182/i386-net-1.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn72XJnEXxe6RWZi2bNFnEuC062g6f_-Reko4vqbmX_ys37gi1d7RHLtR5_9iKWsQGxGwN3DJeFSyBl41XVh_SexpFkSQDf12vPp4TYwA5BmFE-oC1iUj-nMFR1fQQtLGhvQUuSyWcwMANk40gcIErp4XIRIBCQDI8eJUaIl3Uu0z9AAVqg1R0TphEIg/s1261/i386-net-2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="382" data-original-width="1261" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn72XJnEXxe6RWZi2bNFnEuC062g6f_-Reko4vqbmX_ys37gi1d7RHLtR5_9iKWsQGxGwN3DJeFSyBl41XVh_SexpFkSQDf12vPp4TYwA5BmFE-oC1iUj-nMFR1fQQtLGhvQUuSyWcwMANk40gcIErp4XIRIBCQDI8eJUaIl3Uu0z9AAVqg1R0TphEIg/w640-h194/i386-net-2.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_tc7gY3M6p1NXJcaTc8xc6LIIZzrbgvXEKhd1LtINWZjPB6bm16IzxpP1F2Si_INOHvSKhynBWhz4-UC9wW_iP83kof9sXdxv2agCeZSQ0SJzuT8BzdysYTQmfLy51yLryeIdjMJl0JKYJchavQgtd5zkgyaPwiL8rNndJIL__Nu2u6Ih2Z56Cu2Qqg/s1274/i386-net-3.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="381" data-original-width="1274" height="192" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_tc7gY3M6p1NXJcaTc8xc6LIIZzrbgvXEKhd1LtINWZjPB6bm16IzxpP1F2Si_INOHvSKhynBWhz4-UC9wW_iP83kof9sXdxv2agCeZSQ0SJzuT8BzdysYTQmfLy51yLryeIdjMJl0JKYJchavQgtd5zkgyaPwiL8rNndJIL__Nu2u6Ih2Z56Cu2Qqg/w640-h192/i386-net-3.png" width="640" /></a></div><br /><div><i>ping </i>times:</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiouTlhYOhqLT6-ouNG6qfG9V_D1D_CUpw81lAoDdmd9cWn-FrqMhlPNmdZ_3nKZNn8Oh6AfobljEhLnv70BId3UVFmflngJ_BaZxtDsowf_2GwkWpaT7Ki9c3fnM7UQ9z0HtGdKP2KOUdeIOXqF5zghqwVz4pjYT0nfeLDuX1sUle9co58BU7FBu2xjg/s942/ping-times.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="586" data-original-width="942" height="398" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiouTlhYOhqLT6-ouNG6qfG9V_D1D_CUpw81lAoDdmd9cWn-FrqMhlPNmdZ_3nKZNn8Oh6AfobljEhLnv70BId3UVFmflngJ_BaZxtDsowf_2GwkWpaT7Ki9c3fnM7UQ9z0HtGdKP2KOUdeIOXqF5zghqwVz4pjYT0nfeLDuX1sUle9co58BU7FBu2xjg/w640-h398/ping-times.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;">Arrows are before the ThinkPenguin AXEN0 interface was connected</div><br /><div><br /></div><h2 style="text-align: left;">Performance</h2><div>For beta testing, I like to install familiar software, run benchmarks, and look for anomalies. The first oddity was the CPU temperature increase after switching from an i386 NetBSD beta build to the amd64.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHYqclqTvuK-wqOCnPTr58KHt8hiXGDcxuXtFhT1a6xG7RdRlcyuzCniW_tcYFeMLMdwupCJ3SY6b1_r2CPpAHB66QV5BS0SaEll2vr8VxEC8cd5KqZhFE25WZ8GU_VYqWctFBz0QdCbDIaPqJz9MWUek-igr8rlFQwWb-dlqF1X34V2vJm9YB-FNmgA/s1227/hp-cpu-temp-45x.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="354" data-original-width="1227" height="184" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHYqclqTvuK-wqOCnPTr58KHt8hiXGDcxuXtFhT1a6xG7RdRlcyuzCniW_tcYFeMLMdwupCJ3SY6b1_r2CPpAHB66QV5BS0SaEll2vr8VxEC8cd5KqZhFE25WZ8GU_VYqWctFBz0QdCbDIaPqJz9MWUek-igr8rlFQwWb-dlqF1X34V2vJm9YB-FNmgA/w640-h184/hp-cpu-temp-45x.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div>On the left side, i386 running under 27 degrees Celsius average, with the amd64 on the right closer to 38 degrees. Inexplicable so far.</div><div><br /></div><div><h4 style="clear: both; text-align: left;">Byte Bench</h4><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: left;"><span style="font-family: courier; font-size: x-small;">Dhrystone 2 using register variables 6703557.1 lps (10.0 secs, 10 samples)</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: courier; font-size: x-small;">Double-Precision Whetstone 1321.6 MWIPS (10.0 secs, 10 samples)</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: courier; font-size: x-small;">Recursion Test--Tower of Hanoi 116108.7 lps (20.0 secs, 3 samples)</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: courier; font-size: x-small;">Dhrystone 2 using register variables 116700.0 6703557.1 574.4</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: courier; font-size: x-small;">Double-Precision Whetstone 55.0 1321.6 240.3</span></div><div><br /></div></div></div><div class="separator" style="clear: both; text-align: center;"><br /></div><h4 style="text-align: left;">H Bench (or its close rival lmbench)</h4><div>lmbench1.1 results for NetBSD ...</div><div>...</div><div><div><span style="font-family: courier;">Process fork+exit: 1002.1667 microseconds</span></div><div><span style="font-family: courier;">Process fork+execve: 2887.0000 microseconds</span></div><div><span style="font-family: courier;">Process fork+/bin/sh -c: 6732.0000 microseconds</span></div></div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">$ cat /usr/pkg/share/hbench/Results/netbsd10.0-x86_64/amd64/lat_syscall_getpid</span></div><div><span style="font-family: courier; font-size: x-small;">0.2494</span></div><div><span style="font-family: courier; font-size: x-small;">0.2534</span></div><div><span style="font-family: courier; font-size: x-small;">0.2522</span></div><div><span style="font-family: courier; font-size: x-small;">0.2526</span></div><div><span style="font-family: courier; font-size: x-small;">0.2546</span></div><div><span style="font-family: courier; font-size: x-small;">0.2584</span></div><div><span style="font-family: courier; font-size: x-small;">0.2549</span></div><div><span style="font-family: courier; font-size: x-small;">0.2530</span></div><div><span style="font-family: courier; font-size: x-small;">0.2502</span></div><div><span style="font-family: courier; font-size: x-small;">0.2486</span></div></div><div><br /></div><h4 style="text-align: left;">NetBSD Unit Tests</h4><div><br /></div><div>There are test suites under <i>/usr/tests </i>on recent NetBSD systems, which I was unaware of until recently, so running these tests are as much for me to learn about the system architecture as it is to find errors o omissions. In a prior post, I reported more failures on architectures for as ARM than on i386 or amd64, which makes a little sense given their relative code base ages. </div><div><br /></div><div>Fortunately, I managed a complete test run while this system was running the NetBSD i386 build, and have finished another round using the amd64 build. Interesting results in that a few failures are mutual while most of the very small set are from only one build.</div><div><br /></div><div>Line counts for the test runs:</div><div><div><br /></div><div><span style="font-family: courier;"> 12101 testsuite-amd64.csv</span></div><div><span style="font-family: courier;"> 11957 testsuite-i386.csv</span></div></div><div><br /></div><div><i>Common (shared) failure(s), as extracted from the CSV output (timestamps omitted for clarity):</i></div><div><br /></div><div><div><ul style="text-align: left;"><li><span style="font-family: courier; font-size: x-small;">tc, sbin/envstat/t_envstat, zerotemp, failed, Test case was expecting a failure but none were raised</span></li><li><span style="font-family: courier; font-size: x-small;">tp, sbin/envstat/t_envstat, failed</span></li></ul></div></div><div><br /></div><div><i><br /></i></div><div><i>Failures seen only on i386:</i></div><div><br /></div><div><ol style="text-align: left;"><li><span style="font-family: courier;">tp include/t_paths failed</span></li><li><span style="font-family: courier;">tp kernel/kqueue/t_empty failed</span></li><li><span style="font-family: courier;">tp lib/libarchive/t_libarchive failed</span></li><li><span style="font-family: courier;">tp lib/libc/kevent_nullmnt/t_nullmnt failed</span></li><li><span style="font-family: courier;">tp lib/librumphijack/t_tcpip failed</span></li><li><span style="font-family: courier;">tp net/net/t_bind failed</span></li><li><span style="font-family: courier;">tp net/net/t_unix failed</span></li><li><span style="font-family: courier;">tp net/altq/t_cbq failed</span></li><li><span style="font-family: courier;">tp crypto/opencrypto/t_opencrypto failed</span></li></ol></div><div><ol style="text-align: left;"></ol><ol style="text-align: left;"></ol><ol style="text-align: left;"></ol><ol style="text-align: left;"></ol><ol style="text-align: left;"></ol><ol style="text-align: left;"></ol><ol style="text-align: left;"></ol><ol style="text-align: left;"></ol><i>Failures seen only on amd64:</i></div><div><br /></div><div><ol style="text-align: left;"><li><span style="font-family: courier;">tp lib/libc/net/t_servent failed</span></li><li><span style="font-family: courier;">tp net/if_wg/t_basic failed</span></li><li><span style="font-family: courier;">tp usr.bin/cc/t_tsan_data_race failed</span></li><li><span style="font-family: courier;">tp usr.bin/make/t_make failed</span></li><li><span style="font-family: courier;">tp usr.sbin/tcpdump/t_tcpdump failed</span></li><li><span style="font-family: courier;">tp fs/tmpfs/t_vnode_leak failed</span></li></ol></div><div>Apologies if this semi-manual error search missed any useful test results. </div><div><br /></div><div><br /></div><div><div>[ 1.055087] amdtemp0 at amdnb_misc0: AMD CPU Temperature Sensors (Family16h)</div><div>[ 1.055123] amdtemp0 at amdnb_misc0: AMD CPU Temperature Sensors (Family16h)</div></div><div><br /></div><div>i386:</div><div><span style="font-family: courier;"><br /></span></div><div><div><span style="font-family: courier;"><tp id="sbin/envstat/t_envstat"></span></div><div><span style="font-family: courier;"><tc id="zerotemp"></span></div><div><span style="font-family: courier;"><so>amdtemp0 = 39.250 =~ 39</so></span></div><div><span style="font-family: courier;"><so>Skipping non-existent coretemp0</so></span></div><div><span style="font-family: courier;"><so>Skipping non-existent acpitz0</so></span></div><div><span style="font-family: courier;"><failed>Test case was expecting a failure but none were raised</failed></span></div><div><br /></div></div><div><br /></div><div>amd64:</div><div><br /></div><div><div><span style="font-family: courier;"><tp id="sbin/envstat/t_envstat"></span></div><div><span style="font-family: courier;"><tc id="zerotemp"></span></div><div><span style="font-family: courier;"><so>amdtemp0 = 45.125 =~ 45</so></span></div><div><span style="font-family: courier;"><so>Skipping non-existent coretemp0</so></span></div><div><span style="font-family: courier;"><so>Skipping non-existent acpitz0</so></span></div><div><span style="font-family: courier;"><failed>Test case was expecting a failure but none were raised</failed></span></div><div><br /></div></div><div>I presume the root cause for this hardware might be similar to the other 686?</div><div><br /></div><div><div><span style="font-family: courier; font-size: small;">[ 1.000004] cpu0: AMD A8-6410 APU with AMD Radeon R5 Graphics </span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">$ /sbin/dmesg | /usr/bin/grep -i temp</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.055087] amdtemp0 at amdnb_misc0: AMD CPU Temperature Sensors (Family16h)</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.055123] amdtemp0 at amdnb_misc0: AMD CPU Temperature Sensors (Family16h)</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">$ /usr/sbin/envstat</span></div><div><span style="font-family: courier; font-size: x-small;"> Current CritMax WarnMax WarnMin CritMin Unit</span></div><div><span style="font-family: courier; font-size: x-small;">[amdtemp0]</span></div><div><span style="font-family: courier; font-size: x-small;"> cpu0 temperature: 39.375 degC</span></div></div><div><br /></div><div><br /></div><div>On an AtomPC i386, envstat was fine:</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">tc, sbin/envstat/t_envstat, zerotemp, passed</span></div></div><div><br /></div><div><div><span style="font-family: courier;"><tp id="sbin/envstat/t_envstat"></span></div><div><span style="font-family: courier;"><tc id="zerotemp"></span></div><div><span style="font-family: courier;"><so>Skipping non-existent amdtemp0</so></span></div><div><span style="font-family: courier;"><so>coretemp0 = 58.000 =~ 58</so></span></div><div><span style="font-family: courier;"><so>acpitz0 = 127.000 =~ 127</so></span></div><div><span style="font-family: courier;"><passed /></span></div></div><div><br /></div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">$ /sbin/dmesg | /usr/bin/grep -i temp</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.010406] coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">$ /usr/sbin/envstat</span></div><div><span style="font-family: courier; font-size: x-small;"> Current CritMax WarnMax WarnMin CritMin Unit</span></div><div><span style="font-family: courier; font-size: x-small;">[acpitz0]</span></div><div><span style="font-family: courier; font-size: x-small;"> temperature: 52.000 127.000 degC</span></div><div><span style="font-family: courier; font-size: x-small;">[acpitz1]</span></div><div><span style="font-family: courier; font-size: x-small;"> temperature: 51.000 127.000 degC</span></div><div><span style="font-family: courier; font-size: x-small;">[coretemp0]</span></div><div><span style="font-family: courier; font-size: x-small;"> cpu0 temperature: 53.000 degC</span></div></div><div><br /></div><div><br /></div><h4 style="text-align: left;">Think Penguin</h4><div>Their wifi dongle has only worked on a small number of OSes I've tried, though I had hoped it would 'just work.' Part number: <b style="background-color: white; color: #222222; font-family: verdana, arial, helvetica; font-size: small;">TPE-N150USB.</b></div><div><br /></div><div>The gigabit dongles have been fine so far, and no losses on a temperamental Pi 02W. Though it has gone offline once (no dump). <b style="background-color: white; color: #222222; font-family: verdana, arial, helvetica; font-size: small;">TPE-1000NET3</b></div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">Mar 19 00:00:00 aa syslogd[974]: restart</span></div><div><span style="font-family: courier; font-size: x-small;">Mar 19 12:31:31 aa syslogd[806]: restart</span></div><div><span style="font-family: courier; font-size: x-small;">Mar 19 12:31:31 aa /netbsd: [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [...]</span></div><div><span style="font-family: courier; font-size: small;">1.0000000] The Regents of the University of California. All rights reserved.</span></div><div><br /></div><div><span style="font-family: courier; font-size: x-small;">Mar 19 12:31:31 aa /netbsd: [ 1.0000000] NetBSD 10.0_BETA (GENERIC) #0: Fri Jan 13 19:15:32 UTC 2023</span></div><div><span style="font-family: courier; font-size: x-small;">Mar 19 12:31:31 aa /netbsd: [ 1.0000000] mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC</span></div><div><span style="font-family: courier; font-size: x-small;">Mar 19 12:31:31 aa /netbsd: [ 1.0000000] total memory = 448 MB</span></div><div><span style="font-family: courier; font-size: x-small;">Mar 19 12:31:31 aa /netbsd: [ 1.0000000] avail memory = 422 MB</span></div></div><div><br /></div><div><br /></div><h1 style="text-align: left;">The Other 686</h1><div>Alas, my idea to install NetBSD on a homebrew AMD board hasn't worked yet due to video card matching and budget. FreeBSD skirted the "bad" board by least common denominator rules which kicked in vanilla VGA X/console window to at least boot. I had 9.x running and decided for the time being not to keep swapping out hardware to have yet another NetBSD 10 beta testbed. </div><div><br /></div><div>There are a few programs that I haven't got working to my satisfaction on the 6-core/12-thread machine, thus I'm using the NetBSD "laptop in a biggish box" as the main X display and putting databases or apps not needing video interaction on FreeBSD.</div><div><br /></div><div>One program that really snaps with faster hardware is <i>ocrmypdf</i>; transactions that were taking a minute on an ARM processor kick over in 10 seconds now.</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">[ 1.000003] cpu0: AMD Ryzen 5 5600X 6-Core Processor </span></div><div><br /></div></div><div><div><span style="font-family: courier; font-size: x-small;">[ 1.005359] amdzentemp0 at amdsmn0: AMD CPU Temperature Sensors (Family19h)</span></div><div><span style="font-family: courier; font-size: x-small;">[ 1.005359] amdzentemp0: autoconfiguration <b>error</b>: unable to register with sysmon (error=22)</span></div></div><div><br /></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-9030549501199266702023-03-12T19:36:00.003-04:002023-12-04T15:30:24.429-05:00Zabbix migrations, in place / out of place<p>I've had Zabbix running on PostgreSQL for over a year now it seems, and during that time Zabbix has released a couple major updates, and I've tried to build the newest servers and agents I could on a variety of BSD and Linux flavors. My go-to platform, NetBSD, doesn't have the latest and greatest of every app out there, so I moved on to FreeBSD as the primary Zabbix home base, er at home.</p><p>I've had 2 levels of the Zabbix server on NetBSD, once on i386 and once on Arm but for this post I'll ignore those branches and focus on 2 FreeBSD directions for data and applications with the history ramifications.</p><p>When I started Zabbix 5 server was the best I could manage; as I tried other variations I had 6.2 up and running eventually. I figure out that exporting and importing history/trends from one Zabbix box to another is simple but time consuming as valuable data feeds increase.</p><h2 style="text-align: left;">Platform 1: Upgrade database in place; conform to schema changes</h2><p>In early 2022, I started monitoring with Zabbix en masse, as they say.</p><p><span style="font-family: courier; font-size: small;">-rw-r--r-- 1 root wheel 20385599 Aug 8 2022 postgresql-11.17.tar.bz2</span></p><p><span style="font-family: courier; font-size: x-small;">-rw-r--r-- 1 root wheel 22132996 Aug 8 2022 postgresql-14.5.tar.bz2</span></p><div>While upgrading, I needed both versions 11 and 14; FreeBSD would not install one if the other was already. Hence, skipping the "make clean" part meant slightly quicker re-installs.</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">Installing zabbix62-server-6.2.3...</span></div><div><span style="font-family: courier; font-size: x-small;">pkg-static: zabbix62-server-6.2.3 conflicts with zabbix54-server-5.4.9 (installs files into the same place).</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">===> zabbix62-frontend-php74-6.2.3 conflicts with installed package(s):</span></div><div><span style="font-family: courier; font-size: x-small;"> zabbix54-frontend-php74-5.4.9_1</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;"><div>===> Installing for zabbix62-server-6.2.3</div><div>===> Checking if zabbix62-server is already installed</div><div>===> zabbix62-server-6.2.3 is already installed</div><div><br /></div></span></div><div><span style="font-family: courier; font-size: x-small;"> Installed packages to be REMOVED:</span></div><div><span style="font-family: courier; font-size: x-small;"> zabbix62-server: 6.2.3</span></div></div><div><br /></div><h4 style="text-align: left;">Starting version (2022):</h4><p></p><ul style="text-align: left;"><li><span style="font-family: courier; font-size: x-small;">Jan 30 21:58:37 freebsd1 pkg-static[69272]: postgresql11-server-11.14 installed</span></li></ul><p></p><h4 style="text-align: left;">Upgrade phases (2023):</h4><p></p><ul style="text-align: left;"><li><span style="font-family: courier; font-size: x-small;">Feb 20 15:46:38 freebsd1 pkg[11293]: postgresql11-server-11.17 deinstalled</span></li><li><span style="font-family: courier; font-size: x-small;">Feb 20 16:59:17 freebsd1 pkg-static[65464]: postgresql11-server-11.17 installed</span></li><li><span style="font-family: courier; font-size: x-small;">Feb 20 17:14:14 freebsd1 pkg[69391]: postgresql11-server-11.17 deinstalled</span></li><li><span style="font-family: courier; font-size: x-small;">Feb 20 17:15:10 freebsd1 pkg-static[69814]: postgresql14-server-14.5 installed</span></li></ul><p></p><div><br /></div><div>The "deinstalls" probably include the pre-packaged server version that only supports mysql/mariadb.</div><div><br /></div><div>
FAIL:</div><div><br /></div><div><br /></div>
<div>
<div>
<span style="font-family: courier; font-size: x-small;"><u>Configuration file error</u></span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div>
<div>
<table border="1">
<tbody><tr><td>
<span style="font-family: courier; font-size: x-small;"> DB type "<b>POSTGRESQL</b>" is not supported by current setup. Possible values <b>MYSQL</b>.</span>
</td></tr>
</tbody></table>
</div></div><div><br /></div><h4 style="text-align: left;">PHP</h4><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">Feb 3 23:17:58 freebsd1 pkg-static[89086]: php80-pgsql-8.0.15 installed</span></div><div><span style="font-family: courier; font-size: x-small;">Feb 3 23:57:55 freebsd1 pkg-static[15828]: php80-pgsql-8.0.15 deinstalled</span></div><div><span style="font-family: courier; font-size: x-small;">Feb 4 02:51:20 freebsd1 pkg-static[52566]: php74-pgsql-7.4.27 installed</span></div></div><div><br /></div><div>This sequence shows the installed package mix failed to include PHP 8.0; this limit was something I searched for in early installs. Zabbix didn't work with PHP 8 on the systems I could muster.</div><div><br /></div><h4 style="text-align: left;">Data changes</h4><div>Along the way, Zabbix changed history table keys so newer versions may not deal with older versions if there is redundancy (as I understand it). So history needed to be dumped and reloaded, being renamed along the way so that there was a fall back. If it worked.</div><div><br /></div><div style="text-align: left;"><span style="font-size: x-small;"><span style="font-family: courier;"> 38636366 Jan 17 03:14 backup_zabbix_history_text.sql<br /></span><span style="font-family: courier;"> 302137397 Jan 17 03:15 backup_zabbix_history_uint.sql</span></span></div><div style="text-align: left;"><span style="font-size: x-small;"><span style="font-family: courier;"><br /></span></span></div><div style="text-align: left;"><span style="font-size: x-small;"><span style="font-family: courier;"> 174197724 Jan 17 03:16 backup_zabbix_trends.sql<br /></span><span style="font-family: courier;"> 101438770 Jan 17 03:16 backup_zabbix_trends_uint.sql</span></span></div><div><br /></div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjGpdADTDAj2qqbDbLF94RxqyXlv_P6O3jwWQDI2FK3X3FY7qL39Hm0n2ueQ7onpEDOpWa3p_gucfLq_8W1jbwoH-X2AOnRgPF6i2CCYyOKiUS-cKpU2X4MRY_YfSMn1wUsxeOMAyY4-gmYCaV7w-GdGaCpXqfNrnNJX4ECsm10K7z0BPNbv1BqOQ9Fw/s335/history_tables.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="216" data-original-width="335" height="258" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjGpdADTDAj2qqbDbLF94RxqyXlv_P6O3jwWQDI2FK3X3FY7qL39Hm0n2ueQ7onpEDOpWa3p_gucfLq_8W1jbwoH-X2AOnRgPF6i2CCYyOKiUS-cKpU2X4MRY_YfSMn1wUsxeOMAyY4-gmYCaV7w-GdGaCpXqfNrnNJX4ECsm10K7z0BPNbv1BqOQ9Fw/w400-h258/history_tables.png" width="400" /></a></div><br /><div><div><span style="font-family: courier; font-size: x-small;">=> select count(*) from history_old;</span></div><div><span style="font-family: courier; font-size: x-small;"> count</span></div><div><span style="font-family: courier; font-size: x-small;">---------</span></div><div><span style="font-family: courier; font-size: x-small;"> 9281308</span></div></div><div><br /></div><h2 style="text-align: left;">Platform 2: New database, import hosts and templates, manually import history.</h2><div>Database Server versions</div><div><br /></div><div>(2022)</div><div><div><span style="font-family: courier; font-size: x-small;">May 12 15:13:26 </span><span style="font-family: courier; font-size: small;">freebsd2 </span><span style="font-family: courier; font-size: x-small;">pkg[11749]: postgresql14-server-14.5 installed</span></div><div><span style="font-family: courier; font-size: x-small;">May 12 15:49:32 </span><span style="font-family: courier; font-size: small;">freebsd2 </span><span style="font-family: courier; font-size: x-small;">pkg[14127]: postgresql14-server-14.5 deinstalled</span></div><div><span style="font-family: courier; font-size: x-small;">May 12 16:13:38 </span><span style="font-family: courier; font-size: small;">freebsd2 </span><span style="font-family: courier; font-size: x-small;">pkg[15371]: postgresql14-server-14.5 installed</span></div></div><div><br /></div><div>My notes aren't clear on why 2 tries, but at least that's still correct on the Zabbix application server side. I moved the database in 2023 to a different system meaning no need to upgrade the original host unless I need to do a refresh there sometime (mmm, backups).</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">Feb 18 23:17:41 freebsd3 pkg-static[33301]: postgresql15-server-15.1_1 installed</span></div><div><span style="font-family: courier; font-size: x-small;">Feb 18 23:26:00 freebsd3 pkg[42270]: postgresql15-server reinstalled: 15.1_1 -> 15.1_1</span></div><div><span style="font-family: courier; font-size: x-small;">Feb 18 23:40:46 freebsd3 pkg[45979]: postgresql15-server-15.1_1 deinstalled</span></div><div><span style="font-family: courier; font-size: x-small;">Feb 18 23:47:06 freebsd3 pkg-static[64934]: postgresql15-server-15.1_1 installed</span></div></div><div><br /></div><div>I struggled a bit here with getting the package/port to include PostgreSQL. If I slipped, the make had to be re-done with particular incantations to forget my previous mistake. So I won't do it again, it's [ <i><b>make rmconfig</b></i> ].</div><div><br /></div><div>Hammer time</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">20230220:143137.337 Unable to start Zabbix server due to unsupported PostgreSQL database version (11.17).</span></div><div><span style="font-family: courier; font-size: x-small;">20230220:143137.337 Must be at least (13.0).</span></div></div><div><div><span style="font-family: courier; font-size: x-small;">20230220:143137.337 Use of supported database version is highly recommended.</span></div><div><span style="font-family: courier; font-size: x-small;">20230220:143137.337 Override by setting <b>AllowUnsupportedDBVersions=1</b> in Zabbix server configuration file at your own risk.</span></div></div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">=# INSERT INTO history SELECT * FROM history_old ON CONFLICT (itemid,clock,ns) DO NOTHING;</span></div><div><span style="font-family: courier; font-size: x-small;">INSERT 0 9281304</span></div></div><div><br /></div><div><div><span style="font-family: courier;">[...]</span></div><div><span style="font-family: courier;">COPY 1357</span></div><div><span style="font-family: courier;">COPY 3828</span></div><div><span style="font-family: courier;">COPY 0</span></div><div><span style="font-family: courier;">COPY 18</span></div><div><span style="font-family: courier;">COPY 1</span></div><div><span style="font-family: courier;">COPY 9311373</span></div><div><span style="font-family: courier;">COPY 5024</span></div><div><span style="font-family: courier;">COPY 0</span></div><div><span style="font-family: courier;">COPY 0</span></div><div style="font-family: inherit;"><br /></div></div><div><div><span style="font-family: courier; font-size: x-small;">=> select count(*) from history;</span></div><div><span style="font-family: courier; font-size: x-small;"> count</span></div><div><span style="font-family: courier; font-size: x-small;">---------</span></div><div><span style="font-family: courier; font-size: x-small;"> 9311373</span></div><div><span style="font-family: courier; font-size: x-small;">(1 row)</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">=> select count(*) from history_old;</span></div><div><span style="font-family: courier; font-size: x-small;"> count</span></div><div><span style="font-family: courier; font-size: x-small;">---------</span></div><div><span style="font-family: courier; font-size: x-small;"> 9281308</span></div></div><div><br /></div><h4 style="text-align: left;">PHP</h4><div>Here, unlike the legacy system, the PHP 8 version is working with Zabbix.</div><div><br /></div><div><br /></div><div>(2022)</div><div><div><span style="font-family: courier; font-size: x-small;">May 12 15:50:41 freebsd2 pkg[14127]: php82-pgsql-8.2.0.r2 installed</span></div><div><span style="font-family: courier; font-size: x-small;">May 12 16:12:16 freebsd2 pkg[15371]: php82-pgsql-8.2.0.r2 deinstalled</span></div><div>(2023)</div><div><span style="font-family: courier; font-size: x-small;">Jan 10 20:20:05 freebsd2 pkg-static[50148]: php81-pgsql-8.1.14 installed</span></div></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><h4 style="text-align: left;">Data migration</h4><div>To have a faster response time, I used system 3 as a database server, and installed PostgreSQL 15 over the previously running version 14.</div><div><br /></div><div>Basic export import steps follow, along with dump size.</div><div><br /></div><div><ol style="text-align: left;"><li>Shutdown Zabbix application server</li><li>Run a database export</li><li>Set up target system at least the same database version</li><li>Create database and schema as needed</li><li>Run database import</li><li>Shutdown original database</li><li>Alter Zabbix server configuration</li><li>Viola (ha)</li></ol></div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">2023-02-19 06:25:02.997 UTC [9256] FATAL: terminating connection due to administrator command</span></div></div><div><br /></div><div><br /></div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">-rw-r--r-- 1 postgres postgres 562198532 Feb 19 06:01 /dump/zabbix_freebsd2.dump</span></div></div><div><br /></div><div>This is the wholly grail; if I miss this screen or fail to check the right box, it's not show time, it's dump and reload time.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl_Iua5PJcRfAZaFTr05cmZCfZmL3WF9x15xjetWvhTxogQTF6SqgzKbyFjk0FBggSObNqVCr0yymXvHuF5JZhVwIOvM7Aikf5QqsHv42ksVs70Y45zpJ2Prg61gCtrP9gYjlGItyqhxLvviKGcl6yo_AijA-mBgk7yEgQ6xV-6ajFSg6Q-hHqWFcNIw/s969/z62-pgsql.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="600" data-original-width="969" height="397" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl_Iua5PJcRfAZaFTr05cmZCfZmL3WF9x15xjetWvhTxogQTF6SqgzKbyFjk0FBggSObNqVCr0yymXvHuF5JZhVwIOvM7Aikf5QqsHv42ksVs70Y45zpJ2Prg61gCtrP9gYjlGItyqhxLvviKGcl6yo_AijA-mBgk7yEgQ6xV-6ajFSg6Q-hHqWFcNIw/w640-h397/z62-pgsql.png" width="640" /></a></div><div><br /></div><div><br /></div>From then to now:<div><br /><div style="text-align: left;"><span style="font-family: courier; font-size: x-small;">-rw-r--r-- 1 freebsd freebsd 24382685 Dec 23 2021 zabbix-5.4.9.tar.gz<br />-rw-r--r-- 1 freebsd freebsd 24510838 Jan 31 2022 zabbix-5.4.10.tar.gz<br />-rw-r--r-- 1 freebsd freebsd 41038757 Dec 5 08:44 zabbix-6.2.6.tar.gz</span></div><div><br /></div></div><div>Meanwhile 6.2.7 and 6.2.8 are probably out, on some platforms at least.</div><div><br /></div><div>History results (from platform 1):</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic83tpa54KFZz3SePEud1ibsSgrg0BfkX7Tme4NIEsjRH69n43jPvQbp9cw_C1nTBW1t8Rot3apwAlwjU3vur0VpavBjRw2vRMonWtDtRAjp7NHEDofqLmxhr_BnQyqTcJoFzm6tnkZgjbStWEI7Az-J9KTEXyirRvBLo6uylPcM_LihCcVhSLjDNC4w/s1305/chart1.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="354" data-original-width="1305" height="174" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic83tpa54KFZz3SePEud1ibsSgrg0BfkX7Tme4NIEsjRH69n43jPvQbp9cw_C1nTBW1t8Rot3apwAlwjU3vur0VpavBjRw2vRMonWtDtRAjp7NHEDofqLmxhr_BnQyqTcJoFzm6tnkZgjbStWEI7Az-J9KTEXyirRvBLo6uylPcM_LihCcVhSLjDNC4w/w640-h174/chart1.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI5SsbP6K78kFGP_1dTC2bpv2aGQk-V23Km82TedYmcPPB_8fYPvyQAw8L0wvCtFcVtaFCjgcwQxHckff1K9mJaVlYApM_DJ5OEpOk-ltrDXeY5TzQIoPSznL_n3KAci8sXtl0OcLXAy7z6zV8JSDwgRGZd4TzM12GCcUuGraEjxdJt_2IK6yBIZpdWg/s1305/chart2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="368" data-original-width="1305" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI5SsbP6K78kFGP_1dTC2bpv2aGQk-V23Km82TedYmcPPB_8fYPvyQAw8L0wvCtFcVtaFCjgcwQxHckff1K9mJaVlYApM_DJ5OEpOk-ltrDXeY5TzQIoPSznL_n3KAci8sXtl0OcLXAy7z6zV8JSDwgRGZd4TzM12GCcUuGraEjxdJt_2IK6yBIZpdWg/w640-h180/chart2.png" width="640" /></a></div><br /><div><br /></div><div>The gaps are due to sensors or test systems going offline or elsewhere.</div><div><br /></div><div><br /></div><h3 style="text-align: left;">Deltas</h3><div>What did I find most different after trying the upgraded platform and the fresh platform? One obvious nicety is the delivery of open street maps in the base server. This only shows up for me in the fresh install, though.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQBYOGwO3pUfgikCnKfC7QCYEpxB_0vvpriSdSckXLhcgdAkJE1MW1P4cegMBlM8tOQd7bgFPAWxzux1nPorpsxd_s-DO8L0trQA96VLynHtRyZFNmBX37FY7KRR64Xjxokmzk6FiQWhbfOBJlfzRuWB9IB5xLqs9623Sv0Ov-3hZYQNIs2htrgMf8zQ/s435/Riga.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="435" data-original-width="423" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQBYOGwO3pUfgikCnKfC7QCYEpxB_0vvpriSdSckXLhcgdAkJE1MW1P4cegMBlM8tOQd7bgFPAWxzux1nPorpsxd_s-DO8L0trQA96VLynHtRyZFNmBX37FY7KRR64Xjxokmzk6FiQWhbfOBJlfzRuWB9IB5xLqs9623Sv0Ov-3hZYQNIs2htrgMf8zQ/s320/Riga.png" width="311" /></a></div><br /><div>Next big difference is the change from a single agent status level to seeing two of them, squeezed into one lamp.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPsDKIraymwed1ELK3pmwx3T6TkXEEVy93O2CFYzY9K9oO2J0R6rD-slhPHjYDL5nb_dTea2wyHMiUZFlnyb0OsCGi61s1XN3yaD9JJKSdAQ633Yk39n-W4R6baWuLFwiwda3975A58WgyjZoz9kvnYr4L0rURpCtAXY6h3y126aEFid8X835ATlcGCQ/s248/status.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="129" data-original-width="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPsDKIraymwed1ELK3pmwx3T6TkXEEVy93O2CFYzY9K9oO2J0R6rD-slhPHjYDL5nb_dTea2wyHMiUZFlnyb0OsCGi61s1XN3yaD9JJKSdAQ633Yk39n-W4R6baWuLFwiwda3975A58WgyjZoz9kvnYr4L0rURpCtAXY6h3y126aEFid8X835ATlcGCQ/s16000/status.png" /></a></div><br /><div><br /></div><div>Perhaps multiple interfaces may be configured to show here, though my first tries to add second adapters didn't pan out.</div><div><br /></div><div><b>Option: HeartbeatFrequency</b> is available on later agent versions, so check if this needs to be set (missing means an earlier configuration file).</div><div><br /></div><div>This dash display works simply enough:</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglBawfvpx6bl6SHKipKZqH271h_KKkQX8lWwe0lR7cdiXCSsFe0DcpI3Ket9k8nWoCoFKbmHz0KsdnNcba1wT1REK6f6rCkhyix8pTr0_pG1FaUPh_001mEB6ODj77zgvZ-MLb1qD7GPqWgAt2F9mCJCuW9aLNUFKHZ0vWdgYKzIbBWYGYd1ITPJz0YA/s559/dash-console.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="323" data-original-width="559" height="370" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglBawfvpx6bl6SHKipKZqH271h_KKkQX8lWwe0lR7cdiXCSsFe0DcpI3Ket9k8nWoCoFKbmHz0KsdnNcba1wT1REK6f6rCkhyix8pTr0_pG1FaUPh_001mEB6ODj77zgvZ-MLb1qD7GPqWgAt2F9mCJCuW9aLNUFKHZ0vWdgYKzIbBWYGYd1ITPJz0YA/w640-h370/dash-console.png" width="640" /></a></div><br /><div><br /></div><div>Groups and other metadata containers/tags have changed somewhat from the earliest versions I've used (5).</div><div><br /></div><div><br /></div><div>Which way for future upgrades? It depends, as usual. If the keys change, that's doable. Larger data collections are unlikely at my pace; for others trends would need to be analyzed. Avoiding "database unsupported" is always a good idea.</div><h3 style="text-align: left;">Ephemera</h3><div><br /></div><div>Along the way, I found this bug (hit it myself):</div><div><br /></div><div><span style="font-family: courier; font-size: x-small;">ZBX_NOTSUPPORTED: Cannot obtain a descriptor to access kernel virtual memory.</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">[ <a href="https://www.zabbix.com/forum/zabbix-help/429220-zbx_notsupported-cannot-obtain-a-descriptor-to-access-kernel-virtual-memory">https://www.zabbix.com/forum/zabbix-help/429220-zbx_notsupported-cannot-obtain-a-descriptor-to-access-kernel-virtual-memory</a> </span><span style="font-family: courier; font-size: small;">]</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: inherit;">Although the question refers to NetBSD 8 and Zabbix 4 (both outdated in 2023), the error may still hit if you use an older agent software base. NetBSD patches to get an agent the correct system internal metrics are out there, maybe on package source work-in-progress, and maybe in a distribution near you. I went through each system I test to get a Zabbix 6.2.6 agent running, so they'd match the server version and not have quirks with features absent or deformed.</span></div><div><span style="font-family: inherit;"><br /></span></div><div><span style="font-family: inherit;">The FreeBSD kernel limited the import speed, I presume.</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-size: x-small;"><div><span style="font-family: courier;">Feb 20 17:40:48 freebsd1 kernel: Limiting open port RST response from 223 to 200 packets/sec</span></div><div><span style="font-family: courier;">Feb 20 17:40:50 freebsd1 kernel: Limiting open port RST response from 224 to 200 packets/sec</span></div><div><span style="font-family: courier;">Feb 20 17:41:24 freebsd1 kernel: Limiting open port RST response from 220 to 200 packets/sec</span></div><div style="font-family: inherit;"><br /></div><div style="font-family: inherit;"><br /></div><div><div><br /></div></div></span></div><div><span style="font-family: courier; font-size: x-small;">References:</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;"><a href="https://jspath55.blogspot.com/2023/01/another-zabbix-chapter-software-upgrade.html">https://jspath55.blogspot.com/2023/01/another-zabbix-chapter-software-upgrade.html</a></span></div><div><span style="font-family: courier; font-size: x-small;"><a href="https://jspath55.blogspot.com/2022/06/zabbix-server-build-trial-and-error.html">https://jspath55.blogspot.com/2022/06/zabbix-server-build-trial-and-error.html</a></span></div><div><span style="font-family: courier; font-size: x-small;"><a href="https://jspath55.blogspot.com/2022/02/building-out-intra-home-data-aggregator.html">https://jspath55.blogspot.com/2022/02/building-out-intra-home-data-aggregator.html</a></span></div><div><br /></div><div><br /></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-51062203266288760262023-02-08T16:14:00.003-05:002023-12-04T15:29:54.748-05:00NetBSD 10 Beta installs and testing from i386 to ARMI've run NetBSD for quite some time, going back to the days of Dr. Dobbs magazine and the release of the BSD4-based 386BSD (which I installed from floppy disks...). The chance of beta testing the newest release came at the end of December 2022. I had installed NetBSD-current on Raspberry Pi platforms, and also had different levels of NetBSD 9 on systems.<div><br /></div><div>This story is on my attempts to upgrade or install fresh operating systems "in house". Rather than strict chronological order, the sections below are by CPU architecture, starting with the older i386 then going to Arm processors. I have not upgraded an AMD-based system (yet), and will add notes at the end when I can.</div><div><br /></div><h2 style="text-align: left;">i386</h2><div>I had a running 32-bit small system where I've had different releases of NetBSD over the years, starting with spinning disk and now with solid state. After going through more hurdles than I expected, that "Atom" powered machine is on 10-Beta and being tested ("h1"). Then I remembered a donated PC that would support NetBSD, although I either fumbled the boot tracks or the BIOS is just not BSD-friendly. That machine ("h2") got a fresh install from the ISO image.</div><div><br /></div><div>H1 BEFORE:</div><div><br /></div><div><span style="font-family: courier;">Jan 1 20:16:19 h1 /netbsd: [ 1.0000000] NetBSD 9.3 (GENERIC) #0: Thu Aug 4 15:30:37 UTC 2022</span></div><div><br /></div><div>H1 AFTER:</div><div><br /></div><div><div><span style="font-family: courier;">Jan 1 21:22:51 h1 /netbsd: [ 1.0000000] NetBSD 10.0_BETA (GENERIC) #0: Sat Dec 31 04:55:53 UTC 2022</span></div></div><div><br /></div><div>NetBSD h1 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Sat Dec 31 04:55:53 UTC 2022 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386</div><div><br /></div><div>H2 AFTER:</div><div><br /></div><div><div><span style="font-family: courier;">Jan 29 16:08:18 h2 /netbsd: [ 1.0000000] NetBSD 10.0_BETA (GENERIC) #0: Mon Jan 23 16:02:49 UTC 2023</span></div></div><div><br /></div><div><div>NetBSD h2 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Mon Jan 23 16:02:49 UTC 2023 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386</div></div><div><br /></div><div>The first install took longer than I wanted because I first tried to use a CD-ROM disk for the install image, but unfortunately the standard distribution size has now grown pas 640MB for i386. Then I installed to a clean external drive via a USB adapter before managing to lay down the correct OS image and all of the parts.</div><div><br /></div><div>One self-imposed problem was, using <i>sysupgrade</i> as a novice, making the <i>fstab </i>file empty or wrong. Fortunately, somehow got around this using the other boot drive to repair the goof.</div><div><br /></div><div><div><span style="font-family: courier;">$ ls -trl fst*</span></div><div><span style="font-family: courier;">-rw-r--r-- 1 root wheel 348 Jan 2 13:48 fstab-10-fail</span></div><div><span style="font-family: courier;">-rw-r--r-- 1 root wheel 1100 Jan 2 14:05 fstab-10-almost</span></div><div><span style="font-family: courier;">-rw-r--r-- 1 root wheel 953 Jan 2 14:18 fstab</span></div></div><div><br /></div><div>About 3 weeks elapsed between the first i386 kernel build to the second, so some slight changes have occurred it seems.</div><div><br /></div><div><div><span style="font-family: courier;">-rwxr-xr-x 1 root wheel 25611864 Dec 31 04:55 /netbsd</span></div></div><div><span style="font-family: courier;">-rwxr-xr-x 1 root wheel 25611940 Jan 23 16:02 /netbsd</span></div><div><br /></div><div><br /></div><div>Typically the first package I'd install not in the base distribution is the bash shell, requiring steps to initiate a package source/executable tree. To get up-to-date, I refreshed <i>pkgsrc </i>via CVS on both; the first box has almost 2000 top-level <i>distfile </i>items and the second just 100 so far. For more complex packages with extensive dependencies I've ended up with pre-built packages generally. More below.</div><div> </div><h3 style="text-align: left;">Entropy</h3><div><br /></div><div><div><span style="font-family: courier;">Jan 11 18:03:44 h1 /netbsd: [ 176217.1118082] entropy: pid 19289 (python) blocking due to lack of entropy</span></div></div><div><br /></div><div>Stuck on this for a while until I noticed the screen message. Repaired. Didn't happen on the second, newer, machine, with a quite different CPU (Intel Atom versus AMD A8).</div><div><br /></div><h3 style="text-align: left;">Packages</h3><div><br /></div><div>The most glaring omissions below the first tier (64-bit) systems on NetBSD I've run into are web browsers, audio software, and the LibreOffice package. Thunderbird is another with a massive compile time is you do it yourself.</div><div><br /></div><div>Zabbix 6.2 server and agents weren't there in pkgsrc and I've installed them from source across the NetBSD architectures I have. Most common hurdle has been the Perl regular expression library <i>pcre </i>which seems like it should have trivial build or run requirements (i.e. <i>ldd </i>works).</div><div><br /></div><div>The net.c file needed to be pulled in from the pkgsrc "work in progress"</div><div><br /></div><div><div>$ ls -l zabbix-6.2.6/src/libs/zbxsysinfo/netbsd/net.c*</div><div>-rw-r--r-- 1 me us 9245 Jan 27 00:57 zabbix-6.2.6/src/libs/zbxsysinfo/netbsd/net.c</div><div>-rw-r--r-- 1 me us 8129 Dec 1 07:47 zabbix-6.2.6/src/libs/zbxsysinfo/netbsd/net.c.orig</div></div><div><br /></div><div>Alas, pkgsrc.se went away quite recently, so I cant backtrack to the source; maybe this will help:</div><div><br /></div><div><a href="https://mail-index.netbsd.org/pkgsrc-wip-changes/2023/02/04/msg026289.html">https://mail-index.netbsd.org/pkgsrc-wip-changes/2023/02/04/msg026289.html</a></div><div><br /></div><div style="text-align: left;"><span style="font-family: inherit; font-size: x-small;">"</span><span style="color: #34495e; font-family: inherit; font-size: small;">zabbix62-*: Update Zabbix to 6.2.7"</span></div><div><br /></div><div>Oh, right, this:</div><div><br /></div><div><a href="https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=tree;f=zabbix62-agent;hb=HEAD">https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=tree;f=zabbix62-agent;hb=HEAD</a></div><div><br /></div><div>lynx sometimes shows</div><div><br /></div><div><i>SSL error:unable to get local issuer certificate-Continue? (n) </i></div><div><br /></div><div>then works:</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;"> Linkname:LYNX - The Text Web-Browser </span><span style="font-family: courier; font-size: small;"> URL:https://lynx.invisible-island.net/</span></div><div><span style="font-family: courier; font-size: small;"> </span><span style="font-family: courier; font-size: small;"> Charset:us-ascii </span><span style="font-family: courier; font-size: small;"> Server:Sucuri/Cloudproxy </span><span style="font-family: courier; font-size: small;"> Date:Sat, 04 Feb 2023 14:37:40 GMT </span><span style="font-family: courier; font-size: small;"> Last Mod:Wed, 03 Apr 2019 08:25:24 GMT </span></div></div><div><br /></div><div>Firefox loads and runs.</div><div><br /></div><div>Thunderbird doesn't like 32-bit on my attempts.</div><div><i>no such installed package thunderbird-78.12.0nb9</i></div><div><i><br /></i></div><div>For fill-ins of lost regexp parts:</div><div><p style="line-height: 100%; margin-bottom: 0in;"><a href="https://rpmfind.net/linux/rpm2html/search.php?query=pkgconfig(libpcre)">https://rpmfind.net/linux/rpm2html/search.php?query=pkgconfig(libpcre)</a></p></div><h3 style="text-align: left;">Benchmarks</h3><div><br /></div><div>I should have run times from a lot of historic tests, except those under NDA (nondisclosure agreements) or other reasons. The BYTE benchmark is one of the oldest, and I probably ran "sieve" tests in the 1980s for C compilers.</div><div>The package source runs the older 4.x version (5.x is in the FreeBSD ports tree).</div><div><br /></div><div><div>$ ls -l /var/bytebench/report </div><div>-rw-r--r-- 1 root wheel 3792 Jan 31 14:28 /var/bytebench/report</div></div><div><br /></div><div><span style="font-family: courier;">Dhrystones: 2,285,582 h1</span></div><div><span style="font-family: courier;"> 4,820,219 h2</span></div><div><span style="font-family: courier;"><br /></span></div><div><span style="font-family: courier;">AMD:</span></div><div><span style="font-family: courier;"> 64,565,735 (ryzen 6-core)</span></div><div><br /></div><div>Old times, good times:</div><div><br /></div><div><span style="font-family: courier;">Dhrystones: </span><span style="font-family: courier;">570,441 (pentium ~2005)</span></div><div><span style="font-family: courier;"> 3,437,974 (pentium ~2005)</span></div><div><span style="font-family: courier;"> 3,484,307 (pentium ~2007)</span></div><div><span style="font-family: courier;"> 7,126,944 (opteron ~2007)</span></div><div><span style="font-family: courier;"><br /></span></div><div><br /></div><div><div><span style="font-family: courier;">Benchmark Run: Sat Jun 26 2010 20:06:15 - 20:06:15</span></div><div><span style="font-family: courier;">192 CPUs in system; running 192 parallel copies of tests</span></div><div><br /></div><div>Even older:</div></div><div><br /></div><div><div><span style="font-family: courier;">-rwxr--r-- 1 377 wheel 63570 Mar 11 1997 DHRY1ND.EXE</span></div><div><span style="font-family: courier;">-rwxr--r-- 1 377 wheel 59570 Mar 11 1997 DHRY1OD.EXE</span></div><div><span style="font-family: courier;">-rwxr--r-- 1 377 wheel 67466 Mar 11 1997 DHRY2ND.EXE</span></div><div><span style="font-family: courier;">-rwxr--r-- 1 377 wheel 67598 Mar 11 1997 DHRY2OD.EXE</span></div></div><div><br /></div><h4 style="text-align: left;">hbench</h4><div><br /></div><div>I began collecting results from the <i>hbench-os</i> package because I've used it in the past and had rough ideas what values might be expected on high-end processors. Lower end modules like the Pi Zero 2W show degradation in the results.</div><div><br /></div><div>I snagged on remote OS calls in the run sequence, and commented them out in a rough way.</div><div><br /></div><div><div>$ cat /usr/pkg/share/hbench/Results/netbsdelf10.0-i386/h1.1/lat_syscall_sbrk</div><div>0.0259</div><div>0.0257</div><div>0.0275</div></div><div><br /></div><div>I guess Byte bench should write to <b>/usr/pkg</b> instead of <b>/var</b>.</div><div><br /></div><div><div>$ cat /usr/pkg/share/hbench/Results/netbsdelf10.0-i386/h2.1/lat_syscall_sbrk</div><div>0.0160</div><div>0.0157</div><div>0.0156</div><div>0.0148</div><div>0.0160</div></div><div><br /></div><div>(the 9.x amd system shows):</div><div><br /></div><div><div>$ cat /usr/pkg/share/hbench/Results/netbsd9.2-x86_64/amd.3/*sbrk</div><div>0.0024</div><div>0.0024</div><div>0.0024</div></div><h4 style="text-align: left;">test suite</h4><div>For whatever reason I had not previously looked at the <i>/usr/tests</i> suite of system tests that have been included in NetBSD for far longer than I would have guessed. I can't find a lot of cross references so just dug into the docs and tried things out. Many tests failed when <i>/usr/sbin </i>or<i> /sbin </i>wasn't in the PATH, and a few others I have checked work if logged in as root. Though I don't have enough experience with this suite, getting values from all the systems I could access made sense in trying to help isolate either test or system faults.</div><div><br /></div><div><div>i386</div><div>Failed test cases:</div><div><div> include/t_paths:paths, kernel/kqueue/t_empty:sock_tcp, </div><div> kernel/t_magic_symlinks:realpath, </div></div><div><br /></div><div>spurious artifacts</div></div><div><br /></div><div><div>[ 104957.413584] WARNING: pid 19263 (t_futex_robust) lwp 7568: exhausted robust futex limit</div></div><div><br /></div><div><br /></div><h2 style="text-align: left;">ARM</h2><div>NetBSD a1 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Fri Jan 13 19:15:32 UTC 2023 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/<b>GENERIC </b>evbarm</div><div><br /></div><div><div>NetBSD a2 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Fri Jan 13 19:15:32 UTC 2023 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/<b>GENERIC </b>evbarm</div></div><div><br /></div><div><div>NetBSD a3 10.0_BETA NetBSD 10.0_BETA (GENERIC64) #0: Fri Jan 13 19:15:32 UTC 2023 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/<b>GENERIC64</b> evbarm</div></div><div><br /></div><div>Like one of the i386 upgrades, I made errors using <i>sysupgrade</i>, with the worst problem being removal of necessary security files. When normal groups came up as "not found" I began to worry. With some backups, the majority of issues were fixed eventually. The workaround was again, mounting the flawed install elsewhere and updating the gaps.</div><div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiGFzwjQk5r2K2_y5_rebB6p_i30GwA9NuY1mkaZ13kS9vfTfRAAbUyAYqiVYADUnmrj_hda2uMgXFbdqVHPAd61paZqfezZZXb2Q4G6hj2VsSgrz9WxbPjycRHTXaFSaDHEhWPAWCJ5xBpCJ_qDzbFq6ScVFLNMpCnUhdPrpBT1MQV_W8crr2ng6ADxw" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="442" data-original-width="1024" height="276" src="https://blogger.googleusercontent.com/img/a/AVvXsEiGFzwjQk5r2K2_y5_rebB6p_i30GwA9NuY1mkaZ13kS9vfTfRAAbUyAYqiVYADUnmrj_hda2uMgXFbdqVHPAd61paZqfezZZXb2Q4G6hj2VsSgrz9WxbPjycRHTXaFSaDHEhWPAWCJ5xBpCJ_qDzbFq6ScVFLNMpCnUhdPrpBT1MQV_W8crr2ng6ADxw=w640-h276" width="640" /></a></div></div><div><br /></div><div>One fix didn't catch immediately; setting the last touched time to "now" did the right thing.</div><div><br /></div><div>(not supposed to be zero:)</div><div><span style="font-family: courier;">-rw------- 1 root wheel 0 Jan 17 16:38 </span></div><div><br /></div><h4 style="text-align: left;">Clean install on a Pi Zero 2W</h4><div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEg2n09NbjyCZ7tIyf2CYswSC8pD5b1pv3uMkEclZFoELB26xWgxKcyIgDVTwpNtd5buL9Y7sRDf_in-iVoXTiAeU5Un8oBiT6HrKG0upRWDDQLYGmoDh8rAdfjDpQ6eEqMWAXA23qu2U8m6oncLBtuHDaLXSUO94r91DCc7qiANeojAITSMdM_CP70P5g" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="423" data-original-width="1024" height="264" src="https://blogger.googleusercontent.com/img/a/AVvXsEg2n09NbjyCZ7tIyf2CYswSC8pD5b1pv3uMkEclZFoELB26xWgxKcyIgDVTwpNtd5buL9Y7sRDf_in-iVoXTiAeU5Un8oBiT6HrKG0upRWDDQLYGmoDh8rAdfjDpQ6eEqMWAXA23qu2U8m6oncLBtuHDaLXSUO94r91DCc7qiANeojAITSMdM_CP70P5g=w640-h264" width="640" /></a></div><br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjDav-BTPW5f5yMEXuo7GiD7-F9j-NnE_3OMYtRgS6mc4boVTrCK-WTXi7oyBBi3tIAdaNKK2Ltgz2hKG3h5NUY00GvvdgAtRHo4JsHEQy9gsIbQz2YYtddWUsjKjvyL1o_AEVQy7Hri4XoR3s0Z_CwuIB1Vi5dcRU13KjJ-_F7qGHPBNgHxHlAEIVGBw" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="572" data-original-width="1024" height="358" src="https://blogger.googleusercontent.com/img/a/AVvXsEjDav-BTPW5f5yMEXuo7GiD7-F9j-NnE_3OMYtRgS6mc4boVTrCK-WTXi7oyBBi3tIAdaNKK2Ltgz2hKG3h5NUY00GvvdgAtRHo4JsHEQy9gsIbQz2YYtddWUsjKjvyL1o_AEVQy7Hri4XoR3s0Z_CwuIB1Vi5dcRU13KjJ-_F7qGHPBNgHxHlAEIVGBw=w640-h358" width="640" /></a></div></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">One oddity I found was date stamps on the upgrade sets. On the website the dates were nearly identical but the cached versions differ.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div style="line-height: 100%; margin-bottom: 0in; text-align: left;"><span style="font-family: courier; font-size: x-small;"><span>$ ls
-l /var/cache/sysupgrade/<br /></span><span><br /></span><span>-rw-r--r--
1 root wheel 37548220 Jan 16 10:22 base.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 54971904 Jan 16 10:26 comp.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 447912 <b>Dec 20</b> 00:56 dtb.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 495604 <b>Dec 23 </b>00:04 etc.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 2614024 Jan 16 10:20 games.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 1103864 <b>Jan 14</b> 22:43 gpufw.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 7566312 Jan 16 10:21 man.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 4135072 Jan 16 10:20 misc.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 6185508 Jan 16 10:20 modules.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 7852529 Jan 14 22:37 netbsd-GENERIC64.gz<br /></span><span>-rw-r--r--
1 root wheel 2694436 Jan 16 10:20 rescue.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 10290016 Jan 16 10:20 tests.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 1900648 Jan 16 10:20 text.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 6021116 <b>Dec 31</b> 21:03 xbase.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 6026656 <b>Jan 14 </b>22:44 xcomp.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 27840 <b>Jan 4</b> 15:11 xetc.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 28997008 Jan 16 10:21 xfont.tar.xz<br /></span><span>-rw-r--r--
1 root wheel 21325496 Jan 16 10:21 xserver.tar.xz</span></span></div>
<p style="line-height: 100%; margin-bottom: 0in;"><br />
</p></div><div class="separator" style="clear: both; text-align: left;"><br /></div><h3 style="text-align: left;">Packages</h3><div>Firefox isn't entirely working for me on the arm systems. Still checking options.</div><div>LibreOffice, PostgreSQL and Thunderbird work in all tests so far. </div><div><br /></div><div>Thunderbird email header:</div><div><br /></div><div><span style="font-family: courier; font-size: x-small;">User-Agent: Mozilla/5.0 (X11; NetBSD evbarm; rv:78.0) Gecko/20100101 Thunderbird/78.12.0</span></div><div><br /></div><div>Zabbix agents are at 6.2 with local compiles. I had a Zabbix server working on NetBSD current which is not set up at the moment.</div><div><br /></div><div>catclock: yes</div><div><br /></div><div>One of the cooler packages to get running is <i>minidlna</i>, which can share out media from MP3s to MP4s. Well, that's not many types. Probably M4A and WAV and more too. FreeBSD shines here as well.</div><div><br /></div><div><span style="font-family: courier; font-size: x-small;">[2023/01/13 04:28:01] minidlna.c:1121: warn: Starting MiniDLNA version 1.2.1.</span></div><div><br /></div><div>VLC</div><div><br /></div><div><div style="line-height: 100%; margin-bottom: 0in; text-align: left;"><span style="font-family: Liberation Mono, serif;"><span style="font-size: 10pt;">pkgin
search vlc<br /></span></span><span style="font-family: Liberation Mono, serif;"><span style="font-size: 10pt;">cleaning
database from
https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/aarch64/9.0/All
entries...<br /></span></span><span style="font-family: Liberation Mono, serif;"><span style="font-size: 10pt;">reading
local summary...<br /></span></span><span style="font-family: Liberation Mono, serif;"><span style="font-size: 10pt;">processing
local summary...<br /></span></span><span style="font-family: Liberation Mono, serif;"><span style="font-size: 10pt;">processing
remote summary
(https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/aarch64/10.0/All)...</span></span></div><div style="line-height: 100%; margin-bottom: 0in; text-align: left;"><span style="font-family: Liberation Mono, serif;"><span style="font-size: 10pt;"><br /></span></span></div><div style="line-height: 100%; margin-bottom: 0in; text-align: left;"><span><div style="font-family: "Liberation Mono", serif; line-height: 100%; margin-bottom: 0in;"><span style="font-size: 13.3333px;">pkgin search vlc-3</span></div><div style="font-family: "Liberation Mono", serif; line-height: 100%; margin-bottom: 0in;"><span style="font-size: 13.3333px;">vlc-3.0.17.4nb8 < VideoLAN media player and streaming server</span></div><div style="font-family: "Liberation Mono", serif; line-height: 100%; margin-bottom: 0in;"><span style="font-size: 13.3333px;"><br /></span></div><div style="font-family: "Liberation Mono", serif; line-height: 100%; margin-bottom: 0in;"><span style="font-size: 13.3333px;">=: package is installed and up-to-date</span></div><div style="font-family: "Liberation Mono", serif; line-height: 100%; margin-bottom: 0in;"><span style="font-size: 13.3333px;"><b><: package is installed but newer version is available</b></span></div><div style="font-family: "Liberation Mono", serif; line-height: 100%; margin-bottom: 0in;"><span style="font-size: 13.3333px;">>: installed package has a greater version than available package</span></div><div style="font-family: "Liberation Mono", serif; font-size: 10pt;"><br /></div><h4 style="font-family: "Liberation Mono", serif; font-size: 10pt; text-align: left;">ctwm</h4><div style="text-align: left;"><span style="font-family: inherit;">I made local "dot" ctwm rc files after seeing the NetBSD X standard change. If I use the system defaults with no local dot file, I get application menus from pkgsrc. But with my local tweaks I can't find a way to run that menu. The CTWM app doesn't make a lot of noise, which is generally good.</span></div><p style="font-size: 10pt; text-align: left;"><br /></p></span></div>
</div><h3 style="text-align: left;">Benchmarks</h3><div><br /></div><div>Pi0</div><div><span style="font-family: courier;">Dhrystones</span><span style="font-family: courier;">: 2087553 a1</span></div><div><span style="font-family: courier;">Dhrystones:</span><span style="font-family: courier;"> </span><span style="font-family: courier;">2207961 a2</span></div><div><span style="font-family: courier;">Pi4</span></div><div><span style="font-family: courier;">Dhrystones:</span><span style="font-family: courier;"> </span><span style="font-family: courier;">8777214 a3</span></div><div><br /></div><div><span style="font-family: courier;"><br /></span></div><div><br /></div><div><div><h3 style="text-align: left;">hbench</h3><div><br /></div><div>sbrk pi 4</div><div><div>0.4160</div><div>0.4468</div><div>0.4161</div><div>0.4132</div></div><div><br /></div><div><br /></div><div>pi0:</div><div><div>pkgin search hbench</div><div>No results found for hbench</div></div><div><br /></div><div>Still trying to run this particular flavor</div><div><br /></div><div><a href="https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/benchmarks/hbench/index.html">https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/benchmarks/hbench/index.html</a> has no 32-bit arm/evbarm when I checked.</div><div><br /></div><div><div>bash-5.1$ file bin/netbsd10.0-evbarm/lat_pipe</div><div>bin/netbsd10.0-evbarm/lat_pipe: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 10.0, compiled for: earmv7hf, not stripped<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEg8QViPhdhya4aVEDMERAiMrRvlfO9bdGxfEXPMev8_h9cnZ7X90Fzw4gsDKv8oc937EasX39Cy-K0Bi62PuJqTsRW8y7MWj9a2dxtbnMGJAd7EDBw2dFkOXNeKvx8xOdBZlVjNFj6H4xZc9xY8mh0mllU_7X3wYg3-Ve6KXeu_r_MixzUyFwXO61xp9Q" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="333" data-original-width="292" src="https://blogger.googleusercontent.com/img/a/AVvXsEg8QViPhdhya4aVEDMERAiMrRvlfO9bdGxfEXPMev8_h9cnZ7X90Fzw4gsDKv8oc937EasX39Cy-K0Bi62PuJqTsRW8y7MWj9a2dxtbnMGJAd7EDBw2dFkOXNeKvx8xOdBZlVjNFj6H4xZc9xY8mh0mllU_7X3wYg3-Ve6KXeu_r_MixzUyFwXO61xp9Q=s16000" /></a><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEg8QViPhdhya4aVEDMERAiMrRvlfO9bdGxfEXPMev8_h9cnZ7X90Fzw4gsDKv8oc937EasX39Cy-K0Bi62PuJqTsRW8y7MWj9a2dxtbnMGJAd7EDBw2dFkOXNeKvx8xOdBZlVjNFj6H4xZc9xY8mh0mllU_7X3wYg3-Ve6KXeu_r_MixzUyFwXO61xp9Q" style="margin-left: 1em; margin-right: 1em;"></a><a href="https://blogger.googleusercontent.com/img/a/AVvXsEji9fXV9ZspNBk2WUR27l54dChCNwiydtUGTXKNcDZoKYJ5rR9BkTjelSjyII57IuJ7dqL6kA_89qpN78SGe_k_VQwwZ7tO8onc9jYXXlzIrtUMvrpVv1NE9dPMjgv2_hUiPqKXTbLpjChlFkJfRZKA8muG9Ve3jJICauTSV4LaZjUR1r53TsRVTugvVg" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="240" data-original-width="551" src="https://blogger.googleusercontent.com/img/a/AVvXsEji9fXV9ZspNBk2WUR27l54dChCNwiydtUGTXKNcDZoKYJ5rR9BkTjelSjyII57IuJ7dqL6kA_89qpN78SGe_k_VQwwZ7tO8onc9jYXXlzIrtUMvrpVv1NE9dPMjgv2_hUiPqKXTbLpjChlFkJfRZKA8muG9Ve3jJICauTSV4LaZjUR1r53TsRVTugvVg=s16000" /></a></div><br /></div></div></div><div>These will make more sense with legends. The old way I created these was with <i><b>ploticus</b></i>, which meanwhile has evolved such that my old configurations do not work.</div><h4 style="text-align: left;">test suite</h4><div><br /></div><div>Failed test cases:</div><div> include/t_paths:paths, kernel/kqueue/t_empty:sock_tcp,</div><div> kernel/t_magic_symlinks:realpath,</div></div><div>[...]</div><div><br /></div><div><br /><br /></div><h3 style="text-align: left;">Network adapter failure(s)</h3><div>I opened a PR after getting repeated reboots when using an external ethernet adapter with a Pi 02W. After several days/weeks, I installed a second system. That had no problems with a second adapter. Then I switched the hardware, and surprise, no problems. Oof.</div><div><br /></div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">Jan 16 09:06:50 a1 /netbsd: [ 12626.1912013] Skipping crash dump on recursive</span></div><div><span style="font-family: courier; font-size: x-small;"> panic</span></div><div><span style="font-family: courier; font-size: x-small;">Jan 16 09:06:50 a1 /netbsd: [ 12626.1912013] panic: lock error: Mutex: mutex_</span></div><div><span style="font-family: courier; font-size: x-small;">vector_enter,516: assertion failed: !cpu_intr_p(): lock 0x90d7087c cpu 0 lwp 0x9</span></div><div><span style="font-family: courier; font-size: x-small;">0af8040</span></div></div><div><br /></div><div>(last one seen as of 04-Feb-2023)</div><div><br /></div><div><br /></div><div><div>messages:</div><div><div><span style="font-family: courier; font-size: x-small;">Jan 16 05:37:46 a1 /netbsd: [ 3.9488398] ure0: Realtek (0x0bda) USB 10/100/1000 LAN (0x8153), rev 2.10/31.00, addr 4</span></div></div><div><span style="font-family: courier; font-size: x-small;">Jan 27 20:16:13 a1 /netbsd: [ 2.9264624] ure0: Realtek (0x0bda) USB 10/100 LAN (0x8152), rev 2.10/20.00, addr 3</span></div><div><br /></div></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhUV3ksFsj2IiNNd5fzPsFKF8xGbpzYhuhpigtlvDvZ26B8PYanEld-frpY3HDxCukD2x27957L-E8Ws91Q6j0dYAbhhLQ5ltS3S09mRbJrbIecjjHNiDiKVwIO4yaI5XAw7L5Wt-5phG1qxPf24Yz8xAtvwhIZJBofpUnVpBmNwRklGEg307DvCaZFFQ" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="297" data-original-width="697" height="272" src="https://blogger.googleusercontent.com/img/a/AVvXsEhUV3ksFsj2IiNNd5fzPsFKF8xGbpzYhuhpigtlvDvZ26B8PYanEld-frpY3HDxCukD2x27957L-E8Ws91Q6j0dYAbhhLQ5ltS3S09mRbJrbIecjjHNiDiKVwIO4yaI5XAw7L5Wt-5phG1qxPf24Yz8xAtvwhIZJBofpUnVpBmNwRklGEg307DvCaZFFQ=w640-h272" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhmAAxDMzkcgwBQXRefiS5Nwa5Qabj3xexBiFbMCb7cSJ_4O9TPIh80IJTLE3OD5TEPdGJO9Wfnmw-vKrge75dStbqxxXan50bS2IDsNVA3V0chGd1YY87e_4hyGk4EhI0vY9h9YC2MY-AOFz9NmIcnaR072u38CX3Vy5fz3zT7n3sz7KWvyVE8jl_gjQ" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="297" data-original-width="697" height="272" src="https://blogger.googleusercontent.com/img/a/AVvXsEhmAAxDMzkcgwBQXRefiS5Nwa5Qabj3xexBiFbMCb7cSJ_4O9TPIh80IJTLE3OD5TEPdGJO9Wfnmw-vKrge75dStbqxxXan50bS2IDsNVA3V0chGd1YY87e_4hyGk4EhI0vY9h9YC2MY-AOFz9NmIcnaR072u38CX3Vy5fz3zT7n3sz7KWvyVE8jl_gjQ=w640-h272" width="640" /></a></div><br /><br /></div><div><br /></div><h3 style="text-align: left;">End notes</h3><div><br /></div><div>In getting ancient "Byte Benches" to run, I found a few obstacles and retreaded some old territory. In reviewing the test conditions, I realized only the Linux variants on the Pi4 were modifying the CPU clock dynamically. NetBSD had the clock set to 1500 MHz, and FreeBSD 600 MHz.</div><div><br /></div><div>Also wondering which tests used all 4 cores, given the evolved benchmarks that run 4 parallel tests when 4 cores are detected.</div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEibdnUktDpnWAPFzFicQXnOObXbl5cP22E-MLASEP96IzTHL79f1C0kZn_xgkUbVcF1wwZgTKoolmPA920SMicc2x0j1eWkulIoxVbO8XvzSTMhS6i3yfLc1EUa_DujDFQp8QzonGBg3RttdhzGPo-N28GYiiWuisZlLC02gKen4zZgdWpknFtwLDo1uw" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="358" data-original-width="612" height="374" src="https://blogger.googleusercontent.com/img/a/AVvXsEibdnUktDpnWAPFzFicQXnOObXbl5cP22E-MLASEP96IzTHL79f1C0kZn_xgkUbVcF1wwZgTKoolmPA920SMicc2x0j1eWkulIoxVbO8XvzSTMhS6i3yfLc1EUa_DujDFQp8QzonGBg3RttdhzGPo-N28GYiiWuisZlLC02gKen4zZgdWpknFtwLDo1uw=w640-h374" width="640" /></a></div><br /><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEi_t8rWoOrNGcvNnVD4-njUyNE1EckNmFayXMY1esru1n8lqBahdYvfl9hJ5Hs9iMgVjVpR-a6TGunXOUIQtDZ5zuhprESMfX3xo417VQXEVypB5ltmy5o8LrE2AoUiOrf5bSYi5YZsAG719CEud3u1rYS-3453hfic32JPw5YLzZHaMrB3h4qbWcBEZQ" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="371" data-original-width="628" height="378" src="https://blogger.googleusercontent.com/img/a/AVvXsEi_t8rWoOrNGcvNnVD4-njUyNE1EckNmFayXMY1esru1n8lqBahdYvfl9hJ5Hs9iMgVjVpR-a6TGunXOUIQtDZ5zuhprESMfX3xo417VQXEVypB5ltmy5o8LrE2AoUiOrf5bSYi5YZsAG719CEud3u1rYS-3453hfic32JPw5YLzZHaMrB3h4qbWcBEZQ=w640-h378" width="640" /></a></div><br /><br /></div><div><br /></div><div>Found the kernel control for CPU clock throttling on FreeBSD with <i>powerd</i>, while NetBSD has a package called <i>estd</i>. I have both running, though the FB activity seems to be a see-saw from high to low, while the NB box just keeps running at top speed. In future tests I will add more load and also watch the CPU temperatures (only the Raspbian box has no fan right now).<br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjhHyQesk_Chn3nibEvCDY8wX6hr6jkB9Cwr39VZDZ3JYCcuXOvkAiszKbRvK4JICuAnZOSpUhWVRkSl9UEwqhpyBni-0vCKjf6KNmBqmiUzmS9w1QRgRwgdxAmso2JlEtNVhdutBTFZ7NUFGAjV4_fYa_-VcVkdnVKtmfbzIwk4aoMlzcAmfMQa-lgEw" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="396" data-original-width="1346" height="188" src="https://blogger.googleusercontent.com/img/a/AVvXsEjhHyQesk_Chn3nibEvCDY8wX6hr6jkB9Cwr39VZDZ3JYCcuXOvkAiszKbRvK4JICuAnZOSpUhWVRkSl9UEwqhpyBni-0vCKjf6KNmBqmiUzmS9w1QRgRwgdxAmso2JlEtNVhdutBTFZ7NUFGAjV4_fYa_-VcVkdnVKtmfbzIwk4aoMlzcAmfMQa-lgEw=w640-h188" width="640" /></a></div><br /></div><div>I opened problem reports for kernel crashes and the entropy hangs. The other issue, if I can document it, is the audio faults after a period of time. It's great to have music work out the headphone jack, as well as HDMI, as earlier builds of non-Raspberry OS had issues.</div><div><br /></div></div><div>AMD64 - future path to upgrade will either be a live USB or a CD-ROM. Probably I'll test with the latter first since the i386 image outgrew ye olde 640MB disk size.</div><div><br /></div><div><br /></div><div><br /></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-68809174794129435392023-01-21T19:44:00.001-05:002023-12-04T15:30:50.778-05:00Another Zabbix chapter: software upgrade, hardware downgrade.<p>I started using Zabbix about a year ago, trying to get it running on the Raspberry Pi "platform." I wanted to deploy a different OS than the standard Raspbian, and went through tests on NetBSD, FreeBSD, and another Linux flavor before settling on FreeBSD and Zabbix 5.4.</p><p><a href="https://jspath55.blogspot.com/2022/02/building-out-intra-home-data-aggregator.html">Building out an intra-home data aggregator</a></p><div>After running that system for some time, I decided a second system would be nice, for redundancy and for some development in parallel. I built the most recent version that I could find on the NetBSD package source, ending up with Zabbix 4 on a Pi 4 and 5.0 on an i386 (not really Pi). Minor version differences such as XML file content for templates and hosts were small enough to ignore or workaround.</div><div><br /></div><div><div><a href="https://jspath55.blogspot.com/2022/06/zabbix-server-build-trial-and-error.html">Zabbix server build trial-and-error</a></div></div><div><br /></div><div>Then I found an available Raspberry Pi 3A, causing a domino effect where I ended up putting FreeBSD 13.1 on a Pi 3B (the working 5.2 is on a Pi 4).</div><div><br /></div><h3 style="text-align: left;">OS, database, application deploy</h3><div><br /></div><div><ul style="text-align: left;"><li>FreeBSD 13.1 ELF 64-bit LSB executable, ARM aarch64</li><li>Postgres 14.5 (I missed 15.x by 1 or 2 dependent patch levels)</li><li>Zabbix 6.2.6</li></ul></div><div><br /></div><div>The first thing I tried, even though it hasn't worked in the past, was to use only FreeBSD packages, not compile anything. I was hoping for PostgreSQL support on the Zabbix server rather than MySQL as I can do either but prefer the former (for reasons).</div><div><br /></div><div><div><span style="font-family: courier;">pkg install zabbix62-frontend-php81</span></div><div><span style="font-family: courier;">pkg install mod_php81</span></div></div><div><br /></div><div>When I started, indications were Zabbix 6.2.3 was the packaged version, which supported PostgreSQL server 14 but not 15. So I deployed version 14. As it turned out, I needed to compile a newer version which should work with 15. I didn't feel like dropping and reloading the data yet; maybe a later upgrade will be feasible.</div><div>
<br /></div><div><div>Traces from /var/log/messages of my package journey:</div></div><div><br />
<table border="1">
<tbody><tr><th>Date</th><th>Time</th><th>Package information</th></tr>
<tr><td>May 12</td><td>11:01:06</td><td>zabbix5-agent-5.0.28 installed</td></tr>
<tr><td>May 12</td><td>15:19:38</td><td>zabbix62-frontend-php81-6.2.3 installed</td></tr>
<tr><td>May 12</td><td>14:55:37</td><td>zabbix62-server-6.2.3 installed</td></tr>
<tr><td>May 12</td><td>15:49:31</td><td>zabbix62-frontend-php81-6.2.3 deinstalled</td></tr>
<tr><td>May 12</td><td>15:50:41</td><td>php82-pgsql-8.2.0.r2 installed</td></tr>
<tr><td>May 12</td><td>15:52:34</td><td>mod_php82-8.2.0.r2_1 installed</td></tr>
<tr><td>Jan 10</td><td>16:12:16</td><td>php82-pgsql-8.2.0.r2 deinstalled</td></tr>
<tr><td>Jan 10</td><td>03:29:27</td><td>zabbix62-frontend-php81-6.2.3 installed</td></tr>
<tr><td>Jan 10</td><td>03:48:51</td><td>mod_php82-8.2.0.r2_1 deinstalled</td></tr>
<tr><td>Jan 10</td><td>03:49:25</td><td>mod_php81-8.1.12 installed</td></tr>
<tr><td>Jan 10</td><td>18:48:59</td><td>zabbix62-server-6.2.3 deinstalled</td></tr>
<tr><td>Jan 10</td><td>18:49:39</td><td>zabbix62-server-6.2.6 installed</td></tr>
<tr><td>Jan 10</td><td>19:19:52</td><td>zabbix62-frontend-php81-6.2.6 installed</td></tr>
<tr><td>Jan 10</td><td>20:20:05</td><td>php81-pgsql-8.1.14 installed</td></tr>
</tbody></table>
</div><div><br /></div><div><br /></div><div>The date flip occurred once I noticed the <i>ntp </i>daemon was not running so the system date was from the image build time. Besides Zabbix server not supporting PGSQL as packaged, the PHP version needed to be adjusted to match the workable Zabbix and database parts. Hence the PHP 8.2 install then deinstall, for the httpd "mod" as well as the PHP<>PGSQL shim.</div><div><br /></div><div>Too bad about the downgrade from PHP 8.2 to 8.1. On the plus side, earlier Zabbix servers were incompatible with PHP 8, and any system where PHP 7 was unavailable meant Zabbix was blocked.</div><div><br /></div><div>Screen shot of the critical database choice moment: </div><div><br /></div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgDEoLQu8zGfiLWrdsXu5YCgJoDqIo3zgeAcHvDIEpF6L-gfhL2Ce5Kozglp8AJH4TuBrlA_iZPdzgE54CwimZwobJ0cUffdm3U038qSd0lCHhuTgln-5zsEcy8DwPfeGzXM1R6dKr1ahqTR4Hi4XvvXo02Dosy-C-sN6499KTKoXjAJRnzfHWF8jBgwQ" style="margin-left: 1em; margin-right: 1em;"><img alt="Screenshot of Zabbix install, with PostgreSQL highlighted. Other databases not highlighted." data-original-height="600" data-original-width="969" height="396" src="https://blogger.googleusercontent.com/img/a/AVvXsEgDEoLQu8zGfiLWrdsXu5YCgJoDqIo3zgeAcHvDIEpF6L-gfhL2Ce5Kozglp8AJH4TuBrlA_iZPdzgE54CwimZwobJ0cUffdm3U038qSd0lCHhuTgln-5zsEcy8DwPfeGzXM1R6dKr1ahqTR4Hi4XvvXo02Dosy-C-sN6499KTKoXjAJRnzfHWF8jBgwQ=w640-h396" title="FreeBSD Zabbix Server Install menu" width="640" /></a></div><br /><br /></div><h4 style="text-align: left;">Voila (I particularly like the new built-in map feature)</h4><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEh1_xFOPTExSb3AGYooWs81rpBdB-_hMgpqb7ZYKJ9ayvFoY_hA1TpF7CsiwZu2QufLVUxkmlIBVTdqrOY6CcBja70bTcUuWaYRc7lSQGabaekLSvFqVR50UGt1DG-3yyInzb6vVVOC-jyaj9Xc7LHZIFSdV5KSdfDprbRvbozvVvCho2reDRQZzW7j2w" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="" data-original-height="978" data-original-width="1697" height="368" src="https://blogger.googleusercontent.com/img/a/AVvXsEh1_xFOPTExSb3AGYooWs81rpBdB-_hMgpqb7ZYKJ9ayvFoY_hA1TpF7CsiwZu2QufLVUxkmlIBVTdqrOY6CcBja70bTcUuWaYRc7lSQGabaekLSvFqVR50UGt1DG-3yyInzb6vVVOC-jyaj9Xc7LHZIFSdV5KSdfDprbRvbozvVvCho2reDRQZzW7j2w=w640-h368" width="640" /></a></div><br /><br /></div><h3 style="text-align: left;">TRAIL HEAD</h3><div>Out of the box, I already had a local agent (v5) running on the server, but it did not connect cleanly to the server. Minor adjustments and then the "Zabbix server values per second" went from under 1 to around 10, which is what I've seen in a home grid with roughly a dozen nodes.</div><div><br /></div><div>The primary imports from running Zabbix systems included templates and hosts, in the required dependency order. I'd already set up shared folders with prior configuration migrations among other systems, making this exercise more familiar thus quicker.</div><div><br /></div><div>Probably an opportunity for some refactoring.</div><div><br /></div><div>The Zabbix server emitted messages warning about poller usage, indicating tuning needed on process counts in the zabbix_server.conf file.</div><div><br /></div><div><div><span style="font-family: courier;">> # Wed Jan 11 13:00:29 UTC 2023</span></div><div><span style="font-family: courier;">> # 1:</span></div><div><span style="font-family: courier;">> # StartPollers=10</span></div><div><span style="font-family: courier;">> # 2:</span></div><div><span style="font-family: courier;">> StartPollers=20</span></div><div><span style="font-family: courier;">236a244,245</span></div><div><span style="font-family: courier;">> # Wed Jan 11 13:00:55 UTC 2023</span></div><div><span style="font-family: courier;">> StartPollersUnreachable=2</span></div></div><div><br /></div><div>I bumped StartPollers first to 10, and then to 20, which at least made the messages stop.</div><div><br /></div><h4 style="text-align: left;">ISSUES</h4><div><i>pi slices</i></div><div><br /></div><div>The message "mmcblk0: Disk read/write request responses are too high" is back. I found that on earlier installs as a result of running on SD cards rather than spinning disk or SSD. Funny enough, when I looked for the fix, I found my earlier post with the suggestion of where these macros are found.</div><div> </div><div><div>A "CPU is throttling" message is also back on the Pi 3 (no fan); not yet on a Pi 4 (has fan). I researched this error message and believe it is misleading. The code "<span style="background-color: white; color: #1f2c33; font-family: "Courier New", Courier, monospace; font-size: 12px; white-space: pre-wrap;">0x80000" </span>from what I've read means the CPU had been throttled but is not now. I think I have 3 choices: (1) ignore this error; (2) correct the code; (3) add a fan to the Pi.</div></div><div><br /></div>
<div><i>Red light/green light. Or grey light/green light.</i></div><div><br /></div><br /><table border="0">
<tbody>
<tr><td><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhLJuEkp9grsjz9d11nVsutnCxFRA-a5S7BDkAKH7djqqjKJCl7K0LtKCGXRjyOI1eynXNPE6klTJ-lVtAQCcxUY7Nk0SvUH7Kb3nMsNPy6-phJuF3NWRT14eXaZXSogpR6XCCPAY2a5GFCXu5UcywS9zUUCTXiRCbjrQTqapFKnjmgiMPIHuohelzvFw" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="" data-original-height="715" data-original-width="1598" height="286" src="https://blogger.googleusercontent.com/img/a/AVvXsEhLJuEkp9grsjz9d11nVsutnCxFRA-a5S7BDkAKH7djqqjKJCl7K0LtKCGXRjyOI1eynXNPE6klTJ-lVtAQCcxUY7Nk0SvUH7Kb3nMsNPy6-phJuF3NWRT14eXaZXSogpR6XCCPAY2a5GFCXu5UcywS9zUUCTXiRCbjrQTqapFKnjmgiMPIHuohelzvFw=w640-h286" width="640" /></a></div><br /></td></tr>
<tr><td><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgi8mHqZkIed7rKma6wUGR3PMaIgkfaKh-cqeoq5fqwpcTS9UfZX6YA93o3bkvj7K6hx4uuxCz_MPGIHNvy_-idnUa4Bx6l-lOiEOGIbCjbHAEL_-Uhl166h301vkBTD763nN4FSsGcsXqgTB0Fw34MAmGKgAFxgU50bAzoEKBqzPcYacJ9RjCv01G_yg" style="margin-left: auto; margin-right: auto;"><img alt="middle" data-original-height="754" data-original-width="1600" height="302" src="https://blogger.googleusercontent.com/img/a/AVvXsEgi8mHqZkIed7rKma6wUGR3PMaIgkfaKh-cqeoq5fqwpcTS9UfZX6YA93o3bkvj7K6hx4uuxCz_MPGIHNvy_-idnUa4Bx6l-lOiEOGIbCjbHAEL_-Uhl166h301vkBTD763nN4FSsGcsXqgTB0Fw34MAmGKgAFxgU50bAzoEKBqzPcYacJ9RjCv01G_yg=w640-h302" width="640" /></a></td></tr>
<tr><td><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEh2kR5UMYqHfmSEM6IL3rS8pXS-p9E_FtdpHRToczLdKFvbwOqI4vSLIK0VZGTfWP9ZjVbEz3X0tKh5nZZYo8L9hVu3iZA3tPHnKBGnaFo7NFTFOmSordPDBXfz983rPzi1ivCaVQTF-pRqm9REowgX1gZ1fRzNJUrowskHxfyMwxKzqQQXeKCqDDvlfw" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="" data-original-height="754" data-original-width="1597" height="302" src="https://blogger.googleusercontent.com/img/a/AVvXsEh2kR5UMYqHfmSEM6IL3rS8pXS-p9E_FtdpHRToczLdKFvbwOqI4vSLIK0VZGTfWP9ZjVbEz3X0tKh5nZZYo8L9hVu3iZA3tPHnKBGnaFo7NFTFOmSordPDBXfz983rPzi1ivCaVQTF-pRqm9REowgX1gZ1fRzNJUrowskHxfyMwxKzqQQXeKCqDDvlfw=w640-h302" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">Above, a 3 piece snapshot of the Zabbix dashboard after loading a dozen or so nodes. A primary devolution is that host connections do not show as green except where there are no active checks. In that case, the "ZBX" icon is grey; hovering over it produces a pop-up with <b>two</b> status boxes. Active checks shows status "Unknown" and the host check shows "Available". Which is less helpful than earlier versions that simply showed green or red for connected or not.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">The funny part here is that highlight the 3 letters triggered goog to display completely unrelated search results on screen.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><i>One dollar gets you two dollars.</i></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">"Error $2 on $1"</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Known error, "The $1, $2 macros were deprecated,"</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><a href="https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/451883-zabbix-version-6-lts-after-upgrade-some-variables-are-not-replaced">https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/451883-zabbix-version-6-lts-after-upgrade-some-variables-are-not-replaced</a></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><i>Slower hardware (the downgrade)</i></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">"slow query"</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both;"><span style="font-family: courier;">36582:20230120:032637.691 </span></div><div class="separator" style="clear: both;"><span style="font-family: courier;">slow query: 3.138252 sec, </span></div><div class="separator" style="clear: both;"><span style="font-family: courier;">"delete from history where itemid=10073 and clock<1673580394"</span></div><div><br /></div><div>The first working Zabbix server I set up that stayed running was on FreeBSD using a Raspberry Pi 4 with 4GB RAM. This build is on a Pi 3B with 1GB. The former runs of an SSD while the latter has a micro-SD and a USB-3 for the database files. The 3 only has USB-2 speed.</div><div>My user experience is that the new platform feels slower but not maddeningly. If I can avoid adding a plugin interface and drive that would be preferable for look and feel.</div><div><br /></div></div>
<h3>MORE TO DO</h3>
<h4>dashboards</h4>Would like to do more with the supplied features like dashboards, and new features to be discovered. This view of "room light" shows we're in winter with the short days. A health aide to avoid seasonal disorders perhaps?<br /><br /><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiLnSDhERALXPSX12odUGbgcghD6_sPHNh9404WI58Nut-HHa1HSffOEd2ytoCKLEtYu5OAAZiXGktXFeg3I_lTx6cjD_R_OOoi6uJe3ZTyg9UdkTTHmttYhaogHCNILf95iIiSGRkUJbbDN_hiGyyWcTup16nfZP478Fpy43QSGR5GOTWEaevryQ0ycA" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="" data-original-height="459" data-original-width="560" height="524" src="https://blogger.googleusercontent.com/img/a/AVvXsEiLnSDhERALXPSX12odUGbgcghD6_sPHNh9404WI58Nut-HHa1HSffOEd2ytoCKLEtYu5OAAZiXGktXFeg3I_lTx6cjD_R_OOoi6uJe3ZTyg9UdkTTHmttYhaogHCNILf95iIiSGRkUJbbDN_hiGyyWcTup16nfZP478Fpy43QSGR5GOTWEaevryQ0ycA=w640-h524" width="640" /></a></div><br /><br /></div><h4><br /></h4><h4><br /></h4><h4><br /></h4><div><br /></div>
<h4>history data moves</h4>
<div><br /></div><div>
I've cobbled a Perl script to read from one Zabbix server and insert trending for one item into a second server, using a control table of "from" and "to" record IDs. Not bullet-proof but efficient enough even with row level commits to be a breeze. </div><div><br /></div><div><br /></div><h4>benchmark - Two Pi Zeros running NetBSD 10 beta:</h4><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgKAdVpP7nxsnVJc4BK1HXreJcuRWHNFnF3vZC2Il5uhP0gb_LWuVTuDrKtdPFak-jo7fBYCJw6JAw71vkOR9fa5kezCvJ7Paim30n6DGuSYeduNfKVu5CFPCuLouNc7o5PXzi7a15xLJvn0YOMMyC3BTR70R1z-xGa2WeaaFeXrDwlZsW4Mfw6dvz71w" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="" data-original-height="957" data-original-width="2161" height="284" src="https://blogger.googleusercontent.com/img/a/AVvXsEgKAdVpP7nxsnVJc4BK1HXreJcuRWHNFnF3vZC2Il5uhP0gb_LWuVTuDrKtdPFak-jo7fBYCJw6JAw71vkOR9fa5kezCvJ7Paim30n6DGuSYeduNfKVu5CFPCuLouNc7o5PXzi7a15xLJvn0YOMMyC3BTR70R1z-xGa2WeaaFeXrDwlZsW4Mfw6dvz71w=w640-h284" width="640" /></a></div><br /><br /></div><div class="separator" style="clear: both; text-align: left;">There is one visible gap on the node with the troublesome USB to ethernet connectors.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiOx3E8k8P5z1u--npLb0xKLhQtFdyihmdYKd_rE35HoZPZyZL2hJyyC8NLmcVy2a3h37VoA5YS2SshxW6coe7wJXVKZDcn-ObgG9K-l1UdIF7Fj41rwkec2461S3jEed2PHnP-E7CBewf_bR0D9C-2cBkodrP4BF1yWWmjEKTv6ichBCckgd-q5C8JhQ" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="" data-original-height="844" data-original-width="2190" height="246" src="https://blogger.googleusercontent.com/img/a/AVvXsEiOx3E8k8P5z1u--npLb0xKLhQtFdyihmdYKd_rE35HoZPZyZL2hJyyC8NLmcVy2a3h37VoA5YS2SshxW6coe7wJXVKZDcn-ObgG9K-l1UdIF7Fj41rwkec2461S3jEed2PHnP-E7CBewf_bR0D9C-2cBkodrP4BF1yWWmjEKTv6ichBCckgd-q5C8JhQ=w640-h246" width="640" /></a></div><br /><br /></div><div class="separator" style="clear: both; text-align: left;">The spike is from an install; working on setting up parallel benchmark tests on these for comparisons.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">The bad ethernet behavior is noticeable as gaps in the red line...</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div></td></tr>
</tbody></table>
jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-87620223154458106792022-12-09T09:39:00.000-05:002022-12-09T09:39:11.434-05:00Bengies Top 10 2022<h2 style="text-align: left;"> Bengies Top 10 2022</h2><p>As in past years, I take a look at movies I've watched at the Bengies Drive-In near Baltimore. The theatre is a relic of the post-WW2 U.S. boom years, where cars and movies could live as one. The only drive-in left in Maryland, claiming to be the largest screen in the U.S.A, it can be a welcome escape from the small tube world to sit under the stars looking at the wide screen.</p><p>2021 ratings: (the longest season ever)</p><p></p><ol style="text-align: left;"><li><a href="https://jspath55.blogspot.com/2021/12/2021-longest-bengies-season-ever-part-1.html">https://jspath55.blogspot.com/2021/12/2021-longest-bengies-season-ever-part-1.html</a></li><li><a href="https://jspath55.blogspot.com/2021/12/2021-longest-bengies-season-ever-part-2.html">https://jspath55.blogspot.com/2021/12/2021-longest-bengies-season-ever-part-2.html</a></li></ol><p></p><p>Each pick is one that I saw in person, though in some cases we didn't stay for the whole show/</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIhMHS6aAt-D9hze7xkaG2TkAXlWso5Xabpv-otZmidUmM5Atk88QoZTaQ4CPA3MdbI1nyCCRmr9uUv9iY2xbfSfTV9edNaANQAP4mf3mIpUGchbn7-6k0HvmR3zcZ7IVBzJNqBZlzx0SO65EhmChS8sdzD2JHXPyTet9f7oRyzvllCW5SXRHQIMOKUA/s1600/0228221607a.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="Marquee with 2 Batmen" border="0" data-original-height="900" data-original-width="1600" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIhMHS6aAt-D9hze7xkaG2TkAXlWso5Xabpv-otZmidUmM5Atk88QoZTaQ4CPA3MdbI1nyCCRmr9uUv9iY2xbfSfTV9edNaANQAP4mf3mIpUGchbn7-6k0HvmR3zcZ7IVBzJNqBZlzx0SO65EhmChS8sdzD2JHXPyTet9f7oRyzvllCW5SXRHQIMOKUA/w400-h225/0228221607a.jpg" title="February 28, 2022" width="400" /></a></div><br /><h4 style="text-align: left;">March opening.</h4><div>The marquee picture for 2 completely different Batman movies was taken in last February 2022. I commented at the time that we had only been unable to attend the drive-in in about 2 months, since they operated through December 2021.</div><div>I consider the Lego Batman movie as not qualified for the "best of 2022" because it was also the season opener in 2017. (I didn't see it then, apparently, per my <a href="https://jspath55.blogspot.com/2017/12/2017-bengies-best-10-of-and-others-less.html">best of 2017</a>).</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWy7q8ENdYjf4uLKkLvVOEmq03k9izS9CrhLDikUEO7hmzzaS6U6lLq9hImHqQYyw0yp7B70FLB3db-Y4YOa3w3QQGrl4Gz4puoohoxCv9f71S0yAolR4OHAT0O-eckcndDPboqYOzFPM-it91LcPOlsIkDzz1jN-AqB4W0-mOY10wLy3fNeoOcL1pqA/s1600/0517221350_HDRa.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="Marquee" border="0" data-original-height="900" data-original-width="1600" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWy7q8ENdYjf4uLKkLvVOEmq03k9izS9CrhLDikUEO7hmzzaS6U6lLq9hImHqQYyw0yp7B70FLB3db-Y4YOa3w3QQGrl4Gz4puoohoxCv9f71S0yAolR4OHAT0O-eckcndDPboqYOzFPM-it91LcPOlsIkDzz1jN-AqB4W0-mOY10wLy3fNeoOcL1pqA/w400-h225/0517221350_HDRa.jpg" title="Dr. Strange" width="400" /></a></div><br /><h4 style="text-align: left;">May</h4><div>This marquee shot is misleading since we didn't get to the shows that weekend. I'm only including it because we saw both of the posted shows, just not on the same evening. I kind of liked the shot with the clouds. Doctor Strange was another escapist saga where the few seconds during or at the end of the credits was a memorable as any other segment in the production.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjszWL-KQ9Pp_01XjyNCFYVnHV1dEQgC5AUDlvc13VpCxHB4kYLaV3_XxziBPK35QI-ednoOBWEzllQleaLceiQJGju-2QGixMoxET4olhNWio6PQecD4tIZu_gHC0KJrwdbsG0zjPEvsETG06MGefTU8b5Nfe0JJXzzTZyBC27wEGoFJhk0djKqMRVug/s1600/0601221111a.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="all at once" border="0" data-original-height="900" data-original-width="1600" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjszWL-KQ9Pp_01XjyNCFYVnHV1dEQgC5AUDlvc13VpCxHB4kYLaV3_XxziBPK35QI-ednoOBWEzllQleaLceiQJGju-2QGixMoxET4olhNWio6PQecD4tIZu_gHC0KJrwdbsG0zjPEvsETG06MGefTU8b5Nfe0JJXzzTZyBC27wEGoFJhk0djKqMRVug/w400-h225/0601221111a.jpg" title="Everything" width="400" /></a></div><h4 style="text-align: left;">June</h4><div class="separator" style="clear: both; text-align: center;"><span style="text-align: left;">The epic "Everything Everywhere All At Once" almost got by us because we had other plans when it was showing, and then went off the bill. But it came back and I sat through Top Gun to then thoroughly enjoy the bizarrely surrealism of this unique creation. We had to rent it on DVD and watch a few scenes several times each in order to make a bit more sense. Of course, I rate this the top film of the year.</span></div><div class="separator" style="clear: both; text-align: center;"><span style="text-align: left;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><span style="text-align: left;">I had to ask Sean of the Bengies staff what was happening with the flipping from wide-screen to ultra-wide screen in different shots of Everything Everywhere; he said that was not a mistake but part of the edit. I guess I need to watch it one more time to try to see if the wide part is real, or fantasy. They got me!</span></div><div class="separator" style="clear: both; text-align: center;"><span style="text-align: left;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><span style="text-align: left;">I didn't get a shot of the marquee advertising a new documentary about the drive-in movie industry (</span>"GOING ATTRACTIONS: BACK TO THE DRIVE-IN"<span style="text-align: left;">) though we we fortunate to be able to catch it an a preview. The upswing in outdoor movie attendance triggered by the pandemic allowed a few houses to continue operating, and a few people tried to jump start older or brand new locations. While an uplifting story, the financial realities may poke holes in a few plans. I didn't add this documentary into my "top 10" list as it's more a one-off.</span></div><div class="separator" style="clear: both; text-align: center;"><span style="text-align: left;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOkmwoKbh-jD6wf_4-_6Ffgb7QdJ9-hu8gJBDSui6DapR_kWcW1p3w0ZY6AieqU1mM1nPSSAKWKXnqgBS_I87wRGze0--2e7V39ZnKjCF4uBM_p0y1WSzvYzCTK0Y_qEwYgVHj-pRQsuPtlLmoffN0hoGiAPcN3O1RvwrDbMWMlk2VbrOF3hgAT7lfww/s1600/0726221101a_HDRa.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOkmwoKbh-jD6wf_4-_6Ffgb7QdJ9-hu8gJBDSui6DapR_kWcW1p3w0ZY6AieqU1mM1nPSSAKWKXnqgBS_I87wRGze0--2e7V39ZnKjCF4uBM_p0y1WSzvYzCTK0Y_qEwYgVHj-pRQsuPtlLmoffN0hoGiAPcN3O1RvwrDbMWMlk2VbrOF3hgAT7lfww/w360-h640/0726221101a_HDRa.jpg" width="360" /></a></div><br /><div><h4 style="text-align: left;">July</h4><div>Summer blockbuster season does not appear to have gone away due to the pandemic even if many schedules changed drastically. I noted about this marquee how many of the shows are sequels. Hint: 100%.</div><div>Thor rocked.</div><div>We didn't see the dinosaurs and didn't miss them though we did miss Minions.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR90mXn7ADXoPROz6WYGcw1uooIG0fcwXJg7A10cF37f6jgUTJCnuMQWvbsAAFmTWRz9r74fWzecYPgJfHa3Inu-CEzLBxd2axR9pdCMYyYftG9fiUXrSA-_CtSX7DmVCfEAcCPqyE0aIullbaKayvsbfdGY_TnZc8azJjv56fYfO8gwnk87kAcbcLXA/s1600/0906222129a.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR90mXn7ADXoPROz6WYGcw1uooIG0fcwXJg7A10cF37f6jgUTJCnuMQWvbsAAFmTWRz9r74fWzecYPgJfHa3Inu-CEzLBxd2axR9pdCMYyYftG9fiUXrSA-_CtSX7DmVCfEAcCPqyE0aIullbaKayvsbfdGY_TnZc8azJjv56fYfO8gwnk87kAcbcLXA/w360-h640/0906222129a.jpg" width="360" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjZumexXVBBJlQX4PMd6l7llTMRAjonvXHdNjKjVbyLMJ-9cdA3FrZVe9JDVENYf8twdT3-MhfUaFrj5rm6qUOKai8FLKl8wtpFYxLY6ma88-ox-92JAMN5Tf5HfIEyzBC5ajHqKHmP6DTMfGQg6UnlC7PFUK5G8XGtWQXdncbSqASiX00CFaDys575A/s1600/0910221849a.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjZumexXVBBJlQX4PMd6l7llTMRAjonvXHdNjKjVbyLMJ-9cdA3FrZVe9JDVENYf8twdT3-MhfUaFrj5rm6qUOKai8FLKl8wtpFYxLY6ma88-ox-92JAMN5Tf5HfIEyzBC5ajHqKHmP6DTMfGQg6UnlC7PFUK5G8XGtWQXdncbSqASiX00CFaDys575A/w400-h225/0910221849a.jpg" width="400" /></a></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjXm7gHjEpypbwAy0rC2sC8uGBiFpOPrUsGMS5awMu1d2gzDC3dk8RQVvq4MG5GGjoABpIwBoDDT2JejZCsY-Sw5Yv-seekPBtAlNrqL6LNbaO5YxEcWBobMN9C_nvnWR0BCd3CGUrruOoT78j6VDXJa3uv9ifXHXiLk1x0M9fQNI6-zJyMqsaUEuHMg/s1600/0922221117a.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjXm7gHjEpypbwAy0rC2sC8uGBiFpOPrUsGMS5awMu1d2gzDC3dk8RQVvq4MG5GGjoABpIwBoDDT2JejZCsY-Sw5Yv-seekPBtAlNrqL6LNbaO5YxEcWBobMN9C_nvnWR0BCd3CGUrruOoT78j6VDXJa3uv9ifXHXiLk1x0M9fQNI6-zJyMqsaUEuHMg/w225-h400/0922221117a.jpg" width="225" /></a></div><br /><div><br /></div><h4 style="text-align: left;">September</h4></div><div>Fortunately again this season the Bengies hosted the Scouts for a one-night camp-in. A double feature of kid-friendly picks, and good weather for once. One of my favorite events even if exhausting.</div><div>My remark a the time was I could not recall seeing a double feature that contained both D.C. and Marvel Comic franchises. Well done, teams.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ4BOidyGaY90NYcyvW_4-dXBrZB9OPGNFYAanCm5g_V7hy8009_ALGqnnGsarwpS6Uz_CTDssCclWd8WfL-BnMWMJf6xFOD53ZsxwZDOvgwZ47BPltdyd9iMiXs75yYRt9qX8JVYZQCh0pmhSUjhO9VFAtbvKLwVbCf3UC6SBAF3yP7OSBEWDdhGsiA/s1600/1108221957a2.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ4BOidyGaY90NYcyvW_4-dXBrZB9OPGNFYAanCm5g_V7hy8009_ALGqnnGsarwpS6Uz_CTDssCclWd8WfL-BnMWMJf6xFOD53ZsxwZDOvgwZ47BPltdyd9iMiXs75yYRt9qX8JVYZQCh0pmhSUjhO9VFAtbvKLwVbCf3UC6SBAF3yP7OSBEWDdhGsiA/w400-h225/1108221957a2.jpg" width="400" /></a></div><br /><div><br /><h4 style="text-align: left;">November</h4><div>Black Adam was refreshing.</div><div>We watched only the first reel of Till. I admit, given what we know of the story, and how times haven't changed enough, was sickening to the stomach. I can be a wincer.</div><p>I like the shot as I was able to get most of the rising moon intact if not flared.</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwr6E9MI6_voOV4cGVlwqNizuTyocPSywcohH7zLV4fPtvt1WUMqrfBNT3e-z4fqJROb7nEmyKO3h3nqy1HB4RNEl-T32EF9DbkpcFYWQie8YF4DajrWXDs_RRebjtgGjDS2D61o79Ct3iit6HFzjP3WaQuSpzC71eCswlm5QnPKpz1jdVvmsGuXxy-g/s1920/42861e5e94dc05fb.jpeg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1080" data-original-width="1920" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwr6E9MI6_voOV4cGVlwqNizuTyocPSywcohH7zLV4fPtvt1WUMqrfBNT3e-z4fqJROb7nEmyKO3h3nqy1HB4RNEl-T32EF9DbkpcFYWQie8YF4DajrWXDs_RRebjtgGjDS2D61o79Ct3iit6HFzjP3WaQuSpzC71eCswlm5QnPKpz1jdVvmsGuXxy-g/w400-h225/42861e5e94dc05fb.jpeg" width="400" /></a></div><br /><h4 style="text-align: left;">December</h4><p>Global climate change is bad; I try to prevent carbon consumption though am nowhere near 100% renewables. I sigh because it allows a drive-in to operate in these latitudes from March through December rather than the May through September of bygone times. We didn't need to rent an in-car heater and saw people with open hatches watching not through glass.</p><p><br /></p><h2 style="text-align: left;">Drum roll for the top 10.</h2><p></p><ol style="text-align: left;"><li>Everything Everywhere All At Once</li><li>Strange World</li><li>The Woman King</li><li>Black Panther Wakanda Forever</li><li>Black Adam</li><li>Thor (4)</li><li>Doctor Strange and the Multiverse of Madness</li><li>The Batman</li><li>Spider-Man No Way Home</li><li>Till</li><li>D.C. League of Super-Pets</li></ol><div><br /></div><div>Yeah, it goes to <b>11</b> this year.</div><div><br /></div><div>The "bottom 10" is pretty short this year. Top Gun takes 2 places, so jingoistic.</div><p></p></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-67478623809330718772022-10-13T09:19:00.002-04:002023-12-04T15:33:10.322-05:00Photo tracker revisited for Scout camp post Panoramio<p> When I wrote <a href="https://jspath55.blogspot.com/2010/03/scout-reservation-photo-map-tracker.html">The Scout reservation photo map tracker</a> in 2010, I was on a roll with the now-closed Panoramio site. I would take pictures, geo-locate them, and share with the world. But Google shut down panoramio.com, hiding many if not most of my contributions. You can see them sometimes with Google maps or Google Earth (pro) if you look in the right places.</p><p>Even though I did a Google "takeout" to download my archives, the formerly useful geocodes were cplit from the image, which to be honest, not all even had in the JPEG metadata.</p><p>In 2018 I made efforts to re-share my content on another site since I still had the original images as well as lower-resolution ones Google coughed up, but put the project aside after posting one picture. And that image, on closer examination, was not placed in the right spot anyway. Locations can be tricky!</p><p>I was pleasantly surprised when searching for one of my original Panoramion shots to discover that the WayBak machine of archive.org had slurped out the Panoramio site, with much useful data, prior to it going away. So in the earlier post, if I shared this image:</p><li><a href="http://www.panoramio.com/photo/25164491" style="color: #b47b10;">Camp Saffran - US Mail drop</a></li><div><br /></div>
That link will give a "Thanks for stopping by" dead page when accessed. Fortunately, http://www.panoramio.com/photo/25164491 is easily read as including a record ID # ( 25164491 ) that can be used to find the same page as it was, in the archives, like:<div><br /></div><div>https://web.archive.org/web/20161014002503/http://www.panoramio.com/photo/25164491</div><div><br /></div><div>This transforms into:</div><div><br /></div><div>https://web.archive.org/web/20161013193141/http://www.panoramio.com/photo/25164491</div><div><br /></div><div>Using whatever glue code moves the time machine pointer to the right capture time. Panoramio pages were only archived once, it seems, but as nothing changed after the site freeze the inventory should be valid.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://web.archive.org/web/20161013193141im_/http://static.panoramio.com/photos/large/25164491.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="600" data-original-width="800" height="240" src="https://web.archive.org/web/20161013193141im_/http://static.panoramio.com/photos/large/25164491.jpg" width="320" /></a></div><br /><div>And ta-da! The USPS ghost truck will be by to pickup those camp post cards home.</div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-58226404447817510562022-06-17T13:49:00.007-04:002023-12-04T15:31:11.535-05:00Zabbix server build trial and error<p>After running Zabbix in house for a few months, I thought it prudent to set up a second server as a backup in case the primary system failed, being on a Raspberry Pi 4 with an external SSD drive </p><h4 style="text-align: left;">FreeBSD</h4><p>At first I looked at pre-built packages; but found postgres unsupported. As I preferred PostgreSQL I didn't use the package manager</p><p>I built Zabbix 5.4 from source, over a few days. At that time, February 2022, FreeBSD had a port of 5.4 while NetBSD had 5.0. The build was easy enough, though would probably have taken longer if I only used an SD card.</p><p>This system has been working since February; I've added a few targets as well as bringing in outside data such as temperate at the local airport using zabbix_get with traps.</p><p>Original installation/configuration post: <a href="https://jspath55.blogspot.com/2022/02/building-out-intra-home-data-aggregator.html">jspath55.blogspot.com/2022/02/building-out-intra-home-data-aggregator.html</a></p><p>Since I've experimented with multiple different OS installs, I didn't have another FreeBSD image running, so looked at alternatives.</p><h3 style="text-align: left;">Rock64</h3><p>I got this arm64 board via mail order from China, and while I intend to put NetBSD on there, I have not located a usable image. Meanwhile, to check out the performance, I went with a Linux distro; first was old kernel (4.x), second was "almost" good enough (5.x). The HDMI is a little choppy, but at least the headphone jack worked.</p><p> For Zabbix, I again wanted a Postgres database; got that installed.</p><p><span style="font-family: courier;">rock64:/usr/share/zabbix-server-pgsql$ cat schema.sql | sudo -u zabbix psql zabbix</span></p><p><span style="font-family: courier;">CREATE TABLE</span></p><p><span style="font-family: courier;">CREATE INDEX</span></p><p><span style="font-family: courier;">CREATE TABLE</span></p><p><span style="font-family: courier;">CREATE INDEX</span></p><p><span style="font-family: courier;">CREATE INDEX</span></p><p><span style="font-family: courier;">...</span></p><p> Next, I needed Apache; got that (but config is non-classic).</p><p><br /></p><p>The only PHP package available was 8.x</p><p><span style="font-family: courier;">rock64:/usr/share$ sudo apt install libapache2-mod-php8.1</span></p><p><span style="font-family: courier;">Reading package lists... Done</span></p><p><span style="font-family: courier;">Building dependency tree... Done</span></p><p><span style="font-family: courier;">Reading state information... Done</span></p><p><span style="font-family: courier;">libapache2-mod-php8.1 is already the newest version (8.1.2-1ubuntu2).</span></p><p><br /></p><p>And the frontend web backend parts:</p><p><span style="font-family: courier;">Congratulations! You have successfully installed Zabbix frontend.</span></p><p><span style="font-family: courier;">Configuration file "/etc/zabbix/zabbix.conf.php" created.</span></p><div><br /></div><p> I got the install working up to initial screens; multiple fail messages ensued.</p><p><span style="font-family: courier;">Jun 14 18:13:35 rock64 apachectl[289859]: [Tue Jun 14 18:13:35.313693 2022] [php:crit] [pid 289859:tid 281472868511776] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.</span></p><p>The workaround for threadsafe is known, except that didn't matter in the end. I bagged this install as compiling php7 was problematic compared to using an available built package.</p><p><span style="font-family: courier;">rock64:/etc/apache2/mods-enabled$ ls -l /usr/lib/apache2/modules/libphp*</span></p><p><span style="font-family: courier;">-rw-r--r-- 1 root root 5246072 Apr 7 13:46 /usr/lib/apache2/modules/libphp8.1.so</span></p><h4 style="text-align: left;">Pi 4 Open SUSE Linux</h4><p> I tried an install on an OpenSUSE system running on a Raspberry Pi 4. When I looked at the available packages, postgres database looked good. But the only Zabbix server package was 4.x (running 5.4 now, 6.x is available)</p><p> I discarded this option as 4.x seemed a poor starting level, and I trusted pkgsrc given decades of familiarity, over yap or whatever the SUSE package manager is called.</p><p> This was as far as I went:</p><p><span style="font-family: courier;">$ sudo apt install zabbix-server-postgresql</span></p><div><span style="font-family: courier;">Retrieving: zabbix-server-4.0.39-1.5.aarch64.rpm ...[done]</span></div><h4 style="text-align: left;">Pi 4 running NetBSD</h4><p>I had already started using this install with NetBSD-current from early 2022, with built packages. I decided to build from /usr/pkgsrc if necessary, so did a CVS pull of pkgsrc from this year:</p><p><span style="font-family: courier;"># cvs checkout -r pkgsrc-2022Q1 -P pkgsrc</span></p><div>The available Zabbix server package is still 5.0 but not 5.4, went ahead anyway. Hoping 5.4 (or later) is a work in progress.</div><div><br /></div><div>The postgres database got built and configured. And I had to reinstall earlier packages that were postgres 11 but not the same patch level. :(</div><div><br /></div><div><div><span style="font-family: courier;">The program "postgres" was found by "/usr/pkg/bin/initdb" but was not the same version as initdb.</span></div></div><div><span style="font-family: courier;"><br /></span></div><div><span style="font-family: courier;"><div># pkg_delete postgresql11-server postgresql11-11.12nb1</div><div><br /></div><div>The following files should be created for postgresql11-server-11.15:</div><div><br /></div></span></div><div><br /></div><div>Tried to get ahead of myself and run the server with an empty database; that didn't work but the error message was plain enough.</div><p><span style="font-family: courier;"> 29883:20220615:154343.702 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR: relation "users" does not exist</span></p><p>The timezone error wasn't seen when I did the first install:</p><p><span style="font-family: courier;">Time zone for PHP is not set (configuration parameter "date.timezone").</span></p><div>If you notice the times are different on the graphs included at the end of this post, you make notice both a skew in time (possible timezone) but also in the 12 hour versus 24 hour clock. Now that I have both I can decide which I prefer, or if having a discrepancy keeps the base differences more noticeable.</div><div><br /></div><div>This parameter is important, particularly if you use the zabbix_send operative to load external data. If not matched to the right timezone, you end up with skewing.</div><div><br /></div><div>See <a href="https://blogs.sap.com/2022/04/08/the-abap-detective-gets-their-clock-cleaned">blogs.sap.com/2022/04/08/the-abap-detective-gets-their-clock-cleaned</a>/ for more on the timezone for Zabbis database, sever, and data feeds.</div><p>It started working after I configured Apache and PHP.</p><p>[ server log snippet ]</p><p><span style="font-family: courier;"> 7166:20220615:155355.128 server #35 started [trapper #5]</span></p><p><span style="font-family: courier;"> 2705:20220615:155355.129 server #37 started [alert syncer #1]</span></p><p><span style="font-family: courier;"> 7015:20220615:155355.299 item "Zabbix server:zabbix[vmware,buffer,pused]" became not supported: No "vmware collector" processes started.</span></p><p><span style="font-family: courier;"> 111:20220615:155401.351 Zabbix agent item "system.cpu.num" on host "Zabbix server" failed: first network error, wait for 15 seconds</span></p><p>The VMware message makes sense, but the CPU message is one of those works on Linux, maybe on FreeBSD, but not on NetBSD. No matter, as enough CPU and system metrics are being collected for my purposes. The clips below are from the 5.0 and 5.4 systems, with the former including a more readable (to me) font color change between time marks. I suppose that is out-of-the-box behavior since I didn't tweak anything customized for charts.</p><p>I started to set up dual connect agents; realized "zabbix server" was a bad name choice, now. Each agent already is configure to believe the central system has that name, so I can't have 2 of them. I'll need to come up with a naming scheme and update all of the agents. I would have to do that anyway if I wanted to keep dual sources; this just makes it more challenging.</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMI-_mu4QbAXzwQmn2mPVnHjSF9HsAi1BrE8agOdXDkvVjCIGozaUQLBYd9Fd6iVnorJS0lZNEV09GPgsV6V9Bu95v8s2Tm65Yc6ggu5EY_RewnbXdqVLkAeIaGp6PUS7wKARI0y8TghMFRlTElYNgFtOPWgAcOJUuDbFb1bYrFRA-mfstDI4dO8Yt7Q/s527/load-avg-1-50-left.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="351" data-original-width="527" height="426" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMI-_mu4QbAXzwQmn2mPVnHjSF9HsAi1BrE8agOdXDkvVjCIGozaUQLBYd9Fd6iVnorJS0lZNEV09GPgsV6V9Bu95v8s2Tm65Yc6ggu5EY_RewnbXdqVLkAeIaGp6PUS7wKARI0y8TghMFRlTElYNgFtOPWgAcOJUuDbFb1bYrFRA-mfstDI4dO8Yt7Q/w640-h426/load-avg-1-50-left.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioR8HWIH3fFS0WdDefaEo_sLK_ricuOgOETnkNLecd3qtljOv4OsWSqY3LR-RYBA8Lm2R2-2bJWAFlYQ4iwX36b1BzoZQLNKpUj0i7NZdFdVQevg2dL79LysMu9G3sjVMuuRI8X2SL7f1MZfB8iajKpeJIzpIVrw3syNXxKtNVYe5XudFdKAypMzytqQ/s610/load-avg-1-54-left.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="367" data-original-width="610" height="386" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioR8HWIH3fFS0WdDefaEo_sLK_ricuOgOETnkNLecd3qtljOv4OsWSqY3LR-RYBA8Lm2R2-2bJWAFlYQ4iwX36b1BzoZQLNKpUj0i7NZdFdVQevg2dL79LysMu9G3sjVMuuRI8X2SL7f1MZfB8iajKpeJIzpIVrw3syNXxKtNVYe5XudFdKAypMzytqQ/w640-h386/load-avg-1-54-left.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwJhkPT_mEVfaFDuQtNU7jffBzcjQQZBk4xQeskpoC_HhlaUqNYT7dQhZLt1YrfS2Xo-a3MwTtoqE9XdNK4w4LUMuz9a9Ux25WjA-L-2vrld6brLHZnovaX9UFMUw4YHPvs192M11Hytf2fJiYXItsRpGVRD794-bJ74G98Bc5SyHge89Tw9Gug2njPw/s515/system-time-50-left.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="354" data-original-width="515" height="440" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwJhkPT_mEVfaFDuQtNU7jffBzcjQQZBk4xQeskpoC_HhlaUqNYT7dQhZLt1YrfS2Xo-a3MwTtoqE9XdNK4w4LUMuz9a9Ux25WjA-L-2vrld6brLHZnovaX9UFMUw4YHPvs192M11Hytf2fJiYXItsRpGVRD794-bJ74G98Bc5SyHge89Tw9Gug2njPw/w640-h440/system-time-50-left.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSl6b1C6VQxiLWnAfnGMj90Aej7I0VxJSVUI7wsXwArcmYjQghvM1BRAz_HeBjuv0Rm98jxJeqaTP9xYrFQaSbIadH0XCCpCt7eyE2q-bmap9EE2GrIFGjZUAbuKAWOFZ_JY9WrrEAIgkxoXZOEztXtVPkatsSwep4eywo6O77g0R7oantTMx87PGBxw/s511/system-time-54-left.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="353" data-original-width="511" height="442" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSl6b1C6VQxiLWnAfnGMj90Aej7I0VxJSVUI7wsXwArcmYjQghvM1BRAz_HeBjuv0Rm98jxJeqaTP9xYrFQaSbIadH0XCCpCt7eyE2q-bmap9EE2GrIFGjZUAbuKAWOFZ_JY9WrrEAIgkxoXZOEztXtVPkatsSwep4eywo6O77g0R7oantTMx87PGBxw/w640-h442/system-time-54-left.png" width="640" /></a></div><br /><p><br /></p><p><br /></p><p> </p><p><br /></p><p><br /></p><p><br /></p><p><br /></p>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-61464354699195182852022-04-27T22:26:00.002-04:002022-04-28T07:40:10.837-04:00Raspberry Pi Zero 2 W NetBSD dmesg text<p> Raspberry Pi Zero 2 W NetBSD dmesg text</p><p>Installed following brief notes here:</p><p><a href="https://mail-index.netbsd.org/port-arm/2022/02/14/msg007592.html">https://mail-index.netbsd.org/port-arm/2022/02/14/msg007592.html</a></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwrybIqdIzbDfbjeqDP3qGBmp53p3ycEASzfExkEljOU4Nru7fFCnQ1Qss9D1joXT02YYIQPVOLOPHQdAH1DrPavXO74O7sz3ur67uIZND81txioaWLn7PK7Pr79Qd2QfU5iHsSciEG9BvX6EbbxZOtJ3P0DxSes21Kzaa5O2pYIn0Vx2geIapyJNAfA/s705/00-temp-1h.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="291" data-original-width="705" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwrybIqdIzbDfbjeqDP3qGBmp53p3ycEASzfExkEljOU4Nru7fFCnQ1Qss9D1joXT02YYIQPVOLOPHQdAH1DrPavXO74O7sz3ur67uIZND81txioaWLn7PK7Pr79Qd2QfU5iHsSciEG9BvX6EbbxZOtJ3P0DxSes21Kzaa5O2pYIn0Vx2geIapyJNAfA/w640-h264/00-temp-1h.png" width="640" /></a></div><br /><p><br /></p><p>Resulting dmesg output:</p><p><br /></p><p><span style="font-family: courier;">dmesg</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] NetBSD 9.2_STABLE (GENERIC) #0: Mon Apr 25 12:39:27 UTC 2022</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] total memory = 448 MB</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] avail memory = 433 MB</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] timecounter: Timecounters tick every 10.000 msec</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] running cgd selftest aes-xts-256 aes-xts-512 done</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] armfdt0 (root)</span></p><p><span style="font-family: courier; font-size: xx-small;"><b>[ 1.000000] simplebus0 at armfdt0: Raspberry Pi Zero 2 W Rev 1.0</b></span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] simplebus1 at simplebus0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] simplebus2 at simplebus0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] simplebus3 at simplebus1</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] cpus0 at simplebus0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] simplebus4 at simplebus0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] cpu0 at cpus0: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] cpu0: 32KB/64B 2-way L1 VIPT Instruction cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] cpu0: 512KB/64B 16-way write-through L2 PIPT Unified cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] cpu1 at cpus0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] cpu2 at cpus0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] cpu3 at cpus0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] bcmicu0 at simplebus1</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] bcmicu1 at simplebus1: Multiprocessor</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] bcmcprman0 at simplebus1: BCM283x Clock Controller</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] fclock0 at simplebus2: 19200000 Hz fixed clock (osc)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] bcmaux0 at simplebus1</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] fclock1 at simplebus2: 480000000 Hz fixed clock (otg)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] gtmr0 at simplebus0: Generic Timer</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] gtmr0: interrupting on local_intc irq 3</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] armgtmr0 at gtmr0: Generic Timer (19200 kHz, virtual)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000000] timecounter: Timecounter "armgtmr0" frequency 19200000 Hz quality 500</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] plcom0 at simplebus1: ARM PL011 UART</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] plcom0: txfifo disabled</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] plcom0: interrupting on icu irq 185</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] com0 at simplebus1: BCM AUX UART, working fifo</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] com0: console</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] com0: interrupting on icu irq 157</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] usbnopphy0 at simplebus0: USB PHY</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] /soc/thermal@7e212000 at simplebus1 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] /soc/dsi@7e209000 at simplebus1 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bcmgpio0 at simplebus1: GPIO controller</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bcmgpio0: pins 0..31 interrupting on icu irq 177</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bcmgpio0: pins 32..54 interrupting on icu irq 178</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] gpio0 at bcmgpio0: 54 pins</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] /soc/firmware/gpio at simplebus3 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bcmdmac0 at simplebus1: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 DMA8 DMA9 DMA10</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] /soc/power at simplebus1 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] mmcpwrseq0 at simplebus0autoconfiguration error: : couldn't get reset GPIOs</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bsciic0 at simplebus1: Broadcom Serial Controller</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] iic0 at bsciic0: I2C bus</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bcmpmwdog0 at simplebus1: Power management, Reset and Watchdog controller</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bcmmbox0 at simplebus1: VC mailbox</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bcmmbox0: interrupting on icu irq 193</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] vcmbox0 at bcmmbox0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bcmsdhost0 at simplebus1: SD HOST controller</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bcmsdhost0: interrupting on icu irq 184</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bsciic1 at simplebus1: Broadcom Serial Controller</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] iic1 at bsciic1: I2C bus</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] /soc/pwm@7e20c000 at simplebus1 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] sdhc0 at simplebus1: SDHC controller</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] sdhc0: interrupting on icu irq 190</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bsciic2 at simplebus1: Broadcom Serial Controller</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] iic2 at bsciic2: I2C bus</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] /soc/vec@7e806000 at simplebus1 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] /soc/hdmi@7e902000 at simplebus1 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] dwctwo0 at simplebus1: USB controller</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] dwctwo0: interrupting on icu irq 137</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] /soc/gpu at simplebus1 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] genfb0 at simplebus1: switching to framebuffer console</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] genfb0: framebuffer at 0xde402000, size 1920x1080, depth 32, stride 7680</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] wsmux1: connecting to wsdisplay0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] wsdisplay0: screen 1-3 added (default, vt100 emulation)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] vchiq0 at simplebus1: BCM2835 VCHIQ</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] armpmu0 at simplebus0: Performance Monitor Unit</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] gpioleds0 at simplebus0: ACT</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] /soc/timer@7e003000 at simplebus1 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] /soc/txp@7e004000 at simplebus1 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] bcmrng0 at simplebus1: RNG</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.000003] cpu1: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.706895] cpu1: DC enabled IC enabled WB enabled EABT branch prediction enabled</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.736896] cpu1: 32KB/64B 2-way L1 VIPT Instruction cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.776900] cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.806906] cpu1: 512KB/64B 16-way write-through L2 PIPT Unified cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.846909] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.876912] cpu2: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.916916] cpu2: DC enabled IC enabled WB enabled EABT branch prediction enabled</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.946920] cpu2: 32KB/64B 2-way L1 VIPT Instruction cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 1.986925] cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.016928] cpu2: 512KB/64B 16-way write-through L2 PIPT Unified cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.056933] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.096938] cpu3: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.126941] cpu3: DC enabled IC enabled WB enabled EABT branch prediction enabled</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.166945] cpu3: 32KB/64B 2-way L1 VIPT Instruction cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.196950] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.236954] cpu3: 512KB/64B 16-way write-through L2 PIPT Unified cache</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.276958] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.426974] sdmmc0 at bcmsdhost0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.426974] sdhc0: SDHC 3.0, rev 153, platform DMA, 200000 kHz, HS 3.3V, re-tuning mode 1, 1024 byte blocks</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.437171] sdmmc1 at sdhc0 slot 0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.437171] dwctwo0: Core Release: 2.80a (snpsid=4f54280a)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.437171] usb0 at dwctwo0: USB revision 2.0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.477042] armpmu0: interrupting on local_intc irq 9</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.487042] uhub0 at usb0: NetBSD (0000) DWC2 root hub (0000), class 9/0, rev 2.00/1.00, addr 1</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.487042] uhub0: 1 port with 1 removable, self powered</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.527046] IPsec: Initialized Security Association Processing.</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.547047] sdmmc0: direct I/O error 5, r=6 p=0xa541bf2c write</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.617057] sdmmc1: sdmmc_mem_enable failed with error 60</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.627056] sdmmc1: autoconfiguration error: couldn't enable card: 60</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.647059] sdmmc0: SD card status: 4-bit, C4</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.657189] ld0 at sdmmc0: <0x03:0x5344:SS16G:0x80:0xa5864a9d:0x115></span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.657189] ld0: 15193 MB, 7717 cyl, 64 head, 63 sec, 512 bytes/sect x 31116288 sectors</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2.697067] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.207111] WARNING: 2 errors while detecting hardware; check system log.</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.217113] boot device: ld0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.217113] root on ld0a dumps on ld0b</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.247116] root file system type: ffs</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.257117] kern.module.path=/stand/evbarm/9.2/modules</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.267117] vchiq0: interrupting on icu irq 194</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.267117] vchiq: vchiq_init_state: slot_zero = 0xa5880000, is_master = 0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.267117] vchiq: local ver 8 (min 3), remote ver 8.</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.267117] vcaudio0 at vchiq0: auds</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.267117] WARNING: no TOD clock present</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.277120] WARNING: using filesystem time</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.284972] WARNING: CHECK AND RESET THE DATE!</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.297122] audio0 at vcaudio0: playback</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.297122] audio0: slinear_le:16 -> slinear_le:16 2ch 48000Hz, blk 7680 bytes (40ms) for playback</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.307121] spkr0 at audio0: PC Speaker (synthesized)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 3.307121] wsbell at spkr0 not configured</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 5.787575] wsdisplay0: screen 4 added (default, vt100 emulation)</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 9.788463] uhub1 at uhub0 port 1: vendor 05e3 (0x5e3) USB2.0 Hub (0x608), class 9/0, rev 2.00/9.01, addr 2</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 9.798471] uhub1: single transaction translator</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 9.798471] uhub1: 4 ports with 4 removable, self powered</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 11.108627] ure0 at uhub1 port 2</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 11.118623] ure0: Realtek (0xbda) USB 10/100/1000 LAN (0x8153), rev 2.10/31.00, addr 3</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 11.128628] ure0: RTL8153 unknown ver 6010</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 11.198637] rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 11.198637] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 11.218636] ure0: Ethernet address 00:00:00:00:00:00</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.308752] uhidev0 at uhub1 port 3 configuration 1 interface 0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.308752] uhidev0: Logitech (0x46d) USB Receiver (0xc52b), rev 2.00/12.11, addr 4, iclass 3/1</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.378765] ukbd0 at uhidev0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.788796] wskbd0 at ukbd0: console keyboard, using wsdisplay0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.788796] uhidev1 at uhub1 port 3 configuration 1 interface 1</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.798925] uhidev1: Logitech (0x46d) USB Receiver (0xc52b), rev 2.00/12.11, addr 4, iclass 3/1</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.978946] uhidev1: 8 report ids</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.978946] ums0 at uhidev1 reportid 2: 16 buttons, W and Z dirs</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.978946] wsmouse0 at ums0 mux 0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.990544] uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 12.990544] uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 13.013252] uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 13.013252] uhidev2 at uhub1 port 3 configuration 1 interface 2</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 13.022501] uhidev2: Logitech (0x46d) USB Receiver (0xc52b), rev 2.00/12.11, addr 4, iclass 3/0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 13.112515] uhidev2: 33 report ids</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 13.112515] uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 13.112515] uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 13.125073] uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 13.142920] uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 13.152996] uhub0: autoconfiguration error: illegal enable change, port 1</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2146.262218] audio0(vcaudio0): setting play.port=0 failed: errno=22</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2146.262218] audio0(vcaudio0): setting play.port=0 failed: errno=22</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2391.675509] audio0(vcaudio0): setting play.port=0 failed: errno=22</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2391.685588] audio0(vcaudio0): setting play.port=0 failed: errno=22</span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2731.793669] audio0(vcaudio0): setting play.port=0 failed: errno=22</span></p><p><span style="font-family: courier; font-size: xx-small;"></span></p><p><span style="font-family: courier; font-size: xx-small;">[ 2731.793669] audio0(vcaudio0): setting play.port=0 failed: errno=22</span></p><div><br /></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-45831466109589681022022-04-21T11:03:00.002-04:002023-12-04T15:32:53.116-05:00Defenders Trail, Day Three<p> Over a decade ago, I walked most of the "Defenders Trail" around North Point, in Baltimore County. I posted 2 summaries of those hikes as "<a href="https://jspath55.blogspot.com/2011/01/defenders-trail-day-one.html">Day One</a>" and "<a href="https://jspath55.blogspot.com/2011/02/defenders-trail-day-two.html">Day Two</a>", so though there is a big jump in elapsed time, this is "Day Three".</p><p>Looking back at the images I captured and the notes I took, a bit has changed, in particular Google shut down the Panoramio web site. The images I and others uploaded, were mostly retained by Google, except the former URLs are broken and are now harder to find. For a while, I could not find any of the thousands of geo-tagged photos I contributed, but at some point, they showed up in Google Earth Pro when you select "show photo layers". Fortunately I was able to pull down my contributions and spent a little time recovering shots from the first 2 posts to make them readable again.</p><h4 style="text-align: left;">Methodist Meeting House</h4><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjioFR3zOqY1g3uO-Qo3t9L4Y8plRVoaLPjYafkl4D9GjotLvQYYGUdjtM0TAhTlb9E_vTNY11UPNMsF8CndYeJ1wlZd1tiFPqR8MXYqqAGtIYO1Fk119-9I8L3Hs0rRb4Ks514YOnlPj4JKTFLOszZEsw5cQ4DNE5NX1G1cwIBWGSGycGecEYVc-9PTA/s1422/0420221322a2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1422" data-original-width="800" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjioFR3zOqY1g3uO-Qo3t9L4Y8plRVoaLPjYafkl4D9GjotLvQYYGUdjtM0TAhTlb9E_vTNY11UPNMsF8CndYeJ1wlZd1tiFPqR8MXYqqAGtIYO1Fk119-9I8L3Hs0rRb4Ks514YOnlPj4JKTFLOszZEsw5cQ4DNE5NX1G1cwIBWGSGycGecEYVc-9PTA/w360-h640/0420221322a2.jpg" width="360" /></a></div><br /><div><br /></div><div>Nothing is left of the original building, though this substantial marker should last a few centuries, above or below the water line. There are no sidewalks or paths leading to this fenced-off area, so you'd need to park on a nearby street and wander around. </div><div><br /></div><div>Nearby is the Bread & Cheese Creek streambed, where there are high water markers for times when upstream runoff rushes into a constricted area. Needless to say, don't walk on North Point Road past the narrowing.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuMeg6im0x8fO7mLT-VgqG1u7ro3oGFCizMJ40FfB1wdoPxsanSJzbHh4MEVz0DIXu_yAg7xU4au-ID7gZEAfaTEBJ9NL_uP0gQBu5YbzUMIY0NgVUNyIoTeBQI1pOMPHLL7WBHSWd8iZrQaxg1YlmuI6x92_zaWw4hte4ntMkXKnm6VnCN_m-pP9mPg/s1024/0420221321-crop.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="480" data-original-width="1024" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuMeg6im0x8fO7mLT-VgqG1u7ro3oGFCizMJ40FfB1wdoPxsanSJzbHh4MEVz0DIXu_yAg7xU4au-ID7gZEAfaTEBJ9NL_uP0gQBu5YbzUMIY0NgVUNyIoTeBQI1pOMPHLL7WBHSWd8iZrQaxg1YlmuI6x92_zaWw4hte4ntMkXKnm6VnCN_m-pP9mPg/w640-h300/0420221321-crop.jpg" width="640" /></a></div><br /><div><br /></div><h4 style="text-align: left;">North Point Battlefield</h4><div><br /></div><div>When I hiked these trails in 2011, the North Point Battlefield Park did not exist in the condition that it does in 2022.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVLw_2ODbfNaQYF84J8fu2k9DZx1lDMNRLrUfJp8zpPOtnShdU0tXJoqMK4QTejP7w6iWnMHISlg6Xj2M3EmnrWT-vamfDhNHYeyctfW-2at_LEWVOjWvmY4UqIuWaQGYj7e4XJqwZYCtLSgufM8HIUdN14WafJ63K757QUVP9PCB-kx1BnUs-8_wuow/s1024/0420221342-crop.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="576" data-original-width="1024" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVLw_2ODbfNaQYF84J8fu2k9DZx1lDMNRLrUfJp8zpPOtnShdU0tXJoqMK4QTejP7w6iWnMHISlg6Xj2M3EmnrWT-vamfDhNHYeyctfW-2at_LEWVOjWvmY4UqIuWaQGYj7e4XJqwZYCtLSgufM8HIUdN14WafJ63K757QUVP9PCB-kx1BnUs-8_wuow/w640-h360/0420221342-crop.jpg" width="640" /></a></div><br /><div><br /></div><div>"State."</div><div><br /></div><div>It's flat, and wet. I hope enough people use these trails to keep back the phragmites. But the wetlands are pervasive, and invasive.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjArEVVD_UqB5O2LM8JwWOv3KcyyiA-FNY-xcYNt-yO94txl7uu_noYQDNw4ZOW3ZbUzJmWAWwvzbqlc6hfBflyTFVW9y_vRUEoZm1tKnIt_V-JydE_m9jb6iBvDuQIPSS7MdgC_jvsjhMKI-aT03Q2dhayg6vwD1DATuRj4hRjIiOPJuR4TIV5uUvZIg/s1024/0420221337-thumb.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="576" data-original-width="1024" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjArEVVD_UqB5O2LM8JwWOv3KcyyiA-FNY-xcYNt-yO94txl7uu_noYQDNw4ZOW3ZbUzJmWAWwvzbqlc6hfBflyTFVW9y_vRUEoZm1tKnIt_V-JydE_m9jb6iBvDuQIPSS7MdgC_jvsjhMKI-aT03Q2dhayg6vwD1DATuRj4hRjIiOPJuR4TIV5uUvZIg/w640-h360/0420221337-thumb.jpg" width="640" /></a></div><br /><div><br /></div><div><br /></div><h4 style="text-align: left;">North Point </h4><div><br /></div><div>One site mentioned in the old trail guide was "Cooks Tavern". That's long gone, replaced by a variety of shopping center buildings. This view shows North Point Boulevard, the Beltway, and in the distance, a road sign commemorating the battle of North Point.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsNr3yiTtvKxh9EZqaat0GI1P_VZ_7TdYp2kCAGdcupKUiDvNZgi90kmCQM-G1ggk7rcLkh4u4EinxOhzAInaU3AQdgkvnshmrkiweAGtnaVL898fqopKTKXeMpvAG2pDoArm7WbHp9LEdFKtNxUhW6C8sDFIRk4lAn9PdVvil-e9A4FkWFCwtilr39g/s1024/0420221350a-thumb.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="576" data-original-width="1024" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsNr3yiTtvKxh9EZqaat0GI1P_VZ_7TdYp2kCAGdcupKUiDvNZgi90kmCQM-G1ggk7rcLkh4u4EinxOhzAInaU3AQdgkvnshmrkiweAGtnaVL898fqopKTKXeMpvAG2pDoArm7WbHp9LEdFKtNxUhW6C8sDFIRk4lAn9PdVvil-e9A4FkWFCwtilr39g/w640-h360/0420221350a-thumb.jpg" width="640" /></a></div><br /><div><br /></div><div>Speaking of signs, here's two.</div><div><br /></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxCKzTV_uaxNV0jgXfhl0NbjGwkXKbSkIUdanLWJTEYor3I3oVk6M7ZYl_m7NP4aapVPzsrUmh274MJRyZXtf_9UNLl4iQIS1TiwU_DAzb_UKNqWmOaS5QaMfoxvGZ2rsttE0UH8EfMwRl4ibAho1Q3ApgUx5UXQzNdsrpOL9w6zlrSWKCdZ5LDMgH1Q/s1066/0420221250-thumb.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1066" data-original-width="600" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxCKzTV_uaxNV0jgXfhl0NbjGwkXKbSkIUdanLWJTEYor3I3oVk6M7ZYl_m7NP4aapVPzsrUmh274MJRyZXtf_9UNLl4iQIS1TiwU_DAzb_UKNqWmOaS5QaMfoxvGZ2rsttE0UH8EfMwRl4ibAho1Q3ApgUx5UXQzNdsrpOL9w6zlrSWKCdZ5LDMgH1Q/w225-h400/0420221250-thumb.jpg" width="225" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnVOffbf_iTpBDtDrXtmMFgl8zTnfow-E-2KaP1ntXlD3iLPFFKqbAz-814tjoQKPF7Yp9UyhJtU2SISn1n-xGlaixw1nVPr8cqj9TQI9YaDNDe2IulZZrMbIERjB8lNl-3uNlkTqOeOull3VfW66aZLswzaB3nwTrGJB1YhJLXagBOe93jQ4zxwqXgw/s1024/0420221311b-thumb.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1024" data-original-width="576" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnVOffbf_iTpBDtDrXtmMFgl8zTnfow-E-2KaP1ntXlD3iLPFFKqbAz-814tjoQKPF7Yp9UyhJtU2SISn1n-xGlaixw1nVPr8cqj9TQI9YaDNDe2IulZZrMbIERjB8lNl-3uNlkTqOeOull3VfW66aZLswzaB3nwTrGJB1YhJLXagBOe93jQ4zxwqXgw/w225-h400/0420221311b-thumb.jpg" width="225" /></a></div><br /><div><br /></div><div>No giant flags here, just swamp and stickerbushes.</div><div><br /></div><div><br /></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-34490519022501957272022-02-18T07:48:00.004-05:002023-12-04T15:31:52.309-05:00Building out an intra-home data aggregator<p> After I put a couple Raspberry Pi environment monitoring devices into my shopping cart and pile of unconnected devices, I looked around for a central data aggregator that would be a step up from individual cron jobs and RRD repositories. The open source platform Zabbix looked interesting, as it was noted in online posts about pulling data from remote devices. Around the end of January, as the weather pushed me to inside projects, I started figuring out the moving parts.</p><p>My first thought was I'd like to run the database and system on NetBSD, but after looking at the state of Zabbix server and agent version availability, I found FreeBSD has an advantage in having better coverage. I thought I could put the server processes on one node and the database itself on a different node, since I already had working PostgreSQL systems. Trying to activate NetBSD packages on the arm Pi systems ended up with a battle between mysql and mariadb, meaning the package wouldn't use postgreSQL as I wanted.</p>
<p>The package version of Zabbix for FreeBSD, is also pre-configured for MySQL, despite the configuration file indicating that a few tweaks could alter the database connection. I tried several permutations of ports and other values before coming to the realization that if I wanted a different database I'd need to build the application from sources. But running both a binary package repository and one from source on one node can be problematic, leading me to start from scratch with a fresh FreeBSD system.</p><p>After a few feints, I was able to get FreeBSD 13 set up on an SSD drive connected through USB to a Pi 4. Turns out, that was the easy part. I tried to find the least common denominator of underlying libraries to minimize the time spent watching auto-configure and make run through huge software stacks. I was expecting there might be several days worth of churn ahead but was pleasantly surprised as I watched the component parts get laid down.</p>
<p>Somewhere around Groundhog Day, I had the Zabbix server working, along with at least one other agent, and proceeded to deploy the front end. Fortunately, I had a working httpd server on another FreeBSD on Pi, so adding the php code was a minor hassle.</p><p>In a prior life, I worked with enterprise scale software/hardware/application monitoring software, from PMC Patrol/Enterprise Manager, to HP OpenView, to Computer Associates tools, and finally, to the now-tainted SolarWinds. Much of the design of Zabbix, as well as the agent technologies, looked pretty familiar. After the web front end was running, it looked very clean and modern, with menus and paths that looked straightforward.</p><p>[</p><p><span style="font-family: courier; font-size: x-small;"> 43331:20220204:013743.375 cannot send list of active checks to "x.x.x.x": host [Name] not found</span></p><p>]</p><p><u>(04 February 2022)</u></p>
<p>Alas, not everything was as simple as it appeared. The learning curve was not too steep, though it involved translating a few terms into understandable chunks. Like "not supported" as a state for a monitoring element. On the surface, that would mean to me that the combination was just not going to work, as opposed to a condition where an element went offline or was unreachable for some reason. There were more subtleties under the surface as I'd learn by trial and error.</p><p>The first hurdle was the nomenclature of server and agent, where you could put a label on something that matched a DNS entry, or didn't match. I knew that once I started making configuration choices (like short name or long name), I'd probably be stuck with that decision once the beast took on a life of its own.</p>
<p>[</p><p><span style="font-family: courier; font-size: x-small;"> 85706:20220205:173436.157 resuming Zabbix agent checks on host "sample": connection restored</span></p><div>]</div><div><p><u>(05 February 2022)</u></p></div><div><br /></div><div>Finally, with database, server, agents, and the web front-end connected and working properly, it was time to examine the contents and see what hath been wrought.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEh1u9JLeoWFPRl_S1SbOFKdcVOfj3bM8zyNTvrxmOaxsUFnzCf6iOaLsjq1akRervX8x7FMIXeOdCiOia4GiW2n4BOpym3wvInmc6rb0-Cay3JHQncr0Nas4QvvTFurtnZQDL0Gbcg_jJp6FT1DN-M1m4UJxPnJ47UAQ0ORtySkwltW7Y8UMX4OtEo2KA=s608" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="341" data-original-width="608" height="358" src="https://blogger.googleusercontent.com/img/a/AVvXsEh1u9JLeoWFPRl_S1SbOFKdcVOfj3bM8zyNTvrxmOaxsUFnzCf6iOaLsjq1akRervX8x7FMIXeOdCiOia4GiW2n4BOpym3wvInmc6rb0-Cay3JHQncr0Nas4QvvTFurtnZQDL0Gbcg_jJp6FT1DN-M1m4UJxPnJ47UAQ0ORtySkwltW7Y8UMX4OtEo2KA=w640-h358" width="640" /></a>
</div><br /><div><br /></div><div>Total disk space on "/" and Free disk space on "/" are shown on the graphic above, with 115 and 85 GB, roughly, or 100% and 74%. But wait, that red pie slice doesn't occupy 100% of a circle, it's only 26% (more or less). A graphic that "works" but is wrong.</div>
<div><br /></div><div>See, also: thread <span style="background-color: white; font-size: 15px; white-space: pre-wrap;"><a href="https://twitter.com/jspath55/status/1490145557297471490">https://twitter.com/jspath55/status/1490145557297471490</a></span></div><div><br /></div>
<div><br /></div><div>This is good. Gold, even.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgBr7kRQ0vJmMEpj96y6Pnqw1QKoGWo2jZ0yfEp79aokaJKlcy1YXvxyzQJ-eydBfC9DB_n04AZeixgtQLRmWvYLdEE7-9Iv0T1oO5fIRonakoZK3aOe5DWwtIzE0Ii3VGzhBjv9C4Fko1Da03Jz75BauOJVczCb0cJwp0Vos2l10mKyYahiC5DobEJDw=s1289" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="369" data-original-width="1289" height="184" src="https://blogger.googleusercontent.com/img/a/AVvXsEgBr7kRQ0vJmMEpj96y6Pnqw1QKoGWo2jZ0yfEp79aokaJKlcy1YXvxyzQJ-eydBfC9DB_n04AZeixgtQLRmWvYLdEE7-9Iv0T1oO5fIRonakoZK3aOe5DWwtIzE0Ii3VGzhBjv9C4Fko1Da03Jz75BauOJVczCb0cJwp0Vos2l10mKyYahiC5DobEJDw=w640-h184" width="640" /></a></div><br /><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><div><p><u>(07 February 2022)</u></p></div><div>Here, I noticed a large network stream to/from one device, which was apparently running an audio program that no one was listening to. It happens. So, the Zabbix charts revealed useful information within a couple days.</div></div><div><br /></div><div>Back to the Raspberry Pi tuning tweaks. I found several examples of adding monitoring to Zabbix, and started with 2 of them. One has a bash script with over a dozen metrics included, and the other has 4 metrics contained within one add-on.</div><div><br /></div><div>I learned the basic add-on set includes an XML or other defined method of setting up configuration, and a set of commands, usually shell scripts (but could be other languages if wrapped correctly).</div><div><br /></div><div><a href="https://znil.net/index.php/Zabbix:Template_Raspberry_Pi">https://znil.net/index.php/Zabbix:Template_Raspberry_Pi</a></div><div><a href="https://kifarunix.com/install-zabbix-agent-on-freebsd-12/">https://kifarunix.com/install-zabbix-agent-on-freebsd-12/</a></div><div><div><a href="https://gitlab.com/Qrl/zabbix">https://gitlab.com/Qrl/zabbix</a></div></div><div><br /></div><h3 style="text-align: left;">Derived metrics</h3><div>Obviously, with chips made these days, temperatures would be reported in Celsius not Fahrenheit, but as an American, I'm more conversant with the latter. So it would make sense to calculate a derived value inside the monitoring suite, as good practice for learning how to build and deploy future readings from wherever (home thermostat/outside weather/noise levels). Let's see: nine-fifths pus thirty-two, in words, works out to this in configure-speak:</div><div><br /></div><div><span style="font-family: courier;">(32+((9/5)*last(//raspberrypi.sh[temperature])))*1000</span></div><div><br /></div><div>Wait, where did the 1000 come from?</div><div>Er, turns out the Raspberry Pi user interface reports temperatures with up to 3 digits, like this:</div><div><br /></div><div><p style="text-align: left;"><span style="font-size: x-small;"><span style="font-family: courier;"> $ cat /sys/class/thermal/thermal_zone0/temp<br /></span><span style="font-family: courier;">41856</span></span></p><p style="text-align: left;"><span style="font-size: x-small;"><span style="font-family: courier;"><br /></span></span></p><p><span style="font-family: courier; font-size: x-small;">$ vcgencmd measure_temp</span></p><p><span style="font-size: x-small;"><span style="font-family: courier;"></span></span></p><p><span style="font-family: courier; font-size: x-small;">temp=41.9'C</span></p><div><span style="font-family: inherit;">This measurement is 41 degrees, plus a fraction. Depending on how the data are pulled, the decimal points might get shifted around.</span></div></div><div><span style="font-family: inherit;"><br /></span></div><div><span style="font-family: inherit;">This chart shows the derived "</span><b>Betriebstemperatur</b>" in Fahrenheit. Errors in getting the formula correct caused the first several numbers to be incorrect, rather than simply missing. I expect the impact of this will diminish over time. I couldn't find a quick way to purge old data (yet).</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEilhordL6kXitDHwqtvt4UUfI0o1xUKsBRVHRs65gLTBfYVSFxR3zYJkTwstwW6ElqwGsevNqE-kXZciYKRJxo8IawcjrSAmaUbyDBLhfTZZu-4dHgRJCl47MPIlpnIWDsJLeMA0u2khS8r7muPrHyitinQMrnUAfUtyU6XwHiLclIl4uf8K4xF9LBipg=s1221" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="354" data-original-width="1221" height="186" src="https://blogger.googleusercontent.com/img/a/AVvXsEilhordL6kXitDHwqtvt4UUfI0o1xUKsBRVHRs65gLTBfYVSFxR3zYJkTwstwW6ElqwGsevNqE-kXZciYKRJxo8IawcjrSAmaUbyDBLhfTZZu-4dHgRJCl47MPIlpnIWDsJLeMA0u2khS8r7muPrHyitinQMrnUAfUtyU6XwHiLclIl4uf8K4xF9LBipg=w640-h186" width="640" /></a></div><br /><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><div><p><u>(08 February 2022)</u></p></div></div><div><div><span style="font-family: courier;">ZBX_NOTSUPPORTED: Invalid item key format.</span></div><div><span style="font-family: courier;">ZBX_NOTSUPPORTED: Unsupported item key.</span></div></div><div><br /></div><div>In checking out one metric, I noticed the above 2 message look similar, particularly the identical all-upper case intro, but invalid is not unsupported. The former looks more fixable on the surface; looking for the root cause would ascertain for sure</div><div><br /></div><div>Now it's the 11th, after a week or so of building, deploying, configuring, troubleshooting, tuning, and rebuilding. I think this was worth it just to show the capability of a $100 Raspberry Pi + SSD combo with FreeBSD.</div><div><br /></div><h1 style="text-align: left;">Issues and Fixes</h1><div><br /></div><div><div><span style="font-family: courier;">[3.] Add zabbix user to video group</span></div><div><span style="font-family: courier;"> $ sudo usermod -a -G video zabbix</span></div></div><div><br /></div><div>This is necessary based on the default command permissions. Adjust based on user prefences.</div><div><br /></div><div><br /></div><div>In earlier Raspberry Pi versions, apparently the command to interrogate internal counters and more (<i>vcgencmd</i>) was installed under the directory <i>/opt/vc/bin/</i>. The "<i>opt</i>" directory is one of those UNIX relics like "<i>/usr/local/</i>" where custom software might be installed outside the base release. But, as happens, that location became obsolete when the newer versions but <i>vcgencmd</i> into <i>/usr/bin</i> which would be in a typical PATH search. With the nature of some google searches leading to older code based on hit counts, you might be trying to run something that isn't there, with the resulting obscure side effects.</div><div><br /></div><div>[</div><div><span style="font-family: courier; font-size: x-small;"> 85684:20220205:013853.811 item "pi.net:rpi.cpuVoltage" became not supported: Value of type "string" is not suitable for value type "Numeric (float)". Value "sh: 1: <i>/opt/vc/bin/vcgencmd</i>: not found"</span></div><div>]</div><div><br /></div><div>So, I saw 2 obvious ways to fix this. First, alter the script to the correct path; second, put a link into the old location pointing to the new location. I chose the latter as having fewer steps, though purists may prefer to alter the source.</div><div><br /></div><div>[</div><div><span style="font-family: courier;">pi@pi:/opt/vc/bin $ sudo ln -s /usr/bin/vcgencmd vcgencmd</span></div><div>] </div><h3 style="text-align: left;">More issues and fixes</h3><div><br /></div><div>[</div><div><div><span style="font-family: courier; font-size: x-small;">zabbix_agentd [7518]: cannot create locks: cannot create semaphore set: [28] No</span></div><div><span style="font-family: courier; font-size: x-small;"> space left on device</span></div></div><div>]</div><div><br /></div><div>This bug stumped me for a little while. On another node that was already running postgreSQL before adding a Zabbix agent, I was getting errors showing "no space left on device", despite having a nearly empty 500GB SSD. If I stopped the database, the agent would launch. But both would not run at the same time (on NetBSD 9.x).</div><div><br /></div><div>Locks and semaphores are another obscure UNIX facility, going back to the early AT&T System V releases. I fortunately was experiences with configuring shared memory for large Oracle database deployments, so even though that was decades ago, the seeds are still there. Looking at the error message, it's unclear which memory parameter might be limiting, as several settings have very similar names mentioning semaphores and shared memory.</div><div><br /></div><div><span style="font-family: courier; font-size: x-small;">SHMMNI Maximum number of shared memory segments system-wide </span></div><div><span style="font-family: courier; font-size: x-small;">SEMMNI Maximum number of semaphore identifiers (i.e., sets) </span></div><div><span style="font-family: courier; font-size: x-small;">SEMMNS Maximum number of semaphores system-wide </span></div><div><br /></div><div>The ipcs command will show the current state.</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">$ ipcs -a</span></div><div><span style="font-family: courier; font-size: x-small;">IPC status from <running system> as of Mon Feb 7 02:04:06 2022</span></div></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><br /></div><div>And the sysctl command will show kernel and other settings on BSD.</div><div><br /></div><div>Before:</div><div><br /></div><div><div><span style="font-family: courier;">kern.ipc.semmni = 10</span></div><div><span style="font-family: courier;">kern.ipc.semmns = 60</span></div><div><span style="font-family: courier;">kern.ipc.semmnu = 30</span></div></div><div><br /></div><div>After:</div><div><br /></div><div><div><span style="font-family: courier;">kern.ipc.semmni = 100</span></div><div><span style="font-family: courier;">kern.ipc.semmns = 600</span></div><div><span style="font-family: courier;">kern.ipc.semmnu = 300</span></div></div><div><br /></div><div><br /></div><div>I could have tried to optimize these settings one by one using small increments, but knowing that these default values date back decades to much less capable systems, I increased each of them by a factor of 10. I speculated that any wasted resources would be minimal, and was rewarded by both processes starting and running without errors.</div><div><br /></div><h3 style="text-align: left;">ALSO: swap</h3><div><br /></div><div><span style="font-family: courier;">pid 92246 (c++), jid 0, uid 0, was killed: out of swap space</span></div><div><br /></div><div>I had tried to build an X Windows program after getting Zabbix working, but the compile failed with obscure "internal errors". Later I found the more succinct root cause of the failure: out of swap space. Wow, also an old timey issue on virtual memory systems from the 1980s like DEC VMS.</div><div><br /></div><div>On a Pi Zero 2 W:</div><div><br /></div><div><div><span style="font-family: courier;">$ swapon --show</span></div><div><span style="font-family: courier;">NAME TYPE SIZE USED PRIO</span></div><div><span style="font-family: courier;">/var/swap file 100M 97.9M -2</span></div></div><div><span style="font-family: courier;"><br /></span></div><div><span style="font-family: inherit;">then, later:</span></div><div><span style="font-family: courier;"><br /></span></div><div><div style="font-family: courier;">$ sudo swapon</div><div style="font-family: courier;">NAME TYPE SIZE USED PRIO</div><div style="font-family: courier;">/var/swapfile2 file 1024M 0B -2</div><div style="font-family: courier;"><br /></div><div><span style="font-family: inherit;">For FreeBSD/NetBSD, swap metrics are tricky with Zabbix. I used the FreeBSD template to connect to NetBSD nodes as Zabbix only includes FreeBSD and OpenBSD (pity). The FreeBSD nodes reported swap issues different than the Linux conditions noted above, while the NetBSD swap metrics failed most likely due to syntax Babel amongst the BSD descendants. Though not directly Zabbix related, I wanted to address the out-of-the-box swap configuration, at least to have a learning experience, with the added risk factor of wiping an entire installation with an errant format command.</span></div><div><span style="font-family: inherit;"><br /></span></div><div><span style="font-family: inherit;">At first, it didn't appear that FreeBSD supported swap files but only devices. And as I didn't want to go back and try to repartition a running system I was leaning toward adding a USB memory dongle for swap when I dug deeper into the manual pages. My initial surmise was incorrect, I could build a swap file (if I wanted) in a manner very similar to the Linux steps, which makes future build errors less likely.</span></div><div><span style="font-family: inherit;"><div><br /></div><div><a href="https://people.freebsd.org/~blackend/en_US.ISO8859-1/books/handbook/adding-swap-space.html">https://people.freebsd.org/~blackend/en_US.ISO8859-1/books/handbook/adding-swap-space.html</a></div><div><br /></div></span></div><div><span style="font-family: inherit;">Initially, no swap on a FreeBSD Pi build:</span></div><div><span style="font-family: inherit;"><br /></span></div><div><div><span style="font-family: courier; font-size: x-small;">[]# dd if=/dev/zero of=/var/swapfile2 bs=1024k count=16384</span></div><div><span style="font-family: courier; font-size: x-small;">[]# chmod 0600 /var/swapfile2</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">/etc/rc.conf: 26 lines, 511 characters</span></div><div><span style="font-family: courier; font-size: x-small;"><div>swapfile="/var/swapfile2" # Set to name of swapfile if desired.</div><div><br /></div></span></div><div><span style="font-family: courier; font-size: x-small;">[]# mdconfig -a -t vnode -f /var/swapfile2 -u 0 && swapon /dev/md0</span></div><div><span style="font-family: courier; font-size: x-small;">[]#</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">Swap: 16G Total, 16G Free</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">warning: total configured swap (4194304 pages) exceeds maximum recommended amount (3928456 pages).</span></div><div><span style="font-family: courier; font-size: x-small;">warning: increase kern.maxswzone or reduce amount of swap.</span></div><div><span style="font-family: courier; font-size: x-small;">[]$</span></div><div style="font-family: inherit;"><br /></div><div style="font-family: inherit;">OK, I overdid it, but now I have the classic swap at > 2 times physical memory, ha!</div><div style="font-family: inherit;"><br /></div><div style="font-family: inherit;"><br /></div></div><div><span style="font-family: inherit;">The <i>top</i> command reports:</span></div></div><div style="font-family: courier;"><br /></div><div><div style="font-family: courier;">Swap: 16G Total, 11M Used, 16G Free</div><div style="font-family: courier;"><br /></div><div><span style="font-family: inherit;">and then, with a big compile running:</span></div><div style="font-family: courier;"><br /></div><div><div><span style="font-family: courier;">Swap: 16G Total, 4770M Used, 11G Free, 29% Inuse, 18M In, 2124K Out</span></div></div><div style="font-family: courier;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhOXP2KrQ_zbe4zSpxOkpMSst4dVcGlS8CB8PWrCnK7jx9mQ1L4w5u3s8m_DAzAI_kEiZJJoHf_DGAkxrxJIpAHsAz6se-42m4UceDzmnLpLInhWSJgbuObGnXN6Y5Ps2ehwIzXRdTyDpLdrbO1HThsIgcd3CJ2fsxeLmhiyFkWQoHZhOsyWH3_PLteBw=s1221" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="354" data-original-width="1221" height="186" src="https://blogger.googleusercontent.com/img/a/AVvXsEhOXP2KrQ_zbe4zSpxOkpMSst4dVcGlS8CB8PWrCnK7jx9mQ1L4w5u3s8m_DAzAI_kEiZJJoHf_DGAkxrxJIpAHsAz6se-42m4UceDzmnLpLInhWSJgbuObGnXN6Y5Ps2ehwIzXRdTyDpLdrbO1HThsIgcd3CJ2fsxeLmhiyFkWQoHZhOsyWH3_PLteBw=w640-h186" width="640" /></a></div><br /><div style="font-family: courier;"><br /></div></div><div><br /></div><h3 style="text-align: left;"><br /></h3><h3 style="text-align: left;"><br /></h3><h3 style="text-align: left;"><br /></h3><h3 style="text-align: left;"><br /></h3><h3 style="text-align: left;">And: CPU Throttling</h3><div><br /></div><div>Initially, this metric failed with an error saying something obscure, then disabling later readings with the "not supported" declaration. Hitting the link changes the item to disabled, hitting it again enables the readings to be tried again. Of course, if the underlying glitch isn't fixed the result is again not supported/out of service on the next cycle.</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">Problem: find(/Raspberry Pi/rpi.cpuThrottled,,"iregexp","\\b(0x0)\\b")=0</span></div><div><span style="font-family: courier; font-size: x-small;">Recovery: find(/Raspberry Pi/rpi.cpuThrottled,,"iregexp","\\b(0x0)\\b")=1</span></div></div><div><br /></div><div><div><a href="https://newscrewdriver.com/2018/09/06/detecting-raspberry-pi-thermal-throttling-from-console/">https://newscrewdriver.com/2018/09/06/detecting-raspberry-pi-thermal-throttling-from-console/</a></div><div><a href="https://forums.raspberrypi.com/viewtopic.php?f=63&t=147781&start=50#p972790">https://forums.raspberrypi.com/viewtopic.php?f=63&t=147781&start=50#p972790</a></div></div><div><br /></div><div>Here, the root cause of this issue was self-inflicted, somehow, in pulling down the configuration and transferring into the Zabbix server some kind of code page shift occurred, adding bogus text into the trigger definitions. Right out of the box, this failed with little fanfare. I researched the supplied functions and suspected the fault lie within.</div><div><br /></div><div>Once I found the configuration details and could save them as above, I edited the parameters to more cogently reflect the expected function output. The output is normally "0x0", meaning zero, and higher hex values have specific meanings. Since the first pattern match always failed, the CPU always appeared throttled incorrectly.</div><div><br /></div><div>New values:</div><div><br /></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgmyegypAmrk-MOuLMm3Put6CWyzqwaaiXlPCdk0OFxdwhn7kyI7a4B3BmWfQRARCBDAkdy-oVhab0hXp0nLylfIndxH7MbyBdjsNZrfTc4Hj352nI48_gK_p_x3HOFTLqj02GDWMS18rUSpB1efLPLcjTCIV6QolsouQr6PvKvwyZx3XLnWaLoMwNL9w=s1939" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="377" data-original-width="1939" height="124" src="https://blogger.googleusercontent.com/img/a/AVvXsEgmyegypAmrk-MOuLMm3Put6CWyzqwaaiXlPCdk0OFxdwhn7kyI7a4B3BmWfQRARCBDAkdy-oVhab0hXp0nLylfIndxH7MbyBdjsNZrfTc4Hj352nI48_gK_p_x3HOFTLqj02GDWMS18rUSpB1efLPLcjTCIV6QolsouQr6PvKvwyZx3XLnWaLoMwNL9w=w640-h124" width="640" /></a></div><br /> </div><h3 style="text-align: left;">Disk I/O</h3><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">min(/pi/vfs.dev.read.await[mmcblk0],15m) > {$VFS.DEV.READ.AWAIT.WARN:"mmcblk0"} or</span></div><div><span style="font-family: courier; font-size: x-small;">min(/pi/vfs.dev.write.await[mmcblk0],15m) > {$VFS.DEV.WRITE.AWAIT.WARN:"mmcblk0"}</span></div></div><div><br /></div><div>Ending up setting the write time to 50ms to avoid pesky un-addressable errors; a future workaround might be to set up storage device classes so that SSD and SD cards are treated individually in terms of known capabilities.</div><div><br /></div><div>"Linux block devices by Zabbix agent" is the template that contains macros where the above thresholds can be edited.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhwksPlJmTFd5emoRnMHD1ioWmVzOdSxAyD-OTvfG_t_iKzbc2U_M9GLzi1GMsE9SdmJNOrTyJc7PV0OxFwfFAbakcDcxF2ZKpVNc4AVV2y1TQpFrP2MtwbvINdVsktWzKsSXnzwMz5N2fIbaPha3Z2FalNup7RPBrk9UkiVgSVJrMgaCWiUSnu7MhvQw=s3008" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1335" data-original-width="3008" height="285" src="https://blogger.googleusercontent.com/img/a/AVvXsEhwksPlJmTFd5emoRnMHD1ioWmVzOdSxAyD-OTvfG_t_iKzbc2U_M9GLzi1GMsE9SdmJNOrTyJc7PV0OxFwfFAbakcDcxF2ZKpVNc4AVV2y1TQpFrP2MtwbvINdVsktWzKsSXnzwMz5N2fIbaPha3Z2FalNup7RPBrk9UkiVgSVJrMgaCWiUSnu7MhvQw=w640-h285" width="640" /></a></div><br /><div><br /></div><div><br /></div><h3 style="text-align: left;">SNMP</h3><div>Gah. I tried it out and Zabbix can go down that net walk with the best. I didn't find anything spectacular or dismal to report on, so this section will be brief.</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiaEqMu5rzOwxSloaDKCpKvfATtJ4mDgBkHDsJBcWvPvev6tCeiIAbqnvKoIE2lHLcpHNhvcj09Dt6tpyYVLgtczowxsQ12oHdPUaaHPz-PIpos8h7fqCFYKJCu-obUCKBtLRTnIJuFqWpFltN8oWqIBRdDK1d3eQiyVX6nrUejLM2XbWFpxdKdhZDL5A=s1204" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="369" data-original-width="1204" height="196" src="https://blogger.googleusercontent.com/img/a/AVvXsEiaEqMu5rzOwxSloaDKCpKvfATtJ4mDgBkHDsJBcWvPvev6tCeiIAbqnvKoIE2lHLcpHNhvcj09Dt6tpyYVLgtczowxsQ12oHdPUaaHPz-PIpos8h7fqCFYKJCu-obUCKBtLRTnIJuFqWpFltN8oWqIBRdDK1d3eQiyVX6nrUejLM2XbWFpxdKdhZDL5A=w640-h196" width="640" /></a></div><br /><div><br /><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><h3 style="text-align: left;"><br /></h3><h3 style="text-align: left;"><br /></h3><div>These temperature values are reported without decimals, so the graph jumps in digital hops rather than spreading around in an analog sweeps. I wasn't that interested in finding out why system temperature was reported and not CPU. There were other temperature values that I'd investigate further once more trends age in place as it were.</div><div><br /></div><div><br /></div><h3 style="text-align: left;">Agent "2"</h3><div><br /></div><div>./configure --enable-agent2</div><div><br /></div><div>Go errors</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">go: downloading github.com/mattn/go-sqlite3 v1.14.8</span></div><div><span style="font-family: courier; font-size: x-small;">package zabbix.com/cmd/zabbix_agent2</span></div><div><span style="font-family: courier; font-size: x-small;"> imports zabbix.com/plugins: <b>build constraints exclude all Go files</b> in /u</span></div><div><span style="font-family: courier; font-size: x-small;">sr/local/src/zabbix/zabbix-5.4.9/src/go/plugins</span></div><div><span style="font-family: courier; font-size: x-small;">*** Error code 1</span></div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">Stop.</span></div><div><span style="font-family: courier; font-size: x-small;">make[3]: stopped in /usr/local/src/zabbix/zabbix-5.4.9/src/go</span></div><div><span style="font-family: courier; font-size: x-small;">*** Error code 1</span></div><div><br /></div><div><br /></div></div><div>Works on Windows 32/64.</div><div><br /></div><div><br /></div><div><a href="https://www.zabbix.com/integrations/postgresql#postgresql_agent2">https://www.zabbix.com/integrations/postgresql#postgresql_agent2</a></div><div><br /></div><h3 style="text-align: left;">Last thoughts</h3><div>After letting things settle for a few days, I must say I admire the completeness of the installation, the vision, and the big things that cover the small mistakes. Without reading too many manuals, I was able to set up a variety of monitoring collections that help more than they hinder. The controls to display charts are intuitive, quick, and quite legible. I even found that zooming in on a time segment was as easy as highlighting a period with the pointer (though this action didn't work on an Android device for me).</div><div><br /></div><div>This chart includes values from 2 sensors on one Raspberry Pi hats, which report in degrees Centigrade. Given the sensors are close enough to be affected by heat from the Pi itself, I added a calculation to return a value as close to ambient as I could manage using a reference thermometer and readings over a period of time. Since the sensor base readings differ, no wonder the results also don't coincide. But they are within one or two degrees (Fahrenheit) and produce useful information. ("Hey, close the door, do you live in a barn?")</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgte_z3qTtAUoqXSBXb39AtNp3CEczC9tw2I9bHfxl3lDG01C01aoqRXpiH-x9Bq5cdN1xLJ5x7Z8vX1dYzPFJEaylPcQVLyHQsBGhXEsXVQT_HtkeYFK4sbNAiOkMhChcXpmojNZDOaLqMhvYZropiJmIMXAYXr2-go4S9eWORUen_LYOswcXtbJXQ8w=s524" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="366" data-original-width="524" height="448" src="https://blogger.googleusercontent.com/img/a/AVvXsEgte_z3qTtAUoqXSBXb39AtNp3CEczC9tw2I9bHfxl3lDG01C01aoqRXpiH-x9Bq5cdN1xLJ5x7Z8vX1dYzPFJEaylPcQVLyHQsBGhXEsXVQT_HtkeYFK4sbNAiOkMhChcXpmojNZDOaLqMhvYZropiJmIMXAYXr2-go4S9eWORUen_LYOswcXtbJXQ8w=w640-h448" width="640" /></a></div><br /><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-80416104817538497372022-01-10T21:27:00.003-05:002023-12-04T15:31:22.661-05:00NetBSD on a Raspberry Pi 4, Current 2022<p>After more than one flub, I've gotten through the hoops to make NetBSD run on a Raspberry Pi 4. I had already gotten 2 different working versions on a Pi 3, but the 4 was giving me fits.</p><p>All credit goes to the very clear directions from Astro:</p><p><a href="https://astr0baby.wordpress.com/2021/05/23/netbsd-current-on-rpi4-model-b-8gb-ram/">https://astr0baby.wordpress.com/2021/05/23/netbsd-current-on-rpi4-model-b-8gb-ram/</a></p><p>Those instructions are reasonably recent, 6 months or so, and the version I pulled down is NetBSD-current from just after New Year's 2022.</p><p>Pictures are at the end, as I've given up trying to make google-blogspot do the thing right.</p><h3 style="text-align: left;">UEFI Boot</h3><p>I went through several passes of getting UEFI boot-code onto a micro-SD card that would then allow NetBSD install and reboot onto something other than the limited lifetime SD chip a few months back. OK, it was 2020, but probably also later.</p><p><span style="font-family: courier; font-size: x-small;"><a href="http://mail-index.netbsd.org/port-arm/2020/06/09/msg006740.html">Re: NetBSD/aarch64 on 8 GB Raspberry Pi 4B?</a></span></p><p><a href="https://wiki.freebsd.org/arm/Raspberry%20Pi"><span style="font-family: courier; font-size: x-small;">FreeBSD/ARM on the Raspberry Pi family</span>Pi</a></p><div>This time for sure, Rocky.</div><p>=</p><p><span style="font-family: courier;">user@pi:~ $ sudo mkfs.vfat /dev/sdb1 -n UEFI</span></p><p><span style="font-family: courier;">mkfs.fat 4.2 (2021-01-31)</span></p><h3 style="text-align: left;">Install Source</h3><p><span style="font-family: courier;">user@pi:~/iso $ sudo dd if=NetBSD-9.99.93-evbarm-aarch64.iso of=/dev/sda</span></p><div>Worked fine. In the past I've used the die-hard method of burning a CD-RW (or DVD-RW) from the ISO image, and finally evolved to using a USB stick. Alas, when I shopped for SD boot chips, I could not find anything smaller than 32GB, and that was the exact size of the source USB stick I picked out for this attempt. As mentioned in the instructions referenced above, different size devices make the steps easier. Otherwise, you'll do what I did and try to write the OS onto the install device.</div><p>I had a 128GB USB micro-stick (about as big as my thumbnail) ready for NetBSD but somewhere along the way that device had been partitioned or initialized in a way the install could not detect it. So, in a shortcut to avoid another shopping trip (or delay for shipping) I connected a 500GB SSD. The adapter is nice in that no extra power is needed, and the Pi supplies enough.</p><p>But, the Pi does not supply enough power for an SSD and a spinning external USB-powered CD drive; I saw overcurrent messages on the install startup. Also, don't try to plug in the CD drive after the install has started. It might work, but it might also generate spurious on-screen messages, fouling up the normal curses menu.</p><p><br /></p><p>-rw-r--r-- 1 me users 11500 Jan 2 23:55 dmesg-netbsd-1.txt</p><div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] 2018, 2019, 2020, 2021, 2022</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] The NetBSD Foundation, Inc. All rights reserved.</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] The Regents of the University of California. All rights reserved.</span></div><div><span style="font-family: courier; font-size: xx-small;"><br /></span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] NetBSD 9.99.93 (GENERIC64) #0: Sun Jan 2 23:46:21 UTC 2022</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] total memory = 2967 MB</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] avail memory = 2863 MB</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] entropy: ready</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] timecounter: Timecounters tick every 10.000 msec</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] Kernelized RAIDframe activated</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] armfdt0 (root)</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] armfdt0: using EFI runtime services for RTC</span></div><div><span style="font-family: courier; font-size: xx-small;">[ 1.000000] simplebus0 at armfdt0: Raspberry Pi Foundation Raspberry Pi 4 Model B</span></div></div><div><span style="font-family: courier; font-size: xx-small;">...</span></div><div><span style="font-family: courier; font-size: xx-small;"><div>[ 1.000000] cpu1 at acpi0: Arm Cortex-A72 r0p3 (v8-A), id 0x1</div><div>...</div><div><div>[ 1.000003] bcmmbox0 at acpi0 (RPIQ, BCM2849-0): mem 0xfe00b880-0xfe00b8a3 irq 65</div><div>[ 1.000003] vcmbox0 at bcmmbox0</div></div><div>...</div><div><div>[ 1.000003] brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto</div></div><div>...</div><div><br /></div></span></div><div><br /></div><div><br /></div><h2 style="text-align: left;">Tire Kicking</h2><div>As the doc page mentions, X Windows install is broken in some way, and the workaround of un-tarring the distribution files is clear and unambiguous. </div><div><br /></div><div>The bash shell is one of the first packages I install on a new OS, and, surprisingly, this didn't work right, complaining about missing object libraries.</div><div><br /></div><div><div><span style="font-family: courier;"><b>netbsd$ bash</b></span></div><div><span style="font-family: courier;"><b>bash: Shared object "libterminfo.so.1" not found</b></span></div></div><div><br /></div><div>This error points to an evolution of the base OS from a prior release, where code progression may require newer support libraries, even something as anciently proscribed as terminfo. Fortunately, I have NetBSD running on pair of Pi 3s (one 9.2 and one -current) and pulled the missing libraries onto the newer system. I'm sure the technically correct method is to recompile the package from source rather than using pre-rolls. But so far, no bash failures.</div><div><br /></div><h3 style="text-align: left;">Features</h3><div>The usual apps that can be problematic on a new OS or platform include, or me, Firefox, LibreOffice, and VLC. The first 2 work great on the Pi with NetBSD, and the only fault is I haven't gotten audio to work, either through the HDMI or the audio jack (or even with a USB dongle, oddly, since that works on the Pi3).</div><div><br /></div><div>Kicking off database interfaces through the OpenOffice/LibreOffice/StarOffice suite worked after a bit of wrestling with PostGreSQL knobs and a Java run-time library path. The screens are quite snappy.</div><div><br /></div><div>Most application packages I tried to throw on the system worked via the pkg interfaces, after putting in a minimal bootstrap of the pkgsrc stack. </div><h3 style="text-align: left;">Performance</h3><div>I tried a few classic/legacy benchmark programs, after observing the basic capabilities of complex applications such as LibreOffice, browsing, and Audacity.</div><div><br /></div><div><i>Byte </i>script forked 8 shell scripts (I think I expected 4 because number of cores) but it cold be 32, I'm not sure.</div><div><br /></div><div><span style="font-family: courier;">########################################################</span></div><div><span style="font-family: courier;">Shell Scripts (8 concurrent) -- 4 copies</span></div><div> </div><div>The machine locked up on this test, where another Pi 4 running FreeBSD didn't glitch. I started looking at the Run script, which led to Perl scripts, and many many other dependencies. I like running these for historic reference ("this would take 4 hours on a Sparc 2"). And it confirms the look and feel of the interface. On a second test, I got an error message and the chance to take the <i>xload </i>screenshot while the Pi was running.</div><div><br /></div><div>Real world tests are kicking off YouTube or just browsing stack exchange for answers to questions at hand:</div><div><br /></div><div><span style="font-family: courier; font-size: x-small;"><a href="https://unix.stackexchange.com/questions/12578/list-packages-on-an-apt-based-system-by-installation-date">https://unix.stackexchange.com/questions/12578/list-packages-on-an-apt-based-system-by-installation-date</a></span></div><div><br /></div><div><br /></div><div><br /></div><div><div><span style="font-family: courier;">bash-5.1$ time /usr/pkg/java/openjdk8/bin/java jnt.scimark2.commandline</span></div><div><span style="font-family: courier;"><br /></span></div><div><span style="font-family: courier;">SciMark 2.0a</span></div><div><span style="font-family: courier;"><br /></span></div><div><span style="font-family: courier;">Composite Score: 13.172917614747846</span></div><div><span style="font-family: courier;">FFT (1024): 5.155837817236967</span></div><div><span style="font-family: courier;">SOR (100x100): 23.99097379633297</span></div><div><span style="font-family: courier;">Monte Carlo : 2.0763881384178022</span></div><div><span style="font-family: courier;">Sparse matmult (N=1000, nz=5000): 15.568224761205355</span></div><div><span style="font-family: courier;">LU (100x100): 19.07316356054613</span></div><div><span style="font-family: courier;"><br /></span></div><div><span style="font-family: courier;">java.vendor: Oracle Corporation</span></div><div><span style="font-family: courier;">java.version: 1.8.0_292-internal</span></div><div><span style="font-family: courier;">os.arch: aarch64</span></div><div><span style="font-family: courier;">os.name: NetBSD</span></div><div><span style="font-family: courier;">os.version: 9.99.93</span></div><div><span style="font-family: courier;"><br /></span></div><div><span style="font-family: courier;">real 0m23.936s</span></div><div><span style="font-family: courier;">user 0m22.768s</span></div><div><span style="font-family: courier;">sys 0m0.101s</span></div></div><div><br /></div><div>For comparison, a 6-core AMD amd64 system has much higher values on this ancient ruler [<a href="https://math.nist.gov/scimark2/index.html">SciMark 2 from NIST</a>].</div><div><br /></div><div><div><span style="font-family: courier;"><br /></span></div><div><span style="font-family: courier;">$ time /usr/pkg/java/openjdk11/bin/java jnt.scimark2.commandline</span></div><div><span style="font-family: courier;">Composite Score: 2676.381811111611</span></div><div><span style="font-family: courier;">FFT (1024): 1141.1453612165665</span></div><div><span style="font-family: courier;">SOR (100x100): 2196.586040880107</span></div><div><span style="font-family: courier;">Monte Carlo : 1731.8416382934442</span></div><div><span style="font-family: courier;">Sparse matmult (N=1000, nz=5000): 2580.1573979710483</span></div><div><span style="font-family: courier;">LU (100x100): 5732.178617196888</span></div></div><div><br /></div><div>I could not find a newer Java run engine higher than 8 for this base, so it isn't an exact test comparison.</div><h4 style="text-align: left;">Compiling</h4><div><br /></div><div>Some old-school trees didn't build but others dropped and ran with non-critical warnings.</div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">...</span></div><div><span style="font-family: courier; font-size: x-small;">cc -o wermit ckcmai.o ckclib.o ckutio.o ckufio.o ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o ckcpro.o ckucmd.o ckuus2.o ckuus3.o ckuus4.o ckuus5.o ckuus6.o ckuus7.o ckuusx.o ckuusy.o ckuusr.o ckucns.o ckudia.o ckuscr.o ckcnet.o ckusig.o ckctel.o ckcuni.o ckupty.o ckcftp.o ckuath.o ck_crp.o ck_ssl.o -lcurses -lcrypt -lm </span></div><div><span style="font-family: courier; font-size: x-small;">ld: ckcmai.o: in function `main':</span></div><div><span style="font-family: courier; font-size: x-small;">ckcmai.c:(.text+0x1c6c): warning: warning: reference to compatibility time(); include <time.h> for correct reference</span></div><div><span style="font-family: courier; font-size: x-small;">ckcpro.o: in function `wart':</span></div><div><span style="font-family: courier; font-size: x-small;">ckcpro.c:(.text+0x8604): relocation truncated to fit: R_AARCH64_LDST64_ABS_LO12_NC against symbol `dest' defined in .bss section in ckcmai.o</span></div><div><span style="font-family: courier; font-size: x-small;">ld: ckuusx.c:(.text+0x2548): warning: one possible cause of this error is that the symbol is being referenced in the indicated code as if it had a larger alignment than was declared where it was defined</span></div><div><span style="font-family: courier; font-size: x-small;">*** Error code 1</span></div><div><span style="font-family: courier; font-size: x-small;">Stop.</span></div><div><span style="font-family: courier; font-size: x-small;">make[1]: stopped in /src/kermit</span></div><div><span style="font-family: courier; font-size: x-small;">*** Error code 1</span></div><div><span style="font-family: courier; font-size: x-small;">make: stopped in /home/jim/src-local/kermit</span></div><div><span style="font-family: courier; font-size: x-small;"> 88.93 real 81.54 user 5.50 sys</span></div></div><div><br /></div><div>Kermit compiled partway through on FreeBSD on a Pi 4 in 2 minutes 14 seconds, and failed later in the make on the NetBSD Pi 4 in 89 seconds (45 seconds diff). The former still has a micro-SD but the latter benefits from SSD. As the failure was almost at the end, the time comparison is fair to me. If the install moves on, the <i>wermit </i>executable is renamed to be <i>kermit</i>.</div><div><div><span style="font-family: courier; font-size: x-small;"><br /></span></div><div><span style="font-family: courier; font-size: x-small;">/src/smpfbench/smpfbench</span></div><div><span style="font-family: courier; font-size: x-small;">bash-5.1$ bin/smpfbench -n 4</span></div><div><span style="font-family: courier; font-size: x-small;">smpfbench 0.5.12:</span></div><div><span style="font-family: courier; font-size: x-small;">using 4 fork(s) and 10000 * 10000 loops, run each test 7 times</span></div><div><span style="font-family: courier; font-size: x-small;">executing float_div: ....... Approx: 1.138 secs, loops/s: 351571878</span></div><div><br /></div></div><div><br /></div><div><div><span style="font-family: courier; font-size: x-small;">ld: /tmp//cceUJ8Lh.o: in function `main':</span></div><div><span style="font-family: courier; font-size: x-small;">dhry_1.c:(.text+0x2da): warning: warning: reference to compatibility time(); include <time.h> for correct reference</span></div></div><div><br /></div><div><br /></div><div>The temperature readings I found on the Pi 3 with earlier NetBSD kernels has doubled (from 1 metric to 2), as seen in the dmesg text above. The last 2 images below show these track pretty closely, maintaining a small delta.</div><div><br /></div><div>I still like the bash scripts to create and view data via RRDtool, like this:</div><div><br /></div><div><div><span style="font-family: courier; font-size: xx-small;">TEMP_READING=$(/usr/sbin/envstat -d acpitz0|/usr/bin/tail -1|/usr/bin/awk '{print $3}') ### netbsd</span></div></div><div><br /></div><div>The X ScreenSaver app works on most of the bundled hacks, and is a noticeable load which I shut off when running benchmarks. </div><div><br /></div><div>I always think I should benchmark the hacks themselves, as sometimes the heat maps show one doing more CPU work than another. One day.</div><div><br /></div><div>Java running under the project management suite <a href="https://www.ganttproject.biz/">GanttProject </a>started up and ran without a hitch. Can't wait to see this on a large monitor and build out more details than the old monitor I used to get going.</div><h3 style="text-align: left;">To Do</h3><div style="text-align: left;"><ul style="text-align: left;"><li>Figure out font paths in VNC (works from an x86 system but not arm64)</li><li>Unpeel the perl onion surrounding the Byte benchmark and get valid results</li><li>Try 2 monitors. I guess you need to buy them in pairs now.</li><li>Locate a functional USB wi-fi dongle (have one on the 3)</li><li>Open problem reports if it seems fixable and/or important</li><li>Refactor shell scripts to perl/python</li><li><tt style="color: #34495e; font-size: 13px;">find the "Limit RAM to 3 GB" option and </tt><tt style="color: #34495e; font-size: 13px;">disable it.</tt></li><li></li></ul></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><h4 style="text-align: center;">END CRAWL</h4><p><br /></p><p>Figure 0: boot screen</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEg8UU5oLc2qY5UJZjurwNdVjq2knpME-pSO5sg1LWQP-b1WvpMuwM_YHy8C8iWuXsixgCKKPf93MJ26TsXqRQcoWicP1PL98OLiF2ZDqdKzj5OFgGB7mg0XAbG6HTGhnOfKNd0yeDGxhLEKw2_Od4HMuwyO9kzKQbeTCazW8cqPnq7qXEK85fiKlp1Ngw=s1600" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/a/AVvXsEg8UU5oLc2qY5UJZjurwNdVjq2knpME-pSO5sg1LWQP-b1WvpMuwM_YHy8C8iWuXsixgCKKPf93MJ26TsXqRQcoWicP1PL98OLiF2ZDqdKzj5OFgGB7mg0XAbG6HTGhnOfKNd0yeDGxhLEKw2_Od4HMuwyO9kzKQbeTCazW8cqPnq7qXEK85fiKlp1Ngw=w640-h360" width="640" /></a></div><br /><p><br /></p><p>Figure 1 and 2: photos of the Pi 4, external SSD and X on-screen, plus a USB receptacle.</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEh2xFy2DibAXrVcy8buiF5Jm93VTRdpg6oyyfDaLVQofuHMMIaFS8h-tqQQwQrRVs3WL4QwIuOyIdj7rIuj0C4I0-48JO2RT0mOl6H8UByjzPeewZn-hgp5z1tdwsxYbrakLikN0LhxAkRplEf3ve8X8MFPkWX7-zXCcg0T8nKLJH-KXQa_N6qZ6wRB9w=s1600" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEh2xFy2DibAXrVcy8buiF5Jm93VTRdpg6oyyfDaLVQofuHMMIaFS8h-tqQQwQrRVs3WL4QwIuOyIdj7rIuj0C4I0-48JO2RT0mOl6H8UByjzPeewZn-hgp5z1tdwsxYbrakLikN0LhxAkRplEf3ve8X8MFPkWX7-zXCcg0T8nKLJH-KXQa_N6qZ6wRB9w=w360-h640" width="360" /></a></div><div class="separator" style="clear: both; text-align: center;">Figure 1</div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjvw2GIOGlV1Y51A20sntHgaWYc2PmQZbNpc9BKPyK23xXf9a5u43sMCmCwa4hxKRPu2O8ohYvkKKr_8M9WCi25zD2xIeZTPFrNwqqfD2sTmIpgNvAduVSUIDlvpe3YNeT6A741hSusRtPdtQjCNAOTtgKayQW7WxUdTiaHu_oZYTyoMfWyLbf72IFFfw=s1600" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="640" src="https://blogger.googleusercontent.com/img/a/AVvXsEjvw2GIOGlV1Y51A20sntHgaWYc2PmQZbNpc9BKPyK23xXf9a5u43sMCmCwa4hxKRPu2O8ohYvkKKr_8M9WCi25zD2xIeZTPFrNwqqfD2sTmIpgNvAduVSUIDlvpe3YNeT6A741hSusRtPdtQjCNAOTtgKayQW7WxUdTiaHu_oZYTyoMfWyLbf72IFFfw=w360-h640" width="360" /></a></div><div class="separator" style="clear: both; text-align: center;">Figure 2</div><p><br /></p><div style="text-align: center;">Figures 3 and 4 are screenshots from the Pi4</div><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEibUQo7_stAanN_rwA2MW8fTWAYmC6DXTQcp-NlPeYcajoYZGiVrS67FOltxB46jwqI1RaCjWENPIW6ZyCbNvDh54t6E3DTDgHHKBARzFjwTtwqWhFiOSjLOKvYRtRJyWwTGhEi3Frqet8HnPjUDh7JNCWbzlnH15OQ-5dxzvta920W5z27tPLsK-jGqw=s1201" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="642" data-original-width="1201" height="214" src="https://blogger.googleusercontent.com/img/a/AVvXsEibUQo7_stAanN_rwA2MW8fTWAYmC6DXTQcp-NlPeYcajoYZGiVrS67FOltxB46jwqI1RaCjWENPIW6ZyCbNvDh54t6E3DTDgHHKBARzFjwTtwqWhFiOSjLOKvYRtRJyWwTGhEi3Frqet8HnPjUDh7JNCWbzlnH15OQ-5dxzvta920W5z27tPLsK-jGqw=w400-h214" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;">Figure 3 via xpaint</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhTYI7tH3kBLO1zsLvdqRYr_XWO7exM2MarQQyXCAMY2vJPw6cM-seA4udKz2-3pM0gZzcBEUXrn-KqJktgThzekx7ZYpjr5u6-M8P9zydDynheDG_OcSo4l6QipiGl5FABOQzKQvM7OfAnLk_X3hxU0BKmipLycPr156c2laAyNgmM2Jl0-CgoY_tScw=s221" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="130" data-original-width="221" height="235" src="https://blogger.googleusercontent.com/img/a/AVvXsEhTYI7tH3kBLO1zsLvdqRYr_XWO7exM2MarQQyXCAMY2vJPw6cM-seA4udKz2-3pM0gZzcBEUXrn-KqJktgThzekx7ZYpjr5u6-M8P9zydDynheDG_OcSo4l6QipiGl5FABOQzKQvM7OfAnLk_X3hxU0BKmipLycPr156c2laAyNgmM2Jl0-CgoY_tScw=w400-h235" width="400" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;">Figure 4 xload</div><br /><p>Figure 5: Ganttproject 2.x</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhNDeuCztxZ712dt3AN0Y-vgdhUu5h1nb1OfxuHMUAcSWakIJTkqbTfBgoYM4NLDqvuVIW1UX0aIIOF3qltgYKrR_uijls9e8tzUx-03-3zMQAp1mD9mtv1uDSPTTQm-2o1JnNv-3qgIAnMiEvPpJVUzmh8Gts3G0Iw1JCIHO1ubvpkMccegKE_E7wiNw=s1349" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="659" data-original-width="1349" height="312" src="https://blogger.googleusercontent.com/img/a/AVvXsEhNDeuCztxZ712dt3AN0Y-vgdhUu5h1nb1OfxuHMUAcSWakIJTkqbTfBgoYM4NLDqvuVIW1UX0aIIOF3qltgYKrR_uijls9e8tzUx-03-3zMQAp1mD9mtv1uDSPTTQm-2o1JnNv-3qgIAnMiEvPpJVUzmh8Gts3G0Iw1JCIHO1ubvpkMccegKE_E7wiNw=w640-h312" width="640" /></a></div><br /><p><br /></p><p><br /> Figure 6 and 7 are RRD views of CPU metrics (vcmbox0 and acpitz0).</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjAS_nOt8VdAUKoaee_memgGNbhEe-gJ9Bge9CnDch88SmFKT_5AN_VcDwAZKLPFA6dM5IJx2lMDKrDs3Xml9OKc4tkdJheEGTWeVNjQglr2m1OJ671lD9NYTfYBHtPZfPAEMU0qvVDQI53PWeJVFtNX4xdvHD200oSyOzvOj4wLNPL2ScCROcRiv5YUw=s705" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="291" data-original-width="705" height="264" src="https://blogger.googleusercontent.com/img/a/AVvXsEjAS_nOt8VdAUKoaee_memgGNbhEe-gJ9Bge9CnDch88SmFKT_5AN_VcDwAZKLPFA6dM5IJx2lMDKrDs3Xml9OKc4tkdJheEGTWeVNjQglr2m1OJ671lD9NYTfYBHtPZfPAEMU0qvVDQI53PWeJVFtNX4xdvHD200oSyOzvOj4wLNPL2ScCROcRiv5YUw=w640-h264" width="640" /></a></div>6<br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgV2DkgRzeYVc0K2en_JxpSvd1w3N_aDZHP8beTXq_hc58zo9NBa0-b_NoOQWrVF2PS41L-5hYd9QXop2cl2RlMbPxZZ4o--gf9QVerjxAa-GbTbXzmrFrJKkVlNxLtjCbu9kpK67qt7XL3BH2gHnKJpm3YdMAqUzB8PgzyfkRkxFtznKk1u-t0ECtADA=s705" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="291" data-original-width="705" height="264" src="https://blogger.googleusercontent.com/img/a/AVvXsEgV2DkgRzeYVc0K2en_JxpSvd1w3N_aDZHP8beTXq_hc58zo9NBa0-b_NoOQWrVF2PS41L-5hYd9QXop2cl2RlMbPxZZ4o--gf9QVerjxAa-GbTbXzmrFrJKkVlNxLtjCbu9kpK67qt7XL3BH2gHnKJpm3YdMAqUzB8PgzyfkRkxFtznKk1u-t0ECtADA=w640-h264" width="640" /></a></div>7<br /><p><br /></p>jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0tag:blogger.com,1999:blog-2609346817535564412.post-71752183981405240822021-12-31T15:03:00.003-05:002021-12-31T15:03:44.781-05:002021 The Longest Bengies Season Ever, Part 2<p>Follow-up to <b><a href="https://jspath55.blogspot.com/2021/12/2021-longest-bengies-season-ever-part-1.html">Part 1</a></b>, which covered the winter months from January through March 2021, where the Bengies Theatre season opened months earlier than normal, leading to the longest season. In fact, probably the longest possible season given the drive-in would not operate on a New Years or Christmas week in the beginning or end of the year. How many weeks did they operate? Close to 50, I'd have to think.</p><p><br /></p><h1 style="text-align: left;">April - December</h1><p><br /></p><p></p><ol style="text-align: left;"><li>Free Guy</li><li>Shang Chi and the Legend of the Ten Rings</li><li>Suicide Squad 2021</li><li>Ghostbusters Afterlife</li><li>Eternals</li><li>Respect</li><li>No Time To Die</li><li>Ron's Gone Wrong</li><li>Clifford The Big Red Dog</li><li>Space Jam: A New Legacy / The Mask (1994)</li></ol><div><br /></div><div>That's my top eleven for half (or 3/4) of 2021, in a fairly representative based on my recollections of the film slightly biased by weather, food intake, and crowdedness. </div><div><br /></div><div>The top two were shown at the Scout camp-in, our tenth so far. It was great to see first-run features, and other than The Mask, all on this list are new releases (whether planned for 2020 I am unsure). Of the two, I favored <u>Free Guy</u> for the special features and plot twists more than acting or directing.</div><div><br /></div><div><u>Suicide Squad</u> had the most imaginative scope even more than a James Bond or the <u>10 Rings</u>, even. Brutal, and only cathartic if you have the stomach. For drive-in fare: perfect.</div><div><br /></div><div>The last film we saw in 2021 was the newest <u>Ghostbusters</u>. As a late in life sequel, it had an uphill climb to be digestible, and with the least amount of the old crew as possible, a good tale. I was particularly moved by the many homages and nods to Harold Ramis, even with the modern studio bent to put virtual words and motions into the late population.</div><div><br /></div><div><u>Eternals</u>; spouse loved it. Will watch again on blu-ray.</div><div><br /></div><div>The story of <u>Respect</u> was more hard-hitting than a run-of-the-mill biopic, and I'd have enjoyed it more in an indoor setting for some reason. Maybe not a big-screen epic, a big heart reveal.</div><div><br /></div><div><br /></div><div>Bond. <u>007</u>. Still going. Great escapism. Expected chases and explosions, not disappointed. Daniel Craig is aging slowly, but I think he's close to done with the franchise.</div><div><br /></div><div>I would not have included <u>Ron's Gone Wrong</u> if it didn't have that yippie streak of revolt and independence that so reminds me of the 60s. A kids picture with an adult moral. On the surface, about social media and technology, but underneath human social challenges exemplified by loneliness and exclusion.</div><div><br /></div><div><u>Clifford</u>, likewise, was adorable enough without major sweetness to quality for inclusion. I needed to get to 10 on the list only for my internal goal. Stretching the year into 2 separate "Top 10" lists required viewing more than (or at least as many as) twenty films through. Leaving 10 minutes into the start doesn't qualify either.</div><div><br /></div><div><u>Space Jam</u> hits at the buzzer.</div><div><br /></div><h2 style="text-align: left;">Misses</h2><div><u>Dune </u>shows up on the marquee photo below in mid-November and I flinched and didn't go then. The bill wasn't held over to the next week, and I regret my call. Sigh. Good or bad, would have stayed through the end.</div><div><br /></div><div>We saw trailers for Spider-Man which didn't show at the end of the year. Holiday classics took hold, which makes sense given there would be fewer than 100 customers by my guess. </div><div><br /></div><div>No images from April through June even though the Bengies didn't close more than a handful of scheduled dates through the whole year. I have the pictures, we just didn't go to those for whatever reason (don't like horror, too much animation, and yes, hard rain).</div><div><br /></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhVwZ2jw6StGLsZwSi-JhLmE5anl_iWNQuGue-UHhNsg6Ir_1-L-Xlz4X9nCTIg_SrRdhq0A_KuaWQm1aTF1A9fBcvOyiO3oYxmU708hN5yZL4ubIBsWxMHTPszvwXBw0Ye9UUeXRA3vmCVT-B5Dp-1tZRDFzIilIjP5ouV9sa7TiHvWP5MmKVfKy7cFA=s337" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="333" data-original-width="337" height="316" src="https://blogger.googleusercontent.com/img/a/AVvXsEhVwZ2jw6StGLsZwSi-JhLmE5anl_iWNQuGue-UHhNsg6Ir_1-L-Xlz4X9nCTIg_SrRdhq0A_KuaWQm1aTF1A9fBcvOyiO3oYxmU708hN5yZL4ubIBsWxMHTPszvwXBw0Ye9UUeXRA3vmCVT-B5Dp-1tZRDFzIilIjP5ouV9sa7TiHvWP5MmKVfKy7cFA=s320" width="320" /></a></div><br /><div><br /></div><div><br /></div><div><br /></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgRtB38Md5Z0D143swSv0NA8z3VVUzHaH4iRfw4NpgdSv7234V1Hpvu45oW_clDhmUdmHJts40JRzsii06-HbLNRWEJb76bR-rfCUnfdm-Iw4RmegFbKkSYZWZhqTmJ3ACntGMRfWrL-MGkoZX9gGB8281vKgeSnKVZoeVuUomWNInUU2PpOp9WXrE38w=s800" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="800" data-original-width="450" height="400" src="https://blogger.googleusercontent.com/img/a/AVvXsEgRtB38Md5Z0D143swSv0NA8z3VVUzHaH4iRfw4NpgdSv7234V1Hpvu45oW_clDhmUdmHJts40JRzsii06-HbLNRWEJb76bR-rfCUnfdm-Iw4RmegFbKkSYZWZhqTmJ3ACntGMRfWrL-MGkoZX9gGB8281vKgeSnKVZoeVuUomWNInUU2PpOp9WXrE38w=w225-h400" width="225" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">07-Jul-2021</td></tr></tbody></table><div class="separator" style="clear: both; text-align: center;"><br /></div><div><br /></div><div><br /></div><div><br /></div><br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEil9fCYUFiagdK2WjYYiCZBz9uqg7Leey6PZOKsllRdDQYCSsJRqEU3elBmqd3O2ngig9SGDzxe52CcZ9Q8khR3w697tcyBqCxcXfNUiBuNY0uBOAJcjtrNC50jRK28qdXywVy3YGcOs1TJ8I-T-qYDoHOXMeVXeApwJe-9kz0ygEBA44wOQwuMgjitsw=s800" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="800" data-original-width="450" height="400" src="https://blogger.googleusercontent.com/img/a/AVvXsEil9fCYUFiagdK2WjYYiCZBz9uqg7Leey6PZOKsllRdDQYCSsJRqEU3elBmqd3O2ngig9SGDzxe52CcZ9Q8khR3w697tcyBqCxcXfNUiBuNY0uBOAJcjtrNC50jRK28qdXywVy3YGcOs1TJ8I-T-qYDoHOXMeVXeApwJe-9kz0ygEBA44wOQwuMgjitsw=w225-h400" width="225" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">10-Aug-2021<br /><br /></td></tr></tbody></table><br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEinl5B1tiNQefLmiiwTk0GalofLXPwNkTc_LrbxO0vn-9RUIddCZCB2BEGh_ffE8Zxzdrdk8wQYmM7dpugrsUXwOwZ1bkUaG72IksoEQrJfGeGb_I8hNXgGX_avVNEgBAuDZi5LqHrPmXCmo_6xM2B9oE7OgPqlfhRK3MYFaZ7FgiJUfWecOriardVVtw=s800" style="margin-left: auto; margin-right: auto; text-align: center;"><img border="0" data-original-height="450" data-original-width="800" height="180" src="https://blogger.googleusercontent.com/img/a/AVvXsEinl5B1tiNQefLmiiwTk0GalofLXPwNkTc_LrbxO0vn-9RUIddCZCB2BEGh_ffE8Zxzdrdk8wQYmM7dpugrsUXwOwZ1bkUaG72IksoEQrJfGeGb_I8hNXgGX_avVNEgBAuDZi5LqHrPmXCmo_6xM2B9oE7OgPqlfhRK3MYFaZ7FgiJUfWecOriardVVtw=s320" width="320" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">15-Sep-2021</td></tr></tbody></table><br /><br /><br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjUe5SsPAGFKs3W_L_JDGNdmJA-qN095DqypWBQIrQQcDg45w_-4YVC1Ukx2C6g1AtG2rECmn5BXj10ZvD0r_sc_4XFqwWvN8xiarRTzeIlynqLwugUo1VM6Nm5Afw0PSJnj1hX3YzMPBJXhJBfdM8MzZdRnXAXo5vR4vQ9i7NUJXPTrtozjYSalaylnQ=s800" style="margin-left: auto; margin-right: auto; text-align: center;"><img border="0" data-original-height="450" data-original-width="800" height="180" src="https://blogger.googleusercontent.com/img/a/AVvXsEjUe5SsPAGFKs3W_L_JDGNdmJA-qN095DqypWBQIrQQcDg45w_-4YVC1Ukx2C6g1AtG2rECmn5BXj10ZvD0r_sc_4XFqwWvN8xiarRTzeIlynqLwugUo1VM6Nm5Afw0PSJnj1hX3YzMPBJXhJBfdM8MzZdRnXAXo5vR4vQ9i7NUJXPTrtozjYSalaylnQ=s320" width="320" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">12-Oct-2021</td></tr></tbody></table><br /><br /><br /><br /><br /><br /> <p></p><p></p><p></p><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjPJTIaYVl_-1HM-WmrNR-ps25_r3LURHnb72DgKdHKOs_vhZuV6tk6l3JsT5xSolmfUU-XeNzh6aWs5X8yCEeMknfrKmjFbjb82-CBa9iKQGtN-E_Ur3E8IJz6HJBGpRX05mlJpWMuxTBI0oiSRqzWxva4a9zc7iUyb77hTweC5cN7PaECGmA0V2JXTA=s800" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="535" data-original-width="800" height="214" src="https://blogger.googleusercontent.com/img/a/AVvXsEjPJTIaYVl_-1HM-WmrNR-ps25_r3LURHnb72DgKdHKOs_vhZuV6tk6l3JsT5xSolmfUU-XeNzh6aWs5X8yCEeMknfrKmjFbjb82-CBa9iKQGtN-E_Ur3E8IJz6HJBGpRX05mlJpWMuxTBI0oiSRqzWxva4a9zc7iUyb77hTweC5cN7PaECGmA0V2JXTA=s320" width="320" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">02-Nov-2021</td></tr></tbody></table><br /><br /><br /><br /><br /><div><br /></div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEg3pgrbYCMvc84kmf9g4BdbhxqYFjzf_b783xPr8FdiR6soPdM_eexNG-U8p8Yvid8vI6crZAzYt2iDwjui18oCh3vM0nIPRiPuoGkaTrEgHzYN0ygWsjIR8DhylaVMI7h5TA8PC817QNfKdawtAtnlkGqfaBUE7WB3MBuV3GYKVD_DeYZl1Ep0HSHQMw=s800" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="800" data-original-width="450" height="400" src="https://blogger.googleusercontent.com/img/a/AVvXsEg3pgrbYCMvc84kmf9g4BdbhxqYFjzf_b783xPr8FdiR6soPdM_eexNG-U8p8Yvid8vI6crZAzYt2iDwjui18oCh3vM0nIPRiPuoGkaTrEgHzYN0ygWsjIR8DhylaVMI7h5TA8PC817QNfKdawtAtnlkGqfaBUE7WB3MBuV3GYKVD_DeYZl1Ep0HSHQMw=w225-h400" width="225" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">18-Nov-2021</td></tr></tbody></table><br /><div><br /></div><div><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEhshZarq-O0LhVQXJ0iuFNzLUrcBGGHW0tGd-1HvKEESLcQA_jT-iUjOO51eNeK2AX90E_eDSz1cQTR6feuouyfaN_FqkWe8g4NPaKb5php8EEtauOG-nQFkwVEG7fyBQEhHD0iSaqfyXGM52M0XgiM3fkQDviW4iFzWnr09qIYPqu_WeI26zOoE-K_Aw=s800" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="450" data-original-width="800" height="180" src="https://blogger.googleusercontent.com/img/a/AVvXsEhshZarq-O0LhVQXJ0iuFNzLUrcBGGHW0tGd-1HvKEESLcQA_jT-iUjOO51eNeK2AX90E_eDSz1cQTR6feuouyfaN_FqkWe8g4NPaKb5php8EEtauOG-nQFkwVEG7fyBQEhHD0iSaqfyXGM52M0XgiM3fkQDviW4iFzWnr09qIYPqu_WeI26zOoE-K_Aw=s320" width="320" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">01-Dec-2021<br /><br /></td></tr></tbody></table></div><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br />jspath55http://www.blogger.com/profile/17056770407807443800noreply@blogger.com0