Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-17-2005, 05:42 AM   #1
LQ Newbie
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Problem going from kernel version 2.4 to 2.6 - SATA related?

edit 2 or 3:
I figured it out. It was the fstab file. I was just hesitant to do so, as I am pretty sure 2.4 will not boot anymore, unless I change it back.

Alright. I have a Dell Inspiron 6000D. I am dual-booting between Windows XP Pro and Debian Sarge. I am running the 2.4 kernel. My goal is to upgrade to the 2.6 kernel for better support of my wireless and network cards and for a few other reasons. I have so far been unable to get this to work. Normally I would have kept at it, but due to being new to linux in general I have no idea where to even begin in figuring out what is wrong. Below is a little journal I kept of my sixth attempt at this.

Due to me having under 5 posts, I can't actually post the URL. However if you google the following
"rob davey" debian inspiron 6000
you will find the website I refer to below.

1)adduser myself to /usr/src
2)Untar the kernel (edit: from the site) to /usr/src/linux-
3)used the kernel config here: {see the top} as a base. He has a different video card, but the laptop seems to mostly the same configuration.
4)I then ran make oldconfig to set the new options
5)I then ran make xconfig to set:
6)I then backed up my .config file
7)I then ran 'make-kpkg clean'
8)I then ran 'make-kpkg --initrd --append-to-version=-attempt6 kernel_image' as root. All looked good.
9)I then went 'cd /usr/src' and ran 'dpkg -i kernel-image-'
10)As I have gotten no apparent errors so far, I went 'gedit /boot/grub/menu.lst' and changed 'kernel /vmlinuz- root=/dev/hda5 ro' to 'kernel /vmlinuz- root=/dev/sda5 ro'. I saved the file and exited.
11)I then restarted the computer and selected my new kernel in grub
12)I then get many error messages quite fast. They all go along the same lines as:
fsck.ext3: No such file or directory while trying to open /dev/hda8
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and yuo might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>
If I do not change hda to sda as above, it goes for a little while and then kernel panics, talking about not finding /dev/console.

My use of sda instead of hda resulted from reading this page: {same as above}

My current thoughts on what is wrong:
-I need to mess around with fstab? Change all the references from hdaX to sdaX?
-I am just horribly messing this process up or missing a step...
-The configuration file I used has something messed up in it that is messing up the kernel I compile?

On a semi-related topic: When I run the make-kpkg kernel_image modules_image command, what exactly does the modules_image part do? I am assuming it builds whatever I have marked as modules in my kernel image. Does it output something like another deb file and do I need to do something with it? Does it populate the /lib/modules/ folder for the kernel automatically?
edit: I also made a 7th attempt using the unstable sources from the debian website. I got further, I think, but it got stuck on modprobe because it couldn't find any modules. I did not keep track of this attempt and I am not sure what all happened besides it not working... Perhaps I should keep at using the debian source? Maybe I will try to use the precompiled linux-image...

Last edited by Elbaron; 08-17-2005 at 06:45 PM.


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
AIX Version history & related BlckHawk76 AIX 5 08-28-2005 03:29 PM
Can somebody please solve my SATA problem?(kernel 2.6) Bultot Linux - Hardware 13 02-15-2005 05:06 PM
SATA problem with kernel 2.6.9 Zolex Debian 6 11-15-2004 06:46 AM
2.6.8-gentoo-r3 Kernel Sata Problem blackphiber Linux - General 2 09-27-2004 07:01 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration