Next-in-Thread Next Message

Question Must use UNSAFE_TOOLS or DS_BIND_REQUEST got EPERM ? 

Forum: PCMCIA driver development
Date: 2000, Mar 11
From: Yui-Wah Lee clement

Hi,

Not sure if this is a bug or a misunderstanding of mine.  However, I find
that I must choose UNSAFE_TOOLS in "make config" or my cardmgr cannot
successfully make a bind (an ioctl of DS_BIND_REQUEST).  Syslog got
something like the following:

Mar 11 15:18:27 cadenza cardmgr[198]: initializing socket 0
Mar 11 15:18:27 cadenza cardmgr[198]: socket 0: Xircom CE3-10/100 Fast Ethernet
Mar 11 15:18:27 cadenza cardmgr[198]: executing: 'insmod /lib/modules/2.2.13/pcm
cia/xirc2ps_cs.o'
Mar 11 15:18:27 cadenza cardmgr[198]: bind 'xirc2ps_cs' to socket 0 failed: Oper
ation not permitted

This is true even the cardmgr process is already having a uid of 0.

System type: Acer Travelmate 332T
PCMCIA card: seems not relevant, all cards of mine didn't work
             (Xircom CE3-10/100, 3c589c, etc)
Kernel version: 2.2.13
PCMCIA version: 3.1.12

-- Clement

Next-in-Thread Next Message

Messages Inline: 0 All Outline: 1 2 All

None Sounds fishy to me

Re: Question Must use UNSAFE_TOOLS or DS_BIND_REQUEST got EPERM ? (Yui-Wah Lee)
Date: 2000, Mar 13
From: David Hinds <dhinds@pcmcia.sourceforge.org>

I don't see how that could be.  The cardmgr program has no #ifdef's
that depend on UNSAFE_TOOLS: this flag only appears in the cardctl and
cardinfo programs.  Also, UNSAFE_TOOLS defaults to off, and this is
the first time this problem has been reported.  Can you test this
again and make sure that this flag makes a difference?  Are you
absolutely sure that cardmgr was running as root?

-- Dave
Must use UNSAFE_TOOLS or DS_BIND_REQUEST got EPERM ?


Members Subscribe No Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10
[ Edit This Forum ]