nforce 2 drivers aren't working

jason jason at ec.rr.com
Sat Sep 13 14:53:51 PDT 2003


Matthew N. Dodd wrote:

>On Sat, 13 Sep 2003, jason wrote:
>  
>
>>I have done both, one at the time.  I have a 5.1 system and there is no
>>/dev/agpgart.  So I checked man mknod and found the majors file.  If you
>>already know how I should use mknod(block or char. device and major and
>>minor numbers), please let me know.  If not thats alright, I should be
>>able to find the right combonation later.
>>    
>>
>
>So if /dev/agpgart doesn't exist, then AGP isn't loaded or attaching to
>your device.
>
>Send me the output of a verbose boot.
>
>  
>
Well I did make a mistake.  The /dev/agpgart entry was gone because I 
didn't load it, I don't normally load it because the system freezes when 
I type startx.
I changed /boot/loader.conf and rebooted, sure enough /dev/agpgart was 
there, but I had only a cml.
I then checked my kernel conf and found device vga is in there.  I also 
saw when device agp and radeondrm are committed out.  I think I remember 
reading x loads the drm modules so radeondrm is not needed in the 
kernel.  I will load both and see how that goes.  By the way I check 
/boot/loader.conf and agp_load was not there for the second dmesg, but 
it still shows it as being loaded.  Kldstat lists it,

jason# kldstat
Id Refs Address    Size     Name
 1   16 0xc0100000 325968   kernel
 2    1 0xc0426000 5738     snd_ich.ko
 3    2 0xc042c000 1e0b8    snd_pcm.ko
 4    1 0xc4251000 18000    linux.ko
 5    1 0xc43fc000 16000    radeon.ko
 6    1 0xc4432000 f000     agp.ko

This is the loader file from this boot.
hint.acpi.0.disabled="1"
hw.ata.atapi_dma="2"
#agp_load="YES"
snd_ich_load="YES"

This will be the one from the reboot.
hint.acpi.0.disabled="1"
hw.ata.atapi_dma="2"
agp_load="YES"
snd_ich_load="YES"
radeon_load="YES"
                                                                                

I also but a 3rd dmesg from a month ago, I noticed the recent ones don't 
mention my video card.  The old, 3rd one, does. 
                                                                         
                                                                      




Here's the dmesg with agp_load="YES":


