Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
development-sources 2.6.0-test9 configuration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
suhlhorn
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 76
Location: Miami, FL

PostPosted: Sat Nov 01, 2003 3:53 pm    Post subject: development-sources 2.6.0-test9 configuration Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Nov 01, 2003 4:04 pm    Post subject: Reply with quote

The '---' means they are required and cannot be deselected.
Back to top
View user's profile Send private message
suhlhorn
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 76
Location: Miami, FL

PostPosted: Sat Nov 01, 2003 5:49 pm    Post subject: '----' Reply with quote

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
View user's profile Send private message
kevmille
Guru
Guru


Joined: 26 Jul 2003
Posts: 311
Location: Ho Chi Minh City (Saigon), Vietnam

PostPosted: Sat Nov 01, 2003 8:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Nov 01, 2003 11:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
suhlhorn
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 76
Location: Miami, FL

PostPosted: Mon Nov 03, 2003 1:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
jaska
Bodhisattva
Bodhisattva


Joined: 06 Jun 2003
Posts: 725
Location: Finland

PostPosted: Mon Nov 03, 2003 1:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
gen2newB
Apprentice
Apprentice


Joined: 23 Sep 2003
Posts: 150
Location: Fall River, MA.

PostPosted: Mon Nov 03, 2003 2:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
suhlhorn
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 76
Location: Miami, FL

PostPosted: Mon Nov 03, 2003 9:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
suhlhorn
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 76
Location: Miami, FL

PostPosted: Fri Nov 07, 2003 10:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
theyneverknew2
n00b
n00b


Joined: 06 Nov 2003
Posts: 23

PostPosted: Fri Nov 07, 2003 10:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Nov 07, 2003 11:38 pm    Post subject: Reply with quote

Fixing /etc/fstab (from hda3 to sda3) should take care of the fsck error message.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum