Re: [RFC] Flags to dmesg(1) to toggle kern.msgbuf_clear ?
On 1 July 2012 11:05, Jason Hellenthal wrote: > > Would anyone be interested in adding a flag argument to dmesg to toggle > kern.msgbuf_clear ? or systematicly to do the same thing ? > Sure, adding -c to dmesg would be nice. Any objections? Adrian ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
[RFC] Flags to dmesg(1) to toggle kern.msgbuf_clear ?
Would anyone be interested in adding a flag argument to dmesg to toggle kern.msgbuf_clear ? or systematicly to do the same thing ? I often find myself wanting to clear the msgbuf but have to remember what the sysctl MIB is for doing so and thought it would be a value add situation to just add '-c' or '-C' to dmesg(1) to accomplish the same thing. This would be along the same lines that Linux has done for quite a while. -- - (2^(N-1)) pgpkrooRa6VDR.pgp Description: PGP signature
Re: geli decrypt only one partition
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ok. i understand. ada1p4 is keyfile0 for the provider. that works. thanks and best regards. suri Am 01.07.12 17:29, schrieb Fabian Keil: > joerg_surmann wrote: > >> Sorry, i no had enough time for this geli problem. I work with a >> testsystem. When start booting in verbose mode the system found >> the keypaths. >> >> Preloaded ada0p4:geli_keyfile0 "/root/keys/ada0p4.key" at >> 0xc14bf540. Preloaded ada1p4:geli_keyfile1 >> "/root/keys/ada1p4.key" at 0xc14bf598. >> >> loader.conf geom_eli_load="YES" >> >> geli_ada0p4_keyfile0_load="YES" >> geli_ada0p4_keyfile0_type="ada0p4:geli_keyfile0" >> geli_ada0p4_keyfile0_name="/root/keys/ada0p4.key" >> >> geli_ada1p4_keyfile1_load="YES" >> geli_ada1p4_keyfile1_type="ada1p4:geli_keyfile1" >> geli_ada1p4_keyfile1_name="/root/keys/ada1p4.key" >> >> zfs_load="YES" vfs.root.mountfrom="zfs:zroot" >> >> on boottime i can decrypt ada0p4. for ada1p4 ... wrong key. >> >> i can decrypt ada1p4 later by hand with the keyfile like >> loader.conf. same situation. ada0p4 and ada1p4 are a zfs mirror. > > Like I already wrote before, the problem is most like that you > named the first keyfile for the second provider keyfile1 instead of > keyfile0. > > The keyfile numeration restarts for each provider and geli will not > use keyfile1 if keyfile0 doesn't exist. > > I missed that the "Preloaded ..." messages are a bit misleading > here as they only show that the loader lines are recognized and > that the kernel read the files, not that geli does anything useful > with them. > > If you increase kern.geom.eli.debug you'll probably see that > /root/keys/ada0p4.key is used by geli while /root/keys/ada1p4.key > isn't. > > Fabian > -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.12 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJP8HxOAAoJEDyDkpKh+9pTQTwQAKOY0nPX55S5WKz1+2YC8Ggx h1dk1R2qGOe5LSUYjIa35HTwI4HXyXf2FTSTv4o+1rxQnmx3S99thTa5Z2qB1FlY mA7o/8s2H4VUrtHV4SinwkSXJ/6qQzoLGOgxRg5q90oZgoxMYi/U5MKn2iHs9mmG kpEU7v2BG4dcxvq6/EDOQiaYD/EHH38fx9ftD8iNaF/0ceo2KBl9OLUA07ixcD8P NRHDOKudhNTy29hJMPDsJT59nXrc7VNkFiVauyh/KMAMmbcC1JTSiLVPlztawIQF HW/JEZoslZaBGY3eefEsm2UXOPwRR2+dHHUr/0vbCZuBIbaPx8+LWDKPpXQFqf8H vTM2bmrTMZQHLtjn+kDRKOH6O4UJchcYEL1EszmL+fsEC2nxoBTOVPkQQ20IKa7w zXD23fgYWMuFKNils/OwRe5myQz2dKmxtbXo11krI5RbiEdlVtzNniTKvP4zTI6C czDmIHn+Ww2FK7u4XfgpLz1o9fBV9TYgIjM6NNwqQtoZlNOC5HS3+JbiIcVciQw4 vR57OPAs/V2lg31KzTeGF74KkBHisZTzvWB1YG9iiEe07EyUouAcHbqxso45I8v5 rmDs1V+9uNJQT7hxVffgG8FHYLjmgEVVCEnBy/adiuXjLRWtbmW3qqXLYuO7jkzd qsKC15hcfAK/1DFC5RhJ =l+YB -END PGP SIGNATURE- ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
[releng_9 tinderbox] failure on amd64/amd64
TB --- 2012-07-01 11:20:00 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-07-01 11:20:00 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtan...@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-07-01 11:20:00 - starting RELENG_9 tinderbox run for amd64/amd64 TB --- 2012-07-01 11:20:00 - cleaning the object tree TB --- 2012-07-01 11:20:00 - cvsupping the source tree TB --- 2012-07-01 11:20:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/amd64/amd64/supfile TB --- 2012-07-01 11:26:38 - building world TB --- 2012-07-01 11:26:38 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 11:26:38 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 11:26:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 11:26:38 - SRCCONF=/dev/null TB --- 2012-07-01 11:26:38 - TARGET=amd64 TB --- 2012-07-01 11:26:38 - TARGET_ARCH=amd64 TB --- 2012-07-01 11:26:38 - TZ=UTC TB --- 2012-07-01 11:26:38 - __MAKE_CONF=/dev/null TB --- 2012-07-01 11:26:38 - cd /src TB --- 2012-07-01 11:26:38 - /usr/bin/make -B buildworld >>> World build started on Sun Jul 1 11:26:39 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Sun Jul 1 15:04:37 UTC 2012 TB --- 2012-07-01 15:04:37 - generating LINT kernel config TB --- 2012-07-01 15:04:37 - cd /src/sys/amd64/conf TB --- 2012-07-01 15:04:37 - /usr/bin/make -B LINT TB --- 2012-07-01 15:04:37 - cd /src/sys/amd64/conf TB --- 2012-07-01 15:04:37 - /usr/sbin/config -m LINT TB --- 2012-07-01 15:04:37 - building LINT kernel TB --- 2012-07-01 15:04:37 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 15:04:37 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 15:04:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 15:04:37 - SRCCONF=/dev/null TB --- 2012-07-01 15:04:37 - TARGET=amd64 TB --- 2012-07-01 15:04:37 - TARGET_ARCH=amd64 TB --- 2012-07-01 15:04:37 - TZ=UTC TB --- 2012-07-01 15:04:37 - __MAKE_CONF=/dev/null TB --- 2012-07-01 15:04:37 - cd /src TB --- 2012-07-01 15:04:37 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jul 1 15:04:37 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/amd64.amd64/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -I/obj/amd64.amd64/src/sys/LINT -fno-builtin -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option-c /src/sys/modules/mps/../../dev/mps/mps_config.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/amd64.amd64/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -I/obj/amd64.amd64/src/sys/LINT -fno-builtin -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option-c /src/sys/modules/mps/../../dev/mps/mps_mapping.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/amd64.amd64/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -I/obj/amd64.amd64/src/sys/LINT -fno-builtin -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Win
Re: geli decrypt only one partition
joerg_surmann wrote: > Sorry, i no had enough time for this geli problem. > I work with a testsystem. > When start booting in verbose mode the system found the keypaths. > > Preloaded ada0p4:geli_keyfile0 "/root/keys/ada0p4.key" at 0xc14bf540. > Preloaded ada1p4:geli_keyfile1 "/root/keys/ada1p4.key" at 0xc14bf598. > > loader.conf > geom_eli_load="YES" > > geli_ada0p4_keyfile0_load="YES" > geli_ada0p4_keyfile0_type="ada0p4:geli_keyfile0" > geli_ada0p4_keyfile0_name="/root/keys/ada0p4.key" > > geli_ada1p4_keyfile1_load="YES" > geli_ada1p4_keyfile1_type="ada1p4:geli_keyfile1" > geli_ada1p4_keyfile1_name="/root/keys/ada1p4.key" > > zfs_load="YES" > vfs.root.mountfrom="zfs:zroot" > > on boottime i can decrypt ada0p4. > for ada1p4 ... wrong key. > > i can decrypt ada1p4 later by hand with the keyfile like loader.conf. > same situation. > ada0p4 and ada1p4 are a zfs mirror. Like I already wrote before, the problem is most like that you named the first keyfile for the second provider keyfile1 instead of keyfile0. The keyfile numeration restarts for each provider and geli will not use keyfile1 if keyfile0 doesn't exist. I missed that the "Preloaded ..." messages are a bit misleading here as they only show that the loader lines are recognized and that the kernel read the files, not that geli does anything useful with them. If you increase kern.geom.eli.debug you'll probably see that /root/keys/ada0p4.key is used by geli while /root/keys/ada1p4.key isn't. Fabian signature.asc Description: PGP signature
[releng_9 tinderbox] failure on i386/i386
TB --- 2012-07-01 11:20:00 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-07-01 11:20:00 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtan...@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-07-01 11:20:00 - starting RELENG_9 tinderbox run for i386/i386 TB --- 2012-07-01 11:20:00 - cleaning the object tree TB --- 2012-07-01 11:20:00 - cvsupping the source tree TB --- 2012-07-01 11:20:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/i386/i386/supfile TB --- 2012-07-01 11:21:27 - building world TB --- 2012-07-01 11:21:27 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 11:21:27 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 11:21:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 11:21:27 - SRCCONF=/dev/null TB --- 2012-07-01 11:21:27 - TARGET=i386 TB --- 2012-07-01 11:21:27 - TARGET_ARCH=i386 TB --- 2012-07-01 11:21:27 - TZ=UTC TB --- 2012-07-01 11:21:27 - __MAKE_CONF=/dev/null TB --- 2012-07-01 11:21:27 - cd /src TB --- 2012-07-01 11:21:27 - /usr/bin/make -B buildworld >>> World build started on Sun Jul 1 11:21:28 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Jul 1 14:17:51 UTC 2012 TB --- 2012-07-01 14:17:51 - generating LINT kernel config TB --- 2012-07-01 14:17:51 - cd /src/sys/i386/conf TB --- 2012-07-01 14:17:51 - /usr/bin/make -B LINT TB --- 2012-07-01 14:17:52 - cd /src/sys/i386/conf TB --- 2012-07-01 14:17:52 - /usr/sbin/config -m LINT TB --- 2012-07-01 14:17:52 - building LINT kernel TB --- 2012-07-01 14:17:52 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 14:17:52 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 14:17:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 14:17:52 - SRCCONF=/dev/null TB --- 2012-07-01 14:17:52 - TARGET=i386 TB --- 2012-07-01 14:17:52 - TARGET_ARCH=i386 TB --- 2012-07-01 14:17:52 - TZ=UTC TB --- 2012-07-01 14:17:52 - __MAKE_CONF=/dev/null TB --- 2012-07-01 14:17:52 - cd /src TB --- 2012-07-01 14:17:52 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jul 1 14:17:52 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/i386.i386/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/i386.i386/src/sys/LINT -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option-c /src/sys/modules/mps/../../dev/mps/mps_config.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/i386.i386/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/i386.i386/src/sys/LINT -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option-c /src/sys/modules/mps/../../dev/mps/mps_mapping.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/i386.i386/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/i386.i386/src/sys/LINT -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option-c /src/sys/modules/mps/../../dev/mps/mps_sas_lsi.c /src/
[releng_9 tinderbox] failure on i386/pc98
TB --- 2012-07-01 11:20:00 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-07-01 11:20:00 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtan...@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-07-01 11:20:00 - starting RELENG_9 tinderbox run for i386/pc98 TB --- 2012-07-01 11:20:00 - cleaning the object tree TB --- 2012-07-01 11:20:00 - cvsupping the source tree TB --- 2012-07-01 11:20:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/i386/pc98/supfile TB --- 2012-07-01 11:21:09 - building world TB --- 2012-07-01 11:21:09 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 11:21:09 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 11:21:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 11:21:09 - SRCCONF=/dev/null TB --- 2012-07-01 11:21:09 - TARGET=pc98 TB --- 2012-07-01 11:21:09 - TARGET_ARCH=i386 TB --- 2012-07-01 11:21:09 - TZ=UTC TB --- 2012-07-01 11:21:09 - __MAKE_CONF=/dev/null TB --- 2012-07-01 11:21:09 - cd /src TB --- 2012-07-01 11:21:09 - /usr/bin/make -B buildworld >>> World build started on Sun Jul 1 11:21:10 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Jul 1 14:18:34 UTC 2012 TB --- 2012-07-01 14:18:34 - generating LINT kernel config TB --- 2012-07-01 14:18:34 - cd /src/sys/pc98/conf TB --- 2012-07-01 14:18:34 - /usr/bin/make -B LINT TB --- 2012-07-01 14:18:34 - cd /src/sys/pc98/conf TB --- 2012-07-01 14:18:34 - /usr/sbin/config -m LINT TB --- 2012-07-01 14:18:34 - building LINT kernel TB --- 2012-07-01 14:18:34 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 14:18:34 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 14:18:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 14:18:34 - SRCCONF=/dev/null TB --- 2012-07-01 14:18:34 - TARGET=pc98 TB --- 2012-07-01 14:18:34 - TARGET_ARCH=i386 TB --- 2012-07-01 14:18:34 - TZ=UTC TB --- 2012-07-01 14:18:34 - __MAKE_CONF=/dev/null TB --- 2012-07-01 14:18:34 - cd /src TB --- 2012-07-01 14:18:34 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jul 1 14:18:34 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -O2 -pipe -DPC98 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/pc98.i386/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/pc98.i386/src/sys/LINT -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option-c /src/sys/modules/mps/../../dev/mps/mps_config.c cc -O2 -pipe -DPC98 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/pc98.i386/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/pc98.i386/src/sys/LINT -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option-c /src/sys/modules/mps/../../dev/mps/mps_mapping.c cc -O2 -pipe -DPC98 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/pc98.i386/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/pc98.i386/src/sys/LINT -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option-c /src/sys/modules/mps/../../dev
Re: geli decrypt only one partition
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Fabian and all, Sorry, i no had enough time for this geli problem. I work with a testsystem. When start booting in verbose mode the system found the keypaths. Preloaded ada0p4:geli_keyfile0 "/root/keys/ada0p4.key" at 0xc14bf540. Preloaded ada1p4:geli_keyfile1 "/root/keys/ada1p4.key" at 0xc14bf598. loader.conf geom_eli_load="YES" geli_ada0p4_keyfile0_load="YES" geli_ada0p4_keyfile0_type="ada0p4:geli_keyfile0" geli_ada0p4_keyfile0_name="/root/keys/ada0p4.key" geli_ada1p4_keyfile1_load="YES" geli_ada1p4_keyfile1_type="ada1p4:geli_keyfile1" geli_ada1p4_keyfile1_name="/root/keys/ada1p4.key" zfs_load="YES" vfs.root.mountfrom="zfs:zroot" on boottime i can decrypt ada0p4. for ada1p4 ... wrong key. i can decrypt ada1p4 later by hand with the keyfile like loader.conf. same situation. ada0p4 and ada1p4 are a zfs mirror. On the attachement the dmesg file direct after login. Thanks for help. Suri Am 21.06.12 12:21, schrieb Fabian Keil: > joerg_surm...@snafu.de wrote: > >> the keyfile in loader.conf is correct. > > Did you verify that you get the boot message I quoted in the > previous mail for both keyfiles? This would surprise me. > >> when i decrypt ada1p3 via geli attach -k /priv/keys/ada1p3 >> /dev/ada1p3 ada1p3.eli created >> >> in loader.conf is the same path specified. >> >> geli_ada1p3_keyfile1_load="YES" >> geli_ada1p3_keyfile1_type="ada1p3:geli_keyfile1" >> geli_ada1p3_keyfile1_name="/priv/keys/ada1p3.key" >> >> only ada0p3 (keyfile0 in loader.conf) will decrypt on boottime. >> for ada1p3 comes wrong key. >> >> any suggestions. > > I suspect the problem is that you named the first keyfile for > ada1p3 keyfile1 instead of keyfile0. The keyfile numeration > restarts for each provider and the kernel will not load keyfile1 if > keyfile0 doesn't exist. > > Fabian > -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.12 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJP8FBNAAoJEDyDkpKh+9pTZAkQALKW325XIRae9P+5Rgx6ib+T tqxQBm+ndwaMMroiF33D8dao6o9YSWB4z1bMNVRLgluG0jEHvjc2JufhHgIot8Rf lZLQSC2b3qo+AvFtvkyn7pvEPqPNLhGvZZx9buihvAuZTGRVVCya6txFJ0u0VRq0 FDHYqFlL9bxnbhn/2jem8EdFHwlEmyvYzdyF4dGzrqCOeBlXBDvSQqtrlK3FuNYe VOnIFZ+MdU1TdjyglalWSoFPCCZcFsc7uEUwwvOBXM48oqsAiZVKu+lMHr3cF2Fp 3gHK6GD1jzu5tQ7Zt+FUn93YM6T8Vm0+7um25uvVmdU+GHY6g1gh1YNLRv/yU9uk c6JHi0Nxr2339aZAwAxYp5YINFksl2yxr1RZXPQb5g5xEl/V7hM72oBoWGx9oE7Z GVLEJYRk1Bvy5wIxrUMdqM5U7KhcA/OmP7psJkP0ov6+JQOzXHSjZDn4Ng6cUnQb 6vHyYvNvPlHw5ng3NjiGv/ZGUDozR+E9qiIYaLBztsMZCIdo3nd1iN1NtLvh+jQU xGERHXKaQglOW4VJQVJLhQpD3omuHRBBzfh9tBBMAmxSSdAMcUp+hARkWnFQu8sE tKihHeKpOXPIyyUFT+q1HthVfE5RCMK6JZlNpvyCaXkPqaHtdqq5GVXr8J9ciZri cBpWjKQa5CCzB+MA8QU+ =aOdj -END PGP SIGNATURE- ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
[releng_9 tinderbox] failure on arm/arm
TB --- 2012-07-01 11:20:00 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-07-01 11:20:00 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtan...@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-07-01 11:20:00 - starting RELENG_9 tinderbox run for arm/arm TB --- 2012-07-01 11:20:00 - cleaning the object tree TB --- 2012-07-01 11:20:00 - cvsupping the source tree TB --- 2012-07-01 11:20:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/arm/arm/supfile TB --- 2012-07-01 11:21:09 - building world TB --- 2012-07-01 11:21:09 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 11:21:09 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 11:21:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 11:21:09 - SRCCONF=/dev/null TB --- 2012-07-01 11:21:09 - TARGET=arm TB --- 2012-07-01 11:21:09 - TARGET_ARCH=arm TB --- 2012-07-01 11:21:09 - TZ=UTC TB --- 2012-07-01 11:21:09 - __MAKE_CONF=/dev/null TB --- 2012-07-01 11:21:09 - cd /src TB --- 2012-07-01 11:21:09 - /usr/bin/make -B buildworld >>> World build started on Sun Jul 1 11:21:10 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Jul 1 12:34:28 UTC 2012 TB --- 2012-07-01 12:34:28 - cd /src/sys/arm/conf TB --- 2012-07-01 12:34:28 - /usr/sbin/config -m AVILA TB --- 2012-07-01 12:34:28 - building AVILA kernel TB --- 2012-07-01 12:34:28 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:34:28 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:34:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:34:28 - SRCCONF=/dev/null TB --- 2012-07-01 12:34:28 - TARGET=arm TB --- 2012-07-01 12:34:28 - TARGET_ARCH=arm TB --- 2012-07-01 12:34:28 - TZ=UTC TB --- 2012-07-01 12:34:28 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:34:28 - cd /src TB --- 2012-07-01 12:34:28 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Sun Jul 1 12:34:28 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AVILA completed on Sun Jul 1 12:39:19 UTC 2012 TB --- 2012-07-01 12:39:19 - cd /src/sys/arm/conf TB --- 2012-07-01 12:39:19 - /usr/sbin/config -m BWCT TB --- 2012-07-01 12:39:19 - building BWCT kernel TB --- 2012-07-01 12:39:19 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:39:19 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:39:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:39:19 - SRCCONF=/dev/null TB --- 2012-07-01 12:39:19 - TARGET=arm TB --- 2012-07-01 12:39:19 - TARGET_ARCH=arm TB --- 2012-07-01 12:39:19 - TZ=UTC TB --- 2012-07-01 12:39:19 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:39:19 - cd /src TB --- 2012-07-01 12:39:19 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Sun Jul 1 12:39:19 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for BWCT completed on Sun Jul 1 12:42:28 UTC 2012 TB --- 2012-07-01 12:42:28 - cd /src/sys/arm/conf TB --- 2012-07-01 12:42:28 - /usr/sbin/config -m CAMBRIA TB --- 2012-07-01 12:42:28 - building CAMBRIA kernel TB --- 2012-07-01 12:42:28 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:42:28 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:42:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:42:28 - SRCCONF=/dev/null TB --- 2012-07-01 12:42:28 - TARGET=arm TB --- 2012-07-01 12:42:28 - TARGET_ARCH=arm TB --- 2012-07-01 12:42:28 - TZ=UTC TB --- 2012-07-01 12:42:28 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:42:28 - cd /src TB --- 2012-07-01 12:42:28 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA >>> Kernel build for CAMBRIA started on Sun Jul 1 12:42:28 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CAMBRIA completed on Sun Jul 1 12:46:48 UTC 2012 TB --- 2012-07-01 12:46:48 - cd /src/sys/arm/conf TB --- 2012-07-01 12:46:48 - /usr/sbin/config -m CNS11XXNAS TB --- 2012-07-01 12:46:49 - building CNS11XXNAS kernel TB --- 2012-07-01 12:46:49 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:46:49 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:46:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:46:49 - SR
[releng_8 tinderbox] failure on i386/i386
TB --- 2012-07-01 11:40:05 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca TB --- 2012-07-01 11:40:05 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-07-01 11:40:05 - starting RELENG_8 tinderbox run for i386/i386 TB --- 2012-07-01 11:40:05 - cleaning the object tree TB --- 2012-07-01 11:40:05 - cvsupping the source tree TB --- 2012-07-01 11:40:05 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8/i386/i386/supfile TB --- 2012-07-01 11:40:17 - building world TB --- 2012-07-01 11:40:17 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 11:40:17 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 11:40:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 11:40:17 - SRCCONF=/dev/null TB --- 2012-07-01 11:40:17 - TARGET=i386 TB --- 2012-07-01 11:40:17 - TARGET_ARCH=i386 TB --- 2012-07-01 11:40:17 - TZ=UTC TB --- 2012-07-01 11:40:17 - __MAKE_CONF=/dev/null TB --- 2012-07-01 11:40:17 - cd /src TB --- 2012-07-01 11:40:17 - /usr/bin/make -B buildworld >>> World build started on Sun Jul 1 11:40:17 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Jul 1 12:26:59 UTC 2012 TB --- 2012-07-01 12:26:59 - generating LINT kernel config TB --- 2012-07-01 12:26:59 - cd /src/sys/i386/conf TB --- 2012-07-01 12:26:59 - /usr/bin/make -B LINT TB --- 2012-07-01 12:26:59 - cd /src/sys/i386/conf TB --- 2012-07-01 12:26:59 - /usr/sbin/config -m LINT TB --- 2012-07-01 12:26:59 - building LINT kernel TB --- 2012-07-01 12:26:59 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:26:59 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:26:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:26:59 - SRCCONF=/dev/null TB --- 2012-07-01 12:26:59 - TARGET=i386 TB --- 2012-07-01 12:26:59 - TARGET_ARCH=i386 TB --- 2012-07-01 12:26:59 - TZ=UTC TB --- 2012-07-01 12:26:59 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:26:59 - cd /src TB --- 2012-07-01 12:26:59 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jul 1 12:27:00 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/i386/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/i386/src/sys/LINT -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /src/sys/modules/mps/../../dev/mps/mps_config.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/i386/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/i386/src/sys/LINT -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /src/sys/modules/mps/../../dev/mps/mps_mapping.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/i386/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/i386/src/sys/LINT -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /src/sys/modules/mps/../../dev/mps/mps_sas_lsi.c /src/sys/modules/mps/../../dev/mps/mps_sas_lsi.c: In function 'mpssas_fw_work': /src/sys/modules/mps/../../dev/mps/mps_sas_lsi.c:336: error: 'struct mps_softc' has no member n
[releng_8 tinderbox] failure on amd64/amd64
TB --- 2012-07-01 11:03:13 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca TB --- 2012-07-01 11:03:13 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-07-01 11:03:13 - starting RELENG_8 tinderbox run for amd64/amd64 TB --- 2012-07-01 11:03:13 - cleaning the object tree TB --- 2012-07-01 11:03:13 - cvsupping the source tree TB --- 2012-07-01 11:03:13 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8/amd64/amd64/supfile TB --- 2012-07-01 11:03:26 - building world TB --- 2012-07-01 11:03:26 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 11:03:26 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 11:03:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 11:03:26 - SRCCONF=/dev/null TB --- 2012-07-01 11:03:26 - TARGET=amd64 TB --- 2012-07-01 11:03:26 - TARGET_ARCH=amd64 TB --- 2012-07-01 11:03:26 - TZ=UTC TB --- 2012-07-01 11:03:26 - __MAKE_CONF=/dev/null TB --- 2012-07-01 11:03:26 - cd /src TB --- 2012-07-01 11:03:26 - /usr/bin/make -B buildworld >>> World build started on Sun Jul 1 11:03:27 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Sun Jul 1 12:11:47 UTC 2012 TB --- 2012-07-01 12:11:47 - generating LINT kernel config TB --- 2012-07-01 12:11:47 - cd /src/sys/amd64/conf TB --- 2012-07-01 12:11:47 - /usr/bin/make -B LINT TB --- 2012-07-01 12:11:47 - cd /src/sys/amd64/conf TB --- 2012-07-01 12:11:47 - /usr/sbin/config -m LINT TB --- 2012-07-01 12:11:47 - building LINT kernel TB --- 2012-07-01 12:11:47 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:11:47 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:11:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:11:47 - SRCCONF=/dev/null TB --- 2012-07-01 12:11:47 - TARGET=amd64 TB --- 2012-07-01 12:11:47 - TARGET_ARCH=amd64 TB --- 2012-07-01 12:11:47 - TZ=UTC TB --- 2012-07-01 12:11:47 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:11:47 - cd /src TB --- 2012-07-01 12:11:47 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jul 1 12:11:47 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/amd64/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -I/obj/amd64/src/sys/LINT -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /src/sys/modules/mps/../../dev/mps/mps_config.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/amd64/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -I/obj/amd64/src/sys/LINT -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /src/sys/modules/mps/../../dev/mps/mps_mapping.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/amd64/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -I/obj/amd64/src/sys/LINT -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -ffo
Re: mountd suddenly stopped working
Jason Hellenthal wrote: > On Sat, Jun 30, 2012 at 09:07:17PM +, Marcin Wisnicki wrote: > > On Sat, 30 Jun 2012 16:21:18 +0200, Ronald Klop wrote: > > > > > On Sat, 30 Jun 2012 15:53:53 +0200, Marcin Wisnicki > > > wrote: > > > > > >> I have just rebooted an old system after 100 days of uptime and > > >> this > > >> came up: > > >> > > >> Jun 30 15:39:00 ghost mountd[1592]: can't change attributes for > > >> /tftpboot Jun 30 15:39:00 ghost mountd[1592]: bad exports list > > >> line > > >> /tftpboot -ro -mapall > > >> > > > > > > Than probably somebody changed something else. Can you provide the > > > content of your exports file? > > > > > > > OK, I've found the reason. > > > > There were two paths exported with same attributes: > > > > /tftpboot -ro -mapall=nobody > > /vol/tank1 -ro -mapall=nobody > > > > As long as there is a filesystem mounted on /vol/tank1, above > > exports > > will work. Since I've disconnected that drive, there was nothing > > mounted > > this time. > > > > Apparently mountd does not allow exporting multiple paths from a > > single > > filesystem on separate lines if they happen to have identical > > attributes. > > > > Its been like that for a long time. I remember running into this way > back on 6.X and 5.X. > > The solution is to: > > /tftpboot /vol/tank1 -ro -mapall=nobody > Yea, since it doesn't specify any host/network, it is the "default" entry that covers "the rest of the world". As such, there can only be one/server file system. So, if /tftpboot and /vol/tank are the same server file system, the above makes mountd happy. (I tend to use -alldirs instead of listing the mount directories, because I find it less confusing, but that's personal taste.) rick > -- > > - (2^(N-1)) > ___ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscr...@freebsd.org" ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"