| View previous topic :: View next topic |
| Author |
Message |
who is Jackson n00b

Joined: 10 Feb 2012 Posts: 19
|
Posted: Fri Feb 17, 2012 12:53 pm Post subject: How should I configure the kernel??HELP!! |
|
|
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 |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4949
|
Posted: Fri Feb 17, 2012 4:16 pm Post subject: |
|
|
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.  _________________ 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 |
|
 |
who is Jackson n00b

Joined: 10 Feb 2012 Posts: 19
|
Posted: Fri Feb 17, 2012 4:27 pm Post subject: |
|
|
| 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 |
|
 |
who is Jackson n00b

Joined: 10 Feb 2012 Posts: 19
|
Posted: Fri Feb 17, 2012 4:29 pm Post subject: |
|
|
| one more question:can't gentoo install in the mobile hard disk? |
|
| Back to top |
|
 |
mimosinnet Guru


Joined: 10 Aug 2006 Posts: 505 Location: Barcelona, Spain
|
Posted: Thu Apr 19, 2012 3:46 am Post subject: |
|
|
| 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 |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Thu Apr 19, 2012 5:11 am Post subject: |
|
|
| 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  _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
who is Jackson n00b

Joined: 10 Feb 2012 Posts: 19
|
Posted: Fri Apr 20, 2012 1:29 pm Post subject: |
|
|
mimosinnet:
OK,i did it~ |
|
| Back to top |
|
 |
cld71 Tux's lil' helper

Joined: 12 Jul 2005 Posts: 126
|
Posted: Sun Apr 22, 2012 2:32 am Post subject: config.gz and flags |
|
|
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 |
|
 |
Veldrin Veteran


Joined: 27 Jul 2004 Posts: 1931 Location: Zurich, Switzerland
|
Posted: Sun Apr 22, 2012 11:05 am Post subject: |
|
|
| 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 |
|
 |
Sven Vermeulen Developer


Joined: 29 Aug 2002 Posts: 1340 Location: Mechelen, Belgium
|
|
| Back to top |
|
 |
cld71 Tux's lil' helper

Joined: 12 Jul 2005 Posts: 126
|
Posted: Sun Apr 22, 2012 11:12 pm Post subject: |
|
|
| 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 |
|
 |
cach0rr0 Moderator


Joined: 13 Nov 2008 Posts: 4117 Location: Houston, Republic of Texas
|
Posted: Mon Apr 23, 2012 1:39 am Post subject: |
|
|
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 |
|
 |
Veldrin Veteran


Joined: 27 Jul 2004 Posts: 1931 Location: Zurich, Switzerland
|
Posted: Mon Apr 23, 2012 6:53 am Post subject: |
|
|
| 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 |
|
 |
who is Jackson n00b

Joined: 10 Feb 2012 Posts: 19
|
Posted: Tue Apr 24, 2012 3:31 pm Post subject: |
|
|
| Thanks all~I had solved it ~ |
|
| Back to top |
|
 |
|