LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-10-2009, 06:40 PM   #1
Pluribootent
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware64 13.1
Posts: 21

Rep: Reputation: 15
kernel security update x86_64


Hi everyone!

Im not the most experienced slackware user but I can cope

Before I run this Update I wanted to ask you pros some questions.
Quote:
Here are the details from the Slackware 13.0 ChangeLog:
+--------------------------+
Tue Dec 8 20:44:44 UTC 2009
patches/packages/linux-2.6.29.6-3/:
Added new kernels and kernel packages with a patch for CVE-2009-1298,
a kernel bug where oversized IP packets cause a NULL pointer dereference
and immediate hang.
For more information, see:
http://cve.mitre.org/cgi-bin/cvename...=CVE-2009-1298
http://lkml.org/lkml/2009/11/25/104
Be sure to reinstall LILO after upgrading the kernel packages.
(* Security fix *)
Im sure you can clear my clouds.

Im running a multiboot system with a boot partition which runs grub and chainloads into each linux distribution. On each system partition I installed the grub for its own distribution.

If I want to boot Slackware:
boot partition: /dev/sda1 chainloads into lilo on /dev/sda8 which boots into slackware on /dev/sda8

Im not familiar with lilo.

1. The kernel update:
which files would I install?
/boot
contains:
Code:
# ls /boot/
README.initrd                boot.0808                config-huge-2.6.29.6  slack.bmp
System.map                   boot_message.txt         diag1.img             vmlinuz
System.map-generic-2.6.29.6  config                   diag2.img             vmlinuz-generic-2.6.29.6
System.map-huge-2.6.29.6     config-generic-2.6.29.6  map                   vmlinuz-huge-2.6.29.6
/etc/lilo.conf:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda8
#compact        # faster, but won't work on all systems.
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
  bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Append any additional kernel parameters:
append=" vt.default_utf8=0"
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda8
  label = Slackware
  read-only  # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
So, I believe I run the generic kernel?

How would I go about?

My thoughts:
I download:
kernel-firmware-2.6.29.6-noarch-3.txz
kernel-generic-2.6.29.6-x86_64-3.txz
kernel-headers-2.6.29.6-x86-3.txz
kernel-huge-2.6.29.6-x86_64-3.txz
kernel-modules-2.6.29.6-x86_64-3.txz
kernel-source-2.6.29.6-noarch-3.txz

... thats all I need?

and I just install those packages using
Code:
installpkg
Do I have to go into the subdirectory
generic.s
huge.s
speakup.s
and download those images, too?

If that install is done, do I have to do a lilo update? It boots /boot/vmlinuz. So that would be the updated kernel anyway.

Are my proceedings correct?

Thx for any help!
I really dig Slackware
Pluribootent
 
Old 12-11-2009, 03:13 AM   #2
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 116Reputation: 116
You're making it too complicated.
  • Use "su -" to become root
  • Use slackpkg to install the updated kernel packages:
  • Edit /etc/slackpkg/mirrors to select a close mirror for your exact version of Slackware
  • Then run these in order:
  • # slackpkg update
  • # slackpkg upgrade-all
  • # lilo

Last edited by zordrak; 12-11-2009 at 03:15 AM.
 
Old 12-11-2009, 06:04 AM   #3
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: debian, rocky, slackware
Posts: 132

Rep: Reputation: 25
And how about the initrd and (if applicable) the nvidia drivers?
 
Old 12-11-2009, 06:14 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
They're OK and still fully operational after the update. No problems.
 
Old 12-11-2009, 06:26 AM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by Pluribootent View Post
My thoughts:
I download:
kernel-firmware-2.6.29.6-noarch-3.txz
kernel-generic-2.6.29.6-x86_64-3.txz
kernel-headers-2.6.29.6-x86-3.txz
kernel-huge-2.6.29.6-x86_64-3.txz
kernel-modules-2.6.29.6-x86_64-3.txz
kernel-source-2.6.29.6-noarch-3.txz

... thats all I need?

and I just install those packages using
Code:
installpkg
Those packages are all you need. If you download them you can use upgradepkg to upgrade to the new kernel packages. Or you can use slackpkg as has been suggested.
Be sure to rerun lilo after updating the kernel packages as it says on the Slackware changelogs page.
 
Old 12-11-2009, 06:27 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Slackpkg offers to run lilo after installing the updates.
 
Old 12-11-2009, 06:28 AM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,113

Rep: Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185
Quote:
Originally Posted by cmk77 View Post
And how about ... the nvidia drivers?
better to reinstall them, kernel module part was built during their installation for the older kernel version.
 
Old 12-11-2009, 06:31 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
The nvidia driver's working on mine, without reinstalling.
 
Old 12-11-2009, 06:36 AM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
It's the same kernel version, with a patch:
old: 2.6.29.6-x86_64-2
new: 2.6.29.6-x86_64-3
 
Old 12-11-2009, 06:37 AM   #10
Pluribootent
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware64 13.1
Posts: 21

Original Poster
Rep: Reputation: 15
Great, Thanx all for your help and comments.

The update went fine with slackpkg. I didnt know about this tool. Maybe its new? Anyway good to have it.
The kernel got installed ok.
The nvidia drivers still work. Without reinstalling.
Running lilo was no problem.

But I have one question about lilo:
It didnt ask me where I want lilo to install to. I need lilo on the systempartition not in the MBR. I installed it to the systempartition when I installed Slackware64_13. So I guess its somewhere mentioned in the /etc/lilo.conf. Is that correct?
So I dont have toworry in the future, because lilo will always remember to be installed to the system partition not the MBR?

(maybe a n00b question, but I want to find out how it works)

Thanks alot!
 
Old 12-11-2009, 06:40 AM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
That was misleading in the ChangeLog where it said "reinstall lilo", it meant rerun.
 
Old 12-11-2009, 06:45 AM   #12
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,113

Rep: Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185
Quote:
Originally Posted by brianL View Post
It's the same kernel version, with a patch:
old: 2.6.29.6-x86_64-2
new: 2.6.29.6-x86_64-3
yes, but it has been rebuilt so I don't think nvidia drivers will work fully ok because they have been built against the old kernel: if they do it's just a coincidence, I think.
sorry, cannot verify on my slack 'cause i use a custom 2.6.32 kernel.

Last edited by ponce; 12-11-2009 at 06:47 AM.
 
Old 12-11-2009, 06:53 AM   #13
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Well, I've got 6 twirly-whirly desktops in a cube, exploding windows, and all that crap. And there's been no sign of a complaint in the boot up messages.
 
Old 12-11-2009, 08:01 AM   #14
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
For what it's worth, my nvidia driver is also working just fine after the kernel upgrade. I did not have to reinstall the nvidia driver. This includes gaming with games like Nexuiz and Blob Wars.

Last edited by tommcd; 12-11-2009 at 08:04 AM.
 
Old 12-11-2009, 08:33 AM   #15
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 116Reputation: 116
It is as it should be. It's the same kernel, compiled with the same compiler of the same version, there's just a single source line modified. Kernel modules should not require recompilation.
 
  


Reply



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
-current and 12.2 Kernel security update Interject Slackware 21 08-19-2009 10:48 PM
Update from 2.6.25.4-30 to 2.6.25.6-55.fc9.x86_64 causes kernel panic on x61 thorsten becker Fedora 5 06-19-2008 04:52 AM
Linux Kernel Security Update 4487-0 raylhm SUSE / openSUSE 5 10-30-2007 12:42 PM
After kernel security patch update, have two kernals in grub sirius57 SUSE / openSUSE 6 08-30-2007 01:54 AM
Wine & Desktop effects stop working after FC6 kernel update (2.6.1{8,9}) X86_64 mbianchet Fedora 2 01-20-2007 11:49 AM

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

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