LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-21-2013, 10:52 AM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,110

Rep: Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807
Kernel Upgrade


Don't want to hijack the earlier thread but I've gotten older and dumber by the day and I'm wondering (before I do it!)...

I'm running four servers, two 64-bit, two 32-bit, all with the default SMP kernel and nothing much messed with (so, no initrd or any of that stuff). The two 32-bit boxes are headless; I access them with SSH from my main work station.

I downloaded all the patches and did the upgradepkg *.t?z thing, all that went smoothly, no runs, no drips, no errors on one of them and am up to the point of reboot.

I'm not too clear on one thing -- /etc/lilo.conf looks right, the content of /boot looks right but the trouble reported at http://www.linuxquestions.org/questi...5/#post4955408 is making me pause. I'm thinking that I should not need to run lilo (although I don't think it'll hurt) and I can live without the sever for a day or two if necessary.

Is it really necessary to wait (a little late for that server, but for the other three)?

Is there a real problem with the default kernel update?
 
Old 05-21-2013, 11:40 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,110

Original Poster
Rep: Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807
Ah-ha!

Tried to boot it, failed, booted from the DVD, went looking, found that /etc/rc.modules was linked to rc.modules-3.2.29-smp instead of rc.modules-3.2.45-smp.

Fixed that. Hooked up a display. Booted it.

Works fine.
 
1 members found this post helpful.
Old 05-21-2013, 01:08 PM   #3
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,896

Rep: Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952
Quote:
Originally Posted by tronayne View Post
I'm thinking that I should not need to run lilo (although I don't think it'll hurt)
You always need to run lilo if you do a kernel upgrade.

EDIT: Or is that your way of saying that you might not want/need to upgrade?

P.S. For the benefit of anyone stumbling across this [SOLVED] thread, the fact that the symlink /etc/rc.modules pointed to rc.modules-3.2.29-smp instead of rc.modules-3.2.45-smp is a red herring, as the files are identical.

Last edited by ruario; 05-21-2013 at 01:12 PM.
 
Old 05-21-2013, 01:43 PM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,485

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
From /etc/rc.d/rc.S
Code:
# This loads any kernel modules that are needed.  These might be required to
# use your ethernet card, sound card, or other optional hardware.
# Priority is given first to a script named "rc.modules.local", then
# to "rc.modules-$FULL_KERNEL_VERSION", and finally to the plain "rc.modules".
# Note that if /etc/rc.d/rc.modules.local is found, then that will be the ONLY
# rc.modules script the machine will run, so make sure it has everything in
# it that you need.
Maintaining a symlink rc.modules -> rc.modules-$FULL_KERNEL_VERSION is just a convenience for editing/viewing these days.
 
Old 05-21-2013, 01:44 PM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,110

Original Poster
Rep: Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807
Quote:
Originally Posted by ruario View Post
You always need to run lilo if you do a kernel upgrade.

EDIT: Or is that your way of saying that you might not want/need to upgrade?

P.S. For the benefit of anyone stumbling across this [SOLVED] thread, the fact that the symlink /etc/rc.modules pointed to rc.modules-3.2.29-smp instead of rc.modules-3.2.45-smp is a red herring, as the files are identical.
Well, I did run lilo and the thing wouldn't boot, just sat there. Did boot it from the DVD, did change the symlink, shut it down, removed the disk and it did boot and is running. Why, I don't know, but the proof of the pudding is that it's running and everything that needs to work is, red herring or not. Must be sumpin' else, but dang if I know what 'cause I didn't touch anything else.

Must be Magic someone said!

I'm not being flippant, nor am I accusing anybody of false reporting of anything. Mine works, I'm happy and that's that.
 
Old 05-23-2013, 08:32 AM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,110

Original Poster
Rep: Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807
To all who took the time and effort to contribute to this thread:

Excuse my stupid-head; some of us get off on a tangent and can't see the trees for the forest every now and again, and, well, it happens to me more and more these days, dang it. Hate getting old, but consider the alternative, eh.

Anyway. My two data base serves, Dell Dimension 8400's, came with Radeon graphics cards. Completely forgot that they're still in there, those (they're never hooked up to a display). My 64-bit boxes are all ordered without any sooper-dooper graphics; Intel only (they look at you funny when you tell 'em you don't want proprietary graphics 'cause you don't wanna deal with those problems). These guys are all for working, not playing, and Intel works just fine.

So, anyway, of course the kernel update worked on the 342-bit boxes, and of course the rc.modules files are identical (duh!), and of course the 64-bit boxes did the black screen thing (well, only the laptop because it's the test bed because I really don't care all that much if it works; it sits on a shelf most of the time). If I'd waited a day there would not have been a problem but when you're on a quest you haven't got the sense that good Lord gave lettuce and just jump off the bridge into the rushing waters below.

So, this morning, there's the kernel rebuild with the Intel fix sitting at OSU, Pat's notice in the change log, other folks' in the other thread saying that it works, and ruaio's fixes (thank you for those) being withdrawn in favor of Pat's and all appears to well that ends.

You'd think I'd have learned by now, eh?
 
Old 05-23-2013, 11:26 AM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,896

Rep: Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952
It happens to all of us!

That said, regarding this:

Quote:
Originally Posted by tronayne View Post
ruaio's fixes (thank you for those) being withdrawn in favor of Pat's and all appears to well that ends.
I think you mean ponce's fixes (well ponce's patched/fixed kernel).
 
