LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 12-08-2009, 04:51 AM   #1
f.y
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
Upgrading a slackware 12.1 kernel (2.6.24.5-smp) to a 13 kernel (2.6.29.6-smp)


Hi,

I've been able to manually upgrade a slackware 12.1 kernel to a 13 kernel.

I had to:

- Upgrade the package manager (pkgtools)
- Install xz (utility for xz archives, slackware 13 uses this format for packages)
- Change /etc/fstab to use sda instead of hda
- Change /etc/lilo.conf to use sda instead of hda
- Install the new kernel, modules, source
- Run lilo after booting with a slackware 13 cd (can't run lilo within slackware 12.1 if the lilo configuration is set to use sda devices)

The 2.6.29.6-smp kernel maps sda devices instead of hda devices on the system that i'm upgrading. The 2.6.24.5-smp kernel detects my disks as hda devices.

I'm trying to automate the kernel upgrade by making a slackware package but lilo won't write to the MBR if there are sda devices in the configuration which can't be detected as sda devices on my 2.6.24.5-smp kernel.

I have the following questions:

- Is there a way to upgrade a slackware 12.1 kernel to a 13 kernel without rebooting into a slackware 13 cd?
- Is lilo able to forcibly write to the MBR without checking for existing sda devices?

Thanks in advance.
 
Old 12-09-2009, 10:18 AM   #2
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Rep: Reputation: 94
Quote:
Originally Posted by f.y View Post
Hi,

I've been able to manually upgrade a slackware 12.1 kernel to a 13 kernel.

I had to:

- Upgrade the package manager (pkgtools)
- Install xz (utility for xz archives, slackware 13 uses this format for packages)
- Change /etc/fstab to use sda instead of hda
- Change /etc/lilo.conf to use sda instead of hda
- Install the new kernel, modules, source
- Run lilo after booting with a slackware 13 cd (can't run lilo within slackware 12.1 if the lilo configuration is set to use sda devices)

The 2.6.29.6-smp kernel maps sda devices instead of hda devices on the system that i'm upgrading. The 2.6.24.5-smp kernel detects my disks as hda devices.

I'm trying to automate the kernel upgrade by making a slackware package but lilo won't write to the MBR if there are sda devices in the configuration which can't be detected as sda devices on my 2.6.24.5-smp kernel.

I have the following questions:

- Is there a way to upgrade a slackware 12.1 kernel to a 13 kernel without rebooting into a slackware 13 cd?
- Is lilo able to forcibly write to the MBR without checking for existing sda devices?

Thanks in advance.
maybe giving root disk by using kernel parametters. lilo will ignore the kernel parameters as it does not understand them and completely unrelated to lilo. /usr/src/linux/Documentation/kernel-parameters.txt has a list. you can use it in the lilo boot, too.
 
Old 12-09-2009, 11:34 AM   #3
f.y
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your reply.

The older kernel (2.6.24.5-smp) panics when trying use sda. I also tried passing hda=noprobe as a parameter, this didn't work either.

I know that the slackware 12.1 setup has a kernel called hugesmp.s by default, it does have SATA support right?
 
Old 12-09-2009, 02:15 PM   #4
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 671

Rep: Reputation: 94
Quote:
Originally Posted by f.y View Post
Thanks for your reply.

The older kernel (2.6.24.5-smp) panics when trying use sda. I also tried passing hda=noprobe as a parameter, this didn't work either.
how about this; install lilo using hda, but at the boot pass root=/dev/sda to new kernel.

Quote:
I know that the slackware 12.1 setup has a kernel called hugesmp.s by default, it does have SATA support right?
it should be, it's all in one install kernel
 
  


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
Bootsplash Slackware 12.2 (Kernel 2.6.27.7-smp) Jack128 Slackware 11 02-13-2009 02:32 PM
Non-SMP kernel modules for SMP kernel: Best practice? gargamel Slackware 9 12-29-2008 02:13 PM
SMP vs Non-SMP Kernel questions paulsiu Linux - Kernel 1 05-29-2007 04:58 PM
Hyperthread server goes to kernel panic with SMP kernic, boots ok with non SMP kernel abefroman Linux - Kernel 1 09-15-2006 06:43 PM
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 08:06 AM


All times are GMT -5. The time now is 02:34 AM.

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