LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-18-2015, 01:01 AM   #1
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299

Rep: Reputation: 34
Any way to shorten <uname> 4.1.15-4.1.14-4.1.12-3.16.0-4-amd64?


Hi, Recently upgraded to longterm 4.1.15, this is how "$kernel" shows up in conky making it wide as a barn door. Tried renaming the modules after compilation before installing didn't work. Tried editing /proc/version, it reverts back..
(Btw how is it "longterm" if they keep changing it every other week, it not even 2 weeks since 4.1.14 replaced 4.1.13 in the archives..)
Not that i am complaining, i am sure there are tons of improvements under the hood that i have no idea about..as long as my CPU and HDD temperatures look safe, and i have no problems with sound or graphics, and nothing freezes, i couldn't be happier.

Last edited by mzsade; 12-18-2015 at 01:09 AM.
 
Old 12-18-2015, 05:37 PM   #2
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 279Reputation: 279Reputation: 279
The 'long-term' means it will be supported with patches and updates long-term.

I haven't used Conky in years, but there should be a way to use only the first x characters in a string. I don't really remember how string manipulation work in Conky.
 
Old 12-19-2015, 06:56 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 6,740
Blog Entries: 3

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
have you compiled the kernel yourself?
are you sure this is debian? stable?

what's the output of
Code:
uname -r
the conky variable $kernel doesn't have any options.
there's global options to limit output to n characters width.
http://conky.sourceforge.net/documentation.html

Last edited by ondoho; 12-19-2015 at 06:57 AM.
 
Old 12-20-2015, 05:17 AM   #4
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by ondoho View Post
have you compiled the kernel yourself?
are you sure this is debian? stable?

what's the output of
Code:
uname -r
Yep, followed @m_yates' tutorial in the Sticky here to the letter. Nope, it's Sid.

4.1.15-4.1.14-4.1.12-3.16.0-4-amd64

Quote:
the conky variable $kernel doesn't have any options.
there's global options to limit output to n characters width.
http://conky.sourceforge.net/documentation.html
Thanks for the link, however it'd be much simpler to just avoid the variable and put 4.1.15 as text which i did. It's pointless now tho', conky freezes with the new upgrade, googled it extensively, exhausted all possibilities including resetting hwclock with ntpdate from pool.ntp.org and sync'ing it thus:
Code:
hwclock --systohc --localtime
, got rid of the conky and lua clocks, even tried booting back into the old kernel. No joy, so until the next upgrade it's back to gkrellm for me (room temp. here is 30C on average so i need to keep an eye on CPU/HDD temps.). On the bright side, i have not experienced any of the other malaises like freezing of system, mouse or keyboard, screen, etc. accompanying the conky freeze that i found so many people lamenting about when i googled the issue, it's just conky.

Last edited by mzsade; 12-20-2015 at 05:19 AM.
 
Old 12-20-2015, 05:27 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,848

Rep: Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952
If you're running Sid then why not just use the kernel Sid is using? I was compiling my own version of the latest stable kernel from https://www.kernel.org/ but Sid has just moved to 4.3.3 anyhow so I don't need to do that any more to track the latest stable kernel. Of course, if you want to compile your own kernel then do so as it can be useful for enabling options or just a bit of fun but the Sid kernel is now newer than the one you're tracking. As mentioned long term does not mean no updates it mean updates will be forthcoming for a long time so whichever kernel you track there will be updates but if you use the default in Sid it will be much quicker to update as the Debian developers have compiled it for you.
 
Old 12-20-2015, 06:55 AM   #6
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299

Original Poster
Rep: Reputation: 34
Does make sense to have the latest stable, however debian developers don't seem to have done a very good job of compiling it as far as my hardware is concerned, and apparently i am not the only one who's having issues with it; http://www.linuxquestions.org/questi...es-4175561250/. Ever since the first time i did a dist-upgrade after pointing sources.list to Sid and botched that installation i've made it a point to only do plain upgrades. However, now that you've pointed out what "longterm" actually means i will go for the latest stable but only by compiling it from source.
 
Old 12-20-2015, 07:00 AM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,848

Rep: Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952Reputation: 1952
Quote:
Originally Posted by mzsade View Post
Does make sense to have the latest stable, however debian developers don't seem to have done a very good job of compiling it as far as my hardware is concerned, and apparently i am not the only one who's having issues with it; http://www.linuxquestions.org/questi...es-4175561250/. Ever since the first time i did a dist-upgrade after pointing sources.list to Sid and botched that installation i've made it a point to only do plain upgrades. However, now that you've pointed out what "longterm" actually means i will go for the latest stable but only by compiling it from source.
Why not at least try the Debian kernel 4.3 because if it works you're saving yourself time?
If you don't want things to keep breaking then it may be easiest not to use Sid and use something like Linux Mint Debian Edition instead. Without dist-upgrading you're not really running Sid anyhow (as shown by not running the 4.3 kernel) and I can't help thinking you could end up with other issues further down the line if you're not dist-upgrading on a regular basis.
 
Old 12-20-2015, 07:31 AM   #8
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299

Original Poster
Rep: Reputation: 34
I did, http://www.linuxquestions.org/questi...es-4175561250/, and it didn't take care of the conky freeze issue either, besides freezing during shutdown and reboot.

Edit: Did the sensible thing, compiled the latest stable, thank you for prodding me to do it, took commitment, Respect! There's a couple of things on which i do beg to differ, albeit with my glaringly limited knowledge;
It was my understanding that besides the longterm support that you mentioned a longterm kernel also meant that it was one that had been tested and 'bug-fixed' by all major distributions and that only minor bug fixes and patches would be applied to it. That of course, went down the toilet with those biweekly upgrades to it.
Secondly, how can you say that i am not using Sid if i don't do dist-upgrades. Simple upgrades do the same thing except for automatically installing a new kernel, and buggering up my system. In fact i found apt-get judiciously holds back upgrades which could cause problems which aptitude (synaptic) does not (that happened only recently with the audacious plugin upgrade and a few others with it). I get the same new packages in my repository and in addition i have the option to not have them installed automatically. Unless i am very much mistaken apt-get has come a long way and takes care of dependencies very well so i don't have any misgivings about not doing the dist-upgrades, let's see how it goes. Anyhoo, i am very happy with my kernel upgrade so thanks again..conky still skips update_intervals, btw.
Code:
:~$ uname -r
4.3.3-4.1.15-4.1.14-4.1.12-3.16.0-4-amd64
Now that's a kernel with a history and pedigree, eh?

Last edited by mzsade; 12-20-2015 at 07:41 PM.
 
Old 01-12-2016, 02:01 AM   #9
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299

Original Poster
Rep: Reputation: 34
Stumbled upon it after upgrade to 4.4.0:
Code:
${exec uname -r | head -c5}

Last edited by mzsade; 01-12-2016 at 02:02 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to shorten current path name cianoz Linux - Newbie 14 03-14-2011 08:50 AM
Shorten URL Jalindar Programming 2 08-10-2010 12:10 AM
How can I script to shorten a filename? rsmccain Programming 7 04-10-2008 10:33 AM
Shorten code in java? rabbit2345 Programming 1 02-04-2008 09:43 PM
grip and shorten encoding helios007 Linux - Software 0 09-19-2003 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration