Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How should I configure the kernel??HELP!!
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
who is Jackson
n00b
n00b


Joined: 10 Feb 2012
Posts: 19

PostPosted: Fri Feb 17, 2012 12:53 pm    Post subject: How should I configure the kernel??HELP!! Reply with quote

I installed gentoo in the vmplayer several day .But when I tried to install in my mobile hard disk for HP g4-1057tu,it always failed.
When booted it would go into blackscreen soon,although the same configuration in the vmplayer worked well.
Here is the cpuinfo:
Code:
processor   : 0
vendor_id   : GenuineIntel
cpu family   : 6
model      : 42
model name   : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
stepping   : 7
microcode   : 0x18
cpu MHz      : 2294.860
cache size   : 3072 KB
fpu      : yes
fpu_exception   : yes
cpuid level   : 13
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt xsave avx hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips   : 4589.72
clflush size   : 64
cache_alignment   : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family   : 6
model      : 42
model name   : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
stepping   : 7
microcode   : 0x18
cpu MHz      : 2294.860
cache size   : 3072 KB
fpu      : yes
fpu_exception   : yes
cpuid level   : 13
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt xsave avx hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips   : 4589.72
clflush size   : 64
cache_alignment   : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family   : 6
model      : 42
model name   : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
stepping   : 7
microcode   : 0x18
cpu MHz      : 2294.860
cache size   : 3072 KB
fpu      : yes
fpu_exception   : yes
cpuid level   : 13
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt xsave avx hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips   : 4589.72
clflush size   : 64
cache_alignment   : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family   : 6
model      : 42
model name   : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
stepping   : 7
microcode   : 0x18
cpu MHz      : 2294.860
cache size   : 3072 KB
fpu      : yes
fpu_exception   : yes
cpuid level   : 13
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt xsave avx hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips   : 4589.72
clflush size   : 64
cache_alignment   : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

lspci -k:
Code:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
   Subsystem: Hewlett-Packard Company Device 166d
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
   Subsystem: Hewlett-Packard Company Device 166d
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
   Subsystem: Hewlett-Packard Company Device 166d
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
   Subsystem: Hewlett-Packard Company Device 166d
   Kernel driver in use: ehci_hcd
   Kernel modules: ehci-hcd
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
   Subsystem: Hewlett-Packard Company Device 166d
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
   Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
   Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
   Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
   Subsystem: Hewlett-Packard Company Device 166d
   Kernel driver in use: ehci_hcd
   Kernel modules: ehci-hcd
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
   Subsystem: Hewlett-Packard Company Device 166d
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
   Subsystem: Hewlett-Packard Company Device 166d
   Kernel driver in use: ahci
   Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
   Subsystem: Hewlett-Packard Company Device 166d
01:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
   Subsystem: Hewlett-Packard Company U98Z062.12 802.11bgn Wireless Half-size Mini PCIe Card
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
   Subsystem: Hewlett-Packard Company Device 166d
   Kernel driver in use: r8169
   Kernel modules: r8169
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader (rev 01)
   Subsystem: Hewlett-Packard Company Device 166d

lspci:
Code:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader (rev 01)


Last edited by who is Jackson on Fri Apr 20, 2012 1:28 pm; edited 2 times in total
Back to top
View user's profile Send private message
audiodef
Advocate
Advocate


Joined: 06 Jul 2005
Posts: 4950

PostPosted: Fri Feb 17, 2012 4:16 pm    Post subject: Reply with quote

First, kernel configs are LONG, so use pastebin or something similar.

Second, please check out the "seeds mirror" link in my sig. Even if it doesn't directly solve your problem, reading the kernel seed guide and using a seed will vastly improve your kernel. :wink:
_________________
Gentoo Studio: http://gentoostudio.org
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Linux 'Tude Tees: http://skreened.com/geektudetees

A cloud is evaporated water in the sky, thanks.
Back to top
View user's profile Send private message
who is Jackson
n00b
n00b


Joined: 10 Feb 2012
Posts: 19

PostPosted: Fri Feb 17, 2012 4:27 pm    Post subject: Reply with quote

Thank you for your advice,because the livecd can't support the wifi of my laptop,I have to use "cat /proc/cpuinfo > /usr/cpuinfo " to save the information of those and then switched to windows to post it.
Back to top
View user's profile Send private message
who is Jackson
n00b
n00b


Joined: 10 Feb 2012
Posts: 19

PostPosted: Fri Feb 17, 2012 4:29 pm    Post subject: Reply with quote

