public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Kernel questions
@ 2010-08-18 19:30 Elmar Hinz
  2010-08-18 20:00 ` Nganon
                   ` (2 more replies)
  0 siblings, 3 replies; 30+ messages in thread
From: Elmar Hinz @ 2010-08-18 19:30 UTC (permalink / raw
  To: gentoo-user

1.) Is there a Map: modules to configration parameters?

"lspci -k" lists me all modules of the running genkernel.
Unfortunately the configuration parameters of the kernel have
different names.


2.) Which approach would you recommend?

To customize the kernel I can either strip down the configuration of
the genkernel or start with an empty .config file.


3.) Is there a concept behind the default settings of make menuconfig
if you start with an empty .config?

I don't see it.


4.)  Is there a concept behind the default settings of make if .config is empty?

Similar question. Running make with an empty .config file starts a
questionary on the shell, with given default settings.

Accepting all defaults doesn't even contain ext2 or ext3 on the one
hand, but a few comparingly rare selections on the other.


5.) Where are my platform specific drivers?

 X86 Platform Specific Device Drivers  --->

I get them if I strip down genkernel.

Now I started with the shell questionary and than I edit the result
with menuconfig. The submenu doesn't open or is empty.

Al



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel questions
  2010-08-18 19:30 [gentoo-user] Kernel questions Elmar Hinz
@ 2010-08-18 20:00 ` Nganon
  2010-08-18 20:03 ` Andrea Conti
  2010-08-19 15:44 ` Florian Philipp
  2 siblings, 0 replies; 30+ messages in thread
From: Nganon @ 2010-08-18 20:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 732 bytes --]

On 18 August 2010 22:30, Elmar Hinz <oss.elmar@googlemail.com> wrote:

> 1.) Is there a Map: modules to configration parameters?
>
> "lspci -k" lists me all modules of the running genkernel.
> Unfortunately the configuration parameters of the kernel have
> different names.
>
>
Submit your lspci -n output here and get amused by the magic
http://kmuto.jp/debian/hcl/
You can then search the modules in menuconfig using / and shift+insert

For the rest of your questions, in short, all I can say is I followed the
instructions in the gentoo handbook:
cd /usre/srx/linux
make menuconfig
and spend hours for customizing my kernel using menuconfig and its help.

I am sure more experienced users will show you a better way in a minute.

[-- Attachment #2: Type: text/html, Size: 1241 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel questions
  2010-08-18 19:30 [gentoo-user] Kernel questions Elmar Hinz
  2010-08-18 20:00 ` Nganon
@ 2010-08-18 20:03 ` Andrea Conti
  2010-08-18 20:28   ` Paul Hartman
  2010-08-19 15:44 ` Florian Philipp
  2 siblings, 1 reply; 30+ messages in thread
From: Andrea Conti @ 2010-08-18 20:03 UTC (permalink / raw
  To: gentoo-user

Hello,

> 1.) Is there a Map: modules to configration parameters?

I don't think so.
The help text for most modules has a reference to the actual module name
(something like "the module will be called xxxx"). If you're looking for
something specific you could try grepping for that in the
/usr/src/linux/**/Kconfig files and see what setting it belongs to.

> To customize the kernel I can either strip down the configuration of
> the genkernel or start with an empty .config file.

I generally start with a .config from a similar machine :)
Failing that, I prefer the "empty config" route.

> 3.) Is there a concept behind the default settings of make menuconfig
> if you start with an empty .config?

AFAIK every time you have no .config you get the default settings for
the current arch, which are created by running "make defconfig". I guess
they're what Linux is using... (just kidding -- I have no clue)

> 5.) Where are my platform specific drivers?
> 
>  X86 Platform Specific Device Drivers  --->

Most settings in that submenu depend on specifig things being enabled
elsewhere (e.g. an ACPI driver). If you have actually selected
X86_PLATFORM_DEVICES=Y, and you get an empty submenu, chances are the
rest of your configuration is such that nothing in there can be selected.

For more information check the contents of
/usr/src/linux/drivers/platform/x86/Kconfig

HTH,
andrea



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel questions
  2010-08-18 20:03 ` Andrea Conti
@ 2010-08-18 20:28   ` Paul Hartman
  0 siblings, 0 replies; 30+ messages in thread
From: Paul Hartman @ 2010-08-18 20:28 UTC (permalink / raw
  To: gentoo-user

On Wed, Aug 18, 2010 at 3:03 PM, Andrea Conti <alyf@alyf.net> wrote:
> Most settings in that submenu depend on specifig things being enabled
> elsewhere (e.g. an ACPI driver). If you have actually selected
> X86_PLATFORM_DEVICES=Y, and you get an empty submenu, chances are the
> rest of your configuration is such that nothing in there can be selected.

Also, in menuconfig you can type / which will allow you to search. The
search results will tell you which other options the items depend on
and which menu they are located in, so you can find them and enable as
needed.



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel questions
  2010-08-18 19:30 [gentoo-user] Kernel questions Elmar Hinz
  2010-08-18 20:00 ` Nganon
  2010-08-18 20:03 ` Andrea Conti
@ 2010-08-19 15:44 ` Florian Philipp
  2010-08-19 20:52   ` Elmar Hinz
  2010-08-20 14:43   ` Bill Longman
  2 siblings, 2 replies; 30+ messages in thread
From: Florian Philipp @ 2010-08-19 15:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

Am 18.08.2010 21:30, schrieb Elmar Hinz:
> 1.) Is there a Map: modules to configration parameters?
> 
> "lspci -k" lists me all modules of the running genkernel.
> Unfortunately the configuration parameters of the kernel have
> different names.
> 
> 
> 2.) Which approach would you recommend?
> 

With new enough kernel sources (gentoo-sources in stable are good
enough), there is `make localmodconfig` which removes all mods from your
current .config which are not loaded.
There is also `make localyesconfig` which does the same but doesn't
create modules.

Hope this helps,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel questions
  2010-08-19 15:44 ` Florian Philipp
@ 2010-08-19 20:52   ` Elmar Hinz
  2010-08-20 14:43   ` Bill Longman
  1 sibling, 0 replies; 30+ messages in thread
From: Elmar Hinz @ 2010-08-19 20:52 UTC (permalink / raw
  To: gentoo-user

>
> With new enough kernel sources (gentoo-sources in stable are good
> enough), there is `make localmodconfig` which removes all mods from your
> current .config which are not loaded.
> There is also `make localyesconfig` which does the same but doesn't
> create modules.
>
> Hope this helps,

Yes. Sounds good. I will do some experiments with it and maybe fresh
up some wiki pages.

Can you combine it with genkernel?

genkernel --localmodconfig all ?

Al



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel questions
  2010-08-19 15:44 ` Florian Philipp
  2010-08-19 20:52   ` Elmar Hinz
@ 2010-08-20 14:43   ` Bill Longman
  2010-08-20 18:44     ` Marc Joliet
  1 sibling, 1 reply; 30+ messages in thread
From: Bill Longman @ 2010-08-20 14:43 UTC (permalink / raw
  To: gentoo-user

On 08/19/2010 08:44 AM, Florian Philipp wrote:
> Am 18.08.2010 21:30, schrieb Elmar Hinz:
>> 1.) Is there a Map: modules to configration parameters?
>>
>> "lspci -k" lists me all modules of the running genkernel.
>> Unfortunately the configuration parameters of the kernel have
>> different names.
>>
>>
>> 2.) Which approach would you recommend?
>>
> 
> With new enough kernel sources (gentoo-sources in stable are good
> enough), there is `make localmodconfig` which removes all mods from your
> current .config which are not loaded.
> There is also `make localyesconfig` which does the same but doesn't
> create modules.

Al, if you look in the README file in the top of the kernel tree,
there's a very good section with explanations about the various kernel
configuration options available for make.

I find it amazing, though, that even if I copy my old .config, it still
takes me so much time to make sure all the settings are correct for a
given machine. Hasn't anyone come up with a handy
look-through-my-lspci-output-and-create-a-skeleton-kernel-config tool?
Or does it already exist and we just call him "Pappy"?



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel questions
  2010-08-20 14:43   ` Bill Longman
@ 2010-08-20 18:44     ` Marc Joliet
  2010-08-20 19:28       ` Bill Longman
  0 siblings, 1 reply; 30+ messages in thread
