Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
To start off I am going to appologize for the length of this post, and I would like to thank anyone that helps in anyway.
I have been using RH8 for a couple of months now on a machine I have, learning linux and playing aroudn with features. I built my kernel (v. 2.4.26) the other day and all went well in the process. I also could load the kernel and most went well. It is just some small things that does not cause the system to crash. Here I go:
1) After the 'make bzImage' process, one of the last lines output was:
"Kernel is too big for standalone boot from floppy"
I know this is not true because I booted the kernel using lilo, changed vmlinuz to point to the new image and ran a mkbootdisk which completed 'successfully' (see below) and generated a boot disk which I booted from. I also know the kernel is not too big because I only included the features that I absolutely needed and nothing else. I am a bit bewildered at this message.
2) When making a boot disk I type the following and get the messages:
# mkbootdisk --device /dev/fd0 2.4.26
"No module eepro100 found for kernel 2.4.26"
As stated above the boot disk works as it should but this error confuses me. On a closer look there is an line in the /etc/modules.conf file that states:
alias eth0 eepro100
I do not recall enabling any modules for and eepro ethernet device in kernel config. Should I simply comment this line out, or what is the solution? See my rantings about modules.conf below.
3)On system statup I get the following lines of output:
mount usb filesystem mount /proc/bus/usb does not exist
Initializing usb keyboard: modprobe: cannot locate module keybdev
There are similar messages for USB hid and USB mouse. I recall in the kernel config process, I enabled usb support but not for the keyboard and mouse and such. Upon closer look I noticed the following in modules.conf:
alias usb-controller usb-uhci
Does this have anything to do with my problem? Should I comment this out? Do I need to rerun "make modules" and "make modules_install" after altering this file?
Now would be a good time to mention that I have no idea to the purpose of modules.conf (call me a newb if you want). I tried reading the manpage about it but I got even more confused. I have tried finding some help online but that hasnt helped yet either. I know it has something to do with modprobe and ismod and ... I am 100% sure that I have all these utilities on my system. I just dont know how to work them. Any explanation or link to explanation would be much appreciated. Anyways onto the next problem:
4) My ethernet card wont work. It seems that the system recognizes it is there, but displays "could not bring eth up, check cable?..." message on system startup. I have a 3com etherlink III card and am sure I installed the correct driver in the kernel config. I even installed it as a direct part of the kernel and not a module I am also sure that the card works cause if I boot from the kernel installed during linux installation, it works fine... i can connect to net and everything.
5) According to the hardware manage kuzu (or whatever) my printer connected to my parallel port is gone. I enabled paralled support in the kernel config as well a printer hooked up to parallel port support. Printer works just fine with the original kernel using CUPS. Im not sure about this problem.
6) At the end of the shutdown process I get:
Halting the system
Flushing ide devices: hda hdc
And the system just stops, it does not shut down, just stops with everything on the screen. I press the power button to turn the computer off. Is this the result of a bad descision when enabling/disabling power management options in kernel config? Not sure about this problem either?
Any help at all is appreciated. Even if you have an idea about one of my problems please post. I will continue to play around with my system in the true linux way but any comments, suggestions, ideas, solutions, or even statements of sympathy are appreciated.
I found the source of problem 3. In my rc.sysinit file there usb modules are being looked for, HID, mouse, and keyboard. Does anyone know if there is any good documentation on rc.sysinit? Also I am still interested in the modules.conf file and what it does.
As I initially thought problem 2 was caused by the extraneous entry in modules.conf. Once I commented the line out mkbootdisk worked as it should (with one exception, the line "grubby:bad argument --info: missing argument" is printed every time I run mkbootdisk. Any ideas anyone???) Anyways as a quick summary to the problems still standing:
1) "Kernel is too big for standalone boot from floppy"??? what does this mean.
2) Ethernet card is recognized but cannot connect to network
3) At end of shutdown process, system displays "power down" and halts untill I manually shut machine off. (no improper shutdown errors generated on startup).
1 & 3 are a bit of an annoyance that I am trying to learn about. 2 is more critical though, i need to get my machine on the net and the printer working.
Also I am still curious as to the function of /etc/modules.conf and information on /etc/rc.d/rc.sysinit/ (i know what this does I would just like some additional info).
I was doing some major googling on the "power down" issue, and it seems that lots of people have a similar problem.
I seems that the issue wherin lies in the apm (i'm assuming that this stands for advanced power management) module which I did not install in my kernel configuration. If you think I should install this or know a quick fix or would like to say otherwise please post (no one but me has posted anything so far ) Anyways I also say the acronym ACPI used alot when I wasd looking into this problem. I do not know what this is either.
Once again any help at all is appreciated. Thanks alot
1. don't worry about this. i think it means that you cannot fit your kernel and modules on.
2,4&5. eepro 100 may be the thing you need. try booting to your original kernel and then issuing the command:
this will tell you all you need to know about which hardware drivers (modules) are needed. if you see "eepro100" or similar in there then compile it into your new kernel (as a part of the kernel or as a module) and then follow the normal steps again (make, make modules, make install, make modules_install).
/etc/modules.conf gives the kernel extra info about the hardware in your computer. you may need to add new lines to it if you add new hardware or if a piece of hardware is not working properly without these lines. Try doing a search on these forums for info on a particular piece of hardware or look in the hardware compatability section, you should be able to find any needed info there. Don't worry if you see lines you don't recognise yet, all will become clear with time!!
6. yes it is apm that you need (if acpi doesn't do it for you!)
ACPI stands for "Advanced Configuration and Power Interface". It is not the same as APM, but they both do a lot of the same things. It is mostly compatible with APM, but not entirely:
ACPI evolves the existing collection of power management BIOS code, Advanced Power Management (APM) application programming interfaces (APIs, PNPBIOS APIs, Multiprocessor Specification (MPS) tables and so on into a well-defined power management and configuration interface specification.
The specification enables new power management technology to evolve independently in operating systems and hardware while ensuring that they continue to work together.
Thanks alot for all the help I really appreciate it. I have seen your posts on other threads and you seem to demonstrate a working mastery of the linux os and are always glad to help people. Thx very much. As for the specifics,
I tried lsmod but nothing other than the header info appeared, eg.
"Module Size Used By Not Tainted"
One thing I did notice was that when i commented out the eepro100 line in modules.conf the mkbootdisk error dissapeared. I think I will build a new kernel with eepro included and see if that helps (cant hurt). Also I will include APM/ACPI in the configuration and play around.
Once again thank you both for your posts, the help is much appreciated.
Will do. Right now Im looking at the /usr/src/linux-2.4.26/drivers/net dir. I notice that the eepro100 source and object files are contained within. I tried copying the object file to /lib/modules/2.4.26/kernel/drivers/net directory and added the entry to modules.dep but the system yelled at me saying that it couldnt find what kernel eepro was compiled for. So I was wondering if it is possible to compile the eepro100.c source file and place it in the corresponding modules dir, without recompiling the entire kernel? If so what would the gcc paramaters be? (Im getting closer, I can feel it )
Once again thank you motub for all your help as well as all other contributers
I've got most of the problems fixed (thx motub) but there are still some critical issues involving my kernel that I cant fix and they wont go away.
1) My ethernet card is not recognized. I have the 3com etherlink III card and i have configured the driver to first be part of the kernel which did not work, then be a module which also did not work. It almost seems that the kernel recognized that there card is there because it displays the message:
"Bringing up interface:
Determining IP information form eth.... failed, no link present, check cable?"
I know the cable is plugged in because the light on the NIC is lit. The card has worked on this linux box in the past
2) Every time I goto start the Red Hat hardware wizard pops up saying it could not find my printer. I enabled parallel port support and parallel printer support as part of the kernel in the config. I am completely lost with this one. Once again this printer has worked in the past on my linux machine.
3) Every time I goto shutdown I keep on getting the power down message but the system will not shutdown. This is even after I played around with the APM and ACPI options in the kernel config, many times. My linux box used to turn off on shutdown but it doesnt anymore.
4) When I start my machine automount starts up fine. But when I goto shutdown my machine automount yells at me saying that it fails to shutdown. I enabled the latest automount option in the kernel config so I have no idea why this is doing this
I went to the lilo boot promt by clicking "ctrl-x" at the boot screen I typed in "linux apm=off acpi=off" to see if the system would power down upon shutdown. After the system booted up I issued a "shutdown -h now" and while the system did not turn off as I hoped the automount shutsdown properly.
?????can anyone please explain what the heck is going on????
First off I want to say I feel a bit dumb. The reason nothing changed between builds was that I forgot to add the new kernel to lilo, so I was booting the old. Anyways...
I fixed problem 2, this was done by enabling the follow options in the kernel config:
Under the Parallel port support menu:
"Parallel port support"
"Multiple IO cards (parallel and serial)"
"Support for PCMCIA management for PC-style ports"
"Support foreign hardware"
"IEEE 1284 transfer modes"
Under Character devices menu: (im only going to list ones pertaining to this situation):
"Parallel printer support"
"Support for console on line printer"
"Support for user-space parallel port device drivers"
Im not sure if all these are necessary but the printer works now (at least as good as it used to ..... damn CUPS )
I am also getting closer to solving my problem #1. When I configured the 3c509 driver (etherlink iii driver) as a module the card started showing up on the system. I issued and ifconfig and there it was. But for some reason I cannot connect to net. When system starts up, the startup line says":
"Determining ip for eth0 .... failed". Note it did not say to check cable.
Anyways i tried an "ifconfig eth0 down" then a "ifconfig eth0 up" and got no error messages but the card still cant connect. The driver is listed when i issue lsmod and there is an entry in modules.conf for the driver. I got no idea what to do now.....
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
In reply to your 11th post (the one about the boot options in LILO and the auto shutdown), ACPI is the thing that lets you do that auto shutdown (along with battery power statistics, temperature readings, etc.). Try running it with the option acpi=on, then trying shutdown.