[Bug 228174] [dump] dump(8) can read garbage and loop forever
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228174 Eugene Grosbein changed: What|Removed |Added Resolution|--- |Works As Intended Status|New |Closed -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
r334229 breaks build kernel
Hi, probably this last changes https://svnweb.freebsd.org/base?view=revision&revision=334229 breaks buildkernel in stable/11 If it is related my kernel config contains IOSCHED option: options CAM_IOSCHED_DYNAMIC cc -target x86_64-unknown-freebsd11.2 --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.cam_iosched.o -MTcam_iosched.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -W error /usr/src/sys/cam/cam_iosched.c /usr/src/sys/cam/cam_iosched.c:513:40: error: no member named 'quanta1' in 'struct cam_iosched_softc'; did you mean 'quanta'? callout_reset(&isc->ticker, hz / isc->quanta1, cam_iosched_ticker, isc); ^~~ quanta /usr/src/sys/sys/callout.h:115:28: note: expanded from macro 'callout_reset' callout_reset_on((c), (on_tick), (fn), (arg), -1) ^ /usr/src/sys/sys/callout.h:112:43: note: expanded from macro 'callout_reset_on' callout_reset_sbt_on((c), tick_sbt * (to_ticks), 0, (fn), (arg),\ ^ /usr/src/sys/cam/cam_iosched.c:267:7: note: 'quanta' declared here int quanta; /* Number of quanta per second */ ^ 1 error generated. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: r334229 breaks build kernel
On Sat, May 26, 2018 at 06:02:21PM +0300, Dmitriy Makarov wrote: > Hi, > > probably this last changes > https://svnweb.freebsd.org/base?view=revision&revision=334229 breaks > buildkernel in stable/11 > > If it is related my kernel config contains IOSCHED option: > options CAM_IOSCHED_DYNAMIC > > . It may well be, as I'm currently running: FreeBSD g1-215.catwhisker.org 11.2-BETA3 FreeBSD 11.2-BETA3 #633 r334229M/334236:1101515: Sat May 26 03:49:06 PDT 2018 r...@g1-215.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY amd64 on my laptop and: FreeBSD freebeast.catwhisker.org 11.2-BETA3 FreeBSD 11.2-BETA3 #696 r334229M/334236:1101515: Sat May 26 03:49:14 PDT 2018 r...@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC amd64 on a dedicated build machine (which is presently doing a Saturday "weekly poudriere catch-up" run in preparation for tomorrow morning). The build machine also (successfully) built stable/11 kernels at r334229 for a couple of other machines *which will be getting their installed packages updated tomorrow, after updating base FreeBSD). None of my kernels have any *IOSCHED* options. Peace, david -- David H. Wolfskill da...@catwhisker.org Trump's EPA excludes reporters from a meeting on contaminants -- why? See http://www.catwhisker.org/~david/publickey.gpg for my public key. signature.asc Description: PGP signature
Re: r334229 breaks build kernel
Looks like sean's merge was incomplete somehow. Warner On Sat, May 26, 2018 at 9:02 AM, Dmitriy Makarov wrote: > Hi, > > probably this last changes https://svnweb.freebsd.org/ > base?view=revision&revision=334229 breaks buildkernel in stable/11 > > If it is related my kernel config contains IOSCHED option: > options CAM_IOSCHED_DYNAMIC > > > cc -target x86_64-unknown-freebsd11.2 --sysroot=/usr/obj/usr/src/tmp > -B/usr/obj/usr/src/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -g > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -MD -MF.depend.cam_iosched.o -MTcam_iosched.o > -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector > -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs > -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare > -Wno-error-empty-body -Wno-error-parentheses-equality > -Wno-error-unused-function -Wno-error-pointer-sign > -Wno-error-shift-negative-value -Wno-error-address-of-packed-member > -mno-aes -mno-avx -std=iso9899:1999 -W > error /usr/src/sys/cam/cam_iosched.c > > /usr/src/sys/cam/cam_iosched.c:513:40: error: no member named 'quanta1' > in 'struct cam_iosched_softc'; did you mean 'quanta'? > callout_reset(&isc->ticker, hz / isc->quanta1, cam_iosched_ticker, > isc); > ^~~ > quanta > /usr/src/sys/sys/callout.h:115:28: note: expanded from macro > 'callout_reset' > callout_reset_on((c), (on_tick), (fn), (arg), -1) >^ > /usr/src/sys/sys/callout.h:112:43: note: expanded from macro > 'callout_reset_on' > callout_reset_sbt_on((c), tick_sbt * (to_ticks), 0, (fn), (arg),\ > ^ > /usr/src/sys/cam/cam_iosched.c:267:7: note: 'quanta' declared here > int quanta; /* Number of quanta per > second */ > ^ > 1 error generated. > ___ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" > ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
ldconfig(8) oddity on 11.2-BETA3?
Hi, I'm running 11.2-BETA3/amd64 at r334236, and I've noticed that "ldconfig -m" doesn't behave as expected (or perhaps it's my understanding). This is what I'm seeing when building security/nss in a chrooted environment: # ldconfig -r | grep nss # ls /usr/local/lib/nss libcrmf.a libnss3.so libnssutil3.so libssl3.so libfreebl3.so libnssckbi.so libsmime3.so libfreeblpriv3.so libnssdbm3.so libsoftokn3.so # ldconfig -m /usr/local/lib/nss # ldconfig -r | grep nss search directories: /lib:/usr/lib:/usr/local/lib:/usr/local/lib/perl5/5.26/mach/CORE:/usr/local/lib/nss # ldconfig -R | grep nss # ldconfig -r | grep nss search directories: /lib:/usr/lib:/usr/local/lib:/usr/local/lib/perl5/5.26/mach/CORE:/usr/local/lib/nss # file /usr/local/lib/nss/*.so /usr/local/lib/nss/libfreebl3.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped /usr/local/lib/nss/libfreeblpriv3.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped /usr/local/lib/nss/libnss3.so:ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped /usr/local/lib/nss/libnssckbi.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped /usr/local/lib/nss/libnssdbm3.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped /usr/local/lib/nss/libnssutil3.so:ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped /usr/local/lib/nss/libsmime3.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped /usr/local/lib/nss/libsoftokn3.so:ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped /usr/local/lib/nss/libssl3.so:ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped Is this correct ldconfig behaviour or has something broken? Cheers. -- Jonathan Chen ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
freebsd-update: cannot open patchlist
# uname -a FreeBSD rip.psg.com 10.3-RELEASE-p24 FreeBSD 10.3-RELEASE-p24 #0: Wed Nov 15 04:57:40 UTC 2017 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 # freebsd-update upgrade -r 11.1-RELEASEa ... .3090030910309203093030940309503096030970309803099031000. done. Applying patches... /usr/sbin/freebsd-update: cannot open patchlist: No such file or directory done. /usr/sbin/freebsd-update: cannot open files.wanted: No such file or directory rm: files.wanted: No such file or directory rm: filelist: No such file or directory rm: patchlist: No such file or directory rip.psg.com:/root# df -h FilesystemSizeUsed Avail Capacity Mounted on /dev/mirror/gm1s1a 15G540M 14G 4%/ devfs 1.0K1.0K 0B 100%/dev /dev/mirror/gm1s1d 15G 66M 14G 0%/var /dev/mirror/gm1s1e 15G2.0M 14G 0%/var/spool /dev/mirror/gm1s1f 15G 47M 14G 0%/root /dev/mirror/gm1s1g1.7T648G941G41%/usr procfs4.0K4.0K 0B 100%/proc fdescfs 1.0K1.0K 0B 100%/dev/fd /dev/md0 124M 32K114M 0%/tmp all i have found so far on the net of a thousand lies is that i need to upgrade to 10.3 first; but it is at 10.3. randy ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: r334229 breaks build kernel
Looks simple mis-merge. On hunk 1, original (head) r323831 has "hz / isc->quanta" at 2nd arg, while r334229 (stable/11) has "hz / isc->quanta1". r334228 and before had "hz / isc->quanta - 1", so missingly removed " - " instead of " - 1". Any other hunks looks fine. Regards. On Sat, 26 May 2018 10:37:34 -0600 Warner Losh wrote: > Looks like sean's merge was incomplete somehow. > > Warner > > On Sat, May 26, 2018 at 9:02 AM, Dmitriy Makarov wrote: > > > Hi, > > > > probably this last changes https://svnweb.freebsd.org/ > > base?view=revision&revision=334229 breaks buildkernel in stable/11 > > > > If it is related my kernel config contains IOSCHED option: > > options CAM_IOSCHED_DYNAMIC > > > > > > cc -target x86_64-unknown-freebsd11.2 --sysroot=/usr/obj/usr/src/tmp > > -B/usr/obj/usr/src/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -g > > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer > > -mno-omit-leaf-frame-pointer -MD -MF.depend.cam_iosched.o -MTcam_iosched.o > > -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float > > -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector > > -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > > -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs > > -fdiagnostics-show-option -Wno-unknown-pragmas > > -Wno-error-tautological-compare > > -Wno-error-empty-body -Wno-error-parentheses-equality > > -Wno-error-unused-function -Wno-error-pointer-sign > > -Wno-error-shift-negative-value -Wno-error-address-of-packed-member > > -mno-aes -mno-avx -std=iso9899:1999 -W > > error /usr/src/sys/cam/cam_iosched.c > > > > /usr/src/sys/cam/cam_iosched.c:513:40: error: no member named 'quanta1' > > in 'struct cam_iosched_softc'; did you mean 'quanta'? > > callout_reset(&isc->ticker, hz / isc->quanta1, cam_iosched_ticker, > > isc); > > ^~~ > > quanta > > /usr/src/sys/sys/callout.h:115:28: note: expanded from macro > > 'callout_reset' > > callout_reset_on((c), (on_tick), (fn), (arg), -1) > >^ > > /usr/src/sys/sys/callout.h:112:43: note: expanded from macro > > 'callout_reset_on' > > callout_reset_sbt_on((c), tick_sbt * (to_ticks), 0, (fn), (arg),\ > > ^ > > /usr/src/sys/cam/cam_iosched.c:267:7: note: 'quanta' declared here > > int quanta; /* Number of quanta per > > second */ > > ^ > > 1 error generated. > > ___ > > freebsd-stable@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" > > > ___ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" > -- 青木 知明 [Tomoaki AOKI] Date: Sun May 27 03:55:00 2018 Log: Fix mis-merge on r334229. On r323831, 2nd param is "hz / isc->quanta", not "hz / isc->quanta1". Modified: stable/11/sys/cam/cam_iosched.c Modified: stable/11/sys/cam/cam_iosched.c == --- stable/11/sys/cam/cam_iosched.c Fri May 25 23:18:06 2018 (r334229) +++ stable/11/sys/cam/cam_iosched.c Fri May 27 03:55:00 2018 (Working Copy) @@ -510,7 +510,7 @@ cam_iosched_ticker(void *arg) struct cam_iosched_softc *isc = arg; sbintime_t now, delta; - callout_reset(&isc->ticker, hz / isc->quanta1, cam_iosched_ticker, isc); + callout_reset(&isc->ticker, hz / isc->quanta, cam_iosched_ticker, isc); now = sbinuptime(); delta = now - isc->last_time;___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"