9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] webfs and Numerical result out of range...
@ 2010-07-22 13:59 EBo
  2010-07-22 14:42 ` ron minnich
  2010-07-23 11:56 ` Federico G. Benavento
  0 siblings, 2 replies; 9+ messages in thread
From: EBo @ 2010-07-22 13:59 UTC (permalink / raw)
  To: 9Fans-list

I'm getting lots of "Numerical result out of range" when running webfs and
webget in plan9port.  It appears to fail on the the first write to
/mnt/web/ctl.

If I run webfs with "-s Whpd -m /mnt/web" and run webget, /mnt/web/0/body
contains "/mnt/web/0/body: Numerical result out of range" (and /mnt/web/
was mounted automatically with "9pfuse - /mnt/web/")

If I run webfs without -m (and mtpt=nil) and use "mount -t 9p
`namespace`/Whpd /mnt/web/ -o trans=unix,uname=$USER" /mnt/web/0/body then
contains "/mnt/web/0/body: Unknown error 526"

I'm fresh out of ideas at this point.  Suggestions?

  Thanks,

  EBo --




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

* Re: [9fans] webfs and Numerical result out of range...
  2010-07-22 13:59 [9fans] webfs and Numerical result out of range EBo
@ 2010-07-22 14:42 ` ron minnich
  2010-07-23 11:56 ` Federico G. Benavento
  1 sibling, 0 replies; 9+ messages in thread
From: ron minnich @ 2010-07-22 14:42 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Run webfs under strace. It's amazing what you can see.

ron



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

* Re: [9fans] webfs and Numerical result out of range...
  2010-07-22 13:59 [9fans] webfs and Numerical result out of range EBo
  2010-07-22 14:42 ` ron minnich
@ 2010-07-23 11:56 ` Federico G. Benavento
  2010-07-23 11:57   ` Federico G. Benavento
  2010-07-23 12:04   ` EBo
  1 sibling, 2 replies; 9+ messages in thread
From: Federico G. Benavento @ 2010-07-23 11:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

is webkit using read9p() and friends instead of regular reads?


On Thu, Jul 22, 2010 at 10:59 AM, EBo <ebo@sandien.com> wrote:
> I'm getting lots of "Numerical result out of range" when running webfs and
> webget in plan9port.  It appears to fail on the the first write to
> /mnt/web/ctl.
>
> If I run webfs with "-s Whpd -m /mnt/web" and run webget, /mnt/web/0/body
> contains "/mnt/web/0/body: Numerical result out of range" (and /mnt/web/
> was mounted automatically with "9pfuse - /mnt/web/")
>
> If I run webfs without -m (and mtpt=nil) and use "mount -t 9p
> `namespace`/Whpd /mnt/web/ -o trans=unix,uname=$USER" /mnt/web/0/body then
> contains "/mnt/web/0/body: Unknown error 526"
>
> I'm fresh out of ideas at this point.  Suggestions?
>
>  Thanks,
>
>  EBo --
>
>
>



-- 
Federico G. Benavento



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

* Re: [9fans] webfs and Numerical result out of range...
  2010-07-23 11:56 ` Federico G. Benavento
@ 2010-07-23 11:57   ` Federico G. Benavento
  2010-07-23 12:04   ` EBo
  1 sibling, 0 replies; 9+ messages in thread
From: Federico G. Benavento @ 2010-07-23 11:57 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I meant webget

On Fri, Jul 23, 2010 at 8:56 AM, Federico G. Benavento
<benavento@gmail.com> wrote:
> is webkit using read9p() and friends instead of regular reads?
>
>
> On Thu, Jul 22, 2010 at 10:59 AM, EBo <ebo@sandien.com> wrote:
>> I'm getting lots of "Numerical result out of range" when running webfs and
>> webget in plan9port.  It appears to fail on the the first write to
>> /mnt/web/ctl.
>>
>> If I run webfs with "-s Whpd -m /mnt/web" and run webget, /mnt/web/0/body
>> contains "/mnt/web/0/body: Numerical result out of range" (and /mnt/web/
>> was mounted automatically with "9pfuse - /mnt/web/")
>>
>> If I run webfs without -m (and mtpt=nil) and use "mount -t 9p
>> `namespace`/Whpd /mnt/web/ -o trans=unix,uname=$USER" /mnt/web/0/body then
>> contains "/mnt/web/0/body: Unknown error 526"
>>
>> I'm fresh out of ideas at this point.  Suggestions?
>>
>>  Thanks,
>>
>>  EBo --
>>
>>
>>
>
>
>
> --
> Federico G. Benavento
>



-- 
Federico G. Benavento



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

* Re: [9fans] webfs and Numerical result out of range...
  2010-07-23 11:56 ` Federico G. Benavento
  2010-07-23 11:57   ` Federico G. Benavento
@ 2010-07-23 12:04   ` EBo
  2010-07-23 12:16     ` Federico G. Benavento
  1 sibling, 1 reply; 9+ messages in thread
From: EBo @ 2010-07-23 12:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


> is webkit using read9p() and friends instead of regular reads?

regular reads.  Nothing in webfs is using read9p.

Should I change some or all of them for testing?







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

* Re: [9fans] webfs and Numerical result out of range...
  2010-07-23 12:04   ` EBo
@ 2010-07-23 12:16     ` Federico G. Benavento
  2010-07-23 12:21       ` Federico G. Benavento
  2010-07-23 12:23       ` EBo
  0 siblings, 2 replies; 9+ messages in thread
From: Federico G. Benavento @ 2010-07-23 12:16 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

webget

On Fri, Jul 23, 2010 at 9:04 AM, EBo <ebo@sandien.com> wrote:
>
>> is webkit using read9p() and friends instead of regular reads?
>
> regular reads.  Nothing in webfs is using read9p.
>
> Should I change some or all of them for testing?
>
>
>
>
>
>



-- 
Federico G. Benavento



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

* Re: [9fans] webfs and Numerical result out of range...
  2010-07-23 12:16     ` Federico G. Benavento
@ 2010-07-23 12:21       ` Federico G. Benavento
  2010-07-23 12:27         ` EBo
  2010-07-23 12:23       ` EBo
  1 sibling, 1 reply; 9+ messages in thread
From: Federico G. Benavento @ 2010-07-23 12:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

ok, it looks like the functions are called fsopen(), fsread(), etc in plan9port,
as I tried to implied regular open, read, etc won't work

On Fri, Jul 23, 2010 at 9:16 AM, Federico G. Benavento
<benavento@gmail.com> wrote:
> webget
>
> On Fri, Jul 23, 2010 at 9:04 AM, EBo <ebo@sandien.com> wrote:
>>
>>> is webkit using read9p() and friends instead of regular reads?
>>
>> regular reads.  Nothing in webfs is using read9p.
>>
>> Should I change some or all of them for testing?
>>
>>
>>
>>
>>
>>
>
>
>
> --
> Federico G. Benavento
>



-- 
Federico G. Benavento



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

* Re: [9fans] webfs and Numerical result out of range...
  2010-07-23 12:16     ` Federico G. Benavento
  2010-07-23 12:21       ` Federico G. Benavento
@ 2010-07-23 12:23       ` EBo
  1 sibling, 0 replies; 9+ messages in thread
From: EBo @ 2010-07-23 12:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


> webget
> 
> On Fri, Jul 23, 2010 at 9:04 AM, EBo <ebo@sandien.com> wrote:
>>
>>> is webkit using read9p() and friends instead of regular reads?
>>
>> regular reads.  Nothing in webfs is using read9p.
>>
>> Should I change some or all of them for testing?

yes.  I am talking about the source code for both webget and webfs.  All
the reads in the source use simple reads and not read9.  If I change them
all to read9p would it be a useful test?




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

* Re: [9fans] webfs and Numerical result out of range...
  2010-07-23 12:21       ` Federico G. Benavento
@ 2010-07-23 12:27         ` EBo
  0 siblings, 0 replies; 9+ messages in thread
From: EBo @ 2010-07-23 12:27 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


OK.  Thanks you.

> ok, it looks like the functions are called fsopen(), fsread(), etc in
> plan9port, as I tried to implied regular open, read, etc won't work





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

end of thread, other threads:[~2010-07-23 12:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 13:59 [9fans] webfs and Numerical result out of range EBo
2010-07-22 14:42 ` ron minnich
2010-07-23 11:56 ` Federico G. Benavento
2010-07-23 11:57   ` Federico G. Benavento
2010-07-23 12:04   ` EBo
2010-07-23 12:16     ` Federico G. Benavento
2010-07-23 12:21       ` Federico G. Benavento
2010-07-23 12:27         ` EBo
2010-07-23 12:23       ` EBo

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).