From owner-freebsd-current@FreeBSD.ORG Sun Jan 2 19:11:30 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCA7016A4CE for ; Sun, 2 Jan 2005 19:11:29 +0000 (GMT) Received: from ns1.kolbu.ws (ns1.kolbu.ws [81.0.164.100]) by mx1.FreeBSD.org (Postfix) with SMTP id C76E043D48 for ; Sun, 2 Jan 2005 19:11:28 +0000 (GMT) (envelope-from oyvind@ns1.kolbu.ws) Received: (qmail 36063 invoked by uid 1000); 2 Jan 2005 19:11:27 -0000 Date: Sun, 2 Jan 2005 20:11:27 +0100 From: =?iso-8859-1?Q?=D8yvind?= Kolbu To: danfe@freebsd.org Message-ID: <20050102191127.GA30706@ns1.kolbu.ws> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.6i cc: current@freebsd.org Subject: nvidia-drivers not working on -current and panic when unloading X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 19:11:30 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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@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 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg Copyright (c) 1992-2005 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 6.0-CURRENT #1: Sun Jan 2 16:25:22 UTC 2005 root@oyvind-lap-lan.i.kolbu.ws:/usr/obj/usr/src/sys/lappis Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1700MHz (1695.76-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x695 Stepping = 5 Features=0xa7e9f9bf real memory = 536608768 (511 MB) avail memory = 511696896 (487 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) can't fetch resources for \\_SB_.PCI0.FNC0.PRT_ - AE_BAD_DATA Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xd808-0xd80b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 pci_link0: irq 11 on acpi0 pci_link1: irq 11 on acpi0 pci_link2: irq 11 on acpi0 pci_link3: irq 11 on acpi0 pci_link4: irq 11 on acpi0 pci_link5: irq 11 on acpi0 pci_link6: irq 10 on acpi0 pci_link7: irq 11 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 acpi_video0: mem 0xd0000000-0xdfffffff,0xfd000000-0xfdffffff irq 10 at device 0.0 on pci1 uhci0: port 0xefe0-0xefff irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0xef80-0xef9f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: 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: at device 29.2 on pci0 uhci2: 0x20 bytes of rid 0x20 res 4 failed. uhci2: Could not map ports device_attach: uhci2 attach returned 6 ehci0: at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 usb2: EHCI version 1.0 usb2: wrong number of companions (3 != 2) usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: single transaction translator uhub2: 6 ports with 6 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 pci2: at device 5.0 (no driver attached) fwohci0: at device 7.0 on pci2 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:39:00:00:53:7b:5f fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:39:53:7b:5f fwe0: Ethernet address: 02:00:39:53:7b:5f fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) em0: port 0xcf40-0xcf7f mem 0xfcec0000-0xfcedffff irq 11 at device 9.0 on pci2 em0: Ethernet address: 00:0e:7b:06:60:05 em0: Speed:N/A Duplex:N/A cbb0: at device 11.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: at device 11.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci2: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 11 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xe0000-0xeffff,0xc0000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled Timecounter "TSC" frequency 1695755375 Hz quality 800 Timecounters tick every 1.000 msec ad0: 57231MB [116280/16/63] at ata0-master UDMA100 Trying to mount root from ufs:/dev/ad0s2a WARNING: was not properly dismounted WARNING: was not properly dismounted WARNING: was not properly dismounted WARNING: was not properly dismounted Enhanced Speedstep running at 1700 MHz --bp/iNruPH9dso1Pn--