Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
05-21-2013, 11:14 AM
|
#16
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
Quote:
Originally Posted by tronayne
I went looking and found that /etc/rc.modules was still linked to rc.modules-3.2.29-smp.
|
I noticed that too but it isn't the problem, since as ponce pointed out the files are the same. For pure tidiness I also fixed the symlink, though as expected it did not fix the issue.
|
|
|
05-21-2013, 11:32 AM
|
#17
|
LQ Newbie
Registered: May 2011
Distribution: Arch
Posts: 27
Original Poster
Rep:
|
I'm going to try some of the suggested ideas. I'll report back later.
TobiSGD: Would this work on non-standard resolutions? I've got a 1024x600 netbook display. If necessary I could plug in a 1920x1080 monitor over a VGA cable, too. Just not sure if either of those resolutions would be usable with the video= setting.
Quote:
Originally Posted by ryanpcmcquen
I am affected by this as well on my Asus 1000he.
|
That's what I've got, too. Exact same.
This is pretty bad. I upgraded because this security issue sounded pretty serious (I've seen several other distros releasing kernel patches this morning), and now I don't even have a usable system. This kinda blows.
Why can't Slackware install and support multiple kernels in lilo's boot menu instead of clobbering over the old one? I've seen other distros support multiple kernels, like Gentoo and Ubuntu. Should this be suggested to Patrick and the team, in case this happens again, or is this one of those things Pat already made a decision against a while back? I know if there's a reason for not doing something in Slackware, it's usually a good reason, so I'm not sure if it would be worth recommending or not.
Last edited by Eldarby; 05-21-2013 at 11:45 AM.
Reason: :nosaeR
|
|
|
05-21-2013, 11:44 AM
|
#18
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
Quote:
Originally Posted by ruario
I noticed that too but it isn't the problem, since as ponce pointed out the files are the same. For pure tidiness I also fixed the symlink, though as expected it did not fix the issue.
|
Huh.
Well, OK, but (1) didn't and (2) did -- must be magic? Dang thing's sitting there mumbling to itself and working just fine.
I'll try the laptop that I don't use too often and see what happens there (again, these are Slackware 14.0 stable, stock SMP kernel -- the one that's working is a 32-bit, the laptop is 64-bit and I'll see if it fries it brains).
Sigh.
|
|
|
05-21-2013, 12:13 PM
|
#19
|
Member
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381
Rep: 
|
Quote:
Originally Posted by Eldarby
Why can't Slackware install and support multiple kernels in lilo's boot menu instead of clobbering over the old one? I've seen other distros support multiple kernels, like Gentoo and Ubuntu. Should this be suggested to Patrick and the team, in case this happens again, or is this one of those things Pat already made a decision against a while back? I know if there's a reason for not doing something in Slackware, it's usually a good reason, so I'm not sure if it would be worth recommending or not.
|
As far as I know Eldarby (someone correct me if I'm wrong here), you can put as many kernel images as you want in /etc/lilo.conf, it just isn't automatic like with GRUB/GRUB2 (I personally hate GRUB, it's so complicated, so many *.conf files).
|
|
1 members found this post helpful.
|
05-21-2013, 12:28 PM
|
#20
|
Member
Registered: Sep 2011
Posts: 925
|
Quote:
Originally Posted by Eldarby
This is pretty bad. I upgraded because this security issue sounded pretty serious (I've seen several other distros releasing kernel patches this morning), and now I don't even have a usable system. This kinda blows.
|
As long as you don't have potential hostile local users with remote shell access, there is no reason for panic. It's "just" a local privilege escalation issue. In the usual desktop scenario, it is just as dangerous as the possibility to "root" your smartphone.
Last edited by jtsn; 05-21-2013 at 12:30 PM.
|
|
|
05-21-2013, 06:54 PM
|
#22
|
LQ Newbie
Registered: Feb 2008
Posts: 12
Rep:
|
deleted
Last edited by johnbristol; 05-21-2013 at 06:55 PM.
Reason: error
|
|
|
05-21-2013, 07:02 PM
|
#23
|
Member
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515
Rep:
|
Same issue here. I thought I screwed something up when I installed it onto my netbook since I had to take it apart to put in a new wireless card. Good to know a patch has been created, so 3.2.46 should fix it.
|
|
|
05-21-2013, 07:52 PM
|
#24
|
Member
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295
Rep: 
|
This seemed to be a good time to have a slightly outdated local mirror, hehe (though now that I think about it, 3.2.29 packages should still be in the updated archive as 3.2.45 should be in /patches.) I was able to downgrade safely back to the old 3.2.29 packages, something that would seem dangerous to do on (ahem) more sophisticated distros. Chalk one up for the Slackware package management system!
Last edited by zakame; 05-21-2013 at 07:54 PM.
Reason: mumble
|
|
1 members found this post helpful.
|
05-21-2013, 09:41 PM
|
#25
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
Quote:
Originally Posted by ryanpcmcquen
As far as I know Eldarby (someone correct me if I'm wrong here), you can put as many kernel images as you want in /etc/lilo.conf, it just isn't automatic like with GRUB/GRUB2 (I personally hate GRUB, it's so complicated, so many *.conf files).
|
Yeah, but it kinda sucks to remember that you forgot to run lilo after a kernel upgrade immediately after you pressed "enter" to the "shutdown -r now" command.
It still sucks to remember that you forgot to run the grub-mkconfig command after a kernel upgrade immediately after you pressed "enter" to the "shutdown -r now" command, but you can interactively fix your boot so you *can* run the bloody thing when the system comes up.
Since I've got my root directory on an LVM over a RAID array, the slackware install disk doesn't help a whole lot to reboot in that environment. Oh, you *can* do it, but it's a real PITA. Bog knows that I've done it enough times. :-/
|
|
|
05-21-2013, 10:17 PM
|
#26
|
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367
|
This is why you install new kernels alongside the old kernel and keep an entry in lilo.conf pointing to the old kernel. You can pass -o to mkinitrd to name the initrd something other than initrd.gz so you can have multiple initrds available too. Of course, doing this breaks slackpkg (and pkgtools) because it finds multiple packages with the same name, but blacklisting the kernel packages in slackpkg and making sure to always installpkg/removepkg explicit kernel versions rather than the more generic 'kernel-generic', for example, and never upgradepkg'ing kernels, allows this to be painless. Even if you forget to run lilo, you have the old kernel version to fall back on.
|
|
1 members found this post helpful.
|
05-21-2013, 10:27 PM
|
#27
|
Member
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381
Rep: 
|
At least slackpkg will prompt you to run LILO after a kernel upgrade. :-)
|
|
|
05-21-2013, 10:55 PM
|
#28
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
|
Would be more user-friendly if kernel updates were handled conservatively.
My work-around is not using upgradepkg. I use installpkg, copy and edit the existing grub menu.lst items for the new kernel version. That way I can reboot safely should the new version cause headaches.
Not to mention there is always a punch list when updating a kernel: update nvidia, virtualbox, and lirc kernel modules, and compare the previous and new rc.modules-* files. I forgot to perform that last one today and I spent time scratching my head why I had no sound in one of my machines after the update.
Perhaps in addition to the "Remember to update lilo" message, the slackpkg reminder could print something like "Remember to update lilo/grub, third-party kernel modules such as nvidia, virtualbox, and lirc, and review the new rc.modules files for necessary changes.
When all is calm and I'm comfortable the new kernel and updated kernel modules are functioning correctly, then I use removepkg to remove the previous kernel version and modules, and update the grub menu.lst.
|
|
|
05-22-2013, 08:37 AM
|
#29
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,469
|
Quote:
Originally Posted by majekw
|
I've tried to prepare a testing kernel-generic (remember you need an initrd!) package (it includes also the stuff in the kernel-modules one inside) with the patch reverted.
If anybody having the black screen problem with an intel GPU on slackware-14.0 32bit can test it...
http://ponce.cc/slackware/testing/ke...686-2ponce.txz
|
|
2 members found this post helpful.
|
05-22-2013, 09:04 AM
|
#30
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
@ponce: Thanks ponce. That was really nice of you to make available. You are also one of the few here who has developed enough trust that I (and probably others) would consider taking a binaries for such a key package. That said, I still haven't noticed any problems with using the 3.8.13 kernel from current (and indeed I have noticed some improvements) so I'll probably stick with it for now. However, if I do encounter problems (and assuming Pat doesn't provide another kernel) yours will be next on my list. 
|
|
|
All times are GMT -5. The time now is 02:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|