Skip to contentSkip to conversation

compiling kernel

DISCUSSION Miguel González Castaños 3 participants 11 messages Oct 6, 2003 – Oct 10, 2003

lore
Share & tools
lore
#0 lore raw

dear all,

I have a 3com NIC card configured under RedHat 7.3. The default kernel
recognizes perfectly the NIC card using the 3c515 driver.

I am trying to compile the kernel 2.4.22 and it doesnt work. I have
looked around on the Internet and I have read that I need to use ISA PnP. Does I just need to activate ISA PnP support in the kernel or I have to do something else?

Many thanks

Miguel

#1 lore raw

on "10-6-2003" "Miguel González Castaños" writ:

: I need to use ISA PnP.

... ciao:

i build with 'isa pnp' enabled on everything, and have no use for it.
i think enabling it an okay thing to do.

being a little more specific as to 'where' you see a failure, would
help. for example, what do you get with 'ifconfig' , or one of the 'if-up' scripts ...

Signature · 7 lines
... i'm a man, but i can change,
    if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

Sorry for not being more precise...I meant that although with ifconfig using the default kernel I got the interface up,
using the 2.4.22 kernel the network interface is down. I havent tried anything else than doing a /etc/init.d/network restart.

HTH Regards,

Miguel

terry white ha escrito:

Quoted 13 lines

on "10-6-2003" "Miguel González Castaños" writ:

: I need to use ISA PnP.

... ciao:

i build with 'isa pnp' enabled on everything, and have no use for it.
i think enabling it an okay thing to do.

being a little more specific as to 'where' you see a failure, would
help. for example, what do you get with 'ifconfig' , or one of the 'if-up' scripts ...

Quoted 8 lines

--
... i'm a man, but i can change,
if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--

Un saludo,

Miguel

_______________________________________________________________________

Control en el Entorno Móvil
Telefónica I+D
Parque Tecnológico de Boecillo, parcela 118
47151 Boecillo (Valladolid)

Tel: +34 983 367957
Fax: +34 983 367564

E-mail: [email protected] Web: http://www.tid.es
_______________________________________________________________________

"Si la libertad significa algo, será sobre todo el derecho a decirle a la gente aquello que no quieren oir". George Orwell

_______________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

on "10-6-2003" "Miguel González Castaños" writ:

: I havent tried anything else than doing a /etc/init.d/network restart.

... i take that to mean, you rebooted into the '*.22' kernel, and then a restart. which is a starting place.

as i see it, there are two considerations here. the new kernel, and
its interface with the 3comm card.

when a build a kernel, i like to compare the previous kernel's
'.config', with the latest instance. glaring differences may point toward the problem. i'd suggest you check and see that you've enabled all the 'network' related features; seems to me, they've spread them around a bit ...

--
... i'm a man, but i can change,
if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

hello again,

When I said default kernel I meant the default kernel provided by RedHat in
the 7.3 version.
Is there any way to get that .config file in those rpm kernels?

Many thanks in advance

Miguel

terry white ha escrito:

Quoted 16 lines

on "10-6-2003" "Miguel González Castaños" writ:

: I havent tried anything else than doing a /etc/init.d/network restart.

... i take that to mean, you rebooted into the '*.22' kernel, and then a restart. which is a starting place.

as i see it, there are two considerations here. the new kernel, and
its interface with the 3comm card.

when a build a kernel, i like to compare the previous kernel's
'.config', with the latest instance. glaring differences may point toward the problem. i'd suggest you check and see that you've enabled all the 'network' related features; seems to me, they've spread them around a bit ...

Quoted 8 lines

--
... i'm a man, but i can change,
if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--

Un saludo,

Miguel

_______________________________________________________________________

Control en el Entorno Móvil
Telefónica I+D
Parque Tecnológico de Boecillo, parcela 118
47151 Boecillo (Valladolid)

Tel: +34 983 367957
Fax: +34 983 367564

E-mail: [email protected] Web: http://www.tid.es
_______________________________________________________________________

"Si la libertad significa algo, será sobre todo el derecho a decirle a la gente aquello que no quieren oir". George Orwell

_______________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw

on "10-7-2003" "Miguel González Castaños" writ:

... ciao:

: Is there any way to get that .config file in those rpm kernels?

on a default rpm install of the RH-8 kernal sources, there's a
directory called 'configs', that seems to comtain architecture centric templates for most installs ...

Signature · 7 lines
... i'm a man, but i can change,
    if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw
In reply to Miguel González Castaños

Its in your /boot directory. Look for a file called config-REDHAT-RELEASE-NUMBER where REDHAT-RELEASE-NUMBER is the uname -r of the RedHat kernel RPM. ie, if your running 2.4.20-20.9 like I am, look for /boot/config-2.4.20-20.9. This file is a part of the kernel RPM that you installed (in my case, kernel-2.4.20-20.9.i586.rpm).

Quoted 9 lines · Miguel González Castaños

hello again,

When I said default kernel I meant the default kernel provided by RedHat in
the 7.3 version.
Is there any way to get that .config file in those rpm kernels?

Many thanks in advance

Miguel

