Hi all. I have slackware 12.2 installed and am trying to compile and run kernel 2.6.31. I want to start poking around in the kernel source and possibly start contributing eventually so I thought the first step would be to be able to compile and run with a new kernel.
I followed a couple guides which make it sounds pretty easy.
I simply did a standard compile using make menuconfig, copied the kernel binary into /boot and added it to lilo. After doing this trying to boot with 2.6.31 resulted in an error message something like this:
"Kernel panic, unrecognized VFS unable to mount the root filesystem".
After doing some more reading I found that this may be a result of not having the proper modules loaded. My root filesystem is ext3, and I thought that I had compiled support for ext3 into the kernel when I was choosing options for make menuconfig. Nonetheless I created an initrd with ext3 in it and I can now "sort of" boot.
When I boot with 2.6.31 I see no error messages but the boot only goes up to the point where it's collecting my USB devices. At that point it stops and if I hit <return> I get a bash shell. From this shell I see a more or less empty filesystem with not too much in it. Does anyone have an idea as to what's going on? I've included my lilo.conf as it stands now:
[edit]
I forgot to mention. I'm using the kernel sources pulled down via git into a repository on an internal raid1 array.
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
#boot = /dev/sda
boot = /dev/disk/by-id/scsi-SATA_WDC_WD2500KS-00_WD-WCANK1307402
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
#other = /dev/sda1
other = /dev/disk/by-uuid/E0201A49201A2756
label = Windows
# table = /dev/sda
table = /dev/disk/by-id/scsi-SATA_WDC_WD2500KS-00_WD-WCANK1307402
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
# root = /dev/sdc3
root=/dev/disk/by-uuid/eaf96b13-7de3-4cb4-9ffc-41e49455a169
label = Linux
read-only
# Linux bootable partition config ends
#linux kernel with BFS scheduler
image = /boot/vmlinuz-kernel-2.6.31
root=/dev/disk/by-uuid/eaf96b13-7de3-4cb4-9ffc-41e49455a169
initrd = /boot/initrd-kernel-2.6.31
label = Linux-2.6.31
read-only
#linux 2.6.31 config ends