Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.ports.ia64 > #622
| From | Ivan Zakharyaschev <imz@altlinux.org> |
|---|---|
| Newsgroups | linux.debian.ports.ia64 |
| Subject | Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) |
| Date | 2018-02-01 12:30 +0100 |
| Message-ID | <vele1-6ro-9@gated-at.bofh.it> (permalink) |
| References | <veaiC-78G-1@gated-at.bofh.it> <vele1-6ro-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Daniel,
On Wed, 31 Jan 2018, Dániel Kasza wrote:
> I think I also ran into this issue on my RX2600 a few months ago.
> Are you working on resolving this issue? Do you need any help with testing?
Yes, in some sense. We have tried to compile and boot a few kernels on
real hardware. (Don't you mind me replying to the debian-ia64 list, too,
so that the information gets to more people who may need it.)
Gleb glebfm@ has been doing the attempts; the last one being compiling the
squeeze mckinley kernel (which boots successfully for us with a newer
gcc-4.6 from wheezy. The result: it didn't boot.
> On Wed, Jan 31, 2018 at 6:33 PM, Ivan Zakharyaschev <imz@altlinux.org>
> wrote:
>> Issue 711135 seems to never have been resolved yet (since Debian 6
>> "squeeze", which has the last kernel which boots on rx2620:
>> 2.6.32-5-mckinley)
>>
>> Maybe this works:
>>
>> https://lists.debian.org/debian-ia64/2013/07/msg00009.html (Will Deacon):
>>
>> ...
>> Ok, after some more experimentation, this is looking more and more like
>> a compiler problem. Using 4.6.3, I *can* build a bootable kernel from the
>> Squeeze sources but only if I hack the kernel Makefile to pass -O1 instead
>> of -O2 or -Os.
Last night I learned the idea with -O1; so in the same build environment
that Gleb has created and with the same unpacked package sources (modified
to use gcc-4.6), I did the change for -O1:
root@rx2620:~# diff -du
/media/home/imz/linux-2.6-2.6.32/Makefile{.orig_Os,}
--- /media/home/imz/linux-2.6-2.6.32/Makefile.orig_Os 2009-12-03
06:51:21.000000000 +0300
+++ /media/home/imz/linux-2.6-2.6.32/Makefile 2018-02-01
05:09:08.485066439 +0400
@@ -520,11 +520,7 @@
# Defaults vmlinux but it is usually overridden in the arch makefile
all: vmlinux
-ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
-KBUILD_CFLAGS += -Os
-else
-KBUILD_CFLAGS += -O2
-endif
+KBUILD_CFLAGS += -O1
include $(srctree)/arch/$(SRCARCH)/Makefile
and started debuild -b -us -uc. The packages have just been built, but not
tested yet. Let's see (a bit later) what the results will be.
--
Best regards,
Ivan
Back to linux.debian.ports.ia64 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#711135: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Ivan Zakharyaschev <imz@altlinux.org> - 2018-02-01 00:50 +0100
Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Ivan Zakharyaschev <imz@altlinux.org> - 2018-02-01 12:30 +0100
Re: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Frank Scheiner <frank.scheiner@web.de> - 2018-02-04 18:20 +0100
Re: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Ivan Zakharyaschev <imz@altlinux.org> - 2018-02-05 00:00 +0100
Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Ivan Zakharyaschev <imz@altlinux.org> - 2018-02-05 02:00 +0100
Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Jason Duerstock <jason.duerstock@gmail.com> - 2018-02-05 02:20 +0100
Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Ivan Zakharyaschev <imz@altlinux.org> - 2018-02-05 03:20 +0100
Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Ivan Zakharyaschev <imz@altlinux.org> - 2018-02-07 20:00 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Ivan Zakharyaschev <imz@altlinux.org> - 2018-02-09 09:40 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Gatis Visnevskis <gasha@pie-dabas.net> - 2018-02-09 12:20 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Jason Duerstock <jason.duerstock@gmail.com> - 2018-02-09 13:10 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Émeric MASCHINO <emeric.maschino@gmail.com> - 2018-02-14 08:50 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Jason Duerstock <jason.duerstock@gmail.com> - 2018-02-14 14:50 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Eberhard Heuser <eberhard.heuser@chemie.uni-konstanz.de> - 2018-02-20 16:00 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2018-02-20 16:10 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Eberhard Heuser <eberhard.heuser@chemie.uni-konstanz.de> - 2018-02-25 15:10 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2018-02-25 15:10 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Eberhard Heuser <eberhard.heuser@chemie.uni-konstanz.de> - 2018-02-25 15:30 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2018-02-25 16:00 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) James Clarke <jrtc27@debian.org> - 2018-02-14 17:50 +0100
Re: Bug#711135: Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) James Clarke <jrtc27@debian.org> - 2018-02-09 12:30 +0100
Bug#711135: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2018-02-05 09:10 +0100
Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Frank Scheiner <frank.scheiner@web.de> - 2018-02-05 09:10 +0100
Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) Ivan Zakharyaschev <imz@altlinux.org> - 2018-02-05 12:10 +0100
Re: compiling a bootable kernel for ia64 (itanium2, mckinley, rx2620) John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2018-02-05 09:20 +0100
csiph-web