one more question:can't gentoo install in the mobile hard disk?
Back to top
View user's profile Send private message
mimosinnet
Guru
Guru


Joined: 10 Aug 2006
Posts: 505
Location: Barcelona, Spain

PostPosted: Thu Apr 19, 2012 3:46 am    Post subject: Reply with quote

who is Jackson wrote:
one more question:can't gentoo install in the mobile hard disk?


It is possible to install gentoo in a mobile hard disk. I have installed gentoo in a pen-drive. You will have to take care of the boot sequence (as you would do with a pen drive). Also, it would be nice if you edit your first message and delete all the kernel options: it is difficult to arrive to the end of the thread, as audiodev has pointed out.

Cheers!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Thank the community answering other people's post, specially those unanswered.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Thu Apr 19, 2012 5:11 am    Post subject: Reply with quote

Quote:
the livecd can't support the wifi of my laptop


You might want to try systemrescuecd - it has better networking support

http://www.sysresccd.org/SystemRescueCd_Homepage

Good Luck :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
who is Jackson
n00b
n00b


Joined: 10 Feb 2012
Posts: 19

PostPosted: Fri Apr 20, 2012 1:29 pm    Post subject: Reply with quote

mimosinnet:
OK,i did it~
Back to top
View user's profile Send private message
cld71
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2005
Posts: 126

PostPosted: Sun Apr 22, 2012 2:32 am    Post subject: config.gz and flags Reply with quote

When even I install a new Gentoo system I always execute `zcat /proc/config.gz >> /etc/kernels/config` from the Gentoo boot minimal ISO CD I am installing from, and later use the config file as the base of my first genkernel configuration of the kernel.
And I also execute `more /proc/cpuinfo |grep flags>>/etc/make.conf` then change the "flags :" to "USE=".
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1931
Location: Zurich, Switzerland

PostPosted: Sun Apr 22, 2012 11:05 am    Post subject: Reply with quote

Quote:
And I also execute `more /proc/cpuinfo |grep flags>>/etc/make.conf` then change the "flags :" to "USE=".

What exactly are you trying to achieve with that command? USE-flags (in general) have absolutely nothing to do with CPU flags.
And those few that do, can normally handled by hand: mmx, sse, sse2 (provided that they are not already covered by the profile).
ok - 3dnow needs a little work.

V.
_________________
read the portage output!
If my answer is too short, just ask for an explanation.
Back to top
View user's profile Send private message
Sven Vermeulen
Developer
Developer


Joined: 29 Aug 2002
Posts: 1340
Location: Mechelen, Belgium

PostPosted: Sun Apr 22, 2012 11:15 am    Post subject: Reply with quote

I wrote an extensive chapter on Configuring a Linux Kernel once which might help you in your quest.
_________________
Please add "[solved]" to the initial topic title when it is solved. TIA.
Linux Sea (PDF), an online e-book on Gentoo Linux
Back to top
View user's profile Send private message
cld71
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2005
Posts: 126

PostPosted: Sun Apr 22, 2012 11:12 pm    Post subject: Reply with quote

Quote:
What exactly are you trying to achieve with that command?

Just makes it easier. Then you don't have to go looking for them all. And the ones that aren't part of USE-flags Gentoo just ignores. Also with more advance CPU's more and more CPU-flags are being used in USE-flags like sse3.
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4117
Location: Houston, Republic of Texas

PostPosted: Mon Apr 23, 2012 1:39 am    Post subject: Reply with quote

Sven Vermeulen wrote:
I wrote an extensive chapter on Configuring a Linux Kernel once which might help you in your quest.


just adding a "++" for this documentation.
very good reading for kernel configuring newbies, and just in general.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1931
Location: Zurich, Switzerland

PostPosted: Mon Apr 23, 2012 6:53 am    Post subject: Reply with quote

cld71 wrote:
Quote:
What exactly are you trying to achieve with that command?

Just makes it easier. Then you don't have to go looking for them all. And the ones that aren't part of USE-flags Gentoo just ignores. Also with more advance CPU's more and more CPU-flags are being used in USE-flags like sse3.
I just though so.
But exactly sse3 will not be covered by that method, as it is called pni on the cpu. and if you are referring to ssse3, that is another flag.

V.
_________________
read the portage output!
If my answer is too short, just ask for an explanation.
Back to top
View user's profile Send private message
who is Jackson
n00b
n00b


Joined: 10 Feb 2012
Posts: 19

PostPosted: Tue Apr 24, 2012 3:31 pm    Post subject: Reply with quote

Thanks all~I had solved it ~
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