LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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


Reply
  Search this Thread
Old 02-16-2004, 09:15 PM   #16
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30

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.

--Rounan
 
Old 02-16-2004, 11:10 PM   #17
noyz
Member
 
Registered: Feb 2004
Distribution: mandrake 9.2
Posts: 55

Original Poster
Rep: Reputation: 15
i get kernel source from http://rpmfind.net/linux/RPM/mandrake/9.2/KByName.html , which one i should download ?

- 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)

Last edited by noyz; 02-16-2004 at 11:43 PM.
 
Old 02-17-2004, 07:37 AM   #18
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
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.

--Rounan
 
Old 02-17-2004, 09:56 AM   #19
codino
LQ Newbie
 
Registered: Feb 2004
Location: Dubai
Distribution: Manrake 9.2
Posts: 9

Rep: Reputation: 0
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
 
Old 02-17-2004, 04:41 PM   #20
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
glad to see it works, codino.
Don't be shy asking questions, most of us were newbies some days (years, centuries) ago.
 
Old 02-17-2004, 06:40 PM   #21
noyz
Member
 
Registered: Feb 2004
Distribution: mandrake 9.2
Posts: 55

Original Poster
Rep: Reputation: 15
@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.
 
Old 02-17-2004, 07:29 PM   #22
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
I really suggest you read the kernel howto:
http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO.html

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.

Give it a go!

--Rounan
 
Old 02-18-2004, 10:30 PM   #23
noyz
Member
 
Registered: Feb 2004
Distribution: mandrake 9.2
Posts: 55

Original Poster
Rep: Reputation: 15
here i'm back

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)
 
Old 02-19-2004, 08:01 AM   #24
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
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.

--Rounan
 
Old 02-19-2004, 06:29 PM   #25
noyz
Member
 
Registered: Feb 2004
Distribution: mandrake 9.2
Posts: 55

Original Poster
Rep: Reputation: 15
still searching for a utility package call fdutils this will enable the disk to have 1.7MB space can i tell me where i get this one ?

can u mention me, what other file (program) i need to back up before i do kernel upgrade (compiling).

such as lilo.cfg, etc samba .cfg? what else bro
 
Old 02-20-2004, 08:55 AM   #26
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
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.

--Rounan
 
Old 02-21-2004, 02:11 AM   #27
noyz
Member
 
Registered: Feb 2004
Distribution: mandrake 9.2
Posts: 55

Original Poster
Rep: Reputation: 15
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
 
Old 02-22-2004, 09:12 AM   #28
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
You need to install ncurses-devel.
and probably a bunch of other stuff - it'll tell you what it needs, then you have to go out and find it.
 
Old 02-24-2004, 06:26 AM   #29
noyz
Member
 
Registered: Feb 2004
Distribution: mandrake 9.2
Posts: 55

Original Poster
Rep: Reputation: 15
ahhhhh finnally i've overcome the problem.
Got libncurses-devel file. install kernel-source file.
modem driver, and BAM connected to the internet.

Thanks bro for assist me from the beginning

Now i try linux networking. My office using windoze mach so i try to using my tux as client. So i try to learn samba networking now.

In ur opinion where is good starting point to learn samba networking ?
Such as : reference, and so on.
 
Old 02-24-2004, 07:55 AM   #30
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
google:
samba howto
 
  


Reply



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
Mandrake 10.1 CE on ACER TM 292LCi motovoi Linux - Laptop and Netbook 2 10-26-2005 12:53 AM
Acer 1520 network problem ( newbie) martin_s_b Linux - Networking 1 05-29-2005 09:10 PM
Acer Travelmate 800 and Mandrake 10.1 hr15 Linux - Laptop and Netbook 1 09-30-2004 06:13 AM
mandrake 10 on an Acer laptop phyllis Mandriva 2 05-14-2004 11:07 PM
Mandrake 9.X and Acer Aspire 1603-LM Djou Linux - Laptop and Netbook 3 09-16-2003 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:39 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
Open Source Consulting | Domain Registration