On Wed, 16 Nov 2005, Stefan Michalowski wrote:

> [EMAIL PROTECTED] wrote:
> > I cannot guess the cause and cannot reproduce the problem, but I want to
> > try digging into it.
> >   
> I applied the patch on the 20051115-1700 snapshot, with the inode.c patch by
> Martin Walter. I will see how this behaves.

The patch was in fact from Junjiro (17 Oct 2005) ;-)

> > Or please let me know how to reproduce the problem certainly.

Perhaps my own cko (current kernel oops ;-) has something to do with this 
problem.
I have a unionfs consisting of a ro-nfs tree and a rw-tmpfs.
Above I mounted a local scratch filesystem:

#########################################################################
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root.old /initrd minix rw 0 0
132.230.1.13:/p/7 / nfs 
ro,v3,rsize=4096,wsize=4096,hard,tcp,nolock,addr=132.230.1.13 0 0
none /DIFF tmpfs rw 0 0
none / unionfs rw,dirs=/DIFF=rw:/=ro,debug=0,delete=all,copyup=preserve 0 0
proc /proc proc rw,nodiratime 0 0
none /dev/pts devpts rw 0 0
none /sys sysfs rw 0 0
/dev/hda1 /scratch reiserfs rw,nosuid,nodev 0 0
AFS /afs afs rw 0 0
automount(pid1909) /home autofs rw 0 0
#########################################################################

now I want to nfs-export /scratch/u to some other compute nodes:

#########################################################################
# cat /etc/exports
/scratch/u  login*.ruf.uni-freiburg.de(no_root_squash,rw,async)
#########################################################################

#     rcnfsserver start
Starting kernel based NFS server/usr/sbin/rcnfsserver: line 66:  2048 
Segmentation fault      /usr/sbin/exportfs -r
                                                                      failed
# dmesg
...
ip_tables: (C) 2000-2002 Netfilter core team
Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
Unable to handle kernel NULL pointer dereference at virtual address 000000a0
 printing eip:
f89f3494
*pde = 00000000
Oops: 0000 [#1]
SMP 
Modules linked in: nfsd exportfs autofs4 ipt_REJECT iptable_filter ip_tables 
libafs reiserfs ide_disk joydev ipv6 sworks_agp agpgart serverworks scb2_flash 
mtdcore chipreg map_funcs ohci_hcd i2c_piix4 i2c_core generic usb_storage 
usbhid usbcore st sd_mod sr_mod scsi_mod ide_cd cdrom ide_core unionfs 
af_packet tg3 mii
CPU:    0
EIP:    0060:[<f89f3494>]    Tainted: P     U VLI
EFLAGS: 00010246   (2.6.13-15-smp) 
EIP is at unionfs_file_revalidate+0x104/0x920 [unionfs]
eax: 00000000   ebx: f6f0283c   ecx: 00000000   edx: f624c920
esi: 00000001   edi: f63c77f8   ebp: f6210000   esp: f6211f54
ds: 007b   es: 007b   ss: 0068
Process exportfs (pid: 2048, threadinfo=f6210000 task=f628b540)
Stack: 00000282 f6e1af00 00000002 00000001 f6e67580 f65c0e88 f73be400 f63c77f8 
       00000001 f6b7600d 00000010 f6e67580 f6e67580 dfd15b80 f6210000 f89f47fe 
       f6e67580 00001000 dfd15b80 f6210000 c01705fc 00000003 00000003 00001000 
Call Trace:
 [<f89f47fe>] unionfs_flush+0x1e/0x10f [unionfs]
 [<c01705fc>] filp_close+0x2c/0x90
 [<c01042ab>] sysenter_past_esp+0x54/0x79
Code: 1c 8b 47 48 8b 80 78 01 00 00 8b 40 48 8b 44 88 fc a8 02 0f 84 30 03 00 
00 85 c9 0f 8e b9 07 00 00 8b 43 2c 8b 44 88 fc 8b 40 0c <8b> 80 a0 00 00 00 f6 
40 34 01 0f 85 0e 03 00 00 8d b6 00 00 00 
 NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
# 
#########################################################################


Best regards,
Martin

-- 
Martin Walter
University of Freiburg i.Br. --- Germany --- Fon/Fax: +49 761 203-4651/-4643
Rechenzentrum der Universitaet, Hermann-Herder-Str.10, D-79104 Freiburg i.Br.
_______________________________________________
unionfs mailing list
unionfs@mail.fsl.cs.sunysb.edu
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to