No luck with 2.2.x kernel on RH 5.2!

No luck with 2.2.x kernel on RH 5.2!

Post by Greg Waug » Thu, 04 Feb 1999 04:00:00



I'm trying to upgrade my 1 month old RH 5.2 system to 2.2.1...  and I'm
having no luck!  Pretty simple box, P166, 2940U SCSI, 64MB SDRAM, 3Com
3C509B NIC.  Anyway, nothing seems to work right.  I've upgraded net-tools,
modutils, ipchains, etc.  And nothing.  I get errors about modules cannot be
located, but most of them were things I linked right into the kernel!
Anyway, nothing starts because the network is so funky.  I'm using IP
aliasing and it gives me errors about aliasing not supported in the kernel
even though I compiled it in (not as a module).  Also get errors that the
module st cannot be loaded (even though I compiled it into the kernel).
Anyway, I can't even boot the kernel to figure out what's going on since all
the services hang...

Feb  3 20:33:36 bert kernel: Cannot find map file.
Feb  3 20:33:36 bert kernel: Error seeking in /dev/kmem
Feb  3 20:33:36 bert kernel: Error adding kernel module table entry.

I get this error in the boot logs, but I know I've put the System.map file
in the correct place... /boot/System.map... right?  I've never build a
kernel under RH before... I've build a million kernels under other dists,
and never once had a problem.  (I just build 2.2.1 on my Slackware 95
machine that's approaching 4 years old... no problems at all).

Any help with RH kernel building would be very appreciated!  Thanks!

--
------------------------------------------


 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Ray Willi » Thu, 04 Feb 1999 04:00:00


ok, have you compiled the kernel in this order?

make menuconfig
<configure the kernel>
make dep
make clean
make install
make modules
make modules_install
then edit /etc/lilo.conf
and add the kernel vmlinuz for a boot image.
do not remove the lilo.conf lines that you are currently booting
then do a lilo
that should solve a few problems. :)

later,

RayW


> I'm trying to upgrade my 1 month old RH 5.2 system to 2.2.1...  and I'm
> having no luck!  Pretty simple box, P166, 2940U SCSI, 64MB SDRAM, 3Com
> 3C509B NIC.  Anyway, nothing seems to work right.  I've upgraded net-tools,
> modutils, ipchains, etc.  And nothing.  I get errors about modules cannot be
> located, but most of them were things I linked right into the kernel!
> Anyway, nothing starts because the network is so funky.  I'm using IP
> aliasing and it gives me errors about aliasing not supported in the kernel
> even though I compiled it in (not as a module).  Also get errors that the
> module st cannot be loaded (even though I compiled it into the kernel).
> Anyway, I can't even boot the kernel to figure out what's going on since all
> the services hang...

> Feb  3 20:33:36 bert kernel: Cannot find map file.
> Feb  3 20:33:36 bert kernel: Error seeking in /dev/kmem
> Feb  3 20:33:36 bert kernel: Error adding kernel module table entry.

> I get this error in the boot logs, but I know I've put the System.map file
> in the correct place... /boot/System.map... right?  I've never build a
> kernel under RH before... I've build a million kernels under other dists,
> and never once had a problem.  (I just build 2.2.1 on my Slackware 95
> machine that's approaching 4 years old... no problems at all).

> Any help with RH kernel building would be very appreciated!  Thanks!

> --
> ------------------------------------------




 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Greg Waug » Thu, 04 Feb 1999 04:00:00


Done it all... in exactly that order.  This is the only other error I get on
boot.

Feb  3 21:45:24 bert kernel: Error seeking in /dev/kmem
Feb  3 21:45:24 bert kernel: Error adding kernel module table entry.

The network claims it's there, but I can't ping anything.  Modules that I've
compiled into the kernel cannot be found as if they were modules that were
deleted.  I had to disable all services (sendmail, named, httpd) just to get
it to boot cause they cause the system to hang.  I get the same error with
the sound driver and midi modules (cannot load module midi) even though they
aren't modules... they're compiled into the kernel!

I'm at a loss...


>ok, have you compiled the kernel in this order?

>make menuconfig
><configure the kernel>
>make dep
>make clean
>make install
>make modules
>make modules_install
>then edit /etc/lilo.conf
>and add the kernel vmlinuz for a boot image.
>do not remove the lilo.conf lines that you are currently booting
>then do a lilo
>that should solve a few problems. :)

>later,

>RayW


>> I'm trying to upgrade my 1 month old RH 5.2 system to 2.2.1...  and I'm
>> having no luck!  Pretty simple box, P166, 2940U SCSI, 64MB SDRAM, 3Com
>> 3C509B NIC.  Anyway, nothing seems to work right.  I've upgraded
net-tools,
>> modutils, ipchains, etc.  And nothing.  I get errors about modules cannot
be
>> located, but most of them were things I linked right into the kernel!
>> Anyway, nothing starts because the network is so funky.  I'm using IP
>> aliasing and it gives me errors about aliasing not supported in the
kernel
>> even though I compiled it in (not as a module).  Also get errors that the
>> module st cannot be loaded (even though I compiled it into the kernel).
>> Anyway, I can't even boot the kernel to figure out what's going on since
all
>> the services hang...

>> Feb  3 20:33:36 bert kernel: Cannot find map file.
>> Feb  3 20:33:36 bert kernel: Error seeking in /dev/kmem
>> Feb  3 20:33:36 bert kernel: Error adding kernel module table entry.

>> I get this error in the boot logs, but I know I've put the System.map
file
>> in the correct place... /boot/System.map... right?  I've never build a
>> kernel under RH before... I've build a million kernels under other dists,
>> and never once had a problem.  (I just build 2.2.1 on my Slackware 95
>> machine that's approaching 4 years old... no problems at all).

>> Any help with RH kernel building would be very appreciated!  Thanks!

>> --
>> ------------------------------------------



 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Ray Willi » Thu, 04 Feb 1999 04:00:00


yes it seems like your missing /dev/kmem kmem is a kernel device for your
kernels memory managment.  I have no idea why that is gone.  you could try a
MAKEDEV
in your /dev dir but Im not sure if that would help or hinder.  Sorry.  It seems
like linux is getting less stable the further we move with it.  duno why.  I had
a problem one time with my network config just blowing up on me for no reason,
as in I havent touched it for weeks and just let it do its thing.  one morning
bam its network config just decided to blow up on me.  then I rebooted and it
started saying delaying eth2 initialization.  This is starting to bother me a
little.

Later Again,
RayW


> Done it all... in exactly that order.  This is the only other error I get on
> boot.

> Feb  3 21:45:24 bert kernel: Error seeking in /dev/kmem
> Feb  3 21:45:24 bert kernel: Error adding kernel module table entry.

> The network claims it's there, but I can't ping anything.  Modules that I've
> compiled into the kernel cannot be found as if they were modules that were
> deleted.  I had to disable all services (sendmail, named, httpd) just to get
> it to boot cause they cause the system to hang.  I get the same error with
> the sound driver and midi modules (cannot load module midi) even though they
> aren't modules... they're compiled into the kernel!

> I'm at a loss...


> >ok, have you compiled the kernel in this order?

> >make menuconfig
> ><configure the kernel>
> >make dep
> >make clean
> >make install
> >make modules
> >make modules_install
> >then edit /etc/lilo.conf
> >and add the kernel vmlinuz for a boot image.
> >do not remove the lilo.conf lines that you are currently booting
> >then do a lilo
> >that should solve a few problems. :)

> >later,

> >RayW


> >> I'm trying to upgrade my 1 month old RH 5.2 system to 2.2.1...  and I'm
> >> having no luck!  Pretty simple box, P166, 2940U SCSI, 64MB SDRAM, 3Com
> >> 3C509B NIC.  Anyway, nothing seems to work right.  I've upgraded
> net-tools,
> >> modutils, ipchains, etc.  And nothing.  I get errors about modules cannot
> be
> >> located, but most of them were things I linked right into the kernel!
> >> Anyway, nothing starts because the network is so funky.  I'm using IP
> >> aliasing and it gives me errors about aliasing not supported in the
> kernel
> >> even though I compiled it in (not as a module).  Also get errors that the
> >> module st cannot be loaded (even though I compiled it into the kernel).
> >> Anyway, I can't even boot the kernel to figure out what's going on since
> all
> >> the services hang...

> >> Feb  3 20:33:36 bert kernel: Cannot find map file.
> >> Feb  3 20:33:36 bert kernel: Error seeking in /dev/kmem
> >> Feb  3 20:33:36 bert kernel: Error adding kernel module table entry.

> >> I get this error in the boot logs, but I know I've put the System.map
> file
> >> in the correct place... /boot/System.map... right?  I've never build a
> >> kernel under RH before... I've build a million kernels under other dists,
> >> and never once had a problem.  (I just build 2.2.1 on my Slackware 95
> >> machine that's approaching 4 years old... no problems at all).

> >> Any help with RH kernel building would be very appreciated!  Thanks!

> >> --
> >> ------------------------------------------



 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Grant Lesli » Fri, 05 Feb 1999 04:00:00


From the ay it sounds to me, you had these as modules before, and the
RedHat scripts are still trying to load those modules, but, since you
compiled them into the kernel, obviously this will fail. Also, if they
are compiled into the kernel, they aren't really modules anymore, you
won't be able to lsmod and see them.

I'd almost suspect, your network card needs parameters set at boot time,
for the address and irq, in order to load properly, and that that was
done before, when RedHat loaded them after the kernel booted, and this
could be causing your system to hang, when something tries to use the
network.

I would suggest, editing you modules.conf file to remove any references
to driver modules, which are now compiled into the kernel. Or even
recompiling the kernel, and not linking them in, ie.. make them modules
again, so the Redhat startup files can find them. AND make sure that in
/lib/modules the symbolic link "prefered" points to the new kernel
modules directory.

Just best guesses, but, I hope some of this helps :-)

Quote:

> The network claims it's there, but I can't ping anything.  Modules that I've
> compiled into the kernel cannot be found as if they were modules that were
> deleted.  I had to disable all services (sendmail, named, httpd) just to get
> it to boot cause they cause the system to hang.  I get the same error with
> the sound driver and midi modules (cannot load module midi) even though they
> aren't modules... they're compiled into the kernel!

> I'm at a loss...

--
"It looks so lovely, and fragile. Imagine how many millions of people
 are living on it, and don't even realize how fragile it is."
  Alan B. Shepard, 1971, said with a tear in his eye, on the
            Apollo 14 mission looking back at earth from the moon
 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Greg Waug » Fri, 05 Feb 1999 04:00:00


No, the /dev/kmem is there.  2.0.36 boots fine (if I use modutils 2.1.85,
otherwise everything screws up there too).  Here are the problems:

"cannot load module st"         (referring to my tape drive)
"cannot load module midi"     (for the sound card... which I can live
without for now)
"Error network aliasing not supported in kernel"    (I have network and IP
aliasing compiled into the kernel)

I used linuxconf to add the IP aliases to the box.  If I don't manually
remove sendmail, httpd and smbd before it boots, it will hang.  At which
point I can log in and look around.  The network card is found and eth0 is
there with the correct primary IP bound to it, but you cannot ping anything
or go anywhere.  And nobody can ping me.

This error is the one that concerns me:

Feb  3 21:26:54 bert kernel: Error seeking in /dev/kmem
Feb  3 21:26:54 bert kernel: Error adding kernel module table entry.

Is there something in /etc/lilo.conf that could be throwing it off?  My
lilo.conf is just the dist RH with an extra line added:

boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.0.36-0.7
        label=linux
        root=/dev/sda1
        initrd=/boot/initrd-2.0.36-0.7.img
        read-only
image=/boot/vmlinuz-2.2.1
        label=linux22
        root=/dev/sda1
        read-only

I don't know what to do next... or what to post in here.  Here's the
checklist:

Upgraded modutils to 2.1.121 (no difference)
Upgraded net-tools to 1.50.
Upgraded ipchains

Is there something I'm missing on how to build a kernel for Red Hat?  I'm
going to try to build a 2.1.x just to see what's up....


>yes it seems like your missing /dev/kmem kmem is a kernel device for your
>kernels memory managment.  I have no idea why that is gone.  you could try
a
>MAKEDEV
>in your /dev dir but Im not sure if that would help or hinder.  Sorry.  It
seems
>like linux is getting less stable the further we move with it.  duno why.
I had
>a problem one time with my network config just blowing up on me for no
reason,
>as in I havent touched it for weeks and just let it do its thing.  one
morning
>bam its network config just decided to blow up on me.  then I rebooted and
it
>started saying delaying eth2 initialization.  This is starting to bother me
a
>little.

>Later Again,
>RayW


>> Done it all... in exactly that order.  This is the only other error I get
on
>> boot.

>> Feb  3 21:45:24 bert kernel: Error seeking in /dev/kmem
>> Feb  3 21:45:24 bert kernel: Error adding kernel module table entry.

>> The network claims it's there, but I can't ping anything.  Modules that
I've
>> compiled into the kernel cannot be found as if they were modules that
were
>> deleted.  I had to disable all services (sendmail, named, httpd) just to
get
>> it to boot cause they cause the system to hang.  I get the same error
with
>> the sound driver and midi modules (cannot load module midi) even though
they
>> aren't modules... they're compiled into the kernel!

>> I'm at a loss...


>> >ok, have you compiled the kernel in this order?

>> >make menuconfig
>> ><configure the kernel>
>> >make dep
>> >make clean
>> >make install
>> >make modules
>> >make modules_install
>> >then edit /etc/lilo.conf
>> >and add the kernel vmlinuz for a boot image.
>> >do not remove the lilo.conf lines that you are currently booting
>> >then do a lilo
>> >that should solve a few problems. :)

>> >later,

>> >RayW


>> >> I'm trying to upgrade my 1 month old RH 5.2 system to 2.2.1...  and
I'm
>> >> having no luck!  Pretty simple box, P166, 2940U SCSI, 64MB SDRAM, 3Com
>> >> 3C509B NIC.  Anyway, nothing seems to work right.  I've upgraded
>> net-tools,
>> >> modutils, ipchains, etc.  And nothing.  I get errors about modules
cannot
>> be
>> >> located, but most of them were things I linked right into the kernel!
>> >> Anyway, nothing starts because the network is so funky.  I'm using IP
>> >> aliasing and it gives me errors about aliasing not supported in the
>> kernel
>> >> even though I compiled it in (not as a module).  Also get errors that
the
>> >> module st cannot be loaded (even though I compiled it into the
kernel).
>> >> Anyway, I can't even boot the kernel to figure out what's going on
since
>> all
>> >> the services hang...

>> >> Feb  3 20:33:36 bert kernel: Cannot find map file.
>> >> Feb  3 20:33:36 bert kernel: Error seeking in /dev/kmem
>> >> Feb  3 20:33:36 bert kernel: Error adding kernel module table entry.

>> >> I get this error in the boot logs, but I know I've put the System.map
>> file
>> >> in the correct place... /boot/System.map... right?  I've never build a
>> >> kernel under RH before... I've build a million kernels under other
dists,
>> >> and never once had a problem.  (I just build 2.2.1 on my Slackware 95
>> >> machine that's approaching 4 years old... no problems at all).

>> >> Any help with RH kernel building would be very appreciated!  Thanks!

>> >> --
>> >> ------------------------------------------



 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Hugh Buchana » Fri, 05 Feb 1999 04:00:00


Be sure to use the RPM for the kernel source.  RedHat doesn't have
everything setup like most other distribs.  I was having similar problems
until I grabbed the kernel RPM.


>ok, have you compiled the kernel in this order?

>make menuconfig
><configure the kernel>
>make dep
>make clean
>make install
>make modules
>make modules_install
>then edit /etc/lilo.conf
>and add the kernel vmlinuz for a boot image.
>do not remove the lilo.conf lines that you are currently booting
>then do a lilo
>that should solve a few problems. :)

>later,

>RayW


>> I'm trying to upgrade my 1 month old RH 5.2 system to 2.2.1...  and I'm
>> having no luck!  Pretty simple box, P166, 2940U SCSI, 64MB SDRAM, 3Com
>> 3C509B NIC.  Anyway, nothing seems to work right.  I've upgraded
net-tools,
>> modutils, ipchains, etc.  And nothing.  I get errors about modules cannot
be
>> located, but most of them were things I linked right into the kernel!
>> Anyway, nothing starts because the network is so funky.  I'm using IP
>> aliasing and it gives me errors about aliasing not supported in the
kernel
>> even though I compiled it in (not as a module).  Also get errors that the
>> module st cannot be loaded (even though I compiled it into the kernel).
>> Anyway, I can't even boot the kernel to figure out what's going on since
all
>> the services hang...

>> Feb  3 20:33:36 bert kernel: Cannot find map file.
>> Feb  3 20:33:36 bert kernel: Error seeking in /dev/kmem
>> Feb  3 20:33:36 bert kernel: Error adding kernel module table entry.

>> I get this error in the boot logs, but I know I've put the System.map
file
>> in the correct place... /boot/System.map... right?  I've never build a
>> kernel under RH before... I've build a million kernels under other dists,
>> and never once had a problem.  (I just build 2.2.1 on my Slackware 95
>> machine that's approaching 4 years old... no problems at all).

>> Any help with RH kernel building would be very appreciated!  Thanks!

>> --
>> ------------------------------------------



-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
 http://www.newsfeeds.com/       The Largest Usenet Servers in the World!
-----------== Over 66,000 Groups, Plus  a  Dedicated  Binaries Server ==----------
 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by jxfau.. » Fri, 05 Feb 1999 04:00:00



Quote:> "cannot load module st"         (referring to my tape drive)
> "cannot load module midi"     (for the sound card... which I can live
> without for now)
> "Error network aliasing not supported in kernel"    (I have network and IP
> aliasing compiled into the kernel)

RedHat's scripts don't handle network aliases correctly, you need to refer
to the device as eth0:0 or something like that. [ I'm quoting this from
memory from another post I saw ]

That said, there is a bug in the config system whereby options set to
'm'odular that now only exist as 'boolean' aren't correctly set.
You might want to manually check /usr/src/linux/.config to make sure
the CONFIG_*_ALIAS entries are set to Y

I got this snippet from pre-2.2.2

 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by jxfau.. » Fri, 05 Feb 1999 04:00:00



Quote:> Done it all... in exactly that order.  This is the only other error I get on
> boot.
> Feb  3 21:45:24 bert kernel: Error seeking in /dev/kmem
> Feb  3 21:45:24 bert kernel: Error adding kernel module table entry.

This isn't so important, it just means that if your system crashes inside
module code it won't be able to translate addresses to symbols in the system
log entry.

Quote:> The network claims it's there, but I can't ping anything.  Modules that I've

How about posting the output of ifconfig, along with what you think it
should be doing.
 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Thomas T. Veldhous » Fri, 05 Feb 1999 04:00:00


You can use the regular Kernel source.  Just edit your /etc/lilo.conf file
to use the vmlinuz in you / directory.  RedHat has some stupid idea to name
the kernel vmlinuz-2.0.36-1 or something and then they put it in the /boot
directory to top it off.  If you change your /etc/lilo.conf file instead,
you can alway compile the new source and not have to make changes to the
Makefile everytime, or anything else.

Tom Veldhouse


>Be sure to use the RPM for the kernel source.  RedHat doesn't have
>everything setup like most other distribs.  I was having similar problems
>until I grabbed the kernel RPM.



>>ok, have you compiled the kernel in this order?

>>make menuconfig
>><configure the kernel>
>>make dep
>>make clean
>>make install
>>make modules
>>make modules_install
>>then edit /etc/lilo.conf
>>and add the kernel vmlinuz for a boot image.
>>do not remove the lilo.conf lines that you are currently booting
>>then do a lilo
>>that should solve a few problems. :)

>>later,

>>RayW


>>> I'm trying to upgrade my 1 month old RH 5.2 system to 2.2.1...  and I'm
>>> having no luck!  Pretty simple box, P166, 2940U SCSI, 64MB SDRAM, 3Com
>>> 3C509B NIC.  Anyway, nothing seems to work right.  I've upgraded
>net-tools,
>>> modutils, ipchains, etc.  And nothing.  I get errors about modules
cannot
>be
>>> located, but most of them were things I linked right into the kernel!
>>> Anyway, nothing starts because the network is so funky.  I'm using IP
>>> aliasing and it gives me errors about aliasing not supported in the
>kernel
>>> even though I compiled it in (not as a module).  Also get errors that
the
>>> module st cannot be loaded (even though I compiled it into the kernel).
>>> Anyway, I can't even boot the kernel to figure out what's going on since
>all
>>> the services hang...

>>> Feb  3 20:33:36 bert kernel: Cannot find map file.
>>> Feb  3 20:33:36 bert kernel: Error seeking in /dev/kmem
>>> Feb  3 20:33:36 bert kernel: Error adding kernel module table entry.

>>> I get this error in the boot logs, but I know I've put the System.map
>file
>>> in the correct place... /boot/System.map... right?  I've never build a
>>> kernel under RH before... I've build a million kernels under other
dists,
>>> and never once had a problem.  (I just build 2.2.1 on my Slackware 95
>>> machine that's approaching 4 years old... no problems at all).

>>> Any help with RH kernel building would be very appreciated!  Thanks!

>>> --
>>> ------------------------------------------


>-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
> http://www.newsfeeds.com/       The Largest Usenet Servers in the World!
>-----------== Over 66,000 Groups, Plus  a  Dedicated  Binaries Server

==----------
 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Phil DeBecke » Fri, 05 Feb 1999 04:00:00



> No, the /dev/kmem is there.  2.0.36 boots fine (if I use modutils 2.1.85,
> otherwise everything screws up there too).  Here are the problems:

> "cannot load module st"         (referring to my tape drive)
> "cannot load module midi"     (for the sound card... which I can live
> without for now)
> "Error network aliasing not supported in kernel"    (I have network and IP
> aliasing compiled into the kernel)

> I used linuxconf to add the IP aliases to the box.  If I don't manually
> remove sendmail, httpd and smbd before it boots, it will hang.  At which
> point I can log in and look around.  The network card is found and eth0 is
> there with the correct primary IP bound to it, but you cannot ping anything
> or go anywhere.  And nobody can ping me.

> This error is the one that concerns me:

> Feb  3 21:26:54 bert kernel: Error seeking in /dev/kmem
> Feb  3 21:26:54 bert kernel: Error adding kernel module table entry.

> Is there something in /etc/lilo.conf that could be throwing it off?  My
> lilo.conf is just the dist RH with an extra line added:

> boot=/dev/sda
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> image=/boot/vmlinuz-2.0.36-0.7
>         label=linux
>         root=/dev/sda1
>         initrd=/boot/initrd-2.0.36-0.7.img
>         read-only
> image=/boot/vmlinuz-2.2.1
>         label=linux22
>         root=/dev/sda1
>         read-only

> I don't know what to do next... or what to post in here.  Here's the
> checklist:

> Upgraded modutils to 2.1.121 (no difference)
> Upgraded net-tools to 1.50.
> Upgraded ipchains

> Is there something I'm missing on how to build a kernel for Red Hat?  I'm
> going to try to build a 2.1.x just to see what's up....



> >yes it seems like your missing /dev/kmem kmem is a kernel device for your
> >kernels memory managment.  I have no idea why that is gone.  you could try
> a
> >MAKEDEV
> >in your /dev dir but Im not sure if that would help or hinder.  Sorry.  It
> seems
> >like linux is getting less stable the further we move with it.  duno why.
> I had
> >a problem one time with my network config just blowing up on me for no
> reason,
> >as in I havent touched it for weeks and just let it do its thing.  one
> morning
> >bam its network config just decided to blow up on me.  then I rebooted and
> it
> >started saying delaying eth2 initialization.  This is starting to bother me
> a
> >little.

> >Later Again,
> >RayW


> >> Done it all... in exactly that order.  This is the only other error I get
> on
> >> boot.

> >> Feb  3 21:45:24 bert kernel: Error seeking in /dev/kmem
> >> Feb  3 21:45:24 bert kernel: Error adding kernel module table entry.

> >> The network claims it's there, but I can't ping anything.  Modules that
> I've
> >> compiled into the kernel cannot be found as if they were modules that
> were
> >> deleted.  I had to disable all services (sendmail, named, httpd) just to
> get
> >> it to boot cause they cause the system to hang.  I get the same error
> with
> >> the sound driver and midi modules (cannot load module midi) even though
> they
> >> aren't modules... they're compiled into the kernel!

> >> I'm at a loss...


> >> >ok, have you compiled the kernel in this order?

> >> >make menuconfig
> >> ><configure the kernel>
> >> >make dep
> >> >make clean
> >> >make install
> >> >make modules
> >> >make modules_install
> >> >then edit /etc/lilo.conf
> >> >and add the kernel vmlinuz for a boot image.
> >> >do not remove the lilo.conf lines that you are currently booting
> >> >then do a lilo
> >> >that should solve a few problems. :)

> >> >later,

> >> >RayW


> >> >> I'm trying to upgrade my 1 month old RH 5.2 system to 2.2.1...  and
> I'm
> >> >> having no luck!  Pretty simple box, P166, 2940U SCSI, 64MB SDRAM, 3Com
> >> >> 3C509B NIC.  Anyway, nothing seems to work right.  I've upgraded
> >> net-tools,
> >> >> modutils, ipchains, etc.  And nothing.  I get errors about modules
> cannot
> >> be
> >> >> located, but most of them were things I linked right into the kernel!
> >> >> Anyway, nothing starts because the network is so funky.  I'm using IP
> >> >> aliasing and it gives me errors about aliasing not supported in the
> >> kernel
> >> >> even though I compiled it in (not as a module).  Also get errors that
> the
> >> >> module st cannot be loaded (even though I compiled it into the
> kernel).
> >> >> Anyway, I can't even boot the kernel to figure out what's going on
> since
> >> all
> >> >> the services hang...

> >> >> Feb  3 20:33:36 bert kernel: Cannot find map file.
> >> >> Feb  3 20:33:36 bert kernel: Error seeking in /dev/kmem
> >> >> Feb  3 20:33:36 bert kernel: Error adding kernel module table entry.

> >> >> I get this error in the boot logs, but I know I've put the System.map
> >> file
> >> >> in the correct place... /boot/System.map... right?  I've never build a
> >> >> kernel under RH before... I've build a million kernels under other
> dists,
> >> >> and never once had a problem.  (I just build 2.2.1 on my Slackware 95
> >> >> machine that's approaching 4 years old... no problems at all).

> >> >> Any help with RH kernel building would be very appreciated!  Thanks!

> >> >> --
> >> >> ------------------------------------------



I think I see what your problem is, but I'm not sure exactly the steps required
to fix it as I'm not personally a SCSI user.

You're booting off a scsi drive, and your 2.0.36 setup uses initrd.  What seems
to be happening is that you don't have access to your hard disk at the point
where linux is looking into /dev (to get at /dev/kmem).  This is hosing up all
sorts of things.  initrd (the Initial RAM Disk) driver is supposed to help get
around such problems.

I don't know if you're running scsi as a module, if so don't.  Otherwise you
should set up the initrd stuff for 2.2.1 and that should probably fix your
problem.

Incidentally, I'm running 2.2.1 on a RH 5.1 system with no problems, so you
should be able to get it working also.

Hope this helps,
Phil

 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Phil DeBecke » Fri, 05 Feb 1999 04:00:00




> > No, the /dev/kmem is there.  2.0.36 boots fine (if I use modutils 2.1.85,
> > otherwise everything screws up there too).  Here are the problems:

> > "cannot load module st"         (referring to my tape drive)
> > "cannot load module midi"     (for the sound card... which I can live
> > without for now)
> > "Error network aliasing not supported in kernel"    (I have network and IP
> > aliasing compiled into the kernel)

> > I used linuxconf to add the IP aliases to the box.  If I don't manually
> > remove sendmail, httpd and smbd before it boots, it will hang.  At which
> > point I can log in and look around.  The network card is found and eth0 is
> > there with the correct primary IP bound to it, but you cannot ping anything
> > or go anywhere.  And nobody can ping me.

> > This error is the one that concerns me:

> > Feb  3 21:26:54 bert kernel: Error seeking in /dev/kmem
> > Feb  3 21:26:54 bert kernel: Error adding kernel module table entry.

> > Is there something in /etc/lilo.conf that could be throwing it off?  My
> > lilo.conf is just the dist RH with an extra line added:

> > boot=/dev/sda
> > map=/boot/map
> > install=/boot/boot.b
> > prompt
> > timeout=50
> > image=/boot/vmlinuz-2.0.36-0.7
> >         label=linux
> >         root=/dev/sda1
> >         initrd=/boot/initrd-2.0.36-0.7.img
> >         read-only
> > image=/boot/vmlinuz-2.2.1
> >         label=linux22
> >         root=/dev/sda1
> >         read-only

> > I don't know what to do next... or what to post in here.  Here's the
> > checklist:

> > Upgraded modutils to 2.1.121 (no difference)
> > Upgraded net-tools to 1.50.
> > Upgraded ipchains

> > Is there something I'm missing on how to build a kernel for Red Hat?  I'm
> > going to try to build a 2.1.x just to see what's up....



> > >yes it seems like your missing /dev/kmem kmem is a kernel device for your
> > >kernels memory managment.  I have no idea why that is gone.  you could try
> > a
> > >MAKEDEV
> > >in your /dev dir but Im not sure if that would help or hinder.  Sorry.  It
> > seems
> > >like linux is getting less stable the further we move with it.  duno why.
> > I had
> > >a problem one time with my network config just blowing up on me for no
> > reason,
> > >as in I havent touched it for weeks and just let it do its thing.  one
> > morning
> > >bam its network config just decided to blow up on me.  then I rebooted and
> > it
> > >started saying delaying eth2 initialization.  This is starting to bother me
> > a
> > >little.

> > >Later Again,
> > >RayW


> > >> Done it all... in exactly that order.  This is the only other error I get
> > on
> > >> boot.

> > >> Feb  3 21:45:24 bert kernel: Error seeking in /dev/kmem
> > >> Feb  3 21:45:24 bert kernel: Error adding kernel module table entry.

> > >> The network claims it's there, but I can't ping anything.  Modules that
> > I've
> > >> compiled into the kernel cannot be found as if they were modules that
> > were
> > >> deleted.  I had to disable all services (sendmail, named, httpd) just to
> > get
> > >> it to boot cause they cause the system to hang.  I get the same error
> > with
> > >> the sound driver and midi modules (cannot load module midi) even though
> > they
> > >> aren't modules... they're compiled into the kernel!

> > >> I'm at a loss...


> > >> >ok, have you compiled the kernel in this order?

> > >> >make menuconfig
> > >> ><configure the kernel>
> > >> >make dep
> > >> >make clean
> > >> >make install
> > >> >make modules
> > >> >make modules_install
> > >> >then edit /etc/lilo.conf
> > >> >and add the kernel vmlinuz for a boot image.
> > >> >do not remove the lilo.conf lines that you are currently booting
> > >> >then do a lilo
> > >> >that should solve a few problems. :)

> > >> >later,

> > >> >RayW


> > >> >> I'm trying to upgrade my 1 month old RH 5.2 system to 2.2.1...  and
> > I'm
> > >> >> having no luck!  Pretty simple box, P166, 2940U SCSI, 64MB SDRAM, 3Com
> > >> >> 3C509B NIC.  Anyway, nothing seems to work right.  I've upgraded
> > >> net-tools,
> > >> >> modutils, ipchains, etc.  And nothing.  I get errors about modules
> > cannot
> > >> be
> > >> >> located, but most of them were things I linked right into the kernel!
> > >> >> Anyway, nothing starts because the network is so funky.  I'm using IP
> > >> >> aliasing and it gives me errors about aliasing not supported in the
> > >> kernel
> > >> >> even though I compiled it in (not as a module).  Also get errors that
> > the
> > >> >> module st cannot be loaded (even though I compiled it into the
> > kernel).
> > >> >> Anyway, I can't even boot the kernel to figure out what's going on
> > since
> > >> all
> > >> >> the services hang...

> > >> >> Feb  3 20:33:36 bert kernel: Cannot find map file.
> > >> >> Feb  3 20:33:36 bert kernel: Error seeking in /dev/kmem
> > >> >> Feb  3 20:33:36 bert kernel: Error adding kernel module table entry.

> > >> >> I get this error in the boot logs, but I know I've put the System.map
> > >> file
> > >> >> in the correct place... /boot/System.map... right?  I've never build a
> > >> >> kernel under RH before... I've build a million kernels under other
> > dists,
> > >> >> and never once had a problem.  (I just build 2.2.1 on my Slackware 95
> > >> >> machine that's approaching 4 years old... no problems at all).

> > >> >> Any help with RH kernel building would be very appreciated!  Thanks!

> > >> >> --
> > >> >> ------------------------------------------


> I think I see what your problem is, but I'm not sure exactly the steps required
> to fix it as I'm not personally a SCSI user.

> You're booting off a scsi drive, and your 2.0.36 setup uses initrd.  What seems
> to be happening is that you don't have access to your hard disk at the point
> where linux is looking into /dev (to get at /dev/kmem).  This is hosing up all
> sorts of things.  initrd (the Initial RAM Disk) driver is supposed to help get
> around such problems.

> I don't know if you're running scsi as a module, if so don't.  Otherwise you
> should set up the initrd stuff for 2.2.1 and that should probably fix your
> problem.

> Incidentally, I'm running 2.2.1 on a RH 5.1 system with no problems, so you
> should be able to get it working also.

> Hope this helps,
> Phil

In fact, I just did "man mkinitrd" and now I'm almost convinced that will solve
your problem.  Have a look at that.

Phil

 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Soeren Tod » Fri, 05 Feb 1999 04:00:00



> In fact, I just did "man mkinitrd" and now I'm almost convinced that will solve
> your problem.  Have a look at that.

Thanks for helping. But:

182 lines quoting for 2 lines information in 8 Newsgroups.
Bad ratio. You have to work on that.
Maybe you find a news-newusers FAQ.

Soeren

--
Bei HTTP Zugriffen in Dritte-Welt-Laender,
bitte das "Hyper Text Transfair Protocol" verwenden.

 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Alexander Vi » Fri, 05 Feb 1999 04:00:00



Quote:>Thanks for helping. But:

>182 lines quoting for 2 lines information in 8 Newsgroups.
>Bad ratio. You have to work on that.
>Maybe you find a news-newusers FAQ.

Better yet, 3 of 8 do not exist since '94.

--
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid.  Get yourself a better computer" - Dilbert.

 
 
 

No luck with 2.2.x kernel on RH 5.2!

Post by Greg Waug » Fri, 05 Feb 1999 04:00:00


Quote:>> I think I see what your problem is, but I'm not sure exactly the steps
required
>> to fix it as I'm not personally a SCSI user.

>> You're booting off a scsi drive, and your 2.0.36 setup uses initrd.  What
seems
>> to be happening is that you don't have access to your hard disk at the
point
>> where linux is looking into /dev (to get at /dev/kmem).  This is hosing
up all
>> sorts of things.  initrd (the Initial RAM Disk) driver is supposed to
help get
>> around such problems.

>> I don't know if you're running scsi as a module, if so don't.  Otherwise
you
>> should set up the initrd stuff for 2.2.1 and that should probably fix
your
>> problem.

>> Incidentally, I'm running 2.2.1 on a RH 5.1 system with no problems, so
you
>> should be able to get it working also.

>> Hope this helps,
>> Phil

>In fact, I just did "man mkinitrd" and now I'm almost convinced that will
solve
>your problem.  Have a look at that.

Thanks for the response!  Right now I do not have aic7xxx built as a module,
it's built in the kernel.  But I will try to make an initrd and see if it
works.  Which revealed another interesting problem.  My /etc/conf.modules is
dated Jan 3 from my original RH install:

alias scsi_hostadapter aic7xxx
alias eth0 3c509
alias sound sb
alias midi opl3
options opl3 io=0x388
options sb io=0x220 irq=5 dma=1 dma16=3 mpu_io=0x330

I've never dealt with a conf.modules before... how do I create/update it?
Or rather, how is this file created?  I notice the output looks like a
/sbin/modprobe -c, just a lot shorter.  I've been playing around with it,
with no luck.  I did get it to give me an oops, indicating I'm making *some*
progress...  it seems the trick is to build *all* the SCSI modules as
modules and link it in using an initrd.  I'll try that next.  Jeez, you'd
think RH would have documented this process somewhere....