LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-04-2009, 05:10 AM   #1
Kristian2
Member
 
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97

Rep: Reputation: 15
what am I missing in my kernel configuration, kernel panic


I have gone through all the kernel config options repeatedly, but everytime I get the same error after running my configured kernel.

To begin with, after unpacking the kernel I get
Undefined video mode numer: 305
and then a selection of video modes appears.
Why are the standard settings in my lilo 1024x768x256 (vga 773) not accepted?

VFS: Cannot open root device "808" or unknown block(8,8) Please append a correct "root"=" boot option; here are the available partitions: Kernel panic- not syncing :VFS: Unable to mount root fs on unknown block(8,8)

My partitions are ext2, and this format (as well as other formats) are compiled in the kernel.
 
Old 10-04-2009, 05:12 AM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,226

Rep: Reputation: 187Reputation: 187
is your controller card driver static or module? try setting it to static
 
Old 10-04-2009, 05:26 AM   #3
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 443

Rep: Reputation: 56
Posting 'lspci -n' in this webpage: http://kmuto.jp/debian/hcl/ will give you a good indication of which modules are needed. Double check that they are all included. You can search for them by using '/' if you are using menuconfig. You can search using xconfig as well, but I'm not familiar with it. Also be sure to include harddrive and chipset controllers as buildin, since building them as modules will require you to have an initrd.

Edit:
Don't go nuts in menuconfig removing everything module that isn't included in the output of that webpage. You will need alot more, but that will include the hardware drivers you need.

Last edited by Dinithion; 10-04-2009 at 05:28 AM.
 
Old 10-04-2009, 05:26 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Hello Kristian2,

I'd recommend to solve the HD-issue at first. If you're using lilo, set
Code:
vga = normal
which is the normal texconsole without any vga.

The kernel-panic is because the kernel does not recognize your harddisk.

Please post, if you have a ide or a sata drive i.e post your /etc/fstab and tell us if your actually running lilo.

Markus
 
Old 10-04-2009, 07:49 AM   #5
Kristian2
Member
 
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97

Original Poster
Rep: Reputation: 15
Thanks for your replies.
The VGA text console option was selected btw, but I'll set it to normal to start with.
The Sata controller I have (all drivers are compiled in) is Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller, however that one I do not find in the Sata driver selections only ICH5/6/7/8 Serial ATA support

I am using Lilo.

Last edited by Kristian2; 10-04-2009 at 08:08 AM.
 
Old 10-04-2009, 08:09 AM   #6
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Rep: Reputation: 37
Quote:
Originally Posted by Kristian2 View Post
Thanks for your replies.
The VGA text console option was selected btw, but I'll set it to normal to start with.
The Sata controller I have (all drivers are compiled in) is Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller, however that one I do not find in the Sata driver selections only ICH5/6/7/8 Serial ATA support

I am using Lilo.
Here's my fstab btw
Code:
/dev/sda8        /                ext2        defaults         1   1
/dev/sda9        /var             ext2        defaults         1   2
/dev/sda10       /tmp             ext2        defaults         1   2
/dev/sda11       /usr/local       ext2        defaults         1   2
/dev/sda12       /home            ext2        defaults         1   2
/dev/sda7        /boot            ext2        defaults         1   2
/dev/sda9        /var             ext2        defaults         1   2
#/dev/sda1        /__NTFS_XP       ntfs-3g     umask=077        1   0
/dev/sda5        /__NTFS_DATA     ntfs-3g     umask=000        1   0
/dev/sda6        /__NTFS_GAMES    ntfs-3g     umask=000        1   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/sdb1        /mnt/usb         auto        noauto,user  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
Try setting in your bios the drives to AHCI mode.
 
Old 10-04-2009, 08:18 AM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Hello,

in the Kernelconfiguration "Device drivers-> Serial Ata" you have to choose "Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support", then recompile your kernel.

Markus

Last edited by markush; 10-04-2009 at 08:24 AM.
 
Old 10-04-2009, 08:21 AM   #8
Kristian2
Member
 
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97

Original Poster
Rep: Reputation: 15
See if that's an option I can find, however, if the generic kernel works (no matter what is set in the bios), it's probably a matter of finding the proper modules that I need, even the ICH10 Sata controller is not explicitly mentioned in the configuration menu. It shouldn't be that difficult to pinpoint to the specific module.
@Markush:
I was thinking about that since it is the only Intel driver mentioned, however the ICH10 is not explicitly mentioned.
I'll give it a go.

Last edited by Kristian2; 10-04-2009 at 08:24 AM.
 
Old 10-04-2009, 08:30 AM   #9
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Originally Posted by Kristian2 View Post
...
I was thinking about that since it is the only Intel driver mentioned, however the ICH10 is not explicitly mentioned.
I'll give it a go.
thats the only way which always helps.... trying it out.

good luck.

Markus

PS: I had in fact the same kernel-panic issue while compiling my kernel for Gentoo. It turned out that it also was the sata-driver (I've an Intel/SIS board in my Laptop).
 
Old 10-04-2009, 08:42 AM   #10
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,658
Blog Entries: 3

Rep: Reputation: 224Reputation: 224Reputation: 224
did you so a make modules_install and then run lilo.
 
Old 10-04-2009, 08:58 AM   #11
Kristian2
Member
 
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97

Original Poster
Rep: Reputation: 15
yes I did.
I can boot in my system now, however mousepointer remains fixed, and probably some more things that aren't perfect yet. But the driver issue is solved with this driver type.
BTW where do I find the logged (error)messages during boot? In /var/log/messsages and syslog I do not find the latest errors I see on the screen.
 
Old 10-04-2009, 09:05 AM   #12
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 11,446
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Hi,

Just use the 'dmesg' to see the information.
 
Old 10-04-2009, 09:32 AM   #13
Kristian2
Member
 
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97

Original Poster
Rep: Reputation: 15
That's where I looked too, but some (error)messages where not showing, anyway thanks for your help.
 
Old 10-04-2009, 10:15 AM   #14
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
If your mousepointer is fixed then I am guessing you disabled USB HID option. re-enable that since the USB is routed through the Human Interface Device (HID) sub-section under drivers.
 
Old 10-04-2009, 10:37 AM   #15
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 795

Rep: Reputation: 119Reputation: 119
"cd /usr/src/linux-2.6.xx.xx"
"make clean"
"make i386_defconfig (32bit system) x86_64_defconfig (64bit system)"
this gives you the (except for file systems) minim kernel needed to support the hardware it was ran on
"make menuconfig " now set up the file systems move some things to modules set up usb devices
 
  


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
Kernel Panic at boot when PV missing from VG (LVM) gaxi Linux - Server 1 03-10-2009 04:06 PM
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
Kernel Panic - Missing "initrd.img-2.6.8-2-686" in /boot MKSrivastava Debian 2 12-02-2005 04:09 PM
Kernel Panic: grub configuration issue(?) rickthemick Linux - General 3 11-17-2004 07:43 PM
Linux kernel panic - configuration? Vicis Linux - General 5 02-19-2004 01:14 PM


All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
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