[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] Re: Any way of tracing kernel freezes?
From:       Paul Hartman <paul.hartman+gentoo () gmail ! com>
Date:       2013-06-13 21:14:11
Message-ID: CAEH5T2Pb0KQuh0WSfvQXMy+cPnf+ZoBXjrJbsFKwBvscWiwUaA () mail ! gmail ! com
[Download RAW message or body]

On Thu, Jun 13, 2013 at 9:05 AM, Nikos Chantziaras <realnc@gmail.com> wrote:
> On 13/06/13 16:47, Frank Steinmetzger wrote:
>>
>> recently my netbook got the habit of freezing sporadically. [...]
>> [...]
>>
>> I ran a memtest a few months back and stopped it after 8 successful
>> passes.  I might try that again as soon as I find out hową, but I'd
>> think that a corrupt memory would cause something different than a full
>> freeze.
>
>
> It usually manifests in segfaults that seem to come at random.  But it's
> still worth a shot.  It's very easy.  Emerge "sys-apps/memtest86+" and add
> this grub entry:
>
>   title=Memtest86+
>   root (hd0,0)
>   kernel /boot/memtest86plus/memtest.bin
>
> (Adapt the "hd0,0" of course to be the same disk as the one you're using to
> boot your kernel.)
>
> That's it.  Now your boot menu will include a "Memtest86+" option.  This is
> for grub 1 though.  If you migrated to grub 2 by now, then I don't know how
> that boot entry would look like.  I suspect it will be some 300-line
> monstrosity or something :-|

Actually it is -- dare I say it -- even more simple in grub2 :)

menuentry "Memtest86+ 4.20" {
        linux16 /memtest86plus/memtest.bin
}

That's from my grub.cfg... I don't use the grub auto-configuration
tools. I just made a manual grub.cfg like in the grub1 days. It is
quite similar to the old grub syntax, but more can do more stuff.

BTW there is a new version 5.00 of memtest86+ which is on rc1 release
right now, it supports multi-core processors (and tests/uses them),
shows system temperature while testing, is much faster than the old
one, and has a few new tests. There is a link to it on the memtest
forums.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic