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.
# $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="22.214.171.124 broadcast 126.96.36.199 netmask 255.255.0.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
# For adding aliases to a interface
# 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.
# For setting the default gateway
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.
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)
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:
And then reloading it:
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 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.
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:
Or if you already know what I'm looking for, go ahead and just post up the relative info.
|All times are GMT -5. The time now is 01:40 AM.|