ACL over NFS sun crash

From: Gerhard den Hollander (gerhard@jasongeo.com)
Date: Mon Jun 23 2003 - 15:30:58 EDT


Date: Mon, 23 Jun 2003 21:21:35 +0200
From: Gerhard den Hollander <faliquid@xs4all.nl>
To: sunmanager@sunmanagers.org
Subject: NFS-ACL crashes sun server

I've got a network with a bunch of Sun machines (sol 8 in various stages of
patches), and a bunch of linux boxes.

The sun and linux disks are all accessible through the automounter.

I've recently upgraded one of the linux boxes to suse 8.2, which supports
ACLs over NFS .

The I did (as root, on the linux box)

cp -av /automount/sun/a/smalldirectory /automount/sun/b/nonexistentdestinationdir

(cp -av is a verbose cp -rp which also includes ACL information)

At the end of the copy action (when it was modifying/applying the acl info
to the copied files) the sun file server crashed, rebooted, came up, and as
soon as NFS was far enough back up to reprocess the outstanding requests
(and got to the ACL point) the sun server would crash again.

After about 15 minutes (and 4 crashes) I rebooted the linux box (as by then
had figured out that this might be the cause) and indeed the machine has not
crashed since.

I've now modified the linux boxes to not do ACL over NFS, but I am not happy
with this solution.

So my questions:

1) Is this a known problem ?

2) Is there a way to disable ACL on the NFS-Server (i.e. the Sun) side ?

The syslog shows:
Jun 20 14:52:42 jeeves ^Mpanic[cpu1]/thread=2a100dbdd20:
Jun 20 14:52:42 jeeves unix: [ID 340138 kern.notice] BAD TRAP: type=31
rp=2a100db
d110 addr=8 mmu_fsr=0 occurred in module "ufs" due to a NULL pointer
dereference
Jun 20 14:52:42 jeeves unix: [ID 100000 kern.notice]
Jun 20 14:52:42 jeeves unix: [ID 839527 kern.notice] sched:
Jun 20 14:52:42 jeeves unix: [ID 520581 kern.notice] trap type = 0x31
Jun 20 14:52:42 jeeves unix: [ID 381800 kern.notice] addr=0x8
Jun 20 14:52:43 jeeves unix: [ID 101969 kern.notice] pid=0, pc=0x101707b8, sp=0x2
a100dbc9b1, tstate=0x4480001600, context=0x0
Jun 20 14:52:43 jeeves unix: [ID 743441 kern.notice] g1-g7: 10439400, 0, 3000d870
218, 0, 0, 0, 2a100dbdd20
Jun 20 14:52:43 jeeves unix: [ID 100000 kern.notice]
Jun 20 14:52:43 jeeves genunix: [ID 723222 kern.notice] 000002a100dbcd30 unix:die
+80 (31, 8, 10414f78, 0, 2a100dbd110, c410a008)
Jun 20 14:52:43 jeeves genunix: [ID 179002 kern.notice] %l0-3: 0000000000000002
 000003000f147e40 000002a100dbd9c0 0000030003151c00
Jun 20 14:52:43 jeeves %l4-7: 000002a100dbd7a0 0000000000000000 00000000104a320
0 0000000000000001
Jun 20 14:52:43 jeeves genunix: [ID 723222 kern.notice] 000002a100dbce10 unix:tra
p+8b8 (0, 1, 5, 0, 2a100dbd110, 0)
Jun 20 14:52:43 jeeves genunix: [ID 179002 kern.notice] %l0-3: 0000000000000001
 0000000010132518 0000000010423a00 0000000000000000
Jun 20 14:52:43 jeeves %l4-7: 0000000000000031 0000000000000000 000000000001000
0 000002a100dbd8f0
Jun 20 14:52:43 jeeves genunix: [ID 723222 kern.notice] 000002a100dbcf50 unix:sfm
mu_tsb_miss+640 (104286e0, 0, 3000005bf88, 0, 3000005bf88, 19)
Jun 20 14:52:43 jeeves genunix: [ID 179002 kern.notice] %l0-3: 0000000000000000
 0000000000000004 000003000d870e78 000003100007f100
Jun 20 14:52:43 jeeves %l4-7: 0000000000000000 0000030000064d10 000000000000000
0 0000000000000003
Jun 20 14:52:43 jeeves genunix: [ID 723222 kern.notice] 000002a100dbd060 unix:pro
m_rtt+0 (0, 4000, 3000f2ce7b0, 0, 3000d870218, 8)
Jun 20 14:52:43 jeeves genunix: [ID 179002 kern.notice] %l0-3: 0000000000000001
 0000000000001400 0000004480001600 0000000010018e3c
Jun 20 14:52:43 jeeves %l4-7: 000003000d318c0c 0000000000000000 000000000000000
0 000002a100dbd110
Jun 20 14:52:43 jeeves genunix: [ID 723222 kern.notice] 000002a100dbd1b0 ufs:vsec
attr2aclentry+bc (3000a82ef18, 3000d870218, 1, 300027ae000, 30001f52740,
3000d870 278)
Jun 20 14:52:43 jeeves genunix: [ID 179002 kern.notice] %l0-3:
000003000d870270 000003000d870298 000003000d870290 0000000000000001
Jun 20 14:52:43 jeeves %l4-7: 000003000a82ef18 000003000d870218
000003000f2ce7b 0 0000000000001000
Jun 20 14:52:44 jeeves genunix: [ID 723222 kern.notice] 000002a100dbd2a0
ufs:ufs_ acl_set+10c (0, 2a100dbd7d0, 3000a82ef18, 3000f2ce7b0, 300015c2c50, 0)
Jun 20 14:52:44 jeeves genunix: [ID 179002 kern.notice] %l0-3:
00000300025facc0 00000300025fada0 0000030001fea5b0 0000030001fc03e8
Jun 20 14:52:44 jeeves %l4-7: 0000000000000001 0000030001fc0000
000000000000000 0 0000000000001498
Jun 20 14:52:44 jeeves genunix: [ID 723222 kern.notice] 000002a100dbd360
ufs:ufs_ setsecattr+130 (3000a82f058, 4, 3000f2ce7b0, 6000, 2a100dbd7d0, 0)
Jun 20 14:52:44 jeeves genunix: [ID 179002 kern.notice] %l0-3:
0000000000000004 000003000a82ef18 0000000000000000 0000030001f52740
Jun 20 14:52:44 jeeves %l4-7: 000003000f3caf08 000003000f3cb020
000000000000000 0 00000300026bc000
Jun 20 14:52:44 jeeves genunix: [ID 723222 kern.notice] 000002a100dbd420 nfssrv:a
cl3_setacl+10c (7fff, 3000a82efa8, 3000f2ce7b0, 2a100dbd9c0, 2a100dbd4d8, 3000315
1c00)
Jun 20 14:52:44 jeeves genunix: [ID 179002 kern.notice] %l0-3: 00000000101691a0
 000002a100dbd658 000002a100dbd788 0000000010009cc8
 Jun 20 14:52:44 jeeves %l4-7: 0000030007314174 000003000f47cf20 000000000000000 0 000002a10000f910
Jun 20 14:52:44 jeeves genunix: [ID 723222 kern.notice] 000002a100dbd560 nfssrv:c
ommon_dispatch+418 (104a3200, 3000f2ce7b0, 104a3850, 0, 0, 2a100dbd658)

Currently listening to: Deep Purple - 01 Highway Star

        Gerhard, <faliquid@xs4all.nl == The Acoustic Motorbiker ==

-- 
   __O	Get one man to ride his bycicle
 =`\<,	and there is hope for the human race
(=)/(=)	
					A.A.M. van Gulik
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:38 EDT