Re: Build failures with high parallel make(1) jobs with GCC

2014-04-23 Thread Ian Lepore
On Tue, 2014-04-22 at 00:13 -0400, Glen Barber wrote:
 On Mon, Apr 21, 2014 at 10:05:57PM -0600, Ian Lepore wrote:
  On Mon, 2014-04-21 at 23:26 -0400, Glen Barber wrote:
   On Mon, Apr 21, 2014 at 11:21:24PM -0400, Glen Barber wrote:
On Mon, Apr 21, 2014 at 09:09:42PM -0600, Ian Lepore wrote:
  The last successful build for powerpc on head/ was April 8.  But I 
  am
  having trouble tracking down what commits may (or may not) have
  contributed to recent high-parallel build failures.
  
 
 A couple weeks corresponds somewhat with the parallel subdir build
 changes (it's about 3 weeks now).  Try this patch I cooked up today 
 for
 $work, and in src/lib/Makefile add .WAIT (as if it were a directory
 name) between ${SUBDIR_ORDERED} and the rest of the directories.
 

The patch fails to apply cleanly, but as far as I can tell, it is due to
whitespace.

I'll hand-patch it, and report back.

   
   Nope, I'm getting conflicts on revisions as far back as r251749.
   
   Glen
   
  
  This one should work better.  The lib/Makefile is included this time.
  
 
 This patch applies fine.
 
 It seems to already have an effect, but I won't go so far to say it
 works until I see the 'World build completed: ' message.
 
 I'll follow up tomorrow once build is done.
 
 Thanks!
 
 Glen
 

I think the change to lib/Makefile was not sufficient.  After looking at
the notes on dependenices at the top of the makefile, I think the
attached has some chance of helping.  The bsd.subdir.mk changes are now
commited as r264822. 

-- Ian

Index: lib/Makefile
===
--- lib/Makefile	(revision 264768)
+++ lib/Makefile	(working copy)
@@ -31,9 +31,12 @@
 # Except it appears bind needs to be compiled last
 
 SUBDIR_ORDERED=	${_csu} \
+	.WAIT \
 	libc \
 	libc_nonshared \
+	.WAIT \
 	libbsm \
+	.WAIT \
 	libauditd \
 	libutil \
 	libpjdlog \
@@ -54,6 +57,7 @@ SUBDIR_ORDERED=	${_csu} \
 	libsbuf \
 	libtacplus \
 	${_libypclnt} \
+	.WAIT \
 	${_libcxxrt} \
 	${_libcplusplus}
 
@@ -62,6 +66,7 @@ SUBDIR_ORDERED+=	libcom_err
 .endif
 
 SUBDIR=	${SUBDIR_ORDERED} \
+	.WAIT \
 	libalias \
 	libarchive \
 	${_libatm} \
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: Build failures with high parallel make(1) jobs with GCC

2014-04-23 Thread Glen Barber
On Wed, Apr 23, 2014 at 07:04:46AM -0600, Ian Lepore wrote:
 I think the change to lib/Makefile was not sufficient.  After looking at
 the notes on dependenices at the top of the makefile, I think the
 attached has some chance of helping.  The bsd.subdir.mk changes are now
 commited as r264822. 
 

Thanks, I'll let you know in a few hours when the builds that are in
progress now are finished.

Glen



pgpinVhb98T9b.pgp
Description: PGP signature


Re: ZFS bug or feature

2014-04-23 Thread Andrey Fesenko
On Tue, Apr 22, 2014 at 9:31 PM, Thomas Hoffmann trh...@gmail.com wrote:
 In /boot/loader.conf:
 kern.geom.label.disk_ident.enable=0

 will disable the use of disk ids.

 -Tom

Yes it helped :)
I apologize for a small panic, then looked more closely again, and so
everything was more or less normal
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Booting from ZFS root on MBR layout fails on ThinkPad X61s

2014-04-23 Thread Andrey Fesenko
On Wed, Apr 16, 2014 at 2:01 AM, Sevan / Venture37 ventur...@gmail.com wrote:
 Hi,
 I decided to wipe away the disk in my X61s  start afresh with a new
 install of FreeBSD-Current at the same time switching to root on ZFS
 (previously /boot was on UFS).
 I've been unsuccessful in being able get the system to boot, after
 trying various combinations of
 https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition I switched back to
 using the install menu option  just switching from GPT to MBR
 (everything else as default).
 Once install completes  the system reboots, the system hangs at a prompt.

 I was pointed to a post regarding modifying partition ID's by Allan
 Jude as there seems to have been an issue with ThinkPads  FreeBSD in
 the past. This also didn't work  caused the system to reset.

 What should be my next step for trying to debug this issue?


 Sevan / Venture37


It seems there are some problems with compatibility :(
I'm have X220 my config
# camcontrol devlist
Corsair Neutron SSD M206 at scbus0 target 0 lun 0 (ada0,pass0)
OCZ-NOCTI 2.15   at scbus1 target 0 lun 0 (ada1,pass1)

 % gpart show
=   63  468862065  ada0  MBR  (224G)
 63  234441585 1  freebsd  (112G)
  234441648  234420480 2  freebsd  (112G)

=0  234441585  ada0s1  BSD  (112G)
  0  234441585   1  freebsd-zfs  (112G)

=   63  234441585  ada1  MBR  (112G)
 63  234441585 1  freebsd  [active]  (112G)

=0  234441585  ada1s1  BSD  (112G)
  0  234441585   1  freebsd-zfs  (112G)

system ZFS mirror x220pool (ada0s1a ada1s1a) boot only ada1 (msata) disk.
Boot with GPT not work, black screen and reboot without any menu.

When I used HDD as ada1 boot with him work MBR method
Might be worth trying to boot from UEFI but it's still an experimental
method https://wiki.freebsd.org/UEFI
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Booting from ZFS root on MBR layout fails on ThinkPad X61s

2014-04-23 Thread Allan Jude
On 2014-04-23 16:33, Andrey Fesenko wrote:
 On Wed, Apr 16, 2014 at 2:01 AM, Sevan / Venture37 ventur...@gmail.com 
 wrote:
 Hi,
 I decided to wipe away the disk in my X61s  start afresh with a new
 install of FreeBSD-Current at the same time switching to root on ZFS
 (previously /boot was on UFS).
 I've been unsuccessful in being able get the system to boot, after
 trying various combinations of
 https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition I switched back to
 using the install menu option  just switching from GPT to MBR
 (everything else as default).
 Once install completes  the system reboots, the system hangs at a prompt.

 I was pointed to a post regarding modifying partition ID's by Allan
 Jude as there seems to have been an issue with ThinkPads  FreeBSD in
 the past. This also didn't work  caused the system to reset.

 What should be my next step for trying to debug this issue?


 Sevan / Venture37

 It seems there are some problems with compatibility :(
 I'm have X220 my config
 # camcontrol devlist
 Corsair Neutron SSD M206 at scbus0 target 0 lun 0 (ada0,pass0)
 OCZ-NOCTI 2.15   at scbus1 target 0 lun 0 (ada1,pass1)

  % gpart show
 =   63  468862065  ada0  MBR  (224G)
  63  234441585 1  freebsd  (112G)
   234441648  234420480 2  freebsd  (112G)

 =0  234441585  ada0s1  BSD  (112G)
   0  234441585   1  freebsd-zfs  (112G)

 =   63  234441585  ada1  MBR  (112G)
  63  234441585 1  freebsd  [active]  (112G)

 =0  234441585  ada1s1  BSD  (112G)
   0  234441585   1  freebsd-zfs  (112G)

 system ZFS mirror x220pool (ada0s1a ada1s1a) boot only ada1 (msata) disk.
 Boot with GPT not work, black screen and reboot without any menu.

 When I used HDD as ada1 boot with him work MBR method
 Might be worth trying to boot from UEFI but it's still an experimental
 method https://wiki.freebsd.org/UEFI
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


If anyone who is having trouble getting ZFS booting on one of these
Lenovos is going to be at BSDCan, and has a spare disk they are willing
to let me hack on, I would be interested in trying to get it booting for
you so we can develop a solution to this issue if there is one. I am
under the impression the issue is the way gpart does the MBR (or pMBR)
with respect to the 'active' flag, but there are a number of different
things i'd like to try.

It all works flawlessly on my T530
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Booting from ZFS root on MBR layout fails on ThinkPad X61s

2014-04-23 Thread Sevan / Venture37


 On 22 Apr 2014, at 16:19, Hiroo Ono (小野寛生) hiroo.ono+free...@gmail.com 
 wrote:
 
 Does it make any difference if you put
 
 geom_part_mbr_load=YES
 geom_part_bsd_load=YES
 
 in /boot/loader.conf before rebooting?

It must be ZFS testing night :)
Unfortunately, this didn't work
No uefi support on the X61s either :(


Sevan / Venture37
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: Booting from ZFS root on MBR layout fails on ThinkPad X61s

2014-04-23 Thread Sevan / Venture37


 On 23 Apr 2014, at 21:54, Allan Jude free...@allanjude.com wrote:
 
 If anyone who is having trouble getting ZFS booting on one of these
 Lenovos is going to be at BSDCan, and has a spare disk they are willing
 to let me hack on


If anyone can cover my flight expenses, to BSDCan this year, Im happy to take 
my X61s to the con.

Sevan / Venture37
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org