LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-23-2005, 08:32 AM   #1
MD3
Member
 
Registered: Apr 2004
Location: Italy
Distribution: Gentoo
Posts: 81

Rep: Reputation: 15
[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?
and.. is the kernel real talking about my /dev/hda1? What is that (3,1) referred to?

thanks eb and bye
 
Old 04-23-2005, 08:36 AM   #2
neo
Member
 
Registered: Apr 2005
Distribution: FreeBSD
Posts: 61

Rep: Reputation: 15
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.
 
Old 04-23-2005, 10:04 AM   #3
MD3
Member
 
Registered: Apr 2004
Location: Italy
Distribution: Gentoo
Posts: 81

Original Poster
Rep: Reputation: 15
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 )
 
Old 04-23-2005, 12:47 PM   #4
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
mkinitrd -c -k 2.6.11 -m reiserfs
 
Old 04-23-2005, 01:14 PM   #5
MD3
Member
 
Registered: Apr 2004
Location: Italy
Distribution: Gentoo
Posts: 81

Original Poster
Rep: Reputation: 15
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
 
Old 04-23-2005, 02:15 PM   #6
MD3
Member
 
Registered: Apr 2004
Location: Italy
Distribution: Gentoo
Posts: 81

Original Poster
Rep: Reputation: 15
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
 
Old 04-23-2005, 02:18 PM   #7
MD3
Member
 
Registered: Apr 2004
Location: Italy
Distribution: Gentoo
Posts: 81

Original Poster
Rep: Reputation: 15
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
 
Old 04-23-2005, 11:13 PM   #8
amos
Member
 
Registered: Dec 2002
Location: Manchester, UK
Distribution: Debian
Posts: 222

Rep: Reputation: 30
Can you access sound as root?

Cheers
Amos
 
Old 04-24-2005, 03:16 AM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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?
 
Old 04-24-2005, 11:38 AM   #10
MD3
Member
 
Registered: Apr 2004
Location: Italy
Distribution: Gentoo
Posts: 81

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by amos
Can you access sound as root?

Cheers
Amos
no, i can't
thanks and bye
 
Old 04-24-2005, 11:39 AM   #11
MD3
Member
 
Registered: Apr 2004
Location: Italy
Distribution: Gentoo
Posts: 81

Original Poster
Rep: Reputation: 15
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
 
  


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
compiled kernel 2.6.10 with slackware 10.0, kernel panic salviadud Linux - Newbie 1 02-09-2005 04:05 PM
home-compiled kernel in panic sterrenkijker Debian 3 03-11-2004 08:06 AM
kernel panic EVERY time new kernel installed InfinitiesWorld Mandriva 1 01-11-2004 06:12 PM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 09:40 AM
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to fbl Linux - General 12 01-14-2003 03:38 AM


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

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