LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-22-2003, 02:52 PM   #16
oopicmaster
Member
 
Registered: Sep 2003
Posts: 154

Original Poster
Rep: Reputation: 30

Ive compiled every option in the IDE chipset menu,

Now Im back to the original error message.

Is there a way for me to view all of the messages that print out during a good boot? If I could do this, then I could see everything that gets loaded with 2.4.22. Maybe its stored in a log file somewhere?
 
Old 12-22-2003, 03:19 PM   #17
oopicmaster
Member
 
Registered: Sep 2003
Posts: 154

Original Poster
Rep: Reputation: 30
It seems like the kernel is not recognizing the root partition as reiser, and loading the reiser fs driver. Im pretty sure that this is the point of failure. This driver is compiled into the kernel. Is there a way that I can specifically tell the kernel that the fs is reiser, instead of having the kernel attempt to figure it out via detection?

Last edited by oopicmaster; 12-22-2003 at 03:32 PM.
 
Old 12-22-2003, 04:58 PM   #18
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
To view your boot messages try this:
dmesg | more

What does this command return?
rdev /boot/vmlinuz-2.6.0
 
Old 12-22-2003, 05:16 PM   #19
oopicmaster
Member
 
Registered: Sep 2003
Posts: 154

Original Poster
Rep: Reputation: 30
rdev /boot/vmlinuz-2.6.0 returns the same as rdev /boot/vmlinuz-2.4.22

which is

Root device /dev/hda7


Ive noticed that the 2.4.22 kernel spits out

NET:..... somthing or other...

then

FAT: bogus logical sector size 12851


The 2.6.0 kernel spits out the NET message, but doesnt spit out the FAT message during boot.

Last edited by oopicmaster; 12-22-2003 at 05:17 PM.
 
Old 12-22-2003, 06:41 PM   #20
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
What is /dev/hda6? You have it listed as being ext2. Do you have ext2 built into your kernel?

<edit> Never mind, I see you have ext2 built in the kernel. Could you post your lilo.conf and also the result of this command:
ls -l /boot

BTW what distro are you using? Debian? Does it put kernels in /boot or /?

Last edited by /bin/bash; 12-22-2003 at 06:44 PM.
 
Old 12-22-2003, 09:53 PM   #21
oopicmaster
Member
 
Registered: Sep 2003
Posts: 154

Original Poster
Rep: Reputation: 30
My Kernels are in /boot which is /dev/hda6

The kernel recognizes this device but doesnt recognize / or hda7
 
Old 12-22-2003, 10:14 PM   #22
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Do you have a symlink to new System.map-2.6.0? Don't know if it will help.

cd /boot
rm -f System.map
ln -s System.map-2.6.0 System.map

Then I think you have to rerun lilo.
 
Old 12-23-2003, 12:50 AM   #23
oopicmaster
Member
 
Registered: Sep 2003
Posts: 154

Original Poster
Rep: Reputation: 30
OK....

New development...

By manipulating some stuff in the kernel configuration... I have gotten to another point....

I boots passed the other error and I am now getting to a point where it prints the following:

fsck.ext2: No such file or directory while trying to open /dev/hda6

/dev/hda6:
The superblock could not be read or does not describe a correct ext2 filesystem... yadda, yadda, yadda...

Then

fsck failed. Please repair manually and reboot. The root filesystem is currently mounted read-only....

Then I get a:

Give root password to login:
 
Old 12-23-2003, 01:06 AM   #24
oopicmaster
Member
 
Registered: Sep 2003
Posts: 154

Original Poster
Rep: Reputation: 30
AHA!!!

A bit more tinkering and Ive got a login prompt... In addition to some other settings I had to turn on the Ext2 Extended attributes to get the kernel to recognize /dev/hda6.

MAN that was a pain in the keester...

Now all I have to do is figure out what I DONT need to compile... process of elimination

Thanks all...
 
Old 12-23-2003, 06:57 AM   #25
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
Weird - you must have done something to the filesystem with your 2.4.22 kernel that 2.6.0 doesn't like. Was this 2.4.22 kernel a vendor kernel?
 
Old 12-23-2003, 10:19 AM   #26
oopicmaster
Member
 
Registered: Sep 2003
Posts: 154

Original Poster
Rep: Reputation: 30
No... the 2.4.22 wasnt a vendor kernel... I downloaded it... like 2.6.0 from kernel.org

The original kernel (I forget the version) was from a SUSE 7.3 distribution.

Now I have to get the network, and everything else running again, but at least I can log in....

BTW

One of the things I did was to select EVERY IDE chipset.... How can I go about finding out exactly which one the kernel is actually using. This way I can drop all the others.
 
Old 12-23-2003, 12:11 PM   #27
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
One of the things I did was to select EVERY IDE chipset.... How can I go about finding out exactly which one the kernel is actually using. This way I can drop all the others.

Look in /proc/ide, I have a via mobo and a file /proc/ide/via. Also cat /proc/ide/drivers will tell you which ide drivers are being used.
ide-floppy version 0.99.newide
ide-cdrom version 4.59-ac1
ide-disk version 1.18
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware is not running in Kernel 2.6.12.5 hmtbooster Slackware 6 09-05-2005 11:16 AM
how to cofig the kernel source just as the kernel running? journaler Linux - Software 6 01-02-2005 09:11 AM
Problem getting XFree86 4.3.0.1 running, debian "sarge" 2.6.6 kernel Motivez Linux - Software 9 06-08-2004 02:45 PM
How can I see what Kernel version I am running? carlosinfl Linux - Newbie 3 05-28-2004 01:47 PM
running new kernel infamous41md Linux - Newbie 1 04-05-2003 11:53 PM

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

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