[RESOLVED] Re: Deluged setup instructions/help
To get Deluge running one should remember that deluged is a Python program which rewrites its variables to a config file on exit. Once the config file is located it can be edited and the variables The initialization problem is a problem. I used update-rc.d to disable the / etc/init.d/deluged script that deluged installs. I then made deluged initialize with systemd by following the directions on this page: https://deluge.readthedocs.io/en/latest/how-to/systemd-service.html -- "The Plan is for the United States to rule the world. The overt theme is unilateralism, but it is ultimately a story of domination. It calls for the United States to maintain its overwhelming superiority and prevent new rivals from rising up to challenge it on the world stage. It calls for dominion over friends and enemies alike. It says not that the United States must be more powerful, or most powerful, but that it must be absolutely powerful." -- Investigative journalist David Armstrong, explaining the Pentagon's policy of "full spectrum dominance."
Re: wifi bgn identification
On Sun, Jul 26, 2020 at 01:19:44AM +, Andy Smith wrote: Possibly you do have "iw" installed but did not find it because "/sbin" is not in your user's PATH. Yes; that was the problem. Thanks.
Re: Mencoder and ffmpeg
On 7/25/20 9:12 PM, Long Wind wrote: BTW i want ffmpeg script that record desktop plus audio. i don't have time to read its manual. Thanks! https://trac.ffmpeg.org/wiki/Capture/Desktop -- Carl Fink nitpick...@nitpicking.com Read my blog at blog.nitpicking.com. Reviews! Observations!
Re: wifi bgn identification
Hello, On Sun, Jul 26, 2020 at 12:05:23AM +, Russell L. Harris wrote: > On Sat, Jul 25, 2020 at 07:56:16PM -0400, Stefan Monnier wrote: > >`iw phy` should give you all that data and a lot more. > > I do not find that command. $ apt-file search --regexp bin/iw$ iw: /sbin/iw $ apt show iw Package: iw Version: 5.0.1-1 Priority: optional Section: net Maintainer: Paride Legovini Installed-Size: 263 kB Depends: libc6 (>= 2.14), libnl-3-200 (>= 3.2.7), libnl-genl-3-200 (>= 3.2.7) Recommends: crda Breaks: aircrack-ng (<< 1:1.0~rc2-1) Replaces: aircrack-ng (<< 1:1.0~rc2-1) Homepage: https://wireless.kernel.org/en/users/Documentation/iw Tag: hardware::TODO, implemented-in::c, interface::commandline, network::configuration, role::program, use::configuring Download-Size: 87.9 kB APT-Sources: http://apt-cacher.lon.bitfolk.com/debian/ftp.uk.debian.org/debian buster/main amd64 Packages Description: tool for configuring Linux wireless devices This package contains the `iw' tool which allows you to configure and show information about wireless networking. . In the future iw will become the canonical command line tool for wireless configuration and iwconfig/wireless-tools will no longer be required. See /usr/share/doc/iw/README.Debian for a more detailed overview of iw. Possibly you do have "iw" installed but did not find it because "/sbin" is not in your user's PATH. Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Re: Mencoder and ffmpeg
On Sat 25 Jul 2020 at 18:36:12 (-0400), Carl Fink wrote: > On 7/25/20 2:39 PM, Rodolfo Medina wrote: > > > > I wanted to capture my webcam streaming and audio using ffmpeg but banged > > against `a sea of troubles': sync problems, video freezing, video > > stuttering, > > background noise, choose of one format rather than other... Mencoder > > instead > > at once easily, with: > > > >$ mencoder tv:// -tv > > driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:alsa:adevice=hw.1,0 > > -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.avi > > > > did perfectly the job. But Mencoder is hardly ever used compared with > > ffmpeg... > > > > I wonder why so much difference in this case between the two respective > > behaviours and wish to know what you listers think about all that... > > Of course, anyone would have to guess to answer your question, since we > can't ask all the people who don't use mencoder and do use ffmpeg "Why?" Perhaps they read https://lists.debian.org/debian-user/2020/04/msg01297.html > I've used both, and for me the reason I prefer ffmpeg is that its syntax is > simpler. Not simple, but better documented and more understandable. Cheers, David.
Re: wifi bgn identification
> On Sat, Jul 25, 2020 at 07:56:16PM -0400, Stefan Monnier wrote: >>> With a laptop running Debian 10, is there an easy way to determine >>> whether the built-in wifi radio is b, g, or n? >>`iw phy` should give you all that data and a lot more. > I do not find that command. I did find "ip show", but it does not > provide the b/g/n category. It's in the `iw` package (according to `dpkg -S =iw`), Stefan
Re: wifi bgn identification
On Sat, Jul 25, 2020 at 07:56:16PM -0400, Stefan Monnier wrote: With a laptop running Debian 10, is there an easy way to determine whether the built-in wifi radio is b, g, or n? `iw phy` should give you all that data and a lot more. I do not find that command. I did find "ip show", but it does not provide the b/g/n category.
Re: wifi bgn identification
> With a laptop running Debian 10, is there an easy way to determine > whether the built-in wifi radio is b, g, or n? `iw phy` should give you all that data and a lot more. Stefan
wifi bgn identification
With a laptop running Debian 10, is there an easy way to determine whether the built-in wifi radio is b, g, or n?
Re: Fwd: Re: FOSS equivalents of *OLD* database and spreadsheet tools?
I suspect the threading on this will be broken -- I forwarded it to another computer where I have my notes on my adventures with "nutrition" programs. On Saturday, July 25, 2020 6:40:47 PM you wrote: > -- Forwarded Message -- > > Subject: Re: FOSS equivalents of *OLD* database and spreadsheet tools? > Date: Saturday, July 25, 2020, 03:27:06 PM > From: Miles Fidelman > To: debian-user@lists.debian.org > But... isn't the tool the least of your problems? The big one being, > where are you going to get your nutritional database. (Seems to me that > most of what Weight Watchers and Noom do is collect data on millions of > products.) >From my records in my free format database (which would not be suitable for your program (at least not in its present condition), some notes on available databases. >From "USDA databases" Thu Sep 08 06:57:41 2016 Date: 09/08/16 06:57 am Subject: USDA databases There is documentation available to explain how the databases are organized, what they contain, etc. Several different formats are available (ASCII text, Access, etc.) Statistical information (e.g., standard deviation) is available for some data. * [[http://www.ars.usda.gov/Services/docs.htm?docid=8964][USDA National Nutrient Database for Standard Reference: Release 28]] * [[http://www.ars.usda.gov/sp2UserFiles/Place/80400525/Data/SR/SR28/sr28_doc.pdf] [Composition of Foods: Raw, Processed, Prepared; USDA National Nutrient Database for Standard Reference, Release 28 (2015); Documentation and User Guide]] * [[https://ndb.nal.usda.gov/ndb/docs/SR_BrandedFoods_May2016.pdf][USDA Branded Food Products Database; Documentation; May 2016]]--an experimental public / private partnership, dissolved in 2015 (iirc) after developing data for 354 products, incorporated as an adjunct (iiuc) to the USDA database SR28 * [[https://www.ars.usda.gov/Services/docs.htm?docid=24912][SR27 - Download Files]] And, from some documentation on CRON-O-Meter (which is a program like you're describing, available in an online version and a Linux version: The foods in our database come from several sources. * NCCDB (Nutrition Coordinating Center Food & Nutrient Database) from the University of Minnesota, contains over 16000 food entries with comprehensive data on 70 nutrients. * USDA (SR28) (United States Department of Agriculture National Nutrient Database for Standard Reference (SR28)) contains over 8000 food entries with data on over 70 nutrients. * ESHA (ESHA Research, Inc.) contains over 35000 brand name products and restaurant menu items. These items don't typically have as full of a nutrient profile as the USDA and NCCDB items, but contain all the published information from the product nutrition labels--I don't know how many nutrients--may vary. * Nutritionix: barcode scanning database, contains data for over 400,000 food product nutrition labels--I don't know how many nutrients--may vary. Nutritionix API * CNF 2010 (Canadian Nutrient File) This data has a lot of overlap with the USDA data (many entries are derived it), but adds a lot of additional foods, as well as reflecting differences found in Canadian foods. It has french and english names for all items, as well as standard measures in metric units--I don't know how many nutrients--may vary. * IFCDB (Irish Food Composition Database) contains nearly 1000 irish food and supplement products--I don't know how many nutrients--may vary. * CRDB (CRON-O-Meter Community Database) foods submitted by CRON-O-Meter users (they show green in the food search dialog)--I don't know how many nutrients--may vary. * Custom These are your custom foods. These are private and can only be viewed and used by you, or any friends you have linked to for food-sharing--nutrients included may vary based on where I got the data (I mean, like from which of the databases listed below. One of my points is that data / databases are available. I'm also willing to share with you my file on my experiences with this type of program. NUT is available for LInux, but it was really freaky -- for example, you had to specify how many meals per day you intended to eat (for this example, assume 6, 3 meals, 3 between meal snacks, and then when you entered the first meal it multiplied all the nutritional values by 6. I forget what it did as you entered the other meals. CRON-O-Meter was much better, but not really good enough to suit me. I experimented with possibly as many as 10 such programs that I could run without touching Windows. One of them (I forget which) tracked something like 60 different nutrients, things like micrograms and such of minerals, vitamins, ... If you're really interested, I can make my file with my notes in it available to you. You can treat it as a plain text file, or read it as emails in any email client that can handle mbox files, or, with a special file I can provide
Re: Mencoder and ffmpeg
On Saturday, July 25, 2020 06:36:12 PM Carl Fink wrote: > On 7/25/20 2:39 PM, Rodolfo Medina wrote: > > Hi all. > > > > I wanted to capture my webcam streaming and audio using ffmpeg but banged > > against `a sea of troubles': sync problems, video freezing, video > > stuttering, background noise, choose of one format rather than other... > > Mencoder instead > > > > at once easily, with: > >$ mencoder tv:// -tv > >driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:alsa:a > >device=hw.1,0 -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o > >webcam.avi > > > > did perfectly the job. But Mencoder is hardly ever used compared with > > ffmpeg... > > > > I wonder why so much difference in this case between the two respective > > behaviours and wish to know what you listers think about all that... > > Hi, Rodolfo, > > Of course, anyone would have to guess to answer your question, since we > can't ask all the people who don't use mencoder and do use ffmpeg "Why?" > > I've used both, and for me the reason I prefer ffmpeg is that its syntax is > simpler. Not simple, but better documented and more understandable. In my very limited experience and recollection: * this (the difference in "sea of troubles) is somewhat surprising because mencoder is sort of a front end for ffmpeg (or maybe ffmpeg is a backend for mencoder, and perhaps one of several backends?) * in my experience, ffmpeg has a bazillion options, thus, it is a big program, and, if you choose the wrong ones, you can really bog the program down (like converting format and frame rates, and audio formats, and syncing the audio, and ...)
Re: Mencoder and ffmpeg
On 7/25/20 2:39 PM, Rodolfo Medina wrote: Hi all. I wanted to capture my webcam streaming and audio using ffmpeg but banged against `a sea of troubles': sync problems, video freezing, video stuttering, background noise, choose of one format rather than other... Mencoder instead at once easily, with: $ mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:alsa:adevice=hw.1,0 -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.avi did perfectly the job. But Mencoder is hardly ever used compared with ffmpeg... I wonder why so much difference in this case between the two respective behaviours and wish to know what you listers think about all that... Hi, Rodolfo, Of course, anyone would have to guess to answer your question, since we can't ask all the people who don't use mencoder and do use ffmpeg "Why?" I've used both, and for me the reason I prefer ffmpeg is that its syntax is simpler. Not simple, but better documented and more understandable. -- Carl Fink nitpick...@nitpicking.com Read my blog at blog.nitpicking.com. Reviews! Observations!
Re: FOSS equivalents of *OLD* database and spreadsheet tools?
On 2020-07-25 13:22, Joe wrote: Shame about that. If you didn't need FOSS I'd recommend Microsoft Access, by far the best piece of software they ever produced (not that it's a high bar). It combines a simple database server, OK for one user, with a visual RAD system to make the user interface. Beyond doubt, it's the quickest way to do what you want, and you can probably do most of what you need with no code at all, just editing properties of objects. But you have to walk the Dark Path, and pay money. +1 Using VBA to pull data from Access and feed it into other Office applications is very compelling-- Excel graphs, Word form letters, etc.. There will never be a FOSS Access, because the FOSS database people sneer at it. A damn cheek, given the appalling state of LibreOffice Base. I've tried to use that, but it's impossibly buggy. OK for editing tables, now that it is finally able to talk to remote database servers reliably and without ODBC, but disastrous for making user interfaces. The last time I used the Report Writer (literally the last time ever) it simply wasn't working at all Ouch. was wondering about that when I posted the link to LibreOffice Base (which I have not tried for a very long time)... It's been a while, but Linux-Apache-MySQL-Perl worked for me back in the day: https://en.wikipedia.org/wiki/Lamp_stack David
Re: About /var/log/dpgk.log
On Sat, Jul 25, 2020 at 10:54:56PM +0200, Sven Joachim wrote: [...] > It's mentioned in the dpkg manpage, search for the --log option there. :-) Thanks, that puts it to rest. As always, if everything else fails, read the instructions. Cheers -- t signature.asc Description: Digital signature
Re: Do other owners of WD Gold disks hear a periodic plonk ?
On 2020-07-25 07:25, Thomas Schmitt wrote: See below for the full output of smartctl -a. I saved one drive that had the click of death (and died shortly thereafter). My notes indicated it passed the manufacturer diagnostic tests, but failed the manufacturer full erase procedure. The last SMART report follows. Unfortunately, my drive was Seagate and yours is Western Digital, so comparing SMART reports can be an apples-vs-oranges comparison. I typically look at the "SMART Attributes Data Structure". The "Seek_Error_Rate" and "Hardware_ECC_Recovered" parameters would seem to attract attention, but grep'ing for those fields across the SMART reports for all of my drives indicates nothing special. Similarly, "SMART Extended Comprehensive Error Log". Both of our reports say "No Errors Logged". I suspect the "click of death" is orthogonal to manufacturer diagnostics and SMART reports. Human ears seem to be the only diagnostic tool for this failure mode. A recording could be informative in general, and submitted as proof for an RMA in specific cases. David -- June 5, 2019 + smartctl -x /dev/sdb smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-9-amd64] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.11 Device Model: ST31500341AS Serial Number:xxxREDACTEDxxx LU WWN Device Id: 5 000c50 00e361a80 Firmware Version: CC3H User Capacity:1,500,301,910,016 bytes [1.50 TB] Sector Size: 512 bytes logical/physical Rotation Rate:7200 rpm Device is:In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 2.6, 3.0 Gb/s Local Time is:Wed Jun 5 09:56:53 2019 PDT SMART support is: Available - device has SMART capability. SMART support is: Enabled AAM feature is: Disabled APM feature is: Unavailable Rd look-ahead is: Enabled Write cache is: Enabled ATA Security is: Disabled, NOT FROZEN [SEC1] Wt Cache Reorder: Unknown === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED See vendor-specific Attribute list for marginal Attributes. General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection:( 617) seconds. Offline data collection capabilities:(0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities:(0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability:(0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time:( 1) minutes. Extended self-test routine recommended polling time:( 296) minutes. Conveyance self-test routine recommended polling time:( 2) minutes. SCT capabilities: (0x103f) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAGSVALUE WORST THRESH FAIL RAW_VALUE 1 Raw_Read_Error_Rate POSR-- 102 099 006-4636361 3 Spin_Up_TimePO 100 090 000-0 4 Start_Stop_Count-O--CK 100 100 020-704 5 Reallocated_Sector_Ct PO--CK 100 100 036-6 7 Seek_Error_Rate POSR-- 075 060 030-31372716 9 Power_On_Hours -O--CK 096 096 000-4058 10 Spin_Retry_CountPO--C- 100 100 097-3 12 Power_Cycle_Count -O--CK 100 037 020-386 184 End-to-End_Error-O--CK 100 100 099-0 187 Reported_Uncorrect
Re: About /var/log/dpgk.log
On 2020-07-25 16:25 -0400, The Wanderer wrote: > On 2020-07-25 at 16:02, to...@tuxteam.de wrote: > >> On Sat, Jul 25, 2020 at 07:47:01PM +, Rodolfo Medina wrote: >> >>> Hi all... >>> >>> Please what do those occurrences of `' mean in /var/log/dpgk.log just >>> on >>> the right next to some (and some not) of packages names? >> >> You mean like this: >> >> 2019-10-18 17:09:25 install gcc-8-base:amd64 8.3.0-6 >> >> I don't know for sure, But grepping around in my logs shows a version >> number in that place, when there's no ''. So my hunch would be >> that it is the prior installed version (when there was one) or >> when there was --uh-- none. > > On mine, I also note that the lines with in column 5 have > 'install' in column 3, whereas the ones with a version number in column > 5 in that column have 'upgrade' in column 3. This seems to back up that > interpretation. > > My guess would be that this is done just to keep the number of columns > per line equal between the install and upgrade cases, most likely > because it makes translating this into a table by columns easier. > > I haven't checked the source, and offhand don't know of any obvious > non-source documentation to check, however. It's mentioned in the dpkg manpage, search for the --log option there. Cheers, Sven
Re: About /var/log/dpgk.log
On Sat, Jul 25, 2020 at 04:25:50PM -0400, The Wanderer wrote: > On 2020-07-25 at 16:02, to...@tuxteam.de wrote: > > > On Sat, Jul 25, 2020 at 07:47:01PM +, Rodolfo Medina wrote: > > > >> Hi all... > >> > >> Please what do those occurrences of `' mean in /var/log/dpgk.log > >> just on > >> the right next to some (and some not) of packages names? > > > > You mean like this: > > > > 2019-10-18 17:09:25 install gcc-8-base:amd64 8.3.0-6 > > > > I don't know for sure, But grepping around in my logs shows a version > > number in that place, when there's no ''. So my hunch would be > > that it is the prior installed version (when there was one) or > > when there was --uh-- none. > > On mine, I also note that the lines with in column 5 have > 'install' in column 3, whereas the ones with a version number in column > 5 in that column have 'upgrade' in column 3. This seems to back up that > interpretation. Oh, I forgot to say that I filtered "install" lines. So there are "install" lines with a version number -- this seems to be the action (install can also replace a version). But yes, our takes seem to coincide otherwise. > My guess would be that this is done just to keep the number of columns > per line equal between the install and upgrade cases, most likely > because it makes translating this into a table by columns easier. That makes sense, yes. > I haven't checked the source, and offhand don't know of any obvious > non-source documentation to check, however. We are a lazy pack, ain't we ;-P Cheers -- t signature.asc Description: Digital signature
Re: FOSS equivalents of *OLD* database and spreadsheet tools?
On Saturday, July 25, 2020 01:38:10 PM Richard Owlett wrote: > Back in 70's/80's I wrote programs as part of routine job duties. >{8080/8085 assembler, dBase and Paradox} > Neither I, nor my employers, classed me as a "programmer". > I was "Senior Engineering Tech" or "Junior Engineer". > IOW, I was not in abject *AWE* of computers. *ROFL* > > Right now I'm working on a personal project. > INPUT:How much of what did I eat? > OUTPUT: How much [cal/protein/fiber] did I eat? There is a FOSS (I believe -- I'm pretty sure the source is available) program that does that -- can't recall the name -- will check my notes this evening. It is a little less slick than some of the commercial programs, but it does import a database with the nutritional values of quite a few foods (it's from a federal agency, like the FDA or something). It would be nice if more people worked on it and brought it up to date. (For one thing, it uses an older version of that database -- it should be set up so that it can easily link to any new database that comes along._ > SQL {and variants} seen to dominate all else. > IIRC, dBase was simpler. > > What current FOSS system might I be comfortable with? Well Libre / Open Office has a database that might be somewhat similar to Microsoft Access (and thus Paradox and dBase). I have been working towards my own free format database (ala askSam) for a number of years (I don't want to say how many), but it does work for me.
Re: Do other owners of WD Gold disks hear a periodic plonk ?
On 2020-07-25 02:16, Thomas Schmitt wrote: David Christensen wrote: Click of death. At least this is the reality which i will present to the disk vendor while negotiating about replacement. But personally i still have doubts that it is this particular problem. The knocking is not "Click-click-click" as described in the web, but rather "Pok" ... 3 or 4 seconds ... "Pok" ... That description sounds similar enough to what I heard from my failing HDD's. Their sound was a metal-on-metal "click". Your drive, being "enterprise", may have a shock absorber that muffles the sound. David
Re: About /var/log/dpgk.log
On 2020-07-25 at 16:02, to...@tuxteam.de wrote: > On Sat, Jul 25, 2020 at 07:47:01PM +, Rodolfo Medina wrote: > >> Hi all... >> >> Please what do those occurrences of `' mean in /var/log/dpgk.log just >> on >> the right next to some (and some not) of packages names? > > You mean like this: > > 2019-10-18 17:09:25 install gcc-8-base:amd64 8.3.0-6 > > I don't know for sure, But grepping around in my logs shows a version > number in that place, when there's no ''. So my hunch would be > that it is the prior installed version (when there was one) or > when there was --uh-- none. On mine, I also note that the lines with in column 5 have 'install' in column 3, whereas the ones with a version number in column 5 in that column have 'upgrade' in column 3. This seems to back up that interpretation. My guess would be that this is done just to keep the number of columns per line equal between the install and upgrade cases, most likely because it makes translating this into a table by columns easier. I haven't checked the source, and offhand don't know of any obvious non-source documentation to check, however. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw signature.asc Description: OpenPGP digital signature
Re: FOSS equivalents of *OLD* database and spreadsheet tools?
On 2020-07-25 10:38, Richard Owlett wrote: Back in 70's/80's I wrote programs as part of routine job duties. {8080/8085 assembler, dBase and Paradox} Neither I, nor my employers, classed me as a "programmer". I was "Senior Engineering Tech" or "Junior Engineer". IOW, I was not in abject *AWE* of computers. *ROFL* Right now I'm working on a personal project. INPUT: How much of what did I eat? OUTPUT: How much [cal/protein/fiber] did I eat? SQL {and variants} seen to dominate all else. IIRC, dBase was simpler. What current FOSS system might I be comfortable with? https://en.wikipedia.org/wiki/LibreOffice_Base David
Re: FOSS equivalents of *OLD* database and spreadsheet tools?
On Sat, 25 Jul 2020 12:38:10 -0500 Richard Owlett wrote: > Back in 70's/80's I wrote programs as part of routine job duties. >{8080/8085 assembler, dBase and Paradox} > Neither I, nor my employers, classed me as a "programmer". > I was "Senior Engineering Tech" or "Junior Engineer". > IOW, I was not in abject *AWE* of computers. *ROFL* > > Right now I'm working on a personal project. > INPUT:How much of what did I eat? > OUTPUT: How much [cal/protein/fiber] did I eat? > > SQL {and variants} seen to dominate all else. > IIRC, dBase was simpler. I think you will want SQL for this job. You will need a query with a join of two tables. Spreadsheets really can't do that on a large scale. I have no doubt that there are other ways (e.g. the hard way, by programming the join code from scratch) but SQL makes that part fairly easy. Flat-file databases are OK for trivial card-file applications, but as soon as you want joins, you need to go relational and that pretty much means SQL. I must admit, that after many years of dabbling, I can still barely speak basic SQL, but that's all most simple jobs need. > > What current FOSS system might I be comfortable with? Shame about that. If you didn't need FOSS I'd recommend Microsoft Access, by far the best piece of software they ever produced (not that it's a high bar). It combines a simple database server, OK for one user, with a visual RAD system to make the user interface. Beyond doubt, it's the quickest way to do what you want, and you can probably do most of what you need with no code at all, just editing properties of objects. But you have to walk the Dark Path, and pay money. There will never be a FOSS Access, because the FOSS database people sneer at it. A damn cheek, given the appalling state of LibreOffice Base. I've tried to use that, but it's impossibly buggy. OK for editing tables, now that it is finally able to talk to remote database servers reliably and without ODBC, but disastrous for making user interfaces. The last time I used the Report Writer (literally the last time ever) it simply wasn't working at all, and I needed to produce an invoice urgently. I ended up writing a PDF generator in PHP, single-purpose certainly, just for my invoices, but it's guaranteed to work. No software rot until PHP8... The hard part of any database job is the user interface, an SQL database server like MariaDb Just Works, as does SQLite. I've tried a variety of methodologies, including CakePHP and Laravel (also a PHP framework). I was hoping that a framework would reduce the amount of work, which they do in some ways, but they introduce a huge amount of extra baggage. OK if you're building something with dozens of forms and tables, or if you're doing this every day professionally, but it doesn't help much with simple hobby jobs. PhpMyEdit is good for really simple jobs, but it doesn't scale well. I have a server, so I naturally build web applications, which are automatically cross-platform. But I think even with a single modestly powered computer, it's as easy to do it that way as to build interfaces with graphics toolkits. HTML is adequate for most jobs, though *still* missing a couple of obvious user interface features. I consider the use of JavaScript to be an admission of defeat, but sometimes there's no way around it. But my little netbook runs Apache2 with PHP7 and MariaDb quite happily, for when I need to do some work away from home, and it's trivial to copy SQL databases between servers. My first server had 256MB of RAM, and Apache2/PHP5 and MySQL worked OK on that. Here's how I did what you want to do: I have two main tables, the journal and the food data. I have a third table of food categories, which is only used as an input aid, as I currently have over 300 types of food, which would not work well in a single drop-down list. I have a fourth table of users, in case the application ever gets used by more than one person. I have three main web pages: the primary one is to make journal entries, and show cumulative figures for single days or date ranges. it can also edit existing entries. The next most important is for adding new foods, which again allows editing of existing foods. There are various databases on the Net giving nutritional values for thousands of food types, and of course there's the side of the packet for packaged foods. These two pages I made by hand, with a mix of PHP and HTML. The third is a week-based statistics page, which I made with Laravel, but which again had some hand-written PHP and HTML. It has a few rough edges, as the programs you write for yourself never get properly finished. I've done the 20%, I'm not willing to do the other 80% to polish it. But it works. Another pathway to user interfaces is either Visual Basic or Delphi, in the FOSS form of Gambas and Lazarus. Good for making forms, but the integration of databases is nowhere near as complete as with Access. But it may suit you. -- Joe
Re: About /var/log/dpgk.log
On Sat, Jul 25, 2020 at 07:47:01PM +, Rodolfo Medina wrote: > Hi all... > > Please what do those occurrences of `' mean in /var/log/dpgk.log just on > the right next to some (and some not) of packages names? You mean like this: 2019-10-18 17:09:25 install gcc-8-base:amd64 8.3.0-6 I don't know for sure, But grepping around in my logs shows a version number in that place, when there's no ''. So my hunch would be that it is the prior installed version (when there was one) or when there was --uh-- none. But perhaps someone more in the know chimes in. Cheers -- t signature.asc Description: Digital signature
About /var/log/dpgk.log
Hi all... Please what do those occurrences of `' mean in /var/log/dpgk.log just on the right next to some (and some not) of packages names? thanks for any help cheers rodolfo
Re: FOSS equivalents of *OLD* database and spreadsheet tools?
On Sat 25 Jul 2020 at 14:45:58 (-0400), Paul M Foster wrote: > On Sat, Jul 25, 2020 at 12:38:10PM -0500, Richard Owlett wrote: > > > Back in 70's/80's I wrote programs as part of routine job duties. > > {8080/8085 assembler, dBase and Paradox} > > Neither I, nor my employers, classed me as a "programmer". > > I was "Senior Engineering Tech" or "Junior Engineer". > > IOW, I was not in abject *AWE* of computers. *ROFL* > > > > Right now I'm working on a personal project. > > INPUT: How much of what did I eat? > > OUTPUT: How much [cal/protein/fiber] did I eat? > > > > SQL {and variants} seen to dominate all else. > > IIRC, dBase was simpler. > > > > What current FOSS system might I be comfortable with? > > > I used dBase (FoxPro) and Paradox decades ago. My advice: learn SQL and > select the DBMS of your choice. SQLite3, PostgreSQL, MySQL. For > portability and low traffic, I'd select SQLite3. I think I indirectly made that suggestion in this thread https://lists.debian.org/debian-user/2018/07/msg00057.html which referred back to the OP's own thread https://lists.debian.org/debian-user/2018/06/msg00757.html > Gone are the days of xBase and the like. SQL is the lingua franca for > all modern database systems. And SQLite3 has bindings for most modern > languages. > > Since you probably would like an application with a nice interface One can never be sure: the OP seems pretty fearless when it comes to CLIs. > (curses, GUI, web), I'd suggest PHP. The platform for your interface is > in the server and the browser; you just have to write some HTML, which > is pretty easy. Otherwise, you're looking at fiddly code with GTK or QT > (or ncurses). Cheers, David.
Re: issues with storage media
Parted / gparted are useful tools. The live .iso is very useful if you have an unknown disk - you can boot into linux to examine disk formats. The crucial thing to know is that most partitions can be recovered with enough care. USB keys - try and buy a known brand. Stick small labels on them. Know what you use them for. They will still fail sometimes - don't rely on them for longest term storage. Back up files you want to other media as well/ On Sat, Jul 25, 2020 at 5:59 PM Semih Ozlem wrote: > Hi I ran into the following problems a few times. > As operating system I use debian 10 (.2 gnome) and ubuntu 18, 19, > (recently 20). > > Question 1 An external hard disk that I use (which is I think possibly > failing) was formatted in NTFS. While I was working on a machine at the > university where I used to work, all files disappeared, and reappeared and > the format of the disk was changed to FAT or something like that. I have no > idea why and how this happened. Does anyone have any clues > > Question 2 I use usbs to store the files I work with. Quite a few times > when working with linux systems, the usbs refused to mount, giving wrong fs > type blaah blaah error. This was a usb that I used and stored files to > working under linux, and I do not remember the exact format on the disk. I > tried various programs to recover the files, and in some cases I was able > to recover some in other cases I was not able to. Sometimes I was able to > format the usb to be able to use it again, a few times I was unable to. > What methods are available to recover data, and what to do when something > like this happens. > > > Thank you in advance >
Re: issues with storage media
On 2020-07-25 10:59, Semih Ozlem wrote: Hi Hello. :-) As operating system I use debian 10 (.2 gnome) and ubuntu 18, 19, (recently 20). Question 2 I use usbs to store the files I work with. Quite a few times when working with linux systems, the usbs refused to mount, giving wrong fs type blaah blaah error. This was a usb that I used and stored files to working under linux, and I do not remember the exact format on the disk. I tried various programs to recover the files, and in some cases I was able to recover some in other cases I was not able to. Sometimes I was able to format the usb to be able to use it again, a few times I was unable to. What methods are available to recover data, and what to do when something like this happens. fsck -- for Linux file systems zpool scrub -- for ZFS pools and file systems ddrescue -- to copy out blocks of a failing device It has been too long since I used tools for recovering deleted files. I suggest that your put your data onto a reliable storage platform. Choices including buying and configuring a network attached storage (NAS) appliance, installing and configuring a NAS operating system distribution on the hardware of your choosing, and building a file server using the hardware and software of your choosing. This list would be most helpful for the third choice using Debian. Next, I suggest that your implement disaster preparedness -- backups of data and OS configuration settings, images of operating system disks, and archives of the prior two. Keep your backups, archives, and images off-line when not in use. Keep some portion of your media off-site (e.g. rotate media on a schedule). David
Re: FOSS equivalents of *OLD* database and spreadsheet tools?
On Sat, Jul 25, 2020 at 12:38:10PM -0500, Richard Owlett wrote: Back in 70's/80's I wrote programs as part of routine job duties. {8080/8085 assembler, dBase and Paradox} Neither I, nor my employers, classed me as a "programmer". I was "Senior Engineering Tech" or "Junior Engineer". IOW, I was not in abject *AWE* of computers. *ROFL* Right now I'm working on a personal project. INPUT: How much of what did I eat? OUTPUT: How much [cal/protein/fiber] did I eat? SQL {and variants} seen to dominate all else. IIRC, dBase was simpler. What current FOSS system might I be comfortable with? You might try googling "open source alternatives to dbase" - there seems to be quite a list. Or you could go with a NoSQL database like CouchDB. But... isn't the tool the least of your problems? The big one being, where are you going to get your nutritional database. (Seems to me that most of what Weight Watchers and Noom do is collect data on millions of products.) Good Eating, Miles Fidelman
Re: FOSS equivalents of *OLD* database and spreadsheet tools?
On Sat, Jul 25, 2020 at 12:38:10PM -0500, Richard Owlett wrote: > Back in 70's/80's I wrote programs as part of routine job duties. > {8080/8085 assembler, dBase and Paradox} > Neither I, nor my employers, classed me as a "programmer". > I was "Senior Engineering Tech" or "Junior Engineer". > IOW, I was not in abject *AWE* of computers. *ROFL* > > Right now I'm working on a personal project. > INPUT:How much of what did I eat? > OUTPUT: How much [cal/protein/fiber] did I eat? > > SQL {and variants} seen to dominate all else. > IIRC, dBase was simpler. > > What current FOSS system might I be comfortable with? There are a couple of packages which might fit your loose description (Disclaimer: I never tried any of those). Perhaps kexi. Browse through the output of aptitude search '~sdatabase' ... there might be some nuggets in there. Good luck -- t signature.asc Description: Digital signature
Re: FOSS equivalents of *OLD* database and spreadsheet tools?
On Sat, Jul 25, 2020 at 12:38:10PM -0500, Richard Owlett wrote: > Back in 70's/80's I wrote programs as part of routine job duties. > {8080/8085 assembler, dBase and Paradox} > Neither I, nor my employers, classed me as a "programmer". > I was "Senior Engineering Tech" or "Junior Engineer". > IOW, I was not in abject *AWE* of computers. *ROFL* > > Right now I'm working on a personal project. > INPUT:How much of what did I eat? > OUTPUT: How much [cal/protein/fiber] did I eat? > > SQL {and variants} seen to dominate all else. > IIRC, dBase was simpler. > > What current FOSS system might I be comfortable with? > I used dBase (FoxPro) and Paradox decades ago. My advice: learn SQL and select the DBMS of your choice. SQLite3, PostgreSQL, MySQL. For portability and low traffic, I'd select SQLite3. Gone are the days of xBase and the like. SQL is the lingua franca for all modern database systems. And SQLite3 has bindings for most modern languages. Since you probably would like an application with a nice interface (curses, GUI, web), I'd suggest PHP. The platform for your interface is in the server and the browser; you just have to write some HTML, which is pretty easy. Otherwise, you're looking at fiddly code with GTK or QT (or ncurses). Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com
Mencoder and ffmpeg
Hi all. I wanted to capture my webcam streaming and audio using ffmpeg but banged against `a sea of troubles': sync problems, video freezing, video stuttering, background noise, choose of one format rather than other... Mencoder instead at once easily, with: $ mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:alsa:adevice=hw.1,0 -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.avi did perfectly the job. But Mencoder is hardly ever used compared with ffmpeg... I wonder why so much difference in this case between the two respective behaviours and wish to know what you listers think about all that... thanks for any help cheers rodolfo
issues with storage media
Hi I ran into the following problems a few times. As operating system I use debian 10 (.2 gnome) and ubuntu 18, 19, (recently 20). Question 1 An external hard disk that I use (which is I think possibly failing) was formatted in NTFS. While I was working on a machine at the university where I used to work, all files disappeared, and reappeared and the format of the disk was changed to FAT or something like that. I have no idea why and how this happened. Does anyone have any clues Question 2 I use usbs to store the files I work with. Quite a few times when working with linux systems, the usbs refused to mount, giving wrong fs type blaah blaah error. This was a usb that I used and stored files to working under linux, and I do not remember the exact format on the disk. I tried various programs to recover the files, and in some cases I was able to recover some in other cases I was not able to. Sometimes I was able to format the usb to be able to use it again, a few times I was unable to. What methods are available to recover data, and what to do when something like this happens. Thank you in advance
FOSS equivalents of *OLD* database and spreadsheet tools?
Back in 70's/80's I wrote programs as part of routine job duties. {8080/8085 assembler, dBase and Paradox} Neither I, nor my employers, classed me as a "programmer". I was "Senior Engineering Tech" or "Junior Engineer". IOW, I was not in abject *AWE* of computers. *ROFL* Right now I'm working on a personal project. INPUT: How much of what did I eat? OUTPUT: How much [cal/protein/fiber] did I eat? SQL {and variants} seen to dominate all else. IIRC, dBase was simpler. What current FOSS system might I be comfortable with? TIA
Re: Obscure error messages from ACPI BERT in dmesg
Hi, Semih Ozlem wrote: > whenever I logon and have more than a few pages in > firefox open, suddenly my memory usage (memory is 3.7 GiB as displayed by > ubuntu system monitor) is around 70 and 80 percent. If I open a few more > pages it jumps. If it reaches 100 % the computer freezes. Well, yes, if your RAM is full and cannot be outsourced to swap storage then undesirable things happen. > I am wondering if > the issues are at all related, and if you know ways of monitoring the system > to decide whether it is just an issue of RAM being not powerful enough, If you see in dmesg output [...] BERT: Error records from previous boot: then maybe this is hardware related too. But if firefox is just eating up your memory, then only more RAM or more swap storage can help. For a quick test, you could create a swap file on disk and try whether your system gets more endurance. See e.g. https://linuxize.com/post/create-a-linux-swap-file/ If not by some colorful system monitor i would watch the load on RAM and swap by periodically executing command free -h and ignoring all its columns except the first two: "total" and "used". But as one can see from my recent posts, i am not an experienced sysadmin who knows the most thorough hardware tests. Have a nice day :) Thomas
Re: Do other owners of WD Gold disks hear a periodic plonk ?
Hi, i quoted smartctl: > > 4 Start_Stop_Count0x0012 100 100 000Old_age Always - > > 18 > > 9 Power_On_Hours 0x0012 100 100 000Old_age Always - > > 19 > > 12 Power_Cycle_Count 0x0032 100 100 000Old_age Always - > > 18 > > 192 Power-Off_Retract_Count 0x0032 100 100 000Old_age Always - > > 19 > > 193 Load_Cycle_Count0x0012 100 100 000Old_age Always - > > 19 Reco wrote: > The most interesting part of that output is here. > Once per hour on average drive performs head parking, The power cycles were intentional. The machine was rebooted several times yesterday for various reasons. (I wonder why yours reports 57 with Power_Cycle_Count but only 35 with Power-Off_Retract_Count.) > which cannot explain what you're seeing. Yeah. We'd need something that happened at least during the last 12 hours of operation at least 900 times per hour. I still did not find my loudspeakers to listen to the wikipedia audio file whether it indeed plays a sedately periodic and somewhat thud-like sound. Have a nice day :) Thomas
Obscure error messages from ACPI BERT in dmesg
Hi, i don't get to cursing at vim and sshd of Debian 10 because i am still stuck with hardware issues. My newest problem is a message at boot time about some problem that was recorded in the ACPI Boot Error Record Table during the previous uptime. Google and uefi.org tell me that BERT is a facility where firmware can store error messages which it deems at risk of being not delivered via the normal error message channels of a running OS. [0.006446] ACPI: BERT 0x89F05608 30 (v01 INTEL EDK2 0001 INTL 0001) ... [0.893410] BERT: Error records from previous boot: [0.893410] [Hardware Error]: event severity: fatal [0.893411] [Hardware Error]: Error 0, type: fatal [0.893412] [Hardware Error]: section type: unknown, 81212a96-09ed-4996-9471-8d729c8e69ed [0.893412] [Hardware Error]: section length: 0xc20 [0.893413] [Hardware Error]: : 0001 [0.893414] [Hardware Error]: 0010: [0.893414] [Hardware Error]: 0020: ... repeated in steps of 0x10 and all words being until: [0.893505] [Hardware Error]: 0c10: Google search of 81212a96-09ed-4996-9471-8d729c8e69ed gives the impression that it is like plague and cholera united. (Computers freeze or reboot ...) I do not see such dramatic effects, though. Meanwhile i outruled that it is the knock-happy HDD (because unplugging it does not prevent or change the message at next boot) or the missing i915 firmware (i installed it). In the hope to learn more about that UUID or the format of BERT i even downloaded https://uefi.org/sites/default/files/resources/ACPI_6_2_B_final_Jan30.pdf But my hope to see UUID lists for error types was disappointed. Does anybody have an idea how to identify the offending hardware part ? (I cannot unplug CPU or SSD, of course ...) Have a nice day :) Thomas
Re: Do other owners of WD Gold disks hear a periodic plonk ?
On Sat, Jul 25, 2020 at 04:25:16PM +0200, Thomas Schmitt wrote: > 4 Start_Stop_Count0x0012 100 100 000Old_age Always > - 18 > 9 Power_On_Hours 0x0012 100 100 000Old_age Always > - 19 > 12 Power_Cycle_Count 0x0032 100 100 000Old_age Always > - 18 > 192 Power-Off_Retract_Count 0x0032 100 100 000Old_age Always > - 19 > 193 Load_Cycle_Count0x0012 100 100 000Old_age Always > - 19 The most interesting part of that output is here. Once per hour on average drive performs head parking, which cannot explain what you're seeing. For the comparison, this is what I consider "normal" (head parking completely disabled): 4 Start_Stop_Count0x0032 100 100 000Old_age Always - 57 9 Power_On_Hours 0x0032 050 050 000Old_age Always - 20037 12 Power_Cycle_Count 0x0032 100 100 000Old_age Always - 57 192 Power-Off_Retract_Count 0x0032 100 100 000Old_age Always - 35 193 Load_Cycle_Count0x0032 100 100 000Old_age Always - 3130 Reco
[SOLVED] Re: Looking for advise about optional i915 DMC firmware
Hi, Greg Wooledge wrote: > 1) enable contrib and non-free in sources.list > 2) apt-get update > 3) figure out which firmware package is needed, and install it > [...] > apt-get install firmware-misc-nonfree This silenced indeed the boot message about the missing firmware. Dan Ritter wrote: > On a server or desktop, you don't care. Servers reduce power by > themselves and desktops sleep when you step away long enough. It's a mix of server and desktop. I decided to install the firmware because each boot reports an ACPI BERT error record which was written by some firmware during the previous uptime (or at its very end). Regrettably the message did not vanish and leaves me clueless what firmware wanted to report what problem. Thanks for the help. Have a nice day :) Thomas
Re: Do other owners of WD Gold disks hear a periodic plonk ?
> Stefan Monnier wrote: >> I guess it's still spin-down ^ like Sorry, my fingers didn't obey my brain, Stefan
Re: Do other owners of WD Gold disks hear a periodic plonk ?
Hi, Reco wrote: > It's all other lines that are interesting here. > I.e. 'Vendor Specific SMART Attributes with Thresholds' section. I wanted to wait with the long list until the self-test is done. See below for the full output of smartctl -a. Stefan Monnier wrote: > I guess it's still spin-down But it happens when the drive is writing and reading a "shred" file of 100 GB. It also happens when the firmware is the only software that is up and running. # smartctl -a /dev/sda smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-9-amd64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: WDC WD4003FRYZ-01F0DB0 Serial Number:VBGD2GPF LU WWN Device Id: 5 000cca 095c57dbd Firmware Version: 01.01H01 User Capacity:4,000,787,030,016 bytes [4.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate:7200 rpm Form Factor: 3.5 inches Device is:Not in smartctl database [for details use: -P showall] ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is:Sat Jul 25 16:05:24 2020 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x80) Offline data collection activity was never started. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection:( 87) seconds. Offline data collection capabilities:(0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. Selective Self-test supported. SMART capabilities:(0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability:(0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time:( 2) minutes. Extended self-test routine recommended polling time:( 454) minutes. SCT capabilities: (0x003d) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000b 100 100 016Pre-fail Always - 0 2 Throughput_Performance 0x0005 100 100 054Pre-fail Offline - 0 3 Spin_Up_Time0x0007 158 158 024Pre-fail Always - 370 (Average 392) 4 Start_Stop_Count0x0012 100 100 000Old_age Always - 18 5 Reallocated_Sector_Ct 0x0033 100 100 005Pre-fail Always - 0 7 Seek_Error_Rate 0x000b 100 100 067Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 100 100 020Pre-fail Offline - 0 9 Power_On_Hours 0x0012 100 100 000Old_age Always - 19 10 Spin_Retry_Count0x0013 100 100 060Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000Old_age Always - 18 192 Power-Off_Retract_Count 0x0032 100 100 000Old_age Always - 19 193 Load_Cycle_Count0x0012 100 100 000Old_age Always - 19 194 Temperature_Celsius 0x0002 181 181 000Old_age Always - 33 (Min/Max 24/36) 196 Reallocated_Event_Count 0x0032 100 100 000Old_age Always - 0 197 Current_Pending_Sector 0x0022 100 100 000Old_age Always - 0 198 Offline_Uncorrectable 0x0008 100 100 000Old_age
Re: Re: linux-image-5.7.0-1-amd64: Oops on kernel (NULL pointer dereference) after NFS is mounted on client
Hi, yes I tried it. I typed the whole "Oops" screen, tried to send it, but it would not. The report it saved into a file was scrambled... Best regards
Re: Do other owners of WD Gold disks hear a periodic plonk ?
> It is its way of saying it's an unsupported feature and you cannot > disable drive heads parking this way. Was worth the shot. I guess it's still spin-down: WD drives support it but just ignore the APM settings of "how long to wait before spin-down" and use their own algorithm instead. Stefan
Re: [Sid] ahci: disk order
On 2020-07-24 21:08, Reco wrote: Hi. On Fri, Jul 24, 2020 at 10:03:01PM +0300, Andrei POPESCU wrote: On Vi, 24 iul 20, 21:58:26, Andrei POPESCU wrote: On Vi, 24 iul 20, 19:39:21, Grzesiek Sójka wrote: Hi there, I noticed that SATA disks appear in random order. More precisely, I have two disks, HDD and SSD. Sometimes HDD=/dev/sda, SSD=/dev/sdb and sometimes HDD=/dev/sdb, SSD=/dev/sda. Is there any way to fix the disk order? Not that I know of. I would like the disk connected to port 1 to be sda, disk connected to port 2 to be sdb and so on (like it was in the past) It might be possible with some special udev rules, Correction: probably not, since those names are assigned by the kernel. A correction over the correction ;) : - it's possible, it's called RENAME= in udev rules. - it's unneeded in about every case, given that wonderful /dev/disk directory. - and if it is needed for some reason, one's always better to use SYMLINK over the RENAME. Thanks for the info
Re: problems with GRUB
anthony gennard wrote: > Almost 15 months ago I suffered a massive stroke and am left with memory > loss. I am 90 years of age, and i`m westling with trying to recover some > computer skill. > > I have managed to build a further machine and double installed Debian > 10 from a CD received with Debian magazine and Windows 10. The install > process installed Grub in two parts and makes it difficult to catch the > option to launch the first, it flies passed too fast. I`m too slow to > react. I am reluctant to try to set up a graphic. How do I do that please. Hold down an arrow key as the machine boots. Grub will stop the countdown. > The second problem I have is with the second machine with a very old > install for which I cannot remember the login details. I have done > research but I think the advice is not correct. Does anyone have any > advice please. Generically, you can change the root password this way: Use the arrow key method to stop GRUB from booting immediately. Choose to edit the boot command. Add the string init=/bin/sh to the command line, then boot. It should make you root, with no network and no services started. mount -o remount,rw / will make the disk read/write instead of read-only. Now run the passwd command to reset root's password. You will not need to supply the old one. Finally: sync and then reboot or power-cycle. -dsr-
Re: node.js updates processor microcode?
On 7/24/20 11:32 PM, mick crane wrote: On 2020-07-25 03:17, Carl Fink wrote: I just installed npm on a Stable (Buster) system with apt. It brought in dozens of other packages. Then I worked on other stuff while it downloaded and installed. When I came back, a curses prompt was informing me that it had already updated my kernel microcode. Is that something node.js is really supposed to do. That wasn't a confirmation prompt, it was, "I already did this, do you want to restart services?" I installed npm on Buster with apt a couple of days ago and did not get that message. mick Maybe your microcode was current. -- Carl Fink nitpick...@nitpicking.com Read my blog at blog.nitpicking.com. Reviews! Observations!
problems with GRUB
Almost 15 months ago I suffered a massive stroke and am left with memory loss. I am 90 years of age, and i`m westling with trying to recover some computer skill. I have managed to build a further machine and double installed Debian 10 from a CD received with Debian magazine and Windows 10. The install process installed Grub in two parts and makes it difficult to catch the option to launch the first, it flies passed too fast. I`m too slow to react. I am reluctant to try to set up a graphic. How do I do that please. The second problem I have is with the second machine with a very old install for which I cannot remember the login details. I have done research but I think the advice is not correct. Does anyone have any advice please. I`m sorry this is so vague but it is very difficult for me. I`m getting a little better but I think I`m hoping for too much/ John
Re: Do other owners of WD Gold disks hear a periodic plonk ?
On Sat, Jul 25, 2020 at 11:16:16AM +0200, Thomas Schmitt wrote: > Reco wrote: > > It's simple: > > smartctl -t long /dev/sda > > The short test yielded > Num Test_DescriptionStatus Remaining LifeTime(hours) > LBA_of_first_error > # 1 Short offline Completed without error 00%11 > - > > The long test is expected to end in 5.5 hours. Progress report is fewly > entertaining because moving in steps of 10 percent: > > # smartctl -a /dev/sda | fgrep -A 1 'Self-test execution status' ; date > Self-test execution status: ( 246) Self-test routine in progress... > 60% of test remaining. > Sat 25 Jul 2020 10:57:53 AM CEST It's all other lines that are interesting here. I.e. 'Vendor Specific SMART Attributes with Thresholds' section. Reco
Re: Error while trying to install openssh-server on Buster
On Fri, Jul 24, 2020 at 09:49:04PM +0300, Andrei POPESCU wrote: > On Vi, 24 iul 20, 17:53:53, to...@tuxteam.de wrote: [...] > Aren't those files an internal implementation detail? Most users won't > ever need to interact with those files or even be aware of their > existence. Strictly speaking, yes. Sometimes, thinks leak through the abstraction layer, sometimes they don't. Some designs seem to take this into account (Serendipity? Sheer luck? Wisdom? No idea) -- and they just don't break when things happen, but kind of elegantly flow around the problem, perhaps even acquiring a new level of beauty and symmetry. Some other just break. Or grow into ugly monsters. This is something I've watched at work. Sometimes I build something for a customer, and (s)he comes back two years later and asks me "could you...?". Sometimes, I go "uh...". Just sometimes it's "YES!". Then I realize that I got the design "right" in the first place. Somehow I succeeded in modeling the customer's unspoken needs correctly. Yes, somewhat philosophical. Perhaps the problems of old age :) > This looks to me very much like comparing apples and oranges. It's both fruit, ain't it? And it's abstractions we delve in, our very tissue. > Besides, it's easier to find flaws in the design after the fact then to > foresee all possible ramifications in advance. Yes. Cheers -- t signature.asc Description: Digital signature
Re: Do other owners of WD Gold disks hear a periodic plonk ?
Hi, rhkra...@gmail.com wrote: > You might not have read the entire [Click_of_death] article. Indeed. Now i need to search my old loudspeakers in order to compare the sound file on Wikipedia with the disk's sound. D. R. Evans wrote: > I can say that my experience (YMMV) is that 100% of the drives > that exhibit this phenomenon have failed sometime not long after the > phenomenon began I will try to get it exchanged. Hopefully the hearable activity without any operating system running is reason enough. Will see next week. Thomas Amm wrote: > I'd backup my data before trying anything else There are no valuable data on it yet. I used "shred" to write two files of 100 GB each. Knocking continues while the drive writes 180 MB/s and while it reads at 240 MB/s. The knock is a bit louder than the normal working sounds of moving heads. (I should build up a tree of many files with scattered content to hear it being truely busy. For now it makes no other unusual noises.) David Christensen wrote: > Click of death. At least this is the reality which i will present to the disk vendor while negotiating about replacement. But personally i still have doubts that it is this particular problem. The knocking is not "Click-click-click" as described in the web, but rather "Pok" ... 3 or 4 seconds ... "Pok" ... Reco wrote: > It's simple: > smartctl -t long /dev/sda The short test yielded Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed without error 00%11 - The long test is expected to end in 5.5 hours. Progress report is fewly entertaining because moving in steps of 10 percent: # smartctl -a /dev/sda | fgrep -A 1 'Self-test execution status' ; date Self-test execution status: ( 246) Self-test routine in progress... 60% of test remaining. Sat 25 Jul 2020 10:57:53 AM CEST The disk is doing its klonkwork reliably. But today the rythm seems to tend more towards 1 beat per 4 seconds. Yesterday it was more like 1/3 bps. Have a nice day :) Thomas
Re: Do other owners of WD Gold disks hear a periodic plonk ?
Hi. On Fri, Jul 24, 2020 at 11:35:34PM +0200, Thomas Schmitt wrote: > Reco wrote: > > Have you tried to disable drive heads parking via hdparm? > > hdparm -J ? > The man page says "The factory default is eight (8) seconds". > That would be about twice as long as what i experience. > > # hdparm -J /dev/sda > > /dev/sda: > SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 04 53 00 00 > 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 04 53 00 00 > 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 04 53 00 00 > 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 04 53 00 00 > 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >wdidle3 = disabled > > The sense data bear KEY=0x5, ASC= 0x21, ASCQ=0x04. > Key 5 means: "Illegal request". > From MMC-5 i read for ASC=0x21 only ASCQ 0 to 3: > 5 21 00 LOGICAL BLOCK ADDRESS OUT OF RANGE > 5 21 01 INVALID ELEMENT ADDRESS > 5 21 02 INVALID ADDRESS FOR WRITE > 5 21 03 INVALID WRITE CROSSING LAYER JUMP > In SPC-3 the ASC=0x21 list ends already at ASCQ=2. > SBC-2 lists no own error codes. > Without knowing the failed command, it is quite obscure what happened. It is its way of saying it's an unsupported feature and you cannot disable drive heads parking this way. Was worth the shot. > > What about smartctl long test, does it show anything suspicious? > > I never used smartctl up to now. It's simple: smartctl -t long /dev/sda # wait for the amount of time it says the test will go. smartctl -a /dev/sda Reco
Re: node.js updates processor microcode?
Carl Fink wrote: > I just installed npm on a Stable (Buster) system with apt. It brought > in dozens of other packages. Then I worked on other stuff while it > downloaded and installed. When I came back, a curses prompt was > informing me that it had already updated my kernel microcode. Is that > something node.js is really supposed to do. That wasn't a confirmation > prompt, it was, "I already did this, do you want to restart services?" I guess, you have the package "needrestart" installed. This program warns you about services that need to be restarted after a library they use has been changed. It also warns if a new microcode-package was installed *sometime* in the past and the system hasn't rebooted yet. If you don't regulary install packages or use unattended-upgrades, the installation of the new microcode-package may have been days or weeks ago and you just didn't remember it, seeing the reminder from needrestart surprised you. Grüße, Sven. -- Sigmentation fault. Core dumped.
Re: linux-image-5.7.0-1-amd64: Oops on kernel (NULL pointer dereference) after NFS is mounted on client
On 7/24/20, Robin Gutöhrlein wrote: > Hello, > > my server (Debian bullseye) is crashing after i mount a nfs (with > kerberos) share on a client machine (same debian). I have no idea how > to file the bug (and where it belongs). I can't use the reportbug tool > since I do not have a MTA configured. Hi, just in case: a little time ago I installed reportbug and reported a bug and the MTA was not a previous condition. Have you given it a try? Best regards