From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] /lib/rfc
Date: Tue, 22 Apr 2008 17:38:11 -0400 [thread overview]
Message-ID: <4df9fa23fb84158408fd7ed61bc15fb4@quanstro.net> (raw)
In-Reply-To: <4214f2078856cb97d6dfec57e09397bf@plan9.bell-labs.com>
> Yes, /lib/rfc/grabfc. Uncomment this line:
>
> /cron/sys/cron:#30 9 * * * local /lib/rfc/grabrfc
thank you. unfortunately, it turns out that this script causes
something that looks like deadlock between ramfs and ftpfs.
i didn't get a bead on ramfs before ftpfs exited but it was in
state Pread as was ramfs.
here's where ftpfs was
tyty# cd /proc/389580
tyty# cat fd
/lib/rfc
0 r c 0 (000000000000000a 0 00) 0 0 /dev/null
1 w c 0 (000000000000000a 0 00) 0 0 /dev/null
2 w M 256525 (0000000000000001 0 00) 8192 337626 /mnt/term/dev/cons
3 rw | 0 (000000000023e801 0 00) 65536 17056533 #|/data
4 rw M 258155 (0000000000000141 0 00) 8192 7835 /tmp/ftpo0000389580
5 r c 0 (0000000000000001 0 00) 0 75912 /dev/bintime
6 rw M 258155 (0000000000000142 0 00) 8192 83648 /tmp/ftp00000389580
7 rw I 1 (00000000000201ad 0 00) 0 86141 /net.alt/tcp/13/data
8 rw M 258155 (0000000000000143 0 00) 8192 156468 /tmp/ftpa0000389580
9 rw M 258155 (0000000000000144 0 00) 8192 24637 /tmp/ftpb0000389580
10 rw M 258155 (0000000000000145 0 00) 8192 14741 /tmp/ftpc0000389580
11 rw M 258155 (0000000000000146 0 00) 8192 18268 /tmp/ftpd0000389580
12 rw M 258155 (0000000000000147 0 00) 8192 13356 /tmp/ftpe0000389580
13 rw M 258155 (0000000000000148 0 00) 8192 15548 /tmp/ftpf0000389580
14 rw M 258155 (0000000000000149 0 00) 8192 29417 /tmp/ftpg0000389580
15 rw M 258155 (000000000000014a 0 00) 8192 34950 /tmp/ftph0000389580
16 rw M 258155 (000000000000014b 0 00) 8192 13591 /tmp/ftpi0000389580
17 rw M 258155 (000000000000014c 0 00) 8192 4892 /tmp/ftpj0000389580
18 rw M 258155 (000000000000014d 0 00) 8192 16607 /tmp/ftpk0000389580
19 rw M 258155 (000000000000014e 0 00) 8192 6641 /tmp/ftpl0000389580
20 rw M 258155 (000000000000014f 0 00) 8192 221184 /tmp/ftpm0000389580
22 rw I 1 (00000000000201cd 0 00) 0 221184 /net.alt/tcp/14/data
tyty# acid 389580
acid: lstk()
pread()+0x7 /sys/src/libc/9syscall/pread.s:5
read(fd=0x16,buf=0xdfffde00,n=0x1000)+0x2f /sys/src/libc/9sys/read.c:7
readfile1(node=0x100330)+0xdf /sys/src/cmd/ip/ftpfs/proto.c:941
tries=0x0
bp=0x67328
off=0x36000
buf=0x62206f74
n=0x498
readfile(node=0x100330)+0x36 /sys/src/cmd/ip/ftpfs/proto.c:986
inimage=0x1
rv=0x8
ropen(f=0x9a8d8)+0x129 /sys/src/cmd/ip/ftpfs/ftpfs.c:463
io()+0x207 /sys/src/cmd/ip/ftpfs/ftpfs.c:279
n=0xc
buf=0x88
main(argv=0xdfffef7c,argc=0x1)+0x207 /sys/src/cmd/ip/ftpfs/ftpfs.c:184
mountroot=0x2eaec
mountpoint=0x2eae5
cpassword=0xdfffef93
_argc=0x61
_args=0xdfffef91
cp=0x0
o=0x0
p=0x3
_main+0x31 /sys/src/libc/386/main9.s:16
- erik
next prev parent reply other threads:[~2008-04-22 21:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 17:11 erik quanstrom
2008-04-22 17:44 ` geoff
2008-04-22 21:38 ` erik quanstrom [this message]
2008-05-02 15:27 ` erik quanstrom
2008-04-22 17:46 ` Lyndon Nerenberg
2008-04-22 17:47 ` Lyndon Nerenberg
2008-04-22 17:50 john
2008-04-22 18:58 ` erik quanstrom
2008-04-22 19:12 ` Francisco J Ballesteros
2008-04-22 20:05 ` Gorka Guardiola
2008-04-22 20:27 ` Francisco J Ballesteros
2008-04-22 21:26 ` Charles Forsyth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4df9fa23fb84158408fd7ed61bc15fb4@quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).