From owner-freebsd-ppc@FreeBSD.ORG Mon Mar 8 11:07:04 2010 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DE7A1065673 for ; Mon, 8 Mar 2010 11:07:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0B6B38FC12 for ; Mon, 8 Mar 2010 11:07:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o28B73vl073782 for ; Mon, 8 Mar 2010 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o28B73Qs073780 for freebsd-ppc@FreeBSD.org; Mon, 8 Mar 2010 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Mar 2010 11:07:03 GMT Message-Id: <201003081107.o28B73Qs073780@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2010 11:07:04 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 9 problems total. From owner-freebsd-ppc@FreeBSD.ORG Wed Mar 10 00:43:14 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40DDE1065673; Wed, 10 Mar 2010 00:43:14 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0B3008FC1C; Wed, 10 Mar 2010 00:43:13 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o2A0hDI3023793; Tue, 9 Mar 2010 19:43:13 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o2A0hDY0023773; Wed, 10 Mar 2010 00:43:13 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 10 Mar 2010 00:43:13 GMT Message-Id: <201003100043.o2A0hDY0023773@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2010 00:43:14 -0000 TB --- 2010-03-10 00:41:39 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-03-10 00:41:39 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-03-10 00:41:39 - cleaning the object tree TB --- 2010-03-10 00:42:06 - cvsupping the source tree TB --- 2010-03-10 00:42:06 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-03-10 00:42:20 - building world TB --- 2010-03-10 00:42:20 - MAKEOBJDIRPREFIX=/obj TB --- 2010-03-10 00:42:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-03-10 00:42:20 - TARGET=powerpc TB --- 2010-03-10 00:42:20 - TARGET_ARCH=powerpc TB --- 2010-03-10 00:42:20 - TZ=UTC TB --- 2010-03-10 00:42:20 - __MAKE_CONF=/dev/null TB --- 2010-03-10 00:42:20 - cd /src TB --- 2010-03-10 00:42:20 - /usr/bin/make -B buildworld >>> World build started on Wed Mar 10 00:42:22 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree [...] ===> secure/libexec/sftp-server (cleandir) rm -f sftp-server sftp-server.o sftp-common.o sftp-server-main.o roaming_dummy.o sftp-server.8.gz sftp-server.8.cat.gz rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> secure/libexec/ssh-keysign (cleandir) rm -f ssh-keysign ssh-keysign.o readconf.o roaming_dummy.o ssh-keysign.8.gz ssh-keysign.8.cat.gz rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> secure/libexec/ssh-pkcs11-helper (cleandir) cd: can't cd to /src/secure/libexec/ssh-pkcs11-helper *** Error code 2 Stop in /src/secure/libexec. *** Error code 1 Stop in /src/secure. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-03-10 00:43:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-03-10 00:43:13 - ERROR: failed to build world TB --- 2010-03-10 00:43:13 - 34.67 user 23.38 system 94.04 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Mar 11 06:29:32 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B6291065670; Thu, 11 Mar 2010 06:29:32 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 409738FC13; Thu, 11 Mar 2010 06:29:31 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o2B6TVpa094219; Thu, 11 Mar 2010 01:29:31 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o2B6TVta094218; Thu, 11 Mar 2010 06:29:31 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 11 Mar 2010 06:29:31 GMT Message-Id: <201003110629.o2B6TVta094218@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 06:29:32 -0000 TB --- 2010-03-11 05:11:25 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-03-11 05:11:25 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-03-11 05:11:25 - cleaning the object tree TB --- 2010-03-11 05:11:41 - cvsupping the source tree TB --- 2010-03-11 05:11:41 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-03-11 05:12:22 - building world TB --- 2010-03-11 05:12:22 - MAKEOBJDIRPREFIX=/obj TB --- 2010-03-11 05:12:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-03-11 05:12:22 - TARGET=powerpc TB --- 2010-03-11 05:12:22 - TARGET_ARCH=powerpc TB --- 2010-03-11 05:12:22 - TZ=UTC TB --- 2010-03-11 05:12:22 - __MAKE_CONF=/dev/null TB --- 2010-03-11 05:12:22 - cd /src TB --- 2010-03-11 05:12:22 - /usr/bin/make -B buildworld >>> World build started on Thu Mar 11 05:12:23 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Thu Mar 11 06:12:41 UTC 2010 TB --- 2010-03-11 06:12:41 - generating LINT kernel config TB --- 2010-03-11 06:12:41 - cd /src/sys/powerpc/conf TB --- 2010-03-11 06:12:41 - /usr/bin/make -B LINT TB --- 2010-03-11 06:12:41 - building LINT kernel TB --- 2010-03-11 06:12:41 - MAKEOBJDIRPREFIX=/obj TB --- 2010-03-11 06:12:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-03-11 06:12:41 - TARGET=powerpc TB --- 2010-03-11 06:12:41 - TARGET_ARCH=powerpc TB --- 2010-03-11 06:12:41 - TZ=UTC TB --- 2010-03-11 06:12:41 - __MAKE_CONF=/dev/null TB --- 2010-03-11 06:12:41 - cd /src TB --- 2010-03-11 06:12:41 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Mar 11 06:12:41 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] ===> siba_bwn (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/powerpc/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mlongcall -fno-omit-frame-pointer -I/obj/powerpc/src/sys/LINT -msoft-float -mno-altivec -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c cc1: warnings being treated as errors /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c: In function 'siba_dma_translation': /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: warning: dereferencing 'void *' pointer /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: error: request for member 'sd_bus' in something not a structure or union /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: warning: dereferencing 'void *' pointer /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: error: request for member 'sd_bus' in something not a structure or union *** Error code 1 Stop in /src/sys/modules/siba_bwn. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-03-11 06:29:31 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-03-11 06:29:31 - ERROR: failed to build lint kernel TB --- 2010-03-11 06:29:31 - 3629.47 user 614.12 system 4685.83 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Mar 11 07:18:26 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5AAB106564A for ; Thu, 11 Mar 2010 07:18:26 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9B7E48FC0C for ; Thu, 11 Mar 2010 07:18:26 +0000 (UTC) Received: by pwj4 with SMTP id 4so56208pwj.13 for ; Wed, 10 Mar 2010 23:18:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=biP5dTeoz/js2ygNO1pkeMOOtqjBRjDeG9iNR91PxDE=; b=ssvgDzMopl7ByBdXPsD0gfOWjd4aH+H4CXI/n1GShn4tQoLzzB/rfeCrlUI404l0qG kaJvtsoYyBDCoa1W+xMNuEwhtPEtoL+82Ix/ueBFM4VkcpwOK3LcORp4vTCsdrRzDjSb is4X2MesfaCjsRB6EUMTku44jW+SZl6a2deOU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=XLZjY9aUbMu4t6m3zdbnDI+fDkxiAy1M7E5epGOZW+c40pJdrOTwBGeMTEA+LNhLsY JvFL3VFUnOVB6OmiX9+LWnJnTWYe58uaFSDfcikEb2qR+WpGoNroADIT0T7kmlHyVTa1 TuHqnbMr5dVrS0Pc8RfIJDe4ZKAQHAJ3xhJAs= MIME-Version: 1.0 Received: by 10.142.55.11 with SMTP id d11mr1215151wfa.1.1268290107983; Wed, 10 Mar 2010 22:48:27 -0800 (PST) In-Reply-To: <201003110629.o2B6TVta094218@freebsd-current.sentex.ca> References: <201003110629.o2B6TVta094218@freebsd-current.sentex.ca> Date: Wed, 10 Mar 2010 22:48:27 -0800 Message-ID: <7d6fde3d1003102248g31b179f7u3bfe848408f91f2e@mail.gmail.com> From: Garrett Cooper To: FreeBSD Tinderbox Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: powerpc@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 07:18:26 -0000 Weongyo, et all, On Wed, Mar 10, 2010 at 10:29 PM, FreeBSD Tinderbox wrote: > TB --- 2010-03-11 05:11:25 - tinderbox 2.6 running on freebsd-current.sen= tex.ca > TB --- 2010-03-11 05:11:25 - starting HEAD tinderbox run for powerpc/powe= rpc > TB --- 2010-03-11 05:11:25 - cleaning the object tree > TB --- 2010-03-11 05:11:41 - cvsupping the source tree > TB --- 2010-03-11 05:11:41 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sente= x.ca /tinderbox/HEAD/powerpc/powerpc/supfile > TB --- 2010-03-11 05:12:22 - building world > TB --- 2010-03-11 05:12:22 - MAKEOBJDIRPREFIX=3D/obj > TB --- 2010-03-11 05:12:22 - PATH=3D/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2010-03-11 05:12:22 - TARGET=3Dpowerpc > TB --- 2010-03-11 05:12:22 - TARGET_ARCH=3Dpowerpc > TB --- 2010-03-11 05:12:22 - TZ=3DUTC > TB --- 2010-03-11 05:12:22 - __MAKE_CONF=3D/dev/null > TB --- 2010-03-11 05:12:22 - cd /src > TB --- 2010-03-11 05:12:22 - /usr/bin/make -B buildworld >>>> World build started on Thu Mar 11 05:12:23 UTC 2010 >>>> Rebuilding the temporary build tree >>>> stage 1.1: legacy release compatibility shims >>>> stage 1.2: bootstrap tools >>>> stage 2.1: cleaning up the object tree >>>> stage 2.2: rebuilding the object tree >>>> stage 2.3: build tools >>>> stage 3: cross tools >>>> stage 4.1: building includes >>>> stage 4.2: building libraries >>>> stage 4.3: make dependencies >>>> stage 4.4: building everything >>>> World build completed on Thu Mar 11 06:12:41 UTC 2010 > TB --- 2010-03-11 06:12:41 - generating LINT kernel config > TB --- 2010-03-11 06:12:41 - cd /src/sys/powerpc/conf > TB --- 2010-03-11 06:12:41 - /usr/bin/make -B LINT > TB --- 2010-03-11 06:12:41 - building LINT kernel > TB --- 2010-03-11 06:12:41 - MAKEOBJDIRPREFIX=3D/obj > TB --- 2010-03-11 06:12:41 - PATH=3D/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2010-03-11 06:12:41 - TARGET=3Dpowerpc > TB --- 2010-03-11 06:12:41 - TARGET_ARCH=3Dpowerpc > TB --- 2010-03-11 06:12:41 - TZ=3DUTC > TB --- 2010-03-11 06:12:41 - __MAKE_CONF=3D/dev/null > TB --- 2010-03-11 06:12:41 - cd /src > TB --- 2010-03-11 06:12:41 - /usr/bin/make -B buildkernel KERNCONF=3DLINT >>>> Kernel build for LINT started on Thu Mar 11 06:12:41 UTC 2010 >>>> stage 1: configuring the kernel >>>> stage 2.1: cleaning up the object tree >>>> stage 2.2: rebuilding the object tree >>>> stage 2.3: build tools >>>> stage 3.1: making dependencies >>>> stage 3.2: building everything > [...] > =3D=3D=3D> siba_bwn (all) > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdin= c =A0 -DHAVE_KERNEL_OPTION_HEADERS -include /obj/powerpc/src/sys/LINT/opt_g= lobal.h -I. -I@ -I@/contrib/altq -finline-limit=3D15000 --param inline-unit= -growth=3D100 --param large-function-growth=3D1000 -fno-common =A0-mlongcal= l -fno-omit-frame-pointer -I/obj/powerpc/src/sys/LINT -msoft-float -mno-alt= ivec -ffreestanding -fstack-protector -std=3Diso9899:1999 -fstack-protector= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes =A0-Wmissing-= prototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-sig= n -fformat-extensions -c /src/sys/modules/siba_bwn/../../dev/siba/siba_core= .c > cc1: warnings being treated as errors > /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c: In function 'siba_d= ma_translation': > /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: warning: deref= erencing 'void *' pointer > /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: error: request= for member 'sd_bus' in something not a structure or union > /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: warning: deref= erencing 'void *' pointer > /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: error: request= for member 'sd_bus' in something not a structure or union > *** Error code 1 > > Stop in /src/sys/modules/siba_bwn. > *** Error code 1 > > Stop in /src/sys/modules. > *** Error code 1 > > Stop in /obj/powerpc/src/sys/LINT. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2010-03-11 06:29:31 - WARNING: /usr/bin/make returned exit code = =A01 > TB --- 2010-03-11 06:29:31 - ERROR: failed to build lint kernel > TB --- 2010-03-11 06:29:31 - 3629.47 user 614.12 system 4685.83 real Could someone please try this patch to see whether or not it fixes the void* deref issue? I don't think it's style(9) correct, but it might resolve the issue. Thanks, -Garrett Index: siba_core.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- siba_core.c (revision 204996) +++ siba_core.c (working copy) @@ -2032,9 +2032,9 @@ siba_dma_translation(device_t dev) { - KASSERT(device_get_ivars(dev)->sd_bus->siba_type =3D=3D SIBA_TYPE_PCI, - ("unsupported bustype %d\n", - device_get_ivars(dev)->sd_bus->siba_type)); + KASSERT(((struct siba_softc *) device_get_ivars(dev))->sd_bus->siba_type = =3D=3D + SIBA_TYPE_PCI, ("unsupported bustype %d\n", + ((struct siba_softc*) device_get_ivars(dev))->sd_bus->siba_type)); return (SIBA_PCI_DMA); } From owner-freebsd-ppc@FreeBSD.ORG Thu Mar 11 08:30:17 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69527106566C; Thu, 11 Mar 2010 08:30:17 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 261028FC17; Thu, 11 Mar 2010 08:30:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 14C2A7B6CE; Thu, 11 Mar 2010 21:10:42 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MBbErbHA7fs0; Thu, 11 Mar 2010 21:10:36 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Thu, 11 Mar 2010 21:10:36 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id C92EA11434; Thu, 11 Mar 2010 21:10:35 +1300 (NZDT) Date: Thu, 11 Mar 2010 21:10:35 +1300 From: Andrew Thompson To: Garrett Cooper Message-ID: <20100311081035.GA45454@citylink.fud.org.nz> References: <201003110629.o2B6TVta094218@freebsd-current.sentex.ca> <7d6fde3d1003102248g31b179f7u3bfe848408f91f2e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d6fde3d1003102248g31b179f7u3bfe848408f91f2e@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: powerpc@freebsd.org, Weongyo Jeong , FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 08:30:17 -0000 On Wed, Mar 10, 2010 at 10:48:27PM -0800, Garrett Cooper wrote: > Weongyo, et all, > > On Wed, Mar 10, 2010 at 10:29 PM, FreeBSD Tinderbox > > /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: error: request for member 'sd_bus' in something not a structure or union > > *** Error code 1 > > > > Stop in /src/sys/modules/siba_bwn. > > *** Error code 1 > > > > Stop in /src/sys/modules. > > *** Error code 1 > > > > Stop in /obj/powerpc/src/sys/LINT. > > *** Error code 1 > > > > Stop in /src. > > *** Error code 1 > > > > Stop in /src. > > TB --- 2010-03-11 06:29:31 - WARNING: /usr/bin/make returned exit code ?1 > > TB --- 2010-03-11 06:29:31 - ERROR: failed to build lint kernel > > TB --- 2010-03-11 06:29:31 - 3629.47 user 614.12 system 4685.83 real > > Could someone please try this patch to see whether or not it fixes > the void* deref issue? I don't think it's style(9) correct, but it > might resolve the issue. > Thanks, > -Garrett > > Index: siba_core.c > =================================================================== > --- siba_core.c (revision 204996) > +++ siba_core.c (working copy) > @@ -2032,9 +2032,9 @@ > siba_dma_translation(device_t dev) > { > > - KASSERT(device_get_ivars(dev)->sd_bus->siba_type == SIBA_TYPE_PCI, > - ("unsupported bustype %d\n", > - device_get_ivars(dev)->sd_bus->siba_type)); > + KASSERT(((struct siba_softc *) device_get_ivars(dev))->sd_bus->siba_type == > + SIBA_TYPE_PCI, ("unsupported bustype %d\n", > + ((struct siba_softc*) device_get_ivars(dev))->sd_bus->siba_type)); > It was all getting a bit unwieldy, I committed a more simple fix in r205003. From owner-freebsd-ppc@FreeBSD.ORG Thu Mar 11 23:56:18 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD9AF106566C; Thu, 11 Mar 2010 23:56:17 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-fx0-f209.google.com (mail-fx0-f209.google.com [209.85.220.209]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9398FC08; Thu, 11 Mar 2010 23:56:16 +0000 (UTC) Received: by fxm1 with SMTP id 1so11340fxm.13 for ; Thu, 11 Mar 2010 15:56:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=wOVOvDkt7lylzFkV6ljoK65DM2vWqgHn356+lIMO9Zk=; b=Z4E+UZd+/fqYQNiaFt5SOcYy47TQ9IVt7MrAMcul/tjiG6E2YjJRR6XJVufgsqjMew lWiPqqKNdtODKD4rcJs2zKJwebSkhHZqWfbi84w+WddRK7DBmVNZXeHNOBbp9i5yLnFB ELHmIl0dqBPntWTc+BEVfQZiBdMvRqsigclqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=nv8+KACeI6kmeU9H84BOy3KcL62J9/fog9Jaa66GS3hTSIYb2wawjIPLPl4BcJ6JGl efZdw+RnRxBTpsPQFibsXiyy9Dmaql94b2YcgxOWSa1b2/LaqQFSnDErXnQHRAduHNur 29YwzLIP6zTMc8Vq1pDs1/6WQ+iYPIcXmoUqE= Received: by 10.102.164.10 with SMTP id m10mr2248519mue.52.1268350245605; Thu, 11 Mar 2010 15:30:45 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id s10sm1846914muh.35.2010.03.11.15.30.42 (version=SSLv3 cipher=RC4-MD5); Thu, 11 Mar 2010 15:30:44 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Thu, 11 Mar 2010 15:30:53 -0800 From: Weongyo Jeong Date: Thu, 11 Mar 2010 15:30:53 -0800 To: Andrew Thompson Message-ID: <20100311233053.GY1295@weongyo> Mail-Followup-To: Andrew Thompson , Garrett Cooper , FreeBSD Tinderbox , powerpc@freebsd.org, current@freebsd.org References: <201003110629.o2B6TVta094218@freebsd-current.sentex.ca> <7d6fde3d1003102248g31b179f7u3bfe848408f91f2e@mail.gmail.com> <20100311081035.GA45454@citylink.fud.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100311081035.GA45454@citylink.fud.org.nz> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: powerpc@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 23:56:18 -0000 On Thu, Mar 11, 2010 at 09:10:35PM +1300, Andrew Thompson wrote: > On Wed, Mar 10, 2010 at 10:48:27PM -0800, Garrett Cooper wrote: > > Weongyo, et all, > > > > On Wed, Mar 10, 2010 at 10:29 PM, FreeBSD Tinderbox > > > /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: error: request for member 'sd_bus' in something not a structure or union > > > *** Error code 1 > > > > > > Stop in /src/sys/modules/siba_bwn. > > > *** Error code 1 > > > > > > Stop in /src/sys/modules. > > > *** Error code 1 > > > > > > Stop in /obj/powerpc/src/sys/LINT. > > > *** Error code 1 > > > > > > Stop in /src. > > > *** Error code 1 > > > > > > Stop in /src. > > > TB --- 2010-03-11 06:29:31 - WARNING: /usr/bin/make returned exit code ?1 > > > TB --- 2010-03-11 06:29:31 - ERROR: failed to build lint kernel > > > TB --- 2010-03-11 06:29:31 - 3629.47 user 614.12 system 4685.83 real > > > > Could someone please try this patch to see whether or not it fixes > > the void* deref issue? I don't think it's style(9) correct, but it > > might resolve the issue. > > Thanks, > > -Garrett > > > > Index: siba_core.c > > =================================================================== > > --- siba_core.c (revision 204996) > > +++ siba_core.c (working copy) > > @@ -2032,9 +2032,9 @@ > > siba_dma_translation(device_t dev) > > { > > > > - KASSERT(device_get_ivars(dev)->sd_bus->siba_type == SIBA_TYPE_PCI, > > - ("unsupported bustype %d\n", > > - device_get_ivars(dev)->sd_bus->siba_type)); > > + KASSERT(((struct siba_softc *) device_get_ivars(dev))->sd_bus->siba_type == > > + SIBA_TYPE_PCI, ("unsupported bustype %d\n", > > + ((struct siba_softc*) device_get_ivars(dev))->sd_bus->siba_type)); > > > > It was all getting a bit unwieldy, I committed a more simple fix in > r205003. Thank you for fix and sorry for break build. regards, Weongyo Jeong