problems with installworld

2018-08-18 Thread John
Hello lists,

context:  11.1-STABLE #0 r331421

Source build: make buildworld make buildkernel make installkernel all work. I 
try running make installworld and I get the following error:

# make installworld
make[1]: "/usr/obj/usr/src/amd64.amd64/toolchain-metadata.mk" line 1: Using 
cached toolchain metadata from build at eggs.local on Fri Aug 17 17:17:15 BST 
2018
Illegal instruction (core dumped)
rescue/sh check failed, installation aborted
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

This happens regardless of whether I use 11-stable sources or, as now, 
12-current sources. 

I start the build like this, in /usr/src:

1. rm -rf /usr/obj
2. mkdir /usr/obj
3. rm -rf /ccache
4. mkdir /ccache
5. make cleanworld
6. make cleandir
7. make clean
8 make -j2 buildworld
9. make -j2 buildkernel
10. make installkernel
11. mergemaster -p
12. make installworld

/etc/src.conf looks like this:

KERNCONF=MYKERNEL
WITH_CCACHE_BUILD="TRUE"
WITHOUT_ASSERT_DEBUG="YES"
WITHOUT_ATM="YES"
WITHOUT_AUDIT="YES"
WITHOUT_BLUETOOTH="YES"
WITHOUT_BOOTPD="YES"
WITHOUT_BSNMP="YES"
WITHOUT_CUSE="YES"
WITHOUT_DMAGENT="YES"
WITHOUT_FINGER="YES"
WITHOUT_FLOPPY="YES"
WITHOUT_FREEBSD_UPDATE="YES"
WITHOUT_HAST="YES"
WITHOUT_HYPERV="YES"
WITHOUT_INETD="YES"
WITHOUT_IPFILTER="YES"
WITHOUT_IPX="YES"
WITHOUT_IPX_SUPPORT="YES"
WITHOUT_ISCSI="YES"
WITHOUT_JAIL="YES"
WITHOUT_KERBEROS="YES"
WITHOUT_KERBEROS_SUPPORT="YES"
WITHOUT_LPR="YES"
WITHOUT_NDIS="YES"
WITHOUT_NETGRAPH="YES"
WITHOUT_PORTSNAP="YES"
WITHOUT_PPP="YES"
WITHOUT_QUOTAS="YES"
WITHOUT_RADIUS_SUPPORT="YES"
WITHOUT_RBOOTD="YES"
WITHOUT_RCMDS="YES"
WITHOUT_ROUTED="YES"
WITHOUT_SHAREDOCS="YES"
WITHOUT_TALK="YES"
WITHOUT_TFTP="YES"
WITHOUT_TCP_WRAPPERS="YES"
WITHOUT_TESTS="YES"
WITHOUT_UNBOUND="YES"
WITHOUT_WIRELESS="YES"

/etc/make.conf looks like this:

MALLOC_PRODUCTION=YES
MAKE_JOBS_NUMBER=3
WITH_CCACHE_BUILD=YES
CCACHE_DIR=/ccache
WITH_MANCOMPRESS=YES
OPTIONS_SET+= OPTIMIZED_CFLAGS
OPTIONS_SET+= ICONV
#DEFAULT_VERSIONS+= ssl=port
CPUTYPE?=penryn
USE_LOCALE=en_GB.UTF-8
# Disable sendmail!
NO_SENDMAIL=true

I'm going to try again without src.conf or make.conf. Is there anything else 
that could cause this error?

thanks,
-- 
J.
  
___
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: problems with installworld

2018-08-18 Thread Polytropon
On Sat, 18 Aug 2018 10:39:20 +0100, John wrote:
> Hello lists,
> 
> context:  11.1-STABLE #0 r331421
> 
> Source build: make buildworld make buildkernel make installkernel
> all work. I try running make installworld and I get the following error:
> 
> # make installworld
> make[1]: "/usr/obj/usr/src/amd64.amd64/toolchain-metadata.mk" line 1:
> Using cached toolchain metadata from build at eggs.local on Fri Aug
> 17 17:17:15 BST 2018
> Illegal instruction (core dumped)
> rescue/sh check failed, installation aborted
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src
> 
> This happens regardless of whether I use 11-stable sources or, as now, 
> 12-current sources. 
> 
> I start the build like this, in /usr/src:
> 
> 1. rm -rf /usr/obj
> 2. mkdir /usr/obj
> 3. rm -rf /ccache
> 4. mkdir /ccache
> 5. make cleanworld
> 6. make cleandir
> 7. make clean
> 8 make -j2 buildworld
> 9. make -j2 buildkernel
> 10. make installkernel
> 11. mergemaster -p
> 12. make installworld

Try to follow the instructions on top of /usr/src/Makefile
(comment header). Before you perform "make installworld",
make sure you have rebooted the system into single-user mode
(with the new kernel).

Also see "man 7 build" for details.



> I'm going to try again without src.conf or make.conf. Is there
> anything else that could cause this error?

Hardware problems. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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"


changes in iostat output in 11.x vs 10.x

2018-08-18 Thread Miroslav Lachman
I upgraded one of our servers from 10.4 to 11.2 and scripts using output 
of "iostat -x" are not working anymore.

A checked the output of iostat and it is different.

# on 10.4

# iostat -w 5 -c 2 -x ada0 ada1
extended device statistics
device r/s   w/skr/skw/s qlen svc_t  %b
ada0  51.5  28.3  1381.4   539.70   9.7  33
ada1  51.4  28.2  1381.5   539.70  10.1  34
extended device statistics
device r/s   w/skr/skw/s qlen svc_t  %b
ada0   0.2   6.4 2.4   136.50   2.9   2
ada1   0.0   5.8 0.0   136.50   3.4   2


# on 11.2

# iostat -w 5 -c 2 -x ada0 ada1
extended device statistics
device   r/s w/s kr/s kw/s  ms/r  ms/w  ms/o  ms/t qlen  %b
ada0   6  24 35.9697.9 2 177 30   6
ada1   6  23 34.9697.9 2 177 30   6
extended device statistics
device   r/s w/s kr/s kw/s  ms/r  ms/w  ms/o  ms/t qlen  %b
ada0   0  21  0.0776.6 0 096 20   5
ada1   0  21  0.0776.6 0 0   100 20   5

But I cannot find the explanation of new columns. The manpage seems the 
same for 10.4 and 11.2


   The extended iostat device display, with the -x flag specified,
   shows the following statistics:

   r/s read operations per second
   w/s write operations per second
   kr/skilobytes read per second
   kw/skilobytes write per second
   qlentransactions queue length
   svc_t   average duration of transactions, in milliseconds
   %b  % of time the device had one or more outstanding transac-
   tions

But there is no svc_t column anymore and there are ms/r ms/w ms/o and 
ms/t columns not mentioned in man page.


Is it a documentation bug?

Is ms/t the same what was previously known as svc_t?

Kind regards
Miroslav Lachman
___
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"