Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2019 14:04:12 -0000
From:      Tomasz CEDRO <tomek@cedro.info>
To:        freebsd-current@freebsd.org,  FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   current 350855 build error / intel hd 5500 / intel wifi 7265 / sierra em7305
Message-ID:  <CAFYkXjkQyVVeXbs1nLM1765=LCiir_mrFMiM6dJnHEDWpvyy6g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello world :-)

I have switched to a Panasonic Toughbook CF-MX4 (i5-5300U based),
which has problematic:
1. Intel HD 5500 GPU. Cannot see screen (DRM issue?).
2. Intel WiFi 7265. Load format error.
3. Sierra Wireless EM7305. Not recognised by U3G.

None of them seem to work out of the box in 12.0-RELEASE-p9.. does
anyone has any good experience with above hardware components?

1. Needs new DRM driver that does not build outside CURRENT.
2. Probably will work in CURRENT too?
3. Looks like VID/PID needs to be added to U3G module.

On this machine I cannot successfully make buildkernel
(KERNCONF=GENERIC), details below.

Another question is how to build a package with kernel + modules on a
separate more powerful machine in order to simply copy them to a
target machine?


root@0xCFMX4:/usr/src # uname -a
FreeBSD 0xCFMX4 12.0-RELEASE-p9 FreeBSD 12.0-RELEASE-p9 GENERIC  amd64

root@0xCFMX4:/usr/src # svnlite info
Path: .
Working Copy Root Path: /usr/src
URL: https://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 350856
Node Kind: directory
Schedule: normal
Last Changed Author: delphij
Last Changed Rev: 350855
Last Changed Date: 2019-08-11 08:26:03 +0200 (Sun, 11 Aug 2019)

root@0xCFMX4:/usr/src # make buildkernel KERNCONF=GENERIC
(..)
cc -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe
-fno-strict-aliasing  -g -nostdinc  -I. -I/usr/src/sys
 -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD  -MF.
depend.ptrace_machdep.o -MTptrace_machdep.o
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include -mcmodel=kernel
-mno-red-zone -mno-mmx -m
no-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpoi
nter-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error-tautological-compare -Wno-er
ror-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign
-Wno-error-shift-negative-value -Wno-address-of-packed-member
-Wno-format-zero-length  -mno-a
es -mno-avx  -std=iso9899:1999 -Werror
/usr/src/sys/amd64/amd64/ptrace_machdep.c
ctfconvert -L VERSION -g ptrace_machdep.o
cc -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -x assembler-with-cpp
-DLOCORE -O2 -pipe -fno-strict-aliasing  -
g -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h    -fno-omit-frame-pointer -mno-om
it-leaf-frame-pointer -MD  -MF.depend.sigtramp.o -MTsigtramp.o
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include -mcmodel=kernel
-mno-r
ed-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissi
ng-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautologi
cal-compare -Wno-error-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign
-Wno-error-shift-negative-value -Wno-address-of-packed-member
-Wno-format-
zero-length  -mno-aes -mno-avx  -std=iso9899:1999  -Werror
/usr/src/sys/amd64/amd64/sigtramp.S
ctfconvert -L VERSION -g sigtramp.o
cc -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -x assembler-with-cpp
-DLOCORE -O2 -pipe -fno-strict-aliasing  -
g -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h    -fno-omit-frame-pointer -mno-om
it-leaf-frame-pointer -MD  -MF.depend.support.o -MTsupport.o
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include -mcmodel=kernel
-mno-red
-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables
-ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing
-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautologica
l-compare -Wno-error-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign
-Wno-error-shift-negative-value -Wno-address-of-packed-member
-Wno-format-ze
ro-length  -mno-aes -mno-avx  -std=iso9899:1999  -Werror
/usr/src/sys/amd64/amd64/support.S
/usr/src/sys/amd64/amd64/support.S:1817:2: error: instruction
requires: AVX-512 ISA
 vmovdqa64 %zmm0, %gs:0x340
 ^
/usr/src/sys/amd64/amd64/support.S:1818:2: error: instruction
requires: AVX-512 ISA
 vpxord %zmm0, %zmm0, %zmm0
 ^
/usr/src/sys/amd64/amd64/support.S:1821:2: error: instruction
requires: AVX-512 DQ ISA
 vorpd (%rdx), %zmm0, %zmm0
 ^
/usr/src/sys/amd64/amd64/support.S:1822:2: error: instruction
requires: AVX-512 DQ ISA
 vorpd (%rdx), %zmm0, %zmm0
 ^
/usr/src/sys/amd64/amd64/support.S:1834:2: error: instruction
requires: AVX-512 ISA
 vmovdqa64 %gs:0x340, %zmm0
 ^
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
*** Error code 1

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

Stop.
make: stopped in /usr/src


Any hints appreciated :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjkQyVVeXbs1nLM1765=LCiir_mrFMiM6dJnHEDWpvyy6g>