On Sun, 26 May 2013 18:23:15 +0200 (CEST) Petr Salinger <Petr.Salinger@seznam.cz> wrote: > What is your grub version ? > Please could you gunzip kernel image and send "readelf -l filename". > > The problem might be too big kernel, which can be handled only by > grub2 2.00-13 and above. See #699002, Aha, thanks. I installed GRUB directly from sid as a quick test to see if that's the problem, and the same kernel has booted successfully, so it seems that was the issue. I had previously been using GRUB 1.99-27+deb7u1 from wheezy. Again for clarity, that's booting r250856 with your patches from the glibc-bsd repo, and as I mentioned in my initial mail also with non-free firmware drivers enabled (which shouldn't affect booting since they're all modules in any case). I've noticed you marked my added patches as "temporary" in Subversion. While debugger.diff is definitely not required for Debian, cc_version.diff is needed for a successful build. Without it, the "Configured with" line in the output of "gcc -v" is included in the detected gcc version, due to the presence of --with-pkgversion in the gcc configure options in Debian. Also, I'm uncertain if this thread would have been better posted as a formal bug report. I initially didn't create one because the problem didn't apply to any package version yet in the archive, but I'm keen to follow proper communication channels within Debian, so please let me know if that was an error. Thanks again for your responses and for providing working patches. =) I doubt it's useful having obtained a successful boot, but here's the requested output from readelf (I'm not entirely certain what to look for in it): ---------------- 8< ---------------- Elf file type is EXEC (Executable file) Entry point 0xffffffff802bc3f0 There are 6 program headers, starting at offset 64 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align PHDR 0x0000000000000040 0xffffffff80200040 0xffffffff80200040 0x0000000000000150 0x0000000000000150 R E 8 INTERP 0x0000000000000190 0xffffffff80200190 0xffffffff80200190 0x000000000000000d 0x000000000000000d R 1 [Requesting program interpreter: /red/herring] LOAD 0x0000000000000000 0xffffffff80200000 0xffffffff80200000 0x0000000000cd4008 0x0000000000cd4008 R E 200000 LOAD 0x0000000000cd4008 0xffffffff810d4008 0xffffffff810d4008 0x00000000000e3a88 0x00000000003938f8 RW 200000 DYNAMIC 0x0000000000cd4008 0xffffffff810d4008 0xffffffff810d4008 0x00000000000000d0 0x00000000000000d0 RW 8 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RWE 8 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .hash .dynsym .dynstr .text .rodata set_sysctl_set set_sysinit_set set_sysuninit_set set_modmetadata_set set_kdb_dbbe_set set_ah_chips set_ah_rfs set_kbddriver_set set_cons_set set_gdb_dbgport_set usb_host_id set_ratectl_set set_crypto_set set_ieee80211_ioctl_setset set_ieee80211_ioctl_getset set_scanner_set set_videodriver_set set_scterm_set set_vga_set set_scrndr_set set_linux_ioctl_handler_set set_linux_device_handler_set kern_conf 03 .dynamic .data set_pcpu .bss 04 .dynamic 05 ---------------- >8 ----------------
Attachment:
signature.asc
Description: PGP signature