Old 05-23-2013, 03:42 PM   #8
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,110

Original Poster
Rep: Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807
Quote:
Originally Posted by ruario View Post
It happens to all of us!

That said, regarding this:



I think you mean ponce's fixes (well ponce's patched/fixed kernel).
Oh, dammit! Yes, I meant ponce's patched fixes!

Sorry about that.
 
Old 05-26-2013, 07:24 PM   #9
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 503

Rep: Reputation: 38
After updating for the last version of the kernel (3.2.45-2) a graphical issue has appeared.
When I log out from XFCE the monitor becomes black. And the tty terminal does no appear.

I have a Ati 5730 card, and the latest version of catalyst drivers.

Does anyone have a similar issue?
 
Old 06-03-2013, 02:12 AM   #10
ahzthecat
Member
 
Registered: May 2010
Location: Japan
Distribution: Slackware 13.37, Slackware 14, Wind0z8, Ubuntu 12.10
Posts: 156

Rep: Reputation: 8
Oh please tell me that fixing the symlink isn't a red herring...

I ran the kernel update yesterday on my Slackware 14 32bit system (Lenovo G555 AMD Dual Core laptop) and now I have a system that boots, I can log in at the tty prompt, but when I start X I get an unresponsive system. No mouse no keyboard no input device recognition of any sort.

Here's what I did.
First, run all pending updates (Firefox, Ruby, Thunderbird)
Next, run the xorg updates
Next, reread the readmes about the kernel patch
Next, run the firmware update
Next, run the Kernel update
Last, run Lilo and reboot

There is a message about /lib/modules/3.2.45-smp not found in the boot sequence output.

I have edited lilo to point directly at the new kernel, but the end result is the same, an unresponsive x session.


What do you think? How should I go about fixing my Slack?

Last edited by ahzthecat; 06-03-2013 at 04:48 AM. Reason: wrong error message
 
Old 06-03-2013, 05:13 AM   #11
ahzthecat
Member
 
Registered: May 2010
Location: Japan
Distribution: Slackware 13.37, Slackware 14, Wind0z8, Ubuntu 12.10
Posts: 156

Rep: Reputation: 8
Oh heck.

I edited my lilo.conf to point at the old kernel (vmlinuz-smp-generic-3.2.29-smp), ran lilo, then rebooted. Now I have kernel panic and a system that won't boot. I've gone from kinda busted to waaaaay busted.

I can boot from the install DVD, but don't know where to go from there.
I don't want to have to reinstall...so many complicated sbopkg apps...

Help?
 
Old 06-03-2013, 05:52 AM   #12
kkady32
Member
 
Registered: Dec 2010
Distribution: Slackware64
Posts: 86

Rep: Reputation: 14
http://blog.tpa.me.uk/2009/09/29/re-...kware-boot-cd/
 
1 members found this post helpful.
Old 06-03-2013, 06:17 AM   #13
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 115Reputation: 115
Use the link kkady32 provided above to add a LILO boot entry for (or replace the current one with) the hugesmp kernel. Then you can boot into the system again and start fixing what went wrong.

Make sure next time to keep an extra entry for the huge kernel in the LILO config so you can always boot into it if you screw up a kernel.
 
1 members found this post helpful.
Old 06-03-2013, 07:27 AM   #14
ahzthecat
Member
 
Registered: May 2010
Location: Japan
Distribution: Slackware 13.37, Slackware 14, Wind0z8, Ubuntu 12.10
Posts: 156

Rep: Reputation: 8
Ahhh. Big piles of relief. I added a lilo entry for the huge-3.2.29 kernel and booted from that. Seems to be okay. What in the heck went wrong, I wonder?

Next step is to get a newer kernel rocking on this box. I've got a dual core processor so I need an SMP kernel, right?
 
Old 06-03-2013, 07:51 AM   #15
ahzthecat
Member
 
Registered: May 2010
Location: Japan
Distribution: Slackware 13.37, Slackware 14, Wind0z8, Ubuntu 12.10
Posts: 156

Rep: Reputation: 8
Good news everyone, after rebooting I ran slackpkg update and upgrade. The patch was applied successfully and now I'm back up to speed and up to date.

Thanks for your help!
 
  


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
Fedora 16 Kernel upgrade broke system - kernel panic and unable to boot itsjustarumour Fedora 7 05-15-2012 10:51 AM
How to upgrade kernel in rhel6/centos6 with internet. manually download and upgrade. Gil@LQ Linux - Kernel 3 03-12-2012 06:07 PM
how to upgrade the Debian 3 kernel 2.4.18 to kernel 2.6 or bigmem- kernel chandu.bezawada Debian 6 11-12-2010 10:33 AM
apt-get upgrade does not upgrade my kernel halfpower Debian 5 12-11-2005 10:53 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 07:54 PM


All times are GMT -5. The time now is 12:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration