public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] OT: kernel parameters
@ 2011-06-27 16:57 Peter Humphrey
  2011-06-27 17:47 ` Alan McKinnon
  2011-06-27 17:53 ` [gentoo-user] " Remy Blank
  0 siblings, 2 replies; 10+ messages in thread
From: Peter Humphrey @ 2011-06-27 16:57 UTC (permalink / raw
  To: gentoo-user

Hello list,

Some time ago I saw a comment in a kernel config help page saying to enable 
this option if unexplained, random lockups occurred. I didn't need to do 
that for Gentoo, but every other distro I've tried locks up after a random 
interval - even the latest Fedora 15. I suspect I have a chipset problem, 
but Gentoo runs happily with it so there must be a config option of some 
kind.

Can anyone point me to the parameter concerned? I can't find it with grep.

-- 
Rgds
Peter



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

* Re: [gentoo-user] OT: kernel parameters
  2011-06-27 16:57 [gentoo-user] OT: kernel parameters Peter Humphrey
@ 2011-06-27 17:47 ` Alan McKinnon
  2011-06-27 17:53 ` [gentoo-user] " Remy Blank
  1 sibling, 0 replies; 10+ messages in thread
From: Alan McKinnon @ 2011-06-27 17:47 UTC (permalink / raw
  To: gentoo-user

On Monday 27 June 2011 17:57:00 Peter Humphrey did opine thusly:
> Hello list,
> 
> Some time ago I saw a comment in a kernel config help page saying to
> enable this option if unexplained, random lockups occurred. I
> didn't need to do that for Gentoo, but every other distro I've
> tried locks up after a random interval - even the latest Fedora 15.
> I suspect I have a chipset problem, but Gentoo runs happily with it
> so there must be a config option of some kind.
> 
> Can anyone point me to the parameter concerned? I can't find it with
> grep.

Could be several things, the latest one to hit /. is

pcie_aspm=force

http://linux.slashdot.org/story/11/06/27/0459252/Nailing-the-Cause-of-
Recent-Linux-Power-
Issues?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Slashdot%2Fslashdot+%28Slashdot%29

Or, you could grep the Makefile[1] for "lockups".

[1] Not sure if it's really in the Makefile or somewhere else


-- 
alan dot mckinnon at gmail dot com



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

* [gentoo-user] Re: OT: kernel parameters
  2011-06-27 16:57 [gentoo-user] OT: kernel parameters Peter Humphrey
  2011-06-27 17:47 ` Alan McKinnon
@ 2011-06-27 17:53 ` Remy Blank
  2011-06-28 18:35   ` pk
  2011-06-30 12:58   ` Peter Humphrey
  1 sibling, 2 replies; 10+ messages in thread
From: Remy Blank @ 2011-06-27 17:53 UTC (permalink / raw
  To: gentoo-user

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

Peter Humphrey wrote:
> Can anyone point me to the parameter concerned? I can't find it with grep.

Could it be CONFIG_DETECT_SOFTLOCKUP?

-- Remy


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

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

* Re: [gentoo-user] Re: OT: kernel parameters
  2011-06-27 17:53 ` [gentoo-user] " Remy Blank
@ 2011-06-28 18:35   ` pk
  2011-06-30 12:58   ` Peter Humphrey
  1 sibling, 0 replies; 10+ messages in thread
From: pk @ 2011-06-28 18:35 UTC (permalink / raw
  To: gentoo-user

On 2011-06-27 19:53, Remy Blank wrote:

> Could it be CONFIG_DETECT_SOFTLOCKUP?

Afaik, that only resets the machine if it detects a softlockup...

Best regards

Peter K



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

* Re: [gentoo-user] Re: OT: kernel parameters
  2011-06-27 17:53 ` [gentoo-user] " Remy Blank
  2011-06-28 18:35   ` pk
@ 2011-06-30 12:58   ` Peter Humphrey
  2011-06-30 13:28     ` Alan McKinnon
  1 sibling, 1 reply; 10+ messages in thread
From: Peter Humphrey @ 2011-06-30 12:58 UTC (permalink / raw
  To: gentoo-user

On Monday 27 June 2011 18:53:31 Remy Blank wrote:
> Peter Humphrey wrote:
> > Can anyone point me to the parameter concerned? I can't find it with
> > grep.
> 
> Could it be CONFIG_DETECT_SOFTLOCKUP?

Thanks to you and Alan.

No, I don't think so, as there's none such in my kernel config (this is 
2.6.38, and none of the other distros have a version as recent as this). The 
same applies to pcie_aspm.

Meanwhile, I've resorted to switching things off in the BIOS, but as the 
lockups are intermittent it's going to take a while to find what's doing it.

-- 
Rgds
Peter



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

* Re: [gentoo-user] Re: OT: kernel parameters
  2011-06-30 12:58   ` Peter Humphrey
@ 2011-06-30 13:28     ` Alan McKinnon
  2011-06-30 14:30       ` Peter Humphrey
  0 siblings, 1 reply; 10+ messages in thread
From: Alan McKinnon @ 2011-06-30 13:28 UTC (permalink / raw
  To: gentoo-user; +Cc: Peter Humphrey

On Thursday 30 June 2011 13:58:39 Peter Humphrey did opine thusly:
> On Monday 27 June 2011 18:53:31 Remy Blank wrote:
> > Peter Humphrey wrote:
> > > Can anyone point me to the parameter concerned? I can't find
> > > it with grep.
> > 
> > Could it be CONFIG_DETECT_SOFTLOCKUP?
> 
> Thanks to you and Alan.
> 
> No, I don't think so, as there's none such in my kernel config (this
> is 2.6.38, and none of the other distros have a version as recent
> as this). The same applies to pcie_aspm.
> 
> Meanwhile, I've resorted to switching things off in the BIOS, but as
> the lockups are intermittent it's going to take a while to find
> what's doing it.

How about these then?

# grep -i lockup .*
.config:# CONFIG_LOCKUP_DETECTOR is not set
.config:# CONFIG_HARDLOCKUP_DETECTOR is not set



-- 
alan dot mckinnon at gmail dot com



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

* Re: [gentoo-user] Re: OT: kernel parameters
  2011-06-30 13:28     ` Alan McKinnon
@ 2011-06-30 14:30       ` Peter Humphrey
  2011-06-30 14:45         ` Dale
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Humphrey @ 2011-06-30 14:30 UTC (permalink / raw
  To: gentoo-user

On Thursday 30 June 2011 14:28:26 Alan McKinnon wrote:
> On Thursday 30 June 2011 13:58:39 Peter Humphrey did opine thusly:
> > On Monday 27 June 2011 18:53:31 Remy Blank wrote:
> > > Peter Humphrey wrote:
> > > > Can anyone point me to the parameter concerned? I can't find
> > > > it with grep.
> > > 
> > > Could it be CONFIG_DETECT_SOFTLOCKUP?
> > 
> > Thanks to you and Alan.
> > 
> > No, I don't think so, as there's none such in my kernel config (this
> > is 2.6.38, and none of the other distros have a version as recent
> > as this). The same applies to pcie_aspm.
> > 
> How about these then?
> 
> # grep -i lockup .*
> .config:# CONFIG_LOCKUP_DETECTOR is not set
> .config:# CONFIG_HARDLOCKUP_DETECTOR is not set

Hmm. Could be. I'll try setting those in my Gentoo kernel and see if it 
hangs.

Thanks Alan. I did grep for "lockup" without success, so I suppose I must 
have mistyped it.

-- 
Rgds
Peter



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

* Re: [gentoo-user] Re: OT: kernel parameters
  2011-06-30 14:30       ` Peter Humphrey
@ 2011-06-30 14:45         ` Dale
  2011-06-30 15:18           ` Peter Humphrey
  0 siblings, 1 reply; 10+ messages in thread
From: Dale @ 2011-06-30 14:45 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey wrote:
>
> Hmm. Could be. I'll try setting those in my Gentoo kernel and see if it
> hangs.
>
> Thanks Alan. I did grep for "lockup" without success, so I suppose I must
> have mistyped it.
>
>    

Use grep -i.  That should ignore the case.  Sometimes things are in all 
caps, all lower case or some mix.  With -i, it doesn't matter.

Hope that helps.

Dale

:-)  :-)



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

* Re: [gentoo-user] Re: OT: kernel parameters
  2011-06-30 14:45         ` Dale
@ 2011-06-30 15:18           ` Peter Humphrey
  2011-06-30 15:42             ` Dale
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Humphrey @ 2011-06-30 15:18 UTC (permalink / raw
  To: gentoo-user

On Thursday 30 June 2011 15:45:40 Dale wrote:
> Peter Humphrey wrote:
> > Hmm. Could be. I'll try setting those in my Gentoo kernel and see if it
> > hangs.
> > 
> > Thanks Alan. I did grep for "lockup" without success, so I suppose I
> > must have mistyped it.
> 
> Use grep -i.  That should ignore the case.  Sometimes things are in all
> caps, all lower case or some mix.  With -i, it doesn't matter.
> 
> Hope that helps.

Thank you Dale. I did know that.

The phrase I remember seeing is "random lockups", so perhaps I only grepped 
for "lockups", which wouldn't have found the items Alan suggested.

-- 
Rgds
Peter



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

* Re: [gentoo-user] Re: OT: kernel parameters
  2011-06-30 15:18           ` Peter Humphrey
@ 2011-06-30 15:42             ` Dale
  0 siblings, 0 replies; 10+ messages in thread
From: Dale @ 2011-06-30 15:42 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey wrote:
> On Thursday 30 June 2011 15:45:40 Dale wrote:
>    
>> Peter Humphrey wrote:
>>      
>>> Hmm. Could be. I'll try setting those in my Gentoo kernel and see if it
>>> hangs.
>>>
>>> Thanks Alan. I did grep for "lockup" without success, so I suppose I
>>> must have mistyped it.
>>>        
>> Use grep -i.  That should ignore the case.  Sometimes things are in all
>> caps, all lower case or some mix.  With -i, it doesn't matter.
>>
>> Hope that helps.
>>      
> Thank you Dale. I did know that.
>
> The phrase I remember seeing is "random lockups", so perhaps I only grepped
> for "lockups", which wouldn't have found the items Alan suggested.
>
>    

Just wanted to make sure.  I sometimes forget the -i and miss 
something.  It can cost a lot of time when looking for something in a 
large file.

Dale

:-)  :-)



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

end of thread, other threads:[~2011-06-30 15:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-27 16:57 [gentoo-user] OT: kernel parameters Peter Humphrey
2011-06-27 17:47 ` Alan McKinnon
2011-06-27 17:53 ` [gentoo-user] " Remy Blank
2011-06-28 18:35   ` pk
2011-06-30 12:58   ` Peter Humphrey
2011-06-30 13:28     ` Alan McKinnon
2011-06-30 14:30       ` Peter Humphrey
2011-06-30 14:45         ` Dale
2011-06-30 15:18           ` Peter Humphrey
2011-06-30 15:42             ` Dale

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