From: Marc Joliet @ 2010-08-20 18:44 UTC (permalink / raw
  To: Gentoo-User ML

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

Am Fri, 20 Aug 2010 07:43:40 -0700
schrieb Bill Longman <bill.longman@gmail.com>:

[...]
> I find it amazing, though, that even if I copy my old .config, it still
> takes me so much time to make sure all the settings are correct for a
> given machine. Hasn't anyone come up with a handy
> look-through-my-lspci-output-and-create-a-skeleton-kernel-config tool?
> Or does it already exist and we just call him "Pappy"?

Not really what you want, but somebody thought of something similar. Since
Linux 2.6.32 you can do:
	
	make localmodconfig [1].

That will take the output of lsmod (so you need an already running kernel,
e.g., from a live CD) and remove all unnecessary modules from the existing
kernel .config.

[1]: see http://kernelnewbies.org/Linux_2_6_32, section 1.8.

HTH
-- 
Marc Joliet

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel questions
  2010-08-20 18:44     ` Marc Joliet
@ 2010-08-20 19:28       ` Bill Longman
  2010-08-20 19:35         ` Paul Hartman
  0 siblings, 1 reply; 30+ messages in thread
From: Bill Longman @ 2010-08-20 19:28 UTC (permalink / raw
  To: gentoo-user

On 08/20/2010 11:44 AM, Marc Joliet wrote:
> Am Fri, 20 Aug 2010 07:43:40 -0700
> schrieb Bill Longman <bill.longman@gmail.com>:
> 
> [...]
>> I find it amazing, though, that even if I copy my old .config, it still
>> takes me so much time to make sure all the settings are correct for a
>> given machine. Hasn't anyone come up with a handy
>> look-through-my-lspci-output-and-create-a-skeleton-kernel-config tool?
>> Or does it already exist and we just call him "Pappy"?
> 
> Not really what you want, but somebody thought of something similar. Since
> Linux 2.6.32 you can do:
> 	
> 	make localmodconfig [1].
> 
> That will take the output of lsmod (so you need an already running kernel,
> e.g., from a live CD) and remove all unnecessary modules from the existing
> kernel .config.
> 
> [1]: see http://kernelnewbies.org/Linux_2_6_32, section 1.8.

Thanks, Marc.

So, if I boot off the livecd and I have eighty-five sata_ modules and
forty-two RAID modules and 2.5 handsful of various scsi/iscsi modules, I
should probably "modprobe -r" first, all those that aren't applicable to
my given system then run the make? I'll take a look. Thanks again.



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel questions
  2010-08-20 19:28       ` Bill Longman
@ 2010-08-20 19:35         ` Paul Hartman
  0 siblings, 0 replies; 30+ messages in thread
From: Paul Hartman @ 2010-08-20 19:35 UTC (permalink / raw
  To: gentoo-user

On Fri, Aug 20, 2010 at 2:28 PM, Bill Longman <bill.longman@gmail.com> wrote:
> On 08/20/2010 11:44 AM, Marc Joliet wrote:
>> Am Fri, 20 Aug 2010 07:43:40 -0700
>> schrieb Bill Longman <bill.longman@gmail.com>:
>>
>> [...]
>>> I find it amazing, though, that even if I copy my old .config, it still
>>> takes me so much time to make sure all the settings are correct for a
>>> given machine. Hasn't anyone come up with a handy
>>> look-through-my-lspci-output-and-create-a-skeleton-kernel-config tool?
>>> Or does it already exist and we just call him "Pappy"?
>>
>> Not really what you want, but somebody thought of something similar. Since
>> Linux 2.6.32 you can do:
>>
>>       make localmodconfig [1].
>>
>> That will take the output of lsmod (so you need an already running kernel,
>> e.g., from a live CD) and remove all unnecessary modules from the existing
>> kernel .config.
>>
>> [1]: see http://kernelnewbies.org/Linux_2_6_32, section 1.8.
>
> Thanks, Marc.
>
> So, if I boot off the livecd and I have eighty-five sata_ modules and
> forty-two RAID modules and 2.5 handsful of various scsi/iscsi modules, I
> should probably "modprobe -r" first, all those that aren't applicable to
> my given system then run the make? I'll take a look. Thanks again.

And I suppose you'd also have to beware of any removable devices that
you may not have plugged in at the time which require kernel drivers.



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-23 17:53 [gentoo-user] Kernel Questions Silvio Siefke
@ 2013-01-22 18:43 ` Bruce Hill
  2013-01-22 19:48   ` Florian Philipp
  2013-01-23 23:17   ` Silvio Siefke
  2013-01-23  8:30 ` [gentoo-user] " Nicolas Sebrecht
  1 sibling, 2 replies; 30+ messages in thread
From: Bruce Hill @ 2013-01-22 18:43 UTC (permalink / raw
  To: gentoo-user

On Wed, Jan 23, 2013 at 06:53:15PM +0100, Silvio Siefke wrote:
> Hello,
> 
> 
> i want ask some questions for the Kernel. 
> 
> How do I find dependencies of each option?
> Are there patches for older computers?
> 
> I use the good old Pentium 4 on the desktop and an atom on the laptop.
> But I have often the problem when the computer has much to do, that the 
> system freeze. That's on the atom often so. The opera is my favorite 
> Browser, but often the call on a website and the result end in freeze.
> What is really strange, when i run emerge --sync ; emerge -avuDN @world,
> the Pentium 4 is faster as the Atom. Is that normal?
> 
> 
> gentoo-desk src # uname -a
> Linux gentoo-desk.silviosiefke.de 3.2.34 #1 SMP Mon Nov 19 14:23:14 CET 2012 
> i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
> 
> siefke@gentoo-mobile : ~ $ uname -a 
> Linux gentoo-mobile 3.7.4 #1 SMP Wed Jan 23 07:01:32 CET 2013 i686 Intel(R) 
> Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
> 
> I has read in the Kernel Project of Gentoo something from ck-patchset. Is 
> that good for that problems which i have, or has read wrong?
> 
> It were nice some can share the own expirence. The Kernel is so hard to 
> understand, when take off a option, other option run not. I really not
> know what i need and what need. 
> 
> Hope can understand what i mean. Thank you for help. 
> 
> 
> Greetings
> Silvio

Please read "Linux Kernel in a Nutshell". You can:

"emerge -av app-doc/linux-kernel-in-a-nutshell"

and also read it online: http://www.kroah.com/lkn/

Cheers,
Bruce
-- 
Happy Penguin Computers               >')
126 Fenco Drive                       ( \
Tupelo, MS 38801                       ^^
support@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-22 18:43 ` Bruce Hill
@ 2013-01-22 19:48   ` Florian Philipp
  2013-01-22 22:46     ` Frank Steinmetzger
  2013-01-23 23:27     ` Silvio Siefke
  2013-01-23 23:17   ` Silvio Siefke
  1 sibling, 2 replies; 30+ messages in thread
From: Florian Philipp @ 2013-01-22 19:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1886 bytes --]

Am 22.01.2013 19:43, schrieb Bruce Hill:
> On Wed, Jan 23, 2013 at 06:53:15PM +0100, Silvio Siefke wrote:
>> Hello,
>>
>>
>> i want ask some questions for the Kernel. 
>>
>> How do I find dependencies of each option?

In menuconfig, when you open the help on an item, there is a line
"Depends on". If the requirement is not met, the option is not visible
but can be found by searching (press /).

There might also be a line "Selects" which contains automatically
activated dependencies and "Selected by" which contains the reverse
dependencies.

>> Are there patches for older computers?
>>

Don't think so. If there is a regression, it should get fixed in the
main line kernel.

>> I use the good old Pentium 4 on the desktop and an atom on the laptop.
>> But I have often the problem when the computer has much to do, that the 
>> system freeze.

What kind of workload do we talk about? Properly "niced" and "ioniced"
compile jobs? Is the freeze temporary?

>> That's on the atom often so. The opera is my favorite 
>> Browser, but often the call on a website and the result end in freeze.

Odd. Maybe GPU related? Again, does the system recover?


>> What is really strange, when i run emerge --sync ; emerge -avuDN @world,
>> the Pentium 4 is faster as the Atom. Is that normal?
>>

Doesn't surprise me. P4 and Atom are both horrible micro architectures.
But Atom is also horribly stripped down and has a lower clock frequency.

[...]
>> It were nice some can share the own expirence. The Kernel is so hard to 
>> understand, when take off a option, other option run not. I really not
>> know what i need and what need. 
> 
> Please read "Linux Kernel in a Nutshell". You can:
> 
> "emerge -av app-doc/linux-kernel-in-a-nutshell"
> 
> and also read it online: http://www.kroah.com/lkn/
> 

+1

Regards,
Florian Philipp



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-22 19:48   ` Florian Philipp
@ 2013-01-22 22:46     ` Frank Steinmetzger
  2013-01-23 23:34       ` Silvio Siefke
  2013-01-23 23:27     ` Silvio Siefke
  1 sibling, 1 reply; 30+ messages in thread
From: Frank Steinmetzger @ 2013-01-22 22:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2400 bytes --]

On Tue, Jan 22, 2013 at 08:48:49PM +0100, Florian Philipp wrote:
> Am 22.01.2013 19:43, schrieb Bruce Hill:
> > On Wed, Jan 23, 2013 at 06:53:15PM +0100, Silvio Siefke wrote:
> >> Hello,
> >>
> >> i want ask some questions for the Kernel. 
> >>
> >> How do I find dependencies of each option?
> 
> In menuconfig, when you open the help on an item, there is a line
> "Depends on". If the requirement is not met, the option is not visible
> but can be found by searching (press /).

By happy accident I found out that those can be shown with the Z key.

> There might also be a line "Selects" which contains automatically
> activated dependencies and "Selected by" which contains the reverse
> dependencies.
> 
> >> Are there patches for older computers?
> >>
> 
> Don't think so. If there is a regression, it should get fixed in the
> main line kernel.

In recent news the support for i386 processors was dropped. So your Pentium 4
still has a few years to go. :)

> >> I use the good old Pentium 4 on the desktop and an atom on the laptop.
> >> But I have often the problem when the computer has much to do, that the 
> >> system freeze.

Overheating problem? Considering it's about a Pentium 4, that seems a likely
cause.

> >> That's on the atom often so. The opera is my favorite 
> >> Browser, but often the call on a website and the result end in freeze.
> 
> Odd. Maybe GPU related? Again, does the system recover?

Do both systems freeze on that website? That seems strange.  I, too, have an
Atom Netbook, though with an N450 which has Hyperthreading. It is not fast; it
takes 17 seconds to load Firefox, but I had no freezes yet. The only problem I
have so far is that mplayer often crashes when going to/from fullscreen if its
video output is set to OpenGL. The N270 is an early model, perhaps some other
hardware in the netbook is slowly dying.

> >> What is really strange, when i run emerge --sync ; emerge -avuDN @world,
> >> the Pentium 4 is faster as the Atom. Is that normal?

Well, on the other hand, you can count the Watts an Atom consumes with one
hand. For the P4 you'd need the hands of up to 12 people. That difference has
to come from somewhere.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

