Skip to contentSkip to conversation

Anyone successfully booted a custom kernel on Fedora 17?

DISCUSSION Ben Greear 3 participants 6 messages May 31, 2012 – Jun 1, 2012

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

This is probably a Fedora 17 issue..but hoping someone will have mercy on me :)

I upgraded a system to Fedora 17 (from 16), and now none of my custom-built kernels are booting. I'm compiling the kernels on another machine, running the 'make modules install', tarring everything up, and then running 'mkinitrd ...' after un-tarring on the F17 machine.

The F17 machine hangs right before it should begin starting services.

I tried 3.3.7+, 3.0.32+, etc. The kernels that come with F17 boot fine.

If anyone has any ideas, please let me know.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
author
#1 lore raw
Quoted 1 line · Ben Greear

This is probably a Fedora 17 issue..but hoping someone will have mercy on me :)

Must be something to do with my kernel config or how I generate the initrd with mkinitrd: I tried vanilla 3.3.7 compiled and installed with:

Copy Fedora kernel config to ./config
make -j8 bzImage modules
make modules_install
make install

(and fixed up grub2)
and it booted just fine.

Thanks,
Ben

Quoted 15 lines

I upgraded a system to Fedora 17 (from 16), and now none of my custom-built kernels are booting. I'm compiling the kernels on another machine, running the 'make modules install', tarring everything up, and then running 'mkinitrd ...' after un-tarring on the F17 machine.

The F17 machine hangs right before it should begin starting services.

I tried 3.3.7+, 3.0.32+, etc. The kernels that come with F17 boot fine.

If anyone has any ideas, please let me know.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#2 lore raw
Quoted 5 lines · Ben Greear
Quoted 1 line · Ben Greear

This is probably a Fedora 17 issue..but hoping someone will have mercy on me :)

Must be something to do with my kernel config or how I generate the initrd with mkinitrd:

For what it's worth, over on the Rawhide side of the fence, dracut-018-74 builds bad initramfs images for me,while dracut-081-53 works. Not sure what release is in the F17 updates repository. I'm going to file a bug report with Fedora soon as I figure out what -74 is doing wrong.

author
#3 lore raw
Quoted 11 lines · On 05/31/2012 05:28 PM, [email protected] wrote:
Quoted 5 lines · Ben Greear
Quoted 1 line · Ben Greear

This is probably a Fedora 17 issue..but hoping someone will have mercy on me :)

Must be something to do with my kernel config or how I generate the initrd with mkinitrd:

For what it's worth, over on the Rawhide side of the fence, dracut-018-74 builds bad initramfs images for me,while dracut-081-53 works. Not sure what release is in the F17 updates repository. I'm going to file a bug report with Fedora soon as I figure out what -74 is doing wrong.

At least my problem appears to be some missing feature in the kernel, probably one of the 'fooFS' things releated to ramdisk and/or early startup. I enabled several things I found in the F17 .config file that were not in my config file, and now my kernel boots, at least when I
build and install it on the F17 machine.

I'm going to try building on F13 and just (re)making the initrd on F17 like I have been for all other distributions, but that will be a day or two..got a release to shove out the door first!

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#4 lore raw

Hi,

Quoted 40 lines · Ben Greear
Quoted 13 lines · On 05/31/2012 05:28 PM, [email protected] wrote:
Quoted 9 lines · Ben Greear
Quoted 3 lines · Ben Greear

This is probably a Fedora 17 issue..but hoping someone will have mercy on me :)

Must be something to do with my kernel config or how I generate the initrd with mkinitrd:

Quoted 5 lines

For what it's worth, over on the Rawhide side of the fence, dracut-018-74 builds bad initramfs images for me,while dracut-081-53 works.  Not sure what release is in the F17 updates repository.  I'm going to file a bug report
with Fedora soon as I figure out what -74 is doing wrong.

At least my problem appears to be some missing feature in the kernel, probably
one of the 'fooFS' things releated to ramdisk and/or early startup. I enabled several things I found in the F17 .config file that were not in my config file, and now my kernel boots, at least when I
build and install it on the F17 machine.

I'm going to try building on F13 and just (re)making the initrd on F17 like I have been for all other distributions, but that will be a day or two..got a release to shove out the door first!

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

This thread might help you folks.
http://lkml.org/lkml/2012/5/18/230
Urgent: x86-32 and GNU ld 2.22.52.0.1

Happy bug hunting
-p

#5 lore raw
Quoted 3 lines · On Fri, 01 Jun 2012 05:49:57 -0400,   said:

This thread might help you folks.
http://lkml.org/lkml/2012/5/18/230
Urgent: x86-32 and GNU ld 2.22.52.0.1

x86_64 here, so I doubt that's the problem. That, and both my working and broken kernels were build with binutils 2.22.52.0.3 - working with gcc 4.6.2 and busted with 4.7.0.