On Apr 18, 2013 7:04 PM, "Craig Rodrigues" <rodrigc_at_freebsd.org> wrote: > > Hi, > > I am trying to build some software which uses > nanobsd, and mounts/unmounts many nullfs mounts > while it runs. I am hitting failures where > I cannot unmount nullfs file systems. I cannot figure out why. I am also getting similar failures while trying to build freenas. > > Here is more info. > > SYSTEM > ====== > I am running amd64, current build at this revision: > > 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r249181: Sat Apr 6 03:07:32 UTC 2013 > amd64 > > STEPS TO REPRODUCE > =============== > > (1) Create a directory, /opt2/branches. Make sure that /opt2/branches > is on ZFS > > (2) > mkdir -p /opt2/branches/freenas > mkdir -p /opt2/branches/freenas-cache > > (3) > > git clone git://github.com/freenas/freenas.git /opt2/branches/freenas > git clone git:// github.com/freenas/ports.git/opt2/branches/freenas-cache/ports > git clone git:// github.com/trueos/trueos.git/opt2/branches/freenas-cache/trueos > > (4) sudo to root > > (5) cd /opt2/branches/freenas > > (6) > script build.log env GIT_REPO=/opt2/branches/freenas-cache/trueos \ > GIT_PORTS_REPO=/opt2/branches/freenas-cache/ports \ > sh build/do_build.sh > > > The build cranks for a while, and then I get this error: > > 00:02:37 ### log: > /opt2/branches/freenas/os-base/amd64/_.cust.add_pkg_archivers_lzo2 I do not get this. > do_build.sh: ERROR: FreeNAS /opt2/branches/freenas/nanobsd/os-base build > FAILED; please check above log for more details I get this which looks like a generic build failure message. I do not have gnome or any X related things. > > > > If I look in .cust.add_pkg_archivers_lzo2, I see this error: > > + umount /opt2/branches/freenas/os-base/amd64/_.w/usr/ports/distfiles > umount: unmount of > /opt2/branches/freenas/os-base/amd64/_.w/usr/ports/distfiles failed: Device > busy Where do you find/see logs for the build? Another weird thing. Somehow my /sbin was wiped out and only had some pbi-* files in it. This happened to me on 2 different machines while trying to build freenas. I will try to take a closer look today when time permits. Thanks, Hiren > > > If I try to do this manually: > > # umount /opt2/branches/freenas/os-base/amd64/_.w/usr/ports/distfiles > umount: unmount of > /opt2/branches/freenas/os-base/amd64/_.w/usr/ports/distfiles failed: Device > busy > > > I can't figure out why this mount is busy. > If I do: > > umount -f /opt2/branches/freenas/os-base/amd64/_.w/usr/ports/distfiles > > it unmounts, but I don't like using the '-f' flag to force the unmount. > > Any ideas? I am attaching some of my logs. > > -- > Craig > > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"Received on Fri Apr 19 2013 - 12:57:41 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:36 UTC