2006-01-13 12:09:35

by Michael D. Setzer II

[permalink] [raw]
Subject: Problem getting PCMCIA to compile in Kernel.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've tried to set the PCMCIA options to Y in the kernel build, but get a
message that something else is build as a modual, so these can not be
changed to y. I went to the .config file and replaced every =m to =y, and then
ran make. The kernel then was built with no problem, but it reset all these
option back to =m.

CONFIG_PCMCIA_AHA152X=m
CONFIG_PCMCIA_FDOMAIN=m
CONFIG_PCMCIA_NINJA_SCSI=m
CONFIG_PCMCIA_QLOGIC=m
CONFIG_PCMCIA_SYM53C500=m
CONFIG_I2C_STUB=m

I build kernels for G4L, and build everything directly into the kernel, but
these do not seem to work, and I don't have an ideal why, since everything
else is built in. So what am I missing. This is the 2.6.15 kernel.

Thanks.

+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:[email protected]
mailto:[email protected]
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
+----------------------------------------------------------+

http://setiathome.berkeley.edu
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)


BOINC Seti@Home Total Credits 264500.664176


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: http://community.wow.net/grt/qdpgp.html

iQA+AwUBQ8cL8SzGQcr/2AKZEQKFsACYrTbOYFUCiiXUp4gSHLMCM2ODNACg3QcP
nIbkp5rVOhFHrMIdspQA4AY=
=gLiv
-----END PGP SIGNATURE-----


2006-01-13 16:40:59

by Kalin KOZHUHAROV

[permalink] [raw]
Subject: Re: Problem getting PCMCIA to compile in Kernel.

Michael D. Setzer II wrote:
> I've tried to set the PCMCIA options to Y in the kernel build, but get a
> message that something else is build as a modual, so these can not be
> changed to y.

How did you do that?

Use `make menuconfig` to configure kernel.

> I went to the .config file and replaced every =m to =y, and then
> ran make. The kernel then was built with no problem, but it reset all these
> option back to =m.
>
> CONFIG_PCMCIA_AHA152X=m
> CONFIG_PCMCIA_FDOMAIN=m
> CONFIG_PCMCIA_NINJA_SCSI=m
> CONFIG_PCMCIA_QLOGIC=m
> CONFIG_PCMCIA_SYM53C500=m
> CONFIG_I2C_STUB=m
>
> I build kernels for G4L, and build everything directly into the kernel, but
> these do not seem to work, and I don't have an ideal why, since everything
> else is built in. So what am I missing. This is the 2.6.15 kernel.

If you play with .config directly, run a `make oldconfig` after that.
So, `make oldconfig && make && make` should always work.
If you tired that ant it did NOT, please post your .config file (not
compressed) here, or upload it to a website (somewhere).

Kalin.

--
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|

2006-01-13 17:33:17

by Michael D. Setzer II

[permalink] [raw]
Subject: Re: Problem getting PCMCIA to compile in Kernel.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14 Jan 2006 at 1:40, Kalin KOZHUHAROV wrote:

To: [email protected]
From: Kalin KOZHUHAROV <[email protected]>
Subject: Re: Problem getting PCMCIA to compile in Kernel.
Date sent: Sat, 14 Jan 2006 01:40:28 +0900

> Michael D. Setzer II wrote:
> > I've tried to set the PCMCIA options to Y in the kernel build, but get a
> > message that something else is build as a modual, so these can not be
> > changed to y.
>
> How did you do that?
>
> Use `make menuconfig` to configure kernel.
>
> > I went to the .config file and replaced every =m to =y, and then
> > ran make. The kernel then was built with no problem, but it reset all these
> > option back to =m.
> >
> > CONFIG_PCMCIA_AHA152X=m
> > CONFIG_PCMCIA_FDOMAIN=m
> > CONFIG_PCMCIA_NINJA_SCSI=m
> > CONFIG_PCMCIA_QLOGIC=m
> > CONFIG_PCMCIA_SYM53C500=m
> > CONFIG_I2C_STUB=m
> >
> > I build kernels for G4L, and build everything directly into the kernel, but
> > these do not seem to work, and I don't have an ideal why, since everything
> > else is built in. So what am I missing. This is the 2.6.15 kernel.
>
> If you play with .config directly, run a `make oldconfig` after that.
> So, `make oldconfig && make && make` should always work.
> If you tired that ant it did NOT, please post your .config file (not
> compressed) here, or upload it to a website (somewhere).

I ran the make oldconfig, then make menuconfig, and when I try to change
the settings, it gives this message.

This feature depends on another which has been configured as a module.
As a result, this feature will be built as a module.

I had manually edited the .config file, and changed all =m to =y, so there is
nothing in the file that has the module setting but these.

I placed a copy of the .config file at the link below.
http://www.guam.net/home/mikes/bzImagez.config

Only those items with the PCMCIA and I2C_STUB have the =m.

Thanks for the reply. I'm trying to make a kernel that will suppor the most
hardware, and avoid conflict.

>
> Kalin.
>
> --
> |[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
> +-> http://ThinRope.net/ <-+
> |[ ______________________ ]|
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>


+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:[email protected]
mailto:[email protected]
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
+----------------------------------------------------------+

http://setiathome.berkeley.edu
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)


BOINC Seti@Home Total Credits 264500.664176


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBQ8dXoyzGQcr/2AKZEQLA8gCfaxZfvwlTNSMkHkXIdrJq0OM/ia8AnAlT
5kUyXZofk9mXe+et5oyU/vqg
=qbg4
-----END PGP SIGNATURE-----

2006-01-13 19:13:24

by Kalin KOZHUHAROV

[permalink] [raw]
Subject: Re: Problem getting PCMCIA to compile in Kernel.

Michael D. Setzer II wrote:
> On 14 Jan 2006 at 1:40, Kalin KOZHUHAROV wrote:
>
>>>Michael D. Setzer II wrote:
>>>
>>>>I've tried to set the PCMCIA options to Y in the kernel build, but get a
>>>>message that something else is build as a modual, so these can not be
>>>>changed to y.
>>>
>>>How did you do that?
>>>
>>>Use `make menuconfig` to configure kernel.
>>>
>>>
>>>>I went to the .config file and replaced every =m to =y, and then
>>>>ran make. The kernel then was built with no problem, but it reset all these
>>>>option back to =m.
>>>>
>>>>CONFIG_PCMCIA_AHA152X=m
>>>>CONFIG_PCMCIA_FDOMAIN=m
>>>>CONFIG_PCMCIA_NINJA_SCSI=m
>>>>CONFIG_PCMCIA_QLOGIC=m
>>>>CONFIG_PCMCIA_SYM53C500=m
>>>>CONFIG_I2C_STUB=m
>>>>
>>>>I build kernels for G4L, and build everything directly into the kernel, but
>>>>these do not seem to work, and I don't have an ideal why, since everything
>>>>else is built in. So what am I missing. This is the 2.6.15 kernel.
>>>
>>>If you play with .config directly, run a `make oldconfig` after that.
>>>So, `make oldconfig && make && make` should always work.
>>>If you tired that ant it did NOT, please post your .config file (not
>>>compressed) here, or upload it to a website (somewhere).
>
>
> I ran the make oldconfig, then make menuconfig, and when I try to change
> the settings, it gives this message.
>
> This feature depends on another which has been configured as a module.
> As a result, this feature will be built as a module.
>
> I had manually edited the .config file, and changed all =m to =y, so there is
> nothing in the file that has the module setting but these.
>
> I placed a copy of the .config file at the link below.
> http://www.guam.net/home/mikes/bzImagez.config
>
> Only those items with the PCMCIA and I2C_STUB have the =m.
>
> Thanks for the reply. I'm trying to make a kernel that will suppor the most
> hardware, and avoid conflict.
>
>
Michael D. Setzer II wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 14 Jan 2006 at 1:40, Kalin KOZHUHAROV wrote:
>
> To: [email protected]
> From: Kalin KOZHUHAROV <[email protected]>
> Subject: Re: Problem getting PCMCIA to compile in Kernel.
> Date sent: Sat, 14 Jan 2006 01:40:28 +0900
>
>
>>Michael D. Setzer II wrote:
>>
>>>I've tried to set the PCMCIA options to Y in the kernel build, but get a
>>>message that something else is build as a modual, so these can not be
>>>changed to y.
>>
>>How did you do that?
>>
>>Use `make menuconfig` to configure kernel.
>>
>>
>>>I went to the .config file and replaced every =m to =y, and then
>>>ran make. The kernel then was built with no problem, but it reset all these
>>>option back to =m.
>>>
>>>CONFIG_PCMCIA_AHA152X=m
>>>CONFIG_PCMCIA_FDOMAIN=m
>>>CONFIG_PCMCIA_NINJA_SCSI=m
>>>CONFIG_PCMCIA_QLOGIC=m
>>>CONFIG_PCMCIA_SYM53C500=m
>>>CONFIG_I2C_STUB=m
>>>

Hmm, I did reproduce this:

$mkdir -p /var/kernels/src/linux-2.6.15 && cd /var/kernels/src/linux-2.6.15

$tar xjf /usr/portage-distfiles/linux-2.6.15.tar.bz2

$make allyesconfig

$ find . -name Kconfig|xargs egrep -h "depends on m | && m" -B2
config SOUND_WAVEFRONT
tristate "Full support for Turtle Beach WaveFront (Tropez Plus,
Tropez, Maui) synth/soundcards"
depends on SOUND_OSS && m && OBSOLETE_OSS_DRIVER
--
config HOSTESS_SV11
tristate "Comtrol Hostess SV-11 support"
depends on WAN && ISA && m && ISA_DMA_API
--
config COSA
tristate "COSA/SRP sync serial boards support"
depends on WAN && ISA && m && ISA_DMA_API
--
config DSCC4
tristate "Etinc PCISYNC serial board support"
depends on WAN && PCI && m
--
config SEALEVEL_4021
tristate "Sealevel Systems 4021 support"
depends on WAN && ISA && m && ISA_DMA_API
--
config NE2000
tristate "NE2000/NE1000 support"
depends on NET_ISA || (Q40 && m) || M32R
--
config HYSDN
tristate "Hypercope HYSDN cards (Champ, Ergo, Metro) support (module
only)"
depends on m && PROC_FS && PCI && BROKEN_ON_SMP
--
config ISDN_DIVAS_MAINT
tristate "DIVA Maint driver support"
depends on ISDN_DIVAS && m
--
config PCMCIA_AHA152X
tristate "Adaptec AHA152X PCMCIA support"
depends on m && !64BIT
--
config PCMCIA_NINJA_SCSI
tristate "NinjaSCSI-3 / NinjaSCSI-32Bi (16bit) PCMCIA support"
depends on m && !64BIT

So there are things that have to be build as modules??
Didn't know that...

>>>I build kernels for G4L, and build everything directly into the kernel, but
>>>these do not seem to work, and I don't have an ideal why, since everything
>>>else is built in. So what am I missing. This is the 2.6.15 kernel.
>>
>>If you play with .config directly, run a `make oldconfig` after that.
>>So, `make oldconfig && make && make` should always work.
>>If you tired that ant it did NOT, please post your .config file (not
>>compressed) here, or upload it to a website (somewhere).
>
>
> I ran the make oldconfig, then make menuconfig, and when I try to change
> the settings, it gives this message.
>
> This feature depends on another which has been configured as a module.
> As a result, this feature will be built as a module.
>
> I had manually edited the .config file, and changed all =m to =y, so there is
> nothing in the file that has the module setting but these.
>
> I placed a copy of the .config file at the link below.
> http://www.guam.net/home/mikes/bzImagez.config
>
> Only those items with the PCMCIA and I2C_STUB have the =m.
>
> Thanks for the reply. I'm trying to make a kernel that will suppor the most
> hardware, and avoid conflict.

You can try `make allyesconfig` but that will produce huge kernel.
Try better `make allmodconfig` and then manually edit some important stuff
like IDE to be built in. Or use initrd.

BTW, what is G4L ?

Kalin.

--
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|