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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-17-2004, 02:32 PM
|
#1
|
Member
Registered: Aug 2004
Location: Ohio
Distribution: Debian, Slackware
Posts: 58
Rep:
|
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?
|
|
|
08-17-2004, 02:38 PM
|
#2
|
Member
Registered: Aug 2004
Location: Ohio
Distribution: Debian, Slackware
Posts: 58
Original Poster
Rep:
|
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.
|
|
|
08-17-2004, 04:26 PM
|
#3
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
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.
|
|
|
08-17-2004, 08:59 PM
|
#4
|
Member
Registered: Aug 2004
Location: Ohio
Distribution: Debian, Slackware
Posts: 58
Original Poster
Rep:
|
Well, I was able to use make bzImage without any trouble, so I assume it works.
|
|
|
08-17-2004, 09:17 PM
|
#5
|
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672
Rep:
|
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
|
|
|
08-18-2004, 12:37 AM
|
#6
|
Member
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121
Rep:
|
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.
|
|
|
08-19-2004, 09:54 AM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
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
|
|
|
09-10-2004, 04:09 PM
|
#8
|
LQ Newbie
Registered: Sep 2004
Posts: 3
Rep:
|
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
|
|
|
09-10-2004, 04:14 PM
|
#9
|
LQ Newbie
Registered: Sep 2004
Posts: 3
Rep:
|
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.
|
|
|
09-10-2004, 05:10 PM
|
#10
|
LQ Newbie
Registered: Sep 2004
Posts: 3
Rep:
|
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 . . . .
|
|
|
All times are GMT -5. The time now is 02:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|