Re: nvidia package 340xx
I tried something similar, but it didn't work, although... Hans writes: > > > > > 1. Install module-assistant I didn't do this. > > 2. Enter the line for sid into your /etc/apt/sources.list > > deb http://deb.debian.org/debian/[1] sid main contrib non-free > non-free- firmware > > > 3. apt update > > > 4. apt install nvidia-legacy-340xx-driver firmware-misc-nonfree At this point many packages were installed, I didn't get a choice, I am not sure why. Then system failed to boot X, so I scrapped it all. > My notebook is a Lenovo T520 with Intel CPU (and internal Intel GPU) > and also NVidia GPU as external GPU (soldered on mainboard). > I have a Dell Inspiron 1720. I may have another go in April.
Re: nvidia package 340xx
Richmond writes: > Hans writes: > >> Am Samstag, 20. Mai 2023, 19:15:18 CEST schrieb Richmond: >> >>> Hans writes: >> >> >>> >> >>> As far as I remember the problem in Nvidia does not support kernels >> >>> above 4. This is why my laptop is stuck on Debian 10, although I >> did >> >>> wonder if Debian 11 can run with kernel 4. >> >>> >> >>> (Nouveaux is no good to me). >> >> >> Hi Richmond, >> >> >> regarding to debian/sid the package supports kernels up to 6.2. >> >> >> However, there are some issues, so it will segfault any >> qt-windowmangers (at the moment) and got some security issues. >> >> >> I succcessfully could build the sources with kernel-headers 6.0.1-9 >> (which with former kernels later than 5.10-22 did not work). >> >> >> But sadly in the end I did not succced at all, as it did not load the >> kernel modul and additionally it breaked my acceleration from the >> inbuilt gpu of the intel processor. >> >> >> So it was more a disappointment. On the other hand it could be, I >> made some mistakes and should upgrade additional libs from unstable. >> >> >> There is another thing, I also might done wrong (I wrote about some >> weeks ago in this forum): lspci says it is >> >> >> NVIDIA Corporation GF119M [Quadro NVS 4200M] (rev a1) >> >> >> and nvidia-detect (and some other sources, are telling me, that for >> this chipset NOT 340xx but 390xx should be used. >> >> >> Thisis wrong, as I could prove, that only 340xx (with kernel 5.10-22) >> is working. Installing 390xx, the kernel says: Wrong module, you have >> to use 340xx. >> >> >> This is the state at the moment. As I have only this laptop and no >> spare harddrive at the moment, I could not install debian/unstable >> for testing purposes. Maybe some time I will, or maybe some other guy >> will do it. >> >> >> Hope this makes some things clearer. > > Not really, but I found this website which says the driver supports > kernels "up to" 5.4 which I guess means up to and including. > > https://nvidia.custhelp.com/app/answers/detail/a_id/3142/ > > But debian seems to drop after debian 10 because kernel is 5.10 ? > > https://wiki.debian.org/NvidiaGraphicsDrivers > > I see here someone has patched the drivers: > > https://github.com/MeowIce/nvidia-legacy > > :-? > > Ubuntu 20.04 supports kernel 5.4 until 2025. So I might try that after > debian 10 expires. > > https://wiki.ubuntu.com/FocalFossa/ReleaseNotes#Linux_Kernel > > My card: > > nvidia-detect > Detected NVIDIA GPUs: > 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G86M > [GeForce 8400M GS] [10de:0427] (rev a1) > > Checking card: NVIDIA Corporation G86M [GeForce 8400M GS] (rev a1) > Your card is only supported up to the 340 legacy drivers series. > It is recommended to install the > nvidia-legacy-340xx-driver > package. I should read my own posts. I have now installed Ubuntu 22 with Kernel 5.4 and it is working with the above Nvidia card. But I have only kicked the can down the road to April. I wonder if it will be possible to run Debian 12 or 11 with a 5.4 kernel and nvidia-legacy-340xx-driver?
Re: switch users and still use display
fxkl4...@protonmail.com wrote: > i log in to x session as user1 on host1 > from within a xterm i want to change to user2 on host1 and run x programs > the current way i do this is ssh user2@host1 > does using ssh on the same host use encryption > is there another way to do this > i feel like this has been hashed over here previously > i just can't find the answer > You can use: su - user then run your X program, provided you change: /etc/pam.d/su-l and add session optional pam_xauth.so Some people might say that this is insecure. I don't think it is in a single user environment. (I posted this before but I am not sure it got through).
Re: switch users and still use display
fxkl4...@protonmail.com writes: > i log in to x session as user1 on host1 > from within a xterm i want to change to user2 on host1 and run x programs > the current way i do this is ssh user2@host1 > does using ssh on the same host use encryption > is there another way to do this > i feel like this has been hashed over here previously > i just can't find the answer You can do it using su, after you have made the following changes: diff /etc/pam.d/su-l~ /etc/pam.d/su-l 6a7 > session optionalpam_xauth.so I.e. add that session line to the end of the file. Some people might claim that this is insecure. I don't think it is in a single user environment.
Re: CrowdStrike and drivers (was Re: why reliable linux hasn't gained more market share?)
Dan Ritter writes: > Richmond wrote: >> Jeffrey Walton writes: >> >> Yes the updates should be tested at every stage. Maybe people think that >> they cannot stop updates, but they can use Group Policy to stop Windows >> Update. Or maybe they are afraid if they don't allow virus updates then >> they will allow a virus? > > This wasn't Windows Update. This is more akin to Firefox's > Mozilla-owned self-updating. > Windows Updates should be tested too. I worded what I said quite carefully.
Re: CrowdStrike and drivers (was Re: why reliable linux hasn't gained more market share?)
Jeffrey Walton writes: > This is alarming (to me) from the YC post: > > "we push software to your machines any time we want, > whether or not it's urgent, without testing it" seems to be > core to the model... > > Updates need to be tested inside an organization's lab, and then > tested with a sampling of the organization's computers. Then, an > organization is free to release the update to all machines. All of > that has to happen in two weeks to 30 days. > Yes the updates should be tested at every stage. Maybe people think that they cannot stop updates, but they can use Group Policy to stop Windows Update. Or maybe they are afraid if they don't allow virus updates then they will allow a virus?
Re: Installing a python package with pipx
Richard writes: > python3 -m venv venv > source venv/bin/activate > pip install musicpy OK thanks. And apparently to get idle working I do: python -m idlelib.idle
Re: Installing a python package with pipx
Richard writes: > That's how its done. Also, complaining here about something that > doesn't even work on other distros and thus can't be a Debian > problem doesn't make that much sense. I am not complaining, I am trying to find out how to get it working. And as pip (and pipx) are debian packages I think it is reasonable to discuss it on the debian user list.
Re: Help! secure boot is preventing boot of debian
"Thomas Schmitt" writes: > Hi, > > Richmond wrote: >> OK I got it booted and re-installed grub from debian. But I don't >> know why it happened, I haven't changed any keys or done anything >> except an opensuse update. I will ask the opensuse list > > I remember to have seen discussions about newly installed shim adding > names of older shims or bootloaders to something called SBAT. I find > in my mailbox a mail with a link to > https://bugzilla.opensuse.org/show_bug.cgi?id=1209985 > > About SBAT i found in the web: > > https://www.gnu.org/software/grub/manual/grub/html_node/Secure-Boot-Advanced-Targeting.html > https://github.com/rhboot/shim/blob/main/SBAT.md > > > Have a nice day :) > > Thomas Thanks. They have a wiki on how to fix this: https://en.opensuse.org/openSUSE:UEFI#Reset_SBAT_string_for_booting_to_old_shim_in_old_Leap_image I found re-installing debian's grub easier, until next time perhaps...
Re: Installing a python package with pipx
OK Back on Debian, I removed the one package installed with pipx, which was musicpy, then tried to install it with pip, but got this message which actually tells me to use pipx. (There is no package python-musicpy). pip install musicpy error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.11/README.venv for more information.
Re: Installing a python package with pipx
Richard wrote: > > > On Sat, Jun 1, 2024, 23:50 Richmond <mailto:dnomh...@gmx.com>> wrote: > > Richard mailto:rrosn...@gmail.com>> writes: > > > A packages documentation is always your best > friend: https://pypi.org > > /project/idle/ > > > > Yes it makes it look easy there, but: > > import idle > Traceback (most recent call last): > File "", line 1, in > File ".local/pipx/shared/lib/python3.11/site-packages/idle.py", > line 4, in > from layout import * > ModuleNotFoundError: No module named 'layout' > > That's what I'm talking about. You wildly mix commands together that > don't go together. And whatever is off with your paths. Things of pipx > installed packages should be in .local/bin and .local/shared/pipx. At > least on Debian that's the default. No idea what you did. > > I don't think your assessment is correct, as I have booted opensuse, where I do not even have pipx installed and have not used it. I did these commands: 1059 pip install musicpy 1062 pip install idle I got the layout error so: 1065 pip install layout cured the layout error but then I got a gui error 1067 pip install gui There is no such package. .local/lib/python3.6/site-packages/idle.py", line 26, in gui.mainloop() NameError: name 'gui' is not defined
Re: Installing a python package with pipx
Richard writes: > A packages documentation is always your best friend: https://pypi.org > /project/idle/ > Yes it makes it look easy there, but: import idle Traceback (most recent call last): File "", line 1, in File ".local/pipx/shared/lib/python3.11/site-packages/idle.py", line 4, in from layout import * ModuleNotFoundError: No module named 'layout' > Also, python script isn't a necessarily a standalone executable. And > also, you shouldn't just wildly mix pipx commands with pip commands > if you don't know what you are doing. Either create a venv with > python3 -m venv or use pipx, not both. Once created, stick to these > separate paths. And read the documentation of pipx while you're at > it. Sure, venvs are easy to handle, as you can just delete them and > start from scratch, but mixing commands without knowing what one is > doing is just a recipe for desaster. > I don't know what I am doing for sure. But I did not wildly mix, I just kept trying things until I found something which worked. Most things didn't, and still don't.
Re: Installing a python package with pipx
Richard writes: > Pretty much just what pipx does. > Well I don't know how. Now I need to run idle in my new environment. I have installed it .local/pipx/shared/bin/pip install idle and it is here: .local/pipx/shared/lib/python3.11/site-packages/idle.py but I don't know how to run it. I just get errors.
Re: Help! secure boot is preventing boot of debian
Marco Moock writes: > Am 01.06.2024 um 20:01:43 Uhr schrieb Richmond: > >> Should I disable secure boot temporarily? will that allow booting? > > That should allow booting it. > > Have you changed anything at the keys in the EFI (maybe UEFI > firmware update)? OK I got it booted and re-installed grub from debian. But I don't know why it happened, I haven't changed any keys or done anything except an opensuse update. I will ask the opensuse list
Re: Installing a python package with pipx
Richard writes: > That's the point of venv's. pipx runpip should do the trick. Or the > classic way: source path/to/venv/bin/activate. That way you activate > the position virtual environment (venv) created in that directory > with all packages installed in that venv. > I got it working by doing: python3 -m venv .local/pipx/venvs/musicpy/ .local/pipx/venvs/musicpy/bin/python3.11 Then I was able to import musicpy from the python shell. How bewildering! Thanks.
Help! secure boot is preventing boot of debian
I have a PC with two operating systems installed, Debian, and Opensuse. Both are installed with Secure Boot. Each has its own grub installation. Normally I boot debian, and if I want to boot opensuse I select UEFI settings from the main menu and select opensuse from there which launches the opensuse grub. Today I booted opensuse, and did an update which included an update to grub. Now I cannot boot debian as it says bad shim or bad signature. Each grub menu has the alternate O.S. on it, but booting debian from the opensuse grub menu did not work either. Should I disable secure boot temporarily? will that allow booting?
Re: Installing a python package with pipx
Richard writes: > Looking at the package, no wonder it fails. musicpy doesn't contain > anything that can be executed. So pipx run can't work for obvious > reasons. You'll have to install it with pipx install and use it in a > python script. > > https://pypi.org/project/musicpy/ > OK so I have found: ./.local/pipx/venvs/musicpy/lib/python3.11/site-packages/musicpy/musicpy.py But: python3.11 Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import musicpy Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'musicpy' I guess I have to tell python where to look?
Re: Installing a python package with pipx
Richard writes: > If you haven't closed the terminal window/logged out, you need to run > source .bashrc. Running pipx ensurepath should have said something > like that. Yes, I did this: > > (logged out and in to get updated PATH)
Installing a python package with pipx
I have been trying to install this: https://pypi.org/project/musicpy/#description with not much success. I have done these: sudo aptitude install pip sudo aptitude install pipx pipx ensurepath pipx install --include-deps musicpy (logged out and in to get updated PATH) pipx run musicpy 'musicpy' executable script not found in package 'musicpy'. Available executable scripts: I think it is installed, but how do I run it?
Re: Anybody Skype users here?
"Juan R.D. Silva" writes: > Hi folks, > > I use Skype installed from Debian official repo. A couple of days ago > it refused to update reporting "server timed out". After looking into > it, I found that MS removed Skype.deb package from their server and > basically forces everyone to use Snap package instead. > > Skype is the only app I would need Snap for on my > system. Unfortunately, I still need Skype and I do not see any > alternative but to concede to MS (and Ubuntu?) brute coercion. > > Any body installed Snap on their Debian system? Any problems with that > thing? Any suggestions to use Skype otherwise? > > Thanks You can use skype from the web page, web.skype.com, without installing it. Maybe that would do?
Re: "Repeaters", etc.
Andy Smith writes: > Hi, > > On Tue, May 28, 2024 at 11:31:29AM +0100, mick.crane wrote: >> Is there not some system that runs ethernet over the mains wiring or did I >> misunderstand it. > > It works extremely poorly, if at all. If wifi works you would prefer > wifi. > Do you mean homeplugs? I found they worked well. I can't see the post you are replying to.
Re: How to run automatically a script as soon root login
Mario Marietto writes: > There is still a problem. If I login automatically as user and inside > the script I do this : > > sudo iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE > > it asks me for the password (don't know why it didn't before) but I > can't issue a password,because the script inside the vm should work > automatically and should be hidden between the FreeBSD processes. > Why does it need to be executed at login? Maybe you could get root's crontab to execute it. A script could detect when a user is logged in.
Re: How to run automatically a script as soon root login
Erwan David writes: > Le 13/05/2024 à 14:36, Richmond a écrit : >> I was experimenting, and found this works: >> >> sudo xterm -e "echo 1 > hello" >> >> It created a file owned by root. But I found I was able to remove it >> without being root even though group and world permissions were read >> only. >> >> > thats because sudo exceutes a xterm as root > > then this xterm executes a shell (as root) and this root shell does > the redirection. Yes, but why did it allow me to delete the file? I was not root then. Try it.
Re: How to run automatically a script as soon root login
writes: > On Mon, May 13, 2024 at 01:36:23PM +0100, Richmond wrote: >> I was experimenting, and found this works: >> >> sudo xterm -e "echo 1 > hello" > > That's like slicing your morning baguette with the chainsaw. I do that too. > > But if it works for you... hey :-) > > Cheers This also works: sudo bash -c "echo 1 > hello"
Re: How to run automatically a script as soon root login
I was experimenting, and found this works: sudo xterm -e "echo 1 > hello" It created a file owned by root. But I found I was able to remove it without being root even though group and world permissions were read only.
Re: Zutty fonts - zutty always uses the same font and fontsize
Sirius writes: > Good old urxvt is quite lightweight compared to kitty. It understands the font names from xfontsel which is a major improvement on zutty. urxvt -bg black -fn -*-courier-*-r-*-*-24-*-*-*-*-*-*-* 8)
Re: Graphic Equalizer for Sound
Dan Ritter writes: > Richmond wrote: >> Dan Ritter writes: >> >> > Parametric EQs are not the same as graphic EQs, but they are >> > reasonably easy to understand and offer much more control. >> > >> > Suppose you want to boost all the bass below 50Hz. The >> > parametric type you want is a "shelf", the frequency is 50Hz, >> > the Q doesn't matter (because it's a shelf) and the volume >> > change is whatever you want -- +3dB is a safe number to produce >> > an audible effect without being overwhelming. >> > >> >> What I want to do is make it easier to hear the lower voices in choral >> music, or even better, hear only the lower voices, i.e. eliminate the >> upper voices. Perhaps a 'shelf' would do that, but I cannot find >> anything called 'shelf' in the user interface. I am bewildered. > > Human voices tend to be 80-8000Hz > > On the left hand side top, there's a Presets drop-down. Create a > new Output preset by typing in a name and tapping the + button. > > At the bottom center, click on Effects. > > On the left, you will have a list of effects. Select Equalizer. OK I got the equalizer. Unfortunately installing the software again has broken bluetooth speakers again, but I can still hear through the PC speakers... > > Let's put in a broad bell that will cover bass and low treble > voices: tap the first gear icon on top of a slider. By default, > all these bands are configurable and set to no change, so we're > going to co-opt the first one. > > The controls you now see should be Type, Mode and Slope. Set > Type to Bell, ignore Mode and Slope for now. > > Underneath are Frequency and Quality, with a display in between > telling you the width of that combination. Let's select a center > frequency of 200Hz, with a Q of 1.25. The width should say about > 160Hz, which will affect 40 to 360Hz (200 +/- 160). Click the > gear icon again, and then adjust the slider up about 6 dB. OK I did this. But over on the right there is still 194hz and 241hz which cover the same range. Also the user interface appears to get stuck so the dialog won't go away. I can't hear lower voices still, maybe PC speakers won't play them anyway. > > Play some choral music. Better? Worse? Play with the settings > until you get what you want. Then go back to Presets and use + > to save the current settings under the name you chose. > > -dsr-
Re: Zutty fonts - zutty always uses the same font and fontsize
Sirius writes: > I can get it working with "zutty -font 12x24" and other numerically > named fonts. Wow that one actually worked. That's the first time I've seen a different font in zutty! > Trying with something like 'lucidasans-24' will make it dump core > however. I got this error: zutty -font lucidasans-24 E [fontpack.cc:218] Error: No Regular variant of the requested font 'lucidasans-24' could be identified. terminate called after throwing an instance of 'std::runtime_error' what(): No suitable files for 'lucidasans-24' found!
Re: Graphic Equalizer for Sound
Franco Martelli writes: > On 01/05/24 at 14:33, Richmond wrote: >> Is it possible to have a graphic equalizer for sound output? I am using >> the Mate desktop. I installed EasyEffects from a flatpak and it appears >> on the menu but does nothing. I don't know the command line. Probably >> there is an error. >> Debian 12. >> > > Usually graphical equalizer are built in into the audio player, which > audio player are you using? Clementine ¹ has a powerful equalizer > with sound effects but maybe you'll prefer Rhythmbox that has an > equalizer provided apart. ² > I am using a web browser to play Youtube and Spotify. I got into a real mess with this, as my bluetooth speakers stopped working, "Bluetooth connect failed: br-connection-profile-unavailable" and then when I removed pipewire I lost all sound completely. I have it working again now by trial and error.
Re: Graphic Equalizer for Sound
Curt writes: > Why install from flatpak when there is a native Debian package? > To cut a long story short: user error. :( So I have it working now...
Re: Graphic Equalizer for Sound
Dan Ritter writes: > Parametric EQs are not the same as graphic EQs, but they are > reasonably easy to understand and offer much more control. > > Suppose you want to boost all the bass below 50Hz. The > parametric type you want is a "shelf", the frequency is 50Hz, > the Q doesn't matter (because it's a shelf) and the volume > change is whatever you want -- +3dB is a safe number to produce > an audible effect without being overwhelming. > What I want to do is make it easier to hear the lower voices in choral music, or even better, hear only the lower voices, i.e. eliminate the upper voices. Perhaps a 'shelf' would do that, but I cannot find anything called 'shelf' in the user interface. I am bewildered.
Graphic Equalizer for Sound
Is it possible to have a graphic equalizer for sound output? I am using the Mate desktop. I installed EasyEffects from a flatpak and it appears on the menu but does nothing. I don't know the command line. Probably there is an error. Debian 12.
Zutty fonts - zutty always uses the same font and fontsize
I am puzzled by the zutty terminal emulator. I have tried: 1186 zutty -fontpath /usr/share/fonts/X11/ -fontsize 20 1187 zutty -fontpath /usr/share/fonts/X11/ -font adobe 1190 zutty -fontpath /usr/share/fonts/X11/misc/ -fontsize 20 1191 zutty -fontpath /usr/share/fonts/X11/misc/ -fontsize 24 1192 zutty -fontpath /usr/share/fonts/X11/misc/ -fontsize 12 1193 zutty -font 9x20 1198 zutty -fontsize 10x20 1199 zutty -fontpath /usr/share/fonts/X11/misc/ -fontsize 10x20 1200 zutty -font 10x20 I clearly have fonts: find /usr/share/fonts -print|grep "x20" /usr/share/fonts/X11/misc/10x20-ISO8859-9.pcf.gz /usr/share/fonts/X11/misc/10x20-ISO8859-3.pcf.gz /usr/share/fonts/X11/misc/10x20-ISO8859-11.pcf.gz ... Nothing I have tried works, zutty always uses the same rather small font. https://tomscii.sig7.se/zutty/doc/USAGE.html#Font%20selection Has this package been implemented correctly? aptitude show zutty Package: zutty Version: 0.14.0.20230218+dfsg1-1 cat /etc/issue Debian GNU/Linux 12 \n \l
Re: Fwd: Debian 11 Xfce panel Network Manager applet has disappeared
David Christensen writes: > Forwarded Message > Subject: Re: Debian 11 Xfce panel Network Manager applet has disappeared > Date: Wed, 17 Apr 2024 11:38:49 -0700 > From: David Christensen > To: Gareth Evans > > On 4/17/24 03:47, Gareth Evans wrote: >> On Wed 17/04/2024 at 09:18, David Christensen >> wrote: >>> On 4/16/24 08:56, Gareth Evans wrote: On 16 Apr 2024, at 00:18, David Christensen wrote: > On 4/15/24 09:21, Gareth Evans wrote: >>> On Sun 14/04/2024 at 13:29, David Christensen wrote: >>> ... >>> I have used the Xfce panel Network Manager applet for many years. >>> Tonight, I noticed that it has disappeared (!). >>> ... > 2024-04-15 16:08:23 dpchrist@laalaa ~ > $ ps aux | grep nm-applet > dpchrist1518 0.1 0.2 426500 35380 ?Sl 16:06 0:00 > nm-applet > dpchrist1940 0.0 0.0 3240 644 pts/0S+ 16:15 0:00 grep > nm-applet > > 2024-04-15 16:15:12 dpchrist@laalaa ~ > $ nm-applet > > 2024-04-15 16:15:31 dpchrist@laalaa ~ > $ ps aux | grep nm-applet > dpchrist1518 0.1 0.2 426500 35380 ?Sl 16:06 0:00 > nm-applet > dpchrist1952 0.0 0.0 3240 644 pts/0S+ 16:15 0:00 grep > nm-applet That seems to show it's running from the outset, just not being displayed on the panel. Does rebooting (or logging out and in again) bring it back? >>> >>> >>> No. >> OK. You may have checked this already, but in case not, if I >> install XFCE and go to >> Settings > Session and Startup > Application Autostart >> there is an entry in the list called >> "Network (Manage your network connections)" > > > It is checked. > > >> which shows a tooltip of "command: nm-applet" > > > Command: nm-applet > > >> Might this somehow have become unset? >> I'm not sure if it's possible for GUI config helpers to become >> detached from actual settings - this seems to describe the relevant >> locations: >> https://unix.stackexchange.com/questions/669372/xfce4-session-and-startup-where-are-autostart-items-saved > > > 2024-04-17 11:21:06 dpchrist@laalaa ~ > $ grep nm-applet ~/.config/autostart > grep: /home/dpchrist/.config/autostart: No such file or directory > > 2024-04-17 11:33:11 dpchrist@laalaa ~ > $ find .config -name autostart > > 2024-04-17 11:33:22 dpchrist@laalaa ~ > $ > > > 2024-04-17 11:34:14 dpchrist@laalaa ~ > $ grep -r nm-applet /etc/xdg/autostart > /etc/xdg/autostart/nm-applet.desktop:Exec=nm-applet > /etc/xdg/autostart/nm-applet.desktop:X-GNOME-Bugzilla-Component=nm-applet > > > My WAG is that nm-applet is failing to start, but I have been unable > to find if and where any error message is reported. > What are the permissions on the nm-applet binary? maybe it doesn't have permission to execute, or the process which starts it doesn't have permission.
Re: Bluetooth sound problems playing from a web browser
Thanks, I tried it but it turns out to be a wifi/usb problem I think. Jan Krapivin writes: > Have you tried a LIVE-version of another Linux distribution? It will > be interesting to compare. > > вс, 7 апр. 2024 г. в 22:30, Richmond : > > Richmond writes: > > > Richmond writes: > > > >> When playing videos in a web browser, and sending the sound to > a > >> bluetooth speaker (amazon echo) I get playback problems; > stuttering, > >> sound quality reduction to AM radio level or lower). These > things can > >> clear up after a minute or two, or be reduced. > >> > >> When playing from nvlc however I get no such problems. (I > haven't > >> tried vlc so I am not sure if it is just that it is a command > line). > >> > >> I have tried google-chrome and firefox-esr. > >> > >> Perhaps there is some other browser which will work? Maybe I > need to > >> isolate the process from the browser? I tried pop-out picture > on you > >> tube and it improved but there was still stuttering. > > > > I installed Falkon and Konqueror. I tried Falkon and it worked > fine, no > > sound problems. But then I tried Google-chrome again and that > was > > working fine too, and so was Firefox-esr. The problems have > gone away > > and even rebooting doesn't bring them back. Maybe one of those > browsers > > brought a better library with it. > > These problems have come back again. I have tried rebooting. I > tried > sending the same audio from an android phone and it works fine. > How do I > find out what the problems is? I cannot see errors in journalctl >
Re: Bluetooth sound problems playing from a web browser
Lee writes: > On Sun, Apr 7, 2024 at 3:30 PM Richmond wrote: >> >> Richmond writes: >> >> > Richmond writes: >> > >> >> When playing videos in a web browser, and sending the sound to a >> >> bluetooth speaker (amazon echo) I get playback problems; >> >> stuttering, sound quality reduction to AM radio level or >> >> lower). These things can clear up after a minute or two, or be >> >> reduced. >> >> >> >> When playing from nvlc however I get no such problems. (I haven't >> >> tried vlc so I am not sure if it is just that it is a command >> >> line). >> >> >> >> I have tried google-chrome and firefox-esr. >> >> >> >> Perhaps there is some other browser which will work? Maybe I need >> >> to isolate the process from the browser? I tried pop-out picture >> >> on you tube and it improved but there was still stuttering. >> > >> > I installed Falkon and Konqueror. I tried Falkon and it worked >> > fine, no sound problems. But then I tried Google-chrome again and >> > that was working fine too, and so was Firefox-esr. The problems >> > have gone away and even rebooting doesn't bring them back. Maybe >> > one of those browsers brought a better library with it. >> >> These problems have come back again. > > So unless you've updated or installed new hardware or software it's > probably not a firmware/software issue. > >> I have tried rebooting. I tried sending the same audio from an >> android phone and it works fine. How do I find out what the problems >> is? I cannot see errors in journalctl > > It's possible that wifi or usb 3.0 could be interfering with your > bluetooth speakers - eg > https://www.zdnet.com/article/usb-3-and-usb-c-devices-can-cause-problems-with-wi-fi-and-bluetooth-connections-but-theres-a-solution/ Thanks, I think this is the answer! I was having no problems today but noticed that the PC was connected to 5Ghz. Sometimes it connects at 2.4Ghz. When I disabled 5Ghz and forced the PC to use 2.4Ghz the problem came back. So now all I need to do is seperate those services and/or tie the PC to 5Ghz. The PC is a laptop but I never move it from the desktop. I am using a USB mouse and USB keyboard adapter to an old IBM keyboard. > https://sortatechy.com/spot-and-fix-bluetooth-interference-with-wifi/ > > If your PC is using wireless and can use a 5Ghz channel, try moving > your PC wireless to a 5Ghz channel first. If you PC only supports > 2.4Gh wireless you can install linssid > https://packages.debian.org/bookworm/linssid and pick a relatively > unused channel for your PC wireless. Or just try channels 1, 6 and 11 > and see if any of those makes a difference.. > > If you're using a USB 3.0 device on your PC try turning it off or > moving it to a USB 2.0 port and see if that fixes the bluetooth > interference. > > Regards, Lee
Re: Bluetooth sound problems playing from a web browser
Richmond writes: > Richmond writes: > >> When playing videos in a web browser, and sending the sound to a >> bluetooth speaker (amazon echo) I get playback problems; stuttering, >> sound quality reduction to AM radio level or lower). These things can >> clear up after a minute or two, or be reduced. >> >> When playing from nvlc however I get no such problems. (I haven't >> tried vlc so I am not sure if it is just that it is a command line). >> >> I have tried google-chrome and firefox-esr. >> >> Perhaps there is some other browser which will work? Maybe I need to >> isolate the process from the browser? I tried pop-out picture on you >> tube and it improved but there was still stuttering. > > I installed Falkon and Konqueror. I tried Falkon and it worked fine, no > sound problems. But then I tried Google-chrome again and that was > working fine too, and so was Firefox-esr. The problems have gone away > and even rebooting doesn't bring them back. Maybe one of those browsers > brought a better library with it. These problems have come back again. I have tried rebooting. I tried sending the same audio from an android phone and it works fine. How do I find out what the problems is? I cannot see errors in journalctl
Re: Bluetooth sound problems playing from a web browser
Richmond writes: > When playing videos in a web browser, and sending the sound to a > bluetooth speaker (amazon echo) I get playback problems; stuttering, > sound quality reduction to AM radio level or lower). These things can > clear up after a minute or two, or be reduced. > > When playing from nvlc however I get no such problems. (I haven't > tried vlc so I am not sure if it is just that it is a command line). > > I have tried google-chrome and firefox-esr. > > Perhaps there is some other browser which will work? Maybe I need to > isolate the process from the browser? I tried pop-out picture on you > tube and it improved but there was still stuttering. I installed Falkon and Konqueror. I tried Falkon and it worked fine, no sound problems. But then I tried Google-chrome again and that was working fine too, and so was Firefox-esr. The problems have gone away and even rebooting doesn't bring them back. Maybe one of those browsers brought a better library with it.
Bluetooth sound problems playing from a web browser
When playing videos in a web browser, and sending the sound to a bluetooth speaker (amazon echo) I get playback problems; stuttering, sound quality reduction to AM radio level or lower). These things can clear up after a minute or two, or be reduced. When playing from nvlc however I get no such problems. (I haven't tried vlc so I am not sure if it is just that it is a command line). I have tried google-chrome and firefox-esr. Perhaps there is some other browser which will work? Maybe I need to isolate the process from the browser? I tried pop-out picture on you tube and it improved but there was still stuttering.
Re: making Debian secure by default
Lee writes: > > oof. Are there instructions somewhere on how to make Debian secure by > default? > > Thanks, Lee I always thought it strange that debian has no firewall on by default. Why not offer to enable one during installation? Opensuse offers to enable one and offers to allow ssh.
Re: hexchat being discontinued?
Default User writes: > :( > > Well, it seems that hexchat is being discontinued. > IMHO, it is/was the only IRC client that was actually usable. > > Any recommendations for a GOOD alternative? > > You could try Pidgin. It's in the Debian repo. It has various protocols of which irc is just one. It's a bit confusing because you have to go to the 'buddy' menu to join an irc channel.
Re: Unidentified flying subject!
Charles Curley writes: > On Fri, 09 Feb 2024 04:30:14 + > Richmond wrote: > >> So you need to store a lot of data and then verify that it has written >> with 'diff'. > > Yeah. > > I've been thinking about this. Yeah, I know: dangerous. > > What I would do is write a function to write 4096 bytes of repeating > data, the data being the block number being written to. So the first > block is all zeros, the second all ones, etc.. For convenience they > would be 64 bit unsigned ints. > > And, given the block number, a function to verify that block number N > is full of Ns and nothing else. > > By doing it this way, we don't have to keep copies of what we've > written. We only have to keep track of which block got written to which > LBA so we can go back and check it later. > > Now, divide the drive in half. Write block zero there. Divide the two > halves each in half, and write blocks one and two. Divide again, and > write blocks three through five. Etc., a nice binary division. > > Every once in a while, I would go back and verify the blocks already > written. Maybe every time I subdivide again. > > If we're really lucky, and the perpetrators really stupid, the 0th block > will fail, and we have instant proof that the drive is a failure. > We don't care why the drive is failing, only that the 0th block (which > is clearly not at the end of the drive) has failed. > > Here's a conjecture: This was designed to get people who use FAT and > NTFS. I know that FAT starts writing at the beginning of the partition, > and goes from there. This is because floppy disks (remember them?) have > track 0 at the outside, which is far more reliable than the tracks at > the hub simply because each each flux reversal is longer. So the first > 64G should be fine; only after you get past there do you see bad > sectors. I believe NTFS does similarly. > > But I don't think that's what they're doing. Other operating systems > have put the root directory and file allocation table (or equivalent) > in the middle of the disk (for faster access), Apple DOS for one. > mkfs.extX write blocks all over the place. > > I think that they are re-allocating sectors on the fly, regardless of > the LBA, until they run out of real sectors. So we write 64G+ of my > 4096 byte blocks. It'll take a while, but who cares? > > If Gibson is correct that these things only have 64 gig of real memory, > and my arithmetic is correct, we should start seeing failures after > writing 16777216 of my 4096 blocks. > > Of course, these things might allocate larger sectors than 4096 bytes. > In which case we'll hit the limit sooner. I tried validrive on a 64G drive and it was very fast to run. Another older drive with 32G was much slower. This is due to the design of drives expecting to be written to sequentially. Note this in the FAQ: "Q:How much of the storage of a drive does ValiDrive test? "A:ValiDrive's drive map contains 32 x 16 squares. So it tests 576 evenly-spaced 4k byte regions of any drive for a total of 2,359,296 bytes, or about 2.36 megabytes. If a drive contains internal RAM caching, ValiDrive will detect that and may increase its testing region size, as necessary, to bypass such caching; but this is not commonly encountered. " This would be considerably quicker than your 64G write, and also cause less wear. But you need a friend with Windows to run it. :)
Re: Unidentified subject!
Charles Curley writes: > On Thu, 08 Feb 2024 18:02:36 -0500 > Stefan Monnier wrote: > >> > Test it with Validrive. >> > https://www.grc.com/validrive.htm >> >> Looks like proprietary software for Windows. > > badblocks, available in a Debian repo near you, might be a suitable > replacement. I am not sure badblocks would do the same thing. "The drive appears to be the 1 or 2 terabyte drive you purchased. You plug it into your computer and everything looks fine. You can even copy files to the drive; as many as you want. And when you look at the drive's contents the files are there. But what's insidious is that the files' contents may have never been stored. " So you need to store a lot of data and then verify that it has written with 'diff'.
Re: Unidentified subject!
gene heskett writes: > 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. Test it with Validrive. https://www.grc.com/validrive.htm
Re: what keyboard do you use?
hw writes: > On Fri, 2024-02-02 at 20:09 -0600, Nate Bargmann wrote: >> [...] >> I have several of the now classic IBM Model M keyboards I procured in >> the '90s. Modern BIOSes don't like them even with a PS/2 to USB >> adapter so I gave up on them. > > They might work with a so-called active adapter. IIRC it has > something to do with the adpater suppling power. With some research > and an investment of like $5, you can probably still use your > keyboards. > Yes, I am using an IBM keyboard right now via usb into a laptop, with this adapter: https://www.amazon.co.uk/dp/B07FLD3T8T
man page for cut
In the man page for cut it says: -b, --bytes=LIST select only these bytes But there is no equals sign in the actual syntax: echo hello|cut -b 2-5 ello echo hello|cut -b=2-5 cut: invalid byte/character position ‘=2-5’ Try 'cut --help' for more information. Why is this? (An example paints a thousand words).
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well...
It's not ideal, but what I did when I had two disks and two operating systems was I installed two grubs, one for each OS, one on each MBR. I then used the BIOS menu to choose which disk to boot. This means each OS updates its own grub instance.
Re: differences among amd64 and i386
fuf writes: > Good day! Near a half month ago I bought a comp. made into 2011 year > and didn't knew which Debian12 to put: i386 or amd64?, chose i386 as > thought that old comp. didn't take amd64. i386-netinst Debian 12 was > being installed perfectly, and later I could to read a disk owned to > the comp.: CPU Support Processor Intel Sandy Bridge (Dual core / Quad > core) (optional) TDP 35W / 45W Core Chips PCH Intel® HM65 Memory > Technology DDR3 1333 MHz Memory DDR3 SO-DIMM X 2 slots Maximum 8 GB In > BIOS I had read: Memory 2GB, Processor Speed ~2GHz, Disk 320GB. > > I installed amd64-netinst Debian 12 but the bare base (for speed) > hoping after to add all necessary. Of course nothing couldn't . > Third time I have installed Xfce and all to be suggested. Now > comp. is having 3 Debian 12 and 1 swap partition 4GB. I don't > notice differences among amd64 and i386 but think to pick among > this. Give advice, what better please? I will add memory if the spare > slots are, but maybe all busy? There are 2 slots only. Also, is > there any simplest way to increase the font at the "bare base" at once > after login? Thanks all. --fuf If you use: sudo dmidecode -t memory It will show you how much memory is in each slot, and the maximum memory. I am finding my PC with 2 Gigabytes of RAM performs better with 386 os, but some things don't work like app images, TOR browser. This link suggests for example Seamonkey requires 2 GB RAM for the 32-bit version 3 GB RAM for the 64-bit version https://www.seamonkey-project.org/en/doc/system-requirements
Re: IMPORTANT: do NOT upgrade to new stable point release
Greg Wooledge writes: > On Sat, Dec 09, 2023 at 07:18:20PM +, Michael Kjörling wrote: >> If you upgraded this morning, then I would expect that you are okay >> for now. > > That doesn't appear to be true. > >> Per #5 in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057843 >> the bug is present in kernel Debian package version 6.1.64-1. If you >> are on 6.1.55-1 (current Bookworm stable per last night) you _likely_ >> aren't affected. > > This is the kernel I got this morning: > > ii linux-image-6.1.0-14-amd64 6.1.64-1 amd64 Linux 6.1 for 64-bit PCs > (signed) > > This is the current result of looking for a newer one: > > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > Based on the warnings given here, I rebooted to the prior kernel: > > unicorn:~$ uname -a Linux unicorn 6.1.0-13-amd64 #1 SMP > PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux > > I guess I'll wait and see what happens next. I upgraded some time today to a December kernel. I have now gone back to September 29 kernel. But is there a way to tell what if anything got corrupted? I am using a 32 bit system and ext4. I booted this: 6.1.0-13-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) i686 GNU/Linux then: aptitude remove linux-image-6.1.0-14-686-pae
Re: it: perhaps? gmail issues.
In this article Google seems to think using standard webmail works with a screen reader. https://support.google.com/mail/answer/90559 It advises to turn on keyboard shortcuts. I suppose another option would be to use another webmail service to pick up email from gmail. Karen Lewellen wrote: > Hi folks, > Admit my hands are shaking a bit as I write. > This morning google began circulating a plan to force standard gmail > on users still keeping basic html gmail...in spite of posts on their > own accessibility list from members around the world experiencing > disabilities who still need basic html. > I personally have a great deal of content, for work and otherwise in > this inbox. > making it worse for me is that one must solve a captcha to prove > yourself, something I physically cannot do. > so, thinking of Debian shells or Ubuntu ones, how would you find a > path to gmail firmly? > Thanks, > Karen > >
Re: UFW/GFW Doesn't start up after running previously
marathon writes: > On Sat, Nov 18, 2023 at 07:49:32AM -0700, Charles Curley wrote: >> On Sat, 18 Nov 2023 08:25:10 -0500 >> marathon wrote: >> >> > Using Debian Bookworm, on Lenovo X280 laptop. Each time after cold >> > startup or from suspend, I've found the ufw software is turned off >> > and blocks all network activity in that state. >> >> How do you know it is turned off? Please show the exact command you are >> using, including leading and trailing command line prompts. > > When I launch Gufw it's off. I'm not starting it via console but with the > GUI. This is a vanilla Debian install, and ufw/Gufw from the Debian repos. > It should just work. I have no idea whats going on under the hood, I'm a > simple user of the product. > >> ufw is a tool for setting up and managing a firewall. It is not the >> firewall itself. To find out if your firewall is active, run >> >> iptables -n -L >> >> If you see this, you have no firewall at all, you are wide open, and >> should run some ifw command to bring the firewall up: > > It works fine when its turned on manually, past experience using it on > Debian this would never happen. Once installed and started it should keep on > running across cold reboots and/or suspend. > >> root@chaffee:~# iptables -n -L > > snip > >> If you see anything else, you may have a working firewall. As I don't > > It's called ufw not ifw. I have it set on the default settings which stops > inbound but allows outbound. I need input from someone using this tool. It's > available in the repos for those that don't want to screw around with > scripts etc. I am using it on a Debian 10 system. You might look in ufw.conf cat /etc/ufw/ufw.conf # /etc/ufw/ufw.conf # # Set to yes to start on boot. If setting this remotely, be sure to add a rule # to allow your remote connection before starting ufw. Eg: 'ufw allow 22/tcp' ENABLED=yes # Please use the 'ufw' command to set the loglevel. Eg: 'ufw logging medium'. # See 'man ufw' for details. LOGLEVEL=low When I run ufw status Status: active To Action From -- -- 22/tcp ALLOW 192.168.1.0/24 systemctl status ufw ● ufw.service - Uncomplicated firewall Loaded: loaded (/lib/systemd/system/ufw.service; enabled; vendor preset: enabled) Active: active (exited) since Sun 2023-11-19 15:45:15 GMT; 20min ago Docs: man:ufw(8) Process: 219 ExecStart=/lib/ufw/ufw-init start quiet (code=exited, status=0/SUCCESS) Main PID: 219 (code=exited, status=0/SUCCESS)
Re: Panic again any idea
Schwibinger Michael wrote: > Good morning > I did ask one year ago > but no answer here or in the www. > Debian has panic(=no booting) after update to 11. > Thank You for help > > Regards > Sophie > Boot from a rescue disk and look at the logs, or take a photograph of the screen when the error occurs. If you manage to boot from a rescue disk you could re-install grub. Probably it hasn't mounted the right disk.
Segmentation fault in Chromium
I received a segmentation fault from chromium. Would it be logged anywhere? I searched journalctl but no mention of it. Chromium 117.0.5938.132 built on Debian 11.7, running on Debian 11.7 5.10.0-25-amd64 #1 SMP Debian 5.10.191-1 (2023-08-16) x86_64 GNU/Linux I expect such things cannot be logged but it would be good to find out what it is.
Re: Looking for a good "default" font (small 'L' vs. capital 'i' problem)
debian-u...@howorth.org.uk wrote: > Cindy Sue Causey wrote: >> My own mind went to the place of thinking sans serif was about those >> very lines. I just didn't make it to thinking that would make it hard >> to find any alternate in that family. My long time preference is >> developer-weary-eye-friendly fonts-anonymous-pro for whatever >> applications will accept it. Found it accidentally a few years ago. >> Its differences are noticeable enough that I instantly miss it on new >> operating system installs. The "apt-cache show" description for >> fonts-anonymous-pro specifically references both 0 v. O and I v. l v. >> 1: "Description-en: fixed width font designed for coders This package >> contains two Font Families. - Anonymous Pro - Anonomous Pro Minus . >> 'Anonymous Pro' is a family of four fixed-width fonts designed >> especially with coding in mind. Characters that could be mistaken for >> one another (O, 0, I, l, 1, etc.) have distinct shapes to make them >> easier to tell apart in the context of source code. > Terminal fonts tend to be fixed width since that's a property of > terminals. Fixed width fonts tend to have serifs because it's easier > to make the spacing look more even between inherently narrow > characters and inherently wide ones using details like serifs. So > finding a sans serif font amongst terminal fonts is likely a difficult > cause. The font I have in Gnome terminal is called 'Monospace'. It doesn't have serifs generally, but there is on I and l, and on J. And the 0 has a dot in it. The Gnome Tweaks program has a font selector which shows 'The quick brown fox jumps over the lazy dog', searching for 'sans' I found only 'Noto Sans Mono Regular' which distinguished the I and l.
Strange visual effects with Gnome
I installed Debian 12 on a laptop. I found that when the mouse was moved up to the top menu bar it disappeared. If I managed to click on the menu the mouse was invisible over the menu too. Also I noticed the letter A from activities was missing. You will forgive me I hope for installing OpenSUSE 15.5, but I still see some problems with fonts although the mouse is always visible. Hardware Class: graphics card Model: "ATI RV515/M54 [Mobility Radeon X1400]" Vendor: pci 0x1002 "ATI Technologies Inc" Device: pci 0x7145 "RV515/M54 [Mobility Radeon X1400]" SubVendor: pci 0x1028 "Dell" SubDevice: pci 0x2002 Driver: "radeon" Driver Modules: "radeon" vendor_id : GenuineIntel cpu family: 6 model : 15 model name: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz It's a Dell Inspiron 9400. What can I do? I would install Debian 11 or 10 if I thought it would improve the situation but I am not sure where the problem lies.
Re: Fan speed and control
Emanuel Berg writes: > Richmond wrote: > >> Smart fan control is enabled in the CMOS > > Complementary metal–oxide–semiconductor, AKA sea-moss? > > https://en.wikipedia.org/wiki/CMOS > > The CMOS BIOS: > > https://en.wikipedia.org/wiki/Nonvolatile_BIOS_memory > I meant CMOS settings. https://www.ifixit.com/Wiki/Motherboard_CMOS_Configuration_and_Setup >> for both CPU and System. Is there something I can use which >> will automatically configure fan speed? > > I'm not aware of a way to do this from software, but you can > do this with the UEFI (modern-day BIOS) for PWM and DC fans. > But you knew that ... Well no I didn't know that. I don't have a modern day UEFI. But I concluded that there is some control of the fan from the fact that Windows 10 does it, and that the fan speed is lower in the winter even with Debian. But I suppose that could be the BIOS. > > A bunch of monitoring functions mostly based on sensors(1) > > https://dataswamp.org/~incal/conf/.zsh/temp > > "My name is Bugs, as in bunny - and tech that listens." Thanks.
Fan speed and control
I've noticed that the fan speed with Debian is much faster than the fan speed with Windows 10. I doubt very much that this is because Windows 10 is doing less processing. The fan speed with Windows 10 seems to vary quite a lot, where as Debian is consistently high when the room temperature is up around 23C as it is now. /usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed Output from 'sensors': acpitz-acpi-0 Adapter: ACPI interface temp1:+34.0°C (crit = +90.0°C) Smart fan control is enabled in the CMOS for both CPU and System. Is there something I can use which will automatically configure fan speed?
Re: root password of debian live cd?
Timothy M Butterworth writes: > On Tue, May 30, 2023 at 2:03 AM hlyg wrote: > > > On 5/30/23 12:37, to...@tuxteam.de wrote: > > > > This seems to have been discussed like eight years ago: > > > > https://lists.debian.org/debian-live/2015/05/msg00081.html > > > > Perhaps it should go into a FAQ. > > > > Cheers > > > Thank tomas! > > many packages break because of empty password? some other distro > have no > password for live cd, they don't break? > > i have tried latest deb11 live cd for i386/gnome, live or Live > aren't > correct passwords > > > The Live CD has no root password you have to use sudo. Someone here suggested using live-config as a command line parameter in Grub. https://forums.debian.net/viewtopic.php?t=102937 If you are logged in as user you can use: sudo bash To get a root command prompt and set the root passwd using passwd
Re: nvidia package 340xx
Hans writes: > Am Samstag, 20. Mai 2023, 19:15:18 CEST schrieb Richmond: > >> Hans writes: > > >> > >> As far as I remember the problem in Nvidia does not support kernels > >> above 4. This is why my laptop is stuck on Debian 10, although I > did > >> wonder if Debian 11 can run with kernel 4. > >> > >> (Nouveaux is no good to me). > > > Hi Richmond, > > > regarding to debian/sid the package supports kernels up to 6.2. > > > However, there are some issues, so it will segfault any > qt-windowmangers (at the moment) and got some security issues. > > > I succcessfully could build the sources with kernel-headers 6.0.1-9 > (which with former kernels later than 5.10-22 did not work). > > > But sadly in the end I did not succced at all, as it did not load the > kernel modul and additionally it breaked my acceleration from the > inbuilt gpu of the intel processor. > > > So it was more a disappointment. On the other hand it could be, I > made some mistakes and should upgrade additional libs from unstable. > > > There is another thing, I also might done wrong (I wrote about some > weeks ago in this forum): lspci says it is > > > NVIDIA Corporation GF119M [Quadro NVS 4200M] (rev a1) > > > and nvidia-detect (and some other sources, are telling me, that for > this chipset NOT 340xx but 390xx should be used. > > > Thisis wrong, as I could prove, that only 340xx (with kernel 5.10-22) > is working. Installing 390xx, the kernel says: Wrong module, you have > to use 340xx. > > > This is the state at the moment. As I have only this laptop and no > spare harddrive at the moment, I could not install debian/unstable > for testing purposes. Maybe some time I will, or maybe some other guy > will do it. > > > Hope this makes some things clearer. Not really, but I found this website which says the driver supports kernels "up to" 5.4 which I guess means up to and including. https://nvidia.custhelp.com/app/answers/detail/a_id/3142/ But debian seems to drop after debian 10 because kernel is 5.10 ? https://wiki.debian.org/NvidiaGraphicsDrivers I see here someone has patched the drivers: https://github.com/MeowIce/nvidia-legacy :-? Ubuntu 20.04 supports kernel 5.4 until 2025. So I might try that after debian 10 expires. https://wiki.ubuntu.com/FocalFossa/ReleaseNotes#Linux_Kernel My card: nvidia-detect Detected NVIDIA GPUs: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G86M [GeForce 8400M GS] [10de:0427] (rev a1) Checking card: NVIDIA Corporation G86M [GeForce 8400M GS] (rev a1) Your card is only supported up to the 340 legacy drivers series. It is recommended to install the nvidia-legacy-340xx-driver package.
Re: nvidia package 340xx
"Marlin S. Petre" writes: > On 5/20/23 1:15 PM, Richmond wrote: >> As far as I remember the problem in Nvidia does not support kernels >> above 4. This is why my laptop is stuck on Debian 10, although I did >> wonder if Debian 11 can run with kernel 4. >> >> (Nouveaux is no good to me). >> > I am using the "nvidia-tesla-450-driver" on Debian 12 bookworm. You > need to install the linux-headers package that matches your kernel version > in order for the nvidia driver to build into the kernel. For Bullseye amd64, > I think this would be "linux-headers-5.10.0-22-amd64". For Bookworm, it is > "linux-headers-6.1.0-9-amd64". > > If a point release of stable ships with a different kernel version, I > learned that I > needed to install the headers package that matched, or the driver > would build > for the old kernel. > > Regards, > Marlin I am referring to the legacy 340 driver which OP is using and I am using. Nvidia doesn't support that driver above kernel 4. Tesla 450 doesn't look like legacy to me, it's in the Debian 11 repo.
Re: nvidia package 340xx
Hans writes: > Dear debian team, > > I just discovered the "nividia-legacy-340xx"-packages in debian sid. > > However, as they were in buster, but NOT in bullseye, NOR in bookworm, > I wonder, if there is a chance, they will transfer from testing to > bookworm some day. > > I tested them on bookworm, and they built (what a pleasent > surprise!!), but I could not load them on actual bookworm kernel > 6.1.0.9. Ok, this might be, that some other libs needed by the driver, > are incompatible, because they need libs from sid, but that does not > matter for me. > > My question is more: Will these packages be transferred to testing > some day and then from testing to stable? Or will they (when > transferred to testing) NEVER be transferred to stable (until the next > big release, of course). > > What is the policy with those (unfree and third party packages )and > what are the chances at all? > > Thanks for your help, oh and thank you for the people, who got this > package buildable! > > Best regards > > Hans As far as I remember the problem in Nvidia does not support kernels above 4. This is why my laptop is stuck on Debian 10, although I did wonder if Debian 11 can run with kernel 4. (Nouveaux is no good to me).
Gnome: The Videos application quits when clicking on Activities
I've noticed several times, when I am listening to an mp3 using the application 'Videos' that if I click on Activities to put the system into the view showing each task as a miniture window, that the Videos application abruptly quits. How can I find an error message for that? I've switched to useing Rythmbox for the time being but I think Videos is the default mp3 application.
Re: Am I infected with a rootkit?
It's a long shot, but does either computer have wifi? Is it secured with wpa2?
Re: Where has the Gnome hot corner setting gone?
Richmond wrote: > Cindy Sue Causey writes: > >> On 3/29/23, Richmond wrote: >>> I thought I had disabled hot corners, but occasionally, if I select and >>> swipe in the location bar of my browser, it activates hot corner. When I >>> went back to check the setting which was in "multitasking" before, that >>> tab has gone. Where is the hot corner setting now? >> >> Hi.. I've taken a poke at this via an Internet search. I originally >> missed you declaring GNOME in the subject line. That brings up this: >> >> gsettings set org.gnome.desktop.interface enable-hot-corners false >> >> That's a tweak on where they're telling the user on this webpage to >> enter "true": >> >> https://askubuntu.com/questions/1259451/how-to-enable-to-hot-corners-function-on-lubuntu20-04 >> >> Maybe once you set that, gsettings can be used to adjust it from >> there? I tried that command on my setup. It didn't complain since I do >> have one or more GNOME packages installed. Mine's currently set to >> "true" with no obvious GUI to set up what actions go with the 4 >> corners. >> >> Because you mentioned this was affecting your browser usage, maybe >> this explains what happened there: >> >> https://haydenjames.io/ubuntu-22-04-install-gnome-extensions-manager-workaround/ >> >> It's saying that Firefox, for one, is no longer compatible in that >> operating system. >> >> With some more searching, I encountered gnome-shell-extensions and >> gnome-shell-extension-manager. Those may or may not help, but they do >> exist and are specifically mentioned with respect to toggling hot >> corners. >> >> Searching for those two and Debian as keywords keeps trying to point >> users to outside websites. I don't know why it would since it looks >> like the same packages are available through Debian's own apt package >> manager. >> >> WARNING: I was going to test drive the extension manager, but >> gnome-shell-extensions by itself wants to install 201 new packages at >> 125MB download, 488MB of additional space used. Maybe next time. >> >> If anyone gets curious about hot corners, apparently not all desktops >> offer them and/or they store hot corners access in varying settings >> locations. Best bet might be to specify the desktop environment in >> searches. >> >> "apt-get search" pulls up an applet for Budgie. Anything else with hot >> corners apparently has them included as one piece of an inclusive >> "goodies" type package. >> >> Me? I tried it, maybe when I was trapped using Mint's LiveDVD. The >> experience lasted about 90 seconds. My mouse usage is too erratic, >> moves around the screen too much so the otherwise helpful effect got >> old really quick. >> >> Cindy :) > That's interesting because when I entered this: > > gsettings get org.gnome.desktop.interface enable-hot-corners > > it said: > > false > > Which means I have disabled it, and the effect I saw must have been a > bug. But it is hard to recreate. It happens from time to time though, I > am using a trackball mouse so zooming to the top right can happen quite > easily. > I find it easy to recreate now. Just press and hold the left mouse button, then whizz up to the top left corner, and it goes into whatever mode, even though hot corners are disabled.
Re: Where has the Gnome hot corner setting gone?
Cindy Sue Causey writes: > On 3/29/23, Richmond wrote: >> I thought I had disabled hot corners, but occasionally, if I select and >> swipe in the location bar of my browser, it activates hot corner. When I >> went back to check the setting which was in "multitasking" before, that >> tab has gone. Where is the hot corner setting now? > > > Hi.. I've taken a poke at this via an Internet search. I originally > missed you declaring GNOME in the subject line. That brings up this: > > gsettings set org.gnome.desktop.interface enable-hot-corners false > > That's a tweak on where they're telling the user on this webpage to > enter "true": > > https://askubuntu.com/questions/1259451/how-to-enable-to-hot-corners-function-on-lubuntu20-04 > > Maybe once you set that, gsettings can be used to adjust it from > there? I tried that command on my setup. It didn't complain since I do > have one or more GNOME packages installed. Mine's currently set to > "true" with no obvious GUI to set up what actions go with the 4 > corners. > > Because you mentioned this was affecting your browser usage, maybe > this explains what happened there: > > https://haydenjames.io/ubuntu-22-04-install-gnome-extensions-manager-workaround/ > > It's saying that Firefox, for one, is no longer compatible in that > operating system. > > With some more searching, I encountered gnome-shell-extensions and > gnome-shell-extension-manager. Those may or may not help, but they do > exist and are specifically mentioned with respect to toggling hot > corners. > > Searching for those two and Debian as keywords keeps trying to point > users to outside websites. I don't know why it would since it looks > like the same packages are available through Debian's own apt package > manager. > > WARNING: I was going to test drive the extension manager, but > gnome-shell-extensions by itself wants to install 201 new packages at > 125MB download, 488MB of additional space used. Maybe next time. > > If anyone gets curious about hot corners, apparently not all desktops > offer them and/or they store hot corners access in varying settings > locations. Best bet might be to specify the desktop environment in > searches. > > "apt-get search" pulls up an applet for Budgie. Anything else with hot > corners apparently has them included as one piece of an inclusive > "goodies" type package. > > Me? I tried it, maybe when I was trapped using Mint's LiveDVD. The > experience lasted about 90 seconds. My mouse usage is too erratic, > moves around the screen too much so the otherwise helpful effect got > old really quick. > > Cindy :) That's interesting because when I entered this: gsettings get org.gnome.desktop.interface enable-hot-corners it said: false Which means I have disabled it, and the effect I saw must have been a bug. But it is hard to recreate. It happens from time to time though, I am using a trackball mouse so zooming to the top right can happen quite easily.
Where has the Gnome hot corner setting gone?
I thought I had disabled hot corners, but occasionally, if I select and swipe in the location bar of my browser, it activates hot corner. When I went back to check the setting which was in "multitasking" before, that tab has gone. Where is the hot corner setting now?
Re: Playing Card Symbols
debian-u...@howorth.org.uk writes: >> I tried this in rxvt(-unicode), xterm, and lxterm (which is apparently >> part of the xterm package -- never heard of it before!). > > It's lxterminal, not lxterm, and it's part of LXDE so I'm surprised if > it's bundled with xterm. > lxterm and lxterminal are two different things. lxterm, and uxterm, are wrappers for xterm.
Re: Which takes priority, ipv4, or ipv6?
Vincent Lefevre writes: > On 2023-03-27 12:48:13 +0100, Richmond wrote: >> I have configured an ipv6 tunnel. If I visit this site: >> >> http://ip6.me/ >> >> The "normal" test shows my ipv4 address, and the: >> >> http://ip6only.me/ >> >> shows the ipv6 address. >> >> However if I switch my DNS from opendns to the one provided by my ISP >> and then run the "normal" test it shows the ipv6. >> >> The note says: >> >> (preference depends on your OS/client) >> >> So how is the preference determined? It seems to be determined by the >> DNS, but why or how do I tell for example with host -v? > > It appears to be random (based on past tests). > > But one can set the preference via "/etc/gai.conf". In particular: > > #For sites which prefer IPv4 connections change the last line to > # > #precedence :::0:0/96 100 > > I had to uncomment this line in the past when I had IPv6 issues. I uncommented the table and changed the 2002 to 2001 and that seems to have prioritized ipv6 but it's a bit of guesswork for me: precedence ::1/128 50 precedence ::/0 40 precedence 2001::/16 30 precedence ::/96 20 precedence :::0:0/96 10 Now if I go to google.com for example, ipvfoo (extension for chromium) tells me I am using ipv6.
Re: Which takes priority, ipv4, or ipv6?
Jeremy Ardley writes: > On 27/3/23 19:48, Richmond wrote: >> >> So how is the preference determined? It seems to be determined by the >> DNS, but why or how do I tell for example with host -v? > > When you as a DNS about a hostname it can return an A record and/or an > record. > > The A record is IPv4 and the record is IPv6 > > When you get both it is then up to your application to choose IPv4 or > IPv6 for the connection. > > If either fails the application will then try the other before finally > failing. > > You need a DNS that can return A and records, and an application > that can use either. > > I have noticed in my debian LAN that utilities such as ssh prefer IPv6 > and if that is not possible will use IPv4 Both DNS return records. I am not sure why this choice of DNS should make a difference. host -v ip6.me |grep IN 9306IN 2001:4838:0:1b::201 host -v ip6.me 8.8.8.8|grep IN 10800 IN 2001:4838:0:1b::201 host -v ip6.me 79.79.79.78|grep IN 300 IN 2001:4838:0:1b::201
Which takes priority, ipv4, or ipv6?
I have configured an ipv6 tunnel. If I visit this site: http://ip6.me/ The "normal" test shows my ipv4 address, and the: http://ip6only.me/ shows the ipv6 address. However if I switch my DNS from opendns to the one provided by my ISP and then run the "normal" test it shows the ipv6. The note says: (preference depends on your OS/client) So how is the preference determined? It seems to be determined by the DNS, but why or how do I tell for example with host -v?
Re: should CLI have a nice UI today?
cor...@free.fr writes: > Hello, > > Should CLI (command line interface) have a nice UI library? > today web dev has so many libraries that make web pages with > rich/colorful interactive views. > But CLI is still in dull mode. That should be improved in these days. > for example, run "df -h" we got the statistics with plain text. But > web statistics for cloud storage (GCP,AWS etc) are chart like, which > give people more intuitive feeling. > > Thanks > Corey H. I was very impressed with the signal meter in nmtui which I had not used before until yesterday. It has those chunky graphic characters like Teletext used to be. This sort of thing (I can't do it justice): 🬵🬻
Re: Windows Subsystem for Linux Debian
didier gaumet writes: > Le 07/03/2023 à 21:17, Richmond a écrit : >> I have Debian 11 on Windows Subsystem for Linux, but it is using a >> version 4 kernel. (I have established that it is debian 11 by looking in >> /etc/issue, and /etc/apt/sources). The Kernel says it is Microsoft: >> 4.4.0-19041-Microsoft #2311-Microsoft >> So I guess this is not really a kernel? as the version is a Windows >> version number, although I am on Windows 19045.2604. >> Who supports Debian 11 for WSL? It is in the Microsoft Store. Why is >> it >> on version 4 kernel? > > Hello, > > Warning: I do not use WSL1/WSL2 > but I would say that your Debian was installed as a WSL1 distro > (typical 4.4 pseudo linux kernel (translator, sort of)) and you could > migrate it to WSL2 (5.15 kernel presently, in a Hyper-V VM). > https://learn.microsoft.com/en-us/windows/wsl/compare-versions > https://superuser.com/questions/1628023/check-wsl-version-1-or-2-inside-the-linux-installation > https://learn.microsoft.com/en-us/windows/wsl/kernel-release-notes It seems I had not upgraded to WSL2. I thought I had. Now I have done that I am on the right kernel. 5.15.90.1-microsoft-standard-WSL2 #1
Windows Subsystem for Linux Debian
I have Debian 11 on Windows Subsystem for Linux, but it is using a version 4 kernel. (I have established that it is debian 11 by looking in /etc/issue, and /etc/apt/sources). The Kernel says it is Microsoft: 4.4.0-19041-Microsoft #2311-Microsoft So I guess this is not really a kernel? as the version is a Windows version number, although I am on Windows 19045.2604. Who supports Debian 11 for WSL? It is in the Microsoft Store. Why is it on version 4 kernel?
Re: Need help to install gnucobol
Amine Derk writes: > Hello, > > I'm trying to use debian for the first time. and I'm not able to > install Gnucobol. > > aderkaoua@LAPTOP-6B841S0M:~$ sudo apt-get install gnucobol > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > E: Unable to locate package gnucobol > > please advise? > > Amine. > Cobol Developer > 571 234 9827 I compiled gnu-cobol and have it working. I obtained: gnucobol-3.1.2.tar.xz tar axvf gnucobol-3.1.2.tar.xz cd gnucobol-3.1.2 ./configure make Probably there were errors which I fixed by installing things. See how far you get.
Re: kernel errors
Max Nikulin writes: > On 05/02/2023 03:12, Richmond wrote: >> The errors about sr0 come before the stuff about resume. > > Does the following command generate similar errors (taken from initrd > scripts, UUID is intentionally not from the set of existing > partitions)? > > blkid -l -t UUID=---- -o device > > I would try it at first in normally running system. Perhaps some > caches may be involved preventing query to the optical drive. I have > no bright idea how to cause drop to initrd shell to try the command > there, perhaps root=... kernel command line parameter may be removed > or changed to non-existing device from grub prompt. > > I am unsure which particular command from initrd scans devices, my > guess may be wrong. It didn't produce any output.
Re: kernel errors
Richmond wrote: > David Wright writes: > >> On Sat 04 Feb 2023 at 17:38:25 (+0000), Richmond wrote: >>> David Wright writes: >>>> On Sat 04 Feb 2023 at 12:37:27 (+), Richmond wrote: >>>>> Max Nikulin writes: >>>>>> On 03/02/2023 01:47, Richmond wrote: >>>>>>> It might be a good way for someone to reproduce the error on some >>>>>>> other >>>>>>> machine. I have no problems with the CD/DVD writer and have used it a >>>>>>> few times recently. >>>>>> Do you see the same errors if kernel command line is edited from grub >>>>>> to pass non-existing UUID specified in the resume=UUID=... argument? >>>>>> It might be a quick way to reproduce the issue. >>>>> I looked in grub but couldn't see any resume parameter. I think the way >>>>> things work has changed, and this is hidden away somewhere. >>>> There are hundreds and hundreds of kernel command-line parameters, >>>> so I'm not sure how you expect to see any evidence of each one in >>>> Grub's configuration. >>> We were talking about editing from grub during boot time, not looking in >>> grubs configuration. >> You wrote: "I looked in grub". >> >> My interpretation: "I looked in grub.cfg by typing 'E' on one or more >> of the entries in Grub's blue screen when booting the computer". >> > I see. Max (and you) mean add the resume parameter, not edit an existing one. > I > was looking for an existing one. I will try this. > It worked, I recreated the error, including the stuff about sr0. The errors about sr0 come before the stuff about resume.
Re: kernel errors
David Wright writes: > On Sat 04 Feb 2023 at 17:38:25 (+), Richmond wrote: >> David Wright writes: >> > On Sat 04 Feb 2023 at 12:37:27 (+), Richmond wrote: >> >> Max Nikulin writes: >> >> > On 03/02/2023 01:47, Richmond wrote: >> >> >> It might be a good way for someone to reproduce the error on some >> >> >> other >> >> >> machine. I have no problems with the CD/DVD writer and have used it a >> >> >> few times recently. >> >> > >> >> > Do you see the same errors if kernel command line is edited from grub >> >> > to pass non-existing UUID specified in the resume=UUID=... argument? >> >> > It might be a quick way to reproduce the issue. >> >> >> >> I looked in grub but couldn't see any resume parameter. I think the way >> >> things work has changed, and this is hidden away somewhere. >> > >> > There are hundreds and hundreds of kernel command-line parameters, >> > so I'm not sure how you expect to see any evidence of each one in >> > Grub's configuration. >> >> We were talking about editing from grub during boot time, not looking in >> grubs configuration. > > You wrote: "I looked in grub". > > My interpretation: "I looked in grub.cfg by typing 'E' on one or more > of the entries in Grub's blue screen when booting the computer". > I see. Max (and you) mean add the resume parameter, not edit an existing one. I was looking for an existing one. I will try this.
Re: kernel errors
David Wright writes: > On Sat 04 Feb 2023 at 12:37:27 (+), Richmond wrote: >> Max Nikulin writes: >> > On 03/02/2023 01:47, Richmond wrote: >> >> It might be a good way for someone to reproduce the error on some >> >> other >> >> machine. I have no problems with the CD/DVD writer and have used it a >> >> few times recently. >> > >> > Do you see the same errors if kernel command line is edited from grub >> > to pass non-existing UUID specified in the resume=UUID=... argument? >> > It might be a quick way to reproduce the issue. >> >> I looked in grub but couldn't see any resume parameter. I think the way >> things work has changed, and this is hidden away somewhere. > > There are hundreds and hundreds of kernel command-line parameters, > so I'm not sure how you expect to see any evidence of each one in > Grub's configuration. We were talking about editing from grub during boot time, not looking in grubs configuration.
Re: kernel errors
Max Nikulin writes: > On 03/02/2023 01:47, Richmond wrote: >> It might be a good way for someone to reproduce the error on some >> other >> machine. I have no problems with the CD/DVD writer and have used it a >> few times recently. > > Do you see the same errors if kernel command line is edited from grub > to pass non-existing UUID specified in the resume=UUID=... argument? > It might be a quick way to reproduce the issue. I looked in grub but couldn't see any resume parameter. I think the way things work has changed, and this is hidden away somewhere. > > Is it realistic that usually optical drives are skipped during UUID > searches, but specific driver exposes a wrong property, so the device > is considered as a regular disk drive? I don't know.
Re: kernel errors
"Thomas Schmitt" writes: > Hi, > > Richmond wrote: >> /tmp/initrd21/scripts/local:[ "${quiet?}" != "y" ] && log_begin_msg >> "Running /scripts/local-block" >> [...] >> local_block() >> { >>[ "${quiet?}" != "y" ] && log_begin_msg "Running /scripts/local-block" >>run_scripts /scripts/local-block "$@" >> [...] >> Then later this, which would explain the delays: (The video shows >> "waiting for suspend/resume device") >> [...] >> log_begin_msg "Waiting for ${name}" >> [...] >> while true; do >> sleep 1 >> time_elapsed="$(time_elapsed)" >> >> local_block "${dev_id}" > > I remember to have seen this code under > https://sources.debian.org/src/initramfs-tools/unstable/ > when i looked for occurences of "local-block". (This URL is currently not > working for me.) > I did not find any built-in runs of programs like blkid or lsblk. Thus i > concluded that such runs would be in files of /scripts/local-block or other > local customization of the initrd. > > We are most probably at the right spot of initramfs-tools. > Maybe the script which runs blkid or alike has vanished during the recent > reconstruction of the initrd which fixed the problems ? I didn't need to reconstruct initrd to cause the problems. As far as I remember all I did was destroy the swap space, having commented-it-out of fstab. So I imagin that the scripts are the same. But I could test that as suggested by Max Nikulin by altering the resume parameter from grub before booting. > > Does fgrep find anything about "blkid" in /tmp/initrd21 ? I did it like this: find /tmp/initrd21/ -print|xargs grep -i blkid|less /tmp/initrd21/usr/lib/udev/rules.d/60-persistent-storage.rules: IMPORT{builtin}="blkid --offset=$env{ID_CDROM_MEDIA_SESSION_LAST_OFFSET}" /tmp/initrd21/usr/lib/udev/rules.d/60-persistent-storage.rules: IMPORT{builtin}="blkid --noraid" /tmp/initrd21/usr/lib/udev/rules.d/60-persistent-storage.rules:KERNEL!="sr*", IMPORT{builtin}="blkid" /tmp/initrd21/usr/lib/udev/rules.d/60-persistent-storage-dm.rules:IMPORT{builtin}="blkid" /tmp/initrd21/scripts/functions:# blkid has a more complete list of file systems, /tmp/initrd21/scripts/functions:FSTYPE=$(blkid -o value -s TYPE "${FS}") || return /tmp/initrd21/scripts/functions:DEV="$(blkid -l -t "$DEV" -o device)" || return 1 /tmp/initrd21/scripts/local:# device in /dev and isn't resolvable by blkid (e.g. mtd0)
Re: kernel errors
"Thomas Schmitt" writes: > Hi, > > Richmond wrote: >> No local block. :-? > > Maybe you can find our from where the message comes: > > grep -r 'Running.*scripts.*local-block' /tmp/initrd21 > > grep -r 'Running.*scripts.*local-block' /tmp/initrd21 /tmp/initrd21/scripts/local:[ "${quiet?}" != "y" ] && log_begin_msg "Running /scripts/local-block" This contains: === local_block() { [ "${quiet?}" != "y" ] && log_begin_msg "Running /scripts/local-block" run_scripts /scripts/local-block "$@" [ "$quiet" != "y" ] && log_end_msg } === Then later this, which would explain the delays: (The video shows "waiting for suspend/resume device") === # If the root device hasn't shown up yet, give it a little while # to allow for asynchronous device discovery (e.g. USB). We # also need to keep invoking the local-block scripts in case # there are devices stacked on top of those. if ! real_dev=$(resolve_device "${dev_id}") || ! get_fstype "${real_dev}" >/dev/null; then log_begin_msg "Waiting for ${name}" # Timeout is max(30, rootdelay) seconds (approximately) slumber=30 if [ "${ROOTDELAY:-0}" -gt $slumber ]; then slumber=$ROOTDELAY fi while true; do sleep 1 time_elapsed="$(time_elapsed)" local_block "${dev_id}" # If mdadm's local-block script counts the # number of times it is run, make sure to # run it the expected number of times. while true; do if [ -f /run/count.mdadm.initrd ]; then count="$(cat /run/count.mdadm.initrd)" elif [ -n "${count}" ]; then # mdadm script deleted it; put it back count=$((count + 1)) echo "${count}" >/run/count.mdadm.initrd else :
Re: kernel errors
David Wright writes: > On Thu 02 Feb 2023 at 21:58:54 (+), Richmond wrote: >> "Thomas Schmitt" writes: >> > >> > (If not there, then in the /scripts/local-block directory of the initrd ?) >> >> I don't know how I would look in that. Is it in RAM at boot time? > >Choose your kernel ↓↓Pick any name > > $ unmkinitramfs /boot/initrd.img-5.10.0-21-amd64 /tmp/initrd21 > cpio: etc/console-setup/null: Cannot mknod: Operation not permitted > $ ls -GlgR /tmp/initrd21/main/scripts/ > /tmp/initrd21/main/scripts/: > total 48 > -rw-r--r-- 1 11152 Jan 14 2021 functions > drwxr-xr-x 2 4096 Feb 2 18:45 init-bottom > drwxr-xr-x 2 4096 Feb 2 18:45 init-top > -rw-r--r-- 1 5303 Jan 14 2021 local > drwxr-xr-x 2 4096 Feb 2 18:45 local-block > drwxr-xr-x 2 4096 Feb 2 18:45 local-bottom > drwxr-xr-x 2 4096 Feb 2 18:45 local-premount > drwxr-xr-x 2 4096 Feb 2 18:45 local-top > -rw-r--r-- 1 3093 Jan 14 2021 nfs > > /tmp/initrd21/main/scripts/init-bottom: > total 8 > -rw-r--r-- 1 77 Jan 23 21:46 ORDER > -rwxr-xr-x 1 611 Aug 7 08:25 udev > > /tmp/initrd21/main/scripts/init-top: > total 20 > -rw-r--r-- 1 314 Jan 23 21:46 ORDER > -rwxr-xr-x 1 384 Jan 14 2021 all_generic_ide > -rwxr-xr-x 1 296 Jan 14 2021 blacklist > -rwxr-xr-x 1 167 Jan 14 2021 keymap > -rwxr-xr-x 1 568 Aug 7 08:25 udev > > /tmp/initrd21/main/scripts/local-block: > total 8 > -rw-r--r-- 1 82 Jan 23 21:46 ORDER > -rwxr-xr-x 1 246 Feb 1 2022 cryptroot > > /tmp/initrd21/main/scripts/local-bottom: > total 20 > -rw-r--r-- 1 336 Jan 23 21:46 ORDER > -rwxr-xr-x 1 253 Feb 1 2022 cryptgnupg-sc > -rwxr-xr-x 1 449 Feb 1 2022 cryptopensc > -rwxr-xr-x 1 307 Feb 1 2022 cryptroot > -rwxr-xr-x 1 345 Nov 2 16:46 ntfs_3g > > /tmp/initrd21/main/scripts/local-premount: > total 12 > -rw-r--r-- 1 165 Jan 23 21:46 ORDER > -rwxr-xr-x 1 226 Nov 2 16:46 ntfs_3g > -rwxr-xr-x 1 863 Jan 14 2021 resume > > /tmp/initrd21/main/scripts/local-top: > total 20 > -rw-r--r-- 1 162 Jan 23 21:46 ORDER > -rwxr-xr-x 1 757 Feb 1 2022 cryptopensc > -rwxr-xr-x 1 8630 Feb 1 2022 cryptroot > $ > > This is a desktop with random-key swap, so no resume. > There are encrypted partitions present. YMMV. > > Cheers, > David. ~$ unmkinitramfs /boot/initrd.img-5.10.0-21-amd64 /tmp/initrd21 ~$ find /tmp/initrd21/ -print|grep "local-block" ~$ find /tmp/initrd21/ -print|grep "local" /tmp/initrd21/usr/local /tmp/initrd21/usr/local/share /tmp/initrd21/usr/local/share/fonts /tmp/initrd21/usr/local/share/fonts/.uuid /tmp/initrd21/scripts/local-bottom /tmp/initrd21/scripts/local-bottom/ntfs_3g /tmp/initrd21/scripts/local-bottom/ORDER /tmp/initrd21/scripts/local /tmp/initrd21/scripts/local-premount /tmp/initrd21/scripts/local-premount/ntfs_3g /tmp/initrd21/scripts/local-premount/ORDER /tmp/initrd21/scripts/local-premount/resume No local block. :-? find /tmp/initrd21/ -print|grep local|grep block No output here.
Re: kernel errors
Michel Verdier writes: > Le 2 février 2023 Richmond a écrit : > >> There is no such file. Earlier I ran this: >> >> find / -print|grep "scripts/local-block" >> >> and it found nothing, which led me to believe it is some temporary file... >>> >>> (If not there, then in the /scripts/local-block directory of the initrd ?) > > its part of initramfs-tools to build initrd when you use cryptsetup, > mdadm, etc > > $ locate local-block > /usr/share/initramfs-tools/scripts/local-block > /usr/share/initramfs-tools/scripts/local-block/cryptroot > > $ apt-file search /usr/share/initramfs-tools/scripts/local-block > cryptsetup-initramfs: /usr/share/initramfs-tools/scripts/local-block/cryptroot > lvm2: /usr/share/initramfs-tools/scripts/local-block/lvm2 > mdadm: /usr/share/initramfs-tools/scripts/local-block/mdadm > osk-sdl: /usr/share/initramfs-tools/scripts/local-block/osk-sdl sudo locate local-block produced no output. sudo apt-file search /usr/share/initramfs-tools/scripts/local-block cryptsetup-initramfs: /usr/share/initramfs-tools/scripts/local-block/cryptroot lvm2: /usr/share/initramfs-tools/scripts/local-block/lvm2 mdadm: /usr/share/initramfs-tools/scripts/local-block/mdadm osk-sdl: /usr/share/initramfs-tools/scripts/local-block/osk-sdl I don't have an encrypted file system. sudo aptitude show cryptsetup-initramfs|grep State State: not installed sudo aptitude show lvm2|grep State State: not installed sudo aptitude show mdadm|grep State State: not installed sudo aptitude show osk-sdl|grep State State: not installed
Re: kernel errors
"Thomas Schmitt" writes: > Indeed. But why should only the kernel be brain damaged ? > > (I expect some generic UUID searcher for block devices. Probably the sr > devices are near the end of its iteration. So one would not see any > protest in the log if the UUID is found on the device which is tried > earlier.) It crossed my mind that someone could conceivably be using the Universal Disk Format on a DVD RW. > Still missing is the code which wants to inspect sr. I tried to learn > about /scripts/local-block in initramfs-tools. Regrettably it seems to > be about a local customization of the initrd, which is not done by > initramfs-tools but by its customers. > A search for "local-block" in Debian's source collection by > https://codesearch.debian.net/search?q=local-block > did not yield good candidates. > > Do you see something related to resume in the output of > ls /usr/share/initramfs-tools/scripts/local-block There is no such file. Earlier I ran this: find / -print|grep "scripts/local-block" and it found nothing, which led me to believe it is some temporary file... > > (If not there, then in the /scripts/local-block directory of the initrd ?) I don't know how I would look in that. Is it in RAM at boot time? In the log which appears on the screen it says: Begin: Waiting for suspend/resume device ... Begin: Running /scripts/local-block ... done. random: crng init done /scripts/local-block ... done. Then this last line was repeated 17 times and much time was spent. Then it gave up.
Re: kernel errors - SOLVED
piorunz writes: > On 02/02/2023 14:05, Richmond wrote: >> After I did this, the errors went away. >> I don't know why the errors reference sr0, it's a mystery. > > They will most likely come back, this error is related to optical > drive, nothing to do with swap space. Perhaps the system was looking for resume space on sr0? It seems a strange thing to do. But also it is quite a coincidence if the errors occur when the resume space is messed up, and they go away when it is fixed. That has happened twice. It might be a good way for someone to reproduce the error on some other machine. I have no problems with the CD/DVD writer and have used it a few times recently.
Re: kernel errors - SOLVED
Richmond writes: > It may be a coincidence but yesterday I installed some > libguestfs-tools. Now I see errors when booting, which also appear in > /var/log/messages: > > kernel: [9.506798] sr 3:0:0:0: [sr0] tag#12 FAILED Result: > hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=2s > kernel: [9.507009] sr 3:0:0:0: [sr0] tag#12 Sense Key : Not Ready > [current] > kernel: [9.507146] sr 3:0:0:0: [sr0] tag#12 Add. Sense: Medium not > present - tray closed > kernel: [9.507304] sr 3:0:0:0: [sr0] tag#12 CDB: Read(10) 28 00 00 07 ff > fc 00 00 02 00 > kernel: [9.507731] sr 3:0:0:0: [sr0] tag#31 unaligned transfer > kernel: [9.513520] sr 3:0:0:0: [sr0] tag#13 unaligned transfer > kernel: [9.529995] sr 3:0:0:0: [sr0] tag#14 unaligned transfer These errors started occurring again. This time I knew what I had done, I commented out a line in fstab referencing a swap space, because the system had two swap spaces defined and I wanted to use one for something else. What I overlooked was that this swap space was also the resume space. During the boot there were other messages which did not appear in the journal so I filmed them with a smart phone: Running /scripts/local-block.. These occurred over and over, but allowed me to find this site: https://tipstricks.itmatrix.eu/solving-the-running-scripts-local-block-loop-while-booting-in-linux/ Which explained the problem and how to fix it. I had already edited: /etc/initramfs-tools/conf.d/resume To use the other swap space. But this did not help because I missed this crucial step: sudo update-initramfs -u After I did this, the errors went away. I don't know why the errors reference sr0, it's a mystery.
Re: kernel errors
Richmond writes: > "Thomas Schmitt" writes: > >> Hi, >> >> i wrote: >>> > If you have some blank optical medium, then try whether the emitter of >>> > the read attempt can be discouraged if the drive is perceived as offering >>> > just one block of 2048 bytes. >> >> Richmond wrote: >>> I don't know how to do that. Do you mean make a DVD with 1 block of data? >> >> Just put in a blank CD-R, CD-RW, DVD-R, DVD+R, or unformatted blank DVD-RW. >> The size perception will change to >> VENDOR MODEL SIZE PHY-SEC LOG-SEC >> HL-DT-ST HL-DT-ST_DVDRAM_GH15F 204820482048 >> >> Pull it out again, and this state will persist until you put in a medium >> which is readable, or until you reboot. >> > > I put in a blank DVD+RW. > > lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* > VENDOR MODEL SIZE PHY-SEC LOG-SEC > HL-DT-ST HL-DT-ST_DVDRAM_GH15F 204820482048 > > It has stayed like this after I removed it. I tried this on the same PC, but OpenSUSE 15.2, kernel 5.3 and putting the blank disk in did not change the values, it still showed 512.
Re: kernel errors
"Thomas Schmitt" writes: > Hi, > > i wrote: >> > If you have some blank optical medium, then try whether the emitter of >> > the read attempt can be discouraged if the drive is perceived as offering >> > just one block of 2048 bytes. > > Richmond wrote: >> I don't know how to do that. Do you mean make a DVD with 1 block of data? > > Just put in a blank CD-R, CD-RW, DVD-R, DVD+R, or unformatted blank DVD-RW. > The size perception will change to > VENDOR MODEL SIZE PHY-SEC LOG-SEC > HL-DT-ST HL-DT-ST_DVDRAM_GH15F 204820482048 > > Pull it out again, and this state will persist until you put in a medium > which is readable, or until you reboot. > I put in a blank DVD+RW. lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* VENDOR MODEL SIZE PHY-SEC LOG-SEC HL-DT-ST HL-DT-ST_DVDRAM_GH15F 204820482048 It has stayed like this after I removed it.
Re: kernel errors
"Thomas Schmitt" writes: > I assume that you will see the same result there. lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* VENDOR MODEL SIZE PHY-SEC LOG-SEC HL-DT-ST HL-DT-ST_DVDRAM_GH15F 1073741312 512 512 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux > > If you have some blank optical medium, then try whether the emitter of > the read attempt can be discouraged if the drive is perceived as offering > just one block of 2048 bytes. I don't know how to do that. Do you mean make a DVD with 1 block of data? > There are many motivations to read the start of the device and fewer to > read its end. One reason to read the end is the GPT backup header, which > would sit 512 bytes before the end. > The main GPT header block is at byte 512 of the storage device. I am not using GPT on any systems. They all have ext4 root partitions.
Re: kernel errors
"Thomas Schmitt" writes: > > Are users of Debian 10 (actually of kernel 4.19) here who are willing to > run > lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* > directly after booting with empty drive tray ? lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* VENDOR MODELSIZE PHY-SEC LOG-SEC TSSTcorp TSSTcorp_DVD+_-RW_TS-L632H 1073741312 512 512 4.19.0-23-amd64 #1 SMP Debian 4.19.269-1 (2022-12-20) x86_64 GNU/Linux This is a laptop where I rarely use the CD/DVD. Note it is not the same computer as was getting errors before, that was debian 11.
Re: Ctrl-C ignored after pasting a long text in an X terminal emulator
Greg Wooledge wrote: > On Mon, Jan 23, 2023 at 01:51:08PM +0000, Richmond wrote: >> I didn't test it for the reason I stated. I think it would be better for >> OP to test it as he won't do any more damage than he has already done. > Here's how you can reproduce the problem without having to worry > about execution of the pasted text as commands: > > 1) Import some text into the paste buffer (xclip -i < somefile). > 2) Open an xterm. > 3) From the xterm, run "xeyes" or any other X client program, no ampersand. > 4) Paste text into the xterm. > 5) Try Ctrl keys. Observe that none of them work. > 6) Close the xterm using the window manager controls. > >> I have come across occasions where ctrl-c doesn't work but ctrl-z does >> however. > Sure, in a terminal that's in a normal state, that happens all the time, > if something is ignoring SIGINT. The entire point of this thread is > that when the input buffer of the pty behind the xterm fills up, none > of the signals that are generated by keyboard input in a terminal work > any longer. The only resort is to close the xterm. > No that wasn't the entire point of the thread. The OP didn't know the cause, it was presumed by David Wright that it was caused by the buffer filling up. But it could have been caused by some spurious character in the file, e.g. ctrl-s.
Re: kernel errors
David Wright writes: > On Mon 23 Jan 2023 at 13:34:50 (+), Richmond wrote: >> It may be a coincidence but yesterday I installed some >> libguestfs-tools. Now I see errors when booting, which also appear in >> /var/log/messages: >> >> kernel: [ 9.506798] sr 3:0:0:0: [sr0] tag#12 FAILED Result: >> hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=2s >> kernel: [9.507009] sr 3:0:0:0: [sr0] tag#12 Sense Key : Not Ready >> [current] >> kernel: [9.507146] sr 3:0:0:0: [sr0] tag#12 Add. Sense: Medium not >> present - tray closed >> kernel: [9.507304] sr 3:0:0:0: [sr0] tag#12 CDB: Read(10) 28 00 00 07 ff >> fc 00 00 02 00 >> kernel: [9.507731] sr 3:0:0:0: [sr0] tag#31 unaligned transfer >> kernel: [9.513520] sr 3:0:0:0: [sr0] tag#13 unaligned transfer >> kernel: [9.529995] sr 3:0:0:0: [sr0] tag#14 unaligned transfer >> kernel: [ 9.602797] sr 3:0:0:0: [sr0] tag#3 FAILED Result: >> hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s >> kernel: [9.608514] sr 3:0:0:0: [sr0] tag#3 Sense Key : Not Ready >> [current] >> kernel: [9.614297] sr 3:0:0:0: [sr0] tag#3 Add. Sense: Medium not >> present - tray closed >> kernel: [9.620170] sr 3:0:0:0: [sr0] tag#3 CDB: Read(10) 28 00 00 00 00 >> 00 00 00 02 00 >> kernel: [9.631993] sr 3:0:0:0: [sr0] tag#4 unaligned transfer >> kernel: [9.650464] sr 3:0:0:0: [sr0] tag#5 unaligned transfer >> >> I removed the toos, and also disabled udiskd or udisk2d: >> >> systemctl stop udisks2.service >> systemctl disable udisks2.service >> >> But the errors are still occuring. How can I stop them? >> >> Installing the tools did some strange things like regenerating the grub >> menu. > > When you've removed the packages, keep a copy of your grub.cfg for > comparison and then reconfigure grub (grub-mkconfig). See if the > messages go away. The messages didn't go away. And I tried to reconfigure swap and resume, and got more errors, so I reinstalled the system, formatting the root partition. > > Did you have something strange in your optical drive when you > installed these tools, in anticipation of using the latter on > the former? No, but I did have a usb stick plugged in, and it had ChromeOS Flex on it. In fact that appeared on the grub menu yesterday and I tried to boot ChromeOS Flex from it. That was no doubt a big mistake.
Re: kernel errors
Sven Joachim writes: > On 2023-01-23 16:13 +0000, Richmond wrote: > >> I put a dvd in and mounted it. Then rebooted. I saw these messages: >> >> [ 756.539018] pktcdvd: pktcdvd0: writer mapped to sr0 >> [3.744658] sr 3:0:0:0: [sr0] scsi3-mmc drive: 62x/62x writer dvd-ram >> cd/rw xa/form2 cdda tray >> [ 19.585098] pktcdvd: pktcdvd0: writer mapped to sr0 >> >> Then removed the DVD and rebooted, back to these: >> >> [4.006759] sr 3:0:0:0: [sr0] scsi3-mmc drive: 40x/40x writer dvd-ram >> cd/rw xa/form2 cdda tray >> [9.434955] sr 3:0:0:0: [sr0] tag#1 FAILED Result: hostbyte=DID_OK >> driverbyte=DRIVER_SENSE cmd_age=2s >> [9.439990] sr 3:0:0:0: [sr0] tag#1 Sense Key : Not Ready [current] >> [9.444968] sr 3:0:0:0: [sr0] tag#1 Add. Sense: Medium not present - >> tray closed >> [9.449918] sr 3:0:0:0: [sr0] tag#1 CDB: Read(10) 28 00 00 07 ff fc 00 >> 00 02 00 >> [9.459897] sr 3:0:0:0: [sr0] tag#18 unaligned transfer >> >> I am starting to consider re-installing, although everything is working, >> I don't like the look of it. Perhaps I should just re-install the >> kernel? > > This would most likely not help. Instead you should try to figure out > what process is trying to read from your empty drive, and why. > Consulting journalctl might help with that. > > Cheers, >Sven re-installing kernel didn't work. I looked in journalctl and saw this: kernel: PM: Image not found (code -22) It's looking for a resume from hibernate maybe. So then it became apparent that the kernel parameter to resume is a disk by id which looks different from the ones in /etc/fstab. I am not sure how that came about.
Re: kernel errors
"Thomas Schmitt" writes: > Hi, > > Richmond wrote: >> kernel: [9.506798] sr 3:0:0:0: [sr0] tag#12 FAILED Result: >> hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=2s >> kernel: [9.507009] sr 3:0:0:0: [sr0] tag#12 Sense Key : Not Ready >> [current] >> kernel: [9.507146] sr 3:0:0:0: [sr0] tag#12 Add. Sense: Medium not >> present - tray closed >> kernel: [9.507304] sr 3:0:0:0: [sr0] tag#12 CDB: Read(10) 28 00 00 07 ff >> fc 00 00 02 00 > > Your optical drive gets asked for 2 blocks iand answers that there is no > medium recognized in the tray. The request was to read from block 0x07fffc > = 524284 = 1023.9921875 MiB = 1 GiB - 4 KiB. > This is not a usual medium capcity. So i wonder from where the caller had > that block address. > > >> kernel: [9.507731] sr 3:0:0:0: [sr0] tag#31 unaligned transfer > > I wonder what might have caused this. But this line brings me to > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948358 > where pior...@gmail.com tried to get this processed as bug of udev. > No solution was found. > > >> kernel: [9.602797] sr 3:0:0:0: [sr0] tag#3 FAILED Result: >> hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s >> kernel: [9.608514] sr 3:0:0:0: [sr0] tag#3 Sense Key : Not Ready >> [current] >> kernel: [9.614297] sr 3:0:0:0: [sr0] tag#3 Add. Sense: Medium not >> present - tray closed >> kernel: [9.620170] sr 3:0:0:0: [sr0] tag#3 CDB: Read(10) 28 00 00 00 00 >> 00 00 00 02 00 > > This read attempt wanted to get 2 blocks from block address 0. > More plausible as a wild guess, than 1 GiB - 4 KiB. > > > What happens if you give the drive a readable DVD ? > Maybe the software which issues the READ commands shows up with some more > enlightening complaint. > > > Have a nice day :) > > Thomas I put a dvd in and mounted it. Then rebooted. I saw these messages: [ 756.539018] pktcdvd: pktcdvd0: writer mapped to sr0 [3.744658] sr 3:0:0:0: [sr0] scsi3-mmc drive: 62x/62x writer dvd-ram cd/rw xa/form2 cdda tray [ 19.585098] pktcdvd: pktcdvd0: writer mapped to sr0 Then removed the DVD and rebooted, back to these: [4.006759] sr 3:0:0:0: [sr0] scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray [9.434955] sr 3:0:0:0: [sr0] tag#1 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=2s [9.439990] sr 3:0:0:0: [sr0] tag#1 Sense Key : Not Ready [current] [9.444968] sr 3:0:0:0: [sr0] tag#1 Add. Sense: Medium not present - tray closed [9.449918] sr 3:0:0:0: [sr0] tag#1 CDB: Read(10) 28 00 00 07 ff fc 00 00 02 00 [9.459897] sr 3:0:0:0: [sr0] tag#18 unaligned transfer I am starting to consider re-installing, although everything is working, I don't like the look of it. Perhaps I should just re-install the kernel?
Re: Ctrl-C ignored after pasting a long text in an X terminal emulator
Greg Wooledge writes: > It doesn't work, presumably for the same reason that Ctrl-C doesn't work. > The xterm's pty's input buffer is full, and it simply ignores all keyboard > input from that point forward. > > (Are people not actually *testing* these things before proposing them?) I didn't test it for the reason I stated. I think it would be better for OP to test it as he won't do any more damage than he has already done. I have come across occasions where ctrl-c doesn't work but ctrl-z does however.
kernel errors
It may be a coincidence but yesterday I installed some libguestfs-tools. Now I see errors when booting, which also appear in /var/log/messages: kernel: [9.506798] sr 3:0:0:0: [sr0] tag#12 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=2s kernel: [9.507009] sr 3:0:0:0: [sr0] tag#12 Sense Key : Not Ready [current] kernel: [9.507146] sr 3:0:0:0: [sr0] tag#12 Add. Sense: Medium not present - tray closed kernel: [9.507304] sr 3:0:0:0: [sr0] tag#12 CDB: Read(10) 28 00 00 07 ff fc 00 00 02 00 kernel: [9.507731] sr 3:0:0:0: [sr0] tag#31 unaligned transfer kernel: [9.513520] sr 3:0:0:0: [sr0] tag#13 unaligned transfer kernel: [9.529995] sr 3:0:0:0: [sr0] tag#14 unaligned transfer kernel: [9.602797] sr 3:0:0:0: [sr0] tag#3 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s kernel: [9.608514] sr 3:0:0:0: [sr0] tag#3 Sense Key : Not Ready [current] kernel: [9.614297] sr 3:0:0:0: [sr0] tag#3 Add. Sense: Medium not present - tray closed kernel: [9.620170] sr 3:0:0:0: [sr0] tag#3 CDB: Read(10) 28 00 00 00 00 00 00 00 02 00 kernel: [9.631993] sr 3:0:0:0: [sr0] tag#4 unaligned transfer kernel: [9.650464] sr 3:0:0:0: [sr0] tag#5 unaligned transfer I removed the toos, and also disabled udiskd or udisk2d: systemctl stop udisks2.service systemctl disable udisks2.service But the errors are still occuring. How can I stop them? Installing the tools did some strange things like regenerating the grub menu.
Re: Ctrl-C ignored after pasting a long text in an X terminal emulator
Vincent Lefevre wrote: > The following issue is reproducible in several terminals, e.g. xterm > and GNOME Terminal, and several shells, e.g. bash and zsh. > > 1. From the shell in an X terminal emulator, run an X application > in foreground, e.g. emacs-gtk or xterm. > > 2. Paste a long text (e.g. the contents of /usr/share/doc/libc6/copyright > to choose an example every one has) in the terminal. Actually, only > the beginning of the text appears in the terminal. > > 3. Type Ctrl-C (one or several times) in the terminal. > But nothing happens. You could try pressing ctrl-z at this point to send the application into background. fg would bring it into foreground again. I am not going to send that document into a terminal. It has asterisks in it, what would happen if there were a line break and the next characters were rm * ?
Bitlbee user
Why is there a user called bitlbee on my system (nologin) when bitlbee is not installed? Also there is a user saned but sane is not installed.
Re: I've noticed a general protection fault
Richmond writes: > This occurs during shutdown. I've also noticed occasional delays "a stop > job is running". These occur when I am using a desktop > environment. Currently I am using gnome. > > kernel: traps: dconf worker[2353] general protection fault > ip:7fe4564ec4a6 sp:7fe448e31090 error:0 in > libc-2.31.so[7fe4564d3000+15a000] 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux These errors started on 5th January, but kernel 5.10.0-20 has been in since December 26th. Debian 11. Gnome.
I've noticed a general protection fault
This occurs during shutdown. I've also noticed occasional delays "a stop job is running". These occur when I am using a desktop environment. Currently I am using gnome. kernel: traps: dconf worker[2353] general protection fault ip:7fe4564ec4a6 sp:7fe448e31090 error:0 in libc-2.31.so[7fe4564d3000+15a000]