Date: Fri, 30 May 1997 00:57:50 -0500 (CDT) From: Jim Bryant <jbryant@argus.nuke.net> To: yokota@zodiac.mech.utsunomiya-u.ac.jp (Kazutaka YOKOTA) Cc: freebsd-hackers@freebsd.org Subject: Re: vidcontrol under 2.2.2 Message-ID: <199705300558.AAA00242@argus.nuke.net> In-Reply-To: <199705300429.NAA07290@zodiac.mech.utsunomiya-u.ac.jp> from "Kazutaka YOKOTA" at May 30, 97 01:29:54 pm
next in thread | previous in thread | raw e-mail | index | archive | help
In reply: > >never had a problem before... 1.1.5.1-RELEASE through 2.1.x-RELEASE > > Were you able to set all the video modes? i don't know about all of them... 80x25, 80x43, 80x50, and 80x60 worked.. > >> To verify if this is the case with your card, boot the system with the > >> "-v" option at the "Boot:" prompt and check the output from the > >> `dmesg' command afterwards. You will see "sc0: VGA registers upon > >> power-up" followed by 64 bytes of hex dump. If you don't see another > >> hex dump headed "sc0: VGA registers for mode:xx", the console driver > >> found the mode parameter table of your VGA ROM strange and decided not > >> to use it. > > > >if this is new, i suggest it be trashed or the old code #ifdef'ed in... > >nothing ticks me off more than someone messing with my x and y > >settings... i had no problems before i upgraded to 2.2.2, if it ain't > >broked, don't muck with it! > > Well, I wonder trashing the code will be wise. You may not have had > any problems with the old code, but there are built-in VGA in laptops > and VGA cards (from Diamond, Trident, etc) which didn't work that way. it may not be necessary. all of the above mentioned modes now work with that section #if 0'ed out... > I would be very grateful if you could send the output of `dmesg' after > patching the source and booting the kernel with the `-v' option, so > that we can know exactly which part of the table looks unfamiliar to the > console driver. Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.2-RELEASE #0: Fri May 30 00:42:26 CDT 1997 jbryant@argus:/usr/src/sys/compile/ARGUS.2.2.2 Calibrating clock(s) ... i586 clock: 132739010 Hz, i8254 clock: 1193290 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency CLK_USE_I586_CALIBRATION not specified - using old calibration method CPU: Pentium (132.73-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52b Stepping=11 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 25165824 (24576K bytes) avail memory = 22073344 (21556K bytes) pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x80000068 pcibus_setup(1a): mode1res=0x80000000 (0x80000000) pcibus_check: device 0 is there (id=00071004) Probing for devices on PCI bus 0: configuration mode 1 allows 32 devices. chip0 <generic PCI bridge (vendor=1004 device=0007 subclass=0)> rev 1 on pci0:0 chip1 <generic PCI bridge (vendor=1004 device=0008 subclass=1)> rev 1 on pci0:6 vga0 <VGA-compatible display device> rev 76 int a irq ?? on pci0:10 mapreg[10] type=0 addr=fd000000 size=1000000. ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:11 mapreg[10] type=1 addr=0000fc00 size=0100. mapreg[14] type=0 addr=fedff000 size=1000. reg20: virtual=0xf439b000 physical=0xfedff000 size=0x1000 ahc0: Reading SEEPROM...done. low byte termination disabled, high byte termination enabled ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs ahc0: Resetting Channel A ahc0: Downloading Sequencer Program...ahc0: 411 instructions downloaded Done ahc0: Probing channel A Choosing drivers for scbus configured at 0 ahc0: target 0 Tagged Queuing Device (ahc0:0:0): "SEAGATE ST32550N 0022" type 0 fixed SCSI 2 sd is configured at 0 sd0(ahc0:0:0): Direct-Access 2047MB (4194058 512 byte sectors) sd0(ahc0:0:0): with 3511 cyls, 11 heads, and an average 108 sectors/track pci0:13: CMD, device=0x0640, class=storage (ide) int a irq 14 [no driver assigned] pci0: uses 16781312 bytes of memory from fd000000 upto fedfffff. pci0: uses 256 bytes of I/O space from fc00 upto fcff. Probing for devices on the ISA bus: sc0: the current keyboard controller command byte 0045 kbdio: RESET_KBD return code:00fa kbdio: RESET_KBD status:00aa sc0 at 0x60-0x6f irq 1 on motherboard sc0: BIOS video mode:3 sc0: VGA registers upon power-up 50 18 10 00 10 01 03 00 02 63 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 ff ff 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 00 00 00 00 00 00 10 0e 00 ff sc0: video mode:24 sc0: VGA registers for mode:24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: VGA color <16 virtual consoles, flags=0x0> lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface bpf: lp0 attached sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A sio2 at 0x3e8-0x3ef irq 12 on isa sio2: type 16550A pca0 on motherboard pca0: PC speaker audio driver fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa wdc0: unit 0 (wd0): <Conner Peripherals 1080MB - CFS1081A>, multi-block-16 wd0: 1032MB (2113776 sectors), 2097 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): <WDC AC31000F>, multi-block-16 wd1: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa wdc1: unit 0 (atapi): <GCD-R542B/1.20>, removable, intr, iordy atapi1.0: unknown phase npx0 on motherboard npx0: INT 16 interface joy0 not found at 0x201 sb0 at 0x220 irq 5 drq 1 on isa sb0: <SoundBlaster Pro 3.1> mpu0 at 0x330 irq 5 drq 0 on isa mpu0: <MPU-401 MIDI Interface 0.0 > opl0 at 0x388 on isa opl0: <Yamaha OPL-3 FM> imasks: bio c000c840, tty c003109a, net c003109a BIOS Geometries: 0:020a3f3f 0..522=523 cylinders, 0..63=64 heads, 1..63=63 sectors 1:020b3f3f 0..523=524 cylinders, 0..63=64 heads, 1..63=63 sectors 2:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors 0 accounted for Device configuration finished. Considering FFS root f/s. configure() finished. new masks: bio c000c840, tty c003109a, net c003109a bpf: tun0 attached bpf: tun1 attached bpf: sl0 attached bpf: sl1 attached bpf: ppp0 attached bpf: ppp1 attached bpf: lo0 attached bpf: ds0 attached ccd0-3: Concatenated disk drivers wd0s1: type 0xa5, start 63, end = 528191, size 528129 : OK wd0s2: type 0x6, start 528192, end = 2108735, size 1580544 : OK sd0s1: type 0xa5, start 32, end = 4192255, size 4192224 : OK wd1s1: type 0xa5, start 63, end = 2116799, size 2116737 : OK wd1s1: type 0xa5, start 63, end = 2116799, size 2116737 : OK jim -- All opinions expressed are mine, if you | "I will not be pushed, stamped, think otherwise, then go jump into turbid | briefed, debriefed, indexed, or radioactive waters and yell WAHOO !!! | numbered!" - #1, "The Prisoner" jbryant@tfs.net - KC5VDJ 2M, 70cm, KPC-3+ - kc5vdj@wv0t.#neks.ks.usa.noam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705300558.AAA00242>