Re: compiling the kernel

2003-01-09 Thread Daniel Callahan
I've written a Mini-HOWTO on compiling the kernel:
http://www.eclectic-cheval.net/linux/kr-mhowto.txt

I've posted it here for two reasons:
1) In case it will help, and
2) To get suggestions from those who know more than I do.

It's licensed under the FDL, so hack away.

Daniel.

-- 
"Bash forehead on any key to continue..."
t-shirts still available for $15
Free shipping within the continental U.S.
Call (316) 204-1700 to order or email me for details

"Success doesn't compile itself and arrive as a binary pre-packaged for your 
OS on a free CD that's been mailed to you by God.  Unless you do the work, 
you don't get it."

6,000+ ebooks free at http://www.gutenberg.net



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: compiling the kernel

2003-01-07 Thread Craig Cameron
Thanks.  After installing about 6 other dependency modules, I finally got
the kernel source installed.  

Now I can run make.

Thanks again.

-Original Message-
From: Michael Schwendt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 12:52 PM
To: [EMAIL PROTECTED]
Subject: Re: compiling the kernel


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 7 Jan 2003 12:01:34 -0700, Craig Cameron wrote:

> Can somebody give me a hand with compiling my kernel.  I run make
> config, and I get an error which essentially says "no rule for
> config". 

Where the heck did you run that command? ;) You must install the
kernel-source i386.rpm and then go into /usr/src/linux-2.4 for
kernel configuration and compilation. It's there where the
command would work.

- -- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Gy/T0iMVcrivHFQRAh9FAJ9WhK2mg97QIJGDm5HbdGqNMjDkSQCcDw1X
OJEQ01lsFVXi6n+WRysW4Y0=
=0XVO
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: compiling the kernel

2003-01-07 Thread Daniel Callahan
On Tuesday 07 January 2003 13:01, Craig Cameron wrote:
> Can somebody give me a hand with compiling my kernel.  I run make config,
> and I get an error which essentially says "no rule for config".  I did a
> custom install, and only installed networking and DNS & BIND.  I have a
> feeling I have to install some developer tools.  I tried to install the
> MAKEDEV.RPM, but it says it's already installed, along with the
> other make RPM.

Make sure you're root (no offense -- I mention this because this is still on 
my Top 10 Dumb Error List), and try:

make menuconfig (in a terminal)
make xconfig (only in Xwindows)

You will need the developer tools, but RH will add those if you install the 
Kernel Hacking option in setup.

Hope that helps!

-- 
Daniel Callahan
CIO, Castle Computer Consultants, Inc.
(316) 304-7212

"Success doesn't compile itself and arrive as a binary pre-packaged for your 
OS on a free CD that's been mailed to you by God.  Unless you do the work, 
you don't get it."

6,000+ ebooks free at http://www.gutenberg.net



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: compiling the kernel

2003-01-07 Thread Craig Cameron
I did try make menuconfig, but had the same result. 

What is the RPM for Kernal hacking?

-Original Message-
From: Daniel Callahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 12:19 PM
To: [EMAIL PROTECTED]
Subject: Re: compiling the kernel


On Tuesday 07 January 2003 13:01, Craig Cameron wrote:
> Can somebody give me a hand with compiling my kernel.  I run make config,
> and I get an error which essentially says "no rule for config".  I did a
> custom install, and only installed networking and DNS & BIND.  I have a
> feeling I have to install some developer tools.  I tried to install the
> MAKEDEV.RPM, but it says it's already installed, along with the
> other make RPM.

Make sure you're root (no offense -- I mention this because this is still on

my Top 10 Dumb Error List), and try:

make menuconfig (in a terminal)
make xconfig (only in Xwindows)

You will need the developer tools, but RH will add those if you install the 
Kernel Hacking option in setup.

Hope that helps!

-- 
Daniel Callahan
CIO, Castle Computer Consultants, Inc.
(316) 304-7212

"Success doesn't compile itself and arrive as a binary pre-packaged for your

OS on a free CD that's been mailed to you by God.  Unless you do the work, 
you don't get it."

6,000+ ebooks free at http://www.gutenberg.net



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: compiling the kernel

2003-01-07 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 7 Jan 2003 12:01:34 -0700, Craig Cameron wrote:

> Can somebody give me a hand with compiling my kernel.  I run make
> config, and I get an error which essentially says "no rule for
> config". 

Where the heck did you run that command? ;) You must install the
kernel-source i386.rpm and then go into /usr/src/linux-2.4 for
kernel configuration and compilation. It's there where the
command would work.

- -- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Gy/T0iMVcrivHFQRAh9FAJ9WhK2mg97QIJGDm5HbdGqNMjDkSQCcDw1X
OJEQ01lsFVXi6n+WRysW4Y0=
=0XVO
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: compiling the kernel

2003-01-07 Thread Craig Cameron
I have nothing under /src/linux

No files or directory's.  I really think I need to add an RPM.

Thanks.

-Original Message-
From: ABrady [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 12:25 PM
To: [EMAIL PROTECTED]
Subject: Re: compiling the kernel


On Tue, 7 Jan 2003 12:01:34 -0700
Craig Cameron <[EMAIL PROTECTED]> wrote:

> Can somebody give me a hand with compiling my kernel.  I run make
> config, and I get an error which essentially says "no rule for
> config".  I did a custom install, and only installed networking and
> DNS & BIND.  I have a feeling I have to install some developer tools. 
> I tried to install the MAKEDEV.RPM, but it says it's already
> installed, along with the other make RPM.
> 
> I am a newbie, so any help is appreciated.

Normally it's 'make xconfig" or "make menuconfig" for kernels. Sice you
installed minimal, I'd think 'make menuconfig' would suffice.

If you have the Redhat kernel-source rpm installed, and if you don't
want to start from scratch, there's one already started in
/usr/src/linux-/configs for whatever architecture you're using.
It can help a lot for getting started.

Basically, you copy the appropriate one to the top level of the source
tree, rename it as .config, 'make oldconfig' then run menuconfig. Such
as (this is a Rawhide kernel that you likely won't have):

cd /usr/src/linux-2.4.20-0.pp.20
cp configs/kernel-2.4.20-athlon.config ./.config
make oldconfig
make menuconfig

Then you set whatever options you want, get rid of things, etc. Beats
having to do it all from scratch (usually).

Things are different if you are using the tarball however.

-- 
Me? A skeptic? Can you prove it?



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: compiling the kernel

2003-01-07 Thread ABrady
On Tue, 7 Jan 2003 12:01:34 -0700
Craig Cameron <[EMAIL PROTECTED]> wrote:

> Can somebody give me a hand with compiling my kernel.  I run make
> config, and I get an error which essentially says "no rule for
> config".  I did a custom install, and only installed networking and
> DNS & BIND.  I have a feeling I have to install some developer tools. 
> I tried to install the MAKEDEV.RPM, but it says it's already
> installed, along with the other make RPM.
> 
> I am a newbie, so any help is appreciated.

Normally it's 'make xconfig" or "make menuconfig" for kernels. Sice you
installed minimal, I'd think 'make menuconfig' would suffice.

If you have the Redhat kernel-source rpm installed, and if you don't
want to start from scratch, there's one already started in
/usr/src/linux-/configs for whatever architecture you're using.
It can help a lot for getting started.

Basically, you copy the appropriate one to the top level of the source
tree, rename it as .config, 'make oldconfig' then run menuconfig. Such
as (this is a Rawhide kernel that you likely won't have):

cd /usr/src/linux-2.4.20-0.pp.20
cp configs/kernel-2.4.20-athlon.config ./.config
make oldconfig
make menuconfig

Then you set whatever options you want, get rid of things, etc. Beats
having to do it all from scratch (usually).

Things are different if you are using the tarball however.

-- 
Me? A skeptic? Can you prove it?



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Cant connect to HTTPS after re-compiling the kernel

2002-11-13 Thread Silkk
Hello,


Do you know how come i cant connect to HTTPS sites after re-compiling my kernel to
2.4.19 and i un-installed ipchains...
rpm -q ipchains
Casue im going to use iptables?But i have not put in any rules. It was working
before i re-compiled the kernel? Any ideas what could cause this? Im usuing Mozilla 1.1
Browser i also tryed it with netscape and still cant connect to websites HTTPS...
RedHat 7.3
2.4.19 Kernel

Kernel 2.4.18 is the kernel that it works with?  Any ideeas


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Cant connect to HTTPS after re-compiling the kernel

2002-11-12 Thread Silkk
Hey,

Do you know how come i cant connect to HTTPS sites after re-compiling my kernel to
2.4.19 and i un-installed ipchains...casue im going to use iptables? It was working
before i re-compiled the kernel? Any ideas what could cause this? Im usuing Mozilla 1.1
Browser i also tryed it with netscape and still cant connect to websites...
RedHat 7.3
2.4.19 Kernel




__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: compiling the kernel to recognize ntfs

2002-09-08 Thread Ricardo Mostalac

So..., I recompile the kernel with NTFS suport, and
copy to /boot, I modify grub.conf in /boot/grub to
select the kernel to boot, but when select the kernel
with NTFS suport the system freezing when the red hat
7.3 is begin to load..., then I have to rebooting the
machine and select the kernel unmodifing to enter, but
without NTFS suport, what is wrong with this
procedure?

 --- Ricardo Mostalac <[EMAIL PROTECTED]> escribió:
> Hello friends, I want to recompile my kernel to
> recognize ntfs (in the kernel or as a module), but,
> anyone can tell me his experience doing this?
> 
> My kernel is 2.4.18-3 and my red hat is 7.3
> 
> =
> Saludos desde México
> 
> RAML
> 
>
_
> Do You Yahoo!?
> Información de Estados Unidos y América Latina, en
> Yahoo! Noticias.
> Visítanos en http://noticias.espanol.yahoo.com
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe
>
mailto:[EMAIL PROTECTED]?subject=unsubscribe
>
https://listman.redhat.com/mailman/listinfo/redhat-list 

=
Saludos desde México

RAML

_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: compiling the kernel

2001-03-27 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-


>> > Well! anyone would think that instructions for compiling the kernel would be
>> > on the kernel.org site . But alas no.
>> >
>> > Can anyone tell me where to get this info from.

Actually, the kernel docs (which you get when you install the
kernel-doc package) have everything you'll need.  Have you looked
there?

- -d

- -- 
David Talkington
Prairienet
[EMAIL PROTECTED]
217-244-1962

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBOsDPTL1ZYOtSwT+tAQE6HggAuLyqPUFJF+WPyet+WvWQXam8G+q8uVmR
mZGk8tocpNs+pQT1olSUEPZBWU5rvF9ywAsIV+CLkwOi8TPOxIlNFU9fjDumJA+9
C/IjVI2CZMex+POos0sgPOet0FlhYb2hhT21geAd1t6WIl2OTrRCdX/vFMBRSoDe
nBElxe/Fi7Qrqlz+sTDgCybn4f2ykdBWUHS2unqw4z7A6D5I+06YEtxumUR+VTL9
gfcJM5Zw9NdikeZfPyMJZxEDwgE10bNo9PlOq6vVsrZ8YXgk/1Y0T9hO1CGdoIaH
eBZqx5qM94VBZQUwDPuAvxRzI4z/8JWZZivPjH2yfZFsnJim5HEiEQ==
=PZre
-END PGP SIGNATURE-




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: compiling the kernel

2001-03-27 Thread Andrew So Hing-pong

Stuart

Why don't try http://www.linuxdoc.org. In here, you can find a detail 
how-to document for compliling the linux kernel.

Regards,
Andrew So Hing-pong

Hidong Kim wrote:
> 
> http://www.freeos.com/articles/2589/2/1-3/
> 
> among many others found from a google search on "compiling the linux
> kernel".  Good luck,
> 
> Stuart Clark wrote:
> >
> > Well! anyone would think that instructions for compiling the kernel would be
> > on the kernel.org site . But alas no.
> >
> > Can anyone tell me where to get this info from.
> > Regards
> > Stu
> >
> > ___
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: compiling the kernel

2001-03-26 Thread Hidong Kim

http://www.freeos.com/articles/2589/2/1-3/


among many others found from a google search on "compiling the linux
kernel".  Good luck,




Stuart Clark wrote:
> 
> Well! anyone would think that instructions for compiling the kernel would be
> on the kernel.org site . But alas no.
> 
> Can anyone tell me where to get this info from.
> Regards
> Stu
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Compiling the Kernel

2000-02-14 Thread Frank Carreiro

Ok.. I downloaded the patches...  

This is going to sound dumb but how do I install them :DOk... I feel
like a newbie again ::grinz::


BTW, I also tried compiling the latest egcs source (1.1.2 I think).  I'm
getting a signal 11 error after  I think 70% + complete with the build
(make bootstrap).  No issues with the config. Looks good.

I read the FAQ on signal 11 errors.  Is there perhaps a list of software
that I should have upgraded prior to compiling egcs?

I realize that it could be hardware related (the FAQ suggested this). 
I'm going over everything to rule that out.

Thx for the help!

Frank

www.xmission.com/~dmacleod


Bernhard Rosenkraenzer wrote:
> 
> On Fri, 11 Feb 2000, Frank Carreiro wrote:
> 
> > sbni.c:1375: Invalid `asm' statement:
> > sbni.c:1375: fixed or forbidden register 1 (sx) was spilled for class
> > DREG.
> 
> You're trying to compile this kernel with gcc 2.95.x.
> Either get the gcc 2.95.x kernel patch
> (http://people.redhat.com/bero/gcc295/) or use egcs 1.1.x/gcc 2.7.x/gcc
> 2.8.x to compile this kernel.
> 
> LLaP
> bero
> 
> --
> The first time Microsoft makes something that doesn't suck is when they
> start making vacuum cleaners.

-- 

This is Linux Country. On a quiet night, you can hear Windows NT reboot.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: Compiling the Kernel

2000-02-11 Thread Bernhard Rosenkraenzer

On Fri, 11 Feb 2000, Frank Carreiro wrote:

> sbni.c:1375: Invalid `asm' statement:
> sbni.c:1375: fixed or forbidden register 1 (sx) was spilled for class
> DREG.

You're trying to compile this kernel with gcc 2.95.x.
Either get the gcc 2.95.x kernel patch
(http://people.redhat.com/bero/gcc295/) or use egcs 1.1.x/gcc 2.7.x/gcc
2.8.x to compile this kernel.

LLaP
bero

-- 
The first time Microsoft makes something that doesn't suck is when they
start making vacuum cleaners.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.