LinuxQuestions.org
Visit Jeremy's Blog.
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 06-22-2011, 09:42 PM   #1
Jullia
LQ Newbie
 
Registered: Aug 2009
Distribution: Slackware
Posts: 6

Rep: Reputation: Disabled
How to switch from huge kernel to 2.6.38.4 kernel ?


Hi

Fresh and Full install: Slackware 13.37 64-bit x86_64.
What is the correct procedure to switch from huge kernel to 2.6.38.4 kernel?

Thanks.
 
Old 06-22-2011, 10:10 PM   #2
cfdisk
Member
 
Registered: May 2011
Location: Philadelphia, PA
Distribution: Slackware 13.37
Posts: 89

Rep: Reputation: 16
sure
http://www.linuxquestions.org/questi...kernel-886634/
 
Old 06-22-2011, 10:24 PM   #3
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 294

Rep: Reputation: 39
On the installer, there is README.initrd file. I usually use it as a guide to switch to generic kernel.
 
Old 06-23-2011, 11:35 AM   #4
Jullia
LQ Newbie
 
Registered: Aug 2009
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: Disabled
Here's what I did

# cd /media/SlackDVD/testing/packages/
# installpkg *2.6.38.4*txz
# mkinitrd -c -k 2.6.38.4 -f ext4 -r /dev/sda2 -m jbd2:mbcache:ext4 -u -o /boot/initrd.gz

editing lilo
# vi /etc/lilo.conf

# Linux bootable partition config begins
image = /boot/vmlinuz-generic-2.6.38.4
initrd = /boot/initrd.gz
root = /dev/sda2
label = Lnx26384
read-only
# Linux bootable partition config ends


$ uname -r
2.6.38.4

So now, when i'm # slackpkg upgrade-all, I have this message:

Code:
Checking local integrity... DONE
You have a broken /var/log/packages - with two versions of the same package.
The list of packages duplicated in your machine are shown below, but don't
worry about this list - when you select your action, slackpkg will show a
better list:

kernel-firmware-2.6.37.6-noarch-2
kernel-firmware-2.6.38.4-noarch-1
kernel-generic-2.6.37.6-x86_64-2
kernel-generic-2.6.38.4-x86_64-1
kernel-headers-2.6.37.6-x86-2
kernel-headers-2.6.38.4-x86-1
kernel-huge-2.6.37.6-x86_64-2
kernel-huge-2.6.38.4-x86_64-1
kernel-modules-2.6.37.6-x86_64-2
kernel-modules-2.6.38.4-x86_64-1
kernel-source-2.6.37.6-noarch-2
kernel-source-2.6.38.4-noarch-1

You can (B)lacklist, (R)emove, or (I)gnore these packages.
Select your action (B/R/I):



What should I do? Is the procedure I followed was correct?
.
 
Old 06-23-2011, 12:59 PM   #5
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 581

Rep: Reputation: 56
When you issued the "installpkg *2.6.38.4*txz", you basically installed 2.6.38.4 alongside whatever kernel you already had installed on your system. In this case it was 2.6.37.6. Also from the looks of it, you've restarted your system and booted successfully into the new kernel so you can remove the older kernel if space is tight... Usually I would follow the same steps you did so that the current kernel I'm running is there for backup in case the new kernel doesn't work well for whatever reason. It's nice to have at least one kernel that's been tested to run well as a backup in my opinion.
 
Old 06-23-2011, 01:01 PM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Uncomment these lines (delete the #) in /etc/slackpkg/blacklist:
Code:
#kernel-firmware
#kernel-generic
#kernel-generic-smp
#kernel-headers
#kernel-huge
#kernel-huge-smp
#kernel-modules
#kernel-modules-smp
#kernel-source
 
1 members found this post helpful.
Old 06-23-2011, 03:33 PM   #7
Jullia
LQ Newbie
 
Registered: Aug 2009
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you all.
 
  


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
Is the kernel source in 12.1 the smp-huge kernel? nonis Slackware 6 05-26-2008 12:48 AM
slack 12, switch to generic kernel from huge kernel, using grub? jaguarrh Slackware 8 09-19-2007 06:29 AM
thread switch results in kernel stack switch superstition Linux - General 1 05-17-2005 11:48 PM
Huge kernel problems NonSumPisces Linux - General 0 06-16-2004 12:25 PM

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

All times are GMT -5. The time now is 11: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