General :: Custom Kernel Not Booting
Oct 7, 2010
Had a custom kernel (2.6.35.5) running under Slackware 12.1 and also the same kernel on an Ubuntu 10.04 machine just fine, however after a clean install of Slackware 13.1 this kernel no longer works (This kernel was re-compiled with the same .config file under Slack 13.1) as I keep getting the the following: -Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3) The strange thing is it keeps looking for the root file system in hda1, however the stock 13.1 kernel finds it in /dev/sda1 so the root partition is /dev/sda1 in lilo and the harddisk is known as /dev/sda.
View 3 Replies
ADVERTISEMENT
Dec 12, 2009
I've been working on creating a Live CD with the tools I want, just for my use with system recovery and repair. For the most part, things have gone very well. The Live CD actually works fine, somewhat. I have run in to a problem where it doesn't actually boot on a lot of hardware.
What happens is during boot, while the modules are loading, the boot process hangs and the disc drive spins down. While I thought it might be a kernel problem, I'm using the .config from the latest gentoo Live CD, which boots fine on the same hardware.
View 2 Replies
View Related
Jan 16, 2010
I am using uuntu 8.04 and I am trying to make live cd with running kernel. I know that there is documentation in ubuntu website in "how to make live cd" but the thing is this is my custom kernel. I have my own configuration. So I want this kernel to be work in live cd.
View 6 Replies
View Related
Aug 31, 2010
I am trying to write a kernel module that will DMA my custom card. Right now when i plug the card into linux no valid PCI device shows up (meaning I probably have a error on my end, i know) however, If I halt the system at startup in the bootloader (uboot) I am able to directly access the card as I know in uboot the physical memory address that is mapped to my device. Is there a way I can access the card in a simliar fashion in linux?
View 1 Replies
View Related
Jan 24, 2010
I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.
View 2 Replies
View Related
Oct 31, 2009
I'm running CentOS 5.3 and would like to know what the "best" or "proper" method is to build a custom kernel using the generic kernel sources from kernel.org. Most of the references I've found talk about modifying the current CentOS kernel using the RPM way. I really want to have the latest kernel due to some important security issues that haven't been addressed in the current CentOS 5.3 kernel.
View 6 Replies
View Related
Jun 2, 2011
I have been following along with Linux from Scratch 6.8 and everything has been going well. I got past an issue with GRUB (Ubuntu 11.04 uses a different version of GRUB than LFS so caused some issues).
Now when I boot into the Linux kernel recommended in the LFS book, 2.6.37, I get the following kernel panic: "VFS: Cannot open root device "sdf6" or unknown-block(0,0)". I'm sure this means that I didn't load the right drivers when I configured the kernel. But I went back in and recompiled and chose every SATA driver listed and I still got that error. It does let me boot into the kernel that Ubuntu used (2.6.38) so I guess I'm ok. I just want to know how to get the 2.6.37 to compile right.
View 1 Replies
View Related
Nov 7, 2010
I may just be stupid asking this but how do i boot a kernel and an initrd from a cd? it is larger than a floppy so i can't emulate a floppy.
View 14 Replies
View Related
Feb 15, 2011
i have installed kernel 2.6.29.1 on fedora14. when i tried to boot the kernel 2.6.29.1 it does some USB identification,and then it got hanged and displays nothing... logs are
[1.955941]usb3-1: configuration #1 chosen from 1 choice
[2.054770]input: ImPS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio1/input/input1
View 2 Replies
View Related
Nov 12, 2010
ive been trying to install a program called stanton finalscratch which runs on a linux platform dedicated to itself and when i try to install on a seperate partition to my windows xp sp3, it gets as far as...
uncompressing linux ok, booting the kernel then nothing happens. i dont know that much about programming computers so any answers need to be put simply. on the setup screen it says it is syslinux v1.66 thats as much as i know. if any other info is needed i will do all i can to provide it.
View 12 Replies
View Related
Aug 7, 2010
These days, I tried to compile my own kernel. Now, it seems work. However, when the kernel is booting, I always get the error message like below:
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
It looks that something is wrong with my acpi subsystem's configuration. But no matter How I reconfig it, this message still occurs.
My distribution is UBUNTU 10.04 LTS
original kernel with the distribution is 2.6.32
My own kernel is 2.6.35
View 7 Replies
View Related
Jan 14, 2011
First off im very new to linux and have only been involved with linux for a couple days. Anyways, let me explain what i'm attempting todo. I want to make a DVD to automatically restore a partition without any human interaction other than inserting the dvd and turning the pc on. I'm using norton ghost 11.5 to restore the image and im using thinstation 2.2 as my OS.I have a cd that will boot up thinstation but then i would have to type in a command to have ghost start restoring the partition. so basically i figured i would put a script in the etc/init.d folder of initrd. so i extracted the contents of initrd using 7zip, put the script in the directory and then compressed initrd into .gz format. however now when i put the newly made dvd in i get stuck at "Booting the Kernel."
is this a problem with initrd format? if so what format does it need to be in and how to i get it into that format?is there some way to set the parameters of the kernel to fix this problem? and if so how do i go about doing that?
View 1 Replies
View Related
Sep 13, 2010
I've been playing around with trying to assemble a bare-bones Linux system on a disk.img file through a loop device. I compiled the most recent stable kernel and then copied it onto the root partition in the image. When I try to boot up into the image using qemu, grub gives me this:
Code:
Booting 'tiny'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinux
Error 13: Invalid or unsupported executable format
Press any key to continue... I am confused because I compiled the kernel with 'make bzImage', and the architecture hasn't changed (qemu on the same machine used to build the kernel). So it should be bzImage format. Is that what this Error 13 means, or could it means something else is wrong...?
View 1 Replies
View Related
Oct 14, 2010
a stock fedora 11 install on my embedded board results in the primary CompactFlash card being driven by the SCSI driver and is called SDA..running my custom kernel which i have slimmed down and yanked out the SCSI stuff because I dont need it, results in my CompactFlash card being called HDA of course driven by the ATA driver.which should I be using? both work just fine.. the CompactFlash card is on board and according to Soekris is actually run from an IDE controller, as there is no SCSI on board..
so im assuming the less amount of system overhead is to run it as IDE?I have no issues running it either way I just want to do whats right.. and what is going to be supported in kernels down the line, as im considering a bump from my current 2.6.30 kernel upwards for my project.
View 8 Replies
View Related
Feb 23, 2010
I been trying all day to compile a kernel i downloaded from http://www.kernel.org/ (2.6.32.8 )Following this help thread viewtopic.php?t=4468.When i invoke make xconfig i'm just kinda lost at that point. Not really sure what to do, so i just save it as is and then compile/install.when i try to boot the kernel, a kernel panic happens saying it can't not mount the root partition.So i am sure i am missing a step with the xconfig part but not sure what.
View 5 Replies
View Related
Jun 18, 2011
This is (I'm sure) a silly question, but when reading the guide for custom kernel [url] it mentions I need to use yumdownloader to pull the source as an RPM.
How exactly do I find mirrors etc for this (and where do I configure it)?
I've already got the source locally along with the patches I want to use, and want to try this the 'fedora' way. I'd normally just use make/make modules etc, but I've never tried it via RPM.
View 4 Replies
View Related
Apr 2, 2010
I wasn't using my laptop for at least a few hours, but when I looked at it, it had seemed to crash. I am hoping to figure out what caused this, and to prevent it from happening again. I believe it has something to do with drm or b43 as that is what I could decipher from the screen. I have checked some logs and found nothing irregular. I do not want this to happen again. I am running kernel 2.6.33.1 with no patches and a custom config tailored to my processor. The reason I am running 2.6.33.1 is because of support for my Wifi.
View 5 Replies
View Related
Aug 1, 2010
I would like to try and optimize my kernel a bit. Since I am doing this on a fresh install, I don't really care if the os gets bricked in the process, and I am sure I can bring it back if I can boot into a recovery console from the old kernel. So, I followed thispost. I patched it and copied and edited a config file from /boot/, saved it as .config, I tried it several times with both removing and not removing /debian and /debian.master directories from the source, yet I always get the same error when I run "make oldconfig".
Code:
$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
*** Error during writing of the kernel configuration.
make[1]: *** [oldconfig] Error 1
[Code]...
View 1 Replies
View Related
Nov 8, 2009
I am trying to update my fedora 8 kernel, is there a way to do that? I build the one of kernel.org but when i want to boot it a get a lot of messages like:
mount: cant find /dev/root
I tried to follow the guide at building a custom kernel for fedora, but thats just for the last supported version of the kernel of fedora 8.
View 3 Replies
View Related
May 16, 2010
i just upgraded myself with all available packages from the kde-testing, and fedora-updates-testing repo's. i am dealing with one problem..... i am running kernel:
Code:
@localhost ~]$ uname -r
2.6.32.10-44.fc11.i686.PAE
however,, there are no kmod-wl packages for that kernel, so i have no wireless at the moment. how do i build / obtain kmod-wl package for my kernel? rebuilding the kmow-wl src packages does occure in build for an older kernel:
the command
Code:
rpmbuild -ba --target=`uname -m` wl-kmod.spec
results in:
Code:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/-/rpmbuild/BUILDROOT/wl-kmod-5.60.48.36-1.fc11.4.i386
Wrote: /home/-/rpmbuild/SRPMS/wl-kmod-5.60.48.36-1.fc11.4.src.rpm
Wrote: /home/-/rpmbuild/RPMS/i686/kmod-wl-PAE-5.60.48.36-1.fc11.4.i686.rpm
Wrote: /home/-/rpmbuild/RPMS/i686/kmod-wl-2.6.30.10-105.2.23.fc11.i686.PAE-5.60.48.36-1.fc11.4.i686.rpm
Wrote: /home/-/rpmbuild/RPMS/i686/wl-kmod-debuginfo-5.60.48.36-1.fc11.4.i686.rpm
View 6 Replies
View Related
Jul 4, 2009
When I build the kernel 2.6.30 source, the rpm package is very big and needed or root filesystem 800-900 Mb. I use "make rpm" as described in Configure, Build and Install a Custom Linux Kernel - openSUSE.
View 7 Replies
View Related
May 28, 2010
I've about 5.5GB of free space....whenever I try to compile the kernel my system runs out of space...says zero bytes remaining maybe I din't configure it that well I cant exactly figure out which drivers/modules I need in order to obtain a working kernel.
View 8 Replies
View Related
Dec 22, 2010
All I want is a lxde based desktop to play with and tweak. The problem is that I am using rather esoteric hardware. An xcore86 device on chip to be precise. I have a custom kernel in deb format, and I managed to install UNR 9.10 and then install the custom kernel. Strip out as much obvious gnome stuff and install an lxde desktop. Now this is a quite good solution but still leaves me with a lot of junk that I am not sure I need. 2 ideas occurred to me. Install lubuntu and then install the custom kernel(this failed to work because lubuntu's kernel refused to play nicely with the xcore) or do a minimal install and work my way up adding the things that I wanted. (Again this ground to a halt when the screen went blank)
I looked at unetbootin to try and put in a custom kernel but to a novice like myself it did not work very well.Can anyone help, either a list of everything that can be removed safely from a UNR install to leave me with a minimal install, or a way to insert a custom kernel into a lubuntu iso?
View 1 Replies
View Related
May 1, 2011
I'd like to create a custom squeeze kernel. Is it a really bad idea to edit to edit the kernel config file directly instead of using "make config", "make menuconfig" or "make gconfig"? My problem is I missing a search function, for example in "make menuconfig" and cannot find some entries.
View 2 Replies
View Related
Apr 6, 2011
I have a strange and inexplicable problem I've never had before - I can play audio as usual from the terminal on Fedora 14 with my custom 2.6.38 kernel. But, when I log into GNOME, any attempt to use an application that uses audio gives me a "permission denied". The "Sound preferences" shows a dummy output device and no entry in the "hardware" section. Using the distro kernel and a 2.6.33.7-rt kernel from planet ccrma works fine.
Is there anything I'm supposed to build into the kernel that Fedora 14 requires that wasn't a requirement for earlier versions?
View 2 Replies
View Related
Feb 12, 2011
I have a custom built 2.6.37 kernel where I have most of my devices compiled into the kernel. The only modules are related to nouveau (in case I want to go back to proprietary nvidia) and sound drivers. Everything seems to be running fine. However, in /proc/acpi, I'm missing a number of entries, such as thermal_zone/, dsdt, etc. I do have ac_adapter/, battery/, button/, event, processor/ and wakeup. I've gone through what I think is a very detailed review of my kernel config, and I can't find where I've missed something ACPI related. Here is my kernel config with the ACPI section.
Code:
# Power management and ACPI options
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_SLEEP=y
CONFIG_SUSPEND_NVS=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATION=y .....
View 12 Replies
View Related
Jun 26, 2011
I compiled my own custom kernel for the first time. I tinkered with different options, nothing to difficult. I actually didn't expect it to work the first time.
I had kept the original lilo boot config just in case something was to go wrong. Now when I try to boot the system, I always get a "VFS: cannot mount root system on (8,3)". I googled this and found that my kernel did not support my root filesystem (btrfs). So I made an initrd with btrfs kernel module, but it didn't help. I then got a string of errors about how /dev could not be mounted.
My question is two-fold. First, how come when I configure the system back to when it was first installed, it still won't boot? Im using the same kernel (2.6.37.6-smp). Second, how can I get myself out of this rut without reinstalling?
lilo.conf
Code:
lba32
append=" vt.default_utf8=0"
boot=/dev/sda
vga = normal
# Linux - Slackware
image = /boot/vmlinuz-huge-smp-2.6.37.6-smp
root = /dev/sda3
label = Linux
read-only
BTW, I have been maintenancing the system by chrooting into the device off of my slackware boot disk. Im on slack 13.37
View 3 Replies
View Related
May 27, 2009
I have builded my kernel through wiki manual, BUT, the kernel-headers rpm-package has not been builded. Now i have only two packages: kernel and kernel-devel. Is that ok? (i think, that it is not ok, because when i build the same version of kernel on x86_64 platform, after rpmbuild command i have kernel, kernel-devel and kernel-headers packages) My CentOS version is 5.2; platform i686; kernel, kernel-headers, kernel-devel packages 2.6.18-92.el5.
View 6 Replies
View Related
Mar 3, 2010
I have compiled and created a kernel rpm kernel-2.6.18165.11.1.el5-3.i386.rpm
then created initrd image
I have installed the above via kickstart installation
%post
mount xxx.xxx.x.xx:/var/www/html/os/i386 /mnt/tmp
cd /mnt/tmp
rpm -uvh kernel-2.6.18165.11.1.el5-3.i386.rpm
cp initrd-2.6.18-165.11.1.el5.img /boot
[Code]....
View 2 Replies
View Related
Mar 18, 2010
I am trying to build a custom kernel but I couldn't. Here are the steps to reproduce it:
1. Set Up an RPM Build Environment as its is explained in [URL]
2. Then follow the instructions in [URL]
3. When I try to install the kernel source rpm I get the following error:
[matias@Centos ~]$ rpm -i [URL
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root . . .
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: unpacking of archive failed on file /home/matias/rpmbuild/SOURCES/linux-2.6.18.tar.bz2;4ba24901: cpio: read
View 8 Replies
View Related