Borislav Petkov wrote:
Hi,
now this is one of those cases where one tries to shoot a small fly with a
nuclear missile. The first assumption that something was wrong with the kernel
setup code was wrong and here's how i know:
The problem with my version of grub not hitting the breakpoint
Borislav Petkov wrote:
Hi,
now this is one of those cases where one tries to shoot a small fly with a
nuclear missile. The first assumption that something was wrong with the kernel
setup code was wrong and here's how i know:
The problem with my version of grub not hitting the breakpoint
On Wed, Aug 01, 2007 at 10:36:07AM -0400, H. Peter Anvin wrote:
> Borislav Petkov wrote:
>> Breakpoint 4, 0x00040200 in ?? ()
>> 1: x/i ($cs << 4) + $eip 0x40300: lea(%si),%dx
>> (gdb) c
>> Continuing.
>> if i do delete here, it loads the second stage of grub and
Borislav Petkov wrote:
Breakpoint 4, 0x00040200 in ?? ()
1: x/i ($cs << 4) + $eip 0x40300: lea(%si),%dx
(gdb) c
Continuing.
if i do delete here, it loads the second stage of grub and continues to load the
kernel. Is there another way to land at the jmp
Borislav Petkov wrote:
if i do delete here, it loads the second stage of grub and continues to load the
kernel. Is there another way to land at the jmp instruction instead of poking
blindly, maybe disassemble something parts of the initial code. \me reading
grub-docs...
Oh lovely. The
Borislav Petkov wrote:
if i do delete here, it loads the second stage of grub and continues to load the
kernel. Is there another way to land at the jmp instruction instead of poking
blindly, maybe disassemble something parts of the initial code. \me reading
grub-docs...
Oh lovely. The
Borislav Petkov wrote:
Breakpoint 4, 0x00040200 in ?? ()
1: x/i ($cs 4) + $eip 0x40300: lea(%si),%dx
(gdb) c
Continuing.
if i do delete here, it loads the second stage of grub and continues to load the
kernel. Is there another way to land at the jmp
On Wed, Aug 01, 2007 at 10:36:07AM -0400, H. Peter Anvin wrote:
Borislav Petkov wrote:
Breakpoint 4, 0x00040200 in ?? ()
1: x/i ($cs 4) + $eip 0x40300: lea(%si),%dx
(gdb) c
Continuing.
if i do delete here, it loads the second stage of grub and continues to
On Mon, Jul 30, 2007 at 01:46:33PM -0700, H. Peter Anvin wrote:
> Borislav Petkov wrote:
>> Hi,
>> i decided to do some cheating :) and skipped the breakpoint where it used
>> to
>> stop (0x40200). (by the way, hitting 'c' wouldn't continue at all and keep
>> executing the same instruction over
On Mon, Jul 30, 2007 at 01:46:33PM -0700, H. Peter Anvin wrote:
Borislav Petkov wrote:
Hi,
i decided to do some cheating :) and skipped the breakpoint where it used
to
stop (0x40200). (by the way, hitting 'c' wouldn't continue at all and keep
executing the same instruction over and over
Borislav Petkov wrote:
Hi,
i decided to do some cheating :) and skipped the breakpoint where it used to
stop (0x40200). (by the way, hitting 'c' wouldn't continue at all and keep
executing the same instruction over and over again). This time it seems it
behaves as expected:
Uhm, it looks
On Mon, Jul 30, 2007 at 07:05:35AM -0700, H. Peter Anvin wrote:
> Borislav Petkov wrote:
>> Breakpoint 4, 0x00040200 in ?? ()
>> 1: x/i ($cs << 4) + $eip 0x40300: lea(%si),%dx
>> (gdb) p/x $ds
>> $1 = 0x18
>
>
> This isn't the setup code, it's doing something else.
>
> Could you try this
Borislav Petkov wrote:
Breakpoint 4, 0x00040200 in ?? ()
1: x/i ($cs << 4) + $eip 0x40300: lea(%si),%dx
(gdb) p/x $ds
$1 = 0x18
This isn't the setup code, it's doing something else.
Could you try this again, but when you get to this point, if the
instruction displayed isn't a
Borislav Petkov wrote:
Breakpoint 4, 0x00040200 in ?? ()
1: x/i ($cs 4) + $eip 0x40300: lea(%si),%dx
(gdb) p/x $ds
$1 = 0x18
This isn't the setup code, it's doing something else.
Could you try this again, but when you get to this point, if the
instruction displayed isn't a jmp
On Mon, Jul 30, 2007 at 07:05:35AM -0700, H. Peter Anvin wrote:
Borislav Petkov wrote:
Breakpoint 4, 0x00040200 in ?? ()
1: x/i ($cs 4) + $eip 0x40300: lea(%si),%dx
(gdb) p/x $ds
$1 = 0x18
This isn't the setup code, it's doing something else.
Could you try this again, but when
Borislav Petkov wrote:
Hi,
i decided to do some cheating :) and skipped the breakpoint where it used to
stop (0x40200). (by the way, hitting 'c' wouldn't continue at all and keep
executing the same instruction over and over again). This time it seems it
behaves as expected:
Uhm, it looks
On Sun, Jul 29, 2007 at 06:50:32AM -0700, H. Peter Anvin wrote:
> 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
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
On Sun, Jul 29, 2007 at 10:24:02AM +0100, Xudong Guan wrote:
> Borislav Petkov wrote:
> > On Thu, Jul 26, 2007 at 09:31:54PM -0700, H. Peter Anvin wrote:
> > > If we can't reproduce the problem in simulation, that itself will tell
> > > us something very important. If we *can* reproduce it in
Borislav Petkov wrote:
> On Thu, Jul 26, 2007 at 09:31:54PM -0700, H. Peter Anvin wrote:
> > If we can't reproduce the problem in simulation, that itself will tell
> > us something very important. If we *can* reproduce it in simulation, it
> > will be vastly easier to debug.
>
> [EMAIL
On Thu, Jul 26, 2007 at 09:31:54PM -0700, H. Peter Anvin wrote:
[added to cc: Chuck Ebbert]
> Borislav Petkov wrote:
> >>
> >> The absolute best would be if we could replicate this in simulation
> >> (Bochs or Qemu); this would make it very simple to debug. Would you be
> >> willing to try to do
On Thu, Jul 26, 2007 at 09:31:54PM -0700, H. Peter Anvin wrote:
[added to cc: Chuck Ebbert]
Borislav Petkov wrote:
The absolute best would be if we could replicate this in simulation
(Bochs or Qemu); this would make it very simple to debug. Would you be
willing to try to do that?
Borislav Petkov wrote:
On Thu, Jul 26, 2007 at 09:31:54PM -0700, H. Peter Anvin wrote:
If we can't reproduce the problem in simulation, that itself will tell
us something very important. If we *can* reproduce it in simulation, it
will be vastly easier to debug.
[EMAIL
On Sun, Jul 29, 2007 at 10:24:02AM +0100, Xudong Guan wrote:
Borislav Petkov wrote:
On Thu, Jul 26, 2007 at 09:31:54PM -0700, H. Peter Anvin wrote:
If we can't reproduce the problem in simulation, that itself will tell
us something very important. If we *can* reproduce it in simulation,
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
On Sun, Jul 29, 2007 at 06:50:32AM -0700, H. Peter Anvin wrote:
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
On 07/27/2007 12:31 AM, H. Peter Anvin wrote:
> Borislav Petkov wrote:
>>> The absolute best would be if we could replicate this in simulation
>>> (Bochs or Qemu); this would make it very simple to debug. Would you be
>>> willing to try to do that?
>> sure, will do, however i'll be busy at
On 07/27/2007 12:31 AM, H. Peter Anvin wrote:
Borislav Petkov wrote:
The absolute best would be if we could replicate this in simulation
(Bochs or Qemu); this would make it very simple to debug. Would you be
willing to try to do that?
sure, will do, however i'll be busy at work/travelling
Borislav Petkov wrote:
>>
>> The absolute best would be if we could replicate this in simulation
>> (Bochs or Qemu); this would make it very simple to debug. Would you be
>> willing to try to do that?
> sure, will do, however i'll be busy at work/travelling tomorrow but as soon
> as i
> get home
On Thu, Jul 26, 2007 at 11:12:09AM -0700, H. Peter Anvin wrote:
> Borislav Petkov wrote:
> >
> >> What distro/version of grub are you running?
> > Debian unstable
> >> I'm wondering if there are
> >> some old version of grub out there which did the "load four sectors"
> >>
Borislav Petkov wrote:
>
>> What distro/version of grub are you running?
> Debian unstable
>> I'm wondering if there are
>> some old version of grub out there which did the "load four sectors"
>> way-anciently-obsolete crap; the other possibility that comes to mind is
>> setting up the stack in
Xudong Guan wrote:
> On 09:26(-0700) Thu 26 Jul, H. Peter Anvin wrote:
>> Xudong Guan wrote:
>>> On 09:11(-0700) Thu 26 Jul, H. Peter Anvin wrote:
Could you send me a copy of that Qemu image?
>>> I can only upload the 70M bz2 file 2 hours later, when I return home
>>> and have no upload
On 18:59(+0200) Thu 26 Jul, Borislav Petkov wrote:
> On Thu, Jul 26, 2007 at 05:36:18PM +0100, Xudong Guan wrote:
> > On my real machine with grub 0.97, there is no problem loading the
> > same kernel.
>
> Do you mean the kernel with the 4fd06960f120e02e9abc802a09f9511c400042a5
> commit
> on
On Thu, Jul 26, 2007 at 05:36:18PM +0100, Xudong Guan wrote:
> On 18:30(+0200) Thu 26 Jul, Borislav Petkov wrote:
> > grub version:
> > Version: 0.97-29
>
> On my real machine with grub 0.97, there is no problem loading the
> same kernel.
Do you mean the kernel with the
On 18:30(+0200) Thu 26 Jul, Borislav Petkov wrote:
> grub version:
> Version: 0.97-29
On my real machine with grub 0.97, there is no problem loading the
same kernel.
Xudong
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
On Thu, Jul 26, 2007 at 08:19:08AM -0700, H. Peter Anvin wrote:
> Xudong Guan wrote:
> > On 13:26(+0200) Tue 24 Jul, Borislav Petkov wrote:
> >>2.6.23-rc1 won't boot on my Asus M6N laptop and the last thing it shows
> >> after loading
> >> grub is "No setup signature found...," which, imho,
Xudong Guan wrote:
> On 08:19(-0700) Thu 26 Jul, H. Peter Anvin wrote:
>> What distro/version of grub are you running? I'm wondering if there are
>> some old version of grub out there which did the "load four sectors"
>> way-anciently-obsolete crap; the other possibility that comes to mind is
>>
On 08:19(-0700) Thu 26 Jul, H. Peter Anvin wrote:
> What distro/version of grub are you running? I'm wondering if there are
> some old version of grub out there which did the "load four sectors"
> way-anciently-obsolete crap; the other possibility that comes to mind is
> setting up the stack in
Xudong Guan wrote:
> On 13:26(+0200) Tue 24 Jul, Borislav Petkov wrote:
>>2.6.23-rc1 won't boot on my Asus M6N laptop and the last thing it shows
>> after loading
>> grub is "No setup signature found...," which, imho, comes from
>> arch/i386/boot/header.S. I tried printing out the value of
On 13:26(+0200) Tue 24 Jul, Borislav Petkov wrote:
>2.6.23-rc1 won't boot on my Asus M6N laptop and the last thing it shows
> after loading
> grub is "No setup signature found...," which, imho, comes from
> arch/i386/boot/header.S. I tried printing out the value of setup_sig like so
I hitted
On Thu, Jul 26, 2007 at 11:12:09AM -0700, H. Peter Anvin wrote:
Borislav Petkov wrote:
What distro/version of grub are you running?
Debian unstable
I'm wondering if there are
some old version of grub out there which did the load four sectors
way-anciently-obsolete crap; the other
Borislav Petkov wrote:
What distro/version of grub are you running?
Debian unstable
I'm wondering if there are
some old version of grub out there which did the load four sectors
way-anciently-obsolete crap; the other possibility that comes to mind is
setting up the stack in an invalid
On 18:59(+0200) Thu 26 Jul, Borislav Petkov wrote:
On Thu, Jul 26, 2007 at 05:36:18PM +0100, Xudong Guan wrote:
On my real machine with grub 0.97, there is no problem loading the
same kernel.
Do you mean the kernel with the 4fd06960f120e02e9abc802a09f9511c400042a5
commit
on top?
No, I
On 18:30(+0200) Thu 26 Jul, Borislav Petkov wrote:
grub version:
Version: 0.97-29
On my real machine with grub 0.97, there is no problem loading the
same kernel.
Xudong
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
On Thu, Jul 26, 2007 at 08:19:08AM -0700, H. Peter Anvin wrote:
Xudong Guan wrote:
On 13:26(+0200) Tue 24 Jul, Borislav Petkov wrote:
2.6.23-rc1 won't boot on my Asus M6N laptop and the last thing it shows
after loading
grub is No setup signature found..., which, imho, comes from
On 13:26(+0200) Tue 24 Jul, Borislav Petkov wrote:
2.6.23-rc1 won't boot on my Asus M6N laptop and the last thing it shows
after loading
grub is No setup signature found..., which, imho, comes from
arch/i386/boot/header.S. I tried printing out the value of setup_sig like so
I hitted the
Xudong Guan wrote:
On 09:26(-0700) Thu 26 Jul, H. Peter Anvin wrote:
Xudong Guan wrote:
On 09:11(-0700) Thu 26 Jul, H. Peter Anvin wrote:
Could you send me a copy of that Qemu image?
I can only upload the 70M bz2 file 2 hours later, when I return home
and have no upload restrictions. If you
Xudong Guan wrote:
On 08:19(-0700) Thu 26 Jul, H. Peter Anvin wrote:
What distro/version of grub are you running? I'm wondering if there are
some old version of grub out there which did the load four sectors
way-anciently-obsolete crap; the other possibility that comes to mind is
setting up
Xudong Guan wrote:
On 13:26(+0200) Tue 24 Jul, Borislav Petkov wrote:
2.6.23-rc1 won't boot on my Asus M6N laptop and the last thing it shows
after loading
grub is No setup signature found..., which, imho, comes from
arch/i386/boot/header.S. I tried printing out the value of setup_sig
On 08:19(-0700) Thu 26 Jul, H. Peter Anvin wrote:
What distro/version of grub are you running? I'm wondering if there are
some old version of grub out there which did the load four sectors
way-anciently-obsolete crap; the other possibility that comes to mind is
setting up the stack in an
Borislav Petkov wrote:
The absolute best would be if we could replicate this in simulation
(Bochs or Qemu); this would make it very simple to debug. Would you be
willing to try to do that?
sure, will do, however i'll be busy at work/travelling tomorrow but as soon
as i
get home i'll whip
On Thu, Jul 26, 2007 at 05:36:18PM +0100, Xudong Guan wrote:
On 18:30(+0200) Thu 26 Jul, Borislav Petkov wrote:
grub version:
Version: 0.97-29
On my real machine with grub 0.97, there is no problem loading the
same kernel.
Do you mean the kernel with the
Hi there,
2.6.23-rc1 won't boot on my Asus M6N laptop and the last thing it shows
after loading
grub is "No setup signature found...," which, imho, comes from
arch/i386/boot/header.S. I tried printing out the value of setup_sig like so
# Setup corrupt somehow...
setup_bad:
movl
Hi there,
2.6.23-rc1 won't boot on my Asus M6N laptop and the last thing it shows
after loading
grub is No setup signature found..., which, imho, comes from
arch/i386/boot/header.S. I tried printing out the value of setup_sig like so
snip
# Setup corrupt somehow...
setup_bad:
movl
54 matches
Mail list logo