From owner-freebsd-current Thu Jan 17 11:40:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id D255C37B404; Thu, 17 Jan 2002 11:40:10 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 17 Jan 2002 19:40:09 +0000 (GMT) To: Mike Brancato Cc: John Baldwin , freebsd-current@FreeBSD.org Subject: Re: boot floppy problems... In-Reply-To: Your message of "Thu, 17 Jan 2002 09:00:34 EST." Date: Thu, 17 Jan 2002 19:40:09 +0000 From: Ian Dowse Message-ID: <200201171940.aa68346@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , Mike Brancato wr ites: >oh, well. They say something along the lines of >"Disk error: lba is 0x9 (should be 0x10)" >or similar. then it trys to boot the kernel twice using the loader, but >fails with the path 0:fd(0,a)/kernel Hmm, the error is actually "Disk error 0x9 (lba=0x10)". I think this is my fault. Error 9 is "data boundary error (attempted DMA across 64K boundary or >80h sectors)", so by changing the buffers to being static in revision 1.35 of boot2.c, I broke the guarantee that single transfers don't cross a 64k boundary, which is important for floppies :-( I'll fix this shortly. Thanks for pointing out the problem! Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message