mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Suresh Siddha <suresh.b.siddha@intel.com>
To: Borislav Petkov <bp@alien8.de>
Cc: Jody Bruchon <jody@nctritech.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"H. Peter Anvin" <hpa@linux.intel.com>
Subject: Re: [REGRESSION] [BISECT] ACPI+Inspiron 1545 = crash at xrstor_state()
Date: Tue, 16 Nov 2010 11:24:18 -0800	[thread overview]
Message-ID: <1289935458.2683.28.camel@sbsiddha-MOBL3.sc.intel.com> (raw)
In-Reply-To: <20101116144213.GA3715@a1.tnic>

On Tue, 2010-11-16 at 06:42 -0800, Borislav Petkov wrote:
> On Tue, Nov 16, 2010 at 04:56:06AM -0500, Jody Bruchon wrote:
> >  I previously reported an early boot crash on an Inspiron 1545 laptop;
> > see previous posts for more details.  I used the parameters "debug
> > vga=6 earlyprintk=vga" to catch these errors since they happen so
> > early in boot that the normal console has not yet initialized.
> > 
> > A picture of the crash dump from 2.6.37-rc2 is available here (2.6.36
> > crash is identical except for the reported kernel version):
> > http://c02ware.com/bugs/dump_c7ff0d9c92435e836e13aaa8d0e56d4000424bcc.jpg
> > 
> > I have experienced similar problems on a small number of other systems
> > also.  After confirming that the problem was introduced going from
> > 2.6.35 to 2.6.36, I have successfully bisected the kernel, and
> > narrowed down and tested to verify the commit which introduced the
> > problem.  Reverting this commit fixes 2.6.36 but 2.6.37-rc2 has the
> > exact same crash even if I revert it.  I don't know what to do from
> > here, but someone with more knowledge can surely guide me.  I will
> > only have the unit to test with for another day or two.  I have
> > attached a suitable .config for reference as well.  The commit info is
> > below.
> 
> I don't think this patch is at fault. Your oops photo above shows that
> the machine oopses at the first xrstor call in xstate_enable_boot_cpu():
> 
>  1c3:   0f 06                   clts
>  1c5:   83 c8 ff                or     $0xffffffff,%eax
>  1c8:   89 c2                   mov    %eax,%edx
>  1ca:   0f ae 2f                xrstor (%edi)			<---------
>  1cd:   8b 3d 54 00 00 00       mov    0x54,%edi
>  1d3:   0f ae 27                xsave  (%edi)
> 
> Adding more people to Cc.

hmm, that kernel .config has CONFIG_X86_L1_CACHE_SHIFT=5 and hence
xrstor faulted as it didn't find a 64byte aligned buffer.

Can you set the cpu type to GENERIC_CPU instead of MPENTIUMII? That
should avoid this issue.

I will see how can I fix this issue.

thanks,
suresh


  reply	other threads:[~2010-11-16 19:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16 14:42 Borislav Petkov
2010-11-16 19:24 ` Suresh Siddha [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-11-16  9:56 Jody Bruchon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1289935458.2683.28.camel@sbsiddha-MOBL3.sc.intel.com \
    --to=suresh.b.siddha@intel.com \
    --cc=bp@alien8.de \
    --cc=hpa@linux.intel.com \
    --cc=jody@nctritech.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®