Opened 5 years ago

Closed 5 years ago

Last modified 16 months ago

#10776 closed bug (fixed)

[haiku_loader] relocating kernel failed: 80001304!

Reported by: diver Owned by: zooey
Priority: normal Milestone: R1
Component: System/Boot Loader Version: R1/Development
Keywords: Cc: diger
Blocked By: Blocking: #10793
Has a Patch: no Platform: All

Description (last modified by diver)

hrev47162 in VirtualBox.

gcc4 haiku built on x86_gcc2 can't load itself. Upon boot it enters bootloader by itself where I can see my boot partition, and other partition with x86_gcc2 Haiku install. Selecting "Continue booting" returns it back to the bootloader immediately. I should also note that "Blacklist entries" menu lists files on this partition.

x86_gcc2 Haiku bootloader can't see this partition.

Haiku was built using these steps:

git clone git://
cd haiku
./configure --target-arch x86
jam -q haiku-image
mkdir /haiku-image
mount generated/haiku.image /haiku-image

I then used Installer to install from the mounted image to a partition. One of the last lines in "Display current booloader log" reads: relocating kernel failed: 80001304!

Attachments (1)

workaround_for_missing_symbols.diff (583 bytes ) - added by mmlr 5 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 by diver, 5 years ago

Description: modified (diff)

comment:2 by diger, 5 years ago

Reproduced with hrev47054 & hrev47133 built on x86

Last edited 5 years ago by diger (previous) (diff)

comment:3 by korli, 5 years ago

see #10272 : "The native GCC4 packages need some work to add kernel versions of libgcc/libsupc++, required to build Haiku on Haiku."

comment:4 by diver, 5 years ago

Description: modified (diff)

comment:5 by diver, 5 years ago

Blocking: 10793 added

comment:6 by luroh, 5 years ago

Blocking: 7665 added

comment:7 by mmlr, 5 years ago

I find that state very disappointing to say the least. Locally I have worked around the issue by not failing when encountering missing symbols while relocating in the bootloader. It booted under QEMU, but I haven't really looked for any side effects. I'll attach the workaround for others in the same situation.

comment:8 by zooey, 5 years ago

Owner: changed from bonefish to zooey
Status: newin-progress

comment:9 by zooey, 5 years ago

Resolution: fixed
Status: in-progressclosed

Should be fixed with hrev47702, as we are now using gcc-syslibs, such that a build on Haiku is using the required kernel-specific versions of that libraries, too.

comment:10 by waddlesplash, 16 months ago

Blocking: 7665 removed
Note: See TracTickets for help on using tickets.