Nicolás de Bari Embriz García Rojas
2004-Nov-08 23:08 UTC
NVIDIA driver crashing the system
I am trying to use the nvidia driver from the ports on FreeBSD 5.3-STABLE but every time i startup X the system crash My system: Laptop: Dell latitud D800 video card: GeForce FX Go5200 I attached a console to the laptop and i got this: --- NVRM: detected agp.ko, aborting NVIDIA AGP setup! Fatal trap 12: page fault while in kernel mode fault virtual address = 0xbfc00000 fault code = supervisor write, page not present instruction pointer = 0x8:0xc06c4b39 stack pointer = 0x10:0xdea76a04 frame pointer = 0x10:0xdea76a10 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 3 current process = 676 (Xorg) trap number = 12 panic: page fault Uptime: 1m39s --- doing this: nm -n /boot/kernel/kernel | grep 0xc06c4b39 I don get nothing doing this: (omiting some digits) nm -n /boot/kernel/kernel | grep 4b39 i get: c04b3910 t bge_encap This hapends when i try to X -xf86config /root/xorg.conf.new of startx right now i am instaling XFree86-4 to see if i get the same error, any ideas of how to fix this? regards. This is my kernel config: --- # kernel for Dell Latidud D8000 machine i386 cpu I686_CPU ident D800 # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. options COMPAT_LINUX device acpi device isa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Enable this for the pcvt (VT220 compatible) console driver #device vt #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to the sio and/or ppc drivers): #device puc # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device bfe # Broadcom BCM440x 10/100 Ethernet device bge # Broadcom BCM570xx Gigabit Ethernet # Wireless NIC cards device wlan # 802.11 support device an # Aironet 4500/4800 802.11 wireless NICs. device awi # BayStack 660 and others device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. # Pseudo devices. device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device urio # Diamond Rio 500 MP3 player device uscanner # Scanners # USB Ethernet, requires mii device aue # ADMtek USB Ethernet device axe # ASIX Electronics USB Ethernet device cue # CATC USB Ethernet device kue # Kawasaki LSI USB Ethernet device rue # RealTek RTL8150 USB Ethernet # FireWire support device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) # video options SC_PIXEL_MODE options VGA_WIDTH90 options VESA # ipfilter options IPFILTER options IPFILTER_LOG options IPFILTER_DEFAULT_BLOCK options IPSTEALTH # Using the ATAPI/CAM Driver CDBurner device atapicam # speaker device speaker --- This is my /bool/loader.conf: ndis_load="YES" if_ndis_load="YES" snd_ich_load="YES" ntfs_load="YES" machdep.disable_mtrrs="1" nvidia_load="YES" hw.nvidia.registry.ReqAGPRate="1" console="comconsole" --- this is the output of dmesg: --- Copyright (c) 1992-2004 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 5.3-STABLE #4: Mon Nov 8 23:07:03 CST 2004 root@laptop.nbari.name:/usr/obj/usr/src/sys/D800 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.70GHz (1698.57-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d6 Stepping = 6 Features=0xafe9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACP I,MMX,FXSR,SSE,SSE2,SS,TM,PBE> real memory = 536535040 (511 MB) avail memory = 511283200 (487 MB) acpi0: <DELL CPi R > on motherboard Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: <ACPI CPU (4 Cx states)> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_cmbat0: <Control Method Battery> on acpi0 acpi_cmbat1: <Control Method Battery> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 ACPI link \\_SB_.PCI0.LNKB has invalid initial irq 11, ignoring pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82855 host to AGP bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 nvidia0: <GeForce FX Go5200> mem 0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq 11 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xbf80-0xbf9f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xbf40-0xbf5f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ums0: Microsoft Microsoft Notebook/Mobile Optical Mouse 2.0, rev 1.10/2.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xbf20-0xbf3f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: <serial bus, USB> at device 29.7 (no driver attached) pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 bge0: <Broadcom BCM5705M Gigabit Ethernet, ASIC rev. 0x3001> mem 0xfaff0000-0xfaffffff irq 11 at device 0.0 on pci2 miibus0: <MII bus> on bge0 brgphy0: <BCM5705 10/100/1000baseTX PHY> on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:0f:1f:25:d7:5e cbb0: <PCI-CardBus Bridge> at device 1.0 on pci2 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: <PCI-CardBus Bridge> irq 11 at device 1.1 on pci2 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fwohci0: <1394 Open Host Controller Interface> mem 0xfafe8000-0xfafebfff,0xfafef800-0xfafeffff irq 11 at device 1.2 on pci2 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 32:4f:c0:00:2a:92:dc:a1 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 32:4f:c0:92:dc:a1 fwe0: Ethernet address: 32:4f:c0:92:dc:a1 fwe0: if_start running deferred for Giant sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) pci2: <base peripheral> at device 1.3 (no driver attached) ndis0: <Dell TrueMobile 1400 Dual Band WLAN Mini-PCI Card> mem 0xfafec000-0xfafedfff irq 5 at device 3.0 on pci2 ndis0: NDIS API version: 5.0 ndis0: Ethernet address: 00:90:96:fa:4a:16 ndis0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH4 UDMA100 controller> port 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f 7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pcm0: <Intel ICH4 (82801DB)> port 0xbc40-0xbc7f,0xb800-0xb8ff mem 0xf4fff400-0xf4fff4ff,0xf4ff f800-0xf4fff9ff irq 5 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: <SigmaTel STAC9750/51 AC97 Codec> pci0: <simple comms> at device 31.6 (no driver attached) atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 speaker0: <PC speaker> port 0x67,0x65,0x63,0x61 on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xcf800-0xcffff,0xc0000-0xcf7ff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1698566630 Hz quality 800 Timecounters tick every 10.000 msec IP Filter: v3.4.35 initialized. Default = block all, Logging = enabled acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% cpu0: Performance states changed ad0: 76319MB <HTS548080M9AT00/MG4OA53A> [155061/16/63] at ata0-master UDMA100 acd0: CDRW <SONY CD-RW/DVD-ROM CRX830E/KDK3> at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: <SONY CDRW/DVD CRX830E KDK3> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present ndis0: link up --- this is the output of scanpci -vv --- pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x3340 Intel Corp. 82855PM Processor to I/O Controller STATUS 0x2090 COMMAND 0x0106 CLASS 0x06 0x00 0x00 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0xe0000008 addr 0xe0000000 MEM PREFETCHABLE pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x8086 device 0x3341 Intel Corp. 82855PM Processor to AGP Controller STATUS 0x00a0 COMMAND 0x0107 CLASS 0x06 0x04 0x00 REVISION 0x03 HEADER 0x01 LATENCY 0x20 PRIBUS 0x00 SECBUS 0x01 SUBBUS 0x01 SECLT 0x20 SECSTATUS 0x22a0 IOBASE 0xc000 IOLIM 0xcfff NOPREFETCH_MEMBASE 0xfc000000 MEMLIM 0xfdffffff PREFETCH_MEMBASE 0xd0000000 MEMLIM 0xdfffffff NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT VGA_EN ISA_EN NO_SERR_EN NO_PERR_EN pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x24c2 Intel Corp. 82801DB USB (Hub #1) CardVendor 0x8086 card 0x4541 (Intel Corp., Card unknown) STATUS 0x0280 COMMAND 0x0005 CLASS 0x0c 0x03 0x00 REVISION 0x01 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE4 0x0000bf81 addr 0x0000bf80 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x0b pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x24c4 Intel Corp. 82801DB USB (Hub #2) CardVendor 0x8086 card 0x4541 (Intel Corp., Card unknown) STATUS 0x0280 COMMAND 0x0005 CLASS 0x0c 0x03 0x00 REVISION 0x01 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE4 0x0000bf41 addr 0x0000bf40 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x02 INT_LINE 0x0b pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x24c7 Intel Corp. 82801DB USB (Hub #3) CardVendor 0x8086 card 0x4541 (Intel Corp., Card unknown) STATUS 0x0280 COMMAND 0x0005 CLASS 0x0c 0x03 0x00 REVISION 0x01 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE4 0x0000bf21 addr 0x0000bf20 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x03 INT_LINE 0x0b pci bus 0x0000 cardnum 0x1d function 0x07: vendor 0x8086 device 0x24cd Intel Corp. 82801DB USB2 CardVendor 0x1028 card 0x014e (Dell Computer Corporation, Card unknown) STATUS 0x0290 COMMAND 0x0106 CLASS 0x0c 0x03 0x20 REVISION 0x01 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0xf4fffc00 addr 0xf4fffc00 MEM MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x04 INT_LINE 0x0b pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x2448 Intel Corp. 82801BAM/CAM PCI Bridge STATUS 0x8080 COMMAND 0x0107 CLASS 0x06 0x04 0x00 REVISION 0x81 HEADER 0x01 LATENCY 0x00 PRIBUS 0x00 SECBUS 0x02 SUBBUS 0x02 SECLT 0x20 SECSTATUS 0x2280 IOBASE 0xd000 IOLIM 0xefff NOPREFETCH_MEMBASE 0xf6000000 MEMLIM 0xfbffffff PREFETCH_MEMBASE 0xfff00000 MEMLIM 0x000fffff NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN NO_SERR_EN NO_PERR_EN pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x24cc Intel Corp. 82801DBM LPC Interface Controller STATUS 0x0280 COMMAND 0x010f CLASS 0x06 0x01 0x00 REVISION 0x01 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BYTE_0 0x01 BYTE_1 0x08 BYTE_2 0x00 BYTE_3 0x00 pci bus 0x0000 cardnum 0x1f function 0x01: vendor 0x8086 device 0x24ca Intel Corp. 82801DBM Ultra ATA Storage Controller CardVendor 0x8086 card 0x4541 (Intel Corp., Card unknown) STATUS 0x0280 COMMAND 0x0005 CLASS 0x01 0x01 0x8a REVISION 0x01 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0x000001f1 addr 0x000001f0 I/O BASE1 0x000003f5 addr 0x000003f4 I/O BASE2 0x00000171 addr 0x00000170 I/O BASE3 0x00000375 addr 0x00000374 I/O BASE4 0x0000bfa1 addr 0x0000bfa0 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0xff BYTE_0 0x77 BYTE_1 0xe3 BYTE_2 0x77 BYTE_3 0xe3 pci bus 0x0000 cardnum 0x1f function 0x05: vendor 0x8086 device 0x24c5 Intel Corp. 82801DB AC'97 Audio Controller CardVendor 0x1028 card 0x014e (Dell Computer Corporation, Card unknown) STATUS 0x0290 COMMAND 0x0007 CLASS 0x04 0x01 0x00 REVISION 0x01 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0x0000b801 addr 0x0000b800 I/O BASE1 0x0000bc41 addr 0x0000bc40 I/O BASE2 0xf4fff800 addr 0xf4fff800 MEM BASE3 0xf4fff400 addr 0xf4fff400 MEM MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x02 INT_LINE 0x05 BYTE_0 0x09 BYTE_1 0x01 BYTE_2 0x00 BYTE_3 0x00 pci bus 0x0000 cardnum 0x1f function 0x06: vendor 0x8086 device 0x24c6 Intel Corp. 82801DB AC'97 Modem Controller CardVendor 0x14f1 card 0x5422 (Conexant, Card unknown) STATUS 0x0290 COMMAND 0x0005 CLASS 0x07 0x03 0x00 REVISION 0x01 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0x0000b401 addr 0x0000b400 I/O BASE1 0x0000b081 addr 0x0000b080 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x02 INT_LINE 0x05 pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x10de device 0x0324 nVidia Corporation GeForce FX Go5200 CardVendor 0x1028 card 0x019c (Dell Computer Corporation, Card unknown) STATUS 0x02b0 COMMAND 0x0027 CLASS 0x03 0x00 0x00 REVISION 0xa1 BIST 0x00 HEADER 0x00 LATENCY 0x20 CACHE 0x00 BASE0 0xfc000000 addr 0xfc000000 MEM BASE1 0xd0000008 addr 0xd0000000 MEM PREFETCHABLE BASEROM 0x80000000 addr 0x80000000 not-decode-enabled MAX_LAT 0x01 MIN_GNT 0x05 INT_PIN 0x01 INT_LINE 0x0b BYTE_0 0x28 BYTE_1 0x10 BYTE_2 0x9c BYTE_3 0x01 pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x14e4 device 0x165d Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet CardVendor 0x1028 card 0x865d (Dell Computer Corporation, Card unknown) STATUS 0x02b0 COMMAND 0x0106 CLASS 0x02 0x00 0x00 REVISION 0x01 BIST 0x00 HEADER 0x00 LATENCY 0x20 CACHE 0x08 BASE0 0x00000000faff0004 addr 0x00000000faff0000 MEM 64BIT MAX_LAT 0x00 MIN_GNT 0x40 INT_PIN 0x01 INT_LINE 0x0b pci bus 0x0002 cardnum 0x01 function 0x00: vendor 0x104c device 0xac47 Texas Instruments Device unknown STATUS 0x0210 COMMAND 0x0007 CLASS 0x06 0x07 0x00 REVISION 0x01 BIST 0x00 HEADER 0x82 LATENCY 0x20 CACHE 0x08 BASE0 0xf6000000 addr 0xf6000000 MEM BASE1 0x020000a0 addr 0x020000a0 MEM BASE2 0x20040302 addr 0x20040300 MEM BASE3 0xfffff000 addr 0xfffff000 MEM BASE5 0xfffff000 addr 0xfffff000 MEM MAX_LAT 0x07 MIN_GNT 0x40 INT_PIN 0x01 INT_LINE 0x0b BYTE_0 0x28 BYTE_1 0x10 BYTE_2 0x4e BYTE_3 0x01 pci bus 0x0002 cardnum 0x01 function 0x01: vendor 0x104c device 0xac4a Texas Instruments Device unknown STATUS 0x0210 COMMAND 0x0107 CLASS 0x06 0x07 0x00 REVISION 0x01 BIST 0x00 HEADER 0x82 LATENCY 0x20 CACHE 0x08 BASE0 0xf6001000 addr 0xf6001000 MEM BASE1 0x020000a0 addr 0x020000a0 MEM BASE2 0x20060502 addr 0x20060500 MEM BASE3 0xfffff000 addr 0xfffff000 MEM BASE5 0xfffff000 addr 0xfffff000 MEM BASE2 0x20040302 addr 0x20040300 MEM BASE3 0xfffff000 addr 0xfffff000 MEM BASE5 0xfffff000 addr 0xfffff000 MEM MAX_LAT 0x07 MIN_GNT 0x40 INT_PIN 0x01 INT_LINE 0x0b BYTE_0 0x28 BYTE_1 0x10 BYTE_2 0x4e BYTE_3 0x01 pci bus 0x0002 cardnum 0x01 function 0x01: vendor 0x104c device 0xac4a Texas Instruments Device unknown STATUS 0x0210 COMMAND 0x0107 CLASS 0x06 0x07 0x00 REVISION 0x01 BIST 0x00 HEADER 0x82 LATENCY 0x20 CACHE 0x08 BASE0 0xf6001000 addr 0xf6001000 MEM BASE1 0x020000a0 addr 0x020000a0 MEM BASE2 0x20060502 addr 0x20060500 MEM BASE3 0xfffff000 addr 0xfffff000 MEM BASE5 0xfffff000 addr 0xfffff000 MEM MAX_LAT 0x07 MIN_GNT 0x40 INT_PIN 0x01 INT_LINE 0x0b BYTE_0 0x28 BYTE_1 0x10 BYTE_2 0x4e BYTE_3 0x01 pci bus 0x0002 cardnum 0x01 function 0x02: vendor 0x104c device 0x802b Texas Instruments Device unknown CardVendor 0x1028 card 0x014e (Card unknown) STATUS 0x0210 COMMAND 0x0146 CLASS 0x0c 0x00 0x10 REVISION 0x00 BIST 0x00 HEADER 0x80 LATENCY 0x20 CACHE 0x08 BASE0 0xfafef800 addr 0xfafef800 MEM BASE1 0xfafe8000 addr 0xfafe8000 MEM MAX_LAT 0x04 MIN_GNT 0x02 INT_PIN 0x01 INT_LINE 0x0b pci bus 0x0002 cardnum 0x01 function 0x03: vendor 0x104c device 0x8204 Texas Instruments Device unknown CardVendor 0x1028 card 0x014e (Card unknown) STATUS 0x0210 COMMAND 0x0101 CLASS 0x08 0x80 0x00 REVISION 0x00 BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00 BASE0 0x0000ecf9 addr 0x0000ecf8 I/O pci bus 0x0002 cardnum 0x03 function 0x00: vendor 0x14e4 device 0x4324 Broadcom Corporation Device unknown CardVendor 0x1028 card 0x0003 (Card unknown) STATUS 0x0000 COMMAND 0x0106 CLASS 0x02 0x80 0x00 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x20 CACHE 0x00 BASE0 0xfafec000 addr 0xfafec000 MEM MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x05 BYTE_0 0x01 BYTE_1 0x00 BYTE_2 0xc2 BYTE_3 0x07 --
Nicol?s de Bari Embriz Garc?a Rojas wrote:> I am trying to use the nvidia driver from the ports on FreeBSD > 5.3-STABLE but every time i startup X the system crash > > My system: > Laptop: Dell latitud D800 > video card: GeForce FX Go5200 > > I attached a console to the laptop and i got this: > > --- > NVRM: detected agp.ko, aborting NVIDIA AGP setup!This message means the Nvidia driver found the native AGP driver that comes with FreeBSD. I'd sugest removing "device agp" from your kernel and giving it a try. Remember to put nvidia_load="YES" in /boot/loader.conf. Another sugestion is not to use any kind of compiler optimization in /etc/make.conf. I've a FX5200 128MB and it worked fine with 5.3-STABLE from yesterday. -- Giovanni P. Tirloni
From: /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-6113/doc/README __________________________________________________________________________ (sec-05) CHOOSING THE AGP GART DRIVER __________________________________________________________________________ Similar to the NVIDIA Linux Driver Set, the user can decide if the NVIDIA driver should use its internal AGP GART driver or if it should rely on an OS provided AGP GART driver with the "NvAGP" XFree86 config file option: - Option "NvAGP" "0" Disable AGP - Option "NvAGP" "1" Use NVIDIA's AGP GART Driver - Option "NvAGP" "2" Use the OS AGP GART driver (agp.ko) - Option "NvAGP" "3" Attempt "2", fall back to "1" Unlike Linux, however, this option is not the only controlling factor at this point; for architectural reasons, the nvidia.ko kernel module must be built with exclusive support for NVIDIA's AGP GART driver or with support for FreeBSD's driver and NVIDIA's driver. By default, nvidia.ko is built with support for NVIDIA's internal driver, only; this can be changed (see nv-freebsd.h for details). Please note that if you built nvidia.ko with support for FreeBSD's driver it will not load unless agp.ko is loaded. agp.ko is special in that you can not load it after the system boot is complete, you need to append the following line to /boot/loader.conf to make sure it is pre-loaded: # -- load FreeBSD AGP GART driver -- # agp_load="YES" Also note that if agp.ko is loaded, it could conflict with NVIDIA's AGP GART driver (NvAGP), resulting in stability problems; for this reason, the NVIDIA driver will abort NvAGP initialization when it detects agp.ko. Note that current FreeBSD releases are shipped with agp.ko built into the kernel, which will need to be rebuilt without 'device agp'. Very recent -CURRENT kernels allow disabling agp.ko via device hints; if you're using such a kernel, adding the following to /boot/device.hints is sufficient: hint.agp.0.disabled="1" 0n Tue, Nov 09, 2004 at 01:08:14AM -0600, Nicol?s de Bari Embriz Garc?a Rojas wrote: I am trying to use the nvidia driver from the ports on FreeBSD 5.3-STABLE but every time i startup X the system crash My system: Laptop: Dell latitud D800 video card: GeForce FX Go5200 I attached a console to the laptop and i got this: --- NVRM: detected agp.ko, aborting NVIDIA AGP setup!