From owner-freebsd-stable@FreeBSD.ORG Tue Sep 13 17:57:32 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D4FA16A41F for ; Tue, 13 Sep 2005 17:57:32 +0000 (GMT) (envelope-from Robert.Faulds@voxify.com) Received: from Deliverance.voxify.com (65-123-2-7.dia.cust.qwest.net [65.123.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAADF43D45 for ; Tue, 13 Sep 2005 17:57:31 +0000 (GMT) (envelope-from Robert.Faulds@voxify.com) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Tue, 13 Sep 2005 10:57:30 -0700 Message-ID: <331CA3AB8A236A488C92DEC289C7D04DFAAFC0@Deliverance.voxify.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Garbled VGA text console Thread-Index: AcW4gvG+OZS13WI7RGCBpEjInZefhAACZF6w From: "Robert Faulds" To: "Brent Casavant" , Cc: Subject: RE: Garbled VGA text console X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2005 17:57:32 -0000 Swap your mouse and keyboard. It appears you have them plugged in backwards. -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Brent Casavant Sent: Tuesday, September 13, 2005 9:48 AM To: freebsd-stable@freebsd.org Subject: Garbled VGA text console Hello, I've searched the bug database and Googled for the following problem, to no avail, but hopefully querying -stable will help. I am experiencing garbled text consoles on 5.4-RELEASE (sorry, no prior data). All sc consoles have repeated/missing/overwritten characters across the entire screen. Furthermore, as I move the mouse cursor across the screen, the incorrect display continually changes in the rows and columns near the cursor. However, the mouse is not a necessary component of the dyslexic (no offense intended, I can certainly believe this is just what dyslexia sufferers would perceive in their daily life) display -- a kernel configured without mouse support at all still exhibits the problem. The problem occurs as soon as the kernel is handed control from the loader (the loader has no such problem, for what its worth) -- boot messages and the like are corrupted with the duplicated and missing and overwritten characters. This is an important point, I believe, as corruption occurs even before the APs are launched. As an example, here's what ttyv0 looks like at this moment: --- cut here --- Starting sshd. StStting sendmail. Initial i3i386 intialization. dititial ABIBIupuprt: : svipipsynuxpostfix/postfix-script: starting thththstfi x maililys s s s s vr4.4. Startiti cron. vfs ruleset: error converting to n nber:r:/usrsrocalaltc/d/dfs.r.res /etc/rc: WARNING: defvf_set_ruruset: unablblto s s rululuseseses/localaltc/devfs .rules to /dev devfs ruleleleror cocococong t tnumbmbo o usr/lolol/etc/devfs.rules /etctc: WARNIARAR devfsvfs_s_s_ruleset: unable to apply ruleset $/usr/l/l/l/ltc/ devevevuleseso /d/d Local packagaginititlization:Starting saslauthd1. . Additional TCP options:. t n moused:. Starting inetd. Starting backgrorod file sle m sm chchks i i60 s sonds. Tue SeSeSeSe9:4747:5:5:5200505 eeBSD/i386 (chenjesususutyv0v0 login: --- cut here --- The most relevant details that I can think of that might matter are that the machine is quad-processor (4x500MHz PIII Xeon), and has two seperate VGA controllers. The onboard VGA controller is a Cirrus Logic GD 5480, but is (mostly?) disabled by the BIOS when it detects the Matrox G400 card (dual-head configuration). The X server doesn't encounter any problem, and configuring with option VGA_SLOW_IOACCESS doesn't help. To me this smells like a multiprocessor problem (e.g. we see some output repeated 4 times in the example above, but never more than 4). Does this sound familiar to anyone? dmesg output and an lspci -v output are included below. Note that the Matrox card is identified as AGP in the lspci output, even though it is actually a PCI card. *shrug* --- cut here --- chenjesu# 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 5.4-RELEASE-p7 #15: Mon Sep 12 20:11:55 CDT 2005 bcasavan@chenjesu:/usr/obj/usr/src/sys/chenjesu ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (500.15-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x672 Stepping =3D 2 =20 Features=3D0x387fbff real memory =3D 3221200896 (3071 MB) avail memory =3D 3150848000 (3004 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 3 cpu1 (AP): APIC ID: 0 cpu2 (AP): APIC ID: 1 cpu3 (AP): APIC ID: 2 ioapic0 irqs 0-63 on motherboard lapic3: Forcing LINT1 to edge trigger npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xc08-0xc0b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 6.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcm0: port 0x2400-0x241f irq 17 at device 7.0 on pci0 pcm0: sym0: <810a> port 0x2000-0x20ff mem 0xf8100000-0xf81000ff irq 58 at device 8.0 on pci0 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking fxp0: port 0x2420-0x243f mem 0xf8000000-0xf80fffff,0xf9200000-0xf9200fff irq 18 at device 9.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:90:27:aa:39:13 pci0: at device 10.0 (no driver attached) pci0: at device 11.0 (no driver attached) isab0: at device 12.0 on pci0 isa0: on isab0 atapci0: port 0x2460-0x246f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 12.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0x2440-0x245f irq 54 at device 12.2 on pci0 usb0: 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 intpm0: port 0xcc0-0xccf irq 9 at device 12.3 on pci0 intpm0: I/O mapped cc0 intpm0: intr IRQ 9 enabled revision 0 intsmb0: on intpm0 smbus1: on intsmb0 smb0: on smbus1 intpm0: PM I/O mapped c00=20 pcib2: on acpi0 pci2: on pcib2 ohci0: mem 0xfe004000-0xfe004fff irq 19 at device 1.0 on pci2 usb1: OHCI version 1.0 usb1: on ohci0 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ohci1: mem 0xfe005000-0xfe005fff irq 29 at device 1.1 on pci2 usb2: OHCI version 1.0 usb2: on ohci1 usb2: USB revision 1.0 uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfe006000-0xfe0060ff irq 39 at device 1.2 on pci2 usb3: EHCI version 1.0 usb3: companion controllers, 3 ports each: usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 5 ports with 5 removable, self powered sym1: <896> port 0x3000-0x30ff mem 0xfe000000-0xfe001fff,0xfe006400-0xfe0067ff irq 57 at device 3.0 on pci2 sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking sym2: <896> port 0x3400-0x34ff mem 0xfe002000-0xfe003fff,0xfe006800-0xfe006bff irq 56 at device 3.1 on pci2 sym2: No NVRAM, ID 7, Fast-40, LVD, parity checking atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse Explorer, device ID 4 fdc0: port 0x3f2-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled pmtimer0 on isa0 orm0: at iomem 0xc9000-0xccfff,0xc0000-0xc8fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: 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 Timecounters tick every 10.000 msec WARNING: apm_saver module requires apm enabled acd0: CDROM at ata0-master PIO4 acd1: CDROM at ata0-slave PIO4 Waiting 2 seconds for SCSI devices to settle pass5 at sym1 bus 0 target 6 lun 0 pass5: Fixed Processor SCSI-2 device=20 pass5: 3.300MB/s transfers pass6 at ata0 bus 0 target 0 lun 0 pass6: Removable CD-ROM SCSI-0 device=20 pass6: 16.000MB/s transfers pass7 at ata0 bus 0 target 1 lun 0 pass7: Removable CD-ROM SCSI-0 device=20 pass7: 16.000MB/s transfers da3 at sym1 bus 0 target 3 lun 0 da3: Fixed Direct Access SCSI-3 device=20 da3: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da3: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da4 at sym1 bus 0 target 4 lun 0 da4: Fixed Direct Access SCSI-3 device=20 da4: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da4: 8761MB (17942584 512 byte sectors: 255H 63S/T 1116C) da0 at sym1 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device=20 da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da2 at sym1 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-3 device=20 da2: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da2: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da1 at sym1 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device=20 da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Mounting root from ufs:/dev/da0s1a arp: unknown hardware address format (0x0800) arp: unknown hardware address format (0x0800) # lspci -v 00:06.0 PCI bridge: Hint Corp HB1-SE33 PCI-PCI Bridge (rev 13) (prog-if 00 [Normal decode]) Flags: bus master, medium devsel, latency 128 Bus: primary=3D00, secondary=3D01, subordinate=3D01, sec-latency=3D68 Memory behind bridge: f8200000-f8ffffff Prefetchable memory behind bridge: 00000000fc000000-00000000fdf00000 Capabilities: [80] Power Management version 2 Capabilities: [90] #06 [0000] Capabilities: [a0] Vital Product Data 00:07.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a) Subsystem: Creative Labs: Unknown device 8065 Flags: bus master, medium devsel, latency 128, IRQ 17 I/O ports at 2400 Capabilities: [dc] Power Management version 1 00:07.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 0a) Subsystem: Creative Labs Gameport Joystick Flags: bus master, medium devsel, latency 128 I/O ports at 2470 Capabilities: [dc] Power Management version 1 00:08.0 SCSI storage controller: LSI Logic / Symbios Logic 53c810 (rev 23) Subsystem: LSI Logic / Symbios Logic 8100S Flags: bus master, medium devsel, latency 128, IRQ 58 I/O ports at 2000 Memory at f8100000 (32-bit, non-prefetchable) Capabilities: [40] Power Management version 1 00:09.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 05) Subsystem: Intel Corp. EtherExpress PRO/100+ Flags: bus master, medium devsel, latency 128, IRQ 18 Memory at f9200000 (32-bit, prefetchable) I/O ports at 2420 Memory at f8000000 (32-bit, non-prefetchable) Capabilities: [dc] Power Management version 1 00:0a.0 VGA compatible controller: Cirrus Logic GD 5480 (rev 23) (prog-if 00 [VGA]) Subsystem: Unknown device 3e3e:003e Flags: bus master, medium devsel, latency 64, IRQ 255 Memory at (32-bit, prefetchable) [disabled] Memory at (32-bit, non-prefetchable) [disabled] 00:0b.0 PIC: Intel Corp. 683053 Programmable Interrupt Device (prog-if 03) Flags: bus master, medium devsel, latency 0 00:0c.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02) Flags: bus master, medium devsel, latency 0 00:0c.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master]) Flags: bus master, medium devsel, latency 64 I/O ports at 2460 00:0c.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI]) Flags: bus master, medium devsel, latency 64, IRQ 54 I/O ports at 2440 00:0c.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02) Flags: medium devsel 00:10.0 Host bridge: Intel Corp. 450NX - 82451NX Memory & I/O Controller (rev 03) Flags: fast devsel 00:12.0 Host bridge: Intel Corp. 450NX - 82454NX/84460GX PCI Expander Bridge (rev 02) Flags: bus master, medium devsel, latency 128 00:13.0 Host bridge: Intel Corp. 450NX - 82454NX/84460GX PCI Expander Bridge (rev 02) Flags: bus master, medium devsel, latency 128 01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 85) (prog-if 00 [VGA]) Subsystem: Matrox Graphics, Inc.: Unknown device 0d43 Flags: bus master, medium devsel, latency 128, IRQ 16 Memory at fc000000 (32-bit, prefetchable) Memory at f8200000 (32-bit, non-prefetchable) Memory at f8800000 (32-bit, non-prefetchable) Capabilities: [dc] Power Management version 2 Capabilities: [f0] AGP version 2.0 --=20 Brent Casavant Dance like everybody should be watching. www.angeltread.org KD5EMB, EN34lv _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"