Ubuntu :: Minimal Kernel Recompile- Init Hangs At Plymouth
Dec 23, 2010
I've been playing around in attempt to see how small a usable kernel I can build. The theory is that it should mainly be useful for preparing a recovery disk or some such thing; disk drivers and a few network drivers are what goes in.
I built the kernel with the attached config. It boots, reaches the hdd (if I specify root as /dev/sda5 manually), then dies when it tries to start Plymouth (something about catching a SEGV signal). What needs to be enabled to run Plymouth? Alternatively, has anyone managed to remove plymouth from boot on Maverick?
(That would require a modified mountall version, I know.) I'm using the mainstream kernel 188.8.131.52 sources on Maverick (yes, I know Maverick uses 2.6.35; but this does boot).
Hardware: Wireless-RTL8192SE b/g/n, uses an out-of-tree driver (r8192se_pci, from Realtek; Ubuntu builds in an older version of this driver); r8169 works for ethernet; ATI Radeon Mobility 3200 graphics, AMD Neo X2 cpu; SATA hd in AHCI mode.
I have recompiled a few kernels, but all on 32bit systems so not sure if that has anything to do with it.
Running Arch Linux 64bit, most recent version.
My first thoughts was that it might be my grub bootloader configuration, so had a big play around with that but it didn't fix it. Also made sure support was built for filesystems. However almost all that Fstab mounts are ext3 anyway, and certainly the root and /boot are. Now thinking it may be a memory error so will run a check when I shutdown.
I upgraded from Ubuntu 10.0.4 to 11.0.4 on a Dell Optiplex. Now, when I boot, I am given the option to boot into different kernels. I select "ubuntu, with Linux 2.6.38-8-generic", which results in a black screen that reads
init: plymouth main process (58) killed by SEGV signal and that's where it hangs. Pressing ENTER or hitting Esc does nothing. What steps can I take to recover my machine and all the files I used to have on it?
I have a asus M51 Se that not work with 4GB of memory ram, due to a bug of bios. Only work with one slot of 2GB. I find this link https://bugs.launchpad.net/ubuntu/+s...ux/+bug/316079 that help to solve my problem. But for that I have to change a file.
My question is I need to recompile the kernel that I have? if yes, how can i make that without installing other kernel.
I tried to run some virtual machine using Virtual Machine Manager but the guest OS (windows server 2003) was not able to "see" the rest of my network. I believe VMM did some NAT-ing (192.168.122.x subnet) so i'm not able to "see" my network. I tried various network setting in VMM but couldnt get it to pull my network IP (192.168.1.x subnet).So i installed VirtualBox as a work around because i know VB work when i tried it on my windows machine. I ran into some issue getting VB to run, i think it was that i need to compile the kernel to "optimize" it for VB. I am fairly new to linux so that the impression that i get when i research for the fix to get VB working. In some of the forum post people suggest few things and it seem to me like it to compile the kernel. After a few hours of working i finally got it to compile but the computer crashed during compilation.
I am guess what happened is that i was trying to optimize the kernel for VB but the version of kernel i was using (2.6.18-164.6.1.el5xen) is already optimized for xen (VMM) so it crashed. I am looking to restore or recompile the 2.6.18-164.6.1.el5xen kernel. I am not sure if this is the right thing to do to fix it. With my limited knowledge of linux that all i can think of.
Whenever I boot fedora core 13 it starts Plymouth and a txt progress bar starts at the bottom. Whenever it gets to 100% it flickers a little bit then does nothing. The system doesn't hang I can still crrl-alt-delete and it shows the processes stopping. When it displays the programs starting it gets to jexec and nothing happens.
I have a fresh install of 10.04 and i have changed my playmouth theme to spinfinity and now when i boot its plays the animation and then justh the ubuntu logo on the screen.....ice let it sit at this state for hours...when i push the power button on my computer the logo goes away and ubuntu proceeds to shut down.cant log into my desktop to change the theme back to the default....im on another partition at the moment....how do i change my theme back to the default?
I wish to recompile serial_core module to make a change in the way ioctl works. I don't wish to rebuild the whole kernel package. Can someone point me to the proper method?? I know I will need to download the kernel headers etc. But I would like to avoid the unneeded compiles of things I don't need to recompile.
This has got me stumped. I expected to do /etc/init.d/vboxdrv setup after the upgrade from 11.3 to 11.4 but the command fails. The log is (it seems to repeat so I only quote the final bits to make it fit into the wordcount limit):
Code: make KBUILD_VERBOSE=1 -C /lib/modules/184.108.40.206-1.2-desktop/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
I installed the latest security update for squeeze. It entailed an update of the kernel. Now when it boots, it give continuous kernel error messages about "can't enumerate usb .... " I have a custom kernel compiled from source (not sure about the patch level) from the same kernel 2.6.32. It seems to work OK. Should I worry about the security of this custom kernel or should I try to recompile it? I don't really know how to do any patching of the kernel source.
I am using FC9, I want to write a module that will always show current time after booting.But for that I need not only to load module using insmod/modprobe, but also to compile that module during boot time.How can I perform this 2 steps correctly.
Data points:-Ubuntu 2.6.32-19-server-First symptom, blinking cursor on boot-After removing quiet from the boot options I see that it runs through the init scripts and then hangs-I can boot to command line by putting "rw init=/bin/bash" but don't know what to do once I get there to diagnose the problem-The system is primarily a fileserver/XBMC htpc-The system was running for several months before this restart so I can't identify a specific change as the problem unless it's because...-Recently I made changes to all of the disks by switching from JBOD to software raid (with mdadm)
I have a Lenovo TP W520 with a Nvidia Quadro 2000M (with support for Optimus)!I've tried to use the open-source optimus driver (Bumblebee), but found to many issues I had to deal with.both on 11.04 and 10.10) - therefore I've accepted the lesser batterytime... and choosed to run with "discrete" option in BIOS - setting Nvidia only mode!I can't use the 11.04, as I need iFolder (and can't get it to work with this edition, by the way I see the following problems on 11.04 too) - as a result I am using 10.10 (64-bit).
I have installed the Nvidia proprietary driver, and when attached to my dockingstation (connected to an switchbox) the laptop boots fine every time! But out of the dock, the laptop hangs at "running /scripts/init-bottom" during boot!To resolve this I've tried this (used the "nomodeset" option)... after this, it pass the "running..." every 4-5 timeAfter this I tried to upgrade the driver as described here... this may have helped - a tinytiny bitLast effort was to add "TPPS/2 IBM TrackPoint (MatchIsPointer "on")" and "AT Translated Set 2 keyboard (MatchIsKeyboard "on")" to "/usr/share/X11/xorg.conf.d/10-evdev.conf" according to this ... now it boot's fine every time... but at login, the login-box disappears and everything freezes! But if I choose "Safe Mode" i can login.
I recently installed new hard drive and cloned old hard drive software onto it. The bootloader installs either linux or other operating system. Ever since the cloning, boot hangs. Words in the thread title are the last to appear before everything grinds to a halt. Just before the kernal panic message appears, "Initrd finished" is last line. Will have to try booting again to find more info before this.
I am using the Debian stock kernel. I want a minimal kernel that works on my Pentium 4, 1GB DDR RAM machine. What do I have do to get a less resource hungry OS. Is there already a minimal kernel binary available?
After a long time I tried ubuntu(9.10) again on my fileserver, I have some remarks; why does a minimal server installation include X/openoffice? I don't need document conversion on a fileserver and I bet a lot of people don't. Wouldn't it be better to create a new server package and leave minimal minimal? low memory installs (64mb) don't work unless you configure swap by hand in between things, 64mb ram is a lot in my eyes. I mean, not to be rude but if I wanted all this I could've better installed Solaris.
That said it's stable and running fine. Since it's my home fileserver I tried to convert my previously created raid10 mirror on an adaptec 1200 card to a softraid 5 solution. This is wat I did:
I am an experienced Linux admin and have been using SuSE for many years. My development machine has had every version of SuSE since '02 and although it is a little old, is in good working order. (AMD 2400, 2 gig RAM, 160 Gig IDE disks - SuSE on disk 2) (OpenSuSE 11.1 with the latest kernel works perfectly. This install is on a spare HDD prior to doing a full install on my usual HDD.)
When I try to install SuSE 11.2 from DVD, the load kernel operation hangs at 97% (using both normal and safe kernel), however, I can install from live CD without any problem. I have tried the same DVD on a few "older" machines and had the same problem. I initially thought it was the actual DVD but re-burning has the same problem. I have also tried another DVD writer - same problem.
really wish to customize my GDM for ubuntu 11.4 but failed to do so.....therefore i decided to use alt. such as SLiM.....I could install it properly in virtualbox but when i went to do it on my real ubuntu 11.4 ......the screen stops at plymouth theme or goes blank after loading plymouth theme......then i read further more blogs and made changes and now even if i configure SLim the GDM starts no matter what i do .........
PS : I am new to ubuntu and dont have any knowledge about scripting programming and stuff....
I just added an 80GB Maxtor 6Y080P0 HDD to my computer and when I'm booting into linux (Slackware 13.1) I get: ~ NTFS volume version 3.1. VFS: Mounted root (NTFS filesystem) read-only on device 8:1. devtmpfs: error mounting -2 Freeing unused kernel memory: 636k freed Write protecting the kernel text: 9564k Write protecting the read only data: 2448k Warning: unable to open initial console. Kernel panic - not syncing: No init found. Try passing init= option to kernel. pid: 1, comm: swapper Not tainted 220.127.116.11-smp #2 Call trace: ~ The HDD I'm booting from is a 20GB Maxtor and is the 3rd slave. The new 80GB one is the 3rd master.
Today I was upgrading my netbook with Ubuntu 10.10 on it to 11.04 via the Update Manager. I got a few errors and the Update Manager seemed like it wasn't continuing, so decided to exit it. It didn't respond so after a while I decided to restart the netbook. However the on/off/standby/restart, etc. button in the top right wasn't responding either, so I decided to force a shutdown with the power button on my netbook. Now Ubuntu doesn't start up, and gives me an error along the lines of:
Kernel panic - not syncing: Attempted to kill init! Pid: 1, comm: init Not tainted 2.6.35-28-generic #50-Ubuntu Now could I in some way repair my Ubuntu installation while still keeping the files I already have on my computer? Maybe via booting from a flash drive or something...?