Custom kernel compiling, won't boot, and errors.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Custom kernel compiling, won't boot, and errors.
# 1  
Old 05-11-2009
Custom kernel compiling, won't boot, and errors.

First of all, I'd like to preface this post by relaying that I have considerable experience with FreeBSD but I'm a Linux newb. I've been attempting to compile linux-2.6.29.3 from source and I'm having some problems and have a few newb questions...

a) First of all, my kernel won't boot, it fails immediately. I have a WD SATA drive conntected to an Intel DG45ID (ICH10) in AHCI mode. I have CONFIG_SCSI=y, CONFIG_BLK_DEV_PIIX=y, CONFIG_SATA_AHCI=y, and CONFIG_ATA=y selected to build into the kernel, which I assume are the requirements. What else could I be missing?

b) Can CONFIG_IDE be left out if you're running SATA in AHCI or RAID mode? The optical drive will still work?

c) Since I have to delete, recompile and install a lot this is getting time consuming. If I did a make clean and then re-make, re-make modules and install, will that overwrite my previous custom kernel and configurations or should I manually delete all associated files and modules in /lib/modules? Is there a quicker method for testing changes to kernels?

d) I can't figure out what my RTC clock is, even after analyzing the board and checking Intel's specifications. How would I determine this?

e) I have a bunch of these when I make install:
WARNING: No module ahci found for kernel 2.6.29.3, continuing anyway
WARNING: No module ata_piix found for kernel 2.6.29.3, continuing anyway
WARNING: No module ahci found for kernel 2.6.29.3, continuing anyway
WARNING: No module dm-mem-cache found for kernel 2.6.29.3, continuing anyway
WARNING: No module dm-message found for kernel 2.6.29.3, continuing anyway
WARNING: No module dm-raid45 found for kernel 2.6.29.3, continuing anyway

These were compiled into the kernel and not made as modules, so is this why I'm receiving this message? Should they be modules instead? Does it matter, adversely?

Thanks in advance, any help or answers to any of my above questions are greatly appreciated!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies

2. Red Hat

XFS - Custom Kernel or Module?

Hey everyone. I am going to be using XFS for a project coming up. We're running RHEL 5.5. Simply typing modprobe xfs works just fine. The kernel module loads without any issue. Is there any issue with doing this and inserting "modprobe xfs" into /etc/rc.modules? Is there a major reason to... (0 Replies)
Discussion started by: msarro
0 Replies

3. UNIX for Dummies Questions & Answers

New kernel won't boot

I compiled new kernel in linux 10.04 called linux-2.6.26.8-xenomai, it runs alongside the other kernel, but when I want to boot it I get an error message saying: Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/sda5 does not exist. After making the modules and headers I made the... (4 Replies)
Discussion started by: mdop
4 Replies

4. Solaris

Sun Sparc Ultra 4 won't boot - disk errors

Hi all. I am seeing in one of our less-used servers that it crashed and now won't restart. I get the message 'continue with normal startup or boot into maintenance mode'. I go into maintenance and run fsck on /usr0 (mentioned in error at restart) it then reboots but goes right back to... (3 Replies)
Discussion started by: jamie_collins
3 Replies

5. Solaris

Errors compiling Bind

Hi all, Apologies if this is the wrong forum for this question, if it is, could some one point me to the right one please. I am trying to compile bind-9.5.1b1 on Solaris 10 Get the error when try to configure: checking for OpenSSL library... using OpenSSL from /usr/local/lib and... (5 Replies)
Discussion started by: callmebob
5 Replies

6. AIX

won't mount /usr...won't boot fully

Hello: NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 Replies

7. HP-UX

errors while compiling c++ module

hello everyone, here i attempting to compile a c++ module . I am using the following command make -d dummyCHARGP. i am using the gcc compiler .my os is HP-UX 11.11. here i am getting the following errors. errors: ======= /swtemp/usbs/cc/unix-ce/root/subsys/include/main.h:146:... (1 Reply)
Discussion started by: mannam srinivas
1 Replies

8. UNIX for Dummies Questions & Answers

errors compiling gcc 4.2.1

Hello, I have never had a successful compile on the 2.6 kernel. On every arch in which I try to compile gcc I get either "i686-pc-cygwin-ar command not found or "i686-suse-linux-ar command not found. This always happens during the make process after configure checks for ar and finds it's just ar.... (2 Replies)
Discussion started by: kwa71
2 Replies

9. Solaris

cannot find boot device and won't boot off cdrom

I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies

10. Programming

Errors while Compiling a PC script.

Hi all, I have created a post-C (PC) script OrdItmpopulate.pc. When I am compiling this using the “Make” command I am getting the following error. My “make” command looks like this: make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk build EXE=OrdItmpopulate8.exe OBJS="OrdItmpopulate8.o"... (1 Reply)
Discussion started by: musavir19
1 Replies
Login or Register to Ask a Question