Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 1998 10:28:12 +0930
From:      Greg Lehey <grog@lemis.com>
To:        aaronx@fearme.com, questions@FreeBSD.ORG
Subject:   Re: problems compiling kernel with scsi adapter
Message-ID:  <19980517102812.C370@freebie.lemis.com>
In-Reply-To: <XFMail.980516101133.aaronx@fearme.com>; from Aaron Yeung on Sat, May 16, 1998 at 10:11:33AM -0700
References:  <XFMail.980516101133.aaronx@fearme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980517102812.C370>