nvidia-drivers not working on -current and panic when unloading

From: Øyvind Kolbu <oyvind_at_kolbu.ws>
Date: Sun, 2 Jan 2005 20:11:27 +0100
Hi

I'm unable to start Xorg with the latest nvidia-drivers, my system is
FreeBSD oyvind-lap-lan.i.kolbu.ws 6.0-CURRENT FreeBSD 6.0-CURRENT #1:
Sun Jan  2 16:25:22 UTC 2005
root_at_oyvind-lap-lan.i.kolbu.ws:/usr/obj/usr/src/sys/lappis  i386
and relevant packages
nvidia-driver-1.0.6113_3
nvidia-settings-1.0_1
xorg-6.8.1
xorg-clients-6.8.1
xorg-documents-6.8.1
xorg-fonts-100dpi-6.8.1
xorg-fonts-75dpi-6.8.1
xorg-fonts-cyrillic-6.8.1
xorg-fonts-encodings-6.8.1
xorg-fonts-miscbitmaps-6.8.1
xorg-fonts-truetype-6.8.1
xorg-fonts-type1-6.8.1
xorg-fontserver-6.8.1
xorg-libraries-6.8.1_1
xorg-nestserver-6.8.1
xorg-printserver-6.8.1
xorg-server-6.8.1
xorg-vfbserver-6.8.1

#sysctl hw.nvidia
hw.nvidia.version: NVIDIA FreeBSD x86 NVIDIA Kernel Module  1.0-6113
Mon Aug  2 16:08:32 PDT 2004
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0

Everytime I try to unload the module, it panics:

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x6c
fault code		= superviser read, page not present
instruction pointer	= 0x8:0xc0a70c82
stack pointer		= 0x10:0xd680ac38
frame pointer		= 0x10:0xd680ac38
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 758 (kldunload)
[thread pid 758 tid 100094 ]
Stopped at	nvidia_modevent+0x56:	cmpl	$0,0x6c(%eax)
db> trace
Tracing pid 758 pid 100094 td 0xc249f5c0
nvidia_modevent(c1d663c0,1,0,4f,c1d663c0) at nvidia_modevent+0x56
driver_module_handler(c1d663c0,1,c0aeaed8) at driver_module_handler+0x10e
module_unload(c1d663c0,0,0,c1f6e400,400) at module_unload+0x68
linker_file_unload(c1d6c600,0,400,1,d680ad48) at linker_file_unload+0x28n
kern_kldunload(0,d680ad14,8,c,c249f5c0) at kern_kldunload+0d8d
syscall(2f,2f,2f,a,bfbfee22) at syscall+0x200
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (444, FreeBSD ELF32, kldunloadf), eip = 0x280c44cf, esp =
0xbfbfe8ac, ebp = 0xbfbfed1c ---
db>

-- 
Øyvind Kolbu

Received on Sun Jan 02 2005 - 18:11:30 UTC

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