public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: bbpetkov@yahoo.de
Cc: Xudong Guan <xudong.guan@gmail.com>,
	linux-kernel@vger.kernel.org, Chuck Ebbert <cebbert@redhat.com>
Subject: Re: 2.6.23-rc1: no setup signature found...
Date: Sun, 29 Jul 2007 06:50:32 -0700	[thread overview]
Message-ID: <46AC9B28.6060906@zytor.com> (raw)
In-Reply-To: <20070729103706.GA16780@gollum.tnic>

Borislav Petkov wrote:
> 
> Right, this was too easy to be true. I now did:
> 
> qemu -hda /dev/hda -snapshot
> 
> and booted from the hd using the installed grub and the same kernel and it
> _didn't_ boot showing again "no setup signature found... "
> 

Okay, so it's an algorithmic problem.  This is quite important to know.

Is /boot a separate partition on your disk by any chance?  Either way, 
this means we can use qemu to debug this, which will make it a lot easier.

This is what I'd like you to do next:

- run qemu in one window with the -S -s options.
- in another window, do:

	gdb
	target remote localhost:1234
	set architecture i8086
	disp/i ($cs << 4)+$eip
	br *0x10200
	br *0x20200
	br *0x30200
	br *0x40200
	br *0x50200
	br *0x60200
	br *0x70200
	br *0x80200
	br *0x90200
	c

	# ... hopefully you're now stopped at a jump instruction
	p/x $ds
	
	# Hopefully this is showing, say, 0x9000 if you're stopped
	# at 0x90200

	# Where X is the first digit of the address stopped at:
	dump memory setup.dump 0xX0000 0xX8000


Please send me setup.dump plus your vmlinuz file.

Thanks,

	-hpa

  reply	other threads:[~2007-07-29 13:50 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24 11:26 2.6.23-rc1: no setup signature found Borislav Petkov
2007-07-26 15:08 ` Xudong Guan
2007-07-26 15:19   ` H. Peter Anvin
2007-07-26 15:26     ` Xudong Guan
2007-07-26 15:43       ` H. Peter Anvin
     [not found]       ` <46A8C7BA.3040008@zytor.com>
     [not found]         ` <20070726162439.GA13387@xguan-laptop>
     [not found]           ` <46A8CB3F.7040207@zytor.com>
     [not found]             ` <20070726171609.GA16236@xguan-laptop>
2007-07-26 17:55               ` H. Peter Anvin
2007-07-26 16:30     ` Borislav Petkov
2007-07-26 16:36       ` Xudong Guan
2007-07-26 16:59         ` Borislav Petkov
2007-07-26 17:09           ` Xudong Guan
2007-07-26 18:12       ` H. Peter Anvin
2007-07-27  1:36         ` Borislav Petkov
2007-07-27  4:31           ` H. Peter Anvin
2007-07-27 15:51             ` Chuck Ebbert
2007-07-29  8:51             ` Borislav Petkov
2007-07-29  9:24               ` Xudong Guan
2007-07-29 10:37                 ` Borislav Petkov
2007-07-29 13:50                   ` H. Peter Anvin [this message]
2007-07-29 19:15                     ` Borislav Petkov
2007-07-30 14:05                       ` H. Peter Anvin
2007-07-30 18:53                         ` Borislav Petkov
2007-07-30 20:46                           ` H. Peter Anvin
2007-08-01  4:38                             ` Borislav Petkov
2007-08-01 12:41                               ` H. Peter Anvin
2007-08-01 14:36                               ` H. Peter Anvin
2007-08-02  5:13                                 ` 2.6.23-rc1: no setup signature found... SOLVED! Borislav Petkov
2007-08-02 17:41                                   ` H. Peter Anvin

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=46AC9B28.6060906@zytor.com \
    --to=hpa@zytor.com \
    --cc=bbpetkov@yahoo.de \
    --cc=cebbert@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xudong.guan@gmail.com \
    /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