atom feed3 messages in org.freebsd.freebsd-smallRe: 4MB DiskOnChip
FromSent OnAttachments
Larry BairdMay 6, 1999 2:14 pm 
Michael BretterklieberMay 8, 1999 7:58 am 
Larry BairdMay 10, 1999 12:15 pm 
Subject:Re: 4MB DiskOnChip
From:Michael Bretterklieber (mbre@sbox.tu-graz.ac.at)
Date:May 8, 1999 7:58:52 am
List:org.freebsd.freebsd-small

Am Do , 06 Mai 1999 schrieb Larry Baird:

Has anyone had any luck booting from a 4MB diskOnChip using FreeBSD 3.1.0?

Yes, It works fine.

I can boot just fine from a 2MB model.

I get the following error from boot2 when it tries to load loader: Disk error 0x1 (lba=0x1af0)

If I revert back to the 2.2.8 boot2 file I get: 1724 > 1023 (BIOS limit)

Chasing thru the code it would appear that when boot1 uses int13 to read

the drive parameters from bios, they are somehow incorrect. I just need to figure out how to get some I/O out of this assembly code to prove this theory.

I use the bootloader from 3.1-RELEASE. I prepared the DOC2k disk with this script

#!/bin/sh

dd if=/dev/zero of=/dev/rfla0 count=64 fdisk -v -f doc2k4.conf -i fla0 disklabel -w -r fla0 auto disklabel -B -b /boot/boot1 -s /boot/boot2 fla0 newfs /dev/fla0s1c

and doc2k4.conf:

p 1 165 0 7888 a 1

Bye,

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message