Re: buildworld: don't know how to make iterator.cc
On 22/01/2012 05:32, Jeremy Chadwick wrote: csup then pulls down src/some/Makefile (for RELENG_9), where the version number is different; say, version 1.14.3.0. Note that the version number is not higher (larger) than the previous (1.14.12.3). Thus /usr/src/some/Makefile doesn't get changed/modified. I've never noticed csup(1) being at all reluctant to update a file based on the version number going backwards. Case in point -- recently the cvsup.uk.freebsd.org server has been frozen and not accepting updates from upstream. I've been updating my ports from a different cvsup server -- if I try cvsup.uk again, I get this: % root csup -h cvsup.uk.freebsd.org /usr/share/examples/cvsup/ports-supfile Connected to 2001:630:212:8:20e:cff:fe09:a69c Updating collection ports-all/cvs Checkout ports/MOVED Checkout ports/Mk/bsd.gnustep.mk Checkout ports/Mk/bsd.linux-apps.mk Checkout ports/Mk/bsd.port.mk Checkout ports/Mk/bsd.sites.mk Checkout ports/Tools/scripts/mergebase.sh Checkout ports/UPDATING Checkout ports/archivers/par2cmdline-tbb/Makefile Checkout ports/archivers/unrar-iconv/Makefile Checkout ports/archivers/unrar-iconv/files/patch-iconv Checkout ports/archivers/unshield/Makefile Delete ports/archivers/unshield/files/patch-unshield-v2-format Checkout ports/archivers/upx/Makefile Checkout ports/archivers/upx/distinfo Checkout ports/archivers/upx/files/patch-src-packer.h Checkout ports/astro/R-cran-maptools/Makefile Checkout ports/astro/R-cran-maptools/distinfo ^CCleaning up ... Connection to localhost closed. That's reverting most of the changes in the last week or so. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: FreeBSD hangs on boot after kernel upgrade to 9.0-R
On Sun, 22 Jan 2012 14:47:47 +1100 (EST), Ian Smith wrote On Sun, 22 Jan 2012, mato wrote: On Sat, 21 Jan 2012 22:57:05 +0200, Alexander Motin wrote Hi. On 01/21/12 21:34, mato wrote: I've used freebsd-update to upgrade from 8.2-R to 9.0-R and all looked niceuntil the first reboot. Now my FreeBSD always hangs midway through the bootprocess and the last message output is:uhub3:Intel EHCI root HUB...I've tried safe boot option but that does not help at all.When I disable USB support in BIOS the last message before hang is:ata1: reset tp1 mask=03 ostat0=00 ostat1=00(aprobe0:ata0:0:1:0): SIGNATURE: eb14 Any idea what might be wrong and how to fix it please ? The last line is the ATAPI device detection. What ATA controller doyou have there? On one Core2Duo-class Supermicro system alike hangwas caused by ITE PATA controller. In that case it was workaroundedby adding hint.ata.0.mode=PIO4 to /oot/loader.conf. You may tryjust set it from loader prompt with `set` command. I don't know exact controller but this is Pentium M based laptop. Which one? HDD is primary master while DVD drive is primary slave. :-/ And it's been working like this since FreeBSD 5.3. Anyway, I've tried your advice but unfortunately it did not help. Here is longer log (retyped from screen): ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb ata0: reset tp2 stat0=50 stat1=00 devices=0x20001 (aprobe0:ata0:0:0:0): SIGNATURE: ata1: reset tp1 mask=03 ostat0=00 ostat1=00 (aprobe0:ata0:0:1:0): SIGNATURE: eb14 Then it hangs. And please note it looks differently when USB is not turned off in BIOS. Though I have no idea if / how that matters. So what now please ? Any other things to try ? It's possible this is not an ATA problem; these being the last messages you see may just be the last (maybe) successful thing happening; those messages look about normal to me. I had similar symptoms (ie the last messages before the problem occurring being ATA ones) with a long term error (60 second stall) when resuming my Thinkpad T23, which turned out to be a USB problem, in my case with UHCI. The solution to that was to build a kernel thus: include GENERIC ident NO_UHCI # load on boot, unload/reload around suspend/resume nodeviceuhci# UHCI PCI-USB interface # not used nodeviceohci# OHCI PCI-USB interface # not used, USB 1 only nodeviceehci# EHCI PCI-USB interface (USB 2.0) That's on 8.2-RELEASE, but I haven't heard of this issue being resolved on 9 yet. Of course, if you can't boot you can't build a new kernel on it, but I thought I'd mention USB as a possible 'hidden' issue here. It seems USB is innocent here as upon turning it back on in BIOS USB mesages are intermixed with ATA ones .. here are the last 4 before hang: uhub2: Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus2 (aprobe0:ata0:0:1:0): SIGNATURE: eb14 ugen3.1: Intel at usbus3 uhub3: Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus3 I waited several minutes but no progress, it seems stuck. M. PS: This laptop is Asus W1N with following specs: Pentium M, 1GB RAM, 80GB HDD, Pioneer DVD-RW DVR-K14AS, Intel 82801DBM Ultra ATA Storage Controller - 24CA, Intel 82801DB/DBM USB2 Enhanced Host Controller - 24CD. Freehosting PIPNI - http://www.pipni.cz/ ___ 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
Re: buildworld: don't know how to make iterator.cc
On Sun, Jan 22, 2012 at 09:09:03AM +, Matthew Seaman wrote: On 22/01/2012 05:32, Jeremy Chadwick wrote: csup then pulls down src/some/Makefile (for RELENG_9), where the version number is different; say, version 1.14.3.0. Note that the version number is not higher (larger) than the previous (1.14.12.3). Thus /usr/src/some/Makefile doesn't get changed/modified. I've never noticed csup(1) being at all reluctant to update a file based on the version number going backwards. Case in point -- recently the cvsup.uk.freebsd.org server has been frozen and not accepting updates from upstream. I've been updating my ports from a different cvsup server -- if I try cvsup.uk again, I get this: % root csup -h cvsup.uk.freebsd.org /usr/share/examples/cvsup/ports-supfile Connected to 2001:630:212:8:20e:cff:fe09:a69c Updating collection ports-all/cvs Checkout ports/MOVED Checkout ports/Mk/bsd.gnustep.mk Checkout ports/Mk/bsd.linux-apps.mk Checkout ports/Mk/bsd.port.mk Checkout ports/Mk/bsd.sites.mk Checkout ports/Tools/scripts/mergebase.sh Checkout ports/UPDATING Checkout ports/archivers/par2cmdline-tbb/Makefile Checkout ports/archivers/unrar-iconv/Makefile Checkout ports/archivers/unrar-iconv/files/patch-iconv Checkout ports/archivers/unshield/Makefile Delete ports/archivers/unshield/files/patch-unshield-v2-format Checkout ports/archivers/upx/Makefile Checkout ports/archivers/upx/distinfo Checkout ports/archivers/upx/files/patch-src-packer.h Checkout ports/astro/R-cran-maptools/Makefile Checkout ports/astro/R-cran-maptools/distinfo ^CCleaning up ... Connection to localhost closed. That's reverting most of the changes in the last week or so. I'm not sure this is a valid test. Your test validates that you can change mirrors while using the same release tag without issue (which is absolutely 100% true). What I'm mainly describing is what happens when you change release tags without nuking /usr/src. Staying with one release tag and reverting to an earlier version number works fine. -- | Jeremy Chadwick j...@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB | ___ 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
global make -s
Hello, I'd like to know is there any good way to implement make -s behaivor as a default, 'cos in man make.conf examplet/etc/make.conf there's no anything about it. In most cases I just don't want to see echo output of make. I've added an alias to .cshrc like this^ alias make make -s \!:1 but I don't know could be there any negativity. Any advices? ___ 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
Re: buildworld: don't know how to make iterator.cc
On Sat, 21 Jan 2012 21:04:06 -0800 Jeremy Chadwick free...@jdc.parodius.com wrote: On Sun, Jan 22, 2012 at 01:37:31PM +0900, Randy Bush wrote: fresh csup, multiple am64 machines trying to go from 8.2 to 9.0 it is also on an one i386 running 9.0 FreeBSD psg.com 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #2: Sat Dec 24 13:35:25 GMT 2011 r...@psg.com:/usr/obj/usr/src/sys/PSG i386 sh /usr/src/tools/install.sh -s -o root -g wheel -m 555 clang-tblgen /usr/obj/usr/src/tmp/legacy/usr/bin === gnu/usr.bin/gperf (obj,depend,all,install) /usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/gperf created for /usr/src/gnu/usr.bin/gperf === gnu/usr.bin/gperf/doc (obj) /usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/gperf/doc created for /usr/src/gnu/usr.bin/gperf/doc make: don't know how to make iterator.cc. Stop Randy, when moving from one to another, are you deleting the contents of /usr/src before doing the csup? More explicitly, this is what you should do when going from one release to another: rm -fr /usr/src rm -fr /var/db/sup/src-all rm -fr /usr/obj/* csup ... I have this problem on two of my systems. Yesterday I was trying my weekly update on a i386 9.0 stable and had this failure. This morning on my i386 8.2 stable I had the same failure. I csup'd the sources again and it found no changes. I the changed my supfile from mirro 10 to mirror 5 and it updated many source files. I am now in the process of building world and it has went well past the previous failure. I am assuming that it will complete, but if not I will follow up with another email. It appears to just be a problem of an un-updated mirror. HTH Robert ___ 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
make release and TARGET=powerpc
Cross-building went fine (buildworld, buildkernel), but making the USB-image seems to not work (At least on my system) make release TARGET=powerpc TARGET_ARCH=powerpc64 __MAKE_CONF=/dev/null SRCCONF=/dev/null NOPORTS=1 NOSRC=1 ... sh /usr/src/release/powerpc/make-memstick.sh /usr/obj/usr/src/release/release /usr/obj/usr/src/release/memstick Calculated size of `/usr/obj/usr/src/release/memstick.36155': 494223360 bytes, 12459 inodes Extent size set to 8192 /usr/obj/usr/src/release/memstick.36155: 471.3MB (965280 sectors) block size 8192, fragment size 1024 using 9 cylinder groups of 54.09MB, 6924 blks, 1472 inodes. super-block backups (for fsck -b #) at: 32, 110816, 221600, 332384, 443168, 553952, 664736, 775520, 886304, Populating `/usr/obj/usr/src/release/memstick.36155' Image `/usr/obj/usr/src/release/memstick.36155' complete 49992+0 records in 49992+0 records out 511918080 bytes transferred in 3.916377 secs (130712153 bytes/sec) gpart: scheme 'APM': Invalid argument gpart: No such geom: md1. gpart: No such geom: md1. gpart: No such geom: md1. dd: /dev/md1s3: Operation not supported copying filesystem into image file failed *** Error code 1 Stop in /usr/src/release. *** Error code 1 Stop in /usr/src/release. The same thing also happens if TARGET = TARGET_ARCH. But sparc64 as TARGET worked fine. -- chs, ___ 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
Re: global make -s
On 22.01.2012 07:54, Michael BlackHeart wrote: Hello, I'd like to know is there any good way to implement make -s behaivor as a default, 'cos in man make.conf examplet/etc/make.conf there's no anything about it. In most cases I just don't want to see echo output of make. I've added an alias to .cshrc like this^ alias make make -s \!:1 but I don't know could be there any negativity. Any advices? You can set MAKEFLAGS=-s in your shell environment, or add -s to whatever other value you're using for MAKEFLAGS. IMHO, this would be a fine thing in a universe where everything would always go right; in our own universe, I doubt that this is a good idea because when things do go wrong you won't have any context for it. -- Clifton -- Clifton Royston -- clift...@iandicomputing.com / clift...@volcano.org Custom programming, network design, systems and network consulting services ___ 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
Re: global make -s
On 22.01.2012 03:54, Michael BlackHeart wrote: Hello, I'd like to know is there any good way to implement make -s behaivor as a default, 'cos in man make.conf examplet/etc/make.conf there's no anything about it. In most cases I just don't want to see echo output of make. I've added an alias to .cshrc like this^ alias make make -s \!:1 but I don't know could be there any negativity. Any advices? You can set MAKEFLAGS=-s in your shell environment, or add -s to the current value of MAKEFLAGS if you have one. That should work. IMHO this would be good practice only in a universe where everything would always work right. In our own, this means anytime something goes wrong, you'll have no context for it. If you don't mind having to change flags and rerun whatever make command failed, when something fails, to find out what went wrong where, it's your call. -- Clifton -- Clifton Royston -- clift...@iandicomputing.com / clift...@volcano.org Custom programming, network design, systems and network consulting services ___ 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
Re: GENERIC make buildkernel error / fails - posix_fadvise
On 12.01.2012 15:52, Doug Barton wrote: chflags -R noschg /usr/obj/usr rm -rf /usr/obj/usr It's much faster to do: /bin/rm -rf ${obj}/* 2 /dev/null || /bin/chflags -R 0 ${obj}/* /bin/rm -rf ${obj}/* If I could just add one thing here, for those who might be tempted to immediately cut and paste that elegant command line: Consider, how does that command evaluate if the shell variable obj is not set, and you're running that literal string as root? A: You will very systematically wipe your entire server, starting at the root, and doing a second pass to get any protected files you missed. I'd recommend something safer like approximately this (untested): if [X${obj} != X -a -d ${obj}]; then cd ${obj} (rest of cmds); fi Sorry for the wasted bandwidth, for those to whom it was obvious, but anybody who has ever had to clean up after a junior admin's attempt to do something a little too clever will appreciate why I'm posting this. On the efficiency front, for the core file deletion operators, I've had good results with this trick (requires Perl and makes use of its implicit-operand idioms): find ${obj} | perl -nle unlink If rm had an option to take files from standard input, or if there's another program I'm not aware of which does this, it could serve as the right-hand side of this. -- Clifton -- Clifton Royston -- clift...@iandicomputing.com / clift...@volcano.org Custom programming, network design, systems and network consulting services ___ 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
Re: GENERIC make buildkernel error / fails - posix_fadvise
On 22/01/2012 19:00, clift...@volcano.org wrote: If rm had an option to take files from standard input, or if there's another program I'm not aware of which does this, it could serve as the right-hand side of this. xargs(1) -- generic solution to taking a list of command arguments from a file or pipe, and building a command line from them. So, supposing you have a list of files (one per line) you want to delete in a file called 'goners': xargs rm -f goners xargs(1) is very commonly used in pipelines with find(1). Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: GENERIC make buildkernel error / fails - posix_fadvise
On 22.01.2012 13:16, Matthew Seaman wrote: On 22/01/2012 19:00, clift...@volcano.org wrote: If rm had an option to take files from standard input, or if there's another program I'm not aware of which does this, it could serve as the right-hand side of this. xargs(1) -- generic solution to taking a list of command arguments from a file or pipe, and building a command line from them. ... xargs(1) is very commonly used in pipelines with find(1). Thanks for making it clear that my comment was unclear. :-) I had meant a program which reads the input file list as xargs does and operates directly on its operands as xargs does I'm very familiar with xargs, and have used it in many a shell script. However, it has the weakness that it will end up doing many invocations on the executable operand, as it batches up the input into command line arguments. I don't know to what extent that overhead would compare to the other sources of overhead discussed earlier, or the overhead of executing a Perl interpreter opcode per input, but I'd guess it's higher. I think I tried that specific comparison of xargs rm vs. perl -nle unlink once, some years ago, for some kind of temp file cleanup, and found the latter was faster. I don't have any numbers though, and if I did they'd be long out of date. -- Clifton -- Clifton Royston -- clift...@iandicomputing.com / clift...@volcano.org Custom programming, network design, systems and network consulting services ___ 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
Re: GENERIC make buildkernel error / fails - posix_fadvise
On Sun, Jan 22, 2012 at 01:00:46PM -0600, clift...@volcano.org wrote: On 12.01.2012 15:52, Doug Barton wrote: chflags -R noschg /usr/obj/usr rm -rf /usr/obj/usr It's much faster to do: /bin/rm -rf ${obj}/* 2 /dev/null || /bin/chflags -R 0 ${obj}/* /bin/rm -rf ${obj}/* If I could just add one thing here, for those who might be tempted to immediately cut and paste that elegant command line: Consider, how does that command evaluate if the shell variable obj is not set, and you're running that literal string as root? A: You will very systematically wipe your entire server, starting at the root, and doing a second pass to get any protected files you missed. I'd recommend something safer like approximately this (untested): if [X${obj} != X -a -d ${obj}]; then cd ${obj} (rest of cmds); fi Sorry for the wasted bandwidth, for those to whom it was obvious, but anybody who has ever had to clean up after a junior admin's attempt to do something a little too clever will appreciate why I'm posting this. An easier way is to replace the first ${obj} with ${obj:?}, causing an error if obj is unset or null. One limitation is that it does not work with (t)csh. On the efficiency front, for the core file deletion operators, I've had good results with this trick (requires Perl and makes use of its implicit-operand idioms): find ${obj} | perl -nle unlink If rm had an option to take files from standard input, or if there's another program I'm not aware of which does this, it could serve as the right-hand side of this. This does not handle all possible characters in filenames, such as a newline. The perlrun manpage suggests something with find's -print0 primary. Alternatively, use find's -unlink primary. -- Jilles Tjoelker ___ 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
Re: buildworld: don't know how to make iterator.cc
I have this problem on two of my systems. Yesterday I was trying my weekly update on a i386 9.0 stable and had this failure. This morning on my i386 8.2 stable I had the same failure. I csup'd the sources again and it found no changes. I the changed my supfile from mirro 10 to mirror 5 and it updated many source files. I am now in the process of building world and it has went well past the previous failure. I am assuming that it will complete, but if not I will follow up with another email. It appears to just be a problem of an un-updated mirror. confirmed. hubs cc:d randy ___ 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
Re: GENERIC make buildkernel error / fails - posix_fadvise
On 01/22/2012 11:00, clift...@volcano.org wrote: On 12.01.2012 15:52, Doug Barton wrote: chflags -R noschg /usr/obj/usr rm -rf /usr/obj/usr It's much faster to do: /bin/rm -rf ${obj}/* 2 /dev/null || /bin/chflags -R 0 ${obj}/* /bin/rm -rf ${obj}/* If I could just add one thing here, for those who might be tempted to immediately cut and paste that elegant command line: Consider, how does that command evaluate if the shell variable obj is not set, and you're running that literal string as root? It wasn't intended that anyone actually do what you're considering. I assumed that our users are smart enough to know that they have to substitute the actual value of /usr/obj. Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ ___ 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
Re: Timekeeping in stable/9
On Sun, Jan 22, 2012 at 4:42 AM, Kevin Oberman kob6...@gmail.com wrote: I suspect that most VB users on FreeBSD use it to get access to a small number of took on Windows...the ones in Office. It's still better than either LibreOffice or OpenOffice.org for either documents or presentations, especially presentations that will be displayed on a Windows system (as most are). We are running a Zimbra Mail Server on FreebSD + VirtualBox. I have seen timekeeping issues with various virtualization solutions over the years, including VMWare ESXi and ESX. I tried NTP inside the VMs as well as some tricks to enhance the syncing with the host - all with mixed success. One of the reasons I love jails;-) Sorry, it does not help to solve the specific problem but I thought I add my usage example - it is not all Windows.. Regards Peter ___ 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