Signature · 9 lines
Kevin J. Cummings
[email protected]
[email protected]
[email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#7 lore raw

Just one question. This config file is changed after you boot the system and sets all the modules that should be used, or it is
always the same config file? How is that file changed?

Many thanks in advance

Miguel

"Kevin J. Cummings" ha escrito:

Quoted 15 lines

Its in your /boot directory. Look for a file called config-REDHAT-RELEASE-NUMBER where REDHAT-RELEASE-NUMBER is the uname -r of the RedHat kernel RPM. ie, if your running 2.4.20-20.9 like I am, look for /boot/config-2.4.20-20.9. This file is a part of the kernel RPM that you installed (in my case, kernel-2.4.20-20.9.i586.rpm).

Quoted 8 lines · Miguel González Castaños

hello again,

When I said default kernel I meant the default kernel provided by RedHat in
the 7.3 version.
Is there any way to get that .config file in those rpm kernels?

Many thanks in advance

Quoted 7 lines
Quoted 1 line

Miguel

--
Kevin J. Cummings
[email protected]
[email protected]
[email protected]

--

Un saludo,

Miguel

_______________________________________________________________________

Control en el Entorno Móvil
Telefónica I+D
Parque Tecnológico de Boecillo, parcela 118
47151 Boecillo (Valladolid)

Tel: +34 983 367957
Fax: +34 983 367564

E-mail: [email protected] Web: http://www.tid.es
_______________________________________________________________________

"Si la libertad significa algo, será sobre todo el derecho a decirle a la gente aquello que no quieren oir". George Orwell

_______________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw

This file is put in the /boot directory by RedHat. I suspect as a convenient place to store it, since you don't *have* to have the kernel sources installed. You can also find various RedHat configuration files in /usr/src/linux/configs if you installed the kernel-source RPM. Whichever pre-built configuration you wish to start with, it should be moved to: /usr/src/linux/.config in order to build an identically configured kernel as RedHat provides.

If you want to use it as a starting point for customizing your kernel,
copy it there, then run "make menuconfig" or "make xconfig" (and then "make depends") before building your new kernel (or modules).

Quoted 68 lines · Miguel González Castaños

Just one question. This config file is changed after you boot the system and sets all the modules that should be used, or it is
always the same config file? How is that file changed?

Many thanks in advance

Miguel

"Kevin J. Cummings" ha escrito:

Quoted 16 lines

Its in your /boot directory. Look for a file called config-REDHAT-RELEASE-NUMBER where REDHAT-RELEASE-NUMBER is the uname -r of the RedHat kernel RPM. ie, if your running 2.4.20-20.9 like I am, look for /boot/config-2.4.20-20.9. This file is a part of the kernel RPM that you installed (in my case, kernel-2.4.20-20.9.i586.rpm).

Quoted 8 lines · Miguel González Castaños

hello again,

When I said default kernel I meant the default kernel provided by RedHat in the 7.3 version.
Is there any way to get that .config file in those rpm kernels?

Many thanks in advance

Quoted 7 lines
Quoted 1 line

Miguel

--
Kevin J. Cummings
[email protected]
[email protected]
[email protected]

--

Un saludo,

Miguel

_______________________________________________________________________

Control en el Entorno Móvil
Telefónica I+D
Parque Tecnológico de Boecillo, parcela 118
47151 Boecillo (Valladolid)

Tel: +34 983 367957
Fax: +34 983 367564

E-mail: [email protected] Web: http://www.tid.es
_______________________________________________________________________

"Si la libertad significa algo, será sobre todo el derecho a decirle a la gente aquello que no quieren oir". George Orwell

_______________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 9 lines
Kevin J. Cummings
[email protected]
[email protected]
[email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#9 lore raw
In reply to Miguel González Castaños

on "10-9-2003" "Miguel González Castaños" writ:

: or it is always the same config file? How is that file changed?

... typically, the ./.config file in the kernel source tree is generated on the fly when a kernel configured. this happens when you invoke 'make menuconfig', or 'make xconfig' for the X gui (graphic user interface) ...

Signature · 7 lines
... i'm a man, but i can change,
    if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#10 lore raw

hello again,

I meant that if that .config file generated by the rpm kernel changes at
boot time. As Kevin has commented, I guess that It is the preconfigured .config file for the rpm kernel.

Many thanks

Miguel

terry white ha escrito:

Quoted 8 lines

on "10-9-2003" "Miguel González Castaños" writ:

: or it is always the same config file? How is that file changed?

... typically, the ./.config file in the kernel source tree is generated on the fly when a kernel configured. this happens when you invoke 'make menuconfig', or 'make xconfig' for the X gui (graphic user interface) ...

Quoted 8 lines

--
... i'm a man, but i can change,
if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--

Un saludo,

Miguel

_______________________________________________________________________

Control en el Entorno Móvil
Telefónica I+D
Parque Tecnológico de Boecillo, parcela 118
47151 Boecillo (Valladolid)

Tel: +34 983 367957
Fax: +34 983 367564

E-mail: [email protected] Web: http://www.tid.es
_______________________________________________________________________

"Si la libertad significa algo, será sobre todo el derecho a decirle a la gente aquello que no quieren oir". George Orwell

_______________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html