Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Kernel 2.6.12 and "unable to mount root fs"
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 7th September 18:17
j.o. aho
External User
 
Posts: 1
Default Kernel 2.6.12 and "unable to mount root fs"



Did yesterday emerge the gentoo-sources-2.6.12-r1 on my x86 machine, without
any problems.

Did the usual:
cp /usr/src/linux-2.6.11-gentoo-r11/.config /usr/src/linux-2.6.12-gentoo-r1/
rm /usr/src/linux && ln -s linux-2.6.12-gentoo-r1 /usr/src/linux
cd /usr/src/linux
make oldconfig
make menuconfig
make bzImage
mount /boot
cp arch/i386/boot/bzImage /boot/kernel-2.6.12-gentoo-r1
make modules
make modules_install
cp System.map /boot/System.map-2.6.12-gentoo-r1
rm /boot/Sysmap.map && ln -s System.map-2.6.12-gentoo-r1 /boot/System.map
mkinitrd /boot/initrd-2.6.12-gentoo-r1 2.6.12-gentoo-r1
vi /boot/grub/grub.conf
umount /boot

I know I don't need to run menuconfig, but I always want to check the settings
and see if I want to changes something. This time the major difference was
that the 2.6.12-r1 didn't allow me to build CONFIG_NLS_UTF8 as module, but
it's forced into the kernel.

The grub line is the same as for the older kernel, except that it uses the new
version of kernel and initrd.

I have filesystem built into the kernel (in my case reiserfs and ext2fs), my
boot is ext2 and my root is reiserfs.

When booting the ner kernel I get a Kernel panic, which confluences me quite a
lot, as far as I know I shouldn't get it, if not that there is a bug in the
via-ide code due some of the gentoo-patches.

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


I have latest experimental udev (58 and 56 is requiered for 2.6.12 according
some gentoo devels) installed, but expect those two, the system is stable. I
have built the kernel with (no automount) and without devfs support, still the
same error.

I would like to have a few suggestions what to do, except waiting for it be
marked stable in gentoo.

My PPC runs 2.6.12, uses via-ide too and is completely experimental and has
somewhat similar configuration.

//Aho
  Reply With Quote


  sponsored links


2 7th September 18:17
j.o. aho
External User
 
Posts: 1
Default Kernel 2.6.12 and "unable to mount root fs" - Part 2



Did compile with a quite default configuration that is set by gentoo devels,
modified it a little bit.

I start to think that the Preempt-UP bug that has been bugging the PowerPC
world for a long time has finally made it's way over to x86 too. With the SMP
enabled, the kernel did boot, but didn't manage to load modules even if module
load had been set in the kernel.
Removing the SMP support on that configuration gave back the same kernel panic
as before. Just enabling SMP on my old configuration didn't help, so there is
something more that affects things. I would almost go as far as saying that
kernel 2.6.12 is broken on x86 machines, but working on PPC.


//Aho
  Reply With Quote
3 7th September 18:17
johan lindquist
External User
 
Posts: 1
Default Kernel 2.6.12 and "unable to mount root fs" - Part 2


So anyway, it was like, 15:23 CEST Jun 25 2005, you know? Oh, and, yeah,
J.O. Aho was all like, "Dude,

It's not entirely broken, at least.

-----8<-----
johan@panther ~ $ uname -a
Linux panther 2.6.12 #1 Sun Jun 19 22:09:59 CEST 2005 i686 Intel(R)
Pentium(R) 4 CPU 2.53GHz GenuineIntel GNU/Linux
johan@panther ~ $ uptime
06:23:10 up 6 days, 22:28, 12 users, load average: 0.04, 0.65, 1.18
----->8-----

I don't have SMP enabled. I could email you my config if you want to
do a more detailed comparison.

--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
06:19:05 up 36 days, 10:56, 6 users, load average: 3.59, 3.67, 2.85
Linux 2.6.11.10 x86_64 GNU/Linux Registered Linux user #261729
  Reply With Quote
4 7th September 18:17
paul colquhoun
External User
 
Posts: 1
Default Kernel 2.6.12 and "unable to mount root fs" - Part 2


| modified it a little bit.
|
| I start to think that the Preempt-UP bug that has been bugging the PowerPC
| world for a long time has finally made it's way over to x86 too. With the SMP
| enabled, the kernel did boot, but didn't manage to load modules even if module
| load had been set in the kernel.
| Removing the SMP support on that configuration gave back the same kernel panic
| as before. Just enabling SMP on my old configuration didn't help, so there is
| something more that affects things. I would almost go as far as saying that
| kernel 2.6.12 is broken on x86 machines, but working on PPC.


What version of GCC did you use to compile the kernel? I had a similar problem
a few months ago and using an older GCC version fixed it.


--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
  Reply With Quote
5 7th September 18:17
j.o. aho
External User
 
Posts: 1
Default Kernel 2.6.12 and "unable to mount root fs" - Part 2


The latest stable one for x86, gcc-3.3.5.20050130-r1 and system is up to date
and revdep has been run to see that there aren't broken builds.


//Aho
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666