View previous topic :: View next topic |
Author |
Message |
suhlhorn Tux's lil' helper
Joined: 22 Jun 2003 Posts: 76 Location: Miami, FL
|
Posted: Sat Nov 01, 2003 3:53 pm Post subject: development-sources 2.6.0-test9 configuration |
|
|
Having trouble building a 2.6.0-test9 kernel from development-sources. When I run 'make menuconfig' , many ciritical options are not available. In the dialog several options including 'Input device drivers' have a '----' in front of them, rather than '[ ]' or '< >', i.e.- I can't select them to compile in the kernel. What gives???
I'm trying to use a 2.6 kernel because I need the SATA support, but maybe I should just use ac-sources. Any thoughts??
-stephen |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Nov 01, 2003 4:04 pm Post subject: |
|
|
The '---' means they are required and cannot be deselected. |
|
Back to top |
|
|
suhlhorn Tux's lil' helper
Joined: 22 Jun 2003 Posts: 76 Location: Miami, FL
|
Posted: Sat Nov 01, 2003 5:49 pm Post subject: '----' |
|
|
Ahh, thanks.
That's strange though. I haven't been able to build a bootable kernel. Each time I get error messages with 'kernel panic: unable to mount root fs.' My root is reiserfs and I included reiserfs support in the kernel. I can't figure out why the kernel won't build. Some other details can be found in this post:
https://forums.gentoo.org/viewtopic.php?t=98531&highlight=
Any ideas?
TIA
-stephen |
|
Back to top |
|
|
kevmille Guru
Joined: 26 Jul 2003 Posts: 311 Location: Ho Chi Minh City (Saigon), Vietnam
|
Posted: Sat Nov 01, 2003 8:07 pm Post subject: |
|
|
I had the same problem last week when I compiled the 2.6 test kernel. Make sure that reiserfs is set at "Y" not as modules.
Also, CONFIG_DEVFS_FS needs to be set as "Y" under pseudo filesystems.
I got this help from the Gentoo User mailing list. Your kernel should hopefully boot now. _________________ My Company: Hakata Consulting |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Nov 01, 2003 11:16 pm Post subject: |
|
|
All the kernel options for your root device need to be compiled in as well (not modules).
Code: | Device Drivers --->
SCSI device support --->
<*> SCSI device support
<*> SCSI disk support
SCSI low-level drivers --->
[*] Serial ATA (SATA) support
<*> Intel PIIX/ICH SATA support |
|
|
Back to top |
|
|
suhlhorn Tux's lil' helper
Joined: 22 Jun 2003 Posts: 76 Location: Miami, FL
|
Posted: Mon Nov 03, 2003 1:31 pm Post subject: |
|
|
Thanks for the suggestions; still getting kernel panic, but now I have some different boot messages:
Code: | RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (-1 != 32768) 4194304
VFS: Cannot open root device "hda3" or unknown-block(0,0) |
I built in DEVFS and reiserfs support (not modules).
I was able to build a bootable kernel by running genkernel without the --config option. There were some missing modules like eth0, but at least it booted from my root device, so I know there isn't a hardware problem. Which kernel options am I missing?
-stephen |
|
Back to top |
|
|
jaska Bodhisattva
Joined: 06 Jun 2003 Posts: 725 Location: Finland
|
Posted: Mon Nov 03, 2003 1:50 pm Post subject: |
|
|
Did you make sure to put Mount DEVFS at boot right under it? I forgot to do that once, really pissed me off because I did not know what the problem was :/ |
|
Back to top |
|
|
gen2newB Apprentice
Joined: 23 Sep 2003 Posts: 150 Location: Fall River, MA.
|
Posted: Mon Nov 03, 2003 2:11 pm Post subject: |
|
|
I have the same problem with the kernel not able to mount fs but with ext3. Would the same apply here, that i didn't load DEVFS in the kernel? |
|
Back to top |
|
|
suhlhorn Tux's lil' helper
Joined: 22 Jun 2003 Posts: 76 Location: Miami, FL
|
Posted: Mon Nov 03, 2003 9:09 pm Post subject: |
|
|
Jaska-
I did put mount DEVFS in the config. Any other ideas?
I may go ahead and try to build ac-sources (2.4.22). I think there is good SATA support in there.
-stephen |
|
Back to top |
|
|
suhlhorn Tux's lil' helper
Joined: 22 Jun 2003 Posts: 76 Location: Miami, FL
|
Posted: Fri Nov 07, 2003 10:01 pm Post subject: |
|
|
Have made much progress. The problem was in grub.conf; I had "root=/dev/hda3" on the kernel line, but it seems that the drive gets renamed to sda3 after the SATA driver is loaded. Now I can boot up to init, but then I get:
Code: |
* Mounting proc at /proc
* No /sys to mount sysfs needed in 2.5+ kernels!
* Starting devfsd...
* Activating (possible) swap...
* Remounting root filesystem read-only (if-necessary)...
* Checking root filesystem...
Failed to open the filesystem.
blah, blah, blah
Warning... fsck.reiserfs for device /dev/hda3 exited with signal 6.
* Filesystem couldn't be fixed :(
|
I'm them prompted for root password for maintenance.
So, what is /sys and sysfs and why don't I have it?
And, why is fsck looking for root at hda3 instead of sda3?
-stephen |
|
Back to top |
|
|
theyneverknew2 n00b
Joined: 06 Nov 2003 Posts: 23
|
Posted: Fri Nov 07, 2003 10:14 pm Post subject: |
|
|
sysfs is a new thing in the 2.6.x kernels not sure exactly what its for but just do a mkdir /sys as root and you should get rid of that error. Im not sure about the fsck error though. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Nov 07, 2003 11:38 pm Post subject: |
|
|
Fixing /etc/fstab (from hda3 to sda3) should take care of the fsck error message. |
|
Back to top |
|
|
|