Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
What is in /boot is a kernel image, not a kernel header.
What you're looking for is a kernel header RPM.
Do a google search for:
kernel-header-2.4.22-10mdk.rpm
Or look on your CD for it. But you wnat a -RPM- that's going to install the kernel header files. which are source code to tell the modem driver what kernel you're using and how to interact with it.
Make: gcc: command not found
means you don't have the C compiler installed. That's another RPM you need, this one called "gcc".
http://freshrpms.net/ has a very good selection of RPMs, if you can't find official ones on your CD. You NEED the right kernel header file, though - don't install anything but the RPM that matches your kernel. you might also try apt for RPM, which is linked off that site. Might make dependancies easier for you.
- kernel-source-2.4.22-10mdk
The source code for the Linux kernel , or
-kernel-2.4.22.10mdk-1-1mdk
The Linux kernel (the core of the Linux operating system).
and so many kernel listing there but i found just only 2 which seem likely same as mine.
and about the gcc compiler, do you know the name of the compiler ? which one on the list
gcc-3.3.1-2mdk GNU Compiler Collection
gcc-3.3.1-2mdk GNU Compiler Collection
gcc-c++-3.3.1-2mdk C++ support for gcc
gcc-colorgcc-3.3.1-2mdk GCC output colorizer
gcc-cpp-3.3.1-2mdk The C Preprocessor
gcc-doc-3.3.1-2mdk GCC documentation
gcc-g77-3.3.1-2mdk Fortran 77 support for gcc
gcc-gnat-3.3.1-2mdk Ada 95 support for gcc
gcc-gpc-3.3.1-2mdk Pascal support for gcc
gcc-java-3.3.1-2mdk Java support for gcc
gcc-objc-3.3.1-2mdk Objective C support for gcc
gcc-doc-pdf-3.3.1-2mdk GCC documentation linux/i586
gcc2.96-2.96-0.83mdk Various compilers (C, C++, Objective-C, ...)
gcc2.96-2.96-0.83mdk Various compilers (C, C++, Objective-C, ...)
gcc2.96-c++-2.96-0.83mdk C++ support for gcc
gcc2.96-cpp-2.96-0.83mdk The C Preprocessor
and btw, thanks alot for helping me out till this far i really appciate it bro
n btw about the APTget or URPMI, i cant do that coz i cant connect to the internet using linux (modem not functional yet)
If you install the kernel-source, that'll do.
headers are a subset of the source, so that you can do things like compile drivers without downloading the entire source. but if all you can find is the source, go for it.
Install the first 6 gcc RPMs you listed. Well, actually, the first two seem to be the same thing. So one of those, then the next 5.
You might also want to install:
gcc-objc-3.3.1-2mdk Objective C support for gcc
I'm not sure what objective C is, exactly, but it can't hurt.
Thanx Rounaan and zorba4, I found it under /var/www and the file is index.shtml.. and sorry for posting this kind of questions in this non related thread, it's my first time to deal with forums :P i am a complete newbie
thnx
@Rounan :
bro i've downloaded the kernel source (kernel-source-2.4.22-10md.rpm).
so i have to installed it to /usr/src/2.4.22-10mdk/ directory, or linux installed there by default?
and compiling makefile from the modem driver again right ?
btw i found /lib/modules/kernel/2.4.22-10mdk/ direcotry in my mandrake system is that the linux kernel directory or just a module ?
and after i installing the kernel source will i have to start it again from scracth ? ( i mean i have to fix the sound problem, installing again the program i've installed previously) or the kernel source i'm going to installing just add some new file n features to my mandrake system ?
thanks
ps : i've installed the 6 gcc compiler u mention be4.
You DON'T necessarily want to do what it says, you just need to understand what a kernel is, what it isn't, and what dealing with it means.
You've downloaded the source code for the linux kernel. that's it, just some source code that sits in the traditional spot you put the source code for linux kernels: usr/src/linux (there's probably a symlink from /usr/src/linux to /usr/src/2.4.22-10mdk)
Just downloading the source odesn't change anything - compiling that source, and installing the result (which is what woud go in /boot - not the source, the kernel image the source compiles down to) will change your system, and then yes you'd have to "start from scratch". But not quite because you know how to fix things.
/lib/modules is where kernel modules live - so that directory you mentioned is where all your modules are, not the kernel itself.
From here, compiling the modem should work, since the driver can look at the kernel source, and figure out how to interface with your kernel - that's why it was important that you install the headers/source for YOUR VERSION. otherwise, things get confused and the module wouldn't work.
hmm after reading about how to install n compiling kernel....
i think i should make prevention action such as :
making boot disk (coz i dunt have one, since i want a doot disk configure with my lilo configuration. still use windoze )
back up /home directory like my documents, etc (i'm still affraid of taking the risk of losin my whole doc hehehe....)
but there is a problem why couldn't i make a boot disk using DrakeFloppy (mandrake KDE floppy bootdisk maker) ??? Maybe it a bit diff since u're using Debian. It said error not enough disk space. Should i fist format it using linux ext file sys (coz m blank disk format by windoze file system)
Yes. need to format it first.
It's also possible that the kernel is too big to fit on a floppy. This is likely true of a stock kernel, since they're compiled to work anywhere.
This depends on if you're upgrading to a new kernel series (2.6), or sticking with the 2.4 kernel.
I'd recommend 2.4 until you get your feet a little more - took me the better part of a month and 2 reinstalls to understand 2.6 and the transition to it. There's much better documentation out there now, but it'll still be a feat.
Kernel compile won't change any config files. What it will change is modules, and if you're compiling the same version, it'll overwrite old ones and make your previous kernel useless. To avoid this, mv /lib/modules/<kernel version> /lib/modules/<kernel version>.old
This should be only within the same subset - if you upgrade from 2.4.22 to 2.4.25 (latest stable), even this shouldn't be a problem.
A caveat: read EVERYTHING you can about your hardware before trying to compile a kernel - it'll save you a million annoying little problems down the road. Like not having sound. or networking. or DMA. or a machine that boots.
nope i stick with my old kernel, coz i still think i dont have much knowledge to upgrade to newer kernel.
But i still make a backup lilol.cfg and /modules/kernel like what u said
but there's a new problem when i try to install the kernel source,
" failed dependencies :
ncurses-devel rs needed by <kernel source file> "
whats next hehehehe
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.