Re: 2 bugs : etc/pcmcia/config and Configure (3.2.6 or older)

Nicolas Turro <[email protected]> Thu, 04 Dec 2003 11:00:17 +0100
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
David Hinds wrote:

>On Wed, Dec 03, 2003 at 07:41:54PM +0100, Nicolas Turro wrote:
>  
>
>>hi,
>>
>>I have 2 bugs to report :
>>
>>first :
>>When compiling pcmcia-cs on 2.4.23pre9 the Config script looks for 
>>CONFIG_NR_CPU in
>>the kernel Makefile instead of the .configure (i am using configure 
>>--srctree)
>>
>>       configcheck PCMCIA
>>       if qgrep "^ *SMP *= *1" $LINUX/Makefile ; then
>>           CONFIG_SMP=y
>>           eval `grep "^CONFIG_NR_CPUS=" $AUTOCONF`
>>       else
>>           configcheck SMP
>>       fi
>>    
>>
>
>Does this work?
>
>        if qgrep "^ *SMP *= *1" $LINUX/Makefile ; then
>            CONFIG_SMP=y
>        else
>            configcheck SMP
>            eval `grep "^CONFIG_NR_CPUS=" $AUTOCONF`
>        fi
>  
>
Yes, it does work !

>>If i uncoment the line
>>class "network" module "net/8390", "pcnet_cs"
>>in etc/pcmcia/config 3.2.6, everything works...
>>
>>So WHY is there a comment ?
>>    
>>
>
>The current cardmgr preferentially uses "modprobe" which is supposed
>to resolve all module dependencies on its own and is less fragile than
>maintaining module dependencies in the PCMCIA config file.  So it
>seems that this is broken on your system.
>  
>
Yes, you are right. My system is in fact an 'All purpose boot disk' and 
i put only
insmod in the imbeded filesystem. So your answer help me a lot. I'll try 
to insert
modprobe also.

>I already responded to your bug posting on Sourceforge.
>  
>

Many thanks for your quick response.

Nicolas




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/