LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-17-2004, 02:32 PM   #1
derzok
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Debian, Slackware
Posts: 58

Rep: Reputation: 15
Kernel 2.6.8.1 on slack 10


Ok, I saw a similar post to this elsewhere in the forum but the problem was never fixed (and some of the system specs were quite differnet). I'm using reiserfs3 and slackware 10. I was trying to update to the latest kernel (2.6.8.1) from the default kernel on slack10. Here's what I do:

su
cd /usr/src
wget kernel.org/pub/linux/kernel/v2.6/linux-2.6.8.1.tar.bz2
tar -xjf linux-2.6.8.1.tar.bz2
cd linux-2.6.8.1
make menuconfig

# at this point I selected (what I believe to be) the correct configuration for my computer. *WITH* support for reiserfs

make bzImage
cp /arch/i386/boot/bzImage /boot
cp System.map /boot

vi /etc/lilo.conf

changed my boot from:

#beginss
image = /boot/vmlinuz
root = /dev/hda2
lable = Linux
read-only
#ends

to:

#beginss
image = /boot/bzImage
root = /dev/hda2
lable = Linux
read-only
#ends

Typed "lilo" and get:
Added Linux *
Added Windows

I then rebooted and got this message when booting:

VFS: Cannot open root devide "302" or unknown-block(3,2)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(3,2)

At this point my keyboard locks and I have to hit the reset button. Any ideas?
 
Old 08-17-2004, 02:38 PM   #2
derzok
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Debian, Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
Oh, and a side note: I'm not using any modules. Mostly because I'm not experienced enough with using them that I didn't want to mess around with that. So everything is installed directly into the kernel, no modules.
 
Old 08-17-2004, 04:26 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Does make bzImage work with a 2.6 kernel? I just use make
Sorry I can't see where you've gone wrong but I wish you luck.
 
Old 08-17-2004, 08:59 PM   #4
derzok
Member
 
Registered: Aug 2004
Location: Ohio
Distribution: Debian, Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
Well, I was able to use make bzImage without any trouble, so I assume it works.
 
Old 08-17-2004, 09:17 PM   #5
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
I have a feeling you have to

make modules
make modules_install

as some things are modules whether you like it or not. In any case it will not hurt to do the make modules step... the above two lines are all I do. I don't have slack, but compiling the kernel is much the same in all.

Make bzImage works for 2.6.8.1 and I am using that right now.

Linux version 2.6.8.1-atf (root@shiva.home) (gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)) #1 SMP Sun Aug 15 19:21:51 EST 2004
 
Old 08-18-2004, 12:37 AM   #6
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15
I am getting the same problem. I use the 2.6.6 kernel and it works fine. Did a make oldconfig and said no to everything. No go for 2.6.8. I don't have anything as a module either and every 2.6 kernel works fine this way (1-6). I used:

make oldconfig
make
make modules_install

Any ideas?

btw, I'm using ReiserFS as well.

Last edited by IRIGHTI; 08-18-2004 at 12:39 AM.
 
Old 08-19-2004, 09:54 AM   #7
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
I'm using ReiserFS and the 2.6.8.1 on my laptop without problems.

Here's my filesystem relevant config and part of my lilo.conf
Code:
mike@slaptop:/usr/src/linux$ cat .config |grep -i reiser
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_REISERFS_FS_XATTR is not set
mike@slaptop:/usr/src/linux$
------------------------------------------------
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.8.1
        root = /dev/hda1
        label = slack-2.6.8.1
        read-only
image = /boot/vmlinuz-2.6.7
        root = /dev/hda1
        label = slack-2.6.7
        read-only
image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only

# Linux bootable partition config ends

mike@slaptop:/usr/src/linux$ uname -r
2.6.8.1
mike@slaptop:/usr/src/linux$
Hope this helps.

--Shade
 
Old 09-10-2004, 04:09 PM   #8
germ_e_1
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Ditto here, Had Reiserfs 3.6 running with 2.6.6 and built generic 2.6.8.1 from kernel.org and it can't boot, doesn't recognize the root partition. 2.6.6. still works fine.

Slack 10 (current)
P4 2.8
Suttle St62K
 
Old 09-10-2004, 04:14 PM   #9
germ_e_1
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Guess I will have to tar off the root partition and reformat to ext3. I will leave the rest and see if they work after the systems boots.
 
Old 09-10-2004, 05:10 PM   #10
germ_e_1
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
OOOOooops!!! I don't know what the problem is, but it is not that the partition was ReiserFS. I switched the root partition to ext3 and still have the same problem, i.e. -- get the unknown block at 302 error, but 302 is also what is passed to 2.6.6 and it works fine there, I AM BAFFLED, but I will stay with 2.6.6. for right now. I walked through the 2 .config files and they seem to be as close as I can make them (there are a few new lines in 2.6.8.1) Oh well, giving up to go see if I can patch up the 2.6.6. kernel to run win4lin. My daughter requires that we have IE6 with Outlook express for here F*&^*&^ing school. They have mail and newsreader requirements that are strange enough that I can't get any other tools to configure correctly (needs SSL on News and Uname/Passwd login and SSL + non-standard port for outgoing messages) I am throwing in the towel to configure a kernel for Win4Lin since I have old Office 97 around and plenty of 98SE copies. I hate for her to have to dual boot just to chat with classmates in college (U. of Phoenix on-line school and they are F(*&(*&ing married at the hip to M$Soft apps)


Sigh . . . .
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Slack 10's 2.6.7 kernel packages on Slack 10.1? SocialEngineer Slackware 1 03-05-2005 12:53 PM
2.6.7 Kernel + Slack 10 Sir.Del Slackware 0 07-24-2004 10:33 AM
Slack 10 and kernel 2.6 itsjustme Slackware 4 07-09-2004 05:49 AM
Slack 9.0 kernel in 9.1 Wolfgang67 Linux - Wireless Networking 2 01-16-2004 09:22 AM
slack and kernel 2.4.22 one Slackware 21 09-01-2003 08:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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