Re: kernel: install: mps.ko.symbols: No such file or directory
В Mon, 23 May 2011 14:55:39 -0700 Garrett Cooper пишет: > On Mon, May 23, 2011 at 11:44 AM, O. Hartmann > wrote: > > On 05/23/11 18:10, Garrett Cooper wrote: > >> > >> On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: > >> > >>> > >> > >> Shouldn't DEBUG_FLAGS be the proper usage in this particular case? > > > > Mmmhhh, > > I changed > > > > .if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \ [...] > > > > to > > > > .if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && \ [...] > > > > > > and everything runs smooth ... > > Please update to r29 and see if things are fixed. > Thanks! > -Garrett Working! Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 23:55, Garrett Cooper wrote: On Mon, May 23, 2011 at 11:44 AM, O. Hartmann wrote: On 05/23/11 18:10, Garrett Cooper wrote: On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: Shouldn't DEBUG_FLAGS be the proper usage in this particular case? Mmmhhh, I changed .if defined(DEBUG)&& !defined(INSTALL_NODEBUG)&& \ [...] to .if defined(DEBUG_FLAGS)&& !defined(INSTALL_NODEBUG)&& \ [...] and everything runs smooth ... Please update to r29 and see if things are fixed. Thanks! -Garrett Done! And working! Thanks, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On Mon, May 23, 2011 at 11:44 AM, O. Hartmann wrote: > On 05/23/11 18:10, Garrett Cooper wrote: >> >> On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: >> >>> >> >> Shouldn't DEBUG_FLAGS be the proper usage in this particular case? > > Mmmhhh, > I changed > > .if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \ [...] > > to > > .if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && \ [...] > > > and everything runs smooth ... Please update to r29 and see if things are fixed. Thanks! -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 18:10, Garrett Cooper wrote: On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: Shouldn't DEBUG_FLAGS be the proper usage in this particular case? -Garrett ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" Mmmhhh, I changed .if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \ [...] to .if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && \ [...] and everything runs smooth ... Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On May 23, 2011, at 5:55 AM, Dimitry Andric wrote: > Shouldn't DEBUG_FLAGS be the proper usage in this particular case? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 14:52, Ivan Klymenko wrote: В Mon, 23 May 2011 10:03:42 +0200 "O. Hartmann" пишет: On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett I've blown away /usr/obj, did a svn update in /usr/src this morning (but there were no updates) and issued make buildworld&& make buildkernel Both went well. But make installkernel still fails installing mps.ko.symbols (which is not found). Oliver ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" I change the line: .if defined(DEBUG)&& !defined(INSTALL_NODEBUG)&& \ on .if (defined(DEBUG) || defined(DEBUG_FLAGS))&& !defined(INSTALL_NODEBUG)&& \ in the file /sys/conf/kmod.mk A diff shows this: Index: /usr/src/sys/conf/kmod.mk === --- /usr/src/sys/conf/kmod.mk (revision 222180) +++ /usr/src/sys/conf/kmod.mk (working copy) @@ -286,7 +286,8 @@ _kmodinstall: ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR} -.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) +.if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \ +(defined(MK_KERNEL_SYMBOLS) && ${MK_KERNEL_SYMBOLS} == "yes") ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR} .endif I reverted manually the changed lines to the previous ones and everthing went smooth. Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On 2011-05-23 14:49, Dimitry Andric wrote: On 2011-05-23 10:03, O. Hartmann wrote: ... But make installkernel still fails installing mps.ko.symbols (which is not found). Is it only mps.ko that suffers from this problem? Or are other kernel modules also resulting in the same message? Ok, I guess it must be just mps.ko, since its Makefile is different. Can you please try the attached patch, which hopefully works around the problem? Index: sys/modules/mps/Makefile === --- sys/modules/mps/Makefile(revision 221502) +++ sys/modules/mps/Makefile(working copy) @@ -8,6 +8,6 @@ SRCS+= device_if.h bus_if.h pci_if.h #CFLAGS += -DMPS_DEBUG -DEBUG += -g +#DEBUG += -g .include ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
В Mon, 23 May 2011 10:03:42 +0200 "O. Hartmann" пишет: > On 05/23/11 00:37, Garrett Cooper wrote: > > On May 22, 2011, at 2:42 PM, O. Hartmann wrote: > > > >> Building kernel and modules with CLANG (did not try with gcc) > >> results in corrupted system with following error message. > >> Operating system is most recent svn update of FreeBSD > >> 9.0-CURRENT/amd64: > >> > >> URL: svn://svn.freebsd.org/base/head > >> Repository Root: svn://svn.freebsd.org/base > >> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > >> Revision: 222199 > >> Node Kind: directory > >> Schedule: normal > >> Last Changed Author: rmacklem > >> Last Changed Rev: 222199 > >> Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) > > > > After doing some review of the checkins made recently and per our > > offline discussion, it might be r222188 that's causing issues. How > > did you issue the build (did you run buildworld buildkernel, or just > > buildkernel, KERNFAST, etc)? > > > > Thanks, > > > > -Garrett > > > I've blown away /usr/obj, did a svn update in /usr/src this morning > (but there were no updates) and issued > > make buildworld && make buildkernel > > Both went well. > > But make installkernel still fails installing mps.ko.symbols (which > is not found). > > Oliver > ___ > freebsd-curr...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscr...@freebsd.org" > > I change the line: .if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \ on .if (defined(DEBUG) || defined(DEBUG_FLAGS)) && !defined(INSTALL_NODEBUG) && \ in the file /sys/conf/kmod.mk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On 2011-05-23 10:03, O. Hartmann wrote: ... But make installkernel still fails installing mps.ko.symbols (which is not found). Is it only mps.ko that suffers from this problem? Or are other kernel modules also resulting in the same message? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 10:36, O. Hartmann wrote: On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett Maybe a hint, I do not know: root@ase: [src] svn diff -r 222185 sys/conf/kmod.mk Index: sys/conf/kmod.mk === --- sys/conf/kmod.mk (revision 222185) +++ sys/conf/kmod.mk (working copy) @@ -286,7 +286,8 @@ _kmodinstall: ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR} -.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && ${MK_KERNEL_SYMBOLS} == "yes" +.if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \ + (defined(MK_KERNEL_SYMBOLS) && ${MK_KERNEL_SYMBOLS} == "yes") ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR} .endif I'll try on another box with the same OS version I have access to in my lab and report ... Oliver All boxes running the most recent FreeBSD 9.0-CURRENT/amd64, compiled with CLANG, suffer from this error. I'll try with gcc compiled system later ... Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett Maybe a hint, I do not know: root@ase: [src] svn diff -r 222185 sys/conf/kmod.mk Index: sys/conf/kmod.mk === --- sys/conf/kmod.mk(revision 222185) +++ sys/conf/kmod.mk(working copy) @@ -286,7 +286,8 @@ _kmodinstall: ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR} -.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && ${MK_KERNEL_SYMBOLS} == "yes" +.if defined(DEBUG) && !defined(INSTALL_NODEBUG) && \ +(defined(MK_KERNEL_SYMBOLS) && ${MK_KERNEL_SYMBOLS} == "yes") ${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \ ${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR} .endif I'll try on another box with the same OS version I have access to in my lab and report ... Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett I've blown away /usr/obj, did a svn update in /usr/src this morning (but there were no updates) and issued make buildworld && make buildkernel Both went well. But make installkernel still fails installing mps.ko.symbols (which is not found). Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On 05/23/11 00:37, Garrett Cooper wrote: On May 22, 2011, at 2:42 PM, O. Hartmann wrote: Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" There were some changes in /usr/src/sys/conf/kmod.mk which seem to issue the problem. My buildcommand sequence is: make buildworld && make kernel && make installworld The sequence make buildworld always performs well. Also the sequence make buildkernel is all right. The installation then fails. Regards, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel: install: mps.ko.symbols: No such file or directory
On May 22, 2011, at 2:42 PM, O. Hartmann wrote: > Building kernel and modules with CLANG (did not try with gcc) results in > corrupted system with following error message. Operating system is most > recent svn update of FreeBSD 9.0-CURRENT/amd64: > > URL: svn://svn.freebsd.org/base/head > Repository Root: svn://svn.freebsd.org/base > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > Revision: 222199 > Node Kind: directory > Schedule: normal > Last Changed Author: rmacklem > Last Changed Rev: 222199 > Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) After doing some review of the checkins made recently and per our offline discussion, it might be r222188 that's causing issues. How did you issue the build (did you run buildworld buildkernel, or just buildkernel, KERNFAST, etc)? Thanks, -Garrett___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
kernel: install: mps.ko.symbols: No such file or directory
Building kernel and modules with CLANG (did not try with gcc) results in corrupted system with following error message. Operating system is most recent svn update of FreeBSD 9.0-CURRENT/amd64: URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 222199 Node Kind: directory Schedule: normal Last Changed Author: rmacklem Last Changed Rev: 222199 Last Changed Date: 2011-05-22 23:04:32 +0200 (So, 22 Mai 2011) The error is: ===> mps (install) install -o root -g wheel -m 555 mps.ko /boot/kernel install -o root -g wheel -m 555 mps.ko.symbols /boot/kernel install: mps.ko.symbols: No such file or directory *** Error code 71 Stop in /usr/src/sys/modules/mps. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/THOR. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"