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!
10 More Discussions You Might Find Interesting
1. Programming
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
2. Solaris
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
3. UNIX for Dummies Questions & Answers
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
4. HP-UX
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
5. AIX
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
6. Solaris
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
7. Solaris
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
8. UNIX for Dummies Questions & Answers
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
9. Red Hat
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
10. Linux
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
LEARN ABOUT FREEBSD
boot.config
BOOT.CONFIG(5) BSD File Formats Manual BOOT.CONFIG(5)
NAME
boot.config -- Configuration file for the boot blocks
DESCRIPTION
The boot.config file contains options for the FreeBSD boot block code.
When the FreeBSD boot loader runs, it searches the ``a'' slice of the boot partition for a boot.config file (as a result, slices which are
missing an ``a'' partition require user intervention during the boot process). If the boot.config file is found, its contents are used as
the default configuration options for the boot block code and are echoed to the system console.
A valid format of this file is to put BIOS drive number, a controller type, a unit number, a partition, a kernel file name, and any other
valid boot(8) option on a single line, as it is done at the ``boot:'' prompt.
The options related to the boot image selection described below and all the other options available for boot.config are documented in detail
in the boot(8) manual page.
FILES
/boot.config parameters for the boot blocks (optional)
EXAMPLES
The command:
# echo "-P" > /boot.config
will activate the serial console of FreeBSD.
The command:
# echo "1:ad(1,a)/boot/loader" > /boot.config
will instruct the second stage of boot(8) on the first disk to boot with the third boot(8) stage from the second disk.
The command:
# echo "1:ad(1,a)/boot/loader -P" > /boot.config
will do both of the above.
SEE ALSO
boot(8), loader(8)
AUTHORS
This manual page was written by Daniel Gerzo <danger@FreeBSD.org>.
BSD
May 13, 2007 BSD