From owner-freebsd-stable@FreeBSD.ORG Sun Apr 25 01:24:51 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 122AC106566C for ; Sun, 25 Apr 2010 01:24:51 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id B81B88FC08 for ; Sun, 25 Apr 2010 01:24:50 +0000 (UTC) Received: by qyk11 with SMTP id 11so13287910qyk.13 for ; Sat, 24 Apr 2010 18:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=h94u8beKvw3JIRnFbRf2JYxRUWdlLTwfycnsK6vcuEU=; b=Y/+akaREFVB6NjGWQGM/biHhn3IwgrA5QihVkARAEgOQ00xPbp2b3g2jbUWGFUwNau eDKD4rTsKD6+v1NzHPRrL22xEBiFZVu31B6EXf7VxN0HpmEjbRBVX4LGoB3t2hY0ToXu GYvuIxa6fgigX3NWgGVBscbOAJcbOF7quFwOo= 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; b=mQjn9lINLugDi2n+/rvTLfQCZUCGWSifRi6hu8akE6gJveULKtuIg7Xx93uCCzDIX4 Z+dnZ+LiGN/tp9Qjswu3VMBppfvJ+tHBzA/p2GcmBMQ0l4S2GI2PpUFCZ+5+PEldBxn2 NZyHLvI8euRux65d42Nkk69g06l8EiWUlW3R8= MIME-Version: 1.0 Received: by 10.229.239.4 with SMTP id ku4mr1749343qcb.86.1272158682877; Sat, 24 Apr 2010 18:24:42 -0700 (PDT) Received: by 10.229.233.11 with HTTP; Sat, 24 Apr 2010 18:24:42 -0700 (PDT) In-Reply-To: <20100424075031.GA98660@mx.techwires.net> References: <20100424073430.GB62910@mx.techwires.net> <20100424075031.GA98660@mx.techwires.net> Date: Sat, 24 Apr 2010 18:24:42 -0700 Message-ID: From: Garrett Cooper To: Bernhard Schmidt Content-Type: text/plain; charset=ISO-8859-1 Cc: Brandon Gooch , =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= , freebsd-stable@freebsd.org Subject: Re: iwn firmware instability with an up-to-date stable kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 01:24:51 -0000 On Sat, Apr 24, 2010 at 12:50 AM, Bernhard Schmidt wrote: > On Sat, Apr 24, 2010 at 12:45:14AM -0700, Garrett Cooper wrote: >> On Sat, Apr 24, 2010 at 12:34 AM, Bernhard Schmidt >> wrote: >> > >> > How did you do that? Reloading the module, or with ifconfig? >> >> /etc/rc.d/netif restart , which does the ifconfig operations (no >> module change occurred AFAIK, but wlan0 did of course do some >> device_printf's when it was associating itself with iwn(4)). > > Can you do ps xa | grep wpa? Just wondering if wpa_supplicant gets > started twice. Some more interesting data. Open authentication at home works out of the box via wpa_supplicant with ifconfig_wlan0="WPA DHCP" whereas it flaked out and died at work. There are two instances of wpa_supplicant started up on the laptop. Here's a snippet from pstree that shows that both processes are standalone: -+= 00001 root /sbin/init -- |--= 00121 root adjkerntz -i |--= 00559 root /sbin/devd |--= 00711 root /usr/sbin/syslogd -s |--= 00735 root /usr/sbin/rpcbind |--= 00879 root /usr/sbin/moused -p /dev/psm0 -t auto |--= 00903 messagebus /usr/local/bin/dbus-daemon --system |--= 01073 root /usr/sbin/sshd |--= 01081 root sendmail: accepting connections (sendmail) |--= 01085 smmsp sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) |--= 01093 root /usr/sbin/cron -s |-+= 01176 haldaemon /usr/local/sbin/hald | \-+- 01180 root hald-runner | |--- 01185 root hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy) | \--- 01205 root hald-addon-storage: /dev/acd0 (hald-addon-storage) |--= 01179 root /usr/local/sbin/console-kit-daemon |--= 01727 root /usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_supplicant.conf -D bsd -P /var/run/wpa_supplicant/wlan0.pid |--= 01783 root /usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_supplicant.conf -D bsd -P /var/run/wpa_supplicant/wlan0.pid |--= 01866 root dhclient: wlan0 [priv] (dhclient) |--= 01902 _dhcp dhclient: wlan0 (dhclient) Thanks, -Garrett From owner-freebsd-stable@FreeBSD.ORG Sun Apr 25 06:14:07 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB3D6106564A for ; Sun, 25 Apr 2010 06:14:07 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 9034A8FC0C for ; Sun, 25 Apr 2010 06:14:07 +0000 (UTC) Received: from baby-jane.lamaiziere.net (unknown [192.168.1.10]) by smtp.lamaiziere.net (Postfix) with ESMTP id 38CEF63319D; Sun, 25 Apr 2010 08:14:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 3C6402CEE80; Sun, 25 Apr 2010 08:14:10 +0200 (CEST) Date: Sun, 25 Apr 2010 08:14:06 +0200 From: Patrick Lamaiziere To: Peter =?ISO-8859-1?Q?Ankerst=E5l?= Message-ID: <20100425081406.5a3e3e0a@davenulle.org> In-Reply-To: <245B41F6-B2EE-4263-BB85-2F1F14E7A5EF@pean.org> References: <5FE5B136-ADE3-4E44-BF62-3ACD03178CB3@pean.org> <20100424133446.06dc78ad@davenulle.org> <245B41F6-B2EE-4263-BB85-2F1F14E7A5EF@pean.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD on MacBook Pro. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 06:14:07 -0000 Le Sat, 24 Apr 2010 14:31:18 +0200, Peter Ankerstål a écrit : > Actuall it seems to work with US ISO och US UNIX too but only with > the fixit cd. > > In the FreeBSD boot-meny I also can use the keyboard properly, but > when Im trying to log in on the booted system no keys work properly. > It almost seems like the ctrl-key is constantly pressed. (pressing > say F gives me ^F on the screen and L clears it like ctrl+L does) -- So I think it is a problem in the keyboard driver. Which Macbook pro model is it? I use a model 3,1 and it works fine. I suggest you to ask on the usb mailing list. Regards. From owner-freebsd-stable@FreeBSD.ORG Sun Apr 25 07:16:59 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CB4C106564A for ; Sun, 25 Apr 2010 07:16:59 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (unknown [IPv6:2001:16d8:cc1e:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 113988FC13 for ; Sun, 25 Apr 2010 07:16:58 +0000 (UTC) Received: from localhost (system.jails.se [87.237.210.209]) by system.jails.se (Postfix) with SMTP id C353EBC318 for ; Sun, 25 Apr 2010 09:16:51 +0200 (CEST) Received: from pi.pean.org (c-ae06e155.166-7-64736c14.cust.bredbandsbolaget.se [85.225.6.174]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id 67834BC313; Sun, 25 Apr 2010 09:16:47 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?peter_Ankerst=E5l?= In-Reply-To: <20100425081406.5a3e3e0a@davenulle.org> Date: Sun, 25 Apr 2010 09:16:51 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5FE5B136-ADE3-4E44-BF62-3ACD03178CB3@pean.org> <20100424133446.06dc78ad@davenulle.org> <245B41F6-B2EE-4263-BB85-2F1F14E7A5EF@pean.org> <20100425081406.5a3e3e0a@davenulle.org> To: Patrick Lamaiziere X-Mailer: Apple Mail (2.1078) X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Apr 25 09:16:51 2010 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 4bd3ec6316296579420013 X-DSPAM-Factors: 27, but, 0.40000, but, 0.40000, Received*cipher+AES128, 0.40000, References*davenulle.org>+<245B41F6, 0.40000, Received*id+67834BC313, 0.40000, AM, 0.40000, Mime-Version*Message, 0.40000, Date*Apr, 0.40000, the+keyboard, 0.40000, the+keyboard, 0.40000, org>+a, 0.40000, >>+It, 0.40000, On+Apr, 0.40000, almost+seems, 0.40000, a+écrit, 0.40000, List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 07:16:59 -0000 On Apr 25, 2010, at 8:14 AM, Patrick Lamaiziere wrote: > Le Sat, 24 Apr 2010 14:31:18 +0200, > Peter Ankerst=E5l a =E9crit : >=20 >> Actuall it seems to work with US ISO och US UNIX too but only with >> the fixit cd. >>=20 >> In the FreeBSD boot-meny I also can use the keyboard properly, but >> when Im trying to log in on the booted system no keys work properly. >> It almost seems like the ctrl-key is constantly pressed. (pressing >> say F gives me ^F on the screen and L clears it like ctrl+L does) -- >=20 > So I think it is a problem in the keyboard driver. > Which Macbook pro model is it? >=20 > I use a model 3,1 and it works fine. >=20 > I suggest you to ask on the usb mailing list. > Regards. >=20 Ok. I have the new MacBook Pro 7,1 that came out recently. I'll check = with the USB-list then.= From owner-freebsd-stable@FreeBSD.ORG Sun Apr 25 07:57:25 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61EB8106564A for ; Sun, 25 Apr 2010 07:57:25 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id C84AF8FC20 for ; Sun, 25 Apr 2010 07:57:24 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o3P7vKU1014310 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 25 Apr 2010 08:57:20 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4BD3F5E0.8080305@infracaninophile.co.uk> Date: Sun, 25 Apr 2010 08:57:20 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: =?UTF-8?B?cGV0ZXIgQW5rZXJzdMOlbA==?= References: <5FE5B136-ADE3-4E44-BF62-3ACD03178CB3@pean.org> <20100424133446.06dc78ad@davenulle.org> <245B41F6-B2EE-4263-BB85-2F1F14E7A5EF@pean.org> <20100425081406.5a3e3e0a@davenulle.org> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.96 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-stable@freebsd.org, Patrick Lamaiziere Subject: Re: FreeBSD on MacBook Pro. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 07:57:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/04/2010 08:16:51, peter AnkerstÃ¥l wrote: > Ok. I have the new MacBook Pro 7,1 that came out recently. I'll check with the > USB-list then. I've a MBP 5,2 which I can't get to boot the FreeBSD install media successfully. Tried the 201004 9.x snapshot most recently, which goes v...e...r...y s...l...o...w...l...y reading the kernel and then grinds to a halt after printing a message about ACPI. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvT9eAACgkQ8Mjk52CukIxUfQCfawQefe5W+CxGum597K/p4wbV qXIAoIRMksrmTRoO3++mXb1aJY8+jzdY =5eaz -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Sun Apr 25 09:06:56 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF44D106566B for ; Sun, 25 Apr 2010 09:06:56 +0000 (UTC) (envelope-from s.kachelmann@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 620DC8FC17 for ; Sun, 25 Apr 2010 09:06:56 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so80279fgb.13 for ; Sun, 25 Apr 2010 02:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=Lex2gcDJW69nnsaaxo5FfKB0ota3L8R/zzZXDo2KNeU=; b=kJOAmkOQ3ySJjLmFB9tLKdTdEb/h3k6901hPXDq9jPriQlInmCKN+xMjyqiNQqyfgK ByhP/N9enGYtBvv05AyJq7Z9fc7Gk6nhv8S4RvcZ34cKZ3RSUc3F7ET5Io9WrjhAg7gI OZQ4aGjrm+mDtJyWDR5iT838qLR+VcHlP32Gk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=h5rc5GvSTZTmmowCopodazVjgDzOBpGV4U8IQ2sx0Cod34V7BJlQBcs4eAhrsQkjZA NP5wqoOcKvUqlwNcHfodt+C6Pl9DNZ501N329l6kB+xrF6joab/3MTMbsxphZ0QnRwc1 RYz86MmKhi5lRVcHQUQ/M6lJpCp/uj7kkpv7I= MIME-Version: 1.0 Received: by 10.239.188.201 with SMTP id q9mr222480hbh.131.1272184651392; Sun, 25 Apr 2010 01:37:31 -0700 (PDT) Received: by 10.239.174.6 with HTTP; Sun, 25 Apr 2010 01:37:31 -0700 (PDT) Date: Sun, 25 Apr 2010 10:37:31 +0200 Message-ID: From: Sandra Kachelmann To: freebsd-stable@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: can't compile kernel on STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 09:06:57 -0000 I _just_ checked out the source tree for RELENG_6 and tried to build an image for my ALIX board: $ NOCCACHE=3Dyes KERNCONF=3DGENERIC TARGET_ARCH=3Di386 CPUTYPE=3Di586 make = buildkernel ... cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -std=3Dgnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll -------------------------------------------------------------- >>> stage 3.1: making dependencies -------------------------------------------------------------- cd /usr/obj/i386/usr/src/sys/GENERIC; MAKEOBJDIRPREFIX=3D/usr/obj/i386 MACHINE_ARCH=3Di386 MACHINE=3Di386 CPUTYPE=3D GROFF_BIN_PATH=3D/usr/obj/i386/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=3D/usr/obj/i386/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=3D/usr/obj/i386/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=3D/usr/obj/i386/usr/src/tmp VERSION=3D"FreeBSD 8.0-STABLE amd64 800504" INSTALL=3D"sh /usr/src/tools/install.sh" PATH=3D/usr/obj/i386/usr/src/tmp/legacy/usr/sbin:/usr/obj/i386/usr/src/tmp/= legacy/usr/bin:/usr/obj/i386/usr/src/tmp/legacy/usr/games:/usr/obj/i386/usr= /src/tmp/usr/sbin:/usr/obj/i386/usr/src/tmp/usr/bin:/usr/obj/i386/usr/src/t= mp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=3D1 make KERNEL=3Dkernel depend -DNO_MODULES_OBJ machine -> /usr/src/sys/i386/include cc -c -O -pipe -std=3Dc99 -g -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 -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector /usr/src/sys/i386/i386/genassym.c /usr/src/sys/i386/i386/genassym.c:1: error: -mpreferred-stack-boundary=3D2 is not between 4 and 12 *** Error code 1 Stop in /usr/obj/i386/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. This is on: # uname -a FreeBSD sandy.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Apr 24 02:19:49 CEST 2010 root@sandy.local:/usr/obj/usr/src/sys/GENERIC amd64 I've always built my ALIX images that way. Any idea? Sandra From owner-freebsd-stable@FreeBSD.ORG Sun Apr 25 09:11:38 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA513106564A for ; Sun, 25 Apr 2010 09:11:38 +0000 (UTC) (envelope-from s.kachelmann@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 5D1F78FC0C for ; Sun, 25 Apr 2010 09:11:37 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so82117fgb.13 for ; Sun, 25 Apr 2010 02:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=M7XaNHZgHyOxDEH8kagVRcMmuxZfd06Yu0UimjJQ6S8=; b=YzpOTZBeIk1iOPRjiB/7RmUuOzSVxbkQeyAKH8C/if6n8Pv2ltRO68+B4lHl02LrFI 6PY1W+wSkIPYcKrszeATg2TvJYqvstsh0R6519uROJnDXH+9PZJLZCLHwKPFhUJVNNaj VrPVaWiToR33P/W8/A2lAwlf7RQcT6L67GlVA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=V1K/UpnguUbTyV64ZaywCeKKdhI1YtJef3GXF5Xlv3yIjuoGc52UvBJwD9P20S218K VQbbg+HUxmq1J5mbwC3pXMFKsY9TA9U+IBfbO7KkeHrK+NPdQB0ivmSL+XCj+l0PqTAP TDQK8UXmOCXjYeP+e8ZAM/8MhgjSisTz/+7Pk= MIME-Version: 1.0 Received: by 10.239.137.11 with SMTP id j11mr226135hbj.177.1272186690455; Sun, 25 Apr 2010 02:11:30 -0700 (PDT) Received: by 10.239.174.6 with HTTP; Sun, 25 Apr 2010 02:11:30 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Apr 2010 11:11:30 +0200 Message-ID: From: Sandra Kachelmann To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: can't compile kernel on STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 09:11:38 -0000 On Sun, Apr 25, 2010 at 10:37 AM, Sandra Kachelmann wrote: > I _just_ checked out the source tree for RELENG_6 and tried to build > an image for my ALIX board: Sorry, that should read RELENG_8 Sandra From owner-freebsd-stable@FreeBSD.ORG Sun Apr 25 12:13:25 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E8D4106566B for ; Sun, 25 Apr 2010 12:13:25 +0000 (UTC) (envelope-from ukrzilla@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B08A18FC1C for ; Sun, 25 Apr 2010 12:13:24 +0000 (UTC) Received: by wye20 with SMTP id 20so3588655wye.13 for ; Sun, 25 Apr 2010 05:13:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=AwhhQhSGZitKUlOx5XV80UuqoBlp0u++OFsZSaX2tro=; b=Q13OS1jz/gzA4Fp8QpMFYJCBbbLqMxEU4mZljDhryYXnVhMWlLGFNrJtbpawb76aWr qUHp0ZnLNW+py6IeCXVrpp+hRvPz6KWcpKHPIBevtjL5otH++befs6PSlcua4y24T2QZ vGALX9l+GL7yW3yezeIu5OUqEzuX+Gg92T16c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=K8VWzWvb8xud0UGzhmz9ZbMmksc47JoCje96GuhgdMbwcPMVNr4p374LLT9vDlo2JA ZXAy2ZkJz1DQVzXTKXPNbU3UqIIYpxvgyv2MKky1Arz/Y+P4fbzRqPMJ1fiN3IoqhGpu F8mZflctI4RXEbj3/uUW9izX0V8BTDQwVw2fE= MIME-Version: 1.0 Received: by 10.216.87.12 with SMTP id x12mr3650840wee.185.1272197598527; Sun, 25 Apr 2010 05:13:18 -0700 (PDT) Received: by 10.216.24.149 with HTTP; Sun, 25 Apr 2010 05:13:18 -0700 (PDT) Date: Sun, 25 Apr 2010 15:13:18 +0300 Message-ID: From: Denis Lamanov To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mpd5.5+CoA=kernel panic every 2-33 days X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 12:13:25 -0000 I have VPN servers on mpd5.5 FreeBSD vpn3 8.0-STABLE FreeBSD 8.0-STABLE #2 r207058M: Thu Apr 22 15:40:40 EEST 2010 admin@vpn3:/usr/obj/usr/src/sys/GENERICVPN i386 and every 5-10 minutes my billing system send mpd-limit CoA message to mpd. Every 2-3 day server go into kernel panic: Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 07 fault virtual address = 0x24 fault code = supervisor read, page not present instruction pointer = 0x20:0x8a04c9e4 stack pointer = 0x28:0xee67386c frame pointer = 0x28:0xee673aa4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 871 (mpd5) trap number = 12 panic: page fault cpuid = 3 Uptime: 2d7h39m7s Physical memory: 2035 MB Dumping 390 MB: 375 359 343 Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 06 fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0x8a04c7cb stack pointer = 0x28:0xee65590c frame pointer = 0x28:0xee655924 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 890 (ng_queue2) trap number = 12 (kgdb) backtrace #0 doadump () at pcpu.h:246 #1 0x8089dd47 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0x8089e039 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:579 #3 0x80bcfe3c in trap_fatal (frame=0xee67382c, eva=36) at /usr/src/sys/i386/i386/trap.c:938 #4 0x80bd00c0 in trap_pfault (frame=0xee67382c, usermode=0, eva=36) at /usr/src/sys/i386/i386/trap.c:851 #5 0x80bd0a05 in trap (frame=0xee67382c) at /usr/src/sys/i386/i386/trap.c:533 #6 0x80bb2adb in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #7 0x8a04c9e4 in ng_path2noderef (here=0x89f85c00, address=0x9700d660 "mpd871-B-2-lim:1-0-m", destp=0xee673ac0, lasthook=0xee673abc) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:1757 #8 0x8a04cd40 in ng_address_path (here=0x89f85c00, item=0x8a639a40, address=0x9700d660 "mpd871-B-2-lim:1-0-m", retaddr=0) at /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:3522 #9 0x8a0464f2 in ngc_send (so=0x889ed80c, flags=0, m=0x89ce6d00, addr=0x94caa1e0, control=0x0, td=0x8889a6f0) at /usr/src/sys/modules/netgraph/socket/../../../netgraph/ng_socket.c:296 #10 0x808ff0d5 in sosend_generic (so=0x889ed80c, addr=0x94caa1e0, uio=0xee673be8, top=0x89ce6d00, control=0x0, flags=0, td=0x8889a6f0) at /usr/src/sys/kern/uipc_socket.c:1257 #11 0x808fb1ef in sosend (so=0x889ed80c, addr=0x94caa1e0, uio=0xee673be8, ---Type to continue, or q to quit--- top=0x0, control=0x0, flags=0, td=0x8889a6f0) at /usr/src/sys/kern/uipc_socket.c:1301 #12 0x80902ae1 in kern_sendit (td=0x8889a6f0, s=5, mp=0xee673c5c, flags=0, control=0x0, segflg=UIO_USERSPACE) at /usr/src/sys/kern/uipc_syscalls.c:788 #13 0x80902d11 in sendit (td=0x8889a6f0, s=5, mp=0xee673c5c, flags=0) at /usr/src/sys/kern/uipc_syscalls.c:724 #14 0x80902e28 in sendto (td=0x8889a6f0, uap=0xee673cf8) at /usr/src/sys/kern/uipc_syscalls.c:840 #15 0x80bd03b3 in syscall (frame=0xee673d38) at /usr/src/sys/i386/i386/trap.c:1111 #16 0x80bb2b40 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:261 #17 0x00000033 in ?? () From owner-freebsd-stable@FreeBSD.ORG Sun Apr 25 12:42:27 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF74A106564A; Sun, 25 Apr 2010 12:42:26 +0000 (UTC) (envelope-from bschmidt@mx.techwires.net) Received: from mx.techwires.net (mx.techwires.net [IPv6:2001:4d88:100f:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 88F008FC13; Sun, 25 Apr 2010 12:42:26 +0000 (UTC) Received: by mx.techwires.net (Postfix, from userid 1001) id 41C1A1DCC8; Sun, 25 Apr 2010 14:42:25 +0200 (CEST) Date: Sun, 25 Apr 2010 14:42:25 +0200 From: Bernhard Schmidt To: Garrett Cooper Message-ID: <20100425124224.GA84870@mx.techwires.net> References: <20100424073430.GB62910@mx.techwires.net> <20100424075031.GA98660@mx.techwires.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Brandon Gooch , Olivier =?iso-8859-1?Q?Cochard-Labb=E9?= , freebsd-stable@freebsd.org, Andrew Thompson Subject: Re: iwn firmware instability with an up-to-date stable kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 12:42:27 -0000 On Sat, Apr 24, 2010 at 06:24:42PM -0700, Garrett Cooper wrote: > On Sat, Apr 24, 2010 at 12:50 AM, Bernhard Schmidt > wrote: > > On Sat, Apr 24, 2010 at 12:45:14AM -0700, Garrett Cooper wrote: > >> On Sat, Apr 24, 2010 at 12:34 AM, Bernhard Schmidt > >> wrote: > >> > > >> > How did you do that? Reloading the module, or with ifconfig? > >> > >> /etc/rc.d/netif restart , which does the ifconfig operations (no > >> module change occurred AFAIK, but wlan0 did of course do some > >> device_printf's when it was associating itself with iwn(4)). > > > > Can you do ps xa | grep wpa? Just wondering if wpa_supplicant gets > > started twice. > > Some more interesting data. > > Open authentication at home works out of the box via wpa_supplicant > with ifconfig_wlan0="WPA DHCP" whereas it flaked out and died at work. > > There are two instances of wpa_supplicant started up on the laptop. > Here's a snippet from pstree that shows that both processes are > standalone: > > -+= 00001 root /sbin/init -- > |--= 00121 root adjkerntz -i > |--= 00559 root /sbin/devd > |--= 00711 root /usr/sbin/syslogd -s > |--= 00735 root /usr/sbin/rpcbind > |--= 00879 root /usr/sbin/moused -p /dev/psm0 -t auto > |--= 00903 messagebus /usr/local/bin/dbus-daemon --system > |--= 01073 root /usr/sbin/sshd > |--= 01081 root sendmail: accepting connections (sendmail) > |--= 01085 smmsp sendmail: Queue runner@00:30:00 for > /var/spool/clientmqueue (sendmail) > |--= 01093 root /usr/sbin/cron -s > |-+= 01176 haldaemon /usr/local/sbin/hald > | \-+- 01180 root hald-runner > | |--- 01185 root hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy) > | \--- 01205 root hald-addon-storage: /dev/acd0 (hald-addon-storage) > |--= 01179 root /usr/local/sbin/console-kit-daemon > |--= 01727 root /usr/sbin/wpa_supplicant -s -B -i wlan0 -c > /etc/wpa_supplicant.conf -D bsd -P /var/run/wpa_supplicant/wlan0.pid > |--= 01783 root /usr/sbin/wpa_supplicant -s -B -i wlan0 -c > /etc/wpa_supplicant.conf -D bsd -P /var/run/wpa_supplicant/wlan0.pid > |--= 01866 root dhclient: wlan0 [priv] (dhclient) > |--= 01902 _dhcp dhclient: wlan0 (dhclient) Indeed, devd is responsible for that, removing notify 0 { match "system" "IFNET"; match "type" "ATTACH"; action "/etc/pccard_ether $subsystem start"; }; from devd.conf prevents a seconds call to rc.d/netif and therefore rc.d/wpa_supplicant. This breaks the intended purpose though. Can we somehow prevent this by checking the pidfile in rc.d/wpa_supplicant? -- Bernhard From owner-freebsd-stable@FreeBSD.ORG Mon Apr 26 00:05:58 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D79E7106567B for ; Mon, 26 Apr 2010 00:05:58 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 91BC18FC15 for ; Mon, 26 Apr 2010 00:05:58 +0000 (UTC) Received: by qyk11 with SMTP id 11so14137916qyk.13 for ; Sun, 25 Apr 2010 17:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ultLOZeCvDHqmBooOja7G1Wv5jtv9EeKjU7TxDjhMwA=; b=j8f0Mg/BYMGif1f1RLAbhD1Xu7SsaUWk8UGWPvyqYxn3/jdsCM5NJV+fIk/SR2icrA msJ2k1E86Ktz8o0MvnbEexXydhIRjYOtaQ2Yii1IQbPNgoTvGPtEr+mjPe9UT69r2MZi MNZ/a/46ooKt2zUuBWPsvCoV6UUofcR++Wchw= 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; b=X+mnnzK1//MhDN662pgiYfxRjwvHpP9ZEdycfsOv6F4DfJWE9wX+9ciWjHEHgmbvO0 X9kVCSvT1xRpDlWV/0gPINU8ynOG8SezeSvdXD86UgiiJepKPwzl/OAWo2kjyTctCB0A 3G3lfbzrJ5A1URL7H4KxJ217tVBsjmNC1sWVQ= MIME-Version: 1.0 Received: by 10.229.228.83 with SMTP id jd19mr3849279qcb.72.1272240346445; Sun, 25 Apr 2010 17:05:46 -0700 (PDT) Received: by 10.229.233.11 with HTTP; Sun, 25 Apr 2010 17:05:46 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Apr 2010 17:05:46 -0700 Message-ID: From: Garrett Cooper To: Sandra Kachelmann Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org Subject: Re: can't compile kernel on STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 00:05:58 -0000 On Sun, Apr 25, 2010 at 2:11 AM, Sandra Kachelmann wrote: > On Sun, Apr 25, 2010 at 10:37 AM, Sandra Kachelmann > wrote: >> I _just_ checked out the source tree for RELENG_6 and tried to build >> an image for my ALIX board: > > Sorry, that should read RELENG_8 Did you manually set -mpreferred-stack-boundary ? Thanks, -Garrett From owner-freebsd-stable@FreeBSD.ORG Mon Apr 26 01:27:02 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C257B1065672 for ; Mon, 26 Apr 2010 01:27:02 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 4E5E48FC08 for ; Mon, 26 Apr 2010 01:27:01 +0000 (UTC) Received: by bwz8 with SMTP id 8so10705473bwz.3 for ; Sun, 25 Apr 2010 18:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=I/vyf7fjbFjnl0YJ3/SKBYbNwFF7vNZUrBGMcRGeNYE=; b=dSAAZmdo4qL0gv446RPvxvTl7p5eKEFtqeaQ4UDNsY+BWb/Okem+O/RyXz9kkel4fk HQC/K7Bei45R1Sm4S1/iRCCmXZOMsJCTSrkl2ihUSbNVSveyEWzuxqNBswpKBfoGGvwm 8STXJQQpJyukJKBSxMIha733TwITWh6nbJ7tE= 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; b=xRUSHllK3slV4BLZ1T8IFuyeE4ftFI+8sHQLsmh2qm74lGdQ0zweOH4rWvdqYfYxHT 7Xf7k+FPRPzi9+BhiwbjdOpQMiWh5PIoItp+3i8i2NCBC181bjNMNMuDZkvnzD7cJGdY zMuR041eOtpFYb77d/Z2Q244XAXuzX0fryB6k= MIME-Version: 1.0 Received: by 10.204.42.6 with SMTP id q6mr2077005bke.156.1272245210411; Sun, 25 Apr 2010 18:26:50 -0700 (PDT) Received: by 10.204.73.6 with HTTP; Sun, 25 Apr 2010 18:26:50 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Apr 2010 03:26:50 +0200 Message-ID: From: Oliver Pinter To: freebsd-ports@freebsd.org Content-Type: multipart/mixed; boundary=000325556c92d57558048519ab6a Cc: stable@freebsd.org Subject: Fwd: kdebase3 - CVE-2010-0436 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 01:27:02 -0000 --000325556c92d57558048519ab6a Content-Type: text/plain; charset=ISO-8859-1 this errata is fixed in kde4 and not yet in kde3 @ports... ---------- Forwarded message ---------- From: Oliver Pinter Date: Sun, 25 Apr 2010 00:31:03 +0200 Subject: kdebase3 - CVE-2010-0436 To: kde@freebsd.org hi all! some RH patches for cve-2010-0436: final: https://bugzilla.redhat.com/attachment.cgi?id=400244&action=diff (I think this for kde4, it depend on cmake) v1/1: https://bugzilla.redhat.com/attachment.cgi?id=401213&action=diff v1/2: https://bugzilla.redhat.com/attachment.cgi?id=401214&action=diff and attached patch for kdm-kde3 from Red Hat kdebase3 source --000325556c92d57558048519ab6a Content-Type: text/x-diff; charset=US-ASCII; name="kdebase-3.5.4-kdm-CVE-2010-0436.patch" Content-Disposition: attachment; filename="kdebase-3.5.4-kdm-CVE-2010-0436.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 ZGlmZiAtdXAga2RlYmFzZS0zLjUuNC9rZG0vYmFja2VuZC9jdHJsLmMudGhhbiBrZGViYXNlLTMu NS40L2tkbS9iYWNrZW5kL2N0cmwuYwotLS0ga2RlYmFzZS0zLjUuNC9rZG0vYmFja2VuZC9jdHJs LmMudGhhbgkyMDEwLTAzLTE5IDEyOjQyOjUyLjAwMDAwMDAwMCArMDEwMAorKysga2RlYmFzZS0z LjUuNC9rZG0vYmFja2VuZC9jdHJsLmMJMjAxMC0wMy0xOSAxMjo1MDozMC4wMDAwMDAwMDAgKzAx MDAKQEAgLTE0MCwyMiArMTQwLDI0IEBAIG9wZW5DdHJsKCBzdHJ1Y3QgZGlzcGxheSAqZCApCiAJ CQkJaWYgKHN0cmxlbiggY3ItPnBhdGggKSA+PSBzaXplb2Yoc2Euc3VuX3BhdGgpKQogCQkJCQlM b2dFcnJvciggInBhdGggJVwicyB0b28gbG9uZzsgbm8gY29udHJvbCBzb2NrZXRzIHdpbGwgYmUg YXZhaWxhYmxlXG4iLAogCQkJCQkgICAgICAgICAgY3ItPnBhdGggKTsKLQkJCQllbHNlIGlmICht a2Rpciggc29ja2RpciwgMDc1NSApICYmIGVycm5vICE9IEVFWElTVCkKKwkJCQllbHNlIGlmICht a2Rpciggc29ja2RpciwgMDcwMCApICYmIGVycm5vICE9IEVFWElTVCkKIAkJCQkJTG9nRXJyb3Io ICJta2RpciAlXCJzIGZhaWxlZDsgbm8gY29udHJvbCBzb2NrZXRzIHdpbGwgYmUgYXZhaWxhYmxl XG4iLAogCQkJCQkgICAgICAgICAgc29ja2RpciApOworCQkJCWVsc2UgaWYgKHVubGluayggY3It PnBhdGggKSAmJiBlcnJubyAhPSBFTk9FTlQpCisJCQkJCUxvZ0Vycm9yKCAidW5saW5rICVcInMg ZmFpbGVkOiAlbTsgY29udHJvbCBzb2NrZXQgd2lsbCBub3QgYmUgYXZhaWxhYmxlXG4iLAorCQkJ CQkgICAgICAgICAgY3ItPnBhdGggKTsKIAkJCQllbHNlIHsKLQkJCQkJaWYgKCFkKQotCQkJCQkJ Y2hvd24oIHNvY2tkaXIsIC0xLCBmaWZvR3JvdXAgKTsKLQkJCQkJY2htb2QoIHNvY2tkaXIsIDA3 NTAgKTsKIAkJCQkJaWYgKChjci0+ZmQgPSBzb2NrZXQoIFBGX1VOSVgsIFNPQ0tfU1RSRUFNLCAw ICkpIDwgMCkKIAkJCQkJCUxvZ0Vycm9yKCAiQ2Fubm90IGNyZWF0ZSBjb250cm9sIHNvY2tldFxu IiApOwogCQkJCQllbHNlIHsKLQkJCQkJCXVubGluayggY3ItPnBhdGggKTsKIAkJCQkJCXNhLnN1 bl9mYW1pbHkgPSBBRl9VTklYOwogCQkJCQkJc3RyY3B5KCBzYS5zdW5fcGF0aCwgY3ItPnBhdGgg KTsKIAkJCQkJCWlmICghYmluZCggY3ItPmZkLCAoc3RydWN0IHNvY2thZGRyICopJnNhLCBzaXpl b2Yoc2EpICkpIHsKIAkJCQkJCQlpZiAoIWxpc3RlbiggY3ItPmZkLCA1ICkpIHsKLQkJCQkJCQkJ Y2htb2QoIGNyLT5wYXRoLCAwNjY2ICk7CisJCQkJCQkJCWNobW9kKCBjci0+cGF0aCwgMDY2MCAp OworCQkJCQkJCQlpZiAoIWQpCisJCQkJCQkJCSAgIGNob3duKCBjci0+cGF0aCwgLTEsIGZpZm9H cm91cCApOworCQkJCQkJCQljaG1vZCggc29ja2RpciwgMDc1NSApOwogCQkJCQkJCQlSZWdpc3Rl ckNsb3NlT25Gb3JrKCBjci0+ZmQgKTsKIAkJCQkJCQkJUmVnaXN0ZXJJbnB1dCggY3ItPmZkICk7 CiAJCQkJCQkJCWZyZWUoIHNvY2tkaXIgKTsKQEAgLTIxOCwxMiArMjIwLDggQEAgY2hvd25DdHJs KCBDdHJsUmVjICpjciwgaW50IHVpZCApCiB7CiAJaWYgKGNyLT5mcGF0aCkKIAkJY2hvd24oIGNy LT5mcGF0aCwgdWlkLCAtMSApOwotCWlmIChjci0+cGF0aCkgewotCQljaGFyICpwdHIgPSBzdHJy Y2hyKCBjci0+cGF0aCwgJy8nICk7Ci0JCSpwdHIgPSAwOworCWlmIChjci0+cGF0aCkKIAkJY2hv d24oIGNyLT5wYXRoLCB1aWQsIC0xICk7Ci0JCSpwdHIgPSAnLyc7Ci0JfQogfQogCiB2b2lkCg== --000325556c92d57558048519ab6a-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 26 02:41:57 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D887C1065676 for ; Mon, 26 Apr 2010 02:41:57 +0000 (UTC) (envelope-from tabthorpe@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 5B1648FC0C for ; Mon, 26 Apr 2010 02:41:57 +0000 (UTC) Received: by qyk11 with SMTP id 11so14309645qyk.13 for ; Sun, 25 Apr 2010 19:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=042o3raHH2+DgG2iMg/inTlApRBnEhfw5erazzZpmaU=; b=jJYMV3e7v0Xbw48VcpN9QWGteaMq6H80nIDlYnKRY13PdU+hcf80sFHJikyBrXHJmI xbg7gSXsUqYdSI6LYIrap8oLe4tV4p2Yu22n6YB7Z8nni3hW+em1c8VNJoAwVlB2j2xW MXTp9p1gK7ywCE6LWeviaoA9pfSyk8/Ulj68U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=nTi5uVOoNpL4w9V5JEwdXVbsYjXMND+gP4Iov4Ty457Oz5e6Ss4lFQrwqh08eHD5q7 LAzoYG0Ue+72avdBJQiXdHKbEVpw9MAK79RhuJGwJONDXVgwSZs38o1NKwYM0hdKyAFf 0gLfqJXnWoR4NeqKZDm6xoLdrW7FW3iBnKEno= MIME-Version: 1.0 Received: by 10.229.232.198 with SMTP id jv6mr4066805qcb.11.1272248001886; Sun, 25 Apr 2010 19:13:21 -0700 (PDT) Sender: tabthorpe@gmail.com Received: by 10.229.99.69 with HTTP; Sun, 25 Apr 2010 19:13:21 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Apr 2010 22:13:21 -0400 X-Google-Sender-Auth: d2dcbc50c20b3477 Message-ID: From: Thomas Abthorpe To: Oliver Pinter Content-Type: text/plain; charset=ISO-8859-1 Cc: stable@freebsd.org, freebsd-ports@freebsd.org Subject: Re: kdebase3 - CVE-2010-0436 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tabthorpe@FreeBSD.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 02:41:57 -0000 Thanks for the patches, we will look at it as soon as our time permits Thomas On 25/04/2010, Oliver Pinter wrote: > this errata is fixed in kde4 and not yet in kde3 @ports... > > ---------- Forwarded message ---------- > From: Oliver Pinter > Date: Sun, 25 Apr 2010 00:31:03 +0200 > Subject: kdebase3 - CVE-2010-0436 > To: kde@freebsd.org > > hi all! > > some RH patches for cve-2010-0436: > > final: https://bugzilla.redhat.com/attachment.cgi?id=400244&action=diff > (I think this for kde4, it depend on cmake) > v1/1: https://bugzilla.redhat.com/attachment.cgi?id=401213&action=diff > v1/2: https://bugzilla.redhat.com/attachment.cgi?id=401214&action=diff > > and attached patch for kdm-kde3 from Red Hat kdebase3 source > -- Thomas Abthorpe, FreeBSD Ports Committer tabthorpe@FreeBSD.org, http://people.freebsd.org/~tabthorpe From owner-freebsd-stable@FreeBSD.ORG Mon Apr 26 05:08:30 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5066F1065672 for ; Mon, 26 Apr 2010 05:08:30 +0000 (UTC) (envelope-from yudhiy@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2980E8FC1A for ; Mon, 26 Apr 2010 05:08:29 +0000 (UTC) Received: by pva18 with SMTP id 18so1652482pva.13 for ; Sun, 25 Apr 2010 22:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=vWjr6VKENhyM8OpqWbnMvuJAH1lbNMuU0r9Y3OMCJb0=; b=Wg03EL/HtR3KeTu2tjATHIV0o7uU8hKCU31XMlgowddBXYA+6gLLdt9rsbcBsaPQ8P 1pal0Dhfto2/TIKlAivgz/3QyI5zUoaKpkGS6PdqGS68f3XpURDe2RJG4LOywyv76E0B n2IzNWmViUmwLvcFfyHGb+HXr4R48+7cz4zXs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ULNnGK0P+44+inZ9BVZkxbNbaITN8PwQHqzZKDECtkQqnBiUpObFxB4mQXNqrMs0So m0ELLgHGQeE59ui67w2gmZQgVji7nUA4/bxEyL1VmzvK00YceGegiLScYjrllHs7AuT/ 1mzay1eVG1ldE+PEUA4i3uUd5YGIr4UdoxCTI= MIME-Version: 1.0 Received: by 10.140.82.25 with SMTP id f25mr2852920rvb.248.1272256664995; Sun, 25 Apr 2010 21:37:44 -0700 (PDT) Received: by 10.140.203.2 with HTTP; Sun, 25 Apr 2010 21:37:44 -0700 (PDT) Date: Mon, 26 Apr 2010 11:37:44 +0700 Message-ID: From: Yudhi Yuniadhi To: edie@bukopin.co.id, edis@bukopin.co.id, edys@bukopin.co.id, empatmata@trans7.co.id, freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Melissa Southwell X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 05:08:30 -0000 http://mescla.free.fr/home.php From owner-freebsd-stable@FreeBSD.ORG Mon Apr 26 05:34:14 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A090F106564A for ; Mon, 26 Apr 2010 05:34:14 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 32ECD8FC1D for ; Mon, 26 Apr 2010 05:34:13 +0000 (UTC) Received: (qmail 14259 invoked by uid 399); 26 Apr 2010 05:34:13 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 26 Apr 2010 05:34:13 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BD525D4.6070208@FreeBSD.org> Date: Sun, 25 Apr 2010 22:34:12 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Melissa Southwell X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 05:34:14 -0000 FYI, there is a newish form of spam that consists of simply sending URLs to lists, and/or sending strange, vaguely coherent posts with URLs to lists. The sender is trying to get as many people as possible to click the URL to drive up ad revenue, etc. Please resist the urges to click, and to respond. hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-stable@FreeBSD.ORG Mon Apr 26 08:12:36 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19A321065672 for ; Mon, 26 Apr 2010 08:12:36 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from smtp114.plus.mail.re1.yahoo.com (smtp114.plus.mail.re1.yahoo.com [69.147.102.77]) by mx1.freebsd.org (Postfix) with SMTP id B24538FC15 for ; Mon, 26 Apr 2010 08:12:35 +0000 (UTC) Received: (qmail 7165 invoked from network); 26 Apr 2010 08:12:35 -0000 Received: from [10.141.21.121] (se@80.187.149.48 with plain) by smtp114.plus.mail.re1.yahoo.com with SMTP; 26 Apr 2010 01:12:31 -0700 PDT X-Yahoo-SMTP: iDf2N9.swBDAhYEh7VHfpgq0lnq. X-YMail-OSG: 4Z4wvW4VM1lFZcjXn.XL7cmr76RUFvNUuBbNFIu1iQ_Gd00 St19zCC46XnkOerZcd87PRuh0IiRy2SJg5G._DiiCNvvJMHpGIAkGS4v9x2T Gcl2Q1urv366CBmpMT3Mn4ZKRd_Z4aiQuTM68tBbFImdIhpttqpc2JLFJVpB 6tULHjIGwyv1rZdylgZjL.xkW0mRsiXaW3EQ4x6RMkFBbBA0HzMFLFfWLBIP Z7JgnKzNBVCpVCfgkmM8euySiMNzmf.NCXzwaEMFN31.hqFp_ewT6Z3cdpQ_ ac6hvaj0G96yDVNDZAWsGIIjXwhk9n1KP9lPNpah7VFaWTzCEUXiMDQK_Brv bRy_ct7hRwAGwNyqfm5uN.39a95HrV6o- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4BD54AC7.7090301@FreeBSD.org> Date: Mon, 26 Apr 2010 10:11:51 +0200 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 ThunderBrowse/3.2.2.1 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Marin Atanasov References: <4B28F841.1070900@skylinetele.com> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: "Li, Qing" , freebsd-stable@freebsd.org, "Prokofiev S.P." , freebsd-net@freebsd.org, Qing Li , freebsd-current@freebsd.org Subject: Re: net/mpd5, ppp, proxy-arp issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 08:12:36 -0000 Am 22.04.2010 20:43, schrieb Marin Atanasov: > Hello, > > Thanks a lot for the patch, Qing! > > It works fine. However I've noticed one thing, after I start mpd5 and > connect to my home network: > > kernel: WARNING: attempt to domain_add(netgraph) after domainfinalize() > > Not very sure if this is something to worry about or not? There was a problem with the initialization order of network "domains", which caused kernel crashes with ISDN+INET6 some two years ago. The reason was, that there was an implicit assumption, that all domains were initialized when the network interfaces are initialized, with NULL dereferences if domains are added (and relevant to a device) after the device has been initialized. I debugged this problem and prepared a patch for discussion, which later was committed by Max Laier (if memory serves me right). The message was added in order to identify further situations, where network domains are added after network interfaces have been initialized. This message ought to be informational right now, since the interface init is repeated whenever a network domain is added as part of above mentioned patch. Init order should be fixed, if this message is printed for compiled in drivers, but in case of a kernel module (like netgraph) that adds a domain, it is unadvoidable that the init order is reversed. Perhaps the message should be made conditional on the start-up of the kernel not having finished, or it should be completely removed, since time has shown, that the init order is correct in general. I'll remove that message (or make it conditional on "bootverbose") unless there is opposition to this change ... Regards, STefan From owner-freebsd-stable@FreeBSD.ORG Mon Apr 26 08:20:11 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F407106566B for ; Mon, 26 Apr 2010 08:20:11 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by mx1.freebsd.org (Postfix) with ESMTP id E54538FC14 for ; Mon, 26 Apr 2010 08:20:10 +0000 (UTC) Received: from omta19.westchester.pa.mail.comcast.net ([76.96.62.98]) by QMTA11.westchester.pa.mail.comcast.net with comcast id A8Kg1e00127AodY5B8LBJN; Mon, 26 Apr 2010 08:20:11 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta19.westchester.pa.mail.comcast.net with comcast id A8LA1e0063S48mS3f8LAxB; Mon, 26 Apr 2010 08:20:11 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id EB64B9B425; Mon, 26 Apr 2010 01:20:08 -0700 (PDT) Date: Mon, 26 Apr 2010 01:20:08 -0700 From: Jeremy Chadwick To: freebsd-stable@freebsd.org Message-ID: <20100426082008.GA42937@icarus.home.lan> References: <20100418213727.GA98129@icarus.home.lan> <20100418232420.GA4620@duncan.reilly.home> <4BCC9B5D.5020603@FreeBSD.org> <20100419185446.GA36397@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100419185446.GA36397@icarus.home.lan> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: rc(8) script -- waiting for the network to become usable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 08:20:11 -0000 On Mon, Apr 19, 2010 at 11:54:46AM -0700, Jeremy Chadwick wrote: > On Mon, Apr 19, 2010 at 11:05:17AM -0700, Doug Barton wrote: > > On 4/18/2010 4:24 PM, Andrew Reilly wrote: > > > By way of discussion, I'd just like to re-iterate what I > > > said the first time around: it must be understood that this > > > sort of thing is a (necessary) hacky-workaround that should > > > ultimately be unnecessary. > > > > While I find the discussion about launchd-type facilities interesting, > > we have a real problem at the moment and now we have a real solution for it. > > > > Jeremy, since no one has criticized your idea on a technical basis why > > don't you run it by the -net and -rc lists to be sure that it's > > technically sound, then I would be inclined to move forward with it. > > Doug and Garrett -- thanks. I'll send a shorter mail to said lists > referencing the discussion here on -stable and let folks weigh in. > > Much appreciated! I've sent said mail to -rc and -net. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Mon Apr 26 09:53:31 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3849106566B for ; Mon, 26 Apr 2010 09:53:31 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from smtp.pautina-nau.net (smtp.pautina-nau.net [194.0.89.243]) by mx1.freebsd.org (Postfix) with ESMTP id A1BFA8FC0A for ; Mon, 26 Apr 2010 09:53:31 +0000 (UTC) Received: from [92.249.64.71] by smtp.pautina-nau.net with esmtp (Exim 4.69) (envelope-from ) id 1O6KV9-0003TP-Hr; Mon, 26 Apr 2010 12:21:15 +0300 Message-ID: <4BD48937.40805@icyb.net.ua> Date: Sun, 25 Apr 2010 21:25:59 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100321) MIME-Version: 1.0 To: Sandra Kachelmann References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Remote-Sender-IP: 92.249.64.71 X-Remote-Sender-User: unknown Cc: freebsd-stable@FreeBSD.org Subject: Re: can't compile kernel on STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 09:53:32 -0000 on 25/04/2010 11:37 Sandra Kachelmann said the following: > I _just_ checked out the source tree for RELENG_6 and tried to build > an image for my ALIX board: > > > $ NOCCACHE=yes KERNCONF=GENERIC TARGET_ARCH=i386 CPUTYPE=i586 make buildkernel > > ... > /usr/src/sys/i386/i386/genassym.c:1: error: > -mpreferred-stack-boundary=2 is not between 4 and 12 > *** Error code 1 You are cross-compiling a kernel for a different architecture but you haven't built a toolchain for that architecture. See kernel-toolchain in build(7). -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Mon Apr 26 16:30:33 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0423106566C; Mon, 26 Apr 2010 16:30:33 +0000 (UTC) (envelope-from julianelischer@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id DBBBB8FC18; Mon, 26 Apr 2010 16:30:32 +0000 (UTC) Received: by fxm15 with SMTP id 15so129106fxm.13 for ; Mon, 26 Apr 2010 09:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=yZnnSNr3LsoqlgjgNG2Mw1WfGJ1j6aB7j/XbS7MhCOU=; b=hnzjtoLDNF67QKKMPxNfImNQYoaIqH+GZaO5MtFxxvR1JpNn9mJo82x4/m5XdPWtWG ea2llOrTFc23OCbcABi7RN54HVX92uSLe3Z5H3zgW/lG+R6ksL6ozjEZ+kj9DJ/mFHwk V6Ctrqpc6nxX1+omhdaTJCVZsGaJUZPjfJhOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=kRn972FUuk9ZwXdyCsqxHvEE9Cr1yuwM3p1T2XNUIdlzgAHVbQovB9scNr4VfISG9v /b5B69bO5FNJ0hbrHNSm+szgo/fGkvlv7HelobC8rj2xpKINKLeljji28CgtyMq7Miil POr2x/bjOA33noMX96KzwoLYrXo6QaR+/cvu4= Received: by 10.87.69.8 with SMTP id w8mr7730196fgk.58.1272297763037; Mon, 26 Apr 2010 09:02:43 -0700 (PDT) Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by mx.google.com with ESMTPS id 4sm6915980fge.13.2010.04.26.09.02.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Apr 2010 09:02:40 -0700 (PDT) Sender: Julian Elischer Message-ID: <4BD5B91B.2050606@elischer.org> Date: Mon, 26 Apr 2010 09:02:35 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Stefan Esser References: <4B28F841.1070900@skylinetele.com> <4BD54AC7.7090301@FreeBSD.org> In-Reply-To: <4BD54AC7.7090301@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: "Li, Qing" , freebsd-stable@freebsd.org, "Prokofiev S.P." , freebsd-net@freebsd.org, Qing Li , freebsd-current@freebsd.org, Marin Atanasov Subject: Re: net/mpd5, ppp, proxy-arp issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 16:30:33 -0000 On 4/26/10 1:11 AM, Stefan Esser wrote: > Am 22.04.2010 20:43, schrieb Marin Atanasov: >> Hello, >> >> Thanks a lot for the patch, Qing! >> >> It works fine. However I've noticed one thing, after I start mpd5 and >> connect to my home network: >> >> kernel: WARNING: attempt to domain_add(netgraph) after domainfinalize() >> >> Not very sure if this is something to worry about or not? > > There was a problem with the initialization order of network "domains", > which caused kernel crashes with ISDN+INET6 some two years ago. The > reason was, that there was an implicit assumption, that all domains > were initialized when the network interfaces are initialized, with > NULL dereferences if domains are added (and relevant to a device) > after the device has been initialized. > > I debugged this problem and prepared a patch for discussion, which > later was committed by Max Laier (if memory serves me right). The > message was added in order to identify further situations, where > network domains are added after network interfaces have been > initialized. This message ought to be informational right now, since > the interface init is repeated whenever a network domain is added > as part of above mentioned patch. Init order should be fixed, if > this message is printed for compiled in drivers, but in case of a > kernel module (like netgraph) that adds a domain, it is unadvoidable > that the init order is reversed. > > Perhaps the message should be made conditional on the start-up of > the kernel not having finished, or it should be completely removed, > since time has shown, that the init order is correct in general. > > I'll remove that message (or make it conditional on "bootverbose") > unless there is opposition to this change ... please do.. it's an unavoidable thing that domains added after boot are done after boot completes :-) > Regards, STefan > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 02:07:35 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88969106566C for ; Tue, 27 Apr 2010 02:07:35 +0000 (UTC) (envelope-from Phil@amdg.etowns.org) Received: from nskntqsrv03p.mx.bigpond.com (nskntqsrv03p.mx.bigpond.com [61.9.168.237]) by mx1.freebsd.org (Postfix) with ESMTP id 1BBF98FC0C for ; Tue, 27 Apr 2010 02:07:34 +0000 (UTC) Received: from nskntotgx02p.mx.bigpond.com ([58.172.114.57]) by nskntmtas05p.mx.bigpond.com with ESMTP id <20100426234949.UXBF27359.nskntmtas05p.mx.bigpond.com@nskntotgx02p.mx.bigpond.com> for ; Mon, 26 Apr 2010 23:49:49 +0000 Received: from mail.heuristicsystems.com.au ([58.172.114.57]) by nskntotgx02p.mx.bigpond.com with ESMTP id <20100426234949.VAEJ2010.nskntotgx02p.mx.bigpond.com@mail.heuristicsystems.com.au> for ; Mon, 26 Apr 2010 23:49:49 +0000 Received: from black ([10.0.5.15]) (authenticated bits=0) by mail.heuristicsystems.com.au (8.14.3/8.13.6) with ESMTP id o3QNmfn9007861 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Tue, 27 Apr 2010 09:48:46 +1000 (EST) (envelope-from Phil@amdg.etowns.org) From: "Phil" To: References: <20100418213727.GA98129@icarus.home.lan> Date: Tue, 27 Apr 2010 09:48:41 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20100418213727.GA98129@icarus.home.lan> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcrfP3kIOcDuv/t2Tgq5gKA4sDaiUAGVooUA X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150205.4BD6269D.00B2,ss=1,fgs=0 X-SIH-MSG-ID: rh87E9T5TAD0zmQv0WC2O1J3yArnq3Mt8ZoaRdJjqwQZTULdvMbOPpX9Y9IBg57k0i5ONRCBN2skarzmXY7RiA== Subject: RE: rc(8) script -- waiting for the network to become usable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 02:07:35 -0000 Jeremy, A good proposal to improve start-up robustness. If I may suggest, waitnetwork_ip should include a short list of alternate IP's in the event of a local network outage, or DOS, etc. Something like: waitnetwork_ip="IP1 IP2 IP3" Having multiple target IP's will improve the likelihood of timely booting when silly/nasty things happen on the wider network. Good idea to have incorporated into the base system. Andrew, I agree that the problems should be corrected at the source; and my preference is to fail properly (b) so that other mitigation may occur. Done in parallel, would eventually provide a belts and braces start-up: wait for the network, and fail properly for network dependent processes. (I can't speak to desktops that resume from a suspend when the network has changed state.) Regards, Phil From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 03:02:49 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65EEE1065670 for ; Tue, 27 Apr 2010 03:02:49 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id 1160D8FC16 for ; Tue, 27 Apr 2010 03:02:46 +0000 (UTC) Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72]) by qmta08.westchester.pa.mail.comcast.net with comcast id AQKi1e0071ZXKqc58T2m16; Tue, 27 Apr 2010 03:02:46 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta21.westchester.pa.mail.comcast.net with comcast id AT2l1e00M3S48mS3hT2mKH; Tue, 27 Apr 2010 03:02:46 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 6F6F49B425; Mon, 26 Apr 2010 20:02:44 -0700 (PDT) Date: Mon, 26 Apr 2010 20:02:44 -0700 From: Jeremy Chadwick To: Phil Message-ID: <20100427030244.GA70237@icarus.home.lan> References: <20100418213727.GA98129@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: rc(8) script -- waiting for the network to become usable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 03:02:49 -0000 On Tue, Apr 27, 2010 at 09:48:41AM +1000, Phil wrote: > Jeremy, > A good proposal to improve start-up robustness. If I may suggest, > waitnetwork_ip should include a short list of alternate IP's in > the event of a local network outage, or DOS, etc. Something like: > waitnetwork_ip="IP1 IP2 IP3" > > Having multiple target IP's will improve the likelihood of timely > booting when silly/nasty things happen on the wider network. > > Good idea to have incorporated into the base system. Phil, I brought this point up in my post on -rc and -net, actually. I've since extended the script to support multiple IPs in $waitnetwork_ip (wasn't that hard). The logic is that if any of the IPs pass the ping test, then the network connection is considered usable. Attached is the modified script. I'll be updating the version on my server (HTTP) momentarily. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | #!/bin/sh # # $FreeBSD: $ # # PROVIDE: waitnetwork # REQUIRE: NETWORKING # BEFORE: mountcritremote # KEYWORD: nojail # XXX - Once/if committed to base, it's better to have mountcritremote # XXX - REQUIRE waitnetwork, rather than use the above BEFORE line. . /etc/rc.subr name="waitnetwork" rc_var=`set_rcvar` start_cmd="waitnetwork_start" stop_cmd=":" # XXX - Once/if committed to base, the following defaults should # XXX - be placed into src/etc/defaults/rc.conf instead of here # XXX - Also be sure to keep waitnetwork_ip="" commented out! waitnetwork_enable="NO" # Wait for network availability before # continuing with NETWORKING rc scripts #waitnetwork_ip="" # IP address to ping waitnetwork_count="5" # ping count (see ping(8) -c flag) waitnetwork_timeout="60" # ping timeout (see ping(8) -t flag) waitnetwork_start() { local ip rc success success=0 if [ -z "${waitnetwork_ip}" ]; then warn "You must define one or more IP addresses in waitnetwork_ip" return fi for ip in ${waitnetwork_ip}; do echo "Waiting for ${ip} to respond to ICMP..." if [ -z "${waitnetwork_timeout}" ]; then /sbin/ping -c ${waitnetwork_count} ${ip} >/dev/null 2>&1 rc=$? else info "Using timeout of ${waitnetwork_timeout} seconds" /sbin/ping -t ${waitnetwork_timeout} -c ${waitnetwork_count} ${ip} >/dev/null 2>&1 rc=$? fi if [ $rc -eq 0 ]; then echo "Host reachable; network considered available." return else echo "No response from host." fi done echo "Exhausted IP list. Continuing with startup, but be aware you may" echo "not have a fully functional networking layer at this point." } load_rc_config $name run_rc_command "$1" From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 09:12:32 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5CED106564A for ; Tue, 27 Apr 2010 09:12:32 +0000 (UTC) (envelope-from chuzzwassa@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id AEAE18FC1C for ; Tue, 27 Apr 2010 09:12:32 +0000 (UTC) Received: by pvc21 with SMTP id 21so898075pvc.13 for ; Tue, 27 Apr 2010 02:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=EyYvZ6iECQdqBwHACLYXyvYMDdZDv7QlgdyAYPeusZo=; b=BajOZzd/oVM92Mx9p5xJUu+juv85E/mcQ65+I+txPWvkL/OnF2UqdJCuKrZKDX9Vwi RvHmxHcmjPTPOG0Qg0/J3E6SOaIB1VaS+qvP56ATul3l2bRHrKht5Ux3UcwxutW8Rbqz csrLQZwzWQh6WkvGKhJ1YMWj6jgwdB1ll1Qnc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VwSYWBKyaIhLi3ml759XyO4RY0WKzHWASld/QjxE0+ChTJQPQWwEEAUjVLpbOa9LT5 gi1FxvEw4QslZJKUorB9HA/fBeNIQOWsSUU2JFZLbhPzZwcnxgdtN3wTEbKsHj0hUea0 +lkns7uMCHa+prTvYF+KTPNx94RoH3veQghPE= MIME-Version: 1.0 Received: by 10.143.24.39 with SMTP id b39mr2506771wfj.184.1272357831558; Tue, 27 Apr 2010 01:43:51 -0700 (PDT) Received: by 10.143.167.7 with HTTP; Tue, 27 Apr 2010 01:43:51 -0700 (PDT) Date: Tue, 27 Apr 2010 18:43:51 +1000 Message-ID: From: Andy Farkas To: freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org, mav@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 09:12:32 -0000 Hi, firstly: RELENG_8 csup'd with date=2010.02.14.00.00 works perfectly for days. RELENG_8 csup'd with date=2010.02.15.00.00 dead-locks the disk I/O subsystem. Network still operational but anything needing disk hangs. Power-cycle required. kernel config is GENERIC with KDB, DDB and BREAK_TO_DEBUGGER options added. hardware: ahc0: port 0x4000-0x40ff mem 0xefa00000-0xefa00fff irq 16 at device 0.0 on pci10 ahc0: [ITHREAD] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs da0: Fixed Direct Access SCSI-3 device da1: Fixed Direct Access SCSI-3 device The dead-lock can happen at any time, but I can provoke it by running a bonnie++ disk test. It happens doing rm -rf /usr/obj/usr and it has happened doing a make installworld. It can survive a make buildworld (the system runs normally until it decides to dead-lock). The box (HP ProLiant ML 110) has 2 scsi disks and 4 sata disks. The 2010.02.15 kernel will run perfectly for days on the SATA disks. *Only* when the scsi disks are accessed will the system dead-lock. Note that the SATA disks do not work either if the system has dead-locked. I can provide more details and a vmcore.0 if anyone is interested. -andyf From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 11:16:10 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C304106566C; Tue, 27 Apr 2010 11:16:10 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 333358FC1A; Tue, 27 Apr 2010 11:16:10 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1O6ilc-000OYO-R0; Tue, 27 Apr 2010 12:15:52 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O6ilc-0000GP-Q3; Tue, 27 Apr 2010 12:15:52 +0100 Date: Tue, 27 Apr 2010 12:15:52 +0100 Message-Id: To: chuzzwassa@gmail.com, freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org, mav@freebsd.org In-Reply-To: From: Pete French Cc: Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 11:16:10 -0000 > RELENG_8 csup'd with date=2010.02.14.00.00 works perfectly for days. > > RELENG_8 csup'd with date=2010.02.15.00.00 dead-locks the disk I/O > subsystem. Network still operational but anything needing disk hangs. > Power-cycle required. An aditional point (and thanks to Andy for doing all the work to identify the changes which cause the problems) this appears to be the cause of the problem I have with gmirror since upgrading. I only see this on SCSI systems too, and both my systems are using Adaptec controllers, as is Andy's system. -pete. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 13:30:14 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 832BC1065695 for ; Tue, 27 Apr 2010 13:30:14 +0000 (UTC) (envelope-from kama@pvp.se) Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227]) by mx1.freebsd.org (Postfix) with ESMTP id 4A29B8FC25 for ; Tue, 27 Apr 2010 13:30:13 +0000 (UTC) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id 979746B; Tue, 27 Apr 2010 15:30:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id 9372C61 for ; Tue, 27 Apr 2010 15:30:12 +0200 (CEST) Date: Tue, 27 Apr 2010 15:30:12 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: freebsd-stable@freebsd.org Message-ID: <20100427150736.A4522@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 13:30:14 -0000 Hi. I have problem when probing the ciss device. Causing a kernel panic. This happened when I upgraded from 6.3 to 7.3-stable. Booting the old kernel works. So something has changed. I am also getting the error on both the 7.3 and the 8.0 install cd's. The ciss that causing the problem is a Smart Array 6404 and its the addon card that it faults at. The server disconnect it due to an error. But since it works on 6.3 it is something that have changed. FreeBSD should not panic, it should just disable it. Also I tried to disable the card in the BIOS, but FreeBSD try to probe it anyway and panic. This whats comes up on a verbose boot through the ILO remote console. (typed in manually from a screenshot) ciss2: port 0x6400-0x64ff mem 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an ioport ciss2: can't allocate config window kernel trap 12 with interupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xf0009bd0 fault code = supervicor write, page not present instruction pointer = 0x20:0xc08b6e99 stack pointer = 0x28:0xc1420524 frame pointer = 0x28:0xc1420540 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32, gran 1 processor eflags = resume, IOPL = 0 current process = 0 (swapper) trap number = 12 panic: page fault cpuid = 0 Uptime: 1s Automatic reboot in 15 seconds - press a key on the console to abort_ /Bjorn From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 13:54:47 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E9811065670 for ; Tue, 27 Apr 2010 13:54:47 +0000 (UTC) (envelope-from jamesbrandongooch@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 40DC58FC08 for ; Tue, 27 Apr 2010 13:54:47 +0000 (UTC) Received: by pwi9 with SMTP id 9so9537003pwi.13 for ; Tue, 27 Apr 2010 06:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pPLL2L91TS8x90+0DdSv4WvrhuaMmTdjck5QoihSgcY=; b=R9tJMumhDFBrBKAOWohSnTdaVo6hEA8g8xAKs5TGxYoVXL8g7hvM1NAF09RIqtGOUX 06JkzRaSN1P/Z9GPC8+HnOryC8jZYa0wN6qoQ3yFMzdUogoLBJPcXu35Qo1iBsvxwif5 A34csj4OL1lu2toXlBF3yJf3fxE4fceC4mPEA= 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=jwyvws0IraLbXojuQZtoFgiIHL4ixrgy6cqX+N/m7Rp9HcKFTfn7iFtyc4vWaJ+SPP 0GEysrieCyXS+KXB+9NCPaGRugF9fWYytOITHKj0ZctDcUrtq2mFoufe6eviO1PssAkH jI/RSd5xpQCQ9ORaUnZIP1hQmQTQq/nfIKsM0= MIME-Version: 1.0 Received: by 10.114.18.4 with SMTP id 4mr6636941war.186.1272376478642; Tue, 27 Apr 2010 06:54:38 -0700 (PDT) Received: by 10.231.113.36 with HTTP; Tue, 27 Apr 2010 06:54:38 -0700 (PDT) In-Reply-To: <20100427030244.GA70237@icarus.home.lan> References: <20100418213727.GA98129@icarus.home.lan> <20100427030244.GA70237@icarus.home.lan> Date: Tue, 27 Apr 2010 08:54:38 -0500 Message-ID: From: Brandon Gooch To: Jeremy Chadwick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, Phil Subject: Re: rc(8) script -- waiting for the network to become usable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 13:54:47 -0000 On Mon, Apr 26, 2010 at 10:02 PM, Jeremy Chadwick wrote: > On Tue, Apr 27, 2010 at 09:48:41AM +1000, Phil wrote: >> Jeremy, >> A good proposal to improve start-up robustness. If I may suggest, >> waitnetwork_ip should include a short list of alternate IP's in >> the event of a local network outage, or DOS, etc. =A0Something like: >> waitnetwork_ip=3D"IP1 IP2 IP3" >> >> Having multiple target IP's will improve the likelihood of timely >> booting when silly/nasty things happen on the wider network. >> >> Good idea to have incorporated into the base system. > > Phil, > > I brought this point up in my post on -rc and -net, actually. =A0I've > since extended the script to support multiple IPs in $waitnetwork_ip > (wasn't that hard). =A0The logic is that if any of the IPs pass the ping > test, then the network connection is considered usable. > > Attached is the modified script. =A0I'll be updating the version on my > server (HTTP) momentarily. > > -- > | Jeremy Chadwick =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 jdc@parodius.com | > | Parodius Networking =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://= www.parodius.com/ | > | UNIX Systems Administrator =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mountain = View, CA, USA | > | Making life hard for others since 1977. =A0 =A0 =A0 =A0 =A0 =A0 =A0PGP:= 4BD6C0CB | > > > #!/bin/sh > # > # $FreeBSD: $ > # > > # PROVIDE: waitnetwork > # REQUIRE: NETWORKING > # BEFORE: mountcritremote > # KEYWORD: nojail > > # XXX - Once/if committed to base, it's better to have mountcritremote > # XXX - REQUIRE waitnetwork, rather than use the above BEFORE line. > > . /etc/rc.subr > > name=3D"waitnetwork" > rc_var=3D`set_rcvar` > > start_cmd=3D"waitnetwork_start" > stop_cmd=3D":" > > # XXX - Once/if committed to base, the following defaults should > # XXX - be placed into src/etc/defaults/rc.conf instead of here > # XXX - Also be sure to keep waitnetwork_ip=3D"" commented out! > > waitnetwork_enable=3D"NO" =A0 =A0 =A0 =A0 # Wait for network availability= before > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# continui= ng with NETWORKING rc scripts > #waitnetwork_ip=3D"" =A0 =A0 =A0 =A0 =A0 =A0 =A0# IP address to ping > waitnetwork_count=3D"5" =A0 =A0 =A0 =A0 =A0 # ping count (see ping(8) -c = flag) > waitnetwork_timeout=3D"60" =A0 =A0 =A0 =A0# ping timeout (see ping(8) -t = flag) > > waitnetwork_start() > { > =A0 =A0 =A0 =A0local ip rc success > > =A0 =A0 =A0 =A0success=3D0 > > =A0 =A0 =A0 =A0if [ -z "${waitnetwork_ip}" ]; then > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0warn "You must define one or more IP addre= sses in waitnetwork_ip" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0return > =A0 =A0 =A0 =A0fi > > =A0 =A0 =A0 =A0for ip in ${waitnetwork_ip}; do > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0echo "Waiting for ${ip} to respond to ICMP= ..." > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if [ -z "${waitnetwork_timeout}" ]; then > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/sbin/ping -c ${waitnetwor= k_count} ${ip} >/dev/null 2>&1 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0rc=3D$? > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0else > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0info "Using timeout of ${w= aitnetwork_timeout} seconds" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/sbin/ping -t ${waitnetwor= k_timeout} -c ${waitnetwork_count} ${ip} >/dev/null 2>&1 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0rc=3D$? > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0fi > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if [ $rc -eq 0 ]; then > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0echo "Host reachable; netw= ork considered available." > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0return > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0else > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0echo "No response from hos= t." > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0fi > =A0 =A0 =A0 =A0done > > =A0 =A0 =A0 =A0echo "Exhausted IP list. =A0Continuing with startup, but b= e aware you may" > =A0 =A0 =A0 =A0echo "not have a fully functional networking layer at this= point." > } > > load_rc_config $name > run_rc_command "$1" Not to hijack the thread, but this type of clean, quality work (even though some consider it a hack), really helps a lot of people out. I wonder, has anyone ever brought up the idea of an "rc repository" or something similar, for rc scripts and/or configs that may help many, but for whatever reason, will not be included in the base system? I'm thinking of something more "official", hosted at the freebsd.org domain. Maybe in the same vein as: http://www.sun.com/bigadmin/home/index.jsp Shields up, -Brandon From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 15:16:52 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE99106564A for ; Tue, 27 Apr 2010 15:16:52 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id 286C28FC27 for ; Tue, 27 Apr 2010 15:16:52 +0000 (UTC) Received: from [172.31.193.10] (rrcs-98-101-145-84.midsouth.biz.rr.com [98.101.145.84]) (authenticated bits=0) by duke.cs.duke.edu (8.14.2/8.14.2) with ESMTP id o3RFGp84021225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 27 Apr 2010 11:16:51 -0400 (EDT) Message-ID: <4BD6FFDC.4090703@cs.duke.edu> Date: Tue, 27 Apr 2010 11:16:44 -0400 From: Andrew Gallatin User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Is swap on ZFS supposed to work? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 15:16:52 -0000 I have a machine where I enabled swap on ZFS somewhat accidentally (really wanted to dump to ZFS, but that didn't pan out) and then forgot about it. A month later, under a heavy load (make -j8 buildworld) it hung with: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 289218, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 290789, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 305343, size: 4096 <...> scrolling on console. I made 2 more attempts to buildworld before I finally remembered the ZFS swap partition and removed it, which allowed the buildworld to complete without hanging the machine. It is running 8.0-STABLE #1 r205446M (amd64) and has very little (512MB) RAM. Drew From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 15:57:50 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3993E106566C for ; Tue, 27 Apr 2010 15:57:50 +0000 (UTC) (envelope-from kama@pvp.se) Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227]) by mx1.freebsd.org (Postfix) with ESMTP id F0BE68FC20 for ; Tue, 27 Apr 2010 15:57:49 +0000 (UTC) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id 6F19071; Tue, 27 Apr 2010 17:57:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id 6DB506F for ; Tue, 27 Apr 2010 17:57:48 +0200 (CEST) Date: Tue, 27 Apr 2010 17:57:48 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: freebsd-stable@freebsd.org In-Reply-To: <20100427150736.A4522@ns1.as.pvp.se> Message-ID: <20100427174932.A4522@ns1.as.pvp.se> References: <20100427150736.A4522@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 15:57:50 -0000 On Tue, 27 Apr 2010, kama wrote: > > Hi. > > I have problem when probing the ciss device. Causing a kernel panic. This > happened when I upgraded from 6.3 to 7.3-stable. Booting the old kernel > works. So something has changed. I am also getting the error on both the > 7.3 and the 8.0 install cd's. > > The ciss that causing the problem is a Smart Array 6404 and its the addon > card that it faults at. The server disconnect it due to an error. But > since it works on 6.3 it is something that have changed. FreeBSD should > not panic, it should just disable it. > > Also I tried to disable the card in the BIOS, but FreeBSD try to probe it > anyway and panic. > > This whats comes up on a verbose boot through the ILO remote console. > (typed in manually from a screenshot) > > ciss2: port 0x6400-0x64ff mem > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > ioport > ciss2: can't allocate config window > kernel trap 12 with interupts disabled > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xf0009bd0 > fault code = supervicor write, page not present > instruction pointer = 0x20:0xc08b6e99 > stack pointer = 0x28:0xc1420524 > frame pointer = 0x28:0xc1420540 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32, gran 1 > processor eflags = resume, IOPL = 0 > current process = 0 (swapper) > trap number = 12 > panic: page fault > cpuid = 0 > Uptime: 1s > Automatic reboot in 15 seconds - press a key on the console to abort_ I have now tested with all the different official released versions that are available on the ftps. 6.3 works (was installed on the system) 6.4 works 7.1 panics 7.2 panics 7.3 panics 8.0 panics I dont know what else to test. The server is 1500 km away, so I cant just pop down to the datacenter. ILO is my friend right now and I can only boot on a virtual CD. I have updated all the firmwares to the latest versions to see if that had anything to do with it. /Bjorn From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 16:43:37 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 090FB106567F for ; Tue, 27 Apr 2010 16:43:37 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id C2A088FC12 for ; Tue, 27 Apr 2010 16:43:36 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1O6nsb-0000pU-Jn; Tue, 27 Apr 2010 17:43:25 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O6nsb-0001I1-Iv; Tue, 27 Apr 2010 17:43:25 +0100 Date: Tue, 27 Apr 2010 17:43:25 +0100 Message-Id: To: uqs@spoerlein.net In-Reply-To: <20100414163352.GS85798@acme.spoerlein.net> From: Pete French Cc: freebsd-stable@freebsd.org Subject: Re: Any chance of someone commiting the patch in bin/131861 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 16:43:37 -0000 > Well, the following header didn't work: > Cc: , > > Postfix will re-write this as part of sanitization, so I had to revert > to creating mbox files by hand. Anyway, could you please test the > following patch with a wider variety of mails? Sorry for not getting around to this util now - am testing the patch as my daily work email client at the moment to see how it does. Looks OK to me, though I'd like to spend more time thinking about it in relation to RFC822 and see if I can think of any places it might spclit what should be a valid address. cheers, -pete. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 20:08:45 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C5FF106566B for ; Tue, 27 Apr 2010 20:08:45 +0000 (UTC) (envelope-from fb-stable@psconsult.nl) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.freebsd.org (Postfix) with ESMTP id 93E568FC12 for ; Tue, 27 Apr 2010 20:08:44 +0000 (UTC) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.psconsult.nl (8.14.4/8.14.4) with ESMTP id o3RJlQQc014352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 27 Apr 2010 21:47:32 +0200 (CEST) (envelope-from fb-stable@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.4/8.14.4/Submit) id o3RJlPdU014351 for freebsd-stable@freebsd.org; Tue, 27 Apr 2010 21:47:26 +0200 (CEST) (envelope-from fb-stable@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to fb-stable@psconsult.nl using -f Date: Tue, 27 Apr 2010 21:47:25 +0200 From: Paul Schenkeveld To: freebsd-stable@freebsd.org Message-ID: <20100427194725.GA14112@psconsult.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Subject: puc(4) timedia baudrate problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 20:08:45 -0000 Hi, I was pleasantly surprised to see that puc(4) in 8-stable recognizes my 8 port serial cards and identifies them as follows: puc0: port 0xe500-0xe51f,0xe520-0xe52f,0xe530-0xe537,0xe538-0xe53f,0xe540-0xe547,0xe548-0xe54f irq 10 at device 14.0 on pci0 puc0: [FILTER] uart2: <16550 or compatible> on puc0 uart2: [FILTER] uart3: on puc0 uart3: [FILTER] uart4: on puc0 uart4: [FILTER] uart5: on puc0 uart5: [FILTER] uart6: on puc0 uart6: [FILTER] uart7: on puc0 uart7: [FILTER] uart8: on puc0 uart8: [FILTER] uart9: on puc0 uart9: [FILTER] The first two ports work correctly but the baudrate of the other six is incorrect, i.e. I have to use 'tip -76800 uart5' to get the port to communicate at 9600 baud. I 'know' that this particular hardware has a baudrate multiplier on the first two ports but not on the other six. In pucdata.c I see: { 0x1409, 0x7168, 0xffff, 0, NULL, DEFAULT_RCLK * 8, PUC_PORT_NONSTANDARD, 0x10, -1, -1, .config_function = puc_config_timedia }, which suggests all ports have the same clock multiplier. I do not understand enough about the working of the puc driver to see where this multiplier is looked up per port. Back in 2007 I managed to get this card to work on FB 6.2 bij changing the puc driver but it had a separate config line per port at that time. Hopefully someone can help me to fix this last glitch that keeps me from upgrading my terminal servers to 8-stable. Regards, Paul Schenkeveld From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 21:27:53 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49888106566B for ; Tue, 27 Apr 2010 21:27:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1DE078FC15 for ; Tue, 27 Apr 2010 21:27:53 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id C267246B29; Tue, 27 Apr 2010 17:27:52 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id EECB68A01F; Tue, 27 Apr 2010 17:27:51 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Tue, 27 Apr 2010 17:21:34 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100427150736.A4522@ns1.as.pvp.se> In-Reply-To: <20100427150736.A4522@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004271721.34248.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 27 Apr 2010 17:27:51 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: kama Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 21:27:53 -0000 On Tuesday 27 April 2010 9:30:12 am kama wrote: > > Hi. > > I have problem when probing the ciss device. Causing a kernel panic. This > happened when I upgraded from 6.3 to 7.3-stable. Booting the old kernel > works. So something has changed. I am also getting the error on both the > 7.3 and the 8.0 install cd's. > > The ciss that causing the problem is a Smart Array 6404 and its the addon > card that it faults at. The server disconnect it due to an error. But > since it works on 6.3 it is something that have changed. FreeBSD should > not panic, it should just disable it. > > Also I tried to disable the card in the BIOS, but FreeBSD try to probe it > anyway and panic. > > This whats comes up on a verbose boot through the ILO remote console. > (typed in manually from a screenshot) > > ciss2: port 0x6400-0x64ff mem > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > ioport > ciss2: can't allocate config window > kernel trap 12 with interupts disabled Can you get the ciss2 boot messages from a working 6.x kernel? -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 21:55:00 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 804A0106564A for ; Tue, 27 Apr 2010 21:55:00 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 057558FC12 for ; Tue, 27 Apr 2010 21:54:59 +0000 (UTC) Received: from akima.flintsbach.schmalzbauer.de (akima.flintsbach.schmalzbauer.de [172.21.1.33]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id o3RLstbw026051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Apr 2010 23:54:58 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4BD75D2E.50302@omnilan.de> Date: Tue, 27 Apr 2010 23:54:54 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Jack Vogel References: <4BC82B80.3070108@omnilan.de> <20100416092803.GA17526@icarus.home.lan> <4BC82FF7.1030700@omnilan.de> <201004160822.09359.jhb@freebsd.org> <4BC8A76A.6000107@omnilan.de> <4BC8CB9E.8060802@omnilan.de> In-Reply-To: <4BC8CB9E.8060802@omnilan.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: em WOL_MCAST repowers machine after poweroff [Was: Re: em JumboFrame improovement and PCIe addon-card regression] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 21:55:00 -0000 On 16.04.2010 22:42, Harald Schmalzbauer wrote: > Jack Vogel schrieb am 16.04.2010 22:02 (localtime): >> Glad things are better. On the Hartwell, the 0x10D3 adapter, what is the >> problem you are seeing? >> I just did an MFC, would ask that you try that code, see if it changes >> anything. > > > With latest MFCs I see em0: > but still this LOR: > login: lock order reversal: > 1st 0xffffff00015d4418 em0:rx(1) (em0:rx(1)) @ > /usr/src/sys/dev/e1000/if_em.c:1514 > 2nd 0xffffffff8093f108 udp (udp) @ /usr/src/sys/netinet/udp_usrreq.c:474 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > _witness_debugger() at _witness_debugger+0x49 > witness_checkorder() at witness_checkorder+0x7ea > _rw_rlock() at _rw_rlock+0x58 > udp_input() at udp_input+0x1cd > ip_input() at ip_input+0xb3 > netisr_dispatch_src() at netisr_dispatch_src+0x9e > ether_demux() at ether_demux+0x176 > ether_input() at ether_input+0x176 > em_rxeof() at em_rxeof+0x166 > em_msix_rx() at em_msix_rx+0x42 > intr_event_execute_handlers() at intr_event_execute_handlers+0x67 > ithread_loop() at ithread_loop+0xae > fork_exit() at fork_exit+0x12a > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip = 0, rsp = 0xffffff8075504d30, rbp = 0 --- > > Is it worth mentioning that I compiled in ZERO_COPY_SOCKETS? > > So far I couldn't see any SSH session stall anymore. That was my proplem > after updating today, before the latest 7.0.0->7.0.5 change. > > I'll come back if I can see anything going suboptimal regarding "hartwell" > > Also the em1 (PRO/1000 Legacy Network Connection 1.0.1, pciconf device > 82541EI): > em1: Watchdog timeout -- resetting > is solved/gone/vanished :) > > Thanks! (why doesn't 'pciconf -lv' show a "device" entry for Hartwell?) > > > But I also have to tell that enabling jumbo frames is a big performance > degradation with SMB downloads. Uploads completely hang. With RELENG_8, > 6 weeks ago, I could manage to get 75MB/s transfers to my windows SR2600 > servers, MTU9014 and FreeBSD MTU1500, untuned Samba 3.3.10. > > Today, after updating RELENG_8 with unchanged samba, jumbo frames > enabled (mtu 9000 on FreeBSD), downloading via CIFS was half the > transfer rate and uploading almost completely stalled. > Will see to track down the "upload" problem. So far, jumbo frames at > least work with ICMP payloads up to 8972 bytes, but enabling still is a > tranfer rate regression. Hello Jack, I'd like to report another issue I haven't seen before the RELENG_8 em update: When I 'shutdown -p' the machine, it immediately powers on itself again. After walking the firmware update path I accidentally found that WOL_MCAST cause that behaviour. 'ifconfig em1 -wol_macst' restores old behaviour. Machine stays off after 'shutdown -p' and wake on lan with unicast packet is working. Btw, can you explain me why wake on lan isn't working before the machine once was booted? When the machine first time gets standby power no wake on lan is detected by the nic (no LED activity - when wake on lan is working I can see the nic LED confirming my wol packet). It's a S3200SH Board, but that doesn't play a role. Also S5000PAL and S5400 shows this issue. Best regards, -Harry From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 21:59:06 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CD61106566B for ; Tue, 27 Apr 2010 21:59:06 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1BE1D8FC24 for ; Tue, 27 Apr 2010 21:59:05 +0000 (UTC) Received: by wwb17 with SMTP id 17so47518wwb.13 for ; Tue, 27 Apr 2010 14:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=TU3XfOOmhTdZ30jTUpjsLLWRCPWksWbY9tXQ9saFK8k=; b=Ehgzkg3AFY64F1BM8PeoV8x2x5GlUb0QllbZyTL4fkI14UAM2tBwekT73ic7YvIJeJ PowrOTTJ5aXtocVce9P1Prybyb9t9v1+EWIXRMAZA/XXISTwY8yBwBE6w9cbXwxbQjHO DpKMwJarexyr+dUqWXJ89yTHISLrbdaLS+rY4= 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; b=u/ZflTEV0CcA5KIBDR+Y4TcZ6oFTuRPIvql5hUStQj7CX7oAJOyk1GM91m7oFnxQ/Y QymDuVBJUqTtlv8ay3ZlBQvMiH7IjhCnBkAaMgC1oo1WhGiQI+Z5MCOpZiBZh8pLNHtb Ds4tmjoPBQDDDi4PLKdgIc6s6FbH4emOSQ5pk= MIME-Version: 1.0 Received: by 10.216.86.73 with SMTP id v51mr1357749wee.108.1272405537199; Tue, 27 Apr 2010 14:58:57 -0700 (PDT) Received: by 10.216.11.8 with HTTP; Tue, 27 Apr 2010 14:58:57 -0700 (PDT) In-Reply-To: <4BD75D2E.50302@omnilan.de> References: <4BC82B80.3070108@omnilan.de> <20100416092803.GA17526@icarus.home.lan> <4BC82FF7.1030700@omnilan.de> <201004160822.09359.jhb@freebsd.org> <4BC8A76A.6000107@omnilan.de> <4BC8CB9E.8060802@omnilan.de> <4BD75D2E.50302@omnilan.de> Date: Tue, 27 Apr 2010 14:58:57 -0700 Message-ID: From: Jack Vogel To: Harald Schmalzbauer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: em WOL_MCAST repowers machine after poweroff [Was: Re: em JumboFrame improovement and PCIe addon-card regression] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 21:59:06 -0000 Thanks Harald, Have already been made aware of this, its due to the broadcast WOL being enabled, I will be fixing the problem shortly. Sorry for the inconvenience. Cheers, Jack On Tue, Apr 27, 2010 at 2:54 PM, Harald Schmalzbauer < h.schmalzbauer@omnilan.de> wrote: > On 16.04.2010 22:42, Harald Schmalzbauer wrote: > >> Jack Vogel schrieb am 16.04.2010 22:02 (localtime): >> >>> Glad things are better. On the Hartwell, the 0x10D3 adapter, what is the >>> problem you are seeing? >>> I just did an MFC, would ask that you try that code, see if it changes >>> anything. >>> >> >> >> With latest MFCs I see em0: >> but still this LOR: >> login: lock order reversal: >> 1st 0xffffff00015d4418 em0:rx(1) (em0:rx(1)) @ >> /usr/src/sys/dev/e1000/if_em.c:1514 >> 2nd 0xffffffff8093f108 udp (udp) @ /usr/src/sys/netinet/udp_usrreq.c:474 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a >> _witness_debugger() at _witness_debugger+0x49 >> witness_checkorder() at witness_checkorder+0x7ea >> _rw_rlock() at _rw_rlock+0x58 >> udp_input() at udp_input+0x1cd >> ip_input() at ip_input+0xb3 >> netisr_dispatch_src() at netisr_dispatch_src+0x9e >> ether_demux() at ether_demux+0x176 >> ether_input() at ether_input+0x176 >> em_rxeof() at em_rxeof+0x166 >> em_msix_rx() at em_msix_rx+0x42 >> intr_event_execute_handlers() at intr_event_execute_handlers+0x67 >> ithread_loop() at ithread_loop+0xae >> fork_exit() at fork_exit+0x12a >> fork_trampoline() at fork_trampoline+0xe >> --- trap 0, rip = 0, rsp = 0xffffff8075504d30, rbp = 0 --- >> >> Is it worth mentioning that I compiled in ZERO_COPY_SOCKETS? >> >> So far I couldn't see any SSH session stall anymore. That was my proplem >> after updating today, before the latest 7.0.0->7.0.5 change. >> >> I'll come back if I can see anything going suboptimal regarding "hartwell" >> >> Also the em1 (PRO/1000 Legacy Network Connection 1.0.1, pciconf device >> 82541EI): >> em1: Watchdog timeout -- resetting >> is solved/gone/vanished :) >> >> Thanks! (why doesn't 'pciconf -lv' show a "device" entry for Hartwell?) >> >> >> But I also have to tell that enabling jumbo frames is a big performance >> degradation with SMB downloads. Uploads completely hang. With RELENG_8, >> 6 weeks ago, I could manage to get 75MB/s transfers to my windows SR2600 >> servers, MTU9014 and FreeBSD MTU1500, untuned Samba 3.3.10. >> >> Today, after updating RELENG_8 with unchanged samba, jumbo frames >> enabled (mtu 9000 on FreeBSD), downloading via CIFS was half the >> transfer rate and uploading almost completely stalled. >> Will see to track down the "upload" problem. So far, jumbo frames at >> least work with ICMP payloads up to 8972 bytes, but enabling still is a >> tranfer rate regression. >> > > Hello Jack, > > I'd like to report another issue I haven't seen before the RELENG_8 em > update: > When I 'shutdown -p' the machine, it immediately powers on itself again. > After walking the firmware update path I accidentally found that WOL_MCAST > cause that behaviour. 'ifconfig em1 -wol_macst' restores old behaviour. > Machine stays off after 'shutdown -p' and wake on lan with unicast packet is > working. > > Btw, can you explain me why wake on lan isn't working before the machine > once was booted? When the machine first time gets standby power no wake on > lan is detected by the nic (no LED activity - when wake on lan is working I > can see the nic LED confirming my wol packet). > It's a S3200SH Board, but that doesn't play a role. Also S5000PAL and S5400 > shows this issue. > > Best regards, > > -Harry > From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 04:46:12 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 573BC106564A for ; Wed, 28 Apr 2010 04:46:12 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9418FC1F for ; Wed, 28 Apr 2010 04:46:11 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L1K00KIBL8WJA50@asmtp030.mac.com> for freebsd-stable@freebsd.org; Tue, 27 Apr 2010 21:46:11 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1004270291 From: Marcel Moolenaar In-reply-to: <20100427194725.GA14112@psconsult.nl> Date: Tue, 27 Apr 2010 21:46:08 -0700 Message-id: References: <20100427194725.GA14112@psconsult.nl> To: Paul Schenkeveld X-Mailer: Apple Mail (2.1078) Cc: freebsd-stable@freebsd.org Subject: Re: puc(4) timedia baudrate problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 04:46:12 -0000 On Apr 27, 2010, at 12:47 PM, Paul Schenkeveld wrote: > puc0: port 0xe500-0xe51f,0xe520-0xe52f,0xe530-0xe537,0xe538-0xe53f,0xe540-0xe547,0xe548-0xe54f irq 10 at device 14.0 on pci0 *snip* > The first two ports work correctly but the baudrate of the other six > is incorrect, i.e. I have to use 'tip -76800 uart5' to get the port > to communicate at 9600 baud. I 'know' that this particular hardware > has a baudrate multiplier on the first two ports but not on the other > six. *snip* Can you show me the output of ``pciconf -lbv'' for this device so that I can create a patch for you to test? Also: do you happen to know if all 8-port Timedia cards have a non- uniform RCLK or only a select set (maybe only yours)? Thanks, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 05:10:25 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E376106566C for ; Wed, 28 Apr 2010 05:10:25 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0EB118FC1C for ; Wed, 28 Apr 2010 05:10:23 +0000 (UTC) Received: by pvg11 with SMTP id 11so806740pvg.13 for ; Tue, 27 Apr 2010 22:10:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=5ZNn/78moTdYuv+/LYFHeFWaUt16TJkhHD9uDVsEEpo=; b=pA3FJnY0F/N+km3KG/zpnlHUg8b7EuN0jpM+Uq4LCJmbbZVaFAAcYDl9uAY5Xqp/qC yEqNkLwzP1TuvmlfhzLZfnzobREU6nXX0+40Dpix7D9ZT9AgAlY4eDSMM9Dpgf60C17l +l/C9/zmM3Vde/W0N3W5A73BoOghNgbsrHe6w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Mmu0bxtpKdsgg8Idvoj4GIsGNA9cL1n/+0nGz0BfLtH/qZiswMMoBV8h3UyEn+hFlx P8P9/o38phzpLlOz8x5IqvLn+waiVu8z2V5wP8ppGVTlEi3J3J48T1PByk9aixTptoL9 Kf1NSdyi1wvf5gjAMVuDegIGmpa29O/QFsZQk= MIME-Version: 1.0 Received: by 10.141.124.5 with SMTP id b5mr7005628rvn.68.1272431417966; Tue, 27 Apr 2010 22:10:17 -0700 (PDT) Sender: artemb@gmail.com Received: by 10.141.29.10 with HTTP; Tue, 27 Apr 2010 22:10:17 -0700 (PDT) In-Reply-To: References: <20100427194725.GA14112@psconsult.nl> Date: Tue, 27 Apr 2010 22:10:17 -0700 X-Google-Sender-Auth: bc6fbdcf74d57281 Message-ID: From: Artem Belevich To: Marcel Moolenaar Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: puc(4) timedia baudrate problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 05:10:25 -0000 I've got another PCI UART card based on OX16PCI952 that needs its clock multiplied by 8 in order to work correctly. It was some el-cheapo card I've got at Fry's. puc0@pci0:1:0:0: class=3D0x070006 card=3D0x00011415 chip=3D0x9521141= 5 rev=3D0x00 hdr=3D0x00 vendor =3D 'Oxford Semiconductor Ltd' device =3D 'OX16PCI952 Integrated Dual UART' class =3D simple comms subclass =3D UART bar [10] =3D type I/O Port, range 32, base 0xd480, size 8, enabled bar [14] =3D type I/O Port, range 32, base 0xd400, size 8, enabled bar [18] =3D type I/O Port, range 32, base 0xd080, size 32, enabled bar [1c] =3D type Memory, range 32, base 0xf9ffd000, size 4096, enabl= ed bar [20] =3D type Memory, range 32, base 0xf9ffc000, size 4096, enabl= ed Perhaps we can add some sort of tunable to override UART clock, if necessar= y? --Artem On Tue, Apr 27, 2010 at 9:46 PM, Marcel Moolenaar wrote: > > On Apr 27, 2010, at 12:47 PM, Paul Schenkeveld wrote: > >> =A0 =A0puc0: port 0xe500-0xe51f,0xe52= 0-0xe52f,0xe530-0xe537,0xe538-0xe53f,0xe540-0xe547,0xe548-0xe54f irq 10 at = device 14.0 on pci0 > *snip* >> The first two ports work correctly but the baudrate of the other six >> is incorrect, i.e. I have to use 'tip -76800 uart5' to get the port >> to communicate at 9600 baud. =A0I 'know' that this particular hardware >> has a baudrate multiplier on the first two ports but not on the other >> six. > *snip* > > Can you show me the output of ``pciconf -lbv'' for this device so that > I can create a patch for you to test? > > Also: do you happen to know if all 8-port Timedia cards have a non- > uniform RCLK or only a select set (maybe only yours)? > > Thanks, > > -- > Marcel Moolenaar > xcllnt@mac.com > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 07:22:56 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42797106566C for ; Wed, 28 Apr 2010 07:22:56 +0000 (UTC) (envelope-from kama@pvp.se) Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227]) by mx1.freebsd.org (Postfix) with ESMTP id 012B58FC18 for ; Wed, 28 Apr 2010 07:22:55 +0000 (UTC) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id 3BC0571; Wed, 28 Apr 2010 09:22:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id 3A6086F; Wed, 28 Apr 2010 09:22:44 +0200 (CEST) Date: Wed, 28 Apr 2010 09:22:44 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: John Baldwin In-Reply-To: <201004271721.34248.jhb@freebsd.org> Message-ID: <20100428091758.F4522@ns1.as.pvp.se> References: <20100427150736.A4522@ns1.as.pvp.se> <201004271721.34248.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 07:22:56 -0000 On Tue, 27 Apr 2010, John Baldwin wrote: > On Tuesday 27 April 2010 9:30:12 am kama wrote: > > > > Hi. > > > > I have problem when probing the ciss device. Causing a kernel panic. This > > happened when I upgraded from 6.3 to 7.3-stable. Booting the old kernel > > works. So something has changed. I am also getting the error on both the > > 7.3 and the 8.0 install cd's. > > > > The ciss that causing the problem is a Smart Array 6404 and its the addon > > card that it faults at. The server disconnect it due to an error. But > > since it works on 6.3 it is something that have changed. FreeBSD should > > not panic, it should just disable it. > > > > Also I tried to disable the card in the BIOS, but FreeBSD try to probe it > > anyway and panic. > > > > This whats comes up on a verbose boot through the ILO remote console. > > (typed in manually from a screenshot) > > > > ciss2: port 0x6400-0x64ff mem > > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > > ioport > > ciss2: can't allocate config window > > kernel trap 12 with interupts disabled > > Can you get the ciss2 boot messages from a working 6.x kernel? This is the verbose boot on 6.3. FreeBSD 6.3-STABLE #3: Thu Mar 6 14:29:33 CET 2008 ciss1: 10 physical devices ciss1: 4 logical drives ciss1: logical drive (b0t0): RAID 1, 69120MB online ciss1: logical drive (b0t1): RAID 1, 69120MB online ciss1: logical drive (b0t2): RAID 1, 139776MB online ciss1: logical drive (b0t3): RAID 1, 139776MB online ciss2: port 0x6400-0x64ff mem 0xfdf70000-0xfdf71fff,0xfdf00000-0xfdf3ffff irq 98 at device 5.0 on pci11 ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an ioport ciss2: can't allocate config window device_attach: ciss2 attach returned 6 uhci0: port 0x2000-0x201f irq 16 at device 29.0 on pci0 /Bjorn From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 11:00:17 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 834AD106566B; Wed, 28 Apr 2010 11:00:17 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 3716D8FC23; Wed, 28 Apr 2010 11:00:16 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1O7503-0007lO-08>; Wed, 28 Apr 2010 13:00:15 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1O7502-0000Nv-Uc>; Wed, 28 Apr 2010 13:00:14 +0200 Message-ID: <4BD8153E.80309@zedat.fu-berlin.de> Date: Wed, 28 Apr 2010 13:00:14 +0200 From: "O. Hartmann" Organization: Freie =?ISO-8859-15?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100421 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, FreeBSD Stable Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: Subject: resizing xterminal while in vi-session forces vi to coredump X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 11:00:17 -0000 Hello, vi coredumps if one is resizing the xterm within the vi session runs. OS is FreeBSD 8.0-STABLE/amd64 r207308: Wed Apr 28 09:10:03 CEST 2010, ports are most recent, X11 has been recompiled in favor of WITHOUT_NOUVEAU= YES Kernel also utilises options TEKEN_UTF8 options TEKEN_XTERM but I think this is for console only. Should I file a PR? Thanks for your patience, O. Hartmann From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 11:40:51 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75E631065674 for ; Wed, 28 Apr 2010 11:40:51 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 314808FC23 for ; Wed, 28 Apr 2010 11:40:50 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1O75dH-000FU8-Lr; Wed, 28 Apr 2010 15:40:47 +0400 From: Boris Samorodov To: Marcel Moolenaar References: <20100427194725.GA14112@psconsult.nl> Date: Wed, 28 Apr 2010 15:40:46 +0400 In-Reply-To: (Marcel Moolenaar's message of "Tue, 27 Apr 2010 21:46:08 -0700") Message-ID: <77194449@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: rik@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: puc(4) timedia baudrate problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 11:40:51 -0000 On Tue, 27 Apr 2010 21:46:08 -0700 Marcel Moolenaar wrote: > On Apr 27, 2010, at 12:47 PM, Paul Schenkeveld wrote: > > puc0: port 0xe500-0xe51f,0xe520-0xe52f,0xe530-0xe537,0xe538-0xe53f,0xe540-0xe547,0xe548-0xe54f irq 10 at device 14.0 on pci0 > *snip* > > The first two ports work correctly but the baudrate of the other six > > is incorrect, i.e. I have to use 'tip -76800 uart5' to get the port > > to communicate at 9600 baud. I 'know' that this particular hardware > > has a baudrate multiplier on the first two ports but not on the other > > six. > *snip* > Can you show me the output of ``pciconf -lbv'' for this device so that > I can create a patch for you to test? > Also: do you happen to know if all 8-port Timedia cards have a non- > uniform RCLK or only a select set (maybe only yours)? Seems the same issue as: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/129663 -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 12:11:50 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6584D1065675 for ; Wed, 28 Apr 2010 12:11:50 +0000 (UTC) (envelope-from nr1c0re@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id E7D548FC14 for ; Wed, 28 Apr 2010 12:11:49 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so2720979fge.13 for ; Wed, 28 Apr 2010 05:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=DLU1d2w4wD+JJMRKnwKr970zZkBy5XytUsB+yXNK4zg=; b=u3HfycmbGh1BTUpl2NAv25pxrJnw13dPA4YOqgG/AYP56wnO1lzc5KgoT5EONSVEC7 OQPyoaIVmQj4qLrPYesi4890hOpECUiQg7kjXFouE1gzt2X0UdyhxUIkGOCYVqZFiORY z4qYWFmN2I6H7EW6X0oLpRDpgiBIVMwuGZ21w= 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 :content-type; b=WjldKvTPj+ix0vQORdBN5NHXzgVz7ViIRnc3VTvFEddq58zMjOjtIFipnzpmStn8LG qOGXS6OqAfCag4clOT2SWUs+CHZE/8uH02iZEZLqXYoHizSjJJm4numbt50ZKEWxW/Ad d9NktRTmvv0LklK3/C09iO+f8XVCVETuI7+FQ= MIME-Version: 1.0 Received: by 10.87.48.18 with SMTP id a18mr7445331fgk.53.1272456700831; Wed, 28 Apr 2010 05:11:40 -0700 (PDT) Received: by 10.86.99.3 with HTTP; Wed, 28 Apr 2010 05:11:39 -0700 (PDT) In-Reply-To: References: <201004200748.09566.jhb@freebsd.org> <20100421074959.J40281@maildrop.int.zabbadoz.net> Date: Wed, 28 Apr 2010 16:11:39 +0400 Message-ID: From: c0re To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD 7.3, reboot after panic: double fault X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 12:11:50 -0000 I also tryed to use GIF interface istead of GRE - same result and same backtrace in kgdb - kernel panic. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 12:18:37 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B93E61065672 for ; Wed, 28 Apr 2010 12:18:37 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 89C288FC0A for ; Wed, 28 Apr 2010 12:18:37 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 1760C46B0C; Wed, 28 Apr 2010 08:18:37 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 6CBE58A01F; Wed, 28 Apr 2010 08:18:36 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Wed, 28 Apr 2010 08:02:26 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100427150736.A4522@ns1.as.pvp.se> <201004271721.34248.jhb@freebsd.org> <20100428091758.F4522@ns1.as.pvp.se> In-Reply-To: <20100428091758.F4522@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004280802.26267.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 28 Apr 2010 08:18:36 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: kama Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 12:18:37 -0000 On Wednesday 28 April 2010 3:22:44 am kama wrote: > > On Tue, 27 Apr 2010, John Baldwin wrote: > > > On Tuesday 27 April 2010 9:30:12 am kama wrote: > > > > > > Hi. > > > > > > I have problem when probing the ciss device. Causing a kernel panic. This > > > happened when I upgraded from 6.3 to 7.3-stable. Booting the old kernel > > > works. So something has changed. I am also getting the error on both the > > > 7.3 and the 8.0 install cd's. > > > > > > The ciss that causing the problem is a Smart Array 6404 and its the addon > > > card that it faults at. The server disconnect it due to an error. But > > > since it works on 6.3 it is something that have changed. FreeBSD should > > > not panic, it should just disable it. > > > > > > Also I tried to disable the card in the BIOS, but FreeBSD try to probe it > > > anyway and panic. > > > > > > This whats comes up on a verbose boot through the ILO remote console. > > > (typed in manually from a screenshot) > > > > > > ciss2: port 0x6400-0x64ff mem > > > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill > > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > > > ioport > > > ciss2: can't allocate config window > > > kernel trap 12 with interupts disabled > > > > Can you get the ciss2 boot messages from a working 6.x kernel? > > This is the verbose boot on 6.3. > > FreeBSD 6.3-STABLE #3: Thu Mar 6 14:29:33 CET 2008 > > ciss1: 10 physical devices > ciss1: 4 logical drives > ciss1: logical drive (b0t0): RAID 1, 69120MB online > ciss1: logical drive (b0t1): RAID 1, 69120MB online > ciss1: logical drive (b0t2): RAID 1, 139776MB online > ciss1: logical drive (b0t3): RAID 1, 139776MB online > > ciss2: port 0x6400-0x64ff mem > 0xfdf70000-0xfdf71fff,0xfdf00000-0xfdf3ffff irq 98 at device 5.0 on pci11 > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > ioport > ciss2: can't allocate config window > device_attach: ciss2 attach returned 6 Oh, so it didn't work in 6.x either, it just handles failure less gracefully in 7.0+? -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 14:08:09 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 518FE106566B; Wed, 28 Apr 2010 14:08:09 +0000 (UTC) (envelope-from kama@pvp.se) Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227]) by mx1.freebsd.org (Postfix) with ESMTP id C54428FC1C; Wed, 28 Apr 2010 14:08:08 +0000 (UTC) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id 77F1869; Wed, 28 Apr 2010 16:07:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id 7687A67; Wed, 28 Apr 2010 16:07:56 +0200 (CEST) Date: Wed, 28 Apr 2010 16:07:56 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: John Baldwin In-Reply-To: <201004280802.26267.jhb@freebsd.org> Message-ID: <20100428160428.R4522@ns1.as.pvp.se> References: <20100427150736.A4522@ns1.as.pvp.se> <201004271721.34248.jhb@freebsd.org> <20100428091758.F4522@ns1.as.pvp.se> <201004280802.26267.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 14:08:09 -0000 On Wed, 28 Apr 2010, John Baldwin wrote: > On Wednesday 28 April 2010 3:22:44 am kama wrote: > > > > On Tue, 27 Apr 2010, John Baldwin wrote: > > > > > On Tuesday 27 April 2010 9:30:12 am kama wrote: > > > > > > > > Hi. > > > > > > > > I have problem when probing the ciss device. Causing a kernel panic. > This > > > > happened when I upgraded from 6.3 to 7.3-stable. Booting the old kernel > > > > works. So something has changed. I am also getting the error on both the > > > > 7.3 and the 8.0 install cd's. > > > > > > > > The ciss that causing the problem is a Smart Array 6404 and its the > addon > > > > card that it faults at. The server disconnect it due to an error. But > > > > since it works on 6.3 it is something that have changed. FreeBSD should > > > > not panic, it should just disable it. > > > > > > > > Also I tried to disable the card in the BIOS, but FreeBSD try to probe > it > > > > anyway and panic. > > > > > > > > This whats comes up on a verbose boot through the ILO remote console. > > > > (typed in manually from a screenshot) > > > > > > > > ciss2: port 0x6400-0x64ff mem > > > > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill > > > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > > > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > > > > ioport > > > > ciss2: can't allocate config window > > > > kernel trap 12 with interupts disabled > > > > > > Can you get the ciss2 boot messages from a working 6.x kernel? > > > > This is the verbose boot on 6.3. > > > > FreeBSD 6.3-STABLE #3: Thu Mar 6 14:29:33 CET 2008 > > > > ciss1: 10 physical devices > > ciss1: 4 logical drives > > ciss1: logical drive (b0t0): RAID 1, 69120MB online > > ciss1: logical drive (b0t1): RAID 1, 69120MB online > > ciss1: logical drive (b0t2): RAID 1, 139776MB online > > ciss1: logical drive (b0t3): RAID 1, 139776MB online > > > > ciss2: port 0x6400-0x64ff mem > > 0xfdf70000-0xfdf71fff,0xfdf00000-0xfdf3ffff irq 98 at device 5.0 on pci11 > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > > ioport > > ciss2: can't allocate config window > > device_attach: ciss2 attach returned 6 > > Oh, so it didn't work in 6.x either, it just handles failure less gracefully > in 7.0+? No, ciss2 is disabled. The difference is that 6.x continue to boot instead of a kernel panic as in 7.x and 8.x. I dont have any disks attached to ciss2, so I dont really need it. But ciss1 and ciss2 is on the same physical card, so I cant just remove it. /Bjorn From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 14:47:20 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 415DF106566B for ; Wed, 28 Apr 2010 14:47:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 017558FC16 for ; Wed, 28 Apr 2010 14:47:20 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 7F0D746B0C; Wed, 28 Apr 2010 10:47:19 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 8D3528A027; Wed, 28 Apr 2010 10:47:18 -0400 (EDT) From: John Baldwin To: kama Date: Wed, 28 Apr 2010 10:46:33 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100427150736.A4522@ns1.as.pvp.se> <201004280802.26267.jhb@freebsd.org> <20100428160428.R4522@ns1.as.pvp.se> In-Reply-To: <20100428160428.R4522@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004281046.33874.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 28 Apr 2010 10:47:18 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-stable@freebsd.org Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 14:47:20 -0000 On Wednesday 28 April 2010 10:07:56 am kama wrote: > > On Wed, 28 Apr 2010, John Baldwin wrote: > > > On Wednesday 28 April 2010 3:22:44 am kama wrote: > > > > > > On Tue, 27 Apr 2010, John Baldwin wrote: > > > > > > > On Tuesday 27 April 2010 9:30:12 am kama wrote: > > > > > > > > > > Hi. > > > > > > > > > > I have problem when probing the ciss device. Causing a kernel panic. > > This > > > > > happened when I upgraded from 6.3 to 7.3-stable. Booting the old kernel > > > > > works. So something has changed. I am also getting the error on both the > > > > > 7.3 and the 8.0 install cd's. > > > > > > > > > > The ciss that causing the problem is a Smart Array 6404 and its the > > addon > > > > > card that it faults at. The server disconnect it due to an error. But > > > > > since it works on 6.3 it is something that have changed. FreeBSD should > > > > > not panic, it should just disable it. > > > > > > > > > > Also I tried to disable the card in the BIOS, but FreeBSD try to probe > > it > > > > > anyway and panic. > > > > > > > > > > This whats comes up on a verbose boot through the ILO remote console. > > > > > (typed in manually from a screenshot) > > > > > > > > > > ciss2: port 0x6400-0x64ff mem > > > > > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill > > > > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > > > > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > > > > > ioport > > > > > ciss2: can't allocate config window > > > > > kernel trap 12 with interupts disabled > > > > > > > > Can you get the ciss2 boot messages from a working 6.x kernel? > > > > > > This is the verbose boot on 6.3. > > > > > > FreeBSD 6.3-STABLE #3: Thu Mar 6 14:29:33 CET 2008 > > > > > > ciss1: 10 physical devices > > > ciss1: 4 logical drives > > > ciss1: logical drive (b0t0): RAID 1, 69120MB online > > > ciss1: logical drive (b0t1): RAID 1, 69120MB online > > > ciss1: logical drive (b0t2): RAID 1, 139776MB online > > > ciss1: logical drive (b0t3): RAID 1, 139776MB online > > > > > > ciss2: port 0x6400-0x64ff mem > > > 0xfdf70000-0xfdf71fff,0xfdf00000-0xfdf3ffff irq 98 at device 5.0 on pci11 > > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > > > ioport > > > ciss2: can't allocate config window > > > device_attach: ciss2 attach returned 6 > > > > Oh, so it didn't work in 6.x either, it just handles failure less gracefully > > in 7.0+? > > No, ciss2 is disabled. The difference is that 6.x continue to boot instead > of a kernel panic as in 7.x and 8.x. > > I dont have any disks attached to ciss2, so I dont really need it. But > ciss1 and ciss2 is on the same physical card, so I cant just remove it. Can you try this patch? Index: ciss.c =================================================================== --- ciss.c (revision 207062) +++ ciss.c (working copy) @@ -417,6 +417,7 @@ sc = device_get_softc(dev); sc->ciss_dev = dev; mtx_init(&sc->ciss_mtx, "cissmtx", NULL, MTX_DEF); + callout_init_mtx(&sc->ciss_periodic, &sc->ciss_mtx, 0); /* * Do PCI-specific init. @@ -429,7 +430,6 @@ */ ciss_initq_free(sc); ciss_initq_notify(sc); - callout_init_mtx(&sc->ciss_periodic, &sc->ciss_mtx, 0); /* * Initalize device sysctls. -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 15:02:30 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3652F1065672; Wed, 28 Apr 2010 15:02:30 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 63B7E8FC16; Wed, 28 Apr 2010 15:02:29 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so961965eyd.9 for ; Wed, 28 Apr 2010 08:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=nvzxeErbDJ1abb+MzWkMLq01wcvB3SVX4DJs9cxFV5w=; b=hBOdN8tmVYPADzyv3CerBDvX6vN6wudOdLG8C6zRCnjkYpLXr6wvv/pLhmNFBQ7yt3 73fFWUUH41eBq5jUuDOWZehcX32fMHtdjlC9MGKCZn8W12kX5f82VPKBwmRS2PV+Masf w2qcJyjauZLiMCwa+z94k3I8kwaA6UkF9ukyE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=VfaKdZcrLrsY2CUdlxha4ynm1Bpt8IUpQz9QgPCvAD4nV24nH9RsvBcxRQKYlbaemD qgfLH7RTYFAaSAMkQdG76Y1VApV8pzl7qJ0dOJzD+PB4jU+AVZRMsh8C5qsi+IhYRiSb s4WiPFIlkOQr9pde7QXAggTWp7ZJ9/QAmDetI= Received: by 10.103.69.16 with SMTP id w16mr4189174muk.61.1272466940687; Wed, 28 Apr 2010 08:02:20 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 12sm27509824muq.33.2010.04.28.08.02.18 (version=SSLv3 cipher=RC4-MD5); Wed, 28 Apr 2010 08:02:19 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BD84DED.2060209@FreeBSD.org> Date: Wed, 28 Apr 2010 18:02:05 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Andy Farkas References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org, Scott Long , freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 15:02:30 -0000 Andy Farkas wrote: > RELENG_8 csup'd with date=2010.02.14.00.00 works perfectly for days. > > RELENG_8 csup'd with date=2010.02.15.00.00 dead-locks the disk I/O > subsystem. Network still operational but anything needing disk hangs. > Power-cycle required. > > kernel config is GENERIC with KDB, DDB and BREAK_TO_DEBUGGER options added. > > hardware: > ahc0: port 0x4000-0x40ff mem > 0xefa00000-0xefa00fff irq 16 at device 0.0 on pci10 > ahc0: [ITHREAD] > aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs > > da0: Fixed Direct Access SCSI-3 device > da1: Fixed Direct Access SCSI-3 device > > > The dead-lock can happen at any time, but I can provoke it by running > a bonnie++ disk test. It happens doing rm -rf /usr/obj/usr and it has > happened doing a make installworld. It can survive a make buildworld > (the system runs normally until it decides to dead-lock). > > The box (HP ProLiant ML 110) has 2 scsi disks and 4 sata disks. The > 2010.02.15 kernel will run perfectly for days on the SATA disks. *Only* > when the scsi disks are accessed will the system dead-lock. Note that > the SATA disks do not work either if the system has dead-locked. > > I can provide more details and a vmcore.0 if anyone is interested. I have some 29160N locally and I'll try to reproduce this. -- Alexander Motin From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 15:41:19 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2A4D10656F6; Wed, 28 Apr 2010 15:41:19 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 24EA58FC1E; Wed, 28 Apr 2010 15:41:18 +0000 (UTC) Received: by fxm15 with SMTP id 15so570521fxm.13 for ; Wed, 28 Apr 2010 08:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=lOrbkUzseRSJyT928rwoe9Lov9H7LnfONEZZHVvjfYQ=; b=pdKkSf+ONJDBGJ85kQb3wwrLFW8TsD4i2VHBGDMq++dphVckG+4b06Xg3uvss/sXrJ fAVyMXmEDG3vcU9gww0driwk668j9NOCYwpA9O7RDJyceamVstqubYrpV9R2VS8eoMmr GMyKRhoUKZL6gzXoVTzGx/JK2KQA3V4hKZzbo= 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=A0gjH5GU9Cl/1orFzCUCajCwLOCNe+tntxu05Fer4BNM7UJRc9BNQPLFYH9LPwbBph wabcdpqlegusbTzvQ1COOrBAb6LvRffrWQD9lQq5Ryd5Ag+SEaRk87wwIR6OqLDnvL2i Dg5zLZAeHI9aDYJuB1sBLQ387NBDpeiayD/BQ= MIME-Version: 1.0 Received: by 10.223.127.196 with SMTP id h4mr399243fas.56.1272469268784; Wed, 28 Apr 2010 08:41:08 -0700 (PDT) Received: by 10.223.121.195 with HTTP; Wed, 28 Apr 2010 08:41:08 -0700 (PDT) In-Reply-To: <20100428160428.R4522@ns1.as.pvp.se> References: <20100427150736.A4522@ns1.as.pvp.se> <201004271721.34248.jhb@freebsd.org> <20100428091758.F4522@ns1.as.pvp.se> <201004280802.26267.jhb@freebsd.org> <20100428160428.R4522@ns1.as.pvp.se> Date: Wed, 28 Apr 2010 17:41:08 +0200 Message-ID: From: Giovanni Trematerra To: kama Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 15:41:19 -0000 On Wed, Apr 28, 2010 at 4:07 PM, kama wrote: > > > On Wed, 28 Apr 2010, John Baldwin wrote: > >> On Wednesday 28 April 2010 3:22:44 am kama wrote: >> > >> > On Tue, 27 Apr 2010, John Baldwin wrote: >> > >> > > On Tuesday 27 April 2010 9:30:12 am kama wrote: >> > > > >> > > > Hi. >> > > > >> > > > I have problem when probing the ciss device. Causing a kernel pani= c. >> This >> > > > happened when I upgraded from 6.3 to 7.3-stable. Booting the old k= ernel >> > > > works. So something has changed. I am also getting the error on bo= th the >> > > > 7.3 and the 8.0 install cd's. >> > > > >> > > > The ciss that causing the problem is a Smart Array 6404 and its th= e >> addon >> > > > card that it faults at. The server disconnect it due to an error. = But >> > > > since it works on 6.3 it is something that have changed. FreeBSD s= hould >> > > > not panic, it should just disable it. >> > > > >> > > > Also I tried to disable the card in the BIOS, but FreeBSD try to p= robe >> it >> > > > anyway and panic. >> > > > >> > > > This whats comes up on a verbose boot through the ILO remote conso= le. >> > > > (typed in manually from a screenshot) >> > > > >> > > > ciss2: port 0x6400-0x64ff mem >> > > > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill >> > > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 >> > > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it= is an >> > > > ioport >> > > > ciss2: can't allocate config window >> > > > kernel trap 12 with interupts disabled >> > > >> > > Can you get the ciss2 boot messages from a working 6.x kernel? >> > >> > This is the verbose boot on 6.3. >> > >> > FreeBSD 6.3-STABLE #3: Thu Mar =A06 14:29:33 CET 2008 >> > >> > ciss1: 10 physical devices >> > ciss1: 4 logical drives >> > ciss1: logical drive (b0t0): RAID 1, 69120MB online >> > ciss1: logical drive (b0t1): RAID 1, 69120MB online >> > ciss1: logical drive (b0t2): RAID 1, 139776MB online >> > ciss1: logical drive (b0t3): RAID 1, 139776MB online >> > >> > ciss2: port 0x6400-0x64ff mem >> > 0xfdf70000-0xfdf71fff,0xfdf00000-0xfdf3ffff irq 98 at device 5.0 on pc= i11 >> > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 >> > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is = an >> > ioport >> > ciss2: can't allocate config window >> > device_attach: ciss2 attach returned 6 >> >> Oh, so it didn't work in 6.x either, it just handles failure less gracef= ully >> in 7.0+? > > No, ciss2 is disabled. The difference is that 6.x continue to boot instea= d > of a kernel panic as in 7.x and 8.x. > > I dont have any disks attached to ciss2, so I dont really need it. But > ciss1 and ciss2 is on the same physical card, so I cant just remove it. > Could you try this one if you are looking for a patch to 7-STABLE. Thank you diff -r ffd3e5d37758 sys/dev/ciss/ciss.c --- a/sys/dev/ciss/ciss.c Wed Apr 28 10:20:41 2010 -0400 +++ b/sys/dev/ciss/ciss.c Wed Apr 28 11:39:05 2010 -0400 @@ -394,6 +394,8 @@ ciss_attach(device_t dev) sc =3D device_get_softc(dev); sc->ciss_dev =3D dev; + mtx_init(&sc->ciss_mtx, "cissmtx", NULL, MTX_DEF); + callout_init_mtx(&sc->ciss_periodic, &sc->ciss_mtx, 0); /* * Work out adapter type. @@ -428,8 +430,6 @@ ciss_attach(device_t dev) ciss_initq_busy(sc); ciss_initq_complete(sc); ciss_initq_notify(sc); - mtx_init(&sc->ciss_mtx, "cissmtx", NULL, MTX_DEF); - callout_init_mtx(&sc->ciss_periodic, &sc->ciss_mtx, 0); /* * Initalize device sysctls. @@ -494,8 +494,11 @@ ciss_attach(device_t dev) error =3D 0; out: - if (error !=3D 0) - ciss_free(sc); + if (error !=3D 0) { + /* ciss_free() expects the mutex to be held */ + mtx_lock(&sc->ciss_mtx); + ciss_free(sc); + } return(error); } -- Gianni From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 16:01:05 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13376106566C; Wed, 28 Apr 2010 16:01:05 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6DAEF8FC1A; Wed, 28 Apr 2010 16:01:04 +0000 (UTC) Received: by fxm15 with SMTP id 15so577504fxm.13 for ; Wed, 28 Apr 2010 09:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=C+OxWgwn7s1QQ6m5N0dd6g7Uuke2Y32+wuuYjixsxWY=; b=cJtdJFpojyOjIGfusLC8QVltTms2g4XPv2wbbR5WSvvGKgt6nipKrODqFMCJuvxyzX iCb0hBAvi4eo8DSy96vF4Ds9h2bAvCMkUVgBHecuAoCsJ6oJHm4nhuVgRdMLLrWJ4nuV Nr2EFD/Ui9JT/qfr/Yxm24yK7ySBkSyDFbagY= 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=ArwPfXCtPG41i1IzfpLOKOr1r8hWIon5Ni7c8tBOdvnApPosqzPa7Ig+2T0ZG3Ubem vx9MjFZ8MprWmAj4pVX5N1XEO9Slr7HSQwtBG2fs1BywBTzA08OJtUGd1TTB4rA2J+u+ jdtx8jgrLowYITIYOaR/gICwjWk0zVxdJ8+5c= MIME-Version: 1.0 Received: by 10.223.68.13 with SMTP id t13mr418486fai.69.1272470458434; Wed, 28 Apr 2010 09:00:58 -0700 (PDT) Received: by 10.223.121.195 with HTTP; Wed, 28 Apr 2010 09:00:58 -0700 (PDT) In-Reply-To: References: <20100427150736.A4522@ns1.as.pvp.se> <201004271721.34248.jhb@freebsd.org> <20100428091758.F4522@ns1.as.pvp.se> <201004280802.26267.jhb@freebsd.org> <20100428160428.R4522@ns1.as.pvp.se> Date: Wed, 28 Apr 2010 18:00:58 +0200 Message-ID: From: Giovanni Trematerra To: kama Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 16:01:05 -0000 On Wed, Apr 28, 2010 at 5:41 PM, Giovanni Trematerra wrote: > On Wed, Apr 28, 2010 at 4:07 PM, kama wrote: >> >> >> On Wed, 28 Apr 2010, John Baldwin wrote: >> >>> On Wednesday 28 April 2010 3:22:44 am kama wrote: >>> > >>> > On Tue, 27 Apr 2010, John Baldwin wrote: >>> > >>> > > On Tuesday 27 April 2010 9:30:12 am kama wrote: >>> > > > >>> > > > Hi. >>> > > > >>> > > > I have problem when probing the ciss device. Causing a kernel pan= ic. >>> This >>> > > > happened when I upgraded from 6.3 to 7.3-stable. Booting the old = kernel >>> > > > works. So something has changed. I am also getting the error on b= oth the >>> > > > 7.3 and the 8.0 install cd's. >>> > > > >>> > > > The ciss that causing the problem is a Smart Array 6404 and its t= he >>> addon >>> > > > card that it faults at. The server disconnect it due to an error.= But >>> > > > since it works on 6.3 it is something that have changed. FreeBSD = should >>> > > > not panic, it should just disable it. >>> > > > >>> > > > Also I tried to disable the card in the BIOS, but FreeBSD try to = probe >>> it >>> > > > anyway and panic. >>> > > > >>> > > > This whats comes up on a verbose boot through the ILO remote cons= ole. >>> > > > (typed in manually from a screenshot) >>> > > > >>> > > > ciss2: port 0x6400-0x64ff mem >>> > > > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill >>> > > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 >>> > > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says i= t is an >>> > > > ioport >>> > > > ciss2: can't allocate config window >>> > > > kernel trap 12 with interupts disabled >>> > > >>> > > Can you get the ciss2 boot messages from a working 6.x kernel? >>> > >>> > This is the verbose boot on 6.3. >>> > >>> > FreeBSD 6.3-STABLE #3: Thu Mar =A06 14:29:33 CET 2008 >>> > >>> > ciss1: 10 physical devices >>> > ciss1: 4 logical drives >>> > ciss1: logical drive (b0t0): RAID 1, 69120MB online >>> > ciss1: logical drive (b0t1): RAID 1, 69120MB online >>> > ciss1: logical drive (b0t2): RAID 1, 139776MB online >>> > ciss1: logical drive (b0t3): RAID 1, 139776MB online >>> > >>> > ciss2: port 0x6400-0x64ff mem >>> > 0xfdf70000-0xfdf71fff,0xfdf00000-0xfdf3ffff irq 98 at device 5.0 on p= ci11 >>> > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 >>> > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is= an >>> > ioport >>> > ciss2: can't allocate config window >>> > device_attach: ciss2 attach returned 6 >>> >>> Oh, so it didn't work in 6.x either, it just handles failure less grace= fully >>> in 7.0+? >> >> No, ciss2 is disabled. The difference is that 6.x continue to boot inste= ad >> of a kernel panic as in 7.x and 8.x. >> >> I dont have any disks attached to ciss2, so I dont really need it. But >> ciss1 and ciss2 is on the same physical card, so I cant just remove it. >> > > Could you try this one if you are looking for a patch to 7-STABLE. > > Thank you > [snip patch] I think it's worth to have mtx_assert(&sc->ciss_mtx, MA_OWNED); in ciss_free just to be on safe side. -- Gianni From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 16:06:28 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E859C106566C; Wed, 28 Apr 2010 16:06:27 +0000 (UTC) (envelope-from kama@pvp.se) Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227]) by mx1.freebsd.org (Postfix) with ESMTP id 761C08FC24; Wed, 28 Apr 2010 16:06:27 +0000 (UTC) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id 11C4675; Wed, 28 Apr 2010 18:06:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id 1035074; Wed, 28 Apr 2010 18:06:26 +0200 (CEST) Date: Wed, 28 Apr 2010 18:06:26 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: Giovanni Trematerra In-Reply-To: Message-ID: <20100428180600.V4522@ns1.as.pvp.se> References: <20100427150736.A4522@ns1.as.pvp.se> <201004271721.34248.jhb@freebsd.org> <20100428091758.F4522@ns1.as.pvp.se> <201004280802.26267.jhb@freebsd.org> <20100428160428.R4522@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 16:06:28 -0000 On Wed, 28 Apr 2010, Giovanni Trematerra wrote: > On Wed, Apr 28, 2010 at 5:41 PM, Giovanni Trematerra > wrote: > > On Wed, Apr 28, 2010 at 4:07 PM, kama wrote: > >> > >> > >> On Wed, 28 Apr 2010, John Baldwin wrote: > >> > >>> On Wednesday 28 April 2010 3:22:44 am kama wrote: > >>> > > >>> > On Tue, 27 Apr 2010, John Baldwin wrote: > >>> > > >>> > > On Tuesday 27 April 2010 9:30:12 am kama wrote: > >>> > > > > >>> > > > Hi. > >>> > > > > >>> > > > I have problem when probing the ciss device. Causing a kernel panic. > >>> This > >>> > > > happened when I upgraded from 6.3 to 7.3-stable. Booting the old kernel > >>> > > > works. So something has changed. I am also getting the error on both the > >>> > > > 7.3 and the 8.0 install cd's. > >>> > > > > >>> > > > The ciss that causing the problem is a Smart Array 6404 and its the > >>> addon > >>> > > > card that it faults at. The server disconnect it due to an error. But > >>> > > > since it works on 6.3 it is something that have changed. FreeBSD should > >>> > > > not panic, it should just disable it. > >>> > > > > >>> > > > Also I tried to disable the card in the BIOS, but FreeBSD try to probe > >>> it > >>> > > > anyway and panic. > >>> > > > > >>> > > > This whats comes up on a verbose boot through the ILO remote console. > >>> > > > (typed in manually from a screenshot) > >>> > > > > >>> > > > ciss2: port 0x6400-0x64ff mem > >>> > > > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill > >>> > > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > >>> > > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > >>> > > > ioport > >>> > > > ciss2: can't allocate config window > >>> > > > kernel trap 12 with interupts disabled > >>> > > > >>> > > Can you get the ciss2 boot messages from a working 6.x kernel? > >>> > > >>> > This is the verbose boot on 6.3. > >>> > > >>> > FreeBSD 6.3-STABLE #3: Thu Mar  6 14:29:33 CET 2008 > >>> > > >>> > ciss1: 10 physical devices > >>> > ciss1: 4 logical drives > >>> > ciss1: logical drive (b0t0): RAID 1, 69120MB online > >>> > ciss1: logical drive (b0t1): RAID 1, 69120MB online > >>> > ciss1: logical drive (b0t2): RAID 1, 139776MB online > >>> > ciss1: logical drive (b0t3): RAID 1, 139776MB online > >>> > > >>> > ciss2: port 0x6400-0x64ff mem > >>> > 0xfdf70000-0xfdf71fff,0xfdf00000-0xfdf3ffff irq 98 at device 5.0 on pci11 > >>> > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > >>> > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > >>> > ioport > >>> > ciss2: can't allocate config window > >>> > device_attach: ciss2 attach returned 6 > >>> > >>> Oh, so it didn't work in 6.x either, it just handles failure less gracefully > >>> in 7.0+? > >> > >> No, ciss2 is disabled. The difference is that 6.x continue to boot instead > >> of a kernel panic as in 7.x and 8.x. > >> > >> I dont have any disks attached to ciss2, so I dont really need it. But > >> ciss1 and ciss2 is on the same physical card, so I cant just remove it. > >> > > > > Could you try this one if you are looking for a patch to 7-STABLE. > > > > Thank you > > > > [snip patch] > > I think it's worth to have > > mtx_assert(&sc->ciss_mtx, MA_OWNED); > > in ciss_free just to be on safe side. Where in ciss_free()? /Bjorn From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 16:37:45 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D229106566C; Wed, 28 Apr 2010 16:37:45 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 8987B8FC16; Wed, 28 Apr 2010 16:37:44 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1O7AGM-000B3w-99; Wed, 28 Apr 2010 17:37:26 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O7AGM-0005ux-8E; Wed, 28 Apr 2010 17:37:26 +0100 Date: Wed, 28 Apr 2010 17:37:26 +0100 Message-Id: To: chuzzwassa@gmail.com, mav@FreeBSD.org In-Reply-To: <4BD84DED.2060209@FreeBSD.org> From: Pete French Cc: freebsd-scsi@freebsd.org, scottl@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 16:37:45 -0000 > I have some 29160N locally and I'll try to reproduce this. I would suggest you try gmirror across two drives - that is how both myself and the original poster first noticed the issue. cheers, -pete. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 17:38:16 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87273106564A; Wed, 28 Apr 2010 17:38:16 +0000 (UTC) (envelope-from kama@pvp.se) Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227]) by mx1.freebsd.org (Postfix) with ESMTP id DC17B8FC1F; Wed, 28 Apr 2010 17:38:15 +0000 (UTC) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id 221E167; Wed, 28 Apr 2010 19:38:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id 1CE7860; Wed, 28 Apr 2010 19:38:15 +0200 (CEST) Date: Wed, 28 Apr 2010 19:38:15 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: Giovanni Trematerra In-Reply-To: Message-ID: <20100428190652.Y4522@ns1.as.pvp.se> References: <20100427150736.A4522@ns1.as.pvp.se> <201004271721.34248.jhb@freebsd.org> <20100428091758.F4522@ns1.as.pvp.se> <201004280802.26267.jhb@freebsd.org> <20100428160428.R4522@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 17:38:16 -0000 On Wed, 28 Apr 2010, Giovanni Trematerra wrote: > On Wed, Apr 28, 2010 at 4:07 PM, kama wrote: > > > > > > On Wed, 28 Apr 2010, John Baldwin wrote: > > > >> On Wednesday 28 April 2010 3:22:44 am kama wrote: > >> > > >> > On Tue, 27 Apr 2010, John Baldwin wrote: > >> > > >> > > On Tuesday 27 April 2010 9:30:12 am kama wrote: > >> > > > > >> > > > Hi. > >> > > > > >> > > > I have problem when probing the ciss device. Causing a kernel panic. > >> This > >> > > > happened when I upgraded from 6.3 to 7.3-stable. Booting the old kernel > >> > > > works. So something has changed. I am also getting the error on both the > >> > > > 7.3 and the 8.0 install cd's. > >> > > > > >> > > > The ciss that causing the problem is a Smart Array 6404 and its the > >> addon > >> > > > card that it faults at. The server disconnect it due to an error. But > >> > > > since it works on 6.3 it is something that have changed. FreeBSD should > >> > > > not panic, it should just disable it. > >> > > > > >> > > > Also I tried to disable the card in the BIOS, but FreeBSD try to probe > >> it > >> > > > anyway and panic. > >> > > > > >> > > > This whats comes up on a verbose boot through the ILO remote console. > >> > > > (typed in manually from a screenshot) > >> > > > > >> > > > ciss2: port 0x6400-0x64ff mem > >> > > > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill > >> > > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > >> > > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > >> > > > ioport > >> > > > ciss2: can't allocate config window > >> > > > kernel trap 12 with interupts disabled > >> > > > >> > > Can you get the ciss2 boot messages from a working 6.x kernel? > >> > > >> > This is the verbose boot on 6.3. > >> > > >> > FreeBSD 6.3-STABLE #3: Thu Mar  6 14:29:33 CET 2008 > >> > > >> > ciss1: 10 physical devices > >> > ciss1: 4 logical drives > >> > ciss1: logical drive (b0t0): RAID 1, 69120MB online > >> > ciss1: logical drive (b0t1): RAID 1, 69120MB online > >> > ciss1: logical drive (b0t2): RAID 1, 139776MB online > >> > ciss1: logical drive (b0t3): RAID 1, 139776MB online > >> > > >> > ciss2: port 0x6400-0x64ff mem > >> > 0xfdf70000-0xfdf71fff,0xfdf00000-0xfdf3ffff irq 98 at device 5.0 on pci11 > >> > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > >> > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > >> > ioport > >> > ciss2: can't allocate config window > >> > device_attach: ciss2 attach returned 6 > >> > >> Oh, so it didn't work in 6.x either, it just handles failure less gracefully > >> in 7.0+? > > > > No, ciss2 is disabled. The difference is that 6.x continue to boot instead > > of a kernel panic as in 7.x and 8.x. > > > > I dont have any disks attached to ciss2, so I dont really need it. But > > ciss1 and ciss2 is on the same physical card, so I cant just remove it. > > > > Could you try this one if you are looking for a patch to 7-STABLE. > > Thank you > > diff -r ffd3e5d37758 sys/dev/ciss/ciss.c > --- a/sys/dev/ciss/ciss.c Wed Apr 28 10:20:41 2010 -0400 > +++ b/sys/dev/ciss/ciss.c Wed Apr 28 11:39:05 2010 -0400 > @@ -394,6 +394,8 @@ ciss_attach(device_t dev) > > sc = device_get_softc(dev); > sc->ciss_dev = dev; > + mtx_init(&sc->ciss_mtx, "cissmtx", NULL, MTX_DEF); > + callout_init_mtx(&sc->ciss_periodic, &sc->ciss_mtx, 0); > > /* > * Work out adapter type. > @@ -428,8 +430,6 @@ ciss_attach(device_t dev) > ciss_initq_busy(sc); > ciss_initq_complete(sc); > ciss_initq_notify(sc); > - mtx_init(&sc->ciss_mtx, "cissmtx", NULL, MTX_DEF); > - callout_init_mtx(&sc->ciss_periodic, &sc->ciss_mtx, 0); > > /* > * Initalize device sysctls. > @@ -494,8 +494,11 @@ ciss_attach(device_t dev) > > error = 0; > out: > - if (error != 0) > - ciss_free(sc); > + if (error != 0) { > + /* ciss_free() expects the mutex to be held */ > + mtx_lock(&sc->ciss_mtx); > + ciss_free(sc); > + } > return(error); > } > This patch made the system boot again. FreeBSD 7.3-STABLE #2: Wed Apr 28 19:17:43 CEST 2010 ciss1: 4 logical drives ciss1: logical drive (b0t0): RAID 1, 69120MB online ciss1: logical drive (b0t1): RAID 1, 69120MB online ciss1: logical drive (b0t2): RAID 1, 139776MB online ciss1: logical drive (b0t3): RAID 1, 139776MB online ciss2: port 0x6400-0x64ff mem 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pci11 ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an ioport ciss2: can't allocate config window device_attach: ciss2 attach returned 6 uhci0: port 0x2000-0x201f irq 16 at device 29.0 on pci0 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0x2000 ioapic0: routing intpin 16 (PCI IRQ 16) to vector 55 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 Thank you both for looking in to it and making such a fast fix! Now Im off to upgrade to 8.0-STABLE if I find what to edit. Or if you want to send a patch. /Bjorn From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 18:27:31 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F6BA1065672 for ; Wed, 28 Apr 2010 18:27:31 +0000 (UTC) (envelope-from gbell72@rogers.com) Received: from smtp102.rog.mail.re2.yahoo.com (smtp102.rog.mail.re2.yahoo.com [206.190.36.80]) by mx1.freebsd.org (Postfix) with SMTP id 297D08FC12 for ; Wed, 28 Apr 2010 18:27:30 +0000 (UTC) Received: (qmail 99430 invoked from network); 28 Apr 2010 18:27:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:Content-Disposition:User-Agent; b=V3owdSJXGm74biiIOocAAR+mRFKep9z0WIVrdBEs5Ct9kF90Dh9DsoVP3m5PJ7r+p7EAPjYRbvES3jrWlwtsV9rW94G66IGBQTRNyDQVhYhPvqTV/lFnlsNYzPuNpAVPaPpPvvm5kwoQQcNyBtSf7ngj5SKIcgKyd0DPkG4CoaQ= ; Received: from titan.home.lan (gbell72@99.233.37.65 with login) by smtp102.rog.mail.re2.yahoo.com with SMTP; 28 Apr 2010 11:27:25 -0700 PDT X-Yahoo-SMTP: vhm.KweswBB8JGCDQo2eYyVHJ4NQ9hKLMsE.Tsw.BQ-- X-YMail-OSG: gNHesyUVM1nOPnFrwgvqUxEOg3HP4f6i5JT6AgqBCM9U.tTmA11Yl66iDugZJyCdxWxN8XBt3DWNtzv3tkPTNjuqM8hG_s.6zj4g3LEugv90qZzGpTchivEikmhvPxaF_0OG0fJcPxJ9uNDG4iHd4bAh9xijDd9vnAIGAI_39A2tlC7TnwJfm1gc8whgEDHu3pQKJGcu7b6L12u3K5RBb1QhB9p5NpH.uc3RcL.LrcBfdXBkL4zKxhPp1ianqWLZrUoCEWfv.GGJ6FmyPdStc1XnZAtR0xUggAdEVBoCpJ1LYZc0lHNK.2sGWhhexIeXMQaxxk_mA5RhspJlSQH2y4oVJBVagTphZlooogz5GRPnzRK5ykRaGe0ub.ctqdN4UrmP8Ufqm5tu4J17LBG2 X-Yahoo-Newman-Property: ymail-3 Received: by titan.home.lan (Postfix, from userid 1001) id BB95317838; Wed, 28 Apr 2010 14:25:56 -0400 (EDT) Date: Wed, 28 Apr 2010 14:25:56 -0400 From: Gardner Bell To: freebsd-stable@freebsd.org Message-ID: <20100428182556.GA1730@titan.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: BCM5704 routing problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 18:27:31 -0000 I upgraded my gateway last week to RELENG_8 and noticed that I can no longer forward or receive IP packets from hosts on internal LAN. When trying to ping a host or the gateway IP itself, you get. # ping 192.168.1.10 PING 192.168.1.10 (192.168.1.10): 56 data bytes ^C --- 192.168.1.10 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss All rc.conf files on gateway and hosts themselves had correct settings. bge1@pci0:10:9:1: class=0x020000 card=0x164414e4 chip=0x164814e4 rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' device = 'NetXtreme Dual Gigabit Adapter (BCM5704)' class = network subclass = ethernet bar [10] = type Memory, range 64, base 0xdf330000, size 65536, enabled bar [18] = type Memory, range 64, base 0xdf320000, size 65536, enabled cap 07[40] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split transaction cap 01[48] = powerspec 2 supports D0 D3 current D0 cap 03[50] = VPD cap 05[58] = MSI supports 8 messages, 64 bit Previously I was running 7.2 as gateway and never encountered any problems. I've since gone back to release 7.3 and routing works as expected. Any input would be appreciated. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 18:49:45 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D9C61065670; Wed, 28 Apr 2010 18:49:45 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC508FC18; Wed, 28 Apr 2010 18:49:44 +0000 (UTC) Received: by wwb17 with SMTP id 17so743873wwb.13 for ; Wed, 28 Apr 2010 11:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=Y1rGWbLtEKUd/fwU0TVE7taGaQC+RUdQy4b92ZZiOPE=; b=KrNFdp9vyNjjOOpXQAzXDOc9PHPONdaqsYrTW80BHlDH88HJRJUy8tBw3SJdPO/7Yp /lIYoIWwyR0fG9rkPAL8mq//IsRY8lBYjF+rrT3G1Oq9qEKFBgGa8zBx7Zk12JGkUl+D uvpGBC0Z5asF2UMkJ5T3MooPayl/nICuVCQ2w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=pNo7KPNU0MBZam0MSpIsRKCtb7WHk90QVcj5DUYzFQEu5slJwza2V6N9argErPj7vY /qingIW5q9FiJsqKwIicbfMoAFB92Wz6I7RJuvHfkUaPJvZl3opXzxrAn4FNxMjCPFcq /KPQbpHdFG2do+eKVezPQ4fo43Nu/V3zuP8Tc= Received: by 10.216.90.137 with SMTP id e9mr2019735wef.38.1272480577462; Wed, 28 Apr 2010 11:49:37 -0700 (PDT) Received: from Melon.malikania.fr (121.21.102-84.rev.gaoland.net [84.102.21.121]) by mx.google.com with ESMTPS id k13sm80371wed.23.2010.04.28.11.49.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Apr 2010 11:49:36 -0700 (PDT) Date: Wed, 28 Apr 2010 20:49:33 +0200 From: Demelier David To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Message-ID: <20100428184933.GA27186@Melon.malikania.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: buildworld fails on ifmcstat X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 18:49:45 -0000 Hi, I tried to make buildworld with a custom src.conf to prevent many useless things since I want to build for a jail. This is what I added: .if defined(BUILD_JAIL) WITHOUT_ACPI="YES" WITHOUT_APM="YES" WITHOUT_GAMES="YES" WITHOUT_AMD="YES" WITHOUT_AUTHPF="YES" WITHOUT_AUDIT="YES" WITHOUT_BLUETOOTH="YES" WITHOUT_BOOT="YES" WITHOUT_BSNMP="YES" WITHOUT_CDDL="YES" WITHOUT_DICT="YES" WITHOUT_EXAMPLES="YES" WITHOUT_FORTH="YES" WITHOUT_GCOV="YES" WITHOUT_FLOPPY="YES" WITHOUT_GPIB="YES" WITHOUT_HTML="YES" WITHOUT_IPFILTER="YES" WITHOUT_IPX="YES" WITHOUT_IPFW="YES" WITHOUT_JAIL="YES" WITHOUT_KVM="YES" WITHOUT_LEGACY_CONSOLE="YES" WITHOUT_LIB32="YES" WITHOUT_LPR="YES" WITHOUT_NDIS="YES" WITHOUT_NETCAT="YES" WITHOUT_NETGRAPH="YES" WITHOUT_NIS="YES" WITHOUT_NTP="YES" WITHOUT_PF="YES" WITHOUT_PORTSNAP="YES" WITHOUT_PPP="YES" WITHOUT_QUOTAS="YES" WITHOUT_SENDMAIL="YES" WITHOUT_RESCUE="YES" WITHOUT_SHAREDOCS="YES" WITHOUT_SYSCONS="YES" WITHOUT_SYSINSTALL="YES" WITHOUT_USB="YES" WITHOUT_WIRELESS="YES" .endif make BUILD_JAIL=yes buildworld now fails on : ===> usr.sbin/ifmcstat (all) cc -O2 -pipe -DINET6 -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/usr.sbin/ifmcstat/ifmcstat.c cc1: warnings being treated as errors /usr/src/usr.sbin/ifmcstat/ifmcstat.c:170: warning: 'in6_ifinfo' used but never defined *** Error code 1 Is my src.conf wrong ? King regards, David. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 19:06:21 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8EE41065674; Wed, 28 Apr 2010 19:06:20 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 741D78FC0A; Wed, 28 Apr 2010 19:06:20 +0000 (UTC) Received: by qyk11 with SMTP id 11so18560449qyk.13 for ; Wed, 28 Apr 2010 12:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dkxbZtTwHauUQEzVKbUfNWAmIgy8Mtv+399O3Hp9p7Y=; b=DLiks5NRz12eicraSq5pZi5jCRnFNXdPktYl29dyTckciFf/wbJEV3cW2YlfpMrcCX BQDEGSEzzBP6kaHZCVgb1oxznoGRtekkpYCjxuO6NBtJ4Cax5q7ONC88czfSpt529B/u jnKaDiUhn0FPBsgl/LZ77TuRvhaaeuFAcCAS0= 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=cJlszrHzqBxhgDuL6CjUf1oajS5RzFREeUVcj9PHG+T3BxQH2vFvaX8BtI/qA8xy+V Cb0OY2n4Rl86IDqvhmREky5BSAct4uXugRGBOp8yIZj6xd5YT7kOYzAE9V22Oz9AsBGj HCCW+oJdGJuODFLEAXol9AnEct9etAqgfbhzM= MIME-Version: 1.0 Received: by 10.229.235.193 with SMTP id kh1mr9851291qcb.106.1272481572640; Wed, 28 Apr 2010 12:06:12 -0700 (PDT) Received: by 10.229.233.11 with HTTP; Wed, 28 Apr 2010 12:06:12 -0700 (PDT) In-Reply-To: <20100428184933.GA27186@Melon.malikania.fr> References: <20100428184933.GA27186@Melon.malikania.fr> Date: Wed, 28 Apr 2010 12:06:12 -0700 Message-ID: From: Garrett Cooper To: Demelier David Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, bms@freebsd.org, freebsd-questions@freebsd.org Subject: Re: buildworld fails on ifmcstat X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 19:06:21 -0000 On Wed, Apr 28, 2010 at 11:49 AM, Demelier David wrote: > Hi, > =A0 =A0 =A0 =A0I tried to make buildworld with a custom src.conf to preve= nt many > =A0 =A0 =A0 =A0useless things since I want to build for a jail. > > =A0 =A0 =A0 =A0This is what I added: > > =A0 =A0 =A0 =A0.if defined(BUILD_JAIL) > =A0 =A0 =A0 =A0WITHOUT_ACPI=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_APM=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_GAMES=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_AMD=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_AUTHPF=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_AUDIT=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_BLUETOOTH=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_BOOT=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_BSNMP=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_CDDL=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_DICT=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_EXAMPLES=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_FORTH=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_GCOV=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_FLOPPY=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_GPIB=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_HTML=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_IPFILTER=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_IPX=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_IPFW=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_JAIL=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_KVM=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_LEGACY_CONSOLE=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_LIB32=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_LPR=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_NDIS=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_NETCAT=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_NETGRAPH=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_NIS=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_NTP=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_PF=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_PORTSNAP=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_PPP=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_QUOTAS=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_SENDMAIL=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_RESCUE=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_SHAREDOCS=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_SYSCONS=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_SYSINSTALL=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_USB=3D"YES" > =A0 =A0 =A0 =A0WITHOUT_WIRELESS=3D"YES" > =A0 =A0 =A0 =A0.endif > > =A0 =A0 =A0 =A0make BUILD_JAIL=3Dyes buildworld now fails on : > > =A0 =A0 =A0 =A0=3D=3D=3D> usr.sbin/ifmcstat (all) > =A0 =A0 =A0 =A0cc -O2 -pipe =A0-DINET6 -std=3Dgnu99 -fstack-protector -Ws= ystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer= -sign -c /usr/src/usr.sbin/ifmcstat/ifmcstat.c > =A0 =A0 =A0 =A0cc1: warnings being treated as errors > =A0 =A0 =A0 =A0/usr/src/usr.sbin/ifmcstat/ifmcstat.c:170: warning: 'in6_i= finfo' used but never defined > =A0 =A0 =A0 =A0*** Error code 1 I would avoid the cross-post next time. The issue might be that that application should be properly compiled when WITHOUT_INET6 is specified, but it's kind of odd though because you don't have that specified above... If you looked through the source around line 170 you'll find out that that function requires WITH_KVM to be defined as well in order for you to use the function definition (and not just the prototype). I've CCed bms@ for assistance. Thanks, -Garrett From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 19:19:03 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 651091065672 for ; Wed, 28 Apr 2010 19:19:03 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 4D0058FC37 for ; Wed, 28 Apr 2010 19:19:02 +0000 (UTC) Received: from omta10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by qmta06.emeryville.ca.mail.comcast.net with comcast id AzwZ1e0040cQ2SLA67K3g8; Wed, 28 Apr 2010 19:19:03 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta10.emeryville.ca.mail.comcast.net with comcast id B7K21e00V3S48mS8W7K3UW; Wed, 28 Apr 2010 19:19:03 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 821AE9B425; Wed, 28 Apr 2010 12:19:01 -0700 (PDT) Date: Wed, 28 Apr 2010 12:19:01 -0700 From: Jeremy Chadwick To: Gardner Bell Message-ID: <20100428191901.GA30062@icarus.home.lan> References: <20100428182556.GA1730@titan.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100428182556.GA1730@titan.home.lan> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: BCM5704 routing problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 19:19:03 -0000 On Wed, Apr 28, 2010 at 02:25:56PM -0400, Gardner Bell wrote: > I upgraded my gateway last week to RELENG_8 and noticed that I can no > longer forward or receive IP packets from hosts on internal LAN. When > trying to ping a host or the gateway IP itself, you get. > > # ping 192.168.1.10 > PING 192.168.1.10 (192.168.1.10): 56 data bytes > ^C > > --- 192.168.1.10 ping statistics --- > 5 packets transmitted, 0 packets received, 100% packet loss > > All rc.conf files on gateway and hosts themselves had correct settings. > > bge1@pci0:10:9:1: class=0x020000 card=0x164414e4 chip=0x164814e4 > rev=0x03 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'NetXtreme Dual Gigabit Adapter (BCM5704)' > class = network > subclass = ethernet > bar [10] = type Memory, range 64, base 0xdf330000, size 65536, > enabled > bar [18] = type Memory, range 64, base 0xdf320000, size 65536, > enabled > cap 07[40] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split > transaction > cap 01[48] = powerspec 2 supports D0 D3 current D0 > cap 03[50] = VPD > cap 05[58] = MSI supports 8 messages, 64 bit > > Previously I was running 7.2 as gateway and never encountered any > problems. I've since gone back to release 7.3 and routing works as > expected. > > Any input would be appreciated. Output from the following when the machine is running RELENG_8: - ifconfig -a - netstat -i - netstat -rn - sysctl -a | grep bge - Contents of /etc/rc.conf -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 19:26:37 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CDD9106566B for ; Wed, 28 Apr 2010 19:26:37 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id DF7DA8FC08 for ; Wed, 28 Apr 2010 19:26:36 +0000 (UTC) Received: from omta14.westchester.pa.mail.comcast.net ([76.96.62.60]) by qmta02.westchester.pa.mail.comcast.net with comcast id B50A1e0061HzFnQ527ScuH; Wed, 28 Apr 2010 19:26:37 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta14.westchester.pa.mail.comcast.net with comcast id B7Sb1e00e3S48mS3a7Scgm; Wed, 28 Apr 2010 19:26:36 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id A9CFD9B425; Wed, 28 Apr 2010 12:26:34 -0700 (PDT) Date: Wed, 28 Apr 2010 12:26:34 -0700 From: Jeremy Chadwick To: Gardner Bell Message-ID: <20100428192634.GA30303@icarus.home.lan> References: <20100428182556.GA1730@titan.home.lan> <20100428191901.GA30062@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100428191901.GA30062@icarus.home.lan> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: BCM5704 routing problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 19:26:37 -0000 On Wed, Apr 28, 2010 at 12:19:01PM -0700, Jeremy Chadwick wrote: > On Wed, Apr 28, 2010 at 02:25:56PM -0400, Gardner Bell wrote: > > I upgraded my gateway last week to RELENG_8 and noticed that I can no > > longer forward or receive IP packets from hosts on internal LAN. When > > trying to ping a host or the gateway IP itself, you get. > > > > # ping 192.168.1.10 > > PING 192.168.1.10 (192.168.1.10): 56 data bytes > > ^C > > > > --- 192.168.1.10 ping statistics --- > > 5 packets transmitted, 0 packets received, 100% packet loss > > > > All rc.conf files on gateway and hosts themselves had correct settings. > > > > bge1@pci0:10:9:1: class=0x020000 card=0x164414e4 chip=0x164814e4 > > rev=0x03 hdr=0x00 > > vendor = 'Broadcom Corporation' > > device = 'NetXtreme Dual Gigabit Adapter (BCM5704)' > > class = network > > subclass = ethernet > > bar [10] = type Memory, range 64, base 0xdf330000, size 65536, > > enabled > > bar [18] = type Memory, range 64, base 0xdf320000, size 65536, > > enabled > > cap 07[40] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split > > transaction > > cap 01[48] = powerspec 2 supports D0 D3 current D0 > > cap 03[50] = VPD > > cap 05[58] = MSI supports 8 messages, 64 bit > > > > Previously I was running 7.2 as gateway and never encountered any > > problems. I've since gone back to release 7.3 and routing works as > > expected. > > > > Any input would be appreciated. > > Output from the following when the machine is running RELENG_8: > > - ifconfig -a > - netstat -i > - netstat -rn > - sysctl -a | grep bge > - Contents of /etc/rc.conf I forgot one more: dmesg | grep -C 10 bge1 -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 19:34:59 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56FF6106566C for ; Wed, 28 Apr 2010 19:34:59 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0B78FC1B for ; Wed, 28 Apr 2010 19:34:59 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L1L0054YQE90S20@asmtp026.mac.com> for freebsd-stable@freebsd.org; Wed, 28 Apr 2010 12:34:58 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1004280160 From: Marcel Moolenaar In-reply-to: Date: Wed, 28 Apr 2010 12:34:57 -0700 Message-id: <89F0A5CD-D4EB-447C-801F-A3BF750FB475@mac.com> References: <20100427194725.GA14112@psconsult.nl> To: Artem Belevich X-Mailer: Apple Mail (2.1078) Cc: freebsd-stable@freebsd.org Subject: Re: puc(4) timedia baudrate problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 19:34:59 -0000 On Apr 27, 2010, at 10:10 PM, Artem Belevich wrote: > I've got another PCI UART card based on OX16PCI952 that needs its > clock multiplied by 8 in order to work correctly. It was some > el-cheapo card I've got at Fry's. > > puc0@pci0:1:0:0: class=0x070006 card=0x00011415 chip=0x95211415 > rev=0x00 hdr=0x00 > vendor = 'Oxford Semiconductor Ltd' > device = 'OX16PCI952 Integrated Dual UART' > class = simple comms > subclass = UART > bar [10] = type I/O Port, range 32, base 0xd480, size 8, enabled > bar [14] = type I/O Port, range 32, base 0xd400, size 8, enabled > bar [18] = type I/O Port, range 32, base 0xd080, size 32, enabled > bar [1c] = type Memory, range 32, base 0xf9ffd000, size 4096, enabled > bar [20] = type Memory, range 32, base 0xf9ffc000, size 4096, enabled > > Perhaps we can add some sort of tunable to override UART clock, if necessary? That's a good idea. I've seen with the Oxford that the RCLK can different even for the same vendor/device ID. There's no way for us to do the right thing. This may also be the case for Timedia chipsets... -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 20:12:52 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9810E106564A; Wed, 28 Apr 2010 20:12:52 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id C83448FC1F; Wed, 28 Apr 2010 20:12:51 +0000 (UTC) Received: by ewy24 with SMTP id 24so4679723ewy.33 for ; Wed, 28 Apr 2010 13:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=KFSXfE729MXBYt1OU/QJBsqiLXTMKoBQ3wRmXoTjnho=; b=HWfOZokoTjoF6GSEw186IorNT9g9QhMKBM/rAc9X7vI3wJYCWvE3/Y5txnhSM0DxNj FUAFIEQEBMJNQWYP+svB/birfd5l3Vx5jeEyFesg4oPNUivwp/shGP5GKKDyBbejrqz3 g90XueIfZlET1VJDzXG9PhA+Oj7oOi4HqTu6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=hErb7r9n045z+4+CBz3Mc+HjhfUX48jUxLlsPpgQrvNO7IGnuD/6GNNNgcFw+tqSl4 BmclkJmre4wasgA0CuEGc3xN6UnawDGSxEnmseNbSycMVcaFba09JYxbt9YbvQiOjrdC hnRpHHW0UhofuGfVeFrcZ9wkgpkMyOHLEUS2c= Received: by 10.103.133.7 with SMTP id k7mr4387382mun.128.1272485565627; Wed, 28 Apr 2010 13:12:45 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id e8sm746290muf.39.2010.04.28.13.12.41 (version=SSLv3 cipher=RC4-MD5); Wed, 28 Apr 2010 13:12:42 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BD896AC.4080509@FreeBSD.org> Date: Wed, 28 Apr 2010 23:12:28 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Pete French References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org, chuzzwassa@gmail.com, scottl@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 20:12:52 -0000 Pete French wrote: >> I have some 29160N locally and I'll try to reproduce this. > > I would suggest you try gmirror across two drives - that is how > both myself and the original poster first noticed the issue. Thanks. First step successful - I can steadily reproduce problem on CURRENT. raidtest with 200 I/O streams over gmirror of two disks on same channel triggers issue in seconds. Any I/O on channel dying after both disks report "Queue full" error same time. The rest of system works fine. If I preliminarily manually adjust queue depth of one disk - everything works fine. I'll investigate it tomorrow. -- Alexander Motin From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 20:13:35 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E95B91065673 for ; Wed, 28 Apr 2010 20:13:35 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id A93B08FC26 for ; Wed, 28 Apr 2010 20:13:35 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id C46F846B03; Wed, 28 Apr 2010 16:13:34 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 2C1CE8A01F; Wed, 28 Apr 2010 16:13:22 -0400 (EDT) From: John Baldwin To: kama Date: Wed, 28 Apr 2010 14:50:56 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100427150736.A4522@ns1.as.pvp.se> <20100428190652.Y4522@ns1.as.pvp.se> In-Reply-To: <20100428190652.Y4522@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004281450.56272.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 28 Apr 2010 16:13:22 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Giovanni Trematerra , freebsd-stable@freebsd.org Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 20:13:36 -0000 On Wednesday 28 April 2010 1:38:15 pm kama wrote: > > On Wed, 28 Apr 2010, Giovanni Trematerra wrote: > > > On Wed, Apr 28, 2010 at 4:07 PM, kama wrote: > > > > > > > > > On Wed, 28 Apr 2010, John Baldwin wrote: > > > > > >> On Wednesday 28 April 2010 3:22:44 am kama wrote: > > >> > > > >> > On Tue, 27 Apr 2010, John Baldwin wrote: > > >> > > > >> > > On Tuesday 27 April 2010 9:30:12 am kama wrote: > > >> > > > > > >> > > > Hi. > > >> > > > > > >> > > > I have problem when probing the ciss device. Causing a kernel panic. > > >> This > > >> > > > happened when I upgraded from 6.3 to 7.3-stable. Booting the old kernel > > >> > > > works. So something has changed. I am also getting the error on both the > > >> > > > 7.3 and the 8.0 install cd's. > > >> > > > > > >> > > > The ciss that causing the problem is a Smart Array 6404 and its the > > >> addon > > >> > > > card that it faults at. The server disconnect it due to an error. But > > >> > > > since it works on 6.3 it is something that have changed. FreeBSD should > > >> > > > not panic, it should just disable it. > > >> > > > > > >> > > > Also I tried to disable the card in the BIOS, but FreeBSD try to probe > > >> it > > >> > > > anyway and panic. > > >> > > > > > >> > > > This whats comes up on a verbose boot through the ILO remote console. > > >> > > > (typed in manually from a screenshot) > > >> > > > > > >> > > > ciss2: port 0x6400-0x64ff mem > > >> > > > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill > > >> > > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > > >> > > > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > > >> > > > ioport > > >> > > > ciss2: can't allocate config window > > >> > > > kernel trap 12 with interupts disabled > > >> > > > > >> > > Can you get the ciss2 boot messages from a working 6.x kernel? > > >> > > > >> > This is the verbose boot on 6.3. > > >> > > > >> > FreeBSD 6.3-STABLE #3: Thu Mar 6 14:29:33 CET 2008 > > >> > > > >> > ciss1: 10 physical devices > > >> > ciss1: 4 logical drives > > >> > ciss1: logical drive (b0t0): RAID 1, 69120MB online > > >> > ciss1: logical drive (b0t1): RAID 1, 69120MB online > > >> > ciss1: logical drive (b0t2): RAID 1, 139776MB online > > >> > ciss1: logical drive (b0t3): RAID 1, 139776MB online > > >> > > > >> > ciss2: port 0x6400-0x64ff mem > > >> > 0xfdf70000-0xfdf71fff,0xfdf00000-0xfdf3ffff irq 98 at device 5.0 on pci11 > > >> > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > > >> > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > > >> > ioport > > >> > ciss2: can't allocate config window > > >> > device_attach: ciss2 attach returned 6 > > >> > > >> Oh, so it didn't work in 6.x either, it just handles failure less gracefully > > >> in 7.0+? > > > > > > No, ciss2 is disabled. The difference is that 6.x continue to boot instead > > > of a kernel panic as in 7.x and 8.x. > > > > > > I dont have any disks attached to ciss2, so I dont really need it. But > > > ciss1 and ciss2 is on the same physical card, so I cant just remove it. > > > > > > > Could you try this one if you are looking for a patch to 7-STABLE. > > > > Thank you > > > > diff -r ffd3e5d37758 sys/dev/ciss/ciss.c > > --- a/sys/dev/ciss/ciss.c Wed Apr 28 10:20:41 2010 -0400 > > +++ b/sys/dev/ciss/ciss.c Wed Apr 28 11:39:05 2010 -0400 > > @@ -394,6 +394,8 @@ ciss_attach(device_t dev) > > > > sc = device_get_softc(dev); > > sc->ciss_dev = dev; > > + mtx_init(&sc->ciss_mtx, "cissmtx", NULL, MTX_DEF); > > + callout_init_mtx(&sc->ciss_periodic, &sc->ciss_mtx, 0); > > > > /* > > * Work out adapter type. > > @@ -428,8 +430,6 @@ ciss_attach(device_t dev) > > ciss_initq_busy(sc); > > ciss_initq_complete(sc); > > ciss_initq_notify(sc); > > - mtx_init(&sc->ciss_mtx, "cissmtx", NULL, MTX_DEF); > > - callout_init_mtx(&sc->ciss_periodic, &sc->ciss_mtx, 0); > > > > /* > > * Initalize device sysctls. > > @@ -494,8 +494,11 @@ ciss_attach(device_t dev) > > > > error = 0; > > out: > > - if (error != 0) > > - ciss_free(sc); > > + if (error != 0) { > > + /* ciss_free() expects the mutex to be held */ > > + mtx_lock(&sc->ciss_mtx); > > + ciss_free(sc); > > + } > > return(error); > > } > > > > This patch made the system boot again. > > FreeBSD 7.3-STABLE #2: Wed Apr 28 19:17:43 CEST 2010 > > ciss1: 4 logical drives > ciss1: logical drive (b0t0): RAID 1, 69120MB online > ciss1: logical drive (b0t1): RAID 1, 69120MB online > ciss1: logical drive (b0t2): RAID 1, 139776MB online > ciss1: logical drive (b0t3): RAID 1, 139776MB online > ciss2: port 0x6400-0x64ff mem > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pci11 > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it is an > ioport > ciss2: can't allocate config window > device_attach: ciss2 attach returned 6 > uhci0: port 0x2000-0x201f irq > 16 at device 29.0 on pci0 > uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0x2000 > ioapic0: routing intpin 16 (PCI IRQ 16) to vector 55 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > > Thank you both for looking in to it and making such a fast fix! > > Now Im off to upgrade to 8.0-STABLE if I find what to edit. Or if you want > to send a patch. I've committed the smaller patch to HEAD to fix just the callout_init_mtx(). I can MFC that fix and the other patch to fix the mutex that is already in HEAD in a few days. -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 20:20:45 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F47A106564A for ; Wed, 28 Apr 2010 20:20:45 +0000 (UTC) (envelope-from gbell72@rogers.com) Received: from smtp106.rog.mail.re2.yahoo.com (smtp106.rog.mail.re2.yahoo.com [68.142.225.204]) by mx1.freebsd.org (Postfix) with SMTP id D83F18FC1B for ; Wed, 28 Apr 2010 20:20:44 +0000 (UTC) Received: (qmail 85876 invoked from network); 28 Apr 2010 20:20:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; b=teB1Ky0XRYSKXEOfRfiZqdP8v1ykAhMq/g7MeL2ButJTkMXBLkrVmazJ0W1XuaC27C6sqHOsu5WSWHRCgwpC5AhvDRcUxJyh2T7bMbPoROZSLWybgtFSwDQUytyAgM0f2sp/fvaPt8UoDqTD5U9Wnd7c1rV2pFxrcE6ADhe4QXc= ; Received: from titan.home.lan (gbell72@99.233.37.65 with login) by smtp106.rog.mail.re2.yahoo.com with SMTP; 28 Apr 2010 13:20:41 -0700 PDT X-Yahoo-SMTP: vhm.KweswBB8JGCDQo2eYyVHJ4NQ9hKLMsE.Tsw.BQ-- X-YMail-OSG: ifd5qgoVM1mDGHSlwgtaeUredwzmjVQRe2gefrhidC5f_sLPbq0.mkHEb8k38coIAKSzMLd0RaCivMpSPcHldswRv4Gy.cuFUtdJbpyoZsND16jGxjoBuTKQnmmMJbBo2YCRb6LacsFqz.b7NMzBRsTlyFuPW3Rto.sx.Ox7yO0RDTNcmpzYUMT2zphJJQ6Bd8ZQzbBIMg2yZaP0Xp7lHmDfGMx55bf.kDtu58GI_TYonO11X_0VIybsJfmF3iOPll1SV4nVUWQ60DjZOP4MufQyVuN8R4bB2q0Kmw3nAY5Y_qbuL0DRh3Ib2H6fYLzYbvY4BGc7xgyZdHivrx39aGdpad5IGcycp_JOR9TtHhMV9kU1eRe_30XMnmzvVFPGZRweY14DiCVfbFr9qudV X-Yahoo-Newman-Property: ymail-3 Received: by titan.home.lan (Postfix, from userid 1001) id EB84E17838; Wed, 28 Apr 2010 16:19:12 -0400 (EDT) Date: Wed, 28 Apr 2010 16:19:12 -0400 From: Gardner Bell To: Jeremy Chadwick Message-ID: <20100428201912.GD2085@titan.home.lan> References: <20100428182556.GA1730@titan.home.lan> <20100428191901.GA30062@icarus.home.lan> <20100428192634.GA30303@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100428192634.GA30303@icarus.home.lan> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: BCM5704 routing problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 20:20:45 -0000 On Wed, Apr 28, 2010 at 12:26:34PM -0700, Jeremy Chadwick wrote: > On Wed, Apr 28, 2010 at 12:19:01PM -0700, Jeremy Chadwick wrote: > > On Wed, Apr 28, 2010 at 02:25:56PM -0400, Gardner Bell wrote: > > > I upgraded my gateway last week to RELENG_8 and noticed that I can no > > > longer forward or receive IP packets from hosts on internal LAN. When > > > trying to ping a host or the gateway IP itself, you get. > > > > > > # ping 192.168.1.10 > > > PING 192.168.1.10 (192.168.1.10): 56 data bytes > > > ^C > > > > > > --- 192.168.1.10 ping statistics --- > > > 5 packets transmitted, 0 packets received, 100% packet loss > > > > > > All rc.conf files on gateway and hosts themselves had correct settings. > > > > > > bge1@pci0:10:9:1: class=0x020000 card=0x164414e4 chip=0x164814e4 > > > rev=0x03 hdr=0x00 > > > vendor = 'Broadcom Corporation' > > > device = 'NetXtreme Dual Gigabit Adapter (BCM5704)' > > > class = network > > > subclass = ethernet > > > bar [10] = type Memory, range 64, base 0xdf330000, size 65536, > > > enabled > > > bar [18] = type Memory, range 64, base 0xdf320000, size 65536, > > > enabled > > > cap 07[40] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split > > > transaction > > > cap 01[48] = powerspec 2 supports D0 D3 current D0 > > > cap 03[50] = VPD > > > cap 05[58] = MSI supports 8 messages, 64 bit > > > > > > Previously I was running 7.2 as gateway and never encountered any > > > problems. I've since gone back to release 7.3 and routing works as > > > expected. > > > > > > Any input would be appreciated. > > > > Output from the following when the machine is running RELENG_8: > > > > - ifconfig -a > > - netstat -i > > - netstat -rn > > - sysctl -a | grep bge > > - Contents of /etc/rc.conf > > I forgot one more: > > dmesg | grep -C 10 bge1 > OK, will take a day or so as I'll be offline the next several hours while a tech from my ISP repairs some cables here. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 21:26:01 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 607DC106564A for ; Wed, 28 Apr 2010 21:26:01 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from EXFESMQ01.datapipe-corp.net (exchange.datapipe.net [64.106.130.71]) by mx1.freebsd.org (Postfix) with ESMTP id 2B1558FC15 for ; Wed, 28 Apr 2010 21:26:00 +0000 (UTC) Received: from datapipe.net (192.168.128.24) by EXFESMQ01.datapipe-corp.net (64.106.130.71) with Microsoft SMTP Server (TLS) id 8.1.393.1; Wed, 28 Apr 2010 17:25:52 -0400 Date: Wed, 28 Apr 2010 16:26:13 -0500 From: "Paul A. Procacci" To: Message-ID: <20100428212613.GA21128@datapipe.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Content-Transfer-Encoding: quoted-printable Subject: loader.conf problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 21:26:01 -0000 Gents, I recent build of FreeBSD8-STABLE (amd64)is not parsing /boot/loader.conf properly. While the machine boots I am getting the following error: > \ \: unknown command \ -- This is right before it loads the kernel. I was wondering if anyone else i= s running into such problems or knows which source files I can examine to see where the problem might be? A side effect of this is that my modules that I'd like to be loaded aren't being loaded. Thanks, -- Paul A. Procacci Manager, UNIX Support Services Datapipe Managed Global IT Services 1.201.792.4847 (international) 1.888.749.5821 (toll free) This message may contain confidential or privileged information. If you ar= e not the intended recipient, please advise us immediately and delete this = message. See http://www.datapipe.com/about-us-legal-email-disclaimer.htm f= or further information on confidentiality and the risks of non-secure elect= ronic communication. If you cannot access these links, please notify us by = reply message and we will send the contents to you. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 21:47:45 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5BEA1065673; Wed, 28 Apr 2010 21:47:45 +0000 (UTC) (envelope-from kama@pvp.se) Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227]) by mx1.freebsd.org (Postfix) with ESMTP id 674138FC1A; Wed, 28 Apr 2010 21:47:44 +0000 (UTC) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id E67C66F; Wed, 28 Apr 2010 23:47:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id E221C6B; Wed, 28 Apr 2010 23:47:43 +0200 (CEST) Date: Wed, 28 Apr 2010 23:47:43 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: John Baldwin In-Reply-To: <201004281450.56272.jhb@freebsd.org> Message-ID: <20100428234628.X4522@ns1.as.pvp.se> References: <20100427150736.A4522@ns1.as.pvp.se> <20100428190652.Y4522@ns1.as.pvp.se> <201004281450.56272.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Giovanni Trematerra , freebsd-stable@freebsd.org Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 21:47:45 -0000 On Wed, 28 Apr 2010, John Baldwin wrote: > > Thank you both for looking in to it and making such a fast fix! > > > > Now Im off to upgrade to 8.0-STABLE if I find what to edit. Or if you want > > to send a patch. > > I've committed the smaller patch to HEAD to fix just the callout_init_mtx(). > I can MFC that fix and the other patch to fix the mutex that is already in > HEAD in a few days. Just a note that I also got 8.0-STABLE to boot with those changes. /Bjorn From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 22:05:26 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B777F106566B for ; Wed, 28 Apr 2010 22:05:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 7AEAE8FC17 for ; Wed, 28 Apr 2010 22:05:26 +0000 (UTC) Received: from omta05.westchester.pa.mail.comcast.net ([76.96.62.43]) by qmta09.westchester.pa.mail.comcast.net with comcast id B1io1e0090vyq2s59A5S8d; Wed, 28 Apr 2010 22:05:26 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta05.westchester.pa.mail.comcast.net with comcast id BA5R1e00H3S48mS3RA5S9X; Wed, 28 Apr 2010 22:05:26 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 640149B425; Wed, 28 Apr 2010 15:05:24 -0700 (PDT) Date: Wed, 28 Apr 2010 15:05:24 -0700 From: Jeremy Chadwick To: "Paul A. Procacci" Message-ID: <20100428220524.GA34041@icarus.home.lan> References: <20100428212613.GA21128@datapipe.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100428212613.GA21128@datapipe.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: loader.conf problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 22:05:26 -0000 On Wed, Apr 28, 2010 at 04:26:13PM -0500, Paul A. Procacci wrote: > Gents, > > I recent build of FreeBSD8-STABLE (amd64)is not parsing /boot/loader.conf > properly. While the machine boots I am getting the following error: > > > \ > \: unknown command > \ > -- Please provide: - Contents of /boot/loader.conf - ls -l /boot Thanks. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 22:35:02 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47343106566C for ; Wed, 28 Apr 2010 22:35:02 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 34D028FC17 for ; Wed, 28 Apr 2010 22:35:02 +0000 (UTC) Received: from [192.168.108.14] (unknown [192.168.108.14]) by mail.experts-exchange.com (Postfix) with ESMTP id 2D5884A2E70F; Wed, 28 Apr 2010 14:49:12 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Jason Helfman In-Reply-To: <20100428212613.GA21128@datapipe.net> Date: Wed, 28 Apr 2010 14:49:12 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8C0422CB-570D-4E0D-AED7-046C034BE680@e-e.com> References: <20100428212613.GA21128@datapipe.net> To: Paul A.Procacci X-Mailer: Apple Mail (2.1078) Cc: freebsd-stable@freebsd.org Subject: Re: loader.conf problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 22:35:02 -0000 On Apr 28, 2010, at 2:26 PM, Paul A. Procacci wrote: > Gents, >=20 > I recent build of FreeBSD8-STABLE (amd64)is not parsing = /boot/loader.conf > properly. While the machine boots I am getting the following error: >=20 >> \ > \: unknown command > \ > -- >=20 > This is right before it loads the kernel. I was wondering if anyone = else is > running into such problems or knows which source files I can examine = to see > where the problem might be? >=20 > A side effect of this is that my modules that I'd like to be loaded = aren't > being loaded. >=20 > Thanks, > -- > Paul A. Procacci > Manager, UNIX Support Services > Datapipe Managed Global IT Services > 1.201.792.4847 (international) > 1.888.749.5821 (toll free) >=20 > This message may contain confidential or privileged information. If = you are not the intended recipient, please advise us immediately and = delete this message. See = http://www.datapipe.com/about-us-legal-email-disclaimer.htm for further = information on confidentiality and the risks of non-secure electronic = communication. If you cannot access these links, please notify us by = reply message and we will send the contents to you. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" When the system boot, go to the loader prompt. Type: unload Type: load /boot/kernel/kernel Then load in your modules in with the same process. Finally, type: boot You can then look at your loader.conf and diagnose any issue that might = be in it, or file a bug if there is really something wrong. Hope this helps! >=20 From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 23:38:29 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B94131065673 for ; Wed, 28 Apr 2010 23:38:29 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 732528FC0C for ; Wed, 28 Apr 2010 23:38:29 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id 83B91E0435; Thu, 29 Apr 2010 10:59:46 +1200 (NZST) Date: Thu, 29 Apr 2010 10:59:46 +1200 From: Jonathan Chen To: Gardner Bell Message-ID: <20100428225946.GA45086@osiris.chen.org.nz> References: <20100428182556.GA1730@titan.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100428182556.GA1730@titan.home.lan> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: BCM5704 routing problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 23:38:29 -0000 On Wed, Apr 28, 2010 at 02:25:56PM -0400, Gardner Bell wrote: > I upgraded my gateway last week to RELENG_8 and noticed that I can no > longer forward or receive IP packets from hosts on internal LAN. When > trying to ping a host or the gateway IP itself, you get. > > # ping 192.168.1.10 > PING 192.168.1.10 (192.168.1.10): 56 data bytes > ^C If you're using ipfw, there's still some instability with it. Reconfirm your rule-load with "ipfw show" Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards From owner-freebsd-stable@FreeBSD.ORG Wed Apr 28 23:59:56 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B955A106566C for ; Wed, 28 Apr 2010 23:59:56 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from EXFESMQ01.datapipe-corp.net (exchange.datapipe.net [64.106.130.71]) by mx1.freebsd.org (Postfix) with ESMTP id 81A838FC16 for ; Wed, 28 Apr 2010 23:59:56 +0000 (UTC) Received: from datapipe.net (192.168.128.24) by EXFESMQ01.datapipe-corp.net (64.106.130.71) with Microsoft SMTP Server (TLS) id 8.1.393.1; Wed, 28 Apr 2010 19:59:49 -0400 Date: Wed, 28 Apr 2010 19:00:10 -0500 From: "Paul A. Procacci" To: Jeremy Chadwick Message-ID: <20100429000010.GD21128@datapipe.net> References: <20100428212613.GA21128@datapipe.net> <20100428220524.GA34041@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100428220524.GA34041@icarus.home.lan> User-Agent: Mutt/1.5.20 (2009-06-14) Content-Transfer-Encoding: quoted-printable Cc: "freebsd-stable@freebsd.org" Subject: Re: loader.conf problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 23:59:56 -0000 On Wed, Apr 28, 2010 at 06:05:24PM -0400, Jeremy Chadwick wrote: > On Wed, Apr 28, 2010 at 04:26:13PM -0500, Paul A. Procacci wrote: > > Gents, > > > > I recent build of FreeBSD8-STABLE (amd64)is not parsing /boot/loader.co= nf > > properly. While the machine boots I am getting the following error: > > > > > \ > > \: unknown command > > \ > > -- > > Please provide: > > - Contents of /boot/loader.conf > - ls -l /boot > > Thanks. > > -- > | Jeremy Chadwick jdc@parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | > Something I should have provided. Sorry. %cat /boot/loader.conf geom_mirror_load=3D"YES" %ls -l /boot/ total 748 -r--r--r-- 1 root wheel 7643 Apr 28 15:54 beastie.4th -r--r--r-- 1 root wheel 8192 Apr 28 15:54 boot -r--r--r-- 1 root wheel 512 Apr 28 15:54 boot0 -r--r--r-- 1 root wheel 512 Apr 28 15:54 boot0sio -r--r--r-- 1 root wheel 512 Apr 28 15:54 boot1 -r--r--r-- 1 root wheel 7680 Apr 28 15:54 boot2 -r--r--r-- 1 root wheel 1201 Apr 28 15:54 cdboot drwxr-xr-x 2 root wheel 512 Apr 28 15:54 defaults -r--r--r-- 1 root wheel 699 Apr 27 22:40 device.hints drwxr-xr-x 2 root wheel 512 Nov 21 08:29 firmware -r--r--r-- 1 root wheel 2258 Apr 28 15:54 frames.4th -r--r--r-- 1 root wheel 7535 Apr 28 15:54 gptboot -r--r--r-- 1 root wheel 25219 Nov 21 08:30 gptzfsboot drwxr-xr-x 2 root wheel 11776 Apr 28 15:53 kernel drwxr-xr-x 2 root wheel 11776 Apr 27 22:36 kernel.old -r-xr-xr-x 1 root wheel 184320 Apr 28 15:54 loader -r--r--r-- 1 root wheel 5861 Apr 28 15:54 loader.4th -rw-r--r-- 1 root wheel 41 Apr 27 23:52 loader.conf -r--r--r-- 1 root wheel 15219 Apr 28 15:54 loader.help -r-xr-xr-x 1 root wheel 184320 Apr 27 22:38 loader.old -r--r--r-- 1 root wheel 396 Nov 21 08:30 loader.rc -r--r--r-- 1 root wheel 512 Apr 28 15:54 mbr drwxr-xr-x 2 root wheel 512 Apr 28 15:56 modules -r--r--r-- 1 root wheel 512 Apr 28 15:54 pmbr -r--r--r-- 1 root wheel 186368 Apr 28 15:54 pxeboot -r--r--r-- 1 root wheel 699 Apr 28 15:54 screen.4th -r--r--r-- 1 root wheel 35132 Apr 28 15:54 support.4th drwxr-xr-x 2 root wheel 512 Nov 21 08:29 zfs -r--r--r-- 1 root wheel 33280 Nov 21 08:30 zfsboot %md5 /boot/* MD5 (/boot/beastie.4th) =3D d7d88e7385f2eb456e2628ffb81dce5c MD5 (/boot/boot) =3D 91296cd94bc075de685318df2a4afc9f MD5 (/boot/boot0) =3D d5019f554b1a6649dd64e479b36ae90d MD5 (/boot/boot0sio) =3D 4f2616f956de41c0949f07ba234edfdb MD5 (/boot/boot1) =3D fe3c577c089ac9db8f31abaa081ea945 MD5 (/boot/boot2) =3D bc4e2df8bf72a7e3b70e34a800638097 MD5 (/boot/cdboot) =3D f2fe4225957001913769f3d1b247d5e4 MD5 (/boot/defaults) =3D 4553259374ff97e232e86f813c16a8b8 MD5 (/boot/device.hints) =3D 992bdbbdb069a4300384e3fe1eb92fd0 MD5 (/boot/firmware) =3D 09f25114d80dbd121f92ffc126f33e85 MD5 (/boot/frames.4th) =3D 7e9e14adeb0179c96dfc2e4de31687ce MD5 (/boot/gptboot) =3D 72e2bb50b09650320b25ec7a09f5b68e MD5 (/boot/gptzfsboot) =3D e5a49dd7837df4093d4c1051566fe7bf MD5 (/boot/kernel) =3D 13c4c3d256c2993ba9525fc34b98907e MD5 (/boot/kernel.old) =3D 0e73c4caf72fd22594339a6d814516a7 MD5 (/boot/loader) =3D e459148bffaca8e0fc2633759499d62d MD5 (/boot/loader.4th) =3D ef3d7bcf3a6f8fdeed3dee4eca86473e MD5 (/boot/loader.conf) =3D 098bd0fbe26459911454967ded77af16 MD5 (/boot/loader.help) =3D b553af5cf09e399b1ce850991ef386c4 MD5 (/boot/loader.old) =3D 845f8d0e5c9eec3b45ac76ce2c553620 MD5 (/boot/loader.rc) =3D 73e4ee17ce1f287f529211cd2cb6c170 MD5 (/boot/mbr) =3D db3f526667d01f5851ef3d0ddafb86db MD5 (/boot/modules) =3D fcf04f3c1546b550b3e12ba6d84750c5 MD5 (/boot/pmbr) =3D 6daee450f256507904e0aebe78187cf6 MD5 (/boot/pxeboot) =3D 4d75944d497e98a4a1f5bfe1719ee944 MD5 (/boot/screen.4th) =3D 47d16a951e9f88f52ff0811cdebeeb26 MD5 (/boot/support.4th) =3D 04feeb00e7f52a81744713365524e5cf MD5 (/boot/zfs) =3D 91bb533338c037aae3afcadec85b553d MD5 (/boot/zfsboot) =3D 9232895a063604025059b5b42fddf0fc Thanks, -- Paul A. Procacci Manager, UNIX Support Services Datapipe Managed Global IT Services 1.201.792.4847 (international) 1.888.749.5821 (toll free) This message may contain confidential or privileged information. If you ar= e not the intended recipient, please advise us immediately and delete this = message. See http://www.datapipe.com/about-us-legal-email-disclaimer.htm f= or further information on confidentiality and the risks of non-secure elect= ronic communication. If you cannot access these links, please notify us by = reply message and we will send the contents to you. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 02:07:30 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BCAA106566C for ; Thu, 29 Apr 2010 02:07:30 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id 2A53A8FC15 for ; Thu, 29 Apr 2010 02:07:29 +0000 (UTC) Received: from omta11.westchester.pa.mail.comcast.net ([76.96.62.36]) by qmta02.westchester.pa.mail.comcast.net with comcast id BCWD1e0030mv7h052E7WrU; Thu, 29 Apr 2010 02:07:30 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta11.westchester.pa.mail.comcast.net with comcast id BE7V1e0023S48mS3XE7VjR; Thu, 29 Apr 2010 02:07:30 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id D3DB29B425; Wed, 28 Apr 2010 19:07:27 -0700 (PDT) Date: Wed, 28 Apr 2010 19:07:27 -0700 From: Jeremy Chadwick To: "Paul A. Procacci" Message-ID: <20100429020727.GA39577@icarus.home.lan> References: <20100428212613.GA21128@datapipe.net> <20100428220524.GA34041@icarus.home.lan> <20100429000010.GD21128@datapipe.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100429000010.GD21128@datapipe.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "freebsd-stable@freebsd.org" Subject: Re: loader.conf problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 02:07:30 -0000 On Wed, Apr 28, 2010 at 07:00:10PM -0500, Paul A. Procacci wrote: > On Wed, Apr 28, 2010 at 06:05:24PM -0400, Jeremy Chadwick wrote: > > On Wed, Apr 28, 2010 at 04:26:13PM -0500, Paul A. Procacci wrote: > > > Gents, > > > > > > I recent build of FreeBSD8-STABLE (amd64)is not parsing /boot/loader.conf > > > properly. While the machine boots I am getting the following error: > > > > > > > \ > > > \: unknown command > > > \ > > > -- > > > > Please provide: > > > > - Contents of /boot/loader.conf > > - ls -l /boot > > > > Thanks. > > > > -- > > | Jeremy Chadwick jdc@parodius.com | > > | Parodius Networking http://www.parodius.com/ | > > | UNIX Systems Administrator Mountain View, CA, USA | > > | Making life hard for others since 1977. PGP: 4BD6C0CB | > > > > Something I should have provided. Sorry. > > %cat /boot/loader.conf > geom_mirror_load="YES" > > %ls -l /boot/ > total 748 > -r--r--r-- 1 root wheel 7643 Apr 28 15:54 beastie.4th > -r--r--r-- 1 root wheel 8192 Apr 28 15:54 boot > -r--r--r-- 1 root wheel 512 Apr 28 15:54 boot0 > -r--r--r-- 1 root wheel 512 Apr 28 15:54 boot0sio > -r--r--r-- 1 root wheel 512 Apr 28 15:54 boot1 > -r--r--r-- 1 root wheel 7680 Apr 28 15:54 boot2 > -r--r--r-- 1 root wheel 1201 Apr 28 15:54 cdboot > drwxr-xr-x 2 root wheel 512 Apr 28 15:54 defaults > -r--r--r-- 1 root wheel 699 Apr 27 22:40 device.hints > drwxr-xr-x 2 root wheel 512 Nov 21 08:29 firmware > -r--r--r-- 1 root wheel 2258 Apr 28 15:54 frames.4th > -r--r--r-- 1 root wheel 7535 Apr 28 15:54 gptboot > -r--r--r-- 1 root wheel 25219 Nov 21 08:30 gptzfsboot > drwxr-xr-x 2 root wheel 11776 Apr 28 15:53 kernel > drwxr-xr-x 2 root wheel 11776 Apr 27 22:36 kernel.old > -r-xr-xr-x 1 root wheel 184320 Apr 28 15:54 loader > -r--r--r-- 1 root wheel 5861 Apr 28 15:54 loader.4th > -rw-r--r-- 1 root wheel 41 Apr 27 23:52 loader.conf > -r--r--r-- 1 root wheel 15219 Apr 28 15:54 loader.help > -r-xr-xr-x 1 root wheel 184320 Apr 27 22:38 loader.old > -r--r--r-- 1 root wheel 396 Nov 21 08:30 loader.rc > -r--r--r-- 1 root wheel 512 Apr 28 15:54 mbr > drwxr-xr-x 2 root wheel 512 Apr 28 15:56 modules > -r--r--r-- 1 root wheel 512 Apr 28 15:54 pmbr > -r--r--r-- 1 root wheel 186368 Apr 28 15:54 pxeboot > -r--r--r-- 1 root wheel 699 Apr 28 15:54 screen.4th > -r--r--r-- 1 root wheel 35132 Apr 28 15:54 support.4th > drwxr-xr-x 2 root wheel 512 Nov 21 08:29 zfs > -r--r--r-- 1 root wheel 33280 Nov 21 08:30 zfsboot > > %md5 /boot/* > MD5 (/boot/beastie.4th) = d7d88e7385f2eb456e2628ffb81dce5c > MD5 (/boot/boot) = 91296cd94bc075de685318df2a4afc9f > MD5 (/boot/boot0) = d5019f554b1a6649dd64e479b36ae90d > MD5 (/boot/boot0sio) = 4f2616f956de41c0949f07ba234edfdb > MD5 (/boot/boot1) = fe3c577c089ac9db8f31abaa081ea945 > MD5 (/boot/boot2) = bc4e2df8bf72a7e3b70e34a800638097 > MD5 (/boot/cdboot) = f2fe4225957001913769f3d1b247d5e4 > MD5 (/boot/defaults) = 4553259374ff97e232e86f813c16a8b8 > MD5 (/boot/device.hints) = 992bdbbdb069a4300384e3fe1eb92fd0 > MD5 (/boot/firmware) = 09f25114d80dbd121f92ffc126f33e85 > MD5 (/boot/frames.4th) = 7e9e14adeb0179c96dfc2e4de31687ce > MD5 (/boot/gptboot) = 72e2bb50b09650320b25ec7a09f5b68e > MD5 (/boot/gptzfsboot) = e5a49dd7837df4093d4c1051566fe7bf > MD5 (/boot/kernel) = 13c4c3d256c2993ba9525fc34b98907e > MD5 (/boot/kernel.old) = 0e73c4caf72fd22594339a6d814516a7 > MD5 (/boot/loader) = e459148bffaca8e0fc2633759499d62d > MD5 (/boot/loader.4th) = ef3d7bcf3a6f8fdeed3dee4eca86473e > MD5 (/boot/loader.conf) = 098bd0fbe26459911454967ded77af16 > MD5 (/boot/loader.help) = b553af5cf09e399b1ce850991ef386c4 > MD5 (/boot/loader.old) = 845f8d0e5c9eec3b45ac76ce2c553620 > MD5 (/boot/loader.rc) = 73e4ee17ce1f287f529211cd2cb6c170 > MD5 (/boot/mbr) = db3f526667d01f5851ef3d0ddafb86db > MD5 (/boot/modules) = fcf04f3c1546b550b3e12ba6d84750c5 > MD5 (/boot/pmbr) = 6daee450f256507904e0aebe78187cf6 > MD5 (/boot/pxeboot) = 4d75944d497e98a4a1f5bfe1719ee944 > MD5 (/boot/screen.4th) = 47d16a951e9f88f52ff0811cdebeeb26 > MD5 (/boot/support.4th) = 04feeb00e7f52a81744713365524e5cf > MD5 (/boot/zfs) = 91bb533338c037aae3afcadec85b553d > MD5 (/boot/zfsboot) = 9232895a063604025059b5b42fddf0fc Can you provide the following output please (not a typo): hd /boot/loader.conf Thanks. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 05:33:51 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57900106566B for ; Thu, 29 Apr 2010 05:33:51 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from EXFESMQ01.datapipe-corp.net (exchange.datapipe.net [64.106.130.71]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2748FC08 for ; Thu, 29 Apr 2010 05:33:50 +0000 (UTC) Received: from work_machine.myhome.net (192.168.128.24) by EXFESMQ01.datapipe-corp.net (64.106.130.71) with Microsoft SMTP Server (TLS) id 8.1.393.1; Thu, 29 Apr 2010 01:33:43 -0400 Date: Thu, 29 Apr 2010 00:34:05 -0500 From: "Paul A. Procacci" To: Jeremy Chadwick Message-ID: <20100429053405.GB18122@work_machine.myhome.net> References: <20100428212613.GA21128@datapipe.net> <20100428220524.GA34041@icarus.home.lan> <20100429000010.GD21128@datapipe.net> <20100429020727.GA39577@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100429020727.GA39577@icarus.home.lan> User-Agent: Mutt/1.5.20 (2009-06-14) Content-Transfer-Encoding: quoted-printable Cc: "freebsd-stable@freebsd.org" Subject: Re: loader.conf problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 05:33:51 -0000 On Wed, Apr 28, 2010 at 10:07:27PM -0400, Jeremy Chadwick wrote: > On Wed, Apr 28, 2010 at 07:00:10PM -0500, Paul A. Procacci wrote: > > On Wed, Apr 28, 2010 at 06:05:24PM -0400, Jeremy Chadwick wrote: > > > On Wed, Apr 28, 2010 at 04:26:13PM -0500, Paul A. Procacci wrote: > > > > Gents, > > > > > > > > I recent build of FreeBSD8-STABLE (amd64)is not parsing /boot/loade= r.conf > > > > properly. While the machine boots I am getting the following error= : > > > > > > > > > \ > > > > \: unknown command > > > > \ > > > > -- > > > > > > Please provide: > > > > > > - Contents of /boot/loader.conf > > > - ls -l /boot > > > > > > Thanks. > > > > > > -- > > > | Jeremy Chadwick jdc@parodius.com = | > > > | Parodius Networking http://www.parodius.com/ = | > > > | UNIX Systems Administrator Mountain View, CA, USA = | > > > | Making life hard for others since 1977. PGP: 4BD6C0CB = | > > > > > > > Something I should have provided. Sorry. > > > > %cat /boot/loader.conf > > geom_mirror_load=3D"YES" > > > > %ls -l /boot/ > > total 748 > > -r--r--r-- 1 root wheel 7643 Apr 28 15:54 beastie.4th > > -r--r--r-- 1 root wheel 8192 Apr 28 15:54 boot > > -r--r--r-- 1 root wheel 512 Apr 28 15:54 boot0 > > -r--r--r-- 1 root wheel 512 Apr 28 15:54 boot0sio > > -r--r--r-- 1 root wheel 512 Apr 28 15:54 boot1 > > -r--r--r-- 1 root wheel 7680 Apr 28 15:54 boot2 > > -r--r--r-- 1 root wheel 1201 Apr 28 15:54 cdboot > > drwxr-xr-x 2 root wheel 512 Apr 28 15:54 defaults > > -r--r--r-- 1 root wheel 699 Apr 27 22:40 device.hints > > drwxr-xr-x 2 root wheel 512 Nov 21 08:29 firmware > > -r--r--r-- 1 root wheel 2258 Apr 28 15:54 frames.4th > > -r--r--r-- 1 root wheel 7535 Apr 28 15:54 gptboot > > -r--r--r-- 1 root wheel 25219 Nov 21 08:30 gptzfsboot > > drwxr-xr-x 2 root wheel 11776 Apr 28 15:53 kernel > > drwxr-xr-x 2 root wheel 11776 Apr 27 22:36 kernel.old > > -r-xr-xr-x 1 root wheel 184320 Apr 28 15:54 loader > > -r--r--r-- 1 root wheel 5861 Apr 28 15:54 loader.4th > > -rw-r--r-- 1 root wheel 41 Apr 27 23:52 loader.conf > > -r--r--r-- 1 root wheel 15219 Apr 28 15:54 loader.help > > -r-xr-xr-x 1 root wheel 184320 Apr 27 22:38 loader.old > > -r--r--r-- 1 root wheel 396 Nov 21 08:30 loader.rc > > -r--r--r-- 1 root wheel 512 Apr 28 15:54 mbr > > drwxr-xr-x 2 root wheel 512 Apr 28 15:56 modules > > -r--r--r-- 1 root wheel 512 Apr 28 15:54 pmbr > > -r--r--r-- 1 root wheel 186368 Apr 28 15:54 pxeboot > > -r--r--r-- 1 root wheel 699 Apr 28 15:54 screen.4th > > -r--r--r-- 1 root wheel 35132 Apr 28 15:54 support.4th > > drwxr-xr-x 2 root wheel 512 Nov 21 08:29 zfs > > -r--r--r-- 1 root wheel 33280 Nov 21 08:30 zfsboot > > > > %md5 /boot/* > > MD5 (/boot/beastie.4th) =3D d7d88e7385f2eb456e2628ffb81dce5c > > MD5 (/boot/boot) =3D 91296cd94bc075de685318df2a4afc9f > > MD5 (/boot/boot0) =3D d5019f554b1a6649dd64e479b36ae90d > > MD5 (/boot/boot0sio) =3D 4f2616f956de41c0949f07ba234edfdb > > MD5 (/boot/boot1) =3D fe3c577c089ac9db8f31abaa081ea945 > > MD5 (/boot/boot2) =3D bc4e2df8bf72a7e3b70e34a800638097 > > MD5 (/boot/cdboot) =3D f2fe4225957001913769f3d1b247d5e4 > > MD5 (/boot/defaults) =3D 4553259374ff97e232e86f813c16a8b8 > > MD5 (/boot/device.hints) =3D 992bdbbdb069a4300384e3fe1eb92fd0 > > MD5 (/boot/firmware) =3D 09f25114d80dbd121f92ffc126f33e85 > > MD5 (/boot/frames.4th) =3D 7e9e14adeb0179c96dfc2e4de31687ce > > MD5 (/boot/gptboot) =3D 72e2bb50b09650320b25ec7a09f5b68e > > MD5 (/boot/gptzfsboot) =3D e5a49dd7837df4093d4c1051566fe7bf > > MD5 (/boot/kernel) =3D 13c4c3d256c2993ba9525fc34b98907e > > MD5 (/boot/kernel.old) =3D 0e73c4caf72fd22594339a6d814516a7 > > MD5 (/boot/loader) =3D e459148bffaca8e0fc2633759499d62d > > MD5 (/boot/loader.4th) =3D ef3d7bcf3a6f8fdeed3dee4eca86473e > > MD5 (/boot/loader.conf) =3D 098bd0fbe26459911454967ded77af16 > > MD5 (/boot/loader.help) =3D b553af5cf09e399b1ce850991ef386c4 > > MD5 (/boot/loader.old) =3D 845f8d0e5c9eec3b45ac76ce2c553620 > > MD5 (/boot/loader.rc) =3D 73e4ee17ce1f287f529211cd2cb6c170 > > MD5 (/boot/mbr) =3D db3f526667d01f5851ef3d0ddafb86db > > MD5 (/boot/modules) =3D fcf04f3c1546b550b3e12ba6d84750c5 > > MD5 (/boot/pmbr) =3D 6daee450f256507904e0aebe78187cf6 > > MD5 (/boot/pxeboot) =3D 4d75944d497e98a4a1f5bfe1719ee944 > > MD5 (/boot/screen.4th) =3D 47d16a951e9f88f52ff0811cdebeeb26 > > MD5 (/boot/support.4th) =3D 04feeb00e7f52a81744713365524e5cf > > MD5 (/boot/zfs) =3D 91bb533338c037aae3afcadec85b553d > > MD5 (/boot/zfsboot) =3D 9232895a063604025059b5b42fddf0fc > > Can you provide the following output please (not a typo): > > hd /boot/loader.conf > I just solved my problem. Apparently someone *points to self* included an option in src.conf by mistake: %fgrep FORTH /etc/src.conf WITHOUT_FORTH=3Dtrue I assume this was the root of the problem as I now have no problems with th= e initially reported error message. This has been a waste of bits, and I apologize for the noise. Thanks, -- Paul Procacci Manager, UNIX Support Services Datapipe Managed Global IT Services 1.201.792.4847 (international) 1.888.749.5821 (toll free) This message may contain confidential or privileged information. If you ar= e not the intended recipient, please advise us immediately and delete this = message. See http://www.datapipe.com/about-us-legal-email-disclaimer.htm f= or further information on confidentiality and the risks of non-secure elect= ronic communication. If you cannot access these links, please notify us by = reply message and we will send the contents to you. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 06:56:35 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A920106566B; Thu, 29 Apr 2010 06:56:35 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A1A428FC0A; Thu, 29 Apr 2010 06:56:34 +0000 (UTC) Received: by fxm15 with SMTP id 15so847204fxm.13 for ; Wed, 28 Apr 2010 23:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VtAj++g/bgf3FLZ5JU+VJLUa+q/zk3BcHW7aE5MymEk=; b=JA4Vo3vsJJigkXctqnnIY8Y6Z3o0pj7RCF266C00am+MJzSGtRwEsO3xjdbR0gfHB1 xADUDabyKj2zT2TOkyZNAY7nxXZbQQOojSgK3405PmYS2LvmQ+GTW7RMYgC+1wV9rie6 BidYXWlNvmVZYTPR0v4yVokmHlcx6x0/Ju4AA= 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=bZvkAbPHfOEcZXLXCYN8XR0TObuKoU6tQhL8EOP831wFfNBXerxyVWc5rqIClagF6w bOTgGwlfFwXYUX0u+XJfILUy8r835fBqY0Uaym4W+wgwlWy8kcQnH2VrXIMAh5DNDiR8 c3+t2wdn3InxYeZWhEVszXZQA9Z2JLwlB+grg= MIME-Version: 1.0 Received: by 10.223.98.19 with SMTP id o19mr598111fan.80.1272524186091; Wed, 28 Apr 2010 23:56:26 -0700 (PDT) Received: by 10.223.121.195 with HTTP; Wed, 28 Apr 2010 23:56:26 -0700 (PDT) In-Reply-To: <20100428180600.V4522@ns1.as.pvp.se> References: <20100427150736.A4522@ns1.as.pvp.se> <201004271721.34248.jhb@freebsd.org> <20100428091758.F4522@ns1.as.pvp.se> <201004280802.26267.jhb@freebsd.org> <20100428160428.R4522@ns1.as.pvp.se> <20100428180600.V4522@ns1.as.pvp.se> Date: Thu, 29 Apr 2010 08:56:26 +0200 Message-ID: From: Giovanni Trematerra To: kama Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, John Baldwin Subject: Re: HP 380 G4 - ciss kernel page fault. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 06:56:35 -0000 On Wed, Apr 28, 2010 at 6:06 PM, kama wrote: > > > On Wed, 28 Apr 2010, Giovanni Trematerra wrote: > >> On Wed, Apr 28, 2010 at 5:41 PM, Giovanni Trematerra >> wrote: >> > On Wed, Apr 28, 2010 at 4:07 PM, kama wrote: >> >> >> >> >> >> On Wed, 28 Apr 2010, John Baldwin wrote: >> >> >> >>> On Wednesday 28 April 2010 3:22:44 am kama wrote: >> >>> > >> >>> > On Tue, 27 Apr 2010, John Baldwin wrote: >> >>> > >> >>> > > On Tuesday 27 April 2010 9:30:12 am kama wrote: >> >>> > > > >> >>> > > > Hi. >> >>> > > > >> >>> > > > I have problem when probing the ciss device. Causing a kernel = panic. >> >>> This >> >>> > > > happened when I upgraded from 6.3 to 7.3-stable. Booting the o= ld kernel >> >>> > > > works. So something has changed. I am also getting the error o= n both the >> >>> > > > 7.3 and the 8.0 install cd's. >> >>> > > > >> >>> > > > The ciss that causing the problem is a Smart Array 6404 and it= s the >> >>> addon >> >>> > > > card that it faults at. The server disconnect it due to an err= or. But >> >>> > > > since it works on 6.3 it is something that have changed. FreeB= SD should >> >>> > > > not panic, it should just disable it. >> >>> > > > >> >>> > > > Also I tried to disable the card in the BIOS, but FreeBSD try = to probe >> >>> it >> >>> > > > anyway and panic. >> >>> > > > >> >>> > > > This whats comes up on a verbose boot through the ILO remote c= onsole. >> >>> > > > (typed in manually from a screenshot) >> >>> > > > >> >>> > > > ciss2: port 0x6400-0x64ff mem >> >>> > > > 0xfdf70000-0xfdf71fff irq 98 at device 5.0 on pcill >> >>> > > > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 >> >>> > > > pci11: child ciss2 requested type 3 for rid 0, but the BAR say= s it is an >> >>> > > > ioport >> >>> > > > ciss2: can't allocate config window >> >>> > > > kernel trap 12 with interupts disabled >> >>> > > >> >>> > > Can you get the ciss2 boot messages from a working 6.x kernel? >> >>> > >> >>> > This is the verbose boot on 6.3. >> >>> > >> >>> > FreeBSD 6.3-STABLE #3: Thu Mar =A06 14:29:33 CET 2008 >> >>> > >> >>> > ciss1: 10 physical devices >> >>> > ciss1: 4 logical drives >> >>> > ciss1: logical drive (b0t0): RAID 1, 69120MB online >> >>> > ciss1: logical drive (b0t1): RAID 1, 69120MB online >> >>> > ciss1: logical drive (b0t2): RAID 1, 139776MB online >> >>> > ciss1: logical drive (b0t3): RAID 1, 139776MB online >> >>> > >> >>> > ciss2: port 0x6400-0x64ff mem >> >>> > 0xfdf70000-0xfdf71fff,0xfdf00000-0xfdf3ffff irq 98 at device 5.0 o= n pci11 >> >>> > ciss2: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfdf70000 >> >>> > pci11: child ciss2 requested type 3 for rid 0, but the BAR says it= is an >> >>> > ioport >> >>> > ciss2: can't allocate config window >> >>> > device_attach: ciss2 attach returned 6 >> >>> >> >>> Oh, so it didn't work in 6.x either, it just handles failure less gr= acefully >> >>> in 7.0+? >> >> >> >> No, ciss2 is disabled. The difference is that 6.x continue to boot in= stead >> >> of a kernel panic as in 7.x and 8.x. >> >> >> >> I dont have any disks attached to ciss2, so I dont really need it. Bu= t >> >> ciss1 and ciss2 is on the same physical card, so I cant just remove i= t. >> >> >> > >> > Could you try this one if you are looking for a patch to 7-STABLE. >> > >> > Thank you >> > >> >> [snip patch] >> >> I think it's worth to have >> >> mtx_assert(&sc->ciss_mtx, MA_OWNED); >> >> in ciss_free just to be on safe side. > > Where in ciss_free()? at begin. but that is only a seat belt for further development and is no needed to resolve your issue. -- Gianni From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 07:25:18 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 497BE106564A for ; Thu, 29 Apr 2010 07:25:18 +0000 (UTC) (envelope-from nr1c0re@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id CB9F98FC18 for ; Thu, 29 Apr 2010 07:25:17 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so3104181fge.13 for ; Thu, 29 Apr 2010 00:25:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=BPRW4AvKUkROl9cFMV9RD5uvSQGBrX8VpkbDcLmwr0A=; b=aAqLnoGHSg5i9l3q06RhzmLcQtwtcTEf+2QOqND1yHebBDQcnklkNsIN3/DWvHTm6e NZei5ohlEUjozknCHB+sJioxGMeAFbVQN9ajq35G89VbVzA6usEx4+n/rEWaIYf6kNzO NhHN1V6UNWtHDBfT1Cu1k5ykVnfLF/D0WFQRc= 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 :content-type; b=SbM6ee3U03wOlM0jzE8Z1WMvUkxSbp89NfnA4JXikxDJL98x2cm7Zb9ZA66UyFG6py rfkUkkI2kaIhcWV69bGrLHW9lIANvzKo6e3eSxndlKQT9ZBG6bZJc6wf2h9MkAfZ3iDg SuhsS2eNrxzlX7zZObrGu6/3yZYy1QhdBPdQ4= MIME-Version: 1.0 Received: by 10.87.63.31 with SMTP id q31mr550398fgk.18.1272525908984; Thu, 29 Apr 2010 00:25:08 -0700 (PDT) Received: by 10.86.99.3 with HTTP; Thu, 29 Apr 2010 00:25:08 -0700 (PDT) In-Reply-To: References: <201004200748.09566.jhb@freebsd.org> <20100421074959.J40281@maildrop.int.zabbadoz.net> Date: Thu, 29 Apr 2010 11:25:08 +0400 Message-ID: From: c0re To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD 7.3, reboot after panic: double fault X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 07:25:18 -0000 And some more workaround: On 7.2 ifconfig mtu em0: flags=8843 metric 0 mtu 1500 gif0: flags=8051 metric 0 mtu 1280 Apache running on em0 alias address. >From remote machine trying to download 10Kb file and looking into tcpdump. No kernel panic. But 7.2 dows not respond to GET request, but in apache access log I see that it responds with OK, and there no tcp push packets from 7.2. So file not downloading. But at least no kernel panic :) Then I setup 1200 mtu on em0 and everything is okay, file download successful. On 7.3 same mtu 1500 adn 1280 - kernel panic when trying to download file. When I configure on em0 mtu 1200 - no kernel panic and file download successful. So it looks like mtu discovery related kernel panic. Hope this will help to resolve problem. Cheers. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 07:44:36 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FC93106564A for ; Thu, 29 Apr 2010 07:44:36 +0000 (UTC) (envelope-from fb-stable@psconsult.nl) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.freebsd.org (Postfix) with ESMTP id BB9D58FC15 for ; Thu, 29 Apr 2010 07:44:35 +0000 (UTC) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.psconsult.nl (8.14.4/8.14.4) with ESMTP id o3T7hCv9045464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Apr 2010 09:43:18 +0200 (CEST) (envelope-from fb-stable@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.4/8.14.4/Submit) id o3T7hB27045463; Thu, 29 Apr 2010 09:43:11 +0200 (CEST) (envelope-from fb-stable@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to fb-stable@psconsult.nl using -f Date: Thu, 29 Apr 2010 09:43:11 +0200 From: Paul Schenkeveld To: freebsd-stable@freebsd.org Message-ID: <20100429074311.GA45364@psconsult.nl> References: <20100427194725.GA14112@psconsult.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Marcel Moolenaar Subject: Re: puc(4) timedia baudrate problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 07:44:36 -0000 Hi Marcel, On Tue, Apr 27, 2010 at 09:46:08PM -0700, Marcel Moolenaar wrote: > > On Apr 27, 2010, at 12:47 PM, Paul Schenkeveld wrote: > > > puc0: port 0xe500-0xe51f,0xe520-0xe52f,0xe530-0xe537,0xe538-0xe53f,0xe540-0xe547,0xe548-0xe54f irq 10 at device 14.0 on pci0 > *snip* > > The first two ports work correctly but the baudrate of the other six > > is incorrect, i.e. I have to use 'tip -76800 uart5' to get the port > > to communicate at 9600 baud. I 'know' that this particular hardware > > has a baudrate multiplier on the first two ports but not on the other > > six. > *snip* > > Can you show me the output of ``pciconf -lbv'' for this device so that > I can create a patch for you to test? puc0@pci0:0:14:0: class=0x070002 card=0x50661409 chip=0x71681409 rev=0x01 hdr=0x00 vendor = 'Timedia Technology Co Ltd' device = 'PCI / ISA Asynchronous UART Signal Chips Solution (40371409)' class = simple comms subclass = UART bar [10] = type I/O Port, range 32, base 0xe500, size 32, enabled bar [14] = type I/O Port, range 32, base 0xe520, size 16, enabled bar [18] = type I/O Port, range 32, base 0xe530, size 8, enabled bar [1c] = type I/O Port, range 32, base 0xe538, size 8, enabled bar [20] = type I/O Port, range 32, base 0xe540, size 8, enabled bar [24] = type I/O Port, range 32, base 0xe548, size 8, enabled > Also: do you happen to know if all 8-port Timedia cards have a non- > uniform RCLK or only a select set (maybe only yours)? In fact this card is a Sunix (www.sunix.com.tw) card but matches the PCI ids of the Timedia card. In FreeBSD 6.x it matched a 2 port "Dolphin Peripherals 4036". By adding 6 more ports and changing the clock multiplier for ports 3 to 8 I got it to work with puc. > Thanks, Regards, Paul Schenkeveld From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 08:54:18 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE2D5106566B; Thu, 29 Apr 2010 08:54:18 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 293988FC18; Thu, 29 Apr 2010 08:54:17 +0000 (UTC) Received: by fxm15 with SMTP id 15so904625fxm.13 for ; Thu, 29 Apr 2010 01:54:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=jYrF4v2Tcxr3sbmfjjfgt9eSrxMzhrFp57DiEBWdN3o=; b=mJnSni5R5fApZbjV/hREj+eLLaq7miX2hR/7TOlbztKswRdJtvUwypguO5wXKGCkpR MzFDxd51+2+dY2iaOF3Cf8BK5wua1ybc+y+74rXESNI5adfD3pxXQKY1m/Er13nu6Rek wa3Wmwg288BrTxjzeJxiGVH8P06YvzwlqTY58= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=ltlSH62rth7OboJV7spXOmXsxRtcfODs5x2whrIljP55DV/4ZblOK3eio4HYofL+Es XgCjSC+LpN5IZfJWa3QGPeCD2FToH5tGP8TAEf01dbXScnAfoeYx7ILwSxNHK9Unju8T mwnC1FHjgQsk7BZVilYHcAYzZv4Qvdhexkk/k= Received: by 10.102.14.5 with SMTP id 5mr4833907mun.33.1272531251149; Thu, 29 Apr 2010 01:54:11 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id t10sm3033669muh.59.2010.04.29.01.54.09 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Apr 2010 01:54:10 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BD9491C.2070303@FreeBSD.org> Date: Thu, 29 Apr 2010 11:53:48 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Pete French References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org, chuzzwassa@gmail.com, scottl@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 08:54:19 -0000 Pete French wrote: >> Thanks. First step successful - I can steadily reproduce problem on >> CURRENT. raidtest with 200 I/O streams over gmirror of two disks on same >> channel triggers issue in seconds. Any I/O on channel dying after both >> disks report "Queue full" error same time. The rest of system works >> fine. If I preliminarily manually adjust queue depth of one disk - >> everything works fine. I'll investigate it tomorrow. > > Glad you have managed to dupliate it - the queue depth thing is > inetersting, what changes did you make ? I can try them here and see > if they improve the situation on either of my two machines. camcontrol tags da0 -N 50 -- Alexander Motin From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 09:12:25 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AA721065670; Thu, 29 Apr 2010 09:12:25 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (angel.ticketswitch.com [87.224.29.78]) by mx1.freebsd.org (Postfix) with ESMTP id D188A8FC1D; Thu, 29 Apr 2010 09:12:24 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1O7PS0-000Iyu-AC; Thu, 29 Apr 2010 09:50:28 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O7PS0-00093c-9M; Thu, 29 Apr 2010 09:50:28 +0100 Date: Thu, 29 Apr 2010 09:50:28 +0100 Message-Id: To: mav@FreeBSD.org In-Reply-To: <4BD896AC.4080509@FreeBSD.org> From: Pete French Cc: freebsd-scsi@freebsd.org, chuzzwassa@gmail.com, scottl@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 09:12:25 -0000 > Thanks. First step successful - I can steadily reproduce problem on > CURRENT. raidtest with 200 I/O streams over gmirror of two disks on same > channel triggers issue in seconds. Any I/O on channel dying after both > disks report "Queue full" error same time. The rest of system works > fine. If I preliminarily manually adjust queue depth of one disk - > everything works fine. I'll investigate it tomorrow. Glad you have managed to dupliate it - the queue depth thing is inetersting, what changes did you make ? I can try them here and see if they improve the situation on either of my two machines. -pete. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 13:03:44 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC796106566C; Thu, 29 Apr 2010 13:03:44 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 404B18FC16; Thu, 29 Apr 2010 13:03:44 +0000 (UTC) Received: from [127.0.0.1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.3/8.14.3) with ESMTP id o3TD3eFJ014992; Thu, 29 Apr 2010 07:03:41 -0600 (MDT) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Scott Long In-Reply-To: Date: Thu, 29 Apr 2010 07:03:40 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Pete French X-Mailer: Apple Mail (2.1078) X-Spam-Status: No, score=-1.0 required=3.8 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on pooker.samsco.org Cc: freebsd-scsi@FreeBSD.org, Alexander Motin , FreeBSD Stable , Andy Farkas Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 13:03:44 -0000 On Apr 29, 2010, at 2:50 AM, Pete French wrote: >> Thanks. First step successful - I can steadily reproduce problem on >> CURRENT. raidtest with 200 I/O streams over gmirror of two disks on = same >> channel triggers issue in seconds. Any I/O on channel dying after = both >> disks report "Queue full" error same time. The rest of system works >> fine. If I preliminarily manually adjust queue depth of one disk - >> everything works fine. I'll investigate it tomorrow. >=20 > Glad you have managed to dupliate it - the queue depth thing is > inetersting, what changes did you make ? I can try them here and see > if they improve the situation on either of my two machines. >=20 For the record, queue-full is a common, expected condition in CAM. It's = not something that should be avoided =3D-) Scott From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 13:47:35 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC07D1065672; Thu, 29 Apr 2010 13:47:35 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 89F798FC1F; Thu, 29 Apr 2010 13:47:35 +0000 (UTC) Received: from [10.170.20.44] (nat-170-142-177-44.tn.gov [170.142.177.44]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o3TDlVWa018098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Apr 2010 09:47:32 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) Message-ID: <4BD98DE2.8020703@FreeBSD.org> Date: Thu, 29 Apr 2010 08:47:14 -0500 From: Robert Noland Organization: FreeBSD User-Agent: Thunderbird 2.0.0.19 (X11/20090218) MIME-Version: 1.0 To: Scott Long References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.8 required=5.0 tests=AWL, BAYES_00, FH_DATE_PAST_20XX, RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-scsi@FreeBSD.org, Alexander Motin , FreeBSD Stable , Andy Farkas , Pete French Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 13:47:35 -0000 Scott Long wrote: > On Apr 29, 2010, at 2:50 AM, Pete French wrote: > >>> Thanks. First step successful - I can steadily reproduce problem on >>> CURRENT. raidtest with 200 I/O streams over gmirror of two disks on same >>> channel triggers issue in seconds. Any I/O on channel dying after both >>> disks report "Queue full" error same time. The rest of system works >>> fine. If I preliminarily manually adjust queue depth of one disk - >>> everything works fine. I'll investigate it tomorrow. >> Glad you have managed to dupliate it - the queue depth thing is >> inetersting, what changes did you make ? I can try them here and see >> if they improve the situation on either of my two machines. >> > > For the record, queue-full is a common, expected condition in CAM. It's not something that should be avoided =-) Should we maybe have a counter in sysctl rather than flooding the console with these messages then? robert. > Scott > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 13:55:40 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08B2E106564A; Thu, 29 Apr 2010 13:55:40 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 351E08FC20; Thu, 29 Apr 2010 13:55:38 +0000 (UTC) Received: by ewy24 with SMTP id 24so4895666ewy.33 for ; Thu, 29 Apr 2010 06:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type; bh=/EtQ/LwYy+Hdow8E8CDWQ0GxNK9RwmhaJMkzdmE3SWk=; b=KQXyRYX7JMcXvucbwwbeASM9JqVCxXhLWDCGtItCyT1CUyXmhJsHVsCm7Y3QVjlp5h kkPlmnl2KIv1QBr+VcgyhMSt1yLVHCiuGrS2zfevWwyhyZdls80dJebqDOnEcnE32oov 6bbSsAffYgHfsPP/Yxt0z+/5RUAPZjjFNkiw8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=Eb68vAgb8vkOeFGL7gcbI+DVx9Cf0RZyF+3Vh5J4l5iUbduE1mjzihkSO5Czl6sqJk XCDvUr+LDaBe0008l/TpiTrv4wTWlgzyUkS3jzF2TdxzK7VP6vK5I6+qdmPZ/UaHpPhY YBacGVOXrmH26Xv5tZmiyEwTgvz+JSmiBlJIc= Received: by 10.102.237.35 with SMTP id k35mr5180278muh.72.1272549328839; Thu, 29 Apr 2010 06:55:28 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id s10sm4277427muh.35.2010.04.29.06.55.27 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Apr 2010 06:55:28 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BD98FC0.2030206@FreeBSD.org> Date: Thu, 29 Apr 2010 16:55:12 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Pete French References: <4BD896AC.4080509@FreeBSD.org> In-Reply-To: <4BD896AC.4080509@FreeBSD.org> X-Enigmail-Version: 0.96.0 Content-Type: multipart/mixed; boundary="------------080401080207070003020809" Cc: freebsd-scsi@freebsd.org, chuzzwassa@gmail.com, scottl@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 13:55:40 -0000 This is a multi-part message in MIME format. --------------080401080207070003020809 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Alexander Motin wrote: > Pete French wrote: >>> I have some 29160N locally and I'll try to reproduce this. >> I would suggest you try gmirror across two drives - that is how >> both myself and the original poster first noticed the issue. > > Thanks. First step successful - I can steadily reproduce problem on > CURRENT. raidtest with 200 I/O streams over gmirror of two disks on same > channel triggers issue in seconds. Any I/O on channel dying after both > disks report "Queue full" error same time. The rest of system works > fine. If I preliminarily manually adjust queue depth of one disk - > everything works fine. I'll investigate it tomorrow. Seems like I've found the reason. Attached patch fixes problem for me. This call was removed by mistake in specified commit. It is not needed during normal operation, only when device queue shrinking. And even in that case problem often wasn't not triggered if there were more requests and controller request allocation queue wasn't not exhausted at the moment. That's why problem wasn't detected and why gmirror increased it's chances. -- Alexander Motin --------------080401080207070003020809 Content-Type: text/plain; name="cam.sched_fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cam.sched_fix.patch" --- cam_xpt.c.prev 2010-04-28 08:15:40.000000000 +0300 +++ cam_xpt.c 2010-04-29 16:01:23.000000000 +0300 @@ -4903,6 +4903,10 @@ camisr_runqueue(void *V_queue) if ((dev->flags & CAM_DEV_TAG_AFTER_COUNT) != 0 && (--dev->tag_delay_count == 0)) xpt_start_tags(ccb_h->path); + if (!device_is_send_queued(dev)) { + runq = xpt_schedule_dev_sendq(ccb_h->path->bus, + dev); + } } if (ccb_h->status & CAM_RELEASE_SIMQ) { --------------080401080207070003020809-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 14:15:41 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBD131065670; Thu, 29 Apr 2010 14:15:41 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 6F3398FC08; Thu, 29 Apr 2010 14:15:41 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1O7UWa-000LP2-DP; Thu, 29 Apr 2010 15:15:32 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O7UWa-000ABS-CV; Thu, 29 Apr 2010 15:15:32 +0100 Date: Thu, 29 Apr 2010 15:15:32 +0100 Message-Id: To: mav@FreeBSD.org In-Reply-To: <4BD98FC0.2030206@FreeBSD.org> From: Pete French Cc: freebsd-scsi@freebsd.org, chuzzwassa@gmail.com, scottl@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 14:15:41 -0000 > Seems like I've found the reason. Attached patch fixes problem for me. Thanks, am trying this now.... -pete. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 15:55:57 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF76A106564A; Thu, 29 Apr 2010 15:55:57 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 84F1E8FC12; Thu, 29 Apr 2010 15:55:57 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1O7W5a-000MF8-EM; Thu, 29 Apr 2010 16:55:46 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O7W5a-000AVb-DP; Thu, 29 Apr 2010 16:55:46 +0100 Date: Thu, 29 Apr 2010 16:55:46 +0100 Message-Id: To: mav@FreeBSD.org In-Reply-To: <4BD98FC0.2030206@FreeBSD.org> From: Pete French Cc: freebsd-scsi@freebsd.org, chuzzwassa@gmail.com, scottl@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 15:55:57 -0000 > Seems like I've found the reason. Attached patch fixes problem for me. Inetersting - one of my machines has ginished a gmirror resync. The first time I tried this it did lock up, but with media rea errors (which may be genuine on these old drives). But this tiime it has finished, and without the patch this machine would never finish a rebuild. So far, so good... -pete. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 16:18:41 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 726CB1065670; Thu, 29 Apr 2010 16:18:41 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 38C718FC08; Thu, 29 Apr 2010 16:18:41 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1O7WRe-000MSi-FR; Thu, 29 Apr 2010 17:18:34 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O7WRe-000Aaz-EU; Thu, 29 Apr 2010 17:18:34 +0100 Date: Thu, 29 Apr 2010 17:18:34 +0100 Message-Id: To: mav@FreeBSD.org In-Reply-To: <4BD98FC0.2030206@FreeBSD.org> From: Pete French Cc: freebsd-scsi@freebsd.org, chuzzwassa@gmail.com, scottl@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 16:18:41 -0000 ...and my other test amchine just completed a gmirror rebuild as well, with no problems. So intially it does look very much like it is fixed. Thanks Alexander! IIf I have any mmore problems I will let you know -pete. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 16:35:13 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 566AE1065670; Thu, 29 Apr 2010 16:35:13 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8691C8FC12; Thu, 29 Apr 2010 16:35:12 +0000 (UTC) Received: by fxm15 with SMTP id 15so1235691fxm.13 for ; Thu, 29 Apr 2010 09:35:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=yOlmICvI8y+STjIW0QYNmbizJMxa4ZltFkIcF/2Ddak=; b=QCTNPTb/07GdXQXtukYzrih1YUPZqTSo50Jt+s3CDbzPPTOQK83SUXAlDS4mLVmHeO tNggLIvlOmoRtjQ9aJrkFZTRinyNGRRdZ/Aosk7KoaWofIoG6fo5lDxQij/21lNT/DiC sUoqKzdxWd9XiV57RFXTMnwGF10RfjeiRYkzM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=hO38d1zViEzUfwSygXTJh6u6fPWHmGd7JMBBqqHeUdcdBE/AA65/EZ56k3f4VKnh3F k910PbB4D0tSDRbewSAxQugfRoMTxeeS76gEcdzlIFcxNEMKilgrdDnojRGTB+uu3UR4 7SDpR44EFRL8ptzy9AHq0K3VA7R7FUXv7J35U= Received: by 10.102.240.32 with SMTP id n32mr5383645muh.114.1272558902481; Thu, 29 Apr 2010 09:35:02 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id s10sm4955175mue.27.2010.04.29.09.35.01 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Apr 2010 09:35:01 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BD9B526.4060308@FreeBSD.org> Date: Thu, 29 Apr 2010 19:34:46 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Pete French References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org, chuzzwassa@gmail.com, scottl@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 16:35:13 -0000 Pete French wrote: > ...and my other test amchine just completed a gmirror rebuild as well, with no > problems. So intially it does look very much like it > is fixed. Thanks Alexander! IIf I have any mmore problems I will > let you know I'm glad to hear it. But gmirror rebuild itself may be not enough for test. It uses very few requests same time. You should manage "Queue full" state, so you should make at least 150 concurrent write requests to the mirror running same time. -- Alexander Motin From owner-freebsd-stable@FreeBSD.ORG Thu Apr 29 16:41:08 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12040106566B; Thu, 29 Apr 2010 16:41:08 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 5736E8FC0A; Thu, 29 Apr 2010 16:41:07 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1O7Wmo-000McT-EL; Thu, 29 Apr 2010 17:40:26 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O7Wmo-000Agc-DN; Thu, 29 Apr 2010 17:40:26 +0100 Date: Thu, 29 Apr 2010 17:40:26 +0100 Message-Id: To: mav@FreeBSD.org In-Reply-To: <4BD9B526.4060308@FreeBSD.org> From: Pete French Cc: freebsd-scsi@freebsd.org, chuzzwassa@gmail.com, scottl@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 16:41:08 -0000 > I'm glad to hear it. But gmirror rebuild itself may be not enough for > test. It uses very few requests same time. You should manage "Queue > full" state, so you should make at least 150 concurrent write requests > to the mirror running same time. Am going to hammer it for a bit with a number of applications, but I am very happy with the rebuld as this would never complete previously so it's still a bit improvement! -pete. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 30 03:45:48 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E04C5106564A; Fri, 30 Apr 2010 03:45:48 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 96E5A8FC08; Fri, 30 Apr 2010 03:45:48 +0000 (UTC) Received: from [127.0.0.1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.3/8.14.3) with ESMTP id o3U3jiQd018547; Thu, 29 Apr 2010 21:45:44 -0600 (MDT) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Scott Long In-Reply-To: <4BD98DE2.8020703@FreeBSD.org> Date: Thu, 29 Apr 2010 21:45:44 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <4A883035-3570-4FCC-B8EB-F205BD6D640D@samsco.org> References: <4BD98DE2.8020703@FreeBSD.org> To: Robert Noland X-Mailer: Apple Mail (2.1078) X-Spam-Status: No, score=-1.0 required=3.8 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on pooker.samsco.org Cc: freebsd-scsi@FreeBSD.org, Alexander Motin , FreeBSD Stable , Andy Farkas , Pete French Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 03:45:49 -0000 On Apr 29, 2010, at 7:47 AM, Robert Noland wrote: >=20 >=20 > Scott Long wrote: >> On Apr 29, 2010, at 2:50 AM, Pete French wrote: >>>> Thanks. First step successful - I can steadily reproduce problem on >>>> CURRENT. raidtest with 200 I/O streams over gmirror of two disks on = same >>>> channel triggers issue in seconds. Any I/O on channel dying after = both >>>> disks report "Queue full" error same time. The rest of system works >>>> fine. If I preliminarily manually adjust queue depth of one disk - >>>> everything works fine. I'll investigate it tomorrow. >>> Glad you have managed to dupliate it - the queue depth thing is >>> inetersting, what changes did you make ? I can try them here and see >>> if they improve the situation on either of my two machines. >>>=20 >> For the record, queue-full is a common, expected condition in CAM. = It's not something that should be avoided =3D-) >=20 > Should we maybe have a counter in sysctl rather than flooding the = console with these messages then? That's a pretty good idea. I'll make it happen. Scott From owner-freebsd-stable@FreeBSD.ORG Fri Apr 30 04:57:16 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 478F8106566B; Fri, 30 Apr 2010 04:57:16 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 720308FC1F; Fri, 30 Apr 2010 04:57:14 +0000 (UTC) Received: by fxm15 with SMTP id 15so1628929fxm.13 for ; Thu, 29 Apr 2010 21:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=UkEXl69YYhL31X3Ib5+d+FiYsnboyIm6FEb9Rq64imA=; b=RWSSZ+lY4igaXThqC+2gfD+hNL9dRN48UrM7bEUUVYVyV9peb2HzxtYvYRVono99Dj 2NYLqYdSVTZsn4/hfVqElO3bwOwVPIqLAoWiYn43P1rVZMyKQ5G57KTrcnlrjjco5X3f P2zH+csKESTO7x9d+8HQGUTIUQdfj+iXaIpvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=HKxvhLbrFefj5JATchvBYZH06N6R9yQ2dWGemwCpQEwkls4ha1LpDWMeLnSiCtPsrR DKy10/+s0yEUgt7YnDP/aL6KhD1rl72iBQGTGdAzYy7ekLHkFjdaHWkwJm4qngWLOaVx 4b6Bs5kf6BbRVSEVVjBnWs1fTn3bkNgBhQDQE= Received: by 10.102.17.22 with SMTP id 22mr5883465muq.37.1272603425281; Thu, 29 Apr 2010 21:57:05 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id y2sm7231003mug.51.2010.04.29.21.57.03 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Apr 2010 21:57:04 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BDA6310.10902@FreeBSD.org> Date: Fri, 30 Apr 2010 07:56:48 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Scott Long References: <4BD98DE2.8020703@FreeBSD.org> <4A883035-3570-4FCC-B8EB-F205BD6D640D@samsco.org> In-Reply-To: <4A883035-3570-4FCC-B8EB-F205BD6D640D@samsco.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@FreeBSD.org, Andy Farkas , FreeBSD Stable , Pete French , Robert Noland Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 04:57:16 -0000 Scott Long wrote: > On Apr 29, 2010, at 7:47 AM, Robert Noland wrote: >> >> Scott Long wrote: >>> On Apr 29, 2010, at 2:50 AM, Pete French wrote: >>>>> Thanks. First step successful - I can steadily reproduce problem on >>>>> CURRENT. raidtest with 200 I/O streams over gmirror of two disks on same >>>>> channel triggers issue in seconds. Any I/O on channel dying after both >>>>> disks report "Queue full" error same time. The rest of system works >>>>> fine. If I preliminarily manually adjust queue depth of one disk - >>>>> everything works fine. I'll investigate it tomorrow. >>>> Glad you have managed to dupliate it - the queue depth thing is >>>> inetersting, what changes did you make ? I can try them here and see >>>> if they improve the situation on either of my two machines. >>>> >>> For the record, queue-full is a common, expected condition in CAM. It's not something that should be avoided =-) >> Should we maybe have a counter in sysctl rather than flooding the console with these messages then? > > That's a pretty good idea. I'll make it happen. It is already hidden behind bootverbose. Hiding it deeper will make unclear why CAM requeues the rest of commands (also reported under bootverbose). I've tuned log messages a bit recently and they seem to be more consistent and readable now IMHO. -- Alexander Motin From owner-freebsd-stable@FreeBSD.ORG Fri Apr 30 05:07:19 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACB25106566C; Fri, 30 Apr 2010 05:07:19 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 4777F8FC0C; Fri, 30 Apr 2010 05:07:18 +0000 (UTC) Received: from [127.0.0.1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.3/8.14.3) with ESMTP id o3U57F41018855; Thu, 29 Apr 2010 23:07:16 -0600 (MDT) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Scott Long In-Reply-To: <4BDA6310.10902@FreeBSD.org> Date: Thu, 29 Apr 2010 23:07:15 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <221F6444-3102-4CD7-A1A7-1DF4352E7F50@samsco.org> References: <4BD98DE2.8020703@FreeBSD.org> <4A883035-3570-4FCC-B8EB-F205BD6D640D@samsco.org> <4BDA6310.10902@FreeBSD.org> To: Alexander Motin X-Mailer: Apple Mail (2.1078) X-Spam-Status: No, score=-1.0 required=3.8 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on pooker.samsco.org Cc: freebsd-scsi@FreeBSD.org, Andy Farkas , FreeBSD Stable , Pete French , Robert Noland Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 05:07:19 -0000 On Apr 29, 2010, at 10:56 PM, Alexander Motin wrote: > Scott Long wrote: >> On Apr 29, 2010, at 7:47 AM, Robert Noland wrote: >>>=20 >>> Scott Long wrote: >>>> On Apr 29, 2010, at 2:50 AM, Pete French wrote: >>>>>> Thanks. First step successful - I can steadily reproduce problem = on >>>>>> CURRENT. raidtest with 200 I/O streams over gmirror of two disks = on same >>>>>> channel triggers issue in seconds. Any I/O on channel dying after = both >>>>>> disks report "Queue full" error same time. The rest of system = works >>>>>> fine. If I preliminarily manually adjust queue depth of one disk = - >>>>>> everything works fine. I'll investigate it tomorrow. >>>>> Glad you have managed to dupliate it - the queue depth thing is >>>>> inetersting, what changes did you make ? I can try them here and = see >>>>> if they improve the situation on either of my two machines. >>>>>=20 >>>> For the record, queue-full is a common, expected condition in CAM. = It's not something that should be avoided =3D-) >>> Should we maybe have a counter in sysctl rather than flooding the = console with these messages then? >>=20 >> That's a pretty good idea. I'll make it happen. >=20 > It is already hidden behind bootverbose. Hiding it deeper will make > unclear why CAM requeues the rest of commands (also reported under > bootverbose). I've tuned log messages a bit recently and they seem to = be > more consistent and readable now IMHO. >=20 We used to run FreeBSD at Yahoo with bootverbose turned on in order to = help with debugging. After years of doing this, I finally turned = bootverbose off last year, partially because of the excessive console = spam produced by these queue-full messages. Even when we were writing = the ahc/ahd drivers at Adaptec years ago, I never really liked these = messages, and we rarely ran with bootverbose turned on unless we were = actively developing code or debugging a problem. I like Robert's = suggestion because not only does it make running with bootverbose less = painful, it can also provide counters and also calculate and report rate = measurements that might be more useful than just the printf. If you feel strongly against it, I won't push it, but I do like the = suggestion. Scott From owner-freebsd-stable@FreeBSD.ORG Fri Apr 30 05:16:37 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F24371065670; Fri, 30 Apr 2010 05:16:37 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 277C58FC13; Fri, 30 Apr 2010 05:16:36 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so3507762fge.13 for ; Thu, 29 Apr 2010 22:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=aQ82ou089T2F+nd68fIj1Hq0FJnAK1p2WNs8zlVicRo=; b=FRjwiI6ybkmOtXYZAcGqEG+7R7mS7mXnHlGx10o1pIccolCU9+GEZ23PUcHhky0OyA MrFMj0r9S8JAgG2TyZxPjpouYzbO5wEF8WBEGRvAxJ0oZaMpqqVxjQHmmOjCyxQTdnko 4A4JQH6ke9DC/oIennO2t7im4hU4RffDKk7jY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=J307jOdjm9Jnm9HT7XVFTGiXucxvVT6tvNlUl5bfFeV0nHaUGLxk1LqfdXJnU2PXen sVeZ5Ksi6bPj/D72R3EUKDEnj9NJ0VBzZ5+ORrps6ycbJPh0LM+Cd8faymeJ744xH8GN uUduXA/OLwRdfifadsmBVvHM699wV1Zw7psYk= Received: by 10.102.7.12 with SMTP id 12mr5868608mug.104.1272604587752; Thu, 29 Apr 2010 22:16:27 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id u26sm7245722mug.55.2010.04.29.22.16.26 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Apr 2010 22:16:27 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BDA679B.1000706@FreeBSD.org> Date: Fri, 30 Apr 2010 08:16:11 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Scott Long References: <4BD98DE2.8020703@FreeBSD.org> <4A883035-3570-4FCC-B8EB-F205BD6D640D@samsco.org> <4BDA6310.10902@FreeBSD.org> <221F6444-3102-4CD7-A1A7-1DF4352E7F50@samsco.org> In-Reply-To: <221F6444-3102-4CD7-A1A7-1DF4352E7F50@samsco.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@FreeBSD.org, Andy Farkas , FreeBSD Stable , Pete French , Robert Noland Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 05:16:38 -0000 Scott Long wrote: > On Apr 29, 2010, at 10:56 PM, Alexander Motin wrote: >> Scott Long wrote: >>> On Apr 29, 2010, at 7:47 AM, Robert Noland wrote: >>>> Scott Long wrote: >>>>> On Apr 29, 2010, at 2:50 AM, Pete French wrote: >>>>>>> Thanks. First step successful - I can steadily reproduce problem on >>>>>>> CURRENT. raidtest with 200 I/O streams over gmirror of two disks on same >>>>>>> channel triggers issue in seconds. Any I/O on channel dying after both >>>>>>> disks report "Queue full" error same time. The rest of system works >>>>>>> fine. If I preliminarily manually adjust queue depth of one disk - >>>>>>> everything works fine. I'll investigate it tomorrow. >>>>>> Glad you have managed to dupliate it - the queue depth thing is >>>>>> inetersting, what changes did you make ? I can try them here and see >>>>>> if they improve the situation on either of my two machines. >>>>>> >>>>> For the record, queue-full is a common, expected condition in CAM. It's not something that should be avoided =-) >>>> Should we maybe have a counter in sysctl rather than flooding the console with these messages then? >>> That's a pretty good idea. I'll make it happen. >> It is already hidden behind bootverbose. Hiding it deeper will make >> unclear why CAM requeues the rest of commands (also reported under >> bootverbose). I've tuned log messages a bit recently and they seem to be >> more consistent and readable now IMHO. > > We used to run FreeBSD at Yahoo with bootverbose turned on in order to help with debugging. After years of doing this, I finally turned bootverbose off last year, partially because of the excessive console spam produced by these queue-full messages. Even when we were writing the ahc/ahd drivers at Adaptec years ago, I never really liked these messages, and we rarely ran with bootverbose turned on unless we were actively developing code or debugging a problem. I like Robert's suggestion because not only does it make running with bootverbose less painful, it can also provide counters and also calculate and report rate measurements that might be more useful than just the printf. > > If you feel strongly against it, I won't push it, but I do like the suggestion. No. I just wanted to say that requeue messages massively logged in that case are even less informative for regular user. -- Alexander Motin From owner-freebsd-stable@FreeBSD.ORG Fri Apr 30 12:23:41 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE6A51065670 for ; Fri, 30 Apr 2010 12:23:41 +0000 (UTC) (envelope-from ai@kliksys.ru) Received: from gate.kliksys.ru (gate.kliksys.ru [78.110.241.113]) by mx1.freebsd.org (Postfix) with ESMTP id A14F88FC1C for ; Fri, 30 Apr 2010 12:23:41 +0000 (UTC) Received: from [192.168.1.14] (helo=two.kliksys.ru) by gate.kliksys.ru with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O7p0w-000KFj-Hg for freebsd-stable@freebsd.org; Fri, 30 Apr 2010 16:08:16 +0400 Date: Fri, 30 Apr 2010 16:08:11 +0400 From: Artemiev Igor To: freebsd-stable@freebsd.org Message-ID: <20100430120810.GA2415@two.kliksys.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam_score: 2.1 Subject: rpi(4) - Comtrol Infinity/Express card driver, please review X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 12:23:42 -0000 Hi This driver supports the RocketPort Infinity series of multiport serial cards, which are 3.3V PCI and PCI-X, PCI-E (RocketPort Express) compatible. Comtrol already have freebsd driver for those cards with abandoned support, it is only for freebsd5.x/6.x and old tty layout: ftp://ftp.comtrol.com/rport_infinity/drivers/freebsd/6.x/rpinfinity_freebsd6_1.01.tar.z I have changed it for new tty layer and tested with freebsd 8-stable. New driver is not only simple conversion from native comtrol version, but taking some functionality from comtrol linux driver, which more mature. Driver looks stable for me, i`m using it for our console server with several Comtrol Express cards: http:// gate.kliksys.ru/~ai/rpinfinity-20100430.tar.bz2 dmesg output: rpi0: mem 0xfabff000-0xfabfffff,0xfabf8000-0xfabfbfff irq 16 at device 0.0 on pci2 rpi1: mem 0xfacff000-0xfacfffff,0xfacf8000-0xfacfbfff irq 16 at device 0.0 on pci4 rpi2: mem 0xfadff000-0xfadfffff,0xfadf8000-0xfadfbfff irq 16 at device 0.0 on pci6 The Rocketport Infinity/Express devices include the ability to be configured for any of five interface modes: - RS232 - RS422 - RS485 2 wire (RS485) - RS485 4 wire slave (RS486) - RS485 4 wire master (RS487) The default mode is RS232. The exception to this is the SMPTE models, which are RS422 only. It can be setup via sysctl or loader tunables: dev.rpi..port..mode or hw.rpi..port..mode (loader tunables) dev.rpi..port..rts_toggle - inverting RTS signal. (only sysctl) For callin ports it create /dev/ttyRPIxy, for callout - /dev/cuaRPIxy, where x is the card unit, y is the port number From owner-freebsd-stable@FreeBSD.ORG Fri Apr 30 12:39:50 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C35801065738 for ; Fri, 30 Apr 2010 12:39:50 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7DACB8FC0C for ; Fri, 30 Apr 2010 12:39:50 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O7pVV-0000ff-Fc for freebsd-stable@freebsd.org; Fri, 30 Apr 2010 14:39:49 +0200 Received: from cpe-24-210-63-182.columbus.res.rr.com ([24.210.63.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Apr 2010 14:39:49 +0200 Received: from dsamms by cpe-24-210-63-182.columbus.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Apr 2010 14:39:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org connect(): No such file or directory From: David Samms Date: Fri, 30 Apr 2010 08:39:39 -0400 Lines: 22 Message-ID: <4BDACF8B.2070008@nw-ds.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpe-24-210-63-182.columbus.res.rr.com User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 Cc: ru@FreeBSD.org Subject: X11/rxvt: su fails to login and prints 'load: ...' on return X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 12:39:50 -0000 This morning I pulled up three rxvt terminals and ssh into a remote server. In each of the three ssh sessions I tried to su and failed with the following error message: %su root Password:load: 0.53 cmd: su 38176 [ttyin] 0.00u 0.00s 0% 1556k load: 0.53 cmd: su 38176 [ttyin] 0.00u 0.00s 0% 1556k Client is FreeBSD 8 stable (i386) Server is FreeBSD 7.2 Release An identical report was filed against aterm: http://www.freebsd.org/cgi/query-pr.cgi?pr=143786 Using a standard xterm, or XFCE Terminal I could su just fine. Also typing stty status '^M' before su, as suggested by Ruslan Ermilov solved the problem. -- David Samms New World Data Systems nw-ds.com From owner-freebsd-stable@FreeBSD.ORG Fri Apr 30 12:54:48 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 218351065674 for ; Fri, 30 Apr 2010 12:54:48 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id CF9CC8FC1A for ; Fri, 30 Apr 2010 12:54:47 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O7pjv-00054J-AM for freebsd-stable@freebsd.org; Fri, 30 Apr 2010 14:54:43 +0200 Received: from cpe-24-210-63-182.columbus.res.rr.com ([24.210.63.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Apr 2010 14:54:43 +0200 Received: from dsamms by cpe-24-210-63-182.columbus.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Apr 2010 14:54:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org connect(): No such file or directory From: David Samms Date: Fri, 30 Apr 2010 08:54:29 -0400 Lines: 34 Message-ID: References: <4BDACF8B.2070008@nw-ds.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpe-24-210-63-182.columbus.res.rr.com User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 In-Reply-To: <4BDACF8B.2070008@nw-ds.com> Subject: Re: X11/rxvt: su fails to login and prints 'load: ...' on return X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 12:54:48 -0000 Also, rebooting the client machine made no difference, using rxvt to su still fails. Client software hasn't been modified in a month. Server had been rebooted last night after 100+ days of uptime as I wanted to add the following to /boot/loader.conf kern.maxusers=512 vm.pmap.pg_ps_enabled=1 accf_data_load="YES" aio_load="YES" Prior to last nights reboot I have never seen the su problem. Immediately after the reboot su worked just fine, 9 hours later su fails. On 04/30/10 08:39, David Samms wrote: > This morning I pulled up three rxvt terminals and ssh into a remote > server. In each of the three ssh sessions I tried to su and failed with > the following error message: > > %su root > Password:load: 0.53 cmd: su 38176 [ttyin] 0.00u 0.00s 0% 1556k > load: 0.53 cmd: su 38176 [ttyin] 0.00u 0.00s 0% 1556k > > Client is FreeBSD 8 stable (i386) > Server is FreeBSD 7.2 Release > > An identical report was filed against aterm: > http://www.freebsd.org/cgi/query-pr.cgi?pr=143786 > > Using a standard xterm, or XFCE Terminal I could su just fine. Also > typing stty status '^M' before su, as suggested by Ruslan Ermilov solved > the problem. > From owner-freebsd-stable@FreeBSD.ORG Fri Apr 30 13:07:17 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A31B106566C for ; Fri, 30 Apr 2010 13:07:17 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [76.96.27.212]) by mx1.freebsd.org (Postfix) with ESMTP id 732D48FC23 for ; Fri, 30 Apr 2010 13:07:17 +0000 (UTC) Received: from omta17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by qmta14.emeryville.ca.mail.comcast.net with comcast id BoXc1e0031afHeLAEp7JoP; Fri, 30 Apr 2010 13:07:18 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta17.emeryville.ca.mail.comcast.net with comcast id Bp7G1e00H3S48mS8dp7His; Fri, 30 Apr 2010 13:07:17 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id AB6D69B425; Fri, 30 Apr 2010 06:07:15 -0700 (PDT) Date: Fri, 30 Apr 2010 06:07:15 -0700 From: Jeremy Chadwick To: David Samms Message-ID: <20100430130715.GA91653@icarus.home.lan> References: <4BDACF8B.2070008@nw-ds.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BDACF8B.2070008@nw-ds.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: ed@FreeBSD.org, ru@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: X11/rxvt: su fails to login and prints 'load: ...' on return X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 13:07:17 -0000 On Fri, Apr 30, 2010 at 08:39:39AM -0400, David Samms wrote: > This morning I pulled up three rxvt terminals and ssh into a remote > server. In each of the three ssh sessions I tried to su and failed > with the following error message: > > %su root > Password:load: 0.53 cmd: su 38176 [ttyin] 0.00u 0.00s 0% 1556k > load: 0.53 cmd: su 38176 [ttyin] 0.00u 0.00s 0% 1556k > > Client is FreeBSD 8 stable (i386) > Server is FreeBSD 7.2 Release > > An identical report was filed against aterm: > http://www.freebsd.org/cgi/query-pr.cgi?pr=143786 > > Using a standard xterm, or XFCE Terminal I could su just fine. Also > typing stty status '^M' before su, as suggested by Ruslan Ermilov > solved the problem. The "load:" part is a FreeBSD nicety, where if you press Control-T in a terminal window where there's a running process, you get details of the system (load avg, etc.) and details of the process (current state, time used, memory, etc.). In the pty/tty driver, this correlates to VSTATUS, which sends SIGINFO to the process. See stty(1) man page, search for "kerninfo". I realise this doesn't help solve your dilemma, but I wanted to let you know where the load line comes from and how you might be able to trace it back. I'm also adding Ed Schouten, who's responsible for the pty/tty driver; he might have some ideas how/why this is happening. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Sat May 1 13:23:53 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25362106566C; Sat, 1 May 2010 13:23:53 +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 D6FB98FC19; Sat, 1 May 2010 13:23:52 +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 o41DNpMd059987; Sat, 1 May 2010 09:23:51 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o41DNpWt059980; Sat, 1 May 2010 13:23:51 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 1 May 2010 13:23:51 GMT Message-Id: <201005011323.o41DNpWt059980@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: [releng_8_0 tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2010 13:23:53 -0000 TB --- 2010-05-01 12:46:03 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-05-01 12:46:03 - starting RELENG_8_0 tinderbox run for amd64/amd64 TB --- 2010-05-01 12:46:03 - cleaning the object tree TB --- 2010-05-01 12:46:28 - cvsupping the source tree TB --- 2010-05-01 12:46:28 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8_0/amd64/amd64/supfile TB --- 2010-05-01 13:23:51 - WARNING: /usr/bin/csup returned exit code 1 TB --- 2010-05-01 13:23:51 - ERROR: unable to cvsup the source tree TB --- 2010-05-01 13:23:51 - 0.94 user 13.10 system 2267.98 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8_0-amd64-amd64.full