amd64/67745: boot fails on compaq presario r3000z

george+freebsd at m5p.com george+freebsd at m5p.com
Wed Jul 7 14:36:08 PDT 2004


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 <jkim at niksun.com>
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--



More information about the freebsd-amd64 mailing list