Re: Freezing mouse and other suff
On 9/7/23 12:37, David Christensen wrote: On 7/8/23 20:13, Maureen L Thomas wrote: So I have the latest stable Debian installed on my Lenova all in one computer. I have an 8gb seagate ATA harddrive, 8 GB seems small. Do you mean 8 TB? I am wondering whether the 8GB refers to the amount of the RAM, and the reference to the HDD is the type, without the capacity? .. Bret Busby Armadale West Australia (UTC+0800) ..
Re: Freezing mouse and other suff
On 9/7/23 15:03, Bret Busby wrote: On 9/7/23 12:37, David Christensen wrote: On 7/8/23 20:13, Maureen L Thomas wrote: So I have the latest stable Debian installed on my Lenova all in one computer. I have an 8gb seagate ATA harddrive, 8 GB seems small. Do you mean 8 TB? I am wondering whether the 8GB refers to the amount of the RAM, and the reference to the HDD is the type, without the capacity? And, in that, if the computer's amount of RAM, is only 8GB, what is the size of the swap partition? If the computer has only 8GB RAM, then, I suggest that at least a 32GB swap partition is required. .. Bret Busby Armadale West Australia (UTC+0800) ..
Re: Freezing mouse and other suff
On Sat, Jul 08, 2023 at 11:13:11PM -0400, Maureen L Thomas wrote: > So I have the latest stable Debian installed on my Lenova all in one > computer. I have an 8gb seagate ATA harddrive, Inetl core i3-9100T CPU 310 > GHz, Realtec 8821CE wireless lan 802.1ac PCI-E Nic. > > When I shutdown I get the following message: stop job is run for Clam > Antivirus userspace daian /1min40S and them failed unmount /var. > Some services take a long time to stop - I'm guessing clamav may be one of them. Not sure why you should then get a failed unmount of /var - that could be the first error. > When I boot up 1.290210] mce:[Hardware Error[: CPU 0: Machine Check: 0 > Bank 9: ae36 > This looks like it might be a memory error to me: Bank 9 suggests that. https://en.wikipedia.org/wiki/Machine-check_exception explains MCE in more detail > 1,290283] mce: [Hardware Error]: TSC 0 ADDR 8d387240 MISC 704086 and > then > That also looks like a memory address > 1.290354] mce: [Hardware error]: Processor 0:906eb TIME 1688865217 Socket 0 > C O microcode f0 > Just reporting the error > > Also my system freezes, I thought it was just the mouse but it is the whole > system. It usually happens when I have more than four windows open or after > I play music. I have absolutely no idea what is going on. Your help would > be greatly appreciated. Thank you. > It sounds as if something is happening when it hits a particular memory address. Bank 9 suggests that the main memory might be ECC memory? If you can, get someone to open the case - remove dust, check fans, check no obvious signs of overheating. Reseat memory sticks, You don't say how old the machine is - the above would be a good plan anyway. All the very best, as ever, Andy Cater > Moe
Re: configuring zathura's print preview
On Sat 08 Jul 2023 at 22:28:52 -0700, Paul Scott wrote: > > On 7/8/23 3:58 PM, Charles Curley wrote: > > On Sat, 8 Jul 2023 13:35:43 -0700 > > Paul Scott wrote: > > > > > Can someone please direct me to documentation for or tell me how to > > > set what program does print preview for Zathura? I would Zathura > > > would be a possibility. > > charles@jhegaala:~$ apt-cache show zathura | grep -i homepage > > Homepage: https://pwmt.org/projects/zathura > > charles@jhegaala:~$ > Thank you! > > > > > My problem is discovering whether a PDF will fit well enough on an > > > 8"x11" sheet of paper. > > Most PDF viewers will let you see the properties, which should include > > the page size. And, depending on your printer software (CUPS on > > Debian), you may be able to scale a document. > > > So far I have found the Zathura "info" command but it doesn't tell me the > page size. Install poppler-utils and use pdfinfo and pdffonts. > The print dialog does indeed give me the ability to scale. > > Another problem I am now having looks like a missing font. Zathura displays > the document (music) fine but when I print (CUPS) some of the graphical > information is missing. The file displayed by zathura is not the file that is sent to the printing system. The latter can be viewed by using Print to File. The print dialog converts your PDF to a new PDF with Cairo Graphics. Scaling is also done by Cairo Graphics. CUPS is not involved. -- Brian.
Re: Freezing mouse and other suff
>> computer. I have an 8gb seagate ATA harddrive, Inetl core i3-9100T CPU 310 > Bank 9 suggests that the main memory might be ECC memory? Hmm... according to Wikipedia the i3-9100T does not support ECC memory. Stefan
Re: Freezing mouse and other suff
>> I am wondering whether the 8GB refers to the amount of the RAM, and the >> reference to the HDD is the type, without the capacity? > And, in that, if the computer's amount of RAM, is only 8GB, what is the size > of the swap partition? If the computer has only 8GB RAM, then, I suggest > that at least a 32GB swap partition is required. Since when does a GNU/Linux desktop need more than 8GB? Stefan "running Firefox in 3GB of RAM" PS: Yes, I know that the amd64 build of some programs require insane amounts of address space nowadays (e.g. in my tests, Firefox refused to even start if you `limit addressspace 16G'), but that's address space, not real RAM or swap.
Re: Corrupt root filesystem
On 20:30, Fri, 7 Jul 2023 Reco > On Fri, Jul 07, 2023 at 06:26:28PM +0100, Mick Ab wrote: > > The error messages were of the form :- > > > > "/dev/mapper/vgpcname-root contains a file system with errors, check > > forced. > >Inodes that were a part of a corrupted orphan linked lost found. > >/dev/mapper/vgpcname-root : UNEXPECTED INCONSISTENCY; RUN fsck > > manually.(i.e ., > >without -a or -p options). fsck exited with status code 4. The root > >filesystem on /dev/mapper/vgpcname-root requires a manual fsck > > > > There is then a flashing prompt after "(initramfs)". > > So, first things first, it's not "before reboot". > It's "during the boot". And note that initramfs ran fsck, but it failed. > > Second, yes, that particular filesystem is indeed required fsck. > > > > The following command was thus run :- > > sudo fsck -y /dev/mapper/vgpcname-root > > The PC could then be rebooted. > > You've got it wrong here again. > During initramfs stage root filesystem is mounted readonly. > This allows it to be checked by fsck, without causing an additional > damage. > And, since it's a root filesystem, it's *required* to reboot after the > fsck. > > > > The file system is ext4. > > Thanks. It's a rare sight these days that people actually answer all the > questions they're asked. > > Now, assuming you're using a stock Debian kernel, it's unlikely to be a > kernel bug. Likewise, we can exclude some "user-firendly" software (I'm > looking at you, GNOME). > > Which leaves us with the hardware fault. > > Hate to bring it to you, but additional information would be welcome. > You're using lvm2, it's obvious. > But which drive your physical volume resides on? > I.e. make, model, SMART attributes if any? > > Reco > I have two 1 TB 7500 rpm Seagate hard drives (I don't know the model name). They are in a Debian software RAID 1 array. I do not have any SMART diagnostics, but the RAID 1 array looks okay judging from a 'cat /proc/mdstat' output. Also no audible sign of any imminent failure of either hard drive.
Re: Freezing mouse and other suff
Stefan Monnier writes: >>> computer. I have an 8gb seagate ATA harddrive, Inetl core i3-9100T CPU 310 >> Bank 9 suggests that the main memory might be ECC memory? > > Hmm... according to Wikipedia the i3-9100T does not support ECC memory. Intel says otherwise. https://ark.intel.com/content/www/us/en/ark/products/134871/intel-core-i39100t-processor-6m-cache-up-to-3-70-ghz.html For general information, Intel used to have ECC support in some Core i3 and Celeron CPUs, for example I have a Celeron G1610T in my old HP Microserver server with ECC support. This was really nice for cheap file server boxes but those days are gone.
Re: configuring zathura's print preview
On 7/9/23 4:40 AM, Brian wrote: On Sat 08 Jul 2023 at 22:28:52 -0700, Paul Scott wrote: On 7/8/23 3:58 PM, Charles Curley wrote: On Sat, 8 Jul 2023 13:35:43 -0700 Paul Scott wrote: Can someone please direct me to documentation for or tell me how to set what program does print preview for Zathura? I would Zathura would be a possibility. charles@jhegaala:~$ apt-cache show zathura | grep -i homepage Homepage: https://pwmt.org/projects/zathura charles@jhegaala:~$ Their documentation is being updated and I didn't see anything about print preview and I now realize that my question may be a question about CUPS and/or the print dialog. (see below) (snip) My problem is discovering whether a PDF will fit well enough on an 8"x11" sheet of paper. Most PDF viewers will let you see the properties, which should include the page size. And, depending on your printer software (CUPS on Debian), you may be able to scale a document. So far I have found the Zathura "info" command but it doesn't tell me the page size. Install poppler-utils and use pdfinfo and pdffonts. I have those and that helps a lot. Thank you! The print dialog does indeed give me the ability to scale. Another problem I am now having looks like a missing font. Zathura displays the document (music) fine but when I print (CUPS) some of the graphical information is missing. The file displayed by zathura is not the file that is sent to the printing system. The latter can be viewed by using Print to File. The print dialog converts your PDF to a new PDF with Cairo Graphics. Scaling is also done by Cairo Graphics. CUPS is not involved. That's good to know and seems somewhat illogical! Would it be reasonable to ask if you know why? Pdffonts does indeed tell me that there are illegal characters in the PDF created by Print to File. Now that I know that the paper size is correct I see that "lp" prints my file perfectly. If the file were not the correct size I would have liked to use the scaling and page choices in the print dialog. Does lp -o "letter" scale the document? Thank you, Paul
understanding the print dialog
From my apparently misinformed thread about Zathura print preview I would like to understand the print dialog that appears when I press Ctrl-P in Zathura particularly. Can I somehow configure the print dialog to use Zathura for print preview for PDFs? What is the reason that the print dialog converts PDFs to Cairo Graphics? Several years ago print preview in Zathura worked quite well. Thank you, Paul
Re: configuring zathura's print preview
On Sun 09 Jul 2023 at 10:42:52 -0700, Paul Scott wrote: > On 7/9/23 4:40 AM, Brian wrote: [...] > > The file displayed by zathura is not the file that is sent to the printing > > system. The latter can be viewed by using Print to File. > > > > The print dialog converts your PDF to a new PDF with Cairo Graphics. Scaling > > is also done by Cairo Graphics. CUPS is not involved. > > That's good to know and seems somewhat illogical! Would it be reasonable to > ask if you know why? Zathura uses the GTK print dialog, as do many other applications. GTK has to deal with a variety of file formats that the application can dispay. Let's take firefox. It can display html files. Sending an html file to the printing system is a recipe for disappointment (usually). CUPS is unable to process and render it as displayed. GTK produces a PDF of the page. CUPS is happy. The same comment also applies to PNG files. > Pdffonts does indeed tell me that there are illegal characters in the PDF > created by Print to File. > > Now that I know that the paper size is correct I see that "lp" prints my > file perfectly. The fonts are embedded in the original PDF. CUPS prints what it is given. > If the file were not the correct size I would have liked to use the scaling > and page choices in the print dialog. > > Does > > lp -o "letter" > > scale the document? This is an option unknown to CUPS. It will be ignored. -- Brian.
Re: configuring zathura's print preview
Brian wrote: > On Sun 09 Jul 2023 at 10:42:52 -0700, Paul Scott wrote: > > > On 7/9/23 4:40 AM, Brian wrote: > > [...] > > > > The file displayed by zathura is not the file that is sent to the > > > printing system. The latter can be viewed by using Print to File. > > > > > > The print dialog converts your PDF to a new PDF with Cairo > > > Graphics. Scaling is also done by Cairo Graphics. CUPS is not > > > involved. > > > > That's good to know and seems somewhat illogical! Would it be > > reasonable to ask if you know why? > > Zathura uses the GTK print dialog, as do many other applications. GTK > has to deal with a variety of file formats that the application can > dispay. > > Let's take firefox. It can display html files. Sending an html file to > the printing system is a recipe for disappointment (usually). CUPS is > unable to process and render it as displayed. GTK produces a PDF of > the page. CUPS is happy. > > The same comment also applies to PNG files. > > > Pdffonts does indeed tell me that there are illegal characters in > > the PDF created by Print to File. > > > > Now that I know that the paper size is correct I see that "lp" > > prints my file perfectly. > > The fonts are embedded in the original PDF. CUPS prints what it is > given. > > > If the file were not the correct size I would have liked to use the > > scaling and page choices in the print dialog. > > > > Does > > > > lp -o "letter" > > > > scale the document? > > This is an option unknown to CUPS. It will be ignored. I don't use lp very much but according to https://www.cups.org/doc/options.html#OPTIONS $ lp -o fit-to-page -o media=Letter filename should do what the OP wants.
Re: Freezing mouse and other suff
On 7/9/23 12:37 AM, David Christensen wrote: On 7/8/23 20:13, Maureen L Thomas wrote: So I have the latest stable Debian installed on my Lenova all in one computer. I have an 8gb seagate ATA harddrive, 8 GB seems small. Do you mean 8 TB? No it is a one year old mahine and it has 2 gigabytes as does my back up dish which is Toshiba 2 GB drive. Inetl core i3-9100T CPU 310 GHz, Realtec 8821CE wireless lan 802.1ac PCI-E Nic. When I shutdown I get the following message: stop job is run for Clam Antivirus userspace daian /1min40S and them failed unmount /var. Have you installed any software via any means other than a Debian package management tool such as apt-get(8)? No only thur the apt-get system. When I boot up 1.290210] mce:[Hardware Error[: CPU 0: Machine Check: 0 Bank 9: ae36 1,290283] mce: [Hardware Error]: TSC 0 ADDR 8d387240 MISC 704086 and then 1.290354] mce: [Hardware error]: Processor 0:906eb TIME 1688865217 Socket 0 C O microcode f0 Also my system freezes, I thought it was just the mouse but it is the whole system. It usually happens when I have more than four windows open or after I play music. I have absolutely no idea what is going on. Your help would be greatly appreciated. Thank you. Moe Have you been keeping system administration records and have you been creating archives, images, and backups as I previously suggested? I have saved all my files on a second HD and the log files in a file I created for them. I looked at the one you suggested but could not figure it out. https://lists.debian.org/debian-user/2023/05/msg00714.html David
Re: configuring zathura's print preview
On 7/9/23 12:16 PM, debian-u...@howorth.org.uk wrote: Brian wrote: On Sun 09 Jul 2023 at 10:42:52 -0700, Paul Scott wrote: On 7/9/23 4:40 AM, Brian wrote: [...] The file displayed by zathura is not the file that is sent to the printing system. The latter can be viewed by using Print to File. The print dialog converts your PDF to a new PDF with Cairo Graphics. Scaling is also done by Cairo Graphics. CUPS is not involved. That's good to know and seems somewhat illogical! Would it be reasonable to ask if you know why? (snip) Now that I know that the paper size is correct I see that "lp" prints my file perfectly. The fonts are embedded in the original PDF. CUPS prints what it is given. If the file were not the correct size I would have liked to use the scaling and page choices in the print dialog. Does lp -o "letter" scale the document? This is an option unknown to CUPS. It will be ignored. I don't use lp very much but according to https://www.cups.org/doc/options.html#OPTIONS $ lp -o fit-to-page -o media=Letter filename should do what the OP wants. fit-to-page reduces too much. Page Setup/Scale in the print dialog gives me what I want. Paul
Re: configuring zathura's print preview
On 7/9/23 12:00 PM, Brian wrote: On Sun 09 Jul 2023 at 10:42:52 -0700, Paul Scott wrote: (snip) Does lp -o "letter" scale the document? This is an option unknown to CUPS. It will be ignored. I found that in man lp Paul
Re: Corrupt root filesystem
On Sun, 9 Jul 2023 17:54:35 +0100 Mick Ab wrote: > I do not have any SMART diagnostics, … Also no audible sign of any > imminent failure of either hard drive. Once you get this problem squared away, I suggest you get some SMART diagnostics installed. You don't always get any warning before a hard drives fails, but the SMART diagnostics, carefully read, may give you a warning. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: Freezing mouse and other suff
I stand corrected my hdd is 1 terabyte and the ram is 8gb. I am not sure I can expand that but I will find out. On 7/9/23 3:07 AM, Bret Busby wrote: On 9/7/23 15:03, Bret Busby wrote: On 9/7/23 12:37, David Christensen wrote: On 7/8/23 20:13, Maureen L Thomas wrote: So I have the latest stable Debian installed on my Lenova all in one computer. I have an 8gb seagate ATA harddrive, 8 GB seems small. Do you mean 8 TB? I am wondering whether the 8GB refers to the amount of the RAM, and the reference to the HDD is the type, without the capacity? And, in that, if the computer's amount of RAM, is only 8GB, what is the size of the swap partition? If the computer has only 8GB RAM, then, I suggest that at least a 32GB swap partition is required. . Bret Busby Armadale West Australia (UTC+0800) .
Re: understanding the print dialog
On Sun, 9 Jul 2023 11:15:10 -0700 Paul Scott wrote: > Can I somehow configure the print dialog to use Zathura for print > preview for PDFs? To which print dialog are you referring? The native Zathura one (if any; I have no idea, so I ask), the naive one for some other application (LibreOffice, e.g.), or the one provided by your desktop/GUI? If the latter, which one? -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: understanding the print dialog
On Sun, 9 Jul 2023 13:49:34 -0600 Charles Curley wrote: > To which print dialog are you referring? The native Zathura one (if > any; I have no idea, so I ask), the naive one for some other > application (LibreOffice, e.g.), or the one provided by your > desktop/GUI? If the latter, which one? Belay that. The question was answered elsewhere. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: Freezing mouse and other suff
On 7/9/23 12:26, Maureen L Thomas wrote: On 7/9/23 12:37 AM, David Christensen wrote: On 7/8/23 20:13, Maureen L Thomas wrote: So I have the latest stable Debian installed on my Lenova all in one computer. I have an 8gb seagate ATA harddrive, 8 GB seems small. Do you mean 8 TB? No it is a one year old mahine and it has 2 gigabytes as does my back up dish which is Toshiba 2 GB drive. On 7/9/23 12:45, Maureen L Thomas wrote: > I stand corrected my hdd is 1 terabyte and the ram is 8gb. I am not > sure I can expand that but I will find out. 8 GB of memory and a 1 TB hard disk drive should be enough for typical desktop usage. On 7/8/23 20:13, Maureen L Thomas wrote: Inetl core i3-9100T CPU 310 GHz, Realtec 8821CE wireless lan 802.1ac PCI-E Nic. When I shutdown I get the following message: stop job is run for Clam Antivirus userspace daian /1min40S and them failed unmount /var. Have you installed any software via any means other than a Debian package management tool such as apt-get(8)? No only thur the apt-get system. Okay. When I boot up 1.290210] mce:[Hardware Error[: CPU 0: Machine Check: 0 Bank 9: ae36 1,290283] mce: [Hardware Error]: TSC 0 ADDR 8d387240 MISC 704086 and then 1.290354] mce: [Hardware error]: Processor 0:906eb TIME 1688865217 Socket 0 C O microcode f0 Also my system freezes, I thought it was just the mouse but it is the whole system. It usually happens when I have more than four windows open or after I play music. I have absolutely no idea what is going on. Your help would be greatly appreciated. Thank you. Have you been keeping system administration records and have you been creating archives, images, and backups as I previously suggested? https://lists.debian.org/debian-user/2023/05/msg00714.html I have saved all my files on a second HD and the log files in a file I created for them. I looked at the one you suggested but could not figure it out. Keeping system administration notes is a good practice. Keep it up. So long as you have backups by any means, that is good. Learning a packaged backup system can be a long-range goal. Similarly, images via dd(1) and/or a package such as Clonezilla can be a long-range goal. In the mean time, the alternative is re-installing. Failing power supplies can be maddening to troubleshoot. The way to find out is to use a hardware power supply tester. I bought an inexpensive Antec ATX12V tester years ago; there are several newer models to choose from. Another reader suggested that the problems may be caused by memory errors. The way to find out is to download memtest86+, burn it to bootable media, and run it: https://memtest.org/ Your computer may have a UEFI built-in self-test suite. If so, run it. David
Re: firewalld on Debian 12
Hello, I sent a posting to the firewalld list, so far nothing. I do have a kludge/fix that does make firewalld work, though with an error. The fix is to change the backend option from nftables to iptables in /etc/firewalld/firewalld.conf. I then can add my rules and all is good. I do see the below message: #firewall-cmd --reload Error: COMMAND_FAILED: '/usr/sbin/ebtables-restore --noflush' failed: ebtables-restore v1.8.9 (nf_tables): line 3: CHAIN_DEL failed (Device or resource busy): chain PREROUTING_direct line 3: CHAIN_DEL failed (Device or resource busy): chain POSTROUTING_direct line 3: CHAIN_DEL failed (Device or resource busy): chain OUTPUT_direct It does work but I'd love to know why the newer nftables backend keeps failing and this error meaning? Thank you. Dave. On 7/8/23, Max Nikulin wrote: > On 08/07/2023 13:16, David Mehler wrote: >> root@hostname:~#systemctl status firewalld >> ? firewalld.service - firewalld - dynamic firewall daemon >> Loaded: loaded (/lib/systemd/system/firewalld.service; enabled; >> preset:> > ... >> Jul 08 02:06:48 hostname.example.com firewalld[77366]: ERROR: >> '/usr/sbin/e> >> line 3: >> CHAIN_DEL f> >> line 3: >> CHAIN_DEL f> >> line 3: >> CHAIN_DEL f> > > Please, use > systemctl --full --no-pager status firewalld > or > systemctl status firewalld | cat > to unveil complete error messages > >
Re: understanding the print dialog
On 7/9/23 12:49 PM, Charles Curley wrote: On Sun, 9 Jul 2023 11:15:10 -0700 Paul Scott wrote: Can I somehow configure the print dialog to use Zathura for print preview for PDFs? To which print dialog are you referring? The native Zathura one (if any; I have no idea, so I ask), the naive one for some other application (LibreOffice, e.g.), or the one provided by your desktop/GUI? If the latter, which one? Good question. I'll look for answers. Paul
About debian issues
Hello, Does the debian built-in driver support the RTL8852BU chip family of network cards? by Eden
Re: About debian issues
On Mon, 10 Jul 2023 01:30:10 + (UTC) SIE wrote: > Does the debian built-in driver support the RTL8852BU chip family of > network cards? I assume that's a Realtek device. Short answer: Bullseye (Debian 11), no; Bookworm (Debian 12), yes. You will need to install the package firmware-realtek to get the firmware. On a fresh installation of Bookworm, the installer should do that for you. root@jhegaala:~# apt-cache show firmware-realtek | grep -iE \(RTL8852BU\|^version:\) Version: 20210315-3 root@jhegaala:~# root@white:~# apt-cache show firmware-realtek | grep -iE \(RTL8852BU\|^version:\) Version: 20230210-5 * Realtek RTL8852BU Bluetooth config (rtl_bt/rtl8852bu_config.bin) * Realtek RTL8852BU Bluetooth firmware (rtl_bt/rtl8852bu_fw.bin) root@white:~# -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/