From owner-freebsd-bugs Mon Nov 4 11:10: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A13EC37B404 for ; Mon, 4 Nov 2002 11:10:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C5D043E6E for ; Mon, 4 Nov 2002 11:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA4JA1x3045887 for ; Mon, 4 Nov 2002 11:10:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA4JA1GP045886; Mon, 4 Nov 2002 11:10:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBF8F37B401 for ; Mon, 4 Nov 2002 11:08:51 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81A5E43E3B for ; Mon, 4 Nov 2002 11:08:51 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id gA4J8o7R019158 for ; Mon, 4 Nov 2002 11:08:50 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id gA4J8onG019157; Mon, 4 Nov 2002 11:08:50 -0800 (PST) Message-Id: <200211041908.gA4J8onG019157@www.freebsd.org> Date: Mon, 4 Nov 2002 11:08:50 -0800 (PST) From: Attila Nagy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/44884: pcic is broken in current Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44884 >Category: kern >Synopsis: pcic is broken in current >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 04 11:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Attila Nagy >Release: 4.6-STABLE >Organization: >Environment: FreeBSD chuck.intra 4.6-STABLE FreeBSD 4.6-STABLE #2: Thu Jul 11 15:13:00 CEST 2002 root@chuck.intra:/usr/obj/usr/src/sys/CHUCK i386 >Description: I'm trying to upgrade a machine from STABLE to CURRENT, according to UPDATES. During the process, I got: cc -c -O -pipe -march=i486 -Wall -Wredundant-decls -Wnested-externs -Wstrict-pro totypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-ext ensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/s ys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_glo bal.h -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreest anding -Werror /usr/src/sys/dev/pcic/i82365.c /usr/src/sys/dev/pcic/i82365.c: In function `pcic_event_thread': /usr/src/sys/dev/pcic/i82365.c:566: `DETACH_FORCE' undeclared (first use in this function) /usr/src/sys/dev/pcic/i82365.c:566: (Each undeclared identifier is reported only once /usr/src/sys/dev/pcic/i82365.c:566: for each function it appears in.) /usr/src/sys/dev/pcic/i82365.c: In function `pcic_intr_socket': /usr/src/sys/dev/pcic/i82365.c:673: `DETACH_FORCE' undeclared (first use in this function) /usr/src/sys/dev/pcic/i82365.c: In function `pcic_detach_card': /usr/src/sys/dev/pcic/i82365.c:728: too many arguments to function `CARD_DETACH_ CARD' *** Error code 1 Stop in /usr/obj/usr/src/sys/GATEWAY. *** Error code 1 I have the following lines in GATEWAY kernel config: # PCCARD (PCMCIA) support # Pcmcia and cardbus bridge support device pcic # ExCA ISA and PCI bridges device pccard # PC Card (16-bit) bus I have pcic0 on a STABLE system: at port 0x3e0 iomem 0xd0000 on isa0 >How-To-Repeat: Comment out the pcic line in kernel config, then do a make buildworld, make buildkernel and you get the error. >Fix: Maybe to remove "flags" from the options of CARD_DETACH_CARD, so the i82365.c file could look like this: CARD_DETACH_CARD(h->dev); ? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message