View Single Post
Old 06-03-03, 04:18 PM   #1
infernator
Registered User
 
Join Date: Jun 2003
Posts: 4
Default Epox 8rda3+ and Nvidia problem

Hello,

I am kinda new here, just installed gentoo for the first time a week ago, got everything working for now on, except for the nvidia driver.
When I start X I get a black screen and pc just hangs, I have an xp2000+ with an epox8rda3+ nforce2 based mobo, pc2100 ram and a hd etc like everyone.

I allready tried a thousand things, different kernel versions, etc, different options.
I will post my config here, maybe someone can help me finally.

I searched lots of forums and it seems I should patch the kernel with a *.diff file to get agpgart support for my nforce2 mobo, I tried that no luck

when I disable the driver, everythings works fine.

Now currently running the ac-sources 2.4.21-r6 ac1 and they have agpgart included, but it still does not work, but when I do a dmesg the agp bridge is detected!

root@localhost infernator # dmesg
Linux version 2.4.21-rc6-ac1 (root@cdimage) (gcc version 3.2.2) #1 Tue Jun 3 18:
37:03 CEST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000010000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
256MB LOWMEM available.
On node 0 totalpages: 65536
zone(0): 4096 pages.
zone(1): 61440 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda3 acpi=off elevator=as hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 1678.805 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 3348.88 BogoMIPS
Memory: 256364k/262144k available (1688k kernel code, 5392k reserved, 397k data,
280k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb4c0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [10de/01e0] at 00:00.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
NTFS driver v1.1.22 [Flags: R/O]
udf: registering filesystem
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
parport0: faking semi-colon
parport0: Printer, HEWLETT-PACKARD DESKJET 710C
Serial driver version 5.05c (2001-07-0 with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
lp0: using parport0 (polling).
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Intel(R) PRO/100 Network Driver - version 2.2.21-k1
Copyright (c) 2003 Intel Corporation

e100: selftest OK.
e100: eth0: Intel(R) PRO/100 Network Connection
Hardware receive checksums enabled
cpu cycle saver enabled

PPP generic driver version 2.4.2
8139cp: 10/100 PCI Ethernet driver v0.3.0 (Sep 29, 2002)
8139cp: pci dev 01:0b.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.26
eth1: RealTek RTL8139 Fast Ethernet at 0xd0802000, 00:04:61:47:08:02, IRQ 10
eth1: Identified 8139 chip type 'RTL-8139C'
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 204M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 64M @ 0xe0000000
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
AMD_IDE: Bios didn't set cable bits corectly. Enabling workaround.
AMD_IDE: nVidia Corporation nForce2 IDE (rev a2) UDMA100 controller on pci00:09.
0
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcMA, hddMA
hda: Maxtor 6Y080L0, ATA DISK drive
blk: queue c0375b20, I/O limit 4095Mb (mask 0xffffffff)
hdc: PLEXTOR CD-R PX-W4012A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=10587/240/63, UDMA(100)
ide-floppy driver 0.99.newide
hdc: attached ide-scsi driver.
Partition check:
/dev/ide/host0/bus0/target0/lun0:<7>ldm_validate_partition_table(): Found an MS
-DOS partition table, not a dynamic disk.
p1 p2 p3
ide-floppy driver 0.99.newide
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: PLEXTOR Model: CD-R PX-W4012A Rev: 1.02
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:02.2 to 64
ehci-hcd 00:02.2: nVidia Corporation nForce2 USB Controller
ehci-hcd 00:02.2: irq 5, pci mem d0840000
usb.c: new USB bus registered, assigned bus number 1
PCI: 00:02.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:02.2 PCI cache line size corrected to 64.
ehci-hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22
hub.c: USB hub found
hub.c: 6 ports detected
host/uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: No IRQ known for interrupt pin A of device 00:02.0. Please try using pci=bi
osirq.
host/usb-ohci.c: found OHCI device with no IRQ assigned. check BIOS settings!
PCI: Setting latency timer of device 00:02.1 to 64
host/usb-ohci.c: USB OHCI at membase 0xd0842000, IRQ 9
host/usb-ohci.c: usb-00:02.1, nVidia Corporation nForce2 USB Controller (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux IPX 0.47 for NET4.0
IPX Portions Copyright (c) 1995 Caldera, Inc.
IPX Portions Copyright (c) 2000, 2001 Conectiva, Inc.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 280k freed
Adding Swap: 506512k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
PCI: Setting latency timer of device 00:04.0 to 64
Nvidia + AC97 Audio, version 0.24, 18:49:14 Jun 3 2003
Nvaudio: in Funcction Nvaudio_init_module
PCI: Setting latency timer of device 00:06.0 to 64
Nvaudio: NVIDIA nForce2 Audio found at IO 0xb800 and 0xb400, IRQ 11
Nvaudio: Audio Controller supports 6 channels.
NVaudio: Defaulting to base 2 channel mode.
ac97_codec: AC97 codec, id: CMI97 (CMedia)
AC97 codec does not have proper volume support.
Nvaudio: only 48Khz playback available.
Nvaudio: AC'97 codec 0, new EID value = 0x05c6
Nvaudio: AC'97 codec 0, DAC map configured, total channels = 6
Nvaudio: PROBE is done
eth1: Setting half-duplex based on auto-negotiated partner ability 0000.
e100: eth0 NIC Link is Up 100 Mbps Full duplex

The output from cat /proc/pci is this:

root@localhost infernator # cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: PCI device 10de:01e0 (nVidia Corporation) (rev 193).
Prefetchable 32 bit memory at 0xe0000000 [0xe3ffffff].
Bus 0, device 0, function 1:
RAM memory: PCI device 10de:01eb (nVidia Corporation) (rev 193).
Bus 0, device 0, function 2:
RAM memory: PCI device 10de:01ee (nVidia Corporation) (rev 193).
Bus 0, device 0, function 3:
RAM memory: PCI device 10de:01ed (nVidia Corporation) (rev 193).
Bus 0, device 0, function 4:
RAM memory: PCI device 10de:01ec (nVidia Corporation) (rev 193).
Bus 0, device 0, function 5:
RAM memory: PCI device 10de:01ef (nVidia Corporation) (rev 193).
Bus 0, device 1, function 0:
ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev 163).
Bus 0, device 1, function 1:
SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev 162).
Master Capable. No bursts. Min Gnt=3.Max Lat=1.
I/O at 0xc400 [0xc41f].
Bus 0, device 2, function 0:
USB Controller: nVidia Corporation nForce2 USB Controller (rev 163).
Master Capable. No bursts. Min Gnt=3.Max Lat=1.
Non-prefetchable 32 bit memory at 0xe7003000 [0xe7003fff].
Bus 0, device 2, function 1:
USB Controller: nVidia Corporation nForce2 USB Controller (#2) (rev 163).
IRQ 9.
Master Capable. No bursts. Min Gnt=3.Max Lat=1.
Non-prefetchable 32 bit memory at 0xe7004000 [0xe7004fff].
Bus 0, device 2, function 2:
USB Controller: nVidia Corporation nForce2 USB Controller (rev 163).
IRQ 5.
Master Capable. No bursts. Min Gnt=3.Max Lat=1.
Non-prefetchable 32 bit memory at 0xe7005000 [0xe70050ff].
Bus 0, device 4, function 0:
Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev 161).
IRQ 5.
Master Capable. No bursts. Min Gnt=1.Max Lat=20.
Non-prefetchable 32 bit memory at 0xe7000000 [0xe7000fff].
I/O at 0xb000 [0xb007].
Bus 0, device 6, function 0:
Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev 161).
IRQ 11.
Master Capable. No bursts. Min Gnt=2.Max Lat=5.
I/O at 0xb400 [0xb4ff].
I/O at 0xb800 [0xb87f].
Non-prefetchable 32 bit memory at 0xe7001000 [0xe7001fff].
Bus 0, device 8, function 0:
PCI bridge: PCI device 10de:006c (nVidia Corporation) (rev 163).
Master Capable. No bursts. Min Gnt=2.Max Lat=2.
Bus 0, device 9, function 0:
IDE interface: nVidia Corporation nForce2 IDE (rev 162).
Master Capable. No bursts. Min Gnt=3.Max Lat=1.
I/O at 0xf000 [0xf00f].
Bus 0, device 30, function 0:
PCI bridge: nVidia Corporation nForce2 AGP (rev 193).
Master Capable. Latency=32. Min Gnt=10.
Bus 1, device 7, function 0:
Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev .
IRQ 10.
Master Capable. Latency=32. Min Gnt=8.Max Lat=56.
Non-prefetchable 32 bit memory at 0xe6200000 [0xe6200fff].
I/O at 0x9000 [0x903f].
Non-prefetchable 32 bit memory at 0xe6000000 [0xe60fffff].
Bus 1, device 11, function 0:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
IRQ 10.
Master Capable. Latency=32. Min Gnt=32.Max Lat=64.
I/O at 0x9400 [0x94ff].
Non-prefetchable 32 bit memory at 0xe6201000 [0xe62010ff].
Bus 1, device 12, function 0:
RAID bus controller: CMD Technology Inc Silicon Image SiI 3112 SATARaid Controller (rev 2).
IRQ 11.
Master Capable. Latency=32.
I/O at 0x9800 [0x9807].
I/O at 0x9c00 [0x9c03].
I/O at 0xa000 [0xa007].
I/O at 0xa400 [0xa403].
I/O at 0xa800 [0xa80f].
Non-prefetchable 32 bit memory at 0xe6202000 [0xe62021ff].
Bus 1, device 13, function 0:
FireWire (IEEE 1394): Lucent Microelectronics FW323 (rev 97).
IRQ 10.
Master Capable. Latency=32. Min Gnt=12.Max Lat=24.
Non-prefetchable 32 bit memory at 0xe6203000 [0xe6203fff].
Bus 2, device 0, function 0:
VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4200] (rev 162).
IRQ 9.
Master Capable. Latency=32. Min Gnt=5.Max Lat=1.
Non-prefetchable 32 bit memory at 0xe4000000 [0xe4ffffff].
Prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].
Prefetchable 32 bit memory at 0xd8000000 [0xd807ffff].

It seems it detects the nVidia card just fine!

My Xfree config file looks like this, when I try to start it and it goes blank.

# This loads the GLX module
Load "glx"
# This loads the DRI module
# Load "dri"

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.

BusID "PCI:0:9:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
Identifier "NVIDIA GeForce"
#Driver "nv"
Driver "nvidia"
#VideoRam 65536
# Insert Clocks lines here if appropriate
Option "NvAGP" "2"
EndSection

I also tried option 0 1 with the NvAGP setting, no succes.

I have disabled dri in the kernel, agpgart is compiled as normal, not as a module.

I also tried patched kernel 2.4.20 gentoo-sources, patched with the agpgart patch, no luck either :/

I upgraded my bios to latest version, etc etc etc and I am really desperate now, can someone please help me?

A big thanks for trying to solve my problem
infernator is offline   Reply With Quote