From owner-freebsd-net@FreeBSD.ORG Tue Jun 18 11:40:01 2013 Return-Path: Delivered-To: freebsd-net@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8DCD2F11 for ; Tue, 18 Jun 2013 11:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7FF5711AA for ; Tue, 18 Jun 2013 11:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5IBe1Gd051742 for ; Tue, 18 Jun 2013 11:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5IBe1Od051741; Tue, 18 Jun 2013 11:40:01 GMT (envelope-from gnats) Date: Tue, 18 Jun 2013 11:40:01 GMT Message-Id: <201306181140.r5IBe1Od051741@freefall.freebsd.org> To: freebsd-net@FreeBSD.org Cc: From: Sergey Maltsev Subject: Re: kern/178612: [run] kernel panic due the problems with run driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Sergey Maltsev List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 11:40:01 -0000 The following reply was made to PR kern/178612; it has been noted by GNATS. From: Sergey Maltsev To: bug-followup@FreeBSD.org, core.dumped.sm@gmail.com Cc: Subject: Re: kern/178612: [run] kernel panic due the problems with run driver Date: Tue, 18 Jun 2013 17:39:47 +0600 --089e016814549dc64f04df6c2b69 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Major upgrade for a system with a set number of ports around 2k is not acceptable for me. I updated system to the last release - 8.4, =C1nd replaced system files on similar of the link: http://svnweb.freebsd.org/base?view=3Drevision&revision=3D218676 Unfortunately compilation of a kernel ends with error: =3D=3D=3D> usb/run (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SERGIO/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -fno-common -g -I/usr/obj/usr/src/sys/SERGIO -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c /usr/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:77:1: error: "nitems" redefined In file included from /usr/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:27: @/sys/param.h:274:1: error: this is the location of the previous definition *** Error code 1 Stop in /usr/src/sys/modules/usb/run. *** Error code 1 Stop in /usr/src/sys/modules/usb. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/SERGIO. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. --089e016814549dc64f04df6c2b69 Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: quoted-printable
Major upgrade for a system with a set number of ports arou= nd 2k is not acceptable for me.
I updated system to the last release - 8= .4, =C1nd replaced system files on similar of the link:
http://svnweb.freebsd.org/base?view=3Drevision&revision=3D21867= 6
Unfortunately compilation of a kernel ends with error:

=3D=3D=3D>= usb/run (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD= _MODULE -nostdinc=9A=9A -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/= src/sys/SERGIO/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=3D8000 = --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -fno-= common -g -I/usr/obj/usr/src/sys/SERGIO -mno-align-long-strings -mpreferred= -stack-boundary=3D2=9A -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ff= reestanding -fstack-protector -std=3Diso9899:1999 -fstack-protector -Wall -= Wredundant-decls -Wnested-externs -Wstrict-prototypes=9A -Wmissing-prototyp= es -Wpointer-arith -Winline -Wcast-qual=9A -Wundef -Wno-pointer-sign -fform= at-extensions -c /usr/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.= c
/usr/src/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:77:1: error: &q= uot;nitems" redefined
In file included from /usr/src/sys/modules/us= b/run/../../../dev/usb/wlan/if_run.c:27:
@/sys/param.h:274:1: error: thi= s is the location of the previous definition
*** Error code 1

Stop in /usr/src/sys/modules/usb/run.
*** Error = code 1

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

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

Stop in /usr/obj/u= sr/src/sys/SERGIO.
*** Error code 1

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

Stop i= n /usr/src.


--089e016814549dc64f04df6c2b69--