LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-12-2014, 02:45 PM   #16
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77

I blacklisted the kernels in slackpkg and changed the mirror to current. I then updated slackpkg and then changed the mirror to 14.1. From there I did slackpkg update, slackpkg upgrade-all, slackpkg install-new, and slackpkg clean system. Everything on that end seemed to go just fine. It was installing the new kernel that seemed to have problems.

I did seem to get it resolved by installing all of the kernel packages, where before I only installed the generic kernel, kernel modules, and mkinitrd and I'm sure that's where I made my mistake. In everything I read I didn't see any mention of which kernel packages to install, but I was smart enough to not mess with my working kernel. I already had the generic kernel installed and set up and it did work, but I could not install proprietary drivers, which is a problem I had previously with my laptop and the dreaded broadcom drivers. :-p

One thing to note is that even when blacklisting the nouveau driver I could still boot into my xfce desktop and still get to the internet without my screen going all funny without the correct video driver working. This was before installing the nvidia driver too. But after installing all of the kernel files, huge kernel, kernel source, kernel firmware, etc. I was able to then install the nvidia drivers. Which also means that when I stall another kernel I'll be able to get my broadcom wireless drivers working as well.

Thank you all for your help with this. It has been quite a learning experience for me.
 
Old 01-12-2014, 05:48 PM   #17
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229
Kernel updates are something that slackroll handles better (IMO) than slackpkg.

slackroll's user interface is more painful to use than slackpkg.

It may not matter, but you should check your /etc/rc.d/rc.modules symlink. I'm willing to bet that it isn't pointing to rc.modules-3.2.45.

(I say that it probably doesn't matter because I just checked mine and it's pointing to rc.modules.3.2.45. I'm running 14.1, so that should be pointing to rc.modules-3.10.17. I'll be changing that symlink a couple of seconds after I hit "post".)

(And, no, I'm not using slackroll on this box. I'm starting to wish that I had.)

NOTE: I just did a diff on rc.modules-3.2.45 and rc.modules-3.10.17. They are the same, other than what I had manually changed in my 3.2.45 copy. That's probably true between the two rc.module versions for Slackware 14.0.

Last edited by Richard Cranium; 01-12-2014 at 05:54 PM. Reason: Wanted to report on diff results.
 
1 members found this post helpful.
Old 01-12-2014, 06:28 PM   #18
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
How do you change a symlink? I can see myself creating more problems. :-p
 
Old 01-12-2014, 09:49 PM   #19
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,997

Rep: Reputation: 4636Reputation: 4636Reputation: 4636Reputation: 4636Reputation: 4636Reputation: 4636Reputation: 4636Reputation: 4636Reputation: 4636Reputation: 4636Reputation: 4636
Quote:
Originally Posted by Bertman123 View Post
How do you change a symlink? I can see myself creating more problems. :-p
Even if you refuse to build one yourself, it behooves you to read AlienBob's excellent HowTo HERE

For one thing it shows what symlinks should be changed and how. In Linux, all objects are files. A symlink is simply a file that links to another file so

Code:
 To Remove

rm -f /boot/foo

To Make a New One (an example)

ln -s /boot/vmlinuz-3.12.2.foo /boot/vmlinuz
 
1 members found this post helpful.
Old 01-12-2014, 10:11 PM   #20
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by enorbet View Post
Even if you refuse to build one yourself, it behooves you to read AlienBob's excellent HowTo HERE

For one thing it shows what symlinks should be changed and how. In Linux, all objects are files. A symlink is simply a file that links to another file so

Code:
 To Remove

rm -f /boot/foo

To Make a New One (an example)

ln -s /boot/vmlinuz-3.12.2.foo /boot/vmlinuz
Is there a way to check and see what the current symlink is to see if it needs changing?
 
Old 01-12-2014, 10:12 PM   #21
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
Should I remove the old kernel or leave it? Which kernel files are safe to delete?
 
Old 01-13-2014, 12:10 AM   #22
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229
Quote:
Originally Posted by Bertman123 View Post
Is there a way to check and see what the current symlink is to see if it needs changing?
Code:
ls -l /etc/rc.d/rc.modules
 
Old 01-14-2014, 10:47 AM   #23
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Original Poster
Rep: Reputation: 77
Okay, so it looks like the symlink is pointing to the 3.2.29 kernel as per the output below.

bash-4.2$ ls -l /etc/rc.d/rc.modules
lrwxrwxrwx 1 root root 17 Jan 9 21:59 /etc/rc.d/rc.modules -> rc.modules-3.2.29

This page mentioned the following:

If you decide to build your own 2.6 kernel from source, you might get bitten by the fact that there will not be a file called /etc/rc.d/rc.modules-$(uname -r) - you will have to create it yourself. The rc.modules usually is a symlink to the rc.modules-2.6.37.6-smp. A typical result from the absence of a rc.modules file for your specific kernel is that your mouse will not be working. Take that behaviour as a hint to create the rc.modules file! You can take a full copy of any existing rc.modules-2.6.xx file. If your system does not have any rc file for a 2.6 kernel you can take the one on the Slackware CD as an example:
/source/k/kernel-modules-smp/rc.modules.new.
Here's an example in case you would have built a new kernel with version 2.6.38.2.alien and you already had installed a Slackware kernel 2.6.37.6-smp:

cp -a /etc/rc.d/rc.modules-2.6.37.6-smp /etc/rc.d/rc.modules-2.6.38.2.alien

The file /etc/rc.d/rc.modules-2.6.38.2.alien will then be used when your new kernel 2.6.38.2.alien boots.


Does this mean that I can just do the following to create a new symlimk to the new kernel?

cp -a /etc/rc.d/rc.modules-3.2.29 /etc/rc.d/rc.modules-3.10.17
 
  


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
[SOLVED] setting up initrd / generic kernel in Grub2...can't load generic Ubunoob001 Slackware 12 03-20-2015 08:32 AM
[SOLVED] Slackware 13.37rc2 btrfs with generic kernel spudgunner Slackware 14 03-22-2013 10:46 PM
Kernel panic with generic kernel Slackware 13.1 goodadamgood Slackware 3 01-31-2011 05:57 PM
generic kernel config question amiga32 Slackware 6 03-31-2009 12:28 PM
A question about generic-kernel in /testing mardanian Slackware 7 07-10-2004 05:13 AM

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

All times are GMT -5. The time now is 08:30 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
Open Source Consulting | Domain Registration