From owner-freebsd-hackers Fri Sep 14 14: 4: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id B033637B418 for ; Fri, 14 Sep 2001 14:03:56 -0700 (PDT) Received: (qmail 7198 invoked from network); 14 Sep 2001 21:03:53 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Sep 2001 21:03:53 -0000 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: <3BA26FEB.D701D7EE@urx.com> Date: Fri, 14 Sep 2001 14:03:46 -0700 (PDT) From: John Baldwin To: Kent Stewart Subject: Re: Does boot1 still have a > 1023 cyl limit? Cc: rnordier@FreeBSD.org, msmith@freebsd.org, roam@ringlet.net, freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 14-Sep-01 Kent Stewart wrote: > > > John Baldwin wrote: >> >> On 14-Sep-01 Kent Stewart wrote: >> > >> > >> > rnordier@FreeBSD.org wrote: >> >> >> >> Kent Stewart wrote: >> >> >> >> > Mike Smith wrote: >> >> > > >> >> > > > So.. if I read you right, booting correctly for > 1024 cylinders >> >> > > > works >> >> > > > if boot0 knows about it. Isn't boot0 the one in the MBR, not in >> >> > > > the >> >> > > > fbsd >> >> > > > slice? Does this mean that boot1 and boot2 should work just fine >> >> > > > if >> >> > > > they >> >> > > > are loaded by another kind of MBR loader (say, Grub), and they find >> >> > > > out >> >> > > > that they are placed beyond the 1023th cylinder? >> >> > > >> >> > > This should work, yes. >> >> > >> >> > I tried this with a boot1 from FreeBSD 4.4-rc and get a BTX error. I >> >> > had to go back to the boot1 from 4.3 before I could boot. >> >> >> >> That could be serious. Can you post a brief description of your >> >> hardware, together with the BTX register dump if possible? boot1 was >> >> changed to address some problems with certain hardware, so it is >> >> important to know if other incompatibilities have been introduced. >> > >> > The hardware is Abit VP6 mb w/dual 866 coppermines & 256 MB of PC-133 >> > memory. Disk0 is a Maxtor 30 GB, disk1&2 are on the HPT-370 controller >> > and are also Maxtor 30 GB drives. The 2 HD's on the HPT-370 are >> > identical models. All are rated at ATA-100. The loader has been Win XP >> > Pro since beta2 and runs FreeBSD about half of the time. >> > >> > BTX - Register dump >> > >> > int=00000006 err=00000000 efl=00030216 eip=00000de7 >> > eax=00001d3a ebx=000030ff ecx=0000001f edx=000000ce >> > esi=00000001 edi=00000009 ebp=000003fe esp=000003b1 >> > cs=2364 ds=0000 es=0204 fs=0000 gs=0000 ss=9dc5 >> > cs:eip=0f 00 00 00 70 00 00 00-00 00 00 68 1e 00 00 00 >> > ss:esp=b9 0d 00 00 00 fe 03 c2-03 02 01 80 00 1f 00 01 >> > BTX halted >> >> 00000000 0F0000 sldt [bx+si] >> 00000003 007000 add [bx+si+0x0],dh >> 00000006 0000 add [bx+si],al >> 00000008 0000 add [bx+si],al >> 0000000A 00681E add [bx+si+0x1e],ch >> 0000000D 0000 add [bx+si],al >> >> That doesn't look to be very sane. >> >> Are you sure you haven't mixed an old version of boot2 with a new boot1 or >> vice >> versa? > > Yes, > > coral# mount_msdos /dev/ad0s1 /mnt > coral# cmp /mnt/boot1 /boot/boot1 > coral# > > They test identical. Boot1 was copied to bootsect.bsd, which is > referenced in boot.ini. Umm, ok. Did you do 'disklabel -B' to update the boot blocks on the disk (the boot blocks do _not_ live in the /boot files, they are part of the disklabel) when you updated the boot1 in bootsect.bsd? -- 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