avro | Hello I need help | 10:37 |
---|---|---|
guiverc | avro, ask your Lubuntu support question, people will answer as they're able to | 10:38 |
avro | I have installed Lubuntu on an old laptop, it goes to sleep every minute or so | 10:38 |
avro | It's a fresh install | 10:39 |
guiverc | you haven't said what release | 10:39 |
avro | Lts | 10:39 |
avro | I am from phone now | 10:40 |
avro | What can I do to troubleshoot? | 10:41 |
guiverc | 20.04 LTS? | 10:41 |
avro | Yes | 10:41 |
lubot_ | [telegram] <emergencyrussia> Boot without acpi? (re @lubuntu_bot: (irc) <avro> What can I do to troubleshoot?) | 10:41 |
lubot_ | [telegram] <emergencyrussia> Show us dmesg? | 10:41 |
avro | How to do it? | 10:41 |
avro | Dmesg thing | 10:42 |
guiverc | I would firstly test the hardware; ie. run the system from live media to ensure the box is reliable... run memory test for a day or two for example.. does it shutdown/sleep if asked to run memtest... | 10:43 |
lubot_ | [telegram] <emergencyrussia> Run dmesg in shell, redirect output and upload on gist.github.com | 10:43 |
avro | I could install from the USB no problem | 10:44 |
avro | Screen saver shows up | 10:47 |
avro | And it goes to sleep | 10:48 |
guiverc | just a thought - but i had a thinkpad with fan issue.. if it got too hot it would turn off; screensaver tended to cause heat to grow, so disabling it would delay heat issue (fix was replacing fan) | 10:52 |
avro | During memtest its okay | 10:52 |
avro | No sleep | 10:52 |
avro | It's been 4 minutes now | 10:53 |
guiverc | switching from default flurry to blank screen may also help... memtest I suggested was for day or so - confirm box is reliable over time; not just a single cycle or two.. but 12-48 hours | 10:53 |
avro | It is reliable | 10:54 |
avro | It's my old laptop | 10:54 |
guiverc | as emergencyrussia made offer to help; I'd take that up.. I said what I'd likely do (I usually run 2-3 days just to prove box is reliable usually) | 10:55 |
avro | I tried to disable screen saver in power options, it didn't work | 10:56 |
guiverc | it's not in power; https://manual.lubuntu.me/lts/3/3.2/3.2.20/screensaver.html | 10:57 |
tomreyn | so the problem you seem to describe is that this laptop which runs lubuntu 20.04 LTS, boots up fine, then, only when you do not use it for a minute or two, the screensaver turns on. and, immediately after that, the system goes to sleep. what exactly do you mean by "sleep"? is it still powered up then? what are the power saving options set to? is this a new issue, when it worked fine before? if so, what changed in between? if not, how long have | 11:01 |
tomreyn | you had it happen? | 11:01 |
itu | dmesg | nc termbin.com 9999 # then paste the url | 11:03 |
avro | I tried to run dmesg | 11:12 |
avro | It says acpi found 3 idle states | 11:13 |
avro | Disabling screensaver did nothing | 11:13 |
avro | Ah my browser keeps resetting | 11:15 |
lubot_ | [telegram] <Hozyain_Radugi> It's avro | 11:17 |
lubot_ | [telegram] <Hozyain_Radugi> Here it's more reliable | 11:17 |
lubot_ | [telegram] <Hozyain_Radugi> https://matterbridge.lubuntu.me/89b9c474/file_3042.jpg | 11:17 |
lubot_ | [telegram] <Hozyain_Radugi> I can't connect the PC to internet | 11:17 |
lubot_ | [telegram] <Hozyain_Radugi> It goes to sleep sooner | 11:18 |
lubot_ | [telegram] <Hozyain_Radugi> It goes to sleep even when I use it | 11:20 |
lubot_ | [telegram] <Hozyain_Radugi> That is the problem | 11:20 |
lubot_ | [telegram] <Hozyain_Radugi> It is powered on and the led blinks | 11:21 |
tomreyn | Hozyain_Radugi: do what itu said: dmesg | nc termbin.com 9999 | 11:24 |
tomreyn | this will post the full output of dmesg to termbin.com, a website where you can post text | 11:24 |
tomreyn | it will return a url where we can then read it | 11:24 |
lubot_ | [telegram] <Hozyain_Radugi> I don't have net there | 11:24 |
tomreyn | i see, that makes helping a lot more difficult. can you get it online? | 11:25 |
lubot_ | [telegram] <Hozyain_Radugi> I try | 11:25 |
lubot_ | [telegram] <emergencyrussia> Try ethernet | 11:25 |
lubot_ | [telegram] <emergencyrussia> It should connect automatically | 11:25 |
lubot_ | [telegram] <Hozyain_Radugi> I can't I am using hotspot | 11:25 |
lubot_ | [telegram] <emergencyrussia> Disable acpi | 11:26 |
lubot_ | [telegram] <Hozyain_Radugi> How | 11:26 |
lubot_ | [telegram] <emergencyrussia> Then boot and configure wifi | 11:26 |
lubot_ | [telegram] <emergencyrussia> Then reboot normally and upload logs as mentioned above | 11:26 |
lubot_ | [telegram] <emergencyrussia> Add acpi=off to the Linux command line (re @Hozyain_Radugi: How) | 11:27 |
lubot_ | [telegram] <emergencyrussia> In bootloader | 11:27 |
tomreyn | !kernelparm | 11:27 |
ubottu | To add a one-time or permanent kernel boot parameter see https://wiki.ubuntu.com/Kernel/KernelBootParameters | 11:27 |
tomreyn | according to the hostname, this is a Clevo M5X0N laptop (last but one character is a "zero", not an "oh") | 11:28 |
lubot_ | [telegram] <Hozyain_Radugi> Yeah | 11:30 |
lubot_ | [telegram] <Hozyain_Radugi> Acpi off fixed it | 11:34 |
tomreyn | this model seems to have a broken lid detection. there is a linux kernel patch acpi-i915-blacklist-clevo-m5x0n-bad_lid-state.patch to overcome it, but this seems to have been in linux since 2.6.33 at least | 11:35 |
lubot_ | [telegram] <Hozyain_Radugi> Https://termbin.com/k310 | 11:37 |
lubot_ | [telegram] <Hozyain_Radugi> What do I need to do to apply the patch? | 11:38 |
tomreyn | i would assume it should already be there. if it wasn't, you might need to rebuild the kernel. | 11:39 |
tomreyn | but before you look into that, you'd rather try to better understadn the situation | 11:40 |
lubot_ | [telegram] <Hozyain_Radugi> It works fine now | 11:40 |
tomreyn | this kernel version you are running is from january. you need to install pending updates | 11:40 |
lubot_ | [telegram] <Hozyain_Radugi> Okay | 11:41 |
tomreyn | sudo apt update && sudo apt full-upgrade | 11:41 |
lubot_ | [telegram] <Hozyain_Radugi> I am checking for updates now | 11:41 |
lubot_ | [telegram] <Hozyain_Radugi> It's downloading | 11:45 |
lubot_ | [telegram] <Hozyain_Radugi> Where can I change mirror? | 11:46 |
lubot_ | [telegram] <Hozyain_Radugi> Default one is slow | 11:47 |
tomreyn | /etc/apt/sources.list | 11:47 |
tomreyn | or using the updater GUI | 11:47 |
lubot_ | [telegram] <Hozyain_Radugi> GUI would be preferred | 11:48 |
lubot_ | [telegram] <Hozyain_Radugi> Thank you so much for the help | 11:51 |
tomreyn | i assume software-properties-gtk or software-properties-kde will be installed on your system, and should enable you to configure apt sources graphically | 11:58 |
itu | now i installed lubuntu-20.04.2 (integritiy checked) on that old laptop and the hdd on which i have installed it is not found by the bios while trying to boot .... | 12:17 |
itu | hmm .. looks like there is no boot flag im MBR | 12:24 |
tomreyn | did you install in (legacy) bios or uefi mode, though? | 12:25 |
tomreyn | how old is that old computer? | 12:25 |
itu | old laptop , no UEFI | 12:25 |
itu | 2007 .. | 12:26 |
tomreyn | 14 years, not bad | 12:26 |
tomreyn | most dont last that long | 12:26 |
tomreyn | i'll say / repeat the obvious: if the laptop's bios is unable to boot off the device you installed the boot loader to, then you won't be able to boot this computer off this devcie. | 12:28 |
tomreyn | you could boot off a different device, though, by installing grub there. | 12:28 |
tomreyn | is this some kind of modern storage that you installed ubuntu to? or some removable storage? | 12:29 |
itu | yeah ...booting ... it was the missing bootflag | 12:30 |
lubot_ | [telegram] <Hozyain_Radugi> What do I need to do after the upgrade is complete? | 12:31 |
lubot_ | [telegram] <Hozyain_Radugi> Just reboot? | 12:31 |
tomreyn | Hozyain_Radugi: probably, but can you show this first of all: sudo ls -l /boot | nc termbin.com 9999 | 12:33 |
lubot_ | [telegram] <Hozyain_Radugi> Now or when the upgrade is done? | 12:34 |
tomreyn | when it's done | 12:34 |
lubot_ | [telegram] <Hozyain_Radugi> Okay | 12:36 |
lubot_ | [telegram] <Hozyain_Radugi> It's done, tomreyn, https://termbin.com/t2v2 | 13:45 |
lubot_ | [telegram] <Hozyain_Radugi> Can I reboot now? | 13:46 |
tomreyn | Hozyain_Radugi: hmm, that's still the wrong kernel version for 20.04 LTS | 13:48 |
lubot_ | [telegram] <Hozyain_Radugi> What do I need to do? | 13:49 |
tomreyn | apt list --installed linux* | nc termbin.com 9999 | 13:49 |
tomreyn | post the termbin.com url returned by this | 13:49 |
lubot_ | [telegram] <Hozyain_Radugi> Https://termbin.com/lg78 | 13:51 |
lubot_ | [telegram] <Hozyain_Radugi> Done | 13:51 |
apt-ghetto | Kernel 5.8.0.63 is not wrong for 20.04 => https://packages.ubuntu.com/focal-updates/linux-generic-hwe-20.04 | 13:56 |
lubot_ | [telegram] <Hozyain_Radugi> Maybe I will reboot and see? | 13:58 |
apt-ghetto | Yes | 14:01 |
lubot_ | [telegram] <Hozyain_Radugi> It went to sleep | 14:03 |
lubot_ | [telegram] <Hozyain_Radugi> It didn't fix it | 14:03 |
lubot_ | [telegram] <Hozyain_Radugi> Maybe I should put acpi off permanently? | 14:05 |
apt-ghetto | The problem with "acpi=off" is, that it could damage your hardware. | 14:06 |
lubot_ | [telegram] <Hozyain_Radugi> Oh | 14:06 |
lubot_ | [telegram] <Hozyain_Radugi> Then I need that patch thing | 14:07 |
apt-ghetto | You can check the list of possible kernel parameters => https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt | 14:07 |
apt-ghetto | There are a lot of acpi parameters | 14:08 |
lubot_ | [telegram] <Hozyain_Radugi> I am a total Linux noob | 14:09 |
lubot_ | [telegram] <Hozyain_Radugi> So if possible, I need step by step instructions to patch it | 14:14 |
lubot_ | [telegram] <Hozyain_Radugi> Thank you in advance | 14:14 |
apt-ghetto | Either you search in the internet for similar problem with the motherboard you have | 14:14 |
apt-ghetto | or you try different options out | 14:15 |
apt-ghetto | For example you can try acpi_osi="Linux" or apm=off | 14:16 |
lubot_ | [telegram] <Hozyain_Radugi> Apm off didn't help | 14:21 |
itu | problem: how to always get all the windows/programs restored on the desktop after reboot? | 14:27 |
lubot_ | [telegram] <Hozyain_Radugi> How can I edit logind file? | 14:48 |
lubot_ | [telegram] <Hozyain_Radugi> I can't save it | 14:48 |
lubot_ | [telegram] <Hozyain_Radugi> It says permission denied | 14:49 |
lubot_ | [telegram] <Hozyain_Radugi> I have fixed the issue | 14:59 |
lubot_ | [telegram] <Hozyain_Radugi> I edited logind file | 14:59 |
lubot_ | [telegram] <Hozyain_Radugi> I set close lid events to ignore | 14:59 |
lubot_ | [telegram] <Hozyain_Radugi> Maybe it will help someone | 15:00 |
JuhayerAlWasif[m | I am getting very slow speed in my terminal,any fix for this? | 16:41 |
tomreyn | JuhayerAlWasif[m: probably, but you'll need to get a better idea of what's causing it first of all. | 17:00 |
tomreyn | JuhayerAlWasif[m: is it always this way, or just currently? | 17:01 |
tomreyn | if you run journalctl -f in a terminal, it should shows what's being added to your system log in near real time (until you press ctrl-c to stop it). this can help identify ongoing errors. | 17:02 |
JuhayerAlWasif[m | <tomreyn "if you run journalctl -f i"> it's always happening | 17:56 |
JuhayerAlWasif[m | <tomreyn "if you run journalctl -f i"> okay,what should be my next step? | 17:58 |
tomreyn | JuhayerAlWasif[m: was there constant output on the journalctl -f ? i.e. was it scrolling quickly? | 19:40 |
tomreyn | if so, what was it saying? | 19:40 |
tomreyn | if not, post the address returned by this journalctl -b | nc termbin.com and this journalctl -b -p4 | nc termbin.com 9999 | 19:42 |
* JuhayerAlWasif[m < https://libera.ems.host/_matrix/media/r0/download/libera.chat/1642939e54772ac7226e78a775de6d4823517325/message.txt > | 19:48 | |
JuhayerAlWasif[m | this was the result after running journalctl -f | 19:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!