Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2004 11:54:47 -0700
From:      Mike Hunter <mhunter@ack.Berkeley.EDU>
To:        Nicolas de Bari <nbari@unixmexico.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: nvidia drivers system crash
Message-ID:  <20041018185447.GA21405@ack.Berkeley.EDU>
In-Reply-To: <1097942852.37658.2.camel@localhost>
References:  <1097942852.37658.2.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 16, "Nicolas de Bari" wrote:

Try adding this to your /boot/loader.conf:

machdep.disable_mtrrs="1"

Please reply to the list and let us know if it helps.

Thanks,

Mike

> Hi list.
> 
> I am having strange problems with FreeBSD 5.X.
> 
> my system:
> 
> dell latidud D800.
> pentium M 1.7ghz.
> BIOS A11.
> WUXGA nvidia GeForce FX 5200 32M.
> 
> The problem:
> 
> Using FreeBSD 5.2.1 or FreeBSD 5.3 BETA 7 with Xorg or XFree86 if y type
> any of the following commands :
> 
> X -xf86config /root/xorg.conf.new
> XFree86 -xf86config /root/XF86Config.new 
> startx or xdm 
>  
> My system crash and i can't do nothing, the X is never up, the screan
> just shows few lines like :
> (this only happends with nvidia driver not with the nv)
> 
> Release Date: 18 December 2003
> X Protocol Version 11, Revision 0, Release 6.7
> Build Operating System: FreeBSD 5.3 i386 [ELF]
> Current Operating System: FreeBSD laptop.unixmexico.net 5.3-BETA7
> FreeBSD 5.3-BETA7 #1: Fri Oct 15 09:44:03 CDT 2004    
> root@laptop.unixmexico.net:/usr/obj/usr/src/sys/D800 i386
> Build Date: 02 October 2004
>     Before reporting problems, check http://wiki.X.Org
>     to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>     (++) from command line, (!!) notice, (II) informational,
>     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 15 10:30:18 2004
> 
> 
> ctrl+sup, ctrl+c, nothing responds also i have try to "shutdown -r 5
> min" and then try to start the X but the system just crash and never
> reboots, I need to press the poweroff button thats the only thing that
> work.
> 
> When using FreeBSD 4.10 the driver works perfectly with out problems,
> but i would like to use FreeBSD 5.X because of my wirless card. the one
> works great with the ndis method.
> 
> On FreeBSD 5.X I have tryed with using a kernel with and without device
> agp, and installed the nvidia-drivers from the ports with a simple "make
> install clean".
> 
> a dmesg on a FreeBSD 5.3 looks like (without device agp):
> ---
> 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-BETA7 #1: Fri Oct 15 09:44:03 CDT 2004
>     root@laptop.unixmexico.net:/usr/obj/usr/src/sys/D800
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) M processor 1.70GHz (1698.56-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,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
> real memory  = 536535040 (511 MB)
> avail memory = 511172608 (487 MB)
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> 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
> 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
> 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)
> pci2: <network> at device 3.0 (no driver attached)
> 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-0x1f7 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,0xf4fff800-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
> sio0 port 0x3f8-0x3ff irq 4 on acpi0
> sio0: type 16550A
> ppc0 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
> orm0: <ISA Option ROMs> at iomem 0xcf800-0xcffff,0xc0000-0xcf7ff on isa0
> pmtimer0 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> 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 1698563602 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
> wi0: <SMC SMC2632W> at port 0xd000-0xd03f irq 11 function 0 config 1 on
> pccard0
> wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
> wi0: Intersil Firmware: Primary (0.3.0), Station (0.7.6)
> wi0: Ethernet address: 00:04:e2:1e:0d:2e
> wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> 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: cd present [332722 x 2048 byte records]
> Mounting root from ufs:/dev/ad0s2a
> ---
> 
> # sysctl -a hw.nvidia.registry
> 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
> 
> on the /boot/loder.conf i have something like this:
> snd_ich_load="YES"
> linux_load="YES"
> nvidia_load="YES"
> 
> also i have try the options shown in here:
> http://gerda.univie.ac.at/freebsd-laptops/index.pl?action=show_laptop_detail&laptop=255
> 
> but always the system crash, for last i am attaching the actual kernel
> that i am using:
> 
> # kernel for laptop LATITUDE | D800
> machine     i386
> cpu         I686_CPU
> ident       D800
> # makeoptions   DEBUG=-g        #Build kernel with gdb(1) debug symbols
> 
> 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.
> 
> # Bus support.  Do not remove isa, even if you have no isa slots
> device      isa
> device      eisa
> 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     pcic            # ExCA ISA and PCI bridges
> 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      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 - the number indicates how many units to allocate.
> 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)
> device      snp
> # 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      uscanner    # Scanners
> device      urio        # Diamond Rio 500 MP3 player
> 
> # 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
> 
> 
> Any ideas of what could it be wrong or what do i need to make the nvidia
> drivers to work?
> 
> thanks in advance.
> 
> 
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



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