From hsw@zombie.antar.bryansk.ru  Mon Jul 31 23:44:49 2000
Return-Path: <hsw@zombie.antar.bryansk.ru>
Received: from nau.antar.bryansk.ru (ns2.bryansk.ru [195.239.214.80])
	by hub.freebsd.org (Postfix) with ESMTP id 0A6F237BA0B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Jul 2000 23:44:38 -0700 (PDT)
	(envelope-from hsw@zombie.antar.bryansk.ru)
Received: from zombie.antar.bryansk.ru (zombie.antar.bryansk.ru [195.239.214.68])
	by nau.antar.bryansk.ru (8.9.3/8.9.1) with ESMTP id KAA57231
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 1 Aug 2000 10:53:31 +0400 (MSD)
Received: (from hsw@localhost)
	by zombie.antar.bryansk.ru (8.9.3/8.9.3) id KAA37334;
	Tue, 1 Aug 2000 10:44:34 +0400 (MSD)
	(envelope-from hsw)
Message-Id: <200008010644.KAA37334@zombie.antar.bryansk.ru>
Date: Tue, 1 Aug 2000 10:44:34 +0400 (MSD)
From: hsw@antar.bryansk.ru
Sender: hsw@zombie.antar.bryansk.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: S3Trio64V+ is detected as CGA by syscons 
X-Send-Pr-Version: 3.2

>Number:         20335
>Category:       kern
>Synopsis:       S3Trio64V+ is detected as CGA by syscons
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 31 23:50:01 PDT 2000
>Closed-Date:    Thu Aug 26 19:52:40 GMT 2004
>Last-Modified:  Thu Aug 26 19:52:40 GMT 2004
>Originator:     Sergey Homenkow
>Release:        FreeBSD 3.5-STABLE i386
>Organization:
>Environment:

dmesg extracts:

FreeBSD 3.5-STABLE #0: Sat Jul 29 21:30:53 MSD 2000

CPU: Pentium/P54C (199.61-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12

chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.7.3
vga0: <S3 Trio graphics accelerator> rev 0x00 int a irq 11 on pci0.14.0

Probing for devices on the ISA bus:
sc0 on isa
sc0: CGA <16 virtual consoles, flags=0x0>

vga0 at 0x3d0-0x3db maddr 0xb8000 msize 32768 on isa

>Description:

I have S3Trio64V+ video adapter but syscons detects it as an old CGA card and
I cannot load fonts therefore.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: sheldonh 
State-Changed-When: Tue Aug 1 02:15:00 PDT 2000 
State-Changed-Why:  
Could you send dmesg(8) output from the box after it's been 
started with ``boot -v'' from the loader prompt? 


Responsible-Changed-From-To: freebsd-bugs->yokota 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Tue Aug 1 02:15:00 PDT 2000 
Responsible-Changed-Why:  
Yokota-san is the syscons maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20335 

From: Sergey Homenkow <hsw@antar.bryansk.ru>
To: sheldonh@FreeBSD.org
Cc: freebsd-bugs@FreeBSD.org, yokota@FreeBSD.org
Subject: Re[2]: kern/20335: S3Trio64V+ is detected as CGA by syscons
Date: Tue, 1 Aug 2000 13:47:37 +0400

 Hello sheldonh,
 
 Tuesday, August 01, 2000, 1:15:52 PM, you wrote:
 
 sFo> Synopsis: S3Trio64V+ is detected as CGA by syscons
 
 sFo> State-Changed-From-To: open->feedback
 sFo> State-Changed-By: sheldonh
 sFo> State-Changed-When: Tue Aug 1 02:15:00 PDT 2000
 sFo> State-Changed-Why: 
 sFo> Could you send dmesg(8) output from the box after it's been
 sFo> started with ``boot -v'' from the loader prompt?
 
 
 sFo> Responsible-Changed-From-To: freebsd-bugs->yokota
 sFo> Responsible-Changed-By: sheldonh
 sFo> Responsible-Changed-When: Tue Aug 1 02:15:00 PDT 2000
 sFo> Responsible-Changed-Why: 
 sFo> Yokota-san is the syscons maintainer.
 
 sFo> http://www.freebsd.org/cgi/query-pr.cgi?pr=20335
 
 
 Copyright (c) 1992-1999 FreeBSD Inc.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
         The Regents of the University of California. All rights reserved.
 FreeBSD 3.5-STABLE #0: Sat Jul 29 21:30:53 MSD 2000
     root@zombie.antar.bryansk.ru:/usr/local/src/src3/sys/compile/ZOMBIE
 Calibrating clock(s) ... TSC clock: 199616911 Hz, i8254 clock: 1193210 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254"  frequency 1193182 Hz
 CLK_USE_TSC_CALIBRATION not specified - using old calibration method
 Timecounter "TSC"  frequency 199613058 Hz
 CPU: Pentium/P54C (199.61-MHz 586-class CPU)
   Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
 real memory  = 134217728 (131072K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009efff, 647168 bytes (158 pages)
 0x002bc000 - 0x07ff5fff, 131309568 bytes (32058 pages)
 config> di ppc0
 config> 
 config> port ed0 0x300
 config> di apm0
 No such device: apm0
 Invalid command or syntax.  Type `?' for help.
 config> fl wdc0 0xa0ffa0ff
 config> fl wdc1 0xa0ffa0ff
 config> fl sio0 0x20011
 config> fl sio1 0x20001
 config> q
 avail memory = 127356928 (124372K bytes)
 Found BIOS32 Service Directory header at 0xc00f7730
 Entry = 0xfd7c0 (0xc00fd7c0)  Rev = 0  Len = 1
 PCI BIOS entry at 0x21c
 DMI header at 0xc00f7720
 Version 2.0
 Table at 0xf0c90, 36 entries, 1207 bytes
 Other BIOS signatures found:
 ACPI: 00000000
 $PnP: 000f7760
 Preloaded elf kernel "kernel" at 0xc02a3000.
 Preloaded userconfig_script "/boot/kernel.conf" at 0xc02a309c.
 pci_open(1):    mode 1 addr port (0x0cf8) is 0x80003904
 pci_open(1a):   mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71008086)
 Probing for devices on PCI bus 0:
 found-> vendor=0x8086, dev=0x7100, revid=0x01
         class=06-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
 chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0
 found-> vendor=0x8086, dev=0x7110, revid=0x01
         class=06-01-00, hdrtype=0x00, mfdev=1
         subordinatebus=0        secondarybus=0
 chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.7.0
 found-> vendor=0x8086, dev=0x7111, revid=0x01
         class=01-01-80, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         map[0]: type 4, range 32, base 0000fcd0, size  4
 ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
 intel_piix_status: primary master sample = 3, master recovery = 1
 intel_piix_status: primary master fastDMAonly disabled, pre/post enabled,
 intel_piix_status:  IORDY sampling enabled,
 intel_piix_status:  fast PIO enabled
 intel_piix_status: primary slave sample = 3, slave recovery = 1
 intel_piix_status: primary slave fastDMAonly disabled, pre/post enabled,
 intel_piix_status:  IORDY sampling enabled,
 intel_piix_status:  fast PIO enabled
 ide_pci: busmaster 0 status: 40 from port: 0000fcd2
 ide_pci: ide0:1 has been configured for DMA by BIOS
 intel_piix_status: secondary master sample = 3, master recovery = 1
 intel_piix_status: secondary master fastDMAonly disabled, pre/post enabled,
 intel_piix_status:  IORDY sampling enabled,
 intel_piix_status:  fast PIO enabled
 intel_piix_status: secondary slave sample = 5, slave recovery = 4
 intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
 intel_piix_status:  IORDY sampling disabled,
 intel_piix_status:  fast PIO disabled
 ide_pci: busmaster 1 status: 20 from port: 0000fcda
 ide_pci: ide1:0 has been configured for DMA by BIOS
 found-> vendor=0x8086, dev=0x7112, revid=0x01
         class=0c-03-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=d, irq=9
         map[0]: type 4, range 32, base 0000fce0, size  5
 found-> vendor=0x8086, dev=0x7113, revid=0x01
         class=06-80-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
 chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.7.3
 found-> vendor=0x5333, dev=0x8811, revid=0x00
         class=03-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=11
         map[0]: type 1, range 32, base fe000000, size 23
 vga0: <S3 Trio graphics accelerator> rev 0x00 int a irq 11 on pci0.14.0
 found-> vendor=0x11f6, dev=0x2011, revid=0x00
         class=02-00-00, hdrtype=0x00, mfdev=0
         subordinatebus=0        secondarybus=0
         intpin=a, irq=10
         map[0]: type 4, range 32, base 0000fc00, size  7
         map[1]: type 1, range 32, base fedffc00, size  7
 wb0: <Compex RL100-ATX 10/100baseTX> rev 0x00 int a irq 10 on pci0.15.0
 wb0: Ethernet address: 00:80:48:d8:3f:08
 wb0: probing for a PHY
 wb0: checking address: 0
 wb0: found PHY at address 0, vendor id: 180 device id: 7731
 wb0: PHY type: <MII-compliant physical interface>
 wb0: PHY status word: 7849
 wb0: 10Mbps half-duplex mode supported
 wb0: 10Mbps full-duplex mode supported
 wb0: 100Mbps half-duplex mode supported
 wb0: 100Mbps full-duplex mode supported
 wb0: autoneg supported
 wb0: autoneg complete, link status good (full-duplex, 100Mbps)
 bpf: wb0 attached
 Initializing PnP override table
 Probing for PnP devices:
 Trying Read_Port at 203
 PnP: CSN 1 COMP_DEVICE_ID = 0x2fb0d041
 CSN 1 Vendor ID: YMH0030 [0x3000a865] Serial 0x80860001 Comp ID: PNPb02f [0x2fb0d041]
 Called nullpnp_probe with tag 0x00000001, type 0x3000a865
 Called nullpnp_probe with tag 0x00000001, type 0x2fb0d041
 port 0x0220 0x0530 0x0388 0x0330 irq 5:0 drq 0:1 en 1
 port 0x0220 0x0530 0x0388 0x0330 irq 5:0 drq 0:1 en 1
 mss_attach <Yamaha SA3>1 at 0x530 irq 5 dma 0:1 flags 0x11
 setting up yamaha registers
 set yamaha master volume to max
 pcm1 (CS423x/Yamaha/AD1816 <Yamaha SA3> sn 0x80860001) at 0x530-0x537 irq 5 drq 0 flags 0x11 on isa
 Probing for devices on the ISA bus:
 atkbd: the current kbd controller command byte 0047
 atkbd: keyboard ID 0x41ab (2)
 kbdc: RESET_KBD return code:00fa
 kbdc: RESET_KBD status:00aa
 sc0 on isa
 sc0: fb0 kbd0
 sc0: CGA <16 virtual consoles, flags=0x0>
 ed0 not found at 0x300
 atkbdc0 at 0x60-0x6f on motherboard
 atkbd0 irq 1 on isa
 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
 psm0: current command byte:0047
 kbdc: TEST_AUX_PORT status:0000
 kbdc: RESET_AUX return code:00fa
 kbdc: RESET_AUX status:00aa
 kbdc: RESET_AUX ID:0000
 psm: status 00 03 64
 psm: status 00 00 64
 psm: status 00 03 64
 psm: status 00 03 64
 psm: data 08 00 00
 psm: data 08 00 00
 psm: status 00 03 64
 psm0 irq 12 on isa
 psm0: model IntelliMouse, device ID 3-00, 3 buttons
 psm0: config:00000000, flags:00000000, packet size:4
 psm0: syncmask:08, syncbits:08
 sio0: irq maps: 0x1 0x11 0x1 0x1
 sio0 at 0x3f8-0x3ff irq 4 flags 0x20011 on isa
 sio0: type ST16650A
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: irq maps: 0x1 0x1 0x1 0x1
 sio1: probe failed test(s): 0 1 2 4 6 7 9
 sio1 not found at 0x2f8
 ppc0: disabled, not probed.
 pca0 on motherboard
 pca0: PC speaker audio driver
 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
 wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
 intel_piix_dmainit: setting ultra DMA mode 2
 wd0: wdsetmode() setting transfer mode to 42
 intel_piix_status: primary master sample = 3, master recovery = 1
 intel_piix_status: primary master fastDMAonly disabled, pre/post enabled,
 intel_piix_status:  IORDY sampling enabled,
 intel_piix_status:  fast PIO enabled
 wdc0: unit 0 (wd0): <QUANTUM FIREBALL CX20.4A>, DMA, 32-bit, multi-block-16
 wd0: 19470MB (39876480 sectors), 39560 cyls, 16 heads, 63 S/T, 512 B/S
 wd0: ATA INQUIRE valid = 0007, dmamword = 0007, apio = 0003, udma = 041f
 wdc0: unit 1 (wd1): <QUANTUM FIREBALLlct08 17>, DMA, 32-bit, multi-block-16
 wd1: 16555MB (33906432 sectors), 33637 cyls, 16 heads, 63 S/T, 512 B/S
 wd1: ATA INQUIRE valid = 0007, dmamword = 0007, apio = 0003, udma = 041f
 wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
 wdc1: unit 0 (wd2): <IBM-DJNA-352030>, DMA, 32-bit, multi-block-16
 wd2: 19470MB (39876480 sectors), 39560 cyls, 16 heads, 63 S/T, 512 B/S
 wd2: ATA INQUIRE valid = 0007, dmamword = 0007, apio = 0003, udma = 041f
 vga0 at 0x3d0-0x3db maddr 0xb8000 msize 32768 on isa
 fb0: vga0, cga, type:CGA (3), flags:0x70041
 fb0: port:0x3d0-0x3db, crtc:0x3d4, mem:0xb8000 0x8000
 fb0: init mode:3, bios mode:3, current mode:3
 fb0: window:0xc00b8000 size:32k gran:32k, buf:0x0 size:0k
 npx0 on motherboard
 npx0: INT 16 interface
 i586_bzero() bandwidth = 174855744 bytes/sec
 bzero() bandwidth = 88097964 bytes/sec
 imasks: bio c008c040, tty c0071432, net c0071432
 BIOS Geometries:
  0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
  1:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
  2:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
  0 accounted for
 Device configuration finished.
 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny,
 unlimited logging
 bpf: tun0 attached
 bpf: tun1 attached
 bpf: tun2 attached
 bpf: tun3 attached
 bpf: tun4 attached
 bpf: tun5 attached
 bpf: tun6 attached
 bpf: tun7 attached
 bpf: sl0 attached
 bpf: sl1 attached
 bpf: sl2 attached
 bpf: sl3 attached
 bpf: sl4 attached
 bpf: sl5 attached
 bpf: sl6 attached
 bpf: sl7 attached
 bpf: ppp0 attached
 bpf: ppp1 attached
 bpf: ppp2 attached
 bpf: ppp3 attached
 bpf: ppp4 attached
 bpf: ppp5 attached
 bpf: ppp6 attached
 bpf: ppp7 attached
 new masks: bio c008c040, tty c0071432, net c0071432
 bpf: lo0 attached
 IP Filter: initialized.  Default = pass all, Logging = enabled
 Considering FFS root f/s.
 changing root device to wd0s1a
 wd0s1: type 0xa5, start 63, end = 39876479, size 39876417 : OK
 start_init: trying /sbin/init
 wd2s1: type 0xa5, start 63, end = 39873329, size 39873267 : OK
 wd1s1: type 0xa5, start 63, end = 33897149, size 33897087 : OK
 wd1s1: type 0xa5, start 63, end = 33897149, size 33897087 : OK
 wd2s1: type 0xa5, start 63, end = 39873329, size 39873267 : OK
 Linux-ELF exec handler installed
 splash: image decoder found: star_saver
 pid 475 (msgs), uid 70: exited on signal 11 (core dumped)
 sc0: sc_switch_scr() 2 
 
 
 -- 
 Best regards,
  Sergey                            mailto:hsw@antar.bryansk.ru
 
 
 
 
Responsible-Changed-From-To: yokota->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Aug 26 03:27:00 GMT 2004 
Responsible-Changed-Why:  
With bugmeister hat on, reassign from inactive committer. 

Is this still a problem with modern versions of FreeBSD? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20335 

From: Mark Linimon <linimon@lonesome.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: hsw@antar.bryansk.ru
Subject: Re: kern/20335: S3Trio64V+ is detected as CGA by syscons
Date: Thu, 26 Aug 2004 14:50:06 -0500 (CDT)

 Does this problem still recur on modern versions of FreeBSD?
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Aug 26 19:52:30 GMT 2004 
State-Changed-Why:  
Submitter's email address bounces. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20335 
>Unformatted:
