From owner-freebsd-mobile Fri Nov 22 8:25:28 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D9F837B401 for ; Fri, 22 Nov 2002 08:25:25 -0800 (PST) Received: from ns3.safety.net (ns3.safety.net [216.40.201.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B30243EAA for ; Fri, 22 Nov 2002 08:25:25 -0800 (PST) (envelope-from les@ns3.safety.net) Received: (from les@localhost) by ns3.safety.net (8.10.2/8.10.2) id gAMGPOX18732 for freebsd-mobile@FreeBSD.ORG; Fri, 22 Nov 2002 09:25:24 -0700 From: Les Biffle Message-Id: <200211221625.gAMGPOX18732@ns3.safety.net> Subject: Ancient notebook... New FreeBSD To: freebsd-mobile@FreeBSD.ORG Date: Fri, 22 Nov 2002 09:25:24 -0700 (MST) X-Mailer: ELM [version 2.4ME+ PL94 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have a pair of IBM Thinkpad 755CX notebooks that I really need to get running -STABLE correctly. The issues are with the video. As you may recall, this unit uses the WD90C24 vga chip and has 1MB of vid RAM. On power-up, it is in 640x480 mode, with a black border all around the screen. It is capable of running 800x600, and to make it do so, you run a DOS command. I've trompted my way through list archives of all sorts, and have accomplished all of this now: 1. Built a tiny DOS partition to boot from. 2. Built a nice FreeBSD 4.7-STABLE partition. 3. Put ps2.exe (the utility) and bsdboot.exe in DOS partition 4. Built /kernel with baked-in path to root at ad0s2a 5. Copied /kernel into DOS partition. 6. Boot DOS, autoexec.bat runs: ps2 MODE3X on bsdboot /kernel 7. FreeBSD is up and running, except that sysconsoles are all 100x37, even though BSD runs them as 80x25, jumbling up the screen. 8. Installed XFree86 version 3 (vers 4 doesn't support the WD90C24 chip) 9. Hacked /etc/XF86config to run with this chip and at 800x600 (works!) Now, I really want the sysconsoles to look good, too. Vidcontrol(1) states: The following command will set-up a 100x37 raster text mode (useful for some LCD models): vidcontrol -g 100x37 VESA_800x600 ...and that's just exactly what I want to do. I added the SC_PIXEL_MODE option to the kernel config (built,reboot, etc), and vidcontrol says that it can't switch device into raster mode. So, I figure I need to add the VESA option to the kernel config (b,r,e), and when I do, I get a page fault in kernel mode on boot. I get it when I try to kldload the vesa.ko module when VESA isn't in the kernel, too. I have symbols and DDB in the kernel, but the error message doesn't seem to incriminate anything that's display-related. Perhaps the WD90C24 isn't supported any more? Is there a CMOS setting that creating a I/O memory conflict? Am I just wasting my time? Thanks in advance, -Les The dmesg from the notebook: Copyright (c) 1992-2002 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.7-STABLE #0: Tue Nov 19 12:07:20 MST 2002 root@bsdws.safety.net:/usr/src/sys/compile/DINKPAD Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (75.00-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x524 Stepping = 4 Features=0x1bf real memory = 41943040 (40960K bytes) avail memory = 36130816 (35284K bytes) Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: on motherboard npx0: INT 16 interface isa0: on motherboard vt0 on isa0 vt0: generic, 80 col, color, 8 scr, unknown kbd, [R3.20-b24] vt0: driver is using old-style compatability shims orm0: