Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel options help need
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
Tattooeddude
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 78

PostPosted: Mon Sep 08, 2003 2:37 pm    Post subject: Kernel options help need Reply with quote

What options do I choose for the kernel? I have choosen some that are in the Gentoo install manual- but what other ones do I need? This is the first time I have ever done this- so I'm not sure.

I have scsi support and PPP as well. I'm not sure if my cd drive is scsi or IDE
Back to top
View user's profile Send private message
klarnox
Guru
Guru


Joined: 28 Jan 2003
Posts: 350
Location: Wisconsin, USA

PostPosted: Mon Sep 08, 2003 2:54 pm    Post subject: Reply with quote

The first thing you need to know is exactly what hardware is in your computer. Such as whether your drives are IDE or SCSI, what type of video card you have, sound card, network card, etc... Once you know all that add the options for those items in the kernel.

Then if that works you can start adding options for other functionality that you want.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Mon Sep 08, 2003 2:54 pm    Post subject: Reply with quote

Tattooeddude,

To tell you how to build your kernel we need to know all about your hardware.

You need to build into the kernel answer 'Y' (not module) anything you need to boot the system. That includes anything that the install instructions tell you, like devfs.
System boot things are the filesystems that you use. You mentioned SCSI, the driver for your SCSI card, if you have /boot or the root partition on a SCSI drive. Your IDE driver, if you use IDE.

Modules should be anything you need after you have booted, e.g.sound, network, tvcard, weird filesystems not involved in the boot process etc. and anything you think may be useful.

There is no 'right answer' and you will be lucky if you get it right (or even close) at the first attempt. Take your time, read the help in make menuconf.
If it won't boot, boot the CD and try again.

You will be fiddling with the kernel for a wee while to get one you like.

There is a lot of useful reading in /usr/src/linux/Documents

Regards,

NeddySeagoon
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Tattooeddude
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 78

PostPosted: Mon Sep 08, 2003 3:53 pm    Post subject: Reply with quote

Hi!
Thanks for the replies :D My hardware is

64mb Geforce 2MX Graphics card
Toshiba IDE/ATA DVD drive.
on board sound card. <it does not matter about that just yet!)
No tv card
no network card (yet)
No windose partitions (only the partition I created for Gentoo)
Ext3
Reiserfs
Ext2
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Mon Sep 08, 2003 4:07 pm    Post subject: Reply with quote

Tattooeddude,

Make yourself a pot of coffee and start configuring your first kernel. Its a lot easier to talk you through problems when it doesn't work than it is through the full configure. Then we can concentrate on the problems without discussing the bits that went right.

You can't break anything - the worst that can happen is that your PC won't boot. You can always recover by booting from the CD, going into the chroot environment and going straight to the kernel configure. No reinstall required.

You will find it easier to understand the discussions too, after you have 'had a go'.

Go on ... dip a toe in the water.

Regards,

NeddySeagoon
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Tattooeddude
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 78

PostPosted: Mon Sep 08, 2003 4:27 pm    Post subject: Reply with quote

Hi!
ok..I'm going for it :(
Back to top
View user's profile Send private message
Tattooeddude
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 78

PostPosted: Mon Sep 08, 2003 4:28 pm    Post subject: Reply with quote

Hi!
ok..I'm going for it :(
Back to top
View user's profile Send private message
wolfger
Apprentice
Apprentice


Joined: 09 Jun 2003
Posts: 254
Location: New Baltimore, MI

PostPosted: Mon Sep 08, 2003 4:28 pm    Post subject: Reply with quote

NeddySeagoon wrote:

You can't break anything - the worst that can happen is that your PC won't boot. You can always recover by booting from the CD, going into the chroot environment and going straight to the kernel configure. No reinstall required.

I really wish somebody had told me that when I first installed Gentoo. I had never compiled a kernel before, and it scared the heck out of me. :)

Now, it's more or less old hat. Not intimidating at all.
Good luck on your compile, Tattooeddude.
Back to top
View user's profile Send private message
luugin
n00b
n00b


Joined: 10 May 2003
Posts: 69

PostPosted: Mon Sep 08, 2003 5:56 pm    Post subject: Reply with quote

Very true NeddySeagon. Coffee is the road to success when compiling kernels :)
Back to top
View user's profile Send private message
Tattooeddude
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 78

PostPosted: Mon Sep 08, 2003 6:05 pm    Post subject: Reply with quote

I have never compiled a kernel before either- it scared the heck out of me as well-hopefully everything will be ok.
Back to top
View user's profile Send private message
kaluta
n00b
n00b


Joined: 05 Sep 2002
Posts: 20
Location: Hong Kong

PostPosted: Tue Sep 09, 2003 3:43 pm    Post subject: Read the help Reply with quote

There's help for most options in menuconfig, you should read or at least skim them. It means the first time you compile a kernel it will take for ever to choose all the options (you might need two pots of coffee) but it really helped me to understand how it all fitted together.

There's also some good info in the FAQs in these forums https://forums.gentoo.org/viewtopic.php?t=24626, especially KC11 https://forums.gentoo.org/viewtopic.php?t=58787 which you should probably go through first.
_________________
move along, move along... nothing to see here
Back to top
View user's profile Send private message
semiSfear
Guru
Guru


Joined: 08 Jul 2003
Posts: 302
Location: Adelaide, SA

PostPosted: Tue Sep 09, 2003 4:05 pm    Post subject: Reply with quote

You can also issue the command:

Code:
lspci


To see which chips your mobo got. Also which USB modules/drivers to use (if you wan't to enable USB support of course). The lspci command gives you a very good overview of what hardware you got. And for more verbose info you can also issue the following command:

Code:
lspci -v


If you are not so keen on pc hardware the output of lspci might be a bit confusing. Here is my output of lspci:

Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0e.0 USB Controller: VIA Technologies, Inc. USB (rev 50)
00:0e.1 USB Controller: VIA Technologies, Inc. USB (rev 50)
00:0e.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
00:0f.0 RAID bus controller: Triones Technologies, Inc. HPT366/368/370/370A/372 (rev 05)
00:10.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 23)
00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 23)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4600] (rev a3)


This tells me I got the following hardware:

VIA VT8366 SouthBridge chipset
VIA Apollo KT266/A/333 NorthBridge chipset, in this case I know I got KT333 coz it sez so in my mobo manual :)
Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ network adapter built on the mobo
VIA USB controller
VIA USB 2.0 controller
Triones Technologies HPT366/368/370/370A/372 IDE RAID controller
C-Media Electronics CM8738 soundcard built on the mobo
VIA VT8233A ISA Bridge
VIA VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 IDE Bus
NVIDIA GeForce4 Ti 4600 Graphics card

Now the tricky part is to find the coresponding options when compiling your kernel. First time I compiled my kernel it took me several hours to get the correct options, so just be patient. Look thru all the options in "make menuconfig" and look for similar options as the output of lspci. Good luck! :lol:
_________________
DnB is my religion, Jungle is my church.
Back to top
View user's profile Send private message
Tattooeddude
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 78

PostPosted: Tue Sep 09, 2003 7:58 pm    Post subject: Reply with quote

Hi!
Thanks :D This is the first time I have ever compiled a kernel :roll:
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