Date: Sun, 2 Jan 2005 20:11:27 +0100 From: =?iso-8859-1?Q?=D8yvind?= Kolbu <oyvind@kolbu.ws> To: danfe@freebsd.org Cc: current@freebsd.org Subject: nvidia-drivers not working on -current and panic when unloading Message-ID: <20050102191127.GA30706@ns1.kolbu.ws>
next in thread | raw e-mail | index | archive | help
--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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE> real memory = 536608768 (511 MB) avail memory = 511696896 (487 MB) npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <TOSHIB 750> 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: <ACPI CPU (3 Cx states)> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0 pci_link1: <ACPI PCI Link LNKB> irq 11 on acpi0 pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0 pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0 pci_link4: <ACPI PCI Link LNKE> irq 11 on acpi0 pci_link5: <ACPI PCI Link LNKF> irq 11 on acpi0 pci_link6: <ACPI PCI Link LNKG> irq 10 on acpi0 pci_link7: <ACPI PCI Link LNKH> irq 11 on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 acpi_video0: <ACPI video extension> mem 0xd0000000-0xdfffffff,0xfd000000-0xfdffffff irq 10 at device 0.0 on pci1 uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xefe0-0xefff 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 0xef80-0xef9f 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> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pci2: <network> at device 5.0 (no driver attached) fwohci0: <Texas Instruments TSB43AB22/A> 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: <IEEE1394(FireWire) bus> on fwohci0 fwe0: <Ethernet over FireWire> 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: <SBP-2/SCSI over FireWire> 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: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <ToPIC100 PCI-CardBus Bridge> at device 11.0 on pci2 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: <ToPIC100 PCI-CardBus Bridge> at device 11.1 on pci2 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci2: <base peripheral> at device 13.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 irq 11 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: <multimedia, audio> at device 31.5 (no driver attached) pci0: <simple comms> at device 31.6 (no driver attached) acpi_button0: <Power Button> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_cmbat0: <Control Method Battery> on acpi0 acpi_cmbat1: <Control Method Battery> on acpi0 acpi_acad0: <AC Adapter> on acpi0 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: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xe0000-0xeffff,0xc0000-0xcffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> 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 <HTS548060M9AT00/MGBOA53A> [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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050102191127.GA30706>