LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-10-2004, 08:25 AM   #1
hkctr
Member
 
Registered: Sep 2003
Posts: 106

Rep: Reputation: 15
Kernel 2.6.2-1 problem


I have been using Fedora literally since the first day it was released. I have always compiled my own kernels and have never had any problems. I downloaded the latest 2.6.2-1 kernel and wanted to recompile add reiserfs support, add OSS drivers and remove ALSA drivers, etc. The problem is that during the boot process, the PC freezes at the "Mounting Partitions" part of the install. Any suggestions? Thanks
 
Old 02-10-2004, 12:15 PM   #2
shizzy-t
Member
 
Registered: Dec 2003
Location: Maine/USA
Distribution: Fedora Core, Centos, Solaris
Posts: 34

Rep: Reputation: 15
Have you tried putting in the true path to the partition in /etc/fstab. I've had some trouble with the LABEL= statement that the newer versions of redhat use. Instead of LABEL=/ try just putting in say /dev/hda1 or what ever the partition is that you're trying to use. That usually clears it up for me.
 
Old 02-10-2004, 04:10 PM   #3
hkctr
Member
 
Registered: Sep 2003
Posts: 106

Original Poster
Rep: Reputation: 15
Sorry, the PC freezes when it is "Mounting Local filesystems". All of the other partitions are reiserfs and I have compiled in reiserfs. Works fine with the 2.6.1.138 kernel but the latest is giving me lots of problems. Didn't work with the 2.6.1.156 kernel either.
 
Old 02-12-2004, 09:20 AM   #4
ckozlowski
LQ Newbie
 
Registered: Sep 2003
Location: Northern Virginia
Distribution: Red Hat Linux
Posts: 9

Rep: Reputation: 0
I've been running into a similar issue. I'm using Arjanv's 2.6.2 kernel and compiled it used the following:

xconfig, make ; make modules_install

Upon completion, I reboot using the new kernel, and I get the following:


VFS: Cannot open root device "LABEL=/" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)

The parameters in my grub menu are the same as my 2.6.1 kernel which is working fine. Any idea what suddenly changed in 2.6.2? Did I leave a step out? I read the earlier post on changing LABEL=/ to /dev/hda1, but I'm unsure of where exactly I should change that....thanks in advance for the help...=)
 
Old 02-12-2004, 01:40 PM   #5
shizzy-t
Member
 
Registered: Dec 2003
Location: Maine/USA
Distribution: Fedora Core, Centos, Solaris
Posts: 34

Rep: Reputation: 15
When linux boots the kernel reads the file
/etc/fstab
(mine looks like this)

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

This file is responsible for pointing the raw device say /dev/hda1 to a mount point. / for example. Except in Redhat and Fedora they use the disk labels instead of the raw device.

If you're up and running and you open a shell just type in 'mount' and you'll see the raw mappings.
(my output)

/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda5 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev,user=matt)

You can see that on my system /dev/hda2 is mounted on /

What always seems to screw up when I'm compiling a new kernel is that stupid LABEL=/ statement in the /etc/fstab file. So I just type mount find out what the true device is and not the LABEL and I replace the entry in my /etc/fstab file. It would look like this.

/dev/hda2 / ext3 defaults 1 1

Also grub often has a LABEL=/ entry that you may want to change to the raw device. This entry would be in /boot/grub/grub.conf
and would look something like this

kernel /vmlinuz-2.4.20-28.9 ro root=LABEL=/ hdc=ide-scsi

try changing to something like

kernel /vmlinuz-2.4.20-28.9 ro root=/dev/hda2 hdc=ide-scsi

I think that after a recompile the new file system can't read the disk labels for some reason and have to be pointed the real device.

Hope this helps.
 
Old 02-13-2004, 12:02 AM   #6
sstoev
LQ Newbie
 
Registered: Feb 2004
Location: Sofia Bulgaria, but currently in Boston
Distribution: Debian Linux
Posts: 2

Rep: Reputation: 0
I am using a Debian system and I had literaly the same error messages as ckozlowski
when I decided to upgrade to the 2.6.2 kernel. I duno much but what helped in my situation was to use *only* ext2 file system and to disable the ext3 journal file system whatsoever. This may sound strange since ext3 is supposed to be backwards compatible but that's what helped me get going...
 
Old 02-13-2004, 07:13 AM   #7
ckozlowski
LQ Newbie
 
Registered: Sep 2003
Location: Northern Virginia
Distribution: Red Hat Linux
Posts: 9

Rep: Reputation: 0
Shizzy,
I followed your directions and it worked great. Oddly enough though, when I went to compile a custom kernel, it didn't work. But Arjanv's stock kernel worked fine once your instructions were taken into account. Thanks much!

~Chris
 
Old 02-13-2004, 07:16 AM   #8
ckozlowski
LQ Newbie
 
Registered: Sep 2003
Location: Northern Virginia
Distribution: Red Hat Linux
Posts: 9

Rep: Reputation: 0
sstove,
Journal File System = JFS right? Odd, I think I might have disabled support for that or something. Sounds familiar, I think I heard about something being incompatable with it and 2.6 (along with ReiserFS?) I'm just shooting from the hip here. I'm not sure what to say to that, since I'm working ok with 2.6 and ext3 now. But then again I've never worked with Debian before..I'll keep that note though. Thanks!
 
  


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
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
kernel 2.6.9 Kernel panic problem salahuddin_66 Slackware 2 08-11-2007 03:17 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 08:48 AM


All times are GMT -5. The time now is 11:27 PM.

Main Menu
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