Custom kernel does not boot.

Hi all, I recently changed to a laptop HP Pavilion G4, I installed Arch Linux and it works perfect, but I want to compile my own kernel to optimize the system a bit more.
I compiled a kernel in Gentoo sometimes, but I have no arch problems, I used the traditional method of compilation and all good, but I have a simple problem starting.
The kernel runs in "initramfs loading" and nothing happens, do not get errors or anything like that.
This is an image of what I have in /boot and /usr/lib/modules:
http://ompldr.org/vaDY0ZA/image.png
In case you wondered if you think the initramfs with mkinitcpio:
mkinitcpio -k 3.2.9-custom -g /boot/initramfs-compiled.img
And kernel config:
General setup --->
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
The grub I think I have it configured correctly, these are the lines of the default kernel and the kernel compiled.
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-5de5f584-af2b-47ff-84d6-c7adf842892f' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 5de5f584-af2b-47ff-84d6-c7adf842892f
else
search --no-floppy --fs-uuid --set=root 5de5f584-af2b-47ff-84d6-c7adf842892f
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=5de5f584-af2b-47ff-84d6-c7adf842892f ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
menuentry 'Arch GNU/Linux, with Linux compiled' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-compiled-true-5de5f584-af2b-47ff-84d6-c7adf842892f' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 5de5f584-af2b-47ff-84d6-c7adf842892f
else
search --no-floppy --fs-uuid --set=root 5de5f584-af2b-47ff-84d6-c7adf842892f
fi
echo 'Loading Linux compiled ...'
linux /boot/vmlinuz-compiled root=UUID=5de5f584-af2b-47ff-84d6-c7adf842892f ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-compiled.img
I appreciate any help

But you are not going to achieve a faster boot by eliminating modules that are not going to be used/loaded anyway.  I can see a faster boot being achieved if you were compiling in order to eliminate the need for an initramfs, but it seems taht you are still using one anyway (besides, there are advantages to having and initramfs).  The modules you don't use will simply take up disk space, udev probes your hardware and only applies what you need.
Also if you think about the time you will save with your boot relative to the time it takes to configure and compile the kernel, it is not really worth it.  Say you only take compilation into account and it takes five minutes.  Then say that results in an amazing 2 second decrease in boot time.  It would take 150 boots to make that compilation worth the time.  Then with Arch's rolling release model, you will likely have a kernel update long before you ever get there.
I think a better idea might be to simply optimize what goes in your initramfs.  Falconindy made this blog post (reluctantly it seems) about just that.  I tried it before I started using device-mapper functions (which then require a bunch more stuff), and it actually made a noticeable difference.  The beauty of this is that the configuration will stay consistent between kernel versions, and will automatically be built after every kernel update.
Edit: Also, you really should check out the CK kernel, as graysky has made it so damn easy its ridiculous.  And it is pretty functionally amazing.
Last edited by WonderWoofy (2013-01-25 01:42:01)

