From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 00:05:47 2008 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 4268E10656C5 for ; Sun, 30 Mar 2008 00:05:47 +0000 (UTC) (envelope-from rpp@ci.com.au) Received: from mippet.ci.com.au (mippet.ci.com.au [192.65.182.30]) by mx1.freebsd.org (Postfix) with ESMTP id B86288FC15 for ; Sun, 30 Mar 2008 00:05:46 +0000 (UTC) (envelope-from rpp@ci.com.au) Received: from mippet.ci.com.au (localhost [127.0.0.1]) by mippet.ci.com.au (8.14.2/8.14.2/CE070809/cml) with ESMTP id m2U05iou037709 for ; Sun, 30 Mar 2008 11:05:45 +1100 (EST) (envelope-from rpp@mippet.ci.com.au) Received: (from rpp@localhost) by mippet.ci.com.au (8.14.2/8.14.2/Submit) id m2U05iwO037708 for freebsd-stable@freebsd.org; Sun, 30 Mar 2008 11:05:44 +1100 (EST) (envelope-from rpp) Date: Sun, 30 Mar 2008 11:05:44 +1100 From: Richard Perini To: freebsd-stable@freebsd.org Message-ID: <20080330000544.GA36410@mippet.ci.com.au> References: <20080329230509.GA20266@mippet.ci.com.au> <20080329235631.GA43279@owl.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080329235631.GA43279@owl.midgard.homeip.net> X-Scanned-By: MIMEDefang 2.63 on 192.65.182.30 Subject: Re: PCI add-in parallel port 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: Sun, 30 Mar 2008 00:05:47 -0000 On Sun, Mar 30, 2008 at 12:56:31AM +0100, Erik Trulsson wrote: > On Sun, Mar 30, 2008 at 10:05:09AM +1100, Richard Perini wrote: > > > > Hi, > > > > I'm trying to get a PCI-express add-in parallel port card working with > > 7.0-STABLE, and after trying the following, I'm unable to get it to > > attach to the ppc bus. The card has a "MosChip NM9805" chip. Motherboard > > is an ASUS P5E64 WS. (which of course has no on-board parallel port). > > The card seems to be recognised by the puc layer. > > > > I've added > > device puc > > to the kernel config file, and added > > > > { 0x9710, 0x9805, 0xffff, 0, > > "MosChip NM9805 Dual 1284 Printer port", > > 0, > > PUC_PORT_2P, 0x10, 8, 0, > > }, > > > > to sys/dev/puc/pucdata.c and with verbose booting, get the following > > extracts from dmesg: (full dmesg attached below) > > > > pcib3: slot 0 INTB hardwired to IRQ 17 > > pcib4: slot 1 INTA is routed to irq 17 > > pcib5: slot 0 INTA is routed to irq 17 > > pcib6: slot 0 INTA is routed to irq 17 > > ppc0: Reserved 0x8 bytes for rid 0x10 type 4 at 0xdc00 > > ppc0: using extended I/O port range > > puc0: port 0xdc00-0xdc07,0xd880-0xd887,0xd800-0xd807,0xd480-0xd487,0xd400-0xd407,0xd080-0xd08f irq 17 at device 0.0 on pci10 > > pcib6: puc0 requested I/O range 0xdc00-0xdc07: in range > > pcib5: puc0 requested I/O range 0xdc00-0xdc07: in range > > pcib4: puc0 requested I/O range 0xdc00-0xdc07: in range > > pcib3: puc0 requested I/O range 0xdc00-0xdc07: in range > > puc0: Reserved 0x8 bytes for rid 0x18 type 4 at 0xd800 > > puc0: [FILTER] > > ppc0: using extended I/O port range > > ppc0: using extended I/O port range > > > > [ and later ] > > > > ppc0: parallel port not found. > > ppc0: failed to probe at irq 7 on isa0 > > > > Any suggestions would be appreciated. > > > > Take a look in /boot/device.hints > Do you have any lines in there referring to ppc0 ? > If so try commenting them out. Thanks for the suggestion, Erik. I commented out hint.ppc.0.at="isa" hint.ppc.0.irq="7" from /boot/device.hints and that got rid of ppc0: parallel port not found. ppc0: failed to probe at irq 7 on isa0 from dmesg, but unfortunately nothing else changed. -- Richard Perini From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 00:20:30 2008 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 93E681065672 for ; Sun, 30 Mar 2008 00:20:30 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8564B8FC1E for ; Sun, 30 Mar 2008 00:20:30 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 34A501CC060; Sat, 29 Mar 2008 17:20:30 -0700 (PDT) Date: Sat, 29 Mar 2008 17:20:30 -0700 From: Jeremy Chadwick To: Ed Maste Message-ID: <20080330002030.GA83172@eos.sc1.parodius.com> References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <20080329233430.GA23687@sandvine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080329233430.GA23687@sandvine.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: USB-Serial converters [Was: Panic with usb serial] 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, 30 Mar 2008 00:20:30 -0000 On Sat, Mar 29, 2008 at 07:34:30PM -0400, Ed Maste wrote: > On Sat, Mar 29, 2008 at 03:20:49PM -0700, Jeremy Chadwick wrote: > > Also, I'd like to know what USB serial adapter you're using (brand, > > model, and a website of it if possible), for unrelated reasons. Thanks! > > The "Cables Unlimited" USB-Serial adapter from TigerDirect[1] is based on > the FTDI chipset and works really well. It supports up to 1MBps and can > do non-standard rates (in -CURRENT). > > That said, we've got pretty comprehensive support for USB-serial > converters. I've bought five or six different ones, with the "Cables > Unlimited" one being the most expensive, and they're all supported. The > cheaper ones I've tried either don't do arbitrary rates, support only up > to 115200, or occasionally drop characters under continuous communication > though. > > [1] http://www.tigerdirect.ca/applications/SearchTools/item-details.asp?EdpNo=1104139&CatId=447 I was looking to pick up a few (one for my laptop which lacks a serial port, and another for around-the-house usage, as serial ports are becoming less and less common on motherboards) which did 9600, 19200, 38400, 57600, and (primarily) 115200 bps reliably and worked with FreeBSD. That adapter is exactly what I'm looking for! Thanks much! :-) -- | Jeremy Chadwick jdc at 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 Sun Mar 30 00:44:52 2008 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 055DA106564A for ; Sun, 30 Mar 2008 00:44:52 +0000 (UTC) (envelope-from karl@FS.denninger.net) Received: from FS.denninger.net (wsip-70-169-168-7.pn.at.cox.net [70.169.168.7]) by mx1.freebsd.org (Postfix) with ESMTP id 8E03E8FC15 for ; Sun, 30 Mar 2008 00:44:45 +0000 (UTC) (envelope-from karl@FS.denninger.net) Received: from fs.denninger.net (localhost [127.0.0.1]) by FS.denninger.net (8.14.2/8.13.1) with SMTP id m2U0ig5I059792 for ; Sat, 29 Mar 2008 18:44:42 -0600 (CST) (envelope-from karl@FS.denninger.net) Received: from fs.denninger.net [127.0.0.1] by Spamblock-sys (LOCAL); Sat Mar 29 18:44:42 2008 Received: (from karl@localhost) by FS.denninger.net (8.14.2/8.13.1/Submit) id m2U0igtr059785 for freebsd-stable@freebsd.org; Sat, 29 Mar 2008 18:44:42 -0600 (CST) (envelope-from karl) Date: Sat, 29 Mar 2008 18:44:42 -0600 From: Karl Denninger To: freebsd-stable@freebsd.org Message-ID: <20080330004442.GA59511@FS.denninger.net> Mail-Followup-To: freebsd-stable@freebsd.org References: <20080329035131.GA85119@FS.denninger.net> <200803291502.40137.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803291502.40137.doconnor@gsoft.com.au> User-Agent: Mutt/1.4.2.1i Organization: Karl's Sushi and Packet Smashers X-Die-Spammers: Spammers cheerfully broiled for supper and served with ketchup! Subject: Re: Generic 2-port PCI Express Serial Card - how to get recognized? 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, 30 Mar 2008 00:44:52 -0000 On Sat, Mar 29, 2008 at 03:02:32PM +1030, Daniel O'Connor wrote: > On Sat, 29 Mar 2008, Karl Denninger wrote: > > Hi folks; > > > > I have a "generic" PCI Express "dumb" (16550 allegedly) serial card > > that goes in a PCI Express slot. > > > > FreeBSD doesn't see it, which I assume has to do with the card's > > "vendor ID" not being in the table that FreeBSD reocognizes. > > > > How do I get the ID from the probe (and/or probe the bus when the > > machine is running?) - I assume I could add the vendor ID to the > > sio_pci.c module and it MIGHT work, yes? > > > > It doesn't have a specific brand and documentation is basically > > "zilch"; I figured it might work right out of the box, but so far, no > > joy. > > Have you tried loading puc? Unfortunately I think you will need to > recompile your kernel because it is not in GENERIC and not available as > a module. > > Look at /usr/src/sys/dev/puc/pucdata.c for a list of vendor/device IDs > (and add yours if it isn't there). That did it - thanks! Works fine... -- -- Karl Denninger (karl@denninger.net) Internet Consultant & Kids Rights Activist http://www.denninger.net My home on the net - links to everything I do! http://scubaforum.org Your UNCENSORED place to talk about DIVING! http://genesis3.blogspot.com Musings Of A Sentient Mind From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 01:17:14 2008 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 27C29106566B; Sun, 30 Mar 2008 01:17:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id E056E8FC15; Sun, 30 Mar 2008 01:17:13 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m2U1GPSL025199; Sat, 29 Mar 2008 19:16:25 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 29 Mar 2008 19:17:10 -0600 (MDT) Message-Id: <20080329.191710.1169638035.imp@bsdimp.com> To: koitsu@freebsd.org From: "M. Warner Losh" In-Reply-To: <20080329222049.GA80263@eos.sc1.parodius.com> References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jhary@unsane.co.uk, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 30 Mar 2008 01:17:14 -0000 In message: <20080329222049.GA80263@eos.sc1.parodius.com> Jeremy Chadwick writes: : On Sat, Mar 29, 2008 at 10:11:04PM +0000, Vince wrote: : > Is it expected that removing a usb serial adapter while you have a : > connection (eg tip) using it will panic a -stable system? I know it is : > expected if you remove a mounted umass device so wanted to see if its known : > behavior for serial before I file a pr. (adapter is converter, class 0/0, rev 1.10/4.00, addr 3>) : > -stable version as of the 25th march, (may have existed before but the : > first time I forgot to close tip before removing the device was on this : > version.) : : I would expect that the problem is identical in the sense that with a : connection established, you have an open file descriptor which is : associated with a serial device that uses USB. : : So, yes, I would expect this behaviour based on the track record. : Should it happen? The answer is no. File a PR? : : Also, I'd like to know what USB serial adapter you're using (brand, : model, and a website of it if possible), for unrelated reasons. Thanks! That's odd, because I use an FTDI based serial device all the time for hacking on embedded systems. The problem that I have is 100% CPU usage on a tip process until I kill it. Warner From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 01:38:50 2008 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 214C7106566B; Sun, 30 Mar 2008 01:38:50 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id EC7C68FC16; Sun, 30 Mar 2008 01:38:49 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m2U1cmNx024110; Sat, 29 Mar 2008 21:38:48 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m2U1cmPp029911; Sat, 29 Mar 2008 21:38:48 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id 56A661B5078; Sat, 29 Mar 2008 21:38:48 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080330013848.56A661B5078@freebsd-stable.sentex.ca> Date: Sat, 29 Mar 2008 21:38:48 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [releng_7 tinderbox] failure on i386/i386 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: Sun, 30 Mar 2008 01:38:50 -0000 TB --- 2008-03-30 00:27:28 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2008-03-30 00:27:28 - starting RELENG_7 tinderbox run for i386/i386 TB --- 2008-03-30 00:27:28 - cleaning the object tree TB --- 2008-03-30 00:27:49 - cvsupping the source tree TB --- 2008-03-30 00:27:49 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/i386/i386/supfile TB --- 2008-03-30 00:27:57 - building world (CFLAGS=-O2 -pipe) TB --- 2008-03-30 00:27:57 - cd /src TB --- 2008-03-30 00:27:57 - /usr/bin/make -B buildworld >>> World build started on Sun Mar 30 00:27:59 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Mar 30 01:30:19 UTC 2008 TB --- 2008-03-30 01:30:19 - generating LINT kernel config TB --- 2008-03-30 01:30:19 - cd /src/sys/i386/conf TB --- 2008-03-30 01:30:19 - /usr/bin/make -B LINT TB --- 2008-03-30 01:30:19 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2008-03-30 01:30:19 - cd /src TB --- 2008-03-30 01:30:19 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Mar 30 01:30:19 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/fs/ntfs/ntfs_iconv.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/fs/ntfs/ntfs_ihash.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/fs/ntfs/ntfs_subr.c /src/sys/fs/ntfs/ntfs_subr.c:468:66: error: macro "lockmgr" requires 4 arguments, but only 3 given /src/sys/fs/ntfs/ntfs_subr.c: In function 'ntfs_ntput': /src/sys/fs/ntfs/ntfs_subr.c:468: error: 'lockmgr' undeclared (first use in this function) /src/sys/fs/ntfs/ntfs_subr.c:468: error: (Each undeclared identifier is reported only once /src/sys/fs/ntfs/ntfs_subr.c:468: error: for each function it appears in.) *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-03-30 01:38:48 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-03-30 01:38:48 - ERROR: failed to build lint kernel TB --- 2008-03-30 01:38:48 - tinderbox aborted TB --- 3638.72 user 375.27 system 4279.72 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-i386-i386.full From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 02:48:22 2008 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 AF292106564A; Sun, 30 Mar 2008 02:48:22 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 85A848FC19; Sun, 30 Mar 2008 02:48:22 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m2U2mLMA031547; Sat, 29 Mar 2008 22:48:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m2U2mLFH082095; Sat, 29 Mar 2008 22:48:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id 4D96D1B5078; Sat, 29 Mar 2008 22:48:21 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080330024821.4D96D1B5078@freebsd-stable.sentex.ca> Date: Sat, 29 Mar 2008 22:48:21 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [releng_7 tinderbox] failure on i386/pc98 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: Sun, 30 Mar 2008 02:48:23 -0000 TB --- 2008-03-30 01:38:48 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2008-03-30 01:38:48 - starting RELENG_7 tinderbox run for i386/pc98 TB --- 2008-03-30 01:38:48 - cleaning the object tree TB --- 2008-03-30 01:39:05 - cvsupping the source tree TB --- 2008-03-30 01:39:05 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/i386/pc98/supfile TB --- 2008-03-30 01:39:12 - building world (CFLAGS=-O2 -pipe) TB --- 2008-03-30 01:39:12 - cd /src TB --- 2008-03-30 01:39:12 - /usr/bin/make -B buildworld >>> World build started on Sun Mar 30 01:39:13 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Mar 30 02:41:20 UTC 2008 TB --- 2008-03-30 02:41:20 - generating LINT kernel config TB --- 2008-03-30 02:41:20 - cd /src/sys/pc98/conf TB --- 2008-03-30 02:41:20 - /usr/bin/make -B LINT TB --- 2008-03-30 02:41:20 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2008-03-30 02:41:20 - cd /src TB --- 2008-03-30 02:41:20 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Mar 30 02:41:21 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -pg -mprofiler-epilogue /src/sys/fs/ntfs/ntfs_iconv.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -pg -mprofiler-epilogue /src/sys/fs/ntfs/ntfs_ihash.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -pg -mprofiler-epilogue /src/sys/fs/ntfs/ntfs_subr.c /src/sys/fs/ntfs/ntfs_subr.c:468:66: error: macro "lockmgr" requires 4 arguments, but only 3 given /src/sys/fs/ntfs/ntfs_subr.c: In function 'ntfs_ntput': /src/sys/fs/ntfs/ntfs_subr.c:468: error: 'lockmgr' undeclared (first use in this function) /src/sys/fs/ntfs/ntfs_subr.c:468: error: (Each undeclared identifier is reported only once /src/sys/fs/ntfs/ntfs_subr.c:468: error: for each function it appears in.) *** Error code 1 Stop in /obj/pc98/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-03-30 02:48:21 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-03-30 02:48:21 - ERROR: failed to build lint kernel TB --- 2008-03-30 02:48:21 - tinderbox aborted TB --- 3510.82 user 375.17 system 4172.76 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-i386-pc98.full From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 03:10:21 2008 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 307B3106564A for ; Sun, 30 Mar 2008 03:10:21 +0000 (UTC) (envelope-from karl@FS.denninger.net) Received: from FS.denninger.net (wsip-70-169-168-7.pn.at.cox.net [70.169.168.7]) by mx1.freebsd.org (Postfix) with ESMTP id D34178FC12 for ; Sun, 30 Mar 2008 03:10:20 +0000 (UTC) (envelope-from karl@FS.denninger.net) Received: from fs.denninger.net (localhost [127.0.0.1]) by FS.denninger.net (8.14.2/8.13.1) with SMTP id m2U3AHOK033426 for ; Sat, 29 Mar 2008 21:10:17 -0600 (CST) (envelope-from karl@FS.denninger.net) Received: from fs.denninger.net [127.0.0.1] by Spamblock-sys (LOCAL); Sat Mar 29 21:10:17 2008 Received: (from karl@localhost) by FS.denninger.net (8.14.2/8.13.1/Submit) id m2U3AHim033419 for freebsd-stable@freebsd.org; Sat, 29 Mar 2008 21:10:17 -0600 (CST) (envelope-from karl) Date: Sat, 29 Mar 2008 21:10:17 -0600 From: Karl Denninger To: freebsd-stable@freebsd.org Message-ID: <20080330031017.GA32063@FS.denninger.net> Mail-Followup-To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: Karl's Sushi and Packet Smashers X-Die-Spammers: Spammers cheerfully broiled for supper and served with ketchup! Subject: gjournal.... 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, 30 Mar 2008 03:10:21 -0000 Hi folks; Wondering about the various pros and cons of using the "gjournal" GEOM provider... and if you can "promote" and existing system using it, or whether you need to build something anew. The scenario is a fairly busy and large system with PostgreSQL database data on it. The data is currently on a 2-disk gmirror pair to provide data safety in the event of a disk failure. I am using softupdates right now. If I'm reading the docs correctly, I can't put gjournal in use on the existing filesystem, and need to effectively build a new disk structure then copy over the data onto it. Can you boot from a gjournal'd root? Ideas please, pros and cons of the various alternatives, etc..... thanks! -- -- Karl Denninger (karl@denninger.net) Internet Consultant & Kids Rights Activist http://www.denninger.net My home on the net - links to everything I do! http://scubaforum.org Your UNCENSORED place to talk about DIVING! http://genesis3.blogspot.com Musings Of A Sentient Mind From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 03:17:31 2008 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 1C953106566B; Sun, 30 Mar 2008 03:17:31 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id CE9168FC13; Sun, 30 Mar 2008 03:17:30 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m2U3HTFE030439; Sat, 29 Mar 2008 23:17:29 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m2U3HT9W001056; Sat, 29 Mar 2008 23:17:29 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id 78D9D1B5078; Sat, 29 Mar 2008 23:17:29 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080330031729.78D9D1B5078@freebsd-stable.sentex.ca> Date: Sat, 29 Mar 2008 23:17:29 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [releng_7 tinderbox] failure on ia64/ia64 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: Sun, 30 Mar 2008 03:17:31 -0000 TB --- 2008-03-30 01:44:31 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2008-03-30 01:44:31 - starting RELENG_7 tinderbox run for ia64/ia64 TB --- 2008-03-30 01:44:31 - cleaning the object tree TB --- 2008-03-30 01:44:45 - cvsupping the source tree TB --- 2008-03-30 01:44:45 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/ia64/ia64/supfile TB --- 2008-03-30 01:44:51 - building world (CFLAGS=-O2 -pipe) TB --- 2008-03-30 01:44:51 - cd /src TB --- 2008-03-30 01:44:51 - /usr/bin/make -B buildworld >>> World build started on Sun Mar 30 01:44:52 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Mar 30 03:08:02 UTC 2008 TB --- 2008-03-30 03:08:02 - generating LINT kernel config TB --- 2008-03-30 03:08:02 - cd /src/sys/ia64/conf TB --- 2008-03-30 03:08:02 - /usr/bin/make -B LINT TB --- 2008-03-30 03:08:02 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2008-03-30 03:08:02 - cd /src TB --- 2008-03-30 03:08:02 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Mar 30 03:08:03 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/fs/ntfs/ntfs_iconv.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/fs/ntfs/ntfs_ihash.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/fs/ntfs/ntfs_subr.c /src/sys/fs/ntfs/ntfs_subr.c:468:66: error: macro "lockmgr" requires 4 arguments, but only 3 given /src/sys/fs/ntfs/ntfs_subr.c: In function 'ntfs_ntput': /src/sys/fs/ntfs/ntfs_subr.c:468: error: 'lockmgr' undeclared (first use in this function) /src/sys/fs/ntfs/ntfs_subr.c:468: error: (Each undeclared identifier is reported only once /src/sys/fs/ntfs/ntfs_subr.c:468: error: for each function it appears in.) *** Error code 1 Stop in /obj/ia64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-03-30 03:17:29 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-03-30 03:17:29 - ERROR: failed to build lint kernel TB --- 2008-03-30 03:17:29 - tinderbox aborted TB --- 4897.02 user 379.75 system 5577.87 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-ia64-ia64.full From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 04:55:43 2008 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 52B6B106564A for ; Sun, 30 Mar 2008 04:55:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by mx1.freebsd.org (Postfix) with ESMTP id E6F9C8FC1B for ; Sun, 30 Mar 2008 04:55:42 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay03.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Jfpa0-000Pah-Es; Sun, 30 Mar 2008 07:55:40 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m2U4tmvj020449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 Mar 2008 07:55:48 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m2U4tbDi040304; Sun, 30 Mar 2008 07:55:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m2U4tbkP040303; Sun, 30 Mar 2008 07:55:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 30 Mar 2008 07:55:37 +0300 From: Kostik Belousov To: Vince Message-ID: <20080330045537.GB21209@deviant.kiev.zoral.com.ua> References: <47EEBE78.5050506@unsane.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <47EEBE78.5050506@unsane.co.uk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: 7ffaa6bc246e67c9b1a22e0c753f4a43 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2516 [Mar 28 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {TO: local part of email appears in body} X-SpamTest-Method: none X-SpamTest-Rate: 5 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 30 Mar 2008 04:55:43 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 29, 2008 at 10:11:04PM +0000, Vince wrote: > Hi all, > Is it expected that removing a usb serial adapter while you have a=20 > connection (eg tip) using it will panic a -stable system? I know it is=20 > expected if you remove a mounted umass device so wanted to see if its=20 > known behavior for serial before I file a pr. (adapter is serial converter, class 0/0, rev 1.10/4.00, addr 3>) > -stable version as of the 25th march, (may have existed before but the=20 > first time I forgot to close tip before removing the device was on this= =20 > version.) What is the exact version number of your system ? There are two supported stable branch now. --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkfvHUgACgkQC3+MBN1Mb4jOlwCg0LP4uuC+Q1H3qIyWsS+THUsw hFcAoI2ENdDfDQ24KKZG0lzmapDyTeYl =9Ki6 -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 06:59:16 2008 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 03730106566B for ; Sun, 30 Mar 2008 06:59:15 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 443348FC19 for ; Sun, 30 Mar 2008 06:59:15 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m2U6vfrh028598; Sun, 30 Mar 2008 00:57:42 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 30 Mar 2008 00:58:23 -0600 (MDT) Message-Id: <20080330.005823.-432836004.imp@bsdimp.com> To: rock_on_the_web@comcen.com.au From: "M. Warner Losh" In-Reply-To: <1206767583.4015.12.camel@laptop2.herveybayaustralia.com.au> References: <1206767583.4015.12.camel@laptop2.herveybayaustralia.com.au> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org Subject: Re: Texas Instruments Card Reader. 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, 30 Mar 2008 06:59:16 -0000 In message: <1206767583.4015.12.camel@laptop2.herveybayaustralia.com.au> Da Rock writes: : Did anyone end up getting this to work? I'm suffering the same woes... Which device is this, specifically? Warner From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 09:06:18 2008 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 0AD44106566C for ; Sun, 30 Mar 2008 09:06:18 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 058B58FC16 for ; Sun, 30 Mar 2008 09:06:18 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id D566A1A4D80; Sun, 30 Mar 2008 02:06:17 -0700 (PDT) Date: Sun, 30 Mar 2008 02:06:17 -0700 From: Alfred Perlstein To: freebsd-stable@freebsd.org Message-ID: <20080330090617.GH95731@elvis.mu.org> References: <20080330031017.GA32063@FS.denninger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080330031017.GA32063@FS.denninger.net> User-Agent: Mutt/1.4.2.3i Subject: Re: gjournal.... 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, 30 Mar 2008 09:06:18 -0000 * Karl Denninger [080329 20:10] wrote: > Hi folks; > > Wondering about the various pros and cons of using the "gjournal" GEOM > provider... and if you can "promote" and existing system using it, or > whether you need to build something anew. > > The scenario is a fairly busy and large system with PostgreSQL database data > on it. The data is currently on a 2-disk gmirror pair to provide data > safety in the event of a disk failure. > > I am using softupdates right now. > > If I'm reading the docs correctly, I can't put gjournal in use on the > existing filesystem, and need to effectively build a new disk structure then > copy over the data onto it. > > Can you boot from a gjournal'd root? > > Ideas please, pros and cons of the various alternatives, etc..... thanks! > If you're using a database then it shouldn't matter what meta data provider you use "all that much" with the exception of temporary tables. Basically, SU and gjournal both provide for meta data consistency, something that a database rarely needs as it rarely creates/deletes files often. -- - Alfred Perlstein From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 10:27:36 2008 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 D7642106564A for ; Sun, 30 Mar 2008 10:27:36 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id B6CF38FC1F for ; Sun, 30 Mar 2008 10:27:36 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 31F398F5C6; Sun, 30 Mar 2008 06:27:36 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Sun, 30 Mar 2008 06:27:36 -0400 X-Sasl-enc: ZJu3BOEBgBwARR47VXht+nZ3isCfXG0zoSA/ykcCLCDH 1206872855 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id A1D4CACEC; Sun, 30 Mar 2008 06:27:35 -0400 (EDT) Message-ID: <47EF6B16.5010107@FreeBSD.org> Date: Sun, 30 Mar 2008 11:27:34 +0100 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.9 (X11/20080207) MIME-Version: 1.0 To: "Carlos A. M. dos Santos" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Missing manual pages (e.g. aio_fsync) 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, 30 Mar 2008 10:27:36 -0000 Carlos A. M. dos Santos wrote: > Hello, > > It seems that the manual page of aio_fsync is missing, at least in > FreeBSD 7.0-STABLE. I have some questions regarding this: > > 1. Is there somebody working on a man page for aio_fsync? > > 2. Is there a list of missing manual pages? > > 3. What is the current status of POSIX and Unix Specification? Is > there any agreement with IEEE or Open Group allowing to cut-and-paste > from, say, http://www.opengroup.org/onlinepubs/009695399/functions/aio_fsync.html? > The way open source usually works is, it takes longer for someone to write these questions and wait for a response, than it does to just get your sleeves rolled up and run in, guns blazing, and write the man page. Of course then it's easy to waste time doing something someone already did, but that way you get experience doing it, that is after all how open source works. They ain't exactly difficult to write. Doesn't really matter what you do, as long as you do something.... and I myself do well to remember the How It Works(tm) formula from time to time. I believe there is such an agreement but you need to check with others or use the handy CVSweb commit history(tm) for other pages e.g. clock_gettime to check what you can and cannot lift. cheers BMS From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 12:18:11 2008 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 8B01E106564A for ; Sun, 30 Mar 2008 12:18:11 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 251198FC22 for ; Sun, 30 Mar 2008 12:18:10 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so269211uge.37 for ; Sun, 30 Mar 2008 05:18:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=niiciS2aLxZh1FwS4U+RzlI0lpdsbc1v15Y91PdPJZg=; b=dAVqHAKbO3RDsXxDuxAL4ntEoJjfa72BtJPPyZ39f/dk2QKWYxJuzZF3psONs3HUYCG2lyNt0CXboUr5s368YZqFy41ta0CiJgH11dzFhWrWwLn4AI++VrwnXd8NsZCDaNTYsQJHuII28ONaLNlrNyPlgsQq1GC4l842fJ0LoRk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XwTV+KK9EitvhdzZmI4ekYxIxqKybQF0iNUbqCH0QUWuLI5h6kg4Mir88Ic6u0pKoLX9/T9flSrGLJYeqE4RWzTjMOuGZE1I+f/BPKCDS2v/6OpObJfVRJ8Gei6LZqjoHqtCllEPR93/HIl7wW+kWULNc/DF1QodyLF5LqS6RmQ= Received: by 10.66.250.18 with SMTP id x18mr1388642ugh.79.1206879485302; Sun, 30 Mar 2008 05:18:05 -0700 (PDT) Received: by 10.66.219.8 with HTTP; Sun, 30 Mar 2008 05:18:05 -0700 (PDT) Message-ID: Date: Sun, 30 Mar 2008 09:18:05 -0300 From: "Carlos A. M. dos Santos" To: "M. Warner Losh" In-Reply-To: <20080330.005823.-432836004.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1206767583.4015.12.camel@laptop2.herveybayaustralia.com.au> <20080330.005823.-432836004.imp@bsdimp.com> Cc: freebsd-stable@freebsd.org Subject: Re: Texas Instruments Card Reader. 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, 30 Mar 2008 12:18:11 -0000 On Sun, Mar 30, 2008 at 3:58 AM, M. Warner Losh wrote: > In message: <1206767583.4015.12.camel@laptop2.herveybayaustralia.com.au> > Da Rock writes: > : Did anyone end up getting this to work? I'm suffering the same woes... > > Which device is this, specifically? > > Warner It is an SD, MS/Pro, MMC, SM and XD card reader. It is recognized by the Linux "sdhci" driver. There was an email thread some time ago discussing an homonymous driver for FreeBSD: http://lists.freebsd.org/pipermail/freebsd-drivers/2006-September/000243.html http://lists.freebsd.org/pipermail/freebsd-drivers/2006-September/000248.html -- Carlos A. M. dos Santos From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 14:20:04 2008 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 837F9106564A for ; Sun, 30 Mar 2008 14:20:04 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 438C88FC14 for ; Sun, 30 Mar 2008 14:20:04 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JfyOB-0008K6-1z for freebsd-stable@freebsd.org; Sun, 30 Mar 2008 14:20:03 +0000 Received: from 92.50.96.215 ([92.50.96.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Mar 2008 14:20:03 +0000 Received: from saper by 92.50.96.215 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Mar 2008 14:20:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Marcin Cieslak Date: Sat, 29 Mar 2008 20:41:48 +0100 Lines: 17 Message-ID: <47EE9B7C.2090802@system.pl> References: <47EBD709.9090503@ssli.ee.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 92.50.96.215 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.12) Gecko/20080325 SeaMonkey/1.1.8 In-Reply-To: <47EBD709.9090503@ssli.ee.washington.edu> Sender: news Subject: Re: amd(8) aborting on file server running FBSD 6.3 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, 30 Mar 2008 14:20:04 -0000 Lee Damon wrote: > Any help with this would be greatly appreciated. No one has home > directories right now because this is the main homedir server in the lab. I have recently updated by 7.0-PRERELEASE box to 7.0-STABLE and amd(8) has crashed at least twice since then (it was not the case with 7.0-PRE). I am using it only for removable USB devices on my laptop, therefore it is not used all the time. My backtrace shows crash in dlopen() in a similar way yours, but I am not sure whether my debug symbols are right (generated after the crash). Do you have any certain way to reproduce the problem? amd works fine most of the time (although seldom used). --Marcin From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 15:06:54 2008 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 8E282106564A for ; Sun, 30 Mar 2008 15:06:54 +0000 (UTC) (envelope-from streetsoul@streetsoul.lv) Received: from web04.hostnet.lv (web04.hostnet.lv [81.94.239.56]) by mx1.freebsd.org (Postfix) with ESMTP id EFC1A8FC1C for ; Sun, 30 Mar 2008 15:06:53 +0000 (UTC) (envelope-from streetsoul@streetsoul.lv) X-ClientAddr: 127.0.0.1 Received: from www.street-soul.eu (localhost [127.0.0.1]) by web04.hostnet.lv (8.12.11.20060308/8.12.11) with ESMTP id m2UEmKaw029687 for ; Sun, 30 Mar 2008 17:48:20 +0300 Date: Sun, 30 Mar 2008 17:48:20 +0300 To: stable@freebsd.org From: Streetsoul Message-ID: <2e5e95d746d9ef18185aaf61f34aa656@www.street-soul.eu> X-Priority: 3 X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.0 rc1] Content-Transfer-Encoding: 8bit X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (web04.hostnet.lv [127.0.0.1]); Sun, 30 Mar 2008 17:48:20 +0300 (EEST) X-HostNet-MailScanner-Information: Hostnet Virus And Antispam software X-HostNet-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailScanner-MCPCheck: X-MailScanner-From: streetsoul@streetsoul.lv MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Draugs tev iesaka streetsoul.lv 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, 30 Mar 2008 15:06:54 -0000 Sveiciens! Tavs draugs ir pieteicis tevi kļūt par savÄjo savÄjo ne parastÄ apÄ£Ärbu veikalÄ www.streetsoul.lv Ja vÄl nezini par mums, tad dodies uz interneta veikalu www.streetsoul.lv vai ielas veikalu RÄ«gÄ, TÄrbatas ielÄ 85 (http://www.streetsoul.lv/streetstore/). Kļūsti par savÄjo streetsoul.lv veikalÄ! Izveido savu kontu un saÅem zemÄkas cenas kÄ arÄ« lielÄkas atlaides! Lai izveidotu savu kontu, spied vai iekopÄ pÄrlÅ«kprogrammÄ Å¡o linku: http://www.streetsoul.lv/register/ TurpmÄk savÄ e-pastÄ redzÄsi veikala jaunÄs preces un ziÅas par akcijÄm, atlaidÄm un citÄm aktivitÄtÄm, kuras veic streetsoul. Baudi DzÄ«vi, Ä¢Ärbies BrÄ«vi !!! :) Streetsoul.lv Ja rodas kÄdi jautÄjumi, droÅ¡i sazinies ar mums: customerservice@streetsoul.eu vai pa tÄlruni 67 145 100; www.streetsoul.lv P.S. Ja vÄlies atteikties no streetsoul ziÅu vÄstuļu saÅemÅ¡anas, tev no sava e-pasta jÄnosÅ«ta tukÅ¡a ziÅa uz adresi unsubscribe@streetsoul.eu From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 16:17:07 2008 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 50EB0106566B for ; Sun, 30 Mar 2008 16:17:07 +0000 (UTC) (envelope-from karl@FS.denninger.net) Received: from FS.denninger.net (wsip-70-169-168-7.pn.at.cox.net [70.169.168.7]) by mx1.freebsd.org (Postfix) with ESMTP id EA9BA8FC24 for ; Sun, 30 Mar 2008 16:17:06 +0000 (UTC) (envelope-from karl@FS.denninger.net) Received: from fs.denninger.net (localhost [127.0.0.1]) by FS.denninger.net (8.14.2/8.13.1) with SMTP id m2UGH2Y5009073 for ; Sun, 30 Mar 2008 10:17:02 -0600 (CST) (envelope-from karl@FS.denninger.net) Received: from fs.denninger.net [127.0.0.1] by Spamblock-sys (LOCAL); Sun Mar 30 10:17:02 2008 Received: (from karl@localhost) by FS.denninger.net (8.14.2/8.13.1/Submit) id m2UGH25R009066 for freebsd-stable@freebsd.org; Sun, 30 Mar 2008 10:17:02 -0600 (CST) (envelope-from karl) Date: Sun, 30 Mar 2008 10:17:02 -0600 From: Karl Denninger To: freebsd-stable@freebsd.org Message-ID: <20080330161702.GA8242@FS.denninger.net> Mail-Followup-To: freebsd-stable@freebsd.org References: <20080330031017.GA32063@FS.denninger.net> <20080330090617.GH95731@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080330090617.GH95731@elvis.mu.org> User-Agent: Mutt/1.4.2.1i Organization: Karl's Sushi and Packet Smashers X-Die-Spammers: Spammers cheerfully broiled for supper and served with ketchup! Subject: Re: gjournal.... 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, 30 Mar 2008 16:17:07 -0000 On Sun, Mar 30, 2008 at 02:06:17AM -0700, Alfred Perlstein wrote: > * Karl Denninger [080329 20:10] wrote: > > Hi folks; > > > > Wondering about the various pros and cons of using the "gjournal" GEOM > > provider... and if you can "promote" and existing system using it, or > > whether you need to build something anew. > > > > The scenario is a fairly busy and large system with PostgreSQL database data > > on it. The data is currently on a 2-disk gmirror pair to provide data > > safety in the event of a disk failure. > > > > I am using softupdates right now. > > > > If I'm reading the docs correctly, I can't put gjournal in use on the > > existing filesystem, and need to effectively build a new disk structure then > > copy over the data onto it. > > > > Can you boot from a gjournal'd root? > > > > Ideas please, pros and cons of the various alternatives, etc..... thanks! > > > > If you're using a database then it shouldn't matter what meta data > provider you use "all that much" with the exception of temporary > tables. > > Basically, SU and gjournal both provide for meta data consistency, > something that a database rarely needs as it rarely creates/deletes > files often. > I'm looking at this more from a performance standpoint. Is there a performance advantage to using gjournal over a "normal" UFS/UFS2 filesystem with softupdates? -- -- Karl Denninger (karl@denninger.net) Internet Consultant & Kids Rights Activist http://www.denninger.net My home on the net - links to everything I do! http://scubaforum.org Your UNCENSORED place to talk about DIVING! http://genesis3.blogspot.com Musings Of A Sentient Mind From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 17:40:06 2008 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 507641065670 for ; Sun, 30 Mar 2008 17:40:06 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 03D938FC23 for ; Sun, 30 Mar 2008 17:40:04 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Jg1Vi-0001WI-Jz for freebsd-stable@freebsd.org; Sun, 30 Mar 2008 17:40:02 +0000 Received: from 92.50.96.215 ([92.50.96.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Mar 2008 17:40:02 +0000 Received: from saper by 92.50.96.215 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Mar 2008 17:40:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Marcin Cieslak Date: Sun, 30 Mar 2008 19:35:35 +0200 Lines: 13 Message-ID: <47EFCF67.9040601@system.pl> References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 92.50.96.215 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.12) Gecko/20080325 SeaMonkey/1.1.8 In-Reply-To: <47EED34E.2080400@unsane.co.uk> Sender: news Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 30 Mar 2008 17:40:06 -0000 Vince wrote: > Jeremy Chadwick wrote: > Regarding the USB serial adapter, I was supplied it though work a while > back. I believe from my rather fuzzy memory we got it though these guys > http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html > Although I wouldn't swear to it. I'll have an ask if anyone remembers on > monday. Can you post a fragment of dmesg output? I am interested whether you attach it to the ohci or uhci controller. --Marcin From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 18:57:26 2008 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 547081065675 for ; Sun, 30 Mar 2008 18:57:26 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5F78FC2C for ; Sun, 30 Mar 2008 18:57:26 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 0361A1A4D8D; Sun, 30 Mar 2008 11:57:26 -0700 (PDT) Date: Sun, 30 Mar 2008 11:57:25 -0700 From: Alfred Perlstein To: freebsd-stable@freebsd.org Message-ID: <20080330185725.GI95731@elvis.mu.org> References: <20080330031017.GA32063@FS.denninger.net> <20080330090617.GH95731@elvis.mu.org> <20080330161702.GA8242@FS.denninger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080330161702.GA8242@FS.denninger.net> User-Agent: Mutt/1.4.2.3i Subject: Re: gjournal.... 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, 30 Mar 2008 18:57:26 -0000 * Karl Denninger [080330 09:17] wrote: > On Sun, Mar 30, 2008 at 02:06:17AM -0700, Alfred Perlstein wrote: > > > > If you're using a database then it shouldn't matter what meta data > > provider you use "all that much" with the exception of temporary > > tables. > > > > Basically, SU and gjournal both provide for meta data consistency, > > something that a database rarely needs as it rarely creates/deletes > > files often. > > > > I'm looking at this more from a performance standpoint. > > Is there a performance advantage to using gjournal over a "normal" UFS/UFS2 > filesystem with softupdates? I think that SU will be faster, but that's just a semi-educated guess. -- - Alfred Perlstein From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 19:37:00 2008 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 39DCA106564A for ; Sun, 30 Mar 2008 19:37:00 +0000 (UTC) (envelope-from msnkipa@mail.ru) Received: from mx44.mail.ru (mx44.mail.ru [195.239.211.10]) by mx1.freebsd.org (Postfix) with ESMTP id DAB828FC1C for ; Sun, 30 Mar 2008 19:36:59 +0000 (UTC) (envelope-from msnkipa@mail.ru) Received: from f127.mail.ru (f127.mail.ru [194.67.57.236]) by mx44.mail.ru (mPOP.Fallback_MX) with ESMTP id 2ACE6380087D1 for ; Sun, 30 Mar 2008 22:56:20 +0400 (MSD) Received: from mail by f127.mail.ru with local id 1Jg2hW-000Diz-00 for freebsd-stable@freebsd.org; Sun, 30 Mar 2008 22:56:18 +0400 Received: from [89.113.74.101] by win.mail.ru with HTTP; Sun, 30 Mar 2008 22:56:18 +0400 From: =?koi8-r?Q?=ED=C9=C8=C1=C9=CC_=EB=C9=D0=C1?= To: freebsd-stable@freebsd.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: 192.168.7.11 via proxy [89.113.74.101] Date: Sun, 30 Mar 2008 22:56:18 +0400 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Spam: Not detected X-Mras: OK Subject: rl driver error? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?koi8-r?Q?=ED=C9=C8=C1=C9=CC_=EB=C9=D0=C1?= List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2008 19:37:00 -0000 I have got system with rl and re cards. This system functiones as gateway, rl - internet re - intranet. Periodically I have ping: sendto: No buffer space available on rl card! on logs I have Mar 30 22:23:02 xxxxxxx kernel: rl0: watchdog timeout Mar 30 22:23:32 xxxxxxx last message repeated 6 times This could be improved by reboting the system, that very bad, as it network gateway! Some ideas? System FreeBSD 7.0 , compiled from RELENG_7_0_0 From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 20:32:46 2008 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 C14A11065670 for ; Sun, 30 Mar 2008 20:32:46 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6754D8FC2F for ; Sun, 30 Mar 2008 20:32:46 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jg4Cp-0000Ux-T4 for freebsd-stable@freebsd.org; Sun, 30 Mar 2008 20:32:43 +0000 Received: from 78-1-75-10.adsl.net.t-com.hr ([78.1.75.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Mar 2008 20:32:43 +0000 Received: from ivoras by 78-1-75-10.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Mar 2008 20:32:43 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Sun, 30 Mar 2008 22:32:35 +0200 Lines: 35 Message-ID: References: <20080330031017.GA32063@FS.denninger.net> <20080330090617.GH95731@elvis.mu.org> <20080330161702.GA8242@FS.denninger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig34FC2BB8B7F301423087891D" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-75-10.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <20080330161702.GA8242@FS.denninger.net> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: gjournal.... 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, 30 Mar 2008 20:32:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig34FC2BB8B7F301423087891D Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Karl Denninger wrote: > Is there a performance advantage to using gjournal over a "normal" UFS/= UFS2 > filesystem with softupdates? Short answer - no. Long answer - maybe, in very specific scenarios which = are probably not possible in real world usage. For PostgreSQL and similar advanced databases that do their own=20 journaling (WAL), it generally doesn't make sense to add another layer=20 of journaling. --------------enig34FC2BB8B7F301423087891D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH7/jjldnAQVacBcgRAm7MAKDL4/aMRzLrPWncqtxH1ZbI44esVgCg1pz4 EjZ48xQESDjgDlnL81VVVR0= =Io1r -----END PGP SIGNATURE----- --------------enig34FC2BB8B7F301423087891D-- From owner-freebsd-stable@FreeBSD.ORG Sun Mar 30 20:44:44 2008 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 959C6106566C for ; Sun, 30 Mar 2008 20:44:44 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0AF348FC14 for ; Sun, 30 Mar 2008 20:44:44 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jg4OM-00011f-3x for freebsd-stable@freebsd.org; Sun, 30 Mar 2008 20:44:38 +0000 Received: from 78-1-75-10.adsl.net.t-com.hr ([78.1.75.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Mar 2008 20:44:38 +0000 Received: from ivoras by 78-1-75-10.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Mar 2008 20:44:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Sun, 30 Mar 2008 22:44:28 +0200 Lines: 127 Message-ID: References: <47EDD0EE.7090803@lozenetz.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig85157DAAE51E2A90AD9976AE" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-75-10.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <47EDD0EE.7090803@lozenetz.org> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: why does my apache-worker broke after upgrade to 6_3_RELEASE? 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, 30 Mar 2008 20:44:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig85157DAAE51E2A90AD9976AE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Anton - Valqk wrote: > Hi group, > does anyone has idea > why the #$#$#$%$%#$%$@#$% upgrade to latest 6_3_RELEASE > broke my apache-worker?!??? > In logs I get: > Fatal error 'kse_exit() failed for system scope thread' at line 1215 in= > file /usr/src/lib/libpthread/thread/thr_kern.c (errno =3D 22) >=20 > I don't think it's a suggested behavior? > This broke my apache for christ sake!!! > Not pretty sure about all other threaded apps..... > after 10 times I've rebuilded my port from scratch and seeing that it's= > not a problem with this, > I've found a solution: > adding in /etc/libmap.conf >=20 > [httpd] > libpthread.so.2 libthr.so.2 > libpthread.so libthr.so Since many people (including myself) have upgraded from 6.something to=20 6.3-RELEASE without problems, it's probably something specific to your=20 own system. Have you tried rebuilding world instead of port? What does `ldd /usr/local/sbin/httpd` say when you remove libmap.conf? Here's what it says on one of my 6.3 systems: > ldd /usr/local/sbin/httpd /usr/local/sbin/httpd: libm.so.4 =3D> /lib/libm.so.4 (0x80068c000) libaprutil-1.so.2 =3D> /usr/local/lib/libaprutil-1.so.2 (0x8007a= 8000) libexpat.so.6 =3D> /usr/local/lib/libexpat.so.6 (0x8008c0000) libiconv.so.3 =3D> /usr/local/lib/libiconv.so.3 (0x8009e2000) libapr-1.so.2 =3D> /usr/local/lib/libapr-1.so.2 (0x800bd3000) libcrypt.so.3 =3D> /lib/libcrypt.so.3 (0x800cfa000) libpthread.so.2 =3D> /lib/libpthread.so.2 (0x800e13000) libc.so.6 =3D> /lib/libc.so.6 (0x800f3e000) What is your result? Try `ident /lib/libpthread.so.2`, here's my result (amd64): > ident /lib/libpthread.so.2 /lib/libpthread.so.2: $FreeBSD: src/lib/csu/amd64/crti.S,v 1.7 2004/03/21 01:39:01 peter = Exp $ $FreeBSD: src/lib/csu/amd64/crtn.S,v 1.6 2004/03/21 01:39:01 peter = Exp $ $FreeBSD: src/lib/libpthread/thread/thr_pselect.c,v 1.5 2003/12/09 = 02:20:56 davidxu Exp $ $FreeBSD: src/lib/libpthread/thread/thr_connect.c,v 1.2 2003/12/09 = 23:40:27 deischen Exp $ $FreeBSD: src/lib/libpthread/thread/thr_accept.c,v 1.2 2003/12/09=20 23:40:27 deischen Exp $ $FreeBSD: src/lib/libpthread/thread/thr_sigaltstack.c,v 1.2=20 2004/01/02 00:38:42 davidxu Exp $ $FreeBSD: src/lib/libpthread/thread/thr_printf.c,v 1.4 2004/02/10=20 20:42:33 cperciva Exp $ $FreeBSD: src/lib/libpthread/thread/thr_kern.c,v 1.116.2.1=20 2006/03/16 23:29:07 deischen Exp $ $FreeBSD: src/lib/libpthread/arch/amd64/amd64/enter_uts.S,v 1.5=20 2004/07/31 01:53:21 davidxu Exp $ $FreeBSD: src/lib/libpthread/arch/amd64/amd64/context.S,v 1.7.8.1=20 2006/03/16 23:29:06 deischen Exp $ $FreeBSD: src/lib/libc/gen/sigsetops.c,v 1.8 2002/02/01 00:57:29=20 obrien Exp $ $FreeBSD: src/lib/libc/string/bcopy.c,v 1.6 2003/10/26 03:55:58=20 peter Exp $ $FreeBSD: src/lib/libc/string/bzero.c,v 1.2 2002/03/22 21:53:19=20 obrien Exp $ $FreeBSD: src/lib/libc/string/memset.c,v 1.8 2002/09/01 21:53:46=20 robert Exp $ $FreeBSD: src/lib/libc/amd64/sys/cerror.S,v 1.14 2005/04/21=20 12:47:08 kan Exp $ $FreeBSD: src/lib/libc/string/memcpy.c,v 1.2 2002/03/22 21:53:19=20 obrien Exp $ $FreeBSD: src/lib/libc/string/bcopy.c,v 1.6 2003/10/26 03:55:58=20 peter Exp $ $FreeBSD: src/lib/libc/string/memset.c,v 1.8 2002/09/01 21:53:46=20 robert Exp $ $FreeBSD: src/lib/libc/string/strcpy.c,v 1.7 2002/09/06 11:24:06=20 tjr Exp $ $FreeBSD: src/lib/libc/string/strlen.c,v 1.4 2002/03/21 18:44:54=20 obrien Exp $ Also, are you sure as to what you upgraded to? Are your kernel and world = in sync? KSE was removed from 8-CURRENT so it could be a problem if you=20 somehow got binaries or libraries from 8-CURRENT. > anywayz, can anyone answer me plz why did I get to this state? If nothing obvious pops up from the above, you could maybe create an=20 archive of all files ldd says are loaded by httpd so developers can take = a look at it. --------------enig85157DAAE51E2A90AD9976AE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH7/usldnAQVacBcgRApz/AKC7evepjACtEWnZdVThbXuYMqUXLQCfccWu DxAdT+y7F6BDAX2Eo16z98A= =gM82 -----END PGP SIGNATURE----- --------------enig85157DAAE51E2A90AD9976AE-- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 01:19:51 2008 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 4A2B6106564A for ; Mon, 31 Mar 2008 01:19:51 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id F40818FC17 for ; Mon, 31 Mar 2008 01:19:50 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.184]) by hub.org (Postfix) with ESMTP id 1D2AC1688436; Sun, 30 Mar 2008 22:00:57 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 64533-06; Sun, 30 Mar 2008 22:00:48 -0300 (ADT) Received: from fserv.hub.org (blk-7-245-234.eastlink.ca [71.7.245.234]) by hub.org (Postfix) with ESMTP id B09D41687519; Sun, 30 Mar 2008 22:00:56 -0300 (ADT) Received: from [192.168.1.2] (unknown [192.168.1.2]) by fserv.hub.org (Postfix) with ESMTP id E35F94A94F; Sun, 30 Mar 2008 22:01:00 -0300 (ADT) Date: Sun, 30 Mar 2008 21:59:08 -0300 From: "Marc G. Fournier" To: freebsd-stable@freebsd.org Message-ID: <24A133A6EE9DA04411B3CF04@ganymede.hub.org> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-java@freebsd.org Subject: Azureus + 7-STABLE == Slow download + No Upload 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, 31 Mar 2008 01:19:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is anyone running Azureus on 7-STABLE and getting decent performance from it? I just upgraded to 7-STABLE, installed /usr/ports/java/jdk15 (instead of diablo) so that it uses libthr (checked with ldd), and now I'm barely able to get one downloaded, let alone multiple, and almost nothing uploaded ... I've added: "-Djava.net.preferIPv4Stack=true" to /usr/local/bin/azureus, but, from reading the jdk15 makefile, IPv6 is only enabled if/when you do WITH_IPV6, and I don't have that in my make.conf file, therefore this shouldn't affect anything ... I have nothing in my /etc/libmap.conf file ... So, if there a problem, or am I missing something? - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFH8Ddc4QvfyHIvDvMRApPKAKCU1c+VVRqKK9mGpbuTnSlL9+i1SwCggocA szQk1lVKoHLT9D2P7uAF7Zw= =q1vl -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 05:22:32 2008 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 84A411065670 for ; Mon, 31 Mar 2008 05:22:32 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 52D188FC19 for ; Mon, 31 Mar 2008 05:22:32 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1776520waf.3 for ; Sun, 30 Mar 2008 22:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=3lFgeOpH7IP4+M+qJyqmQKRgfYrI1sXSVi5Pm3smb30=; b=jDnan+X1QNRNt4axGtMaM00XpCzkOJvK03NvyBrpHQ/hAa9IxKVEWFn73KvUPxcX+5sv20MhP3L3BfQn0walJccRWv7nL8o1moEUjoOCdmScQ70SeZcAj7etzdtdgdLN5rMKSull9vBt8YokyQlKJi/VIs4mVAoZDKVlAB6ztXA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=UJjLEVlGjqkyeYwUvY2B/0z7JMAVVAdbJQP2l5GLTBthE2tkvDhHDaiIFIgYzLDQcBYrudSOvN+UWLvag2iBr88o89zJdJvX9HBy4UdwwTI7EwCAuKTvlcYjTWDNBtLjsS3pFqQqnp3+uBVENh+1NWyf69levw8W9mf+tv1b9yg= Received: by 10.115.75.1 with SMTP id c1mr9249294wal.84.1206940951855; Sun, 30 Mar 2008 22:22:31 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id y11sm8167751pod.9.2008.03.30.22.22.28 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 30 Mar 2008 22:22:29 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m2V5MPDf011043 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Mar 2008 14:22:25 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m2V5MNf6011042; Mon, 31 Mar 2008 14:22:23 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 31 Mar 2008 14:22:23 +0900 From: Pyun YongHyeon To: =?euc-kr?B?rK6s2qznrNGs2qzdIKysrNqs4azR?= Message-ID: <20080331052223.GF9900@cdnetworks.co.kr> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="2/5bycvrmDh4d1IB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: rl driver error? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 05:22:32 -0000 --2/5bycvrmDh4d1IB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Mar 30, 2008 at 10:56:18PM +0400, wrote: > I have got system with rl and re cards. This system functiones as gateway, rl - internet re - > intranet. Periodically I have > ping: sendto: No buffer space available > on rl card! > on logs I have > Mar 30 22:23:02 xxxxxxx kernel: rl0: watchdog timeout > Mar 30 22:23:32 xxxxxxx last message repeated 6 times > This could be improved by reboting the system, that very bad, as it network gateway! > Some ideas? > > System FreeBSD 7.0 , compiled from RELENG_7_0_0 Please try attached patch and let me know how it goes. -- Regards, Pyun YongHyeon --2/5bycvrmDh4d1IB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rl.patch2" --- sys/pci/if_rl.c.orig 2008-03-03 13:15:08.000000000 +0900 +++ sys/pci/if_rl.c 2008-03-31 14:16:02.000000000 +0900 @@ -1117,17 +1117,19 @@ * datasheet makes absolutely no mention of this and * RealTek should be shot for this. */ - if ((uint16_t)(rxstat >> 16) == RL_RXSTAT_UNFINISHED) + total_len = rxstat >> 16; + if (total_len == RL_RXSTAT_UNFINISHED) break; - if (!(rxstat & RL_RXSTAT_RXOK)) { + if (!(rxstat & RL_RXSTAT_RXOK) || + total_len < ETHER_MIN_LEN || + total_len > ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN) { ifp->if_ierrors++; rl_init_locked(sc); return; } /* No errors; receive the packet. */ - total_len = rxstat >> 16; rx_bytes += total_len + 4; /* @@ -1244,8 +1246,6 @@ if (RL_LAST_TXMBUF(sc) == NULL) sc->rl_watchdog_timer = 0; - else if (sc->rl_watchdog_timer == 0) - sc->rl_watchdog_timer = 5; } static void @@ -1326,27 +1326,32 @@ goto done_locked; #endif - for (;;) { - status = CSR_READ_2(sc, RL_ISR); + status = CSR_READ_2(sc, RL_ISR); + if (status == 0 || status == 0xffff || (status & RL_INTRS) == 0) + goto done_locked; + + /* Disable interrupts. */ + CSR_WRITE_2(sc, RL_IMR, 0); + + for (; (status & RL_INTRS) != 0;) { /* If the card has gone away, the read returns 0xffff. */ if (status == 0xffff) break; - if (status != 0) - CSR_WRITE_2(sc, RL_ISR, status); - if ((status & RL_INTRS) == 0) - break; - if (status & RL_ISR_RX_OK) + CSR_WRITE_2(sc, RL_ISR, status); + if ((status & (RL_ISR_RX_OK | RL_ISR_RX_ERR)) != 0) rl_rxeof(sc); - if (status & RL_ISR_RX_ERR) - rl_rxeof(sc); - if ((status & RL_ISR_TX_OK) || (status & RL_ISR_TX_ERR)) + if ((status & (RL_ISR_TX_OK | RL_ISR_TX_ERR)) != 0) rl_txeof(sc); if (status & RL_ISR_SYSTEM_ERR) { rl_reset(sc); rl_init_locked(sc); } + status = CSR_READ_2(sc, RL_ISR); } + /* Enable interrupts. */ + CSR_WRITE_2(sc, RL_IMR, RL_INTRS); + if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) rl_start_locked(ifp); --2/5bycvrmDh4d1IB-- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 08:04:28 2008 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 D667A106566C for ; Mon, 31 Mar 2008 08:04:28 +0000 (UTC) (envelope-from trinitor@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 77BAA8FC1E for ; Mon, 31 Mar 2008 08:04:28 +0000 (UTC) (envelope-from trinitor@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1594567fgg.35 for ; Mon, 31 Mar 2008 01:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=n75o0lAxBjF4ot66Gx/kNoZXck1FGI5tuzWD8OLScxQ=; b=WO7GIpym++KCy41kk2CbE4gIqyMpacBsrVk+75og3WBVhIf/9RhoAi5sf0hCsc8HYANKHfGxVIlX0PX1oidyA0xWbOif47rlJlYeNAr0L0xVbA4oy7+RSyI+bYybua/WU/1ceU817gPPcTOFyJRqV++VkRiNSCud2jsu5pj56aA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dAgV0hei+/UdHLhzV7zgqR34ysuTB89n8+mlTrgRArjhbD4gh1MRpL0/f5m7dZKW7+w78saLi/y9eL5VrBxR5O7FkpFs1d2v4oNF/v9DDPSlAR5idJ/PDQUGLd3uVCKpBK8AOMdGJbvI0ootRuiLC317m5aG8VdREebcAM9HtxU= Received: by 10.82.166.9 with SMTP id o9mr14928170bue.32.1206948953366; Mon, 31 Mar 2008 00:35:53 -0700 (PDT) Received: by 10.82.139.14 with HTTP; Mon, 31 Mar 2008 00:35:51 -0700 (PDT) Message-ID: <33469ba20803310035w2f03f9bh448a37199e9aa28b@mail.gmail.com> Date: Mon, 31 Mar 2008 09:35:51 +0200 From: "=?ISO-8859-1?Q?Mikkel_Sk=E6rris?=" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FreeBSD freezing at random 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, 31 Mar 2008 08:04:29 -0000 My system is a IBM T40 laptop, and i has been running FreeBSD for more than two years without ANY problems at all. But a couple of days ago my 7.0 intallation began freezing at random, without any log messages or anything. Same thing happens on a fresh installation of 6.3. Often the screen flickers, and blacks out, as if the screen conection was loose or something, but it isnt. And I cant seem to pinpoint the problem, to any certain area. Though the windows installtion (dual boot) works completely fine. Any suggestions welcome? Regards Skaerris From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 08:49:01 2008 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 06937106564A; Mon, 31 Mar 2008 08:49:01 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 749D48FC1A; Mon, 31 Mar 2008 08:49:00 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m2V8mp0B060775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Mar 2008 09:48:52 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <47F0A577.90800@unsane.co.uk> Date: Mon, 31 Mar 2008 09:48:55 +0100 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.12 (X11/20080327) MIME-Version: 1.0 To: Marcin Cieslak References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> <47EFCF67.9040601@system.pl> In-Reply-To: <47EFCF67.9040601@system.pl> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 31 Mar 2008 08:49:01 -0000 Marcin Cieslak wrote: > Vince wrote: >> Jeremy Chadwick wrote: > >> Regarding the USB serial adapter, I was supplied it though work a while >> back. I believe from my rather fuzzy memory we got it though these guys >> http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html >> Although I wouldn't swear to it. I'll have an ask if anyone remembers on >> monday. > > Can you post a fragment of dmesg output? I am interested whether you > attach it to the ohci or uhci controller. > > --Marcin > Sure, Please not this is now a different usb adapter as I left mine at home :( but I just tested and it exhibits the same behavior, (only difference I can see is this says its FIDI while my one says its FTDI, possibly a typo?) {root@prawn}#dmesg | grep uhub uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered umass0: on uhub4 ums0: on uhub2 ucom0: on uhub2 And for what its worth: {root@prawn}#more /var/crash/info.14 Dump header from device /dev/ad0s3b Architecture: i386 Architecture Version: 2 Dump Length: 154411008B (147 MB) Blocksize: 512 Dumptime: Mon Mar 31 09:25:54 2008 Hostname: prawn.unsane.co.uk Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008 toor@prawn.unsane.co.uk:/usr/local/obj/usr/src/sys/PRAWN7ULE Panic String: page fault Dump Parity: 1302845723 Bounds: 14 Dump Status: good Happy to provide more information but I'm not a programmer so you'll probably have to ask me slowly and in words of one syllable ;) Vince > _______________________________________________ > 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 Mon Mar 31 08:52:54 2008 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 04378106566B for ; Mon, 31 Mar 2008 08:52:54 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from mail.webreality.org (mailserver.webreality.org [217.75.141.5]) by mx1.freebsd.org (Postfix) with ESMTP id 8D2FD8FC20 for ; Mon, 31 Mar 2008 08:52:53 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from [10.0.1.100] (unknown [87.121.18.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.webreality.org (Postfix) with ESMTP id 7D9CAFFE0B9 for ; Mon, 31 Mar 2008 11:52:46 +0300 (EEST) Message-ID: <47F0A659.9020401@lozenetz.org> Date: Mon, 31 Mar 2008 11:52:41 +0300 From: Anton - Valqk User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110) MIME-Version: 1.0 To: stable@freebsd.org References: <20080117185547.GA85161@sepulca.yandex.ru> <242ACF9B-7B89-49F2-8F20-F2D51104574B@freebsd.org> <20080123054644.GV18746@egr.msu.edu> <47970E55.3040307@lozenetz.org> <20080123130248.GY18746@egr.msu.edu> <47EB5CD2.9060709@lozenetz.org> In-Reply-To: <47EB5CD2.9060709@lozenetz.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HostIT-MailScanner-Information: Please contact the ISP for more information X-HostIT-MailScanner: Found to be clean X-HostIT-MailScanner-From: lists@lozenetz.org Cc: Subject: Re: nscd 6 backport mirror 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, 31 Mar 2008 08:52:54 -0000 Just for the record - the backport patch works like a charm on 6_3 stable branch! Thanks a lot Denis!!! cheers, valqk. Anton - Valqk wrote: > Here is the mirror of the backport for 6 that Denis sent me: > > http://valqk.ath.cx/nscd_fbsd_6/ > > Adam McDougall wrote: >> According to Denis Barov : >> >> Gzipped patch avialable at >> http://www.dindin.ru/wiki/FreeBSD?action=AttachFile&do=get&target=nscd_backport.gz >> >> (78Kb) >> >> Mon, Dec 24, 2007 at 12:15 +0300 Denis Barov: >> >>>> Hi, Michael! >>>> In attachment patch for backporing nscd from RELENG_7 to RELENG_6. >>>> Tested on >>>> >>>> FreeBSD sepulca.yandex.ru 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: >>>> Thu Dec >>>> 23 22:06:36 MSK 2007 >>>> root@sepulca.yandex.ru:/usr/obj/usr/RELENG_6_ncsd/src/sys/GENERIC >>>> amd64 >>>> >>>> and works fine. >>>> >>>> Must I prepare pr? >>>> >>>> P.S. Don't forget to mkdir -p src/usr.sbin/nscd/agents before >>>> patching ;) >> >> >> >> >> On Wed, Jan 23, 2008 at 11:52:21AM +0200, Anton - Valqk wrote: >> >> Is there nscd/cached for STABLE 6 branch or it's only implemented >> in 7.X? >> Adam McDougall wrote: >> > I wanted to say Thanks!!! for this example, because before this >> point >> > I was under the impression that nscd/cached was of no use for NIS >> clients, >> > only LDAP or maybe other directory systems that I don't use. I >> tried >> > "cache compat" as below for passwd and group and it works! Our >> NIS > entries at work are big enough that without the cache, top >> takes 7+ seconds to >> > open, ssh login takes a few seconds, and samba logins were >> concerningly >> > slow. I did not try samba connections, but the other methods are >> much > faster now on the second run. Wanted to post this for the >> archive too. >> > >> > On Sat, Jan 19, 2008 at 02:17:11PM +0300, Michael Bushkov wrote: >> > >> > Hi Denis, >> > Several things: >> > 1. You definitely can't use cache for *_compat sources. I mean >> lines like > "group_compat: cache nis" aren't supported. >> > 2. Cache should work ok with the configuration you've mentioned >> in your > first example, i.e.: "group: cache compat". Just >> checking - why do you > think that cache isn't working? The >> correct way to determine it is to > perform the same query twice. >> During the first pass (when query is not > cached), the request >> will be processed by NIS module and you'll have all > the >> NIS-related stuff in the logs. On the second pass the request should >> be > handled by scd module - and you shouldn't see any activity >> in NIS logs. It > would be great to see the debug log (with nscd >> log turned on) separately - > for the first and the second pass. >> It would help to find the error in nscd, > if there is one. >> > > With best regards, >> > Michael Bushkov >> > > On Jan 17, 2008, at 9:55 PM, Denis Barov wrote: >> > > >>> Hello! >> >>> >> >>> I found some strange behaviour of NIS/nscd when NIS in compat >> mode. In >> >>> /etc/nsswitch.conf I have: >> >>> >> >>> netgroup: cache compat >> >>> passwd: cache compat >> >>> group: cache compat >> >>> > _______________________________________________ >> > 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" >> > >> > -- This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> >> > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 08:57:01 2008 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 8A00F1065672 for ; Mon, 31 Mar 2008 08:57:01 +0000 (UTC) (envelope-from joafog.lists@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 591068FC1B for ; Mon, 31 Mar 2008 08:57:01 +0000 (UTC) (envelope-from joafog.lists@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so434762anc.13 for ; Mon, 31 Mar 2008 01:57:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=miSod+xdTDtFvUWNMk9sjea/1wWJYb8SnW3CAZMnGWA=; b=KOd8MDQlWwi7O0KHCh8SazXfGSydEZ1JffX4YAf52VYfnm9LIE7/4H5JWW+IaEaLTUfn0wYR+y5oNL8VMwG4690GWZ9EumFwZ1egjz0i42ETwhJHhelgpOQ6RZPzzkJebyZtR3L16CWsCbPi7cuposK9lIJ5dB95haA1+ge3NFw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ESmUTADcYPlJN7sBbvtPqUKzEXqDCARNNVB+8kFJU0L7JbxHGl8/xjy3bpnoANlXVkITpyxPW4izDcuig5GELvhTJyB4RU8I6fxe9pearivCAqUITQNaN5PWDgYw5FLfyYczQEAW4GiWtvDgHJc6YJ2kos/X65x1WKu2bSKUiyg= Received: by 10.100.140.15 with SMTP id n15mr15228337and.87.1206952273416; Mon, 31 Mar 2008 01:31:13 -0700 (PDT) Received: by 10.100.37.6 with HTTP; Mon, 31 Mar 2008 01:31:12 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 10:31:12 +0200 From: "Joakim Fogelberg" To: "Marc G. Fournier" In-Reply-To: <24A133A6EE9DA04411B3CF04@ganymede.hub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <24A133A6EE9DA04411B3CF04@ganymede.hub.org> Cc: freebsd-stable@freebsd.org, freebsd-java@freebsd.org Subject: Re: Azureus + 7-STABLE == Slow download + No Upload 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, 31 Mar 2008 08:57:01 -0000 On Mon, Mar 31, 2008 at 2:59 AM, Marc G. Fournier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Is anyone running Azureus on 7-STABLE and getting decent performance from it? > > I just upgraded to 7-STABLE, installed /usr/ports/java/jdk15 (instead of > diablo) so that it uses libthr (checked with ldd), and now I'm barely able to > get one downloaded, let alone multiple, and almost nothing uploaded ... > > I've added: > > "-Djava.net.preferIPv4Stack=true" > > to /usr/local/bin/azureus, but, from reading the jdk15 makefile, IPv6 is only > enabled if/when you do WITH_IPV6, and I don't have that in my make.conf file, > therefore this shouldn't affect anything ... > > I have nothing in my /etc/libmap.conf file ... > > So, if there a problem, or am I missing something? > > > - -- > Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) > Email . scrappy@hub.org MSN . scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > > iD8DBQFH8Ddc4QvfyHIvDvMRApPKAKCU1c+VVRqKK9mGpbuTnSlL9+i1SwCggocA > szQk1lVKoHLT9D2P7uAF7Zw= > =q1vl > -----END PGP SIGNATURE----- > > _______________________________________________ > 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" > I believe I had the same problem with 7.0-prerelease + Azureus + jdk15. If I remember correct, I could only download from other Azureus clients. I had no time to even try to find out why. I simply installed deluge instead. -- Joakim Fogelberg From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 09:20:48 2008 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 8C0141065670; Mon, 31 Mar 2008 09:20:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay01.kiev.sovam.com (relay01.kiev.sovam.com [62.64.120.200]) by mx1.freebsd.org (Postfix) with ESMTP id 305838FC13; Mon, 31 Mar 2008 09:20:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JgGC2-0007Pv-AO; Mon, 31 Mar 2008 12:20:46 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m2V9KlQd070284 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Mar 2008 12:20:47 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m2V9KaL3001888; Mon, 31 Mar 2008 12:20:36 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m2V9Kaiw001887; Mon, 31 Mar 2008 12:20:36 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 31 Mar 2008 12:20:36 +0300 From: Kostik Belousov To: Vince Hoffman Message-ID: <20080331092035.GH21209@deviant.kiev.zoral.com.ua> References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> <47EFCF67.9040601@system.pl> <47F0A577.90800@unsane.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lQSB8Tqijvu1+4Ba" Content-Disposition: inline In-Reply-To: <47F0A577.90800@unsane.co.uk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: e860fde63604f368aea63056fc3ed89d X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2523 [Mar 31 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release Cc: Marcin Cieslak , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 31 Mar 2008 09:20:48 -0000 --lQSB8Tqijvu1+4Ba Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 31, 2008 at 09:48:55AM +0100, Vince Hoffman wrote: > Marcin Cieslak wrote: > > Vince wrote: > >> Jeremy Chadwick wrote: > >=20 > >> Regarding the USB serial adapter, I was supplied it though work a while > >> back. I believe from my rather fuzzy memory we got it though these guys > >> http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html > >> Although I wouldn't swear to it. I'll have an ask if anyone remembers = on > >> monday. > >=20 > > Can you post a fragment of dmesg output? I am interested whether you > > attach it to the ohci or uhci controller. > >=20 > > --Marcin > >=20 >=20 > Sure, > Please not this is now a different usb adapter as I left mine at home :( > but I just tested and it exhibits the same behavior, (only difference I > can see is this says its FIDI while my one says its FTDI, possibly a typo= ?) >=20 > {root@prawn}#dmesg | grep uhub > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > uhub2: on usb2 > uhub2: 2 ports with 2 removable, self powered > uhub3: on usb3 > uhub3: 2 ports with 2 removable, self powered > uhub4: on usb4 > uhub4: 8 ports with 8 removable, self powered > umass0: 2.00/0.01, addr 2> on uhub4 > ums0: > on uhub2 > ucom0: on > uhub2 >=20 > And for what its worth: > {root@prawn}#more /var/crash/info.14 > Dump header from device /dev/ad0s3b > Architecture: i386 > Architecture Version: 2 > Dump Length: 154411008B (147 MB) > Blocksize: 512 > Dumptime: Mon Mar 31 09:25:54 2008 > Hostname: prawn.unsane.co.uk > Magic: FreeBSD Kernel Dump > Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008 > toor@prawn.unsane.co.uk:/usr/local/obj/usr/src/sys/PRAWN7ULE > Panic String: page fault > Dump Parity: 1302845723 > Bounds: 14 > Dump Status: good >=20 > Happy to provide more information but I'm not a programmer so you'll > probably have to ask me slowly and in words of one syllable ;) I need two things: 1. The revision of the sys/kern/kern_conf.c file; in particular, I need to know whether you have rev. 1.208.2.1 or 1.208.2.2. 2. Regardless of the outcome of the question 1, please show the output of the "bt full" from the kgdb loaded with your kernel and crash dump. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kernel= debug.html for details on how to obtain useful information from the crash dump. --lQSB8Tqijvu1+4Ba Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkfwrOMACgkQC3+MBN1Mb4htIgCgmiiQZd4TSKmbCqeTfrj/xU14 DYcAoMWDkCR7QEkcm6Ep7TWQx0T24xT3 =7gxu -----END PGP SIGNATURE----- --lQSB8Tqijvu1+4Ba-- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 09:57:16 2008 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 C69401065673 for ; Mon, 31 Mar 2008 09:57:16 +0000 (UTC) (envelope-from hbesthee@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by mx1.freebsd.org (Postfix) with ESMTP id B2C068FC29 for ; Mon, 31 Mar 2008 09:57:16 +0000 (UTC) (envelope-from hbesthee@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so1021848rvb.43 for ; Mon, 31 Mar 2008 02:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=S3pTsSj7g5cWjqgIGSlBdgMB8aO0uj/i9YZSvJrzlwo=; b=WNKWN42nFf/uAddaL6njHVHlSCTxjJpljli4ZCknaP40lMkV6m9jTdzV1glkGbjcLKvjSDyRZV3N3MC15c6A++Ml1ZYHRCFVamLJeiRzq8Uoq4KK+/apIQGnBxIQ4EKXCb0bw3BDCHUjBRYBcebZHy7nKNfzbfsKMfU2LFAZBIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=k+rAgRXPVM6dFQjtkMYhsPppu1O8abKohvpUmtIfu+yoUmlvQHwX4NZnuoXaBA2O3YqmJ+Tjw9hRb9yh37QMcEeKHROdcob4lhsR3IGeZgWWZmB41UNAtXHzPaVLAZxYXGrp1zWkCbUotPrWu+mWdO1SNFuaVNXz/G/7uF2mh+s= Received: by 10.140.191.14 with SMTP id o14mr3203597rvf.78.1206955909800; Mon, 31 Mar 2008 02:31:49 -0700 (PDT) Received: by 10.140.207.9 with HTTP; Mon, 31 Mar 2008 02:31:49 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 18:31:49 +0900 From: "=?EUC-KR?B?x9G/+Mjx?=" To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Don't recognizing SMP... 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, 31 Mar 2008 09:57:16 -0000 I installed FreeBSD 7.0 on HP DL 380. This is a mptable result. > # mptable > Processors: APIC ID Version State Family Model Step Flags > 0 0x14 BSP, usable 6 2 1 0x0381 > 6 0x14 AP, usable 15 2 9 0xbfebfbff 2 way cpus are same as 3.0GHz Xeon CPU. But they have different Family, Step, and Flags. I used kernel compiling with SMP option. but, this is a sysctl result. > # sysctl -kern.smp > kern.smp.forward_roundrobin_enabled: 1 > kern.smp.forward_signal_enabled: 1 > kern.smp.cpus: 1 > kern.smp.disabled: 0 > kern.smp.active: 0 > kern.smp.maxcpus: 16 As you saw this result, it is not recognized as 2 CPUs. it recognized Only one CPU... plz. help me, i want it to recognize as 2 CPUs. From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 11:08:42 2008 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 1925D106567A for ; Mon, 31 Mar 2008 11:08:42 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id CA8758FC31 for ; Mon, 31 Mar 2008 11:08:41 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so446638anc.13 for ; Mon, 31 Mar 2008 04:08:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=BEvcq8zo/DsgM2DmjUt8tT6/Ssqh5GaYYcxuCtwfZWo=; b=gTpXLjA53uSwpKs5unNIxl1RITCosrq7hwgM59sHJdUEO8TnlvFPD51xdEFQ7E1OfylgWHozPIQxnQ01RyZzp2Du3rxBn6y1ApQlhxah/MkKxjL12nG37wUSf2LAS21LShEWaPZjZzqM4HbJZCb9GznFgOIqMzXSMrNO+sNs3fk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dDfAXcy6kgeS8yv3O8d1p76h8Mj6YrAZ5r4LJJGPSqALejc3WrYxz3soFkFJEuteReWR9AI0DcUAm9q4vFadftBohEb+Gq953lUGALT1hr+S3IZajbtDyT8AYW2Ip+P1txHxWOAoujFVy+IGIJi2MdNjesI7xDvULQf5nM3HJBQ= Received: by 10.100.105.15 with SMTP id d15mr15593352anc.32.1206960233992; Mon, 31 Mar 2008 03:43:53 -0700 (PDT) Received: by 10.100.228.15 with HTTP; Mon, 31 Mar 2008 03:43:53 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 12:43:53 +0200 From: "Claus Guttesen" To: "=?EUC-KR?B?x9G/+Mjx?=" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: stable@freebsd.org Subject: Re: Don't recognizing SMP... 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, 31 Mar 2008 11:08:42 -0000 > I installed FreeBSD 7.0 on HP DL 380. > > As you saw this result, it is not recognized as 2 CPUs. it recognized > Only one CPU... If this is a DL380 G2 you may have to enable smp by choosing either windows, solaris or linux as os from bios before you get both cpu's. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 11:13:36 2008 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 E193A1065673; Mon, 31 Mar 2008 11:13:36 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 55B8E8FC15; Mon, 31 Mar 2008 11:13:36 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m2VBDRwd062724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Mar 2008 12:13:28 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <47F0C75B.9040000@unsane.co.uk> Date: Mon, 31 Mar 2008 12:13:31 +0100 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.12 (X11/20080327) MIME-Version: 1.0 To: Kostik Belousov References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> <47EFCF67.9040601@system.pl> <47F0A577.90800@unsane.co.uk> <20080331092035.GH21209@deviant.kiev.zoral.com.ua> In-Reply-To: <20080331092035.GH21209@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcin Cieslak , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 31 Mar 2008 11:13:37 -0000 Kostik Belousov wrote: > On Mon, Mar 31, 2008 at 09:48:55AM +0100, Vince Hoffman wrote: >> Marcin Cieslak wrote: >>> Vince wrote: >>>> Jeremy Chadwick wrote: >>>> Regarding the USB serial adapter, I was supplied it though work a while >>>> back. I believe from my rather fuzzy memory we got it though these guys >>>> http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html >>>> Although I wouldn't swear to it. I'll have an ask if anyone remembers on >>>> monday. >>> Can you post a fragment of dmesg output? I am interested whether you >>> attach it to the ohci or uhci controller. >>> >>> --Marcin >>> >> Sure, >> Please not this is now a different usb adapter as I left mine at home :( >> but I just tested and it exhibits the same behavior, (only difference I >> can see is this says its FIDI while my one says its FTDI, possibly a typo?) >> >> {root@prawn}#dmesg | grep uhub >> uhub0: on usb0 >> uhub0: 2 ports with 2 removable, self powered >> uhub1: on usb1 >> uhub1: 2 ports with 2 removable, self powered >> uhub2: on usb2 >> uhub2: 2 ports with 2 removable, self powered >> uhub3: on usb3 >> uhub3: 2 ports with 2 removable, self powered >> uhub4: on usb4 >> uhub4: 8 ports with 8 removable, self powered >> umass0: > 2.00/0.01, addr 2> on uhub4 >> ums0: >> on uhub2 >> ucom0: on >> uhub2 >> >> And for what its worth: >> {root@prawn}#more /var/crash/info.14 >> Dump header from device /dev/ad0s3b >> Architecture: i386 >> Architecture Version: 2 >> Dump Length: 154411008B (147 MB) >> Blocksize: 512 >> Dumptime: Mon Mar 31 09:25:54 2008 >> Hostname: prawn.unsane.co.uk >> Magic: FreeBSD Kernel Dump >> Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008 >> toor@prawn.unsane.co.uk:/usr/local/obj/usr/src/sys/PRAWN7ULE >> Panic String: page fault >> Dump Parity: 1302845723 >> Bounds: 14 >> Dump Status: good >> >> Happy to provide more information but I'm not a programmer so you'll >> probably have to ask me slowly and in words of one syllable ;) > > I need two things: > 1. The revision of the sys/kern/kern_conf.c file; in particular, > I need to know whether you have rev. 1.208.2.1 or 1.208.2.2. > 2. Regardless of the outcome of the question 1, please show the output > of the "bt full" from the kgdb loaded with your kernel and crash > dump. See > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html > for details on how to obtain useful information from the crash dump. 1) {root@prawn}#grep kern_conf.c sys/kern/kern_conf.c __FBSDID("$FreeBSD: src/sys/kern/kern_conf.c,v 1.208.2.2 2008/03/24 13:09:55 kib Exp $"); 2) [/usr/obj/usr/src/sys/PRAWN7ULE](11:07:33) {root@prawn}#kgdb kernel.debug /var/crash/vmcore.14 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". There is no member named pathname. (kgdb) bt full #0 doadump () at pcpu.h:195 No locals. #1 0xc05ae391 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 _giantcnt = Variable "_giantcnt" is not available. (kgdb) This isnt what I was expecting from the article referenced. Would it be helpful me to update to the latest stable then reproduce (assuming i still can.) Vince From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 11:17:25 2008 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 0129A106564A; Mon, 31 Mar 2008 11:17:25 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by mx1.freebsd.org (Postfix) with ESMTP id 7FF9B8FC2C; Mon, 31 Mar 2008 11:17:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay03.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JgI0s-0006t0-M0; Mon, 31 Mar 2008 14:17:23 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m2VBHPQs074040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 Mar 2008 14:17:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m2VBHEmB005704; Mon, 31 Mar 2008 14:17:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m2VBHE0A005703; Mon, 31 Mar 2008 14:17:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 31 Mar 2008 14:17:14 +0300 From: Kostik Belousov To: Vince Hoffman Message-ID: <20080331111714.GI21209@deviant.kiev.zoral.com.ua> References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> <47EFCF67.9040601@system.pl> <47F0A577.90800@unsane.co.uk> <20080331092035.GH21209@deviant.kiev.zoral.com.ua> <47F0C75B.9040000@unsane.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HuscSE0D68UGttcd" Content-Disposition: inline In-Reply-To: <47F0C75B.9040000@unsane.co.uk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: cd91eefa7e6da97c48661c56a607d3ec X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 2523 [Mar 31 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: Marcin Cieslak , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 31 Mar 2008 11:17:25 -0000 --HuscSE0D68UGttcd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote: > Kostik Belousov wrote: > > On Mon, Mar 31, 2008 at 09:48:55AM +0100, Vince Hoffman wrote: > >> Marcin Cieslak wrote: > >>> Vince wrote: > >>>> Jeremy Chadwick wrote: > >>>> Regarding the USB serial adapter, I was supplied it though work a wh= ile > >>>> back. I believe from my rather fuzzy memory we got it though these g= uys > >>>> http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html > >>>> Although I wouldn't swear to it. I'll have an ask if anyone remember= s on > >>>> monday. > >>> Can you post a fragment of dmesg output? I am interested whether you > >>> attach it to the ohci or uhci controller. > >>> > >>> --Marcin > >>> > >> Sure, > >> Please not this is now a different usb adapter as I left mine at home = :( > >> but I just tested and it exhibits the same behavior, (only difference I > >> can see is this says its FIDI while my one says its FTDI, possibly a t= ypo?) > >> > >> {root@prawn}#dmesg | grep uhub > >> uhub0: on usb0 > >> uhub0: 2 ports with 2 removable, self powered > >> uhub1: on usb1 > >> uhub1: 2 ports with 2 removable, self powered > >> uhub2: on usb2 > >> uhub2: 2 ports with 2 removable, self powered > >> uhub3: on usb3 > >> uhub3: 2 ports with 2 removable, self powered > >> uhub4: on usb4 > >> uhub4: 8 ports with 8 removable, self powered > >> umass0: >> 2.00/0.01, addr 2> on uhub4 > >> ums0: > >> on uhub2 > >> ucom0: on > >> uhub2 > >> > >> And for what its worth: > >> {root@prawn}#more /var/crash/info.14 > >> Dump header from device /dev/ad0s3b > >> Architecture: i386 > >> Architecture Version: 2 > >> Dump Length: 154411008B (147 MB) > >> Blocksize: 512 > >> Dumptime: Mon Mar 31 09:25:54 2008 > >> Hostname: prawn.unsane.co.uk > >> Magic: FreeBSD Kernel Dump > >> Version String: FreeBSD 7.0-STABLE #52: Tue Mar 25 13:45:50 GMT 2008 > >> toor@prawn.unsane.co.uk:/usr/local/obj/usr/src/sys/PRAWN7ULE > >> Panic String: page fault > >> Dump Parity: 1302845723 > >> Bounds: 14 > >> Dump Status: good > >> > >> Happy to provide more information but I'm not a programmer so you'll > >> probably have to ask me slowly and in words of one syllable ;) > >=20 > > I need two things: > > 1. The revision of the sys/kern/kern_conf.c file; in particular, > > I need to know whether you have rev. 1.208.2.1 or 1.208.2.2. > > 2. Regardless of the outcome of the question 1, please show the output > > of the "bt full" from the kgdb loaded with your kernel and crash > > dump. See > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ke= rneldebug.html > > for details on how to obtain useful information from the crash dump. >=20 > 1) > {root@prawn}#grep kern_conf.c sys/kern/kern_conf.c > __FBSDID("$FreeBSD: src/sys/kern/kern_conf.c,v 1.208.2.2 2008/03/24 > 13:09:55 kib Exp $"); >=20 > 2) > [/usr/obj/usr/src/sys/PRAWN7ULE](11:07:33) > {root@prawn}#kgdb kernel.debug /var/crash/vmcore.14 > [GDB will not be able to debug user-mode threads: > /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you = are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for detail= s. > This GDB was configured as "i386-marcel-freebsd". > There is no member named pathname. > (kgdb) bt full > #0 doadump () at pcpu.h:195 > No locals. > #1 0xc05ae391 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c= :409 > _giantcnt =3D Variable "_giantcnt" is not available. > (kgdb) >=20 >=20 > This isnt what I was expecting from the article referenced. Would it be > helpful me to update to the latest stable then reproduce (assuming i > still can.) Compile the ddb into the kernel (instructions are provided at the same web page) and post the output of the console on the panic. --HuscSE0D68UGttcd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkfwyDoACgkQC3+MBN1Mb4h+fwCgvb/jQ53V4u8VbHjraS3aQ8kj OAwAoNRNpHDLT68tkCPn10nq/LsUCDqW =jOwG -----END PGP SIGNATURE----- --HuscSE0D68UGttcd-- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 11:21:14 2008 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 217EE1065672 for ; Mon, 31 Mar 2008 11:21:14 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id C593E8FC2D for ; Mon, 31 Mar 2008 11:21:13 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1621936wxd.7 for ; Mon, 31 Mar 2008 04:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=wULe6Ra0i6TgGNVnir+j92nzLgn6MmtGMEA3/oq9k9g=; b=GDWpglL24fnQ2aqEtsY8IOzhIoznFnLWO/VNwrLwZbyq0Ni3QVbKvCLjVwXG9YrYLplUn2nndP/LCVdFWu3v8LNsuuL4wpXIB66II0LVbIpTLKr4T6ZQzcHbq8m6kYKHHqQFdiBGJVSTN9bBT1f8DyLVXX4UYI9vb12TE7U3Mjc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=L/QyrRGOXdAKs6gIY2uq/IkFfY6KI3Nd1nI5GeXgnQuRflT1gSM5HWdLq0zsLjyqRxvOMn85SQT6Tx33zTXeGxbSrbchMNjtgV0hOBMcZYbb5I7XZcD3nCQUtqOMgUXHuSxtksy7i/lg7D0vzvoJRhitQdLXEWhg/mG2uMLhu98= Received: by 10.140.249.20 with SMTP id w20mr3272434rvh.21.1206962472465; Mon, 31 Mar 2008 04:21:12 -0700 (PDT) Received: by 10.140.207.1 with HTTP; Mon, 31 Mar 2008 04:21:12 -0700 (PDT) Message-ID: <2e77fc10803310421j412d57b0t11206a2d94da15a9@mail.gmail.com> Date: Mon, 31 Mar 2008 14:21:12 +0300 From: "Niki Denev" Sender: ndenev@gmail.com To: "Steven Hartland" In-Reply-To: <037d01c862a9$054a4e50$b6db87d4@multiplay.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <0b3201c86272$79c422b0$b6db87d4@multiplay.co.uk> <479F7504.5000604@tefre.com> <037d01c862a9$054a4e50$b6db87d4@multiplay.co.uk> X-Google-Sender-Auth: 7ad956202387eada Cc: freebsd-stable@freebsd.org, Erik Stian Tefre Subject: Re: USB support + Supermicro IPMI KVM = no keyboard 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, 31 Mar 2008 11:21:15 -0000 On Tue, Jan 29, 2008 at 9:59 PM, Steven Hartland wrote: > > ----- Original Message ----- > From: "Erik Stian Tefre" > > > > Steven Hartland wrote: > >> When booting a default kernel e.g. standard install cd the KVM over LAN > >> keyboard on Supermicro's IPMI modules refuse to function. Once installed > >> if we build a kernel without USB all is good. > >> > >> So two questions:- > >> 1. Can usb support be disabled from the loader? > >> 2. Anyone got any ideas why USB would break the IPMI keyboard? > > > > The IPMI keyboard is a USB keyboard. It seems to work OK on a box > > running 7.0: > > > > port 6 addr 2: high speed, self powered, config 1, Multidevice(0x0002), > > Peppercon AG(0x14dd), rev 0.01 > > > > ukbd0: on uhub3 > > > > The same box running 6.2 did not connect the device as a usb keyboard. > > Thanks Eric unfortunately we had the same issue with 7.0-RC1 and 7.0-PREREL > I'll look at dropping usb back into our kernel we're running atm and > see if it detects the above as that might well help diagnose the issue. > > > Regards > Steve > We've had the same problem, and changing USB Mouse Type from "Windows >= 2000, Mac OS X" to "Other Operating System" made the keyboard available again. P.S. : The setting is located under the KVM Settings->Keyboard/Mouse menu on the IPMI web interface. -- Nikolay Denev ICDSoft Ltd. System Administrator http://www.icdsoft.com/ m: 359-888-952-352 p: 1-617-544-3022 From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 14:39:11 2008 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 08252106566C for ; Mon, 31 Mar 2008 14:39:11 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id BCBC58FC2A for ; Mon, 31 Mar 2008 14:39:10 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0JYL00F0VNC62SB0@osl1smout1.broadpark.no> for freebsd-stable@freebsd.org; Mon, 31 Mar 2008 16:38:30 +0200 (CEST) Received: from kg-work.kg4.no ([80.202.173.59]) by osl1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0JYL001UVNC60600@osl1sminn1.broadpark.no> for freebsd-stable@freebsd.org; Mon, 31 Mar 2008 16:38:30 +0200 (CEST) Date: Mon, 31 Mar 2008 16:38:30 +0200 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-id: <20080331163830.6be2ccb7.torfinn.ingolfsen@broadpark.no> In-reply-to: <33469ba20803310035w2f03f9bh448a37199e9aa28b@mail.gmail.com> References: <33469ba20803310035w2f03f9bh448a37199e9aa28b@mail.gmail.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd6.3) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Content-transfer-encoding: quoted-printable Subject: Re: FreeBSD freezing at random 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, 31 Mar 2008 14:39:11 -0000 On Mon, 31 Mar 2008 09:35:51 +0200 Mikkel Sk=E6rris wrote: > Any suggestions welcome? The usual one: please verify (with memtest86 or similar) that the hardware isn't going bad on you - before doing anything else. --=20 Regards, Torfinn Ingolfsen From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 14:55:04 2008 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 4D63A1065673 for ; Mon, 31 Mar 2008 14:55:04 +0000 (UTC) (envelope-from mh@kernel32.de) Received: from crivens.kernel32.de (crivens.terrorteam.de [81.169.171.191]) by mx1.freebsd.org (Postfix) with ESMTP id 1AD5B8FC15 for ; Mon, 31 Mar 2008 14:55:03 +0000 (UTC) (envelope-from mh@kernel32.de) Received: from www.terrorteam.de (localhost [127.0.0.1]) by crivens.kernel32.de (Postfix) with ESMTP id 76C65B0291; Mon, 31 Mar 2008 16:55:02 +0200 (CEST) MIME-Version: 1.0 Date: Mon, 31 Mar 2008 16:55:02 +0200 From: Marian Hettwer To: =?UTF-8?Q?Mikkel_Sk=C3=A6rris?= In-Reply-To: <33469ba20803310035w2f03f9bh448a37199e9aa28b@mail.gmail.com> References: <33469ba20803310035w2f03f9bh448a37199e9aa28b@mail.gmail.com> Message-ID: <00b30fcef4a16717b0f8229ea010a070@localhost> X-Sender: mh@kernel32.de User-Agent: RoundCube Webmail/0.1-rc2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD freezing at random 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, 31 Mar 2008 14:55:04 -0000 Hi there, On Mon, 31 Mar 2008 09:35:51 +0200, "Mikkel Skærris" wrote: > My system is a IBM T40 laptop, and i has been running FreeBSD for more > than two years without ANY problems at all. But a couple of days ago The most obvious one would be "bad hardware". > my 7.0 intallation began freezing at random, without any log messages > or anything. Same thing happens on a fresh installation of 6.3. Often > the screen flickers, and blacks out, as if the screen conection was > loose or something, but it isnt. And I cant seem to pinpoint the > problem, to any certain area. Though the windows installtion (dual > boot) works completely fine. > When you say it "freezes" is the machine still ping'able from another machine in your network? You could start a script like "vmstat 1 >> /tmp/vmstat.log" or similar which runs all the time to get one of the latest log entries. /var/log/messages is really empty when your box freezes? Is X running while this is happening? regards, Marian From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 15:14:17 2008 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 5B53C1065678 for ; Mon, 31 Mar 2008 15:14:17 +0000 (UTC) (envelope-from ob@gruft.de) Received: from obh.snafu.de (v6.gruft.de [IPv6:2001:1560:2342::2]) by mx1.freebsd.org (Postfix) with ESMTP id 165DA8FC1F for ; Mon, 31 Mar 2008 15:14:17 +0000 (UTC) (envelope-from ob@gruft.de) Received: from ob by obh.snafu.de with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JgLiC-00030E-5L for freebsd-stable@freebsd.org; Mon, 31 Mar 2008 17:14:16 +0200 Date: Mon, 31 Mar 2008 17:14:16 +0200 From: Oliver Brandmueller To: freebsd-stable@freebsd.org Message-ID: <20080331151416.GI96268@e-Gitt.NET> Mail-Followup-To: freebsd-stable@freebsd.org References: <33469ba20803310035w2f03f9bh448a37199e9aa28b@mail.gmail.com> <20080331163830.6be2ccb7.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080331163830.6be2ccb7.torfinn.ingolfsen@broadpark.no> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Oliver Brandmueller Subject: Re: FreeBSD freezing at random 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, 31 Mar 2008 15:14:17 -0000 Hello, On Mon, Mar 31, 2008 at 04:38:30PM +0200, Torfinn Ingolfsen wrote: > > Any suggestions welcome? > > The usual one: please verify (with memtest86 or similar) that the > hardware isn't going bad on you - before doing anything else. If you got the chance, replace all RAM by another set. I had several cases, where all the memtesting software was happy over days, but nevertheless the crashes of the machine(s) in question stopped right after replacing the RAM. - Oliver -- | Oliver Brandmueller | Offenbacher Str. 1 | Germany D-14197 Berlin | | Fon +49-172-3130856 | Fax +49-172-3145027 | WWW: http://the.addict.de/ | | Ich bin das Internet. Sowahr ich Gott helfe. | | Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! | From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 16:47:44 2008 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 CF592106566C for ; Mon, 31 Mar 2008 16:47:44 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 30D7C8FC1A for ; Mon, 31 Mar 2008 16:47:44 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JgNAY-0002wB-S5 for freebsd-stable@freebsd.org; Mon, 31 Mar 2008 16:47:39 +0000 Received: from cairn.ints.net ([194.44.58.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Mar 2008 16:47:38 +0000 Received: from c.kworr by cairn.ints.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Mar 2008 16:47:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Volodymyr Kostyrko Date: Mon, 31 Mar 2008 19:47:26 +0300 Lines: 53 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cairn.ints.net User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.8.1.12) Gecko/20080314 SeaMonkey/1.1.8 Sender: news Subject: vm_page_unwire: invalid wire count: 0 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, 31 Mar 2008 16:47:44 -0000 Got a coredump each time when playing FLAC files through xmms2 with pulseaudio output plugin. cairn# kgdb /boot/kernel.old/kernel vmcore.9 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". There is no member named pathname. (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0513f47 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc05141d3 in panic (fmt=Variable "fmt" is not available.) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc068c742 in vm_page_unwire (m=0xc151e2d0, activate=0) at /usr/src/sys/vm/vm_page.c:1410 #4 0xc056d4da in vfs_vmio_release (bp=0xccec9228) at /usr/src/sys/kern/vfs_bio.c:1539 #5 0xc056db96 in brelse (bp=0xccec9228) at /usr/src/sys/kern/vfs_bio.c:1331 #6 0xc0582c59 in vtruncbuf (vp=0xc3d09dd0, cred=0x0, td=0xc3496000, length=0, blksize=16384) at /usr/src/sys/kern/vfs_subr.c:1257 #7 0xc0651ec7 in ffs_truncate (vp=0xc3d09dd0, length=0, flags=Variable "flags" is not available.) at /usr/src/sys/ufs/ffs/ffs_inode.c:405 #8 0xc066df0b in ufs_inactive (ap=0xd642cbbc) at /usr/src/sys/ufs/ufs/ufs_inode.c:132 #9 0xc06cdcfe in VOP_INACTIVE_APV (vop=0xc0735120, a=0xd642cbbc) at vnode_if.c:1513 #10 0xc057d449 in vinactive (vp=0xc3d09dd0, td=0xc3496000) at vnode_if.h:796 #11 0xc0580593 in vput (vp=0xc3d09dd0) at /usr/src/sys/kern/vfs_subr.c:2224 #12 0xc0586256 in kern_unlink (td=0xc3496000, path=0xbf7fbd7c
, pathseg=UIO_USERSPACE) at /usr/src/sys/kern/vfs_syscalls.c:1713 #13 0xc05862d2 in unlink (td=0xc3496000, uap=0xd642ccfc) at /usr/src/sys/kern/vfs_syscalls.c:1649 #14 0xc06c3e0e in syscall (frame=0xd642cd38) at /usr/src/sys/i386/i386/trap.c:1035 #15 0xc06ad830 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #16 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) uname -a: FreeBSD cairn.ints.net 7.0-STABLE FreeBSD 7.0-STABLE #77: Fri Mar 28 09:32:43 EET 2008 arcade@cairn.ints.net:/usr/obj/usr/src/sys/CAIRN i386 -- Sphinx of black quartz judge my vow. From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 17:08:46 2008 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 D44791065670 for ; Mon, 31 Mar 2008 17:08:46 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.225]) by mx1.freebsd.org (Postfix) with ESMTP id 6BF248FC1F for ; Mon, 31 Mar 2008 17:08:46 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by hu-out-0506.google.com with SMTP id 28so69867hub.8 for ; Mon, 31 Mar 2008 10:08:45 -0700 (PDT) Received: by 10.82.159.2 with SMTP id h2mr16224673bue.33.1206982424768; Mon, 31 Mar 2008 09:53:44 -0700 (PDT) Received: by 10.82.185.8 with HTTP; Mon, 31 Mar 2008 09:53:44 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 19:53:44 +0300 From: "Vlad GALU" To: "Volodymyr Kostyrko" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-stable@freebsd.org Subject: Re: vm_page_unwire: invalid wire count: 0 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, 31 Mar 2008 17:08:46 -0000 On Mon, Mar 31, 2008 at 7:47 PM, Volodymyr Kostyrko wrote: > Got a coredump each time when playing FLAC files through xmms2 with > pulseaudio output plugin. > > cairn# kgdb /boot/kernel.old/kernel vmcore.9 > [GDB will not be able to debug user-mode threads: > /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd". > There is no member named pathname. > (kgdb) bt > #0 doadump () at pcpu.h:195 > #1 0xc0513f47 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 > #2 0xc05141d3 in panic (fmt=Variable "fmt" is not available.) at > /usr/src/sys/kern/kern_shutdown.c:563 > #3 0xc068c742 in vm_page_unwire (m=0xc151e2d0, activate=0) at > /usr/src/sys/vm/vm_page.c:1410 > #4 0xc056d4da in vfs_vmio_release (bp=0xccec9228) at > /usr/src/sys/kern/vfs_bio.c:1539 > #5 0xc056db96 in brelse (bp=0xccec9228) at /usr/src/sys/kern/vfs_bio.c:1331 > #6 0xc0582c59 in vtruncbuf (vp=0xc3d09dd0, cred=0x0, td=0xc3496000, > length=0, blksize=16384) at /usr/src/sys/kern/vfs_subr.c:1257 > #7 0xc0651ec7 in ffs_truncate (vp=0xc3d09dd0, length=0, flags=Variable > "flags" is not available.) at /usr/src/sys/ufs/ffs/ffs_inode.c:405 > #8 0xc066df0b in ufs_inactive (ap=0xd642cbbc) at > /usr/src/sys/ufs/ufs/ufs_inode.c:132 > #9 0xc06cdcfe in VOP_INACTIVE_APV (vop=0xc0735120, a=0xd642cbbc) at > vnode_if.c:1513 > #10 0xc057d449 in vinactive (vp=0xc3d09dd0, td=0xc3496000) at vnode_if.h:796 > #11 0xc0580593 in vput (vp=0xc3d09dd0) at /usr/src/sys/kern/vfs_subr.c:2224 > #12 0xc0586256 in kern_unlink (td=0xc3496000, path=0xbf7fbd7c
0xbf7fbd7c out of bounds>, pathseg=UIO_USERSPACE) at > /usr/src/sys/kern/vfs_syscalls.c:1713 > #13 0xc05862d2 in unlink (td=0xc3496000, uap=0xd642ccfc) at > /usr/src/sys/kern/vfs_syscalls.c:1649 > #14 0xc06c3e0e in syscall (frame=0xd642cd38) at > /usr/src/sys/i386/i386/trap.c:1035 > #15 0xc06ad830 in Xint0x80_syscall () at > /usr/src/sys/i386/i386/exception.s:196 > #16 0x00000033 in ?? () > Previous frame inner to this frame (corrupt stack?) > > uname -a: > FreeBSD cairn.ints.net 7.0-STABLE FreeBSD 7.0-STABLE #77: Fri Mar 28 > 09:32:43 EET 2008 arcade@cairn.ints.net:/usr/obj/usr/src/sys/CAIRN i386 > > -- > Sphinx of black quartz judge my vow. > > _______________________________________________ > 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" > Just a wild guess: do you have ZERO_COPY_SOCKETS in your kernel config file? If so, remove & retry. -- ~/.signature: no such file or directory From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 18:43:12 2008 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 EA6A91065671 for ; Mon, 31 Mar 2008 18:43:12 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id A563B8FC2C for ; Mon, 31 Mar 2008 18:43:12 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JgOyM-0000IE-61 for freebsd-stable@freebsd.org; Mon, 31 Mar 2008 18:43:10 +0000 Received: from 92.50.96.215 ([92.50.96.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Mar 2008 18:43:10 +0000 Received: from saper by 92.50.96.215 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Mar 2008 18:43:10 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Marcin Cieslak Date: Mon, 31 Mar 2008 20:43:00 +0200 Lines: 28 Message-ID: <47F130B4.6010200@system.pl> References: <33469ba20803310035w2f03f9bh448a37199e9aa28b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 92.50.96.215 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.12) Gecko/20080325 SeaMonkey/1.1.8 In-Reply-To: <33469ba20803310035w2f03f9bh448a37199e9aa28b@mail.gmail.com> Sender: news Subject: Re: FreeBSD freezing at random 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, 31 Mar 2008 18:43:13 -0000 Mikkel Skærris wrote: > My system is a IBM T40 laptop, and i has been running FreeBSD for more > than two years without ANY problems at all. But a couple of days ago > my 7.0 intallation began freezing at random, without any log messages > or anything. Same thing happens on a fresh installation of 6.3. Often > the screen flickers, and blacks out, as if the screen conection was > loose or something, but it isnt. And I cant seem to pinpoint the > problem, to any certain area. Though the windows installtion (dual > boot) works completely fine. Did you upgrade anything? The base system, X server and/or drivers? I have upgraded my VAIO SZ5MN recently from 7.0-PRERELEASE to 7.0-STABLE around 24th of March and it started to show strange symptoms during work in X11 (usually with the seamonkey browser). The "human interface" got frozen and the only thing that worked was the power-off button (then the machine started to power down orderly, showing strange things on display sometimes). I was thinking this was some ACPI issue but then I figured out that the system was ok when using Intel video card (instead of NVidia - this system has two cards switchable). I have upgraded xorg-server, nvidia and intel drivers to the latest and now it works fine. --Marcin From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 20:04:11 2008 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 03AFB106566C for ; Mon, 31 Mar 2008 20:04:11 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoot.lafn.org (zoot.lafn.ORG [206.117.18.6]) by mx1.freebsd.org (Postfix) with ESMTP id B8A868FC13 for ; Mon, 31 Mar 2008 20:04:10 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.2] (pool-71-109-162-173.lsanca.dsl-w.verizon.net [71.109.162.173]) (authenticated bits=0) by zoot.lafn.org (8.13.6/8.13.4) with ESMTP id m2VK3vQb022028 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 31 Mar 2008 13:04:09 -0700 (PDT) (envelope-from bc979@lafn.org) Message-Id: From: Doug Hardie To: FreeBSD Stable Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 31 Mar 2008 13:04:10 -0700 X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: ClamAV 0.88.7/6507/Mon Mar 31 12:07:52 2008 on zoot.lafn.org X-Virus-Status: Clean Subject: Access Problems with 7.0 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, 31 Mar 2008 20:04:11 -0000 I recently upgraded 3 of my 5 servers to 7.0. Two of them are on new hardware and one is on hardware that used to run 6.2. Since then, 2 of my thousands of users are unable to access the servers running 7.0. They can access the server running 6.2 just fine. What happens is the server receives the SYN packet from the client properly and then responds with the SYN packet. Nothing more is heard from the client. The server sends a few duplicates of the SYN and then drops the connection. At this point I am not able to verify that the client receives the SYN. Neither of them has a clue about tcpdump. The packets look fine on this end (included later). Both are using Windows, including XP and Vista. I suspect they are receiving it and not accepting it for some reason. However, I don't really see anything that would cause that behavior in the packets. I can't reproduce the problem here. Every computer I can try works just fine. Here is one of the packet traces: 11:59:00.630414 00:00:0c:38:6f:e1 (oui Cisco) > 00:a0:cc:3e:87:9e (oui Unknown), ethertype IPv4 (0x0800), length 66: cpe-76-169-78-119.socal.res.rr.com.59025 > zool.lafn.org.8000: S 2779920420:2779920420(0) win 8192 11:59:00.630634 00:a0:cc:3e:87:9e (oui Unknown) > 00:00:0c:38:6f:e1 (oui Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000 > cpe-76-169-78-119.socal.res.rr.com.59025: S 2480373222:2480373222(0) ack 2779920421 win 65535 11:59:03.613011 00:00:0c:38:6f:e1 (oui Cisco) > 00:a0:cc:3e:87:9e (oui Unknown), ethertype IPv4 (0x0800), length 66: cpe-76-169-78-119.socal.res.rr.com.59025 > zool.lafn.org.8000: S 2779920420:2779920420(0) win 8192 11:59:03.613194 00:a0:cc:3e:87:9e (oui Unknown) > 00:00:0c:38:6f:e1 (oui Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000 > cpe-76-169-78-119.socal.res.rr.com.59025: S 2480373222:2480373222(0) ack 2779920421 win 65535 From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 21:14:14 2008 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 6AFF71065671 for ; Mon, 31 Mar 2008 21:14:14 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoot.lafn.org (zoot.lafn.ORG [206.117.18.6]) by mx1.freebsd.org (Postfix) with ESMTP id 2FEDE8FC13 for ; Mon, 31 Mar 2008 21:14:14 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.2] (pool-71-109-162-173.lsanca.dsl-w.verizon.net [71.109.162.173]) (authenticated bits=0) by zoot.lafn.org (8.13.6/8.13.4) with ESMTP id m2VLDvRc024892 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 31 Mar 2008 14:14:13 -0700 (PDT) (envelope-from bc979@lafn.org) Message-Id: From: Doug Hardie To: FreeBSD Stable Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 31 Mar 2008 14:13:57 -0700 X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: ClamAV 0.88.7/6510/Mon Mar 31 13:04:59 2008 on zoot.lafn.org X-Virus-Status: Clean Subject: Access Problems with 7.0 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, 31 Mar 2008 21:14:14 -0000 > I recently upgraded 3 of my 5 servers to 7.0. Two of them are on > new hardware and one is on hardware that used to run 6.2. Since > then, 2 of my thousands of users are unable to access the servers > running 7.0. They can access the server running 6.2 just fine. > What happens is the server receives the SYN packet from the client > properly and then responds with the SYN packet. Nothing more is > heard from the client. The server sends a few duplicates of the SYN > and then drops the connection. > > At this point I am not able to verify that the client receives the > SYN. Neither of them has a clue about tcpdump. The packets look > fine on this end (included later). Both are using Windows, > including XP and Vista. I suspect they are receiving it and not > accepting it for some reason. However, I don't really see anything > that would cause that behavior in the packets. I can't reproduce > the problem here. Every computer I can try works just fine. > > Here is one of the packet traces: > > 11:59:00.630414 00:00:0c:38:6f:e1 (oui Cisco) > 00:a0:cc:3e:87:9e > (oui Unknown), ethertype IPv4 (0x0800), length 66: > cpe-76-169-78-119.socal.res.rr.com.59025 > zool.lafn.org.8000: S > 2779920420:2779920420(0) win 8192 2,nop,nop,sackOK> > > 11:59:00.630634 00:a0:cc:3e:87:9e (oui Unknown) > 00:00:0c:38:6f:e1 > (oui Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000 > > cpe-76-169-78-119.socal.res.rr.com.59025: S > 2480373222:2480373222(0) ack 2779920421 win 65535 1460,nop,wscale 3,sackOK,eol> > > 11:59:03.613011 00:00:0c:38:6f:e1 (oui Cisco) > 00:a0:cc:3e:87:9e > (oui Unknown), ethertype IPv4 (0x0800), length 66: > cpe-76-169-78-119.socal.res.rr.com.59025 > zool.lafn.org.8000: S > 2779920420:2779920420(0) win 8192 2,nop,nop,sackOK> > > 11:59:03.613194 00:a0:cc:3e:87:9e (oui Unknown) > 00:00:0c:38:6f:e1 > (oui Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000 > > cpe-76-169-78-119.socal.res.rr.com.59025: S > 2480373222:2480373222(0) ack 2779920421 win 65535 1460,nop,wscale 3,sackOK,eol> > Checking with the 6.2 server I see there are some differences in the TCP options. 7.0 includes wscale 3 where 6.2 does not. Is there a way to disable that feature using sysctl to see if thats the issue? From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 21:15:44 2008 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 55918106566C for ; Mon, 31 Mar 2008 21:15:44 +0000 (UTC) (envelope-from johan@stromnet.se) Received: from core.stromnet.se (core.stromnet.se [83.218.84.131]) by mx1.freebsd.org (Postfix) with ESMTP id EEDA38FC20 for ; Mon, 31 Mar 2008 21:15:43 +0000 (UTC) (envelope-from johan@stromnet.se) Received: from localhost (core.stromnet.se [83.218.84.131]) by core.stromnet.se (Postfix) with ESMTP id C7001D4640C; Mon, 31 Mar 2008 23:15:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at stromnet.se Received: from core.stromnet.se ([83.218.84.131]) by localhost (core.stromnet.se [83.218.84.135]) (amavisd-new, port 10024) with ESMTP id XgyEnL5A+Na9; Mon, 31 Mar 2008 23:15:38 +0200 (CEST) Received: from johan-mp.stromnet.se (90-224-172-102-no129.tbcn.telia.com [90.224.172.102]) by core.stromnet.se (Postfix) with ESMTP id 7205BD46405; Mon, 31 Mar 2008 23:15:38 +0200 (CEST) Message-Id: From: =?ISO-8859-1?Q?Johan_Str=F6m?= To: freebsd-jail@freebsd.org, freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 31 Mar 2008 23:15:37 +0200 X-Mailer: Apple Mail (2.919.2) Cc: Subject: FreeBSD 7 and multiple IP (mijail-patch in 6.x) 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, 31 Mar 2008 21:15:44 -0000 Hello I got a machine running 6.2 right now, which is being replaced. And =20 since SMP performance is much better on 7.x I'd like to go with 7.0 =20 (and many ppl have indeed verified that it works good on this box, HP =20= DL360 G5)... But, now when I start to setup the machine, I recalled that i've =20 patched the 6.2 box with the freebsd mijail patch = (http://www.digitaldaemon.com/FreeBSD/FreeBSD/FreeBSD_6.2-STABLE-mijail.pa= tch=20 ). However, I cannot find anywhere about FreeBSD 7 and a similar patch. A =20= quick look at the patch vs the 7.x source tells me it won't apply =20 cleanly, but from what I've seen quickly, it could maybe be done. The =20= differences I've seen doesn't look too advanced, but then again, I'm =20= not a kernel developer... So, I'd like to know if anyone considered this on 7.x, or if anyone =20 can tell me immediately that this wont work or will be LOTS of work, =20 or just some patch line adjusting? Ie, how big are the changes from =20 6.x to 7.x in these sections? Thank you for any answers or pointers. -- Johan Str=F6m Stromnet johan@stromnet.se http://www.stromnet.se/ From owner-freebsd-stable@FreeBSD.ORG Mon Mar 31 23:46:23 2008 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 1401B1065671 for ; Mon, 31 Mar 2008 23:46:23 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id D0EE38FC29 for ; Mon, 31 Mar 2008 23:46:22 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id 8C86D1687519; Mon, 31 Mar 2008 20:46:22 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 00503-07; Mon, 31 Mar 2008 20:46:21 -0300 (ADT) Received: from fserv.hub.org (blk-7-245-234.eastlink.ca [71.7.245.234]) by hub.org (Postfix) with ESMTP id 346261687518; Mon, 31 Mar 2008 20:46:22 -0300 (ADT) Received: from [192.168.1.2] (unknown [192.168.1.2]) by fserv.hub.org (Postfix) with ESMTP id AF48D5F24E; Mon, 31 Mar 2008 20:46:25 -0300 (ADT) Date: Mon, 31 Mar 2008 20:44:29 -0300 From: "Marc G. Fournier" To: Joakim Fogelberg Message-ID: <81808E7FBE89F8D5ABEBC52B@ganymede.hub.org> In-Reply-To: References: <24A133A6EE9DA04411B3CF04@ganymede.hub.org> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-stable@freebsd.org Subject: Re: Azureus + 7-STABLE == Slow download + No Upload 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, 31 Mar 2008 23:46:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Monday, March 31, 2008 10:31:12 +0200 Joakim Fogelberg wrote: > I believe I had the same problem with 7.0-prerelease + Azureus + > jdk15. If I remember correct, I could only download from other Azureus > clients. I had no time to even try to find out why. I simply installed > deluge instead. Yowch, this is like the difference between night-n-day ... thanks for the pointer ... - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFH8Xdd4QvfyHIvDvMRAuOIAJ4zNC+c8w5iu13CiN1q/nw0V1/M0gCeNk+3 ioBkLAVolNRSd5VUwbWbPHA= =YpFb -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 00:43:19 2008 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 B31CD1065681 for ; Tue, 1 Apr 2008 00:43:19 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 40C438FC29 for ; Tue, 1 Apr 2008 00:43:19 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.198] (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by angel.comcen.com.au (8.13.4/8.12.9) with ESMTP id m311eSql067860 for ; Tue, 1 Apr 2008 11:40:38 +1000 (EST) From: Da Rock To: freebsd-stable@freebsd.org In-Reply-To: References: <1206767583.4015.12.camel@laptop2.herveybayaustralia.com.au> <20080330.005823.-432836004.imp@bsdimp.com> Content-Type: text/plain Date: Tue, 01 Apr 2008 10:41:28 +1000 Message-Id: <1207010488.30698.42.camel@laptop2.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-3.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-16.425, required 4, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.38, BAYES_00 -15.00) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au Subject: Re: Texas Instruments Card Reader. 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, 01 Apr 2008 00:43:19 -0000 On Sun, 2008-03-30 at 09:18 -0300, Carlos A. M. dos Santos wrote: > On Sun, Mar 30, 2008 at 3:58 AM, M. Warner Losh wrote: > > In message: <1206767583.4015.12.camel@laptop2.herveybayaustralia.com.au> > > Da Rock writes: > > : Did anyone end up getting this to work? I'm suffering the same woes... > > > > Which device is this, specifically? > > > > Warner > > It is an SD, MS/Pro, MMC, SM and XD card reader. It is recognized by > the Linux "sdhci" driver. There was an email thread some time ago > discussing an homonymous driver for FreeBSD: > > http://lists.freebsd.org/pipermail/freebsd-drivers/2006-September/000243.html > http://lists.freebsd.org/pipermail/freebsd-drivers/2006-September/000248.html > Thats right- I believe you were working with a ricoh card reader though. Is there any update to this project? A todo journal maybe? From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 04:35:35 2008 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 0769A106564A for ; Tue, 1 Apr 2008 04:35:35 +0000 (UTC) (envelope-from bidjan@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by mx1.freebsd.org (Postfix) with ESMTP id 93ADC8FC1C for ; Tue, 1 Apr 2008 04:35:34 +0000 (UTC) (envelope-from bidjan@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so1278606rvb.43 for ; Mon, 31 Mar 2008 21:35:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=bLi452uHsnxAS9/9baZGPkEqzw9I3lkvyQCT61NPgOg=; b=LG+ZuCxWgAziaShoYtgYavuYbzCXJ9rUUW3lMATnf5qyZbsF6vrRL/zovgmjJz/f1WGCiDhQrIeUJLd1+j+o4PUAkZdEkC783UIETN2IFi2DiKy0NZUrppFNw3zK5CCiGX44n85fqx+V/yTt0v68IJtLEAvvQVEo7bOFgeFtHS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=AkzJUZNGqaAqp1MbImBRyKfXyRR8URkqysjfOV5LUlliSJaz/ju+JoqTU0uo969EK5gd0cg4meJzsRRqBVQQyF3DPBdXWIg76gu9qfYVq8jl5tM1vqAlLCSAZQa0uFXO+0RgZDPPWXrFtr7RXUO6Y3S8ml1ps7/iJto4wUVfAIE= Received: by 10.140.172.19 with SMTP id u19mr3989636rve.31.1207023022158; Mon, 31 Mar 2008 21:10:22 -0700 (PDT) Received: by 10.141.177.20 with HTTP; Mon, 31 Mar 2008 21:10:22 -0700 (PDT) Message-ID: Date: Tue, 1 Apr 2008 00:10:22 -0400 From: "Pablo Mora" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Kernel.org machines from Fedora Core 5 to FreeBSD 7.0 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, 01 Apr 2008 04:35:35 -0000 http://lkml.org/lkml/2008/3/31/373 -- ------------------------------------------------------------------------------------------------ PGP KeyID: 0xC730A079 Key fingerprint = F626 3C47 02F5 E43C 6620 8A1B E7A8 533B C730 A079 gpg --keyserver pgp.mit.edu --recv-keys C730A079 ------------------------------------------------------------------------------------------------ ASCII Ribbon Campaign Against HTML e-mail & Microsoft Attachments FreeBSD Since 4.x & unixbsd.blogspot.com maintainer ------------------------------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 05:11:52 2008 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 528A21065FEC; Tue, 1 Apr 2008 05:11:52 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: from staff.cyber.mmu.edu.my (staff.cyber.mmu.edu.my [203.106.62.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3B2CB8FC18; Tue, 1 Apr 2008 05:11:51 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: by staff.cyber.mmu.edu.my (Postfix, from userid 0) id A30D84D54FC; Tue, 1 Apr 2008 13:06:03 +0800 (MYT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mmu.edu.my (Postfix) with ESMTP id 36C0755E497 for ; Fri, 28 Mar 2008 14:44:45 +0800 (MYT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 7B73E1A7585; Fri, 28 Mar 2008 06:44:15 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 3FEC1106571A; Fri, 28 Mar 2008 06:44:13 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3DB31065672 for ; Fri, 28 Mar 2008 06:44:02 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 322FD8FC25 for ; Fri, 28 Mar 2008 06:44:01 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so98305fgg.35 for ; Thu, 27 Mar 2008 23:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=k++HDwZcQS18WxGAqerZwRdv5ABBb+mRIHKP/FH8IhY=; b=RzJWshf9wesjVF3cWiyPZd6S5yXZ0LfCKfQ4fBkXgLZlD26iXyK4RiE/H4QA8SJ13kfkdiBIt5bM3i2RdfjHM5OSM7H6RtmKuR/G40pNbJTmJW2WF6v7Vx1bENq3hYesOKM9NgQROJw0kTq6FFw9D4GXqIFWjQuBsJZBFu+uvCU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=R/eNy+wUwyEIb1f2rPuZMRnT0ObQdQ8XIilDCTNiun4DnqBEsOolYouHRmJxP+fv1szk+aBYsgYDuB9lWE4gcFXq1TW5j8v0SyGxMhzqsyXbW6POIhkC1NMPQvKJ+/hzVlW1LtJVbgBep4cqXlDS4WxF7SOGfUg2Ir74kI4SlXQ= Received: by 10.82.175.17 with SMTP id x17mr5739759bue.19.1206686640662; Thu, 27 Mar 2008 23:44:00 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 3sm1689734fge.7.2008.03.27.23.43.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Mar 2008 23:43:59 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m2S6hrKn099479 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Mar 2008 15:43:53 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m2S6hqjX099478; Fri, 28 Mar 2008 15:43:52 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 28 Mar 2008 15:43:52 +0900 From: Pyun YongHyeon To: Abdullah Ibn Hamad Al-Marri Message-ID: <20080328064352.GF98450@cdnetworks.co.kr> References: <485760.8465.qm@web33703.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <485760.8465.qm@web33703.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.1i X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org Cc: FreeBSD Current , FreeBSD STABLE Subject: Re: Packet corruption in re0 X-BeenThere: freebsd-stable@freebsd.org Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 05:11:52 -0000 On Thu, Mar 27, 2008 at 10:47:51PM -0700, Abdullah Ibn Hamad Al-Marri wrote: [...] > > > > > > Pyun, > > > > > > I used it, and I got no bufer space available message, I run a server with > > heavey http requests and named as we.. > > > > > > so I had to increase the buffer. > > > > > > > Please try re(4) in HEAD. > > I've just committed one important fix to PCIe variants of RealTek > > chip. I guess re(4) in HEAD shall fix all known issues reported. > > > > I'll MFC re(4) changes in a week. > > > > -- > > Regards, > > Pyun YongHyeon > > > > Hello Pyun, > > I did fetch if_rlreg.h and if_re.c from HEAD, but it didn't compile in RELENG_7. > > machine -> /usr/src/sys/amd64/include > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/ARABPE /usr/src/sys/modules/mfi/mfi_linux/../../../dev/mfi/mfi_linux.c > ===> mii (depend) > @ -> /usr/src/sys > machine -> /usr/src/sys/amd64/include > awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -c > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/miidevs2h.awk @/dev/mii/miidevs > awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/ARABPE /usr/src/sys/modules/mii/../../dev/mii/acphy.c /usr/src/sys/modules/mii/../../dev/mii/amphy.c /usr/src/sys/modules/mii/../../dev/mii/bmtphy.c /usr/src/sys/modules/mii/../../dev/mii/brgphy.c /usr/src/sys/modules/mii/../../dev/mii/ciphy.c /usr/src/sys/modules/mii/../../dev/mii/e1000phy.c /usr/src/sys/modules/mii/../../dev/mii/exphy.c /usr/src/sys/modules/mii/../../dev/mii/gentbi.c /usr/src/sys/modules/mii/../../dev/mii/icsphy.c /usr/src/sys/modules/mii/../../dev/mii/inphy.c /usr/src/sys/modules/mii/../../dev/mii/ip1000phy.c /usr/src/sys/modules/mii/../../dev/mii/lxtphy.c miibus_if.c /usr/src/sys/modules/mii/../../dev/mii/mii.c /usr/src/sys/modules/mii/../../dev/mii/mii_physubr.c /usr/src/sys/modules/mii/../../dev/mii/mlphy.c /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c /usr/src/sys/modules/mii/../../dev/mii/nsphy.c > /usr/src/sys/modules/mii/../../dev/mii/nsphyter.c /usr/src/sys/modules/mii/../../dev/mii/pnaphy.c /usr/src/sys/modules/mii/../../dev/mii/qsphy.c /usr/src/sys/modules/mii/../../dev/mii/rgephy.c /usr/src/sys/modules/mii/../../dev/mii/rlphy.c /usr/src/sys/modules/mii/../../dev/mii/ruephy.c /usr/src/sys/modules/mii/../../dev/mii/tdkphy.c /usr/src/sys/modules/mii/../../dev/mii/tlphy.c /usr/src/sys/modules/mii/../../dev/mii/ukphy.c /usr/src/sys/modules/mii/../../dev/mii/ukphy_subr.c /usr/src/sys/modules/mii/../../dev/mii/xmphy.c > In file included from /usr/src/sys/modules/mii/../../dev/mii/rgephy.c:60: > @/pci/if_rlreg.h:654:28: error: token ";" is not valid in preprocessor expressions > @/pci/if_rlreg.h:1062:6: error: unterminated comment > @/pci/if_rlreg.h:654:1: error: unterminated #if > In file included from /usr/src/sys/modules/mii/../../dev/mii/rlphy.c:56: > @/pci/if_rlreg.h:654:28: error: token ";" is not valid in preprocessor expressions > @/pci/if_rlreg.h:1062:6: error: unterminated comment > @/pci/if_rlreg.h:654:1: error: unterminated #if > mkdep: compile failed > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 2 errors > *** Error code 2 > 1 error > *** Error code 2 > 1 error > > > > Could you please help with a patch could be applied in RELENG_7? This is urgent issue. > The files in the following URL are the same one in HEAD except addition of minor glude code to build it on RELENG_7. http://people.freebsd.org/~yongari/re/if_re.c http://people.freebsd.org/~yongari/re/if_rlreg.h -- Regards, Pyun YongHyeon _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 05:24:04 2008 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 7A78A1065682; Tue, 1 Apr 2008 05:24:04 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: from staff.cyber.mmu.edu.my (staff.cyber.mmu.edu.my [203.106.62.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5940D8FC1C; Tue, 1 Apr 2008 05:24:03 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: by staff.cyber.mmu.edu.my (Postfix, from userid 0) id 4CF504D4E36; Tue, 1 Apr 2008 13:16:49 +0800 (MYT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mmu.edu.my (Postfix) with ESMTP id B505855E4C7 for ; Fri, 28 Mar 2008 09:40:32 +0800 (MYT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id A9E6E163BCF; Fri, 28 Mar 2008 01:39:46 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 7919E10656DC; Fri, 28 Mar 2008 01:39:45 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDE461065672 for ; Fri, 28 Mar 2008 01:39:35 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 5CB9E8FC1F for ; Fri, 28 Mar 2008 01:39:35 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so30879fka.11 for ; Thu, 27 Mar 2008 18:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=jMEKWDzYFyDOy6vrer6XAueQ0aGaPYTrPBz7J5NcQcg=; b=cE+xWdtw7UVrFNWjYNpRQ37wwgbhVJLVUowp5CU/jDOTAZCmMINaTMOIoHCaujIWan9F7FQoXsBQdQN5CS9Qgt1DVdQOeZ0e16Ow4xdPznh6PtAEBXE70bHesQbyr66cGNi7WRZoeM3p7zk1pyuQK3MjRGJaJoquQh67gy93Ans= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=OcOClNrSUGprjpQlUEt0cHL5PPEwu4Mmm9bvTq9GJyq+60Z2hlCHUEBCqaCzahPkkxndvnWmX5iczJtYFFfFt6eMcYYmGBUaX65o90Z+2l+7ZIMV6UYx5t+ETf5BF8EPSE221XqF4bGZmXRARA01tWqxIPSHePcU8Fretff/PCE= Received: by 10.82.146.10 with SMTP id t10mr5278165bud.6.1206668374015; Thu, 27 Mar 2008 18:39:34 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id o11sm609535fkf.9.2008.03.27.18.39.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Mar 2008 18:39:32 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m2S1dPLC098536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Mar 2008 10:39:25 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m2S1dNDk098535; Fri, 28 Mar 2008 10:39:23 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 28 Mar 2008 10:39:23 +0900 From: Pyun YongHyeon To: Abdullah Ibn Hamad Al-Marri Message-ID: <20080328013923.GC98450@cdnetworks.co.kr> References: <626860.36996.qm@web33702.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <626860.36996.qm@web33702.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.1i X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org Cc: Ian FREISLICH , FreeBSD STABLE , FreeBSD Current Subject: Re: Packet corruption in re0 X-BeenThere: freebsd-stable@freebsd.org Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 05:24:04 -0000 On Thu, Mar 27, 2008 at 10:41:48AM -0700, Abdullah Ibn Hamad Al-Marri wrote: > ----- Original Message ---- > > From: Pyun YongHyeon > > To: Ian FREISLICH > > Cc: FreeBSD Current ; Robert Backhaus > > Sent: Monday, March 17, 2008 8:12:03 AM > > Subject: Re: Packet corruption in re0 > > > > On Fri, Feb 22, 2008 at 10:43:22AM +0200, Ian FREISLICH wrote: > > > Pyun YongHyeon wrote: > > > > On Thu, Feb 21, 2008 at 01:18:18PM +0200, Ian FREISLICH wrote: > > > > > Pyun YongHyeon wrote: > > > > > > On Thu, Feb 21, 2008 at 02:47:43PM +1000, Robert Backhaus wrote: > > > > > > > On Thu, Feb 21, 2008 at 1:50 PM, Pyun YongHyeon > > wr > > > ote: > > > > > > > > On Thu, Feb 21, 2008 at 11:03:02AM +1000, Robert Backhaus wrote: > > > > > > > > > I am experiencing roughly 15% packet corruption on the re > > inter > > > face > > > > > on > > > > > > > > > my freebsd 7/amd64 box. > > > > > > > > > > > > > > > > > > FreeBSD gw.flexi.robbak.com 7.0-PRERELEASE FreeBSD > > 7.0-PRERELEA > > > SE #8 > > > > > : > > > > > > > > > Tue Feb 5 09:49:55 EST 2008 > > > > > > > > > root@gw.flexi.robbak.com:/usr/obj/usr/src/sys/GW amd64 > > > > > > > > > > > > > > > > > > Just to make troubleshooting difficult, this problem only > > shows > > > up > > > > > > > > > after the system has been up for roughly 36 hours, depending > > on > > > the > > > > > > > > > amount of traffic. > > > > > > > > > > > > > > > > > > > > > > > > > I didn't take a look attached tcpdump files but I guess the > > > > > > > > instability issue was fixed in HEAD. It's not yet MFCed but > > > > > > > > I'll handle it in a week. > > > > > > > > > > > > > > > > Would you try re(4) in HEAD? > > > > > > > > > > > > > > > > > > > > > > OK, I'll do that. What is the best way to do that? csupping to "." > > se > > > ems a > > > > > > > bit drastic, and I don't do much with cvs proper. I take it that I > > sh > > > ould > > > > > use > > > > > > > anon-cvs to grab the directory, but I don't quite know how. > > > > > > > > > > > > > > > > > > > Copy sys/dev/re/if_re.c, sys/pci/if_rlreg.h in HEAD to your box. > > > > > > Due to lack of m_defrag(9) in 7-PRERELEASE/RC, you also have to add > > > > > > that function to if_re.c(Copy m_defrag() in sys/kern/uipc_mbuf.c on > > > > > > HEAD/RELENG_7 to if_re.c). That would make it build on your box. > > > > > > > > > > This doesn't solve the problem that I'm seeing on re(4) interfaces. > > > > > It basically shows up as quagga establishing OSPF neighours as > > > > > "Exchange/DR" when VLAN hardware tagging is enabled. I'm running > > > > > OSPF over 802.1Q vlans. Neighbours are correctly negotiated once > > > > > VLAN hardware tagging is disabled on the interface. > > > > > > > > > > I'll do more debugging. > > > > > > > > > > > > > Hmm. That sounds like different issue to me. I guess I din't change > > > > any semantics in VLAN H/W tagging. Do you still the same VLAN H/W > > > > tagging related issues on RELENG_7? > > > > > > > > To narrow down the issue it would be even better to know which parts > > > > of H/W assistance was broken. For example, > > > > - Disable checksum offload for VLAN interface first and check > > > > whether quagga works. > > > > > > You can only disable offload on the parent interface. > > > > > > > - Disable checksum offload for parent interface and check again. > > > > If you can post tcpdump output for broken conntection it may help a > > > > lot to diagnose the issue. > > > > > > The only flag affecting this behaviour is vlanhwtag. Various > > > permutations of the interface flags make no difference to this > > > behaviour as long as hardware tagging is enabled. > > > > > > It seems like it's corrupting large packets on transmit when vlanhwtag > > > is enabled. From the tcpdump output it looks like a padding or > > > packet length issue. > > > > > > Here's what tcpdump on the re(4) device thinks it's transmitting: > > > > > > 00:08:a1:3c:32:9c > 00:90:fb:0c:89:7d, ethertype 802.1Q (0x8100), length > > 1510: vlan 1000, p 0, ethertype IPv4, 196.22.138.92 > 196.22.138.89: OSPFv2, > > Database Description, length: 1472 > > > > > > Here's what was actually recieved by the em(4) device on the > > > neighbour. Note the absense of the 801.1Q header: > > > > > > 00:08:a1:3c:32:9c > 00:90:fb:0c:89:7d, ethertype IPv4 (0x0800), length 1506: > > 196.22.138.92 > 196.22.138.89: OSPFv2, Database Description, length: 1472 > > > > > > When vlanhwtagging is disabled, the re(4) device transmits: > > > > > > 00:90:fb:0c:89:7d > 00:08:a1:3c:32:9c, ethertype 802.1Q (0x8100), length > > 1510: vlan 1000, p 0, ethertype IPv4, 196.22.138.89 > 196.22.138.92: OSPFv2, > > Database Description, length: 1472 > > > > > > and the em(4) device recieves: > > > > > > 00:08:a1:3c:32:9c > 00:90:fb:0c:89:7d, ethertype 802.1Q (0x8100), length > > 1510: vlan 1000, p 0, ethertype IPv4, 196.22.138.92 > 196.22.138.89: OSPFv2, > > Database Description, length: 1472 > > > > > > Let me know if you need more detailed tcpdump output than I've provided. > > > > > > > I guess I've found a VLAN hardware tagging bug in re(4). > > Please try this one and let me know the result. > > http://people.freebsd.org/~yongari/re/if_re.c > > http://people.freebsd.org/~yongari/re/if_rlreg.h > > > > > Ian > > > > > > -- > > > Ian Freislich > > > > > > > -- > > Regards, > > Pyun YongHyeon > > > Pyun, > > I used it, and I got no bufer space available message, I run a server with heavey http requests and named as we.. > > so I had to increase the buffer. > Please try re(4) in HEAD. I've just committed one important fix to PCIe variants of RealTek chip. I guess re(4) in HEAD shall fix all known issues reported. > www# netstat -m > 553/1862/2415 mbufs in use (current/cache/total) > 279/1007/1286/65536 mbuf clusters in use (current/cache/total/max) > 279/768 mbuf+clusters out of packet secondary zone in use (current/cache) > 56/812/868/12800 4k (page size) jumbo clusters in use (current/cache/total/max) > 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) > 920K/5727K/6647K bytes allocated to network (current/cache/total) > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0/0/0 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 41261 requests for I/O initiated by sendfile > 0 calls to protocol drain routines > > Can you make a patch for the changes you made in HEAD for RELENG_7? > I'll MFC re(4) changes in a week. -- Regards, Pyun YongHyeon _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 05:29:06 2008 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 B63EC1065672; Tue, 1 Apr 2008 05:29:06 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: from staff.cyber.mmu.edu.my (staff.cyber.mmu.edu.my [203.106.62.12]) by mx1.freebsd.org (Postfix) with ESMTP id 483488FC13; Tue, 1 Apr 2008 05:29:05 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: by staff.cyber.mmu.edu.my (Postfix, from userid 0) id CA3A74D5AEF; Tue, 1 Apr 2008 13:20:56 +0800 (MYT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mmu.edu.my (Postfix) with ESMTP id EDB3555E491 for ; Fri, 28 Mar 2008 13:48:46 +0800 (MYT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 80D711610E7; Fri, 28 Mar 2008 05:48:04 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id EC14E10656DF; Fri, 28 Mar 2008 05:48:01 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5368A106566C for ; Fri, 28 Mar 2008 05:47:52 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33703.mail.mud.yahoo.com (web33703.mail.mud.yahoo.com [68.142.201.200]) by mx1.freebsd.org (Postfix) with SMTP id 1C99C8FC1A for ; Fri, 28 Mar 2008 05:47:51 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 8833 invoked by uid 60001); 28 Mar 2008 05:47:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=aH+yxp+O0chwFgRns5Ll6tSkyqW8SaP8jG1kA6bmPbsso+eVsaEaVBvPy4Yon1RqgEyJeZwT5x3BxLQC+dn2rG4AvZOGp4wUQouK8G8u07xKvN1itx2mKXt62GEw8MXVkAWdEksQ9D6KedatSo8BuJ2mGd0bAc8bEM9T391VvQA=; X-YMail-OSG: RS_D9OwVM1kjFCcO6HeQpou2N07SVxSlk8xTXiTvtVzxfvK6QNeqacW35ZPeOvhiOw-- Received: from [82.148.96.69] by web33703.mail.mud.yahoo.com via HTTP; Thu, 27 Mar 2008 22:47:51 PDT X-Mailer: YahooMailRC/902.40 YahooMailWebService/0.7.185 Date: Thu, 27 Mar 2008 22:47:51 -0700 (PDT) From: Abdullah Ibn Hamad Al-Marri To: pyunyh@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <485760.8465.qm@web33703.mail.mud.yahoo.com> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org Cc: FreeBSD Current , FreeBSD STABLE Subject: Re: Packet corruption in re0 X-BeenThere: freebsd-stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 05:29:06 -0000 ----- Original Message ---- > From: Pyun YongHyeon > To: Abdullah Ibn Hamad Al-Marri > Cc: Ian FREISLICH ; FreeBSD Current ; FreeBSD STABLE > Sent: Friday, March 28, 2008 4:39:23 AM > Subject: Re: Packet corruption in re0 > > On Thu, Mar 27, 2008 at 10:41:48AM -0700, Abdullah Ibn Hamad Al-Marri wrote: > > ----- Original Message ---- > > > From: Pyun YongHyeon > > > To: Ian FREISLICH > > > Cc: FreeBSD Current ; Robert Backhaus > > > > Sent: Monday, March 17, 2008 8:12:03 AM > > > Subject: Re: Packet corruption in re0 > > > > > > On Fri, Feb 22, 2008 at 10:43:22AM +0200, Ian FREISLICH wrote: > > > > Pyun YongHyeon wrote: > > > > > On Thu, Feb 21, 2008 at 01:18:18PM +0200, Ian FREISLICH wrote: > > > > > > Pyun YongHyeon wrote: > > > > > > > On Thu, Feb 21, 2008 at 02:47:43PM +1000, Robert Backhaus wrote: > > > > > > > > On Thu, Feb 21, 2008 at 1:50 PM, Pyun YongHyeon > > > wr > > > > ote: > > > > > > > > > On Thu, Feb 21, 2008 at 11:03:02AM +1000, Robert Backhaus > wrote: > > > > > > > > > > I am experiencing roughly 15% packet corruption on the > re > > > inter > > > > face > > > > > > on > > > > > > > > > > my freebsd 7/amd64 box. > > > > > > > > > > > > > > > > > > > > FreeBSD gw.flexi.robbak.com 7.0-PRERELEASE FreeBSD > > > 7.0-PRERELEA > > > > SE #8 > > > > > > : > > > > > > > > > > Tue Feb 5 09:49:55 EST 2008 > > > > > > > > > > root@gw.flexi.robbak.com:/usr/obj/usr/src/sys/GW amd64 > > > > > > > > > > > > > > > > > > > > Just to make troubleshooting difficult, this problem > only > > > shows > > > > up > > > > > > > > > > after the system has been up for roughly 36 hours, > depending > > > on > > > > the > > > > > > > > > > amount of traffic. > > > > > > > > > > > > > > > > > > > > > > > > > > > > I didn't take a look attached tcpdump files but I guess the > > > > > > > > > instability issue was fixed in HEAD. It's not yet MFCed but > > > > > > > > > I'll handle it in a week. > > > > > > > > > > > > > > > > > > Would you try re(4) in HEAD? > > > > > > > > > > > > > > > > > > > > > > > > > OK, I'll do that. What is the best way to do that? csupping to > "." > > > se > > > > ems a > > > > > > > > bit drastic, and I don't do much with cvs proper. I take it > that I > > > sh > > > > ould > > > > > > use > > > > > > > > anon-cvs to grab the directory, but I don't quite know how. > > > > > > > > > > > > > > > > > > > > > > Copy sys/dev/re/if_re.c, sys/pci/if_rlreg.h in HEAD to your box. > > > > > > > Due to lack of m_defrag(9) in 7-PRERELEASE/RC, you also have to > add > > > > > > > that function to if_re.c(Copy m_defrag() in sys/kern/uipc_mbuf.c > on > > > > > > > HEAD/RELENG_7 to if_re.c). That would make it build on your box. > > > > > > > > > > > > This doesn't solve the problem that I'm seeing on re(4) interfaces. > > > > > > It basically shows up as quagga establishing OSPF neighours as > > > > > > "Exchange/DR" when VLAN hardware tagging is enabled. I'm running > > > > > > OSPF over 802.1Q vlans. Neighbours are correctly negotiated once > > > > > > VLAN hardware tagging is disabled on the interface. > > > > > > > > > > > > I'll do more debugging. > > > > > > > > > > > > > > > > Hmm. That sounds like different issue to me. I guess I din't change > > > > > any semantics in VLAN H/W tagging. Do you still the same VLAN H/W > > > > > tagging related issues on RELENG_7? > > > > > > > > > > To narrow down the issue it would be even better to know which parts > > > > > of H/W assistance was broken. For example, > > > > > - Disable checksum offload for VLAN interface first and check > > > > > whether quagga works. > > > > > > > > You can only disable offload on the parent interface. > > > > > > > > > - Disable checksum offload for parent interface and check again. > > > > > If you can post tcpdump output for broken conntection it may help a > > > > > lot to diagnose the issue. > > > > > > > > The only flag affecting this behaviour is vlanhwtag. Various > > > > permutations of the interface flags make no difference to this > > > > behaviour as long as hardware tagging is enabled. > > > > > > > > It seems like it's corrupting large packets on transmit when vlanhwtag > > > > is enabled. From the tcpdump output it looks like a padding or > > > > packet length issue. > > > > > > > > Here's what tcpdump on the re(4) device thinks it's transmitting: > > > > > > > > 00:08:a1:3c:32:9c > 00:90:fb:0c:89:7d, ethertype 802.1Q (0x8100), length > > > > 1510: vlan 1000, p 0, ethertype IPv4, 196.22.138.92 > 196.22.138.89: > OSPFv2, > > > Database Description, length: 1472 > > > > > > > > Here's what was actually recieved by the em(4) device on the > > > > neighbour. Note the absense of the 801.1Q header: > > > > > > > > 00:08:a1:3c:32:9c > 00:90:fb:0c:89:7d, ethertype IPv4 (0x0800), length > 1506: > > > 196.22.138.92 > 196.22.138.89: OSPFv2, Database Description, length: 1472 > > > > > > > > When vlanhwtagging is disabled, the re(4) device transmits: > > > > > > > > 00:90:fb:0c:89:7d > 00:08:a1:3c:32:9c, ethertype 802.1Q (0x8100), length > > > > 1510: vlan 1000, p 0, ethertype IPv4, 196.22.138.89 > 196.22.138.92: > OSPFv2, > > > Database Description, length: 1472 > > > > > > > > and the em(4) device recieves: > > > > > > > > 00:08:a1:3c:32:9c > 00:90:fb:0c:89:7d, ethertype 802.1Q (0x8100), length > > > > 1510: vlan 1000, p 0, ethertype IPv4, 196.22.138.92 > 196.22.138.89: > OSPFv2, > > > Database Description, length: 1472 > > > > > > > > Let me know if you need more detailed tcpdump output than I've provided. > > > > > > > > > > I guess I've found a VLAN hardware tagging bug in re(4). > > > Please try this one and let me know the result. > > > http://people.freebsd.org/~yongari/re/if_re.c > > > http://people.freebsd.org/~yongari/re/if_rlreg.h > > > > > > > Ian > > > > > > > > -- > > > > Ian Freislich > > > > > > > > > > -- > > > Regards, > > > Pyun YongHyeon > > > > > > Pyun, > > > > I used it, and I got no bufer space available message, I run a server with > heavey http requests and named as we.. > > > > so I had to increase the buffer. > > > > Please try re(4) in HEAD. > I've just committed one important fix to PCIe variants of RealTek > chip. I guess re(4) in HEAD shall fix all known issues reported. > I'll MFC re(4) changes in a week. > > -- > Regards, > Pyun YongHyeon > Hello Pyun, I did fetch if_rlreg.h and if_re.c from HEAD, but it didn't compile in RELENG_7. machine -> /usr/src/sys/amd64/include rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/ARABPE /usr/src/sys/modules/mfi/mfi_linux/../../../dev/mfi/mfi_linux.c ===> mii (depend) @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -c awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/miidevs2h.awk @/dev/mii/miidevs awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/ARABPE /usr/src/sys/modules/mii/../../dev/mii/acphy.c /usr/src/sys/modules/mii/../../dev/mii/amphy.c /usr/src/sys/modules/mii/../../dev/mii/bmtphy.c /usr/src/sys/modules/mii/../../dev/mii/brgphy.c /usr/src/sys/modules/mii/../../dev/mii/ciphy.c /usr/src/sys/modules/mii/../../dev/mii/e1000phy.c /usr/src/sys/modules/mii/../../dev/mii/exphy.c /usr/src/sys/modules/mii/../../dev/mii/gentbi.c /usr/src/sys/modules/mii/../../dev/mii/icsphy.c /usr/src/sys/modules/mii/../../dev/mii/inphy.c /usr/src/sys/modules/mii/../../dev/mii/ip1000phy.c /usr/src/sys/modules/mii/../../dev/mii/lxtphy.c miibus_if.c /usr/src/sys/modules/mii/../../dev/mii/mii.c /usr/src/sys/modules/mii/../../dev/mii/mii_physubr.c /usr/src/sys/modules/mii/../../dev/mii/mlphy.c /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c /usr/src/sys/modules/mii/../../dev/mii/nsphy.c /usr/src/sys/modules/mii/../../dev/mii/nsphyter.c /usr/src/sys/modules/mii/../../dev/mii/pnaphy.c /usr/src/sys/modules/mii/../../dev/mii/qsphy.c /usr/src/sys/modules/mii/../../dev/mii/rgephy.c /usr/src/sys/modules/mii/../../dev/mii/rlphy.c /usr/src/sys/modules/mii/../../dev/mii/ruephy.c /usr/src/sys/modules/mii/../../dev/mii/tdkphy.c /usr/src/sys/modules/mii/../../dev/mii/tlphy.c /usr/src/sys/modules/mii/../../dev/mii/ukphy.c /usr/src/sys/modules/mii/../../dev/mii/ukphy_subr.c /usr/src/sys/modules/mii/../../dev/mii/xmphy.c In file included from /usr/src/sys/modules/mii/../../dev/mii/rgephy.c:60: @/pci/if_rlreg.h:654:28: error: token ";" is not valid in preprocessor expressions @/pci/if_rlreg.h:1062:6: error: unterminated comment @/pci/if_rlreg.h:654:1: error: unterminated #if In file included from /usr/src/sys/modules/mii/../../dev/mii/rlphy.c:56: @/pci/if_rlreg.h:654:28: error: token ";" is not valid in preprocessor expressions @/pci/if_rlreg.h:1062:6: error: unterminated comment @/pci/if_rlreg.h:654:1: error: unterminated #if mkdep: compile failed *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 2 errors *** Error code 2 1 error *** Error code 2 1 error Could you please help with a patch could be applied in RELENG_7? This is urgent issue. --- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 05:29:18 2008 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 2505910656DF; Tue, 1 Apr 2008 05:29:18 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: from staff.cyber.mmu.edu.my (staff.cyber.mmu.edu.my [203.106.62.12]) by mx1.freebsd.org (Postfix) with ESMTP id 03F968FC36; Tue, 1 Apr 2008 05:29:14 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: by staff.cyber.mmu.edu.my (Postfix, from userid 0) id 3E64E4D5B04; Tue, 1 Apr 2008 13:21:05 +0800 (MYT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mmu.edu.my (Postfix) with ESMTP id EED4055E4AC for ; Fri, 28 Mar 2008 01:44:17 +0800 (MYT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 1B14A179B1A; Thu, 27 Mar 2008 17:42:12 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 052F3106568A; Thu, 27 Mar 2008 17:42:06 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73C571065676 for ; Thu, 27 Mar 2008 17:41:49 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33702.mail.mud.yahoo.com (web33702.mail.mud.yahoo.com [68.142.201.199]) by mx1.freebsd.org (Postfix) with SMTP id 4A1A68FC1A for ; Thu, 27 Mar 2008 17:41:49 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 37389 invoked by uid 60001); 27 Mar 2008 17:41:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=bzlWzGl6kWDVJtFuvkZ8hSic/c8xRFeGx7go4aRctIgkuAMgQ8HOL13Bq8dx4Pu7E9HM2TY0mI/xD0mgXml2tEPRkndgS/aP/pOeM/ChvXqAD5HrwcRXKq4tIHpaWUdnvRRRRqFW9b24waIwpZ2fYXHWSjzJraICaIqNcbqJqbw=; X-YMail-OSG: PsVesmIVM1nJ3ImxCPWd5znGEc7mLl34.ByGZJgnsE7iKiKdfJb06TB5R84yQWvpdFg5G59Ken0ELZX618vy_QZsK3H7emcdTosfET58aveiOQAItnFiV.BGes7E_AKPLZLi3JU- Received: from [86.62.225.3] by web33702.mail.mud.yahoo.com via HTTP; Thu, 27 Mar 2008 10:41:48 PDT X-Mailer: YahooMailRC/902.40 YahooMailWebService/0.7.185 Date: Thu, 27 Mar 2008 10:41:48 -0700 (PDT) From: Abdullah Ibn Hamad Al-Marri To: pyunyh@gmail.com, Ian FREISLICH MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <626860.36996.qm@web33702.mail.mud.yahoo.com> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org Cc: FreeBSD Current , FreeBSD STABLE Subject: Re: Packet corruption in re0 X-BeenThere: freebsd-stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 05:29:18 -0000 ----- Original Message ---- > From: Pyun YongHyeon > To: Ian FREISLICH > Cc: FreeBSD Current ; Robert Backhaus > Sent: Monday, March 17, 2008 8:12:03 AM > Subject: Re: Packet corruption in re0 > > On Fri, Feb 22, 2008 at 10:43:22AM +0200, Ian FREISLICH wrote: > > Pyun YongHyeon wrote: > > > On Thu, Feb 21, 2008 at 01:18:18PM +0200, Ian FREISLICH wrote: > > > > Pyun YongHyeon wrote: > > > > > On Thu, Feb 21, 2008 at 02:47:43PM +1000, Robert Backhaus wrote: > > > > > > On Thu, Feb 21, 2008 at 1:50 PM, Pyun YongHyeon > wr > > ote: > > > > > > > On Thu, Feb 21, 2008 at 11:03:02AM +1000, Robert Backhaus wrote: > > > > > > > > I am experiencing roughly 15% packet corruption on the re > inter > > face > > > > on > > > > > > > > my freebsd 7/amd64 box. > > > > > > > > > > > > > > > > FreeBSD gw.flexi.robbak.com 7.0-PRERELEASE FreeBSD > 7.0-PRERELEA > > SE #8 > > > > : > > > > > > > > Tue Feb 5 09:49:55 EST 2008 > > > > > > > > root@gw.flexi.robbak.com:/usr/obj/usr/src/sys/GW amd64 > > > > > > > > > > > > > > > > Just to make troubleshooting difficult, this problem only > shows > > up > > > > > > > > after the system has been up for roughly 36 hours, depending > on > > the > > > > > > > > amount of traffic. > > > > > > > > > > > > > > > > > > > > > > I didn't take a look attached tcpdump files but I guess the > > > > > > > instability issue was fixed in HEAD. It's not yet MFCed but > > > > > > > I'll handle it in a week. > > > > > > > > > > > > > > Would you try re(4) in HEAD? > > > > > > > > > > > > > > > > > > > OK, I'll do that. What is the best way to do that? csupping to "." > se > > ems a > > > > > > bit drastic, and I don't do much with cvs proper. I take it that I > sh > > ould > > > > use > > > > > > anon-cvs to grab the directory, but I don't quite know how. > > > > > > > > > > > > > > > > Copy sys/dev/re/if_re.c, sys/pci/if_rlreg.h in HEAD to your box. > > > > > Due to lack of m_defrag(9) in 7-PRERELEASE/RC, you also have to add > > > > > that function to if_re.c(Copy m_defrag() in sys/kern/uipc_mbuf.c on > > > > > HEAD/RELENG_7 to if_re.c). That would make it build on your box. > > > > > > > > This doesn't solve the problem that I'm seeing on re(4) interfaces. > > > > It basically shows up as quagga establishing OSPF neighours as > > > > "Exchange/DR" when VLAN hardware tagging is enabled. I'm running > > > > OSPF over 802.1Q vlans. Neighbours are correctly negotiated once > > > > VLAN hardware tagging is disabled on the interface. > > > > > > > > I'll do more debugging. > > > > > > > > > > Hmm. That sounds like different issue to me. I guess I din't change > > > any semantics in VLAN H/W tagging. Do you still the same VLAN H/W > > > tagging related issues on RELENG_7? > > > > > > To narrow down the issue it would be even better to know which parts > > > of H/W assistance was broken. For example, > > > - Disable checksum offload for VLAN interface first and check > > > whether quagga works. > > > > You can only disable offload on the parent interface. > > > > > - Disable checksum offload for parent interface and check again. > > > If you can post tcpdump output for broken conntection it may help a > > > lot to diagnose the issue. > > > > The only flag affecting this behaviour is vlanhwtag. Various > > permutations of the interface flags make no difference to this > > behaviour as long as hardware tagging is enabled. > > > > It seems like it's corrupting large packets on transmit when vlanhwtag > > is enabled. From the tcpdump output it looks like a padding or > > packet length issue. > > > > Here's what tcpdump on the re(4) device thinks it's transmitting: > > > > 00:08:a1:3c:32:9c > 00:90:fb:0c:89:7d, ethertype 802.1Q (0x8100), length > 1510: vlan 1000, p 0, ethertype IPv4, 196.22.138.92 > 196.22.138.89: OSPFv2, > Database Description, length: 1472 > > > > Here's what was actually recieved by the em(4) device on the > > neighbour. Note the absense of the 801.1Q header: > > > > 00:08:a1:3c:32:9c > 00:90:fb:0c:89:7d, ethertype IPv4 (0x0800), length 1506: > 196.22.138.92 > 196.22.138.89: OSPFv2, Database Description, length: 1472 > > > > When vlanhwtagging is disabled, the re(4) device transmits: > > > > 00:90:fb:0c:89:7d > 00:08:a1:3c:32:9c, ethertype 802.1Q (0x8100), length > 1510: vlan 1000, p 0, ethertype IPv4, 196.22.138.89 > 196.22.138.92: OSPFv2, > Database Description, length: 1472 > > > > and the em(4) device recieves: > > > > 00:08:a1:3c:32:9c > 00:90:fb:0c:89:7d, ethertype 802.1Q (0x8100), length > 1510: vlan 1000, p 0, ethertype IPv4, 196.22.138.92 > 196.22.138.89: OSPFv2, > Database Description, length: 1472 > > > > Let me know if you need more detailed tcpdump output than I've provided. > > > > I guess I've found a VLAN hardware tagging bug in re(4). > Please try this one and let me know the result. > http://people.freebsd.org/~yongari/re/if_re.c > http://people.freebsd.org/~yongari/re/if_rlreg.h > > > Ian > > > > -- > > Ian Freislich > > > > -- > Regards, > Pyun YongHyeon Pyun, I used it, and I got no bufer space available message, I run a server with heavey http requests and named as we.. so I had to increase the buffer. www# netstat -m 553/1862/2415 mbufs in use (current/cache/total) 279/1007/1286/65536 mbuf clusters in use (current/cache/total/max) 279/768 mbuf+clusters out of packet secondary zone in use (current/cache) 56/812/868/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 920K/5727K/6647K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/0/0 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 41261 requests for I/O initiated by sendfile 0 calls to protocol drain routines Can you make a patch for the changes you made in HEAD for RELENG_7? Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 06:17:57 2008 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 814901065670; Tue, 1 Apr 2008 06:17:57 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: from staff.cyber.mmu.edu.my (staff.cyber.mmu.edu.my [203.106.62.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3897D8FC36; Tue, 1 Apr 2008 06:17:56 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: by staff.cyber.mmu.edu.my (Postfix, from userid 0) id 997274D4674; Tue, 1 Apr 2008 14:17:04 +0800 (MYT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mmu.edu.my (Postfix) with ESMTP id 8DEB855E4AF for ; Sun, 30 Mar 2008 03:58:00 +0800 (MYT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id EFEB4160EBD; Sat, 29 Mar 2008 19:10:55 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 7ADFA10656CA; Sat, 29 Mar 2008 19:10:54 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FA47106566B; Sat, 29 Mar 2008 19:10:46 +0000 (UTC) (envelope-from robert@ml.erje.net) Received: from smtpout-1.iphouse.net (smtpout-1.iphouse.net [216.250.188.190]) by mx1.freebsd.org (Postfix) with ESMTP id 50A728FC15; Sat, 29 Mar 2008 19:10:46 +0000 (UTC) (envelope-from robert@ml.erje.net) Received: from smtpout-1.iphouse.net (localhost [127.0.0.1]) by outbound-clamsmtpd.iphouse.net (Postfix) with ESMTP id 9B2F32AC61A; Sat, 29 Mar 2008 13:52:57 -0500 (CDT) Received: from ziemel.erje.net (erje.net [80.126.62.176]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpout-1.iphouse.net (Postfix) with ESMTP id 4CFD62AC5F9; Sat, 29 Mar 2008 13:52:57 -0500 (CDT) Received: from ismet.erje.net (ismet.erje.net [IPv6:2001:888:1f33::8e45:5e]) by ziemel.erje.net (PostFix 2.5.0) with ESMTP id CFBCCCA0B26; Sat, 29 Mar 2008 19:52:19 +0100 (CET) Received: (from robert@localhost) by ismet.erje.net (8.14.2/8.14.2/Submit) id m2TIqGpp004186; Sat, 29 Mar 2008 19:52:16 +0100 (CET) (envelope-from robert@ml.erje.net) X-Authentication-Warning: ismet.erje.net: robert set sender to robert@ml.erje.net using -f Date: Sat, 29 Mar 2008 19:52:16 +0100 From: Robert Joosten To: freebsd-chat@freebsd.org Message-ID: <20080329185215.GA4017@iphouse.com> References: <945136.92642.qm@web57010.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <945136.92642.qm@web57010.mail.re3.yahoo.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-ziemel.erje.net-MailScanner: Ok, found to be clean X-Spam-Status: No X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: The Design and Implementation of the FreeBSD Operating System X-BeenThere: freebsd-stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 06:17:57 -0000 Hi Unga, > Is there a 2nd edition coming soon? Third iirc. ISBN 0201549794 was the first, although with a slightly different name. Regards, Robert PS: may I politely remind you of our mailinglist charters phrase: "No posting should be made to more than 2 mailing lists (..) ? ;-) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 06:18:46 2008 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 A10061065750; Tue, 1 Apr 2008 06:18:46 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: from staff.cyber.mmu.edu.my (staff.cyber.mmu.edu.my [203.106.62.12]) by mx1.freebsd.org (Postfix) with ESMTP id D328B8FC3B; Tue, 1 Apr 2008 06:18:45 +0000 (UTC) (envelope-from root@mmu.edu.my) Received: by staff.cyber.mmu.edu.my (Postfix, from userid 0) id A31244D4BB7; Tue, 1 Apr 2008 14:18:14 +0800 (MYT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mmu.edu.my (Postfix) with ESMTP id AA0DF55E4B5 for ; Sun, 30 Mar 2008 04:24:49 +0800 (MYT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id B4F9B157D62; Sat, 29 Mar 2008 20:23:35 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id AAA3910656C6; Sat, 29 Mar 2008 20:23:34 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E38D41065674; Sat, 29 Mar 2008 20:23:21 +0000 (UTC) (envelope-from njm@njm.f2s.com) Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by mx1.freebsd.org (Postfix) with ESMTP id 1E9C98FC39; Sat, 29 Mar 2008 20:23:20 +0000 (UTC) (envelope-from njm@njm.f2s.com) X-Trace: 45469611/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/195.137.21.170 X-SBRS: None X-RemoteIP: 195.137.21.170 X-IP-MAIL-FROM: njm@njm.f2s.com X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4FAII67kfDiRWq/2dsb2JhbACBWqdc X-IP-Direction: IN Received: from i-195-137-21-170.freedom2surf.net (HELO oberon.njm.f2s.com) ([195.137.21.170]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Mar 2008 19:53:44 +0000 Received: from oberon.njm.f2s.com (localhost.njm.f2s.com [127.0.0.1]) by oberon.njm.f2s.com (8.14.2/8.14.2) with ESMTP id m2TJrhjE047009; Sat, 29 Mar 2008 19:53:43 GMT (envelope-from njm@oberon.njm.f2s.com) Received: (from njm@localhost) by oberon.njm.f2s.com (8.14.2/8.14.2/Submit) id m2TJrh6G047008; Sat, 29 Mar 2008 19:53:43 GMT (envelope-from njm) Date: Sat, 29 Mar 2008 19:53:43 +0000 From: "N.J. Mann" To: Robert Joosten Message-ID: <20080329195343.GA44731@oberon.njm.f2s.com> Mail-Followup-To: Robert Joosten , freebsd-chat@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org References: <945136.92642.qm@web57010.mail.re3.yahoo.com> <20080329185215.GA4017@iphouse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080329185215.GA4017@iphouse.com> X-Operating-System: FreeBSD 6.3-STABLE User-Agent: Mutt/1.5.17cvs (2008-03-09) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-chat@freebsd.org Subject: Re: The Design and Implementation of the FreeBSD Operating System X-BeenThere: freebsd-stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 06:18:46 -0000 In message <20080329185215.GA4017@iphouse.com>, Robert Joosten (robert@ml.erje.net) wrote: > Hi Unga, > > > Is there a 2nd edition coming soon? > > Third iirc. ISBN 0201549794 was the first, although with a slightly > different name. You are forgetting ISBN 0201061961! Cheers, Nick. -- _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 08:55:23 2008 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 EBB8E106564A; Tue, 1 Apr 2008 08:55:22 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5D4798FC13; Tue, 1 Apr 2008 08:55:22 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m318tB1b085776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Apr 2008 09:55:12 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <47F1F877.4010008@unsane.co.uk> Date: Tue, 01 Apr 2008 09:55:19 +0100 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.12 (X11/20080327) MIME-Version: 1.0 To: Kostik Belousov References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> <47EFCF67.9040601@system.pl> <47F0A577.90800@unsane.co.uk> <20080331092035.GH21209@deviant.kiev.zoral.com.ua> <47F0C75B.9040000@unsane.co.uk> <20080331111714.GI21209@deviant.kiev.zoral.com.ua> In-Reply-To: <20080331111714.GI21209@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcin Cieslak , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 01 Apr 2008 08:55:23 -0000 Kostik Belousov wrote: > On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote: >> Kostik Belousov wrote: > Compile the ddb into the kernel (instructions are provided at the same > web page) and post the output of the console on the panic I tried this but other than the fact I can drop into ddb and step though stuff I'm not sure what I can do with it. Since I cant (obviously) get a serial console on my laptop I have done it the other way and taken a picture of the console on panic. When I have more time I'll carry on reading up on ddb but I think I have a steep learning curve since my previous looks at programing stopped at 'hello world':) Panic console at: http://unsane.co.uk/~jhary/freebsd/IMAGE_119.jpg Vince From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 09:43:12 2008 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 277CE1065715 for ; Tue, 1 Apr 2008 09:43:12 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from zzz.ee (kalah.zzz.ee [194.204.30.253]) by mx1.freebsd.org (Postfix) with ESMTP id DAF348FCF0 for ; Tue, 1 Apr 2008 09:43:10 +0000 (UTC) (envelope-from antik@bsd.ee) Received: by zzz.ee (Postfix, from userid 3019) id AEC4E555BA7; Tue, 1 Apr 2008 12:43:08 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: en X-Spam-Status: No, score=-5.4 required=5.0 tests=ALL_TRUSTED,BAYES_20 X-Spam-Checker-URL: http://info.zzz.ee Received: from andrei.demo (adsl215.uninet.ee [194.204.62.215]) by zzz.ee (Postfix) with ESMTP id 3D838555B9F for ; Tue, 1 Apr 2008 12:43:07 +0300 (EEST) From: Andrei Kolu To: freebsd-stable@freebsd.org Date: Tue, 1 Apr 2008 12:43:05 +0300 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804011243.06122.antik@bsd.ee> Subject: Re: Don't recognizing SMP... 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, 01 Apr 2008 09:43:12 -0000 On Monday 31 March 2008 12:31:49 =ED=95=9C=EC=9B=90=ED=9D=AC wrote: > I installed FreeBSD 7.0 on HP DL 380. > > This is a mptable result. > > > # mptable > > Processors: APIC ID Version State Family Model Step = =20 > > Flags 0 0x14 BSP, usable 6 2 1 0x0381 6 = =20 > > 0x14 AP, usable 15 2 9 0xbfebfbff > > 2 way cpus are same as 3.0GHz Xeon CPU. But they have different > Family, Step, and Flags. > SMP does NOT work with cpus with different steppings. You should find other= =20 matching pair for smp to work. > I used kernel compiling with SMP option. > but, this is a sysctl result. > > > # sysctl -kern.smp > > kern.smp.forward_roundrobin_enabled: 1 > > kern.smp.forward_signal_enabled: 1 > > kern.smp.cpus: 1 > > kern.smp.disabled: 0 > > kern.smp.active: 0 > > kern.smp.maxcpus: 16 > > As you saw this result, it is not recognized as 2 CPUs. it recognized > Only one CPU... > > plz. help me, i want it to recognize as 2 CPUs. > _______________________________________________ > 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 Tue Apr 1 09:49:46 2008 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 46D471065673; Tue, 1 Apr 2008 09:49:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay01.kiev.sovam.com (relay01.kiev.sovam.com [62.64.120.200]) by mx1.freebsd.org (Postfix) with ESMTP id C81888FC2F; Tue, 1 Apr 2008 09:49:45 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Jgd7d-0008w0-RY; Tue, 01 Apr 2008 12:49:44 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m319nkLN019909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Apr 2008 12:49:46 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m319nZIU007598; Tue, 1 Apr 2008 12:49:35 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m319nZW8007581; Tue, 1 Apr 2008 12:49:35 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 1 Apr 2008 12:49:35 +0300 From: Kostik Belousov To: Vince Hoffman Message-ID: <20080401094935.GQ21209@deviant.kiev.zoral.com.ua> References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> <47EFCF67.9040601@system.pl> <47F0A577.90800@unsane.co.uk> <20080331092035.GH21209@deviant.kiev.zoral.com.ua> <47F0C75B.9040000@unsane.co.uk> <20080331111714.GI21209@deviant.kiev.zoral.com.ua> <47F1F877.4010008@unsane.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1BKOZKwX7DAU5odC" Content-Disposition: inline In-Reply-To: <47F1F877.4010008@unsane.co.uk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: cb456512e35bc39d01a349a068426185 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 2534 [Apr 01 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: Marcin Cieslak , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 01 Apr 2008 09:49:46 -0000 --1BKOZKwX7DAU5odC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 01, 2008 at 09:55:19AM +0100, Vince Hoffman wrote: > Kostik Belousov wrote: > > On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote: > >> Kostik Belousov wrote: >=20 > > Compile the ddb into the kernel (instructions are provided at the same > > web page) and post the output of the console on the panic >=20 > I tried this but other than the fact I can drop into ddb and step though > stuff I'm not sure what I can do with it. Since I cant (obviously) get a > serial console on my laptop I have done it the other way and taken a > picture of the console on panic. When I have more time I'll carry on > reading up on ddb but I think I have a steep learning curve since my > previous looks at programing stopped at 'hello world':) > Panic console at: > http://unsane.co.uk/~jhary/freebsd/IMAGE_119.jpg Thanks, this is enough. Two chunks were missed from the rev. 1.210. Please, try the patch below. diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index 843498e..7e6e048 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -402,8 +402,7 @@ giant_ioctl(struct cdev *dev, u_long cmd, caddr_t data,= int fflag, struct thread if (dsw =3D=3D NULL) return (ENXIO); mtx_lock(&Giant); - retval =3D dev->si_devsw->d_gianttrick-> - d_ioctl(dev, cmd, data, fflag, td); + retval =3D dsw->d_gianttrick->d_ioctl(dev, cmd, data, fflag, td); mtx_unlock(&Giant); dev_relthread(dev); return (retval); @@ -419,8 +418,7 @@ giant_read(struct cdev *dev, struct uio *uio, int iofla= g) if (dsw =3D=3D NULL) return (ENXIO); mtx_lock(&Giant); - retval =3D dev->si_devsw->d_gianttrick-> - d_read(dev, uio, ioflag); + retval =3D dsw->d_gianttrick->d_read(dev, uio, ioflag); mtx_unlock(&Giant); dev_relthread(dev); return (retval); --1BKOZKwX7DAU5odC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkfyBS4ACgkQC3+MBN1Mb4hePQCeLZGSsY8UBovIU2XVKtvbs4qR NesAniEOYKEIsuqZtV9qTBJrMvqZEbW2 =ONFL -----END PGP SIGNATURE----- --1BKOZKwX7DAU5odC-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 10:09:01 2008 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 DC66D1065671 for ; Tue, 1 Apr 2008 10:09:01 +0000 (UTC) (envelope-from erik@tefre.com) Received: from mta1-filtered.netlife.no (mail.netlife.no [213.187.191.68]) by mx1.freebsd.org (Postfix) with ESMTP id E135F8FC25 for ; Tue, 1 Apr 2008 10:09:00 +0000 (UTC) (envelope-from erik@tefre.com) Received: from localhost (unknown [10.0.68.2]) by mta1-filtered.netlife.no (Postfix) with ESMTP id E2B36287A3; Tue, 1 Apr 2008 12:08:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at netlife.no Received: from mta1.netlife.no ([10.0.68.2]) by localhost (amavis.netlife.no [10.0.68.2]) (amavisd-new, port 10024) with ESMTP id dfhmt7vIxWhT; Tue, 1 Apr 2008 10:08:53 +0000 (UTC) Received: from baviandesktop.netlife.no (kontor.netlife.no [217.13.28.50]) by mta1.netlife.no (Postfix) with ESMTP id 40E1428784; Tue, 1 Apr 2008 12:08:53 +0200 (CEST) Message-ID: <47F209B4.1050405@tefre.com> Date: Tue, 01 Apr 2008 12:08:52 +0200 From: Erik Stian Tefre User-Agent: Thunderbird 2.0.0.9 (X11/20080127) MIME-Version: 1.0 To: Doug Hardie References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Subject: Re: Access Problems with 7.0 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, 01 Apr 2008 10:09:02 -0000 Doug Hardie wrote: >> I recently upgraded 3 of my 5 servers to 7.0. Two of them are on new >> hardware and one is on hardware that used to run 6.2. Since then, 2 >> of my thousands of users are unable to access the servers running >> 7.0. They can access the server running 6.2 just fine. What happens >> is the server receives the SYN packet from the client properly and >> then responds with the SYN packet. Nothing more is heard from the >> client. The server sends a few duplicates of the SYN and then drops >> the connection. >> >> At this point I am not able to verify that the client receives the >> SYN. Neither of them has a clue about tcpdump. The packets look fine >> on this end (included later). Both are using Windows, including XP >> and Vista. I suspect they are receiving it and not accepting it for >> some reason. However, I don't really see anything that would cause >> that behavior in the packets. I can't reproduce the problem here. >> Every computer I can try works just fine. >> >> Here is one of the packet traces: >> >> 11:59:00.630414 00:00:0c:38:6f:e1 (oui Cisco) > 00:a0:cc:3e:87:9e (oui >> Unknown), ethertype IPv4 (0x0800), length 66: >> cpe-76-169-78-119.socal.res.rr.com.59025 > zool.lafn.org.8000: S >> 2779920420:2779920420(0) win 8192 >> >> 11:59:00.630634 00:a0:cc:3e:87:9e (oui Unknown) > 00:00:0c:38:6f:e1 >> (oui Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000 > >> cpe-76-169-78-119.socal.res.rr.com.59025: S >> 2480373222:2480373222(0) ack 2779920421 win 65535 > 3,sackOK,eol> >> >> 11:59:03.613011 00:00:0c:38:6f:e1 (oui Cisco) > 00:a0:cc:3e:87:9e (oui >> Unknown), ethertype IPv4 (0x0800), length 66: >> cpe-76-169-78-119.socal.res.rr.com.59025 > zool.lafn.org.8000: S >> 2779920420:2779920420(0) win 8192 >> >> 11:59:03.613194 00:a0:cc:3e:87:9e (oui Unknown) > 00:00:0c:38:6f:e1 >> (oui Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000 > >> cpe-76-169-78-119.socal.res.rr.com.59025: S 2480373222:2480373222(0) >> ack 2779920421 win 65535 >> > > Checking with the 6.2 server I see there are some differences in the TCP > options. 7.0 includes wscale 3 where 6.2 does not. Is there a way to > disable that feature using sysctl to see if thats the issue? sysctl net.inet.tcp.rfc1323=0 This may disable more than you want, but maybe it's worth a try. http://www.ietf.org/rfc/rfc1323.txt -- Erik From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 11:57:07 2008 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 5DD071065670 for ; Tue, 1 Apr 2008 11:57:07 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 169C58FC14 for ; Tue, 1 Apr 2008 11:57:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 9F4F146C04 for ; Tue, 1 Apr 2008 07:57:06 -0400 (EDT) Date: Tue, 1 Apr 2008 12:57:06 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: stable@FreeBSD.org Message-ID: <20080401125534.D94491@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Q&A on textdumps (fwd) 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, 01 Apr 2008 11:57:07 -0000 Dear all, I've now completed the MFC of basic textdump support to 7.0. Once I've had a chance to ping Brooks about it, either he or I will MFC support for ddb.conf, which allows configuring textdump and debugging scripts automatically at boot. I've attached a Q&A post I made to current@ after committing textdump support to HEAD, and you can also consult textdump(4) and ddb(4) for more information. Thanks, Robert N M Watson Computer Laboratory University of Cambridge ---------- Forwarded message ---------- Date: Sun, 30 Dec 2007 13:11:29 +0000 (GMT) From: Robert Watson To: current@freeBSD.org Subject: Q&A on textdumps Dear all, I've received a few textdump-related questions that I thought I'd share my answers to. (1) What information is in a textdump? The textdump is stored as a tarfile with several subfiles in it: config.txt - Kernel configuration, if compiled into kernel ddb.txt - Captured DDB output, if present msgbuf.txt - Kernel message buffer panic.txt - Kernel panic message, if there was a panic version.txt - Kernel version string It is easy to add new files to textdumps, so if there's some easily extractable kernel state that you feel should go in there, drop me an e-mail and/or send a patch. (2) Is there any information in a textdump that can't be acquired using kgdb and other available dump analysis tools? In principle no, as normal dumps include all kernel memory, and textdumps operate by inspecting kernel memory using DDB, capturing only small but presumably relevant parts. However, there are some important differences in approach that mean that textdumps can be used in ways that regular dumps can't easily be: - DDB textdumps are very small. Including a full debugging session, kernel message buffer, and kernel configuration, my textdumps are frequently around 100k uncompressed. This makes it possible to use them on very small machines, store them for an extended period, e-mail them around, etc, in a way that you can't currently do with kernel memory dumps. This improved usability will (hopefully) improve our bug and crash management. - DDB is a specialized debugging tool with intimate knowledge of the kernel, and there are types of data trivially extracted with DDB that are awkward or quite difficult to extract using kgdb or other currently available dump analysis tools. Locking, waiting, and process information are examples of where automatic extraction is currently only possible with DDB, and one of the reasons many developers prefer to begin any diagnosis with an interactive DDB session. - DDB textdumps can be used without the exact source tree, kernel configuration, built kernel, and debug symbols, as they interpret rather than save the pages of memory. They're even an architecture-independent file format so you don't need a cross-debugger. Having that additional context is useful (ability to map symbol+offset to line of code), but you can actually go a remarkable way without it, especially looking at the results in a PR potentially years later. (3) What do I lose by using textdumps? To be clear, there are also some important things that textdumps can't do -- principally, a textdump doesn't contain all kernel memory, so your textdump output is all you have. If you need to extract detailed structure information for something DDB doesn't understand, or that you don't think of in advance or during a DDB session, then there's nothing to fall back on except configuring a textdump or regular dump and waiting for the panic to happen again. (4) When should I use textdumps? Minidumps remain the default in 7.x and 8.x, and full dumps remain the default in 6.x and earlier. Textdumps must be specifically enabled by the administrator to be used. DDB is an excellent live debugging tool whose use has been limited to situations where there is an accessible video console, or more ideally serial or firewire console to a second box, and generally requiring an experienced developer to be available to drive debugging. There are many problems that can be pretty much instantly understood with a couple of DDB commands, so these limitations impacted debugging effectiveness. The goal of adding DDB capture output, scripting, and textdumps was to broaden the range of situations in which DDB could be used: now it is usable more easily for post-mortem analysis, no console or second machine is required, and a developer can install, or even e-mail, a script of DDB commands to run automatically. Developers can simply define a few scripts to handle various DDB cases, such as panic, and get a nice debugging bundle to look at later. When I'm debugging network stack problems, I typically want a fairly small set of DDB commands to be run by the user, and the output sent back, and now it will go from "Read the chapter on kernel debugging, set up a serial console, run the following commands, copy and paste from your serial console -- oh, you don't have a serial console, perhaps hand-copy these fields or use a digital camera" to "run the following ddb(8) command and when the box reboots, send me the tarball in /var/crash". I anticipate that textdumps will see use when developers are exchanging e-mail with users reporting problems and trying to gather concise summaries of information about a crash with minimum downtime and maximum portability, in embedded environments where dumping kernel memory to flash is tricky, or in order to save a transcript of an interactive DDB session when testing new features locally. Another interesting advantage of textdumps is that it's easy to inspect them for confidential/identifying information and mask or purge it. When someone sends out a kernel memory dump, it potentially contains a lot of sensitive information, and most people (including me) would have difficulty making sure all sensitive information was purged safely. (5) I want to collect DDB output, but still need memory dumps -- can I do both? Yes and no. Yes, you can use the DDB output capture buffer and scripting without using a textdump, as the capture buffer is stored in kernel memory. You can print it using kgdb, and we should probably add that capability to ddb(8) also. End your script with "call doadump; reset" but don't "textdump set". For example: ddb script kdb.enter.panic="capture on;show pcpu;trace;ps;show locks;alltrace;show alllocks;show lockedvnods;call doadump;reset" No, because you must pick one of the three dump layouts (dump, minidump, textdump) to write to the swap partition -- you can't write out all three and then decide which to extract later. In principle this could be changed so that we actually write out a textdump section and a full/minidump, but that's not implemented. (6) I have a serial console so don't need textudmps, can I still use DDB scripting to manage a crash? Yes. You can set up scripts in exactly the same way as with textdumps, only omit the textdump bits and end with a "reset" to reboot the system when done. That way you can extract the results from the serial console log. I.e., ddb script kdb.enter.panic="show pcpu;trace;show locks;ps;alltrace;show alllocks;show lockedvnods;reset" (7) I'm in DDB and I suddenly realize I want to save the output, and I haven't configured textdumps. What do I do? As with normal dumps, you must previously have configured support for a dump partition. These days, that is done automatically whenever you have swap configured on the box, so unless you're in single-user mode or don't have swap configured, you should be able to do the following: Schedule a textdump using the "textdump set" command. Turn on DDB output capture using "capture on", run your commands of interest, and turn it off using "capture off". Type "call doadump" to dump memory, and "reset" to reboot. (8) The buffer is small, can I pick and choose what DDB output is captured? The capture buffer does have a size limit, so you might find you want to explore interactively at first to figure out what information to save. Then you can turn it on and off around output to capture with "capture on" and "capture off". Each time you turn capture back on, new output is appended after any existing output. If you decide you want to clear the buffer, you can use "capture reset" to do that, and you can check the status of the buffer using "capture status". You can also increase the buffer size by setting the debug.ddb.capture.bufsize sysctl to a larger size. The sysctl will automatically round up to the next textdump blocksize. (9) Can I continue the kernel after doing a textdump? No. As with kernel memory dumps, textdumps invoke the storage controller dumper routine, which may hose up state in the device driver preventing its use after the dump is generated. However, if you do plan to continue from DDB, just use DDB output capture without a textdump. You can then extract the contents of the DDB buffer using the debug.ddb.capture.data sysctl. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 13:11:57 2008 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 850E61065671 for ; Tue, 1 Apr 2008 13:11:57 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from mux1.uit.no (mux1.uit.no [129.242.4.252]) by mx1.freebsd.org (Postfix) with ESMTP id 05CD98FC19 for ; Tue, 1 Apr 2008 13:11:56 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from flode.cc.uit.no (flode.cc.uit.no [129.242.6.250]) by mux1.uit.no (8.13.8/8.13.6/Mux) with ESMTP id m31CvHjD047750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 1 Apr 2008 14:57:18 +0200 (CEST) Received: from barnetv.cc.uit.no (barnetv.cc.uit.no [129.242.6.226]) by flode.cc.uit.no (8.13.3/8.13.3) with ESMTP id m31CvTMi020246 for ; Tue, 1 Apr 2008 14:57:29 +0200 (CEST) (envelope-from ingeborg@cc.uit.no) Received: from barnetv.cc.uit.no (localhost.cc.uit.no [127.0.0.1]) by barnetv.cc.uit.no (8.14.2/8.14.2) with ESMTP id m31CvHBr098327 for ; Tue, 1 Apr 2008 14:57:17 +0200 (CEST) (envelope-from ingeborg@barnetv.cc.uit.no) Message-Id: <200804011257.m31CvHBr098327@barnetv.cc.uit.no> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Tue, 01 Apr 2008 14:57:17 +0200 From: Ingeborg Hellemo X-Virus-Scanned: : ok X-Scanned-By: MIMEDefang 2.63 on 129.242.4.252 Subject: /var with capacity -1% 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, 01 Apr 2008 13:11:57 -0000 ProLiant DL380 G5, freshly installed FreeBSD 7.0-RELEASE amd64. I have done similar installations on 2 other servers, and suddenly: ~/#df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 1012974 385846 546092 41% / devfs 1 1 0 100% /dev /dev/da0s1e 507630 12 467008 0% /tmp /dev/da0s1f 58730650 1302436 52729762 2% /usr /dev/da0s1d 5077038 -33660 4704536 -1% /var ~/#du -sk /var 3188 /var I have not done anything with neither newfs nor tunefs. ~/#tunefs -p tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: gjournal: (-J) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L)Fra /var/run/dmesg.boot: >From /var/run/dmesg.boot: da0 at ciss0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 135.168MB/s transfers da0: 69973MB (143305920 512 byte sectors: 255H 32S/T 17562C) There were no complaints during slicing og installing. Any ideas? --Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg@cc.uit.no (Univ. of Tromsø, Norway) From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 13:17:52 2008 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 A5EB4106564A for ; Tue, 1 Apr 2008 13:17:52 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 978298FC25 for ; Tue, 1 Apr 2008 13:17:52 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 6BDD31CC03E; Tue, 1 Apr 2008 06:17:52 -0700 (PDT) Date: Tue, 1 Apr 2008 06:17:52 -0700 From: Jeremy Chadwick To: Ingeborg Hellemo Message-ID: <20080401131752.GA3674@eos.sc1.parodius.com> References: <200804011257.m31CvHBr098327@barnetv.cc.uit.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804011257.m31CvHBr098327@barnetv.cc.uit.no> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 01 Apr 2008 13:17:52 -0000 On Tue, Apr 01, 2008 at 02:57:17PM +0200, Ingeborg Hellemo wrote: > ProLiant DL380 G5, freshly installed FreeBSD 7.0-RELEASE amd64. I have done > similar installations on 2 other servers, and suddenly: > > ~/#df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/da0s1a 1012974 385846 546092 41% / > devfs 1 1 0 100% /dev > /dev/da0s1e 507630 12 467008 0% /tmp > /dev/da0s1f 58730650 1302436 52729762 2% /usr > /dev/da0s1d 5077038 -33660 4704536 -1% /var > > > ~/#du -sk /var > 3188 /var > > I have not done anything with neither newfs nor tunefs. > > ~/#tunefs -p > tunefs: ACLs: (-a) disabled > tunefs: MAC multilabel: (-l) disabled > tunefs: soft updates: (-n) enabled > tunefs: gjournal: (-J) disabled > tunefs: maximum blocks per file in a cylinder group: (-e) 2048 > tunefs: average file size: (-f) 16384 > tunefs: average number of files in a directory: (-s) 64 > tunefs: minimum percentage of free space: (-m) 8% > tunefs: optimization preference: (-o) time > tunefs: volume label: (-L)Fra /var/run/dmesg.boot: > > >From /var/run/dmesg.boot: > > da0 at ciss0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 135.168MB/s transfers > da0: 69973MB (143305920 512 byte sectors: 255H 32S/T 17562C) > > > There were no complaints during slicing og installing. > > > Any ideas? 1) Softupdates can cause this. Run "sync" a few times, then wait 30 seconds or so; does it go away? 2) Files which are open (have active file descriptors associated with them) on /var before it filled may be causing this. fstat may help you here. -- | Jeremy Chadwick jdc at 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 Tue Apr 1 15:41:12 2008 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 C1E5F1065675 for ; Tue, 1 Apr 2008 15:41:12 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from gw.sandvine.com (gw.sandvine.com [199.243.201.138]) by mx1.freebsd.org (Postfix) with ESMTP id 40AB68FC1D for ; Tue, 1 Apr 2008 15:41:12 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by gw.sandvine.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Apr 2008 11:40:09 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id 8E94A115FF; Tue, 1 Apr 2008 11:40:09 -0400 (EDT) Date: Tue, 1 Apr 2008 11:40:09 -0400 From: Ed Maste To: Mike Andrews Message-ID: <20080401154009.GA56872@sandvine.com> References: <20080102034228.M16861@mindcrime.int.bit0.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080102034228.M16861@mindcrime.int.bit0.com> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 01 Apr 2008 15:40:09.0775 (UTC) FILETIME=[AAE693F0:01C8940E] Cc: freebsd-stable@freebsd.org Subject: Re: aac tool regressions on 7.0-RC1 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, 01 Apr 2008 15:41:12 -0000 On Wed, Jan 02, 2008 at 03:54:50AM -0500, Mike Andrews wrote: > On RELENG_7 dated 2007-12-15 (BETA4), aaccli fails with the following > error; arcconf continues to work fine: > > Command Error: current AFAAPI.DLL.> I suspect Adaptec has a firmware bug relating to the RequestAdapterInfo and RequestSupplementAdapterInfo commands. The driver family support brought in the latter, while the former has always been there. It appears that RequestAdapterInfo returns all zeros if it's called after RequestSupplementAdapterInfo or something. The hack patch below forces reasonable values into the aac_revision struct if it's zeroed, and it restores aaccli usage for me. If you have time I'd be interested in finding out if you can continue using aaccli with this patch added. -Ed Index: aac.c =================================================================== RCS file: /usr/cvs/src/sys/dev/aac/aac.c,v retrieving revision 1.109.2.15 diff -p -u -r1.109.2.15 aac.c --- aac.c 31 Mar 2008 20:03:31 -0000 1.109.2.15 +++ aac.c 1 Apr 2008 15:17:18 -0000 @@ -2792,6 +2792,13 @@ aac_describe_controller(struct aac_softc /* save the kernel revision structure for later use */ info = (struct aac_adapter_info *)&fib->data[0]; sc->aac_revision = info->KernelRevision; + if (sc->aac_revision.buildNumber == 0) { + device_printf(sc->aac_dev, "aac_revision hack\n"); + sc->aac_revision.external.comp.major = 5; + sc->aac_revision.external.comp.minor = 2; + sc->aac_revision.external.comp.dash = 0; + sc->aac_revision.buildNumber = 12814; + } if (bootverbose) { From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 17:04:32 2008 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 360CF1065671 for ; Tue, 1 Apr 2008 17:04:32 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from rm-rstar.sfu.ca (spamdamme.sfu.ca [142.58.101.10]) by mx1.freebsd.org (Postfix) with ESMTP id 0B37E8FC24 for ; Tue, 1 Apr 2008 17:04:32 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from hexahedron.daemonology.net (fraser.sfu.ca [142.58.101.25]) by rm-rstar.sfu.ca (8.13.6/8.13.4/SFU-5.0H) with SMTP id m31GlnUX028261 for ; Tue, 1 Apr 2008 09:47:50 -0700 (PDT) X-Spam-Level: Spam-Level Received: (qmail 96583 invoked from network); 1 Apr 2008 16:47:07 -0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2008 16:47:07 -0000 Message-ID: <47F2670A.4000400@freebsd.org> Date: Tue, 01 Apr 2008 12:47:06 -0400 From: FreeBSD Security Officer Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071117) MIME-Version: 1.0 To: freebsd security , FreeBSD Stable X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: HEADS UP: FreeBSD 5.5, 6.1, and 6.2 EoLs coming soon X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: security-officer@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 17:04:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Everyone, On May 31st, FreeBSD 5.5, FreeBSD 6.1, and FreeBSD 6.2 will have reached their End of Life and will no longer be supported by the FreeBSD Security Team. Since FreeBSD 5.5 is the last remaining supported release from the FreeBSD 5.x stable branch, support for the FreeBSD 5.x stable branch will also cease at the same point. Users of any of these FreeBSD releases are strongly encouraged to upgrade to either FreeBSD 6.3 or FreeBSD 7.0 before that date. Please note that the End of Life dates for FreeBSD 5.5 and FreeBSD 6.1 were announced in May 2006; and the End of Life for FreeBSD 6.2, which was originally announced as January 31, 2008, has been extended by four months in order to allow time for users to upgrade. The FreeBSD Ports Management Team wishes to inform users that May 31st (the security team's End-Of-Support date for FreeBSD 5.x) will also be the end of support for the Ports Collection on both 5.5-RELEASE and the 5-STABLE branch. Neither the infrastructure nor individual ports are guaranteed to work on these FreeBSD versions after that date. A CVS tag will be created for users who cannot upgrade for some reason; as of that commit, these users are advised to stop tracking the latest ports CVS repository and instead stay with the version as of that tag. The current supported branches and expected EoL dates are: +---------------------------------------------------------------------+ | Branch | Release | Type | Release date | Estimated EoL | |-----------+------------+--------+-----------------+-----------------| |RELENG_5 |n/a |n/a |n/a |May 31, 2008 | |-----------+------------+--------+-----------------+-----------------| |RELENG_5_5 |5.5-RELEASE |Extended|May 25, 2006 |May 31, 2008 | |-----------+------------+--------+-----------------+-----------------| |RELENG_6 |n/a |n/a |n/a |last release + 2y| |-----------+------------+--------+-----------------+-----------------| |RELENG_6_1 |6.1-RELEASE |Extended|May 9, 2006 |May 31, 2008 | |---------------------------------------------------------------------| |RELENG_6_2 |6.2-RELEASE |Normal |January 15, 2007 |May 31, 2008 | |---------------------------------------------------------------------| |RELENG_6_3 |6.3-RELEASE |Extended|January 18, 2008 |January 31, 2010 | |---------------------------------------------------------------------| |RELENG_7 |n/a |n/a |n/a |last release + 2y| |-----------+------------+--------+-----------------+-----------------| |RELENG_7_0 |7.0-RELEASE |Normal |February 27, 2008|February 28, 2009| +---------------------------------------------------------------------+ Colin Percival FreeBSD Security Officer P.S. For clarity, this is NOT an April Fool's joke. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFH8mcKFdaIBMps37IRAjHXAJ9d8S7/4jP67tYi3Xei50lAaLKOdgCdEzk7 g/0WMldtV+8+zNySWP55/YQ= =osJi -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 17:59:08 2008 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 0B08A106567A; Tue, 1 Apr 2008 17:59:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id BD2278FC22; Tue, 1 Apr 2008 17:59:07 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m31Huo2r090534; Tue, 1 Apr 2008 11:56:50 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 01 Apr 2008 11:57:37 -0600 (MDT) Message-Id: <20080401.115737.-1350498397.imp@bsdimp.com> To: koitsu@freebsd.org From: "M. Warner Losh" In-Reply-To: <20080329.191710.1169638035.imp@bsdimp.com> References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <20080329.191710.1169638035.imp@bsdimp.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jhary@unsane.co.uk, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 01 Apr 2008 17:59:08 -0000 In message: <20080329.191710.1169638035.imp@bsdimp.com> "M. Warner Losh" writes: : In message: <20080329222049.GA80263@eos.sc1.parodius.com> : Jeremy Chadwick writes: : : On Sat, Mar 29, 2008 at 10:11:04PM +0000, Vince wrote: : : > Is it expected that removing a usb serial adapter while you have a : : > connection (eg tip) using it will panic a -stable system? I know it is : : > expected if you remove a mounted umass device so wanted to see if its known : : > behavior for serial before I file a pr. (adapter is converter, class 0/0, rev 1.10/4.00, addr 3>) : : > -stable version as of the 25th march, (may have existed before but the : : > first time I forgot to close tip before removing the device was on this : : > version.) : : : : I would expect that the problem is identical in the sense that with a : : connection established, you have an open file descriptor which is : : associated with a serial device that uses USB. : : : : So, yes, I would expect this behaviour based on the track record. : : Should it happen? The answer is no. File a PR? : : : : Also, I'd like to know what USB serial adapter you're using (brand, : : model, and a website of it if possible), for unrelated reasons. Thanks! : : That's odd, because I use an FTDI based serial device all the time for : hacking on embedded systems. The problem that I have is 100% CPU : usage on a tip process until I kill it. Actually, the reason for this is that I fixed a bug that gave me panics... During the review process, it was pointed out that others had better changes. These have been included in -current, but I don't think have been merged back to RELENG_7 yet. They aren't in 7.0. warner From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 20:07:55 2008 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 B2E921065677 for ; Tue, 1 Apr 2008 20:07:55 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33708.mail.mud.yahoo.com (web33708.mail.mud.yahoo.com [68.142.201.205]) by mx1.freebsd.org (Postfix) with SMTP id 6E4AF8FC1D for ; Tue, 1 Apr 2008 20:07:55 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 39946 invoked by uid 60001); 1 Apr 2008 20:07:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=mLCjf2swXazhdq4c0NZR8b2i6aIFy+U8O+d3NF5DsxjiEpV8qflJAxmCF8+1DTDqvUdW6mJIkmxJn6O1VE2/UbvntKfaCf5BMAD5298MCHGRTLk6ZqKq0QRFwvlXEhj2StesrFaNowiskaM6czxmtsTj19Ix0V50tDJPmeomEB0=; X-YMail-OSG: exEpNWwVM1m7n.VoZWyr8pPTrTXKB08.4PIc6g19GsiEA9U99L9Fu3ixF7AnUZcugG0cGQGZkUUuVmeQgFCuby.parb2gxU8UGLpWJEfHWeJiDTWy4U- Received: from [82.148.96.69] by web33708.mail.mud.yahoo.com via HTTP; Tue, 01 Apr 2008 13:07:54 PDT X-Mailer: YahooMailRC/902.40 YahooMailWebService/0.7.185 Date: Tue, 1 Apr 2008 13:07:54 -0700 (PDT) From: Abdullah Ibn Hamad Al-Marri To: FreeBSD STABLE MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <889919.39171.qm@web33708.mail.mud.yahoo.com> Subject: arp: unknown hardware address format (0x0000) ? 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, 01 Apr 2008 20:07:56 -0000 Hello, Did you see these weird msgs before? I didn't see any of them when I was using i386 and 6.x over 2 years. FreeBSD 7.0-STABLE #0: Fri Mar 21 18:08:29 UTC 2008 admin@BB.WeArab.Net:/usr/obj/usr/src/sys/BB Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff Features2=0x641d AMD Features=0x20100800 Logical CPUs per core: 2 usable memory = 2139373568 (2040 MB) avail memory = 2064822272 (1969 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7fde0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci2: on pcib2 em0: port 0x9000-0x901f mem 0xf9020000-0xf903ffff,0xf9000000-0xf901ffff irq 18 at device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d em0: [FILTER] pcib3: at device 28.0 on pci0 pci3: on pcib3 vgapci0: port 0xa000-0xa0ff mem 0xfa000000-0xfaffffff,0xfc000000-0xfc000fff irq 24 at device 2.0 on pci3 pci0: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.4 (no driver attached) pci0: at device 29.7 (no driver attached) pcib4: at device 30.0 on pci0 pci4: on pcib4 atapci0: port 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem 0xfd020000-0xfd020fff,0xfd000000-0xfd01ffff irq 23 at device 4.0 on pci4 atapci0: [ITHREAD] atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] orm0: at iomem 0xc0000-0xc7fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec ad0: 238475MB at ata0-master SATA150 ad4: 238475MB at ata2-master SATA150 ad6: 381554MB at ata3-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad0s1a em0: link state changed to UP pid 14686 (httpd), uid 80: exited on signal 4 arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) arp: unknown hardware address format (0x0000) --- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 20:15:31 2008 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 32C191065670 for ; Tue, 1 Apr 2008 20:15:31 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feba:6042]) by mx1.freebsd.org (Postfix) with ESMTP id A489E8FC1C for ; Tue, 1 Apr 2008 20:15:30 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m31KFIux000832; Tue, 1 Apr 2008 22:15:18 +0200 From: Pieter de Goeje To: freebsd-stable@freebsd.org Date: Tue, 1 Apr 2008 22:15:17 +0200 User-Agent: KMail/1.9.7 References: <889919.39171.qm@web33708.mail.mud.yahoo.com> In-Reply-To: <889919.39171.qm@web33708.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804012215.18154.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Abdullah Ibn Hamad Al-Marri Subject: Re: arp: unknown hardware address format (0x0000) ? 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, 01 Apr 2008 20:15:31 -0000 On Tuesday 01 April 2008, Abdullah Ibn Hamad Al-Marri wrote: > Hello, > > Did you see these weird msgs before? I didn't see any of them when I was > using i386 and 6.x over 2 years. > I see these all the time. I'm on a really large network, so I always assumed they originated from some misbehaving hosts. For all I know, these messages can be ignored. -- Pieter de Goeje From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 20:19:26 2008 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 0AA721065673 for ; Tue, 1 Apr 2008 20:19:26 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id D5F588FC1C for ; Tue, 1 Apr 2008 20:19:25 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so1486783rvb.43 for ; Tue, 01 Apr 2008 13:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=krrBpIfMl+CpBr3ijW8UcV8xviZNSGfKy4WUpJwePQs=; b=W0ZCddEwxdi531lM6rjZl8oS3WyFOoFGlh6wRyIVX2QJOS4jEDASVbrsaU3I8Zym01+K5muU6Er5oNIbFXH7WwAHFdWfx/uZNvgFbmVLTu5PwG3nI+Dmbw1EDxmWIkiMaw+FP94h2xDZkKzBvh12p5JYdpfGoQ52YM5wVUchqgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=J7proPj4A9GGDVJh1mUgFR4MkejsXlaVNCUXACw1JJqCFVboToKtzCoBUOBTPYiGy6FMAA7xvvnH0ih4C0DNt5UGPkDg3RC/oRijGW/WEo/BEwnM+Ev5ISoiJZiIaEGYkfC0E1lCh6MEr3Y+gg276ZCECiYE9FqlreVfpiRR5Vw= Received: by 10.140.251.1 with SMTP id y1mr4646835rvh.292.1207081165551; Tue, 01 Apr 2008 13:19:25 -0700 (PDT) Received: by 10.141.70.15 with HTTP; Tue, 1 Apr 2008 13:19:25 -0700 (PDT) Message-ID: Date: Wed, 2 Apr 2008 04:19:25 +0800 From: "Ken Chen" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NFS server on FreeBSD 6, client on FreeBSD 7 ? 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, 01 Apr 2008 20:19:26 -0000 Hi, The NFS server is running FreeBSD 6.0, and no problems with other NFS client with FreeBSD 6. When a new client with FreeBSD 7 comes, the NFS server always says: Apr 2 03:52:01 xxxx rpc.lockd: clntudp_create: RPC: Program not registered Apr 2 03:52:01 xxxx rpc.lockd: Unable to return result to 192.168.4.248 The 192.168.4.248's OS is FreeBSD 7, and it can successfully mount the directories on NFS server. It seems something wrong with rpc.lockd ? The 'rpc.lockd' seems totally different in FreeBSD 6 & 7. How should I fix this problem? Thanks! From owner-freebsd-stable@FreeBSD.ORG Tue Apr 1 20:27:30 2008 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 099F41065672 for ; Tue, 1 Apr 2008 20:27:30 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CF6978FC26; Tue, 1 Apr 2008 20:27:28 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47F29AB6.4070302@FreeBSD.org> Date: Tue, 01 Apr 2008 22:27:34 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Ken Chen References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: NFS server on FreeBSD 6, client on FreeBSD 7 ? 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, 01 Apr 2008 20:27:30 -0000 Ken Chen wrote: > Hi, > > The NFS server is running FreeBSD 6.0, and no problems with other NFS client > with FreeBSD 6. > > When a new client with FreeBSD 7 comes, the NFS server always says: > > Apr 2 03:52:01 xxxx rpc.lockd: clntudp_create: RPC: Program not registered > Apr 2 03:52:01 xxxx rpc.lockd: Unable to return result to 192.168.4.248 > > The 192.168.4.248's OS is FreeBSD 7, and it can successfully mount the > directories on NFS server. > > It seems something wrong with rpc.lockd ? The 'rpc.lockd' seems totally > different in FreeBSD 6 & 7. > > How should I fix this problem? Thanks! It should be the same code in 6 and 7, modulo small changes. Sounds like it's not running properly on your 6 system. Kris From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 02:15:19 2008 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 3BE671065670 for ; Wed, 2 Apr 2008 02:15:19 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id E4F468FC13 for ; Wed, 2 Apr 2008 02:15:18 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 21675 invoked from network); 1 Apr 2008 21:15:18 -0500 Received: from 124-170-72-124.dyn.iinet.net.au (HELO localhost) (124.170.72.124) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 1 Apr 2008 21:15:18 -0500 Date: Wed, 2 Apr 2008 13:15:11 +1100 From: Norberto Meijome To: freebsd-stable@freebsd.org Message-ID: <20080402131511.2940ef2e@meijome.net> In-Reply-To: <20080401125534.D94491@fledge.watson.org> References: <20080401125534.D94491@fledge.watson.org> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Q&A on textdumps (fwd) 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, 02 Apr 2008 02:15:19 -0000 On Tue, 1 Apr 2008 12:57:06 +0100 (BST) Robert Watson wrote: > (7) I'm in DDB and I suddenly realize I want to save the output, and I haven't > configured textdumps. What do I do? > > As with normal dumps, you must previously have configured support for a dump > partition. These days, that is done automatically whenever you have swap > configured on the box, so unless you're in single-user mode or don't have swap > configured, you should be able to do the following: First of all, thanks Robert - I am definitely not capable to debug kernel crash, but the fact there are tools out there to make things easier is definitely welcome ! :) What happens if one encrypts the swap with GELI? Is this the same case as "no swap defined" ? I've found back in 6.x that dumps wouldn't work properly (I cant remember whether it would dump the data into the current encrypted disk, or geli would kick in before savedump on reboot....) Since then I have a separate partition for the dumps defined in rc.conf and dumps work ok . thanks! B _________________________ {Beto|Norberto|Numard} Meijome "The greater danger for most of us is not that our aim is too high and we miss it. But that it is too low... and we reach it." Michelangelo (1475-1564) I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 06:03:11 2008 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 C85831065670 for ; Wed, 2 Apr 2008 06:03:11 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from mux1.uit.no (mux1.uit.no [129.242.4.252]) by mx1.freebsd.org (Postfix) with ESMTP id 480E08FC2B for ; Wed, 2 Apr 2008 06:03:10 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from flode.cc.uit.no (flode.cc.uit.no [129.242.6.250]) by mux1.uit.no (8.13.8/8.13.6/Mux) with ESMTP id m32639h4089400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2008 08:03:09 +0200 (CEST) Received: from barnetv.cc.uit.no (barnetv.cc.uit.no [129.242.6.226]) by flode.cc.uit.no (8.13.3/8.13.3) with ESMTP id m3263LgM062210; Wed, 2 Apr 2008 08:03:21 +0200 (CEST) (envelope-from ingeborg@cc.uit.no) Received: from barnetv.cc.uit.no (localhost.cc.uit.no [127.0.0.1]) by barnetv.cc.uit.no (8.14.2/8.14.2) with ESMTP id m32639Zw025893; Wed, 2 Apr 2008 08:03:09 +0200 (CEST) (envelope-from ingeborg@barnetv.cc.uit.no) Message-Id: <200804020603.m32639Zw025893@barnetv.cc.uit.no> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Jeremy Chadwick In-reply-to: Your message of "Tue, 01 Apr 2008 06:17:52 PDT." <20080401131752.GA3674@eos.sc1.parodius.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Wed, 02 Apr 2008 08:03:09 +0200 From: Ingeborg Hellemo X-Virus-Scanned: : ok X-Scanned-By: MIMEDefang 2.63 on 129.242.4.252 Cc: freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 06:03:11 -0000 koitsu@freebsd.org said: > 1) Softupdates can cause this. Run "sync" a few times, then wait 30 seconds > or so; does it go away? Tried. And booted several times. No luck koitsu@freebsd.org said: > 2) Files which are open (have active file descriptors associated with them) > on /var before it filled may be causing this. fstat may help you here. But /var is not full. It is _more_ than empty. After the system has been running a couple of days (more files in /var/log, /var/db/locate.database, etc.) I now have an almost empty /var: ~#du -sk /var 15378 /var ~#df /var Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1d 5077038 -21470 4692346 -0% /var I guess I could be happy for this extra diskspace, but I am afraid that something is not quite right... --Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg@cc.uit.no (Univ. of Tromsø, Norway) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 06:41:18 2008 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 AB6A91065673 for ; Wed, 2 Apr 2008 06:41:18 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [202.89.146.5]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDB38FC2D for ; Wed, 2 Apr 2008 06:41:18 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id DE3AF285F3; Wed, 2 Apr 2008 19:41:16 +1300 (NZDT) Date: Wed, 2 Apr 2008 19:41:16 +1300 From: Jonathan Chen To: Ingeborg Hellemo Message-ID: <20080402064116.GD26918@osiris.chen.org.nz> References: <20080401131752.GA3674@eos.sc1.parodius.com> <200804020603.m32639Zw025893@barnetv.cc.uit.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804020603.m32639Zw025893@barnetv.cc.uit.no> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 06:41:18 -0000 On Wed, Apr 02, 2008 at 08:03:09AM +0200, Ingeborg Hellemo wrote: > > koitsu@freebsd.org said: > > 1) Softupdates can cause this. Run "sync" a few times, then wait 30 seconds > > or so; does it go away? > > Tried. And booted several times. No luck > > > koitsu@freebsd.org said: > > 2) Files which are open (have active file descriptors associated with them) > > on /var before it filled may be causing this. fstat may help you here. > > But /var is not full. It is _more_ than empty. It is possible to have files that are open and held by processes on the filesystem that are no longer listed. If you kill the offending process the space will be freed up. -- Jonathan Chen ---------------------------------------------------------------------- "You can get farther with a kind word and a gun than you can with a kind word alone" - Al Capone From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 07:16:18 2008 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 EAF491065685 for ; Wed, 2 Apr 2008 07:16:18 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id DB7F28FC32 for ; Wed, 2 Apr 2008 07:16:18 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id A4E521CC060; Wed, 2 Apr 2008 00:16:18 -0700 (PDT) Date: Wed, 2 Apr 2008 00:16:18 -0700 From: Jeremy Chadwick To: Ingeborg Hellemo Message-ID: <20080402071618.GA38134@eos.sc1.parodius.com> References: <20080401131752.GA3674@eos.sc1.parodius.com> <200804020603.m32639Zw025893@barnetv.cc.uit.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804020603.m32639Zw025893@barnetv.cc.uit.no> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 07:16:19 -0000 On Wed, Apr 02, 2008 at 08:03:09AM +0200, Ingeborg Hellemo wrote: > koitsu@freebsd.org said: > > 2) Files which are open (have active file descriptors associated with them) > > on /var before it filled may be causing this. fstat may help you here. > > But /var is not full. It is _more_ than empty. I'm sorry, I wrote my mail in haste. Yes, you're correct, but what you're seeing is commonly the result of softupdates. I've seen it happen many MANY times, and it's easily reproducable. However, it goes away after a few minutes. If yours is that way constantly, I can't really explain what's going on. I'm just pointing out that negative disk space used is something I've seen many times, and it's always gone away on its own fairly quickly. What you have might be some corrupted filesystem, but someone more familiar with UFS/FFS will have to comment. Output from ffsinfo(8) on that filesystem may be useful. -- | Jeremy Chadwick jdc at 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 2 07:17:10 2008 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 ECED81065679 for ; Wed, 2 Apr 2008 07:17:10 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from mux2.uit.no (mux2.uit.no [129.242.5.252]) by mx1.freebsd.org (Postfix) with ESMTP id 6975D8FC23 for ; Wed, 2 Apr 2008 07:17:09 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from flode.cc.uit.no (flode.cc.uit.no [129.242.6.250]) by mux2.uit.no (8.13.8/8.13.6/Mux) with ESMTP id m327H3Ap053335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2008 09:17:03 +0200 (CEST) Received: from barnetv.cc.uit.no (barnetv.cc.uit.no [129.242.6.226]) by flode.cc.uit.no (8.13.3/8.13.3) with ESMTP id m327HFDB065233; Wed, 2 Apr 2008 09:17:15 +0200 (CEST) (envelope-from ingeborg@cc.uit.no) Received: from barnetv.cc.uit.no (localhost.cc.uit.no [127.0.0.1]) by barnetv.cc.uit.no (8.14.2/8.14.2) with ESMTP id m327H3qm028023; Wed, 2 Apr 2008 09:17:03 +0200 (CEST) (envelope-from ingeborg@barnetv.cc.uit.no) Message-Id: <200804020717.m327H3qm028023@barnetv.cc.uit.no> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Eugene Grosbein In-reply-to: Your message of "Wed, 02 Apr 2008 15:03:24 +0800." <20080402070324.GA7768@svzserv.kemerovo.su> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Wed, 02 Apr 2008 09:17:03 +0200 From: Ingeborg Hellemo X-Virus-Scanned: : ok X-Scanned-By: MIMEDefang 2.63 on 129.242.5.252 Cc: freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 07:17:11 -0000 eugen@kuzbass.ru said: > > It is possible to have files that are open and held by processes on > > the filesystem that are no longer listed. If you kill the offending L > process the space will be freed up. > > "lsof +aL1 " shows unlinked open files on the specified file > system (quoting its man page). If you read my first mail you will see that this is not a case of overfull /var (101% used) and a need to free space. Something is wrong with either the filesystem or df(1) since it claims that I am using a negative amount of disk-blocks. There are no unlinked open files on /var, and I fail to understand how they could have explained the output of df(1) --Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg@cc.uit.no (Univ. of Tromsø, Norway) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 07:36:29 2008 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 5B2FC1065670; Wed, 2 Apr 2008 07:36:29 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from mux1.uit.no (mux1.uit.no [129.242.4.252]) by mx1.freebsd.org (Postfix) with ESMTP id CD4E38FC34; Wed, 2 Apr 2008 07:36:28 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from flode.cc.uit.no (flode.cc.uit.no [129.242.6.250]) by mux1.uit.no (8.13.8/8.13.6/Mux) with ESMTP id m327aRjp006973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2008 09:36:27 +0200 (CEST) Received: from barnetv.cc.uit.no (barnetv.cc.uit.no [129.242.6.226]) by flode.cc.uit.no (8.13.3/8.13.3) with ESMTP id m327adGr066001; Wed, 2 Apr 2008 09:36:39 +0200 (CEST) (envelope-from ingeborg@cc.uit.no) Received: from barnetv.cc.uit.no (localhost.cc.uit.no [127.0.0.1]) by barnetv.cc.uit.no (8.14.2/8.14.2) with ESMTP id m327aRKa028449; Wed, 2 Apr 2008 09:36:27 +0200 (CEST) (envelope-from ingeborg@barnetv.cc.uit.no) Message-Id: <200804020736.m327aRKa028449@barnetv.cc.uit.no> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Jeremy Chadwick In-reply-to: Your message of "Wed, 02 Apr 2008 00:16:18 PDT." <20080402071618.GA38134@eos.sc1.parodius.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Wed, 02 Apr 2008 09:36:27 +0200 From: Ingeborg Hellemo X-Virus-Scanned: : ok X-Scanned-By: MIMEDefang 2.63 on 129.242.4.252 Cc: freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 07:36:29 -0000 koitsu@freebsd.org said: > What you have might be some corrupted filesystem, but someone more familiar > with UFS/FFS will have to comment. Output from ffsinfo(8) on that filesystem > may be useful. Any wishes for the '-l ' flag? The default gives me a 400Mb file. --Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg@cc.uit.no (Univ. of Tromsø, Norway) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 07:38:32 2008 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 20B25106564A for ; Wed, 2 Apr 2008 07:38:32 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id 73D048FC29 for ; Wed, 2 Apr 2008 07:38:30 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id m3273OfI008313; Wed, 2 Apr 2008 15:03:24 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id m3273O5S008312; Wed, 2 Apr 2008 15:03:24 +0800 (KRAST) (envelope-from eugen) Date: Wed, 2 Apr 2008 15:03:24 +0800 From: Eugene Grosbein To: Jonathan Chen Message-ID: <20080402070324.GA7768@svzserv.kemerovo.su> References: <20080401131752.GA3674@eos.sc1.parodius.com> <200804020603.m32639Zw025893@barnetv.cc.uit.no> <20080402064116.GD26918@osiris.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080402064116.GD26918@osiris.chen.org.nz> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 07:38:32 -0000 On Wed, Apr 02, 2008 at 07:41:16PM +1300, Jonathan Chen wrote: > > > 2) Files which are open (have active file descriptors associated with them) > > > on /var before it filled may be causing this. fstat may help you here. > > But /var is not full. It is _more_ than empty. > > It is possible to have files that are open and held by processes on > the filesystem that are no longer listed. If you kill the offending > process the space will be freed up. "lsof +aL1 " shows unlinked open files on the specified file system (quoting its man page). Eugene Grosbein From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 07:41:50 2008 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 450A31065670 for ; Wed, 2 Apr 2008 07:41:50 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0034D8FC30 for ; Wed, 2 Apr 2008 07:41:49 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JgxbM-0003Aa-2E for freebsd-stable@freebsd.org; Wed, 02 Apr 2008 07:41:44 +0000 Received: from cairn.ints.net ([194.44.58.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Apr 2008 07:41:44 +0000 Received: from c.kworr by cairn.ints.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Apr 2008 07:41:44 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Volodymyr Kostyrko Date: Wed, 02 Apr 2008 10:41:32 +0300 Lines: 10 Message-ID: References: <200804011257.m31CvHBr098327@barnetv.cc.uit.no> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cairn.ints.net User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.8.1.13) Gecko/20080331 SeaMonkey/1.1.9 In-Reply-To: <200804011257.m31CvHBr098327@barnetv.cc.uit.no> Sender: news Subject: Re: /var with capacity -1% 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, 02 Apr 2008 07:41:50 -0000 Ingeborg Hellemo wrote: > ProLiant DL380 G5, freshly installed FreeBSD 7.0-RELEASE amd64. I have done > similar installations on 2 other servers, and suddenly: > Any ideas? fsck -B /var -- Sphinx of black quartz judge my vow. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 07:54:22 2008 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 4E6861065672 for ; Wed, 2 Apr 2008 07:54:22 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3DCBE8FC16 for ; Wed, 2 Apr 2008 07:54:22 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 04F951CC060; Wed, 2 Apr 2008 00:54:22 -0700 (PDT) Date: Wed, 2 Apr 2008 00:54:22 -0700 From: Jeremy Chadwick To: Ingeborg Hellemo Message-ID: <20080402075421.GA40172@eos.sc1.parodius.com> References: <20080402070324.GA7768@svzserv.kemerovo.su> <200804020717.m327H3qm028023@barnetv.cc.uit.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804020717.m327H3qm028023@barnetv.cc.uit.no> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, Eugene Grosbein Subject: Re: /var with capacity -1% 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, 02 Apr 2008 07:54:22 -0000 On Wed, Apr 02, 2008 at 09:17:03AM +0200, Ingeborg Hellemo wrote: > > eugen@kuzbass.ru said: > > > It is possible to have files that are open and held by processes on > > > the filesystem that are no longer listed. If you kill the offending > L > process the space will be freed up. > > > > "lsof +aL1 " shows unlinked open files on the specified file > > system (quoting its man page). > > > If you read my first mail you will see that this is not a case of overfull > /var (101% used) and a need to free space. Something is wrong with either the > filesystem or df(1) since it claims that I am using a negative amount of > disk-blocks. > > There are no unlinked open files on /var, and I fail to understand how they > could have explained the output of df(1) Did you perform the lsof or fstat commands recommended? We understand you fail to understand how open fds to files which were removed could cause what you're seeing -- you'll have to trust us. Can you do that? -- | Jeremy Chadwick jdc at 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 2 08:12:04 2008 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 442F1106566B for ; Wed, 2 Apr 2008 08:12:04 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id 073048FC29 for ; Wed, 2 Apr 2008 08:12:03 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from [172.16.129.140] (fw.axelero.hu [195.228.243.120]) by people.fsn.hu (Postfix) with ESMTP id B8B55B03AE; Wed, 2 Apr 2008 10:11:59 +0200 (CEST) Message-ID: <47F33FCC.8040509@fsn.hu> Date: Wed, 02 Apr 2008 10:11:56 +0200 From: Attila Nagy User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Vince References: <47ECF7F3.2010301@fsn.hu> <47ED7861.3020507@unsane.co.uk> In-Reply-To: <47ED7861.3020507@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Mounting devfs over to ZFS from fstab fails 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, 02 Apr 2008 08:12:04 -0000 On 2008.03.28. 23:59, Vince wrote: > Attila Nagy wrote: >> Hello, >> >> I have some jails running on ZFS, so I have to mount devfs's into them. >> >> For this purpose, I have some similar lines in /etc/fstab: >> devfs /pool/jail/ldap/dev devfs rw 0 0 >> >> Where /pool is a ZFS filesystem. >> > I'm not sure if it will have any adverse effects but changing this to > devfs /pool/jail/ldap/dev devfs rw,late 0 0 > > Will probably fix it. My guess is that the error checking correction > in the latest version in -stable picked up an error that was being > incorrectly ignored before. > see > http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/mountcritlocal.diff?only_with_tag=RELENG_7&r1=text&tr1=1.14.2.2&r2=text&tr2=1.14 > > which i believe is the MFC for > http://www.freebsd.org/cgi/getmsg.cgi?fetch=1314016+1316331+/usr/local/www/db/text/2008/cvs-all/20080309.cvs-all > > > Although I cant seen a commit message in cvsweb (i'm still learning > that though :) Yes, late works around the problem, thanks. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 08:12:33 2008 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 0E17A1065676 for ; Wed, 2 Apr 2008 08:12:33 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from mux2.uit.no (mux2.uit.no [129.242.5.252]) by mx1.freebsd.org (Postfix) with ESMTP id 7EC768FC31 for ; Wed, 2 Apr 2008 08:12:32 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from flode.cc.uit.no (flode.cc.uit.no [129.242.6.250]) by mux2.uit.no (8.13.8/8.13.6/Mux) with ESMTP id m328CVGn069879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2008 10:12:31 +0200 (CEST) Received: from barnetv.cc.uit.no (barnetv.cc.uit.no [129.242.6.226]) by flode.cc.uit.no (8.13.3/8.13.3) with ESMTP id m328Ch3s067512; Wed, 2 Apr 2008 10:12:43 +0200 (CEST) (envelope-from ingeborg@cc.uit.no) Received: from barnetv.cc.uit.no (localhost.cc.uit.no [127.0.0.1]) by barnetv.cc.uit.no (8.14.2/8.14.2) with ESMTP id m328CUeh029574; Wed, 2 Apr 2008 10:12:31 +0200 (CEST) (envelope-from ingeborg@barnetv.cc.uit.no) Message-Id: <200804020812.m328CUeh029574@barnetv.cc.uit.no> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Volodymyr Kostyrko In-reply-to: Your message of "Wed, 02 Apr 2008 10:41:32 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Wed, 02 Apr 2008 10:12:30 +0200 From: Ingeborg Hellemo X-Virus-Scanned: : ok X-Scanned-By: MIMEDefang 2.63 on 129.242.5.252 Cc: freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 08:12:33 -0000 c.kworr@gmail.com said: > > Ingeborg Hellemo wrote: > > ProLiant DL380 G5, freshly installed FreeBSD 7.0-RELEASE amd64. I have done > > similar installations on 2 other servers, and suddenly: > > Any ideas? > > fsck -B /var Good idea! ~/#fsck /dev/da0s1d ** /dev/da0s1d (NO WRITE) ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? no 275 files, 7699 used, 2549244 free (596 frags, 318581 blocks, 0.0% fragmentation) After reboot to single mode and fsck -y we are back to a more normal state: ~/>df /var Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1d 5077038 14448 4656428 0% /var Thank you! But shouldn't I have been notified of this error during previous reboots? --Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg@cc.uit.no (Univ. of Tromsø, Norway) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 08:13:34 2008 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 5595F1065678 for ; Wed, 2 Apr 2008 08:13:34 +0000 (UTC) (envelope-from peter@wemm.org) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id E42308FC2C for ; Wed, 2 Apr 2008 08:13:33 +0000 (UTC) (envelope-from peter@wemm.org) Received: by fg-out-1718.google.com with SMTP id 16so2578440fgg.35 for ; Wed, 02 Apr 2008 01:13:32 -0700 (PDT) Received: by 10.82.171.16 with SMTP id t16mr23025519bue.25.1207124012455; Wed, 02 Apr 2008 01:13:32 -0700 (PDT) Received: by 10.82.162.11 with HTTP; Wed, 2 Apr 2008 01:13:32 -0700 (PDT) Message-ID: Date: Wed, 2 Apr 2008 01:13:32 -0700 From: "Peter Wemm" To: "Jeremy Chadwick" In-Reply-To: <20080402075421.GA40172@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080402070324.GA7768@svzserv.kemerovo.su> <200804020717.m327H3qm028023@barnetv.cc.uit.no> <20080402075421.GA40172@eos.sc1.parodius.com> Cc: Eugene Grosbein , freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 08:13:34 -0000 On Wed, Apr 2, 2008 at 12:54 AM, Jeremy Chadwick wrote: > On Wed, Apr 02, 2008 at 09:17:03AM +0200, Ingeborg Hellemo wrote: > > > > eugen@kuzbass.ru said: > > > > It is possible to have files that are open and held by processes on > > > > the filesystem that are no longer listed. If you kill the offending > > L > process the space will be freed up. > > > > > > "lsof +aL1 " shows unlinked open files on the specified file > > > system (quoting its man page). > > > > > > If you read my first mail you will see that this is not a case of overfull > > /var (101% used) and a need to free space. Something is wrong with either the > > filesystem or df(1) since it claims that I am using a negative amount of > > disk-blocks. > > > > There are no unlinked open files on /var, and I fail to understand how they > > could have explained the output of df(1) > > Did you perform the lsof or fstat commands recommended? We understand > you fail to understand how open fds to files which were removed could > cause what you're seeing -- you'll have to trust us. Can you do that? Was the file system on a machine that was upgraded from 4.x by any chance? There were some header changes a while ago that could cause pervasive accounting problems. A fsck fixes that one. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell **WANTED TO BUY: Garmin Streetpilot 2650 or 2660. Not later model! ** From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 08:17:17 2008 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 E669D1065681 for ; Wed, 2 Apr 2008 08:17:17 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id D5EF78FC31 for ; Wed, 2 Apr 2008 08:17:17 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 9C6451CC060; Wed, 2 Apr 2008 01:17:17 -0700 (PDT) Date: Wed, 2 Apr 2008 01:17:17 -0700 From: Jeremy Chadwick To: Ingeborg Hellemo Message-ID: <20080402081717.GA40810@eos.sc1.parodius.com> References: <200804020812.m328CUeh029574@barnetv.cc.uit.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804020812.m328CUeh029574@barnetv.cc.uit.no> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Volodymyr Kostyrko , freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 08:17:18 -0000 On Wed, Apr 02, 2008 at 10:12:30AM +0200, Ingeborg Hellemo wrote: > ~/#fsck /dev/da0s1d > ** /dev/da0s1d (NO WRITE) > ** Last Mounted on /var > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > FREE BLK COUNT(S) WRONG IN SUPERBLK > SALVAGE? no > > 275 files, 7699 used, 2549244 free (596 frags, 318581 blocks, 0.0% > fragmentation) > > After reboot to single mode and fsck -y we are back to a more normal state: > > ~/>df /var > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/da0s1d 5077038 14448 4656428 0% /var > > But shouldn't I have been notified of this error during previous reboots? Did you have any recent crashes, panics, or anything that could (even remotely) cause filesystem inconsistencies? If not, then the best explanation is then bit rot, or bad hardware causing corruption of data. Jeff Bonwick wrote a blog entry about this kind of problem: http://blogs.sun.com/bonwick/entry/zfs_end_to_end_data I suppose there could be a bug in FFS, but I would expect a significantly larger number of users to be reporting this... -- | Jeremy Chadwick jdc at 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 2 08:25:50 2008 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 4DB0A106566C; Wed, 2 Apr 2008 08:25:50 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from mux2.uit.no (mux2.uit.no [129.242.5.252]) by mx1.freebsd.org (Postfix) with ESMTP id BD2DB8FC37; Wed, 2 Apr 2008 08:25:49 +0000 (UTC) (envelope-from Ingeborg.Hellemo@cc.uit.no) Received: from flode.cc.uit.no (flode.cc.uit.no [129.242.6.250]) by mux2.uit.no (8.13.8/8.13.6/Mux) with ESMTP id m328PmR9073687 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2008 10:25:48 +0200 (CEST) Received: from barnetv.cc.uit.no (barnetv.cc.uit.no [129.242.6.226]) by flode.cc.uit.no (8.13.3/8.13.3) with ESMTP id m328Q0rq068094; Wed, 2 Apr 2008 10:26:00 +0200 (CEST) (envelope-from ingeborg@cc.uit.no) Received: from barnetv.cc.uit.no (localhost.cc.uit.no [127.0.0.1]) by barnetv.cc.uit.no (8.14.2/8.14.2) with ESMTP id m328Pmfg029939; Wed, 2 Apr 2008 10:25:48 +0200 (CEST) (envelope-from ingeborg@barnetv.cc.uit.no) Message-Id: <200804020825.m328Pmfg029939@barnetv.cc.uit.no> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Jeremy Chadwick In-reply-to: Your message of "Wed, 02 Apr 2008 01:17:17 PDT." <20080402081717.GA40810@eos.sc1.parodius.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Wed, 02 Apr 2008 10:25:48 +0200 From: Ingeborg Hellemo X-Virus-Scanned: : ok X-Scanned-By: MIMEDefang 2.63 on 129.242.5.252 Cc: Volodymyr Kostyrko , freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 08:25:50 -0000 koitsu@freebsd.org said: > Did you have any recent crashes, panics, or anything that could (even > remotely) cause filesystem inconsistencies? No, that was why I was asking in the first place. The system was freshly installed from 7.0-RELEASE-amd64-disc1.iso with no error messages during the install. Since nobody else has reported this I guess it is not a bug, but rather due to sunspot activity - or just my _negative_ attitude :-P --Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg@cc.uit.no (Univ. of Tromsø, Norway) From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 09:12:49 2008 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 262FD1065673 for ; Wed, 2 Apr 2008 09:12:49 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 9A8C08FC13 for ; Wed, 2 Apr 2008 09:12:48 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id m329CkwK035472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Apr 2008 11:12:46 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Message-ID: <47F34E0C.4010008@omnisec.de> Date: Wed, 02 Apr 2008 11:12:44 +0200 From: Harald Schmalzbauer Organization: OmniSEC User-Agent: Thunderbird 2.0.0.12 (X11/20080308) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFED034ED655C672F914B4BC7" Subject: S-ATA DVD drive problems 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, 02 Apr 2008 09:12:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFED034ED655C672F914B4BC7 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Hello, I have severe problems with my optical drive(s) support. The drive is on an ICH9 in AHCI mode. I tested different writers, all show the same problem. When the system boots with a CD in the drive or if I mount the acd0=20 device I see acd0: FAILURE - READ_BIG MEDIUM ERROR asc=3D0x11 ascq=3D0x05= or: acd0: FAILURE - READ_DVD_STRUCTURE ILLEGAL REQUEST asc=3D0x30 ascq=3D0x02= acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00 When I mount the drive with /dev/cdX (atapicam) I don't see any error! burncd fails completely, cdrecord seems to work. I don't understand why the scsi path to the drive is working while the=20 (native) atapi path is broken... I have some oddities when accessing the drive with brasero via HAL, but=20 I'm not familar with HAL at all so this is probably another matter. Any hints highly appreciated! Thanks, -Harry --------------enigFED034ED655C672F914B4BC7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkfzTg4ACgkQLDqVQ9VXb8iFiwCgmV/wRo9RB2HQYshoXnSPcMZc cfIAoJ0FKKQjKCnGWN9oov8d2oXnT1yi =imBS -----END PGP SIGNATURE----- --------------enigFED034ED655C672F914B4BC7-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 09:19:11 2008 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 460211065672 for ; Wed, 2 Apr 2008 09:19:11 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from mail.webreality.org (mailserver.webreality.org [217.75.141.5]) by mx1.freebsd.org (Postfix) with ESMTP id F3AB98FC1A for ; Wed, 2 Apr 2008 09:19:10 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from [10.0.1.100] (unknown [87.121.18.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.webreality.org (Postfix) with ESMTP id 374FEFFE105 for ; Wed, 2 Apr 2008 12:19:04 +0300 (EEST) Message-ID: <47F34F85.4060006@lozenetz.org> Date: Wed, 02 Apr 2008 12:19:01 +0300 From: Anton - Valqk User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110) MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HostIT-MailScanner-Information: Please contact the ISP for more information X-HostIT-MailScanner: Found to be clean X-HostIT-MailScanner-From: lists@lozenetz.org Cc: Subject: Jail crontab crashing? 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, 02 Apr 2008 09:19:11 -0000 Hi there, have anyone faced a cron crashing in a jail when changing the /etc/crontab? I'm running a jail with nsswitch using pgsql backend and I've noticed a strange behaviour of my crontab. Every time I change the /etc/crontab file I get (or make crontab -e and save it) /usr/sbin/cron[32864]: (*system*) RELOAD (/etc/crontab) in /var/log/cron and immediately after that the cron dies with a core (core file is in /var/cron/cron.core), I've made a ktrace but nothing strange can be seen in it, heres the link to the kdump file: http://valqk.ath.cx/ktrace.out.txt any ideas appriciated! cheers, valqk. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 09:26:09 2008 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 A6E4C106566C for ; Wed, 2 Apr 2008 09:26:09 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from mail.webreality.org (mailserver.webreality.org [217.75.141.5]) by mx1.freebsd.org (Postfix) with ESMTP id 603278FC28 for ; Wed, 2 Apr 2008 09:26:08 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from [10.0.1.100] (unknown [87.121.18.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.webreality.org (Postfix) with ESMTP id 01CE4FFE141 for ; Wed, 2 Apr 2008 12:25:59 +0300 (EEST) Message-ID: <47F35125.3000304@lozenetz.org> Date: Wed, 02 Apr 2008 12:25:57 +0300 From: Anton - Valqk User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110) MIME-Version: 1.0 To: stable@freebsd.org References: <47F34F85.4060006@lozenetz.org> In-Reply-To: <47F34F85.4060006@lozenetz.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HostIT-MailScanner-Information: Please contact the ISP for more information X-HostIT-MailScanner: Found to be clean X-HostIT-MailScanner-From: lists@lozenetz.org Cc: Subject: Re: Jail crontab crashing? 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, 02 Apr 2008 09:26:09 -0000 ok, just made a break trough, when I added cron to /etc/libmap.conf (here is my libnap.conf: user# cat /etc/libmap.conf [httpd] libpthread.so.2 libthr.so.2 libpthread.so libthr.so [cron] libpthread.so.2 libthr.so.2 libpthread.so libthr.so ) cron stopped crashing. I've wrote an angry mail at sunday morning (GMT+2) about apache crashing (apache-worker) after a buildworld (by ezjail-admin), and added the above lines fixed my problem. Seems like I'm having a problem with libpthread but I don't know exaclty what. pls anyone help me, I have no idea why all apps using libpthread are crashing after the upgrade. This is only in the jail! in real system everything works as expected. pls help with ideas and tips! thanks. Anton - Valqk wrote: > Hi there, > have anyone faced a cron crashing in a jail when changing the > /etc/crontab? > I'm running a jail with nsswitch using pgsql backend and I've noticed > a strange behaviour > of my crontab. > Every time I change the /etc/crontab file I get (or make crontab -e > and save it) > /usr/sbin/cron[32864]: (*system*) RELOAD (/etc/crontab) > in /var/log/cron > and immediately after that the cron dies with a core (core file is in > /var/cron/cron.core), > I've made a ktrace but nothing strange can be seen in it, > heres the link to the kdump file: > > http://valqk.ath.cx/ktrace.out.txt > > any ideas appriciated! > > cheers, > valqk. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 09:45:08 2008 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 EB167106566B for ; Wed, 2 Apr 2008 09:45:08 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id DB1918FC13 for ; Wed, 2 Apr 2008 09:45:08 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id A04871CC060; Wed, 2 Apr 2008 02:45:08 -0700 (PDT) Date: Wed, 2 Apr 2008 02:45:08 -0700 From: Jeremy Chadwick To: Harald Schmalzbauer Message-ID: <20080402094508.GA42925@eos.sc1.parodius.com> References: <47F34E0C.4010008@omnisec.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47F34E0C.4010008@omnisec.de> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: S-ATA DVD drive problems 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, 02 Apr 2008 09:45:09 -0000 On Wed, Apr 02, 2008 at 11:12:44AM +0200, Harald Schmalzbauer wrote: > Hello, > > I have severe problems with my optical drive(s) support. > The drive is on an ICH9 in AHCI mode. > > I tested different writers, all show the same problem. > When the system boots with a CD in the drive or if I mount the acd0 device > I see acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > or: > acd0: FAILURE - READ_DVD_STRUCTURE ILLEGAL REQUEST asc=0x30 ascq=0x02 > acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00 Are the errors harmful? Historically these errors haven't been. You state later "burncd doesn't work, but cdrecord does". The errors appear to indicate that certain ATAPI commands are being rejected by your drive (or possibly due to the physical medium inserted in it). I'd try Googling for "freebsd sata ILLEGAL REQUEST" and see for yourself. Linux's kernel reports similar errors, though in a different way, since they use an ATA-to-SATA conversion driver for hard disks and CDROMs: http://linux.derkeiler.com/Mailing-Lists/Kernel/2006-03/msg02337.html > When I mount the drive with /dev/cdX (atapicam) I don't see any error! Possibly atapicam(4) isn't using those ATA commands, or is hiding the errors from you. > burncd fails completely, cdrecord seems to work. > > I don't understand why the scsi path to the drive is working while the > (native) atapi path is broken... -- | Jeremy Chadwick jdc at 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 2 09:50:44 2008 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 8BA9B1065672; Wed, 2 Apr 2008 09:50:44 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id F06998FC21; Wed, 2 Apr 2008 09:50:43 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m329oVCx006611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2008 10:50:32 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <47F356EF.8040607@unsane.co.uk> Date: Wed, 02 Apr 2008 10:50:39 +0100 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.12 (X11/20080327) MIME-Version: 1.0 To: Kostik Belousov References: <47EEBE78.5050506@unsane.co.uk> <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> <47EFCF67.9040601@system.pl> <47F0A577.90800@unsane.co.uk> <20080331092035.GH21209@deviant.kiev.zoral.com.ua> <47F0C75B.9040000@unsane.co.uk> <20080331111714.GI21209@deviant.kiev.zoral.com.ua> <47F1F877.4010008@unsane.co.uk> <20080401094935.GQ21209@deviant.kiev.zoral.com.ua> In-Reply-To: <20080401094935.GQ21209@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcin Cieslak , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 02 Apr 2008 09:50:44 -0000 Kostik Belousov wrote: > On Tue, Apr 01, 2008 at 09:55:19AM +0100, Vince Hoffman wrote: >> Kostik Belousov wrote: >>> On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote: >>>> Kostik Belousov wrote: >>> Compile the ddb into the kernel (instructions are provided at the same >>> web page) and post the output of the console on the panic >> I tried this but other than the fact I can drop into ddb and step though >> stuff I'm not sure what I can do with it. Since I cant (obviously) get a >> serial console on my laptop I have done it the other way and taken a >> picture of the console on panic. When I have more time I'll carry on >> reading up on ddb but I think I have a steep learning curve since my >> previous looks at programing stopped at 'hello world':) >> Panic console at: >> http://unsane.co.uk/~jhary/freebsd/IMAGE_119.jpg > > Thanks, this is enough. Two chunks were missed from the rev. 1.210. > Please, try the patch below. > > diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c > index 843498e..7e6e048 100644 > --- a/sys/kern/kern_conf.c > +++ b/sys/kern/kern_conf.c > @@ -402,8 +402,7 @@ giant_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread > if (dsw == NULL) > return (ENXIO); > mtx_lock(&Giant); > - retval = dev->si_devsw->d_gianttrick-> > - d_ioctl(dev, cmd, data, fflag, td); > + retval = dsw->d_gianttrick->d_ioctl(dev, cmd, data, fflag, td); > mtx_unlock(&Giant); > dev_relthread(dev); > return (retval); > @@ -419,8 +418,7 @@ giant_read(struct cdev *dev, struct uio *uio, int ioflag) > if (dsw == NULL) > return (ENXIO); > mtx_lock(&Giant); > - retval = dev->si_devsw->d_gianttrick-> > - d_read(dev, uio, ioflag); > + retval = dsw->d_gianttrick->d_read(dev, uio, ioflag); > mtx_unlock(&Giant); > dev_relthread(dev); > return (retval); Hi Kostik, Yes this stops the panic. I do still get the console spammed with informational messages Apr 2 10:36:30 prawn kernel: ucom0: on uhub2 Apr 2 10:36:33 prawn login: ROOT LOGIN (toor) ON ttyv0 Apr 2 10:36:56 prawn kernel: ucom0: ucomreadcb: IOERROR Apr 2 10:36:56 prawn kernel: ucom0: at uhub2 port 1 (addr 3) disconnected Apr 2 10:36:57 prawn kernel: Still 4294967295 threads in ttyU0 Apr 2 10:37:16 prawn last message repeated 188 times Apr 2 10:37:16 prawn login: ROOT LOGIN (toor) ON ttyv1 Apr 2 10:37:16 prawn kernel: Still 4294967295 threads in ttyU0 Apr 2 10:37:47 prawn last message repeated 303 times Apr 2 10:37:55 prawn last message repeated 85 times but I can live with that. I had opened PR usb/122287 for this, and I have updated this with the relevent information from this thread. Thanks, Vince From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 09:54:31 2008 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 90A91106566B for ; Wed, 2 Apr 2008 09:54:31 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8092F8FC19 for ; Wed, 2 Apr 2008 09:54:31 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 758301CC06E; Wed, 2 Apr 2008 02:54:31 -0700 (PDT) Date: Wed, 2 Apr 2008 02:54:31 -0700 From: Jeremy Chadwick To: Anton - Valqk Message-ID: <20080402095431.GB42925@eos.sc1.parodius.com> References: <47F34F85.4060006@lozenetz.org> <47F35125.3000304@lozenetz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47F35125.3000304@lozenetz.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: stable@freebsd.org Subject: Re: Jail crontab crashing? 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, 02 Apr 2008 09:54:31 -0000 On Wed, Apr 02, 2008 at 12:25:57PM +0300, Anton - Valqk wrote: > ok, just made a break trough, > when I added cron to /etc/libmap.conf > (here is my libnap.conf: > user# cat /etc/libmap.conf > [httpd] > libpthread.so.2 libthr.so.2 > libpthread.so libthr.so > [cron] > libpthread.so.2 libthr.so.2 > libpthread.so libthr.so > ) > cron stopped crashing. cron isn't a threaded application, so I don't see how this fixed anything. cron doesn't link to any threaded libraries either. Use ldd and see for yourself. > I've wrote an angry mail at sunday morning (GMT+2) about apache > crashing (apache-worker) after a buildworld (by ezjail-admin), and > added the above lines fixed my problem. And you didn't respond to the people who offered to help: http://lists.freebsd.org/pipermail/freebsd-stable/2008-March/041601.html You also didn't provide any details about what you upgraded from/to, or any other information. Chances are you did not rebuild all of your ports when upgrading the OS. The threading libraries change periodically, but do not necessarily change in library revision number (E.g. so.5 --> so.6). Also, why must you run Apache with the worker MPM? I've personally (meaning I'm talking about my experiences, not a general statement) never seen threaded Apache work -- only prefork. By the way, your ktrace isn't going to help much, because I don't think you ran ktrace with the correct arguments. I see a lot of fork() action, which is expected (because that's what cron does!), but no information about the children. You'd be better off using gdb on the coredump and cron, and figuring out where things crashed. -- | Jeremy Chadwick jdc at 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 2 10:46:48 2008 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 43DFA1065675 for ; Wed, 2 Apr 2008 10:46:48 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from mail.webreality.org (mailserver.webreality.org [217.75.141.5]) by mx1.freebsd.org (Postfix) with ESMTP id EC9358FC2C for ; Wed, 2 Apr 2008 10:46:47 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from [10.0.1.100] (unknown [87.121.18.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.webreality.org (Postfix) with ESMTP id D0F2AFFE105; Wed, 2 Apr 2008 13:46:41 +0300 (EEST) Message-ID: <47F3640F.90409@lozenetz.org> Date: Wed, 02 Apr 2008 13:46:39 +0300 From: Anton - Valqk User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110) MIME-Version: 1.0 To: stable@freebsd.org References: <47F34F85.4060006@lozenetz.org> <47F35125.3000304@lozenetz.org> <20080402095431.GB42925@eos.sc1.parodius.com> In-Reply-To: <20080402095431.GB42925@eos.sc1.parodius.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HostIT-MailScanner-Information: Please contact the ISP for more information X-HostIT-MailScanner: Found to be clean X-HostIT-MailScanner-From: lists@lozenetz.org Cc: Jeremy Chadwick Subject: Re: Jail crontab crashing? 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, 02 Apr 2008 10:46:48 -0000 Thanks for the answer, I've never responded because I have no time to test recompiling _all_ libs and apache from scratch. When I do it I'll respond. I'm using worker because I prefer the new threaded apache model (also I'm unsg a fastcgid and I think it's working better with the worker, never benchmarked). I've done a rebuild of the world 6.3 because I put the nscd backport patch. (though I didn't moved to 7 yet, I'm waiting for 7.3 to come out). There were only 3 files changed when I cvsup-ed 6_3 and the patch changed some other. You are right about the pthread - just didn't saw that it dies again. I'll dig some more around and post if I find something. thanks! if anyone comes up with ideas, please respond. cheers, valqk. Jeremy Chadwick wrote: > On Wed, Apr 02, 2008 at 12:25:57PM +0300, Anton - Valqk wrote: > >> ok, just made a break trough, >> when I added cron to /etc/libmap.conf >> (here is my libnap.conf: >> user# cat /etc/libmap.conf >> [httpd] >> libpthread.so.2 libthr.so.2 >> libpthread.so libthr.so >> [cron] >> libpthread.so.2 libthr.so.2 >> libpthread.so libthr.so >> ) >> cron stopped crashing. >> > > cron isn't a threaded application, so I don't see how this fixed > anything. cron doesn't link to any threaded libraries either. Use ldd > and see for yourself. > > >> I've wrote an angry mail at sunday morning (GMT+2) about apache >> crashing (apache-worker) after a buildworld (by ezjail-admin), and >> added the above lines fixed my problem. >> > > And you didn't respond to the people who offered to help: > > http://lists.freebsd.org/pipermail/freebsd-stable/2008-March/041601.html > > You also didn't provide any details about what you upgraded from/to, or > any other information. > > Chances are you did not rebuild all of your ports when upgrading the OS. > The threading libraries change periodically, but do not necessarily > change in library revision number (E.g. so.5 --> so.6). > > Also, why must you run Apache with the worker MPM? I've personally > (meaning I'm talking about my experiences, not a general statement) > never seen threaded Apache work -- only prefork. > > By the way, your ktrace isn't going to help much, because I don't think > you ran ktrace with the correct arguments. I see a lot of fork() > action, which is expected (because that's what cron does!), but no > information about the children. > > You'd be better off using gdb on the coredump and cron, and figuring out > where things crashed. > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 11:04:28 2008 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 8F4041065676; Wed, 2 Apr 2008 11:04:28 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from angel.ticketswitch.com (angel.ticketswitch.com [IPv6:2002:57e0:1d4e::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4F3FE8FC27; Wed, 2 Apr 2008 11:04:28 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from [10.50.50.2] (helo=smaug.rattatosk) by angel.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Jh0lW-0008pO-NG; Wed, 02 Apr 2008 12:04:26 +0100 Received: from dilbert.rattatosk ([10.50.50.6] helo=dilbert.ticketswitch.com) by smaug.rattatosk with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Jh0lW-000H4x-LU; Wed, 02 Apr 2008 12:04:26 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Jh0lW-000AVy-Kq; Wed, 02 Apr 2008 12:04:26 +0100 To: koitsu@freebsd.org, lists@lozenetz.org In-Reply-To: <20080402095431.GB42925@eos.sc1.parodius.com> Message-Id: From: Pete French Date: Wed, 02 Apr 2008 12:04:26 +0100 Cc: stable@freebsd.org Subject: Re: Jail crontab crashing? 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, 02 Apr 2008 11:04:28 -0000 > Also, why must you run Apache with the worker MPM? I've personally > (meaning I'm talking about my experiences, not a general statement) > never seen threaded Apache work -- only prefork. Threaded Apache works as long as all you are doing is serving filees or running stanadlone CGI scripts. I run a lot of amchines this way. As soon as you add any plugin modules to the mix (PHP for example) you need to go back to prefork though. -pete. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 11:16:53 2008 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 8A4FC106566B; Wed, 2 Apr 2008 11:16:53 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by mx1.freebsd.org (Postfix) with ESMTP id 16E798FC23; Wed, 2 Apr 2008 11:16:52 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay03.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Jh0xW-000AVv-4F; Wed, 02 Apr 2008 14:16:50 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m32BGtvd073263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2008 14:16:56 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m32BGjJd022951; Wed, 2 Apr 2008 14:16:45 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m32BGj2b022950; Wed, 2 Apr 2008 14:16:45 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 2 Apr 2008 14:16:44 +0300 From: Kostik Belousov To: Vince Hoffman Message-ID: <20080402111644.GX21209@deviant.kiev.zoral.com.ua> References: <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> <47EFCF67.9040601@system.pl> <47F0A577.90800@unsane.co.uk> <20080331092035.GH21209@deviant.kiev.zoral.com.ua> <47F0C75B.9040000@unsane.co.uk> <20080331111714.GI21209@deviant.kiev.zoral.com.ua> <47F1F877.4010008@unsane.co.uk> <20080401094935.GQ21209@deviant.kiev.zoral.com.ua> <47F356EF.8040607@unsane.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c7rykKtsZvepKFKR" Content-Disposition: inline In-Reply-To: <47F356EF.8040607@unsane.co.uk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: 9301293e34c22c108b5fa79baa05d543 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2547 [Apr 02 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release Cc: Marcin Cieslak , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 02 Apr 2008 11:16:53 -0000 --c7rykKtsZvepKFKR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 02, 2008 at 10:50:39AM +0100, Vince Hoffman wrote: > Kostik Belousov wrote: > > On Tue, Apr 01, 2008 at 09:55:19AM +0100, Vince Hoffman wrote: > >> Kostik Belousov wrote: > >>> On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote: > >>>> Kostik Belousov wrote: > >>> Compile the ddb into the kernel (instructions are provided at the same > >>> web page) and post the output of the console on the panic > >> I tried this but other than the fact I can drop into ddb and step thou= gh > >> stuff I'm not sure what I can do with it. Since I cant (obviously) get= a > >> serial console on my laptop I have done it the other way and taken a > >> picture of the console on panic. When I have more time I'll carry on > >> reading up on ddb but I think I have a steep learning curve since my > >> previous looks at programing stopped at 'hello world':) > >> Panic console at: > >> http://unsane.co.uk/~jhary/freebsd/IMAGE_119.jpg > >=20 > > Thanks, this is enough. Two chunks were missed from the rev. 1.210. > > Please, try the patch below. > >=20 > > diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c > > index 843498e..7e6e048 100644 > > --- a/sys/kern/kern_conf.c > > +++ b/sys/kern/kern_conf.c > > @@ -402,8 +402,7 @@ giant_ioctl(struct cdev *dev, u_long cmd, caddr_t d= ata, int fflag, struct thread > > if (dsw =3D=3D NULL) > > return (ENXIO); > > mtx_lock(&Giant); > > - retval =3D dev->si_devsw->d_gianttrick-> > > - d_ioctl(dev, cmd, data, fflag, td); > > + retval =3D dsw->d_gianttrick->d_ioctl(dev, cmd, data, fflag, td); > > mtx_unlock(&Giant); > > dev_relthread(dev); > > return (retval); > > @@ -419,8 +418,7 @@ giant_read(struct cdev *dev, struct uio *uio, int i= oflag) > > if (dsw =3D=3D NULL) > > return (ENXIO); > > mtx_lock(&Giant); > > - retval =3D dev->si_devsw->d_gianttrick-> > > - d_read(dev, uio, ioflag); > > + retval =3D dsw->d_gianttrick->d_read(dev, uio, ioflag); > > mtx_unlock(&Giant); > > dev_relthread(dev); > > return (retval); >=20 > Hi Kostik, > Yes this stops the panic. I do still get the console spammed with > informational messages >=20 > Apr 2 10:36:30 prawn kernel: ucom0: 0/0, rev 1.10/4.00, addr 3> on uhub2 > Apr 2 10:36:33 prawn login: ROOT LOGIN (toor) ON ttyv0 > Apr 2 10:36:56 prawn kernel: ucom0: ucomreadcb: IOERROR > Apr 2 10:36:56 prawn kernel: ucom0: at uhub2 port 1 (addr 3) disconnected > Apr 2 10:36:57 prawn kernel: Still 4294967295 threads in ttyU0 > Apr 2 10:37:16 prawn last message repeated 188 times > Apr 2 10:37:16 prawn login: ROOT LOGIN (toor) ON ttyv1 > Apr 2 10:37:16 prawn kernel: Still 4294967295 threads in ttyU0 > Apr 2 10:37:47 prawn last message repeated 303 times > Apr 2 10:37:55 prawn last message repeated 85 times >=20 >=20 > but I can live with that. >=20 > I had opened PR usb/122287 for this, and I have updated this with the > relevent information from this thread. I committed the fix to the HEAD. I tested the patch with the uark(4) cable, and simply running the tip over the ttyU0 did not produced the "Still -1 threads in ttyU0" message. Are you running tip, or something else over the port ? --c7rykKtsZvepKFKR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkfzaxwACgkQC3+MBN1Mb4hi7wCfevuibsMCrgWt8C+e4Xmd7SIb v1wAoPbaEIc4Ts34yHrnac/vbIaknIgb =Mhhg -----END PGP SIGNATURE----- --c7rykKtsZvepKFKR-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 11:34:59 2008 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 EA0021065670; Wed, 2 Apr 2008 11:34:58 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 56EA08FC22; Wed, 2 Apr 2008 11:34:58 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m32BYjf5007935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2008 12:34:46 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <47F36F5F.90301@unsane.co.uk> Date: Wed, 02 Apr 2008 12:34:55 +0100 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.12 (X11/20080327) MIME-Version: 1.0 To: Kostik Belousov References: <20080329222049.GA80263@eos.sc1.parodius.com> <47EED34E.2080400@unsane.co.uk> <47EFCF67.9040601@system.pl> <47F0A577.90800@unsane.co.uk> <20080331092035.GH21209@deviant.kiev.zoral.com.ua> <47F0C75B.9040000@unsane.co.uk> <20080331111714.GI21209@deviant.kiev.zoral.com.ua> <47F1F877.4010008@unsane.co.uk> <20080401094935.GQ21209@deviant.kiev.zoral.com.ua> <47F356EF.8040607@unsane.co.uk> <20080402111644.GX21209@deviant.kiev.zoral.com.ua> In-Reply-To: <20080402111644.GX21209@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcin Cieslak , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Panic with usb serial 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, 02 Apr 2008 11:34:59 -0000 Kostik Belousov wrote: > On Wed, Apr 02, 2008 at 10:50:39AM +0100, Vince Hoffman wrote: >> Kostik Belousov wrote: >>> On Tue, Apr 01, 2008 at 09:55:19AM +0100, Vince Hoffman wrote: >>>> Kostik Belousov wrote: >>>>> On Mon, Mar 31, 2008 at 12:13:31PM +0100, Vince Hoffman wrote: >>>>>> Kostik Belousov wrote: >>>>> Compile the ddb into the kernel (instructions are provided at the same >>>>> web page) and post the output of the console on the panic >>>> I tried this but other than the fact I can drop into ddb and step though >>>> stuff I'm not sure what I can do with it. Since I cant (obviously) get a >>>> serial console on my laptop I have done it the other way and taken a >>>> picture of the console on panic. When I have more time I'll carry on >>>> reading up on ddb but I think I have a steep learning curve since my >>>> previous looks at programing stopped at 'hello world':) >>>> Panic console at: >>>> http://unsane.co.uk/~jhary/freebsd/IMAGE_119.jpg >>> Thanks, this is enough. Two chunks were missed from the rev. 1.210. >>> Please, try the patch below. >>> >>> diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c >>> index 843498e..7e6e048 100644 >>> --- a/sys/kern/kern_conf.c >>> +++ b/sys/kern/kern_conf.c >>> @@ -402,8 +402,7 @@ giant_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread >>> if (dsw == NULL) >>> return (ENXIO); >>> mtx_lock(&Giant); >>> - retval = dev->si_devsw->d_gianttrick-> >>> - d_ioctl(dev, cmd, data, fflag, td); >>> + retval = dsw->d_gianttrick->d_ioctl(dev, cmd, data, fflag, td); >>> mtx_unlock(&Giant); >>> dev_relthread(dev); >>> return (retval); >>> @@ -419,8 +418,7 @@ giant_read(struct cdev *dev, struct uio *uio, int ioflag) >>> if (dsw == NULL) >>> return (ENXIO); >>> mtx_lock(&Giant); >>> - retval = dev->si_devsw->d_gianttrick-> >>> - d_read(dev, uio, ioflag); >>> + retval = dsw->d_gianttrick->d_read(dev, uio, ioflag); >>> mtx_unlock(&Giant); >>> dev_relthread(dev); >>> return (retval); >> Hi Kostik, >> Yes this stops the panic. I do still get the console spammed with >> informational messages >> >> Apr 2 10:36:30 prawn kernel: ucom0: > 0/0, rev 1.10/4.00, addr 3> on uhub2 >> Apr 2 10:36:33 prawn login: ROOT LOGIN (toor) ON ttyv0 >> Apr 2 10:36:56 prawn kernel: ucom0: ucomreadcb: IOERROR >> Apr 2 10:36:56 prawn kernel: ucom0: at uhub2 port 1 (addr 3) disconnected >> Apr 2 10:36:57 prawn kernel: Still 4294967295 threads in ttyU0 >> Apr 2 10:37:16 prawn last message repeated 188 times >> Apr 2 10:37:16 prawn login: ROOT LOGIN (toor) ON ttyv1 >> Apr 2 10:37:16 prawn kernel: Still 4294967295 threads in ttyU0 >> Apr 2 10:37:47 prawn last message repeated 303 times >> Apr 2 10:37:55 prawn last message repeated 85 times >> >> >> but I can live with that. >> >> I had opened PR usb/122287 for this, and I have updated this with the >> relevent information from this thread. > > I committed the fix to the HEAD. I tested the patch with the uark(4) > cable, and simply running the tip over the ttyU0 did not produced the > "Still -1 threads in ttyU0" message. Are you running tip, or something > else over the port ? > Just tip. [~](12:30:32) {root@prawn}#grep usb0 /etc/remote usb0:dv=/dev/ttyU0:br#9600:pa=none: then [~](12:31:20) {root@prawn}#tip usb0 connected Router> then unplugged the usb adapter Vince From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 11:50:45 2008 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 346ED1065673 for ; Wed, 2 Apr 2008 11:50:45 +0000 (UTC) (envelope-from hk@alogis.com) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.freebsd.org (Postfix) with ESMTP id AA2DB8FC21 for ; Wed, 2 Apr 2008 11:50:44 +0000 (UTC) (envelope-from hk@alogis.com) Received: from alogis.com (localhost [127.0.0.1]) by alogis.com (8.13.4/8.13.1) with ESMTP id m32BaoBc010723; Wed, 2 Apr 2008 13:36:50 +0200 (CEST) (envelope-from hk@alogis.com) Received: (from hk@localhost) by alogis.com (8.13.4/8.13.1/Submit) id m32BaoNC010722; Wed, 2 Apr 2008 13:36:50 +0200 (CEST) (envelope-from hk) Date: Wed, 2 Apr 2008 13:36:50 +0200 From: Holger Kipp To: stable@freebsd.org Message-ID: <20080402113650.GA10276@intserv.int1.b.intern> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: lpd connection lost problems 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, 02 Apr 2008 11:50:45 -0000 Hello, I have a vanilla FreeBSD 7.0 GENERIC system that is only serving as print server using lpd, which occasionally outputs 'connection lost' messages similar to this: Apr 1 16:18:13 fbsdprint1 lpd[2219]: Error receiving job from server.that.prints: Apr 1 16:18:13 fbsdprint1 lpd[2219]: printer48: lost connection A corresponding error is then sent back to server.that.prints which I'd like to avoid. So is there a way to force lpd to store all printjobs before sending to the printer? And how can I find out what is causing these lost connection messages in the first place? tcpdump does not really help me here. printer is a HP4350 with network interface etc. Any suggestions? Best regards, Holger Kipp From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 12:17:51 2008 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 E11B6106567A for ; Wed, 2 Apr 2008 12:17:51 +0000 (UTC) (envelope-from tzhuan@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 6718B8FC1B for ; Wed, 2 Apr 2008 12:17:51 +0000 (UTC) (envelope-from tzhuan@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2665286fgg.35 for ; Wed, 02 Apr 2008 05:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=GrYVjMHnOs8vHJnrQplpKImZnqZZhbeZnZzGa2taxyA=; b=DxXscLmtOSJyxBiaMhEcsHJh906Ehwp+Ur5g5gEniB9FcTm6hh2NU7phxuGAF8YfryPqtq4kW9X0T17jZLk4eeJwaWIZH67aqiJI06dFJx99dfktNMQNnuoGxjYbPkBaNGe6WF/B93N1+oX37TL5erjCetWTSTs6xOl6v5YEaJk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=lXB/46gDvL0DQ/0cUIWYNwTWgPssFHsUu751uNXBD0Iw5llzNPQ2+D86X053RXzh/wzU4fBqyybAT3H3SVYBDhJKjexx+94ZWuS8NrckJHp3a6dk1ePW4dp4PcGkx/W6MbjuQgy0S1AqBHL8WYd4qcjrVg09Bo0jotDJJ4N1rhM= Received: by 10.86.89.4 with SMTP id m4mr6270655fgb.45.1207138670151; Wed, 02 Apr 2008 05:17:50 -0700 (PDT) Received: by 10.86.53.1 with HTTP; Wed, 2 Apr 2008 05:17:50 -0700 (PDT) Message-ID: <6a7033710804020517y2b0a0336v7ab840ca5a5f5ff4@mail.gmail.com> Date: Wed, 2 Apr 2008 20:17:50 +0800 From: "Tz-Huan Huang" Sender: tzhuan@gmail.com To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 35c6bfdb46b89cd2 Subject: lock problem: nfs server on FreeBSD 7-stable, client on linux 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, 02 Apr 2008 12:17:52 -0000 Hi, We have one nfs server (Mar 27's 7-stable, AMD64) and many clients. One of the client is also 7-stable(Mar 30's, i386), and others are Debian Linux. The problem is that the fcntl lock works fine on FreeBSD client but not on linux ones. We have tested the linux server + linux client, and they works fine. The following is all the combination we have tried: FreeBSD server + FreeBSD client: ok FreeBSd server + Linux clinet: fail Linux server + Linux client: ok Linux server + FreeBSD client: ok Is there some issue with 7-stable 's rpc.lockd? More information will be available if necessary, thanks. Tz-Huan From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 15:00:31 2008 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 EC7F2106566C for ; Wed, 2 Apr 2008 15:00:31 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 451BC8FC3B for ; Wed, 2 Apr 2008 15:00:30 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id m32F0Snp039130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Apr 2008 17:00:29 +0200 (CEST) (envelope-from h.schmalzbauer@omnisec.de) Message-ID: <47F39F8C.1000004@omnisec.de> Date: Wed, 02 Apr 2008 17:00:28 +0200 From: Harald Schmalzbauer Organization: OmniSEC User-Agent: Thunderbird 2.0.0.12 (X11/20080308) MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEB93C56308529EF0DD87DEA4" Subject: ataraid and glable interference 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, 02 Apr 2008 15:00:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEB93C56308529EF0DD87DEA4 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Hello, usually I use gmirror but today I wanted to use ataraid (Intel Matrix)=20 for a new system. My filesystems are always mounted by label reference,=20 "/dev/ufs/testbox1ROOT /" for example. The problem is that the system also sees the disks themself which are=20 components of the ataraid (ar0 =3D ad4+a6 and all 3 devices are present).= If I 'tunefs -L testbox1ROOT /dev/mirror/t1ROOT' then at startup geom=20 sees the "testbox1ROOT" label on ad4p2 and not on mirror/t1ROOT. Is there a way to hide the real disks if they are members of an ataraid? Thanks, -Harry --------------enigEB93C56308529EF0DD87DEA4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkfzn4wACgkQLDqVQ9VXb8gOQwCeOTNwhDme8GfezBMpBStxhQ4G 0AkAn3hh8xEcwkG9AhpE+p3+MxSNZ9kY =DRa0 -----END PGP SIGNATURE----- --------------enigEB93C56308529EF0DD87DEA4-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 16:10:43 2008 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 3526B106564A for ; Wed, 2 Apr 2008 16:10:43 +0000 (UTC) (envelope-from lambert@lambertfam.org) Received: from sysmon.tcworks.net (sysmon.tcworks.net [65.66.76.4]) by mx1.freebsd.org (Postfix) with ESMTP id D369C8FC13 for ; Wed, 2 Apr 2008 16:10:42 +0000 (UTC) (envelope-from lambert@lambertfam.org) Received: from sysmon.tcworks.net (localhost [127.0.0.1]) by sysmon.tcworks.net (8.13.1/8.13.1) with ESMTP id m32GAfQ3066498 for ; Wed, 2 Apr 2008 11:10:41 -0500 (CDT) (envelope-from lambert@lambertfam.org) Received: (from lambert@localhost) by sysmon.tcworks.net (8.13.1/8.13.1/Submit) id m32GAfX4066497 for freebsd-stable@freebsd.org; Wed, 2 Apr 2008 11:10:41 -0500 (CDT) (envelope-from lambert@lambertfam.org) Resent-Message-Id: <200804021610.m32GAfX4066497@sysmon.tcworks.net> X-Authentication-Warning: sysmon.tcworks.net: lambert set sender to lambert@lambertfam.org using -f Date: Wed, 2 Apr 2008 11:07:57 -0500 From: Scott Lambert To: Ingeborg Hellemo Message-ID: <20080402160757.GA24929@sysmon.tcworks.net> References: <20080402081717.GA40810@eos.sc1.parodius.com> <200804020825.m328Pmfg029939@barnetv.cc.uit.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804020825.m328Pmfg029939@barnetv.cc.uit.no> User-Agent: Mutt/1.4.2.2i Resent-From: lambert@sysmon.tcworks.net Resent-Date: Wed, 2 Apr 2008 11:10:41 -0500 Resent-To: freebsd-stable@freebsd.org Cc: freebsd-stable@freebsd.org Subject: Re: /var with capacity -1% 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, 02 Apr 2008 16:10:43 -0000 On Wed, Apr 02, 2008 at 10:25:48AM +0200, Ingeborg Hellemo wrote: > > koitsu@freebsd.org said: > > Did you have any recent crashes, panics, or anything that could (even > > remotely) cause filesystem inconsistencies? > > No, that was why I was asking in the first place. The system was freshly > installed from 7.0-RELEASE-amd64-disc1.iso with no error messages during the > install. > > Since nobody else has reported this I guess it is not a bug, but rather due to > sunspot activity - or just my _negative_ attitude :-P You are not alone. I've been thinking it was no big deal due to not seeing any issues with use of that partition. I don't know when it started or if we had a crash near that time. 11:02:34 Wed Apr 02 $ df Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 496M 129M 328M 28% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s1e 989M 377M 534M 41% /tmp /dev/ad0s1f 14G 1.7G 11G 13% /usr /dev/ad0s1d 1.9G 488M 1.3G 27% /var /dev/ad2s1d 72G -1.5G 68G -2% /dumps devfs 1.0K 1.0K 0B 100% /var/named/dev 11:02:50 Wed Apr 02 $ sudo umount /dumps 11:03:23 Wed Apr 02 $ sudo fsck /dev/ad2s1d ** /dev/ad2s1d ** Last Mounted on /dumps ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? [yn] y SUMMARY INFORMATION BAD SALVAGE? [yn] y BLK(S) MISSING IN BIT MAPS SALVAGE? [yn] y 4 files, 4 used, 37842672 free (32 frags, 4730330 blocks, 0.0% fragmentation) ***** FILE SYSTEM MARKED CLEAN ***** ***** FILE SYSTEM WAS MODIFIED ***** 11:04:06 Wed Apr 02 $ sudo mount /dumps 11:04:35 Wed Apr 02 $ df Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 496M 129M 328M 28% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s1e 989M 377M 534M 41% /tmp /dev/ad0s1f 14G 1.7G 11G 13% /usr /dev/ad0s1d 1.9G 488M 1.3G 27% /var devfs 1.0K 1.0K 0B 100% /var/named/dev /dev/ad2s1d 72G 8.0K 66G 0% /dumps -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 16:22:18 2008 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 B0BF71065673 for ; Wed, 2 Apr 2008 16:22:18 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 80F328FC1A for ; Wed, 2 Apr 2008 16:22:18 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Jh5UT-0000gI-KA for freebsd-stable@freebsd.org; Wed, 02 Apr 2008 09:07:09 -0700 Message-ID: <16447331.post@talk.nabble.com> Date: Wed, 2 Apr 2008 09:07:09 -0700 (PDT) From: jbsnyder To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jbsnyder@gmail.com Subject: ZFS & Bittorent -> Hang? 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, 02 Apr 2008 16:22:18 -0000 Hi - I'm not yet filing a PR on this since I'm wondering if anyone else has experienced this issue. I've got ZFS running on a raid-z with 4 disks, C2Duo 2.33 Ghz, 64-bit FreeBSD 7 release, 4GB RAM. For the most part this has been working perfectly, but I recently I tried using transmission-daemon (a bittorrent client/daemon) to download a few things and noticed that if it runs for an extended period of time, a lot of processes are waiting on zfs and just hang. If I'm not logged in while this is happens, SSH access hangs. Also, if I manage to be logged in, AFP access to the volume, and some heavier disk access items (like building from ports at stages of unzipping archives and checksumming) seem to hang as well. I've not done extensive testing, but the same behavior has been exhibited both times I've tried it. The interesting thing is that the transmission seems to keep on chugging, and does finish downloading eventually, it's just that everything else doesn't get a chance at getting some IO, even if I kill the transmission-daemon. I've done the recommended tweaks on the freebsd wiki for AMD64 machines, and I'm running ULE. Otherwise things are pretty standard. I'll file a more detailed PR with some additional testing if nobody else has encountered this and/or has a workaround. Best. -jsnyder -- View this message in context: http://www.nabble.com/ZFS---Bittorent--%3E-Hang--tp16447331p16447331.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 16:27:38 2008 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 B43511065670 for ; Wed, 2 Apr 2008 16:27:38 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id A2BD58FC36 for ; Wed, 2 Apr 2008 16:27:38 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 7BDE21CC060; Wed, 2 Apr 2008 09:27:38 -0700 (PDT) Date: Wed, 2 Apr 2008 09:27:38 -0700 From: Jeremy Chadwick To: Harald Schmalzbauer Message-ID: <20080402162738.GA54106@eos.sc1.parodius.com> References: <47F39F8C.1000004@omnisec.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47F39F8C.1000004@omnisec.de> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: ataraid and glable interference 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, 02 Apr 2008 16:27:38 -0000 On Wed, Apr 02, 2008 at 05:00:28PM +0200, Harald Schmalzbauer wrote: > usually I use gmirror but today I wanted to use ataraid (Intel Matrix) for > a new system. > My filesystems are always mounted by label reference, > "/dev/ufs/testbox1ROOT /" for example. > > The problem is that the system also sees the disks themself which are > components of the ataraid (ar0 = ad4+a6 and all 3 devices are present). > If I 'tunefs -L testbox1ROOT /dev/mirror/t1ROOT' then at startup geom sees > the "testbox1ROOT" label on ad4p2 and not on mirror/t1ROOT. > > Is there a way to hide the real disks if they are members of an ataraid? This sounds like something you should file a PR for. I'm a little baffled as to how/why the glabel is showing up at all on /dev/ad4 partitions (or slices; not sure which GEOM sets metadata on). What you're doing sounds completely legitimate, and it sounds like an oversight which should be addressed in some way. The only way I can think of is to get ata(4) to support some loader(8) tunables, something like hint.ad.4.disabled="1" to disable ad4, so that you can use those to "ignore" disks. Or is this a GEOM labelling bug of some sort? -- | Jeremy Chadwick jdc at 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 2 17:02:41 2008 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 C493F106566C for ; Wed, 2 Apr 2008 17:02:41 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.229]) by mx1.freebsd.org (Postfix) with ESMTP id 7168D8FC15 for ; Wed, 2 Apr 2008 17:02:41 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so1826789wra.13 for ; Wed, 02 Apr 2008 10:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=A3fEKLCQpFcDAu/i9BHFAyNcQikR++LsTpTqQF9Qja4=; b=VwwWgpnm52yLkpVFQImVteikWy1swgRqDqwYMi1vfX9EsvWqQGae5XMHaM1d+49nByX2UXhRqCYwT0vKEvHrugA431cUuq2j6kFYM1Px6ynUGvpUbk19C+Nnq7wT9rFcdw84sAZFxZfI55Bsc8r4EBmjN/m5uMZFSHA5XSTcBqo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=BNS+Nqq0DU2MiXseop4IGjjyAuxIS3iFQyYLcyxbuSalrDlQrY1ZIHKmO8FpaP9WSuIZsMEqi2pPu5yWsz1QZxQCYbIomfPxg3Z/5w6/2Qugk+aCQrKi4wiLTwWocAZqwby0so9V88rOujxYczMjUC/JlKF4dJZFwAg7FN3mfZU= Received: by 10.140.136.6 with SMTP id j6mr4006165rvd.56.1207155756176; Wed, 02 Apr 2008 10:02:36 -0700 (PDT) Received: by 10.141.70.15 with HTTP; Wed, 2 Apr 2008 10:02:36 -0700 (PDT) Message-ID: Date: Thu, 3 Apr 2008 01:02:36 +0800 From: "Ken Chen" To: freebsd-stable@freebsd.org In-Reply-To: <6a7033710804020517y2b0a0336v7ab840ca5a5f5ff4@mail.gmail.com> MIME-Version: 1.0 References: <6a7033710804020517y2b0a0336v7ab840ca5a5f5ff4@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: lock problem: nfs server on FreeBSD 7-stable, client on linux 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, 02 Apr 2008 17:02:41 -0000 I have the similar problem when FreeBSD 7 client + FreeBSD 6 server. Now, I use ' mount_nfs -L' on the client to do local locking only. Of course, it may cause other problem. 2008/4/2, Tz-Huan Huang : > > Hi, > > We have one nfs server (Mar 27's 7-stable, AMD64) and many clients. > One of the client is also 7-stable(Mar 30's, i386), and others are Debian > Linux. The problem is that the fcntl lock works fine on FreeBSD client > but not on linux ones. > > We have tested the linux server + linux client, and they works fine. > The following is all the combination we have tried: > > FreeBSD server + FreeBSD client: ok > FreeBSd server + Linux clinet: fail > Linux server + Linux client: ok > Linux server + FreeBSD client: ok > > Is there some issue with 7-stable 's rpc.lockd? > More information will be available if necessary, thanks. > > Tz-Huan > _______________________________________________ > 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 2 17:46:42 2008 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 6008F1065672; Wed, 2 Apr 2008 17:46:42 +0000 (UTC) (envelope-from cwt@networks.cwu.edu) Received: from nsc0.cwu.edu (nsc0.cwu.edu [198.104.69.44]) by mx1.freebsd.org (Postfix) with ESMTP id 33A548FC21; Wed, 2 Apr 2008 17:46:42 +0000 (UTC) (envelope-from cwt@networks.cwu.edu) Received: from n.cwu.edu (n.cwu.edu [198.104.69.57]) by nsc0.cwu.edu (8.14.1/8.14.1) with ESMTP id m32HGHxi019024; Wed, 2 Apr 2008 10:16:17 -0700 (PDT) (envelope-from cwt@networks.cwu.edu) Received: from n.cwu.edu (localhost [127.0.0.1]) by n.cwu.edu (8.13.3/8.13.3) with ESMTP id m32HGHYu002188; Wed, 2 Apr 2008 10:16:17 -0700 (PDT) (envelope-from cwt@networks.cwu.edu) Received: from localhost (cwt@localhost) by n.cwu.edu (8.13.3/8.13.1/Submit) with ESMTP id m32HGH8t002185; Wed, 2 Apr 2008 10:16:17 -0700 (PDT) (envelope-from cwt@networks.cwu.edu) X-Authentication-Warning: n.cwu.edu: cwt owned process doing -bs Date: Wed, 2 Apr 2008 10:16:17 -0700 (PDT) From: Chris Timmons X-X-Sender: cwt@n.cwu.edu To: Ed Maste In-Reply-To: <20080401154009.GA56872@sandvine.com> Message-ID: <20080402100216.H177@n.cwu.edu> References: <20080102034228.M16861@mindcrime.int.bit0.com> <20080401154009.GA56872@sandvine.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-3.0 (nsc0.cwu.edu [198.104.69.44]); Wed, 02 Apr 2008 10:16:17 -0700 (PDT) Cc: freebsd-stable@freebsd.org, Mike Andrews Subject: Re: aac tool regressions on 7.0-RC1 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, 02 Apr 2008 17:46:42 -0000 Ed, Your work-around works on 7-stable as of this morning. I have quite a few 2200S equipped systems that I am transitioning from 6.X to 7-stable and aaccli is necessary to be able to insert/remove drives and initialize them into storage arrays. sysutils/arcconf says it needs aacraid-drivers from Adaptec's website to be fully functional; I don't see any FreeBSD drivers at Adaptec for the 2200S (perhaps they are available for a newer product but will work for this older adapter?) If aaccli is the only way to control the 2200S, is there some hope that a fix of some sort could ultimately be committed? Thanks for your effort. Regards, -Chris On Tue, 1 Apr 2008, Ed Maste wrote: > I suspect Adaptec has a firmware bug relating to the RequestAdapterInfo > and RequestSupplementAdapterInfo commands. The driver family support > brought in the latter, while the former has always been there. It > appears that RequestAdapterInfo returns all zeros if it's called after > RequestSupplementAdapterInfo or something. > > The hack patch below forces reasonable values into the aac_revision > struct if it's zeroed, and it restores aaccli usage for me. If you > have time I'd be interested in finding out if you can continue using > aaccli with this patch added. > > -Ed From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 19:18:42 2008 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 21DF6106564A for ; Wed, 2 Apr 2008 19:18:42 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from gw.sandvine.com (gw.sandvine.com [199.243.201.138]) by mx1.freebsd.org (Postfix) with ESMTP id BFA708FC1F for ; Wed, 2 Apr 2008 19:18:41 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by gw.sandvine.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Apr 2008 15:17:40 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id DD2D111704; Wed, 2 Apr 2008 15:17:39 -0400 (EDT) Date: Wed, 2 Apr 2008 15:17:39 -0400 From: Ed Maste To: Chris Timmons Message-ID: <20080402191739.GA92902@sandvine.com> References: <20080102034228.M16861@mindcrime.int.bit0.com> <20080401154009.GA56872@sandvine.com> <20080402100216.H177@n.cwu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080402100216.H177@n.cwu.edu> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 02 Apr 2008 19:17:40.0196 (UTC) FILETIME=[37F88A40:01C894F6] Cc: freebsd-stable@freebsd.org, Mike Andrews Subject: Re: aac tool regressions on 7.0-RC1 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, 02 Apr 2008 19:18:42 -0000 On Wed, Apr 02, 2008 at 10:16:17AM -0700, Chris Timmons wrote: > Ed, > > Your work-around works on 7-stable as of this morning. Excellent! I've actually committed a better fix to HEAD now (aac.c revision 1.137). The diffs[1] should apply cleanly to RELENG_7 and RELENG_6 I believe, and I plan to MFC them in a week or so. If you have time to try it out on 7 before then I'd like to find out if it solves the problem (properly) for you. > I have quite a few 2200S equipped systems that I am transitioning from 6.X > to 7-stable and aaccli is necessary to be able to insert/remove drives and > initialize them into storage arrays. > > sysutils/arcconf says it needs aacraid-drivers from Adaptec's website to > be fully functional; I don't see any FreeBSD drivers at Adaptec for the > 2200S (perhaps they are available for a newer product but will work for > this older adapter?) I think that note is obsolete; it was true but shouldn't be the case any longer after my recent set of aac changes to bring the CVS driver in line with Adaptec's. We use arcconf at work for building arrays, monitoring the controller, etc. on 22xx class cards as well as newer SAS/SATA cards like the 3805. Please give aaccli a try with the driver in 7-stable and let me know if you find any functionality that doesn't work. (6-stable doesn't have all of the changes yet, so I don't think it'll work there right now.) [1] http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/aac/aac.c.diff?r1=1.136;r2=1.137 -Ed From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 19:33:31 2008 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 9CEB41065677 for ; Wed, 2 Apr 2008 19:33:22 +0000 (UTC) (envelope-from forrie@forrie.com) Received: from forrie.com (demon.dce.harvard.edu [140.247.198.85]) by mx1.freebsd.org (Postfix) with ESMTP id 4403E8FC19 for ; Wed, 2 Apr 2008 19:33:22 +0000 (UTC) (envelope-from forrie@forrie.com) X-Envelope-From: forrie@forrie.com X-Envelope-To: X-Originating-IP: 140.247.198.51 Received: from dhcp-103-0-35.de-dhcp.harvard.edu (dce-gw.harvard.edu [140.247.198.51]) (authenticated as=forrie@forrie.com bits=0) by forrie.com (envelope-from forrie@forrie.com) (8.14.2/8.14.2) with ESMTP id m32JA0gB006636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Apr 2008 15:10:06 -0400 (EDT) Message-ID: <47F3DA07.4020209@forrie.com> Date: Wed, 02 Apr 2008 15:09:59 -0400 From: Forrest Aldrich User-Agent: Thunderbird 2.0.0.14pre (Macintosh/20080331) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/6560/Wed Apr 2 12:54:39 2008 on mail.forrie.com X-Virus-Status: Clean Subject: Digitally Signed Binaries w/ Kernel support, etc. 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, 02 Apr 2008 19:33:36 -0000 Does FreeBSD have support for digitally signed binary checking, similar to what Linux has with bsign and DigSig, where system binaries are signed and this signature is verified before being run in the kernel? This would be very useful to have to further tighen-down the system. Thanks. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 19:52:13 2008 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 E27D6106564A for ; Wed, 2 Apr 2008 19:52:13 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 76DE18FC26 for ; Wed, 2 Apr 2008 19:52:12 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7c3b.q.ppp-pool.de [89.53.124.59]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id AEC0112883F; Wed, 2 Apr 2008 21:52:02 +0200 (CEST) Received: from cesar.sz.vwsoft.com (cesar.sz.vwsoft.com [192.168.16.3]) (Authenticated sender: relay@sz.vwsoft.com) by mail.vtec.ipme.de (Postfix) with ESMTP id DB86E3F439; Wed, 2 Apr 2008 21:52:17 +0200 (CEST) Message-ID: <47F3E3D8.4080308@vwsoft.com> Date: Wed, 02 Apr 2008 21:51:52 +0200 From: Volker User-Agent: Thunderbird 2.0.0.12 (X11/20080316) MIME-Version: 1.0 To: Norberto Meijome References: <20080401125534.D94491@fledge.watson.org> <20080402131511.2940ef2e@meijome.net> In-Reply-To: <20080402131511.2940ef2e@meijome.net> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1207770739.4151@hOme0I7inLdYWf9ZGXodmA X-MailScanner-ID: DB86E3F439.1252F X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-stable@freebsd.org Subject: Re: Re: Q&A on textdumps (fwd) 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, 02 Apr 2008 19:52:14 -0000 On 12/23/-58 20:59, Norberto Meijome wrote: > On Tue, 1 Apr 2008 12:57:06 +0100 (BST) > Robert Watson wrote: > >> (7) I'm in DDB and I suddenly realize I want to save the output, and I haven't >> configured textdumps. What do I do? >> >> As with normal dumps, you must previously have configured support for a dump >> partition. These days, that is done automatically whenever you have swap >> configured on the box, so unless you're in single-user mode or don't have swap >> configured, you should be able to do the following: > > > First of all, thanks Robert - I am definitely not capable to debug kernel > crash, but the fact there are tools out there to make things easier is > definitely welcome ! :) > > What happens if one encrypts the swap with GELI? Is this the same case as > "no swap defined" ? I've found back in 6.x that dumps wouldn't work properly > (I cant remember whether it would dump the data into the current encrypted > disk, or geli would kick in before savedump on reboot....) Since then I have a > separate partition for the dumps defined in rc.conf and dumps work ok . Norberto, while the system is experiencing a panic, it does not have any knowledge about filesystems and also does not know about the GELI swap space anymore. In this situation the geli encrypted swap will be overwritten by a dump (either minidump or the classical one). When the system boots up again, it will check $dumpdev for a dump and save it to $savecore before geli swap is brought up again. Or in short: geli backed swap should not do you any harm. Volker From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 20:55:10 2008 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 4F4F7106566B for ; Wed, 2 Apr 2008 20:55:10 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id D2AFF8FC16 for ; Wed, 2 Apr 2008 20:55:09 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id m32Kcx8m060033; Wed, 2 Apr 2008 22:38:59 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 37590B8FE; Wed, 2 Apr 2008 22:38:59 +0200 (CEST) Date: Wed, 2 Apr 2008 22:38:59 +0200 From: Roland Smith To: Forrest Aldrich Message-ID: <20080402203859.GB80314@slackbox.xs4all.nl> Mail-Followup-To: Forrest Aldrich , freebsd-stable@freebsd.org References: <47F3DA07.4020209@forrie.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="St7VIuEGZ6dlpu13" Content-Disposition: inline In-Reply-To: <47F3DA07.4020209@forrie.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-stable@freebsd.org Subject: Re: Digitally Signed Binaries w/ Kernel support, etc. 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, 02 Apr 2008 20:55:10 -0000 --St7VIuEGZ6dlpu13 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 02, 2008 at 03:09:59PM -0400, Forrest Aldrich wrote: > Does FreeBSD have support for digitally signed binary checking, similar t= o=20 > what Linux has with bsign and DigSig, where system binaries are signed an= d=20 > this signature is verified before being run in the kernel? If an attacker can modify binaries, he already has root privileges. In that case, what will stop him from creating a new pgp key and re-sign his doctered binaries? > This would be very useful to have to further tighen-down the system. As an alternative, on FreeBSD you can set the system immutable flag on binaries (see chflags(1)), and set the securelevel > 0. See init(8). Once this is set, not even root can undo this. You have to reboot to reset the securelevel to -1. The only weakness is that the securelevel is set quite late in the boot process. An attacker could compromise the system if he gets access before the securelevel is set. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --St7VIuEGZ6dlpu13 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkfz7uMACgkQEnfvsMMhpyW8UgCaAorua/3SI0KpmLNHX/fD9Wv8 TzMAn2H2BXBL6W0rIgUGvDMUYFaGP+TK =FiqD -----END PGP SIGNATURE----- --St7VIuEGZ6dlpu13-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 23:06:29 2008 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 CAFDC106566B; Wed, 2 Apr 2008 23:06:29 +0000 (UTC) (envelope-from cwt@networks.cwu.edu) Received: from nsc0.cwu.edu (nsc0.cwu.edu [198.104.69.44]) by mx1.freebsd.org (Postfix) with ESMTP id 865078FC1D; Wed, 2 Apr 2008 23:06:29 +0000 (UTC) (envelope-from cwt@networks.cwu.edu) Received: from n.cwu.edu (n.cwu.edu [198.104.69.57]) by nsc0.cwu.edu (8.14.1/8.14.1) with ESMTP id m32N615v055983; Wed, 2 Apr 2008 16:06:01 -0700 (PDT) (envelope-from cwt@networks.cwu.edu) Received: from n.cwu.edu (localhost [127.0.0.1]) by n.cwu.edu (8.13.3/8.13.3) with ESMTP id m32N61Rh006276; Wed, 2 Apr 2008 16:06:01 -0700 (PDT) (envelope-from cwt@networks.cwu.edu) Received: from localhost (cwt@localhost) by n.cwu.edu (8.13.3/8.13.1/Submit) with ESMTP id m32N61El006273; Wed, 2 Apr 2008 16:06:01 -0700 (PDT) (envelope-from cwt@networks.cwu.edu) X-Authentication-Warning: n.cwu.edu: cwt owned process doing -bs Date: Wed, 2 Apr 2008 16:06:01 -0700 (PDT) From: Chris Timmons X-X-Sender: cwt@n.cwu.edu To: Ed Maste In-Reply-To: <20080402191739.GA92902@sandvine.com> Message-ID: <20080402155816.S177@n.cwu.edu> References: <20080102034228.M16861@mindcrime.int.bit0.com> <20080401154009.GA56872@sandvine.com> <20080402100216.H177@n.cwu.edu> <20080402191739.GA92902@sandvine.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-3.0 (nsc0.cwu.edu [198.104.69.44]); Wed, 02 Apr 2008 16:06:02 -0700 (PDT) Cc: freebsd-stable@freebsd.org, Mike Andrews Subject: Re: aac tool regressions on 7.0-RC1 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, 02 Apr 2008 23:06:29 -0000 The diff applied cleanly except for the __FBSDID(). With this new revision, I can still run batch scripts as shown below and get the correct output from aaccli. Unfortunately, if you manually invoke aaccli and type in "open aac0", all terminal input is locked. The only way to recover the process is to kill it from another window. While this was going on, I did notice devd was active in top(1) output. On the system with the hack-patch, there is no problem with interactive terminal I/O w/aaccli after "open aac0". You can continue to enter commands interactively and see the expected output. My 7-stable sources are from around 11am PDT today, with just the aac.c patched as you suggested. -c aaccli <<- EOF open aac0 logfile start $LOGFILE enclosure show status logfile end close exit EOF On Wed, 2 Apr 2008, Ed Maste wrote: > Excellent! I've actually committed a better fix to HEAD now (aac.c > revision 1.137). The diffs[1] should apply cleanly to RELENG_7 and > RELENG_6 I believe, and I plan to MFC them in a week or so. If you have > time to try it out on 7 before then I'd like to find out if it solves > the problem (properly) for you. > > Please give aaccli a try with the driver in 7-stable and let me know if > you find any functionality that doesn't work. (6-stable doesn't have > all of the changes yet, so I don't think it'll work there right now.) > > [1] http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/aac/aac.c.diff?r1=1.136;r2=1.137 > > -Ed > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 03:00:20 2008 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 5303C106566B for ; Thu, 3 Apr 2008 03:00:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 441AB8FC22 for ; Thu, 3 Apr 2008 03:00:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id C0F081A4D7E; Wed, 2 Apr 2008 20:00:19 -0700 (PDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Wed, 2 Apr 2008 16:19:58 -0400 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804021619.58282.jhb@freebsd.org> Cc: =?utf-8?q?=ED=95=9C=EC=9B=90=ED=9D=AC?= Subject: Re: Don't recognizing SMP... 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, 03 Apr 2008 03:00:20 -0000 On Monday 31 March 2008 05:31:49 am =ED=95=9C=EC=9B=90=ED=9D=AC wrote: > I installed FreeBSD 7.0 on HP DL 380. > > This is a mptable result. 7.0 will use ACPI instead of MP Table if ACPI exists. What does acpidump -= t=20 show? =2D-=20 John Baldwin From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 11:23:53 2008 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 91519106566C for ; Thu, 3 Apr 2008 11:23:53 +0000 (UTC) (envelope-from davids@webmaster.com) Received: from mail1.webmaster.com (mail1.webmaster.com [216.152.64.169]) by mx1.freebsd.org (Postfix) with ESMTP id 7AD568FC0C for ; Thu, 3 Apr 2008 11:23:53 +0000 (UTC) (envelope-from davids@webmaster.com) Received: from however by webmaster.com (MDaemon.PRO.v8.1.3.R) with ESMTP id md50001982473.msg for ; Thu, 03 Apr 2008 04:14:03 -0700 From: "David Schwartz" To: "Forrest Aldrich" Date: Thu, 3 Apr 2008 04:12:27 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <20080402203859.GB80314@slackbox.xs4all.nl> Importance: Normal X-Authenticated-Sender: joelkatz@webmaster.com X-Spam-Processed: mail1.webmaster.com, Thu, 03 Apr 2008 04:14:03 -0700 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 206.171.168.138 X-Return-Path: davids@webmaster.com X-MDaemon-Deliver-To: freebsd-stable@freebsd.org X-MDAV-Processed: mail1.webmaster.com, Thu, 03 Apr 2008 04:14:05 -0700 Cc: freebsd-stable@freebsd.org Subject: RE: Digitally Signed Binaries w/ Kernel support, etc. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davids@webmaster.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2008 11:23:53 -0000 > On Wed, Apr 02, 2008 at 03:09:59PM -0400, Forrest Aldrich wrote: > > Does FreeBSD have support for digitally signed binary checking, > > similar to > > what Linux has with bsign and DigSig, where system binaries are > > signed and > > this signature is verified before being run in the kernel? > If an attacker can modify binaries, he already has root privileges. In > that case, what will stop him from creating a new pgp key and re-sign > his doctered binaries? The fact that there would be no signed executable that would give him that functionality. In order to tell the kernel to accept his key, he would need some application that did that, and such an application would not be signed. He would face a chicken and egg problem. To make a signed executable to set his key to be accepted, he would need his key to already be accepted. However, I agree that this is kind of pointless. It's like adding extra locks to the back door when the front door is just as open. Once someone gets root, odds are they can exploit an executable -- even if it's signed -- using the same process they used to get root in the first place. Do you have a signed 'rm' on the system? A person with root can do an awful lot of damage with 'rm'. Without 'rm', the system isn't very useful. You can truncate any non-immutable file with just a shell. A machine isn't very useful without a shell. And if the goal is to protect against people who have root (whether by accident or malice), you really didn't want to give them root. DS From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 11:43:36 2008 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 5D413106566B for ; Thu, 3 Apr 2008 11:43:36 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 13AD78FC16 for ; Thu, 3 Apr 2008 11:43:35 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JhNqr-0006gO-1g for freebsd-stable@freebsd.org; Thu, 03 Apr 2008 11:43:29 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2008 11:43:29 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2008 11:43:29 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Thu, 03 Apr 2008 13:43:14 +0200 Lines: 62 Message-ID: References: <16447331.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2266955316386F493D025CC2" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: <16447331.post@talk.nabble.com> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: ZFS & Bittorent -> Hang? 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, 03 Apr 2008 11:43:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2266955316386F493D025CC2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable jbsnyder wrote: > Hi - >=20 > I'm not yet filing a PR on this since I'm wondering if anyone else has > experienced this issue. I've got ZFS running on a raid-z with 4 disks,= > C2Duo 2.33 Ghz, 64-bit FreeBSD 7 release, 4GB RAM. For the most part t= his > has been working perfectly, but I recently I tried using transmission-d= aemon > (a bittorrent client/daemon) to download a few things and noticed that = if it > runs for an extended period of time, a lot of processes are waiting on = zfs > and just hang. If I'm not logged in while this is happens, SSH access > hangs. Also, if I manage to be logged in, AFP access to the volume, an= d > some heavier disk access items (like building from ports at stages of > unzipping archives and checksumming) seem to hang as well. >=20 > I've not done extensive testing, but the same behavior has been exhibit= ed > both times I've tried it. The interesting thing is that the transmissi= on > seems to keep on chugging, and does finish downloading eventually, it's= just > that everything else doesn't get a chance at getting some IO, even if I= kill > the transmission-daemon. >=20 > I've done the recommended tweaks on the freebsd wiki for AMD64 machines= , and > I'm running ULE. Otherwise things are pretty standard. >=20 > I'll file a more detailed PR with some additional testing if nobody els= e has > encountered this and/or has a workaround. http://wiki.freebsd.org/ZFSKnownProblems This looks like #1. --------------enig2266955316386F493D025CC2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH9MLTldnAQVacBcgRAondAKCSXswSZV/QMcR8/2v4+APY+pudMgCgwhiy d4Thf+oYM0cIZkEcukP5fxI= =batQ -----END PGP SIGNATURE----- --------------enig2266955316386F493D025CC2-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 11:50:07 2008 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 73642106566B for ; Thu, 3 Apr 2008 11:50:07 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id EFE8F8FC0A for ; Thu, 3 Apr 2008 11:50:06 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JhNxC-0006yQ-V5 for freebsd-stable@freebsd.org; Thu, 03 Apr 2008 11:50:02 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2008 11:50:02 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2008 11:50:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Thu, 03 Apr 2008 13:46:39 +0200 Lines: 47 Message-ID: References: <47F3DA07.4020209@forrie.com> <20080402203859.GB80314@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBB26BF08CA10B130C23DE644" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: <20080402203859.GB80314@slackbox.xs4all.nl> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: Digitally Signed Binaries w/ Kernel support, etc. 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, 03 Apr 2008 11:50:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBB26BF08CA10B130C23DE644 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Roland Smith wrote: > On Wed, Apr 02, 2008 at 03:09:59PM -0400, Forrest Aldrich wrote: >> Does FreeBSD have support for digitally signed binary checking, simila= r to=20 >> what Linux has with bsign and DigSig, where system binaries are signed= and=20 >> this signature is verified before being run in the kernel? >=20 > If an attacker can modify binaries, he already has root privileges. In > that case, what will stop him from creating a new pgp key and re-sign > his doctered binaries? >=20 >> This would be very useful to have to further tighen-down the system. >=20 > As an alternative, on FreeBSD you can set the system immutable flag on > binaries (see chflags(1)), and set the securelevel > 0. See > init(8). Once this is set, not even root can undo this. You have to > reboot to reset the securelevel to -1. Signing binaries could be naturally tied in with securelevel, where some securelevel (1?) would mean kernel no longer accepts new keys. > The only weakness is that the securelevel is set quite late in the boot= > process. An attacker could compromise the system if he gets access > before the securelevel is set. --------------enigBB26BF08CA10B130C23DE644 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH9MOfldnAQVacBcgRAqTaAJ9ipONFQIGOYxYKpbiByRCdEyLQvwCfTCd6 BVj7lJYaNjUWDjFXmO8cuP8= =RAbH -----END PGP SIGNATURE----- --------------enigBB26BF08CA10B130C23DE644-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 11:51:55 2008 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 33E511065670 for ; Thu, 3 Apr 2008 11:51:55 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id BE8E38FC14 for ; Thu, 3 Apr 2008 11:51:54 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-064-183-238.pools.arcor-ip.net [88.64.183.238]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1JhNyz3BRY-0000nO; Thu, 03 Apr 2008 13:51:54 +0200 Received: (qmail 90622 invoked from network); 3 Apr 2008 11:50:55 -0000 Received: from myhost.laiers.local (192.168.4.151) by mx.laiers.local with SMTP; 3 Apr 2008 11:50:55 -0000 From: Max Laier Organization: FreeBSD To: freebsd-stable@freebsd.org Date: Thu, 3 Apr 2008 13:49:41 +0200 User-Agent: KMail/1.9.9 References: <47F3DA07.4020209@forrie.com> In-Reply-To: <47F3DA07.4020209@forrie.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804031349.41159.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1/o6xJ0efobSNnJ2P7Z32UtAXe+7SI30IzfWxW +Vkyo52ErSHFjrW5BJWlPDJRW5V0MzkAKMtBRVfZejG1ktBGEp FTPUeYkxzUC+i2KyuGaYg== Cc: Forrest Aldrich , csjp@freebsd.org Subject: Re: Digitally Signed Binaries w/ Kernel support, etc. 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, 03 Apr 2008 11:51:55 -0000 On Wednesday 02 April 2008 21:09:59 Forrest Aldrich wrote: > Does FreeBSD have support for digitally signed binary checking, similar > to what Linux has with bsign and DigSig, where system binaries are > signed and this signature is verified before being run in the kernel? There is mac_chkexec[1], but I'm not sure about its status. > This would be very useful to have to further tighen-down the system. [1]http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/projects/trustedbsd/mac/sys/security/mac%5fchkexec&HIDEDEL=NO -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 14:22:22 2008 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 6DBDA1065670 for ; Thu, 3 Apr 2008 14:22:22 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id D9DEE8FC13 for ; Thu, 3 Apr 2008 14:22:21 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 11585 invoked from network); 3 Apr 2008 09:22:21 -0500 Received: from 124-170-96-213.dyn.iinet.net.au (HELO localhost) (124.170.96.213) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 3 Apr 2008 09:22:21 -0500 Date: Fri, 4 Apr 2008 01:22:11 +1100 From: Norberto Meijome To: Volker Message-ID: <20080404012211.2bff6dd2@meijome.net> In-Reply-To: <47F3E3D8.4080308@vwsoft.com> References: <20080401125534.D94491@fledge.watson.org> <20080402131511.2940ef2e@meijome.net> <47F3E3D8.4080308@vwsoft.com> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Q&A on textdumps (fwd) 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, 03 Apr 2008 14:22:22 -0000 On Wed, 02 Apr 2008 21:51:52 +0200 Volker wrote: > while the system is experiencing a panic, it does not have any knowledge > about filesystems and also does not know about the GELI swap space anymore. > > In this situation the geli encrypted swap will be overwritten by a dump > (either minidump or the classical one). When the system boots up again, > it will check $dumpdev for a dump and save it to $savecore before geli > swap is brought up again. > > Or in short: geli backed swap should not do you any harm. Hi Volker, That is what I had thought. But I clearly remember, back in 6.x the dump would be written to swap, then on restart, geli would kick in before savedump , therefore obliterating anything saved from the previous session. I will need to retest this...luckily 7-STABLE has been rock solid and haven't experienced many crashes. btw, how do I trigger a panic manually? :D cheers, B _________________________ {Beto|Norberto|Numard} Meijome "A fanatic is one who can't change his mind and won't change the subject." Sir Winston Churchill I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 14:32:04 2008 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 3E7091065675 for ; Thu, 3 Apr 2008 14:32:04 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9551E8FC1D for ; Thu, 3 Apr 2008 14:32:03 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m33EVmlp030202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Apr 2008 15:31:49 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <47F4EA5F.50208@unsane.co.uk> Date: Thu, 03 Apr 2008 15:31:59 +0100 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.12 (X11/20080327) MIME-Version: 1.0 To: Norberto Meijome References: <20080401125534.D94491@fledge.watson.org> <20080402131511.2940ef2e@meijome.net> <47F3E3D8.4080308@vwsoft.com> <20080404012211.2bff6dd2@meijome.net> In-Reply-To: <20080404012211.2bff6dd2@meijome.net> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Volker , freebsd-stable@freebsd.org Subject: Re: Q&A on textdumps (fwd) 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, 03 Apr 2008 14:32:04 -0000 Norberto Meijome wrote: > On Wed, 02 Apr 2008 21:51:52 +0200 > Volker wrote: > >> while the system is experiencing a panic, it does not have any knowledge >> about filesystems and also does not know about the GELI swap space anymore. >> >> In this situation the geli encrypted swap will be overwritten by a dump >> (either minidump or the classical one). When the system boots up again, >> it will check $dumpdev for a dump and save it to $savecore before geli >> swap is brought up again. >> >> Or in short: geli backed swap should not do you any harm. > > Hi Volker, > That is what I had thought. But I clearly remember, back in 6.x the dump would be written to swap, then on restart, geli would kick in before savedump , therefore obliterating anything saved from the previous session. > > I will need to retest this...luckily 7-STABLE has been rock solid and haven't experienced many crashes. > > btw, how do I trigger a panic manually? :D > sysctl debug.kdb.panic=1 according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-online-ddb.html anyway :) Vince > cheers, > B > > _________________________ > {Beto|Norberto|Numard} Meijome > > "A fanatic is one who can't change his mind and won't change the subject." > Sir Winston Churchill > > I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. > _______________________________________________ > 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 3 15:01:16 2008 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 C5BA91065673 for ; Thu, 3 Apr 2008 15:01:16 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id 770918FC17 for ; Thu, 3 Apr 2008 15:01:16 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0JYR00KBX8DF5T10@osl1smout1.broadpark.no> for freebsd-stable@freebsd.org; Thu, 03 Apr 2008 17:00:51 +0200 (CEST) Received: from kg-work.kg4.no ([80.202.173.59]) by osl1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0JYR004Z68DE3G74@osl1sminn1.broadpark.no> for freebsd-stable@freebsd.org; Thu, 03 Apr 2008 17:00:51 +0200 (CEST) Date: Thu, 03 Apr 2008 17:00:50 +0200 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-id: <20080403170050.c0110778.torfinn.ingolfsen@broadpark.no> In-reply-to: References: <20080402203859.GB80314@slackbox.xs4all.nl> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd6.3) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: Digitally Signed Binaries w/ Kernel support, etc. 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, 03 Apr 2008 15:01:16 -0000 On Thu, 03 Apr 2008 04:12:27 -0700 David Schwartz wrote: > He would face a chicken and egg problem. To make a signed executable > to set his key to be accepted, he would need his key to already be > accepted. Uhm, if the attacker managed to get a hole in the sustem and get in, he / she will surely manage to get the necessary tools (a signed binrary) onto the system. As an added bonus, this is a binary he created himself, so it works with his key. > However, I agree that this is kind of pointless. It's like adding > extra locks to the back door when the front door is just as open. > Once someone gets root, odds are they can exploit an executable -- > even if it's signed -- using the same process they used to get root > in the first place. Exactly. PLease use the tools that are already available (securelevel in this case) before thinking up new ones that FreeBSD might or might not "need". Just my 0.2 eurocents. -- Regards, Torfinn Ingolfsen From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 16:41:11 2008 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 6D26B106567A for ; Thu, 3 Apr 2008 16:41:11 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id F03038FC1E for ; Thu, 3 Apr 2008 16:41:10 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id m33Gf9bR002413; Thu, 3 Apr 2008 18:41:09 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id E40B3B82D; Thu, 3 Apr 2008 18:41:08 +0200 (CEST) Date: Thu, 3 Apr 2008 18:41:08 +0200 From: Roland Smith To: Ivan Voras Message-ID: <20080403164108.GA12190@slackbox.xs4all.nl> Mail-Followup-To: Ivan Voras , freebsd-stable@freebsd.org References: <47F3DA07.4020209@forrie.com> <20080402203859.GB80314@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-stable@freebsd.org Subject: Re: Digitally Signed Binaries w/ Kernel support, etc. 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, 03 Apr 2008 16:41:11 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 03, 2008 at 01:46:39PM +0200, Ivan Voras wrote: > Roland Smith wrote: > > On Wed, Apr 02, 2008 at 03:09:59PM -0400, Forrest Aldrich wrote: > >> Does FreeBSD have support for digitally signed binary checking, simila= r to=20 > >> what Linux has with bsign and DigSig, where system binaries are signed= and=20 > >> this signature is verified before being run in the kernel? > >=20 > > If an attacker can modify binaries, he already has root privileges. In > > that case, what will stop him from creating a new pgp key and re-sign > > his doctered binaries? > >=20 > >> This would be very useful to have to further tighen-down the system. > >=20 > > As an alternative, on FreeBSD you can set the system immutable flag on > > binaries (see chflags(1)), and set the securelevel > 0. See > > init(8). Once this is set, not even root can undo this. You have to > > reboot to reset the securelevel to -1. >=20 > Signing binaries could be naturally tied in with securelevel, where some > securelevel (1?) would mean kernel no longer accepts new keys. If you set the system immutable flag on the binaries, you cannot modify the= m at all at securelevel >0. Signing the binaries would be pointless in that case. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkf1CKQACgkQEnfvsMMhpyUIZwCgimdDpoEgUWY9pKy/Zzm3VWDW ymoAnArmt7EXjRhmtXwl5qRzxvDG8kDQ =svlB -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 18:40:08 2008 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 2E74F106564A for ; Thu, 3 Apr 2008 18:40:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id D48348FC27 for ; Thu, 3 Apr 2008 18:40:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 47D0741C75E; Thu, 3 Apr 2008 20:40:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 7EIn33-R5QEe; Thu, 3 Apr 2008 20:40:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 92B5B41C75A; Thu, 3 Apr 2008 20:40:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id ECBFE44487F; Thu, 3 Apr 2008 18:39:03 +0000 (UTC) Date: Thu, 3 Apr 2008 18:39:03 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: =?ISO-8859-1?Q?Johan_Str=F6m?= In-Reply-To: Message-ID: <20080403183522.X66744@maildrop.int.zabbadoz.net> References: X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-2274503-1207247943=:66744" Cc: freebsd-jail@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 7 and multiple IP (mijail-patch in 6.x) 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, 03 Apr 2008 18:40:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-2274503-1207247943=:66744 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 31 Mar 2008, Johan Str=F6m wrote: Hi, > I got a machine running 6.2 right now, which is being replaced. And since= SMP=20 > performance is much better on 7.x I'd like to go with 7.0 (and many ppl h= ave=20 > indeed verified that it works good on this box, HP DL360 G5)... > But, now when I start to setup the machine, I recalled that i've patched = the=20 > 6.2 box with the freebsd mijail patch=20 > (http://www.digitaldaemon.com/FreeBSD/FreeBSD/FreeBSD_6.2-STABLE-mijail.p= atch). > However, I cannot find anywhere about FreeBSD 7 and a similar patch. A qu= ick=20 > look at the patch vs the 7.x source tells me it won't apply cleanly, but = from=20 > what I've seen quickly, it could maybe be done. The differences I've seen= =20 > doesn't look too advanced, but then again, I'm not a kernel developer... > > So, I'd like to know if anyone considered this on 7.x, or if anyone can t= ell=20 > me immediately that this wont work or will be LOTS of work, or just some= =20 > patch line adjusting? Ie, how big are the changes from 6.x to 7.x in thes= e=20 > sections? I had planned to have a patch for multiv4/v6 jails last month but it's not yet publicly available. I have sent it off to some people for review. In case the above is a successor of pjd's multi-ip v4 jail patch I can give you a plain forward port to a FreeBSD 7 system (which might have possible locking issues I have never experienced). All depends on how quickly you need it. /bz --=20 Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time. --0-2274503-1207247943=:66744-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 18:45:07 2008 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 1FB85106566C for ; Thu, 3 Apr 2008 18:45:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id B80748FC1E for ; Thu, 3 Apr 2008 18:45:06 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id C884C41C703; Thu, 3 Apr 2008 20:45:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id YLbH4OR-S3gv; Thu, 3 Apr 2008 20:45:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 60F9E41C736; Thu, 3 Apr 2008 20:45:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 4CDDB44487F; Thu, 3 Apr 2008 18:44:00 +0000 (UTC) Date: Thu, 3 Apr 2008 18:44:00 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Doug Hardie In-Reply-To: Message-ID: <20080403183952.G66744@maildrop.int.zabbadoz.net> References: X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Stable Subject: Re: Access Problems with 7.0 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, 03 Apr 2008 18:45:07 -0000 On Mon, 31 Mar 2008, Doug Hardie wrote: Hi, >> I recently upgraded 3 of my 5 servers to 7.0. Two of them are on new >> hardware and one is on hardware that used to run 6.2. Since then, 2 of my >> thousands of users are unable to access the servers running 7.0. They can >> access the server running 6.2 just fine. What happens is the server >> receives the SYN packet from the client properly and then responds with the >> SYN packet. Nothing more is heard from the client. The server sends a few >> duplicates of the SYN and then drops the connection. >> >> At this point I am not able to verify that the client receives the SYN. >> Neither of them has a clue about tcpdump. The packets look fine on this >> end (included later). Both are using Windows, including XP and Vista. I >> suspect they are receiving it and not accepting it for some reason. >> However, I don't really see anything that would cause that behavior in the >> packets. I can't reproduce the problem here. Every computer I can try >> works just fine. >> >> Here is one of the packet traces: >> >> 11:59:00.630414 00:00:0c:38:6f:e1 (oui Cisco) > 00:a0:cc:3e:87:9e (oui >> Unknown), ethertype IPv4 (0x0800), length 66: >> cpe-76-169-78-119.socal.res.rr.com.59025 > zool.lafn.org.8000: S >> 2779920420:2779920420(0) win 8192 >> >> 11:59:00.630634 00:a0:cc:3e:87:9e (oui Unknown) > 00:00:0c:38:6f:e1 (oui >> Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000 > >> cpe-76-169-78-119.socal.res.rr.com.59025: S >> 2480373222:2480373222(0) ack 2779920421 win 65535 > 3,sackOK,eol> >> >> 11:59:03.613011 00:00:0c:38:6f:e1 (oui Cisco) > 00:a0:cc:3e:87:9e (oui >> Unknown), ethertype IPv4 (0x0800), length 66: >> cpe-76-169-78-119.socal.res.rr.com.59025 > zool.lafn.org.8000: S >> 2779920420:2779920420(0) win 8192 >> >> 11:59:03.613194 00:a0:cc:3e:87:9e (oui Unknown) > 00:00:0c:38:6f:e1 (oui >> Cisco), ethertype IPv4 (0x0800), length 66: zool.lafn.org.8000 > >> cpe-76-169-78-119.socal.res.rr.com.59025: S 2480373222:2480373222(0) ack >> 2779920421 win 65535 >> > > Checking with the 6.2 server I see there are some differences in the TCP > options. 7.0 includes wscale 3 where 6.2 does not. Is there a way to > disable that feature using sysctl to see if thats the issue? You want to update to 7-STABLE which has the TCP fixes or you want to apply the following changes: 1.141.2.4 +10 -2 src/sys/netinet/tcp_output.c 1.157.2.2 +5 -2 src/sys/netinet/tcp_var.h In case you are not using MD5 that should be enough. Else see freebsd-net from the last 3 days for another patch. /bz -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 20:27:14 2008 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 43B2E106564A; Thu, 3 Apr 2008 20:27:14 +0000 (UTC) (envelope-from johan@stromnet.se) Received: from core.stromnet.se (core.stromnet.se [83.218.84.131]) by mx1.freebsd.org (Postfix) with ESMTP id E97E68FC12; Thu, 3 Apr 2008 20:27:13 +0000 (UTC) (envelope-from johan@stromnet.se) Received: from localhost (core.stromnet.se [83.218.84.131]) by core.stromnet.se (Postfix) with ESMTP id 69614D46412; Thu, 3 Apr 2008 22:27:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at stromnet.se Received: from core.stromnet.se ([83.218.84.131]) by localhost (core.stromnet.se [83.218.84.135]) (amavisd-new, port 10024) with ESMTP id XzW7fP0PQ88X; Thu, 3 Apr 2008 22:27:08 +0200 (CEST) Received: from johan-mp.stromnet.se (90-224-172-102-no129.tbcn.telia.com [90.224.172.102]) by core.stromnet.se (Postfix) with ESMTP id 81EC9D46405; Thu, 3 Apr 2008 22:27:08 +0200 (CEST) Message-Id: <1A0C7A63-5796-48EE-B104-E25845D78422@stromnet.se> From: =?ISO-8859-1?Q?Johan_Str=F6m?= To: freebsd-jail@freebsd.org, freebsd-stable@freebsd.org In-Reply-To: <20080403183522.X66744@maildrop.int.zabbadoz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 3 Apr 2008 22:27:08 +0200 References: <20080403183522.X66744@maildrop.int.zabbadoz.net> X-Mailer: Apple Mail (2.919.2) Cc: Subject: Re: FreeBSD 7 and multiple IP (mijail-patch in 6.x) 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, 03 Apr 2008 20:27:14 -0000 On Apr 3, 2008, at 8:39 PM, Bjoern A. Zeeb wrote: > On Mon, 31 Mar 2008, Johan Str=F6m wrote: > > Hi, > >> I got a machine running 6.2 right now, which is being replaced. And =20= >> since SMP performance is much better on 7.x I'd like to go with 7.0 =20= >> (and many ppl have indeed verified that it works good on this box, =20= >> HP DL360 G5)... >> But, now when I start to setup the machine, I recalled that i've =20 >> patched the 6.2 box with the freebsd mijail patch = (http://www.digitaldaemon.com/FreeBSD/FreeBSD/FreeBSD_6.2-STABLE-mijail.pa= tch=20 >> ). >> However, I cannot find anywhere about FreeBSD 7 and a similar =20 >> patch. A quick look at the patch vs the 7.x source tells me it =20 >> won't apply cleanly, but from what I've seen quickly, it could =20 >> maybe be done. The differences I've seen doesn't look too advanced, =20= >> but then again, I'm not a kernel developer... >> >> So, I'd like to know if anyone considered this on 7.x, or if anyone =20= >> can tell me immediately that this wont work or will be LOTS of =20 >> work, or just some patch line adjusting? Ie, how big are the =20 >> changes from 6.x to 7.x in these sections? > > I had planned to have a patch for multiv4/v6 jails last month but =20 > it's not > yet publicly available. I have sent it off to some people for review. > > In case the above is a successor of pjd's multi-ip v4 jail patch I can > give you a plain forward port to a FreeBSD 7 system (which might have > possible locking issues I have never experienced). > > All depends on how quickly you need it. Hello, thanks for your answer. Yep, the patch i've been using on 6 looks very much like pjd's = (http://people.freebsd.org/~pjd/patches/mijail5.patch=20 ). Are you using this Fbsd7-port, or do you have any idea if anyone =20 does/how much it have been tested? I have no need for IPv6 right now, so if nothing else, I'd be glad to =20= test the 7-port of pjd's to see if it works. That sounds kindof what I =20= thought to do so.. :) Thank you! -- Johan From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 20:41:28 2008 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 4D7F3106564A for ; Thu, 3 Apr 2008 20:41:28 +0000 (UTC) (envelope-from m.verver@student.utwente.nl) Received: from mx.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feba:632a]) by mx1.freebsd.org (Postfix) with ESMTP id BCA9C8FC17 for ; Thu, 3 Apr 2008 20:41:27 +0000 (UTC) (envelope-from m.verver@student.utwente.nl) Received: from heaven.student.utwente.nl (heaven.student.utwente.nl [130.89.167.52]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m33KZvlg019126 for ; Thu, 3 Apr 2008 22:35:57 +0200 From: Maks Verver To: freebsd-stable@freebsd.org Date: Thu, 3 Apr 2008 22:35:48 +0200 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804032235.48678.m.verver@student.utwente.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: m.verver@student.utwente.nl X-Spam-Status: No Subject: System hangs when /var partition full (vnode_pager_putpages errors) 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, 03 Apr 2008 20:41:28 -0000 Hi, I recently encountered an error, where executing the ImageMagick "convert" tool as an unpriviliged user caused the system to hang. The error is similar to one reported in 2004: http://lists.freebsd.org/mailman/htdig/freebsd-stable/2004-March/006493.html There is also an open bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/67919 I'll give some more details on my situation, although it's really very similar to the one described on the mailing list. I use ImageMagick to resample a 300kb 1024x768 resolution JPEG file to 800x600, which causes ImageMagick to create a temporary file (not sure how large, sorry) in /var/tmp. The /var paritition does not have enough space apparently, and the system hangs, while printing repeatedly: kernel: vnode_pager_putpages: I/O error 28 kernel: vnode_pager_putpages: residual I/O 65536 at 74284 kernel: pid 42 (syncer), uid 0 inumber 70779 on /var: filesystem full At this point, the system still responds to ping, but anything else (presumable anything involving disk I/O) is impossible, including logging in locally. (In the previous discussion it was suggested that the hang-up was actually caused by the amount of messages being printed, but this is not the case, as in FreeSD 7 these messages are printed only once each second.) The bug report is from 2004 (last modified in 2005); is there any chance this will be resolved in the future? I can work around it temporarily by ensuring there is enough space on /var (and using ulimit when I invoke convert) but it still means that any malevolent user can crash the system. That's the kind of shenanigans I'd expect on a Linux system ;-) not on FreeBSD which is usually very stable. To summarize: are people aware this problem still exists, is it recognized as an important issue, and are there plans to fix it? Kind regards, Maks Verver. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 21:15:33 2008 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 33D79106566C for ; Thu, 3 Apr 2008 21:15:33 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id B9BD88FC0C for ; Thu, 3 Apr 2008 21:15:32 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7d8e.q.ppp-pool.de [89.53.125.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 510C612883F; Thu, 3 Apr 2008 23:15:25 +0200 (CEST) Received: from cesar.sz.vwsoft.com (cesar.sz.vwsoft.com [192.168.16.3]) (Authenticated sender: relay@sz.vwsoft.com) by mail.vtec.ipme.de (Postfix) with ESMTP id 49C033F443; Thu, 3 Apr 2008 23:15:35 +0200 (CEST) Message-ID: <47F548D9.8060905@vwsoft.com> Date: Thu, 03 Apr 2008 23:15:05 +0200 From: Volker User-Agent: Thunderbird 2.0.0.12 (X11/20080316) MIME-Version: 1.0 To: Norberto Meijome References: <20080401125534.D94491@fledge.watson.org> <20080402131511.2940ef2e@meijome.net> <47F3E3D8.4080308@vwsoft.com> <20080404012211.2bff6dd2@meijome.net> In-Reply-To: <20080404012211.2bff6dd2@meijome.net> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1207862144.59949@sOP9Qu8PDt7B93k0OoX4XQ X-MailScanner-ID: 49C033F443.A04AA X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-stable@freebsd.org Subject: Re: Q&A on textdumps (fwd) 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, 03 Apr 2008 21:15:33 -0000 On 04/03/08 16:22, Norberto Meijome wrote: > On Wed, 02 Apr 2008 21:51:52 +0200 > Volker wrote: > >> while the system is experiencing a panic, it does not have any knowledge >> about filesystems and also does not know about the GELI swap space anymore. >> >> In this situation the geli encrypted swap will be overwritten by a dump >> (either minidump or the classical one). When the system boots up again, >> it will check $dumpdev for a dump and save it to $savecore before geli >> swap is brought up again. >> >> Or in short: geli backed swap should not do you any harm. > > Hi Volker, > That is what I had thought. But I clearly remember, back in 6.x the dump would be written to swap, then on restart, geli would kick in before savedump , therefore obliterating anything saved from the previous session. > > I will need to retest this...luckily 7-STABLE has been rock solid and haven't experienced many crashes. Hi Norberto, you may check the start order by using: `rcorder /etc/rc.d/* /usr/local/etc/rc.d/*' On my 7-stable system, the interesting ones are in this order: dumpon geli encswap swap1 savecore ...ouch! ;) This does not look like the order it should be but I think (fortunately) in most situations this should be ok as nothing gets written to swap space before daemon processes are brought up. On the other side, savecore needs mounted filesystems to save the core to /var/crash. Volker From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 21:38:00 2008 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 A420F106566B; Thu, 3 Apr 2008 21:38:00 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 06AB88FC24; Thu, 3 Apr 2008 21:37:59 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m33Lc3CT039531; Thu, 3 Apr 2008 16:38:03 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m33Lc32N039530; Thu, 3 Apr 2008 16:38:03 -0500 (CDT) (envelope-from brooks) Date: Thu, 3 Apr 2008 16:38:03 -0500 From: Brooks Davis To: Robert Watson Message-ID: <20080403213803.GA39213@lor.one-eyed-alien.net> References: <20080401125534.D94491@fledge.watson.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: <20080401125534.D94491@fledge.watson.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Thu, 03 Apr 2008 16:38:03 -0500 (CDT) Cc: stable@freebsd.org Subject: Re: Q&A on textdumps (fwd) 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, 03 Apr 2008 21:38:00 -0000 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 01, 2008 at 12:57:06PM +0100, Robert Watson wrote: >=20 > Dear all, >=20 > I've now completed the MFC of basic textdump support to 7.0. Once I've h= ad=20 > a chance to ping Brooks about it, either he or I will MFC support for=20 > ddb.conf, which allows configuring textdump and debugging scripts=20 > automatically at boot. I've attached a Q&A post I made to current@ after= =20 > committing textdump support to HEAD, and you can also consult textdump(4)= =20 > and ddb(4) for more information. I've MFC'd support for reading ddb.conf at boot. -- Brooks > Thanks, >=20 > Robert N M Watson > Computer Laboratory > University of Cambridge >=20 > ---------- Forwarded message ---------- > Date: Sun, 30 Dec 2007 13:11:29 +0000 (GMT) > From: Robert Watson > To: current@freeBSD.org > Subject: Q&A on textdumps >=20 >=20 > Dear all, >=20 > I've received a few textdump-related questions that I thought I'd share m= y=20 > answers to. >=20 > (1) What information is in a textdump? >=20 > The textdump is stored as a tarfile with several subfiles in it: >=20 > config.txt - Kernel configuration, if compiled into kernel > ddb.txt - Captured DDB output, if present > msgbuf.txt - Kernel message buffer > panic.txt - Kernel panic message, if there was a panic > version.txt - Kernel version string >=20 > It is easy to add new files to textdumps, so if there's some easily=20 > extractable kernel state that you feel should go in there, drop me an=20 > e-mail and/or send a patch. >=20 > (2) Is there any information in a textdump that can't be acquired using= =20 > kgdb and other available dump analysis tools? >=20 > In principle no, as normal dumps include all kernel memory, and textdumps= =20 > operate by inspecting kernel memory using DDB, capturing only small but= =20 > presumably relevant parts. However, there are some important differences= =20 > in approach that mean that textdumps can be used in ways that regular dum= ps=20 > can't easily be: >=20 > - DDB textdumps are very small. Including a full debugging session, kerne= l=20 > message buffer, and kernel configuration, my textdumps are frequently=20 > around 100k uncompressed. This makes it possible to use them on very smal= l=20 > machines, store them for an extended period, e-mail them around, etc, in = a=20 > way that you can't currently do with kernel memory dumps. This improved= =20 > usability will (hopefully) improve our bug and crash management. >=20 > - DDB is a specialized debugging tool with intimate knowledge of the=20 > kernel, and there are types of data trivially extracted with DDB that are= =20 > awkward or quite difficult to extract using kgdb or other currently=20 > available dump analysis tools. Locking, waiting, and process information= =20 > are examples of where automatic extraction is currently only possible wit= h=20 > DDB, and one of the reasons many developers prefer to begin any diagnosis= =20 > with an interactive DDB session. >=20 > - DDB textdumps can be used without the exact source tree, kernel=20 > configuration, built kernel, and debug symbols, as they interpret rather= =20 > than save the pages of memory. They're even an architecture-independent= =20 > file format so you don't need a cross-debugger. Having that additional=20 > context is useful (ability to map symbol+offset to line of code), but you= =20 > can actually go a remarkable way without it, especially looking at the=20 > results in a PR potentially years later. >=20 > (3) What do I lose by using textdumps? >=20 > To be clear, there are also some important things that textdumps can't do= =20 > -- principally, a textdump doesn't contain all kernel memory, so your=20 > textdump output is all you have. If you need to extract detailed structur= e=20 > information for something DDB doesn't understand, or that you don't think= =20 > of in advance or during a DDB session, then there's nothing to fall back = on=20 > except configuring a textdump or regular dump and waiting for the panic t= o=20 > happen again. >=20 > (4) When should I use textdumps? >=20 > Minidumps remain the default in 7.x and 8.x, and full dumps remain the=20 > default in 6.x and earlier. Textdumps must be specifically enabled by the= =20 > administrator to be used. >=20 > DDB is an excellent live debugging tool whose use has been limited to=20 > situations where there is an accessible video console, or more ideally=20 > serial or firewire console to a second box, and generally requiring an=20 > experienced developer to be available to drive debugging. There are many= =20 > problems that can be pretty much instantly understood with a couple of DD= B=20 > commands, so these limitations impacted debugging effectiveness. >=20 > The goal of adding DDB capture output, scripting, and textdumps was to=20 > broaden the range of situations in which DDB could be used: now it is=20 > usable more easily for post-mortem analysis, no console or second machine= =20 > is required, and a developer can install, or even e-mail, a script of DDB= =20 > commands to run automatically. Developers can simply define a few scripts= =20 > to handle various DDB cases, such as panic, and get a nice debugging bund= le=20 > to look at later. >=20 > When I'm debugging network stack problems, I typically want a fairly smal= l=20 > set of DDB commands to be run by the user, and the output sent back, and= =20 > now it will go from "Read the chapter on kernel debugging, set up a seria= l=20 > console, run the following commands, copy and paste from your serial=20 > console -- oh, you don't have a serial console, perhaps hand-copy these= =20 > fields or use a digital camera" to "run the following ddb(8) command and= =20 > when the box reboots, send me the tarball in /var/crash". >=20 > I anticipate that textdumps will see use when developers are exchanging= =20 > e-mail with users reporting problems and trying to gather concise summari= es=20 > of information about a crash with minimum downtime and maximum portabilit= y,=20 > in embedded environments where dumping kernel memory to flash is tricky, = or=20 > in order to save a transcript of an interactive DDB session when testing= =20 > new features locally. >=20 > Another interesting advantage of textdumps is that it's easy to inspect= =20 > them for confidential/identifying information and mask or purge it. When= =20 > someone sends out a kernel memory dump, it potentially contains a lot of= =20 > sensitive information, and most people (including me) would have difficul= ty=20 > making sure all sensitive information was purged safely. >=20 > (5) I want to collect DDB output, but still need memory dumps -- can I do= both? >=20 > Yes and no. >=20 > Yes, you can use the DDB output capture buffer and scripting without usin= g=20 > a textdump, as the capture buffer is stored in kernel memory. You can pri= nt=20 > it using kgdb, and we should probably add that capability to ddb(8) also.= =20 > End your script with "call doadump; reset" but don't "textdump set". For= =20 > example: >=20 > ddb script kdb.enter.panic=3D"capture on;show pcpu;trace;ps;show=20 > locks;alltrace;show alllocks;show lockedvnods;call doadump;reset" >=20 > No, because you must pick one of the three dump layouts (dump, minidump,= =20 > textdump) to write to the swap partition -- you can't write out all three= =20 > and then decide which to extract later. In principle this could be change= d=20 > so that we actually write out a textdump section and a full/minidump, but= =20 > that's not implemented. >=20 > (6) I have a serial console so don't need textudmps, can I still use DDB= =20 > scripting to manage a crash? >=20 > Yes. You can set up scripts in exactly the same way as with textdumps, on= ly=20 > omit the textdump bits and end with a "reset" to reboot the system when= =20 > done. That way you can extract the results from the serial console log.= =20 > I.e., >=20 > ddb script kdb.enter.panic=3D"show pcpu;trace;show locks;ps;alltrace;sh= ow=20 > alllocks;show lockedvnods;reset" >=20 > (7) I'm in DDB and I suddenly realize I want to save the output, and I=20 > haven't configured textdumps. What do I do? >=20 > As with normal dumps, you must previously have configured support for a= =20 > dump partition. These days, that is done automatically whenever you have= =20 > swap configured on the box, so unless you're in single-user mode or don't= =20 > have swap configured, you should be able to do the following: >=20 > Schedule a textdump using the "textdump set" command. >=20 > Turn on DDB output capture using "capture on", run your commands of=20 > interest, and turn it off using "capture off". >=20 > Type "call doadump" to dump memory, and "reset" to reboot. >=20 > (8) The buffer is small, can I pick and choose what DDB output is capture= d? >=20 > The capture buffer does have a size limit, so you might find you want to= =20 > explore interactively at first to figure out what information to save. Th= en=20 > you can turn it on and off around output to capture with "capture on" and= =20 > "capture off". Each time you turn capture back on, new output is appended= =20 > after any existing output. >=20 > If you decide you want to clear the buffer, you can use "capture reset" t= o=20 > do that, and you can check the status of the buffer using "capture status= ". >=20 > You can also increase the buffer size by setting the=20 > debug.ddb.capture.bufsize sysctl to a larger size. The sysctl will=20 > automatically round up to the next textdump blocksize. >=20 > (9) Can I continue the kernel after doing a textdump? >=20 > No. As with kernel memory dumps, textdumps invoke the storage controller= =20 > dumper routine, which may hose up state in the device driver preventing i= ts=20 > use after the dump is generated. >=20 > However, if you do plan to continue from DDB, just use DDB output capture= =20 > without a textdump. You can then extract the contents of the DDB buffer= =20 > using the debug.ddb.capture.data sysctl. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > _______________________________________________ > 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" >=20 --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD8DBQFH9U46XY6L6fI4GtQRAhmDAKDh9U1A11DJX7QIx6jNKL0OcDF7uwCg1RVJ iTA6hTh9p3SbbmDXKCFh32k= =HGwy -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 22:48:17 2008 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 BA92A106566B for ; Thu, 3 Apr 2008 22:48:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 368B28FC15 for ; Thu, 3 Apr 2008 22:48:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 237850357-1834499 for multiple; Thu, 03 Apr 2008 18:48:55 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m33MmCFL097564; Thu, 3 Apr 2008 18:48:12 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-stable@freebsd.org Date: Thu, 3 Apr 2008 18:47:59 -0400 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804031848.00172.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 03 Apr 2008 18:48:12 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6568/Thu Apr 3 12:12:56 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: pluknet Subject: Re: [kgdb] There is no member named pathname 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, 03 Apr 2008 22:48:17 -0000 On Thursday 28 February 2008 05:56:32 pm pluknet wrote: > Hello, > > I've updated to the recent RELENG_7 as of 2008/02/28 > to try the new kld-add feature in kgdb, among other things > (yes, i do debug kernel modules). This should be fixed with the MFC today. -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 00:04:22 2008 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 4640F106564A for ; Fri, 4 Apr 2008 00:04:22 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7498FC1C for ; Fri, 4 Apr 2008 00:04:22 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3677447waf.3 for ; Thu, 03 Apr 2008 17:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=2lmpK5p6JFNsO7+RAN/LGA8vh1Y5T8wgFmoHI2K2UyQ=; b=enR16zp9TLinSnaNMlPVOYNu9t0tWPdZZoc0kwoXwLTl7EtqlmjOKXbHAwDnEJOphmiHgO9NHhD+g34g9b3Dha7Yk/2uhJyp/rtxQL+XOBCy1KuHQ+KTfSbaNqJ7bHK/dGjW+CQAtnlAgiWIcheEQx//2j091ABXtulFuDXmezk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PseT8c3acnteAPgs5qaYiZwnAtzJ3/wy/8VppFa68R8Lhg5jaPxYtUZBW7cNQhY1Mh5DGuL67Ek8TVajhuYhaH1OUcI0Trbrs/BDIbKbSee/dYghxsKjo2NK4eo+29zLo/qHL+9Lf0L1r5/w8ilKp/vz6wByTyqISaq4OF/L/V4= Received: by 10.115.110.6 with SMTP id n6mr824530wam.92.1207265864968; Thu, 03 Apr 2008 16:37:44 -0700 (PDT) Received: by 10.114.241.9 with HTTP; Thu, 3 Apr 2008 16:37:44 -0700 (PDT) Message-ID: <4956a5e50804031637x37db443wf78f262826fe99da@mail.gmail.com> Date: Thu, 3 Apr 2008 20:37:44 -0300 From: Nenhum_de_Nos To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 64 bits linux binary on amd64 FreeBSD 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, 04 Apr 2008 00:04:22 -0000 hail, I'd like to run folding at home on FreeBSD (my OS of choice) and I have this problem of needing to run a amd64 binary. all I saw when emulating on freebsd was a 32 bits linux enviroment, and all I found about amd64 enviroment for amd64 linux emu on freebsd was a mail from a mailing list from 2004. if there is any news on this, where could I find ? is there ? thanks in advance, matheus -- We will call you cygnus, The God of balance you shall be From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 08:59:00 2008 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 7CF03106566C for ; Fri, 4 Apr 2008 08:59:00 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 05C3D8FC1A for ; Fri, 4 Apr 2008 08:58:59 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jhhl8-0006ta-7a for freebsd-stable@freebsd.org; Fri, 04 Apr 2008 08:58:54 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Apr 2008 08:58:54 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Apr 2008 08:58:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Fri, 04 Apr 2008 10:58:40 +0200 Lines: 58 Message-ID: References: <47F3DA07.4020209@forrie.com> <20080402203859.GB80314@slackbox.xs4all.nl> <20080403164108.GA12190@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig138D3908615125147D536978" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: <20080403164108.GA12190@slackbox.xs4all.nl> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: Digitally Signed Binaries w/ Kernel support, etc. 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, 04 Apr 2008 08:59:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig138D3908615125147D536978 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Roland Smith wrote: > On Thu, Apr 03, 2008 at 01:46:39PM +0200, Ivan Voras wrote: >> Roland Smith wrote: >>> On Wed, Apr 02, 2008 at 03:09:59PM -0400, Forrest Aldrich wrote: >>>> Does FreeBSD have support for digitally signed binary checking, simi= lar to=20 >>>> what Linux has with bsign and DigSig, where system binaries are sign= ed and=20 >>>> this signature is verified before being run in the kernel? >>> If an attacker can modify binaries, he already has root privileges. I= n >>> that case, what will stop him from creating a new pgp key and re-sign= >>> his doctered binaries? >>> >>>> This would be very useful to have to further tighen-down the system.= >>> As an alternative, on FreeBSD you can set the system immutable flag o= n >>> binaries (see chflags(1)), and set the securelevel > 0. See >>> init(8). Once this is set, not even root can undo this. You have to >>> reboot to reset the securelevel to -1. >> Signing binaries could be naturally tied in with securelevel, where so= me >> securelevel (1?) would mean kernel no longer accepts new keys. >=20 > If you set the system immutable flag on the binaries, you cannot modify= them at > all at securelevel >0. Signing the binaries would be pointless in that = case. I think these are separate things. Modifying binaries is separate from introducing new binaries. SCHG would prevent the former, but not the latt= er. Of course, with the popularity of various scripting languages it's not as useful as it could be on the first thought. --------------enig138D3908615125147D536978 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH9e3AldnAQVacBcgRAgfYAJ4zRZ5H8WK8ut8GtFiUvARK3TrGLACg/DjF YARgCw1RET5gHt69kSywPpg= =OoQ8 -----END PGP SIGNATURE----- --------------enig138D3908615125147D536978-- From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 09:32:40 2008 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 C5BEE106564A for ; Fri, 4 Apr 2008 09:32:40 +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 825E88FC19 for ; Fri, 4 Apr 2008 09:32:40 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Jhhs0-0003YA-Ta; Fri, 04 Apr 2008 13:06:01 +0400 To: Nenhum_de_Nos References: <4956a5e50804031637x37db443wf78f262826fe99da@mail.gmail.com> From: Boris Samorodov Date: Fri, 04 Apr 2008 13:03:50 +0400 In-Reply-To: <4956a5e50804031637x37db443wf78f262826fe99da@mail.gmail.com> (Nenhum de Nos's message of "Thu\, 3 Apr 2008 20\:37\:44 -0300") Message-ID: <87145961@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org Subject: Re: 64 bits linux binary on amd64 FreeBSD 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, 04 Apr 2008 09:32:40 -0000 On Thu, 3 Apr 2008 20:37:44 -0300 Nenhum_de_Nos wrote: > I'd like to run folding at home on FreeBSD (my OS of choice) and I > have this problem of needing to run a amd64 binary. all I saw when > emulating on freebsd was a 32 bits linux enviroment, and all I found > about amd64 enviroment for amd64 linux emu on freebsd was a mail from > a mailing list from 2004. > if there is any news on this, where could I find ? is there ? FreeBSD currently can use only i386 linux binaries and afaic nobody is working on (interested at?) amd64 porting. 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 Fri Apr 4 09:34:54 2008 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 896391065673 for ; Fri, 4 Apr 2008 09:34:54 +0000 (UTC) (envelope-from michel@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id 1B7A58FC12 for ; Fri, 4 Apr 2008 09:34:53 +0000 (UTC) (envelope-from michel@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.2/jtpda-5.4) with ESMTP id m349APe7084427 for ; Fri, 4 Apr 2008 11:10:57 +0200 (CEST) X-Ids: 166 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id B94A52377CE for ; Fri, 4 Apr 2008 11:10:24 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id A090E30; Fri, 4 Apr 2008 11:10:24 +0200 (CEST) Date: Fri, 4 Apr 2008 11:10:24 +0200 From: Michel Talon To: freebsd-stable@freebsd.org Message-ID: <20080404091024.GA13047@lpthe.jussieu.fr> Mail-Followup-To: Michel Talon , freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (shiva.jussieu.fr [134.157.0.166]); Fri, 04 Apr 2008 11:10:57 +0200 (CEST) X-Virus-Scanned: ClamAV 0.92/6575/Fri Apr 4 03:31:52 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 47F5F088.016 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 47F5F088.016/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 47F5F088.016 on jchkmail.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.049 -> S=0.049 X-j-chkmail-Status: Ham Subject: Re: System hangs when /var partition full (vnode_pager_putpages errors) 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, 04 Apr 2008 09:34:54 -0000 Maks Verver wrote: > I recently encountered an error, where executing the ImageMagick > "convert" > tool as an unpriviliged user caused the system to hang. > > The error is similar to one reported in 2004: > I had exactly the same problem recently under FreeBSD-6.3. I don't know if the problem was related to /var full since i was under X and the machine was completely frozen. It responded to ping and nothing else. The only solution was to press the reset button, and i had to do manual fsck after that because the machine panicked doing the background fsck. Very nasty bug (hence i did not investigate it further ...). -- Michel TALON From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 13:37:32 2008 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 933A5106564A for ; Fri, 4 Apr 2008 13:37:32 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 559578FC14 for ; Fri, 4 Apr 2008 13:37:32 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Jhm6l-0001YN-Dc for freebsd-stable@freebsd.org; Fri, 04 Apr 2008 06:37:31 -0700 Message-ID: <16491496.post@talk.nabble.com> Date: Fri, 4 Apr 2008 06:37:31 -0700 (PDT) From: jbsnyder To: freebsd-stable@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jbsnyder@gmail.com References: <16447331.post@talk.nabble.com> Subject: Re: ZFS & Bittorent -> Hang? 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, 04 Apr 2008 13:37:32 -0000 Ivan Voras-7 wrote: > > jbsnyder wrote: >> Hi - >> >> I'm not yet filing a PR on this since I'm wondering if anyone else has >> experienced this issue. I've got ZFS running on a raid-z with 4 disks, >> C2Duo 2.33 Ghz, 64-bit FreeBSD 7 release, 4GB RAM. For the most part >> this >> has been working perfectly, but I recently I tried using >> transmission-daemon >> (a bittorrent client/daemon) to download a few things and noticed that if >> it >> runs for an extended period of time, a lot of processes are waiting on >> zfs >> and just hang. If I'm not logged in while this is happens, SSH access >> hangs. Also, if I manage to be logged in, AFP access to the volume, and >> some heavier disk access items (like building from ports at stages of >> unzipping archives and checksumming) seem to hang as well. >> >> I've not done extensive testing, but the same behavior has been exhibited >> both times I've tried it. The interesting thing is that the transmission >> seems to keep on chugging, and does finish downloading eventually, it's >> just >> that everything else doesn't get a chance at getting some IO, even if I >> kill >> the transmission-daemon. >> >> I've done the recommended tweaks on the freebsd wiki for AMD64 machines, >> and >> I'm running ULE. Otherwise things are pretty standard. >> >> I'll file a more detailed PR with some additional testing if nobody else >> has >> encountered this and/or has a workaround. > > http://wiki.freebsd.org/ZFSKnownProblems > > This looks like #1. > Hmm.. I don't think there's a large amount of transfer between UFS & ZFS, unless the client is using /tmp a lot, it should all be on ZFS. I noted #4 as well, and therefore tried disabling prefetch. I can't seem to get it to hang now. I queued up a bunch of different torrents (full freebsd 7 amd64 & i386, some other random things), and they all completed without leading to me being locked out or any processes waiting on zfs. I'll try some testing this weekend to see if I can reproduce the lock-up again by re-enabling prefetch. Perhaps we can confirm that issue? Should I bother with trying to run CURRENT or should any testing I do be done with STABLE. I don't see any indication that there might be experimental patches for dealing with this or related issues. -- View this message in context: http://www.nabble.com/ZFS---Bittorent--%3E-Hang--tp16447331p16491496.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 16:55:43 2008 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 CA50E1065673; Fri, 4 Apr 2008 16:55:43 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.freebsd.org (Postfix) with ESMTP id 5D3858FC25; Fri, 4 Apr 2008 16:55:43 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id m34Gtfpw085390; Fri, 4 Apr 2008 18:55:41 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 1FDE1B82D; Fri, 4 Apr 2008 18:55:41 +0200 (CEST) Date: Fri, 4 Apr 2008 18:55:41 +0200 From: Roland Smith To: Ivan Voras Message-ID: <20080404165541.GA675@slackbox.xs4all.nl> Mail-Followup-To: Ivan Voras , freebsd-stable@freebsd.org References: <47F3DA07.4020209@forrie.com> <20080402203859.GB80314@slackbox.xs4all.nl> <20080403164108.GA12190@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-stable@freebsd.org Subject: Re: Digitally Signed Binaries w/ Kernel support, etc. 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, 04 Apr 2008 16:55:43 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2008 at 10:58:40AM +0200, Ivan Voras wrote: > >> Signing binaries could be naturally tied in with securelevel, where so= me > >> securelevel (1?) would mean kernel no longer accepts new keys. > >=20 > > If you set the system immutable flag on the binaries, you cannot modify= them at > > all at securelevel >0. Signing the binaries would be pointless in that = case. >=20 > I think these are separate things. Modifying binaries is separate from > introducing new binaries. SCHG would prevent the former, but not the latt= er. If you set the SCHG flag on the directories in $PATH, you can't put anything new there as well. > Of course, with the popularity of various scripting languages it's not > as useful as it could be on the first thought. If an intruder want to do real damage with a script, he pretty much has to = be root. In which case you're already fscked. Or the script must contain a viable local root exploit, which amounts to the same thing. As usual, there is a balance between security and usability. Where that balance lies depends on the situation. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkf2XY0ACgkQEnfvsMMhpyWjBgCgoMQMR+Np01KYLsU3SX+AuEgC Sq8AoI5dLg7xkJB1t8yKW1eMkGzjHGSl =9BP7 -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM-- From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 18:10:51 2008 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 A75B7106566C for ; Fri, 4 Apr 2008 18:10:51 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (gvr-gw.gvr.org [82.95.154.195]) by mx1.freebsd.org (Postfix) with ESMTP id 658478FC25 for ; Fri, 4 Apr 2008 18:10:51 +0000 (UTC) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 45CFA42D90C; Fri, 4 Apr 2008 19:46:05 +0200 (CEST) Date: Fri, 4 Apr 2008 19:46:05 +0200 From: Guido van Rooij To: freebsd-stable@freebsd.org Message-ID: <20080404174605.GA41929@gvr.gvr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: NTP on amd74 + powernow 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: Fri, 04 Apr 2008 18:10:51 -0000 I've got a amd64 system where I;m using powernow. I am using th i8254 timecounter. I keep getting time resets from ntp: Apr 4 01:13:27 gvr ntpd[96120]: kernel time sync enabled 6001 Apr 4 01:30:21 gvr ntpd[96120]: kernel time sync enabled 2001 Apr 4 03:28:25 gvr ntpd[96120]: time reset -10.587614 s Apr 4 03:49:52 gvr ntpd[96120]: time reset +0.308086 s Apr 4 04:22:08 gvr ntpd[96120]: time reset -0.973635 s Apr 4 04:43:37 gvr ntpd[96120]: time reset +0.240889 s Apr 4 05:59:46 gvr ntpd[96120]: time reset -0.315836 s Apr 4 06:25:37 gvr ntpd[96120]: time reset +0.212031 s Apr 4 07:04:14 gvr ntpd[96120]: time reset +0.281665 s Apr 4 07:38:26 gvr ntpd[96120]: time reset -0.350271 s Apr 4 08:13:57 gvr ntpd[96120]: time reset +0.402641 s Apr 4 08:35:25 gvr ntpd[96120]: time reset -0.323047 s Apr 4 09:44:12 gvr ntpd[96120]: time reset -0.170829 s Apr 4 11:03:24 gvr ntpd[96120]: time reset +0.315831 s Apr 4 11:44:06 gvr ntpd[96120]: time reset -0.843654 s Apr 4 12:16:26 gvr ntpd[96120]: time reset +0.158634 s Apr 4 13:51:38 gvr ntpd[96120]: time reset -0.539251 s Apr 4 15:22:40 gvr ntpd[96120]: time reset +0.190155 s Apr 4 16:32:20 gvr ntpd[96120]: time reset +0.210177 s Apr 4 16:53:44 gvr ntpd[96120]: time reset -0.175892 s Apr 4 17:09:50 gvr ntpd[96120]: time reset -0.506791 s Apr 4 17:31:13 gvr ntpd[96120]: time reset +0.257775 s Apr 4 19:15:18 gvr ntpd[96120]: time reset +0.341047 s Apr 4 19:34:31 gvr ntpd[96120]: time reset -0.232655 s ntpd uses the following peers: ntpq> peers remote refid st t when poll reach delay offset jitter ============================================================================== +pruts.nl 193.79.237.14 2 u 34 64 37 10.648 -94.402 21.692 +muso.komputilo. 130.88.200.98 3 u 31 512 37 11.775 -86.616 15.943 -enterprise.sono 158.43.128.66 3 u 30 512 37 10.948 -111.01 20.576 +steghoefer.eu 87.239.10.190 3 u 28 512 37 11.670 -80.331 16.798 *ntp0.nl.uu.net .GPS. 1 u 30 64 37 17.938 -101.39 27.102 +clepsydra.dec.c .GPS. 1 u 27 512 37 175.971 -77.023 16.738 +swisstime.ee.et 129.132.2.22 2 u 33 64 37 33.010 -76.135 18.209 ntpq> Especially the largers resets (+10 seconds) are annoying as e.g. dovecot bails out. Any clue on how this could be fixed? -Guido From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 19:42:41 2008 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 016FD106567A for ; Fri, 4 Apr 2008 19:42:41 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [IPv6:2001:770:10:300::86e2:510b]) by mx1.freebsd.org (Postfix) with SMTP id 4571F8FC1A for ; Fri, 4 Apr 2008 19:42:40 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=walton.maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 4 Apr 2008 20:42:38 +0100 (BST) Date: Fri, 4 Apr 2008 20:42:38 +0100 From: David Malone To: Guido van Rooij Message-ID: <20080404194238.GA75601@walton.maths.tcd.ie> References: <20080404174605.GA41929@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080404174605.GA41929@gvr.gvr.org> User-Agent: Mutt/1.5.6i Sender: dwmalone@maths.tcd.ie Cc: freebsd-stable@freebsd.org Subject: Re: NTP on amd74 + powernow 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: Fri, 04 Apr 2008 19:42:41 -0000 On Fri, Apr 04, 2008 at 07:46:05PM +0200, Guido van Rooij wrote: > I've got a amd64 system where I;m using powernow. I am using th i8254 > timecounter. I keep getting time resets from ntp: I don't think the i8254 should be effected by the i8254. Are there any other choices listed under kern.timecounter.choice? I have one amd64 machine running powerd to control the powernow stuff and it works OK with the ACPI timer. David. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 19:57:21 2008 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 C788C106567B for ; Fri, 4 Apr 2008 19:57:21 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 47EAF8FC15 for ; Fri, 4 Apr 2008 19:57:20 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so292957fka.11 for ; Fri, 04 Apr 2008 12:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=MIuvaZ5vd7vf+53pmEx031kAGBj4RL4tJZwqevPJO28=; b=AcenHFaawp/wCR8eKb98Mn2aYsaWZGy09tldsG9uc5pg2cPth4SZTAOibiBr/cZfmkZ/UeHLzW2JBGXQhfDEYjwW3FKKCJXBbxpnH/eyFDHQRTT4drRB+IuaB4gZ8jJOOIniEKyoPvX9fIzu05wIt+jckVWLRcJdZFUZyScyCtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UjmVzMyOU1hFs62DBG+aOqG/NLkp6egbXqVEV0PyqktlpKn7GNkxIE7OKE0+2u/HOYIJRhHfLOf2v9nzxOYuHZtn9559UvQVdEuRSaqqYBqRkRVNXNyWzvEBdMwar+Z8Ej/KOxlzF3uAYpUgzOLopf7sf7ghDsQaZEXd+D69GHc= Received: by 10.78.146.11 with SMTP id t11mr4958358hud.70.1207339039408; Fri, 04 Apr 2008 12:57:19 -0700 (PDT) Received: by 10.78.16.10 with HTTP; Fri, 4 Apr 2008 12:57:19 -0700 (PDT) Message-ID: Date: Fri, 4 Apr 2008 23:57:19 +0400 From: pluknet To: "John Baldwin" In-Reply-To: <200804031848.00172.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200804031848.00172.jhb@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: [kgdb] There is no member named pathname 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, 04 Apr 2008 19:57:21 -0000 On 04/04/2008, John Baldwin wrote: > On Thursday 28 February 2008 05:56:32 pm pluknet wrote: > > Hello, > > > > I've updated to the recent RELENG_7 as of 2008/02/28 > > to try the new kld-add feature in kgdb, among other things > > (yes, i do debug kernel modules). > > > This should be fixed with the MFC today. > Thank you! I've updated sources and rebuilt kgdb (from gnu/usr.bin/gdb/kgdb). It seems that add-kld feature works now. One small note: kgdb still prints this message: There is no member named pathname. Maybe I should rebuild smth else? wbr, pluknet [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] There is no member named pathname. Reading symbols from /boot/kernel/snd_ich.ko...Reading symbols from /boot/kernel/snd_ich.ko.symbols...done. done. Loaded symbols for /boot/kernel/snd_ich.ko Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done. done. Loaded symbols for /boot/kernel/sound.ko Reading symbols from /boot/kernel/ukbd.ko...Reading symbols from /boot/kernel/ukbd.ko.symbols...done. done. Loaded symbols for /boot/kernel/ukbd.ko Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/tmpfs.ko...Reading symbols from /boot/kernel/tmpfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/tmpfs.ko Reading symbols from /boot/kernel/if_fxp.ko...Reading symbols from /boot/kernel/if_fxp.ko.symbols...done. done. Loaded symbols for /boot/kernel/if_fxp.ko From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 22:15:38 2008 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 DA0A9106566B for ; Fri, 4 Apr 2008 22:15:38 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1978FC1E for ; Fri, 4 Apr 2008 22:15:38 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m34MFWEm022762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 5 Apr 2008 09:15:36 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m34MFWQA051238; Sat, 5 Apr 2008 09:15:32 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m34MFWsp051237; Sat, 5 Apr 2008 09:15:32 +1100 (EST) (envelope-from peter) Date: Sat, 5 Apr 2008 09:15:32 +1100 From: Peter Jeremy To: Guido van Rooij Message-ID: <20080404221532.GT49813@server.vk2pj.dyndns.org> References: <20080404174605.GA41929@gvr.gvr.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rWhLK7VZz0iBluhq" Content-Disposition: inline In-Reply-To: <20080404174605.GA41929@gvr.gvr.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: NTP on amd74 + powernow 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: Fri, 04 Apr 2008 22:15:38 -0000 --rWhLK7VZz0iBluhq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2008 at 07:46:05PM +0200, Guido van Rooij wrote: >I've got a amd64 system where I;m using powernow. I am using th i8254 >timecounter. I'm using ACPI-fast on amd64 without problems. i8254 should not be affected by PowerNow! but ACPI-fast should be listed as preferable. Do you have a particular reason for using the i8254? >Especially the largers resets (+10 seconds) are annoying as e.g. dovecot >bails out. > >Any clue on how this could be fixed? Any time resets are abnormal. There's nothing obviously wrong with your NTP servers. I have had problems in the past with the ntpd PLL saturating and demonstrating symptoms similar to what you are seeing. What does your ntp.drift contain? My guess is that it's either +500 or -500. If this is true, I suggest you: - stop ntpd - delete ntp.drift - enable loopstats collection in your ntp.conf (optional) - run "ntptime -f 0" - run "/etc/rc.d/ntpdate start" - run "/etc/rc.d/ntpd start" This will force ntpd to re-calibrate and, hopefully, it will stabilise, though this can take a day or so. You can monitor the NTP PLL behaviour via the loopstats file. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --rWhLK7VZz0iBluhq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkf2qIQACgkQ/opHv/APuIdOQgCdFm2ZVDQ8u/Qt/bLRPXxNx5fG CMkAmwe4KClsoBISd4fXyRADOkZY9CD9 =Qdvc -----END PGP SIGNATURE----- --rWhLK7VZz0iBluhq-- From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 22:29:38 2008 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 68517106566C for ; Fri, 4 Apr 2008 22:29:38 +0000 (UTC) (envelope-from jsbrown@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id 26F5C8FC20 for ; Fri, 4 Apr 2008 22:29:37 +0000 (UTC) (envelope-from jsbrown@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so264795wfa.7 for ; Fri, 04 Apr 2008 15:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=iSXDP5CuCcWSNCkDErN3KhdCL8Ek2RNRYzU/F9F0VpQ=; b=Ye3sKNLgpMfGgsd2GaSxbco+MVMnxxZjNZKZ6S80cuqGbvXowbzZ5rCoWx5F0kqRXOp9RR7XFWP9OzyxDn7IB4+J5tmcs31SJIbxf92JM2tZKMBPXYG+ppm5myDXUMB18a5g7Sru9W9KrQt82a16N6qU5pJQhfO+4xQ0DWVw0fI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=jtNF/zJKuApvLgsbPefxnjXo04Yg+9yiIbJCfOReko+pxVKIhXi9G32n3pH+tMotAPv3NkMn+5RgkMt+scksMp6L2Vg758Z1N6BIvhav7mzBoXH4BD4XhsqCkKG/iga2LVOr1JckPiXVfrLmN0MjgFkXmpwEfyTSziJw0TERU/0= Received: by 10.143.168.14 with SMTP id v14mr1332843wfo.210.1207346455894; Fri, 04 Apr 2008 15:00:55 -0700 (PDT) Received: by 10.142.218.19 with HTTP; Fri, 4 Apr 2008 15:00:55 -0700 (PDT) Message-ID: <677e3b3e0804041500l2e239891ic8634bec46e1782b@mail.gmail.com> Date: Fri, 4 Apr 2008 18:00:55 -0400 From: "Jeff Brown" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: library bug in gcc43 port on fbsd7 -- aborts when throwing exception 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, 04 Apr 2008 22:29:38 -0000 I believe I've found a bug in the libgcc or libstdc++ library (not sure which one) packaged with the gcc43 port in fbsd7 on an Intel x86-64. A program linked against those libraries aborts when an exception is thrown. It does not abort if -lpthread is added to the link line, even though the program does not use threads. I believe the problem is related to the pthread stubs in libgcc, but I don't know enough to find the exact problem or fix it. An example is below. My system: >uname -a FreeBSD testlab5 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu Feb 28 10:06:47 EST 2008 root@builder:/usr/obj/usr/sources/FreeBSD.7/src/sys/GENERIC amd64 >which g++43 /usr/local/bin/g++43 >g++43 --version g++43 (GCC) 4.3.1 20080313 (prerelease) etc. >echo $LD_LIBRARY_PATH /usr/local/lib/gcc-4.3.1 Sample program. When compiled with "g++43 test.cc" , it aborts upon the throw. When compiled with "g++43 test.cc -lpthread", it runs correctly. #include int main(int argc, char* argv[]) { try { throw 1; } catch (...) { printf("Caught exception\n"); } } Again, it only aborts when omitting -lpthread AND using the dynamic libs in /usr/local/lib/gcc-4.3.1. If I unsetenv LD_LIBRARY_PATH, libraries are loaded from the base fbsd7 installation in /usr/lib, which works. Thanks. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 22:30:28 2008 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 58D6A1065672; Fri, 4 Apr 2008 22:30:28 +0000 (UTC) (envelope-from sebosik@demax.sk) Received: from mail.demax.sk (mail.demax.sk [213.215.102.234]) by mx1.freebsd.org (Postfix) with ESMTP id F146C8FC23; Fri, 4 Apr 2008 22:30:27 +0000 (UTC) (envelope-from sebosik@demax.sk) Received: from mail.demax.sk (localhost [127.0.0.1]) by nod32.demax.sk (Postfix) with ESMTP id A2B9A42AEF; Sat, 5 Apr 2008 00:09:55 +0200 (CEST) X-Virus-Scanner: This message was checked by NOD32 Antivirus system NOD32 for Linux Mail Server. For more information on NOD32 Antivirus System, please, visit our website: http://www.nod32.com/. Received: from [192.168.0.2] (2D204.demax.sk [195.62.17.204]) by mail.demax.sk (Postfix) with ESMTP id 6BBF142AEE; Sat, 5 Apr 2008 00:09:55 +0200 (CEST) Message-ID: <47F6A733.8060308@demax.sk> Date: Sat, 05 Apr 2008 00:09:55 +0200 From: =?ISO-8859-2?Q?J=E1n_=A9ebo=B9=EDk?= User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org, freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Bootloader not working on Compaq Proliant ML330 G2 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, 04 Apr 2008 22:30:28 -0000 Hi all I`ve tried to install FreeBSD 7 on Compaq Proliant ML330 G2 server, but it won`t boot. FreeBSD boot0 beeps after pressing F1, or F2 (got 2 partitions) key. So i`ve installed grub on another machine, but than it says "Error 5" only in Proliant, I don`t even get grub command prompt. HDD`s (2 x 250G) are connected to Parallel ATA on ServerWorks CSB5 controller (it`s not onboard controller). When I connected drives to onboad controller they got some problem with DMA TIMEOUT. Any tip/hint/idea will be great. PS: Is there any way how to debug Bootloader? Best regards --- Jan Sebosik, Slovakia sebosik@demax.sk From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 23:17:29 2008 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 78A36106567B for ; Fri, 4 Apr 2008 23:17:29 +0000 (UTC) (envelope-from dwarren1@cyrus.psych.uiuc.edu) Received: from cyrus.psych.uiuc.edu (cyrus.psych.uiuc.edu [130.126.181.2]) by mx1.freebsd.org (Postfix) with ESMTP id 3C99F8FC22 for ; Fri, 4 Apr 2008 23:17:29 +0000 (UTC) (envelope-from dwarren1@cyrus.psych.uiuc.edu) Received: from localhost (localhost [127.0.0.1]) by cyrus.psych.uiuc.edu (Postfix) with ESMTP id 6CEC9303FB for ; Fri, 4 Apr 2008 17:44:15 -0500 (CDT) X-Virus-Scanned: amavisd-new 2.5.1 (20070531) at cyrus.psych.uiuc.edu Received: from cyrus.psych.uiuc.edu ([127.0.0.1]) by localhost (cyrus.psych.uiuc.edu [127.0.0.1]) (amavisd-new, port 10023) with LMTP id 8nZCsWKt5j-C for ; Fri, 4 Apr 2008 17:44:14 -0500 (CDT) Received: from [130.126.121.36] (arl-dave.cns.uiuc.edu [130.126.121.36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dwarren1) by cyrus.psych.uiuc.edu (Postfix) with ESMTP id 58321303D8 for ; Fri, 4 Apr 2008 17:44:14 -0500 (CDT) Message-ID: <47F6AF83.6080008@cyrus.psych.uiuc.edu> Date: Fri, 04 Apr 2008 17:45:23 -0500 From: Dave Warren User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Rockbox on a USB device causes kernel panic on 7.0 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, 04 Apr 2008 23:17:29 -0000 Hi all, I'm running FreeBSD 7.0 on a home file server that holds, among a bunch of other stuff, my music collection. I occasionally hook up my iPod Video (5.5) to charge and to synchronize files using rsync; I've got Rockbox (http://www.rockbox.org/) running on the iPod. For as long as I've had 7 running on the server (about a year), everything has been fine. However, after a recent Rockbox update, the server reports a kernel panic when I plug in the iPod. I think that this is related to some changes on the rsync end, specifically their "New USB stack with limited capability". It would be great to get this combination working again, and I'm wondering what information would be most useful if anyone wanted to take a crack at the problem. I'm working on getting a scratch box together for testing purposes so that I can avoid taking down my server. Thanks for any help or suggestions, Dave From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 23:34:02 2008 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 AE80F106564A for ; Fri, 4 Apr 2008 23:34:02 +0000 (UTC) (envelope-from freebsd@chillt.de) Received: from dd15624.kasserver.com (dd15624.kasserver.com [85.13.136.215]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD5B8FC15 for ; Fri, 4 Apr 2008 23:34:02 +0000 (UTC) (envelope-from freebsd@chillt.de) Received: from hundertwasser.cs.tcd.ie (dslb-084-061-116-103.pools.arcor-ip.net [84.61.116.103]) by dd15624.kasserver.com (Postfix) with ESMTP id C7AFB2C1E5864; Sat, 5 Apr 2008 01:23:41 +0200 (CEST) Message-ID: <47F6B883.7030604@chillt.de> Date: Sat, 05 Apr 2008 00:23:47 +0100 From: Bartosz Fabianowski User-Agent: Thunderbird 2.0.0.12 (X11/20080311) MIME-Version: 1.0 To: Dave Warren References: <47F6AF83.6080008@cyrus.psych.uiuc.edu> In-Reply-To: <47F6AF83.6080008@cyrus.psych.uiuc.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Rockbox on a USB device causes kernel panic on 7.0 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, 04 Apr 2008 23:34:02 -0000 > I think that this is related to some changes on the rsync end, > specifically their "New USB stack with limited capability". The new USB stack is not enabled by default. Rockbox still reboots the iPod into emergency disk mode when USB is plugged in, just like it always did. That said, Apple's disk mode has always been very good at panicking my 6-STABLE machines. - Bartosz From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 01:11:48 2008 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 2A722106566C for ; Sat, 5 Apr 2008 01:11:48 +0000 (UTC) (envelope-from dwarren1@cyrus.psych.uiuc.edu) Received: from mxsf09.insightbb.com (mxsf09.insightbb.com [74.128.0.79]) by mx1.freebsd.org (Postfix) with ESMTP id D83FE8FC15 for ; Sat, 5 Apr 2008 01:11:47 +0000 (UTC) (envelope-from dwarren1@cyrus.psych.uiuc.edu) X-IronPort-AV: E=Sophos;i="4.25,607,1199682000"; d="scan'208";a="336419809" Received: from unknown (HELO asav01.insightbb.com) ([172.31.249.124]) by mxsf09.insightbb.com with ESMTP; 04 Apr 2008 20:43:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiwBALZn9kdi1LRT/2dsb2JhbAAIq3o X-IronPort-AV: E=Sophos;i="4.25,607,1199682000"; d="scan'208";a="127125084" Received: from c-98-212-180-83.hsd1.il.comcast.net (HELO [192.168.0.5]) ([98.212.180.83]) by asav01.insightbb.com with ESMTP; 04 Apr 2008 20:43:30 -0400 Message-ID: <47F6CB35.6020305@cyrus.psych.uiuc.edu> Date: Fri, 04 Apr 2008 19:43:33 -0500 From: David Warren User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Rockbox on a USB device causes kernel panic on 7.0 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: Sat, 05 Apr 2008 01:11:48 -0000 Just wanted to correct an error in my original note; I intended to suggest that a change in Rockbox had caused this problem, not rsync. Bartosz picked up on that immediately. Regarding your note, I think that the Rockbox USB stack may in fact be running by default in the newest releases. I write this with some confidence as the same device that FreeBSD used to identify as "IPOD" is now identified as "Rockbox" something-or-other. I'm not sure exactly what it is as every time I see it I get a panic. From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 02:59:35 2008 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 6DAB5106564A for ; Sat, 5 Apr 2008 02:59:35 +0000 (UTC) (envelope-from freebsd@chillt.de) Received: from dd15624.kasserver.com (dd15624.kasserver.com [85.13.136.215]) by mx1.freebsd.org (Postfix) with ESMTP id 3382A8FC16 for ; Sat, 5 Apr 2008 02:59:35 +0000 (UTC) (envelope-from freebsd@chillt.de) Received: from takahe.local (84-203-35-175.mysmart.ie [84.203.35.175]) by dd15624.kasserver.com (Postfix) with ESMTP id 7E4C72C1C8C2B; Sat, 5 Apr 2008 04:59:33 +0200 (CEST) Message-ID: <47F6EB14.7020601@chillt.de> Date: Sat, 05 Apr 2008 03:59:32 +0100 From: Bartosz Fabianowski User-Agent: Thunderbird 2.0.0.12 (X11/20080310) MIME-Version: 1.0 To: David Warren References: <47F6CB35.6020305@cyrus.psych.uiuc.edu> In-Reply-To: <47F6CB35.6020305@cyrus.psych.uiuc.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Rockbox on a USB device causes kernel panic on 7.0 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: Sat, 05 Apr 2008 02:59:35 -0000 > the same device that FreeBSD used to identify as "IPOD" is now > identified as "Rockbox" The Rockbox USB code keeps changing with each build - it used to request power (using its own USB stack) until very recently for me, but as of a couple of days ago, reboots into the original firmware again. It will be difficult to debug the FreeBSD side of things when the Rockbox code is so volatile and fragile. - Bartosz From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 05:39:59 2008 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 D82E6106564A for ; Sat, 5 Apr 2008 05:39:59 +0000 (UTC) (envelope-from dwarren1@cyrus.psych.uiuc.edu) Received: from mxsf07.insightbb.com (mxsf07.insightbb.com [74.128.0.77]) by mx1.freebsd.org (Postfix) with ESMTP id A12198FC12 for ; Sat, 5 Apr 2008 05:39:59 +0000 (UTC) (envelope-from dwarren1@cyrus.psych.uiuc.edu) X-IronPort-AV: E=Sophos;i="4.25,608,1199682000"; d="scan'208";a="332286113" Received: from unknown (HELO asav02.insightbb.com) ([172.31.249.124]) by mxsf07.insightbb.com with ESMTP; 05 Apr 2008 01:39:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkBAMqt9kdi1LRT/2dsb2JhbAAIqzI X-IronPort-AV: E=Sophos;i="4.25,608,1199682000"; d="scan'208";a="228369188" Received: from c-98-212-180-83.hsd1.il.comcast.net (HELO [192.168.0.5]) ([98.212.180.83]) by asav02.insightbb.com with ESMTP; 05 Apr 2008 01:39:57 -0400 Message-ID: <47F711B0.3030904@cyrus.psych.uiuc.edu> Date: Sat, 05 Apr 2008 00:44:16 -0500 From: David Warren User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Bartosz Fabianowski References: <47F6CB35.6020305@cyrus.psych.uiuc.edu> <47F6EB14.7020601@chillt.de> In-Reply-To: <47F6EB14.7020601@chillt.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Rockbox on a USB device causes kernel panic on 7.0 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: Sat, 05 Apr 2008 05:39:59 -0000 Bartosz Fabianowski wrote: >> the same device that FreeBSD used to identify as "IPOD" is now >> identified as "Rockbox" > > The Rockbox USB code keeps changing with each build - it used to > request power (using its own USB stack) until very recently for me, > but as of a couple of days ago, reboots into the original firmware again. > > It will be difficult to debug the FreeBSD side of things when the > Rockbox code is so volatile and fragile. > > - Bartosz Aha, interesting. Well, I guess I'll hang in there until they sort things out on their end. Thanks. From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 09:13:50 2008 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 69C5C106567B for ; Sat, 5 Apr 2008 09:13:50 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (gvr-gw.gvr.org [82.95.154.195]) by mx1.freebsd.org (Postfix) with ESMTP id 2054F8FC24 for ; Sat, 5 Apr 2008 09:13:50 +0000 (UTC) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 5DF3C42D922; Sat, 5 Apr 2008 11:13:49 +0200 (CEST) Date: Sat, 5 Apr 2008 11:13:49 +0200 From: Guido van Rooij To: David Malone Message-ID: <20080405091349.GA78080@gvr.gvr.org> References: <20080404174605.GA41929@gvr.gvr.org> <20080404194238.GA75601@walton.maths.tcd.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080404194238.GA75601@walton.maths.tcd.ie> Cc: freebsd-stable@freebsd.org Subject: Re: NTP on amd74 + powernow 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: Sat, 05 Apr 2008 09:13:50 -0000 On Fri, Apr 04, 2008 at 08:42:38PM +0100, David Malone wrote: > On Fri, Apr 04, 2008 at 07:46:05PM +0200, Guido van Rooij wrote: > > I've got a amd64 system where I;m using powernow. I am using th i8254 > > timecounter. I keep getting time resets from ntp: > > I don't think the i8254 should be effected by the i8254. Are there > any other choices listed under kern.timecounter.choice? I have one > amd64 machine running powerd to control the powernow stuff and it > works OK with the ACPI timer. Nope: kern.timecounter.choice: TSC(800) i8254(0) dummy(-1000000) IIRC I couldn't boot at all with acpi, so I disabled it. -Guido From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 10:58:04 2008 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 0F05D106564A for ; Sat, 5 Apr 2008 10:58:04 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id E7F4E8FC21 for ; Sat, 5 Apr 2008 10:58:03 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id B12AA1CC033; Sat, 5 Apr 2008 03:58:03 -0700 (PDT) Date: Sat, 5 Apr 2008 03:58:03 -0700 From: Jeremy Chadwick To: Guido van Rooij Message-ID: <20080405105803.GA2947@eos.sc1.parodius.com> References: <20080404174605.GA41929@gvr.gvr.org> <20080404194238.GA75601@walton.maths.tcd.ie> <20080405091349.GA78080@gvr.gvr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080405091349.GA78080@gvr.gvr.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: David Malone , freebsd-stable@freebsd.org Subject: Re: NTP on amd74 + powernow 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: Sat, 05 Apr 2008 10:58:04 -0000 On Sat, Apr 05, 2008 at 11:13:49AM +0200, Guido van Rooij wrote: > On Fri, Apr 04, 2008 at 08:42:38PM +0100, David Malone wrote: > > On Fri, Apr 04, 2008 at 07:46:05PM +0200, Guido van Rooij wrote: > > > I've got a amd64 system where I;m using powernow. I am using th i8254 > > > timecounter. I keep getting time resets from ntp: > > > > I don't think the i8254 should be effected by the i8254. Are there > > any other choices listed under kern.timecounter.choice? I have one > > amd64 machine running powerd to control the powernow stuff and it > > works OK with the ACPI timer. > > Nope: > kern.timecounter.choice: TSC(800) i8254(0) dummy(-1000000) > > IIRC I couldn't boot at all with acpi, so I disabled it. ACPI-fast should address the problem you're seeing with NTP drift. It would then be best to figure out why your machine won't boot with ACPI enabled. -- | Jeremy Chadwick jdc at 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 Apr 5 11:11:53 2008 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 7D1BA1065671 for ; Sat, 5 Apr 2008 11:11:53 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6017C8FC1F for ; Sat, 5 Apr 2008 11:11:53 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 61CFE1CC05F; Sat, 5 Apr 2008 04:11:53 -0700 (PDT) Date: Sat, 5 Apr 2008 04:11:53 -0700 From: Jeremy Chadwick To: =?iso-8859-1?B?SuFuID9lYm8/7Ws=?= Message-ID: <20080405111153.GB2947@eos.sc1.parodius.com> References: <47F6A733.8060308@demax.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47F6A733.8060308@demax.sk> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Bootloader not working on Compaq Proliant ML330 G2 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: Sat, 05 Apr 2008 11:11:53 -0000 On Sat, Apr 05, 2008 at 12:09:55AM +0200, Ján ?ebo?ík wrote: > I`ve tried to install FreeBSD 7 on Compaq Proliant ML330 G2 server, but it > won`t boot. FreeBSD boot0 beeps after pressing F1, or F2 (got 2 partitions) > key. So i`ve installed grub on another machine, but than it says "Error 5" > only in Proliant, I don`t even get grub command prompt. Please see the below thread. Do not let the subject stop you from reading it. http://lists.freebsd.org/pipermail/freebsd-stable/2008-March/041501.html I still can't find a present-day RELENG_7 SNAPSHOT that I can tell people to download. There isn't one in the snapshots/200803/ directory past March 14th, and the snapshots/2008/04/ directory only contains snapshots for ia64 and powerpc. I'm left to believe David Overton built his own ISO. It sounds as if you may have to do the same. And I can't explain what GRUB is doing. > HDD`s (2 x 250G) are connected to Parallel ATA on ServerWorks CSB5 > controller (it`s not onboard controller). When I connected drives to onboad > controller they got some problem with DMA TIMEOUT. Not enough information to help debug this, but DMA timeouts are a known problem right now, regardless of controller: http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues Scott Long may be able to help track this problem down for you, but more details are needed. > PS: Is there any way how to debug Bootloader? Debugging the bootstraps is an incredibly tedious process at this point. No, it's not easy. -- | Jeremy Chadwick jdc at 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 Apr 5 12:29:42 2008 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 0EBED106564A for ; Sat, 5 Apr 2008 12:29:41 +0000 (UTC) (envelope-from chhabi40a@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 537938FC17 for ; Sat, 5 Apr 2008 12:29:41 +0000 (UTC) (envelope-from chhabi40a@gmail.com) Received: by ug-out-1314.google.com with SMTP id a2so130445ugf.13 for ; Sat, 05 Apr 2008 05:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=wNtIh8qTZl+J+JCxKfEC1KIujjIH9dH2smA1/8WRxh8=; b=oZY4GYktwTd35w0yqprs3E26idROt594M7fjqyp9cPfFwcoKTy9m+K4U2KxUSKW3HHS7U9fUJxHm2eWjDz/V0/+M7ymVW2Nhx7Vq/oJny0nmej8jR2RebJzJEI4QrzkmswKJ7KcFNb4N6VgwfET/JgcYFW9K72/lf+KEDLfJrpY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=cA/irkrJoC7g4/Z5RVPNGXahIcI6JthWEjKhlv62GOGQSLEIyB7BCnl5jNPyGHV7YzOwtJnu7J8wO0G82kFc24FY3zuvZisoLHbNAiszrskGuKi3kfPx5Loqn6bVS/Ju/iS8ezhqOu3p3B9+ErPqYFac7iaNh/WYxfI+COWM+54= Received: by 10.66.234.13 with SMTP id g13mr517624ugh.26.1207397112978; Sat, 05 Apr 2008 05:05:12 -0700 (PDT) Received: by 10.66.222.20 with HTTP; Sat, 5 Apr 2008 05:05:12 -0700 (PDT) Message-ID: Date: Sat, 5 Apr 2008 15:05:12 +0300 From: "Chhabi Chalise" To: freebsd-stable@freebsd.org. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Latest stable release 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: Sat, 05 Apr 2008 12:29:42 -0000 Sir, Kindly send information regarding FreeBSD STABLE version and from which site i can download all ISO cDs . I will be thankful to you Thank You =========== Chhabi Chalise From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 12:50:07 2008 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 36C11106566B for ; Sat, 5 Apr 2008 12:50:07 +0000 (UTC) (envelope-from kkutzko@teksavvy.com) Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by mx1.freebsd.org (Postfix) with ESMTP id DF5B48FC0C for ; Sat, 5 Apr 2008 12:50:06 +0000 (UTC) (envelope-from kkutzko@teksavvy.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsAEAJIS90dMCqa7/2dsb2JhbACBXIlinz0E X-IronPort-AV: E=Sophos;i="4.25,608,1199682000"; d="scan'208";a="17863825" Received: from mail.pppoe.ca (HELO mail.teksavvy.com) ([65.39.192.132]) by ironport2-out.teksavvy.com with ESMTP; 05 Apr 2008 08:50:05 -0400 Received: from kevin ([76.10.166.187]) by mail.teksavvy.com (Internet Mail Server v1.0) with ASMTP id LQD51905 for ; Sat, 05 Apr 2008 08:50:05 -0400 From: "Kevin K" To: References: In-Reply-To: Date: Sat, 5 Apr 2008 08:49:56 -0400 Message-ID: <000e01c8971b$8d0f4b00$a72de100$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AciXGOzs+pRCtsy2SJiHyEb/a6svwgAApaIw Content-Language: en-us Subject: RE: Latest stable release 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: Sat, 05 Apr 2008 12:50:07 -0000 If you took the time to check freebsd.org , you would know. > -----Original Message----- > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- > stable@freebsd.org] On Behalf Of Chhabi Chalise > Sent: Saturday, April 05, 2008 8:05 AM > To: freebsd-stable@freebsd.org > Subject: Latest stable release > > Sir, > > Kindly send information regarding FreeBSD STABLE version and from which > site > i can download all ISO cDs . > > > I will be thankful to you > > Thank You > > =========== > Chhabi Chalise > _______________________________________________ > 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" > > __________ NOD32 3004 (20080405) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 12:50:24 2008 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 F38B11065689 for ; Sat, 5 Apr 2008 12:50:23 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id 9A8998FC15 for ; Sat, 5 Apr 2008 12:50:23 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so139848anc.13 for ; Sat, 05 Apr 2008 05:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ViOoYez2xLZ3oJAhO90UzH2fot9WfxVS4kOyE2SHWX0=; b=iUqyhMvY5GvBaBV+jsvVn/sVXe209432dS7b0omifHWM0b5mTuuEIh4KOMli5jh69CjovtWUt/aFZJTfIWQALgUK+7LF6zck2piEQucvN1Nd8etQXaEByrR/YLWtK4AZHBWP2lI2JndWJAuVYW/f1zI1IWFzHLJk2Jtyi3Je7M0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nnd9hxkvTIep27rlZd+6EKMhEGSeX/51Wl6s/L0oWQL0LReQQ5SHO176WmePRA0/FFSfgNImL7B8La1JMuXrM2Zd9i4RzxZfv5VbD3+ptHSjhcFZjIAkj2Vau6BusjbssDTP+WPumAZVD+NTKGhPKMiwaylrjVrHnOhuMHjRt1c= Received: by 10.100.3.4 with SMTP id 4mr5563680anc.81.1207399822971; Sat, 05 Apr 2008 05:50:22 -0700 (PDT) Received: by 10.100.228.15 with HTTP; Sat, 5 Apr 2008 05:50:22 -0700 (PDT) Message-ID: Date: Sat, 5 Apr 2008 14:50:22 +0200 From: "Claus Guttesen" To: "Chhabi Chalise" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-stable@freebsd.org Subject: Re: Latest stable release 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: Sat, 05 Apr 2008 12:50:24 -0000 > Kindly send information regarding FreeBSD STABLE version and from which site > i can download all ISO cDs . You can take a look at freebsd.org, especially freebsd.org/where.html. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 13:00:39 2008 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 33C0F1065674 for ; Sat, 5 Apr 2008 13:00:39 +0000 (UTC) (envelope-from sebosik@demax.sk) Received: from mail.demax.sk (mail.demax.sk [213.215.102.234]) by mx1.freebsd.org (Postfix) with ESMTP id 8729E8FC14 for ; Sat, 5 Apr 2008 13:00:38 +0000 (UTC) (envelope-from sebosik@demax.sk) Received: from mail.demax.sk (localhost [127.0.0.1]) by nod32.demax.sk (Postfix) with ESMTP id 782BA42AD5; Sat, 5 Apr 2008 15:00:37 +0200 (CEST) X-Virus-Scanner: This message was checked by NOD32 Antivirus system NOD32 for Linux Mail Server. For more information on NOD32 Antivirus System, please, visit our website: http://www.nod32.com/. Received: from [192.168.0.2] (2D204.demax.sk [195.62.17.204]) by mail.demax.sk (Postfix) with ESMTP id 44A8D42AC9; Sat, 5 Apr 2008 15:00:36 +0200 (CEST) Message-ID: <47F777F4.9060507@demax.sk> Date: Sat, 05 Apr 2008 15:00:36 +0200 From: Jan Sebosik User-Agent: Thunderbird 2.0.0.12 (X11/20080323) MIME-Version: 1.0 To: Jeremy Chadwick , freebsd-stable@freebsd.org References: <47F6A733.8060308@demax.sk> <20080405111153.GB2947@eos.sc1.parodius.com> In-Reply-To: <20080405111153.GB2947@eos.sc1.parodius.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: Bootloader not working on Compaq Proliant ML330 G2 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: Sat, 05 Apr 2008 13:00:39 -0000 Jeremy Chadwick wrote: > On Sat, Apr 05, 2008 at 12:09:55AM +0200, Ján ?ebo?ík wrote: >> I`ve tried to install FreeBSD 7 on Compaq Proliant ML330 G2 server, but it >> won`t boot. FreeBSD boot0 beeps after pressing F1, or F2 (got 2 partitions) >> key. So i`ve installed grub on another machine, but than it says "Error 5" >> only in Proliant, I don`t even get grub command prompt. > > Please see the below thread. Do not let the subject stop you from > reading it. > > http://lists.freebsd.org/pipermail/freebsd-stable/2008-March/041501.html > > I still can't find a present-day RELENG_7 SNAPSHOT that I can tell > people to download. There isn't one in the snapshots/200803/ directory > past March 14th, and the snapshots/2008/04/ directory only contains > snapshots for ia64 and powerpc. > > I'm left to believe David Overton built his own ISO. It sounds as if > you may have to do the same. > > And I can't explain what GRUB is doing. > >> HDD`s (2 x 250G) are connected to Parallel ATA on ServerWorks CSB5 >> controller (it`s not onboard controller). When I connected drives to onboad >> controller they got some problem with DMA TIMEOUT. > > Not enough information to help debug this, but DMA timeouts are a known > problem right now, regardless of controller: > > http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues > > Scott Long may be able to help track this problem down for you, but more > details are needed. > >> PS: Is there any way how to debug Bootloader? > > Debugging the bootstraps is an incredibly tedious process at this point. > No, it's not easy. > Hi I`ve flashed to the latest "rompaq" (aka bios on Compaq :D), and now freebsd sees LSI raid controller (really don`t know why it didn`t saw it before upgrade). Also I set disk sizes to 130GB (went down from 250G). After installation BTX loads /boot/loader just fine. But thanks for your ideas. Best regards --- Jan Sebosik, Slovakia sebosik@demax.sk From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 18:07:06 2008 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 E699D1065677 for ; Sat, 5 Apr 2008 18:07:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 505288FC25 for ; Sat, 5 Apr 2008 18:07:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 238053034-1834499 for multiple; Sat, 05 Apr 2008 14:07:34 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m35I6hYx019241; Sat, 5 Apr 2008 14:06:44 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: pluknet Date: Sat, 5 Apr 2008 13:18:30 -0400 User-Agent: KMail/1.9.7 References: <200804031848.00172.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200804051318.30542.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Sat, 05 Apr 2008 14:06:44 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6617/Sat Apr 5 12:28:01 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-stable@freebsd.org Subject: Re: [kgdb] There is no member named pathname 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: Sat, 05 Apr 2008 18:07:07 -0000 On Friday 04 April 2008 03:57:19 pm pluknet wrote: > On 04/04/2008, John Baldwin wrote: > > On Thursday 28 February 2008 05:56:32 pm pluknet wrote: > > > Hello, > > > > > > I've updated to the recent RELENG_7 as of 2008/02/28 > > > to try the new kld-add feature in kgdb, among other things > > > (yes, i do debug kernel modules). > > > > > > This should be fixed with the MFC today. > > > > Thank you! > > I've updated sources and rebuilt kgdb (from gnu/usr.bin/gdb/kgdb). > It seems that add-kld feature works now. > > One small note: kgdb still prints this message: > There is no member named pathname. > Maybe I should rebuild smth else? No, that is normal because 6.x and 7.x kernels don't store the full pathname of kld's like HEAD kernels do. -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 20:00:26 2008 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 C72B8106566B for ; Sat, 5 Apr 2008 20:00:26 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by mx1.freebsd.org (Postfix) with ESMTP id 74D008FC17 for ; Sat, 5 Apr 2008 20:00:26 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx1.starman.ee (mx1.starman.ee [62.65.192.16]) by smtp-gw1.starman.ee (Postfix) with ESMTP id E77AF3D881F; Sat, 5 Apr 2008 22:36:49 +0300 (EEST) X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from [192.168.2.101] (pc197.host50.starman.ee [62.65.242.197]) by mx1.starman.ee (Postfix) with ESMTP id D2B5C3F4081; Sat, 5 Apr 2008 22:36:48 +0300 (EEST) From: Andrei Kolu To: freebsd-usb@freebsd.org, freebsd-stable@freebsd.org Date: Sat, 5 Apr 2008 22:36:49 +0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804052236.49472.antik@bsd.ee> Cc: Subject: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 20:00:26 -0000 Hello. I have problems using USB to RS232 converter under FreeBSD 6.3-STABLE when connecting to any Cisco gear over serial link. I connect my adapter to notebook and dmesg output looks like this one: ucom0: Prolific Technology Inc. USB-Serial Controller D, rev 1.10/4.00, addr 2 I have also following modules loaded: 8 1 0xc0c17000 3540 umodem.ko# cu -l /dev/ttyU0 Connected 9 4 0xc0c1b000 3208 ucom.ko 10 1 0xc0c1f000 2f54 uplcom.ko 13 1 0xc0c2f000 3384 ubsa.ko Now I try to connect to Cisco box: # cu -l /dev/ttyU0 Connected And terminal stalls- nothing happens- it ignores keyboard completely- sometimes it works but then suddenly lost keyboard interactivity. I tried from KDE Konsole, from plain tcsh command line, sometimes I am able to gain Cisco command line but 90% of times it just hangs. I got two usb2serial adapters: Trendnet TU-S9 and Manhattan 205146. Same converters works just fine under Windows and Linux (drivers cd even got RedHat 7, 8 and 9 versions source code drivers- http://www.manhattan-products.com/driver-usb-rs232.shtml). From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 21:24:40 2008 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 F061A1065671; Sat, 5 Apr 2008 21:24:40 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by mx1.freebsd.org (Postfix) with ESMTP id 9EA868FC1E; Sat, 5 Apr 2008 21:24:40 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx2.starman.ee (mx2.starman.ee [62.65.192.17]) by smtp-gw1.starman.ee (Postfix) with ESMTP id DE68C3D87CD; Sun, 6 Apr 2008 00:24:38 +0300 (EEST) X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Received: from [192.168.2.101] (pc197.host50.starman.ee [62.65.242.197]) by mx2.starman.ee (Postfix) with ESMTP id E04FC3F4059; Sun, 6 Apr 2008 00:24:38 +0300 (EEST) From: Andrei Kolu To: freebsd-usb@freebsd.org, freebsd-stable@freebsd.org Date: Sun, 6 Apr 2008 00:24:38 +0300 User-Agent: KMail/1.9.7 References: <200804052236.49472.antik@bsd.ee> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804060024.39019.antik@bsd.ee> Cc: Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 21:24:41 -0000 On Saturday 05 April 2008 23:48:59 you wrote: > On Sat, 5 Apr 2008, Andrei Kolu wrote: > > I have problems using USB to RS232 converter under FreeBSD 6.3-STABLE > > when connecting to any Cisco gear over serial link. I connect my adapter > > to notebook and dmesg output looks like this one: > > > > ucom0: Prolific Technology Inc. USB-Serial Controller D, rev 1.10/4.00, > > addr 2 > > > > I have also following modules loaded: > > > > 8 1 0xc0c17000 3540 umodem.ko# cu -l /dev/ttyU0 > > Connected > > > > 9 4 0xc0c1b000 3208 ucom.ko > > 10 1 0xc0c1f000 2f54 uplcom.ko > > 13 1 0xc0c2f000 3384 ubsa.ko > > > > Now I try to connect to Cisco box: > > > > # cu -l /dev/ttyU0 > > Connected > > Use /dev/cuaU0 instead. > > -Warren Block * Rapid City, South Dakota USA There is no difference if I connect through /dev/ttyU0 or /dev/cuaU0 and even through ttyU1 or cuaU1 (when second serial converter is connected)- same problem. I tried on other computer with FreeBSD 6.1 and 7.0-STABLE snapshot from march- same results. Something is broken on FreeBSD side- strange thing is that when I turn power down on cisco box and turn in on again then I see scrolling text from cisco gear but there is no feedback to keyboard activity. How to debug this issue? Andrei From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 21:27:32 2008 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 D5C0D106566B; Sat, 5 Apr 2008 21:27:32 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 7F0FC8FC1A; Sat, 5 Apr 2008 21:27:32 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m35KmxTn017046; Sat, 5 Apr 2008 14:48:59 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m35Kmx98017043; Sat, 5 Apr 2008 14:48:59 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 5 Apr 2008 14:48:59 -0600 (MDT) From: Warren Block To: Andrei Kolu In-Reply-To: <200804052236.49472.antik@bsd.ee> Message-ID: References: <200804052236.49472.antik@bsd.ee> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Sat, 05 Apr 2008 14:48:59 -0600 (MDT) Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 21:27:33 -0000 On Sat, 5 Apr 2008, Andrei Kolu wrote: > I have problems using USB to RS232 converter under FreeBSD 6.3-STABLE when > connecting to any Cisco gear over serial link. I connect my adapter to > notebook and dmesg output looks like this one: > > ucom0: Prolific Technology Inc. USB-Serial Controller D, rev 1.10/4.00, addr 2 > > I have also following modules loaded: > > 8 1 0xc0c17000 3540 umodem.ko# cu -l /dev/ttyU0 > Connected > > 9 4 0xc0c1b000 3208 ucom.ko > 10 1 0xc0c1f000 2f54 uplcom.ko > 13 1 0xc0c2f000 3384 ubsa.ko > > Now I try to connect to Cisco box: > > # cu -l /dev/ttyU0 > Connected Use /dev/cuaU0 instead. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 21:33:52 2008 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 4F064106566C; Sat, 5 Apr 2008 21:33:52 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by mx1.freebsd.org (Postfix) with ESMTP id C32C68FC23; Sat, 5 Apr 2008 21:33:51 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx2.starman.ee (mx2.starman.ee [62.65.192.17]) by smtp-gw1.starman.ee (Postfix) with ESMTP id 268E73D88D3; Sun, 6 Apr 2008 00:33:50 +0300 (EEST) X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Received: from [192.168.2.101] (pc197.host50.starman.ee [62.65.242.197]) by mx2.starman.ee (Postfix) with ESMTP id 0EBFF3F4068; Sun, 6 Apr 2008 00:33:50 +0300 (EEST) From: Andrei Kolu To: freebsd-usb@freebsd.org Date: Sun, 6 Apr 2008 00:33:50 +0300 User-Agent: KMail/1.9.7 References: <200804052236.49472.antik@bsd.ee> <200804060024.39019.antik@bsd.ee> In-Reply-To: <200804060024.39019.antik@bsd.ee> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804060033.50609.antik@bsd.ee> Cc: freebsd-stable@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 21:33:52 -0000 On Sunday 06 April 2008 00:24:38 Andrei Kolu wrote: > On Saturday 05 April 2008 23:48:59 you wrote: > > On Sat, 5 Apr 2008, Andrei Kolu wrote: > > > I have problems using USB to RS232 converter under FreeBSD 6.3-STABLE > > > when connecting to any Cisco gear over serial link. I connect my > > > adapter to notebook and dmesg output looks like this one: > > > > > > ucom0: Prolific Technology Inc. USB-Serial Controller D, rev 1.10/4.00, > > > addr 2 > > > > > > I have also following modules loaded: > > > > > > 8 1 0xc0c17000 3540 umodem.ko# cu -l /dev/ttyU0 > > > Connected > > > > > > 9 4 0xc0c1b000 3208 ucom.ko > > > 10 1 0xc0c1f000 2f54 uplcom.ko > > > 13 1 0xc0c2f000 3384 ubsa.ko > > > > > > Now I try to connect to Cisco box: > > > > > > # cu -l /dev/ttyU0 > > > Connected > > > > Use /dev/cuaU0 instead. > > > > -Warren Block * Rapid City, South Dakota USA > > There is no difference if I connect through /dev/ttyU0 or /dev/cuaU0 and > even through ttyU1 or cuaU1 (when second serial converter is connected)- > same problem. I tried on other computer with FreeBSD 6.1 and 7.0-STABLE > snapshot from march- same results. > > Something is broken on FreeBSD side- strange thing is that when I turn > power down on cisco box and turn in on again then I see scrolling text from > cisco gear but there is no feedback to keyboard activity. How to debug this > issue? > Some progress on debugging! Just kiddin... I removed converter from USB and FreeBSD 7.0 kernel dumped following information: ucom0: ucomreadcb: IOERROR ucom0: at uhub1 port 1 (addr 2) disconnected ucom0: uplcom_set_line_status: STALLED Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xb0 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff80446f72 stack pointer = 0x10:0xffffffffae796a00 frame pointer = 0x10:0xffffff000172b400 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 876 (cu) trap number = 12 panic: page fault cpuid: 1 Uptime: 8m41s Physical memory: 2802 MB Dumping 126 MB: 111 95 79 63 47 31 15 Dump complete From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 21:58:38 2008 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 8D277106566B; Sat, 5 Apr 2008 21:58:38 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6CBB18FC1A; Sat, 5 Apr 2008 21:58:38 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 604271CC038; Sat, 5 Apr 2008 14:58:38 -0700 (PDT) Date: Sat, 5 Apr 2008 14:58:38 -0700 From: Jeremy Chadwick To: Andrei Kolu Message-ID: <20080405215838.GA27195@eos.sc1.parodius.com> References: <200804052236.49472.antik@bsd.ee> <200804060024.39019.antik@bsd.ee> <200804060033.50609.antik@bsd.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804060033.50609.antik@bsd.ee> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 21:58:38 -0000 On Sun, Apr 06, 2008 at 12:33:50AM +0300, Andrei Kolu wrote: > On Sunday 06 April 2008 00:24:38 Andrei Kolu wrote: > > On Saturday 05 April 2008 23:48:59 you wrote: > > > On Sat, 5 Apr 2008, Andrei Kolu wrote: > > > > I have problems using USB to RS232 converter under FreeBSD 6.3-STABLE > > > > when connecting to any Cisco gear over serial link. I connect my > > > > adapter to notebook and dmesg output looks like this one: > > > > > > > > ucom0: Prolific Technology Inc. USB-Serial Controller D, rev 1.10/4.00, > > > > addr 2 > > > > > > > > I have also following modules loaded: > > > > > > > > 8 1 0xc0c17000 3540 umodem.ko# cu -l /dev/ttyU0 > > > > Connected > > > > > > > > 9 4 0xc0c1b000 3208 ucom.ko > > > > 10 1 0xc0c1f000 2f54 uplcom.ko > > > > 13 1 0xc0c2f000 3384 ubsa.ko > > > > > > > > Now I try to connect to Cisco box: > > > > > > > > # cu -l /dev/ttyU0 > > > > Connected > > > > > > Use /dev/cuaU0 instead. > > > > > > -Warren Block * Rapid City, South Dakota USA > > > > There is no difference if I connect through /dev/ttyU0 or /dev/cuaU0 and > > even through ttyU1 or cuaU1 (when second serial converter is connected)- > > same problem. I tried on other computer with FreeBSD 6.1 and 7.0-STABLE > > snapshot from march- same results. > > > > Something is broken on FreeBSD side- strange thing is that when I turn > > power down on cisco box and turn in on again then I see scrolling text from > > cisco gear but there is no feedback to keyboard activity. How to debug this > > issue? > > > Some progress on debugging! Just kiddin... > > I removed converter from USB and FreeBSD 7.0 kernel dumped following > information: > > ucom0: ucomreadcb: IOERROR > ucom0: at uhub1 port 1 (addr 2) disconnected > ucom0: uplcom_set_line_status: STALLED > > > Fatal trap 12: page fault while in kernel mode > cpuid = 1; apic id = 01 > fault virtual address = 0xb0 > fault code = supervisor read data, page not present > instruction pointer = 0x8:0xffffffff80446f72 > stack pointer = 0x10:0xffffffffae796a00 > frame pointer = 0x10:0xffffff000172b400 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 876 (cu) > trap number = 12 > panic: page fault > cpuid: 1 > Uptime: 8m41s > Physical memory: 2802 MB > Dumping 126 MB: 111 95 79 63 47 31 15 > Dump complete This is a known problem, and even more so if you still had tip or cu connected to the tty. Others have reported similar, with other USB drivers. Bottom line: the current FreeBSD USB stack is very fragile and unreliable. You may want to try the usb4bsd kernel patches (I think that's what it's called), some have had better luck with those. Search the web. -- | Jeremy Chadwick jdc at 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 Apr 5 21:59:00 2008 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 07F4A10656C8 for ; Sat, 5 Apr 2008 21:59:00 +0000 (UTC) (envelope-from alec-keyword-freebsd.befd64@SetFilePointer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id 978B98FC27 for ; Sat, 5 Apr 2008 21:58:59 +0000 (UTC) (envelope-from alec-keyword-freebsd.befd64@SetFilePointer.com) Received: (qmail 94108 invoked by uid 4250); 5 Apr 2008 16:32:17 -0500 Received: by hamlet.SetFilePointer.com (tmda-sendmail, from uid 4250); Sat, 05 Apr 2008 16:32:17 -0500 Date: Sat, 5 Apr 2008 16:32:17 -0500 To: Andrei Kolu Message-ID: <20080405213217.GD2207@hamlet.SetFilePointer.com> References: <200804052236.49472.antik@bsd.ee> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="idY8LE8SD6/8DnRI" Content-Disposition: inline In-Reply-To: <200804052236.49472.antik@bsd.ee> User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alec Kloss X-Primary-Address: alec@SetFilePointer.com Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 21:59:00 -0000 --idY8LE8SD6/8DnRI Content-Type: multipart/mixed; boundary="TybLhxa8M7aNoW+V" Content-Disposition: inline --TybLhxa8M7aNoW+V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The the attached patch, also available at http://setfilepointer.com/pub/src:sys:dev:usb:uplcom.c.patch might help. I've needed it to make uplcom stuff work. --=20 Alec Kloss alec@SetFilePointer.com IM: angryspamhater@yahoo.com PGP key at http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xA241980E "No Bunny!" -- Simon, from Frisky Dingo --TybLhxa8M7aNoW+V Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="src:sys:dev:usb:uplcom.c.patch" Content-Transfer-Encoding: quoted-printable --- src/sys/dev/usb/uplcom.c.orig Thu Nov 2 13:20:51 2006 +++ src/sys/dev/usb/uplcom.c Thu Nov 2 14:21:19 2006 @@ -154,6 +154,7 @@ =20 #define TYPE_PL2303 0 #define TYPE_PL2303X 1 +#define TYPE_PL2303HX 2 =20 struct uplcom_softc { struct ucom_softc sc_ucom; @@ -233,6 +234,9 @@ { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_RSAQ3, -1, TYPE_PL2303X }, /* PLANEX USB-RS232 URS-03 */ { USB_VENDOR_ATEN, USB_PRODUCT_ATEN_UC232A, -1, TYPE_PL2303 }, + /* AJK */ + { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303, + 0x400, TYPE_PL2303HX }, /* ST Lab USB-SERIAL-4 */ { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303, 0x300, TYPE_PL2303X }, @@ -381,10 +385,17 @@ =20 #ifdef USB_DEBUG /* print the chip type */ - if (sc->sc_chiptype =3D=3D TYPE_PL2303X) { + switch (sc->sc_chiptype) + { + case TYPE_PL2303HX: + DPRINTF(("uplcom_attach: chiptype 2303HX\n")); + break; + case TYPE_PL2303X: DPRINTF(("uplcom_attach: chiptype 2303X\n")); - } else { + break; + default: DPRINTF(("uplcom_attach: chiptype 2303\n")); + break; } #endif =20 @@ -609,7 +620,9 @@ { UT_READ_VENDOR_DEVICE, UPLCOM_SET_REQUEST, 0x8383, 0, 0 }, { UT_WRITE_VENDOR_DEVICE, UPLCOM_SET_REQUEST, 0, 1, 0 }, { UT_WRITE_VENDOR_DEVICE, UPLCOM_SET_REQUEST, 1, 0, 0 }, - { UT_WRITE_VENDOR_DEVICE, UPLCOM_SET_REQUEST, 2, 0x44, 0 } + { UT_WRITE_VENDOR_DEVICE, UPLCOM_SET_REQUEST, 2, 0x44, 0 }, + { UT_WRITE_VENDOR_DEVICE, UPLCOM_SET_REQUEST, 8, 0, 0 }, + { UT_WRITE_VENDOR_DEVICE, UPLCOM_SET_REQUEST, 9, 0, 0 }, }; #define N_PL2302X_INIT (sizeof(pl2303x)/sizeof(pl2303x[0])) =20 @@ -735,10 +748,18 @@ req.bmRequestType =3D UT_WRITE_VENDOR_DEVICE; req.bRequest =3D UPLCOM_SET_REQUEST; USETW(req.wValue, 0); - if (sc->sc_chiptype =3D=3D TYPE_PL2303X) + switch (sc->sc_chiptype) + { + case TYPE_PL2303HX: USETW(req.wIndex, UPLCOM_SET_CRTSCTS_PL2303X); - else + break; + case TYPE_PL2303X: + USETW(req.wIndex, UPLCOM_SET_CRTSCTS_PL2303X); + break; + default: USETW(req.wIndex, UPLCOM_SET_CRTSCTS); + break; + } USETW(req.wLength, 0); =20 err =3D usbd_do_request(sc->sc_ucom.sc_udev, &req, 0); @@ -886,7 +907,8 @@ } } =20 - if (sc->sc_chiptype =3D=3D TYPE_PL2303X) + if (sc->sc_chiptype =3D=3D TYPE_PL2303X || + sc->sc_chiptype =3D=3D TYPE_PL2303HX) return (uplcom_pl2303x_init(sc)); =20 return (0); --TybLhxa8M7aNoW+V-- --idY8LE8SD6/8DnRI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFH9+/h2s33paJBmA4RApppAJwP6jkiQY7sUIsneNX7Vx2G75uqCQCfajNY D/KDIKcE4L6JZ77IhlGJSp8= =VGh+ -----END PGP SIGNATURE----- --idY8LE8SD6/8DnRI-- From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 22:11:28 2008 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 618FF1065675; Sat, 5 Apr 2008 22:11:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 157D08FC13; Sat, 5 Apr 2008 22:11:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m35M9KLx090205; Sat, 5 Apr 2008 16:09:20 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 05 Apr 2008 16:10:10 -0600 (MDT) Message-Id: <20080405.161010.1169637862.imp@bsdimp.com> To: koitsu@freebsd.org From: "M. Warner Losh" In-Reply-To: <20080405215838.GA27195@eos.sc1.parodius.com> References: <200804060024.39019.antik@bsd.ee> <200804060033.50609.antik@bsd.ee> <20080405215838.GA27195@eos.sc1.parodius.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: antik@bsd.ee, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 22:11:28 -0000 In message: <20080405215838.GA27195@eos.sc1.parodius.com> Jeremy Chadwick writes: : Bottom line: the current FreeBSD USB stack is very fragile and : unreliable. You may want to try the usb4bsd kernel patches (I think : that's what it's called), some have had better luck with those. Search : the web. This crash has nothing to do with the usb stack. The root cause is the device deletion code nulls out a pointer. There's a routine that is sleeping which is woken up and the null pointer gets dereferenced leading to the crash. The current usb stack isn't as fragile as it was in the 5.x days. While there are problems, this one isn't due to that. The same thing happens when you eject a PC Card 16550 COM device, due to the same bug. Warner From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 22:12:55 2008 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 D8554106566C; Sat, 5 Apr 2008 22:12:55 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by mx1.freebsd.org (Postfix) with ESMTP id 882A48FC1F; Sat, 5 Apr 2008 22:12:55 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx2.starman.ee (mx2.starman.ee [62.65.192.17]) by smtp-gw1.starman.ee (Postfix) with ESMTP id 65E6E3D88E5; Sun, 6 Apr 2008 01:12:54 +0300 (EEST) X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Received: from [192.168.2.101] (pc197.host50.starman.ee [62.65.242.197]) by mx2.starman.ee (Postfix) with ESMTP id 219F53F4068; Sun, 6 Apr 2008 01:12:54 +0300 (EEST) From: Andrei Kolu Date: Sun, 6 Apr 2008 01:12:53 +0300 User-Agent: KMail/1.9.7 References: <200804052236.49472.antik@bsd.ee> <20080405213217.GD2207@hamlet.SetFilePointer.com> In-Reply-To: <20080405213217.GD2207@hamlet.SetFilePointer.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline To: Undisclosed.Recipients: ; Message-Id: <200804060112.53866.antik@bsd.ee> Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 22:12:55 -0000 On Sunday 06 April 2008 00:32:17 Alec Kloss wrote: > The the attached patch, also available at > > http://setfilepointer.com/pub/src:sys:dev:usb:uplcom.c.patch > > might help. I've needed it to make uplcom stuff work. This patch works just fine (tested on 6.3). Thank you! Why it is not submitted into base tree for more than a year? Andrei From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 22:19:40 2008 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 079C61065674 for ; Sat, 5 Apr 2008 22:19:40 +0000 (UTC) (envelope-from dorian.buettner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 445568FC15 for ; Sat, 5 Apr 2008 22:19:38 +0000 (UTC) (envelope-from dorian.buettner@gmx.de) Received: (qmail invoked by alias); 05 Apr 2008 21:52:58 -0000 Received: from port-92-192-85-196.dynamic.qsc.de (EHLO [192.168.168.2]) [92.192.85.196] by mail.gmx.net (mp048) with SMTP; 05 Apr 2008 23:52:58 +0200 X-Authenticated: #1682771 X-Provags-ID: V01U2FsdGVkX1/e7w0wYcfeH+KeXO03n6+xHL3B7HvTXq58RXGDY+ I6qCrxST5LmmAO Message-ID: <47F7F4BC.6020209@gmx.de> Date: Sat, 05 Apr 2008 23:53:00 +0200 From: =?ISO-8859-1?Q?Dorian_B=FCttner?= User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Andrei Kolu References: <200804052236.49472.antik@bsd.ee> <200804060024.39019.antik@bsd.ee> <200804060033.50609.antik@bsd.ee> In-Reply-To: <200804060033.50609.antik@bsd.ee> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 22:19:40 -0000 >>>> # cu -l /dev/ttyU0 >>>> >> propably you need to adjust the line speed, i.e. cu -l -s 19200, also some devices like if you hit enter to get a login prompt. > Some progress on debugging! Just kiddin... > > I removed converter from USB and FreeBSD 7.0 kernel dumped following > information: > > That's actually been discussed here: http://www.freebsd.org/cgi/query-pr.cgi?pr=122287 While we're at it: can everybody tell me the magic keystroke to end a cu session? man says ~^Z or something, i think this is a combination of keys to pressed? Kind regards, Dorian From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 22:21:58 2008 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 196DB1065671; Sat, 5 Apr 2008 22:21:58 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by mx1.freebsd.org (Postfix) with ESMTP id BD98F8FC17; Sat, 5 Apr 2008 22:21:57 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx1.starman.ee (mx1.starman.ee [62.65.192.16]) by smtp-gw1.starman.ee (Postfix) with ESMTP id C7F2E3D8724; Sun, 6 Apr 2008 01:21:56 +0300 (EEST) X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from [192.168.2.101] (pc197.host50.starman.ee [62.65.242.197]) by mx1.starman.ee (Postfix) with ESMTP id 7CF463F405D; Sun, 6 Apr 2008 01:21:56 +0300 (EEST) From: Andrei Kolu To: freebsd-stable@freebsd.org Date: Sun, 6 Apr 2008 01:21:54 +0300 User-Agent: KMail/1.9.7 References: <200804052236.49472.antik@bsd.ee> <20080405213217.GD2207@hamlet.SetFilePointer.com> <200804060112.53866.antik@bsd.ee> In-Reply-To: <200804060112.53866.antik@bsd.ee> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804060121.56127.antik@bsd.ee> Cc: freebsd-usb@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 22:21:58 -0000 On Sunday 06 April 2008 01:12:53 Andrei Kolu wrote: > On Sunday 06 April 2008 00:32:17 Alec Kloss wrote: > > The the attached patch, also available at > > > > http://setfilepointer.com/pub/src:sys:dev:usb:uplcom.c.patch > > > > might help. I've needed it to make uplcom stuff work. > > This patch works just fine (tested on 6.3). Thank you! > Why it is not submitted into base tree for more than a year? > > Another interesting patch: http://leaf.dragonflybsd.org/mailarchive/submit/2007-07/msg00021.html From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 22:41:53 2008 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 083EF1065671; Sat, 5 Apr 2008 22:41:53 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B0B238FC1A; Sat, 5 Apr 2008 22:41:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m35MbxIk090588; Sat, 5 Apr 2008 16:37:59 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 05 Apr 2008 16:38:49 -0600 (MDT) Message-Id: <20080405.163849.-1625878944.imp@bsdimp.com> To: antik@bsd.ee From: "M. Warner Losh" In-Reply-To: <200804060121.56127.antik@bsd.ee> References: <20080405213217.GD2207@hamlet.SetFilePointer.com> <200804060112.53866.antik@bsd.ee> <200804060121.56127.antik@bsd.ee> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 22:41:53 -0000 In message: <200804060121.56127.antik@bsd.ee> Andrei Kolu writes: : On Sunday 06 April 2008 01:12:53 Andrei Kolu wrote: : > On Sunday 06 April 2008 00:32:17 Alec Kloss wrote: : > > The the attached patch, also available at : > > : > > http://setfilepointer.com/pub/src:sys:dev:usb:uplcom.c.patch : > > : > > might help. I've needed it to make uplcom stuff work. : > : > This patch works just fine (tested on 6.3). Thank you! : > Why it is not submitted into base tree for more than a year? Maybe because it wasn't in the PR database when I did my massive cleanup last summer? Would you like to volunteer to help move patches posted to random places into FreeBSD or the PR database? There's plenty of opportunity for advancement into the project for people willing to do these sorts of things. : Another interesting patch: : http://leaf.dragonflybsd.org/mailarchive/submit/2007-07/msg00021.html This is indeed an interesting patch. Thank you. Warner From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 23:01:59 2008 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 2A8B7106566C for ; Sat, 5 Apr 2008 23:01:59 +0000 (UTC) (envelope-from robert@ml.erje.net) Received: from smtpout-1.iphouse.net (smtpout-1.iphouse.net [216.250.188.190]) by mx1.freebsd.org (Postfix) with ESMTP id E58788FC16 for ; Sat, 5 Apr 2008 23:01:58 +0000 (UTC) (envelope-from robert@ml.erje.net) Received: from smtpout-1.iphouse.net (localhost [127.0.0.1]) by outbound-clamsmtpd.iphouse.net (Postfix) with ESMTP id 425C42AC687; Sat, 5 Apr 2008 18:01:58 -0500 (CDT) Received: from ziemel.erje.net (erje.net [80.126.62.176]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpout-1.iphouse.net (Postfix) with ESMTP id EEA112AC64C; Sat, 5 Apr 2008 18:01:57 -0500 (CDT) Received: from ismet.erje.net (ismet.erje.net [IPv6:2001:888:1f33::8e45:5e]) by ziemel.erje.net (PostFix 2.5.0) with ESMTP id 866FFCA0B32; Sun, 6 Apr 2008 01:01:13 +0200 (CEST) Received: (from robert@localhost) by ismet.erje.net (8.14.2/8.14.2/Submit) id m35N1BgD025807; Sun, 6 Apr 2008 01:01:11 +0200 (CEST) (envelope-from robert@ml.erje.net) X-Authentication-Warning: ismet.erje.net: robert set sender to robert@ml.erje.net using -f Date: Sun, 6 Apr 2008 01:01:10 +0200 From: Robert Joosten To: freebsd-stable@freebsd.org Message-ID: <20080405230110.GA25753@iphouse.com> References: <2c16b4710803270444g7ce459bbxddb4b5a3d2eb41bc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2c16b4710803270444g7ce459bbxddb4b5a3d2eb41bc@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-ziemel.erje.net-MailScanner: Ok, found to be clean X-Spam-Status: No X-Virus-Scanned: ClamAV using ClamSMTP Cc: don Juan Subject: Re: Error while pxeboot setup FreeBSD 7.0 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: Sat, 05 Apr 2008 23:01:59 -0000 Hi, Hmm for what's worth: I just upgraded a 6.2 pxe box using cvs to 7.0 release and it boots and runs fine, it seems. The server (still) runs 6.2 . Cheers, Robert From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 23:14:19 2008 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 845E31065673; Sat, 5 Apr 2008 23:14:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by mx1.freebsd.org (Postfix) with ESMTP id 0E27C8FC14; Sat, 5 Apr 2008 23:14:18 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay03.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JiHaQ-000DSP-41; Sun, 06 Apr 2008 02:14:17 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m35NDaQ7030248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 6 Apr 2008 02:13:36 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m35NDRYp037406; Sun, 6 Apr 2008 02:13:27 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m35NDQp6037405; Sun, 6 Apr 2008 02:13:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 6 Apr 2008 02:13:26 +0300 From: Kostik Belousov To: "M. Warner Losh" Message-ID: <20080405231326.GA21209@deviant.kiev.zoral.com.ua> References: <200804060024.39019.antik@bsd.ee> <200804060033.50609.antik@bsd.ee> <20080405215838.GA27195@eos.sc1.parodius.com> <20080405.161010.1169637862.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E0GpUEom8qu4+vDz" Content-Disposition: inline In-Reply-To: <20080405.161010.1169637862.imp@bsdimp.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: 4fe2b897d4d72954524b6b73d18f8617 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 2569 [Apr 04 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {TO: local part of email appears in body} X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 5 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: antik@bsd.ee, koitsu@freebsd.org, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) 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: Sat, 05 Apr 2008 23:14:19 -0000 --E0GpUEom8qu4+vDz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 05, 2008 at 04:10:10PM -0600, M. Warner Losh wrote: > In message: <20080405215838.GA27195@eos.sc1.parodius.com> > Jeremy Chadwick writes: > : Bottom line: the current FreeBSD USB stack is very fragile and > : unreliable. You may want to try the usb4bsd kernel patches (I think > : that's what it's called), some have had better luck with those. Search > : the web. >=20 > This crash has nothing to do with the usb stack. The root cause is > the device deletion code nulls out a pointer. There's a routine that > is sleeping which is woken up and the null pointer gets dereferenced > leading to the crash. I believe that I fixed this in the HEAD and RELENG_7. MFC to the RELENG_6 is possible, but I have no facilities to test. >=20 > The current usb stack isn't as fragile as it was in the 5.x days. > While there are problems, this one isn't due to that. The same thing > happens when you eject a PC Card 16550 COM device, due to the same > bug. >=20 > Warner > _______________________________________________ > 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" --E0GpUEom8qu4+vDz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkf4B5QACgkQC3+MBN1Mb4iWUgCfeUEE6g4lETGkkSiZKU6I/AXn raYAoMOJfyQtKjoCUS9UoNwa0myahFbZ =uSSW -----END PGP SIGNATURE----- --E0GpUEom8qu4+vDz--