Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant boot from kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
questionaire
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2006
Posts: 131

PostPosted: Thu Aug 17, 2006 8:33 am    Post subject: cant boot from kernel? Reply with quote

hi all,

having an amd64x2 with 4gb ram, 2x250GB SATA 3ware hardware Raid1 here.

had problems with installing everything from live cd (locked up with kernel panic or just freezed). with "nodetect" it was possible to get shell acces, then i loaded the modules (forcedeth - for my NIC, 3w-xxxx for my 3ware raid to get access to my harddiscs).
i installed everything like in the amd64 howto on the page, but now, after i compiled my kernel and rebooted the system locks totally.

last line on the screen "IO scheduler cfq registered"
when i boot again from live cd to look into the logs - there are none ....

no error msg, no kernel panic - nothing.

any ideas?
3ware and forcedeth are compiled into the kernel - so no module loading needed.
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Thu Aug 17, 2006 9:50 am    Post subject: Reply with quote

My guess would be that there is an important driver not compiled into the kernel and cannot be found. Check your /boot/grub/grub.conf and kernel config and do make modules_install in your /usr/src/linux directory again.

If that does not help, start with adding keywords to the grub kernel parameters. like "noapic noacpi notsc (ok, that is just the timer :roll: ) nodma, ..." one at a time to narrow down the problem.
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
questionaire
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2006
Posts: 131

PostPosted: Thu Aug 17, 2006 2:43 pm    Post subject: Reply with quote

rechecked the kernel config: 3ware raid driver is compiled into the kernel, forcedeth, sata driver too.
checked the grub.conf too - no error
here the grub.conf
Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.17-r4
root (hd0,0)
kernel /boot/kernel-2.6.17-gentoo-r4 root=/dev/sda3


the funny thing is: it shows me the splashimage - so it should be able to read from my raid? so the raid shouldnt be the problem?


so it should work now with reboot right? it doesnt :(


now i disabled all of the features you mentioned in the grub.conf...
now it doesnt lock, but i get following msg:

Code:
Root-NFS: No NFS Server avaible, Trying to boot from FLoppy
VFS: Cannot open root device (dev/sda2) or unknown-block (2,0)
Kernel Panic - not syncing. Cannot open root device (dev/sda2) or unknown-block (2,0)


that sounds a little bit better - when i compile the 3w-xxxx driver of my raid system into the kernel, it should start it automatically right? because without that driver i cant access sda2.
(but i already compiled it into the kernel :-/ )
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Mon Aug 21, 2006 8:51 am    Post subject: Reply with quote

grub has no support for RAID. It simply ignores that your boot partition is on a RAID 1. This works, because RAID 1 is just mirrored to another partition.

Code:

Root-NFS: No NFS Server avaible, Trying to boot from FLoppy
VFS: Cannot open root device (dev/sda2) or unknown-block (2,0)
Kernel Panic - not syncing. Cannot open root device (dev/sda2) or unknown-block (2,0)


this tells me two things. You have built the kernel to support mounting / from nfs server (which is not bad at all, but you need a running server for this to work), and the fact that it looks for this tells me, that your fstab or raidtab are not etirely correct as he cant find the / filesystem (or does not even look for it on your harddiscs)
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum