Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2000 17:57:43 +0100 (CET)
From:      Blaz Zupan <blaz@amis.net>
To:        freebsd-current@freebsd.org
Subject:   CGA instead of VGA
Message-ID:  <Pine.BSF.4.21.0002191748400.512-100000@gold.amis.net>

next in thread | raw e-mail | index | archive | help
On -current my VGA card is being used as a CGA card. It is correctly
recognized as a VGA:

vga-pci0: <S3 Trio graphics accelerator> mem 0xf8000000-0xfbffffff irq 11 at device 15.0 on pci0
vga0: <Generic ISA VGA> at port 0x3d0-0x3db iomem 0xb8000-0xbffff on isa0

but then used as a CGA:

sc0: CGA <16 virtual consoles, flags=0x200>

The problem is, that I can't set fonts:

# vidcontrol </dev/ttyv0 -f 8x16 iso02-8x16
vidcontrol: can't load font: Device not configured

I vaguely remember seing a commit from Kazu that supposedly fixed this,
although I still experience it with a -current machine as of a couple of
days ago.

The motherboard is an Intel AN430TX, the graphics card is a S3 Trio 64V+
based card. Below is the full dmesg.

Blaz Zupan, blaz@amis.net, http://home.amis.net/blaz/
Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Sun Feb 13 14:04:39 CET 2000
    blaz@gold.amis.net:/usr/home/blaz/FreeBSD/src/sys/compile/GOLD
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (232.88-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
avail memory = 62050304 (60596K bytes)
Preloaded elf kernel "kernel" at 0xc02e7000.
Intel Pentium detected, installing workaround for F00F bug
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ata-pci0: <Intel PIIX4 ATA-33 controller> port 0xfcb0-0xfcbf at device 7.1 on pci0
ata0 at 0x01f0 irq 14 on ata-pci0
pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086, dev=0x7112) at 7.2 irq 9
chip1: <Intel 82371AB Power management controller> port 0x7000-0x700f at device 7.3 on pci0
ed0: <NE2000 PCI Ethernet (Compex)> port 0xfcc0-0xfcdf irq 9 at device 13.0 on pci0
ed0: address 00:80:48:ca:93:de, type NE2000 (16 bit) 
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xf800-0xf8ff mem 0xfedff000-0xfedfffff irq 9 at device 14.0 on pci0
ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
vga-pci0: <S3 Trio graphics accelerator> mem 0xf8000000-0xfbffffff irq 11 at device 15.0 on pci0
fdc0: <NEC 72065B or clone> 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: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3d0-0x3db iomem 0xb8000-0xbffff on isa0
sc0: <System console> on isa0
sc0: CGA <16 virtual consoles, flags=0x200>
pcic: polling mode
pcic: polling mode
pcic0: <Vadem 469> at port 0x3e0 iomem 0xd0000 on isa0
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
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: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pcm0: <Yamaha OPL-SAx> at port 0x220-0x22f,0x530-0x537,0x388-0x38f,0x330-0x331,0x370-0x371 irq 5 drq 0,1 on isa0
joy0: <Generic PnP Joystick> at port 0x201 on isa0
ad0: 13783MB <IBM-DTTA-371440> [28005/16/63] at ata0-master using UDMA33
pccard: card inserted, slot 0
Mounting root from ufs:/dev/ad0s1a
da1 at ahc0 bus 0 target 1 lun 0
da1: <NEC D3847 0307> Fixed Direct Access SCSI-2 device 
da1: 10.000MB/s transfers (10.000MHz, offset 15)
da1: 1547MB (3170160 512 byte sectors: 255H 63S/T 197C)
cd0 at ahc0 bus 0 target 3 lun 0
cd0: <TEAC CD-ROM CD-532S 3.0A> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 10 slot 0 on pccard0
wi0: Ethernet address: 00:60:1d:f1:15:bb



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002191748400.512-100000>