Bug #1881

GCC44 built loader doesn't boot kernel on x86_64

Added by herrgard about 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

This happens when using a loader compiled with CCVER=gcc44. Menu comes
up and all, but when you hit boot it starts loading kernel and then
after <1 second the box reboots. I don't think the loader finishes to
load kernel, but it is hard to see.

DragonFly v2.8.0.1.g0adc6d-RELEASE #6: Mon Oct 18 22:25:48 CEST 2010 x86_64

Max

History

#1 Updated by alexh about 4 years ago

Do you (or anybody else, for that matter) know if this works ok on i386 and is an
x86_64-specific problem?

#2 Updated by herrgard about 4 years ago

On Wed, Nov 3, 2010 at 7:55 AM, Alex Hornung (via DragonFly issue
tracker) <> wrote:
> Do you (or anybody else, for that matter) know if this works ok on i386 and is an
> x86_64-specific problem?

I can try when I get home. I have i386 gcc44 built and just need to
installworld.

Max

#3 Updated by alexh about 4 years ago

Any news on this?

Cheers,
Alex

#4 Updated by herrgard about 4 years ago

It works on i386.

And the i386 loader, gcc44 built, works on x86_64 too.

/usr/src/world_i386/usr/src/sys/boot/pc32/loader/loader <-- this works
on both i386 and x86_64
/usr/src/world_x86_64/usr/src/sys/boot/pc32/loader/loader <-- this don't

Max

#5 Updated by sepherosa almost 4 years ago

On Sun, Nov 7, 2010 at 6:46 AM, Max Herrgard <> wrote:
> It works on i386.
>
> And the i386 loader, gcc44 built, works on x86_64 too.
>
> /usr/src/world_i386/usr/src/sys/boot/pc32/loader/loader <-- this works
> on both i386 and x86_64
> /usr/src/world_x86_64/usr/src/sys/boot/pc32/loader/loader <-- this don't

I believe it has been fixed on master.

Best Regards,
sephe

#6 Updated by herrgard almost 4 years ago

Yup, now it works. Thanks.

commit 7087ece457580d5e265e70a0117ef0c1e6e40f5b

Also available in: Atom PDF