From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 7 21:36:08 2004 Return-Path: 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 6106A16A4CE; Wed, 7 Jul 2004 21:36:08 +0000 (GMT) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id A73F343D3F; Wed, 7 Jul 2004 21:36:07 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (ssh.m5p.com [IPv6:2001:418:3fd::fb]) by mailhost.m5p.com (8.12.11/8.12.11) with ESMTP id i67La5WQ091974 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK); Wed, 7 Jul 2004 14:36:06 -0700 (PDT) Received: (from george@localhost) by m5p.com (8.12.11/8.12.11/Submit) id i67La569055976; Wed, 7 Jul 2004 14:36:05 -0700 (PDT) Date: Wed, 7 Jul 2004 14:36:05 -0700 (PDT) Message-Id: <200407072136.i67La569055976@m5p.com> From: george+freebsd@m5p.com To: freebsd-mobile@freebsd.org X-Scanned-By: MIMEDefang 2.43 cc: freebsd-amd64@freebsd.org Subject: Re: amd64/67745: boot fails on compaq presario r3000z X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 21:36:08 -0000 The patch below also works wonders on a Compaq Presario R3120US. I've noted the following information in attempting to bring this computer up under FreeBSD. To begin with, I made three slices on the disk so I could install Windows 98 SE first. It grabbed slice 0. Then I installed Windows XP second. To my surprise, it grabbed slice 3, causing me some confu- sion later in the process. Then FreeBSD grabbed slice 2. When I first tried installing 5.2.1, the laptop quickly powered off until I found out about Jung-uk Kim's patch below. Even after applying the patch, I wasted about five CD-Rs until I came up with the magic string mkisofs -R -b boot/cdboot -no-emul-boot as the right combination of options to burn a bootable CD-ROM. At the conclusion of the install, I used the emergency holographic shell to copy my patched kernel to the hard disk, since I had been too lazy to regenerate the base.aa through base.az files. ACPI has to be disabled; otherwise, the keyboard and touch pad do not work. The processor in this machine apparently does not qualify as an AMD64, as an amd64 kernel will not boot. I could get the exact error if anyone cares. So far, I have not been able to get XFree86 to work. The public domain NVidia driver does not understand a width of 1280 with a height of 800. With a width of 1280 and a height of 1024, X comes up, missing the top 112 rows and the bottom 112 rows of pixels, and when I leave X, the display cannot return to text mode successfully, showing instead a vertically rolling blur. I'll be trying the closed source NVidia driver soon to see if this helps. -- George Mitchell The following reply was made to PR amd64/67745; it has been noted by GNATS. From: Jung-uk Kim To: freebsd-gnats-submit at FreeBSD.org Cc: newntrbr at ucla.edu Subject: Re: amd64/67745: boot fails on compaq presario r3000z Date: Tue, 6 Jul 2004 11:50:37 -0400 --Boundary-00=_Nps6AQIxCLJE8lb Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline A workaround is attached. For more verbose info, see: http://docs.freebsd.org/cgi/mid.cgi?200407021130.58247.jkim Cheers, Jung-uk Kim --Boundary-00=_Nps6AQIxCLJE8lb Content-Type: text/plain; charset="us-ascii"; name="r3000z.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="r3000z.diff" --- src/sys/dev/kbd/atkbdc.c.orig Fri Jul 2 11:16:41 2004 +++ src/sys/dev/kbd/atkbdc.c Fri Jul 2 11:17:12 2004 @@ -944,6 +944,7 @@ int test_kbd_port(KBDC p) { +#if 0 int retry = KBD_MAXRETRY; int again = KBD_MAXWAIT; int c = -1; @@ -965,11 +966,15 @@ if (verbose || bootverbose) log(LOG_DEBUG, "kbdc: TEST_KBD_PORT status:%04x\n", c); return c; +#else + return 0; +#endif } int test_aux_port(KBDC p) { +#if 0 int retry = KBD_MAXRETRY; int again = KBD_MAXWAIT; int c = -1; @@ -991,6 +996,9 @@ if (verbose || bootverbose) log(LOG_DEBUG, "kbdc: TEST_AUX_PORT status:%04x\n", c); return c; +#else + return 0; +#endif } int --Boundary-00=_Nps6AQIxCLJE8lb--