Copyright (c) 1992-2003 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.1-CURRENT #0: Thu Aug  7 01:13:02 EDT 2003
    jason at jason.ec.rr.com:/usr/obj/usr/src/sys/JASON
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04db000.
Preloaded elf module "/boot/kernel/agp.ko" at 0xc04db21c.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2122323309 Hz
CPU: AMD Athlon(tm) XP 3000+ (2122.32-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
  
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536805376 (511 MB)
avail memory = 516075520 (492 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00fdeb0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xee003000-0xee003fff irq 3 
at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 
1.10/3.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
ohci1: <OHCI (generic) USB controller> mem 0xee004000-0xee004fff irq 7 
at device 2.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: <serial bus, USB> at device 2.2 (no driver attached)
pcm0: <Nvidia nForce2> port 0xb400-0xb47f,0xb000-0xb0ff mem 
0xee001000-0xee001fff irq 12 at device 6.0 on pci0
pcm0: <Avance Logic ALC650 AC97 Codec>
pcib1: <PCIBIOS PCI-PCI bridge> at device 8.0 on pci0
pci1: <PCI bus> on pcib1
pci_cfgintr: 1:8 INTA BIOS irq 11
dc0: <ADMtek AN985 10/100BaseTX> port 0x9000-0x90ff mem 
0xed020000-0xed0203ff irq 11 at device 8.0 on pci1
dc0: Ethernet address: 00:04:5a:86:3b:8d
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci0: <nVidia nForce2 UDMA133 controller> port 0xf000-0xf00f at 
device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib2: <PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <display, VGA> at device 0.0 (no driver attached)
orm0: <Option ROM> at iomem 0xc0000-0xccfff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
Timecounters tick every 10.000 msec
ad0: 38172MB <MAXTOR 6L040J2> [77557/16/63] at ata0-master UDMA133
acd0: CD-RW <LITE-ON LTR-40125S> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a


Heres without:


Copyright (c) 1992-2003 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.1-CURRENT #0: Thu Aug  7 01:13:02 EDT 2003
    jason at jason.ec.rr.com:/usr/obj/usr/src/sys/JASON
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04db000.
Preloaded elf module "/boot/kernel/agp.ko" at 0xc04db21c.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2122323309 Hz
CPU: AMD Athlon(tm) XP 3000+ (2122.32-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
  
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536805376 (511 MB)
avail memory = 516075520 (492 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00fdeb0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xee003000-0xee003fff irq 3 
at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 
1.10/3.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
ohci1: <OHCI (generic) USB controller> mem 0xee004000-0xee004fff irq 7 
at device 2.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: <serial bus, USB> at device 2.2 (no driver attached)
pcm0: <Nvidia nForce2> port 0xb400-0xb47f,0xb000-0xb0ff mem 
0xee001000-0xee001fff irq 12 at device 6.0 on pci0
pcm0: <Avance Logic ALC650 AC97 Codec>
pcib1: <PCIBIOS PCI-PCI bridge> at device 8.0 on pci0
pci1: <PCI bus> on pcib1
pci_cfgintr: 1:8 INTA BIOS irq 11
dc0: <ADMtek AN985 10/100BaseTX> port 0x9000-0x90ff mem 
0xed020000-0xed0203ff irq 11 at device 8.0 on pci1
dc0: Ethernet address: 00:04:5a:86:3b:8d
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci0: <nVidia nForce2 UDMA133 controller> port 0xf000-0xf00f at 
device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib2: <PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <display, VGA> at device 0.0 (no driver attached)
orm0: <Option ROM> at iomem 0xc0000-0xccfff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
Timecounters tick every 10.000 msec
ad0: 38172MB <MAXTOR 6L040J2> [77557/16/63] at ata0-master UDMA133
acd0: CD-RW <LITE-ON LTR-40125S> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a


Copyright (c) 1992-2003 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.1-CURRENT #0: Mon Jul  7 01:51:12 EDT 2003
    root at jason.ec.rr.com:/usr/obj/usr/src/sys/JASON
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04c8000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2099000968 Hz
CPU: AMD Athlon(tm)  (2099.00-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
  
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536805376 (511 MB)
avail memory = 516182016 (492 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00fdeb0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xee003000-0xee003fff irq 3 
at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xee004000-0xee004fff irq 7 
at device 2.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: <serial bus, USB> at device 2.2 (no driver attached)
pcm0: <Nvidia nForce2> port 0xb400-0xb47f,0xb000-0xb0ff mem 
0xee001000-0xee001fff irq 12 at device 6.0 on pci0
pcm0: <Avance Logic ALC650 AC97 Codec>
pcib1: <PCIBIOS PCI-PCI bridge> at device 8.0 on pci0
pci1: <PCI bus> on pcib1
pci_cfgintr: 1:8 INTA BIOS irq 11
dc0: <ADMtek AN985 10/100BaseTX> port 0x9000-0x90ff mem 
0xed020000-0xed0203ff irq 11 at device 8.0 on pci1
dc0: Ethernet address: 00:04:5a:86:3b:8d
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci0: <nVidia nForce2 UDMA133 controller> port 0xf000-0xf00f at 
device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib2: <PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <display, VGA> at device 0.0 (no driver attached)
orm0: <Option ROM> at iomem 0xc0000-0xccfff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
Timecounters tick every 10.000 msec
ad0: 38172MB <MAXTOR 6L040J2> [77557/16/63] at ata0-master UDMA133
acd0: CD-RW <LITE-ON LTR-40125S> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
lock order reversal
 1st 0xc43bbf08 vm object (vm object) @ /usr/src/sys/vm/vm_object.c:432
 2nd 0xc082f110 system map (system map) @ /usr/src/sys/vm/vm_kern.c:325
Stack backtrace:
drm0: <ATI Radeon QL R200 8500 LE> port 0xa000-0xa0ff mem 
0xec020000-0xec02ffff,0xe0000000-0xe7ffffff irq 10 at device 0.0 on pci2
info: [drm] Initialized radeon 1.8.0 20020828 on minor 0
error: [drm:radeon_unlock] *ERROR* Process 533 using kernel context 0
error: [drm:radeon_unlock] *ERROR* Process 636 using kernel context 0




More information about the freebsd-hardware mailing list