[Unionfs] BUGS in unionfs with NFSroot (2.6.23-rc5 + 2.1.3)

Jan-Marek Glogowski glogow at fbihome.de
Mon Sep 17 12:22:56 EDT 2007


Hi Erez

> The short answer is that yes, unionfs can be made to work w/ nfsv4.  I've
> had unreleased patches for some time, but they're not as clean as I'd have
> liked them to be.  I was hoping to wait until the patches to split nameidata
> into a lookup-intent structure made it into the kernel, but I guess we can't
> wait for that now.

I just had a look - seems these patches aren't even in MM.

> As for the other bugs w/ nfsv3, please submit a bugzilla report on this so
> it'll be easier for us to track the bug.  Next, I'd like to reproduce your
> setup (preferably in vmware).  Do you have a livecd image I could download?
> A tarball w/ your configured kernel sources, however modified?  That'll help
> a lot.

I can't reproduce the BUGs with my current kernel and it seems I lost the
exact config I used before :-(

So unionfs with NFSv3 is working now.

I have attached a diff to an older config I used for rc5.

There was some info about compiler problems when using
CONFIG_CC_OPTIMIZE_FOR_SIZE (which was enabled in my previous config),
so this option may have been the culprit.

For NFSv4 I may be able to strip my vmware test server image to work
without LDAP. If you have Debian Etch and a working NFSroot, it might be
easier if I send you my initramfs-tools patch, so you can produce NETBOOT
initramfs images, which boot using NFSv4.

Thanks

Jan-Marek
-------------- next part --------------
--- config-backup	2007-09-17 17:37:49.000000000 +0200
+++ config-rc6	2007-09-17 17:38:38.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
-# Linux kernel version: 2.6.23-rc5
-# Fri Sep  7 20:51:48 2007
+# Linux kernel version: 2.6.23-rc6
+# Fri Sep 14 22:13:14 2007
 #
 CONFIG_X86_32=y
 CONFIG_GENERIC_TIME=y
@@ -50,9 +50,9 @@
 # CONFIG_RELAY is not set
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_INITRAMFS_SOURCE=""
-CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 CONFIG_SYSCTL=y
-CONFIG_EMBEDDED=y
+# CONFIG_EMBEDDED is not set
 CONFIG_UID16=y
 CONFIG_SYSCTL_SYSCALL=y
 CONFIG_KALLSYMS=y
@@ -168,10 +168,10 @@
 CONFIG_NR_CPUS=8
 CONFIG_SCHED_SMT=y
 CONFIG_SCHED_MC=y
-CONFIG_PREEMPT_NONE=y
-# CONFIG_PREEMPT_VOLUNTARY is not set
+# CONFIG_PREEMPT_NONE is not set
+CONFIG_PREEMPT_VOLUNTARY=y
 # CONFIG_PREEMPT is not set
-# CONFIG_PREEMPT_BKL is not set
+CONFIG_PREEMPT_BKL=y
 CONFIG_X86_LOCAL_APIC=y
 CONFIG_X86_IO_APIC=y
 CONFIG_X86_MCE=y
@@ -196,12 +196,7 @@
 # CONFIG_NOHIGHMEM is not set
 CONFIG_HIGHMEM4G=y
 # CONFIG_HIGHMEM64G is not set
-# CONFIG_VMSPLIT_3G is not set
-CONFIG_VMSPLIT_3G_OPT=y
-# CONFIG_VMSPLIT_2G is not set
-# CONFIG_VMSPLIT_2G_OPT is not set
-# CONFIG_VMSPLIT_1G is not set
-CONFIG_PAGE_OFFSET=0xB0000000
+CONFIG_PAGE_OFFSET=0xC0000000
 CONFIG_HIGHMEM=y
 CONFIG_ARCH_FLATMEM_ENABLE=y
 CONFIG_ARCH_SPARSEMEM_ENABLE=y
@@ -227,10 +222,10 @@
 CONFIG_IRQBALANCE=y
 # CONFIG_SECCOMP is not set
 # CONFIG_HZ_100 is not set
-CONFIG_HZ_250=y
+# CONFIG_HZ_250 is not set
 # CONFIG_HZ_300 is not set
-# CONFIG_HZ_1000 is not set
-CONFIG_HZ=250
+CONFIG_HZ_1000=y
+CONFIG_HZ=1000
 CONFIG_KEXEC=y
 # CONFIG_CRASH_DUMP is not set
 CONFIG_PHYSICAL_START=0x100000
@@ -1150,7 +1145,6 @@
 CONFIG_THINKPAD_ACPI_BAY=y
 # CONFIG_THINKPAD_ACPI_INPUT_ENABLED is not set
 CONFIG_IDE=m
-CONFIG_IDE_MAX_HWIFS=4
 CONFIG_BLK_DEV_IDE=m
 
 #
@@ -1414,7 +1408,6 @@
 # CONFIG_PATA_VIA is not set
 # CONFIG_PATA_WINBOND is not set
 # CONFIG_PATA_WINBOND_VLB is not set
-# CONFIG_PATA_PLATFORM is not set
 CONFIG_MD=y
 CONFIG_BLK_DEV_MD=m
 CONFIG_MD_LINEAR=m
@@ -1984,7 +1977,7 @@
 #
 # Userland interfaces
 #
-CONFIG_INPUT_MOUSEDEV=m
+CONFIG_INPUT_MOUSEDEV=y
 CONFIG_INPUT_MOUSEDEV_PSAUX=y
 CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
@@ -2135,8 +2128,8 @@
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_FIX_EARLYCON_MEM=y
-CONFIG_SERIAL_8250_PCI=m
-CONFIG_SERIAL_8250_PNP=m
+CONFIG_SERIAL_8250_PCI=y
+CONFIG_SERIAL_8250_PNP=y
 CONFIG_SERIAL_8250_CS=m
 CONFIG_SERIAL_8250_NR_UARTS=16
 CONFIG_SERIAL_8250_RUNTIME_UARTS=4
@@ -3481,7 +3474,7 @@
 CONFIG_ECRYPT_FS=m
 CONFIG_UNION_FS=m
 CONFIG_UNION_FS_XATTR=y
-# CONFIG_UNION_FS_DEBUG is not set
+CONFIG_UNION_FS_DEBUG=y
 
 #
 # Miscellaneous filesystems
@@ -3657,7 +3650,7 @@
 # CONFIG_DEBUG_FS is not set
 # CONFIG_HEADERS_CHECK is not set
 # CONFIG_DEBUG_KERNEL is not set
-# CONFIG_DEBUG_BUGVERBOSE is not set
+CONFIG_DEBUG_BUGVERBOSE=y
 CONFIG_EARLY_PRINTK=y
 CONFIG_X86_FIND_SMP_CONFIG=y
 CONFIG_X86_MPPARSE=y


More information about the unionfs mailing list