LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-29-2005, 05:06 PM   #1
rrecchia
LQ Newbie
 
Registered: May 2005
Posts: 6

Rep: Reputation: 0
2.6.10 upgrade


Hi Everyone,

I recently followd the instruction on upgrading to the 2.6 kernel through installpkg using the 2.6.10 kernel under the testing directory on CD #2

All went well untill i rebooted and got this message

/boot/initrd.gz: Loading kernel modules from initrd image
Using /lib/modules/2.6.10/jbd.ko
Using /lib/modules/2.6.10/ext3.ko
mount: Mounting /dev/sda2 on /mnt failed: No such device or address
ERROR: mount returned error code 1. Trouble ahead
mount: Mounting /dev/sda2 on /mnt failed: Invalid arguemnt
mount: Mounting /dev/sda2 on /mnt failed: Invalid arguemnt
/boot/initrd.gz: exiting
pivot_root: pivot_root: Device or resource busy

Then it just drops me into the # prompt and i basically cant do anything. When i try to boot back into the 2.4.29 kernel I get

Kernel Panic - not syncing VFS: Unable to mount root fs on unknown block(8,2) What when wrong here

I folllowd this message posted by halo14

Installing 2.6 kernel from Slackware Disc-2 halo14 9 261
Yesterday 10:45 PM
by danny



I had both enties on lilo.conf the same way the link above showed. I dont mind reinstalling the system but I need SMP support as I have a dual processor system and the 2.4.29 kernel only shows one processor.
 
Old 05-29-2005, 06:01 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
It seems you've a sata drive and the default Slackware kernel doesn't not support it. Is there any chance that before upgrading you selected sata.i kernel during installation?
 
Old 05-29-2005, 06:02 PM   #3
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
The kernel apparently doesn't have support for your scsi adapter. Do you remember which kernel you used at install time? Probably bare.s, but you had a few choices.

If you can figure that out, you can boot your system using the install disc as a rescue disc. At the lilo prompt, type:
Code:
bare.s root=/dev/sda2
Replacing bare.s with the appropriate kernel, and /dev/sda2 with the appropriate partition if necessary.

Once you're able to get back, you can actually copy the bare.s or whichever kernel over to your /boot, and update lilo to use that. That, at least, should get you booting without needing the CD. Once you're able to boot without the CD, I'd suggest you go to http://kernel.org/ and download the latest 2.6.11.11 kernel, so you can compile it with support for your SCSI adapter.
 
Old 05-29-2005, 06:03 PM   #4
rrecchia
LQ Newbie
 
Registered: May 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I actually have scsi drives and i select adaptec.s during the install
 
Old 05-29-2005, 06:06 PM   #5
rrecchia
LQ Newbie
 
Registered: May 2005
Posts: 6

Original Poster
Rep: Reputation: 0
i have tried to install the kernel by hand by i keep getting errors - the error at this time I dont remember but i remember one of the solution was to change a file i belive named ksloyyms.c something under the /usr/src/linux-kernel directory. The advise was to change a number but that did not work at all so thats why im doing it this way-
 
Old 05-29-2005, 06:31 PM   #6
rrecchia
LQ Newbie
 
Registered: May 2005
Posts: 6

Original Poster
Rep: Reputation: 0
The file in question is kallsysms.c i get erros on that file and did a google search and was told to adjust a entry in there but that did not help
 
Old 05-29-2005, 08:00 PM   #7
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Does it boot at all if you use the "adaptec.s root=/dev/sda2"?

You can skip installing that kernel manually and go straight to downloading and installing 2.6.11 as long as you can still get online. I just suggested that to save you a step if the new kernel doesn't work right first go.
 
Old 05-30-2005, 05:43 PM   #8
rrecchia
LQ Newbie
 
Registered: May 2005
Posts: 6

Original Poster
Rep: Reputation: 0
This is the error i always get when i type make when im trying to recompile the kernel


Inconsistent kallsyms data
Try setting CONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Error 1
 
Old 06-22-2005, 04:45 PM   #9
jackripper2988
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
2.6.10 upgrade for rrecchia

Hi,

i recently use kernel packages 2.6.10 under the testing directory on CD#2 to
upgrade my Slackware10.1 kernel 2.4.29, i face the same problem of rrecchia.

However, i solved it no need to use kernel 2.6.11. The problem is when i use
mkinitrd i haven't load the driver of my scsi controller, in many instructions
they just load jbd and ext3, it was because they supposed you are using ide but
scsi, so if you are using scsi you must load the driver of your scsi controller,
for example, my scsi controller is AHA2940, so the driver should be aic7xxx,
the mkinitrd should be:

mkinitrd -c -k 2.6.10 -m aic7xxx:jbd:ext3 -f ext3 -r /dev/sda1

if you use other scsi controller, i think you can find a suitatable driver in
/lib/modules/2.6.10/kernel/drivers, after you reapply mkinitrd, you can view
the load_kernel_modules file in initrd-tree dir, the aic7xxx.ko should be at the first line, pls remember reapply lilo to update your lilo.conf, that's all,
good luck!
 
Old 06-22-2005, 05:04 PM   #10
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
I dont mind reinstalling the system but I need SMP support as I have a dual processor system and the 2.4.29 kernel only shows one processor.
I never bothered with the Slackware 2.6 kernel package, but if it's the same as the 2.4 Slackware kernel, then SMP is still disabled. SMP support is not a new feature, it is a disabled feature. Upgrading via the package:

a) Introduces the need for mkinitrd
b) Won't solve the problem

Just recompile by hand. There may be a steeper learning curve, but once you can compile (well) by hand, you will see that it is really very easy.
 
  


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
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
anyone upgrade from 9.1/9.2 to 10.0? (interested in upgrade results) jamesgf Mandriva 9 04-30-2004 05:52 PM
upgrade RH8 to RH9 - upgrade or clean install PAB Linux - General 0 03-13-2004 03:55 PM
Error trying to dist-upgrade or upgrade KDE prophet621 Linux - Newbie 0 09-10-2003 04:17 PM

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

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