[TriLUG] HELP!

Vestal, Roy L. rvestal at rti.org
Wed Feb 6 08:00:25 EST 2002


It doesn't like something in your kernel build. Here's a suggestion. Create
a test kernel with the RedHat generic .config. You can find these in
/usr/src/somewhere-I-don't-remember. I believe they are in the linux-2.4.10
directory. Use the .config that best meets your kernel. Understand that this
.config will pretty much build EVERYTHING (or darn near close). Tar up your
current /usr/src/linux-ver.#.# and unpack a "fresh" one, create the new
kernel with a different extension (I use -test myself). Try booting the
generic and see what breaks/works. I then compare the 2 .configs and try to
find that one little difference.

Folks, If you know the answer to Andy's delimma, please speak up. I'm still
somewhat new, and the only way I found the fix for the error he's having is
the above. I would love a better alternative myself.

-----Original Message-----
From: Andy Hart [mailto:wahart at portbridge.com]
Sent: Tuesday, February 05, 2002 6:23 PM
To: trilug at trilug.org
Subject: RE: [TriLUG] HELP!


That helped a lot, however now the kernel hangs when it gets to:

Welcome to Red Hat

Press I for interactive start up

Or something like that.

I believe the next step is for it to mount the /proc partition, however, I
could be wrong.

-----Original Message-----
From: trilug-admin at trilug.org [mailto:trilug-admin at trilug.org]On Behalf Of
Vestal, Roy L.
Sent: Tuesday, February 05, 2002 9:27 AM
To: 'trilug at trilug.org'
Subject: RE: [TriLUG] HELP!

Nope. That's how you support it. It's part of the default kernel from RH.
2.4.7-10 has the patches installed already. That's why the default works.

I'd recommend doing this (I've done what you did so I learned the hard
way!):

To clean your trashed setup:
rm /boot/*version.number.number* --> verify each file should be deleted
cd /lib/modules
rm -Rf version.number.number-extension --> BE VERY CAREFUL HERE. Make sure
it's the right one

To create your new kernel:

cd /usr/src/linux
cp .config ../.config.current --> saves your .config file
make mrproper
cp ../.config.current .config
vi Makefile --> add extension here on 4th line "Extension"
make oldconfig --> answer any questions that "may" popup
make xconfig --> verify your settings and make sure ext3 is supported (NO
MODULE!)
make dep clean bzImage
cp arch/i386/boot/bzImage /boot/vmlinuz-version.number.number-extension
make modules
make modules_install
cp System.map /boot/System.map-version.number.number-extension
mkinitrd /boot/initrd-version.number.number-extension.img
version.number.number

edit /etc/lilo.conf --> verify it is setup correctly
lilo -v
sync
sync
reboot

Choose your new kernel and make sure it boots happily!
-----Original Message-----
From: Andy Hart [mailto:wahart at portbridge.com]
Sent: Tuesday, February 05, 2002 9:14 AM
To: trilug at trilug.org
Subject: RE: [TriLUG] HELP!


Is this how I get ext3, I thought that just added journaling for ext3.

-----Original Message-----
From: trilug-admin at trilug.org [mailto:trilug-admin at trilug.org]On Behalf Of
Vestal, Roy L.
Sent: Tuesday, February 05, 2002 9:04 AM
To: 'trilug at trilug.org'
Subject: RE: [TriLUG] HELP!

ext3 is part of the file systems section, ext3 journaling (experimental) is
how it's listed in 2.4.16. I compile it in, no module. In my experience (as
little as it is), compiling this as a module is useless.

-----Original Message-----
From: Andy Hart [mailto:wahart at portbridge.com]
Sent: Tuesday, February 05, 2002 8:54 AM
To: trilug at trilug.org
Subject: RE: [TriLUG] HELP!


Tanner,
   Thanks, but now I'm a little confused. I'm not sure where/how to compile
in ext3 support. I looked in the config (make xconfig) but did not find it
there. What do I do different?

- Andy

-----Original Message-----
From: trilug-admin at trilug.org [mailto:trilug-admin at trilug.org]On Behalf Of
Tanner Lovelace
Sent: Monday, February 04, 2002 10:52 PM
To: trilug at trilug.org
Subject: Re: [TriLUG] HELP!

On Mon, 2002-02-04 at 18:06, Andy Hart wrote:
> I've compiled a new kernel, set up my lilo.conf file, ran lilo ...
>
> When I boot the machine I get the following error:
>
> > mount: error 19 mounting ext 3

It seems to think you're using ext3.  Did you make sure
that either ext3 support is compiled into the kernel, or
that it is present in the initrd file (if you're using initrd,
which, from the following line, it appears you are)?

Did you create a new initrd file?  (man mkinitrd for
more info)


> > pivotroot: pivot_root(/sysroot,/sysroot/initrd) fail 2
> > freeing unused kernel memory: 228k freed
> > kernel panic: no init found. Try passing init= option to kernel
>
> I suspect that since it started with mount: error 19 issue that that is
the
> root cause, but I don't know how to correct it.

Yep, I agree.  Your system is trying to mount an ext3 filesystem
but doesn't know how.  See above for how to fix.

Tanner
--
Tanner Lovelace | lovelace at wayfarer.org | http://wtl.wayfarer.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint = A66C 8660 924F 5F8C 71DA  BDD0 CE09 4F8E DE76 39D4
GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
 Those who are willing to sacrifice essential liberties for a little
 order, will lose both and deserve neither.  --  Benjamin Franklin

 History teaches that grave threats to liberty often come in times
 of urgency, when constitutional rights seem too extravagant to
 endure.  --  Justice Thurgood Marshall, 1989

_______________________________________________
TriLUG mailing list
http://www.trilug.org/mailman/listinfo/trilug
_______________________________________________
TriLUG mailing list
http://www.trilug.org/mailman/listinfo/trilug

_______________________________________________
TriLUG mailing list
http://www.trilug.org/mailman/listinfo/trilug
_______________________________________________
TriLUG mailing list
http://www.trilug.org/mailman/listinfo/trilug

_______________________________________________
TriLUG mailing list
http://www.trilug.org/mailman/listinfo/trilug



More information about the TriLUG mailing list