Similar Messages

  • Thinkpad Edge E420 does not boot up and customer service does not help

    I have a Lenovo Thinkpad Edge E420 laptop that stopped powering on all of a sudden. It was working fine till one day fine and all of a sudden, does not boot up the next morning. I have googled around and looked in Lenovo Forums and it looks like this is a common issue with motherboard on these types of laptops and that lenovo fixed some of these. Unfortunately, my laptop is out of warranty but I do see that Lenovo fixed similar problems for some laptops that are out of warranty. Please see the two threads below
    https://forums.lenovo.com/t5/ThinkPad-Edge-S-series/thinkpad-e420-wont-start/td-p/755813
    https://forums.lenovo.com/t5/ThinkPad-Edge-S-series/E420-motherboard-problems/td-p/667009/page/10
    So, I tried calling customer service multiple times hoping that I could get to talk to a supervisor and explain the problem. Just today, I was told I need to agree to pay $575 (which is much more than what the laptop is worth) to even talk to a supervisor. This is quite disappointing.
    If any Lenovo support staff is monitoring it, can you help here?

    Its not the motherboard even though they say it is. All they will do is replace the motherboard and it will just fail on you again. I had the exact same issue and the motherboard was replaced. Next day I used it it failed again. You need to remove the CMOS battery which is located underneath the laptop. Its in the compartment with the one screw. Remove that. Remove the battery and all power supply. Then  plug the CMOS back in and  plug in powercord. Once you have done that start up as normal. Press f1 to enter BIOS. Go to the Config tab and under "power options" disable "rapid intel start." That worked for me as a temporary solution. 
    It clearly isnt a motherboard fault as all Tech support from Lenovo claim it to be. I mean c'mon I had the exact same fault the day after my motherboard was replaced, but after removing CMOS and battery the motherboard magically starts to work?? Must be related to the W5 problem they have been having with BIOS. 
    Heres a link to another thread with others with the same problem.
    http://forums.lenovo.com/t5/ThinkPad-Edge-S-series/E540-power-issue/td-p/1326979/page/9
    Let me know if this helps at all since no one from Lenovo seems to care about helping their own customers... very dissappointed with the customer service. Personally I dont think Ill ever purchase a lenovo product again after their pathetic execuse for "tech support." Anyway good luck!

  • [solved]kernel 2.6.27 does not boot

    Today I have updated my kernel to version 2.6.27. But now my computer does not boot anymore. No error message, last line says:
    pci 0000:00:00.0: Enabling HT MSI Mapping
    Can anybody help me?
    FSM
    Last edited by FSM (2008-10-14 10:28:52)

    Glad it worked !!:)
    You should make it permanent by adding it to your menu.lst file. And mark this thread [Solved] please
    Last edited by Onwards (2008-10-14 10:23:11)

  • System does not boot during Hyper V installation

    Hi -
    I was trying to install Hyper V on my Windows 8.1 professional edition, 64 bit OS. The installation was through ISO downloaded through MSDN. During installation I had to hard boot my system through switch off. Now my system does not boot correctly and during
    boot it flashes a message "The last windows installation did not complete please install the setup". Does this mean that my existing 8.1 OS has crashed ? how can i come out of this and recover my data ?
    My hardware configuration is :
    i7 processor, 16GB RAM, intel graphics Card, windows 8.1 professional 64 bit OS.

    Hi RahuIM,
    You can try to enter safe mode then copy your personal data to the data volume then reinstall the system.
    The related KB:
    Start your computer in safe mode
    http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7
    Step-By-Step: Enabling Hyper-V for use on Windows 8.1
    http://blogs.technet.com/b/canitpro/archive/2014/03/11/step-by-step-enabling-hyper-v-for-use-on-windows-8-1.aspx
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Boot failed: solaris server does not boot

    Hi All,
    one of my support person who has administrator previlages tried move the contents of root to trash directory, in the middle it got hung,and he had restrted the server.
    Now the solaris does not boot. It says
    boot failed
    Enter Filename [platform/sun4v/kernel/sparcv9/unix]
    and what ever we enter there it says boot cannot read.
    Please suggest some workaround, nearly 200 users are down, actually it is our licnese server.

    Hi,
    What you could try is the following :
    Boot the system from the solaris cd into single user mode.
    Find out what the disk is you need to mount and mount it under /a
    After you have done this you can see if you can move back the stuff that was moved from the root directory to the trash.
    If that works then you could try and boot again from the disk to see if everything works again.
    Nico

  • System does not boot when PCIe express Card is inserted in system. Using Spartan-6 PCIe Integrated Endpoint Block 1.3

    Hi,
    I am using Spartan-6 PCIe Endpoint Block core v1.3 and I am using ISE 12.1. I have used the PIO example design,
    modified it according to our design.
    The core is configured as below:
    BAR0 - 8KB, 32-bit, Memory Type
    Lanes - x1
    Clock - 125 MHz (system clock)
    The card is a custom board. When the card is pluged into the system the system does not boots, it hangs.
    I have tried debugging using chipscope and monitored trn_lnk_up_n, trn_reset_n and trn_clk. trn_lnk_up_n stays
    high (deasserted), trn_reset_n stays low (asserted), trn_clk is low (No clk).
    What might be the issue?
    Thanks & Regards.

    Thanks Gabor, for the response.
    I refered couple of answer records like AR# 34873 and AR# 34894, I monitored trn_reset_n, sys_reset_n, clock_locked, PLLLKDET and RESETDONE signals as suggested in AR# 34894.
    Status as follows:
    SYS_RESET_N = 1 (deasserted)
    TRN_RESET_N = 0 (asserted)
    CLOCK_LOCKED = 0 (deasserted)
    PLLLKDET = 0 (deasserted)
    RESETDONE = 0 (deasserted)
    which means the transceiver PLL frequency is not within the predetermined tolerance. Is this problem related to the PCIe Jitter Attenuator I am using on the board to derive 125MHz from 100MHz system Clock.
    Thanks & Regards

  • [SOLVED] ArchLinux does not boot if AC adapter is plugged in.

    Well, actually it does not boot when AC adapter is unplugged too! When I boot ArchLinux it stops working (i.e. the screen becomes completely black without the chance to recover it) just after it says: "Waiting for UDev uevents to be processed".
    The only workaround I found is to plug in the AC adapter before turning the computer on and unplug it exactly after it started booting the kernel. Otherwise it does not complete the boot process (as I said, it stops at: "Waiting for UDev uevents to be processed").
    More, on KDE startup I always see a message concerning Power Management, but it is too fast and I cannot read it. If I go to System Settings > Power Management I see this notice: "Power Management configuration module could not be loaded. The Power Management Service appears not to be running. This can be solved by starting or scheduling it inside `Startup and Shutdown`". Do I have to add `powerdevil` to `Startup and Shutdown` as pre-kde startup service?
    As for my configuration I have this modules in my rc.conf:
    MODULES=(ac battery button acpi-cpufreq cpufreq_ondemand acpi)
    The last one was acpid, but at startup it said it could not find that module, so I changed it to acpi.
    Thank you,
    rubik
    Last edited by rubik (2012-07-23 07:31:25)

    Ok, I tried and I got something
    + -------------------------- MODULES -----------------------------------+ Result        +
    | ac battery button acpi-cpufreq cpufreq_ondemand acpi  | FAIL            |
    | battery button acpi-cpufreq cpufreq_ondemand acpi      |  SUCCEED  |
    | ac button acpi-cpufreq cpufreq_ondemand acpi             | SUCCEED   |
    | battery                                                                      | SUCCEED   |
    | ac                                                                            |  SUCCEED   |
    | ac battery                                                                 |  FAIL            |
    +--------------------------------------------------------------------------------+-------------------+
    As you can see, it fails booting only when ac and battery are loaded together.
    EDIT: With lsmod I can see nobody uses either ac or battery, so can I remove them from MODULES? This would solve the problem.
    Mod Edit:  I added code tags -- that output was just too ugly    I took them back out, they did not help
    Last edited by ewaller (2012-03-27 17:38:17)

  • How to find a customer who does not have any activity in the last 5 years

    HI all,
       How to find a customer who does not have any activity in the last 5 years.
    Thanks & Regards,
    Moderator message: not directly related to ABAP development, please have a look in the respective functional forum.
    Edited by: Thomas Zloch on Jan 3, 2011 2:20 PM

    Post Author: tzinser
    CA Forum: Formula
    Okay, I left off a lot of important information...
    I'm using two tables
    TWDATA
    EVENT
    From TWDATA I'm pulling the fields TWDATA.OrderNumber and TWDATA.DisbursementDate
    From EVENT I'm pulling the fields EVENT.EventCode and EVENT.CompletedDate
    The two tables are linked by OrderNumber.

  • New MBP i5 does not boot after hard disk swap

    Hi there,
    I received my new i5 MBP today. After booting it once with the installed HDD to check if it's ok, I exchanged the hard disk for the one in my Late 2008 Macbook Pro. After doing this, my Late 2008 Macbook Pro boots fine with the (new) hard disk from the new i5 MBP, but the i5 MBP does not boot with my old hard disk.
    To give you some details:
    - I have installed 10.6.3 on the (old) hard disk that's not booting.
    - The i5 MBP boots fine from the installation DVD
    - Disk utility finds and can read my hard disk, no errors
    - PRAM NVRAM reset did not help
    - when booting in safe mode, I can see the system stop booting after or while loading Extensions.mkext
    My guess is, it tries to boot and load the wrong Extensions for the new system (CPU? GPU?). I have no idea how to fix this.
    Any help would be greatly appreciated!

    Focx,
    Welcome to Apple Discussions.
    Inserting the drive from an earlier model MBP will probably not work. The version of the system you have on that HD is designed for earlier hardware so when you put in in your new machine it's going to be recognized. What I'd recommend is re-installing the disk that came with the new machine and of course putting the 2008's disk back in the old machine. Then use Migration Assistant on the new machine and migrate your data from the old machine into the new machine.
    This will provide a much more stable system and should work just fine.
    Regards,
    Roger

  • Satellite L745D-S4214 Does not boot; HDD recovery partition not working

    I tried to apply the recent windows 7 updates and my laptop no longer boots.  I tried to press F12 and select the HDD Recovery partition, but it does not boot regardless.  There is a message that it does not communicate to a specific device.  I believe the address called out was 0xc0000e9, but I am going by memory.  I never created a recovery CD because I thought I was covered by the HDD partitions.  This was purchased on 10/26/2012, so it should still be under warranty.
    PLEASE HELP!

    Hi I'm going to assume that your recovery works like mine and that the recovery partition is still good and not corrupted.
    Shut down your PC. Press F12 and select HDD recovery. Click enter. This should start the recovery from the hidden recovery partition.
    PS I would advise you to make the recovery discs or USB recovery Try this first.
    Perform a power cycle
    Even when your laptop is off and unplugged, residual power can still be held in some components. While this is normal, clearing it can help with boot problems. Perform these steps to complete what’s called a power cycle.
    Ensure the laptop is turned off.
    Unplug the laptop's AC power cable.
    Remove the battery (if the model has a removable battery).
    Unplug all wires or peripherals. This includes CDs, DVDs, USB sticks, mice, printers, and any other accessories.
    Hold down the power button for thirty seconds.
    Reattach the battery.
    Connect the AC adaptor to the power socket that was confirmed to be working in the first step.
    Connect the other end of the AC adaptor to your computer.
    Try starting the computer.
    If your laptop starts normally now, you're done!
    I Love my Satellite L775D-S7222 Laptop. Some days you're the windshield, Some days you're the bug. The Computer world is crazy. If you have answers to computer problems, pass them forward.

  • Satellite M30-107 does not boot correctly after Recovery disk usage

    Hi
    I've recently got hold of a second hand toshiba Satellite M30-107 laptop, and decided to freshen it up.
    I used the toshiba recovery disk, but after doing so the laptop no longer loads windows.
    When turned on it shows the Toshiba start up disk for about a second then goes to a blank screen and freezes.
    When turned off and on again a screen comes up reporting an error in shutting down and gives the options to start in safe mode etc. but choosing any of the options causes the machine to freeze.
    Any help or advice would be much appreciated.
    Thanks
    jt

    Hi
    Sounds a little bit like the notebook does not boot due to the Windows software issue
    Did you recover the M30 with the original Toshiba recovery CD which was supplied with this M30 unit?
    Maybe Im wrong but for me it looks like a wrong recovery CD was used and an image with non compatible drivers was installed
    You could try to install the OS from original Microsoft Win XP CD and could check if it would be possible to get the notebook ruining using clean OS.
    In such case we ( you and me ;) ) could find out if this issue could be related to the software or hardware.
    Bye

  • X102e - Hard drive does not boot into Windows

    Hi, I was trying to reinstall Windows on my X120e.
    I tried clean install with Windows 7 Professional, but the hard drive does not boot into the Windows once it has done the first phase of the install(you know, the copying part)
    After the restart done by Windows, it goes as far as "Starting Windows" but does not actually boot into the Windows.
    When I try to install Windows with another HDD, the device works well, but I can't swap the HDD because it is not 7.5mm think HDD.
    Is there any possibility the HDD will work trough any software-level process? The HDD works fine as external HDD when tested with external HDD adapter, and installs well. only problem is that it fails to boot
    Kim
    W540( ), Helix(Sold), Tablet 2(Sold) Tablet 2( ), X120e(Sold), X201 Tablet, X41 Tablet(Sold), X41, X32*4, 701C*4

    Thank you for reply.
    This is not exactly the issue. I was talking about the HDD originally installed in the PC.
    The PC successfully recognizes the external disk I used to install the Windows, but the problem was that I did not boot into the "First boot" screen, which basically works on the already installed data.
    As of now I have installed an SSD and is working fine. strange part is that HDD works just fine when I use it as an external HDD via adapter. Strange huh?
    Kim
    W540( ), Helix(Sold), Tablet 2(Sold) Tablet 2( ), X120e(Sold), X201 Tablet, X41 Tablet(Sold), X41, X32*4, 701C*4

  • Toshiba Satellite P870 upgraded to Win 8.1 does not boot

    I have a Toshiba Satellite P870 with Win 8 preinstalled. Soon after upgrade to Win 8.1 and basically successful removal of “watermark error” (secure boot activated) the machine stopped booting completely: after pressing the power button ventilator sound
    is heard with periodically changing loudness as well as clicking sound from the speakers. The screen stays black. Attempts to start the PC through pressing F2 or zero buttons did not produce any result. Neither did I succeed with recovery discs I created before:
    the system simply does not boot from the disk. It looks like I tried all options offered by Microsoft and Toshiba. I would be happy to roll back to factory settings.
    Could someone give me hint what to do next?

    Hi,
    For the issue, let us know how to remove the “watermark error".
    Meanwhile, I would like to confirm if you could access the BIOS.
    I suggest you update the BIOS version to test it.
    If you want to repair the startup issue, you should use windows 8.1 recovery discs or installation discs.
    Meanwhile, if you cannot access the BIOS, it may be caused by hardware, I suggest you contact the Toshiba manufacturer for further help.
    http://support.toshiba.com/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact
    information.
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Satellite A105 WIN XP does not boot or load...

    Ok, so my wife's laptop has a boot issue. Model is A105-S4284
    The Toshiba/Phoenix screen loads, but does not boot/load XP. It gives a black screen, then sits for a few secs and restarts. it will continue this loop indefinetely as far as I can tell. When this happened, she complained that it has been taking longer for it to boot into XP recently. (Wish she had told me before)
    I can get to BIOS system utilites, Boot menu, and can access F8/Win Advanced options boot choices. I have tried the following:
    Safe Mode
    Safe Mode w/command prompt
    Last known GCFG
    Disable Auto restart on failure
    I have also done a battery pull and unseated the memory, even swapping left/right, and attempted boot from just one mempry module, all with no change.
    Apparently her DVD/optical drive is toast (apparently has been) so I can't do a recovery disc, but I did make a recovery USB drive. No dice there either.
    What have I not done? Since I can access the adv. opt. menu it seems winXP is still there. most likely she shut it down while XP was installing something, and now there is some type of error in the registry or somewhere, but I can't seem to recall or remember what my next steps would be to gain access to I can try to clean it up and recover.
    I would do a complete wipe and start from scratch, but her entire work portfolio is on the HDD and she (foolishly) has not backed it up, at least not recently. Is my best bet to get an outboard drive enclosure and set the jumpers to slave, so I can attempt to recover the data that way? 
    I'm a bit stubborn, and know my way around a computer, and I refuse to give up and drop it off at the geek squad.
    Please help!

    Satellite A105-S4284 
    her entire work portfolio is on the HDD
    First things first. You should rescue the files.
    Remove the hard drive and place it in an enclosure accessible from a desktop via USB.
    -Jerry

  • Reset Password - System does not boot from DVD

    My System: Macbook Pro - 2Ghz Intel Core Duo - OS X - 10.6.8
    Hi everyone,
    i forgot my password. So i want to boot from install DVD to reset the password. Unfortunately my macbook pro does not boot from DVD (10.6.3).
    I press c all the time...but sometimes the macbook pro throws the DVD out...and sometimes nothing happens.
    The DVD drive is working fine...
    Any other idea?
    Thanks in advance.
    Fabian

    So when you boot holding option it shows a padlock with a password field? Is that correct?
    In that case we're talking about the firmware password, which you can't reset via the install disk. There is only one way to do this, I'm not certain if one is allowed to divulge that information publicly - might want to try googling "reset firmware password"

Maybe you are looking for