From archie@dellroad.org Sun Nov 5 12:47:08 2000 Return-Path: Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 7246737B4CF for ; Sun, 5 Nov 2000 12:47:07 -0800 (PST) Received: from curve.dellroad.org (curve.dellroad.org [10.1.1.30]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id MAA40165 for ; Sun, 5 Nov 2000 12:47:06 -0800 (PST) Received: (from archie@localhost) by curve.dellroad.org (8.11.0/8.11.0) id eA5Kl6B77972; Sun, 5 Nov 2000 12:47:06 -0800 (PST) (envelope-from archie) Message-Id: <200011052047.eA5Kl6B77972@curve.dellroad.org> Date: Sun, 5 Nov 2000 12:47:06 -0800 (PST) From: Archie Cobbs Reply-To: archie@dellroad.org To: FreeBSD-gnats-submit@freebsd.org Subject: Interrupt conflict btw. vga and Ethernet X-Send-Pr-Version: 3.2 >Number: 22624 >Category: kern >Synopsis: Interrupt conflict btw. vga and Ethernet >Confidential: no >Severity: serious >Priority: medium >Responsible: ceri >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 05 12:50:00 PST 2000 >Closed-Date: Sun Jun 08 11:01:02 PDT 2003 >Last-Modified: Sun Jun 08 11:01:02 PDT 2003 >Originator: Archie Cobbs >Release: FreeBSD 4.1.1-RELEASE i386 >Organization: Packet Design, Inc. >Environment: FreeBSD 4.1.1-stable on approx 10/20/00 XFree86 3.3.6 >Description: See email below sent to freebsd-stable.. > From owner-freebsd-stable@FreeBSD.ORG Tue Oct 31 16:49:45 2000 > From: Archie Cobbs > Message-Id: <200011010048.eA10mIK51824@curve.dellroad.org> > Subject: Interrupt conflict btw. vga and Ethernet > To: freebsd-stable@FreeBSD.ORG > Date: Tue, 31 Oct 2000 16:48:17 -0800 (PST) > X-Mailer: ELM [version 2.4ME+ PL82 (25)] > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Content-Type: text/plain; charset=US-ASCII > Sender: owner-freebsd-stable@FreeBSD.ORG > X-Loop: FreeBSD.ORG > Precedence: bulk > Status: OR > > Hi, > > I've noticed a wierd problem on 4.1.1-stable (as of a week or two ago). > I have this hardware: > > > ... > > pci1: at 0.0 irq 11 > > ... > > sf2: port 0xd800-0xd8ff mem 0xdc000000-0xdc07ffff irq 11 at device 6.0 on pci2 > > sf2: Ethernet address: 00:00:d1:ed:b1:9f > > ... > > This machine also has sf0, sf1, and sf3 (on a four-controller card). > > When running X, everything is fine until sf2 is accessed. Then the > X display gets *really* slow.. like it takes four seconds or so > to scroll a page of xterm text. This persists even after restarting > the X server. > > Obviously, this has something to do with the fact that the Matrox > card and the sf2 interface are both on irq 11 -- the other three > interfaces are on different irq's and don't show the same problem. > > Any ideas? The sf driver looks like it's correctly written to share > interrupts.. so maybe this is an XFree86 bug? > > Details below. > > Thanks, > -Archie > > __________________________________________________________________________ > Archie Cobbs * Packet Design * http://www.packetdesign.com > > =============== dmesg ================== > > Copyright (c) 1992-2000 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 4.1.1-STABLE #1: Thu Oct 26 17:26:09 PDT 2000 > root@bubba.packetdesign.com:/usr/src/sys/compile/BUBBA > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (664.97-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x683 Stepping = 3 > Features=0x387f9ff > real memory = 134152192 (131008K bytes) > avail memory = 127840256 (124844K bytes) > Preloaded elf kernel "kernel" at 0xc02c6000. > Pentium Pro MTRR support enabled > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib2: at device 1.0 on pci0 > pci1: on pcib2 > pci1: at 0.0 irq 11 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0xe400-0xe40f at device 7.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: at 7.2 irq 10 > pcib3: at device 11.0 on pci0 > pci2: on pcib3 > sf0: port 0xd000-0xd0ff mem 0xdc180000-0xdc1fffff irq 5 at device 4.0 on pci2 > sf0: Ethernet address: 00:00:d1:ed:b1:9d > miibus0: on sf0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > sf1: port 0xd400-0xd4ff mem 0xdc080000-0xdc0fffff irq 10 at device 5.0 on pci2 > sf1: Ethernet address: 00:00:d1:ed:b1:9e > miibus1: on sf1 > ukphy1: on miibus1 > ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > sf2: port 0xd800-0xd8ff mem 0xdc000000-0xdc07ffff irq 11 at device 6.0 on pci2 > sf2: Ethernet address: 00:00:d1:ed:b1:9f > miibus2: on sf2 > ukphy2: on miibus2 > ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > sf3: port 0xdc00-0xdcff mem 0xdc100000-0xdc17ffff irq 9 at device 7.0 on pci2 > sf3: Ethernet address: 00:00:d1:ed:b1:a0 > miibus3: on sf3 > ukphy3: on miibus3 > ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pcib1: on motherboard > pci3: on pcib1 > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: irq 1 on atkbdc0 > psm0: irq 12 on atkbdc0 > psm0: model IntelliMouse, device ID 3 > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > sc0: on isa0 > sc0: VGA <16 virtual consoles, flags=0x200> > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > sio1: type 16550A > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppi0: on ppbus0 > IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to accept, logging limited to 100 packets/entry by default > ata1-slave: ata_command: timeout waiting for intr > ata1-slave: identify failed > ad0: 9773MB [19857/16/63] at ata0-master using UDMA66 > acd0: CDROM at ata1-master using PIO4 > Mounting root from ufs:/dev/ad0s1a > > ===================== xinit output ===================== > > XFree86 Version 3.3.6 / X Window System > (protocol Version 11, revision 0, vendor release 6300) > Release Date: January 8 1999 > If the server is older than 6-12 months, or if your card is newer > than the above date, look for a newer version before reporting > problems. (see http://www.XFree86.Org/FAQ) > Operating System: FreeBSD 3.3-RELEASE i386 [ELF] > Configured drivers: > SVGA: server for SVGA graphics adaptors (Patchlevel 0): > NV1, STG2000, RIVA 128, RIVA TNT, RIVA TNT2, RIVA ULTRA TNT2, > RIVA VANTA, RIVA ULTRA VANTA, RIVA INTEGRATED, GeForce 256, > GeForce DDR, Quadro, ET4000, ET4000W32, ET4000W32i, ET4000W32i_rev_b, > ET4000W32i_rev_c, ET4000W32p, ET4000W32p_rev_a, ET4000W32p_rev_b, > ET4000W32p_rev_c, ET4000W32p_rev_d, ET6000, ET6100, et3000, pvga1, > wd90c00, wd90c10, wd90c30, wd90c24, wd90c31, wd90c33, gvga, r128, ati, > sis86c201, sis86c202, sis86c205, sis86c215, sis86c225, sis5597, > sis5598, sis6326, sis530, sis620, sis300, sis630, sis540, tvga8200lx, > tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga8900d, tvga9000, > tvga9000i, tvga9100b, tvga9200cxr, tgui9400cxi, tgui9420, tgui9420dgi, > tgui9430dgi, tgui9440agi, cyber9320, tgui9660, tgui9680, tgui9682, > tgui9685, cyber9382, cyber9385, cyber9388, cyber9397, cyber9520, > cyber9525, 3dimage975, 3dimage985, cyber9397dvd, blade3d, cyberblade, > clgd5420, clgd5422, clgd5424, clgd5426, clgd5428, clgd5429, clgd5430, > clgd5434, clgd5436, clgd5446, clgd5480, clgd5462, clgd5464, clgd5465, > clgd6205, clgd6215, clgd6225, clgd6235, clgd7541, clgd7542, clgd7543, > clgd7548, clgd7555, clgd7556, ncr77c22, ncr77c22e, cpq_avga, mga2064w, > mga1064sg, mga2164w, mga2164w AGP, mgag200, mgag100, mgag400, oti067, > oti077, oti087, oti037c, al2101, ali2228, ali2301, ali2302, ali2308, > ali2401, cl6410, cl6412, cl6420, cl6440, video7, ark1000vl, ark1000pv, > ark2000pv, ark2000mt, mx, realtek, s3_virge, AP6422, AT24, AT3D, > s3_svga, NM2070, NM2090, NM2093, NM2097, NM2160, NM2200, ct65520, > ct65525, ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, > ct65550, ct65554, ct65555, ct68554, ct69000, ct64200, ct64300, > mediagx, V1000, V2100, V2200, p9100, spc8110, i740, i740_pci, > Voodoo Banshee, Voodoo3, smi, generic > Using syscons driver with X support (version 2.0) > (using VT number 9) > > XF86Config: /etc/XF86Config > (**) stands for supplied, (--) stands for probed/default values > (**) XKB: keycodes: "xfree86" > (**) XKB: types: "default" > (**) XKB: compat: "default" > (**) XKB: symbols: "us(pc101)" > (**) XKB: geometry: "pc" > (**) XKB: keymap: "xfree86(us)" (overrides other XKB settings) > (**) XKB: rules: "xfree86" > (**) XKB: model: "pc101" > (**) XKB: layout: "us" > (**) Mouse: type: PS/2, device: /dev/mouse, buttons: 5 > (**) Mouse: zaxismapping: (-)4 (+)5 > (**) SVGA: Graphics device ID: "Matrox G400" > (**) SVGA: Monitor ID: "KDS VS-190" > (**) SVGA: Graphics device ID: "Diamond SpeedStar A50" > (**) SVGA: Monitor ID: "KDS VS-190" > (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/75dpi/" > (--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xe8000000, 0xe0000000 > (--) SVGA: Linear framebuffer at 0xE8000000 > (--) SVGA: MMIO registers at 0xE0000000 > (--) SVGA: Video BIOS info block at 0x000c7a60 > (--) SVGA: Video BIOS info block not detected! > (!!) SVGA: Unable to probe for video memory size. Assuming 16 Meg. Please specify the correct amount in the XF86Config file. See the file README.MGA for details. > (--) SVGA: detected an SGRAM card > (--) SVGA: chipset: mgag400 > (--) SVGA: videoram: 16384k > (**) SVGA: Option "dac_8_bit" > (**) SVGA: Using 8 bits per color component > (**) SVGA: Using 8 bpp, Depth 8, Color weight: 888 > (--) SVGA: Maximum allowed dot-clock: 300.000 MHz > (**) SVGA: Mode "1600x1200": mode clock = 202.500 > (**) SVGA: Mode "1280x1024": mode clock = 157.500 > (--) SVGA: Virtual resolution set to 1600x1200 > (--) SVGA: SpeedUp code selection modified because virtualX != 1024 > (--) SVGA: Using hardware cursor > (--) SVGA: PLL reference freq: 27.050 MHz > (--) SVGA: Read OPTION 0x50044120 > (--) SVGA: Using XAA (XFree86 Acceleration Architecture) > (--) SVGA: XAA: Solid filled rectangles > (--) SVGA: XAA: Screen-to-screen copy > (--) SVGA: XAA: 8x8 color expand pattern fill > (--) SVGA: XAA: CPU to screen color expansion (TE/NonTE imagetext, TE/NonTE polytext) > (--) SVGA: XAA: Using 12 128x128 areas for pixmap caching > (--) SVGA: XAA: Caching tiles and stipples > (--) SVGA: XAA: General lines and segments > (--) SVGA: XAA: Dashed lines and segments > Detected mode 1600 by 1200 > *FvwmTaskBar: cannot open console >How-To-Repeat: Boot system. Start X. Access interface sf2. >Fix: >Release-Note: >Audit-Trail: From: Archie Cobbs To: freebsd-gnats-submit@FreeBSD.org, archie@dellroad.org Cc: Subject: Re: kern/22624: Interrupt conflict btw. vga and Ethernet Date: Thu, 25 Jan 2001 10:14:43 -0800 Same problem happened with 4.2-REL on another machine, except it was a different port and it didn't seem like there was any interrupt conflict. Now I'm thinking it's just a bug in the driver. At least one other person has seen the same problem: http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=777342+779066+/usr/local/www/db/text/2000/freebsd-questions/20000521.freebsd-questions -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com State-Changed-From-To: open->feedback State-Changed-By: iedowse State-Changed-When: Sun Aug 11 14:35:02 PDT 2002 State-Changed-Why: Does this problem still occur? http://www.freebsd.org/cgi/query-pr.cgi?pr=22624 State-Changed-From-To: feedback->closed State-Changed-By: ceri State-Changed-When: Sun Jun 8 11:01:01 PDT 2003 State-Changed-Why: Feedback timeout (6 months or more). I will handle any feedback that this closure generates. Responsible-Changed-From-To: freebsd-bugs->ceri Responsible-Changed-By: ceri Responsible-Changed-When: Sun Jun 8 11:01:01 PDT 2003 Responsible-Changed-Why: Feedback timeout (6 months or more). I will handle any feedback that this closure generates. http://www.freebsd.org/cgi/query-pr.cgi?pr=22624 >Unformatted: