LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-11-2008, 09:21 AM   #1
Smartnow
LQ Newbie
 
Registered: Mar 2008
Distribution: Gentoo
Posts: 14

Rep: Reputation: 0
Kernel panic, Preemptible Kernel (Low-Latency Desktop)


This is very strange.

If I in the Kernel Konfiguration use (make menuconfig)

# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y

I have Kernel panic

0300 hda-driver: ide-disk
0340 hdb-driver: ide-cdrom
0800 sda-driver: sd
0810 sdb-driver: sd

Kernel panic - not syncing: VFS Unable to mount root fs on unknown-block

I have seen the Message "8000 as root", but mine root is /dev/sda1

Kernel don't find the "/ root"!

But if I use the same Kernel, without those Settings

CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_BKL=y

I could normal start Gentoo

Thanks for Help


fdisk -l

Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0009111b

Device Boot Start End Blocks Id System
/dev/hda1 1 644 5172898+ b W95 FAT32
/dev/hda2 645 686 337365 83 Linux
/dev/hda3 * 687 756 562275 83 Linux
/dev/hda4 757 30401 238123462+ 5 Extended
/dev/hda5 757 788 257008+ 83 Linux
/dev/hda6 789 1440 5237158+ b W95 FAT32
/dev/hda7 1441 30401 232629201 83 Linux

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x99bb99bb

Device Boot Start End Blocks Id System
/dev/sda1 1 388 3116578+ 83 Linux
/dev/sda2 389 776 3116610 83 Linux
/dev/sda3 777 1164 3116610 83 Linux
/dev/sda4 1165 30401 234846202+ 5 Extended
/dev/sda5 1165 1552 3116578+ 83 Linux
/dev/sda6 1553 1940 3116578+ 83 Linux
/dev/sda7 1941 30401 228612951 83 Linux

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000d791a

Device Boot Start End Blocks Id System
/dev/sdb1 1 522 4192933+ 82 Linux swap / Solaris
/dev/sdb2 523 5827 42612412+ 83 Linux
/dev/sdb3 5828 6486 5293417+ 83 Linux
/dev/sdb4 6487 60801 436285237+ 5 Extended
/dev/sdb5 6487 60801 436285206 83 Linux


/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
/dev/sdb2 /usr ext3 defaults,noatime 0 2
/dev/sda7 /zajedno ext3 defaults,noatime 0 2
/dev/sdb5 /zajedno/zajedno-sdb ext3 defaults,noatime 0 2
/dev/hda7 /zajedno/zajedno-hda ext3 defaults,noatime 0 2
/dev/hda3 /zajedno/boot ext3 defaults,noatime 0 2
/dev/sdb1 none swap sw 0 0
none /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0


/etc/boot/grub/grub.conf
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

timeout 30
default 0
splashimage=(hd0,2)/grub/splash.xpm.gz



title=Gentoo 2.6.24.4-0
root (hd0,2)
kernel /Gentoo/bzImage-2.6.24.4-0 root=/dev/sda1


title=Gentoo 2.6.24.4-1
root (hd0,2)
kernel /Gentoo/bzImage-2.6.24.4-1 root=/dev/sda1


title=Gentoo 2.6.24.3-4
root (hd0,2)
kernel /Gentoo/bzImage-2.6.24.3-4 root=/dev/sda1


title=Gentoo 2.6.24.3-3
root (hd0,2)
kernel /Gentoo/bzImage-2.6.24.3-3 root=/dev/sda1

....

title=Gentoo 2.6.17
root (hd0,2)
kernel /Gentoo/kernel-genkernel-x86_64-2.6.17-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda1 doscsi
initrd /Gentoo/initramfs-genkernel-x86_64-2.6.17-gentoo-r7


title=DOS Flash Disk
password --md5 $something
kernel /Gentoo/dos/memdisk
initrd /dos/288


title=Windows XP
rootnoverify (hd0,2)
makeactive
chainloader +1


title=Memtest86Plus
root (hd0,2)
kernel /Gentoo/boot/memtest86plus/memtest.bin
quiet
 
Old 04-12-2008, 03:04 AM   #2
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
Did you compile the FS into the kernel?
 
Old 04-12-2008, 06:37 AM   #3
Smartnow
LQ Newbie
 
Registered: Mar 2008
Distribution: Gentoo
Posts: 14

Original Poster
Rep: Reputation: 0
Yes.

CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
# CONFIG_EXT3_FS_SECURITY is not set


If I boot from SysrescueCD

/dev/hda --> /dev/sdc

Could I use some Kernel Parameter or only /dev/sda1?
 
Old 04-13-2008, 02:46 AM   #4
Smartnow
LQ Newbie
 
Registered: Mar 2008
Distribution: Gentoo
Posts: 14

Original Poster
Rep: Reputation: 0
After long Google, Gentoo-Bugs, GNU-Bugs and Hours I have found.

A wrong ebuild from sys-boot/grub-0.97-r5, Datum 06.4.2008, was the Problem.

Only the Kernel Parameter

pci=nomsi

helps, with displays exotic Symbols after Kernel Command Linie.

After update to a new ebuild from 07.04.2008, I don't need this Parameter more and the Display is clean.

I use now fully SCSI, SATA Protokol.

/dev/hda is now /dev/sdc
/dev/hdb DVD is now /dev/sr0
/dev/sda ditto
/dev/sdb ditto

/etc/fstab changed

Now I can clean boot Gentoo.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Low Latency Kernel Rockgod1969 Linux - Software 3 06-05-2007 12:52 PM
enabling low latency 2.6 kernel friendly_guy Linux - General 6 06-17-2005 07:01 AM
Low Latency Kernel SpiderIRE Linux - Software 2 01-30-2005 01:02 PM
kernel boot parameters for low latency rhythmking Slackware 0 01-16-2005 09:10 PM
preemptible & low latency in 2.6.0test ? yocompia Linux - General 0 09-27-2003 06:29 PM


All times are GMT -5. The time now is 06:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration