From owner-freebsd-sparc64@FreeBSD.ORG Fri Feb 20 23:50:22 2004 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 434D916A4CF for ; Fri, 20 Feb 2004 23:50:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B65A143D1F for ; Fri, 20 Feb 2004 23:50:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1L7oHbv026386 for ; Fri, 20 Feb 2004 23:50:17 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1L7oH50026385; Fri, 20 Feb 2004 23:50:17 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 20 Feb 2004 23:50:17 -0800 (PST) Resent-Message-Id: <200402210750.i1L7oH50026385@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-sparc64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Todd Florman Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 972D516A4CE for ; Fri, 20 Feb 2004 23:43:26 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90BF043D1F for ; Fri, 20 Feb 2004 23:43:26 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i1L7hQ72058300 for ; Fri, 20 Feb 2004 23:43:26 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i1L7hQnD058299; Fri, 20 Feb 2004 23:43:26 -0800 (PST) (envelope-from nobody) Message-Id: <200402210743.i1L7hQnD058299@www.freebsd.org> Date: Fri, 20 Feb 2004 23:43:26 -0800 (PST) From: Todd Florman To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: sparc64/63161: system panics when writing to an NFS mounted filesystem from an amd mounted i386 client X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2004 07:50:22 -0000 >Number: 63161 >Category: sparc64 >Synopsis: system panics when writing to an NFS mounted filesystem from an amd mounted i386 client >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-sparc64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 20 23:50:17 PST 2004 >Closed-Date: >Last-Modified: >Originator: Todd Florman >Release: 5.2.1-rc2 sparc64 >Organization: >Environment: FreeBSD hel.florman.net 5.2.1-RC2 FreeBSD 5.2.1-RC2 #0: Wed Feb 18 21:32:16 MST 2004 root@hel.florman.net:/usr/src/sys/sparc64/compile/HEL sparc64 FreeBSD thor.florman.net 5.2-CURRENT FreeBSD 5.2-CURRENT #7: Sat Feb 7 14:06:28 MST 2004 root@thor.florman.net:/usr/obj/usr/src/sys/THOR i386 >Description: NFS server panics when writing to the NFS exported /home filesystem from an i386 client which is running amd to automount it at /home on the client. When client boots, /home mounts properly off of the server using amd. However, while I was copying my old home directory from the local disk on the client to the new nfs mounted /home directory using the following command, the nfs server panics and reboots. from the /tmphome dir... # find tflorman -depth |cpio -pduvm /home The system gets through about half of the dotfiles and then the system panics. Thinking that perhaps it was cpio at fault, I tried the following cp -R /tmphome/tflorman /home and the system paniced yet again. I don't have any of the debugging symbols enabled in the kernel so I can't give you much else to go on. here is the dmesg of the the server... syncing disks, buffers remaining... 409 409 405 405 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 404 Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RC2 #0: Wed Feb 18 21:32:16 MST 2004 root@hel.florman.net:/usr/src/sys/sparc64/compile/HEL Preloaded elf kernel "/boot/kernel/kernel" at 0xc046a000. Timecounter "tick" frequency 360000000 Hz quality 0 real memory = 536870912 (512 MB) avail memory = 508403712 (484 MB) cpu0: Sun Microsystems UltraSparc-IIi Processor (360.00 MHz CPU) nexus0: pcib0: on nexus0 pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A pcib0: [FAST] pcib0: [FAST] DVMA map: 0xc0000000 to 0xc3ffffff pci0: on pcib0 pcib1: at device 1.1 on pci0 pci1: on pcib1 ebus0: revision 0x01 ebus0: mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 1.0 on pci1 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached) ebus0: addr 0x1400724000-0x1400724003 irq 37 (no driver attached) ebus0: addr 0x1400504000-0x1400504002 (no driver attached) sab0: addr 0x1400400000-0x140040007f irq 43 on ebus0 sab0: [FAST] sabtty0: on sab0 sabtty0: console 9600,8,n,1,- sabtty1: on sab0 ebus0: addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: addr 0x14003062f8-0x14003062ff irq 42 (no driver attached) ebus0: addr 0x1400700000-0x140070000f,0x140030015c-0x140030015d,0x14003043bc-0x14003043cb irq 34 (no driver attached) ebus0: addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f7 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 80cf7a45 ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200f,0x1400200000-0x14002000ff irq 36,35 (no driver attached) hme0: mem 0xe0000000-0xe0007fff at device 1.1 on pci1 hme0: Ethernet address: 08:00:20:cf:7a:45 miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 2.0 (no driver attached) atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 at device 3.0 on pci1 atapci0: [MPSAFE] ata2: at 0xc00000 on atapci0 ata2: [MPSAFE] ata3: at 0xc00010 on atapci0 ata3: [MPSAFE] pcib2: at device 1.0 on pci0 pci2: on pcib2 rl0: port 0x400-0x47f mem 0x2000-0x207f at device 1.0 on pci2 rl0: Ethernet address: 00:00:b4:90:f2:a1 miibus1: on rl0 rlphy0: on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Timecounters tick every 10.000 msec GEOM: create disk ad0 dp=0xfffff80000866aa0 ad0: 19092MB [38792/16/63] at ata2-master WDMA2 acd0: CDRW at ata3-master PIO4 GEOM: create disk ad1 dp=0xfffff800007e30a0 ad1: 8223MB [16708/16/63] at ata3-slave WDMA2 Mounting root from ufs:/dev/ad0a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted /tmp: mount pending error: blocks 4 files 1 WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 60 files 18 WARNING: /home was not properly dismounted arp: 67.165.246.129 moved from 00:0b:bf:7c:fc:8c to 00:0b:bf:7c:fc:54 on hme0 pflog: $Name: VERSION_2_03 $ pfsync: $Name: VERSION_2_03 $ in6_ifattach: pflog0 is not multicast capable, IPv6 not enabled in6_ifattach: pfsync0 is not multicast capable, IPv6 not enabled pflog0: promiscuous mode enabled pf: $Name: VERSION_2_03 $ >How-To-Repeat: using amd on an i386 client to mount an exported filesystem on a sparc64 nfs server, write multiple files to the nfs mounted filesystem from the nfsclient. >Fix: >Release-Note: >Audit-Trail: >Unformatted: