From owner-freebsd-questions Wed Jan 17 06:24:00 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA13196 for questions-outgoing; Wed, 17 Jan 1996 06:24:00 -0800 (PST) Received: from lgc.lgc.com (lgc.lgc.com [134.132.1.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA13191 for ; Wed, 17 Jan 1996 06:23:57 -0800 (PST) Received: from ses3.lgc.com by lgc.lgc.com (5.65b/lgc.%I%) id AA08754; Wed, 17 Jan 96 08:14:52 -0600 Received: from localhost by ses3.lgc.com (AIX 3.2/UCB 5.64/4.03) id AA15986; Wed, 17 Jan 1996 08:17:09 -0600 Message-Id: <30FD04E4.6956@lgc.com> Date: Wed, 17 Jan 1996 08:17:08 -0600 From: Rob Snow Organization: Landmark Graphics, Inc. X-Mailer: Mozilla 2.0b3 (X11; I; AIX 2) Mime-Version: 1.0 To: Terry Lambert Cc: Wes Santee , questions@freebsd.org Subject: Re: Setting for Promise 2300+ controller? References: <199601151815.LAA27876@phaeton.artisoft.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk [ I missed the first message, hence the follow up to Terry's message ] I've been using a 2300+ for close to a year now and have found the following info which might be of use. Turn off LBA in BIOS and on the 2300+ BEFORE you FDISK and format a drive. The Promise docs say something to the effect of: "If you FDISK and format a drive with LBA on then it'll do LBA from then on no matter what you do with the jumper and vice-versa". This might be BS however it seems to work similar to that here. Turn off the onboard BIOS on the 2300+. The __CRASH_OF_95__ was caused by jacking with the BIOS. Set your flags for your drive in your kernel config to turn on 32bit access and multi-block. (Flags documented in LINT, I believe I use 80ff for my 0 drive (32bit and biggest possible multi-block?)) Terry Lambert wrote: > > > I asked awhile back on the -stable mailing list what I needed to > > know about installing a Promise 2300+ EIDE controller in my FreeBSD > > 2.1-stable box considering the LINT kernel config file says EIDE > > drives aren't supported. The only responses I got were people > > asking me to pass along the information if I figured it out. > > > > I've seen people asking questions here about Promise 2300+ > > controllers and ATAPI CD-ROM drives. To those in the know, what > > were the settings you set your card at, and what options did you > > have to compile your kernel with to get the sytem to boot correctly? > > I don't have an ATAPI CD-ROM drive, just the said controller. > > > > I have standard IDE drives formatted using CHS so I've turned off > > LBA mode on the card (is LBA mode even supported considering the > > comments from the LINT config file?). With those setting, my DOS > > partition boots fine, but the FreeBSD partition stops after about 2 > > rotations of the spinner. > > > > If anybody has any info on this, it sounds like more than just > > myself is looking for the answers. Any help appreciated. > > OK. First off, "LBA mode" is irrelevant. > > All LBA refers to is linear sector addressing. > > LBA mode on the controller means that the controller supplies the > extended interface. > > No DOS software uses this extended interface. > > Instead, there must be an INT 13 redirector, either in the BIOS or > in OnTrack DiskManger or similar software that cause: > > 1) Geometry translation. > 2) Translated C/H/S values at the INT 13 interface to be > computed into LBA values based on the translation and > the LBA interface used to actually do the disk access. > > This means that, like SCSI, there is no way to exceed the bit > limitation on the disk size after translation (8G @ 512b sectors) > in the DOS INT 21/INT 13 framework. > > Now the BSD second stage boot (loaded by the MBR or MBR replacement, > like OS-BS) uses the DOS INT 13 interface (and thus can use LBA) to > load the kernel. > > The problem occurs when the kernel itself comes up and the geometry > is different than INT 13->LBA translator says the geometry is. > > You can fix this by hacking the sector offsets in the disklabel to > agree with the values you get using the translated geometry. > > You have to do this right after install before the reboot on the > Alt-F2 screen (the setup program *might* let you do this inside > of it; I don't know). > > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers.