Kernel maybe borked...

2003-10-18 Thread Poul-Henning Kamp

I'm chasing a problem which indicates that I may have borked the
kernel with one of my last commits.  I'm hunting it right now.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel maybe borked...

2003-10-18 Thread John Hay
On Sat, Oct 18, 2003 at 03:48:49PM +0200, Poul-Henning Kamp wrote:
 
 I'm chasing a problem which indicates that I may have borked the
 kernel with one of my last commits.  I'm hunting it right now.

So you don't mean just compile errors like this, but real things like
turning over the fish bowl when booting?


cc -O -pipe -march=pentium  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/../include 
-finline-limit=15000 -fno-common -g -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -c /usr/src/sys/dev/raidframe/rf_freebsdkintf.c
/usr/src/sys/dev/raidframe/rf_freebsdkintf.c: In function `rf_DispatchKernelIO':
/usr/src/sys/dev/raidframe/rf_freebsdkintf.c:1547: error: structure has no member 
named `b_io'
/usr/src/sys/dev/raidframe/rf_freebsdkintf.c:1547: error: structure has no member 
named `b_io'
*** Error code 1

Stop in /usr/src/sys/modules/raidframe.
*** Error code 1

Stop in /usr/src/sys/modules.
##

John
-- 
John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Kernel maybe borked...

2003-10-18 Thread Gabriel Ambuehl
Hi John Hay,
you wrote.

JH Return-Path: [EMAIL PROTECTED]
JH Delivered-To: [EMAIL PROTECTED]
JH Received: (qmail 61696 invoked from network); 18 Oct 2003 16:55:08 -
JH Received: from mx2.freebsd.org (216.136.204.119)
JH   by 0 with SMTP; 18 Oct 2003 16:55:08 -
JH Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
JH by mx2.freebsd.org (Postfix) with ESMTP
JH id 1B77655508; Sat, 18 Oct 2003 09:54:51 -0700 (PDT)
JH (envelope-from [EMAIL PROTECTED])
JH Received: from hub.freebsd.org (localhost [127.0.0.1])
JH by hub.freebsd.org (Postfix) with ESMTP
JH id 914FE16A50B; Sat, 18 Oct 2003 09:54:48 -0700 (PDT)
JH Delivered-To: [EMAIL PROTECTED]
JH Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
JH by hub.freebsd.org (Postfix) with ESMTP id 3910116A4BF
JH for [EMAIL PROTECTED]; Sat, 18 Oct 2003 09:53:23 -0700 (PDT)
JH Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za
JH [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DCA943F93
JH for [EMAIL PROTECTED]; Sat, 18 Oct 2003 09:53:20 -0700 (PDT)
JH (envelope-from [EMAIL PROTECTED])
JH Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1])
JH h9IGrHqs021649; Sat, 18 Oct 2003 18:53:17 +0200 (SAST)
JH (envelope-from [EMAIL PROTECTED])
JH Received: (from [EMAIL PROTECTED])
JH by zibbi.icomtek.csir.co.za (8.12.9/8.12.9/Submit) id h9IGrEqA021648;
JH Sat, 18 Oct 2003 18:53:14 +0200 (SAST)
JH (envelope-from jhay)
JH Date: Sat, 18 Oct 2003 18:53:13 +0200
JH From: John Hay [EMAIL PROTECTED]
JH To: Poul-Henning Kamp [EMAIL PROTECTED]
JH Message-ID: [EMAIL PROTECTED]
JH References: [EMAIL PROTECTED]
JH Mime-Version: 1.0
JH Content-Type: text/plain; charset=us-ascii
JH Content-Disposition: inline
JH In-Reply-To: [EMAIL PROTECTED]
JH User-Agent: Mutt/1.4i
JH Cc: [EMAIL PROTECTED]
JH Subject: Re: Kernel maybe borked...
JH X-BeenThere: [EMAIL PROTECTED]
JH X-Mailman-Version: 2.1.1
JH Precedence: list
JH List-Id: Discussions about the use of FreeBSD-current
JH freebsd-current.freebsd.org
JH List-Unsubscribe:
JH http://lists.freebsd.org/mailman/listinfo/freebsd-current,
JH
JH mailto:[EMAIL PROTECTED]
JH List-Archive: http://lists.freebsd.org/pipermail/freebsd-current
JH List-Post: mailto:[EMAIL PROTECTED]
JH List-Help:
JH mailto:[EMAIL PROTECTED]
JH List-Subscribe:
JH http://lists.freebsd.org/mailman/listinfo/freebsd-current,
JH
JH mailto:[EMAIL PROTECTED]
JH Sender: [EMAIL PROTECTED]
JH Errors-To: [EMAIL PROTECTED]

JH On Sat, Oct 18, 2003 at 03:48:49PM +0200, Poul-Henning Kamp wrote:
 
 I'm chasing a problem which indicates that I may have borked the
 kernel with one of my last commits.  I'm hunting it right now.

JH So you don't mean just compile errors like this, but real things like
JH turning over the fish bowl when booting?

JH 
JH cc -O -pipe -march=pentium  -D_KERNEL -Wall -Wredundant-decls
JH -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
JH -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99
JH -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/../include
JH -finline-limit=15000 -fno-common -g -mno-align-long-strings
JH -mpreferred-stack-boundary=2 -ffreestanding -Wall
JH -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
JH -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
JH -fformat-extensions -std=c99 -c
JH /usr/src/sys/dev/raidframe/rf_freebsdkintf.c
JH /usr/src/sys/dev/raidframe/rf_freebsdkintf.c: In function `rf_DispatchKernelIO':
JH /usr/src/sys/dev/raidframe/rf_freebsdkintf.c:1547: error:
JH structure has no member named `b_io'
JH /usr/src/sys/dev/raidframe/rf_freebsdkintf.c:1547: error:
JH structure has no member named `b_io'
JH *** Error code 1

JH Stop in /usr/src/sys/modules/raidframe.
JH *** Error code 1

JH Stop in /usr/src/sys/modules.
JH ##

Now it's
#
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter 
-I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL 
-include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing  
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror  
/usr/src/sys/dev/ep/if_ep_eisa.c
/usr/src/sys/dev/ep/if_ep_eisa.c: In function `ep_eisa_attach':
/usr/src/sys/dev/ep/if_ep_eisa.c:218: error: `BASE' undeclared (first use in this 
function)
/usr/src/sys/dev/ep/if_ep_eisa.c:218: error: (Each undeclared identifier is reported 
only once
/usr/src/sys/dev/ep/if_ep_eisa.c:218: error: for each function it appears in.)
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src

Re: Kernel maybe borked...

2003-10-18 Thread Bruce M Simpson
On Sat, Oct 18, 2003 at 09:50:58PM +0200, Gabriel Ambuehl wrote:
[snip]
 /usr/src/sys/dev/ep/if_ep_eisa.c:218: error: for each function it appears in.)
 *** Error code 1
[snip]

I've just committed a fix for this:
if_ep_eisa.c:
 $FreeBSD: src/sys/dev/ep/if_ep_eisa.c,v 1.26 2003/10/18 20:44:23 bms Exp $

BMS
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]