From owner-freebsd-questions Sat May 16 17:58:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04255 for freebsd-questions-outgoing; Sat, 16 May 1998 17:58:31 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04202 for ; Sat, 16 May 1998 17:58:17 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id KAA00454; Sun, 17 May 1998 10:28:12 +0930 (CST) (envelope-from grog) Message-ID: <19980517102812.C370@freebie.lemis.com> Date: Sun, 17 May 1998 10:28:12 +0930 From: Greg Lehey To: aaronx@fearme.com, questions@FreeBSD.ORG Subject: Re: problems compiling kernel with scsi adapter References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Aaron Yeung on Sat, May 16, 1998 at 10:11:33AM -0700 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 16 May 1998 at 10:11:33 -0700, Aaron Yeung wrote: > hello > I have been experiencing kernel compiling problems with my scsi host > adapter. A friend asked me to email here for help. > The problem seems to be i cannot compile the kernel properly when add > the scsi adapter `aha0' (i have an adaptec 1502i which was included with > an internal scsi iomega zip drive, which i am trying to get to work (win95 also > adds that it's the 152x, if that helps any bit)) You've missed out some configuration entries: > #:w You use vi, do you? > #controller amd0 > #controller ahb0 > #controller ahc0 > #controller dpt0 > #controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr > #controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr > controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr > #controller aic0 at isa? port 0x340 bio irq 11 vector aicintr > #controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr > #controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr > #controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector > seaintr > > #options DPTOPT # will go away soon > #options DPT_MEASURE_PERFORMANCE # just enable for now > #options DPT_VERIFY_HINTR # Some hardware must have it! > #options DPT_TRACK_CCB_STATES # Some hardware must have it! > #options DPT_HANDLE_TIMEOUTS # Some hardware must have it! > #options DPT_TIMEOUT_FACTOR=4 # Some hardware needs more > > #controller scbus0 This is mandatory for all SCSI installations > #device sd0 This is needed if you intend to use disks on your SCSI bus > #device od0 #See LINT for possible `od' options. This is needed if you intend to use optical disks on your SCSI bus > #device st0 This is needed if you intend to use tapes on your SCSI bus > #device cd0 #Only need one of these, the code dynamically grows I'm not so sure about this one, but I suspect you need it if you intend to use optical disks on your SCSI bus. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message