Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2002 09:48:10 +0100 (MET)
From:      Adrian Steinmann <ast@marabu.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sos@FreeBSD.org
Subject:   kern/44873: kernel config now requires atapicd with ata, atadisk
Message-ID:  <200211040848.gA48mAx37336@marabu.ch>

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

>Number:         44873
>Category:       kern
>Synopsis:       kernel config now requires atapicd with ata, atadisk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 04 01:00:13 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Steinmann
>Release:        -stable
>Organization:
Webgroup Consulting AG
>Environment:
System: FreeBSD nano.marabu.ch 4.6.2-STYX FreeBSD 4.6.2-STYX #0: Tue Apr 16 11:06:34 GMT 2002 root@rumori.com:/usr/src/sys/compile/STYX i386

>Description:
	kernel config with ata supports needs additional line to compile

>How-To-Repeat:

A kernel config file with only
	device ata
	device atadisk
but no
	device atapicd
will fail to make buildkernel (this used to work up to 4_7_0_RELEASE):

cc -c -Os -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../dev/ata/ata-card.c
../../dev/ata/ata-all.c:599: warning: type defaults to `int' in declaration of `splx'
../../dev/ata/ata-all.c:599: warning: parameter names (without types) in function declaration
../../dev/ata/ata-all.c:599: conflicting types for `splx'
../../sys/systm.h:257: previous declaration of `splx'
../../dev/ata/ata-all.c:599: warning: redundant redeclaration of `splx' in same scope
../../sys/systm.h:257: warning: previous declaration of `splx'
../../dev/ata/ata-all.c:599: warning: data definition has no type or storage class
../../dev/ata/ata-all.c:600: syntax error before `}'
../../dev/ata/ata-all.c:65: warning: `ata_cdevsw' defined but not used
../../dev/ata/ata-all.c:540: warning: `ata_boot_attach' defined but not used
../../dev/ata/ata-all.c:83: warning: `ata_intr' used but never defined
../../dev/ata/ata-all.c:85: warning: `ata_service' declared `static' but never defined
../../dev/ata/ata-all.c:86: warning: `bswap' used but never defined
../../dev/ata/ata-all.c:87: warning: `btrim' used but never defined
../../dev/ata/ata-all.c:88: warning: `bpack' used but never defined
../../dev/ata/ata-all.c:89: warning: `ata_change_mode' used but never defined
../../dev/ata/ata-all.c:90: warning: `ata_drawersensor' used but never defined
*** Error code 1
cc -c -Os -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../dev/ata/ata-disk.c
1 error
*** Error code 2

Stop in /root/build.
*** Error code 1

Stop in /root/build.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:

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




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