From owner-freebsd-hackers Fri Apr 6 11:57: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 62C5737B443 for ; Fri, 6 Apr 2001 11:57:04 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f36IuJG22139; Fri, 6 Apr 2001 11:56:19 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200104061638.f36GcbP27846@ambrisko.com> Date: Fri, 06 Apr 2001 11:56:04 -0700 (PDT) From: John Baldwin To: Doug Ambrisko Subject: RE: Fix for CDROM boot for IBM PC desktops Cc: mark@whistle.com, dhw@whistle.com, freebsd-hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 06-Apr-01 Doug Ambrisko wrote: > On on IBM PC desktops a FreeBSD bootable CDROM won't boot and it hangs. > This has been reported in several places. > > The problem is that some BIOSes namely IBM's writes to the boot sector > of the floppy to potentially update the parameters for the emulated > floppy used for the El Torrito boot. Since we do not allocate space > for a typical MSDOS "Boot Sector" when the BIOS updates this area > it then ends up modifying the boot code which is not a good thing. > The boot code then fails in random ways. I also did a work-around > for linking the address of "xread" into boot2.c. > > The fix is in PR i386/26382: > http://www.freebsd.org/cgi/query-pr.cgi?pr=26382 > This would be great to get into 4.3 but probably won't make it. Ewwww, gross. :) Bad BIOS, no cookie. I don't think the perl script is needed, simple a one time adjustment of the xread offset in boot2.c should be enough. These programs change very rarely > Thanks, > > Doug A. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message