Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Being the person that I am I can't leave anything alone, I just HAD to recompile my kernel. using 2.4.22
Following the 'newbies guide to recompiling kernel' on this board it seemd to go well however when it came to rebooting my normal option for Mandrake 9.1 wouldn't start, it would just show a black screen, but the HD would be active. Using the recovery modes I could get into a command prompt but X wouldn't start.
I'm 80% certain this is because I didn't include some neccesary parts of the Kernel during compile.
Also I noticed when I booted the computer it complained that it couldn't find my sound card modules and a few others. While I was setting up the kernel I never saw an option for my sound card and presumed that there would be a module in a folder somewhere that would continue to be used. Is there a way to compile existing modules you have on your system into the kernel? For instance I would like it if I could compile the Lirc serial module into my kernel.
So basically all I want to know is what do I need to include in my kernel to get an operable system, from the recovery prompt I can recompile again so it shouldn't be a problem.
My system:
Athlon XP 2000+
Nvidia TNT2-M64
Seagate Barracuda 40GB HD
Liteon CD-ROM
Via 82cxxx onboard audio.
The most likely candidate for a failing kernel is the processor type. If this is set incorrectly, then the kernel will not work. Make sure that it is set correctly. Your old kernel modules can't be used directly, but must be compiled against the new kernel source. If the CPU type is not to blame, then check all the drivers you have compiled in. One of them may have a bug.
The processor type was set correctly. The kernel does work, albeit only in 'safe' mode or whatever.
I think the problem is more to do with me missing out something really important. I'm at college now, but I'll have another crack at it when I get home. I compiled at 2 in the morning so I probably made an obvious mistake somewhere.
How can I compile existing modules against existing source? Is this basically just doing the configure;make;make install with the .tar.gz file of the drivers I downloaded?
Sorry I just realised that I posted this is hardware, sorry!!
Anyway. I didn't compile loopback as either a module or into the kernel so when i came ro recompile again the /sbin/mkinit (or something) command complained and wouldnt work.
A swift (albeit accidental) rm -rf / did the trick.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.