LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [2.6.11 just compiled] kernel panic at boot-time (https://www.linuxquestions.org/questions/slackware-14/%5B2-6-11-just-compiled%5D-kernel-panic-at-boot-time-316353/)

MD3 04-23-2005 08:32 AM

[2.6.11 just compiled] kernel panic at boot-time
 
hi :)
i've just compiled my new 2.6.11 kernel with ext3, reiserfs and ntfs native support... despite this, i receive the following kernel panic error:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)

i googled a bit and found this is an error caused by not-compiling the kernel with the root filesystem support. this is my configuration:

/dev/hdb1 ntfs
/dev/hdb2 ext3
/dev/hdb3 swap
/dev/hda1 reiserfs
/dev/hda2 swap

the message pops when triyng booting slackware 10.0 in /dev/hda1 with a reiser fs / partition

why doesn't the kernel boot slack even if i included reiserfs support? :D
and.. is the kernel real talking about my /dev/hda1? What is that (3,1) referred to?

thanks eb and bye :)

neo 04-23-2005 08:36 AM

Are you using any initrd image in lilo or grub? If so you'll need ext2 compiled into the kernel as well.

If not you probably forgot to include your harddisk drives into the kernel.

MD3 04-23-2005 10:04 AM

i'm not using any initrd ... i'll have a look to my IDE disk section of the kernel as soon as possible (i love who invented chroot to access my system even if it doesn't boot :D)

tormented_one 04-23-2005 12:47 PM

mkinitrd -c -k 2.6.11 -m reiserfs

MD3 04-23-2005 01:14 PM

ok i managed making it boot completely but.. i can see nothing... this problem cease as i deselect Device Drivers/Graphics support/Console display driver support/VGA text support in other words: with VGA fb it doesn't print anything to screen, but it boots (i logged in and started X blindy and then worked with the GUI).. without VGA it boots properly but has an ugly aspect! with the previous kernel it worked fine ... i don't understand... i also had a look at the .config wich come with slack 10.1 and despit that option is enabled, it works fine with the classical framebuffer.. why cannot i do it the same?
thanks :D

MD3 04-23-2005 02:15 PM

problems.. new problems :(
1) I can't find my sound card!
a) I added the support for almost every sound card
b) My soundcard is a Sound Blaster Live! (emu10k)
c) Alsaconf can't find and use it!
2) I can't add any module
a) I added the support for every executable format
b) I added the support for inserting modules
c) insmod return this: error inserting 'mio_dev2.o': -1 Invalid module format

help is needed and very appreciated guys!

thanks anyone :D

MD3 04-23-2005 02:18 PM

p.s. for the soundcard: PnP is disabled for finding it, isapnp is used instead
p.s. for the module: its type is: mio_dev2.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

bye

amos 04-23-2005 11:13 PM

Can you access sound as root?

Cheers
Amos

gbonvehi 04-24-2005 03:16 AM

Well it seems something went wrong because 2.6 kernels modules end in .ko extention instead of .o (and of course, internally they're also different). Somehow it seems your 2.6 kernel is trying to load a 2.4 module?

MD3 04-24-2005 11:38 AM

Quote:

Originally posted by amos
Can you access sound as root?

Cheers
Amos

no, i can't
thanks and bye :D

MD3 04-24-2005 11:39 AM

Quote:

Originally posted by gbonvehi
Well it seems something went wrong because 2.6 kernels modules end in .ko extention instead of .o (and of course, internally they're also different). Somehow it seems your 2.6 kernel is trying to load a 2.4 module?
you're right.. that module had been written for my 2.4.26 previous kernel :| argh! i hate incompatibilities

thanks and bye ;)


All times are GMT -5. The time now is 01:18 PM.