Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51524 - nvidia-kernel-5336-r3 + kt400 + agp = no XFree86
Summary: nvidia-kernel-5336-r3 + kt400 + agp = no XFree86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 42870 47745
  Show dependency tree
 
Reported: 2004-05-19 19:32 UTC by Carlos Eduardo Monti
Modified: 2004-06-15 14:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
.config for my 2.6.5 kernel. (config265,26.14 KB, text/plain)
2004-05-19 20:18 UTC, Carlos Eduardo Monti
Details
.config for my 2.6.6 kernel. (config266,25.95 KB, text/plain)
2004-05-19 20:19 UTC, Carlos Eduardo Monti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Eduardo Monti 2004-05-19 19:32:38 UTC
nvidia-kernel-5336-r3 and previous versions refuse to start (black screen, X uses 99% of cpu, checked through ssh session) with AGP enabled (Option "NvAGP" "2"), without AGP enabled (Option "NvAGP" "0" -- or 1, which since kt400 is not a supported chipset by nvidia's agp driver falls back to 0, or the "nv" driver from XFree86) the system works.

Tried it with the gentoo-dev-sources-2.6.5-r1 and development-sources-2.6.6.

Problem started after a system upgrade which included: new motherboard (Abit At7max2 kt400 chipset), Athlon XP2800+, 512mb of ddr ram.

The following shows up in the kernel log:
May 19 17:29:01 magica nvidia: module license 'NVIDIA' taints kernel.
May 19 17:29:01 magica 0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336  Wed Jan 14 18:29:26 PST 2004
May 19 17:29:01 magica agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
May 19 17:29:01 magica agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
May 19 17:29:01 magica agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
May 19 17:29:09 magica Badness in pci_find_subsys at drivers/pci/search.c:167
May 19 17:29:09 magica Call Trace:
May 19 17:29:09 magica [<c024e1e8>] pci_find_subsys+0xe8/0xf0
May 19 17:29:09 magica [<c024e21f>] pci_find_device+0x2f/0x40
May 19 17:29:09 magica [<c024e028>] pci_find_slot+0x28/0x50
May 19 17:29:09 magica [<e1dd1150>] os_pci_init_handle+0x39/0x68 [nvidia]
May 19 17:29:09 magica [<e1c6585f>] _nv001243rm+0x1f/0x24 [nvidia]
May 19 17:29:09 magica [<e1dac115>] _nv000816rm+0x2f5/0x384 [nvidia]
May 19 17:29:09 magica [<e1d1492c>] _nv003801rm+0xd8/0x100 [nvidia]
May 19 17:29:09 magica [<e1dabc4f>] _nv000809rm+0x2f/0x34 [nvidia]
May 19 17:29:09 magica [<e1d15750>] _nv003816rm+0xf0/0x104 [nvidia]
May 19 17:29:09 magica [<e1d164c7>] _nv000013rm+0x77/0x84 [nvidia]
May 19 17:29:09 magica [<e1d15e6b>] _nv003780rm+0x1df/0x2c8 [nvidia]
May 19 17:29:09 magica [<e1d15c77>] _nv000012rm+0x43/0x58 [nvidia]
May 19 17:29:09 magica [<e1d15c34>] _nv000012rm+0x0/0x58 [nvidia]
May 19 17:29:09 magica [<e1c5969c>] _nv001219rm+0xa8/0x124 [nvidia]
May 19 17:29:09 magica [<e1dcea44>] nv_kern_rc_timer+0x0/0x37 [nvidia]
May 19 17:29:09 magica [<c01f356f>] smb_proc_generic_command+0xaf/0xd0
May 19 17:29:09 magica [<e1c69eb6>] rm_run_rc_callback+0x36/0x4c [nvidia]
May 19 17:29:09 magica [<e1dcea57>] nv_kern_rc_timer+0x13/0x37 [nvidia]
May 19 17:29:09 magica [<c011ea8b>] run_timer_softirq+0xcb/0x1b0
May 19 17:29:09 magica [<c011ec5f>] do_timer+0xdf/0xf0
May 19 17:29:09 magica [<c011a93d>] __do_softirq+0x7d/0x80
May 19 17:29:09 magica [<c011a966>] do_softirq+0x26/0x30
May 19 17:29:09 magica [<c01064ed>] do_IRQ+0xfd/0x130
May 19 17:29:09 magica [<c0104874>] common_interrupt+0x18/0x20
May 19 17:29:09 magica 
May 19 17:29:09 magica Badness in pci_find_subsys at drivers/pci/search.c:167
May 19 17:29:09 magica Call Trace:
May 19 17:29:09 magica [<c024e1e8>] pci_find_subsys+0xe8/0xf0
May 19 17:29:09 magica [<c024e21f>] pci_find_device+0x2f/0x40
May 19 17:29:09 magica [<c024e028>] pci_find_slot+0x28/0x50
May 19 17:29:09 magica [<e1dd1150>] os_pci_init_handle+0x39/0x68 [nvidia]
May 19 17:29:09 magica [<e1c6585f>] _nv001243rm+0x1f/0x24 [nvidia]
May 19 17:29:09 magica [<e1d16a5d>] _nv003797rm+0xa9/0x128 [nvidia]
May 19 17:29:09 magica [<e1d834a1>] _nv001490rm+0x55/0xe4 [nvidia]
May 19 17:29:09 magica [<e1dac154>] _nv000816rm+0x334/0x384 [nvidia]
May 19 17:29:09 magica [<e1d1492c>] _nv003801rm+0xd8/0x100 [nvidia]
May 19 17:29:09 magica [<e1dabc4f>] _nv000809rm+0x2f/0x34 [nvidia]
May 19 17:29:09 magica [<e1d15750>] _nv003816rm+0xf0/0x104 [nvidia]
May 19 17:29:09 magica [<e1d164c7>] _nv000013rm+0x77/0x84 [nvidia]
May 19 17:29:09 magica [<e1d15e6b>] _nv003780rm+0x1df/0x2c8 [nvidia]
May 19 17:29:09 magica [<e1d15c77>] _nv000012rm+0x43/0x58 [nvidia]
May 19 17:29:09 magica [<e1d15c34>] _nv000012rm+0x0/0x58 [nvidia]
May 19 17:29:09 magica [<e1c5969c>] _nv001219rm+0xa8/0x124 [nvidia]
May 19 17:29:09 magica [<e1dcea44>] nv_kern_rc_timer+0x0/0x37 [nvidia]
May 19 17:29:09 magica [<c01f356f>] smb_proc_generic_command+0xaf/0xd0
May 19 17:29:09 magica [<e1c69eb6>] rm_run_rc_callback+0x36/0x4c [nvidia]
May 19 17:29:09 magica [<e1dcea57>] nv_kern_rc_timer+0x13/0x37 [nvidia]
May 19 17:29:09 magica [<c011ea8b>] run_timer_softirq+0xcb/0x1b0
May 19 17:29:09 magica [<c011ec5f>] do_timer+0xdf/0xf0
May 19 17:29:09 magica [<c011a93d>] __do_softirq+0x7d/0x80
May 19 17:29:09 magica [<c011a966>] do_softirq+0x26/0x30
May 19 17:29:09 magica [<c01064ed>] do_IRQ+0xfd/0x130
May 19 17:29:09 magica [<c0104874>] common_interrupt+0x18/0x20


Reproducible: Always
Steps to Reproduce:
Load XFree86 with AGP support.
Actual Results:  
Black screen, X uses 99% of CPU.

Expected Results:  
Normal X start. No junk in kernel log.

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.tds.net/gentoo
http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib aavm acl alsa apache2 apm arts artswrappersuid audiofile avi
berkdb cdr crypt cups dga directfb dvd encode ethereal faad fbcon flac flash
foomaticdb gb gd gdbm ggi gif gpm gtk gtk2 gtkhtml imap imlib innodb ipv6 java
javascript jdepend jikes joystick jpeg junit justify kde lcms ldap libg++ libwww
linguas_es mad maildir matroska memlimit mikmod mmx motif mozilla moznocompose
moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg nas ncurses nls nocardbus nptl
offensive oggvorbis opengl pam pdflib perl plotutils png python qt quicktime
readline rplay ruby samba sdl slang snmp speex spell sse ssl stroke svga tcltk
tcpd theora tiff truetype trusted usagi usb v4l video_cards_nvidia wmf wsconvert
wxwindows x86 xface xml xml2 xmms xosd xv xvid zlib"
Comment 1 Carlos Eduardo Monti 2004-05-19 20:12:25 UTC
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR+
        Latency: 8
        Region 0: Memory at d0000000 (32-bit, prefetchable)
        Capabilities: [a0] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
                Command: RQ=32 ArqSz=0 Cal=0 SBA- AGP+ GART64- 64bit- FW+ Rate=x4
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: e0000000-e1ffffff
        Prefetchable memory behind bridge: d8000000-dfffffff
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
        Subsystem: Creative Labs CT4760 SBLive!
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (500ns min, 5000ns max)
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at a000
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:09.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
        Subsystem: Creative Labs Gameport Joystick
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Region 0: I/O ports at a400
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:0a.0 Multimedia controller: Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder (rev 02)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at e3000000 (32-bit, non-prefetchable)
        Capabilities: [40] Power Management version 1
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:0d.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (500ns min, 1000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at e3107000 (32-bit, non-prefetchable)
        Region 1: Memory at e3100000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:0e.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) (prog-if 00 [UHCI])
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin A routed to IRQ 19
        Region 4: I/O ports at a800 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:0e.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) (prog-if 00 [UHCI])
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin B routed to IRQ 17
        Region 4: I/O ports at ac00 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:0e.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51) (prog-if 20 [EHCI])
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin C routed to IRQ 18
        Region 0: Memory at e3104000 (32-bit, non-prefetchable)
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D3 PME-Enable- DSel=0 DScale=0 PME-

0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin A routed to IRQ 21
        Region 4: I/O ports at b000 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin B routed to IRQ 21
        Region 4: I/O ports at b400 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin C routed to IRQ 21
        Region 4: I/O ports at b800 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, cache line size 08
        Interrupt: pin D routed to IRQ 21
        Region 0: Memory at e3105000 (32-bit, non-prefetchable)
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
        Subsystem: VIA Technologies, Inc. VT8235 ISA Bridge
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Interrupt: pin A routed to IRQ 20
        Region 4: I/O ports at bc00 [size=16]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin C routed to IRQ 22
        Region 0: I/O ports at c000
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
        Subsystem: ABIT Computer Corp.: Unknown device 1400
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (750ns min, 2000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 23
        Region 0: I/O ports at c400
        Region 1: Memory at e3106000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:01:00.0 VGA compatible controller: nVidia Corporation NV15 [GeForce2 GTS/Pro] (rev a3) (prog-if 00 [VGA])
        Subsystem: Asustek Computer, Inc. V7700 AGP Video Card
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 248 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at e0000000 (32-bit, non-prefetchable)
        Region 1: Memory at d8000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [44] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA- ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
                Command: RQ=32 ArqSz=0 Cal=0 SBA- AGP+ GART64- 64bit- FW+ Rate=x4
Comment 2 Carlos Eduardo Monti 2004-05-19 20:18:01 UTC
Created attachment 31746 [details]
.config for my 2.6.5 kernel.
Comment 3 Carlos Eduardo Monti 2004-05-19 20:19:51 UTC
Created attachment 31747 [details]
.config for my 2.6.6 kernel.
Comment 4 Andrew Bevitt 2004-05-21 08:14:26 UTC
Please download http://dev.gentoo.org/~cyfred/nvidia-kernel-1.0.5336-r3.tar.bz2 and extract to your $PORTDIR_OVERLAY/media-video/ directory. Then try the ebuild provided in this tarball. 

It patches the kernel api driver so that proper kernel function calls are actually used not deprecated ones... I have notified nvidia of this will see what they say.
Comment 5 Carlos Eduardo Monti 2004-05-21 11:44:59 UTC
Same result. (Badness in pci_find_subsys at drivers/pci/search.c:167)

From what I've seen in http://www.nvnews.net/vbulletin/forumdisplay.php?f=14 this is a symptom of an error, not the error itself. That function gets called trying to recover from an error and the causes could be many, mostly related to an unstable AGP bus. I've tried every BIOS setting related to AGP and nothing seemed to help.

I've also found out two new things:
1. When not using the vesafb driver instead of a black screen I get a screen with garbled ASCII characters.
2. lspci output for my video card shows the following line:
Latency: 248 (1250ns min, 250ns max)
Shouldn't the min latency be lower than the max? Other devices show that fine.
Comment 6 Andrew Bevitt 2004-05-22 20:20:26 UTC
You know this _might_ be a rather big call but I _think_ the module is actually being de-prioritised by the kernel; Im trying to follow the scheduler code in the kernel but its hard without know exactly what the binary driver does...

Ultimately I think its a nvidia kernel api problem .. it looks like they use specific kernel calls that automatically get a higher (smaller interrupt) priority. But in doing so they effectively break the locking methods in the kernel on UP (single processor) machines. This problem is directly ported to SMP systems because the scheduling / locking routines ultimately are derived from SMP in the kernel.

Ultimately I dont think the kernel api was designed to work with a scheduler.

Please remember this ultimately is conjecture, and I could be wrong.

Why this only happens for some people is slightly more obscure, and I dont know the reason... 

Remember conjecture ... 
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-22 22:40:36 UTC
Andrew, ask Seemant about some contact people at Nvidia. Maybe you can get in touch with people who could verify.
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-28 14:40:34 UTC
I've alerted Nvidia to this bug report, they'll be taking a look at it during this next week after the long (in the US) weekend.
Comment 9 Terence Ripperda 2004-05-28 15:47:35 UTC
Carlos, can you include the output of "lspci -x -s 1:0"? thanks.
Comment 10 Andrew Bevitt 2004-05-28 18:02:52 UTC
Mine works as this

root@asteroid andrew # lspci -x -s 2:0
0000:02:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
00: de 10 22 03 07 00 b0 02 a1 00 00 03 00 f8 00 00
10: 00 00 00 f1 08 00 00 e8 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 09 01 05 01

(Added for consistency).
Comment 11 Terence Ripperda 2004-06-01 08:07:38 UTC
oh shoot, I actually meant "lspci -xxx -s 0:0". I really want to see the host-bridge's (via chip's) pci config space. I also need the "-xxx" to get more of config space, you'll need to be root to do that. thanks!
Comment 12 Carlos Eduardo Monti 2004-06-02 10:53:15 UTC
The problem is solved. :)

I just installed a 520W power supply (old one was 300W), apparently... the recent motherboard+cpu+mem upgrade left my system slightly underpowered, enough to run but not stable.

In case you still want the lspci output, here it is:

magica root # lspci -xxx -s 0:0
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
00: 06 11 89 31 06 00 30 22 00 00 00 06 00 08 00 00
10: 08 00 00 e8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 7b 14 00 14
30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00
40: 00 19 88 80 82 44 01 04 11 19 88 80 82 44 00 00
50: 80 00 00 00 e0 85 20 20 e0 00 10 20 20 20 20 20
60: 00 2a 00 20 e6 99 40 15 55 2d 54 f0 41 56 00 00
70: 82 c8 00 01 01 09 50 00 01 00 00 00 00 00 00 02
80: 0f 00 00 00 c0 00 00 00 03 00 a1 1e 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 02 c0 20 00 17 02 00 1f 00 00 00 1f 61 d8 04 00
b0: 7f 9b 00 9b 46 00 00 00 46 00 00 00 00 00 00 8c
c0: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 15 f5 e8 ea 1f 1e f1 19 21 ff 00 00 61 32 74 00
e0: 00 00 00 00 00 ff 01 00 77 77 cc 00 00 9a ff 00
f0: 00 00 00 00 00 00 05 00 00 00 00 00 00 02 00 00
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2004-06-15 14:28:43 UTC
Fixed it seems.