Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2000 15:32:11 +0900
From:      Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
To:        Alexander@Leidinger.net
Cc:        current@FreeBSD.ORG
Subject:   Re: config(8) weirdness
Message-ID:  <86lmwafl04.wl@tkc.att.ne.jp>
In-Reply-To: In your message of "Sun, 27 Aug 2000 15:16:01 %2B0200 (CEST)" <200008271316.e7RDG2i02168@Magelan.Leidinger.net>
References:  <868ztilx3p.wl@tkc.att.ne.jp> <200008271316.e7RDG2i02168@Magelan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi.

At Sun, 27 Aug 2000 15:16:01 +0200 (CEST),
Alexander Leidinger <Alexander@Leidinger.net> wrote:
> > Can anyone success compiling kernel with the following config?
> > 
> > # ATA and ATAPI devices
> > device          ata
> > device          atadisk                 # ATA disk drives
> > #device         atapicd                 # ATAPI CDROM drives
> > device          atapifd                 # ATAPI floppy drives
> > #device         atapist                 # ATAPI tape drives
> > #options        ATA_STATIC_ID           #Static device numbering
> > #options        ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices
> > 
> I've the same problem.


This is obvous BUG of config(8), newly introduced 'count' feature.

In /sys/conf/files.i386 :

dev/ata/atapi-all.c             count           atapicd
dev/ata/atapi-all.c             count           atapifd
dev/ata/atapi-all.c             count           atapist

On the current implementation,
the first line is only effective,

i.e. same as:

dev/ata/atapi-all.c             count           atapicd
#dev/ata/atapi-all.c             count           atapifd
#dev/ata/atapi-all.c             count           atapist

Then, atapi-all.c will be copiled only when atapicd is enabled.


To exchange the lines of files.i386 takes effect as a symptomatic therapy.
But..., fix for config(8) is needed.

-- 
Motomichi Matsuzaki <mzaki@e-mail.ne.jp> 
Dept. of Biological Sciences, Grad. School of Science, Univ. of Tokyo, Japan 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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