9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ARM 9pfuse broken?
@ 2012-03-22 16:46 smiley
  2012-03-22 18:30 ` Pavel Zholkover
  0 siblings, 1 reply; 3+ messages in thread
From: smiley @ 2012-03-22 16:46 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

Are there any known bugs in 9pfuse on ARM?  I can mount a vac file
system OK with it, but trying to list files on it causes:

 unexpected open flags 02444000
 ls: cannot open directory /mnt/foo: Permission denied

Trying to read files:

 unexpected open flags 0400000
 cat: /mnt/foo/bar.txt: Permission denied

But walk/statting seem to succeed OK.  I'm planning to debug a bit
deeper, but figured I'd give a shout out, in case this bug is already
known, and to see if there was already a patch for it floating around.

This is an ARMv7 OMAP4 Cortex-A9, in case that's any clue.

--
+---------------------------------------------------------------+
|Smiley       <smiley@icebubble.org>    PGP key ID:    BC549F8B |
|Fingerprint: 9329 DB4A 30F5 6EDA D2BA  3489 DAB7 555A BC54 9F8B|
+---------------------------------------------------------------+



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] ARM 9pfuse broken?
  2012-03-22 16:46 [9fans] ARM 9pfuse broken? smiley
@ 2012-03-22 18:30 ` Pavel Zholkover
  2012-03-22 18:42   ` Pavel Zholkover
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Zholkover @ 2012-03-22 18:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I've also encountered this on my synology DS411 linux based kirkwood
NAS. If I remember correctly I saw a comment by Russ regarding
weird/unhandled flags being passed to the open syscall.

My workaround was just to compile a 9p kernel module and mount the
vacfs export with it.

On Thu, Mar 22, 2012 at 6:46 PM,  <smiley@icebubble.org> wrote:
> Hello,
>
> Are there any known bugs in 9pfuse on ARM?  I can mount a vac file
> system OK with it, but trying to list files on it causes:
>
>  unexpected open flags 02444000
>  ls: cannot open directory /mnt/foo: Permission denied
>
> Trying to read files:
>
>  unexpected open flags 0400000
>  cat: /mnt/foo/bar.txt: Permission denied
>
> But walk/statting seem to succeed OK.  I'm planning to debug a bit
> deeper, but figured I'd give a shout out, in case this bug is already
> known, and to see if there was already a patch for it floating around.
>
> This is an ARMv7 OMAP4 Cortex-A9, in case that's any clue.
>
> --
> +---------------------------------------------------------------+
> |Smiley       <smiley@icebubble.org>    PGP key ID:    BC549F8B |
> |Fingerprint: 9329 DB4A 30F5 6EDA D2BA  3489 DAB7 555A BC54 9F8B|
> +---------------------------------------------------------------+
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] ARM 9pfuse broken?
  2012-03-22 18:30 ` Pavel Zholkover
@ 2012-03-22 18:42   ` Pavel Zholkover
  0 siblings, 0 replies; 3+ messages in thread
From: Pavel Zholkover @ 2012-03-22 18:42 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I've looked at http://code.swtch.com/plan9port/src/9574d432c889/src/cmd/9pfuse/main.c#cl-580
and O_NOFOLLOW == 0400000 handling was added in
http://code.swtch.com/plan9port/changeset/43f43652132d
So maybe you can recompile a more recent version ?

On Thu, Mar 22, 2012 at 8:30 PM, Pavel Zholkover <paulzhol@gmail.com> wrote:
> I've also encountered this on my synology DS411 linux based kirkwood
> NAS. If I remember correctly I saw a comment by Russ regarding
> weird/unhandled flags being passed to the open syscall.
>
> My workaround was just to compile a 9p kernel module and mount the
> vacfs export with it.
>
> On Thu, Mar 22, 2012 at 6:46 PM,  <smiley@icebubble.org> wrote:
>> Hello,
>>
>> Are there any known bugs in 9pfuse on ARM?  I can mount a vac file
>> system OK with it, but trying to list files on it causes:
>>
>>  unexpected open flags 02444000
>>  ls: cannot open directory /mnt/foo: Permission denied
>>
>> Trying to read files:
>>
>>  unexpected open flags 0400000
>>  cat: /mnt/foo/bar.txt: Permission denied
>>
>> But walk/statting seem to succeed OK.  I'm planning to debug a bit
>> deeper, but figured I'd give a shout out, in case this bug is already
>> known, and to see if there was already a patch for it floating around.
>>
>> This is an ARMv7 OMAP4 Cortex-A9, in case that's any clue.
>>
>> --
>> +---------------------------------------------------------------+
>> |Smiley       <smiley@icebubble.org>    PGP key ID:    BC549F8B |
>> |Fingerprint: 9329 DB4A 30F5 6EDA D2BA  3489 DAB7 555A BC54 9F8B|
>> +---------------------------------------------------------------+
>>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-22 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22 16:46 [9fans] ARM 9pfuse broken? smiley
2012-03-22 18:30 ` Pavel Zholkover
2012-03-22 18:42   ` Pavel Zholkover

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).