Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 1997 11:04:06 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Paul Wolstenholme <wolstena@sfu.ca>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: error during compiling of Custom Kernel
Message-ID:  <19970928110406.27655@lemis.com>
In-Reply-To: <3.0.3.32.19970927175915.007c9480@pop.sfu.ca>; from Paul Wolstenholme on Sat, Sep 27, 1997 at 05:59:15PM -0700
References:  <3.0.3.32.19970927175915.007c9480@pop.sfu.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 27, 1997 at 05:59:15PM -0700, Paul Wolstenholme wrote:
> I'm running FreeBSD 2.2.2 on a 486, 20MB RAM.  I am booting off a IDE drive
> and use a scsi drive for everything else (couldn't scrounge up a bootable
> scsi card).
>
> I haven't build my own kernel before but needed to because I need the
> system V stuff for PostGres.  Below is the error I get relating to the scsi
> controller (I think), as well as my config file.  I was wondering whether
> someone might be able to see what the heck I mucked up.

If you create a config file, it's good practice to rename it to the
name of your machine.  For example, if your system name is daemon,
change all occurences of GENERIC to DAEMON, and call the file DAEMON.
It'll save you confusion later.

> # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
> # A single entry for any of these controllers (ncr, ahb, ahc, amd) is
> # sufficient for any number of installed devices.
> #controller	ncr0
> #controller	amd0
> #controller	ahb0
> #controller	ahc0
> #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

This must be yours

> #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
>
> #controller	scbus0

But you need this too.

> #device		sd0

And this, if you have any disks connected.

> device		od0	#See LINT for possible `od' options.

This is an optical disk.  Do you have one?

> #device		st0

This is SCSI tape.  You should probably leave it in.

> #device		cd0	#Only need one of these, the code dynamically grows

And this is CD-ROM.  Also a good idea to leave it in.

> #device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
> #device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr

It's not said that this is the only thing you need to change.  After
removing multiple devices, rebuilding the kernel can be an iterative
experience.

Greg




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