[Click] PCMCIA-CS Package: RICOH BASED CARD SUPPORT

gaurav dawra openapproject at hotmail.com
Thu May 27 19:26:02 EDT 2004


Hi

I am trying to install the 'roofnet' from MIT into our systems . Roofnet 
uses click as a routing software and its two components click.o and 
proclikefs.o to run. And also hack some of its scrpits. The link provided by 
you earlier gave me an idea that there is no keyword MAX_DELAY_MS in counter 
flow. Well i have compiled the "click" with configure and giving the linux 
src directory and libpcap directory in the command line.

./configure --enable-grid --enable-local --enable-adaptive 
--with-linux=/usr/src/linux-2.4.20/ 
--with-pcap=/home/gauravdawra/libpcap-0.7.1/


FYI when i start the roofnet script it loads by itself modules click.o and 
proclikefs.o , which are required by it. But then click prints those erros 
on the screeen. So i guess that there went wrong while compiling the click. 
But as far i remember, it didn't print any error on screen.

I think my knowledge of click is not complete. Well the modules gets loaded 
as shown in lsmod.

[root at openap root]# lsmod
Module                  Size  Used by    Not tainted
via82cxxx_audio        21368   0  (autoclean)
uart401                 8036   0  (autoclean) [via82cxxx_audio]
sound                  71692   0  (autoclean) [via82cxxx_audio uart401]
click                2257272   0  (unused)
proclikefs              4144   3  [click]
hostap_cs              47092   2
hostap                102440   0  [hostap_cs]
ds                      8296   1  [hostap_cs]
i82365                 38240   1
pcmcia_core            45184   0  [hostap_cs ds i82365]
---------------------------------------------------------------------------------

Well i do not have any faint idea what is going wrong. If you need more 
information, please suggest me what else to include. So that you can able to 
suggest.

Any Hints and suggestion will be highly appreciated.

Gaurav




>From: Nikitas Liogkas <nikitas at CS.UCLA.EDU>
>To: gaurav dawra <openapproject at hotmail.com>
>Subject: Re: [Click] PCMCIA-CS Package: RICOH BASED CARD SUPPORT
>Date: Wed, 26 May 2004 06:38:22 -0700 (PDT)
>
>And this has something to do with Click how? Anyway , why don't you
>google for your error messages? For example I found this:
>http://lists.cfu.net/pipermail/cedarlug/2003-August/005984.html
>
>Good luck...
>
>nikitas
>
>On Fri, 14 May 2004, gaurav dawra wrote:
>
> > Hi
> >
> > I compiled hostap-0.0.4 and loaded these modules.
> >
> > /etc/init.d/pcmcia restart
> > PCIC module not defined in startup options!
> >
> > I recompiled the kernel and this message is coming. The CONFIG_PCMCIA is
> > enabled in the .config file of my kernel. So is that a problem.
> >
> > Here are the modules which i compiled and loaded using insmod:
> >
> > [root at openap modules]# lsmod
> > Module                  Size  Used by    Not tainted
> > hostap_cs              42312   0  (unused)
> > hostap                 90820   0  [hostap_cs]
> > hostap_crypt_wep      [root at openap pcmcia]# pwd
> > /lib/modules/2.4.20rn/pcmcia
> > [root at openap pcmcia]# ll
> > total 0Hi
> >
> > I compiled hostap-0.0.4 and loaded these modules.
> >
> > /etc/init.d/pcmcia restart
> > PCIC module not defined in startup options!
> >
> > I recompiled the kernel and this message is coming. The CONFIG_PCMCIA is
> > enabled in the .config file of my kernel. So is that a problem.
> >
> > Here are the modules which i compiled and loaded using insmod:
> >
> > [root at openap modules]# lsmod
> > Module                  Size  Used by    Not tainted
> > hostap_cs              42312   0  (unused)
> > hostap                 90820   0  [hostap_cs]
> > hostap_crypt_wep      [root at openap pcmcia]# pwd
> > /lib/modules/2.4.20rn/pcmcia
> > [root at openap pcmcia]# ll
> > total 0
> > lrwxrwxrwx    1 root     root           45 May 14 03:08 aironet4500_cs.o 
>->
> > ../kernel/drivers/net/pcmcia/aironet4500_cs.o
> > [root at openap pcmcia]#
> > [root at openap pcmcia]# pwd
> > /lib/modules/2.4.20rn/pcmcia
> > [root at openap pcmcia]# ll
> > total 0
> > lrwxrwxrwx    1 root     root           45 May 14 03:08 aironet4500_cs.o 
>->
> > ../kernel/drivers/net/pcmcia/aironet4500_cs.o
> > [root at openap pcmcia]#
> >   4236   0  (unused)
> > hostap_crypt            3024   0  [hostap hostap_crypt_wep]
> >
> > And also only these modules are being shown in lsmod command none other,
> > also in the usr/src/linux-2.4.20rn/driver/net/pcmcia/ there is i82365.o
> > module but when i do "insmod" on it , it prints this message on the 
>screen.
> >
> > "[root at openap pcmcia]# insmod i82365.o
> > i82365.o: couldn't find the kernel version the module was compiled for"
> >
> > I do not understand this as i just compiled my kernel using this source
> > only.
> >
> > When i try to start the pcmcia service( I forgot to mention i am using
> > 2.4.20 kernel of RED HAT)
> > /etc/init.d/pcmcia restart
> > PCIC module not defined in startup options!
> >
> > I tried to edit the /etc/sysconfig/pcmcia's PCIC option to i82365 , but 
>as
> > expected again gave me the same message when i tried to restart the 
>PCMCIA
> > service. Now i do not understand what is going wrong here. I believe i 
>do
> > not have the pcmcia-cs package installed successfully in my kernel.
> >
> > DO i have to recompile my kernel with CONFIG_PCMCIA as NOT SET. And then
> > download the pcmcia package from internet , if that is what i have to do
> > which package is stable and i shud download?
> >
> > Also how do i add the ds module in my kernel?, is there is some option 
>in
> > the configuration ".config" file that shud be enabled or disabled. Well 
>the
> > configuration file i am using has the PCMCIA SUPPORT SECTION loks like 
>this:
> >
> > # PCMCIA/CardBus support
> > #
> > CONFIG_PCMCIA=y
> > CONFIG_CARDBUS=y
> > # CONFIG_TCIC is not set
> > # CONFIG_I82092 is not set
> > CONFIG_I82365=y
> >
> > Well when i look into this directory all i find is this:
> >
> > [root at openap pcmcia]# pwd
> > /lib/modules/2.4.20rn/pcmcia
> > [root at openap pcmcia]# [root at openap pcmcia]# pwd
> > /lib/modules/2.4.20rn/pcmcia
> > [root at openap pcmcia]# ll
> > total 0
> > lrwxrwxrwx    1 root     root           45 May 14 03:08 aironet4500_cs.o 
>->
> > ../kernel/drivers/net/pcmcia/aironet4500_cs.o
> > [root at openap pcmcia]#
> > ll
> > total 0
> > lrwxrwxrwx    1 root     root           45 May 14 03:08 aironet4500_cs.o 
>->
> > ../kernel/drivers/net/pcmcia/aironet4500_cs.o
> > [root at openap pcmcia]#
> >
> > Now please suggest what i am doing wrong. I believe that even the pcmcia
> > package is not installed successfully in my kernel.
> >
> > here is also the last three most recent lines of my "dmesg" command.
> >
> > hostap_crypt: registered algorithm 'NULL'
> > hostap_crypt: registered algorithm 'WEP'
> > hostap_cs: 0.0.4 - 2003-07-27 (Jouni Malinen <jkmaline at cc.hut.fi>)
> >
> > [root at openap modules]#
> >
> > Thanx,
> >
> > Gaurav
> >
> >
> >
> >
> > lrwxrwxrwx    1 root     root           45 May 14 03:08 aironet4500_cs.o 
>->
> > ../kernel/drivers/net/pcmcia/aironet4500_cs.o
> > [root at openap pcmcia]#
> > [root at openap pcmcia]# pwd
> > /lib/modules/2.4.20rn/pcmcia
> > [root at openap pcmcia]# ll
> > total 0
> > lrwxrwxrwx    1 root     root           45 May 14 03:08 aironet4500_cs.o 
>->
> > ../kernel/drivers/net/pcmcia/aironet4500_cs.o
> > [root at openap pcmcia]#
> >   4236   0  (unused)
> > hostap_crypt            3024   0  [hostap hostap_crypt_wep]
> >
> > And also only these modules are being shown in lsmod command none other,
> > also in the usr/src/linux-2.4.20rn/driver/net/pcmcia/ there is i82365.o
> > module but when i do "insmod" on it , it prints this message on the 
>screen.
> >
> > "[root at openap pcmcia]# insmod i82365.o
> > i82365.o: couldn't find the kernel version the module was compiled for"
> >
> > I do not understand this as i just compiled my kernel using this source
> > only.
> >
> > When i try to start the pcmcia service( I forgot to mention i am using
> > 2.4.20 kernel of RED HAT)
> > /etc/init.d/pcmcia restart
> > PCIC module not defined in startup options!
> >
> > I tried to edit the /etc/sysconfig/pcmcia's PCIC option to i82365 , but 
>as
> > expected again gave me the same message when i tried to restart the 
>PCMCIA
> > service. Now i do not understand what is going wrong here. I believe i 
>do
> > not have the pcmcia-cs package installed successfully in my kernel.
> >
> > DO i have to recompile my kernel with CONFIG_PCMCIA as NOT SET. And then
> > download the pcmcia package from internet , if that is what i have to do
> > which package is stable and i shud download?
> >
> > Also how do i add the ds module in my kernel?, is there is some option 
>in
> > the configuration ".config" file that shud be enabled or disabled. Well 
>the
> > configuration file i am using has the PCMCIA SUPPORT SECTION loks like 
>this:
> >
> > # PCMCIA/CardBus support
> > #
> > CONFIG_PCMCIA=y
> > CONFIG_CARDBUS=y
> > # CONFIG_TCIC is not set
> > # CONFIG_I82092 is not set
> > CONFIG_I82365=y
> >
> > Well when i look into this directory all i find is this:
> >
> > [root at openap pcmcia]# pwd
> > /lib/modules/2.4.20rn/pcmcia
> > [root at openap pcmcia]# [root at openap pcmcia]# pwd
> > /lib/modules/2.4.20rn/pcmcia
> > [root at openap pcmcia]# ll
> > total 0
> > lrwxrwxrwx    1 root     root           45 May 14 03:08 aironet4500_cs.o 
>->
> > ../kernel/drivers/net/pcmcia/aironet4500_cs.o
> > [root at openap pcmcia]#
> > ll
> > total 0
> > lrwxrwxrwx    1 root     root           45 May 14 03:08 aironet4500_cs.o 
>->
> > ../kernel/drivers/net/pcmcia/aironet4500_cs.o
> > [root at openap pcmcia]#
> >
> > Now please suggest what i am doing wrong. I believe that even the pcmcia
> > package is not installed successfully in my kernel.
> >
> > here is also the last three most recent lines of my "dmesg" command.
> >
> > hostap_crypt: registered algorithm 'NULL'
> > hostap_crypt: registered algorithm 'WEP'
> > hostap_cs: 0.0.4 - 2003-07-27 (Jouni Malinen <jkmaline at cc.hut.fi>)
> >
> > [root at openap modules]#
> >
> > Thanx,
> >
> > Gaurav
> >
> > _________________________________________________________________
> > Stop worrying about overloading your inbox - get MSN Hotmail Extra 
>Storage!
> > http://join.msn.click-url.com/go/onm00200362ave/direct/01/
> >
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >

_________________________________________________________________
Learn to simplify your finances and your life in Streamline Your Life from 
MSN Money. http://special.msn.com/money/0405streamline.armx



More information about the click mailing list