Re: Still gettnig NFS client locking up

2003-11-03 Thread Marc Olzheim
On Thu, Oct 30, 2003 at 08:57:50PM -0500, Robert Watson wrote:
 Hmm.  I'm unable to reproduce this so far, and I'm pounding several 5.x
 NFS clients and servers.  I've been checking out using CVS over NFS,
 performing dd's of big files, etc.  There must be something more I'm
 missing in reproducing this.  What network interface cards are you using
 (client, server)? Are you using DHCP on the client or server?  What
 commands trigger it -- what part of the NFS namespace, etc?  Are you
 running the commands as root, or another user?

Server0:
FreeBSD Server0 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Aug  6 13:31:27 CEST 2002 [EMAIL 
PROTECTED]:/usr/src/sys/compile/Server0 i386
xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xa000-0xa07f mem 0xdf80-0xdf80007f 
irq 10 at device 11.0 on pci0

Server1:
FreeBSD Server1 4.2-STABLE FreeBSD 4.2-STABLE #0: Mon Feb 12 19:25:03 CET 2001 [EMAIL 
PROTECTED]:/usr/src/sys/compile/Server1  i386
fxp0: Intel Pro 10/100B/100+ Ethernet port 0x2000-0x201f mem 
0xc6e0-0xc6ef,0xc3fff000-0xc3ff irq 15 at device 15.0 on pci0

Client:
FreeBSD Client 5.1-CURRENT FreeBSD 5.1-CURRENT #7: Mon Oct 27 12:50:35 CET 2003 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
fxp0: Intel 82558 Pro/100 Ethernet port 0xa800-0xa81f mem 
0xef00-0xef0f,0xef10-0xef100fff irq 16 at device 13.0 on pci0

Both machines have static ips.
Client has mounted this:

Client:~mount
/dev/da0s1a on / (ufs, NFS exported, local)
devfs on /dev (devfs, local)
/dev/da0s1e on /tmp (ufs, NFS exported, local, soft-updates)
/dev/da0s1f on /usr (ufs, NFS exported, local, soft-updates)
/dev/da0s1d on /var (ufs, NFS exported, local, soft-updates)
procfs on /proc (procfs, local)
fdescfs on /dev/fd (fdescfs)
Server1:/sys0 on /nfs/serv0/sys0 (nfs)
Server0:/usr/ports on /nfs/serv4/usr/ports (nfs)
Client:~

As stated before, it locks up on a portupgrade of p.e. imake, while
un-tar-ing the X sources, which come from Server1 (/usr/ports/distfiles
- /sys0/distfiles) and get unpacked on Server0...

So reading from one NFS server, writing to another...

Zlo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Still gettnig NFS client locking up

2003-10-31 Thread Matt Smith
Robert Watson wrote:
On Tue, 28 Oct 2003, Soren Schmidt wrote:


I'm now running a kernel/world of October 26th on both NFS client and 
server machines. I am still seeing NFS lockups as reported by several 
people in these threads:
Me too!!


Hmm.  I'm unable to reproduce this so far, and I'm pounding several 5.x
NFS clients and servers.  I've been checking out using CVS over NFS,
performing dd's of big files, etc.  There must be something more I'm
missing in reproducing this.  What network interface cards are you using
(client, server)? Are you using DHCP on the client or server?  What
commands trigger it -- what part of the NFS namespace, etc?  Are you
running the commands as root, or another user?
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
[EMAIL PROTECTED]  Network Associates Laboratories
I have 3com cards in both machines. 3c905c's I believe. The xl driver. 
The client has a static IP address configured from rc.conf and the 
server uses dhclient to get a hardwired static address based on MAC.

I'm running the commands as root. I have noticed that it generally locks 
up when writing to the mount rather than reading as I can do an 
installworld from the NFS server to the client without issues (i think!, 
I've only tried this once). But downloading files into the mount breaks 
very quickly. I guess it could be a filesize thing though. I shall have 
to do some more testing. I was planning on cvsuping and buildworlding on 
saturday again.

It started happening approx two weeks ago I think? Roughly when I first 
reported it, but NFS had always been solid as a rock before then.

I can easily reproduce this by doing this:

[EMAIL PROTECTED] root]# cd /usr/ports/databases/mysql40-server
[EMAIL PROTECTED] mysql40-server]# make fetch
 mysql-4.0.16.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from 
ftp://planetmirror.com/pub/mysql/Downloads/MySQL-4.0/.
Receiving mysql-4.0.16.tar.gz (12830094 bytes): 3%

(has now locked up)

[EMAIL PROTECTED] root]# ls /usr/src
COPYRIGHT READMEcontrib   gnu   libexec 
secureusr.bin
MAINTAINERS   UPDATING  cryptoinclude   release 
share usr.sbin
Makefile  bash.core etc   kerberos5 rescuesys
Makefile.inc1 bin   games lib   sbin  tools
[EMAIL PROTECTED] root]# ls /usr/ports

(has also locked up)

[EMAIL PROTECTED] matt]$ ps wauxl | grep fetch
root70213  0.0  0.3   816  660  p3  S+8:47AM   0:00.39 make 
fetch   0 63855   0   8  0 wait
root70284  0.0  0.5  2604 1212  p3  S+8:47AM   0:00.14 
/usr/bin/fetch - 0 70259   0  -8  0 nfsaio

[EMAIL PROTECTED] matt]$ ps wauxl | grep ls
root70307  0.0  0.2   772  480  p6  D+8:48AM   0:00.01 ls 
/usr/ports0 70302   0  -1  0 nfsrcv

[EMAIL PROTECTED] matt]$ uname -a
FreeBSD womble.xtaz.co.uk 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Oct 26 
21:14:58 GMT 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/WOMBLE  i386

[EMAIL PROTECTED] matt]$ cat /etc/fstab | grep nfs
10.0.0.2:/usr/src   /usr/srcnfs rw,soft,intr0   0
10.0.0.2:/usr/obj   /usr/objnfs rw,soft,intr0   0
10.0.0.2:/usr/ports /usr/ports  nfs rw,soft,intr0   0
rc.conf on the client contains:
ifconfig_xl1=inet 10.0.0.1  netmask 255.255.255.0
nfs_client_enable=YES
rc.conf on the server contains:
ifconfig_xl0=DHCP
rpcbind_enable=YES
nfs_server_enable=YES
mountd_enable=YES
And this is the uname of the server:
[EMAIL PROTECTED] src]# uname -a
FreeBSD fraggle.xtaz.co.uk 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Oct 
26 21:05:49 GMT 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FRAGGLE  i386



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Still gettnig NFS client locking up

2003-10-30 Thread Kris Kennaway
On Tue, Oct 28, 2003 at 12:07:09PM +0100, Soren Schmidt wrote:
 It seems Matt wrote:
  I'm now running a kernel/world of October 26th on both NFS client and 
  server machines. I am still seeing NFS lockups as reported by several 
  people in these threads:
  
  http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1296172+0+archive/2003/freebsd-current/20031026.freebsd-current
  http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1333116+0+archive/2003/freebsd-current/20031026.freebsd-current
  http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1477462+0+archive/2003/freebsd-current/20031026.freebsd-current
  http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1469939+0+archive/2003/freebsd-current/20031026.freebsd-current
  http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1467159+0+archive/2003/freebsd-current/20031026.freebsd-current
  http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1314547+0+archive/2003/freebsd-current/20031026.freebsd-current
  
  I just tried port upgrading bind9 and it got 10% through downloading and 
  locked up. I tried an ls /usr/ports and there was no response. I had to 
  umount -f /usr/ports to get the processes to exit.
  
  Poul-Henning's patch did not have any effect because it appears to be 
  the client at fault not the server as Marc Olzheim mentioned that he has 
  the same issue with a 4.x NFS server machine using a 5.1-current client.
 
 Me too!!

I've reported NFS corruption on certain p4 machines running 5.x, which
may or may not be related.  No lockups though.

Kris


pgp0.pgp
Description: PGP signature


Re: Still gettnig NFS client locking up

2003-10-30 Thread Robert Watson
On Tue, 28 Oct 2003, Soren Schmidt wrote:

  I'm now running a kernel/world of October 26th on both NFS client and 
  server machines. I am still seeing NFS lockups as reported by several 
  people in these threads:
 
 Me too!!

Hmm.  I'm unable to reproduce this so far, and I'm pounding several 5.x
NFS clients and servers.  I've been checking out using CVS over NFS,
performing dd's of big files, etc.  There must be something more I'm
missing in reproducing this.  What network interface cards are you using
(client, server)? Are you using DHCP on the client or server?  What
commands trigger it -- what part of the NFS namespace, etc?  Are you
running the commands as root, or another user?

Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
[EMAIL PROTECTED]  Network Associates Laboratories

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Still gettnig NFS client locking up

2003-10-28 Thread Soren Schmidt
It seems Matt wrote:
 I'm now running a kernel/world of October 26th on both NFS client and 
 server machines. I am still seeing NFS lockups as reported by several 
 people in these threads:
 
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1296172+0+archive/2003/freebsd-current/20031026.freebsd-current
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1333116+0+archive/2003/freebsd-current/20031026.freebsd-current
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1477462+0+archive/2003/freebsd-current/20031026.freebsd-current
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1469939+0+archive/2003/freebsd-current/20031026.freebsd-current
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1467159+0+archive/2003/freebsd-current/20031026.freebsd-current
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1314547+0+archive/2003/freebsd-current/20031026.freebsd-current
 
 I just tried port upgrading bind9 and it got 10% through downloading and 
 locked up. I tried an ls /usr/ports and there was no response. I had to 
 umount -f /usr/ports to get the processes to exit.
 
 Poul-Henning's patch did not have any effect because it appears to be 
 the client at fault not the server as Marc Olzheim mentioned that he has 
 the same issue with a 4.x NFS server machine using a 5.1-current client.

Me too!!

-Søren
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]