The power of the press is most prominently felt by grapes.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-23 23:34       ` Silvio Siefke
@ 2013-01-23  0:46         ` Frank Steinmetzger
  2013-01-23 18:31         ` Kevin Chadwick
  1 sibling, 0 replies; 30+ messages in thread
From: Frank Steinmetzger @ 2013-01-23  0:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2033 bytes --]

On Thu, Jan 24, 2013 at 12:34:33AM +0100, Silvio Siefke wrote:

Ah ok

> > Do both systems freeze on that website? That seems strange.  I, too, have an
> > Atom Netbook, though with an N450 which has Hyperthreading. It is not fast; it
> > takes 17 seconds to load Firefox, but I had no freezes yet. The only problem I
> > have so far is that mplayer often crashes when going to/from fullscreen if its
> > video output is set to OpenGL. The N270 is an early model, perhaps some other
> > hardware in the netbook is slowly dying.
> 
> Mine is slow. No matter which browser. No matter which program. That does
> not bother me much. But the system is slow, it bugs me. Hard drive I swapped,
> memory, I also exchanged.
> 
> Yes the System is old. 2009. Maybe it's time for new Netbook. 

Nah, mine is just/almost as old (I got it for free from my parents b/c it
developed a jerky LVDS cable that needs swapping out, so they bought a
replacement and I got that one).  I thought more like really early netbooks
(2007, 2008). But depending on your use and wear of the hardware, it could
still be an age issue.  Netbooks aren't cheap for no reason, unfortunately.

> > Well, on the other hand, you can count the Watts an Atom consumes with one
> > hand. For the P4 you'd need the hands of up to 12 people. That difference has
> > to come from somewhere.
> 
> Yes but that's not what i look. Im often on the road and the Netbook is better
> as a normal Notebook. And my Samsung has really much expirence in traveling :)
> 
> Ok thanks for help @all. I think its time for new one, i will see what give
> on ebay.

Did you try any other OS to confirm/reject the theory that your kernel is the
actual culprit? Any live linux from USB can do the trick. Did you run memcheck?
(I know you said you swapped the memory module, perhaps the RAM slot is
defective).
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Earth, stop, I want to get off.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [gentoo-user] Re: Kernel Questions
  2013-01-23 17:53 [gentoo-user] Kernel Questions Silvio Siefke
  2013-01-22 18:43 ` Bruce Hill
@ 2013-01-23  8:30 ` Nicolas Sebrecht
  2013-01-24 13:21   ` Silvio Siefke
  1 sibling, 1 reply; 30+ messages in thread
