Re: OT: Top Posting
On 5/15/24 10:50, Nicolas George wrote: Cindy Sue Causey (12024-05-15): PS Afterthought is that email signatures are another of that widely accepted netiquette set of standards. You can add the “Re: ” to that list. It is the sequence of four octets 0x52, 0x65, 0x3a, 0x20, and nothing else. The MUAs who write “RE: ” are wrong. The MUAs who write “Re : ” are wrong. The MUAs who write “AW: ” are wrong. The MUAs who put it in base64 are wrong. It is not a string that is designed to be internationalized, we cannot expect every MUA to know every stupid local or vanity variant of “Re: ”. + 5, Excellent point Nicolas The same can be said for sig separators. One fellow here has it as part of his sig but his definition in his sig is incomplete. Its actually an lf,dash,dash,space.lf ignoring the comma's I used here..Some email agents won't use it as a sig separator w/o the full lf's as wrapper. cr's are not valid subs for the lf's.. Regards, Take care & stay well Nicolas. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: OT: Top Posting
On 5/15/24 10:06, Nicolas George wrote: Cindy Sue Causey (12024-05-15): Best as I was able to discern from the Net [0], 72 characters is the magic number for line length because 4 extra characters are added to both ends when e.g. git processes submissions. Makes good common sense to me. Git is an order of magnitude younger than the limit at 72 characters. PS I thought it was 80. Guess it was about those extra 8 characters. It is 80 but you anticipate that people will be adding “> ” in front of your lines. "Pretty well agreed upon..." That's implying that unspoken list standards are really not users "picking on each other." Listserv standards is a concept that has evolved over decades for rational reasons as Developer and User communications evolved. Indeed. It's easy to mess up badly while moving emails around As a general rule, GUIs suck at anything but trivial tasks. Evolution appears to do some form of maybe symlinking instead of downloading so everything is available almost immediately seconds after the first time Evolution is ever fired up. The IMAP protocol is designed to let us manipulate mails directly on the server without downloading the bulk of them. A lot of GUI MUA are still designed around the old paradigm where mails are downloaded, and turned it into some kind of cache: it rarely works well. Manipulate mails directly on the server. Have a backup. If your server is often down and accessing the mails is urgent, have a local *copy* of it. reach back a limited time span into history before I a-sume Gmail cut off access to touching older emails. If you want mail that works well, start by avoiding services meant for the lowest common denominator of the general public. Regards, I'll add that googles gmail, written by former outlook developers is the biggest pita to ever hit the net. They break every rfc that can. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: OT: Top Posting
On 5/14/24 10:09, Richard wrote: Just because something isn't an official ISO standard doesn't mean it's not standard behavior. And how it relates to this mailing list? It's called a setting. No its not, its your refusal to use the down arrow in your reply editor to put your reply after the question. It really is that simple. If your choice of email agents cannot do that, its time to switch to an agent that can. There are dozens of them. Am Di., 14. Mai 2024 um 15:57 Uhr schrieb Loris Bennett mailto:loris.benn...@fu-berlin.de>>: Hi Richard, Richard mailto:rrosn...@gmail.com>> writes: > "Top posting" (writing the answer above the text that's being replied > to) is literally industry standard behavior. Can you provide a link to the standard you are referring to? Assuming such a standard exists, how would it apply to this newsgroup? [snip (51 lines)] Cheers, Loris -- This signature is currently under constuction. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: tbird troubles
On 4/17/24 14:52, The Wanderer wrote: On 2024-04-16 at 16:56, gene heskett wrote: On 4/16/24 10:46, The Wanderer wrote: On 2024-04-16 at 10:28, Greg Wooledge wrote: In his original message, he claimed that closing one window makes the other one also close. I asked *how* he was closing them, and he said that he gets the same result whether he uses the WM's close button, or the application's Exit menu choice. From what I saw in a Bugzilla bug report (which I think was linked to in this thread?) about a similar behavior (dating back a good number of years, and closed as - more or less - "not meaningfully fixable" or the like), neither of those is what is needed. What needs to happen, according to that analysis, is to close one of the windows not by File -> Exit or File -> Quit, but by File -> Close. (In my - severely obsolete - Thunderbird version, it's near the top of the File menu, and has the associated keyboard shortcut Ctrl+W.) Reportedly, after doing that, if you then quit the program entirely (by any of the other available methods), when you re-launch it it will come up with only one window. Thank you, that fixed it! You're welcome. Please extend your thanks to Tomas, who is the one who tracked down the links that led to the bug report where I found the analysis and this advice, and also to Curt, who was giving the same recommendation in different terms before I got to it. Terms I may not have adequately understood, like Winston Churchill is reported to have once said about England and America, "two great countries separated by a common language." or words to that effect. So my thanks to all who contributed, in what they thought was my mother tongue. Also, many thanks to those whose mother tongue is not English, for learning English. My schooling did not last long enough to have a chance to learn yours. My schooling ceased shortly after the 8h grade as I went to work fixing the then new-fangled things called tv's for a living in 1947. Mother gave me one very valuable thing, a near genius IQ. My employment history is widely varied. The tv cameras that were on the Trieste when it went down in the mohole in 1960, had my fingerprints in them. Now retired for 22 years from an 18 years stint in CE office at a tv station, I'm still working in the bleeding edge of 3d printing despite hoping to have 2 of my own design working by my 90th. Many many thanks to those who have helped. Take care and stay well all. All I did was read the discussion at the link Tomas provided, and find a different way to express it. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: tbird troubles
On 4/16/24 10:46, The Wanderer wrote: On 2024-04-16 at 10:28, Greg Wooledge wrote: On Tue, Apr 16, 2024 at 02:21:27PM -, Curt wrote: Have you tried *closing* one of the two windows, *quitting* the remaining one, and then restarting your bird? In his original message, he claimed that closing one window makes the other one also close. I asked *how* he was closing them, and he said that he gets the same result whether he uses the WM's close button, or the application's Exit menu choice. From what I saw in a Bugzilla bug report (which I think was linked to in this thread?) about a similar behavior (dating back a good number of years, and closed as - more or less - "not meaningfully fixable" or the like), neither of those is what is needed. What needs to happen, according to that analysis, is to close one of the windows not by File -> Exit or File -> Quit, but by File -> Close. (In my - severely obsolete - Thunderbird version, it's near the top of the File menu, and has the associated keyboard shortcut Ctrl+W.) Reportedly, after doing that, if you then quit the program entirely (by any of the other available methods), when you re-launch it it will come up with only one window. Thank you, that fixed it! The situation appears to be triggered by doing one of the UI actions that causes Thunderbird to open a new "main" window - which can happen by accident, e.g. by trying to detach a tab from the main Thunderbird window (which apparently doesn't open a new window with just that tab, but rather opens an entire new main Thunderbird window with the contents of that tab active). That in turn can (I would expect) be done accidentally by trying to drag a tab to a new position in the tab bar, but unintentionally dropping it at a place which is instead treated as outside of the window. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: tbird troubles
On 4/16/24 10:22, Curt wrote: On 2024-04-15, gene heskett wrote: For the last 2 or 3 reboots, when launching t-bird, I get 2 copies of the gui stacked on top of each other. I can move them separately to 2 separate workspaces, and both appear to work for some definition of working, but quitting one actually quits both. Have you tried *closing* one of the two windows, *quitting* the remaining one, and then restarting your bird? . From scratch, including a text entry in a shell. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: tbird troubles
On 4/15/24 15:26, to...@tuxteam.de wrote: On Mon, Apr 15, 2024 at 03:10:20PM -0400, gene heskett wrote: [...] Try running "thunderbird" from a terminal emulator and see what happens. Stopped it. opened an xfce4 terminal and typed "thunderbird"enter, same old same old, two gui's stacked on top of each other. This, at least, rules out the mouse. OK, asking my favourite search thingy (spoiler: it's not that one with the big G) for 'thunderbird "two windows"' yields a couple of promising hits (no time to peruse them right now, sorry): https://forum.manjaro.org/t/thunderbird-two-windows-workaround/154069 https://bugzilla.mozilla.org/show_bug.cgi?id=531588 http://forums.mozillazine.org/viewtopic.php?f=39=1962329 https://blog.ueffing.net/post/2018/03/24/thunderbird-starts-with-two-window-instances/ That for a change actually makes me feel better. I seem to be the only one with much of this. I /think/ this started with the last tbird update, but I don't have a bible to swear on. At least, you don't seem to be the only one having the fun :) HTH Thanks Tomas. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: tbird troubles
On 4/15/24 14:24, David Wright wrote: On Tue 16 Apr 2024 at 01:20:03 (+0800), Bret Busby wrote: On 16/4/24 00:49, Greg Wooledge wrote: On Mon, Apr 15, 2024 at 10:59:25AM -0400, e...@gmx.us wrote: On 4/15/24 10:01, gene heskett wrote: On 4/15/24 09:09, Greg Wooledge wrote: On Mon, Apr 15, 2024 at 08:28:24AM -0400, gene heskett wrote: For the last 2 or 3 reboots, when launching t-bird, I get 2 copies of the gui stacked on top of each other. I can move them separately to 2 separate workspaces, and both appear to work for some definition of working, but quitting one actually quits both. How do you launch it? Are you clicking something? Are you DOUBLE-clicking something? A single click on the name from the internet section of the xfce menu. I'm wondering whether Gene's mouse might be physically failing, and sending multiple click events when he presses the button once. This is one of the possible failure modes for mouse buttons. Try running "thunderbird" from a terminal emulator and see what happens. Yes, that's a reasonable thing to try. To see whether the mouse button might be misbehaving, Gene could try running xev, and slowly clicking the (left) mouse button inside the xev window. There should be exactly one press event, and one release event, each time the button is clicked, regardless of how long it's I think that, from memory, a utility for adjusting the mouse click speed, also is available, for adjusting the mouse click speed. I don't think double-click speed can be used to debounce the mouse button, because it lengthens the time interval that two clicks are interpreted as a double-click. It can't turn two quick clicks into a single click. I have a mouse that can turn one long press into two clicks: what's happening is that the wire loses continuity for a moment. I can see the xconsole logging a "New" USB device being connected, as it occurs. When it's bad, moving the mouse produces a stream of such logs. But I would recommend Gene start tbird from a command line, to distinguish a tbird configuration fault from a menu action fault. Cheers, David. I get exactly the same thing from a keyboard launch, David. Thanks. . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: tbird troubles
On 4/15/24 14:01, Matthew Lemon wrote: aptitude purge '?and(~i ?tag(suite::kde))' I thought it was installed, but apparently is not. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: tbird troubles
On 4/15/24 12:49, Greg Wooledge wrote: On Mon, Apr 15, 2024 at 10:59:25AM -0400, e...@gmx.us wrote: On 4/15/24 10:01, gene heskett wrote: On 4/15/24 09:09, Greg Wooledge wrote: On Mon, Apr 15, 2024 at 08:28:24AM -0400, gene heskett wrote: For the last 2 or 3 reboots, when launching t-bird, I get 2 copies of the gui stacked on top of each other. I can move them separately to 2 separate workspaces, and both appear to work for some definition of working, but quitting one actually quits both. How do you launch it? Are you clicking something? Are you DOUBLE-clicking something? A single click on the name from the internet section of the xfce menu. I'm wondering whether Gene's mouse might be physically failing, and sending multiple click events when he presses the button once. This is one of the possible failure modes for mouse buttons. Try running "thunderbird" from a terminal emulator and see what happens. Yes, that's a reasonable thing to try. To see whether the mouse button might be misbehaving, Gene could try running xev, and slowly clicking the (left) mouse button inside the xev window. There should be exactly one press event, and one release event, each time the button is clicked, regardless of how long it's held down. . nothing registers on the xev screen but the bacckground terminal goes bat shit nuts. I've had keyboard problems, could I be using two usb buttons that are rxing both keyboard and mouse? Except this keyboard is a wired usb keyboard, I just unplugged the mouse button and it dissappeared, and two buttons were plugged in so I'v now removed the one that did not rx the mouse. But that will not effect my dual tbird session started from the keyboard which is wired. Thanks Greg. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: tbird troubles
On 4/15/24 11:00, e...@gmx.us wrote: On 4/15/24 10:01, gene heskett wrote: On 4/15/24 09:09, Greg Wooledge wrote: On Mon, Apr 15, 2024 at 08:28:24AM -0400, gene heskett wrote: For the last 2 or 3 reboots, when launching t-bird, I get 2 copies of the gui stacked on top of each other. I can move them separately to 2 separate workspaces, and both appear to work for some definition of working, but quitting one actually quits both. How do you launch it? Are you clicking something? Are you DOUBLE-clicking something? A single click on the name from the internet section of the xfce menu. Try running "thunderbird" from a terminal emulator and see what happens. Stopped it. opened an xfce4 terminal and typed "thunderbird"enter, same old same old, two gui's stacked on top of each other. -- My signature has gone AWOL again. So has the /n,-,-," "/n sig separater. Thanks Eben . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: tbird troubles
On 4/15/24 10:13, Charles Curley wrote: On Mon, 15 Apr 2024 08:28:24 -0400 gene heskett wrote: I am supposedly running xfc4 as a desktop, but htop says I have a heck of a lot of kde5 running. How do I get rid of the kde stuff? Dependencies seem to be protecting it from being removed. You probably are running one or more programs that use KDE rather than gnome libraries. They cohabit nicely. I use XFCE and routinely run several KDE programs. Don't worry about it unless you are constrained by memory or other resources. 32 gigs of memory. But the constraint is a 30-45 second delay in opening a new write path to nv storage. This totally disables digikam's ability to import from my camera as it won't wait. Shotwell works, but with several of these delays, gimp suffers as I wade thru the system looking for an image I want to smunch down to mailable size. Same story for a firefox download. I'm waiting on trixie to see if it installs and fixes that. The whole machine is effectively frozen while whatever is timing out. This install is about the 25th install of bookworm and has been a PITA ootb because the installer, on finding a usb-serial adapter, automatically installs orca and ttysomething to drive a teletype. thinking the user is blind. Have you ever tried to use a computer that's screaming every keystroke you enter at you? Makes the computer worthless to me. This install works because someone took pity on me way back then and told me to unplug all the usb stuff. Yes I have serial adapters, I have and have had for 40 years, a housefull of X10 stuff, but that does not mean I'm blind. The installer should ask if I wanted it, it did not. Thanks Charles. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: tbird troubles
On 4/15/24 09:09, Greg Wooledge wrote: On Mon, Apr 15, 2024 at 08:28:24AM -0400, gene heskett wrote: For the last 2 or 3 reboots, when launching t-bird, I get 2 copies of the gui stacked on top of each other. I can move them separately to 2 separate workspaces, and both appear to work for some definition of working, but quitting one actually quits both. How do you launch it? Are you clicking something? Are you DOUBLE-clicking something? A single click on the name from the internet section of the xfce menu. How do you quit one of them? Do you click an X or similar widget in the window manager decorations, or do you use something like "File -> Exit" from a menu? Doesn't make any diff, I can click on the upper right quit button or from the tbird pull down menu. Either method quits both copies. Thanks Greg. . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
tbird troubles
For the last 2 or 3 reboots, when launching t-bird, I get 2 copies of the gui stacked on top of each other. I can move them separately to 2 separate workspaces, and both appear to work for some definition of working, but quitting one actually quits both. If I click anyplace outside this composer window, it put this composer window behind both gui's and to re-find the composer window, I have to move both gui's off it to find the composer window again. Frustrating and inconvenient as can be. I am supposedly running xfc4 as a desktop, but htop says I have a heck of a lot of kde5 running. How do I get rid of the kde stuff? Dependencies seem to be protecting it from being removed. Anybody have a clue whats going on? Thanks for any advice that works. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: What use can i give to linux?
On 4/6/24 16:30, Roy J. Tellason, Sr. wrote: On Saturday 06 April 2024 11:05:52 am Curt wrote: On 2024-04-05, John Hasler wrote: Desktop Linux is widely used in physics and mathematics. NASA uses Linux extensively, including on Mars and on the ISS. SpaceX uses Linux on their rockets and spacecraft. Over 90% of the top 1 million Web servers run Linux, including Yahoo, X, and Ebay. Almost all supercomputers use Linux. Linux has a large and growing share of the automotive market. Your router almost certainly runs Linux. Yeah, but Grandma's still using Windows XP. Don't believe the stereotypes... My lady, now 79, was running XP until there was a hard drive crash some few years back. After I dealt with that but before I did the re-install I stuck an Ubuntu CD in the machine and said "Try this" and it was apparently okay enough to go ahead and install it and run it for several years. The only regret was one game that wouldn't load, but we couldn't get a clean read off of that install medium anyhow. Not all that long ago that machine got replaced by one running linux Mint, which she's still happily running today. I offered Debian, by putting it on a second drive in that earlier machine and pointing out the boot options, but she never did get that much of a handle on the idea of selecting different desktop environments. Not a big deal, at least the house is an M$-free zone still, and I know that she's a damn smart lady. :-) We're way off topic Roy, but my now departed music teacher never "got the fever" was not a bit impressed by the district forcing her to use a dos box (2.1 I think), two floppy drives to make out grades and report cards the last 5 years of her 35 year teaching career. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: What use can i give to linux?
On 4/6/24 11:07, Curt wrote: On 2024-04-05, John Hasler wrote: Desktop Linux is widely used in physics and mathematics. NASA uses Linux extensively, including on Mars and on the ISS. SpaceX uses Linux on their rockets and spacecraft. Over 90% of the top 1 million Web servers run Linux, including Yahoo, X, and Ebay. Almost all supercomputers use Linux. Linux has a large and growing share of the automotive market. Your router almost certainly runs Linux. Yeah, but Grandma's still using Windows XP . And she will never experience its only major bug, the timer rollover at 46.something days. She will never leave it running that long. That was the most stable windows ever published. That was the only reason we ever rebooted the machine that literally ran the WDTV news dept back in its day despite the reporters best efforts to crash it. I'd calculate when it had to be rebooted & stick a postit note on it. And kept a copy in my office to remind me when it was time to go reboot it. . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: NextGov: Linux XZ Utils Backdoor Was Long Con, Possibly With Support
On 4/6/24 09:15, Thomas Schmitt wrote: Hi, Nicholas Geovanis wrote: But what if next time the back-doored software _does_ build without error? The initial build problems did not cause suspicion. It was the CPU load of sshd and an obscure complaint by valgrind which caused the discovery. https://boehs.org/node/everything-i-know-about-the-xz-backdoor quotes the discoverer Andres Freund: "I was doing some micro-benchmarking at the time, needed to quiesce the system to reduce noise. Saw sshd processes were using a surprising amount of CPU, despite immediately failing because of wrong usernames etc. Profiled sshd, showing lots of cpu time in liblzma, with perf unable to attribute it to a symbol. Got suspicious. Recalled that I had seen an odd valgrind complaint in automated testing of postgres, a few weeks earlier, after package updates. Really required a lot of coincidences." gene heskett wrote: In light of that its worth noting that an M$ employee was the first to spot it. Indeed. Thus we should also praise the peace between Microsoft and free software which broke out a few years ago. There remains the question, whom a good citizen should contact when spotting something that could be a backdoor (or a subtenant ?) of Debian's content or infrastructure. It seems unwise for a non-expert to do this in public, unless one wants to accuse the innocent or to warn the hoodlums. Which category I am firmly in in the larger view Tomas, although I do run the bleeding edge master of linuxcnc on several of my garage machines. My main interests are in the realtime performance of machine controllers running lathes and multi-axis mills. That, and doing things with odd hardware that most wouldn't even try, like running a 1945 Sheldon 11x54 lathe with an rpi. Works great. I start the job and walk away, while Casper the ghost is turning the cranks, but 2 to 10 times faster than the best machinist. And its doing things it could never do before. Keeps me out of the bars. ;o)> Have a nice day :) Thomas . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: NextGov: Linux XZ Utils Backdoor Was Long Con, Possibly WithSupport
On 4/5/24 16:42, James H. H. Lampert wrote: I will note that open source software has, by definition, a lot more eyes looking at the source. Which is probably why (as Tomas said) "proprietary software tends to fare significantly worse." -- JHHL . In light of that its worth noting that an M$ employee was the first to spot it. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: making Debian secure by default
On 3/31/24 17:16, Andy Smith wrote: Hello, On Sun, Mar 31, 2024 at 04:27:52PM -0400, gene heskett wrote: On 3/31/24 15:26, Roberto C. Sánchez wrote: https://lists.debian.org/debian-security-announce/2024/msg00058.html Does this mean its now safe to update our bookworm installs? I am not aware of a time when it was not safe to do so, since the ext4 corruption bug of December 2023. What were you thinking of? Just trying to clarify Andy. Thatk you Thanks, Andy Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: making Debian secure by default
On 3/31/24 15:26, Roberto C. Sánchez wrote: On Sun, Mar 31, 2024 at 07:00:50PM +, Andy Smith wrote: Hello, On Wed, Mar 27, 2024 at 05:30:50PM -0400, Lee wrote: I just saw this advisory Escape sequence injection in util-linux wall (CVE-2024-28085) https://seclists.org/fulldisclosure/2024/Mar/35 where they're talking about grabbing other users sudo password. I note that "write" and "wall" in Debian had setgid removed after this. https://salsa.debian.org/debian/util-linux/-/commit/c4be137b4b09a855713c1f4d052dfee773c4ad3b https://metadata.ftp-master.debian.org/changelogs//main/u/util-linux/util-linux_2.39.3-11_changelog The fix has also been made to stable and oldstable: https://lists.debian.org/debian-security-announce/2024/msg00058.html Does this mean its now safe to update our bookworm installs? TY. Regards, -Roberto Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick
On 3/30/24 11:36, Antti-Pekka Känsälä wrote: What could be the deal, when Firefox tries to stop me from unmounting a stick, after I've accessed files on it through Firefox? I worry about my stick security. Thanks. Since this is normally a root operation, I'm confused. Likely what it means is that you have an open write path from firefox to the stick that has not been properly closed. I get into a similar state working with u-sd's using mc to edit something I have used mc to cd to, and forget to cd back out of the u-sd before I eject the card to take it to its proper home in a pi clone. Possibly fixed by stopping firefox first? Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: testing new sdm drive
On 2/9/24 20:36, Alexander V. Makartsev wrote: On 10.02.2024 03:34, gene heskett wrote: On 2/8/24 07:22, Alexander V. Makartsev wrote: This is how I would test it. First create a new GPT partition table and a new 2TB partition: $ sudo gdisk /dev/sdX check /!\ Make double sure you've selected the right device by using "lsblk" and "blkid" utilities. /!\ /!\ It could change from 'sdm' to another name after reboot. /!\ At gdisk prompt press "o" to create a new GPT table, next press "n" to create a new partition, accept default values by pressing "enter". To verify setup press "p", to accept configuration and write it to device press "w". check Next format partition to ext4 filesystem: $ sudo mkfs.ext4 -m 0 -e remount-ro /dev/sdX1 check Next mount the filesystem: $ sudo mkdir /mnt/disktest check $ sudo mount /dev/sdX1 /mnt/disktest check Next create reference 1GB file filled with dummy data: $ cd /mnt/disktest check $ sudo fallocate -l 1G ./reftestfile check $ sudo badblocks -w -s -t random ./reftestfile check Now we can use script to create 1830 1GB files and check their checksum: $ for i in $(seq 1830); do sudo dd if="./reftestfile" of="./testfile${i}" status=none; md5sum -b "./testfile${i}" ;done This procedure will take a very long time to complete. "md5sum" will output the checksum for each file and they should be equal to checksum of "reftestfile": $ md5sum -b ./reftestfile Got a problem Alexander: I had to put the script someplace else. So I put it in my private /home/gene/bin as disktest.txt with nano. couldn't find it. But: gene@coyote:/mnt/disktest$ sudo /home/gene/bin/disktest.txt sudo: /home/gene/bin/disktest.txt: command not found If you put that 'for' loop one-liner inside, I think you forgot to make "/home/gene/bin/disktest.txt" executable: $ chmod +x /home/gene/bin/disktest.txt And: gene@coyote:/mnt/disktest$ ls /home/gene/bin/disktest.txt /home/gene/bin/disktest.txt So I think I found the problem with my script, ancient eyeballs can't tell the diff between () and{} so I fixed that but it still won't run or be killed. I don't care how big you've made the t-bird font, by the time you've read 2 more msgs, its back to about 6 point text. Grrr. So I fired up a root session of htop, found about 8 copies of dd showing and started killing them but cannot kill the last 2 in the D state. And cannot find .disktest.txt running in a root htop and the2 copy's of dd can't be killall'd. It's not possible for me to know what went wrong. Have you created "reftestfile" inside "/mnt/disktest" directory? How many "testfile*" files, if any, were created on the filesystem mounted at "/mnt/disktest"? Was there anything relevant in the syslog about "sdm" drive after the test? If you'd followed my instructions step by step, you'd end up inside "/mnt/disktest" directory and for the last step all you had to do is copy and paste that one-liner 'for' loop into the command line. It's a long line and it really meant to be copied and pasted not typed by hand, and also to give you the idea of the process, so you could adjust it if needed. I've tested it again on my computer and it worked as expected, synchronously created "testfiles" inside current directory and calculated their hashes one by one. And by now, I've forgotten what it was that we were trying to accomplish. One of the hazards of my next b-day being the 90'th. Sorry. Or t-bird is messing with my mind by reserectiing older messages. -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄ Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: OT: End the Phone-Based Childhood Now
On 3/16/24 16:20, Charles Curley wrote: On Sat, 16 Mar 2024 12:30:46 -0700 Steve Sobol wrote: I already get a ton of legitimate mail from the debian-user mailing list. Don't need the off-topic crap. Concur. Admins, could you please get rid of the people who are contributing to the noise? Or at least make them aware of their rudeness. Thank you. +100. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Debugging an USB array issue
On 3/16/24 12:27, Max Nikulin wrote: On 16/03/2024 00:45, Marc SCHAEFER wrote: On Fri, Mar 15, 2024 at 01:30:08PM -0400, Dan Ritter wrote: I have never had long-term happiness with multiple disks connected via USB. However: I have a similar disk array running 24h/24h for the last three years on a Debian buster with no problem. I am going to upgrade this system soon, so if there is something bad with bullseye's kernel I would love to learn about it :) You may search https://bugs.debian.org for known issues. If it is really a software issue rather than a hardware one I would try at least bookworm-backports kernel package. Further steps may be git bisect game with custom builds of vanilla kernel. It would be tedious since 4 hours is required for each iteration. From my point of view some failure of USB to SATA converter is more probable. And if its not a startech, probable. I have several startech's in service for years. And have NOT had to replace any of them. Ignore that faint knocking on wood sound. :o)> Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping
On 3/7/24 23:15, Jeffrey Walton wrote: Hi Everyone, I need to generate some shipping labels for drop-off at the USPS post office using USPS Ground Advantage. I have a USB thermal printer for the shipping labels, <https://www.amazon.com/gp/product/B08V28J3JS>. I see Debian carries libbusiness-us-usps-webtools-perl. I visited the module's GitHub at <https://github.com/ssimms/business-us-usps-webtools>, but the examples are on the lite side. I don't see a workflow similar to creating and printing a shipping label. My question is, can I use the module to create and print a shipping label for a USPS Ground Advantage package? Thanks in advance. Probably not Jeffery. the thermal printers output fades quickly in bright light or turns black in higher summer heat. A laser printer using carbon toner is 10,000% more permanent. That and the shipping materials for labels are slowly going paperless, instead using a recyclable plastic label material, you should probably be asking for something compatible with the plastic paper labels. . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: strange time problem with bullseye/buster
On 3/7/24 21:30, David Wright wrote: On Thu 07 Mar 2024 at 19:17:02 (-0500), gene heskett wrote: On 3/7/24 12:19, David Wright wrote: On Thu 07 Mar 2024 at 11:29:47 (-0500), gene heskett wrote: On 3/7/24 10:59, Greg Wooledge wrote: You should be able to verify that the systemd-timesyncd package is removed. In some older versions of Debian, systemd-timesyncd was part of the systemd package, and was always installed, even if you installed ntp or chrony. In these versions, the systemd unit file for timesync had checks for the existence of the binaries belonging to ntp, chrony and openntpd, and would prevent timesync from running if any of those was found. I don't remember which version did which thing. And of course, if you are not actually running Debian, then all bets are off. You're on your own with Armbian, Raspbian, etc. and because the printer is arm stuff, its old armbian buster vintage. mks@mkspi:/etc/init.d$ sudo apt purge systemd-timesyncd Reading package lists... Done Building dependency tree Reading state information... Done Package 'systemd-timesyncd' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. mks@mkspi:/etc/init.d$ yet timedatectl is still there and shows: mks@mkspi:/etc/init.d$ timedatectl Local time: Thu 2024-03-07 11:15:53 EST Universal time: Thu 2024-03-07 16:15:53 UTC RTC time: Thu 2024-03-07 11:04:39 Time zone: America/New_York (EST, -0500) System clock synchronized: no NTP service: inactive RTC in local TZ: no mks@mkspi:/etc/init.d$ And the local time shown above is correct to the second. Debian's buster's systemd (241) has timesyncd built-in, so you may find that ls -l /lib/systemd/systemd-timesyncd still finds it. The output from timedatectl is worrying. I would monitor chrony and check its logs to see if it it's doing anything. After all, you had ntpsec running until a "moment" ago, so you'd hardly expect the clock to be wrong by now. At the instant I removed ntpsec and minute later whem I re-installed chrony, the time on that printer was around 20 hours stale. By about a minute after chrony started, which the install did, time was synchronized. And still is. Somehow, it resurrected the customized /etc/chrony/chrony.conf which pointed it at this machines ntpsec server. So I didn't have to re-invent that wheel. It just Worked. Memory in the u-sd card? IDK. I have NDI how to extract chrony's logs from journalctl. You could run these commands as an ordinary user instead: $ chronyc sources $ chronyc sourcestats $ chronyc tracking which will give you an idea of what it is doing. Cheers, David. . mks@mkspi:/etc/init.d$ chronyc tracking Reference ID: C0A84703 (coyote.coyote.den) Stratum : 4 Ref time (UTC) : Fri Mar 08 03:23:48 2024 System time : 0.06175 seconds slow of NTP time Last offset : -0.05491 seconds RMS offset : 0.07778 seconds Frequency : 6.590 ppm slow Residual freq : -0.002 ppm Skew: 0.036 ppm Root delay : 0.034696314 seconds Root dispersion : 0.054448538 seconds Update interval : 64.5 seconds Leap status : Normal Looks good to me. ;o)> Thanks David. Take care & stay well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: strange time problem with bullseye
On 3/7/24 14:16, Roy J. Tellason, Sr. wrote: On Wednesday 06 March 2024 12:42:12 pm Greg Wooledge wrote: How do I get the RTC to agree with the right time? "hwclock -w" to copy the system clock to the hardware clock (RTC). This should also be done during shutdown, but it doesn't hurt to do it now. True, but needs a sudo in front if it in my case on that armbian buster machine. That seemed to do what I needed. I don't ordinarily shut this machine down for the most part. Every once in a while all of my swap partition gets filled up, and then there's this continuous hard drive activity that I'm assuming is what they mean by "thrashing". The only option at that point is to get its attention with the power switch. And then I need to go through a whole routing with bringing up what I had going, including re-starting virtualbox and the stuff that runs in it, etc. If I'm lucky then I can get back the windows I had going before, sometimes I'm not so lucky. A system monitor I run on desktop 4 always comes up, but on the wrong desktop and I have to move it. The "eat all available memory" culprit seems to be firefox. I just need to look at that system monitor every once in a while and when things start getting excessive shut firefox down and restart it. Then I don't have the problem... I'm not sure if I have ntp or something else running here. (Looking...) I don't see it in my process list. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: strange time problem with bullseye/buster
On 3/7/24 12:19, David Wright wrote: On Thu 07 Mar 2024 at 11:29:47 (-0500), gene heskett wrote: On 3/7/24 10:59, Greg Wooledge wrote: You should be able to verify that the systemd-timesyncd package is removed. In some older versions of Debian, systemd-timesyncd was part of the systemd package, and was always installed, even if you installed ntp or chrony. In these versions, the systemd unit file for timesync had checks for the existence of the binaries belonging to ntp, chrony and openntpd, and would prevent timesync from running if any of those was found. I don't remember which version did which thing. And of course, if you are not actually running Debian, then all bets are off. You're on your own with Armbian, Raspbian, etc. and because the printer is arm stuff, its old armbian buster vintage. mks@mkspi:/etc/init.d$ sudo apt purge systemd-timesyncd Reading package lists... Done Building dependency tree Reading state information... Done Package 'systemd-timesyncd' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. mks@mkspi:/etc/init.d$ yet timedatectl is still there and shows: mks@mkspi:/etc/init.d$ timedatectl Local time: Thu 2024-03-07 11:15:53 EST Universal time: Thu 2024-03-07 16:15:53 UTC RTC time: Thu 2024-03-07 11:04:39 Time zone: America/New_York (EST, -0500) System clock synchronized: no NTP service: inactive RTC in local TZ: no mks@mkspi:/etc/init.d$ And the local time shown above is correct to the second. Debian's buster's systemd (241) has timesyncd built-in, so you may find that ls -l /lib/systemd/systemd-timesyncd still finds it. The output from timedatectl is worrying. I would monitor chrony and check its logs to see if it it's doing anything. After all, you had ntpsec running until a "moment" ago, so you'd hardly expect the clock to be wrong by now. At the instant I removed ntpsec and minute later whem I re-installed chrony, the time on that printer was around 20 hours stale. By about a minute after chrony started, which the install did, time was synchronized. And still is. Somehow, it resurrected the customized /etc/chrony/chrony.conf which pointed it at this machines ntpsec server. So I didn't have to re-invent that wheel. It just Worked. Memory in the u-sd card? IDK. I have NDI how to extract chrony's logs from journalctl. I tried installing chrony in 2017 (jessie), and it appeared unable to slew the clock five seconds in two days of interrupted running. Cheers, David. Thank you David, take care & stay well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: strange time problem with bullseye
On 3/7/24 11:18, Jeffrey Walton wrote: On Thu, Mar 7, 2024 at 8:44 AM wrote: On Thu, Mar 07, 2024 at 08:31:16AM -0500, gene heskett wrote: [...] Now, how do I assure timedatectl stays stopped on a reboot? [...] I'll have to leave this to others more fluent in systemd-ish. Mask the systemd-timesyncd service. Masking is the service a permanent effect. it appears its not installed. It can't be found to purge it. That would explain why it didn't work. If you just stop or disable the service, then the service will either be started on the next reboot, or it can be manually started. Since you want to permanently disable the service, you have to mask it. Jeff . Thanks Jeff. Take care & stay well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: strange time problem with bullseye
On 3/7/24 10:59, Greg Wooledge wrote: On Thu, Mar 07, 2024 at 08:31:16AM -0500, gene heskett wrote: So I purged ntpsec and re-installed chrony which I had done once before with no luck but this time timedatectl was stopped and it worked! Now, how do I assure timedatectl stays stopped on a reboot? Which version of Debian is this? I'm guessing it's fairly recent, because ntpsec is fairly recent. In the most recent version or two, systemd-timesyncd is a separate package, and it cannot coexist with chrony (they both provide the "time-daemon" virtual package). So, if this is Debian 12 (maybe 11 also, dunno about older), then when you installed either ntpsec or chrony, it should have removed the systemd-timesyncd package. You should be able to verify that the systemd-timesyncd package is removed. In some older versions of Debian, systemd-timesyncd was part of the systemd package, and was always installed, even if you installed ntp or chrony. In these versions, the systemd unit file for timesync had checks for the existence of the binaries belonging to ntp, chrony and openntpd, and would prevent timesync from running if any of those was found. I don't remember which version did which thing. And of course, if you are not actually running Debian, then all bets are off. You're on your own with Armbian, Raspbian, etc. . and because the printer is arm stuff, its old armbian buster vintage. mks@mkspi:/etc/init.d$ sudo apt purge systemd-timesyncd Reading package lists... Done Building dependency tree Reading state information... Done Package 'systemd-timesyncd' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. mks@mkspi:/etc/init.d$ yet timedatectl is still there and shows: mks@mkspi:/etc/init.d$ timedatectl Local time: Thu 2024-03-07 11:15:53 EST Universal time: Thu 2024-03-07 16:15:53 UTC RTC time: Thu 2024-03-07 11:04:39 Time zone: America/New_York (EST, -0500) System clock synchronized: no NTP service: inactive RTC in local TZ: no mks@mkspi:/etc/init.d$ And the local time shown above is correct to the second. Thanks Greg, take care & stay well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: strange time problem with bullseye
On 3/7/24 00:22, to...@tuxteam.de wrote: On Wed, Mar 06, 2024 at 08:06:15PM -0600, John Hasler wrote: Look at the chronyd settime command and the chrony.conf makestep directive. These are intended for your situation. This from man(8) ntpd: -g, --panicgate Allow the first adjustment to be Big. This option may appear an unlimited number of times. Normally, ntpd exits with a message to the system log if the off‐ set exceeds the panic threshold, which is 1000 s by default. This option allows the time to be set to any value without restric‐ tion; however, this can happen only once. If the threshold is ex‐ ceeded after that, ntpd will exit with a message to the system log. This option can be used with the -q and -x options. See the tinker configuration file directive for other options. -G, --force-step-once Step any initial offset correction.. [...] Cheers So I purged ntpsec and re-installed chrony which I had done once before with no luck but this time timedatectl was stopped and it worked! Now, how do I assure timedatectl stays stopped on a reboot? systemd's docs are positively opaque about that even if they do go on for megabytes. Surprisingly the chrony.conf setting to use my own server setup on this machine making me a level 2 ntp server, magically re-appeared. Seems like it should have a disable option to match the enable but playing 50 monkeys didn't find it. Thanks take care & stay well Tomas. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: strange time problem with bullseye
On 3/6/24 18:02, Greg Wooledge wrote: On Wed, Mar 06, 2024 at 05:56:29PM -0500, gene heskett wrote: On 3/6/24 12:42, Greg Wooledge wrote: On Wed, Mar 06, 2024 at 12:31:46PM -0500, Roy J. Tellason, Sr. wrote: sudo timedatectl set-ntp true But *don't* do that if you're using some other NTP program instead of systemd-timesyncd. Are you saying that both chrony and ntpsec, which are fully ntp client/server ack the docs are worthless to timedatectl? I'm saying "don't turn on systemd's NTP thing if you're using a different NTP thing". Roy's instructions failed to take into account that many of us are already using a different NTP implementation, besides systemd's. I can turn either off, but no place in the ntpsec docs, nor the chrony docs does it show the ability to slam the current time into the SW clock on these arm systems at bootup's first access time. And the normal correction is maybe a second an hour so it its been turned off for a week, its another week out of time when turned back on. The whole thing never considered the no hwclock situation that exists in 99% of the arm world. I was hoping timedatectl had that ability but I see it says you must be synched first. The rpis's can do it, whats the secret recipe? Thank Greg, take care & stay well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: strange time problem with bullseye
On 3/6/24 12:42, Greg Wooledge wrote: On Wed, Mar 06, 2024 at 12:31:46PM -0500, Roy J. Tellason, Sr. wrote: Mine shows: Local time: Wed 2024-03-06 12:09:44 EST Universal time: Wed 2024-03-06 17:09:44 UTC RTC time: Wed 2024-03-06 17:20:53 Time zone: America/New_York (EST, -0500) Network time on: yes NTP synchronized: no RTC in local TZ: no How do I get the RTC to agree with the right time? "hwclock -w" to copy the system clock to the hardware clock (RTC). This should also be done during shutdown, but it doesn't hurt to do it now. On Wed, Mar 06, 2024 at 07:36:11PM +0200, Teemu Likonen wrote: To get operating system's clock have accurate time it needs to be synchronized with network time servers via network time protocol (NTP). Systemd has that feature. Turn in on with sudo timedatectl set-ntp true But *don't* do that if you're using some other NTP program instead of systemd-timesyncd. Unfortunately, timedatectl does not know about other NTP programs, and won't report which one you're using. You'll have to find that out yourself Are you saying that both chrony and ntpsec, which are fully ntp client/server ack the docs are worthless to timedatectl? I have a quite good 3d printer, but its running armbian buster, its out of synch by days despite ntpsec running and I can see it access my own level 2 server but the timedate never synchronizes. I need to know how to setup timedatectl to slam the ntp time into the system clock on first access at bootup. That would fix a lot of bogus times reported by fluidd, the printers web based gui front end. Thanks Greg. Take care & stay well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: electrons/the Internet doesn't like question authority niggahs?,oris it that I like to eat raw garlic, ...
On 3/5/24 00:34, to...@tuxteam.de wrote: On Mon, Mar 04, 2024 at 07:44:41PM -0500, gene heskett wrote: On 3/4/24 11:42, Albretch Mueller wrote: spend days on end reading, coding and thinking about Math? [...] Your traceroute might be your isp throttling things as traceroute demands an answer from every machine it passes thru to get to the destination. Some ISP's might frown on that as its a huge traffic burst. _LINK="https://christuniversity.in/uploads/course/E_21-25_Lateral Entry(1)_20210618043317.pdf" This above is busted and will continue to be until you replace the " " wrapping it up with left & right arrows like: <https://path/to/file> Sorry, Gene -- this is nonsense (at several levels). The quotes (") prevent the shell from splitting the thing into two pieces. You'll have to make sure to quote the expansion like so "$_LINK" if you want to prevent it being split again where it's used (e.g. as an arg to wget or curl, or...) That hasn't changed. The angle brackets may quote in very specific contexts (e.g. an email body). Or they may not. That depends on all the mail handling tidbits in their way. For the shell, the angle brackets HAVE A TOTALLY DIFFERENT MEANING (sorry for raising my voice). They might redirect your stdin/stdout or kill all kitten in your household, depending on context. Cheers I'll summerize, Tomas, it works for me. I use FF as a browser, and prefer bash as a shell. Currently t-bird for email but its buggier than a 10 day old road kill in the filter to mailbox category. Its a full time job keeping the mail filters that sort mail to local stash working at a 50% catch rate. Old school? Guilty. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: electrons/the Internet doesn't like question authority niggahs?, oris it that I like to eat raw garlic, ...
On 3/4/24 11:42, Albretch Mueller wrote: spend days on end reading, coding and thinking about Math? [...] Your traceroute might be your isp throttling things as traceroute demands an answer from every machine it passes thru to get to the destination. Some ISP's might frown on that as its a huge traffic burst. _LINK="https://christuniversity.in/uploads/course/E_21-25_Lateral Entry(1)_20210618043317.pdf" This above is busted and will continue to be until you replace the " " wrapping it up with left & right arrows like: <https://path/to/file> which unless your email agent is truly Jurassic, will protect the link from line wrapping. It can then be wrapped in transit and still work. It has been a std for 2 decades or more. [...] Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: How to upgrade the GLIBCXX and GLIBC to the specific version
On 2/27/24 16:21, Gremlin wrote: On 2/27/24 16:08, debian-u...@howorth.org.uk wrote: Gremlin wrote: The provider is raspberry foundation and Raspian has been dis-continued. There is such a thing as the Raspberry Pi Foundation but they are an educational charity. Pis are supplied by Raspberry Pi Ltd. Raspbian has NOT been discontinued, it has simply been renamed Raspberry Pi OS. I don't know who releases it, though it is released from teh Ltd company website rather than the Foundation. Perhaps somebody else knows more detail. Nope that is just wrong. https://www.raspbian.org/ Welcome to Raspbian Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware. An operating system is the set of basic programs and utilities that make your Raspberry Pi run. However, Raspbian provides more than a pure OS: it comes with over 35,000 packages, pre-compiled software bundled in a nice format for easy installation on your Raspberry Pi. The initial build of over 35,000 Raspbian packages, optimized for best performance on the Raspberry Pi, was completed in June of 2012. However, Raspbian is still under active development with an emphasis on improving the stability and performance of as many Debian packages as possible. Note: Raspbian is not affiliated with the Raspberry Pi Foundation. Raspbian was created by a small, dedicated team of developers that are fans of the Raspberry Pi hardware, the educational goals of the Raspberry Pi Foundation and, of course, the Debian Project. Why are you trying to tell someone that has used raspberry pi since the original pi came out things that are just not true. I also build custom OS for the raspberry pi platform and I am well versed with them. I have approx a dozen of them from rpi to rpi 5 I have used them for servers on the network including the original pi. Yes I am aware of theis in the foundation page: Your Raspberry Pi needs an operating system to work. This is it. Raspberry Pi OS (previously called Raspbian) is our official supported operating system. The new OS called Raspberry Pi OS is a new animal. The foundation used raspian and the the Raspberry Pi OS is the foundations, developed by the foundation. Just one huge problem with all this, the NIH syndrome rules supreme as far as your forum is concerned, I asked about a realtime kernel 3 times so I could run linuxcnc on an rpi3b many years ago. Some body took umbrage and I have been blackholed from posting to the forum since, about 6 or 7 years ago. But I managed to get a realtime 4.19 built and ran it for quite sometime, 6 years, 2 on the rpi3b, now 4 years on a 4b. After I figured out how to install it. Uptimes in years from my method. The forum supports music video to the near exclusion of a heck of a lot of other stuff the pi can do. So when I got into 3d printers, it was on bananapi-m5's running armbian. Support by Igor and friends has been so good I throw a $20 bill in the armbian kitty every month. TANSTAAFL folks. Natures only 100% true law. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: medically smart watches
On 2/26/24 07:21, Hans wrote: Am Montag, 26. Februar 2024, 12:24:34 CET schrieb hw: If you're locking for a bluetooth USB adapter: I have a 'Bluetooth 5.0' adapter from TP-Link which works with Fedora. I've been able to use it with a headset and an xbox controller. A smartphone and an IP phone also show up as devices, but I haven't tried to use them via bluetooth. I suppose, you have the same BT-dongle as mine. I own a cheap medical watch from China (KR80 same as Fair Boltt Smartwatch), which obviously presents many watches, as most watches are suing the same App on the mobile device regardless of the manufacturer. You find many videos on youtube related to the Fair Boltt watch. So I guess, they are all working same way. Here I have a Lenovo T520 with built-in bluetooth adapter and a TP-Link USB dongle. I can confirm, the built-in adapter does NOT see the watch, however, the TP- Link dongle does see it. Sadly I was not able to pair the watch, but I believe, I do not know the correct pairing number (1234 and ) did not work and on the watch is no option to set one. However, on my mobile a pairing password or number is not needed and for pairing the special app is also not needed on the mobile. This let me conclude, some other thing I must have missed. For testing purposes I used kde in-built blue-tooth-manager and as well the app "blueman" from Gnome. I had the feeling, blueman is working more stable and smoother than the kde-built-in one. If someone knows, how to pair these (maybe I have to take notice of some things), I will take a further look. I hope, this helped a little bit more. It does shine a bit of light on some of the problems to be aware of. Thanks Hans. Take care & stay well. Best Hans Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: medically smart watches
On 2/26/24 06:25, hw wrote: On Sat, 2024-02-24 at 10:03 -0500, gene heskett wrote: [...] bluetooth, and It looks as if I have to buy a BT adaptor, so advise on that front would be most welcome also. [...] If you're locking for a bluetooth USB adapter: I have a 'Bluetooth 5.0' adapter from TP-Link which works with Fedora. I've been able to use it with a headset and an xbox controller. A smartphone and an IP phone also show up as devices, but I haven't tried to use them via bluetooth. I have only one enabled radio, in a 3d printer, lists all the neighbors wifi routers it scans for and I assume the neighbors can hear it, but this things login id does not appear in its scan. Maybe its duff, IDK. However, a while ago I found that the xbox controller did have connection issues in that the connection seemed to get interrupted, so I went back to using an USB cable. I'm pretty sure it's a software problem because it worked fine at first. I don't know if it's been fixed since because my workstation only has 4 USB ports of which 3 are occupied and an USB cable extension is plugged into the 4th for the xbox controller. How does the watch you got measure blood sugar? Doesn't that require a blood sample? That is what the FDA is pushing. This shines a uv led, and claims to be able to measure by the color of the blood going by. But w/o a bt connection to the net, it can't even tell the time, its about a month out of whack. Thanks hw. Take care and stay well. . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: medically smart watches
On 2/25/24 14:19, Roy J. Tellason, Sr. wrote: On Sunday 25 February 2024 05:16:21 am gene heskett wrote: I have no idea how many EE's there are here in the states, 10,000+ probably. There are only around 130 CET's. More than that. My certificate number is PA-230... Mine is NB-116, so they must go by state, NB being Nebraska. Assuming an average of 150/state, that would be 7500 of us. Where the heck are they hiding? You are the only other one I have met since I got mine in '72. Something doesn't add up. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: /etc/apt/sources.list example [WAS Re: medically smart watches]
On 2/25/24 07:14, Andrew M.A. Cater wrote: I have to agree, and pursuing that seems to disclose I do not have the non-frre in my configs. So I'm now asking for help to add it to my /etc/apt/sources *.list stuff. For apt sources.list - have a look at: https://wiki.debian.org/SourcesList Thanks Andy. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: medically smart watches
On 2/25/24 03:36, Geert Stappers wrote: On Sat, Feb 24, 2024 at 02:05:50PM -0500, Lee wrote: On Sat, Feb 24, 2024 at 12:06 PM gene heskett wrote: On 2/24/24 11:03, Loïc Grenié wrote: On Sat Feb 24th, 2024, at 16:03, Gene Heskett wrote: Greetings all; As most of you know I'm a DM-II, but the recent shortage of trulicity, a weekly self administerd shot that helps regulate one's blood guclose levels has got us scrambling for alternatives. So a month back I bought one of the so called smart watches that purports to monitor blood sugar. "purports" appears to be the correct verb https://www.fda.gov/medical-devices/safety-communications/do-not-use-smartwatches-or-smart-rings-measure-blood-glucose-levels-fda-safety-communication <https://www.fda.gov/medical-devices/safety-communications/do-not-use-smartwatches-or-smart-rings-measure-blood-glucose-levels-fda-safety-communication> I got a msg from our state AG warning me about these, but it was 2 days after I had ordered this thing. Too little warning, too late, but I'm the curios type, and this device looks good so I would like to see how it compares with the antique finger prick model we've been using since Hector's great grandfather was a puppy.. New tech sometimes work pretty good while the FDA seems to try to protect old tech. Give the FreeStyle Libre 14 day sensor a try - it's so much nicer than poking holes in yourself whenever you want to know what your blood sugar is. There's a reader you have to buy or a current enough smart phone can be used as a reader. What I'd like to find is software that lets me get the data off the reader into my PC. That is what Original Poster also wants. ( More about OP below ) The so called smart watch has BlueTooth. This email thread, I think, was started to get more information about using "BlueTooth" on Debian systems. (OP should do better to express what the actual question is.) As I see it, is https://wiki.debian.org/BluetoothUser now the best place to go. I have to agree, and pursuing that seems to disclose I do not have the non-frre in my configs. So I'm now asking for help to add it to my /etc/apt/sources *.list stuff. Abbott wants everything uploaded to their servers and I quit reading the terms of service when it got to them giving out my data after 'anonymising' it. I too would run like the wind to get away from that bit of zuckerburgish contamination. I hear what you say. I agree with you. Most likely we are aware of the challenge. (And we are facing already other challenges.) Regards Lee Groeten Geert Stappers About Original Poster: I have never met Gene Heskett. When we will, I guess he will do 80%, may be 90% of the talking, unlikely fifty-fifty. I think I will OK with the non-balanced dialog, because I knew it from the begining. Beside the difference in verboseness between Gene and me, there are lots of common goals. For starters "Debian". Gene wrote in mailinglists posts about his work as engineer, where he did serious trouble shooting. And yet. the one time the NAB had their annual broadcasters bash in D/FW I discovered I could be arrested in Texas for impersonating an Engineer because my business card said I was the CE at WDTV. but I was not a degree'd EE. That I'm not, I am a CET, a much more comprehensive final exam, we can teach the EE's things their prof's never touched, if the EE is willing to learn. Sadly, too many get the sheepskin and then turn off the learning because they already know it all. I don't generally waste a lot of time with them. I've had EE's spend the night telling I'm wasting my time, it won't work. And are blown away, when I push the final button and it just works. I have no idea how many EE's there are here in the states, 10,000+ probably. There are only around 130 CET's. Yet I have only an 8th grade diploma and a GED. Yet I know how simple things work, up to and including Einsteins theory's. as demonstrated by the time distortion a klystron amplifier does to a tv signal. I had to teach the FCC about that back in the '70's. Computers are 1000 times more complex. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: medically smart watches
On 2/24/24 12:36, gene heskett wrote: On 2/24/24 12:23, John Hasler wrote: https://en.wikipedia.org/wiki/Noninvasive_glucose_monitor The consensus seems to be that hey are not yet ready for daily driver use. But I'm that curios cat. Cheers, Gene Heskett, CET. So I just installed the only driver that synaptic said was bt-5.3 with support for around 20 intel chips. Then get one of the long range whole house models from amazon. Reports later. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: medically smart watches
On 2/24/24 12:23, John Hasler wrote: https://en.wikipedia.org/wiki/Noninvasive_glucose_monitor The consensus seems to be that hey are not yet ready for daily driver use. But I'm that curios cat. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: medically smart watches
On 2/24/24 11:15, Stefan Monnier wrote: So the question I'm getting to is: Do we have a utility that can be paired with whatever wifi/bluetooth this thing uses and would allow it to work? With a bit of luck it can be "paired" with your "2TB" SSDs? Stefan "sorry, couldn't resist" . That category seems to fit both of us. ;o)> Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: medically smart watches
On 2/24/24 11:03, Loïc Grenié wrote: On Sat Feb 24th, 2024, at 16:03, Gene Heskett wrote: Greetings all; As most of you know I'm a DM-II, but the recent shortage of trulicity, a weekly self administerd shot that helps regulate one's blood guclose levels has got us scrambling for alternatives. So a month back I bought one of the so called smart watches that purports to monitor blood sugar. "purports" appears to be the correct verb https://www.fda.gov/medical-devices/safety-communications/do-not-use-smartwatches-or-smart-rings-measure-blood-glucose-levels-fda-safety-communication <https://www.fda.gov/medical-devices/safety-communications/do-not-use-smartwatches-or-smart-rings-measure-blood-glucose-levels-fda-safety-communication> I got a msg from our state AG warning me about these, but it was 2 days after I had ordered this thing. Too little warning, too late, but I'm the curios type, and this device looks good so I would like to see how it compares with the antique finger prick model we've been using since Hector's great grandfather was a puppy.. New tech sometimes work pretty good while the FDA seems to try to protect old tech. (as for the rest of the mail, I have no idea whatsoever). Loïc Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
medically smart watches
Greetings all; As most of you know I'm a DM-II, but the recent shortage of trulicity, a weekly self administerd shot that helps regulate one's blood guclose levels has got us scrambling for alternatives. So a month back I bought one of the so called smart watches that purports to monitor blood sugar. No mention of it needing to be paired withe iphone or clone there of. But it does even work as a watch when unpaired. It has no setime from the single button it has, apparently using ntp thru the smartphone pair for that. Someplace in this midden heap I hail from is a USB3 hub with only 3 usb port, the 4th port has a wifi radio and a cat6 socket. The radios in everything else here are turned off to keep a used to be neighbor from using 80G a month with his cellphone, billed to me. So the question I'm getting to is: Do we have a utility that can be paired with whatever wifi/bluetooth this thing uses and would allow it to work? This watch is a "MOVEMENT" SMART WATCH. Ack the instructs its a bluetooth, and It looks as if I have to buy a BT adaptor, so advise on that front would be most welcome also. I tried a bt house net 20 years ago, 3% dependability, haven't messed with it since. Couldn't move a 3k text file even rz/sz-3.3.6 aka zmodem. Thank you all. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Orphaned Inode Problem
On 2/21/24 08:17, Henning Follmann wrote: On Wed, Feb 21, 2024 at 12:00:17PM +0100, Jörg-Volker Peetz wrote: Hi, did you take a look at the smartctl output? Somewhere I read, for maintainance of an SSD all it's cells should be read from time to time like this sudo dd if=/dev/DEVICE of=/dev/null bs=8M status=progress Where did you read that? That seems like a huge waste of time. where device is something like sda or nvme0n1, especially if it was switched off for a longer period. At least, it shows the current read performance of the device. An SSD should regularly be trimmed, if in use. This is to assist it's wear leveling process. If you should manually kick off trim is a hotly debated issue. It mainly depends on the use of the drive. In most cases however do not alter any of how the system was install by your friendly installer. That actually might be a good idea, as it will force a read of everything, which will trigger a fixit it for any cell that does read right on the first try. OTOH, my pi's only get powered down for maintenance, so they've got lots of spare time to do their thing when you are not looking, And i've not lost a pi u-sd in quite a few years. So even though the system, with all the trash collected over a decade might amount to 10G's, they have 64G to play with. I must be doing something right. What's your opinion? How much time do you have :) -H Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: red SATA cables "notoriously bad"?
On 2/20/24 04:29, David Christensen wrote: On 2/19/24 18:07, Felix Miata wrote: My experience with that particular color cables matches Gene's. Cut one open, and out comes a powdery substance instead of clean copper strands. I think most for gen 1.0 SATA 2 decades ago, so there shouldn't be many still around bogging down 3.0 drives. About 10 (?) years ago, I seem to recall trouble-shooting a SATA connection problem and coming to the conclusion that the (red) SATA cable was the problem. I cannot recall if I had heard Gene's story at the time. I believe I decided to cut off one end, taking a 50% chance of getting something I could use as a break-out/ pig tail. To my surprise, there was no copper within the cable, just brownish dust! Unfortunately, I did not photograph the cable and it is long gone. 4 or more years ago, I was plagued with SATA III connection issues; likely due to old SATA I and SATA II cables and mobile racks. I bought a bunch of black SATA cables marked "6 Gbps" with locking connectors and got rid of all of my existing cables (most of which were red). I later retired all of my SATA I and SATA II mobile racks, moved most of my drives internal, and bought a few SATA III mobile racks for off-site backup drives. My SATA connection problems are finally resolved. How many more nearly identical story's can be teased out of this group of old hands at this game of making moving electrons do useful things? David . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: red SATA cables "notoriously bad"?
On 2/19/24 22:15, Andy Smith wrote: Hi, On Mon, Feb 19, 2024 at 10:06:23PM -0500, gene heskett wrote: Andy, look at that CET after my name in the sig, that stands for Certified Electronics Tachnician. There isn't a polite way to say this really but unfortunately I am unable to take you seriously as you've posted so many outright incorrect assertions to this mailing list in the past. I can list off my qualifications and experience and still be told pretty often that I don't know what I am talking about, and sometimes I probably don't, so let's leave it at that. Regards, Andy Thats a good way to cap this Andy, thanks. stay well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: red SATA cables "notoriously bad"?
On 2/19/24 20:29, Andy Smith wrote: Hello, On Mon, Feb 19, 2024 at 08:16:49PM -0500, Felix Miata wrote: I've never heard of this. I did a bit of searching around and all I can find is assertions that cable colour doesn't matter for SATA. I can't seem to find anything about red pigment damaging the copper. Have you got a reference so I can learn more? Don't you ever read Gene Heskett posts? Ah I see: https://lists.debian.org/debian-user/2023/06/msg00103.html Stefan: Can you point to any evidence? Gene: Just my own life [segue to story from 1970] The usual story. Yeah I skipped that thread the first time around owing to its subject line containing "urban legends". consider searching this very list's archives. Moments of my life I will never get back, and no more authoritative sources unfortunately! Thanks, Andy Andy, look at that CET after my name in the sig, that stands for Certified Electronics Tachnician. We teach EE's which there are 1000's of compared to us, what their profs didn't teach them before issuing that sheepskin they hang on the office wall. I'm also a 1st phone, an easy test I didn't crack a book for. And I was familiar enough, having made a living from electronics for 20+ year including the physics of klystrons when I saw the notice that the test was available so I walked into the profs classroom and laid my fee for the test on his desk. Allocated 4 hours, I handed it back to him in 45 minutes. Of 125 questions, I blacked the right box on 123. He I found had been teaching that course for 5 years, I was the first that passed it. Registered as NB-116. 20 some years later I checked to see how many had passed since, they were up to NB-122. That's telling indeed. Now I'm in my 90th year, and with a fading short term memory and a pita on this list, but I'm still here till I miss roll call some morning. Take care and stay well ANDY. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: red SATA cables "notoriously bad"? (Was Re: Orphaned Inode Problem)
On 2/19/24 19:49, Andy Smith wrote: Hi, On Mon, Feb 19, 2024 at 04:12:44PM -0300, Eike Lantzsch ZP5CGE / KY4PZ wrote: The notorious red SATA cables - I threw them out long ago. The red pigment eats up the fine copper threads, changing the impedance of the cable and eventually making false contact before failing completely. I've never heard of this. I did a bit of searching around and all I can find is assertions that cable colour doesn't matter for SATA. I can't seem to find anything about red pigment damaging the copper. Have you got a reference so I can learn more? Thanks, Andy Andy, I am the source of that red cable story. Actually it is not technically a red but a magenta that fluoresces reddish to get that brightness. And my history with early failure of cables that used that dye to color the insulation goes back to the 1970's when the majority of the CB radios sold were from japan, not china. Microphone cables that included a push to talk start failing quite rapidly, The hot red wire was used for that about 99% of the time..Open up the plug or the microphone, the red wire had come unsoldered or broken off, attempt to strip it back to good wire wasn't possible. there was no good copper left anyplace in the cable. Cut an inch of it off where there should have been copper, grab it by the end with suture clamps and thump it with a pencil over white copy paper and shake the copper out of it as a reddish, face powder fine dust, the copper had been I assume made into copper oxide. It took every good tech in the country to start returning mike cables back to the makers as defective before they got the message that that die was poison. That took about 9 months before we could order replacement cable specifing that they would be returned for credit if we found any 'hot" red in the cables they were selling us. The shortage at the time forced them to ship whatever they had I guess. If you goto Loews or any electrical supply where they have to sell NEC approved cabling, you will NOT see that red on any wire on the shelf or in the rack. Then about the time sata came out, they found a new market for that plastic dye, and sure as heck, we had cabling problems out the yang in about 3 years. If you have that hot red wire anyplace in you computer, it will fail, order more cables. Tan, Black, Yellow, but not hot red. And sleep better knowing that time bomb has gone out with the trash. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: SMART Uncorrectable_Error_Cnt rising - should I be worried?
On 2/17/24 13:45, Roy J. Tellason, Sr. wrote: On Friday 16 February 2024 04:42:12 pm Gremlin wrote: On 2/16/24 13:56, Roy J. Tellason, Sr. wrote: On Friday 16 February 2024 04:52:22 am David Christensen wrote: I think the Raspberry Pi, etc., users on this list live with USB storage and have found it to be reliable enough for personal and SOHO network use. I have one, haven't done much with it. Are there any alternative ways to interface storage? Maybe add SATA ports or something? On raspberry Pi 1 to 4 No, you have a choice of USB 2 or USB 3 Looks like I'll have to go with a USB - SATA adapter, then. It's a 4, I bought the "Canakit" package that included an enclosure, keyboard, mouse, and a small touch screen (4"?). Raspberry Pi 5 Yes with and NVME hat interfaced to the pcie "port" I am using a Pi 5 (desktop) with USB 3 port hooked to an NVME external drive and it works just fine. It is much faster than the Pi 4 I was using because of the new "south bridge" I'm aware of the 5 having come out, but haven't explored the possibility of getting one of those yet. StarTech makes an excellent sata-III to usb3 adapter for about a tenner a copy. So a 7 port hub takes up only 1 or the 4 usb3 ports on a bpi-m5, leaving 3 more ports available on the bpi-m5 itself. See at ssh into it from the Main system and run the pi headless. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/17/24 00:47, gene heskett wrote: On 2/16/24 21:13, Andy Smith wrote: Hello, On Fri, Feb 16, 2024 at 02:02:59PM -0600, David Wright wrote: On Fri 16 Feb 2024 at 14:48:12 (+), Andy Smith wrote: No, because it's a filesystem label for the ext4 fs created on /dev/sdz1. If sdz1 is turned into an LVM Physical Volume, there won't be an ext4 filesystem on it any more. If sdz1 is turned into a member of an MD array, there won't be an ext4 filesystem on it any more. The labels go with the filesystem. It isn't a filesystem LABEL. Oh dear, I am lost. I don't use gparted but at least one person in this thread has said that Gene created a filesystem label not a partition name, and Gene doesn't know which he created, so I've gone from guessing partition name to fs label and now back to partition name again. I'm totally willing to believe that you know what you've created there though, so fair enough. You've not yet been clear about what you want, but from what little information you have provided you've been told multiple times by multiple people that filesystem labels won't help. ↑ … which would be moot if only Gene could create partition PARTLABELs successfully. Which I have found can also be done with gparted, so the 1st 2 drives which will be put in slot 2 as the Top and Bottom drives in that 2 drive adaptor in slot 2, have had their partitions labeled as SIPWRS2T and SIPWRS2B. And labeled as such with a P-Touch. The other 2 that just walked in the door, are still cold enough to sweat if unsealed. Sure, but we still don't know what Gene is trying to do or why partition names would be useful to him so I am kind of sceptical that this leads anywhere. That part if the ^%$ drives ever get here, I just looked at the front deck and it has 2" of fresh white stuff on it. To describe what I am building, this is a 5 slot bare drive cage. You could throw tom cats thru it from most angles so I printed pretty sides for it. I've printed drawers to fill those slots. The top slot has a bpi-m5 in it, the bottom slot has a 5 volt 10 amp psu in it. slot 2 will have 2 of those nearly 4T SSD's in a 2 drive adapter, with full disk partitions on them, so obviously I should name the top one as "si-pwr-s2t". the bottom one then s/b si-pwr-s2b slot-3 then s/b si-pwr-s3t and si-pwr-s3b. slot-4 then is giga-s4t1 and giga-s4t2. ditto for the bottom one. named giga-s4b1 and giga-s4b2. 1 partition to hold amanda's database and one to serve as amanda's holding disk. Whats so meaningless to you that you can't see the utility in that? That has not been explained, so please educate me as to why you think its worthless? Thanks, Andy Cheers, Gene Heskett, CET. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/17/24 00:35, to...@tuxteam.de wrote: On Fri, Feb 16, 2024 at 12:12:06PM -0800, David Christensen wrote: On 2/15/24 17:44, gene heskett wrote: [...] Other than that the gui access delay (30+ seconds) problems I have did NOT go away when I moved /home off the raid to another SSD [...] I think at this point few are surprised by that. Last round of debugging we pretty much eliminated disk access as likey cause of those delays. The most hopeful cause for a candidate, IIRC, was some thingy deep in the DE trying to access an unavailable resource. Cheers Is there some way to identify that roadblock? It sure seems to me there ought to be a way to identify whatever it is that is causing it.. Take care, stay warm and well Tomas Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/16/24 21:13, Andy Smith wrote: Hello, On Fri, Feb 16, 2024 at 02:02:59PM -0600, David Wright wrote: On Fri 16 Feb 2024 at 14:48:12 (+), Andy Smith wrote: No, because it's a filesystem label for the ext4 fs created on /dev/sdz1. If sdz1 is turned into an LVM Physical Volume, there won't be an ext4 filesystem on it any more. If sdz1 is turned into a member of an MD array, there won't be an ext4 filesystem on it any more. The labels go with the filesystem. It isn't a filesystem LABEL. Oh dear, I am lost. I don't use gparted but at least one person in this thread has said that Gene created a filesystem label not a partition name, and Gene doesn't know which he created, so I've gone from guessing partition name to fs label and now back to partition name again. I'm totally willing to believe that you know what you've created there though, so fair enough. You've not yet been clear about what you want, but from what little information you have provided you've been told multiple times by multiple people that filesystem labels won't help. ↑ … which would be moot if only Gene could create partition PARTLABELs successfully. Sure, but we still don't know what Gene is trying to do or why partition names would be useful to him so I am kind of sceptical that this leads anywhere. That part if the ^%$ drives ever get here, I just looked at the front deck and it has 2" of fresh white stuff on it. To describe what I am building, this is a 5 slot bare drive cage. You could throw tom cats thru it from most angles so I printed pretty sides for it. I've printed drawers to fill those slots. The top slot has a bpi-m5 in it, the bottom slot has a 5 volt 10 amp psu in it. slot 2 will have 2 of those nearly 4T SSD's in a 2 drive adapter, with full disk partitions on them, so obviously I should name the top one as "si-pwr-s2t". the bottom one then s/b si-pwr-s2b slot-3 then s/b si-pwr-s3t and si-pwr-s3b. slot-4 then is giga-s4t1 and giga-s4t2. ditto for the bottom one. named giga-s4b1 and giga-s4b2. 1 partition to hold amanda's database and one to serve as amanda's holding disk. Whats so meaningless to you that you can't see the utility in that? That has not been explained, so please educate me as to why you think its worthless? Thanks, Andy Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/16/24 15:47, Stefan Monnier wrote: One of the 1T samsungs in the md raid10 isn't entirely happy but mdadm has not fussed about it, and smartctl seems to say its ok after testing. Other than that the gui access delay (30+ seconds) problems I have did NOT go away when I moved /home off the raid to another SSD, so I may move it back. One of the reasons I ma rsync'ing this /home back to it every other day or so, takes < 5 minutes. Please get a small SSD, do a fresh install, and test for the access delay. If the delay is not present, incrementally add and test applications. If you encounter the delay, please stop and post the details; console sessions are best. If not, then connect the disks with /home and test. If you encounter the delay, then please stop and post the details. If you do not encounter the delay, then your system is fixed. Take a Clonezilla image. FWIW, my crystal ball says "30s => software timeout rather than hardware problem" Stefan We are on the same page, but what is causing the timeout? . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/16/24 07:46, debian-u...@howorth.org.uk wrote: gene heskett wrote: On 2/15/24 15:45, Andy Smith wrote: MD RAID isn't the only way to achieve redundancy. You also haven't explained why you need LVM. Depending on your needs, maybe a filesystem with redundancy and volume management features in it would be better. Like btrfs or zfs. May I miss-understood the wiki, xfs is stated as not being complete for linux, a zfx is I think commercial? Can you update that? Sorry, which wiki page do you think says XFS is not complete? . I wasn't awake enough to bookmark it. I'm not done with wiki yet, if I run across it again I'll post the link. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/15/24 16:20, David Wright wrote: On Thu 15 Feb 2024 at 20:44:52 (+), Andy Smith wrote: On Thu, Feb 15, 2024 at 03:19:54PM -0500, gene heskett wrote: On 2/15/24 11:21, Andy Smith wrote: You asked if "labels" would survive their associated partition being put into LVM. I said, "yes if you mean partition names, no if you mean filesystem labels". I'm still confused and it is not all the well clarified by looking at gparted, a shot of which I posted. This could all be answered easily if you'd just post the copy-paste of your terminal scrollback for what you actually did. Hopefully you don't now object to me asking what you meant since apparently even you do not know if you mean partition names or filesystem labels. >From what you posted it now sounds like labels on the ext4 filesystems that you created. Gene effectively shoots himself in the foot by using gparted (GUI) instead of, say, gdisk where it's easy to paste what was done, or for someone, say me, to post an example: # gdisk /dev/sdz GPT fdisk (gdisk) version 1.0.3 Partition table scan: MBR: not present BSD: not present APM: not present GPT: not present Creating new GPT entries. Command (? for help): o This option deletes all partitions and creates a new protective MBR. Proceed? (Y/N): y Command (? for help): p Disk /dev/sdb: 3907029168 sectors, 1.8 TiB Model: Desktop Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): A1093790-9A1A-4A7E-A807-B9CC6F7CF77E Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 3907029134 Partitions will be aligned on 2048-sector boundaries Total free space is 3907029101 sectors (1.8 TiB) Number Start (sector)End (sector) Size Code Name Command (? for help): n Partition number (1-128, default 1): First sector (34-3907029134, default = 2048) or {+-}size{KMGTP}: Last sector (2048-3907029134, default = 3907029134) or {+-}size{KMGTP}: Current type is 'Linux filesystem' Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to 'Linux filesystem' Command (? for help): c Using 1 Enter name: Lulu01 Command (? for help): i Using 1 Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) Partition unique GUID: 37CF9EDF-C695-428E-9889-2F52C40DFCA5 First sector: 2048 (at 1024.0 KiB) Last sector: 3907029134 (at 1.8 TiB) Partition size: 3907027087 sectors (1.8 TiB) Attribute flags: Partition name: 'Lulu01' Command (? for help): w Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): y OK; writing new GUID partition table (GPT) to /dev/sdb. The operation has completed successfully. # # gdisk -l /dev/sdz GPT fdisk (gdisk) version 1.0.3 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sdb: 3907029168 sectors, 1.8 TiB Model: Desktop Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): A1093790-9A1A-4A7E-A807-B9CC6F7CF77E Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 3907029134 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector)End (sector) Size Code Name 12048 3907029134 1.8 TiB 8300 Lulu01 # Cheers, David. . And this "partition" name survives?, and can be unique?, and can be used in a mount cmd? That's how I'll do it then. This if all 3 questions above can be answered with a yes is the answer I've been trying to squeeze out all along. Thank you. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/15/24 16:20, Andy Smith wrote: Hi, On Thu, Feb 15, 2024 at 03:59:30PM -0500, gene heskett wrote: Now the question remains howinhell do I put a label on a drive such that it does survive making a raid or lvm device with it? To not have a way to id its the drive in slot n of a multislot rack stops me in my tracks. Given that an MD RAID array or a LVM Logical Volume may be spread across many different underlying storage devices, the question doesn't make sense. Due to the fact that filesystems go on block devices, and RAID arrays and LVM LVs can be block devices, a filesystem label in that instance would represent possibly multiple underlying storage devices. So step back and tell us what are you actually trying to achieve, rather than insisting on your X solution to your Y problem. Suppose you have the MD array /dev/md42. What are you conceptually wanting to do with that in relation to labels of some kind? What information is it that you want? Support you have LVM logical volume /dev/myvg/mylv. What are you conceptually wanting to do with that in relation to labels of some kind? What information is it that you want? I want to know with absolute certainty, with of the 4 drives in that raid10, actually has a belly ache. When it has a belly ache. I can't see any reason on this ball of rock and water, why I should be expected to replace a drive at a time until the belly ache goes away. Particularly with these gigastones, I 5 of them but when all are plugged in there are only 3 becauae there are 2 pairs of matching serial numbers in the by-id output, by-id sees all 5 drives, but udev see's only the unique serial numbers. gparted can change the devices blkid, getting a new one from rng so while you all think that's the greatest thing since bottled beer, I know better. Once you explain what information you're trying to get when you start with an LVM or MD device, I can probably advise how to get it, but just to make clear: I don't think it's a good idea to continue to use such broken devices. We don't need to debate that since I know you've been posting about that a lot and clearly have decided to push ahead. I just think you haven't seen the end of the problems with that issue. Regards, Andy Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/15/24 15:45, Andy Smith wrote: Hi, On Thu, Feb 15, 2024 at 03:19:54PM -0500, gene heskett wrote: On 2/15/24 11:21, Andy Smith wrote: You asked if "labels" would survive their associated partition being put into LVM. I said, "yes if you mean partition names, no if you mean filesystem labels". I'm still confused and it is not all the well clarified by looking at gparted, a shot of which I posted. This could all be answered easily if you'd just post the copy-paste of your terminal scrollback for what you actually did. Hopefully you don't now object to me asking what you meant since apparently even you do not know if you mean partition names or filesystem labels. From what you posted it now sounds like labels on the ext4 filesystems that you created. What you're trying to do (LVM on MD RAID?) is quite complicated and you clearly don't have much experience in this area. That's okay but it does mean that you're likely to make a lot of mistakes with a thing that holds your data, so you need to be prepared for that. For example, you mentioned only as an aside that you intended to get two more drives and put the four of them into an LVM, but you did not know that this would blow away the filesystems already on the drives, and that this would not by itself provide you with any redundancy. So if you hadn't said anything and I hadn't questioned this, you could well have spent a lot of time creating something that isn't correct and needs to be torn down again, possibly with data loss. Again that's okay — we learn by experimentation — but you're going to have to prepare yourself for doing this over again many times. And I also want to reiterate that you're going to have questions, and that is good, but if we here on this list are not to be driven insane by the ambiguities and misunderstandings, please, please, PLEASE post logs of the commands you type on this adventure when you ask them. Please. If you have questions, ask them. Like which version of a raid is the best at tolerating a failed drive, which give he best balance between redundancy and capacity. This is a complex subject. Before we get into it, what are you trying to achieve? Like, what is your end goal with these four drives? MD RAID isn't the only way to achieve redundancy. You also haven't explained why you need LVM. Depending on your needs, maybe a filesystem with redundancy and volume management features in it would be better. Like btrfs or zfs. May I miss-understood the wiki, xfs is stated as not being complete for linux, a zfx is I think commercial? Can you update that? Given the problems you had with MD RAID in the past I still maintain that you'd likely be better off just getting a storage appliance of some kind. One of the 1T samsungs in the md raid10 isn't entirely happy but mdadm has not fussed about it, and smartctl seems to say its ok after testing. Other than that the gui access delay (30+ seconds) problems I have did NOT go away when I moved /home off the raid to another SSD, so I may move it back. One of the reasons I ma rsync'ing this /home back to it every other day or so, takes < 5 minutes. Thanks, Andy Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/15/24 15:45, Andy Smith wrote: Hi, On Thu, Feb 15, 2024 at 03:19:54PM -0500, gene heskett wrote: On 2/15/24 11:21, Andy Smith wrote: You asked if "labels" would survive their associated partition being put into LVM. I said, "yes if you mean partition names, no if you mean filesystem labels". I'm still confused and it is not all the well clarified by looking at gparted, a shot of which I posted. This could all be answered easily if you'd just post the copy-paste of your terminal scrollback for what you actually did. Hopefully you don't now object to me asking what you meant since apparently even you do not know if you mean partition names or filesystem labels. From what you posted it now sounds like labels on the ext4 filesystems that you created. What you're trying to do (LVM on MD RAID?) is quite complicated and you clearly don't have much experience in this area. That's okay but it does mean that you're likely to make a lot of mistakes with a thing that holds your data, so you need to be prepared for that. For example, you mentioned only as an aside that you intended to get two more drives and put the four of them into an LVM, but you did not know that this would blow away the filesystems already on the drives, and that this would not by itself provide you with any redundancy. So if you hadn't said anything and I hadn't questioned this, you could well have spent a lot of time creating something that isn't correct and needs to be torn down again, possibly with data loss. That is how we learn Andy Any data I put on this stuff while testing as normal files will be expected to be lost. So that possibility is expected. Experience is how I got where I am on an 8th grade education. Again that's okay — we learn by experimentation — but you're going to have to prepare yourself for doing this over again many times. Expected. And I also want to reiterate that you're going to have questions, and that is good, but if we here on this list are not to be driven insane by the ambiguities and misunderstandings, please, please, PLEASE post logs of the commands you type on this adventure when you ask them. I'll try. Please. If you have questions, ask them. When I get it assembled. Last 2 drives s/b here tom. Then I need to shut down and extract 4 of the gisastones which are plugged in atm but unmounted, the 5th one is now my /home partition. And I am rsync'ing /home back to that now idle raid10 about every other day. Like which version of a raid is the best at tolerating a failed drive, which give he best balance between redundancy and capacity. This is a complex subject. Before we get into it, what are you trying to achieve? Like, what is your end goal with these four drives? MD RAID isn't the only way to achieve redundancy. You also haven't explained why you need LVM. Depending on your needs, maybe a filesystem with redundancy and volume management features in it would be better. Like btrfs or zfs. Given the problems you had with MD RAID in the past I still maintain that you'd likely be better off just getting a storage appliance of some kind. Thanks, Andy Thank you Andy. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/15/24 14:41, Andy Smith wrote: Hello, On Thu, Feb 15, 2024 at 05:32:34PM +, debian-u...@howorth.org.uk wrote: Andy Smith wrote: Do remember that this mailing lists does not accept attachments (and very few mailing lists in general do), so any time you are tempted to send a photo to a mailing list it is probably an error. We did not see whatever it was, but it doesn't sound relevant. FWIW, the photo that Gene attached was certainly attached to the mail that the list sent to me, so I suppose that this list does permit attachments, at least in some circumstances. Oh yes you're right, I see it too now I've looked properly! So now I actually think Gene means a filesystem label? Sigh, this really does not need to be this difficult. Anyway I see that the image of gparted says there's an ext4 filesystem there. So, Gene: when you put those partitions into LVM (when you make them LVM Physical Volumes) the filesystems on them will be trashed, and so will the filesystem labels. Which is the answer I needed. Those names I wrote with gparted WILL be trashed. Now the question remains howinhell do I put a label on a drive such that it does survive making a raid or lvm device with it? To not have a way to id its the drive in slot n of a multislot rack stops me in my tracks. Particularly with these gigastones, I 5 of them but when all are plugged in there are only 3 becauae there are 2 pairs of matching serial numbers in the by-id output, by-id sees all 5 drives, but udev see's only the unique serial numbers. gparted can change the devices blkid, getting a new one from rng so while you all think that's the greatest thing since bottled beer, I know better. Take care, stay well all. Thanks, Andy Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/15/24 11:21, Andy Smith wrote: Hi, On Wed, Feb 14, 2024 at 09:56:07PM -0500, gene heskett wrote: On 2/14/24 19:48, Andy Smith wrote: I hope you are putting a level of redundancy under that LVM or are using the redundancy features of LVM (which you need to go out of your way to do). Otherwise by default what you'll have is not redundant and a device failure will lose at least the contents of that device, possibly more. You pique my curiosity because this is going to be my backup system, but not a syllable about how to do it. You tell me its fine 3 paragraphs up. then tell me lvcreate will wipe it out. I'm asking for answers, not more connumdrums.. You've split your reply to my mail across three different emails and now you're replying to a part about redundancy, but asking questions about something completely different, all while referring to bits that are not proximal to where your text is, so it's unclear to me exactly what you are asking about. You asked if "labels" would survive their associated partition being put into LVM. I said, "yes if you mean partition names, no if you mean filesystem labels". I'm still confused and it is not all the well clarified by looking at gparted, a shot of which I posted. Wikipedia seems to have the history but not the practice to the depth i'd like. I also looked at XFS on wikipedia, looks good, but I note it says then linux version linux is not complete. 2 more of the big Si Pwr 3.64T's will be here tomorrow. So I'll be inclined to put it together and see what I can make it do. There will no doubt be questions. To my implied question about your redundancy plans (if any), you then complain that I have not given you "a syllable about how to do it". Do *what*? I don't yet know what your plans are in that regard. If you have questions, ask them. Like which version of a raid is the best at tolerating a failed drive, which give he best balance between redundancy and capacity. Take care & stay well, Andy. Regards, Andy Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/14/24 21:14, Max Nikulin wrote: On 15/02/2024 08:48, gene heskett wrote: This is what gparted calls a "partition label" and certainly does not need a 4.5 megabyte camera image to see. or even a 50k screen snap. lsblk --fs -o +PARTLABEL /dev/sdc NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS PARTLABEL sdc └─sdc1 ext4 1.0 SiPwr_1 70bfe832-38b1-46ed-85f4-33cf473185bb . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/14/24 20:49, gene heskett wrote: On 2/14/24 19:48, Andy Smith wrote: Hi, On Wed, Feb 14, 2024 at 05:09:02PM -0500, gene heskett wrote: I have made 1 full partiton om each one, a labeled those partitions as SiPwr_0 and SiPwr_1 Please show us the command you used¹ to do that, so we know what exactly you are talking about, because as previously discussed there's a lot of different things that you like to call "partition labels". This is what gparted calls a "partition label" and certainly does not need a 4.5 megabyte camera image to see. or even a 50k screen snap. Taking this screenshot was a pita, because the gparted window disappears behind the terminal screen when you click on take another shot, so you have to quit, then find the gparted on the tool bar to bring it back to the front, then move it and the terminal so its not totally hidden. Then rerun spectacle again waste a click bringing it fwd, then 30 seconds later the spectacal instructions finally show up and after 5 minutes of screwing around, finally get the screen shot attached to prove I'm not lieing. If we take that literally that would be a GPT partition name, but you've used this same terminology before and meant a filesystem label. My only question it will those partition names survive lvcreating an 11T lvm out of these and 2 more 2T gigastones. Assuming you meant partition name the first time as well, nothing you do other than a disk wipe or re-name should alter those partition names. But your chosen partition names don't make a lot of sense to me. You've picked names based on the type/manufacturer of device so you may as well have just used the names from /dev/disk/by-id/… which already have that information and are already never going to change. I don't know why you want to complicate matters. If instead you put filesystems on these partitions and labelled *those*, well, no, LVM goes under filesystems so those filesystems and their labels (and contents) are not long for this world. I have not dealt with an lvm in about 15+ years trying it once when it first came out with a high disaster rating then. I hope you are putting a level of redundancy under that LVM or are using the redundancy features of LVM (which you need to go out of your way to do). Otherwise by default what you'll have is not redundant and a device failure will lose at least the contents of that device, possibly more. You pique my curiosity because this is going to be my backup system, but not a syllable about how to do it. You tell me its fine 3 paragraphs up. then tell me lvcreate will wipe it out. I'm asking for answers, not more connumdrums.. Regards, Andy ¹ and while you are there, maybe a post-it note with "I will show the exact command I used any time I write to debian-user" stuck to the top of the display of the screen you use to compose emails would help, because basically every thread you post here lacks that information. Cheers, Gene Heskett, CET. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: f3tools vs Silicon Power 4T drive
On 2/14/24 19:48, Andy Smith wrote: Hi, On Wed, Feb 14, 2024 at 05:09:02PM -0500, gene heskett wrote: I have made 1 full partiton om each one, a labeled those partitions as SiPwr_0 and SiPwr_1 Please show us the command you used¹ to do that, so we know what exactly you are talking about, because as previously discussed there's a lot of different things that you like to call "partition labels". If we take that literally that would be a GPT partition name, but you've used this same terminology before and meant a filesystem label. My only question it will those partition names survive lvcreating an 11T lvm out of these and 2 more 2T gigastones. Assuming you meant partition name the first time as well, nothing you do other than a disk wipe or re-name should alter those partition names. But your chosen partition names don't make a lot of sense to me. You've picked names based on the type/manufacturer of device so you may as well have just used the names from /dev/disk/by-id/… which already have that information and are already never going to change. I don't know why you want to complicate matters. Will the by-id string fit in the space reserved for a label?That IF there was a connection between the /dev/sdc that udev assigns and anything in this list: root@coyote:~# ls /dev/disk/by-id ata-ATAPI_iHAS424_B_3524253_327133504865 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302509W-part1wwn-0x5002538f413394a5 ata-Gigastone_SSD_GST02TBG221146 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302509W-part2 wwn-0x5002538f413394a5-part1 ata-Gigastone_SSD_GST02TBG221146-part1 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302509W-part3 wwn-0x5002538f413394a5-part2 ata-Gigastone_SSD_GSTD02TB230102 ata-Samsung_SSD_870_QVO_1TB_S5RRNF0T201730V wwn-0x5002538f413394a5-part3 ata-Gigastone_SSD_GSTD02TB230102-part1 ata-Samsung_SSD_870_QVO_1TB_S5RRNF0T201730V-part1wwn-0x5002538f413394a9 ata-Gigastone_SSD_GSTG02TB230206 ata-Samsung_SSD_870_QVO_1TB_S5RRNF0T201730V-part2 wwn-0x5002538f413394a9-part1 ata-Gigastone_SSD_GSTG02TB230206-part1 ata-Samsung_SSD_870_QVO_1TB_S5RRNF0T201730V-part3 wwn-0x5002538f413394a9-part2 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302498T ata-SPCC_Solid_State_Disk_AA231107S304KG00080 wwn-0x5002538f413394a9-part3 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302498T-part1 ata-SPCC_Solid_State_Disk_AA231107S304KG00080-part1 wwn-0x5002538f413394ae ata-Samsung_SSD_870_EVO_1TB_S626NF0R302498T-part2 md-name-coyote:0 wwn-0x5002538f413394ae-part1 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302498T-part3 md-name-coyote:0-part1 wwn-0x5002538f413394ae-part2 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302502Emd-name-coyote:2 wwn-0x5002538f413394ae-part3 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302502E-part1 md-name-_none_:1 wwn-0x5002538f413394b0 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302502E-part2 md-uuid-3d5a3621:c0e32c8a:e3f7ebb3:318edbfb wwn-0x5002538f413394b0-part1 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302502E-part3 md-uuid-3d5a3621:c0e32c8a:e3f7ebb3:318edbfb-part1 wwn-0x5002538f413394b0-part2 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302507V md-uuid-57a88605:27f5a773:5be347c1:7c5e7342 wwn-0x5002538f413394b0-part3 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302507V-part1 md-uuid-bb6e03ce:19d290c8:5171004f:0127a392 wwn-0x5002538f42205e8e ata-Samsung_SSD_870_EVO_1TB_S626NF0R302507V-part2 usb-SPCC_Sol_id_State_Disk_1234567897E6-0:0 wwn-0x5002538f42205e8e-part1 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302507V-part3 usb-SPCC_Sol_id_State_Disk_1234567897E6-0:0-part1 wwn-0x5002538f42205e8e-part2 ata-Samsung_SSD_870_EVO_1TB_S626NF0R302509W usb-USB_Mass_Storage_Device_816820130806-0:0 wwn-0x5002538f42205e8e-part3 root@coyote:~# I dare you to find the disk that udev calls sdc in the above wall of text. Why can't you understand that I want a unique label for all of this stuff that is NOT a wall of HEX numbers no one can remember. Its not mounted, so blkid does NOT see it. If instead you put filesystems on these partitions and labelled *those*, well, no, LVM goes under filesystems so those filesystems and their labels (and contents) are not long for this world. I have not dealt with an lvm in about 15+ years trying it once when it first came out with a high disaster rating then. I hope you are putting a level of redundancy under that LVM or are using the redundancy features of LVM (which you need to go out of your way to do). Otherwise by default what you'll have is not redundant and a device failure will lose at least the contents of that device, possibly more. Regards, Andy ¹ and while you are there, maybe a post-it note with "I will show the exact command I used any time I write to debian-user" stuck to the top of the display of the screen you use to compose emails would help, because basically every thread you post here lacks that information. Cheers, Gene Heskett, CET. -- "There are four bo
Re: f3tools vs Silicon Power 4T drive
On 2/14/24 19:48, Andy Smith wrote: Hi, On Wed, Feb 14, 2024 at 05:09:02PM -0500, gene heskett wrote: I have made 1 full partiton om each one, a labeled those partitions as SiPwr_0 and SiPwr_1 Please show us the command you used¹ to do that, so we know what exactly you are talking about, because as previously discussed there's a lot of different things that you like to call "partition labels". This is what gparted calls a "partition label" and certainly does not need a 4.5 megabyte camera image to see. or even a 50k screen snap. Taking this screenshot was a pita, because the gparted window disappears behind the terminal screen when you click on take another shot, so you have to quit, then find the gparted on the tool bar to bring it back to the front, then move it and the terminal so its not totally hidden. Then rerun spectacle again waste a click bringing it fwd, then 30 seconds later the spectacal instructions finally show up and after 5 minutes of screwing around, finally get the screen shot attached to prove I'm not lieing. If we take that literally that would be a GPT partition name, but you've used this same terminology before and meant a filesystem label. My only question it will those partition names survive lvcreating an 11T lvm out of these and 2 more 2T gigastones. Assuming you meant partition name the first time as well, nothing you do other than a disk wipe or re-name should alter those partition names. But your chosen partition names don't make a lot of sense to me. You've picked names based on the type/manufacturer of device so you may as well have just used the names from /dev/disk/by-id/… which already have that information and are already never going to change. I don't know why you want to complicate matters. If instead you put filesystems on these partitions and labelled *those*, well, no, LVM goes under filesystems so those filesystems and their labels (and contents) are not long for this world. I have not dealt with an lvm in about 15+ years trying it once when it first came out with a high disaster rating then. I hope you are putting a level of redundancy under that LVM or are using the redundancy features of LVM (which you need to go out of your way to do). Otherwise by default what you'll have is not redundant and a device failure will lose at least the contents of that device, possibly more. Regards, Andy ¹ and while you are there, maybe a post-it note with "I will show the exact command I used any time I write to debian-user" stuck to the top of the display of the screen you use to compose emails would help, because basically every thread you post here lacks that information. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
f3tools vs Silicon Power 4T drive
Drive is plugged into amobo usb-3 port via a startech USB3S2SAT3CB ADAPTER CABLE. f3probe took over 16 seconds, but says it the real thing: root@coyote:~# f3probe /dev/sdc F3 probe 8.0 Copyright (C) 2010 Digirati Internet LTDA. This is free software; see the source for copying conditions. WARNING: Probing normally takes from a few seconds to 15 minutes, but it can take longer. Please be patient. Probe finished, recovering blocks... Done Good news: The device `/dev/sdc' is the real thing Device geometry: *Usable* size: 3.64 TB (7814037168 blocks) Announced size: 3.64 TB (7814037168 blocks) Module: 4.00 TB (2^42 Bytes) Approximate cache size: 0.00 Byte (0 blocks), need-reset=no Physical block size: 512.00 Byte (2^9 Bytes) Probe time: 16.04s 2nd drive is a CC of first. So in hex, those two should yield 7.28T of storage.. I have made 1 full partiton om each one, a labeled those partitions as SiPwr_0 and SiPwr_1 I have not attempted to do anything else until the hdwe is fully assembled. My only question it will those partition names survive lvcreating an 11T lvm out of these and 2 more 2T gigastones. Thanks for any advice since I have not dealt with an lvm in about 15+ years trying it once when it first came out with a high disaster rating then. This time the experiment will be on something expendable in its early days. Thank you all. Take care, stay warm and well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: shred bug? [was: Unidentified subject!]
On 2/13/24 16:00, David Christensen wrote: On 2/13/24 11:31, gene heskett wrote: Next experiment is a pair of 4T Silicon Power SSD's When they & the startech usb3 adapters arrive. I'll get that NAS built for amanda yet. 2.5" SATA SSD's and SATA to USB adapter cables for $187.97 + $10.99 = $198.96 each set? https://www.amazon.com/dp/B0BVLRFFWQ https://www.amazon.com/dp/B00HJZJI84 Why not external USB drives for $192.99? https://www.amazon.com/dp/B0C6XVZS4K For $7 more, you can get the "Pro edition" in black with two cables: https://www.amazon.com/dp/B0C69QD5NK You could plug those into the two USB-C 3.1 Gen 2 ports on your Asus PRIME Z370-A II motherboard. Maybe, but these sata types have the the mounting bolts the usb versions don't. And fits the drive adapters I already have that put both in one drive tray. Not to mention if Taiwan has a similar product, I tend to buy it. So are the 4 2T gigastones I'll fill the next 2 drawers with so I should wind up with a 16T backup server's LVM. with a 1/2T Samsung 870 as a holding disk. Running a bpi-m5 headless, maybe < 20 watts. Whats not to like? David . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: shred bug? [was: Unidentified subject!]
On 2/13/24 14:44, Thomas Schmitt wrote: Hi, Gene Heskett wrote: Next experiment is a pair of 4T Silicon Power SSD's When f3 has (hopefully) given its OK, the topic of a full write-and-read test will come up again. I'm looking forward to all the spin-off topics. I'll have to admit it has been quite educational. Now, can I remember it next week? YTBD.> Have a nice day :) You too Thomas. Take care and stay well. Thomas Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: shred bug? [was: Unidentified subject!]
On 2/13/24 12:56, Thomas Schmitt wrote: Hi, Greg Wooledge wrote: Let me write out the example again, but with the bug fixed, and then explain what each line does, [... lecture about advanced shell programming ...] And this all because Gene Heskett was adventurous enough to buy a cheap fake USB disk. :)) Guilty as charged, Thomas. My advantage is that it won't affect the length of the ladder up my side of the hog. If I save someone else from getting bit by that fraud I'm pleased. Next experiment is a pair of 4T Silicon Power SSD's When they & the startech usb3 adapters arrive. I'll get that NAS built for amanda yet. Have a nice day :) You too. Thomas Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: find and it uncommon syntax - grrrrrrrrr
On 2/10/24 16:07, Greg Wooledge wrote: On Sat, Feb 10, 2024 at 02:58:24PM -0600, Nicholas Geovanis wrote: On Sat, Feb 10, 2024, 2:46 PM gene heskett wrote: Greetings; I have misplaced file someplace in /home/gene. its name is bpim5*shelf.scad Assuming that you are searching in the current working directory: find bpim* -print | grep 'shelf.scad' That's not correct. The argument(s) that immediately follow find should be the starting point(s) where it will begin its search. Normally these would be directories, especially the "." directory, which is actually the default in GNU find (but not a default in POSIX find). This command would only work if the file Gene's looking for happens to be in his home directory, *or*, if the file he's looking for happens to be underneath a *directory* whose name matches the bpim* glob. This is possible, but I wouldn't count on it. Especially here. I resaved it, after a couple mods, in 3dp-stf/genes-nas. So searching thru all the children of "." should be the expected behavious. But finding that fraudulent pile of 2T disks was as bogus as a $3 bill, upsets my plans. The only usb-sata adapter I trust is StarTech, and its cable is 3x longer than I need. This bogus drive came sealed in a case that I had printed supports for that fit in 2 shelf spaces, leaving room in the bottom of the care for a psu. The sata package is bigger but would take 3 spaces for 6 of them, exiling the psu external to the cage. So this job now printing is 4 more shelves, w/o the pi bolt pattern. 3dprinting is hard on memory, I've 12G of 3dp.stf now. Slicers and such are plain stupid, generating as much as 2 gigabytes for one complex part that takes 3 days to run. I've written 3 days jobs for a milling machine In 90 LOC because linuxcnc understands loops, none of the slicers or machines do, so the file you feed the printer is totally unrolled. And 10 to 30 times the size needed if the part file was converted from additive to subtractive. It may get there, but probably after I miss roll call. Thanks Greg. Take care. . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: find and it uncommon syntax - grrrrrrrrr
On 2/10/24 15:55, Greg Wooledge wrote: find . -iname 'bpim5*shelf.scad' Thank you Greg, it worked and 4 more copies are under construction now, but why is this not in the man page? Mind boggling. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Home UPS recommendations
On 2/10/24 13:40, Joe wrote: On Sat, 10 Feb 2024 16:45:29 +0100 hw wrote: The cheap APC models seem to produce a lot more heat, and their batteries don't seem to last as long. They work and they're not really a good deal. I don't have test equipment for UPCs, but you can feel how warm they get and see how cheaply they're built without special equipment. It's quite surprising how many complaints about swollen UPS batteries there are around the Net. Given the fairly light duties of the batteries almost all of the time, this is pretty well certain to be caused by overheating due to incompetent charging. Batteries, particularly lead-acid types, are not exactly new technology, and the correct charging of them is well understood. You have an excellent view of the problem. One of the problems with PBa batteries is the each one of the gender has a mind of its own, and If you don't fiddle with the charging circuit, you will never find the optimum voltage to charge that battery to. One of the things you never ever want to is look into a liquid acid battery and see it bubbling. That indicates and overcharge, the bubbling is the disassociated hydrogen and oxygen of the water component of the acid, which makes the water go away, leaving eve stronger acid.. Two instances I can regale you with. 1. shortly after I became the resident engineer at KXNE in NE Nebraska in '69, the two big truck batteries that started the 150 kw Cummins standby power failed, basically burned up from over charge. Replacing the batteries, they boiled like crazy. So I turn down the curent from a charger with a higher resistor, because it was banging over 2 amps into the 2 of then to get the 24 the starter needed but that was holding those up to around 29 volts. The next day I raised the resistor about 4x as they were still boiling. Wash, rinse, repeat till the trickle charge was down to around .005 amps. This was all it took for a trickle charge for a pair of 225ah large car batteries kept clean. 8 years later I'm bored out of my skull and had an offer to be the Chief at a station in NM, offering a 175% raise so I took it. Those batteries were then 8 years old, and still were trying to turn that 335 Cummins wrong side out starting it. When the weekly 15 minute exercise came up you heard the bendix slam into the flywheel, followed milliseconds later by the first bark, and 1 measly second later the lights were back on 2. While in Nebraska, it can get pretty cold, like -35F once in a while. I had put an ambulance alternator in my daily driver, and made a switching regulator for the voltage regulator but in series with the voltage reference zener diode, I added 4 common si rectifier diodes to use their negative temp effects to turn it up or down according to the underhood temps. 15 seconds after a -25F start, it had the battery back up to about 16 volts, but 20 minutes and 20 miles later it was down to abound 12.7 volts, and on a 105F day down to around 12.3 volts. That battery was then about 7 years old, still had its original water in it, spun the engine faster than it idled, when the missus threw a rod. The only thing I didn't get a chance to salvage was that alternator, the missus sold it to a junk yard the next day before I had a chance to pull it off. Getting to know the battery and how to treat it could bankrupt all the replacement battery makers. The acid SG is important, reject any battery whose label says SG is 1.280. buy the one that says 1.260, It will be a fraction of a volt lower, but treated right will actually live years longer. Modern gel cell's are even more quickly destroyed by over charging. Your trivia factoid for the day, from somebody who understands the chemistry. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
find and it uncommon syntax - grrrrrrrrr
Greetings; I have misplaced file someplace in /home/gene. its name is bpim5*shelf.scad As usual it outputs 100,000 filenames, none of which is the one I am looking for. How in heck do you shut this thing up so it only spits out /the/path/to/the/file its looking for it it even found it? And where do I put that as an alias, in my .bashrc? Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Unidentified subject!
On 2/10/24 13:30, Thomas Schmitt wrote: Hi, gene heskett wrote: my fading eyesight couldn't see the diffs between () and {} in a 6 point font. I need a bigger, more legible font in t-bird. That's why i propose to copy+paste problematic command lines. Your mouse can read it, your mail client can send it, and we have youngsters here of merely 60 years who will be glad to tell our most senior regular why the lines don't work. With some luck this creates nostalgic tangents about how the used features evolved since the early 1980s. Or even the later 1970's when I made a cosmac super elf RCA 1802 board do anything I could dream up. Made the video hdwe, and the interface to control a broadcast vcr. S-100 bus adapter was the only thing I bought, and had to build that from a kit. Built it for KRCR-TV in Redding CA, it was so useful to the production folks they used it many times a day from '79 to mid 90's when it burnt to the ground, That's eons in a tv station control room where stuff is often replaced before its fully written off tax wise in 5 years. Fun times back then. Now I'm searching amazon for a pi-clone hat with a 6 pack of sata-iii sockets on it, and coming up MT. Sniff... In the other thread about the /dev/sdm test: Creating file 39.h2w ... 1.98% -- 1.90 MB/s -- 257:11:32 but is taking a few bytes now and then. [...] $ ls -l total 40627044 [...] $ sudo f3probe --destructive --time-ops /dev/sdm Bad news: The device `/dev/sdm' is a counterfeit of type limbo Device geometry: *Usable* size: 59.15 GB (124050944 blocks) Announced size: 1.91 TB (409600 blocks) That's really barefaced. How can the seller believe to get away with a problem which will show already after a few dozen GB were written ? Probe time: 2.07s That's indeed a quick diagnosis. Congrats to the developers of f3probe. Have a nice day :) Thomas . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Unidentified subject!
On 2/10/24 05:39, Thomas Schmitt wrote: Hi, Gene Heskett wrote: Is bash not actually bash these days? It is not doing for loops for me. Come on Gene, be no sophie. Copy+paste your failing line here. :)) Alexander M. posted it a few days ago but my fading eyesight couldn't see the diffs between () and {} in a 6 point font. I need a bigger, more legible font in t-bird. Or blow it up about 3x. Which doesn't stick, its gone with next msg. G. Thank Thomas. [...]> Have a nice day :) Thomas . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Things I don't touch with a 3.048m barge pole: USB storage(WasRe: Unidentified subject!)
On 2/10/24 00:54, David Christensen wrote: On 2/9/24 04:53, gene heskett wrote: Interesting report from gdisk however: GPT fdisk (gdisk) version 1.0.9 Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present *** Found invalid GPT and valid MBR; converting MBR to GPT format in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if you don't want to convert your MBR partitions to GPT format! *** Warning! Secondary partition table overlaps the last partition by 33 blocks! You will need to delete this partition or resize it in another utility. Command (? for help): Command (? for help): p Disk /dev/sdm: 409600 sectors, 1.9 TiB Model: SSD 3.0 Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): 3230045D-589D-4601-8C4D-E9C4684B9657 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 409566 Partitions will be aligned on 64-sector boundaries Total free space is 30 sectors (15.0 KiB) Number Start (sector) End (sector) Size Code Name 1 64 409599 1.9 TiB 0700 Microsoft basic data Command (? for help): q What do we make of that? Some sort of NTFS? Do these commands produce any clues or error messages? # fdisk -l /dev/sdm # tail /var/log/messages # dmesg | tail They suggested an exfat format ootb, which matches most sd cards. Thanks David, Take care. David . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: testing new sdm drive
On 2/10/24 00:46, David Christensen wrote: On 2/9/24 00:51, gene heskett wrote: On 2/8/24 13:25, David Christensen wrote: On 2/7/24 23:14, gene heskett wrote: gene@coyote:/etc$ sudo smartctl --all -dscsi /dev/sdm ... scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 >> Terminate command early due to bad response to IEC mode page A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. gene@coyote:/etc$ And then again, it worked, sorta ... Please try again with the drive connected directly to a motherboard USB 3.0 port. That is where it still is, on a blue usb3.0 port on a 3 yo ASUS mobo. Does smartctl(8) fail when you connect the USB SSD to other USB ports? Allready packed up for return, I found enough fraud with the f3 package to jail somebody. David . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: testing new sdm drive
On 2/9/24 20:37, Alexander V. Makartsev wrote: On 10.02.2024 03:34, gene heskett wrote: On 2/8/24 07:22, Alexander V. Makartsev wrote: This is how I would test it. First create a new GPT partition table and a new 2TB partition: $ sudo gdisk /dev/sdX check /!\ Make double sure you've selected the right device by using "lsblk" and "blkid" utilities. /!\ /!\ It could change from 'sdm' to another name after reboot. /!\ At gdisk prompt press "o" to create a new GPT table, next press "n" to create a new partition, accept default values by pressing "enter". To verify setup press "p", to accept configuration and write it to device press "w". check Next format partition to ext4 filesystem: $ sudo mkfs.ext4 -m 0 -e remount-ro /dev/sdX1 check Next mount the filesystem: $ sudo mkdir /mnt/disktest check $ sudo mount /dev/sdX1 /mnt/disktest check Next create reference 1GB file filled with dummy data: $ cd /mnt/disktest check $ sudo fallocate -l 1G ./reftestfile check $ sudo badblocks -w -s -t random ./reftestfile check Now we can use script to create 1830 1GB files and check their checksum: $ for i in $(seq 1830); do sudo dd if="./reftestfile" of="./testfile${i}" status=none; md5sum -b "./testfile${i}" ;done This procedure will take a very long time to complete. "md5sum" will output the checksum for each file and they should be equal to checksum of "reftestfile": $ md5sum -b ./reftestfile Got a problem Alexander: I had to put the script someplace else. So I put it in my private /home/gene/bin as disktest.txt with nano. couldn't find it. But: gene@coyote:/mnt/disktest$ sudo /home/gene/bin/disktest.txt sudo: /home/gene/bin/disktest.txt: command not found If you put that 'for' loop one-liner inside, I think you forgot to make "/home/gene/bin/disktest.txt" executable: $ chmod +x /home/gene/bin/disktest.txt And: gene@coyote:/mnt/disktest$ ls /home/gene/bin/disktest.txt /home/gene/bin/disktest.txt So I think I found the problem with my script, ancient eyeballs can't tell the diff between () and{} so I fixed that but it still won't run or be killed. I don't care how big you've made the t-bird font, by the time you've read 2 more msgs, its back to about 6 point text. Grrr. So I fired up a root session of htop, found about 8 copies of dd showing and started killing them but cannot kill the last 2 in the D state. And cannot find .disktest.txt running in a root htop and the2 copy's of dd can't be killall'd. It's not possible for me to know what went wrong. Have you created "reftestfile" inside "/mnt/disktest" directory? How many "testfile*" files, if any, were created on the filesystem mounted at "/mnt/disktest"? Was there anything relevant in the syslog about "sdm" drive after the test? If you'd followed my instructions step by step, you'd end up inside "/mnt/disktest" directory and for the last step all you had to do is copy and paste that one-liner 'for' loop into the command line. It's a long line and it really meant to be copied and pasted not typed by hand, and also to give you the idea of the process, so you could adjust it if needed. I've tested it again on my computer and it worked as expected, synchronously created "testfiles" inside current directory and calculated their hashes one by one. Someone else advised me of the f3 package, designed to do exactly this, disclosed that the first one tested was actually an undersized and slow 64G drive. Got them packed up and return authorization already for a mailing label, Thank you very much for your assistance Alexander, interest much apprecaited. -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄ Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: testing new sdm drive continued
On 2/8/24 15:36, Linux-Fan wrote: Alexander V. Makartsev writes: [...] I managed to kill f3write, so f3probe could access it: ene@coyote:/mnt/disktest$ sudo f3probe --destructive --time-ops /dev/sdm F3 probe 8.0 Copyright (C) 2010 Digirati Internet LTDA. This is free software; see the source for copying conditions. WARNING: Probing normally takes from a few seconds to 15 minutes, but it can take longer. Please be patient. Bad news: The device `/dev/sdm' is a counterfeit of type limbo You can "fix" this device using the following command: f3fix --last-sec=124050943 /dev/sdm Device geometry: *Usable* size: 59.15 GB (124050944 blocks) Announced size: 1.91 TB (409600 blocks) Module: 2.00 TB (2^41 Bytes) Approximate cache size: 1.00 MB (2048 blocks), need-reset=no Physical block size: 512.00 Byte (2^9 Bytes) Probe time: 2.07s Operation: total time / count = avg time Read: 311.9ms / 4212 = 74us Write: 1.75s / 24740 = 70us Reset: 1us / 1 = 1us gene@coyote:/mnt/disktest$ No faster than it is, its not worth the f3fix effort, I can buy reputable, much faster sd cards at 1/3rd the cost. HTH Linux-Fan öö [...] c Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: testing new sdm drive
On 2/8/24 15:36, Linux-Fan wrote: Alexander V. Makartsev writes: On 08.02.2024 12:14, gene heskett wrote: gene@coyote:/etc$ sudo smartctl --all -dscsi /dev/sdm smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, http://www.smartmontools.org>www.smartmontools.org === START OF INFORMATION SECTION === Vendor: Product: SSD 3.0 [...] Looks like a scam. Probably a reprogrammed controller to falsely report 2TB of space to the system. I support this view :) This is how I would test it. First create a new GPT partition table and a new 2TB partition: $ sudo gdisk /dev/sdX /!\ Make double sure you've selected the right device by using "lsblk" and "blkid" utilities. /!\ /!\ It could change from 'sdm' to another name after reboot. /!\ At gdisk prompt press "o" to create a new GPT table, next press "n" to create a new partition, accept default values by pressing "enter". To verify setup press "p", to accept configuration and write it to device press "w". Next format partition to ext4 filesystem: $ sudo mkfs.ext4 -m 0 -e remount-ro /dev/sdX1 Next mount the filesystem: $ sudo mkdir /mnt/disktest $ sudo mount /dev/sdX1 /mnt/disktest Next create reference 1GB file filled with dummy data: $ cd /mnt/disktest From here on I'd suggest trying the tools from package `f3`. After installing it, find the documentation under /usr/share/doc/f3/README.rst.gz. Basic usage requires only two commands: f3write . Which has now stopped after severa hours of quitelatharic speeds in the 20m/second are, showing a litle over 1.5%. The bash shell shows it has written: ree space: 1.87 TB Creating file 1.h2w ... OK! Creating file 2.h2w ... OK! Creating file 3.h2w ... OK! Creating file 4.h2w ... OK! Creating file 5.h2w ... OK! Creating file 6.h2w ... OK! Creating file 7.h2w ... OK! Creating file 8.h2w ... OK! Creating file 9.h2w ... OK! Creating file 10.h2w ... OK! Creating file 11.h2w ... OK! Creating file 12.h2w ... OK! Creating file 13.h2w ... OK! Creating file 14.h2w ... OK! Creating file 15.h2w ... OK! Creating file 16.h2w ... OK! Creating file 17.h2w ... OK! Creating file 18.h2w ... OK! Creating file 19.h2w ... OK! Creating file 20.h2w ... OK! Creating file 21.h2w ... OK! Creating file 22.h2w ... OK! Creating file 23.h2w ... OK! Creating file 24.h2w ... OK! Creating file 25.h2w ... OK! Creating file 26.h2w ... OK! Creating file 27.h2w ... OK! Creating file 28.h2w ... OK! Creating file 29.h2w ... OK! Creating file 30.h2w ... OK! Creating file 31.h2w ... OK! Creating file 32.h2w ... OK! Creating file 33.h2w ... OK! Creating file 34.h2w ... OK! Creating file 35.h2w ... OK! Creating file 36.h2w ... OK! Creating file 37.h2w ... OK! Creating file 38.h2w ... OK! Creating file 39.h2w ... 1.98% -- 1.90 MB/s -- 257:11:32 but is taking a few bytes now and then. I 'd thing if f3write was having a problem, it would exist with a report. An ls -l in another shell took about two minutes to respond: gene@coyote:/mnt/disktest$ ls -l total 40627044 -rw--- 1 root root 1073741824 Feb 10 05:49 10.h2w -rw--- 1 root root 1073741824 Feb 10 05:51 11.h2w -rw--- 1 root root 1073741824 Feb 10 05:59 12.h2w -rw--- 1 root root 1073741824 Feb 10 06:16 13.h2w -rw--- 1 root root 1073741824 Feb 10 06:25 14.h2w -rw--- 1 root root 1073741824 Feb 10 06:33 15.h2w -rw--- 1 root root 1073741824 Feb 10 06:44 16.h2w -rw--- 1 root root 1073741824 Feb 10 06:45 17.h2w -rw--- 1 root root 1073741824 Feb 10 06:57 18.h2w -rw--- 1 root root 1073741824 Feb 10 07:06 19.h2w -rw--- 1 root root 1073741824 Feb 10 05:22 1.h2w -rw--- 1 root root 1073741824 Feb 10 07:16 20.h2w -rw--- 1 root root 1073741824 Feb 10 07:22 21.h2w -rw--- 1 root root 1073741824 Feb 10 07:32 22.h2w -rw--- 1 root root 1073741824 Feb 10 07:35 23.h2w -rw--- 1 root root 1073741824 Feb 10 07:39 24.h2w -rw--- 1 root root 1073741824 Feb 10 07:50 25.h2w -rw--- 1 root root 1073741824 Feb 10 08:09 26.h2w -rw--- 1 root root 1073741824 Feb 10 08:19 27.h2w -rw--- 1 root root 1073741824 Feb 10 08:29 28.h2w -rw--- 1 root root 1073741824 Feb 10 08:31 29.h2w -rw--- 1 root root 1073741824 Feb 10 05:24 2.h2w -rw--- 1 root root 1073741824 Feb 10 08:37 30.h2w -rw--- 1 root root 1073741824 Feb 10 08:57 31.h2w -rw--- 1 root root 1073741824 Feb 10 09:06 32.h2w -rw--- 1 root root 1073741824 Feb 10 09:32 33.h2w -rw--- 1 root root 1073741824 Feb 10 09:42 34.h2w -rw--- 1 root root 1073741824 Feb 10 10:00 35.h2w -rw--- 1 root root 1073741824 Feb 10 10:11 36.h2w -rw--- 1 root root 799719936 Feb 10 10:21 37.h2w -rw--- 1 root root 1073741824 Feb 10 05:26 3.h2w -rw--- 1 root root 1073741824 Feb 10 05:29 4.h2w -rw--- 1 root root 1073741824 Fe
Re: Unidentified subject!
On 2/7/24 23:28, Stefan Monnier wrote: Well the 2T memory everybody was curious about 3 weeks ago got here early. From dmesg after plugging one in: [629240.916163] usb 1-2: new high-speed USB device number 39 using xhci_hcd [629241.066221] usb 1-2: New USB device found, idVendor=048d, idProduct=1234, bcdDevice= 2.00 [629241.066234] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [629241.066239] usb 1-2: Product: Disk 3.0 [629241.066242] usb 1-2: Manufacturer: USB [629241.066246] usb 1-2: SerialNumber: 2697241127107725123 [629241.069485] usb-storage 1-2:1.0: USB Mass Storage device detected [629241.074187] scsi host37: usb-storage 1-2:1.0 [629242.100738] scsi 37:0:0:0: Direct-Access SSD 3.02.00 PQ: 0 ANSI: 4 [629242.100959] sd 37:0:0:0: Attached scsi generic sg13 type 0 [629242.101190] sd 37:0:0:0: [sdm] 409600 512-byte logical blocks: (2.10 TB/1.91 TiB) [629242.101289] sd 37:0:0:0: [sdm] Write Protect is off [629242.101290] sd 37:0:0:0: [sdm] Mode Sense: 03 00 00 00 [629242.101409] sd 37:0:0:0: [sdm] No Caching mode page found [629242.101410] sd 37:0:0:0: [sdm] Assuming drive cache: write through [629242.103927] sdm: sdm1 [629242.104047] sd 37:0:0:0: [sdm] Attached SCSI disk gene@coyote: Looks like a reasonable facsimile of a 2T disk to me. AFAIK the bogus 128TB drives do properly report such ridiculous sizes: the reality only hits when you try to actually store that amount of information on them. [ I'm not sure how it works under the hood, but since SSDs store their data "anywhere" in the flash, they can easily pretend to have any size they want, and allocate the physical flash blocks only on-the-fly as logical blocks are being written. Also, some Flash controllers use compression, so if you store data that compresses well, they can let you store a lot more than if you store already compressed data. ] IOW, to really check, try to save 2TB of videos (or other already compressed data), and then try and read it back. Sounds like a lawsuit to me. If I can get Alexanders script from a few days back to run. Is bash not actually bash these days? It is not doing for loops for me. Thanks for the heads up, Stefan. Stefan . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: testing new sdm drive
On 2/8/24 07:22, Alexander V. Makartsev wrote: On 08.02.2024 12:14, gene heskett wrote: gene@coyote:/etc$ sudo smartctl --all -dscsi /dev/sdm smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: Product: SSD 3.0 Revision: 2.00 Compliance: SPC-2 User Capacity: 2,097,152,000,000 bytes [2.09 TB] Logical block size: 512 bytes scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 >> Terminate command early due to bad response to IEC mode page A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. gene@coyote:/etc$ And then again, it worked, sorta Cheers, Gene Heskett, CET. Looks like a scam. Probably a reprogrammed controller to falsely report 2TB of space to the system. This is how I would test it. First create a new GPT partition table and a new 2TB partition: $ sudo gdisk /dev/sdX check /!\ Make double sure you've selected the right device by using "lsblk" and "blkid" utilities. /!\ /!\ It could change from 'sdm' to another name after reboot. /!\ At gdisk prompt press "o" to create a new GPT table, next press "n" to create a new partition, accept default values by pressing "enter". To verify setup press "p", to accept configuration and write it to device press "w". check Next format partition to ext4 filesystem: $ sudo mkfs.ext4 -m 0 -e remount-ro /dev/sdX1 check Next mount the filesystem: $ sudo mkdir /mnt/disktest check $ sudo mount /dev/sdX1 /mnt/disktest check Next create reference 1GB file filled with dummy data: $ cd /mnt/disktest check $ sudo fallocate -l 1G ./reftestfile check $ sudo badblocks -w -s -t random ./reftestfile check Now we can use script to create 1830 1GB files and check their checksum: $ for i in $(seq 1830); do sudo dd if="./reftestfile" of="./testfile${i}" status=none; md5sum -b "./testfile${i}" ;done This procedure will take a very long time to complete. "md5sum" will output the checksum for each file and they should be equal to checksum of "reftestfile": $ md5sum -b ./reftestfile Got a problem Alexander: I had to put the script someplace else. So I put it in my private /home/gene/bin as disktest.txt with nano. couldn't find it. But: gene@coyote:/mnt/disktest$ sudo /home/gene/bin/disktest.txt sudo: /home/gene/bin/disktest.txt: command not found And: gene@coyote:/mnt/disktest$ ls /home/gene/bin/disktest.txt /home/gene/bin/disktest.txt So I think I found the problem with my script, ancient eyeballs can't tell the diff between () and{} so I fixed that but it still won't run or be killed. I don't care how big you've made the t-bird font, by the time you've read 2 more msgs, its back to about 6 point text. Grrr. So I fired up a root session of htop, found about 8 copies of dd showing and started killing them but cannot kill the last 2 in the D state. And cannot find .disktest.txt running in a root htop and the2 copy's of dd can't be killall'd. 3f2c5fa95492bfaa18f08c801037d80b *./reftestfile Next? $ for i in $(seq 1830); do sudo dd if="./reftestfile" of="./testfile${i}" status=none; md5sum -b "./testfile${i}" ;done 3f2c5fa95492bfaa18f08c801037d80b *./testfile1 3f2c5fa95492bfaa18f08c801037d80b *./testfile2 ... 3f2c5fa95492bfaa18f08c801037d80b *./testfile1830 Obviously, checksum for your "reftestfile" will be different from mine. If 'for' loop fails at some point, you can count testfiles to see how many of them were actually written to disk. -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄ Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Things I don't touch with a 3.048m barge pole: USB storage (WasRe: Unidentified subject!)
On 2/8/24 15:43, Andy Smith wrote: Hello, On Thu, Feb 08, 2024 at 02:20:59PM -0500, Jeffrey Walton wrote: On Thu, Feb 8, 2024 at 11:57 AM Ralph Aichinger wrote: How does a breaking USB disk differ from a breaking SATA disk? I may be mistaken, but I believe AS is talking about USB thumb drives, SDcards and the like. I don't think he's talking about external SSD's and NVME's over USB. But I don't want to put words in his mouth. I really do mean all forms of USB that come over a USB port. I wouldn't have much issue with taking a USB drive out of its caddy to get the SATA drive from inside, except that it would have to be an amazingly good deal to make it worth voiding the warranty, so I generally wouldn't bother. If I need directly attached storage I'd much rather explore options like SAS and eSATA, or even networked storage, before I would ever consider USB for a permanent installation. Thanks, Andy OTOH. I have a couple sata-II SSD's, a kingston 256G and an adata 120G plugged into the usb-3 ports of what was an rpi3b with usb2, rigged it up first in 2016 IIRC, but swapped the rpi3b for an rpi4b in Feb 2020. I can build linuxcnc from master in around an hour, and a 4.19.120 or so kernal for the pi in a little less. And was doing that linuxcnc thing 4 to 8 times a week for several years but have stopped that with armhf since it may be dropped in favor of arm64 which isn't as good for latency, but is good enough to run linuxcnc w/o making the machine stutter from lack of data. I have had one failure, the adapter for the 120G adata, wasn't a startech, is now for around 5 years. That's beats the performance of spinning rust like a white mouthed mule. I'd had Spinning rust failures have totaled around around a dozen in triple that time frame. I built my first linux box with a 30G drive in 1998. 26 years ago. I've paid the window tax once, buying a lappy in 2002 to run a road map gps thing as I did a decade and change worth of consulting since I retired, but that lappy got its windows replaced in 2 weeks by mandrake when I found the windose xp install could not run the radio in it but mandrake could. Long found the out bin, bad ac adapter. but I got most of a decade out of it. Kept me company from the passengers seat for around 20k miles though. If these $23 drives pass the A. M. test, they will get mounted in adapters I'll have to design and print, plugged into a 8 port usb3 hub, plugged into a usb3 port of an bpi-m5, making a drive cage into a 12TB with 6 of these I bought into an amanda backup server I may hide in the bookshelves surrounding me. Headless, probably running it all on a 5v5a psu. There is a 5v8a psu being rowed across the big pond just in case. My scope watching the 5 volt line will determine the need. If they pass the test. That is YTBD. Interesting report from gdisk however: GPT fdisk (gdisk) version 1.0.9 Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present *** Found invalid GPT and valid MBR; converting MBR to GPT format in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if you don't want to convert your MBR partitions to GPT format! *** Warning! Secondary partition table overlaps the last partition by 33 blocks! You will need to delete this partition or resize it in another utility. Command (? for help): Command (? for help): p Disk /dev/sdm: 409600 sectors, 1.9 TiB Model: SSD 3.0 Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): 3230045D-589D-4601-8C4D-E9C4684B9657 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 409566 Partitions will be aligned on 64-sector boundaries Total free space is 30 sectors (15.0 KiB) Number Start (sector)End (sector) Size Code Name 1 64 409599 1.9 TiB 0700 Microsoft basic data Command (? for help): q What do we make of that? Some sort of NTFS? Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: testing new sdm drive
On 2/8/24 15:11, Alexander V. Makartsev wrote: On 09.02.2024 00:23, gene heskett wrote: Looks neat. Any chance this will crash my machine? I have other design work going on, and I'd hate to have to start from scratch. Well, it will consume CPU cycles for sure, at least to calculate md5 hashes and perform I/O on the target drive and RAM. I don't think it could crash the system, but the load could be significant enough to disturb your work, so if I was in your place I'd wait until the machine is free from any work or load and then test the new drive. That is my intentions, but I'm in the middle of making a tronxy400-pro that has never worked so I using the frame to build a printer that works. Doing essentially the same with an Ender 5 Plus. Including klipper, a bpi5-m5, the whole MaryAnn. So OpenSCAD is busier than that famous cat on a tin roof. -- With kindest regards, Alexander. Take care yourself Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄ Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: testing new sdm drive
On 2/8/24 13:25, David Christensen wrote: On 2/7/24 23:14, gene heskett wrote: gene@coyote:/etc$ sudo smartctl --all -dscsi /dev/sdm smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: Product: SSD 3.0 Revision: 2.00 Compliance: SPC-2 User Capacity: 2,097,152,000,000 bytes [2.09 TB] Logical block size: 512 bytes scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 >> Terminate command early due to bad response to IEC mode page A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. gene@coyote:/etc$ And then again, it worked, sorta Cheers, Gene Heskett, CET. Please try again with the drive connected directly to a motherboard USB 3.0 port. That is where it still is, on a blue usb3.0 port on a 3 yo ASUS mobo. I seem to recall that you have a lot of USB devices connected to your computer(s). The Asus PRIME Z370-A II Series manual page ix states: Intel ® Z370 Chipset - 6 x USB 3.1 Gen 1 ports (4 ports @mid-board, 2 ports @back panel) USB - 6 x USB 2.0/1.1 ports (4 ports @mid-board, 2 ports @back panel) Asmedia ® USB 3.1 Gen 2 controller - 1 x USB 3.1 Gen 2 port @back panel (teal blue, Type-A) - 1 x USB 3.1 Gen 2 port @back panel (USB Type CTM) Page 1-16 states: USB 3.1 Gen 1 connectors (20-1 pin U31G1_12; U31G1_34) This connector allows you to connect a USB 3.1 Gen 1 module for additional USB 3.1 Gen 1 front or rear panel ports. With an installed USB 3.1 Gen 1 module, you can enjoy all the benefits of USB 3.1 Gen 1including faster data transfer speeds of up to 5 Gb/s, faster charging time for USB-chargeable devices, optimized power efficiency, and backward compatibility with USB 2.0. The USB 3.1 Gen 1 module is purchased separately. Page 1-17 states: USB 2.0 connectors (10-1 pin USB910; USB1112) These connectors are for USB 2.0 ports. Connect the USB module cable to these connectors, then install the module to a slot opening at the back of the system chassis. This USB connector complies with USB 2.0 specification that supports up to 480 Mb/s connection speed. The USB 2.0 module is purchased separately. STFW including asus.com, I am unable to find "USB 3.1 Gen 1 module" or "USB 2.0 module" (?). Does your chassis have front panel USB 2.0 and/or USB 3.1 Gen 1 ports with cables and matching connectors? Have you connected them to the motherboard headers? Do they work? Alternatively, if you have an available chassis expansion slot: https://www.startech.com/en-us/cables/usbplate4 I am unable to find a similar part for the motherboard USB 3.1 Gen 1 20-pin headers. Perhaps a USB 3.0 will work (?): https://www.amazon.com/RIITOP-Female-Connector-Adapter-Bracket/dp/B01KJPUI5W Or, if you have an available motherboard PCIe slot: https://www.startech.com/en-us/cards-adapters/usb-30/cards?filter_bustype=pci%2520express David . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Things I don't touch with a 3.048m barge pole: USB storage (WasRe: Unidentified subject!)
On 2/8/24 11:15, Gremlin wrote: On 2/8/24 10:36, Andy Smith wrote: Hello, On Wed, Feb 07, 2024 at 03:30:29PM -0500, gene heskett wrote: [629241.074187] scsi host37: usb-storage 1-2:1.0 USB storage is for phones and cameras etc, not for serious computing. Many people will disagree with that statement and say they use it all the time and it is fine. They will keep saying that until it isn't fine, and then they'll be in a world of hurt. LOL, So my main desktop a raspberry pi 4 is not serious computing? Or is it that my name server, web server email server which is a raspberry pi 4 not serious computing? They both boot to USB SSDs and only have USB SSD drives, so they are not serious computing? The desktop RPI has an NVME drive as the boot drive connected by you guessed it USB. I learned not to go there a long time ago and have seen plenty of reminders along the way from others' misfortunes to not ever go there again myself. Well, most of what you attributed to me came from an earlier post. I'd never call a pi4b inadequate. Its running an 11x54 lathe just like a wintel box can. All the other stuff that makes a desktop computer, web browsing, the office suites, web server, you name it, it Just Works. Not as fast, but it works as advertised. And does all that on a 5x5 psu, with an AOC monitors whose label claim it uses 10 watts. I don't even shut them off. . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: testing new sdm drive
On 2/8/24 07:22, Alexander V. Makartsev wrote: On 08.02.2024 12:14, gene heskett wrote: gene@coyote:/etc$ sudo smartctl --all -dscsi /dev/sdm smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: Product: SSD 3.0 Revision: 2.00 Compliance: SPC-2 User Capacity: 2,097,152,000,000 bytes [2.09 TB] Logical block size: 512 bytes scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 >> Terminate command early due to bad response to IEC mode page A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. gene@coyote:/etc$ And then again, it worked, sorta Cheers, Gene Heskett, CET. Looks like a scam. Probably a reprogrammed controller to falsely report 2TB of space to the system. This is how I would test it. First create a new GPT partition table and a new 2TB partition: $ sudo gdisk /dev/sdX /!\ Make double sure you've selected the right device by using "lsblk" and "blkid" utilities. /!\ /!\ It could change from 'sdm' to another name after reboot. /!\ At gdisk prompt press "o" to create a new GPT table, next press "n" to create a new partition, accept default values by pressing "enter". To verify setup press "p", to accept configuration and write it to device press "w". Next format partition to ext4 filesystem: $ sudo mkfs.ext4 -m 0 -e remount-ro /dev/sdX1 Next mount the filesystem: $ sudo mkdir /mnt/disktest $ sudo mount /dev/sdX1 /mnt/disktest Next create reference 1GB file filled with dummy data: $ cd /mnt/disktest $ sudo fallocate -l 1G ./reftestfile $ sudo badblocks -w -s -t random ./reftestfile Now we can use script to create 1830 1GB files and check their checksum: $ for i in $(seq 1830); do sudo dd if="./reftestfile" of="./testfile${i}" status=none; md5sum -b "./testfile${i}" ;done This procedure will take a very long time to complete. "md5sum" will output the checksum for each file and they should be equal to checksum of "reftestfile": $ md5sum -b ./reftestfile 3f2c5fa95492bfaa18f08c801037d80b *./reftestfile $ for i in $(seq 1830); do sudo dd if="./reftestfile" of="./testfile${i}" status=none; md5sum -b "./testfile${i}" ;done 3f2c5fa95492bfaa18f08c801037d80b *./testfile1 3f2c5fa95492bfaa18f08c801037d80b *./testfile2 ... 3f2c5fa95492bfaa18f08c801037d80b *./testfile1830 Obviously, checksum for your "reftestfile" will be different from mine. If 'for' loop fails at some point, you can count testfiles to see how many of them were actually written to disk. Looks neat. Any chance this will crash my machine? I have other design work going on, and I'd hate to have to start from scratch. -- With kindest regards, Alexander. Thank you Alexander. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
testing new sdm drive
gene@coyote:/etc$ sudo smartctl --all -dscsi /dev/sdm smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-17-rt-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: Product: SSD 3.0 Revision: 2.00 Compliance: SPC-2 User Capacity:2,097,152,000,000 bytes [2.09 TB] Logical block size: 512 bytes scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 >> Terminate command early due to bad response to IEC mode page A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. gene@coyote:/etc$ And then again, it worked, sorta Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Portable External Hard Drive 2TB (was: Unidentified subject!)
On 2/7/24 21:55, David Christensen wrote: On 1/22/24 19:55, gene heskett wrote: > 2T ssd's: > > <https://www.amazon.com/External-Portable-Drive2TB-Desktop-Chromebook/dp/B0CPDGY8RC/ref=sr_1_62?crid=1JJ4ZBDF36VT8=usb-c%2B2T%2Bssd=1705982036=usb-c%2B2t%2Bssd%2Caps%2C90=8-62=1> It appears Amazon took down the above web page. Using Amazon search, I see: https://www.amazon.com/Portable-External-USB3-1-Desktop-Chromebook/dp/B0CSNGML52/ On 2/7/24 12:30, gene heskett wrote: > Well the 2T memory everybody was curious about 3 weeks ago got here early. > > From dmesg after plugging one in: > [629240.916163] usb 1-2: new high-speed USB device number 39 using xhci_hcd > [629241.066221] usb 1-2: New USB device found, idVendor=048d, > idProduct=1234, bcdDevice= 2.00 > [629241.066234] usb 1-2: New USB device strings: Mfr=1, Product=2, > SerialNumber=3 > [629241.066239] usb 1-2: Product: Disk 3.0 > [629241.066242] usb 1-2: Manufacturer: USB > [629241.066246] usb 1-2: SerialNumber: 2697241127107725123 > [629241.069485] usb-storage 1-2:1.0: USB Mass Storage device detected > [629241.074187] scsi host37: usb-storage 1-2:1.0 > [629242.100738] scsi 37:0:0:0: Direct-Access SSD 3.0 2.00 > PQ: 0 ANSI: 4 > [629242.100959] sd 37:0:0:0: Attached scsi generic sg13 type 0 > [629242.101190] sd 37:0:0:0: [sdm] 409600 512-byte logical blocks: > (2.10 TB/1.91 TiB) > [629242.101289] sd 37:0:0:0: [sdm] Write Protect is off > [629242.101290] sd 37:0:0:0: [sdm] Mode Sense: 03 00 00 00 > [629242.101409] sd 37:0:0:0: [sdm] No Caching mode page found > [629242.101410] sd 37:0:0:0: [sdm] Assuming drive cache: write through > [629242.103927] sdm: sdm1 > [629242.104047] sd 37:0:0:0: [sdm] Attached SCSI disk > gene@coyote: > > Looks like a reasonable facsimile of a 2T disk to me. > > Cheers, Gene Heskett, CET. I would be curious to see a smartctl(8) full report: # smartctl -x /dev/sdm Have you figured out how to verify it actually holds 2 TB? I think its and m2 device, and smartctl says it does know about them yet gene@coyote:/etc$ sudo smartctl --all --scan /dev/sda -d scsi # /dev/sda, SCSI device /dev/sdd -d scsi # /dev/sdd, SCSI device /dev/sde -d scsi # /dev/sde, SCSI device /dev/sdf -d scsi # /dev/sdf, SCSI device /dev/sdg -d scsi # /dev/sdg, SCSI device /dev/sdh -d scsi # /dev/sdh, SCSI device /dev/sdi -d scsi # /dev/sdi, SCSI device /dev/sdj -d scsi # /dev/sdj, SCSI device /dev/sdk -d scsi # /dev/sdk, SCSI device /dev/sdl -d scsi # /dev/sdl, SCSI device gene@coyote:/etc$ gartped says it look ok at 1.92 T David . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: Portable External Hard Drive 2TB (was: Unidentified subject!)
On 2/7/24 21:55, David Christensen wrote: On 1/22/24 19:55, gene heskett wrote: > 2T ssd's: > > <https://www.amazon.com/External-Portable-Drive2TB-Desktop-Chromebook/dp/B0CPDGY8RC/ref=sr_1_62?crid=1JJ4ZBDF36VT8=usb-c%2B2T%2Bssd=1705982036=usb-c%2B2t%2Bssd%2Caps%2C90=8-62=1> It appears Amazon took down the above web page. Using Amazon search, I see: https://www.amazon.com/Portable-External-USB3-1-Desktop-Chromebook/dp/B0CSNGML52/ On 2/7/24 12:30, gene heskett wrote: > Well the 2T memory everybody was curious about 3 weeks ago got here early. > > From dmesg after plugging one in: > [629240.916163] usb 1-2: new high-speed USB device number 39 using xhci_hcd > [629241.066221] usb 1-2: New USB device found, idVendor=048d, > idProduct=1234, bcdDevice= 2.00 > [629241.066234] usb 1-2: New USB device strings: Mfr=1, Product=2, > SerialNumber=3 > [629241.066239] usb 1-2: Product: Disk 3.0 > [629241.066242] usb 1-2: Manufacturer: USB > [629241.066246] usb 1-2: SerialNumber: 2697241127107725123 > [629241.069485] usb-storage 1-2:1.0: USB Mass Storage device detected > [629241.074187] scsi host37: usb-storage 1-2:1.0 > [629242.100738] scsi 37:0:0:0: Direct-Access SSD 3.0 2.00 > PQ: 0 ANSI: 4 > [629242.100959] sd 37:0:0:0: Attached scsi generic sg13 type 0 > [629242.101190] sd 37:0:0:0: [sdm] 409600 512-byte logical blocks: > (2.10 TB/1.91 TiB) > [629242.101289] sd 37:0:0:0: [sdm] Write Protect is off > [629242.101290] sd 37:0:0:0: [sdm] Mode Sense: 03 00 00 00 > [629242.101409] sd 37:0:0:0: [sdm] No Caching mode page found > [629242.101410] sd 37:0:0:0: [sdm] Assuming drive cache: write through > [629242.103927] sdm: sdm1 > [629242.104047] sd 37:0:0:0: [sdm] Attached SCSI disk > gene@coyote: > > Looks like a reasonable facsimile of a 2T disk to me. > > Cheers, Gene Heskett, CET. I would be curious to see a smartctl(8) full report: # smartctl -x /dev/sdm Have you figured out how to verify it actually holds 2 TB? No, not teted that yet. Up to my adam's apple in other things ATM. Will lets the list know when I do. David . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Unidentified subject!
Well the 2T memory everybody was curious about 3 weeks ago got here early. From dmesg after plugging one in: [629240.916163] usb 1-2: new high-speed USB device number 39 using xhci_hcd [629241.066221] usb 1-2: New USB device found, idVendor=048d, idProduct=1234, bcdDevice= 2.00 [629241.066234] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [629241.066239] usb 1-2: Product: Disk 3.0 [629241.066242] usb 1-2: Manufacturer: USB [629241.066246] usb 1-2: SerialNumber: 2697241127107725123 [629241.069485] usb-storage 1-2:1.0: USB Mass Storage device detected [629241.074187] scsi host37: usb-storage 1-2:1.0 [629242.100738] scsi 37:0:0:0: Direct-Access SSD 3.0 2.00 PQ: 0 ANSI: 4 [629242.100959] sd 37:0:0:0: Attached scsi generic sg13 type 0 [629242.101190] sd 37:0:0:0: [sdm] 409600 512-byte logical blocks: (2.10 TB/1.91 TiB) [629242.101289] sd 37:0:0:0: [sdm] Write Protect is off [629242.101290] sd 37:0:0:0: [sdm] Mode Sense: 03 00 00 00 [629242.101409] sd 37:0:0:0: [sdm] No Caching mode page found [629242.101410] sd 37:0:0:0: [sdm] Assuming drive cache: write through [629242.103927] sdm: sdm1 [629242.104047] sd 37:0:0:0: [sdm] Attached SCSI disk gene@coyote: Looks like a reasonable facsimile of a 2T disk to me. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: printing problem, markdown files
On 2/1/24 15:31, Dan Ritter wrote: gene heskett wrote: On 2/1/24 12:24, Dan Ritter wrote: gene heskett wrote: pandoc -f markdown FILEIN.md -t pdf -o FILEOUT.pdf will turn markdown into PDF, which you can probably print, if by no other means than FTP to the printer itself. (Try it, Brothers come with this by default.) Thanks DSR. Scanning thru the docs I don't see anything that looks like what the print job shops of the last century called a "binding ditch". That is where the output file has say a 15mm blank space inserted on the left edge of odd numbered pages, while that same 15mm of blank space is inserted to the right of the text on even pages, leave a blank area to perfect bind the duplex pages w/o burying the text into the center crack of the opened pages. Have they adopted a new name for this? Printers (the people) still call it that. You will also want to install latex ( apt install texlive-extra-utils will get you what you need) pandoc options: -V geometry:margin=1in (all four sides) -V geometry:left=3cm,right=3cm,top=2cm,bottom=2cm (separate values for each side) and finally, what you probably want: -V geometry:twoside,left=15mm,right=30mm,top=2cm,bottom=3cm I just tested that and it did a pretty nice job. My actual command: pandoc -f markdown -t pdf -V geometry:twoside,left=15mm,right=30mm,top=2cm,bottom=3cm test.md -o foo.pdf -dsr- Downright tasty stuff, thank you dsr. . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: printing problem, markdown files
On 2/1/24 12:24, Dan Ritter wrote: gene heskett wrote: debian bookworm everting updated earlier this morning. I have an about 125 page .md file I need hardcopy of. If you don't have pandoc installed: sudo apt install pandoc then: pandoc -f markdown FILEIN.md -t pdf -o FILEOUT.pdf will turn markdown into PDF, which you can probably print, if by no other means than FTP to the printer itself. (Try it, Brothers come with this by default.) pandoc will translate all sorts of formats into many other formats; if you don't want PDF, HTML, docx, rtf and even epub are available. -dsr- Thanks DSR. Scanning thru the docs I don't see anything that looks like what the print job shops of the last century called a "binding ditch". That is where the output file has say a 15mm blank space inserted on the left edge of odd numbered pages, while that same 15mm of blank space is inserted to the right of the text on even pages, leave a blank area to perfect bind the duplex pages w/o burying the text into the center crack of the opened pages. Have they adopted a new name for this? Take care, stay well Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
printing problem, markdown files
debian bookworm everting updated earlier this morning. I have an about 125 page .md file I need hardcopy of. I have loaded into geany which recognizes it as an .md file but it had so 300 char lines so I've gone thru it and reformmated the long lines to a max of 72 chars. 1: Unfortunately, both printers now suddenly have no left borders so there's no "binding ditch" when printed duplex, no room for 3 hole punching the printout. So I had geany print the line numbers which will use up some damageable space used by the hole puncher. 2. I have also lost the top border, so a 90% shrink to assure the printer does not line wrap, no longer centers it on the page, a 2nd rather revolting development. 3. I am supposedly using brothers drivers (cups_browsed is not installed) which can make both printers do everything they can do. Those are NOT $49 walmart specials, but $130 and $750 printers that can and have done flawlees book length++ printouts in the past. htop says I am using the brother drivers, but I recall the print manager that pops up when you click on any editors print menu having those features until fairly recently, but that popup menu no longer has an options tab used to set that stuff. Does anyone know of a fix? Thanks for any help Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: chrony date months off
On 1/31/24 21:50, Max Nikulin wrote: On 31/01/2024 20:24, didar wrote: On Wed, Jan 31, 2024 at 05:32:26AM -0500, gene heskett wrote: How do I setup /etc/chrony/chrony.conf so it slams the system clock to the current time on the first cycle as its rebooting? There was 20 yeas back, an ntpdate command that would do that. You can use "rdate" (openrdate) as quick fix like `ntpdate'. Is there a real reason to install an extra package if chrony provides a tool similar to ntpdate? If I recall it right, the reason why chrony appeared here was just $ man timesyncd No manual entry for timesyncd If it is that box with armbian modified by a Chinese 3d printer vendor then I am surprised that, intended for boards without RTC, it does not have proper NTP setup out of the box. Despite I expect arbitrary peculiarities in this kind of a Linux distribution, I still believe that NTP troubles were caused by user actions. I'd argue that in the bigger picture, the edge distributions, some of which are one man operations or very close to it, like armbian, know these are often used in offline environments where it is not that important. But the minute you plug in the cat-# it is a different story. We are doing things with baby arm's that would normally take a 6 core i5 to do, but doing it 1/4 as fast and on only 5% of the power. That fast enough to get the job done, but lack of attention to what s/b just works stuff says bad code is still bad code. I'm finally understanding things the man pages will never tell you, about interdependentcy's. Once you begin to understand how timedatectl actually works, it all falls into place and just works. My goal in much of this is to reduce my visibility on the net, so I now have only a one machine loading at pool.debian.org, instead of 5, soon to be 7. This machine has the power to be a server, so it now has a dhcpd server, specially configured to answer only one mac address, just to give an X-Max3 printer its hostname and net address. I am also an ntp server, stratum 2, for the use of the rest of the machines on my local net. Yet each and every one has full net access. With dd-wrt standing guard. I have only one registered address you can ping. My original 20 gigabyte web page is down, left with the death of those 2 seacrate 2T's in less than 30 days service about 2 days apart. But when it comes back it will be to support a woodworkers big bench vice I have designed, the screw is about 50mm by 500mm in hard maple, buttress thread, the reminder of it is printed in PETG for its resilience. Stronger grip than anything you can get on ebay. With one bigger printer, it takes about a day on the milling machine for the screw, but 2+ weeks for the rest of the parts for a single screw. That's why the push to build a (presently 3 bigger printers, was 4 till I lost the printheads umbilical cable on a creality e5-s1 and it is not a service part) farm. Take care & stay well Max. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
SOLVED:Re: chrony date months off
On 1/31/24 13:19, Greg Wooledge wrote: On Wed, Jan 31, 2024 at 12:56:37PM -0500, gene heskett wrote: [...] # Stop bad estimates upsetting machine clock. maxupdateskew 10.0 initstepslew 30 192.168.71.3 # This directive enables kernel synchronisation (every 11 minutes) of the # real-time clock. Note that it can’t be used along with the 'rtcfile' directive. rtcsync I'll comment that line # Step the system clock instead of slewing it if the adjustment is larger than # one second, but only in the first three clock updates. makestep 1 3000 I had tried 30, and it did it about that many time ack the tcpdump log I'm tracking. And I'll put the 300 back in, that ack the tcpdump monitor seemed to effective. but I've not found in the docs, anything that will modify how far the step will change it, The first arg is one second. chrony seems to be the fave method for the arm64's but I have had better luck using ntpsec without the security on all other wintel machines. Its ntpsec I'm using on this machine to be a stratum 2 server for the rest of my local net. So that's what all the other local machines see. timedatectl bombs when asked to set-time, regardless of how many space separated arguments is says too many arguments. Aha! the time argument needs single quotes around it! The help screen is wrong but the man page says " ". So I have it now set for about 4 hours ago. Now about 5 seconds off, but its not querying my server. More man page perusal. I am getting the impression that timedatctl ultimately uses he first time service it can find, and while I have the clock sey pretty close, it nat offer ntp until there is an available ntp client, and I used apt to purge both chrony and ntpsec. So I;ll reinstall ntpsec. Done Then I went clear around the mulberry tree and copied (because my sshnet mounts of all these machine is as a user) the /sshnet/go704/etc/ntpsec/ntp.conf to my home dir on that box, then fired up a user mc and copied that file from /sshnet/go704/home/gene to /sshnet/bpi51/home/gene. went to a different workspace, fired up a sudo mc, copied that file to that machines /etc/ntpsec dir, then fixed the perms back to 0600. Then restarted ntpsec by stopping it, then starting it again so it would read the new file. Then: gene@bpi51e5p:~$ timedatectl status Local time: Wed 2024-01-31 15:40:13 EST Universal time: Wed 2024-01-31 20:40:13 UTC RTC time: Wed 2024-01-31 20:40:13 Time zone: America/New_York (EST, -0500) System clock synchronized: yes NTP service: n/a RTC in local TZ: no And my tcpdump trace here?: 15:51:01.235371 IP bpi51e5p.coyote.den.ntp > coyote.coyote.den.ntp: NTPv4, Client, length 48 15:51:01.235523 IP coyote.coyote.den.ntp > bpi51e5p.coyote.den.ntp: NTPv4, Server, length 48 15:52:06.236633 IP bpi51e5p.coyote.den.ntp > coyote.coyote.den.ntp: NTPv4, Client, length 48 15:52:06.236701 IP coyote.coyote.den.ntp > bpi51e5p.coyote.den.ntp: NTPv4, Server, length 48 IOW, its working. And I found another off by about an hour, so I copied that same file it it, problem solved. Now, I still have more cats to skin but solving those two problems will help. Now I can get back to the real problem. Lack of docs to make a TMC-2209, a very common motor driver in the stepstick category, work in the uart interface mode in a BTT octopus Pro controller cards driver sockets 2, 3 & 4. Add about 12 jumpers and put them back in step/dir/enable mode is the next test. That's going to take some coffee I haven't made yet today. Thanks for the nudge to make me think, Greg, take care & stay well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
Re: chrony date months off
On 1/31/24 10:44, Greg Wooledge wrote: On Wed, Jan 31, 2024 at 10:25:40AM -0500, gene heskett wrote: On 1/31/24 08:53, John Hasler wrote: Gene writes: How do I setup /etc/chrony/chrony.conf so it slams the system clock to the current time on the first cycle as its rebooting? initstepslew man chrony.conf deprecated in favor of makestep, and did not work, John. *sigh* How many times do we have to say it? When something goes wrong, don't simply say "it didn't work". Give the *details*. What changes did you make to files? What do the files look like now? gene@bpi51e5p:/etc/chrony$ cat chrony.conf # Welcome to the chrony configuration file. See chrony.conf(5) for more # information about usable directives. # Include configuration files found in /etc/chrony/conf.d. confdir /etc/chrony/conf.d # This will use (up to): # - 4 sources from ntp.ubuntu.com which some are ipv6 enabled # - 2 sources from 2.ubuntu.pool.ntp.org which is ipv6 enabled as well # - 1 source from [01].ubuntu.pool.ntp.org each (ipv4 only atm) # This means by default, up to 6 dual-stack and up to 2 additional IPv4-only # sources will be used. # At the same time it retains some protection against one of the entries being # down (compare to just using one of the lines). See (LP: #1754358) for the # discussion. # # About using servers from the NTP Pool Project in general see (LP: #104525). # Approved by Ubuntu Technical Board on 2011-02-08. # See http://www.pool.ntp.org/join.html for more information. #pool ntp.ubuntu.comiburst maxsources 4 #pool 0.ubuntu.pool.ntp.org iburst maxsources 1 #pool 1.ubuntu.pool.ntp.org iburst maxsources 1 #pool 2.ubuntu.pool.ntp.org iburst maxsources 2 # Use time sources from DHCP. sourcedir /run/chrony-dhcp sourcedir /etc/chrony/sources.d # This directive specify the location of the file containing ID/key pairs for # NTP authentication. keyfile /etc/chrony/chrony.keys # This directive specify the file into which chronyd will store the rate # information. driftfile /var/lib/chrony/chrony.drift # Save NTS keys and cookies. ntsdumpdir /var/lib/chrony # Uncomment the following line to turn logging on. #log tracking measurements statistics # Log files location. logdir /var/log/chrony # Stop bad estimates upsetting machine clock. maxupdateskew 10.0 initstepslew 30 192.168.71.3 # This directive enables kernel synchronisation (every 11 minutes) of the # real-time clock. Note that it can’t be used along with the 'rtcfile' directive. rtcsync # Step the system clock instead of slewing it if the adjustment is larger than # one second, but only in the first three clock updates. makestep 1 3000 # Get TAI-UTC offset and leap seconds from the system tz database. # This directive must be commented out when using time sources serving # leap-smeared time. leapsectz right/UTC gene@bpi51e5p:/etc/chrony$ Now, the file in /etc/chrony/sources.d: gene@bpi51e5p:/etc/chrony/sources.d$ cat local-ntp-server.sources server 192.168.71.3 iburst gene@bpi51e5p:/etc/chrony/sources.d$ What commands did you run? 6 of one half a dozen of the other gene@bpi51e5p:/etc/init.d$ sudo ./chrony status [sudo] password for gene: × chrony.service - chrony, an NTP client/server Loaded: loaded (/lib/systemd/system/chrony.service; enabled; vendor preset: enabled) Active: failed (Result: protocol) since Sat 2023-12-30 03:15:44 EST; 2h 12min ago Docs: man:chronyd(8) man:chronyc(1) man:chrony.conf(5) Process: 1908 ExecStart=/usr/lib/systemd/scripts/chronyd-starter.sh $DAEMON_OPTS (code=exited, status=0/SUCCESS) CPU: 158ms Dec 30 03:15:31 bpi51e5p chronyd[1936]: chronyd version 4.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGN…6 -DEBUG) Dec 30 03:15:31 bpi51e5p chronyd[1936]: Frequency -20.055 +/- 0.010 ppm read from /var/lib/chrony/chrony.drift Dec 30 03:15:32 bpi51e5p chronyd[1936]: Using right/UTC timezone to obtain leap second data Dec 30 03:15:32 bpi51e5p chronyd[1936]: Loaded seccomp filter (level 1) Dec 30 03:15:42 bpi51e5p chronyd[1936]: Could not add source 192.168.71.3 Dec 30 03:15:42 bpi51e5p chronyd[1936]: No suitable source for initstepslew Dec 30 03:15:42 bpi51e5p chronyd[1936]: Could not add source 192.168.71.3 Dec 30 03:15:44 bpi51e5p systemd[1]: chrony.service: New main PID 1936 does not exist or is a zombie. Dec 30 03:15:44 bpi51e5p systemd[1]: chrony.service: Failed with result 'protocol'. Dec 30 03:15:44 bpi51e5p systemd[1]: Failed to start chrony, an NTP client/server. Hint: Some lines were ellipsized, use -l to show in full. gene@bpi51e5p:/etc/init.d$ or gene@bpi51e5p:/etc/init.d$ sudo systemctl status chrony.service × chrony.service - chrony, an NTP client/server Loaded: loaded (/lib/systemd/system/chrony.service; enabled; vendor preset: enabled) Active: failed (Result: protocol) since Sat 2023-12-30 03:15:44 EST; 2h 13min ago Docs: man:chronyd(8) man
Re: chrony date months off
On 1/31/24 08:53, John Hasler wrote: Gene writes: How do I setup /etc/chrony/chrony.conf so it slams the system clock to the current time on the first cycle as its rebooting? initstepslew man chrony.conf deprecated in favor of makestep, and did not work, John. Thanks, John Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis