LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-26-2003, 10:22 PM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
Ouch! Multiple errors on boot up...


Ok well this was my first mostly sucessful attempt in installing Gentoo Linux- and I'm amazed I even got it to boot. i have learned a lot over this last week trying to install it. But now when it boots up I get multiple errors about various modules or other failing to be loaded. dmesg gives no useful output in this regard, as it doesn't seem to give any kernel messages (you know, when it moves into colour and starts loading components). Unfortunately the messages all scroll past far to fast for me to really see what they are. But mostly from what I can make out they do appear to be about failed modules. On first boot it complained that my etc/modules.conf file didn't exist. So having another identical system with Mandrake on it, with a perfectly working modules.conf I opted to copy that over and see if it helped the problem. It did somewhat as this time I was able to boot fully to a prompt. However I still have a lot of modules failing to load correctly, or more often than not, not at all.

When I manually try to insmod a module I generally get an error message saying "cannot find the kernel version the driver was compiled for." Well as I only have one kernel and compiled it only with the additional support required for my hardware, and as per the instructions on the install docs docs, I really can't make out what its going on about. One clue might be that it did complain on a couple of occasions that my hand made modules conf.file was newer than my lib/modules/2.4.20-gentoo-r5/modules.dep file. Which might be a clue that I messed up the modules.conf file. I confess in this respect I'm not 100% confident I know what I'm doing.

Also I couldn't get my eth0 to start. The modules for it are loaded 8139too and I can connect via the live CD to the net no problem. But for some reason it hangs on bringing up eth0 when I boot from grub.

Here is my net configuration file.

# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
#dhcpcd_eth0="..."

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"


# For setting the default gateway
#
#gateway="eth0/192.168.0.1"

I don't know what all that stuff about IP addresses means. Well at least I know what an IP address is, but in RedHat and Mandrake I never had to tell them where my adsl modem router was, or what the ip addess or anything for it was. All I do know is all connection protocolls are handled directly with my modem router, it has all my passwords and all my logon details for my isp stored on board. I know my IP address is supplied by my ISP each time I connect, and that my DNS (whatever that might be) is server assigned.So pretty much I don't have to deal with that side of things at all. My connection ptotocol is PPoA and I have enabled support for PPP over ATM in the kernel - as well as several other PPP related features. Indeed I believe there was another reference to ATM in the kernel and I am certain I enabled this too.

Can anyone explain to me where I'm going wrong here? I would really like to know as I am keen to learn about Linux and to finally at last begin using Gentoo.

Regards,

Q
 
Old 06-29-2003, 04:47 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Evenin!

Ok, well, let's break this down a bit:

Failed modules during boot. Or better yet, any errors at boot.

If you have a working system, regardless of the thousands of errors at boot (I get around 5) then it's usually ok to disregard them, at least until you decide it's necessary to remove them (after you get your system up to par with your needs, such as desktop setup, server issues, whatever).

Assuming you don't want to wait, look through /var/log for info on kernel booting (such as /var/log/kernel/current and /var/log/everything/current if you are using metalog) info. This should display the information that's further down the line. The "OK's" or "Failed" probably won't be there, but errors might.

Once you find out what's failing you can either remove that from /etc/modules.conf (which isn't the file to edit btw in Gentoo. It's actually (from the modules.conf file)
Quote:
/etc/modules.d and read
# the manpage for modules-update.
) until you no longer recieve those errors. As noted in the perenthesis above, you shouldn't be editing/creating a modules.conf file in the first place, this could be a reason for many of your errors.

Networking:

Networking can sometimes be a real fun thing (yeah right). I'd lean towards your module having issues because of the above mentioned way of editing your modules.conf file. Try unloading the module:
rmmod 8139too
And then reloading it:
modprobe 8139too
And see how that goes.
Something I just noticed is that you use PPP to connect, and I've got no clue how to setup internet using that. However, I have seen quite a few threads on it, and I don't think that'd be distro specific (it might require packages to be emerged though).

Good Luck

Cool
 
Old 06-29-2003, 08:06 AM   #3
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Good day to you too mate.... Thanks for the helpful input.... As far as PPP goes its really PPP over ATM or PPPoA. All in all, from what I can gather (and from looking at kernel options) this configuration is fully supported in Linux. In confirmation of this I have had my setup working flawlessly with several other distributions I tried. The main problem with these was though that there was always something that didn't work. In some cases I could get sound to work but not any decent video support, or I could get video support, but no sound, or maybe I could get sound and video, but no networking, and so on....Performance was always an issue for me too, having a nice fairly fast system, I didn't see that reflected in what I saw these distros doing.

Gentoo, through portage seemed to promise to solve all these problems for me. If I wanted something all I had to do was type 'emerge package name' and in short order I would have all my drivers and components installed and completely optimised for my system. Ironic then perhaps that this was the one thing I couldn't get to work.
But ohh well, we live and learn I guess. Maybe in a few days I will get enough steam up to try again. Having seen portage at work (and yes even in comparrison to apt-get) there really doesn't seem like any real alternative now.

Regards,

Q

Last edited by raid517; 06-29-2003 at 08:20 AM.
 
Old 06-29-2003, 08:14 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Portage is awesome isn't it?

As for your sound/video, what do you have? I can probably get all your hardware working, the networking (since it's PPPoA) is a different story though

Let's give a gander at what were trying to setup though, post up:
lspci -v
Or if you already know what I'm looking for, go ahead and just post up the relative info.

Cool
 
  


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
Multiple SCSI errors.... raid517 Linux - Hardware 1 10-21-2004 07:52 PM
Apache and multiple UserDir errors bai_design Linux - Networking 2 08-31-2004 05:14 PM
Multiple errors in config.log after ./configure for GLIB 2.4.4 eckerww Linux - Software 0 07-22-2004 11:55 PM
Madrake Linux, Multiple Errors Me Only Linux - Hardware 2 03-23-2004 05:04 AM
Ouch!!! carrja99 General 1 02-24-2003 07:34 PM


All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
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