From: Nicolas Sebrecht @ 2013-01-23  8:30 UTC (permalink / raw
  To: gentoo-user; +Cc: Nicolas Sebrecht

The 23/01/13, Silvio Siefke wrote:

> I use the good old Pentium 4 on the desktop and an atom on the laptop.
> But I have often the problem when the computer has much to do, that the 
> system freeze. That's on the atom often so. The opera is my favorite 
> Browser, but often the call on a website and the result end in freeze.
> What is really strange, when i run emerge --sync ; emerge -avuDN @world,
> the Pentium 4 is faster as the Atom. Is that normal?

Did you check if the system is swapping when that happen?

-- 
Nicolas Sebrecht


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Re: Kernel Questions
  2013-01-24 13:21   ` Silvio Siefke
@ 2013-01-23 13:53     ` William Kenworthy
  2013-01-23 15:09       ` Silvio Siefke
  2013-01-24 16:12     ` Nicolas Sebrecht
  1 sibling, 1 reply; 30+ messages in thread
From: William Kenworthy @ 2013-01-23 13:53 UTC (permalink / raw
  To: gentoo-user

On 24/01/13 21:21, Silvio Siefke wrote:
> Hello,
> 
> On Wed, 23 Jan 2013 09:30:02 +0100
> Nicolas Sebrecht <nsebrecht@piing.fr> wrote:
> 
>> Did you check if the system is swapping when that happen?
> 
> Im sorry, you mean Swap? How can check them best?
> 
> 
> Thank you & Greetings
> Silvio
> 

Hi Silvio, can you check the date on your systems ... your emails are
future dated which kinda stuffs things up ...

BillK




^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Re: Kernel Questions
  2013-01-23 13:53     ` William Kenworthy
@ 2013-01-23 15:09       ` Silvio Siefke
  0 siblings, 0 replies; 30+ messages in thread
From: Silvio Siefke @ 2013-01-23 15:09 UTC (permalink / raw
  To: gentoo-user

Hello,

On Wed, 23 Jan 2013 21:53:58 +0800
William Kenworthy <billk@iinet.net.au> wrote:

> Hi Silvio, can you check the date on your systems ... your emails are
> future dated which kinda stuffs things up ...

Yes thank you i have change it. 


Thank you & Greetings
Silvio


^ permalink raw reply	[flat|nested] 30+ messages in thread

* [gentoo-user] Kernel Questions
@ 2013-01-23 17:53 Silvio Siefke
  2013-01-22 18:43 ` Bruce Hill
  2013-01-23  8:30 ` [gentoo-user] " Nicolas Sebrecht
  0 siblings, 2 replies; 30+ messages in thread
From: Silvio Siefke @ 2013-01-23 17:53 UTC (permalink / raw
  To: gentoo-user

Hello,


i want ask some questions for the Kernel. 

How do I find dependencies of each option?
Are there patches for older computers?

I use the good old Pentium 4 on the desktop and an atom on the laptop.
But I have often the problem when the computer has much to do, that the 
system freeze. That's on the atom often so. The opera is my favorite 
Browser, but often the call on a website and the result end in freeze.
What is really strange, when i run emerge --sync ; emerge -avuDN @world,
the Pentium 4 is faster as the Atom. Is that normal?


gentoo-desk src # uname -a
Linux gentoo-desk.silviosiefke.de 3.2.34 #1 SMP Mon Nov 19 14:23:14 CET 2012 
i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

siefke@gentoo-mobile : ~ $ uname -a 
Linux gentoo-mobile 3.7.4 #1 SMP Wed Jan 23 07:01:32 CET 2013 i686 Intel(R) 
Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux

I has read in the Kernel Project of Gentoo something from ck-patchset. Is 
that good for that problems which i have, or has read wrong?

It were nice some can share the own expirence. The Kernel is so hard to 
understand, when take off a option, other option run not. I really not
know what i need and what need. 

Hope can understand what i mean. Thank you for help. 


Greetings
Silvio


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-23 23:27     ` Silvio Siefke
@ 2013-01-23 18:27       ` Florian Philipp
  2013-01-23 18:33         ` Kevin Chadwick
  2013-01-23 22:35         ` Silvio Siefke
  0 siblings, 2 replies; 30+ messages in thread
From: Florian Philipp @ 2013-01-23 18:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1522 bytes --]

Am 24.01.2013 00:27, schrieb Silvio Siefke:
> Hello,
> 
> On Tue, 22 Jan 2013 20:48:49 +0100
> Florian Philipp <lists@binarywings.net> wrote:
[...]
>> What kind of workload do we talk about? Properly "niced" and "ioniced"
>> compile jobs? Is the freeze temporary?
> 
> If I run a program, depending on the size the System Freeze for 
> few seconds. When i start emerge -s, emerge --sync, emerge what ever the
> system freeze. Its ever temporary but its make crazy.
> 

Hmm, the last time I encountered something like this, DMA was
deactivated for the hard disk. That happened because the wrong driver
(generic IDE) took over. What raw throughput do you get?
`dd if=/dev/sda of=/dev/null bs=4M count=100 iflag=direct`

>  
>> Odd. Maybe GPU related? Again, does the system recover?
> 
> No GPU is deactivated. When have more then 10 tabs, system hang. 
> 

You mean you have not enabled drm and/or use the generic vesa driver?
Maybe something is trying to use opengl and software emulation slows you
down.

>> Doesn't surprise me. P4 and Atom are both horrible micro architectures.
>> But Atom is also horribly stripped down and has a lower clock frequency.
> 
> Oh, okay i know Atom is shit, but P4. Which architecture is recommended 
> for?
>  

P4s suffer because their pipeline is very long and poorly utilized. In
fact, they can execute fewer instructions per clock tick than a P3.
Anything newer is a vast improvement, especially Core2 and newer.

Regards,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-23 23:34       ` Silvio Siefke
  2013-01-23  0:46         ` Frank Steinmetzger
@ 2013-01-23 18:31         ` Kevin Chadwick
  2013-01-23 22:31           ` Silvio Siefke
  1 sibling, 1 reply; 30+ messages in thread
From: Kevin Chadwick @ 2013-01-23 18:31 UTC (permalink / raw
  To: gentoo-user

> > Overheating problem? Considering it's about a Pentium 4, that seems a likely
> > cause.  
> 
> Which P4 i has not so probs. The probs come with Atom.

Older systems used to reset on overheat so it was obviously hardware.
Newer cpus actually halt and then continue operation. Most of the time
you won't notice, your laptop will just run slower than the spec would
suggest. Some laptops never actually use the cpu fully from day one and
so things like dust or a failing fan may make it very noticeable.

Could be lots of things but I would check your temp sensors from
the os or bios before the kernel.


-- 
_______________________________________________________________________

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
_______________________________________________________________________


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-23 18:27       ` Florian Philipp
@ 2013-01-23 18:33         ` Kevin Chadwick
  2013-01-24  2:40           ` Frank Steinmetzger
  2013-01-23 22:35         ` Silvio Siefke
  1 sibling, 1 reply; 30+ messages in thread
From: Kevin Chadwick @ 2013-01-23 18:33 UTC (permalink / raw
  To: gentoo-user

> Anything newer is a vast improvement, especially Core2 and newer.

As long as you ignore the unfixable security issues even by microcode of
core2 duos ;-).

-- 
_______________________________________________________________________

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
_______________________________________________________________________


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-23 18:31         ` Kevin Chadwick
@ 2013-01-23 22:31           ` Silvio Siefke
  0 siblings, 0 replies; 30+ messages in thread
From: Silvio Siefke @ 2013-01-23 22:31 UTC (permalink / raw
  To: gentoo-user

Hello,

On Wed, 23 Jan 2013 18:31:10 +0000
Kevin Chadwick <ma1l1ists@yahoo.co.uk> wrote:

> Could be lots of things but I would check your temp sensors from
> the os or bios before the kernel.

is lmsensors ok?

siefke@gentoo-mobile : ~ $ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +52.0°C  (crit = +98.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +38.0°C  (crit = +90.0°C)


Maybe is make.conf the wrong way?

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe -mfpmath=sse"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

Thank you & Regards


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-23 18:27       ` Florian Philipp
  2013-01-23 18:33         ` Kevin Chadwick
@ 2013-01-23 22:35         ` Silvio Siefke
  1 sibling, 0 replies; 30+ messages in thread
From: Silvio Siefke @ 2013-01-23 22:35 UTC (permalink / raw
  To: gentoo-user

Hello,

On Wed, 23 Jan 2013 19:27:17 +0100
Florian Philipp <lists@binarywings.net> wrote:


> You mean you have not enabled drm and/or use the generic vesa driver?
> Maybe something is trying to use opengl and software emulation slows you
> down.

In Opera no, in other i not have really something change in config files.
 
> P4s suffer because their pipeline is very long and poorly utilized. In
> fact, they can execute fewer instructions per clock tick than a P3.
> Anything newer is a vast improvement, especially Core2 and newer.

I have look for new Netbook today. Maybe should buy one with i3 or i5,
what is so with AMD? Is there something intresting?


Thank you & Greetings
Silvio



^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-22 18:43 ` Bruce Hill
  2013-01-22 19:48   ` Florian Philipp
@ 2013-01-23 23:17   ` Silvio Siefke
  1 sibling, 0 replies; 30+ messages in thread
From: Silvio Siefke @ 2013-01-23 23:17 UTC (permalink / raw
  To: gentoo-user

Hello,

On Tue, 22 Jan 2013 12:43:53 -0600
Bruce Hill <daddy@happypenguincomputers.com> wrote:

> Please read "Linux Kernel in a Nutshell". You can:
> 
> "emerge -av app-doc/linux-kernel-in-a-nutshell"
> 
> and also read it online: http://www.kroah.com/lkn/


thanks for the Link. I will read it. 



Thank you & Greetings
Silvio


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-22 19:48   ` Florian Philipp
  2013-01-22 22:46     ` Frank Steinmetzger
@ 2013-01-23 23:27     ` Silvio Siefke
  2013-01-23 18:27       ` Florian Philipp
  1 sibling, 1 reply; 30+ messages in thread
From: Silvio Siefke @ 2013-01-23 23:27 UTC (permalink / raw
  To: gentoo-user

Hello,

On Tue, 22 Jan 2013 20:48:49 +0100
Florian Philipp <lists@binarywings.net> wrote:

> In menuconfig, when you open the help on an item, there is a line
> "Depends on". If the requirement is not met, the option is not visible
> but can be found by searching (press /).
> 
> There might also be a line "Selects" which contains automatically
> activated dependencies and "Selected by" which contains the reverse
> dependencies.

Yes this option i know. I thought it is an option that can automatically 
filter.

> Don't think so. If there is a regression, it should get fixed in the
> main line kernel.

Ok. 
 
> What kind of workload do we talk about? Properly "niced" and "ioniced"
> compile jobs? Is the freeze temporary?

If I run a program, depending on the size the System Freeze for 
few seconds. When i start emerge -s, emerge --sync, emerge what ever the
system freeze. Its ever temporary but its make crazy.

 
> Odd. Maybe GPU related? Again, does the system recover?

No GPU is deactivated. When have more then 10 tabs, system hang. 

> Doesn't surprise me. P4 and Atom are both horrible micro architectures.
> But Atom is also horribly stripped down and has a lower clock frequency.

Oh, okay i know Atom is shit, but P4. Which architecture is recommended 
for?
 

Thank you & Regards
Silvio


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-22 22:46     ` Frank Steinmetzger
@ 2013-01-23 23:34       ` Silvio Siefke
  2013-01-23  0:46         ` Frank Steinmetzger
  2013-01-23 18:31         ` Kevin Chadwick
  0 siblings, 2 replies; 30+ messages in thread
From: Silvio Siefke @ 2013-01-23 23:34 UTC (permalink / raw
  To: gentoo-user

On Tue, 22 Jan 2013 23:46:31 +0100
Frank Steinmetzger <Warp_7@gmx.de> wrote:

> In recent news the support for i386 processors was dropped. So your Pentium 4
> still has a few years to go. :)

Yes it is clear that sales for computer must live.
 
> Overheating problem? Considering it's about a Pentium 4, that seems a likely
> cause.

Which P4 i has not so probs. The probs come with Atom. 
 
> Do both systems freeze on that website? That seems strange.  I, too, have an
> Atom Netbook, though with an N450 which has Hyperthreading. It is not fast; it
> takes 17 seconds to load Firefox, but I had no freezes yet. The only problem I
> have so far is that mplayer often crashes when going to/from fullscreen if its
> video output is set to OpenGL. The N270 is an early model, perhaps some other
> hardware in the netbook is slowly dying.

Mine is slow. No matter which browser. No matter which program. That does
not bother me much. But the system is slow, it bugs me. Hard drive I swapped,
memory, I also exchanged.

Yes the System is old. 2009. Maybe it's time for new Netbook. 

> Well, on the other hand, you can count the Watts an Atom consumes with one
> hand. For the P4 you'd need the hands of up to 12 people. That difference has
> to come from somewhere.

Yes but that's not what i look. Im often on the road and the Netbook is better
as a normal Notebook. And my Samsung has really much expirence in traveling :)

Ok thanks for help @all. I think its time for new one, i will see what give
on ebay.


Thank you & Greetings
Silvio


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-23 18:33         ` Kevin Chadwick
@ 2013-01-24  2:40           ` Frank Steinmetzger
  2013-01-24 17:58             ` Paul Hartman
  0 siblings, 1 reply; 30+ messages in thread
From: Frank Steinmetzger @ 2013-01-24  2:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

On Wed, Jan 23, 2013 at 06:33:38PM +0000, Kevin Chadwick wrote:
> > Anything newer is a vast improvement, especially Core2 and newer.
> 
> As long as you ignore the unfixable security issues even by microcode of
> core2 duos ;-).

-v please
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Does fuzzy logic tickle?

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Re: Kernel Questions
  2013-01-23  8:30 ` [gentoo-user] " Nicolas Sebrecht
@ 2013-01-24 13:21   ` Silvio Siefke
  2013-01-23 13:53     ` William Kenworthy
  2013-01-24 16:12     ` Nicolas Sebrecht
  0 siblings, 2 replies; 30+ messages in thread
From: Silvio Siefke @ 2013-01-24 13:21 UTC (permalink / raw
  To: gentoo-user

Hello,

On Wed, 23 Jan 2013 09:30:02 +0100
Nicolas Sebrecht <nsebrecht@piing.fr> wrote:

> Did you check if the system is swapping when that happen?

Im sorry, you mean Swap? How can check them best?


Thank you & Greetings
Silvio


^ permalink raw reply	[flat|nested] 30+ messages in thread

* [gentoo-user] Re: Kernel Questions
  2013-01-24 13:21   ` Silvio Siefke
  2013-01-23 13:53     ` William Kenworthy
@ 2013-01-24 16:12     ` Nicolas Sebrecht
  1 sibling, 0 replies; 30+ messages in thread
From: Nicolas Sebrecht @ 2013-01-24 16:12 UTC (permalink / raw
  To: gentoo-user; +Cc: Nicolas Sebrecht

On Thu, Jan 24, 2013 at 02:21:22PM +0100, Silvio Siefke wrote:
> Hello,
> 
> On Wed, 23 Jan 2013 09:30:02 +0100
> Nicolas Sebrecht <nsebrecht@piing.fr> wrote:
> 
> > Did you check if the system is swapping when that happen?
> 
> Im sorry, you mean Swap? How can check them best?

  % free -m

The htop tool is good, too.

-- 
Nicolas Sebrecht


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Kernel Questions
  2013-01-24  2:40           ` Frank Steinmetzger
@ 2013-01-24 17:58             ` Paul Hartman
  0 siblings, 0 replies; 30+ messages in thread
From: Paul Hartman @ 2013-01-24 17:58 UTC (permalink / raw
  To: gentoo-user

On Wed, Jan 23, 2013 at 8:40 PM, Frank Steinmetzger <Warp_7@gmx.de> wrote:
> On Wed, Jan 23, 2013 at 06:33:38PM +0000, Kevin Chadwick wrote:
>> > Anything newer is a vast improvement, especially Core2 and newer.
>>
>> As long as you ignore the unfixable security issues even by microcode of
>> core2 duos ;-).
>
> -v please

Maybe he's referring to this:

http://marc.info/?l=openbsd-misc&m=118296441702631


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2013-01-24 17:59 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 17:53 [gentoo-user] Kernel Questions Silvio Siefke
2013-01-22 18:43 ` Bruce Hill
2013-01-22 19:48   ` Florian Philipp
2013-01-22 22:46     ` Frank Steinmetzger
2013-01-23 23:34       ` Silvio Siefke
2013-01-23  0:46         ` Frank Steinmetzger
2013-01-23 18:31         ` Kevin Chadwick
2013-01-23 22:31           ` Silvio Siefke
2013-01-23 23:27     ` Silvio Siefke
2013-01-23 18:27       ` Florian Philipp
2013-01-23 18:33         ` Kevin Chadwick
2013-01-24  2:40           ` Frank Steinmetzger
2013-01-24 17:58             ` Paul Hartman
2013-01-23 22:35         ` Silvio Siefke
2013-01-23 23:17   ` Silvio Siefke
2013-01-23  8:30 ` [gentoo-user] " Nicolas Sebrecht
2013-01-24 13:21   ` Silvio Siefke
2013-01-23 13:53     ` William Kenworthy
2013-01-23 15:09       ` Silvio Siefke
2013-01-24 16:12     ` Nicolas Sebrecht
  -- strict thread matches above, loose matches on Subject: below --
2010-08-18 19:30 [gentoo-user] Kernel questions Elmar Hinz
2010-08-18 20:00 ` Nganon
2010-08-18 20:03 ` Andrea Conti
2010-08-18 20:28   ` Paul Hartman
2010-08-19 15:44 ` Florian Philipp
2010-08-19 20:52   ` Elmar Hinz
2010-08-20 14:43   ` Bill Longman
2010-08-20 18:44     ` Marc Joliet
2010-08-20 19:28       ` Bill Longman
2010-08-20 19:35         ` Paul Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox