From owner-freebsd-questions Sun Sep 5 17:11: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand5.global.net.uk (sand5.global.net.uk [194.126.80.249]) by hub.freebsd.org (Postfix) with ESMTP id C692814BDA for ; Sun, 5 Sep 1999 17:11:00 -0700 (PDT) (envelope-from mark@globalnet.co.uk) Received: from p2as09a07.client.global.net.uk ([195.147.233.43] helo=marder-1.) by sand5.global.net.uk with esmtp (Exim 2.05 #1) id 11NmL6-0002ER-00; Mon, 6 Sep 1999 01:08:52 +0100 Received: (from mark@localhost) by marder-1. (8.9.2/8.8.8) id BAA00765; Mon, 6 Sep 1999 01:01:01 +0100 (BST) (envelope-from mark) Date: Mon, 6 Sep 1999 01:01:00 +0100 From: Mark Ovens To: "Donald R. Tyson" Cc: freebsd-questions@freebsd.org Subject: Re: your mail Message-ID: <19990906010100.A293@marder-1> References: <199909051425.KAA26389@radagast.wizard.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199909051425.KAA26389@radagast.wizard.net>; from Donald R. Tyson on Sun, Sep 05, 1999 at 10:24:49AM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Sep 05, 1999 at 10:24:49AM -0400, Donald R. Tyson wrote: > > (Copy for the list) > To: Mark Ovens > cc: freebsd-question@freebsd.org > Subject: [UPDATE] Re: No IDE CD-ROM support in recompiled kernel > In-reply-to: Your message of "Sun, 05 Sep 1999 10:47:45 BST." > <19990905104745.A295@marder-1> > Date: Sun, 05 Sep 1999 09:21:14 -0400 > From: "Donald R. Tyson" > > Mark -- > > Your original suggestion (leave controller wcd1 enabled) was > right. I thought I had done so, but in fact I had only left the > disk (wd1) enabled, not the controller. > > Here are the relevant lines from the HOMEBASE configuration file: > > controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr > disk wd0 at wdc0 drive 0 > disk wd1 at wdc0 drive 1 > > controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr > disk wd2 at wdc1 drive 0 > #disk wd3 at wdc1 drive 1 > > options ATAPI #Enable ATAPI support for IDE bus > options ATAPI_STATIC #Don't do it as an LKM > device wcd0 #IDE CD-ROM > > > Here are the relevant lines from dmesg: > > wdc0: unit 1 (atapi): , removable, accel, dma, iordis > wcd0: 2734KB/sec, 128KB cache, audio play, 255 volume levels, ejectable tray > wcd0: 120mm data disc loaded, unlocked, lock protected > wdc1 not found at 0x170 > Hmm, I'm a little bit confused here. In another message you posted your HOMEBASE config file with wdc1 commented out. The dmesg output shows your CD on wdc0, am I right in assuming it is the slave to you HD on the first IDE channel? If so then wdc1 doesn't matter The only thing I spotted that could be causing a problem is wd1. In the HOMEBASE config file stuff you included above wd1 is included, whereas in your other message it is commented out: options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 wd1 is the slave disk on the primary controller. wcd0 is the CD on the primary controller. Maybe you need wd1 probed (i.e. not commented out in your config file) in order for FreeBSD to find the CD. I know this sounds wierd, but there are plenty of threads in -questions about IDE CD-ROMs not being probed correctly. You must bear in mind that, as a "standard", IDE is pretty loose. Having said all that, the fact that GENERIC finds your CD points to your custom kernel. Try making HOMEBASE from GENERIC with everything you don't need commented out but leave the wdc, wcd and wd stuff as per GENERIC. Let me know how you get on. > Any hints on how to fix the ``wdc1 not found at 0x170''? > > Thanks for your help. > > Don Tyson > > > > On Sat, Sep 04, 1999 at 11:20:33PM -0400, Donald R. Tyson wrote: > > > Mark -- > > > > > > Thanks -- I should have mentioned that I tried that, with no > > > luck. Don Tyson > > > > > > > One thought. Have you got a disc in the CD when booting? I've seen > > messages in -questions about CD-ROMs not being found if there is > > no disk in the drive. > > > > Failing that it's got to be something you removed from the kernel. > > Post your HOMEBASE config file (you did just comment out the unwanted > > options and not delete them didn't you? I've only got a 3.1 GENERIC) > > and I'll take a look. > > > > > > > I just know I'm missing something really basic here, but would > > > > > appreciate any hints you might have. I recompiled my > > > > > 2.2.8-RELEASE GENERIC kernel, and while I've reduced the kernel size > > > > > in half, and shortened the time from boot prompt to login prompt, I > > > > > cannot seem to get cdrom support in my recompiled kernel. > > > > > (The GENERIC kernel, which I configured using the visual > > > > > configuration tool at time of first install, > > > > > has cdrom support and works fine.) > > > > > > > > > > I have an ATAPI cdrom; I have device wcd0 in my new kernel > > > > > > > > If your CD is on the second IDE channel have you left > > > > > > > > controller wdc1 at isa? port "IO_WD2" bio irq 15 > > > > > > > > enabled? > > > > > > > [snipped] > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > > STATE-OF-THE-ART: Any computer you can't afford. > > OBSOLETE: Any computer you own. > > ________________________________________________________________ > > FreeBSD - The Power To Serve http://www.freebsd.org > > My Webpage http://ukug.uk.freebsd.org/~mark/ > > mailto:mark@ukug.uk.freebsd.org http://www.radan.com > > ------- End of Forwarded Message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- STATE-OF-THE-ART: Any computer you can't afford. OBSOLETE: Any computer you own. ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message