]> pere.pagekite.me Git - homepage.git/blob - blog/index.rss
Announce LinuxCNC gathering 2025.
[homepage.git] / blog / index.rss
1 <?xml version="1.0" encoding="utf-8"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom="http://www.w3.org/2005/Atom">
3 <channel>
4 <title>Petter Reinholdtsen</title>
5 <description></description>
6 <link>http://www.hungry.com/~pere/blog/</link>
7 <atom:link href="http://www.hungry.com/~pere/blog/index.rss" rel="self" type="application/rss+xml" />
8
9 <item>
10 <title>New lsdvd release 0.18 after ten years</title>
11 <link>http://www.hungry.com/~pere/blog/New_lsdvd_release_0_18_after_ten_years.html</link>
12 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/New_lsdvd_release_0_18_after_ten_years.html</guid>
13 <pubDate>Sat, 21 Dec 2024 10:50:00 +0100</pubDate>
14 <description>&lt;p&gt;The rumors of the death of
15 &lt;a href=&quot;https://sourceforge.net/projects/lsdvd/&quot;&gt;the lsdvd project&lt;/a&gt;
16 is slightly exaggerated. And the last few months, we have been
17 working on fixing and improving it, culminating in a new release last
18 night. This is the list of changes in the new 0.18 release, as
19 &lt;a href=&quot;https://sourceforge.net/p/lsdvd/mailman/message/59108028/&quot;&gt;announced
20 on the project mailing list&lt;/a&gt;:&lt;/p&gt;
21
22 &lt;ul&gt;
23
24 &lt;li&gt;Simplified autoconf setup, dropped --enable-debug option.&lt;/li&gt;
25 &lt;li&gt;Improved video resolution reporting (&lt;a href=&quot;https://sourceforge.net/p/lsdvd/patches/8/&quot;&gt;Fixes #8&lt;/a&gt;).&lt;/li&gt;
26 &lt;li&gt;Applied patches fetched from BSDs (&lt;a href=&quot;https://sourceforge.net/p/lsdvd/patches/7/&quot;&gt;Fixes #7&lt;/a&gt;).&lt;/li&gt;
27 &lt;li&gt;Corrected Perl output (&lt;a href=&quot;https://sourceforge.net/p/lsdvd/patches/1/&quot;&gt;Fixes #1&lt;/a&gt;).&lt;/li&gt;
28 &lt;li&gt;Adjusted Pan and Scan entries to produce valid XML.&lt;/li&gt;
29 &lt;li&gt;Changed --help output from stderr to stdout.&lt;/li&gt;
30 &lt;li&gt;Corrected aspect ratio and audio format formatting.&lt;/li&gt;
31 &lt;li&gt;Avoid segfault when hitting a NULL pointer in the IFO structure.&lt;/li&gt;
32 &lt;li&gt;Change build rules to supress compiler flags, to make it easier to
33 spot warnings.&lt;/li&gt;
34 &lt;li&gt;Set default DVD device based on OS (Linux, *BSD, Darwin)&lt;/li&gt;
35 &lt;li&gt;Added libdvdread DVDDiscID to output.&lt;/li&gt;
36 &lt;li&gt;Corrected typo in longest track value in XML format.&lt;/li&gt;
37 &lt;li&gt;Switched XML output to use libxml to avoid string encoding issues.&lt;/li&gt;
38 &lt;li&gt;Added simple build time test suite.&lt;/li&gt;
39 &lt;li&gt;Cleaned up language code handling and adding missing mapping for
40 language codes &#39;nb&#39; and &#39;nn&#39;.&lt;/li&gt;
41 &lt;li&gt;Added JSON output support using -Oj.&lt;/li&gt;
42 &lt;/ul&gt;
43
44 &lt;p&gt;The most exciting news to me is easy access to the DVDDiscID, which
45 make it a lot easier to identify DVD duplicates across a large
46 collection of DVDs. During testing it has proved to be very effective
47 ad identifying when DVDs in a DVD box (say all Star Wars movies) is
48 identical to DVDs sold individually (like the same Star Wars movies
49 packaged individually).&lt;/p&gt;
50
51 &lt;p&gt;Because none of the current developers got access to do tarball
52 releases on Sourceforge any more, the release is only available as
53 &lt;a href=&quot;https://sourceforge.net/p/lsdvd/git/ci/0.18/tree/&quot;&gt;a git
54 tag&lt;/a&gt; in the repository. Lets hope it do not take ten years for the
55 next release. The project are discussing to move away from
56 Sourceforge, but it has not yet concluded.&lt;/p&gt;
57
58 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
59 activities, please send Bitcoin donations to my address
60 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
61 </description>
62 </item>
63
64 <item>
65 <title>More than 200 orphaned Debian packages moved to git, 216 to go</title>
66 <link>http://www.hungry.com/~pere/blog/More_than_200_orphaned_Debian_packages_moved_to_git__216_to_go.html</link>
67 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/More_than_200_orphaned_Debian_packages_moved_to_git__216_to_go.html</guid>
68 <pubDate>Thu, 11 Jul 2024 12:30:00 +0200</pubDate>
69 <description>&lt;p&gt;&lt;a href=&quot;https://people.skolelinux.org/pere/blog/Time_to_move_orphaned_Debian_packages_to_git.html&quot;&gt;In
70 April&lt;/a&gt;, I started migrating orphaned Debian packages without any
71 version control system listed in debian/control to git. This morning,
72 my Debian QA page finally reached 200 QA packages migrated. In
73 reality there are a few more, as the packages uploaded by someone else
74 after my initial upload have disappeared from my QA uploads list. As
75 I am running out of steam and will most likely focus on other parts of
76 Debian moving forward, I hope someone else will find time to continue
77 the migration to bring the number of orphaned packages without any
78 version control system down to zero. Here is the updated recipe if
79 someone want to help out.&lt;/p&gt;
80
81 &lt;p&gt;To locate packages to work on, the following one-liner can be used:&lt;/p&gt;
82
83 &lt;blockquote&gt;&lt;pre&gt;
84 PGPASSWORD=&quot;udd-mirror&quot; psql --port=5432 --host=udd-mirror.debian.net \
85 --username=udd-mirror udd -c &quot;select source from sources \
86 where release = &#39;sid&#39; and (vcs_url ilike &#39;%anonscm.debian.org%&#39; \
87 OR vcs_browser ilike &#39;%anonscm.debian.org%&#39; or vcs_url IS NULL \
88 OR vcs_browser IS NULL) AND maintainer ilike &#39;%packages@qa.debian.org%&#39; \
89 order by random() limit 10;&quot;
90 &lt;/pre&gt;&lt;/blockquote&gt;
91
92 &lt;p&gt;Pick a random package from the list and run the latest edition of
93 the script
94 &lt;tt&gt;&lt;a href=&quot;https://people.skolelinux.org/pere/blog/images/2024-07-11-debian-snap-to-salsa.sh&quot;&gt;debian-snap-to-salsa&lt;/a&gt;&lt;/tt&gt;
95 with the package name as the argument to prepare a git repository with
96 the existing packaging. This will download old Debian packages from
97 &lt;tt&gt;snapshot.debian.org&lt;/tt&gt;. Note that very recent uploads will not
98 be included, so check out the package on &lt;tt&gt;tracker.debian.org&lt;/tt&gt;.
99 Next, run &lt;tt&gt;gbp buildpackage --git-ignore-new&lt;/tt&gt; to verify that
100 the package build as it should, and then visit
101 &lt;a href=&quot;https://salsa.debian.org/debian/&quot;&gt;https://salsa.debian.org/debian/&lt;/a&gt;
102 and make sure there is not already a git repository for the package
103 there. I also did &lt;tt&gt;git log -p debian/control&lt;/tt&gt; and look for vcs
104 entries to check if the package used to have a git repository on
105 Alioth, and see if it can be a useful starting point moving forward.
106 If all this check out, I created a new gitlab project below the Debian
107 group on salsa, push the package source there and upload a new version.
108 I tend to also ensure build hardening is enabled, if it prove to be
109 easy, and check if I can easily fix any lintian issues or bug reports.
110 If the process took more than 20 minutes, I dropped it and moved on to
111 another package.&lt;/p&gt;
112
113 &lt;p&gt;If I found patches in debian/patches/ that were not yet passed
114 upstream, I would send an email to make sure upstream know about them.
115 This has proved to be a valuable step, and caused several new releases
116 for software that initially appeared abandoned. :)&lt;/p&gt;
117
118 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
119 activities, please send Bitcoin donations to my address
120 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
121 </description>
122 </item>
123
124 <item>
125 <title>Some notes from the 2024 LinuxCNC Norwegian developer gathering</title>
126 <link>http://www.hungry.com/~pere/blog/Some_notes_from_the_2024_LinuxCNC_Norwegian_developer_gathering.html</link>
127 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Some_notes_from_the_2024_LinuxCNC_Norwegian_developer_gathering.html</guid>
128 <pubDate>Wed, 10 Jul 2024 14:45:00 +0200</pubDate>
129 <description>&lt;p&gt;The Norwegian &lt;a href=&quot;https://linuxcnc.org/&quot;&gt;The LinuxCNC&lt;/a&gt;
130 developer gathering 2024 is over. It was a great and productive
131 weekend, and I am sad that it is over.&lt;/p&gt;
132
133 &lt;p&gt;Regular readers probably still remember what LinuxCNC is, but her
134 is a quick summary for those that forgot? LinuxCNC is a free software
135 system for numerical control of machines such as milling machines,
136 lathes, plasma cutters, routers, cutting machines, robots and
137 hexapods. It eats G-code and produce motor movement and other changes
138 to the physical world, while reading sensor input.&lt;/p&gt;
139
140 &lt;p&gt;I am not quite sure about the total head count, as not all people
141 were present at the gathering the entire weekend, but I believe it was
142 close to 10 people showing their faces at the gathering. The &quot;hard
143 core&quot; of the group, who stayed the entire weekend, were two from
144 Norway, two from Germany and one from England. I am happy with the
145 outcome from the gathering. We managed to wrap up a new stable
146 LinuxCNC release 2.9.3 and even tested it on real hardware within
147 minutes of the release. The release notes for 2.9.3 are still being
148 written, but should show up on on the project site in the next few
149 days. We managed to go through around twenty pull requests and merge
150 then into either the stable release (2.9) or the development branch
151 (master). There are still around thirty pull requests left to
152 process, so we are not out of work yet. We even managed to
153 fix/improve a slightly worn lathe, and experiment with running a
154 mechanical clock using G-code.&lt;/p&gt;
155
156 &lt;p&gt;The evening barbeque worked well both on Saturday and Sunday. It
157 is quite fun to light up a charcoal grill using compressed air. Sadly
158 the weather was not the best, so we stayed indoors most of the
159 time.&lt;/p&gt;
160
161 &lt;p&gt;This gathering was made possible partly with sponsoring from both
162 &lt;a href=&quot;https://www.redpill-linpro.com/&quot;&gt;Redpill Linpro&lt;/a&gt;,
163 &lt;a href=&quot;https://debian.org/&quot;&gt;Debian&lt;/a&gt; and
164 &lt;a href=&quot;https://nuugfoundation.no/&quot;&gt;NUUG Foundation&lt;/a&gt;, and we are
165 most grateful for the support. I would also like to thank the local
166 school for lending us some furniture, and of course the rest of the
167 members of the organizers team, Asle and Bosse, for their countless
168 contributions. The gathering was such success that we want to do it
169 again next year.&lt;/p&gt;
170
171 &lt;p&gt;We plan to organize the next Norwegian LinuxCNC developer gathering
172 at the end of June next year, the weekend Friday 27th to Sunday 29th
173 of June 2025. I recommend you reserve the dates on your calendar
174 today. Other related communities are also welcome to join in, for
175 example those working on systems like FreeCAD and opencamlib, as I am
176 sure we have much in common and sharing experiences would be very
177 useful to all involved. We are of course looking for sponsors for
178 this gathering already. The total budget for this gathering was
179 around NOK 25.000 (around EUR 2.300), so our needs are quite modest.
180 Perhaps a machine or tools company would like to help out the free
181 software manufacturing community by sponsoring food, lodging and
182 transport for such gathering?&lt;/p&gt;
183 </description>
184 </item>
185
186 <item>
187 <title>«Møter vi liv eller død?», pamfletten som inspirerte</title>
188 <link>http://www.hungry.com/~pere/blog/_M_ter_vi_liv_eller_d_d____pamfletten_som_inspirerte.html</link>
189 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/_M_ter_vi_liv_eller_d_d____pamfletten_som_inspirerte.html</guid>
190 <pubDate>Tue, 4 Jun 2024 11:30:00 +0200</pubDate>
191 <description>&lt;img align=&quot;center&quot; src=&quot;https://people.skolelinux.org/pere/blog/images/2024-06-04-bok-elsa-laula.svg&quot; width=&quot;20%&quot; align=&quot;center&quot; border=&quot;1&quot;&gt;&lt;/a&gt;
192
193 &lt;p&gt;Da jeg i høst hørte jeg et innslag på
194 &lt;a href=&quot;https://radiorakel.no/&quot;&gt;radiOrakel&lt;/a&gt; om en inspirerende dame
195 som levde for over hundre år siden, fikk jeg en vill ide. Elsa Laula
196 var en svensk samisk dame som ikke bare fikk utdannelsen finansiert av
197 den danske dronningen, men som gjorde så god jobb med å inspirere og
198 organisere den samiske befolkningen at det visstnok ble forslått i
199 Sverige å straffeforfølge henne for oppvigleri før hun flyttet fra
200 Sverige til Norge. Radiopraterne fortalte videre at da Elsa Laula ga
201 ut en pamflett for å inspirere samene til samling var dette den
202 første bok gitt ut av en samisk dame noensinne. Jeg fikk høre at
203 denne korte teksten kun fantes på originalspråket svensk under
204 tittelen «Inför lif eller död» og aldri var oversatt til norsk. Da
205 tenkte jeg, der jeg satt i bilen, at en norsk utgave kan vel jeg
206 fikse. Jeg har jo fått oversatt endel bøker, og en liten pamflett på
207 noen få sider burde jo være grei skuring.&lt;/p&gt;
208
209 &lt;p&gt;Den imponerende Elsa Laula, som senere la til etternavnet Renberg, har
210 blant annet fått dokumentaren
211 «&lt;a href=&quot;https://www.nrk.no/video/elsa-laula-renberg-kvinnen-som-samlet-sapmi_SAPP67002117&quot;&gt;Elsa
212 Laula Renberg, kvinnen som samlet Sápmi&lt;/a&gt;» (2017) av Per Kristian
213 Olsen på NRK, NRK-artikkelen
214 «&lt;a href=&quot;https://www.nrk.no/kultur/xl/et-liv-i-kamp-for-samefolkets-rettigheter-1.13351401&quot;&gt;Samenes
215 Jeanne d’Arc&lt;/a&gt;» av Karen Brodshaug Sveen (2017), oppgaven
216 «&lt;a href=&quot;https://nordligefolk.no/wp-content/uploads/2020/03/Elsa-Laulas-Info%CC%88r-Lif-och-Do%CC%88d.pdf&quot;&gt;Elsa
217 Laulas Innför lif och död – sanningsord i de lappska
218 förhållandena&lt;/a&gt;» av Edel Olsen, biografien
219 «&lt;a href=&quot;https://www.siribrochjohansen.no/biografien-om-elsa-laula-renberg/&quot;&gt;Elsa
220 Laula Renberg - Historien om samefolkets store Minerva&lt;/a&gt;» (2015) av
221 Siri Broch Johansen og radiOrakel-podkasten
222 &lt;a href=&quot;https://radiorakel.no/podcast/revolusjonen-har-et-kvinnelig-ansikt-elsa-laula/&quot;&gt;Revolusjonen
223 har et kvinnelig ansikt – Elsa Laula&lt;/a&gt;, for å nevne de jeg har
224 finnet uten å lete spesielt hardt. En virkelig spennende dame, som i
225 tillegg til å inspirere til opprettelsen av samiske organisasjoner,
226 har inspirert til opprettelsen av Sametinget, og født seks barn der
227 fire vokste opp.&lt;/p&gt;
228
229 &lt;p&gt;I dag er jeg veldig glad for å kunne annonsere at
230 &lt;a href=&quot;http://www.hungry.com/~pere/publisher/#infoerlifellerdoed2024&quot;&gt;bokmålsoversettelsen
231 er klar og tilgjengelig&lt;/a&gt; for både bestilling på papir og
232 epub-utgave fra lulu.com, samt som nettside. Den kringkastede
233 bokinformasjonen ser slik ut:&lt;/p&gt;
234
235 &lt;blockquote&gt;
236
237 &lt;p&gt;Den 27 år gamle sørsamiske kvinnen Elsa Laula ga i august 1904 ut
238 en pamflett i Stockholm. Opplaget var på 6000, finansiert av
239 Stockholmsredaktøren Gustav Hedenström, som også bidro i stiftelsen av
240 Lapparnes Centralforbund. Dette kampskriftet var den første boken gitt
241 ut av en samisk kvinne, og hadde som mål å inspirere til opprettelsen
242 av samiske foreninger over hele landet, samt skape blest om
243 sentralforbundet. Pamfletten er et politisk manifest som fortsatt
244 inspirerer i dag.&lt;/p&gt;
245
246 &lt;p&gt;Denne pamfletten er nå for første gang tilgjengelig på bokmål,
247 sammen med en nyutgivelse av originalteksten på svensk.&lt;/p&gt;
248
249 &lt;/blockquote&gt;
250
251 &lt;p&gt;Oversettelsen hadde ikke vært mulig uten gode hjelpere. En virkelig
252 stor innsats både i korrekturarbeidet og utforskning av arkaiske
253 svenske ord, står Axel Rosén bak. I tillegg har jeg fått innspill fra
254 Edel May Karlsen og flere andre både på språkføring og historisk
255 bakgrunn for å forstå teksten.&lt;/p&gt;
256
257 &lt;p&gt;En kuriositet som jeg oppdaget i arbeidet med oversettelsen er at
258 det ikke stemmer at denne boken ikke var oversatt til noen andre
259 språk. Anna Wuolab oversatte den til nordsamisk i 2017 i en utgave
260 gitt ut av samisk skribent- och författarförening (Bágu čálliid
261 searvi) under tittelen «Eallit vai jápmit? : duohtavuođasánit sámi
262 diliid birra = Inför lif eller död? : sanningsord i de lappska
263 förhållandena». Papirutgaven er så vidt jeg kan forstå utsolgt fra
264 forlaget og jeg har ikke klart å finne informasjonsside om boken på
265 Internett. Mulig den er mulig å få tak i som ebok, hvis en skal tro
266 &lt;a href=&quot;https://search.worldcat.org/title/1405213087&quot;&gt;oppføring i
267 worldcat&lt;/a&gt;.&lt;/p&gt;
268
269 &lt;p&gt;Oversetterrammeverket jeg har satt opp for å gjennomføre dette
270 oversettelsesprosjektet håndterer flere språk. Jeg er igang med
271 engelsk utgave, og er åpen for å også gi ut andre oversettelser hvis
272 noen er interessert i å gjøre jobben. Det hadde vært ekstra moro å gi
273 den ut på sørsamisk, det samiske språket i regionen der Elsa Laula kom
274 fra. Der er jeg som vanlig avhengig av frivillige som er også
275 interessert i å gjøre dette på dugnad.&lt;/p&gt;
276
277 &lt;p&gt;Som vanlig, hvis du bruker Bitcoin og ønsker å vise din støtte til
278 det jeg driver med, setter jeg pris på om du sender Bitcoin-donasjoner
279 til min adresse
280 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;. Merk,
281 betaling med bitcoin er ikke anonymt. :)&lt;/p&gt;
282 </description>
283 </item>
284
285 <item>
286 <title>The 2024 LinuxCNC Norwegian developer gathering</title>
287 <link>http://www.hungry.com/~pere/blog/The_2024_LinuxCNC_Norwegian_developer_gathering.html</link>
288 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/The_2024_LinuxCNC_Norwegian_developer_gathering.html</guid>
289 <pubDate>Fri, 31 May 2024 07:45:00 +0200</pubDate>
290 <description>&lt;p&gt;&lt;a href=&quot;https://linuxcnc.org/&quot;&gt;The LinuxCNC project&lt;/a&gt; is still
291 going strong. And I believe this great software system for numerical control of
292 machines such as milling machines, lathes, plasma cutters, routers,
293 cutting machines, robots and hexapods, would do even better with more
294 in-person developer gatherings, so we plan to organise such gathering
295 this summer too.&lt;/p&gt;
296
297 &lt;p&gt;The Norwegian LinuxCNC developer gathering take place the weekend
298 Friday July 5th to 7th this year, and is open for everyone interested
299 in contributing to LinuxCNC and free software manufacturing. Up to
300 date information about the gathering can be found in
301 &lt;a href=&quot;https://sourceforge.net/p/emc/mailman/emc-developers/thread/123eaae0-f3b9-4170-a251-b7d608f1e974%40bofh.no/&quot;&gt;the
302 developer mailing list thread&lt;/a&gt; where the gathering was announced.
303 Thanks to the good people at
304
305 &lt;a href=&quot;https://www.debian.org/&quot;&gt;Debian&lt;/a&gt; as well as leftover money
306 from last years gathering from
307 &lt;a href=&quot;https://www.redpill-linpro.com/&quot;&gt;Redpill-Linpro&lt;/a&gt; and
308 &lt;a href=&quot;https://www.nuugfoundation.no/no/&quot;&gt;NUUG Foundation&lt;/a&gt;, we
309 have enough sponsor funds to pay for food, and probably also shelter
310 for the people traveling from afar to join us. If you would like to
311 join the gathering, get in touch and add your details on
312 &lt;a href=&quot;https://pad.efn.no/p/linuxcnc-2024-norway&quot;&gt;the pad&lt;/a&gt;.&lt;/p&gt;
313
314 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
315 activities, please send Bitcoin donations to my address
316 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
317 </description>
318 </item>
319
320 <item>
321 <title>45 orphaned Debian packages moved to git, 391 to go</title>
322 <link>http://www.hungry.com/~pere/blog/45_orphaned_Debian_packages_moved_to_git__391_to_go.html</link>
323 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/45_orphaned_Debian_packages_moved_to_git__391_to_go.html</guid>
324 <pubDate>Thu, 25 Apr 2024 22:00:00 +0200</pubDate>
325 <description>&lt;p&gt;Nine days ago, I started migrating orphaned Debian packages with no
326 version control system listed in debian/control of the source to git.
327 At the time there were 438 such packages. Now there are 391,
328 according to the UDD. In reality it is slightly less, as there is a
329 delay between uploads and UDD updates. In the nine days since, I have
330 thus been able to work my way through ten percent of the packages. I
331 am starting to run out of steam, and hope someone else will also help
332 brushing some dust of these packages. Here is a recipe how to do it.
333
334 I start by picking a random package by querying the UDD for a list of
335 10 random packages from the set of remaining packages:
336
337 &lt;blockquote&gt;&lt;pre&gt;
338 PGPASSWORD=&quot;udd-mirror&quot; psql --port=5432 --host=udd-mirror.debian.net \
339 --username=udd-mirror udd -c &quot;select source from sources \
340 where release = &#39;sid&#39; and (vcs_url ilike &#39;%anonscm.debian.org%&#39; \
341 OR vcs_browser ilike &#39;%anonscm.debian.org%&#39; or vcs_url IS NULL \
342 OR vcs_browser IS NULL) AND maintainer ilike &#39;%packages@qa.debian.org%&#39; \
343 order by random() limit 10;&quot;
344 &lt;/pre&gt;&lt;/blockquote&gt;
345
346 &lt;p&gt;Next, I visit http://salsa.debian.org/debian and search for the
347 package name, to ensure no git repository already exist. If it does,
348 I clone it and try to get it to an uploadable state, and add the Vcs-*
349 entries in d/control to make the repository more widely known. These
350 packages are a minority, so I will not cover that use case here.&lt;/p&gt;
351
352 &lt;p&gt;For packages without an existing git repository, I run the
353 following script &lt;tt&gt;debian-snap-to-salsa&lt;/tt&gt; to prepare a git
354 repository with the existing packaging.&lt;/p&gt;
355
356 &lt;blockquote&gt;&lt;pre&gt;
357 #!/bin/sh
358 #
359 # See also https://bugs.debian.org/804722#31
360
361 set -e
362
363 # Move to this Standards-Version.
364 SV_LATEST=4.7.0
365
366 PKG=&quot;$1&quot;
367
368 if [ -z &quot;$PKG&quot; ]; then
369 echo &quot;usage: $0 &lt;pkgname&gt;&quot;
370 exit 1
371 fi
372
373 if [ -e &quot;${PKG}-salsa&quot; ]; then
374 echo &quot;error: ${PKG}-salsa already exist, aborting.&quot;
375 exit 1
376 fi
377
378 if [ -z &quot;ALLOWFAILURE&quot; ] ; then
379 ALLOWFAILURE=false
380 fi
381
382 # Fetch every snapshotted source package. Manually loop until all
383 # transfers succeed, as &#39;gbp import-dscs --debsnap&#39; do not fail on
384 # download failures.
385 until debsnap --force -v $PKG || $ALLOWFAILURE ; do sleep 1; done
386 mkdir ${PKG}-salsa; cd ${PKG}-salsa
387 git init
388
389 # Specify branches to override any debian/gbp.conf file present in the
390 # source package.
391 gbp import-dscs --debian-branch=master --upstream-branch=upstream \
392 --pristine-tar ../source-$PKG/*.dsc
393
394 # Add Vcs pointing to Salsa Debian project (must be manually created
395 # and pushed to).
396 if ! grep -q ^Vcs- debian/control ; then
397 awk &quot;BEGIN { s=1 } /^\$/ { if (s==1) { print \&quot;Vcs-Browser: https://salsa.debian.org/debian/$PKG\&quot;; print \&quot;Vcs-Git: https://salsa.debian.org/debian/$PKG.git\&quot; }; s=0 } { print }&quot; &lt; debian/control &gt; debian/control.new &amp;&amp; mv debian/control.new debian/control
398 git commit -m &quot;Updated vcs in d/control to Salsa.&quot; debian/control
399 fi
400
401 # Tell gbp to enforce the use of pristine-tar.
402 inifile +inifile debian/gbp.conf +create +section DEFAULT +key pristine-tar +value True
403 git add debian/gbp.conf
404 git commit -m &quot;Added d/gbp.conf to enforce the use of pristine-tar.&quot; debian/gbp.conf
405
406 # Update to latest Standards-Version.
407 SV=&quot;$(grep ^Standards-Version: debian/control|awk &#39;{print $2}&#39;)&quot;
408 if [ $SV_LATEST != $SV ]; then
409 sed -i &quot;s/\(Standards-Version: \)\(.*\)/\1$SV_LATEST/&quot; debian/control
410 git commit -m &quot;Updated Standards-Version from $SV to $SV_LATEST.&quot; debian/control
411 fi
412
413 if grep -q pkg-config debian/control; then
414 sed -i s/pkg-config/pkgconf/ debian/control
415 git commit -m &quot;Replaced obsolete pkg-config build dependency with pkgconf.&quot; debian/control
416 fi
417
418 if grep -q libncurses5-dev debian/control; then
419 sed -i s/libncurses5-dev/libncurses-dev/ debian/control
420 git commit -m &quot;Replaced obsolete libncurses5-dev build dependency with libncurses-dev.&quot; debian/control
421 fi
422 &lt;/pre&gt;&lt;/blockquote&gt;
423
424 Some times the debsnap script fail to download some of the versions.
425 In those cases I investigate, and if I decide the failing versions
426 will not be missed, I call it using ALLOWFAILURE=true to ignore the
427 problem and create the git repository anyway.&lt;/p&gt;
428
429 &lt;p&gt;With the git repository in place, I do a test build (gbp
430 buildpackage) to ensure the build is actually working. If it does not
431 I pick a different package, or if the build failure is trivial to fix,
432 I fix it before continuing. At this stage I revisit
433 http://salsa.debian.org/debian and create the project under this group
434 for the package. I then follow the instructions to publish the local
435 git repository. Here is from a recent example:&lt;/p&gt;
436
437 &lt;blockquote&gt;&lt;pre&gt;
438 git remote add origin git@salsa.debian.org:debian/perl-byacc.git
439 git push --set-upstream origin master upstream pristine-tar
440 git push --tags
441 &lt;/pre&gt;&lt;/blockquote&gt;
442
443 &lt;p&gt;With a working build, I have a look at the build rules if I want to
444 remove some more dust. I normally try to move to debhelper compat
445 level 13, which involves removing debian/compat and modifying
446 debian/control to build depend on debhelper-compat (=13). I also test
447 with &#39;Rules-Requires-Root: no&#39; in debian/control and verify in
448 debian/rules that hardening is enabled, and include all of these if
449 the package still build. If it fail to build with level 13, I try
450 with 12, 11, 10 and so on until I find a level where it build, as I do
451 not want to spend a lot of time fixing build issues.&lt;/p&gt;
452
453 &lt;p&gt;Some times, when I feel inspired, I make sure debian/copyright is
454 converted to the machine readable format, often by starting with
455 &#39;debhelper -cc&#39; and then cleaning up the autogenerated content until
456 it matches realities. If I feel like it, I might also clean up
457 non-dh-based debian/rules files to use the short style dh build
458 rules.&lt;/p&gt;
459
460 &lt;p&gt;Once I have removed all the dust I care to process for the package,
461 I run &#39;gbp dch&#39; to generate a debian/changelog entry based on the
462 commits done so far, run &#39;dch -r&#39; to switch from &#39;UNRELEASED&#39; to
463 &#39;unstable&#39; and get an editor to make sure the &#39;QA upload&#39; marker is in
464 place and that all long commit descriptions are wrapped into sensible
465 lengths, run &#39;debcommit --release -a&#39; to commit and tag the new
466 debian/changelog entry, run &#39;debuild -S&#39; to build a source only
467 package, and &#39;dput ../perl-byacc_2.0-10_source.changes&#39; to do the
468 upload. During the entire process, and many times per step, I run
469 &#39;debuild&#39; to verify the changes done still work. I also some times
470 verify the set of built files using &#39;find debian&#39; to see if I can spot
471 any problems (like no file in usr/bin any more or empty package). I
472 also try to fix all lintian issues reported at the end of each
473 &#39;debuild&#39; run.&lt;/p&gt;
474
475 &lt;p&gt;If I find Debian specific patches, I try to ensure their metadata
476 is fairly up to date and some times I even try to reach out to
477 upstream, to make the upstream project aware of the patches. Most of
478 my emails bounce, so the success rate is low. For projects with no
479 Homepage entry in debian/control I try to track down one, and for
480 packages with no debian/watch file I try to create one. But at least
481 for some of the packages I have been unable to find a functioning
482 upstream, and must skip both of these.&lt;/p&gt;
483
484 &lt;p&gt;If I could handle ten percent in nine days, twenty people could
485 complete the rest in less then five days. I use approximately twenty
486 minutes per package, when I have twenty minutes spare time to spend.
487 Perhaps you got twenty minutes to spare too?&lt;/p&gt;
488
489 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
490 activities, please send Bitcoin donations to my address
491 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
492
493 &lt;p&gt;&lt;strong&gt;Update 2024-05-04:&lt;/strong&gt; There is
494 &lt;a href=&quot;https://people.skolelinux.org/pere/blog/images/2024-05-04-debian-snap-to-salsa.sh&quot;&gt;an
495 updated edition of my migration script&lt;/a&gt;, last updated
496 2024-05-04.&lt;/p&gt;
497 </description>
498 </item>
499
500 <item>
501 <title>RAID status from LSI Megaraid controllers in Debian</title>
502 <link>http://www.hungry.com/~pere/blog/RAID_status_from_LSI_Megaraid_controllers_in_Debian.html</link>
503 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/RAID_status_from_LSI_Megaraid_controllers_in_Debian.html</guid>
504 <pubDate>Wed, 17 Apr 2024 17:00:00 +0200</pubDate>
505 <description>&lt;p&gt;I am happy to report that
506 &lt;a href=&quot;https://github.com/namiltd/megactl&quot;&gt;the megactl package&lt;/a&gt;,
507 useful to fetch RAID status when using the LSI Megaraid controller,
508 now is available in Debian. It passed NEW a few days ago, and is now
509 &lt;a href=&quot;https://tracker.debian.org/pkg/megactl&quot;&gt;available in
510 unstable&lt;/a&gt;, and probably showing up in testing in a weeks time. The
511 new version should provide Appstream hardware mapping and should
512 integrate nicely with isenkram.&lt;/p&gt;
513
514 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
515 activities, please send Bitcoin donations to my address
516 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
517
518 </description>
519 </item>
520
521 <item>
522 <title>Time to move orphaned Debian packages to git</title>
523 <link>http://www.hungry.com/~pere/blog/Time_to_move_orphaned_Debian_packages_to_git.html</link>
524 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Time_to_move_orphaned_Debian_packages_to_git.html</guid>
525 <pubDate>Sun, 14 Apr 2024 09:30:00 +0200</pubDate>
526 <description>&lt;p&gt;There are several packages in Debian without a associated git
527 repository with the packaging history. This is unfortunate and it
528 would be nice if more of these would do so. Quote a lot of these are
529 without a maintainer, ie listed as maintained by the
530 &#39;&lt;a href=&quot;https://qa.debian.org/developer.php?email=packages%40qa.debian.org&quot;&gt;Debian
531 QA Group&lt;/a&gt;&#39; place holder. In fact, 438 packages have this property
532 according to UDD (&lt;tt&gt;SELECT source FROM sources WHERE release = &#39;sid&#39;
533 AND (vcs_url ilike &#39;%anonscm.debian.org%&#39; OR vcs_browser ilike
534 &#39;%anonscm.debian.org%&#39; or vcs_url IS NULL OR vcs_browser IS NULL) AND
535 maintainer ilike &#39;%packages@qa.debian.org%&#39;;&lt;/tt&gt;). Such packages can
536 be updated without much coordination by any Debian developer, as they
537 are considered orphaned.&lt;/p&gt;
538
539 &lt;p&gt;To try to improve the situation and reduce the number of packages
540 without associated git repository, I started a few days ago to search
541 out candiates and provide them with a git repository under the
542 &#39;debian&#39; collaborative Salsa project. I started with the packages
543 pointing to obsolete Alioth git repositories, and am now working my
544 way across the ones completely without git references. In addition to
545 updating the Vcs-* debian/control fields, I try to update
546 Standards-Version, debhelper compat level, simplify d/rules, switch to
547 Rules-Requires-Root: no and fix lintian issues reported. I only
548 implement those that are trivial to fix, to avoid spending too much
549 time on each orphaned package. So far my experience is that it take
550 aproximately 20 minutes to convert a package without any git
551 references, and a lot more for packages with existing git repositories
552 incompatible with git-buildpackages.&lt;/p&gt;
553
554 &lt;p&gt;So far I have converted 10 packages, and I will keep going until I
555 run out of steam. As should be clear from the numbers, there is
556 enough packages remaining for more people to do the same without
557 stepping on each others toes. I find it useful to start by searching
558 for a git repo already on salsa, as I find that some times a git repo
559 has already been created, but no new version is uploaded to Debian
560 yet. In those cases I start with the existing git repository. I
561 convert to the git-buildpackage+pristine-tar workflow, and ensure a
562 debian/gbp.conf file with &quot;pristine-tar=True&quot; is added early, to avoid
563 uploading a orig.tar.gz with the wrong checksum by mistake. Did that
564 three times in the begin before I remembered my mistake.&lt;/p&gt;
565
566 &lt;p&gt;So, if you are a Debian Developer and got some spare time, perhaps
567 considering migrating some orphaned packages to git?&lt;/p&gt;
568
569 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
570 activities, please send Bitcoin donations to my address
571 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
572 </description>
573 </item>
574
575 <item>
576 <title>Plain text accounting file from your bitcoin transactions</title>
577 <link>http://www.hungry.com/~pere/blog/Plain_text_accounting_file_from_your_bitcoin_transactions.html</link>
578 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/Plain_text_accounting_file_from_your_bitcoin_transactions.html</guid>
579 <pubDate>Thu, 7 Mar 2024 18:00:00 +0100</pubDate>
580 <description>&lt;p&gt;A while back I wrote a small script to extract the Bitcoin
581 transactions in a wallet in the
582 &lt;ahref=&quot;https://plaintextaccounting.org/&quot;&gt;ledger plain text accounting
583 format&lt;/a&gt;. The last few days I spent some time to get it working
584 better with more special cases. In case it can be useful for others,
585 here is a copy:&lt;/p&gt;
586
587 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
588 #!/usr/bin/python3
589 # -*- coding: utf-8 -*-
590 # Copyright (c) 2023-2024 Petter Reinholdtsen
591
592 from decimal import Decimal
593 import json
594 import subprocess
595 import time
596
597 import numpy
598
599 def format_float(num):
600 return numpy.format_float_positional(num, trim=&#39;-&#39;)
601
602 accounts = {
603 u&#39;amount&#39; : &#39;Assets:BTC:main&#39;,
604 }
605
606 addresses = {
607 &#39;&lt;some address&gt;&#39; : &#39;Assets:bankkonto&#39;,
608 &#39;&lt;some address&gt;&#39; : &#39;Assets:bankkonto&#39;,
609 }
610
611 def exec_json(cmd):
612 proc = subprocess.Popen(cmd,stdout=subprocess.PIPE)
613 j = json.loads(proc.communicate()[0], parse_float=Decimal)
614 return j
615
616 def list_txs():
617 # get all transactions for all accounts / addresses
618 c = 0
619 txs = []
620 txidfee = {}
621 limit=100000
622 cmd = [&#39;bitcoin-cli&#39;, &#39;listtransactions&#39;, &#39;*&#39;, str(limit)]
623 if True:
624 txs.extend(exec_json(cmd))
625 else:
626 # Useful for debugging
627 with open(&#39;transactions.json&#39;) as f:
628 txs.extend(json.load(f, parse_float=Decimal))
629 #print txs
630 for tx in sorted(txs, key=lambda a: a[&#39;time&#39;]):
631 # print tx[&#39;category&#39;]
632 if &#39;abandoned&#39; in tx and tx[&#39;abandoned&#39;]:
633 continue
634 if &#39;confirmations&#39; in tx and 0 &gt;= tx[&#39;confirmations&#39;]:
635 continue
636 when = time.strftime(&#39;%Y-%m-%d %H:%M&#39;, time.localtime(tx[&#39;time&#39;]))
637 if &#39;message&#39; in tx:
638 desc = tx[&#39;message&#39;]
639 elif &#39;comment&#39; in tx:
640 desc = tx[&#39;comment&#39;]
641 elif &#39;label&#39; in tx:
642 desc = tx[&#39;label&#39;]
643 else:
644 desc = &#39;n/a&#39;
645 print(&quot;%s %s&quot; % (when, desc))
646 if &#39;address&#39; in tx:
647 print(&quot; ; to bitcoin address %s&quot; % tx[&#39;address&#39;])
648 else:
649 print(&quot; ; missing address in transaction, txid=%s&quot; % tx[&#39;txid&#39;])
650 print(f&quot; ; amount={tx[&#39;amount&#39;]}&quot;)
651 if &#39;fee&#39;in tx:
652 print(f&quot; ; fee={tx[&#39;fee&#39;]}&quot;)
653 for f in accounts.keys():
654 if f in tx and Decimal(0) != tx[f]:
655 amount = tx[f]
656 print(&quot; %-20s %s BTC&quot; % (accounts[f], format_float(amount)))
657 if &#39;fee&#39; in tx and Decimal(0) != tx[&#39;fee&#39;]:
658 # Make sure to list fee used in several transactions only once.
659 if &#39;fee&#39; in tx and tx[&#39;txid&#39;] in txidfee \
660 and tx[&#39;fee&#39;] == txidfee[tx[&#39;txid&#39;]]:
661 True
662 else:
663 fee = tx[&#39;fee&#39;]
664 print(&quot; %-20s %s BTC&quot; % (accounts[&#39;amount&#39;], format_float(fee)))
665 print(&quot; %-20s %s BTC&quot; % (&#39;Expences:BTC-fee&#39;, format_float(-fee)))
666 txidfee[tx[&#39;txid&#39;]] = tx[&#39;fee&#39;]
667
668 if &#39;address&#39; in tx and tx[&#39;address&#39;] in addresses:
669 print(&quot; %s&quot; % addresses[tx[&#39;address&#39;]])
670 else:
671 if &#39;generate&#39; == tx[&#39;category&#39;]:
672 print(&quot; Income:BTC-mining&quot;)
673 else:
674 if amount &lt; Decimal(0):
675 print(f&quot; Assets:unknown:sent:update-script-addr-{tx[&#39;address&#39;]}&quot;)
676 else:
677 print(f&quot; Assets:unknown:received:update-script-addr-{tx[&#39;address&#39;]}&quot;)
678
679 print()
680 c = c + 1
681 print(&quot;# Found %d transactions&quot; % c)
682 if limit == c:
683 print(f&quot;# Warning: Limit {limit} reached, consider increasing limit.&quot;)
684
685 def main():
686 list_txs()
687
688 main()
689 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
690
691 &lt;p&gt;It is more of a proof of concept, and I do not expect it to handle
692 all edge cases, but it worked for me, and perhaps you can find it
693 useful too.&lt;/p&gt;
694
695 &lt;p&gt;To get a more interesting result, it is useful to map accounts sent
696 to or received from to accounting accounts, using the
697 &lt;tt&gt;addresses&lt;/tt&gt; hash. As these will be very context dependent, I
698 leave out my list to allow each user to fill out their own list of
699 accounts. Out of the box, &#39;ledger reg BTC:main&#39; should be able to
700 show the amount of BTCs present in the wallet at any given time in the
701 past. For other and more valuable analysis, a account plan need to be
702 set up in the &lt;tt&gt;addresses&lt;/tt&gt; hash. Here is an example
703 transaction:&lt;/p&gt;
704
705 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
706 2024-03-07 17:00 Donated to good cause
707 Assets:BTC:main -0.1 BTC
708 Assets:BTC:main -0.00001 BTC
709 Expences:BTC-fee 0.00001 BTC
710 Expences:donations 0.1 BTC
711 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
712
713 &lt;p&gt;It need a running Bitcoin Core daemon running, as it connect to it
714 using &lt;tt&gt;bitcoin-cli listtransactions * 100000&lt;/tt&gt; to extract the
715 transactions listed in the Wallet.&lt;/p&gt;
716
717 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
718 activities, please send Bitcoin donations to my address
719 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
720 </description>
721 </item>
722
723 <item>
724 <title>RAID status from LSI Megaraid controllers using free software</title>
725 <link>http://www.hungry.com/~pere/blog/RAID_status_from_LSI_Megaraid_controllers_using_free_software.html</link>
726 <guid isPermaLink="true">http://www.hungry.com/~pere/blog/RAID_status_from_LSI_Megaraid_controllers_using_free_software.html</guid>
727 <pubDate>Sun, 3 Mar 2024 22:40:00 +0100</pubDate>
728 <description>&lt;p&gt;The last few days I have revisited RAID setup using the LSI
729 Megaraid controller. These are a family of controllers called PERC by
730 Dell, and is present in several old PowerEdge servers, and I recently
731 got my hands on one of these. I had forgotten how to handle this RAID
732 controller in Debian, so I had to take a peek in the
733 &lt;a href=&quot;https://wiki.debian.org/LinuxRaidForAdmins&quot;&gt;Debian wiki page
734 &quot;Linux and Hardware RAID: an administrator&#39;s summary&quot;&lt;/a&gt; to remember
735 what kind of software is available to configure and monitor the disks
736 and controller. I prefer Free Software alternatives to proprietary
737 tools, as the later tend to fall into disarray once the manufacturer
738 loose interest, and often do not work with newer Linux Distributions.
739 Sadly there is no free software tool to configure the RAID setup, only
740 to monitor it. RAID can provide improved reliability and resilience in
741 a storage solution, but only if it is being regularly checked and any
742 broken disks are being replaced in time. I thus want to ensure some
743 automatic monitoring is available.&lt;/p&gt;
744
745 &lt;p&gt;In the discovery process, I came across a old free software tool to
746 monitor PERC2, PERC3, PERC4 and PERC5 controllers, which to my
747 surprise is not present in debian. To help change that I created a
748 &lt;a href=&quot;https://bugs.debian.org/1065322&quot;&gt;request for packaging of the
749 megactl package&lt;/a&gt;, and tried to track down a usable version.
750 &lt;a href=&quot;https://sourceforge.net/p/megactl/&quot;&gt;The original project
751 site&lt;/a&gt; is on Sourceforge, but as far as I can tell that project has
752 been dead for more than 15 years. I managed to find a
753 &lt;a href=&quot;https://github.com/hmage/megactl&quot;&gt;more recent fork on
754 github&lt;/a&gt; from user hmage, but it is unclear to me if this is still
755 being maintained. It has not seen much improvements since 2016. A
756 &lt;a href=&quot;https://github.com/namiltd/megactl&quot;&gt;more up to date
757 edition&lt;/a&gt; is a git fork from the original github fork by user
758 namiltd, and this newer fork seem a lot more promising. The owner of
759 this github repository has replied to change proposals within hours,
760 and had already added some improvements and support for more hardware.
761 Sadly he is reluctant to commit to maintaining the tool and stated in
762 &lt;a href=&quot;https://github.com/namiltd/megactl/pull/1&quot;&gt;my first pull
763 request&lt;/A&gt; that he think a new release should be made based on the
764 git repository owned by hmage. I perfectly understand this
765 reluctance, as I feel the same about maintaining yet another package
766 in Debian when I barely have time to take care of the ones I already
767 maintain, but do not really have high hopes that hmage will have time
768 to spend on it and hope namiltd will change his mind.&lt;/p&gt;
769
770 &lt;p&gt;In any case, I created
771 &lt;a href=&quot;https://salsa.debian.org/debian/megactl&quot;&gt;a draft package&lt;/a&gt;
772 based on the namiltd edition and put it under the debian group on
773 salsa.debian.org. If you own a Dell PowerEdge server with one of the
774 PERC controllers, or any other RAID controller using the megaraid or
775 megaraid_sas Linux kernel modules, you might want to check it out. If
776 enough people are interested, perhaps the package will make it into
777 the Debian archive.&lt;/p&gt;
778
779 &lt;p&gt;There are two tools provided, megactl for the megaraid Linux kernel
780 module, and megasasctl for the megaraid_sas Linux kernel module. The
781 simple output from the command on one of my machines look like this
782 (yes, I know some of the disks have problems. :).&lt;/p&gt;
783
784 &lt;pre&gt;
785 # megasasctl
786 a0 PERC H730 Mini encl:1 ldrv:2 batt:good
787 a0d0 558GiB RAID 1 1x2 optimal
788 a0d1 3067GiB RAID 0 1x11 optimal
789 a0e32s0 558GiB a0d0 online errs: media:0 other:19
790 a0e32s1 279GiB a0d1 online
791 a0e32s2 279GiB a0d1 online
792 a0e32s3 279GiB a0d1 online
793 a0e32s4 279GiB a0d1 online
794 a0e32s5 279GiB a0d1 online
795 a0e32s6 279GiB a0d1 online
796 a0e32s8 558GiB a0d0 online errs: media:0 other:17
797 a0e32s9 279GiB a0d1 online
798 a0e32s10 279GiB a0d1 online
799 a0e32s11 279GiB a0d1 online
800 a0e32s12 279GiB a0d1 online
801 a0e32s13 279GiB a0d1 online
802
803 #
804 &lt;/pre&gt;
805
806 &lt;p&gt;In addition to displaying a simple status report, it can also test
807 individual drives and print the various event logs. Perhaps you too
808 find it useful?&lt;/p&gt;
809
810 &lt;p&gt;In the packaging process I provided some patches upstream to
811 improve installation and ensure
812 &lt;ahref=&quot;https://github.com/namiltd/megactl/pull/2&quot;&gt;a Appstream
813 metainfo file is provided&lt;/a&gt; to list all supported HW, to allow
814 &lt;a href=&quot;https://tracker.debian.org/isenkram&quot;&gt;isenkram&lt;/a&gt; to propose
815 the package on all servers with a relevant PCI card.&lt;/p&gt;
816
817 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
818 activities, please send Bitcoin donations to my address
819 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
820
821 </description>
822 </item>
823
824 </channel>
825 </rss>