Re: Operation not permitted
Frank Edwards <[email protected]>
| Newsgroups | gmane.linux.hardware.sony |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 9 Jul 2003, Tom wrote:
> I still get the same error:
>
> Jul 8 18:26:21 [kernel] prism2_init: prism2_cs.o: 0.2.1-pre8 Loaded
> Jul 8 18:26:21 [cardmgr] bind 'prism2_cs' to socket 0 failed: Operation not permitted
>
> I've no idea what's causing the "Operation not permitted" error. I don't
> think it's a module linking problem (depmod -ae doesn't list any errors),
> nor can I see how it could be a userid problem (cardmgr runs as root after
> all). This is very perplexing indeed...
>
> Any ideas?
> Thanks,
> Tom
Well, I know what I would try, but I'm a programmer-type. :-)
I would open a window/console and run
strace -o /tmp/x.txt -p [cardmgr_pid]
before inserting the PC card. The strace(1) command will dump out the
system calls that are being made into the kernel. Then you can look at
the output of strace (starting from the bottom and working backwards)
to see where you get an error message that corresponds to "Operation
not permitted" (that corresponds to error code "EPERM", so look for a
string that looks like, "-1 (EPERM)" in the output of strace).
Since it's considered bad etiquette to post attachments to the list,
either put the file on the website and post a URL, or email me the
attachment at azhrei-at-eec.com and I'll take a look at it.
(I'm using strace v4.4 from sourceforge at this url:
http://sourceforge.net/project/showfiles.php?group_id=2861)
Hope that helps...
--
Frank J. Edwards