[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling PCMCIA support (2.2.18/Potato)



on Sun, Jan 28, 2001 at 09:31:21PM -0600, Nathan E Norman (nnorman@micromuse.com) wrote:
> On Sun, Jan 28, 2001 at 06:07:20PM -0800, kmself@ix.netcom.com wrote:
> > on Sat, Jan 27, 2001 at 07:28:50PM +0100, Philipp Schulte (p.schulte@matrix.uni-duisburg.de) wrote:
> > > On Fri, Jan 26, 2001 at 01:16:33PM -0800, kmself@ix.netcom.com wrote: 
> > > 
> > > > I was somewhat surprised to see that there were no PCMCIA modules
> > > > included with the 2.2.18pre21 kernel package.  Where do I get PCMCIA
> > > > sources?  There is the obvious pcmcia-source -- 'dat the beast?
> > > 
> > > http://pcmcia-cs.sourceforge.net ?
> > > Or are you talking about the deb? pcmcia-source worked fine here.
> > 
> > The latter.  It's not immediately clear that pcmcia-source is necesary.
> > Still need to play with this.
> 
> It's fairly painless if you use kernel package.  The pcmcia-source
> stuff should install in /usr/src/modules iirc.  You then go into the
> kernel source tree, do make {menu,x}config as you prefer, make-kpkg
> clean, then make-kpkg --revision=local.2.2.18-1 kernel_image
> modules_image.  You'll end up with two debs in /usr/src that, once
> installed, will make your laptop happy ;)
> 
> Notes:  dpkg seems to get pissed if I install the kernel-image and the
> pcmcia-modules packages at the same time, so I always install the
> kernel-image deb first.  Also, you are well advised to place these
> packages on hold once installed.

Hmmm...

Ok, so I built and installed:

    pcmcia-cs_3.1.22-0.1potato_i386.deb
    pcmcia-modules-2.2.18pre21_3.1.22-0.1potato+custom.1.0_i386.deb

...but when I try to run cardmgr I get in /var/log/syslog:

    Jan 30 15:15:45 ego cardmgr[2886]: starting, version is 3.1.22
    Jan 30 15:15:45 ego cardmgr[2886]: open_sock(socket 0) failed:
    Permission denied
    Jan 30 15:15:45 ego cardmgr[2886]: no sockets found!
    Jan 30 15:15:45 ego cardmgr[2886]: exiting

Any ideas?

FYI:

    [root@ego:modules]$ lsmod
    Module                  Size  Used by
    ds                      6376   0  (unused)
    i82365                 22352   1 
    pcmcia_core            44896   0  [ds i82365]
    irda                  146817   0  (unused)
    cs4281                 16092   2 
    soundcore               2596   3  [cs4281]
    smbfs                  25788   0  (unused)
    nfs                    44184   0  (unused)
    lockd                  43024   0  [nfs]
    sunrpc                 58404   0  [nfs lockd]
    romfs                   3900   0  (unused)
    vfat                    9252   0  (unused)
    fat                    29504   0  [vfat]
    eepro100               15584   1 

    [root@ego:modules]$ ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:D0:59:18:04:19  
	      inet addr:192.168.0.64  Bcast:192.168.0.255 Mask:255.255.255.0
	      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	      RX packets:22951 errors:0 dropped:0 overruns:0 frame:0
	      TX packets:28662 errors:0 dropped:0 overruns:0 carrier:0
	      collisions:66 txqueuelen:100 
	      Interrupt:5 Base address:0x1080 

    lo        Link encap:Local Loopback  
	      inet addr:127.0.0.1  Mask:255.0.0.0
	      UP LOOPBACK RUNNING  MTU:3924  Metric:1
	      RX packets:19449 errors:0 dropped:0 overruns:0 frame:0
	      TX packets:19449 errors:0 dropped:0 overruns:0 carrier:0
	      collisions:0 txqueuelen:0 

TIA.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpRPH8p8GF15.pgp
Description: PGP signature


Reply to: