Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 20:21:31 +0200
From:      "Ian Barnes" <ian@cerebellum.za.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Getting NV-BSD to work
Message-ID:  <FHEJKDPFENCDIBKGNOLJOEEJCMAA.ian@cerebellum.za.net>

next in thread | raw e-mail | index | archive | help
Hello,

I am trying to get Nv-BSD to run, NV-BSD is a graphics driver initiative for
Nvidia Graphics Cards, when trying to compile it, i get the errors bellow.

The file versions i downloaded are :

nv-bsd-090102.tar.gz
NVIDIA_kernel-1.0-2960.tar.gz
NVIDIA_GLX-1.0-2960.tar.gz

Included are the outputs when i type make, my dmesg, and an ls -l of the
nv-bsd dir.

********THIS IS THE MAKE*************
[root@nicki] ~/nvidia/nv-bsd # make

Warning: Object directory not changed from original /root/nvidia/nv-bsd
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
perl @/kern/makeops.pl -h @/kern/device_if.m
perl @/kern/makeops.pl -h @/kern/bus_if.m
perl @/kern/makeops.pl -h @/pci/pci_if.m
perl @/kern/vnode_if.pl -h @/kern/vnode_if.src
cc -O -pipe   -D_KERNEL -Wall -Wredundant-decls -Wnested-externs
-Wstrict-protot
ypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extens
ions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I@/../include -I/usr/include
-m
preferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-pro
totypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-ext
ensions -ansi -D__KERNEL__ -c nv.c
nv.c: In function 'nv_map_device':
nv.c:72: incompatible types in assignment
nv.c:73: warning: format argument is not a pointer (arg 3)
nv.c:74: structure has no member named 'regs_u'
nv.c:75: incompatible types in assignment
nv.c:76: warning: format argument is not a pointer (arg 3)
nv.c:77: structure has no member named 'fb_u'
nv.c: In function 'nv_int10h_call':
nv.c:106: structure has no member named 'regs_u'
nv.c: In function 'nv_find_alloc':
nv.c:146: warning: label 'done' defined but not used
nv.c: At top level:
nv.c:202: warning: function declaration isn't a prototype
nv.c:207: warning: function declaration isn't a prototype
nv.c: In function 'nv_vtop':
nv.c:326: warning: pointer of type 'void *' used in subtraction
nv.c:333: warning: comparison between pointer and integer
nv.c:355: warning: pointer of type 'void *' used in arithmetic
nv.c: In function 'nv_attach':
nv.c:483: structure has no member named 'reg_physical_address'
nv.c:485: structure has no member named 'fb_physical_address'
nv.c:488: structure has no member named 'reg_physical_address'
nv.c:489: structure has no member named 'fb_physical_address'
nv.c:499: structure has no member named 'interrupt_pin'

*** Error code 1

Stop in /root/nvidia/nv-bsd.
[root@nicki] ~/nvidia/nv-bsd #


***************THIS IS THE DMESG.OUT***************

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.6-STABLE #1: Mon Jun 17 12:04:24 SAST 2002
    root@:/usr/src/sys/compile/NICKI
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3

Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536805376 (524224K bytes)
avail memory = 518631424 (506476K bytes)
Preloaded elf kernel "kernel" at 0xc039d000.
Preloaded elf module "splash_bmp.ko" at 0xc039d09c.
Preloaded splash_image_data "/boot/nicki.bmp" at 0xc039d140.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 10
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at
device 7.3 on pci0
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xd400-0xd41f irq 11 at
device 9.0 on pci0
ed0: address 00:c0:df:f5:38:84, type NE2000 (16 bit)
pcm0: <Creative EMU10K1> port 0xd800-0xd81f irq 5 at device 11.0 on pci0
ahc0: <Adaptec 2940A Ultra SCSI adapter> port 0xe000-0xe0ff mem
0xe9000000-0xe9000fff irq 5 at device 13.0 on pci0
aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd57ff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model NetMouse/NetScroll Optical, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
ad0: 9768MB <ST310212A> [19846/16/63] at ata0-master UDMA33
ad1: 4126MB <ST34313A> [8944/15/63] at ata0-slave UDMA33
acd0: CDROM <ASUS CD-S500/A> at ata1-master PIO4
acd1: CD-RW <HP CD-Writer+ 7200> at ata1-slave PIO3
Mounting root from ufs:/dev/ad0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <WDIGTL ENTERPRISE 1.80> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15)
da0: 4157MB (8515173 512 byte sectors: 255H 63S/T 530C)


***************THIS IS THE LS -L*******************

total 1220
-rw-r-----  1 root  wheel      410 Nov 14  2001 Makefile
-rwxr-xr-x  1 root  wheel  1072459 Jun 24 20:52 Module-nvkernel
lrwxr-xr-x  1 root  wheel       15 Jun 24 21:17 Module-nvkernel.bin ->
Module-nvkernel
-rw-r-----  1 root  wheel      887 Jan  9 20:13 README
-rw-r-----  1 root  wheel      260 Dec  1  2001 copy.sh
-rw-r-----  1 root  wheel      478 Jun 20  2001 inc.c
-rw-r-----  1 root  wheel      776 Jun 20  2001 inc.h
-rwxr-x---  1 root  wheel       84 May 28  2001 load.sh
-rw-r-----  1 root  wheel       48 May 28  2001 make.sh
-rw-r-----  1 root  wheel    12581 May 28  2001 my.log
-rw-r-----  1 root  wheel     2558 Nov 14  2001 nv-freebsd.h
-rw-r--r--  1 root  wheel     3080 Jun 24 20:52 nv-ids.h
-rw-r-----  1 root  wheel    12562 Dec  1  2001 nv.c
-rw-r--r--  1 root  wheel     7892 Jun 24 20:52 nv.h
-rw-r-----  1 root  wheel     7034 Nov 14  2001 nv_ctl.c
-rw-r-----  1 root  wheel      168 May 28  2001 nv_ctl.h
-rw-r-----  1 root  wheel     6406 Nov 15  2001 nv_dev.c
-rw-r-----  1 root  wheel      164 May 28  2001 nv_dev.h
-rw-r--r--  1 root  wheel      400 Jun 24 20:52 nv_ref.h
-rw-r--r--  1 root  wheel    48121 Jun 24 20:52 nvrm.h
-rw-r--r--  1 root  wheel    10303 Jun 24 20:52 nvtypes.h
-rw-r-----  1 root  wheel     1494 May 28  2001 nvtypes.h.diff
-rw-r--r--  1 root  wheel    10345 Jun 24 20:52 nvtypes.h.orig
-rw-r-----  1 root  wheel    18793 Dec  1  2001 os-interface.c
-rw-r--r--  1 root  wheel     8194 Jun 24 20:52 os-interface.h



Please help,
Regards
Ian Barnes


------------------------
BOFH - Mom's Pharmacies
Emal: ian@cerebellum.za.net
------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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