Re: immediate panic after nvidia load

From: h v <henry.vogt_at_gmail.com>
Date: Tue, 10 Nov 2020 14:37:53 +0100
Hi,

On 10.11.20 13:13, David Wolfskill wrote:
> On Tue, Nov 10, 2020 at 01:09:14PM +0100, h v wrote:
>> Hi,
>>
>> recent current (faf24c828d5-c254344(main)): macmini3,1 panics after
>> loading nvidia (nvidia-driver-340-340.108_2)
>> .... 
>>
>> How to proceed ?
>>
>> Kind Regards
>>
>> Henry
>> ....
> When you built the kernel, did you also rebuild the nvidia-driver kernel
> module(s)?
>
> If not, you do need to do that.
>
> And easy way to do it (and ensure that it is done henceforth) is to
> append:
>
> PORTS_MODULES+=x11/nvidia-driver
>
> to /etc/src.conf before you do your next kernel build.

usually i build kernel(s) on a fast machine and install them as packages
, but

packaging (make packges) them doesn't work unfortunately:

...

===> Ports module x11/nvidia-driver-340 (install)
cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver-340; env  -u CC  -u CXX  -u
CPP  -u MAKESYSPATH  -u MK_AUTO_OBJ  -u MAKEOBJDIR  MAKEFLAGS="-D
NO_ROOT -D NO_ROOT .MAKE.LEVEL.ENV=MAKELEVEL
DESTDIR=/usr/obj/usr/src/13/amd64.amd64/kernelstage/kernel KERNEL=kernel
MK_META_MODE=no PKG_VERSION=13.0.s20201110130740 TARGET=amd64
TARGET_ARCH=amd64"  SYSDIR=/usr/src/13/sys 
PATH=/usr/obj/usr/src/13/amd64.amd64/tmp/bin:/usr/obj/usr/src/13/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/13/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/13/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/13/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/13/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/13/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin 
SRC_BASE=/usr/src/13  OSVERSION=1300113  WRKDIRPREFIX=/tmp make -B
deinstall reinstall
===>  Creating some important subdirectories
===> /tmp subdirectory has been successfully created
===> /dev subdirectory has been successfully created
===>  Starting chrooted make in
/usr/obj/usr/src/13/amd64.amd64/kernelstage/kernel...
chroot: /bin/sh: No such file or directory
===>  Chrooted make in
/usr/obj/usr/src/13/amd64.amd64/kernelstage/kernel failed
===>  Cleaning up...
*** Error code 1

Stop.
make[9]: stopped in /usr/ports/x11/nvidia-driver-340
*** Error code 1

Stop.
make[8]: stopped in /usr/obj/usr/src/13/amd64.amd64/sys/MODULAR
*** Error code 1


Is there a solution, despite not using packages ?

Best

Henry

-- 
--
OpenPGP Fngerprint: E3F7 8EAF 1ED7 CFFD 9A07 E859 1BED 39D9 B0C8 6AF4
All other Infos removed for Privacy.


Received on Tue Nov 10 2020 - 12:37:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC