From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 22 13:20:08 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60D3E1065675 for ; Thu, 22 Jan 2009 13:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 35E7E8FC2D for ; Thu, 22 Jan 2009 13:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0MDK8Y1071298 for ; Thu, 22 Jan 2009 13:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0MDK82B071292; Thu, 22 Jan 2009 13:20:08 GMT (envelope-from gnats) Resent-Date: Thu, 22 Jan 2009 13:20:08 GMT Resent-Message-Id: <200901221320.n0MDK82B071292@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hu Dong Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A4181065670 for ; Thu, 22 Jan 2009 13:15:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 5703E8FC1B for ; Thu, 22 Jan 2009 13:15:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0MDFGtF068247 for ; Thu, 22 Jan 2009 13:15:16 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0MDFGvC068246; Thu, 22 Jan 2009 13:15:16 GMT (envelope-from nobody) Message-Id: <200901221315.n0MDFGvC068246@www.freebsd.org> Date: Thu, 22 Jan 2009 13:15:16 GMT From: Hu Dong To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/130882: make kernel encountered error in /usr/src/sys/dev/usb/umass.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 13:20:09 -0000 >Number: 130882 >Category: kern >Synopsis: make kernel encountered error in /usr/src/sys/dev/usb/umass.c >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jan 22 13:20:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hu Dong >Release: FreeBSD 7.1-STABLE >Organization: >Environment: %uname -a FreeBSD W230R.home 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Jan 17 00:16:01 CST 2009 root@W230R.home:/usr/obj/usr/src/sys/HASEE-W230R-i386 i386 >Description: cc -c -O2 -pipe -fno-strict-aliasing -march=prescott -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/usb/umass.c /usr/src/sys/dev/usb/umass.c:577: error: 'USB_PRODUCT_NETAC_ONLYDISK' undeclared here (not in a function) /usr/src/sys/dev/usb/umass.c:613: error: 'USB_PRODUCT_ONSPEC_SDS_HOTFIND_D' undeclared here (not in a function) *** Error code 1 Stop in /usr/obj/usr/src/sys/HASEE-W230R-i386. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. >How-To-Repeat: 1. csup -g -L 2 src-supfile 2. make kernel >Fix: Patch attached with submission follows: # $FreeBSD: src/share/examples/cvsup/cvs-supfile,v 1.43 2004/05/24 06:23:15 cjc Exp $ # # This file contains all of the "CVSup collections" that make up the # CVS development tree of the FreeBSD system. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you're running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows # to keep your CVS tree up-to-date: # # cvsup cvs-supfile # # If not running X, or invoking cvsup from a non-interactive script, then # run it as follows: # # cvsup -g -L 2 cvs-supfile # # You may wish to change some of the settings in this file to better # suit your system: # # host=CHANGE_THIS.FreeBSD.org # This specifies the server host which will supply the # file updates. You must change it to one of the CVSup # mirror sites listed in the FreeBSD Handbook at # http://www.freebsd.org/doc/handbook/mirrors.html. # You can override this setting on the command line # with cvsup's "-h host" option. # # base=/var/db # This specifies the root where CVSup will store information # about the collections you have transferred to your system. # A setting of "/var/db" will generate this information in # /var/db/sup. Even if you are CVSupping a large number of # collections, you will be hard pressed to generate more than # ~1MB of data in this directory. You can override the # "base" setting on the command line with cvsup's "-b base" # option. This directory must exist in order to run CVSup. # # prefix=/home/ncvs # This specifies where to place the requested files. A # setting of "/home/ncvs" will place all of the files # requested in /home/ncvs (e.g., "/home/ncvs/src/bin", # "/home/ncvs/ports/archivers"). The prefix directory # must exist in order to run CVSup. # Defaults that apply to all the collections # # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup.jp.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix # If you seem to be limited by CPU rather than network or disk bandwidth, try # commenting out the following line. (Normally, today's CPUs are fast enough # that you want to run compression.) *default compress ## Main Source Tree. # # The easiest way to get the main source tree is to use the "src-all" # mega-collection. It includes all of the individual "src-*" collections. src-all # These are the individual collections that make up "src-all". If you # use these, be sure to comment out "src-all" above. #src-base #src-bin #src-contrib #src-etc #src-games #src-gnu #src-include #src-kerberos5 #src-kerberosIV #src-lib #src-libexec #src-release #src-sbin #src-share #src-sys #src-tools #src-usrbin #src-usrsbin # These are the individual collections that make up FreeBSD's crypto # collection. They are no longer export-restricted and are a part of # src-all #src-crypto #src-eBones #src-secure #src-sys-crypto ## Ports Collection. # # The easiest way to get the ports tree is to use the "ports-all" # mega-collection. It includes all of the individual "ports-*" # collections, #ports-all # These are the individual collections that make up "ports-all". If you # use these, be sure to comment out "ports-all" above and always include # "ports-base" if you use any of the other individual collections below. # Your ports may not build correctly without an up-to-date "ports-base". # #ports-base # #ports-accessibility #ports-arabic #ports-archivers #ports-astro #ports-audio #ports-benchmarks #ports-biology #ports-cad #ports-chinese #ports-comms #ports-converters #ports-databases #ports-deskutils #ports-devel #ports-dns #ports-editors #ports-emulators #ports-finance #ports-french #ports-ftp #ports-games #ports-german #ports-graphics #ports-hebrew #ports-hungarian #ports-irc #ports-japanese #ports-java #ports-korean #ports-lang #ports-mail #ports-math #ports-mbone #ports-misc #ports-multimedia #ports-net #ports-net-mgmt #ports-news #ports-palm #ports-picobsd #ports-polish #ports-portuguese #ports-print #ports-russian #ports-science #ports-security #ports-shells #ports-sysutils #ports-textproc #ports-ukrainian #ports-vietnamese #ports-www #ports-x11 #ports-x11-clocks #ports-x11-fm #ports-x11-fonts #ports-x11-servers #ports-x11-themes #ports-x11-toolkits #ports-x11-wm ## Documentation # # The easiest way to get the doc tree is to use the "doc-all" # mega-collection. It includes all of the individual "doc-*" # collections, #doc-all ## Website # # This collection retrieves the www tree of the FreeBSD # repository #www ## CVSROOT control files # # This is to get the control files that cvs(1) needs and the commit logs. #cvsroot-all # These are the individual collections that make up "cvsroot-all" If you # use these, be sure to comment out "cvsroot-all" above. "cvsroot-common" # is a synthetic CVSROOT that has all the modules from the other CVSROOT-* # directories merged into one, and merged commitlogs via symlinks. #cvsroot-common #cvsroot-src #cvsroot-ports #cvsroot-doc >Release-Note: >Audit-Trail: >Unformatted: