From owner-freebsd-hardware Thu Sep 23 21:19:29 1999 Delivered-To: freebsd-hardware@freebsd.org Received: from vortex.greycat.com (vortex.greycat.com [207.173.133.4]) by hub.freebsd.org (Postfix) with SMTP id EE76A14DC1 for ; Thu, 23 Sep 1999 21:19:24 -0700 (PDT) (envelope-from dann@greycat.com) Received: (qmail 21635 invoked from network); 24 Sep 1999 04:18:56 -0000 Received: from bigphred.greycat.com (HELO greycat.com) (207.173.133.2) by vortex.greycat.com with SMTP; 24 Sep 1999 04:18:56 -0000 Message-ID: <37EAFBB4.5D0B9C31@greycat.com> Date: Thu, 23 Sep 1999 21:19:00 -0700 From: Dann Lunsford Organization: You're kidding, right? X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Eric Lee Green , hardware@freebsd.org Subject: Re: Secondary IDE-PCI interface invisible References: <37E71CF0.7EFE9E0B@greycat.com> <99092319090601.00682@ehome.local.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Eric Lee Green wrote: > > On Mon, 20 Sep 1999, Dann Lunsford wrote: > > I'm currently running a DFI P5BV3+ motherboard, with 128 megs and a K6-2 > > 350. > > Freebsd 3.3-STABLE. uname -a output follows: > > > > FreeBSD bigphred.greycat.com 3.3-STABLE FreeBSD 3.3-STABLE #1: Mon Sep > > 20 06:13:34 PDT 1999 > > root@bigphred.greycat.com:/usr/src/sys/compile/PHRED i386 > > > > Problem: NOTHING I've tried can make the secondary on-board IDE > > interface > > visible to FreeBSD. The BIOS detects a drive on the secondary, but > > boot just says "Sorry." Output of dmesg follows > > I had a similar problem. The problem is caused by FreeBSD adhering strictly to > the EIDE standard. Other operating systems, such as Linux and Windows 98, allow > misconfigured hard drives to still operate. > Hmm. Sounds real familiar. Had some problems with VMS like that. Rather have the standard, though; makes things a lot simpler in the long run. > In my particular instance, I had removed an IDE CDROM from my secondary > on-board IDE channel and replaced it with a SCSI Yamaha 4-4-16 CD-RW drive. The > hard drive on that channel was a Western Digital Caviar 3.2gb EIDE hard drive. > The WD was strapped as master. If you read the WD manual, though, it says that > if it is the only device on the bus, that it must have NO straps -- i.e., be > configured as neither master nor slave. Also note that if it is the only device > on the bus, it must be on the last connector on the cable, else you can get > some problems due to lack of termination. Blast. That's exactly what this drive is: A WD 3.2g Caviar. OK, you've convinced me. Hunted down the install instructions, yup, no straps if only device. Blast (I'd use something stronger, but I'm too tired.). > > Removing the jumper on the WD made it accessible to FreeBSD, and all still runs > well even unto today. > > Note that this is specific to particular brands of hard drive. For example, my > 8.4gb IBM EIDE hard drive did not care when I removed the 1gb IDE hard drive > that was secondary on that channel. > > And finally, the way I figured out what was happening was by going through wd.c > and putting a LOT of debugging statements until I found the routine that was > returning an erro. If that error had been reported rather than just returned > as an error constant, the problem and its solution would have been obvious. > Unfortunately, wd.c does not properly report errors. Hopefully the re-written > IDE driver for FreeBSD 4.0 will properly report errors, rather than always > reporting a generic "could not detect" error. What's wierd is that enabling "options ATAPI" in the kernel also fixes (at least, for me) the problem. The way you went about it was what I was planning for this weekend; thanks for releasing the results of your labor, saved me a bunch of work. I owe you one. Sheesh. Will recompile without ATAPI and remove jumper, just to see. Guess I read a lot of code this weekend. Know any good refs on PCI? Thanks a *LOT*. Dann Lunsford To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message